ss-component-new 1.2.6 → 1.2.8

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 (118) hide show
  1. package/dist/OrbitControls-BoyGapft.js +419 -0
  2. package/dist/OrbitControls-D1lM0xvz.cjs +1 -0
  3. package/dist/STLLoader-BBRISxpD.js +609 -0
  4. package/dist/STLLoader-KxFIlfhN.cjs +6 -0
  5. package/dist/{animationData-GqECkAbz.js → animationData-B7Ho3YRJ.js} +6 -6
  6. package/dist/{animationData-B0K2ghu6.cjs → animationData-DZb0nCA7.cjs} +1 -1
  7. package/dist/{array-D65aMM6H.js → array-A59WrroX.js} +1 -1
  8. package/dist/{array-DMPAgNcb.cjs → array-BtZq8qON.cjs} +1 -1
  9. package/dist/{iconfont-ljBfzBSE.js → iconfont-B9HCA4uh.js} +2 -2
  10. package/dist/{iconfont-t5epssvu.cjs → iconfont-CsuwJCas.cjs} +1 -1
  11. package/dist/{index-BOJUyAaV.cjs → index-1z9RrjZc.cjs} +1 -1
  12. package/dist/{index-BsM9qdbC.cjs → index-9VmYR-Tw.cjs} +1 -1
  13. package/dist/{index-CZaBF851.cjs → index-B1umuIRK.cjs} +1 -1
  14. package/dist/{index-D9oqICYV.cjs → index-B7R-snbI.cjs} +1 -1
  15. package/dist/{index-Bw_JtuzR.js → index-BCbxnJnH.js} +152 -152
  16. package/dist/{index-DWs7-g1h.cjs → index-BDRBkDJA.cjs} +1 -1
  17. package/dist/{index-Bs2K1FVH.js → index-BLgbZvdb.js} +2 -2
  18. package/dist/{index-CRrAiL5l.js → index-BTbyRzT-.js} +4 -4
  19. package/dist/{index-67QO-qDa.cjs → index-B_poZQZb.cjs} +1 -1
  20. package/dist/{index-HvKjB6_P.js → index-BbgLINMj.js} +3 -3
  21. package/dist/{index-D-WcrLQv.js → index-BhZsNq8s.js} +4 -4
  22. package/dist/{index-_66uQhcl.js → index-BmnY6J1z.js} +6 -6
  23. package/dist/{index-DGepdvRW.js → index-BvApH9cT.js} +2 -2
  24. package/dist/{index-CTkF2kl_.js → index-BwjuTBrR.js} +1 -1
  25. package/dist/{index-BpR7F1Fp.cjs → index-C1oE8qIa.cjs} +1 -1
  26. package/dist/{index-C1FOuBuy.js → index-C461j30b.js} +1 -1
  27. package/dist/{index-BNvpuVyw.cjs → index-C5z5UbxK.cjs} +1 -1
  28. package/dist/{index-D6mwkqWY.cjs → index-C7gejN5b.cjs} +1 -1
  29. package/dist/{index-DGi-ANHr.js → index-CCk4wLVh.js} +5 -5
  30. package/dist/{index--rLSLEk3.js → index-CIH_h4z2.js} +2 -2
  31. package/dist/{index-_uyv24Pt.cjs → index-CJK74ski.cjs} +1 -1
  32. package/dist/{index-FK1YYpjN.cjs → index-CSgKl9XW.cjs} +1 -1
  33. package/dist/{index-g4qw0jRy.js → index-CXDE4hkn.js} +6 -6
  34. package/dist/{index-DvpVQvAe.js → index-CX_HTfbe.js} +2 -2
  35. package/dist/{index-DV_ZZQBO.js → index-CYp77kPp.js} +1 -1
  36. package/dist/{index-CA-FC_OL.cjs → index-C_ti3XV8.cjs} +1 -1
  37. package/dist/{index-CePZE-QA.cjs → index-CjE91R_G.cjs} +1 -1
  38. package/dist/{index-tttYIzsn.cjs → index-CjI5pDiU.cjs} +1 -1
  39. package/dist/{index-9zEdW6xv.js → index-CwnxmCht.js} +2 -2
  40. package/dist/{index-8yRiF_z8.cjs → index-CxOoKysB.cjs} +1 -1
  41. package/dist/{index-DSchKIyh.cjs → index-CxnH4vfV.cjs} +1 -1
  42. package/dist/{index-DVmoPvzr.cjs → index-D8WF1ILq.cjs} +1 -1
  43. package/dist/{index-CArSUfnV.js → index-DEqQrElM.js} +20 -20
  44. package/dist/{index-DPBmAgEA.cjs → index-DF5Pi3ni.cjs} +1 -1
  45. package/dist/{index-B14iwpkN.cjs → index-DFGb7whK.cjs} +1 -1
  46. package/dist/{index-D8510-YQ.cjs → index-DGlPPiil.cjs} +1 -1
  47. package/dist/{index-BYUPvuvs.cjs → index-DKfCN6-m.cjs} +1 -1
  48. package/dist/{index-BHJ-tVLT.cjs → index-DLBS_tgM.cjs} +1 -1
  49. package/dist/{index-DJGsDpDp.js → index-DORLBXry.js} +3 -3
  50. package/dist/{index-C8UOMPgt.js → index-DR77gDZR.js} +2 -2
  51. package/dist/{index-BNOx3XL5.js → index-DSb6SjE3.js} +1 -1
  52. package/dist/{index-CbA74tCL.js → index-DTCYk2wI.js} +2 -2
  53. package/dist/{index-CBuqdsPh.js → index-DUeesiV8.js} +4 -4
  54. package/dist/{index-BMMYAqF1.js → index-DX6yycjK.js} +1 -1
  55. package/dist/{index-BaRkv5oc.cjs → index-DYSG1zs3.cjs} +1 -1
  56. package/dist/{index-CMCrQ36H.js → index-Da1wDO-s.js} +3 -3
  57. package/dist/{index-B7hLDNQ6.cjs → index-De5HlcQy.cjs} +1 -1
  58. package/dist/{index-DPWc4No_.js → index-DeBhlCUZ.js} +2 -2
  59. package/dist/{index-CbDu4gfZ.js → index-DgymXtI4.js} +2 -2
  60. package/dist/{index-C5CKSB0e.cjs → index-DrYODxS9.cjs} +1 -1
  61. package/dist/{index-LADv0t0E.js → index-Duk-i7rO.js} +12 -12
  62. package/dist/{index-mtuIEfrj.cjs → index-GmZ7sLUW.cjs} +1 -1
  63. package/dist/{index-DZ8a7BZ1.cjs → index-HvKkM5Lq.cjs} +1 -1
  64. package/dist/{index-CedgKpsz.cjs → index-PSFAyPDK.cjs} +1 -1
  65. package/dist/{index-8Dyi4QCI.js → index-RztQL2pV.js} +10 -10
  66. package/dist/{index-BEoEUXZe.js → index-UAR7Rrcy.js} +10 -10
  67. package/dist/{index-DcUUpSE1.cjs → index-Y6CA0bCm.cjs} +1 -1
  68. package/dist/{index-CShBWCYm.js → index-grNn6QlX.js} +1 -1
  69. package/dist/{index-87kRWJv8.cjs → index-jXcCmzjf.cjs} +1 -1
  70. package/dist/{index-CRj9VM12.js → index-kthhSPBL.js} +6 -6
  71. package/dist/{index-BsfJJu0R.js → index-oD3MoCYB.js} +6 -6
  72. package/dist/{index-Cm3z0Vmi.cjs → index-ydHaHhIm.cjs} +1 -1
  73. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DIMJusrg.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BhLzDN6s.js} +2 -2
  74. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BSOYWm_U.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DLUx599w.cjs} +1 -1
  75. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-D2VLEzGB.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-C0nr97YM.cjs} +1 -1
  76. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-D58IzjOR.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-DUQ6JlgC.js} +6 -6
  77. package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BnNwKutS.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CQTa8bTF.cjs} +1 -1
  78. package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CJCvJvBM.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DQMzwdx6.js} +13 -13
  79. package/dist/{index.vue_vue_type_style_index_1_lang-N-_9ZJEf.cjs → index.vue_vue_type_style_index_1_lang-BcYTED7W.cjs} +1 -1
  80. package/dist/{index.vue_vue_type_style_index_1_lang-D5Hjs-g0.js → index.vue_vue_type_style_index_1_lang-CFvcnWO4.js} +1 -1
  81. package/dist/{index.vue_vue_type_style_index_1_lang-H_pReDxj.cjs → index.vue_vue_type_style_index_1_lang-CfAaw5Oq.cjs} +45 -46
  82. package/dist/{index.vue_vue_type_style_index_1_lang-hBa3nAgx.js → index.vue_vue_type_style_index_1_lang-DLO5Vd6g.js} +5012 -5100
  83. package/dist/{isString--ZVOCy4V.js → isString-BNK38WbE.js} +1 -1
  84. package/dist/{isString-CELwppr9.cjs → isString-BmAegMGI.cjs} +1 -1
  85. package/dist/{main-CygliYyN.js → main-B7KvM2Mo.js} +5 -5
  86. package/dist/{main-C6Iw-pcH.cjs → main-BVrZ-TOJ.cjs} +1 -1
  87. package/dist/ss-component.cjs +1 -1
  88. package/dist/ss-component.css +1 -1
  89. package/dist/ss-component.js +11 -11
  90. package/dist/ss-component2.cjs +1 -1
  91. package/dist/ss-component2.js +12 -12
  92. package/dist/three-viewport-gizmo-BlxFLyPm.js +18587 -0
  93. package/dist/three-viewport-gizmo-CwaL5sMV.cjs +4195 -0
  94. package/dist/{threeLatheView-CdUoB0Te.cjs → threeLatheView-BzHB-t_G.cjs} +1 -1
  95. package/dist/{threeLatheView-DzpPpdDr.js → threeLatheView-arWFYuHh.js} +4 -4
  96. package/dist/{threeModel-BUCLJlE5.cjs → threeModel-D9BMlyjW.cjs} +1 -1
  97. package/dist/{threeModel-BfMMeZCc.js → threeModel-cQGFkPhn.js} +5 -5
  98. package/dist/threePreview-Cy7NY-gw.cjs +1 -0
  99. package/dist/threePreview-DKlyIJKv.js +1873 -0
  100. package/dist/threeSceneView-C-8QVXZL.js +1413 -0
  101. package/dist/threeSceneView-LorxQ4CB.cjs +5 -0
  102. package/dist/{threeSceneViewForCPMPIP-Bexwqkry.js → threeSceneViewForCPMPIP-DWzYs6dv.js} +27 -27
  103. package/dist/{threeSceneViewForCPMPIP-DwLWGNUd.cjs → threeSceneViewForCPMPIP-X9rajWCF.cjs} +2 -2
  104. package/dist/{threeViewerHost-CRqcYbJE.cjs → threeViewerHost-C77kS_JK.cjs} +1 -1
  105. package/dist/{threeViewerHost-CTjd2V1D.js → threeViewerHost-QFIxDBay.js} +4 -4
  106. package/dist/{useRayCaster-DN56HpNP.cjs → useRayCaster-DNSFv7lN.cjs} +1 -1
  107. package/dist/{useRayCaster-D0_7oJan.js → useRayCaster-DwVmFKhR.js} +12 -12
  108. package/package.json +1 -1
  109. package/dist/OrbitControls-Co_9huz0.cjs +0 -1
  110. package/dist/OrbitControls-DA4VpOM_.js +0 -458
  111. package/dist/STLLoader-DmGTF0Nv.js +0 -657
  112. package/dist/STLLoader-RU7KqloS.cjs +0 -6
  113. package/dist/three-viewport-gizmo-BHznJ6W3.js +0 -26015
  114. package/dist/three-viewport-gizmo-BV37JzRa.cjs +0 -4197
  115. package/dist/threePreview-BEqzg370.js +0 -1972
  116. package/dist/threePreview-C-JW_pcY.cjs +0 -1
  117. package/dist/threeSceneView-BTsG2QJg.cjs +0 -5
  118. package/dist/threeSceneView-DV5dsTZZ.js +0 -1471
