ss-component-new 1.3.531 → 1.3.532

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 (58) hide show
  1. package/dist/{MTLLoader-Uji2-rMi.js → MTLLoader-TRvYHU-P.js} +90 -90
  2. package/dist/{OrbitControls-Cp92obD3.js → OrbitControls-VBMoespz.js} +1 -1
  3. package/dist/{URDFLoader-Crgute7w.js → URDFLoader-D4fFIL5J.js} +211 -211
  4. package/dist/{animationData-CPLKUFPL.js → animationData-Cej84ziU.js} +3 -3
  5. package/dist/{array-Dlk4haRY.js → array-B_z2k3hR.js} +4 -4
  6. package/dist/{clone-uDiz-hNZ.js → clone-ez7vwxnP.js} +1 -1
  7. package/dist/{eleIcon-B_axj8bR.js → eleIcon-C7Pz9jha.js} +3 -3
  8. package/dist/{iconfont-CFKrnQEL.js → iconfont-B1ddAL1T.js} +18 -18
  9. package/dist/{index-BRUinwTd.js → index-7BHtK8gK.js} +3930 -3930
  10. package/dist/{index-PhSZw0Y_.js → index-B-SRrjLA.js} +5 -5
  11. package/dist/{index-DnXVYmdD.js → index-B3osj0rP.js} +3 -3
  12. package/dist/{index-C6fPMPkd.js → index-BHkxPaDf.js} +2 -2
  13. package/dist/{index-D7SgAs33.js → index-B_7p25Hy.js} +66 -66
  14. package/dist/{index-ByHN5sXT.js → index-BbZPMT8E.js} +1 -1
  15. package/dist/{index-kDiTOzGS.js → index-BscI3lbU.js} +2 -2
  16. package/dist/{index-B1FZZIu7.js → index-CQD9tf3F.js} +2 -2
  17. package/dist/{index-i4mEZe21.js → index-CQy21X4f.js} +5 -5
  18. package/dist/{index-D_GnOffO.js → index-CWltMeB9.js} +2 -2
  19. package/dist/{index-BOChBkFa.js → index-CcUPpTjO.js} +4 -4
  20. package/dist/index-Chp2uU0i.js +61480 -0
  21. package/dist/{index-BQrB2FPQ.js → index-CocPelja.js} +1 -1
  22. package/dist/{index-BXv5S9_0.js → index-CqUR7JfB.js} +2 -2
  23. package/dist/{index-gI03EEIe.js → index-CxQ9jYKa.js} +18 -18
  24. package/dist/{index-BS_Hb1O8.js → index-D3gtcYfZ.js} +31 -31
  25. package/dist/{index-B0aAfT6h.js → index-D4G1p05T.js} +4 -4
  26. package/dist/{index-BE4qZiGa.js → index-DZ7kNxX8.js} +53 -52
  27. package/dist/{index-B1V-Rgv8.js → index-DcKubMBL.js} +4 -4
  28. package/dist/{index-CI9OKNjn.js → index-DjyhQBTs.js} +2 -2
  29. package/dist/{index-DNQtcpvR.js → index-DkYe5V3O.js} +3 -3
  30. package/dist/{index-DHAhIKmQ.js → index-DlQXFCw8.js} +2 -2
  31. package/dist/{index-CCcJa9gc.js → index-DqXvOyIs.js} +2192 -2259
  32. package/dist/{index-Csby6Vj4.js → index-Ds-fktuI.js} +2 -2
  33. package/dist/{index-JmNdbR6O.js → index-Fy4MrrOF.js} +2 -2
  34. package/dist/{index-9z3gGGkS.js → index-RLUSh93k.js} +4 -4
  35. package/dist/{index-BmZwVwZC.js → index-XvX6TMzr.js} +1 -1
  36. package/dist/{index-DUq4XELr.js → index-YvUJL9Us.js} +1 -1
  37. package/dist/{index-BiXoSo97.js → index-chfWxAcP.js} +6 -6
  38. package/dist/{index-CrwqA_VO.js → index-j38hv0OL.js} +10 -10
  39. package/dist/{index-B3tEvDy6.js → index-kw9ayKLA.js} +1 -1
  40. package/dist/{index-Bb6FygJ4.js → index-w0lVCH-i.js} +8 -8
  41. package/dist/{index.vue_vue_type_style_index_0_scoped_07c75c98_lang-BIGp57QB.js → index.vue_vue_type_style_index_0_scoped_07c75c98_lang-BJ-_pgMX.js} +10280 -10439
  42. package/dist/{isString-ChmgnNIb.js → isString-BlNsHiyU.js} +3 -3
  43. package/dist/{main-B85ZuM_V.js → main-D-2PvDSw.js} +4 -4
  44. package/dist/{menuIndex-MRzQpSlP.js → menuIndex-VozC7XXB.js} +1 -1
  45. package/dist/{request-XJsZ4h2T.js → request-B1c8BUkR.js} +3737 -2917
  46. package/dist/ss-component.css +2 -2
  47. package/dist/ss-component.js +12 -12
  48. package/dist/ss-component2.js +13 -13
  49. package/dist/{threeModel-nnpkV7at.js → threeModel-DFy2u1yC.js} +5 -5
  50. package/dist/{threePreview-CWv8mRxK.js → threePreview-CVANWVg9.js} +48 -48
  51. package/dist/{threeSceneView-Dubxjm8P.js → threeSceneView-DKcAHNwy.js} +67 -67
  52. package/dist/{threeSceneViewForCPMPIP-RYg-LYPE.js → threeSceneViewForCPMPIP-D0DdEPnl.js} +9 -9
  53. package/dist/{threeTrackPathView-DAq7Etua.js → threeTrackPathView-BTv-al-p.js} +57 -57
  54. package/dist/{threeViewerHost-Cb4ykYa0.js → threeViewerHost-CZwcyo9b.js} +6 -6
  55. package/dist/{urdfTree-ZuA4DfFJ.js → urdfTree-Bku9Tduu.js} +1 -1
  56. package/dist/{workpieceTreePanel-cg0p_DH6.js → workpieceTreePanel-C5xMSEYU.js} +35 -35
  57. package/package.json +2 -1
  58. package/dist/index-By7enXb2.js +0 -25218
