ss-component-new 1.2.92 → 1.2.93

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 (108) hide show
  1. package/dist/{MTLLoader-B5xRp-vz.js → MTLLoader-BqMu0YKt.js} +1 -1
  2. package/dist/{MTLLoader-D80GV1WB.cjs → MTLLoader-zRjWtCnL.cjs} +1 -1
  3. package/dist/{OrbitControls-Dh9PyFO4.js → OrbitControls-CkSV-7e2.js} +1 -1
  4. package/dist/{OrbitControls-CqIpswqa.cjs → OrbitControls-uNfFrSzp.cjs} +1 -1
  5. package/dist/{animationData-BtND2VWy.cjs → animationData-BV8uuWxo.cjs} +1 -1
  6. package/dist/{animationData-DZ0i7k1j.js → animationData-pWr0q4LQ.js} +3 -3
  7. package/dist/{array-Ct6rQOAk.js → array-Cn-xxeGh.js} +1 -1
  8. package/dist/{array-BQH8ILpd.cjs → array-Dg-eQLeS.cjs} +1 -1
  9. package/dist/{dataUtil-DrslFFRT.cjs → dataUtil-BFP1At6d.cjs} +1 -1
  10. package/dist/{dataUtil-BS-wt9Xk.js → dataUtil-C4lMM2nY.js} +1 -1
  11. package/dist/{iconfont-0T5xTLj8.cjs → iconfont-BRM_rpi8.cjs} +1 -1
  12. package/dist/{iconfont-DN8mra_i.js → iconfont-CCGqXI2r.js} +2 -2
  13. package/dist/{index-BooqzjWY.cjs → index-B-ISmVJC.cjs} +1 -1
  14. package/dist/{index-BprBzYZ5.cjs → index-B2U5mieP.cjs} +1 -1
  15. package/dist/{index-DQTbLJJt.js → index-B3N4uz-K.js} +2 -2
  16. package/dist/{index-CZsCZbCY.js → index-BENFg-Zm.js} +2 -2
  17. package/dist/{index-CZLI4UKD.js → index-BNWYMxbm.js} +1 -1
  18. package/dist/{index-C07slqLJ.js → index-BO0QhxMC.js} +4 -4
  19. package/dist/{index-Dgdu_Hp_.js → index-BayQ6HRi.js} +1 -1
  20. package/dist/{index-CQ7UrLDv.js → index-BehWQ_lM.js} +7 -7
  21. package/dist/{index-DkEISMpK.js → index-Bg0aEQlB.js} +1 -1
  22. package/dist/{index-Q33CutvH.js → index-BiPJErfq.js} +5 -5
  23. package/dist/{index-D4EyLxA0.cjs → index-BjjK_8u-.cjs} +1 -1
  24. package/dist/{index-BvxyAOvM.js → index-Bnv7-7Q_.js} +2 -2
  25. package/dist/{index-CuchbMC7.cjs → index-BrWiZG4y.cjs} +1 -1
  26. package/dist/{index-m_VPPkQD.cjs → index-C1Y17JEG.cjs} +1 -1
  27. package/dist/{index-BtKhX2oM.js → index-C2k82Lij.js} +5 -5
  28. package/dist/{index-CRe-_A5B.cjs → index-CA4Rnfh-.cjs} +1 -1
  29. package/dist/{index-YxS-TBi2.js → index-CCHBi7OE.js} +3 -3
  30. package/dist/{index-BwaM5xSn.cjs → index-CSZdFHsD.cjs} +1 -1
  31. package/dist/{index-C1IhJdLY.cjs → index-CTh_Ncuz.cjs} +1 -1
  32. package/dist/{index-BeEVAZ15.cjs → index-CVAhcUed.cjs} +1 -1
  33. package/dist/{index-CpYf3edW.cjs → index-CX7_nZY6.cjs} +1 -1
  34. package/dist/{index-BdwtuRne.cjs → index-Cbmn26EX.cjs} +1 -1
  35. package/dist/{index-B_KvjL9P.cjs → index-CeUaRgKO.cjs} +1 -1
  36. package/dist/index-Cg2OBNWR.js +12165 -0
  37. package/dist/{index-BKaTMDZC.js → index-CkJ3dja_.js} +5 -5
  38. package/dist/{index-CiNYm1fC.js → index-Cy6QWoA0.js} +2 -2
  39. package/dist/{index-CMb4s6NV.js → index-D0NuMuh5.js} +1 -1
  40. package/dist/{index-1gXFTnuu.js → index-D9cOD8pq.js} +19 -19
  41. package/dist/{index-CV7OZAqo.js → index-DEX2MMzx.js} +1 -1
  42. package/dist/{index-91lUH3Vt.cjs → index-DMwTF1Hl.cjs} +1 -1
  43. package/dist/{index-DSmsp4fK.cjs → index-DNlkoFfq.cjs} +1 -1
  44. package/dist/{index-C1aAW06_.js → index-DPSCHBsV.js} +350 -350
  45. package/dist/{index-DwsI_FxR.js → index-DRfB6AIJ.js} +11 -11
  46. package/dist/{index-BUYZ6Pzj.cjs → index-DW8kOx8l.cjs} +1 -1
  47. package/dist/{index-D_6peWlG.cjs → index-DY8hmk1Q.cjs} +1 -1
  48. package/dist/{index-DJ14vVkb.js → index-DZOPhOwT.js} +2 -2
  49. package/dist/{index-CylLhQJV.cjs → index-DZVELtDt.cjs} +1 -1
  50. package/dist/{index-CewrcECw.js → index-DbJoeUF-.js} +1 -1
  51. package/dist/{index-DZQ1Y80J.js → index-Df60duTb.js} +1 -1
  52. package/dist/index-DjGhoJ9G.cjs +1 -0
  53. package/dist/{index-fN7eaisA.cjs → index-DlnbkEM7.cjs} +1 -1
  54. package/dist/{index-fbsH9PEh.js → index-Dm46N078.js} +1 -1
  55. package/dist/{index-CtOo2IDL.cjs → index-DmBA9Ti2.cjs} +1 -1
  56. package/dist/{index-DVMvlM3X.cjs → index-DuPQtW5w.cjs} +1 -1
  57. package/dist/{index-C7Ks0zLC.js → index-FKHrqiVz.js} +7 -7
  58. package/dist/{index-bz_QKqhV.cjs → index-FcinJWji.cjs} +1 -1
  59. package/dist/{index-Z2dyIgOs.cjs → index-HYG7cVcZ.cjs} +1 -1
  60. package/dist/{index-BWhMaL3V.js → index-TGJkSdz2.js} +2 -2
  61. package/dist/{index-DW_lU8F7.cjs → index-VQkps0BU.cjs} +1 -1
  62. package/dist/{index-BjFqn1jw.js → index-VjYMOvAX.js} +2 -2
  63. package/dist/{index-CfHIgB5C.js → index-d8HtdjjA.js} +2 -2
  64. package/dist/{index-DavM6N4X.cjs → index-dme4eW3i.cjs} +1 -1
  65. package/dist/{index-BGvxk4QX.cjs → index-lwWOeFJ2.cjs} +1 -1
  66. package/dist/{index-C_DIwBxS.cjs → index-pRDAMiN6.cjs} +1 -1
  67. package/dist/{index-C7HjGMoA.js → index-sdy4rOwc.js} +3 -3
  68. package/dist/{index-NMPHjxEr.cjs → index-xE7sPerP.cjs} +1 -1
  69. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CjVqxeCk.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-WCDkJgBy.cjs} +1 -1
  70. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-qrHH3IDA.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-jTusmekk.js} +11 -11
  71. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-QzgaFA5S.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B4a6duPj.cjs} +59 -59
  72. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DEgtwZwW.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CdhgB7xx.js} +1648 -1643
  73. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-9r-1e4S8.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-B-xjaP8a.cjs} +1 -1
  74. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-IuoTm-WE.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-CzCs0sf6.js} +5 -5
  75. package/dist/{index.vue_vue_type_style_index_1_lang-CDl_PU-6.js → index.vue_vue_type_style_index_1_lang-B_aFzFdO.js} +4 -4
  76. package/dist/{index.vue_vue_type_style_index_1_lang-kYz8t0xw.js → index.vue_vue_type_style_index_1_lang-Bjoq8geZ.js} +852 -815
  77. package/dist/{index.vue_vue_type_style_index_1_lang-DR71_XjN.cjs → index.vue_vue_type_style_index_1_lang-CWHB_cKA.cjs} +1 -1
  78. package/dist/{index.vue_vue_type_style_index_1_lang-DnfCrXiN.cjs → index.vue_vue_type_style_index_1_lang-DBVG4Icj.cjs} +15 -15
  79. package/dist/{main-D_3GSDl9.js → main-CY7oPwNS.js} +4 -4
  80. package/dist/{main-BxTLrfxf.cjs → main-L79lE2kN.cjs} +1 -1
  81. package/dist/obj/model.mtl +42 -0
  82. package/dist/obj/model.obj +26110 -0
  83. package/dist/ss-component.cjs +1 -1
  84. package/dist/ss-component.css +1 -1
  85. package/dist/ss-component.js +10 -10
  86. package/dist/ss-component2.cjs +1 -1
  87. package/dist/ss-component2.js +11 -11
  88. package/dist/{threeModel-D4-2rEpM.cjs → threeModel-Dq8a_wOl.cjs} +1 -1
  89. package/dist/{threeModel-BKLggDE-.js → threeModel-Dr59FK8j.js} +4 -4
  90. package/dist/{threePreview-oszvdj-G.js → threePreview-C_TwTZy-.js} +3 -3
  91. package/dist/{threePreview-QIurmOdU.cjs → threePreview-DDtKTkbQ.cjs} +1 -1
  92. package/dist/{threeSceneView-BR1l9yTW.js → threeSceneView-1RY5O4xF.js} +10 -10
  93. package/dist/{threeSceneView-CaHI2V82.cjs → threeSceneView-DjR97Vkq.cjs} +1 -1
  94. package/dist/{threeSceneViewForCPMPIP-DbvRq5YC.cjs → threeSceneViewForCPMPIP-B_8OVRtE.cjs} +1 -1
  95. package/dist/{threeSceneViewForCPMPIP-wZTvUhLm.js → threeSceneViewForCPMPIP-Df02-XUC.js} +9 -9
  96. package/dist/{threeTrackPathView-CF9ierHN.cjs → threeTrackPathView-BFt_gZ1r.cjs} +1 -1
  97. package/dist/{threeTrackPathView-CAK5om32.js → threeTrackPathView-BiB_wa-w.js} +4 -4
  98. package/dist/{threeViewerHost-CeTJmyoE.js → threeViewerHost-B5qIQeOb.js} +3 -3
  99. package/dist/{threeViewerHost-iajMfGA9.cjs → threeViewerHost-BfHIT_rf.cjs} +2 -2
  100. package/dist/{urdfTree-DIyCunQo.js → urdfTree-CfBupHPQ.js} +1 -1
  101. package/dist/{urdfTree-CWwnorES.cjs → urdfTree-DTIOLiOJ.cjs} +1 -1
  102. package/dist/{workpieceTreePanel-YfDCHyA3.cjs → workpieceTreePanel-CFmb-A_i.cjs} +1 -1
  103. package/dist/{workpieceTreePanel-DC0GHh3g.js → workpieceTreePanel-CGNBaTZD.js} +5 -5
  104. package/package.json +1 -1
  105. package/public/obj/model.mtl +42 -0
  106. package/public/obj/model.obj +26110 -0
  107. package/dist/index-BYoEVm0h.cjs +0 -1
  108. package/dist/index-a_TWt7Sj.js +0 -12178