@@ -1,28 +1,28 @@
1
1
  import { resolveComponent as ge, createBlock as pe, openBlock as d, withCtx as u, createElementVNode as c, toDisplayString as de, ref as w, onMounted as Qt, watch as je, createElementBlock as D, Fragment as xe, renderList as Ye, createCommentVNode as ae, normalizeStyle as pt, defineComponent as Mt, resolveDynamicComponent as Lt, unref as r, computed as nt, provide as Ct, resolveDirective as na, createVNode as i, withDirectives as tt, createTextVNode as Ve, vShow as Et, renderSlot as Xe, normalizeClass as Kt, createSlots as oa, mergeProps as sa, onUnmounted as Sa } from "vue";
2
- import { m as Vt, a as Gt, b as Jt } from "./index-CRj9VM12.js";
3
- import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-D58IzjOR.js";
2
+ import { m as Vt, a as Gt, b as Jt } from "./index-kthhSPBL.js";
3
+ import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-DUQ6JlgC.js";
4
4
  import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- import { _ as Ea, e as ba, s as Qa } from "./index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CJCvJvBM.js";
6
- import { c as rt, i as Ma, p as Pe, s as Se, u as jt, b as lt, g as vt, E as gt, d as $t, e as Da, f as Ra } from "./index-DV_ZZQBO.js";
7
- import { i as We, j as la, a as Dt, u as Rt, k as Ot, l as Ta, m as ia } from "./index.vue_vue_type_style_index_1_lang-D5Hjs-g0.js";
5
+ import { _ as Ea, e as ba, s as Qa } from "./index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DQMzwdx6.js";
6
+ import { c as rt, i as Ma, p as Pe, s as Se, u as jt, b as lt, g as vt, E as gt, d as $t, e as Da, f as Ra } from "./index-CYp77kPp.js";
7
+ import { i as We, j as la, a as Dt, u as Rt, k as Ot, l as Ta, m as ia } from "./index.vue_vue_type_style_index_1_lang-CFvcnWO4.js";
8
8
  import { S as Ue } from "./index-BHtNKL1L.js";
