ss-component-new 1.2.40 → 1.2.41

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 (90) hide show
  1. package/dist/{MTLLoader-Bx-2OXH3.js → MTLLoader-B4Od-zqq.js} +1 -1
  2. package/dist/{MTLLoader-BAx_9AmD.cjs → MTLLoader-Che0rTd_.cjs} +1 -1
  3. package/dist/{OrbitControls-CfGXI0RY.js → OrbitControls-C7D5eaJn.js} +1 -1
  4. package/dist/{OrbitControls-DT73kkit.cjs → OrbitControls-D2omCkCV.cjs} +1 -1
  5. package/dist/{animationData-BRP_1liT.cjs → animationData-C3qJYOz9.cjs} +1 -1
  6. package/dist/{animationData-JUXa_Rfc.js → animationData-CYuMFq_t.js} +1 -1
  7. package/dist/{fileUtil-BOa5l4Is.cjs → fileUtil-CcQN-088.cjs} +1 -1
  8. package/dist/{fileUtil-sPuwd2FE.js → fileUtil-DRGoHfIa.js} +1 -1
  9. package/dist/{iconfont-CvboqcDC.cjs → iconfont-Dbp3D8bq.cjs} +1 -1
  10. package/dist/{iconfont-Cjo9sXSl.js → iconfont-cwU2OW_x.js} +2 -2
  11. package/dist/{index-CVujpvBc.js → index-4h90d66g.js} +14 -14
  12. package/dist/{index-N0H-LGPa.cjs → index-9PplVBCq.cjs} +1 -1
  13. package/dist/{index-CCLjKMgV.js → index-B0LycCb2.js} +1 -1
  14. package/dist/{index-BolUfLz4.js → index-B1HoYNKX.js} +2 -2
  15. package/dist/{index-CDnulTpJ.cjs → index-BU5R8ucR.cjs} +1 -1
  16. package/dist/{index-l5n54msO.cjs → index-BYrO00vR.cjs} +1 -1
  17. package/dist/{index-B1ozpLkT.cjs → index-BZgppm96.cjs} +1 -1
  18. package/dist/{index-Dt9aJ-l_.js → index-BfCkcwYF.js} +1 -1
  19. package/dist/{index-RQNBeidj.js → index-BsqsVSy5.js} +2 -2
  20. package/dist/{index-xRhzeBvR.cjs → index-Bwdwk3lk.cjs} +1 -1
  21. package/dist/{index-BhJNAkXz.cjs → index-ByABO6Ns.cjs} +1 -1
  22. package/dist/{index-CEwyJJxD.js → index-C0Fl9PtX.js} +1 -1
  23. package/dist/{index-BWdrsx_m.js → index-C4k7rARy.js} +1 -1
  24. package/dist/{index-D04vE9io.js → index-C6pcN-HT.js} +6 -6
  25. package/dist/{index-DEyTinVX.js → index-CCa7MxjA.js} +3 -3
  26. package/dist/{index-Cp9gYxB6.js → index-CFHMcOLC.js} +1 -1
  27. package/dist/{index-VuOYJCox.cjs → index-CHzXOZNR.cjs} +1 -1
  28. package/dist/{index-BQLR40Eg.js → index-CJeMyRfu.js} +3 -3
  29. package/dist/{index-DLlDBVIB.cjs → index-CNEpln5j.cjs} +1 -1
  30. package/dist/{index-ow0ocDMg.cjs → index-Cp3O2C1E.cjs} +1 -1
  31. package/dist/{index-CkO3VQZA.js → index-Cq8RwhD2.js} +1 -1
  32. package/dist/{index-DVAMKzTS.cjs → index-Cr9ZUKKr.cjs} +1 -1
  33. package/dist/{index-Re7sNIHW.cjs → index-D-iZBNqM.cjs} +1 -1
  34. package/dist/{index-CNqh3Soc.cjs → index-D0MJYPz8.cjs} +1 -1
  35. package/dist/{index-D-1Onqjf.js → index-D1YV3Z8a.js} +49 -45
  36. package/dist/{index-BdjhiiLZ.cjs → index-DJALUpfu.cjs} +1 -1
  37. package/dist/{index-BsCVdD39.js → index-DQpjQ0vn.js} +2 -2
  38. package/dist/{index-BMzp4-MZ.js → index-DSqR5LP8.js} +1 -1
  39. package/dist/{index-Cbf0UzOJ.cjs → index-DZGeoq0C.cjs} +1 -1
  40. package/dist/{index-CSWcmn7n.js → index-DfoZ_SF_.js} +3 -3
  41. package/dist/{index-Gbjx07C0.cjs → index-DkOG1hhl.cjs} +1 -1
  42. package/dist/{index-BwTI7LV6.js → index-DtjzT8Ni.js} +1 -1
  43. package/dist/{index-DHO3YObC.cjs → index-KA1FO4Cq.cjs} +1 -1
  44. package/dist/{index-CQXp0P9Q.cjs → index-K_OrN7_f.cjs} +1 -1
  45. package/dist/{index-Cf2tcPt9.cjs → index-OOiyDGYB.cjs} +1 -1
  46. package/dist/{index-055kO2Ww.cjs → index-SC2lf_q4.cjs} +1 -1
  47. package/dist/{index-DmN4O6IB.js → index-Ss4u8hgO.js} +1 -1
  48. package/dist/{index-DxT58WMx.js → index-UdndAbHg.js} +4 -4
  49. package/dist/{index-DjTQG-qr.cjs → index-W78xmu8S.cjs} +1 -1
  50. package/dist/{index-BRFlIOrt.cjs → index-Z0iIA773.cjs} +1 -1
  51. package/dist/{index-CpiZGjON.cjs → index-bG54cdum.cjs} +1 -1
  52. package/dist/{index-BvdRM3Zl.js → index-rvAy1_SO.js} +3 -3
  53. package/dist/{index-CMtLIyPA.js → index-xp2hRFPU.js} +6 -6
  54. package/dist/{index-BqfMXNva.js → index-xpqi1921.js} +1 -1
  55. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-4nj92Ok9.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DQV5YhWq.js} +6 -6
  56. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DcWyjUUM.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Dy2OAf7F.cjs} +1 -1
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-6eKE3IF9.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CUghpk3g.cjs} +58 -58
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DqUfoyxy.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-GDWO7A1F.js} +1642 -1647
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-DWSjiyCR.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-CB0aFoHM.js} +3 -3
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BkqoKNEX.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DFF5ZN4f.cjs} +1 -1
  61. package/dist/{index.vue_vue_type_style_index_1_lang-IichLfmS.js → index.vue_vue_type_style_index_1_lang-BmjVGOZO.js} +3 -3
  62. package/dist/{index.vue_vue_type_style_index_1_lang-RlvF6GUj.cjs → index.vue_vue_type_style_index_1_lang-CPqWJpPL.cjs} +1 -1
  63. package/dist/{main-BbdBgyaP.js → main-CKqB42Np.js} +2 -2
  64. package/dist/{main-BYyo_kyl.cjs → main-Cn665ei4.cjs} +1 -1
  65. package/dist/ss-component.cjs +1 -1
  66. package/dist/ss-component.css +1 -1
  67. package/dist/ss-component.js +9 -9
  68. package/dist/ss-component2.cjs +1 -1
  69. package/dist/ss-component2.js +11 -11
  70. package/dist/{threeModel-C6ho9daF.js → threeModel-C4PisPSf.js} +4 -4
  71. package/dist/{threeModel-DKUOwcIw.cjs → threeModel-CP5pmTxH.cjs} +1 -1
  72. package/dist/{threePreview-CVd-Z52f.js → threePreview-BQxbUf4I.js} +3 -3
  73. package/dist/{threePreview-Bk25oXQo.cjs → threePreview-WOqMfDst.cjs} +1 -1
  74. package/dist/{threeSceneView-oD4W78-9.js → threeSceneView-ByTqOr0d.js} +6 -6
  75. package/dist/{threeSceneView-CjeW2K9W.cjs → threeSceneView-CgB0BZRf.cjs} +1 -1
  76. package/dist/{threeSceneViewForCPMPIP-DOuG0KOO.js → threeSceneViewForCPMPIP-DMuc0jIK.js} +7 -7
  77. package/dist/{threeSceneViewForCPMPIP-CUJO-YJ_.cjs → threeSceneViewForCPMPIP-eg6yJ1p3.cjs} +1 -1
  78. package/dist/{threeTrackPathView-CIcAzjHx.cjs → threeTrackPathView-C7q4_Bin.cjs} +1 -1
  79. package/dist/{threeTrackPathView-D_2k4b2G.js → threeTrackPathView-X7ECmd0B.js} +4 -4
  80. package/dist/{threeViewerHost-BSywggr5.cjs → threeViewerHost-B-LTEK2X.cjs} +1 -1
  81. package/dist/{threeViewerHost-DH3nFiix.js → threeViewerHost-DJbBYAqw.js} +2 -2
  82. package/dist/{urdfTree-BB0yP_ok.cjs → urdfTree-BhPjtBFx.cjs} +1 -1
  83. package/dist/{urdfTree-CQtxnu16.js → urdfTree-C7XQJktZ.js} +1 -1
  84. package/dist/{workpieceTreePanel-CtlT-Hpp.cjs → workpieceTreePanel-CacDDe1A.cjs} +1 -1
  85. package/dist/{workpieceTreePanel-CRt3p9j4.js → workpieceTreePanel-Diha2C7U.js} +5 -5
  86. package/package.json +1 -1
  87. package/dist/obj/model.mtl +0 -42
  88. package/dist/obj/model.obj +0 -26110
  89. package/public/obj/model.mtl +0 -42
  90. package/public/obj/model.obj +0 -26110
