ss-component-new 1.1.80 → 1.1.82

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.
Files changed (32) hide show
  1. package/dist/{array-Dsurpc08.js → array-D2zrIzej.js} +2 -2
  2. package/dist/{array-DQ6meJk7.cjs → array-D8U2pGTC.cjs} +1 -1
  3. package/dist/{cloneDeep-BH_aXSAH.cjs → cloneDeep-8zu2YtRV.cjs} +1 -1
  4. package/dist/{cloneDeep-MKlVykeI.js → cloneDeep-DuEirD61.js} +1 -1
  5. package/dist/{index-HDBRQNLs.js → index-3JVabNmb.js} +1 -1
  6. package/dist/{index-D9tWUDyO.js → index-BK00mV7O.js} +3 -3
  7. package/dist/{index-CRm-Cd9v.cjs → index-Bk6z8NoT.cjs} +1 -1
  8. package/dist/{index-ClguzCrn.js → index-BviuenkT.js} +3 -3
  9. package/dist/{index-DtmWzVIG.cjs → index-By9M6a6K.cjs} +1 -1
  10. package/dist/{index-YSJ2XYuj.cjs → index-CPAniSJJ.cjs} +1 -1
  11. package/dist/{index-Bc2TP6E4.cjs → index-CdiwcgWn.cjs} +1 -1
  12. package/dist/{index-C8abtcPh.cjs → index-CefBKPRE.cjs} +1 -1
  13. package/dist/{index-CTc_dwbb.js → index-D0BrZauT.js} +2 -2
  14. package/dist/{index-zIb6b0kg.cjs → index-DADq4uib.cjs} +1 -1
  15. package/dist/{index-qogZoGJJ.js → index-DK-C6XIG.js} +5 -5
  16. package/dist/{index-ChZ6L8qy.js → index-DORpNeEv.js} +3 -3
  17. package/dist/{index-54P6MUQ5.js → index-Dk3AafH9.js} +1 -1
  18. package/dist/{index-D0v2_dMz.js → index-DzijCTQM.js} +107 -107
  19. package/dist/{index-DB-XsCH7.cjs → index-P-XWFKEv.cjs} +1 -1
  20. package/dist/{index-CBzgTVRc.cjs → index-bTbhSpJ8.cjs} +1 -1
  21. package/dist/{index.vue_vue_type_style_index_0_scoped_876d48c6_lang-Csg3VsXp.cjs → index.vue_vue_type_style_index_0_scoped_876d48c6_lang-BufoMCSS.cjs} +1 -1
  22. package/dist/{index.vue_vue_type_style_index_0_scoped_876d48c6_lang-BWOIM9wH.js → index.vue_vue_type_style_index_0_scoped_876d48c6_lang-CSfAQ28_.js} +2 -2
  23. package/dist/{index.vue_vue_type_style_index_0_scoped_dc84a8f7_lang-DzfJEE_l.cjs → index.vue_vue_type_style_index_0_scoped_dc84a8f7_lang-CoTrTiyZ.cjs} +1 -1
  24. package/dist/{index.vue_vue_type_style_index_0_scoped_dc84a8f7_lang-DHffsUIJ.js → index.vue_vue_type_style_index_0_scoped_dc84a8f7_lang-sXEqRck_.js} +2 -2
  25. package/dist/{main-RfdttOpi.js → main-BJ49BQ83.js} +3 -3
  26. package/dist/{main-u6M32FUn.cjs → main-BrFLjXjC.cjs} +1 -1
  27. package/dist/ss-component.cjs +1 -1
  28. package/dist/ss-component.css +1 -1
  29. package/dist/ss-component.js +6 -6
  30. package/dist/ss-component2.cjs +1 -1
  31. package/dist/ss-component2.js +1 -1
  32. package/package.json +1 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),O=require("./index-CRm-Cd9v.cjs"),D=require("./array-DQ6meJk7.cjs"),J=require("./modelComp-DAsVXKA0.cjs"),A=require("./menu-B_Az9K_F.cjs"),U=require("./index-YSJ2XYuj.cjs"),G=require("./index.vue_vue_type_style_index_0_scoped_876d48c6_lang-Csg3VsXp.cjs"),R=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),b=require("./cloneDeep-BH_aXSAH.cjs"),L={class:"bread-content"},H=["onClick"],K={key:0},W={__name:"index",props:{breadArray:{type:Array,default:()=>[]}},emits:["click"],setup(y,{emit:_}){const n=y,d=e.ref([]),i=_;e.onMounted(()=>{d.value=n==null?void 0:n.breadArray});const m=g=>{i("click",g)};return(g,h)=>(e.openBlock(),e.createElementBlock("div",L,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(f,v)=>(e.openBlock(),e.createElementBlock("div",{key:v,class:"bread-item"},[e.createElementVNode("div",{class:"bread-title",onClick:E=>m(f)},e.toDisplayString(f.value),9,H),v!==d.value.length-1?(e.openBlock(),e.createElementBlock("div",K,e.toDisplayString("/"))):e.createCommentVNode("",!0)]))),128))]))}},Y=R._export_sfc(W,[["__scopeId","data-v-d55d3ede"]]);function z(y){const _=[],n={"(":")","{":"}","[":"]"};for(let d=0;d<y.length;d++){const i=y[d];if(n[i])_.push(i);else if(Object.values(n).includes(i)){const m=_.pop();if(console.log("stack",_,m,n[m]),n[m]!==i)return!1}}return _.length===0}function Q(y){var d,i,m,g;const _=(i=(d=y[0])==null?void 0:d.compData)==null?void 0:i.filter(h=>h.key!=="formContent"),n=(g=(m=y[0])==null?void 0:m.compData)==null?void 0:g.filter(h=>h.key==="formContent");console.log("handleFormModel:",_,n,y)}const X={class:"system-wrap"},Z={key:0,class:"show-content"},ee={key:0,class:"item-menu-content"},te={key:0,class:"item-view-group"},ne={__name:"index",props:{content:String,jsonContents:Array},emits:["change","contentChange"],setup(y,{emit:_}){const n=y,d=_,i=J.useModelComp(D.pinia);D.useFormToTableComp(D.pinia);const m=e.ref(!0),g=A.useMenuState(),h=e.ref(!0),{itemData:f}=A.storeToRefs(i),v=D.useUnit(D.pinia),{activeMenuPath:E,activeMenuOpenPaths:P,menuTriggerType:w,menus:V}=A.storeToRefs(g),{selectIndex:I,selectTitle:S}=A.storeToRefs(v),N=e.ref([]),k=e.ref([]),j=t=>{var a,l,o;const c=(a=f.value)==null?void 0:a.find(r=>r.name===E.value);k.value=(o=(l=c==null?void 0:c.compData)==null?void 0:l[0])==null?void 0:o.contents,h.value=!0,h.value&&(h.value=!1),d("change",{wholeValue:N.value,editValue:t})},F=t=>{var C,p,x;const c=b.cloneDeep(N.value),a=c==null?void 0:c.map((s,B)=>(B===(t==null?void 0:t.index)&&(s.compData=t==null?void 0:t.contents),s));let l="";(p=(C=b.cloneDeep(a))==null?void 0:C.filter(s=>(s==null?void 0:s.comp)==="Form"))==null||p.forEach(s=>{var B;(B=s==null?void 0:s.compData)==null||B.forEach(M=>{var T;(M==null?void 0:M.key)==="formContent"&&((T=M==null?void 0:M.contents)==null||T.forEach($=>{$.value!==""&&(l=l===""?$==null?void 0:$.value:l+"-"+($==null?void 0:$.value))}))})});let o=S==null?void 0:S.value;(o==null?void 0:o.length)>0?o[0]={key:"main",value:l}:(Array.isArray(o)||(o=[]),o.push({key:"main",value:l})),v.setSelectTitle(o),m.value=!1,N.value=a;const r=(x=f.value)==null?void 0:x.map((s,B)=>{var M;return s.name===E.value&&(s.compData=(M=s.compData)==null?void 0:M.map(T=>((T==null?void 0:T.key)==="groupContents"&&(T.contents=N.value),T))),s});i.setItemData(r),h.value&&(h.value=!1),d("contentChange",{wholeContent:f.value})},q=t=>{var c,a;if((t==null?void 0:t.key)==="main")v.setSelectIndex(""),v.setSelectMenu(""),v.setSelectTitle((c=S.value)==null?void 0:c[0]);else{const l=[];let o=-1;(a=S.value)==null||a.forEach((r,C)=>{(r==null?void 0:r.key)===(t==null?void 0:t.key)&&(o=C),(o===-1||o>=C)&&l.push(r)}),v.setSelectTitle(l),v.setSelectMenu(t==null?void 0:t.key)}};e.watch(()=>f.value,()=>{var c,a,l,o,r,C,p,x;if(!f.value||((c=f.value)==null?void 0:c.length)===0||!m.value)return;let t=null;if(!E.value)t=(l=(a=b.cloneDeep(f.value))==null?void 0:a.filter(s=>(s==null?void 0:s.comp)==="Group"))==null?void 0:l[0],g.setActiveMenuPath(t==null?void 0:t.name);else{const s=(o=b.cloneDeep(f.value))==null?void 0:o.filter(B=>(B==null?void 0:B.comp)==="Group");t=s==null?void 0:s.find(B=>B.name===E.value)}k.value=(C=(r=t==null?void 0:t.compData)==null?void 0:r[0])==null?void 0:C.contents,N.value=(x=(p=t==null?void 0:t.compData)==null?void 0:p[0])==null?void 0:x.contents,console.log("itemData监听",t,E.value,f.value)},{deep:!0,immediate:!0}),e.watch(()=>E.value,t=>{var c,a,l,o,r,C;if(t){const p=(c=b.cloneDeep(f.value))==null?void 0:c.find(x=>x.name===t);if(t&&p){k.value=(l=(a=p==null?void 0:p.compData)==null?void 0:a[0])==null?void 0:l.contents,N.value=(r=(o=p==null?void 0:p.compData)==null?void 0:o[0])==null?void 0:r.contents,console.log("点击-新-data:",t,k.value);const x=(C=k.value)==null?void 0:C.filter(s=>s.comp==="Form");Q(x)}else k.value=[],N.value=[];v.setSelectTitle([]),v.setSelectIndex(""),v.setSelectMenu("")}},{immediate:!0}),e.watch(()=>[n==null?void 0:n.content,n==null?void 0:n.jsonContents],()=>{var l;if(((l=n==null?void 0:n.jsonContents)==null?void 0:l.length)>0){i.setOriginalData(n==null?void 0:n.jsonContents),i.setItemData(n==null?void 0:n.jsonContents);return}if(!(n!=null&&n.content)||(n==null?void 0:n.content)==="")return;m.value=!0;let t;D.isExpandStringToJson(n==null?void 0:n.content)?t=D.expandStringToJson(n==null?void 0:n.content):t=G.expandNewStringToJson(n==null?void 0:n.content);const c=Array.isArray(t)&&(t==null?void 0:t.find(o=>{var r;return((r=o.comp)==null?void 0:r.toUpperCase())==="MENU"}));g.setRawMenu(c??{});const a=Array.isArray(t)&&(t==null?void 0:t.find(o=>{var r;return((r=o.comp)==null?void 0:r.toUpperCase())==="SYSTEM"}));g.setSystemKey((a==null?void 0:a.name)??""),i.setOriginalData(t),i.setItemData(t)},{deep:!0,immediate:!0});const u=t=>D.getComponent(t);return(t,c)=>{var a,l;return e.openBlock(),e.createElementBlock("div",X,[e.createVNode(U.default,{class:"sys-aside"}),((a=k.value)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("div",Z,[((l=e.unref(S))==null?void 0:l.length)>1?(e.openBlock(),e.createElementBlock("div",ee,[(e.openBlock(),e.createBlock(Y,{key:e.unref(S),breadArray:e.unref(S),onClick:q},null,8,["breadArray"]))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,(o,r)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:r},[e.unref(I)===""||r.toString()===e.unref(I)?(e.openBlock(),e.createElementBlock("div",te,e.toDisplayString(o.name),1)):e.createCommentVNode("",!0),e.unref(I)===""||r.toString()===e.unref(I)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u(o.comp)),{itemData:o==null?void 0:o.compData,childItemData:o==null?void 0:o.itemChildData,key:r,onChange:j,index:r,onContentChange:F},null,40,["itemData","childItemData","index"])):e.createCommentVNode("",!0)]))),128))])):e.createCommentVNode("",!0)])}}},oe=R._export_sfc(ne,[["__scopeId","data-v-38117cb6"]]),ae={class:"add-model-content"},le={key:0,class:"model-import-data"},ce={class:"import-button"},re={key:0},se={key:1,class:"model-operate"},ue={class:"model-select"},ie={class:"model-fill"},de={key:2,class:"model-view"},me={__name:"index",props:{mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0}},emits:["change","contentChange"],setup(y,{emit:_}){const n=y,d=_,i=e.ref(""),m=e.ref([]),g=e.ref(0),h=J.useModelComp(D.pinia),f=A.useMenuState(D.pinia),{itemData:v,originalData:E}=A.storeToRefs(h),{activeMenuPath:P}=A.storeToRefs(f),w=e.ref(null),V=e.ref(0),I=e.ref(""),S=u=>{d("contentChange",u)},N=u=>{var c;const t=(c=b.cloneDeep(u==null?void 0:u.wholeValue))==null?void 0:c.map(a=>{var l;return(a==null?void 0:a.comp)==="Form"&&(a.compData=(l=a.compData)==null?void 0:l.map(o=>((o==null?void 0:o.key)==="formContent"&&(o.contents=D.arrayToNumberArray(o==null?void 0:o.contents)),o))),a});d("change",{originalContents:E.value,currentContents:u==null?void 0:u.wholeValue,editContent:u==null?void 0:u.editValue,arrayToContents:t})},k=e.ref([]),j=()=>{w.value.click()},F=u=>{const t=u.target.files[0];if(!t)return;const c=new FileReader;c.onload=a=>{try{i.value=a.target.result;const l=z(a.target.result);console.log("handleFileChange-isValid",l),k.value=q(a.target.result),V.value++}catch(l){console.error("解析失败:",l)}},c.onerror=a=>{console.error("文件读取错误:",a)},c.readAsText(t)};e.watch(()=>[n==null?void 0:n.content,n==null?void 0:n.jsonContents],()=>{i.value=n==null?void 0:n.content,m.value=n==null?void 0:n.jsonContents},{deep:!0,immediate:!0}),e.watch(()=>V.value,()=>{var u;((u=k.value)==null?void 0:u.length)!==0&&(h.setOriginalData(k.value),h.setItemData(k.value))},{deep:!0,immediate:!0});const q=u=>{let t=u.replace(/,/g,",").replace(/;/g,";").replace(/:/g,":");t=t.replace(/(\w+)\s*:/g,"$1:"),t=t.replace(/\r\n/g,"").replace(/\n/g,"").replace(/\t/g,"").replace(/\s+/g," ").trim(),t=t.replace(/,\s*([}\]])/g,"$1"),t=t.replace(/:(\s*)([^"{}\[\],\s]+)(\s*)([,}])/g,": $2$4");try{return JSON.parse(t)}catch(c){try{const l=new Function(`return ${t}`)();if(Array.isArray(l)||typeof l=="object")return l;throw new Error(`解析结果不是有效的数组或对象: ${c}`)}catch(a){throw new Error(`无法解析JSON: ${a.message}`)}}};return(u,t)=>{var c;return e.openBlock(),e.createElementBlock("div",ae,[((c=n==null?void 0:n.jsonContents)==null?void 0:c.length)===0&&(n!=null&&n.showButton)?(e.openBlock(),e.createElementBlock("div",le,[e.createElementVNode("div",ce,[e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:w,accept:".txt",onChange:F,style:{display:"none"}},null,544),e.createElementVNode("button",{onClick:j,class:"import-button-content"},"导入文件"),I.value?(e.openBlock(),e.createElementBlock("span",re,e.toDisplayString(I.value),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(n==null?void 0:n.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:g.value},[e.createVNode(O.modelShow)])),e.createElementVNode("div",ie,[e.createVNode(O.modelFill)])])):e.createCommentVNode("",!0),(n==null?void 0:n.mode)==="view"?(e.openBlock(),e.createElementBlock("div",de,[(e.openBlock(),e.createBlock(oe,{content:i.value,onChange:N,jsonContents:m.value,onContentChange:S,key:g.value},null,8,["content","jsonContents"]))])):e.createCommentVNode("",!0)])}}},fe=R._export_sfc(me,[["__scopeId","data-v-876d48c6"]]);exports.default=fe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),O=require("./index-Bk6z8NoT.cjs"),D=require("./array-D8U2pGTC.cjs"),J=require("./modelComp-DAsVXKA0.cjs"),A=require("./menu-B_Az9K_F.cjs"),U=require("./index-CPAniSJJ.cjs"),G=require("./index.vue_vue_type_style_index_0_scoped_876d48c6_lang-BufoMCSS.cjs"),R=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),b=require("./cloneDeep-8zu2YtRV.cjs"),L={class:"bread-content"},H=["onClick"],K={key:0},W={__name:"index",props:{breadArray:{type:Array,default:()=>[]}},emits:["click"],setup(y,{emit:_}){const n=y,d=e.ref([]),i=_;e.onMounted(()=>{d.value=n==null?void 0:n.breadArray});const m=g=>{i("click",g)};return(g,h)=>(e.openBlock(),e.createElementBlock("div",L,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(f,v)=>(e.openBlock(),e.createElementBlock("div",{key:v,class:"bread-item"},[e.createElementVNode("div",{class:"bread-title",onClick:E=>m(f)},e.toDisplayString(f.value),9,H),v!==d.value.length-1?(e.openBlock(),e.createElementBlock("div",K,e.toDisplayString("/"))):e.createCommentVNode("",!0)]))),128))]))}},Y=R._export_sfc(W,[["__scopeId","data-v-d55d3ede"]]);function z(y){const _=[],n={"(":")","{":"}","[":"]"};for(let d=0;d<y.length;d++){const i=y[d];if(n[i])_.push(i);else if(Object.values(n).includes(i)){const m=_.pop();if(console.log("stack",_,m,n[m]),n[m]!==i)return!1}}return _.length===0}function Q(y){var d,i,m,g;const _=(i=(d=y[0])==null?void 0:d.compData)==null?void 0:i.filter(h=>h.key!=="formContent"),n=(g=(m=y[0])==null?void 0:m.compData)==null?void 0:g.filter(h=>h.key==="formContent");console.log("handleFormModel:",_,n,y)}const X={class:"system-wrap"},Z={key:0,class:"show-content"},ee={key:0,class:"item-menu-content"},te={key:0,class:"item-view-group"},ne={__name:"index",props:{content:String,jsonContents:Array},emits:["change","contentChange"],setup(y,{emit:_}){const n=y,d=_,i=J.useModelComp(D.pinia);D.useFormToTableComp(D.pinia);const m=e.ref(!0),g=A.useMenuState(),h=e.ref(!0),{itemData:f}=A.storeToRefs(i),v=D.useUnit(D.pinia),{activeMenuPath:E,activeMenuOpenPaths:P,menuTriggerType:w,menus:V}=A.storeToRefs(g),{selectIndex:I,selectTitle:S}=A.storeToRefs(v),N=e.ref([]),k=e.ref([]),j=t=>{var a,l,o;const c=(a=f.value)==null?void 0:a.find(r=>r.name===E.value);k.value=(o=(l=c==null?void 0:c.compData)==null?void 0:l[0])==null?void 0:o.contents,h.value=!0,h.value&&(h.value=!1),d("change",{wholeValue:N.value,editValue:t})},F=t=>{var C,p,x;const c=b.cloneDeep(N.value),a=c==null?void 0:c.map((s,B)=>(B===(t==null?void 0:t.index)&&(s.compData=t==null?void 0:t.contents),s));let l="";(p=(C=b.cloneDeep(a))==null?void 0:C.filter(s=>(s==null?void 0:s.comp)==="Form"))==null||p.forEach(s=>{var B;(B=s==null?void 0:s.compData)==null||B.forEach(M=>{var T;(M==null?void 0:M.key)==="formContent"&&((T=M==null?void 0:M.contents)==null||T.forEach($=>{$.value!==""&&(l=l===""?$==null?void 0:$.value:l+"-"+($==null?void 0:$.value))}))})});let o=S==null?void 0:S.value;(o==null?void 0:o.length)>0?o[0]={key:"main",value:l}:(Array.isArray(o)||(o=[]),o.push({key:"main",value:l})),v.setSelectTitle(o),m.value=!1,N.value=a;const r=(x=f.value)==null?void 0:x.map((s,B)=>{var M;return s.name===E.value&&(s.compData=(M=s.compData)==null?void 0:M.map(T=>((T==null?void 0:T.key)==="groupContents"&&(T.contents=N.value),T))),s});i.setItemData(r),h.value&&(h.value=!1),d("contentChange",{wholeContent:f.value})},q=t=>{var c,a;if((t==null?void 0:t.key)==="main")v.setSelectIndex(""),v.setSelectMenu(""),v.setSelectTitle((c=S.value)==null?void 0:c[0]);else{const l=[];let o=-1;(a=S.value)==null||a.forEach((r,C)=>{(r==null?void 0:r.key)===(t==null?void 0:t.key)&&(o=C),(o===-1||o>=C)&&l.push(r)}),v.setSelectTitle(l),v.setSelectMenu(t==null?void 0:t.key)}};e.watch(()=>f.value,()=>{var c,a,l,o,r,C,p,x;if(!f.value||((c=f.value)==null?void 0:c.length)===0||!m.value)return;let t=null;if(!E.value)t=(l=(a=b.cloneDeep(f.value))==null?void 0:a.filter(s=>(s==null?void 0:s.comp)==="Group"))==null?void 0:l[0],g.setActiveMenuPath(t==null?void 0:t.name);else{const s=(o=b.cloneDeep(f.value))==null?void 0:o.filter(B=>(B==null?void 0:B.comp)==="Group");t=s==null?void 0:s.find(B=>B.name===E.value)}k.value=(C=(r=t==null?void 0:t.compData)==null?void 0:r[0])==null?void 0:C.contents,N.value=(x=(p=t==null?void 0:t.compData)==null?void 0:p[0])==null?void 0:x.contents,console.log("itemData监听",t,E.value,f.value)},{deep:!0,immediate:!0}),e.watch(()=>E.value,t=>{var c,a,l,o,r,C;if(t){const p=(c=b.cloneDeep(f.value))==null?void 0:c.find(x=>x.name===t);if(t&&p){k.value=(l=(a=p==null?void 0:p.compData)==null?void 0:a[0])==null?void 0:l.contents,N.value=(r=(o=p==null?void 0:p.compData)==null?void 0:o[0])==null?void 0:r.contents,console.log("点击-新-data:",t,k.value);const x=(C=k.value)==null?void 0:C.filter(s=>s.comp==="Form");Q(x)}else k.value=[],N.value=[];v.setSelectTitle([]),v.setSelectIndex(""),v.setSelectMenu("")}},{immediate:!0}),e.watch(()=>[n==null?void 0:n.content,n==null?void 0:n.jsonContents],()=>{var l;if(((l=n==null?void 0:n.jsonContents)==null?void 0:l.length)>0){i.setOriginalData(n==null?void 0:n.jsonContents),i.setItemData(n==null?void 0:n.jsonContents);return}if(!(n!=null&&n.content)||(n==null?void 0:n.content)==="")return;m.value=!0;let t;D.isExpandStringToJson(n==null?void 0:n.content)?t=D.expandStringToJson(n==null?void 0:n.content):t=G.expandNewStringToJson(n==null?void 0:n.content);const c=Array.isArray(t)&&(t==null?void 0:t.find(o=>{var r;return((r=o.comp)==null?void 0:r.toUpperCase())==="MENU"}));g.setRawMenu(c??{});const a=Array.isArray(t)&&(t==null?void 0:t.find(o=>{var r;return((r=o.comp)==null?void 0:r.toUpperCase())==="SYSTEM"}));g.setSystemKey((a==null?void 0:a.name)??""),i.setOriginalData(t),i.setItemData(t)},{deep:!0,immediate:!0});const u=t=>D.getComponent(t);return(t,c)=>{var a,l;return e.openBlock(),e.createElementBlock("div",X,[e.createVNode(U.default,{class:"sys-aside"}),((a=k.value)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("div",Z,[((l=e.unref(S))==null?void 0:l.length)>1?(e.openBlock(),e.createElementBlock("div",ee,[(e.openBlock(),e.createBlock(Y,{key:e.unref(S),breadArray:e.unref(S),onClick:q},null,8,["breadArray"]))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,(o,r)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:r},[e.unref(I)===""||r.toString()===e.unref(I)?(e.openBlock(),e.createElementBlock("div",te,e.toDisplayString(o.name),1)):e.createCommentVNode("",!0),e.unref(I)===""||r.toString()===e.unref(I)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u(o.comp)),{itemData:o==null?void 0:o.compData,childItemData:o==null?void 0:o.itemChildData,key:r,onChange:j,index:r,onContentChange:F},null,40,["itemData","childItemData","index"])):e.createCommentVNode("",!0)]))),128))])):e.createCommentVNode("",!0)])}}},oe=R._export_sfc(ne,[["__scopeId","data-v-38117cb6"]]),ae={class:"add-model-content"},le={key:0,class:"model-import-data"},ce={class:"import-button"},re={key:0},se={key:1,class:"model-operate"},ue={class:"model-select"},ie={class:"model-fill"},de={key:2,class:"model-view"},me={__name:"index",props:{mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0}},emits:["change","contentChange"],setup(y,{emit:_}){const n=y,d=_,i=e.ref(""),m=e.ref([]),g=e.ref(0),h=J.useModelComp(D.pinia),f=A.useMenuState(D.pinia),{itemData:v,originalData:E}=A.storeToRefs(h),{activeMenuPath:P}=A.storeToRefs(f),w=e.ref(null),V=e.ref(0),I=e.ref(""),S=u=>{d("contentChange",u)},N=u=>{var c;const t=(c=b.cloneDeep(u==null?void 0:u.wholeValue))==null?void 0:c.map(a=>{var l;return(a==null?void 0:a.comp)==="Form"&&(a.compData=(l=a.compData)==null?void 0:l.map(o=>((o==null?void 0:o.key)==="formContent"&&(o.contents=D.arrayToNumberArray(o==null?void 0:o.contents)),o))),a});d("change",{originalContents:E.value,currentContents:u==null?void 0:u.wholeValue,editContent:u==null?void 0:u.editValue,arrayToContents:t})},k=e.ref([]),j=()=>{w.value.click()},F=u=>{const t=u.target.files[0];if(!t)return;const c=new FileReader;c.onload=a=>{try{i.value=a.target.result;const l=z(a.target.result);console.log("handleFileChange-isValid",l),k.value=q(a.target.result),V.value++}catch(l){console.error("解析失败:",l)}},c.onerror=a=>{console.error("文件读取错误:",a)},c.readAsText(t)};e.watch(()=>[n==null?void 0:n.content,n==null?void 0:n.jsonContents],()=>{i.value=n==null?void 0:n.content,m.value=n==null?void 0:n.jsonContents},{deep:!0,immediate:!0}),e.watch(()=>V.value,()=>{var u;((u=k.value)==null?void 0:u.length)!==0&&(h.setOriginalData(k.value),h.setItemData(k.value))},{deep:!0,immediate:!0});const q=u=>{let t=u.replace(/,/g,",").replace(/;/g,";").replace(/:/g,":");t=t.replace(/(\w+)\s*:/g,"$1:"),t=t.replace(/\r\n/g,"").replace(/\n/g,"").replace(/\t/g,"").replace(/\s+/g," ").trim(),t=t.replace(/,\s*([}\]])/g,"$1"),t=t.replace(/:(\s*)([^"{}\[\],\s]+)(\s*)([,}])/g,": $2$4");try{return JSON.parse(t)}catch(c){try{const l=new Function(`return ${t}`)();if(Array.isArray(l)||typeof l=="object")return l;throw new Error(`解析结果不是有效的数组或对象: ${c}`)}catch(a){throw new Error(`无法解析JSON: ${a.message}`)}}};return(u,t)=>{var c;return e.openBlock(),e.createElementBlock("div",ae,[((c=n==null?void 0:n.jsonContents)==null?void 0:c.length)===0&&(n!=null&&n.showButton)?(e.openBlock(),e.createElementBlock("div",le,[e.createElementVNode("div",ce,[e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:w,accept:".txt",onChange:F,style:{display:"none"}},null,544),e.createElementVNode("button",{onClick:j,class:"import-button-content"},"导入文件"),I.value?(e.openBlock(),e.createElementBlock("span",re,e.toDisplayString(I.value),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(n==null?void 0:n.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:g.value},[e.createVNode(O.modelShow)])),e.createElementVNode("div",ie,[e.createVNode(O.modelFill)])])):e.createCommentVNode("",!0),(n==null?void 0:n.mode)==="view"?(e.openBlock(),e.createElementBlock("div",de,[(e.openBlock(),e.createBlock(oe,{content:i.value,onChange:N,jsonContents:m.value,onContentChange:S,key:g.value},null,8,["content","jsonContents"]))])):e.createCommentVNode("",!0)])}}},fe=R._export_sfc(me,[["__scopeId","data-v-876d48c6"]]);exports.default=fe;
