ss-component-new 1.2.37 → 1.2.38

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 (117) hide show
  1. package/dist/{MTLLoader-gxq5Kvds.js → MTLLoader-B4lJr_ku.js} +1 -1
  2. package/dist/{MTLLoader-Dihj5ymj.cjs → MTLLoader-CkNQ5SUP.cjs} +1 -1
  3. package/dist/{OrbitControls-Ba8QWDQU.cjs → OrbitControls-CpTJa--7.cjs} +1 -1
  4. package/dist/{OrbitControls-BonUITsH.js → OrbitControls-CwAfnF56.js} +1 -1
  5. package/dist/{animationData-AAFCWE58.cjs → animationData-CF6-_eBc.cjs} +1 -1
  6. package/dist/{animationData-DOlVDTlo.js → animationData-ETdtTXwF.js} +4 -4
  7. package/dist/{array-D7EDjc7l.js → array-BUiCaQsR.js} +35 -35
  8. package/dist/{array-Bvce3EAi.cjs → array-CbzJvO5y.cjs} +1 -1
  9. package/dist/{dataUtil-B98txAs6.cjs → dataUtil-DFkONpps.cjs} +1 -1
  10. package/dist/{dataUtil-VNsK7cTO.js → dataUtil-oabcbdyY.js} +2 -2
  11. package/dist/{fileUtil-BeIaOSMH.cjs → fileUtil-BezA0XEu.cjs} +1 -1
  12. package/dist/{fileUtil-D7S_1Tde.js → fileUtil-xUu_aleM.js} +1 -1
  13. package/dist/{iconfont-wtkqkYlV.cjs → iconfont-Bc_5-mGm.cjs} +1 -1
  14. package/dist/{iconfont-Dnc_kFzN.js → iconfont-Cj5twyUW.js} +2 -2
  15. package/dist/{index-B8bUR1Ri.cjs → index-7jCqww1w.cjs} +1 -1
  16. package/dist/{index-BCLRJLSj.js → index-B35gkDgD.js} +1 -1
  17. package/dist/{index-Cv9MOPos.cjs → index-B3_Z46NG.cjs} +1 -1
  18. package/dist/{index-BbzUzdxF.cjs → index-B5KCSN4c.cjs} +1 -1
  19. package/dist/{index-DWR446SX.js → index-BA_mOmgl.js} +40 -40
  20. package/dist/{index-ClnJ1K8q.cjs → index-BHkXSoxP.cjs} +1 -1
  21. package/dist/{index-XPbPRVHs.cjs → index-BOfa3R-1.cjs} +1 -1
  22. package/dist/{index-dz7-iyTs.js → index-BWDmAGYH.js} +8 -8
  23. package/dist/{index-DBpviAty.cjs → index-BahsZur-.cjs} +1 -1
  24. package/dist/{index-DfdAKUNR.cjs → index-Bha2dAuG.cjs} +1 -1
  25. package/dist/{index-BwoXi1LQ.js → index-BjLowWoy.js} +2 -2
  26. package/dist/{index-BeawnQ97.js → index-BnNI_rxz.js} +3 -3
  27. package/dist/{index-D2FUUF0p.js → index-BopRIRaa.js} +3300 -3311
  28. package/dist/{index-BrvAeT7w.js → index-Bp59pdeu.js} +10 -10
  29. package/dist/{index-CCAXN_VF.cjs → index-BsQpRUkg.cjs} +1 -1
  30. package/dist/{index-CeJI9fRM.cjs → index-Bsj_M3tu.cjs} +1 -1
  31. package/dist/{index-dg2e5vzL.js → index-BwL33eO2.js} +2 -2
  32. package/dist/{index-B-xelo5W.js → index-C-4KKbC7.js} +3 -3
  33. package/dist/{index-Z3NUprRN.cjs → index-C8YYklCT.cjs} +1 -1
  34. package/dist/{index-K4IHDJhC.js → index-CTIVfb14.js} +3 -3
  35. package/dist/{index-ChfpFIIo.js → index-CUeHiWp_.js} +52 -52
  36. package/dist/{index-DATWIRSp.cjs → index-CV-9wRXp.cjs} +1 -1
  37. package/dist/{index-nvemkzcE.js → index-CWQAImyg.js} +2 -2
  38. package/dist/{index-diSrIKAW.js → index-CX9ZToOe.js} +303 -303
  39. package/dist/{index-BiNILQi8.js → index-C_FC7JhD.js} +6 -6
  40. package/dist/{index-DdWJf1s4.js → index-CcKVjgvm.js} +2 -2
  41. package/dist/{index-BJoRCnr3.cjs → index-CfKLvZ17.cjs} +1 -1
  42. package/dist/{index-DeakNivq.cjs → index-Ci05kJVO.cjs} +1 -1
  43. package/dist/{index-DKnofcM3.cjs → index-CizvuDrT.cjs} +1 -1
  44. package/dist/{index-B3sDwg_c.js → index-CkTqgfCV.js} +1 -1
  45. package/dist/{index-BU5DWXf0.cjs → index-CnW0XyMI.cjs} +1 -1
  46. package/dist/{index-DXY5_0gS.cjs → index-CnasZ7DR.cjs} +1 -1
  47. package/dist/{index-d2eZUUOL.js → index-CowSp0mU.js} +4 -4
  48. package/dist/{index-A2nYF-1f.cjs → index-Cs1m0QHY.cjs} +1 -1
  49. package/dist/{index-DHUPGceO.js → index-CvI-Xndo.js} +1 -1
  50. package/dist/{index-BiPzhKBB.cjs → index-CvrlW6Kj.cjs} +1 -1
  51. package/dist/{index-DcSxvtLy.cjs → index-D4X5ZbsB.cjs} +1 -1
  52. package/dist/{index-CExeGHij.js → index-DBDeHECn.js} +5111 -5410
  53. package/dist/index-DEBf-IBT.cjs +21 -0
  54. package/dist/{index-De7WEvrP.js → index-DHOgfCKk.js} +6 -6
  55. package/dist/{index-BPzUmT8-.js → index-DK1sT-Gv.js} +12 -12
  56. package/dist/{index-BLTsYYci.js → index-DKQfWQa7.js} +1 -1
  57. package/dist/{index-XWSpT0ba.js → index-DalL4U6b.js} +8 -8
  58. package/dist/{index-Ct6AnOh0.cjs → index-DbW_sD5N.cjs} +1 -1
  59. package/dist/{index-CagsR3TK.cjs → index-Dp6ZBesB.cjs} +1 -1
  60. package/dist/{index-Idro_h24.cjs → index-DynEv7dZ.cjs} +1 -1
  61. package/dist/{index-a9MrfjsX.cjs → index-ExjSK4s1.cjs} +1 -1
  62. package/dist/{index-Cjn-Nipt.js → index-GOk9tc6o.js} +2 -2
  63. package/dist/{index-B8HWTwDz.cjs → index-LcSS6r-3.cjs} +1 -1
  64. package/dist/{index-DBiP81co.cjs → index-RfA-XD5A.cjs} +1 -1
  65. package/dist/{index-BMaVaPUc.js → index-bFFymrtu.js} +2 -2
  66. package/dist/{index-D62RCkPJ.js → index-bhZxftEb.js} +6 -6
  67. package/dist/{index-CqzA5JZV.js → index-d6sIj10Q.js} +68 -68
  68. package/dist/{index-osFjwxXn.cjs → index-h5XWazmL.cjs} +1 -1
  69. package/dist/{index-CBpSEFvE.js → index-ixEWAWI8.js} +4 -4
  70. package/dist/{index-rGGHn9oX.js → index-peUgec1X.js} +1267 -1268
  71. package/dist/{index-CQNvplpY.cjs → index-vDXPLbzt.cjs} +13 -13
  72. package/dist/{index-DpzDQdE3.cjs → index-w9_VhKWc.cjs} +1 -1
  73. package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-B8Lpp-LG.js +38138 -0
  74. package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-yBjOSB4T.cjs +56 -0
  75. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CTRnGkVw.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CinJxfAX.js} +1644 -1649
  76. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DupRlL-E.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DNsyaAD5.cjs} +124 -124
  77. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang--woCJ_em.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-DTRpzofW.js} +13 -13
  78. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-COe_Ck32.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DaxZVXAO.cjs} +1 -1
  79. package/dist/{index.vue_vue_type_style_index_1_lang-jt5oqPmv.js → index.vue_vue_type_style_index_1_lang-BX_Iweoa.js} +5 -5
  80. package/dist/{index.vue_vue_type_style_index_1_lang-CKpfQuiD.cjs → index.vue_vue_type_style_index_1_lang-BgqA98cE.cjs} +1 -1
  81. package/dist/index.vue_vue_type_style_index_1_lang-CWCaf0OP.js +8415 -0
  82. package/dist/index.vue_vue_type_style_index_1_lang-Dhkn6DXN.cjs +32 -0
  83. package/dist/{isString--eJE54G5.cjs → isString-D6Z6SOrb.cjs} +1 -1
  84. package/dist/{isString-By6KKNvg.js → isString-DBnuELeA.js} +1 -1
  85. package/dist/{main-Brifss3R.cjs → main-BnGiV5RB.cjs} +1 -1
  86. package/dist/{main-DENbrJLK.js → main-DHZFoZje.js} +5 -5
  87. package/dist/ss-component.cjs +1 -1
  88. package/dist/ss-component.css +1 -1
  89. package/dist/ss-component.js +11 -11
  90. package/dist/ss-component2.cjs +1 -1
  91. package/dist/ss-component2.js +12 -12
  92. package/dist/{threeModel-DxxkXyt5.cjs → threeModel-BHsadPD8.cjs} +1 -1
  93. package/dist/{threeModel-CpklGUZ5.js → threeModel-BkNMl4gC.js} +5 -5
  94. package/dist/{threePreview-BsPiIokT.js → threePreview-BhHpGgi8.js} +4 -4
  95. package/dist/{threePreview-Sh0ABsnX.cjs → threePreview-q2XmhoL-.cjs} +1 -1
  96. package/dist/{threeSceneView-Dm3k49Mh.js → threeSceneView-CDFoPU6x.js} +87 -87
  97. package/dist/{threeSceneView-DfiXbOBr.cjs → threeSceneView-D_2JHUdz.cjs} +1 -1
  98. package/dist/{threeSceneViewForCPMPIP-Czp3KJaA.js → threeSceneViewForCPMPIP-BBelwG21.js} +57 -57
  99. package/dist/{threeSceneViewForCPMPIP-XTc0zag-.cjs → threeSceneViewForCPMPIP-DSIkOvjL.cjs} +1 -1
  100. package/dist/{threeTrackPathView-Dmp5NZVO.cjs → threeTrackPathView-CClVyd1p.cjs} +1 -1
  101. package/dist/{threeTrackPathView-DaEDYBsf.js → threeTrackPathView-CeCre9ru.js} +6 -6
  102. package/dist/{threeViewerHost-C07FM01K.cjs → threeViewerHost-B2ROtL1I.cjs} +1 -1
  103. package/dist/{threeViewerHost-tA5hwts8.js → threeViewerHost-DLd9bynL.js} +14 -14
  104. package/dist/{urdfTree-CNAusPWp.cjs → urdfTree-B2NsYdY-.cjs} +1 -1
  105. package/dist/{urdfTree-C5eDsIZV.js → urdfTree-vu4m_HnH.js} +1 -1
  106. package/dist/{workpieceTreePanel-BE_ayLjw.js → workpieceTreePanel-CXVtdZfX.js} +5 -5
  107. package/dist/{workpieceTreePanel-DMnR0vK-.cjs → workpieceTreePanel-Dif_gJAG.cjs} +1 -1
  108. package/package.json +1 -1
  109. package/dist/index-C8qRkCgn.cjs +0 -21
  110. package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BV1JZ-3O.js +0 -38949
  111. package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DNHgx7h4.cjs +0 -37
  112. package/dist/index.vue_vue_type_style_index_1_lang-6KO-EDQa.js +0 -8293
  113. package/dist/index.vue_vue_type_style_index_1_lang-Cb4_k0AS.cjs +0 -32
  114. package/dist/obj/model.mtl +0 -42
  115. package/dist/obj/model.obj +0 -26110
  116. package/public/obj/model.mtl +0 -42
  117. package/public/obj/model.obj +0 -26110