9
- import { a as Wt, s as at, o as Yt, b as Ft, c as ra, d as ca, e as ua, f as da, h as ga, i as Ua, j as pa, k as Pa, l as ha, m as ya, n as fa, p as ja, q as ma } from "./index-8Dyi4QCI.js";
10
- import { a as xa } from "./array-D65aMM6H.js";
11
- import { u as Ht, a as Aa } from "./index-BEoEUXZe.js";
12
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DIMJusrg.js";
13
- import "./three-viewport-gizmo-BHznJ6W3.js";
14
- import "./index.vue_vue_type_style_index_1_lang-hBa3nAgx.js";
15
- import "./index-CbDu4gfZ.js";
9
+ import { a as Wt, s as at, o as Yt, b as Ft, c as ra, d as ca, e as ua, f as da, h as ga, i as Ua, j as pa, k as Pa, l as ha, m as ya, n as fa, p as ja, q as ma } from "./index-RztQL2pV.js";
10
+ import { a as xa } from "./array-A59WrroX.js";
11
+ import { u as Ht, a as Aa } from "./index-UAR7Rrcy.js";
12
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BhLzDN6s.js";
13
+ import "./three-viewport-gizmo-BlxFLyPm.js";
14
+ import "./index.vue_vue_type_style_index_1_lang-DLO5Vd6g.js";
15
+ import "./index-DgymXtI4.js";
16
16
  import { useRouter as Ca } from "vue-router";
