ss-component-new 1.1.921 → 1.1.923

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 (75) hide show
  1. package/dist/{animationData-D-XvnkSQ.js → animationData-CTpjCYhK.js} +6 -6
  2. package/dist/{animationData-Dg5nZmQb.cjs → animationData-DLXZgNpV.cjs} +1 -1
  3. package/dist/{index-DqUIDEgN.js → index-0G_JDDWb.js} +2 -2
  4. package/dist/{index-DlHjuMCk.cjs → index-8mTZLO_A.cjs} +1 -1
  5. package/dist/{index-TTLLjKU5.js → index-AGPHpTKJ.js} +1 -1
  6. package/dist/index-B-aQ-kqX.cjs +1 -0
  7. package/dist/{index-BfLjlx67.cjs → index-B0OjCXz7.cjs} +1 -1
  8. package/dist/{index-98RJ1w0g.js → index-B4VYJrHF.js} +12 -11
  9. package/dist/{index-CmT-zy5L.cjs → index-B6oh3-Ct.cjs} +1 -1
  10. package/dist/{index-CZJTN1uo.cjs → index-BAMDj-rG.cjs} +1 -1
  11. package/dist/{index-C5M-qhEj.js → index-BCfdDcDu.js} +1 -1
  12. package/dist/{index-gnffGsTk.js → index-BJYEogKi.js} +1 -1
  13. package/dist/{index-Bi_pZDT_.cjs → index-BQ6f71Dz.cjs} +1 -1
  14. package/dist/{index-B-yzrEZh.js → index-BVbjjK1V.js} +537 -530
  15. package/dist/{index-BmsooG86.js → index-BYaXG121.js} +4 -4
  16. package/dist/{index-Q-Cy1_j8.js → index-BkZETTsT.js} +2 -2
  17. package/dist/{index-CFLovJ0i.cjs → index-BkdQ5sK9.cjs} +1 -1
  18. package/dist/{index-C4JMEa6C.js → index-Bm70BpWE.js} +1 -1
  19. package/dist/{index-BuPTgVC7.js → index-BrSQozru.js} +1 -1
  20. package/dist/{index-BwUkB1sf.js → index-Bv21n18_.js} +3 -3
  21. package/dist/{index-Cc5_TOfF.js → index-Bzn8NssG.js} +2 -2
  22. package/dist/{index-DsZFwAYZ.cjs → index-C4dYFyeW.cjs} +1 -1
  23. package/dist/{index-D-gYKwIE.cjs → index-CDlfv8iZ.cjs} +1 -1
  24. package/dist/{index-DHlQLt05.cjs → index-CEBtluXF.cjs} +1 -1
  25. package/dist/{index-CMYZuZzH.js → index-CHuYFd6z.js} +3 -3
  26. package/dist/{index-2sGzSWRf.js → index-CI-zI74o.js} +5 -5
  27. package/dist/{index-BhrZuBcV.cjs → index-CM2e-aFr.cjs} +1 -1
  28. package/dist/{index-BKeI2lR9.cjs → index-CWaNzrIi.cjs} +4 -4
  29. package/dist/{index-BDU3vXVs.js → index-CX3oEbIN.js} +1 -1
  30. package/dist/{index-BSOLJb49.js → index-CagNaxdj.js} +1 -1
  31. package/dist/{index-DSvhBEUe.js → index-D0SmzMV2.js} +1 -1
  32. package/dist/{index-CsXU1cJh.js → index-DEb_fTQX.js} +2 -2
  33. package/dist/{index-BWITrhZP.js → index-DG6cei-2.js} +2 -2
  34. package/dist/{index-CyIZxplK.js → index-DIawaN-i.js} +2 -2
  35. package/dist/{index-CLaIyeHj.cjs → index-DN_jbDym.cjs} +1 -1
  36. package/dist/{index-DxUI9x_B.cjs → index-DeOGzCvI.cjs} +1 -1
  37. package/dist/{index-Cj75iy0b.cjs → index-DeWYtW4K.cjs} +1 -1
  38. package/dist/{index-BKzt_jIN.cjs → index-Dl5T9uDS.cjs} +1 -1
  39. package/dist/{index-Cd2PkOxm.js → index-DlBzL_XU.js} +9 -9
  40. package/dist/{index-BSbSyRCe.js → index-DmQjZHnn.js} +3 -3
  41. package/dist/{index-RowSWjcw.js → index-DmRh8D1t.js} +1 -1
  42. package/dist/{index-C1gMK2BS.cjs → index-DxkGOvjA.cjs} +1 -1
  43. package/dist/{index-hu4gkaPI.cjs → index-Sb4ZvuY9.cjs} +1 -1
  44. package/dist/{index-PTwO2-GZ.js → index-Z3Su0Iq4.js} +340 -331
  45. package/dist/{index-CqHUGQDa.js → index-d_JKmLxj.js} +4 -4
  46. package/dist/{index-CZk6uo11.js → index-fbKgXoj0.js} +2 -2
  47. package/dist/{index-M6TcCTD5.js → index-oR_RD2vE.js} +1 -1
  48. package/dist/{index-BoEjfIjV.js → index-rX-we4sR.js} +7 -7
  49. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-QmzkrVn5.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C0FUSSZR.js} +1 -1
  50. package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-_oi2LBsJ.js → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-DL3zuTIY.js} +10 -10
  51. package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-DKbr2pqk.cjs → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-DqH34Kgb.cjs} +1 -1
  52. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-Bv3C9m69.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-DGmgy87A.js} +5 -5
  53. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BT8bM4Yz.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DZ5tdbkA.cjs} +1 -1
  54. package/dist/{index.vue_vue_type_style_index_1_lang-yLsHUO4i.js → index.vue_vue_type_style_index_1_lang-BxhwL7ff.js} +2 -2
  55. package/dist/{index.vue_vue_type_style_index_1_lang-X-7YscJh.cjs → index.vue_vue_type_style_index_1_lang-CDMiAXNP.cjs} +1 -1
  56. package/dist/{index.vue_vue_type_style_index_1_lang-VCE6rYmh.js → index.vue_vue_type_style_index_1_lang-DXdi5Q8-.js} +2 -2
  57. package/dist/{main-XwkiTQ0-.cjs → main-D8Iwnwan.cjs} +1 -1
  58. package/dist/{main-DfbZ-tFN.js → main-Dxvq8o_X.js} +3 -3
  59. package/dist/ss-component.cjs +1 -1
  60. package/dist/ss-component.css +2 -2
  61. package/dist/ss-component.js +10 -10
  62. package/dist/ss-component2.cjs +1 -1
  63. package/dist/ss-component2.js +11 -11
  64. package/dist/{threeLatheView-QelyxFIt.cjs → threeLatheView-BoPqISuU.cjs} +1 -1
  65. package/dist/{threeLatheView-CWy7WIwu.js → threeLatheView-CdkQ2EqM.js} +4 -4
  66. package/dist/{threeModel-DDFQzI8g.cjs → threeModel-3DlefrGj.cjs} +1 -1
  67. package/dist/{threeModel-C7pPh28B.js → threeModel-Djxu_n4l.js} +2 -2
  68. package/dist/{threeSceneView-C1EIO3Ye.js → threeSceneView-BOr_zjMB.js} +5 -5
  69. package/dist/{threeSceneView-CsOGlGwZ.cjs → threeSceneView-BpOW9IUT.cjs} +1 -1
  70. package/dist/{threeSceneViewForCPMPIP-DVGCogkM.js → threeSceneViewForCPMPIP-BA9YBmBn.js} +1 -1
  71. package/dist/{threeSceneViewForCPMPIP-CHlcmYWA.cjs → threeSceneViewForCPMPIP-D6gUCU6_.cjs} +1 -1
  72. package/dist/{threeViewerHost-WZZDtK9s.cjs → threeViewerHost-DPZKsQRj.cjs} +1 -1
  73. package/dist/{threeViewerHost-BxDCbtxz.js → threeViewerHost-DSHtm4tg.js} +2 -2
  74. package/package.json +1 -1
  75. package/dist/index-BO8ABe6N.cjs +0 -1
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as o, reactive as r, onMounted as n, createElementBlock as s, openBlock as c, createVNode as m } from "vue";
2
2
  import "./index-BHtNKL1L.js";
