first commit
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
mol
2023-12-08 13:49:50 +08:00
commit 32f4bfe768
260 changed files with 851816 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 543 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 997 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

View File

@ -0,0 +1 @@
const a="/assets/avatar.7c86809d.jpg";export{a};

View File

@ -0,0 +1 @@
import{p as t}from"./index.522031d9.js";function n(){return t.get("/api/blacklist/list/member")}function i(){return t.get("/api/blacklist/list/tag")}function s(a){return t.post("/api/blacklist/add/member",a)}function r(a){return t.post("/api/blacklist/add/tag",a)}function l(a){return t.post("/api/blacklist/del/member",a)}function o(a){return t.post("/api/blacklist/del/tag",a)}export{s as a,i as b,r as c,l as d,o as e,n as g};

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

View File

@ -0,0 +1 @@
import{s as K,_ as Y}from"./index.522031d9.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as q,f as c,b8 as N,C as R,D as S,aI as e,aH as o,aM as n,u as U,G as p,bD as G,b5 as b,b6 as T,bE as j,aR as J,bF as P,bG as W,bH as X,bI as Z,bJ as $,bb as ee}from"./arco.e1f675a6.js";import{u as te}from"./loading.4dd025d4.js";import{g as oe,a as ae,d as ue}from"./black-list.a9ac109c.js";import"./chart.d3b875fb.js";import"./vue.a6ab00f8.js";const se={class:"container"},le={class:"custom-filter"},ne={class:"custom-filter-footer"},re={class:"custom-filter"},ie={class:"custom-filter-footer"},ce={name:"MemberBlackList"},de=q({...ce,setup(me){const r=c(),d=c(!1),m=c([]),E={pageSize:50},{loading:g,setLoading:l}=te(),v=c([]),i=c({memberId:""}),I=[{title:"\u5C4F\u853DQQ",dataIndex:"memberId",ellipsis:!0,tooltip:!0},{title:"\u6DFB\u52A0\u65E5\u671F",dataIndex:"createAt",ellipsis:!0,tooltip:!0,render:t=>G.unix(t.record.createAt).format("YYYY-MM-DD HH:mm:ss")}],h=async()=>{d.value=!0},w=async()=>{var t;d.value=!1,(t=r.value)==null||t.resetFields()},A=async()=>{var _;return await((_=r.value)==null?void 0:_.validate())?!1:new K.List(v.value).Any(a=>(a==null?void 0:a.memberId.toString())===i.value.memberId)?(r.value.setFields({memberId:{status:"error",message:"\u8BE5\u6210\u5458\u5DF2\u6DFB\u52A0"}}),!1):!0},F=async()=>{try{l(!0);const t=await oe();v.value=t}catch(t){console.log(t)}finally{l(!1)}},x=async()=>{var t;try{l(!0),await ae(i.value),await F(),b.success({content:"\u6DFB\u52A0\u6210\u529F",position:"top"}),(t=r.value)==null||t.resetFields()}catch(u){console.log(u),b.error({content:"\u6DFB\u52A0\u5931\u8D25",position:"top"})}finally{l(!1)}},M=async()=>{try{l(!0);const t=m.value;if(!t||t.length===0){b.error({content:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u6761\u8BB0\u5F55"});return}await ue(t),await F(),m.value.length=0,b.success("\u5220\u9664\u6210\u529F")}catch(t){console.log(t)}finally{l(!1)}};return F(),(t,u)=>{const _=N("Breadcrumb"),a=T,Q=j,f=J,y=P,z=W,L=X,O=Z,V=$,H=ee;return R(),S("div",se,[e(L,{class:"card"},{default:o(()=>[e(_,{items:["menu.blacklist","menu.blacklist.member"]},null,8,["items"]),e(f,{direction:"vertical",size:"medium",fill:""},{default:o(()=>[e(f,{direction:"horizontal"},{default:o(()=>[e(Q,{onOk:M,content:"\u786E\u5B9A\u5C06\u9009\u4E2D\u7684\u6210\u5458\u4ECE\u9ED1\u540D\u5355\u4E2D\u79FB\u9664\uFF1F",type:"warning",position:"br"},{default:o(()=>[e(a,{type:"primary"},{default:o(()=>[n("\u5220\u9664\u9009\u4E2D")]),_:1})]),_:1}),e(a,{type:"outline",onClick:h},{default:o(()=>[n("\u6DFB\u52A0\u6210\u5458")]),_:1})]),_:1}),e(z,{"row-key":"id",data:v.value,columns:I,"filter-icon-align-left":!0,"row-selection":{type:"checkbox",showCheckedAll:!0,onlyCurrent:!0},selectedKeys:m.value,"onUpdate:selectedKeys":u[0]||(u[0]=s=>m.value=s),pagination:E,loading:U(g),"only-current":""},{"code-filter":o(({filterValue:s,setFilterValue:C,handleFilterConfirm:B,handleFilterReset:D})=>[p("div",le,[e(f,{direction:"vertical"},{default:o(()=>[e(y,{"model-value":s[0],onInput:k=>C([k])},null,8,["model-value","onInput"]),p("div",ne,[e(a,{onClick:B},{default:o(()=>[n("\u641C\u7D22")]),_:2},1032,["onClick"]),e(a,{onClick:D},{default:o(()=>[n("\u91CD\u7F6E")]),_:2},1032,["onClick"])])]),_:2},1024)])]),"name-filter":o(({filterValue:s,setFilterValue:C,handleFilterConfirm:B,handleFilterReset:D})=>[p("div",re,[e(f,{direction:"vertical"},{default:o(()=>[e(y,{"model-value":s[0],onInput:k=>C([k])},null,8,["model-value","onInput"]),p("div",ie,[e(a,{onClick:B},{default:o(()=>[n("\u641C\u7D22")]),_:2},1032,["onClick"]),e(a,{onClick:D},{default:o(()=>[n("\u91CD\u7F6E")]),_:2},1032,["onClick"])])]),_:2},1024)])]),_:1},8,["data","selectedKeys","loading"])]),_:1})]),_:1}),e(H,{visible:d.value,"onUpdate:visible":u[2]||(u[2]=s=>d.value=s),title:"\u6DFB\u52A0\u9ED1\u540D\u5355\u6210\u5458",onCancel:w,onBeforeOk:A,onOk:x},{default:o(()=>[e(V,{ref_key:"formRef",ref:r,layout:"horizontal",size:"small","auto-label-width":!0,model:i.value},{default:o(()=>[e(O,{field:"memberId",label:"\u5C4F\u853DQQ",rules:[{required:!0,message:"\u5FC5\u987B\u8F93\u5165\u4E00\u4E2Aqq\u53F7"},{type:"number",positive:!0,message:"\u5FC5\u987B\u8F93\u5165\u4E00\u4E2A\u6B63\u6570"}],"show-colon":"",feedback:""},{default:o(()=>[e(y,{"model-value":i.value.memberId,"onUpdate:modelValue":u[1]||(u[1]=s=>i.value.memberId=s),placeholder:"\u8F93\u5165\u4E00\u4E2AQQ\u53F7","allow-clear":""},null,8,["model-value"])]),_:1})]),_:1},8,["model"])]),_:1},8,["visible"])])}}});const ge=Y(de,[["__scopeId","data-v-4461a43a"]]);export{ge as default};

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
.arco-tooltip-content{max-width:350px;padding:8px 12px;color:#fff;font-size:14px;line-height:1.5715;text-align:left;word-wrap:break-word;background-color:var(--color-tooltip-bg);border-radius:var(--border-radius-small)}.arco-tooltip-mini{padding:4px 12px;font-size:14px}.arco-tooltip-popup-arrow{background-color:var(--color-tooltip-bg)}

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as n}from"./index.522031d9.js";import{d as c,bC as _,b6 as r,D as p,aI as e,G as d,aH as i,C as u,aM as l}from"./arco.e1f675a6.js";import{f as m}from"./vue.a6ab00f8.js";import"./chart.d3b875fb.js";const f={class:"content"},x={class:"operation-row"},k=c({__name:"index",setup(b){const t=m(),o=()=>{t.push({name:"Workplace"})};return(h,v)=>{const s=_,a=r;return u(),p("div",f,[e(s,{class:"result",status:"404",subtitle:"not found"}),d("div",x,[e(a,{key:"back",type:"primary",onClick:o},{default:i(()=>[l(" back ")]),_:1})])])}}});const V=n(k,[["__scopeId","data-v-99a1f69e"]]);export{V as default};

