@vancone/console-component 0.1.1-beta.10 → 0.1.1-beta.11

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.
@@ -26,11 +26,11 @@ var we = (e, t, o) => new Promise((n, s) => {
26
26
  }, a = (i) => i.done ? n(i.value) : Promise.resolve(i.value).then(r, l);
27
27
  a((o = o.apply(e, t)).next());
28
28
  });
29
- import { openBlock as p, createElementBlock as M, createElementVNode as b, defineComponent as ve, reactive as ce, resolveComponent as k, createVNode as _, withCtx as m, unref as C, Fragment as oe, renderList as de, toDisplayString as T, normalizeStyle as De, ref as A, onMounted as ft, createCommentVNode as z, createTextVNode as ee, createBlock as N, nextTick as Le, resolveDynamicComponent as tt, effectScope as Vt, markRaw as Pe, toRaw as je, hasInjectionContext as _o, inject as go, getCurrentInstance as bo, watch as Ce, isRef as ze, isReactive as mt, toRef as at, computed as Re, getCurrentScope as vo, onScopeDispose as yo, toRefs as Ct, createStaticVNode as wo, normalizeClass as Mt, resolveDirective as Ut, withDirectives as Tt } from "vue";
29
+ import { openBlock as p, createElementBlock as M, createElementVNode as b, defineComponent as ve, reactive as ce, resolveComponent as k, createVNode as _, withCtx as m, unref as C, Fragment as oe, renderList as de, toDisplayString as D, normalizeStyle as De, ref as A, onMounted as ft, createCommentVNode as z, createTextVNode as ee, createBlock as N, nextTick as Le, resolveDynamicComponent as tt, effectScope as Vt, markRaw as Pe, toRaw as je, hasInjectionContext as _o, inject as go, getCurrentInstance as bo, watch as Ce, isRef as ze, isReactive as mt, toRef as at, computed as Re, getCurrentScope as vo, onScopeDispose as yo, toRefs as Ct, createStaticVNode as wo, normalizeClass as Mt, resolveDirective as Ut, withDirectives as Tt } from "vue";
30
30
  import { useRoute as He, useRouter as rt } from "vue-router";
31
31
  import So from "axios";
32
32
  import { ElMessage as lt, ElMessageBox as Co } from "element-plus";
33
- import { Search as Dt, ArrowRight as ko, Check as Oo, Refresh as Rt, QuestionFilled as Eo, Download as xo, ArrowDown as $o } from "@element-plus/icons-vue";
33
+ import { Search as Dt, ArrowRight as ko, Check as Oo, Refresh as Rt, QuestionFilled as xo, Download as Eo, ArrowDown as $o } from "@element-plus/icons-vue";
34
34
  import { createI18n as Io, useI18n as Je } from "vue-i18n";
35
35
  import { cloneDeep as Te } from "lodash";
