ss-component-new 1.1.396 → 1.1.397

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 (81) hide show
  1. package/dist/{array-C16RsBGi.js → array-BMm2xbyh.js} +2 -2
  2. package/dist/{array-CrflPQfH.cjs → array-DrchcVuo.cjs} +1 -1
  3. package/dist/{index-Ci_TlUaz.cjs → index-0xeOQNqr.cjs} +1 -1
  4. package/dist/{index-sX5lTda9.cjs → index-5rgfBNRZ.cjs} +1 -1
  5. package/dist/{index-LAneWWe0.cjs → index-7UFQD8dI.cjs} +1 -1
  6. package/dist/{index-BrwiY9L3.js → index-ASm-tiLF.js} +4 -4
  7. package/dist/{index-BPhF9zmt.cjs → index-B4MrDBQI.cjs} +1 -1
  8. package/dist/{index-sbQSWrBI.cjs → index-BJjUEAip.cjs} +1 -1
  9. package/dist/{index-DD1B6uNy.cjs → index-BLq1jCgy.cjs} +1 -1
  10. package/dist/{index-BqgHyhdi.js → index-BPnzUJyM.js} +1 -1
  11. package/dist/{index-DdMKahpe.cjs → index-BR_5J-Rp.cjs} +1 -1
  12. package/dist/{index-DeDlxE6V.js → index-BU_03B7p.js} +29 -26
  13. package/dist/{index-DPMhC2WO.js → index-BVQIDysd.js} +3 -3
  14. package/dist/{index-DlBjdPGf.cjs → index-BY1X4-T5.cjs} +1 -1
  15. package/dist/{index-CVkIx7Qb.js → index-Bhci20la.js} +4 -4
  16. package/dist/{index-CmwiMKaN.cjs → index-BqArjijs.cjs} +1 -1
  17. package/dist/{index-iWbccyfH.cjs → index-BusYSZDz.cjs} +1 -1
  18. package/dist/{index-DvuQRvTq.js → index-Bxi55yPn.js} +5 -5
  19. package/dist/{index-NyFbsRls.js → index-Byf9n_kH.js} +7 -7
  20. package/dist/{index-B87MOYL0.cjs → index-BzWrFscu.cjs} +1 -1
  21. package/dist/{index-HXgo29eU.js → index-CI1TvyGc.js} +4 -4
  22. package/dist/{index-5QKtXqtt.cjs → index-CKfWuKQ-.cjs} +1 -1
  23. package/dist/{index-BPG0DRXa.js → index-CM1PfZ-y.js} +5 -5
  24. package/dist/index-CWxAe8Hn.js +1564 -0
  25. package/dist/{index-D6aaas52.cjs → index-CcUmQ8j2.cjs} +1 -1
  26. package/dist/{index-BLFmQUvu.cjs → index-CeZMiwjT.cjs} +1 -1
  27. package/dist/{index-0rS7KbmB.cjs → index-CkuA9YtT.cjs} +1 -1
  28. package/dist/{index-CAiiyLHX.js → index-CusCByer.js} +2 -2
  29. package/dist/{index-BCBaGcSw.cjs → index-CvKVVUbj.cjs} +1 -1
  30. package/dist/{index-B5SKuqtT.js → index-CydzKd1p.js} +1 -1
  31. package/dist/{index-B_gX595b.cjs → index-CyxJ_jHM.cjs} +1 -1
  32. package/dist/{index-DL2KazPi.js → index-D3-VeVtm.js} +6 -6
  33. package/dist/{index-msEHZkYa.js → index-D7gBl7Bx.js} +5 -5
  34. package/dist/{index-cld16RcD.js → index-DE3aicnZ.js} +7 -7
  35. package/dist/{index-Dyj2IJ-k.js → index-DLBak3Lt.js} +4 -4
  36. package/dist/{index-C9Qome4l.js → index-DP9-VsqS.js} +5 -5
  37. package/dist/{index-CA6wLV-m.js → index-DQ3sNMML.js} +6 -6
  38. package/dist/{index-CF2GXE5j.js → index-DUcpVC5C.js} +4 -4
  39. package/dist/{index-CASSs849.js → index-DYvfFqEa.js} +3 -3
  40. package/dist/{index-Bft1aZ0a.cjs → index-DcuoGUjl.cjs} +1 -1
  41. package/dist/index-Dgk3r8_M.cjs +1 -0
  42. package/dist/{index-P4OXUc2W.cjs → index-Dn-0fR75.cjs} +1 -1
  43. package/dist/{index-P80WmN2w.cjs → index-Ds8QFoQ-.cjs} +1 -1
  44. package/dist/{index-F1ttuKSv.js → index-DuC_dofe.js} +4 -4
  45. package/dist/{index-BI8ECnch.js → index-DxkIkZjg.js} +1 -1
  46. package/dist/{index-C822Fm25.js → index-HT7hXa5c.js} +7 -7
  47. package/dist/{index-Vgnu3AJT.cjs → index-QK5rLXVe.cjs} +1 -1
  48. package/dist/{index-CIQlsfDn.cjs → index-Wb412Wki.cjs} +1 -1
  49. package/dist/{index-DPiUDaPy.js → index-XV4q28ju.js} +3 -3
  50. package/dist/index-Y7giQ1a4.cjs +1 -0
  51. package/dist/{index-BiLGjwKz.js → index-ecJYDIw4.js} +9 -9
  52. package/dist/{index-Bkw45mmW.cjs → index-gyJJ1_Vo.cjs} +1 -1
  53. package/dist/{index-BS9fOObP.js → index-rIMXQ6PY.js} +1 -1
  54. package/dist/{index-Z_MwT_T3.cjs → index-vorF-H1l.cjs} +1 -1
  55. package/dist/{index.vue_vue_type_script_setup_true_lang-DSlW9AIf.cjs → index.vue_vue_type_script_setup_true_lang-D67sZOgP.cjs} +1 -1
  56. package/dist/{index.vue_vue_type_script_setup_true_lang-BbuiPO6s.js → index.vue_vue_type_script_setup_true_lang-T1imEghJ.js} +3 -3
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CMVrqCWx.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Csbqxggh.cjs} +1 -1
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-UFSwAOJz.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D2ENkR1G.js} +2 -2
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_306ecd73_lang-DOjbMvFW.cjs → index.vue_vue_type_style_index_0_scoped_306ecd73_lang-CG-9MeCv.cjs} +1 -1
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_306ecd73_lang-4Af2QVFc.js → index.vue_vue_type_style_index_0_scoped_306ecd73_lang-Dk0_HFXf.js} +8 -8
  61. package/dist/{index.vue_vue_type_style_index_0_scoped_45defba9_lang-DGl8Ds4Q.js → index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-CafwctIq.js} +1336 -1342
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_45defba9_lang-BoiEK80r.cjs → index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-CpPem8Cc.cjs} +3 -3
  63. package/dist/{login-Dk-07p0w.cjs → login-CII9CG-J.cjs} +1 -1
  64. package/dist/{login-DXi57ZMh.js → login-DdNgIg3X.js} +1 -1
  65. package/dist/{main-Bi8-ggGu.cjs → main-B1ZWk63R.cjs} +1 -1
  66. package/dist/{main-BbFbvu6k.js → main-BOfMXV-3.js} +6 -6
  67. package/dist/{menu-CIgIfqSs.cjs → menu-DlNtyfT6.cjs} +1 -1
  68. package/dist/{menu-ozOGGi5Z.js → menu-Dl_Xtx7n.js} +1 -1
  69. package/dist/ss-component.cjs +1 -1
  70. package/dist/ss-component.css +1 -1
  71. package/dist/ss-component.js +10 -10
  72. package/dist/ss-component3.cjs +1 -1
  73. package/dist/ss-component3.js +1 -1
  74. package/dist/{threeModel-Dl-CREqP.cjs → threeModel-Bf7f4982.cjs} +1 -1
  75. package/dist/{threeModel-Dt4tQ3jF.js → threeModel-Cc5t11yb.js} +3 -3
  76. package/dist/{threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-D7fZi66-.cjs → threeModel.vue_vue_type_style_index_0_scoped_55d9773d_lang-DMIfmZ8j.cjs} +1 -1
  77. package/dist/{threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-Bea0CNjG.js → threeModel.vue_vue_type_style_index_0_scoped_55d9773d_lang-OVa4vxrk.js} +2 -2
  78. package/package.json +1 -1
  79. package/dist/index-DOIRqr3P.js +0 -1553
  80. package/dist/index-kP4PZFnP.cjs +0 -1
  81. package/dist/index-soDn3tCX.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CMVrqCWx.cjs");require("./menu-CIgIfqSs.cjs");const n=require("./index-B87MOYL0.cjs"),r=require("./index-D6aaas52.cjs"),a=require("./index-BPhF9zmt.cjs"),i=e.defineComponent({__name:"index",setup(u){const t=e.reactive({...r.State});return e.onMounted(async()=>{t.structureId=await a.getActivePageStructureId()}),(c,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(n.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Csbqxggh.cjs");require("./menu-DlNtyfT6.cjs");const n=require("./index-BzWrFscu.cjs"),r=require("./index-CcUmQ8j2.cjs"),a=require("./index-B4MrDBQI.cjs"),i=e.defineComponent({__name:"index",setup(u){const t=e.reactive({...r.State});return e.onMounted(async()=>{t.structureId=await a.getActivePageStructureId()}),(c,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(n.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=i;
@@ -1,5 +1,5 @@
1
- import { g as S, u as P, E as v, p as K } from "./menu-ozOGGi5Z.js";
2
- import { u as k } from "./login-DXi57ZMh.js";
1
+ import { g as S, u as P, E as v, p as K } from "./menu-Dl_Xtx7n.js";
2
+ import { u as k } from "./login-DdNgIg3X.js";
3
3
  import { ref as h } from "vue";
4
4
  const A = P(K), E = k(K), x = h(!1), D = h(!1), j = async () => {
5
5
  const I = S({
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),B=require("./index-Bkw45mmW.cjs"),k=require("./menu-CIgIfqSs.cjs"),y=require("./threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-D7fZi66-.cjs");require("./array-CrflPQfH.cjs");const V=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CMVrqCWx.cjs"),F=require("./index-C31XRLFj.cjs"),O=require("./index-sbQSWrBI.cjs"),R=require("./index-CmwiMKaN.cjs"),b={class:"type-select"},L=["onClick"],U={class:"list-icon"},z={__name:"index",setup(E){const m=y.useModelComp(k.pinia),{itemData:i}=k.storeToRefs(m),C=v=>{const d=_.cloneDeep(i.value);d.push({comp:v.comp,name:v.name,compData:[]}),m.setItemData(d)};return(v,d)=>{const s=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",b,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(B.slotContent),(f,u)=>(e.openBlock(),e.createElementBlock("div",{class:"type-list",key:u},[e.createElementVNode("div",{class:"list-content",onClick:g=>C(f)},[e.createElementVNode("div",U,[e.createVNode(s,{name:f.icon},null,8,["name"])]),e.createElementVNode("div",null,e.toDisplayString(f.name),1)],8,L)]))),128))])}}},H=V._export_sfc(z,[["__scopeId","data-v-1f87163f"]]),j={class:"fill-content"},A={class:"operate-content"},G={class:"collapse-title-content"},J={class:"collapse-title-item"},K={key:1},P=["onClick"],Q={class:"icon-content"},W={key:0,class:"edit-content"},X=["onClick"],Y={class:"comp-child"},Z={__name:"index",setup(E){const m=y.useModelComp(k.pinia),{itemData:i,originalData:C}=k.storeToRefs(m),v=e.ref([]);e.ref([]);const d=e.ref([]),s=e.ref([]),f=a=>{var n;let c=(n=_.cloneDeep(s.value))==null?void 0:n.map((t,o)=>(a===o&&(t.content=!0),t));s.value=c},u=a=>{var n;let c=(n=_.cloneDeep(s.value))==null?void 0:n.map((t,o)=>(a===o&&(t.content=!1),t));s.value=c,v.value=_.cloneDeep(i.value)},g=(a,c)=>{var h;let n=(h=_.cloneDeep(s.value))==null?void 0:h.map((l,p)=>(a===p&&(l.content=!1),l));s.value=n;const t=_.cloneDeep(i.value),o=t==null?void 0:t.filter((l,p)=>(p===a&&(l.name=c),l));m.setOriginalData(o),m.setItemData(o)};e.watch(()=>i.value,()=>{var a,c,n;!i.value||((a=i.value)==null?void 0:a.length)===0?v.value=[]:v.value=(c=_.cloneDeep(i.value))==null?void 0:c.filter(t=>(t==null?void 0:t.comp)!=="methodButton"),d.value=v.value,s.value=(n=_.cloneDeep(d.value))==null?void 0:n.map((t,o)=>({id:o,content:!1}))},{deep:!0,immediate:!0});const S=a=>B.getComponent(a),q=(a,c,n)=>{var o,h;if(!a)return;let t=_.cloneDeep(i.value);t=(o=t==null?void 0:t.map((l,p)=>(p===n&&(l.compData=a),l)))==null?void 0:o.filter(l=>(l==null?void 0:l.comp)!=="methodButton"),s.value=(h=_.cloneDeep(t))==null?void 0:h.map((l,p)=>({id:p,content:!1})),m.setOriginalData(t),m.setItemData(t)},T=a=>{R.ElMessageBox.confirm("是否确认要删除","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{const c=_.cloneDeep(i.value),n=c==null?void 0:c.filter((t,o)=>o!==a);m.setOriginalData(n),m.setItemData(n),k.ElMessage({type:"success",message:"删除成功"})}).catch(()=>{})};return(a,c)=>{const n=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",j,[c[1]||(c[1]=e.createElementVNode("div",{class:"fill-operate"},e.toDisplayString("操作栏"),-1)),e.createElementVNode("div",A,[e.createVNode(F.default,{class:"collapse-content",collapseContents:v.value},{title:e.withCtx(({item:t,index:o})=>{var h,l,p,D,N,x,w,$,I,M;return[e.createElementVNode("div",G,[e.createElementVNode("div",J,[(l=(h=s.value)==null?void 0:h.find(r=>r.id===o))!=null&&l.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"collapse-title",style:e.normalizeStyle({marginRight:t.name&&t.name!==""?"8px":"0px"})},e.toDisplayString(t.name),5)),(D=(p=s.value)==null?void 0:p.find(r=>r.id===o))!=null&&D.content?(e.openBlock(),e.createElementBlock("div",K,[e.createVNode(O._sfc_main$1,{modelValue:t.name,"onUpdate:modelValue":r=>t.name=r,onClick:c[0]||(c[0]=e.withModifiers(()=>{},["stop"]))},null,8,["modelValue","onUpdate:modelValue"])])):e.createCommentVNode("",!0),(x=(N=s.value)==null?void 0:N.find(r=>r.id===o))!=null&&x.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:2,onClick:e.withModifiers(r=>f(o),["stop"]),class:"icon-content"},[e.createVNode(n,{name:"Edit",style:{width:"16px",height:"16px"}})],8,P))]),e.createElementVNode("div",Q,[($=(w=s.value)==null?void 0:w.find(r=>r.id===o))!=null&&$.content?(e.openBlock(),e.createElementBlock("div",W,[e.createVNode(n,{name:"Cancel",style:{width:"16px",height:"16px"},class:"icon-content",onClick:e.withModifiers(r=>u(o),["stop"])},null,8,["onClick"]),e.createVNode(n,{name:"Save",onClick:e.withModifiers(r=>g(o,t.name),["stop"]),style:{width:"16px",height:"16px",fill:"var(--ssComponent-primary-color)"},class:"icon-content"},null,8,["onClick"])])):e.createCommentVNode("",!0),(M=(I=s.value)==null?void 0:I.find(r=>r.id===o))!=null&&M.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:e.withModifiers(r=>T(o),["stop"]),class:"icon-content"},[e.createVNode(n,{name:"Delete",style:{width:"16px",height:"16px"}})],8,X))])])]}),content:e.withCtx(({item:t,index:o})=>{var h,l;return[e.createElementVNode("div",Y,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(S(t.comp+"Operate")),{itemContents:t==null?void 0:t.compData,originalItemContents:(l=(h=d.value)==null?void 0:h.find((p,D)=>D===o))==null?void 0:l.compData,onChange:p=>q(p,t,o)},null,40,["itemContents","originalItemContents","onChange"]))])]}),_:1},8,["collapseContents"])])])}}},ee=V._export_sfc(Z,[["__scopeId","data-v-27bd1564"]]),te={key:0,class:"show-content"},oe={style:{display:"flex"}},ne={__name:"index",setup(E){const m=y.useModelComp(k.pinia),{itemData:i}=k.storeToRefs(m),C=e.ref([]);e.watch(()=>i.value,()=>{var d;!i.value||((d=i.value)==null?void 0:d.length)===0?C.value=[]:C.value=_.cloneDeep(i.value)},{deep:!0,immediate:!0});const v=d=>B.getComponent(d);return(d,s)=>{var f;return((f=C.value)==null?void 0:f.length)>0?(e.openBlock(),e.createElementBlock("div",te,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,(u,g)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:g},[e.createElementVNode("div",oe,e.toDisplayString(u.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(v(u.comp)),{itemData:u==null?void 0:u.compData,childItemData:u==null?void 0:u.itemChildData,key:g},null,8,["itemData","childItemData"]))]))),128))])):e.createCommentVNode("",!0)}}},le=V._export_sfc(ne,[["__scopeId","data-v-bfa22d29"]]);exports.modelFill=ee;exports.modelSelect=H;exports.modelShow=le;
1
+ "use strict";const e=require("vue"),B=require("./index-gyJJ1_Vo.cjs"),k=require("./menu-DlNtyfT6.cjs"),y=require("./threeModel.vue_vue_type_style_index_0_scoped_55d9773d_lang-DMIfmZ8j.cjs");require("./array-DrchcVuo.cjs");const V=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Csbqxggh.cjs"),F=require("./index-C31XRLFj.cjs"),O=require("./index-BJjUEAip.cjs"),R=require("./index-BqArjijs.cjs"),b={class:"type-select"},L=["onClick"],U={class:"list-icon"},z={__name:"index",setup(E){const m=y.useModelComp(k.pinia),{itemData:i}=k.storeToRefs(m),C=v=>{const d=_.cloneDeep(i.value);d.push({comp:v.comp,name:v.name,compData:[]}),m.setItemData(d)};return(v,d)=>{const s=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",b,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(B.slotContent),(f,u)=>(e.openBlock(),e.createElementBlock("div",{class:"type-list",key:u},[e.createElementVNode("div",{class:"list-content",onClick:g=>C(f)},[e.createElementVNode("div",U,[e.createVNode(s,{name:f.icon},null,8,["name"])]),e.createElementVNode("div",null,e.toDisplayString(f.name),1)],8,L)]))),128))])}}},H=V._export_sfc(z,[["__scopeId","data-v-1f87163f"]]),j={class:"fill-content"},A={class:"operate-content"},G={class:"collapse-title-content"},J={class:"collapse-title-item"},K={key:1},P=["onClick"],Q={class:"icon-content"},W={key:0,class:"edit-content"},X=["onClick"],Y={class:"comp-child"},Z={__name:"index",setup(E){const m=y.useModelComp(k.pinia),{itemData:i,originalData:C}=k.storeToRefs(m),v=e.ref([]);e.ref([]);const d=e.ref([]),s=e.ref([]),f=a=>{var n;let c=(n=_.cloneDeep(s.value))==null?void 0:n.map((t,o)=>(a===o&&(t.content=!0),t));s.value=c},u=a=>{var n;let c=(n=_.cloneDeep(s.value))==null?void 0:n.map((t,o)=>(a===o&&(t.content=!1),t));s.value=c,v.value=_.cloneDeep(i.value)},g=(a,c)=>{var h;let n=(h=_.cloneDeep(s.value))==null?void 0:h.map((l,p)=>(a===p&&(l.content=!1),l));s.value=n;const t=_.cloneDeep(i.value),o=t==null?void 0:t.filter((l,p)=>(p===a&&(l.name=c),l));m.setOriginalData(o),m.setItemData(o)};e.watch(()=>i.value,()=>{var a,c,n;!i.value||((a=i.value)==null?void 0:a.length)===0?v.value=[]:v.value=(c=_.cloneDeep(i.value))==null?void 0:c.filter(t=>(t==null?void 0:t.comp)!=="methodButton"),d.value=v.value,s.value=(n=_.cloneDeep(d.value))==null?void 0:n.map((t,o)=>({id:o,content:!1}))},{deep:!0,immediate:!0});const S=a=>B.getComponent(a),q=(a,c,n)=>{var o,h;if(!a)return;let t=_.cloneDeep(i.value);t=(o=t==null?void 0:t.map((l,p)=>(p===n&&(l.compData=a),l)))==null?void 0:o.filter(l=>(l==null?void 0:l.comp)!=="methodButton"),s.value=(h=_.cloneDeep(t))==null?void 0:h.map((l,p)=>({id:p,content:!1})),m.setOriginalData(t),m.setItemData(t)},T=a=>{R.ElMessageBox.confirm("是否确认要删除","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{const c=_.cloneDeep(i.value),n=c==null?void 0:c.filter((t,o)=>o!==a);m.setOriginalData(n),m.setItemData(n),k.ElMessage({type:"success",message:"删除成功"})}).catch(()=>{})};return(a,c)=>{const n=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",j,[c[1]||(c[1]=e.createElementVNode("div",{class:"fill-operate"},e.toDisplayString("操作栏"),-1)),e.createElementVNode("div",A,[e.createVNode(F.default,{class:"collapse-content",collapseContents:v.value},{title:e.withCtx(({item:t,index:o})=>{var h,l,p,D,N,x,w,$,I,M;return[e.createElementVNode("div",G,[e.createElementVNode("div",J,[(l=(h=s.value)==null?void 0:h.find(r=>r.id===o))!=null&&l.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"collapse-title",style:e.normalizeStyle({marginRight:t.name&&t.name!==""?"8px":"0px"})},e.toDisplayString(t.name),5)),(D=(p=s.value)==null?void 0:p.find(r=>r.id===o))!=null&&D.content?(e.openBlock(),e.createElementBlock("div",K,[e.createVNode(O._sfc_main$1,{modelValue:t.name,"onUpdate:modelValue":r=>t.name=r,onClick:c[0]||(c[0]=e.withModifiers(()=>{},["stop"]))},null,8,["modelValue","onUpdate:modelValue"])])):e.createCommentVNode("",!0),(x=(N=s.value)==null?void 0:N.find(r=>r.id===o))!=null&&x.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:2,onClick:e.withModifiers(r=>f(o),["stop"]),class:"icon-content"},[e.createVNode(n,{name:"Edit",style:{width:"16px",height:"16px"}})],8,P))]),e.createElementVNode("div",Q,[($=(w=s.value)==null?void 0:w.find(r=>r.id===o))!=null&&$.content?(e.openBlock(),e.createElementBlock("div",W,[e.createVNode(n,{name:"Cancel",style:{width:"16px",height:"16px"},class:"icon-content",onClick:e.withModifiers(r=>u(o),["stop"])},null,8,["onClick"]),e.createVNode(n,{name:"Save",onClick:e.withModifiers(r=>g(o,t.name),["stop"]),style:{width:"16px",height:"16px",fill:"var(--ssComponent-primary-color)"},class:"icon-content"},null,8,["onClick"])])):e.createCommentVNode("",!0),(M=(I=s.value)==null?void 0:I.find(r=>r.id===o))!=null&&M.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:e.withModifiers(r=>T(o),["stop"]),class:"icon-content"},[e.createVNode(n,{name:"Delete",style:{width:"16px",height:"16px"}})],8,X))])])]}),content:e.withCtx(({item:t,index:o})=>{var h,l;return[e.createElementVNode("div",Y,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(S(t.comp+"Operate")),{itemContents:t==null?void 0:t.compData,originalItemContents:(l=(h=d.value)==null?void 0:h.find((p,D)=>D===o))==null?void 0:l.compData,onChange:p=>q(p,t,o)},null,40,["itemContents","originalItemContents","onChange"]))])]}),_:1},8,["collapseContents"])])])}}},ee=V._export_sfc(Z,[["__scopeId","data-v-27bd1564"]]),te={key:0,class:"show-content"},oe={style:{display:"flex"}},ne={__name:"index",setup(E){const m=y.useModelComp(k.pinia),{itemData:i}=k.storeToRefs(m),C=e.ref([]);e.watch(()=>i.value,()=>{var d;!i.value||((d=i.value)==null?void 0:d.length)===0?C.value=[]:C.value=_.cloneDeep(i.value)},{deep:!0,immediate:!0});const v=d=>B.getComponent(d);return(d,s)=>{var f;return((f=C.value)==null?void 0:f.length)>0?(e.openBlock(),e.createElementBlock("div",te,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,(u,g)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:g},[e.createElementVNode("div",oe,e.toDisplayString(u.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(v(u.comp)),{itemData:u==null?void 0:u.compData,childItemData:u==null?void 0:u.itemChildData,key:g},null,8,["itemData","childItemData"]))]))),128))])):e.createCommentVNode("",!0)}}},le=V._export_sfc(ne,[["__scopeId","data-v-bfa22d29"]]);exports.modelFill=ee;exports.modelSelect=H;exports.modelShow=le;
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-BbuiPO6s.js";
1
+ import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-T1imEghJ.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1 +1 @@
1
- "use strict";const a=require("./menu-CIgIfqSs.cjs"),h=require("./login-Dk-07p0w.cjs"),x=require("vue"),q=a.useMenuState(a.pinia),v=h.useLoginState(a.pinia),D=x.ref(!1),E=x.ref(!1),w=async()=>{const I=a.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"menu"}}),K=a.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure"}});return await Promise.all([I,K]).then(s=>{var r,u,o,n,i,l,c,g,y,d,S,f,m,p;const t=s==null?void 0:s[0],e=s==null?void 0:s[1];if(t.data.code===200){const M=(c=(l=(i=(n=(o=(u=(r=t==null?void 0:t.data)==null?void 0:r.result)==null?void 0:u[0])==null?void 0:o.value)==null?void 0:n.pageData)==null?void 0:i.compData)==null?void 0:l[0])==null?void 0:c.contents;q.setRawMenus(M??[]),D.value=((g=t==null?void 0:t.data)==null?void 0:g.result)&&((d=(y=t==null?void 0:t.data)==null?void 0:y.result)==null?void 0:d.length)>0}else a.ElMessage.error("获取模型菜单响应失败");e.data.code===200?e.data.result&&((S=e.data.result)==null?void 0:S.length)>0&&(v.setStructureData(e.data.result),v.setIsStructureExist(!0),E.value=((f=e==null?void 0:e.data)==null?void 0:f.result)&&((p=(m=e==null?void 0:e.data)==null?void 0:m.result)==null?void 0:p.length)>0):a.ElMessage.error("获取模型结构响应失败")}),{menuExist:D.value,structureExist:E.value}};exports.verifyStructureDataToStore=w;
1
+ "use strict";const a=require("./menu-DlNtyfT6.cjs"),h=require("./login-CII9CG-J.cjs"),x=require("vue"),q=a.useMenuState(a.pinia),v=h.useLoginState(a.pinia),D=x.ref(!1),E=x.ref(!1),w=async()=>{const I=a.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"menu"}}),K=a.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure"}});return await Promise.all([I,K]).then(s=>{var r,u,o,n,i,l,c,g,y,d,S,f,m,p;const t=s==null?void 0:s[0],e=s==null?void 0:s[1];if(t.data.code===200){const M=(c=(l=(i=(n=(o=(u=(r=t==null?void 0:t.data)==null?void 0:r.result)==null?void 0:u[0])==null?void 0:o.value)==null?void 0:n.pageData)==null?void 0:i.compData)==null?void 0:l[0])==null?void 0:c.contents;q.setRawMenus(M??[]),D.value=((g=t==null?void 0:t.data)==null?void 0:g.result)&&((d=(y=t==null?void 0:t.data)==null?void 0:y.result)==null?void 0:d.length)>0}else a.ElMessage.error("获取模型菜单响应失败");e.data.code===200?e.data.result&&((S=e.data.result)==null?void 0:S.length)>0&&(v.setStructureData(e.data.result),v.setIsStructureExist(!0),E.value=((f=e==null?void 0:e.data)==null?void 0:f.result)&&((p=(m=e==null?void 0:e.data)==null?void 0:m.result)==null?void 0:p.length)>0):a.ElMessage.error("获取模型结构响应失败")}),{menuExist:D.value,structureExist:E.value}};exports.verifyStructureDataToStore=w;
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as o, reactive as a, onMounted as r, createElementBlock as c, openBlock as s, createVNode as i } from "vue";
2
2
  import "./index-BHtNKL1L.js";
