@vancone/console-component 0.1.0-beta.21 → 0.1.0-beta.22

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.
@@ -2,28 +2,28 @@ var Ze = Object.defineProperty, We = Object.defineProperties;
2
2
  var $e = Object.getOwnPropertyDescriptors;
3
3
  var Fe = Object.getOwnPropertySymbols;
4
4
  var et = Object.prototype.hasOwnProperty, tt = Object.prototype.propertyIsEnumerable;
5
- var Re = (r, a, o) => a in r ? Ze(r, a, { enumerable: !0, configurable: !0, writable: !0, value: o }) : r[a] = o, Ee = (r, a) => {
6
- for (var o in a || (a = {}))
7
- et.call(a, o) && Re(r, o, a[o]);
5
+ var Re = (r, o, a) => o in r ? Ze(r, o, { enumerable: !0, configurable: !0, writable: !0, value: a }) : r[o] = a, Ee = (r, o) => {
6
+ for (var a in o || (o = {}))
7
+ et.call(o, a) && Re(r, a, o[a]);
8
8
  if (Fe)
9
- for (var o of Fe(a))
10
- tt.call(a, o) && Re(r, o, a[o]);
9
+ for (var a of Fe(o))
10
+ tt.call(o, a) && Re(r, a, o[a]);
11
11
  return r;
12
- }, Ve = (r, a) => We(r, $e(a));
13
- import { openBlock as l, createElementBlock as U, defineComponent as pe, reactive as ne, resolveComponent as b, createVNode as d, withCtx as n, 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 he, createStaticVNode as ot, nextTick as De, normalizeClass as Te, resolveDirective as Ke, withDirectives as Pe } from "vue";
12
+ }, Ve = (r, o) => We(r, $e(o));
13
+ import { openBlock as l, createElementBlock as U, defineComponent as pe, reactive as ne, resolveComponent as b, createVNode as d, withCtx as n, createElementVNode as c, 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 z, createBlock as I, resolveDynamicComponent as Se, computed as xe, createStaticVNode as ot, nextTick as De, watch as be, normalizeClass as Te, resolveDirective as Ke, withDirectives as Pe } from "vue";
14
14
  import { useRoute as ke, useRouter as Be } from "vue-router";
15
15
  import at from "axios";
16
16
  import { ElMessage as Ue, ElMessageBox as lt } from "element-plus";
17
17
  import { createI18n as nt, useI18n as Ie } from "vue-i18n";
18
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
19
  import { cloneDeep as Ce } from "lodash";