36
36
  const _e = (e, t) => {
@@ -169,23 +169,23 @@ const Ho = { render: Bo }, Jo = { class: "app-catalog-wrapper" }, Wo = { class:
169
169
  default: m(() => [
170
170
  b("div", Wo, [
171
171
  (p(!0), M(oe, null, de(t, (d) => (p(), M("div", Yo, [
172
- b("h1", null, T(d.name), 1),
172
+ b("h1", null, D(d.name), 1),
173
173
  b("div", Qo, [
174
- (p(!0), M(oe, null, de(d.apps, (S) => {
175
- var w, V;
174
+ (p(!0), M(oe, null, de(d.apps, (w) => {
175
+ var y, V;
176
176
  return p(), M("a", {
177
- style: De([{ "text-decoration": "none" }, { pointerEvents: ((w = S.homepageUrl) == null ? void 0 : w.length) > 0 ? "auto" : "none" }]),
177
+ style: De([{ "text-decoration": "none" }, { pointerEvents: ((y = w.homepageUrl) == null ? void 0 : y.length) > 0 ? "auto" : "none" }]),
178
178
  target: "_blank",
179
- href: S.homepageUrl
179
+ href: w.homepageUrl
180
180
  }, [
181
- S.iconSvg !== void 0 ? (p(), M("div", {
181
+ w.iconSvg !== void 0 ? (p(), M("div", {
182
182
  key: 0,
183
183
  class: "app-icon",
184
- innerHTML: S.iconSvg
184
+ innerHTML: w.iconSvg
185
185
  }, null, 8, Xo)) : (p(), M("div", Zo, " ")),
186
186
  b("h2", {
187
- style: De({ color: ((V = S.homepageUrl) == null ? void 0 : V.length) > 0 ? "#555" : "#bbb" })
188
- }, T(S.name), 5)
187
+ style: De({ color: ((V = w.homepageUrl) == null ? void 0 : V.length) > 0 ? "#555" : "#bbb" })
188
+ }, D(w.name), 5)
189
189
  ], 12, Ko);
190
190
  }), 256))
191
191
  ])
@@ -353,7 +353,7 @@ function hn(e, t) {
353
353
  }, null, -1)
354
354
  ]));
355
355
  }
356
- const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn = { class: "right" }, yn = { class: "icon-wrapper" }, wn = { class: "user-wrapper" }, Sn = { style: { "font-size": "11px", "font-weight": "bold" } }, Cn = { class: "user-popover-header" }, kn = { style: { "font-size": "15px", "font-weight": "bold" } }, On = ["onClick"], En = /* @__PURE__ */ ve({
356
+ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn = { class: "right" }, yn = { class: "icon-wrapper" }, wn = { class: "user-wrapper" }, Sn = { style: { "font-size": "11px", "font-weight": "bold" } }, Cn = { class: "user-popover-header" }, kn = { style: { "font-size": "15px", "font-weight": "bold" } }, On = ["onClick"], xn = /* @__PURE__ */ ve({
357
357
  __name: "Header",
358
358
  props: {
359
359
  title: {},
@@ -362,7 +362,7 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
362
362
  setup(e) {
363
363
  const { t } = Je(), o = A(), n = A(), s = A(), r = A(), l = A(!1), a = e;
364
364
  A(!1);
365
- const i = A(""), d = A(ot.global.locale), S = ce([
365
+ const i = A(""), d = A(ot.global.locale), w = ce([
366
366
  {
367
367
  id: "en",
368
368
  name: "English"
@@ -373,12 +373,12 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
373
373
  }
374
374
  ]);
375
375
  ft(() => {
376
- i.value = decodeURIComponent(w("passport_username").replace(/\+/g, " ")), i.value === "" && Mo().then(({ data: L }) => {
376
+ i.value = decodeURIComponent(y("passport_username").replace(/\+/g, " ")), i.value === "" && Mo().then(({ data: L }) => {
377
377
  var P;
378
378
  L.code == 0 && (i.value = (P = L.data.name) != null ? P : L.data.displayId);
379
379
  });
380
380
  });
381
- function w(L) {
381
+ function y(L) {
382
382
  for (var P = L + "=", K = document.cookie.split(";"), q = 0; q < K.length; q++) {
383
383
  for (var B = K[q]; B.charAt(0) == " "; ) B = B.substring(1);
384
384
  if (B.indexOf(P) != -1)
@@ -402,7 +402,7 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
402
402
  window.open(a.helpDocUrl, "_blank");
403
403
  }
404
404
  return (L, P) => {
405
- const K = k("el-popover"), q = k("el-tooltip"), B = k("el-avatar"), ne = k("el-menu-item"), v = k("el-icon"), g = k("el-menu"), x = k("el-drawer");
405
+ const K = k("el-popover"), q = k("el-tooltip"), B = k("el-avatar"), ne = k("el-menu-item"), S = k("el-icon"), g = k("el-menu"), E = k("el-drawer");
406
406
  return p(), M(oe, null, [
407
407
  b("div", gn, [
408
408
  b("div", bn, [
@@ -414,7 +414,7 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
414
414
  }, [
415
415
  _(C(an))
416
416
  ], 512),
417
- b("h1", null, T(L.title), 1)
417
+ b("h1", null, D(L.title), 1)
418
418
  ]),
419
419
  _(K, {
420
420
  class: "app-popover",
@@ -480,7 +480,7 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
480
480
  ref: o
481
481
  }, {
482
482
  default: m(() => [
483
- b("span", Sn, T(i.value.substring(0, 2)), 1)
483
+ b("span", Sn, D(i.value.substring(0, 2)), 1)
484
484
  ]),
485
485
  _: 1
486
486
  }, 512),
@@ -501,17 +501,17 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
501
501
  src: ""
502
502
  }, {
503
503
  default: m(() => [
504
- b("span", kn, T(i.value.substring(0, 2)), 1)
504
+ b("span", kn, D(i.value.substring(0, 2)), 1)
505
505
  ]),
506
506
  _: 1
507
507
  }),
508
- b("span", null, T(i.value), 1)
508
+ b("span", null, D(i.value), 1)
509
509
  ]),
510
510
  _(g, { class: "user-menu" }, {
511
511
  default: m(() => [
512
512
  _(ne, { onClick: j }, {
513
513
  default: m(() => [
514
- ee(T(C(t)("common.header.userCenter")), 1)
514
+ ee(D(C(t)("common.header.userCenter")), 1)
515
515
  ]),
516
516
  _: 1
517
517
  }),
@@ -521,8 +521,8 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
521
521
  style: { display: "flext", "justify-content": "space-between" }
522
522
  }, {
523
523
  default: m(() => [
524
- b("span", null, T(C(t)("common.header.switchLanguage")), 1),
525
- _(v, { style: { left: "15px" } }, {
524
+ b("span", null, D(C(t)("common.header.switchLanguage")), 1),
525
+ _(S, { style: { left: "15px" } }, {
526
526
  default: m(() => [
527
527
  _(C(ko))
528
528
  ]),
@@ -543,12 +543,12 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
543
543
  "popper-style": "height: 80px; left: -165px"
544
544
  }, {
545
545
  default: m(() => [
546
- (p(!0), M(oe, null, de(S, (I) => (p(), M("div", {
546
+ (p(!0), M(oe, null, de(w, (I) => (p(), M("div", {
547
547
  class: "select-list",
548
548
  onClick: (u) => U(I.id)
549
549
  }, [
550
- b("span", null, T(I.name), 1),
551
- I.id === d.value ? (p(), N(v, {
550
+ b("span", null, D(I.name), 1),
551
+ I.id === d.value ? (p(), N(S, {
552
552
  key: 0,
553
553
  style: { color: "#8ba74f" }
554
554
  }, {
@@ -563,7 +563,7 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
563
563
  }, 8, ["virtual-ref"]),
564
564
  _(ne, { onClick: V }, {
565
565
  default: m(() => [
566
- ee(T(C(t)("common.header.signOut")), 1)
566
+ ee(D(C(t)("common.header.signOut")), 1)
567
567
  ]),
568
568
  _: 1
569
569
  })
@@ -576,7 +576,7 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
576
576
  ])
577
577
  ])
578
578
  ]),
579
- _(x, {
579
+ _(E, {
580
580
  modelValue: l.value,
581
581
  "onUpdate:modelValue": P[1] || (P[1] = (I) => l.value = I),
582
582
  direction: "rtl",
@@ -585,7 +585,7 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
585
585
  ], 64);
586
586
  };
587
587
  }
588
- }), Lt = /* @__PURE__ */ _e(En, [["__scopeId", "data-v-6fc40dbc"]]), xn = {
588
+ }), Lt = /* @__PURE__ */ _e(xn, [["__scopeId", "data-v-6fc40dbc"]]), En = {
589
589
  class: "menu-icon-wrapper",
590
590
  style: { "margin-left": "3px" }
591
591
  }, $n = { class: "menu-icon-wrapper" }, In = /* @__PURE__ */ ve({
@@ -604,10 +604,10 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
604
604
  title: m(() => {
605
605
  var a, i, d;
606
606
  return [
607
- b("div", xn, [
607
+ b("div", En, [
608
608
  (p(), N(tt((a = o.menu.meta) == null ? void 0 : a.icon), { class: "menu-icon" }))
609
609
  ]),
610
- b("span", null, T(o.$t((d = (i = o.menu.meta) == null ? void 0 : i.title) != null ? d : "")), 1)
610
+ b("span", null, D(o.$t((d = (i = o.menu.meta) == null ? void 0 : i.title) != null ? d : "")), 1)
611
611
  ];
612
612
  }),
613
613
  default: m(() => [
@@ -626,7 +626,7 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
626
626
  title: m(() => {
627
627
  var a, i;
628
628
  return [
629
- b("span", null, T(o.$t((i = (a = o.menu.meta) == null ? void 0 : a.title) != null ? i : "")), 1)
629
+ b("span", null, D(o.$t((i = (a = o.menu.meta) == null ? void 0 : a.title) != null ? i : "")), 1)
630
630
  ];
631
631
  }),
632
632
  default: m(() => {
@@ -1096,8 +1096,8 @@ function Zn(e, t) {
1096
1096
  value: a._getters.reduce((i, d) => {
1097
1097
  try {
1098
1098
  i[d] = a[d];
1099
- } catch (S) {
1100
- i[d] = S;
1099
+ } catch (w) {
1100
+ i[d] = w;
1101
1101
  }
1102
1102
  return i;
1103
1103
  }, {})
@@ -1163,7 +1163,7 @@ function es(e, t) {
1163
1163
  }, (o) => {
1164
1164
  const n = typeof o.now == "function" ? o.now.bind(o) : Date.now;
1165
1165
  t.$onAction(({ after: l, onError: a, name: i, args: d }) => {
1166
- const S = Zt++;
1166
+ const w = Zt++;
1167
1167
  o.addTimelineEvent({
1168
1168
  layerId: Ie,
1169
1169
  event: {
@@ -1175,9 +1175,9 @@ function es(e, t) {
1175
1175
  action: be(i),
1176
1176
  args: d
1177
1177
  },
1178
- groupId: S
1178
+ groupId: w
1179
1179
  }
1180
- }), l((w) => {
1180
+ }), l((y) => {
1181
1181
  Oe = void 0, o.addTimelineEvent({
1182
1182
  layerId: Ie,
1183
1183
  event: {
@@ -1188,12 +1188,12 @@ function es(e, t) {
1188
1188
  store: be(t.$id),
1189
1189
  action: be(i),
1190
1190
  args: d,
1191
- result: w
1191
+ result: y
1192
1192
  },
1193
- groupId: S
1193
+ groupId: w
1194
1194
  }
1195
1195
  });
1196
- }), a((w) => {
1196
+ }), a((y) => {
1197
1197
  Oe = void 0, o.addTimelineEvent({
1198
1198
  layerId: Ie,
1199
1199
  event: {
@@ -1205,9 +1205,9 @@ function es(e, t) {
1205
1205
  store: be(t.$id),
1206
1206
  action: be(i),
1207
1207
  args: d,
1208
- error: w
1208
+ error: y
1209
1209
  },
1210
- groupId: S
1210
+ groupId: w
1211
1211
  }
1212
1212
  });
1213
1213
  });
@@ -1270,7 +1270,7 @@ function es(e, t) {
1270
1270
  });
1271
1271
  }
1272
1272
  let Zt = 0, Oe;
1273
- function Et(e, t, o) {
1273
+ function xt(e, t, o) {
1274
1274
  const n = t.reduce((s, r) => (s[r] = je(e)[r], s), {});
1275
1275
  for (const s in n)
1276
1276
  e[s] = function() {
@@ -1290,10 +1290,10 @@ function Et(e, t, o) {
1290
1290
  function ts({ app: e, store: t, options: o }) {
1291
1291
  if (!t.$id.startsWith("__hot:")) {
1292
1292
  if (t._isOptionsAPI = !!o.state, !t._p._testing) {
1293
- Et(t, Object.keys(o.actions), t._isOptionsAPI);
1293
+ xt(t, Object.keys(o.actions), t._isOptionsAPI);
1294
1294
  const n = t._hotUpdate;
1295
1295
  je(t)._hotUpdate = function(s) {
1296
- n.apply(this, arguments), Et(t, Object.keys(s._hmrPayload.actions), !!t._isOptionsAPI);
1296
+ n.apply(this, arguments), xt(t, Object.keys(s._hmrPayload.actions), !!t._isOptionsAPI);
1297
1297
  };
1298
1298
  }
1299
1299
  es(
@@ -1335,7 +1335,7 @@ function eo(e, t) {
1335
1335
  }
1336
1336
  const to = () => {
1337
1337
  };
1338
- function xt(e, t, o, n = to) {
1338
+ function Et(e, t, o, n = to) {
1339
1339
  e.push(t);
1340
1340
  const s = () => {
1341
1341
  const r = e.indexOf(t);
@@ -1375,15 +1375,15 @@ function Pt(e, t, o, n) {
1375
1375
  let i;
1376
1376
  function d() {
1377
1377
  !a && (process.env.NODE_ENV === "production" || !n) && (o.state.value[e] = s ? s() : {});
1378
- const S = process.env.NODE_ENV !== "production" && n ? (
1378
+ const w = process.env.NODE_ENV !== "production" && n ? (
1379
1379
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
1380
1380
  Ct(A(s ? s() : {}).value)
1381
1381
  ) : Ct(o.state.value[e]);
1382
- return fe(S, r, Object.keys(l || {}).reduce((w, V) => (process.env.NODE_ENV !== "production" && V in S && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${V}" in store "${e}".`), w[V] = Pe(Re(() => {
1382
+ return fe(w, r, Object.keys(l || {}).reduce((y, V) => (process.env.NODE_ENV !== "production" && V in w && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${V}" in store "${e}".`), y[V] = Pe(Re(() => {
1383
1383
  qe(o);
1384
1384
  const U = o._s.get(e);
1385
1385
  return l[V].call(U, U);
1386
- })), w), {}));
1386
+ })), y), {}));
1387
1387
  }
1388
1388
  return i = pt(e, d, t, o, n, !0), i;
1389
1389
  }
@@ -1396,14 +1396,14 @@ function pt(e, t, o = {}, n, s, r) {
1396
1396
  process.env.NODE_ENV !== "production" && !jt && (i.onTrigger = (u) => {
1397
1397
  d ? U = u : d == !1 && !g._hotUpdating && (Array.isArray(U) ? U.push(u) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
1398
1398
  });
1399
- let d, S, w = [], V = [], U;
1399
+ let d, w, y = [], V = [], U;
1400
1400
  const j = n.state.value[e];
1401
1401
  !r && !j && (process.env.NODE_ENV === "production" || !s) && (n.state.value[e] = {});
1402
1402
  const R = A({});
1403
1403
  let L;
1404
1404
  function P(u) {
1405
1405
  let c;
1406
- d = S = !1, process.env.NODE_ENV !== "production" && (U = []), typeof u == "function" ? (u(n.state.value[e]), c = {
1406
+ d = w = !1, process.env.NODE_ENV !== "production" && (U = []), typeof u == "function" ? (u(n.state.value[e]), c = {
1407
1407
  type: ye.patchFunction,
1408
1408
  storeId: e,
1409
1409
  events: U
@@ -1413,15 +1413,15 @@ function pt(e, t, o = {}, n, s, r) {
1413
1413
  storeId: e,
1414
1414
  events: U
1415
1415
  });
1416
- const y = L = Symbol();
1416
+ const v = L = Symbol();
1417
1417
  Le().then(() => {
1418
- L === y && (d = !0);
1419
- }), S = !0, Me(w, c, n.state.value[e]);
1418
+ L === v && (d = !0);
1419
+ }), w = !0, Me(y, c, n.state.value[e]);
1420
1420
  }
1421
1421
  const K = r ? function() {
1422
- const { state: c } = o, y = c ? c() : {};
1422
+ const { state: c } = o, v = c ? c() : {};
1423
1423
  this.$patch(($) => {
1424
- fe($, y);
1424
+ fe($, v);
1425
1425
  });
1426
1426
  } : (
1427
1427
  /* istanbul ignore next */
@@ -1430,12 +1430,12 @@ function pt(e, t, o = {}, n, s, r) {
1430
1430
  } : to
1431
1431
  );
1432
1432
  function q() {
1433
- l.stop(), w = [], V = [], n._s.delete(e);
1433
+ l.stop(), y = [], V = [], n._s.delete(e);
1434
1434
  }
1435
1435
  const B = (u, c = "") => {
1436
1436
  if ($t in u)
1437
1437
  return u[ct] = c, u;
1438
- const y = function() {
1438
+ const v = function() {
1439
1439
  qe(n);
1440
1440
  const $ = Array.from(arguments), F = [], H = [];
1441
1441
  function G(f) {
@@ -1446,41 +1446,41 @@ function pt(e, t, o = {}, n, s, r) {
1446
1446
  }
1447
1447
  Me(V, {
1448
1448
  args: $,
1449
- name: y[ct],
1449
+ name: v[ct],
1450
1450
  store: g,
1451
1451
  after: G,
1452
1452
  onError: h
1453
1453
  });
1454
- let E;
1454
+ let x;
1455
1455
  try {
1456
- E = u.apply(this && this.$id === e ? this : g, $);
1456
+ x = u.apply(this && this.$id === e ? this : g, $);
1457
1457
  } catch (f) {
1458
1458
  throw Me(H, f), f;
1459
1459
  }
1460
- return E instanceof Promise ? E.then((f) => (Me(F, f), f)).catch((f) => (Me(H, f), Promise.reject(f))) : (Me(F, E), E);
1460
+ return x instanceof Promise ? x.then((f) => (Me(F, f), f)).catch((f) => (Me(H, f), Promise.reject(f))) : (Me(F, x), x);
1461
1461
  };
1462
- return y[$t] = !0, y[ct] = c, y;
1462
+ return v[$t] = !0, v[ct] = c, v;
1463
1463
  }, ne = /* @__PURE__ */ Pe({
1464
1464
  actions: {},
1465
1465
  getters: {},
1466
1466
  state: [],
1467
1467
  hotState: R
1468
- }), v = {
1468
+ }), S = {
1469
1469
  _p: n,
1470
1470
  // _s: scope,
1471
1471
  $id: e,
1472
- $onAction: xt.bind(null, V),
1472
+ $onAction: Et.bind(null, V),
1473
1473
  $patch: P,
1474
1474
  $reset: K,
1475
1475
  $subscribe(u, c = {}) {
1476
- const y = xt(w, u, c.detached, () => $()), $ = l.run(() => Ce(() => n.state.value[e], (F) => {
1477
- (c.flush === "sync" ? S : d) && u({
1476
+ const v = Et(y, u, c.detached, () => $()), $ = l.run(() => Ce(() => n.state.value[e], (F) => {
1477
+ (c.flush === "sync" ? w : d) && u({
1478
1478
  storeId: e,
1479
1479
  type: ye.direct,
1480
1480
  events: U
1481
1481
  }, F);
1482
1482
  }, fe({}, i, c)));
1483
- return y;
1483
+ return v;
1484
1484
  },
1485
1485
  $dispose: q
1486
1486
  }, g = ce(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ne ? fe(
@@ -1489,10 +1489,10 @@ function pt(e, t, o = {}, n, s, r) {
1489
1489
  _customProperties: Pe(/* @__PURE__ */ new Set())
1490
1490
  // devtools custom properties
1491
1491
  },
1492
- v
1492
+ S
1493
1493
  // must be added later
1494
1494
  // setupStore
1495
- ) : v);
1495
+ ) : S);
1496
1496
  n._s.set(e, g);
1497
1497
  const I = (n._a && n._a.runWithContext || ns)(() => n._e.run(() => (l = Vt()).run(() => t({ action: B }))));
1498
1498
  for (const u in I) {
@@ -1500,8 +1500,8 @@ function pt(e, t, o = {}, n, s, r) {
1500
1500
  if (ze(c) && !It(c) || mt(c))
1501
1501
  process.env.NODE_ENV !== "production" && s ? Qe(R.value, u, at(I, u)) : r || (j && rs(c) && (ze(c) ? c.value = j[u] : dt(c, j[u])), n.state.value[e][u] = c), process.env.NODE_ENV !== "production" && ne.state.push(u);
1502
1502
  else if (typeof c == "function") {
1503
- const y = process.env.NODE_ENV !== "production" && s ? c : B(c, u);
1504
- I[u] = y, process.env.NODE_ENV !== "production" && (ne.actions[u] = c), a.actions[u] = c;
1503
+ const v = process.env.NODE_ENV !== "production" && s ? c : B(c, u);
1504
+ I[u] = v, process.env.NODE_ENV !== "production" && (ne.actions[u] = c), a.actions[u] = c;
1505
1505
  } else process.env.NODE_ENV !== "production" && It(c) && (ne.getters[u] = r ? (
1506
1506
  // @ts-expect-error
1507
1507
  o.getters[u]
@@ -1520,24 +1520,24 @@ function pt(e, t, o = {}, n, s, r) {
1520
1520
  }), process.env.NODE_ENV !== "production" && (g._hotUpdate = Pe((u) => {
1521
1521
  g._hotUpdating = !0, u._hmrPayload.state.forEach((c) => {
1522
1522
  if (c in g.$state) {
1523
- const y = u.$state[c], $ = g.$state[c];
1524
- typeof y == "object" && Ae(y) && Ae($) ? eo(y, $) : u.$state[c] = $;
1523
+ const v = u.$state[c], $ = g.$state[c];
1524
+ typeof v == "object" && Ae(v) && Ae($) ? eo(v, $) : u.$state[c] = $;
1525
1525
  }
1526
1526
  Qe(g, c, at(u.$state, c));
1527
1527
  }), Object.keys(g.$state).forEach((c) => {
1528
1528
  c in u.$state || it(g, c);
1529
- }), d = !1, S = !1, n.state.value[e] = at(u._hmrPayload, "hotState"), S = !0, Le().then(() => {
1529
+ }), d = !1, w = !1, n.state.value[e] = at(u._hmrPayload, "hotState"), w = !0, Le().then(() => {
1530
1530
  d = !0;
1531
1531
  });
1532
1532
  for (const c in u._hmrPayload.actions) {
1533
- const y = u[c];
1534
- Qe(g, c, B(y, c));
1533
+ const v = u[c];
1534
+ Qe(g, c, B(v, c));
1535
1535
  }
1536
1536
  for (const c in u._hmrPayload.getters) {
1537
- const y = u._hmrPayload.getters[c], $ = r ? (
1537
+ const v = u._hmrPayload.getters[c], $ = r ? (
1538
1538
  // special handling of options api
1539
- Re(() => (qe(n), y.call(g, g)))
1540
- ) : y;
1539
+ Re(() => (qe(n), v.call(g, g)))
1540
+ ) : v;
1541
1541
  Qe(g, c, $);
1542
1542
  }
1543
1543
  Object.keys(g._hmrPayload.getters).forEach((c) => {
@@ -1564,7 +1564,7 @@ function pt(e, t, o = {}, n, s, r) {
1564
1564
  pinia: n,
1565
1565
  options: a
1566
1566
  }));
1567
- Object.keys(c || {}).forEach((y) => g._customProperties.add(y)), fe(g, c);
1567
+ Object.keys(c || {}).forEach((v) => g._customProperties.add(v)), fe(g, c);
1568
1568
  } else
1569
1569
  fe(g, l.run(() => u({
1570
1570
  store: g,
@@ -1574,7 +1574,7 @@ function pt(e, t, o = {}, n, s, r) {
1574
1574
  })));
1575
1575
  }), process.env.NODE_ENV !== "production" && g.$state && typeof g.$state == "object" && typeof g.$state.constructor == "function" && !g.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
1576
1576
  state: () => new MyClass()
1577
- Found in store "${g.$id}".`), j && r && o.hydrate && o.hydrate(g.$state, j), d = !0, S = !0, g;
1577
+ Found in store "${g.$id}".`), j && r && o.hydrate && o.hydrate(g.$state, j), d = !0, w = !0, g;
1578
1578
  }
1579
1579
  /*! #__NO_SIDE_EFFECTS__ */
1580
1580
  // @__NO_SIDE_EFFECTS__
@@ -1591,20 +1591,20 @@ function as(e, t, o) {
1591
1591
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
1592
1592
  This will fail in production.`);
1593
1593
  a = Ge, a._s.has(n) || (r ? pt(n, t, s, a) : Pt(n, s, a), process.env.NODE_ENV !== "production" && (l._pinia = a));
1594
- const S = a._s.get(n);
1594
+ const w = a._s.get(n);
1595
1595
  if (process.env.NODE_ENV !== "production" && i) {
1596
- const w = "__hot:" + n, V = r ? pt(w, t, s, a, !0) : Pt(w, fe({}, s), a, !0);
1597
- i._hotUpdate(V), delete a.state.value[w], a._s.delete(w);
1596
+ const y = "__hot:" + n, V = r ? pt(y, t, s, a, !0) : Pt(y, fe({}, s), a, !0);
1597
+ i._hotUpdate(V), delete a.state.value[y], a._s.delete(y);
1598
1598
  }
1599
1599
  if (process.env.NODE_ENV !== "production" && Ne) {
1600
- const w = bo();
1601
- if (w && w.proxy && // avoid adding stores that are just built for hot module replacement
1600
+ const y = bo();
1601
+ if (y && y.proxy && // avoid adding stores that are just built for hot module replacement
1602
1602
  !i) {
1603
- const V = w.proxy, U = "_pStores" in V ? V._pStores : V._pStores = {};
1604
- U[n] = S;
1603
+ const V = y.proxy, U = "_pStores" in V ? V._pStores : V._pStores = {};
1604
+ U[n] = w;
1605
1605
  }
1606
1606
  }
1607
- return S;
1607
+ return w;
1608
1608
  }
1609
1609
  return l.$id = n, l;
1610
1610
  }
@@ -1729,17 +1729,17 @@ function Nt(e, {
1729
1729
  omit: l,
1730
1730
  beforeHydrate: a,
1731
1731
  afterHydrate: i
1732
- }, d, S = !0) {
1732
+ }, d, w = !0) {
1733
1733
  try {
1734
- S && (a == null || a(d));
1735
- const w = t.getItem(n);
1736
- if (w) {
1737
- const V = o.deserialize(w), U = r ? no(V, r) : V, j = l ? so(U, l) : U;
1734
+ w && (a == null || a(d));
1735
+ const y = t.getItem(n);
1736
+ if (y) {
1737
+ const V = o.deserialize(y), U = r ? no(V, r) : V, j = l ? so(U, l) : U;
1738
1738
  e.$patch(j);
1739
1739
  }
1740
- S && (i == null || i(d));
1741
- } catch (w) {
1742
- s && console.error("[pinia-plugin-persistedstate]", w);
1740
+ w && (i == null || i(d));
1741
+ } catch (y) {
1742
+ s && console.error("[pinia-plugin-persistedstate]", y);
1743
1743
  }
1744
1744
  }
1745
1745
  function At(e, {
@@ -1777,7 +1777,7 @@ function ms(e, t, o) {
1777
1777
  });
1778
1778
  }, a.forEach((i) => {
1779
1779
  Nt(s, i, e), s.$subscribe(
1780
- (d, S) => At(S, i),
1780
+ (d, w) => At(w, i),
1781
1781
  { detached: !0 }
1782
1782
  );
1783
1783
  });
@@ -1788,15 +1788,15 @@ function hs(e = {}) {
1788
1788
  ms(
1789
1789
  t,
1790
1790
  (n) => {
1791
- var s, r, l, a, i, d, S;
1791
+ var s, r, l, a, i, d, w;
1792
1792
  return {
1793
- key: (e.key ? e.key : (w) => w)((s = n.key) != null ? s : t.store.$id),
1793
+ key: (e.key ? e.key : (y) => y)((s = n.key) != null ? s : t.store.$id),
1794
1794
  debug: (l = (r = n.debug) != null ? r : e.debug) != null ? l : !1,
1795
1795
  serializer: (i = (a = n.serializer) != null ? a : e.serializer) != null ? i : {
1796
- serialize: (w) => JSON.stringify(w),
1797
- deserialize: (w) => ps(w)
1796
+ serialize: (y) => JSON.stringify(y),
1797
+ deserialize: (y) => ps(y)
1798
1798
  },
1799
- storage: (S = (d = n.storage) != null ? d : e.storage) != null ? S : window.localStorage,
1799
+ storage: (w = (d = n.storage) != null ? d : e.storage) != null ? w : window.localStorage,
1800
1800
  beforeHydrate: n.beforeHydrate,
1801
1801
  afterHydrate: n.afterHydrate,
1802
1802
  pick: n.pick,
@@ -1876,7 +1876,7 @@ const ro = /* @__PURE__ */ as("console", {
1876
1876
  C(o).query.embedded !== "true" ? (p(), N(ao, {
1877
1877
  key: 0,
1878
1878
  menuCollapsed: n.value,
1879
- "onUpdate:menuCollapsed": a[0] || (a[0] = (S) => n.value = S)
1879
+ "onUpdate:menuCollapsed": a[0] || (a[0] = (w) => n.value = w)
1880
1880
  }, null, 8, ["menuCollapsed"])) : z("", !0),
1881
1881
  _(d, { class: "main-scrollbar" }, {
1882
1882
  default: m(() => [
@@ -1904,12 +1904,12 @@ function Ss(e, t) {
1904
1904
  wo('<defs><linearGradient id="a" x1="399.126" x2="399.126" y1="159.978" y2="715.47" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4f2fb"></stop><stop offset="1" stop-color="#e1eef5"></stop></linearGradient><linearGradient id="b" x1="481.607" x2="481.607" y1="594.251" y2="423.306" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".362" stop-color="#b4c9db"></stop><stop offset=".898" stop-color="#ecf0f9"></stop></linearGradient><linearGradient id="c" x1="114.87" x2="114.87" y1="540.843" y2="403.668" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="d" x1="114.872" x2="114.872" y1="418.9" y2="570.033" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="e" x1="615.999" x2="615.999" y1="449.321" y2="360.996" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="f" x1="616" x2="616" y1="370.804" y2="468.116" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="g" x1="672.709" x2="672.709" y1="544.867" y2="510.536" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="h" x1="672.77" x2="672.77" y1="514.871" y2="570.135" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="i" x1="461.917" x2="427.163" y1="86.714" y2="146.91" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ffdb80"></stop><stop offset="1" stop-color="#ffbb24"></stop></linearGradient><linearGradient id="j" x1="419.58" x2="419.58" y1="117.18" y2="174.634" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f9fafe"></stop><stop offset="1" stop-color="#e5edf7"></stop></linearGradient><linearGradient id="k" x1="-1967.352" x2="-2213.626" y1="525.737" y2="279.463" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#9fb6cc"></stop><stop offset="1" stop-color="#d5e1f2"></stop></linearGradient><linearGradient id="l" x1="-1980.099" x2="-2214.789" y1="526.438" y2="291.748" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#b6cadc"></stop><stop offset="1" stop-color="#dfe8f9"></stop></linearGradient><linearGradient id="m" x1="441.358" x2="329.96" y1="472.657" y2="361.259" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#9fb6cc"></stop><stop offset="1" stop-color="#bccde1"></stop></linearGradient><linearGradient id="n" x1="569.328" x2="454.912" y1="597.606" y2="483.19" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#afc5d8"></stop><stop offset="1" stop-color="#dfe8f9"></stop></linearGradient><linearGradient id="o" x1="562.331" x2="453.712" y1="598.807" y2="490.188" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#c7d4e5"></stop><stop offset=".687" stop-color="#e8eff8"></stop></linearGradient><linearGradient id="p" x1="219.375" x2="219.375" y1="553.783" y2="478.333" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffb32c"></stop></linearGradient><linearGradient id="q" x1="220.421" x2="220.421" y1="465.465" y2="489.367" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4ae98"></stop><stop offset="1" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="r" x1="-840.016" x2="-828.333" y1="946.367" y2="864.11" gradientTransform="rotate(-8.082 -3028.264 -6569.32)" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffa91f"></stop></linearGradient><linearGradient id="s" x1="-7035.52" x2="-7023.838" y1="66.46" y2="-15.798" gradientTransform="scale(-1 1)rotate(-8.082 -118.132 -47761.005)" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffa91f"></stop></linearGradient><linearGradient id="t" x1="219.375" x2="219.375" y1="526.535" y2="574.482" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#275c89"></stop><stop offset="1" stop-color="#013f7c"></stop></linearGradient><linearGradient id="u" x1="6174.812" x2="6157.838" y1="595.174" y2="595.174" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="v" x1="196.36" x2="283.925" y1="576.466" y2="576.466" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#18264b"></stop><stop offset=".652" stop-color="#2d3c65"></stop></linearGradient><linearGradient id="w" x1="176.617" x2="176.617" y1="604.946" y2="586.928" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4673bc"></stop><stop offset=".652" stop-color="#6a94e0"></stop></linearGradient><linearGradient id="x" x1="238.667" x2="255.641" y1="595.174" y2="595.174" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="y" x1="158.041" x2="245.606" y1="576.466" y2="576.466" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#445677"></stop><stop offset="1" stop-color="#293861"></stop></linearGradient><linearGradient id="z" x1="265.35" x2="265.35" y1="604.946" y2="586.928" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4673bc"></stop><stop offset=".652" stop-color="#6a94e0"></stop></linearGradient><linearGradient id="A" x1="236.065" x2="204.828" y1="459.983" y2="459.983" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="B" x1="200.53" x2="236.795" y1="447.908" y2="447.908" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4f5c7c"></stop><stop offset="1" stop-color="#274168"></stop></linearGradient></defs><path fill="url(#a)" d="M482.38 201.33c-38.37 30.29-120.74 33.81-181.17-2.22s-172-31.38-202.22 34.87 37.19 131.33 12.78 178.98S6.01 528.01 61.8 609.36s126.6 60.62 169.22 52.45c84.17-16.13 189.79 115.67 308.62 16.13 68.47-57.35 170.44 42.09 210.17-81.36 32.78-101.86-85.67-139.5-49.97-208.03 37.96-72.88 30.67-159.24-10.46-201.06-38.31-38.96-140.75-38.46-207 13.84"></path><path fill="url(#b)" d="M393.48 423.31h216.44l-22.53 49.03s59.19 57.86-14.13 121.91c-134.28-44.17-221.74-37.1-219.98-38.87 1.77-1.77 40.2-132.07 40.2-132.07"></path><path fill="url(#c)" d="M115.65 403.91s-.22-.57-.52.04c-2.7 5.49-27.15 64.96-29.09 110.86 0 0-4.08 26.37 30.11 26.02 28.54-.29 27.78-24.6 27.68-32.79-.38-33.22-28.18-104.13-28.18-104.13"></path><path fill="url(#d)" d="M114.87 570.03c-.55 0-1-.45-1-1V419.9c0-.55.45-1 1-1s1 .45 1 1v149.13c0 .56-.45 1-1 1"></path><path fill="url(#e)" d="M616.5 361.15s-.14-.37-.33.03c-1.74 3.53-17.48 41.83-18.73 71.38 0 0-2.63 16.98 19.39 16.76 18.38-.18 17.89-15.84 17.82-21.11-.25-21.4-18.15-67.06-18.15-67.06"></path><path fill="url(#f)" d="M616 468.12c-.36 0-.64-.29-.64-.64v-96.02c0-.36.29-.64.64-.64.36 0 .64.29.64.64v96.02c0 .35-.28.64-.64.64"></path><path fill="url(#g)" d="M689.88 527.7c0 9.48-7.69 17.17-17.17 17.17s-17.17-7.69-17.17-17.17 7.69-17.17 17.17-17.17 17.17 7.69 17.17 17.17"></path><path fill="url(#h)" d="M672.77 570.13c-.29 0-.53-.24-.53-.53v-54.2c0-.29.24-.53.53-.53s.53.24.53.53v54.21c0 .29-.24.52-.53.52"></path><path fill="url(#i)" d="M479.29 116.81c0 19.19-15.56 34.75-34.75 34.75s-34.75-15.56-34.75-34.75 15.56-34.75 34.75-34.75 34.75 15.56 34.75 34.75"></path><path fill="url(#j)" d="M464.32 135.76h-34.57c-2.23-10.61-11.65-18.58-22.93-18.58s-20.69 7.97-22.93 18.58h-9.05c-10.73 0-19.44 8.7-19.44 19.44 0 10.73 8.7 19.44 19.44 19.44h89.47c10.73 0 19.44-8.7 19.44-19.44s-8.7-19.44-19.43-19.44"></path><path fill="url(#k)" d="M235.65 388.64c0-24.52-.03-49.03.01-73.54.02-14.37 4.24-18.36 17.97-20.53 41.87-6.61 82.03-18.72 117.91-42.29 10.38-6.82 18.3-7.59 29.06-.47 34.85 23.06 73.26 37.11 114.55 42.8 13.12 1.81 16.84 5.88 16.85 19.25.04 45.72-.4 91.44.18 137.15.34 26.77-8.17 49.99-24.02 70.73-31.46 41.17-74.88 63.76-122.21 80.03-2.5.86-5.83.67-8.36-.23-38.47-13.74-74.58-31.84-104.15-61.09-22.97-22.73-37.84-49.56-37.79-83.22.03-22.87 0-45.73 0-68.59"></path><path fill="url(#l)" d="M234.76 396.09c0-23.21-.03-46.42.01-69.63.02-13.61 4.06-17.38 17.23-19.43 40.15-6.26 78.67-17.72 113.07-40.04 9.95-6.46 17.55-7.18 27.86-.44 33.42 21.83 70.25 35.14 109.84 40.52 12.58 1.71 16.14 5.56 16.15 18.22.03 43.28-.38 86.57.18 129.84.33 25.34-7.83 47.33-23.03 66.96-30.17 38.98-71.81 60.36-117.19 75.77-2.4.81-5.59.64-8.01-.22-36.89-13.01-71.52-30.14-99.87-57.84-22.03-21.52-36.28-46.91-36.23-78.78.02-21.65 0-43.29-.01-64.93"></path><path fill="url(#m)" d="M398.42 430.39c23.18-5.61 40.41-26.11 40.41-50.49 0-28.68-23.85-52.01-53.17-52.01s-53.17 23.33-53.17 52.01c0 24.38 17.24 44.88 40.41 50.49v85.2h25.52v-36.38h32.67v-24.96h-32.67zM358 379.91c0-14.91 12.41-27.05 27.65-27.05S413.3 365 413.3 379.91s-12.41 27.05-27.65 27.05S358 394.82 358 379.91"></path><path fill="#fff" d="M394.5 433.67c21.8-5.39 38.01-25.1 38.01-48.54 0-27.58-22.43-50.01-50.01-50.01s-50.01 22.43-50.01 50.01c0 23.44 16.21 43.15 38.01 48.54v81.92h24v-34.98h30.73v-24H394.5zm-38.01-48.54c0-14.34 11.67-26.01 26.01-26.01s26.01 11.67 26.01 26.01-11.67 26.01-26.01 26.01-26.01-11.67-26.01-26.01"></path><path fill="url(#n)" d="M593.02 540.4c0 44.68-36.22 80.9-80.9 80.9s-80.9-36.22-80.9-80.9 36.22-80.9 80.9-80.9 80.9 36.22 80.9 80.9"></path><path fill="url(#o)" d="M584.83 544.5c0 42.42-34.39 76.81-76.81 76.81s-76.81-34.39-76.81-76.81 34.39-76.81 76.81-76.81 76.81 34.39 76.81 76.81"></path><path fill="#fff" d="m525.32 542.26 23.01-23.01c4.44-4.44 4.44-11.63 0-16.06-4.44-4.44-11.63-4.44-16.06 0l-23.01 23.01-23.01-23.01c-4.44-4.44-11.63-4.44-16.06 0-4.44 4.44-4.44 11.63 0 16.06l23.01 23.01-23.01 23.01c-4.44 4.44-4.44 11.63 0 16.06 2.22 2.22 5.13 3.33 8.03 3.33s5.81-1.11 8.03-3.33l23.01-23.01 23.01 23.01c2.22 2.22 5.13 3.33 8.03 3.33s5.81-1.11 8.03-3.33c4.44-4.44 4.44-11.63 0-16.06z"></path><path fill="url(#p)" d="M211.59 478.69s-18.31-2.53-24.25 5.88c-5.95 8.41-8.12 29.95-8.12 29.95l13.78-.73-1.16 25.09 25.42 14.9 36.22-19.48-5.51-22.73 11.57-3.02s-3.45-32.99-19.55-28.12c-8.27.89-10.88.74-10.88.74s-2.18 6.94-9.65 6.35-7.87-8.83-7.87-8.83"></path><path fill="url(#q)" d="m213.42 468.32-3.8 16.97c-.18.8.24 1.61.99 1.92 1.97.8 5.9 2.16 9.95 2.16 4.2 0 8.16-2.3 9.98-3.53.63-.42.89-1.21.65-1.93l-5.82-17.31a1.68 1.68 0 0 0-1.88-1.12l-8.72 1.55c-.67.12-1.2.63-1.35 1.29"></path><path fill="url(#r)" d="M190.69 481.63c5.33-1.77 12.55-.59 12.85 11.37.29 11.95-11.42 31-7.22 37.63 4.25 6.71 13.34 16.25 19.12 21.68-1.34 6.38-4.98 11.75-4.98 11.75s-21.31-9.83-30.59-19.68-4.6-32.43-.3-48.5c3.24-12.12 11.12-14.25 11.12-14.25"></path><path fill="url(#s)" d="M246.53 481.63c-5.33-1.77-12.55-.59-12.85 11.37-.29 11.95 11.42 31 7.22 37.63-4.25 6.71-13.34 16.25-19.12 21.68 1.34 6.38 4.98 11.75 4.98 11.75s21.31-9.83 30.59-19.68 4.6-32.43.3-48.5c-3.24-12.12-11.12-14.25-11.12-14.25"></path><path fill="url(#t)" d="M193.27 574.48h51.74c2.34 0 4.44-1.78 5.25-4.45l10.43-34.31c1.35-4.45-1.35-9.19-5.25-9.19h-72.12c-3.86 0-6.57 4.65-5.28 9.09l9.96 34.31c.79 2.73 2.9 4.55 5.27 4.55"></path><path fill="#fff" d="M191.21 590.26s-.8-1.76-1.41-1.95c-.62-.19-9.46-.54-12.69-1.38s-12.54-2.16-16.52 1.61c-3.47 3.29-4.62 10.97.67 15.39 1.98 1.72 3.93 2.23 11.28 1.89s18-.27 20.34-3.67c-.09-5.63-1.67-11.89-1.67-11.89"></path><path fill="url(#u)" d="M199.42 588.31s-8.54 1.92-11.6 1.64c-3.05-.28-.5 12.02-.5 12.02s8.16.56 15.37-1.52c2.44-9.43-3.27-12.14-3.27-12.14"></path><path fill="url(#v)" d="m196.36 587.86 4.44 13.81s95.43-12.57 81.79-43.54c-11.4-25.89-86.23 29.73-86.23 29.73"></path><path fill="url(#w)" d="M190.1 588.93s3.5 1.37 3.94 6.24-1 8.15-8.43 9.05-9.32.56-13.98.68c-4.66.11-11.43.56-12.43-8.3s8.06-11.12 17.46-8.86c2.95.57 13.44 1.19 13.44 1.19"></path><path fill="#fff" d="M250.76 590.26s.8-1.76 1.41-1.95c.62-.19 9.46-.54 12.69-1.38s11.9-2.23 16.28 1.51c4.06 3.47 4.33 11.14-.3 15.37-1.98 1.72-4.07 2.35-11.42 2.01s-18-.27-20.34-3.67c.09-5.63 1.68-11.89 1.68-11.89"></path><path fill="url(#x)" d="M242.55 588.31s8.54 1.92 11.6 1.64.5 12.02.5 12.02-8.16.56-15.37-1.52c-2.45-9.43 3.27-12.14 3.27-12.14"></path><path fill="url(#y)" d="m245.61 587.86-4.44 13.81s-95.43-12.57-81.79-43.54c11.4-25.89 86.23 29.73 86.23 29.73"></path><path fill="url(#z)" d="M251.87 588.93s-3.5 1.37-3.94 6.24 1 8.15 8.43 9.05 9.32.56 13.98.68c4.66.11 11.43.56 12.43-8.3s-8.06-11.12-17.46-8.86c-2.96.57-13.44 1.19-13.44 1.19"></path><path fill="url(#A)" d="M235.39 461.53c.57-.81.93-2.88.46-3.48-.84-.68-1.63-.29-2.23.3.14-4.94-.31-9.05-.42-10.09-.31-3.03-3.39-8.58-13.46-8.58s-12.03 7.27-12.03 7.27-.66 5.14-.46 11.38c-.6-.57-1.39-.95-2.21-.28-.46.61-.1 2.68.46 3.48.57.81.93 2.73 1.03 3.79.1 1.01-.63 3.69 2.02 3.35 1.58 6.33 7.99 11.61 11.96 11.61 4.35 0 10.13-5.32 11.77-11.62 2.71.37 1.97-2.33 2.07-3.35.12-1.05.48-2.97 1.04-3.78"></path><path fill="url(#B)" d="M227 437.52s-1.97-6.19-9.5-4.71c-7.54 1.48-8.05 5.04-11 5.18-5.05.24-9.09 6.53-2.61 13.19 2.88 2.97.45 4.24 1.82 6.87s1.36 5.18 1.36 5.18 2.41-7.69.82-10.97c-.82-1.69 2.81-2.15 7.33-1.75s11.65-1.09 12.21-4.17c1.34 6.31 2.67 6.97 4.37 7.93s1.8 8.58 1.8 8.58.3-5.6 1.48-6.87c.98-2.07 2.88-10.2.73-12.17s-.35-8.29-8.81-6.29"></path>', 33)
1905
1905
  ]));
1906
1906
  }
1907
- const Cs = { render: Ss }, ks = {}, Os = { class: "wrapper" }, Es = { class: "content" };
1908
- function xs(e, t) {
1907
+ const Cs = { render: Ss }, ks = {}, Os = { class: "wrapper" }, xs = { class: "content" };
1908
+ function Es(e, t) {
1909
1909
  const o = k("el-button");
1910
1910
  return p(), M("div", Os, [
1911
1911
  t[4] || (t[4] = b("img", { src: Cs }, null, -1)),
1912
- b("div", Es, [
1912
+ b("div", xs, [
1913
1913
  t[3] || (t[3] = b("h1", null, "You have no permission to access the page.", -1)),
1914
1914
  _(o, { type: "primary" }, {
1915
1915
  default: m(() => t[1] || (t[1] = [
@@ -1928,7 +1928,7 @@ function xs(e, t) {
1928
1928
  ])
1929
1929
  ]);
1930
1930
  }
1931
- const $s = /* @__PURE__ */ _e(ks, [["render", xs], ["__scopeId", "data-v-0155b361"]]), Is = {};
1931
+ const $s = /* @__PURE__ */ _e(ks, [["render", Es], ["__scopeId", "data-v-0155b361"]]), Is = {};
1932
1932
  function Ps(e, t) {
1933
1933
  const o = k("router-view");
1934
1934
  return p(), N(o);
@@ -1977,7 +1977,7 @@ const Ns = /* @__PURE__ */ _e(Is, [["render", Ps]]), As = { class: "card-wrapper
1977
1977
  ), (a, i) => (p(), M("div", As, [
1978
1978
  (p(!0), M(oe, null, de(s.cards, (d) => (p(), M("div", {
1979
1979
  class: Mt(["card", { "card-selected": r.value === d.key }]),
1980
- onClick: (S) => l(d)
1980
+ onClick: (w) => l(d)
1981
1981
  }, [
1982
1982
  b("div", Ms, [
1983
1983
  b("div", Us, [
@@ -1989,15 +1989,15 @@ const Ns = /* @__PURE__ */ _e(Is, [["render", Ps]]), As = { class: "card-wrapper
1989
1989
  ]),
1990
1990
  b("span", {
1991
1991
  style: De({ color: d.disabled ? "#aaa" : "black" })
1992
- }, T(C(t)(d.label)), 5)
1992
+ }, D(C(t)(d.label)), 5)
1993
1993
  ]),
1994
- b("span", null, T(d.count), 1)
1994
+ b("span", null, D(d.count), 1)
1995
1995
  ])
1996
1996
  ], 10, Vs))), 256))
1997
1997
  ]));
1998
1998
  }
1999
1999
  }), lo = /* @__PURE__ */ _e(Ds, [["__scopeId", "data-v-047a86e6"]]);
2000
- function Ee(e, t, o) {
2000
+ function xe(e, t, o) {
2001
2001
  switch (t) {
2002
2002
  case "POST":
2003
2003
  return he.post(e, o);
@@ -2031,39 +2031,40 @@ const Be = (e) => {
2031
2031
  },
2032
2032
  emits: ["update:id"],
2033
2033
  setup(e, { expose: t, emit: o }) {
2034
- const { t: n } = ot.global, s = e, r = ce({}), l = A(!1), a = A(), i = ce({}), d = A(!0), S = (v) => s.mode === "view" && (B(v, void 0) || B(v, "input") || B(v, "select") || B(v, "password") || B(v, "input-number")), w = Re(() => s.model.fields ? s.model.fields.filter(
2035
- (v) => {
2036
- var I, u, c, y;
2037
- let g = v.visible !== !1 && ((I = v.formItemAttributes) == null ? void 0 : I.visible) !== !1;
2038
- if (s.mode !== "view" && ((u = v.formItemAttributes) == null ? void 0 : u.editable) === !1 || s.mode === "view" && ((c = v.formItemAttributes) == null ? void 0 : c.type) === "password")
2034
+ const { t: n } = ot.global, s = e, r = ce({}), l = A(!1), a = A(), i = ce({}), d = A(!0), w = (S) => s.mode === "view" && (B(S, void 0) || B(S, "input") || B(S, "select") || B(S, "password") || B(S, "input-number")), y = Re(() => s.model.fields ? s.model.fields.filter(
2035
+ (S) => {
2036
+ var I, u, c, v;
2037
+ let g = S.visible !== !1 && ((I = S.formItemAttributes) == null ? void 0 : I.visible) !== !1;
2038
+ if (s.mode !== "view" && ((u = S.formItemAttributes) == null ? void 0 : u.editable) === !1 || s.mode === "view" && ((c = S.formItemAttributes) == null ? void 0 : c.type) === "password")
2039
2039
  return !1;
2040
- let x = (y = v.formItemAttributes) == null ? void 0 : y.showCondition;
2041
- return x && x.field && x.value !== void 0 ? r[x.field] === x.value : g;
2040
+ let E = (v = S.formItemAttributes) == null ? void 0 : v.showCondition;
2041
+ return E && E.field && E.value !== void 0 ? r[E.field] === E.value : g;
2042
2042
  }
2043
2043
  ) : []);
2044
2044
  Ce([() => s.id, () => s.sessionId], () => {
2045
- U();
2045
+ console.log("form-view watch executed", s.id, s.sessionId), U();
2046
2046
  });
2047
2047
  function V() {
2048
- const v = s.model.fields;
2048
+ console.log("form-view initFormFields executed");
2049
+ const S = s.model.fields;
2049
2050
  let g = {};
2050
- v == null || v.forEach((x) => {
2051
- var I, u, c, y, $, F, H, G, h;
2052
- if (r[x.prop] = null, x.visible !== !1 && ((I = x.formItemAttributes) == null ? void 0 : I.visible) !== !1) {
2053
- if (((u = x.formItemAttributes) == null ? void 0 : u.defaultValue) !== void 0 ? r[x.prop] = (c = x.formItemAttributes) == null ? void 0 : c.defaultValue : r[x.prop] = void 0, s.mode !== "view") {
2054
- let Q = (y = x.formItemAttributes) == null ? void 0 : y.validationRule;
2055
- Q !== void 0 && (g[x.prop] = Q), Object.assign(i, g);
2051
+ S == null || S.forEach((E) => {
2052
+ var I, u, c, v, $, F, H, G, h;
2053
+ if (r[E.prop] = null, E.visible !== !1 && ((I = E.formItemAttributes) == null ? void 0 : I.visible) !== !1) {
2054
+ if (((u = E.formItemAttributes) == null ? void 0 : u.defaultValue) !== void 0 ? r[E.prop] = (c = E.formItemAttributes) == null ? void 0 : c.defaultValue : r[E.prop] = void 0, s.mode !== "view") {
2055
+ let Q = (v = E.formItemAttributes) == null ? void 0 : v.validationRule;
2056
+ Q !== void 0 && (g[E.prop] = Q), Object.assign(i, g);
2056
2057
  }
2057
- const E = x.formItemAttributes, f = E == null ? void 0 : E.type, O = ($ = E == null ? void 0 : E.selectAttributes) == null ? void 0 : $.api, D = (F = E == null ? void 0 : E.selectAttributes) == null ? void 0 : F.valueMappingField, X = (H = E == null ? void 0 : E.selectAttributes) == null ? void 0 : H.labelMappingField;
2058
+ const x = E.formItemAttributes, f = x == null ? void 0 : x.type, O = ($ = x == null ? void 0 : x.selectAttributes) == null ? void 0 : $.api, T = (F = x == null ? void 0 : x.selectAttributes) == null ? void 0 : F.valueMappingField, X = (H = x == null ? void 0 : x.selectAttributes) == null ? void 0 : H.labelMappingField;
2058
2059
  if (f === "select" && O) {
2059
2060
  let Q = O;
2060
- const se = (G = E == null ? void 0 : E.selectAttributes) == null ? void 0 : G.queryParamName, ie = (h = E == null ? void 0 : E.selectAttributes) == null ? void 0 : h.queryParamValueField;
2061
- se && (Q = `${Q}?${se}=${s.id}`), ie || Ee(Q, "GET", {}).then(({ data: re }) => {
2061
+ const se = (G = x == null ? void 0 : x.selectAttributes) == null ? void 0 : G.queryParamName, ie = (h = x == null ? void 0 : x.selectAttributes) == null ? void 0 : h.queryParamValueField;
2062
+ se && (Q = `${Q}?${se}=${s.id}`), ie || xe(Q, "GET", {}).then(({ data: re }) => {
2062
2063
  var ae;
2063
- if ((ae = x.formItemAttributes) != null && ae.selectAttributes) {
2064
+ if ((ae = E.formItemAttributes) != null && ae.selectAttributes) {
2064
2065
  let Z = [];
2065
- Array.isArray(re.data) ? Z = re.data : re.data.list && Array.isArray(re.data.list) && (Z = re.data.list), x.formItemAttributes.selectAttributes.options = Z.map((W) => ({
2066
- value: D ? W[D] : W.value,
2066
+ Array.isArray(re.data) ? Z = re.data : re.data.list && Array.isArray(re.data.list) && (Z = re.data.list), E.formItemAttributes.selectAttributes.options = Z.map((W) => ({
2067
+ value: T ? W[T] : W.value,
2067
2068
  label: X ? W[X] : W.label
2068
2069
  }));
2069
2070
  }
@@ -2073,73 +2074,73 @@ const Be = (e) => {
2073
2074
  });
2074
2075
  }
2075
2076
  function U() {
2076
- var v;
2077
- console.log("init form", s.id, s.model), R(), d.value = (v = s.model.useI18n) != null ? v : !0, V(), (s.mode === "update" || s.mode === "view") && s.id !== void 0 && s.id !== "" && s.model.api !== "" && (l.value = !0, Ee(`${s.model.api}/${s.id}`, "GET", {}).then(({ data: g }) => {
2077
+ var S;
2078
+ console.log("form-view refresh executed", s.id, s.model), R(), d.value = (S = s.model.useI18n) != null ? S : !0, V(), (s.mode === "update" || s.mode === "view") && s.id !== void 0 && s.id !== "" && s.model.api !== "" && (l.value = !0, xe(`${s.model.api}/${s.id}`, "GET", {}).then(({ data: g }) => {
2078
2079
  Be(r), Object.assign(r, g.data), l.value = !1;
2079
2080
  }));
2080
2081
  }
2081
2082
  function j() {
2082
- return new Promise((v, g) => {
2083
- var I, u, c, y;
2084
- ((u = (I = s.model.formConfig) == null ? void 0 : I.functions) == null ? void 0 : u.beforeSubmit) !== void 0 && Object.assign(r, (y = (c = s.model.formConfig) == null ? void 0 : c.functions) == null ? void 0 : y.beforeSubmit(r));
2085
- let x = s.mode === "create" ? "POST" : "PUT";
2086
- s.model.api && Ee(s.model.api, x, r).then(({ data: $ }) => {
2083
+ return new Promise((S, g) => {
2084
+ var I, u, c, v;
2085
+ ((u = (I = s.model.formConfig) == null ? void 0 : I.functions) == null ? void 0 : u.beforeSubmit) !== void 0 && Object.assign(r, (v = (c = s.model.formConfig) == null ? void 0 : c.functions) == null ? void 0 : v.beforeSubmit(r));
2086
+ let E = s.mode === "create" ? "POST" : "PUT";
2087
+ s.model.api && xe(s.model.api, E, r).then(({ data: $ }) => {
2087
2088
  var F, H, G, h;
2088
- $.code === 0 && (s.closeDialogFunc && s.closeDialogFunc(), ((H = (F = s.model.formConfig) == null ? void 0 : F.functions) == null ? void 0 : H.afterSubmit) !== void 0 && ((h = (G = s.model.formConfig) == null ? void 0 : G.functions) == null || h.afterSubmit($.data)), s.afterSubmitFunc && s.afterSubmitFunc(), v());
2089
+ $.code === 0 && (s.closeDialogFunc && s.closeDialogFunc(), ((H = (F = s.model.formConfig) == null ? void 0 : F.functions) == null ? void 0 : H.afterSubmit) !== void 0 && ((h = (G = s.model.formConfig) == null ? void 0 : G.functions) == null || h.afterSubmit($.data)), s.afterSubmitFunc && s.afterSubmitFunc(), S());
2089
2090
  });
2090
2091
  });
2091
2092
  }
2092
2093
  function R() {
2093
- var v;
2094
- (v = a.value) == null || v.resetFields();
2094
+ var S;
2095
+ console.log("form-view reset executed"), (S = a.value) == null || S.resetFields();
2095
2096
  }
2096
- function L(v) {
2097
- return v.label ? d ? n(v.label) : v.label : v.prop.slice(0, 1).toUpperCase() + v.prop.slice(1).toLowerCase();
2097
+ function L(S) {
2098
+ return S.label ? d ? n(S.label) : S.label : S.prop.slice(0, 1).toUpperCase() + S.prop.slice(1).toLowerCase();
2098
2099
  }
2099
- function P(v) {
2100
- var g, x, I, u;
2101
- if (v) {
2102
- if (B(v, "select")) {
2103
- const c = (x = (g = v.tableColumnAttributes) == null ? void 0 : g.functions) == null ? void 0 : x.transformValue;
2100
+ function P(S) {
2101
+ var g, E, I, u;
2102
+ if (S) {
2103
+ if (B(S, "select")) {
2104
+ const c = (E = (g = S.tableColumnAttributes) == null ? void 0 : g.functions) == null ? void 0 : E.transformValue;
2104
2105
  if (c)
2105
- return c(r[v.prop]);
2106
- const y = (u = (I = v.formItemAttributes) == null ? void 0 : I.selectAttributes) == null ? void 0 : u.viewModeLabelField;
2107
- if (y)
2108
- return r[y];
2106
+ return c(r[S.prop]);
2107
+ const v = (u = (I = S.formItemAttributes) == null ? void 0 : I.selectAttributes) == null ? void 0 : u.viewModeLabelField;
2108
+ if (v)
2109
+ return r[v];
2109
2110
  }
2110
- return r[v.prop];
2111
+ return r[S.prop];
2111
2112
  }
2112
2113
  }
2113
- function K(v) {
2114
+ function K(S) {
2114
2115
  var g;
2115
- return ((g = v.formItemAttributes) == null ? void 0 : g.updatable) === !1 && s.mode === "update";
2116
+ return ((g = S.formItemAttributes) == null ? void 0 : g.updatable) === !1 && s.mode === "update";
2116
2117
  }
2117
- function q(v, g) {
2118
+ function q(S, g) {
2118
2119
  var I, u;
2119
- const x = (u = (I = g.formItemAttributes) == null ? void 0 : I.type) != null ? u : "input";
2120
- switch (v) {
2120
+ const E = (u = (I = g.formItemAttributes) == null ? void 0 : I.type) != null ? u : "input";
2121
+ switch (S) {
2121
2122
  case "input":
2122
- return s.mode === "view" ? !1 : x === "input" || x === "password";
2123
+ return s.mode === "view" ? !1 : E === "input" || E === "password";
2123
2124
  case "select":
2124
2125
  return !0;
2125
2126
  default:
2126
- return console.log("Error: unrecognized form component type: ", v), !0;
2127
+ return console.log("Error: unrecognized form component type: ", S), !0;
2127
2128
  }
2128
2129
  }
2129
- function B(v, g) {
2130
- var x;
2131
- return ((x = v.formItemAttributes) == null ? void 0 : x.type) === g;
2130
+ function B(S, g) {
2131
+ var E;
2132
+ return ((E = S.formItemAttributes) == null ? void 0 : E.type) === g;
2132
2133
  }
2133
- function ne(v) {
2134
+ function ne(S) {
2134
2135
  var g;
2135
- for (let x of s.model.fields) {
2136
- const I = (g = x.formItemAttributes) == null ? void 0 : g.selectAttributes;
2137
- if (!(!x.formItemAttributes || x.formItemAttributes.type !== "select" || !I || !I.queryParamValueField) && I.queryParamValueField === v.prop) {
2136
+ for (let E of s.model.fields) {
2137
+ const I = (g = E.formItemAttributes) == null ? void 0 : g.selectAttributes;
2138
+ if (!(!E.formItemAttributes || E.formItemAttributes.type !== "select" || !I || !I.queryParamValueField) && I.queryParamValueField === S.prop) {
2138
2139
  const u = I.api;
2139
2140
  if (u) {
2140
2141
  let c = u;
2141
- const y = I.queryParamName;
2142
- y && (c = `${c}?${y}=${r[I.queryParamValueField]}`), Ee(c, "GET", {}).then(({ data: $ }) => {
2142
+ const v = I.queryParamName;
2143
+ v && (c = `${c}?${v}=${r[I.queryParamValueField]}`), xe(c, "GET", {}).then(({ data: $ }) => {
2143
2144
  if (I) {
2144
2145
  let F = [];
2145
2146
  Array.isArray($.data) ? F = $.data : $.data.list && Array.isArray($.data.list) && (F = $.data.list), I.options = F.map((H) => ({
@@ -2159,8 +2160,8 @@ const Be = (e) => {
2159
2160
  reset: R,
2160
2161
  submit: j,
2161
2162
  formData: r
2162
- }), (v, g) => {
2163
- const x = k("el-input"), I = k("el-switch"), u = k("el-date-picker"), c = k("el-option"), y = k("el-select"), $ = k("el-input-number"), F = k("el-form-item"), H = k("el-form"), G = Ut("loading");
2163
+ }), (S, g) => {
2164
+ const E = k("el-input"), I = k("el-switch"), u = k("el-date-picker"), c = k("el-option"), v = k("el-select"), $ = k("el-input-number"), F = k("el-form-item"), H = k("el-form"), G = Ut("loading");
2164
2165
  return Tt((p(), N(H, {
2165
2166
  ref_key: "formRef",
2166
2167
  ref: a,
@@ -2172,29 +2173,29 @@ const Be = (e) => {
2172
2173
  inline: !s.disableInline
2173
2174
  }, {
2174
2175
  default: m(() => [
2175
- (p(!0), M(oe, null, de(w.value, (h) => (p(), N(F, {
2176
+ (p(!0), M(oe, null, de(y.value, (h) => (p(), N(F, {
2176
2177
  class: "form-item",
2177
2178
  style: De({ width: s.disableInline ? "100%" : "calc(50% - 32px)" }),
2178
2179
  prop: h.prop,
2179
2180
  label: L(h)
2180
2181
  }, {
2181
2182
  default: m(() => {
2182
- var E, f, O, D, X, Q, se, ie, re, ae, Z, W, ue, pe, ke, We;
2183
+ var x, f, O, T, X, Q, se, ie, re, ae, Z, W, ue, pe, ke, We;
2183
2184
  return [
2184
- q("input", h) ? (p(), N(x, {
2185
+ q("input", h) ? (p(), N(E, {
2185
2186
  key: 0,
2186
2187
  type: B(h, "password") ? "password" : "text",
2187
2188
  modelValue: r[h.prop],
2188
2189
  "onUpdate:modelValue": (Y) => r[h.prop] = Y,
2189
- placeholder: (E = h.formItemAttributes) == null ? void 0 : E.placeholder,
2190
+ placeholder: (x = h.formItemAttributes) == null ? void 0 : x.placeholder,
2190
2191
  disabled: K(h)
2191
2192
  }, null, 8, ["type", "modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : z("", !0),
2192
- S(h) ? (p(), M("span", Rs, T(P(h)), 1)) : z("", !0),
2193
+ w(h) ? (p(), M("span", Rs, D(P(h)), 1)) : z("", !0),
2193
2194
  B(h, "switch") ? (p(), N(I, {
2194
2195
  key: 2,
2195
2196
  modelValue: r[h.prop],
2196
2197
  "onUpdate:modelValue": (Y) => r[h.prop] = Y,
2197
- disabled: v.mode === "view"
2198
+ disabled: S.mode === "view"
2198
2199
  }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])) : z("", !0),
2199
2200
  B(h, "datepicker") ? (p(), N(u, {
2200
2201
  key: 3,
@@ -2202,10 +2203,10 @@ const Be = (e) => {
2202
2203
  modelValue: r[h.prop],
2203
2204
  "onUpdate:modelValue": (Y) => r[h.prop] = Y
2204
2205
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : z("", !0),
2205
- B(h, "select") && v.mode !== "view" ? (p(), N(y, {
2206
+ B(h, "select") && S.mode !== "view" ? (p(), N(v, {
2206
2207
  key: 4,
2207
2208
  filterable: (O = (f = h.formItemAttributes) == null ? void 0 : f.selectAttributes) == null ? void 0 : O.allowCreate,
2208
- "allow-create": (X = (D = h.formItemAttributes) == null ? void 0 : D.selectAttributes) == null ? void 0 : X.allowCreate,
2209
+ "allow-create": (X = (T = h.formItemAttributes) == null ? void 0 : T.selectAttributes) == null ? void 0 : X.allowCreate,
2209
2210
  "default-first-option": (se = (Q = h.formItemAttributes) == null ? void 0 : Q.selectAttributes) == null ? void 0 : se.allowCreate,
2210
2211
  modelValue: r[h.prop],
2211
2212
  "onUpdate:modelValue": (Y) => r[h.prop] = Y,
@@ -2215,16 +2216,15 @@ const Be = (e) => {
2215
2216
  default: m(() => {
2216
2217
  var Y, J;
2217
2218
  return [
2218
- b("h1", null, T(v.mode), 1),
2219
2219
  (p(!0), M(oe, null, de((J = (Y = h.formItemAttributes) == null ? void 0 : Y.selectAttributes) == null ? void 0 : J.options, (ge) => (p(), N(c, {
2220
2220
  value: ge.value,
2221
- label: ge.label + v.mode
2221
+ label: ge.label
2222
2222
  }, null, 8, ["value", "label"]))), 256))
2223
2223
  ];
2224
2224
  }),
2225
2225
  _: 2
2226
2226
  }, 1032, ["filterable", "allow-create", "default-first-option", "modelValue", "onUpdate:modelValue", "disabled", "onChange"])) : z("", !0),
2227
- B(h, "input-number") && v.mode !== "view" ? (p(), N($, {
2227
+ B(h, "input-number") && S.mode !== "view" ? (p(), N($, {
2228
2228
  key: 5,
2229
2229
  modelValue: r[h.prop],
2230
2230
  "onUpdate:modelValue": (Y) => r[h.prop] = Y,
@@ -2244,7 +2244,7 @@ const Be = (e) => {
2244
2244
  ]);
2245
2245
  };
2246
2246
  }
2247
- }), io = /* @__PURE__ */ _e(Fs, [["__scopeId", "data-v-17baf9c6"]]), Gs = { class: "console-dialog__body" }, Ls = {
2247
+ }), io = /* @__PURE__ */ _e(Fs, [["__scopeId", "data-v-ad65607b"]]), Gs = { class: "console-dialog__body" }, Ls = {
2248
2248
  key: 0,
2249
2249
  class: "process-view"
2250
2250
  }, js = { class: "operation-button-wrapper" }, co = /* @__PURE__ */ ve({
@@ -2269,13 +2269,13 @@ const Be = (e) => {
2269
2269
  function d() {
2270
2270
  l("update:visible", !1), a.value.reset();
2271
2271
  }
2272
- function S() {
2272
+ function w() {
2273
2273
  a.value.submit();
2274
2274
  }
2275
2275
  return t({
2276
2276
  close: d,
2277
2277
  refresh: i
2278
- }), (w, V) => {
2278
+ }), (y, V) => {
2279
2279
  const U = k("el-step"), j = k("el-steps"), R = k("el-button"), L = k("el-dialog");
2280
2280
  return p(), N(L, {
2281
2281
  class: "console-dialog",
@@ -2297,7 +2297,7 @@ const Be = (e) => {
2297
2297
  onClick: (q) => K.function(a.value.formData)
2298
2298
  }, {
2299
2299
  default: m(() => [
2300
- ee(T(C(n)(K.label)), 1)
2300
+ ee(D(C(n)(K.label)), 1)
2301
2301
  ]),
2302
2302
  _: 2
2303
2303
  }, 1032, ["onClick"]))), 256))
@@ -2305,16 +2305,16 @@ const Be = (e) => {
2305
2305
  b("div", null, [
2306
2306
  _(R, { onClick: d }, {
2307
2307
  default: m(() => [
2308
- ee(T(C(n)("common.basic.cancel")), 1)
2308
+ ee(D(C(n)("common.basic.cancel")), 1)
2309
2309
  ]),
2310
2310
  _: 1
2311
2311
  }),
2312
2312
  _(R, {
2313
2313
  type: "primary",
2314
- onClick: S
2314
+ onClick: w
2315
2315
  }, {
2316
2316
  default: m(() => [
2317
- ee(T(C(n)("common.basic.save")), 1)
2317
+ ee(D(C(n)("common.basic.save")), 1)
2318
2318
  ]),
2319
2319
  _: 1
2320
2320
  })
@@ -2326,7 +2326,7 @@ const Be = (e) => {
2326
2326
  b("div", Gs, [
2327
2327
  _(io, {
2328
2328
  class: "form-view",
2329
- style: De({ width: w.showProcess ? "calc(100% - 280px)" : "100%" }),
2329
+ style: De({ width: y.showProcess ? "calc(100% - 280px)" : "100%" }),
2330
2330
  ref_key: "formViewRef",
2331
2331
  ref: a,
2332
2332
  id: s.id,
@@ -2337,7 +2337,7 @@ const Be = (e) => {
2337
2337
  closeDialogFunc: d,
2338
2338
  disableInline: s.showProcess
2339
2339
  }, null, 8, ["style", "id", "sessionId", "mode", "model", "afterSubmitFunc", "disableInline"]),
2340
- w.showProcess ? (p(), M("div", Ls, [
2340
+ y.showProcess ? (p(), M("div", Ls, [
2341
2341
  V[0] || (V[0] = b("h1", null, "流程动态", -1)),
2342
2342
  _(j, {
2343
2343
  style: { height: "90%" },
@@ -2365,60 +2365,60 @@ const Be = (e) => {
2365
2365
  setup(e, { expose: t }) {
2366
2366
  const { t: o } = ot.global, n = e, s = ce([]), r = ce({
2367
2367
  showPane: !0
2368
- }), l = A(""), a = A(!0), i = A(!1), d = rt(), S = A(""), w = ce([]), V = ce([]), U = A(), j = A([]), R = A("create"), L = A(!0), P = A(!1), K = A(""), q = ce({
2368
+ }), l = A(""), a = A(!0), i = A(!1), d = rt(), w = A(""), y = ce([]), V = ce([]), U = A(), j = A([]), R = A("create"), L = A(!0), P = A(!1), K = A(""), q = ce({
2369
2369
  pageSize: 10,
2370
2370
  pageNo: 1,
2371
2371
  totalElements: 0
2372
2372
  }), B = Re(() => s.filter(
2373
2373
  (f) => {
2374
- var O, D;
2375
- return ((O = f.formItemAttributes) == null ? void 0 : O.type) !== "password" && f.visible !== !1 && ((D = f.tableColumnAttributes) == null ? void 0 : D.visible) !== !1;
2374
+ var O, T;
2375
+ return ((O = f.formItemAttributes) == null ? void 0 : O.type) !== "password" && f.visible !== !1 && ((T = f.tableColumnAttributes) == null ? void 0 : T.visible) !== !1;
2376
2376
  }
2377
2377
  ));
2378
2378
  function ne(f, O) {
2379
2379
  var se, ie, re, ae;
2380
- let D = O.row[f.prop];
2380
+ let T = O.row[f.prop];
2381
2381
  const X = (ie = (se = f.tableColumnAttributes) == null ? void 0 : se.functions) == null ? void 0 : ie.transformValue, Q = (re = f.tableColumnAttributes) == null ? void 0 : re.transformValueMappings;
2382
2382
  if (X)
2383
- D = X(D);
2383
+ T = X(T);
2384
2384
  else if (Q && Q.length > 0) {
2385
2385
  for (let Z of Q)
2386
- if (D === Z.value) {
2387
- D = o(Z.label);
2386
+ if (T === Z.value) {
2387
+ T = o(Z.label);
2388
2388
  break;
2389
2389
  }
2390
2390
  } else if (((ae = f.formItemAttributes) == null ? void 0 : ae.type) === "select") {
2391
2391
  const Z = f.formItemAttributes.selectAttributes;
2392
2392
  if (Z) {
2393
2393
  if (Z.viewModeLabelField)
2394
- D = O.row[Z.viewModeLabelField];
2394
+ T = O.row[Z.viewModeLabelField];
2395
2395
  else if (Z.options && Z.options.length > 0) {
2396
2396
  for (let W of Z.options)
2397
2397
  if (W.value === O.row[f.prop]) {
2398
- D = W.label;
2398
+ T = W.label;
2399
2399
  break;
2400
2400
  }
2401
2401
  }
2402
2402
  }
2403
2403
  }
2404
- return D;
2404
+ return T;
2405
2405
  }
2406
- function v(f, O) {
2407
- var D, X;
2408
- return f.label ? o(f.label) : (X = (D = f.functions) == null ? void 0 : D.transformLabel) == null ? void 0 : X.call(D, O.$index, O.row);
2406
+ function S(f, O) {
2407
+ var T, X;
2408
+ return f.label ? o(f.label) : (X = (T = f.functions) == null ? void 0 : T.transformLabel) == null ? void 0 : X.call(T, O.$index, O.row);
2409
2409
  }
2410
2410
  function g(f) {
2411
2411
  Be(n.model), Object.assign(n.model, f);
2412
2412
  }
2413
- function x() {
2414
- var O, D, X;
2413
+ function E() {
2414
+ var O, T, X;
2415
2415
  if (L.value = !0, !n.model || !n.model.api)
2416
2416
  return;
2417
- Be(r), r.showPane = !0, Object.assign(r, (O = n.model.tableConfig) != null ? O : {}), s.splice(0, s.length, ...n.model.fields), l.value = (D = n.model.route) != null ? D : "", a.value = (X = n.model.useI18n) != null ? X : !0;
2417
+ Be(r), r.showPane = !0, Object.assign(r, (O = n.model.tableConfig) != null ? O : {}), s.splice(0, s.length, ...n.model.fields), l.value = (T = n.model.route) != null ? T : "", a.value = (X = n.model.useI18n) != null ? X : !0;
2418
2418
  let f = Ye({}, r.queryParams);
2419
- f.pageSize = q.pageSize, f.pageNo = q.pageNo, f.search = S.value, Ee(n.model.api, "GET", f).then(({ data: Q }) => {
2419
+ f.pageSize = q.pageSize, f.pageNo = q.pageNo, f.search = w.value, xe(n.model.api, "GET", f).then(({ data: Q }) => {
2420
2420
  const { list: se, totalCount: ie } = Q.data;
2421
- w.splice(0, w.length, ...se), q.totalElements = ie, L.value = !1;
2421
+ y.splice(0, y.length, ...se), q.totalElements = ie, L.value = !1;
2422
2422
  });
2423
2423
  }
2424
2424
  function I() {
@@ -2426,8 +2426,8 @@ const Be = (e) => {
2426
2426
  r.createPageRoutePath !== void 0 ? d.push(r.createPageRoutePath) : ((f = r.functions) == null ? void 0 : f.create) !== void 0 ? (O = r.functions) == null || O.create() : (R.value = "create", K.value = "", i.value = !0);
2427
2427
  }
2428
2428
  function u(f, O) {
2429
- n.model.api && Ee(n.model.api, "DELETE", O.id).then(({ data: D }) => {
2430
- D.code === 0 && (i.value = !1, x());
2429
+ n.model.api && xe(n.model.api, "DELETE", O.id).then(({ data: T }) => {
2430
+ T.code === 0 && (i.value = !1, E());
2431
2431
  });
2432
2432
  }
2433
2433
  function c() {
@@ -2444,9 +2444,9 @@ const Be = (e) => {
2444
2444
  if (((f = r.functions) == null ? void 0 : f.batchDelete) !== void 0)
2445
2445
  (O = r.functions) == null || O.batchDelete(j.value);
2446
2446
  else {
2447
- const D = j.value.map((X) => X.id);
2448
- he.delete(`${n.model.api}/${D.join(",")}`).then(({ data: X }) => {
2449
- X.code === 0 && (i.value = !1, x());
2447
+ const T = j.value.map((X) => X.id);
2448
+ he.delete(`${n.model.api}/${T.join(",")}`).then(({ data: X }) => {
2449
+ X.code === 0 && (i.value = !1, E());
2450
2450
  });
2451
2451
  }
2452
2452
  U.value.clearSelection();
@@ -2454,11 +2454,11 @@ const Be = (e) => {
2454
2454
  U.value.clearSelection();
2455
2455
  });
2456
2456
  }
2457
- function y(f) {
2458
- q.pageSize = f, x();
2457
+ function v(f) {
2458
+ q.pageSize = f, E();
2459
2459
  }
2460
2460
  function $(f) {
2461
- q.pageNo = f, x();
2461
+ q.pageNo = f, E();
2462
2462
  }
2463
2463
  function F(f, O) {
2464
2464
  r.editPageRoutePath !== void 0 ? d.push({
@@ -2471,8 +2471,8 @@ const Be = (e) => {
2471
2471
  function H() {
2472
2472
  let f = window.location.origin + n.model.api + "/export";
2473
2473
  const O = r.queryParams;
2474
- O !== void 0 && Object.keys(O).length > 0 && (f += "?", Object.entries(r.queryParams).map((D) => {
2475
- f += `${D[0]}=${D[1]}&`;
2474
+ O !== void 0 && Object.keys(O).length > 0 && (f += "?", Object.entries(r.queryParams).map((T) => {
2475
+ f += `${T[0]}=${T[1]}&`;
2476
2476
  })), window.open(f);
2477
2477
  }
2478
2478
  function G(f) {
@@ -2481,20 +2481,20 @@ const Be = (e) => {
2481
2481
  function h(f) {
2482
2482
  return f.label ? a.value ? o(f.label) : f.label : f.prop.slice(0, 1).toUpperCase() + f.prop.slice(1).toLowerCase();
2483
2483
  }
2484
- function E(f) {
2485
- f ? (P.value = !0, V.splice(0, V.length, ...w), w.splice(0, w.length, ...j.value)) : (P.value = !1, w.splice(0, w.length, ...V));
2484
+ function x(f) {
2485
+ f ? (P.value = !0, V.splice(0, V.length, ...y), y.splice(0, y.length, ...j.value)) : (P.value = !1, y.splice(0, y.length, ...V));
2486
2486
  }
2487
2487
  return Ce(() => n.model, () => {
2488
- x();
2488
+ E();
2489
2489
  }, {
2490
2490
  deep: !0,
2491
2491
  immediate: !0
2492
2492
  }), t({
2493
2493
  multipleSelection: j,
2494
- refresh: x,
2494
+ refresh: E,
2495
2495
  updateConfigAndRefresh: g
2496
2496
  }), (f, O) => {
2497
- const D = k("el-checkbox"), X = k("el-badge"), Q = k("el-button"), se = k("el-icon"), ie = k("el-tooltip"), re = k("el-input"), ae = k("el-table-column"), Z = k("router-link"), W = k("el-tag"), ue = k("el-popconfirm"), pe = k("el-table"), ke = k("el-pagination"), We = Ut("loading");
2497
+ const T = k("el-checkbox"), X = k("el-badge"), Q = k("el-button"), se = k("el-icon"), ie = k("el-tooltip"), re = k("el-input"), ae = k("el-table-column"), Z = k("router-link"), W = k("el-tag"), ue = k("el-popconfirm"), pe = k("el-table"), ke = k("el-pagination"), We = Ut("loading");
2498
2498
  return p(), M("div", {
2499
2499
  class: Mt({ "table-view-wrapper": r.showPane })
2500
2500
  }, [
@@ -2507,11 +2507,11 @@ const Be = (e) => {
2507
2507
  class: "selected-badge"
2508
2508
  }, {
2509
2509
  default: m(() => [
2510
- _(D, {
2510
+ _(T, {
2511
2511
  class: "selected-checkbox",
2512
2512
  border: !0,
2513
2513
  label: C(o)("common.table.viewSelected"),
2514
- onChange: E
2514
+ onChange: x
2515
2515
  }, null, 8, ["label"])
2516
2516
  ]),
2517
2517
  _: 1
@@ -2524,7 +2524,7 @@ const Be = (e) => {
2524
2524
  default: m(() => {
2525
2525
  var Y, J;
2526
2526
  return [
2527
- ee(T(((Y = r.labels) == null ? void 0 : Y.create) != null ? C(o)((J = r.labels) == null ? void 0 : J.create) : C(o)("common.table.create")), 1)
2527
+ ee(D(((Y = r.labels) == null ? void 0 : Y.create) != null ? C(o)((J = r.labels) == null ? void 0 : J.create) : C(o)("common.table.create")), 1)
2528
2528
  ];
2529
2529
  }),
2530
2530
  _: 1
@@ -2539,14 +2539,14 @@ const Be = (e) => {
2539
2539
  default: m(() => {
2540
2540
  var Y, J;
2541
2541
  return [
2542
- ee(T(((Y = r.labels) == null ? void 0 : Y.delete) != null ? C(o)((J = r.labels) == null ? void 0 : J.delete) : C(o)("common.table.delete")), 1)
2542
+ ee(D(((Y = r.labels) == null ? void 0 : Y.delete) != null ? C(o)((J = r.labels) == null ? void 0 : J.delete) : C(o)("common.table.delete")), 1)
2543
2543
  ];
2544
2544
  }),
2545
2545
  _: 1
2546
2546
  }, 8, ["disabled"])) : z("", !0),
2547
2547
  _(Q, {
2548
2548
  icon: C(Rt),
2549
- onClick: x
2549
+ onClick: E
2550
2550
  }, null, 8, ["icon"]),
2551
2551
  r.tooltip ? (p(), N(ie, {
2552
2552
  key: 3,
@@ -2557,7 +2557,7 @@ const Be = (e) => {
2557
2557
  default: m(() => [
2558
2558
  _(se, { style: { color: "#8ba74f" } }, {
2559
2559
  default: m(() => [
2560
- _(C(Eo))
2560
+ _(C(xo))
2561
2561
  ]),
2562
2562
  _: 1
2563
2563
  })
@@ -2574,7 +2574,7 @@ const Be = (e) => {
2574
2574
  default: m(() => [
2575
2575
  _(se, null, {
2576
2576
  default: m(() => [
2577
- _(C(xo))
2577
+ _(C(Eo))
2578
2578
  ]),
2579
2579
  _: 1
2580
2580
  })
@@ -2583,14 +2583,14 @@ const Be = (e) => {
2583
2583
  })) : z("", !0),
2584
2584
  _(re, {
2585
2585
  placeholder: `${C(o)("common.table.search")}...`,
2586
- modelValue: S.value,
2587
- "onUpdate:modelValue": O[0] || (O[0] = (Y) => S.value = Y)
2586
+ modelValue: w.value,
2587
+ "onUpdate:modelValue": O[0] || (O[0] = (Y) => w.value = Y)
2588
2588
  }, {
2589
2589
  append: m(() => [
2590
2590
  _(Q, {
2591
2591
  style: { "margin-left": "-20px" },
2592
2592
  icon: C(Dt),
2593
- onClick: x
2593
+ onClick: E
2594
2594
  }, null, 8, ["icon"])
2595
2595
  ]),
2596
2596
  _: 1
@@ -2601,7 +2601,7 @@ const Be = (e) => {
2601
2601
  border: !0,
2602
2602
  ref_key: "tableRef",
2603
2603
  ref: U,
2604
- data: w,
2604
+ data: y,
2605
2605
  onSelectionChange: G,
2606
2606
  class: "table"
2607
2607
  }, {
@@ -2621,31 +2621,31 @@ const Be = (e) => {
2621
2621
  width: (ge = J.tableColumnAttributes) == null ? void 0 : ge.width,
2622
2622
  "show-overflow-tooltip": ""
2623
2623
  }, {
2624
- default: m((xe) => {
2624
+ default: m((Ee) => {
2625
2625
  var $e, Fe, vt;
2626
2626
  return [
2627
2627
  ($e = J.tableColumnAttributes) != null && $e.link ? (p(), N(Z, {
2628
2628
  key: 0,
2629
2629
  class: "router-link",
2630
- to: `/${l.value}/detail?id=${xe.row.id}`
2630
+ to: `/${l.value}/detail?id=${Ee.row.id}`
2631
2631
  }, {
2632
2632
  default: m(() => [
2633
- b("span", null, T(ne(J, xe)), 1)
2633
+ b("span", null, D(ne(J, Ee)), 1)
2634
2634
  ]),
2635
2635
  _: 2
2636
2636
  }, 1032, ["to"])) : (Fe = J.tableColumnAttributes) != null && Fe.routerLink ? (p(), N(Z, {
2637
2637
  key: 1,
2638
2638
  class: "router-link",
2639
- to: J.tableColumnAttributes.routerLink.replace("{id}", xe.row.id)
2639
+ to: J.tableColumnAttributes.routerLink.replace("{id}", Ee.row.id)
2640
2640
  }, {
2641
2641
  default: m(() => [
2642
- b("span", null, T(ne(J, xe)), 1)
2642
+ b("span", null, D(ne(J, Ee)), 1)
2643
2643
  ]),
2644
2644
  _: 2
2645
- }, 1032, ["to"])) : (p(), M("span", Hs, T(ne(J, xe)), 1)),
2645
+ }, 1032, ["to"])) : (p(), M("span", Hs, D(ne(J, Ee)), 1)),
2646
2646
  ((vt = J.tableColumnAttributes) == null ? void 0 : vt.type) === "tag" ? (p(), N(W, { key: 3 }, {
2647
2647
  default: m(() => [
2648
- ee(T(xe.row[J.prop]), 1)
2648
+ ee(D(Ee.row[J.prop]), 1)
2649
2649
  ]),
2650
2650
  _: 2
2651
2651
  }, 1024)) : z("", !0)
@@ -2668,7 +2668,7 @@ const Be = (e) => {
2668
2668
  onClick: (ge) => F(J.$index, J.row)
2669
2669
  }, {
2670
2670
  default: m(() => [
2671
- ee(T(C(o)("common.table.edit")), 1)
2671
+ ee(D(C(o)("common.table.edit")), 1)
2672
2672
  ]),
2673
2673
  _: 2
2674
2674
  }, 1032, ["onClick"])) : z("", !0),
@@ -2684,7 +2684,7 @@ const Be = (e) => {
2684
2684
  class: "operation-button"
2685
2685
  }, {
2686
2686
  default: m(() => [
2687
- ee(T(C(o)("common.table.delete")), 1)
2687
+ ee(D(C(o)("common.table.delete")), 1)
2688
2688
  ]),
2689
2689
  _: 1
2690
2690
  })) : z("", !0)
@@ -2705,13 +2705,13 @@ const Be = (e) => {
2705
2705
  link: "",
2706
2706
  type: "primary",
2707
2707
  key: ge.label,
2708
- onClick: (xe) => {
2708
+ onClick: (Ee) => {
2709
2709
  var $e, Fe;
2710
- return ((Fe = ($e = ge.functions) == null ? void 0 : $e.click) == null ? void 0 : Fe.call($e, J.$index, J.row)) && x();
2710
+ return ((Fe = ($e = ge.functions) == null ? void 0 : $e.click) == null ? void 0 : Fe.call($e, J.$index, J.row)) && E();
2711
2711
  }
2712
2712
  }, {
2713
2713
  default: m(() => [
2714
- ee(T(v(ge, J)), 1)
2714
+ ee(D(S(ge, J)), 1)
2715
2715
  ]),
2716
2716
  _: 2
2717
2717
  }, 1032, ["onClick"]))), 128))
@@ -2728,7 +2728,7 @@ const Be = (e) => {
2728
2728
  key: 0,
2729
2729
  size: "small",
2730
2730
  background: "",
2731
- onSizeChange: y,
2731
+ onSizeChange: v,
2732
2732
  onCurrentChange: $,
2733
2733
  currentPage: q.pageNo,
2734
2734
  "onUpdate:currentPage": O[1] || (O[1] = (Y) => q.pageNo = Y),
@@ -2741,7 +2741,7 @@ const Be = (e) => {
2741
2741
  model: f.model,
2742
2742
  mode: R.value,
2743
2743
  id: K.value,
2744
- afterSubmitFunc: x,
2744
+ afterSubmitFunc: E,
2745
2745
  visible: i.value,
2746
2746
  "onUpdate:visible": O[2] || (O[2] = (Y) => i.value = Y)
2747
2747
  }, null, 8, ["model", "mode", "id", "visible"])
@@ -2754,7 +2754,7 @@ const Be = (e) => {
2754
2754
  }, Qs = { class: "icon-wrapper" }, Ks = { class: "info-wrapper" }, Xs = { class: "title-wrapper" }, Zs = { class: "tabs-wrapper" }, er = { class: "dialog-footer" }, tr = /* @__PURE__ */ ve({
2755
2755
  __name: "DetailPage",
2756
2756
  setup(e) {
2757
- const { t } = Je(), o = He(), n = rt(), s = Re(() => o.query.id), r = A(!1), l = A(!1), a = A("view"), i = A(), d = A(-1), S = A(), w = A(), V = A("summary"), U = A(""), j = A(""), R = A(""), L = A(0), P = ce({
2757
+ const { t } = Je(), o = He(), n = rt(), s = Re(() => o.query.id), r = A(!1), l = A(!1), a = A("view"), i = A(), d = A(-1), w = A(), y = A(), V = A("summary"), U = A(""), j = A(""), R = A(""), L = A(0), P = ce({
2758
2758
  api: "",
2759
2759
  fields: []
2760
2760
  }), K = ce([]);
@@ -2775,42 +2775,42 @@ const Be = (e) => {
2775
2775
  var $;
2776
2776
  let u = ($ = q[d.value].api) == null ? void 0 : $.replace("/select", "");
2777
2777
  u = u == null ? void 0 : u.substring(u.lastIndexOf("/"));
2778
- const c = P.api + "/" + s.value + u, y = w.value.multipleSelection.map((F) => F.id);
2779
- Ee(c, "POST", y).then(() => {
2780
- S.value.refresh(), l.value = !1;
2778
+ const c = P.api + "/" + s.value + u, v = y.value.multipleSelection.map((F) => F.id);
2779
+ xe(c, "POST", v).then(() => {
2780
+ w.value.refresh(), l.value = !1;
2781
2781
  });
2782
2782
  }
2783
- function v(u, c, y) {
2783
+ function S(u, c, v) {
2784
2784
  var H;
2785
- y.functions || (y.functions = {}), y.functions.create = () => {
2786
- l.value = !0, w.value && w.value.refresh();
2785
+ v.functions || (v.functions = {}), v.functions.create = () => {
2786
+ l.value = !0, y.value && y.value.refresh();
2787
2787
  };
2788
2788
  let $ = Te(c);
2789
2789
  $.tableConfig || ($.tableConfig = {}), $.tableConfig.selectMode = !0, $.tableConfig.queryParams = {}, u.queryParamName && ($.tableConfig.queryParams[u.queryParamName] = s.value);
2790
2790
  for (var F in $.fields)
2791
2791
  $.fields[F].tableColumnAttributes && (H = $.fields[F].tableColumnAttributes) != null && H.link && ($.fields[F].tableColumnAttributes.link = !1);
2792
- q.push($), y.labels = {
2792
+ q.push($), v.labels = {
2793
2793
  create: "common.table.add",
2794
2794
  delete: "common.table.remove"
2795
- }, y.functions.batchDelete = (G) => {
2795
+ }, v.functions.batchDelete = (G) => {
2796
2796
  var O;
2797
2797
  let h = (O = q[d.value].api) == null ? void 0 : O.replace("/select", "");
2798
2798
  h = h == null ? void 0 : h.substring(h.lastIndexOf("/"));
2799
- const E = P.api + "/" + s.value + h, f = G.map((D) => D.id);
2800
- he.delete(`${E}/${f.join(",")}`).then(({ data: D }) => {
2801
- D.code === 0 && S.value.refresh();
2799
+ const x = P.api + "/" + s.value + h, f = G.map((T) => T.id);
2800
+ he.delete(`${x}/${f.join(",")}`).then(({ data: T }) => {
2801
+ T.code === 0 && w.value.refresh();
2802
2802
  });
2803
- }, y.operations = [
2803
+ }, v.operations = [
2804
2804
  {
2805
2805
  label: "common.table.remove",
2806
2806
  functions: {
2807
2807
  click: (G, h) => {
2808
2808
  var O;
2809
- let E = (O = q[d.value].api) == null ? void 0 : O.replace("/select", "");
2810
- E = E == null ? void 0 : E.substring(E.lastIndexOf("/"));
2811
- const f = P.api + "/" + s.value + E;
2812
- Ee(f, "DELETE", h.id).then(() => {
2813
- S.value.refresh();
2809
+ let x = (O = q[d.value].api) == null ? void 0 : O.replace("/select", "");
2810
+ x = x == null ? void 0 : x.substring(x.lastIndexOf("/"));
2811
+ const f = P.api + "/" + s.value + x;
2812
+ xe(f, "DELETE", h.id).then(() => {
2813
+ w.value.refresh();
2814
2814
  });
2815
2815
  }
2816
2816
  }
@@ -2829,24 +2829,24 @@ const Be = (e) => {
2829
2829
  Be(P);
2830
2830
  const c = Te(me.value[u]);
2831
2831
  Object.assign(P, c), L.value++, d.value = -1, V.value = "summary";
2832
- const y = (F = ($ = P.pageConfig) == null ? void 0 : $.detailPage) == null ? void 0 : F.tabs;
2833
- if (y)
2834
- for (let G of y) {
2832
+ const v = (F = ($ = P.pageConfig) == null ? void 0 : $.detailPage) == null ? void 0 : F.tabs;
2833
+ if (v)
2834
+ for (let G of v) {
2835
2835
  const h = Te(me.value[G.modelKey]);
2836
2836
  if (K.push(h), G.type === "table") {
2837
2837
  h.tableConfig || (h.tableConfig = {});
2838
- let E = h.tableConfig;
2839
- E.showPane = !1, G.modelRelationType === "associated" ? v(G, h, E) : G.modelRelationType === "child" && (q.push({
2838
+ let x = h.tableConfig;
2839
+ x.showPane = !1, G.modelRelationType === "associated" ? S(G, h, x) : G.modelRelationType === "child" && (q.push({
2840
2840
  fields: []
2841
2841
  }), h.formConfig === void 0 && (h.formConfig = {}), h.formConfig.functions === void 0 && (h.formConfig.functions = {}), G.queryParamName && (h.formConfig.functions.beforeSubmit = (f) => {
2842
2842
  f[G.queryParamName] = s.value;
2843
- })), E.queryParams || (E.queryParams = {}), G.queryParamName && (E.queryParams[G.queryParamName] = s.value), G.queryParams && Object.assign(E.queryParams, G.queryParams), E.readOnly = (H = G.readOnly) != null ? H : !1, G.includeFields && (h.fields = h.fields.filter((f) => {
2843
+ })), x.queryParams || (x.queryParams = {}), G.queryParamName && (x.queryParams[G.queryParamName] = s.value), G.queryParams && Object.assign(x.queryParams, G.queryParams), x.readOnly = (H = G.readOnly) != null ? H : !1, G.includeFields && (h.fields = h.fields.filter((f) => {
2844
2844
  var O;
2845
2845
  return (O = G.includeFields) == null ? void 0 : O.includes(f.prop);
2846
2846
  })), G.excludeFields && (h.fields = h.fields.filter((f) => {
2847
2847
  var O;
2848
2848
  return !((O = G.excludeFields) != null && O.includes(f.prop));
2849
- })), G.tooltip && (E.tooltip = G.tooltip);
2849
+ })), G.tooltip && (x.tooltip = G.tooltip);
2850
2850
  }
2851
2851
  }
2852
2852
  }
@@ -2863,13 +2863,13 @@ const Be = (e) => {
2863
2863
  ],
2864
2864
  (u) => {
2865
2865
  Le(() => {
2866
- var y, $, F;
2867
- const c = ($ = (y = P.pageConfig) == null ? void 0 : y.detailPage) == null ? void 0 : $.infoCard;
2866
+ var v, $, F;
2867
+ const c = ($ = (v = P.pageConfig) == null ? void 0 : v.detailPage) == null ? void 0 : $.infoCard;
2868
2868
  c && (U.value = c.titleFieldProp ? i.value.formData[c.titleFieldProp] : "", j.value = c.subtitleFieldProp ? i.value.formData[c.subtitleFieldProp] : "", R.value = c.tagFieldProp ? i.value.formData[c.tagFieldProp] : "", (F = P.fields) == null || F.forEach((H) => {
2869
2869
  var G, h;
2870
2870
  if (H.prop === c.tagFieldProp) {
2871
- const E = (h = (G = H.tableColumnAttributes) == null ? void 0 : G.functions) == null ? void 0 : h.transformValue;
2872
- E && (R.value = E(R.value));
2871
+ const x = (h = (G = H.tableColumnAttributes) == null ? void 0 : G.functions) == null ? void 0 : h.transformValue;
2872
+ x && (R.value = x(R.value));
2873
2873
  }
2874
2874
  }));
2875
2875
  });
@@ -2879,7 +2879,7 @@ const Be = (e) => {
2879
2879
  deep: !0
2880
2880
  }
2881
2881
  );
2882
- function x() {
2882
+ function E() {
2883
2883
  r.value = !0;
2884
2884
  }
2885
2885
  function I() {
@@ -2887,27 +2887,27 @@ const Be = (e) => {
2887
2887
  }
2888
2888
  return (u, c) => {
2889
2889
  var Q, se, ie, re, ae, Z;
2890
- const y = k("el-breadcrumb-item"), $ = k("el-breadcrumb"), F = k("el-button"), H = k("el-icon"), G = k("el-dropdown-item"), h = k("el-dropdown-menu"), E = k("el-dropdown"), f = k("el-tag"), O = k("el-tab-pane"), D = k("el-tabs"), X = k("el-dialog");
2890
+ const v = k("el-breadcrumb-item"), $ = k("el-breadcrumb"), F = k("el-button"), H = k("el-icon"), G = k("el-dropdown-item"), h = k("el-dropdown-menu"), x = k("el-dropdown"), f = k("el-tag"), O = k("el-tab-pane"), T = k("el-tabs"), X = k("el-dialog");
2891
2891
  return p(), M(oe, null, [
2892
2892
  b("div", Ws, [
2893
2893
  _($, null, {
2894
2894
  default: m(() => {
2895
2895
  var W, ue;
2896
2896
  return [
2897
- _(y, {
2897
+ _(v, {
2898
2898
  to: { path: `/${(ue = (W = P == null ? void 0 : P.breadcrumbRoute) != null ? W : P == null ? void 0 : P.route) != null ? ue : ""}` }
2899
2899
  }, {
2900
2900
  default: m(() => {
2901
2901
  var pe;
2902
2902
  return [
2903
- ee(T(C(t)((pe = P == null ? void 0 : P.name) != null ? pe : "")), 1)
2903
+ ee(D(C(t)((pe = P == null ? void 0 : P.name) != null ? pe : "")), 1)
2904
2904
  ];
2905
2905
  }),
2906
2906
  _: 1
2907
2907
  }, 8, ["to"]),
2908
- _(y, null, {
2908
+ _(v, null, {
2909
2909
  default: m(() => [
2910
- ee(T(C(t)("common.basic.detail")), 1)
2910
+ ee(D(C(t)("common.basic.detail")), 1)
2911
2911
  ]),
2912
2912
  _: 1
2913
2913
  })
@@ -2918,10 +2918,10 @@ const Be = (e) => {
2918
2918
  b("div", null, [
2919
2919
  _(F, {
2920
2920
  type: "primary",
2921
- onClick: x
2921
+ onClick: E
2922
2922
  }, {
2923
2923
  default: m(() => [
2924
- ee(T(C(t)("common.table.edit")), 1)
2924
+ ee(D(C(t)("common.table.edit")), 1)
2925
2925
  ]),
2926
2926
  _: 1
2927
2927
  }),
@@ -2931,11 +2931,11 @@ const Be = (e) => {
2931
2931
  disabled: ""
2932
2932
  }, {
2933
2933
  default: m(() => [
2934
- ee(T(C(t)("common.table.delete")), 1)
2934
+ ee(D(C(t)("common.table.delete")), 1)
2935
2935
  ]),
2936
2936
  _: 1
2937
2937
  }),
2938
- ((se = (Q = P.pageConfig) == null ? void 0 : Q.detailPage) == null ? void 0 : se.operationButtons) !== void 0 ? (p(), N(E, { key: 0 }, {
2938
+ ((se = (Q = P.pageConfig) == null ? void 0 : Q.detailPage) == null ? void 0 : se.operationButtons) !== void 0 ? (p(), N(x, { key: 0 }, {
2939
2939
  dropdown: m(() => [
2940
2940
  _(h, null, {
2941
2941
  default: m(() => {
@@ -2945,7 +2945,7 @@ const Be = (e) => {
2945
2945
  onClick: (ke) => pe.function(i.value.formData)
2946
2946
  }, {
2947
2947
  default: m(() => [
2948
- ee(T(C(t)(pe.label)), 1)
2948
+ ee(D(C(t)(pe.label)), 1)
2949
2949
  ]),
2950
2950
  _: 2
2951
2951
  }, 1032, ["onClick"]))), 256))
@@ -2957,7 +2957,7 @@ const Be = (e) => {
2957
2957
  default: m(() => [
2958
2958
  _(F, { style: { margin: "0 10px" } }, {
2959
2959
  default: m(() => [
2960
- ee(T(C(t)("common.basic.more")), 1),
2960
+ ee(D(C(t)("common.basic.more")), 1),
2961
2961
  _(H, { class: "el-icon--right" }, {
2962
2962
  default: m(() => [
2963
2963
  _(C($o))
@@ -2982,22 +2982,22 @@ const Be = (e) => {
2982
2982
  ]),
2983
2983
  b("div", Ks, [
2984
2984
  b("div", Xs, [
2985
- b("h1", null, T(U.value), 1),
2985
+ b("h1", null, D(U.value), 1),
2986
2986
  ((Z = R.value) == null ? void 0 : Z.length) > 0 ? (p(), N(f, {
2987
2987
  key: 0,
2988
2988
  size: "small"
2989
2989
  }, {
2990
2990
  default: m(() => [
2991
- ee(T(R.value), 1)
2991
+ ee(D(R.value), 1)
2992
2992
  ]),
2993
2993
  _: 1
2994
2994
  })) : z("", !0)
2995
2995
  ]),
2996
- b("span", null, T(j.value), 1)
2996
+ b("span", null, D(j.value), 1)
2997
2997
  ])
2998
2998
  ])) : z("", !0),
2999
2999
  b("div", Zs, [
3000
- _(D, {
3000
+ _(T, {
3001
3001
  modelValue: V.value,
3002
3002
  "onUpdate:modelValue": c[0] || (c[0] = (W) => V.value = W),
3003
3003
  onTabClick: B
@@ -3034,7 +3034,7 @@ const Be = (e) => {
3034
3034
  d.value >= 0 ? (p(), N(st, {
3035
3035
  key: 0,
3036
3036
  ref_key: "tabPaneTableRef",
3037
- ref: S,
3037
+ ref: w,
3038
3038
  model: K[d.value]
3039
3039
  }, null, 8, ["model"])) : z("", !0),
3040
3040
  _(X, {
@@ -3049,7 +3049,7 @@ const Be = (e) => {
3049
3049
  onClick: c[1] || (c[1] = (W) => l.value = !1)
3050
3050
  }, {
3051
3051
  default: m(() => [
3052
- ee(T(C(t)("common.basic.cancel")), 1)
3052
+ ee(D(C(t)("common.basic.cancel")), 1)
3053
3053
  ]),
3054
3054
  _: 1
3055
3055
  }),
@@ -3058,7 +3058,7 @@ const Be = (e) => {
3058
3058
  onClick: ne
3059
3059
  }, {
3060
3060
  default: m(() => [
3061
- ee(T(C(t)("common.basic.save")), 1)
3061
+ ee(D(C(t)("common.basic.save")), 1)
3062
3062
  ]),
3063
3063
  _: 1
3064
3064
  })
@@ -3068,7 +3068,7 @@ const Be = (e) => {
3068
3068
  d.value >= 0 ? (p(), N(st, {
3069
3069
  key: 0,
3070
3070
  ref_key: "selectTableRef",
3071
- ref: w,
3071
+ ref: y,
3072
3072
  model: C(q)[d.value]
3073
3073
  }, null, 8, ["model"])) : z("", !0)
3074
3074
  ]),
@@ -3094,8 +3094,8 @@ const Be = (e) => {
3094
3094
  fields: []
3095
3095
  }), a = ce(Ye({}, l));
3096
3096
  function i() {
3097
- var S, w, V, U, j;
3098
- r.value = [], l.pageConfig && ((w = (S = l.pageConfig) == null ? void 0 : S.tablePage) != null && w.tabViewAttributes) && (r.value = (j = (U = (V = l.pageConfig) == null ? void 0 : V.tablePage) == null ? void 0 : U.tabViewAttributes) == null ? void 0 : j.map((R) => {
3097
+ var w, y, V, U, j;
3098
+ r.value = [], l.pageConfig && ((y = (w = l.pageConfig) == null ? void 0 : w.tablePage) != null && y.tabViewAttributes) && (r.value = (j = (U = (V = l.pageConfig) == null ? void 0 : V.tablePage) == null ? void 0 : U.tabViewAttributes) == null ? void 0 : j.map((R) => {
3099
3099
  let L;
3100
3100
  return R.modelKey && me.value[R.modelKey] ? L = Te(me.value[R.modelKey]) : L = Te(l), R.queryParams && (L.tableConfig || (L.tableConfig = {}), L.tableConfig.queryParams = R.queryParams), R.fields && (L.fields = R.fields), R.modelKey && (L.breadcrumbRoute = l.route), {
3101
3101
  key: R.key,
@@ -3109,14 +3109,14 @@ const Be = (e) => {
3109
3109
  function d() {
3110
3110
  var V, U;
3111
3111
  console.log("Init table page, loading model:", o.params.model), console.log("Current model list", me.value);
3112
- const S = o.params.model;
3113
- if (me.value[S] === void 0) {
3114
- console.warn("Model not found", S, me.value);
3112
+ const w = o.params.model;
3113
+ if (me.value[w] === void 0) {
3114
+ console.warn("Model not found", w, me.value);
3115
3115
  return;
3116
3116
  }
3117
3117
  Be(l);
3118
- const w = Te(me.value[S]);
3119
- Object.assign(l, w), (U = (V = l.pageConfig) == null ? void 0 : V.tablePage) != null && U.tabViewAttributes || Object.assign(a, l), i();
3118
+ const y = Te(me.value[w]);
3119
+ Object.assign(l, y), (U = (V = l.pageConfig) == null ? void 0 : V.tablePage) != null && U.tabViewAttributes || Object.assign(a, l), i();
3120
3120
  }
3121
3121
  return Ce([
3122
3122
  () => n.currentRoute.value,
@@ -3126,11 +3126,11 @@ const Be = (e) => {
3126
3126
  }, {
3127
3127
  immediate: !0,
3128
3128
  deep: !0
3129
- }), (S, w) => {
3129
+ }), (w, y) => {
3130
3130
  var U;
3131
3131
  const V = k("el-scrollbar");
3132
3132
  return p(), M(oe, null, [
3133
- b("h1", nr, T(C(t)((U = l.name) != null ? U : "")), 1),
3133
+ b("h1", nr, D(C(t)((U = l.name) != null ? U : "")), 1),
3134
3134
  _(V, null, {
3135
3135
  default: m(() => {
3136
3136
  var j, R;