3
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-UFSwAOJz.js";
4
- import { u as m, s as u } from "./menu-ozOGGi5Z.js";
5
- import { v as l } from "./index-C9Qome4l.js";
6
- import { S as p } from "./index-CA6wLV-m.js";
7
- import { u as d } from "./login-DXi57ZMh.js";
8
- import { g } from "./index-CVkIx7Qb.js";
3
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D2ENkR1G.js";
4
+ import { u as m, s as u } from "./menu-Dl_Xtx7n.js";
5
+ import { v as l } from "./index-DP9-VsqS.js";
6
+ import { S as p } from "./index-DQ3sNMML.js";
7
+ import { u as d } from "./login-DdNgIg3X.js";
8
+ import { g } from "./index-Bhci20la.js";
9
9
  const I = /* @__PURE__ */ o({
10
10
  __name: "index",
11
11
  setup(f) {
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as e, reactive as a, onMounted as o, createElementBlock as r, openBlock as n, createVNode as m } from "vue";
2
2
  import "./index-BHtNKL1L.js";
3
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-UFSwAOJz.js";
4
- import "./menu-ozOGGi5Z.js";
5
- import { v as i } from "./index-C9Qome4l.js";
6
- import { S as c } from "./index-DPiUDaPy.js";
7
- import { g as p } from "./index-CVkIx7Qb.js";
3
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D2ENkR1G.js";
4
+ import "./menu-Dl_Xtx7n.js";
5
+ import { v as i } from "./index-DP9-VsqS.js";
6
+ import { S as c } from "./index-XV4q28ju.js";
7
+ import { g as p } from "./index-Bhci20la.js";
8
8
  const D = /* @__PURE__ */ e({
9
9
  __name: "index",
10
10
  setup(s) {
@@ -1,11 +1,11 @@
1
1
  import { ref as p, computed as B, reactive as Y, nextTick as P, defineComponent as ce, onMounted as ie, resolveComponent as q, resolveDirective as pe, createElementBlock as G, openBlock as J, createElementVNode as S, withDirectives as ge, createVNode as y, withCtx as w, createTextVNode as Q } from "vue";
2
- import { s as Z, g as x, u as ee, E as m, p as _, c as te, d as ve, h as de } from "./menu-ozOGGi5Z.js";
3
- import { u as fe } from "./threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-Bea0CNjG.js";
4
- import { u as he, v as be } from "./index-C9Qome4l.js";
5
- import { h as ye } from "./index-CA6wLV-m.js";
6
- import { f as Ce } from "./login-DXi57ZMh.js";
7
- import { c as K } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-UFSwAOJz.js";
8
- import { s as ke, b as De } from "./index-BrwiY9L3.js";
2
+ import { s as Z, g as x, u as ee, E as m, p as _, c as te, d as ve, h as de } from "./menu-Dl_Xtx7n.js";
3
+ import { u as fe } from "./threeModel.vue_vue_type_style_index_0_scoped_55d9773d_lang-OVa4vxrk.js";
4
+ import { u as he, v as be } from "./index-DP9-VsqS.js";
5
+ import { h as ye } from "./index-DQ3sNMML.js";
6
+ import { f as Ce } from "./login-DdNgIg3X.js";
7
+ import { c as K } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D2ENkR1G.js";
8
+ import { s as ke, b as De } from "./index-ASm-tiLF.js";
9
9
  import { _ as me } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  const D = fe(_), ae = he(_), h = ee(_), { menus: le, configMenu: T, activeMenuPath: E, cacheStructures: we } = Z(h), R = p(!1), Te = B(() => {
11
11
  var t, e;
@@ -1,8 +1,8 @@
1
1
  import { computed as b, getCurrentInstance as qe, inject as ve, unref as u, ref as A, onMounted as ie, watch as W, toRef as Ke, onUnmounted as Vn, shallowRef as Ve, nextTick as V, defineComponent as Z, useAttrs as _n, useSlots as un, createElementBlock as F, openBlock as E, normalizeStyle as Ye, normalizeClass as w, createCommentVNode as k, Fragment as _e, createElementVNode as P, renderSlot as Y, createBlock as M, withCtx as L, resolveDynamicComponent as K, mergeProps as ut, withModifiers as ke, createVNode as oe, toDisplayString as J, onBeforeUnmount as xe, provide as cn, Text as Dn, reactive as dn, h as Un, watchEffect as Kn, isRef as Yn, onScopeDispose as Wn, markRaw as ct, toRefs as Gn, resolveComponent as Ce, Transition as qn, withDirectives as tt, withKeys as Re, createTextVNode as nt, vShow as ot, isVNode as fn, render as vn } from "vue";
2
- import { S as Ft, m as pn, n as bt, t as hn, o as Pt, p as Xn, i as se, q as Ht, v as Xe, c as de, w as ye, x as We, y as gn, z as fe, A as jn, B as Jn, C as Zn, D as Qn, F as Te, G as Ie, H as Me, _ as Be, I as pe, V as eo, J as to, K as no, L as oo, M as ae, N as De, O as ao, e as Ge, P as mn, Q as yt, R as ro, T as dt, U as so, W as $t, X as io, Y as zt, d as lo, g as uo, b as co, Z as fo, $ as vo, a as po, a0 as Vt, a1 as _t, a2 as ho } from "./index-BiLGjwKz.js";
3
- import { m as go } from "./menu-ozOGGi5Z.js";
4
- import { h as Dt, i as bn, j as mo, k as bo, l as yn, n as yo } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-UFSwAOJz.js";
5
- import { i as En } from "./index.vue_vue_type_script_setup_true_lang-BbuiPO6s.js";
2
+ import { S as Ft, m as pn, n as bt, t as hn, o as Pt, p as Xn, i as se, q as Ht, v as Xe, c as de, w as ye, x as We, y as gn, z as fe, A as jn, B as Jn, C as Zn, D as Qn, F as Te, G as Ie, H as Me, _ as Be, I as pe, V as eo, J as to, K as no, L as oo, M as ae, N as De, O as ao, e as Ge, P as mn, Q as yt, R as ro, T as dt, U as so, W as $t, X as io, Y as zt, d as lo, g as uo, b as co, Z as fo, $ as vo, a as po, a0 as Vt, a1 as _t, a2 as ho } from "./index-ecJYDIw4.js";
3
+ import { m as go } from "./menu-Dl_Xtx7n.js";
4
+ import { h as Dt, i as bn, j as mo, k as bo, l as yn, n as yo } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D2ENkR1G.js";
5
+ import { i as En } from "./index.vue_vue_type_script_setup_true_lang-T1imEghJ.js";
6
6
  function Eo(e) {
7
7
  return e;
8
8
  }
@@ -1,9 +1,9 @@
1
1
  import { ref as L, watch as Ne, nextTick as rl, resolveComponent as na, createBlock as ra, openBlock as pe, withCtx as ie, createElementVNode as ce, renderSlot as Sa, onMounted as ia, createElementBlock as ke, normalizeClass as il, toDisplayString as Pe, createCommentVNode as Ga, Fragment as Wa, renderList as Qa, normalizeStyle as Xa, createVNode as ue, unref as sl, defineComponent as tl, createSlots as ol, createTextVNode as Je } from "vue";
2
- import { f as sa, g as ee, d as Be, h as ul, i as qe, c as aa, s as Me, u as Ya, p as Ve, e as fl } from "./menu-ozOGGi5Z.js";
3
- import { u as cl } from "./threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-Bea0CNjG.js";
4
- import { a3 as yl, S as Ea, a4 as pl, m as Pa, a5 as Fa, a6 as dl } from "./index-BiLGjwKz.js";
5
- import { b as Ge, f as gl, s as Na } from "./index-BrwiY9L3.js";
6
- import { U as Ba, o as Ra, p as ja, q as $a, S as ze, r as hl, b as We, c as d, t as xa, u as bl, v as ml, w as Al, x as vl } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-UFSwAOJz.js";
2
+ import { f as sa, g as ee, d as Be, h as ul, i as qe, c as aa, s as Me, u as Ya, p as Ve, e as fl } from "./menu-Dl_Xtx7n.js";
3
+ import { u as cl } from "./threeModel.vue_vue_type_style_index_0_scoped_55d9773d_lang-OVa4vxrk.js";
4
+ import { a3 as yl, S as Ea, a4 as pl, m as Pa, a5 as Fa, a6 as dl } from "./index-ecJYDIw4.js";
5
+ import { b as Ge, f as gl, s as Na } from "./index-ASm-tiLF.js";
6
+ import { U as Ba, o as Ra, p as ja, q as $a, S as ze, r as hl, b as We, c as d, t as xa, u as bl, v as ml, w as Al, x as vl } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D2ENkR1G.js";
7
7
  import { _ as ta } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  var kl = "__lodash_hash_undefined__";
9
9
  function Tl(a) {
@@ -1,11 +1,11 @@
1
1
  import { ref as b, computed as K, watch as D } from "vue";
2
- import { E as n, s as f, c as H, d as x, e as B, g as M, u as E } from "./menu-ozOGGi5Z.js";
3
- import { a as F } from "./index-CVkIx7Qb.js";
2
+ import { E as n, s as f, c as H, d as x, e as B, g as M, u as E } from "./menu-Dl_Xtx7n.js";
3
+ import { a as F } from "./index-Bhci20la.js";
4
4
  import { d as S, i as I, e as C } from "./crypto-BRyGpjGR.js";
5
- import { u as N } from "./login-DXi57ZMh.js";
6
- import { u as P } from "./threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-Bea0CNjG.js";
7
- import { E as w } from "./index-Dyj2IJ-k.js";
8
- import { c as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-UFSwAOJz.js";
5
+ import { u as N } from "./login-DdNgIg3X.js";
6
+ import { u as P } from "./threeModel.vue_vue_type_style_index_0_scoped_55d9773d_lang-OVa4vxrk.js";
7
+ import { E as w } from "./index-DLBak3Lt.js";
8
+ import { c as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D2ENkR1G.js";
9
9
  const T = N(), { superAdminInfo: O, cryptoInfo: r } = f(T), U = E(), { activeMenuPath: i } = f(U), y = "123456", j = P(), { itemData: z } = f(j), g = b(0), L = b([
10
10
  {
11
11
  label: "用户名称",
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as $, computed as F, ref as h, watch as P, createElementBlock as E, openBlock as p, createVNode as v, createElementVNode as j, withCtx as c, createTextVNode as T, toDisplayString as k, resolveComponent as B, createBlock as U, Fragment as V, renderList as z, normalizeStyle as R } from "vue";
2
- import { _ as q } from "./index.vue_vue_type_script_setup_true_lang-BbuiPO6s.js";
3
- import { d as H, u as L } from "./index-BI8ECnch.js";
4
- import { E as N } from "./menu-ozOGGi5Z.js";
2
+ import { _ as q } from "./index.vue_vue_type_script_setup_true_lang-T1imEghJ.js";
3
+ import { d as H, u as L } from "./index-DxkIkZjg.js";
4
+ import { E as N } from "./menu-Dl_Xtx7n.js";
5
5
  import { _ as O } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import { S as M } from "./index-BrwiY9L3.js";
6
+ import { S as M } from "./index-ASm-tiLF.js";
7
7
  import { S as x } from "./index-BHtNKL1L.js";
8
8
  const W = { class: "avatar-model-wrap" }, D = /* @__PURE__ */ $({
9
9
  __name: "index",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as g, ref as C, onMounted as _, createElementBlock as v, openBlock as D, createVNode as h } from "vue";
2
- import { c, e as k, d as I, u as K, p as x, s as M, g as S } from "./menu-ozOGGi5Z.js";
3
- import { v as T } from "./index-C9Qome4l.js";
4
- import { c as y } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-UFSwAOJz.js";
2
+ import { c, e as k, d as I, u as K, p as x, s as M, g as S } from "./menu-Dl_Xtx7n.js";
3
+ import { v as T } from "./index-DP9-VsqS.js";
4
+ import { c as y } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D2ENkR1G.js";
5
5
  import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const q = (a) => {
7
7
  const s = {};