@@ -1,6 +1,6 @@
1
1
  import { ref as A, computed as c, onMounted as _ } from "vue";
2
2
  import { useRouter as C } from "vue-router";
3
- import { u as g, p as h, r as R, c as b, j as S, m as E } from "./index-CCcJa9gc.js";
3
+ import { u as g, p as h, r as R, c as b, j as S, m as E } from "./index-DqXvOyIs.js";
4
4
  const l = {
5
5
  ALLOW: {
6
6
  value: "允许"
@@ -1,5 +1,5 @@
1
- import { s as h, b as l, p as w, r as F } from "./index-CCcJa9gc.js";
2
- import { s as f } from "./request-XJsZ4h2T.js";
1
+ import { s as h, b as l, p as w, r as F } from "./index-DqXvOyIs.js";
2
+ import { s as f } from "./request-B1c8BUkR.js";
3
3
  import { watch as p } from "vue";
4
4
  const P = l(w), { systemUrl: s, extraUrl: r } = h(P);
5
5
  let d = s.value === "" || !s.value ? "http://222.92.178.198:63002" : s.value, m = r.value === "" || !r.value ? "http://139.196.154.85:20015" : r.value;
@@ -1,13 +1,13 @@
1
- import { ref as h, computed as E, reactive as j, defineComponent as q, watch as H, createElementBlock as N, openBlock as k, createVNode as A, createCommentVNode as ue, withCtx as _, createTextVNode as V, toDisplayString as F, resolveComponent as D, createBlock as R, Fragment as ie, renderList as ce, createElementVNode as de, normalizeStyle as pe } from "vue";
2
- import { av as fe, aw as ve, ax as ge, E as T } from "./request-XJsZ4h2T.js";
3
- import { s as J, b as ye, u as be, p as G, c as me, e as he } from "./index-CCcJa9gc.js";
4
- import { g as Q, u as we } from "./index-DUq4XELr.js";
1
+ import { ref as h, computed as E, reactive as j, defineComponent as q, watch as H, createElementBlock as N, openBlock as k, createVNode as A, createCommentVNode as ue, withCtx as _, createTextVNode as x, toDisplayString as F, resolveComponent as D, createBlock as R, Fragment as ie, renderList as ce, createElementVNode as de, normalizeStyle as pe } from "vue";
2
+ import { c7 as fe, c8 as ve, c9 as ge, E as T } from "./request-B1c8BUkR.js";
3
+ import { s as J, b as ye, u as be, p as G, c as me, e as he } from "./index-DqXvOyIs.js";
4
+ import { g as Q, u as we } from "./index-YvUJL9Us.js";
5
5
  import { J as X } from "./JSEncrypt-B36c1iN5.js";
6
- import { a5 as Se } from "./index-DNQtcpvR.js";
7
- import { A as _e } from "./index-BE4qZiGa.js";
8
- import { u as Y, l as Ce } from "./index-BRUinwTd.js";
6
+ import { a5 as Se } from "./index-DkYe5V3O.js";
7
+ import { A as _e } from "./index-DZ7kNxX8.js";
8
+ import { u as Y, l as Ce } from "./index-7BHtK8gK.js";
9
9
  import { _ as Z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- import { S as x } from "./index-BHtNKL1L.js";
10
+ import { S as V } from "./index-BHtNKL1L.js";
11
11
  function Ae(t, s) {
12
12
  const e = new X();
13
13
  return e.setPublicKey(s), e.encrypt(t) || "";
@@ -204,11 +204,11 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
204
204
  validator: Fe
205
205
  }
206
206
  ];
207
- B.otherCols = u, Ve(d.value);
207
+ B.otherCols = u, xe(d.value);
208
208
  }
209
209
  }, Re = (t) => {
210
210
  oe.value = t;
211
- }, xe = async ({ content: t, buttonName: s }) => {
211
+ }, Ve = async ({ content: t, buttonName: s }) => {
212
212
  var n, l, o, a, p;
213
213
  let e;
214
214
  s === "确定" && (e = {
@@ -246,7 +246,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
246
246
  other: p
247
247
  };
248
248
  } else return typeof e == "string" && (e == null ? void 0 : e.toUpperCase()) === "SUPERADMIN" ? t : null;
249
- }, Ve = (t) => {
249
+ }, xe = (t) => {
250
250
  var s, e, n, l, o;
251
251
  le.value = [
252
252
  {
@@ -320,7 +320,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
320
320
  changeFormTrigger: Re,
321
321
  clickFormButton: Be,
322
322
  clickSignButton: Ee,
323
- clickTabButton: xe,
323
+ clickTabButton: Ve,
324
324
  getUserTableHeadersAsync: Le,
325
325
  itemData: Te,
326
326
  loading: $,
@@ -411,7 +411,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
411
411
  avatarDefault: _(() => {
412
412
  var r, m, f, v;
413
413
  return [
414
- V(F(((m = (r = t.userInfo) == null ? void 0 : r.account) == null ? void 0 : m.charAt(0)) || ((v = (f = t.userInfo) == null ? void 0 : f.姓名) == null ? void 0 : v.charAt(0)) || ""), 1)
414
+ x(F(((m = (r = t.userInfo) == null ? void 0 : r.account) == null ? void 0 : m.charAt(0)) || ((v = (f = t.userInfo) == null ? void 0 : f.姓名) == null ? void 0 : v.charAt(0)) || ""), 1)
415
415
  ];
416
416
  }),
417
417
  _: 1
@@ -499,7 +499,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
499
499
  description: " "
500
500
  }, {
501
501
  image: _(() => [
502
- A(x, { name: "emptyImg" })
502
+ A(V, { name: "emptyImg" })
503
503
  ]),
504
504
  _: 1
505
505
  })
@@ -529,10 +529,10 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
529
529
  id: "themeButton"
530
530
  }, {
531
531
  default: _(() => [
532
- V(F(i.label), 1)
532
+ x(F(i.label), 1)
533
533
  ]),
534
534
  icon: _(() => [
535
- A(x, {
535
+ A(V, {
536
536
  name: i.icon ?? ""
537
537
  }, null, 8, ["name"])
538
538
  ]),
@@ -547,10 +547,10 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
547
547
  onClick: (Oe) => a(i)
548
548
  }, {
549
549
  default: _(() => [
550
- V(F(i.label), 1)
550
+ x(F(i.label), 1)
551
551
  ]),
552
552
  icon: _(() => [
553
- A(x, {
553
+ A(V, {
554
554
  name: i.icon ?? ""
555
555
  }, null, 8, ["name"])
556
556
  ]),
@@ -1,8 +1,8 @@
1
1
  import { watch as be, ref as w, computed as we } from "vue";
2
- import { p as E, k as B, w as Le } from "./index-DNQtcpvR.js";
3
- import { s as Te, b as C, p as V, u as Re, r as De, c as A, C as N, E as Ee, j as Be, ae as Ae, af as Pe, ag as Ue, ah as xe, ai as Se, aj as ke } from "./index-CCcJa9gc.js";
4
- import { s as z } from "./request-XJsZ4h2T.js";
5
- const qe = C(V), { systemUrl: f } = Te(qe);
2
+ import { p as E, k as B, w as Le } from "./index-DkYe5V3O.js";
3
+ import { s as Te, b as V, p as C, u as Re, r as De, c as A, C as N, E as Ee, j as Be, aT as Ae, aU as Pe, aV as Ue, aW as xe, aX as Se, aY as ke } from "./index-DqXvOyIs.js";
4
+ import { s as z } from "./request-B1c8BUkR.js";
5
+ const qe = V(C), { systemUrl: f } = Te(qe);
6
6
  let P = f.value === "" || !f.value ? "http://222.92.178.198:63002" : f.value;
7
7
  be(
8
8
  () => f.value,
@@ -26,18 +26,18 @@ function Fe(s) {
26
26
  responseType: "blob"
27
27
  });
28
28
  }
29
- function Ce(s = "") {
29
+ function Ve(s = "") {
30
30
  const r = s.match(/filename\*=UTF-8''([^;]+)/i);
31
31
  if (r)
32
32
  return decodeURIComponent(r[1]);
33
33
  const i = s.match(/filename=["']?([^"';]+)["']?/);
34
34
  return i ? i[1] : "download.xlsx";
35
35
  }
36
- const Ve = (s) => {
36
+ const Ce = (s) => {
37
37
  var I, g;
38
- const r = ((I = s == null ? void 0 : s.headers) == null ? void 0 : I["content-type"]) || "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", i = new Blob([s.data], { type: r }), L = (g = s == null ? void 0 : s.headers) == null ? void 0 : g["content-disposition"], h = Ce(L) || "数据.xlsx", c = window.URL.createObjectURL(i), u = document.createElement("a");
38
+ const r = ((I = s == null ? void 0 : s.headers) == null ? void 0 : I["content-type"]) || "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", i = new Blob([s.data], { type: r }), L = (g = s == null ? void 0 : s.headers) == null ? void 0 : g["content-disposition"], h = Ve(L) || "数据.xlsx", c = window.URL.createObjectURL(i), u = document.createElement("a");
39
39
  u.href = c, u.setAttribute("download", h), document.body.appendChild(u), u.click(), document.body.removeChild(u), window.URL.revokeObjectURL(c);
40
- }, Ke = [
40
+ }, We = [
41
41
  {
42
42
  label: "编辑",
43
43
  value: "edit"
@@ -72,14 +72,14 @@ const Ve = (s) => {
72
72
  TABLE: {
73
73
  value: "Table"
74
74
  }
75
- }, Oe = ["查看", "查看三维模型", "导出paraform", "导出", "导出全部", "导出选中"], We = () => {
76
- const s = C(), r = Re(V), { isSuperAdmin: i, userId: L, userName: h, platId: c } = De(), u = w([]), I = (t) => {
75
+ }, Oe = ["查看", "查看三维模型", "导出paraform", "导出", "导出全部", "导出选中"], Ke = () => {
76
+ const s = V(), r = Re(C), { isSuperAdmin: i, userId: L, userName: h, platId: c } = De(), u = w([]), I = (t) => {
77
77
  const { propertyType: e } = t || {};
78
78
  return e === ze.TABLE.value;
79
79
  }, g = w({}), O = we(() => {
80
80
  var e;
81
81
  return i.value ? !0 : ((e = g.value) == null ? void 0 : e.status) === d.EDITABLE.value;
82
- }), j = (t) => {
82
+ }), G = (t) => {
83
83
  var o, l;
84
84
  const e = N(Date.now()), { id: a = 0 } = s.loginUserInfo || {}, n = A(t);
85
85
  return n.update_user_id = a, n.update_user_name = h.value, n.update_time = e, n.checked_ids = ((l = (o = n == null ? void 0 : n.main_ids) == null ? void 0 : o.map) == null ? void 0 : l.call(o, (p) => {
@@ -103,7 +103,7 @@ const Ve = (s) => {
103
103
  delete n.children, e.push(n), o && o.length > 0 && (e = e.concat(x(o)));
104
104
  }
105
105
  return e;
106
- }, G = (t) => {
106
+ }, M = (t) => {
107
107
  let e = [];
108
108
  return t.forEach((a) => {
109
109
  if (a.isPropertyLeaf) {
@@ -137,10 +137,10 @@ const Ve = (s) => {
137
137
  ...D,
138
138
  department_scope: "unlimited"
139
139
  }));
140
- l.main_ids = Ie, l.checked_ids = v.map((D) => D.id), l.params = G(v);
140
+ l.main_ids = Ie, l.checked_ids = v.map((D) => D.id), l.params = M(v);
141
141
  }
142
142
  if (t) {
143
- const v = j(t);
143
+ const v = G(t);
144
144
  l = {
145
145
  ...l,
146
146
  ...v
@@ -153,12 +153,12 @@ const Ve = (s) => {
153
153
  platId: c.value,
154
154
  changeRoleData: e
155
155
  };
156
- }, M = async (t) => await Se({
156
+ }, $ = async (t) => await Se({
157
157
  platId: t
158
- }), $ = async () => {
158
+ }), j = async () => {
159
159
  var e;
160
160
  r.setImportLoading(!0);
161
- const t = await M(c.value).finally(() => {
161
+ const t = await $(c.value).finally(() => {
162
162
  r.setImportLoading(!1);
163
163
  });
164
164
  return (e = t == null ? void 0 : t.data) == null ? void 0 : e.result;
@@ -173,28 +173,28 @@ const Ve = (s) => {
173
173
  pageSizes: [5, 10, 20, 50, 100]
174
174
  }), Q = (t) => {
175
175
  y.value.pageNum = t;
176
- }, K = (t) => {
176
+ }, W = (t) => {
177
177
  y.value.pageSize = t;
178
- }, W = () => ({
178
+ }, K = () => ({
179
179
  platId: c.value,
180
180
  pageNum: y.value.pageNum,
181
181
  pageSize: y.value.pageSize,
182
182
  filter: {
183
183
  ...b.value
184
184
  }
185
- }), J = async (t) => {
185
+ }), X = async (t) => {
186
186
  var a;
187
187
  const e = await ke(t);
188
188
  return (a = e == null ? void 0 : e.data) == null ? void 0 : a.result;
189
- }, X = async () => {
190
- const t = W(), e = await J(t), { total: a } = e || {};
189
+ }, Y = async () => {
190
+ const t = K(), e = await X(t), { total: a } = e || {};
191
191
  return y.value.total = a, e || {};
192
- }, Y = async (t) => {
192
+ }, J = async (t) => {
193
193
  delete t.role_id;
194
194
  const e = T(t);
195
195
  await xe(e);
196
196
  }, Z = async (t) => {
197
- r.setImportLoading(!0), await Y(t).finally(() => {
197
+ r.setImportLoading(!0), await J(t).finally(() => {
198
198
  r.setImportLoading(!1);
199
199
  });
200
200
  }, ee = async (t) => {
@@ -295,7 +295,7 @@ const Ve = (s) => {
295
295
  tableType: F,
296
296
  filter: b.value
297
297
  }, e = await he(t);
298
- return Ve(e), e;
298
+ return Ce(e), e;
299
299
  }, ve = [["名称", "编码", "备注", "状态"]];
300
300
  return {
301
301
  compType: E,
@@ -304,9 +304,9 @@ const Ve = (s) => {
304
304
  resetQuery: H,
305
305
  pageInfo: y,
306
306
  setPageNum: Q,
307
- setPageSize: K,
308
- initGetByPage: X,
309
- initRoleList: $,
307
+ setPageSize: W,
308
+ initGetByPage: Y,
309
+ initRoleList: j,
310
310
  initCreate: Z,
311
311
  initUpdate: te,
312
312
  initDelete: ne,
@@ -335,8 +335,8 @@ export {
335
335
  Ne as a,
336
336
  Fe as e,
337
337
  d as f,
338
- Ve as i,
339
- Ke as o,
338
+ Ce as i,
339
+ We as o,
340
340
  m as s,
341
- We as u
341
+ Ke as u
342
342
  };
@@ -1,8 +1,8 @@
1
1
  import { watch as ze, ref as v, computed as qe, defineComponent as Ue, onMounted as Ae, reactive as $e, resolveComponent as p, createElementBlock as ue, openBlock as pe, createElementVNode as i, createVNode as a, unref as f, withCtx as l, createTextVNode as P, toDisplayString as we, Fragment as Fe, renderList as Re, withModifiers as Me } from "vue";
2
- import { s as G, u as Ge, h as Qe } from "./request-XJsZ4h2T.js";
3
- import { k as de, w as Oe } from "./index-DNQtcpvR.js";
4
- import { s as je, b as He, p as Ie, r as Je, E as Ke, C as be, j as We, c as Xe, u as Ye } from "./index-CCcJa9gc.js";
5
- import { f as Ze, i as et, e as tt, a as ot } from "./index-BS_Hb1O8.js";
2
+ import { s as G, u as Ge, h as Qe } from "./request-B1c8BUkR.js";
3
+ import { k as de, w as Oe } from "./index-DkYe5V3O.js";
4
+ import { s as je, b as He, p as Ie, r as Je, E as Ke, C as be, j as We, c as Xe, u as Ye } from "./index-DqXvOyIs.js";
5
+ import { f as Ze, i as et, e as tt, a as ot } from "./index-D3gtcYfZ.js";
6
6
  import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
7
7
  import { s as at } from "./index-11kpzK0A.js";
8
8
  import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -1,17 +1,16 @@
1
- import { defineComponent as x, ref as I, reactive as N, 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 z, Fragment as H, withDirectives as q, renderSlot as $, vShow as M } from "vue";
2
- import { ae as V } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-BIGp57QB.js";
3
- import { ac as X, az as J, H as D, K as c, N as R, a3 as g } from "./request-XJsZ4h2T.js";
4
- import { ad as K } from "./index-CCcJa9gc.js";
1
+ import { defineComponent as x, ref as I, reactive as T, resolveComponent as v, createElementBlock as E, openBlock as U, createVNode as u, withCtx as d, createElementVNode as l, createTextVNode as h, toDisplayString as N, nextTick as q, Fragment as z, withDirectives as H, renderSlot as $, vShow as M } from "vue";
2
+ import { aj as V } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-BJ-_pgMX.js";
3
+ import { aB as X, ax as J, am as G, a5 as D, a7 as c, a8 as B, ap as g } from "./request-B1c8BUkR.js";
5
4
  import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- const G = "ElUpload";
5
+ const K = "ElUpload";
7
6
  class Q extends Error {
8
- constructor(r, a, n, p) {
9
- super(r), this.name = "UploadAjaxError", this.status = a, this.method = n, this.url = p;
7
+ constructor(r, o, n, p) {
8
+ super(r), this.name = "UploadAjaxError", this.status = o, this.method = n, this.url = p;
10
9
  }
11
10
  }
12
- function B(t, r, a) {
11
+ function R(t, r, o) {
13
12
  let n;
14
- return a.response ? n = `${a.response.error || a.response}` : a.responseText ? n = `${a.responseText}` : n = `fail to ${r.method} ${t} ${a.status}`, new Q(n, a.status, r.method, t);
13
+ return o.response ? n = `${o.response.error || o.response}` : o.responseText ? n = `${o.responseText}` : n = `fail to ${r.method} ${t} ${o.status}`, new Q(n, o.status, r.method, t);
15
14
  }
16
15
  function W(t) {
17
16
  const r = t.responseText || t.response;
@@ -24,8 +23,8 @@ function W(t) {
24
23
  }
25
24
  }
26
25
  const Y = (t) => {
27
- typeof XMLHttpRequest > "u" && X(G, "XMLHttpRequest is undefined");
28
- const r = new XMLHttpRequest(), a = t.action;
26
+ typeof XMLHttpRequest > "u" && X(K, "XMLHttpRequest is undefined");
27
+ const r = new XMLHttpRequest(), o = t.action;
29
28
  r.upload && r.upload.addEventListener("progress", (e) => {
30
29
  const i = e;
31
30
  i.percent = e.total > 0 ? e.loaded / e.total * 100 : 0, t.onProgress(i);
@@ -35,18 +34,18 @@ const Y = (t) => {
35
34
  for (const [e, i] of Object.entries(t.data))
36
35
  J(i) && i.length ? n.append(e, ...i) : n.append(e, i);
37
36
  n.append(t.filename, t.file, t.file.name), r.addEventListener("error", () => {
38
- t.onError(B(a, t, r));
37
+ t.onError(R(o, t, r));
39
38
  }), r.addEventListener("load", () => {
40
39
  if (r.status < 200 || r.status >= 300)
41
- return t.onError(B(a, t, r));
40
+ return t.onError(R(o, t, r));
42
41
  t.onSuccess(W(r));
43
- }), r.open(t.method, a, !0), t.withCredentials && "withCredentials" in r && (r.withCredentials = !0);
42
+ }), r.open(t.method, o, !0), t.withCredentials && "withCredentials" in r && (r.withCredentials = !0);
44
43
  const p = t.headers || {};
45
44
  if (p instanceof Headers)
46
45
  p.forEach((e, i) => r.setRequestHeader(i, e));
47
46
  else
48
47
  for (const [e, i] of Object.entries(p))
49
- K(i) || r.setRequestHeader(e, String(i));
48
+ G(i) || r.setRequestHeader(e, String(i));
50
49
  return r.send(n), r;
51
50
  }, Z = ["text", "picture", "picture-card"];
52
51
  let ee = 1;
@@ -64,7 +63,7 @@ const te = () => Date.now() + ee++, re = D({
64
63
  },
65
64
  data: {
66
65
  type: c([Object, Function, Promise]),
67
- default: () => R({})
66
+ default: () => B({})
68
67
  },
69
68
  multiple: Boolean,
70
69
  name: {
@@ -83,7 +82,7 @@ const te = () => Date.now() + ee++, re = D({
83
82
  },
84
83
  fileList: {
85
84
  type: c(Array),
86
- default: () => R([])
85
+ default: () => B([])
87
86
  },
88
87
  autoUpload: {
89
88
  type: Boolean,
@@ -100,8 +99,7 @@ const te = () => Date.now() + ee++, re = D({
100
99
  },
101
100
  disabled: Boolean,
102
101
  limit: Number
103
- });
104
- D({
102
+ }), Ce = D({
105
103
  ...re,
106
104
  beforeUpload: {
107
105
  type: c(Function),
@@ -141,8 +139,7 @@ D({
141
139
  crossorigin: {
142
140
  type: c(String)
143
141
  }
144
- });
145
- const oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" }, se = { class: "cropper-warp-left" }, ne = ["src"], le = { class: "cropper-warp-right" }, ie = { class: "cropper-warp-right-item" }, ce = { class: "cropper-warp-right-value" }, pe = ["src"], de = { class: "cropper-warp-right-item" }, ue = { class: "cropper-warp-right-value" }, fe = ["src"], ge = { class: "dialog-footer" }, me = /* @__PURE__ */ x({
142
+ }), ae = { style: { "text-align": "left" } }, oe = { class: "cropper-warp" }, se = { class: "cropper-warp-left" }, ne = ["src"], le = { class: "cropper-warp-right" }, ie = { class: "cropper-warp-right-item" }, ce = { class: "cropper-warp-right-value" }, pe = ["src"], de = { class: "cropper-warp-right-item" }, ue = { class: "cropper-warp-right-value" }, fe = ["src"], ge = { class: "dialog-footer" }, me = /* @__PURE__ */ x({
146
143
  __name: "index",
147
144
  props: {
148
145
  title: {
@@ -151,16 +148,16 @@ const oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" },
151
148
  }
152
149
  },
153
150
  emits: ["submitImage", "deleteImage"],
154
- setup(t, { expose: r, emit: a }) {
155
- const n = a, p = I(), e = N({
151
+ setup(t, { expose: r, emit: o }) {
152
+ const n = o, p = I(), e = T({
156
153
  isShowDialog: !1,
157
154
  cropperImg: "",
158
155
  cropperImgBase64: "",
159
156
  cropper: null
160
157
  }), i = async (s) => {
161
158
  if (e.isShowDialog = !0, !s) return;
162
- let o = window.URL || window.webkitURL;
163
- e.cropperImg = o.createObjectURL(s), z(() => {
159
+ let a = window.URL || window.webkitURL;
160
+ e.cropperImg = a.createObjectURL(s), q(() => {
164
161
  k();
165
162
  });
166
163
  }, y = () => {
@@ -190,32 +187,32 @@ const oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" },
190
187
  }
191
188
  });
192
189
  }, S = async () => e != null && e.cropper ? new Promise((s) => {
193
- var o, m;
194
- (m = (o = e == null ? void 0 : e.cropper) == null ? void 0 : o.getCroppedCanvas()) == null || m.toBlob((C) => {
190
+ var a, m;
191
+ (m = (a = e == null ? void 0 : e.cropper) == null ? void 0 : a.getCroppedCanvas()) == null || m.toBlob((C) => {
195
192
  s(C);
196
193
  });
197
194
  }) : (await fetch(e.cropperImg)).blob(), F = async (s) => {
198
195
  var m;
199
- let o = window.URL || window.webkitURL;
200
- e.cropperImg = o.createObjectURL(s.raw), (m = e.cropper) == null || m.replace(e.cropperImg);
196
+ let a = window.URL || window.webkitURL;
197
+ e.cropperImg = a.createObjectURL(s.raw), (m = e.cropper) == null || m.replace(e.cropperImg);
201
198
  }, P = (s) => {
202
199
  p.value.clearFiles();
203
- const o = s[0];
204
- o.uid = te(), p.value.handleStart(o);
200
+ const a = s[0];
201
+ a.uid = te(), p.value.handleStart(a);
205
202
  };
206
203
  return r({
207
204
  openDialog: i
208
- }), (s, o) => {
209
- const m = v("ele-Edit"), C = v("el-icon"), w = v("el-button"), O = v("el-upload"), j = v("el-dialog");
205
+ }), (s, a) => {
206
+ const m = v("ele-Edit"), C = v("el-icon"), w = v("el-button"), j = v("el-upload"), O = v("el-dialog");
210
207
  return U(), E("div", null, [
211
- u(j, {
208
+ u(O, {
212
209
  modelValue: e.isShowDialog,
213
- "onUpdate:modelValue": o[0] || (o[0] = (A) => e.isShowDialog = A),
210
+ "onUpdate:modelValue": a[0] || (a[0] = (A) => e.isShowDialog = A),
214
211
  width: "769px",
215
212
  "before-close": _
216
213
  }, {
217
214
  header: d(() => [
218
- l("div", oe, [
215
+ l("div", ae, [
219
216
  u(C, {
220
217
  size: "16",
221
218
  style: { "margin-right": "3px", display: "inline", "vertical-align": "middle" }
@@ -225,12 +222,12 @@ const oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" },
225
222
  ]),
226
223
  _: 1
227
224
  }),
228
- l("span", null, T(t.title), 1)
225
+ l("span", null, N(t.title), 1)
229
226
  ])
230
227
  ]),
231
228
  footer: d(() => [
232
229
  l("span", ge, [
233
- u(O, {
230
+ u(j, {
234
231
  class: "avatar-uploader",
235
232
  ref_key: "uploadSignRef",
236
233
  ref: p,
@@ -246,7 +243,7 @@ const oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" },
246
243
  type: "info",
247
244
  icon: "ele-Picture"
248
245
  }, {
249
- default: d(() => o[4] || (o[4] = [
246
+ default: d(() => a[4] || (a[4] = [
250
247
  h("选择图片")
251
248
  ])),
252
249
  _: 1,
@@ -260,7 +257,7 @@ const oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" },
260
257
  icon: "ele-Picture",
261
258
  style: { "margin-left": "8px" }
262
259
  }, {
263
- default: d(() => o[5] || (o[5] = [
260
+ default: d(() => a[5] || (a[5] = [
264
261
  h("删除图片")
265
262
  ])),
266
263
  _: 1,
@@ -274,7 +271,7 @@ const oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" },
274
271
  onClick: _,
275
272
  id: "themeBorderButton"
276
273
  }, {
277
- default: d(() => o[6] || (o[6] = [
274
+ default: d(() => a[6] || (a[6] = [
278
275
  h("取 消")
279
276
  ])),
280
277
  _: 1,
@@ -284,7 +281,7 @@ const oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" },
284
281
  onClick: b,
285
282
  id: "themeButton"
286
283
  }, {
287
- default: d(() => o[7] || (o[7] = [
284
+ default: d(() => a[7] || (a[7] = [
288
285
  h("确 定")
289
286
  ])),
290
287
  _: 1,
@@ -294,7 +291,7 @@ const oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" },
294
291
  ])
295
292
  ]),
296
293
  default: d(() => [
297
- l("div", ae, [
294
+ l("div", oe, [
298
295
  l("div", se, [
299
296
  l("img", {
300
297
  src: e.cropperImg,
@@ -302,7 +299,7 @@ const oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" },
302
299
  }, null, 8, ne)
303
300
  ]),
304
301
  l("div", le, [
305
- o[3] || (o[3] = l("div", { class: "cropper-warp-right-title" }, "预览", -1)),
302
+ a[3] || (a[3] = l("div", { class: "cropper-warp-right-title" }, "预览", -1)),
306
303
  l("div", ie, [
307
304
  l("div", ce, [
308
305
  l("img", {
@@ -310,7 +307,7 @@ const oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" },
310
307
  class: "cropper-warp-right-value-img"
311
308
  }, null, 8, pe)
312
309
  ]),
313
- o[1] || (o[1] = l("div", { class: "cropper-warp-right-label" }, "100 x 100", -1))
310
+ a[1] || (a[1] = l("div", { class: "cropper-warp-right-label" }, "100 x 100", -1))
314
311
  ]),
315
312
  l("div", de, [
316
313
  l("div", ue, [
@@ -319,7 +316,7 @@ const oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" },
319
316
  class: "cropper-warp-right-value-img cropper-size"
320
317
  }, null, 8, fe)
321
318
  ]),
322
- o[2] || (o[2] = l("div", { class: "cropper-warp-right-label" }, "50 x 50", -1))
319
+ a[2] || (a[2] = l("div", { class: "cropper-warp-right-label" }, "50 x 50", -1))
323
320
  ])
324
321
  ])
325
322
  ])
@@ -359,9 +356,9 @@ const oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" },
359
356
  },
360
357
  emits: ["submitImage", "deleteImage", "clickAvatar"],
361
358
  setup(t, { emit: r }) {
362
- const a = t, n = I(), p = I(null), e = r, i = () => !0, y = async () => {
359
+ const o = t, n = I(), p = I(null), e = r, i = () => !0, y = async () => {
363
360
  var f;
364
- a != null && a.banClick || (e("clickAvatar", a.avatarUrl), (f = n.value) == null || f.openDialog(a.avatarBlob));
361
+ o != null && o.banClick || (e("clickAvatar", o.avatarUrl), (f = n.value) == null || f.openDialog(o.avatarBlob));
365
362
  }, _ = async (f) => {
366
363
  e("submitImage", f);
367
364
  }, b = async () => {
@@ -369,7 +366,7 @@ const oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" },
369
366
  };
370
367
  return (f, k) => {
371
368
  const S = v("el-avatar");
372
- return U(), E(H, null, [
369
+ return U(), E(z, null, [
373
370
  u(S, {
374
371
  src: t.avatarUrl,
375
372
  onClick: y,
@@ -386,7 +383,7 @@ const oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" },
386
383
  ]),
387
384
  _: 3
388
385
  }, 8, ["src", "size"]),
389
- q(u(ve, {
386
+ H(u(ve, {
390
387
  ref_key: "cropperDialogRef",
391
388
  ref: n,
392
389
  title: "更改头像",
@@ -394,7 +391,7 @@ const oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" },
394
391
  onSubmitImage: _,
395
392
  onDeleteImage: b
396
393
  }, null, 8, ["avatarUrl"]), [
397
- [M, t.showCropper && (a == null ? void 0 : a.clickStop)]
394
+ [M, t.showCropper && (o == null ? void 0 : o.clickStop)]
398
395
  ])
399
396
  ], 64);
400
397
  };
@@ -406,5 +403,9 @@ const oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" },
406
403
  export {
407
404
  _e as A,
408
405
  ve as C,
409
- Ie as i
406
+ re as a,
407
+ Ce as b,
408
+ te as g,
409
+ Ie as i,
410
+ Z as u
410
411
  };
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as m, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as _ } from "vue";
2
- import { S as x } from "./index-i4mEZe21.js";
3
- import { W as B } from "./index-By7enXb2.js";
2
+ import { S as x } from "./index-CQy21X4f.js";
3
+ import { W as B } from "./index-Chp2uU0i.js";
4
4
  import { s as F } from "./index-11kpzK0A.js";
5
- import { b as y } from "./index-BRUinwTd.js";
6
- import { u as S, p as I, s as N } from "./index-CCcJa9gc.js";
5
+ import { b as y } from "./index-7BHtK8gK.js";
6
+ import { u as S, p as I, s as N } from "./index-DqXvOyIs.js";
7
7
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  const E = { class: "menu-module" }, M = {
9
9
  class: "table-wrap",
@@ -1,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 { W as m } from "./index-By7enXb2.js";
3
- import { g as d, c as _ } from "./index-DnXVYmdD.js";
2
+ import { W as m } from "./index-Chp2uU0i.js";
3
+ import { g as d, c as _ } from "./index-B3osj0rP.js";
4
4
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const l = n([]), g = c(() => [
6
6
  {
@@ -1,6 +1,6 @@
1
- import { g as pt, b as Rc, e as ti, a as Nh } from "./index-DUq4XELr.js";
2
- import { s as Lr, c as ae, b as o0, p as Cr, a5 as Bf, u as D0, i as Uf, a as fi } from "./index-CCcJa9gc.js";
3
- import { E as Y0 } from "./request-XJsZ4h2T.js";
1
+ import { g as pt, b as Rc, e as ti, a as Nh } from "./index-YvUJL9Us.js";
2
+ import { s as Lr, c as ae, b as o0, p as Cr, W as Bf, u as D0, i as Uf, a as fi } from "./index-DqXvOyIs.js";
3
+ import { E as Y0 } from "./request-B1c8BUkR.js";
4
4
  import { ref as Oa, reactive as io, computed as is, watch as so } from "vue";
5
5
  import "./JSEncrypt-B36c1iN5.js";
6
6
  const FT = (e, a) => {
@@ -1,7 +1,7 @@
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 } from "./index-DUq4XELr.js";
2
+ import { g as I } from "./index-YvUJL9Us.js";
3
3
  import { useRouter as M } from "vue-router";
4
- import { E as g } from "./request-XJsZ4h2T.js";
4
+ import { E as g } from "./request-B1c8BUkR.js";
5
5
  import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const T = { class: "tenant-wrap" }, $ = { class: "tenant-content" }, q = /* @__PURE__ */ C({
7
7
  __name: "index",