@@ -1 +1 @@
1
- "use strict";const g=require("vue"),O=require("./index.vue_vue_type_style_index_1_lang-Cz6dpUeS.cjs"),i=require("./index-C8qRkCgn.cjs"),pe=require("./index-Cf2tcPt9.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-Cz6dpUeS.cjs"),i=require("./index-C8qRkCgn.cjs"),pe=require("./index-OOiyDGYB.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 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),b=require("./index-Cf2tcPt9.cjs"),c=require("./index-C8qRkCgn.cjs"),r=require("./index.vue_vue_type_style_index_1_lang-Cz6dpUeS.cjs"),g=r.useModelComp(),{itemData:i}=c.storeToRefs(g),d=o.ref(0),m=o.ref([{label:"机构名称",value:"",name:"deptName"}]),D=e=>{console.log("handleQueryChange",e)},u=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents",contents:[]}]),f=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,d.value)},_=e=>{console.log("onDoubleClick",e)},h=(e,a)=>{console.log("onButtonClick",e,a)},C=async e=>{const a=await r.handleSubmitAsync(c.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return l==null?void 0:l.map(t=>{var n;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(n=t==null?void 0:t.tableData)==null||n.forEach((p,y)=>{s[`a${y}`]=p}),s}else return{...t.tableData,id:t.id}})},k={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>i.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(u.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:C,handleItemDataChange:f,handleQueryChange:D,onButtonClick:h,onDoubleClick:_,pageData:u,queryFormData:m,structureId:d,tempPostPageData:k},Symbol.toStringTag,{value:"Module"})),T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...S}),l=r.useMenuState(),{activeMenuPath:t}=c.storeToRefs(l);return o.onMounted(async()=>{a.structureId=await r.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",null,[o.createVNode(b.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),b=require("./index-OOiyDGYB.cjs"),c=require("./index-C8qRkCgn.cjs"),r=require("./index.vue_vue_type_style_index_1_lang-Cz6dpUeS.cjs"),g=r.useModelComp(),{itemData:i}=c.storeToRefs(g),d=o.ref(0),m=o.ref([{label:"机构名称",value:"",name:"deptName"}]),D=e=>{console.log("handleQueryChange",e)},u=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents",contents:[]}]),f=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,d.value)},_=e=>{console.log("onDoubleClick",e)},h=(e,a)=>{console.log("onButtonClick",e,a)},C=async e=>{const a=await r.handleSubmitAsync(c.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return l==null?void 0:l.map(t=>{var n;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(n=t==null?void 0:t.tableData)==null||n.forEach((p,y)=>{s[`a${y}`]=p}),s}else return{...t.tableData,id:t.id}})},k={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>i.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(u.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:C,handleItemDataChange:f,handleQueryChange:D,onButtonClick:h,onDoubleClick:_,pageData:u,queryFormData:m,structureId:d,tempPostPageData:k},Symbol.toStringTag,{value:"Module"})),T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...S}),l=r.useMenuState(),{activeMenuPath:t}=c.storeToRefs(l);return o.onMounted(async()=>{a.structureId=await r.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",null,[o.createVNode(b.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, createElementBlock as y, openBlock as u, createElementVNode as t, withDirectives as g, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
2
2
  import { S as I, t as x } from "./index-Ctc5B2Ix.js";
3
- import { s as w, a as L } from "./index-CSWcmn7n.js";
3
+ import { s as w, a as L } from "./index-DfoZ_SF_.js";
4
4
  import "./index-BHtNKL1L.js";
5
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DqUfoyxy.js";
6
- import { d as E } from "./index-BQLR40Eg.js";
5
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-GDWO7A1F.js";
6
+ import { d as E } from "./index-CJeMyRfu.js";
7
7
  import "./index.vue_vue_type_style_index_1_lang-C-ke7QXa.js";
8
8
  import { u as N, s as U } from "./index-CExeGHij.js";
9
9
  import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -1,17 +1,17 @@
1
1
  import { watch as u, onMounted as g, onUnmounted as C, resolveComponent as S, createElementBlock as v, openBlock as B, createVNode as I } from "vue";
2
- import "./index-D04vE9io.js";
2
+ import "./index-C6pcN-HT.js";
3
3
  import { u as K } from "./index-CExeGHij.js";
4
4
  import "./array-kL4KqJhX.js";
5
5
  import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  import "./index.vue_vue_type_style_index_1_lang-C-ke7QXa.js";
7
- import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-DWSjiyCR.js";
8
- import "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-4nj92Ok9.js";
7
+ import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-CB0aFoHM.js";
8
+ import "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DQV5YhWq.js";
9
9
  import "./index-BHtNKL1L.js";
10
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DqUfoyxy.js";
11
- import "./index.vue_vue_type_style_index_1_lang-IichLfmS.js";
10
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-GDWO7A1F.js";
11
+ import "./index.vue_vue_type_style_index_1_lang-BmjVGOZO.js";
12
12
  import "./index-Ctc5B2Ix.js";
13
13
  import "vue-router";
14
- import "./index-CSWcmn7n.js";
14
+ import "./index-DfoZ_SF_.js";
15
15
  import "./dataUtil-BbKaD_u-.js";
16
16
  /* empty css */
17
17
  import "./index-BktRyJfB.js";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as x, ref as I, reactive as T, resolveComponent as v, createElementBlock as E, openBlock as U, createVNode as u, withCtx as d, createElementVNode as l, createTextVNode as h, toDisplayString as H, nextTick as N, Fragment as $, withDirectives as q, renderSlot as z, vShow as M } from "vue";
2
- import { aY as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DqUfoyxy.js";
2
+ import { aY as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-GDWO7A1F.js";
3
3
  import { M as X, a8 as G, a2 as J, G as D, H as c, aD as R, $ as g } from "./index-CExeGHij.js";
4
4
  import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const Y = "ElUpload";
@@ -1,17 +1,17 @@
1
- import { a as Uc, b as Gc } from "./index.vue_vue_type_style_index_0_scoped_92477073_lang-DWSjiyCR.js";
1
+ import { a as Uc, b as Gc } from "./index.vue_vue_type_style_index_0_scoped_92477073_lang-CB0aFoHM.js";
2
2
  import { defineComponent as ee, shallowRef as qt, ref as L, computed as C, watch as ye, onMounted as yt, watchEffect as nl, createElementBlock as Y, openBlock as M, normalizeStyle as Ye, normalizeClass as P, unref as o, createElementVNode as Z, renderSlot as oe, nextTick as Fe, useSlots as pn, toRef as Pt, createBlock as pe, Transition as Un, withCtx as le, withDirectives as rt, createCommentVNode as ie, resolveDynamicComponent as gt, createTextVNode as wt, toDisplayString as Oe, Fragment as Je, createVNode as Q, vShow as Mt, inject as Ke, onBeforeUnmount as Ht, withModifiers as nt, provide as kt, reactive as Lt, onActivated as Xc, onUpdated as la, cloneVNode as Db, Comment as Fa, Text as Lb, mergeProps as pt, getCurrentInstance as Nt, Teleport as xb, onBeforeMount as Jc, readonly as Uv, onDeactivated as Bb, useAttrs as ka, createSlots as Gn, renderList as vt, normalizeProps as ml, guardReactiveProps as Xl, h as Ue, triggerRef as Vr, isVNode as Sn, toRaw as hi, isRef as Ol, vModelCheckbox as Gv, toRefs as Nn, vModelRadio as Xv, onBeforeUpdate as Jv, withKeys as an, vModelText as Hi, toHandlers as Vb, resolveComponent as Ot, TransitionGroup as Zv, markRaw as Ls, effectScope as Fb, resolveDirective as Wi, toHandlerKey as zb, render as mi, onUnmounted as ji, createApp as Kb, defineProps as Zc } from "vue";
3
3
  import { n as Hb, o as Wb, p as Qc, q as jb, C as ht, s as ed, t as Hn, v as Hf, w as va, x as rr, y as td, z as Qv, A as Kn, I as yn, U as tt, B as Yi, D as ha, F as In, G as zn, H as eh, J as Tn, K as Oo, L as Pn, M as fn, N as vl, O as Jl, P as Yb, Q as nd, R as Fr, S as th, T as qi, V as wa, W as Ps, X as ld, Y as qb, Z as Ub, _ as Gb, $ as Xb, a0 as nh, a1 as lh, a2 as Jb, a3 as Ui, a4 as zr, a5 as Wf, a6 as fo, a7 as za, a8 as ra, a9 as jf, aa as Zb, ab as Qb, ac as e0, ad as Yf, ae as t0, af as qf, E as ah, u as ir, ag as n0, ah as ad, ai as el, aj as Kr, k as xs, ak as Hr, al as l0, am as Uf, an as a0, a as od, ao as il, i as sd } from "./index.vue_vue_type_style_index_1_lang-C-ke7QXa.js";
4
4
  import { i as rd, h as oh, S as o0, j as sh, k as rh, l as ih, m as uh, t as id, n as un, o as ch, q as dh, r as fh, v as ph, w as s0, x as r0, y as hu, z as vh, A as i0, B as u0, C as c0, D as At, F as je, G as Te, H as te, _ as Me, I as ke, J as ud, K as Gf, L as on, M as cn, N as nn, O as st, P as d0, Q as Tt, R as cd, T as gi, U as Ut, V as Ve, W as f0, X as Qt, Y as $t, Z as Dt, $ as kn, a0 as Gi, a1 as Ml, a2 as dn, a3 as zu, a4 as Xi, a5 as $e, a6 as aa, a7 as Ct, a8 as xe, a9 as gn, aa as Kt, ab as p0, ac as Ku, ad as dd, ae as at, af as Ji, ag as Mo, ah as Ft, ai as Sa, aj as hh, ak as v0, al as Et, am as Xt, an as Fn, ao as po, ap as fd, aq as Ql, ar as Ln, as as Cn, at as ll, au as en, av as ur, c as ve, aw as _l, ax as Io, ay as Ga, az as cr, aA as Bl, aB as Ks, aC as h0, aD as ln, aE as al, aF as m0, aG as g0, aH as mh, aI as y0, aJ as gh, aK as Zi, aL as Tl, aM as ma, aN as ga, aO as yh, aP as b0, aQ as Hs, aR as bh, aS as Xf, aT as k0, aU as Bs, aV as w0, aW as S0, aX as C0, aY as kh, aZ as E0, a_ as $0, a$ as wh, b0 as T0, b1 as N0, b2 as Sh, b3 as O0, b4 as M0, b5 as I0, b6 as pd, b7 as Ul, b8 as gl, b9 as P0, ba as R0, bb as _0, bc as Hu, bd as Wu, be as Ch, bf as Jf, bg as A0, bh as D0, bi as L0, bj as Eh, bk as $h, bl as $r, bm as x0, bn as Zf, bo as B0, bp as V0, bq as F0, br as Th, bs as z0, bt as K0, bu as H0, bv as W0, bw as j0, bx as ju, by as Y0, bz as Nh, bA as q0, bB as U0, bC as G0, bD as Oh, bE as X0, bF as J0, bG as Z0, bH as Q0, E as Ws, g as jn, e as ek, bI as vo, bJ as Mh, d as yi, bK as Ih, f as Ph, bL as tk, p as Po, s as ya, u as Rh, bM as _h, bN as nk } from "./index-CExeGHij.js";
5
5
  import { useRouter as vd } from "vue-router";
6
6
  import { a as hd, d as Ah, e as md, f as gd, g as yd, h as bd } from "./index-CAPx0_D4.js";
7
- import { E as lk, s as ak, g as bi } from "./index-BQLR40Eg.js";
7
+ import { E as lk, s as ak, g as bi } from "./index-CJeMyRfu.js";
8
8
  import { _ as ok, s as sk } from "./index-BljI12ZI.js";
9
- import { K as mu, L as Al, M as rk, g as ik, N as Yu, O as Gl, P as ki, Q as Dl, R as Ka, S as Ha, T as qu, U as uk, V as ck, W as dk, X as gu, Y as fk, Z as pk } from "./index-D04vE9io.js";
9
+ import { K as mu, L as Al, M as rk, g as ik, N as Yu, O as Gl, P as ki, Q as Dl, R as Ka, S as Ha, T as qu, U as uk, V as ck, W as dk, X as gu, Y as fk, Z as pk } from "./index-C6pcN-HT.js";
10
10
  import { S as vk } from "./index-BHtNKL1L.js";
11
11
  import { _ as hk } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- import { b as mk, i as gk, a as yk, c as bk, d as ot, g as Ca, m as Dh } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DqUfoyxy.js";
13
- import { u as kk, a as wk, g as Uu, b as Sk } from "./index-BqfMXNva.js";
14
- import { t as Ck } from "./index-Dt9aJ-l_.js";
12
+ import { b as mk, i as gk, a as yk, c as bk, d as ot, g as Ca, m as Dh } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-GDWO7A1F.js";
13
+ import { u as kk, a as wk, g as Uu, b as Sk } from "./index-xpqi1921.js";
14
+ import { t as Ck } from "./index-BfCkcwYF.js";
15
15
  import { t as Ek } from "./index-B3sDwg_c.js";
16
16
  import { q as Lh, r as $k, u as Tk, v as Nk, w as Ok } from "./array-kL4KqJhX.js";
17
17
  function Mk() {