@@ -1,4 +1,4 @@
1
- "use strict";const C=require("./array-DQ6meJk7.cjs"),R=require("vue"),l=require("./cloneDeep-BH_aXSAH.cjs"),w=R.ref(0),X=e=>{let c;e.includes(`\r
1
+ "use strict";const C=require("./array-D8U2pGTC.cjs"),R=require("vue"),l=require("./cloneDeep-8zu2YtRV.cjs"),w=R.ref(0),X=e=>{let c;e.includes(`\r
2
2
  `)?c=e.split(`\r
3
3
  `).filter(t=>t.trim()!==""):c=e.split(`
4
4
  `).filter(t=>t.trim()!=="");const p=[];let r="";for(const t of c)t.includes("{")||r.includes("{")||t.includes("[")||r.includes("[")||t.includes("【")||r.includes("【")||t.includes("(")||r.includes("(")||t.includes("(")||r.includes("(")||t.includes("/*")||r.includes("/*")?(r+=t.trim(),l.cloneDeep(r).split("{").length-1===l.cloneDeep(r).split("}").length-1&&l.cloneDeep(r).split("【").length-1===l.cloneDeep(r).split("】").length-1&&l.cloneDeep(r).split("[").length-1===l.cloneDeep(r).split("]").length-1&&l.cloneDeep(r).split("(").length-1===l.cloneDeep(r).split(")").length-1&&l.cloneDeep(r).split("(").length-1===l.cloneDeep(r).split(")").length-1&&l.cloneDeep(r).split("/*").length-1===l.cloneDeep(r).split("*/").length-1&&(p.push(r),r="")):p.push(t.trim());return p},Y=e=>{const[c,p]=e.split(/=(.+)/),r=c.replace(/['"]/g,"").trim(),t=p.replace(/^['"]|['"]$/g,"");return{key:r,value:t}},G=e=>{try{return JSON.parse(e),!0}catch{return!1}},K=e=>{try{const c=e.replace(/[’]|[‘]|[']/g,'"').replace(/,/g,",").replace(/:/g,":").replace(/:\s*(?=,|}|$)/g,': ""');if(l.cloneDeep(c).split("{").length-1>1){let p=l.cloneDeep(c).replace(/^\{(.*)\}$/,"[$1]");if(G(p)&&!p.includes("$")||(p=p.replace(/"([^"]+)"\$([\w\u4e00-\u9fa5]+\([^)]*\))/g,'"$1$$$2"')),G(p)){const r=JSON.parse(p);let t=[];return r==null||r.forEach(u=>{var f;(f=Object.entries(l.cloneDeep(u)))==null||f.forEach(i=>{w.value++,t.push({id:w.value,key:(i==null?void 0:i[0])??"",value:(i==null?void 0:i[1])===""?"":i==null?void 0:i[1],width:Object.keys(l.cloneDeep(u)).length})})}),t}else return console.error("转换类型不正确:"),[]}else if(G(c)){const p=JSON.parse(c);return Object.entries(p).map(([r,t])=>(w.value++,{id:w.value,key:r,value:t===""?"":t,width:1}))}else return c}catch(c){return console.error("转换失败:",c),[]}},Z=(e,c)=>{var p;try{if((p=C.viewMainDict)!=null&&p.find(r=>(r==null?void 0:r.key)===c))return e.replace(/['"]/g,"").trim();if(l.cloneDeep(e).split("[").length-1>1){const r=l.cloneDeep(e).replace(/[’]|[‘]|[']/g,'"').replaceAll(/,/g,",").replaceAll("(","[").replaceAll(")","]").replaceAll("],]","]]");return JSON.parse(r)}else{const r=l.cloneDeep(e).replace(/[’]|[‘]|[']/g,'"').replace(/,/g,",");if(G(r)){const t=JSON.parse(r);return Array.isArray(t)?t.map(u=>({label:u})):t}else return K(l.cloneDeep(e))}}catch(r){return console.error("解析失败:",r),e}},_=e=>({[e==null?void 0:e.key]:Z(e==null?void 0:e.value,e==null?void 0:e.key)}),S=e=>{try{if(l.cloneDeep(e).split("[").length-1>1){const c=l.cloneDeep(e).replace(/[’]|[‘]|[']/g,'"').replaceAll(/,/g,",").replaceAll("(","[").replaceAll(")","]").replaceAll("],]","]]");return JSON.parse(c)}else return JSON.parse(l.cloneDeep(e).replace(/[’]|[‘]|[']/g,'"').replace(/,/g,",")).map(p=>({label:p}))}catch(c){return console.error("解析失败:",c),e}},v=e=>{const c=e.match(/\(([^)]+)\)/);return c?c[1]:""},ee=e=>{const c=e.match(/^([^(]+)\s*\(/);return c?c[1].trim():e},B=e=>e.replace(/'/g,"").replace(/"/g,"").replace(/{|}/g,"").split(":").map(c=>c.trim()).filter(c=>c).join("/"),re=e=>{var f,i;let c=[],p=[];const r=(f=l.cloneDeep(e))==null?void 0:f.map(d=>d==null?void 0:d.key),t=[...new Set((i=l.cloneDeep(r))==null?void 0:i.map(d=>v(d)))];t==null||t.forEach(d=>{let A=e==null?void 0:e.filter(o=>o.key.includes(d));A==null||A.forEach(o=>{o!=null&&o.key.includes("Menus")&&(c.push({key:"GroupName",value:B(o==null?void 0:o.value)}),p.push(B(o==null?void 0:o.value)))});let U=e==null?void 0:e.filter(o=>o.key.includes(d)&&!(o!=null&&o.key.includes("Menus")));U=U==null?void 0:U.map(o=>(o.key=ee(o.key),o));const x={key:"GroupContents",value:U};c.push(x)});const u={key:"Menus",value:p};return c.unshift(u),c},Q=e=>{var c,p;if(Array.isArray(Object.keys(e))&&((c=Object.keys(e))==null?void 0:c.length)>0){let r=[];return(p=Object.entries(e))==null||p.forEach(([t,u])=>{var i,d;let f=[];if(f.push(t),((i=Object.keys(u))==null?void 0:i.length)>0){let A=[];A.push((d=Q(u))==null?void 0:d[0]),f.push(A==null?void 0:A[0])}r.push(f)}),r}},te=(e,c)=>{var r;let p=c;return Array.isArray(Object.keys(e))&&((r=Object.entries(e))==null||r.forEach(([t,u])=>{let f=[t];if(typeof u=="object"&&u!==null){let i=Q(u);i==null||i.forEach(d=>{f.push(d)})}p.push(f)})),p},ce=e=>{const c={};return e.forEach(r=>{const t=r.split("/");let u=c;t.forEach(f=>{u[f]||(u[f]={}),u=u[f]})}),te(c,[])},se=e=>ce(e),le=e=>{var f,i,d,A,U,x,o;const c=X((i=(f=l.cloneDeep(e))==null?void 0:f.replace("(","("))==null?void 0:i.replace(")",")")),p=(A=(d=l.cloneDeep(c))==null?void 0:d.filter(s=>!s.includes("/*")))==null?void 0:A.map(s=>Y(s)),r=re(p),t=[];(U=l.cloneDeep(r))==null||U.forEach(s=>{var $,n,a,g,k,E,J,M,N;($=C.viewMainDict)!=null&&$.find(y=>{var D,m;return((D=y==null?void 0:y.key)==null?void 0:D.toUpperCase())===((m=s==null?void 0:s.key)==null?void 0:m.toUpperCase())})?t.push({comp:((a=(n=C.viewMainDict)==null?void 0:n.find(y=>{var D,m;return((D=y==null?void 0:y.key)==null?void 0:D.toUpperCase())===((m=s==null?void 0:s.key)==null?void 0:m.toUpperCase())}))==null?void 0:a.value)??"",name:(g=s==null?void 0:s.value)==null?void 0:g.replace(/[’]|[‘]|[']/g,""),compData:[]}):(k=C.viewChildDict)!=null&&k.find(y=>{var D,m;return((D=y==null?void 0:y.key)==null?void 0:D.toUpperCase())===((m=s==null?void 0:s.key)==null?void 0:m.toUpperCase())})&&((t==null?void 0:t.length)===0&&(E=s.key)!=null&&E.includes("Menus")&&t.push({comp:"Menu",name:"",compData:[]}),(J=t==null?void 0:t[(t==null?void 0:t.length)-1])!=null&&J.compData&&t[(t==null?void 0:t.length)-1].compData.push({key:(N=(M=C.viewChildDict)==null?void 0:M.find(y=>{var D,m;return((D=y==null?void 0:y.key)==null?void 0:D.toUpperCase())===((m=s==null?void 0:s.key)==null?void 0:m.toUpperCase())}))==null?void 0:N.value,contents:s==null?void 0:s.value}))});let u=(x=l.cloneDeep(t))==null?void 0:x.map(s=>{var $;return s!=null&&s.compData&&(s.compData=($=s==null?void 0:s.compData)==null?void 0:$.map(n=>{var a,g,k,E,J,M,N,y,D,m,T;if((n==null?void 0:n.key)==="formFlex")n.contents=((g=(a=n.contents)==null?void 0:a.replace(/[’]|[‘]|[']/g,""))==null?void 0:g.toUpperCase())!=="Vertical".toUpperCase();else if((n==null?void 0:n.key)==="groupContents")n.contents=(k=l.cloneDeep(n.contents))==null?void 0:k.map(P=>_(l.cloneDeep(P)));else if(Array.isArray(n==null?void 0:n.contents))n.contents=se(n.contents);else if(((J=(E=n==null?void 0:n.contents)==null?void 0:E.trim())!=null&&J.startsWith("[")||(N=(M=n.contents)==null?void 0:M.trim())!=null&&N.startsWith("【"))&&((D=(y=n.contents)==null?void 0:y.trim())!=null&&D.endsWith("]")||(T=(m=n.contents)==null?void 0:m.trim())!=null&&T.endsWith("】")))n.contents=S(l.cloneDeep(n.contents));else{if(!n.contents)return;n.contents=K(l.cloneDeep(n.contents))}return n})),s});return u=(o=l.cloneDeep(u))==null?void 0:o.map(s=>{var $;return(s==null?void 0:s.comp)==="Group"&&(s.compData=($=s.compData)==null?void 0:$.map(n=>{var g;let a=[];return(g=n.contents)==null||g.forEach(k=>{var E,J,M,N,y,D,m,T,P,L,V,W,q,I,F,H,z;if((E=C.viewMainDict)!=null&&E.find(h=>{var b,O,j;return((b=h==null?void 0:h.key)==null?void 0:b.toUpperCase())===((j=(O=Object.keys(k))==null?void 0:O[0])==null?void 0:j.toUpperCase())}))a.push({comp:(M=(J=C.viewMainDict)==null?void 0:J.find(h=>{var b,O,j;return((b=h==null?void 0:h.key)==null?void 0:b.toUpperCase())===((j=(O=Object.keys(k))==null?void 0:O[0])==null?void 0:j.toUpperCase())}))==null?void 0:M.value,name:(y=(N=Object.values(k))==null?void 0:N[0])==null?void 0:y.replace(/[’]|[‘]|[']/g,""),compData:[]});else if((D=C.viewChildDict)!=null&&D.find(h=>{var b,O,j;return((b=h==null?void 0:h.key)==null?void 0:b.toUpperCase())===((j=(O=Object.keys(k))==null?void 0:O[0])==null?void 0:j.toUpperCase())})){if((a==null?void 0:a.length)===0)return;(m=a==null?void 0:a[(a==null?void 0:a.length)-1])!=null&&m.compData&&a[(a==null?void 0:a.length)-1].compData.push({key:(P=(T=C.viewChildDict)==null?void 0:T.find(h=>{var b,O,j;return((b=h==null?void 0:h.key)==null?void 0:b.toUpperCase())===((j=(O=Object.keys(k))==null?void 0:O[0])==null?void 0:j.toUpperCase())}))==null?void 0:P.value,contents:(L=Object.values(k))==null?void 0:L[0]})}else if((W=(V=Object.keys(k))==null?void 0:V[0])!=null&&W.includes("$")){const h=(I=(q=Object.keys(l.cloneDeep(k)))==null?void 0:q[0])==null?void 0:I.split("$");a[(a==null?void 0:a.length)-1].compData.push({key:(H=(F=C.viewChildDict)==null?void 0:F.find(b=>{var O,j;return((O=b==null?void 0:b.key)==null?void 0:O.toUpperCase())===((j=h==null?void 0:h[0])==null?void 0:j.toUpperCase())}))==null?void 0:H.value,contents:(z=Object.values(k))==null?void 0:z[0],selectLabel:h==null?void 0:h[1]})}return k}),n.contents=a,n})),s}),u};exports.expandNewStringToJson=le;
@@ -1,6 +1,6 @@
1
- import { v as M, c as x } from "./array-Dsurpc08.js";
1
+ import { v as M, c as x } from "./array-D2zrIzej.js";
2
2
  import { ref as Y } from "vue";
3
- import { c as l } from "./cloneDeep-MKlVykeI.js";
3
+ import { c as l } from "./cloneDeep-DuEirD61.js";
4
4
  const L = Y(0), Z = (e) => {
5
5
  let s;
6
6
  e.includes(`\r
@@ -1 +1 @@
1
- "use strict";const t=require("vue"),f=require("./index-zIb6b0kg.cjs"),g=require("./menu-B_Az9K_F.cjs"),F=require("./modelComp-DAsVXKA0.cjs"),A=require("./cloneDeep-BH_aXSAH.cjs"),y=t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-sjmLPf8w.cjs")));y.install=c=>{c.component("ssMenu",y)};const R={__name:"index",props:{name:String},setup(c){const p=c,m=t.computed(()=>f.ElIcons[p.name]);return t.onMounted(()=>{const d=Object.keys(f.ElIcons);console.log("iconComponent",m.value,p.name,f.ElIcons,d)}),(d,b)=>{const h=t.resolveComponent("el-icon");return t.openBlock(),t.createBlock(h,null,{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(m.value)))]),_:1})}}},$=t.defineComponent({name:"menu",components:{ssMenu:y,DynamicIcon:R},setup(){const c=g.useMenuState(),p=F.useModelComp(),{rawMenu:m,menuTriggerType:d}=g.storeToRefs(c),{itemData:b}=g.storeToRefs(p),h=t.ref([]);let M;(e=>{e[e.Menu=0]="Menu",e[e.FolderOpened=1]="FolderOpened"})(M||(M={}));const T=e=>{let n=[],s=[];return e==null||e.forEach(r=>{n=_(r,s)}),console.log("splitMenu",n),n},_=(e,n)=>{const s=n,r=[];e==null||e.forEach(o=>{Array.isArray(o)?r.push({children:_(o,[])}):r.push({title:o})});let u=r.reduce((o,a)=>(Object.entries(a).forEach(([l,i])=>{o[l]===void 0?i!=null&&i.title?o[l]=[i]:o[l]=i:(Array.isArray(o[l])||(o[l]=[{title:o[l]}]),i!=null&&i.title||Array.isArray(i)?o[l].push(i):o[l].push({title:i}))}),o),{});return u=D(A.cloneDeep(u)),s.push(u),Array.isArray(s)&&(s==null?void 0:s.length)>1?s:s==null?void 0:s[0]},D=e=>{var n,s,r;return Array.isArray(e==null?void 0:e.title)&&((n=e==null?void 0:e.title)==null?void 0:n.length)===((r=(s=e==null?void 0:e.title)==null?void 0:s.filter(u=>u.title))==null?void 0:r.length)?e==null?void 0:e.title:Array.isArray(e==null?void 0:e.children)?E(e):e},E=e=>{var s;const n=e;return n.children=(s=n.children)==null?void 0:s.map(r=>{var u;return(u=r==null?void 0:r.title)!=null&&u.children?r==null?void 0:r.title:r}),n},v=(e,n="",s=0)=>{var o;const r=A.cloneDeep(b.value),u=(o=r==null?void 0:r.filter(a=>{var l;return((l=a.comp)==null?void 0:l.toUpperCase())==="GROUP"}))==null?void 0:o.map(a=>a.name);return e==null?void 0:e.map(a=>{const l=n?`${n}/${a.title}`:a.title,i={...a,path:l,level:s,icon:M[`${s}`],carryData:u==null?void 0:u.includes(l)};return a.children&&a.children.length>0&&(i.children=v(a.children,l,s+1)),i})},C=t.computed(()=>{const e=v(h.value);return console.log("temps",e),c.setMenus(e),e}),q=e=>{console.log("clickMenu",e),c.setMenuTriggerType("click"),c.setActiveMenuPath(e==null?void 0:e.path)},O=e=>{d.value==="click"?c.setActiveMenuPath(e):c.setMenuTriggerType("click")},P=e=>{c.setActiveMenuPath(e)},S=t.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"}]),B=()=>{var n;const e=document.documentElement;(n=S.value)==null||n.forEach(s=>{e.style.setProperty(s.name,s.value)})};return t.onMounted(()=>{}),t.watch(()=>m.value,e=>{var n,s,r;if(e){const u=(r=(s=(n=A.cloneDeep(e))==null?void 0:n.compData)==null?void 0:s[0])==null?void 0:r.contents;h.value=T(u),console.log("rawMenu",C.value)}else c.setActiveMenuPath("")},{immediate:!0}),{renderMenuList:C,clickMenu:q,openMenu:O,closeMenu:P,changeMenuStyle:B}}});exports._sfc_main=$;
1
+ "use strict";const t=require("vue"),f=require("./index-DADq4uib.cjs"),g=require("./menu-B_Az9K_F.cjs"),F=require("./modelComp-DAsVXKA0.cjs"),A=require("./cloneDeep-8zu2YtRV.cjs"),y=t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-sjmLPf8w.cjs")));y.install=c=>{c.component("ssMenu",y)};const R={__name:"index",props:{name:String},setup(c){const p=c,m=t.computed(()=>f.ElIcons[p.name]);return t.onMounted(()=>{const d=Object.keys(f.ElIcons);console.log("iconComponent",m.value,p.name,f.ElIcons,d)}),(d,b)=>{const h=t.resolveComponent("el-icon");return t.openBlock(),t.createBlock(h,null,{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(m.value)))]),_:1})}}},$=t.defineComponent({name:"menu",components:{ssMenu:y,DynamicIcon:R},setup(){const c=g.useMenuState(),p=F.useModelComp(),{rawMenu:m,menuTriggerType:d}=g.storeToRefs(c),{itemData:b}=g.storeToRefs(p),h=t.ref([]);let M;(e=>{e[e.Menu=0]="Menu",e[e.FolderOpened=1]="FolderOpened"})(M||(M={}));const T=e=>{let n=[],s=[];return e==null||e.forEach(r=>{n=_(r,s)}),console.log("splitMenu",n),n},_=(e,n)=>{const s=n,r=[];e==null||e.forEach(o=>{Array.isArray(o)?r.push({children:_(o,[])}):r.push({title:o})});let u=r.reduce((o,a)=>(Object.entries(a).forEach(([l,i])=>{o[l]===void 0?i!=null&&i.title?o[l]=[i]:o[l]=i:(Array.isArray(o[l])||(o[l]=[{title:o[l]}]),i!=null&&i.title||Array.isArray(i)?o[l].push(i):o[l].push({title:i}))}),o),{});return u=D(A.cloneDeep(u)),s.push(u),Array.isArray(s)&&(s==null?void 0:s.length)>1?s:s==null?void 0:s[0]},D=e=>{var n,s,r;return Array.isArray(e==null?void 0:e.title)&&((n=e==null?void 0:e.title)==null?void 0:n.length)===((r=(s=e==null?void 0:e.title)==null?void 0:s.filter(u=>u.title))==null?void 0:r.length)?e==null?void 0:e.title:Array.isArray(e==null?void 0:e.children)?E(e):e},E=e=>{var s;const n=e;return n.children=(s=n.children)==null?void 0:s.map(r=>{var u;return(u=r==null?void 0:r.title)!=null&&u.children?r==null?void 0:r.title:r}),n},v=(e,n="",s=0)=>{var o;const r=A.cloneDeep(b.value),u=(o=r==null?void 0:r.filter(a=>{var l;return((l=a.comp)==null?void 0:l.toUpperCase())==="GROUP"}))==null?void 0:o.map(a=>a.name);return e==null?void 0:e.map(a=>{const l=n?`${n}/${a.title}`:a.title,i={...a,path:l,level:s,icon:M[`${s}`],carryData:u==null?void 0:u.includes(l)};return a.children&&a.children.length>0&&(i.children=v(a.children,l,s+1)),i})},C=t.computed(()=>{const e=v(h.value);return console.log("temps",e),c.setMenus(e),e}),q=e=>{console.log("clickMenu",e),c.setMenuTriggerType("click"),c.setActiveMenuPath(e==null?void 0:e.path)},O=e=>{d.value==="click"?c.setActiveMenuPath(e):c.setMenuTriggerType("click")},P=e=>{c.setActiveMenuPath(e)},S=t.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"}]),B=()=>{var n;const e=document.documentElement;(n=S.value)==null||n.forEach(s=>{e.style.setProperty(s.name,s.value)})};return t.onMounted(()=>{}),t.watch(()=>m.value,e=>{var n,s,r;if(e){const u=(r=(s=(n=A.cloneDeep(e))==null?void 0:n.compData)==null?void 0:s[0])==null?void 0:r.contents;h.value=T(u),console.log("rawMenu",C.value)}else c.setActiveMenuPath("")},{immediate:!0}),{renderMenuList:C,clickMenu:q,openMenu:O,closeMenu:P,changeMenuStyle:B}}});exports._sfc_main=$;
@@ -1,8 +1,8 @@
1
1
  import { defineAsyncComponent as U, computed as D, onMounted as O, resolveComponent as G, createBlock as v, openBlock as C, withCtx as I, resolveDynamicComponent as N, defineComponent as k, ref as T, watch as q } from "vue";
