ss-component-new 1.1.859 → 1.1.861

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 (103) hide show
  1. package/dist/{animationData-DB8d4nQx.js → animationData-DLWS_dsG.js} +2 -2
  2. package/dist/{animationData-CXBlDRET.cjs → animationData-De64iBOy.cjs} +1 -1
  3. package/dist/{array-FGSYvsi2.js → array-Bh8i5GAF.js} +1 -1
  4. package/dist/{array-CMwr7FKb.cjs → array-qx4N1D5z.cjs} +1 -1
  5. package/dist/config.js +1 -1
  6. package/dist/{index-GJovpG7R.js → index-1TZuQW2u.js} +3 -3
  7. package/dist/{index-Bj3S8Xc4.js → index-5w4hFvkO.js} +2 -2
  8. package/dist/{index-B00ui6Qt.js → index-8l3SXn7A.js} +2 -2
  9. package/dist/{index-1WSLnjBv.js → index-B9lxmpVN.js} +1 -1
  10. package/dist/{index-BMF1KNPB.cjs → index-BJ3ulc4u.cjs} +1 -1
  11. package/dist/{index-Bztek9Ke.js → index-BS2e1KRp.js} +5 -5
  12. package/dist/{index-RmgRrb9X.cjs → index-B_-9sbeP.cjs} +1 -1
  13. package/dist/{index-8dokR7CA.js → index-B_rRAu-n.js} +11 -11
  14. package/dist/{index-6wGmME_T.cjs → index-BkXPt6iI.cjs} +1 -1
  15. package/dist/{index-BuABl1y7.js → index-BkeIblNn.js} +1 -1
  16. package/dist/{index-CoZfhWKU.js → index-C3MnATC6.js} +2 -2
  17. package/dist/{index-LcxBiGPT.js → index-C9L_MMH5.js} +2 -2
  18. package/dist/{index-D0sEywma.js → index-C9U26u9Q.js} +5 -5
  19. package/dist/{index-C9w8T6hV.js → index-CApkyli9.js} +6 -6
  20. package/dist/{index-dIRYC6_N.js → index-CCgW3KO3.js} +96 -89
  21. package/dist/{index-t-yfgxT8.js → index-CKJ4fUlH.js} +39 -39
  22. package/dist/{index-BppECXTJ.cjs → index-CMRW1-ah.cjs} +1 -1
  23. package/dist/{index-CbKN7o-J.cjs → index-Ca9AcGst.cjs} +1 -1
  24. package/dist/{index-H_5ravCj.js → index-CaX0q15O.js} +2 -2
  25. package/dist/{index-D3ZYUbnM.js → index-Cb21VYW-.js} +157 -157
  26. package/dist/{index-B_A94lhf.cjs → index-CjuX6x-U.cjs} +1 -1
  27. package/dist/{index-uEtCI9Gx.cjs → index-ClWXNZXC.cjs} +1 -1
  28. package/dist/{index-B0WaIQO6.js → index-CpA1oVez.js} +2 -2
  29. package/dist/{index-BMwO2fRm.js → index-Cr9CcRAX.js} +3 -3
  30. package/dist/{index-CUt2Xpt7.cjs → index-CrrP1zfn.cjs} +1 -1
  31. package/dist/{index-DQQpZQMF.cjs → index-D1poZQeo.cjs} +1 -1
  32. package/dist/{index-BB-psJDo.js → index-D1s2ch3l.js} +18 -18
  33. package/dist/index-D47zhMxk.cjs +1 -0
  34. package/dist/{index-DUNFcAJ0.cjs → index-D5YhRK_Q.cjs} +1 -1
  35. package/dist/{index-rJcYBrc8.cjs → index-DBDbyTuL.cjs} +1 -1
  36. package/dist/{index-BGcvB_Bm.cjs → index-DGKTZoR7.cjs} +1 -1
  37. package/dist/{index-BkrLRrzC.cjs → index-DJeVU0rI.cjs} +1 -1
  38. package/dist/{index-DxwyE7ph.cjs → index-DKQQn54E.cjs} +1 -1
  39. package/dist/index-DLcdLSRG.cjs +1 -0
  40. package/dist/{index-C8xD2Mms.cjs → index-DRCYJjJO.cjs} +1 -1
  41. package/dist/index-DUaqrk7U.cjs +1 -0
  42. package/dist/{index-C4J7axzW.js → index-DWF67iTF.js} +1 -1
  43. package/dist/{index-DqVPLESQ.cjs → index-DYucSznX.cjs} +1 -1
  44. package/dist/{index-CqenxBIT.cjs → index-D_ktPZVF.cjs} +1 -1
  45. package/dist/{index-D8s0F9tm.cjs → index-DdW6Xobf.cjs} +1 -1
  46. package/dist/{index-Bb22Ai4q.cjs → index-Dga1Byef.cjs} +1 -1
  47. package/dist/{index-BTeuv06G.cjs → index-DolptEQ2.cjs} +1 -1
  48. package/dist/{index-Bjc3iPIk.js → index-Dp9dZcMr.js} +2 -2
  49. package/dist/{index-B1hAwlIy.js → index-DsQNVTEU.js} +3 -3
  50. package/dist/{index-DC5qM2-O.js → index-Duci16gr.js} +59 -57
  51. package/dist/{index-BHMgF0qJ.js → index-DvabwYpU.js} +4 -4
  52. package/dist/{index-HM-ewUta.js → index-Dy6Quw6R.js} +1 -1
  53. package/dist/{index-Cb8ypDVY.js → index-DyyPjSb6.js} +2 -2
  54. package/dist/{index-CBqeWsHf.cjs → index-E8veVLCO.cjs} +1 -1
  55. package/dist/{index-DomRZqev.js → index-EMeEeDNC.js} +40 -40
  56. package/dist/{index-1K-iIqYl.js → index-HIs6ns_e.js} +3 -3
  57. package/dist/{index-DK7ovmz8.cjs → index-KH10XUTJ.cjs} +1 -1
  58. package/dist/{index-B9xN_JBs.cjs → index-Ww-ir6XP.cjs} +1 -1
  59. package/dist/{index-CKHKoKLZ.js → index-Yo2MTaCQ.js} +1 -1
  60. package/dist/{index-Ca6d3dmX.js → index-ZuaG1yaO.js} +5 -5
  61. package/dist/{index-Cl8VU84S.js → index-e5IBUfN3.js} +4 -4
  62. package/dist/{index-II6ju3pN.cjs → index-g0K1bPev.cjs} +1 -1
  63. package/dist/index-jf0i3s58.cjs +104 -0
  64. package/dist/{index-CbG_NuLY.js → index-nuizzmWC.js} +5281 -5273
  65. package/dist/{index-CDT1-q_g.cjs → index-r8OTURPy.cjs} +1 -1
  66. package/dist/{index-3Ot5cfGY.cjs → index-u7G2-_nF.cjs} +1 -1
  67. package/dist/{index-CavvruSH.cjs → index-zMcjspHd.cjs} +1 -1
  68. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BjOWi2yI.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BjRuuqmE.cjs} +1 -1
  69. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BCFokzO6.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D8ybuSYA.js} +2 -2
  70. package/dist/{index.vue_vue_type_style_index_0_scoped_54875f48_lang-DkIUnMds.cjs → index.vue_vue_type_style_index_0_scoped_54875f48_lang-BQvTJNOx.cjs} +1 -1
  71. package/dist/{index.vue_vue_type_style_index_0_scoped_54875f48_lang-B4gw200v.js → index.vue_vue_type_style_index_0_scoped_54875f48_lang-CiL6VoA_.js} +14 -14
  72. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BK4F-AyN.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-B3osLUx9.cjs} +1 -1
  73. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-Bc30cSMH.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-CcFsRkhk.js} +6 -6
  74. package/dist/{index.vue_vue_type_style_index_1_lang-BuoTPR7X.cjs → index.vue_vue_type_style_index_1_lang-5f-HYjvK.cjs} +1 -1
  75. package/dist/{index.vue_vue_type_style_index_1_lang-DiouczXJ.js → index.vue_vue_type_style_index_1_lang-Ca121GvZ.js} +3 -3
  76. package/dist/{index.vue_vue_type_style_index_1_lang-CEtlRKVx.js → index.vue_vue_type_style_index_1_lang-DZP5aHn6.js} +1527 -1523
  77. package/dist/index.vue_vue_type_style_index_1_lang-wDciklc6.cjs +32 -0
  78. package/dist/{isUndefined-CjjJAqpP.js → isUndefined-Cii5tZGi.js} +1 -1
  79. package/dist/{isUndefined-CYf56Fws.cjs → isUndefined-Dy3NeRh5.cjs} +1 -1
  80. package/dist/{main-DV_Po4uh.cjs → main-Boqjb9_8.cjs} +1 -1
  81. package/dist/{main-DpQq6RSl.js → main-OMV0VmwH.js} +5 -5
  82. package/dist/ss-component.cjs +1 -1
  83. package/dist/ss-component.css +2 -2
  84. package/dist/ss-component.js +11 -11
  85. package/dist/ss-component2.cjs +1 -1
  86. package/dist/ss-component2.js +12 -12
  87. package/dist/{threeLatheView-CsNeLS9c.cjs → threeLatheView-BAbvGLbN.cjs} +1 -1
  88. package/dist/{threeLatheView-DWH5sE_-.js → threeLatheView-Bk_MIk-e.js} +5 -5
  89. package/dist/{threeModel-CptrhsbI.cjs → threeModel-By7h-sjJ.cjs} +1 -1
  90. package/dist/{threeModel-DetjFx2F.js → threeModel-UcoxMFZE.js} +3 -3
  91. package/dist/{threePreview-Blc65iUp.js → threePreview-Bxe-WsS_.js} +1 -1
  92. package/dist/{threePreview-DH9V9DIq.cjs → threePreview-QMlrESV4.cjs} +1 -1
  93. package/dist/{threeSceneView-Z1iF7_3N.cjs → threeSceneView-BKaxFt-B.cjs} +1 -1
  94. package/dist/{threeSceneView-4LSf9yZq.js → threeSceneView-F1ZJrVNi.js} +7 -7
  95. package/dist/{threeViewerHost-CmLYr-5W.js → threeViewerHost-DGnHP_9J.js} +3 -3
  96. package/dist/{threeViewerHost-tU_5v6NB.cjs → threeViewerHost-Dn8XeHz1.cjs} +1 -1
  97. package/package.json +1 -1
  98. package/public/config.js +1 -1
  99. package/dist/index-Ceyi_Piv.cjs +0 -1
  100. package/dist/index-DEtjzzq_.cjs +0 -1
  101. package/dist/index-Dhh3UlJy.cjs +0 -104
  102. package/dist/index-pcpAi_uG.cjs +0 -1
  103. package/dist/index.vue_vue_type_style_index_1_lang-C1AYA9a9.cjs +0 -32