View File

@ -0,0 +1 @@
.spin[data-v-415bb7bb]{height:100%;width:100%}.container[data-v-415bb7bb]{height:100%;margin-bottom:50px;overflow:auto}.card[data-v-415bb7bb]{position:relative;overflow:visible}.card[data-v-415bb7bb]:not(:first-child){margin-top:10px}.actions[data-v-415bb7bb]{position:fixed;left:0;right:0;bottom:0;padding:10px 30px 10px 0;background:var(--color-bg-2);text-align:right}.addCard[data-v-415bb7bb]{border:1px dashed rgb(var(--primary-6));text-align:center;cursor:pointer}.addTemp[data-v-415bb7bb]{font-size:16px;color:rgb(var(--primary-6))}.delCard[data-v-415bb7bb]{cursor:pointer;padding:10px}

View File

@ -0,0 +1 @@
.arco-result{box-sizing:border-box;width:100%;padding:32px 32px 24px}.arco-result-icon{margin-bottom:16px;font-size:20px;text-align:center}.arco-result-icon-tip{display:flex;width:45px;height:45px;align-items:center;justify-content:center;border-radius:50%;margin:0 auto}.arco-result-icon-custom .arco-result-icon-tip{font-size:45px;color:inherit;width:unset;height:unset}.arco-result-icon-success .arco-result-icon-tip{color:rgb(var(--success-6));background-color:var(--color-success-light-1)}.arco-result-icon-error .arco-result-icon-tip{color:rgb(var(--danger-6));background-color:var(--color-danger-light-1)}.arco-result-icon-info .arco-result-icon-tip{color:rgb(var(--primary-6));background-color:var(--color-primary-light-1)}.arco-result-icon-warning .arco-result-icon-tip{color:rgb(var(--warning-6));background-color:var(--color-warning-light-1)}.arco-result-icon-404,.arco-result-icon-403,.arco-result-icon-500{padding-top:24px}.arco-result-icon-404 .arco-result-icon-tip,.arco-result-icon-403 .arco-result-icon-tip,.arco-result-icon-500 .arco-result-icon-tip{width:92px;height:92px;line-height:92px}.arco-result-title{color:var(--color-text-1);font-weight:500;font-size:14px;line-height:1.5715;text-align:center}.arco-result-subtitle{color:var(--color-text-2);font-size:14px;line-height:1.5715;text-align:center}.arco-result-extra{margin-top:20px;text-align:center}.arco-result-content{margin-top:20px}.content[data-v-99a1f69e]{position:absolute;top:50%;left:50%;margin-left:-95px;margin-top:-121px;text-align:center}

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
.spin[data-v-c2f1cf39]{height:100%;width:100%}.container[data-v-c2f1cf39]{height:100%;margin-bottom:50px;overflow:auto}.card[data-v-c2f1cf39]{padding-bottom:25px;position:relative;overflow:visible}.actions[data-v-c2f1cf39]{position:fixed;left:0;right:0;bottom:0;padding:10px 30px 10px 0;background:var(--color-bg-2);text-align:right}

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
.custom-filter[data-v-9d470a21]{padding:20px;background:var(--color-bg-5);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 2px 5px #0000001a}.custom-filter-footer[data-v-9d470a21]{display:flex;justify-content:space-between}

View File

@ -0,0 +1 @@
import{e as M,s as E,_ as P}from"./index.522031d9.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as T,f as _,c as U,b8 as Y,C as z,D as $,aI as t,aH as o,aM as d,u as j,G as v,h as A,ac as k,bD as R,b5 as S,aW as q,aV as J,b6 as Q,bE as X,aR as Z,bF as ee,bG as te,bH as oe}from"./arco.e1f675a6.js";import{u as se}from"./loading.4dd025d4.js";import{g as ne,d as ue}from"./subscribe.7a0918d5.js";import"./chart.d3b875fb.js";import"./vue.a6ab00f8.js";const ae={class:"container"},re={class:"custom-filter"},ie={class:"custom-filter-footer"},le={class:"custom-filter"},ce={class:"custom-filter-footer"},de={name:"PixivUserSubscribe"},pe=T({...de,setup(_e){const h=_(!1),m=_([]),y=_(0),G={pageSize:50},F=M(),{loading:N,setLoading:f}=se(),b=_([]),x=_([]),u=[{title:"\u753B\u5E08ID",dataIndex:"subscribeCode",ellipsis:!0,tooltip:!0,sortable:{sortDirections:["ascend","descend"]},filterable:{filter:(e,s)=>s.subscribeCode.includes(e),slotName:"code-filter",icon:()=>A(k)}},{title:"\u753B\u5E08\u540D\u79F0",dataIndex:"subscribeName",ellipsis:!0,tooltip:!0,sortable:{sortDirections:["ascend","descend"]},filterable:{filter:(e,s)=>s.subscribeName.includes(e),slotName:"name-filter",icon:()=>A(k)}},{title:"\u76EE\u6807\u7FA4",dataIndex:"subscribeGroup",ellipsis:!0,tooltip:!0,sortable:{sortDirections:["ascend","descend"]}},{title:"\u8BA2\u9605\u65E5\u671F",dataIndex:"subscribeAt",ellipsis:!0,tooltip:!0,render:e=>R.unix(e.record.subscribeAt).format("YYYY-MM-DD HH:mm:ss"),sortable:{sortDirections:["ascend","descend"]}}],W=U(()=>window.innerWidth<250?[u[1]]:window.innerWidth<400?[u[1],u[2]]:window.innerWidth<550?[u[0],u[1],u[2]]:[...u]),B=async(e=0)=>{var s,g;try{f(!0);const p=await F.getGroupInfos(),i=await ne();for(let n=0;n<i.length;n+=1){const a=i[n],l=(g=(s=new E.List(p).Where(c=>(c==null?void 0:c.groupId)===a.groupId).FirstOrDefault())==null?void 0:s.groupName)!=null?g:a.groupId;a.subscribeGroup=a.groupId===0?"\u8BA2\u9605\u53EF\u7528\u7FA4":`${l}(${a.groupId})`}b.value=e===0?i:new E.List(i).Where(n=>(n==null?void 0:n.groupId)===e).ToArray()}catch(p){console.log(p)}finally{f(!1)}},L=async()=>{try{h.value=!0,x.value=await F.getGroupOptions()}catch(e){console.log(e)}finally{h.value=!1}},O=async()=>{try{await B(y.value)}catch(e){console.log(e)}},V=async()=>{try{f(!0);const e=m.value;if(!e||e.length===0){S.error({content:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u6761\u8BB0\u5F55"});return}await ue(e),b.value=new E.List(b.value).Where(s=>!e.includes(s.id)).ToArray(),m.value.length=0,S.success("\u9000\u8BA2\u6210\u529F")}catch(e){console.log(e)}finally{f(!1)}};return B(),L(),(e,s)=>{const g=Y("Breadcrumb"),p=q,i=J,n=Q,a=X,l=Z,c=ee,H=te,K=oe;return z(),$("div",ae,[t(K,{class:"card"},{default:o(()=>[t(g,{items:["menu.subscribe","menu.subscribe.pixiv.user"]},null,8,["items"]),t(l,{direction:"vertical",size:"medium",fill:""},{default:o(()=>[t(l,{direction:"horizontal"},{default:o(()=>[t(i,{onChange:O,"model-value":y.value,"onUpdate:modelValue":s[0]||(s[0]=r=>y.value=r),options:x.value,style:{minWidth:"200px"},placeholder:"Please select ...",loading:h.value,"allow-search":""},{default:o(()=>[t(p,{value:0},{default:o(()=>[d("\u5168\u90E8")]),_:1})]),_:1},8,["model-value","options","loading"]),t(a,{onOk:V,content:"\u5C06\u4E3A\u6240\u6709\u7FA4\u9000\u8BA2\u88AB\u9009\u4E2D\u7684\u8BA2\u9605\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F",type:"warning",position:"br"},{default:o(()=>[t(n,{type:"primary"},{default:o(()=>[d("\u9000\u8BA2\u9009\u4E2D")]),_:1})]),_:1})]),_:1}),t(H,{"row-key":"id",columns:W.value,data:b.value,"filter-icon-align-left":!0,"row-selection":{type:"checkbox",showCheckedAll:!0,onlyCurrent:!0},selectedKeys:m.value,"onUpdate:selectedKeys":s[1]||(s[1]=r=>m.value=r),pagination:G,loading:j(N),"only-current":""},{"code-filter":o(({filterValue:r,setFilterValue:C,handleFilterConfirm:I,handleFilterReset:w})=>[v("div",re,[t(l,{direction:"vertical"},{default:o(()=>[t(c,{"model-value":r[0],onInput:D=>C([D])},null,8,["model-value","onInput"]),v("div",ie,[t(n,{onClick:I},{default:o(()=>[d("\u641C\u7D22")]),_:2},1032,["onClick"]),t(n,{onClick:w},{default:o(()=>[d("\u91CD\u7F6E")]),_:2},1032,["onClick"])])]),_:2},1024)])]),"name-filter":o(({filterValue:r,setFilterValue:C,handleFilterConfirm:I,handleFilterReset:w})=>[v("div",le,[t(l,{direction:"vertical"},{default:o(()=>[t(c,{"model-value":r[0],onInput:D=>C([D])},null,8,["model-value","onInput"]),v("div",ce,[t(n,{onClick:I},{default:o(()=>[d("\u641C\u7D22")]),_:2},1032,["onClick"]),t(n,{onClick:w},{default:o(()=>[d("\u91CD\u7F6E")]),_:2},1032,["onClick"])])]),_:2},1024)])]),_:1},8,["columns","data","selectedKeys","loading"])]),_:1})]),_:1})])}}});const De=P(pe,[["__scopeId","data-v-92eee237"]]);export{De as default};