17
- import Ka from "./index-CShBWCYm.js";
18
- import Ya from "./threeModel-BfMMeZCc.js";
19
- import { s as Ut, _ as it } from "./index-BMMYAqF1.js";
20
- import { d as Pt, T as Nt, u as Fa, a as Na } from "./threeViewerHost-CTjd2V1D.js";
21
- import { _ as wt, g as La } from "./index-_66uQhcl.js";
22
- import { s as bt } from "./index-CBuqdsPh.js";
17
+ import Ka from "./index-grNn6QlX.js";
18
+ import Ya from "./threeModel-cQGFkPhn.js";
19
+ import { s as Ut, _ as it } from "./index-DX6yycjK.js";
20
+ import { d as Pt, T as Nt, u as Fa, a as Na } from "./threeViewerHost-QFIxDBay.js";
21
+ import { _ as wt, g as La } from "./index-BmnY6J1z.js";
22
+ import { s as bt } from "./index-DUeesiV8.js";
23
23
  import { a as Va, d as Ga, t as Ja, c as Oa, b as Wa } from "./index-C2usxP_Q.js";
24
- import { v as Ha } from "./index-DvpVQvAe.js";
25
- import { f as qa, a as Xa } from "./animationData-GqECkAbz.js";
24
+ import { v as Ha } from "./index-CX_HTfbe.js";
25
+ import { f as qa, a as Xa } from "./animationData-B7Ho3YRJ.js";
26
26
  const Za = { class: "menu-title" };