3
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-QmzkrVn5.js";
4
- import { u as i, aH as p } from "./index.vue_vue_type_style_index_1_lang-yLsHUO4i.js";
3
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C0FUSSZR.js";
4
+ import { u as i, aH as p } from "./index.vue_vue_type_style_index_1_lang-BxhwL7ff.js";
5
5
  import { s as u } from "./index-BQYjK74w.js";
6
- import { s as l } from "./index-98RJ1w0g.js";
7
- import { S as d } from "./index-BDU3vXVs.js";
6
+ import { s as l } from "./index-B4VYJrHF.js";
7
+ import { S as d } from "./index-CX3oEbIN.js";
8
8
  const _ = { class: "role-wrapper" }, k = /* @__PURE__ */ o({
9
9
  __name: "index",
10
10
  setup(f) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as o, reactive as c, onMounted as s, createElementBlock as r, openBlock as u, createVNode as i } from "vue";
2
- import { s as m } from "./index-98RJ1w0g.js";
3
- import { u as d, aJ as p, aH as l } from "./index.vue_vue_type_style_index_1_lang-yLsHUO4i.js";
2
+ import { s as m } from "./index-B4VYJrHF.js";
3
+ import { u as d, aJ as p, aH as l } from "./index.vue_vue_type_style_index_1_lang-BxhwL7ff.js";
4
4
  import { s as g, u as h } from "./index-BQYjK74w.js";
5
5
  const _ = { class: "routerPage-wrapper" }, w = /* @__PURE__ */ o({
6
6
  __name: "index",
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),N=require("./index-DsZFwAYZ.cjs"),s=require("./index-1z9RrjZc.cjs"),B=require("./index.vue_vue_type_style_index_1_lang-CWXvUeB2.cjs");require("./array-7dwJEV9V.cjs");const I=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-DEEZPcpU.cjs"),O=require("./index-BKeI2lR9.cjs"),L={class:"type-select"},j=["onClick"],z={class:"list-icon"},H={__name:"index",setup(S){const p=B.useModelComp(s.pinia),{itemData:r,activeItemIndex:D}=s.storeToRefs(p),C=u=>{var k;let i=null;const h=s.cloneDeep(r.value);if(D.value>=0&&(i=h==null?void 0:h[D.value]),i&&i.comp==="Layout"){const{compData:g=[]}=i;((k=g==null?void 0:g.find(E=>{const{key:w}=E;return w==="children"}))==null?void 0:k.contents).push({comp:u.comp,name:u.name,compData:[]}),p.setItemData(h);return}const d=s.cloneDeep(r.value);d.push({comp:u.comp,name:u.name,compData:[]}),p.setItemData(d)};return(u,i)=>{const h=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",L,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(N.slotContent),(d,k)=>(e.openBlock(),e.createElementBlock("div",{class:"type-list",key:k},[e.createElementVNode("div",{class:"list-content",onClick:g=>C(d)},[e.createElementVNode("div",z,[e.createVNode(h,{name:d.icon},null,8,["name"])]),e.createElementVNode("div",null,e.toDisplayString(d.name),1)],8,j)]))),128))])}}},G=I._export_sfc(H,[["__scopeId","data-v-2cd8410b"]]),J={class:"fill-content"},K={class:"operate-content"},Q=["onClick"],W={class:"collapse-title-item"},X={key:1},Y=["onClick"],Z={class:"icon-content"},P={key:0,class:"edit-content"},ee=["onClick"],te=["onClick"],ne={class:"parent-main"},oe={style:{display:"flex","justify-content":"space-between"}},le={__name:"index",setup(S){const p=B.useModelComp(s.pinia),{itemData:r,originalData:D}=s.storeToRefs(p),C=e.ref([]);e.ref([]);const u=e.ref([]),i=e.ref([]),h=e.ref([]),d=l=>{var a;let o=(a=s.cloneDeep(i.value))==null?void 0:a.map((n,t)=>(l===t&&(n.content=!0),n));i.value=o},k=l=>{var a;let o=(a=s.cloneDeep(i.value))==null?void 0:a.map((n,t)=>(l===t&&(n.content=!1),n));i.value=o,C.value=s.cloneDeep(r.value)},g=(l,o)=>{var v;let a=(v=s.cloneDeep(i.value))==null?void 0:v.map((_,c)=>(l===c&&(_.content=!1),_));i.value=a;const n=s.cloneDeep(r.value),t=n==null?void 0:n.filter((_,c)=>(c===l&&(_.name=o),_));p.setOriginalData(t),p.setItemData(t)},x=l=>{const o=s.cloneDeep(r.value),a=o==null?void 0:o.map((n,t)=>((n==null?void 0:n.name)===(l==null?void 0:l.name)?n.isShow=!(l!=null&&l.isShow):n.isShow=n.isShow,n));r.value=a};e.watch(()=>r.value,()=>{var l,o,a,n;!r.value||((l=r.value)==null?void 0:l.length)===0?C.value=[]:C.value=(o=s.cloneDeep(r.value))==null?void 0:o.filter(t=>(t==null?void 0:t.comp)!=="methodButton"),u.value=C.value,i.value=(a=s.cloneDeep(u.value))==null?void 0:a.map((t,v)=>({id:v,content:!1})),h.value=(n=s.cloneDeep(u.value))==null?void 0:n.map((t,v)=>({id:v,isShow:t==null?void 0:t.isShow}))},{deep:!0,immediate:!0});const E=l=>N.getComponent(l),w=(l,o,a,n)=>{var v,_;if(!l)return;let t=s.cloneDeep(r.value);t=(v=t==null?void 0:t.map((c,f)=>{if(n&&f===a){const{compData:y,itemChildData:V}=l;return c.compData=y,c.itemChildData=V,c}return f===a&&(c.compData=l),c}))==null?void 0:v.filter(c=>(c==null?void 0:c.comp)!=="methodButton"),i.value=(_=s.cloneDeep(t))==null?void 0:_.map((c,f)=>({id:f,content:!1})),p.setOriginalData(t),p.setItemData(t)},U=e.ref(null),$=(l,o)=>{if(!o){p.setActiveItemIndex(l);return}p.setActiveItemIndex(-1)},b=l=>{B.ElMessageBox.confirm("是否确认要删除","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{const o=s.cloneDeep(r.value),a=o==null?void 0:o.filter((n,t)=>t!==l);p.setOriginalData(a),p.setItemData(a),p.setActiveItemIndex(-1),s.ElMessage({type:"success",message:"删除成功"})}).catch(()=>{})};return(l,o)=>{const a=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",J,[o[3]||(o[3]=e.createElementVNode("div",{class:"fill-operate"},e.toDisplayString("操作栏"),-1)),e.createElementVNode("div",K,[e.createVNode(A.default,{class:"collapse-content",collapseContents:C.value,ref_key:"ssCollapseRef",ref:U},{title:e.withCtx(({item:n,index:t,isActive:v})=>{var _,c,f,y,V,M,q,R,F,T;return[e.createElementVNode("div",{class:"collapse-title-content",onClick:m=>$(t,v)},[e.createElementVNode("div",W,[(c=(_=i.value)==null?void 0:_.find(m=>m.id===t))!=null&&c.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"collapse-title",style:e.normalizeStyle({marginRight:n.name&&n.name!==""?"8px":"0px"})},e.toDisplayString(n.name),5)),(y=(f=i.value)==null?void 0:f.find(m=>m.id===t))!=null&&y.content?(e.openBlock(),e.createElementBlock("div",X,[e.createVNode(O._sfc_main$2,{modelValue:n.name,"onUpdate:modelValue":m=>n.name=m,onClick:o[0]||(o[0]=e.withModifiers(()=>{},["stop"]))},null,8,["modelValue","onUpdate:modelValue"])])):e.createCommentVNode("",!0),(M=(V=i.value)==null?void 0:V.find(m=>m.id===t))!=null&&M.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:2,onClick:e.withModifiers(m=>d(t),["stop"]),class:"icon-content"},[e.createVNode(a,{name:"Edit",style:{width:"16px",height:"16px"}})],8,Y))]),e.createElementVNode("div",Z,[(R=(q=i.value)==null?void 0:q.find(m=>m.id===t))!=null&&R.content?(e.openBlock(),e.createElementBlock("div",P,[e.createVNode(a,{name:"Cancel",style:{width:"16px",height:"16px"},class:"icon-content",onClick:e.withModifiers(m=>k(t),["stop"])},null,8,["onClick"]),e.createVNode(a,{name:"Save",onClick:e.withModifiers(m=>g(t,n.name),["stop"]),style:{width:"16px",height:"16px",fill:"var(--ssComponent-primary-color)"},class:"icon-content"},null,8,["onClick"])])):e.createCommentVNode("",!0),(T=(F=i.value)==null?void 0:F.find(m=>m.id===t))!=null&&T.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:e.withModifiers(m=>b(t),["stop"]),class:"icon-content"},[e.createVNode(a,{name:"Delete",style:{width:"16px",height:"16px"}})],8,ee))])],8,Q)]}),content:e.withCtx(({item:n,index:t})=>{var v,_;return[e.createElementVNode("div",{class:"comp-child",onClick:c=>$(t)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(E(n.comp+"Operate")),{itemContents:n==null?void 0:n.compData,originalItemContents:(_=(v=u.value)==null?void 0:v.find((c,f)=>f===t))==null?void 0:_.compData,itemChildData:n==null?void 0:n.itemChildData,onChange:(c,f)=>w(c,n,t,f)},null,40,["itemContents","originalItemContents","itemChildData","onChange"]))],8,te),e.createElementVNode("div",ne,[o[2]||(o[2]=e.createElementVNode("div",{class:"operate-title"},[e.createElementVNode("div",null,e.toDisplayString("显隐控制"))],-1)),e.createElementVNode("div",oe,[o[1]||(o[1]=e.createElementVNode("div",{class:"operate-center-content"},e.toDisplayString("是否显示"),-1)),e.createVNode(O._sfc_main$1,{value:h.value.find(c=>c.id===t).isShow,"onUpdate:value":c=>h.value.find(f=>f.id===t).isShow=c,onClick:c=>x(n)},null,8,["value","onUpdate:value","onClick"])])])]}),_:1},8,["collapseContents"])])])}}},ce=I._export_sfc(le,[["__scopeId","data-v-1f5fca05"]]),ae={key:0,class:"show-content"},se={style:{display:"flex"}},ie={__name:"index",setup(S){const p=B.useModelComp(s.pinia),{itemData:r}=s.storeToRefs(p),D=e.ref([]);e.watch(()=>r.value,()=>{var u;!r.value||((u=r.value)==null?void 0:u.length)===0?D.value=[]:D.value=s.cloneDeep(r.value)},{deep:!0,immediate:!0});const C=u=>N.getComponent(u);return(u,i)=>{var h;return((h=D.value)==null?void 0:h.length)>0?(e.openBlock(),e.createElementBlock("div",ae,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value,(d,k)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:k},[e.createElementVNode("div",se,e.toDisplayString(d.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(C(d.comp)),{itemData:d==null?void 0:d.compData,childItemData:d==null?void 0:d.itemChildData,key:k},null,8,["itemData","childItemData"]))]))),128))])):e.createCommentVNode("",!0)}}},re=I._export_sfc(ie,[["__scopeId","data-v-bfa22d29"]]);exports.modelFill=ce;exports.modelSelect=G;exports.modelShow=re;
1
+ "use strict";const e=require("vue"),N=require("./index-C4dYFyeW.cjs"),s=require("./index-1z9RrjZc.cjs"),B=require("./index.vue_vue_type_style_index_1_lang-CWXvUeB2.cjs");require("./array-7dwJEV9V.cjs");const I=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-DEEZPcpU.cjs"),O=require("./index-CWaNzrIi.cjs"),L={class:"type-select"},j=["onClick"],z={class:"list-icon"},H={__name:"index",setup(S){const p=B.useModelComp(s.pinia),{itemData:r,activeItemIndex:D}=s.storeToRefs(p),C=u=>{var k;let i=null;const h=s.cloneDeep(r.value);if(D.value>=0&&(i=h==null?void 0:h[D.value]),i&&i.comp==="Layout"){const{compData:g=[]}=i;((k=g==null?void 0:g.find(E=>{const{key:w}=E;return w==="children"}))==null?void 0:k.contents).push({comp:u.comp,name:u.name,compData:[]}),p.setItemData(h);return}const d=s.cloneDeep(r.value);d.push({comp:u.comp,name:u.name,compData:[]}),p.setItemData(d)};return(u,i)=>{const h=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",L,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(N.slotContent),(d,k)=>(e.openBlock(),e.createElementBlock("div",{class:"type-list",key:k},[e.createElementVNode("div",{class:"list-content",onClick:g=>C(d)},[e.createElementVNode("div",z,[e.createVNode(h,{name:d.icon},null,8,["name"])]),e.createElementVNode("div",null,e.toDisplayString(d.name),1)],8,j)]))),128))])}}},G=I._export_sfc(H,[["__scopeId","data-v-2cd8410b"]]),J={class:"fill-content"},K={class:"operate-content"},Q=["onClick"],W={class:"collapse-title-item"},X={key:1},Y=["onClick"],Z={class:"icon-content"},P={key:0,class:"edit-content"},ee=["onClick"],te=["onClick"],ne={class:"parent-main"},oe={style:{display:"flex","justify-content":"space-between"}},le={__name:"index",setup(S){const p=B.useModelComp(s.pinia),{itemData:r,originalData:D}=s.storeToRefs(p),C=e.ref([]);e.ref([]);const u=e.ref([]),i=e.ref([]),h=e.ref([]),d=l=>{var a;let o=(a=s.cloneDeep(i.value))==null?void 0:a.map((n,t)=>(l===t&&(n.content=!0),n));i.value=o},k=l=>{var a;let o=(a=s.cloneDeep(i.value))==null?void 0:a.map((n,t)=>(l===t&&(n.content=!1),n));i.value=o,C.value=s.cloneDeep(r.value)},g=(l,o)=>{var v;let a=(v=s.cloneDeep(i.value))==null?void 0:v.map((_,c)=>(l===c&&(_.content=!1),_));i.value=a;const n=s.cloneDeep(r.value),t=n==null?void 0:n.filter((_,c)=>(c===l&&(_.name=o),_));p.setOriginalData(t),p.setItemData(t)},x=l=>{const o=s.cloneDeep(r.value),a=o==null?void 0:o.map((n,t)=>((n==null?void 0:n.name)===(l==null?void 0:l.name)?n.isShow=!(l!=null&&l.isShow):n.isShow=n.isShow,n));r.value=a};e.watch(()=>r.value,()=>{var l,o,a,n;!r.value||((l=r.value)==null?void 0:l.length)===0?C.value=[]:C.value=(o=s.cloneDeep(r.value))==null?void 0:o.filter(t=>(t==null?void 0:t.comp)!=="methodButton"),u.value=C.value,i.value=(a=s.cloneDeep(u.value))==null?void 0:a.map((t,v)=>({id:v,content:!1})),h.value=(n=s.cloneDeep(u.value))==null?void 0:n.map((t,v)=>({id:v,isShow:t==null?void 0:t.isShow}))},{deep:!0,immediate:!0});const E=l=>N.getComponent(l),w=(l,o,a,n)=>{var v,_;if(!l)return;let t=s.cloneDeep(r.value);t=(v=t==null?void 0:t.map((c,f)=>{if(n&&f===a){const{compData:y,itemChildData:V}=l;return c.compData=y,c.itemChildData=V,c}return f===a&&(c.compData=l),c}))==null?void 0:v.filter(c=>(c==null?void 0:c.comp)!=="methodButton"),i.value=(_=s.cloneDeep(t))==null?void 0:_.map((c,f)=>({id:f,content:!1})),p.setOriginalData(t),p.setItemData(t)},U=e.ref(null),$=(l,o)=>{if(!o){p.setActiveItemIndex(l);return}p.setActiveItemIndex(-1)},b=l=>{B.ElMessageBox.confirm("是否确认要删除","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{const o=s.cloneDeep(r.value),a=o==null?void 0:o.filter((n,t)=>t!==l);p.setOriginalData(a),p.setItemData(a),p.setActiveItemIndex(-1),s.ElMessage({type:"success",message:"删除成功"})}).catch(()=>{})};return(l,o)=>{const a=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",J,[o[3]||(o[3]=e.createElementVNode("div",{class:"fill-operate"},e.toDisplayString("操作栏"),-1)),e.createElementVNode("div",K,[e.createVNode(A.default,{class:"collapse-content",collapseContents:C.value,ref_key:"ssCollapseRef",ref:U},{title:e.withCtx(({item:n,index:t,isActive:v})=>{var _,c,f,y,V,M,q,R,F,T;return[e.createElementVNode("div",{class:"collapse-title-content",onClick:m=>$(t,v)},[e.createElementVNode("div",W,[(c=(_=i.value)==null?void 0:_.find(m=>m.id===t))!=null&&c.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"collapse-title",style:e.normalizeStyle({marginRight:n.name&&n.name!==""?"8px":"0px"})},e.toDisplayString(n.name),5)),(y=(f=i.value)==null?void 0:f.find(m=>m.id===t))!=null&&y.content?(e.openBlock(),e.createElementBlock("div",X,[e.createVNode(O._sfc_main$2,{modelValue:n.name,"onUpdate:modelValue":m=>n.name=m,onClick:o[0]||(o[0]=e.withModifiers(()=>{},["stop"]))},null,8,["modelValue","onUpdate:modelValue"])])):e.createCommentVNode("",!0),(M=(V=i.value)==null?void 0:V.find(m=>m.id===t))!=null&&M.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:2,onClick:e.withModifiers(m=>d(t),["stop"]),class:"icon-content"},[e.createVNode(a,{name:"Edit",style:{width:"16px",height:"16px"}})],8,Y))]),e.createElementVNode("div",Z,[(R=(q=i.value)==null?void 0:q.find(m=>m.id===t))!=null&&R.content?(e.openBlock(),e.createElementBlock("div",P,[e.createVNode(a,{name:"Cancel",style:{width:"16px",height:"16px"},class:"icon-content",onClick:e.withModifiers(m=>k(t),["stop"])},null,8,["onClick"]),e.createVNode(a,{name:"Save",onClick:e.withModifiers(m=>g(t,n.name),["stop"]),style:{width:"16px",height:"16px",fill:"var(--ssComponent-primary-color)"},class:"icon-content"},null,8,["onClick"])])):e.createCommentVNode("",!0),(T=(F=i.value)==null?void 0:F.find(m=>m.id===t))!=null&&T.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:e.withModifiers(m=>b(t),["stop"]),class:"icon-content"},[e.createVNode(a,{name:"Delete",style:{width:"16px",height:"16px"}})],8,ee))])],8,Q)]}),content:e.withCtx(({item:n,index:t})=>{var v,_;return[e.createElementVNode("div",{class:"comp-child",onClick:c=>$(t)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(E(n.comp+"Operate")),{itemContents:n==null?void 0:n.compData,originalItemContents:(_=(v=u.value)==null?void 0:v.find((c,f)=>f===t))==null?void 0:_.compData,itemChildData:n==null?void 0:n.itemChildData,onChange:(c,f)=>w(c,n,t,f)},null,40,["itemContents","originalItemContents","itemChildData","onChange"]))],8,te),e.createElementVNode("div",ne,[o[2]||(o[2]=e.createElementVNode("div",{class:"operate-title"},[e.createElementVNode("div",null,e.toDisplayString("显隐控制"))],-1)),e.createElementVNode("div",oe,[o[1]||(o[1]=e.createElementVNode("div",{class:"operate-center-content"},e.toDisplayString("是否显示"),-1)),e.createVNode(O._sfc_main$1,{value:h.value.find(c=>c.id===t).isShow,"onUpdate:value":c=>h.value.find(f=>f.id===t).isShow=c,onClick:c=>x(n)},null,8,["value","onUpdate:value","onClick"])])])]}),_:1},8,["collapseContents"])])])}}},ce=I._export_sfc(le,[["__scopeId","data-v-1f5fca05"]]),ae={key:0,class:"show-content"},se={style:{display:"flex"}},ie={__name:"index",setup(S){const p=B.useModelComp(s.pinia),{itemData:r}=s.storeToRefs(p),D=e.ref([]);e.watch(()=>r.value,()=>{var u;!r.value||((u=r.value)==null?void 0:u.length)===0?D.value=[]:D.value=s.cloneDeep(r.value)},{deep:!0,immediate:!0});const C=u=>N.getComponent(u);return(u,i)=>{var h;return((h=D.value)==null?void 0:h.length)>0?(e.openBlock(),e.createElementBlock("div",ae,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value,(d,k)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:k},[e.createElementVNode("div",se,e.toDisplayString(d.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(C(d.comp)),{itemData:d==null?void 0:d.compData,childItemData:d==null?void 0:d.itemChildData,key:k},null,8,["itemData","childItemData"]))]))),128))])):e.createCommentVNode("",!0)}}},re=I._export_sfc(ie,[["__scopeId","data-v-bfa22d29"]]);exports.modelFill=ce;exports.modelSelect=G;exports.modelShow=re;
@@ -1,6 +1,6 @@
1
1
  import { ref as f, computed as S, reactive as P } from "vue";