@@ -1 +1 @@
1
- "use strict";const s=require("vue"),ce=require("./index-BpPyaNFa.cjs"),w=require("./index-C8qRkCgn.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-QzgaFA5S.cjs");const B=require("./index.vue_vue_type_style_index_1_lang-DnfCrXiN.cjs"),ae=require("./index-D_6peWlG.cjs"),ie=require("vue-router"),A=require("./index-9hspBVrQ.cjs"),pe=require("./index-BYoEVm0h.cjs"),P=s.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-NMPHjxEr.cjs")).then(v=>v.index));P.install=v=>{v.component("ssMenu",P)};const z={__name:"index",props:{name:String},setup(v){const b=v,S=s.computed(()=>w.ElIcons[b.name]);return s.onMounted(()=>{}),(x,a)=>{const T=s.resolveComponent("el-icon");return s.openBlock(),s.createBlock(T,null,{default:s.withCtx(()=>[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(S.value)))]),_:1})}}};function H(v="menu"){return{name:v,components:{SvgIcon:ce.SvgIcon,ssMenu:P,DynamicIcon:z,ssDialog:ae.ssDialog},setup(b,{emit:S}){const x=s.defineProps({mode:{type:String,default:"vertical"}}),a=B.useMenuState(),T=B.useModelComp(w.pinia),F=s.ref(0),d=ie.useRouter(),{asideMenus:W,menuTriggerType:J,platform:K}=w.storeToRefs(a),L=s.computed(()=>x==null?void 0:x.mode),$=s.computed(()=>{let e=[...W.value];if((e==null?void 0:e.length)===0)return d.push("/"),[];const t=Y(e,Q.value);return t.isFlag||(e=t==null?void 0:t.data),e}),j=async e=>{T.setRouteToChildPath(""),a.setMenuTriggerType("click"),a.setActiveMenuPath(e==null?void 0:e.path),a.setActiveAsideMenu(e),e.isRouter?d.push(e.path):d.push("/"),S("node-click",e)},G=async e=>{const t=w.findNodeByPropInTree($.value,"path",e);a.setActiveAsideMenu(t),T.setRouteToChildPath(""),J.value==="click"?F.value===1?a.setActiveMenuPath(sessionStorage.getItem("pageKey")):a.setActiveMenuPath(e):(a.setMenuTriggerType("click"),a.setActiveMenuPath(e)),e!=null&&e.startsWith("/")?d.push(e):d.push("/"),F.value++},I=e=>{a.setActiveMenuPath(e)},g=e=>{const t=document.documentElement;e==null||e.forEach(o=>{t.style.setProperty(o.name,o.value)})};s.onMounted(()=>{F.value=1});const Q=s.computed(()=>{const e=sessionStorage.getItem("authority");return e?JSON.parse(e):[]});s.watch(()=>K.value,e=>{e==="browser"?g(A.browserVerticalMenuClasses):e==="client"?(g(A.clientHorizontalMenuClasses),g(A.clientVerticalMenuClasses)):e==="three"&&(g(A.threeHorizontalMenuClasses),g(A.threeVerticalMenuClasses))},{immediate:!0});const X=(e,t)=>{function o(u){u==null||u.forEach(n=>{var M,y;const c=(M=n==null?void 0:n.path)!=null&&M.startsWith("/")?(y=n==null?void 0:n.path)==null?void 0:y.substring(1):n==null?void 0:n.path;n.show=t==null?void 0:t.some(f=>f==null?void 0:f.includes(c)),n.children&&o(n.children)})}return o(e),e},Y=(e,t)=>{if(Array.isArray(t)){const o=Array.from(new Set(t==null?void 0:t.map(u=>u.substring(0,u.lastIndexOf("/")))));return{data:X(e,o),isFlag:!1}}else return{isFlag:(t==null?void 0:t.toUpperCase())==="SUPERADMIN"}},p=s.reactive({show:!1,title:"菜单配置",width:"30%",type:"create"}),Z=e=>pe.getComponent(e),ee=s.ref({}),q=s.ref([]),te=async(e,t,o)=>{var y,f,N;if(!(e!=null&&e.structureIds)||((y=e==null?void 0:e.structureIds)==null?void 0:y.length)===0)return;const u=(N=(f=e==null?void 0:e.structureIds)==null?void 0:f.filter(r=>(r==null?void 0:r.key)==="dialogConfig"))==null?void 0:N.map(r=>r==null?void 0:r.id);let n=u==null?void 0:u.map(r=>w.getInsofDataApi({id:r}));const c=await Promise.all(n);if(c==null?void 0:c.every(r=>{var l;return((l=r==null?void 0:r.data)==null?void 0:l.code)===200})){const r=c==null?void 0:c.map(l=>{var _,m,i,k,D,U,V;return{id:(i=(m=(_=l==null?void 0:l.data)==null?void 0:_.result)==null?void 0:m[0])==null?void 0:i.id,...(V=(U=(D=(k=l==null?void 0:l.data)==null?void 0:k.result)==null?void 0:D[0])==null?void 0:U.value)==null?void 0:V.pageData}});t==="create"&&(q.value=r),t==="update"&&(q.value=r==null?void 0:r.map(l=>{var _,m;return((_=l==null?void 0:l.comp)==null?void 0:_.toUpperCase())==="FORM"?{...l,compData:(m=l==null?void 0:l.compData)==null?void 0:m.map(i=>{var k;return(i==null?void 0:i.key)==="formContent"?{...i,contents:(k=i==null?void 0:i.contents)==null?void 0:k.map(D=>({...D,value:o==null?void 0:o.title}))}:i})}:l}))}},C=s.ref({}),h=s.ref({}),se=e=>{switch(e){case"新增":return"create";case"编辑":return"update";case"删除":return"delete"}},E=s.ref({}),O=e=>{a.setCacheInputMenu({type:p.type,data:e}),a.setIsRefreshMenus(!0)},ne=async(e,t)=>{p.type=se(t==null?void 0:t.operateType),await te(t,p.type,e),h.value=e,E.value=t,(t==null?void 0:t.operateType)!=="删除"?(p.show=(t==null?void 0:t.trigger)==="openDialog",p.title=(t==null?void 0:t.operateType)+"菜单"):B.ElMessageBox.confirm(`是否确认要删除【${e==null?void 0:e.title}】`,"",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{O(e)})},re=()=>{p.show=!1},le=e=>e==null?void 0:e.filter(t=>t.allowInherit),oe=()=>{var o,u,n,c,M;let e;p.type==="create"&&(e=((o=h.value)==null?void 0:o.path)+"/"+C.value[(u=C.value)==null?void 0:u.prop]),p.type==="update"&&(e=(n=h.value)==null?void 0:n.path);const t={...h.value,config:le((c=h.value)==null?void 0:c.config),children:[],childMenus:[],title:C.value[(M=C.value)==null?void 0:M.prop],path:e};console.log("clickSubmitForm",E.value,h.value,t),O(t),p.show=!1},ue=e=>{var o,u;const t=(o=e==null?void 0:e.contents)==null?void 0:o.find(n=>n.key==="formContent");t&&(C.value=(u=t==null?void 0:t.contents)==null?void 0:u.reduce((n,c)=>(n[c.key]=c.value,n.prop=c.key,n),{}))},R=s.ref(!1);return{isCollapse:R,handleMenuCollapse:()=>{R.value=!R.value},handleCompChange:ue,dialogForm:ee,dialogRenderComps:q,getComponents:Z,clickSubmitForm:oe,dialogInfo:p,beforeDialogDestroy:re,clickMenuIcon:ne,mode:L,renderMenuList:$,clickMenu:j,openMenu:G,closeMenu:I,changeMenuStyle:g}}}}const ve=s.defineComponent(H());exports._sfc_main=ve;exports._sfc_main$1=z;exports.setComponent=H;exports.ssMenu=P;
1
+ "use strict";const s=require("vue"),ce=require("./index-BpPyaNFa.cjs"),w=require("./index-C8qRkCgn.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B4a6duPj.cjs");const B=require("./index.vue_vue_type_style_index_1_lang-DBVG4Icj.cjs"),ae=require("./index-DY8hmk1Q.cjs"),ie=require("vue-router"),A=require("./index-9hspBVrQ.cjs"),pe=require("./index-DjGhoJ9G.cjs"),P=s.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-xE7sPerP.cjs")).then(v=>v.index));P.install=v=>{v.component("ssMenu",P)};const z={__name:"index",props:{name:String},setup(v){const b=v,S=s.computed(()=>w.ElIcons[b.name]);return s.onMounted(()=>{}),(x,a)=>{const T=s.resolveComponent("el-icon");return s.openBlock(),s.createBlock(T,null,{default:s.withCtx(()=>[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(S.value)))]),_:1})}}};function H(v="menu"){return{name:v,components:{SvgIcon:ce.SvgIcon,ssMenu:P,DynamicIcon:z,ssDialog:ae.ssDialog},setup(b,{emit:S}){const x=s.defineProps({mode:{type:String,default:"vertical"}}),a=B.useMenuState(),T=B.useModelComp(w.pinia),F=s.ref(0),d=ie.useRouter(),{asideMenus:W,menuTriggerType:J,platform:K}=w.storeToRefs(a),L=s.computed(()=>x==null?void 0:x.mode),$=s.computed(()=>{let e=[...W.value];if((e==null?void 0:e.length)===0)return d.push("/"),[];const t=Y(e,Q.value);return t.isFlag||(e=t==null?void 0:t.data),e}),j=async e=>{T.setRouteToChildPath(""),a.setMenuTriggerType("click"),a.setActiveMenuPath(e==null?void 0:e.path),a.setActiveAsideMenu(e),e.isRouter?d.push(e.path):d.push("/"),S("node-click",e)},G=async e=>{const t=w.findNodeByPropInTree($.value,"path",e);a.setActiveAsideMenu(t),T.setRouteToChildPath(""),J.value==="click"?F.value===1?a.setActiveMenuPath(sessionStorage.getItem("pageKey")):a.setActiveMenuPath(e):(a.setMenuTriggerType("click"),a.setActiveMenuPath(e)),e!=null&&e.startsWith("/")?d.push(e):d.push("/"),F.value++},I=e=>{a.setActiveMenuPath(e)},g=e=>{const t=document.documentElement;e==null||e.forEach(o=>{t.style.setProperty(o.name,o.value)})};s.onMounted(()=>{F.value=1});const Q=s.computed(()=>{const e=sessionStorage.getItem("authority");return e?JSON.parse(e):[]});s.watch(()=>K.value,e=>{e==="browser"?g(A.browserVerticalMenuClasses):e==="client"?(g(A.clientHorizontalMenuClasses),g(A.clientVerticalMenuClasses)):e==="three"&&(g(A.threeHorizontalMenuClasses),g(A.threeVerticalMenuClasses))},{immediate:!0});const X=(e,t)=>{function o(u){u==null||u.forEach(n=>{var M,y;const c=(M=n==null?void 0:n.path)!=null&&M.startsWith("/")?(y=n==null?void 0:n.path)==null?void 0:y.substring(1):n==null?void 0:n.path;n.show=t==null?void 0:t.some(f=>f==null?void 0:f.includes(c)),n.children&&o(n.children)})}return o(e),e},Y=(e,t)=>{if(Array.isArray(t)){const o=Array.from(new Set(t==null?void 0:t.map(u=>u.substring(0,u.lastIndexOf("/")))));return{data:X(e,o),isFlag:!1}}else return{isFlag:(t==null?void 0:t.toUpperCase())==="SUPERADMIN"}},p=s.reactive({show:!1,title:"菜单配置",width:"30%",type:"create"}),Z=e=>pe.getComponent(e),ee=s.ref({}),q=s.ref([]),te=async(e,t,o)=>{var y,f,N;if(!(e!=null&&e.structureIds)||((y=e==null?void 0:e.structureIds)==null?void 0:y.length)===0)return;const u=(N=(f=e==null?void 0:e.structureIds)==null?void 0:f.filter(r=>(r==null?void 0:r.key)==="dialogConfig"))==null?void 0:N.map(r=>r==null?void 0:r.id);let n=u==null?void 0:u.map(r=>w.getInsofDataApi({id:r}));const c=await Promise.all(n);if(c==null?void 0:c.every(r=>{var l;return((l=r==null?void 0:r.data)==null?void 0:l.code)===200})){const r=c==null?void 0:c.map(l=>{var _,m,i,k,D,U,V;return{id:(i=(m=(_=l==null?void 0:l.data)==null?void 0:_.result)==null?void 0:m[0])==null?void 0:i.id,...(V=(U=(D=(k=l==null?void 0:l.data)==null?void 0:k.result)==null?void 0:D[0])==null?void 0:U.value)==null?void 0:V.pageData}});t==="create"&&(q.value=r),t==="update"&&(q.value=r==null?void 0:r.map(l=>{var _,m;return((_=l==null?void 0:l.comp)==null?void 0:_.toUpperCase())==="FORM"?{...l,compData:(m=l==null?void 0:l.compData)==null?void 0:m.map(i=>{var k;return(i==null?void 0:i.key)==="formContent"?{...i,contents:(k=i==null?void 0:i.contents)==null?void 0:k.map(D=>({...D,value:o==null?void 0:o.title}))}:i})}:l}))}},C=s.ref({}),h=s.ref({}),se=e=>{switch(e){case"新增":return"create";case"编辑":return"update";case"删除":return"delete"}},E=s.ref({}),O=e=>{a.setCacheInputMenu({type:p.type,data:e}),a.setIsRefreshMenus(!0)},ne=async(e,t)=>{p.type=se(t==null?void 0:t.operateType),await te(t,p.type,e),h.value=e,E.value=t,(t==null?void 0:t.operateType)!=="删除"?(p.show=(t==null?void 0:t.trigger)==="openDialog",p.title=(t==null?void 0:t.operateType)+"菜单"):B.ElMessageBox.confirm(`是否确认要删除【${e==null?void 0:e.title}】`,"",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{O(e)})},re=()=>{p.show=!1},le=e=>e==null?void 0:e.filter(t=>t.allowInherit),oe=()=>{var o,u,n,c,M;let e;p.type==="create"&&(e=((o=h.value)==null?void 0:o.path)+"/"+C.value[(u=C.value)==null?void 0:u.prop]),p.type==="update"&&(e=(n=h.value)==null?void 0:n.path);const t={...h.value,config:le((c=h.value)==null?void 0:c.config),children:[],childMenus:[],title:C.value[(M=C.value)==null?void 0:M.prop],path:e};console.log("clickSubmitForm",E.value,h.value,t),O(t),p.show=!1},ue=e=>{var o,u;const t=(o=e==null?void 0:e.contents)==null?void 0:o.find(n=>n.key==="formContent");t&&(C.value=(u=t==null?void 0:t.contents)==null?void 0:u.reduce((n,c)=>(n[c.key]=c.value,n.prop=c.key,n),{}))},R=s.ref(!1);return{isCollapse:R,handleMenuCollapse:()=>{R.value=!R.value},handleCompChange:ue,dialogForm:ee,dialogRenderComps:q,getComponents:Z,clickSubmitForm:oe,dialogInfo:p,beforeDialogDestroy:re,clickMenuIcon:ne,mode:L,renderMenuList:$,clickMenu:j,openMenu:G,closeMenu:I,changeMenuStyle:g}}}}const ve=s.defineComponent(H());exports._sfc_main=ve;exports._sfc_main$1=z;exports.setComponent=H;exports.ssMenu=P;
@@ -1,13 +1,13 @@
1
1
  import { defineAsyncComponent as ae, computed as D, onMounted as W, resolveComponent as ue, createBlock as z, openBlock as H, withCtx as ce, resolveDynamicComponent as ie, defineComponent as pe, defineProps as ge, ref as g, watch as ve, reactive as fe } from "vue";