2
- import { E as M } from "./index-D0v2_dMz.js";
2
+ import { E as M } from "./index-DzijCTQM.js";
3
3
  import { u as z, s as E } from "./menu-BIINB-0Y.js";
4
4
  import { u as H } from "./modelComp-B3sxj_Kp.js";
5
- import { c as f } from "./cloneDeep-MKlVykeI.js";
5
+ import { c as f } from "./cloneDeep-DuEirD61.js";
6
6
  const g = U(() => import("./index-DBKxwOZZ.js"));
7
7
  g.install = (u) => {
8
8
  u.component("ssMenu", g);
@@ -1,10 +1,10 @@
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-ClguzCrn.js";
3
- import { p as E, e as ye, g as fe, a as ge } from "./array-Dsurpc08.js";
2
+ import { m as ie, a as me, b as de } from "./index-BviuenkT.js";
3
+ import { p as E, e as ye, g as fe, a as ge } from "./array-D2zrIzej.js";
4
4
  import { u as ee } from "./modelComp-B3sxj_Kp.js";
5
5
  import { s as te, u as he } from "./menu-BIINB-0Y.js";
6
6
  import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
- import { c as k } from "./cloneDeep-MKlVykeI.js";
7
+ import { c as k } from "./cloneDeep-DuEirD61.js";
8
8
  const x = [
9
9
  {
10
10
  key: "FormName",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),T=require("./index-CRm-Cd9v.cjs"),N=require("./array-DQ6meJk7.cjs"),Q=require("./modelComp-DAsVXKA0.cjs"),I=require("./menu-B_Az9K_F.cjs"),U=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),h=require("./cloneDeep-BH_aXSAH.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"}],v={key:0,class:"show-content"},ee={class:"item-view-group"},te={__name:"index",props:{content:String,jsonContents:Array},emits:["change"],setup(E,{emit:D}){const t=E,S=D,g=Q.useModelComp(N.pinia),{itemData:p}=I.storeToRefs(g),_=e.ref([]),C=e.ref([]),F=c=>{S("change",{wholeValue:_.value,editValue:c})},x=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=N.expandStringToJson(t==null?void 0:t.content);g.setOriginalData(c),g.setItemData(c)},{deep:!0,immediate:!0});const w=c=>N.getComponent(c);return(c,k)=>{var b;return((b=C.value)==null?void 0:b.length)>0?(e.openBlock(),e.createElementBlock("div",v,[(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",ee,e.toDisplayString(i.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(w(i.comp)),{itemData:i==null?void 0:i.compData,childItemData:i==null?void 0:i.itemChildData,key:B,onChange:F,index:B,onContentChange:x},null,40,["itemData","childItemData","index"]))]))),128))])):e.createCommentVNode("",!0)}}},ne=U._export_sfc(te,[["__scopeId","data-v-869e6e20"]]),oe={class:"add-model-content"},ae={key:0,class:"model-import-data"},le={class:"import-button"},re={key:0},ce={key:1,class:"model-operate"},se={class:"model-select"},ue={class:"model-fill"},ie={key:2,class:"model-view ssComponent"},de={__name:"main",props:{mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0}},emits:["change"],setup(E,{emit:D}){const t=E,S=D,g=e.ref(""),p=e.ref([]),_=e.ref(0),C=Q.useModelComp(N.pinia);I.useMenuState(N.pinia);const{itemData:F,originalData:x}=I.storeToRefs(C),w=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=N.arrayToNumberArray(f==null?void 0:f.contents)),f))),o});S("change",{originalContents:x.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,A,q,M,R,L,z,W,H,P,G;if(s!=null&&s.find(d=>(d==null?void 0:d.value)===(n==null?void 0:n.key)))if(!(($=n==null?void 0:n.contents)!=null&&$.length))a.push(((J=s==null?void 0:s.find(d=>(d==null?void 0:d.value)===(n==null?void 0:n.key)))==null?void 0:J.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(((M=(q=n.contents)==null?void 0:q.filter(m=>m.width!==1))==null?void 0:M.length)===0){const m=(R=h.cloneDeep(n==null?void 0:n.contents))==null?void 0:R.map(r=>({[r.label]:r.value}));a.push(((L=s==null?void 0:s.find(r=>(r==null?void 0:r.value)===(n==null?void 0:n.key)))==null?void 0:L.key)+"="+JSON.stringify(m)+"/r/n")}else{let m=[];(z=h.cloneDeep(n==null?void 0:n.contents))==null||z.reduce((r,O)=>{var K;return r[O.label]=O.key,((K=Object.keys(h.cloneDeep(r)))==null?void 0:K.length)>=O.width&&(m.push(h.cloneDeep(r)),r={}),r},{}),a.push(((W=s==null?void 0:s.find(r=>(r==null?void 0:r.value)===(n==null?void 0:n.key)))==null?void 0:W.key)+"="+JSON.stringify(m)+"/r/n")}else if(Object.keys(d).includes("label")){const m=(H=h.cloneDeep(n==null?void 0:n.contents))==null?void 0:H.map(r=>r.label);a.push(((P=s==null?void 0:s.find(r=>(r==null?void 0:r.value)===(n==null?void 0:n.key)))==null?void 0:P.key)+"="+JSON.stringify(m)+"/r/n")}else a.push(((G=s==null?void 0:s.find(m=>(m==null?void 0:m.value)===(n==null?void 0:n.key)))==null?void 0:G.key)+"="+JSON.stringify(n==null?void 0:n.contents)+"/r/n")}})}),JSON.stringify(a)},j=e.ref([]),X=()=>{w.value.click()},Y=l=>{const a=l.target.files[0];if(!a)return;const u=new FileReader;u.onload=o=>{try{g.value=o.target.result,j.value=Z(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=j.value)==null?void 0:l.length)!==0&&(C.setOriginalData(j.value),C.setItemData(j.value))},{deep:!0,immediate:!0});const Z=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",oe,[((u=t==null?void 0:t.jsonContents)==null?void 0:u.length)===0?(e.openBlock(),e.createElementBlock("div",ae,[e.createElementVNode("div",le,[e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:w,accept:".txt",onChange:Y,style:{display:"none"}},null,544),e.createElementVNode("button",{onClick:X,class:"import-button-content"},"导入文件"),k.value?(e.openBlock(),e.createElementBlock("span",re,e.toDisplayString(k.value),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(t==null?void 0:t.mode)==="edit"?(e.openBlock(),e.createElementBlock("div",ce,[e.createElementVNode("div",se,[e.createVNode(T.modelSelect)]),(e.openBlock(),e.createElementBlock("div",{class:"model-show",key:_.value},[e.createVNode(T.modelShow)])),e.createElementVNode("div",ue,[e.createVNode(T.modelFill)])])):e.createCommentVNode("",!0),(t==null?void 0:t.mode)==="view"?(e.openBlock(),e.createElementBlock("div",ie,[(e.openBlock(),e.createBlock(ne,{content:g.value,onChange:i,jsonContents:p.value,key:_.value},null,8,["content","jsonContents"]))])):e.createCommentVNode("",!0)])}}},me=U._export_sfc(de,[["__scopeId","data-v-b25bde75"]]);exports.default=me;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),T=require("./index-Bk6z8NoT.cjs"),N=require("./array-D8U2pGTC.cjs"),Q=require("./modelComp-DAsVXKA0.cjs"),I=require("./menu-B_Az9K_F.cjs"),U=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),h=require("./cloneDeep-8zu2YtRV.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"}],v={key:0,class:"show-content"},ee={class:"item-view-group"},te={__name:"index",props:{content:String,jsonContents:Array},emits:["change"],setup(E,{emit:D}){const t=E,S=D,g=Q.useModelComp(N.pinia),{itemData:p}=I.storeToRefs(g),_=e.ref([]),C=e.ref([]),F=c=>{S("change",{wholeValue:_.value,editValue:c})},x=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=N.expandStringToJson(t==null?void 0:t.content);g.setOriginalData(c),g.setItemData(c)},{deep:!0,immediate:!0});const w=c=>N.getComponent(c);return(c,k)=>{var b;return((b=C.value)==null?void 0:b.length)>0?(e.openBlock(),e.createElementBlock("div",v,[(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",ee,e.toDisplayString(i.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(w(i.comp)),{itemData:i==null?void 0:i.compData,childItemData:i==null?void 0:i.itemChildData,key:B,onChange:F,index:B,onContentChange:x},null,40,["itemData","childItemData","index"]))]))),128))])):e.createCommentVNode("",!0)}}},ne=U._export_sfc(te,[["__scopeId","data-v-869e6e20"]]),oe={class:"add-model-content"},ae={key:0,class:"model-import-data"},le={class:"import-button"},re={key:0},ce={key:1,class:"model-operate"},se={class:"model-select"},ue={class:"model-fill"},ie={key:2,class:"model-view ssComponent"},de={__name:"main",props:{mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0}},emits:["change"],setup(E,{emit:D}){const t=E,S=D,g=e.ref(""),p=e.ref([]),_=e.ref(0),C=Q.useModelComp(N.pinia);I.useMenuState(N.pinia);const{itemData:F,originalData:x}=I.storeToRefs(C),w=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=N.arrayToNumberArray(f==null?void 0:f.contents)),f))),o});S("change",{originalContents:x.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,A,q,M,R,L,z,W,H,P,G;if(s!=null&&s.find(d=>(d==null?void 0:d.value)===(n==null?void 0:n.key)))if(!(($=n==null?void 0:n.contents)!=null&&$.length))a.push(((J=s==null?void 0:s.find(d=>(d==null?void 0:d.value)===(n==null?void 0:n.key)))==null?void 0:J.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(((M=(q=n.contents)==null?void 0:q.filter(m=>m.width!==1))==null?void 0:M.length)===0){const m=(R=h.cloneDeep(n==null?void 0:n.contents))==null?void 0:R.map(r=>({[r.label]:r.value}));a.push(((L=s==null?void 0:s.find(r=>(r==null?void 0:r.value)===(n==null?void 0:n.key)))==null?void 0:L.key)+"="+JSON.stringify(m)+"/r/n")}else{let m=[];(z=h.cloneDeep(n==null?void 0:n.contents))==null||z.reduce((r,O)=>{var K;return r[O.label]=O.key,((K=Object.keys(h.cloneDeep(r)))==null?void 0:K.length)>=O.width&&(m.push(h.cloneDeep(r)),r={}),r},{}),a.push(((W=s==null?void 0:s.find(r=>(r==null?void 0:r.value)===(n==null?void 0:n.key)))==null?void 0:W.key)+"="+JSON.stringify(m)+"/r/n")}else if(Object.keys(d).includes("label")){const m=(H=h.cloneDeep(n==null?void 0:n.contents))==null?void 0:H.map(r=>r.label);a.push(((P=s==null?void 0:s.find(r=>(r==null?void 0:r.value)===(n==null?void 0:n.key)))==null?void 0:P.key)+"="+JSON.stringify(m)+"/r/n")}else a.push(((G=s==null?void 0:s.find(m=>(m==null?void 0:m.value)===(n==null?void 0:n.key)))==null?void 0:G.key)+"="+JSON.stringify(n==null?void 0:n.contents)+"/r/n")}})}),JSON.stringify(a)},j=e.ref([]),X=()=>{w.value.click()},Y=l=>{const a=l.target.files[0];if(!a)return;const u=new FileReader;u.onload=o=>{try{g.value=o.target.result,j.value=Z(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=j.value)==null?void 0:l.length)!==0&&(C.setOriginalData(j.value),C.setItemData(j.value))},{deep:!0,immediate:!0});const Z=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",oe,[((u=t==null?void 0:t.jsonContents)==null?void 0:u.length)===0?(e.openBlock(),e.createElementBlock("div",ae,[e.createElementVNode("div",le,[e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:w,accept:".txt",onChange:Y,style:{display:"none"}},null,544),e.createElementVNode("button",{onClick:X,class:"import-button-content"},"导入文件"),k.value?(e.openBlock(),e.createElementBlock("span",re,e.toDisplayString(k.value),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(t==null?void 0:t.mode)==="edit"?(e.openBlock(),e.createElementBlock("div",ce,[e.createElementVNode("div",se,[e.createVNode(T.modelSelect)]),(e.openBlock(),e.createElementBlock("div",{class:"model-show",key:_.value},[e.createVNode(T.modelShow)])),e.createElementVNode("div",ue,[e.createVNode(T.modelFill)])])):e.createCommentVNode("",!0),(t==null?void 0:t.mode)==="view"?(e.openBlock(),e.createElementBlock("div",ie,[(e.openBlock(),e.createBlock(ne,{content:g.value,onChange:i,jsonContents:p.value,key:_.value},null,8,["content","jsonContents"]))])):e.createCommentVNode("",!0)])}}},me=U._export_sfc(de,[["__scopeId","data-v-b25bde75"]]);exports.default=me;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),o=require("./index-zIb6b0kg.cjs"),s=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./main-u6M32FUn.cjs")));s.install=e=>{e.component("ssComponent",s)};const t=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-DtmWzVIG.cjs")).then(e=>e.index));t.install=e=>{e.component("ssTab",t)};const r=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-YSJ2XYuj.cjs")));r.install=e=>{e.component("ssMenu",r)};const i=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-DB-XsCH7.cjs")));i.install=e=>{e.component("ssMenuComponent",i)};const l=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-C8abtcPh.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;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),o=require("./index-DADq4uib.cjs"),s=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./main-BrFLjXjC.cjs")));s.install=e=>{e.component("ssComponent",s)};const t=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-By9M6a6K.cjs")).then(e=>e.index));t.install=e=>{e.component("ssTab",t)};const r=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-CPAniSJJ.cjs")));r.install=e=>{e.component("ssMenu",r)};const i=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-P-XWFKEv.cjs")));i.install=e=>{e.component("ssMenuComponent",i)};const l=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-CefBKPRE.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;