20
- const re = (r, a) => {
21
- const o = r.__vccOpts || r;
22
- for (const [g, e] of a)
23
- o[g] = e;
24
- return o;
20
+ const re = (r, o) => {
21
+ const a = r.__vccOpts || r;
22
+ for (const [w, e] of o)
23
+ a[w] = e;
24
+ return a;
25
25
  }, ut = {}, ft = { class: "building" };
26
- function mt(r, a) {
26
+ function mt(r, o) {
27
27
  return l(), 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/7XWf2VPo9EQgOOVK8VRSaPBT29KGg5+PBz8fK+bkoZiKOP+vp8/kLQa/Hg1+LkkzRfGZuZj+PpA5vQQhIBUrhTDMNv/b0m6ZaquiIThGYbm7r8LYzOrTT8LcARBCKeUK8Vx+V3dqN4HXtqDrlv39T4g5+V3k7MmCwKSRBAik4JlzJvBP+Pyg++quYpSaUF+MM7KD8kHLLciiwhCpN4hoRfX/hx89+UH46wIR2QAQYjUCZY3x/U++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onFf74OPrg+SYrnQu50QLF+6fue2xPgEUiC49zT8h2BMhzD4ZrnfE8cJBvKn1d1qUDshWJU0eun6nVWJIEQK7QnGcJ+RpVSzqvJD74EIPnSoywu92wlBKVgSDX9CECL1gmH+m3ofjDdFOMalqiDwgn8/YKgdUergQu92Q/C3l67fKe39BYIQmbQvHMN/GNloz4KCsBOhh4S1eKF3u8uhE5eu37m3/zcIQjglWFYdDf65KWlY7Dvel7QqP+zmJc2zvAlbHHGhdzsheF9+CM4f9psEIaDdEY4wGPf+W0p/UN4P/v1A7wNvVX6Hx+gCUmHfhd6thuCCpKn9S6H7EYRAi4Ll1tHgp2FYSh+Gpvb8ftT7lOH+3F5hqElBNxf+mGVMZE1woOb/SPqVmm91PJS/h126dP1OS6M6BCEAIJWCfcTQaqvBt99/AbvQE87h1n5GAAAAAElFTkSuQmCC", ie = at.create({
@@ -32,25 +32,25 @@ const ht = /* @__PURE__ */ re(ut, [["render", mt], ["__scopeId", "data-v-07bd45d
32
32
  });
33
33
  ie.interceptors.request.use((r) => r);
34
34
  ie.interceptors.response.use((r) => {
35
- const { headers: a, method: o } = r.config, { code: g, message: e } = r.data, { "No-Success-Message": t } = a, C = o !== "get";
36
- return g === 0 ? (C && !t && Ue({
35
+ const { headers: o, method: a } = r.config, { code: w, message: e } = r.data, { "No-Success-Message": t } = o, C = a !== "get";
36
+ return w === 0 ? (C && !t && Ue({
37
37
  message: e,
38
38
  type: "success"
39
39
  }), Promise.resolve(r)) : (Ue({
40
40
  type: "error",
41
41
  message: e
42
- }), Promise.reject(new Error(`${g}`)));
42
+ }), Promise.reject(new Error(`${w}`)));
43
43
  }, (r) => {
44
- var g;
45
- const { config: a, response: o } = r;
46
- if (o) {
47
- const { status: e } = o;
44
+ var w;
45
+ const { config: o, response: a } = r;
46
+ if (a) {
47
+ const { status: e } = a;
48
48
  if (e === 401) {
49
- const c = window.escape(window.location.href);
50
- let y = (g = o.data.data) != null ? g : "https://passport.vancone.com";
51
- window.location.href = `${y}/?from=${c}`;
49
+ const i = window.escape(window.location.href);
50
+ let g = (w = a.data.data) != null ? w : "https://passport.vancone.com";
51
+ window.location.href = `${g}/?from=${i}`;
52
52
  }
53
- const { message: t, error: C } = o.data;
53
+ const { message: t, error: C } = a.data;
54
54
  Ue({
55
55
  type: "error",
56
56
  message: t || C
@@ -80,55 +80,55 @@ const wt = { class: "app-catalog-wrapper" }, At = { style: { width: "calc(100% -
80
80
  visible: { type: Boolean }
81
81
  },
82
82
  setup(r) {
83
- const a = r, o = ne([]);
84
- function g() {
83
+ const o = r, a = ne([]);
84
+ function w() {
85
85
  Ct().then(({ data: e }) => {
86
- o.splice(0, o.length, ...e.data.list), yt().then(({ data: t }) => {
86
+ a.splice(0, a.length, ...e.data.list), yt().then(({ data: t }) => {
87
87
  const C = t.data.list;
88
- o.forEach((c) => {
89
- c.apps = C.filter((y) => y.appGroupId === c.id);
88
+ a.forEach((i) => {
89
+ i.apps = C.filter((g) => g.appGroupId === i.id);
90
90
  });
91
91
  });
92
92
  });
93
93
  }
94
- return g(), (e, t) => {
95
- const C = b("el-input"), c = b("el-drawer");
94
+ return w(), (e, t) => {
95
+ const C = b("el-input"), i = b("el-drawer");
96
96
  return l(), U("div", wt, [
97
- d(c, {
97
+ d(i, {
98
98
  "modal-class": "drawer-modal",
99
99
  "with-header": !1,
100
100
  direction: "ttb",
101
- modelValue: a.visible,
102
- "onUpdate:modelValue": t[0] || (t[0] = (y) => a.visible = y)
101
+ modelValue: o.visible,
102
+ "onUpdate:modelValue": t[0] || (t[0] = (g) => o.visible = g)
103
103
  }, {
104
104
  default: n(() => [
105
- t[2] || (t[2] = i("div", { class: "favorite-list" }, [
106
- i("h1", null, "Favorites")
105
+ t[2] || (t[2] = c("div", { class: "favorite-list" }, [
106
+ c("h1", null, "Favorites")
107
107
  ], -1)),
108
- i("div", At, [
108
+ c("div", At, [
109
109
  d(C, {
110
110
  class: "search-box",
111
111
  placeholder: "Search by App name"
112
112
  }),
113
- t[1] || (t[1] = i("div", { class: "recently-visit-wrapper" }, [
114
- i("span", { class: "label" }, "Recently visited:"),
115
- i("span", { class: "service-name" }, "Passport"),
116
- i("span", { class: "service-name" }, "Flow"),
117
- i("span", { class: "service-name" }, "Datable")
113
+ t[1] || (t[1] = c("div", { class: "recently-visit-wrapper" }, [
114
+ c("span", { class: "label" }, "Recently visited:"),
115
+ c("span", { class: "service-name" }, "Passport"),
116
+ c("span", { class: "service-name" }, "Flow"),
117
+ c("span", { class: "service-name" }, "Datable")
118
118
  ], -1)),
119
- i("div", _t, [
120
- (l(!0), U(ee, null, se(o, (y) => (l(), U("div", kt, [
121
- i("h1", null, Q(y.name), 1),
122
- (l(!0), U(ee, null, se(y.apps, (w) => {
123
- var D, V;
119
+ c("div", _t, [
120
+ (l(!0), U(ee, null, se(a, (g) => (l(), U("div", kt, [
121
+ c("h1", null, Q(g.name), 1),
122
+ (l(!0), U(ee, null, se(g.apps, (A) => {
123
+ var V, D;
124
124
  return l(), U("a", {
125
- style: Ge([{ "text-decoration": "none" }, { pointerEvents: ((D = w.homepageUrl) == null ? void 0 : D.length) > 0 ? "auto" : "none" }]),
125
+ style: Ge([{ "text-decoration": "none" }, { pointerEvents: ((V = A.homepageUrl) == null ? void 0 : V.length) > 0 ? "auto" : "none" }]),
126
126
  target: "_blank",
127
- href: w.homepageUrl
127
+ href: A.homepageUrl
128
128
  }, [
129
- i("h2", {
130
- style: Ge({ color: ((V = w.homepageUrl) == null ? void 0 : V.length) > 0 ? "#555" : "#bbb" })
131
- }, Q(w.name), 5)
129
+ c("h2", {
130
+ style: Ge({ color: ((D = A.homepageUrl) == null ? void 0 : D.length) > 0 ? "#555" : "#bbb" })
131
+ }, Q(A.name), 5)
132
132
  ], 12, It);
133
133
  }), 256))
134
134
  ]))), 256))
@@ -228,9 +228,9 @@ 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(r, a) {
232
- return l(), U("svg", xt, a[0] || (a[0] = [
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)
231
+ function Bt(r, o) {
232
+ return l(), U("svg", xt, o[0] || (o[0] = [
233
+ c("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
236
  const Ut = { render: Bt }, Gt = {
@@ -240,9 +240,9 @@ const Ut = { render: Bt }, Gt = {
240
240
  class: "icon",
241
241
  viewBox: "0 0 1024 1024"
242
242
  };
243
- function Ot(r, a) {
244
- return l(), U("svg", Gt, a[0] || (a[0] = [
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)
243
+ function Ot(r, o) {
244
+ return l(), U("svg", Gt, o[0] || (o[0] = [
245
+ c("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
248
  const Ft = { render: Ot }, Rt = {
@@ -252,9 +252,9 @@ const Ft = { render: Ot }, Rt = {
252
252
  class: "icon",
253
253
  viewBox: "0 0 1024 1024"
254
254
  };
255
- function Vt(r, a) {
256
- return l(), U("svg", Rt, a[0] || (a[0] = [
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)
255
+ function Vt(r, o) {
256
+ return l(), U("svg", Rt, o[0] || (o[0] = [
257
+ c("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
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__ */ pe({
@@ -264,7 +264,7 @@ const Dt = { render: Vt }, Tt = { class: "header" }, Kt = { class: "right" }, Pt
264
264
  helpDocUrl: {}
265
265
  },
266
266
  setup(r) {
267
- const { t: a } = Ie(), o = E(), g = E(), e = E(), t = r, C = E(!1), c = E(""), y = E(Me.global.locale), w = ne([
267
+ const { t: o } = Ie(), a = E(), w = E(), e = E(), t = r, C = E(!1), i = E(""), g = E(Me.global.locale), A = ne([
268
268
  {
269
269
  id: "en",
270
270
  name: "English"
@@ -275,60 +275,60 @@ const Dt = { render: Vt }, Tt = { class: "header" }, Kt = { class: "right" }, Pt
275
275
  }
276
276
  ]);
277
277
  Oe(() => {
278
- c.value = decodeURIComponent(escape(window.atob(D("passport_username")))), c.value === "" && vt().then(({ data: O }) => {
278
+ i.value = decodeURIComponent(escape(window.atob(V("passport_username")))), i.value === "" && vt().then(({ data: O }) => {
279
279
  var k;
280
- O.code == 0 && (c.value = (k = O.data.name) != null ? k : O.data.displayId);
280
+ O.code == 0 && (i.value = (k = O.data.name) != null ? k : O.data.displayId);
281
281
  });
282
282
  });
283
- function D(O) {
284
- for (var k = O + "=", W = document.cookie.split(";"), L = 0; L < W.length; L++) {
285
- for (var Y = W[L]; Y.charAt(0) == " "; ) Y = Y.substring(1);
283
+ function V(O) {
284
+ for (var k = O + "=", $ = document.cookie.split(";"), L = 0; L < $.length; L++) {
285
+ for (var Y = $[L]; Y.charAt(0) == " "; ) Y = Y.substring(1);
286
286
  if (Y.indexOf(k) != -1)
287
287
  return Y.substring(k.length, Y.length);
288
288
  }
289
289
  return "";
290
290
  }
291
- function V() {
291
+ function D() {
292
292
  bt().then(() => {
293
293
  const O = escape(window.location.href);
294
294
  window.location.href = `//${je()}/?from=${O}#login`;
295
295
  });
296
296
  }
297
- function H(O) {
298
- Me.global.locale.value = O, y.value = O, localStorage.setItem("locale", O);
297
+ function N(O) {
298
+ Me.global.locale.value = O, g.value = O, localStorage.setItem("locale", O);
299
299
  }
300
300
  function P() {
301
301
  window.open("https://portal.vancone.com/", "_blank");
302
302
  }
303
- function z() {
303
+ function J() {
304
304
  window.open("https://passport.vancone.com/#/account/profile", "_blank");
305
305
  }
306
306
  function F() {
307
307
  window.open(t.helpDocUrl, "_blank");
308
308
  }
309
309
  return (O, k) => {
310
- const W = b("el-tooltip"), L = b("el-avatar"), Y = b("el-menu-item"), fe = b("el-icon"), m = b("el-popover"), T = b("el-menu");
310
+ const $ = b("el-tooltip"), L = b("el-avatar"), Y = b("el-menu-item"), fe = b("el-icon"), m = b("el-popover"), T = b("el-menu");
311
311
  return l(), U("div", Tt, [
312
- i("div", {
312
+ c("div", {
313
313
  class: "title",
314
314
  onClick: P
315
315
  }, [
316
- k[1] || (k[1] = i("img", {
316
+ k[1] || (k[1] = c("img", {
317
317
  src: gt,
318
318
  class: "logo"
319
319
  }, null, -1)),
320
- k[2] || (k[2] = i("h1", null, "VanCone", -1)),
321
- i("span", null, Q(O.title), 1)
320
+ k[2] || (k[2] = c("h1", null, "VanCone", -1)),
321
+ c("span", null, Q(O.title), 1)
322
322
  ]),
323
323
  d(St, { visible: C.value }, null, 8, ["visible"]),
324
- i("div", Kt, [
325
- d(W, {
324
+ c("div", Kt, [
325
+ d($, {
326
326
  effect: "dark",
327
- content: v(a)("common.header.product"),
327
+ content: v(o)("common.header.product"),
328
328
  placement: "bottom"
329
329
  }, {
330
330
  default: n(() => [
331
- i("div", {
331
+ c("div", {
332
332
  class: "icon-wrapper",
333
333
  onClick: k[0] || (k[0] = (h) => C.value = !C.value)
334
334
  }, [
@@ -337,9 +337,9 @@ const Dt = { render: Vt }, Tt = { class: "header" }, Kt = { class: "right" }, Pt
337
337
  ]),
338
338
  _: 1
339
339
  }, 8, ["content"]),
340
- d(W, {
340
+ d($, {
341
341
  effect: "dark",
342
- content: v(a)("common.header.help"),
342
+ content: v(o)("common.header.help"),
343
343
  placement: "bottom"
344
344
  }, {
345
345
  default: n(() => [
@@ -353,27 +353,27 @@ const Dt = { render: Vt }, Tt = { class: "header" }, Kt = { class: "right" }, Pt
353
353
  ]),
354
354
  _: 1
355
355
  }, 8, ["content"]),
356
- d(W, {
356
+ d($, {
357
357
  effect: "dark",
358
- content: v(a)("common.header.message"),
358
+ content: v(o)("common.header.message"),
359
359
  placement: "bottom"
360
360
  }, {
361
361
  default: n(() => [
362
- i("div", Pt, [
362
+ c("div", Pt, [
363
363
  d(v(Dt))
364
364
  ])
365
365
  ]),
366
366
  _: 1
367
367
  }, 8, ["content"]),
368
- i("div", Lt, [
368
+ c("div", Lt, [
369
369
  d(L, {
370
370
  size: 30,
371
371
  src: "",
372
372
  ref_key: "avatarRef",
373
- ref: o
373
+ ref: a
374
374
  }, {
375
375
  default: n(() => [
376
- i("span", jt, Q(c.value.substring(0, 2)), 1)
376
+ c("span", jt, Q(i.value.substring(0, 2)), 1)
377
377
  ]),
378
378
  _: 1
379
379
  }, 512),
@@ -382,29 +382,29 @@ const Dt = { render: Vt }, Tt = { class: "header" }, Kt = { class: "right" }, Pt
382
382
  width: "280",
383
383
  effect: "dark",
384
384
  ref_key: "popoverRef",
385
- ref: g,
386
- "virtual-ref": o.value,
385
+ ref: w,
386
+ "virtual-ref": a.value,
387
387
  trigger: "hover",
388
388
  "virtual-triggering": ""
389
389
  }, {
390
390
  default: n(() => [
391
- i("div", Xt, [
391
+ c("div", Xt, [
392
392
  d(L, {
393
393
  size: 48,
394
394
  src: ""
395
395
  }, {
396
396
  default: n(() => [
397
- i("span", Yt, Q(c.value.substring(0, 2)), 1)
397
+ c("span", Yt, Q(i.value.substring(0, 2)), 1)
398
398
  ]),
399
399
  _: 1
400
400
  }),
401
- i("span", null, Q(c.value), 1)
401
+ c("span", null, Q(i.value), 1)
402
402
  ]),
403
403
  d(T, { class: "user-menu" }, {
404
404
  default: n(() => [
405
- d(Y, { onClick: z }, {
405
+ d(Y, { onClick: J }, {
406
406
  default: n(() => [
407
- N(Q(v(a)("common.header.userCenter")), 1)
407
+ z(Q(v(o)("common.header.userCenter")), 1)
408
408
  ]),
409
409
  _: 1
410
410
  }),
@@ -414,7 +414,7 @@ const Dt = { render: Vt }, Tt = { class: "header" }, Kt = { class: "right" }, Pt
414
414
  style: { display: "flext", "justify-content": "space-between" }
415
415
  }, {
416
416
  default: n(() => [
417
- i("span", null, Q(v(a)("common.header.switchLanguage")), 1),
417
+ c("span", null, Q(v(o)("common.header.switchLanguage")), 1),
418
418
  d(fe, { style: { left: "15px" } }, {
419
419
  default: n(() => [
420
420
  d(v(st))
@@ -436,12 +436,12 @@ const Dt = { render: Vt }, Tt = { class: "header" }, Kt = { class: "right" }, Pt
436
436
  "popper-style": "height: 80px; left: -165px"
437
437
  }, {
438
438
  default: n(() => [
439
- (l(!0), U(ee, null, se(w, (h) => (l(), U("div", {
439
+ (l(!0), U(ee, null, se(A, (h) => (l(), U("div", {
440
440
  class: "select-list",
441
- onClick: (G) => H(h.id)
441
+ onClick: (G) => N(h.id)
442
442
  }, [
443
- i("span", null, Q(h.name), 1),
444
- h.id === y.value ? (l(), I(fe, {
443
+ c("span", null, Q(h.name), 1),
444
+ h.id === g.value ? (l(), I(fe, {
445
445
  key: 0,
446
446
  style: { color: "#8ba74f" }
447
447
  }, {
@@ -454,9 +454,9 @@ const Dt = { render: Vt }, Tt = { class: "header" }, Kt = { class: "right" }, Pt
454
454
  ]),
455
455
  _: 1
456
456
  }, 8, ["virtual-ref"]),
457
- d(Y, { onClick: V }, {
457
+ d(Y, { onClick: D }, {
458
458
  default: n(() => [
459
- N(Q(v(a)("common.header.signOut")), 1)
459
+ z(Q(v(o)("common.header.signOut")), 1)
460
460
  ]),
461
461
  _: 1
462
462
  })
@@ -477,43 +477,43 @@ const Dt = { render: Vt }, Tt = { class: "header" }, Kt = { class: "right" }, Pt
477
477
  menu: {}
478
478
  },
479
479
  setup(r) {
480
- const a = r;
481
- return (o, g) => {
480
+ const o = r;
481
+ return (a, w) => {
482
482
  const e = b("SideMenuItem", !0), t = b("el-sub-menu"), C = b("el-menu-item");
483
- return o.menu.children && o.menu.children.length > 0 ? (l(), I(t, {
483
+ return a.menu.children && a.menu.children.length > 0 ? (l(), I(t, {
484
484
  key: 0,
485
- index: o.menu.path
485
+ index: a.menu.path
486
486
  }, {
487
487
  title: n(() => {
488
- var c, y, w;
488
+ var i, g, A;
489
489
  return [
490
- i("div", Jt, [
491
- (l(), I(Se((c = o.menu.meta) == null ? void 0 : c.icon), { class: "menu-icon" }))
490
+ c("div", Jt, [
491
+ (l(), I(Se((i = a.menu.meta) == null ? void 0 : i.icon), { class: "menu-icon" }))
492
492
  ]),
493
- i("span", null, Q(o.$t((w = (y = o.menu.meta) == null ? void 0 : y.title) != null ? w : "")), 1)
493
+ c("span", null, Q(a.$t((A = (g = a.menu.meta) == null ? void 0 : g.title) != null ? A : "")), 1)
494
494
  ];
495
495
  }),
496
496
  default: n(() => [
497
- (l(!0), U(ee, null, se(o.menu.children, (c) => (l(), I(e, {
498
- key: c.path,
499
- route: c
497
+ (l(!0), U(ee, null, se(a.menu.children, (i) => (l(), I(e, {
498
+ key: i.path,
499
+ route: i
500
500
  }, null, 8, ["route"]))), 128))
501
501
  ]),
502
502
  _: 1
503
503
  }, 8, ["index"])) : (l(), I(C, {
504
504
  key: 1,
505
- index: a.menu.path,
505
+ index: o.menu.path,
506
506
  style: { height: "40px" }
507
507
  }, {
508
508
  title: n(() => {
509
- var c;
509
+ var i;
510
510
  return [
511
- i("span", null, Q(o.$t((c = o.menu.title) != null ? c : "")), 1)
511
+ c("span", null, Q(a.$t((i = a.menu.title) != null ? i : "")), 1)
512
512
  ];
513
513
  }),
514
514
  default: n(() => [
515
- i("div", zt, [
516
- (l(), I(Se(o.$props.menu.icon), { class: "menu-icon" }))
515
+ c("div", zt, [
516
+ (l(), I(Se(a.$props.menu.icon), { class: "menu-icon" }))
517
517
  ])
518
518
  ]),
519
519
  _: 1
@@ -527,9 +527,9 @@ const Dt = { render: Vt }, Tt = { class: "header" }, Kt = { class: "right" }, Pt
527
527
  class: "icon",
528
528
  viewBox: "0 0 1024 1024"
529
529
  };
530
- function to(r, a) {
531
- return l(), U("svg", eo, a[0] || (a[0] = [
532
- i("path", {
530
+ function to(r, o) {
531
+ return l(), U("svg", eo, o[0] || (o[0] = [
532
+ c("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"
535
535
  }, null, -1)
@@ -541,41 +541,42 @@ const oo = { render: to }, ao = { class: "menu-wrapper" }, lo = { class: "menu-b
541
541
  menuCollapsed: { type: Boolean }
542
542
  },
543
543
  emits: ["update:menuCollapsed"],
544
- setup(r, { emit: a }) {
545
- const o = r, g = a, e = ke(), t = E(), C = xe(() => {
546
- var D;
547
- const w = e.meta.activeMenu;
548
- if (w === "{model}") {
549
- let V = e.params.app ? `${e.params.app}/${e.params.model}` : e.params.model;
550
- return "/" + ((D = Wt[e.params.model]) != null ? D : V);
544
+ setup(r, { emit: o }) {
545
+ const a = r, w = o, e = ke();
546
+ E();
547
+ const t = xe(() => {
548
+ var g;
549
+ const i = e.meta.activeMenu;
550
+ if (i === "{model}") {
551
+ let A = e.params.app ? `${e.params.app}/${e.params.model}` : e.params.model;
552
+ return "/" + ((g = Wt[e.params.model]) != null ? g : A);
551
553
  } else
552
- return w;
553
- }), c = E(!1);
554
- function y() {
555
- g("update:menuCollapsed", !o.menuCollapsed);
554
+ return i;
555
+ });
556
+ E(!1);
557
+ function C() {
558
+ w("update:menuCollapsed", !a.menuCollapsed);
556
559
  }
557
- return he(c, () => {
558
- c.value && t.value.style.width && (t.value.style.width += "200");
559
- }), (w, D) => {
560
- const V = b("el-menu");
560
+ return (i, g) => {
561
+ const A = b("el-menu");
561
562
  return l(), U("div", ao, [
562
- i("div", lo, [
563
+ c("div", lo, [
563
564
  d(v(oo), {
564
565
  class: "menu-button",
565
- onClick: y
566
+ onClick: C
566
567
  })
567
568
  ]),
568
- d(V, {
569
+ d(A, {
569
570
  class: "menu",
570
- "default-active": C.value,
571
+ "default-active": t.value,
571
572
  "default-openeds": ["table"],
572
573
  router: "",
573
- collapse: o.menuCollapsed
574
+ collapse: a.menuCollapsed
574
575
  }, {
575
576
  default: n(() => [
576
- (l(!0), U(ee, null, se(v($t), (H) => (l(), I(Zt, {
577
- key: H.path,
578
- menu: H
577
+ (l(!0), U(ee, null, se(v($t), (V) => (l(), I(Zt, {
578
+ key: V.path,
579
+ menu: V
579
580
  }, null, 8, ["menu"]))), 128))
580
581
  ]),
581
582
  _: 1
@@ -583,38 +584,36 @@ const oo = { render: to }, ao = { class: "menu-wrapper" }, lo = { class: "menu-b
583
584
  ]);
584
585
  };
585
586
  }
586
- }), qe = /* @__PURE__ */ re(no, [["__scopeId", "data-v-317c394a"]]), so = { class: "container" }, ro = /* @__PURE__ */ pe({
587
+ }), qe = /* @__PURE__ */ re(no, [["__scopeId", "data-v-ff8652d3"]]), so = { class: "container" }, ro = /* @__PURE__ */ pe({
587
588
  __name: "ConsoleApp",
588
589
  props: {
589
590
  title: {},
590
591
  helpDocUrl: {}
591
592
  },
592
593
  setup(r) {
593
- const a = ke(), o = E(!1), g = E(), e = r;
594
- return he(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
- }), (t, C) => {
597
- const c = b("router-view"), y = b("el-scrollbar");
594
+ const o = ke(), a = E(!1), w = E(), e = r;
595
+ return (t, C) => {
596
+ const i = b("router-view"), g = b("el-scrollbar");
598
597
  return l(), U(ee, null, [
599
- v(a).query.embedded !== "true" ? (l(), I(Ye, {
598
+ v(o).query.embedded !== "true" ? (l(), I(Ye, {
600
599
  key: 0,
601
600
  title: e.title,
602
601
  helpDocUrl: e.helpDocUrl
603
602
  }, null, 8, ["title", "helpDocUrl"])) : K("", !0),
604
- i("div", so, [
605
- v(a).query.embedded !== "true" ? (l(), I(qe, {
603
+ c("div", so, [
604
+ v(o).query.embedded !== "true" ? (l(), I(qe, {
606
605
  key: 0,
607
- menuCollapsed: o.value,
608
- "onUpdate:menuCollapsed": C[0] || (C[0] = (w) => o.value = w)
606
+ menuCollapsed: a.value,
607
+ "onUpdate:menuCollapsed": C[0] || (C[0] = (A) => a.value = A)
609
608
  }, null, 8, ["menuCollapsed"])) : K("", !0),
610
- d(y, { class: "scrollbar" }, {
609
+ d(g, { class: "scrollbar" }, {
611
610
  default: n(() => [
612
- i("main", {
611
+ c("main", {
613
612
  ref_key: "mainWrapperRef",
614
- ref: g,
615
- class: "wrapper"
613
+ ref: w,
614
+ class: "main-wrapper"
616
615
  }, [
617
- d(c)
616
+ d(i)
618
617
  ], 512)
619
618
  ]),
620
619
  _: 1
@@ -628,29 +627,29 @@ const oo = { render: to }, ao = { class: "menu-wrapper" }, lo = { class: "menu-b
628
627
  width: "800",
629
628
  height: "800"
630
629
  };
631
- function co(r, a) {
632
- return l(), U("svg", io, a[0] || (a[0] = [
630
+ function co(r, o) {
631
+ return l(), U("svg", io, o[0] || (o[0] = [
633
632
  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)
634
633
  ]));
635
634
  }
636
635
  const po = { render: co }, uo = {}, fo = { class: "wrapper" }, mo = { class: "content" };
637
- function ho(r, a) {
638
- const o = b("el-button");
636
+ function ho(r, o) {
637
+ const a = b("el-button");
639
638
  return l(), U("div", fo, [
640
- a[4] || (a[4] = i("img", { src: po }, null, -1)),
641
- i("div", mo, [
642
- a[3] || (a[3] = i("h1", null, "You have no permission to access the page.", -1)),
643
- d(o, { type: "primary" }, {
644
- default: n(() => a[1] || (a[1] = [
645
- N("Apply")
639
+ o[4] || (o[4] = c("img", { src: po }, null, -1)),
640
+ c("div", mo, [
641
+ o[3] || (o[3] = c("h1", null, "You have no permission to access the page.", -1)),
642
+ d(a, { type: "primary" }, {
643
+ default: n(() => o[1] || (o[1] = [
644
+ z("Apply")
646
645
  ])),
647
646
  _: 1
648
647
  }),
649
- d(o, {
650
- onClick: a[0] || (a[0] = (g) => r.$router.go(-1))
648
+ d(a, {
649
+ onClick: o[0] || (o[0] = (w) => r.$router.go(-1))
651
650
  }, {
652
- default: n(() => a[2] || (a[2] = [
653
- N("Go Back")
651
+ default: n(() => o[2] || (o[2] = [
652
+ z("Go Back")
654
653
  ])),
655
654
  _: 1
656
655
  })
@@ -658,9 +657,9 @@ function ho(r, a) {
658
657
  ]);
659
658
  }
660
659
  const go = /* @__PURE__ */ re(uo, [["render", ho], ["__scopeId", "data-v-0155b361"]]), vo = {};
661
- function bo(r, a) {
662
- const o = b("router-view");
663
- return l(), I(o);
660
+ function bo(r, o) {
661
+ const a = b("router-view");
662
+ return l(), I(a);
664
663
  }
665
664
  const Co = /* @__PURE__ */ re(vo, [["render", bo]]), yo = { class: "card-wrapper" }, wo = ["onClick"], Ao = { class: "card-inner-wrapper" }, _o = { class: "card-title" }, ko = { class: "icon" }, Io = /* @__PURE__ */ pe({
666
665
  __name: "TabCard",
@@ -669,81 +668,81 @@ const Co = /* @__PURE__ */ re(vo, [["render", bo]]), yo = { class: "card-wrapper
669
668
  tableRef: {}
670
669
  },
671
670
  setup(r) {
672
- const { t: a } = Ie(), o = ke(), g = Be(), e = r, t = E(e.cards[0].key);
673
- function C(c) {
674
- c.disabled || (t.value = c.key, e.tableRef.updateConfigAndRefresh(c.model), g.push({
675
- path: o.path,
676
- query: Ve(Ee({}, o.query), { tab: c.key })
671
+ const { t: o } = Ie(), a = ke(), w = Be(), e = r, t = E(e.cards[0].key);
672
+ function C(i) {
673
+ i.disabled || (t.value = i.key, e.tableRef.updateConfigAndRefresh(i.model), w.push({
674
+ path: a.path,
675
+ query: Ve(Ee({}, a.query), { tab: i.key })
677
676
  }));
678
677
  }
679
678
  return Oe(() => {
680
- let c;
681
- if (o.query.tab !== void 0) {
682
- for (let y of e.cards)
683
- if (y.key === o.query.tab) {
684
- t.value = y.key, c = y;
679
+ let i;
680
+ if (a.query.tab !== void 0) {
681
+ for (let g of e.cards)
682
+ if (g.key === a.query.tab) {
683
+ t.value = g.key, i = g;
685
684
  break;
686
685
  }
687
686
  }
688
687
  De(() => {
689
- e.tableRef && e.cards && e.cards.length > 0 && e.tableRef.updateConfigAndRefresh((c != null ? c : e.cards[0]).model);
688
+ e.tableRef && e.cards && e.cards.length > 0 && e.tableRef.updateConfigAndRefresh((i != null ? i : e.cards[0]).model);
690
689
  });
691
- }), he(
690
+ }), be(
692
691
  () => e.cards,
693
- (c) => {
694
- if (o.query.tab !== void 0) {
695
- for (let y of e.cards)
696
- if (y.key === o.query.tab) {
697
- t.value = y.key;
692
+ (i) => {
693
+ if (a.query.tab !== void 0) {
694
+ for (let g of e.cards)
695
+ if (g.key === a.query.tab) {
696
+ t.value = g.key;
698
697
  break;
699
698
  }
700
699
  } else
701
- c && c.length > 0 && (t.value = c[0].key, e.tableRef.updateConfigAndRefresh(e.cards[0].model));
700
+ i && i.length > 0 && (t.value = i[0].key, e.tableRef.updateConfigAndRefresh(e.cards[0].model));
702
701
  },
703
702
  {
704
703
  deep: !0
705
704
  }
706
- ), (c, y) => (l(), U("div", yo, [
707
- (l(!0), U(ee, null, se(e.cards, (w) => (l(), U("div", {
708
- class: Te(["card", { "card-selected": t.value === w.key }]),
709
- onClick: (D) => C(w)
705
+ ), (i, g) => (l(), U("div", yo, [
706
+ (l(!0), U(ee, null, se(e.cards, (A) => (l(), U("div", {
707
+ class: Te(["card", { "card-selected": t.value === A.key }]),
708
+ onClick: (V) => C(A)
710
709
  }, [
711
- i("div", Ao, [
712
- i("div", _o, [
713
- i("div", ko, [
714
- w.icon ? (l(), I(Se(w.icon), {
710
+ c("div", Ao, [
711
+ c("div", _o, [
712
+ c("div", ko, [
713
+ A.icon ? (l(), I(Se(A.icon), {
715
714
  key: 0,
716
715
  class: "svg-icon"
717
716
  })) : K("", !0)
718
717
  ]),
719
- i("span", {
720
- style: Ge({ color: w.disabled ? "#aaa" : "black" })
721
- }, Q(v(a)(w.label)), 5)
718
+ c("span", {
719
+ style: Ge({ color: A.disabled ? "#aaa" : "black" })
720
+ }, Q(v(o)(A.label)), 5)
722
721
  ]),
723
- i("span", null, Q(w.count), 1)
722
+ c("span", null, Q(A.count), 1)
724
723
  ])
725
724
  ], 10, wo))), 256))
726
725
  ]));
727
726
  }
728
727
  }), He = /* @__PURE__ */ re(Io, [["__scopeId", "data-v-047a86e6"]]);
729
- function ve(r, a, o) {
730
- switch (a) {
728
+ function ge(r, o, a) {
729
+ switch (o) {
731
730
  case "POST":
732
- return ie.post(r, o);
731
+ return ie.post(r, a);
733
732
  case "PUT":
734
- return ie.put(r, o);
733
+ return ie.put(r, a);
735
734
  case "DELETE":
736
- return ie.delete(r + "/" + o);
735
+ return ie.delete(r + "/" + a);
737
736
  default:
738
- return ie.get(r, { params: o });
737
+ return ie.get(r, { params: a });
739
738
  }
740
739
  }
741
740
  const _e = (r) => {
742
- const a = Object.keys(r);
743
- let o = {};
744
- a.forEach((g) => {
745
- o[g] = void 0;
746
- }), Object.assign(r, o);
741
+ const o = Object.keys(r);
742
+ let a = {};
743
+ o.forEach((w) => {
744
+ a[w] = void 0;
745
+ }), Object.assign(r, a);
747
746
  }, Eo = {
748
747
  key: 1,
749
748
  class: "view-span"
@@ -758,39 +757,39 @@ const _e = (r) => {
758
757
  afterSubmitFunc: { type: Function }
759
758
  },
760
759
  emits: ["update:id"],
761
- setup(r, { expose: a, emit: o }) {
762
- const { t: g } = Me.global, e = r, t = ne({}), C = E(!1), c = E(), y = ne({}), w = E(!0), D = (m) => e.mode === "view" && (Y(m, void 0) || Y(m, "input") || Y(m, "select") || Y(m, "password")), V = xe(() => e.model.fields ? e.model.fields.filter(
760
+ setup(r, { expose: o, emit: a }) {
761
+ const { t: w } = Me.global, e = r, t = ne({}), C = E(!1), i = E(), g = ne({}), A = E(!0), V = (m) => e.mode === "view" && (Y(m, void 0) || Y(m, "input") || Y(m, "select") || Y(m, "password")), D = xe(() => e.model.fields ? e.model.fields.filter(
763
762
  (m) => {
764
- var G, A, _, x;
763
+ var G, y, _, x;
765
764
  let T = m.visible !== !1 && ((G = m.formItemAttributes) == null ? void 0 : G.visible) !== !1;
766
- if (e.mode !== "view" && ((A = m.formItemAttributes) == null ? void 0 : A.editable) === !1 || e.mode === "view" && ((_ = m.formItemAttributes) == null ? void 0 : _.type) === "password")
765
+ if (e.mode !== "view" && ((y = m.formItemAttributes) == null ? void 0 : y.editable) === !1 || e.mode === "view" && ((_ = m.formItemAttributes) == null ? void 0 : _.type) === "password")
767
766
  return !1;
768
767
  let h = (x = m.formItemAttributes) == null ? void 0 : x.showCondition;
769
768
  return h && h.field && h.value ? t[h.field] === h.value : T;
770
769
  }
771
770
  ) : []);
772
- he([() => e.id, () => e.sessionId], () => {
771
+ be([() => e.id, () => e.sessionId], () => {
773
772
  P();
774
773
  });
775
- function H() {
774
+ function N() {
776
775
  const m = e.model.fields;
777
776
  let T = {};
778
777
  m == null || m.forEach((h) => {
779
- var G, A, _, x, M, R, j, p, S;
778
+ var G, y, _, x, M, R, j, p, S;
780
779
  if (t[h.prop] = null, h.visible !== !1 && ((G = h.formItemAttributes) == null ? void 0 : G.visible) !== !1) {
781
- if (((A = h.formItemAttributes) == null ? void 0 : A.defaultValue) !== void 0 ? t[h.prop] = (_ = h.formItemAttributes) == null ? void 0 : _.defaultValue : t[h.prop] = void 0, e.mode !== "view") {
780
+ if (((y = h.formItemAttributes) == null ? void 0 : y.defaultValue) !== void 0 ? t[h.prop] = (_ = h.formItemAttributes) == null ? void 0 : _.defaultValue : t[h.prop] = void 0, e.mode !== "view") {
782
781
  let q = (x = h.formItemAttributes) == null ? void 0 : x.validationRule;
783
- q !== void 0 && (T[h.prop] = q), Object.assign(y, T);
782
+ q !== void 0 && (T[h.prop] = q), Object.assign(g, T);
784
783
  }
785
784
  const u = h.formItemAttributes, s = u == null ? void 0 : u.type, f = (M = u == null ? void 0 : u.selectAttributes) == null ? void 0 : M.api, B = (R = u == null ? void 0 : u.selectAttributes) == null ? void 0 : R.valueMappingField, Z = (j = u == null ? void 0 : u.selectAttributes) == null ? void 0 : j.labelMappingField;
786
785
  if (s === "select" && f) {
787
786
  let q = f;
788
787
  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;
789
- oe && (q = `${q}?${oe}=${e.id}`), ce || ve(q, "GET", {}).then(({ data: ae }) => {
788
+ oe && (q = `${q}?${oe}=${e.id}`), ce || ge(q, "GET", {}).then(({ data: ae }) => {
790
789
  var le;
791
790
  if ((le = h.formItemAttributes) != null && le.selectAttributes) {
792
- let $ = [];
793
- Array.isArray(ae.data) ? $ = ae.data : ae.data.list && Array.isArray(ae.data.list) && ($ = ae.data.list), h.formItemAttributes.selectAttributes.options = $.map((X) => ({
791
+ let W = [];
792
+ Array.isArray(ae.data) ? W = ae.data : ae.data.list && Array.isArray(ae.data.list) && (W = ae.data.list), h.formItemAttributes.selectAttributes.options = W.map((X) => ({
794
793
  value: B ? X[B] : X.value,
795
794
  label: Z ? X[Z] : X.label
796
795
  }));
@@ -802,16 +801,16 @@ const _e = (r) => {
802
801
  }
803
802
  function P() {
804
803
  var m;
805
- console.log("init form", e.id, e.model), F(), w.value = (m = e.model.useI18n) != null ? m : !0, H(), (e.mode === "update" || e.mode === "view") && e.id !== void 0 && e.id !== "" && e.model.api !== "" && (C.value = !0, ve(`${e.model.api}/${e.id}`, "GET", {}).then(({ data: T }) => {
804
+ console.log("init form", e.id, e.model), F(), A.value = (m = e.model.useI18n) != null ? m : !0, N(), (e.mode === "update" || e.mode === "view") && e.id !== void 0 && e.id !== "" && e.model.api !== "" && (C.value = !0, ge(`${e.model.api}/${e.id}`, "GET", {}).then(({ data: T }) => {
806
805
  _e(t), Object.assign(t, T.data), C.value = !1;
807
806
  }));
808
807
  }
809
- function z() {
808
+ function J() {
810
809
  return new Promise((m, T) => {
811
- var G, A, _, x;
812
- ((A = (G = e.model.formConfig) == null ? void 0 : G.functions) == null ? void 0 : A.beforeSubmit) !== void 0 && Object.assign(t, (x = (_ = e.model.formConfig) == null ? void 0 : _.functions) == null ? void 0 : x.beforeSubmit(t));
810
+ var G, y, _, x;
811
+ ((y = (G = e.model.formConfig) == null ? void 0 : G.functions) == null ? void 0 : y.beforeSubmit) !== void 0 && Object.assign(t, (x = (_ = e.model.formConfig) == null ? void 0 : _.functions) == null ? void 0 : x.beforeSubmit(t));
813
812
  let h = e.mode === "create" ? "POST" : "PUT";
814
- e.model.api && ve(e.model.api, h, t).then(({ data: M }) => {
813
+ e.model.api && ge(e.model.api, h, t).then(({ data: M }) => {
815
814
  var R, j, p, S;
816
815
  M.code === 0 && (e.closeDialogFunc && e.closeDialogFunc(), ((j = (R = e.model.formConfig) == null ? void 0 : R.functions) == null ? void 0 : j.afterSubmit) !== void 0 && ((S = (p = e.model.formConfig) == null ? void 0 : p.functions) == null || S.afterSubmit(M.data)), e.afterSubmitFunc && e.afterSubmitFunc(), m());
817
816
  });
@@ -819,32 +818,32 @@ const _e = (r) => {
819
818
  }
820
819
  function F() {
821
820
  var m;
822
- (m = c.value) == null || m.resetFields();
821
+ (m = i.value) == null || m.resetFields();
823
822
  }
824
823
  function O(m) {
825
- return m.label ? w ? g(m.label) : m.label : m.prop.slice(0, 1).toUpperCase() + m.prop.slice(1).toLowerCase();
824
+ return m.label ? A ? w(m.label) : m.label : m.prop.slice(0, 1).toUpperCase() + m.prop.slice(1).toLowerCase();
826
825
  }
827
826
  function k(m) {
828
- var T, h, G, A;
827
+ var T, h, G, y;
829
828
  if (m) {
830
829
  if (Y(m, "select")) {
831
830
  const _ = (h = (T = m.tableColumnAttributes) == null ? void 0 : T.functions) == null ? void 0 : h.transformValue;
832
831
  if (_)
833
832
  return _(t[m.prop]);
834
- const x = (A = (G = m.formItemAttributes) == null ? void 0 : G.selectAttributes) == null ? void 0 : A.viewModeLabelField;
833
+ const x = (y = (G = m.formItemAttributes) == null ? void 0 : G.selectAttributes) == null ? void 0 : y.viewModeLabelField;
835
834
  if (x)
836
835
  return t[x];
837
836
  }
838
837
  return t[m.prop];
839
838
  }
840
839
  }
841
- function W(m) {
840
+ function $(m) {
842
841
  var T;
843
842
  return ((T = m.formItemAttributes) == null ? void 0 : T.updatable) === !1 && e.mode === "update";
844
843
  }
845
844
  function L(m, T) {
846
- var G, A;
847
- const h = (A = (G = T.formItemAttributes) == null ? void 0 : G.type) != null ? A : "input";
845
+ var G, y;
846
+ const h = (y = (G = T.formItemAttributes) == null ? void 0 : G.type) != null ? y : "input";
848
847
  switch (m) {
849
848
  case "input":
850
849
  return e.mode === "view" ? !1 : h === "input" || h === "password";
@@ -863,11 +862,11 @@ const _e = (r) => {
863
862
  for (let h of e.model.fields) {
864
863
  const G = (T = h.formItemAttributes) == null ? void 0 : T.selectAttributes;
865
864
  if (!(!h.formItemAttributes || h.formItemAttributes.type !== "select" || !G || !G.queryParamValueField) && G.queryParamValueField === m.prop) {
866
- const A = G.api;
867
- if (A) {
868
- let _ = A;
865
+ const y = G.api;
866
+ if (y) {
867
+ let _ = y;
869
868
  const x = G.queryParamName;
870
- x && (_ = `${_}?${x}=${t[G.queryParamValueField]}`), ve(_, "GET", {}).then(({ data: M }) => {
869
+ x && (_ = `${_}?${x}=${t[G.queryParamValueField]}`), ge(_, "GET", {}).then(({ data: M }) => {
871
870
  if (G) {
872
871
  let R = [];
873
872
  Array.isArray(M.data) ? R = M.data : M.data.list && Array.isArray(M.data.list) && (R = M.data.list), G.options = R.map((j) => ({
@@ -882,25 +881,25 @@ const _e = (r) => {
882
881
  }
883
882
  return Oe(() => {
884
883
  P();
885
- }), a({
884
+ }), o({
886
885
  refresh: P,
887
886
  reset: F,
888
- submit: z,
887
+ submit: J,
889
888
  formData: t
890
889
  }), (m, T) => {
891
- const h = b("el-input"), G = b("el-switch"), A = b("el-date-picker"), _ = b("el-option"), x = b("el-select"), M = b("el-form-item"), R = b("el-form"), j = Ke("loading");
890
+ const h = b("el-input"), G = b("el-switch"), y = b("el-date-picker"), _ = b("el-option"), x = b("el-select"), M = b("el-form-item"), R = b("el-form"), j = Ke("loading");
892
891
  return Pe((l(), I(R, {
893
892
  ref_key: "formRef",
894
- ref: c,
893
+ ref: i,
895
894
  model: t,
896
- rules: y,
895
+ rules: g,
897
896
  "label-width": "auto",
898
897
  "label-position": "left",
899
898
  "require-asterisk-position": "right",
900
899
  inline: !0
901
900
  }, {
902
901
  default: n(() => [
903
- (l(!0), U(ee, null, se(V.value, (p) => (l(), I(M, {
902
+ (l(!0), U(ee, null, se(D.value, (p) => (l(), I(M, {
904
903
  class: "form-item",
905
904
  prop: p.prop,
906
905
  label: O(p)
@@ -914,15 +913,15 @@ const _e = (r) => {
914
913
  modelValue: t[p.prop],
915
914
  "onUpdate:modelValue": (u) => t[p.prop] = u,
916
915
  placeholder: (S = p.formItemAttributes) == null ? void 0 : S.placeholder,
917
- disabled: W(p)
916
+ disabled: $(p)
918
917
  }, null, 8, ["type", "modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : K("", !0),
919
- D(p) ? (l(), U("span", Eo, Q(k(p)), 1)) : K("", !0),
918
+ V(p) ? (l(), U("span", Eo, Q(k(p)), 1)) : K("", !0),
920
919
  Y(p, "switch") ? (l(), I(G, {
921
920
  key: 2,
922
921
  modelValue: t[p.prop],
923
922
  "onUpdate:modelValue": (u) => t[p.prop] = u
924
923
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : K("", !0),
925
- Y(p, "datepicker") ? (l(), I(A, {
924
+ Y(p, "datepicker") ? (l(), I(y, {
926
925
  key: 3,
927
926
  type: "date",
928
927
  modelValue: t[p.prop],
@@ -932,7 +931,7 @@ const _e = (r) => {
932
931
  key: 4,
933
932
  modelValue: t[p.prop],
934
933
  "onUpdate:modelValue": (u) => t[p.prop] = u,
935
- disabled: W(p),
934
+ disabled: $(p),
936
935
  onChange: (u) => fe(p)
937
936
  }, {
938
937
  default: n(() => {
@@ -967,58 +966,58 @@ const _e = (r) => {
967
966
  afterSubmitFunc: { type: Function }
968
967
  },
969
968
  emits: ["update:visible", "update:id"],
970
- setup(r, { expose: a, emit: o }) {
971
- const { t: g } = Ie(), e = r, t = E(0), C = o, c = E();
972
- he(() => e.visible, () => {
969
+ setup(r, { expose: o, emit: a }) {
970
+ const { t: w } = Ie(), e = r, t = E(0), C = a, i = E();
971
+ be(() => e.visible, () => {
973
972
  e.visible && t.value++;
974
973
  });
975
- function y() {
976
- c.value && c.value.refresh();
974
+ function g() {
975
+ i.value && i.value.refresh();
977
976
  }
978
- function w() {
979
- C("update:visible", !1), c.value.reset();
977
+ function A() {
978
+ C("update:visible", !1), i.value.reset();
980
979
  }
981
- function D() {
982
- c.value.submit();
980
+ function V() {
981
+ i.value.submit();
983
982
  }
984
- return a({
985
- close: w,
986
- refresh: y
987
- }), (V, H) => {
988
- const P = b("el-button"), z = b("el-dialog");
989
- return l(), I(z, {
983
+ return o({
984
+ close: A,
985
+ refresh: g
986
+ }), (D, N) => {
987
+ const P = b("el-button"), J = b("el-dialog");
988
+ return l(), I(J, {
990
989
  title: "Edit",
991
990
  "model-value": e.visible,
992
991
  width: "800px",
993
- onClose: w
992
+ onClose: A
994
993
  }, {
995
994
  footer: n(() => {
996
995
  var F;
997
996
  return [
998
- i("div", Mo, [
999
- i("div", Qo, [
997
+ c("div", Mo, [
998
+ c("div", Qo, [
1000
999
  (l(!0), U(ee, null, se((F = e.model.formConfig) == null ? void 0 : F.dialogButtons, (O) => (l(), I(P, {
1001
- onClick: (k) => O.function(c.value.formData)
1000
+ onClick: (k) => O.function(i.value.formData)
1002
1001
  }, {
1003
1002
  default: n(() => [
1004
- N(Q(v(g)(O.label)), 1)
1003
+ z(Q(v(w)(O.label)), 1)
1005
1004
  ]),
1006
1005
  _: 2
1007
1006
  }, 1032, ["onClick"]))), 256))
1008
1007
  ]),
1009
- i("div", null, [
1010
- d(P, { onClick: w }, {
1008
+ c("div", null, [
1009
+ d(P, { onClick: A }, {
1011
1010
  default: n(() => [
1012
- N(Q(v(g)("common.basic.cancel")), 1)
1011
+ z(Q(v(w)("common.basic.cancel")), 1)
1013
1012
  ]),
1014
1013
  _: 1
1015
1014
  }),
1016
1015
  d(P, {
1017
1016
  type: "primary",
1018
- onClick: D
1017
+ onClick: V
1019
1018
  }, {
1020
1019
  default: n(() => [
1021
- N(Q(v(g)("common.basic.save")), 1)
1020
+ z(Q(v(w)("common.basic.save")), 1)
1022
1021
  ]),
1023
1022
  _: 1
1024
1023
  })
@@ -1029,13 +1028,13 @@ const _e = (r) => {
1029
1028
  default: n(() => [
1030
1029
  d(Je, {
1031
1030
  ref_key: "formViewRef",
1032
- ref: c,
1031
+ ref: i,
1033
1032
  id: e.id,
1034
1033
  sessionId: t.value,
1035
1034
  mode: e.mode,
1036
1035
  model: e.model,
1037
1036
  afterSubmitFunc: e.afterSubmitFunc,
1038
- closeDialogFunc: w
1037
+ closeDialogFunc: A
1039
1038
  }, null, 8, ["id", "sessionId", "mode", "model", "afterSubmitFunc"])
1040
1039
  ]),
1041
1040
  _: 1
@@ -1047,10 +1046,10 @@ const _e = (r) => {
1047
1046
  props: {
1048
1047
  model: {}
1049
1048
  },
1050
- setup(r, { expose: a }) {
1051
- const { t: o } = Me.global, g = r, e = ne([]), t = ne({
1049
+ setup(r, { expose: o }) {
1050
+ const { t: a } = Me.global, w = r, e = ne([]), t = ne({
1052
1051
  showPane: !0
1053
- }), C = E(""), c = E(!0), y = E(!1), w = Be(), D = E(""), V = ne([]), H = ne([]), P = E(), z = E([]), F = E("create"), O = E(!0), k = E(!1), W = E(""), L = ne({
1052
+ }), C = E(""), i = E(!0), g = E(!1), A = Be(), V = E(""), D = ne([]), N = ne([]), P = E(), J = E([]), F = E("create"), O = E(!0), k = E(!1), $ = E(""), L = ne({
1054
1053
  pageSize: 10,
1055
1054
  pageNo: 1,
1056
1055
  totalElements: 0
@@ -1067,18 +1066,18 @@ const _e = (r) => {
1067
1066
  if (Z)
1068
1067
  B = Z(B);
1069
1068
  else if (q && q.length > 0) {
1070
- for (let $ of q)
1071
- if (B === $.value) {
1072
- B = o($.label);
1069
+ for (let W of q)
1070
+ if (B === W.value) {
1071
+ B = a(W.label);
1073
1072
  break;
1074
1073
  }
1075
1074
  } else if (((le = s.formItemAttributes) == null ? void 0 : le.type) === "select") {
1076
- const $ = s.formItemAttributes.selectAttributes;
1077
- if ($) {
1078
- if ($.viewModeLabelField)
1079
- B = f.row[$.viewModeLabelField];
1080
- else if ($.options && $.options.length > 0) {
1081
- for (let X of $.options)
1075
+ const W = s.formItemAttributes.selectAttributes;
1076
+ if (W) {
1077
+ if (W.viewModeLabelField)
1078
+ B = f.row[W.viewModeLabelField];
1079
+ else if (W.options && W.options.length > 0) {
1080
+ for (let X of W.options)
1082
1081
  if (X.value === f.row[s.prop]) {
1083
1082
  B = X.label;
1084
1083
  break;
@@ -1090,48 +1089,48 @@ const _e = (r) => {
1090
1089
  }
1091
1090
  function m(s, f) {
1092
1091
  var B, Z;
1093
- return s.label ? o(s.label) : (Z = (B = s.functions) == null ? void 0 : B.transformLabel) == null ? void 0 : Z.call(B, f.$index, f.row);
1092
+ return s.label ? a(s.label) : (Z = (B = s.functions) == null ? void 0 : B.transformLabel) == null ? void 0 : Z.call(B, f.$index, f.row);
1094
1093
  }
1095
1094
  function T(s) {
1096
- _e(g.model), Object.assign(g.model, s);
1095
+ _e(w.model), Object.assign(w.model, s);
1097
1096
  }
1098
1097
  function h() {
1099
1098
  var f, B, Z;
1100
- if (O.value = !0, !g.model || !g.model.api)
1099
+ if (O.value = !0, !w.model || !w.model.api)
1101
1100
  return;
1102
- _e(t), t.showPane = !0, Object.assign(t, (f = g.model.tableConfig) != null ? f : {}), e.splice(0, e.length, ...g.model.fields), C.value = (B = g.model.route) != null ? B : "", c.value = (Z = g.model.useI18n) != null ? Z : !0;
1101
+ _e(t), t.showPane = !0, Object.assign(t, (f = w.model.tableConfig) != null ? f : {}), e.splice(0, e.length, ...w.model.fields), C.value = (B = w.model.route) != null ? B : "", i.value = (Z = w.model.useI18n) != null ? Z : !0;
1103
1102
  let s = Ee({}, t.queryParams);
1104
- s.pageSize = L.pageSize, s.pageNo = L.pageNo, s.search = D.value, ve(g.model.api, "GET", s).then(({ data: q }) => {
1103
+ s.pageSize = L.pageSize, s.pageNo = L.pageNo, s.search = V.value, ge(w.model.api, "GET", s).then(({ data: q }) => {
1105
1104
  const { list: oe, totalCount: ce } = q.data;
1106
- V.splice(0, V.length, ...oe), L.totalElements = ce, O.value = !1;
1105
+ D.splice(0, D.length, ...oe), L.totalElements = ce, O.value = !1;
1107
1106
  });
1108
1107
  }
1109
1108
  function G() {
1110
1109
  var s, f;
1111
- t.createPageRoutePath !== void 0 ? w.push(t.createPageRoutePath) : ((s = t.functions) == null ? void 0 : s.create) !== void 0 ? (f = t.functions) == null || f.create() : (F.value = "create", W.value = "", y.value = !0);
1110
+ t.createPageRoutePath !== void 0 ? A.push(t.createPageRoutePath) : ((s = t.functions) == null ? void 0 : s.create) !== void 0 ? (f = t.functions) == null || f.create() : (F.value = "create", $.value = "", g.value = !0);
1112
1111
  }
1113
- function A(s, f) {
1114
- g.model.api && ve(g.model.api, "DELETE", f.id).then(({ data: B }) => {
1115
- B.code === 0 && (y.value = !1, h());
1112
+ function y(s, f) {
1113
+ w.model.api && ge(w.model.api, "DELETE", f.id).then(({ data: B }) => {
1114
+ B.code === 0 && (g.value = !1, h());
1116
1115
  });
1117
1116
  }
1118
1117
  function _() {
1119
1118
  lt.confirm(
1120
1119
  "The selected items will be deleted. Continue?",
1121
- o("common.table.warning"),
1120
+ a("common.table.warning"),
1122
1121
  {
1123
- confirmButtonText: o("common.basic.confirm"),
1124
- cancelButtonText: o("common.basic.cancel"),
1122
+ confirmButtonText: a("common.basic.confirm"),
1123
+ cancelButtonText: a("common.basic.cancel"),
1125
1124
  type: "warning"
1126
1125
  }
1127
1126
  ).then(() => {
1128
1127
  var s, f;
1129
1128
  if (((s = t.functions) == null ? void 0 : s.batchDelete) !== void 0)
1130
- (f = t.functions) == null || f.batchDelete(z.value);
1129
+ (f = t.functions) == null || f.batchDelete(J.value);
1131
1130
  else {
1132
- const B = z.value.map((Z) => Z.id);
1133
- ie.delete(`${g.model.api}/${B.join(",")}`).then(({ data: Z }) => {
1134
- Z.code === 0 && (y.value = !1, h());
1131
+ const B = J.value.map((Z) => Z.id);
1132
+ ie.delete(`${w.model.api}/${B.join(",")}`).then(({ data: Z }) => {
1133
+ Z.code === 0 && (g.value = !1, h());
1135
1134
  });
1136
1135
  }
1137
1136
  P.value.clearSelection();
@@ -1146,48 +1145,48 @@ const _e = (r) => {
1146
1145
  L.pageNo = s, h();
1147
1146
  }
1148
1147
  function R(s, f) {
1149
- t.editPageRoutePath !== void 0 ? w.push({
1148
+ t.editPageRoutePath !== void 0 ? A.push({
1150
1149
  path: t.editPageRoutePath,
1151
1150
  query: {
1152
1151
  id: f.id
1153
1152
  }
1154
- }) : (W.value = f.id, F.value = "update", y.value = !0);
1153
+ }) : ($.value = f.id, F.value = "update", g.value = !0);
1155
1154
  }
1156
1155
  function j() {
1157
- let s = window.location.origin + g.model.api + "/export";
1156
+ let s = window.location.origin + w.model.api + "/export";
1158
1157
  const f = t.queryParams;
1159
1158
  f !== void 0 && Object.keys(f).length > 0 && (s += "?", Object.entries(t.queryParams).map((B) => {
1160
1159
  s += `${B[0]}=${B[1]}&`;
1161
1160
  })), window.open(s);
1162
1161
  }
1163
1162
  function p(s) {
1164
- z.value = s;
1163
+ J.value = s;
1165
1164
  }
1166
1165
  function S(s) {
1167
- return s.label ? c.value ? o(s.label) : s.label : s.prop.slice(0, 1).toUpperCase() + s.prop.slice(1).toLowerCase();
1166
+ return s.label ? i.value ? a(s.label) : s.label : s.prop.slice(0, 1).toUpperCase() + s.prop.slice(1).toLowerCase();
1168
1167
  }
1169
1168
  function u(s) {
1170
- s ? (k.value = !0, H.splice(0, H.length, ...V), V.splice(0, V.length, ...z.value)) : (k.value = !1, V.splice(0, V.length, ...H));
1169
+ s ? (k.value = !0, N.splice(0, N.length, ...D), D.splice(0, D.length, ...J.value)) : (k.value = !1, D.splice(0, D.length, ...N));
1171
1170
  }
1172
- return he(() => g.model, () => {
1171
+ return be(() => w.model, () => {
1173
1172
  h();
1174
1173
  }, {
1175
1174
  deep: !0,
1176
1175
  immediate: !0
1177
- }), a({
1178
- multipleSelection: z,
1176
+ }), o({
1177
+ multipleSelection: J,
1179
1178
  refresh: h,
1180
1179
  updateConfigAndRefresh: T
1181
1180
  }), (s, f) => {
1182
- const B = b("el-checkbox"), Z = b("el-badge"), q = b("el-button"), oe = b("el-icon"), ce = b("el-tooltip"), ae = b("el-input"), le = b("el-table-column"), $ = b("router-link"), X = b("el-tag"), ue = b("el-popconfirm"), me = b("el-table"), ye = b("el-pagination"), Ne = Ke("loading");
1181
+ const B = b("el-checkbox"), Z = b("el-badge"), q = b("el-button"), oe = b("el-icon"), ce = b("el-tooltip"), ae = b("el-input"), le = b("el-table-column"), W = b("router-link"), X = b("el-tag"), ue = b("el-popconfirm"), me = b("el-table"), ye = b("el-pagination"), Ne = Ke("loading");
1183
1182
  return l(), U("div", {
1184
1183
  class: Te({ "table-view-wrapper": t.showPane })
1185
1184
  }, [
1186
- i("div", Bo, [
1187
- i("div", Uo, [
1185
+ c("div", Bo, [
1186
+ c("div", Uo, [
1188
1187
  t.selectMode ? (l(), I(Z, {
1189
1188
  key: 0,
1190
- value: z.value.length,
1189
+ value: J.value.length,
1191
1190
  type: "primary",
1192
1191
  class: "selected-badge"
1193
1192
  }, {
@@ -1195,7 +1194,7 @@ const _e = (r) => {
1195
1194
  d(B, {
1196
1195
  class: "selected-checkbox",
1197
1196
  border: !0,
1198
- label: v(o)("common.table.viewSelected"),
1197
+ label: v(a)("common.table.viewSelected"),
1199
1198
  onChange: u
1200
1199
  }, null, 8, ["label"])
1201
1200
  ]),
@@ -1207,24 +1206,24 @@ const _e = (r) => {
1207
1206
  onClick: G
1208
1207
  }, {
1209
1208
  default: n(() => {
1210
- var te, J;
1209
+ var te, H;
1211
1210
  return [
1212
- N(Q(((te = t.labels) == null ? void 0 : te.create) != null ? v(o)((J = t.labels) == null ? void 0 : J.create) : v(o)("common.table.create")), 1)
1211
+ z(Q(((te = t.labels) == null ? void 0 : te.create) != null ? v(a)((H = t.labels) == null ? void 0 : H.create) : v(a)("common.table.create")), 1)
1213
1212
  ];
1214
1213
  }),
1215
1214
  _: 1
1216
1215
  })) : K("", !0),
1217
1216
  !t.selectMode && !t.readOnly ? (l(), I(q, {
1218
1217
  key: 2,
1219
- disabled: z.value.length == 0,
1218
+ disabled: J.value.length == 0,
1220
1219
  type: "danger",
1221
1220
  plain: "",
1222
1221
  onClick: _
1223
1222
  }, {
1224
1223
  default: n(() => {
1225
- var te, J;
1224
+ var te, H;
1226
1225
  return [
1227
- N(Q(((te = t.labels) == null ? void 0 : te.delete) != null ? v(o)((J = t.labels) == null ? void 0 : J.delete) : v(o)("common.table.delete")), 1)
1226
+ z(Q(((te = t.labels) == null ? void 0 : te.delete) != null ? v(a)((H = t.labels) == null ? void 0 : H.delete) : v(a)("common.table.delete")), 1)
1228
1227
  ];
1229
1228
  }),
1230
1229
  _: 1
@@ -1236,7 +1235,7 @@ const _e = (r) => {
1236
1235
  t.tooltip ? (l(), I(ce, {
1237
1236
  key: 3,
1238
1237
  effect: "dark",
1239
- content: v(o)(t.tooltip),
1238
+ content: v(a)(t.tooltip),
1240
1239
  placement: "right"
1241
1240
  }, {
1242
1241
  default: n(() => [
@@ -1250,7 +1249,7 @@ const _e = (r) => {
1250
1249
  _: 1
1251
1250
  }, 8, ["content"])) : K("", !0)
1252
1251
  ]),
1253
- i("div", Go, [
1252
+ c("div", Go, [
1254
1253
  t.export ? (l(), I(q, {
1255
1254
  key: 0,
1256
1255
  class: "button-export",
@@ -1267,9 +1266,9 @@ const _e = (r) => {
1267
1266
  _: 1
1268
1267
  })) : K("", !0),
1269
1268
  d(ae, {
1270
- placeholder: `${v(o)("common.table.search")}...`,
1271
- modelValue: D.value,
1272
- "onUpdate:modelValue": f[0] || (f[0] = (te) => D.value = te)
1269
+ placeholder: `${v(a)("common.table.search")}...`,
1270
+ modelValue: V.value,
1271
+ "onUpdate:modelValue": f[0] || (f[0] = (te) => V.value = te)
1273
1272
  }, {
1274
1273
  append: n(() => [
1275
1274
  d(q, {
@@ -1286,7 +1285,7 @@ const _e = (r) => {
1286
1285
  border: !0,
1287
1286
  ref_key: "tableRef",
1288
1287
  ref: P,
1289
- data: V,
1288
+ data: D,
1290
1289
  onSelectionChange: p,
1291
1290
  class: "table"
1292
1291
  }, {
@@ -1298,30 +1297,30 @@ const _e = (r) => {
1298
1297
  type: "selection",
1299
1298
  width: "50"
1300
1299
  })),
1301
- (l(!0), U(ee, null, se(Y.value, (J) => {
1302
- var ge;
1300
+ (l(!0), U(ee, null, se(Y.value, (H) => {
1301
+ var he;
1303
1302
  return l(), I(le, {
1304
- prop: J.prop,
1305
- label: S(J),
1306
- width: (ge = J.tableColumnAttributes) == null ? void 0 : ge.width,
1303
+ prop: H.prop,
1304
+ label: S(H),
1305
+ width: (he = H.tableColumnAttributes) == null ? void 0 : he.width,
1307
1306
  "show-overflow-tooltip": ""
1308
1307
  }, {
1309
1308
  default: n((we) => {
1310
- var be, Ae;
1309
+ var ve, Ae;
1311
1310
  return [
1312
- (be = J.tableColumnAttributes) != null && be.link ? (l(), I($, {
1311
+ (ve = H.tableColumnAttributes) != null && ve.link ? (l(), I(W, {
1313
1312
  key: 0,
1314
1313
  class: "router-link",
1315
1314
  to: `/${C.value}/detail?id=${we.row.id}`
1316
1315
  }, {
1317
1316
  default: n(() => [
1318
- i("span", null, Q(fe(J, we)), 1)
1317
+ c("span", null, Q(fe(H, we)), 1)
1319
1318
  ]),
1320
1319
  _: 2
1321
- }, 1032, ["to"])) : (l(), U("span", Oo, Q(fe(J, we)), 1)),
1322
- ((Ae = J.tableColumnAttributes) == null ? void 0 : Ae.type) === "tag" ? (l(), I(X, { key: 2 }, {
1320
+ }, 1032, ["to"])) : (l(), U("span", Oo, Q(fe(H, we)), 1)),
1321
+ ((Ae = H.tableColumnAttributes) == null ? void 0 : Ae.type) === "tag" ? (l(), I(X, { key: 2 }, {
1323
1322
  default: n(() => [
1324
- N(Q(we.row[J.prop]), 1)
1323
+ z(Q(we.row[H.prop]), 1)
1325
1324
  ]),
1326
1325
  _: 2
1327
1326
  }, 1024)) : K("", !0)
@@ -1332,24 +1331,24 @@ const _e = (r) => {
1332
1331
  }), 256)),
1333
1332
  t.operations === void 0 && !((te = t.selectMode) != null && te) && !t.readOnly ? (l(), I(le, {
1334
1333
  key: 1,
1335
- label: v(o)("common.table.operation"),
1334
+ label: v(a)("common.table.operation"),
1336
1335
  width: "120"
1337
1336
  }, {
1338
- default: n((J) => [
1337
+ default: n((H) => [
1339
1338
  d(q, {
1340
1339
  link: "",
1341
1340
  type: "primary",
1342
1341
  class: "operation-button",
1343
- onClick: (ge) => R(J.$index, J.row)
1342
+ onClick: (he) => R(H.$index, H.row)
1344
1343
  }, {
1345
1344
  default: n(() => [
1346
- N(Q(v(o)("common.table.edit")), 1)
1345
+ z(Q(v(a)("common.table.edit")), 1)
1347
1346
  ]),
1348
1347
  _: 2
1349
1348
  }, 1032, ["onClick"]),
1350
1349
  d(ue, {
1351
1350
  title: "Are you sure to delete this?",
1352
- onConfirm: (ge) => A(J.$index, J.row)
1351
+ onConfirm: (he) => y(H.$index, H.row)
1353
1352
  }, {
1354
1353
  reference: n(() => [
1355
1354
  d(q, {
@@ -1358,7 +1357,7 @@ const _e = (r) => {
1358
1357
  class: "operation-button"
1359
1358
  }, {
1360
1359
  default: n(() => [
1361
- N(Q(v(o)("common.table.delete")), 1)
1360
+ z(Q(v(a)("common.table.delete")), 1)
1362
1361
  ]),
1363
1362
  _: 1
1364
1363
  })
@@ -1370,22 +1369,22 @@ const _e = (r) => {
1370
1369
  }, 8, ["label"])) : K("", !0),
1371
1370
  t.operations !== void 0 && !t.readOnly ? (l(), I(le, {
1372
1371
  key: 2,
1373
- label: v(o)("common.table.operation"),
1372
+ label: v(a)("common.table.operation"),
1374
1373
  width: "120"
1375
1374
  }, {
1376
- default: n((J) => [
1377
- (l(!0), U(ee, null, se(t.operations, (ge) => (l(), I(q, {
1375
+ default: n((H) => [
1376
+ (l(!0), U(ee, null, se(t.operations, (he) => (l(), I(q, {
1378
1377
  class: "operation-button",
1379
1378
  link: "",
1380
1379
  type: "primary",
1381
- key: ge.label,
1380
+ key: he.label,
1382
1381
  onClick: (we) => {
1383
- var be, Ae;
1384
- return ((Ae = (be = ge.functions) == null ? void 0 : be.click) == null ? void 0 : Ae.call(be, J.$index, J.row)) && h();
1382
+ var ve, Ae;
1383
+ return ((Ae = (ve = he.functions) == null ? void 0 : ve.click) == null ? void 0 : Ae.call(ve, H.$index, H.row)) && h();
1385
1384
  }
1386
1385
  }, {
1387
1386
  default: n(() => [
1388
- N(Q(m(ge, J)), 1)
1387
+ z(Q(m(he, H)), 1)
1389
1388
  ]),
1390
1389
  _: 2
1391
1390
  }, 1032, ["onClick"]))), 128))
@@ -1414,27 +1413,27 @@ const _e = (r) => {
1414
1413
  d(ze, {
1415
1414
  model: s.model,
1416
1415
  mode: F.value,
1417
- id: W.value,
1416
+ id: $.value,
1418
1417
  afterSubmitFunc: h,
1419
- visible: y.value,
1420
- "onUpdate:visible": f[2] || (f[2] = (te) => y.value = te)
1418
+ visible: g.value,
1419
+ "onUpdate:visible": f[2] || (f[2] = (te) => g.value = te)
1421
1420
  }, null, 8, ["model", "mode", "id", "visible"])
1422
1421
  ], 2);
1423
1422
  };
1424
1423
  }
1425
- }), Qe = /* @__PURE__ */ re(Fo, [["__scopeId", "data-v-9c7312a1"]]), Ro = { class: "nav-bar" }, Vo = {
1424
+ }), Qe = /* @__PURE__ */ re(Fo, [["__scopeId", "data-v-d37a3022"]]), Ro = { class: "nav-bar" }, Vo = {
1426
1425
  key: 0,
1427
1426
  class: "info-card-wrapper"
1428
1427
  }, Do = { class: "icon-wrapper" }, To = { class: "info-wrapper" }, Ko = { class: "title-wrapper" }, Po = { class: "tabs-wrapper" }, Lo = { class: "dialog-footer" }, jo = /* @__PURE__ */ pe({
1429
1428
  __name: "DetailPage",
1430
1429
  setup(r) {
1431
- const { t: a } = Ie(), o = ke(), g = Be(), e = xe(() => o.query.id), t = E(!1), C = E(!1), c = E("view"), y = E(), w = E(-1), D = E(), V = E(), H = E("summary"), P = E(""), z = E(""), F = E(""), O = E(0), k = ne({
1430
+ const { t: o } = Ie(), a = ke(), w = Be(), e = xe(() => a.query.id), t = E(!1), C = E(!1), i = E("view"), g = E(), A = E(-1), V = E(), D = E(), N = E("summary"), P = E(""), J = E(""), F = E(""), O = E(0), k = ne({
1432
1431
  api: "",
1433
1432
  fields: []
1434
- }), W = ne([]);
1433
+ }), $ = ne([]);
1435
1434
  let L = [];
1436
- he([
1437
- () => g.currentRoute.value,
1435
+ be([
1436
+ () => w.currentRoute.value,
1438
1437
  de
1439
1438
  ], () => {
1440
1439
  T();
@@ -1442,25 +1441,25 @@ const _e = (r) => {
1442
1441
  immediate: !0,
1443
1442
  deep: !0
1444
1443
  });
1445
- function Y(A) {
1446
- w.value = parseInt(A.index) - 1, console.log(w.value, W[w.value]);
1444
+ function Y(y) {
1445
+ A.value = parseInt(y.index) - 1;
1447
1446
  }
1448
1447
  function fe() {
1449
1448
  var M;
1450
- let A = (M = L[w.value].api) == null ? void 0 : M.replace("/select", "");
1451
- A = A == null ? void 0 : A.substring(A.lastIndexOf("/"));
1452
- const _ = k.api + "/" + e.value + A, x = V.value.multipleSelection.map((R) => R.id);
1453
- ve(_, "POST", x).then(() => {
1454
- D.value.refresh(), C.value = !1;
1449
+ let y = (M = L[A.value].api) == null ? void 0 : M.replace("/select", "");
1450
+ y = y == null ? void 0 : y.substring(y.lastIndexOf("/"));
1451
+ const _ = k.api + "/" + e.value + y, x = D.value.multipleSelection.map((R) => R.id);
1452
+ ge(_, "POST", x).then(() => {
1453
+ V.value.refresh(), C.value = !1;
1455
1454
  });
1456
1455
  }
1457
- function m(A, _, x) {
1456
+ function m(y, _, x) {
1458
1457
  var j;
1459
1458
  x.functions || (x.functions = {}), x.functions.create = () => {
1460
- C.value = !0, V.value && V.value.refresh();
1459
+ C.value = !0, D.value && D.value.refresh();
1461
1460
  };
1462
1461
  let M = Ce(_);
1463
- M.tableConfig || (M.tableConfig = {}), M.tableConfig.selectMode = !0, M.tableConfig.queryParams = {}, A.queryParamName && (M.tableConfig.queryParams[A.queryParamName] = e.value);
1462
+ M.tableConfig || (M.tableConfig = {}), M.tableConfig.selectMode = !0, M.tableConfig.queryParams = {}, y.queryParamName && (M.tableConfig.queryParams[y.queryParamName] = e.value);
1464
1463
  for (var R in M.fields)
1465
1464
  M.fields[R].tableColumnAttributes && (j = M.fields[R].tableColumnAttributes) != null && j.link && (M.fields[R].tableColumnAttributes.link = !1);
1466
1465
  L.push(M), x.labels = {
@@ -1468,11 +1467,11 @@ const _e = (r) => {
1468
1467
  delete: "common.table.remove"
1469
1468
  }, x.functions.batchDelete = (p) => {
1470
1469
  var f;
1471
- let S = (f = L[w.value].api) == null ? void 0 : f.replace("/select", "");
1470
+ let S = (f = L[A.value].api) == null ? void 0 : f.replace("/select", "");
1472
1471
  S = S == null ? void 0 : S.substring(S.lastIndexOf("/"));
1473
1472
  const u = k.api + "/" + e.value + S, s = p.map((B) => B.id);
1474
1473
  ie.delete(`${u}/${s.join(",")}`).then(({ data: B }) => {
1475
- B.code === 0 && D.value.refresh();
1474
+ B.code === 0 && V.value.refresh();
1476
1475
  });
1477
1476
  }, x.operations = [
1478
1477
  {
@@ -1480,11 +1479,11 @@ const _e = (r) => {
1480
1479
  functions: {
1481
1480
  click: (p, S) => {
1482
1481
  var f;
1483
- let u = (f = L[w.value].api) == null ? void 0 : f.replace("/select", "");
1482
+ let u = (f = L[A.value].api) == null ? void 0 : f.replace("/select", "");
1484
1483
  u = u == null ? void 0 : u.substring(u.lastIndexOf("/"));
1485
1484
  const s = k.api + "/" + e.value + u;
1486
- ve(s, "DELETE", S.id).then(() => {
1487
- D.value.refresh();
1485
+ ge(s, "DELETE", S.id).then(() => {
1486
+ V.value.refresh();
1488
1487
  });
1489
1488
  }
1490
1489
  }
@@ -1493,21 +1492,21 @@ const _e = (r) => {
1493
1492
  }
1494
1493
  function T() {
1495
1494
  var M, R, j;
1496
- W.splice(0);
1497
- const A = o.params.model;
1498
- if (de.value[A] === void 0) {
1499
- console.warn("Detail page model not exist:", A);
1495
+ $.splice(0);
1496
+ const y = a.params.model;
1497
+ if (de.value[y] === void 0) {
1498
+ console.warn("Detail page model not exist:", y);
1500
1499
  return;
1501
1500
  } else
1502
- console.debug("Detail page model found:", A, de.value[A]);
1501
+ console.debug("Detail page model found:", y, de.value[y]);
1503
1502
  _e(k);
1504
- const _ = Ce(de.value[A]);
1505
- Object.assign(k, _), O.value++, w.value = -1, H.value = "summary";
1503
+ const _ = Ce(de.value[y]);
1504
+ Object.assign(k, _), O.value++, A.value = -1, N.value = "summary";
1506
1505
  const x = (R = (M = k.pageConfig) == null ? void 0 : M.detailPage) == null ? void 0 : R.tabs;
1507
1506
  if (x)
1508
1507
  for (let p of x) {
1509
1508
  const S = Ce(de.value[p.modelKey]);
1510
- if (W.push(S), p.type === "table") {
1509
+ if ($.push(S), p.type === "table") {
1511
1510
  S.tableConfig || (S.tableConfig = {});
1512
1511
  let u = S.tableConfig;
1513
1512
  u.showPane = !1, p.modelRelationType === "associated" ? m(p, S, u) : p.modelRelationType === "child" && (L.push({
@@ -1524,22 +1523,22 @@ const _e = (r) => {
1524
1523
  }
1525
1524
  }
1526
1525
  }
1527
- he(
1526
+ be(
1528
1527
  [
1529
1528
  () => {
1530
- var A, _;
1531
- return (_ = (A = k.pageConfig) == null ? void 0 : A.detailPage) == null ? void 0 : _.infoCard;
1529
+ var y, _;
1530
+ return (_ = (y = k.pageConfig) == null ? void 0 : y.detailPage) == null ? void 0 : _.infoCard;
1532
1531
  },
1533
1532
  () => {
1534
- var A;
1535
- return (A = y.value) == null ? void 0 : A.formData;
1533
+ var y;
1534
+ return (y = g.value) == null ? void 0 : y.formData;
1536
1535
  }
1537
1536
  ],
1538
- (A) => {
1537
+ (y) => {
1539
1538
  De(() => {
1540
1539
  var x, M, R;
1541
1540
  const _ = (M = (x = k.pageConfig) == null ? void 0 : x.detailPage) == null ? void 0 : M.infoCard;
1542
- _ && (P.value = _.titleFieldProp ? y.value.formData[_.titleFieldProp] : "", z.value = _.subtitleFieldProp ? y.value.formData[_.subtitleFieldProp] : "", F.value = _.tagFieldProp ? y.value.formData[_.tagFieldProp] : "", (R = k.fields) == null || R.forEach((j) => {
1541
+ _ && (P.value = _.titleFieldProp ? g.value.formData[_.titleFieldProp] : "", J.value = _.subtitleFieldProp ? g.value.formData[_.subtitleFieldProp] : "", F.value = _.tagFieldProp ? g.value.formData[_.tagFieldProp] : "", (R = k.fields) == null || R.forEach((j) => {
1543
1542
  var p, S;
1544
1543
  if (j.prop === _.tagFieldProp) {
1545
1544
  const u = (S = (p = j.tableColumnAttributes) == null ? void 0 : p.functions) == null ? void 0 : S.transformValue;
@@ -1557,13 +1556,13 @@ const _e = (r) => {
1557
1556
  t.value = !0;
1558
1557
  }
1559
1558
  function G() {
1560
- y.value.refresh();
1559
+ g.value.refresh();
1561
1560
  }
1562
- return (A, _) => {
1563
- var q, oe, ce, ae, le, $;
1561
+ return (y, _) => {
1562
+ var q, oe, ce, ae, le, W;
1564
1563
  const x = b("el-breadcrumb-item"), M = b("el-breadcrumb"), R = b("el-button"), j = b("el-icon"), p = b("el-dropdown-item"), S = b("el-dropdown-menu"), u = b("el-dropdown"), s = b("el-tag"), f = b("el-tab-pane"), B = b("el-tabs"), Z = b("el-dialog");
1565
1564
  return l(), U(ee, null, [
1566
- i("div", Ro, [
1565
+ c("div", Ro, [
1567
1566
  d(M, null, {
1568
1567
  default: n(() => {
1569
1568
  var X, ue;
@@ -1574,14 +1573,14 @@ const _e = (r) => {
1574
1573
  default: n(() => {
1575
1574
  var me;
1576
1575
  return [
1577
- N(Q(v(a)((me = k == null ? void 0 : k.name) != null ? me : "")), 1)
1576
+ z(Q(v(o)((me = k == null ? void 0 : k.name) != null ? me : "")), 1)
1578
1577
  ];
1579
1578
  }),
1580
1579
  _: 1
1581
1580
  }, 8, ["to"]),
1582
1581
  d(x, null, {
1583
1582
  default: n(() => [
1584
- N(Q(v(a)("common.basic.detail")), 1)
1583
+ z(Q(v(o)("common.basic.detail")), 1)
1585
1584
  ]),
1586
1585
  _: 1
1587
1586
  })
@@ -1589,13 +1588,13 @@ const _e = (r) => {
1589
1588
  }),
1590
1589
  _: 1
1591
1590
  }),
1592
- i("div", null, [
1591
+ c("div", null, [
1593
1592
  d(R, {
1594
1593
  type: "primary",
1595
1594
  onClick: h
1596
1595
  }, {
1597
1596
  default: n(() => [
1598
- N(Q(v(a)("common.table.edit")), 1)
1597
+ z(Q(v(o)("common.table.edit")), 1)
1599
1598
  ]),
1600
1599
  _: 1
1601
1600
  }),
@@ -1605,7 +1604,7 @@ const _e = (r) => {
1605
1604
  disabled: ""
1606
1605
  }, {
1607
1606
  default: n(() => [
1608
- N(Q(v(a)("common.table.delete")), 1)
1607
+ z(Q(v(o)("common.table.delete")), 1)
1609
1608
  ]),
1610
1609
  _: 1
1611
1610
  }),
@@ -1616,10 +1615,10 @@ const _e = (r) => {
1616
1615
  var X, ue;
1617
1616
  return [
1618
1617
  (l(!0), U(ee, null, se((ue = (X = k.pageConfig) == null ? void 0 : X.detailPage) == null ? void 0 : ue.operationButtons, (me) => (l(), I(p, {
1619
- onClick: (ye) => me.function(y.value.formData)
1618
+ onClick: (ye) => me.function(g.value.formData)
1620
1619
  }, {
1621
1620
  default: n(() => [
1622
- N(Q(v(a)(me.label)), 1)
1621
+ z(Q(v(o)(me.label)), 1)
1623
1622
  ]),
1624
1623
  _: 2
1625
1624
  }, 1032, ["onClick"]))), 256))
@@ -1631,7 +1630,7 @@ const _e = (r) => {
1631
1630
  default: n(() => [
1632
1631
  d(R, { style: { margin: "0 10px" } }, {
1633
1632
  default: n(() => [
1634
- N(Q(v(a)("common.basic.more")), 1),
1633
+ z(Q(v(o)("common.basic.more")), 1),
1635
1634
  d(j, { class: "el-icon--right" }, {
1636
1635
  default: n(() => [
1637
1636
  d(v(pt))
@@ -1651,45 +1650,45 @@ const _e = (r) => {
1651
1650
  ])
1652
1651
  ]),
1653
1652
  (ae = (ce = k.pageConfig) == null ? void 0 : ce.detailPage) != null && ae.infoCard ? (l(), U("div", Vo, [
1654
- i("div", Do, [
1653
+ c("div", Do, [
1655
1654
  (l(), I(Se((le = k.pageConfig.detailPage.infoCard.icon) != null ? le : ""), { class: "icon" }))
1656
1655
  ]),
1657
- i("div", To, [
1658
- i("div", Ko, [
1659
- i("h1", null, Q(P.value), 1),
1660
- (($ = F.value) == null ? void 0 : $.length) > 0 ? (l(), I(s, {
1656
+ c("div", To, [
1657
+ c("div", Ko, [
1658
+ c("h1", null, Q(P.value), 1),
1659
+ ((W = F.value) == null ? void 0 : W.length) > 0 ? (l(), I(s, {
1661
1660
  key: 0,
1662
1661
  size: "small"
1663
1662
  }, {
1664
1663
  default: n(() => [
1665
- N(Q(F.value), 1)
1664
+ z(Q(F.value), 1)
1666
1665
  ]),
1667
1666
  _: 1
1668
1667
  })) : K("", !0)
1669
1668
  ]),
1670
- i("span", null, Q(z.value), 1)
1669
+ c("span", null, Q(J.value), 1)
1671
1670
  ])
1672
1671
  ])) : K("", !0),
1673
- i("div", Po, [
1672
+ c("div", Po, [
1674
1673
  d(B, {
1675
- modelValue: H.value,
1676
- "onUpdate:modelValue": _[0] || (_[0] = (X) => H.value = X),
1674
+ modelValue: N.value,
1675
+ "onUpdate:modelValue": _[0] || (_[0] = (X) => N.value = X),
1677
1676
  onTabClick: Y
1678
1677
  }, {
1679
1678
  default: n(() => {
1680
1679
  var X, ue;
1681
1680
  return [
1682
1681
  d(f, {
1683
- label: v(a)("common.basic.summary"),
1682
+ label: v(o)("common.basic.summary"),
1684
1683
  name: "summary"
1685
1684
  }, {
1686
1685
  default: n(() => [
1687
1686
  d(Je, {
1688
1687
  ref_key: "formViewRef",
1689
- ref: y,
1688
+ ref: g,
1690
1689
  id: e.value,
1691
1690
  sessionId: O.value,
1692
- mode: c.value,
1691
+ mode: i.value,
1693
1692
  model: k
1694
1693
  }, null, 8, ["id", "sessionId", "mode", "model"])
1695
1694
  ]),
@@ -1698,32 +1697,32 @@ const _e = (r) => {
1698
1697
  (l(!0), U(ee, null, se((ue = (X = k.pageConfig) == null ? void 0 : X.detailPage) == null ? void 0 : ue.tabs, (me) => {
1699
1698
  var ye;
1700
1699
  return l(), I(f, {
1701
- label: v(a)((ye = me.name) != null ? ye : "")
1700
+ label: v(o)((ye = me.name) != null ? ye : "")
1702
1701
  }, null, 8, ["label"]);
1703
1702
  }), 256))
1704
1703
  ];
1705
1704
  }),
1706
1705
  _: 1
1707
1706
  }, 8, ["modelValue"]),
1708
- w.value >= 0 ? (l(), I(Qe, {
1707
+ A.value >= 0 ? (l(), I(Qe, {
1709
1708
  key: 0,
1710
1709
  ref_key: "tabPaneTableRef",
1711
- ref: D,
1712
- model: W[w.value]
1710
+ ref: V,
1711
+ model: $[A.value]
1713
1712
  }, null, 8, ["model"])) : K("", !0),
1714
1713
  d(Z, {
1715
1714
  modelValue: C.value,
1716
1715
  "onUpdate:modelValue": _[2] || (_[2] = (X) => C.value = X),
1717
- title: v(a)("common.table.select"),
1716
+ title: v(o)("common.table.select"),
1718
1717
  width: "800px"
1719
1718
  }, {
1720
1719
  footer: n(() => [
1721
- i("span", Lo, [
1720
+ c("span", Lo, [
1722
1721
  d(R, {
1723
1722
  onClick: _[1] || (_[1] = (X) => C.value = !1)
1724
1723
  }, {
1725
1724
  default: n(() => [
1726
- N(Q(v(a)("common.basic.cancel")), 1)
1725
+ z(Q(v(o)("common.basic.cancel")), 1)
1727
1726
  ]),
1728
1727
  _: 1
1729
1728
  }),
@@ -1732,18 +1731,18 @@ const _e = (r) => {
1732
1731
  onClick: fe
1733
1732
  }, {
1734
1733
  default: n(() => [
1735
- N(Q(v(a)("common.basic.save")), 1)
1734
+ z(Q(v(o)("common.basic.save")), 1)
1736
1735
  ]),
1737
1736
  _: 1
1738
1737
  })
1739
1738
  ])
1740
1739
  ]),
1741
1740
  default: n(() => [
1742
- w.value >= 0 ? (l(), I(Qe, {
1741
+ A.value >= 0 ? (l(), I(Qe, {
1743
1742
  key: 0,
1744
1743
  ref_key: "selectTableRef",
1745
- ref: V,
1746
- model: v(L)[w.value]
1744
+ ref: D,
1745
+ model: v(L)[A.value]
1747
1746
  }, null, 8, ["model"])) : K("", !0)
1748
1747
  ]),
1749
1748
  _: 1
@@ -1760,16 +1759,16 @@ const _e = (r) => {
1760
1759
  ], 64);
1761
1760
  };
1762
1761
  }
1763
- }), Xo = /* @__PURE__ */ re(jo, [["__scopeId", "data-v-25243c4f"]]), Yo = { class: "page-title" }, qo = /* @__PURE__ */ pe({
1762
+ }), Xo = /* @__PURE__ */ re(jo, [["__scopeId", "data-v-f9250724"]]), Yo = { class: "page-title" }, qo = /* @__PURE__ */ pe({
1764
1763
  __name: "TablePage",
1765
1764
  setup(r) {
1766
- const { t: a } = Ie(), o = ke(), g = Be(), e = E(), t = E([]), C = ne({
1765
+ const { t: o } = Ie(), a = ke(), w = Be(), e = E(), t = E([]), C = ne({
1767
1766
  api: "",
1768
1767
  fields: []
1769
- }), c = ne(Ee({}, C));
1770
- function y() {
1771
- var D, V, H, P, z;
1772
- t.value = [], C.pageConfig && ((V = (D = C.pageConfig) == null ? void 0 : D.tablePage) != null && V.tabViewAttributes) && (t.value = (z = (P = (H = C.pageConfig) == null ? void 0 : H.tablePage) == null ? void 0 : P.tabViewAttributes) == null ? void 0 : z.map((F) => {
1768
+ }), i = ne(Ee({}, C));
1769
+ function g() {
1770
+ var V, D, N, P, J;
1771
+ t.value = [], C.pageConfig && ((D = (V = C.pageConfig) == null ? void 0 : V.tablePage) != null && D.tabViewAttributes) && (t.value = (J = (P = (N = C.pageConfig) == null ? void 0 : N.tablePage) == null ? void 0 : P.tabViewAttributes) == null ? void 0 : J.map((F) => {
1773
1772
  let O;
1774
1773
  return F.modelKey && de.value[F.modelKey] ? O = Ce(de.value[F.modelKey]) : O = Ce(C), F.queryParams && (O.tableConfig || (O.tableConfig = {}), O.tableConfig.queryParams = F.queryParams), F.fields && (O.fields = F.fields), F.modelKey && (O.breadcrumbRoute = C.route), {
1775
1774
  key: F.key,
@@ -1780,36 +1779,36 @@ const _e = (r) => {
1780
1779
  };
1781
1780
  }));
1782
1781
  }
1783
- function w() {
1784
- var H, P;
1785
- console.log("Init table page, loading model:", o.params.model), console.log("Current model list", de.value);
1786
- const D = o.params.model;
1787
- if (de.value[D] === void 0) {
1788
- console.warn("Model not found", D);
1782
+ function A() {
1783
+ var N, P;
1784
+ console.log("Init table page, loading model:", a.params.model), console.log("Current model list", de.value);
1785
+ const V = a.params.model;
1786
+ if (de.value[V] === void 0) {
1787
+ console.warn("Model not found", V);
1789
1788
  return;
1790
1789
  }
1791
1790
  _e(C);
1792
- const V = Ce(de.value[D]);
1793
- Object.assign(C, V), (P = (H = C.pageConfig) == null ? void 0 : H.tablePage) != null && P.tabViewAttributes || Object.assign(c, C), y();
1791
+ const D = Ce(de.value[V]);
1792
+ Object.assign(C, D), (P = (N = C.pageConfig) == null ? void 0 : N.tablePage) != null && P.tabViewAttributes || Object.assign(i, C), g();
1794
1793
  }
1795
- return he([
1796
- () => g.currentRoute.value,
1794
+ return be([
1795
+ () => w.currentRoute.value,
1797
1796
  de
1798
1797
  ], () => {
1799
- w();
1798
+ A();
1800
1799
  }, {
1801
1800
  immediate: !0,
1802
1801
  deep: !0
1803
- }), (D, V) => {
1802
+ }), (V, D) => {
1804
1803
  var P;
1805
- const H = b("el-scrollbar");
1804
+ const N = b("el-scrollbar");
1806
1805
  return l(), U(ee, null, [
1807
- i("h1", Yo, Q(v(a)((P = C.name) != null ? P : "")), 1),
1808
- d(H, null, {
1806
+ c("h1", Yo, Q(v(o)((P = C.name) != null ? P : "")), 1),
1807
+ d(N, null, {
1809
1808
  default: n(() => {
1810
- var z, F;
1809
+ var J, F;
1811
1810
  return [
1812
- (F = (z = C.pageConfig) == null ? void 0 : z.tablePage) != null && F.tabViewAttributes ? (l(), I(He, {
1811
+ (F = (J = C.pageConfig) == null ? void 0 : J.tablePage) != null && F.tabViewAttributes ? (l(), I(He, {
1813
1812
  key: 0,
1814
1813
  class: "tabs-wrapper",
1815
1814
  cards: t.value,
@@ -1823,7 +1822,7 @@ const _e = (r) => {
1823
1822
  class: "table-wrapper",
1824
1823
  ref_key: "tableRef",
1825
1824
  ref: e,
1826
- model: c
1825
+ model: i
1827
1826
  }, null, 8, ["model"])
1828
1827
  ], 64);
1829
1828
  };
@@ -1840,8 +1839,8 @@ const _e = (r) => {
1840
1839
  Xo,
1841
1840
  Ho
1842
1841
  ], aa = (r) => {
1843
- r && r.component && Jo.forEach((a) => {
1844
- console.log("component", a.__name, a), r.component(a.__name, a);
1842
+ r && r.component && Jo.forEach((o) => {
1843
+ console.log("component", o.__name, o), r.component(o.__name, o);
1845
1844
  });
1846
1845
  };
1847
1846
  export {