2
2
  import { S as he } from "./index-BHtNKL1L.js";
3
3
  import { bO as Me, p as me, s as Ce, bN as ye, g as de } from "./index-BUYYl2Pc.js";
4
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DEgtwZwW.js";
5
- import { u as Ae, a as we, E as ke } from "./index.vue_vue_type_style_index_1_lang-kYz8t0xw.js";
6
- import { s as Te } from "./index-DkEISMpK.js";
4
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CdhgB7xx.js";
5
+ import { u as Ae, a as we, E as ke } from "./index.vue_vue_type_style_index_1_lang-Bjoq8geZ.js";
6
+ import { s as Te } from "./index-Bg0aEQlB.js";
7
7
  import { useRouter as Se } from "vue-router";
8
8
  import { a as De, e as Pe, f as _e, g as be, h as Fe } from "./index-CAPx0_D4.js";
9
- import { g as xe } from "./index-a_TWt7Sj.js";
10
- const x = ae(() => import("./index-C1aAW06_.js").then((p) => p.j));
9
+ import { g as xe } from "./index-Cg2OBNWR.js";
10
+ const x = ae(() => import("./index-DPSCHBsV.js").then((p) => p.j));
11
11
  x.install = (p) => {
12
12
  p.component("ssMenu", x);
13
13
  };
