ss-component-new 1.2.331 → 1.2.332

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/{MTLLoader-Cp2efv7h.js → MTLLoader-0sU4bHcB.js} +1 -1
  2. package/dist/{MTLLoader-wwr1B193.cjs → MTLLoader-BiG8AzMo.cjs} +1 -1
  3. package/dist/{OrbitControls-RSLz2S0b.js → OrbitControls-BGOYymgG.js} +1 -1
  4. package/dist/{OrbitControls-Dk0u7TVO.cjs → OrbitControls-CPmWSqGg.cjs} +1 -1
  5. package/dist/{URDFLoader-BpUMfsF6.js → URDFLoader-B9wY12Xv.js} +2 -2
  6. package/dist/{URDFLoader-CkO4RJLO.cjs → URDFLoader-CSBd0TET.cjs} +1 -1
  7. package/dist/{animationData-C7ciTI7m.js → animationData-BX-s9zpC.js} +2 -2
  8. package/dist/{animationData-BoxVqycf.cjs → animationData-CjEAYU5U.cjs} +1 -1
  9. package/dist/{array-Bi-wunyk.cjs → array-BqjPwD_4.cjs} +1 -1
  10. package/dist/{array-CVIR-i--.js → array-jFmSF3mM.js} +5 -5
  11. package/dist/{iconfont-C2QDZzSl.js → iconfont-DtGvSVgH.js} +2 -2
  12. package/dist/{iconfont-TZ8GIkZM.cjs → iconfont-Reh9TjsS.cjs} +1 -1
  13. package/dist/{index-Bp1PEp0W.js → index-0Yi9PlLs.js} +3 -3
  14. package/dist/{index-Df5Gg8qa.cjs → index-2XWVfPrv.cjs} +1 -1
  15. package/dist/{index-CQ5cuVUq.cjs → index-469glUnl.cjs} +1 -1
  16. package/dist/{index-Dw0CPCgX.js → index-7M6-aHgo.js} +4 -4
  17. package/dist/{index-DkEJVaAX.js → index-9VlmXR48.js} +3 -3
  18. package/dist/{index-Z8iuWbfd.js → index-A6LMAT2W.js} +2 -2
  19. package/dist/{index-CY36YclZ.js → index-B6yVdvYp.js} +14 -14
  20. package/dist/{index-BqAHAwh3.js → index-BAnlAFZO.js} +2 -2
  21. package/dist/{index-C2_KHquo.js → index-BERwHbZ_.js} +6 -6
  22. package/dist/{index-Bg3lrziJ.js → index-BJjfyQT6.js} +1 -1
  23. package/dist/{index-X2bwtZbV.js → index-BK_zAD0R.js} +2 -2
  24. package/dist/{index-CzKMGoa-.js → index-BWG9e_bP.js} +3 -3
  25. package/dist/{index-CF2oTbnv.js → index-BYOgw2G6.js} +2 -2
  26. package/dist/{index-B_SWTmBD.cjs → index-BZ6tiLOp.cjs} +1 -1
  27. package/dist/{index-Bos1deWK.cjs → index-B_De2xzD.cjs} +1 -1
  28. package/dist/{index-Bog5kQji.js → index-BfFXcreT.js} +1 -1
  29. package/dist/{index-DSt_Eqwk.js → index-Bq5ngzKK.js} +6 -6
  30. package/dist/{index-BxQs7JCB.cjs → index-BuGo12N8.cjs} +1 -1
  31. package/dist/{index-DKKKZSMe.cjs → index-Bz_VIEqP.cjs} +1 -1
  32. package/dist/{index-TdIk51gx.js → index-CBwks9YR.js} +1 -1
  33. package/dist/index-CC4DJTR-.cjs +1 -0
  34. package/dist/{index-CDseWBxW.js → index-CK_33R_D.js} +8 -8
  35. package/dist/{index-DVf8au0C.cjs → index-CLyCoML2.cjs} +1 -1
  36. package/dist/{index-B2GT4T1e.cjs → index-CM7KSzz4.cjs} +1 -1
  37. package/dist/{index-Bc85VROV.cjs → index-CMwic2xY.cjs} +1 -1
  38. package/dist/{index-DkIWU9Bu.js → index-CP3jhcl2.js} +758 -755
  39. package/dist/{index-DEF6SrBV.js → index-CWap26vw.js} +1 -1
  40. package/dist/{index-BAnu2IcW.js → index-CWxyxrMk.js} +3 -3
  41. package/dist/{index-DRvE5S23.js → index-CYv_QJDb.js} +6 -6
  42. package/dist/{index-DU4iimmS.cjs → index-CeN46GWN.cjs} +1 -1
  43. package/dist/{index-i5Ue_JoA.cjs → index-CkAQIp9V.cjs} +1 -1
  44. package/dist/{index-BVMFNtUY.cjs → index-CqZ2Np8b.cjs} +2 -2
  45. package/dist/{index-uN57qZre.cjs → index-CwZJCqj7.cjs} +1 -1
  46. package/dist/{index-DfZf-0j4.js → index-D0O5UMRH.js} +2 -2
  47. package/dist/{index-DPeOjfU1.cjs → index-D0dY7zWj.cjs} +1 -1
  48. package/dist/{index-BFxYIpIU.js → index-D3B8y0l4.js} +3 -3
  49. package/dist/{index-D3oj5RSK.js → index-D6HseusN.js} +4 -4
  50. package/dist/{index-BV_kcZph.js → index-D8kRmOno.js} +477 -487
  51. package/dist/{index-BGmdJ8Zg.js → index-D8sggP3Z.js} +2 -2
  52. package/dist/{index-CRhbl-Xs.cjs → index-DBnxP_Bt.cjs} +1 -1
  53. package/dist/{index-CiO2uT4E.cjs → index-DG44OYNF.cjs} +1 -1
  54. package/dist/{index-CoaLtkUJ.cjs → index-DR5Kw3Aw.cjs} +1 -1
  55. package/dist/{index-k04UdLA7.cjs → index-DY-3-kb6.cjs} +1 -1
  56. package/dist/{index-BEqVDCR5.cjs → index-DreBVpO9.cjs} +1 -1
  57. package/dist/{index-BhpB-M-v.cjs → index-DrkM69fZ.cjs} +1 -1
  58. package/dist/{index-CjrO5PEa.cjs → index-Drz38M4_.cjs} +1 -1
  59. package/dist/{index-CkO99t26.cjs → index-DuJ6Zv-R.cjs} +1 -1
  60. package/dist/{index-DHf9fOS7.js → index-DuUL54p_.js} +4 -4
  61. package/dist/{index-u30t7l7e.js → index-Dvl3WLMD.js} +4 -4
  62. package/dist/{index-DmDnw4T-.cjs → index-DwzlkMIr.cjs} +1 -1
  63. package/dist/{index-DdBe7pKL.cjs → index-YgbcAeva.cjs} +1 -1
  64. package/dist/{index-BGB8AN7S.js → index-f7sYMLWv.js} +9 -9
  65. package/dist/{index-H-RrS-FV.js → index-fY6rgVCW.js} +2 -2
  66. package/dist/{index-pSTYzLRc.cjs → index-n7HoeVAe.cjs} +12 -12
  67. package/dist/{index-081NeEuV.cjs → index-qVR5xLaK.cjs} +1 -1
  68. package/dist/{index-CkUnZ2se.cjs → index-tQeQYjar.cjs} +1 -1
  69. package/dist/{index-BWBPdata.cjs → index-xXCZQ-W9.cjs} +1 -1
  70. package/dist/{index-cx0rUqLg.js → index-yVeuXbmm.js} +1 -1
  71. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BDXu7acs.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B5KUrT1D.cjs} +1 -1
  72. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BXs-wWd7.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CRz5hdG5.js} +2 -2
  73. package/dist/{index.vue_vue_type_style_index_1_lang-BzNe13gn.js → index.vue_vue_type_style_index_1_lang-BFMNEnpR.js} +5 -5
  74. package/dist/{index.vue_vue_type_style_index_1_lang-OiQttjIF.cjs → index.vue_vue_type_style_index_1_lang-DOWMI-wn.cjs} +1 -1
  75. package/dist/{isString-DDsphIfV.cjs → isString-BlDZ4UF_.cjs} +1 -1
  76. package/dist/{isString-D0BsYbM3.js → isString-exfyi4li.js} +1 -1
  77. package/dist/{main-BDV5VAB6.cjs → main-BnOQyQWx.cjs} +1 -1
  78. package/dist/{main-BEgGvauC.js → main-DwnpEUD-.js} +5 -5
  79. package/dist/{menuIndex-bwSbtzjl.cjs → menuIndex-9_UmVf0h.cjs} +1 -1
  80. package/dist/{menuIndex-BLcswWB-.js → menuIndex-BY8PNmBc.js} +1 -1
  81. package/dist/ss-component.cjs +1 -1
  82. package/dist/ss-component.css +1 -1
  83. package/dist/ss-component.js +11 -11
  84. package/dist/ss-component2.cjs +1 -1
  85. package/dist/ss-component2.js +12 -12
  86. package/dist/{threeModel-CsoaXy4U.cjs → threeModel-BRe_CVw7.cjs} +1 -1
  87. package/dist/{threeModel-o-U3qE_Y.js → threeModel-g9fsvLpi.js} +6 -6
  88. package/dist/{threePreview-B9pRhKDM.js → threePreview-DM0DV0SY.js} +4 -4
  89. package/dist/{threePreview-CGRM7OHr.cjs → threePreview-DoTZXUUv.cjs} +1 -1
  90. package/dist/{threeSceneView-DN8Xyzfv.cjs → threeSceneView-DcPhrtj1.cjs} +1 -1
  91. package/dist/{threeSceneView-DRPX8OYV.js → threeSceneView-DoSLu3ZM.js} +11 -11
  92. package/dist/{threeSceneViewForCPMPIP-BCTxqfOq.cjs → threeSceneViewForCPMPIP-0kXlVmz_.cjs} +1 -1
  93. package/dist/{threeSceneViewForCPMPIP-B_SeEcU9.js → threeSceneViewForCPMPIP-DSNKHXIM.js} +9 -9
  94. package/dist/{threeTrackPathView-Dkc-x5Po.cjs → threeTrackPathView-DbeT5WgT.cjs} +1 -1
  95. package/dist/{threeTrackPathView-C-bjSsJM.js → threeTrackPathView-Gra4uL1b.js} +5 -5
  96. package/dist/{threeViewerHost-e0FA2tJj.cjs → threeViewerHost-D7yCG88c.cjs} +1 -1
  97. package/dist/{threeViewerHost-irhPdb16.js → threeViewerHost-FzIrcZKr.js} +4 -4
  98. package/dist/{urdfTree-5g-HLyvW.js → urdfTree-CChfA7-e.js} +1 -1
  99. package/dist/{urdfTree-S5yUGyZL.cjs → urdfTree-DJ3LtdER.cjs} +1 -1
  100. package/dist/{workpieceTreePanel-hlLH8y_h.cjs → workpieceTreePanel-C8RkXnfZ.cjs} +1 -1
  101. package/dist/{workpieceTreePanel-BaLWAZDy.js → workpieceTreePanel-TdtFx_35.js} +4 -4
  102. package/package.json +1 -1
  103. package/dist/index-UbLqf_y6.cjs +0 -1
