This commit is contained in:
vastxie
2025-05-31 02:28:46 +08:00
parent 0f7adc5c65
commit 86e2eecc1f
1808 changed files with 183083 additions and 86701 deletions

View File

@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
import{_ as f}from"./index-6QRvoxq4.js";export{f as default};
import{j as a}from"./index-BERX8Mlm.js";export{a as default};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as e}from"./HCheckList.vue_vue_type_script_setup_true_lang-Di8Bi58Y.js";import"./index-BERX8Mlm.js";export{e as default};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as m}from"./HCheckList.vue_vue_type_script_setup_true_lang-BLNEihme.js";import"./index-6QRvoxq4.js";export{m as default};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{d as u,as as n,at as m,X as b,g as s,c as t,F as o,s as p,Q as _,z as g,h,t as f,j as v}from"./index-6QRvoxq4.js";const k={class:"inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark-bg-stone-7"},y=["disabled","onClick"],V=u({__name:"HCheckList",props:n({options:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:n(["change"],["update:modelValue"]),setup(i,{emit:d}){const r=d,l=m(i,"modelValue");return b(l,a=>{r("change",a)}),(a,x)=>{const c=v;return s(),t("div",k,[(s(!0),t(o,null,p(a.options,e=>(s(),t("button",{key:e.value,disabled:a.disabled||e.disabled,class:_(["flex cursor-pointer items-center truncate border-size-0 bg-inherit px-2 py-1.5 text-sm disabled-cursor-not-allowed disabled-opacity-50 hover-not-disabled-bg-ui-primary hover-not-disabled-text-ui-text",{"text-ui-text bg-ui-primary":l.value===e.value}]),onClick:C=>l.value=e.value},[e.icon?(s(),g(c,{key:0,name:e.icon},null,8,["name"])):(s(),t(o,{key:1},[h(f(e.label),1)],64))],10,y))),128))])}}});export{V as _};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{d as e,aS as a,aT as s,a0 as t,c as i,e as l,V as o,W as n,a6 as d,a2 as r,_ as u,h as c,t as b}from"./index-BERX8Mlm.js";const m={class:"inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark-bg-stone-7"},p=["disabled","onClick"],x=e({__name:"HCheckList",props:a({options:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:a(["change"],["update:modelValue"]),setup(e,{emit:a}){const x=a,y=s(e,"modelValue");return t(y,(e=>{x("change",e)})),(e,a)=>{const s=u;return l(),i("div",m,[(l(!0),i(o,null,n(e.options,(a=>(l(),i("button",{key:a.value,disabled:e.disabled||a.disabled,class:d(["flex cursor-pointer items-center truncate border-size-0 bg-inherit px-2 py-1.5 text-sm disabled-cursor-not-allowed disabled-opacity-50 hover-not-disabled-bg-ui-primary hover-not-disabled-text-ui-text",{"text-ui-text bg-ui-primary":y.value===a.value}]),onClick:e=>y.value=a.value},[a.icon?(l(),r(s,{key:0,name:a.icon},null,8,["name"])):(l(),i(o,{key:1},[c(b(a.label),1)],64))],10,p)))),128))])}}});export{x as _};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as e}from"./HDialog.vue_vue_type_script_setup_true_lang-BfrjeNSs.js";import"./index-BERX8Mlm.js";export{e as default};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as m}from"./HDialog.vue_vue_type_script_setup_true_lang-an5zbG4e.js";import"./index-6QRvoxq4.js";export{m as default};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{d as e,aS as a,aT as t,al as l,r as s,P as o,a2 as r,e as n,w as i,f as p,i as d,aJ as u,g as c,aK as f,R as y,a6 as m,aL as x,c as v,T as g,aU as w,h as b,t as _,_ as h,aN as k,aj as T,aP as j}from"./index-BERX8Mlm.js";const B={class:"fixed inset-0 overflow-y-auto"},C={class:"min-h-full flex items-end justify-center p-4 text-center lg-items-center"},F={flex:"~ items-center justify-between","px-4":"","py-3":"","border-b":"~ solid stone/15","text-6":""},V={key:0,flex:"~ items-center justify-end","px-4":"","py-3":"","border-t":"~ solid stone/15"},P=e({__name:"HDialog",props:a({appear:{type:Boolean,default:!1},title:{},preventClose:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:a(["close"],["update:modelValue"]),setup(e,{emit:a}){const P=a,$=t(e,"modelValue"),z=l(),D=s({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),H=o((()=>({enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95",enterTo:"opacity-100 translate-y-0 lg-scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 lg-scale-100",leaveTo:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95"})));function J(){$.value=!1,P("close")}return(e,a)=>{const t=h;return n(),r(d(j),{as:"template",appear:e.appear,show:$.value},{default:i((()=>[p(d(u),{class:"fixed inset-0 z-2000 flex",onClose:a[0]||(a[0]=a=>!e.preventClose&&J())},{default:i((()=>[p(d(f),y({as:"template",appear:e.appear},d(D)),{default:i((()=>[c("div",{class:m(["fixed inset-0 bg-stone-2/75 transition-opacity dark-bg-stone-8/75",{"backdrop-blur-sm":e.overlay}])},null,2)])),_:1},16,["appear"]),c("div",B,[c("div",C,[p(d(f),y({as:"template",appear:e.appear},d(H)),{default:i((()=>[p(d(x),{class:"relative w-full flex flex-col overflow-hidden rounded-xl bg-white text-left shadow-xl lg-my-8 lg-max-w-lg dark-bg-stone-8"},{default:i((()=>[c("div",F,[p(d(w),{"m-0":"","text-lg":"","text-dark":"","dark-text-white":""},{default:i((()=>[b(_(e.title),1)])),_:1}),p(t,{name:"i-carbon:close","cursor-pointer":"",onClick:J})]),p(d(k),{"m-0":"","overflow-y-auto":"","p-4":""},{default:i((()=>[T(e.$slots,"default")])),_:3}),d(z).footer?(n(),v("div",V,[T(e.$slots,"footer")])):g("",!0)])),_:3})])),_:3},16,["appear"])])])])),_:3})])),_:3},8,["appear","show"])}}});export{P as _};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{d as h,as as i,at as w,U as b,r as k,n as C,g as d,z as B,w as t,b as s,i as e,ah as p,ai as c,e as o,Q as V,aj as T,au as j,h as S,t as F,al as N,P as u,c as $,A as z,an as M,ao as D,j as P}from"./index-6QRvoxq4.js";const A={class:"fixed inset-0 overflow-y-auto"},E={class:"min-h-full flex items-end justify-center p-4 text-center lg-items-center"},G={flex:"~ items-center justify-between","px-4":"","py-3":"","border-b":"~ solid stone/15","text-6":""},H={key:0,flex:"~ items-center justify-end","px-4":"","py-3":"","border-t":"~ solid stone/15"},O=h({__name:"HDialog",props:i({appear:{type:Boolean,default:!1},title:{},preventClose:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:i(["close"],["update:modelValue"]),setup(f,{emit:m}){const y=m,l=w(f,"modelValue"),v=b(),g=k({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),x=C(()=>({enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95",enterTo:"opacity-100 translate-y-0 lg-scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 lg-scale-100",leaveTo:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95"}));function n(){l.value=!1,y("close")}return(a,r)=>{const _=P;return d(),B(e(D),{as:"template",appear:a.appear,show:l.value},{default:t(()=>[s(e(M),{class:"fixed inset-0 z-2000 flex",onClose:r[0]||(r[0]=I=>!a.preventClose&&n())},{default:t(()=>[s(e(p),c({as:"template",appear:a.appear},e(g)),{default:t(()=>[o("div",{class:V(["fixed inset-0 bg-stone-2/75 transition-opacity dark-bg-stone-8/75",{"backdrop-blur-sm":a.overlay}])},null,2)]),_:1},16,["appear"]),o("div",A,[o("div",E,[s(e(p),c({as:"template",appear:a.appear},e(x)),{default:t(()=>[s(e(T),{class:"relative w-full flex flex-col overflow-hidden rounded-xl bg-white text-left shadow-xl lg-my-8 lg-max-w-lg dark-bg-stone-8"},{default:t(()=>[o("div",G,[s(e(j),{"m-0":"","text-lg":"","text-dark":"","dark-text-white":""},{default:t(()=>[S(F(a.title),1)]),_:1}),s(_,{name:"i-carbon:close","cursor-pointer":"",onClick:n})]),s(e(N),{"m-0":"","overflow-y-auto":"","p-4":""},{default:t(()=>[u(a.$slots,"default")]),_:3}),e(v).footer?(d(),$("div",H,[u(a.$slots,"footer")])):z("",!0)]),_:3})]),_:3},16,["appear"])])])]),_:3})]),_:3},8,["appear","show"])}}});export{O as _};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{l as t,p as n,g as a,z as p,w as o,P as r,ai as d}from"./index-6QRvoxq4.js";const l={};function c(e,_){const s=n("VDropdown");return a(),p(s,d({"show-triggers":["hover"],"hide-triggers":["hover"],"auto-hide":!1,"popper-triggers":["hover"],delay:200},e.$attrs),{popper:o(()=>[r(e.$slots,"dropdown")]),default:o(()=>[r(e.$slots,"default")]),_:3},16)}const f=t(l,[["render",c]]);export{f as default};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{Z as r,Q as e,a2 as s,e as o,w as t,aj as a,R as d}from"./index-BERX8Mlm.js";const p=r({},[["render",function(r,p){const n=e("VDropdown");return o(),s(n,d({"show-triggers":["hover"],"hide-triggers":["hover"],"auto-hide":!1,"popper-triggers":["hover"],delay:200},r.$attrs),{popper:t((()=>[a(r.$slots,"dropdown")])),default:t((()=>[a(r.$slots,"default")])),_:3},16)}]]);export{p as default};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as m}from"./HDropdownMenu.vue_vue_type_script_setup_true_lang-BzkPBd44.js";import"./index-6QRvoxq4.js";export{m as default};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as e}from"./HDropdownMenu.vue_vue_type_script_setup_true_lang-Wc6l-Ngn.js";import"./index-BERX8Mlm.js";export{e as default};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{d as h,n as g,p as k,g as t,z as f,w as n,c as s,s as a,i as _,F as l,P as w,ai as y,t as x}from"./index-6QRvoxq4.js";const C=["disabled","onClick"],z=h({__name:"HDropdownMenu",props:{items:{}},setup(d){const i=d,p=g(()=>i.items.map(e=>e.filter(o=>!o.hide)).filter(e=>e.length));return(e,o)=>{const c=k("VMenu");return t(),f(c,y({"show-triggers":["hover"],"auto-hide":!1,"popper-triggers":["hover","click"],delay:200},e.$attrs),{popper:n(()=>[(t(!0),s(l,null,a(_(p),(u,b)=>(t(),s("div",{key:b,class:"b-b-stone-2 b-b-solid p-1 last-b-b-size-0 dark-b-b-stone-7"},[(t(!0),s(l,null,a(u,(r,m)=>(t(),s("button",{key:m,disabled:r.disabled,class:"w-full flex cursor-pointer items-center gap-2 border-size-0 rounded-md bg-inherit px-2 py-1.5 text-sm text-dark disabled-cursor-not-allowed dark-text-white disabled-opacity-50 hover-not-disabled-bg-stone-1 dark-hover-not-disabled-bg-stone-9",onClick:r.handle},x(r.label),9,C))),128))]))),128))]),default:n(()=>[w(e.$slots,"default")]),_:3},16)}}});export{z as _};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{d as e,P as s,Q as t,a2 as a,e as o,w as r,aj as d,c as l,V as i,W as n,i as b,t as p,R as u}from"./index-BERX8Mlm.js";const c=["disabled","onClick"],h=e({__name:"HDropdownMenu",props:{items:{}},setup(e){const h=e,g=s((()=>h.items.map((e=>e.filter((e=>!e.hide)))).filter((e=>e.length))));return(e,s)=>{const h=t("VMenu");return o(),a(h,u({"show-triggers":["hover"],"auto-hide":!1,"popper-triggers":["hover","click"],delay:200},e.$attrs),{popper:r((()=>[(o(!0),l(i,null,n(b(g),((e,s)=>(o(),l("div",{key:s,class:"b-b-stone-2 b-b-solid p-1 last-b-b-size-0 dark-b-b-stone-7"},[(o(!0),l(i,null,n(e,((e,s)=>(o(),l("button",{key:s,disabled:e.disabled,class:"w-full flex cursor-pointer items-center gap-2 border-size-0 rounded-md bg-inherit px-2 py-1.5 text-sm text-dark disabled-cursor-not-allowed dark-text-white disabled-opacity-50 hover-not-disabled-bg-stone-1 dark-hover-not-disabled-bg-stone-9",onClick:e.handle},p(e.label),9,c)))),128))])))),128))])),default:r((()=>[d(e.$slots,"default")])),_:3},16)}}});export{h as _};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as m}from"./HInput.vue_vue_type_script_setup_true_lang-B93h6qE_.js";import"./index-6QRvoxq4.js";export{m as default};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as t}from"./HInput.vue_vue_type_script_setup_true_lang-DbpA_N81.js";import"./index-BERX8Mlm.js";export{t as default};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{d as r,as as n,at as i,r as u,g as p,c,y as m,ak as f,e as g}from"./index-6QRvoxq4.js";const b={class:"relative w-full lg-w-48"},h=["placeholder","disabled"],v=r({__name:"HInput",props:n({placeholder:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o,{expose:s}){const e=i(o,"modelValue"),d=u();return s({ref:d}),(l,a)=>(p(),c("div",b,[m(g("input",{"onUpdate:modelValue":a[0]||(a[0]=t=>e.value=t),type:"text",placeholder:l.placeholder,disabled:l.disabled,class:"relative block w-full border-0 rounded-md bg-white px-2.5 py-1.5 text-sm shadow-sm ring-1 ring-stone-2 ring-inset disabled-cursor-not-allowed dark-bg-dark disabled-opacity-50 focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary placeholder-stone-4 dark-placeholder-stone-5"},null,8,h),[[f,e.value]])]))}});export{v as _};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{d as e,aS as a,aT as l,r as d,c as s,e as o,a5 as r,aM as t,g as i}from"./index-BERX8Mlm.js";const n={class:"relative w-full lg-w-48"},p=["placeholder","disabled"],u=e({__name:"HInput",props:a({placeholder:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:a}){const u=l(e,"modelValue");return a({ref:d()}),(e,a)=>(o(),s("div",n,[r(i("input",{"onUpdate:modelValue":a[0]||(a[0]=e=>u.value=e),type:"text",placeholder:e.placeholder,disabled:e.disabled,class:"relative block w-full border-0 rounded-md bg-white px-2.5 py-1.5 text-sm shadow-sm ring-1 ring-stone-2 ring-inset disabled-cursor-not-allowed dark-bg-dark disabled-opacity-50 focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary placeholder-stone-4 dark-placeholder-stone-5"},null,8,p),[[t,u.value]])]))}});export{u as _};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{l as t,g as n,c as r,P as s}from"./index-6QRvoxq4.js";const o={},a={class:"mr-[4px] h-6 min-w-[24px] inline-flex items-center justify-center rounded bg-stone-1 px-1 text-[12px] text-dark font-medium font-sans ring-1 ring-stone-3 ring-inset last:mr-0 dark-bg-dark-9 dark-text-white dark-ring-stone-7"};function c(e,i){return n(),r("kbd",a,[s(e.$slots,"default")])}const l=t(o,[["render",c]]);export{l as default};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{Z as t,c as e,e as n,aj as r}from"./index-BERX8Mlm.js";const s={class:"mr-[4px] h-6 min-w-[24px] inline-flex items-center justify-center rounded bg-stone-1 px-1 text-[12px] text-dark font-medium font-sans ring-1 ring-stone-3 ring-inset last:mr-0 dark-bg-dark-9 dark-text-white dark-ring-stone-7"};const a=t({},[["render",function(t,a){return n(),e("kbd",s,[r(t.$slots,"default")])}]]);export{a as default};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{d as b,as as m,at as f,n as g,p as v,g as a,z as h,w as r,e as t,c as i,s as _,F as k,t as c,i as w,b as x,ai as y,j as V,Q as C}from"./index-6QRvoxq4.js";const B={class:"w-full inline-flex"},M=["disabled"],z={class:"block truncate"},S={class:"pointer-events-none absolute end-0 inset-y-0 flex items-center pe-2.5"},$={class:"max-h-60 w-full scroll-py-1 overflow-y-auto p-1 lg-w-48 focus-outline-none"},F=["disabled","onClick"],E=b({__name:"HSelect",props:m({options:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const l=o,n=f(o,"modelValue"),d=g({get(){return l.options.find(e=>e.value===n.value)??l.options[0]},set(e){n.value=e.value}});return(e,N)=>{const u=V,p=v("VMenu");return a(),h(p,y({triggers:["click"],"popper-triggers":["click"],delay:0,disabled:e.disabled},e.$attrs),{popper:r(()=>[t("div",$,[(a(!0),i(k,null,_(e.options,s=>(a(),i("button",{key:s.value,disabled:s.disabled,class:C(["w-full cursor-pointer truncate border-size-0 rounded-md bg-inherit px-2 py-1.5 text-left text-sm disabled-cursor-not-allowed hover-not-disabled-bg-stone-1 dark-hover-not-disabled-bg-stone-9",{"font-bold":o.modelValue===s.value}]),onClick:j=>d.value=s},c(s.label),11,F))),128))])]),default:r(()=>[t("div",B,[t("button",{class:"relative block w-full flex cursor-default items-center gap-x-2 border-0 rounded-md bg-white px-2.5 py-1.5 pe-9 text-left text-sm shadow-sm ring-1 ring-stone-2 ring-inset lg-w-48 disabled-cursor-not-allowed dark-bg-dark focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary",disabled:e.disabled},[t("span",z,c(w(d).label),1),t("span",S,[x(u,{name:"i-carbon:chevron-down",class:"h-5 w-5 flex-shrink-0 text-stone-5"})])],8,M)])]),_:1},16,["disabled"])}}});export{E as default};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{d as e,aS as s,aT as a,P as l,Q as o,a2 as t,e as n,w as d,g as i,t as r,i as u,f as c,_ as p,c as b,V as f,W as g,a6 as m,R as v}from"./index-BERX8Mlm.js";const x={class:"w-full inline-flex"},w=["disabled"],k={class:"block truncate"},h={class:"pointer-events-none absolute end-0 inset-y-0 flex items-center pe-2.5"},y={class:"max-h-60 w-full scroll-py-1 overflow-y-auto p-1 lg-w-48 focus-outline-none"},V=["disabled","onClick"],_=e({__name:"HSelect",props:s({options:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const s=e,_=a(e,"modelValue"),C=l({get:()=>s.options.find((e=>e.value===_.value))??s.options[0],set(e){_.value=e.value}});return(s,a)=>{const l=p,_=o("VMenu");return n(),t(_,v({triggers:["click"],"popper-triggers":["click"],delay:0,disabled:s.disabled},s.$attrs),{popper:d((()=>[i("div",y,[(n(!0),b(f,null,g(s.options,(s=>(n(),b("button",{key:s.value,disabled:s.disabled,class:m(["w-full cursor-pointer truncate border-size-0 rounded-md bg-inherit px-2 py-1.5 text-left text-sm disabled-cursor-not-allowed hover-not-disabled-bg-stone-1 dark-hover-not-disabled-bg-stone-9",{"font-bold":e.modelValue===s.value}]),onClick:e=>C.value=s},r(s.label),11,V)))),128))])])),default:d((()=>[i("div",x,[i("button",{class:"relative block w-full flex cursor-default items-center gap-x-2 border-0 rounded-md bg-white px-2.5 py-1.5 pe-9 text-left text-sm shadow-sm ring-1 ring-stone-2 ring-inset lg-w-48 disabled-cursor-not-allowed dark-bg-dark focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary",disabled:s.disabled},[i("span",k,r(u(C).label),1),i("span",h,[c(l,{name:"i-carbon:chevron-down",class:"h-5 w-5 flex-shrink-0 text-stone-5"})])],8,w)])])),_:1},16,["disabled"])}}});export{_ as default};

View File

@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
import{cy as f}from"./index-6QRvoxq4.js";export{f as default};
import{bq as a}from"./index-BERX8Mlm.js";export{a as default};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as o}from"./HTabList.vue_vue_type_script_setup_true_lang-BuGUQxxq.js";import"./index-6QRvoxq4.js";import"./use-resolve-button-type-BE1XPlJv.js";export{o as default};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as t}from"./HTabList.vue_vue_type_script_setup_true_lang-BEyYCazB.js";import"./index-BERX8Mlm.js";import"./use-resolve-button-type-DnRVrBaM.js";export{t as default};

File diff suppressed because one or more lines are too long

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as o}from"./HToggle.vue_vue_type_script_setup_true_lang-CHjOk9yp.js";import"./index-6QRvoxq4.js";import"./use-resolve-button-type-BE1XPlJv.js";export{o as default};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as e}from"./HToggle.vue_vue_type_script_setup_true_lang-qXUln426.js";import"./index-BERX8Mlm.js";import"./use-resolve-button-type-DnRVrBaM.js";export{e as default};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{r as V,n as i,d as x,cq as D,W as M,cm as P,a as U,X as z,a1 as y,ck as A,cz as K,cj as L,cn as O,co as q,F,cr as h,as as H,at as R,g,z as k,w as G,e as w,A as Q,Q as I,i as W,j as X}from"./index-6QRvoxq4.js";import{s as J}from"./use-resolve-button-type-BE1XPlJv.js";function Y(a,l,t){let o=V(t==null?void 0:t.value),n=i(()=>a.value!==void 0);return[i(()=>n.value?a.value:o.value),function(s){return n.value||(o.value=s),l==null?void 0:l(s)}]}function Z(a){var l,t;let o=(l=a==null?void 0:a.form)!=null?l:a.closest("form");if(o){for(let n of o.elements)if(n!==a&&(n.tagName==="INPUT"&&n.type==="submit"||n.tagName==="BUTTON"&&n.type==="submit"||n.nodeName==="INPUT"&&n.type==="image")){n.click();return}(t=o.requestSubmit)==null||t.call(o)}}let ee=Symbol("GroupContext"),ae=x({name:"Switch",emits:{"update:modelValue":a=>!0},props:{as:{type:[Object,String],default:"button"},modelValue:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,optional:!0},form:{type:String,optional:!0},name:{type:String,optional:!0},value:{type:String,optional:!0},id:{type:String,default:null},disabled:{type:Boolean,default:!1},tabIndex:{type:Number,default:0}},inheritAttrs:!1,setup(a,{emit:l,attrs:t,slots:o,expose:n}){var s;let C=(s=a.id)!=null?s:`headlessui-switch-${D()}`,r=M(ee,null),[d,m]=Y(i(()=>a.modelValue),e=>l("update:modelValue",e),i(()=>a.defaultChecked));function p(){m(!d.value)}let S=V(null),c=r===null?S:r.switchRef,$=J(i(()=>({as:a.as,type:t.type})),c);n({el:c,$el:c});function B(e){e.preventDefault(),p()}function N(e){e.key===h.Space?(e.preventDefault(),p()):e.key===h.Enter&&Z(e.currentTarget)}function T(e){e.preventDefault()}let f=i(()=>{var e,u;return(u=(e=P(c))==null?void 0:e.closest)==null?void 0:u.call(e,"form")});return U(()=>{z([f],()=>{if(!f.value||a.defaultChecked===void 0)return;function e(){m(a.defaultChecked)}return f.value.addEventListener("reset",e),()=>{var u;(u=f.value)==null||u.removeEventListener("reset",e)}},{immediate:!0})}),()=>{let{name:e,value:u,form:_,tabIndex:v,...b}=a,j={checked:d.value},E={id:C,ref:c,role:"switch",type:$.value,tabIndex:v===-1?0:v,"aria-checked":d.value,"aria-labelledby":r==null?void 0:r.labelledby.value,"aria-describedby":r==null?void 0:r.describedby.value,onClick:B,onKeyup:N,onKeypress:T};return y(F,[e!=null&&d.value!=null?y(A,K({features:L.Hidden,as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:d.value,form:_,disabled:b.disabled,name:e,value:u})):null,O({ourProps:E,theirProps:{...t,...q(b,["modelValue","defaultChecked"])},slot:j,attrs:t,slots:o,name:"Switch"})])}}});const le={class:"absolute inset-0 h-full w-full flex items-center justify-center"},oe=x({__name:"HToggle",props:H({disabled:{type:Boolean,default:!1},onIcon:{},offIcon:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(a){const l=R(a,"modelValue");return(t,o)=>{const n=X;return g(),k(W(ae),{modelValue:l.value,"onUpdate:modelValue":o[0]||(o[0]=s=>l.value=s),disabled:t.disabled,class:I(["relative h-5 w-10 inline-flex flex-shrink-0 cursor-pointer border-2 border-transparent rounded-full p-0 vertical-middle disabled-cursor-not-allowed disabled-opacity-50 focus-outline-none focus-visible-ring-2 focus-visible-ring-offset-2 focus-visible-ring-offset-white dark-focus-visible-ring-offset-gray-900",[l.value?"bg-ui-primary":"bg-stone-3 dark-bg-stone-7"]])},{default:G(()=>[w("span",{class:I(["pointer-events-none relative inline-block h-4 w-4 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out dark-bg-dark",[l.value?"translate-x-5":"translate-x-0"]])},[w("span",le,[l.value&&t.onIcon||!l.value&&t.offIcon?(g(),k(n,{key:0,name:l.value?t.onIcon:t.offIcon,class:"h-3 w-3 text-stone-7 dark-text-stone-3"},null,8,["name"])):Q("",!0)])],2)]),_:1},8,["modelValue","disabled","class"])}}});export{oe as _};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{r as e,P as l,d as a,be as t,ap as n,bf as o,b as s,a0 as u,au as i,bd as r,bc as d,bs as f,bb as c,bh as v,V as p,bk as b,aS as m,aT as y,a2 as h,e as g,w as k,g as x,a6 as w,T as V,_ as I,i as S}from"./index-BERX8Mlm.js";import{s as T}from"./use-resolve-button-type-DnRVrBaM.js";let C=Symbol("GroupContext"),N=a({name:"Switch",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"button"},modelValue:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,optional:!0},form:{type:String,optional:!0},name:{type:String,optional:!0},value:{type:String,optional:!0},id:{type:String,default:null},disabled:{type:Boolean,default:!1},tabIndex:{type:Number,default:0}},inheritAttrs:!1,setup(a,{emit:m,attrs:y,slots:h,expose:g}){var k;let x=null!=(k=a.id)?k:`headlessui-switch-${t()}`,w=n(C,null),[V,I]=function(a,t,n){let o=e(null==n?void 0:n.value),s=l((()=>void 0!==a.value));return[l((()=>s.value?a.value:o.value)),function(e){return s.value||(o.value=e),null==t?void 0:t(e)}]}(l((()=>a.modelValue)),(e=>m("update:modelValue",e)),l((()=>a.defaultChecked)));function S(){I(!V.value)}let N=e(null),B=null===w?N:w.switchRef,P=T(l((()=>({as:a.as,type:y.type}))),B);function _(e){e.preventDefault(),S()}function j(e){e.key===b.Space?(e.preventDefault(),S()):e.key===b.Enter&&function(e){var l,a;let t=null!=(l=null==e?void 0:e.form)?l:e.closest("form");if(t){for(let l of t.elements)if(l!==e&&("INPUT"===l.tagName&&"submit"===l.type||"BUTTON"===l.tagName&&"submit"===l.type||"INPUT"===l.nodeName&&"image"===l.type))return void l.click();null==(a=t.requestSubmit)||a.call(t)}}(e.currentTarget)}function U(e){e.preventDefault()}g({el:B,$el:B});let D=l((()=>{var e,l;return null==(l=null==(e=o(B))?void 0:e.closest)?void 0:l.call(e,"form")}));return s((()=>{u([D],(()=>{if(D.value&&void 0!==a.defaultChecked)return D.value.addEventListener("reset",e),()=>{var l;null==(l=D.value)||l.removeEventListener("reset",e)};function e(){I(a.defaultChecked)}}),{immediate:!0})})),()=>{let{name:e,value:l,form:t,tabIndex:n,...o}=a,s={checked:V.value},u={id:x,ref:B,role:"switch",type:P.value,tabIndex:-1===n?0:n,"aria-checked":V.value,"aria-labelledby":null==w?void 0:w.labelledby.value,"aria-describedby":null==w?void 0:w.describedby.value,onClick:_,onKeyup:j,onKeypress:U};return i(p,[null!=e&&null!=V.value?i(d,f({features:c.Hidden,as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:V.value,form:t,disabled:o.disabled,name:e,value:l})):null,r({ourProps:u,theirProps:{...y,...v(o,["modelValue","defaultChecked"])},slot:s,attrs:y,slots:h,name:"Switch"})])}}});const B={class:"absolute inset-0 h-full w-full flex items-center justify-center"},P=a({__name:"HToggle",props:m({disabled:{type:Boolean,default:!1},onIcon:{},offIcon:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const l=y(e,"modelValue");return(e,a)=>{const t=I;return g(),h(S(N),{modelValue:l.value,"onUpdate:modelValue":a[0]||(a[0]=e=>l.value=e),disabled:e.disabled,class:w(["relative h-5 w-10 inline-flex flex-shrink-0 cursor-pointer border-2 border-transparent rounded-full p-0 vertical-middle disabled-cursor-not-allowed disabled-opacity-50 focus-outline-none focus-visible-ring-2 focus-visible-ring-offset-2 focus-visible-ring-offset-white dark-focus-visible-ring-offset-gray-900",[l.value?"bg-ui-primary":"bg-stone-3 dark-bg-stone-7"]])},{default:k((()=>[x("span",{class:w(["pointer-events-none relative inline-block h-4 w-4 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out dark-bg-dark",[l.value?"translate-x-5":"translate-x-0"]])},[x("span",B,[l.value&&e.onIcon||!l.value&&e.offIcon?(g(),h(t,{key:0,name:l.value?e.onIcon:e.offIcon,class:"h-3 w-3 text-stone-7 dark-text-stone-3"},null,8,["name"])):V("",!0)])],2)])),_:1},8,["modelValue","disabled","class"])}}});export{P as _};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as t}from"./HTooltip.vue_vue_type_script_setup_true_lang-T8XkjmIi.js";import"./index-BERX8Mlm.js";export{t as default};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as m}from"./HTooltip.vue_vue_type_script_setup_true_lang-CxwyeEWK.js";import"./index-6QRvoxq4.js";export{m as default};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{d as r,p,g as o,z as l,w as s,P as t,ai as n,c as i,h as d,t as c}from"./index-6QRvoxq4.js";const m={key:1},g=r({__name:"HTooltip",props:{text:{default:""},enable:{type:Boolean,default:!0}},setup(u){return(e,f)=>{const a=p("VTooltip");return e.enable?(o(),l(a,n({key:0,"popper-triggers":["hover"]},e.$attrs),{popper:s(()=>[t(e.$slots,"text",{},()=>[d(c(e.text),1)])]),default:s(()=>[t(e.$slots,"default")]),_:3},16)):(o(),i("div",m,[t(e.$slots,"default")]))}}});export{g as _};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{d as t,Q as e,a2 as s,c as a,e as o,w as p,aj as l,h as r,t as d,R as n}from"./index-BERX8Mlm.js";const u={key:1},f=t({__name:"HTooltip",props:{text:{default:""},enable:{type:Boolean,default:!0}},setup:t=>(t,f)=>{const i=e("VTooltip");return t.enable?(o(),s(i,n({key:0,"popper-triggers":["hover"]},t.$attrs),{popper:p((()=>[l(t.$slots,"text",{},(()=>[r(d(t.text),1)]))])),default:p((()=>[l(t.$slots,"default")])),_:3},16)):(o(),a("div",u,[l(t.$slots,"default")]))}});export{f as _};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{d as i,u,r as _,o as f,a as d,c as x,b as o,e as t,w as p,f as m,_ as v,g as w,h as g,t as h,i as k,j as B,k as s}from"./index-6QRvoxq4.js";const N={class:"absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg-flex-row -translate-x-50% -translate-y-50% lg-gap-12"},b={class:"flex flex-col gap-4"},S=t("h1",{class:"m-0 text-6xl font-sans"}," 404 ",-1),y=t("div",{class:"mx-0 text-xl text-stone-5"}," 抱歉,你访问的页面不存在 ",-1),I=i({__name:"[...all]",setup(C){const a=m(),l=u(),e=_({inter:Number.NaN,countdown:5});f(()=>{e.value.inter&&window.clearInterval(e.value.inter)}),d(()=>{e.value.inter=window.setInterval(()=>{e.value.countdown--,e.value.countdown===0&&(e.value.inter&&window.clearInterval(e.value.inter),n())},1e3)});function n(){a.push(l.settings.home.fullPath)}return(V,j)=>{const c=B,r=v;return w(),x("div",N,[o(c,{name:"404",class:"text-[300px] lg-text-[400px]"}),t("div",b,[S,y,t("div",null,[o(r,{onClick:n},{default:p(()=>[g(h(k(e).countdown)+" 秒后,返回首页 ",1)]),_:1})])])])}}});typeof s=="function"&&s(I);export{I as default};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{d as e,u as t,a,r as s,o as l,b as n,c as o,e as u,f as r,g as i,_ as c,w as x,h as f,t as d,i as v,j as w,k as p}from"./index-BERX8Mlm.js";const m={class:"absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg-flex-row -translate-x-50% -translate-y-50% lg-gap-12"},g={class:"flex flex-col gap-4"},h=e({__name:"[...all]",setup(e){const p=t(),h=a(),b=s({inter:Number.NaN,countdown:5});function _(){p.push(h.settings.home.fullPath)}return l((()=>{b.value.inter&&window.clearInterval(b.value.inter)})),n((()=>{b.value.inter=window.setInterval((()=>{b.value.countdown--,0===b.value.countdown&&(b.value.inter&&window.clearInterval(b.value.inter),_())}),1e3)})),(e,t)=>{const a=c,s=w;return u(),o("div",m,[r(a,{name:"404",class:"text-[300px] lg-text-[400px]"}),i("div",g,[t[0]||(t[0]=i("h1",{class:"m-0 text-6xl font-sans"},"404",-1)),t[1]||(t[1]=i("div",{class:"mx-0 text-xl text-stone-5"},"抱歉,你访问的页面不存在",-1)),i("div",null,[r(s,{onClick:_},{default:x((()=>[f(d(v(b).countdown)+" 秒后,返回首页 ",1)])),_:1})])])])}}});"function"==typeof p&&p(h);export{h as default};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as e}from"./index.vue_vue_type_script_setup_true_lang-mQp5T4Ar.js";import{_ as a}from"./index.vue_vue_type_script_setup_true_lang-DBlFcaHd.js";import{d as l,r as t,$ as r,b as u,Q as s,a1 as o,c as d,e as n,f as i,w as p,g as c,V as m,W as f,a2 as g,i as _,h as v,a5 as w,t as h,ae as y,k as b}from"./index-BERX8Mlm.js";import{R as x,k as C,U as k,i as z}from"./index-gPQwgooA.js";import{u as j}from"./utcFormatTime-BtFjiA-p.js";const I=l({__name:"accountLog",setup(l){const b=t(),I=t(0),T=t(!1),U=r({userId:"",rechargeType:"",packageId:"",page:1,size:15});r({model3Count:[{required:!0,message:"请填写赠送基础模型额度",trigger:"blur"}],model4Count:[{required:!0,message:"请填写赠送高级模型额度",trigger:"blur"}],drawMjCount:[{required:!0,message:"请填写赠送绘画积分额度",trigger:"blur"}]});const V=t(),q=t([]);async function M(){try{T.value=!0;const e=await y.queryUserAccountLog(U),{rows:a,count:l}=e.data;T.value=!1,I.value=l,q.value=a}catch(e){T.value=!1}}async function A(e){const a=await y.queryAllUser({size:30,keyword:e});V.value=a.data.rows}return u((()=>M())),(l,t)=>{const r=a,u=s("el-option"),y=s("el-select"),D=s("el-form-item"),Y=s("el-button"),F=s("el-form"),L=e,R=s("el-avatar"),S=s("el-table-column"),$=s("el-tag"),P=s("el-table"),Q=s("el-pagination"),W=s("el-row"),B=o("loading");return n(),d("div",null,[i(r,null,{title:p((()=>t[5]||(t[5]=[c("div",{class:"flex items-center gap-4"},"账户明细",-1)]))),_:1}),i(L,null,{default:p((()=>[i(F,{ref_key:"formRef",ref:b,inline:!0,model:U},{default:p((()=>[i(D,{label:"用户名称",prop:"userId"},{default:p((()=>[i(y,{modelValue:U.userId,"onUpdate:modelValue":t[0]||(t[0]=e=>U.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"昵称|手机号|邮箱[模糊搜索]","remote-show-suffix":"","remote-method":A,style:{width:"200px"}},{default:p((()=>[(n(!0),d(m,null,f(V.value,(e=>(n(),g(u,{key:e.id,label:e.username,value:e.id},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),i(D,{label:"充值类型",prop:"rechargeType"},{default:p((()=>[i(y,{modelValue:U.rechargeType,"onUpdate:modelValue":t[1]||(t[1]=e=>U.rechargeType=e),placeholder:"请选择充值类型",clearable:"",style:{width:"160px"}},{default:p((()=>[(n(!0),d(m,null,f(_(x),(e=>(n(),g(u,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),i(D,null,{default:p((()=>[i(Y,{type:"primary",onClick:M},{default:p((()=>t[6]||(t[6]=[v(" 查询 ")]))),_:1}),i(Y,{onClick:t[2]||(t[2]=e=>{return null==(a=b.value)||a.resetFields(),void M();var a})},{default:p((()=>t[7]||(t[7]=[v(" 重置 ")]))),_:1})])),_:1})])),_:1},8,["model"])])),_:1}),i(L,{style:{width:"100%"}},{default:p((()=>[w((n(),g(P,{border:"",data:q.value,style:{width:"100%"},size:"large"},{default:p((()=>[i(S,{prop:"avatar",label:"用户头像",width:"120",fixed:""},{default:p((e=>[i(R,{src:e.row.avatar},null,8,["src"])])),_:1}),i(S,{prop:"username",label:"用户名称",width:"150",fixed:""}),i(S,{prop:"nickname",label:"用户昵称",width:"150"}),i(S,{prop:"userId",label:"用户ID",width:"80"}),i(S,{prop:"uid",label:"订单ID",width:"130"}),i(S,{prop:"email",label:"用户邮箱",width:"250",align:"left"}),i(S,{prop:"balanceInfo.useModel4Count",label:"充值类型",width:"160",align:"center"},{default:p((e=>[i($,{type:"success"},{default:p((()=>{var a,l;return[v(h((null==(a=e.row)?void 0:a.rechargeType)?_(C)[null==(l=e.row)?void 0:l.rechargeType]:"---"),1)]})),_:2},1024)])),_:1}),i(S,{prop:"model3Count",label:"基础模型额度",width:"120",align:"center"}),i(S,{prop:"model4Count",label:"高级模型额度",width:"120",align:"center"}),i(S,{prop:"drawMjCount",label:"绘画余额额度",width:"120",align:"center"}),i(S,{label:"额度有效期",width:"170",align:"center"},{default:p((e=>[i($,{type:"success"},{default:p((()=>{var a,l;return[v(h((null==(a=e.row)?void 0:a.days)<=0?"永久时效":`${null==(l=e.row)?void 0:l.days}`),1)]})),_:2},1024)])),_:1}),i(S,{prop:"status",label:"用户状态",width:"120",align:"center"},{default:p((({row:e})=>[i($,{type:_(k)[e.status]},{default:p((()=>[v(h(_(z)[e.status]),1)])),_:2},1032,["type"])])),_:1}),i(S,{prop:"createdAt",label:"充值时间",width:"200",align:"center"},{default:p((e=>[v(h(_(j)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)])),_:1})])),_:1},8,["data"])),[[B,T.value]]),i(W,{class:"mt-5 flex justify-end"},{default:p((()=>[i(Q,{"current-page":U.page,"onUpdate:currentPage":t[3]||(t[3]=e=>U.page=e),"page-size":U.size,"onUpdate:pageSize":t[4]||(t[4]=e=>U.size=e),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:I.value,onSizeChange:M,onCurrentChange:M},null,8,["current-page","page-size","total"])])),_:1})])),_:1})])}}});"function"==typeof b&&b(I);export{I as default};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as $}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as H,r as _,m as I,a as G,p as r,q as O,g as u,c as v,b as t,w as a,F as R,s as M,i as m,h as d,y as K,z as h,t as g,e as J,K as P,k as V}from"./index-6QRvoxq4.js";import{R as Q,l as W,U as X,j as Z}from"./index-BE-LteFu.js";import{u as ee}from"./utcformatTime-Bq4gDWNx.js";const te=J("div",{class:"flex items-center gap-4"},"账户明细",-1),ae=H({__name:"accountLog",setup(le){const C=_(),T=_(0),f=_(!1),n=I({userId:"",rechargeType:"",packageId:"",page:1,size:15});I({model3Count:[{required:!0,message:"请填写赠送基础模型额度",trigger:"blur"}],model4Count:[{required:!0,message:"请填写赠送高级模型额度",trigger:"blur"}],drawMjCount:[{required:!0,message:"请填写赠送绘画积分额度",trigger:"blur"}]});const A=_(),k=_([]);async function i(){try{f.value=!0;const s=await P.queryUserAccountLog(n),{rows:l,count:b}=s.data;f.value=!1,T.value=b,k.value=l}catch{f.value=!1}}async function D(s){const l=await P.queryAllUser({size:30,keyword:s});A.value=l.data.rows}function q(s){s==null||s.resetFields(),i()}return G(()=>i()),(s,l)=>{const b=F,U=r("el-option"),x=r("el-select"),w=r("el-form-item"),z=r("el-button"),Y=r("el-form"),S=$,E=r("el-avatar"),o=r("el-table-column"),y=r("el-tag"),j=r("el-table"),L=r("el-pagination"),B=r("el-row"),N=O("loading");return u(),v("div",null,[t(b,null,{title:a(()=>[te]),_:1}),t(S,null,{default:a(()=>[t(Y,{ref_key:"formRef",ref:C,inline:!0,model:n},{default:a(()=>[t(w,{label:"用户名称",prop:"userId"},{default:a(()=>[t(x,{modelValue:n.userId,"onUpdate:modelValue":l[0]||(l[0]=e=>n.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"昵称|手机号|邮箱[模糊搜索]","remote-show-suffix":"","remote-method":D,style:{width:"200px"}},{default:a(()=>[(u(!0),v(R,null,M(A.value,e=>(u(),h(U,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(w,{label:"充值类型",prop:"rechargeType"},{default:a(()=>[t(x,{modelValue:n.rechargeType,"onUpdate:modelValue":l[1]||(l[1]=e=>n.rechargeType=e),placeholder:"请选择充值类型",clearable:"",style:{width:"160px"}},{default:a(()=>[(u(!0),v(R,null,M(m(Q),e=>(u(),h(U,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(w,null,{default:a(()=>[t(z,{type:"primary",onClick:i},{default:a(()=>[d(" 查询 ")]),_:1}),t(z,{onClick:l[2]||(l[2]=e=>q(C.value))},{default:a(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(S,{style:{width:"100%"}},{default:a(()=>[K((u(),h(j,{border:"",data:k.value,style:{width:"100%"},size:"large"},{default:a(()=>[t(o,{prop:"avatar",label:"用户头像",width:"120",fixed:""},{default:a(e=>[t(E,{src:e.row.avatar},null,8,["src"])]),_:1}),t(o,{prop:"username",label:"用户名称",width:"150",fixed:""}),t(o,{prop:"userId",label:"用户ID",width:"80"}),t(o,{prop:"uid",label:"订单ID",width:"130"}),t(o,{prop:"email",label:"用户邮箱",width:"250",align:"left"}),t(o,{prop:"balanceInfo.useModel4Count",label:"充值类型",width:"160",align:"center"},{default:a(e=>[t(y,{type:"success"},{default:a(()=>{var c,p;return[d(g((c=e.row)!=null&&c.rechargeType?m(W)[(p=e.row)==null?void 0:p.rechargeType]:"---"),1)]}),_:2},1024)]),_:1}),t(o,{prop:"model3Count",label:"基础模型额度",width:"120",align:"center"}),t(o,{prop:"model4Count",label:"高级模型额度",width:"120",align:"center"}),t(o,{prop:"drawMjCount",label:"绘画余额额度",width:"120",align:"center"}),t(o,{label:"额度有效期",width:"170",align:"center"},{default:a(e=>[t(y,{type:"success"},{default:a(()=>{var c,p;return[d(g(((c=e.row)==null?void 0:c.days)<=0?"永久时效":`${(p=e.row)==null?void 0:p.days}`),1)]}),_:2},1024)]),_:1}),t(o,{prop:"status",label:"用户状态",width:"120",align:"center"},{default:a(({row:e})=>[t(y,{type:m(X)[e.status]},{default:a(()=>[d(g(m(Z)[e.status]),1)]),_:2},1032,["type"])]),_:1}),t(o,{prop:"createdAt",label:"充值时间",width:"200",align:"center"},{default:a(e=>[d(g(m(ee)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[N,f.value]]),t(B,{class:"mt-5 flex justify-end"},{default:a(()=>[t(L,{"current-page":n.page,"onUpdate:currentPage":l[3]||(l[3]=e=>n.page=e),"page-size":n.size,"onUpdate:pageSize":l[4]||(l[4]=e=>n.size=e),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:T.value,onSizeChange:i,onCurrentChange:i},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof V=="function"&&V(ae);export{ae as default};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as h}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as B,m as I,r as C,n as R,a as U,p as n,g as D,c as N,b as e,w as l,h as p,i as m,e as f,G as y,j,_ as q,k as V}from"./index-6QRvoxq4.js";import{a as x}from"./config-DBls5jtO.js";const $=f("div",{class:"flex items-center gap-4"},"阿里云OSS参数设置",-1),E=f("div",{class:"text-sm/6"},[f("div",null,[p(" 需前往阿里云申请对象存储服务,更多配置及申请详见"),f("a",{href:"https://oss.console.aliyun.com",target:"_blank"},"阿里云OSS"),p(" 。如果同时开启多个存储服务,腾讯云优先级高于阿里云。 ")])],-1),H=B({__name:"ali",setup(M){const a=I({aliOssStatus:"",aliOssAccessKeyId:"",aliOssAccessKeySecret:"",aliOssRegion:"",aliOssBucket:"",aliOssAcceleratedDomain:""}),_=C();async function O(){const o=await x.queryConfig({keys:["aliOssAccessKeySecret","aliOssRegion","aliOssBucket","aliOssAccessKeyId","aliOssStatus","aliOssAcceleratedDomain"]});Object.assign(a,o.data)}function S(){var o;(o=_.value)==null||o.validate(async s=>{if(s){try{await x.setConfig({settings:b(a)}),y.success("变更配置信息成功")}catch{}O()}else y.error("请填写完整信息")})}function b(o){return Object.keys(o).map(s=>({configKey:s,configVal:o[s]}))}const d=R(()=>[{required:Number(a.aliOssStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return U(()=>{O()}),(o,s)=>{const g=j,A=q,w=h,k=n("el-switch"),c=n("el-form-item"),r=n("el-col"),u=n("el-row"),i=n("el-input"),v=n("el-form"),K=n("el-card");return D(),N("div",null,[e(w,null,{title:l(()=>[$]),content:l(()=>[E]),default:l(()=>[e(A,{outline:"",onClick:S},{default:l(()=>[e(g,{name:"i-ri:file-text-line"}),p(" 保存设置 ")]),_:1})]),_:1}),e(K,{style:{margin:"20px"}},{default:l(()=>[e(v,{ref_key:"formRef",ref:_,model:a,"label-width":"120px"},{default:l(()=>[e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"服务启用状态",prop:"aliOssStatus"},{default:l(()=>[e(k,{modelValue:a.aliOssStatus,"onUpdate:modelValue":s[0]||(s[0]=t=>a.aliOssStatus=t),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"accessKeyId",prop:"aliOssAccessKeyId",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssAccessKeyId,"onUpdate:modelValue":s[1]||(s[1]=t=>a.aliOssAccessKeyId=t),placeholder:"请填写SecretId",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"keySecret",prop:"aliOssAccessKeySecret",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssAccessKeySecret,"onUpdate:modelValue":s[2]||(s[2]=t=>a.aliOssAccessKeySecret=t),placeholder:"请填写SecretKey",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"存储桶名称",prop:"aliOssBucket",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssBucket,"onUpdate:modelValue":s[3]||(s[3]=t=>a.aliOssBucket=t),placeholder:"请填写存储桶名称",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"所属地域",prop:"aliOssRegion",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssRegion,"onUpdate:modelValue":s[4]||(s[4]=t=>a.aliOssRegion=t),placeholder:"请填写所属地域(oss-cn-shanghai)",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"全球加速域名",prop:"aliOssAcceleratedDomain"},{default:l(()=>[e(i,{modelValue:a.aliOssAcceleratedDomain,"onUpdate:modelValue":s[5]||(s[5]=t=>a.aliOssAcceleratedDomain=t),placeholder:"如您是国外服务器可开启全球加速域名得到更快响应速度、同理也会更高计费!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof V=="function"&&V(H);export{H as default};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as e}from"./index.vue_vue_type_script_setup_true_lang-DBlFcaHd.js";import{d as l,$ as a,r as s,P as t,b as u,Q as c,c as o,e as d,f as i,w as r,j as n,h as m,_ as f,g as p,i as O,Y as _,k as g}from"./index-BERX8Mlm.js";import{a as y}from"./config-BrbFL53_.js";const S=l({__name:"ali",setup(l){const g=a({aliOssStatus:"",aliOssAccessKeyId:"",aliOssAccessKeySecret:"",aliOssRegion:"",aliOssBucket:"",aliOssAcceleratedDomain:""}),S=s();async function x(){const e=await y.queryConfig({keys:["aliOssAccessKeySecret","aliOssRegion","aliOssBucket","aliOssAccessKeyId","aliOssStatus","aliOssAcceleratedDomain"]});Object.assign(g,e.data)}function V(){var e;null==(e=S.value)||e.validate((async e=>{if(e){try{await y.setConfig({settings:(l=g,Object.keys(l).map((e=>({configKey:e,configVal:l[e]}))))}),_.success("变更配置信息成功")}catch(a){}x()}else _.error("请填写完整信息");var l}))}const b=t((()=>[{required:1===Number(g.aliOssStatus),message:"开启配置后请填写此项",trigger:"change"}]));return u((()=>{x()})),(l,a)=>{const s=f,t=n,u=e,_=c("el-switch"),y=c("el-form-item"),x=c("el-col"),h=c("el-row"),A=c("el-input"),v=c("el-form"),K=c("el-card");return d(),o("div",null,[i(u,null,{title:r((()=>a[6]||(a[6]=[p("div",{class:"flex items-center gap-4"},"阿里云OSS参数设置",-1)]))),content:r((()=>a[7]||(a[7]=[p("div",{class:"text-sm/6"},[p("div",null,[m(" 需前往阿里云申请对象存储服务,更多配置及申请详见"),p("a",{href:"https://oss.console.aliyun.com",target:"_blank"},"阿里云OSS"),m(" 。如果同时开启多个存储服务,服务优先级:本地存储 > S3存储 > 腾讯云COS > 阿里云OSS。 ")])],-1)]))),default:r((()=>[i(t,{outline:"",onClick:V},{default:r((()=>[i(s,{name:"i-ri:file-text-line"}),a[8]||(a[8]=m(" 保存设置 "))])),_:1})])),_:1}),i(K,{style:{margin:"20px"}},{default:r((()=>[i(v,{ref_key:"formRef",ref:S,model:g,"label-width":"120px"},{default:r((()=>[i(h,null,{default:r((()=>[i(x,{xs:24,md:20,lg:15,xl:12},{default:r((()=>[i(y,{label:"服务启用状态",prop:"aliOssStatus"},{default:r((()=>[i(_,{modelValue:g.aliOssStatus,"onUpdate:modelValue":a[0]||(a[0]=e=>g.aliOssStatus=e),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])])),_:1})])),_:1})])),_:1}),i(h,null,{default:r((()=>[i(x,{xs:24,md:20,lg:15,xl:12},{default:r((()=>[i(y,{label:"accessKeyId",prop:"aliOssAccessKeyId",rules:O(b)},{default:r((()=>[i(A,{modelValue:g.aliOssAccessKeyId,"onUpdate:modelValue":a[1]||(a[1]=e=>g.aliOssAccessKeyId=e),placeholder:"请填写SecretId",clearable:"",type:"password","show-password":""},null,8,["modelValue"])])),_:1},8,["rules"])])),_:1})])),_:1}),i(h,null,{default:r((()=>[i(x,{xs:24,md:20,lg:15,xl:12},{default:r((()=>[i(y,{label:"keySecret",prop:"aliOssAccessKeySecret",rules:O(b)},{default:r((()=>[i(A,{modelValue:g.aliOssAccessKeySecret,"onUpdate:modelValue":a[2]||(a[2]=e=>g.aliOssAccessKeySecret=e),placeholder:"请填写SecretKey",clearable:"",type:"password","show-password":""},null,8,["modelValue"])])),_:1},8,["rules"])])),_:1})])),_:1}),i(h,null,{default:r((()=>[i(x,{xs:24,md:20,lg:15,xl:12},{default:r((()=>[i(y,{label:"存储桶名称",prop:"aliOssBucket",rules:O(b)},{default:r((()=>[i(A,{modelValue:g.aliOssBucket,"onUpdate:modelValue":a[3]||(a[3]=e=>g.aliOssBucket=e),placeholder:"请填写存储桶名称",clearable:""},null,8,["modelValue"])])),_:1},8,["rules"])])),_:1})])),_:1}),i(h,null,{default:r((()=>[i(x,{xs:24,md:20,lg:15,xl:12},{default:r((()=>[i(y,{label:"所属地域",prop:"aliOssRegion",rules:O(b)},{default:r((()=>[i(A,{modelValue:g.aliOssRegion,"onUpdate:modelValue":a[4]||(a[4]=e=>g.aliOssRegion=e),placeholder:"请填写所属地域(oss-cn-shanghai)",clearable:""},null,8,["modelValue"])])),_:1},8,["rules"])])),_:1})])),_:1}),i(h,null,{default:r((()=>[i(x,{xs:24,md:20,lg:15,xl:12},{default:r((()=>[i(y,{label:"全球加速域名",prop:"aliOssAcceleratedDomain"},{default:r((()=>[i(A,{modelValue:g.aliOssAcceleratedDomain,"onUpdate:modelValue":a[5]||(a[5]=e=>g.aliOssAcceleratedDomain=e),placeholder:"如您是国外服务器可开启全球加速域名得到更快响应速度、同理也会更高计费!",clearable:""},null,8,["modelValue"])])),_:1})])),_:1})])),_:1})])),_:1},8,["model"])])),_:1})])}}});"function"==typeof g&&g(S);export{S as default};

View File

@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
var l={"+":["conjugate","add"],"":["negate","subtract"],"×":["signOf","multiply"],"÷":["reciprocal","divide"],"⌈":["ceiling","greaterOf"],"⌊":["floor","lesserOf"],"":["absolute","residue"],"":["indexGenerate","indexOf"],"?":["roll","deal"],"⋆":["exponentiate","toThePowerOf"],"⍟":["naturalLog","logToTheBase"],"○":["piTimes","circularFuncs"],"!":["factorial","binomial"],"⌹":["matrixInverse","matrixDivide"],"<":[null,"lessThan"],"≤":[null,"lessThanOrEqual"],"=":[null,"equals"],">":[null,"greaterThan"],"≥":[null,"greaterThanOrEqual"],"≠":[null,"notEqual"],"≡":["depth","match"],"≢":[null,"notMatch"],"∈":["enlist","membership"],"⍷":[null,"find"],"":["unique","union"],"∩":[null,"intersection"],"":["not","without"],"":[null,"or"],"∧":[null,"and"],"⍱":[null,"nor"],"⍲":[null,"nand"],"":["shapeOf","reshape"],",":["ravel","catenate"],"⍪":[null,"firstAxisCatenate"],"⌽":["reverse","rotate"],"⊖":["axis1Reverse","axis1Rotate"],"⍉":["transpose",null],"↑":["first","take"],"↓":[null,"drop"],"⊂":["enclose","partitionWithAxis"],"⊃":["diclose","pick"],"⌷":[null,"index"],"⍋":["gradeUp",null],"⍒":["gradeDown",null],"":["encode",null],"⊥":["decode",null],"⍕":["format","formatByExample"],"⍎":["execute",null],"⊣":["stop","left"],"⊢":["pass","right"]},t=/[\.\/⌿⍀¨⍣]/,a=/⍬/,i=/[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/,u=/←/,o=/[⍝#].*$/,s=function(r){var n;return n=!1,function(e){return n=e,e===r?n==="\\":!0}};const f={name:"apl",startState:function(){return{prev:!1,func:!1,op:!1,string:!1,escape:!1}},token:function(r,n){var e;return r.eatSpace()?null:(e=r.next(),e==='"'||e==="'"?(r.eatWhile(s(e)),r.next(),n.prev=!0,"string"):/[\[{\(]/.test(e)?(n.prev=!1,null):/[\]}\)]/.test(e)?(n.prev=!0,null):a.test(e)?(n.prev=!1,"atom"):/[¯\d]/.test(e)?(n.func?(n.func=!1,n.prev=!1):n.prev=!0,r.eatWhile(/[\w\.]/),"number"):t.test(e)||u.test(e)?"operator":i.test(e)?(n.func=!0,n.prev=!1,l[e]?"variableName.function.standard":"variableName.function"):o.test(e)?(r.skipToEnd(),"comment"):e===""&&r.peek()==="."?(r.next(),"variableName.function"):(r.eatWhile(/[\w\$_]/),n.prev=!0,"keyword"))}};export{f as apl};
var e={"+":["conjugate","add"],"":["negate","subtract"],"×":["signOf","multiply"],"÷":["reciprocal","divide"],"⌈":["ceiling","greaterOf"],"⌊":["floor","lesserOf"],"":["absolute","residue"],"":["indexGenerate","indexOf"],"?":["roll","deal"],"⋆":["exponentiate","toThePowerOf"],"⍟":["naturalLog","logToTheBase"],"○":["piTimes","circularFuncs"],"!":["factorial","binomial"],"⌹":["matrixInverse","matrixDivide"],"<":[null,"lessThan"],"≤":[null,"lessThanOrEqual"],"=":[null,"equals"],">":[null,"greaterThan"],"≥":[null,"greaterThanOrEqual"],"≠":[null,"notEqual"],"≡":["depth","match"],"≢":[null,"notMatch"],"∈":["enlist","membership"],"⍷":[null,"find"],"":["unique","union"],"∩":[null,"intersection"],"":["not","without"],"":[null,"or"],"∧":[null,"and"],"⍱":[null,"nor"],"⍲":[null,"nand"],"":["shapeOf","reshape"],",":["ravel","catenate"],"⍪":[null,"firstAxisCatenate"],"⌽":["reverse","rotate"],"⊖":["axis1Reverse","axis1Rotate"],"⍉":["transpose",null],"↑":["first","take"],"↓":[null,"drop"],"⊂":["enclose","partitionWithAxis"],"⊃":["diclose","pick"],"⌷":[null,"index"],"⍋":["gradeUp",null],"⍒":["gradeDown",null],"":["encode",null],"⊥":["decode",null],"⍕":["format","formatByExample"],"⍎":["execute",null],"⊣":["stop","left"],"⊢":["pass","right"]},n=/[\.\/⌿⍀¨⍣]/,t=/⍬/,l=/[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/,a=/←/,r=/[⍝#].*$/;const i={name:"apl",startState:function(){return{prev:!1,func:!1,op:!1,string:!1,escape:!1}},token:function(i,u){var o,s,c;return i.eatSpace()?null:'"'===(o=i.next())||"'"===o?(i.eatWhile((s=o,c=!1,function(e){return c=e,e!==s||"\\"===c})),i.next(),u.prev=!0,"string"):/[\[{\(]/.test(o)?(u.prev=!1,null):/[\]}\)]/.test(o)?(u.prev=!0,null):t.test(o)?(u.prev=!1,"atom"):/[¯\d]/.test(o)?(u.func?(u.func=!1,u.prev=!1):u.prev=!0,i.eatWhile(/[\w\.]/),"number"):n.test(o)||a.test(o)?"operator":l.test(o)?(u.func=!0,u.prev=!1,e[o]?"variableName.function.standard":"variableName.function"):r.test(o)?(i.skipToEnd(),"comment"):"∘"===o&&"."===i.peek()?(i.next(),"variableName.function"):(i.eatWhile(/[\w\$_]/),u.prev=!0,"keyword")}};export{i as apl};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{I as t}from"./index-6QRvoxq4.js";const e={queryCats:p=>t.get("app/queryAppCats",{params:p}),deleteCats:p=>t.post("app/delAppCats",p),createCats:p=>t.post("app/createAppCats",p),updateCats:p=>t.post("app/updateAppCats",p),queryApp:p=>t.get("app/queryApp",{params:p}),deleteApp:p=>t.post("app/delApp",p),createApp:p=>t.post("app/createApp",p),updateApp:p=>t.post("app/updateApp",p)};export{e as A};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{ac as p}from"./index-BERX8Mlm.js";const a={queryCats:a=>p.get("app/queryAppCats",{params:a}),deleteCats:a=>p.post("app/delAppCats",a),createCats:a=>p.post("app/createAppCats",a),updateCats:a=>p.post("app/updateAppCats",a),queryApp:a=>p.get("app/queryApp",{params:a}),deleteApp:a=>p.post("app/delApp",a),createApp:a=>p.post("app/createApp",a),updateApp:a=>p.post("app/updateApp",a)};export{a as A};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
.prompt-template-editor[data-v-0b0108c2]{padding:5px}.field-grid[data-v-0b0108c2]{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;width:100%}.field-item[data-v-0b0108c2]{background-color:#fdfdfd;transition:box-shadow .2s ease-in-out;width:100%}.field-item[data-v-0b0108c2]:hover{box-shadow:var(--el-box-shadow-lighter)}.drag-handle[data-v-0b0108c2]{touch-action:none}.field-number[data-v-0b0108c2]{min-width:20px;text-align:right}.ghost[data-v-0b0108c2]{opacity:.5;background:#c8ebfb;border:1px dashed #409eff}[data-v-0b0108c2] .el-form-item__label{line-height:normal;margin-bottom:4px!important;padding:0!important}[data-v-0b0108c2] .el-form-item{margin-bottom:10px}.category-selector[data-v-de27d88a]{width:100%}.selected-categories[data-v-de27d88a]{min-height:32px;padding:4px 0}.category-options .el-tag[data-v-de27d88a]{transition:all .3s}.category-options .el-tag[data-v-de27d88a]:not(.is-disabled):hover{transform:scale(1.05)}.category-options .el-tag.is-disabled[data-v-de27d88a]{cursor:not-allowed;opacity:.6}

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
function t(t){var e=t.match(/^\s*\S/);return t.skipToEnd(),e?"error":null}const e={name:"asciiarmor",token:function(e,a){var r;if("top"==a.state)return e.sol()&&(r=e.match(/^-----BEGIN (.*)?-----\s*$/))?(a.state="headers",a.type=r[1],"tag"):t(e);if("headers"==a.state){if(e.sol()&&e.match(/^\w+:/))return a.state="header","atom";var s=t(e);return s&&(a.state="body"),s}return"header"==a.state?(e.skipToEnd(),a.state="headers","string"):"body"==a.state?e.sol()&&(r=e.match(/^-----END (.*)?-----\s*$/))?r[1]!=a.type?"error":(a.state="end","tag"):e.eatWhile(/[A-Za-z0-9+\/=]/)?null:(e.next(),"error"):"end"==a.state?t(e):void 0},blankLine:function(t){"headers"==t.state&&(t.state="body")},startState:function(){return{state:"top",type:null}}};export{e as asciiArmor};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
function t(e){var r=e.match(/^\s*\S/);return e.skipToEnd(),r?"error":null}const i={name:"asciiarmor",token:function(e,r){var n;if(r.state=="top")return e.sol()&&(n=e.match(/^-----BEGIN (.*)?-----\s*$/))?(r.state="headers",r.type=n[1],"tag"):t(e);if(r.state=="headers"){if(e.sol()&&e.match(/^\w+:/))return r.state="header","atom";var o=t(e);return o&&(r.state="body"),o}else{if(r.state=="header")return e.skipToEnd(),r.state="headers","string";if(r.state=="body")return e.sol()&&(n=e.match(/^-----END (.*)?-----\s*$/))?n[1]!=r.type?"error":(r.state="end","tag"):e.eatWhile(/[A-Za-z0-9+\/=]/)?null:(e.next(),"error");if(r.state=="end")return t(e)}},blankLine:function(e){e.state=="headers"&&(e.state="body")},startState:function(){return{state:"top",type:null}}};export{i as asciiArmor};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
function u(i){for(var s={},c=i.split(" "),T=0;T<c.length;++T)s[c[T]]=!0;return s}const o={keywords:u("DEFINITIONS OBJECTS IF DERIVED INFORMATION ACTION REPLY ANY NAMED CHARACTERIZED BEHAVIOUR REGISTERED WITH AS IDENTIFIED CONSTRAINED BY PRESENT BEGIN IMPORTS FROM UNITS SYNTAX MIN-ACCESS MAX-ACCESS MINACCESS MAXACCESS REVISION STATUS DESCRIPTION SEQUENCE SET COMPONENTS OF CHOICE DistinguishedName ENUMERATED SIZE MODULE END INDEX AUGMENTS EXTENSIBILITY IMPLIED EXPORTS"),cmipVerbs:u("ACTIONS ADD GET NOTIFICATIONS REPLACE REMOVE"),compareTypes:u("OPTIONAL DEFAULT MANAGED MODULE-TYPE MODULE_IDENTITY MODULE-COMPLIANCE OBJECT-TYPE OBJECT-IDENTITY OBJECT-COMPLIANCE MODE CONFIRMED CONDITIONAL SUBORDINATE SUPERIOR CLASS TRUE FALSE NULL TEXTUAL-CONVENTION"),status:u("current deprecated mandatory obsolete"),tags:u("APPLICATION AUTOMATIC EXPLICIT IMPLICIT PRIVATE TAGS UNIVERSAL"),storage:u("BOOLEAN INTEGER OBJECT IDENTIFIER BIT OCTET STRING UTCTime InterfaceIndex IANAifType CMIP-Attribute REAL PACKAGE PACKAGES IpAddress PhysAddress NetworkAddress BITS BMPString TimeStamp TimeTicks TruthValue RowStatus DisplayString GeneralString GraphicString IA5String NumericString PrintableString SnmpAdminString TeletexString UTF8String VideotexString VisibleString StringStore ISO646String T61String UniversalString Unsigned32 Integer32 Gauge Gauge32 Counter Counter32 Counter64"),modifier:u("ATTRIBUTE ATTRIBUTES MANDATORY-GROUP MANDATORY-GROUPS GROUP GROUPS ELEMENTS EQUALITY ORDERING SUBSTRINGS DEFINED"),accessTypes:u("not-accessible accessible-for-notify read-only read-create read-write"),multiLineStrings:!0};function L(i){var s=i.keywords||o.keywords,c=i.cmipVerbs||o.cmipVerbs,T=i.compareTypes||o.compareTypes,N=i.status||o.status,d=i.tags||o.tags,f=i.storage||o.storage,m=i.modifier||o.modifier,C=i.accessTypes||o.accessTypes,R=i.multiLineStrings||o.multiLineStrings,y=i.indentStatements!==!1,A=/[\|\^]/,E;function D(e,n){var t=e.next();if(t=='"'||t=="'")return n.tokenize=g(t),n.tokenize(e,n);if(/[\[\]\(\){}:=,;]/.test(t))return E=t,"punctuation";if(t=="-"&&e.eat("-"))return e.skipToEnd(),"comment";if(/\d/.test(t))return e.eatWhile(/[\w\.]/),"number";if(A.test(t))return e.eatWhile(A),"operator";e.eatWhile(/[\w\-]/);var r=e.current();return s.propertyIsEnumerable(r)?"keyword":c.propertyIsEnumerable(r)?"variableName":T.propertyIsEnumerable(r)?"atom":N.propertyIsEnumerable(r)?"comment":d.propertyIsEnumerable(r)?"typeName":f.propertyIsEnumerable(r)||m.propertyIsEnumerable(r)||C.propertyIsEnumerable(r)?"modifier":"variableName"}function g(e){return function(n,t){for(var r=!1,l,O=!1;(l=n.next())!=null;){if(l==e&&!r){var I=n.peek();I&&(I=I.toLowerCase(),(I=="b"||I=="h"||I=="o")&&n.next()),O=!0;break}r=!r&&l=="\\"}return(O||!(r||R))&&(t.tokenize=null),"string"}}function p(e,n,t,r,l){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=l}function a(e,n,t){var r=e.indented;return e.context&&e.context.type=="statement"&&(r=e.context.indented),e.context=new p(r,n,t,null,e.context)}function S(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}return{name:"asn1",startState:function(){return{tokenize:null,context:new p(-2,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;E=null;var r=(n.tokenize||D)(e,n);if(r=="comment")return r;if(t.align==null&&(t.align=!0),(E==";"||E==":"||E==",")&&t.type=="statement")S(n);else if(E=="{")a(n,e.column(),"}");else if(E=="[")a(n,e.column(),"]");else if(E=="(")a(n,e.column(),")");else if(E=="}"){for(;t.type=="statement";)t=S(n);for(t.type=="}"&&(t=S(n));t.type=="statement";)t=S(n)}else E==t.type?S(n):y&&((t.type=="}"||t.type=="top")&&E!=";"||t.type=="statement"&&E=="newstatement")&&a(n,e.column(),"statement");return n.startOfLine=!1,r},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"--"}}}}export{L as asn1};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
function e(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}const t={keywords:e("DEFINITIONS OBJECTS IF DERIVED INFORMATION ACTION REPLY ANY NAMED CHARACTERIZED BEHAVIOUR REGISTERED WITH AS IDENTIFIED CONSTRAINED BY PRESENT BEGIN IMPORTS FROM UNITS SYNTAX MIN-ACCESS MAX-ACCESS MINACCESS MAXACCESS REVISION STATUS DESCRIPTION SEQUENCE SET COMPONENTS OF CHOICE DistinguishedName ENUMERATED SIZE MODULE END INDEX AUGMENTS EXTENSIBILITY IMPLIED EXPORTS"),cmipVerbs:e("ACTIONS ADD GET NOTIFICATIONS REPLACE REMOVE"),compareTypes:e("OPTIONAL DEFAULT MANAGED MODULE-TYPE MODULE_IDENTITY MODULE-COMPLIANCE OBJECT-TYPE OBJECT-IDENTITY OBJECT-COMPLIANCE MODE CONFIRMED CONDITIONAL SUBORDINATE SUPERIOR CLASS TRUE FALSE NULL TEXTUAL-CONVENTION"),status:e("current deprecated mandatory obsolete"),tags:e("APPLICATION AUTOMATIC EXPLICIT IMPLICIT PRIVATE TAGS UNIVERSAL"),storage:e("BOOLEAN INTEGER OBJECT IDENTIFIER BIT OCTET STRING UTCTime InterfaceIndex IANAifType CMIP-Attribute REAL PACKAGE PACKAGES IpAddress PhysAddress NetworkAddress BITS BMPString TimeStamp TimeTicks TruthValue RowStatus DisplayString GeneralString GraphicString IA5String NumericString PrintableString SnmpAdminString TeletexString UTF8String VideotexString VisibleString StringStore ISO646String T61String UniversalString Unsigned32 Integer32 Gauge Gauge32 Counter Counter32 Counter64"),modifier:e("ATTRIBUTE ATTRIBUTES MANDATORY-GROUP MANDATORY-GROUPS GROUP GROUPS ELEMENTS EQUALITY ORDERING SUBSTRINGS DEFINED"),accessTypes:e("not-accessible accessible-for-notify read-only read-create read-write"),multiLineStrings:!0};function n(e){var n=e.keywords||t.keywords,r=e.cmipVerbs||t.cmipVerbs,i=e.compareTypes||t.compareTypes,E=e.status||t.status,a=e.tags||t.tags,s=e.storage||t.storage,o=e.modifier||t.modifier,I=e.accessTypes||t.accessTypes;e.multiLineStrings;var T,S=!1!==e.indentStatements,u=/[\|\^]/;function l(e,t){var S,l=e.next();if('"'==l||"'"==l)return t.tokenize=(S=l,function(e,t){for(var n,r=!1,i=!1;null!=(n=e.next());){if(n==S&&!r){var E=e.peek();E&&("b"!=(E=E.toLowerCase())&&"h"!=E&&"o"!=E||e.next()),i=!0;break}r=!r&&"\\"==n}return i&&(t.tokenize=null),"string"}),t.tokenize(e,t);if(/[\[\]\(\){}:=,;]/.test(l))return T=l,"punctuation";if("-"==l&&e.eat("-"))return e.skipToEnd(),"comment";if(/\d/.test(l))return e.eatWhile(/[\w\.]/),"number";if(u.test(l))return e.eatWhile(u),"operator";e.eatWhile(/[\w\-]/);var A=e.current();return n.propertyIsEnumerable(A)?"keyword":r.propertyIsEnumerable(A)?"variableName":i.propertyIsEnumerable(A)?"atom":E.propertyIsEnumerable(A)?"comment":a.propertyIsEnumerable(A)?"typeName":s.propertyIsEnumerable(A)||o.propertyIsEnumerable(A)||I.propertyIsEnumerable(A)?"modifier":"variableName"}function A(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function N(e,t,n){var r=e.indented;return e.context&&"statement"==e.context.type&&(r=e.context.indented),e.context=new A(r,t,n,null,e.context)}function p(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}return{name:"asn1",startState:function(){return{tokenize:null,context:new A(-2,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;T=null;var r=(t.tokenize||l)(e,t);if("comment"==r)return r;if(null==n.align&&(n.align=!0),";"!=T&&":"!=T&&","!=T||"statement"!=n.type)if("{"==T)N(t,e.column(),"}");else if("["==T)N(t,e.column(),"]");else if("("==T)N(t,e.column(),")");else if("}"==T){for(;"statement"==n.type;)n=p(t);for("}"==n.type&&(n=p(t));"statement"==n.type;)n=p(t)}else T==n.type?p(t):S&&(("}"==n.type||"top"==n.type)&&";"!=T||"statement"==n.type&&"newstatement"==T)&&N(t,e.column(),"statement");else p(t);return t.startOfLine=!1,r},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"--"}}}}export{n as asn1};

View File

@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
var t=["exten","same","include","ignorepat","switch"],o=["#include","#exec"],c=["addqueuemember","adsiprog","aelsub","agentlogin","agentmonitoroutgoing","agi","alarmreceiver","amd","answer","authenticate","background","backgrounddetect","bridge","busy","callcompletioncancel","callcompletionrequest","celgenuserevent","changemonitor","chanisavail","channelredirect","chanspy","clearhash","confbridge","congestion","continuewhile","controlplayback","dahdiacceptr2call","dahdibarge","dahdiras","dahdiscan","dahdisendcallreroutingfacility","dahdisendkeypadfacility","datetime","dbdel","dbdeltree","deadagi","dial","dictate","directory","disa","dumpchan","eagi","echo","endwhile","exec","execif","execiftime","exitwhile","extenspy","externalivr","festival","flash","followme","forkcdr","getcpeid","gosub","gosubif","goto","gotoif","gotoiftime","hangup","iax2provision","ices","importvar","incomplete","ivrdemo","jabberjoin","jabberleave","jabbersend","jabbersendgroup","jabberstatus","jack","log","macro","macroexclusive","macroexit","macroif","mailboxexists","meetme","meetmeadmin","meetmechanneladmin","meetmecount","milliwatt","minivmaccmess","minivmdelete","minivmgreet","minivmmwi","minivmnotify","minivmrecord","mixmonitor","monitor","morsecode","mp3player","mset","musiconhold","nbscat","nocdr","noop","odbc","odbc","odbcfinish","originate","ospauth","ospfinish","osplookup","ospnext","page","park","parkandannounce","parkedcall","pausemonitor","pausequeuemember","pickup","pickupchan","playback","playtones","privacymanager","proceeding","progress","queue","queuelog","raiseexception","read","readexten","readfile","receivefax","receivefax","receivefax","record","removequeuemember","resetcdr","retrydial","return","ringing","sayalpha","saycountedadj","saycountednoun","saycountpl","saydigits","saynumber","sayphonetic","sayunixtime","senddtmf","sendfax","sendfax","sendfax","sendimage","sendtext","sendurl","set","setamaflags","setcallerpres","setmusiconhold","sipaddheader","sipdtmfmode","sipremoveheader","skel","slastation","slatrunk","sms","softhangup","speechactivategrammar","speechbackground","speechcreate","speechdeactivategrammar","speechdestroy","speechloadgrammar","speechprocessingsound","speechstart","speechunloadgrammar","stackpop","startmusiconhold","stopmixmonitor","stopmonitor","stopmusiconhold","stopplaytones","system","testclient","testserver","transfer","tryexec","trysystem","unpausemonitor","unpausequeuemember","userevent","verbose","vmauthenticate","vmsayname","voicemail","voicemailmain","wait","waitexten","waitfornoise","waitforring","waitforsilence","waitmusiconhold","waituntil","while","zapateller"];function l(e,n){var i="",a=e.next();if(n.blockComment)return a=="-"&&e.match("-;",!0)?n.blockComment=!1:e.skipTo("--;")?(e.next(),e.next(),e.next(),n.blockComment=!1):e.skipToEnd(),"comment";if(a==";")return e.match("--",!0)&&!e.match("-",!1)?(n.blockComment=!0,"comment"):(e.skipToEnd(),"comment");if(a=="[")return e.skipTo("]"),e.eat("]"),"header";if(a=='"')return e.skipTo('"'),"string";if(a=="'")return e.skipTo("'"),"string.special";if(a=="#"&&(e.eatWhile(/\w/),i=e.current(),o.indexOf(i)!==-1))return e.skipToEnd(),"strong";if(a=="$"){var r=e.peek();if(r=="{")return e.skipTo("}"),e.eat("}"),"variableName.special"}if(e.eatWhile(/\w/),i=e.current(),t.indexOf(i)!==-1){switch(n.extenStart=!0,i){case"same":n.extenSame=!0;break;case"include":case"switch":case"ignorepat":n.extenInclude=!0;break}return"atom"}}const s={name:"asterisk",startState:function(){return{blockComment:!1,extenStart:!1,extenSame:!1,extenInclude:!1,extenExten:!1,extenPriority:!1,extenApplication:!1}},token:function(e,n){var i="";if(e.eatSpace())return null;if(n.extenStart)return e.eatWhile(/[^\s]/),i=e.current(),/^=>?$/.test(i)?(n.extenExten=!0,n.extenStart=!1,"strong"):(n.extenStart=!1,e.skipToEnd(),"error");if(n.extenExten)return n.extenExten=!1,n.extenPriority=!0,e.eatWhile(/[^,]/),n.extenInclude&&(e.skipToEnd(),n.extenPriority=!1,n.extenInclude=!1),n.extenSame&&(n.extenPriority=!1,n.extenSame=!1,n.extenApplication=!0),"tag";if(n.extenPriority)return n.extenPriority=!1,n.extenApplication=!0,e.next(),n.extenSame?null:(e.eatWhile(/[^,]/),"number");if(n.extenApplication){if(e.eatWhile(/,/),i=e.current(),i===",")return null;if(e.eatWhile(/\w/),i=e.current().toLowerCase(),n.extenApplication=!1,c.indexOf(i)!==-1)return"def"}else return l(e,n);return null},languageData:{commentTokens:{line:";",block:{open:";--",close:"--;"}}}};export{s as asterisk};
var e=["exten","same","include","ignorepat","switch"],t=["#include","#exec"],n=["addqueuemember","adsiprog","aelsub","agentlogin","agentmonitoroutgoing","agi","alarmreceiver","amd","answer","authenticate","background","backgrounddetect","bridge","busy","callcompletioncancel","callcompletionrequest","celgenuserevent","changemonitor","chanisavail","channelredirect","chanspy","clearhash","confbridge","congestion","continuewhile","controlplayback","dahdiacceptr2call","dahdibarge","dahdiras","dahdiscan","dahdisendcallreroutingfacility","dahdisendkeypadfacility","datetime","dbdel","dbdeltree","deadagi","dial","dictate","directory","disa","dumpchan","eagi","echo","endwhile","exec","execif","execiftime","exitwhile","extenspy","externalivr","festival","flash","followme","forkcdr","getcpeid","gosub","gosubif","goto","gotoif","gotoiftime","hangup","iax2provision","ices","importvar","incomplete","ivrdemo","jabberjoin","jabberleave","jabbersend","jabbersendgroup","jabberstatus","jack","log","macro","macroexclusive","macroexit","macroif","mailboxexists","meetme","meetmeadmin","meetmechanneladmin","meetmecount","milliwatt","minivmaccmess","minivmdelete","minivmgreet","minivmmwi","minivmnotify","minivmrecord","mixmonitor","monitor","morsecode","mp3player","mset","musiconhold","nbscat","nocdr","noop","odbc","odbc","odbcfinish","originate","ospauth","ospfinish","osplookup","ospnext","page","park","parkandannounce","parkedcall","pausemonitor","pausequeuemember","pickup","pickupchan","playback","playtones","privacymanager","proceeding","progress","queue","queuelog","raiseexception","read","readexten","readfile","receivefax","receivefax","receivefax","record","removequeuemember","resetcdr","retrydial","return","ringing","sayalpha","saycountedadj","saycountednoun","saycountpl","saydigits","saynumber","sayphonetic","sayunixtime","senddtmf","sendfax","sendfax","sendfax","sendimage","sendtext","sendurl","set","setamaflags","setcallerpres","setmusiconhold","sipaddheader","sipdtmfmode","sipremoveheader","skel","slastation","slatrunk","sms","softhangup","speechactivategrammar","speechbackground","speechcreate","speechdeactivategrammar","speechdestroy","speechloadgrammar","speechprocessingsound","speechstart","speechunloadgrammar","stackpop","startmusiconhold","stopmixmonitor","stopmonitor","stopmusiconhold","stopplaytones","system","testclient","testserver","transfer","tryexec","trysystem","unpausemonitor","unpausequeuemember","userevent","verbose","vmauthenticate","vmsayname","voicemail","voicemailmain","wait","waitexten","waitfornoise","waitforring","waitforsilence","waitmusiconhold","waituntil","while","zapateller"];const a={name:"asterisk",startState:function(){return{blockComment:!1,extenStart:!1,extenSame:!1,extenInclude:!1,extenExten:!1,extenPriority:!1,extenApplication:!1}},token:function(a,i){var r="";return a.eatSpace()?null:i.extenStart?(a.eatWhile(/[^\s]/),r=a.current(),/^=>?$/.test(r)?(i.extenExten=!0,i.extenStart=!1,"strong"):(i.extenStart=!1,a.skipToEnd(),"error")):i.extenExten?(i.extenExten=!1,i.extenPriority=!0,a.eatWhile(/[^,]/),i.extenInclude&&(a.skipToEnd(),i.extenPriority=!1,i.extenInclude=!1),i.extenSame&&(i.extenPriority=!1,i.extenSame=!1,i.extenApplication=!0),"tag"):i.extenPriority?(i.extenPriority=!1,i.extenApplication=!0,a.next(),i.extenSame?null:(a.eatWhile(/[^,]/),"number")):i.extenApplication?(a.eatWhile(/,/),","===(r=a.current())?null:(a.eatWhile(/\w/),r=a.current().toLowerCase(),i.extenApplication=!1,-1!==n.indexOf(r)?"def":null)):function(n,a){var i="",r=n.next();if(a.blockComment)return"-"==r&&n.match("-;",!0)?a.blockComment=!1:n.skipTo("--;")?(n.next(),n.next(),n.next(),a.blockComment=!1):n.skipToEnd(),"comment";if(";"==r)return n.match("--",!0)&&!n.match("-",!1)?(a.blockComment=!0,"comment"):(n.skipToEnd(),"comment");if("["==r)return n.skipTo("]"),n.eat("]"),"header";if('"'==r)return n.skipTo('"'),"string";if("'"==r)return n.skipTo("'"),"string.special";if("#"==r&&(n.eatWhile(/\w/),i=n.current(),-1!==t.indexOf(i)))return n.skipToEnd(),"strong";if("$"==r&&"{"==n.peek())return n.skipTo("}"),n.eat("}"),"variableName.special";if(n.eatWhile(/\w/),i=n.current(),-1!==e.indexOf(i)){switch(a.extenStart=!0,i){case"same":a.extenSame=!0;break;case"include":case"switch":case"ignorepat":a.extenInclude=!0}return"atom"}}(a,i)},languageData:{commentTokens:{line:";",block:{open:";--",close:"--;"}}}};export{a as asterisk};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{I as o}from"./index-6QRvoxq4.js";const r={queryBadWords:(d={})=>o.get("badwords/query",{params:d}),queryViolation:(d={})=>o.get("badwords/violation",{params:d}),delBadWords:d=>o.post("badwords/del",d),addBadWords:d=>o.post("badwords/add",d),updateBadWords:d=>o.post("badwords/update",d)};export{r as A};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{ac as d}from"./index-BERX8Mlm.js";const a={queryBadWords:(a={})=>d.get("badwords/query",{params:a}),queryViolation:(a={})=>d.get("badwords/violation",{params:a}),delBadWords:a=>d.post("badwords/del",a),addBadWords:a=>d.post("badwords/add",a),updateBadWords:a=>d.post("badwords/update",a)};export{a as A};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as q,m as B,r as b,a as U,p as n,g as j,c as I,b as e,w as t,h as d,e as r,G as x,j as N,_ as $,k as g}from"./index-6QRvoxq4.js";import{a as y}from"./config-DBls5jtO.js";const E=r("div",{class:"flex items-center gap-4"},"百度文本审核参数设置",-1),H=r("div",{class:"text-sm/6"},[r("div",null,[d(" 当前百度云免费5万条可查看"),r("a",{href:"https://console.bce.baidu.com/ai/#/ai/antiporn/overview/index",target:"_blank"},"使用文档"),d(",如果百度云敏感词与自定义敏感词都配置的情况,会先检测百度云后检测自定义的敏感词。 ")])],-1),M=q({__name:"baiduSensitive",setup(O){const l=B({baiduTextStatus:"",baiduTextApiKey:"",baiduTextSecretKey:""}),K=b({baiduTextStatus:[{required:!0,trigger:"blur",message:"请选择是否启用百度文本审核"}],baiduTextSecretKey:[{required:!0,trigger:"blur",message:"请填写百度文本审核SecretKey"}],baiduTextApiKey:[{required:!0,trigger:"blur",message:"请填写百度文本审核APIKey"}]}),_=b();async function m(){const o=await y.queryConfig({keys:["baiduTextStatus","baiduTextSecretKey","baiduTextApiKey"]});Object.assign(l,o.data)}function T(){var o;(o=_.value)==null||o.validate(async a=>{if(a){try{await y.setConfig({settings:S(l)}),x.success("变更配置信息成功")}catch{}m()}else x.error("请填写完整信息")})}function S(o){return Object.keys(o).map(a=>({configKey:a,configVal:o[a]}))}return U(()=>{m()}),(o,a)=>{const p=N,v=$,V=C,w=n("el-switch"),A=n("el-tooltip"),u=n("el-form-item"),s=n("el-col"),c=n("el-row"),f=n("el-input"),h=n("el-form"),k=n("el-card");return j(),I("div",null,[e(V,null,{title:t(()=>[E]),content:t(()=>[H]),default:t(()=>[e(v,{outline:"",onClick:T},{default:t(()=>[e(p,{name:"i-ri:file-text-line"}),d(" 保存设置 ")]),_:1})]),_:1}),e(k,{style:{margin:"20px"}},{default:t(()=>[e(h,{ref_key:"formRef",ref:_,rules:K.value,model:l,"label-width":"150px"},{default:t(()=>[e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"开启此敏感词设置",prop:"baiduTextStatus"},{default:t(()=>[e(A,{content:"开启将打开敏感词检测、如果同时开启其他敏感词将会通过菜单顺序仅同时开启一个!",placement:"top","show-after":500},{default:t(()=>[e(w,{modelValue:l.baiduTextStatus,"onUpdate:modelValue":a[0]||(a[0]=i=>l.baiduTextStatus=i),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"文本审核ApiKey",prop:"baiduTextApiKey"},{default:t(()=>[e(f,{modelValue:l.baiduTextApiKey,"onUpdate:modelValue":a[1]||(a[1]=i=>l.baiduTextApiKey=i),placeholder:"请填写百度文本审核ApiKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"文本审核SecretKey",prop:"baiduTextSecretKey"},{default:t(()=>[e(f,{modelValue:l.baiduTextSecretKey,"onUpdate:modelValue":a[2]||(a[2]=i=>l.baiduTextSecretKey=i),placeholder:"请填写百度文本审核SecretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g(M);export{M as default};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as e}from"./index.vue_vue_type_script_setup_true_lang-DBlFcaHd.js";import{d as a,$ as t,r as l,b as u,Q as i,c as s,e as d,f as r,w as o,j as n,h as c,_ as f,g as p,Y as m,k as b}from"./index-BERX8Mlm.js";import{a as x}from"./config-BrbFL53_.js";const y=a({__name:"baiduSensitive",setup(a){const b=t({baiduTextStatus:"",baiduTextApiKey:"",baiduTextSecretKey:""}),y=l({baiduTextStatus:[{required:!0,trigger:"blur",message:"请选择是否启用百度文本审核"}],baiduTextSecretKey:[{required:!0,trigger:"blur",message:"请填写百度文本审核SecretKey"}],baiduTextApiKey:[{required:!0,trigger:"blur",message:"请填写百度文本审核APIKey"}]}),_=l();async function g(){const e=await x.queryConfig({keys:["baiduTextStatus","baiduTextSecretKey","baiduTextApiKey"]});Object.assign(b,e.data)}function K(){var e;null==(e=_.value)||e.validate((async e=>{if(e){try{await x.setConfig({settings:(a=b,Object.keys(a).map((e=>({configKey:e,configVal:a[e]}))))}),m.success("变更配置信息成功")}catch(t){}g()}else m.error("请填写完整信息");var a}))}return u((()=>{g()})),(a,t)=>{const l=f,u=n,m=e,x=i("el-switch"),g=i("el-tooltip"),v=i("el-form-item"),T=i("el-col"),S=i("el-row"),V=i("el-input"),h=i("el-form"),A=i("el-card");return d(),s("div",null,[r(m,null,{title:o((()=>t[3]||(t[3]=[p("div",{class:"flex items-center gap-4"},"百度文本审核参数设置",-1)]))),content:o((()=>t[4]||(t[4]=[p("div",{class:"text-sm/6"},[p("div",null,[c(" 当前百度云免费5万条可查看"),p("a",{href:"https://console.bce.baidu.com/ai/#/ai/antiporn/overview/index",target:"_blank"},"使用文档"),c(",如果百度云敏感词与自定义敏感词都配置的情况,会先检测百度云后检测自定义的敏感词。 ")])],-1)]))),default:o((()=>[r(u,{outline:"",onClick:K},{default:o((()=>[r(l,{name:"i-ri:file-text-line"}),t[5]||(t[5]=c(" 保存设置 "))])),_:1})])),_:1}),r(A,{style:{margin:"20px"}},{default:o((()=>[r(h,{ref_key:"formRef",ref:_,rules:y.value,model:b,"label-width":"150px"},{default:o((()=>[r(S,null,{default:o((()=>[r(T,{xs:24,md:20,lg:15,xl:12},{default:o((()=>[r(v,{label:"开启此敏感词设置",prop:"baiduTextStatus"},{default:o((()=>[r(g,{content:"开启将打开敏感词检测、如果同时开启其他敏感词将会通过菜单顺序仅同时开启一个!",placement:"top","show-after":500},{default:o((()=>[r(x,{modelValue:b.baiduTextStatus,"onUpdate:modelValue":t[0]||(t[0]=e=>b.baiduTextStatus=e),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])])),_:1})])),_:1})])),_:1})])),_:1}),r(S,null,{default:o((()=>[r(T,{xs:24,md:20,lg:15,xl:12},{default:o((()=>[r(v,{label:"文本审核ApiKey",prop:"baiduTextApiKey"},{default:o((()=>[r(V,{modelValue:b.baiduTextApiKey,"onUpdate:modelValue":t[1]||(t[1]=e=>b.baiduTextApiKey=e),placeholder:"请填写百度文本审核ApiKey",clearable:""},null,8,["modelValue"])])),_:1})])),_:1})])),_:1}),r(S,null,{default:o((()=>[r(T,{xs:24,md:20,lg:15,xl:12},{default:o((()=>[r(v,{label:"文本审核SecretKey",prop:"baiduTextSecretKey"},{default:o((()=>[r(V,{modelValue:b.baiduTextSecretKey,"onUpdate:modelValue":t[2]||(t[2]=e=>b.baiduTextSecretKey=e),placeholder:"请填写百度文本审核SecretKey",clearable:""},null,8,["modelValue"])])),_:1})])),_:1})])),_:1})])),_:1},8,["rules","model"])])),_:1})])}}});"function"==typeof b&&b(y);export{y as default};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as e}from"./index.vue_vue_type_script_setup_true_lang-DBlFcaHd.js";import{d as l,$ as a,r as d,b as u,Q as t,c as i,e as o,f as n,w as s,j as r,h as f,_ as c,g as p,Y as b,k as m}from"./index-BERX8Mlm.js";import{a as _}from"./config-BrbFL53_.js";const y=l({__name:"baiduStatistics",setup(l){const m=a({baiduCode:"",baiduSiteId:"",baiduToken:"",baiduApiKey:"",baiduSecretKey:"",baiduRefreshToken:""}),y=d({}),k=d();async function x(){const e=await _.queryConfig({keys:["baiduCode","baiduSiteId","baiduToken","baiduApiKey","baiduSecretKey","baiduRefreshToken"]});Object.assign(m,e.data)}function h(){var e;null==(e=k.value)||e.validate((async e=>{if(e){try{await _.setConfig({settings:(l=m,Object.keys(l).map((e=>({configKey:e,configVal:l[e]}))))}),b.success("变更配置信息成功")}catch(a){}x()}else b.error("请填写完整信息");var l}))}return u((()=>{x()})),(l,a)=>{const d=c,u=r,b=e,_=t("el-input"),x=t("el-form-item"),g=t("el-col"),V=t("el-row"),K=t("el-form"),v=t("el-card");return o(),i("div",null,[n(b,null,{title:s((()=>a[6]||(a[6]=[p("div",{class:"flex items-center gap-4"},"百度统计设置",-1)]))),content:s((()=>a[7]||(a[7]=[p("div",{class:"text-sm/6"},[p("div",null,"百度统计主要用于展示,实际的统计数据将在网站首页显示。"),p("div",null,[f(" 为获取更精确的数据分析,请参考"),p("a",{href:"https://tongji.baidu.com/api/manual/Chapter2/openapi.html",target:"_blank"},"百度统计接口说明"),f(",申请专属于您网站的 siteId 、key 以及 token 等信息。 ")]),p("div",null," 百度统计提供的是一项免费服务,如果您选择不使用这项服务,只需将相关设置项留空即可。 ")],-1)]))),default:s((()=>[n(u,{outline:"",onClick:h},{default:s((()=>[n(d,{name:"i-ri:file-text-line"}),a[8]||(a[8]=f(" 保存设置 "))])),_:1})])),_:1}),n(v,{style:{margin:"20px"}},{default:s((()=>[n(K,{ref_key:"formRef",ref:k,rules:y.value,model:m,"label-width":"120px"},{default:s((()=>[n(V,null,{default:s((()=>[n(g,{xs:24,md:20,lg:15,xl:12},{default:s((()=>[n(x,{label:"siteId",prop:"baiduSiteId"},{default:s((()=>[n(_,{modelValue:m.baiduSiteId,"onUpdate:modelValue":a[0]||(a[0]=e=>m.baiduSiteId=e),placeholder:"请填写百度site_id",clearable:""},null,8,["modelValue"])])),_:1})])),_:1})])),_:1}),n(V,null,{default:s((()=>[n(g,{xs:24,md:20,lg:15,xl:12},{default:s((()=>[n(x,{label:"ApiKey",prop:"baiduApiKey"},{default:s((()=>[n(_,{modelValue:m.baiduApiKey,"onUpdate:modelValue":a[1]||(a[1]=e=>m.baiduApiKey=e),placeholder:"请填写百度apiKey",clearable:""},null,8,["modelValue"])])),_:1})])),_:1})])),_:1}),n(V,null,{default:s((()=>[n(g,{xs:24,md:20,lg:15,xl:12},{default:s((()=>[n(x,{label:"SecretKey",prop:"baiduSecretKey"},{default:s((()=>[n(_,{modelValue:m.baiduSecretKey,"onUpdate:modelValue":a[2]||(a[2]=e=>m.baiduSecretKey=e),placeholder:"请填写百度 secretKey",clearable:""},null,8,["modelValue"])])),_:1})])),_:1})])),_:1}),n(V,null,{default:s((()=>[n(g,{xs:24,md:20,lg:15,xl:12},{default:s((()=>[n(x,{label:"AccessToken",prop:"baiduToken"},{default:s((()=>[n(_,{modelValue:m.baiduToken,"onUpdate:modelValue":a[3]||(a[3]=e=>m.baiduToken=e),placeholder:"请填写百度 access_token",clearable:""},null,8,["modelValue"])])),_:1})])),_:1})])),_:1}),n(V,null,{default:s((()=>[n(g,{xs:24,md:20,lg:15,xl:12},{default:s((()=>[n(x,{label:"RefreshToken",prop:"baiduRefreshToken"},{default:s((()=>[n(_,{modelValue:m.baiduRefreshToken,"onUpdate:modelValue":a[4]||(a[4]=e=>m.baiduRefreshToken=e),placeholder:"请填写百度 refresh_token",clearable:""},null,8,["modelValue"])])),_:1})])),_:1})])),_:1}),n(V,null,{default:s((()=>[n(g,{xs:24,md:20,lg:15,xl:12},{default:s((()=>[n(x,{label:"统计代码",prop:"baiduCode"},{default:s((()=>[n(_,{modelValue:m.baiduCode,"onUpdate:modelValue":a[5]||(a[5]=e=>m.baiduCode=e),placeholder:"填写百度统计代码可统计每日访问量详情,如果没有使用用请查看详细文档!",type:"textarea",rows:12,clearable:""},null,8,["modelValue"])])),_:1})])),_:1})])),_:1})])),_:1},8,["rules","model"])])),_:1})])}}});"function"==typeof m&&m(y);export{y as default};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as I,m as w,r as b,a as A,p as s,g as R,c as U,b as e,w as l,h as m,e as f,G as y,j,_ as B,k}from"./index-6QRvoxq4.js";import{a as g}from"./config-DBls5jtO.js";const N=f("div",{class:"flex items-center gap-4"},"百度统计设置",-1),$=f("div",{class:"text-sm/6"},[f("div",null,"百度统计主要用于展示,实际的统计数据将在网站首页显示。"),f("div",null,[m(" 为获取更精确的数据分析,请参考"),f("a",{href:"https://tongji.baidu.com/api/manual/Chapter2/openapi.html",target:"_blank"},"百度统计接口说明"),m(",申请专属于您网站的 siteId 、key 以及 token 等信息。 ")]),f("div",null," 百度统计提供的是一项免费服务,如果您选择不使用这项服务,只需将相关设置项留空即可。 ")],-1),q=I({__name:"baiduStatistics",setup(E){const o=w({baiduCode:"",baiduSiteId:"",baiduToken:"",baiduApiKey:"",baiduSecretKey:"",baiduRefreshToken:""}),x=b({}),c=b();async function p(){const d=await g.queryConfig({keys:["baiduCode","baiduSiteId","baiduToken","baiduApiKey","baiduSecretKey","baiduRefreshToken"]});Object.assign(o,d.data)}function V(){var d;(d=c.value)==null||d.validate(async a=>{if(a){try{await g.setConfig({settings:K(o)}),y.success("变更配置信息成功")}catch{}p()}else y.error("请填写完整信息")})}function K(d){return Object.keys(d).map(a=>({configKey:a,configVal:d[a]}))}return A(()=>{p()}),(d,a)=>{const _=j,C=B,S=v,n=s("el-input"),u=s("el-form-item"),i=s("el-col"),r=s("el-row"),h=s("el-form"),T=s("el-card");return R(),U("div",null,[e(S,null,{title:l(()=>[N]),content:l(()=>[$]),default:l(()=>[e(C,{outline:"",onClick:V},{default:l(()=>[e(_,{name:"i-ri:file-text-line"}),m(" 保存设置 ")]),_:1})]),_:1}),e(T,{style:{margin:"20px"}},{default:l(()=>[e(h,{ref_key:"formRef",ref:c,rules:x.value,model:o,"label-width":"120px"},{default:l(()=>[e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"siteId",prop:"baiduSiteId"},{default:l(()=>[e(n,{modelValue:o.baiduSiteId,"onUpdate:modelValue":a[0]||(a[0]=t=>o.baiduSiteId=t),placeholder:"请填写百度site_id",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"ApiKey",prop:"baiduApiKey"},{default:l(()=>[e(n,{modelValue:o.baiduApiKey,"onUpdate:modelValue":a[1]||(a[1]=t=>o.baiduApiKey=t),placeholder:"请填写百度apiKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SecretKey",prop:"baiduSecretKey"},{default:l(()=>[e(n,{modelValue:o.baiduSecretKey,"onUpdate:modelValue":a[2]||(a[2]=t=>o.baiduSecretKey=t),placeholder:"请填写百度 secretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"AccessToken",prop:"baiduToken"},{default:l(()=>[e(n,{modelValue:o.baiduToken,"onUpdate:modelValue":a[3]||(a[3]=t=>o.baiduToken=t),placeholder:"请填写百度 access_token",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"RefreshToken",prop:"baiduRefreshToken"},{default:l(()=>[e(n,{modelValue:o.baiduRefreshToken,"onUpdate:modelValue":a[4]||(a[4]=t=>o.baiduRefreshToken=t),placeholder:"请填写百度 refresh_token",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"统计代码",prop:"baiduCode"},{default:l(()=>[e(n,{modelValue:o.baiduCode,"onUpdate:modelValue":a[5]||(a[5]=t=>o.baiduCode=t),placeholder:"填写百度统计代码可统计每日访问量详情,如果没有使用用请查看详细文档!",type:"textarea",rows:12,clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof k=="function"&&k(q);export{q as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
var f="><+-.,[]".split("");const r={name:"brainfuck",startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(i,n){if(i.eatSpace())return null;i.sol()&&(n.commentLine=!1);var e=i.next().toString();if(f.indexOf(e)!==-1){if(n.commentLine===!0)return i.eol()&&(n.commentLine=!1),"comment";if(e==="]"||e==="[")return e==="["?n.left++:n.right++,"bracket";if(e==="+"||e==="-")return"keyword";if(e==="<"||e===">")return"atom";if(e==="."||e===",")return"def"}else return n.commentLine=!0,i.eol()&&(n.commentLine=!1),"comment";i.eol()&&(n.commentLine=!1)}};export{r as brainfuck};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
var e="><+-.,[]".split("");const t={name:"brainfuck",startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(t,n){if(t.eatSpace())return null;t.sol()&&(n.commentLine=!1);var o=t.next().toString();return-1===e.indexOf(o)?(n.commentLine=!0,t.eol()&&(n.commentLine=!1),"comment"):!0===n.commentLine?(t.eol()&&(n.commentLine=!1),"comment"):"]"===o||"["===o?("["===o?n.left++:n.right++,"bracket"):"+"===o||"-"===o?"keyword":"<"===o||">"===o?"atom":"."===o||","===o?"def":void(t.eol()&&(n.commentLine=!1))}};export{t as brainfuck};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{I as t}from"./index-6QRvoxq4.js";const l={queryChatAll:a=>t.get("chatLog/chatAll",{params:a}),queryDrawAll:a=>t.get("chatLog/drawAll",{params:a}),recDrawImg:a=>t.post("chatLog/recDrawImg",a)};export{l as A};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
.prompt,.answer{width:100%;max-height:40px;overflow:hidden;text-overflow:ellipsis;white-space:normal;cursor:pointer}.answer_container{max-height:500px;overflow:overlay}.details-container{padding:10px}.detail-content{max-height:400px;overflow:auto;padding:10px;border:1px solid #ebeef5;border-radius:4px;background-color:#f9f9f9}.media-links{margin-bottom:15px}.tool-calls,.plugin-param{max-height:400px;overflow:auto;padding:10px;background-color:#f5f7fa;border-radius:4px;font-family:monospace;white-space:pre-wrap}.markdown-body{font-size:14px;line-height:1.6}.markdown-body img{max-width:100%}.markdown-body pre{background-color:#f6f8fa;border-radius:3px;padding:16px;overflow:auto}.markdown-body code{background-color:rgba(27,31,35,.05);border-radius:3px;padding:.2em .4em;font-family:monospace}

File diff suppressed because one or more lines are too long

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as N,r as d,m as $,a as j,p as n,q as P,g as c,c as C,b as t,w as o,F as O,s as G,i,v as J,x as Q,h as u,y as W,z as T,t as _,e as h,K as X,k as A}from"./index-6QRvoxq4.js";import{A as Z}from"./chat-Cul6apvD.js";import{u as E}from"./utcformatTime-Bq4gDWNx.js";import{m as g}from"./marked.esm-8ZxQ78w7.js";const ee=h("div",{class:"flex items-center gap-4"},"对话记录",-1),te={class:"answer"},oe=["innerHTML"],ae=N({__name:"chat",setup(ne){const V=new g.Renderer;g.setOptions({renderer:V,gfm:!0,pedantic:!1});const m=d(!1),v=d(),b=d(),y=d(0),l=$({userId:"",prompt:"",page:1,size:10}),k=d([]);async function p(){m.value=!0;try{const r=await Z.queryChatAll(l);m.value=!1;const{rows:a,count:f}=r.data;y.value=f,k.value=a}catch{m.value=!1}}async function U(r){const a=await X.queryAllUser({size:30,username:r});v.value=a.data.rows}function D(r){r==null||r.resetFields(),p()}return j(()=>{p()}),(r,a)=>{const f=H,I=n("el-option"),M=n("el-select"),w=n("el-form-item"),L=n("el-input"),z=n("el-button"),S=n("el-form"),x=F,s=n("el-table-column"),q=n("el-popover"),B=n("el-table"),K=n("el-pagination"),R=n("el-row"),Y=P("loading");return c(),C("div",null,[t(f,null,{title:o(()=>[ee]),_:1}),t(x,null,{default:o(()=>[t(S,{ref_key:"formRef",ref:b,inline:!0,model:l},{default:o(()=>[t(w,{label:"用户名称",prop:"userId"},{default:o(()=>[t(M,{modelValue:l.userId,"onUpdate:modelValue":a[0]||(a[0]=e=>l.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":U,style:{width:"160px"}},{default:o(()=>[(c(!0),C(O,null,G(i(v),e=>(c(),T(I,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(w,{label:"用户询问的问题",prop:"prompt"},{default:o(()=>[t(L,{modelValue:l.prompt,"onUpdate:modelValue":a[1]||(a[1]=e=>l.prompt=e),placeholder:"提问问题[模糊搜索]",onKeydown:J(Q(p,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),t(w,null,{default:o(()=>[t(z,{type:"primary",onClick:p},{default:o(()=>[u(" 查询 ")]),_:1}),t(z,{onClick:a[2]||(a[2]=e=>D(i(b)))},{default:o(()=>[u(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(x,{style:{width:"100%"}},{default:o(()=>[W((c(),T(B,{border:"",data:i(k),style:{width:"100%"},size:"large","tooltip-options":{}},{default:o(()=>[t(s,{fixed:"",prop:"username",label:"用户名称",width:"150"}),t(s,{prop:"createdAt",label:"角色",width:"80"},{default:o(e=>[u(_(e.row.role==="user"?"用户":"电脑"),1)]),_:1}),t(s,{prop:"email",label:"用户邮箱",width:"200"}),t(s,{prop:"answer",label:"用户询问/AI回复",width:"400"},{default:o(e=>[t(q,{placement:"top",width:"450",trigger:"click"},{reference:o(()=>[h("div",te,_(e.row.role==="user"?e.row.prompt:e.row.answer),1)]),default:o(()=>[h("div",{class:"answer_container",innerHTML:i(g)(e.row.role==="user"?e.row.prompt:e.row.answer||"")},null,8,oe)]),_:2},1024)]),_:1}),t(s,{prop:"completionTokens",label:"提问/回答Token",width:"140",align:"center"},{default:o(e=>[u(_(e.row.role==="user"?e.row.promptTokens:e.row.completionTokens),1)]),_:1}),t(s,{prop:"totalTokens",label:"总计Token",width:"110",align:"center"}),t(s,{prop:"model",label:"模型",width:"200"}),t(s,{prop:"createdAt",label:"提问时间",width:"200"},{default:o(e=>[u(_(i(E)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[Y,i(m)]]),t(R,{class:"mt-5 flex justify-end"},{default:o(()=>[t(K,{"current-page":l.page,"onUpdate:currentPage":a[3]||(a[3]=e=>l.page=e),"page-size":l.size,"onUpdate:pageSize":a[4]||(a[4]=e=>l.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:i(y),onSizeChange:p,onCurrentChange:p},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof A=="function"&&A(ae);export{ae as default};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as P}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as j,m as B,r as N,n as q,a as A,p as n,g as R,c as $,b as e,w as t,h as c,e as s,i as g,G as y,j as E,_ as H,k as b}from"./index-6QRvoxq4.js";import{a as x}from"./config-DBls5jtO.js";const I=s("div",{class:"flex items-center gap-4"},"Chevereto图床设置",-1),M=s("div",{class:"text-sm/6"},[s("div",null,[c(" 详细搭建及配置请参考 "),s("a",{href:"https://v4-docs.chevereto.com/developer/api/api-v1.html",target:"_blank"},"Chevereto图床文档"),c(" 。如果同时开启多个存储服务,腾讯云、阿里云优先级高于 Chevereto 图床。 ")])],-1),O={class:"flex justify-between"},G=s("b",null,"chevereto图床参数设置",-1),T=j({__name:"chevereto",setup(z){const l=B({cheveretoStatus:"",cheveretoUploadPath:"",cheveretoKey:""}),_=N();async function m(){const a=await x.queryConfig({keys:["cheveretoKey","cheveretoUploadPath","cheveretoStatus"]});Object.assign(l,a.data)}function p(){var a;(a=_.value)==null||a.validate(async o=>{if(o){try{await x.setConfig({settings:w(l)}),y.success("变更配置信息成功")}catch{}m()}else y.error("请填写完整信息")})}function w(a){return Object.keys(a).map(o=>({configKey:o,configVal:a[o]}))}const f=q(()=>[{required:Number(l.cheveretoStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return A(()=>{m()}),(a,o)=>{const h=E,V=H,C=P,k=n("el-button"),U=n("el-switch"),u=n("el-form-item"),d=n("el-col"),i=n("el-row"),v=n("el-input"),K=n("el-form"),S=n("el-card");return R(),$("div",null,[e(C,null,{title:t(()=>[I]),content:t(()=>[M]),default:t(()=>[e(V,{outline:"",onClick:p},{default:t(()=>[e(h,{name:"i-ri:file-text-line"}),c(" 保存设置 ")]),_:1})]),_:1}),e(S,{style:{margin:"20px"}},{header:t(()=>[s("div",O,[G,e(k,{class:"button",text:"",onClick:p},{default:t(()=>[c(" 保存设置 ")]),_:1})])]),default:t(()=>[e(K,{ref_key:"formRef",ref:_,model:l,"label-width":"100px"},{default:t(()=>[e(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"服务启用状态",prop:"cheveretoStatus"},{default:t(()=>[e(U,{modelValue:l.cheveretoStatus,"onUpdate:modelValue":o[0]||(o[0]=r=>l.cheveretoStatus=r),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"上传地址",prop:"cheveretoUploadPath",rules:g(f)},{default:t(()=>[e(v,{modelValue:l.cheveretoUploadPath,"onUpdate:modelValue":o[1]||(o[1]=r=>l.cheveretoUploadPath=r),placeholder:"请填写您的图床上传地址",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"ApiKey",prop:"cheveretoKey",rules:g(f)},{default:t(()=>[e(v,{modelValue:l.cheveretoKey,"onUpdate:modelValue":o[2]||(o[2]=r=>l.cheveretoKey=r),placeholder:"请填写ApiKey",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof b=="function"&&b(T);export{T as default};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as e}from"./index.vue_vue_type_script_setup_true_lang-DBlFcaHd.js";import{d as l,$ as t,r as a,P as o,b as s,Q as r,c as u,e as c,f as d,w as n,j as i,h as f,_ as p,g as v,i as h,Y as m,k as _}from"./index-BERX8Mlm.js";import{a as y}from"./config-BrbFL53_.js";const g={class:"flex justify-between"},x=l({__name:"chevereto",setup(l){const _=t({cheveretoStatus:"",cheveretoUploadPath:"",cheveretoKey:""}),x=a();async function b(){const e=await y.queryConfig({keys:["cheveretoKey","cheveretoUploadPath","cheveretoStatus"]});Object.assign(_,e.data)}function w(){var e;null==(e=x.value)||e.validate((async e=>{if(e){try{await y.setConfig({settings:(l=_,Object.keys(l).map((e=>({configKey:e,configVal:l[e]}))))}),m.success("变更配置信息成功")}catch(t){}b()}else m.error("请填写完整信息");var l}))}const S=o((()=>[{required:1===Number(_.cheveretoStatus),message:"开启配置后请填写此项",trigger:"change"}]));return s((()=>{b()})),(l,t)=>{const a=p,o=i,s=e,m=r("el-button"),y=r("el-switch"),b=r("el-form-item"),V=r("el-col"),K=r("el-row"),U=r("el-input"),j=r("el-form"),k=r("el-card");return c(),u("div",null,[d(s,null,{title:n((()=>t[3]||(t[3]=[v("div",{class:"flex items-center gap-4"},"Chevereto图床设置",-1)]))),content:n((()=>t[4]||(t[4]=[v("div",{class:"text-sm/6"},[v("div",null,[f(" 详细搭建及配置请参考 "),v("a",{href:"https://v4-docs.chevereto.com/developer/api/api-v1.html",target:"_blank"},"Chevereto图床文档"),f(" 。如果同时开启多个存储服务,服务优先级:本地存储 > S3存储 > 腾讯云COS > 阿里云OSS。 ")])],-1)]))),default:n((()=>[d(o,{outline:"",onClick:w},{default:n((()=>[d(a,{name:"i-ri:file-text-line"}),t[5]||(t[5]=f(" 保存设置 "))])),_:1})])),_:1}),d(k,{style:{margin:"20px"}},{header:n((()=>[v("div",g,[t[7]||(t[7]=v("b",null,"chevereto图床参数设置",-1)),d(m,{class:"button",text:"",onClick:w},{default:n((()=>t[6]||(t[6]=[f(" 保存设置 ")]))),_:1})])])),default:n((()=>[d(j,{ref_key:"formRef",ref:x,model:_,"label-width":"100px"},{default:n((()=>[d(K,null,{default:n((()=>[d(V,{xs:24,md:20,lg:15,xl:12},{default:n((()=>[d(b,{label:"服务启用状态",prop:"cheveretoStatus"},{default:n((()=>[d(y,{modelValue:_.cheveretoStatus,"onUpdate:modelValue":t[0]||(t[0]=e=>_.cheveretoStatus=e),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])])),_:1})])),_:1})])),_:1}),d(K,null,{default:n((()=>[d(V,{xs:24,md:20,lg:15,xl:12},{default:n((()=>[d(b,{label:"上传地址",prop:"cheveretoUploadPath",rules:h(S)},{default:n((()=>[d(U,{modelValue:_.cheveretoUploadPath,"onUpdate:modelValue":t[1]||(t[1]=e=>_.cheveretoUploadPath=e),placeholder:"请填写您的图床上传地址",clearable:""},null,8,["modelValue"])])),_:1},8,["rules"])])),_:1})])),_:1}),d(K,null,{default:n((()=>[d(V,{xs:24,md:20,lg:15,xl:12},{default:n((()=>[d(b,{label:"ApiKey",prop:"cheveretoKey",rules:h(S)},{default:n((()=>[d(U,{modelValue:_.cheveretoKey,"onUpdate:modelValue":t[2]||(t[2]=e=>_.cheveretoKey=e),placeholder:"请填写ApiKey",clearable:"",type:"password","show-password":""},null,8,["modelValue"])])),_:1},8,["rules"])])),_:1})])),_:1})])),_:1},8,["model"])])),_:1})])}}});"function"==typeof _&&_(x);export{x as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
var c=/({)?[a-zA-Z0-9_]+(})?/;function t(n,i){for(var e,r,u=!1;!n.eol()&&(e=n.next())!=i.pending;){if(e==="$"&&r!="\\"&&i.pending=='"'){u=!0;break}r=e}return u&&n.backUp(1),e==i.pending?i.continueString=!1:i.continueString=!0,"string"}function f(n,i){var e=n.next();return e==="$"?n.match(c)?"variableName.special":"variable":i.continueString?(n.backUp(1),t(n,i)):n.match(/(\s+)?\w+\(/)||n.match(/(\s+)?\w+\ \(/)?(n.backUp(1),"def"):e=="#"?(n.skipToEnd(),"comment"):e=="'"||e=='"'?(i.pending=e,t(n,i)):e=="("||e==")"?"bracket":e.match(/[0-9]/)?"number":(n.eatWhile(/[\w-]/),null)}const a={name:"cmake",startState:function(){var n={};return n.inDefinition=!1,n.inInclude=!1,n.continueString=!1,n.pending=!1,n},token:function(n,i){return n.eatSpace()?null:f(n,i)}};export{a as cmake};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
var n=/({)?[a-zA-Z0-9_]+(})?/;function e(n,e){for(var t,i,a=!1;!n.eol()&&(t=n.next())!=e.pending;){if("$"===t&&"\\"!=i&&'"'==e.pending){a=!0;break}i=t}return a&&n.backUp(1),t==e.pending?e.continueString=!1:e.continueString=!0,"string"}const t={name:"cmake",startState:function(){var n={inDefinition:!1,inInclude:!1,continueString:!1,pending:!1};return n},token:function(t,i){return t.eatSpace()?null:function(t,i){var a=t.next();return"$"===a?t.match(n)?"variableName.special":"variable":i.continueString?(t.backUp(1),e(t,i)):t.match(/(\s+)?\w+\(/)||t.match(/(\s+)?\w+\ \(/)?(t.backUp(1),"def"):"#"==a?(t.skipToEnd(),"comment"):"'"==a||'"'==a?(i.pending=a,e(t,i)):"("==a||")"==a?"bracket":a.match(/[0-9]/)?"number":(t.eatWhile(/[\w-]/),null)}(t,i)}};export{t as cmake};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
var e="error";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var n=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,r=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,o=/^[_A-Za-z$][_A-Za-z$0-9]*/,c=/^@[_A-Za-z$][_A-Za-z$0-9]*/,i=t(["and","or","not","is","isnt","in","instanceof","typeof"]),a=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],f=t(a.concat(["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"]));a=t(a);var p=/^('{3}|\"{3}|['\"])/,s=/^(\/{3}|\/)/,u=t(["Infinity","NaN","undefined","null","true","false","on","off","yes","no"]);function l(t,a){if(t.sol()){null===a.scope.align&&(a.scope.align=!1);var l=a.scope.offset;if(t.eatSpace()){var h=t.indentation();return h>l&&"coffee"==a.scope.type?"indent":h<l?"dedent":null}l>0&&v(t,a)}if(t.eatSpace())return null;var k=t.peek();if(t.match("####"))return t.skipToEnd(),"comment";if(t.match("###"))return a.tokenize=m,a.tokenize(t,a);if("#"===k)return t.skipToEnd(),"comment";if(t.match(/^-?[0-9\.]/,!1)){var g=!1;if(t.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(g=!0),t.match(/^-?\d+\.\d*/)&&(g=!0),t.match(/^-?\.\d+/)&&(g=!0),g)return"."==t.peek()&&t.backUp(1),"number";var y=!1;if(t.match(/^-?0x[0-9a-f]+/i)&&(y=!0),t.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(y=!0),t.match(/^-?0(?![\dx])/i)&&(y=!0),y)return"number"}if(t.match(p))return a.tokenize=d(t.current(),!1,"string"),a.tokenize(t,a);if(t.match(s)){if("/"!=t.current()||t.match(/^.*\//,!1))return a.tokenize=d(t.current(),!0,"string.special"),a.tokenize(t,a);t.backUp(1)}return t.match(n)||t.match(i)?"operator":t.match(r)?"punctuation":t.match(u)?"atom":t.match(c)||a.prop&&t.match(o)?"property":t.match(f)?"keyword":t.match(o)?"variable":(t.next(),e)}function d(e,t,n){return function(r,o){for(;!r.eol();)if(r.eatWhile(/[^'"\/\\]/),r.eat("\\")){if(r.next(),t&&r.eol())return n}else{if(r.match(e))return o.tokenize=l,n;r.eat(/['"\/]/)}return t&&(o.tokenize=l),n}}function m(e,t){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){t.tokenize=l;break}e.eatWhile("#")}return"comment"}function h(e,t,n="coffee"){for(var r=0,o=!1,c=null,i=t.scope;i;i=i.prev)if("coffee"===i.type||"}"==i.type){r=i.offset+e.indentUnit;break}"coffee"!==n?(o=null,c=e.column()+e.current().length):t.scope.align&&(t.scope.align=!1),t.scope={offset:r,type:n,prev:t.scope,align:o,alignOffset:c}}function v(e,t){if(t.scope.prev){if("coffee"===t.scope.type){for(var n=e.indentation(),r=!1,o=t.scope;o;o=o.prev)if(n===o.offset){r=!0;break}if(!r)return!0;for(;t.scope.prev&&t.scope.offset!==n;)t.scope=t.scope.prev;return!1}return t.scope=t.scope.prev,!1}}const k={name:"coffeescript",startState:function(){return{tokenize:l,scope:{offset:0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(t,n){var r=null===n.scope.align&&n.scope;r&&t.sol()&&(r.align=!1);var o=function(t,n){var r=n.tokenize(t,n),o=t.current();"return"===o&&(n.dedent=!0),(("->"===o||"=>"===o)&&t.eol()||"indent"===r)&&h(t,n);var c="[({".indexOf(o);if(-1!==c&&h(t,n,"])}".slice(c,c+1)),a.exec(o)&&h(t,n),"then"==o&&v(t,n),"dedent"===r&&v(t,n))return e;if(-1!==(c="])}".indexOf(o))){for(;"coffee"==n.scope.type&&n.scope.prev;)n.scope=n.scope.prev;n.scope.type==o&&(n.scope=n.scope.prev)}return n.dedent&&t.eol()&&("coffee"==n.scope.type&&n.scope.prev&&(n.scope=n.scope.prev),n.dedent=!1),"indent"==r||"dedent"==r?null:r}(t,n);return o&&"comment"!=o&&(r&&(r.align=!0),n.prop="punctuation"==o&&"."==t.current()),o},indent:function(e,t){if(e.tokenize!=l)return 0;var n=e.scope,r=t&&"])}".indexOf(t.charAt(0))>-1;if(r)for(;"coffee"==n.type&&n.prev;)n=n.prev;var o=r&&n.type===t.charAt(0);return n.align?n.alignOffset-(o?1:0):(o?n.prev:n).offset},languageData:{commentTokens:{line:"#"}}};export{k as coffeeScript};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
var k="error";function p(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var g=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,y=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,h=/^[_A-Za-z$][_A-Za-z$0-9]*/,w=/^@[_A-Za-z$][_A-Za-z$0-9]*/,z=p(["and","or","not","is","isnt","in","instanceof","typeof"]),l=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],a=["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"],x=p(l.concat(a));l=p(l);var b=/^('{3}|\"{3}|['\"])/,A=/^(\/{3}|\/)/,S=["Infinity","NaN","undefined","null","true","false","on","off","yes","no"],O=p(S);function u(e,n){if(e.sol()){n.scope.align===null&&(n.scope.align=!1);var i=n.scope.offset;if(e.eatSpace()){var f=e.indentation();return f>i&&n.scope.type=="coffee"?"indent":f<i?"dedent":null}else i>0&&v(e,n)}if(e.eatSpace())return null;var r=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return n.tokenize=R,n.tokenize(e,n);if(r==="#")return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var c=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(c=!0),e.match(/^-?\d+\.\d*/)&&(c=!0),e.match(/^-?\.\d+/)&&(c=!0),c)return e.peek()=="."&&e.backUp(1),"number";var o=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(o=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(o=!0),e.match(/^-?0(?![\dx])/i)&&(o=!0),o)return"number"}if(e.match(b))return n.tokenize=t(e.current(),!1,"string"),n.tokenize(e,n);if(e.match(A)){if(e.current()!="/"||e.match(/^.*\//,!1))return n.tokenize=t(e.current(),!0,"string.special"),n.tokenize(e,n);e.backUp(1)}return e.match(g)||e.match(z)?"operator":e.match(y)?"punctuation":e.match(O)?"atom":e.match(w)||n.prop&&e.match(h)?"property":e.match(x)?"keyword":e.match(h)?"variable":(e.next(),k)}function t(e,n,i){return function(f,r){for(;!f.eol();)if(f.eatWhile(/[^'"\/\\]/),f.eat("\\")){if(f.next(),n&&f.eol())return i}else{if(f.match(e))return r.tokenize=u,i;f.eat(/['"\/]/)}return n&&(r.tokenize=u),i}}function R(e,n){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){n.tokenize=u;break}e.eatWhile("#")}return"comment"}function d(e,n,i="coffee"){for(var f=0,r=!1,c=null,o=n.scope;o;o=o.prev)if(o.type==="coffee"||o.type=="}"){f=o.offset+e.indentUnit;break}i!=="coffee"?(r=null,c=e.column()+e.current().length):n.scope.align&&(n.scope.align=!1),n.scope={offset:f,type:i,prev:n.scope,align:r,alignOffset:c}}function v(e,n){if(n.scope.prev)if(n.scope.type==="coffee"){for(var i=e.indentation(),f=!1,r=n.scope;r;r=r.prev)if(i===r.offset){f=!0;break}if(!f)return!0;for(;n.scope.prev&&n.scope.offset!==i;)n.scope=n.scope.prev;return!1}else return n.scope=n.scope.prev,!1}function E(e,n){var i=n.tokenize(e,n),f=e.current();f==="return"&&(n.dedent=!0),((f==="->"||f==="=>")&&e.eol()||i==="indent")&&d(e,n);var r="[({".indexOf(f);if(r!==-1&&d(e,n,"])}".slice(r,r+1)),l.exec(f)&&d(e,n),f=="then"&&v(e,n),i==="dedent"&&v(e,n))return k;if(r="])}".indexOf(f),r!==-1){for(;n.scope.type=="coffee"&&n.scope.prev;)n.scope=n.scope.prev;n.scope.type==f&&(n.scope=n.scope.prev)}return n.dedent&&e.eol()&&(n.scope.type=="coffee"&&n.scope.prev&&(n.scope=n.scope.prev),n.dedent=!1),i=="indent"||i=="dedent"?null:i}const Z={name:"coffeescript",startState:function(){return{tokenize:u,scope:{offset:0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,n){var i=n.scope.align===null&&n.scope;i&&e.sol()&&(i.align=!1);var f=E(e,n);return f&&f!="comment"&&(i&&(i.align=!0),n.prop=f=="punctuation"&&e.current()=="."),f},indent:function(e,n){if(e.tokenize!=u)return 0;var i=e.scope,f=n&&"])}".indexOf(n.charAt(0))>-1;if(f)for(;i.type=="coffee"&&i.prev;)i=i.prev;var r=f&&i.type===n.charAt(0);return i.align?i.alignOffset-(r?1:0):(r?i.prev:i).offset},languageData:{commentTokens:{line:"#"}}};export{Z as coffeeScript};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
var u=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,c=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,f=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,d=/[^\s'`,@()\[\]";]/,l;function i(e){for(var n;n=e.next();)if(n=="\\")e.next();else if(!d.test(n)){e.backUp(1);break}return e.current()}function o(e,n){if(e.eatSpace())return l="ws",null;if(e.match(f))return"number";var t=e.next();if(t=="\\"&&(t=e.next()),t=='"')return(n.tokenize=p)(e,n);if(t=="(")return l="open","bracket";if(t==")"||t=="]")return l="close","bracket";if(t==";")return e.skipToEnd(),l="ws","comment";if(/['`,@]/.test(t))return null;if(t=="|")return e.skipTo("|")?(e.next(),"variableName"):(e.skipToEnd(),"error");if(t=="#"){var t=e.next();return t=="("?(l="open","bracket"):/[+\-=\.']/.test(t)||/\d/.test(t)&&e.match(/^\d*#/)?null:t=="|"?(n.tokenize=x)(e,n):t==":"?(i(e),"meta"):t=="\\"?(e.next(),i(e),"string.special"):"error"}else{var r=i(e);return r=="."?null:(l="symbol",r=="nil"||r=="t"||r.charAt(0)==":"?"atom":n.lastType=="open"&&(u.test(r)||c.test(r))?"keyword":r.charAt(0)=="&"?"variableName.special":"variableName")}}function p(e,n){for(var t=!1,r;r=e.next();){if(r=='"'&&!t){n.tokenize=o;break}t=!t&&r=="\\"}return"string"}function x(e,n){for(var t,r;t=e.next();){if(t=="#"&&r=="|"){n.tokenize=o;break}r=t}return l="ws","comment"}const s={name:"commonlisp",startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:o}},token:function(e,n){e.sol()&&typeof n.ctx.indentTo!="number"&&(n.ctx.indentTo=n.ctx.start+1),l=null;var t=n.tokenize(e,n);return l!="ws"&&(n.ctx.indentTo==null?l=="symbol"&&c.test(e.current())?n.ctx.indentTo=n.ctx.start+e.indentUnit:n.ctx.indentTo="next":n.ctx.indentTo=="next"&&(n.ctx.indentTo=e.column()),n.lastType=l),l=="open"?n.ctx={prev:n.ctx,start:e.column(),indentTo:null}:l=="close"&&(n.ctx=n.ctx.prev||n.ctx),t},indent:function(e){var n=e.ctx.indentTo;return typeof n=="number"?n:e.ctx.start+1},languageData:{commentTokens:{line:";;",block:{open:"#|",close:"|#"}},closeBrackets:{brackets:["(","[","{",'"']}}};export{s as commonLisp};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
var t,e=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,n=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,r=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,o=/[^\s'`,@()\[\]";]/;function a(t){for(var e;e=t.next();)if("\\"==e)t.next();else if(!o.test(e)){t.backUp(1);break}return t.current()}function l(o,l){if(o.eatSpace())return t="ws",null;if(o.match(r))return"number";var u;if("\\"==(u=o.next())&&(u=o.next()),'"'==u)return(l.tokenize=c)(o,l);if("("==u)return t="open","bracket";if(")"==u)return t="close","bracket";if(";"==u)return o.skipToEnd(),t="ws","comment";if(/['`,@]/.test(u))return null;if("|"==u)return o.skipTo("|")?(o.next(),"variableName"):(o.skipToEnd(),"error");if("#"==u)return"("==(u=o.next())?(t="open","bracket"):/[+\-=\.']/.test(u)||/\d/.test(u)&&o.match(/^\d*#/)?null:"|"==u?(l.tokenize=i)(o,l):":"==u?(a(o),"meta"):"\\"==u?(o.next(),a(o),"string.special"):"error";var s=a(o);return"."==s?null:(t="symbol","nil"==s||"t"==s||":"==s.charAt(0)?"atom":"open"==l.lastType&&(e.test(s)||n.test(s))?"keyword":"&"==s.charAt(0)?"variableName.special":"variableName")}function c(t,e){for(var n,r=!1;n=t.next();){if('"'==n&&!r){e.tokenize=l;break}r=!r&&"\\"==n}return"string"}function i(e,n){for(var r,o;r=e.next();){if("#"==r&&"|"==o){n.tokenize=l;break}o=r}return t="ws","comment"}const u={name:"commonlisp",startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:l}},token:function(e,r){e.sol()&&"number"!=typeof r.ctx.indentTo&&(r.ctx.indentTo=r.ctx.start+1),t=null;var o=r.tokenize(e,r);return"ws"!=t&&(null==r.ctx.indentTo?"symbol"==t&&n.test(e.current())?r.ctx.indentTo=r.ctx.start+e.indentUnit:r.ctx.indentTo="next":"next"==r.ctx.indentTo&&(r.ctx.indentTo=e.column()),r.lastType=t),"open"==t?r.ctx={prev:r.ctx,start:e.column(),indentTo:null}:"close"==t&&(r.ctx=r.ctx.prev||r.ctx),o},indent:function(t){var e=t.ctx.indentTo;return"number"==typeof e?e:t.ctx.start+1},languageData:{commentTokens:{line:";;",block:{open:"#|",close:"|#"}},closeBrackets:{brackets:["(","[","{",'"']}}};export{u as commonLisp};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{ac as o}from"./index-BERX8Mlm.js";const e={queryAllConfig:()=>o.get("config/queryAll"),queryConfig:e=>o.post("config/query",e),setConfig:e=>o.post("config/set",e)};export{e as a};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{I as i}from"./index-6QRvoxq4.js";const f={queryAllConfig:()=>i.get("config/queryAll"),queryConfig:o=>i.post("config/query",o),setConfig:o=>i.post("config/set",o)};export{f as a};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as e}from"./index.vue_vue_type_script_setup_true_lang-mQp5T4Ar.js";import{_ as a}from"./index.vue_vue_type_script_setup_true_lang-DBlFcaHd.js";import{d as l,a as t,r as s,$ as o,b as u,Q as n,a1 as d,c as i,e as r,f as c,a5 as f,w as m,j as p,h as v,_,g as w,i as y,ak as g,a3 as k,a4 as V,a2 as h,V as x,W as b,t as C,ab as W,Y as j,a9 as B,k as U}from"./index-BERX8Mlm.js";import{A as z}from"./badWords-FUVqvqZb.js";const K={class:"dialog-footer"},R=l({__name:"custom",setup(l){t();const U=s(),R=s(0),q=s(!1),A=s(!1),F=s(""),I=s(!1),N=o({word:"",status:"",page:1,size:500}),Q=s();async function Y(){try{q.value=!0;const e=await z.queryBadWords(N),{rows:a,count:l}=e.data;q.value=!1,R.value=l,Q.value=a}catch(e){q.value=!1}}u((()=>{Y()}));const $=s(""),D=s(!1),E=s();function G(){D.value=!0,B((()=>{E.value.input.focus()}))}async function H(){$.value&&(await z.addBadWords({word:$.value}),j.success("添加敏感词成功"),N.status="",await Y()),D.value=!1,$.value=""}async function J(){if(F.value.trim())try{I.value=!0;const e=F.value.split(/[\s\n]+/).filter((e=>e.trim()));if(e.length>1e3)return j.warning("单次最多添加1000个敏感词"),void(I.value=!1);if(0===e.length)return j.warning("请输入有效的敏感词"),void(I.value=!1);for(const a of e)a.trim()&&await z.addBadWords({word:a.trim()});j.success("批量添加成功"),A.value=!1,F.value="",N.status="",await Y()}catch(e){j.error("批量添加失败")}finally{I.value=!1}else j.warning("请输入敏感词")}return(l,t)=>{const s=_,o=p,u=a,B=n("el-form-item"),R=n("el-button"),L=n("el-form"),M=e,O=n("el-tag"),P=n("el-dialog"),S=d("loading");return r(),i("div",null,[c(u,null,{title:m((()=>t[7]||(t[7]=[w("div",{class:"flex items-center gap-4"},"自定义敏感词",-1)]))),default:m((()=>[c(o,{outline:"",onClick:t[0]||(t[0]=e=>A.value=!0)},{default:m((()=>[c(s,{name:"i-ri:file-text-line"}),t[8]||(t[8]=v(" 批量添加 "))])),_:1})])),_:1}),c(M,null,{default:m((()=>[c(L,{ref_key:"formRef",ref:U,inline:!0,model:N},{default:m((()=>[c(B,{label:"敏感词",prop:"word"},{default:m((()=>[c(y(g),{modelValue:N.word,"onUpdate:modelValue":t[1]||(t[1]=e=>N.word=e),placeholder:"敏感词[模糊搜索]",onKeydown:k(V(Y,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])])),_:1}),c(B,null,{default:m((()=>[c(R,{type:"primary",onClick:Y},{default:m((()=>t[9]||(t[9]=[v(" 查询 ")]))),_:1}),c(R,{onClick:t[2]||(t[2]=e=>{return null==(a=y(U))||a.resetFields(),void Y();var a})},{default:m((()=>t[10]||(t[10]=[v(" 重置 ")]))),_:1})])),_:1})])),_:1},8,["model"])])),_:1}),f((r(),h(M,{style:{width:"100%"}},{default:m((()=>[(r(!0),i(x,null,b(y(Q),(e=>(r(),h(O,{key:e.id,type:"warning",class:"mb-3 mr-3",closable:"",hit:"","disable-transitions":!0,onClose:a=>async function(e){await z.delBadWords({id:e}),j.success("删除敏感词成功"),await Y()}(e.id)},{default:m((()=>[v(C(e.word),1)])),_:2},1032,["onClose"])))),128)),y(D)?(r(),h(y(g),{key:0,ref_key:"InputRef",ref:E,modelValue:y($),"onUpdate:modelValue":t[3]||(t[3]=e=>W($)?$.value=e:null),class:"ml-1",style:{width:"80px"},size:"small",onKeyup:k(H,["enter"]),onBlur:H},null,8,["modelValue"])):(r(),h(R,{key:1,class:"ml-1",size:"small",onClick:G},{default:m((()=>t[11]||(t[11]=[v(" + New Word ")]))),_:1}))])),_:1})),[[S,y(q)]]),c(P,{modelValue:y(A),"onUpdate:modelValue":t[6]||(t[6]=e=>W(A)?A.value=e:null),title:"批量添加敏感词",width:"500px","close-on-click-modal":!1},{footer:m((()=>[w("span",K,[c(R,{onClick:t[5]||(t[5]=e=>A.value=!1)},{default:m((()=>t[12]||(t[12]=[v("取消")]))),_:1}),c(R,{type:"primary",loading:y(I),onClick:J},{default:m((()=>t[13]||(t[13]=[v(" 确认添加 ")]))),_:1},8,["loading"])])])),default:m((()=>[c(L,null,{default:m((()=>[c(B,null,{default:m((()=>[c(y(g),{modelValue:y(F),"onUpdate:modelValue":t[4]||(t[4]=e=>W(F)?F.value=e:null),type:"textarea",rows:10,placeholder:"请输入敏感词,多个敏感词可用空格或换行分隔"},null,8,["modelValue"])])),_:1})])),_:1})])),_:1},8,["modelValue"])])}}});"function"==typeof U&&U(R);export{R as default};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as M,u as O,r as u,m as P,a as G,p as c,q as H,g as s,c as b,b as l,w as t,i as n,T as C,v as I,x as j,F as W,s as N,h as m,y as J,z as f,D as Q,e as X,E as Y,G as R,t as Z,k as S}from"./index-6QRvoxq4.js";import{A as g}from"./badWords-D2Yy-NCt.js";import{E as ee}from"./index-BE-LteFu.js";const te=X("div",{class:"flex items-center gap-4"},"自定义敏感词",-1),ae=M({__name:"custom",setup(le){O();const k=u(),T=u(0),p=u(!1),r=P({word:"",status:"",page:1,size:500}),V=u();async function i(){try{p.value=!0;const o=await g.queryBadWords(r),{rows:a,count:v}=o.data;p.value=!1,T.value=v,V.value=a}catch{p.value=!1}}function D(o){o==null||o.resetFields(),i()}G(()=>{i()});const d=u(""),_=u(!1),B=u();async function z(o){await g.delBadWords({id:o}),R.success("删除敏感词成功"),await i()}function A(){_.value=!0,Y(()=>{B.value.input.focus()})}async function h(){d.value&&(await g.addBadWords({word:d.value}),R.success("添加敏感词成功"),r.status="",await i()),_.value=!1,d.value=""}return(o,a)=>{const v=F,w=c("el-form-item"),K=c("el-option"),L=c("el-select"),y=c("el-button"),U=c("el-form"),x=E,$=c("el-tag"),q=H("loading");return s(),b("div",null,[l(v,null,{title:t(()=>[te]),_:1}),l(x,null,{default:t(()=>[l(U,{ref_key:"formRef",ref:k,inline:!0,model:r},{default:t(()=>[l(w,{label:"敏感词",prop:"word"},{default:t(()=>[l(n(C),{modelValue:r.word,"onUpdate:modelValue":a[0]||(a[0]=e=>r.word=e),placeholder:"敏感词[模糊搜索]",onKeydown:I(j(i,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),l(w,{label:"敏感词状态",prop:"status"},{default:t(()=>[l(L,{modelValue:r.status,"onUpdate:modelValue":a[1]||(a[1]=e=>r.status=e),placeholder:"请选择敏感词状态",clearable:"",style:{width:"160px"}},{default:t(()=>[(s(!0),b(W,null,N(n(ee),e=>(s(),f(K,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(w,null,{default:t(()=>[l(y,{type:"primary",onClick:i},{default:t(()=>[m(" 查询 ")]),_:1}),l(y,{onClick:a[2]||(a[2]=e=>D(n(k)))},{default:t(()=>[m(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),J((s(),f(x,{style:{width:"100%"}},{default:t(()=>[(s(!0),b(W,null,N(n(V),e=>(s(),f($,{key:e.id,type:"warning",class:"mb-3 mr-3",closable:"",hit:"","disable-transitions":!0,onClose:oe=>z(e.id)},{default:t(()=>[m(Z(e.word),1)]),_:2},1032,["onClose"]))),128)),n(_)?(s(),f(n(C),{key:0,ref_key:"InputRef",ref:B,modelValue:n(d),"onUpdate:modelValue":a[3]||(a[3]=e=>Q(d)?d.value=e:null),class:"ml-1",style:{width:"80px"},size:"small",onKeyup:I(h,["enter"]),onBlur:h},null,8,["modelValue"])):(s(),f(y,{key:1,class:"ml-1",size:"small",onClick:A},{default:t(()=>[m(" + New Word ")]),_:1}))]),_:1})),[[q,n(p)]])])}}});typeof S=="function"&&S(ae);export{ae as default};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
var l=function(n){return new RegExp("^(?:"+n.join("|")+")$","i")},p=function(n){i=null;var e=n.next();if(e==='"')return n.match(/^.*?"/),"string";if(e==="'")return n.match(/^.*?'/),"string";if(/[{}\(\),\.;\[\]]/.test(e))return i=e,"punctuation";if(e==="/"&&n.eat("/"))return n.skipToEnd(),"comment";if(u.test(e))return n.eatWhile(u),null;if(n.eatWhile(/[_\w\d]/),n.eat(":"))return n.eatWhile(/[\w\d_\-]/),"atom";var t=n.current();return d.test(t)?"builtin":f.test(t)?"def":h.test(t)||x.test(t)?"keyword":"variable"},o=function(n,e,t){return n.context={prev:n.context,indent:n.indent,col:t,type:e}},c=function(n){return n.indent=n.context.indent,n.context=n.context.prev},i,d=l(["abs","acos","allShortestPaths","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endnode","exp","extract","filter","floor","haversin","head","id","keys","labels","last","left","length","log","log10","lower","ltrim","max","min","node","nodes","percentileCont","percentileDisc","pi","radians","rand","range","reduce","rel","relationship","relationships","replace","reverse","right","round","rtrim","shortestPath","sign","sin","size","split","sqrt","startnode","stdev","stdevp","str","substring","sum","tail","tan","timestamp","toFloat","toInt","toString","trim","type","upper"]),f=l(["all","and","any","contains","exists","has","in","none","not","or","single","xor"]),h=l(["as","asc","ascending","assert","by","case","commit","constraint","create","csv","cypher","delete","desc","descending","detach","distinct","drop","else","end","ends","explain","false","fieldterminator","foreach","from","headers","in","index","is","join","limit","load","match","merge","null","on","optional","order","periodic","profile","remove","return","scan","set","skip","start","starts","then","true","union","unique","unwind","using","when","where","with","call","yield"]),x=l(["access","active","assign","all","alter","as","catalog","change","copy","create","constraint","constraints","current","database","databases","dbms","default","deny","drop","element","elements","exists","from","grant","graph","graphs","if","index","indexes","label","labels","management","match","name","names","new","node","nodes","not","of","on","or","password","populated","privileges","property","read","relationship","relationships","remove","replace","required","revoke","role","roles","set","show","start","status","stop","suspended","to","traverse","type","types","user","users","with","write"]),u=/[*+\-<>=&|~%^]/;const g={name:"cypher",startState:function(){return{tokenize:p,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!=="comment"&&e.context&&e.context.align==null&&e.context.type!=="pattern"&&(e.context.align=!0),i==="(")o(e,")",n.column());else if(i==="[")o(e,"]",n.column());else if(i==="{")o(e,"}",n.column());else if(/[\]\}\)]/.test(i)){for(;e.context&&e.context.type==="pattern";)c(e);e.context&&i===e.context.type&&c(e)}else i==="."&&e.context&&e.context.type==="pattern"?c(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?o(e,"pattern",n.column()):e.context.type==="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e,t){var a=e&&e.charAt(0),r=n.context;if(/[\]\}]/.test(a))for(;r&&r.type==="pattern";)r=r.prev;var s=r&&a===r.type;return r?r.type==="keywords"?null:r.align?r.col+(s?0:1):r.indent+(s?0:t.unit):0}};export{g as cypher};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
var e,t=function(e){return new RegExp("^(?:"+e.join("|")+")$","i")},n=function(t){e=null;var n=t.next();if('"'===n)return t.match(/^.*?"/),"string";if("'"===n)return t.match(/^.*?'/),"string";if(/[{}\(\),\.;\[\]]/.test(n))return e=n,"punctuation";if("/"===n&&t.eat("/"))return t.skipToEnd(),"comment";if(c.test(n))return t.eatWhile(c),null;if(t.eatWhile(/[_\w\d]/),t.eat(":"))return t.eatWhile(/[\w\d_\-]/),"atom";var r=t.current();return o.test(r)?"builtin":i.test(r)?"def":s.test(r)||l.test(r)?"keyword":"variable"},r=function(e,t,n){return e.context={prev:e.context,indent:e.indent,col:n,type:t}},a=function(e){return e.indent=e.context.indent,e.context=e.context.prev},o=t(["abs","acos","allShortestPaths","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endnode","exp","extract","filter","floor","haversin","head","id","keys","labels","last","left","length","log","log10","lower","ltrim","max","min","node","nodes","percentileCont","percentileDisc","pi","radians","rand","range","reduce","rel","relationship","relationships","replace","reverse","right","round","rtrim","shortestPath","sign","sin","size","split","sqrt","startnode","stdev","stdevp","str","substring","sum","tail","tan","timestamp","toFloat","toInt","toString","trim","type","upper"]),i=t(["all","and","any","contains","exists","has","in","none","not","or","single","xor"]),s=t(["as","asc","ascending","assert","by","case","commit","constraint","create","csv","cypher","delete","desc","descending","detach","distinct","drop","else","end","ends","explain","false","fieldterminator","foreach","from","headers","in","index","is","join","limit","load","match","merge","null","on","optional","order","periodic","profile","remove","return","scan","set","skip","start","starts","then","true","union","unique","unwind","using","when","where","with","call","yield"]),l=t(["access","active","assign","all","alter","as","catalog","change","copy","create","constraint","constraints","current","database","databases","dbms","default","deny","drop","element","elements","exists","from","grant","graph","graphs","if","index","indexes","label","labels","management","match","name","names","new","node","nodes","not","of","on","or","password","populated","privileges","property","read","relationship","relationships","remove","replace","required","revoke","role","roles","set","show","start","status","stop","suspended","to","traverse","type","types","user","users","with","write"]),c=/[*+\-<>=&|~%^]/;const d={name:"cypher",startState:function(){return{tokenize:n,context:null,indent:0,col:0}},token:function(t,n){if(t.sol()&&(n.context&&null==n.context.align&&(n.context.align=!1),n.indent=t.indentation()),t.eatSpace())return null;var o=n.tokenize(t,n);if("comment"!==o&&n.context&&null==n.context.align&&"pattern"!==n.context.type&&(n.context.align=!0),"("===e)r(n,")",t.column());else if("["===e)r(n,"]",t.column());else if("{"===e)r(n,"}",t.column());else if(/[\]\}\)]/.test(e)){for(;n.context&&"pattern"===n.context.type;)a(n);n.context&&e===n.context.type&&a(n)}else"."===e&&n.context&&"pattern"===n.context.type?a(n):/atom|string|variable/.test(o)&&n.context&&(/[\}\]]/.test(n.context.type)?r(n,"pattern",t.column()):"pattern"!==n.context.type||n.context.align||(n.context.align=!0,n.context.col=t.column()));return o},indent:function(e,t,n){var r=t&&t.charAt(0),a=e.context;if(/[\]\}]/.test(r))for(;a&&"pattern"===a.type;)a=a.prev;var o=a&&r===a.type;return a?"keywords"===a.type?null:a.align?a.col+(o?0:1):a.indent+(o?0:n.unit):0}};export{d as cypher};

View File

@@ -0,0 +1,8 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
function e(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}var t="body catch class do else enum for foreach foreach_reverse if in interface mixin out scope struct switch try union unittest version while with";const n={keywords:e("abstract alias align asm assert auto break case cast cdouble cent cfloat const continue debug default delegate delete deprecated export extern final finally function goto immutable import inout invariant is lazy macro module new nothrow override package pragma private protected public pure ref return shared short static super synchronized template this throw typedef typeid typeof volatile __FILE__ __LINE__ __gshared __traits __vector __parameters "+t),blockKeywords:e(t),builtin:e("bool byte char creal dchar double float idouble ifloat int ireal long real short ubyte ucent uint ulong ushort wchar wstring void size_t sizediff_t"),atoms:e("exit failure success true false null"),hooks:{"@":function(e,t){return e.eatWhile(/[\w\$_]/),"meta"}}};var r,i=n.statementIndentUnit,o=n.keywords,a=n.builtin,l=n.blockKeywords,u=n.atoms,s=n.hooks,c=n.multiLineStrings,f=/[+\-*&%=<>!?|\/]/;function d(e,t){var n,i=e.next();if(s[i]){var d=s[i](e,t);if(!1!==d)return d}if('"'==i||"'"==i||"`"==i)return t.tokenize=(n=i,function(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==n&&!i){o=!0;break}i=!i&&"\\"==r}return(o||!i&&!c)&&(t.tokenize=null),"string"}),t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(i))return r=i,null;if(/\d/.test(i))return e.eatWhile(/[\w\.]/),"number";if("/"==i){if(e.eat("+"))return t.tokenize=p,p(e,t);if(e.eat("*"))return t.tokenize=m,m(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(f.test(i))return e.eatWhile(f),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var y=e.current();return o.propertyIsEnumerable(y)?(l.propertyIsEnumerable(y)&&(r="newstatement"),"keyword"):a.propertyIsEnumerable(y)?(l.propertyIsEnumerable(y)&&(r="newstatement"),"builtin"):u.propertyIsEnumerable(y)?"atom":"variable"}function m(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function p(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="+"==n}return"comment"}function y(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function h(e,t,n){var r=e.indented;return e.context&&"statement"==e.context.type&&(r=e.context.indented),e.context=new y(r,t,n,null,e.context)}function b(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}const k={name:"d",startState:function(e){return{tokenize:null,context:new y(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;r=null;var i=(t.tokenize||d)(e,t);if("comment"==i||"meta"==i)return i;if(null==n.align&&(n.align=!0),";"!=r&&":"!=r&&","!=r||"statement"!=n.type)if("{"==r)h(t,e.column(),"}");else if("["==r)h(t,e.column(),"]");else if("("==r)h(t,e.column(),")");else if("}"==r){for(;"statement"==n.type;)n=b(t);for("}"==n.type&&(n=b(t));"statement"==n.type;)n=b(t)}else r==n.type?b(t):(("}"==n.type||"top"==n.type)&&";"!=r||"statement"==n.type&&"newstatement"==r)&&h(t,e.column(),"statement");else b(t);return t.startOfLine=!1,i},indent:function(e,t,n){if(e.tokenize!=d&&null!=e.tokenize)return null;var r=e.context,o=t&&t.charAt(0);"statement"==r.type&&"}"==o&&(r=r.prev);var a=o==r.type;return"statement"==r.type?r.indented+("{"==o?0:i||n.unit):r.align?r.column+(a?0:1):r.indented+(a?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}};export{k as d};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
function c(e){for(var n={},t=e.split(" "),i=0;i<t.length;++i)n[t[i]]=!0;return n}var s="body catch class do else enum for foreach foreach_reverse if in interface mixin out scope struct switch try union unittest version while with";const l={keywords:c("abstract alias align asm assert auto break case cast cdouble cent cfloat const continue debug default delegate delete deprecated export extern final finally function goto immutable import inout invariant is lazy macro module new nothrow override package pragma private protected public pure ref return shared short static super synchronized template this throw typedef typeid typeof volatile __FILE__ __LINE__ __gshared __traits __vector __parameters "+s),blockKeywords:c(s),builtin:c("bool byte char creal dchar double float idouble ifloat int ireal long real short ubyte ucent uint ulong ushort wchar wstring void size_t sizediff_t"),atoms:c("exit failure success true false null"),hooks:{"@":function(e,n){return e.eatWhile(/[\w\$_]/),"meta"}}};var w=l.statementIndentUnit,v=l.keywords,x=l.builtin,d=l.blockKeywords,g=l.atoms,p=l.hooks,_=l.multiLineStrings,h=/[+\-*&%=<>!?|\/]/,o;function m(e,n){var t=e.next();if(p[t]){var i=p[t](e,n);if(i!==!1)return i}if(t=='"'||t=="'"||t=="`")return n.tokenize=z(t),n.tokenize(e,n);if(/[\[\]{}\(\),;\:\.]/.test(t))return o=t,null;if(/\d/.test(t))return e.eatWhile(/[\w\.]/),"number";if(t=="/"){if(e.eat("+"))return n.tokenize=k,k(e,n);if(e.eat("*"))return n.tokenize=y,y(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(h.test(t))return e.eatWhile(h),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current();return v.propertyIsEnumerable(r)?(d.propertyIsEnumerable(r)&&(o="newstatement"),"keyword"):x.propertyIsEnumerable(r)?(d.propertyIsEnumerable(r)&&(o="newstatement"),"builtin"):g.propertyIsEnumerable(r)?"atom":"variable"}function z(e){return function(n,t){for(var i=!1,r,u=!1;(r=n.next())!=null;){if(r==e&&!i){u=!0;break}i=!i&&r=="\\"}return(u||!(i||_))&&(t.tokenize=null),"string"}}function y(e,n){for(var t=!1,i;i=e.next();){if(i=="/"&&t){n.tokenize=null;break}t=i=="*"}return"comment"}function k(e,n){for(var t=!1,i;i=e.next();){if(i=="/"&&t){n.tokenize=null;break}t=i=="+"}return"comment"}function b(e,n,t,i,r){this.indented=e,this.column=n,this.type=t,this.align=i,this.prev=r}function f(e,n,t){var i=e.indented;return e.context&&e.context.type=="statement"&&(i=e.context.indented),e.context=new b(i,n,t,null,e.context)}function a(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}const E={name:"d",startState:function(e){return{tokenize:null,context:new b(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;o=null;var i=(n.tokenize||m)(e,n);if(i=="comment"||i=="meta")return i;if(t.align==null&&(t.align=!0),(o==";"||o==":"||o==",")&&t.type=="statement")a(n);else if(o=="{")f(n,e.column(),"}");else if(o=="[")f(n,e.column(),"]");else if(o=="(")f(n,e.column(),")");else if(o=="}"){for(;t.type=="statement";)t=a(n);for(t.type=="}"&&(t=a(n));t.type=="statement";)t=a(n)}else o==t.type?a(n):((t.type=="}"||t.type=="top")&&o!=";"||t.type=="statement"&&o=="newstatement")&&f(n,e.column(),"statement");return n.startOfLine=!1,i},indent:function(e,n,t){if(e.tokenize!=m&&e.tokenize!=null)return null;var i=e.context,r=n&&n.charAt(0);i.type=="statement"&&r=="}"&&(i=i.prev);var u=r==i.type;return i.type=="statement"?i.indented+(r=="{"?0:w||t.unit):i.align?i.column+(u?0:1):i.indented+(u?0:t.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}};export{E as d};

View File

@@ -1,8 +0,0 @@
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
*/
var o={"+":"inserted","-":"deleted","@":"meta"};const r={name:"diff",token:function(n){var e=n.string.search(/[\t ]+?$/);if(!n.sol()||e===0)return n.skipToEnd(),("error "+(o[n.string.charAt(0)]||"")).replace(/ $/,"");var i=o[n.peek()]||n.skipToEnd();return e===-1?n.skipToEnd():n.pos=e,i}};export{r as diff};

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