ss-component-new 1.1.113 → 1.1.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{array-DyxKeexo.js → array-B1nKYchL.js} +269 -266
- package/dist/array-Bv_j-DQ6.cjs +7 -0
- package/dist/cloneDeep-BkHxCZQ6.cjs +1 -0
- package/dist/{cloneDeep-BfzU0pBe.js → cloneDeep-DDG2sYfV.js} +2 -8
- package/dist/{index-BTt24r3U.cjs → index-B2YxsOFS.cjs} +1 -1
- package/dist/{index-CVBCwf2F.cjs → index-B9CeiT-K.cjs} +1 -1
- package/dist/{index-COPrDtid.js → index-BDQh7_bN.js} +1 -1
- package/dist/index-BKH3emIo.js +400 -0
- package/dist/{index-CbphQpiC.cjs → index-BOMVVmWM.cjs} +1 -1
- package/dist/index-BZEbgud2.cjs +6 -0
- package/dist/index-BeUperzd.cjs +1 -0
- package/dist/index-BgZXex98.js +199 -0
- package/dist/{index-BH3F6_ql.js → index-BrXeR-w4.js} +1025 -1121
- package/dist/{index-DWiZqfBA.js → index-Bx4Vzo3K.js} +3 -3
- package/dist/{index-5dGTUAu_.cjs → index-ByH4hihL.cjs} +1 -1
- package/dist/{index-CyQkKXnK.js → index-C1474J4s.js} +2 -2
- package/dist/{index-DVEWSdUo.cjs → index-CfR4fhRH.cjs} +1 -1
- package/dist/index-CosMCnZD.js +456 -0
- package/dist/{index-CBHJLZo4.cjs → index-DGEVn6kJ.cjs} +1 -1
- package/dist/index-DHZKgJQ-.cjs +1 -0
- package/dist/{index-b_11tfuG.js → index-DbEFJXIu.js} +4 -4
- package/dist/{index-CdEEK8I0.js → index-DcJXJfJq.js} +68 -69
- package/dist/{index-B3iQoZwc.js → index-DmZPczSP.js} +3 -3
- package/dist/{index-QWm4yJ7u.js → index-FuXHUCO7.js} +2 -2
- package/dist/index-PctLLbfg.cjs +1 -0
- package/dist/{index-DxyREQkR.js → index-RTJn4TlV.js} +5 -5
- package/dist/{index-BpJeYb4X.js → index-RUWVqYLT.js} +1 -1
- package/dist/{index-ChXKNVG8.cjs → index-fstYT4Ji.cjs} +1 -1
- package/dist/{index-EQOXj03f.cjs → index-pKfoDOT3.cjs} +1 -1
- package/dist/{index-CqJa9o1o.cjs → index-tXx4uqsB.cjs} +1 -1
- package/dist/{index-B4WYIlOz.cjs → index-xFolZMqB.cjs} +1 -1
- package/dist/{index-DLartnmY.js → index-x_myaReY.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-CqiRIG3B.js → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-Bwb6U8rC.js} +22 -22
- package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-CgrtbAG0.cjs → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-CF3B2HoM.cjs} +1 -1
- package/dist/{main-DS-YP1Wn.cjs → main-BhZ-c5nF.cjs} +1 -1
- package/dist/{main-DAPxADXM.js → main-CaHX_enG.js} +4 -4
- package/dist/{request-BrHEv9dn.cjs → request-CNnOyEMG.cjs} +1 -1
- package/dist/{request-BK6KCyS9.js → request-_jH8DsLJ.js} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +6 -6
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +1 -1
- package/package.json +1 -1
- package/dist/array-BYRvPg11.cjs +0 -7
- package/dist/cloneDeep-WwDap0fL.cjs +0 -1
- package/dist/index-BIRKKGuW.cjs +0 -1
- package/dist/index-BUxzwz5l.cjs +0 -1
- package/dist/index-CumtOgAw.cjs +0 -7
- package/dist/index-DmoecEm1.js +0 -205
- package/dist/index-EIbm0jBZ.js +0 -2707
- package/dist/index-smYHb1Ta.js +0 -456
- package/dist/index-uMboxmjq.cjs +0 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./request-
|
|
1
|
+
"use strict";const e=require("./request-CNnOyEMG.cjs");function a(t){return e.service({url:"/api/insofData/add",method:"post",data:t})}function i(t){return e.service({url:"/api/insofData/get",method:"post",data:t})}function n(t){return e.service({url:"/api/insofData/update",method:"post",data:t})}function o(t){return e.service({url:"/api/insofData/delete",method:"post",data:t})}exports.createInsofDataApi=a;exports.deleteInsofDataApi=o;exports.getInsofDataApi=i;exports.updateInsofDataApi=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-CF3B2HoM.cjs"),e=require("vue"),c=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");function l(n,i,a,p,_,M){const t=e.resolveComponent("DynamicIcon"),s=e.resolveComponent("ssMenu");return e.openBlock(),e.createBlock(s,{menuList:n.renderMenuList,onClickMenu:n.clickMenu,onOpenMenu:n.openMenu,onCloseMenu:n.closeMenu,onChangeMenuStyle:n.changeMenuStyle,class:"menuList-wrap"},{title:e.withCtx(({menu:o})=>[e.createVNode(t,{name:o.icon??""},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(o.title??""),1)]),_:1},8,["menuList","onClickMenu","onOpenMenu","onCloseMenu","onChangeMenuStyle"])}const r=c._export_sfc(u._sfc_main,[["render",l],["__scopeId","data-v-bbb8ace9"]]);exports.default=r;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as Sp, onMounted as Ab, watch as vL, onUnmounted as cL, createElementBlock as Mb, openBlock as Ib, createVNode as pL } from "vue";
|
|
2
2
|
import { _ as Lb } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { c as Ki } from "./cloneDeep-
|
|
3
|
+
import { c as Ki } from "./cloneDeep-DDG2sYfV.js";
|
|
4
4
|
/*! *****************************************************************************
|
|
5
5
|
Copyright (c) Microsoft Corporation.
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineAsyncComponent as w, computed as E, onMounted as P, resolveComponent as G, createBlock as D, openBlock as C, withCtx as I, resolveDynamicComponent as N, defineComponent as W, ref as R, watch as q } from "vue";
|
|
2
|
-
import { E as z } from "./index-
|
|
2
|
+
import { E as z } from "./index-BrXeR-w4.js";
|
|
3
3
|
import { u as H, s as T } from "./menu-BIINB-0Y.js";
|
|
4
4
|
import { u as J } from "./modelComp-CHWFvhCq.js";
|
|
5
5
|
import { useRouter as K } from "vue-router";
|
|
6
|
-
import { c as f } from "./cloneDeep-
|
|
6
|
+
import { c as f } from "./cloneDeep-DDG2sYfV.js";
|
|
7
7
|
const M = w(() => import("./index-BMLnfdpX.js"));
|
|
8
8
|
M.install = (u) => {
|
|
9
9
|
u.component("ssMenu", M);
|
|
@@ -45,12 +45,12 @@ const Q = {
|
|
|
45
45
|
}), console.log("splitMenu", s), s;
|
|
46
46
|
}, A = (e, s) => {
|
|
47
47
|
const r = s, t = [];
|
|
48
|
-
e == null || e.forEach((
|
|
49
|
-
Array.isArray(
|
|
48
|
+
e == null || e.forEach((l) => {
|
|
49
|
+
Array.isArray(l) ? t.push({ children: A(l, []) }) : t.push({ title: l });
|
|
50
50
|
});
|
|
51
|
-
let n = t.reduce((
|
|
52
|
-
|
|
53
|
-
}),
|
|
51
|
+
let n = t.reduce((l, p) => (Object.entries(p).forEach(([o, i]) => {
|
|
52
|
+
l[o] === void 0 ? i != null && i.title ? l[o] = [i] : l[o] = i : (Array.isArray(l[o]) || (l[o] = [{ title: l[o] }]), i != null && i.title || Array.isArray(i) ? l[o].push(i) : l[o].push({ title: i }));
|
|
53
|
+
}), l), {});
|
|
54
54
|
return n = F(f(n)), r.push(n), Array.isArray(r) && (r == null ? void 0 : r.length) > 1 ? r : r == null ? void 0 : r[0];
|
|
55
55
|
}, F = (e) => {
|
|
56
56
|
var s, r, t;
|
|
@@ -66,21 +66,21 @@ const Q = {
|
|
|
66
66
|
var p;
|
|
67
67
|
const t = f(h.value);
|
|
68
68
|
let n = e;
|
|
69
|
-
const
|
|
70
|
-
var
|
|
71
|
-
return ((
|
|
72
|
-
})) == null ? void 0 : p.map((
|
|
73
|
-
return Array.isArray(n) || (n = [n]), n == null ? void 0 : n.map((
|
|
74
|
-
const
|
|
75
|
-
...
|
|
76
|
-
path:
|
|
69
|
+
const l = (p = t == null ? void 0 : t.filter((o) => {
|
|
70
|
+
var i;
|
|
71
|
+
return ((i = o.comp) == null ? void 0 : i.toUpperCase()) === "GROUP";
|
|
72
|
+
})) == null ? void 0 : p.map((o) => o.name);
|
|
73
|
+
return Array.isArray(n) || (n = [n]), n == null ? void 0 : n.map((o) => {
|
|
74
|
+
const i = s ? `${s}/${o.title}` : o.title, _ = {
|
|
75
|
+
...o,
|
|
76
|
+
path: i,
|
|
77
77
|
level: r,
|
|
78
78
|
icon: a[`${r}`],
|
|
79
|
-
carryData:
|
|
80
|
-
isPenultimate: !
|
|
79
|
+
carryData: l == null ? void 0 : l.includes(i),
|
|
80
|
+
isPenultimate: !o.children
|
|
81
81
|
//便于角色授权菜单那里给叶子节点添加按钮节点
|
|
82
82
|
};
|
|
83
|
-
return
|
|
83
|
+
return o.children && o.children.length > 0 && (_.children = v(o.children, i, r + 1)), _;
|
|
84
84
|
});
|
|
85
85
|
}, b = E(() => {
|
|
86
86
|
let e = v(d.value);
|
|
@@ -99,7 +99,7 @@ const Q = {
|
|
|
99
99
|
path: "/role",
|
|
100
100
|
level: 1,
|
|
101
101
|
icon: a[1],
|
|
102
|
-
carryData: !
|
|
102
|
+
carryData: !0,
|
|
103
103
|
isRouter: !0
|
|
104
104
|
},
|
|
105
105
|
{
|
|
@@ -107,7 +107,7 @@ const Q = {
|
|
|
107
107
|
path: "/user",
|
|
108
108
|
level: 1,
|
|
109
109
|
icon: a[1],
|
|
110
|
-
carryData: !
|
|
110
|
+
carryData: !0,
|
|
111
111
|
isRouter: !0
|
|
112
112
|
},
|
|
113
113
|
{
|
|
@@ -115,7 +115,7 @@ const Q = {
|
|
|
115
115
|
path: "/dept",
|
|
116
116
|
level: 1,
|
|
117
117
|
icon: a[1],
|
|
118
|
-
carryData: !
|
|
118
|
+
carryData: !0,
|
|
119
119
|
isRouter: !0
|
|
120
120
|
},
|
|
121
121
|
{
|
|
@@ -123,7 +123,7 @@ const Q = {
|
|
|
123
123
|
path: "/priority",
|
|
124
124
|
level: 1,
|
|
125
125
|
icon: a[1],
|
|
126
|
-
carryData: !
|
|
126
|
+
carryData: !0,
|
|
127
127
|
isRouter: !0
|
|
128
128
|
}
|
|
129
129
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const u=require("vue"),L=require("./index-
|
|
1
|
+
"use strict";const u=require("vue"),L=require("./index-BZEbgud2.cjs"),f=require("./menu-B_Az9K_F.cjs"),O=require("./modelComp-DY1RniW6.cjs"),$=require("vue-router"),g=require("./cloneDeep-BkHxCZQ6.cjs"),y=u.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-DzJuDGl8.cjs")));y.install=c=>{c.component("ssMenu",y)};const U={__name:"index",props:{name:String},setup(c){const d=c,p=u.computed(()=>L.ElIcons[d.name]);return u.onMounted(()=>{}),(A,v)=>{const h=u.resolveComponent("el-icon");return u.openBlock(),u.createBlock(h,null,{default:u.withCtx(()=>[(u.openBlock(),u.createBlock(u.resolveDynamicComponent(p.value)))]),_:1})}}},j=u.defineComponent({name:"menu",components:{ssMenu:y,DynamicIcon:U},setup(){const c=f.useMenuState(),d=O.useModelComp(),p=$.useRouter(),{rawMenu:A,menuTriggerType:v}=f.storeToRefs(c),{itemData:h}=f.storeToRefs(d),M=u.ref([]);let a;(e=>{e[e.Menu=0]="Menu",e[e.FolderOpened=1]="FolderOpened"})(a||(a={}));const C=e=>{let s=[],r=[];return e==null||e.forEach(t=>{s=b(t,r)}),console.log("splitMenu",s),s},b=(e,s)=>{const r=s,t=[];e==null||e.forEach(l=>{Array.isArray(l)?t.push({children:b(l,[])}):t.push({title:l})});let i=t.reduce((l,m)=>(Object.entries(m).forEach(([o,n])=>{l[o]===void 0?n!=null&&n.title?l[o]=[n]:l[o]=n:(Array.isArray(l[o])||(l[o]=[{title:l[o]}]),n!=null&&n.title||Array.isArray(n)?l[o].push(n):l[o].push({title:n}))}),l),{});return i=T(g.cloneDeep(i)),r.push(i),Array.isArray(r)&&(r==null?void 0:r.length)>1?r:r==null?void 0:r[0]},T=e=>{var s,r,t;return Array.isArray(e==null?void 0:e.title)&&((s=e==null?void 0:e.title)==null?void 0:s.length)===((t=(r=e==null?void 0:e.title)==null?void 0:r.filter(i=>i.title))==null?void 0:t.length)?e==null?void 0:e.title:Array.isArray(e==null?void 0:e.children)?q(e):e},q=e=>{var r;const s=e;return s.children=(r=s.children)==null?void 0:r.map(t=>{var i;return(i=t==null?void 0:t.title)!=null&&i.children?t==null?void 0:t.title:t}),s},D=(e,s="",r=0)=>{var m;const t=g.cloneDeep(h.value);let i=e;const l=(m=t==null?void 0:t.filter(o=>{var n;return((n=o.comp)==null?void 0:n.toUpperCase())==="GROUP"}))==null?void 0:m.map(o=>o.name);return Array.isArray(i)||(i=[i]),i==null?void 0:i.map(o=>{const n=s?`${s}/${o.title}`:o.title,R={...o,path:n,level:r,icon:a[`${r}`],carryData:l==null?void 0:l.includes(n),isPenultimate:!o.children};return o.children&&o.children.length>0&&(R.children=D(o.children,n,r+1)),R})},_=u.computed(()=>{let e=D(M.value);if((e==null?void 0:e.length)===0)return p.push("/"),[];const s=[{title:"系统管理",path:"/",level:0,icon:a[0],carryData:!1,children:[{title:"角色管理",path:"/role",level:1,icon:a[1],carryData:!0,isRouter:!0},{title:"用户管理",path:"/user",level:1,icon:a[1],carryData:!0,isRouter:!0},{title:"部门管理",path:"/dept",level:1,icon:a[1],carryData:!0,isRouter:!0},{title:"级别管控",path:"/priority",level:1,icon:a[1],carryData:!0,isRouter:!0}]}];return e=[...e,...s],console.log("renderMenuList",e),c.setMenus(e),e}),E=e=>{console.log("clickMenu",e),c.setMenuTriggerType("click"),c.setActiveMenuPath(e==null?void 0:e.path),e.isRouter?p.push(e.path):p.push("/")},P=e=>{console.log(555,e),v.value==="click"?c.setActiveMenuPath(e):c.setMenuTriggerType("click"),e!=null&&e.startsWith("/")?p.push(e):p.push("/")},S=e=>{c.setActiveMenuPath(e)},B=u.ref([{name:"--ssComponent-menu-bg",value:"#426ec4"},{name:"--ssComponent-submenu-hover-bg",value:"#00000033"},{name:"--ssComponent-submenu-open-bg",value:"#2DA0FF"},{name:"--ssComponent-submenu-open-inline-bg",value:"#1C4275"},{name:"--ssComponent-menuitem-hover-bg",value:"#1d7bef"},{name:"--ssComponent-menuitem-active-bg",value:"#1d7bef"}]),F=()=>{var s;const e=document.documentElement;(s=B.value)==null||s.forEach(r=>{e.style.setProperty(r.name,r.value)})};return u.onMounted(()=>{}),u.watch(()=>A.value,e=>{var s,r,t;if(e){const i=(t=(r=(s=g.cloneDeep(e))==null?void 0:s.compData)==null?void 0:r[0])==null?void 0:t.contents;M.value=C(i),console.log("rawMenu",_.value),console.log("menuList",M.value)}else c.setActiveMenuPath("")},{immediate:!0}),{renderMenuList:_,clickMenu:E,openMenu:P,closeMenu:S,changeMenuStyle:F}}});exports._sfc_main=j;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),O=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),O=require("./index-BOMVVmWM.cjs"),T=require("./index-BeUperzd.cjs"),U=require("./modelComp-DY1RniW6.cjs"),I=require("./menu-B_Az9K_F.cjs"),F=require("./array-Bv_j-DQ6.cjs"),X=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),h=require("./cloneDeep-BkHxCZQ6.cjs"),V=[{key:"FormName",value:"Form"},{key:"TableName",value:"Table"}],s=[{key:"FormDirect",value:"formFlex"},{key:"Form",value:"formContent"},{key:"FormButton",value:"formButton"},{key:"TableColumns",value:"header"},{key:"TableButton",value:"extraButton"},{key:"LineButton",value:"rowButton"},{key:"Table",value:"tableContents"},{key:"TableIndex",value:"tableIndex"}],ee={key:0,class:"show-content"},te={class:"item-view-group"},ne={__name:"index",props:{content:String,jsonContents:Array},emits:["change"],setup(j,{emit:E}){const t=j,D=E,g=U.useModelComp(T.pinia),{itemData:p}=I.storeToRefs(g),_=e.ref([]),C=e.ref([]),$=c=>{D("change",{wholeValue:_.value,editValue:c})},S=c=>{const k=h.cloneDeep(_.value),b=k==null?void 0:k.map((i,B)=>(B===(c==null?void 0:c.index)&&(i.compData=c==null?void 0:c.contents),i));_.value=b};e.watch(()=>p.value,()=>{var c;!p.value||((c=p.value)==null?void 0:c.length)===0||(C.value=p.value,_.value=p.value)},{deep:!0,immediate:!0}),e.watch(()=>[t==null?void 0:t.content,t==null?void 0:t.jsonContents],()=>{var k;if(((k=t==null?void 0:t.jsonContents)==null?void 0:k.length)>0){g.setOriginalData(t==null?void 0:t.jsonContents),g.setItemData(t==null?void 0:t.jsonContents);return}if(!(t!=null&&t.content)||(t==null?void 0:t.content)==="")return;const c=F.expandStringToJson(t==null?void 0:t.content);g.setOriginalData(c),g.setItemData(c)},{deep:!0,immediate:!0});const N=c=>F.getComponent(c);return(c,k)=>{var b;return((b=C.value)==null?void 0:b.length)>0?(e.openBlock(),e.createElementBlock("div",ee,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,(i,B)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:B},[e.createElementVNode("div",te,e.toDisplayString(i.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(N(i.comp)),{itemData:i==null?void 0:i.compData,childItemData:i==null?void 0:i.itemChildData,key:B,onChange:$,index:B,onContentChange:S},null,40,["itemData","childItemData","index"]))]))),128))])):e.createCommentVNode("",!0)}}},oe=X._export_sfc(ne,[["__scopeId","data-v-869e6e20"]]),ae={class:"add-model-content"},le={key:0,class:"model-import-data"},re={class:"import-button"},ce={key:0},se={key:1,class:"model-operate"},ue={class:"model-select"},ie={class:"model-fill"},de={key:2,class:"model-view ssComponent"},me={__name:"main",props:{mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0}},emits:["change"],setup(j,{emit:E}){const t=j,D=E,g=e.ref(""),p=e.ref([]),_=e.ref(0),C=U.useModelComp(T.pinia);I.useMenuState(T.pinia);const{itemData:$,originalData:S}=I.storeToRefs(C),N=e.ref(null),c=e.ref(0),k=e.ref(""),b=()=>{_.value=window.innerWidth},i=async l=>{var u;const a=(u=h.cloneDeep(l==null?void 0:l.wholeValue))==null?void 0:u.map(o=>{var y;return(o==null?void 0:o.comp)==="Form"&&(o.compData=(y=o.compData)==null?void 0:y.map(f=>((f==null?void 0:f.key)==="formContent"&&(f.contents=F.arrayToNumberArray(f==null?void 0:f.contents)),f))),o});D("change",{originalContents:S.value,currentContents:l==null?void 0:l.wholeValue,editContent:l==null?void 0:l.editValue,stringContent:B(h.cloneDeep(l==null?void 0:l.wholeValue)),arrayToContents:a})},B=l=>{var u;let a=[];return(u=h.cloneDeep(l))==null||u.forEach(o=>{var y,f;V!=null&&V.find(n=>(n==null?void 0:n.value)===(o==null?void 0:o.comp))&&a.push(((y=V==null?void 0:V.find(n=>(n==null?void 0:n.value)===(o==null?void 0:o.comp)))==null?void 0:y.key)+"="+o.name+"/r/n"),(f=o==null?void 0:o.compData)==null||f.forEach(n=>{var J,q,A,M,R,L,z,W,H,P,G,K;if(s!=null&&s.find(d=>(d==null?void 0:d.value)===(n==null?void 0:n.key)))if(!((J=n==null?void 0:n.contents)!=null&&J.length))a.push(((q=s==null?void 0:s.find(d=>(d==null?void 0:d.value)===(n==null?void 0:n.key)))==null?void 0:q.key)+"="+(n.contents===!0?'""':"Vertical")+"/r/n");else{let d=(A=n==null?void 0:n.contents)==null?void 0:A[0];if(!d)return;if(Object.keys(d).includes("label")&&Object.keys(d).includes("key")&&Object.keys(d).includes("width"))if(((R=(M=n.contents)==null?void 0:M.filter(m=>m.width!==1))==null?void 0:R.length)===0){const m=(L=h.cloneDeep(n==null?void 0:n.contents))==null?void 0:L.map(r=>({[r.label]:r.value}));a.push(((z=s==null?void 0:s.find(r=>(r==null?void 0:r.value)===(n==null?void 0:n.key)))==null?void 0:z.key)+"="+JSON.stringify(m)+"/r/n")}else{let m=[];(W=h.cloneDeep(n==null?void 0:n.contents))==null||W.reduce((r,x)=>{var Q;return r[x.label]=x.key,((Q=Object.keys(h.cloneDeep(r)))==null?void 0:Q.length)>=x.width&&(m.push(h.cloneDeep(r)),r={}),r},{}),a.push(((H=s==null?void 0:s.find(r=>(r==null?void 0:r.value)===(n==null?void 0:n.key)))==null?void 0:H.key)+"="+JSON.stringify(m)+"/r/n")}else if(Object.keys(d).includes("label")){const m=(P=h.cloneDeep(n==null?void 0:n.contents))==null?void 0:P.map(r=>r.label);a.push(((G=s==null?void 0:s.find(r=>(r==null?void 0:r.value)===(n==null?void 0:n.key)))==null?void 0:G.key)+"="+JSON.stringify(m)+"/r/n")}else a.push(((K=s==null?void 0:s.find(m=>(m==null?void 0:m.value)===(n==null?void 0:n.key)))==null?void 0:K.key)+"="+JSON.stringify(n==null?void 0:n.contents)+"/r/n")}})}),JSON.stringify(a)},w=e.ref([]),Y=()=>{N.value.click()},Z=l=>{const a=l.target.files[0];if(!a)return;const u=new FileReader;u.onload=o=>{try{g.value=o.target.result,w.value=v(o.target.result),c.value++}catch(y){console.error("解析失败:",y)}},u.onerror=o=>{console.error("文件读取错误:",o)},u.readAsText(a)};e.onMounted(()=>{window.addEventListener("resize",b)}),e.watch(()=>[t==null?void 0:t.content,t==null?void 0:t.jsonContents],()=>{g.value=t==null?void 0:t.content,p.value=t==null?void 0:t.jsonContents},{deep:!0,immediate:!0}),e.watch(()=>c.value,()=>{var l;((l=w.value)==null?void 0:l.length)!==0&&(C.setOriginalData(w.value),C.setItemData(w.value))},{deep:!0,immediate:!0});const v=l=>{let a=l.replace(/,/g,",").replace(/;/g,";").replace(/:/g,":");a=a.replace(/(\w+)\s*:/g,"$1:"),a=a.replace(/\r\n/g,"").replace(/\n/g,"").replace(/\t/g,"").replace(/\s+/g," ").trim(),a=a.replace(/,\s*([}\]])/g,"$1"),a=a.replace(/:(\s*)([^"{}\[\],\s]+)(\s*)([,}])/g,": $2$4");try{return JSON.parse(a)}catch(u){try{const y=new Function(`return ${a}`)();if(Array.isArray(y)||typeof y=="object")return y;throw new Error(`解析结果不是有效的数组或对象: ${u}`)}catch(o){throw new Error(`无法解析JSON: ${o.message}`)}}};return(l,a)=>{var u;return e.openBlock(),e.createElementBlock("div",ae,[((u=t==null?void 0:t.jsonContents)==null?void 0:u.length)===0?(e.openBlock(),e.createElementBlock("div",le,[e.createElementVNode("div",re,[e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:N,accept:".txt",onChange:Z,style:{display:"none"}},null,544),e.createElementVNode("button",{onClick:Y,class:"import-button-content"},"导入文件"),k.value?(e.openBlock(),e.createElementBlock("span",ce,e.toDisplayString(k.value),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(t==null?void 0:t.mode)==="edit"?(e.openBlock(),e.createElementBlock("div",se,[e.createElementVNode("div",ue,[e.createVNode(O.modelSelect)]),(e.openBlock(),e.createElementBlock("div",{class:"model-show",key:_.value},[e.createVNode(O.modelShow)])),e.createElementVNode("div",ie,[e.createVNode(O.modelFill)])])):e.createCommentVNode("",!0),(t==null?void 0:t.mode)==="view"?(e.openBlock(),e.createElementBlock("div",de,[(e.openBlock(),e.createBlock(oe,{content:g.value,onChange:i,jsonContents:p.value,key:_.value},null,8,["content","jsonContents"]))])):e.createCommentVNode("",!0)])}}},ye=X._export_sfc(me,[["__scopeId","data-v-b25bde75"]]);exports.default=ye;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ref as _, watch as V, createElementBlock as C, createCommentVNode as I, openBlock as f, Fragment as le, renderList as se, createElementVNode as O, createBlock as Z, toDisplayString as v, resolveDynamicComponent as ue, onMounted as ce, createVNode as A } from "vue";
|
|
2
|
-
import { m as ie, a as me, b as de } from "./index-
|
|
3
|
-
import { p as E } from "./index-
|
|
2
|
+
import { m as ie, a as me, b as de } from "./index-DbEFJXIu.js";
|
|
3
|
+
import { p as E } from "./index-CosMCnZD.js";
|
|
4
4
|
import { u as ee } from "./modelComp-CHWFvhCq.js";
|
|
5
5
|
import { s as te, u as ye } from "./menu-BIINB-0Y.js";
|
|
6
|
-
import { e as fe, g as ge, a as he } from "./array-
|
|
6
|
+
import { e as fe, g as ge, a as he } from "./array-B1nKYchL.js";
|
|
7
7
|
import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
-
import { c as k } from "./cloneDeep-
|
|
8
|
+
import { c as k } from "./cloneDeep-DDG2sYfV.js";
|
|
9
9
|
const x = [
|
|
10
10
|
{
|
|
11
11
|
key: "FormName",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const q=require("./index-5dGTUAu_.cjs");function ke(e,t){return function(){return e.apply(t,arguments)}}const{toString:ot}=Object.prototype,{getPrototypeOf:me}=Object,{iterator:Q,toStringTag:Le}=Symbol,Z=(e=>t=>{const n=ot.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),C=e=>(e=e.toLowerCase(),t=>Z(t)===e),Y=e=>t=>typeof t===e,{isArray:D}=Array,M=Y("undefined");function it(e){return e!==null&&!M(e)&&e.constructor!==null&&!M(e.constructor)&&A(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Be=C("ArrayBuffer");function at(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Be(e.buffer),t}const ct=Y("string"),A=Y("function"),De=Y("number"),ee=e=>e!==null&&typeof e=="object",lt=e=>e===!0||e===!1,J=e=>{if(Z(e)!=="object")return!1;const t=me(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Le in e)&&!(Q in e)},ut=C("Date"),ft=C("File"),dt=C("Blob"),pt=C("FileList"),ht=e=>ee(e)&&A(e.pipe),mt=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||A(e.append)&&((t=Z(e))==="formdata"||t==="object"&&A(e.toString)&&e.toString()==="[object FormData]"))},yt=C("URLSearchParams"),[wt,bt,Et,gt]=["ReadableStream","Request","Response","Headers"].map(C),Rt=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function v(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),D(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let c;for(r=0;r<o;r++)c=i[r],t.call(null,e[c],c,e)}}function je(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const F=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,qe=e=>!M(e)&&e!==F;function ae(){const{caseless:e}=qe(this)&&this||{},t={},n=(r,s)=>{const i=e&&je(t,s)||s;J(t[i])&&J(r)?t[i]=ae(t[i],r):J(r)?t[i]=ae({},r):D(r)?t[i]=r.slice():t[i]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&v(arguments[r],n);return t}const St=(e,t,n,{allOwnKeys:r}={})=>(v(t,(s,i)=>{n&&A(s)?e[i]=ke(s,n):e[i]=s},{allOwnKeys:r}),e),Ot=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Tt=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},At=(e,t,n,r)=>{let s,i,o;const c={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)o=s[i],(!r||r(o,e,t))&&!c[o]&&(t[o]=e[o],c[o]=!0);e=n!==!1&&me(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},xt=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Ct=e=>{if(!e)return null;if(D(e))return e;let t=e.length;if(!De(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Nt=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&me(Uint8Array)),Pt=(e,t)=>{const r=(e&&e[Q]).call(e);let s;for(;(s=r.next())&&!s.done;){const i=s.value;t.call(e,i[0],i[1])}},Ut=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},_t=C("HTMLFormElement"),Ft=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),ge=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),kt=C("RegExp"),Ie=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};v(n,(s,i)=>{let o;(o=t(s,i,e))!==!1&&(r[i]=o||s)}),Object.defineProperties(e,r)},Lt=e=>{Ie(e,(t,n)=>{if(A(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(A(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Bt=(e,t)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return D(e)?r(e):r(String(e).split(t)),n},Dt=()=>{},jt=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function qt(e){return!!(e&&A(e.append)&&e[Le]==="FormData"&&e[Q])}const It=e=>{const t=new Array(10),n=(r,s)=>{if(ee(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const i=D(r)?[]:{};return v(r,(o,c)=>{const f=n(o,s+1);!M(f)&&(i[c]=f)}),t[s]=void 0,i}}return r};return n(e,0)},Mt=C("AsyncFunction"),vt=e=>e&&(ee(e)||A(e))&&A(e.then)&&A(e.catch),Me=((e,t)=>e?setImmediate:t?((n,r)=>(F.addEventListener("message",({source:s,data:i})=>{s===F&&i===n&&r.length&&r.shift()()},!1),s=>{r.push(s),F.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",A(F.postMessage)),Ht=typeof queueMicrotask<"u"?queueMicrotask.bind(F):typeof process<"u"&&process.nextTick||Me,$t=e=>e!=null&&A(e[Q]),a={isArray:D,isArrayBuffer:Be,isBuffer:it,isFormData:mt,isArrayBufferView:at,isString:ct,isNumber:De,isBoolean:lt,isObject:ee,isPlainObject:J,isReadableStream:wt,isRequest:bt,isResponse:Et,isHeaders:gt,isUndefined:M,isDate:ut,isFile:ft,isBlob:dt,isRegExp:kt,isFunction:A,isStream:ht,isURLSearchParams:yt,isTypedArray:Nt,isFileList:pt,forEach:v,merge:ae,extend:St,trim:Rt,stripBOM:Ot,inherits:Tt,toFlatObject:At,kindOf:Z,kindOfTest:C,endsWith:xt,toArray:Ct,forEachEntry:Pt,matchAll:Ut,isHTMLForm:_t,hasOwnProperty:ge,hasOwnProp:ge,reduceDescriptors:Ie,freezeMethods:Lt,toObjectSet:Bt,toCamelCase:Ft,noop:Dt,toFiniteNumber:jt,findKey:je,global:F,isContextDefined:qe,isSpecCompliantForm:qt,toJSONObject:It,isAsyncFn:Mt,isThenable:vt,setImmediate:Me,asap:Ht,isIterable:$t};function m(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}a.inherits(m,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a.toJSONObject(this.config),code:this.code,status:this.status}}});const ve=m.prototype,He={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{He[e]={value:e}});Object.defineProperties(m,He);Object.defineProperty(ve,"isAxiosError",{value:!0});m.from=(e,t,n,r,s,i)=>{const o=Object.create(ve);return a.toFlatObject(e,o,function(f){return f!==Error.prototype},c=>c!=="isAxiosError"),m.call(o,e.message,t,n,r,s),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const zt=null;function ce(e){return a.isPlainObject(e)||a.isArray(e)}function $e(e){return a.endsWith(e,"[]")?e.slice(0,-2):e}function Re(e,t,n){return e?e.concat(t).map(function(s,i){return s=$e(s),!n&&i?"["+s+"]":s}).join(n?".":""):t}function Jt(e){return a.isArray(e)&&!e.some(ce)}const Kt=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function te(e,t,n){if(!a.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=a.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,h){return!a.isUndefined(h[y])});const r=n.metaTokens,s=n.visitor||l,i=n.dots,o=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(t);if(!a.isFunction(s))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(a.isDate(p))return p.toISOString();if(!f&&a.isBlob(p))throw new m("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(p)||a.isTypedArray(p)?f&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function l(p,y,h){let b=p;if(p&&!h&&typeof p=="object"){if(a.endsWith(y,"{}"))y=r?y:y.slice(0,-2),p=JSON.stringify(p);else if(a.isArray(p)&&Jt(p)||(a.isFileList(p)||a.endsWith(y,"[]"))&&(b=a.toArray(p)))return y=$e(y),b.forEach(function(S,P){!(a.isUndefined(S)||S===null)&&t.append(o===!0?Re([y],P,i):o===null?y:y+"[]",u(S))}),!1}return ce(p)?!0:(t.append(Re(h,y,i),u(p)),!1)}const d=[],w=Object.assign(Kt,{defaultVisitor:l,convertValue:u,isVisitable:ce});function g(p,y){if(!a.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+y.join("."));d.push(p),a.forEach(p,function(b,R){(!(a.isUndefined(b)||b===null)&&s.call(t,b,a.isString(R)?R.trim():R,y,w))===!0&&g(b,y?y.concat(R):[R])}),d.pop()}}if(!a.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Se(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function ye(e,t){this._pairs=[],e&&te(e,this,t)}const ze=ye.prototype;ze.append=function(t,n){this._pairs.push([t,n])};ze.toString=function(t){const n=t?function(r){return t.call(this,r,Se)}:Se;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Vt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Je(e,t,n){if(!t)return e;const r=n&&n.encode||Vt;a.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let i;if(s?i=s(t,n):i=a.isURLSearchParams(t)?t.toString():new ye(t,n).toString(r),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Oe{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){a.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ke={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Wt=typeof URLSearchParams<"u"?URLSearchParams:ye,Xt=typeof FormData<"u"?FormData:null,Gt=typeof Blob<"u"?Blob:null,Qt={isBrowser:!0,classes:{URLSearchParams:Wt,FormData:Xt,Blob:Gt},protocols:["http","https","file","blob","url","data"]},we=typeof window<"u"&&typeof document<"u",le=typeof navigator=="object"&&navigator||void 0,Zt=we&&(!le||["ReactNative","NativeScript","NS"].indexOf(le.product)<0),Yt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",en=we&&window.location.href||"http://localhost",tn=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:we,hasStandardBrowserEnv:Zt,hasStandardBrowserWebWorkerEnv:Yt,navigator:le,origin:en},Symbol.toStringTag,{value:"Module"})),O={...tn,...Qt};function nn(e,t){return te(e,new O.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,i){return O.isNode&&a.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function rn(e){return a.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function sn(e){const t={},n=Object.keys(e);let r;const s=n.length;let i;for(r=0;r<s;r++)i=n[r],t[i]=e[i];return t}function Ve(e){function t(n,r,s,i){let o=n[i++];if(o==="__proto__")return!0;const c=Number.isFinite(+o),f=i>=n.length;return o=!o&&a.isArray(s)?s.length:o,f?(a.hasOwnProp(s,o)?s[o]=[s[o],r]:s[o]=r,!c):((!s[o]||!a.isObject(s[o]))&&(s[o]=[]),t(n,r,s[o],i)&&a.isArray(s[o])&&(s[o]=sn(s[o])),!c)}if(a.isFormData(e)&&a.isFunction(e.entries)){const n={};return a.forEachEntry(e,(r,s)=>{t(rn(r),s,n,0)}),n}return null}function on(e,t,n){if(a.isString(e))try{return(t||JSON.parse)(e),a.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const H={transitional:Ke,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=a.isObject(t);if(i&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return s?JSON.stringify(Ve(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t)||a.isReadableStream(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return nn(t,this.formSerializer).toString();if((c=a.isFileList(t))||r.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return te(c?{"files[]":t}:t,f&&new f,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),on(t)):t}],transformResponse:[function(t){const n=this.transitional||H.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(r&&!this.responseType||s)){const o=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(c){if(o)throw c.name==="SyntaxError"?m.from(c,m.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:O.classes.FormData,Blob:O.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],e=>{H.headers[e]={}});const an=a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),cn=e=>{const t={};let n,r,s;return e&&e.split(`
|
|
1
|
+
"use strict";const q=require("./index-ByH4hihL.cjs");function ke(e,t){return function(){return e.apply(t,arguments)}}const{toString:ot}=Object.prototype,{getPrototypeOf:me}=Object,{iterator:Q,toStringTag:Le}=Symbol,Z=(e=>t=>{const n=ot.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),C=e=>(e=e.toLowerCase(),t=>Z(t)===e),Y=e=>t=>typeof t===e,{isArray:D}=Array,M=Y("undefined");function it(e){return e!==null&&!M(e)&&e.constructor!==null&&!M(e.constructor)&&A(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Be=C("ArrayBuffer");function at(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Be(e.buffer),t}const ct=Y("string"),A=Y("function"),De=Y("number"),ee=e=>e!==null&&typeof e=="object",lt=e=>e===!0||e===!1,J=e=>{if(Z(e)!=="object")return!1;const t=me(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Le in e)&&!(Q in e)},ut=C("Date"),ft=C("File"),dt=C("Blob"),pt=C("FileList"),ht=e=>ee(e)&&A(e.pipe),mt=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||A(e.append)&&((t=Z(e))==="formdata"||t==="object"&&A(e.toString)&&e.toString()==="[object FormData]"))},yt=C("URLSearchParams"),[wt,bt,Et,gt]=["ReadableStream","Request","Response","Headers"].map(C),Rt=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function v(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),D(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let c;for(r=0;r<o;r++)c=i[r],t.call(null,e[c],c,e)}}function je(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const F=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,qe=e=>!M(e)&&e!==F;function ae(){const{caseless:e}=qe(this)&&this||{},t={},n=(r,s)=>{const i=e&&je(t,s)||s;J(t[i])&&J(r)?t[i]=ae(t[i],r):J(r)?t[i]=ae({},r):D(r)?t[i]=r.slice():t[i]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&v(arguments[r],n);return t}const St=(e,t,n,{allOwnKeys:r}={})=>(v(t,(s,i)=>{n&&A(s)?e[i]=ke(s,n):e[i]=s},{allOwnKeys:r}),e),Ot=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Tt=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},At=(e,t,n,r)=>{let s,i,o;const c={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)o=s[i],(!r||r(o,e,t))&&!c[o]&&(t[o]=e[o],c[o]=!0);e=n!==!1&&me(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},xt=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Ct=e=>{if(!e)return null;if(D(e))return e;let t=e.length;if(!De(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Nt=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&me(Uint8Array)),Pt=(e,t)=>{const r=(e&&e[Q]).call(e);let s;for(;(s=r.next())&&!s.done;){const i=s.value;t.call(e,i[0],i[1])}},Ut=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},_t=C("HTMLFormElement"),Ft=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),ge=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),kt=C("RegExp"),Ie=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};v(n,(s,i)=>{let o;(o=t(s,i,e))!==!1&&(r[i]=o||s)}),Object.defineProperties(e,r)},Lt=e=>{Ie(e,(t,n)=>{if(A(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(A(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Bt=(e,t)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return D(e)?r(e):r(String(e).split(t)),n},Dt=()=>{},jt=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function qt(e){return!!(e&&A(e.append)&&e[Le]==="FormData"&&e[Q])}const It=e=>{const t=new Array(10),n=(r,s)=>{if(ee(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const i=D(r)?[]:{};return v(r,(o,c)=>{const f=n(o,s+1);!M(f)&&(i[c]=f)}),t[s]=void 0,i}}return r};return n(e,0)},Mt=C("AsyncFunction"),vt=e=>e&&(ee(e)||A(e))&&A(e.then)&&A(e.catch),Me=((e,t)=>e?setImmediate:t?((n,r)=>(F.addEventListener("message",({source:s,data:i})=>{s===F&&i===n&&r.length&&r.shift()()},!1),s=>{r.push(s),F.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",A(F.postMessage)),Ht=typeof queueMicrotask<"u"?queueMicrotask.bind(F):typeof process<"u"&&process.nextTick||Me,$t=e=>e!=null&&A(e[Q]),a={isArray:D,isArrayBuffer:Be,isBuffer:it,isFormData:mt,isArrayBufferView:at,isString:ct,isNumber:De,isBoolean:lt,isObject:ee,isPlainObject:J,isReadableStream:wt,isRequest:bt,isResponse:Et,isHeaders:gt,isUndefined:M,isDate:ut,isFile:ft,isBlob:dt,isRegExp:kt,isFunction:A,isStream:ht,isURLSearchParams:yt,isTypedArray:Nt,isFileList:pt,forEach:v,merge:ae,extend:St,trim:Rt,stripBOM:Ot,inherits:Tt,toFlatObject:At,kindOf:Z,kindOfTest:C,endsWith:xt,toArray:Ct,forEachEntry:Pt,matchAll:Ut,isHTMLForm:_t,hasOwnProperty:ge,hasOwnProp:ge,reduceDescriptors:Ie,freezeMethods:Lt,toObjectSet:Bt,toCamelCase:Ft,noop:Dt,toFiniteNumber:jt,findKey:je,global:F,isContextDefined:qe,isSpecCompliantForm:qt,toJSONObject:It,isAsyncFn:Mt,isThenable:vt,setImmediate:Me,asap:Ht,isIterable:$t};function m(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}a.inherits(m,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a.toJSONObject(this.config),code:this.code,status:this.status}}});const ve=m.prototype,He={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{He[e]={value:e}});Object.defineProperties(m,He);Object.defineProperty(ve,"isAxiosError",{value:!0});m.from=(e,t,n,r,s,i)=>{const o=Object.create(ve);return a.toFlatObject(e,o,function(f){return f!==Error.prototype},c=>c!=="isAxiosError"),m.call(o,e.message,t,n,r,s),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const zt=null;function ce(e){return a.isPlainObject(e)||a.isArray(e)}function $e(e){return a.endsWith(e,"[]")?e.slice(0,-2):e}function Re(e,t,n){return e?e.concat(t).map(function(s,i){return s=$e(s),!n&&i?"["+s+"]":s}).join(n?".":""):t}function Jt(e){return a.isArray(e)&&!e.some(ce)}const Kt=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function te(e,t,n){if(!a.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=a.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,h){return!a.isUndefined(h[y])});const r=n.metaTokens,s=n.visitor||l,i=n.dots,o=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(t);if(!a.isFunction(s))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(a.isDate(p))return p.toISOString();if(!f&&a.isBlob(p))throw new m("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(p)||a.isTypedArray(p)?f&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function l(p,y,h){let b=p;if(p&&!h&&typeof p=="object"){if(a.endsWith(y,"{}"))y=r?y:y.slice(0,-2),p=JSON.stringify(p);else if(a.isArray(p)&&Jt(p)||(a.isFileList(p)||a.endsWith(y,"[]"))&&(b=a.toArray(p)))return y=$e(y),b.forEach(function(S,P){!(a.isUndefined(S)||S===null)&&t.append(o===!0?Re([y],P,i):o===null?y:y+"[]",u(S))}),!1}return ce(p)?!0:(t.append(Re(h,y,i),u(p)),!1)}const d=[],w=Object.assign(Kt,{defaultVisitor:l,convertValue:u,isVisitable:ce});function g(p,y){if(!a.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+y.join("."));d.push(p),a.forEach(p,function(b,R){(!(a.isUndefined(b)||b===null)&&s.call(t,b,a.isString(R)?R.trim():R,y,w))===!0&&g(b,y?y.concat(R):[R])}),d.pop()}}if(!a.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Se(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function ye(e,t){this._pairs=[],e&&te(e,this,t)}const ze=ye.prototype;ze.append=function(t,n){this._pairs.push([t,n])};ze.toString=function(t){const n=t?function(r){return t.call(this,r,Se)}:Se;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Vt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Je(e,t,n){if(!t)return e;const r=n&&n.encode||Vt;a.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let i;if(s?i=s(t,n):i=a.isURLSearchParams(t)?t.toString():new ye(t,n).toString(r),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Oe{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){a.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ke={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Wt=typeof URLSearchParams<"u"?URLSearchParams:ye,Xt=typeof FormData<"u"?FormData:null,Gt=typeof Blob<"u"?Blob:null,Qt={isBrowser:!0,classes:{URLSearchParams:Wt,FormData:Xt,Blob:Gt},protocols:["http","https","file","blob","url","data"]},we=typeof window<"u"&&typeof document<"u",le=typeof navigator=="object"&&navigator||void 0,Zt=we&&(!le||["ReactNative","NativeScript","NS"].indexOf(le.product)<0),Yt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",en=we&&window.location.href||"http://localhost",tn=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:we,hasStandardBrowserEnv:Zt,hasStandardBrowserWebWorkerEnv:Yt,navigator:le,origin:en},Symbol.toStringTag,{value:"Module"})),O={...tn,...Qt};function nn(e,t){return te(e,new O.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,i){return O.isNode&&a.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function rn(e){return a.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function sn(e){const t={},n=Object.keys(e);let r;const s=n.length;let i;for(r=0;r<s;r++)i=n[r],t[i]=e[i];return t}function Ve(e){function t(n,r,s,i){let o=n[i++];if(o==="__proto__")return!0;const c=Number.isFinite(+o),f=i>=n.length;return o=!o&&a.isArray(s)?s.length:o,f?(a.hasOwnProp(s,o)?s[o]=[s[o],r]:s[o]=r,!c):((!s[o]||!a.isObject(s[o]))&&(s[o]=[]),t(n,r,s[o],i)&&a.isArray(s[o])&&(s[o]=sn(s[o])),!c)}if(a.isFormData(e)&&a.isFunction(e.entries)){const n={};return a.forEachEntry(e,(r,s)=>{t(rn(r),s,n,0)}),n}return null}function on(e,t,n){if(a.isString(e))try{return(t||JSON.parse)(e),a.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const H={transitional:Ke,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=a.isObject(t);if(i&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return s?JSON.stringify(Ve(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t)||a.isReadableStream(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return nn(t,this.formSerializer).toString();if((c=a.isFileList(t))||r.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return te(c?{"files[]":t}:t,f&&new f,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),on(t)):t}],transformResponse:[function(t){const n=this.transitional||H.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(r&&!this.responseType||s)){const o=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(c){if(o)throw c.name==="SyntaxError"?m.from(c,m.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:O.classes.FormData,Blob:O.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],e=>{H.headers[e]={}});const an=a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),cn=e=>{const t={};let n,r,s;return e&&e.split(`
|
|
2
2
|
`).forEach(function(o){s=o.indexOf(":"),n=o.substring(0,s).trim().toLowerCase(),r=o.substring(s+1).trim(),!(!n||t[n]&&an[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Te=Symbol("internals");function I(e){return e&&String(e).trim().toLowerCase()}function K(e){return e===!1||e==null?e:a.isArray(e)?e.map(K):String(e)}function ln(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const un=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function se(e,t,n,r,s){if(a.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!a.isString(t)){if(a.isString(r))return t.indexOf(r)!==-1;if(a.isRegExp(r))return r.test(t)}}function fn(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function dn(e,t){const n=a.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,i,o){return this[r].call(this,t,s,i,o)},configurable:!0})})}let x=class{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function i(c,f,u){const l=I(f);if(!l)throw new Error("header name must be a non-empty string");const d=a.findKey(s,l);(!d||s[d]===void 0||u===!0||u===void 0&&s[d]!==!1)&&(s[d||f]=K(c))}const o=(c,f)=>a.forEach(c,(u,l)=>i(u,l,f));if(a.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(a.isString(t)&&(t=t.trim())&&!un(t))o(cn(t),n);else if(a.isObject(t)&&a.isIterable(t)){let c={},f,u;for(const l of t){if(!a.isArray(l))throw TypeError("Object iterator must return a key-value pair");c[u=l[0]]=(f=c[u])?a.isArray(f)?[...f,l[1]]:[f,l[1]]:l[1]}o(c,n)}else t!=null&&i(n,t,r);return this}get(t,n){if(t=I(t),t){const r=a.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return ln(s);if(a.isFunction(n))return n.call(this,s,r);if(a.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=I(t),t){const r=a.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||se(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function i(o){if(o=I(o),o){const c=a.findKey(r,o);c&&(!n||se(r,r[c],c,n))&&(delete r[c],s=!0)}}return a.isArray(t)?t.forEach(i):i(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!t||se(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const n=this,r={};return a.forEach(this,(s,i)=>{const o=a.findKey(r,i);if(o){n[o]=K(s),delete n[i];return}const c=t?fn(i):String(i).trim();c!==i&&delete n[i],n[c]=K(s),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return a.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&a.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
3
3
|
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Te]=this[Te]={accessors:{}}).accessors,s=this.prototype;function i(o){const c=I(o);r[c]||(dn(s,o),r[c]=!0)}return a.isArray(t)?t.forEach(i):i(t),this}};x.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);a.reduceDescriptors(x.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});a.freezeMethods(x);function oe(e,t){const n=this||H,r=t||n,s=x.from(r.headers);let i=r.data;return a.forEach(e,function(c){i=c.call(n,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function We(e){return!!(e&&e.__CANCEL__)}function j(e,t,n){m.call(this,e??"canceled",m.ERR_CANCELED,t,n),this.name="CanceledError"}a.inherits(j,m,{__CANCEL__:!0});function Xe(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new m("Request failed with status code "+n.status,[m.ERR_BAD_REQUEST,m.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function pn(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function hn(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,i=0,o;return t=t!==void 0?t:1e3,function(f){const u=Date.now(),l=r[i];o||(o=u),n[s]=f,r[s]=u;let d=i,w=0;for(;d!==s;)w+=n[d++],d=d%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),u-o<t)return;const g=l&&u-l;return g?Math.round(w*1e3/g):void 0}}function mn(e,t){let n=0,r=1e3/t,s,i;const o=(u,l=Date.now())=>{n=l,s=null,i&&(clearTimeout(i),i=null),e.apply(null,u)};return[(...u)=>{const l=Date.now(),d=l-n;d>=r?o(u,l):(s=u,i||(i=setTimeout(()=>{i=null,o(s)},r-d)))},()=>s&&o(s)]}const W=(e,t,n=3)=>{let r=0;const s=hn(50,250);return mn(i=>{const o=i.loaded,c=i.lengthComputable?i.total:void 0,f=o-r,u=s(f),l=o<=c;r=o;const d={loaded:o,total:c,progress:c?o/c:void 0,bytes:f,rate:u||void 0,estimated:u&&c&&l?(c-o)/u:void 0,event:i,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(d)},n)},Ae=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},xe=e=>(...t)=>a.asap(()=>e(...t)),yn=O.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,O.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(O.origin),O.navigator&&/(msie|trident)/i.test(O.navigator.userAgent)):()=>!0,wn=O.hasStandardBrowserEnv?{write(e,t,n,r,s,i){const o=[e+"="+encodeURIComponent(t)];a.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),a.isString(r)&&o.push("path="+r),a.isString(s)&&o.push("domain="+s),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function bn(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function En(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ge(e,t,n){let r=!bn(t);return e&&(r||n==!1)?En(e,t):t}const Ce=e=>e instanceof x?{...e}:e;function B(e,t){t=t||{};const n={};function r(u,l,d,w){return a.isPlainObject(u)&&a.isPlainObject(l)?a.merge.call({caseless:w},u,l):a.isPlainObject(l)?a.merge({},l):a.isArray(l)?l.slice():l}function s(u,l,d,w){if(a.isUndefined(l)){if(!a.isUndefined(u))return r(void 0,u,d,w)}else return r(u,l,d,w)}function i(u,l){if(!a.isUndefined(l))return r(void 0,l)}function o(u,l){if(a.isUndefined(l)){if(!a.isUndefined(u))return r(void 0,u)}else return r(void 0,l)}function c(u,l,d){if(d in t)return r(u,l);if(d in e)return r(void 0,u)}const f={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:c,headers:(u,l,d)=>s(Ce(u),Ce(l),d,!0)};return a.forEach(Object.keys(Object.assign({},e,t)),function(l){const d=f[l]||s,w=d(e[l],t[l],l);a.isUndefined(w)&&d!==c||(n[l]=w)}),n}const Qe=e=>{const t=B({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:i,headers:o,auth:c}=t;t.headers=o=x.from(o),t.url=Je(Ge(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&o.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let f;if(a.isFormData(n)){if(O.hasStandardBrowserEnv||O.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((f=o.getContentType())!==!1){const[u,...l]=f?f.split(";").map(d=>d.trim()).filter(Boolean):[];o.setContentType([u||"multipart/form-data",...l].join("; "))}}if(O.hasStandardBrowserEnv&&(r&&a.isFunction(r)&&(r=r(t)),r||r!==!1&&yn(t.url))){const u=s&&i&&wn.read(i);u&&o.set(s,u)}return t},gn=typeof XMLHttpRequest<"u",Rn=gn&&function(e){return new Promise(function(n,r){const s=Qe(e);let i=s.data;const o=x.from(s.headers).normalize();let{responseType:c,onUploadProgress:f,onDownloadProgress:u}=s,l,d,w,g,p;function y(){g&&g(),p&&p(),s.cancelToken&&s.cancelToken.unsubscribe(l),s.signal&&s.signal.removeEventListener("abort",l)}let h=new XMLHttpRequest;h.open(s.method.toUpperCase(),s.url,!0),h.timeout=s.timeout;function b(){if(!h)return;const S=x.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),T={data:!c||c==="text"||c==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:S,config:e,request:h};Xe(function(_){n(_),y()},function(_){r(_),y()},T),h=null}"onloadend"in h?h.onloadend=b:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(b)},h.onabort=function(){h&&(r(new m("Request aborted",m.ECONNABORTED,e,h)),h=null)},h.onerror=function(){r(new m("Network Error",m.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let P=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const T=s.transitional||Ke;s.timeoutErrorMessage&&(P=s.timeoutErrorMessage),r(new m(P,T.clarifyTimeoutError?m.ETIMEDOUT:m.ECONNABORTED,e,h)),h=null},i===void 0&&o.setContentType(null),"setRequestHeader"in h&&a.forEach(o.toJSON(),function(P,T){h.setRequestHeader(T,P)}),a.isUndefined(s.withCredentials)||(h.withCredentials=!!s.withCredentials),c&&c!=="json"&&(h.responseType=s.responseType),u&&([w,p]=W(u,!0),h.addEventListener("progress",w)),f&&h.upload&&([d,g]=W(f),h.upload.addEventListener("progress",d),h.upload.addEventListener("loadend",g)),(s.cancelToken||s.signal)&&(l=S=>{h&&(r(!S||S.type?new j(null,e,h):S),h.abort(),h=null)},s.cancelToken&&s.cancelToken.subscribe(l),s.signal&&(s.signal.aborted?l():s.signal.addEventListener("abort",l)));const R=pn(s.url);if(R&&O.protocols.indexOf(R)===-1){r(new m("Unsupported protocol "+R+":",m.ERR_BAD_REQUEST,e));return}h.send(i||null)})},Sn=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,s;const i=function(u){if(!s){s=!0,c();const l=u instanceof Error?u:this.reason;r.abort(l instanceof m?l:new j(l instanceof Error?l.message:l))}};let o=t&&setTimeout(()=>{o=null,i(new m(`timeout ${t} of ms exceeded`,m.ETIMEDOUT))},t);const c=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:f}=r;return f.unsubscribe=()=>a.asap(c),f}},On=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,s;for(;r<n;)s=r+t,yield e.slice(r,s),r=s},Tn=async function*(e,t){for await(const n of An(e))yield*On(n,t)},An=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Ne=(e,t,n,r)=>{const s=Tn(e,t);let i=0,o,c=f=>{o||(o=!0,r&&r(f))};return new ReadableStream({async pull(f){try{const{done:u,value:l}=await s.next();if(u){c(),f.close();return}let d=l.byteLength;if(n){let w=i+=d;n(w)}f.enqueue(new Uint8Array(l))}catch(u){throw c(u),u}},cancel(f){return c(f),s.return()}},{highWaterMark:2})},ne=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ze=ne&&typeof ReadableStream=="function",xn=ne&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ye=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Cn=Ze&&Ye(()=>{let e=!1;const t=new Request(O.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Pe=64*1024,ue=Ze&&Ye(()=>a.isReadableStream(new Response("").body)),X={stream:ue&&(e=>e.body)};ne&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!X[t]&&(X[t]=a.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new m(`Response type '${t}' is not supported`,m.ERR_NOT_SUPPORT,r)})})})(new Response);const Nn=async e=>{if(e==null)return 0;if(a.isBlob(e))return e.size;if(a.isSpecCompliantForm(e))return(await new Request(O.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(a.isArrayBufferView(e)||a.isArrayBuffer(e))return e.byteLength;if(a.isURLSearchParams(e)&&(e=e+""),a.isString(e))return(await xn(e)).byteLength},Pn=async(e,t)=>{const n=a.toFiniteNumber(e.getContentLength());return n??Nn(t)},Un=ne&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:i,timeout:o,onDownloadProgress:c,onUploadProgress:f,responseType:u,headers:l,withCredentials:d="same-origin",fetchOptions:w}=Qe(e);u=u?(u+"").toLowerCase():"text";let g=Sn([s,i&&i.toAbortSignal()],o),p;const y=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let h;try{if(f&&Cn&&n!=="get"&&n!=="head"&&(h=await Pn(l,r))!==0){let T=new Request(t,{method:"POST",body:r,duplex:"half"}),U;if(a.isFormData(r)&&(U=T.headers.get("content-type"))&&l.setContentType(U),T.body){const[_,$]=Ae(h,W(xe(f)));r=Ne(T.body,Pe,_,$)}}a.isString(d)||(d=d?"include":"omit");const b="credentials"in Request.prototype;p=new Request(t,{...w,signal:g,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:b?d:void 0});let R=await fetch(p);const S=ue&&(u==="stream"||u==="response");if(ue&&(c||S&&y)){const T={};["status","statusText","headers"].forEach(Ee=>{T[Ee]=R[Ee]});const U=a.toFiniteNumber(R.headers.get("content-length")),[_,$]=c&&Ae(U,W(xe(c),!0))||[];R=new Response(Ne(R.body,Pe,_,()=>{$&&$(),y&&y()}),T)}u=u||"text";let P=await X[a.findKey(X,u)||"text"](R,e);return!S&&y&&y(),await new Promise((T,U)=>{Xe(T,U,{data:P,headers:x.from(R.headers),status:R.status,statusText:R.statusText,config:e,request:p})})}catch(b){throw y&&y(),b&&b.name==="TypeError"&&/Load failed|fetch/i.test(b.message)?Object.assign(new m("Network Error",m.ERR_NETWORK,e,p),{cause:b.cause||b}):m.from(b,b&&b.code,e,p)}}),fe={http:zt,xhr:Rn,fetch:Un};a.forEach(fe,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ue=e=>`- ${e}`,_n=e=>a.isFunction(e)||e===null||e===!1,et={getAdapter:e=>{e=a.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let i=0;i<t;i++){n=e[i];let o;if(r=n,!_n(n)&&(r=fe[(o=String(n)).toLowerCase()],r===void 0))throw new m(`Unknown adapter '${o}'`);if(r)break;s[o||"#"+i]=r}if(!r){const i=Object.entries(s).map(([c,f])=>`adapter ${c} `+(f===!1?"is not supported by the environment":"is not available in the build"));let o=t?i.length>1?`since :
|
|
4
4
|
`+i.map(Ue).join(`
|
package/dist/ss-component.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),o=require("./index-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),o=require("./index-BZEbgud2.cjs"),s=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./main-BhZ-c5nF.cjs")));s.install=e=>{e.component("ssComponent",s)};const t=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-B9CeiT-K.cjs")).then(e=>e.index));t.install=e=>{e.component("ssTab",t)};const r=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-xFolZMqB.cjs")));r.install=e=>{e.component("ssMenu",r)};const i=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-B2YxsOFS.cjs")));i.install=e=>{e.component("ssMenuComponent",i)};const l=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-fstYT4Ji.cjs")));l.install=e=>{e.component("ssCanvas",l)};const u=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BCHKDSAB.cjs")));u.install=e=>{e.component("ssFold",u)};const m=[s,t,r,i,l,u],a=e=>{m.forEach(c=>{e.use(c)}),e.use(o.router),e.config.globalProperties.$router=o.router};exports.router=o.router;exports.default=a;
|
package/dist/ss-component.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.header-wrapper[data-v-0498c988]{width:95%;height:100%;margin:0 auto;display:flex;flex-wrap:wrap;align-content:center;padding:20px;box-sizing:border-box}.header-wrapper .header-horizontal[data-v-0498c988]{width:100%;min-height:30px;display:flex;gap:8px;align-items:center}.header-wrapper .header-horizontal .header-logo[data-v-0498c988]{display:inline-block;width:30px;height:30px}.header-wrapper .header-horizontal .header-cTitle[data-v-0498c988]{color:var(--login-sys-title-color);font-size:var(--login-sys-cTitle-fontSize);font-weight:800}.header-wrapper .header-horizontal .header-eTitle[data-v-0498c988]{color:var(--login-sys-title-color);font-size:var(--login-sys-eTitle-fontSize);font-weight:500}.left-wrap[data-v-06d813c8]{width:100%;display:flex;justify-content:right}.left-wrap .left-bg[data-v-06d813c8]{width:70%}@keyframes electric-flow-c5b59515{0%{border-color:transparent}25%{border-left-color:var(--login-sys-title-color)}50%{border-top-color:var(--login-sys-title-color)}75%{border-right-color:var(--login-sys-title-color)}to{border-bottom-color:var(--login-sys-title-color)}}.right-wrap[data-v-c5b59515]{width:100%;height:65%;border:1px solid transparent;animation:electric-flow-c5b59515 2s linear infinite}.right-wrap .right-title[data-v-c5b59515]{width:100%;height:15%;display:flex;align-items:center;justify-content:center;color:var(--login-sys-title-color);font-size:var(--login-sys-loginTitle-fontSize);font-weight:500}.right-wrap .right-content[data-v-c5b59515]{width:100%;height:85%}.right-wrap .right-content[data-v-c5b59515] .right-tabs{width:100%;height:100%}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__header{padding:0 30px;height:40px}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content{height:calc(100% - 40px);padding:0 30px;box-sizing:border-box}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane{height:100%;display:flex;flex-direction:column}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-content{flex:1}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button{width:100%;min-height:50px;margin:5% auto;cursor:pointer}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button .el-button{width:100%;height:100%}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button.common>.el-button{background:#f4f4f5}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button.special>.el-button{background:var(--login-sys-title-color);color:#fff}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-tips{width:100%;height:100px;color:#c7c7c9;display:flex;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:wrap}.account-wrap[data-v-1706c8eb]{width:100%;height:100%;display:flex;align-items:center}.account-wrap .el-form[data-v-1706c8eb]{width:100%}.account-wrap .el-form .el-form-item[data-v-1706c8eb]{width:100%;margin-bottom:5%}.account-wrap .el-form .el-form-item .el-form-item__content[data-v-1706c8eb]{width:100%}.account-wrap .el-form .el-form-item .el-form-item__content .el-input[data-v-1706c8eb]{width:100%;height:40px}.card-wrap[data-v-23f91251]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-content:space-between;justify-content:space-between;padding-top:8%;box-sizing:border-box}.card-wrap .card-icon[data-v-23f91251]{width:100%;text-align:center}.card-wrap .card-input[data-v-23f91251]{width:100%}.card-wrap .card-input .el-input[data-v-23f91251]{height:40px}.card-wrap .card-icon.card[data-v-23f91251]{padding:0}.login-wrap[data-v-47e16137]{width:100%;height:100%;display:grid;grid-template-rows:15% auto;gap:16px;background:var(--system-bg)}.login-wrap .login-header[data-v-47e16137]{width:100%}.login-wrap .login-body[data-v-47e16137]{width:100%;display:flex;justify-content:center;align-items:center;gap:90px}.login-wrap .login-body .login-body-item[data-v-47e16137]{height:100%}.login-wrap .login-body .left[data-v-47e16137]{width:55%;display:flex;justify-content:right;padding:0 50px;box-sizing:border-box}.login-wrap .login-body .right[data-v-47e16137]{width:32%;padding:0 70px;box-sizing:border-box}.menu-wrap[data-v-cd5548ec]{width:100%;height:100%}.menu-wrap[data-v-cd5548ec] .el-sub-menu .el-sub-menu__title{font-family:SourceHanSansCN,SourceHanSansCN;font-weight:400;font-size:16px;color:#fff;line-height:24px;text-align:left;font-style:normal}.menu-wrap[data-v-cd5548ec] .el-sub-menu .el-sub-menu__title:hover{background:var(--ssComponent-submenu-hover-bg)}.menu-wrap[data-v-cd5548ec] .el-sub-menu.is-opened{background:var(--ssComponent-submenu-open-bg);border-radius:8px}.menu-wrap[data-v-cd5548ec] .el-sub-menu.is-opened .el-menu--inline{background:var(--ssComponent-submenu-open-inline-bg)}.menu-wrap[data-v-cd5548ec] .el-menu-item{font-family:SourceHanSansCN,SourceHanSansCN;font-weight:400;font-size:16px;color:#fff;line-height:24px;text-align:left;font-style:normal}.menu-wrap[data-v-cd5548ec] .el-menu-item:hover{background:var(--ssComponent-menuitem-hover-bg)}.menu-wrap[data-v-cd5548ec] .el-menu-item.is-active{background:var(--ssComponent-menuitem-active-bg)}.tabs-label[data-v-c1c693d0]{display:flex;width:100%;flex-direction:row}.tabs-label .tabs-children[data-v-c1c693d0]{display:flex;flex-direction:row;gap:8px}.tabs-contents[data-v-c1c693d0]{display:flex;flex-direction:column;gap:16px}[data-v-917c453d] .el-textarea__inner{resize:none;height:120px}.dialog-title[data-v-5547662c]{display:flex}.el-dialog__headerbtn{margin-top:8px}.upload[data-v-3e08e20d]{display:flex;gap:8px}.upload .upload-word[data-v-3e08e20d]{display:flex;align-items:center}.upload .upload-icon[data-v-3e08e20d]{display:flex;width:20px;height:20px}.dialog-footer[data-v-3e08e20d]{display:flex;flex-direction:row;justify-content:end}.tip-content[data-v-3e08e20d]{display:flex}[data-v-3e08e20d] .el-upload-list{margin:0}[data-v-3e08e20d] .el-upload-list__item{display:flex}[data-v-3e08e20d] .el-upload-list__item .el-upload-list__item-info{margin-left:0}[data-v-3e08e20d] .el-upload-list__item-name{padding:0}.form-content[data-v-8892f0f4]{width:100%;display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:8px;flex-wrap:wrap}.form-content .form-content-view[data-v-8892f0f4]{width:100%}.form-content .form-content-view .form-data[data-v-8892f0f4]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-data .form-item[data-v-8892f0f4]{display:flex;flex-direction:row;gap:8px;width:260px;height:100%;align-items:center}.form-content .form-content-view .form-data .form-item .from-item-label[data-v-8892f0f4]{display:flex;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-data .form-button[data-v-8892f0f4]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}.form-content .form-content-view .form-data .form-button .form-button-content[data-v-8892f0f4]{display:flex;cursor:pointer}.form-content .form-content-view .form-data .form-button .form-button-content .form-button-item[data-v-8892f0f4]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}.form-content .form-content-view .form-noRegular-data[data-v-8892f0f4]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-8892f0f4] .el-form-item__label{padding:0;justify-content:start;width:auto}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-8892f0f4] .el-form-item__content{align-items:start;width:100%}.form-content .form-content-view .form-noRegular-data .form-item[data-v-8892f0f4]{display:flex;flex-direction:row;gap:8px;width:260px;height:100%;align-items:center}.form-content .form-content-view .form-noRegular-data .form-item .from-item-label[data-v-8892f0f4]{text-align:left;width:72px;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-noRegular-data .form-button[data-v-8892f0f4]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content[data-v-8892f0f4]{display:flex;cursor:pointer}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content .form-button-item[data-v-8892f0f4]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}.form-content .form-button[data-v-8892f0f4]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}.form-content .form-button .form-button-content[data-v-8892f0f4]{cursor:pointer}.form-content .form-button .form-button-content .form-button-item[data-v-8892f0f4]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}[data-v-8892f0f4] .el-form-item__label{padding:0;justify-content:start}[data-v-8892f0f4] .el-form-item{margin:0}[data-v-8892f0f4] .el-form-item__content{align-items:start;width:220px}.extra-button-content[data-v-1d46278f]{display:flex;flex-direction:row;justify-content:space-between}.extra-button-content .extra-header[data-v-1d46278f],.extra-button-content .extra-header .extra-contents[data-v-1d46278f]{display:flex;flex-direction:row;gap:8px}.extra-button-content .extra-header .extra-contents .extra-content[data-v-1d46278f]{padding:4px 12px;border-radius:8px;cursor:pointer}.extra-button-content .extra-button-filter[data-v-1d46278f]{display:flex;gap:8px;flex-direction:row}.extra-button-content .extra-button-filter .button-style[data-v-1d46278f]{width:24px;height:24px;cursor:pointer}[data-v-d58cc443] .el-table__cell .cell{font-size:14px;font-weight:700;color:#000000d9;font-family:PingFangSC,PingFang SC;min-width:79px}[data-v-d58cc443] .layout-container-view .el-scrollbar__view{width:100%;overflow:auto}[data-v-d58cc443] .el-table__header-wrapper .el-table__header{height:48px;width:auto!important}[data-v-d58cc443] .el-table__body .el-table__row{height:48px}[data-v-d58cc443] .el-table__body{height:100%}.table-content-show[data-v-d58cc443]{display:flex;flex-direction:column;gap:12px}.table-content-show .table-wrap .table-operate[data-v-d58cc443]{display:flex;flex-direction:row;justify-content:space-between;gap:8px}.table-content-show .table-wrap .table-operate .blue-table-operate[data-v-d58cc443]{color:#1890ff}.table-content-show .table-wrap .table-operate .red-table-operate[data-v-d58cc443]{color:red}.table-content-show .table-wrap .table-operate .table-operate-content[data-v-d58cc443]{font-family:SourceHanSansSC,SourceHanSansSC;font-weight:400;font-size:14px;font-style:normal;text-transform:none;cursor:pointer}.el-table[data-v-d58cc443]{height:inherit}[data-v-d58cc443] .el-table__body-wrapper{overflow:auto}.table-content[data-v-408ff7f8]{display:flex;flex-direction:column;gap:16px}.table-content .dialog-footer[data-v-408ff7f8]{display:flex;flex-direction:row;gap:16px;justify-content:end}.table-content .dialog-footer .cancel-button[data-v-408ff7f8],.table-content .dialog-footer .ok-button[data-v-408ff7f8],.table-content .extra-button-label[data-v-408ff7f8]{cursor:pointer}.form-content[data-v-156885e4]{display:flex;flex-direction:column;gap:16px}[data-v-156885e4] .el-form-item{margin-bottom:0}[data-v-156885e4] .form-data{align-items:center}.table-operate-content[data-v-877911eb]{display:flex;flex-direction:column;gap:12px}.table-operate-content .table-operate-item[data-v-877911eb]{display:flex;flex-direction:column;gap:8px}.table-operate-content .table-operate-item .operate-title[data-v-877911eb]{font-size:14px;font-weight:600;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.table-operate-content .table-operate-item .operate-content[data-v-877911eb]{display:flex;font-size:13px}.form-operate-content[data-v-a36b8468]{display:flex;flex-direction:column;gap:12px}.form-operate-content .form-operate-item[data-v-a36b8468]{display:flex;flex-direction:column;gap:8px}.form-operate-content .form-operate-item .operate-title[data-v-a36b8468]{font-size:14px;font-weight:600;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.form-operate-content .form-operate-item .operate-content[data-v-a36b8468]{display:flex;font-size:13px}.extra-content[data-v-9a96eb90]{display:flex;flex-direction:column;gap:16px}.extra-content .extra-button[data-v-9a96eb90]{width:160px}.extra-content .extra-button .extra-button-item[data-v-9a96eb90]{background:var(--ssComponent-primary-color);color:#fff;align-items:center;padding:4px 12px;border-radius:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.type-select[data-v-fe4aecc8]{display:flex;flex-direction:row;flex-wrap:wrap;width:100%;height:fit-content;overflow:auto}.type-select .type-list[data-v-fe4aecc8]{display:flex;flex-direction:row;height:110px;gap:8px}.type-select .type-list .list-content[data-v-fe4aecc8]{width:85px;height:auto;display:flex;flex-direction:column;gap:6px;padding:4px 12px;align-items:center;height:82px;cursor:pointer}.type-select .type-list .list-content .list-icon[data-v-fe4aecc8]{width:48px;height:48px}.fill-content[data-v-a216b035]{display:flex;flex-direction:column;gap:16px;width:100%}.fill-content .fill-operate[data-v-a216b035]{font-size:16px;font-weight:600}.fill-content .operate-content[data-v-a216b035]{display:flex;flex-direction:row;width:100%;height:100%;overflow:auto}.fill-content .operate-content .collapse-content[data-v-a216b035]{width:100%}.fill-content .operate-content .collapse-content .collapse-title[data-v-a216b035]{font-size:15px;font-weight:600}.fill-content .operate-content .collapse-content .comp-child[data-v-a216b035]{display:flex;flex-direction:column;gap:16px;width:100%}.show-content[data-v-79320497]{display:flex;flex-direction:column;height:100%;gap:16px;width:100%;overflow:auto}.show-content .item-content[data-v-79320497]{display:flex;flex-direction:column;gap:8px;height:fit-content}.menuList-wrap[data-v-bbb8ace9]::-webkit-scrollbar{display:none}.menuList-wrap[data-v-bbb8ace9]{width:100%;height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;background:var(--ssComponent-menu-bg);padding:8px}.bread-content[data-v-ebb4c8e5]{display:flex;width:100%}.bread-content .bread-item[data-v-ebb4c8e5]{display:flex}.bread-content .bread-item .bread-title[data-v-ebb4c8e5]{cursor:pointer}.bread-content .bread-item .bread-title[data-v-ebb4c8e5]:hover{color:var(--ssComponent-primary-color)}.system-wrap[data-v-7661c32b]{width:100%;height:auto;display:flex;gap:1%;background:#f8f8f8}.system-wrap .show-content[data-v-7661c32b]{flex:1;display:flex;flex-direction:column;height:calc(100% - 16px);gap:16px;overflow:auto;padding:24px;background:#fff;margin-top:16px;box-sizing:border-box;border-radius:8px}.system-wrap .show-content .item-menu-content[data-v-7661c32b]{display:flex}.system-wrap .show-content .item-content[data-v-7661c32b]{display:flex;flex-direction:column;gap:16px;height:fit-content}.system-wrap .show-content .item-content .item-view-group[data-v-7661c32b]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-77dec451]{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.add-model-content .model-operate[data-v-77dec451]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-77dec451]{display:flex;padding:16px;height:initial;width:220px;min-width:220px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-operate .model-show[data-v-77dec451]{display:flex;padding:16px;height:initial;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;flex:1;min-width:0}.add-model-content .model-operate .model-fill[data-v-77dec451]{display:flex;padding:16px;height:initial;width:300px;min-width:300px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-view[data-v-77dec451]{display:flex;flex-direction:row;flex:1;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;height:calc(100% - 72px)}.add-model-content .model-import-data[data-v-77dec451]{display:flex;flex-direction:row;align-items:center;gap:8px;padding:16px}.add-model-content .model-import-data .import-button[data-v-77dec451]{padding:4px 12px;background:var(--el-color-primary);color:#fff;border-radius:8px;cursor:pointer}.add-model-content .model-import-data .import-button .import-button-content[data-v-77dec451]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}.role-wrapper[data-v-919610a6]{width:100%;height:100%}.role-wrapper .role-header.form-content[data-v-919610a6]{width:100%;margin-bottom:20px;padding:20px;box-sizing:border-box}.el-tree.role-tree[data-v-39892523] .el-tree-node .is-penultimate>.el-tree-node__children>div{display:inline-block}.el-tree.role-tree[data-v-39892523] .el-tree-node .is-penultimate>.el-tree-node__children>div:not(:first-child) .el-tree-node__content{padding-left:0!important}.el-tree.role-tree[data-v-39892523] .el-tree-node .is-penultimate>.el-tree-node__children>div .el-tree-node__content{padding-right:16px}.role-dialog .role-dialog-header[data-v-39892523]{text-align:left}.role-wrapper[data-v-39892523]{width:100%;height:100%}.role-wrapper .role-header.form-content[data-v-39892523]{width:100%;margin-bottom:20px;padding:20px;box-sizing:border-box}.role-wrapper[data-v-93a308ef]{width:100%;height:100%}.role-wrapper .role-header.form-content[data-v-93a308ef]{width:100%;margin-bottom:20px;padding:20px;box-sizing:border-box}.show-content[data-v-869e6e20]{display:flex;flex-direction:column;height:auto;gap:16px;width:100%;overflow:auto;padding:16px;background:#fff}.show-content .item-content[data-v-869e6e20]{display:flex;flex-direction:column;gap:8px;height:fit-content}.show-content .item-content .item-view-group[data-v-869e6e20]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-b25bde75]{display:flex;flex-direction:column;width:100%;height:100%;gap:16px;overflow:hidden}.add-model-content .model-operate[data-v-b25bde75]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-b25bde75]{display:flex;padding:16px;height:initial;width:220px;min-width:220px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-operate .model-show[data-v-b25bde75]{display:flex;padding:16px;height:initial;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;flex:1;min-width:0}.add-model-content .model-operate .model-fill[data-v-b25bde75]{display:flex;padding:16px;height:initial;width:300px;min-width:300px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-view[data-v-b25bde75]{display:flex;flex-direction:row;flex:1;padding:4px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;height:calc(100% - 72px)}.add-model-content .model-import-data[data-v-b25bde75]{display:flex;flex-direction:row;align-items:center;gap:8px}.add-model-content .model-import-data .import-button[data-v-b25bde75]{padding:4px 12px;background:var(--el-color-primary);color:#fff;border-radius:8px;cursor:pointer}.add-model-content .model-import-data .import-button .import-button-content[data-v-b25bde75]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}:root{--ssComponent-primary-color: #3F68B1;--ssComponent-danger-color: #f56c6c;--ssComponent-bgColor: #426ec4;--ssComponent-menu-bg: #426ec4;--ssComponent-submenu-hover-bg: #00000033;--ssComponent-submenu-open-bg: #2DA0FF;--ssComponent-submenu-open-inline-bg: #1C4275;--ssComponent-menuitem-hover-bg: #1d7bef;--ssComponent-menuitem-active-bg: #1d7bef;--login-sys-title-color: #2DA0FF;--login-sys-cTitle-fontSize: 2em;--login-sys-loginTitle-fontSize: 1.5em;--login-sys-eTitle-fontSize: 1.3em;--system-bg:#fff}.c-menuA[data-v-885fe329]{width:300px;height:300px;border:1px solid red}.chart-model-class[data-v-798284db]{display:flex;width:100%;height:100%}.eCharts[data-v-0440fac3]{display:flex;align-items:center;justify-content:center;height:300px}
|
|
1
|
+
.header-wrapper[data-v-0498c988]{width:95%;height:100%;margin:0 auto;display:flex;flex-wrap:wrap;align-content:center;padding:20px;box-sizing:border-box}.header-wrapper .header-horizontal[data-v-0498c988]{width:100%;min-height:30px;display:flex;gap:8px;align-items:center}.header-wrapper .header-horizontal .header-logo[data-v-0498c988]{display:inline-block;width:30px;height:30px}.header-wrapper .header-horizontal .header-cTitle[data-v-0498c988]{color:var(--login-sys-title-color);font-size:var(--login-sys-cTitle-fontSize);font-weight:800}.header-wrapper .header-horizontal .header-eTitle[data-v-0498c988]{color:var(--login-sys-title-color);font-size:var(--login-sys-eTitle-fontSize);font-weight:500}.left-wrap[data-v-06d813c8]{width:100%;display:flex;justify-content:right}.left-wrap .left-bg[data-v-06d813c8]{width:70%}@keyframes electric-flow-c5b59515{0%{border-color:transparent}25%{border-left-color:var(--login-sys-title-color)}50%{border-top-color:var(--login-sys-title-color)}75%{border-right-color:var(--login-sys-title-color)}to{border-bottom-color:var(--login-sys-title-color)}}.right-wrap[data-v-c5b59515]{width:100%;height:65%;border:1px solid transparent;animation:electric-flow-c5b59515 2s linear infinite}.right-wrap .right-title[data-v-c5b59515]{width:100%;height:15%;display:flex;align-items:center;justify-content:center;color:var(--login-sys-title-color);font-size:var(--login-sys-loginTitle-fontSize);font-weight:500}.right-wrap .right-content[data-v-c5b59515]{width:100%;height:85%}.right-wrap .right-content[data-v-c5b59515] .right-tabs{width:100%;height:100%}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__header{padding:0 30px;height:40px}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content{height:calc(100% - 40px);padding:0 30px;box-sizing:border-box}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane{height:100%;display:flex;flex-direction:column}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-content{flex:1}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button{width:100%;min-height:50px;margin:5% auto;cursor:pointer}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button .el-button{width:100%;height:100%}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button.common>.el-button{background:#f4f4f5}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button.special>.el-button{background:var(--login-sys-title-color);color:#fff}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-tips{width:100%;height:100px;color:#c7c7c9;display:flex;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:wrap}.account-wrap[data-v-1706c8eb]{width:100%;height:100%;display:flex;align-items:center}.account-wrap .el-form[data-v-1706c8eb]{width:100%}.account-wrap .el-form .el-form-item[data-v-1706c8eb]{width:100%;margin-bottom:5%}.account-wrap .el-form .el-form-item .el-form-item__content[data-v-1706c8eb]{width:100%}.account-wrap .el-form .el-form-item .el-form-item__content .el-input[data-v-1706c8eb]{width:100%;height:40px}.card-wrap[data-v-23f91251]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-content:space-between;justify-content:space-between;padding-top:8%;box-sizing:border-box}.card-wrap .card-icon[data-v-23f91251]{width:100%;text-align:center}.card-wrap .card-input[data-v-23f91251]{width:100%}.card-wrap .card-input .el-input[data-v-23f91251]{height:40px}.card-wrap .card-icon.card[data-v-23f91251]{padding:0}.login-wrap[data-v-47e16137]{width:100%;height:100%;display:grid;grid-template-rows:15% auto;gap:16px;background:var(--system-bg)}.login-wrap .login-header[data-v-47e16137]{width:100%}.login-wrap .login-body[data-v-47e16137]{width:100%;display:flex;justify-content:center;align-items:center;gap:90px}.login-wrap .login-body .login-body-item[data-v-47e16137]{height:100%}.login-wrap .login-body .left[data-v-47e16137]{width:55%;display:flex;justify-content:right;padding:0 50px;box-sizing:border-box}.login-wrap .login-body .right[data-v-47e16137]{width:32%;padding:0 70px;box-sizing:border-box}.menu-wrap[data-v-cd5548ec]{width:100%;height:100%}.menu-wrap[data-v-cd5548ec] .el-sub-menu .el-sub-menu__title{font-family:SourceHanSansCN,SourceHanSansCN;font-weight:400;font-size:16px;color:#fff;line-height:24px;text-align:left;font-style:normal}.menu-wrap[data-v-cd5548ec] .el-sub-menu .el-sub-menu__title:hover{background:var(--ssComponent-submenu-hover-bg)}.menu-wrap[data-v-cd5548ec] .el-sub-menu.is-opened{background:var(--ssComponent-submenu-open-bg);border-radius:8px}.menu-wrap[data-v-cd5548ec] .el-sub-menu.is-opened .el-menu--inline{background:var(--ssComponent-submenu-open-inline-bg)}.menu-wrap[data-v-cd5548ec] .el-menu-item{font-family:SourceHanSansCN,SourceHanSansCN;font-weight:400;font-size:16px;color:#fff;line-height:24px;text-align:left;font-style:normal}.menu-wrap[data-v-cd5548ec] .el-menu-item:hover{background:var(--ssComponent-menuitem-hover-bg)}.menu-wrap[data-v-cd5548ec] .el-menu-item.is-active{background:var(--ssComponent-menuitem-active-bg)}.tabs-label[data-v-c1c693d0]{display:flex;width:100%;flex-direction:row}.tabs-label .tabs-children[data-v-c1c693d0]{display:flex;flex-direction:row;gap:8px}.tabs-contents[data-v-c1c693d0]{display:flex;flex-direction:column;gap:16px}[data-v-917c453d] .el-textarea__inner{resize:none;height:120px}.dialog-title[data-v-5547662c]{display:flex}.el-dialog__headerbtn{margin-top:8px}.upload[data-v-3e08e20d]{display:flex;gap:8px}.upload .upload-word[data-v-3e08e20d]{display:flex;align-items:center}.upload .upload-icon[data-v-3e08e20d]{display:flex;width:20px;height:20px}.dialog-footer[data-v-3e08e20d]{display:flex;flex-direction:row;justify-content:end}.tip-content[data-v-3e08e20d]{display:flex}[data-v-3e08e20d] .el-upload-list{margin:0}[data-v-3e08e20d] .el-upload-list__item{display:flex}[data-v-3e08e20d] .el-upload-list__item .el-upload-list__item-info{margin-left:0}[data-v-3e08e20d] .el-upload-list__item-name{padding:0}.form-content[data-v-8892f0f4]{width:100%;display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:8px;flex-wrap:wrap}.form-content .form-content-view[data-v-8892f0f4]{width:100%}.form-content .form-content-view .form-data[data-v-8892f0f4]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-data .form-item[data-v-8892f0f4]{display:flex;flex-direction:row;gap:8px;width:260px;height:100%;align-items:center}.form-content .form-content-view .form-data .form-item .from-item-label[data-v-8892f0f4]{display:flex;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-data .form-button[data-v-8892f0f4]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}.form-content .form-content-view .form-data .form-button .form-button-content[data-v-8892f0f4]{display:flex;cursor:pointer}.form-content .form-content-view .form-data .form-button .form-button-content .form-button-item[data-v-8892f0f4]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}.form-content .form-content-view .form-noRegular-data[data-v-8892f0f4]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-8892f0f4] .el-form-item__label{padding:0;justify-content:start;width:auto}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-8892f0f4] .el-form-item__content{align-items:start;width:100%}.form-content .form-content-view .form-noRegular-data .form-item[data-v-8892f0f4]{display:flex;flex-direction:row;gap:8px;width:260px;height:100%;align-items:center}.form-content .form-content-view .form-noRegular-data .form-item .from-item-label[data-v-8892f0f4]{text-align:left;width:72px;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-noRegular-data .form-button[data-v-8892f0f4]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content[data-v-8892f0f4]{display:flex;cursor:pointer}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content .form-button-item[data-v-8892f0f4]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}.form-content .form-button[data-v-8892f0f4]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}.form-content .form-button .form-button-content[data-v-8892f0f4]{cursor:pointer}.form-content .form-button .form-button-content .form-button-item[data-v-8892f0f4]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}[data-v-8892f0f4] .el-form-item__label{padding:0;justify-content:start}[data-v-8892f0f4] .el-form-item{margin:0}[data-v-8892f0f4] .el-form-item__content{align-items:start;width:220px}.extra-button-content[data-v-1d46278f]{display:flex;flex-direction:row;justify-content:space-between}.extra-button-content .extra-header[data-v-1d46278f],.extra-button-content .extra-header .extra-contents[data-v-1d46278f]{display:flex;flex-direction:row;gap:8px}.extra-button-content .extra-header .extra-contents .extra-content[data-v-1d46278f]{padding:4px 12px;border-radius:8px;cursor:pointer}.extra-button-content .extra-button-filter[data-v-1d46278f]{display:flex;gap:8px;flex-direction:row}.extra-button-content .extra-button-filter .button-style[data-v-1d46278f]{width:24px;height:24px;cursor:pointer}[data-v-d58cc443] .el-table__cell .cell{font-size:14px;font-weight:700;color:#000000d9;font-family:PingFangSC,PingFang SC;min-width:79px}[data-v-d58cc443] .layout-container-view .el-scrollbar__view{width:100%;overflow:auto}[data-v-d58cc443] .el-table__header-wrapper .el-table__header{height:48px;width:auto!important}[data-v-d58cc443] .el-table__body .el-table__row{height:48px}[data-v-d58cc443] .el-table__body{height:100%}.table-content-show[data-v-d58cc443]{display:flex;flex-direction:column;gap:12px}.table-content-show .table-wrap .table-operate[data-v-d58cc443]{display:flex;flex-direction:row;justify-content:space-between;gap:8px}.table-content-show .table-wrap .table-operate .blue-table-operate[data-v-d58cc443]{color:#1890ff}.table-content-show .table-wrap .table-operate .red-table-operate[data-v-d58cc443]{color:red}.table-content-show .table-wrap .table-operate .table-operate-content[data-v-d58cc443]{font-family:SourceHanSansSC,SourceHanSansSC;font-weight:400;font-size:14px;font-style:normal;text-transform:none;cursor:pointer}.el-table[data-v-d58cc443]{height:inherit}[data-v-d58cc443] .el-table__body-wrapper{overflow:auto}.table-content[data-v-d7c918e5]{display:flex;flex-direction:column;gap:16px}.table-content .dialog-footer[data-v-d7c918e5]{display:flex;flex-direction:row;gap:16px;justify-content:end}.table-content .dialog-footer .cancel-button[data-v-d7c918e5],.table-content .dialog-footer .ok-button[data-v-d7c918e5],.table-content .extra-button-label[data-v-d7c918e5]{cursor:pointer}.form-content[data-v-156885e4]{display:flex;flex-direction:column;gap:16px}[data-v-156885e4] .el-form-item{margin-bottom:0}[data-v-156885e4] .form-data{align-items:center}.table-operate-content[data-v-877911eb]{display:flex;flex-direction:column;gap:12px}.table-operate-content .table-operate-item[data-v-877911eb]{display:flex;flex-direction:column;gap:8px}.table-operate-content .table-operate-item .operate-title[data-v-877911eb]{font-size:14px;font-weight:600;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.table-operate-content .table-operate-item .operate-content[data-v-877911eb]{display:flex;font-size:13px}.form-operate-content[data-v-a36b8468]{display:flex;flex-direction:column;gap:12px}.form-operate-content .form-operate-item[data-v-a36b8468]{display:flex;flex-direction:column;gap:8px}.form-operate-content .form-operate-item .operate-title[data-v-a36b8468]{font-size:14px;font-weight:600;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.form-operate-content .form-operate-item .operate-content[data-v-a36b8468]{display:flex;font-size:13px}.extra-content[data-v-9a96eb90]{display:flex;flex-direction:column;gap:16px}.extra-content .extra-button[data-v-9a96eb90]{width:160px}.extra-content .extra-button .extra-button-item[data-v-9a96eb90]{background:var(--ssComponent-primary-color);color:#fff;align-items:center;padding:4px 12px;border-radius:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.type-select[data-v-fe4aecc8]{display:flex;flex-direction:row;flex-wrap:wrap;width:100%;height:fit-content;overflow:auto}.type-select .type-list[data-v-fe4aecc8]{display:flex;flex-direction:row;height:110px;gap:8px}.type-select .type-list .list-content[data-v-fe4aecc8]{width:85px;height:auto;display:flex;flex-direction:column;gap:6px;padding:4px 12px;align-items:center;height:82px;cursor:pointer}.type-select .type-list .list-content .list-icon[data-v-fe4aecc8]{width:48px;height:48px}.fill-content[data-v-a216b035]{display:flex;flex-direction:column;gap:16px;width:100%}.fill-content .fill-operate[data-v-a216b035]{font-size:16px;font-weight:600}.fill-content .operate-content[data-v-a216b035]{display:flex;flex-direction:row;width:100%;height:100%;overflow:auto}.fill-content .operate-content .collapse-content[data-v-a216b035]{width:100%}.fill-content .operate-content .collapse-content .collapse-title[data-v-a216b035]{font-size:15px;font-weight:600}.fill-content .operate-content .collapse-content .comp-child[data-v-a216b035]{display:flex;flex-direction:column;gap:16px;width:100%}.show-content[data-v-79320497]{display:flex;flex-direction:column;height:100%;gap:16px;width:100%;overflow:auto}.show-content .item-content[data-v-79320497]{display:flex;flex-direction:column;gap:8px;height:fit-content}.menuList-wrap[data-v-bbb8ace9]::-webkit-scrollbar{display:none}.menuList-wrap[data-v-bbb8ace9]{width:100%;height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;background:var(--ssComponent-menu-bg);padding:8px}.bread-content[data-v-ebb4c8e5]{display:flex;width:100%}.bread-content .bread-item[data-v-ebb4c8e5]{display:flex}.bread-content .bread-item .bread-title[data-v-ebb4c8e5]{cursor:pointer}.bread-content .bread-item .bread-title[data-v-ebb4c8e5]:hover{color:var(--ssComponent-primary-color)}.system-wrap[data-v-7661c32b]{width:100%;height:auto;display:flex;gap:1%;background:#f8f8f8}.system-wrap .show-content[data-v-7661c32b]{flex:1;display:flex;flex-direction:column;height:calc(100% - 16px);gap:16px;overflow:auto;padding:24px;background:#fff;margin-top:16px;box-sizing:border-box;border-radius:8px}.system-wrap .show-content .item-menu-content[data-v-7661c32b]{display:flex}.system-wrap .show-content .item-content[data-v-7661c32b]{display:flex;flex-direction:column;gap:16px;height:fit-content}.system-wrap .show-content .item-content .item-view-group[data-v-7661c32b]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-77dec451]{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.add-model-content .model-operate[data-v-77dec451]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-77dec451]{display:flex;padding:16px;height:initial;width:220px;min-width:220px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-operate .model-show[data-v-77dec451]{display:flex;padding:16px;height:initial;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;flex:1;min-width:0}.add-model-content .model-operate .model-fill[data-v-77dec451]{display:flex;padding:16px;height:initial;width:300px;min-width:300px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-view[data-v-77dec451]{display:flex;flex-direction:row;flex:1;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;height:calc(100% - 72px)}.add-model-content .model-import-data[data-v-77dec451]{display:flex;flex-direction:row;align-items:center;gap:8px;padding:16px}.add-model-content .model-import-data .import-button[data-v-77dec451]{padding:4px 12px;background:var(--el-color-primary);color:#fff;border-radius:8px;cursor:pointer}.add-model-content .model-import-data .import-button .import-button-content[data-v-77dec451]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}.role-wrapper[data-v-641714aa]{width:100%;height:100%}.role-wrapper .role-header.form-content[data-v-641714aa]{width:100%;margin-bottom:20px;padding:20px;box-sizing:border-box}.el-tree.role-tree[data-v-9becc629] .el-tree-node .el-tree-node__content{position:relative}.el-tree.role-tree[data-v-9becc629] .el-tree-node .el-tree-node__content .node-text{width:35%;text-align:left;overflow:auto}.el-tree.role-tree[data-v-9becc629] .el-tree-node .el-tree-node__content .node-buttons{position:absolute;right:0}.el-tree.role-tree[data-v-9becc629] .el-tree-node .el-tree-node__content:hover{border:1px solid #e5e5e6}.el-tree.role-tree[data-v-9becc629] .el-tree-node .is-penultimate>.el-tree-node__children>div{display:inline-block}.el-tree.role-tree[data-v-9becc629] .el-tree-node .is-penultimate>.el-tree-node__children>div:not(:first-child) .el-tree-node__content{padding-left:0!important}.role-dialog .role-dialog-header[data-v-9becc629]{text-align:left}.role-wrapper[data-v-9becc629]{width:100%;height:100%}.role-wrapper .role-header.form-content[data-v-9becc629]{width:100%;margin-bottom:20px;padding:20px;box-sizing:border-box}.role-wrapper[data-v-93a308ef]{width:100%;height:100%}.role-wrapper .role-header.form-content[data-v-93a308ef]{width:100%;margin-bottom:20px;padding:20px;box-sizing:border-box}.show-content[data-v-869e6e20]{display:flex;flex-direction:column;height:auto;gap:16px;width:100%;overflow:auto;padding:16px;background:#fff}.show-content .item-content[data-v-869e6e20]{display:flex;flex-direction:column;gap:8px;height:fit-content}.show-content .item-content .item-view-group[data-v-869e6e20]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-b25bde75]{display:flex;flex-direction:column;width:100%;height:100%;gap:16px;overflow:hidden}.add-model-content .model-operate[data-v-b25bde75]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-b25bde75]{display:flex;padding:16px;height:initial;width:220px;min-width:220px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-operate .model-show[data-v-b25bde75]{display:flex;padding:16px;height:initial;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;flex:1;min-width:0}.add-model-content .model-operate .model-fill[data-v-b25bde75]{display:flex;padding:16px;height:initial;width:300px;min-width:300px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-view[data-v-b25bde75]{display:flex;flex-direction:row;flex:1;padding:4px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;height:calc(100% - 72px)}.add-model-content .model-import-data[data-v-b25bde75]{display:flex;flex-direction:row;align-items:center;gap:8px}.add-model-content .model-import-data .import-button[data-v-b25bde75]{padding:4px 12px;background:var(--el-color-primary);color:#fff;border-radius:8px;cursor:pointer}.add-model-content .model-import-data .import-button .import-button-content[data-v-b25bde75]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}:root{--ssComponent-primary-color: #3F68B1;--ssComponent-danger-color: #f56c6c;--ssComponent-bgColor: #426ec4;--ssComponent-menu-bg: #426ec4;--ssComponent-submenu-hover-bg: #00000033;--ssComponent-submenu-open-bg: #2DA0FF;--ssComponent-submenu-open-inline-bg: #1C4275;--ssComponent-menuitem-hover-bg: #1d7bef;--ssComponent-menuitem-active-bg: #1d7bef;--login-sys-title-color: #2DA0FF;--login-sys-cTitle-fontSize: 2em;--login-sys-loginTitle-fontSize: 1.5em;--login-sys-eTitle-fontSize: 1.3em;--system-bg:#fff}.c-menuA[data-v-885fe329]{width:300px;height:300px;border:1px solid red}.chart-model-class[data-v-798284db]{display:flex;width:100%;height:100%}.eCharts[data-v-0440fac3]{display:flex;align-items:center;justify-content:center;height:300px}
|
package/dist/ss-component.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { defineAsyncComponent as n } from "vue";
|
|
2
|
-
import { r } from "./index-
|
|
3
|
-
const s = n(() => import("./main-
|
|
2
|
+
import { r } from "./index-BrXeR-w4.js";
|
|
3
|
+
const s = n(() => import("./main-CaHX_enG.js"));
|
|
4
4
|
s.install = (o) => {
|
|
5
5
|
o.component("ssComponent", s);
|
|
6
6
|
};
|
|
7
|
-
const t = n(() => import("./index-
|
|
7
|
+
const t = n(() => import("./index-DmZPczSP.js").then((o) => o.i));
|
|
8
8
|
t.install = (o) => {
|
|
9
9
|
o.component("ssTab", t);
|
|
10
10
|
};
|
|
11
|
-
const e = n(() => import("./index-
|
|
11
|
+
const e = n(() => import("./index-RUWVqYLT.js"));
|
|
12
12
|
e.install = (o) => {
|
|
13
13
|
o.component("ssMenu", e);
|
|
14
14
|
};
|
|
15
|
-
const m = n(() => import("./index-
|
|
15
|
+
const m = n(() => import("./index-Bx4Vzo3K.js"));
|
|
16
16
|
m.install = (o) => {
|
|
17
17
|
o.component("ssMenuComponent", m);
|
|
18
18
|
};
|
|
19
|
-
const i = n(() => import("./index-
|
|
19
|
+
const i = n(() => import("./index-x_myaReY.js"));
|
|
20
20
|
i.install = (o) => {
|
|
21
21
|
o.component("ssCanvas", i);
|
|
22
22
|
};
|
package/dist/ss-component2.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("vue-router");const r=require("./index-
|
|
1
|
+
"use strict";require("vue-router");const r=require("./index-BZEbgud2.cjs");module.exports=r.router;
|
package/dist/ss-component2.js
CHANGED