2
2
  import { s as R, c9 as $, ca as B, c8 as H, g as _, u as j, p as L, c as J, f as x, E as T } from "./index-BQYjK74w.js";
3
- import { aZ as z, u as Z, d as G, r as Q } from "./index.vue_vue_type_style_index_1_lang-yLsHUO4i.js";
3
+ import { aZ as z, u as Z, d as G, r as Q } from "./index.vue_vue_type_style_index_1_lang-BxhwL7ff.js";
4
4
  const A = j(L), { loginUserInfo: o, cryptoInfo: c } = R(A), X = Z(L), { activeMenuPath: g } = R(X), Y = f(0), M = S(() => {
5
5
  var s, a, t, r, l, n, e, u, p, d, v;
6
6
  return [
@@ -1,5 +1,5 @@
1
1
  import { g as S, E as v, u as P, p as K } from "./index-BQYjK74w.js";
2
- import { u as k } from "./index.vue_vue_type_style_index_1_lang-yLsHUO4i.js";
2
+ import { u as k } from "./index.vue_vue_type_style_index_1_lang-BxhwL7ff.js";
3
3
  import { ref as h } from "vue";
4
4
  const A = k(K), E = P(K), x = h(!1), D = h(!1), j = async () => {
5
5
  const I = S({
@@ -1,11 +1,11 @@
1
1
  import { resolveComponent as J, createElementBlock as k, openBlock as h, Fragment as K, renderList as Q, unref as te, createElementVNode as m, createVNode as w, toDisplayString as x, ref as I, watch as W, withCtx as H, createBlock as X, resolveDynamicComponent as Y, createCommentVNode as S, normalizeStyle as ne, withModifiers as E } from "vue";
2
- import { n as oe, g as Z } from "./index-BoEjfIjV.js";
2
+ import { n as oe, g as Z } from "./index-rX-we4sR.js";
3
3
  import { p as O, s as R, c as d, E as se } from "./index-BQYjK74w.js";
4
- import { a as U, E as ae } from "./index.vue_vue_type_style_index_1_lang-yLsHUO4i.js";
4
+ import { a as U, E as ae } from "./index.vue_vue_type_style_index_1_lang-BxhwL7ff.js";
5
5
  import "./array-Dv1oMcqh.js";
6
6
  import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  import le from "./index-DiRBJiMW.js";
8
- import { a as ce, b as ie } from "./index-B-yzrEZh.js";
8
+ import { a as ce, b as ie } from "./index-BVbjjK1V.js";
9
9
  const re = { class: "type-select" }, ue = ["onClick"], pe = { class: "list-icon" }, de = {
10
10
  __name: "index",
11
11
  setup(F) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as z, reactive as R, onMounted as T, watch as A, nextTick as U, resolveComponent as i, createElementBlock as k, openBlock as u, createVNode as c, withCtx as l, createElementVNode as _, toDisplayString as g, Fragment as v, renderList as B, createBlock as b, createTextVNode as f, withDirectives as I, vShow as P } from "vue";
2
- import { s as E } from "./index-98RJ1w0g.js";
3
- import { u as F, aK as x } from "./index.vue_vue_type_style_index_1_lang-yLsHUO4i.js";
2
+ import { s as E } from "./index-B4VYJrHF.js";
3
+ import { u as F, aK as x } from "./index.vue_vue_type_style_index_1_lang-BxhwL7ff.js";
4
4
  import { s as O, c as H } from "./index-BQYjK74w.js";
5
5
  import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const L = { class: "routerPage-wrapper" }, W = { class: "role-dialog-header" }, j = ["title"], q = { title: "更多" }, G = { class: "dialog-footer" }, J = /* @__PURE__ */ z({