@@ -1,9 +1,9 @@
1
1
  import { createElementBlock as V, openBlock as x, createElementVNode as g, renderSlot as N, defineComponent as O, ref as $, resolveComponent as S, createVNode as v, withCtx as f, unref as A, reactive as q, watch as D, onBeforeUnmount as G, onMounted as J, toDisplayString as I, createTextVNode as K } from "vue";
2
2
  import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- import { a as z, p as j, E as U, s as Q, b as X } from "./index-BV_kcZph.js";
4
- import { b as H, d as Y } from "./index-cx0rUqLg.js";
3
+ import { a as z, p as j, E as U, s as Q, b as X } from "./index-D8kRmOno.js";
4
+ import { b as H, d as Y } from "./index-yVeuXbmm.js";
5
5
  import { useRouter as Z } from "vue-router";
6
- import { l as ee, v as te } from "./index-BGmdJ8Zg.js";
6
+ import { l as ee, v as te } from "./index-D8sggP3Z.js";
7
7
  const ae = {}, oe = { class: "left-wrap" }, ne = { class: "left-bg" };
8
8
  function se(h, _) {
9
9
  return x(), V("div", oe, [
@@ -1,6 +1,6 @@
1
1
  import { ref as n, computed as c, defineComponent as s, reactive as p, onMounted as i, createElementBlock as u, openBlock as f, createVNode as b } from "vue";
2
- import { s as m } from "./index-BGB8AN7S.js";
3
- import { g as d, c as _ } from "./index-BqAHAwh3.js";
2
+ import { s as m } from "./index-f7sYMLWv.js";
3
+ import { g as d, c as _ } from "./index-BAnlAFZO.js";
4
4
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const l = n([]), g = c(() => [
6
6
  {
@@ -1,23 +1,23 @@
1
- import { a as Pl, u as Ml, f as Rl, g as $l, s as Ll } from "./index-BGB8AN7S.js";
1
+ import { a as Pl, u as Ml, f as Rl, g as $l, s as Ll } from "./index-f7sYMLWv.js";
2
2
  import { defineComponent as hn, createElementBlock as Ge, openBlock as be, Fragment as Ut, renderList as qt, createElementVNode as Z, toDisplayString as ct, computed as Nt, ref as te, watch as wt, onUnmounted as Fl, resolveComponent as $t, createBlock as Et, createCommentVNode as cn, withCtx as ze, createVNode as Ce, nextTick as Fn, createTextVNode as Pt, resolveDynamicComponent as Mn, onMounted as Zn, unref as zt, reactive as In, renderSlot as Da, createSlots as jl, mergeProps as cr, normalizeStyle as Yn, withModifiers as La, defineAsyncComponent as Nl, defineProps as Ul, getCurrentInstance as Kl, inject as mo, shallowRef as Wl, toRef as Hl, onBeforeMount as dr, watchEffect as Vl, onBeforeUnmount as fr, normalizeClass as yo, getCurrentScope as ql, onScopeDispose as Gl, provide as bo, toRefs as ko, withDirectives as Xl, vShow as Yl } from "vue";
3
- import { i as Jl, j as ni, r as Zl, k as Ql, l as es, s as Ht, p as Kt, E as dn, b as Fi, m as xo, f as Ka, g as jn, e as Wa, c as to, u as Za, h as pr, n as ts, o as ns } from "./index-BV_kcZph.js";
4
- import { c as rn, a as no, d as hr, E as vr, e as gr, f as as, b as mr, i as fi } from "./index-DSt_Eqwk.js";
5
- import { u as Ci, b as ao, F as is, j as ji, I as os, g as an, S as rs, k as io, m as Ni, p as vn, q as ja, s as Nn, r as Ea, t as Ai, w as ls, o as ss, x as Oi, y as us, z as Ui, A as cs, B as ds, C as fs, D as pi, c as wo, n as ps, E as oo, G as hs, H as vs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BXs-wWd7.js";
6
- import { s as fn } from "./index-Bog5kQji.js";
7
- import { a as gs, T as ms } from "./threeViewerHost-irhPdb16.js";
8
- import { b as oi, a as Oa, u as Ba, c as L, E as Pn, e as ys } from "./index-cx0rUqLg.js";
9
- import "./index.vue_vue_type_style_index_1_lang-BzNe13gn.js";
3
+ import { i as Jl, j as ni, r as Zl, k as Ql, l as es, s as Ht, p as Kt, E as dn, b as Fi, m as xo, f as Ka, g as jn, e as Wa, c as to, u as Za, h as pr, n as ts, o as ns } from "./index-D8kRmOno.js";
4
+ import { c as rn, a as no, d as hr, E as vr, e as gr, f as as, b as mr, i as fi } from "./index-Bq5ngzKK.js";
5
+ import { u as Ci, b as ao, F as is, j as ji, I as os, g as an, S as rs, k as io, m as Ni, p as vn, q as ja, s as Nn, r as Ea, t as Ai, w as ls, o as ss, x as Oi, y as us, z as Ui, A as cs, B as ds, C as fs, D as pi, c as wo, n as ps, E as oo, G as hs, H as vs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CRz5hdG5.js";
6
+ import { s as fn } from "./index-BfFXcreT.js";
7
+ import { a as gs, T as ms } from "./threeViewerHost-FzIrcZKr.js";
8
+ import { b as oi, a as Oa, u as Ba, c as L, E as Pn, e as ys } from "./index-yVeuXbmm.js";
9
+ import "./index.vue_vue_type_style_index_1_lang-BFMNEnpR.js";
10
10
  import { _ as Jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- import { i as _o } from "./isString-D0BsYbM3.js";
11
+ import { i as _o } from "./isString-exfyi4li.js";
12
12
  import { _ as Co } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
13
- import { a as bs, s as ks } from "./index-u30t7l7e.js";
13
+ import { a as bs, s as ks } from "./index-Dvl3WLMD.js";
14
14
  import yr from "./index-rlStojTL.js";
15
- import { s as xs } from "./index-Bg3lrziJ.js";
16
- import { g as So, c as ws, v as Bi } from "./index-BGmdJ8Zg.js";
15
+ import { s as xs } from "./index-BJjfyQT6.js";
16
+ import { g as So, c as ws, v as Bi } from "./index-D8sggP3Z.js";
17
17
  import { S as _s } from "./index-BHtNKL1L.js";
18
18
  import { useRouter as Cs } from "vue-router";
19
19
  import { a as Ss, e as Es, f as Ds, g as Ts, h as Is } from "./index-CAPx0_D4.js";
20
- import { f as As } from "./menuIndex-BLcswWB-.js";
20
+ import { f as As } from "./menuIndex-BY8PNmBc.js";
21
21
  var Os = /\s/;
22
22
  function Bs(n) {
23
23
  for (var o = n.length; o-- && Os.test(n.charAt(o)); )
@@ -7092,7 +7092,7 @@ function ap() {
7092
7092
  }(bi)), bi.exports;
7093
7093
  }
7094
7094
  ap();
7095
- const Wi = Nl(() => import("./index-DSt_Eqwk.js").then((n) => n.k));
7095
+ const Wi = Nl(() => import("./index-Bq5ngzKK.js").then((n) => n.k));
7096
7096
  Wi.install = (n) => {
7097
7097
  n.component("ssMenu", Wi);
7098
7098
  };
@@ -1,6 +1,6 @@
1
1
  import { ref as _, computed as A } from "vue";
2
- import { e as I, E as s, g as M } from "./index-BV_kcZph.js";
3
- import { E as N } from "./index-cx0rUqLg.js";
2
+ import { e as I, E as s, g as M } from "./index-D8kRmOno.js";
3
+ import { E as N } from "./index-yVeuXbmm.js";
4
4
  const K = _([]), T = A(() => [
5
5
  {
6
6
  key: "extraButton",
@@ -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-X2bwtZbV.js";
3
- import { s as w, a as L } from "./index-u30t7l7e.js";
2
+ import { S as I, t as x } from "./index-BK_zAD0R.js";
3
+ import { s as w, a as L } from "./index-Dvl3WLMD.js";
4
4
  import "./index-BHtNKL1L.js";
5
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BXs-wWd7.js";
6
- import { f as E } from "./index-DSt_Eqwk.js";
7
- import { s as N } from "./index-BV_kcZph.js";
8
- import { b as U } from "./index-cx0rUqLg.js";
5
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CRz5hdG5.js";
6
+ import { f as E } from "./index-Bq5ngzKK.js";
7
+ import { s as N } from "./index-D8kRmOno.js";
8
+ import { b as U } from "./index-yVeuXbmm.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",
@@ -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 { J as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BXs-wWd7.js";
2
+ import { J as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CRz5hdG5.js";
3
3
  import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const z = {
5
5
  __name: "index",
@@ -1,6 +1,6 @@
1
1
  import { ref as f, computed as A, reactive as P } from "vue";
2
- import { s as R, az as $, aA as B, av as H, g as _, p as L, u as J, E as T } from "./index-BV_kcZph.js";
3
- import { b as j, I as z, u as x, c as G, d as Q, J as X } from "./index-cx0rUqLg.js";
2
+ import { s as R, az as $, aA as B, av as H, g as _, p as L, u as J, E as T } from "./index-D8kRmOno.js";
3
+ import { b as j, I as z, u as x, c as G, d as Q, J as X } from "./index-yVeuXbmm.js";
4
4
  const S = j(L), { loginUserInfo: o, cryptoInfo: c } = R(S), Y = x(L), { activeMenuPath: g } = R(Y), Z = f(0), M = A(() => {
5
5
  var s, a, t, r, l, n, e, u, p, d, v;
6
6
  return [
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as B, ref as I, reactive as H, resolveComponent as v, createElementBlock as E, openBlock as U, createVNode as u, withCtx as d, createElementVNode as l, createTextVNode as h, toDisplayString as T, nextTick as N, Fragment as q, withDirectives as z, renderSlot as $, vShow as M } from "vue";
2
- import { aw as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BXs-wWd7.js";
3
- import { ac as X, ax as J, H as D, K as c, J as R, a3 as g } from "./index-BV_kcZph.js";
4
- import { H as K } from "./index-cx0rUqLg.js";
2
+ import { aw as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CRz5hdG5.js";
3
+ import { ac as X, ax as J, H as D, K as c, J as R, a3 as g } from "./index-D8kRmOno.js";
4
+ import { H as K } from "./index-yVeuXbmm.js";
5
5
  import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const G = "ElUpload";
7
7
  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-BqAHAwh3.js";
3
- import { s as _ } from "./index-BGB8AN7S.js";
2
+ import { S as m } from "./index-BAnlAFZO.js";
3
+ import { s as _ } from "./index-f7sYMLWv.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 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-081NeEuV.cjs"),r=require("./index-BhpB-M-v.cjs"),i=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),s={class:"log-wrap"},u=t.defineComponent({__name:"index",setup(_){const e=t.reactive({...c.State});t.onMounted(async()=>{e.tableData=await e.getLogTableDataAsync()});const l=n=>{var o;e.clickButton(n,(o=e.tableData)==null?void 0:o.map(a=>a.id),a=>{console.log("清空操作成功:",a),a&&(e.tableData=[])})};return(n,o)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(r.ssTable,{itemData:e.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:l},null,8,["itemData"])]))}}),d=i._export_sfc(u,[["__scopeId","data-v-b4bfde04"]]);exports.default=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-qVR5xLaK.cjs"),r=require("./index-DrkM69fZ.cjs"),i=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),s={class:"log-wrap"},u=t.defineComponent({__name:"index",setup(_){const e=t.reactive({...c.State});t.onMounted(async()=>{e.tableData=await e.getLogTableDataAsync()});const l=n=>{var o;e.clickButton(n,(o=e.tableData)==null?void 0:o.map(a=>a.id),a=>{console.log("清空操作成功:",a),a&&(e.tableData=[])})};return(n,o)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(r.ssTable,{itemData:e.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:l},null,8,["itemData"])]))}}),d=i._export_sfc(u,[["__scopeId","data-v-b4bfde04"]]);exports.default=d;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),I=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BDXu7acs.cjs"),a=require("./index-pSTYzLRc.cjs"),k=require("./index-Bc85VROV.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),O="ElUpload";class B extends Error{constructor(o,l,i,p){super(o),this.name="UploadAjaxError",this.status=l,this.method=i,this.url=p}}function h(r,o,l){let i;return l.response?i=`${l.response.error||l.response}`:l.responseText?i=`${l.responseText}`:i=`fail to ${o.method} ${r} ${l.status}`,new B(i,l.status,o.method,r)}function R(r){const o=r.responseText||r.response;if(!o)return o;try{return JSON.parse(o)}catch{return o}}const T=r=>{typeof XMLHttpRequest>"u"&&a.throwError(O,"XMLHttpRequest is undefined");const o=new XMLHttpRequest,l=r.action;o.upload&&o.upload.addEventListener("progress",t=>{const c=t;c.percent=t.total>0?t.loaded/t.total*100:0,r.onProgress(c)});const i=new FormData;if(r.data)for(const[t,c]of Object.entries(r.data))a.isArray$1(c)&&c.length?i.append(t,...c):i.append(t,c);i.append(r.filename,r.file,r.file.name),o.addEventListener("error",()=>{r.onError(h(l,r,o))}),o.addEventListener("load",()=>{if(o.status<200||o.status>=300)return r.onError(h(l,r,o));r.onSuccess(R(o))}),o.open(r.method,l,!0),r.withCredentials&&"withCredentials"in o&&(o.withCredentials=!0);const p=r.headers||{};if(p instanceof Headers)p.forEach((t,c)=>o.setRequestHeader(c,t));else for(const[t,c]of Object.entries(p))k.isNil(c)||o.setRequestHeader(t,String(c));return o.send(i),o},U=["text","picture","picture-card"];let D=1;const L=()=>Date.now()+D++,F=a.buildProps({action:{type:String,default:"#"},headers:{type:a.definePropType(Object)},method:{type:String,default:"post"},data:{type:a.definePropType([Object,Function,Promise]),default:()=>a.mutable({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:a.definePropType(Array),default:()=>a.mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:U,default:"text"},httpRequest:{type:a.definePropType(Function),default:T},disabled:Boolean,limit:Number});a.buildProps({...F,beforeUpload:{type:a.definePropType(Function),default:a.NOOP},beforeRemove:{type:a.definePropType(Function)},onRemove:{type:a.definePropType(Function),default:a.NOOP},onChange:{type:a.definePropType(Function),default:a.NOOP},onPreview:{type:a.definePropType(Function),default:a.NOOP},onSuccess:{type:a.definePropType(Function),default:a.NOOP},onProgress:{type:a.definePropType(Function),default:a.NOOP},onError:{type:a.definePropType(Function),default:a.NOOP},onExceed:{type:a.definePropType(Function),default:a.NOOP},crossorigin:{type:a.definePropType(String)}});const j={style:{"text-align":"left"}},q={class:"cropper-warp"},A={class:"cropper-warp-left"},$=["src"],H={class:"cropper-warp-right"},z={class:"cropper-warp-right-item"},M={class:"cropper-warp-right-value"},X=["src"],J={class:"cropper-warp-right-item"},G={class:"cropper-warp-right-value"},K=["src"],Q={class:"dialog-footer"},W=e.defineComponent({__name:"index",props:{title:{type:String,default:""}},emits:["submitImage","deleteImage"],setup(r,{expose:o,emit:l}){const i=l,p=e.ref(),t=e.reactive({isShowDialog:!1,cropperImg:"",cropperImgBase64:"",cropper:null}),c=async s=>{if(t.isShowDialog=!0,!s)return;let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(s),e.nextTick(()=>{w()})},f=()=>{var s;(s=t.cropper)==null||s.destroy(),t.isShowDialog=!1},m=()=>{f()},y=async()=>{const s=await v();i("submitImage",{file:s}),f()},d=async()=>{i("deleteImage")},w=()=>{const s=document.querySelector(".cropper-warp-left-img");s&&s.setAttribute("crossOrigin","anonymous"),t.cropper=new I.Cropper(s,{viewMode:1,dragMode:"none",initialAspectRatio:1,aspectRatio:1,preview:".before",background:!0,autoCropArea:1,checkCrossOrigin:!1,crop:()=>{t.cropperImgBase64=t.cropper.getCroppedCanvas().toDataURL("image/jpeg")}})},v=async()=>t!=null&&t.cropper?new Promise(s=>{var n,u;(u=(n=t==null?void 0:t.cropper)==null?void 0:n.getCroppedCanvas())==null||u.toBlob(_=>{s(_)})}):(await fetch(t.cropperImg)).blob(),x=async s=>{var u;let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(s.raw),(u=t.cropper)==null||u.replace(t.cropperImg)},E=s=>{p.value.clearFiles();const n=s[0];n.uid=L(),p.value.handleStart(n)};return o({openDialog:c}),(s,n)=>{const u=e.resolveComponent("ele-Edit"),_=e.resolveComponent("el-icon"),g=e.resolveComponent("el-button"),P=e.resolveComponent("el-upload"),V=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(V,{modelValue:t.isShowDialog,"onUpdate:modelValue":n[0]||(n[0]=S=>t.isShowDialog=S),width:"769px","before-close":m},{header:e.withCtx(()=>[e.createElementVNode("div",j,[e.createVNode(_,{size:"16",style:{"margin-right":"3px",display:"inline","vertical-align":"middle"}},{default:e.withCtx(()=>[e.createVNode(u)]),_:1}),e.createElementVNode("span",null,e.toDisplayString(r.title),1)])]),footer:e.withCtx(()=>[e.createElementVNode("span",Q,[e.createVNode(P,{class:"avatar-uploader",ref_key:"uploadSignRef",ref:p,accept:".jpg,.png",limit:1,"show-file-list":!1,"auto-upload":!1,"on-change":x,"on-exceed":E},{trigger:e.withCtx(()=>[e.createVNode(g,{type:"info",icon:"ele-Picture"},{default:e.withCtx(()=>n[4]||(n[4]=[e.createTextVNode("选择图片")])),_:1,__:[4]})]),default:e.withCtx(()=>[e.createVNode(g,{onClick:d,type:"danger",icon:"ele-Picture",style:{"margin-left":"8px"}},{default:e.withCtx(()=>n[5]||(n[5]=[e.createTextVNode("删除图片")])),_:1,__:[5]})]),_:1},512),e.createElementVNode("div",null,[e.createVNode(g,{onClick:m,id:"themeBorderButton"},{default:e.withCtx(()=>n[6]||(n[6]=[e.createTextVNode("取 消")])),_:1,__:[6]}),e.createVNode(g,{onClick:y,id:"themeButton"},{default:e.withCtx(()=>n[7]||(n[7]=[e.createTextVNode("确 定")])),_:1,__:[7]})])])]),default:e.withCtx(()=>[e.createElementVNode("div",q,[e.createElementVNode("div",A,[e.createElementVNode("img",{src:t.cropperImg,class:"cropper-warp-left-img"},null,8,$)]),e.createElementVNode("div",H,[n[3]||(n[3]=e.createElementVNode("div",{class:"cropper-warp-right-title"},"预览",-1)),e.createElementVNode("div",z,[e.createElementVNode("div",M,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img"},null,8,X)]),n[1]||(n[1]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"100 x 100",-1))]),e.createElementVNode("div",J,[e.createElementVNode("div",G,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img cropper-size"},null,8,K)]),n[2]||(n[2]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"50 x 50",-1))])])])]),_:1},8,["modelValue"])])}}}),b=C._export_sfc(W,[["__scopeId","data-v-4a19ffcf"]]),Y=e.defineComponent({__name:"index",props:{avatarUrl:{type:String,default:""},avatarBlob:{type:Blob,default:""},size:{type:[String,Number],default:"large"},showCropper:{type:Boolean,default:!0},banClick:{type:Boolean,default:!1},clickStop:{type:Boolean,default:!0}},emits:["submitImage","deleteImage","clickAvatar"],setup(r,{emit:o}){const l=r,i=e.ref(),p=e.ref(null),t=o,c=()=>!0,f=async()=>{var d;l!=null&&l.banClick||(t("clickAvatar",l.avatarUrl),(d=i.value)==null||d.openDialog(l.avatarBlob))},m=async d=>{t("submitImage",d)},y=async()=>{t("deleteImage")};return(d,w)=>{const v=e.resolveComponent("el-avatar");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(v,{src:r.avatarUrl,onClick:f,fit:"cover",size:r.size,ref_key:"avatarRef",ref:p,style:{background:"var(--user-avatar-bg)"},alt:"头像查找失败",onError:c},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"avatarDefault",{},void 0,!0)]),_:3},8,["src","size"]),e.withDirectives(e.createVNode(b,{ref_key:"cropperDialogRef",ref:i,title:"更改头像",avatarUrl:r.avatarUrl,onSubmitImage:m,onDeleteImage:y},null,8,["avatarUrl"]),[[e.vShow,r.showCropper&&(l==null?void 0:l.clickStop)]])],64)}}}),N=C._export_sfc(Y,[["__scopeId","data-v-82946fb9"]]),Z=Object.freeze(Object.defineProperty({__proto__:null,default:N},Symbol.toStringTag,{value:"Module"}));exports.Avatar=N;exports.CropperDialog=b;exports.index=Z;
1
+ "use strict";const e=require("vue"),I=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B5KUrT1D.cjs"),a=require("./index-n7HoeVAe.cjs"),k=require("./index-CMwic2xY.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),O="ElUpload";class B extends Error{constructor(o,l,i,p){super(o),this.name="UploadAjaxError",this.status=l,this.method=i,this.url=p}}function h(r,o,l){let i;return l.response?i=`${l.response.error||l.response}`:l.responseText?i=`${l.responseText}`:i=`fail to ${o.method} ${r} ${l.status}`,new B(i,l.status,o.method,r)}function R(r){const o=r.responseText||r.response;if(!o)return o;try{return JSON.parse(o)}catch{return o}}const T=r=>{typeof XMLHttpRequest>"u"&&a.throwError(O,"XMLHttpRequest is undefined");const o=new XMLHttpRequest,l=r.action;o.upload&&o.upload.addEventListener("progress",t=>{const c=t;c.percent=t.total>0?t.loaded/t.total*100:0,r.onProgress(c)});const i=new FormData;if(r.data)for(const[t,c]of Object.entries(r.data))a.isArray$1(c)&&c.length?i.append(t,...c):i.append(t,c);i.append(r.filename,r.file,r.file.name),o.addEventListener("error",()=>{r.onError(h(l,r,o))}),o.addEventListener("load",()=>{if(o.status<200||o.status>=300)return r.onError(h(l,r,o));r.onSuccess(R(o))}),o.open(r.method,l,!0),r.withCredentials&&"withCredentials"in o&&(o.withCredentials=!0);const p=r.headers||{};if(p instanceof Headers)p.forEach((t,c)=>o.setRequestHeader(c,t));else for(const[t,c]of Object.entries(p))k.isNil(c)||o.setRequestHeader(t,String(c));return o.send(i),o},U=["text","picture","picture-card"];let D=1;const L=()=>Date.now()+D++,F=a.buildProps({action:{type:String,default:"#"},headers:{type:a.definePropType(Object)},method:{type:String,default:"post"},data:{type:a.definePropType([Object,Function,Promise]),default:()=>a.mutable({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:a.definePropType(Array),default:()=>a.mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:U,default:"text"},httpRequest:{type:a.definePropType(Function),default:T},disabled:Boolean,limit:Number});a.buildProps({...F,beforeUpload:{type:a.definePropType(Function),default:a.NOOP},beforeRemove:{type:a.definePropType(Function)},onRemove:{type:a.definePropType(Function),default:a.NOOP},onChange:{type:a.definePropType(Function),default:a.NOOP},onPreview:{type:a.definePropType(Function),default:a.NOOP},onSuccess:{type:a.definePropType(Function),default:a.NOOP},onProgress:{type:a.definePropType(Function),default:a.NOOP},onError:{type:a.definePropType(Function),default:a.NOOP},onExceed:{type:a.definePropType(Function),default:a.NOOP},crossorigin:{type:a.definePropType(String)}});const j={style:{"text-align":"left"}},q={class:"cropper-warp"},A={class:"cropper-warp-left"},$=["src"],H={class:"cropper-warp-right"},z={class:"cropper-warp-right-item"},M={class:"cropper-warp-right-value"},X=["src"],J={class:"cropper-warp-right-item"},G={class:"cropper-warp-right-value"},K=["src"],Q={class:"dialog-footer"},W=e.defineComponent({__name:"index",props:{title:{type:String,default:""}},emits:["submitImage","deleteImage"],setup(r,{expose:o,emit:l}){const i=l,p=e.ref(),t=e.reactive({isShowDialog:!1,cropperImg:"",cropperImgBase64:"",cropper:null}),c=async s=>{if(t.isShowDialog=!0,!s)return;let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(s),e.nextTick(()=>{w()})},f=()=>{var s;(s=t.cropper)==null||s.destroy(),t.isShowDialog=!1},m=()=>{f()},y=async()=>{const s=await v();i("submitImage",{file:s}),f()},d=async()=>{i("deleteImage")},w=()=>{const s=document.querySelector(".cropper-warp-left-img");s&&s.setAttribute("crossOrigin","anonymous"),t.cropper=new I.Cropper(s,{viewMode:1,dragMode:"none",initialAspectRatio:1,aspectRatio:1,preview:".before",background:!0,autoCropArea:1,checkCrossOrigin:!1,crop:()=>{t.cropperImgBase64=t.cropper.getCroppedCanvas().toDataURL("image/jpeg")}})},v=async()=>t!=null&&t.cropper?new Promise(s=>{var n,u;(u=(n=t==null?void 0:t.cropper)==null?void 0:n.getCroppedCanvas())==null||u.toBlob(_=>{s(_)})}):(await fetch(t.cropperImg)).blob(),x=async s=>{var u;let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(s.raw),(u=t.cropper)==null||u.replace(t.cropperImg)},E=s=>{p.value.clearFiles();const n=s[0];n.uid=L(),p.value.handleStart(n)};return o({openDialog:c}),(s,n)=>{const u=e.resolveComponent("ele-Edit"),_=e.resolveComponent("el-icon"),g=e.resolveComponent("el-button"),P=e.resolveComponent("el-upload"),V=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(V,{modelValue:t.isShowDialog,"onUpdate:modelValue":n[0]||(n[0]=S=>t.isShowDialog=S),width:"769px","before-close":m},{header:e.withCtx(()=>[e.createElementVNode("div",j,[e.createVNode(_,{size:"16",style:{"margin-right":"3px",display:"inline","vertical-align":"middle"}},{default:e.withCtx(()=>[e.createVNode(u)]),_:1}),e.createElementVNode("span",null,e.toDisplayString(r.title),1)])]),footer:e.withCtx(()=>[e.createElementVNode("span",Q,[e.createVNode(P,{class:"avatar-uploader",ref_key:"uploadSignRef",ref:p,accept:".jpg,.png",limit:1,"show-file-list":!1,"auto-upload":!1,"on-change":x,"on-exceed":E},{trigger:e.withCtx(()=>[e.createVNode(g,{type:"info",icon:"ele-Picture"},{default:e.withCtx(()=>n[4]||(n[4]=[e.createTextVNode("选择图片")])),_:1,__:[4]})]),default:e.withCtx(()=>[e.createVNode(g,{onClick:d,type:"danger",icon:"ele-Picture",style:{"margin-left":"8px"}},{default:e.withCtx(()=>n[5]||(n[5]=[e.createTextVNode("删除图片")])),_:1,__:[5]})]),_:1},512),e.createElementVNode("div",null,[e.createVNode(g,{onClick:m,id:"themeBorderButton"},{default:e.withCtx(()=>n[6]||(n[6]=[e.createTextVNode("取 消")])),_:1,__:[6]}),e.createVNode(g,{onClick:y,id:"themeButton"},{default:e.withCtx(()=>n[7]||(n[7]=[e.createTextVNode("确 定")])),_:1,__:[7]})])])]),default:e.withCtx(()=>[e.createElementVNode("div",q,[e.createElementVNode("div",A,[e.createElementVNode("img",{src:t.cropperImg,class:"cropper-warp-left-img"},null,8,$)]),e.createElementVNode("div",H,[n[3]||(n[3]=e.createElementVNode("div",{class:"cropper-warp-right-title"},"预览",-1)),e.createElementVNode("div",z,[e.createElementVNode("div",M,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img"},null,8,X)]),n[1]||(n[1]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"100 x 100",-1))]),e.createElementVNode("div",J,[e.createElementVNode("div",G,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img cropper-size"},null,8,K)]),n[2]||(n[2]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"50 x 50",-1))])])])]),_:1},8,["modelValue"])])}}}),b=C._export_sfc(W,[["__scopeId","data-v-4a19ffcf"]]),Y=e.defineComponent({__name:"index",props:{avatarUrl:{type:String,default:""},avatarBlob:{type:Blob,default:""},size:{type:[String,Number],default:"large"},showCropper:{type:Boolean,default:!0},banClick:{type:Boolean,default:!1},clickStop:{type:Boolean,default:!0}},emits:["submitImage","deleteImage","clickAvatar"],setup(r,{emit:o}){const l=r,i=e.ref(),p=e.ref(null),t=o,c=()=>!0,f=async()=>{var d;l!=null&&l.banClick||(t("clickAvatar",l.avatarUrl),(d=i.value)==null||d.openDialog(l.avatarBlob))},m=async d=>{t("submitImage",d)},y=async()=>{t("deleteImage")};return(d,w)=>{const v=e.resolveComponent("el-avatar");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(v,{src:r.avatarUrl,onClick:f,fit:"cover",size:r.size,ref_key:"avatarRef",ref:p,style:{background:"var(--user-avatar-bg)"},alt:"头像查找失败",onError:c},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"avatarDefault",{},void 0,!0)]),_:3},8,["src","size"]),e.withDirectives(e.createVNode(b,{ref_key:"cropperDialogRef",ref:i,title:"更改头像",avatarUrl:r.avatarUrl,onSubmitImage:m,onDeleteImage:y},null,8,["avatarUrl"]),[[e.vShow,r.showCropper&&(l==null?void 0:l.clickStop)]])],64)}}}),N=C._export_sfc(Y,[["__scopeId","data-v-82946fb9"]]),Z=Object.freeze(Object.defineProperty({__proto__:null,default:N},Symbol.toStringTag,{value:"Module"}));exports.Avatar=N;exports.CropperDialog=b;exports.index=Z;
@@ -1,5 +1,5 @@
1
1
  import { ref as O, reactive as I, watch as X, resolveComponent as Y, createBlock as P, openBlock as s, normalizeStyle as U, withCtx as S, renderSlot as B, createElementBlock as a, createCommentVNode as r, withModifiers as u, createElementVNode as j, toDisplayString as q } from "vue";
2
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BXs-wWd7.js";
2
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CRz5hdG5.js";
3
3
  import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const F = { class: "dialog-title" }, G = {
5
5
  __name: "index",
@@ -1,13 +1,13 @@
1
1
  import { ref as N, resolveComponent as J, createBlock as W, openBlock as S, createCommentVNode as s2, createSlots as N0, withCtx as L, renderSlot as v2, defineComponent as u0, onMounted as fe, createVNode as e2, createElementVNode as r2, createElementBlock as B, Fragment as x2, renderList as O2, createTextVNode as G0, toDisplayString as $2, reactive as p1, h as He, Transition as nr, withDirectives as ot, vShow as Rt, createApp as sr, toRefs as Bs, nextTick as M0, isRef as or, watch as s0, computed as i2, normalizeClass as $e, withModifiers as a3, onBeforeUnmount as M4, normalizeStyle as t0, resolveDynamicComponent as Xt, normalizeProps as lr, guardReactiveProps as rr, mergeProps as g1, inject as ar, watchEffect as Ce, onUnmounted as m1, unref as lt, resolveDirective as cr } from "vue";
2
2
  import { S as gt } from "./index-BHtNKL1L.js";
3
- import { ao as hr, ap as Ls, p as Hs, aj as et, e as dr, u as ur, S as yi, f as Is, aq as fr, ar as pr, as as gr, at as mr, d as vr, au as Si, av as Ci } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BXs-wWd7.js";
3
+ import { ao as hr, ap as Ls, p as Hs, aj as et, e as dr, u as ur, S as yi, f as Is, aq as fr, ar as pr, as as gr, at as mr, d as vr, au as Si, av as Ci } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CRz5hdG5.js";
4
4
  import { _ as P2 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- import { k as Gs, l as Ns, aj as wr, ag as c3, F as xr, I as Rs, af as zt, ae as ki, a5 as $s, as as br, E as N3, p as rt, s as mt, a as js, at as _r, au as yr, aq as Sr, av as Cr, b as kr, aw as Or } from "./index-BV_kcZph.js";
5
+ import { k as Gs, l as Ns, aj as wr, ag as c3, F as xr, I as Rs, af as zt, ae as ki, a5 as $s, as as br, E as N3, p as rt, s as mt, a as js, at as _r, au as yr, aq as Sr, av as Cr, b as kr, aw as Or } from "./index-D8kRmOno.js";
6
6
  import { _ as ae } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
7
- import { F as Dr, G as Oi, c as d0, a as T4, u as z4 } from "./index-cx0rUqLg.js";
8
- import { s as P4 } from "./index-Bog5kQji.js";
9
- import { T as Di, a as Mr } from "./threeViewerHost-irhPdb16.js";
10
- import { A as Tr } from "./index-CzKMGoa-.js";
7
+ import { F as Dr, G as Oi, c as d0, a as T4, u as z4 } from "./index-yVeuXbmm.js";
8
+ import { s as P4 } from "./index-BfFXcreT.js";
9
+ import { T as Di, a as Mr } from "./threeViewerHost-FzIrcZKr.js";
10
+ import { A as Tr } from "./index-BWG9e_bP.js";
11
11
  var zr = "[object Date]";
12
12
  function Pr(n) {
13
13
  return Gs(n) && Ns(n) == zr;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),o=require("./index-pSTYzLRc.cjs"),r=require("./index-Bc85VROV.cjs"),C=require("./index-BhpB-M-v.cjs"),p=require("./index-DKKKZSMe.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const c=r.useMenuState(o.pinia),{menus:f}=o.storeToRefs(c),b=l.ref([]),y=async()=>{var u,t,n,a;const e=await o.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((u=e==null?void 0:e.data)==null?void 0:u.type)==="success"){let i=(n=(t=e==null?void 0:e.data)==null?void 0:t.result)==null?void 0:n.map(s=>s);return i=(a=r.cloneDeep(i))==null?void 0:a.map(s=>{var m;const d=Object.values((m=s==null?void 0:s.value)==null?void 0:m.tableData);return d.unshift({id:s==null?void 0:s.id}),d}),i}else return[]};l.onMounted(async()=>{var n;const e=await y(),t=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(n=r.cloneDeep(f.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}),b.value=t});const _=e=>{(e==null?void 0:e.buttonName)==="新增"?p.addMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?p.deleteMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&p.fixMenuContent(e==null?void 0:e.singleContent)};return(e,u)=>(l.openBlock(),l.createElementBlock("div",v,[l.createVNode(C.ssTable,{itemData:b.value,class:"table-content",onChange:_},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"),o=require("./index-n7HoeVAe.cjs"),r=require("./index-CMwic2xY.cjs"),C=require("./index-DrkM69fZ.cjs"),p=require("./index-Bz_VIEqP.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const c=r.useMenuState(o.pinia),{menus:f}=o.storeToRefs(c),b=l.ref([]),y=async()=>{var u,t,n,a;const e=await o.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((u=e==null?void 0:e.data)==null?void 0:u.type)==="success"){let i=(n=(t=e==null?void 0:e.data)==null?void 0:t.result)==null?void 0:n.map(s=>s);return i=(a=r.cloneDeep(i))==null?void 0:a.map(s=>{var m;const d=Object.values((m=s==null?void 0:s.value)==null?void 0:m.tableData);return d.unshift({id:s==null?void 0:s.id}),d}),i}else return[]};l.onMounted(async()=>{var n;const e=await y(),t=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(n=r.cloneDeep(f.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}),b.value=t});const _=e=>{(e==null?void 0:e.buttonName)==="新增"?p.addMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?p.deleteMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&p.fixMenuContent(e==null?void 0:e.singleContent)};return(e,u)=>(l.openBlock(),l.createElementBlock("div",v,[l.createVNode(C.ssTable,{itemData:b.value,class:"table-content",onChange:_},null,8,["itemData"])]))}}),h=g._export_sfc(x,[["__scopeId","data-v-26f5cadc"]]);exports.default=h;
@@ -1 +1 @@
1
- "use strict";const a=require("./index-pSTYzLRc.cjs"),d=require("vue"),n=e=>{const t={};for(let s in e)s!=="id"&&(t[s]=e[s]);const i=t==null?void 0:t.主菜单名称;a.createInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey"),pageKey:i},value:{tableData:t}})},y=e=>{a.deleteInsofDataApi({id:e==null?void 0:e.id})},o=e=>{const t={};for(let s in e)s!=="id"&&(t[s]=e[s]);const i=t==null?void 0:t.主菜单名称;a.updateInsofDataApi({id:e==null?void 0:e.id,key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey"),pageKey:i},value:{tableData:t}})};d.ref([]);exports.addMenuContent=n;exports.deleteMenuContent=y;exports.fixMenuContent=o;
1
+ "use strict";const a=require("./index-n7HoeVAe.cjs"),d=require("vue"),n=e=>{const t={};for(let s in e)s!=="id"&&(t[s]=e[s]);const i=t==null?void 0:t.主菜单名称;a.createInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey"),pageKey:i},value:{tableData:t}})},y=e=>{a.deleteInsofDataApi({id:e==null?void 0:e.id})},o=e=>{const t={};for(let s in e)s!=="id"&&(t[s]=e[s]);const i=t==null?void 0:t.主菜单名称;a.updateInsofDataApi({id:e==null?void 0:e.id,key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey"),pageKey:i},value:{tableData:t}})};d.ref([]);exports.addMenuContent=n;exports.deleteMenuContent=y;exports.fixMenuContent=o;
@@ -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-BV_kcZph.js";
2
+ import { g as I, E as g } from "./index-D8kRmOno.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({