27
27
  function za(B, ee, e, C, b, N) {
28
28
  const a = ge("ssMenu");
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./index-CePZE-QA.cjs"),h=require("./index.vue_vue_type_style_index_1_lang-N-_9ZJEf.cjs"),_=require("./index-BOJUyAaV.cjs"),B=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w={class:"routerPage-wrapper"},N={class:"role-dialog-header"},b=["title"],D={title:"更多"},y={class:"dialog-footer"},S=e.defineComponent({__name:"index",setup(T){const g=h.useMenuState(),{menus:C,activeMenuPath:k}=_.storeToRefs(g),o=e.reactive({...h.State$1}),{treeRef:x}=h.State$1;e.onMounted(async()=>{await o.getActivePageStructureId(k.value)});const u=i=>i==null?void 0:i.map(t=>{var c,s,d;return t!=null&&t.childMenus&&((c=t==null?void 0:t.childMenus)==null?void 0:c.length)>0?{...t,childMenus:[],children:u(t==null?void 0:t.childMenus)}:{...t,childMenus:[],path:(s=t==null?void 0:t.path)!=null&&s.startsWith("/")?(d=t==null?void 0:t.path)==null?void 0:d.substring(1):t.path}});return e.watch(()=>C.value,i=>{e.nextTick(()=>{const t=_.cloneDeep(i),c=u(t);o.tempSysMenus=o.handleAddSysMenusButtons(c,"系统维护",["查看"]),o.menuData=o.addButtonsToTree(c,o.structureButtons)})},{immediate:!0,deep:!0}),(i,t)=>{const c=e.resolveComponent("el-checkbox"),s=e.resolveComponent("el-checkbox-group"),d=e.resolveComponent("svg-icon"),v=e.resolveComponent("el-popover"),f=e.resolveComponent("el-tree"),p=e.resolveComponent("el-button"),m=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",w,[e.createVNode(V.ssTable,{index:o.structureId,compName:o.compName,itemData:o.pageDataFiltered,changedContent:o.changedRow,onChange:o.handleItemDataChange,onOnButtonClick:o.clickRowButton},null,8,["index","compName","itemData","changedContent","onChange","onOnButtonClick"]),e.createVNode(m,{modelValue:o.authorizeDialog.show,"onUpdate:modelValue":t[0]||(t[0]=a=>o.authorizeDialog.show=a),width:o.authorizeDialog.width,draggable:o.authorizeDialog.draggable,"before-close":o.closeAuthorizeDialog,class:"role-dialog"},{header:e.withCtx(()=>[e.createElementVNode("div",N,e.toDisplayString(o.authorizeDialog.title),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",y,[e.createVNode(p,{id:"themeBorderButton",onClick:o.closeAuthorizeDialog},{default:e.withCtx(()=>t[1]||(t[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(p,{id:"themeButton",onClick:o.clickSubmitAuthority},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),default:e.withCtx(()=>[e.createVNode(f,{class:"role-tree",ref_key:"treeRef",ref:x,data:o.menuData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"title",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"show-checkbox":"",onCheckChange:o.handleNodeCheckChange,style:{height:"500px","overflow-y":"auto"}},{default:e.withCtx(({node:a,data:n})=>[e.createElementVNode("span",{class:"node-text",title:a==null?void 0:a.label},e.toDisplayString(a==null?void 0:a.label),9,b),e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(0,2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]),e.createVNode(v,{title:a==null?void 0:a.label,placement:"right-start"},{reference:e.withCtx(()=>{var l;return[e.createElementVNode("span",D,[e.withDirectives(e.createVNode(d,{name:"treeMore",class:"node-trigger"},null,512),[[e.vShow,((l=n.renderButtons)==null?void 0:l.length)>0]])])]}),default:e.withCtx(()=>[e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1032,["title"])]),_:1},8,["data","onCheckChange"])]),_:1},8,["modelValue","width","draggable","before-close"])])}}}),M=B._export_sfc(S,[["__scopeId","data-v-78a46dd8"]]);exports.default=M;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./index-CjE91R_G.cjs"),h=require("./index.vue_vue_type_style_index_1_lang-BcYTED7W.cjs"),_=require("./index-1z9RrjZc.cjs"),B=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w={class:"routerPage-wrapper"},N={class:"role-dialog-header"},b=["title"],D={title:"更多"},y={class:"dialog-footer"},S=e.defineComponent({__name:"index",setup(T){const g=h.useMenuState(),{menus:C,activeMenuPath:k}=_.storeToRefs(g),o=e.reactive({...h.State$1}),{treeRef:x}=h.State$1;e.onMounted(async()=>{await o.getActivePageStructureId(k.value)});const u=i=>i==null?void 0:i.map(t=>{var c,s,d;return t!=null&&t.childMenus&&((c=t==null?void 0:t.childMenus)==null?void 0:c.length)>0?{...t,childMenus:[],children:u(t==null?void 0:t.childMenus)}:{...t,childMenus:[],path:(s=t==null?void 0:t.path)!=null&&s.startsWith("/")?(d=t==null?void 0:t.path)==null?void 0:d.substring(1):t.path}});return e.watch(()=>C.value,i=>{e.nextTick(()=>{const t=_.cloneDeep(i),c=u(t);o.tempSysMenus=o.handleAddSysMenusButtons(c,"系统维护",["查看"]),o.menuData=o.addButtonsToTree(c,o.structureButtons)})},{immediate:!0,deep:!0}),(i,t)=>{const c=e.resolveComponent("el-checkbox"),s=e.resolveComponent("el-checkbox-group"),d=e.resolveComponent("svg-icon"),v=e.resolveComponent("el-popover"),f=e.resolveComponent("el-tree"),p=e.resolveComponent("el-button"),m=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",w,[e.createVNode(V.ssTable,{index:o.structureId,compName:o.compName,itemData:o.pageDataFiltered,changedContent:o.changedRow,onChange:o.handleItemDataChange,onOnButtonClick:o.clickRowButton},null,8,["index","compName","itemData","changedContent","onChange","onOnButtonClick"]),e.createVNode(m,{modelValue:o.authorizeDialog.show,"onUpdate:modelValue":t[0]||(t[0]=a=>o.authorizeDialog.show=a),width:o.authorizeDialog.width,draggable:o.authorizeDialog.draggable,"before-close":o.closeAuthorizeDialog,class:"role-dialog"},{header:e.withCtx(()=>[e.createElementVNode("div",N,e.toDisplayString(o.authorizeDialog.title),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",y,[e.createVNode(p,{id:"themeBorderButton",onClick:o.closeAuthorizeDialog},{default:e.withCtx(()=>t[1]||(t[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(p,{id:"themeButton",onClick:o.clickSubmitAuthority},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),default:e.withCtx(()=>[e.createVNode(f,{class:"role-tree",ref_key:"treeRef",ref:x,data:o.menuData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"title",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"show-checkbox":"",onCheckChange:o.handleNodeCheckChange,style:{height:"500px","overflow-y":"auto"}},{default:e.withCtx(({node:a,data:n})=>[e.createElementVNode("span",{class:"node-text",title:a==null?void 0:a.label},e.toDisplayString(a==null?void 0:a.label),9,b),e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(0,2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]),e.createVNode(v,{title:a==null?void 0:a.label,placement:"right-start"},{reference:e.withCtx(()=>{var l;return[e.createElementVNode("span",D,[e.withDirectives(e.createVNode(d,{name:"treeMore",class:"node-trigger"},null,512),[[e.vShow,((l=n.renderButtons)==null?void 0:l.length)>0]])])]}),default:e.withCtx(()=>[e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1032,["title"])]),_:1},8,["data","onCheckChange"])]),_:1},8,["modelValue","width","draggable","before-close"])])}}}),M=B._export_sfc(S,[["__scopeId","data-v-78a46dd8"]]);exports.default=M;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-CePZE-QA.cjs"),n=require("./index-mtuIEfrj.cjs"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),r=e.ref([]),i=e.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"模块名称",prop:"module",filterable:!0},{label:"操作类型",prop:"type",filterable:!0},{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:r.value}]),p=Object.freeze(Object.defineProperty({__proto__:null,pageData:i,tableData:r},Symbol.toStringTag,{value:"Module"})),b={class:"log-wrap"},d=e.defineComponent({__name:"index",setup(_){const t=e.reactive({...p});e.onMounted(async()=>{t.tableData=await n.getLogTableDataAsync("operate")});const c=l=>{var a;n.clickButton(l,(a=t.tableData)==null?void 0:a.map(o=>o.id),o=>{o&&(t.tableData=[])})};return(l,a)=>(e.openBlock(),e.createElementBlock("div",b,[e.createVNode(s.ssTable,{itemData:t.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:c},null,8,["itemData"])]))}}),f=u._export_sfc(d,[["__scopeId","data-v-3d3b471d"]]);exports.default=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-CjE91R_G.cjs"),n=require("./index-GmZ7sLUW.cjs"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),r=e.ref([]),i=e.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"模块名称",prop:"module",filterable:!0},{label:"操作类型",prop:"type",filterable:!0},{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:r.value}]),p=Object.freeze(Object.defineProperty({__proto__:null,pageData:i,tableData:r},Symbol.toStringTag,{value:"Module"})),b={class:"log-wrap"},d=e.defineComponent({__name:"index",setup(_){const t=e.reactive({...p});e.onMounted(async()=>{t.tableData=await n.getLogTableDataAsync("operate")});const c=l=>{var a;n.clickButton(l,(a=t.tableData)==null?void 0:a.map(o=>o.id),o=>{o&&(t.tableData=[])})};return(l,a)=>(e.openBlock(),e.createElementBlock("div",b,[e.createVNode(s.ssTable,{itemData:t.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:c},null,8,["itemData"])]))}}),f=u._export_sfc(d,[["__scopeId","data-v-3d3b471d"]]);exports.default=f;