@@ -1,5 +1,5 @@
1
- import { i as b, j as A } from "./index.vue_vue_type_style_index_1_lang-CEtlRKVx.js";
2
- import { c as I } from "./index-BuABl1y7.js";
1
+ import { i as b, j as A } from "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
2
+ import { c as I } from "./index-BkeIblNn.js";
3
3
  const j = async () => {
4
4
  const m = "弯管仿真加工分析";
5
5
  let k = {};
@@ -1 +1 @@
1
- "use strict";const l=require("./index.vue_vue_type_style_index_1_lang-C1AYA9a9.cjs"),K=require("./index-BGcvB_Bm.cjs"),T=async()=>{const m="弯管仿真加工分析";let D={};const f=sessionStorage.getItem("systemKey"),s=await l.getItemData(`${m}/管件解析`,f,"");let L=["管长","外径"],r={};s==null||s.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{L.includes(a==null?void 0:a.key)&&(r[a.key]=a.value)}))}))});const d=r.管长,k=r.外径;console.log("管长",d,"外径",k,r);const R=d,x=k/2,p=await l.getItemData(`${m}/加工位姿生成`,f,"");let _=["夹持长度"],h={};p==null||p.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{_.includes(a==null?void 0:a.key)&&(h[a.key]=a.value)}))}))});const E=h.夹持长度;console.log("夹持长度",E,h);const w=Number(E),y={},u=await l.getItemData(`${m}/仿真动画生成`,f,"");u==null||u.forEach(e=>{var t,n,c,a,F,C;if((e==null?void 0:e.comp)==="Table"){let I=[],g=(c=(n=(t=e==null?void 0:e.compData)==null?void 0:t.find(o=>(o==null?void 0:o.key)==="header"))==null?void 0:n.contents)==null?void 0:c.map(o=>o==null?void 0:o.label),b=(C=(F=(a=e==null?void 0:e.compData)==null?void 0:a.find(o=>(o==null?void 0:o.key)==="tableContents"))==null?void 0:F.contents)==null?void 0:C.map(o=>(o=o==null?void 0:o.filter(i=>!(i!=null&&i.id)),o));b==null||b.forEach(o=>{I.push(l.getValueToObjectValue(o,g==null?void 0:g.filter(i=>i!=="操作")))}),y[e.name]=I,y[e.name+"Content"]=e}});const A=K.cloneDeep(y);return D={initialPipeLength:R,pipeRadius:x,clampLength:w,animationData:A},D},$=async()=>{const m="双弯管仿真加工分析";let D={};const f=sessionStorage.getItem("systemKey"),s=await l.getItemData(`${m}/管件解析`,f,"");let L=["管长","外径"],r={};s==null||s.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{L.includes(a==null?void 0:a.key)&&(r[a.key]=a.value)}))}))});const d=r.管长,k=r.外径;console.log("管长",d,"外径",k,r);const R=d,x=k/2,p=await l.getItemData(`${m}/加工工艺生成`,f,"");let _=["夹持位置"],h={};p==null||p.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{_.includes(a==null?void 0:a.key)&&(h[a.key]=a.value)}))}))});const E=h.夹持位置;console.log("夹持长度",E,h);const w=Number(E),y={},u=await l.getItemData(`${m}/仿真动画生成`,f,"");u==null||u.forEach(e=>{var t,n,c,a,F,C;if((e==null?void 0:e.comp)==="Table"){let I=[],g=(c=(n=(t=e==null?void 0:e.compData)==null?void 0:t.find(o=>(o==null?void 0:o.key)==="header"))==null?void 0:n.contents)==null?void 0:c.map(o=>o==null?void 0:o.label),b=(C=(F=(a=e==null?void 0:e.compData)==null?void 0:a.find(o=>(o==null?void 0:o.key)==="tableContents"))==null?void 0:F.contents)==null?void 0:C.map(o=>(o=o==null?void 0:o.filter(i=>!(i!=null&&i.id)),o));b==null||b.forEach(o=>{I.push(l.getValueToObjectValue(o,g==null?void 0:g.filter(i=>i!=="操作")))}),y[e.name]=I,y[e.name+"Content"]=e}});const A=K.cloneDeep(y);return D={initialPipeLength:R,pipeRadius:x,clampLength:w,animationData:A},D};exports.fetchDoubleRobotAnimationData=$;exports.fetchSingleRobotAnimationData=T;
1
+ "use strict";const l=require("./index.vue_vue_type_style_index_1_lang-wDciklc6.cjs"),K=require("./index-DGKTZoR7.cjs"),T=async()=>{const m="弯管仿真加工分析";let D={};const f=sessionStorage.getItem("systemKey"),s=await l.getItemData(`${m}/管件解析`,f,"");let L=["管长","外径"],r={};s==null||s.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{L.includes(a==null?void 0:a.key)&&(r[a.key]=a.value)}))}))});const d=r.管长,k=r.外径;console.log("管长",d,"外径",k,r);const R=d,x=k/2,p=await l.getItemData(`${m}/加工位姿生成`,f,"");let _=["夹持长度"],h={};p==null||p.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{_.includes(a==null?void 0:a.key)&&(h[a.key]=a.value)}))}))});const E=h.夹持长度;console.log("夹持长度",E,h);const w=Number(E),y={},u=await l.getItemData(`${m}/仿真动画生成`,f,"");u==null||u.forEach(e=>{var t,n,c,a,F,C;if((e==null?void 0:e.comp)==="Table"){let I=[],g=(c=(n=(t=e==null?void 0:e.compData)==null?void 0:t.find(o=>(o==null?void 0:o.key)==="header"))==null?void 0:n.contents)==null?void 0:c.map(o=>o==null?void 0:o.label),b=(C=(F=(a=e==null?void 0:e.compData)==null?void 0:a.find(o=>(o==null?void 0:o.key)==="tableContents"))==null?void 0:F.contents)==null?void 0:C.map(o=>(o=o==null?void 0:o.filter(i=>!(i!=null&&i.id)),o));b==null||b.forEach(o=>{I.push(l.getValueToObjectValue(o,g==null?void 0:g.filter(i=>i!=="操作")))}),y[e.name]=I,y[e.name+"Content"]=e}});const A=K.cloneDeep(y);return D={initialPipeLength:R,pipeRadius:x,clampLength:w,animationData:A},D},$=async()=>{const m="双弯管仿真加工分析";let D={};const f=sessionStorage.getItem("systemKey"),s=await l.getItemData(`${m}/管件解析`,f,"");let L=["管长","外径"],r={};s==null||s.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{L.includes(a==null?void 0:a.key)&&(r[a.key]=a.value)}))}))});const d=r.管长,k=r.外径;console.log("管长",d,"外径",k,r);const R=d,x=k/2,p=await l.getItemData(`${m}/加工工艺生成`,f,"");let _=["夹持位置"],h={};p==null||p.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{_.includes(a==null?void 0:a.key)&&(h[a.key]=a.value)}))}))});const E=h.夹持位置;console.log("夹持长度",E,h);const w=Number(E),y={},u=await l.getItemData(`${m}/仿真动画生成`,f,"");u==null||u.forEach(e=>{var t,n,c,a,F,C;if((e==null?void 0:e.comp)==="Table"){let I=[],g=(c=(n=(t=e==null?void 0:e.compData)==null?void 0:t.find(o=>(o==null?void 0:o.key)==="header"))==null?void 0:n.contents)==null?void 0:c.map(o=>o==null?void 0:o.label),b=(C=(F=(a=e==null?void 0:e.compData)==null?void 0:a.find(o=>(o==null?void 0:o.key)==="tableContents"))==null?void 0:F.contents)==null?void 0:C.map(o=>(o=o==null?void 0:o.filter(i=>!(i!=null&&i.id)),o));b==null||b.forEach(o=>{I.push(l.getValueToObjectValue(o,g==null?void 0:g.filter(i=>i!=="操作")))}),y[e.name]=I,y[e.name+"Content"]=e}});const A=K.cloneDeep(y);return D={initialPipeLength:R,pipeRadius:x,clampLength:w,animationData:A},D};exports.fetchDoubleRobotAnimationData=$;exports.fetchSingleRobotAnimationData=T;
@@ -1,5 +1,5 @@
1
1
  import { ref as E } from "vue";