@@ -1,12 +1,12 @@
1
1
  import { ref as V, computed as Z, resolveComponent as K, createElementBlock as w, openBlock as r, Fragment as ee, renderList as ae, createElementVNode as g, toDisplayString as Q, createVNode as C, watch as ue, createBlock as A, resolveDynamicComponent as X, unref as h, withCtx as D, isRef as ze, createTextVNode as te, createCommentVNode as G, normalizeStyle as Xe, withModifiers as ne, normalizeClass as Ge, nextTick as Ke } from "vue";
2
- import { J as ve, g as Ye, D as je, B as Qe, C as He, b as Ze } from "./index-rGGHn9oX.js";
3
- import { p as ie, s as le, c as R, E as ea } from "./index-CExeGHij.js";
4
- import { a as me, u as qe, E as aa } from "./index.vue_vue_type_style_index_1_lang-6KO-EDQa.js";
5
- import { s as W, h as We, o as Je, b as ta, c as he, d as na, f as ce, g as la, i as oa, j as Pe, k as sa, l as fe, m as re, n as ca, t as ra, p as ua } from "./array-D7EDjc7l.js";
2
+ import { J as ve, g as Ye, D as je, B as Qe, C as He, b as Ze } from "./index-peUgec1X.js";
3
+ import { p as ie, s as le, c as R, E as ea } from "./index-DBDeHECn.js";
4
+ import { a as me, u as qe, E as aa } from "./index.vue_vue_type_style_index_1_lang-CWCaf0OP.js";
5
+ import { s as W, h as We, o as Je, b as ta, c as he, d as na, f as ce, g as la, i as oa, j as Pe, k as sa, l as fe, m as re, n as ca, t as ra, p as ua } from "./array-BUiCaQsR.js";
6
6
  import { _ as ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  import ia from "./index-rlStojTL.js";
8
- import { a as da, b as pa } from "./index-D2FUUF0p.js";
9
- import { s as va } from "./index-BCLRJLSj.js";
8
+ import { a as da, b as pa } from "./index-BopRIRaa.js";
9
+ import { s as va } from "./index-B35gkDgD.js";
10
10
  const ha = { class: "type-select" }, fa = { class: "group-label" }, ma = { class: "group-items" }, ga = ["onDragstart"], _a = {
11
11
  __name: "index",
12
12
  props: {
@@ -1,20 +1,20 @@
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-rGGHn9oX.js";
3
- import { u as K } from "./index-CExeGHij.js";
4
- import "./array-D7EDjc7l.js";
2
+ import "./index-peUgec1X.js";
3
+ import { u as K } from "./index-DBDeHECn.js";
4
+ import "./array-BUiCaQsR.js";
5
5
  import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import "./index.vue_vue_type_style_index_1_lang-6KO-EDQa.js";
7
- import "./index.vue_vue_type_style_index_0_scoped_92477073_lang--woCJ_em.js";
8
- import "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BV1JZ-3O.js";
6
+ import "./index.vue_vue_type_style_index_1_lang-CWCaf0OP.js";
7
+ import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-DTRpzofW.js";
8
+ import "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-B8Lpp-LG.js";
9
9
  import "./index-BHtNKL1L.js";
10
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CTRnGkVw.js";
11
- import "./index.vue_vue_type_style_index_1_lang-jt5oqPmv.js";
12
- import "./index-XWSpT0ba.js";
10
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CinJxfAX.js";
11
+ import "./index.vue_vue_type_style_index_1_lang-BX_Iweoa.js";
12
+ import "./index-DalL4U6b.js";
13
13
  import "vue-router";
14
- import "./index-CBpSEFvE.js";
15
- import "./dataUtil-VNsK7cTO.js";
14
+ import "./index-ixEWAWI8.js";
15
+ import "./dataUtil-oabcbdyY.js";
16
16
  /* empty css */
17
- import "./index-DdWJf1s4.js";
17
+ import "./index-CcKVjgvm.js";
18
18
  const j = {
19
19
  __name: "index",
20
20
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as C, reactive as f, ref as i, onMounted as E, resolveComponent as s, createElementBlock as v, openBlock as _, createElementVNode as b, createVNode as u, withCtx as c, Fragment as w, renderList as A, createBlock as B, createTextVNode as F } from "vue";
2
- import { g as I, E as g } from "./index-CExeGHij.js";
2
+ import { g as I, E as g } from "./index-DBDeHECn.js";
3
3
  import { useRouter as M } from "vue-router";
4
4
  import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const T = { class: "tenant-wrap" }, $ = { class: "tenant-content" }, q = /* @__PURE__ */ C({
@@ -1,7 +1,7 @@
1
1
  import { ref as f, computed as S, reactive as P } from "vue";
2
- import { s as R, ck as $, cl as j, cj as B, g as _, u as H, p as L, c as J, d as x, E as T } from "./index-CExeGHij.js";
3
- import { aZ as z, u as Z, d as G, r as Q } from "./index.vue_vue_type_style_index_1_lang-6KO-EDQa.js";
4
- const A = H(L), { loginUserInfo: o, cryptoInfo: c } = R(A), X = Z(L), { activeMenuPath: g } = R(X), Y = f(0), M = S(() => {
2
+ import { s as R, c9 as $, ca as B, c8 as H, g as _, u as j, p as L, c as J, d as x, E as T } from "./index-DBDeHECn.js";
3
+ import { b4 as z, u as G, d as Q, r as X } from "./index.vue_vue_type_style_index_1_lang-CWCaf0OP.js";
4
+ const A = j(L), { loginUserInfo: o, cryptoInfo: c } = R(A), Y = G(L), { activeMenuPath: g } = R(Y), Z = f(0), M = S(() => {
5
5
  var s, a, t, r, l, n, e, u, p, d, v;
6
6
  return [
7
7
  {
@@ -61,13 +61,13 @@ const A = H(L), { loginUserInfo: o, cryptoInfo: c } = R(A), X = Z(L), { activeMe
61
61
  },
62
62
  {
63
63
  label: "电子签名",
64
- icon: j,
64
+ icon: B,
65
65
  type: "button",
66
66
  disabled: !1
67
67
  },
68
68
  {
69
69
  label: "上传手写签名",
70
- icon: B,
70
+ icon: H,
71
71
  type: "buttonUpload",
72
72
  disabled: !1
73
73
  }
@@ -147,7 +147,7 @@ const A = H(L), { loginUserInfo: o, cryptoInfo: c } = R(A), X = Z(L), { activeMe
147
147
  var n, e, u, p, d, v;
148
148
  let r;
149
149
  const l = a;
150
- ((e = (n = o.value) == null ? void 0 : n.layer) == null ? void 0 : e.toUpperCase()) !== "SUPERADMIN" ? r = (u = o.value) != null && u.password ? G((p = o.value) == null ? void 0 : p.password, (d = c == null ? void 0 : c.value) == null ? void 0 : d.privateKey) : Q : r = (v = o.value) == null ? void 0 : v.password, r === l ? t() : t(new Error("输入的密码与原密码不匹配,请重新输入"));
150
+ ((e = (n = o.value) == null ? void 0 : n.layer) == null ? void 0 : e.toUpperCase()) !== "SUPERADMIN" ? r = (u = o.value) != null && u.password ? Q((p = o.value) == null ? void 0 : p.password, (d = c == null ? void 0 : c.value) == null ? void 0 : d.privateKey) : X : r = (v = o.value) == null ? void 0 : v.password, r === l ? t() : t(new Error("输入的密码与原密码不匹配,请重新输入"));
151
151
  }, le = (s, a, t) => {
152
152
  a ? t() : t(new Error("请输入密码"));
153
153
  }, ne = (s, a, t) => {
@@ -315,12 +315,12 @@ const A = H(L), { loginUserInfo: o, cryptoInfo: c } = R(A), X = Z(L), { activeMe
315
315
  signTypes: k,
316
316
  signatureLoading: I,
317
317
  submitImageAsync: se,
318
- tabKey: Y,
318
+ tabKey: Z,
319
319
  tabsContents: W,
320
320
  tempSignTypes: C,
321
321
  uploadDisabled: N
322
322
  }, Symbol.toStringTag, { value: "Module" }));
323
323
  export {
324
324
  ge as S,
325
- Y as t
325
+ Z as t
326
326
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-C8qRkCgn.cjs"),f=require("./index.vue_vue_type_style_index_1_lang-Cb4_k0AS.cjs"),C=require("./index-BiPzhKBB.cjs"),r=require("./index-BbzUzdxF.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const m=f.useMenuState(u.pinia),{menus:_}=u.storeToRefs(m),p=l.ref([]),c=async()=>{var i,t,n,a;const e=await u.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((i=e==null?void 0:e.data)==null?void 0:i.type)==="success"){let o=(n=(t=e==null?void 0:e.data)==null?void 0:t.result)==null?void 0:n.map(s=>s);return o=(a=u.cloneDeep(o))==null?void 0:a.map(s=>{var d;const b=Object.values((d=s==null?void 0:s.value)==null?void 0:d.tableData);return b.unshift({id:s==null?void 0:s.id}),b}),o}else return[]};l.onMounted(async()=>{var n;const e=await c(),t=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(n=u.cloneDeep(_.value))==null?void 0:n.map(a=>({label:a==null?void 0:a.title,value:a==null?void 0:a.title})),prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}];t.push({key:"tableContents",contents:e}),p.value=t});const y=e=>{(e==null?void 0:e.buttonName)==="新增"?r.addMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?r.deleteMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&r.fixMenuContent(e==null?void 0:e.singleContent)};return(e,i)=>(l.openBlock(),l.createElementBlock("div",v,[l.createVNode(C.ssTable,{itemData:p.value,class:"table-content",onChange:y},null,8,["itemData"])]))}}),h=g._export_sfc(x,[["__scopeId","data-v-26f5cadc"]]);exports.default=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-DEBf-IBT.cjs"),f=require("./index.vue_vue_type_style_index_1_lang-Dhkn6DXN.cjs"),C=require("./index-CvrlW6Kj.cjs"),r=require("./index-B5KCSN4c.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const m=f.useMenuState(u.pinia),{menus:_}=u.storeToRefs(m),p=l.ref([]),c=async()=>{var i,t,n,a;const e=await u.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((i=e==null?void 0:e.data)==null?void 0:i.type)==="success"){let o=(n=(t=e==null?void 0:e.data)==null?void 0:t.result)==null?void 0:n.map(s=>s);return o=(a=u.cloneDeep(o))==null?void 0:a.map(s=>{var d;const b=Object.values((d=s==null?void 0:s.value)==null?void 0:d.tableData);return b.unshift({id:s==null?void 0:s.id}),b}),o}else return[]};l.onMounted(async()=>{var n;const e=await c(),t=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(n=u.cloneDeep(_.value))==null?void 0:n.map(a=>({label:a==null?void 0:a.title,value:a==null?void 0:a.title})),prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}];t.push({key:"tableContents",contents:e}),p.value=t});const y=e=>{(e==null?void 0:e.buttonName)==="新增"?r.addMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?r.deleteMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&r.fixMenuContent(e==null?void 0:e.singleContent)};return(e,i)=>(l.openBlock(),l.createElementBlock("div",v,[l.createVNode(C.ssTable,{itemData:p.value,class:"table-content",onChange:y},null,8,["itemData"])]))}}),h=g._export_sfc(x,[["__scopeId","data-v-26f5cadc"]]);exports.default=h;