@vancone/console-component 0.1.0-beta.7 → 0.1.0-beta.8

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,30 +1,30 @@
1
1
  var Ze = Object.defineProperty, We = Object.defineProperties;
2
2
  var $e = Object.getOwnPropertyDescriptors;
3
- var Ge = Object.getOwnPropertySymbols;
3
+ var Fe = Object.getOwnPropertySymbols;
4
4
  var et = Object.prototype.hasOwnProperty, tt = Object.prototype.propertyIsEnumerable;
5
- var Fe = (s, o, t) => o in s ? Ze(s, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[o] = t, Ie = (s, o) => {
6
- for (var t in o || (o = {}))
7
- et.call(o, t) && Fe(s, t, o[t]);
8
- if (Ge)
9
- for (var t of Ge(o))
10
- tt.call(o, t) && Fe(s, t, o[t]);
5
+ var Re = (s, a, o) => a in s ? Ze(s, a, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[a] = o, Ee = (s, a) => {
6
+ for (var o in a || (a = {}))
7
+ et.call(a, o) && Re(s, o, a[o]);
8
+ if (Fe)
9
+ for (var o of Fe(a))
10
+ tt.call(a, o) && Re(s, o, a[o]);
11
11
  return s;
12
- }, Re = (s, o) => We(s, $e(o));
13
- import { openBlock as n, createElementBlock as B, defineComponent as de, reactive as le, resolveComponent as w, createVNode as d, withCtx as r, createElementVNode as i, Fragment as ee, renderList as se, toDisplayString as Q, normalizeStyle as Ue, ref as S, onMounted as Oe, unref as v, createCommentVNode as T, createTextVNode as z, createBlock as _, resolveDynamicComponent as Ee, computed as Qe, watch as me, createStaticVNode as ot, nextTick as Ve, normalizeClass as De, resolveDirective as Pe, withDirectives as Te } from "vue";
14
- import { useRoute as ke, useRouter as xe } from "vue-router";
12
+ }, Ve = (s, a) => We(s, $e(a));
13
+ import { openBlock as n, createElementBlock as U, defineComponent as de, reactive as le, resolveComponent as y, createVNode as d, withCtx as r, createElementVNode as i, Fragment as ee, renderList as se, toDisplayString as Q, normalizeStyle as Ge, ref as E, onMounted as Oe, unref as v, createCommentVNode as K, createTextVNode as N, createBlock as I, resolveDynamicComponent as Se, computed as xe, watch as ue, createStaticVNode as ot, nextTick as De, normalizeClass as Te, resolveDirective as Ke, withDirectives as Pe } from "vue";
14
+ import { useRoute as _e, useRouter as Be } from "vue-router";
15
15
  import at from "axios";
16
- import { ElMessage as Be, ElMessageBox as nt } from "element-plus";
17
- import { createI18n as lt, useI18n as _e } from "vue-i18n";
18
- import { ArrowRight as st, Check as rt, Refresh as Ke, QuestionFilled as it, Download as ct, Search as dt, ArrowDown as pt } from "@element-plus/icons-vue";
19
- import { cloneDeep as be } from "lodash";
20
- const re = (s, o) => {
21
- const t = s.__vccOpts || s;
22
- for (const [g, a] of o)
23
- t[g] = a;
24
- return t;
16
+ import { ElMessage as Ue, ElMessageBox as nt } from "element-plus";
17
+ import { createI18n as lt, useI18n as Ie } from "vue-i18n";
18
+ import { ArrowRight as st, Check as rt, Refresh as Le, QuestionFilled as it, Download as ct, Search as dt, ArrowDown as pt } from "@element-plus/icons-vue";
19
+ import { cloneDeep as Ce } from "lodash";
20
+ const re = (s, a) => {
21
+ const o = s.__vccOpts || s;
22
+ for (const [g, t] of a)
23
+ o[g] = t;
24
+ return o;
25
25
  }, ut = {}, ft = { class: "building" };
26
- function mt(s, o) {
27
- return n(), B("div", ft);
26
+ function mt(s, a) {
27
+ return n(), U("div", ft);
28
28
  }
29
29
  const ht = /* @__PURE__ */ re(ut, [["render", mt], ["__scopeId", "data-v-07bd45d2"]]), gt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcIAAAHDCAYAAAC3RBrgAAAACXBIWXMAAAsSAAALEgHS3X78AAAgAElEQVR4nO3d21IcV77n8R9VCIGEDDrZtGRLaMIde7wnWpKD2Bf7SvQTlPoJTF/VZTOhB2j0AI6hL7kZl2MeoFVP0GhudsTMrrak3W5rtxQGrIPpBiFKQhwrq/ZFZiIEFNQhM9fKXN9PhMM6QPEPG9VP/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wj+7PPpZe6N00BCU9JAgRuXKleFP+sultEYqIxoKke/L3/h4c98Ew7+Wjr2/KD0TT+4dHhaAklQlCxIpQRBcIvwwwfKH3cSEoSf+TIERiCEW0gPDLKAMXercSgpJ0jSCEEUEojssPRm6xcdtD+R3DLOGXbcH+4ZSk38X8pVoNwfKl63duE4QwLrjr9Lb8YLwtO0+cITpV+V3frPwDL9z16ZiYL/RuNQQl6deXrt+ZJQhhnaBbDIPR9EY7onFf74OPrg+SYrnQu50QLF+6fue2xPgEUiC49zT8h2BMhzD4ZrnfE8cJBvKn1d1qUDshWJU0eun6nVWJIEQK7QnGcJ+RpVSzqvJD74EIPnSoywu92wlBKVgSDX9CECL1gmH+m3ofjDdFOMalqiDwgn8/YKgdUergQu92Q/C3l67fKe39BYIQmbQvHMN/GNloz4KCsBOhh4S1eKF3u8uhE5eu37m3/zcIQjglWFYdDf65KWlY7Dvel7QqP+zmJc2zvAlbHHGhdzsheF9+CM4f9psEIaDdEY4wGPf+W0p/UN4P/v1A7wNvVX6Hx+gCUmHfhd6thuCCpKn9S6H7EYRAi4Ll1tHgp2FYSh+Gpvb8ftT7lOH+3F5hqElBNxf+mGVMZE1woOb/SPqVmm91PJS/h126dP1OS6M6BCEAIJWCfcTQaqvBt99/AbvQE87h1n5GAAAAAElFTkSuQmCC", ie = at.create({
30
30
  timeout: 2 * 60 * 1e3,
@@ -32,41 +32,41 @@ const ht = /* @__PURE__ */ re(ut, [["render", mt], ["__scopeId", "data-v-07bd45d
32
32
  });
33
33
  ie.interceptors.request.use((s) => s);
34
34
  ie.interceptors.response.use((s) => {
35
- const { headers: o, method: t } = s.config, { code: g, message: a } = s.data, { "No-Success-Message": e } = o, b = t !== "get";
36
- return g === 0 ? (b && !e && Be({
37
- message: a,
35
+ const { headers: a, method: o } = s.config, { code: g, message: t } = s.data, { "No-Success-Message": e } = a, b = o !== "get";
36
+ return g === 0 ? (b && !e && Ue({
37
+ message: t,
38
38
  type: "success"
39
- }), Promise.resolve(s)) : (Be({
39
+ }), Promise.resolve(s)) : (Ue({
40
40
  type: "error",
41
- message: a
41
+ message: t
42
42
  }), Promise.reject(new Error(`${g}`)));
43
43
  }, (s) => {
44
44
  var g;
45
- const { config: o, response: t } = s;
46
- if (t) {
47
- const { status: a } = t;
48
- if (a === 401) {
45
+ const { config: a, response: o } = s;
46
+ if (o) {
47
+ const { status: t } = o;
48
+ if (t === 401) {
49
49
  const c = window.escape(window.location.href);
50
- let C = (g = t.data.data) != null ? g : "https://passport.vancone.com";
50
+ let C = (g = o.data.data) != null ? g : "https://passport.vancone.com";
51
51
  window.location.href = `${C}/?from=${c}`;
52
52
  }
53
- const { message: e, error: b } = t.data;
54
- Be({
53
+ const { message: e, error: b } = o.data;
54
+ Ue({
55
55
  type: "error",
56
56
  message: e || b
57
57
  });
58
58
  }
59
59
  return Promise.reject(new Error(s.message || "Response Error"));
60
60
  });
61
- const Le = () => {
61
+ const je = () => {
62
62
  const { origin: s } = window.location;
63
63
  return s.includes("beta") || s.includes("localhost") ? "passport.beta.vancone.com" : "passport.vancone.com";
64
- }, je = Le();
64
+ }, Xe = je();
65
65
  function vt() {
66
- return ie.get(`//${je}/api/passport/service/v1/account`);
66
+ return ie.get(`//${Xe}/api/passport/service/v1/account`);
67
67
  }
68
68
  function bt() {
69
- return ie.delete(`//${je}/api/passport/service/v1/login`);
69
+ return ie.delete(`//${Xe}/api/passport/service/v1/login`);
70
70
  }
71
71
  function Ct() {
72
72
  return ie.get("https://console.vancone.com/api/console/app-group?pageSize=1000");
@@ -80,26 +80,26 @@ const wt = { class: "app-catalog-wrapper" }, At = { style: { width: "calc(100% -
80
80
  visible: { type: Boolean }
81
81
  },
82
82
  setup(s) {
83
- const o = s, t = le([]);
83
+ const a = s, o = le([]);
84
84
  function g() {
85
- Ct().then(({ data: a }) => {
86
- t.splice(0, t.length, ...a.data.list), yt().then(({ data: e }) => {
85
+ Ct().then(({ data: t }) => {
86
+ o.splice(0, o.length, ...t.data.list), yt().then(({ data: e }) => {
87
87
  const b = e.data.list;
88
- t.forEach((c) => {
88
+ o.forEach((c) => {
89
89
  c.apps = b.filter((C) => C.appGroupId === c.id);
90
90
  });
91
91
  });
92
92
  });
93
93
  }
94
- return g(), (a, e) => {
95
- const b = w("el-input"), c = w("el-drawer");
96
- return n(), B("div", wt, [
94
+ return g(), (t, e) => {
95
+ const b = y("el-input"), c = y("el-drawer");
96
+ return n(), U("div", wt, [
97
97
  d(c, {
98
98
  "modal-class": "drawer-modal",
99
99
  "with-header": !1,
100
100
  direction: "ttb",
101
- modelValue: o.visible,
102
- "onUpdate:modelValue": e[0] || (e[0] = (C) => o.visible = C)
101
+ modelValue: a.visible,
102
+ "onUpdate:modelValue": e[0] || (e[0] = (C) => a.visible = C)
103
103
  }, {
104
104
  default: r(() => [
105
105
  e[2] || (e[2] = i("div", { class: "favorite-list" }, [
@@ -117,18 +117,18 @@ const wt = { class: "app-catalog-wrapper" }, At = { style: { width: "calc(100% -
117
117
  i("span", { class: "service-name" }, "Datable")
118
118
  ], -1)),
119
119
  i("div", kt, [
120
- (n(!0), B(ee, null, se(t, (C) => (n(), B("div", _t, [
120
+ (n(!0), U(ee, null, se(o, (C) => (n(), U("div", _t, [
121
121
  i("h1", null, Q(C.name), 1),
122
- (n(!0), B(ee, null, se(C.apps, (A) => {
123
- var V, G;
124
- return n(), B("a", {
125
- style: Ue([{ "text-decoration": "none" }, { pointerEvents: ((V = A.homepageUrl) == null ? void 0 : V.length) > 0 ? "auto" : "none" }]),
122
+ (n(!0), U(ee, null, se(C.apps, (k) => {
123
+ var V, R;
124
+ return n(), U("a", {
125
+ style: Ge([{ "text-decoration": "none" }, { pointerEvents: ((V = k.homepageUrl) == null ? void 0 : V.length) > 0 ? "auto" : "none" }]),
126
126
  target: "_blank",
127
- href: A.homepageUrl
127
+ href: k.homepageUrl
128
128
  }, [
129
129
  i("h2", {
130
- style: Ue({ color: ((G = A.homepageUrl) == null ? void 0 : G.length) > 0 ? "#555" : "#bbb" })
131
- }, Q(A.name), 5)
130
+ style: Ge({ color: ((R = k.homepageUrl) == null ? void 0 : R.length) > 0 ? "#555" : "#bbb" })
131
+ }, Q(k.name), 5)
132
132
  ], 12, It);
133
133
  }), 256))
134
134
  ]))), 256))
@@ -216,7 +216,7 @@ const wt = { class: "app-catalog-wrapper" }, At = { style: { width: "calc(100% -
216
216
  yes: "是"
217
217
  }
218
218
  }
219
- }, Se = lt({
219
+ }, Me = lt({
220
220
  legacy: !1,
221
221
  locale: localStorage.getItem("locale") || navigator.language.slice(0, 2),
222
222
  messages: {
@@ -228,43 +228,43 @@ const wt = { class: "app-catalog-wrapper" }, At = { style: { width: "calc(100% -
228
228
  "xml:space": "preserve",
229
229
  viewBox: "0 0 32 32"
230
230
  };
231
- function Bt(s, o) {
232
- return n(), B("svg", xt, o[0] || (o[0] = [
231
+ function Bt(s, a) {
232
+ return n(), U("svg", xt, a[0] || (a[0] = [
233
233
  i("path", { d: "M22.6 29.1h6.6v-6.6h-6.6m0-3.2h6.6v-6.6h-6.6m-9.9-3.3h6.6V2.9h-6.6m9.9 6.5h6.6V2.9h-6.6m-9.9 16.4h6.6v-6.6h-6.6m-9.8 6.6h6.6v-6.6H2.9m0 16.4h6.6v-6.6H2.9m9.8 6.6h6.6v-6.6h-6.6M2.9 9.4h6.6V2.9H2.9z" }, null, -1)
234
234
  ]));
235
235
  }
236
- const Ut = { render: Bt }, Ot = {
236
+ const Ut = { render: Bt }, Gt = {
237
237
  xmlns: "http://www.w3.org/2000/svg",
238
238
  width: "200",
239
239
  height: "200",
240
240
  class: "icon",
241
241
  viewBox: "0 0 1024 1024"
242
242
  };
243
- function Gt(s, o) {
244
- return n(), B("svg", Ot, o[0] || (o[0] = [
243
+ function Ot(s, a) {
244
+ return n(), U("svg", Gt, a[0] || (a[0] = [
245
245
  i("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)
246
246
  ]));
247
247
  }
248
- const Ft = { render: Gt }, Rt = {
248
+ const Ft = { render: Ot }, Rt = {
249
249
  xmlns: "http://www.w3.org/2000/svg",
250
250
  width: "200",
251
251
  height: "200",
252
252
  class: "icon",
253
253
  viewBox: "0 0 1024 1024"
254
254
  };
255
- function Vt(s, o) {
256
- return n(), B("svg", Rt, o[0] || (o[0] = [
255
+ function Vt(s, a) {
256
+ return n(), U("svg", Rt, a[0] || (a[0] = [
257
257
  i("path", { d: "M358.4 871.2H45.152C19.936 871.2 0 843.904 0 819.2s19.936-50.624 45.152-50.624h56.64l-1.088-283.168c0-204.608 164.032-374.56 337.056-412.576v-1.28C437.76 32.032 470.496 0 510.848 0s73.088 32.032 73.088 71.552v1.28C756.96 110.848 922.08 280.8 922.08 485.408v283.168h55.008c25.216 0 46.944 25.92 46.944 50.624s-21.696 52-46.944 52H665.632c-.416 84.48-69.024 152.8-153.6 152.8s-153.184-68.352-153.6-152.8zm102.4 0c.416 27.904 23.168 50.4 51.2 50.4s50.784-22.496 51.2-50.4zm357.216-103.328v-282.56c0-179.808-149.536-329.984-307.104-329.984S204.544 305.472 204.544 485.312v282.56z" }, null, -1)
258
258
  ]));
259
259
  }
260
- const Dt = { render: Vt }, Pt = { class: "header" }, Tt = { class: "right" }, Kt = { class: "icon-wrapper" }, Lt = { class: "user-wrapper" }, jt = { style: { "font-size": "11px", "font-weight": "bold" } }, Xt = { class: "user-popover-header" }, Yt = { style: { "font-size": "15px", "font-weight": "bold" } }, qt = ["onClick"], Ht = /* @__PURE__ */ de({
260
+ const Dt = { render: Vt }, Tt = { class: "header" }, Kt = { class: "right" }, Pt = { class: "icon-wrapper" }, Lt = { class: "user-wrapper" }, jt = { style: { "font-size": "11px", "font-weight": "bold" } }, Xt = { class: "user-popover-header" }, Yt = { style: { "font-size": "15px", "font-weight": "bold" } }, qt = ["onClick"], Ht = /* @__PURE__ */ de({
261
261
  __name: "Header",
262
262
  props: {
263
263
  title: {},
264
264
  helpDocUrl: {}
265
265
  },
266
266
  setup(s) {
267
- const { t: o } = _e(), t = S(), g = S(), a = S(), e = s, b = S(!1), c = S(""), C = S(Se.global.locale), A = le([
267
+ const { t: a } = Ie(), o = E(), g = E(), t = E(), e = s, b = E(!1), c = E(""), C = E(Me.global.locale), k = le([
268
268
  {
269
269
  id: "en",
270
270
  name: "English"
@@ -275,62 +275,62 @@ const Dt = { render: Vt }, Pt = { class: "header" }, Tt = { class: "right" }, Kt
275
275
  }
276
276
  ]);
277
277
  Oe(() => {
278
- c.value = decodeURIComponent(escape(window.atob(V("passport_username")))), c.value === "" && vt().then(({ data: p }) => {
279
- var j;
280
- p.code == 0 && (c.value = (j = p.data.name) != null ? j : p.data.displayId);
278
+ c.value = decodeURIComponent(escape(window.atob(V("passport_username")))), c.value === "" && vt().then(({ data: O }) => {
279
+ var w;
280
+ O.code == 0 && (c.value = (w = O.data.name) != null ? w : O.data.displayId);
281
281
  });
282
282
  });
283
- function V(p) {
284
- for (var j = p + "=", W = document.cookie.split(";"), N = 0; N < W.length; N++) {
285
- for (var X = W[N]; X.charAt(0) == " "; ) X = X.substring(1);
286
- if (X.indexOf(j) != -1)
287
- return X.substring(j.length, X.length);
283
+ function V(O) {
284
+ for (var w = O + "=", W = document.cookie.split(";"), Y = 0; Y < W.length; Y++) {
285
+ for (var q = W[Y]; q.charAt(0) == " "; ) q = q.substring(1);
286
+ if (q.indexOf(w) != -1)
287
+ return q.substring(w.length, q.length);
288
288
  }
289
289
  return "";
290
290
  }
291
- function G() {
291
+ function R() {
292
292
  bt().then(() => {
293
- const p = escape(window.location.href);
294
- window.location.href = `//${Le()}/?from=${p}#login`;
293
+ const O = escape(window.location.href);
294
+ window.location.href = `//${je()}/?from=${O}#login`;
295
295
  });
296
296
  }
297
- function L(p) {
298
- Se.global.locale.value = p, C.value = p, localStorage.setItem("locale", p);
297
+ function X(O) {
298
+ Me.global.locale.value = O, C.value = O, localStorage.setItem("locale", O);
299
299
  }
300
- function K() {
300
+ function P() {
301
301
  window.open("https://portal.vancone.com/", "_blank");
302
302
  }
303
- function J() {
303
+ function z() {
304
304
  window.open("https://passport.vancone.com/#/account/profile", "_blank");
305
305
  }
306
306
  function D() {
307
307
  window.open(e.helpDocUrl, "_blank");
308
308
  }
309
- return (p, j) => {
310
- const W = w("el-tooltip"), N = w("el-avatar"), X = w("el-menu-item"), pe = w("el-icon"), m = w("el-popover"), P = w("el-menu");
311
- return n(), B("div", Pt, [
309
+ return (O, w) => {
310
+ const W = y("el-tooltip"), Y = y("el-avatar"), q = y("el-menu-item"), fe = y("el-icon"), m = y("el-popover"), T = y("el-menu");
311
+ return n(), U("div", Tt, [
312
312
  i("div", {
313
313
  class: "title",
314
- onClick: K
314
+ onClick: P
315
315
  }, [
316
- j[1] || (j[1] = i("img", {
316
+ w[1] || (w[1] = i("img", {
317
317
  src: gt,
318
318
  class: "logo"
319
319
  }, null, -1)),
320
- j[2] || (j[2] = i("h1", null, "VanCone", -1)),
321
- i("span", null, Q(p.title), 1)
320
+ w[2] || (w[2] = i("h1", null, "VanCone", -1)),
321
+ i("span", null, Q(O.title), 1)
322
322
  ]),
323
323
  d(St, { visible: b.value }, null, 8, ["visible"]),
324
- i("div", Tt, [
324
+ i("div", Kt, [
325
325
  d(W, {
326
326
  effect: "dark",
327
- content: v(o)("common.header.product"),
327
+ content: v(a)("common.header.product"),
328
328
  placement: "bottom"
329
329
  }, {
330
330
  default: r(() => [
331
331
  i("div", {
332
332
  class: "icon-wrapper",
333
- onClick: j[0] || (j[0] = (f) => b.value = !b.value)
333
+ onClick: w[0] || (w[0] = (h) => b.value = !b.value)
334
334
  }, [
335
335
  d(v(Ut))
336
336
  ])
@@ -339,38 +339,38 @@ const Dt = { render: Vt }, Pt = { class: "header" }, Tt = { class: "right" }, Kt
339
339
  }, 8, ["content"]),
340
340
  d(W, {
341
341
  effect: "dark",
342
- content: v(o)("common.header.help"),
342
+ content: v(a)("common.header.help"),
343
343
  placement: "bottom"
344
344
  }, {
345
345
  default: r(() => [
346
- e.helpDocUrl !== void 0 ? (n(), B("div", {
346
+ e.helpDocUrl !== void 0 ? (n(), U("div", {
347
347
  key: 0,
348
348
  class: "icon-wrapper",
349
349
  onClick: D
350
350
  }, [
351
351
  d(v(Ft))
352
- ])) : T("", !0)
352
+ ])) : K("", !0)
353
353
  ]),
354
354
  _: 1
355
355
  }, 8, ["content"]),
356
356
  d(W, {
357
357
  effect: "dark",
358
- content: v(o)("common.header.message"),
358
+ content: v(a)("common.header.message"),
359
359
  placement: "bottom"
360
360
  }, {
361
361
  default: r(() => [
362
- i("div", Kt, [
362
+ i("div", Pt, [
363
363
  d(v(Dt))
364
364
  ])
365
365
  ]),
366
366
  _: 1
367
367
  }, 8, ["content"]),
368
368
  i("div", Lt, [
369
- d(N, {
369
+ d(Y, {
370
370
  size: 30,
371
371
  src: "",
372
372
  ref_key: "avatarRef",
373
- ref: t
373
+ ref: o
374
374
  }, {
375
375
  default: r(() => [
376
376
  i("span", jt, Q(c.value.substring(0, 2)), 1)
@@ -383,13 +383,13 @@ const Dt = { render: Vt }, Pt = { class: "header" }, Tt = { class: "right" }, Kt
383
383
  effect: "dark",
384
384
  ref_key: "popoverRef",
385
385
  ref: g,
386
- "virtual-ref": t.value,
386
+ "virtual-ref": o.value,
387
387
  trigger: "hover",
388
388
  "virtual-triggering": ""
389
389
  }, {
390
390
  default: r(() => [
391
391
  i("div", Xt, [
392
- d(N, {
392
+ d(Y, {
393
393
  size: 48,
394
394
  src: ""
395
395
  }, {
@@ -400,22 +400,22 @@ const Dt = { render: Vt }, Pt = { class: "header" }, Tt = { class: "right" }, Kt
400
400
  }),
401
401
  i("span", null, Q(c.value), 1)
402
402
  ]),
403
- d(P, { class: "user-menu" }, {
403
+ d(T, { class: "user-menu" }, {
404
404
  default: r(() => [
405
- d(X, { onClick: J }, {
405
+ d(q, { onClick: z }, {
406
406
  default: r(() => [
407
- z(Q(v(o)("common.header.userCenter")), 1)
407
+ N(Q(v(a)("common.header.userCenter")), 1)
408
408
  ]),
409
409
  _: 1
410
410
  }),
411
- d(X, {
411
+ d(q, {
412
412
  ref_key: "switchLanguageRef",
413
- ref: a,
413
+ ref: t,
414
414
  style: { display: "flext", "justify-content": "space-between" }
415
415
  }, {
416
416
  default: r(() => [
417
- i("span", null, Q(v(o)("common.header.switchLanguage")), 1),
418
- d(pe, { style: { left: "15px" } }, {
417
+ i("span", null, Q(v(a)("common.header.switchLanguage")), 1),
418
+ d(fe, { style: { left: "15px" } }, {
419
419
  default: r(() => [
420
420
  d(v(st))
421
421
  ]),
@@ -430,18 +430,18 @@ const Dt = { render: Vt }, Pt = { class: "header" }, Tt = { class: "right" }, Kt
430
430
  effect: "dark",
431
431
  ref: "popover2Ref",
432
432
  placement: "left-start",
433
- "virtual-ref": a.value,
433
+ "virtual-ref": t.value,
434
434
  trigger: "hover",
435
435
  "virtual-triggering": "",
436
436
  "popper-style": "height: 80px; left: -165px"
437
437
  }, {
438
438
  default: r(() => [
439
- (n(!0), B(ee, null, se(A, (f) => (n(), B("div", {
439
+ (n(!0), U(ee, null, se(k, (h) => (n(), U("div", {
440
440
  class: "select-list",
441
- onClick: (h) => L(f.id)
441
+ onClick: (G) => X(h.id)
442
442
  }, [
443
- i("span", null, Q(f.name), 1),
444
- f.id === C.value ? (n(), _(pe, {
443
+ i("span", null, Q(h.name), 1),
444
+ h.id === C.value ? (n(), I(fe, {
445
445
  key: 0,
446
446
  style: { color: "#8ba74f" }
447
447
  }, {
@@ -449,14 +449,14 @@ const Dt = { render: Vt }, Pt = { class: "header" }, Tt = { class: "right" }, Kt
449
449
  d(v(rt))
450
450
  ]),
451
451
  _: 1
452
- })) : T("", !0)
452
+ })) : K("", !0)
453
453
  ], 8, qt))), 256))
454
454
  ]),
455
455
  _: 1
456
456
  }, 8, ["virtual-ref"]),
457
- d(X, { onClick: G }, {
457
+ d(q, { onClick: R }, {
458
458
  default: r(() => [
459
- z(Q(v(o)("common.header.signOut")), 1)
459
+ N(Q(v(a)("common.header.signOut")), 1)
460
460
  ]),
461
461
  _: 1
462
462
  })
@@ -471,64 +471,64 @@ const Dt = { render: Vt }, Pt = { class: "header" }, Tt = { class: "right" }, Kt
471
471
  ]);
472
472
  };
473
473
  }
474
- }), Xe = /* @__PURE__ */ re(Ht, [["__scopeId", "data-v-a9821cf9"]]), Jt = { class: "menu-icon-wrapper" }, zt = { class: "menu-icon-wrapper" }, Nt = /* @__PURE__ */ de({
474
+ }), Ye = /* @__PURE__ */ re(Ht, [["__scopeId", "data-v-a9821cf9"]]), Jt = { class: "menu-icon-wrapper" }, zt = { class: "menu-icon-wrapper" }, Nt = /* @__PURE__ */ de({
475
475
  __name: "SideMenuItem",
476
476
  props: {
477
477
  menu: {}
478
478
  },
479
479
  setup(s) {
480
- const o = s;
481
- return (t, g) => {
482
- const a = w("SideMenuItem", !0), e = w("el-sub-menu"), b = w("el-menu-item");
483
- return t.menu.children && t.menu.children.length > 0 ? (n(), _(e, {
480
+ const a = s;
481
+ return (o, g) => {
482
+ const t = y("SideMenuItem", !0), e = y("el-sub-menu"), b = y("el-menu-item");
483
+ return o.menu.children && o.menu.children.length > 0 ? (n(), I(e, {
484
484
  key: 0,
485
- index: t.menu.path
485
+ index: o.menu.path
486
486
  }, {
487
487
  title: r(() => {
488
- var c, C, A;
488
+ var c, C, k;
489
489
  return [
490
490
  i("div", Jt, [
491
- (n(), _(Ee((c = t.menu.meta) == null ? void 0 : c.icon), { class: "menu-icon" }))
491
+ (n(), I(Se((c = o.menu.meta) == null ? void 0 : c.icon), { class: "menu-icon" }))
492
492
  ]),
493
- i("span", null, Q(t.$t((A = (C = t.menu.meta) == null ? void 0 : C.title) != null ? A : "")), 1)
493
+ i("span", null, Q(o.$t((k = (C = o.menu.meta) == null ? void 0 : C.title) != null ? k : "")), 1)
494
494
  ];
495
495
  }),
496
496
  default: r(() => [
497
- (n(!0), B(ee, null, se(t.menu.children, (c) => (n(), _(a, {
497
+ (n(!0), U(ee, null, se(o.menu.children, (c) => (n(), I(t, {
498
498
  key: c.path,
499
499
  route: c
500
500
  }, null, 8, ["route"]))), 128))
501
501
  ]),
502
502
  _: 1
503
- }, 8, ["index"])) : (n(), _(b, {
503
+ }, 8, ["index"])) : (n(), I(b, {
504
504
  key: 1,
505
- index: o.menu.path,
505
+ index: a.menu.path,
506
506
  style: { height: "40px" }
507
507
  }, {
508
508
  title: r(() => {
509
509
  var c;
510
510
  return [
511
- i("span", null, Q(t.$t((c = t.menu.title) != null ? c : "")), 1)
511
+ i("span", null, Q(o.$t((c = o.menu.title) != null ? c : "")), 1)
512
512
  ];
513
513
  }),
514
514
  default: r(() => [
515
515
  i("div", zt, [
516
- (n(), _(Ee(t.$props.menu.icon), { class: "menu-icon" }))
516
+ (n(), I(Se(o.$props.menu.icon), { class: "menu-icon" }))
517
517
  ])
518
518
  ]),
519
519
  _: 1
520
520
  }, 8, ["index"]));
521
521
  };
522
522
  }
523
- }), Zt = /* @__PURE__ */ re(Nt, [["__scopeId", "data-v-e3b5500a"]]), fe = S({}), Wt = {}, $t = S([]), eo = {
523
+ }), Zt = /* @__PURE__ */ re(Nt, [["__scopeId", "data-v-e3b5500a"]]), he = E({}), Wt = {}, $t = E([]), eo = {
524
524
  xmlns: "http://www.w3.org/2000/svg",
525
525
  width: "32",
526
526
  height: "32",
527
527
  class: "icon",
528
528
  viewBox: "0 0 1024 1024"
529
529
  };
530
- function to(s, o) {
531
- return n(), B("svg", eo, o[0] || (o[0] = [
530
+ function to(s, a) {
531
+ return n(), U("svg", eo, a[0] || (a[0] = [
532
532
  i("path", {
533
533
  fill: "#2c3e50",
534
534
  d: "M958.06 237.681c0 9.612-7.792 17.405-17.404 17.405H79.092c-9.612 0-17.404-7.793-17.404-17.405v-90.03c0-9.612 7.792-17.405 17.404-17.405h861.563c9.612 0 17.404 7.793 17.404 17.405zM958.06 557.488c0 9.612-7.792 17.404-17.404 17.404H79.092c-9.612 0-17.404-7.792-17.404-17.404v-90.03c0-9.612 7.792-17.405 17.404-17.405h861.563c9.612 0 17.404 7.793 17.404 17.405zM958.06 877.295c0 9.612-7.792 17.404-17.404 17.404H79.092c-9.612 0-17.404-7.792-17.404-17.404v-90.03c0-9.613 7.792-17.405 17.404-17.405h861.563c9.612 0 17.404 7.792 17.404 17.404z"
@@ -541,41 +541,41 @@ const oo = { render: to }, ao = { class: "menu-wrapper" }, no = { class: "menu-b
541
541
  menuCollapsed: { type: Boolean }
542
542
  },
543
543
  emits: ["update:menuCollapsed"],
544
- setup(s, { emit: o }) {
545
- const t = s, g = o, a = ke(), e = S(), b = Qe(() => {
544
+ setup(s, { emit: a }) {
545
+ const o = s, g = a, t = _e(), e = E(), b = xe(() => {
546
546
  var V;
547
- const A = a.meta.activeMenu;
548
- if (A === "{model}") {
549
- let G = a.params.app ? `${a.params.app}/${a.params.model}` : a.params.model;
550
- return "/" + ((V = Wt[a.params.model]) != null ? V : G);
547
+ const k = t.meta.activeMenu;
548
+ if (k === "{model}") {
549
+ let R = t.params.app ? `${t.params.app}/${t.params.model}` : t.params.model;
550
+ return "/" + ((V = Wt[t.params.model]) != null ? V : R);
551
551
  } else
552
- return A;
553
- }), c = S(!1);
552
+ return k;
553
+ }), c = E(!1);
554
554
  function C() {
555
- console.log("change"), g("update:menuCollapsed", !t.menuCollapsed);
555
+ console.log("change"), g("update:menuCollapsed", !o.menuCollapsed);
556
556
  }
557
- return me(c, () => {
557
+ return ue(c, () => {
558
558
  c.value && e.value.style.width && (e.value.style.width += "200");
559
- }), (A, V) => {
560
- const G = w("el-menu");
561
- return n(), B("div", ao, [
559
+ }), (k, V) => {
560
+ const R = y("el-menu");
561
+ return n(), U("div", ao, [
562
562
  i("div", no, [
563
563
  d(v(oo), {
564
564
  class: "menu-button",
565
565
  onClick: C
566
566
  })
567
567
  ]),
568
- d(G, {
568
+ d(R, {
569
569
  class: "menu",
570
570
  "default-active": b.value,
571
571
  "default-openeds": ["table"],
572
572
  router: "",
573
- collapse: t.menuCollapsed
573
+ collapse: o.menuCollapsed
574
574
  }, {
575
575
  default: r(() => [
576
- (n(!0), B(ee, null, se(v($t), (L) => (n(), _(Zt, {
577
- key: L.path,
578
- menu: L
576
+ (n(!0), U(ee, null, se(v($t), (X) => (n(), I(Zt, {
577
+ key: X.path,
578
+ menu: X
579
579
  }, null, 8, ["menu"]))), 128))
580
580
  ]),
581
581
  _: 1
@@ -583,30 +583,30 @@ const oo = { render: to }, ao = { class: "menu-wrapper" }, no = { class: "menu-b
583
583
  ]);
584
584
  };
585
585
  }
586
- }), Ye = /* @__PURE__ */ re(lo, [["__scopeId", "data-v-f9a7b402"]]), so = { class: "container" }, ro = /* @__PURE__ */ de({
586
+ }), qe = /* @__PURE__ */ re(lo, [["__scopeId", "data-v-f9a7b402"]]), so = { class: "container" }, ro = /* @__PURE__ */ de({
587
587
  __name: "ConsoleApp",
588
588
  props: {
589
589
  title: {},
590
590
  helpDocUrl: {}
591
591
  },
592
592
  setup(s) {
593
- const o = ke(), t = S(!1), g = S(), a = s;
594
- return me(t, () => {
595
- t.value ? g.value.style.width = "100%" : (g.value.style.transition = "width 0.5s ease", g.value.style.width = "calc(100% - 250px)");
593
+ const a = _e(), o = E(!1), g = E(), t = s;
594
+ return ue(o, () => {
595
+ o.value ? g.value.style.width = "100%" : (g.value.style.transition = "width 0.5s ease", g.value.style.width = "calc(100% - 250px)");
596
596
  }), (e, b) => {
597
- const c = w("router-view");
598
- return n(), B(ee, null, [
599
- v(o).query.embedded !== "true" ? (n(), _(Xe, {
597
+ const c = y("router-view");
598
+ return n(), U(ee, null, [
599
+ v(a).query.embedded !== "true" ? (n(), I(Ye, {
600
600
  key: 0,
601
- title: a.title,
602
- helpDocUrl: a.helpDocUrl
603
- }, null, 8, ["title", "helpDocUrl"])) : T("", !0),
601
+ title: t.title,
602
+ helpDocUrl: t.helpDocUrl
603
+ }, null, 8, ["title", "helpDocUrl"])) : K("", !0),
604
604
  i("div", so, [
605
- v(o).query.embedded !== "true" ? (n(), _(Ye, {
605
+ v(a).query.embedded !== "true" ? (n(), I(qe, {
606
606
  key: 0,
607
- menuCollapsed: t.value,
608
- "onUpdate:menuCollapsed": b[0] || (b[0] = (C) => t.value = C)
609
- }, null, 8, ["menuCollapsed"])) : T("", !0),
607
+ menuCollapsed: o.value,
608
+ "onUpdate:menuCollapsed": b[0] || (b[0] = (C) => o.value = C)
609
+ }, null, 8, ["menuCollapsed"])) : K("", !0),
610
610
  i("main", {
611
611
  ref_key: "mainWrapperRef",
612
612
  ref: g,
@@ -623,29 +623,29 @@ const oo = { render: to }, ao = { class: "menu-wrapper" }, no = { class: "menu-b
623
623
  width: "800",
624
624
  height: "800"
625
625
  };
626
- function co(s, o) {
627
- return n(), B("svg", io, o[0] || (o[0] = [
626
+ function co(s, a) {
627
+ return n(), U("svg", io, a[0] || (a[0] = [
628
628
  ot('<defs><linearGradient id="a" x1="399.126" x2="399.126" y1="159.978" y2="715.47" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4f2fb"></stop><stop offset="1" stop-color="#e1eef5"></stop></linearGradient><linearGradient id="b" x1="481.607" x2="481.607" y1="594.251" y2="423.306" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".362" stop-color="#b4c9db"></stop><stop offset=".898" stop-color="#ecf0f9"></stop></linearGradient><linearGradient id="c" x1="114.87" x2="114.87" y1="540.843" y2="403.668" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="d" x1="114.872" x2="114.872" y1="418.9" y2="570.033" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="e" x1="615.999" x2="615.999" y1="449.321" y2="360.996" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="f" x1="616" x2="616" y1="370.804" y2="468.116" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="g" x1="672.709" x2="672.709" y1="544.867" y2="510.536" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="h" x1="672.77" x2="672.77" y1="514.871" y2="570.135" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="i" x1="461.917" x2="427.163" y1="86.714" y2="146.91" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ffdb80"></stop><stop offset="1" stop-color="#ffbb24"></stop></linearGradient><linearGradient id="j" x1="419.58" x2="419.58" y1="117.18" y2="174.634" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f9fafe"></stop><stop offset="1" stop-color="#e5edf7"></stop></linearGradient><linearGradient id="k" x1="-1967.352" x2="-2213.626" y1="525.737" y2="279.463" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#9fb6cc"></stop><stop offset="1" stop-color="#d5e1f2"></stop></linearGradient><linearGradient id="l" x1="-1980.099" x2="-2214.789" y1="526.438" y2="291.748" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#b6cadc"></stop><stop offset="1" stop-color="#dfe8f9"></stop></linearGradient><linearGradient id="m" x1="441.358" x2="329.96" y1="472.657" y2="361.259" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#9fb6cc"></stop><stop offset="1" stop-color="#bccde1"></stop></linearGradient><linearGradient id="n" x1="569.328" x2="454.912" y1="597.606" y2="483.19" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#afc5d8"></stop><stop offset="1" stop-color="#dfe8f9"></stop></linearGradient><linearGradient id="o" x1="562.331" x2="453.712" y1="598.807" y2="490.188" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#c7d4e5"></stop><stop offset=".687" stop-color="#e8eff8"></stop></linearGradient><linearGradient id="p" x1="219.375" x2="219.375" y1="553.783" y2="478.333" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffb32c"></stop></linearGradient><linearGradient id="q" x1="220.421" x2="220.421" y1="465.465" y2="489.367" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4ae98"></stop><stop offset="1" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="r" x1="-840.016" x2="-828.333" y1="946.367" y2="864.11" gradientTransform="rotate(-8.082 -3028.264 -6569.32)" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffa91f"></stop></linearGradient><linearGradient id="s" x1="-7035.52" x2="-7023.838" y1="66.46" y2="-15.798" gradientTransform="scale(-1 1)rotate(-8.082 -118.132 -47761.005)" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffa91f"></stop></linearGradient><linearGradient id="t" x1="219.375" x2="219.375" y1="526.535" y2="574.482" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#275c89"></stop><stop offset="1" stop-color="#013f7c"></stop></linearGradient><linearGradient id="u" x1="6174.812" x2="6157.838" y1="595.174" y2="595.174" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="v" x1="196.36" x2="283.925" y1="576.466" y2="576.466" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#18264b"></stop><stop offset=".652" stop-color="#2d3c65"></stop></linearGradient><linearGradient id="w" x1="176.617" x2="176.617" y1="604.946" y2="586.928" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4673bc"></stop><stop offset=".652" stop-color="#6a94e0"></stop></linearGradient><linearGradient id="x" x1="238.667" x2="255.641" y1="595.174" y2="595.174" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="y" x1="158.041" x2="245.606" y1="576.466" y2="576.466" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#445677"></stop><stop offset="1" stop-color="#293861"></stop></linearGradient><linearGradient id="z" x1="265.35" x2="265.35" y1="604.946" y2="586.928" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4673bc"></stop><stop offset=".652" stop-color="#6a94e0"></stop></linearGradient><linearGradient id="A" x1="236.065" x2="204.828" y1="459.983" y2="459.983" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="B" x1="200.53" x2="236.795" y1="447.908" y2="447.908" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4f5c7c"></stop><stop offset="1" stop-color="#274168"></stop></linearGradient></defs><path fill="url(#a)" d="M482.38 201.33c-38.37 30.29-120.74 33.81-181.17-2.22s-172-31.38-202.22 34.87 37.19 131.33 12.78 178.98S6.01 528.01 61.8 609.36s126.6 60.62 169.22 52.45c84.17-16.13 189.79 115.67 308.62 16.13 68.47-57.35 170.44 42.09 210.17-81.36 32.78-101.86-85.67-139.5-49.97-208.03 37.96-72.88 30.67-159.24-10.46-201.06-38.31-38.96-140.75-38.46-207 13.84"></path><path fill="url(#b)" d="M393.48 423.31h216.44l-22.53 49.03s59.19 57.86-14.13 121.91c-134.28-44.17-221.74-37.1-219.98-38.87 1.77-1.77 40.2-132.07 40.2-132.07"></path><path fill="url(#c)" d="M115.65 403.91s-.22-.57-.52.04c-2.7 5.49-27.15 64.96-29.09 110.86 0 0-4.08 26.37 30.11 26.02 28.54-.29 27.78-24.6 27.68-32.79-.38-33.22-28.18-104.13-28.18-104.13"></path><path fill="url(#d)" d="M114.87 570.03c-.55 0-1-.45-1-1V419.9c0-.55.45-1 1-1s1 .45 1 1v149.13c0 .56-.45 1-1 1"></path><path fill="url(#e)" d="M616.5 361.15s-.14-.37-.33.03c-1.74 3.53-17.48 41.83-18.73 71.38 0 0-2.63 16.98 19.39 16.76 18.38-.18 17.89-15.84 17.82-21.11-.25-21.4-18.15-67.06-18.15-67.06"></path><path fill="url(#f)" d="M616 468.12c-.36 0-.64-.29-.64-.64v-96.02c0-.36.29-.64.64-.64.36 0 .64.29.64.64v96.02c0 .35-.28.64-.64.64"></path><path fill="url(#g)" d="M689.88 527.7c0 9.48-7.69 17.17-17.17 17.17s-17.17-7.69-17.17-17.17 7.69-17.17 17.17-17.17 17.17 7.69 17.17 17.17"></path><path fill="url(#h)" d="M672.77 570.13c-.29 0-.53-.24-.53-.53v-54.2c0-.29.24-.53.53-.53s.53.24.53.53v54.21c0 .29-.24.52-.53.52"></path><path fill="url(#i)" d="M479.29 116.81c0 19.19-15.56 34.75-34.75 34.75s-34.75-15.56-34.75-34.75 15.56-34.75 34.75-34.75 34.75 15.56 34.75 34.75"></path><path fill="url(#j)" d="M464.32 135.76h-34.57c-2.23-10.61-11.65-18.58-22.93-18.58s-20.69 7.97-22.93 18.58h-9.05c-10.73 0-19.44 8.7-19.44 19.44 0 10.73 8.7 19.44 19.44 19.44h89.47c10.73 0 19.44-8.7 19.44-19.44s-8.7-19.44-19.43-19.44"></path><path fill="url(#k)" d="M235.65 388.64c0-24.52-.03-49.03.01-73.54.02-14.37 4.24-18.36 17.97-20.53 41.87-6.61 82.03-18.72 117.91-42.29 10.38-6.82 18.3-7.59 29.06-.47 34.85 23.06 73.26 37.11 114.55 42.8 13.12 1.81 16.84 5.88 16.85 19.25.04 45.72-.4 91.44.18 137.15.34 26.77-8.17 49.99-24.02 70.73-31.46 41.17-74.88 63.76-122.21 80.03-2.5.86-5.83.67-8.36-.23-38.47-13.74-74.58-31.84-104.15-61.09-22.97-22.73-37.84-49.56-37.79-83.22.03-22.87 0-45.73 0-68.59"></path><path fill="url(#l)" d="M234.76 396.09c0-23.21-.03-46.42.01-69.63.02-13.61 4.06-17.38 17.23-19.43 40.15-6.26 78.67-17.72 113.07-40.04 9.95-6.46 17.55-7.18 27.86-.44 33.42 21.83 70.25 35.14 109.84 40.52 12.58 1.71 16.14 5.56 16.15 18.22.03 43.28-.38 86.57.18 129.84.33 25.34-7.83 47.33-23.03 66.96-30.17 38.98-71.81 60.36-117.19 75.77-2.4.81-5.59.64-8.01-.22-36.89-13.01-71.52-30.14-99.87-57.84-22.03-21.52-36.28-46.91-36.23-78.78.02-21.65 0-43.29-.01-64.93"></path><path fill="url(#m)" d="M398.42 430.39c23.18-5.61 40.41-26.11 40.41-50.49 0-28.68-23.85-52.01-53.17-52.01s-53.17 23.33-53.17 52.01c0 24.38 17.24 44.88 40.41 50.49v85.2h25.52v-36.38h32.67v-24.96h-32.67zM358 379.91c0-14.91 12.41-27.05 27.65-27.05S413.3 365 413.3 379.91s-12.41 27.05-27.65 27.05S358 394.82 358 379.91"></path><path fill="#fff" d="M394.5 433.67c21.8-5.39 38.01-25.1 38.01-48.54 0-27.58-22.43-50.01-50.01-50.01s-50.01 22.43-50.01 50.01c0 23.44 16.21 43.15 38.01 48.54v81.92h24v-34.98h30.73v-24H394.5zm-38.01-48.54c0-14.34 11.67-26.01 26.01-26.01s26.01 11.67 26.01 26.01-11.67 26.01-26.01 26.01-26.01-11.67-26.01-26.01"></path><path fill="url(#n)" d="M593.02 540.4c0 44.68-36.22 80.9-80.9 80.9s-80.9-36.22-80.9-80.9 36.22-80.9 80.9-80.9 80.9 36.22 80.9 80.9"></path><path fill="url(#o)" d="M584.83 544.5c0 42.42-34.39 76.81-76.81 76.81s-76.81-34.39-76.81-76.81 34.39-76.81 76.81-76.81 76.81 34.39 76.81 76.81"></path><path fill="#fff" d="m525.32 542.26 23.01-23.01c4.44-4.44 4.44-11.63 0-16.06-4.44-4.44-11.63-4.44-16.06 0l-23.01 23.01-23.01-23.01c-4.44-4.44-11.63-4.44-16.06 0-4.44 4.44-4.44 11.63 0 16.06l23.01 23.01-23.01 23.01c-4.44 4.44-4.44 11.63 0 16.06 2.22 2.22 5.13 3.33 8.03 3.33s5.81-1.11 8.03-3.33l23.01-23.01 23.01 23.01c2.22 2.22 5.13 3.33 8.03 3.33s5.81-1.11 8.03-3.33c4.44-4.44 4.44-11.63 0-16.06z"></path><path fill="url(#p)" d="M211.59 478.69s-18.31-2.53-24.25 5.88c-5.95 8.41-8.12 29.95-8.12 29.95l13.78-.73-1.16 25.09 25.42 14.9 36.22-19.48-5.51-22.73 11.57-3.02s-3.45-32.99-19.55-28.12c-8.27.89-10.88.74-10.88.74s-2.18 6.94-9.65 6.35-7.87-8.83-7.87-8.83"></path><path fill="url(#q)" d="m213.42 468.32-3.8 16.97c-.18.8.24 1.61.99 1.92 1.97.8 5.9 2.16 9.95 2.16 4.2 0 8.16-2.3 9.98-3.53.63-.42.89-1.21.65-1.93l-5.82-17.31a1.68 1.68 0 0 0-1.88-1.12l-8.72 1.55c-.67.12-1.2.63-1.35 1.29"></path><path fill="url(#r)" d="M190.69 481.63c5.33-1.77 12.55-.59 12.85 11.37.29 11.95-11.42 31-7.22 37.63 4.25 6.71 13.34 16.25 19.12 21.68-1.34 6.38-4.98 11.75-4.98 11.75s-21.31-9.83-30.59-19.68-4.6-32.43-.3-48.5c3.24-12.12 11.12-14.25 11.12-14.25"></path><path fill="url(#s)" d="M246.53 481.63c-5.33-1.77-12.55-.59-12.85 11.37-.29 11.95 11.42 31 7.22 37.63-4.25 6.71-13.34 16.25-19.12 21.68 1.34 6.38 4.98 11.75 4.98 11.75s21.31-9.83 30.59-19.68 4.6-32.43.3-48.5c-3.24-12.12-11.12-14.25-11.12-14.25"></path><path fill="url(#t)" d="M193.27 574.48h51.74c2.34 0 4.44-1.78 5.25-4.45l10.43-34.31c1.35-4.45-1.35-9.19-5.25-9.19h-72.12c-3.86 0-6.57 4.65-5.28 9.09l9.96 34.31c.79 2.73 2.9 4.55 5.27 4.55"></path><path fill="#fff" d="M191.21 590.26s-.8-1.76-1.41-1.95c-.62-.19-9.46-.54-12.69-1.38s-12.54-2.16-16.52 1.61c-3.47 3.29-4.62 10.97.67 15.39 1.98 1.72 3.93 2.23 11.28 1.89s18-.27 20.34-3.67c-.09-5.63-1.67-11.89-1.67-11.89"></path><path fill="url(#u)" d="M199.42 588.31s-8.54 1.92-11.6 1.64c-3.05-.28-.5 12.02-.5 12.02s8.16.56 15.37-1.52c2.44-9.43-3.27-12.14-3.27-12.14"></path><path fill="url(#v)" d="m196.36 587.86 4.44 13.81s95.43-12.57 81.79-43.54c-11.4-25.89-86.23 29.73-86.23 29.73"></path><path fill="url(#w)" d="M190.1 588.93s3.5 1.37 3.94 6.24-1 8.15-8.43 9.05-9.32.56-13.98.68c-4.66.11-11.43.56-12.43-8.3s8.06-11.12 17.46-8.86c2.95.57 13.44 1.19 13.44 1.19"></path><path fill="#fff" d="M250.76 590.26s.8-1.76 1.41-1.95c.62-.19 9.46-.54 12.69-1.38s11.9-2.23 16.28 1.51c4.06 3.47 4.33 11.14-.3 15.37-1.98 1.72-4.07 2.35-11.42 2.01s-18-.27-20.34-3.67c.09-5.63 1.68-11.89 1.68-11.89"></path><path fill="url(#x)" d="M242.55 588.31s8.54 1.92 11.6 1.64.5 12.02.5 12.02-8.16.56-15.37-1.52c-2.45-9.43 3.27-12.14 3.27-12.14"></path><path fill="url(#y)" d="m245.61 587.86-4.44 13.81s-95.43-12.57-81.79-43.54c11.4-25.89 86.23 29.73 86.23 29.73"></path><path fill="url(#z)" d="M251.87 588.93s-3.5 1.37-3.94 6.24 1 8.15 8.43 9.05 9.32.56 13.98.68c4.66.11 11.43.56 12.43-8.3s-8.06-11.12-17.46-8.86c-2.96.57-13.44 1.19-13.44 1.19"></path><path fill="url(#A)" d="M235.39 461.53c.57-.81.93-2.88.46-3.48-.84-.68-1.63-.29-2.23.3.14-4.94-.31-9.05-.42-10.09-.31-3.03-3.39-8.58-13.46-8.58s-12.03 7.27-12.03 7.27-.66 5.14-.46 11.38c-.6-.57-1.39-.95-2.21-.28-.46.61-.1 2.68.46 3.48.57.81.93 2.73 1.03 3.79.1 1.01-.63 3.69 2.02 3.35 1.58 6.33 7.99 11.61 11.96 11.61 4.35 0 10.13-5.32 11.77-11.62 2.71.37 1.97-2.33 2.07-3.35.12-1.05.48-2.97 1.04-3.78"></path><path fill="url(#B)" d="M227 437.52s-1.97-6.19-9.5-4.71c-7.54 1.48-8.05 5.04-11 5.18-5.05.24-9.09 6.53-2.61 13.19 2.88 2.97.45 4.24 1.82 6.87s1.36 5.18 1.36 5.18 2.41-7.69.82-10.97c-.82-1.69 2.81-2.15 7.33-1.75s11.65-1.09 12.21-4.17c1.34 6.31 2.67 6.97 4.37 7.93s1.8 8.58 1.8 8.58.3-5.6 1.48-6.87c.98-2.07 2.88-10.2.73-12.17s-.35-8.29-8.81-6.29"></path>', 33)
629
629
  ]));
630
630
  }
631
631
  const po = { render: co }, uo = {}, fo = { class: "wrapper" }, mo = { class: "content" };
632
- function ho(s, o) {
633
- const t = w("el-button");
634
- return n(), B("div", fo, [
635
- o[4] || (o[4] = i("img", { src: po }, null, -1)),
632
+ function ho(s, a) {
633
+ const o = y("el-button");
634
+ return n(), U("div", fo, [
635
+ a[4] || (a[4] = i("img", { src: po }, null, -1)),
636
636
  i("div", mo, [
637
- o[3] || (o[3] = i("h1", null, "You have no permission to access the page.", -1)),
638
- d(t, { type: "primary" }, {
639
- default: r(() => o[1] || (o[1] = [
640
- z("Apply")
637
+ a[3] || (a[3] = i("h1", null, "You have no permission to access the page.", -1)),
638
+ d(o, { type: "primary" }, {
639
+ default: r(() => a[1] || (a[1] = [
640
+ N("Apply")
641
641
  ])),
642
642
  _: 1
643
643
  }),
644
- d(t, {
645
- onClick: o[0] || (o[0] = (g) => s.$router.go(-1))
644
+ d(o, {
645
+ onClick: a[0] || (a[0] = (g) => s.$router.go(-1))
646
646
  }, {
647
- default: r(() => o[2] || (o[2] = [
648
- z("Go Back")
647
+ default: r(() => a[2] || (a[2] = [
648
+ N("Go Back")
649
649
  ])),
650
650
  _: 1
651
651
  })
@@ -653,9 +653,9 @@ function ho(s, o) {
653
653
  ]);
654
654
  }
655
655
  const go = /* @__PURE__ */ re(uo, [["render", ho], ["__scopeId", "data-v-0155b361"]]), vo = {};
656
- function bo(s, o) {
657
- const t = w("router-view");
658
- return n(), _(t);
656
+ function bo(s, a) {
657
+ const o = y("router-view");
658
+ return n(), I(o);
659
659
  }
660
660
  const Co = /* @__PURE__ */ re(vo, [["render", bo]]), yo = { class: "card-wrapper" }, wo = ["onClick"], Ao = { class: "card-inner-wrapper" }, ko = { class: "card-title" }, _o = { class: "icon" }, Io = /* @__PURE__ */ de({
661
661
  __name: "TabCard",
@@ -664,31 +664,31 @@ const Co = /* @__PURE__ */ re(vo, [["render", bo]]), yo = { class: "card-wrapper
664
664
  tableRef: {}
665
665
  },
666
666
  setup(s) {
667
- const { t: o } = _e(), t = ke(), g = xe(), a = s, e = S(a.cards[0].key);
667
+ const { t: a } = Ie(), o = _e(), g = Be(), t = s, e = E(t.cards[0].key);
668
668
  function b(c) {
669
- c.disabled || (e.value = c.key, a.tableRef.updateConfigAndRefresh(c.model), g.push({
670
- path: t.path,
671
- query: Re(Ie({}, t.query), { tab: c.key })
669
+ c.disabled || (e.value = c.key, t.tableRef.updateConfigAndRefresh(c.model), g.push({
670
+ path: o.path,
671
+ query: Ve(Ee({}, o.query), { tab: c.key })
672
672
  }));
673
673
  }
674
674
  return Oe(() => {
675
675
  let c;
676
- if (t.query.tab !== void 0) {
677
- for (let C of a.cards)
678
- if (C.key === t.query.tab) {
676
+ if (o.query.tab !== void 0) {
677
+ for (let C of t.cards)
678
+ if (C.key === o.query.tab) {
679
679
  e.value = C.key, c = C;
680
680
  break;
681
681
  }
682
682
  }
683
- Ve(() => {
684
- a.tableRef && a.cards && a.cards.length > 0 && a.tableRef.updateConfigAndRefresh((c != null ? c : a.cards[0]).model);
683
+ De(() => {
684
+ t.tableRef && t.cards && t.cards.length > 0 && t.tableRef.updateConfigAndRefresh((c != null ? c : t.cards[0]).model);
685
685
  });
686
- }), me(
687
- () => a.cards,
686
+ }), ue(
687
+ () => t.cards,
688
688
  (c) => {
689
- if (t.query.tab !== void 0) {
690
- for (let C of a.cards)
691
- if (C.key === t.query.tab) {
689
+ if (o.query.tab !== void 0) {
690
+ for (let C of t.cards)
691
+ if (C.key === o.query.tab) {
692
692
  e.value = C.key;
693
693
  break;
694
694
  }
@@ -698,47 +698,47 @@ const Co = /* @__PURE__ */ re(vo, [["render", bo]]), yo = { class: "card-wrapper
698
698
  {
699
699
  deep: !0
700
700
  }
701
- ), (c, C) => (n(), B("div", yo, [
702
- (n(!0), B(ee, null, se(a.cards, (A) => (n(), B("div", {
703
- class: De(["card", { "card-selected": e.value === A.key }]),
704
- onClick: (V) => b(A)
701
+ ), (c, C) => (n(), U("div", yo, [
702
+ (n(!0), U(ee, null, se(t.cards, (k) => (n(), U("div", {
703
+ class: Te(["card", { "card-selected": e.value === k.key }]),
704
+ onClick: (V) => b(k)
705
705
  }, [
706
706
  i("div", Ao, [
707
707
  i("div", ko, [
708
708
  i("div", _o, [
709
- A.icon ? (n(), _(Ee(A.icon), {
709
+ k.icon ? (n(), I(Se(k.icon), {
710
710
  key: 0,
711
711
  class: "svg-icon"
712
- })) : T("", !0)
712
+ })) : K("", !0)
713
713
  ]),
714
714
  i("span", {
715
- style: Ue({ color: A.disabled ? "#aaa" : "black" })
716
- }, Q(v(o)(A.label)), 5)
715
+ style: Ge({ color: k.disabled ? "#aaa" : "black" })
716
+ }, Q(v(a)(k.label)), 5)
717
717
  ]),
718
- i("span", null, Q(A.count), 1)
718
+ i("span", null, Q(k.count), 1)
719
719
  ])
720
720
  ], 10, wo))), 256))
721
721
  ]));
722
722
  }
723
- }), qe = /* @__PURE__ */ re(Io, [["__scopeId", "data-v-3d98d97f"]]);
724
- function ge(s, o, t) {
725
- switch (o) {
723
+ }), He = /* @__PURE__ */ re(Io, [["__scopeId", "data-v-3d98d97f"]]);
724
+ function ve(s, a, o) {
725
+ switch (a) {
726
726
  case "POST":
727
- return ie.post(s, t);
727
+ return ie.post(s, o);
728
728
  case "PUT":
729
- return ie.put(s, t);
729
+ return ie.put(s, o);
730
730
  case "DELETE":
731
- return ie.delete(s + "/" + t);
731
+ return ie.delete(s + "/" + o);
732
732
  default:
733
- return ie.get(s, { params: t });
733
+ return ie.get(s, { params: o });
734
734
  }
735
735
  }
736
- const Ae = (s) => {
737
- const o = Object.keys(s);
738
- let t = {};
739
- o.forEach((g) => {
740
- t[g] = void 0;
741
- }), Object.assign(s, t);
736
+ const ke = (s) => {
737
+ const a = Object.keys(s);
738
+ let o = {};
739
+ a.forEach((g) => {
740
+ o[g] = void 0;
741
+ }), Object.assign(s, o);
742
742
  }, Eo = {
743
743
  key: 1,
744
744
  class: "view-span"
@@ -753,41 +753,41 @@ const Ae = (s) => {
753
753
  afterSubmitFunc: { type: Function }
754
754
  },
755
755
  emits: ["update:id"],
756
- setup(s, { expose: o, emit: t }) {
757
- const { t: g } = Se.global, a = s, e = le({}), b = S(!1), c = S(), C = le({}), A = S(!0), V = (m) => a.mode === "view" && (X(m, void 0) || X(m, "input") || X(m, "select") || X(m, "password")), G = Qe(() => a.model.fields ? a.model.fields.filter(
756
+ setup(s, { expose: a, emit: o }) {
757
+ const { t: g } = Me.global, t = s, e = le({}), b = E(!1), c = E(), C = le({}), k = E(!0), V = (m) => t.mode === "view" && (q(m, void 0) || q(m, "input") || q(m, "select") || q(m, "password")), R = xe(() => t.model.fields ? t.model.fields.filter(
758
758
  (m) => {
759
- var h, y, x, M;
760
- let P = m.visible !== !1 && ((h = m.formItemAttributes) == null ? void 0 : h.visible) !== !1;
761
- if (a.mode !== "view" && ((y = m.formItemAttributes) == null ? void 0 : y.editable) === !1 || a.mode === "view" && ((x = m.formItemAttributes) == null ? void 0 : x.type) === "password")
759
+ var G, _, A, x;
760
+ let T = m.visible !== !1 && ((G = m.formItemAttributes) == null ? void 0 : G.visible) !== !1;
761
+ if (t.mode !== "view" && ((_ = m.formItemAttributes) == null ? void 0 : _.editable) === !1 || t.mode === "view" && ((A = m.formItemAttributes) == null ? void 0 : A.type) === "password")
762
762
  return !1;
763
- let f = (M = m.formItemAttributes) == null ? void 0 : M.showCondition;
764
- return f && f.field && f.value ? e[f.field] === f.value : P;
763
+ let h = (x = m.formItemAttributes) == null ? void 0 : x.showCondition;
764
+ return h && h.field && h.value ? e[h.field] === h.value : T;
765
765
  }
766
766
  ) : []);
767
- me([() => a.id, () => a.sessionId], () => {
768
- K();
767
+ ue([() => t.id, () => t.sessionId], () => {
768
+ P();
769
769
  });
770
- function L() {
771
- const m = a.model.fields;
772
- let P = {};
773
- m == null || m.forEach((f) => {
774
- var h, y, x, M, U, Y, I, u, F;
775
- if (e[f.prop] = null, f.visible !== !1 && ((h = f.formItemAttributes) == null ? void 0 : h.visible) !== !1) {
776
- if (((y = f.formItemAttributes) == null ? void 0 : y.defaultValue) !== void 0 ? e[f.prop] = (x = f.formItemAttributes) == null ? void 0 : x.defaultValue : e[f.prop] = void 0, a.mode !== "view") {
777
- let q = (M = f.formItemAttributes) == null ? void 0 : M.validationRule;
778
- q !== void 0 && (P[f.prop] = q), Object.assign(C, P);
770
+ function X() {
771
+ const m = t.model.fields;
772
+ let T = {};
773
+ m == null || m.forEach((h) => {
774
+ var G, _, A, x, M, F, L, p, S;
775
+ if (e[h.prop] = null, h.visible !== !1 && ((G = h.formItemAttributes) == null ? void 0 : G.visible) !== !1) {
776
+ if (((_ = h.formItemAttributes) == null ? void 0 : _.defaultValue) !== void 0 ? e[h.prop] = (A = h.formItemAttributes) == null ? void 0 : A.defaultValue : e[h.prop] = void 0, t.mode !== "view") {
777
+ let H = (x = h.formItemAttributes) == null ? void 0 : x.validationRule;
778
+ H !== void 0 && (T[h.prop] = H), Object.assign(C, T);
779
779
  }
780
- const k = f.formItemAttributes, l = k == null ? void 0 : k.type, E = (U = k == null ? void 0 : k.selectAttributes) == null ? void 0 : U.api, O = (Y = k == null ? void 0 : k.selectAttributes) == null ? void 0 : Y.valueMappingField, Z = (I = k == null ? void 0 : k.selectAttributes) == null ? void 0 : I.labelMappingField;
781
- if (l === "select" && E) {
782
- let q = E;
783
- const oe = (u = k == null ? void 0 : k.selectAttributes) == null ? void 0 : u.queryParamName, ce = (F = k == null ? void 0 : k.selectAttributes) == null ? void 0 : F.queryParamValueField;
784
- oe && (q = `${q}?${oe}=${a.id}`), ce || ge(q, "GET", {}).then(({ data: ae }) => {
780
+ const u = h.formItemAttributes, l = u == null ? void 0 : u.type, f = (M = u == null ? void 0 : u.selectAttributes) == null ? void 0 : M.api, B = (F = u == null ? void 0 : u.selectAttributes) == null ? void 0 : F.valueMappingField, Z = (L = u == null ? void 0 : u.selectAttributes) == null ? void 0 : L.labelMappingField;
781
+ if (l === "select" && f) {
782
+ let H = f;
783
+ const oe = (p = u == null ? void 0 : u.selectAttributes) == null ? void 0 : p.queryParamName, ce = (S = u == null ? void 0 : u.selectAttributes) == null ? void 0 : S.queryParamValueField;
784
+ oe && (H = `${H}?${oe}=${t.id}`), ce || ve(H, "GET", {}).then(({ data: ae }) => {
785
785
  var ne;
786
- if ((ne = f.formItemAttributes) != null && ne.selectAttributes) {
787
- let R = [];
788
- Array.isArray(ae.data) ? R = ae.data : ae.data.list && Array.isArray(ae.data.list) && (R = ae.data.list), f.formItemAttributes.selectAttributes.options = R.map(($) => ({
789
- value: O ? $[O] : $.value,
790
- label: Z ? $[Z] : $.label
786
+ if ((ne = h.formItemAttributes) != null && ne.selectAttributes) {
787
+ let $ = [];
788
+ Array.isArray(ae.data) ? $ = ae.data : ae.data.list && Array.isArray(ae.data.list) && ($ = ae.data.list), h.formItemAttributes.selectAttributes.options = $.map((j) => ({
789
+ value: B ? j[B] : j.value,
790
+ label: Z ? j[Z] : j.label
791
791
  }));
792
792
  }
793
793
  });
@@ -795,20 +795,20 @@ const Ae = (s) => {
795
795
  }
796
796
  });
797
797
  }
798
- function K() {
798
+ function P() {
799
799
  var m;
800
- D(), A.value = (m = a.model.useI18n) != null ? m : !0, L(), (a.mode === "update" || a.mode === "view") && a.id !== void 0 && a.id !== "" && (b.value = !0, ge(`${a.model.api}/${a.id}`, "GET", {}).then(({ data: P }) => {
801
- Ae(e), Object.assign(e, P.data), b.value = !1;
800
+ console.log("init form", t.id, t.model), D(), k.value = (m = t.model.useI18n) != null ? m : !0, X(), (t.mode === "update" || t.mode === "view") && t.id !== void 0 && t.id !== "" && (b.value = !0, ve(`${t.model.api}/${t.id}`, "GET", {}).then(({ data: T }) => {
801
+ ke(e), Object.assign(e, T.data), b.value = !1;
802
802
  }));
803
803
  }
804
- function J() {
805
- return new Promise((m, P) => {
806
- var h, y, x, M;
807
- ((y = (h = a.model.formConfig) == null ? void 0 : h.functions) == null ? void 0 : y.beforeSubmit) !== void 0 && Object.assign(e, (M = (x = a.model.formConfig) == null ? void 0 : x.functions) == null ? void 0 : M.beforeSubmit(e));
808
- let f = a.mode === "create" ? "POST" : "PUT";
809
- a.model.api && ge(a.model.api, f, e).then(({ data: U }) => {
810
- var Y, I, u, F;
811
- U.code === 0 && (a.closeDialogFunc && a.closeDialogFunc(), ((I = (Y = a.model.formConfig) == null ? void 0 : Y.functions) == null ? void 0 : I.afterSubmit) !== void 0 && ((F = (u = a.model.formConfig) == null ? void 0 : u.functions) == null || F.afterSubmit(U.data)), a.afterSubmitFunc && a.afterSubmitFunc(), m());
804
+ function z() {
805
+ return new Promise((m, T) => {
806
+ var G, _, A, x;
807
+ ((_ = (G = t.model.formConfig) == null ? void 0 : G.functions) == null ? void 0 : _.beforeSubmit) !== void 0 && Object.assign(e, (x = (A = t.model.formConfig) == null ? void 0 : A.functions) == null ? void 0 : x.beforeSubmit(e));
808
+ let h = t.mode === "create" ? "POST" : "PUT";
809
+ t.model.api && ve(t.model.api, h, e).then(({ data: M }) => {
810
+ var F, L, p, S;
811
+ M.code === 0 && (t.closeDialogFunc && t.closeDialogFunc(), ((L = (F = t.model.formConfig) == null ? void 0 : F.functions) == null ? void 0 : L.afterSubmit) !== void 0 && ((S = (p = t.model.formConfig) == null ? void 0 : p.functions) == null || S.afterSubmit(M.data)), t.afterSubmitFunc && t.afterSubmitFunc(), m());
812
812
  });
813
813
  });
814
814
  }
@@ -816,58 +816,58 @@ const Ae = (s) => {
816
816
  var m;
817
817
  (m = c.value) == null || m.resetFields();
818
818
  }
819
- function p(m) {
820
- return m.label ? A ? g(m.label) : m.label : m.prop.slice(0, 1).toUpperCase() + m.prop.slice(1).toLowerCase();
819
+ function O(m) {
820
+ return m.label ? k ? g(m.label) : m.label : m.prop.slice(0, 1).toUpperCase() + m.prop.slice(1).toLowerCase();
821
821
  }
822
- function j(m) {
823
- var P, f, h, y;
822
+ function w(m) {
823
+ var T, h, G, _;
824
824
  if (m) {
825
- if (X(m, "select")) {
826
- const x = (f = (P = m.tableColumnAttributes) == null ? void 0 : P.functions) == null ? void 0 : f.transformValue;
825
+ if (q(m, "select")) {
826
+ const A = (h = (T = m.tableColumnAttributes) == null ? void 0 : T.functions) == null ? void 0 : h.transformValue;
827
+ if (A)
828
+ return A(e[m.prop]);
829
+ const x = (_ = (G = m.formItemAttributes) == null ? void 0 : G.selectAttributes) == null ? void 0 : _.viewModeLabelField;
827
830
  if (x)
828
- return x(e[m.prop]);
829
- const M = (y = (h = m.formItemAttributes) == null ? void 0 : h.selectAttributes) == null ? void 0 : y.viewModeLabelField;
830
- if (M)
831
- return e[M];
831
+ return e[x];
832
832
  }
833
833
  return e[m.prop];
834
834
  }
835
835
  }
836
836
  function W(m) {
837
- var P;
838
- return ((P = m.formItemAttributes) == null ? void 0 : P.updatable) === !1 && a.mode === "update";
837
+ var T;
838
+ return ((T = m.formItemAttributes) == null ? void 0 : T.updatable) === !1 && t.mode === "update";
839
839
  }
840
- function N(m, P) {
841
- var h, y;
842
- const f = (y = (h = P.formItemAttributes) == null ? void 0 : h.type) != null ? y : "input";
840
+ function Y(m, T) {
841
+ var G, _;
842
+ const h = (_ = (G = T.formItemAttributes) == null ? void 0 : G.type) != null ? _ : "input";
843
843
  switch (m) {
844
844
  case "input":
845
- return a.mode === "view" ? !1 : f === "input" || f === "password";
845
+ return t.mode === "view" ? !1 : h === "input" || h === "password";
846
846
  case "select":
847
847
  return !0;
848
848
  default:
849
849
  return console.log("Error: unrecognized form component type: ", m), !0;
850
850
  }
851
851
  }
852
- function X(m, P) {
853
- var f;
854
- return ((f = m.formItemAttributes) == null ? void 0 : f.type) === P;
852
+ function q(m, T) {
853
+ var h;
854
+ return ((h = m.formItemAttributes) == null ? void 0 : h.type) === T;
855
855
  }
856
- function pe(m) {
857
- var P;
858
- for (let f of a.model.fields) {
859
- const h = (P = f.formItemAttributes) == null ? void 0 : P.selectAttributes;
860
- if (!(!f.formItemAttributes || f.formItemAttributes.type !== "select" || !h || !h.queryParamValueField) && h.queryParamValueField === m.prop) {
861
- const y = h.api;
862
- if (y) {
863
- let x = y;
864
- const M = h.queryParamName;
865
- M && (x = `${x}?${M}=${e[h.queryParamValueField]}`), ge(x, "GET", {}).then(({ data: U }) => {
866
- if (h) {
867
- let Y = [];
868
- Array.isArray(U.data) ? Y = U.data : U.data.list && Array.isArray(U.data.list) && (Y = U.data.list), h.options = Y.map((I) => ({
869
- value: h.valueMappingField ? I[h.valueMappingField] : I.value,
870
- label: h.labelMappingField ? I[h.labelMappingField] : I.label
856
+ function fe(m) {
857
+ var T;
858
+ for (let h of t.model.fields) {
859
+ const G = (T = h.formItemAttributes) == null ? void 0 : T.selectAttributes;
860
+ if (!(!h.formItemAttributes || h.formItemAttributes.type !== "select" || !G || !G.queryParamValueField) && G.queryParamValueField === m.prop) {
861
+ const _ = G.api;
862
+ if (_) {
863
+ let A = _;
864
+ const x = G.queryParamName;
865
+ x && (A = `${A}?${x}=${e[G.queryParamValueField]}`), ve(A, "GET", {}).then(({ data: M }) => {
866
+ if (G) {
867
+ let F = [];
868
+ Array.isArray(M.data) ? F = M.data : M.data.list && Array.isArray(M.data.list) && (F = M.data.list), G.options = F.map((L) => ({
869
+ value: G.valueMappingField ? L[G.valueMappingField] : L.value,
870
+ label: G.labelMappingField ? L[G.labelMappingField] : L.label
871
871
  }));
872
872
  }
873
873
  });
@@ -876,15 +876,15 @@ const Ae = (s) => {
876
876
  }
877
877
  }
878
878
  return Oe(() => {
879
- K();
880
- }), o({
881
- refresh: K,
879
+ P();
880
+ }), a({
881
+ refresh: P,
882
882
  reset: D,
883
- submit: J,
883
+ submit: z,
884
884
  formData: e
885
- }), (m, P) => {
886
- const f = w("el-input"), h = w("el-switch"), y = w("el-date-picker"), x = w("el-option"), M = w("el-select"), U = w("el-form-item"), Y = w("el-form"), I = Pe("loading");
887
- return Te((n(), _(Y, {
885
+ }), (m, T) => {
886
+ const h = y("el-input"), G = y("el-switch"), _ = y("el-date-picker"), A = y("el-option"), x = y("el-select"), M = y("el-form-item"), F = y("el-form"), L = Ke("loading");
887
+ return Pe((n(), I(F, {
888
888
  ref_key: "formRef",
889
889
  ref: c,
890
890
  model: e,
@@ -895,52 +895,52 @@ const Ae = (s) => {
895
895
  inline: !0
896
896
  }, {
897
897
  default: r(() => [
898
- (n(!0), B(ee, null, se(G.value, (u) => (n(), _(U, {
898
+ (n(!0), U(ee, null, se(R.value, (p) => (n(), I(M, {
899
899
  class: "form-item",
900
- prop: u.prop,
901
- label: p(u)
900
+ prop: p.prop,
901
+ label: O(p)
902
902
  }, {
903
903
  default: r(() => {
904
- var F;
904
+ var S;
905
905
  return [
906
- N("input", u) ? (n(), _(f, {
906
+ Y("input", p) ? (n(), I(h, {
907
907
  key: 0,
908
- type: X(u, "password") ? "password" : "text",
909
- modelValue: e[u.prop],
910
- "onUpdate:modelValue": (k) => e[u.prop] = k,
911
- placeholder: (F = u.formItemAttributes) == null ? void 0 : F.placeholder,
912
- disabled: W(u)
913
- }, null, 8, ["type", "modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : T("", !0),
914
- V(u) ? (n(), B("span", Eo, Q(j(u)), 1)) : T("", !0),
915
- X(u, "switch") ? (n(), _(h, {
908
+ type: q(p, "password") ? "password" : "text",
909
+ modelValue: e[p.prop],
910
+ "onUpdate:modelValue": (u) => e[p.prop] = u,
911
+ placeholder: (S = p.formItemAttributes) == null ? void 0 : S.placeholder,
912
+ disabled: W(p)
913
+ }, null, 8, ["type", "modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : K("", !0),
914
+ V(p) ? (n(), U("span", Eo, Q(w(p)), 1)) : K("", !0),
915
+ q(p, "switch") ? (n(), I(G, {
916
916
  key: 2,
917
- modelValue: e[u.prop],
918
- "onUpdate:modelValue": (k) => e[u.prop] = k
919
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : T("", !0),
920
- X(u, "datepicker") ? (n(), _(y, {
917
+ modelValue: e[p.prop],
918
+ "onUpdate:modelValue": (u) => e[p.prop] = u
919
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : K("", !0),
920
+ q(p, "datepicker") ? (n(), I(_, {
921
921
  key: 3,
922
922
  type: "date",
923
- modelValue: e[u.prop],
924
- "onUpdate:modelValue": (k) => e[u.prop] = k
925
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : T("", !0),
926
- X(u, "select") && m.mode !== "view" ? (n(), _(M, {
923
+ modelValue: e[p.prop],
924
+ "onUpdate:modelValue": (u) => e[p.prop] = u
925
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : K("", !0),
926
+ q(p, "select") && m.mode !== "view" ? (n(), I(x, {
927
927
  key: 4,
928
- modelValue: e[u.prop],
929
- "onUpdate:modelValue": (k) => e[u.prop] = k,
930
- disabled: W(u),
931
- onChange: (k) => pe(u)
928
+ modelValue: e[p.prop],
929
+ "onUpdate:modelValue": (u) => e[p.prop] = u,
930
+ disabled: W(p),
931
+ onChange: (u) => fe(p)
932
932
  }, {
933
933
  default: r(() => {
934
- var k, l;
934
+ var u, l;
935
935
  return [
936
- (n(!0), B(ee, null, se((l = (k = u.formItemAttributes) == null ? void 0 : k.selectAttributes) == null ? void 0 : l.options, (E) => (n(), _(x, {
937
- value: E.value,
938
- label: E.label
936
+ (n(!0), U(ee, null, se((l = (u = p.formItemAttributes) == null ? void 0 : u.selectAttributes) == null ? void 0 : l.options, (f) => (n(), I(A, {
937
+ value: f.value,
938
+ label: f.label
939
939
  }, null, 8, ["value", "label"]))), 256))
940
940
  ];
941
941
  }),
942
942
  _: 2
943
- }, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])) : T("", !0)
943
+ }, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])) : K("", !0)
944
944
  ];
945
945
  }),
946
946
  _: 2
@@ -948,11 +948,11 @@ const Ae = (s) => {
948
948
  ]),
949
949
  _: 1
950
950
  }, 8, ["model", "rules"])), [
951
- [I, b.value]
951
+ [L, b.value]
952
952
  ]);
953
953
  };
954
954
  }
955
- }), He = /* @__PURE__ */ re(So, [["__scopeId", "data-v-ff15efb9"]]), Mo = { class: "dialog-footer" }, Qo = { class: "operation-button-wrapper" }, xo = /* @__PURE__ */ de({
955
+ }), Je = /* @__PURE__ */ re(So, [["__scopeId", "data-v-2aa73ecc"]]), Mo = { class: "dialog-footer" }, Qo = { class: "operation-button-wrapper" }, xo = /* @__PURE__ */ de({
956
956
  __name: "FormDialog",
957
957
  props: {
958
958
  id: {},
@@ -962,58 +962,58 @@ const Ae = (s) => {
962
962
  afterSubmitFunc: { type: Function }
963
963
  },
964
964
  emits: ["update:visible", "update:id"],
965
- setup(s, { expose: o, emit: t }) {
966
- const { t: g } = _e(), a = s, e = S(0), b = t, c = S();
967
- me(() => a.visible, () => {
968
- a.visible && e.value++;
965
+ setup(s, { expose: a, emit: o }) {
966
+ const { t: g } = Ie(), t = s, e = E(0), b = o, c = E();
967
+ ue(() => t.visible, () => {
968
+ t.visible && e.value++;
969
969
  });
970
970
  function C() {
971
971
  c.value && c.value.refresh();
972
972
  }
973
- function A() {
973
+ function k() {
974
974
  b("update:visible", !1), c.value.reset();
975
975
  }
976
976
  function V() {
977
977
  c.value.submit();
978
978
  }
979
- return o({
980
- close: A,
979
+ return a({
980
+ close: k,
981
981
  refresh: C
982
- }), (G, L) => {
983
- const K = w("el-button"), J = w("el-dialog");
984
- return n(), _(J, {
982
+ }), (R, X) => {
983
+ const P = y("el-button"), z = y("el-dialog");
984
+ return n(), I(z, {
985
985
  title: "Edit",
986
- "model-value": a.visible,
986
+ "model-value": t.visible,
987
987
  width: "800px",
988
- onClose: A
988
+ onClose: k
989
989
  }, {
990
990
  footer: r(() => {
991
991
  var D;
992
992
  return [
993
993
  i("div", Mo, [
994
994
  i("div", Qo, [
995
- (n(!0), B(ee, null, se((D = a.model.formConfig) == null ? void 0 : D.dialogButtons, (p) => (n(), _(K, {
996
- onClick: (j) => p.function(c.value.formData)
995
+ (n(!0), U(ee, null, se((D = t.model.formConfig) == null ? void 0 : D.dialogButtons, (O) => (n(), I(P, {
996
+ onClick: (w) => O.function(c.value.formData)
997
997
  }, {
998
998
  default: r(() => [
999
- z(Q(v(g)(p.label)), 1)
999
+ N(Q(v(g)(O.label)), 1)
1000
1000
  ]),
1001
1001
  _: 2
1002
1002
  }, 1032, ["onClick"]))), 256))
1003
1003
  ]),
1004
1004
  i("div", null, [
1005
- d(K, { onClick: A }, {
1005
+ d(P, { onClick: k }, {
1006
1006
  default: r(() => [
1007
- z(Q(v(g)("common.basic.cancel")), 1)
1007
+ N(Q(v(g)("common.basic.cancel")), 1)
1008
1008
  ]),
1009
1009
  _: 1
1010
1010
  }),
1011
- d(K, {
1011
+ d(P, {
1012
1012
  type: "primary",
1013
1013
  onClick: V
1014
1014
  }, {
1015
1015
  default: r(() => [
1016
- z(Q(v(g)("common.basic.save")), 1)
1016
+ N(Q(v(g)("common.basic.save")), 1)
1017
1017
  ]),
1018
1018
  _: 1
1019
1019
  })
@@ -1022,216 +1022,216 @@ const Ae = (s) => {
1022
1022
  ];
1023
1023
  }),
1024
1024
  default: r(() => [
1025
- d(He, {
1025
+ d(Je, {
1026
1026
  ref_key: "formViewRef",
1027
1027
  ref: c,
1028
- id: a.id,
1028
+ id: t.id,
1029
1029
  sessionId: e.value,
1030
- mode: a.mode,
1031
- model: a.model,
1032
- afterSubmitFunc: a.afterSubmitFunc,
1033
- closeDialogFunc: A
1030
+ mode: t.mode,
1031
+ model: t.model,
1032
+ afterSubmitFunc: t.afterSubmitFunc,
1033
+ closeDialogFunc: k
1034
1034
  }, null, 8, ["id", "sessionId", "mode", "model", "afterSubmitFunc"])
1035
1035
  ]),
1036
1036
  _: 1
1037
1037
  }, 8, ["model-value"]);
1038
1038
  };
1039
1039
  }
1040
- }), Je = /* @__PURE__ */ re(xo, [["__scopeId", "data-v-d1628662"]]), Bo = { class: "toolbar" }, Uo = { class: "tool-buttons" }, Oo = { class: "tool-buttons" }, Go = { key: 1 }, Fo = /* @__PURE__ */ de({
1040
+ }), ze = /* @__PURE__ */ re(xo, [["__scopeId", "data-v-d1628662"]]), Bo = { class: "toolbar" }, Uo = { class: "tool-buttons" }, Go = { class: "tool-buttons" }, Oo = { key: 1 }, Fo = /* @__PURE__ */ de({
1041
1041
  __name: "TableView",
1042
1042
  props: {
1043
1043
  model: {}
1044
1044
  },
1045
- setup(s, { expose: o }) {
1046
- const { t } = Se.global, g = s, a = le([]), e = le({
1045
+ setup(s, { expose: a }) {
1046
+ const { t: o } = Me.global, g = s, t = le([]), e = le({
1047
1047
  showPane: !0
1048
- }), b = S(""), c = S(!0), C = S(!1), A = xe(), V = S(""), G = le([]), L = le([]), K = S(), J = S([]), D = S("create"), p = S(!0), j = S(!1), W = S(""), N = le({
1048
+ }), b = E(""), c = E(!0), C = E(!1), k = Be(), V = E(""), R = le([]), X = le([]), P = E(), z = E([]), D = E("create"), O = E(!0), w = E(!1), W = E(""), Y = le({
1049
1049
  pageSize: 10,
1050
1050
  pageNo: 1,
1051
1051
  totalElements: 0
1052
- }), X = Qe(() => a.filter(
1052
+ }), q = xe(() => t.filter(
1053
1053
  (l) => {
1054
- var E, O;
1055
- return ((E = l.formItemAttributes) == null ? void 0 : E.type) !== "password" && l.visible !== !1 && ((O = l.tableColumnAttributes) == null ? void 0 : O.visible) !== !1;
1054
+ var f, B;
1055
+ return ((f = l.formItemAttributes) == null ? void 0 : f.type) !== "password" && l.visible !== !1 && ((B = l.tableColumnAttributes) == null ? void 0 : B.visible) !== !1;
1056
1056
  }
1057
1057
  ));
1058
- function pe(l, E) {
1058
+ function fe(l, f) {
1059
1059
  var oe, ce, ae, ne;
1060
- let O = E.row[l.prop];
1061
- const Z = (ce = (oe = l.tableColumnAttributes) == null ? void 0 : oe.functions) == null ? void 0 : ce.transformValue, q = (ae = l.tableColumnAttributes) == null ? void 0 : ae.transformValueMappings;
1060
+ let B = f.row[l.prop];
1061
+ const Z = (ce = (oe = l.tableColumnAttributes) == null ? void 0 : oe.functions) == null ? void 0 : ce.transformValue, H = (ae = l.tableColumnAttributes) == null ? void 0 : ae.transformValueMappings;
1062
1062
  if (Z)
1063
- O = Z(O);
1064
- else if (q && q.length > 0) {
1065
- for (let R of q)
1066
- if (O === R.value) {
1067
- O = t(R.label);
1063
+ B = Z(B);
1064
+ else if (H && H.length > 0) {
1065
+ for (let $ of H)
1066
+ if (B === $.value) {
1067
+ B = o($.label);
1068
1068
  break;
1069
1069
  }
1070
1070
  } else if (((ne = l.formItemAttributes) == null ? void 0 : ne.type) === "select") {
1071
- const R = l.formItemAttributes.selectAttributes;
1072
- if (R) {
1073
- if (R.viewModeLabelField)
1074
- O = E.row[R.viewModeLabelField];
1075
- else if (R.options && R.options.length > 0) {
1076
- for (let $ of R.options)
1077
- if ($.value === E.row[l.prop]) {
1078
- O = $.label;
1071
+ const $ = l.formItemAttributes.selectAttributes;
1072
+ if ($) {
1073
+ if ($.viewModeLabelField)
1074
+ B = f.row[$.viewModeLabelField];
1075
+ else if ($.options && $.options.length > 0) {
1076
+ for (let j of $.options)
1077
+ if (j.value === f.row[l.prop]) {
1078
+ B = j.label;
1079
1079
  break;
1080
1080
  }
1081
1081
  }
1082
1082
  }
1083
1083
  }
1084
- return O;
1084
+ return B;
1085
1085
  }
1086
- function m(l, E) {
1087
- var O, Z;
1088
- return l.label ? t(l.label) : (Z = (O = l.functions) == null ? void 0 : O.transformLabel) == null ? void 0 : Z.call(O, E.$index, E.row);
1086
+ function m(l, f) {
1087
+ var B, Z;
1088
+ return l.label ? o(l.label) : (Z = (B = l.functions) == null ? void 0 : B.transformLabel) == null ? void 0 : Z.call(B, f.$index, f.row);
1089
1089
  }
1090
- function P(l) {
1091
- Ae(g.model), Object.assign(g.model, l);
1090
+ function T(l) {
1091
+ ke(g.model), Object.assign(g.model, l);
1092
1092
  }
1093
- function f() {
1094
- var E, O, Z;
1095
- if (p.value = !0, !g.model || !g.model.api)
1093
+ function h() {
1094
+ var f, B, Z;
1095
+ if (O.value = !0, !g.model || !g.model.api)
1096
1096
  return;
1097
- Ae(e), e.showPane = !0, Object.assign(e, (E = g.model.tableConfig) != null ? E : {}), a.splice(0, a.length, ...g.model.fields), b.value = (O = g.model.route) != null ? O : "", c.value = (Z = g.model.useI18n) != null ? Z : !0;
1098
- let l = Ie({}, e.queryParams);
1099
- l.pageSize = N.pageSize, l.pageNo = N.pageNo, l.search = V.value, ge(g.model.api, "GET", l).then(({ data: q }) => {
1100
- const { list: oe, totalCount: ce } = q.data;
1101
- G.splice(0, G.length, ...oe), N.totalElements = ce, p.value = !1;
1097
+ ke(e), e.showPane = !0, Object.assign(e, (f = g.model.tableConfig) != null ? f : {}), t.splice(0, t.length, ...g.model.fields), b.value = (B = g.model.route) != null ? B : "", c.value = (Z = g.model.useI18n) != null ? Z : !0;
1098
+ let l = Ee({}, e.queryParams);
1099
+ l.pageSize = Y.pageSize, l.pageNo = Y.pageNo, l.search = V.value, ve(g.model.api, "GET", l).then(({ data: H }) => {
1100
+ const { list: oe, totalCount: ce } = H.data;
1101
+ R.splice(0, R.length, ...oe), Y.totalElements = ce, O.value = !1;
1102
1102
  });
1103
1103
  }
1104
- function h() {
1105
- var l, E;
1106
- e.createPageRoutePath !== void 0 ? A.push(e.createPageRoutePath) : ((l = e.functions) == null ? void 0 : l.create) !== void 0 ? (E = e.functions) == null || E.create() : (D.value = "create", W.value = "", C.value = !0);
1104
+ function G() {
1105
+ var l, f;
1106
+ e.createPageRoutePath !== void 0 ? k.push(e.createPageRoutePath) : ((l = e.functions) == null ? void 0 : l.create) !== void 0 ? (f = e.functions) == null || f.create() : (D.value = "create", W.value = "", C.value = !0);
1107
1107
  }
1108
- function y(l, E) {
1109
- g.model.api && ge(g.model.api, "DELETE", E.id).then(({ data: O }) => {
1110
- O.code === 0 && (C.value = !1, f());
1108
+ function _(l, f) {
1109
+ g.model.api && ve(g.model.api, "DELETE", f.id).then(({ data: B }) => {
1110
+ B.code === 0 && (C.value = !1, h());
1111
1111
  });
1112
1112
  }
1113
- function x() {
1113
+ function A() {
1114
1114
  nt.confirm(
1115
1115
  "The selected items will be deleted. Continue?",
1116
- t("common.table.warning"),
1116
+ o("common.table.warning"),
1117
1117
  {
1118
- confirmButtonText: t("common.basic.confirm"),
1119
- cancelButtonText: t("common.basic.cancel"),
1118
+ confirmButtonText: o("common.basic.confirm"),
1119
+ cancelButtonText: o("common.basic.cancel"),
1120
1120
  type: "warning"
1121
1121
  }
1122
1122
  ).then(() => {
1123
- var l, E;
1123
+ var l, f;
1124
1124
  if (((l = e.functions) == null ? void 0 : l.batchDelete) !== void 0)
1125
- (E = e.functions) == null || E.batchDelete(J.value);
1125
+ (f = e.functions) == null || f.batchDelete(z.value);
1126
1126
  else {
1127
- const O = J.value.map((Z) => Z.id);
1128
- ie.delete(`${g.model.api}/${O.join(",")}`).then(({ data: Z }) => {
1129
- Z.code === 0 && (C.value = !1, f());
1127
+ const B = z.value.map((Z) => Z.id);
1128
+ ie.delete(`${g.model.api}/${B.join(",")}`).then(({ data: Z }) => {
1129
+ Z.code === 0 && (C.value = !1, h());
1130
1130
  });
1131
1131
  }
1132
- K.value.clearSelection();
1132
+ P.value.clearSelection();
1133
1133
  }).catch(() => {
1134
- K.value.clearSelection();
1134
+ P.value.clearSelection();
1135
1135
  });
1136
1136
  }
1137
- function M(l) {
1138
- N.pageSize = l, f();
1137
+ function x(l) {
1138
+ Y.pageSize = l, h();
1139
1139
  }
1140
- function U(l) {
1141
- N.pageNo = l, f();
1140
+ function M(l) {
1141
+ Y.pageNo = l, h();
1142
1142
  }
1143
- function Y(l, E) {
1144
- e.editPageRoutePath !== void 0 ? A.push({
1143
+ function F(l, f) {
1144
+ e.editPageRoutePath !== void 0 ? k.push({
1145
1145
  path: e.editPageRoutePath,
1146
1146
  query: {
1147
- id: E.id
1147
+ id: f.id
1148
1148
  }
1149
- }) : (W.value = E.id, D.value = "update", C.value = !0);
1149
+ }) : (W.value = f.id, D.value = "update", C.value = !0);
1150
1150
  }
1151
- function I() {
1151
+ function L() {
1152
1152
  let l = window.location.origin + g.model.api + "/export";
1153
- const E = e.queryParams;
1154
- E !== void 0 && Object.keys(E).length > 0 && (l += "?", Object.entries(e.queryParams).map((O) => {
1155
- l += `${O[0]}=${O[1]}&`;
1153
+ const f = e.queryParams;
1154
+ f !== void 0 && Object.keys(f).length > 0 && (l += "?", Object.entries(e.queryParams).map((B) => {
1155
+ l += `${B[0]}=${B[1]}&`;
1156
1156
  })), window.open(l);
1157
1157
  }
1158
- function u(l) {
1159
- J.value = l;
1158
+ function p(l) {
1159
+ z.value = l;
1160
1160
  }
1161
- function F(l) {
1162
- return l.label ? c.value ? t(l.label) : l.label : l.prop.slice(0, 1).toUpperCase() + l.prop.slice(1).toLowerCase();
1161
+ function S(l) {
1162
+ return l.label ? c.value ? o(l.label) : l.label : l.prop.slice(0, 1).toUpperCase() + l.prop.slice(1).toLowerCase();
1163
1163
  }
1164
- function k(l) {
1165
- l ? (j.value = !0, L.splice(0, L.length, ...G), G.splice(0, G.length, ...J.value)) : (j.value = !1, G.splice(0, G.length, ...L));
1164
+ function u(l) {
1165
+ l ? (w.value = !0, X.splice(0, X.length, ...R), R.splice(0, R.length, ...z.value)) : (w.value = !1, R.splice(0, R.length, ...X));
1166
1166
  }
1167
- return me(() => g.model, () => {
1168
- f();
1167
+ return ue(() => g.model, () => {
1168
+ h();
1169
1169
  }, {
1170
1170
  deep: !0,
1171
1171
  immediate: !0
1172
- }), o({
1173
- multipleSelection: J,
1174
- refresh: f,
1175
- updateConfigAndRefresh: P
1176
- }), (l, E) => {
1177
- const O = w("el-checkbox"), Z = w("el-badge"), q = w("el-button"), oe = w("el-icon"), ce = w("el-tooltip"), ae = w("el-input"), ne = w("el-table-column"), R = w("router-link"), $ = w("el-tag"), ue = w("el-popconfirm"), Ce = w("el-table"), ze = w("el-pagination"), Ne = Pe("loading");
1178
- return n(), B("div", {
1179
- class: De({ "table-view-wrapper": e.showPane })
1172
+ }), a({
1173
+ multipleSelection: z,
1174
+ refresh: h,
1175
+ updateConfigAndRefresh: T
1176
+ }), (l, f) => {
1177
+ const B = y("el-checkbox"), Z = y("el-badge"), H = y("el-button"), oe = y("el-icon"), ce = y("el-tooltip"), ae = y("el-input"), ne = y("el-table-column"), $ = y("router-link"), j = y("el-tag"), pe = y("el-popconfirm"), me = y("el-table"), ye = y("el-pagination"), Ne = Ke("loading");
1178
+ return n(), U("div", {
1179
+ class: Te({ "table-view-wrapper": e.showPane })
1180
1180
  }, [
1181
1181
  i("div", Bo, [
1182
1182
  i("div", Uo, [
1183
- e.selectMode ? (n(), _(Z, {
1183
+ e.selectMode ? (n(), I(Z, {
1184
1184
  key: 0,
1185
- value: J.value.length,
1185
+ value: z.value.length,
1186
1186
  type: "primary",
1187
1187
  class: "selected-badge"
1188
1188
  }, {
1189
1189
  default: r(() => [
1190
- d(O, {
1190
+ d(B, {
1191
1191
  class: "selected-checkbox",
1192
1192
  border: !0,
1193
- label: v(t)("common.table.viewSelected"),
1194
- onChange: k
1193
+ label: v(o)("common.table.viewSelected"),
1194
+ onChange: u
1195
1195
  }, null, 8, ["label"])
1196
1196
  ]),
1197
1197
  _: 1
1198
- }, 8, ["value"])) : T("", !0),
1199
- !e.selectMode && !e.readOnly ? (n(), _(q, {
1198
+ }, 8, ["value"])) : K("", !0),
1199
+ !e.selectMode && !e.readOnly ? (n(), I(H, {
1200
1200
  key: 1,
1201
1201
  type: "primary",
1202
- onClick: h
1202
+ onClick: G
1203
1203
  }, {
1204
1204
  default: r(() => {
1205
- var te, H;
1205
+ var te, J;
1206
1206
  return [
1207
- z(Q(((te = e.labels) == null ? void 0 : te.create) != null ? v(t)((H = e.labels) == null ? void 0 : H.create) : v(t)("common.table.create")), 1)
1207
+ N(Q(((te = e.labels) == null ? void 0 : te.create) != null ? v(o)((J = e.labels) == null ? void 0 : J.create) : v(o)("common.table.create")), 1)
1208
1208
  ];
1209
1209
  }),
1210
1210
  _: 1
1211
- })) : T("", !0),
1212
- !e.selectMode && !e.readOnly ? (n(), _(q, {
1211
+ })) : K("", !0),
1212
+ !e.selectMode && !e.readOnly ? (n(), I(H, {
1213
1213
  key: 2,
1214
- disabled: J.value.length == 0,
1214
+ disabled: z.value.length == 0,
1215
1215
  type: "danger",
1216
1216
  plain: "",
1217
- onClick: x
1217
+ onClick: A
1218
1218
  }, {
1219
1219
  default: r(() => {
1220
- var te, H;
1220
+ var te, J;
1221
1221
  return [
1222
- z(Q(((te = e.labels) == null ? void 0 : te.delete) != null ? v(t)((H = e.labels) == null ? void 0 : H.delete) : v(t)("common.table.delete")), 1)
1222
+ N(Q(((te = e.labels) == null ? void 0 : te.delete) != null ? v(o)((J = e.labels) == null ? void 0 : J.delete) : v(o)("common.table.delete")), 1)
1223
1223
  ];
1224
1224
  }),
1225
1225
  _: 1
1226
- }, 8, ["disabled"])) : T("", !0),
1227
- d(q, {
1228
- icon: v(Ke),
1229
- onClick: f
1226
+ }, 8, ["disabled"])) : K("", !0),
1227
+ d(H, {
1228
+ icon: v(Le),
1229
+ onClick: h
1230
1230
  }, null, 8, ["icon"]),
1231
- e.tooltip ? (n(), _(ce, {
1231
+ e.tooltip ? (n(), I(ce, {
1232
1232
  key: 3,
1233
1233
  effect: "dark",
1234
- content: v(t)(e.tooltip),
1234
+ content: v(o)(e.tooltip),
1235
1235
  placement: "right"
1236
1236
  }, {
1237
1237
  default: r(() => [
@@ -1243,13 +1243,13 @@ const Ae = (s) => {
1243
1243
  })
1244
1244
  ]),
1245
1245
  _: 1
1246
- }, 8, ["content"])) : T("", !0)
1246
+ }, 8, ["content"])) : K("", !0)
1247
1247
  ]),
1248
- i("div", Oo, [
1249
- e.export ? (n(), _(q, {
1248
+ i("div", Go, [
1249
+ e.export ? (n(), I(H, {
1250
1250
  key: 0,
1251
1251
  class: "button-export",
1252
- onClick: I
1252
+ onClick: L
1253
1253
  }, {
1254
1254
  default: r(() => [
1255
1255
  d(oe, null, {
@@ -1260,100 +1260,100 @@ const Ae = (s) => {
1260
1260
  })
1261
1261
  ]),
1262
1262
  _: 1
1263
- })) : T("", !0),
1263
+ })) : K("", !0),
1264
1264
  d(ae, {
1265
- placeholder: `${v(t)("common.table.search")}...`,
1265
+ placeholder: `${v(o)("common.table.search")}...`,
1266
1266
  modelValue: V.value,
1267
- "onUpdate:modelValue": E[0] || (E[0] = (te) => V.value = te)
1267
+ "onUpdate:modelValue": f[0] || (f[0] = (te) => V.value = te)
1268
1268
  }, {
1269
1269
  append: r(() => [
1270
- d(q, {
1270
+ d(H, {
1271
1271
  style: { "margin-left": "-20px" },
1272
1272
  icon: v(dt),
1273
- onClick: f
1273
+ onClick: h
1274
1274
  }, null, 8, ["icon"])
1275
1275
  ]),
1276
1276
  _: 1
1277
1277
  }, 8, ["placeholder", "modelValue"])
1278
1278
  ])
1279
1279
  ]),
1280
- Te((n(), _(Ce, {
1280
+ Pe((n(), I(me, {
1281
1281
  border: !0,
1282
1282
  ref_key: "tableRef",
1283
- ref: K,
1284
- data: G,
1285
- onSelectionChange: u,
1283
+ ref: P,
1284
+ data: R,
1285
+ onSelectionChange: p,
1286
1286
  class: "table"
1287
1287
  }, {
1288
1288
  default: r(() => {
1289
1289
  var te;
1290
1290
  return [
1291
- e.readOnly ? T("", !0) : (n(), _(ne, {
1291
+ e.readOnly ? K("", !0) : (n(), I(ne, {
1292
1292
  key: 0,
1293
1293
  type: "selection",
1294
1294
  width: "50"
1295
1295
  })),
1296
- (n(!0), B(ee, null, se(X.value, (H) => {
1297
- var he;
1298
- return n(), _(ne, {
1299
- prop: H.prop,
1300
- label: F(H),
1301
- width: (he = H.tableColumnAttributes) == null ? void 0 : he.width,
1296
+ (n(!0), U(ee, null, se(q.value, (J) => {
1297
+ var ge;
1298
+ return n(), I(ne, {
1299
+ prop: J.prop,
1300
+ label: S(J),
1301
+ width: (ge = J.tableColumnAttributes) == null ? void 0 : ge.width,
1302
1302
  "show-overflow-tooltip": ""
1303
1303
  }, {
1304
- default: r((ye) => {
1305
- var ve, we;
1304
+ default: r((we) => {
1305
+ var be, Ae;
1306
1306
  return [
1307
- (ve = H.tableColumnAttributes) != null && ve.link ? (n(), _(R, {
1307
+ (be = J.tableColumnAttributes) != null && be.link ? (n(), I($, {
1308
1308
  key: 0,
1309
1309
  class: "router-link",
1310
- to: `/${b.value}/detail?id=${ye.row.id}`
1310
+ to: `/${b.value}/detail?id=${we.row.id}`
1311
1311
  }, {
1312
1312
  default: r(() => [
1313
- i("span", null, Q(pe(H, ye)), 1)
1313
+ i("span", null, Q(fe(J, we)), 1)
1314
1314
  ]),
1315
1315
  _: 2
1316
- }, 1032, ["to"])) : (n(), B("span", Go, Q(pe(H, ye)), 1)),
1317
- ((we = H.tableColumnAttributes) == null ? void 0 : we.type) === "tag" ? (n(), _($, { key: 2 }, {
1316
+ }, 1032, ["to"])) : (n(), U("span", Oo, Q(fe(J, we)), 1)),
1317
+ ((Ae = J.tableColumnAttributes) == null ? void 0 : Ae.type) === "tag" ? (n(), I(j, { key: 2 }, {
1318
1318
  default: r(() => [
1319
- z(Q(ye.row[H.prop]), 1)
1319
+ N(Q(we.row[J.prop]), 1)
1320
1320
  ]),
1321
1321
  _: 2
1322
- }, 1024)) : T("", !0)
1322
+ }, 1024)) : K("", !0)
1323
1323
  ];
1324
1324
  }),
1325
1325
  _: 2
1326
1326
  }, 1032, ["prop", "label", "width"]);
1327
1327
  }), 256)),
1328
- e.operations === void 0 && !((te = e.selectMode) != null && te) && !e.readOnly ? (n(), _(ne, {
1328
+ e.operations === void 0 && !((te = e.selectMode) != null && te) && !e.readOnly ? (n(), I(ne, {
1329
1329
  key: 1,
1330
- label: v(t)("common.table.operation"),
1330
+ label: v(o)("common.table.operation"),
1331
1331
  width: "120"
1332
1332
  }, {
1333
- default: r((H) => [
1334
- d(q, {
1333
+ default: r((J) => [
1334
+ d(H, {
1335
1335
  link: "",
1336
1336
  type: "primary",
1337
1337
  class: "operation-button",
1338
- onClick: (he) => Y(H.$index, H.row)
1338
+ onClick: (ge) => F(J.$index, J.row)
1339
1339
  }, {
1340
1340
  default: r(() => [
1341
- z(Q(v(t)("common.table.edit")), 1)
1341
+ N(Q(v(o)("common.table.edit")), 1)
1342
1342
  ]),
1343
1343
  _: 2
1344
1344
  }, 1032, ["onClick"]),
1345
- d(ue, {
1345
+ d(pe, {
1346
1346
  title: "Are you sure to delete this?",
1347
- onConfirm: (he) => y(H.$index, H.row)
1347
+ onConfirm: (ge) => _(J.$index, J.row)
1348
1348
  }, {
1349
1349
  reference: r(() => [
1350
- d(q, {
1350
+ d(H, {
1351
1351
  link: "",
1352
1352
  type: "primary",
1353
1353
  class: "operation-button"
1354
1354
  }, {
1355
1355
  default: r(() => [
1356
- z(Q(v(t)("common.table.delete")), 1)
1356
+ N(Q(v(o)("common.table.delete")), 1)
1357
1357
  ]),
1358
1358
  _: 1
1359
1359
  })
@@ -1362,116 +1362,121 @@ const Ae = (s) => {
1362
1362
  }, 1032, ["onConfirm"])
1363
1363
  ]),
1364
1364
  _: 1
1365
- }, 8, ["label"])) : T("", !0),
1366
- e.operations !== void 0 && !e.readOnly ? (n(), _(ne, {
1365
+ }, 8, ["label"])) : K("", !0),
1366
+ e.operations !== void 0 && !e.readOnly ? (n(), I(ne, {
1367
1367
  key: 2,
1368
- label: v(t)("common.table.operation"),
1368
+ label: v(o)("common.table.operation"),
1369
1369
  width: "120"
1370
1370
  }, {
1371
- default: r((H) => [
1372
- (n(!0), B(ee, null, se(e.operations, (he) => (n(), _(q, {
1371
+ default: r((J) => [
1372
+ (n(!0), U(ee, null, se(e.operations, (ge) => (n(), I(H, {
1373
1373
  class: "operation-button",
1374
1374
  link: "",
1375
1375
  type: "primary",
1376
- key: he.label,
1377
- onClick: (ye) => {
1378
- var ve, we;
1379
- return ((we = (ve = he.functions) == null ? void 0 : ve.click) == null ? void 0 : we.call(ve, H.$index, H.row)) && f();
1376
+ key: ge.label,
1377
+ onClick: (we) => {
1378
+ var be, Ae;
1379
+ return ((Ae = (be = ge.functions) == null ? void 0 : be.click) == null ? void 0 : Ae.call(be, J.$index, J.row)) && h();
1380
1380
  }
1381
1381
  }, {
1382
1382
  default: r(() => [
1383
- z(Q(m(he, H)), 1)
1383
+ N(Q(m(ge, J)), 1)
1384
1384
  ]),
1385
1385
  _: 2
1386
1386
  }, 1032, ["onClick"]))), 128))
1387
1387
  ]),
1388
1388
  _: 1
1389
- }, 8, ["label"])) : T("", !0)
1389
+ }, 8, ["label"])) : K("", !0)
1390
1390
  ];
1391
1391
  }),
1392
1392
  _: 1
1393
1393
  }, 8, ["data"])), [
1394
- [Ne, p.value]
1394
+ [Ne, O.value]
1395
1395
  ]),
1396
- j.value ? T("", !0) : (n(), _(ze, {
1396
+ w.value ? K("", !0) : (n(), I(ye, {
1397
1397
  key: 0,
1398
1398
  size: "small",
1399
1399
  background: "",
1400
- onSizeChange: M,
1401
- onCurrentChange: U,
1402
- currentPage: N.pageNo,
1403
- "onUpdate:currentPage": E[1] || (E[1] = (te) => N.pageNo = te),
1400
+ onSizeChange: x,
1401
+ onCurrentChange: M,
1402
+ currentPage: Y.pageNo,
1403
+ "onUpdate:currentPage": f[1] || (f[1] = (te) => Y.pageNo = te),
1404
1404
  "page-sizes": [10, 20, 50, 100],
1405
- "page-size": N.pageSize,
1405
+ "page-size": Y.pageSize,
1406
1406
  layout: "total, sizes, prev, pager, next",
1407
- total: N.totalElements
1407
+ total: Y.totalElements
1408
1408
  }, null, 8, ["currentPage", "page-size", "total"])),
1409
- d(Je, {
1409
+ d(ze, {
1410
1410
  model: l.model,
1411
1411
  mode: D.value,
1412
1412
  id: W.value,
1413
- afterSubmitFunc: f,
1413
+ afterSubmitFunc: h,
1414
1414
  visible: C.value,
1415
- "onUpdate:visible": E[2] || (E[2] = (te) => C.value = te)
1415
+ "onUpdate:visible": f[2] || (f[2] = (te) => C.value = te)
1416
1416
  }, null, 8, ["model", "mode", "id", "visible"])
1417
1417
  ], 2);
1418
1418
  };
1419
1419
  }
1420
- }), Me = /* @__PURE__ */ re(Fo, [["__scopeId", "data-v-097d1d61"]]), Ro = { class: "nav-bar" }, Vo = {
1420
+ }), Qe = /* @__PURE__ */ re(Fo, [["__scopeId", "data-v-d37a3022"]]), Ro = { class: "nav-bar" }, Vo = {
1421
1421
  key: 0,
1422
1422
  class: "info-card-wrapper"
1423
- }, Do = { class: "icon-wrapper" }, Po = { class: "info-wrapper" }, To = { class: "title-wrapper" }, Ko = { class: "tabs-wrapper" }, Lo = { class: "dialog-footer" }, jo = /* @__PURE__ */ de({
1423
+ }, Do = { class: "icon-wrapper" }, To = { class: "info-wrapper" }, Ko = { class: "title-wrapper" }, Po = { class: "tabs-wrapper" }, Lo = { class: "dialog-footer" }, jo = /* @__PURE__ */ de({
1424
1424
  __name: "DetailPage",
1425
1425
  setup(s) {
1426
- const { t: o } = _e(), t = ke(), g = xe(), a = Qe(() => t.query.id), e = S(!1), b = S(!1), c = S("view"), C = S(), A = S(-1), V = S(), G = S(), L = S("summary"), K = S(""), J = S(""), D = S(""), p = le({
1426
+ const { t: a } = Ie(), o = _e(), g = Be(), t = xe(() => o.query.id), e = E(!1), b = E(!1), c = E("view"), C = E(), k = E(-1), V = E(), R = E(), X = E("summary"), P = E(""), z = E(""), D = E(""), O = E(0), w = le({
1427
1427
  api: "",
1428
1428
  fields: []
1429
- }), j = le([]);
1430
- let W = [];
1431
- me(() => g.currentRoute.value, () => {
1432
- m();
1429
+ }), W = le([]);
1430
+ let Y = [];
1431
+ ue(() => g.currentRoute.value, () => {
1432
+ T();
1433
1433
  }, {
1434
1434
  immediate: !0
1435
+ }), ue(w, () => {
1436
+ O.value++;
1435
1437
  });
1436
- function N(h) {
1437
- A.value = parseInt(h.index) - 1, console.log(j[A.value]);
1438
+ function q(_) {
1439
+ k.value = parseInt(_.index) - 1, console.log(W[k.value]);
1438
1440
  }
1439
- function X() {
1440
- let h = W[A.value].api.replace("/select", "");
1441
- h = h.substring(h.lastIndexOf("/"));
1442
- const y = p.api + "/" + a.value + h, x = G.value.multipleSelection.map((M) => M.id);
1443
- ge(y, "POST", x).then(() => {
1441
+ function fe() {
1442
+ var M;
1443
+ let _ = (M = Y[k.value].api) == null ? void 0 : M.replace("/select", "");
1444
+ _ = _ == null ? void 0 : _.substring(_.lastIndexOf("/"));
1445
+ const A = w.api + "/" + t.value + _, x = R.value.multipleSelection.map((F) => F.id);
1446
+ ve(A, "POST", x).then(() => {
1444
1447
  V.value.refresh(), b.value = !1;
1445
1448
  });
1446
1449
  }
1447
- function pe(h, y, x) {
1448
- var Y;
1450
+ function m(_, A, x) {
1451
+ var L;
1449
1452
  x.functions || (x.functions = {}), x.functions.create = () => {
1450
- b.value = !0, G.value && G.value.refresh();
1453
+ b.value = !0, R.value && R.value.refresh();
1451
1454
  };
1452
- let M = be(y);
1453
- M.tableConfig || (M.tableConfig = {}), M.tableConfig.selectMode = !0, M.tableConfig.queryParams = {}, h.queryParamName && (M.tableConfig.queryParams[h.queryParamName] = a.value);
1454
- for (var U in M.fields)
1455
- M.fields[U].tableColumnAttributes && (Y = M.fields[U].tableColumnAttributes) != null && Y.link && (M.fields[U].tableColumnAttributes.link = !1);
1456
- W.push(M), x.labels = {
1455
+ let M = Ce(A);
1456
+ M.tableConfig || (M.tableConfig = {}), M.tableConfig.selectMode = !0, M.tableConfig.queryParams = {}, _.queryParamName && (M.tableConfig.queryParams[_.queryParamName] = t.value);
1457
+ for (var F in M.fields)
1458
+ M.fields[F].tableColumnAttributes && (L = M.fields[F].tableColumnAttributes) != null && L.link && (M.fields[F].tableColumnAttributes.link = !1);
1459
+ Y.push(M), x.labels = {
1457
1460
  create: "common.table.add",
1458
1461
  delete: "common.table.remove"
1459
- }, x.functions.batchDelete = (I) => {
1460
- let u = W[A.value].api.replace("/select", "");
1461
- u = u.substring(u.lastIndexOf("/"));
1462
- const F = p.api + "/" + a.value + u, k = I.map((l) => l.id);
1463
- ie.delete(`${F}/${k.join(",")}`).then(({ data: l }) => {
1464
- l.code === 0 && V.value.refresh();
1462
+ }, x.functions.batchDelete = (p) => {
1463
+ var f;
1464
+ let S = (f = Y[k.value].api) == null ? void 0 : f.replace("/select", "");
1465
+ S = S == null ? void 0 : S.substring(S.lastIndexOf("/"));
1466
+ const u = w.api + "/" + t.value + S, l = p.map((B) => B.id);
1467
+ ie.delete(`${u}/${l.join(",")}`).then(({ data: B }) => {
1468
+ B.code === 0 && V.value.refresh();
1465
1469
  });
1466
1470
  }, x.operations = [
1467
1471
  {
1468
1472
  label: "common.table.remove",
1469
1473
  functions: {
1470
- click: (I, u) => {
1471
- let F = W[A.value].api.replace("/select", "");
1472
- F = F.substring(F.lastIndexOf("/"));
1473
- const k = p.api + "/" + a.value + F;
1474
- ge(k, "DELETE", u.id).then(() => {
1474
+ click: (p, S) => {
1475
+ var f;
1476
+ let u = (f = Y[k.value].api) == null ? void 0 : f.replace("/select", "");
1477
+ u = u == null ? void 0 : u.substring(u.lastIndexOf("/"));
1478
+ const l = w.api + "/" + t.value + u;
1479
+ ve(l, "DELETE", S.id).then(() => {
1475
1480
  V.value.refresh();
1476
1481
  });
1477
1482
  }
@@ -1479,54 +1484,54 @@ const Ae = (s) => {
1479
1484
  }
1480
1485
  ], M.api += "/select";
1481
1486
  }
1482
- function m() {
1483
- var M, U, Y;
1484
- j.splice(0);
1485
- const h = t.params.model;
1486
- if (fe.value[h] === void 0)
1487
+ function T() {
1488
+ var M, F, L;
1489
+ W.splice(0);
1490
+ const _ = o.params.model;
1491
+ if (he.value[_] === void 0)
1487
1492
  return;
1488
- Ae(p);
1489
- const y = be(fe.value[h]);
1490
- Object.assign(p, y), A.value = -1, L.value = "summary";
1491
- const x = (U = (M = p.pageConfig) == null ? void 0 : M.detailPage) == null ? void 0 : U.tabs;
1493
+ ke(w);
1494
+ const A = Ce(he.value[_]);
1495
+ Object.assign(w, A), k.value = -1, X.value = "summary";
1496
+ const x = (F = (M = w.pageConfig) == null ? void 0 : M.detailPage) == null ? void 0 : F.tabs;
1492
1497
  if (x)
1493
- for (let I of x) {
1494
- const u = be(fe.value[I.modelKey]);
1495
- if (j.push(u), I.type === "table") {
1496
- u.tableConfig || (u.tableConfig = {});
1497
- let F = u.tableConfig;
1498
- F.showPane = !1, I.modelRelationType === "associated" ? pe(I, u, F) : I.modelRelationType === "child" && (u.formConfig === void 0 && (u.formConfig = {}), u.formConfig.functions === void 0 && (u.formConfig.functions = {}), I.queryParamName && (u.formConfig.functions.beforeSubmit = (k) => {
1499
- k[I.queryParamName] = a.value;
1500
- })), F.queryParams || (F.queryParams = {}), I.queryParamName && (F.queryParams[I.queryParamName] = a.value), I.queryParams && Object.assign(F.queryParams, I.queryParams), F.readOnly = (Y = I.readOnly) != null ? Y : !1, I.includeFields && (u.fields = u.fields.filter((k) => {
1501
- var l;
1502
- return (l = I.includeFields) == null ? void 0 : l.includes(k.prop);
1503
- })), I.excludeFields && (u.fields = u.fields.filter((k) => {
1504
- var l;
1505
- return !((l = I.excludeFields) != null && l.includes(k.prop));
1506
- })), I.tooltip && (F.tooltip = I.tooltip);
1498
+ for (let p of x) {
1499
+ const S = Ce(he.value[p.modelKey]);
1500
+ if (W.push(S), p.type === "table") {
1501
+ S.tableConfig || (S.tableConfig = {});
1502
+ let u = S.tableConfig;
1503
+ u.showPane = !1, p.modelRelationType === "associated" ? m(p, S, u) : p.modelRelationType === "child" && (S.formConfig === void 0 && (S.formConfig = {}), S.formConfig.functions === void 0 && (S.formConfig.functions = {}), p.queryParamName && (S.formConfig.functions.beforeSubmit = (l) => {
1504
+ l[p.queryParamName] = t.value;
1505
+ })), u.queryParams || (u.queryParams = {}), p.queryParamName && (u.queryParams[p.queryParamName] = t.value), p.queryParams && Object.assign(u.queryParams, p.queryParams), u.readOnly = (L = p.readOnly) != null ? L : !1, p.includeFields && (S.fields = S.fields.filter((l) => {
1506
+ var f;
1507
+ return (f = p.includeFields) == null ? void 0 : f.includes(l.prop);
1508
+ })), p.excludeFields && (S.fields = S.fields.filter((l) => {
1509
+ var f;
1510
+ return !((f = p.excludeFields) != null && f.includes(l.prop));
1511
+ })), p.tooltip && (u.tooltip = p.tooltip);
1507
1512
  }
1508
1513
  }
1509
1514
  }
1510
- me(
1515
+ ue(
1511
1516
  [
1512
1517
  () => {
1513
- var h, y;
1514
- return (y = (h = p.pageConfig) == null ? void 0 : h.detailPage) == null ? void 0 : y.infoCard;
1518
+ var _, A;
1519
+ return (A = (_ = w.pageConfig) == null ? void 0 : _.detailPage) == null ? void 0 : A.infoCard;
1515
1520
  },
1516
1521
  () => {
1517
- var h;
1518
- return (h = C.value) == null ? void 0 : h.formData;
1522
+ var _;
1523
+ return (_ = C.value) == null ? void 0 : _.formData;
1519
1524
  }
1520
1525
  ],
1521
- (h) => {
1522
- Ve(() => {
1523
- var x, M, U;
1524
- const y = (M = (x = p.pageConfig) == null ? void 0 : x.detailPage) == null ? void 0 : M.infoCard;
1525
- y && (K.value = y.titleFieldProp ? C.value.formData[y.titleFieldProp] : "", J.value = y.subtitleFieldProp ? C.value.formData[y.subtitleFieldProp] : "", D.value = y.tagFieldProp ? C.value.formData[y.tagFieldProp] : "", (U = p.fields) == null || U.forEach((Y) => {
1526
- var I, u;
1527
- if (Y.prop === y.tagFieldProp) {
1528
- const F = (u = (I = Y.tableColumnAttributes) == null ? void 0 : I.functions) == null ? void 0 : u.transformValue;
1529
- F && (D.value = F(D.value));
1526
+ (_) => {
1527
+ De(() => {
1528
+ var x, M, F;
1529
+ const A = (M = (x = w.pageConfig) == null ? void 0 : x.detailPage) == null ? void 0 : M.infoCard;
1530
+ A && (P.value = A.titleFieldProp ? C.value.formData[A.titleFieldProp] : "", z.value = A.subtitleFieldProp ? C.value.formData[A.subtitleFieldProp] : "", D.value = A.tagFieldProp ? C.value.formData[A.tagFieldProp] : "", (F = w.fields) == null || F.forEach((L) => {
1531
+ var p, S;
1532
+ if (L.prop === A.tagFieldProp) {
1533
+ const u = (S = (p = L.tableColumnAttributes) == null ? void 0 : p.functions) == null ? void 0 : S.transformValue;
1534
+ u && (D.value = u(D.value));
1530
1535
  }
1531
1536
  }));
1532
1537
  });
@@ -1536,35 +1541,35 @@ const Ae = (s) => {
1536
1541
  deep: !0
1537
1542
  }
1538
1543
  );
1539
- function P() {
1544
+ function h() {
1540
1545
  e.value = !0;
1541
1546
  }
1542
- function f() {
1547
+ function G() {
1543
1548
  C.value.refresh();
1544
1549
  }
1545
- return (h, y) => {
1546
- var Z, q, oe, ce, ae, ne;
1547
- const x = w("el-breadcrumb-item"), M = w("el-breadcrumb"), U = w("el-button"), Y = w("el-icon"), I = w("el-dropdown-item"), u = w("el-dropdown-menu"), F = w("el-dropdown"), k = w("el-tag"), l = w("el-tab-pane"), E = w("el-tabs"), O = w("el-dialog");
1548
- return n(), B(ee, null, [
1550
+ return (_, A) => {
1551
+ var H, oe, ce, ae, ne, $;
1552
+ const x = y("el-breadcrumb-item"), M = y("el-breadcrumb"), F = y("el-button"), L = y("el-icon"), p = y("el-dropdown-item"), S = y("el-dropdown-menu"), u = y("el-dropdown"), l = y("el-tag"), f = y("el-tab-pane"), B = y("el-tabs"), Z = y("el-dialog");
1553
+ return n(), U(ee, null, [
1549
1554
  i("div", Ro, [
1550
1555
  d(M, null, {
1551
1556
  default: r(() => {
1552
- var R, $;
1557
+ var j, pe;
1553
1558
  return [
1554
1559
  d(x, {
1555
- to: { path: `/${($ = (R = p == null ? void 0 : p.breadcrumbRoute) != null ? R : p == null ? void 0 : p.route) != null ? $ : ""}` }
1560
+ to: { path: `/${(pe = (j = w == null ? void 0 : w.breadcrumbRoute) != null ? j : w == null ? void 0 : w.route) != null ? pe : ""}` }
1556
1561
  }, {
1557
1562
  default: r(() => {
1558
- var ue;
1563
+ var me;
1559
1564
  return [
1560
- z(Q(v(o)((ue = p == null ? void 0 : p.name) != null ? ue : "")), 1)
1565
+ N(Q(v(a)((me = w == null ? void 0 : w.name) != null ? me : "")), 1)
1561
1566
  ];
1562
1567
  }),
1563
1568
  _: 1
1564
1569
  }, 8, ["to"]),
1565
1570
  d(x, null, {
1566
1571
  default: r(() => [
1567
- z(Q(v(o)("common.basic.detail")), 1)
1572
+ N(Q(v(a)("common.basic.detail")), 1)
1568
1573
  ]),
1569
1574
  _: 1
1570
1575
  })
@@ -1573,36 +1578,36 @@ const Ae = (s) => {
1573
1578
  _: 1
1574
1579
  }),
1575
1580
  i("div", null, [
1576
- d(U, {
1581
+ d(F, {
1577
1582
  type: "primary",
1578
- onClick: P
1583
+ onClick: h
1579
1584
  }, {
1580
1585
  default: r(() => [
1581
- z(Q(v(o)("common.table.edit")), 1)
1586
+ N(Q(v(a)("common.table.edit")), 1)
1582
1587
  ]),
1583
1588
  _: 1
1584
1589
  }),
1585
- d(U, {
1590
+ d(F, {
1586
1591
  type: "danger",
1587
1592
  plain: "",
1588
1593
  disabled: ""
1589
1594
  }, {
1590
1595
  default: r(() => [
1591
- z(Q(v(o)("common.table.delete")), 1)
1596
+ N(Q(v(a)("common.table.delete")), 1)
1592
1597
  ]),
1593
1598
  _: 1
1594
1599
  }),
1595
- ((q = (Z = p.pageConfig) == null ? void 0 : Z.detailPage) == null ? void 0 : q.operationButtons) !== void 0 ? (n(), _(F, { key: 0 }, {
1600
+ ((oe = (H = w.pageConfig) == null ? void 0 : H.detailPage) == null ? void 0 : oe.operationButtons) !== void 0 ? (n(), I(u, { key: 0 }, {
1596
1601
  dropdown: r(() => [
1597
- d(u, null, {
1602
+ d(S, null, {
1598
1603
  default: r(() => {
1599
- var R, $;
1604
+ var j, pe;
1600
1605
  return [
1601
- (n(!0), B(ee, null, se(($ = (R = p.pageConfig) == null ? void 0 : R.detailPage) == null ? void 0 : $.operationButtons, (ue) => (n(), _(I, {
1602
- onClick: (Ce) => ue.function(C.value.formData)
1606
+ (n(!0), U(ee, null, se((pe = (j = w.pageConfig) == null ? void 0 : j.detailPage) == null ? void 0 : pe.operationButtons, (me) => (n(), I(p, {
1607
+ onClick: (ye) => me.function(C.value.formData)
1603
1608
  }, {
1604
1609
  default: r(() => [
1605
- z(Q(v(o)(ue.label)), 1)
1610
+ N(Q(v(a)(me.label)), 1)
1606
1611
  ]),
1607
1612
  _: 2
1608
1613
  }, 1032, ["onClick"]))), 256))
@@ -1612,10 +1617,10 @@ const Ae = (s) => {
1612
1617
  })
1613
1618
  ]),
1614
1619
  default: r(() => [
1615
- d(U, { style: { margin: "0 10px" } }, {
1620
+ d(F, { style: { margin: "0 10px" } }, {
1616
1621
  default: r(() => [
1617
- z(Q(v(o)("common.basic.more")), 1),
1618
- d(Y, { class: "el-icon--right" }, {
1622
+ N(Q(v(a)("common.basic.more")), 1),
1623
+ d(L, { class: "el-icon--right" }, {
1619
1624
  default: r(() => [
1620
1625
  d(v(pt))
1621
1626
  ]),
@@ -1626,175 +1631,175 @@ const Ae = (s) => {
1626
1631
  })
1627
1632
  ]),
1628
1633
  _: 1
1629
- })) : T("", !0),
1630
- d(U, {
1631
- icon: v(Ke),
1632
- onClick: f
1634
+ })) : K("", !0),
1635
+ d(F, {
1636
+ icon: v(Le),
1637
+ onClick: G
1633
1638
  }, null, 8, ["icon"])
1634
1639
  ])
1635
1640
  ]),
1636
- (ce = (oe = p.pageConfig) == null ? void 0 : oe.detailPage) != null && ce.infoCard ? (n(), B("div", Vo, [
1641
+ (ae = (ce = w.pageConfig) == null ? void 0 : ce.detailPage) != null && ae.infoCard ? (n(), U("div", Vo, [
1637
1642
  i("div", Do, [
1638
- (n(), _(Ee((ae = p.pageConfig.detailPage.infoCard.icon) != null ? ae : ""), { class: "icon" }))
1643
+ (n(), I(Se((ne = w.pageConfig.detailPage.infoCard.icon) != null ? ne : ""), { class: "icon" }))
1639
1644
  ]),
1640
- i("div", Po, [
1641
- i("div", To, [
1642
- i("h1", null, Q(K.value), 1),
1643
- ((ne = D.value) == null ? void 0 : ne.length) > 0 ? (n(), _(k, {
1645
+ i("div", To, [
1646
+ i("div", Ko, [
1647
+ i("h1", null, Q(P.value), 1),
1648
+ (($ = D.value) == null ? void 0 : $.length) > 0 ? (n(), I(l, {
1644
1649
  key: 0,
1645
1650
  size: "small"
1646
1651
  }, {
1647
1652
  default: r(() => [
1648
- z(Q(D.value), 1)
1653
+ N(Q(D.value), 1)
1649
1654
  ]),
1650
1655
  _: 1
1651
- })) : T("", !0)
1656
+ })) : K("", !0)
1652
1657
  ]),
1653
- i("span", null, Q(J.value), 1)
1658
+ i("span", null, Q(z.value), 1)
1654
1659
  ])
1655
- ])) : T("", !0),
1656
- i("div", Ko, [
1657
- d(E, {
1658
- modelValue: L.value,
1659
- "onUpdate:modelValue": y[0] || (y[0] = (R) => L.value = R),
1660
- onTabClick: N
1660
+ ])) : K("", !0),
1661
+ i("div", Po, [
1662
+ d(B, {
1663
+ modelValue: X.value,
1664
+ "onUpdate:modelValue": A[0] || (A[0] = (j) => X.value = j),
1665
+ onTabClick: q
1661
1666
  }, {
1662
1667
  default: r(() => {
1663
- var R, $;
1668
+ var j, pe;
1664
1669
  return [
1665
- d(l, {
1666
- label: v(o)("common.basic.summary"),
1670
+ d(f, {
1671
+ label: v(a)("common.basic.summary"),
1667
1672
  name: "summary"
1668
1673
  }, {
1669
1674
  default: r(() => [
1670
- d(He, {
1675
+ d(Je, {
1671
1676
  ref_key: "formViewRef",
1672
1677
  ref: C,
1673
- id: a.value,
1674
- sessionId: 0,
1678
+ id: t.value,
1679
+ sessionId: O.value,
1675
1680
  mode: c.value,
1676
- model: p
1677
- }, null, 8, ["id", "mode", "model"])
1681
+ model: w
1682
+ }, null, 8, ["id", "sessionId", "mode", "model"])
1678
1683
  ]),
1679
1684
  _: 1
1680
1685
  }, 8, ["label"]),
1681
- (n(!0), B(ee, null, se(($ = (R = p.pageConfig) == null ? void 0 : R.detailPage) == null ? void 0 : $.tabs, (ue) => {
1682
- var Ce;
1683
- return n(), _(l, {
1684
- label: v(o)((Ce = ue.name) != null ? Ce : "")
1686
+ (n(!0), U(ee, null, se((pe = (j = w.pageConfig) == null ? void 0 : j.detailPage) == null ? void 0 : pe.tabs, (me) => {
1687
+ var ye;
1688
+ return n(), I(f, {
1689
+ label: v(a)((ye = me.name) != null ? ye : "")
1685
1690
  }, null, 8, ["label"]);
1686
1691
  }), 256))
1687
1692
  ];
1688
1693
  }),
1689
1694
  _: 1
1690
1695
  }, 8, ["modelValue"]),
1691
- A.value >= 0 ? (n(), _(Me, {
1696
+ k.value >= 0 ? (n(), I(Qe, {
1692
1697
  key: 0,
1693
1698
  ref_key: "tabPaneTableRef",
1694
1699
  ref: V,
1695
- model: j[A.value]
1696
- }, null, 8, ["model"])) : T("", !0),
1697
- d(O, {
1700
+ model: W[k.value]
1701
+ }, null, 8, ["model"])) : K("", !0),
1702
+ d(Z, {
1698
1703
  modelValue: b.value,
1699
- "onUpdate:modelValue": y[2] || (y[2] = (R) => b.value = R),
1700
- title: v(o)("common.table.select"),
1704
+ "onUpdate:modelValue": A[2] || (A[2] = (j) => b.value = j),
1705
+ title: v(a)("common.table.select"),
1701
1706
  width: "800px"
1702
1707
  }, {
1703
1708
  footer: r(() => [
1704
1709
  i("span", Lo, [
1705
- d(U, {
1706
- onClick: y[1] || (y[1] = (R) => b.value = !1)
1710
+ d(F, {
1711
+ onClick: A[1] || (A[1] = (j) => b.value = !1)
1707
1712
  }, {
1708
1713
  default: r(() => [
1709
- z(Q(v(o)("common.basic.cancel")), 1)
1714
+ N(Q(v(a)("common.basic.cancel")), 1)
1710
1715
  ]),
1711
1716
  _: 1
1712
1717
  }),
1713
- d(U, {
1718
+ d(F, {
1714
1719
  type: "primary",
1715
- onClick: X
1720
+ onClick: fe
1716
1721
  }, {
1717
1722
  default: r(() => [
1718
- z(Q(v(o)("common.basic.save")), 1)
1723
+ N(Q(v(a)("common.basic.save")), 1)
1719
1724
  ]),
1720
1725
  _: 1
1721
1726
  })
1722
1727
  ])
1723
1728
  ]),
1724
1729
  default: r(() => [
1725
- A.value >= 0 ? (n(), _(Me, {
1730
+ k.value >= 0 ? (n(), I(Qe, {
1726
1731
  key: 0,
1727
1732
  ref_key: "selectTableRef",
1728
- ref: G,
1729
- model: v(W)[A.value]
1730
- }, null, 8, ["model"])) : T("", !0)
1733
+ ref: R,
1734
+ model: v(Y)[k.value]
1735
+ }, null, 8, ["model"])) : K("", !0)
1731
1736
  ]),
1732
1737
  _: 1
1733
1738
  }, 8, ["modelValue", "title"])
1734
1739
  ]),
1735
- d(Je, {
1736
- id: a.value,
1740
+ d(ze, {
1741
+ id: t.value,
1737
1742
  mode: "update",
1738
1743
  visible: e.value,
1739
- "onUpdate:visible": y[3] || (y[3] = (R) => e.value = R),
1740
- model: p,
1741
- afterSubmitFunc: f
1744
+ "onUpdate:visible": A[3] || (A[3] = (j) => e.value = j),
1745
+ model: w,
1746
+ afterSubmitFunc: G
1742
1747
  }, null, 8, ["id", "visible", "model"])
1743
1748
  ], 64);
1744
1749
  };
1745
1750
  }
1746
- }), Xo = /* @__PURE__ */ re(jo, [["__scopeId", "data-v-6ce0c66f"]]), Yo = { class: "page-title" }, qo = /* @__PURE__ */ de({
1751
+ }), Xo = /* @__PURE__ */ re(jo, [["__scopeId", "data-v-2058509d"]]), Yo = { class: "page-title" }, qo = /* @__PURE__ */ de({
1747
1752
  __name: "TablePage",
1748
1753
  setup(s) {
1749
- const { t: o } = _e(), t = ke(), g = xe(), a = S(), e = S([]), b = le({
1754
+ const { t: a } = Ie(), o = _e(), g = Be(), t = E(), e = E([]), b = le({
1750
1755
  api: "",
1751
1756
  fields: []
1752
- }), c = le(Ie({}, b));
1757
+ }), c = le(Ee({}, b));
1753
1758
  function C() {
1754
- var V, G, L, K, J;
1755
- e.value = [], b.pageConfig && ((G = (V = b.pageConfig) == null ? void 0 : V.tablePage) != null && G.tabViewAttributes) && (e.value = (J = (K = (L = b.pageConfig) == null ? void 0 : L.tablePage) == null ? void 0 : K.tabViewAttributes) == null ? void 0 : J.map((D) => {
1756
- let p;
1757
- return D.modelKey && fe.value[D.modelKey] ? p = be(fe.value[D.modelKey]) : p = be(b), D.queryParams && (p.tableConfig || (p.tableConfig = {}), p.tableConfig.queryParams = D.queryParams), D.fields && (p.fields = D.fields), D.modelKey && (p.breadcrumbRoute = b.route), {
1759
+ var V, R, X, P, z;
1760
+ e.value = [], b.pageConfig && ((R = (V = b.pageConfig) == null ? void 0 : V.tablePage) != null && R.tabViewAttributes) && (e.value = (z = (P = (X = b.pageConfig) == null ? void 0 : X.tablePage) == null ? void 0 : P.tabViewAttributes) == null ? void 0 : z.map((D) => {
1761
+ let O;
1762
+ return D.modelKey && he.value[D.modelKey] ? O = Ce(he.value[D.modelKey]) : O = Ce(b), D.queryParams && (O.tableConfig || (O.tableConfig = {}), O.tableConfig.queryParams = D.queryParams), D.fields && (O.fields = D.fields), D.modelKey && (O.breadcrumbRoute = b.route), {
1758
1763
  key: D.key,
1759
1764
  label: D.label,
1760
1765
  icon: D.icon,
1761
1766
  disabled: D.disabled,
1762
- model: p
1767
+ model: O
1763
1768
  };
1764
1769
  }));
1765
1770
  }
1766
- function A() {
1767
- var L, K;
1768
- console.log("Init table page, loading model:", t.params.model), console.log("Current model list", fe.value);
1769
- const V = t.params.model;
1770
- if (fe.value[V] === void 0) {
1771
+ function k() {
1772
+ var X, P;
1773
+ console.log("Init table page, loading model:", o.params.model), console.log("Current model list", he.value);
1774
+ const V = o.params.model;
1775
+ if (he.value[V] === void 0) {
1771
1776
  console.warn("Model not found", V);
1772
1777
  return;
1773
1778
  }
1774
- Ae(b);
1775
- const G = be(fe.value[V]);
1776
- Object.assign(b, G), (K = (L = b.pageConfig) == null ? void 0 : L.tablePage) != null && K.tabViewAttributes || Object.assign(c, b), C();
1779
+ ke(b);
1780
+ const R = Ce(he.value[V]);
1781
+ Object.assign(b, R), (P = (X = b.pageConfig) == null ? void 0 : X.tablePage) != null && P.tabViewAttributes || Object.assign(c, b), C();
1777
1782
  }
1778
- return me([
1783
+ return ue([
1779
1784
  () => g.currentRoute.value,
1780
- fe
1785
+ he
1781
1786
  ], () => {
1782
- A();
1787
+ k();
1783
1788
  }, {
1784
1789
  immediate: !0,
1785
1790
  deep: !0
1786
- }), (V, G) => {
1787
- var L, K, J;
1788
- return n(), B(ee, null, [
1789
- i("h1", Yo, Q(v(o)((L = b.name) != null ? L : "")), 1),
1790
- (J = (K = b.pageConfig) == null ? void 0 : K.tablePage) != null && J.tabViewAttributes ? (n(), _(qe, {
1791
+ }), (V, R) => {
1792
+ var X, P, z;
1793
+ return n(), U(ee, null, [
1794
+ i("h1", Yo, Q(v(a)((X = b.name) != null ? X : "")), 1),
1795
+ (z = (P = b.pageConfig) == null ? void 0 : P.tablePage) != null && z.tabViewAttributes ? (n(), I(He, {
1791
1796
  key: 0,
1792
1797
  cards: e.value,
1793
- tableRef: a.value
1794
- }, null, 8, ["cards", "tableRef"])) : T("", !0),
1795
- d(Me, {
1798
+ tableRef: t.value
1799
+ }, null, 8, ["cards", "tableRef"])) : K("", !0),
1800
+ d(Qe, {
1796
1801
  ref_key: "tableRef",
1797
- ref: a,
1802
+ ref: t,
1798
1803
  model: c
1799
1804
  }, null, 8, ["model"])
1800
1805
  ], 64);
@@ -1803,35 +1808,35 @@ const Ae = (s) => {
1803
1808
  }), Ho = /* @__PURE__ */ re(qo, [["__scopeId", "data-v-0381c6cb"]]), Jo = [
1804
1809
  ht,
1805
1810
  ro,
1806
- Xe,
1811
+ Ye,
1807
1812
  go,
1808
1813
  Co,
1809
- Ye,
1810
1814
  qe,
1811
- Me,
1815
+ He,
1816
+ Qe,
1812
1817
  Xo,
1813
1818
  Ho
1814
1819
  ], aa = (s) => {
1815
- s && s.component && Jo.forEach((o) => {
1816
- console.log("component", o.__name, o), s.component(o.__name, o);
1820
+ s && s.component && Jo.forEach((a) => {
1821
+ console.log("component", a.__name, a), s.component(a.__name, a);
1817
1822
  });
1818
1823
  };
1819
1824
  export {
1820
1825
  ht as Building,
1821
1826
  ro as ConsoleApp,
1822
1827
  Xo as DetailPage,
1823
- Xe as Header,
1828
+ Ye as Header,
1824
1829
  go as NoPermission,
1825
1830
  Co as Secondary,
1826
- Ye as SideMenu,
1827
- qe as TabCard,
1831
+ qe as SideMenu,
1832
+ He as TabCard,
1828
1833
  Ho as TablePage,
1829
- Me as TableView,
1834
+ Qe as TableView,
1830
1835
  Wt as activeMenuMapping,
1831
1836
  aa as default,
1832
1837
  Mt as en,
1833
- Se as i18n,
1838
+ Me as i18n,
1834
1839
  $t as menuList,
1835
- fe as modelList,
1840
+ he as modelList,
1836
1841
  Qt as zh
1837
1842
  };