@vancone/console-component 0.1.1-beta.45 → 0.1.1-beta.46

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.
@@ -1,16 +1,16 @@
1
- var vo = Object.defineProperty, bo = Object.defineProperties;
1
+ var bo = Object.defineProperty, vo = Object.defineProperties;
2
2
  var yo = Object.getOwnPropertyDescriptors;
3
3
  var Ct = Object.getOwnPropertySymbols;
4
4
  var wo = Object.prototype.hasOwnProperty, So = Object.prototype.propertyIsEnumerable;
5
- var kt = (e, t, o) => t in e ? vo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, Ze = (e, t) => {
5
+ var kt = (e, t, o) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, Ze = (e, t) => {
6
6
  for (var o in t || (t = {}))
7
7
  wo.call(t, o) && kt(e, o, t[o]);
8
8
  if (Ct)
9
9
  for (var o of Ct(t))
10
10
  So.call(t, o) && kt(e, o, t[o]);
11
11
  return e;
12
- }, $t = (e, t) => bo(e, yo(t));
13
- var $e = (e, t, o) => new Promise((n, s) => {
12
+ }, $t = (e, t) => vo(e, yo(t));
13
+ var Ee = (e, t, o) => new Promise((n, s) => {
14
14
  var r = (i) => {
15
15
  try {
16
16
  a(o.next(i));
@@ -26,14 +26,14 @@ var $e = (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 V, createElementVNode as S, defineComponent as Se, reactive as de, resolveComponent as E, createVNode as m, withCtx as d, unref as x, Fragment as le, renderList as fe, toDisplayString as R, normalizeStyle as je, ref as A, onMounted as Ft, createBlock as P, createTextVNode as J, createCommentVNode as j, nextTick as Be, resolveDynamicComponent as rt, effectScope as Rt, markRaw as Me, toRaw as Ye, hasInjectionContext as Co, inject as ko, getCurrentInstance as $o, watch as Ee, isRef as We, isReactive as _t, toRef as ut, computed as Te, getCurrentScope as xo, onScopeDispose as Eo, toRefs as xt, createStaticVNode as Oo, normalizeClass as Lt, resolveDirective as Gt, withDirectives as jt } from "vue";
29
+ import { openBlock as p, createElementBlock as V, createElementVNode as S, defineComponent as Ce, reactive as de, resolveComponent as E, createVNode as m, withCtx as d, unref as x, Fragment as ae, renderList as pe, toDisplayString as G, normalizeStyle as je, ref as A, onMounted as Ft, createBlock as P, createTextVNode as K, createCommentVNode as q, nextTick as Be, resolveDynamicComponent as rt, effectScope as Rt, markRaw as Me, toRaw as Ye, hasInjectionContext as Co, inject as ko, getCurrentInstance as $o, watch as Pe, isRef as We, isReactive as _t, toRef as ut, computed as Te, getCurrentScope as xo, onScopeDispose as Eo, toRefs as xt, createStaticVNode as Oo, normalizeClass as Lt, resolveDirective as Gt, withDirectives as jt } from "vue";
30
30
  import { useRoute as Ke, useRouter as ct } from "vue-router";
31
31
  import Po from "axios";
32
32
  import { ElMessage as dt, ElMessageBox as Et } from "element-plus";
33
33
  import { Search as zt, ArrowDown as qt, ArrowRight as Io, Check as Vo, Refresh as Ht, Upload as Ao, Download as Ot, Document as No, Printer as Mo, Setting as Uo, MoreFilled as To, QuestionFilled as Do } from "@element-plus/icons-vue";
34
34
  import { createI18n as Fo, useI18n as Qe } from "vue-i18n";
35
35
  import { cloneDeep as Ge } from "lodash";
36
- const be = (e, t) => {
36
+ const ve = (e, t) => {
37
37
  const o = e.__vccOpts || e;
38
38
  for (const [n, s] of t)
39
39
  o[n] = s;
@@ -42,12 +42,12 @@ const be = (e, t) => {
42
42
  function Go(e, t) {
43
43
  return p(), V("div", Lo);
44
44
  }
45
- const jo = /* @__PURE__ */ be(Ro, [["render", Go], ["__scopeId", "data-v-07bd45d2"]]), ve = Po.create({
45
+ const jo = /* @__PURE__ */ ve(Ro, [["render", Go], ["__scopeId", "data-v-07bd45d2"]]), be = Po.create({
46
46
  timeout: 2 * 60 * 1e3,
47
47
  withCredentials: !0
48
48
  });
49
- ve.interceptors.request.use((e) => e);
50
- ve.interceptors.response.use((e) => {
49
+ be.interceptors.request.use((e) => e);
50
+ be.interceptors.response.use((e) => {
51
51
  const { headers: t, method: o } = e.config, { code: n, message: s } = e.data, { "No-Success-Message": r } = t, l = o !== "get";
52
52
  return n === 0 ? (l && !r && dt({
53
53
  message: s,
@@ -79,16 +79,16 @@ const Bt = () => {
79
79
  return e.includes("beta") || e.includes("localhost") ? "passport.beta.vancone.com" : "passport.vancone.com";
80
80
  }, Yt = Bt();
81
81
  function zo() {
82
- return ve.get(`//${Yt}/api/passport/service/v1/account`);
82
+ return be.get(`//${Yt}/api/passport/service/v1/account`);
83
83
  }
84
84
  function qo() {
85
- return ve.delete(`//${Yt}/api/passport/service/v1/login`);
85
+ return be.delete(`//${Yt}/api/passport/service/v1/login`);
86
86
  }
87
87
  function Ho() {
88
- return ve.get("//app-center.vancone.com/api/app-center/v1/app-group?pageSize=1000");
88
+ return be.get("//app-center.vancone.com/api/app-center/v1/app-group?pageSize=1000");
89
89
  }
90
90
  function Bo() {
91
- return ve.get("//app-center.vancone.com/api/app-center/v1/store/app?pageSize=1000");
91
+ return be.get("//app-center.vancone.com/api/app-center/v1/store/app?pageSize=1000");
92
92
  }
93
93
  const Yo = {
94
94
  xmlns: "http://www.w3.org/2000/svg",
@@ -129,7 +129,7 @@ function en(e, t) {
129
129
  const tn = { render: en }, on = { class: "app-catalog-wrapper" }, nn = { class: "catalog-wrapper" }, sn = { class: "service-list" }, rn = { class: "app-icon-container" }, an = ["href"], ln = ["innerHTML"], cn = {
130
130
  key: 1,
131
131
  class: "app-icon"
132
- }, un = /* @__PURE__ */ Se({
132
+ }, un = /* @__PURE__ */ Ce({
133
133
  __name: "AppCatalog",
134
134
  props: {
135
135
  visible: { type: Boolean }
@@ -168,11 +168,11 @@ const tn = { render: en }, on = { class: "app-catalog-wrapper" }, nn = { class:
168
168
  }, {
169
169
  default: d(() => [
170
170
  S("div", nn, [
171
- (p(!0), V(le, null, fe(t, (f) => (p(), V("div", sn, [
172
- S("h1", null, R(f.name), 1),
171
+ (p(!0), V(ae, null, pe(t, (f) => (p(), V("div", sn, [
172
+ S("h1", null, G(f.name), 1),
173
173
  S("div", rn, [
174
- (p(!0), V(le, null, fe(f.apps, (y) => {
175
- var C, N;
174
+ (p(!0), V(ae, null, pe(f.apps, (y) => {
175
+ var C, M;
176
176
  return p(), V("a", {
177
177
  style: je([{ "text-decoration": "none" }, { pointerEvents: ((C = y.homepageUrl) == null ? void 0 : C.length) > 0 ? "auto" : "none" }]),
178
178
  target: "_blank",
@@ -184,8 +184,8 @@ const tn = { render: en }, on = { class: "app-catalog-wrapper" }, nn = { class:
184
184
  innerHTML: y.iconSvg
185
185
  }, null, 8, ln)) : (p(), V("div", cn, " ")),
186
186
  S("h2", {
187
- style: je({ color: ((N = y.homepageUrl) == null ? void 0 : N.length) > 0 ? "#555" : "#bbb" })
188
- }, R(y.name), 5)
187
+ style: je({ color: ((M = y.homepageUrl) == null ? void 0 : M.length) > 0 ? "#555" : "#bbb" })
188
+ }, G(y.name), 5)
189
189
  ], 12, an);
190
190
  }), 256))
191
191
  ])
@@ -221,7 +221,7 @@ const tn = { render: en }, on = { class: "app-catalog-wrapper" }, nn = { class:
221
221
  ]);
222
222
  };
223
223
  }
224
- }), dn = /* @__PURE__ */ be(un, [["__scopeId", "data-v-fcfb021b"]]), pn = {
224
+ }), dn = /* @__PURE__ */ ve(un, [["__scopeId", "data-v-fcfb021b"]]), pn = {
225
225
  common: {
226
226
  header: {
227
227
  product: "Products",
@@ -323,12 +323,12 @@ const gn = { render: hn }, _n = {
323
323
  class: "icon",
324
324
  viewBox: "0 0 1024 1024"
325
325
  };
326
- function vn(e, t) {
326
+ function bn(e, t) {
327
327
  return p(), V("svg", _n, t[0] || (t[0] = [
328
328
  S("path", { d: "M651.404 284.363c-14.446-23.404-34.322-43.717-58.832-56.969A164.4 164.4 0 0 0 512 206.328a157.8 157.8 0 0 0-63.864 12.893 163.8 163.8 0 0 0-52.22 35.105c-14.77 14.405-26.455 32.338-35.04 51.895a164 164 0 0 0-12.829 63.958c0 15.233 6.615 28.88 15.993 39.036 10.063 9.363 23.72 15.988 38.92 15.988a56.73 56.73 0 0 0 38.528-15.988c10.134-10.155 16.747-23.803 16.747-39.036a54.8 54.8 0 0 1 3.918-21.066c3.126-6.232 6.614-12.495 11.643-17.17a60.4 60.4 0 0 1 17.143-11.703c6.614-2.304 14.053-4.646 21.061-4.646a53.95 53.95 0 0 1 38.167 16.35c18.652 18.364 21.384 49.946 7.759 71.803-5.47 7.779-12.83 13.685-19.443 19.915-19.874 16.78-39.748 33.96-55.31 62.045-15.598 27.258-25.733 65.537-25.733 122.47a55.76 55.76 0 0 0 16.352 39.035c9.38 9.758 23.36 15.591 38.204 15.591 15.167 0 29.578-5.833 38.921-15.591a55.6 55.6 0 0 0 16.354-39.036c0-32.769 5.067-53.803 13.228-68.635 8.59-14.873 18.687-24.198 28.822-32.806 9.74-8.57 19.048-16.383 27.638-25.35 8.158-8.966 15.992-18.69 22.21-30.825 5.462-9.327 9.344-21.03 12.435-34.318 7.008-29.276 7.008-63.197-2.3-92.47-4.313-13.647-10.136-27.69-17.899-39.394zM512 706.508a53.51 53.51 0 0 0-38.204 15.988 54.725 54.725 0 0 0 0 78.035A53.51 53.51 0 0 0 512 816.519c15.167 0 29.578-6.232 38.921-15.988a54.72 54.72 0 0 0 0-78.035c-9.343-9.758-23.754-15.988-38.921-15.988m350.046-543.104c-88.409-88.95-211.463-144.363-347.744-145.12-137.826-.792-260.887 54.627-351.194 144.365-89.598 89.7-144.835 213-144.835 348.757a528.6 528.6 0 0 0 10.099 100.288c7.008 31.581 16.352 63.597 28.788 92.47 37.808 90.493 102.03 165.394 180.305 218.113a493.11 493.11 0 0 0 623.435-61.29c90.315-89.34 144.798-213.035 144.798-349.585 0-135.362-54.483-258.228-143.649-348.001zm-137.86 668.742a383.537 383.537 0 0 1-565.784-170.902c-10.135-22.614-17.106-46.814-22.57-71.768-4.636-25.388-7.758-51.132-7.758-78.07a381.15 381.15 0 0 1 112.92-271.516c69.29-69.463 165.86-112.387 272.562-112.387a385.85 385.85 0 0 1 352.768 234.1 398 398 0 0 1 29.58 149.803 393.7 393.7 0 0 1-29.58 149.834 387.25 387.25 0 0 1-142.137 170.906" }, null, -1)
329
329
  ]));
330
330
  }
331
- const bn = { render: vn }, yn = {
331
+ const vn = { render: bn }, yn = {
332
332
  xmlns: "http://www.w3.org/2000/svg",
333
333
  width: "200",
334
334
  height: "200",
@@ -354,19 +354,19 @@ function kn(e, t) {
354
354
  ]));
355
355
  }
356
356
  const $n = { render: kn };
357
- function Ce(e, t, o) {
357
+ function $e(e, t, o) {
358
358
  switch (t) {
359
359
  case "POST":
360
- return ve.post(e, o);
360
+ return be.post(e, o);
361
361
  case "PUT":
362
- return ve.put(e, o);
362
+ return be.put(e, o);
363
363
  case "DELETE":
364
- return ve.delete(e + "/" + o);
364
+ return be.delete(e + "/" + o);
365
365
  default:
366
- return ve.get(e, { params: o });
366
+ return be.get(e, { params: o });
367
367
  }
368
368
  }
369
- const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }, Pn = { class: "icon-wrapper" }, In = { class: "user-wrapper" }, Vn = { style: { "font-size": "11px", "font-weight": "bold" } }, An = { class: "user-popover-header" }, Nn = { style: { "font-size": "15px", "font-weight": "bold" } }, Mn = ["onClick"], Un = /* @__PURE__ */ Se({
369
+ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }, Pn = { class: "icon-wrapper" }, In = { class: "user-wrapper" }, Vn = { style: { "font-size": "11px", "font-weight": "bold" } }, An = { class: "user-popover-header" }, Nn = { style: { "font-size": "15px", "font-weight": "bold" } }, Mn = ["onClick"], Un = /* @__PURE__ */ Ce({
370
370
  __name: "Header",
371
371
  props: {
372
372
  title: {},
@@ -379,7 +379,7 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
379
379
  id: "",
380
380
  name: ""
381
381
  }
382
- ), y = A(""), C = A(at.global.locale), N = de([
382
+ ), y = A(""), C = A(at.global.locale), M = de([
383
383
  {
384
384
  id: "en",
385
385
  name: "English"
@@ -390,50 +390,50 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
390
390
  }
391
391
  ]);
392
392
  Ft(() => {
393
- var G, M, te;
394
- y.value = decodeURIComponent(T("passport_username").replace(/\+/g, " ")), y.value === "" && zo().then(({ data: h }) => {
393
+ var z, U, ee;
394
+ y.value = decodeURIComponent(R("passport_username").replace(/\+/g, " ")), y.value === "" && zo().then(({ data: h }) => {
395
395
  var g;
396
396
  h.code == 0 && (y.value = (g = h.data.name) != null ? g : h.data.displayId);
397
- }), (G = a.headerProjectConfig) != null && G.api ? Ce((M = a.headerProjectConfig) == null ? void 0 : M.api, "GET", {}).then(({ data: h }) => {
397
+ }), (z = a.headerProjectConfig) != null && z.api ? $e((U = a.headerProjectConfig) == null ? void 0 : U.api, "GET", {}).then(({ data: h }) => {
398
398
  i.value = h.data;
399
- }) : (te = a.headerProjectConfig) != null && te.items && (i.value = a.headerProjectConfig.items);
399
+ }) : (ee = a.headerProjectConfig) != null && ee.items && (i.value = a.headerProjectConfig.items);
400
400
  });
401
- function T(G) {
402
- for (var M = G + "=", te = document.cookie.split(";"), h = 0; h < te.length; h++) {
403
- for (var g = te[h]; g.charAt(0) == " "; ) g = g.substring(1);
404
- if (g.indexOf(M) != -1)
405
- return g.substring(M.length, g.length);
401
+ function R(z) {
402
+ for (var U = z + "=", ee = document.cookie.split(";"), h = 0; h < ee.length; h++) {
403
+ for (var g = ee[h]; g.charAt(0) == " "; ) g = g.substring(1);
404
+ if (g.indexOf(U) != -1)
405
+ return g.substring(U.length, g.length);
406
406
  }
407
407
  return "";
408
408
  }
409
- function H() {
409
+ function B() {
410
410
  qo().then(() => {
411
- const G = escape(window.location.href);
412
- window.location.href = `//${Bt()}/?from=${G}#login`;
411
+ const z = escape(window.location.href);
412
+ window.location.href = `//${Bt()}/?from=${z}#login`;
413
413
  });
414
414
  }
415
- function L(G) {
416
- at.global.locale.value = G, C.value = G, localStorage.setItem("locale", G);
415
+ function j(z) {
416
+ at.global.locale.value = z, C.value = z, localStorage.setItem("locale", z);
417
417
  }
418
- function ee() {
418
+ function Z() {
419
419
  window.open("https://passport.vancone.com/#/account/profile", "_blank");
420
420
  }
421
- function B() {
421
+ function Y() {
422
422
  window.open(a.helpDocUrl, "_blank");
423
423
  }
424
- function ie(G) {
425
- if (G === "allProjects")
424
+ function le(z) {
425
+ if (z === "allProjects")
426
426
  alert("show all projects");
427
427
  else
428
- for (let M of i.value)
429
- if (console.log("project.id", M.id, "command", G), M.id === G) {
430
- Object.assign(f, M);
428
+ for (let U of i.value)
429
+ if (console.log("project.id", U.id, "command", z), U.id === z) {
430
+ Object.assign(f, U);
431
431
  break;
432
432
  }
433
433
  }
434
- return (G, M) => {
435
- const te = E("el-icon"), h = E("el-dropdown-item"), g = E("el-dropdown-menu"), b = E("el-dropdown"), I = E("el-popover"), u = E("el-tooltip"), c = E("el-avatar"), k = E("el-menu-item"), O = E("el-menu"), z = E("el-drawer");
436
- return p(), V(le, null, [
434
+ return (z, U) => {
435
+ const ee = E("el-icon"), h = E("el-dropdown-item"), g = E("el-dropdown-menu"), v = E("el-dropdown"), I = E("el-popover"), u = E("el-tooltip"), c = E("el-avatar"), k = E("el-menu-item"), O = E("el-menu"), L = E("el-drawer");
436
+ return p(), V(ae, null, [
437
437
  S("div", xn, [
438
438
  S("div", En, [
439
439
  S("div", {
@@ -444,20 +444,20 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
444
444
  }, [
445
445
  m(x(gn))
446
446
  ], 512),
447
- S("h1", null, R(G.title), 1),
448
- a.headerProjectConfig ? (p(), P(b, {
447
+ S("h1", null, G(z.title), 1),
448
+ a.headerProjectConfig ? (p(), P(v, {
449
449
  key: 0,
450
450
  placement: "bottom-start",
451
- onCommand: ie
451
+ onCommand: le
452
452
  }, {
453
453
  dropdown: d(() => [
454
454
  m(g, { style: { width: "300px" } }, {
455
455
  default: d(() => [
456
- (p(!0), V(le, null, fe(i.value, (D) => (p(), P(h, {
457
- command: D.id
456
+ (p(!0), V(ae, null, pe(i.value, (T) => (p(), P(h, {
457
+ command: T.id
458
458
  }, {
459
459
  default: d(() => [
460
- J(R(D.name), 1)
460
+ K(G(T.name), 1)
461
461
  ]),
462
462
  _: 2
463
463
  }, 1032, ["command"]))), 256)),
@@ -465,8 +465,8 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
465
465
  divided: "",
466
466
  command: "allProjects"
467
467
  }, {
468
- default: d(() => M[2] || (M[2] = [
469
- J("全部项目")
468
+ default: d(() => U[2] || (U[2] = [
469
+ K("全部项目")
470
470
  ])),
471
471
  _: 1
472
472
  })
@@ -476,8 +476,8 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
476
476
  ]),
477
477
  default: d(() => [
478
478
  S("span", null, [
479
- J(R(f.name) + " ", 1),
480
- m(te, { class: "el-icon--right" }, {
479
+ K(G(f.name) + " ", 1),
480
+ m(ee, { class: "el-icon--right" }, {
481
481
  default: d(() => [
482
482
  m(x(qt))
483
483
  ]),
@@ -486,7 +486,7 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
486
486
  ])
487
487
  ]),
488
488
  _: 1
489
- })) : j("", !0)
489
+ })) : q("", !0)
490
490
  ]),
491
491
  m(I, {
492
492
  class: "app-popover",
@@ -522,10 +522,10 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
522
522
  a.helpDocUrl !== void 0 ? (p(), V("div", {
523
523
  key: 0,
524
524
  class: "icon-wrapper",
525
- onClick: B
525
+ onClick: Y
526
526
  }, [
527
- m(x(bn))
528
- ])) : j("", !0)
527
+ m(x(vn))
528
+ ])) : q("", !0)
529
529
  ]),
530
530
  _: 1
531
531
  }, 8, ["content"]),
@@ -537,7 +537,7 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
537
537
  default: d(() => [
538
538
  S("div", {
539
539
  class: "icon-wrapper",
540
- onClick: M[0] || (M[0] = (D) => l.value = !0)
540
+ onClick: U[0] || (U[0] = (T) => l.value = !0)
541
541
  }, [
542
542
  m(x(Sn))
543
543
  ])
@@ -552,7 +552,7 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
552
552
  ref: o
553
553
  }, {
554
554
  default: d(() => [
555
- S("span", Vn, R(y.value.substring(0, 2)), 1)
555
+ S("span", Vn, G(y.value.substring(0, 2)), 1)
556
556
  ]),
557
557
  _: 1
558
558
  }, 512),
@@ -573,17 +573,17 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
573
573
  src: ""
574
574
  }, {
575
575
  default: d(() => [
576
- S("span", Nn, R(y.value.substring(0, 2)), 1)
576
+ S("span", Nn, G(y.value.substring(0, 2)), 1)
577
577
  ]),
578
578
  _: 1
579
579
  }),
580
- S("span", null, R(y.value), 1)
580
+ S("span", null, G(y.value), 1)
581
581
  ]),
582
582
  m(O, { class: "user-menu" }, {
583
583
  default: d(() => [
584
- m(k, { onClick: ee }, {
584
+ m(k, { onClick: Z }, {
585
585
  default: d(() => [
586
- J(R(x(t)("common.header.userCenter")), 1)
586
+ K(G(x(t)("common.header.userCenter")), 1)
587
587
  ]),
588
588
  _: 1
589
589
  }),
@@ -593,8 +593,8 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
593
593
  style: { display: "flext", "justify-content": "space-between" }
594
594
  }, {
595
595
  default: d(() => [
596
- S("span", null, R(x(t)("common.header.switchLanguage")), 1),
597
- m(te, { style: { left: "15px" } }, {
596
+ S("span", null, G(x(t)("common.header.switchLanguage")), 1),
597
+ m(ee, { style: { left: "15px" } }, {
598
598
  default: d(() => [
599
599
  m(x(Io))
600
600
  ]),
@@ -615,12 +615,12 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
615
615
  "popper-style": "height: 80px; left: -165px"
616
616
  }, {
617
617
  default: d(() => [
618
- (p(!0), V(le, null, fe(N, (D) => (p(), V("div", {
618
+ (p(!0), V(ae, null, pe(M, (T) => (p(), V("div", {
619
619
  class: "select-list",
620
- onClick: (F) => L(D.id)
620
+ onClick: (D) => j(T.id)
621
621
  }, [
622
- S("span", null, R(D.name), 1),
623
- D.id === C.value ? (p(), P(te, {
622
+ S("span", null, G(T.name), 1),
623
+ T.id === C.value ? (p(), P(ee, {
624
624
  key: 0,
625
625
  style: { color: "#8ba74f" }
626
626
  }, {
@@ -628,14 +628,14 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
628
628
  m(x(Vo))
629
629
  ]),
630
630
  _: 1
631
- })) : j("", !0)
631
+ })) : q("", !0)
632
632
  ], 8, Mn))), 256))
633
633
  ]),
634
634
  _: 1
635
635
  }, 8, ["virtual-ref"]),
636
- m(k, { onClick: H }, {
636
+ m(k, { onClick: B }, {
637
637
  default: d(() => [
638
- J(R(x(t)("common.header.signOut")), 1)
638
+ K(G(x(t)("common.header.signOut")), 1)
639
639
  ]),
640
640
  _: 1
641
641
  })
@@ -648,19 +648,19 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
648
648
  ])
649
649
  ])
650
650
  ]),
651
- m(z, {
651
+ m(L, {
652
652
  modelValue: l.value,
653
- "onUpdate:modelValue": M[1] || (M[1] = (D) => l.value = D),
653
+ "onUpdate:modelValue": U[1] || (U[1] = (T) => l.value = T),
654
654
  direction: "rtl",
655
655
  title: "Message Center"
656
656
  }, null, 8, ["modelValue"])
657
657
  ], 64);
658
658
  };
659
659
  }
660
- }), Wt = /* @__PURE__ */ be(Un, [["__scopeId", "data-v-b04b3245"]]), Tn = {
660
+ }), Wt = /* @__PURE__ */ ve(Un, [["__scopeId", "data-v-b04b3245"]]), Tn = {
661
661
  class: "menu-icon-wrapper",
662
662
  style: { "margin-left": "3px" }
663
- }, Dn = ["innerHTML"], Fn = { class: "menu-icon-wrapper" }, Rn = ["innerHTML"], Ln = /* @__PURE__ */ Se({
663
+ }, Dn = ["innerHTML"], Fn = { class: "menu-icon-wrapper" }, Rn = ["innerHTML"], Ln = /* @__PURE__ */ Ce({
664
664
  __name: "SideMenuItem",
665
665
  props: {
666
666
  menu: {}
@@ -680,18 +680,18 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
680
680
  (a = t.menu.meta) != null && a.icon ? (p(), P(rt((i = o.menu.meta) == null ? void 0 : i.icon), {
681
681
  key: 0,
682
682
  class: "menu-icon"
683
- })) : j("", !0),
683
+ })) : q("", !0),
684
684
  (f = t.menu.meta) != null && f.svgXml ? (p(), V("div", {
685
685
  key: 1,
686
686
  class: "svg-xml-icon",
687
687
  innerHTML: t.menu.meta.svgXml
688
- }, null, 8, Dn)) : j("", !0)
688
+ }, null, 8, Dn)) : q("", !0)
689
689
  ]),
690
- S("span", null, R(o.$t((C = (y = o.menu.meta) == null ? void 0 : y.title) != null ? C : "")), 1)
690
+ S("span", null, G(o.$t((C = (y = o.menu.meta) == null ? void 0 : y.title) != null ? C : "")), 1)
691
691
  ];
692
692
  }),
693
693
  default: d(() => [
694
- (p(!0), V(le, null, fe(o.menu.children, (a) => (p(), P(s, {
694
+ (p(!0), V(ae, null, pe(o.menu.children, (a) => (p(), P(s, {
695
695
  key: a.path,
696
696
  route: a,
697
697
  menu: a
@@ -706,7 +706,7 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
706
706
  title: d(() => {
707
707
  var a, i;
708
708
  return [
709
- S("span", null, R(o.$t((i = (a = o.menu.meta) == null ? void 0 : a.title) != null ? i : "")), 1)
709
+ S("span", null, G(o.$t((i = (a = o.menu.meta) == null ? void 0 : a.title) != null ? i : "")), 1)
710
710
  ];
711
711
  }),
712
712
  default: d(() => {
@@ -716,12 +716,12 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
716
716
  (a = t.menu.meta) != null && a.icon ? (p(), P(rt((i = o.$props.menu.meta) == null ? void 0 : i.icon), {
717
717
  key: 0,
718
718
  class: "menu-icon"
719
- })) : j("", !0),
719
+ })) : q("", !0),
720
720
  ((f = t.menu.meta) == null ? void 0 : f.svgXml) !== void 0 ? (p(), V("div", {
721
721
  key: 1,
722
722
  class: "svg-xml-icon",
723
723
  innerHTML: t.menu.meta.svgXml
724
- }, null, 8, Rn)) : j("", !0)
724
+ }, null, 8, Rn)) : q("", !0)
725
725
  ])
726
726
  ];
727
727
  }),
@@ -729,7 +729,7 @@ const xn = { class: "header" }, En = { class: "title" }, On = { class: "right" }
729
729
  }, 8, ["index"]));
730
730
  };
731
731
  }
732
- }), Gn = /* @__PURE__ */ be(Ln, [["__scopeId", "data-v-032308f8"]]), _e = A({}), jn = {}, Pt = A([]);
732
+ }), Gn = /* @__PURE__ */ ve(Ln, [["__scopeId", "data-v-032308f8"]]), _e = A({}), jn = {}, Pt = A([]);
733
733
  var Jt = !1;
734
734
  function et(e, t, o) {
735
735
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, o), o) : (e[t] = o, o);
@@ -811,7 +811,7 @@ class Jn {
811
811
  });
812
812
  }
813
813
  setRealTarget(t) {
814
- return $e(this, null, function* () {
814
+ return Ee(this, null, function* () {
815
815
  this.target = t;
816
816
  for (const o of this.onQueue)
817
817
  this.target.on[o.method](...o.args);
@@ -846,15 +846,15 @@ const Je = (e) => He = e, Xt = process.env.NODE_ENV !== "production" ? Symbol("p
846
846
  function De(e) {
847
847
  return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
848
848
  }
849
- var ke;
849
+ var xe;
850
850
  (function(e) {
851
851
  e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
852
- })(ke || (ke = {}));
852
+ })(xe || (xe = {}));
853
853
  const Ue = typeof window != "undefined", It = 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 };
854
854
  function Kn(e, { autoBom: t = !1 } = {}) {
855
855
  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;
856
856
  }
857
- function vt(e, t, o) {
857
+ function bt(e, t, o) {
858
858
  const n = new XMLHttpRequest();
859
859
  n.open("GET", e), n.responseType = "blob", n.onload = function() {
860
860
  to(n.response, t, o);
@@ -892,7 +892,7 @@ const ot = typeof navigator == "object" ? navigator : { userAgent: "" }, eo = /M
892
892
  };
893
893
  function Qn(e, t = "download", o) {
894
894
  const n = document.createElement("a");
895
- n.download = t, n.rel = "noopener", typeof e == "string" ? (n.href = e, n.origin !== location.origin ? Zt(n.href) ? vt(e, t, o) : (n.target = "_blank", tt(n)) : tt(n)) : (n.href = URL.createObjectURL(e), setTimeout(function() {
895
+ n.download = t, n.rel = "noopener", typeof e == "string" ? (n.href = e, n.origin !== location.origin ? Zt(n.href) ? bt(e, t, o) : (n.target = "_blank", tt(n)) : tt(n)) : (n.href = URL.createObjectURL(e), setTimeout(function() {
896
896
  URL.revokeObjectURL(n.href);
897
897
  }, 4e4), setTimeout(function() {
898
898
  tt(n);
@@ -901,7 +901,7 @@ function Qn(e, t = "download", o) {
901
901
  function Xn(e, t = "download", o) {
902
902
  if (typeof e == "string")
903
903
  if (Zt(e))
904
- vt(e, t, o);
904
+ bt(e, t, o);
905
905
  else {
906
906
  const n = document.createElement("a");
907
907
  n.href = e, n.target = "_blank", setTimeout(function() {
@@ -913,7 +913,7 @@ function Xn(e, t = "download", o) {
913
913
  }
914
914
  function Zn(e, t, o, n) {
915
915
  if (n = n || open("", "_blank"), n && (n.document.title = n.document.body.innerText = "downloading..."), typeof e == "string")
916
- return vt(e, t, o);
916
+ return bt(e, t, o);
917
917
  const s = e.type === "application/octet-stream", r = /constructor/i.test(String(It.HTMLElement)) || "safari" in It, l = /CriOS\/[\d]+/.test(navigator.userAgent);
918
918
  if ((l || s && r || eo) && typeof FileReader != "undefined") {
919
919
  const a = new FileReader();
@@ -930,81 +930,81 @@ function Zn(e, t, o, n) {
930
930
  }, 4e4);
931
931
  }
932
932
  }
933
- function ae(e, t) {
933
+ function re(e, t) {
934
934
  const o = "🍍 " + e;
935
935
  typeof __VUE_DEVTOOLS_TOAST__ == "function" ? __VUE_DEVTOOLS_TOAST__(o, t) : t === "error" ? console.error(o) : t === "warn" ? console.warn(o) : console.log(o);
936
936
  }
937
- function bt(e) {
937
+ function vt(e) {
938
938
  return "_a" in e && "install" in e;
939
939
  }
940
940
  function oo() {
941
941
  if (!("clipboard" in navigator))
942
- return ae("Your browser doesn't support the Clipboard API", "error"), !0;
942
+ return re("Your browser doesn't support the Clipboard API", "error"), !0;
943
943
  }
944
944
  function no(e) {
945
- return e instanceof Error && e.message.toLowerCase().includes("document is not focused") ? (ae('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
945
+ return e instanceof Error && e.message.toLowerCase().includes("document is not focused") ? (re('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
946
946
  }
947
947
  function es(e) {
948
- return $e(this, null, function* () {
948
+ return Ee(this, null, function* () {
949
949
  if (!oo())
950
950
  try {
951
- yield navigator.clipboard.writeText(JSON.stringify(e.state.value)), ae("Global state copied to clipboard.");
951
+ yield navigator.clipboard.writeText(JSON.stringify(e.state.value)), re("Global state copied to clipboard.");
952
952
  } catch (t) {
953
953
  if (no(t))
954
954
  return;
955
- ae("Failed to serialize the state. Check the console for more details.", "error"), console.error(t);
955
+ re("Failed to serialize the state. Check the console for more details.", "error"), console.error(t);
956
956
  }
957
957
  });
958
958
  }
959
959
  function ts(e) {
960
- return $e(this, null, function* () {
960
+ return Ee(this, null, function* () {
961
961
  if (!oo())
962
962
  try {
963
- so(e, JSON.parse(yield navigator.clipboard.readText())), ae("Global state pasted from clipboard.");
963
+ so(e, JSON.parse(yield navigator.clipboard.readText())), re("Global state pasted from clipboard.");
964
964
  } catch (t) {
965
965
  if (no(t))
966
966
  return;
967
- ae("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(t);
967
+ re("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(t);
968
968
  }
969
969
  });
970
970
  }
971
971
  function os(e) {
972
- return $e(this, null, function* () {
972
+ return Ee(this, null, function* () {
973
973
  try {
974
974
  to(new Blob([JSON.stringify(e.state.value)], {
975
975
  type: "text/plain;charset=utf-8"
976
976
  }), "pinia-state.json");
977
977
  } catch (t) {
978
- ae("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(t);
978
+ re("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(t);
979
979
  }
980
980
  });
981
981
  }
982
- let xe;
982
+ let Oe;
983
983
  function ns() {
984
- xe || (xe = document.createElement("input"), xe.type = "file", xe.accept = ".json");
984
+ Oe || (Oe = document.createElement("input"), Oe.type = "file", Oe.accept = ".json");
985
985
  function e() {
986
986
  return new Promise((t, o) => {
987
- xe.onchange = () => $e(this, null, function* () {
988
- const n = xe.files;
987
+ Oe.onchange = () => Ee(this, null, function* () {
988
+ const n = Oe.files;
989
989
  if (!n)
990
990
  return t(null);
991
991
  const s = n.item(0);
992
992
  return t(s ? { text: yield s.text(), file: s } : null);
993
- }), xe.oncancel = () => t(null), xe.onerror = o, xe.click();
993
+ }), Oe.oncancel = () => t(null), Oe.onerror = o, Oe.click();
994
994
  });
995
995
  }
996
996
  return e;
997
997
  }
998
998
  function ss(e) {
999
- return $e(this, null, function* () {
999
+ return Ee(this, null, function* () {
1000
1000
  try {
1001
1001
  const o = yield ns()();
1002
1002
  if (!o)
1003
1003
  return;
1004
1004
  const { text: n, file: s } = o;
1005
- so(e, JSON.parse(n)), ae(`Global state imported from "${s.name}".`);
1005
+ so(e, JSON.parse(n)), re(`Global state imported from "${s.name}".`);
1006
1006
  } catch (t) {
1007
- ae("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(t);
1007
+ re("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(t);
1008
1008
  }
1009
1009
  });
1010
1010
  }
@@ -1014,7 +1014,7 @@ function so(e, t) {
1014
1014
  n ? Object.assign(n, t[o]) : e.state.value[o] = t[o];
1015
1015
  }
1016
1016
  }
1017
- function we(e) {
1017
+ function Se(e) {
1018
1018
  return {
1019
1019
  _custom: {
1020
1020
  display: e
@@ -1023,7 +1023,7 @@ function we(e) {
1023
1023
  }
1024
1024
  const ro = "🍍 Pinia (root)", nt = "_root";
1025
1025
  function rs(e) {
1026
- return bt(e) ? {
1026
+ return vt(e) ? {
1027
1027
  id: nt,
1028
1028
  label: ro
1029
1029
  } : {
@@ -1032,7 +1032,7 @@ function rs(e) {
1032
1032
  };
1033
1033
  }
1034
1034
  function as(e) {
1035
- if (bt(e)) {
1035
+ if (vt(e)) {
1036
1036
  const o = Array.from(e._s.keys()), n = e._s;
1037
1037
  return {
1038
1038
  state: o.map((r) => ({
@@ -1074,19 +1074,19 @@ function ls(e) {
1074
1074
  operations: [],
1075
1075
  newValue: {}
1076
1076
  }) : {
1077
- operation: we(e.type),
1078
- key: we(e.key),
1077
+ operation: Se(e.type),
1078
+ key: Se(e.key),
1079
1079
  oldValue: e.oldValue,
1080
1080
  newValue: e.newValue
1081
1081
  } : {};
1082
1082
  }
1083
1083
  function is(e) {
1084
1084
  switch (e) {
1085
- case ke.direct:
1085
+ case xe.direct:
1086
1086
  return "mutation";
1087
- case ke.patchFunction:
1087
+ case xe.patchFunction:
1088
1088
  return "$patch";
1089
- case ke.patchObject:
1089
+ case xe.patchObject:
1090
1090
  return "$patch";
1091
1091
  default:
1092
1092
  return "unknown";
@@ -1104,7 +1104,7 @@ function us(e, t) {
1104
1104
  componentStateTypes: st,
1105
1105
  app: e
1106
1106
  }, (o) => {
1107
- typeof o.now != "function" && ae("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), o.addTimelineLayer({
1107
+ typeof o.now != "function" && re("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), o.addTimelineLayer({
1108
1108
  id: Ne,
1109
1109
  label: "Pinia 🍍",
1110
1110
  color: 15064968
@@ -1123,7 +1123,7 @@ function us(e, t) {
1123
1123
  },
1124
1124
  {
1125
1125
  icon: "content_paste",
1126
- action: () => $e(this, null, function* () {
1126
+ action: () => Ee(this, null, function* () {
1127
1127
  yield ts(t), o.sendInspectorTree(ue), o.sendInspectorState(ue);
1128
1128
  }),
1129
1129
  tooltip: "Replace the state with the content of your clipboard"
@@ -1137,7 +1137,7 @@ function us(e, t) {
1137
1137
  },
1138
1138
  {
1139
1139
  icon: "folder_open",
1140
- action: () => $e(this, null, function* () {
1140
+ action: () => Ee(this, null, function* () {
1141
1141
  yield ss(t), o.sendInspectorTree(ue), o.sendInspectorState(ue);
1142
1142
  }),
1143
1143
  tooltip: "Import the state from a JSON file"
@@ -1149,7 +1149,7 @@ function us(e, t) {
1149
1149
  tooltip: 'Reset the state (with "$reset")',
1150
1150
  action: (n) => {
1151
1151
  const s = t._s.get(n);
1152
- s ? typeof s.$reset != "function" ? ae(`Cannot reset "${n}" store because it doesn't have a "$reset" method implemented.`, "warn") : (s.$reset(), ae(`Store "${n}" reset.`)) : ae(`Cannot reset "${n}" store because it wasn't found.`, "warn");
1152
+ s ? typeof s.$reset != "function" ? re(`Cannot reset "${n}" store because it doesn't have a "$reset" method implemented.`, "warn") : (s.$reset(), re(`Store "${n}" reset.`)) : re(`Cannot reset "${n}" store because it wasn't found.`, "warn");
1153
1153
  }
1154
1154
  }
1155
1155
  ]
@@ -1208,18 +1208,18 @@ function us(e, t) {
1208
1208
  if (n.app === e && n.inspectorId === ue) {
1209
1209
  const r = n.nodeId === nt ? t : t._s.get(n.nodeId);
1210
1210
  if (!r)
1211
- return ae(`store "${n.nodeId}" not found`, "error");
1211
+ return re(`store "${n.nodeId}" not found`, "error");
1212
1212
  const { path: l } = n;
1213
- bt(r) ? l.unshift("state") : (l.length !== 1 || !r._customProperties.has(l[0]) || l[0] in r.$state) && l.unshift("$state"), Le = !1, n.set(r, l, n.state.value), Le = !0;
1213
+ vt(r) ? l.unshift("state") : (l.length !== 1 || !r._customProperties.has(l[0]) || l[0] in r.$state) && l.unshift("$state"), Le = !1, n.set(r, l, n.state.value), Le = !0;
1214
1214
  }
1215
1215
  }), o.on.editComponentState((n) => {
1216
1216
  if (n.type.startsWith("🍍")) {
1217
1217
  const s = n.type.replace(/^🍍\s*/, ""), r = t._s.get(s);
1218
1218
  if (!r)
1219
- return ae(`store "${s}" not found`, "error");
1219
+ return re(`store "${s}" not found`, "error");
1220
1220
  const { path: l } = n;
1221
1221
  if (l[0] !== "state")
1222
- return ae(`Invalid path for store "${s}":
1222
+ return re(`Invalid path for store "${s}":
1223
1223
  ${l}
1224
1224
  Only state can be modified.`);
1225
1225
  l[0] = "$state", Le = !1, n.set(r, l, n.state.value), Le = !0;
@@ -1259,22 +1259,22 @@ function ds(e, t) {
1259
1259
  title: "🛫 " + i,
1260
1260
  subtitle: "start",
1261
1261
  data: {
1262
- store: we(t.$id),
1263
- action: we(i),
1262
+ store: Se(t.$id),
1263
+ action: Se(i),
1264
1264
  args: f
1265
1265
  },
1266
1266
  groupId: y
1267
1267
  }
1268
1268
  }), l((C) => {
1269
- Pe = void 0, o.addTimelineEvent({
1269
+ Ie = void 0, o.addTimelineEvent({
1270
1270
  layerId: Ne,
1271
1271
  event: {
1272
1272
  time: n(),
1273
1273
  title: "🛬 " + i,
1274
1274
  subtitle: "end",
1275
1275
  data: {
1276
- store: we(t.$id),
1277
- action: we(i),
1276
+ store: Se(t.$id),
1277
+ action: Se(i),
1278
1278
  args: f,
1279
1279
  result: C
1280
1280
  },
@@ -1282,7 +1282,7 @@ function ds(e, t) {
1282
1282
  }
1283
1283
  });
1284
1284
  }), a((C) => {
1285
- Pe = void 0, o.addTimelineEvent({
1285
+ Ie = void 0, o.addTimelineEvent({
1286
1286
  layerId: Ne,
1287
1287
  event: {
1288
1288
  time: n(),
@@ -1290,8 +1290,8 @@ function ds(e, t) {
1290
1290
  title: "💥 " + i,
1291
1291
  subtitle: "end",
1292
1292
  data: {
1293
- store: we(t.$id),
1294
- action: we(i),
1293
+ store: Se(t.$id),
1294
+ action: Se(i),
1295
1295
  args: f,
1296
1296
  error: C
1297
1297
  },
@@ -1300,7 +1300,7 @@ function ds(e, t) {
1300
1300
  });
1301
1301
  });
1302
1302
  }, !0), t._customProperties.forEach((l) => {
1303
- Ee(() => x(t[l]), (a, i) => {
1303
+ Pe(() => x(t[l]), (a, i) => {
1304
1304
  o.notifyComponentUpdate(), o.sendInspectorState(ue), Le && o.addTimelineEvent({
1305
1305
  layerId: Ne,
1306
1306
  event: {
@@ -1311,7 +1311,7 @@ function ds(e, t) {
1311
1311
  newValue: a,
1312
1312
  oldValue: i
1313
1313
  },
1314
- groupId: Pe
1314
+ groupId: Ie
1315
1315
  }
1316
1316
  });
1317
1317
  }, { deep: !0 });
@@ -1321,10 +1321,10 @@ function ds(e, t) {
1321
1321
  const f = {
1322
1322
  time: n(),
1323
1323
  title: is(a),
1324
- data: cs({ store: we(t.$id) }, ls(l)),
1325
- groupId: Pe
1324
+ data: cs({ store: Se(t.$id) }, ls(l)),
1325
+ groupId: Ie
1326
1326
  };
1327
- a === ke.patchFunction ? f.subtitle = "⤵️" : a === ke.patchObject ? f.subtitle = "🧩" : l && !Array.isArray(l) && (f.subtitle = l.type), l && (f.data["rawEvent(s)"] = {
1327
+ a === xe.patchFunction ? f.subtitle = "⤵️" : a === xe.patchObject ? f.subtitle = "🧩" : l && !Array.isArray(l) && (f.subtitle = l.type), l && (f.data["rawEvent(s)"] = {
1328
1328
  _custom: {
1329
1329
  display: "DebuggerEvent",
1330
1330
  type: "object",
@@ -1345,34 +1345,34 @@ function ds(e, t) {
1345
1345
  title: "🔥 " + t.$id,
1346
1346
  subtitle: "HMR update",
1347
1347
  data: {
1348
- store: we(t.$id),
1349
- info: we("HMR update")
1348
+ store: Se(t.$id),
1349
+ info: Se("HMR update")
1350
1350
  }
1351
1351
  }
1352
1352
  }), o.notifyComponentUpdate(), o.sendInspectorTree(ue), o.sendInspectorState(ue);
1353
1353
  });
1354
1354
  const { $dispose: r } = t;
1355
1355
  t.$dispose = () => {
1356
- r(), o.notifyComponentUpdate(), o.sendInspectorTree(ue), o.sendInspectorState(ue), o.getSettings().logStoreChanges && ae(`Disposed "${t.$id}" store 🗑`);
1357
- }, o.notifyComponentUpdate(), o.sendInspectorTree(ue), o.sendInspectorState(ue), o.getSettings().logStoreChanges && ae(`"${t.$id}" store installed 🆕`);
1356
+ r(), o.notifyComponentUpdate(), o.sendInspectorTree(ue), o.sendInspectorState(ue), o.getSettings().logStoreChanges && re(`Disposed "${t.$id}" store 🗑`);
1357
+ }, o.notifyComponentUpdate(), o.sendInspectorTree(ue), o.sendInspectorState(ue), o.getSettings().logStoreChanges && re(`"${t.$id}" store installed 🆕`);
1358
1358
  });
1359
1359
  }
1360
- let ao = 0, Pe;
1360
+ let ao = 0, Ie;
1361
1361
  function Vt(e, t, o) {
1362
1362
  const n = t.reduce((s, r) => (s[r] = Ye(e)[r], s), {});
1363
1363
  for (const s in n)
1364
1364
  e[s] = function() {
1365
1365
  const r = ao, l = o ? new Proxy(e, {
1366
1366
  get(...i) {
1367
- return Pe = r, Reflect.get(...i);
1367
+ return Ie = r, Reflect.get(...i);
1368
1368
  },
1369
1369
  set(...i) {
1370
- return Pe = r, Reflect.set(...i);
1370
+ return Ie = r, Reflect.set(...i);
1371
1371
  }
1372
1372
  }) : e;
1373
- Pe = r;
1373
+ Ie = r;
1374
1374
  const a = n[s].apply(l, arguments);
1375
- return Pe = void 0, a;
1375
+ return Ie = void 0, a;
1376
1376
  };
1377
1377
  }
1378
1378
  function ps({ app: e, store: t, options: o }) {
@@ -1467,10 +1467,10 @@ function Ut(e, t, o, n) {
1467
1467
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
1468
1468
  xt(A(s ? s() : {}).value)
1469
1469
  ) : xt(o.state.value[e]);
1470
- return ge(y, r, Object.keys(l || {}).reduce((C, N) => (process.env.NODE_ENV !== "production" && N in y && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${N}" in store "${e}".`), C[N] = Me(Te(() => {
1470
+ return ge(y, r, Object.keys(l || {}).reduce((C, M) => (process.env.NODE_ENV !== "production" && M in y && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${M}" in store "${e}".`), C[M] = Me(Te(() => {
1471
1471
  Je(o);
1472
- const T = o._s.get(e);
1473
- return l[N].call(T, T);
1472
+ const R = o._s.get(e);
1473
+ return l[M].call(R, R);
1474
1474
  })), C), {}));
1475
1475
  }
1476
1476
  return i = gt(e, f, t, o, n, !0), i;
@@ -1482,31 +1482,31 @@ function gt(e, t, o = {}, n, s, r) {
1482
1482
  throw new Error("Pinia destroyed");
1483
1483
  const i = { deep: !0 };
1484
1484
  process.env.NODE_ENV !== "production" && !Jt && (i.onTrigger = (u) => {
1485
- f ? T = u : f == !1 && !g._hotUpdating && (Array.isArray(T) ? T.push(u) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
1485
+ f ? R = u : f == !1 && !g._hotUpdating && (Array.isArray(R) ? R.push(u) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
1486
1486
  });
1487
- let f, y, C = [], N = [], T;
1488
- const H = n.state.value[e];
1489
- !r && !H && (process.env.NODE_ENV === "production" || !s) && (n.state.value[e] = {});
1490
- const L = A({});
1491
- let ee;
1492
- function B(u) {
1487
+ let f, y, C = [], M = [], R;
1488
+ const B = n.state.value[e];
1489
+ !r && !B && (process.env.NODE_ENV === "production" || !s) && (n.state.value[e] = {});
1490
+ const j = A({});
1491
+ let Z;
1492
+ function Y(u) {
1493
1493
  let c;
1494
- f = y = !1, process.env.NODE_ENV !== "production" && (T = []), typeof u == "function" ? (u(n.state.value[e]), c = {
1495
- type: ke.patchFunction,
1494
+ f = y = !1, process.env.NODE_ENV !== "production" && (R = []), typeof u == "function" ? (u(n.state.value[e]), c = {
1495
+ type: xe.patchFunction,
1496
1496
  storeId: e,
1497
- events: T
1497
+ events: R
1498
1498
  }) : (ht(n.state.value[e], u), c = {
1499
- type: ke.patchObject,
1499
+ type: xe.patchObject,
1500
1500
  payload: u,
1501
1501
  storeId: e,
1502
- events: T
1502
+ events: R
1503
1503
  });
1504
- const k = ee = Symbol();
1504
+ const k = Z = Symbol();
1505
1505
  Be().then(() => {
1506
- ee === k && (f = !0);
1506
+ Z === k && (f = !0);
1507
1507
  }), y = !0, Re(C, c, n.state.value[e]);
1508
1508
  }
1509
- const ie = r ? function() {
1509
+ const le = r ? function() {
1510
1510
  const { state: c } = o, k = c ? c() : {};
1511
1511
  this.$patch((O) => {
1512
1512
  ge(O, k);
@@ -1517,63 +1517,63 @@ function gt(e, t, o = {}, n, s, r) {
1517
1517
  throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
1518
1518
  } : io
1519
1519
  );
1520
- function G() {
1521
- l.stop(), C = [], N = [], n._s.delete(e);
1520
+ function z() {
1521
+ l.stop(), C = [], M = [], n._s.delete(e);
1522
1522
  }
1523
- const M = (u, c = "") => {
1523
+ const U = (u, c = "") => {
1524
1524
  if (Nt in u)
1525
1525
  return u[ft] = c, u;
1526
1526
  const k = function() {
1527
1527
  Je(n);
1528
- const O = Array.from(arguments), z = [], D = [];
1529
- function F(Y) {
1530
- z.push(Y);
1528
+ const O = Array.from(arguments), L = [], T = [];
1529
+ function D(W) {
1530
+ L.push(W);
1531
1531
  }
1532
- function U(Y) {
1533
- D.push(Y);
1532
+ function F(W) {
1533
+ T.push(W);
1534
1534
  }
1535
- Re(N, {
1535
+ Re(M, {
1536
1536
  args: O,
1537
1537
  name: k[ft],
1538
1538
  store: g,
1539
- after: F,
1540
- onError: U
1539
+ after: D,
1540
+ onError: F
1541
1541
  });
1542
- let v;
1542
+ let _;
1543
1543
  try {
1544
- v = u.apply(this && this.$id === e ? this : g, O);
1545
- } catch (Y) {
1546
- throw Re(D, Y), Y;
1544
+ _ = u.apply(this && this.$id === e ? this : g, O);
1545
+ } catch (W) {
1546
+ throw Re(T, W), W;
1547
1547
  }
1548
- return v instanceof Promise ? v.then((Y) => (Re(z, Y), Y)).catch((Y) => (Re(D, Y), Promise.reject(Y))) : (Re(z, v), v);
1548
+ return _ instanceof Promise ? _.then((W) => (Re(L, W), W)).catch((W) => (Re(T, W), Promise.reject(W))) : (Re(L, _), _);
1549
1549
  };
1550
1550
  return k[Nt] = !0, k[ft] = c, k;
1551
- }, te = /* @__PURE__ */ Me({
1551
+ }, ee = /* @__PURE__ */ Me({
1552
1552
  actions: {},
1553
1553
  getters: {},
1554
1554
  state: [],
1555
- hotState: L
1555
+ hotState: j
1556
1556
  }), h = {
1557
1557
  _p: n,
1558
1558
  // _s: scope,
1559
1559
  $id: e,
1560
- $onAction: At.bind(null, N),
1561
- $patch: B,
1562
- $reset: ie,
1560
+ $onAction: At.bind(null, M),
1561
+ $patch: Y,
1562
+ $reset: le,
1563
1563
  $subscribe(u, c = {}) {
1564
- const k = At(C, u, c.detached, () => O()), O = l.run(() => Ee(() => n.state.value[e], (z) => {
1564
+ const k = At(C, u, c.detached, () => O()), O = l.run(() => Pe(() => n.state.value[e], (L) => {
1565
1565
  (c.flush === "sync" ? y : f) && u({
1566
1566
  storeId: e,
1567
- type: ke.direct,
1568
- events: T
1569
- }, z);
1567
+ type: xe.direct,
1568
+ events: R
1569
+ }, L);
1570
1570
  }, ge({}, i, c)));
1571
1571
  return k;
1572
1572
  },
1573
- $dispose: G
1573
+ $dispose: z
1574
1574
  }, g = de(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ue ? ge(
1575
1575
  {
1576
- _hmrPayload: te,
1576
+ _hmrPayload: ee,
1577
1577
  _customProperties: Me(/* @__PURE__ */ new Set())
1578
1578
  // devtools custom properties
1579
1579
  },
@@ -1582,26 +1582,26 @@ function gt(e, t, o = {}, n, s, r) {
1582
1582
  // setupStore
1583
1583
  ) : h);
1584
1584
  n._s.set(e, g);
1585
- const I = (n._a && n._a.runWithContext || ms)(() => n._e.run(() => (l = Rt()).run(() => t({ action: M }))));
1585
+ const I = (n._a && n._a.runWithContext || ms)(() => n._e.run(() => (l = Rt()).run(() => t({ action: U }))));
1586
1586
  for (const u in I) {
1587
1587
  const c = I[u];
1588
1588
  if (We(c) && !Mt(c) || _t(c))
1589
- process.env.NODE_ENV !== "production" && s ? et(L.value, u, ut(I, u)) : r || (H && gs(c) && (We(c) ? c.value = H[u] : ht(c, H[u])), n.state.value[e][u] = c), process.env.NODE_ENV !== "production" && te.state.push(u);
1589
+ process.env.NODE_ENV !== "production" && s ? et(j.value, u, ut(I, u)) : r || (B && gs(c) && (We(c) ? c.value = B[u] : ht(c, B[u])), n.state.value[e][u] = c), process.env.NODE_ENV !== "production" && ee.state.push(u);
1590
1590
  else if (typeof c == "function") {
1591
- const k = process.env.NODE_ENV !== "production" && s ? c : M(c, u);
1592
- I[u] = k, process.env.NODE_ENV !== "production" && (te.actions[u] = c), a.actions[u] = c;
1593
- } else process.env.NODE_ENV !== "production" && Mt(c) && (te.getters[u] = r ? (
1591
+ const k = process.env.NODE_ENV !== "production" && s ? c : U(c, u);
1592
+ I[u] = k, process.env.NODE_ENV !== "production" && (ee.actions[u] = c), a.actions[u] = c;
1593
+ } else process.env.NODE_ENV !== "production" && Mt(c) && (ee.getters[u] = r ? (
1594
1594
  // @ts-expect-error
1595
1595
  o.getters[u]
1596
1596
  ) : c, Ue && (I._getters || // @ts-expect-error: same
1597
1597
  (I._getters = Me([]))).push(u));
1598
1598
  }
1599
1599
  if (ge(g, I), ge(Ye(g), I), Object.defineProperty(g, "$state", {
1600
- get: () => process.env.NODE_ENV !== "production" && s ? L.value : n.state.value[e],
1600
+ get: () => process.env.NODE_ENV !== "production" && s ? j.value : n.state.value[e],
1601
1601
  set: (u) => {
1602
1602
  if (process.env.NODE_ENV !== "production" && s)
1603
1603
  throw new Error("cannot set hotState");
1604
- B((c) => {
1604
+ Y((c) => {
1605
1605
  ge(c, u);
1606
1606
  });
1607
1607
  }
@@ -1619,7 +1619,7 @@ function gt(e, t, o = {}, n, s, r) {
1619
1619
  });
1620
1620
  for (const c in u._hmrPayload.actions) {
1621
1621
  const k = u[c];
1622
- et(g, c, M(k, c));
1622
+ et(g, c, U(k, c));
1623
1623
  }
1624
1624
  for (const c in u._hmrPayload.getters) {
1625
1625
  const k = u._hmrPayload.getters[c], O = r ? (
@@ -1662,7 +1662,7 @@ function gt(e, t, o = {}, n, s, r) {
1662
1662
  })));
1663
1663
  }), 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
1664
1664
  state: () => new MyClass()
1665
- Found in store "${g.$id}".`), H && r && o.hydrate && o.hydrate(g.$state, H), f = !0, y = !0, g;
1665
+ Found in store "${g.$id}".`), B && r && o.hydrate && o.hydrate(g.$state, B), f = !0, y = !0, g;
1666
1666
  }
1667
1667
  /*! #__NO_SIDE_EFFECTS__ */
1668
1668
  // @__NO_SIDE_EFFECTS__
@@ -1681,22 +1681,22 @@ This will fail in production.`);
1681
1681
  a = He, a._s.has(n) || (r ? gt(n, t, s, a) : Ut(n, s, a), process.env.NODE_ENV !== "production" && (l._pinia = a));
1682
1682
  const y = a._s.get(n);
1683
1683
  if (process.env.NODE_ENV !== "production" && i) {
1684
- const C = "__hot:" + n, N = r ? gt(C, t, s, a, !0) : Ut(C, ge({}, s), a, !0);
1685
- i._hotUpdate(N), delete a.state.value[C], a._s.delete(C);
1684
+ const C = "__hot:" + n, M = r ? gt(C, t, s, a, !0) : Ut(C, ge({}, s), a, !0);
1685
+ i._hotUpdate(M), delete a.state.value[C], a._s.delete(C);
1686
1686
  }
1687
1687
  if (process.env.NODE_ENV !== "production" && Ue) {
1688
1688
  const C = $o();
1689
1689
  if (C && C.proxy && // avoid adding stores that are just built for hot module replacement
1690
1690
  !i) {
1691
- const N = C.proxy, T = "_pStores" in N ? N._pStores : N._pStores = {};
1692
- T[n] = y;
1691
+ const M = C.proxy, R = "_pStores" in M ? M._pStores : M._pStores = {};
1692
+ R[n] = y;
1693
1693
  }
1694
1694
  }
1695
1695
  return y;
1696
1696
  }
1697
1697
  return l.$id = n, l;
1698
1698
  }
1699
- const vs = /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/, bs = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/, ys = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
1699
+ const bs = /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/, vs = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/, ys = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
1700
1700
  function ws(e, t) {
1701
1701
  if (e === "__proto__" || e === "constructor" && t && typeof t == "object" && "prototype" in t) {
1702
1702
  Ss(e);
@@ -1739,7 +1739,7 @@ function Cs(e, t = {}) {
1739
1739
  return e;
1740
1740
  }
1741
1741
  try {
1742
- if (vs.test(e) || bs.test(e)) {
1742
+ if (bs.test(e) || vs.test(e)) {
1743
1743
  if (t.strict)
1744
1744
  throw new Error("[destr] Possible prototype pollution");
1745
1745
  return JSON.parse(e, ws);
@@ -1822,8 +1822,8 @@ function Tt(e, {
1822
1822
  y && (a == null || a(f));
1823
1823
  const C = t.getItem(n);
1824
1824
  if (C) {
1825
- const N = o.deserialize(C), T = r ? uo(N, r) : N, H = l ? po(T, l) : T;
1826
- e.$patch(H);
1825
+ const M = o.deserialize(C), R = r ? uo(M, r) : M, B = l ? po(R, l) : R;
1826
+ e.$patch(B);
1827
1827
  }
1828
1828
  y && (i == null || i(f));
1829
1829
  } catch (C) {
@@ -1912,7 +1912,7 @@ const fo = /* @__PURE__ */ _s("console", {
1912
1912
  }), Os = {
1913
1913
  key: 0,
1914
1914
  class: "menu-wrapper"
1915
- }, Ps = /* @__PURE__ */ Se({
1915
+ }, Ps = /* @__PURE__ */ Ce({
1916
1916
  __name: "SideMenu",
1917
1917
  props: {
1918
1918
  menuCollapsed: { type: Boolean }
@@ -1938,17 +1938,17 @@ const fo = /* @__PURE__ */ _s("console", {
1938
1938
  router: ""
1939
1939
  }, {
1940
1940
  default: d(() => [
1941
- (p(!0), V(le, null, fe(x(Pt), (a) => (p(), P(Gn, {
1941
+ (p(!0), V(ae, null, pe(x(Pt), (a) => (p(), P(Gn, {
1942
1942
  key: a.path,
1943
1943
  menu: a
1944
1944
  }, null, 8, ["menu"]))), 128))
1945
1945
  ]),
1946
1946
  _: 1
1947
1947
  }, 8, ["default-active"])
1948
- ])) : j("", !0);
1948
+ ])) : q("", !0);
1949
1949
  };
1950
1950
  }
1951
- }), mo = /* @__PURE__ */ be(Ps, [["__scopeId", "data-v-c70ca2ba"]]), Is = { class: "container" }, Vs = /* @__PURE__ */ Se({
1951
+ }), mo = /* @__PURE__ */ ve(Ps, [["__scopeId", "data-v-c70ca2ba"]]), Is = { class: "container" }, Vs = /* @__PURE__ */ Ce({
1952
1952
  __name: "ConsoleApp",
1953
1953
  props: {
1954
1954
  title: {},
@@ -1959,19 +1959,19 @@ const fo = /* @__PURE__ */ _s("console", {
1959
1959
  const t = fo(wt), o = Ke(), n = A(t.menu.collapsed), s = A(), r = e;
1960
1960
  return (l, a) => {
1961
1961
  const i = E("router-view"), f = E("el-scrollbar");
1962
- return p(), V(le, null, [
1962
+ return p(), V(ae, null, [
1963
1963
  x(o).query.embedded !== "true" ? (p(), P(Wt, {
1964
1964
  key: 0,
1965
1965
  title: r.title,
1966
1966
  helpDocUrl: r.helpDocUrl,
1967
1967
  headerProjectConfig: r.headerProjectConfig
1968
- }, null, 8, ["title", "helpDocUrl", "headerProjectConfig"])) : j("", !0),
1968
+ }, null, 8, ["title", "helpDocUrl", "headerProjectConfig"])) : q("", !0),
1969
1969
  S("div", Is, [
1970
1970
  x(o).query.embedded !== "true" ? (p(), P(mo, {
1971
1971
  key: 0,
1972
1972
  menuCollapsed: n.value,
1973
1973
  "onUpdate:menuCollapsed": a[0] || (a[0] = (y) => n.value = y)
1974
- }, null, 8, ["menuCollapsed"])) : j("", !0),
1974
+ }, null, 8, ["menuCollapsed"])) : q("", !0),
1975
1975
  m(f, { class: "main-scrollbar" }, {
1976
1976
  default: d(() => [
1977
1977
  S("main", {
@@ -2007,7 +2007,7 @@ function Fs(e, t) {
2007
2007
  t[3] || (t[3] = S("h1", null, "You have no permission to access the page.", -1)),
2008
2008
  m(o, { type: "primary" }, {
2009
2009
  default: d(() => t[1] || (t[1] = [
2010
- J("Apply")
2010
+ K("Apply")
2011
2011
  ])),
2012
2012
  _: 1
2013
2013
  }),
@@ -2015,19 +2015,19 @@ function Fs(e, t) {
2015
2015
  onClick: t[0] || (t[0] = (n) => e.$router.go(-1))
2016
2016
  }, {
2017
2017
  default: d(() => t[2] || (t[2] = [
2018
- J("Go Back")
2018
+ K("Go Back")
2019
2019
  ])),
2020
2020
  _: 1
2021
2021
  })
2022
2022
  ])
2023
2023
  ]);
2024
2024
  }
2025
- const Rs = /* @__PURE__ */ be(Us, [["render", Fs], ["__scopeId", "data-v-0155b361"]]), Ls = {};
2025
+ const Rs = /* @__PURE__ */ ve(Us, [["render", Fs], ["__scopeId", "data-v-0155b361"]]), Ls = {};
2026
2026
  function Gs(e, t) {
2027
2027
  const o = E("router-view");
2028
2028
  return p(), P(o);
2029
2029
  }
2030
- const js = /* @__PURE__ */ be(Ls, [["render", Gs]]), zs = { class: "card-wrapper" }, qs = ["onClick"], Hs = { class: "card-inner-wrapper" }, Bs = { class: "card-title" }, Ys = { class: "icon" }, Ws = /* @__PURE__ */ Se({
2030
+ const js = /* @__PURE__ */ ve(Ls, [["render", Gs]]), zs = { class: "card-wrapper" }, qs = ["onClick"], Hs = { class: "card-inner-wrapper" }, Bs = { class: "card-title" }, Ys = { class: "icon" }, Ws = /* @__PURE__ */ Ce({
2031
2031
  __name: "TabCard",
2032
2032
  props: {
2033
2033
  cards: {},
@@ -2053,7 +2053,7 @@ const js = /* @__PURE__ */ be(Ls, [["render", Gs]]), zs = { class: "card-wrapper
2053
2053
  Be(() => {
2054
2054
  s.tableRef && s.cards && s.cards.length > 0 && s.tableRef.updateConfigAndRefresh((a != null ? a : s.cards[0]).model);
2055
2055
  });
2056
- }), Ee(
2056
+ }), Pe(
2057
2057
  () => s.cards,
2058
2058
  (a) => {
2059
2059
  if (o.query.tab !== void 0) {
@@ -2069,7 +2069,7 @@ const js = /* @__PURE__ */ be(Ls, [["render", Gs]]), zs = { class: "card-wrapper
2069
2069
  deep: !0
2070
2070
  }
2071
2071
  ), (a, i) => (p(), V("div", zs, [
2072
- (p(!0), V(le, null, fe(s.cards, (f) => (p(), V("div", {
2072
+ (p(!0), V(ae, null, pe(s.cards, (f) => (p(), V("div", {
2073
2073
  class: Lt(["card", { "card-selected": r.value === f.key }]),
2074
2074
  onClick: (y) => l(f)
2075
2075
  }, [
@@ -2079,18 +2079,18 @@ const js = /* @__PURE__ */ be(Ls, [["render", Gs]]), zs = { class: "card-wrapper
2079
2079
  f.icon ? (p(), P(rt(f.icon), {
2080
2080
  key: 0,
2081
2081
  class: "svg-icon"
2082
- })) : j("", !0)
2082
+ })) : q("", !0)
2083
2083
  ]),
2084
2084
  S("span", {
2085
2085
  style: je({ color: f.disabled ? "#aaa" : "black" })
2086
- }, R(x(t)(f.label)), 5)
2086
+ }, G(x(t)(f.label)), 5)
2087
2087
  ]),
2088
- S("span", null, R(f.count), 1)
2088
+ S("span", null, G(f.count), 1)
2089
2089
  ])
2090
2090
  ], 10, qs))), 256))
2091
2091
  ]));
2092
2092
  }
2093
- }), ho = /* @__PURE__ */ be(Ws, [["__scopeId", "data-v-047a86e6"]]), ze = (e) => {
2093
+ }), ho = /* @__PURE__ */ ve(Ws, [["__scopeId", "data-v-047a86e6"]]), ze = (e) => {
2094
2094
  const t = Object.keys(e);
2095
2095
  let o = {};
2096
2096
  t.forEach((n) => {
@@ -2099,7 +2099,7 @@ const js = /* @__PURE__ */ be(Ls, [["render", Gs]]), zs = { class: "card-wrapper
2099
2099
  }, Js = {
2100
2100
  key: 1,
2101
2101
  class: "view-span"
2102
- }, Ks = /* @__PURE__ */ Se({
2102
+ }, Ks = /* @__PURE__ */ Ce({
2103
2103
  __name: "FormView",
2104
2104
  props: {
2105
2105
  id: {},
@@ -2112,67 +2112,67 @@ const js = /* @__PURE__ */ be(Ls, [["render", Gs]]), zs = { class: "card-wrapper
2112
2112
  },
2113
2113
  emits: ["update:id"],
2114
2114
  setup(e, { expose: t, emit: o }) {
2115
- const { t: n } = at.global, s = e, r = de({}), l = A(!1), a = A(), i = de({}), f = A(!0), y = (h) => s.mode === "view" && (M(h, void 0) || M(h, "input") || M(h, "select") || M(h, "password") || M(h, "input-number") || M(h, "date") || M(h, "time") || M(h, "datetime")), C = Te(() => s.model.fields ? s.model.fields.filter(
2115
+ const { t: n } = at.global, s = e, r = de({}), l = A(!1), a = A(), i = de({}), f = A(!0), y = (h) => s.mode === "view" && (U(h, void 0) || U(h, "input") || U(h, "select") || U(h, "password") || U(h, "input-number") || U(h, "date") || U(h, "time") || U(h, "datetime")), C = Te(() => s.model.fields ? s.model.fields.filter(
2116
2116
  (h) => {
2117
2117
  var I, u, c, k;
2118
2118
  let g = h.visible !== !1 && ((I = h.formItemAttributes) == null ? void 0 : I.visible) !== !1;
2119
2119
  if (s.mode !== "view" && ((u = h.formItemAttributes) == null ? void 0 : u.editable) === !1 || s.mode === "view" && ((c = h.formItemAttributes) == null ? void 0 : c.type) === "password")
2120
2120
  return !1;
2121
- let b = (k = h.formItemAttributes) == null ? void 0 : k.showCondition;
2122
- if (b && b.field && b.value !== void 0) {
2123
- if (b.operator === void 0 || b.operator === "==")
2124
- return r[b.field] === b.value;
2125
- if (b.operator === "!=")
2126
- return r[b.field] !== b.value;
2127
- if (b.operator === ">")
2128
- return r[b.field] > b.value;
2129
- if (b.operator === "<")
2130
- return r[b.field] < b.value;
2121
+ let v = (k = h.formItemAttributes) == null ? void 0 : k.showCondition;
2122
+ if (v && v.field && v.value !== void 0) {
2123
+ if (v.operator === void 0 || v.operator === "==")
2124
+ return r[v.field] === v.value;
2125
+ if (v.operator === "!=")
2126
+ return r[v.field] !== v.value;
2127
+ if (v.operator === ">")
2128
+ return r[v.field] > v.value;
2129
+ if (v.operator === "<")
2130
+ return r[v.field] < v.value;
2131
2131
  }
2132
2132
  return g;
2133
2133
  }
2134
2134
  ) : []);
2135
- Ee([() => s.id, () => s.sessionId], () => {
2136
- console.log(`FormView.watch: id = ${s.id}, sessionId = ${s.sessionId}`), T();
2135
+ Pe([() => s.id, () => s.sessionId], () => {
2136
+ console.log(`FormView.watch: id = ${s.id}, sessionId = ${s.sessionId}`), R();
2137
2137
  }, {
2138
2138
  immediate: !0
2139
2139
  });
2140
- function N() {
2140
+ function M() {
2141
2141
  console.log("FormView.initFormFields: begin");
2142
2142
  const h = s.model.fields;
2143
2143
  let g = {};
2144
- h == null || h.forEach((b) => {
2145
- var I, u, c, k, O, z, D, F, U, v, Y, _, $;
2146
- if (r[b.prop] = null, b.visible !== !1 && ((I = b.formItemAttributes) == null ? void 0 : I.visible) !== !1) {
2147
- if (((u = b.formItemAttributes) == null ? void 0 : u.defaultValue) !== void 0 ? r[b.prop] = (c = b.formItemAttributes) == null ? void 0 : c.defaultValue : r[b.prop] = void 0, s.mode !== "view") {
2148
- let K = (k = b.formItemAttributes) == null ? void 0 : k.validationRule;
2149
- K !== void 0 && (g[b.prop] = K), ze(i), Object.assign(i, g);
2144
+ h == null || h.forEach((v) => {
2145
+ var I, u, c, k, O, L, T, D, F, _, W, b, $;
2146
+ if (r[v.prop] = null, v.visible !== !1 && ((I = v.formItemAttributes) == null ? void 0 : I.visible) !== !1) {
2147
+ if (((u = v.formItemAttributes) == null ? void 0 : u.defaultValue) !== void 0 ? r[v.prop] = (c = v.formItemAttributes) == null ? void 0 : c.defaultValue : r[v.prop] = void 0, s.mode !== "view") {
2148
+ let Q = (k = v.formItemAttributes) == null ? void 0 : k.validationRule;
2149
+ Q !== void 0 && (g[v.prop] = Q), ze(i), Object.assign(i, g);
2150
2150
  }
2151
- const w = b.formItemAttributes, W = w == null ? void 0 : w.type, q = (O = w == null ? void 0 : w.selectAttributes) == null ? void 0 : O.useDatableDict, oe = (z = w == null ? void 0 : w.selectAttributes) == null ? void 0 : z.dictId, ne = (D = w == null ? void 0 : w.selectAttributes) == null ? void 0 : D.api, se = (F = w == null ? void 0 : w.selectAttributes) == null ? void 0 : F.valueMappingField, X = (U = w == null ? void 0 : w.selectAttributes) == null ? void 0 : U.labelMappingField;
2152
- if (W === "select") {
2153
- if (q) {
2154
- let re = `${Te(() => window.location.href.indexOf("localhost") > 0 ? "http://localhost.vancone.com:8080" : "https://datable.vancone.com/agent/public/0001").value}/api/datable/agent/metadata/dict?dictId=${oe}`;
2155
- const ce = (v = w == null ? void 0 : w.selectAttributes) == null ? void 0 : v.queryParamName, me = (Y = w == null ? void 0 : w.selectAttributes) == null ? void 0 : Y.queryParamValueField;
2156
- ce && (re = `${re}?${ce}=${s.id}`), me || Ce(re, "GET", {}).then(({ data: he }) => {
2151
+ const w = v.formItemAttributes, J = w == null ? void 0 : w.type, H = (O = w == null ? void 0 : w.selectAttributes) == null ? void 0 : O.useDatableDict, te = (L = w == null ? void 0 : w.selectAttributes) == null ? void 0 : L.dictId, oe = (T = w == null ? void 0 : w.selectAttributes) == null ? void 0 : T.api, ne = (D = w == null ? void 0 : w.selectAttributes) == null ? void 0 : D.valueMappingField, X = (F = w == null ? void 0 : w.selectAttributes) == null ? void 0 : F.labelMappingField;
2152
+ if (J === "select") {
2153
+ if (H) {
2154
+ let se = `${Te(() => window.location.href.indexOf("localhost") > 0 ? "http://localhost.vancone.com:8080" : "https://datable.vancone.com/agent/public/0001").value}/api/datable/agent/metadata/dict?dictId=${te}`;
2155
+ const ce = (_ = w == null ? void 0 : w.selectAttributes) == null ? void 0 : _.queryParamName, fe = (W = w == null ? void 0 : w.selectAttributes) == null ? void 0 : W.queryParamValueField;
2156
+ ce && (se = `${se}?${ce}=${s.id}`), fe || $e(se, "GET", {}).then(({ data: me }) => {
2157
2157
  var ye;
2158
- if ((ye = b.formItemAttributes) != null && ye.selectAttributes) {
2159
- let Q = [];
2160
- Array.isArray(he.data) ? Q = he.data : he.data.list && Array.isArray(he.data.list) && (Q = he.data.list), b.formItemAttributes.selectAttributes.options = Q.map((Ie) => ({
2161
- value: Ie.dbOrdinal,
2162
- label: Ie.value
2158
+ if ((ye = v.formItemAttributes) != null && ye.selectAttributes) {
2159
+ let he = [];
2160
+ Array.isArray(me.data) ? he = me.data : me.data.list && Array.isArray(me.data.list) && (he = me.data.list), v.formItemAttributes.selectAttributes.options = he.map((Ve) => ({
2161
+ value: Ve.dbOrdinal,
2162
+ label: Ve.value
2163
2163
  }));
2164
2164
  }
2165
2165
  });
2166
- } else if (ne) {
2167
- let K = ne;
2168
- const re = (_ = w == null ? void 0 : w.selectAttributes) == null ? void 0 : _.queryParamName, ce = ($ = w == null ? void 0 : w.selectAttributes) == null ? void 0 : $.queryParamValueField;
2169
- re && (K = `${K}?${re}=${s.id}`), ce || Ce(K, "GET", {}).then(({ data: me }) => {
2170
- var he;
2171
- if ((he = b.formItemAttributes) != null && he.selectAttributes) {
2166
+ } else if (oe) {
2167
+ let Q = oe;
2168
+ const se = (b = w == null ? void 0 : w.selectAttributes) == null ? void 0 : b.queryParamName, ce = ($ = w == null ? void 0 : w.selectAttributes) == null ? void 0 : $.queryParamValueField;
2169
+ se && (Q = `${Q}?${se}=${s.id}`), ce || $e(Q, "GET", {}).then(({ data: fe }) => {
2170
+ var me;
2171
+ if ((me = v.formItemAttributes) != null && me.selectAttributes) {
2172
2172
  let ye = [];
2173
- Array.isArray(me.data) ? ye = me.data : me.data.list && Array.isArray(me.data.list) && (ye = me.data.list), b.formItemAttributes.selectAttributes.options = ye.map((Q) => ({
2174
- value: se ? Q[se] : Q.value,
2175
- label: X ? Q[X] : Q.label
2173
+ Array.isArray(fe.data) ? ye = fe.data : fe.data.list && Array.isArray(fe.data.list) && (ye = fe.data.list), v.formItemAttributes.selectAttributes.options = ye.map((he) => ({
2174
+ value: ne ? he[ne] : he.value,
2175
+ label: X ? he[X] : he.label
2176
2176
  }));
2177
2177
  }
2178
2178
  });
@@ -2181,81 +2181,87 @@ const js = /* @__PURE__ */ be(Ls, [["render", Gs]]), zs = { class: "card-wrapper
2181
2181
  }
2182
2182
  });
2183
2183
  }
2184
- function T() {
2184
+ function R() {
2185
2185
  var h;
2186
- console.log(`Refresh form view data: id = ${s.id}, model = `, s.model), L(), f.value = (h = s.model.useI18n) != null ? h : !0, N(), (s.mode === "update" || s.mode === "view") && s.id !== void 0 && s.id !== "" && s.model.api !== "" && (l.value = !0, Ce(`${s.model.api}/${s.id}`, "GET", {}).then(({ data: g }) => {
2187
- ze(r), Object.assign(r, g.data), s.model.fields.forEach((b) => {
2188
- b.formItemAttributes && b.formItemAttributes.type === "select" && r[b.prop] !== void 0 && te(b);
2186
+ console.log(`Refresh form view data: id = ${s.id}, model = `, s.model), j(), f.value = (h = s.model.useI18n) != null ? h : !0, M(), (s.mode === "update" || s.mode === "view") && s.id !== void 0 && s.id !== "" && s.model.api !== "" && (l.value = !0, $e(`${s.model.api}/${s.id}`, "GET", {}).then(({ data: g }) => {
2187
+ ze(r), Object.assign(r, g.data), s.model.fields.forEach((v) => {
2188
+ v.formItemAttributes && v.formItemAttributes.type === "select" && r[v.prop] !== void 0 && ee(v);
2189
2189
  }), l.value = !1;
2190
2190
  }));
2191
2191
  }
2192
- function H() {
2192
+ function B() {
2193
2193
  return new Promise((h, g) => {
2194
2194
  var I, u, c, k;
2195
2195
  ((u = (I = s.model.formConfig) == null ? void 0 : I.functions) == null ? void 0 : u.beforeSubmit) !== void 0 && Object.assign(r, (k = (c = s.model.formConfig) == null ? void 0 : c.functions) == null ? void 0 : k.beforeSubmit(r));
2196
- let b = s.mode === "create" ? "POST" : "PUT";
2197
- s.model.api && Ce(s.model.api, b, r).then(({ data: O }) => {
2198
- var z, D, F, U;
2199
- O.code === 0 && (s.closeDialogFunc && s.closeDialogFunc(), ((D = (z = s.model.formConfig) == null ? void 0 : z.functions) == null ? void 0 : D.afterSubmit) !== void 0 && ((U = (F = s.model.formConfig) == null ? void 0 : F.functions) == null || U.afterSubmit(O.data)), s.afterSubmitFunc && s.afterSubmitFunc(), h());
2196
+ let v = s.mode === "create" ? "POST" : "PUT";
2197
+ s.model.api && $e(s.model.api, v, r).then(({ data: O }) => {
2198
+ var L, T, D, F;
2199
+ O.code === 0 && (s.closeDialogFunc && s.closeDialogFunc(), ((T = (L = s.model.formConfig) == null ? void 0 : L.functions) == null ? void 0 : T.afterSubmit) !== void 0 && ((F = (D = s.model.formConfig) == null ? void 0 : D.functions) == null || F.afterSubmit(O.data)), s.afterSubmitFunc && s.afterSubmitFunc(), h());
2200
2200
  });
2201
2201
  });
2202
2202
  }
2203
- function L() {
2203
+ function j() {
2204
2204
  var h;
2205
2205
  console.log("FormView.reset: begin"), (h = a.value) == null || h.resetFields();
2206
2206
  }
2207
- function ee(h) {
2207
+ function Z(h) {
2208
2208
  return h.label ? f ? n(h.label) : h.label : h.prop.slice(0, 1).toUpperCase() + h.prop.slice(1).toLowerCase();
2209
2209
  }
2210
- function B(h) {
2211
- var g, b, I, u;
2210
+ function Y(h) {
2211
+ var g, v, I, u, c, k;
2212
2212
  if (h) {
2213
- if (M(h, "select")) {
2214
- const c = (b = (g = h.tableColumnAttributes) == null ? void 0 : g.functions) == null ? void 0 : b.transformValue;
2215
- if (c)
2216
- return c(r[h.prop]);
2217
- const k = (u = (I = h.formItemAttributes) == null ? void 0 : I.selectAttributes) == null ? void 0 : u.viewModeLabelField;
2218
- if (k)
2219
- return r[k];
2213
+ if (U(h, "select")) {
2214
+ const O = (v = (g = h.tableColumnAttributes) == null ? void 0 : g.functions) == null ? void 0 : v.transformValue;
2215
+ if (O)
2216
+ return O(r[h.prop]);
2217
+ const L = (u = (I = h.formItemAttributes) == null ? void 0 : I.selectAttributes) == null ? void 0 : u.viewModeLabelField;
2218
+ if (L)
2219
+ return r[L];
2220
+ const T = (k = (c = h.formItemAttributes) == null ? void 0 : c.selectAttributes) == null ? void 0 : k.options;
2221
+ if (T) {
2222
+ for (let D of T)
2223
+ if (D.value === r[h.prop])
2224
+ return D.label;
2225
+ }
2220
2226
  }
2221
2227
  return r[h.prop];
2222
2228
  }
2223
2229
  }
2224
- function ie(h) {
2230
+ function le(h) {
2225
2231
  var g;
2226
2232
  return ((g = h.formItemAttributes) == null ? void 0 : g.updatable) === !1 && s.mode === "update";
2227
2233
  }
2228
- function G(h, g) {
2234
+ function z(h, g) {
2229
2235
  var I, u;
2230
- const b = (u = (I = g.formItemAttributes) == null ? void 0 : I.type) != null ? u : "input";
2236
+ const v = (u = (I = g.formItemAttributes) == null ? void 0 : I.type) != null ? u : "input";
2231
2237
  switch (h) {
2232
2238
  case "input":
2233
- return s.mode === "view" ? !1 : b === "input" || b === "password";
2239
+ return s.mode === "view" ? !1 : v === "input" || v === "password";
2234
2240
  case "select":
2235
2241
  return !0;
2236
2242
  default:
2237
2243
  return console.log("Error: unrecognized form component type: ", h), !0;
2238
2244
  }
2239
2245
  }
2240
- function M(h, g) {
2241
- var b;
2242
- return ((b = h.formItemAttributes) == null ? void 0 : b.type) === g;
2246
+ function U(h, g) {
2247
+ var v;
2248
+ return ((v = h.formItemAttributes) == null ? void 0 : v.type) === g;
2243
2249
  }
2244
- function te(h) {
2250
+ function ee(h) {
2245
2251
  var g;
2246
- for (let b of s.model.fields) {
2247
- const I = (g = b.formItemAttributes) == null ? void 0 : g.selectAttributes;
2248
- if (!(!b.formItemAttributes || b.formItemAttributes.type !== "select" || !I || !I.queryParamValueField) && I.queryParamValueField === h.prop) {
2252
+ for (let v of s.model.fields) {
2253
+ const I = (g = v.formItemAttributes) == null ? void 0 : g.selectAttributes;
2254
+ if (!(!v.formItemAttributes || v.formItemAttributes.type !== "select" || !I || !I.queryParamValueField) && I.queryParamValueField === h.prop) {
2249
2255
  const u = I.api;
2250
2256
  if (u) {
2251
2257
  let c = u;
2252
2258
  const k = I.queryParamName;
2253
- k && (c = `${c}?${k}=${r[I.queryParamValueField]}`), Ce(c, "GET", {}).then(({ data: O }) => {
2259
+ k && (c = `${c}?${k}=${r[I.queryParamValueField]}`), $e(c, "GET", {}).then(({ data: O }) => {
2254
2260
  if (I) {
2255
- let z = [];
2256
- Array.isArray(O.data) ? z = O.data : O.data.list && Array.isArray(O.data.list) && (z = O.data.list), I.options = z.map((D) => ({
2257
- value: I.valueMappingField ? D[I.valueMappingField] : D.value,
2258
- label: I.labelMappingField ? D[I.labelMappingField] : D.label
2261
+ let L = [];
2262
+ Array.isArray(O.data) ? L = O.data : O.data.list && Array.isArray(O.data.list) && (L = O.data.list), I.options = L.map((T) => ({
2263
+ value: I.valueMappingField ? T[I.valueMappingField] : T.value,
2264
+ label: I.labelMappingField ? T[I.labelMappingField] : T.label
2259
2265
  }));
2260
2266
  }
2261
2267
  });
@@ -2264,13 +2270,13 @@ const js = /* @__PURE__ */ be(Ls, [["render", Gs]]), zs = { class: "card-wrapper
2264
2270
  }
2265
2271
  }
2266
2272
  return t({
2267
- refresh: T,
2268
- reset: L,
2269
- submit: H,
2273
+ refresh: R,
2274
+ reset: j,
2275
+ submit: B,
2270
2276
  formData: r
2271
2277
  }), (h, g) => {
2272
- const b = E("el-input"), I = E("el-switch"), u = E("el-date-picker"), c = E("el-time-picker"), k = E("el-option"), O = E("el-select"), z = E("el-input-number"), D = E("el-form-item"), F = E("el-form"), U = Gt("loading");
2273
- return jt((p(), P(F, {
2278
+ const v = E("el-input"), I = E("el-switch"), u = E("el-date-picker"), c = E("el-time-picker"), k = E("el-option"), O = E("el-select"), L = E("el-input-number"), T = E("el-form-item"), D = E("el-form"), F = Gt("loading");
2279
+ return jt((p(), P(D, {
2274
2280
  ref_key: "formRef",
2275
2281
  ref: a,
2276
2282
  model: r,
@@ -2282,86 +2288,88 @@ const js = /* @__PURE__ */ be(Ls, [["render", Gs]]), zs = { class: "card-wrapper
2282
2288
  inline: !s.disableInline
2283
2289
  }, {
2284
2290
  default: d(() => [
2285
- (p(!0), V(le, null, fe(C.value, (v) => (p(), P(D, {
2291
+ (p(!0), V(ae, null, pe(C.value, (_) => (p(), P(T, {
2286
2292
  class: "form-item",
2287
2293
  style: je({ width: s.disableInline ? "100%" : "calc(50% - 32px)" }),
2288
- prop: v.prop,
2289
- label: ee(v)
2294
+ prop: _.prop,
2295
+ label: Z(_)
2290
2296
  }, {
2291
2297
  default: d(() => {
2292
- var Y, _, $, w, W, q, oe, ne, se, X, K, re, ce, me, he, ye;
2298
+ var W, b, $, w, J, H, te, oe, ne, X, Q, se, ce, fe, me, ye, he, Ve, Xe, ie;
2293
2299
  return [
2294
- G("input", v) ? (p(), P(b, {
2300
+ z("input", _) ? (p(), P(v, {
2295
2301
  key: 0,
2296
- type: M(v, "password") ? "password" : "text",
2297
- modelValue: r[v.prop],
2298
- "onUpdate:modelValue": (Q) => r[v.prop] = Q,
2299
- placeholder: (Y = v.formItemAttributes) == null ? void 0 : Y.placeholder,
2300
- disabled: ie(v)
2301
- }, null, 8, ["type", "modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : j("", !0),
2302
- y(v) ? (p(), V("span", Js, R(B(v)), 1)) : j("", !0),
2303
- M(v, "switch") ? (p(), P(I, {
2302
+ type: U(_, "password") ? "password" : "text",
2303
+ modelValue: r[_.prop],
2304
+ "onUpdate:modelValue": (N) => r[_.prop] = N,
2305
+ placeholder: (W = _.formItemAttributes) == null ? void 0 : W.placeholder,
2306
+ disabled: le(_)
2307
+ }, null, 8, ["type", "modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : q("", !0),
2308
+ y(_) ? (p(), V("span", Js, G(Y(_)), 1)) : q("", !0),
2309
+ U(_, "switch") ? (p(), P(I, {
2304
2310
  key: 2,
2305
- modelValue: r[v.prop],
2306
- "onUpdate:modelValue": (Q) => r[v.prop] = Q,
2311
+ modelValue: r[_.prop],
2312
+ "onUpdate:modelValue": (N) => r[_.prop] = N,
2307
2313
  disabled: h.mode === "view"
2308
- }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])) : j("", !0),
2309
- M(v, "date") && h.mode !== "view" ? (p(), P(u, {
2314
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])) : q("", !0),
2315
+ U(_, "date") && h.mode !== "view" ? (p(), P(u, {
2310
2316
  key: 3,
2311
2317
  style: { width: "100%" },
2312
2318
  type: "date",
2313
2319
  "value-format": "YYYY-MM-DD",
2314
- modelValue: r[v.prop],
2315
- "onUpdate:modelValue": (Q) => r[v.prop] = Q,
2320
+ modelValue: r[_.prop],
2321
+ "onUpdate:modelValue": (N) => r[_.prop] = N,
2316
2322
  disabled: h.mode === "view"
2317
- }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])) : j("", !0),
2318
- M(v, "time") && h.mode !== "view" ? (p(), P(c, {
2323
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])) : q("", !0),
2324
+ U(_, "time") && h.mode !== "view" ? (p(), P(c, {
2319
2325
  key: 4,
2320
2326
  style: { width: "100%" },
2321
- modelValue: r[v.prop],
2322
- "onUpdate:modelValue": (Q) => r[v.prop] = Q,
2327
+ modelValue: r[_.prop],
2328
+ "onUpdate:modelValue": (N) => r[_.prop] = N,
2323
2329
  disabled: h.mode === "view"
2324
- }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])) : j("", !0),
2325
- M(v, "datetime") && h.mode !== "view" ? (p(), P(u, {
2330
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])) : q("", !0),
2331
+ U(_, "datetime") && h.mode !== "view" ? (p(), P(u, {
2326
2332
  key: 5,
2327
2333
  style: { width: "100%" },
2328
2334
  type: "datetime",
2329
2335
  "value-format": "YYYY-MM-DD HH:mm:ss",
2330
- modelValue: r[v.prop],
2331
- "onUpdate:modelValue": (Q) => r[v.prop] = Q,
2336
+ modelValue: r[_.prop],
2337
+ "onUpdate:modelValue": (N) => r[_.prop] = N,
2332
2338
  disabled: h.mode === "view"
2333
- }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])) : j("", !0),
2334
- M(v, "select") && h.mode !== "view" ? (p(), P(O, {
2339
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])) : q("", !0),
2340
+ U(_, "select") && h.mode !== "view" ? (p(), P(O, {
2335
2341
  key: 6,
2336
- filterable: ($ = (_ = v.formItemAttributes) == null ? void 0 : _.selectAttributes) == null ? void 0 : $.allowCreate,
2337
- "allow-create": (W = (w = v.formItemAttributes) == null ? void 0 : w.selectAttributes) == null ? void 0 : W.allowCreate,
2338
- "default-first-option": (oe = (q = v.formItemAttributes) == null ? void 0 : q.selectAttributes) == null ? void 0 : oe.allowCreate,
2339
- modelValue: r[v.prop],
2340
- "onUpdate:modelValue": (Q) => r[v.prop] = Q,
2341
- disabled: ie(v),
2342
- onChange: (Q) => te(v)
2342
+ multiple: ($ = (b = _.formItemAttributes) == null ? void 0 : b.selectAttributes) == null ? void 0 : $.multiple,
2343
+ "collapse-tags": (J = (w = _.formItemAttributes) == null ? void 0 : w.selectAttributes) == null ? void 0 : J.multiple,
2344
+ filterable: (te = (H = _.formItemAttributes) == null ? void 0 : H.selectAttributes) == null ? void 0 : te.allowCreate,
2345
+ "allow-create": (ne = (oe = _.formItemAttributes) == null ? void 0 : oe.selectAttributes) == null ? void 0 : ne.allowCreate,
2346
+ "default-first-option": (Q = (X = _.formItemAttributes) == null ? void 0 : X.selectAttributes) == null ? void 0 : Q.allowCreate,
2347
+ modelValue: r[_.prop],
2348
+ "onUpdate:modelValue": (N) => r[_.prop] = N,
2349
+ disabled: le(_),
2350
+ onChange: (N) => ee(_)
2343
2351
  }, {
2344
2352
  default: d(() => {
2345
- var Q, Ie;
2353
+ var N, we;
2346
2354
  return [
2347
- (p(!0), V(le, null, fe((Ie = (Q = v.formItemAttributes) == null ? void 0 : Q.selectAttributes) == null ? void 0 : Ie.options, (Xe) => (p(), P(k, {
2348
- value: Xe.value,
2349
- label: Xe.label
2355
+ (p(!0), V(ae, null, pe((we = (N = _.formItemAttributes) == null ? void 0 : N.selectAttributes) == null ? void 0 : we.options, (ke) => (p(), P(k, {
2356
+ value: ke.value,
2357
+ label: ke.label
2350
2358
  }, null, 8, ["value", "label"]))), 256))
2351
2359
  ];
2352
2360
  }),
2353
2361
  _: 2
2354
- }, 1032, ["filterable", "allow-create", "default-first-option", "modelValue", "onUpdate:modelValue", "disabled", "onChange"])) : j("", !0),
2355
- M(v, "input-number") && h.mode !== "view" ? (p(), P(z, {
2362
+ }, 1032, ["multiple", "collapse-tags", "filterable", "allow-create", "default-first-option", "modelValue", "onUpdate:modelValue", "disabled", "onChange"])) : q("", !0),
2363
+ U(_, "input-number") && h.mode !== "view" ? (p(), P(L, {
2356
2364
  key: 7,
2357
2365
  style: { width: "100%" },
2358
- modelValue: r[v.prop],
2359
- "onUpdate:modelValue": (Q) => r[v.prop] = Q,
2360
- min: (X = (se = (ne = v.formItemAttributes) == null ? void 0 : ne.inputNumber) == null ? void 0 : se.min) != null ? X : Number.NEGATIVE_INFINITY,
2361
- max: (ce = (re = (K = v.formItemAttributes) == null ? void 0 : K.inputNumber) == null ? void 0 : re.max) != null ? ce : Number.POSITIVE_INFINITY,
2362
- step: (ye = (he = (me = v.formItemAttributes) == null ? void 0 : me.inputNumber) == null ? void 0 : he.step) != null ? ye : 1,
2366
+ modelValue: r[_.prop],
2367
+ "onUpdate:modelValue": (N) => r[_.prop] = N,
2368
+ min: (fe = (ce = (se = _.formItemAttributes) == null ? void 0 : se.inputNumber) == null ? void 0 : ce.min) != null ? fe : Number.NEGATIVE_INFINITY,
2369
+ max: (he = (ye = (me = _.formItemAttributes) == null ? void 0 : me.inputNumber) == null ? void 0 : ye.max) != null ? he : Number.POSITIVE_INFINITY,
2370
+ step: (ie = (Xe = (Ve = _.formItemAttributes) == null ? void 0 : Ve.inputNumber) == null ? void 0 : Xe.step) != null ? ie : 1,
2363
2371
  "value-on-clear": -10
2364
- }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "step"])) : j("", !0)
2372
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "step"])) : q("", !0)
2365
2373
  ];
2366
2374
  }),
2367
2375
  _: 2
@@ -2369,14 +2377,14 @@ const js = /* @__PURE__ */ be(Ls, [["render", Gs]]), zs = { class: "card-wrapper
2369
2377
  ]),
2370
2378
  _: 1
2371
2379
  }, 8, ["model", "rules", "inline"])), [
2372
- [U, l.value]
2380
+ [F, l.value]
2373
2381
  ]);
2374
2382
  };
2375
2383
  }
2376
- }), go = /* @__PURE__ */ be(Ks, [["__scopeId", "data-v-e6411d33"]]), Qs = { class: "console-dialog__body" }, Xs = {
2384
+ }), go = /* @__PURE__ */ ve(Ks, [["__scopeId", "data-v-8fb7ed43"]]), Qs = { class: "console-dialog__body" }, Xs = {
2377
2385
  key: 0,
2378
2386
  class: "process-view"
2379
- }, Zs = { class: "operation-button-wrapper" }, _o = /* @__PURE__ */ Se({
2387
+ }, Zs = { class: "operation-button-wrapper" }, _o = /* @__PURE__ */ Ce({
2380
2388
  __name: "FormDialog",
2381
2389
  props: {
2382
2390
  id: {},
@@ -2389,7 +2397,7 @@ const js = /* @__PURE__ */ be(Ls, [["render", Gs]]), zs = { class: "card-wrapper
2389
2397
  emits: ["update:visible", "update:id"],
2390
2398
  setup(e, { expose: t, emit: o }) {
2391
2399
  const { t: n } = Qe(), s = e, r = A(0), l = o, a = A();
2392
- Ee(() => s.visible, () => {
2400
+ Pe(() => s.visible, () => {
2393
2401
  s.visible && r.value++;
2394
2402
  });
2395
2403
  function i() {
@@ -2404,9 +2412,9 @@ const js = /* @__PURE__ */ be(Ls, [["render", Gs]]), zs = { class: "card-wrapper
2404
2412
  return t({
2405
2413
  close: f,
2406
2414
  refresh: i
2407
- }), (C, N) => {
2408
- const T = E("el-step"), H = E("el-steps"), L = E("el-button"), ee = E("el-dialog");
2409
- return p(), P(ee, {
2415
+ }), (C, M) => {
2416
+ const R = E("el-step"), B = E("el-steps"), j = E("el-button"), Z = E("el-dialog");
2417
+ return p(), P(Z, {
2410
2418
  class: "console-dialog",
2411
2419
  title: "Edit",
2412
2420
  "align-center": "",
@@ -2415,35 +2423,35 @@ const js = /* @__PURE__ */ be(Ls, [["render", Gs]]), zs = { class: "card-wrapper
2415
2423
  onClose: f
2416
2424
  }, {
2417
2425
  footer: d(() => {
2418
- var B;
2426
+ var Y;
2419
2427
  return [
2420
2428
  S("div", {
2421
2429
  class: "dialog-footer",
2422
2430
  style: je({ width: s.showProcess ? "calc(100% - 350px)" : "auto" })
2423
2431
  }, [
2424
2432
  S("div", Zs, [
2425
- (p(!0), V(le, null, fe((B = s.model.formConfig) == null ? void 0 : B.dialogButtons, (ie) => (p(), P(L, {
2426
- onClick: (G) => ie.function(a.value.formData)
2433
+ (p(!0), V(ae, null, pe((Y = s.model.formConfig) == null ? void 0 : Y.dialogButtons, (le) => (p(), P(j, {
2434
+ onClick: (z) => le.function(a.value.formData)
2427
2435
  }, {
2428
2436
  default: d(() => [
2429
- J(R(x(n)(ie.label)), 1)
2437
+ K(G(x(n)(le.label)), 1)
2430
2438
  ]),
2431
2439
  _: 2
2432
2440
  }, 1032, ["onClick"]))), 256))
2433
2441
  ]),
2434
2442
  S("div", null, [
2435
- m(L, { onClick: f }, {
2443
+ m(j, { onClick: f }, {
2436
2444
  default: d(() => [
2437
- J(R(x(n)("common.basic.cancel")), 1)
2445
+ K(G(x(n)("common.basic.cancel")), 1)
2438
2446
  ]),
2439
2447
  _: 1
2440
2448
  }),
2441
- m(L, {
2449
+ m(j, {
2442
2450
  type: "primary",
2443
2451
  onClick: y
2444
2452
  }, {
2445
2453
  default: d(() => [
2446
- J(R(x(n)("common.basic.save")), 1)
2454
+ K(G(x(n)("common.basic.save")), 1)
2447
2455
  ]),
2448
2456
  _: 1
2449
2457
  })
@@ -2467,19 +2475,19 @@ const js = /* @__PURE__ */ be(Ls, [["render", Gs]]), zs = { class: "card-wrapper
2467
2475
  disableInline: s.showProcess
2468
2476
  }, null, 8, ["style", "id", "sessionId", "mode", "model", "afterSubmitFunc", "disableInline"]),
2469
2477
  C.showProcess ? (p(), V("div", Xs, [
2470
- N[0] || (N[0] = S("h1", null, "流程动态", -1)),
2471
- m(H, {
2478
+ M[0] || (M[0] = S("h1", null, "流程动态", -1)),
2479
+ m(B, {
2472
2480
  style: { height: "90%" },
2473
2481
  direction: "vertical",
2474
2482
  active: 1
2475
2483
  }, {
2476
2484
  default: d(() => [
2477
- m(T, { title: "Step 1" }),
2478
- m(T, { title: "Step 2" })
2485
+ m(R, { title: "Step 1" }),
2486
+ m(R, { title: "Step 2" })
2479
2487
  ]),
2480
2488
  _: 1
2481
2489
  })
2482
- ])) : j("", !0)
2490
+ ])) : q("", !0)
2483
2491
  ])
2484
2492
  ]),
2485
2493
  _: 1
@@ -2501,7 +2509,7 @@ function tr(e, t) {
2501
2509
  }, null, -1)
2502
2510
  ]));
2503
2511
  }
2504
- const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-buttons" }, rr = { class: "tool-buttons" }, ar = { key: 2 }, lr = /* @__PURE__ */ Se({
2512
+ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-buttons" }, rr = { class: "tool-buttons" }, ar = { key: 2 }, lr = /* @__PURE__ */ Ce({
2505
2513
  __name: "TableView",
2506
2514
  props: {
2507
2515
  model: {}
@@ -2509,37 +2517,37 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
2509
2517
  setup(e, { expose: t }) {
2510
2518
  const { t: o } = at.global, n = e, s = de([]), r = de({
2511
2519
  showPane: !0
2512
- }), l = A(""), a = A(!0), i = A(!1), f = ct(), y = A(""), C = de([]), N = de([]), T = A(), H = A([]), L = A("create"), ee = A(!0), B = A(!1), ie = A(""), G = de({
2520
+ }), l = A(""), a = A(!0), i = A(!1), f = ct(), y = A(""), C = de([]), M = de([]), R = A(), B = A([]), j = A("create"), Z = A(!0), Y = A(!1), le = A(""), z = de({
2513
2521
  pageSize: 10,
2514
2522
  pageNo: 1,
2515
2523
  totalElements: 0
2516
- }), M = Te(() => s.filter(
2517
- (_) => {
2524
+ }), U = Te(() => s.filter(
2525
+ (b) => {
2518
2526
  var $, w;
2519
- return (($ = _.formItemAttributes) == null ? void 0 : $.type) !== "password" && _.visible !== !1 && ((w = _.tableColumnAttributes) == null ? void 0 : w.visible) !== !1;
2527
+ return (($ = b.formItemAttributes) == null ? void 0 : $.type) !== "password" && b.visible !== !1 && ((w = b.tableColumnAttributes) == null ? void 0 : w.visible) !== !1;
2520
2528
  }
2521
2529
  ));
2522
- function te(_, $) {
2523
- var oe, ne, se, X;
2524
- let w = $.row[_.prop];
2525
- const W = (ne = (oe = _.tableColumnAttributes) == null ? void 0 : oe.functions) == null ? void 0 : ne.transformValue, q = (se = _.tableColumnAttributes) == null ? void 0 : se.transformValueMappings;
2526
- if (W)
2527
- w = W(w);
2528
- else if (q && q.length > 0) {
2529
- for (let K of q)
2530
- if (w === K.value) {
2531
- w = o(K.label);
2530
+ function ee(b, $) {
2531
+ var te, oe, ne, X;
2532
+ let w = $.row[b.prop];
2533
+ const J = (oe = (te = b.tableColumnAttributes) == null ? void 0 : te.functions) == null ? void 0 : oe.transformValue, H = (ne = b.tableColumnAttributes) == null ? void 0 : ne.transformValueMappings;
2534
+ if (J)
2535
+ w = J(w);
2536
+ else if (H && H.length > 0) {
2537
+ for (let Q of H)
2538
+ if (w === Q.value) {
2539
+ w = o(Q.label);
2532
2540
  break;
2533
2541
  }
2534
- } else if (((X = _.formItemAttributes) == null ? void 0 : X.type) === "select") {
2535
- const K = _.formItemAttributes.selectAttributes;
2536
- if (K) {
2537
- if (K.viewModeLabelField)
2538
- w = $.row[K.viewModeLabelField];
2539
- else if (K.options && K.options.length > 0) {
2540
- for (let re of K.options)
2541
- if (re.value === $.row[_.prop]) {
2542
- w = re.label;
2542
+ } else if (((X = b.formItemAttributes) == null ? void 0 : X.type) === "select") {
2543
+ const Q = b.formItemAttributes.selectAttributes;
2544
+ if (Q) {
2545
+ if (Q.viewModeLabelField)
2546
+ w = $.row[Q.viewModeLabelField];
2547
+ else if (Q.options && Q.options.length > 0) {
2548
+ for (let se of Q.options)
2549
+ if (se.value === $.row[b.prop]) {
2550
+ w = se.label;
2543
2551
  break;
2544
2552
  }
2545
2553
  }
@@ -2547,31 +2555,31 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
2547
2555
  }
2548
2556
  return w;
2549
2557
  }
2550
- function h(_, $) {
2551
- var w, W;
2552
- return _.label ? o(_.label) : (W = (w = _.functions) == null ? void 0 : w.transformLabel) == null ? void 0 : W.call(w, $.$index, $.row);
2558
+ function h(b, $) {
2559
+ var w, J;
2560
+ return b.label ? o(b.label) : (J = (w = b.functions) == null ? void 0 : w.transformLabel) == null ? void 0 : J.call(w, $.$index, $.row);
2553
2561
  }
2554
- function g(_) {
2555
- ze(n.model), Object.assign(n.model, _);
2562
+ function g(b) {
2563
+ ze(n.model), Object.assign(n.model, b);
2556
2564
  }
2557
- function b() {
2558
- var $, w, W;
2559
- if (ee.value = !0, !n.model || !n.model.api)
2565
+ function v() {
2566
+ var $, w, J;
2567
+ if (Z.value = !0, !n.model || !n.model.api)
2560
2568
  return;
2561
- ze(r), r.showPane = !0, Object.assign(r, ($ = n.model.tableConfig) != null ? $ : {}), s.splice(0, s.length, ...n.model.fields), l.value = (w = n.model.route) != null ? w : "", a.value = (W = n.model.useI18n) != null ? W : !0;
2562
- let _ = Ze({}, r.queryParams);
2563
- _.pageSize = G.pageSize, _.pageNo = G.pageNo, _.search = y.value, Ce(n.model.api, "GET", _).then(({ data: q }) => {
2564
- const { list: oe, totalCount: ne } = q.data;
2565
- C.splice(0, C.length, ...oe), G.totalElements = ne, ee.value = !1;
2569
+ ze(r), r.showPane = !0, Object.assign(r, ($ = n.model.tableConfig) != null ? $ : {}), s.splice(0, s.length, ...n.model.fields), l.value = (w = n.model.route) != null ? w : "", a.value = (J = n.model.useI18n) != null ? J : !0;
2570
+ let b = Ze({}, r.queryParams);
2571
+ b.pageSize = z.pageSize, b.pageNo = z.pageNo, b.search = y.value, $e(n.model.api, "GET", b).then(({ data: H }) => {
2572
+ const { list: te, totalCount: oe } = H.data;
2573
+ C.splice(0, C.length, ...te), z.totalElements = oe, Z.value = !1;
2566
2574
  });
2567
2575
  }
2568
2576
  function I() {
2569
- var _, $;
2570
- r.createPageRoutePath !== void 0 ? f.push(r.createPageRoutePath) : ((_ = r.functions) == null ? void 0 : _.create) !== void 0 ? ($ = r.functions) == null || $.create() : (L.value = "create", ie.value = "", i.value = !0);
2577
+ var b, $;
2578
+ r.createPageRoutePath !== void 0 ? f.push(r.createPageRoutePath) : ((b = r.functions) == null ? void 0 : b.create) !== void 0 ? ($ = r.functions) == null || $.create() : (j.value = "create", le.value = "", i.value = !0);
2571
2579
  }
2572
- function u(_, $) {
2573
- n.model.api && Ce(n.model.api, "DELETE", $.id).then(({ data: w }) => {
2574
- w.code === 0 && (i.value = !1, b());
2580
+ function u(b, $) {
2581
+ n.model.api && $e(n.model.api, "DELETE", $.id).then(({ data: w }) => {
2582
+ w.code === 0 && (i.value = !1, v());
2575
2583
  });
2576
2584
  }
2577
2585
  function c() {
@@ -2584,75 +2592,75 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
2584
2592
  type: "warning"
2585
2593
  }
2586
2594
  ).then(() => {
2587
- var _, $;
2588
- if (((_ = r.functions) == null ? void 0 : _.batchDelete) !== void 0)
2589
- ($ = r.functions) == null || $.batchDelete(H.value);
2595
+ var b, $;
2596
+ if (((b = r.functions) == null ? void 0 : b.batchDelete) !== void 0)
2597
+ ($ = r.functions) == null || $.batchDelete(B.value);
2590
2598
  else {
2591
- const w = H.value.map((W) => W.id);
2592
- ve.delete(`${n.model.api}/${w.join(",")}`).then(({ data: W }) => {
2593
- W.code === 0 && (i.value = !1, b());
2599
+ const w = B.value.map((J) => J.id);
2600
+ be.delete(`${n.model.api}/${w.join(",")}`).then(({ data: J }) => {
2601
+ J.code === 0 && (i.value = !1, v());
2594
2602
  });
2595
2603
  }
2596
- T.value.clearSelection();
2604
+ R.value.clearSelection();
2597
2605
  }).catch(() => {
2598
- T.value.clearSelection();
2606
+ R.value.clearSelection();
2599
2607
  });
2600
2608
  }
2601
- function k(_) {
2602
- G.pageSize = _, b();
2609
+ function k(b) {
2610
+ z.pageSize = b, v();
2603
2611
  }
2604
- function O(_) {
2605
- G.pageNo = _, b();
2612
+ function O(b) {
2613
+ z.pageNo = b, v();
2606
2614
  }
2607
- function z(_, $) {
2615
+ function L(b, $) {
2608
2616
  r.editPageRoutePath !== void 0 ? f.push({
2609
2617
  path: r.editPageRoutePath,
2610
2618
  query: {
2611
2619
  id: $.id
2612
2620
  }
2613
- }) : (ie.value = $.id, L.value = "update", i.value = !0);
2621
+ }) : (le.value = $.id, j.value = "update", i.value = !0);
2614
2622
  }
2615
- function D() {
2623
+ function T() {
2616
2624
  var w;
2617
- let _ = ((w = n.model.api) != null && w.startsWith("http") ? "" : window.location.origin) + n.model.api + "/export";
2625
+ let b = ((w = n.model.api) != null && w.startsWith("http") ? "" : window.location.origin) + n.model.api + "/export";
2618
2626
  const $ = r.queryParams;
2619
- $ !== void 0 && Object.keys($).length > 0 && (_ += "?", Object.entries(r.queryParams).map((W) => {
2620
- _ += `${W[0]}=${W[1]}&`;
2621
- })), window.open(_);
2627
+ $ !== void 0 && Object.keys($).length > 0 && (b += "?", Object.entries(r.queryParams).map((J) => {
2628
+ b += `${J[0]}=${J[1]}&`;
2629
+ })), window.open(b);
2622
2630
  }
2623
- function F(_) {
2624
- H.value = _;
2631
+ function D(b) {
2632
+ B.value = b;
2625
2633
  }
2626
- function U(_) {
2627
- return _.label ? a.value ? o(_.label) : _.label : _.prop.slice(0, 1).toUpperCase() + _.prop.slice(1).toLowerCase();
2634
+ function F(b) {
2635
+ return b.label ? a.value ? o(b.label) : b.label : b.prop.slice(0, 1).toUpperCase() + b.prop.slice(1).toLowerCase();
2628
2636
  }
2629
- function v(_) {
2630
- _ ? (B.value = !0, N.splice(0, N.length, ...C), C.splice(0, C.length, ...H.value)) : (B.value = !1, C.splice(0, C.length, ...N));
2637
+ function _(b) {
2638
+ b ? (Y.value = !0, M.splice(0, M.length, ...C), C.splice(0, C.length, ...B.value)) : (Y.value = !1, C.splice(0, C.length, ...M));
2631
2639
  }
2632
- function Y() {
2633
- var oe;
2634
- if (H.value.length === 0) {
2640
+ function W() {
2641
+ var te;
2642
+ if (B.value.length === 0) {
2635
2643
  Et.alert("Select rows before printing", "Print", {
2636
2644
  confirmButtonText: "OK"
2637
2645
  });
2638
2646
  return;
2639
2647
  }
2640
- let _ = "";
2641
- M.value.forEach((ne) => {
2642
- var se;
2643
- _ += `<th>${o((se = ne.label) != null ? se : "")}</th>`;
2648
+ let b = "";
2649
+ U.value.forEach((oe) => {
2650
+ var ne;
2651
+ b += `<th>${o((ne = oe.label) != null ? ne : "")}</th>`;
2644
2652
  });
2645
2653
  let $ = "";
2646
- H.value.forEach((ne) => {
2647
- $ += "<tr>", M.value.forEach((se) => {
2648
- $ += `<td>${ne[se.prop]}</td>`;
2654
+ B.value.forEach((oe) => {
2655
+ $ += "<tr>", U.value.forEach((ne) => {
2656
+ $ += `<td>${oe[ne.prop]}</td>`;
2649
2657
  }), $ += "</tr>";
2650
2658
  });
2651
- let w = `<table><tr>${_}</tr>${$}</table>`;
2652
- const W = document.createElement("iframe");
2653
- W.style.display = "none", document.body.appendChild(W);
2654
- const q = W.contentDocument || ((oe = W.contentWindow) == null ? void 0 : oe.document);
2655
- q == null || q.open(), q == null || q.write(`
2659
+ let w = `<table><tr>${b}</tr>${$}</table>`;
2660
+ const J = document.createElement("iframe");
2661
+ J.style.display = "none", document.body.appendChild(J);
2662
+ const H = J.contentDocument || ((te = J.contentWindow) == null ? void 0 : te.document);
2663
+ H == null || H.open(), H == null || H.write(`
2656
2664
  <!DOCTYPE html>
2657
2665
  <html>
2658
2666
  <head>
@@ -2701,27 +2709,27 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
2701
2709
  <\/script>
2702
2710
  </body>
2703
2711
  </html>
2704
- `), q == null || q.close();
2712
+ `), H == null || H.close();
2705
2713
  }
2706
- return Ee(() => n.model, () => {
2707
- b();
2714
+ return Pe(() => n.model, () => {
2715
+ v();
2708
2716
  }, {
2709
2717
  deep: !0,
2710
2718
  immediate: !0
2711
2719
  }), t({
2712
- multipleSelection: H,
2713
- refresh: b,
2720
+ multipleSelection: B,
2721
+ refresh: v,
2714
2722
  updateConfigAndRefresh: g
2715
- }), (_, $) => {
2716
- const w = E("el-checkbox"), W = E("el-badge"), q = E("el-button"), oe = E("el-dropdown-item"), ne = E("el-dropdown-menu"), se = E("el-dropdown"), X = E("el-icon"), K = E("el-tooltip"), re = E("el-input"), ce = E("el-table-column"), me = E("router-link"), he = E("el-tag"), ye = E("el-popconfirm"), Q = E("el-table"), Ie = E("el-pagination"), Xe = Gt("loading");
2723
+ }), (b, $) => {
2724
+ const w = E("el-checkbox"), J = E("el-badge"), H = E("el-button"), te = E("el-dropdown-item"), oe = E("el-dropdown-menu"), ne = E("el-dropdown"), X = E("el-icon"), Q = E("el-tooltip"), se = E("el-input"), ce = E("el-table-column"), fe = E("router-link"), me = E("el-tag"), ye = E("el-popconfirm"), he = E("el-table"), Ve = E("el-pagination"), Xe = Gt("loading");
2717
2725
  return p(), V("div", {
2718
2726
  class: Lt({ "table-view-wrapper": r.showPane })
2719
2727
  }, [
2720
2728
  S("div", nr, [
2721
2729
  S("div", sr, [
2722
- r.selectMode ? (p(), P(W, {
2730
+ r.selectMode ? (p(), P(J, {
2723
2731
  key: 0,
2724
- value: H.value.length,
2732
+ value: B.value.length,
2725
2733
  type: "primary",
2726
2734
  class: "selected-badge"
2727
2735
  }, {
@@ -2730,86 +2738,86 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
2730
2738
  class: "selected-checkbox",
2731
2739
  border: !0,
2732
2740
  label: x(o)("common.table.viewSelected"),
2733
- onChange: v
2741
+ onChange: _
2734
2742
  }, null, 8, ["label"])
2735
2743
  ]),
2736
2744
  _: 1
2737
- }, 8, ["value"])) : j("", !0),
2738
- !r.selectMode && !r.readOnly && r.creatable !== !1 ? (p(), P(q, {
2745
+ }, 8, ["value"])) : q("", !0),
2746
+ !r.selectMode && !r.readOnly && r.creatable !== !1 ? (p(), P(H, {
2739
2747
  key: 1,
2740
2748
  type: "primary",
2741
2749
  onClick: I
2742
2750
  }, {
2743
2751
  default: d(() => {
2744
- var pe, Z;
2752
+ var ie, N;
2745
2753
  return [
2746
- J(R(((pe = r.labels) == null ? void 0 : pe.create) != null ? x(o)((Z = r.labels) == null ? void 0 : Z.create) : x(o)("common.table.create")), 1)
2754
+ K(G(((ie = r.labels) == null ? void 0 : ie.create) != null ? x(o)((N = r.labels) == null ? void 0 : N.create) : x(o)("common.table.create")), 1)
2747
2755
  ];
2748
2756
  }),
2749
2757
  _: 1
2750
- })) : j("", !0),
2751
- !r.selectMode && !r.readOnly && r.deletable !== !1 ? (p(), P(q, {
2758
+ })) : q("", !0),
2759
+ !r.selectMode && !r.readOnly && r.deletable !== !1 ? (p(), P(H, {
2752
2760
  key: 2,
2753
- disabled: H.value.length == 0,
2761
+ disabled: B.value.length == 0,
2754
2762
  type: "danger",
2755
2763
  plain: "",
2756
2764
  onClick: c
2757
2765
  }, {
2758
2766
  default: d(() => {
2759
- var pe, Z;
2767
+ var ie, N;
2760
2768
  return [
2761
- J(R(((pe = r.labels) == null ? void 0 : pe.delete) != null ? x(o)((Z = r.labels) == null ? void 0 : Z.delete) : x(o)("common.table.delete")), 1)
2769
+ K(G(((ie = r.labels) == null ? void 0 : ie.delete) != null ? x(o)((N = r.labels) == null ? void 0 : N.delete) : x(o)("common.table.delete")), 1)
2762
2770
  ];
2763
2771
  }),
2764
2772
  _: 1
2765
- }, 8, ["disabled"])) : j("", !0),
2766
- m(q, {
2773
+ }, 8, ["disabled"])) : q("", !0),
2774
+ m(H, {
2767
2775
  icon: x(Ht),
2768
2776
  style: { width: "28px" },
2769
- onClick: b
2777
+ onClick: v
2770
2778
  }, null, 8, ["icon"]),
2771
- m(se, {
2779
+ m(ne, {
2772
2780
  placement: "bottom-start",
2773
2781
  trigger: "click"
2774
2782
  }, {
2775
2783
  dropdown: d(() => [
2776
- m(ne, null, {
2784
+ m(oe, null, {
2777
2785
  default: d(() => [
2778
- m(oe, {
2786
+ m(te, {
2779
2787
  icon: x(Ao),
2780
2788
  disabled: !0
2781
2789
  }, {
2782
2790
  default: d(() => $[3] || ($[3] = [
2783
- J("导入")
2791
+ K("导入")
2784
2792
  ])),
2785
2793
  _: 1
2786
2794
  }, 8, ["icon"]),
2787
- m(oe, {
2795
+ m(te, {
2788
2796
  icon: x(Ot),
2789
2797
  divided: "",
2790
2798
  disabled: !0
2791
2799
  }, {
2792
2800
  default: d(() => $[4] || ($[4] = [
2793
- J("导出选中内容")
2801
+ K("导出选中内容")
2794
2802
  ])),
2795
2803
  _: 1
2796
2804
  }, 8, ["icon"]),
2797
- m(oe, {
2805
+ m(te, {
2798
2806
  icon: x(Ot),
2799
- onClick: D
2807
+ onClick: T
2800
2808
  }, {
2801
2809
  default: d(() => $[5] || ($[5] = [
2802
- J("导出查询结果")
2810
+ K("导出查询结果")
2803
2811
  ])),
2804
2812
  _: 1
2805
2813
  }, 8, ["icon"]),
2806
- m(oe, {
2814
+ m(te, {
2807
2815
  icon: x(No),
2808
2816
  divided: "",
2809
2817
  disabled: !0
2810
2818
  }, {
2811
2819
  default: d(() => $[6] || ($[6] = [
2812
- J("任务中心")
2820
+ K("任务中心")
2813
2821
  ])),
2814
2822
  _: 1
2815
2823
  }, 8, ["icon"])
@@ -2818,7 +2826,7 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
2818
2826
  })
2819
2827
  ]),
2820
2828
  default: d(() => [
2821
- m(q, { style: { width: "28px" } }, {
2829
+ m(H, { style: { width: "28px" } }, {
2822
2830
  icon: d(() => [
2823
2831
  m(x(or))
2824
2832
  ]),
@@ -2827,28 +2835,28 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
2827
2835
  ]),
2828
2836
  _: 1
2829
2837
  }),
2830
- m(se, {
2838
+ m(ne, {
2831
2839
  placement: "bottom-start",
2832
2840
  trigger: "click"
2833
2841
  }, {
2834
2842
  dropdown: d(() => [
2835
- m(ne, null, {
2843
+ m(oe, null, {
2836
2844
  default: d(() => [
2837
- m(oe, {
2845
+ m(te, {
2838
2846
  icon: x(Mo),
2839
- onClick: Y
2847
+ onClick: W
2840
2848
  }, {
2841
2849
  default: d(() => $[7] || ($[7] = [
2842
- J("打印")
2850
+ K("打印")
2843
2851
  ])),
2844
2852
  _: 1
2845
2853
  }, 8, ["icon"]),
2846
- m(oe, {
2854
+ m(te, {
2847
2855
  icon: x(Uo),
2848
2856
  disabled: !0
2849
2857
  }, {
2850
2858
  default: d(() => $[8] || ($[8] = [
2851
- J("表格设置")
2859
+ K("表格设置")
2852
2860
  ])),
2853
2861
  _: 1
2854
2862
  }, 8, ["icon"])
@@ -2857,14 +2865,14 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
2857
2865
  })
2858
2866
  ]),
2859
2867
  default: d(() => [
2860
- m(q, {
2868
+ m(H, {
2861
2869
  icon: x(To),
2862
2870
  style: { width: "28px" }
2863
2871
  }, null, 8, ["icon"])
2864
2872
  ]),
2865
2873
  _: 1
2866
2874
  }),
2867
- r.tooltip ? (p(), P(K, {
2875
+ r.tooltip ? (p(), P(Q, {
2868
2876
  key: 3,
2869
2877
  effect: "dark",
2870
2878
  content: x(o)(r.tooltip),
@@ -2879,194 +2887,194 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
2879
2887
  })
2880
2888
  ]),
2881
2889
  _: 1
2882
- }, 8, ["content"])) : j("", !0)
2890
+ }, 8, ["content"])) : q("", !0)
2883
2891
  ]),
2884
2892
  S("div", rr, [
2885
- m(re, {
2893
+ m(se, {
2886
2894
  placeholder: `${x(o)("common.table.search")}...`,
2887
2895
  modelValue: y.value,
2888
- "onUpdate:modelValue": $[0] || ($[0] = (pe) => y.value = pe)
2896
+ "onUpdate:modelValue": $[0] || ($[0] = (ie) => y.value = ie)
2889
2897
  }, {
2890
2898
  append: d(() => [
2891
- m(q, {
2899
+ m(H, {
2892
2900
  style: { "margin-left": "-20px" },
2893
2901
  icon: x(zt),
2894
- onClick: b
2902
+ onClick: v
2895
2903
  }, null, 8, ["icon"])
2896
2904
  ]),
2897
2905
  _: 1
2898
2906
  }, 8, ["placeholder", "modelValue"]),
2899
- m(q, { type: "text" }, {
2907
+ m(H, { type: "text" }, {
2900
2908
  default: d(() => $[9] || ($[9] = [
2901
- J("高级搜索")
2909
+ K("高级搜索")
2902
2910
  ])),
2903
2911
  _: 1
2904
2912
  })
2905
2913
  ])
2906
2914
  ]),
2907
- jt((p(), P(Q, {
2915
+ jt((p(), P(he, {
2908
2916
  border: !0,
2909
2917
  ref_key: "tableRef",
2910
- ref: T,
2918
+ ref: R,
2911
2919
  data: C,
2912
- onSelectionChange: F,
2920
+ onSelectionChange: D,
2913
2921
  class: "table"
2914
2922
  }, {
2915
2923
  default: d(() => {
2916
- var pe;
2924
+ var ie;
2917
2925
  return [
2918
- r.readOnly ? j("", !0) : (p(), P(ce, {
2926
+ r.readOnly ? q("", !0) : (p(), P(ce, {
2919
2927
  key: 0,
2920
2928
  type: "selection",
2921
2929
  width: "50"
2922
2930
  })),
2923
- (p(!0), V(le, null, fe(M.value, (Z) => {
2924
- var Oe;
2931
+ (p(!0), V(ae, null, pe(U.value, (N) => {
2932
+ var we;
2925
2933
  return p(), P(ce, {
2926
- prop: Z.prop,
2927
- label: U(Z),
2928
- width: (Oe = Z.tableColumnAttributes) == null ? void 0 : Oe.width,
2934
+ prop: N.prop,
2935
+ label: F(N),
2936
+ width: (we = N.tableColumnAttributes) == null ? void 0 : we.width,
2929
2937
  "show-overflow-tooltip": ""
2930
2938
  }, {
2931
- default: d((Ve) => {
2939
+ default: d((ke) => {
2932
2940
  var Ae, qe, St;
2933
2941
  return [
2934
- (Ae = Z.tableColumnAttributes) != null && Ae.link ? (p(), P(me, {
2942
+ (Ae = N.tableColumnAttributes) != null && Ae.link ? (p(), P(fe, {
2935
2943
  key: 0,
2936
2944
  class: "router-link",
2937
- to: `/${l.value}/detail?id=${Ve.row.id}`
2945
+ to: `/${l.value}/detail?id=${ke.row.id}`
2938
2946
  }, {
2939
2947
  default: d(() => [
2940
- S("span", null, R(te(Z, Ve)), 1)
2948
+ S("span", null, G(ee(N, ke)), 1)
2941
2949
  ]),
2942
2950
  _: 2
2943
- }, 1032, ["to"])) : (qe = Z.tableColumnAttributes) != null && qe.routerLink ? (p(), P(me, {
2951
+ }, 1032, ["to"])) : (qe = N.tableColumnAttributes) != null && qe.routerLink ? (p(), P(fe, {
2944
2952
  key: 1,
2945
2953
  class: "router-link",
2946
- to: Z.tableColumnAttributes.routerLink.replace("{id}", Ve.row.id)
2954
+ to: N.tableColumnAttributes.routerLink.replace("{id}", ke.row.id)
2947
2955
  }, {
2948
2956
  default: d(() => [
2949
- S("span", null, R(te(Z, Ve)), 1)
2957
+ S("span", null, G(ee(N, ke)), 1)
2950
2958
  ]),
2951
2959
  _: 2
2952
- }, 1032, ["to"])) : (p(), V("span", ar, R(te(Z, Ve)), 1)),
2953
- ((St = Z.tableColumnAttributes) == null ? void 0 : St.type) === "tag" ? (p(), P(he, { key: 3 }, {
2960
+ }, 1032, ["to"])) : (p(), V("span", ar, G(ee(N, ke)), 1)),
2961
+ ((St = N.tableColumnAttributes) == null ? void 0 : St.type) === "tag" ? (p(), P(me, { key: 3 }, {
2954
2962
  default: d(() => [
2955
- J(R(Ve.row[Z.prop]), 1)
2963
+ K(G(ke.row[N.prop]), 1)
2956
2964
  ]),
2957
2965
  _: 2
2958
- }, 1024)) : j("", !0)
2966
+ }, 1024)) : q("", !0)
2959
2967
  ];
2960
2968
  }),
2961
2969
  _: 2
2962
2970
  }, 1032, ["prop", "label", "width"]);
2963
2971
  }), 256)),
2964
- r.operations === void 0 && !((pe = r.selectMode) != null && pe) && !r.readOnly ? (p(), P(ce, {
2972
+ r.operations === void 0 && !((ie = r.selectMode) != null && ie) && !r.readOnly ? (p(), P(ce, {
2965
2973
  key: 1,
2966
2974
  label: x(o)("common.table.operation"),
2967
2975
  width: "120"
2968
2976
  }, {
2969
- default: d((Z) => [
2970
- r.updatable !== !1 ? (p(), P(q, {
2977
+ default: d((N) => [
2978
+ r.updatable !== !1 ? (p(), P(H, {
2971
2979
  key: 0,
2972
2980
  link: "",
2973
2981
  type: "primary",
2974
2982
  class: "operation-button",
2975
- onClick: (Oe) => z(Z.$index, Z.row)
2983
+ onClick: (we) => L(N.$index, N.row)
2976
2984
  }, {
2977
2985
  default: d(() => [
2978
- J(R(x(o)("common.table.edit")), 1)
2986
+ K(G(x(o)("common.table.edit")), 1)
2979
2987
  ]),
2980
2988
  _: 2
2981
- }, 1032, ["onClick"])) : j("", !0),
2989
+ }, 1032, ["onClick"])) : q("", !0),
2982
2990
  m(ye, {
2983
2991
  title: "Are you sure to delete this?",
2984
- onConfirm: (Oe) => u(Z.$index, Z.row)
2992
+ onConfirm: (we) => u(N.$index, N.row)
2985
2993
  }, {
2986
2994
  reference: d(() => [
2987
- r.deletable !== !1 ? (p(), P(q, {
2995
+ r.deletable !== !1 ? (p(), P(H, {
2988
2996
  key: 0,
2989
2997
  link: "",
2990
2998
  type: "primary",
2991
2999
  class: "operation-button"
2992
3000
  }, {
2993
3001
  default: d(() => [
2994
- J(R(x(o)("common.table.delete")), 1)
3002
+ K(G(x(o)("common.table.delete")), 1)
2995
3003
  ]),
2996
3004
  _: 1
2997
- })) : j("", !0)
3005
+ })) : q("", !0)
2998
3006
  ]),
2999
3007
  _: 2
3000
3008
  }, 1032, ["onConfirm"])
3001
3009
  ]),
3002
3010
  _: 1
3003
- }, 8, ["label"])) : j("", !0),
3011
+ }, 8, ["label"])) : q("", !0),
3004
3012
  r.operations !== void 0 && !r.readOnly ? (p(), P(ce, {
3005
3013
  key: 2,
3006
3014
  label: x(o)("common.table.operation"),
3007
3015
  width: "120"
3008
3016
  }, {
3009
- default: d((Z) => [
3010
- (p(!0), V(le, null, fe(r.operations, (Oe) => (p(), P(q, {
3017
+ default: d((N) => [
3018
+ (p(!0), V(ae, null, pe(r.operations, (we) => (p(), P(H, {
3011
3019
  class: "operation-button",
3012
3020
  link: "",
3013
3021
  type: "primary",
3014
- key: Oe.label,
3015
- onClick: (Ve) => {
3022
+ key: we.label,
3023
+ onClick: (ke) => {
3016
3024
  var Ae, qe;
3017
- return ((qe = (Ae = Oe.functions) == null ? void 0 : Ae.click) == null ? void 0 : qe.call(Ae, Z.$index, Z.row)) && b();
3025
+ return ((qe = (Ae = we.functions) == null ? void 0 : Ae.click) == null ? void 0 : qe.call(Ae, N.$index, N.row)) && v();
3018
3026
  }
3019
3027
  }, {
3020
3028
  default: d(() => [
3021
- J(R(h(Oe, Z)), 1)
3029
+ K(G(h(we, N)), 1)
3022
3030
  ]),
3023
3031
  _: 2
3024
3032
  }, 1032, ["onClick"]))), 128))
3025
3033
  ]),
3026
3034
  _: 1
3027
- }, 8, ["label"])) : j("", !0)
3035
+ }, 8, ["label"])) : q("", !0)
3028
3036
  ];
3029
3037
  }),
3030
3038
  _: 1
3031
3039
  }, 8, ["data"])), [
3032
- [Xe, ee.value]
3040
+ [Xe, Z.value]
3033
3041
  ]),
3034
- B.value ? j("", !0) : (p(), P(Ie, {
3042
+ Y.value ? q("", !0) : (p(), P(Ve, {
3035
3043
  key: 0,
3036
3044
  size: "small",
3037
3045
  background: "",
3038
3046
  onSizeChange: k,
3039
3047
  onCurrentChange: O,
3040
- currentPage: G.pageNo,
3041
- "onUpdate:currentPage": $[1] || ($[1] = (pe) => G.pageNo = pe),
3048
+ currentPage: z.pageNo,
3049
+ "onUpdate:currentPage": $[1] || ($[1] = (ie) => z.pageNo = ie),
3042
3050
  "page-sizes": [10, 20, 50, 100],
3043
- "page-size": G.pageSize,
3051
+ "page-size": z.pageSize,
3044
3052
  layout: "total, sizes, prev, pager, next",
3045
- total: G.totalElements
3053
+ total: z.totalElements
3046
3054
  }, null, 8, ["currentPage", "page-size", "total"])),
3047
3055
  m(_o, {
3048
- model: _.model,
3049
- mode: L.value,
3050
- id: ie.value,
3051
- afterSubmitFunc: b,
3056
+ model: b.model,
3057
+ mode: j.value,
3058
+ id: le.value,
3059
+ afterSubmitFunc: v,
3052
3060
  visible: i.value,
3053
- "onUpdate:visible": $[2] || ($[2] = (pe) => i.value = pe)
3061
+ "onUpdate:visible": $[2] || ($[2] = (ie) => i.value = ie)
3054
3062
  }, null, 8, ["model", "mode", "id", "visible"])
3055
3063
  ], 2);
3056
3064
  };
3057
3065
  }
3058
- }), it = /* @__PURE__ */ be(lr, [["__scopeId", "data-v-5307a4aa"]]), ir = { class: "nav-bar" }, cr = { style: { "font-size": "16px" } }, ur = {
3066
+ }), it = /* @__PURE__ */ ve(lr, [["__scopeId", "data-v-5307a4aa"]]), ir = { class: "nav-bar" }, cr = { style: { "font-size": "16px" } }, ur = {
3059
3067
  key: 0,
3060
3068
  class: "info-card-wrapper"
3061
- }, dr = { class: "icon-wrapper" }, pr = { class: "info-wrapper" }, fr = { class: "title-wrapper" }, mr = { class: "tabs-wrapper" }, hr = { class: "dialog-footer" }, gr = /* @__PURE__ */ Se({
3069
+ }, dr = { class: "icon-wrapper" }, pr = { class: "info-wrapper" }, fr = { class: "title-wrapper" }, mr = { class: "tabs-wrapper" }, hr = { class: "dialog-footer" }, gr = /* @__PURE__ */ Ce({
3062
3070
  __name: "DetailPage",
3063
3071
  setup(e) {
3064
- const { t } = Qe(), o = Ke(), n = ct(), s = Te(() => o.query.id), r = A(!1), l = A(!1), a = A("view"), i = A(), f = A(-1), y = A(), C = A(), N = A("summary"), T = A(""), H = A(""), L = A(""), ee = A(0), B = de({
3072
+ const { t } = Qe(), o = Ke(), n = ct(), s = Te(() => o.query.id), r = A(!1), l = A(!1), a = A("view"), i = A(), f = A(-1), y = A(), C = A(), M = A("summary"), R = A(""), B = A(""), j = A(""), Z = A(0), Y = de({
3065
3073
  api: "",
3066
3074
  fields: []
3067
- }), ie = de([]);
3068
- let G = [];
3069
- Ee([
3075
+ }), le = de([]);
3076
+ let z = [];
3077
+ Pe([
3070
3078
  () => n.currentRoute.value,
3071
3079
  _e
3072
3080
  ], () => {
@@ -3075,48 +3083,48 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3075
3083
  immediate: !0,
3076
3084
  deep: !0
3077
3085
  });
3078
- function M(u) {
3086
+ function U(u) {
3079
3087
  f.value = parseInt(u.index) - 1;
3080
3088
  }
3081
- function te() {
3089
+ function ee() {
3082
3090
  var O;
3083
- let u = (O = G[f.value].api) == null ? void 0 : O.replace("/select", "");
3091
+ let u = (O = z[f.value].api) == null ? void 0 : O.replace("/select", "");
3084
3092
  u = u == null ? void 0 : u.substring(u.lastIndexOf("/"));
3085
- const c = B.api + "/" + s.value + u, k = C.value.multipleSelection.map((z) => z.id);
3086
- Ce(c, "POST", k).then(() => {
3093
+ const c = Y.api + "/" + s.value + u, k = C.value.multipleSelection.map((L) => L.id);
3094
+ $e(c, "POST", k).then(() => {
3087
3095
  y.value.refresh(), l.value = !1;
3088
3096
  });
3089
3097
  }
3090
3098
  function h(u, c, k) {
3091
- var D;
3099
+ var T;
3092
3100
  k.functions || (k.functions = {}), k.functions.create = () => {
3093
3101
  l.value = !0, C.value && C.value.refresh();
3094
3102
  };
3095
3103
  let O = Ge(c);
3096
3104
  O.tableConfig || (O.tableConfig = {}), O.tableConfig.selectMode = !0, O.tableConfig.queryParams = {}, u.queryParamName && (O.tableConfig.queryParams[u.queryParamName] = s.value);
3097
- for (var z in O.fields)
3098
- O.fields[z].tableColumnAttributes && (D = O.fields[z].tableColumnAttributes) != null && D.link && (O.fields[z].tableColumnAttributes.link = !1);
3099
- G.push(O), k.labels = {
3105
+ for (var L in O.fields)
3106
+ O.fields[L].tableColumnAttributes && (T = O.fields[L].tableColumnAttributes) != null && T.link && (O.fields[L].tableColumnAttributes.link = !1);
3107
+ z.push(O), k.labels = {
3100
3108
  create: "common.table.add",
3101
3109
  delete: "common.table.remove"
3102
- }, k.functions.batchDelete = (F) => {
3103
- var _;
3104
- let U = (_ = G[f.value].api) == null ? void 0 : _.replace("/select", "");
3105
- U = U == null ? void 0 : U.substring(U.lastIndexOf("/"));
3106
- const v = B.api + "/" + s.value + U, Y = F.map(($) => $.id);
3107
- ve.delete(`${v}/${Y.join(",")}`).then(({ data: $ }) => {
3110
+ }, k.functions.batchDelete = (D) => {
3111
+ var b;
3112
+ let F = (b = z[f.value].api) == null ? void 0 : b.replace("/select", "");
3113
+ F = F == null ? void 0 : F.substring(F.lastIndexOf("/"));
3114
+ const _ = Y.api + "/" + s.value + F, W = D.map(($) => $.id);
3115
+ be.delete(`${_}/${W.join(",")}`).then(({ data: $ }) => {
3108
3116
  $.code === 0 && y.value.refresh();
3109
3117
  });
3110
3118
  }, k.operations = [
3111
3119
  {
3112
3120
  label: "common.table.remove",
3113
3121
  functions: {
3114
- click: (F, U) => {
3115
- var _;
3116
- let v = (_ = G[f.value].api) == null ? void 0 : _.replace("/select", "");
3117
- v = v == null ? void 0 : v.substring(v.lastIndexOf("/"));
3118
- const Y = B.api + "/" + s.value + v;
3119
- Ce(Y, "DELETE", U.id).then(() => {
3122
+ click: (D, F) => {
3123
+ var b;
3124
+ let _ = (b = z[f.value].api) == null ? void 0 : b.replace("/select", "");
3125
+ _ = _ == null ? void 0 : _.substring(_.lastIndexOf("/"));
3126
+ const W = Y.api + "/" + s.value + _;
3127
+ $e(W, "DELETE", F.id).then(() => {
3120
3128
  y.value.refresh();
3121
3129
  });
3122
3130
  }
@@ -3125,43 +3133,43 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3125
3133
  ], O.api += "/select";
3126
3134
  }
3127
3135
  function g() {
3128
- var O, z, D;
3129
- ie.splice(0);
3136
+ var O, L, T;
3137
+ le.splice(0);
3130
3138
  const u = o.params.model;
3131
3139
  if (_e.value[u] === void 0) {
3132
3140
  console.warn("Detail page model not exist:", u);
3133
3141
  return;
3134
3142
  } else
3135
3143
  console.debug("Detail page model found:", u, _e.value[u]);
3136
- ze(B);
3144
+ ze(Y);
3137
3145
  const c = Ge(_e.value[u]);
3138
- Object.assign(B, c), ee.value++, f.value = -1, N.value = "summary";
3139
- const k = (z = (O = B.pageConfig) == null ? void 0 : O.detailPage) == null ? void 0 : z.tabs;
3146
+ Object.assign(Y, c), Z.value++, f.value = -1, M.value = "summary";
3147
+ const k = (L = (O = Y.pageConfig) == null ? void 0 : O.detailPage) == null ? void 0 : L.tabs;
3140
3148
  if (k)
3141
- for (let F of k) {
3142
- const U = Ge(_e.value[F.modelKey]);
3143
- if (ie.push(U), F.type === "table") {
3144
- U.tableConfig || (U.tableConfig = {});
3145
- let v = U.tableConfig;
3146
- v.showPane = !1, F.modelRelationType === "associated" ? h(F, U, v) : F.modelRelationType === "child" && (G.push({
3149
+ for (let D of k) {
3150
+ const F = Ge(_e.value[D.modelKey]);
3151
+ if (le.push(F), D.type === "table") {
3152
+ F.tableConfig || (F.tableConfig = {});
3153
+ let _ = F.tableConfig;
3154
+ _.showPane = !1, D.modelRelationType === "associated" ? h(D, F, _) : D.modelRelationType === "child" && (z.push({
3147
3155
  fields: []
3148
- }), U.formConfig === void 0 && (U.formConfig = {}), U.formConfig.functions === void 0 && (U.formConfig.functions = {}), F.queryParamName && (U.formConfig.functions.beforeSubmit = (Y) => {
3149
- Y[F.queryParamName] = s.value;
3150
- })), v.queryParams || (v.queryParams = {}), F.queryParamName && (v.queryParams[F.queryParamName] = s.value), F.queryParams && Object.assign(v.queryParams, F.queryParams), v.readOnly = (D = F.readOnly) != null ? D : !1, F.includeFields && (U.fields = U.fields.filter((Y) => {
3151
- var _;
3152
- return (_ = F.includeFields) == null ? void 0 : _.includes(Y.prop);
3153
- })), F.excludeFields && (U.fields = U.fields.filter((Y) => {
3154
- var _;
3155
- return !((_ = F.excludeFields) != null && _.includes(Y.prop));
3156
- })), F.tooltip && (v.tooltip = F.tooltip);
3156
+ }), F.formConfig === void 0 && (F.formConfig = {}), F.formConfig.functions === void 0 && (F.formConfig.functions = {}), D.queryParamName && (F.formConfig.functions.beforeSubmit = (W) => {
3157
+ W[D.queryParamName] = s.value;
3158
+ })), _.queryParams || (_.queryParams = {}), D.queryParamName && (_.queryParams[D.queryParamName] = s.value), D.queryParams && Object.assign(_.queryParams, D.queryParams), _.readOnly = (T = D.readOnly) != null ? T : !1, D.includeFields && (F.fields = F.fields.filter((W) => {
3159
+ var b;
3160
+ return (b = D.includeFields) == null ? void 0 : b.includes(W.prop);
3161
+ })), D.excludeFields && (F.fields = F.fields.filter((W) => {
3162
+ var b;
3163
+ return !((b = D.excludeFields) != null && b.includes(W.prop));
3164
+ })), D.tooltip && (_.tooltip = D.tooltip);
3157
3165
  }
3158
3166
  }
3159
3167
  }
3160
- Ee(
3168
+ Pe(
3161
3169
  [
3162
3170
  () => {
3163
3171
  var u, c;
3164
- return (c = (u = B.pageConfig) == null ? void 0 : u.detailPage) == null ? void 0 : c.infoCard;
3172
+ return (c = (u = Y.pageConfig) == null ? void 0 : u.detailPage) == null ? void 0 : c.infoCard;
3165
3173
  },
3166
3174
  () => {
3167
3175
  var u;
@@ -3170,13 +3178,13 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3170
3178
  ],
3171
3179
  (u) => {
3172
3180
  Be(() => {
3173
- var k, O, z;
3174
- const c = (O = (k = B.pageConfig) == null ? void 0 : k.detailPage) == null ? void 0 : O.infoCard;
3175
- c && (T.value = c.titleFieldProp ? i.value.formData[c.titleFieldProp] : "", H.value = c.subtitleFieldProp ? i.value.formData[c.subtitleFieldProp] : "", L.value = c.tagFieldProp ? i.value.formData[c.tagFieldProp] : "", (z = B.fields) == null || z.forEach((D) => {
3176
- var F, U;
3177
- if (D.prop === c.tagFieldProp) {
3178
- const v = (U = (F = D.tableColumnAttributes) == null ? void 0 : F.functions) == null ? void 0 : U.transformValue;
3179
- v && (L.value = v(L.value));
3181
+ var k, O, L;
3182
+ const c = (O = (k = Y.pageConfig) == null ? void 0 : k.detailPage) == null ? void 0 : O.infoCard;
3183
+ c && (R.value = c.titleFieldProp ? i.value.formData[c.titleFieldProp] : "", B.value = c.subtitleFieldProp ? i.value.formData[c.subtitleFieldProp] : "", j.value = c.tagFieldProp ? i.value.formData[c.tagFieldProp] : "", (L = Y.fields) == null || L.forEach((T) => {
3184
+ var D, F;
3185
+ if (T.prop === c.tagFieldProp) {
3186
+ const _ = (F = (D = T.tableColumnAttributes) == null ? void 0 : D.functions) == null ? void 0 : F.transformValue;
3187
+ _ && (j.value = _(j.value));
3180
3188
  }
3181
3189
  }));
3182
3190
  });
@@ -3186,16 +3194,16 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3186
3194
  deep: !0
3187
3195
  }
3188
3196
  );
3189
- function b() {
3197
+ function v() {
3190
3198
  r.value = !0;
3191
3199
  }
3192
3200
  function I() {
3193
3201
  i.value.refresh();
3194
3202
  }
3195
3203
  return (u, c) => {
3196
- var w, W, q, oe, ne, se;
3197
- const k = E("el-page-header"), O = E("el-button"), z = E("el-icon"), D = E("el-dropdown-item"), F = E("el-dropdown-menu"), U = E("el-dropdown"), v = E("el-tag"), Y = E("el-tab-pane"), _ = E("el-tabs"), $ = E("el-dialog");
3198
- return p(), V(le, null, [
3204
+ var w, J, H, te, oe, ne;
3205
+ const k = E("el-page-header"), O = E("el-button"), L = E("el-icon"), T = E("el-dropdown-item"), D = E("el-dropdown-menu"), F = E("el-dropdown"), _ = E("el-tag"), W = E("el-tab-pane"), b = E("el-tabs"), $ = E("el-dialog");
3206
+ return p(), V(ae, null, [
3199
3207
  S("div", ir, [
3200
3208
  m(k, {
3201
3209
  onClick: c[0] || (c[0] = (X) => x(n).back())
@@ -3206,7 +3214,7 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3206
3214
  content: d(() => {
3207
3215
  var X;
3208
3216
  return [
3209
- S("span", cr, R(x(t)((X = B == null ? void 0 : B.name) != null ? X : "")), 1)
3217
+ S("span", cr, G(x(t)((X = Y == null ? void 0 : Y.name) != null ? X : "")), 1)
3210
3218
  ];
3211
3219
  }),
3212
3220
  _: 1
@@ -3214,24 +3222,24 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3214
3222
  S("div", null, [
3215
3223
  m(O, {
3216
3224
  type: "primary",
3217
- onClick: b
3225
+ onClick: v
3218
3226
  }, {
3219
3227
  default: d(() => [
3220
- J(R(x(t)("common.table.edit")), 1)
3228
+ K(G(x(t)("common.table.edit")), 1)
3221
3229
  ]),
3222
3230
  _: 1
3223
3231
  }),
3224
- ((W = (w = B.pageConfig) == null ? void 0 : w.detailPage) == null ? void 0 : W.operationButtons) !== void 0 ? (p(), P(U, { key: 0 }, {
3232
+ ((J = (w = Y.pageConfig) == null ? void 0 : w.detailPage) == null ? void 0 : J.operationButtons) !== void 0 ? (p(), P(F, { key: 0 }, {
3225
3233
  dropdown: d(() => [
3226
- m(F, null, {
3234
+ m(D, null, {
3227
3235
  default: d(() => {
3228
- var X, K;
3236
+ var X, Q;
3229
3237
  return [
3230
- (p(!0), V(le, null, fe((K = (X = B.pageConfig) == null ? void 0 : X.detailPage) == null ? void 0 : K.operationButtons, (re) => (p(), P(D, {
3231
- onClick: (ce) => re.function(i.value.formData)
3238
+ (p(!0), V(ae, null, pe((Q = (X = Y.pageConfig) == null ? void 0 : X.detailPage) == null ? void 0 : Q.operationButtons, (se) => (p(), P(T, {
3239
+ onClick: (ce) => se.function(i.value.formData)
3232
3240
  }, {
3233
3241
  default: d(() => [
3234
- J(R(x(t)(re.label)), 1)
3242
+ K(G(x(t)(se.label)), 1)
3235
3243
  ]),
3236
3244
  _: 2
3237
3245
  }, 1032, ["onClick"]))), 256))
@@ -3243,8 +3251,8 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3243
3251
  default: d(() => [
3244
3252
  m(O, { style: { margin: "0 10px" } }, {
3245
3253
  default: d(() => [
3246
- J(R(x(t)("common.basic.more")), 1),
3247
- m(z, { class: "el-icon--right" }, {
3254
+ K(G(x(t)("common.basic.more")), 1),
3255
+ m(L, { class: "el-icon--right" }, {
3248
3256
  default: d(() => [
3249
3257
  m(x(qt))
3250
3258
  ]),
@@ -3255,13 +3263,13 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3255
3263
  })
3256
3264
  ]),
3257
3265
  _: 1
3258
- })) : j("", !0),
3266
+ })) : q("", !0),
3259
3267
  m(O, {
3260
3268
  onClick: I,
3261
3269
  style: { "border-color": "#bbb", width: "30px" }
3262
3270
  }, {
3263
3271
  default: d(() => [
3264
- m(z, null, {
3272
+ m(L, null, {
3265
3273
  default: d(() => [
3266
3274
  m(x(Ht))
3267
3275
  ]),
@@ -3272,36 +3280,36 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3272
3280
  })
3273
3281
  ])
3274
3282
  ]),
3275
- (oe = (q = B.pageConfig) == null ? void 0 : q.detailPage) != null && oe.infoCard ? (p(), V("div", ur, [
3283
+ (te = (H = Y.pageConfig) == null ? void 0 : H.detailPage) != null && te.infoCard ? (p(), V("div", ur, [
3276
3284
  S("div", dr, [
3277
- (p(), P(rt((ne = B.pageConfig.detailPage.infoCard.icon) != null ? ne : ""), { class: "icon" }))
3285
+ (p(), P(rt((oe = Y.pageConfig.detailPage.infoCard.icon) != null ? oe : ""), { class: "icon" }))
3278
3286
  ]),
3279
3287
  S("div", pr, [
3280
3288
  S("div", fr, [
3281
- S("h1", null, R(T.value), 1),
3282
- ((se = L.value) == null ? void 0 : se.length) > 0 ? (p(), P(v, {
3289
+ S("h1", null, G(R.value), 1),
3290
+ ((ne = j.value) == null ? void 0 : ne.length) > 0 ? (p(), P(_, {
3283
3291
  key: 0,
3284
3292
  size: "small"
3285
3293
  }, {
3286
3294
  default: d(() => [
3287
- J(R(L.value), 1)
3295
+ K(G(j.value), 1)
3288
3296
  ]),
3289
3297
  _: 1
3290
- })) : j("", !0)
3298
+ })) : q("", !0)
3291
3299
  ]),
3292
- S("span", null, R(H.value), 1)
3300
+ S("span", null, G(B.value), 1)
3293
3301
  ])
3294
- ])) : j("", !0),
3302
+ ])) : q("", !0),
3295
3303
  S("div", mr, [
3296
- m(_, {
3297
- modelValue: N.value,
3298
- "onUpdate:modelValue": c[1] || (c[1] = (X) => N.value = X),
3299
- onTabClick: M
3304
+ m(b, {
3305
+ modelValue: M.value,
3306
+ "onUpdate:modelValue": c[1] || (c[1] = (X) => M.value = X),
3307
+ onTabClick: U
3300
3308
  }, {
3301
3309
  default: d(() => {
3302
- var X, K;
3310
+ var X, Q;
3303
3311
  return [
3304
- m(Y, {
3312
+ m(W, {
3305
3313
  label: x(t)("common.basic.summary"),
3306
3314
  name: "summary"
3307
3315
  }, {
@@ -3310,17 +3318,17 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3310
3318
  ref_key: "formViewRef",
3311
3319
  ref: i,
3312
3320
  id: s.value,
3313
- sessionId: ee.value,
3321
+ sessionId: Z.value,
3314
3322
  mode: a.value,
3315
- model: B
3323
+ model: Y
3316
3324
  }, null, 8, ["id", "sessionId", "mode", "model"])
3317
3325
  ]),
3318
3326
  _: 1
3319
3327
  }, 8, ["label"]),
3320
- (p(!0), V(le, null, fe((K = (X = B.pageConfig) == null ? void 0 : X.detailPage) == null ? void 0 : K.tabs, (re) => {
3328
+ (p(!0), V(ae, null, pe((Q = (X = Y.pageConfig) == null ? void 0 : X.detailPage) == null ? void 0 : Q.tabs, (se) => {
3321
3329
  var ce;
3322
- return p(), P(Y, {
3323
- label: x(t)((ce = re.name) != null ? ce : "")
3330
+ return p(), P(W, {
3331
+ label: x(t)((ce = se.name) != null ? ce : "")
3324
3332
  }, null, 8, ["label"]);
3325
3333
  }), 256))
3326
3334
  ];
@@ -3331,8 +3339,8 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3331
3339
  key: 0,
3332
3340
  ref_key: "tabPaneTableRef",
3333
3341
  ref: y,
3334
- model: ie[f.value]
3335
- }, null, 8, ["model"])) : j("", !0),
3342
+ model: le[f.value]
3343
+ }, null, 8, ["model"])) : q("", !0),
3336
3344
  m($, {
3337
3345
  modelValue: l.value,
3338
3346
  "onUpdate:modelValue": c[3] || (c[3] = (X) => l.value = X),
@@ -3345,16 +3353,16 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3345
3353
  onClick: c[2] || (c[2] = (X) => l.value = !1)
3346
3354
  }, {
3347
3355
  default: d(() => [
3348
- J(R(x(t)("common.basic.cancel")), 1)
3356
+ K(G(x(t)("common.basic.cancel")), 1)
3349
3357
  ]),
3350
3358
  _: 1
3351
3359
  }),
3352
3360
  m(O, {
3353
3361
  type: "primary",
3354
- onClick: te
3362
+ onClick: ee
3355
3363
  }, {
3356
3364
  default: d(() => [
3357
- J(R(x(t)("common.basic.save")), 1)
3365
+ K(G(x(t)("common.basic.save")), 1)
3358
3366
  ]),
3359
3367
  _: 1
3360
3368
  })
@@ -3365,8 +3373,8 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3365
3373
  key: 0,
3366
3374
  ref_key: "selectTableRef",
3367
3375
  ref: C,
3368
- model: x(G)[f.value]
3369
- }, null, 8, ["model"])) : j("", !0)
3376
+ model: x(z)[f.value]
3377
+ }, null, 8, ["model"])) : q("", !0)
3370
3378
  ]),
3371
3379
  _: 1
3372
3380
  }, 8, ["modelValue", "title"])
@@ -3376,13 +3384,13 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3376
3384
  mode: "update",
3377
3385
  visible: r.value,
3378
3386
  "onUpdate:visible": c[4] || (c[4] = (X) => r.value = X),
3379
- model: B,
3387
+ model: Y,
3380
3388
  afterSubmitFunc: I
3381
3389
  }, null, 8, ["id", "visible", "model"])
3382
3390
  ], 64);
3383
3391
  };
3384
3392
  }
3385
- }), _r = /* @__PURE__ */ be(gr, [["__scopeId", "data-v-cc1c9498"]]), vr = { class: "page-title" }, br = /* @__PURE__ */ Se({
3393
+ }), _r = /* @__PURE__ */ ve(gr, [["__scopeId", "data-v-cc1c9498"]]), br = { class: "page-title" }, vr = /* @__PURE__ */ Ce({
3386
3394
  __name: "TablePage",
3387
3395
  setup(e) {
3388
3396
  const { t } = Qe(), o = Ke(), n = ct(), s = A(), r = A([]), l = de({
@@ -3390,20 +3398,20 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3390
3398
  fields: []
3391
3399
  }), a = de(Ze({}, l));
3392
3400
  function i() {
3393
- var y, C, N, T, H;
3394
- r.value = [], l.pageConfig && ((C = (y = l.pageConfig) == null ? void 0 : y.tablePage) != null && C.tabViewAttributes) && (r.value = (H = (T = (N = l.pageConfig) == null ? void 0 : N.tablePage) == null ? void 0 : T.tabViewAttributes) == null ? void 0 : H.map((L) => {
3395
- let ee;
3396
- return L.modelKey && _e.value[L.modelKey] ? ee = Ge(_e.value[L.modelKey]) : ee = Ge(l), L.queryParams && (ee.tableConfig || (ee.tableConfig = {}), ee.tableConfig.queryParams = L.queryParams), L.fields && (ee.fields = L.fields), L.modelKey && (ee.breadcrumbRoute = l.route), {
3397
- key: L.key,
3398
- label: L.label,
3399
- icon: L.icon,
3400
- disabled: L.disabled,
3401
- model: ee
3401
+ var y, C, M, R, B;
3402
+ r.value = [], l.pageConfig && ((C = (y = l.pageConfig) == null ? void 0 : y.tablePage) != null && C.tabViewAttributes) && (r.value = (B = (R = (M = l.pageConfig) == null ? void 0 : M.tablePage) == null ? void 0 : R.tabViewAttributes) == null ? void 0 : B.map((j) => {
3403
+ let Z;
3404
+ return j.modelKey && _e.value[j.modelKey] ? Z = Ge(_e.value[j.modelKey]) : Z = Ge(l), j.queryParams && (Z.tableConfig || (Z.tableConfig = {}), Z.tableConfig.queryParams = j.queryParams), j.fields && (Z.fields = j.fields), j.modelKey && (Z.breadcrumbRoute = l.route), {
3405
+ key: j.key,
3406
+ label: j.label,
3407
+ icon: j.icon,
3408
+ disabled: j.disabled,
3409
+ model: Z
3402
3410
  };
3403
3411
  }));
3404
3412
  }
3405
3413
  function f() {
3406
- var N, T;
3414
+ var M, R;
3407
3415
  console.log("TablePage.init: loading model:", o.params.model), console.log("TablePage.init: current model list", _e.value);
3408
3416
  const y = o.params.model;
3409
3417
  if (_e.value[y] === void 0) {
@@ -3412,9 +3420,9 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3412
3420
  }
3413
3421
  ze(l);
3414
3422
  const C = Ge(_e.value[y]);
3415
- Object.assign(l, C), (T = (N = l.pageConfig) == null ? void 0 : N.tablePage) != null && T.tabViewAttributes || Object.assign(a, l), i();
3423
+ Object.assign(l, C), (R = (M = l.pageConfig) == null ? void 0 : M.tablePage) != null && R.tabViewAttributes || Object.assign(a, l), i();
3416
3424
  }
3417
- return Ee([
3425
+ return Pe([
3418
3426
  () => n.currentRoute.value,
3419
3427
  _e
3420
3428
  ], () => {
@@ -3423,20 +3431,20 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3423
3431
  immediate: !0,
3424
3432
  deep: !0
3425
3433
  }), (y, C) => {
3426
- var T;
3427
- const N = E("el-scrollbar");
3428
- return p(), V(le, null, [
3429
- S("h1", vr, R(x(t)((T = l.name) != null ? T : "")), 1),
3430
- m(N, null, {
3434
+ var R;
3435
+ const M = E("el-scrollbar");
3436
+ return p(), V(ae, null, [
3437
+ S("h1", br, G(x(t)((R = l.name) != null ? R : "")), 1),
3438
+ m(M, null, {
3431
3439
  default: d(() => {
3432
- var H, L;
3440
+ var B, j;
3433
3441
  return [
3434
- (L = (H = l.pageConfig) == null ? void 0 : H.tablePage) != null && L.tabViewAttributes ? (p(), P(ho, {
3442
+ (j = (B = l.pageConfig) == null ? void 0 : B.tablePage) != null && j.tabViewAttributes ? (p(), P(ho, {
3435
3443
  key: 0,
3436
3444
  class: "tabs-wrapper",
3437
3445
  cards: r.value,
3438
3446
  tableRef: s.value
3439
- }, null, 8, ["cards", "tableRef"])) : j("", !0)
3447
+ }, null, 8, ["cards", "tableRef"])) : q("", !0)
3440
3448
  ];
3441
3449
  }),
3442
3450
  _: 1
@@ -3450,7 +3458,7 @@ const or = { render: tr }, nr = { class: "toolbar" }, sr = { class: "tool-button
3450
3458
  ], 64);
3451
3459
  };
3452
3460
  }
3453
- }), yr = /* @__PURE__ */ be(br, [["__scopeId", "data-v-1a472785"]]), wr = [
3461
+ }), yr = /* @__PURE__ */ ve(vr, [["__scopeId", "data-v-1a472785"]]), wr = [
3454
3462
  jo,
3455
3463
  Vs,
3456
3464
  Wt,