ss-component-new 1.2.5 → 1.2.6

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 (116) hide show
  1. package/dist/OrbitControls-Co_9huz0.cjs +1 -0
  2. package/dist/OrbitControls-DA4VpOM_.js +458 -0
  3. package/dist/STLLoader-DmGTF0Nv.js +657 -0
  4. package/dist/STLLoader-RU7KqloS.cjs +6 -0
  5. package/dist/{animationData-C-RfOMuc.cjs → animationData-B0K2ghu6.cjs} +1 -1
  6. package/dist/{animationData-y8dsr3_3.js → animationData-GqECkAbz.js} +4 -4
  7. package/dist/{array-A59WrroX.js → array-D65aMM6H.js} +1 -1
  8. package/dist/{array-BtZq8qON.cjs → array-DMPAgNcb.cjs} +1 -1
  9. package/dist/{iconfont-7cEds3Xj.js → iconfont-ljBfzBSE.js} +2 -2
  10. package/dist/{iconfont-CsuwJCas.cjs → iconfont-t5epssvu.cjs} +1 -1
  11. package/dist/{index-CIH_h4z2.js → index--rLSLEk3.js} +2 -2
  12. package/dist/{index-BstfB43W.cjs → index-67QO-qDa.cjs} +1 -1
  13. package/dist/{index-DTOlfKkI.cjs → index-87kRWJv8.cjs} +1 -1
  14. package/dist/{index-Y9ssLsHN.js → index-8Dyi4QCI.js} +183 -184
  15. package/dist/{index-CxOoKysB.cjs → index-8yRiF_z8.cjs} +1 -1
  16. package/dist/{index-CwnxmCht.js → index-9zEdW6xv.js} +2 -2
  17. package/dist/{index-DQP6am4n.cjs → index-B14iwpkN.cjs} +1 -1
  18. package/dist/{index-De5HlcQy.cjs → index-B7hLDNQ6.cjs} +1 -1
  19. package/dist/{index-Cli0OESv.js → index-BEoEUXZe.js} +10 -10
  20. package/dist/{index-DLBS_tgM.cjs → index-BHJ-tVLT.cjs} +1 -1
  21. package/dist/{index-DX6yycjK.js → index-BMMYAqF1.js} +1 -1
  22. package/dist/{index-DSb6SjE3.js → index-BNOx3XL5.js} +1 -1
  23. package/dist/{index-C5z5UbxK.cjs → index-BNvpuVyw.cjs} +1 -1
  24. package/dist/{index-1z9RrjZc.cjs → index-BOJUyAaV.cjs} +1 -1
  25. package/dist/{index-D2ZBhyUI.cjs → index-BYUPvuvs.cjs} +1 -1
  26. package/dist/{index-CKowlJfn.cjs → index-BaRkv5oc.cjs} +1 -1
  27. package/dist/{index-C1oE8qIa.cjs → index-BpR7F1Fp.cjs} +1 -1
  28. package/dist/{index-BLgbZvdb.js → index-Bs2K1FVH.js} +2 -2
  29. package/dist/{index-NcJvspI2.cjs → index-BsM9qdbC.cjs} +1 -1
  30. package/dist/{index-B8mnYY10.js → index-BsfJJu0R.js} +6 -6
  31. package/dist/{index-BCbxnJnH.js → index-Bw_JtuzR.js} +152 -152
  32. package/dist/{index-C461j30b.js → index-C1FOuBuy.js} +1 -1
  33. package/dist/{index-COKoQtgg.cjs → index-C5CKSB0e.cjs} +1 -1
  34. package/dist/{index-Bc4DtcwM.js → index-C8UOMPgt.js} +2 -2
  35. package/dist/{index-3W-Y0xpv.cjs → index-CA-FC_OL.cjs} +1 -1
  36. package/dist/{index-DNaqgwk-.js → index-CArSUfnV.js} +20 -20
  37. package/dist/{index-DU_1ks22.js → index-CBuqdsPh.js} +4 -4
  38. package/dist/{index-C_GxFCMg.js → index-CMCrQ36H.js} +3 -3
  39. package/dist/{index-DYU11-M5.js → index-CRj9VM12.js} +6 -6
  40. package/dist/{index-700WRwjB.js → index-CRrAiL5l.js} +4 -4
  41. package/dist/{index-Dzrvm_bg.js → index-CShBWCYm.js} +1 -1
  42. package/dist/{index-BwjuTBrR.js → index-CTkF2kl_.js} +1 -1
  43. package/dist/{index-COV5L9rX.cjs → index-CZaBF851.cjs} +1 -1
  44. package/dist/{index-DTCYk2wI.js → index-CbA74tCL.js} +2 -2
  45. package/dist/{index-DgymXtI4.js → index-CbDu4gfZ.js} +2 -2
  46. package/dist/{index-Bxyl11ug.cjs → index-CePZE-QA.cjs} +1 -1
  47. package/dist/{index-DIOVPmEg.cjs → index-CedgKpsz.cjs} +1 -1
  48. package/dist/{index-O8If5b4T.cjs → index-Cm3z0Vmi.cjs} +1 -1
  49. package/dist/{index-Cj8I0l8I.js → index-D-WcrLQv.js} +4 -4
  50. package/dist/{index-OsCw48Sn.cjs → index-D6mwkqWY.cjs} +1 -1
  51. package/dist/{index-BKJg9Djt.cjs → index-D8510-YQ.cjs} +1 -1
  52. package/dist/{index-Bb7Xqt9a.cjs → index-D9oqICYV.cjs} +1 -1
  53. package/dist/{index-BvApH9cT.js → index-DGepdvRW.js} +2 -2
  54. package/dist/{index-ByVPv-Yz.js → index-DGi-ANHr.js} +5 -5
  55. package/dist/{index-C4zGJtAL.js → index-DJGsDpDp.js} +3 -3
  56. package/dist/{index-CIcvrh1S.cjs → index-DPBmAgEA.cjs} +1 -1
  57. package/dist/{index-yQZ9D_YR.js → index-DPWc4No_.js} +2 -2
  58. package/dist/{index-CxnH4vfV.cjs → index-DSchKIyh.cjs} +1 -1
  59. package/dist/{index-CYp77kPp.js → index-DV_ZZQBO.js} +1 -1
  60. package/dist/{index-D8WF1ILq.cjs → index-DVmoPvzr.cjs} +1 -1
  61. package/dist/{index-DWrDb90D.cjs → index-DWs7-g1h.cjs} +1 -1
  62. package/dist/{index-HvKkM5Lq.cjs → index-DZ8a7BZ1.cjs} +1 -1
  63. package/dist/{index-Y6CA0bCm.cjs → index-DcUUpSE1.cjs} +1 -1
  64. package/dist/{index-CX_HTfbe.js → index-DvpVQvAe.js} +2 -2
  65. package/dist/{index-DYx6r9hf.cjs → index-FK1YYpjN.cjs} +1 -1
  66. package/dist/{index-BYDi6Owv.js → index-HvKjB6_P.js} +3 -3
  67. package/dist/{index-DPk1uhLn.js → index-LADv0t0E.js} +12 -12
  68. package/dist/{index-D3-XwkD_.js → index-_66uQhcl.js} +6 -6
  69. package/dist/{index-CJK74ski.cjs → index-_uyv24Pt.cjs} +1 -1
  70. package/dist/{index-CdELRsxO.js → index-g4qw0jRy.js} +6 -6
  71. package/dist/{index-GmZ7sLUW.cjs → index-mtuIEfrj.cjs} +1 -1
  72. package/dist/{index-CjI5pDiU.cjs → index-tttYIzsn.cjs} +1 -1
  73. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DLUx599w.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BSOYWm_U.cjs} +1 -1
  74. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BhLzDN6s.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DIMJusrg.js} +2 -2
  75. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-llikchjv.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-D2VLEzGB.cjs} +1 -1
  76. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-D-2EkcBi.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-D58IzjOR.js} +6 -6
  77. package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DiMotFL8.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BnNwKutS.cjs} +1 -1
  78. package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DodcXWpb.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CJCvJvBM.js} +13 -13
  79. package/dist/{index.vue_vue_type_style_index_1_lang-CFvcnWO4.js → index.vue_vue_type_style_index_1_lang-D5Hjs-g0.js} +1 -1
  80. package/dist/{index.vue_vue_type_style_index_1_lang-BJQzMo8k.cjs → index.vue_vue_type_style_index_1_lang-H_pReDxj.cjs} +46 -45
  81. package/dist/{index.vue_vue_type_style_index_1_lang-BcYTED7W.cjs → index.vue_vue_type_style_index_1_lang-N-_9ZJEf.cjs} +1 -1
  82. package/dist/{index.vue_vue_type_style_index_1_lang-BMzWMYje.js → index.vue_vue_type_style_index_1_lang-hBa3nAgx.js} +5100 -5012
  83. package/dist/{isString-BNK38WbE.js → isString--ZVOCy4V.js} +1 -1
  84. package/dist/{isString-BmAegMGI.cjs → isString-CELwppr9.cjs} +1 -1
  85. package/dist/{main-C3-nmz2f.cjs → main-C6Iw-pcH.cjs} +1 -1
  86. package/dist/{main-DS4xl7Jm.js → main-CygliYyN.js} +5 -5
  87. package/dist/ss-component.cjs +1 -1
  88. package/dist/ss-component.css +1 -1
  89. package/dist/ss-component.js +11 -11
  90. package/dist/ss-component2.cjs +1 -1
  91. package/dist/ss-component2.js +12 -12
  92. package/dist/three-viewport-gizmo-BHznJ6W3.js +26015 -0
  93. package/dist/three-viewport-gizmo-BV37JzRa.cjs +4197 -0
  94. package/dist/{threeLatheView-BzHB-t_G.cjs → threeLatheView-CdUoB0Te.cjs} +1 -1
  95. package/dist/{threeLatheView-sTBlm0tt.js → threeLatheView-DzpPpdDr.js} +4 -4
  96. package/dist/{threeModel-BoNyasP7.cjs → threeModel-BUCLJlE5.cjs} +1 -1
  97. package/dist/{threeModel-CaxS7sQg.js → threeModel-BfMMeZCc.js} +5 -5
  98. package/dist/threePreview-BEqzg370.js +1972 -0
  99. package/dist/threePreview-C-JW_pcY.cjs +1 -0
  100. package/dist/{threeSceneView-wQdzFhdw.cjs → threeSceneView-BTsG2QJg.cjs} +1 -1
  101. package/dist/{threeSceneView-BIAOu60U.js → threeSceneView-DV5dsTZZ.js} +24 -24
  102. package/dist/{threeSceneViewForCPMPIP-XYA9PRYN.js → threeSceneViewForCPMPIP-Bexwqkry.js} +27 -27
  103. package/dist/{threeSceneViewForCPMPIP-Bkr16khM.cjs → threeSceneViewForCPMPIP-DwLWGNUd.cjs} +2 -2
  104. package/dist/{threeViewerHost-D1i6LUb6.cjs → threeViewerHost-CRqcYbJE.cjs} +1 -1
  105. package/dist/{threeViewerHost-BkOYLPdk.js → threeViewerHost-CTjd2V1D.js} +4 -4
  106. package/dist/{useRayCaster-CdDOIWOo.js → useRayCaster-D0_7oJan.js} +12 -12
  107. package/dist/{useRayCaster-0bnGc301.cjs → useRayCaster-DN56HpNP.cjs} +1 -1
  108. package/package.json +1 -1
  109. package/dist/OrbitControls-D1lM0xvz.cjs +0 -1
  110. package/dist/OrbitControls-DI8fa9gz.js +0 -419
  111. package/dist/STLLoader-KxFIlfhN.cjs +0 -6
  112. package/dist/STLLoader-memlq1bT.js +0 -609
  113. package/dist/three-viewport-gizmo-BxFHxv_x.js +0 -18587
  114. package/dist/three-viewport-gizmo-CwaL5sMV.cjs +0 -4195
  115. package/dist/threePreview-Cy7NY-gw.cjs +0 -1
  116. package/dist/threePreview-DPyqhBkJ.js +0 -1873