@@ -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-53a41975]{width:100%;height:100%;display:flex;align-items:center}.account-wrap .el-form[data-v-53a41975]{width:100%}.account-wrap .el-form .el-form-item[data-v-53a41975]{width:100%;margin-bottom:5%}.account-wrap .el-form .el-form-item .el-form-item__content[data-v-53a41975]{width:100%}.account-wrap .el-form .el-form-item .el-form-item__content .el-input[data-v-53a41975]{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-dd1a7928]{width:100%;height:100%;display:grid;grid-template-rows:15% auto;gap:16px;background:var(--system-bg)}.login-wrap .login-header[data-v-dd1a7928]{width:100%}.login-wrap .login-body[data-v-dd1a7928]{width:100%;display:flex;justify-content:center;align-items:center;gap:90px}.login-wrap .login-body .login-body-item[data-v-dd1a7928]{height:100%}.login-wrap .login-body .left[data-v-dd1a7928]{width:55%;display:flex;justify-content:right;padding:0 50px;box-sizing:border-box}.login-wrap .login-body .right[data-v-dd1a7928]{width:32%;padding:0 70px;box-sizing:border-box}.menu-wrap[data-v-2cbe7506]{width:100%;height:100%}.menu-wrap[data-v-2cbe7506] .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-2cbe7506] .el-sub-menu .el-sub-menu__title:hover{background:var(--ssComponent-submenu-hover-bg)}.menu-wrap[data-v-2cbe7506] .el-sub-menu.is-opened{background:var(--ssComponent-submenu-open-bg);border-radius:8px}.menu-wrap[data-v-2cbe7506] .el-sub-menu.is-opened .el-menu--inline{background:var(--ssComponent-submenu-open-inline-bg)}.menu-wrap[data-v-2cbe7506] .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-2cbe7506] .el-menu-item:hover{background:var(--ssComponent-menuitem-hover-bg)}.menu-wrap[data-v-2cbe7506] .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-39978581]{width:100%;display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:8px;flex-wrap:wrap}.form-content .form-content-view[data-v-39978581]{width:100%}.form-content .form-content-view .form-data[data-v-39978581]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-data .form-item[data-v-39978581]{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-39978581]{display:flex;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-data .form-button[data-v-39978581]{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-39978581]{display:flex;cursor:pointer}.form-content .form-content-view .form-data .form-button .form-button-content .form-button-item[data-v-39978581]{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-39978581]{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-39978581] .el-form-item__label{padding:0;justify-content:start;width:auto}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-39978581] .el-form-item__content{align-items:start;width:100%}.form-content .form-content-view .form-noRegular-data .form-item[data-v-39978581]{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-39978581]{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-39978581]{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-39978581]{display:flex;cursor:pointer}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content .form-button-item[data-v-39978581]{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-39978581]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}.form-content .form-button .form-button-content[data-v-39978581]{cursor:pointer}.form-content .form-button .form-button-content .form-button-item[data-v-39978581]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}[data-v-39978581] .el-form-item__label{padding:0;justify-content:start}[data-v-39978581] .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-67bc73bd] .el-table__cell .cell{font-size:14px;font-weight:700;color:#000000d9;font-family:PingFangSC,PingFang SC;min-width:79.2px}[data-v-67bc73bd] .layout-container-view .el-scrollbar__view{width:100%;overflow:auto}[data-v-67bc73bd] .el-table__header-wrapper .el-table__header{height:48px;width:auto!important}[data-v-67bc73bd] .el-table__body .el-table__row{height:48px}[data-v-67bc73bd] .el-table__body{height:100%}.table-content-show[data-v-67bc73bd]{display:flex;flex-direction:column;gap:12px}.table-content-show .table-wrap .table-operate[data-v-67bc73bd]{display:flex;flex-direction:row;justify-content:space-between;gap:8px}.table-content-show .table-wrap .table-operate .blue-table-operate[data-v-67bc73bd]{color:#1890ff}.table-content-show .table-wrap .table-operate .red-table-operate[data-v-67bc73bd]{color:red}.table-content-show .table-wrap .table-operate .table-operate-content[data-v-67bc73bd]{font-family:SourceHanSansSC,SourceHanSansSC;font-weight:400;font-size:14px;font-style:normal;text-transform:none;cursor:pointer}.el-table[data-v-67bc73bd]{height:inherit}[data-v-67bc73bd] .el-table__body-wrapper{overflow:auto}.table-content[data-v-781eace3]{display:flex;flex-direction:column;gap:16px}.table-content .dialog-footer[data-v-781eace3]{display:flex;flex-direction:row;gap:16px;justify-content:end}.table-content .dialog-footer .cancel-button[data-v-781eace3],.table-content .dialog-footer .ok-button[data-v-781eace3],.table-content .extra-button-label[data-v-781eace3]{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}.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-dc84a8f7]::-webkit-scrollbar{display:none}.menuList-wrap[data-v-dc84a8f7]{width:100%;height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;background:var(--ssComponent-menu-bg)}.bread-content[data-v-d55d3ede]{display:flex;width:100%}.bread-content .bread-item[data-v-d55d3ede]{display:flex}.bread-content .bread-item .bread-title[data-v-d55d3ede]{cursor:pointer}.bread-content .bread-item .bread-title[data-v-d55d3ede]:hover{color:var(--ssComponent-primary-color)}.system-wrap[data-v-38117cb6]{width:100%;height:auto;display:flex;gap:1%;background:#f8f8f8}.system-wrap .sys-aside[data-v-38117cb6]{padding:8px;min-width:200px;width:15%}.system-wrap .show-content[data-v-38117cb6]{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-38117cb6]{display:flex}.system-wrap .show-content .item-content[data-v-38117cb6]{display:flex;flex-direction:column;gap:16px;height:fit-content}.system-wrap .show-content .item-content .item-view-group[data-v-38117cb6]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-876d48c6]{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.add-model-content .model-operate[data-v-876d48c6]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-876d48c6]{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-876d48c6]{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-876d48c6]{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-876d48c6]{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-876d48c6]{display:flex;flex-direction:row;align-items:center;gap:8px;padding:16px}.add-model-content .model-import-data .import-button[data-v-876d48c6]{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-876d48c6]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}.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-c06bb5c0]{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-53a41975]{width:100%;height:100%;display:flex;align-items:center}.account-wrap .el-form[data-v-53a41975]{width:100%}.account-wrap .el-form .el-form-item[data-v-53a41975]{width:100%;margin-bottom:5%}.account-wrap .el-form .el-form-item .el-form-item__content[data-v-53a41975]{width:100%}.account-wrap .el-form .el-form-item .el-form-item__content .el-input[data-v-53a41975]{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-17a13d48]{width:100%;height:100%;display:grid;grid-template-rows:15% auto;gap:16px;background:var(--system-bg)}.login-wrap .login-header[data-v-17a13d48]{width:100%}.login-wrap .login-body[data-v-17a13d48]{width:100%;display:flex;justify-content:center;align-items:center;gap:90px}.login-wrap .login-body .login-body-item[data-v-17a13d48]{height:100%}.login-wrap .login-body .left[data-v-17a13d48]{width:55%;display:flex;justify-content:right;padding:0 50px;box-sizing:border-box}.login-wrap .login-body .right[data-v-17a13d48]{width:32%;padding:0 70px;box-sizing:border-box}.menu-wrap[data-v-2cbe7506]{width:100%;height:100%}.menu-wrap[data-v-2cbe7506] .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-2cbe7506] .el-sub-menu .el-sub-menu__title:hover{background:var(--ssComponent-submenu-hover-bg)}.menu-wrap[data-v-2cbe7506] .el-sub-menu.is-opened{background:var(--ssComponent-submenu-open-bg);border-radius:8px}.menu-wrap[data-v-2cbe7506] .el-sub-menu.is-opened .el-menu--inline{background:var(--ssComponent-submenu-open-inline-bg)}.menu-wrap[data-v-2cbe7506] .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-2cbe7506] .el-menu-item:hover{background:var(--ssComponent-menuitem-hover-bg)}.menu-wrap[data-v-2cbe7506] .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-39978581]{width:100%;display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:8px;flex-wrap:wrap}.form-content .form-content-view[data-v-39978581]{width:100%}.form-content .form-content-view .form-data[data-v-39978581]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-data .form-item[data-v-39978581]{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-39978581]{display:flex;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-data .form-button[data-v-39978581]{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-39978581]{display:flex;cursor:pointer}.form-content .form-content-view .form-data .form-button .form-button-content .form-button-item[data-v-39978581]{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-39978581]{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-39978581] .el-form-item__label{padding:0;justify-content:start;width:auto}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-39978581] .el-form-item__content{align-items:start;width:100%}.form-content .form-content-view .form-noRegular-data .form-item[data-v-39978581]{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-39978581]{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-39978581]{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-39978581]{display:flex;cursor:pointer}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content .form-button-item[data-v-39978581]{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-39978581]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}.form-content .form-button .form-button-content[data-v-39978581]{cursor:pointer}.form-content .form-button .form-button-content .form-button-item[data-v-39978581]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}[data-v-39978581] .el-form-item__label{padding:0;justify-content:start}[data-v-39978581] .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-67bc73bd] .el-table__cell .cell{font-size:14px;font-weight:700;color:#000000d9;font-family:PingFangSC,PingFang SC;min-width:79.2px}[data-v-67bc73bd] .layout-container-view .el-scrollbar__view{width:100%;overflow:auto}[data-v-67bc73bd] .el-table__header-wrapper .el-table__header{height:48px;width:auto!important}[data-v-67bc73bd] .el-table__body .el-table__row{height:48px}[data-v-67bc73bd] .el-table__body{height:100%}.table-content-show[data-v-67bc73bd]{display:flex;flex-direction:column;gap:12px}.table-content-show .table-wrap .table-operate[data-v-67bc73bd]{display:flex;flex-direction:row;justify-content:space-between;gap:8px}.table-content-show .table-wrap .table-operate .blue-table-operate[data-v-67bc73bd]{color:#1890ff}.table-content-show .table-wrap .table-operate .red-table-operate[data-v-67bc73bd]{color:red}.table-content-show .table-wrap .table-operate .table-operate-content[data-v-67bc73bd]{font-family:SourceHanSansSC,SourceHanSansSC;font-weight:400;font-size:14px;font-style:normal;text-transform:none;cursor:pointer}.el-table[data-v-67bc73bd]{height:inherit}[data-v-67bc73bd] .el-table__body-wrapper{overflow:auto}.table-content[data-v-781eace3]{display:flex;flex-direction:column;gap:16px}.table-content .dialog-footer[data-v-781eace3]{display:flex;flex-direction:row;gap:16px;justify-content:end}.table-content .dialog-footer .cancel-button[data-v-781eace3],.table-content .dialog-footer .ok-button[data-v-781eace3],.table-content .extra-button-label[data-v-781eace3]{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}.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-dc84a8f7]::-webkit-scrollbar{display:none}.menuList-wrap[data-v-dc84a8f7]{width:100%;height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;background:var(--ssComponent-menu-bg)}.bread-content[data-v-d55d3ede]{display:flex;width:100%}.bread-content .bread-item[data-v-d55d3ede]{display:flex}.bread-content .bread-item .bread-title[data-v-d55d3ede]{cursor:pointer}.bread-content .bread-item .bread-title[data-v-d55d3ede]:hover{color:var(--ssComponent-primary-color)}.system-wrap[data-v-38117cb6]{width:100%;height:auto;display:flex;gap:1%;background:#f8f8f8}.system-wrap .sys-aside[data-v-38117cb6]{padding:8px;min-width:200px;width:15%}.system-wrap .show-content[data-v-38117cb6]{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-38117cb6]{display:flex}.system-wrap .show-content .item-content[data-v-38117cb6]{display:flex;flex-direction:column;gap:16px;height:fit-content}.system-wrap .show-content .item-content .item-view-group[data-v-38117cb6]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-876d48c6]{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.add-model-content .model-operate[data-v-876d48c6]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-876d48c6]{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-876d48c6]{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-876d48c6]{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-876d48c6]{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-876d48c6]{display:flex;flex-direction:row;align-items:center;gap:8px;padding:16px}.add-model-content .model-import-data .import-button[data-v-876d48c6]{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-876d48c6]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}.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-c06bb5c0]{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,22 +1,22 @@
1
1
  import { defineAsyncComponent as n } from "vue";
2
- import { r } from "./index-D0v2_dMz.js";
3
- const s = n(() => import("./main-RfdttOpi.js"));
2
+ import { r } from "./index-DzijCTQM.js";
3
+ const s = n(() => import("./main-BJ49BQ83.js"));
4
4
  s.install = (o) => {
5
5
  o.component("ssComponent", s);
6
6
  };
7
- const t = n(() => import("./index-CTc_dwbb.js").then((o) => o.i));
7
+ const t = n(() => import("./index-D0BrZauT.js").then((o) => o.i));
8
8
  t.install = (o) => {
9
9
  o.component("ssTab", t);
10
10
  };
11
- const e = n(() => import("./index-54P6MUQ5.js"));
11
+ const e = n(() => import("./index-Dk3AafH9.js"));
12
12
  e.install = (o) => {
13
13
  o.component("ssMenu", e);
14
14
  };
15
- const m = n(() => import("./index-D9tWUDyO.js"));
15
+ const m = n(() => import("./index-BK00mV7O.js"));
16
16
  m.install = (o) => {
17
17
  o.component("ssMenuComponent", m);
18
18
  };
19
- const i = n(() => import("./index-HDBRQNLs.js"));
19
+ const i = n(() => import("./index-3JVabNmb.js"));
20
20
  i.install = (o) => {
21
21
  o.component("ssCanvas", i);
22
22
  };
@@ -1 +1 @@
1
- "use strict";require("vue-router");const r=require("./index-zIb6b0kg.cjs");module.exports=r.router;
1
+ "use strict";require("vue-router");const r=require("./index-DADq4uib.cjs");module.exports=r.router;
@@ -1,5 +1,5 @@
1
1
  import "vue-router";
2
- import { r as a } from "./index-D0v2_dMz.js";
2
+ import { r as a } from "./index-DzijCTQM.js";
3
3
  export {
4
4
  a as default
5
5
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ss-component-new",
3
3
  "private": false,
4
- "version": "1.1.80",
4
+ "version": "1.1.82",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"