Binary file not shown.

View File

@ -0,0 +1 @@
.spin[data-v-57649cec]{height:100%;width:100%}.container[data-v-57649cec]{height:100%;margin-bottom:50px;overflow:auto}.card[data-v-57649cec]{position:relative;overflow:visible}.actions[data-v-57649cec]{position:fixed;left:0;right:0;bottom:0;padding:10px 30px 10px 0;background:var(--color-bg-2);text-align:right}

View File

@ -0,0 +1 @@
.custom-filter[data-v-62698307]{padding:20px;background:var(--color-bg-5);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 2px 5px #0000001a}.custom-filter-footer[data-v-62698307]{display:flex;justify-content:space-between}

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
.custom-filter[data-v-92eee237]{padding:20px;background:var(--color-bg-5);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 2px 5px #0000001a}.custom-filter-footer[data-v-92eee237]{display:flex;justify-content:space-between}

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
.spin[data-v-f3c2f7b5]{height:100%;width:100%}.container[data-v-f3c2f7b5]{height:100%;margin-bottom:50px;overflow:auto}.card[data-v-f3c2f7b5]{padding-bottom:25px;position:relative;overflow:visible}.actions[data-v-f3c2f7b5]{position:fixed;left:0;right:0;bottom:0;padding:10px 30px 10px 0;background:var(--color-bg-2);text-align:right}

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
.spin[data-v-f9012d68]{height:100%;width:100%}.container[data-v-f9012d68]{height:100%;margin-bottom:50px;overflow:auto}.card[data-v-f9012d68]{padding-bottom:25px;position:relative;overflow:visible}.actions[data-v-f9012d68]{position:fixed;left:0;right:0;bottom:0;padding:10px 30px 10px 0;background:var(--color-bg-2);text-align:right}

View File

@ -0,0 +1 @@
.spin[data-v-a75d0561]{height:100%;width:100%}.container[data-v-a75d0561]{height:100%;margin-bottom:50px;overflow:auto}.card[data-v-a75d0561]{margin-bottom:5px;position:relative;overflow:visible}.actions[data-v-a75d0561]{position:fixed;left:0;right:0;bottom:0;padding:10px 30px 10px 0;background:var(--color-bg-2);text-align:right}.addCard[data-v-a75d0561]{border:1px dashed rgb(var(--primary-6));text-align:center;cursor:pointer}.addTemp[data-v-a75d0561]{font-size:16px;color:rgb(var(--primary-6))}.delCard[data-v-a75d0561]{cursor:pointer;padding:10px}.delContent[data-v-a75d0561]{cursor:pointer;color:var(--color-text-2)}.addContent[data-v-a75d0561]{cursor:pointer;color:rgb(var(--primary-6));margin-right:10px}

View File

@ -0,0 +1 @@
.custom-filter[data-v-a25d96fa]{padding:20px;background:var(--color-bg-5);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 2px 5px #0000001a}.custom-filter-footer[data-v-a25d96fa]{display:flex;justify-content:space-between}

View File

@ -0,0 +1 @@
.spin[data-v-a3c65c55]{height:100%;width:100%}.container[data-v-a3c65c55]{height:100%;margin-bottom:50px;overflow:auto}.card[data-v-a3c65c55]{position:relative;overflow:visible}.card[data-v-a3c65c55]:not(:first-child){margin-top:10px}.actions[data-v-a3c65c55]{position:fixed;left:0;right:0;bottom:0;padding:10px 30px 10px 0;background:var(--color-bg-2);text-align:right}.addCard[data-v-a3c65c55]{border:1px dashed rgb(var(--primary-6));text-align:center;cursor:pointer}.addTemp[data-v-a3c65c55]{font-size:16px;color:rgb(var(--primary-6))}.delCard[data-v-a3c65c55]{cursor:pointer;padding:10px}

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
import{e as K,s as E,_ as T}from"./index.522031d9.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as U,f as _,c as Y,b8 as z,C as P,D as $,aI as t,aH as o,aM as d,u as j,G as v,h as A,ac as k,bD as R,b5 as S,aW as q,aV as J,b6 as Q,bE as X,aR as Z,bF as ee,bG as te,bH as oe}from"./arco.e1f675a6.js";import{u as se}from"./loading.4dd025d4.js";import{b as ne,d as ue}from"./subscribe.7a0918d5.js";import"./chart.d3b875fb.js";import"./vue.a6ab00f8.js";const ae={class:"container"},re={class:"custom-filter"},le={class:"custom-filter-footer"},ie={class:"custom-filter"},ce={class:"custom-filter-footer"},de={name:"MiyousheUserSubscribe"},pe=U({...de,setup(_e){const h=_(!1),m=_([]),y=_(0),G={pageSize:50},F=K(),{loading:N,setLoading:f}=se(),b=_([]),B=_([]),u=[{title:"\u7248\u4E3BID",dataIndex:"subscribeCode",ellipsis:!0,tooltip:!0,sortable:{sortDirections:["ascend","descend"]},filterable:{filter:(e,s)=>s.subscribeCode.includes(e),slotName:"code-filter",icon:()=>A(k)}},{title:"\u7248\u4E3B\u540D\u79F0",dataIndex:"subscribeName",ellipsis:!0,tooltip:!0,sortable:{sortDirections:["ascend","descend"]},filterable:{filter:(e,s)=>s.subscribeName.includes(e),slotName:"name-filter",icon:()=>A(k)}},{title:"\u76EE\u6807\u7FA4",dataIndex:"subscribeGroup",ellipsis:!0,tooltip:!0,sortable:{sortDirections:["ascend","descend"]}},{title:"\u8BA2\u9605\u65E5\u671F",dataIndex:"subscribeAt",ellipsis:!0,tooltip:!0,render:e=>R.unix(e.record.subscribeAt).format("YYYY-MM-DD HH:mm:ss"),sortable:{sortDirections:["ascend","descend"]}}],W=Y(()=>window.innerWidth<250?[u[1]]:window.innerWidth<400?[u[1],u[2]]:window.innerWidth<550?[u[0],u[1],u[2]]:[...u]),x=async(e=0)=>{var s,g;try{f(!0);const p=await F.getGroupInfos(),l=await ne();for(let n=0;n<l.length;n+=1){const a=l[n],i=(g=(s=new E.List(p).Where(c=>(c==null?void 0:c.groupId)===a.groupId).FirstOrDefault())==null?void 0:s.groupName)!=null?g:a.groupId;a.subscribeGroup=a.groupId===0?"\u8BA2\u9605\u53EF\u7528\u7FA4":`${i}(${a.groupId})`}b.value=e===0?l:new E.List(l).Where(n=>(n==null?void 0:n.groupId)===e).ToArray()}catch(p){console.log(p)}finally{f(!1)}},L=async()=>{try{h.value=!0,B.value=await F.getGroupOptions()}catch(e){console.log(e)}finally{h.value=!1}},M=async()=>{try{await x(y.value)}catch(e){console.log(e)}},O=async()=>{try{f(!0);const e=m.value;if(!e||e.length===0){S.error({content:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u6761\u8BB0\u5F55"});return}await ue(e),b.value=new E.List(b.value).Where(s=>!e.includes(s.id)).ToArray(),m.value.length=0,S.success("\u9000\u8BA2\u6210\u529F")}catch(e){console.log(e)}finally{f(!1)}};return x(),L(),(e,s)=>{const g=z("Breadcrumb"),p=q,l=J,n=Q,a=X,i=Z,c=ee,V=te,H=oe;return P(),$("div",ae,[t(H,{class:"card"},{default:o(()=>[t(g,{items:["menu.subscribe","menu.subscribe.miyoushe.user"]},null,8,["items"]),t(i,{direction:"vertical",size:"medium",fill:""},{default:o(()=>[t(i,{direction:"horizontal"},{default:o(()=>[t(l,{onChange:M,"model-value":y.value,"onUpdate:modelValue":s[0]||(s[0]=r=>y.value=r),options:B.value,style:{minWidth:"200px"},placeholder:"Please select ...",loading:h.value,"allow-search":""},{default:o(()=>[t(p,{value:0},{default:o(()=>[d("\u5168\u90E8")]),_:1})]),_:1},8,["model-value","options","loading"]),t(a,{onOk:O,content:"\u5C06\u4E3A\u6240\u6709\u7FA4\u9000\u8BA2\u88AB\u9009\u4E2D\u7684\u8BA2\u9605\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F",type:"warning",position:"br"},{default:o(()=>[t(n,{type:"primary"},{default:o(()=>[d("\u9000\u8BA2\u9009\u4E2D")]),_:1})]),_:1})]),_:1}),t(V,{"row-key":"id",columns:W.value,data:b.value,"filter-icon-align-left":!0,"row-selection":{type:"checkbox",showCheckedAll:!0,onlyCurrent:!0},selectedKeys:m.value,"onUpdate:selectedKeys":s[1]||(s[1]=r=>m.value=r),pagination:G,loading:j(N),"only-current":""},{"code-filter":o(({filterValue:r,setFilterValue:C,handleFilterConfirm:I,handleFilterReset:w})=>[v("div",re,[t(i,{direction:"vertical"},{default:o(()=>[t(c,{"model-value":r[0],onInput:D=>C([D])},null,8,["model-value","onInput"]),v("div",le,[t(n,{onClick:I},{default:o(()=>[d("\u641C\u7D22")]),_:2},1032,["onClick"]),t(n,{onClick:w},{default:o(()=>[d("\u91CD\u7F6E")]),_:2},1032,["onClick"])])]),_:2},1024)])]),"name-filter":o(({filterValue:r,setFilterValue:C,handleFilterConfirm:I,handleFilterReset:w})=>[v("div",ie,[t(i,{direction:"vertical"},{default:o(()=>[t(c,{"model-value":r[0],onInput:D=>C([D])},null,8,["model-value","onInput"]),v("div",ce,[t(n,{onClick:I},{default:o(()=>[d("\u641C\u7D22")]),_:2},1032,["onClick"]),t(n,{onClick:w},{default:o(()=>[d("\u91CD\u7F6E")]),_:2},1032,["onClick"])])]),_:2},1024)])]),_:1},8,["columns","data","selectedKeys","loading"])]),_:1})]),_:1})])}}});const De=T(pe,[["__scopeId","data-v-62698307"]]);export{De as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{e as V,s as w,_ as H}from"./index.522031d9.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as K,f as p,c as M,b8 as P,C as Y,D as z,aI as t,aH as o,aM as i,u as U,G as v,h as $,ac as j,bD as R,b5 as A,aW as q,aV as J,b6 as Q,bE as X,aR as Z,bF as ee,bG as te,bH as oe}from"./arco.e1f675a6.js";import{u as se}from"./loading.4dd025d4.js";import{a as ae,d as ne}from"./subscribe.7a0918d5.js";import"./chart.d3b875fb.js";import"./vue.a6ab00f8.js";const ue={class:"container"},re={class:"custom-filter"},le={class:"custom-filter-footer"},ce={class:"custom-filter"},ie={class:"custom-filter-footer"},de={name:"PixivTagSubscribe"},pe=K({...de,setup(_e){const h=p(!1),_=p([]),y=p(0),k={pageSize:50},x=V(),{loading:S,setLoading:m}=se(),f=p([]),B=p([]),b=[{title:"\u6807\u7B7E",dataIndex:"subscribeCode",ellipsis:!0,tooltip:!0,sortable:{sortDirections:["ascend","descend"]},filterable:{filter:(e,a)=>a.subscribeCode.includes(e),slotName:"code-filter",icon:()=>$(j)}},{title:"\u76EE\u6807\u7FA4",dataIndex:"subscribeGroup",ellipsis:!0,tooltip:!0,sortable:{sortDirections:["ascend","descend"]}},{title:"\u8BA2\u9605\u65E5\u671F",dataIndex:"subscribeAt",ellipsis:!0,tooltip:!0,render:e=>R.unix(e.record.subscribeAt).format("YYYY-MM-DD HH:mm:ss"),sortable:{sortDirections:["ascend","descend"]}}],G=M(()=>window.innerWidth<250?[b[0]]:window.innerWidth<400?[b[0],b[1]]:[...b]),D=async(e=0)=>{var a,g;try{m(!0);const d=await x.getGroupInfos(),r=await ae();for(let s=0;s<r.length;s+=1){const n=r[s],l=(g=(a=new w.List(d).Where(c=>(c==null?void 0:c.groupId)===n.groupId).FirstOrDefault())==null?void 0:a.groupName)!=null?g:n.groupId;n.subscribeGroup=n.groupId===0?"\u8BA2\u9605\u53EF\u7528\u7FA4":`${l}(${n.groupId})`}f.value=e===0?r:new w.List(r).Where(s=>(s==null?void 0:s.groupId)===e).ToArray()}catch(d){console.log(d)}finally{m(!1)}},L=async()=>{try{h.value=!0,B.value=await x.getGroupOptions()}catch(e){console.log(e)}finally{h.value=!1}},W=async()=>{try{await D(y.value)}catch(e){console.log(e)}},N=async()=>{try{m(!0);const e=_.value;if(!e||e.length===0){A.error({content:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u6761\u8BB0\u5F55"});return}await ne(e),f.value=new w.List(f.value).Where(a=>!e.includes(a.id)).ToArray(),_.value.length=0,A.success("\u9000\u8BA2\u6210\u529F")}catch(e){console.log(e)}finally{m(!1)}};return D(),L(),(e,a)=>{const g=P("Breadcrumb"),d=q,r=J,s=Q,n=X,l=Z,c=ee,T=te,O=oe;return Y(),z("div",ue,[t(O,{class:"card"},{default:o(()=>[t(g,{items:["menu.subscribe","menu.subscribe.pixiv.tag"]},null,8,["items"]),t(l,{direction:"vertical",size:"medium",fill:""},{default:o(()=>[t(l,{direction:"horizontal"},{default:o(()=>[t(r,{onChange:W,"model-value":y.value,"onUpdate:modelValue":a[0]||(a[0]=u=>y.value=u),options:B.value,style:{minWidth:"200px"},placeholder:"Please select ...",loading:h.value,"allow-search":""},{default:o(()=>[t(d,{value:0},{default:o(()=>[i("\u5168\u90E8")]),_:1})]),_:1},8,["model-value","options","loading"]),t(n,{onOk:N,content:"\u5C06\u4E3A\u6240\u6709\u7FA4\u9000\u8BA2\u88AB\u9009\u4E2D\u7684\u8BA2\u9605\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F",type:"warning",position:"br"},{default:o(()=>[t(s,{type:"primary"},{default:o(()=>[i("\u9000\u8BA2\u9009\u4E2D")]),_:1})]),_:1})]),_:1}),t(T,{"row-key":"id",columns:G.value,data:f.value,"filter-icon-align-left":!0,"row-selection":{type:"checkbox",showCheckedAll:!0,onlyCurrent:!0},selectedKeys:_.value,"onUpdate:selectedKeys":a[1]||(a[1]=u=>_.value=u),pagination:k,loading:U(S),"only-current":""},{"code-filter":o(({filterValue:u,setFilterValue:C,handleFilterConfirm:E,handleFilterReset:F})=>[v("div",re,[t(l,{direction:"vertical"},{default:o(()=>[t(c,{"model-value":u[0],onInput:I=>C([I])},null,8,["model-value","onInput"]),v("div",le,[t(s,{onClick:E},{default:o(()=>[i("\u641C\u7D22")]),_:2},1032,["onClick"]),t(s,{onClick:F},{default:o(()=>[i("\u91CD\u7F6E")]),_:2},1032,["onClick"])])]),_:2},1024)])]),"name-filter":o(({filterValue:u,setFilterValue:C,handleFilterConfirm:E,handleFilterReset:F})=>[v("div",ce,[t(l,{direction:"vertical"},{default:o(()=>[t(c,{"model-value":u[0],onInput:I=>C([I])},null,8,["model-value","onInput"]),v("div",ie,[t(s,{onClick:E},{default:o(()=>[i("\u641C\u7D22")]),_:2},1032,["onClick"]),t(s,{onClick:F},{default:o(()=>[i("\u91CD\u7F6E")]),_:2},1032,["onClick"])])]),_:2},1024)])]),_:1},8,["columns","data","selectedKeys","loading"])]),_:1})]),_:1})])}}});const Ie=H(pe,[["__scopeId","data-v-a25d96fa"]]);export{Ie as default};

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
import{t as w,_ as A}from"./index.522031d9.js";/* empty css *//* empty css *//* empty css */import{d as J,f as c,b8 as v,C as R,aE as V,aH as o,G as b,aI as t,aM as s,u as F,aN as g,b5 as r,b4 as z,bI as I,b3 as T,aW as U,aV as W,bH as H,b6 as L,aR as $,bJ as G,bO as j}from"./arco.e1f675a6.js";import{u as q}from"./loading.4dd025d4.js";import"./chart.d3b875fb.js";import"./vue.a6ab00f8.js";const K={class:"container"},P={class:"actions"},Q={name:"RepeaterSetting"},X=J({...Q,setup(Y){const p=c(),{loading:m,setLoading:n}=q(),_=w(),e=c({}),i=c({}),B=async()=>{var a;try{if(await((a=p.value)==null?void 0:a.validate())){r.error({content:"\u6570\u636E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u68C0\u67E5",position:"top"});return}n(!0),await _.saveRepeaterSetting(e.value),i.value=JSON.parse(JSON.stringify(e.value)),r.success({content:"\u4FDD\u5B58\u6210\u529F",position:"top"})}catch(u){console.log(u),r.error({content:"\u4FDD\u5B58\u5931\u8D25",position:"top"})}finally{n(!1)}},y=async()=>{try{n(!0),e.value=JSON.parse(JSON.stringify(i.value)),r.info({content:"\u91CD\u7F6E\u5B8C\u6BD5",position:"top"})}catch(a){console.log(a)}finally{n(!1)}};return(async()=>{try{n(!0),e.value=await _.loadRepeaterSetting(),i.value=JSON.parse(JSON.stringify(e.value))}catch(a){console.log(a)}finally{n(!1)}})(),(a,u)=>{const S=v("save-warning"),D=v("Breadcrumb"),E=z,d=I,h=T,C=U,N=W,x=H,f=L,M=$,k=G,O=j;return R(),V(O,{class:"spin",loading:F(m),tip:"\u52A0\u8F7D\u4E2D...",size:35},{default:o(()=>[b("div",K,[t(k,{ref_key:"formRef",ref:p,layout:"horizontal",size:"large","auto-label-width":!0,"scroll-to-first-error":!0,model:e.value},{default:o(()=>[t(x,{class:"card"},{default:o(()=>[t(S,{initModel:i.value,formModel:e.value},null,8,["initModel","formModel"]),t(D,{items:["menu.settings","menu.settings.repeater"]},null,8,["items"]),t(d,{field:"enable",label:"\u542F\u7528\u529F\u80FD",tooltip:"\u662F\u5426\u542F\u7528\u8BE5\u529F\u80FD",feedback:""},{default:o(()=>[t(E,{"model-value":e.value.enable,"onUpdate:modelValue":u[0]||(u[0]=l=>e.value.enable=l)},{checked:o(()=>[s("ON")]),unchecked:o(()=>[s("OFF")]),_:1},8,["model-value"])]),_:1}),t(d,{field:"repeatTime",label:"\u89E6\u53D1\u6B21\u6570",tooltip:"\u89E6\u53D1\u590D\u8BFB\u7684\u6B21\u6570",disabled:!e.value.enable,feedback:""},{default:o(()=>[t(h,{"model-value":e.value.repeatTime,"onUpdate:modelValue":u[1]||(u[1]=l=>e.value.repeatTime=l),style:{maxWidth:"300px"},min:1,max:100,placeholder:"\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",mode:"button",size:"large"},null,8,["model-value"])]),_:1},8,["disabled"]),t(d,{field:"repeatMode",label:"\u590D\u8BFB\u6A21\u5F0F",tooltip:"\u590D\u8BFB\u6A21\u5F0F",disabled:!e.value.enable,feedback:""},{default:o(()=>[t(N,{"model-value":e.value.repeatMode,"onUpdate:modelValue":u[2]||(u[2]=l=>e.value.repeatMode=l),style:{maxWidth:"300px"},placeholder:"\u9009\u62E9\u4E00\u4E2A\u6A21\u5F0F",scrollbar:!0},{default:o(()=>[t(C,{value:0},{default:o(()=>[s("\u666E\u901A\u6A21\u5F0F")]),_:1})]),_:1},8,["model-value"])]),_:1},8,["disabled"])]),_:1}),b("div",P,[t(M,{direction:"horizontal",size:"medium"},{default:o(()=>[t(f,{type:"primary",loading:F(m),onClick:B},{default:o(()=>[s(g(a.$t("button.submit")),1)]),_:1},8,["loading"]),t(f,{onClick:y},{default:o(()=>[s(g(a.$t("button.reset")),1)]),_:1})]),_:1})])]),_:1},8,["model"])])]),_:1},8,["loading"])}}});const ie=A(X,[["__scopeId","data-v-f9012d68"]]);export{ie as default};

