@vancone/console-component 0.1.1-beta.12 → 0.1.1-beta.13

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 D, normalizeStyle as De, ref as A, onMounted as At, 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 ft, toRef as at, computed as Re, getCurrentScope as vo, onScopeDispose as yo, toRefs as St, 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 N, onMounted as Nt, createCommentVNode as z, createTextVNode as ee, createBlock as V, nextTick as Le, resolveDynamicComponent as tt, effectScope as At, markRaw as Pe, toRaw as je, hasInjectionContext as _o, inject as go, getCurrentInstance as bo, watch as Ce, isRef as ze, isReactive as ft, toRef as at, computed as Re, getCurrentScope as vo, onScopeDispose as yo, toRefs as St, 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 xo, Download as Eo, ArrowDown as $o } from "@element-plus/icons-vue";
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";
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) => {
@@ -38,11 +38,11 @@ const _e = (e, t) => {
38
38
  for (const [n, s] of t)
39
39
  o[n] = s;
40
40
  return o;
41
- }, Po = {}, No = { class: "building" };
42
- function Ao(e, t) {
43
- return p(), M("div", No);
41
+ }, Po = {}, Vo = { class: "building" };
42
+ function No(e, t) {
43
+ return p(), M("div", Vo);
44
44
  }
45
- const Vo = /* @__PURE__ */ _e(Po, [["render", Ao], ["__scopeId", "data-v-07bd45d2"]]), he = So.create({
45
+ const Ao = /* @__PURE__ */ _e(Po, [["render", No], ["__scopeId", "data-v-07bd45d2"]]), he = So.create({
46
46
  timeout: 2 * 60 * 1e3,
47
47
  withCredentials: !0
48
48
  });
@@ -172,7 +172,7 @@ const Ho = { render: Bo }, Jo = { class: "app-catalog-wrapper" }, Wo = { class:
172
172
  b("h1", null, D(d.name), 1),
173
173
  b("div", Qo, [
174
174
  (p(!0), M(oe, null, de(d.apps, (w) => {
175
- var y, V;
175
+ var y, A;
176
176
  return p(), M("a", {
177
177
  style: De([{ "text-decoration": "none" }, { pointerEvents: ((y = w.homepageUrl) == null ? void 0 : y.length) > 0 ? "auto" : "none" }]),
178
178
  target: "_blank",
@@ -184,7 +184,7 @@ const Ho = { render: Bo }, Jo = { class: "app-catalog-wrapper" }, Wo = { class:
184
184
  innerHTML: w.iconSvg
185
185
  }, null, 8, Xo)) : (p(), M("div", Zo, " ")),
186
186
  b("h2", {
187
- style: De({ color: ((V = w.homepageUrl) == null ? void 0 : V.length) > 0 ? "#555" : "#bbb" })
187
+ style: De({ color: ((A = w.homepageUrl) == null ? void 0 : A.length) > 0 ? "#555" : "#bbb" })
188
188
  }, D(w.name), 5)
189
189
  ], 12, Ko);
190
190
  }), 256))
@@ -353,16 +353,16 @@ 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"], xn = /* @__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"], En = /* @__PURE__ */ ve({
357
357
  __name: "Header",
358
358
  props: {
359
359
  title: {},
360
360
  helpDocUrl: {}
361
361
  },
362
362
  setup(e) {
363
- const { t } = Je(), o = A(), n = A(), s = A(), r = A(), l = A(!1), a = e;
364
- A(!1);
365
- const i = A(""), d = A(ot.global.locale), w = ce([
363
+ const { t } = Je(), o = N(), n = N(), s = N(), r = N(), l = N(!1), a = e;
364
+ N(!1);
365
+ const i = N(""), d = N(ot.global.locale), w = ce([
366
366
  {
367
367
  id: "en",
368
368
  name: "English"
@@ -372,7 +372,7 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
372
372
  name: "简体中文"
373
373
  }
374
374
  ]);
375
- At(() => {
375
+ Nt(() => {
376
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);
@@ -386,7 +386,7 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
386
386
  }
387
387
  return "";
388
388
  }
389
- function V() {
389
+ function A() {
390
390
  Uo().then(() => {
391
391
  const L = escape(window.location.href);
392
392
  window.location.href = `//${Ft()}/?from=${L}#login`;
@@ -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"), S = k("el-icon"), g = k("el-menu"), E = 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"), x = k("el-drawer");
406
406
  return p(), M(oe, null, [
407
407
  b("div", gn, [
408
408
  b("div", bn, [
@@ -548,7 +548,7 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
548
548
  onClick: (u) => U(I.id)
549
549
  }, [
550
550
  b("span", null, D(I.name), 1),
551
- I.id === d.value ? (p(), N(S, {
551
+ I.id === d.value ? (p(), V(S, {
552
552
  key: 0,
553
553
  style: { color: "#8ba74f" }
554
554
  }, {
@@ -561,7 +561,7 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
561
561
  ]),
562
562
  _: 1
563
563
  }, 8, ["virtual-ref"]),
564
- _(ne, { onClick: V }, {
564
+ _(ne, { onClick: A }, {
565
565
  default: m(() => [
566
566
  ee(D(C(t)("common.header.signOut")), 1)
567
567
  ]),
@@ -576,7 +576,7 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
576
576
  ])
577
577
  ])
578
578
  ]),
579
- _(E, {
579
+ _(x, {
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(xn, [["__scopeId", "data-v-6fc40dbc"]]), En = {
588
+ }), Lt = /* @__PURE__ */ _e(En, [["__scopeId", "data-v-6fc40dbc"]]), xn = {
589
589
  class: "menu-icon-wrapper",
590
590
  style: { "margin-left": "3px" }
591
591
  }, $n = { class: "menu-icon-wrapper" }, In = /* @__PURE__ */ ve({
@@ -597,28 +597,28 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
597
597
  const t = e;
598
598
  return Le(() => console.log("menu", t.menu)), (o, n) => {
599
599
  const s = k("SideMenuItem", !0), r = k("el-sub-menu"), l = k("el-menu-item");
600
- return o.menu.children && o.menu.children.length > 0 ? (p(), N(r, {
600
+ return o.menu.children && o.menu.children.length > 0 ? (p(), V(r, {
601
601
  key: 0,
602
602
  index: o.menu.path
603
603
  }, {
604
604
  title: m(() => {
605
605
  var a, i, d;
606
606
  return [
607
- b("div", En, [
608
- (p(), N(tt((a = o.menu.meta) == null ? void 0 : a.icon), { class: "menu-icon" }))
607
+ b("div", xn, [
608
+ (p(), V(tt((a = o.menu.meta) == null ? void 0 : a.icon), { class: "menu-icon" }))
609
609
  ]),
610
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(() => [
614
- (p(!0), M(oe, null, de(o.menu.children, (a) => (p(), N(s, {
614
+ (p(!0), M(oe, null, de(o.menu.children, (a) => (p(), V(s, {
615
615
  key: a.path,
616
616
  route: a,
617
617
  menu: a
618
618
  }, null, 8, ["route", "menu"]))), 128))
619
619
  ]),
620
620
  _: 1
621
- }, 8, ["index"])) : (p(), N(l, {
621
+ }, 8, ["index"])) : (p(), V(l, {
622
622
  key: 1,
623
623
  index: t.menu.path,
624
624
  style: { height: "40px" }
@@ -633,7 +633,7 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
633
633
  var a;
634
634
  return [
635
635
  b("div", $n, [
636
- (p(), N(tt((a = o.$props.menu.meta) == null ? void 0 : a.icon), { class: "menu-icon" }))
636
+ (p(), V(tt((a = o.$props.menu.meta) == null ? void 0 : a.icon), { class: "menu-icon" }))
637
637
  ])
638
638
  ];
639
639
  }),
@@ -641,7 +641,7 @@ const _n = { render: hn }, gn = { class: "header" }, bn = { class: "title" }, vn
641
641
  }, 8, ["index"]));
642
642
  };
643
643
  }
644
- }), Pn = /* @__PURE__ */ _e(In, [["__scopeId", "data-v-99da7c39"]]), me = A({}), Nn = {}, Ct = A([]);
644
+ }), Pn = /* @__PURE__ */ _e(In, [["__scopeId", "data-v-99da7c39"]]), me = N({}), Vn = {}, Ct = N([]);
645
645
  var jt = !1;
646
646
  function Qe(e, t, o) {
647
647
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, o), o) : (e[t] = o, o);
@@ -653,17 +653,17 @@ function it(e, t) {
653
653
  }
654
654
  delete e[t];
655
655
  }
656
- function An() {
656
+ function Nn() {
657
657
  return zt().__VUE_DEVTOOLS_GLOBAL_HOOK__;
658
658
  }
659
659
  function zt() {
660
660
  return typeof navigator != "undefined" && typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : {};
661
661
  }
662
- const Vn = typeof Proxy == "function", Mn = "devtools-plugin:setup", Un = "plugin:settings:set";
663
- let Ve, ut;
662
+ const An = typeof Proxy == "function", Mn = "devtools-plugin:setup", Un = "plugin:settings:set";
663
+ let Ae, ut;
664
664
  function Tn() {
665
665
  var e;
666
- return Ve !== void 0 || (typeof window != "undefined" && window.performance ? (Ve = !0, ut = window.performance) : typeof globalThis != "undefined" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (Ve = !0, ut = globalThis.perf_hooks.performance) : Ve = !1), Ve;
666
+ return Ae !== void 0 || (typeof window != "undefined" && window.performance ? (Ae = !0, ut = window.performance) : typeof globalThis != "undefined" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (Ae = !0, ut = globalThis.perf_hooks.performance) : Ae = !1), Ae;
667
667
  }
668
668
  function Dn() {
669
669
  return Tn() ? ut.now() : Date.now();
@@ -733,7 +733,7 @@ class Rn {
733
733
  }
734
734
  }
735
735
  function qt(e, t) {
736
- const o = e, n = zt(), s = An(), r = Vn && o.enableEarlyProxy;
736
+ const o = e, n = zt(), s = Nn(), r = An && o.enableEarlyProxy;
737
737
  if (s && (n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !r))
738
738
  s.emit(Mn, e, t);
739
739
  else {
@@ -755,14 +755,14 @@ const qe = (e) => Ge = e, Bt = process.env.NODE_ENV !== "production" ? Symbol("p
755
755
  /* istanbul ignore next */
756
756
  Symbol()
757
757
  );
758
- function Ae(e) {
758
+ function Ne(e) {
759
759
  return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
760
760
  }
761
761
  var ye;
762
762
  (function(e) {
763
763
  e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
764
764
  })(ye || (ye = {}));
765
- const Ne = typeof window != "undefined", kt = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : typeof globalThis == "object" ? globalThis : { HTMLElement: null };
765
+ const Ve = typeof window != "undefined", kt = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : typeof globalThis == "object" ? globalThis : { HTMLElement: null };
766
766
  function Fn(e, { autoBom: t = !1 } = {}) {
767
767
  return t && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type) ? new Blob(["\uFEFF", e], { type: e.type }) : e;
768
768
  }
@@ -791,7 +791,7 @@ function Ke(e) {
791
791
  o.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), e.dispatchEvent(o);
792
792
  }
793
793
  }
794
- const Xe = typeof navigator == "object" ? navigator : { userAgent: "" }, Jt = /Macintosh/.test(Xe.userAgent) && /AppleWebKit/.test(Xe.userAgent) && !/Safari/.test(Xe.userAgent), Wt = Ne ? (
794
+ const Xe = typeof navigator == "object" ? navigator : { userAgent: "" }, Jt = /Macintosh/.test(Xe.userAgent) && /AppleWebKit/.test(Xe.userAgent) && !/Safari/.test(Xe.userAgent), Wt = Ve ? (
795
795
  // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program
796
796
  typeof HTMLAnchorElement != "undefined" && "download" in HTMLAnchorElement.prototype && !Jt ? Gn : (
797
797
  // Use msSaveOrOpenBlob as a second approach
@@ -1304,11 +1304,11 @@ function ts({ app: e, store: t, options: o }) {
1304
1304
  }
1305
1305
  }
1306
1306
  function os() {
1307
- const e = Vt(!0), t = e.run(() => A({}));
1307
+ const e = At(!0), t = e.run(() => N({}));
1308
1308
  let o = [], n = [];
1309
1309
  const s = Pe({
1310
1310
  install(r) {
1311
- qe(s), s._a = r, r.provide(Bt, s), r.config.globalProperties.$pinia = s, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ne && Zn(r, s), n.forEach((l) => o.push(l)), n = [];
1311
+ qe(s), s._a = r, r.provide(Bt, s), r.config.globalProperties.$pinia = s, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ve && Zn(r, s), n.forEach((l) => o.push(l)), n = [];
1312
1312
  },
1313
1313
  use(r) {
1314
1314
  return !this._a && !jt ? n.push(r) : o.push(r), this;
@@ -1329,13 +1329,13 @@ function eo(e, t) {
1329
1329
  if (!(o in e))
1330
1330
  continue;
1331
1331
  const s = e[o];
1332
- Ae(s) && Ae(n) && !ze(n) && !ft(n) ? e[o] = eo(s, n) : e[o] = n;
1332
+ Ne(s) && Ne(n) && !ze(n) && !ft(n) ? e[o] = eo(s, n) : e[o] = n;
1333
1333
  }
1334
1334
  return e;
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);
@@ -1348,14 +1348,14 @@ function Me(e, ...t) {
1348
1348
  o(...t);
1349
1349
  });
1350
1350
  }
1351
- const ns = (e) => e(), Et = Symbol(), ct = Symbol();
1351
+ const ns = (e) => e(), xt = Symbol(), ct = Symbol();
1352
1352
  function dt(e, t) {
1353
1353
  e instanceof Map && t instanceof Map ? t.forEach((o, n) => e.set(n, o)) : e instanceof Set && t instanceof Set && t.forEach(e.add, e);
1354
1354
  for (const o in t) {
1355
1355
  if (!t.hasOwnProperty(o))
1356
1356
  continue;
1357
1357
  const n = t[o], s = e[o];
1358
- Ae(s) && Ae(n) && e.hasOwnProperty(o) && !ze(n) && !ft(n) ? e[o] = dt(s, n) : e[o] = n;
1358
+ Ne(s) && Ne(n) && e.hasOwnProperty(o) && !ze(n) && !ft(n) ? e[o] = dt(s, n) : e[o] = n;
1359
1359
  }
1360
1360
  return e;
1361
1361
  }
@@ -1364,7 +1364,7 @@ const ss = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration")
1364
1364
  Symbol()
1365
1365
  );
1366
1366
  function rs(e) {
1367
- return !Ae(e) || !e.hasOwnProperty(ss);
1367
+ return !Ne(e) || !e.hasOwnProperty(ss);
1368
1368
  }
1369
1369
  const { assign: fe } = Object;
1370
1370
  function $t(e) {
@@ -1377,12 +1377,12 @@ function It(e, t, o, n) {
1377
1377
  !a && (process.env.NODE_ENV === "production" || !n) && (o.state.value[e] = s ? s() : {});
1378
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
- St(A(s ? s() : {}).value)
1380
+ St(N(s ? s() : {}).value)
1381
1381
  ) : St(o.state.value[e]);
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(() => {
1382
+ return fe(w, r, Object.keys(l || {}).reduce((y, A) => (process.env.NODE_ENV !== "production" && A in w && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${A}" in store "${e}".`), y[A] = Pe(Re(() => {
1383
1383
  qe(o);
1384
1384
  const U = o._s.get(e);
1385
- return l[V].call(U, U);
1385
+ return l[A].call(U, U);
1386
1386
  })), y), {}));
1387
1387
  }
1388
1388
  return i = pt(e, d, t, o, n, !0), i;
@@ -1396,10 +1396,10 @@ 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, w, y = [], V = [], U;
1399
+ let d, w, y = [], A = [], U;
1400
1400
  const j = n.state.value[e];
1401
1401
  !r && !j && (process.env.NODE_ENV === "production" || !s) && (n.state.value[e] = {});
1402
- const R = A({});
1402
+ const R = N({});
1403
1403
  let L;
1404
1404
  function P(u) {
1405
1405
  let c;
@@ -1430,10 +1430,10 @@ function pt(e, t, o = {}, n, s, r) {
1430
1430
  } : to
1431
1431
  );
1432
1432
  function q() {
1433
- l.stop(), y = [], V = [], n._s.delete(e);
1433
+ l.stop(), y = [], A = [], n._s.delete(e);
1434
1434
  }
1435
1435
  const B = (u, c = "") => {
1436
- if (Et in u)
1436
+ if (xt in u)
1437
1437
  return u[ct] = c, u;
1438
1438
  const v = function() {
1439
1439
  qe(n);
@@ -1444,22 +1444,22 @@ function pt(e, t, o = {}, n, s, r) {
1444
1444
  function h(f) {
1445
1445
  H.push(f);
1446
1446
  }
1447
- Me(V, {
1447
+ Me(A, {
1448
1448
  args: $,
1449
1449
  name: v[ct],
1450
1450
  store: g,
1451
1451
  after: G,
1452
1452
  onError: h
1453
1453
  });
1454
- let x;
1454
+ let E;
1455
1455
  try {
1456
- x = u.apply(this && this.$id === e ? this : g, $);
1456
+ E = u.apply(this && this.$id === e ? this : g, $);
1457
1457
  } catch (f) {
1458
1458
  throw Me(H, f), f;
1459
1459
  }
1460
- return x instanceof Promise ? x.then((f) => (Me(F, f), f)).catch((f) => (Me(H, f), Promise.reject(f))) : (Me(F, x), x);
1460
+ return E instanceof Promise ? E.then((f) => (Me(F, f), f)).catch((f) => (Me(H, f), Promise.reject(f))) : (Me(F, E), E);
1461
1461
  };
1462
- return v[Et] = !0, v[ct] = c, v;
1462
+ return v[xt] = !0, v[ct] = c, v;
1463
1463
  }, ne = /* @__PURE__ */ Pe({
1464
1464
  actions: {},
1465
1465
  getters: {},
@@ -1469,11 +1469,11 @@ function pt(e, t, o = {}, n, s, r) {
1469
1469
  _p: n,
1470
1470
  // _s: scope,
1471
1471
  $id: e,
1472
- $onAction: xt.bind(null, V),
1472
+ $onAction: Et.bind(null, A),
1473
1473
  $patch: P,
1474
1474
  $reset: K,
1475
1475
  $subscribe(u, c = {}) {
1476
- const v = xt(y, u, c.detached, () => $()), $ = l.run(() => Ce(() => n.state.value[e], (F) => {
1476
+ const v = Et(y, u, c.detached, () => $()), $ = l.run(() => Ce(() => n.state.value[e], (F) => {
1477
1477
  (c.flush === "sync" ? w : d) && u({
1478
1478
  storeId: e,
1479
1479
  type: ye.direct,
@@ -1483,7 +1483,7 @@ function pt(e, t, o = {}, n, s, r) {
1483
1483
  return v;
1484
1484
  },
1485
1485
  $dispose: q
1486
- }, g = ce(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ne ? fe(
1486
+ }, g = ce(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ve ? fe(
1487
1487
  {
1488
1488
  _hmrPayload: ne,
1489
1489
  _customProperties: Pe(/* @__PURE__ */ new Set())
@@ -1494,7 +1494,7 @@ function pt(e, t, o = {}, n, s, r) {
1494
1494
  // setupStore
1495
1495
  ) : S);
1496
1496
  n._s.set(e, g);
1497
- const I = (n._a && n._a.runWithContext || ns)(() => n._e.run(() => (l = Vt()).run(() => t({ action: B }))));
1497
+ const I = (n._a && n._a.runWithContext || ns)(() => n._e.run(() => (l = At()).run(() => t({ action: B }))));
1498
1498
  for (const u in I) {
1499
1499
  const c = I[u];
1500
1500
  if (ze(c) && !$t(c) || ft(c))
@@ -1505,7 +1505,7 @@ function pt(e, t, o = {}, n, s, r) {
1505
1505
  } else process.env.NODE_ENV !== "production" && $t(c) && (ne.getters[u] = r ? (
1506
1506
  // @ts-expect-error
1507
1507
  o.getters[u]
1508
- ) : c, Ne && (I._getters || // @ts-expect-error: same
1508
+ ) : c, Ve && (I._getters || // @ts-expect-error: same
1509
1509
  (I._getters = Pe([]))).push(u));
1510
1510
  }
1511
1511
  if (fe(g, I), fe(je(g), I), Object.defineProperty(g, "$state", {
@@ -1521,7 +1521,7 @@ function pt(e, t, o = {}, n, s, r) {
1521
1521
  g._hotUpdating = !0, u._hmrPayload.state.forEach((c) => {
1522
1522
  if (c in g.$state) {
1523
1523
  const v = u.$state[c], $ = g.$state[c];
1524
- typeof v == "object" && Ae(v) && Ae($) ? eo(v, $) : u.$state[c] = $;
1524
+ typeof v == "object" && Ne(v) && Ne($) ? eo(v, $) : u.$state[c] = $;
1525
1525
  }
1526
1526
  Qe(g, c, at(u.$state, c));
1527
1527
  }), Object.keys(g.$state).forEach((c) => {
@@ -1545,7 +1545,7 @@ function pt(e, t, o = {}, n, s, r) {
1545
1545
  }), Object.keys(g._hmrPayload.actions).forEach((c) => {
1546
1546
  c in u._hmrPayload.actions || it(g, c);
1547
1547
  }), g._hmrPayload = u._hmrPayload, g._getters = u._getters, g._hotUpdating = !1;
1548
- })), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ne) {
1548
+ })), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ve) {
1549
1549
  const u = {
1550
1550
  writable: !0,
1551
1551
  configurable: !0,
@@ -1557,7 +1557,7 @@ function pt(e, t, o = {}, n, s, r) {
1557
1557
  });
1558
1558
  }
1559
1559
  return n._p.forEach((u) => {
1560
- if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ne) {
1560
+ if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ve) {
1561
1561
  const c = l.run(() => u({
1562
1562
  store: g,
1563
1563
  app: n._a,
@@ -1593,14 +1593,14 @@ This will fail in production.`);
1593
1593
  a = Ge, a._s.has(n) || (r ? pt(n, t, s, a) : It(n, s, a), process.env.NODE_ENV !== "production" && (l._pinia = a));
1594
1594
  const w = a._s.get(n);
1595
1595
  if (process.env.NODE_ENV !== "production" && i) {
1596
- const y = "__hot:" + n, V = r ? pt(y, t, s, a, !0) : It(y, fe({}, s), a, !0);
1597
- i._hotUpdate(V), delete a.state.value[y], a._s.delete(y);
1596
+ const y = "__hot:" + n, A = r ? pt(y, t, s, a, !0) : It(y, fe({}, s), a, !0);
1597
+ i._hotUpdate(A), delete a.state.value[y], a._s.delete(y);
1598
1598
  }
1599
- if (process.env.NODE_ENV !== "production" && Ne) {
1599
+ if (process.env.NODE_ENV !== "production" && Ve) {
1600
1600
  const y = bo();
1601
1601
  if (y && y.proxy && // avoid adding stores that are just built for hot module replacement
1602
1602
  !i) {
1603
- const V = y.proxy, U = "_pStores" in V ? V._pStores : V._pStores = {};
1603
+ const A = y.proxy, U = "_pStores" in A ? A._pStores : A._pStores = {};
1604
1604
  U[n] = w;
1605
1605
  }
1606
1606
  }
@@ -1734,7 +1734,7 @@ function Pt(e, {
1734
1734
  w && (a == null || a(d));
1735
1735
  const y = t.getItem(n);
1736
1736
  if (y) {
1737
- const V = o.deserialize(y), U = r ? no(V, r) : V, j = l ? so(U, l) : U;
1737
+ const A = o.deserialize(y), U = r ? no(A, r) : A, j = l ? so(U, l) : U;
1738
1738
  e.$patch(j);
1739
1739
  }
1740
1740
  w && (i == null || i(d));
@@ -1742,7 +1742,7 @@ function Pt(e, {
1742
1742
  s && console.error("[pinia-plugin-persistedstate]", y);
1743
1743
  }
1744
1744
  }
1745
- function Nt(e, {
1745
+ function Vt(e, {
1746
1746
  storage: t,
1747
1747
  serializer: o,
1748
1748
  key: n,
@@ -1773,11 +1773,11 @@ function ms(e, t, o) {
1773
1773
  });
1774
1774
  }, s.$persist = () => {
1775
1775
  a.forEach((i) => {
1776
- Nt(s.$state, i);
1776
+ Vt(s.$state, i);
1777
1777
  });
1778
1778
  }, a.forEach((i) => {
1779
1779
  Pt(s, i, e), s.$subscribe(
1780
- (d, w) => Nt(w, i),
1780
+ (d, w) => Vt(w, i),
1781
1781
  { detached: !0 }
1782
1782
  );
1783
1783
  });
@@ -1833,7 +1833,7 @@ const ro = /* @__PURE__ */ as("console", {
1833
1833
  const s = o.meta.activeMenu;
1834
1834
  if (s === "{model}") {
1835
1835
  let l = o.params.app ? `${o.params.app}/${o.params.model}` : o.params.model;
1836
- return "/" + ((r = Nn[o.params.model]) != null ? r : l);
1836
+ return "/" + ((r = Vn[o.params.model]) != null ? r : l);
1837
1837
  } else
1838
1838
  return s;
1839
1839
  });
@@ -1846,7 +1846,7 @@ const ro = /* @__PURE__ */ as("console", {
1846
1846
  router: ""
1847
1847
  }, {
1848
1848
  default: m(() => [
1849
- (p(!0), M(oe, null, de(C(Ct), (a) => (p(), N(Pn, {
1849
+ (p(!0), M(oe, null, de(C(Ct), (a) => (p(), V(Pn, {
1850
1850
  key: a.path,
1851
1851
  menu: a
1852
1852
  }, null, 8, ["menu"]))), 128))
@@ -1863,17 +1863,17 @@ const ro = /* @__PURE__ */ as("console", {
1863
1863
  helpDocUrl: {}
1864
1864
  },
1865
1865
  setup(e) {
1866
- const t = ro(gt), o = He(), n = A(t.menu.collapsed), s = A(), r = e;
1866
+ const t = ro(gt), o = He(), n = N(t.menu.collapsed), s = N(), r = e;
1867
1867
  return (l, a) => {
1868
1868
  const i = k("router-view"), d = k("el-scrollbar");
1869
1869
  return p(), M(oe, null, [
1870
- C(o).query.embedded !== "true" ? (p(), N(Lt, {
1870
+ C(o).query.embedded !== "true" ? (p(), V(Lt, {
1871
1871
  key: 0,
1872
1872
  title: r.title,
1873
1873
  helpDocUrl: r.helpDocUrl
1874
1874
  }, null, 8, ["title", "helpDocUrl"])) : z("", !0),
1875
1875
  b("div", vs, [
1876
- C(o).query.embedded !== "true" ? (p(), N(ao, {
1876
+ C(o).query.embedded !== "true" ? (p(), V(ao, {
1877
1877
  key: 0,
1878
1878
  menuCollapsed: n.value,
1879
1879
  "onUpdate:menuCollapsed": a[0] || (a[0] = (w) => n.value = w)
@@ -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" }, xs = { class: "content" };
1908
- function Es(e, t) {
1907
+ const Cs = { render: Ss }, ks = {}, Os = { class: "wrapper" }, Es = { class: "content" };
1908
+ function xs(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", xs, [
1912
+ b("div", Es, [
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,26 +1928,26 @@ function Es(e, t) {
1928
1928
  ])
1929
1929
  ]);
1930
1930
  }
1931
- const $s = /* @__PURE__ */ _e(ks, [["render", Es], ["__scopeId", "data-v-0155b361"]]), Is = {};
1931
+ const $s = /* @__PURE__ */ _e(ks, [["render", xs], ["__scopeId", "data-v-0155b361"]]), Is = {};
1932
1932
  function Ps(e, t) {
1933
1933
  const o = k("router-view");
1934
- return p(), N(o);
1934
+ return p(), V(o);
1935
1935
  }
1936
- const Ns = /* @__PURE__ */ _e(Is, [["render", Ps]]), As = { class: "card-wrapper" }, Vs = ["onClick"], Ms = { class: "card-inner-wrapper" }, Us = { class: "card-title" }, Ts = { class: "icon" }, Ds = /* @__PURE__ */ ve({
1936
+ const Vs = /* @__PURE__ */ _e(Is, [["render", Ps]]), Ns = { class: "card-wrapper" }, As = ["onClick"], Ms = { class: "card-inner-wrapper" }, Us = { class: "card-title" }, Ts = { class: "icon" }, Ds = /* @__PURE__ */ ve({
1937
1937
  __name: "TabCard",
1938
1938
  props: {
1939
1939
  cards: {},
1940
1940
  tableRef: {}
1941
1941
  },
1942
1942
  setup(e) {
1943
- const { t } = Je(), o = He(), n = rt(), s = e, r = A(s.cards[0].key);
1943
+ const { t } = Je(), o = He(), n = rt(), s = e, r = N(s.cards[0].key);
1944
1944
  function l(a) {
1945
1945
  a.disabled || (r.value = a.key, s.tableRef.updateConfigAndRefresh(a.model), n.push({
1946
1946
  path: o.path,
1947
1947
  query: wt(Ye({}, o.query), { tab: a.key })
1948
1948
  }));
1949
1949
  }
1950
- return At(() => {
1950
+ return Nt(() => {
1951
1951
  let a;
1952
1952
  if (o.query.tab !== void 0) {
1953
1953
  for (let i of s.cards)
@@ -1974,7 +1974,7 @@ const Ns = /* @__PURE__ */ _e(Is, [["render", Ps]]), As = { class: "card-wrapper
1974
1974
  {
1975
1975
  deep: !0
1976
1976
  }
1977
- ), (a, i) => (p(), M("div", As, [
1977
+ ), (a, i) => (p(), M("div", Ns, [
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
1980
  onClick: (w) => l(d)
@@ -1982,7 +1982,7 @@ const Ns = /* @__PURE__ */ _e(Is, [["render", Ps]]), As = { class: "card-wrapper
1982
1982
  b("div", Ms, [
1983
1983
  b("div", Us, [
1984
1984
  b("div", Ts, [
1985
- d.icon ? (p(), N(tt(d.icon), {
1985
+ d.icon ? (p(), V(tt(d.icon), {
1986
1986
  key: 0,
1987
1987
  class: "svg-icon"
1988
1988
  })) : z("", !0)
@@ -1993,11 +1993,11 @@ const Ns = /* @__PURE__ */ _e(Is, [["render", Ps]]), As = { class: "card-wrapper
1993
1993
  ]),
1994
1994
  b("span", null, D(d.count), 1)
1995
1995
  ])
1996
- ], 10, Vs))), 256))
1996
+ ], 10, As))), 256))
1997
1997
  ]));
1998
1998
  }
1999
1999
  }), lo = /* @__PURE__ */ _e(Ds, [["__scopeId", "data-v-047a86e6"]]);
2000
- function xe(e, t, o) {
2000
+ function Ee(e, t, o) {
2001
2001
  switch (t) {
2002
2002
  case "POST":
2003
2003
  return he.post(e, o);
@@ -2031,41 +2031,41 @@ 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), 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(
2034
+ const { t: n } = ot.global, s = e, r = ce({}), l = N(!1), a = N(), i = ce({}), d = N(!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
2035
  (S) => {
2036
2036
  var I, u, c, v;
2037
2037
  let g = S.visible !== !1 && ((I = S.formItemAttributes) == null ? void 0 : I.visible) !== !1;
2038
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 E = (v = S.formItemAttributes) == null ? void 0 : v.showCondition;
2041
- return E && E.field && E.value !== void 0 ? r[E.field] === E.value : g;
2040
+ let x = (v = S.formItemAttributes) == null ? void 0 : v.showCondition;
2041
+ return x && x.field && x.value !== void 0 ? r[x.field] === x.value : g;
2042
2042
  }
2043
2043
  ) : []);
2044
2044
  Ce([() => s.id, () => s.sessionId], () => {
2045
- console.log("form-view watch executed", s.id, s.sessionId), U();
2045
+ console.log(`FormView.watch: id = ${s.id}, sessionId = ${s.sessionId}`), U();
2046
2046
  }, {
2047
2047
  immediate: !0
2048
2048
  });
2049
- function V() {
2050
- console.log("form-view initFormFields executed");
2049
+ function A() {
2050
+ console.log("FormView.initFormFields: begin");
2051
2051
  const S = s.model.fields;
2052
2052
  let g = {};
2053
- S == null || S.forEach((E) => {
2053
+ S == null || S.forEach((x) => {
2054
2054
  var I, u, c, v, $, F, H, G, h;
2055
- if (r[E.prop] = null, E.visible !== !1 && ((I = E.formItemAttributes) == null ? void 0 : I.visible) !== !1) {
2056
- 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") {
2057
- let Q = (v = E.formItemAttributes) == null ? void 0 : v.validationRule;
2058
- Q !== void 0 && (g[E.prop] = Q), Object.assign(i, g);
2055
+ if (r[x.prop] = null, x.visible !== !1 && ((I = x.formItemAttributes) == null ? void 0 : I.visible) !== !1) {
2056
+ 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") {
2057
+ let Q = (v = x.formItemAttributes) == null ? void 0 : v.validationRule;
2058
+ Q !== void 0 && (g[x.prop] = Q), Object.assign(i, g);
2059
2059
  }
2060
- 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;
2060
+ const E = x.formItemAttributes, f = E == null ? void 0 : E.type, O = ($ = E == null ? void 0 : E.selectAttributes) == null ? void 0 : $.api, T = (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;
2061
2061
  if (f === "select" && O) {
2062
2062
  let Q = O;
2063
- 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;
2064
- se && (Q = `${Q}?${se}=${s.id}`), ie || xe(Q, "GET", {}).then(({ data: re }) => {
2063
+ 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;
2064
+ se && (Q = `${Q}?${se}=${s.id}`), ie || Ee(Q, "GET", {}).then(({ data: re }) => {
2065
2065
  var ae;
2066
- if ((ae = E.formItemAttributes) != null && ae.selectAttributes) {
2066
+ if ((ae = x.formItemAttributes) != null && ae.selectAttributes) {
2067
2067
  let Z = [];
2068
- 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) => ({
2068
+ 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) => ({
2069
2069
  value: T ? W[T] : W.value,
2070
2070
  label: X ? W[X] : W.label
2071
2071
  }));
@@ -2077,7 +2077,7 @@ const Be = (e) => {
2077
2077
  }
2078
2078
  function U() {
2079
2079
  var S;
2080
- 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 }) => {
2080
+ console.log(`FormView.refresh: id = ${s.id}, model = `, s.model), R(), d.value = (S = s.model.useI18n) != null ? S : !0, A(), (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 }) => {
2081
2081
  Be(r), Object.assign(r, g.data), l.value = !1;
2082
2082
  }));
2083
2083
  }
@@ -2085,8 +2085,8 @@ const Be = (e) => {
2085
2085
  return new Promise((S, g) => {
2086
2086
  var I, u, c, v;
2087
2087
  ((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));
2088
- let E = s.mode === "create" ? "POST" : "PUT";
2089
- s.model.api && xe(s.model.api, E, r).then(({ data: $ }) => {
2088
+ let x = s.mode === "create" ? "POST" : "PUT";
2089
+ s.model.api && Ee(s.model.api, x, r).then(({ data: $ }) => {
2090
2090
  var F, H, G, h;
2091
2091
  $.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());
2092
2092
  });
@@ -2094,16 +2094,16 @@ const Be = (e) => {
2094
2094
  }
2095
2095
  function R() {
2096
2096
  var S;
2097
- console.log("form-view reset executed"), (S = a.value) == null || S.resetFields();
2097
+ console.log("FormView.reset: begin"), (S = a.value) == null || S.resetFields();
2098
2098
  }
2099
2099
  function L(S) {
2100
2100
  return S.label ? d ? n(S.label) : S.label : S.prop.slice(0, 1).toUpperCase() + S.prop.slice(1).toLowerCase();
2101
2101
  }
2102
2102
  function P(S) {
2103
- var g, E, I, u;
2103
+ var g, x, I, u;
2104
2104
  if (S) {
2105
2105
  if (B(S, "select")) {
2106
- const c = (E = (g = S.tableColumnAttributes) == null ? void 0 : g.functions) == null ? void 0 : E.transformValue;
2106
+ const c = (x = (g = S.tableColumnAttributes) == null ? void 0 : g.functions) == null ? void 0 : x.transformValue;
2107
2107
  if (c)
2108
2108
  return c(r[S.prop]);
2109
2109
  const v = (u = (I = S.formItemAttributes) == null ? void 0 : I.selectAttributes) == null ? void 0 : u.viewModeLabelField;
@@ -2119,10 +2119,10 @@ const Be = (e) => {
2119
2119
  }
2120
2120
  function q(S, g) {
2121
2121
  var I, u;
2122
- const E = (u = (I = g.formItemAttributes) == null ? void 0 : I.type) != null ? u : "input";
2122
+ const x = (u = (I = g.formItemAttributes) == null ? void 0 : I.type) != null ? u : "input";
2123
2123
  switch (S) {
2124
2124
  case "input":
2125
- return s.mode === "view" ? !1 : E === "input" || E === "password";
2125
+ return s.mode === "view" ? !1 : x === "input" || x === "password";
2126
2126
  case "select":
2127
2127
  return !0;
2128
2128
  default:
@@ -2130,19 +2130,19 @@ const Be = (e) => {
2130
2130
  }
2131
2131
  }
2132
2132
  function B(S, g) {
2133
- var E;
2134
- return ((E = S.formItemAttributes) == null ? void 0 : E.type) === g;
2133
+ var x;
2134
+ return ((x = S.formItemAttributes) == null ? void 0 : x.type) === g;
2135
2135
  }
2136
2136
  function ne(S) {
2137
2137
  var g;
2138
- for (let E of s.model.fields) {
2139
- const I = (g = E.formItemAttributes) == null ? void 0 : g.selectAttributes;
2140
- if (!(!E.formItemAttributes || E.formItemAttributes.type !== "select" || !I || !I.queryParamValueField) && I.queryParamValueField === S.prop) {
2138
+ for (let x of s.model.fields) {
2139
+ const I = (g = x.formItemAttributes) == null ? void 0 : g.selectAttributes;
2140
+ if (!(!x.formItemAttributes || x.formItemAttributes.type !== "select" || !I || !I.queryParamValueField) && I.queryParamValueField === S.prop) {
2141
2141
  const u = I.api;
2142
2142
  if (u) {
2143
2143
  let c = u;
2144
2144
  const v = I.queryParamName;
2145
- v && (c = `${c}?${v}=${r[I.queryParamValueField]}`), xe(c, "GET", {}).then(({ data: $ }) => {
2145
+ v && (c = `${c}?${v}=${r[I.queryParamValueField]}`), Ee(c, "GET", {}).then(({ data: $ }) => {
2146
2146
  if (I) {
2147
2147
  let F = [];
2148
2148
  Array.isArray($.data) ? F = $.data : $.data.list && Array.isArray($.data.list) && (F = $.data.list), I.options = F.map((H) => ({
@@ -2161,49 +2161,50 @@ const Be = (e) => {
2161
2161
  submit: j,
2162
2162
  formData: r
2163
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");
2165
- return Tt((p(), N(H, {
2164
+ const x = 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");
2165
+ return Tt((p(), V(H, {
2166
2166
  ref_key: "formRef",
2167
2167
  ref: a,
2168
2168
  model: r,
2169
2169
  rules: i,
2170
+ "validate-on-rule-change": !1,
2170
2171
  "label-width": "auto",
2171
2172
  "label-position": "left",
2172
2173
  "require-asterisk-position": "right",
2173
2174
  inline: !s.disableInline
2174
2175
  }, {
2175
2176
  default: m(() => [
2176
- (p(!0), M(oe, null, de(y.value, (h) => (p(), N(F, {
2177
+ (p(!0), M(oe, null, de(y.value, (h) => (p(), V(F, {
2177
2178
  class: "form-item",
2178
2179
  style: De({ width: s.disableInline ? "100%" : "calc(50% - 32px)" }),
2179
2180
  prop: h.prop,
2180
2181
  label: L(h)
2181
2182
  }, {
2182
2183
  default: m(() => {
2183
- var x, f, O, T, X, Q, se, ie, re, ae, Z, W, ue, pe, ke, We;
2184
+ var E, f, O, T, X, Q, se, ie, re, ae, Z, W, ue, pe, ke, We;
2184
2185
  return [
2185
- q("input", h) ? (p(), N(E, {
2186
+ q("input", h) ? (p(), V(x, {
2186
2187
  key: 0,
2187
2188
  type: B(h, "password") ? "password" : "text",
2188
2189
  modelValue: r[h.prop],
2189
2190
  "onUpdate:modelValue": (Y) => r[h.prop] = Y,
2190
- placeholder: (x = h.formItemAttributes) == null ? void 0 : x.placeholder,
2191
+ placeholder: (E = h.formItemAttributes) == null ? void 0 : E.placeholder,
2191
2192
  disabled: K(h)
2192
2193
  }, null, 8, ["type", "modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : z("", !0),
2193
2194
  w(h) ? (p(), M("span", Rs, D(P(h)), 1)) : z("", !0),
2194
- B(h, "switch") ? (p(), N(I, {
2195
+ B(h, "switch") ? (p(), V(I, {
2195
2196
  key: 2,
2196
2197
  modelValue: r[h.prop],
2197
2198
  "onUpdate:modelValue": (Y) => r[h.prop] = Y,
2198
2199
  disabled: S.mode === "view"
2199
2200
  }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])) : z("", !0),
2200
- B(h, "datepicker") ? (p(), N(u, {
2201
+ B(h, "datepicker") ? (p(), V(u, {
2201
2202
  key: 3,
2202
2203
  type: "date",
2203
2204
  modelValue: r[h.prop],
2204
2205
  "onUpdate:modelValue": (Y) => r[h.prop] = Y
2205
2206
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : z("", !0),
2206
- B(h, "select") && S.mode !== "view" ? (p(), N(v, {
2207
+ B(h, "select") && S.mode !== "view" ? (p(), V(v, {
2207
2208
  key: 4,
2208
2209
  filterable: (O = (f = h.formItemAttributes) == null ? void 0 : f.selectAttributes) == null ? void 0 : O.allowCreate,
2209
2210
  "allow-create": (X = (T = h.formItemAttributes) == null ? void 0 : T.selectAttributes) == null ? void 0 : X.allowCreate,
@@ -2216,7 +2217,7 @@ const Be = (e) => {
2216
2217
  default: m(() => {
2217
2218
  var Y, J;
2218
2219
  return [
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
+ (p(!0), M(oe, null, de((J = (Y = h.formItemAttributes) == null ? void 0 : Y.selectAttributes) == null ? void 0 : J.options, (ge) => (p(), V(c, {
2220
2221
  value: ge.value,
2221
2222
  label: ge.label
2222
2223
  }, null, 8, ["value", "label"]))), 256))
@@ -2224,7 +2225,7 @@ const Be = (e) => {
2224
2225
  }),
2225
2226
  _: 2
2226
2227
  }, 1032, ["filterable", "allow-create", "default-first-option", "modelValue", "onUpdate:modelValue", "disabled", "onChange"])) : z("", !0),
2227
- B(h, "input-number") && S.mode !== "view" ? (p(), N($, {
2228
+ B(h, "input-number") && S.mode !== "view" ? (p(), V($, {
2228
2229
  key: 5,
2229
2230
  modelValue: r[h.prop],
2230
2231
  "onUpdate:modelValue": (Y) => r[h.prop] = Y,
@@ -2244,7 +2245,7 @@ const Be = (e) => {
2244
2245
  ]);
2245
2246
  };
2246
2247
  }
2247
- }), io = /* @__PURE__ */ _e(Fs, [["__scopeId", "data-v-54b395ca"]]), Gs = { class: "console-dialog__body" }, Ls = {
2248
+ }), io = /* @__PURE__ */ _e(Fs, [["__scopeId", "data-v-727e6087"]]), Gs = { class: "console-dialog__body" }, Ls = {
2248
2249
  key: 0,
2249
2250
  class: "process-view"
2250
2251
  }, js = { class: "operation-button-wrapper" }, co = /* @__PURE__ */ ve({
@@ -2259,7 +2260,7 @@ const Be = (e) => {
2259
2260
  },
2260
2261
  emits: ["update:visible", "update:id"],
2261
2262
  setup(e, { expose: t, emit: o }) {
2262
- const { t: n } = Je(), s = e, r = A(0), l = o, a = A();
2263
+ const { t: n } = Je(), s = e, r = N(0), l = o, a = N();
2263
2264
  Ce(() => s.visible, () => {
2264
2265
  s.visible && r.value++;
2265
2266
  });
@@ -2275,9 +2276,9 @@ const Be = (e) => {
2275
2276
  return t({
2276
2277
  close: d,
2277
2278
  refresh: i
2278
- }), (y, V) => {
2279
+ }), (y, A) => {
2279
2280
  const U = k("el-step"), j = k("el-steps"), R = k("el-button"), L = k("el-dialog");
2280
- return p(), N(L, {
2281
+ return p(), V(L, {
2281
2282
  class: "console-dialog",
2282
2283
  title: "Edit",
2283
2284
  "align-center": "",
@@ -2293,7 +2294,7 @@ const Be = (e) => {
2293
2294
  style: De({ width: s.showProcess ? "calc(100% - 350px)" : "auto" })
2294
2295
  }, [
2295
2296
  b("div", js, [
2296
- (p(!0), M(oe, null, de((P = s.model.formConfig) == null ? void 0 : P.dialogButtons, (K) => (p(), N(R, {
2297
+ (p(!0), M(oe, null, de((P = s.model.formConfig) == null ? void 0 : P.dialogButtons, (K) => (p(), V(R, {
2297
2298
  onClick: (q) => K.function(a.value.formData)
2298
2299
  }, {
2299
2300
  default: m(() => [
@@ -2338,7 +2339,7 @@ const Be = (e) => {
2338
2339
  disableInline: s.showProcess
2339
2340
  }, null, 8, ["style", "id", "sessionId", "mode", "model", "afterSubmitFunc", "disableInline"]),
2340
2341
  y.showProcess ? (p(), M("div", Ls, [
2341
- V[0] || (V[0] = b("h1", null, "流程动态", -1)),
2342
+ A[0] || (A[0] = b("h1", null, "流程动态", -1)),
2342
2343
  _(j, {
2343
2344
  style: { height: "90%" },
2344
2345
  direction: "vertical",
@@ -2365,7 +2366,7 @@ const Be = (e) => {
2365
2366
  setup(e, { expose: t }) {
2366
2367
  const { t: o } = ot.global, n = e, s = ce([]), r = ce({
2367
2368
  showPane: !0
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
+ }), l = N(""), a = N(!0), i = N(!1), d = rt(), w = N(""), y = ce([]), A = ce([]), U = N(), j = N([]), R = N("create"), L = N(!0), P = N(!1), K = N(""), q = ce({
2369
2370
  pageSize: 10,
2370
2371
  pageNo: 1,
2371
2372
  totalElements: 0
@@ -2410,13 +2411,13 @@ const Be = (e) => {
2410
2411
  function g(f) {
2411
2412
  Be(n.model), Object.assign(n.model, f);
2412
2413
  }
2413
- function E() {
2414
+ function x() {
2414
2415
  var O, T, X;
2415
2416
  if (L.value = !0, !n.model || !n.model.api)
2416
2417
  return;
2417
2418
  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
2419
  let f = Ye({}, r.queryParams);
2419
- f.pageSize = q.pageSize, f.pageNo = q.pageNo, f.search = w.value, xe(n.model.api, "GET", f).then(({ data: Q }) => {
2420
+ f.pageSize = q.pageSize, f.pageNo = q.pageNo, f.search = w.value, Ee(n.model.api, "GET", f).then(({ data: Q }) => {
2420
2421
  const { list: se, totalCount: ie } = Q.data;
2421
2422
  y.splice(0, y.length, ...se), q.totalElements = ie, L.value = !1;
2422
2423
  });
@@ -2426,8 +2427,8 @@ const Be = (e) => {
2426
2427
  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
2428
  }
2428
2429
  function u(f, O) {
2429
- n.model.api && xe(n.model.api, "DELETE", O.id).then(({ data: T }) => {
2430
- T.code === 0 && (i.value = !1, E());
2430
+ n.model.api && Ee(n.model.api, "DELETE", O.id).then(({ data: T }) => {
2431
+ T.code === 0 && (i.value = !1, x());
2431
2432
  });
2432
2433
  }
2433
2434
  function c() {
@@ -2446,7 +2447,7 @@ const Be = (e) => {
2446
2447
  else {
2447
2448
  const T = j.value.map((X) => X.id);
2448
2449
  he.delete(`${n.model.api}/${T.join(",")}`).then(({ data: X }) => {
2449
- X.code === 0 && (i.value = !1, E());
2450
+ X.code === 0 && (i.value = !1, x());
2450
2451
  });
2451
2452
  }
2452
2453
  U.value.clearSelection();
@@ -2455,10 +2456,10 @@ const Be = (e) => {
2455
2456
  });
2456
2457
  }
2457
2458
  function v(f) {
2458
- q.pageSize = f, E();
2459
+ q.pageSize = f, x();
2459
2460
  }
2460
2461
  function $(f) {
2461
- q.pageNo = f, E();
2462
+ q.pageNo = f, x();
2462
2463
  }
2463
2464
  function F(f, O) {
2464
2465
  r.editPageRoutePath !== void 0 ? d.push({
@@ -2481,17 +2482,17 @@ const Be = (e) => {
2481
2482
  function h(f) {
2482
2483
  return f.label ? a.value ? o(f.label) : f.label : f.prop.slice(0, 1).toUpperCase() + f.prop.slice(1).toLowerCase();
2483
2484
  }
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));
2485
+ function E(f) {
2486
+ f ? (P.value = !0, A.splice(0, A.length, ...y), y.splice(0, y.length, ...j.value)) : (P.value = !1, y.splice(0, y.length, ...A));
2486
2487
  }
2487
2488
  return Ce(() => n.model, () => {
2488
- E();
2489
+ x();
2489
2490
  }, {
2490
2491
  deep: !0,
2491
2492
  immediate: !0
2492
2493
  }), t({
2493
2494
  multipleSelection: j,
2494
- refresh: E,
2495
+ refresh: x,
2495
2496
  updateConfigAndRefresh: g
2496
2497
  }), (f, O) => {
2497
2498
  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");
@@ -2500,7 +2501,7 @@ const Be = (e) => {
2500
2501
  }, [
2501
2502
  b("div", zs, [
2502
2503
  b("div", qs, [
2503
- r.selectMode ? (p(), N(X, {
2504
+ r.selectMode ? (p(), V(X, {
2504
2505
  key: 0,
2505
2506
  value: j.value.length,
2506
2507
  type: "primary",
@@ -2511,12 +2512,12 @@ const Be = (e) => {
2511
2512
  class: "selected-checkbox",
2512
2513
  border: !0,
2513
2514
  label: C(o)("common.table.viewSelected"),
2514
- onChange: x
2515
+ onChange: E
2515
2516
  }, null, 8, ["label"])
2516
2517
  ]),
2517
2518
  _: 1
2518
2519
  }, 8, ["value"])) : z("", !0),
2519
- !r.selectMode && !r.readOnly && r.creatable !== !1 ? (p(), N(Q, {
2520
+ !r.selectMode && !r.readOnly && r.creatable !== !1 ? (p(), V(Q, {
2520
2521
  key: 1,
2521
2522
  type: "primary",
2522
2523
  onClick: I
@@ -2529,7 +2530,7 @@ const Be = (e) => {
2529
2530
  }),
2530
2531
  _: 1
2531
2532
  })) : z("", !0),
2532
- !r.selectMode && !r.readOnly && r.deletable !== !1 ? (p(), N(Q, {
2533
+ !r.selectMode && !r.readOnly && r.deletable !== !1 ? (p(), V(Q, {
2533
2534
  key: 2,
2534
2535
  disabled: j.value.length == 0,
2535
2536
  type: "danger",
@@ -2546,9 +2547,9 @@ const Be = (e) => {
2546
2547
  }, 8, ["disabled"])) : z("", !0),
2547
2548
  _(Q, {
2548
2549
  icon: C(Rt),
2549
- onClick: E
2550
+ onClick: x
2550
2551
  }, null, 8, ["icon"]),
2551
- r.tooltip ? (p(), N(ie, {
2552
+ r.tooltip ? (p(), V(ie, {
2552
2553
  key: 3,
2553
2554
  effect: "dark",
2554
2555
  content: C(o)(r.tooltip),
@@ -2557,7 +2558,7 @@ const Be = (e) => {
2557
2558
  default: m(() => [
2558
2559
  _(se, { style: { color: "#8ba74f" } }, {
2559
2560
  default: m(() => [
2560
- _(C(xo))
2561
+ _(C(Eo))
2561
2562
  ]),
2562
2563
  _: 1
2563
2564
  })
@@ -2566,7 +2567,7 @@ const Be = (e) => {
2566
2567
  }, 8, ["content"])) : z("", !0)
2567
2568
  ]),
2568
2569
  b("div", Bs, [
2569
- r.export ? (p(), N(Q, {
2570
+ r.export ? (p(), V(Q, {
2570
2571
  key: 0,
2571
2572
  class: "button-export",
2572
2573
  onClick: H
@@ -2574,7 +2575,7 @@ const Be = (e) => {
2574
2575
  default: m(() => [
2575
2576
  _(se, null, {
2576
2577
  default: m(() => [
2577
- _(C(Eo))
2578
+ _(C(xo))
2578
2579
  ]),
2579
2580
  _: 1
2580
2581
  })
@@ -2590,14 +2591,14 @@ const Be = (e) => {
2590
2591
  _(Q, {
2591
2592
  style: { "margin-left": "-20px" },
2592
2593
  icon: C(Dt),
2593
- onClick: E
2594
+ onClick: x
2594
2595
  }, null, 8, ["icon"])
2595
2596
  ]),
2596
2597
  _: 1
2597
2598
  }, 8, ["placeholder", "modelValue"])
2598
2599
  ])
2599
2600
  ]),
2600
- Tt((p(), N(pe, {
2601
+ Tt((p(), V(pe, {
2601
2602
  border: !0,
2602
2603
  ref_key: "tableRef",
2603
2604
  ref: U,
@@ -2608,44 +2609,44 @@ const Be = (e) => {
2608
2609
  default: m(() => {
2609
2610
  var Y;
2610
2611
  return [
2611
- r.readOnly ? z("", !0) : (p(), N(ae, {
2612
+ r.readOnly ? z("", !0) : (p(), V(ae, {
2612
2613
  key: 0,
2613
2614
  type: "selection",
2614
2615
  width: "50"
2615
2616
  })),
2616
2617
  (p(!0), M(oe, null, de(B.value, (J) => {
2617
2618
  var ge;
2618
- return p(), N(ae, {
2619
+ return p(), V(ae, {
2619
2620
  prop: J.prop,
2620
2621
  label: h(J),
2621
2622
  width: (ge = J.tableColumnAttributes) == null ? void 0 : ge.width,
2622
2623
  "show-overflow-tooltip": ""
2623
2624
  }, {
2624
- default: m((Ee) => {
2625
+ default: m((xe) => {
2625
2626
  var $e, Fe, bt;
2626
2627
  return [
2627
- ($e = J.tableColumnAttributes) != null && $e.link ? (p(), N(Z, {
2628
+ ($e = J.tableColumnAttributes) != null && $e.link ? (p(), V(Z, {
2628
2629
  key: 0,
2629
2630
  class: "router-link",
2630
- to: `/${l.value}/detail?id=${Ee.row.id}`
2631
+ to: `/${l.value}/detail?id=${xe.row.id}`
2631
2632
  }, {
2632
2633
  default: m(() => [
2633
- b("span", null, D(ne(J, Ee)), 1)
2634
+ b("span", null, D(ne(J, xe)), 1)
2634
2635
  ]),
2635
2636
  _: 2
2636
- }, 1032, ["to"])) : (Fe = J.tableColumnAttributes) != null && Fe.routerLink ? (p(), N(Z, {
2637
+ }, 1032, ["to"])) : (Fe = J.tableColumnAttributes) != null && Fe.routerLink ? (p(), V(Z, {
2637
2638
  key: 1,
2638
2639
  class: "router-link",
2639
- to: J.tableColumnAttributes.routerLink.replace("{id}", Ee.row.id)
2640
+ to: J.tableColumnAttributes.routerLink.replace("{id}", xe.row.id)
2640
2641
  }, {
2641
2642
  default: m(() => [
2642
- b("span", null, D(ne(J, Ee)), 1)
2643
+ b("span", null, D(ne(J, xe)), 1)
2643
2644
  ]),
2644
2645
  _: 2
2645
- }, 1032, ["to"])) : (p(), M("span", Hs, D(ne(J, Ee)), 1)),
2646
- ((bt = J.tableColumnAttributes) == null ? void 0 : bt.type) === "tag" ? (p(), N(W, { key: 3 }, {
2646
+ }, 1032, ["to"])) : (p(), M("span", Hs, D(ne(J, xe)), 1)),
2647
+ ((bt = J.tableColumnAttributes) == null ? void 0 : bt.type) === "tag" ? (p(), V(W, { key: 3 }, {
2647
2648
  default: m(() => [
2648
- ee(D(Ee.row[J.prop]), 1)
2649
+ ee(D(xe.row[J.prop]), 1)
2649
2650
  ]),
2650
2651
  _: 2
2651
2652
  }, 1024)) : z("", !0)
@@ -2654,13 +2655,13 @@ const Be = (e) => {
2654
2655
  _: 2
2655
2656
  }, 1032, ["prop", "label", "width"]);
2656
2657
  }), 256)),
2657
- r.operations === void 0 && !((Y = r.selectMode) != null && Y) && !r.readOnly ? (p(), N(ae, {
2658
+ r.operations === void 0 && !((Y = r.selectMode) != null && Y) && !r.readOnly ? (p(), V(ae, {
2658
2659
  key: 1,
2659
2660
  label: C(o)("common.table.operation"),
2660
2661
  width: "120"
2661
2662
  }, {
2662
2663
  default: m((J) => [
2663
- r.updatable !== !1 ? (p(), N(Q, {
2664
+ r.updatable !== !1 ? (p(), V(Q, {
2664
2665
  key: 0,
2665
2666
  link: "",
2666
2667
  type: "primary",
@@ -2677,7 +2678,7 @@ const Be = (e) => {
2677
2678
  onConfirm: (ge) => u(J.$index, J.row)
2678
2679
  }, {
2679
2680
  reference: m(() => [
2680
- r.deletable !== !1 ? (p(), N(Q, {
2681
+ r.deletable !== !1 ? (p(), V(Q, {
2681
2682
  key: 0,
2682
2683
  link: "",
2683
2684
  type: "primary",
@@ -2694,20 +2695,20 @@ const Be = (e) => {
2694
2695
  ]),
2695
2696
  _: 1
2696
2697
  }, 8, ["label"])) : z("", !0),
2697
- r.operations !== void 0 && !r.readOnly ? (p(), N(ae, {
2698
+ r.operations !== void 0 && !r.readOnly ? (p(), V(ae, {
2698
2699
  key: 2,
2699
2700
  label: C(o)("common.table.operation"),
2700
2701
  width: "120"
2701
2702
  }, {
2702
2703
  default: m((J) => [
2703
- (p(!0), M(oe, null, de(r.operations, (ge) => (p(), N(Q, {
2704
+ (p(!0), M(oe, null, de(r.operations, (ge) => (p(), V(Q, {
2704
2705
  class: "operation-button",
2705
2706
  link: "",
2706
2707
  type: "primary",
2707
2708
  key: ge.label,
2708
- onClick: (Ee) => {
2709
+ onClick: (xe) => {
2709
2710
  var $e, Fe;
2710
- return ((Fe = ($e = ge.functions) == null ? void 0 : $e.click) == null ? void 0 : Fe.call($e, J.$index, J.row)) && E();
2711
+ return ((Fe = ($e = ge.functions) == null ? void 0 : $e.click) == null ? void 0 : Fe.call($e, J.$index, J.row)) && x();
2711
2712
  }
2712
2713
  }, {
2713
2714
  default: m(() => [
@@ -2724,7 +2725,7 @@ const Be = (e) => {
2724
2725
  }, 8, ["data"])), [
2725
2726
  [We, L.value]
2726
2727
  ]),
2727
- P.value ? z("", !0) : (p(), N(ke, {
2728
+ P.value ? z("", !0) : (p(), V(ke, {
2728
2729
  key: 0,
2729
2730
  size: "small",
2730
2731
  background: "",
@@ -2741,7 +2742,7 @@ const Be = (e) => {
2741
2742
  model: f.model,
2742
2743
  mode: R.value,
2743
2744
  id: K.value,
2744
- afterSubmitFunc: E,
2745
+ afterSubmitFunc: x,
2745
2746
  visible: i.value,
2746
2747
  "onUpdate:visible": O[2] || (O[2] = (Y) => i.value = Y)
2747
2748
  }, null, 8, ["model", "mode", "id", "visible"])
@@ -2754,7 +2755,7 @@ const Be = (e) => {
2754
2755
  }, Qs = { class: "icon-wrapper" }, Ks = { class: "info-wrapper" }, Xs = { class: "title-wrapper" }, Zs = { class: "tabs-wrapper" }, er = { class: "dialog-footer" }, tr = /* @__PURE__ */ ve({
2755
2756
  __name: "DetailPage",
2756
2757
  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), w = A(), y = A(), V = A("summary"), U = A(""), j = A(""), R = A(""), L = A(0), P = ce({
2758
+ const { t } = Je(), o = He(), n = rt(), s = Re(() => o.query.id), r = N(!1), l = N(!1), a = N("view"), i = N(), d = N(-1), w = N(), y = N(), A = N("summary"), U = N(""), j = N(""), R = N(""), L = N(0), P = ce({
2758
2759
  api: "",
2759
2760
  fields: []
2760
2761
  }), K = ce([]);
@@ -2776,7 +2777,7 @@ const Be = (e) => {
2776
2777
  let u = ($ = q[d.value].api) == null ? void 0 : $.replace("/select", "");
2777
2778
  u = u == null ? void 0 : u.substring(u.lastIndexOf("/"));
2778
2779
  const c = P.api + "/" + s.value + u, v = y.value.multipleSelection.map((F) => F.id);
2779
- xe(c, "POST", v).then(() => {
2780
+ Ee(c, "POST", v).then(() => {
2780
2781
  w.value.refresh(), l.value = !1;
2781
2782
  });
2782
2783
  }
@@ -2796,8 +2797,8 @@ const Be = (e) => {
2796
2797
  var O;
2797
2798
  let h = (O = q[d.value].api) == null ? void 0 : O.replace("/select", "");
2798
2799
  h = h == null ? void 0 : h.substring(h.lastIndexOf("/"));
2799
- const x = P.api + "/" + s.value + h, f = G.map((T) => T.id);
2800
- he.delete(`${x}/${f.join(",")}`).then(({ data: T }) => {
2800
+ const E = P.api + "/" + s.value + h, f = G.map((T) => T.id);
2801
+ he.delete(`${E}/${f.join(",")}`).then(({ data: T }) => {
2801
2802
  T.code === 0 && w.value.refresh();
2802
2803
  });
2803
2804
  }, v.operations = [
@@ -2806,10 +2807,10 @@ const Be = (e) => {
2806
2807
  functions: {
2807
2808
  click: (G, h) => {
2808
2809
  var O;
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(() => {
2810
+ let E = (O = q[d.value].api) == null ? void 0 : O.replace("/select", "");
2811
+ E = E == null ? void 0 : E.substring(E.lastIndexOf("/"));
2812
+ const f = P.api + "/" + s.value + E;
2813
+ Ee(f, "DELETE", h.id).then(() => {
2813
2814
  w.value.refresh();
2814
2815
  });
2815
2816
  }
@@ -2828,25 +2829,25 @@ const Be = (e) => {
2828
2829
  console.debug("Detail page model found:", u, me.value[u]);
2829
2830
  Be(P);
2830
2831
  const c = Te(me.value[u]);
2831
- Object.assign(P, c), L.value++, d.value = -1, V.value = "summary";
2832
+ Object.assign(P, c), L.value++, d.value = -1, A.value = "summary";
2832
2833
  const v = (F = ($ = P.pageConfig) == null ? void 0 : $.detailPage) == null ? void 0 : F.tabs;
2833
2834
  if (v)
2834
2835
  for (let G of v) {
2835
2836
  const h = Te(me.value[G.modelKey]);
2836
2837
  if (K.push(h), G.type === "table") {
2837
2838
  h.tableConfig || (h.tableConfig = {});
2838
- let x = h.tableConfig;
2839
- x.showPane = !1, G.modelRelationType === "associated" ? S(G, h, x) : G.modelRelationType === "child" && (q.push({
2839
+ let E = h.tableConfig;
2840
+ E.showPane = !1, G.modelRelationType === "associated" ? S(G, h, E) : G.modelRelationType === "child" && (q.push({
2840
2841
  fields: []
2841
2842
  }), h.formConfig === void 0 && (h.formConfig = {}), h.formConfig.functions === void 0 && (h.formConfig.functions = {}), G.queryParamName && (h.formConfig.functions.beforeSubmit = (f) => {
2842
2843
  f[G.queryParamName] = s.value;
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
+ })), 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) => {
2844
2845
  var O;
2845
2846
  return (O = G.includeFields) == null ? void 0 : O.includes(f.prop);
2846
2847
  })), G.excludeFields && (h.fields = h.fields.filter((f) => {
2847
2848
  var O;
2848
2849
  return !((O = G.excludeFields) != null && O.includes(f.prop));
2849
- })), G.tooltip && (x.tooltip = G.tooltip);
2850
+ })), G.tooltip && (E.tooltip = G.tooltip);
2850
2851
  }
2851
2852
  }
2852
2853
  }
@@ -2868,8 +2869,8 @@ const Be = (e) => {
2868
2869
  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
2870
  var G, h;
2870
2871
  if (H.prop === c.tagFieldProp) {
2871
- const x = (h = (G = H.tableColumnAttributes) == null ? void 0 : G.functions) == null ? void 0 : h.transformValue;
2872
- x && (R.value = x(R.value));
2872
+ const E = (h = (G = H.tableColumnAttributes) == null ? void 0 : G.functions) == null ? void 0 : h.transformValue;
2873
+ E && (R.value = E(R.value));
2873
2874
  }
2874
2875
  }));
2875
2876
  });
@@ -2879,7 +2880,7 @@ const Be = (e) => {
2879
2880
  deep: !0
2880
2881
  }
2881
2882
  );
2882
- function E() {
2883
+ function x() {
2883
2884
  r.value = !0;
2884
2885
  }
2885
2886
  function I() {
@@ -2887,7 +2888,7 @@ const Be = (e) => {
2887
2888
  }
2888
2889
  return (u, c) => {
2889
2890
  var Q, se, ie, re, ae, Z;
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
+ 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"), E = k("el-dropdown"), f = k("el-tag"), O = k("el-tab-pane"), T = k("el-tabs"), X = k("el-dialog");
2891
2892
  return p(), M(oe, null, [
2892
2893
  b("div", Ws, [
2893
2894
  _($, null, {
@@ -2918,7 +2919,7 @@ const Be = (e) => {
2918
2919
  b("div", null, [
2919
2920
  _(F, {
2920
2921
  type: "primary",
2921
- onClick: E
2922
+ onClick: x
2922
2923
  }, {
2923
2924
  default: m(() => [
2924
2925
  ee(D(C(t)("common.table.edit")), 1)
@@ -2935,13 +2936,13 @@ const Be = (e) => {
2935
2936
  ]),
2936
2937
  _: 1
2937
2938
  }),
2938
- ((se = (Q = P.pageConfig) == null ? void 0 : Q.detailPage) == null ? void 0 : se.operationButtons) !== void 0 ? (p(), N(x, { key: 0 }, {
2939
+ ((se = (Q = P.pageConfig) == null ? void 0 : Q.detailPage) == null ? void 0 : se.operationButtons) !== void 0 ? (p(), V(E, { key: 0 }, {
2939
2940
  dropdown: m(() => [
2940
2941
  _(h, null, {
2941
2942
  default: m(() => {
2942
2943
  var W, ue;
2943
2944
  return [
2944
- (p(!0), M(oe, null, de((ue = (W = P.pageConfig) == null ? void 0 : W.detailPage) == null ? void 0 : ue.operationButtons, (pe) => (p(), N(G, {
2945
+ (p(!0), M(oe, null, de((ue = (W = P.pageConfig) == null ? void 0 : W.detailPage) == null ? void 0 : ue.operationButtons, (pe) => (p(), V(G, {
2945
2946
  onClick: (ke) => pe.function(i.value.formData)
2946
2947
  }, {
2947
2948
  default: m(() => [
@@ -2978,12 +2979,12 @@ const Be = (e) => {
2978
2979
  ]),
2979
2980
  (re = (ie = P.pageConfig) == null ? void 0 : ie.detailPage) != null && re.infoCard ? (p(), M("div", Ys, [
2980
2981
  b("div", Qs, [
2981
- (p(), N(tt((ae = P.pageConfig.detailPage.infoCard.icon) != null ? ae : ""), { class: "icon" }))
2982
+ (p(), V(tt((ae = P.pageConfig.detailPage.infoCard.icon) != null ? ae : ""), { class: "icon" }))
2982
2983
  ]),
2983
2984
  b("div", Ks, [
2984
2985
  b("div", Xs, [
2985
2986
  b("h1", null, D(U.value), 1),
2986
- ((Z = R.value) == null ? void 0 : Z.length) > 0 ? (p(), N(f, {
2987
+ ((Z = R.value) == null ? void 0 : Z.length) > 0 ? (p(), V(f, {
2987
2988
  key: 0,
2988
2989
  size: "small"
2989
2990
  }, {
@@ -2998,8 +2999,8 @@ const Be = (e) => {
2998
2999
  ])) : z("", !0),
2999
3000
  b("div", Zs, [
3000
3001
  _(T, {
3001
- modelValue: V.value,
3002
- "onUpdate:modelValue": c[0] || (c[0] = (W) => V.value = W),
3002
+ modelValue: A.value,
3003
+ "onUpdate:modelValue": c[0] || (c[0] = (W) => A.value = W),
3003
3004
  onTabClick: B
3004
3005
  }, {
3005
3006
  default: m(() => {
@@ -3023,7 +3024,7 @@ const Be = (e) => {
3023
3024
  }, 8, ["label"]),
3024
3025
  (p(!0), M(oe, null, de((ue = (W = P.pageConfig) == null ? void 0 : W.detailPage) == null ? void 0 : ue.tabs, (pe) => {
3025
3026
  var ke;
3026
- return p(), N(O, {
3027
+ return p(), V(O, {
3027
3028
  label: C(t)((ke = pe.name) != null ? ke : "")
3028
3029
  }, null, 8, ["label"]);
3029
3030
  }), 256))
@@ -3031,7 +3032,7 @@ const Be = (e) => {
3031
3032
  }),
3032
3033
  _: 1
3033
3034
  }, 8, ["modelValue"]),
3034
- d.value >= 0 ? (p(), N(st, {
3035
+ d.value >= 0 ? (p(), V(st, {
3035
3036
  key: 0,
3036
3037
  ref_key: "tabPaneTableRef",
3037
3038
  ref: w,
@@ -3065,7 +3066,7 @@ const Be = (e) => {
3065
3066
  ])
3066
3067
  ]),
3067
3068
  default: m(() => [
3068
- d.value >= 0 ? (p(), N(st, {
3069
+ d.value >= 0 ? (p(), V(st, {
3069
3070
  key: 0,
3070
3071
  ref_key: "selectTableRef",
3071
3072
  ref: y,
@@ -3089,13 +3090,13 @@ const Be = (e) => {
3089
3090
  }), or = /* @__PURE__ */ _e(tr, [["__scopeId", "data-v-f9250724"]]), nr = { class: "page-title" }, sr = /* @__PURE__ */ ve({
3090
3091
  __name: "TablePage",
3091
3092
  setup(e) {
3092
- const { t } = Je(), o = He(), n = rt(), s = A(), r = A([]), l = ce({
3093
+ const { t } = Je(), o = He(), n = rt(), s = N(), r = N([]), l = ce({
3093
3094
  api: "",
3094
3095
  fields: []
3095
3096
  }), a = ce(Ye({}, l));
3096
3097
  function i() {
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) => {
3098
+ var w, y, A, U, j;
3099
+ r.value = [], l.pageConfig && ((y = (w = l.pageConfig) == null ? void 0 : w.tablePage) != null && y.tabViewAttributes) && (r.value = (j = (U = (A = l.pageConfig) == null ? void 0 : A.tablePage) == null ? void 0 : U.tabViewAttributes) == null ? void 0 : j.map((R) => {
3099
3100
  let L;
3100
3101
  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
3102
  key: R.key,
@@ -3107,16 +3108,16 @@ const Be = (e) => {
3107
3108
  }));
3108
3109
  }
3109
3110
  function d() {
3110
- var V, U;
3111
- console.log("Init table page, loading model:", o.params.model), console.log("Current model list", me.value);
3111
+ var A, U;
3112
+ console.log("TablePage.init: loading model:", o.params.model), console.log("TablePage.init: current model list", me.value);
3112
3113
  const w = o.params.model;
3113
3114
  if (me.value[w] === void 0) {
3114
- console.warn("Model not found", w, me.value);
3115
+ console.warn("TablePage.init: model not found", w, me.value);
3115
3116
  return;
3116
3117
  }
3117
3118
  Be(l);
3118
3119
  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
+ Object.assign(l, y), (U = (A = l.pageConfig) == null ? void 0 : A.tablePage) != null && U.tabViewAttributes || Object.assign(a, l), i();
3120
3121
  }
3121
3122
  return Ce([
3122
3123
  () => n.currentRoute.value,
@@ -3128,14 +3129,14 @@ const Be = (e) => {
3128
3129
  deep: !0
3129
3130
  }), (w, y) => {
3130
3131
  var U;
3131
- const V = k("el-scrollbar");
3132
+ const A = k("el-scrollbar");
3132
3133
  return p(), M(oe, null, [
3133
3134
  b("h1", nr, D(C(t)((U = l.name) != null ? U : "")), 1),
3134
- _(V, null, {
3135
+ _(A, null, {
3135
3136
  default: m(() => {
3136
3137
  var j, R;
3137
3138
  return [
3138
- (R = (j = l.pageConfig) == null ? void 0 : j.tablePage) != null && R.tabViewAttributes ? (p(), N(lo, {
3139
+ (R = (j = l.pageConfig) == null ? void 0 : j.tablePage) != null && R.tabViewAttributes ? (p(), V(lo, {
3139
3140
  key: 0,
3140
3141
  class: "tabs-wrapper",
3141
3142
  cards: r.value,
@@ -3154,12 +3155,12 @@ const Be = (e) => {
3154
3155
  ], 64);
3155
3156
  };
3156
3157
  }
3157
- }), rr = /* @__PURE__ */ _e(sr, [["__scopeId", "data-v-ce635c5e"]]), ar = [
3158
- Vo,
3158
+ }), rr = /* @__PURE__ */ _e(sr, [["__scopeId", "data-v-1a472785"]]), ar = [
3159
+ Ao,
3159
3160
  ys,
3160
3161
  Lt,
3161
3162
  $s,
3162
- Ns,
3163
+ Vs,
3163
3164
  ao,
3164
3165
  lo,
3165
3166
  st,
@@ -3171,17 +3172,17 @@ const Be = (e) => {
3171
3172
  });
3172
3173
  };
3173
3174
  export {
3174
- Vo as Building,
3175
+ Ao as Building,
3175
3176
  ys as ConsoleApp,
3176
3177
  or as DetailPage,
3177
3178
  Lt as Header,
3178
3179
  $s as NoPermission,
3179
- Ns as Secondary,
3180
+ Vs as Secondary,
3180
3181
  ao as SideMenu,
3181
3182
  lo as TabCard,
3182
3183
  rr as TablePage,
3183
3184
  st as TableView,
3184
- Nn as activeMenuMapping,
3185
+ Vn as activeMenuMapping,
3185
3186
  hr as default,
3186
3187
  on as en,
3187
3188
  ot as i18n,