@@ -1,9 +1,9 @@
1
- import { S as Y3, O as t1, M as n1 } from "./MTLLoader-B5xRp-vz.js";
2
- import { b0 as D2, a7 as G2, O as a1, Q as O1, R as j1, V as _3, r as q3, aj as _1, S as P2, a3 as U1, C as o1, s as j3, ar as C1, b1 as $2, o as V3, aA as W3, f as C3, Y as W2, p as O3, aB as D1, P as T1, ap as J2, l as K2, _ as Y2, n as X2, D as Z2, u as U3, a0 as G1, ax as H1, az as Q2, w as c1, aG as T3, as as e6, ai as r1, al as t6, k as N3, y as P1, am as n6, aq as s6, ad as J3, af as E1, b2 as i6, b3 as a6, b4 as V1, b5 as o6, b6 as r6, b7 as c6, b8 as l6, b9 as $1, ba as d6, bb as h6, E as u6, bc as f6, ag as W1, ao as J1, v as p6, B as m6, a5 as B1, bd as b6 } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DEgtwZwW.js";
3
- import { d as g6 } from "./threeViewerHost-CeTJmyoE.js";
1
+ import { S as Y3, O as t1, M as n1 } from "./MTLLoader-BqMu0YKt.js";
2
+ import { b0 as D2, a7 as G2, O as a1, Q as O1, R as j1, V as _3, r as q3, aj as _1, S as P2, a3 as U1, C as o1, s as j3, ar as C1, b1 as $2, o as V3, aA as W3, f as C3, Y as W2, p as O3, aB as D1, P as T1, ap as J2, l as K2, _ as Y2, n as X2, D as Z2, u as U3, a0 as G1, ax as H1, az as Q2, w as c1, aG as T3, as as e6, ai as r1, al as t6, k as N3, y as P1, am as n6, aq as s6, ad as J3, af as E1, b2 as i6, b3 as a6, b4 as V1, b5 as o6, b6 as r6, b7 as c6, b8 as l6, b9 as $1, ba as d6, bb as h6, E as u6, bc as f6, ag as W1, ao as J1, v as p6, B as m6, a5 as B1, bd as b6 } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CdhgB7xx.js";
3
+ import { d as g6 } from "./threeViewerHost-B5qIQeOb.js";
4
4
  import { b as s1, s as y6, p as w6 } from "./index-BUYYl2Pc.js";
5
5
  import { ref as v6 } from "vue";
6
- import { a as z6 } from "./index.vue_vue_type_style_index_1_lang-kYz8t0xw.js";
6
+ import { a as z6 } from "./index.vue_vue_type_style_index_1_lang-Bjoq8geZ.js";
7
7
  class q1 extends D2 {
8
8
  /**
9
9
  * Constructs a new TGA loader.