@@ -1,6 +1,6 @@
1
1
  import { ref as n, computed as c, defineComponent as s, reactive as p, onMounted as i, createElementBlock as u, openBlock as f, createVNode as b } from "vue";
2
- import { s as m } from "./index-Cli0OESv.js";
3
- import { g as d, c as _ } from "./index-BLgbZvdb.js";
2
+ import { s as m } from "./index-BEoEUXZe.js";
3
+ import { g as d, c as _ } from "./index-Bs2K1FVH.js";
4
4
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const l = n([]), g = c(() => [
6
6
  {
@@ -1 +1 @@
1
- "use strict";const g=require("vue"),O=require("./index.vue_vue_type_style_index_1_lang-BcYTED7W.cjs"),i=require("./index-1z9RrjZc.cjs"),pe=require("./index-Bxyl11ug.cjs"),A=O.useModelComp(i.pinia),m=pe.useUnit(i.pinia),I=O.useMenuState(i.pinia),{menus:ee,configMenu:B,activeMenuPath:q,cacheStructures:E}=i.storeToRefs(I),j=g.ref(!1),te=g.computed(()=>{var e,t;return[{key:"extraButton",contents:[]},{key:"rowButton",contents:[{label:"修改"}]},{key:"header",contents:[{label:"菜单名称",prop:"title",isFormColHidden:!1},{label:"菜单类型",prop:"menuType",formType:"select",options:[{label:"系统菜单",value:"集团"},{label:"公司",value:"公司"}],isTableColHidden:!1,isFormColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:(t=(e=i.cloneDeep(ee.value))==null?void 0:e.map(l=>({...l,menuType:"系统菜单"})))==null?void 0:t.filter(l=>l.title!=="系统管理"&&l.title!=="平台管理")}]}),$=g.ref([]),H=g.ref([{label:"新建"}]),fe=g.computed(()=>[{key:"extraButton",contents:H.value},{key:"rowButton",contents:[{label:"修改"},{label:"删除"}]},{key:"header",contents:[{label:"操作类型",prop:"operateType",formType:"select",options:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标",prop:"operateIcon",formType:"inputPopover",value:""},{label:"操作触发事件",prop:"trigger",formType:"select",options:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"配置一:",prop:"dialogConfig",formType:"button",value:"弹窗内容",isTableColHidden:!0},{label:"配置二:",prop:"contentConfig",formType:"button",value:"模块内容",isTableColHidden:!0},{label:"继承配置:",prop:"allowInherit",formType:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!1,isTableColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:$.value}]),J=g.ref([]),k=g.ref({}),de=g.ref({}),_=g.ref([{label:"菜单",prop:"path",isFormColHidden:!0,value:""},{label:"操作类型:",prop:"operateType",type:"select",contents:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标:",prop:"operateIcon",type:"inputPopover",value:""},{label:"操作触发事件:",prop:"trigger",type:"select",contents:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"生成的菜单图标:",prop:"menuIcon",type:"inputPopover",value:""},{label:"配置一:",prop:"dialogConfig",type:"button",value:"操作触发的弹窗结构"},{label:"配置二:",prop:"contentConfig",type:"button",value:"操作生成的模块结构",isFormColHidden:!1},{label:"",prop:"structureIds",type:"input",value:[],isFormColHidden:!0},{label:"继承配置:",prop:"allowInherit",type:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!0}]),R=e=>{var t;J.value=e?(t=_.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l:{...l,value:e?e[l==null?void 0:l.prop]:""}):_.value},ie=g.ref([{label:"查询"},{label:"重置"}]),ge=async()=>{},le=e=>e.map(t=>t.childMenus&&t.childMenus.length>0?{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title,children:le(t.childMenus)}:{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title}),v=g.reactive({show:!1,title:"菜单配置",width:"30%",type:"create"}),U=g.ref([]),C=g.ref({}),h=g.ref(null),ae=g.ref([]),oe=g.computed(()=>{var e;return(e=le(ee.value))==null?void 0:e.filter(t=>t.title!=="系统管理"&&t.title!=="平台管理")}),ne=async e=>{var l,u,n,c;const t=await i.getInsofDataApi({key:{type:"subStructure",systemKey:sessionStorage.getItem("systemKey"),pageKey:e,version:1}});if(((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result){const r=(c=(n=t.data)==null?void 0:n.result)==null?void 0:c.map(p=>{var f;return{id:p==null?void 0:p.id,...(f=p==null?void 0:p.value)==null?void 0:f.pageData}});ae.value=r,I.setCacheStructures({key:"contentConfig",data:r})}},ve=async e=>{var t;j.value=!0,h.value={...e,rootNode:i.findRootNodeByPath(oe.value,e.path)},I.setCacheStructures(null),(e==null?void 0:e.level)===0?H.value.splice(0):(H.value=[{label:"新建"}],U.value=(t=e==null?void 0:e.path)==null?void 0:t.split("/")),await I.setConfigMenu(null),await ne(e==null?void 0:e.path),await F(e)},ye=e=>{switch(e){case"新建":return"create";case"修改":return"update";case"删除":return"delete"}},be=async(e,t)=>{var l,u;if(!h.value)return i.ElMessage.warning("请先选择菜单");if(v.type=ye(e),U.value=[],A.setSubmitCurStructure(!1),m.setSelectTitle([]),C.value=i.cloneDeep(t),v.type!=="delete"){switch(v.type){case"create":R(null),await I.setConfigMenu(null);break;case"update":R(C.value),await I.setConfigMenu(C.value),console.log("clickRowButton",C.value);break}await g.nextTick(),v.title=`【${v.type==="create"?(l=h.value)==null?void 0:l.path:(u=C.value)==null?void 0:u.path}】菜单配置${e}`,v.show=!0}else await re(C.value,v.type)},ue=g.ref(!0),he=async e=>{var t;k.value=e,await I.setConfigMenu({...k.value,path:(t=h.value)==null?void 0:t.path}),ue.value=(e==null?void 0:e.operateType)!=="新增"};g.watch(()=>ue.value,async e=>{var t;await g.nextTick(),J.value=(t=_.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l.prop==="contentConfig"?{...l,isFormColHidden:e}:l:{...l,value:k.value?k.value[l==null?void 0:l.prop]:""})},{immediate:!0,deep:!0});const Ce=g.ref(null),Ie=async(e,t)=>{var r,p,f,s,b;if(v.type==="create"){const a=(p=(r=E.value)==null?void 0:r.filter(d=>(d==null?void 0:d.key)===t))==null?void 0:p.flatMap(d=>d==null?void 0:d.data);A.setItemData(a),I.setCacheStructures({key:t,data:a})}if(console.log("getTriggerStructures1",e==null?void 0:e.structureIds,t),!(e!=null&&e.structureIds)||((f=e==null?void 0:e.structureIds)==null?void 0:f.length)===0)return;const l=(b=(s=e==null?void 0:e.structureIds)==null?void 0:s.filter(a=>(a==null?void 0:a.key)===t))==null?void 0:b.map(a=>a==null?void 0:a.id);let u=l==null?void 0:l.map(a=>{if(a)return i.getInsofDataApi({id:a})});const n=await Promise.all(u),c=n==null?void 0:n.every(a=>{var d;return((d=a==null?void 0:a.data)==null?void 0:d.code)===200});if(console.log("getTriggerStructures2",e==null?void 0:e.structureIds,t,n),c&&(n==null?void 0:n.length)>0){const a=n==null?void 0:n.map(d=>{var T,M,w,N,P,o,K;return{id:(w=(M=(T=d==null?void 0:d.data)==null?void 0:T.result)==null?void 0:M[0])==null?void 0:w.id,...(K=(o=(P=(N=d==null?void 0:d.data)==null?void 0:N.result)==null?void 0:P[0])==null?void 0:o.value)==null?void 0:K.pageData}});A.setItemData(a),I.setCacheStructures({key:t,data:a})}},ke=async e=>{var n,c,r,p,f;const t=e==="操作触发的弹窗结构"?"dialogConfig":"contentConfig";I.setButtonTriggerType(t),await Ie(C.value,t);let l;(n=k.value)!=null&&n.subMenus&&((c=k.value)==null?void 0:c.subMenus.length)>0&&(l=(r=U.value)==null?void 0:r.map(s=>({value:s})),l.unshift({value:(p=C.value)==null?void 0:p.title}));let u;v.type==="create"?u={...k.value,path:(f=h.value)==null?void 0:f.path}:v.type==="update"&&(u=B.value),await I.setConfigMenu(u),m.setSelectTitle(l),A.setIsEdit("edit")},F=async e=>{var l,u,n,c,r,p;const t=await i.getInsofDataApi({key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+(e==null?void 0:e.path),tableId:""}});((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result&&($.value=((c=(n=t.data)==null?void 0:n.result)==null?void 0:c.length)>0?(p=(r=t.data)==null?void 0:r.result)==null?void 0:p.map(f=>{var s;return{id:f==null?void 0:f.id,...(s=f==null?void 0:f.value)==null?void 0:s.tableData}}):[]),j.value=!1},x=async(e,t,l="contentConfig")=>{var u,n,c,r,p,f;try{let s,b;t==="create"?(s={key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+((u=h.value)==null?void 0:u.path),type:"structure",rootNodePath:(c=(n=h.value)==null?void 0:n.rootNode)==null?void 0:c.path,structureBelong:l,parentTable:"",version:1},value:{pageData:e}},b=i.createInsofDataApi):t==="update"?(s={id:e==null?void 0:e.id,value:{pageData:e}},b=i.updateInsofDataApi):t==="delete"&&(s={id:e},b=i.deleteInsofDataApi);const a=await b(s);if(((r=a==null?void 0:a.data)==null?void 0:r.code)!==200)throw i.ElMessage.error("保存响应失败"),new Error("保存响应失败");const d=t==="create"?(p=a==null?void 0:a.data)==null?void 0:p.result:e==null?void 0:e.id;return{status:((f=a==null?void 0:a.data)==null?void 0:f.code)===200,data:{id:d,key:l}}}catch{i.ElMessage.error("保存响应失败")}},Y=(e,t)=>{var f,s,b;const l=(f=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:f.map(a=>a==null?void 0:a.id),u=t.filter(a=>!(l!=null&&l.includes(a))),n=l==null?void 0:l.filter(a=>!t.includes(a));let c=null,r=null,p=null;return c=[...u,...n].filter(a=>a),r=(s=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:s.filter(a=>!(a!=null&&a.id)),p=(b=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:b.filter(a=>a==null?void 0:a.id).filter(a=>Object.keys(a).length>1),{deleteIds:c,createComps:r,updateComps:p}},Z=(e,t)=>{var u,n,c,r,p,f;let l=[];return((u=t==null?void 0:t.deleteIds)==null?void 0:u.length)>0&&((n=t==null?void 0:t.deleteIds)==null||n.forEach(s=>{l.push(x(s,"delete",e))})),((c=t==null?void 0:t.createComps)==null?void 0:c.length)>0&&((r=t==null?void 0:t.createComps)==null||r.forEach(s=>{l.push(x(s,"create",e))})),((p=t==null?void 0:t.updateComps)==null?void 0:p.length)>0&&((f=t==null?void 0:t.updateComps)==null||f.forEach(s=>{s!=null&&s.id&&l.push(x(s,"update",e))})),l},Te=e=>{const t=new Map;return e.forEach(l=>{t.set(l.id,l)}),Array.from(t.values())},Me=async(e,t)=>{var l,u,n,c,r,p,f;try{const s=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="contentConfig"),b=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="dialogConfig");await g.nextTick();const a=(n=(u=(l=E.value)==null?void 0:l.filter(o=>(o==null?void 0:o.key)==="dialogConfig"))==null?void 0:u.flatMap(o=>o==null?void 0:o.data))==null?void 0:n.map(o=>o==null?void 0:o.id);let d=(p=(r=(c=E.value)==null?void 0:c.filter(o=>(o==null?void 0:o.key)==="contentConfig"))==null?void 0:r.flatMap(o=>o==null?void 0:o.data))==null?void 0:p.map(o=>o==null?void 0:o.id);d=[...d,...(f=ae.value)==null?void 0:f.map(o=>o==null?void 0:o.id)];const T=Y(b,a),M=Y(s,d),w=Z("dialogConfig",T),N=Z("contentConfig",M),P=[...w,...N];await Promise.all(P).then(o=>{var z,G,L,V,Q,W,X;if(!(o==null?void 0:o.every(y=>y.status)))return;let S=(z=o==null?void 0:o.flatMap(y=>y==null?void 0:y.data))==null?void 0:z.filter(y=>(y==null?void 0:y.id)!==null&&(y==null?void 0:y.id)!==void 0);if(((G=T==null?void 0:T.updateComps)==null?void 0:G.length)===0&&v.type==="update"){const y=(V=(L=C.value)==null?void 0:L.structureIds)==null?void 0:V.filter(D=>(D==null?void 0:D.key)==="dialogConfig");S=[...S,...y]}if(((Q=M==null?void 0:M.updateComps)==null?void 0:Q.length)===0&&v.type==="update"){const y=(X=(W=C.value)==null?void 0:W.structureIds)==null?void 0:X.filter(D=>(D==null?void 0:D.key)==="contentConfig");S=[...S,...y]}const ce=Te(S);re({...t,isNotInitial:!0,structureIds:ce},v.type)}).catch(o=>{i.ElMessage.error(o)})}catch(s){throw i.ElMessage.error(s),new Error(s)}},re=async(e,t)=>{var n,c;let l,u;t==="create"?(l={key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+((n=h.value)==null?void 0:n.path),tableId:"",rootNodePath:e==null?void 0:e.rootNodePath},value:{tableData:e}},u=i.createInsofDataApi):t==="update"?(l={id:e==null?void 0:e.id,value:{tableData:e}},u=i.updateInsofDataApi):t==="delete"&&(l={ids:[e.id,...(c=e==null?void 0:e.structureIds)==null?void 0:c.map(r=>r.id)]},u=i.batchDeleteInsofDataApi),O.handleSubmitAsync(u,l,t).then(r=>{t==="create"&&$.value.push({...e,id:r}),t&&r&&i.ElMessage.success("响应成功"),F(h.value)})},De=async()=>{var l,u,n,c,r;const e=JSON.parse(i.cloneDeep(JSON.stringify(E.value)));await g.nextTick();const t=v.type==="create"?{...B.value,rootNodePath:(u=(l=h.value)==null?void 0:l.rootNode)==null?void 0:u.path}:{...B.value,rootNodePath:(c=(n=h.value)==null?void 0:n.rootNode)==null?void 0:c.path,id:(r=C.value)==null?void 0:r.id};await Me(e,t),k.value={},v.show=!1,await F(h.value)},Se=()=>{v.show=!1},se={comp:"Group",name:"/平台管理/菜单管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:te.value,name:""}]}]},we=Object.freeze(Object.defineProperty({__proto__:null,beforeDialogDestroy:Se,buttonValue:ie,changeTrigger:he,changedRow:de,clickNodeTrigger:ve,clickRowButton:be,clickSubmitForm:De,clickTrigger:ke,dialogInfo:v,formatFormData:R,getInitialSubStructure:ne,getTableDataAsync:F,handleItemDataChange:ge,inputForm:k,menuPageData:fe,operatingForm:Ce,pageData:te,renderFormData:J,tableLoading:j,tempMenuPageData:se,treeData:oe},Symbol.toStringTag,{value:"Module"}));exports.State=we;exports.tempMenuPageData=se;
1
+ "use strict";const g=require("vue"),O=require("./index.vue_vue_type_style_index_1_lang-N-_9ZJEf.cjs"),i=require("./index-BOJUyAaV.cjs"),pe=require("./index-CePZE-QA.cjs"),A=O.useModelComp(i.pinia),m=pe.useUnit(i.pinia),I=O.useMenuState(i.pinia),{menus:ee,configMenu:B,activeMenuPath:q,cacheStructures:E}=i.storeToRefs(I),j=g.ref(!1),te=g.computed(()=>{var e,t;return[{key:"extraButton",contents:[]},{key:"rowButton",contents:[{label:"修改"}]},{key:"header",contents:[{label:"菜单名称",prop:"title",isFormColHidden:!1},{label:"菜单类型",prop:"menuType",formType:"select",options:[{label:"系统菜单",value:"集团"},{label:"公司",value:"公司"}],isTableColHidden:!1,isFormColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:(t=(e=i.cloneDeep(ee.value))==null?void 0:e.map(l=>({...l,menuType:"系统菜单"})))==null?void 0:t.filter(l=>l.title!=="系统管理"&&l.title!=="平台管理")}]}),$=g.ref([]),H=g.ref([{label:"新建"}]),fe=g.computed(()=>[{key:"extraButton",contents:H.value},{key:"rowButton",contents:[{label:"修改"},{label:"删除"}]},{key:"header",contents:[{label:"操作类型",prop:"operateType",formType:"select",options:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标",prop:"operateIcon",formType:"inputPopover",value:""},{label:"操作触发事件",prop:"trigger",formType:"select",options:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"配置一:",prop:"dialogConfig",formType:"button",value:"弹窗内容",isTableColHidden:!0},{label:"配置二:",prop:"contentConfig",formType:"button",value:"模块内容",isTableColHidden:!0},{label:"继承配置:",prop:"allowInherit",formType:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!1,isTableColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:$.value}]),J=g.ref([]),k=g.ref({}),de=g.ref({}),_=g.ref([{label:"菜单",prop:"path",isFormColHidden:!0,value:""},{label:"操作类型:",prop:"operateType",type:"select",contents:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标:",prop:"operateIcon",type:"inputPopover",value:""},{label:"操作触发事件:",prop:"trigger",type:"select",contents:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"生成的菜单图标:",prop:"menuIcon",type:"inputPopover",value:""},{label:"配置一:",prop:"dialogConfig",type:"button",value:"操作触发的弹窗结构"},{label:"配置二:",prop:"contentConfig",type:"button",value:"操作生成的模块结构",isFormColHidden:!1},{label:"",prop:"structureIds",type:"input",value:[],isFormColHidden:!0},{label:"继承配置:",prop:"allowInherit",type:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!0}]),R=e=>{var t;J.value=e?(t=_.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l:{...l,value:e?e[l==null?void 0:l.prop]:""}):_.value},ie=g.ref([{label:"查询"},{label:"重置"}]),ge=async()=>{},le=e=>e.map(t=>t.childMenus&&t.childMenus.length>0?{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title,children:le(t.childMenus)}:{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title}),v=g.reactive({show:!1,title:"菜单配置",width:"30%",type:"create"}),U=g.ref([]),C=g.ref({}),h=g.ref(null),ae=g.ref([]),oe=g.computed(()=>{var e;return(e=le(ee.value))==null?void 0:e.filter(t=>t.title!=="系统管理"&&t.title!=="平台管理")}),ne=async e=>{var l,u,n,c;const t=await i.getInsofDataApi({key:{type:"subStructure",systemKey:sessionStorage.getItem("systemKey"),pageKey:e,version:1}});if(((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result){const r=(c=(n=t.data)==null?void 0:n.result)==null?void 0:c.map(p=>{var f;return{id:p==null?void 0:p.id,...(f=p==null?void 0:p.value)==null?void 0:f.pageData}});ae.value=r,I.setCacheStructures({key:"contentConfig",data:r})}},ve=async e=>{var t;j.value=!0,h.value={...e,rootNode:i.findRootNodeByPath(oe.value,e.path)},I.setCacheStructures(null),(e==null?void 0:e.level)===0?H.value.splice(0):(H.value=[{label:"新建"}],U.value=(t=e==null?void 0:e.path)==null?void 0:t.split("/")),await I.setConfigMenu(null),await ne(e==null?void 0:e.path),await F(e)},ye=e=>{switch(e){case"新建":return"create";case"修改":return"update";case"删除":return"delete"}},be=async(e,t)=>{var l,u;if(!h.value)return i.ElMessage.warning("请先选择菜单");if(v.type=ye(e),U.value=[],A.setSubmitCurStructure(!1),m.setSelectTitle([]),C.value=i.cloneDeep(t),v.type!=="delete"){switch(v.type){case"create":R(null),await I.setConfigMenu(null);break;case"update":R(C.value),await I.setConfigMenu(C.value),console.log("clickRowButton",C.value);break}await g.nextTick(),v.title=`【${v.type==="create"?(l=h.value)==null?void 0:l.path:(u=C.value)==null?void 0:u.path}】菜单配置${e}`,v.show=!0}else await re(C.value,v.type)},ue=g.ref(!0),he=async e=>{var t;k.value=e,await I.setConfigMenu({...k.value,path:(t=h.value)==null?void 0:t.path}),ue.value=(e==null?void 0:e.operateType)!=="新增"};g.watch(()=>ue.value,async e=>{var t;await g.nextTick(),J.value=(t=_.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l.prop==="contentConfig"?{...l,isFormColHidden:e}:l:{...l,value:k.value?k.value[l==null?void 0:l.prop]:""})},{immediate:!0,deep:!0});const Ce=g.ref(null),Ie=async(e,t)=>{var r,p,f,s,b;if(v.type==="create"){const a=(p=(r=E.value)==null?void 0:r.filter(d=>(d==null?void 0:d.key)===t))==null?void 0:p.flatMap(d=>d==null?void 0:d.data);A.setItemData(a),I.setCacheStructures({key:t,data:a})}if(console.log("getTriggerStructures1",e==null?void 0:e.structureIds,t),!(e!=null&&e.structureIds)||((f=e==null?void 0:e.structureIds)==null?void 0:f.length)===0)return;const l=(b=(s=e==null?void 0:e.structureIds)==null?void 0:s.filter(a=>(a==null?void 0:a.key)===t))==null?void 0:b.map(a=>a==null?void 0:a.id);let u=l==null?void 0:l.map(a=>{if(a)return i.getInsofDataApi({id:a})});const n=await Promise.all(u),c=n==null?void 0:n.every(a=>{var d;return((d=a==null?void 0:a.data)==null?void 0:d.code)===200});if(console.log("getTriggerStructures2",e==null?void 0:e.structureIds,t,n),c&&(n==null?void 0:n.length)>0){const a=n==null?void 0:n.map(d=>{var T,M,w,N,P,o,K;return{id:(w=(M=(T=d==null?void 0:d.data)==null?void 0:T.result)==null?void 0:M[0])==null?void 0:w.id,...(K=(o=(P=(N=d==null?void 0:d.data)==null?void 0:N.result)==null?void 0:P[0])==null?void 0:o.value)==null?void 0:K.pageData}});A.setItemData(a),I.setCacheStructures({key:t,data:a})}},ke=async e=>{var n,c,r,p,f;const t=e==="操作触发的弹窗结构"?"dialogConfig":"contentConfig";I.setButtonTriggerType(t),await Ie(C.value,t);let l;(n=k.value)!=null&&n.subMenus&&((c=k.value)==null?void 0:c.subMenus.length)>0&&(l=(r=U.value)==null?void 0:r.map(s=>({value:s})),l.unshift({value:(p=C.value)==null?void 0:p.title}));let u;v.type==="create"?u={...k.value,path:(f=h.value)==null?void 0:f.path}:v.type==="update"&&(u=B.value),await I.setConfigMenu(u),m.setSelectTitle(l),A.setIsEdit("edit")},F=async e=>{var l,u,n,c,r,p;const t=await i.getInsofDataApi({key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+(e==null?void 0:e.path),tableId:""}});((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result&&($.value=((c=(n=t.data)==null?void 0:n.result)==null?void 0:c.length)>0?(p=(r=t.data)==null?void 0:r.result)==null?void 0:p.map(f=>{var s;return{id:f==null?void 0:f.id,...(s=f==null?void 0:f.value)==null?void 0:s.tableData}}):[]),j.value=!1},x=async(e,t,l="contentConfig")=>{var u,n,c,r,p,f;try{let s,b;t==="create"?(s={key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+((u=h.value)==null?void 0:u.path),type:"structure",rootNodePath:(c=(n=h.value)==null?void 0:n.rootNode)==null?void 0:c.path,structureBelong:l,parentTable:"",version:1},value:{pageData:e}},b=i.createInsofDataApi):t==="update"?(s={id:e==null?void 0:e.id,value:{pageData:e}},b=i.updateInsofDataApi):t==="delete"&&(s={id:e},b=i.deleteInsofDataApi);const a=await b(s);if(((r=a==null?void 0:a.data)==null?void 0:r.code)!==200)throw i.ElMessage.error("保存响应失败"),new Error("保存响应失败");const d=t==="create"?(p=a==null?void 0:a.data)==null?void 0:p.result:e==null?void 0:e.id;return{status:((f=a==null?void 0:a.data)==null?void 0:f.code)===200,data:{id:d,key:l}}}catch{i.ElMessage.error("保存响应失败")}},Y=(e,t)=>{var f,s,b;const l=(f=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:f.map(a=>a==null?void 0:a.id),u=t.filter(a=>!(l!=null&&l.includes(a))),n=l==null?void 0:l.filter(a=>!t.includes(a));let c=null,r=null,p=null;return c=[...u,...n].filter(a=>a),r=(s=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:s.filter(a=>!(a!=null&&a.id)),p=(b=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:b.filter(a=>a==null?void 0:a.id).filter(a=>Object.keys(a).length>1),{deleteIds:c,createComps:r,updateComps:p}},Z=(e,t)=>{var u,n,c,r,p,f;let l=[];return((u=t==null?void 0:t.deleteIds)==null?void 0:u.length)>0&&((n=t==null?void 0:t.deleteIds)==null||n.forEach(s=>{l.push(x(s,"delete",e))})),((c=t==null?void 0:t.createComps)==null?void 0:c.length)>0&&((r=t==null?void 0:t.createComps)==null||r.forEach(s=>{l.push(x(s,"create",e))})),((p=t==null?void 0:t.updateComps)==null?void 0:p.length)>0&&((f=t==null?void 0:t.updateComps)==null||f.forEach(s=>{s!=null&&s.id&&l.push(x(s,"update",e))})),l},Te=e=>{const t=new Map;return e.forEach(l=>{t.set(l.id,l)}),Array.from(t.values())},Me=async(e,t)=>{var l,u,n,c,r,p,f;try{const s=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="contentConfig"),b=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="dialogConfig");await g.nextTick();const a=(n=(u=(l=E.value)==null?void 0:l.filter(o=>(o==null?void 0:o.key)==="dialogConfig"))==null?void 0:u.flatMap(o=>o==null?void 0:o.data))==null?void 0:n.map(o=>o==null?void 0:o.id);let d=(p=(r=(c=E.value)==null?void 0:c.filter(o=>(o==null?void 0:o.key)==="contentConfig"))==null?void 0:r.flatMap(o=>o==null?void 0:o.data))==null?void 0:p.map(o=>o==null?void 0:o.id);d=[...d,...(f=ae.value)==null?void 0:f.map(o=>o==null?void 0:o.id)];const T=Y(b,a),M=Y(s,d),w=Z("dialogConfig",T),N=Z("contentConfig",M),P=[...w,...N];await Promise.all(P).then(o=>{var z,G,L,V,Q,W,X;if(!(o==null?void 0:o.every(y=>y.status)))return;let S=(z=o==null?void 0:o.flatMap(y=>y==null?void 0:y.data))==null?void 0:z.filter(y=>(y==null?void 0:y.id)!==null&&(y==null?void 0:y.id)!==void 0);if(((G=T==null?void 0:T.updateComps)==null?void 0:G.length)===0&&v.type==="update"){const y=(V=(L=C.value)==null?void 0:L.structureIds)==null?void 0:V.filter(D=>(D==null?void 0:D.key)==="dialogConfig");S=[...S,...y]}if(((Q=M==null?void 0:M.updateComps)==null?void 0:Q.length)===0&&v.type==="update"){const y=(X=(W=C.value)==null?void 0:W.structureIds)==null?void 0:X.filter(D=>(D==null?void 0:D.key)==="contentConfig");S=[...S,...y]}const ce=Te(S);re({...t,isNotInitial:!0,structureIds:ce},v.type)}).catch(o=>{i.ElMessage.error(o)})}catch(s){throw i.ElMessage.error(s),new Error(s)}},re=async(e,t)=>{var n,c;let l,u;t==="create"?(l={key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+((n=h.value)==null?void 0:n.path),tableId:"",rootNodePath:e==null?void 0:e.rootNodePath},value:{tableData:e}},u=i.createInsofDataApi):t==="update"?(l={id:e==null?void 0:e.id,value:{tableData:e}},u=i.updateInsofDataApi):t==="delete"&&(l={ids:[e.id,...(c=e==null?void 0:e.structureIds)==null?void 0:c.map(r=>r.id)]},u=i.batchDeleteInsofDataApi),O.handleSubmitAsync(u,l,t).then(r=>{t==="create"&&$.value.push({...e,id:r}),t&&r&&i.ElMessage.success("响应成功"),F(h.value)})},De=async()=>{var l,u,n,c,r;const e=JSON.parse(i.cloneDeep(JSON.stringify(E.value)));await g.nextTick();const t=v.type==="create"?{...B.value,rootNodePath:(u=(l=h.value)==null?void 0:l.rootNode)==null?void 0:u.path}:{...B.value,rootNodePath:(c=(n=h.value)==null?void 0:n.rootNode)==null?void 0:c.path,id:(r=C.value)==null?void 0:r.id};await Me(e,t),k.value={},v.show=!1,await F(h.value)},Se=()=>{v.show=!1},se={comp:"Group",name:"/平台管理/菜单管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:te.value,name:""}]}]},we=Object.freeze(Object.defineProperty({__proto__:null,beforeDialogDestroy:Se,buttonValue:ie,changeTrigger:he,changedRow:de,clickNodeTrigger:ve,clickRowButton:be,clickSubmitForm:De,clickTrigger:ke,dialogInfo:v,formatFormData:R,getInitialSubStructure:ne,getTableDataAsync:F,handleItemDataChange:ge,inputForm:k,menuPageData:fe,operatingForm:Ce,pageData:te,renderFormData:J,tableLoading:j,tempMenuPageData:se,treeData:oe},Symbol.toStringTag,{value:"Module"}));exports.State=we;exports.tempMenuPageData=se;
@@ -1,28 +1,28 @@
1
1
  import { resolveComponent as ge, createBlock as pe, openBlock as d, withCtx as u, createElementVNode as c, toDisplayString as de, ref as w, onMounted as Qt, watch as je, createElementBlock as D, Fragment as xe, renderList as Ye, createCommentVNode as ae, normalizeStyle as pt, defineComponent as Mt, resolveDynamicComponent as Lt, unref as r, computed as nt, provide as Ct, resolveDirective as na, createVNode as i, withDirectives as tt, createTextVNode as Ve, vShow as Et, renderSlot as Xe, normalizeClass as Kt, createSlots as oa, mergeProps as sa, onUnmounted as Sa } from "vue";
2
- import { m as Vt, a as Gt, b as Jt } from "./index-DYU11-M5.js";
3
- import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-D-2EkcBi.js";
2
+ import { m as Vt, a as Gt, b as Jt } from "./index-CRj9VM12.js";
3
+ import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-D58IzjOR.js";
4
4
  import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- import { _ as Ea, e as ba, s as Qa } from "./index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DodcXWpb.js";
6
- import { c as rt, i as Ma, p as Pe, s as Se, u as jt, b as lt, g as vt, E as gt, d as $t, e as Da, f as Ra } from "./index-CYp77kPp.js";
7
- import { i as We, j as la, a as Dt, u as Rt, k as Ot, l as Ta, m as ia } from "./index.vue_vue_type_style_index_1_lang-CFvcnWO4.js";
5
+ import { _ as Ea, e as ba, s as Qa } from "./index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CJCvJvBM.js";
6
+ import { c as rt, i as Ma, p as Pe, s as Se, u as jt, b as lt, g as vt, E as gt, d as $t, e as Da, f as Ra } from "./index-DV_ZZQBO.js";
7
+ import { i as We, j as la, a as Dt, u as Rt, k as Ot, l as Ta, m as ia } from "./index.vue_vue_type_style_index_1_lang-D5Hjs-g0.js";
8
8
  import { S as Ue } from "./index-BHtNKL1L.js";
9
- import { a as Wt, s as at, o as Yt, b as Ft, c as ra, d as ca, e as ua, f as da, h as ga, i as Ua, j as pa, k as Pa, l as ha, m as ya, n as fa, p as ja, q as ma } from "./index-Y9ssLsHN.js";
10
- import { a as xa } from "./array-A59WrroX.js";
11
- import { u as Ht, a as Aa } from "./index-Cli0OESv.js";
12
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BhLzDN6s.js";
13
- import "./three-viewport-gizmo-BxFHxv_x.js";
14
- import "./index.vue_vue_type_style_index_1_lang-BMzWMYje.js";
15
- import "./index-DgymXtI4.js";
9
+ import { a as Wt, s as at, o as Yt, b as Ft, c as ra, d as ca, e as ua, f as da, h as ga, i as Ua, j as pa, k as Pa, l as ha, m as ya, n as fa, p as ja, q as ma } from "./index-8Dyi4QCI.js";
10
+ import { a as xa } from "./array-D65aMM6H.js";
11
+ import { u as Ht, a as Aa } from "./index-BEoEUXZe.js";
12
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DIMJusrg.js";
13
+ import "./three-viewport-gizmo-BHznJ6W3.js";
14
+ import "./index.vue_vue_type_style_index_1_lang-hBa3nAgx.js";
15
+ import "./index-CbDu4gfZ.js";
16
16
  import { useRouter as Ca } from "vue-router";
17
- import Ka from "./index-Dzrvm_bg.js";
18
- import Ya from "./threeModel-CaxS7sQg.js";
19
- import { s as Ut, _ as it } from "./index-DX6yycjK.js";
20
- import { d as Pt, T as Nt, u as Fa, a as Na } from "./threeViewerHost-BkOYLPdk.js";
21
- import { _ as wt, g as La } from "./index-D3-XwkD_.js";
22
- import { s as bt } from "./index-DU_1ks22.js";
17
+ import Ka from "./index-CShBWCYm.js";
18
+ import Ya from "./threeModel-BfMMeZCc.js";
19
+ import { s as Ut, _ as it } from "./index-BMMYAqF1.js";
20
+ import { d as Pt, T as Nt, u as Fa, a as Na } from "./threeViewerHost-CTjd2V1D.js";
21
+ import { _ as wt, g as La } from "./index-_66uQhcl.js";
22
+ import { s as bt } from "./index-CBuqdsPh.js";
23
23
  import { a as Va, d as Ga, t as Ja, c as Oa, b as Wa } from "./index-C2usxP_Q.js";
24
- import { v as Ha } from "./index-CX_HTfbe.js";
25
- import { f as qa, a as Xa } from "./animationData-y8dsr3_3.js";
24
+ import { v as Ha } from "./index-DvpVQvAe.js";
25
+ import { f as qa, a as Xa } from "./animationData-GqECkAbz.js";
26
26
  const Za = { class: "menu-title" };
27
27
  function za(B, ee, e, C, b, N) {
28
28
  const a = ge("ssMenu");
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as F, computed as N, ref as p, watch as $, createElementBlock as k, openBlock as b, createVNode as v, createCommentVNode as j, withCtx as i, createTextVNode as T, toDisplayString as I, resolveComponent as B, createBlock as x, Fragment as L, renderList as O, createElementVNode as R, normalizeStyle as q } from "vue";
2
- import { s as H } from "./index-CIH_h4z2.js";
3
- import { d as M, b as P } from "./threeViewerHost-BkOYLPdk.js";
4
- import { E as z } from "./index-CYp77kPp.js";
2
+ import { s as H } from "./index--rLSLEk3.js";
3
+ import { d as M, b as P } from "./threeViewerHost-CTjd2V1D.js";
4
+ import { E as z } from "./index-DV_ZZQBO.js";
5
5
  import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import { S as W } from "./index-D3-XwkD_.js";
6
+ import { S as W } from "./index-_66uQhcl.js";
7
7
  import { S as E } from "./index-BHtNKL1L.js";
8
8
  const D = { class: "avatar-model-wrap" }, G = { key: 0 }, J = /* @__PURE__ */ F({
9
9
  __name: "index",
@@ -1,7 +1,7 @@
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-Cli0OESv.js";
3
- import { u as d, ay as p, aw as l } from "./index.vue_vue_type_style_index_1_lang-CFvcnWO4.js";
4
- import { s as g, u as h } from "./index-CYp77kPp.js";
2
+ import { s as m } from "./index-BEoEUXZe.js";
3
+ import { u as d, ay as p, aw as l } from "./index.vue_vue_type_style_index_1_lang-D5Hjs-g0.js";
4
+ import { s as g, u as h } from "./index-DV_ZZQBO.js";
5
5
  const _ = { class: "routerPage-wrapper" }, B = /* @__PURE__ */ o({
6
6
  __name: "index",
7
7
  setup(f) {
@@ -1,12 +1,12 @@
1
1
  import { ref as me, computed as vt, resolveComponent as $t, createElementBlock as be, openBlock as fe, Fragment as Nt, renderList as Ht, createElementVNode as ve, toDisplayString as st, createVNode as he, watch as ue, withCtx as Me, createBlock as Wt, resolveDynamicComponent as gr, createTextVNode as pn, createCommentVNode as gt, normalizeStyle as mn, withModifiers as Dt, defineComponent as mr, inject as rr, shallowRef as Ni, reactive as Yt, toRef as Hi, onBeforeMount as yr, onMounted as br, watchEffect as Wi, onBeforeUnmount as xr, normalizeClass as ir, renderSlot as dn, nextTick as Ye, provide as or, toRefs as ar, withDirectives as Yi, mergeProps as Xi, vShow as Vi, unref as sr } from "vue";
2
- import { r as fn, g as wr } from "./index-Y9ssLsHN.js";
3
- import { p as yn, s as bn, c as De, E as Gi } from "./index-CYp77kPp.js";
4
- import { a as xn, E as Ui } from "./index.vue_vue_type_style_index_1_lang-CFvcnWO4.js";
5
- import { i as Ce, o as ke, b as lr, w as qi, Z as Ki, n as Ji } from "./array-A59WrroX.js";
2
+ import { r as fn, g as wr } from "./index-8Dyi4QCI.js";
3
+ import { p as yn, s as bn, c as De, E as Gi } from "./index-DV_ZZQBO.js";
4
+ import { a as xn, E as Ui } from "./index.vue_vue_type_style_index_1_lang-D5Hjs-g0.js";
5
+ import { i as Ce, o as ke, b as lr, w as qi, Z as Ki, n as Ji } from "./array-D65aMM6H.js";
6
6
  import { _ as wn } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  import Zi from "./index-DiRBJiMW.js";
8
- import { a as Qi, b as eo } from "./index-D3-XwkD_.js";
9
- import { g as to } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BhLzDN6s.js";
8
+ import { a as Qi, b as eo } from "./index-_66uQhcl.js";
9
+ import { g as to } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DIMJusrg.js";
10
10
  const no = { class: "type-select" }, ro = { class: "group-label" }, io = { class: "group-items" }, oo = ["onDragstart"], ao = {
11
11
  __name: "index",
12
12
  props: {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as n, reactive as o, onMounted as r, createElementBlock as s, openBlock as c, createVNode as m } from "vue";
2
- import { s as u } from "./index-Cli0OESv.js";
3
- import { S as i } from "./index-CwnxmCht.js";
4
- import { u as p, aw as l } from "./index.vue_vue_type_style_index_1_lang-CFvcnWO4.js";
5
- import { s as d } from "./index-CYp77kPp.js";
2
+ import { s as u } from "./index-BEoEUXZe.js";
3
+ import { S as i } from "./index-9zEdW6xv.js";
4
+ import { u as p, aw as l } from "./index.vue_vue_type_style_index_1_lang-D5Hjs-g0.js";
5
+ import { s as d } from "./index-DV_ZZQBO.js";
6
6
  const x = /* @__PURE__ */ n({
7
7
  __name: "index",
8
8
  setup(f) {
@@ -1,4 +1,4 @@
1
- import { _ as b } from "./index.vue_vue_type_style_index_0_scoped_92477073_lang-D-2EkcBi.js";
1
+ import { _ as b } from "./index.vue_vue_type_style_index_0_scoped_92477073_lang-D58IzjOR.js";
2
2
  import { resolveComponent as r, createElementBlock as i, openBlock as n, Fragment as p, createVNode as l, createCommentVNode as k, withCtx as s, createElementVNode as d, normalizeStyle as w, toDisplayString as c, renderList as v, createTextVNode as _, createBlock as B, resolveDynamicComponent as I } from "vue";
3
3
  import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const V = ["title"], $ = {
@@ -1,4 +1,4 @@
1
- import { e as o, bv as i, f as p } from "./index-CYp77kPp.js";
1
+ import { e as o, bv as i, f as p } from "./index-DV_ZZQBO.js";
2
2
  import { ref as l } from "vue";
3
3
  const r = (e) => {
4
4
  const a = {};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-GmZ7sLUW.cjs"),r=require("./index-Bxyl11ug.cjs"),i=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),s={class:"log-wrap"},u=t.defineComponent({__name:"index",setup(_){const e=t.reactive({...c.State});t.onMounted(async()=>{e.tableData=await e.getLogTableDataAsync()});const l=n=>{var o;e.clickButton(n,(o=e.tableData)==null?void 0:o.map(a=>a.id),a=>{console.log("清空操作成功:",a),a&&(e.tableData=[])})};return(n,o)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(r.ssTable,{itemData:e.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:l},null,8,["itemData"])]))}}),d=i._export_sfc(u,[["__scopeId","data-v-b4bfde04"]]);exports.default=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-mtuIEfrj.cjs"),r=require("./index-CePZE-QA.cjs"),i=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),s={class:"log-wrap"},u=t.defineComponent({__name:"index",setup(_){const e=t.reactive({...c.State});t.onMounted(async()=>{e.tableData=await e.getLogTableDataAsync()});const l=n=>{var o;e.clickButton(n,(o=e.tableData)==null?void 0:o.map(a=>a.id),a=>{console.log("清空操作成功:",a),a&&(e.tableData=[])})};return(n,o)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(r.ssTable,{itemData:e.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:l},null,8,["itemData"])]))}}),d=i._export_sfc(u,[["__scopeId","data-v-b4bfde04"]]);exports.default=d;
@@ -1,6 +1,6 @@
1
1
  import { ref as n, watch as b } from "vue";
2
- import { g as y, s as d } from "./index-CYp77kPp.js";
3
- import { ax as g, av as D, a as m } from "./index.vue_vue_type_style_index_1_lang-CFvcnWO4.js";
2
+ import { g as y, s as d } from "./index-DV_ZZQBO.js";
3
+ import { ax as g, av as D, a as m } from "./index.vue_vue_type_style_index_1_lang-D5Hjs-g0.js";
4
4
  const f = m(), { itemData: i } = d(f), c = n(0), h = n([
5
5
  {
6
6
  label: "机构名称",
@@ -1,6 +1,6 @@
1
1
  import { ref as f, computed as S, reactive as P } from "vue";
2
- import { s as _, c9 as $, ca as B, c8 as H, g as R, u as j, p as L, c as J, f as x, E as T } from "./index-CYp77kPp.js";
3
- import { a_ as z, u as G, d as Q, r as X } from "./index.vue_vue_type_style_index_1_lang-CFvcnWO4.js";
2
+ import { s as _, c9 as $, ca as B, c8 as H, g as R, u as j, p as L, c as J, f as x, E as T } from "./index-DV_ZZQBO.js";
3
+ import { a_ as z, u as G, d as Q, r as X } from "./index.vue_vue_type_style_index_1_lang-D5Hjs-g0.js";
4
4
  const A = j(L), { loginUserInfo: o, cryptoInfo: c } = _(A), Y = G(L), { activeMenuPath: g } = _(Y), Z = f(0), M = S(() => {
5
5
  var s, a, t, r, l, n, e, u, p, d, v;
6
6
  return [