2
- import { c as a } from "./index-BuABl1y7.js";
2
+ import { c as a } from "./index-BkeIblNn.js";
3
3
  const A = [
4
4
  {
5
5
  key: "FormName",
@@ -1,4 +1,4 @@
1
- "use strict";const x=require("vue"),c=require("./index-BGcvB_Bm.cjs"),D=[{key:"FormName",value:"Form"},{key:"TableName",value:"Table"},{key:"MenuName",value:"Menu"},{key:"GroupName",value:"Group"},{key:"SystemKey",value:"System"}],b=[{key:"FormDirect",value:"formFlex"},{key:"Form",value:"formContent"},{key:"FormButton",value:"formButton"},{key:"FormFlex",value:"formWrap"},{key:"TableColumns",value:"header"},{key:"TableButton",value:"extraButton"},{key:"TableLineButton",value:"rowButton"},{key:"Table",value:"tableContents"},{key:"TableIndex",value:"tableIndex"},{key:"Menus",value:"menuContents"},{key:"GroupContents",value:"groupContents"}];x.ref(0);const I=l=>{var t,r;if(Array.isArray(Object.keys(l))&&((t=Object.keys(l))==null?void 0:t.length)>0){let e=[];return(r=Object.entries(l))==null||r.forEach(([s,n])=>{var y,$;let a=[];if(a.push(s),((y=Object.keys(n))==null?void 0:y.length)>0){let f=[];($=I(n))==null||$.forEach(T=>{f.push(T)}),f==null||f.forEach(T=>{a.push(T)})}e.push(a)}),e}},R=(l,t)=>{var e;let r=t;return Array.isArray(Object.keys(l))&&((e=Object.entries(l))==null||e.forEach(([s,n])=>{let a=[s];if(typeof n=="object"&&n!==null){let y=I(n);y==null||y.forEach($=>{a.push($)})}r.push(a)})),r},X=l=>{const t={};return l.forEach(e=>{const s=e.split("/");let n=t;s.forEach(a=>{n[a]||(n[a]={}),n=n[a]})}),R(t,[])},Y=l=>X(l);x.ref(0);x.ref(1);const q=l=>{let t;l.replaceAll(" ",`\r
1
+ "use strict";const x=require("vue"),c=require("./index-DGKTZoR7.cjs"),D=[{key:"FormName",value:"Form"},{key:"TableName",value:"Table"},{key:"MenuName",value:"Menu"},{key:"GroupName",value:"Group"},{key:"SystemKey",value:"System"}],b=[{key:"FormDirect",value:"formFlex"},{key:"Form",value:"formContent"},{key:"FormButton",value:"formButton"},{key:"FormFlex",value:"formWrap"},{key:"TableColumns",value:"header"},{key:"TableButton",value:"extraButton"},{key:"TableLineButton",value:"rowButton"},{key:"Table",value:"tableContents"},{key:"TableIndex",value:"tableIndex"},{key:"Menus",value:"menuContents"},{key:"GroupContents",value:"groupContents"}];x.ref(0);const I=l=>{var t,r;if(Array.isArray(Object.keys(l))&&((t=Object.keys(l))==null?void 0:t.length)>0){let e=[];return(r=Object.entries(l))==null||r.forEach(([s,n])=>{var y,$;let a=[];if(a.push(s),((y=Object.keys(n))==null?void 0:y.length)>0){let f=[];($=I(n))==null||$.forEach(T=>{f.push(T)}),f==null||f.forEach(T=>{a.push(T)})}e.push(a)}),e}},R=(l,t)=>{var e;let r=t;return Array.isArray(Object.keys(l))&&((e=Object.entries(l))==null||e.forEach(([s,n])=>{let a=[s];if(typeof n=="object"&&n!==null){let y=I(n);y==null||y.forEach($=>{a.push($)})}r.push(a)})),r},X=l=>{const t={};return l.forEach(e=>{const s=e.split("/");let n=t;s.forEach(a=>{n[a]||(n[a]={}),n=n[a]})}),R(t,[])},Y=l=>X(l);x.ref(0);x.ref(1);const q=l=>{let t;l.replaceAll(" ",`\r
2
2
  `).replaceAll(`
3
3
  `,`\r
4
4
  `).includes(`\r
package/dist/config.js CHANGED
@@ -4,7 +4,7 @@ window.__env__ = {
4
4
  "VITE_OPEN_CDN": "false",
5
5
  "VITE_PUBLIC_PATH": "",
6
6
  "VITE_SM_PUBLIC_KEY": "0484C7466D950E120E5ECE5DD85D0C90EAA85081A3A2BD7C57AE6DC822EFCCBD66620C67B0103FC8DD280E36C3B282977B722AAEC3C56518EDCEBAFB72C5A05312",
7
- "VITE_API_URL": "http://localhost:62001",
7
+ "VITE_API_URL": "http://222.92.178.198:62001",
8
8
  "VITE_DEFAULT_USER": "",
9
9
  "VITE_DEFAULT_USER_PASSWORD": ""
10
10
  }
@@ -1,7 +1,7 @@
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-CbG_NuLY.js";
3
- import { u as F, aC as x } from "./index.vue_vue_type_style_index_1_lang-CEtlRKVx.js";
4
- import { s as O, c as H } from "./index-BuABl1y7.js";
2
+ import { s as E } from "./index-nuizzmWC.js";
3
+ import { u as F, aC as x } from "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
4
+ import { s as O, c as H } from "./index-BkeIblNn.js";
5
5
  import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const W = { class: "routerPage-wrapper" }, j = { class: "role-dialog-header" }, q = ["title"], G = { title: "更多" }, J = { class: "dialog-footer" }, K = /* @__PURE__ */ z({
7
7
  __name: "index",
@@ -1,6 +1,6 @@
1
1
  import { ref as _, computed as A } from "vue";
2
- import { d as I, E as s, g as M } from "./index-BuABl1y7.js";
3
- import { E as N } from "./index.vue_vue_type_style_index_1_lang-CEtlRKVx.js";
2
+ import { d as I, E as s, g as M } from "./index-BkeIblNn.js";
3
+ import { E as N } from "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
4
4
  const K = _([]), T = A(() => [
5
5
  {
6
6
  key: "extraButton",
@@ -1,6 +1,6 @@
1
1
  import { ref as x, onMounted as _, createElementBlock as g, openBlock as y, createVNode as C } from "vue";
2
- import { s as b } from "./index-1WSLnjBv.js";
3
- import { c as s } from "./index-BuABl1y7.js";
2
+ import { s as b } from "./index-B9lxmpVN.js";
3
+ import { c as s } from "./index-BkeIblNn.js";
4
4
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const A = (t, n, a) => {
6
6
  var r, d, p, m;
@@ -1,5 +1,5 @@
1
1
  import { ref as c, onMounted as p, watch as u, onUnmounted as f, createElementBlock as v, openBlock as m } from "vue";
2
- import { o as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BCFokzO6.js";
2
+ import { o as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D8ybuSYA.js";
3
3
  import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const z = {
5
5
  __name: "index",
@@ -1 +1 @@
1
- "use strict";const o=require("vue"),u=require("./index-BGcvB_Bm.cjs"),s=require("./index.vue_vue_type_style_index_1_lang-C1AYA9a9.cjs"),d=s.useModelComp(),{itemData:g}=u.storeToRefs(d),b=o.ref(0),D=o.ref([{label:"机构名称",value:"",name:"deptName"}]),i=e=>{console.log("handleQueryChange",e)},r=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"机构名称",prop:"deptName"},{label:"机构类型",prop:"deptType",formType:"Select",options:[{label:"集团",value:"集团"},{label:"公司",value:"公司"},{label:"部门",value:"部门"},{label:"区域",value:"区域"},{label:"组",value:"组"}]},{label:"机构状态",formType:"Radio",prop:"deptStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"操作"}]},{key:"tableContents",contents:[]}]),f=e=>{s.submitTableAsyncByVerify(e.singleContent,e.buttonName,b.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,t)=>{console.log("onButtonClick",e,t)},_=async e=>{const t=await s.handleSubmitAsync(u.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),n=t==null?void 0:t.map(a=>{var l;return{id:a.id,tableData:(l=a==null?void 0:a.value)==null?void 0:l.tableData}});return n==null?void 0:n.map(a=>{var l;if(Array.isArray(a==null?void 0:a.tableData)){let c={id:a.id};return(l=a==null?void 0:a.tableData)==null||l.forEach((p,y)=>{c[`a${y}`]=p}),c}else return{...a.tableData,id:a.id}})},k={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:r.value,name:""}]}]};o.watch(()=>g.value,e=>{var t;e&&(e==null?void 0:e.length)>0&&(r.value=(t=e==null?void 0:e[0])==null?void 0:t.compData)});const m=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:_,handleItemDataChange:f,handleQueryChange:i,onButtonClick:C,onDoubleClick:h,pageData:r,queryFormData:D,structureId:b,tempDeptPageData:k},Symbol.toStringTag,{value:"Module"}));exports.State=m;
1
+ "use strict";const o=require("vue"),u=require("./index-DGKTZoR7.cjs"),s=require("./index.vue_vue_type_style_index_1_lang-wDciklc6.cjs"),d=s.useModelComp(),{itemData:g}=u.storeToRefs(d),b=o.ref(0),D=o.ref([{label:"机构名称",value:"",name:"deptName"}]),i=e=>{console.log("handleQueryChange",e)},r=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"机构名称",prop:"deptName"},{label:"机构类型",prop:"deptType",formType:"Select",options:[{label:"集团",value:"集团"},{label:"公司",value:"公司"},{label:"部门",value:"部门"},{label:"区域",value:"区域"},{label:"组",value:"组"}]},{label:"机构状态",formType:"Radio",prop:"deptStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"操作"}]},{key:"tableContents",contents:[]}]),f=e=>{s.submitTableAsyncByVerify(e.singleContent,e.buttonName,b.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,t)=>{console.log("onButtonClick",e,t)},_=async e=>{const t=await s.handleSubmitAsync(u.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),n=t==null?void 0:t.map(a=>{var l;return{id:a.id,tableData:(l=a==null?void 0:a.value)==null?void 0:l.tableData}});return n==null?void 0:n.map(a=>{var l;if(Array.isArray(a==null?void 0:a.tableData)){let c={id:a.id};return(l=a==null?void 0:a.tableData)==null||l.forEach((p,y)=>{c[`a${y}`]=p}),c}else return{...a.tableData,id:a.id}})},k={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:r.value,name:""}]}]};o.watch(()=>g.value,e=>{var t;e&&(e==null?void 0:e.length)>0&&(r.value=(t=e==null?void 0:e[0])==null?void 0:t.compData)});const m=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:_,handleItemDataChange:f,handleQueryChange:i,onButtonClick:C,onDoubleClick:h,pageData:r,queryFormData:D,structureId:b,tempDeptPageData:k},Symbol.toStringTag,{value:"Module"}));exports.State=m;
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as m, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as _ } from "vue";
2
- import { S as x } from "./index-BMwO2fRm.js";
3
- import { s as B } from "./index-CbG_NuLY.js";
4
- import { s as F, e as y } from "./index-D3ZYUbnM.js";
5
- import { u as S } from "./index.vue_vue_type_style_index_1_lang-CEtlRKVx.js";
6
- import { p as I, s as N } from "./index-BuABl1y7.js";
2
+ import { S as x } from "./index-Cr9CcRAX.js";
3
+ import { s as B } from "./index-nuizzmWC.js";
4
+ import { s as F, e as y } from "./index-Cb21VYW-.js";
5
+ import { u as S } from "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
6
+ import { p as I, s as N } from "./index-BkeIblNn.js";
7
7
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  const E = { class: "menu-module" }, M = {
9
9
  class: "table-wrap",
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BjOWi2yI.cjs"),p=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_={__name:"index",props:{optionContents:{type:Object,default:()=>{}}},setup(a){const s=a;let t=null,n=null;const r=e.ref({}),o=e.ref(null),u=()=>{o.value&&(n=new ResizeObserver(()=>{i()}),n.observe(o.value))};e.onMounted(()=>{r.value=s.optionContents,c(),window.addEventListener("resize",i),u()}),e.watch(()=>s.optionContents,()=>{r.value=s.optionContents,c()}),e.onUnmounted(()=>{n&&n.disconnect(),window.removeEventListener("resize",i)});const i=()=>{t.resize()},c=()=>{t&&t.dispose(),t=d.init(o.value);const l=r.value;t.setOption(l),t.resize()};return(l,f)=>(e.openBlock(),e.createElementBlock("div",{id:"chartModelId",class:"chart-model-class",ref_key:"chartModelRef",ref:o},null,512))}},v=p._export_sfc(_,[["__scopeId","data-v-69d6e63f"]]);exports.ssChart=v;
1
+ "use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BjRuuqmE.cjs"),p=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_={__name:"index",props:{optionContents:{type:Object,default:()=>{}}},setup(a){const s=a;let t=null,n=null;const r=e.ref({}),o=e.ref(null),u=()=>{o.value&&(n=new ResizeObserver(()=>{i()}),n.observe(o.value))};e.onMounted(()=>{r.value=s.optionContents,c(),window.addEventListener("resize",i),u()}),e.watch(()=>s.optionContents,()=>{r.value=s.optionContents,c()}),e.onUnmounted(()=>{n&&n.disconnect(),window.removeEventListener("resize",i)});const i=()=>{t.resize()},c=()=>{t&&t.dispose(),t=d.init(o.value);const l=r.value;t.setOption(l),t.resize()};return(l,f)=>(e.openBlock(),e.createElementBlock("div",{id:"chartModelId",class:"chart-model-class",ref_key:"chartModelRef",ref:o},null,512))}},v=p._export_sfc(_,[["__scopeId","data-v-69d6e63f"]]);exports.ssChart=v;
@@ -1,19 +1,19 @@
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-DC5qM2-O.js";
3
- import { u as K } from "./index-BuABl1y7.js";
4
- import "./array-FGSYvsi2.js";
2
+ import "./index-Duci16gr.js";
3
+ import { u as K } from "./index-BkeIblNn.js";
4
+ import "./array-Bh8i5GAF.js";
5
5
  import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-Bc30cSMH.js";
7
- import "./index.vue_vue_type_style_index_0_scoped_54875f48_lang-B4gw200v.js";
6
+ import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-CcFsRkhk.js";
7
+ import "./index.vue_vue_type_style_index_0_scoped_54875f48_lang-CiL6VoA_.js";
8
8
  import "./index-BHtNKL1L.js";
9
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BCFokzO6.js";
9
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D8ybuSYA.js";
10
10
  import "./STLLoader-C7r5KNYq.js";
11
- import "./index.vue_vue_type_style_index_1_lang-CEtlRKVx.js";
12
- import "./index.vue_vue_type_style_index_1_lang-DiouczXJ.js";
13
- import "./index-dIRYC6_N.js";
11
+ import "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
12
+ import "./index.vue_vue_type_style_index_1_lang-Ca121GvZ.js";
13
+ import "./index-CCgW3KO3.js";
14
14
  import "vue-router";
15
- import "./index-DomRZqev.js";
16
- import "./index-B0WaIQO6.js";
15
+ import "./index-EMeEeDNC.js";
16
+ import "./index-CpA1oVez.js";
17
17
  const j = {
18
18
  __name: "index",
19
19
  props: {
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),N=require("./index-Ceyi_Piv.cjs"),s=require("./index-BGcvB_Bm.cjs"),B=require("./index.vue_vue_type_style_index_1_lang-C1AYA9a9.cjs");require("./array-CMwr7FKb.cjs");const I=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-DEEZPcpU.cjs"),O=require("./index-CqenxBIT.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$3,{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$2,{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-DLcdLSRG.cjs"),s=require("./index-DGKTZoR7.cjs"),B=require("./index.vue_vue_type_style_index_1_lang-wDciklc6.cjs");require("./array-qx4N1D5z.cjs");const I=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-DEEZPcpU.cjs"),O=require("./index-D_ktPZVF.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$3,{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$2,{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;
@@ -8668,7 +8668,7 @@ const Ue = {
8668
8668
  window.localStorage.clear();
8669
8669
  }
8670
8670
  }, F1 = /* @__PURE__ */ new Map(), Oe = j.create({
8671
- baseURL: "http://localhost:62001",
8671
+ baseURL: "http://222.92.178.198:62001",
8672
8672
  timeout: 5e4
8673
8673
  //headers: { 'Content-Type': 'application/json' }, 这个会导致生成代码的上传文件 file为空
8674
8674
  }), _2 = "access-token", Q2 = `x-${_2}`;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as k, ref as C, reactive as T, resolveComponent as m, createElementBlock as x, openBlock as B, createVNode as u, withCtx as d, createElementVNode as l, createTextVNode as w, toDisplayString as z, nextTick as N, Fragment as q, withDirectives as H, renderSlot as $, vShow as M } from "vue";
2
- import { C as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BCFokzO6.js";
3
- import { F as X, U as J, ai as G, y as U, z as c, ah as I, P as g } from "./index-BuABl1y7.js";
2
+ import { C as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D8ybuSYA.js";
3
+ import { F as X, U as J, ai as G, y as U, z as c, ah as I, P as g } from "./index-BkeIblNn.js";
4
4
  import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const K = "ElUpload";
6
6
  class Q extends Error {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as l, reactive as c, onMounted as s, createElementBlock as r, openBlock as i, createVNode as p } from "vue";
2
- import { S as m } from "./index-Bj3S8Xc4.js";
3
- import { s as _ } from "./index-CbG_NuLY.js";
2
+ import { S as m } from "./index-5w4hFvkO.js";
3
+ import { s as _ } from "./index-nuizzmWC.js";
4
4
  import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const f = { class: "log-wrap" }, u = /* @__PURE__ */ l({
6
6
  __name: "index",
@@ -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-BCFokzO6.js";
4
- import { s as i } from "./index-BuABl1y7.js";
5
- import { u as p, az as u } from "./index.vue_vue_type_style_index_1_lang-CEtlRKVx.js";
6
- import { s as l } from "./index-CbG_NuLY.js";
7
- import { S as d } from "./index-H_5ravCj.js";
3
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D8ybuSYA.js";
4
+ import { s as i } from "./index-BkeIblNn.js";
5
+ import { u as p, az as u } from "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
6
+ import { s as l } from "./index-nuizzmWC.js";
7
+ import { S as d } from "./index-CaX0q15O.js";
8
8
  const _ = { class: "role-wrapper" }, k = /* @__PURE__ */ o({
9
9
  __name: "index",
10
10
  setup(f) {
@@ -1,11 +1,11 @@
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
- import { S as I, t as x } from "./index-dIRYC6_N.js";
3
- import { s as w, a as L } from "./index-DomRZqev.js";
2
+ import { S as I, t as x } from "./index-CCgW3KO3.js";
3
+ import { s as w, a as L } from "./index-EMeEeDNC.js";
4
4
  import "./index-BHtNKL1L.js";
5
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BCFokzO6.js";
6
- import { i as E } from "./index-D3ZYUbnM.js";
7
- import { u as N, s as U } from "./index-BuABl1y7.js";
8
- import "./index.vue_vue_type_style_index_1_lang-CEtlRKVx.js";
5
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D8ybuSYA.js";
6
+ import { i as E } from "./index-Cb21VYW-.js";
7
+ import { u as N, s as U } from "./index-BkeIblNn.js";
8
+ import "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
9
9
  import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  const z = { class: "personal-wrapper" }, F = { class: "personal-box left" }, H = { class: "base-avatar" }, K = { class: "center-avatar" }, M = { class: "base-info" }, R = { class: "base-signature" }, j = { class: "personal-box right" }, q = /* @__PURE__ */ C({
11
11
  __name: "index",