Binary file not shown.

View File

@ -0,0 +1 @@
.custom-filter[data-v-40a8fa3d]{padding:20px;background:var(--color-bg-5);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 2px 5px #0000001a}.custom-filter-footer[data-v-40a8fa3d]{display:flex;justify-content:space-between}

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
import{d as o,D as r,C as a}from"./arco.e1f675a6.js";import{f as s,g as n}from"./vue.a6ab00f8.js";const i=o({__name:"index",setup(c){const e=s(),t=n().params.path;return e.replace({path:t}),(u,m)=>(a(),r("div"))}});export{i as default};

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
.spin[data-v-82a76c2d]{height:100%;width:100%}.container[data-v-82a76c2d]{height:100%;margin-bottom:50px;overflow:auto}.card[data-v-82a76c2d]{padding-bottom:25px;position:relative;overflow:visible}.actions[data-v-82a76c2d]{position:fixed;left:0;right:0;bottom:0;padding:10px 30px 10px 0;background:var(--color-bg-2);text-align:right}

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
.arco-popconfirm-popup-content{box-sizing:border-box;padding:16px;color:var(--color-text-2);font-size:14px;line-height:1.5715;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 10px #0000001a}.arco-popconfirm-popup-content .arco-popconfirm-body{position:relative;display:flex;align-items:flex-start;margin-bottom:16px;color:var(--color-text-1);font-size:14px}.arco-popconfirm-popup-content .arco-popconfirm-body .arco-popconfirm-icon{display:inline-flex;align-items:center;height:22.001px;margin-right:8px;font-size:18px}.arco-popconfirm-popup-content .arco-popconfirm-body .arco-popconfirm-icon .arco-icon-exclamation-circle-fill{color:rgb(var(--warning-6))}.arco-popconfirm-popup-content .arco-popconfirm-body .arco-popconfirm-icon .arco-icon-check-circle-fill{color:rgb(var(--success-6))}.arco-popconfirm-popup-content .arco-popconfirm-body .arco-popconfirm-icon .arco-icon-info-circle-fill{color:rgb(var(--primary-6))}.arco-popconfirm-popup-content .arco-popconfirm-body .arco-popconfirm-icon .arco-icon-close-circle-fill{color:rgb(var(--danger-6))}.arco-popconfirm-popup-content .arco-popconfirm-body .arco-popconfirm-content{text-align:left;word-wrap:break-word}.arco-popconfirm-popup-content .arco-popconfirm-footer{text-align:right}.arco-popconfirm-popup-content .arco-popconfirm-footer>button{margin-left:8px}.arco-popconfirm-popup-arrow{z-index:1;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3)}

Binary file not shown.

View File

@ -0,0 +1 @@
.spin[data-v-01df54af]{height:100%;width:100%}.container[data-v-01df54af]{height:100%;margin-bottom:50px;overflow:auto}.card[data-v-01df54af]{position:relative;overflow:visible}.card[data-v-01df54af]:not(:first-child){margin-top:10px}.actions[data-v-01df54af]{position:fixed;left:0;right:0;bottom:0;padding:10px 30px 10px 0;background:var(--color-bg-2);text-align:right}

View File

@ -0,0 +1 @@
.custom-filter[data-v-4461a43a]{padding:20px;background:var(--color-bg-5);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 2px 5px #0000001a}.custom-filter-footer[data-v-4461a43a]{display:flex;justify-content:space-between}

View File

@ -0,0 +1 @@
.spin[data-v-5e57f07f]{height:100%;width:100%}.container[data-v-5e57f07f]{height:100%;margin-bottom:50px;overflow:auto}.card[data-v-5e57f07f]{padding-bottom:25px;position:relative;overflow:visible}.actions[data-v-5e57f07f]{position:fixed;left:0;right:0;bottom:0;padding:10px 30px 10px 0;background:var(--color-bg-2);text-align:right}

View File

@ -0,0 +1 @@
.spin[data-v-0b8f861b]{height:100%;width:100%}.container[data-v-0b8f861b]{height:100%;margin-bottom:50px;overflow:auto}.card[data-v-0b8f861b]{margin-bottom:5px;position:relative;overflow:visible}.actions[data-v-0b8f861b]{position:fixed;left:0;right:0;bottom:0;padding:10px 30px 10px 0;background:var(--color-bg-2);text-align:right}.addCard[data-v-0b8f861b]{border:1px dashed rgb(var(--primary-6));text-align:center;cursor:pointer}.addTemp[data-v-0b8f861b]{font-size:16px;color:rgb(var(--primary-6))}.delCard[data-v-0b8f861b]{cursor:pointer;padding:10px}

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
.spin[data-v-d70d5582]{height:100%;width:100%}.container[data-v-d70d5582]{height:100%;margin-bottom:50px;overflow:auto}.card[data-v-d70d5582]{padding-bottom:25px;position:relative;overflow:visible}.actions[data-v-d70d5582]{position:fixed;left:0;right:0;bottom:0;padding:10px 30px 10px 0;background:var(--color-bg-2);text-align:right}

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More