@vancone/console-component 0.1.0-beta.3 → 0.1.0-beta.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,146 +1,209 @@
1
- var Ze = Object.defineProperty, We = Object.defineProperties;
2
- var $e = Object.getOwnPropertyDescriptors;
3
- var Re = Object.getOwnPropertySymbols;
4
- var et = Object.prototype.hasOwnProperty, tt = Object.prototype.propertyIsEnumerable;
5
- var Fe = (s, t, e) => t in s ? Ze(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, Ie = (s, t) => {
6
- for (var e in t || (t = {}))
7
- et.call(t, e) && Fe(s, e, t[e]);
8
- if (Re)
9
- for (var e of Re(t))
10
- tt.call(t, e) && Fe(s, e, t[e]);
11
- return s;
12
- }, De = (s, t) => We(s, $e(t));
13
- import { openBlock as a, createElementBlock as S, defineComponent as ce, reactive as le, resolveComponent as v, createVNode as p, withCtx as r, createElementVNode as c, Fragment as ee, renderList as se, toDisplayString as _, normalizeStyle as Oe, ref as A, onMounted as Ge, unref as g, createCommentVNode as j, createTextVNode as z, createBlock as w, resolveDynamicComponent as Ee, computed as Qe, watch as he, createStaticVNode as ot, nextTick as Ve, normalizeClass as Te, resolveDirective as Ke, withDirectives as Pe } from "vue";
14
- import { useRoute as ke, useRouter as xe } from "vue-router";
15
- import at from "axios";
16
- import { ElMessage as Ue, ElMessageBox as nt } from "element-plus";
17
- import { createI18n as lt, useI18n as _e } from "vue-i18n";
18
- import { ArrowRight as st, Check as rt, Refresh as Le, QuestionFilled as it, Download as ct, Search as dt, ArrowDown as pt } from "@element-plus/icons-vue";
19
- import { cloneDeep as Ce } from "lodash";
20
- const re = (s, t) => {
21
- const e = s.__vccOpts || s;
22
- for (const [n, o] of t)
23
- e[n] = o;
1
+ var co = Object.defineProperty, uo = Object.defineProperties;
2
+ var po = Object.getOwnPropertyDescriptors;
3
+ var vt = Object.getOwnPropertySymbols;
4
+ var fo = Object.prototype.hasOwnProperty, mo = Object.prototype.propertyIsEnumerable;
5
+ var yt = (e, o, t) => o in e ? co(e, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[o] = t, He = (e, o) => {
6
+ for (var t in o || (o = {}))
7
+ fo.call(o, t) && yt(e, t, o[t]);
8
+ if (vt)
9
+ for (var t of vt(o))
10
+ mo.call(o, t) && yt(e, t, o[t]);
24
11
  return e;
25
- }, ut = {}, ft = { class: "building" };
26
- function mt(s, t) {
27
- return a(), S("div", ft);
12
+ }, wt = (e, o) => uo(e, po(o));
13
+ var ye = (e, o, t) => new Promise((n, s) => {
14
+ var r = (i) => {
15
+ try {
16
+ a(t.next(i));
17
+ } catch (d) {
18
+ s(d);
19
+ }
20
+ }, l = (i) => {
21
+ try {
22
+ a(t.throw(i));
23
+ } catch (d) {
24
+ s(d);
25
+ }
26
+ }, a = (i) => i.done ? n(i.value) : Promise.resolve(i.value).then(r, l);
27
+ a((t = t.apply(e, o)).next());
28
+ });
29
+ import { openBlock as p, createElementBlock as F, createElementVNode as k, defineComponent as _e, reactive as re, resolveComponent as x, createVNode as _, withCtx as m, unref as O, Fragment as oe, renderList as ce, toDisplayString as D, normalizeStyle as it, ref as I, onMounted as pt, createCommentVNode as B, createTextVNode as Y, createBlock as A, resolveDynamicComponent as Xe, effectScope as At, markRaw as Pe, toRaw as Ge, hasInjectionContext as ho, inject as _o, getCurrentInstance as go, watch as Se, isRef as Le, isReactive as ft, toRef as st, nextTick as Ze, computed as Te, getCurrentScope as bo, onScopeDispose as vo, toRefs as St, createStaticVNode as yo, normalizeClass as Vt, resolveDirective as Mt, withDirectives as Ut } from "vue";
30
+ import { useRoute as qe, useRouter as nt } from "vue-router";
31
+ import wo from "axios";
32
+ import { ElMessage as rt, ElMessageBox as So } from "element-plus";
33
+ import { createI18n as Co, useI18n as Be } from "vue-i18n";
34
+ import { ArrowRight as Oo, Check as ko, Refresh as Tt, QuestionFilled as Eo, Download as xo, Search as $o, ArrowDown as Po } from "@element-plus/icons-vue";
35
+ import { cloneDeep as Ue } from "lodash";
36
+ const ue = (e, o) => {
37
+ const t = e.__vccOpts || e;
38
+ for (const [n, s] of o)
39
+ t[n] = s;
40
+ return t;
41
+ }, Io = {}, No = { class: "building" };
42
+ function Ao(e, o) {
43
+ return p(), F("div", No);
28
44
  }
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++Ag9s6p63zXOsqyKtCEIYb09wTcu9vPS4r78cCQYYT2CENYpV4o3Jd0WwZclYTDeK4zNPDjmY4FEEYQwLhhdCIPvtljqzLqqpHt6H4yMcMAoghBGBF3fuKQJSTeMFgPTHkoqyV9GpVtE4ghCJCYIvwn5XR+jDDjMgvxusUQoIikEIWJF+KELhCISQRAicoQfYkAoIjYEISIRDLXfljQpwg/xWpA0Lf+gzbzhWpABBCG6Uq4UJ+QHYMFwKXBTWX4glkwXgvQiCNG2oPublL/8yagDbFCVf/J0mi4R7SII0bKg+5sQQ+6w2335e4kl04UgHQhCHCno/ibkd4B0f0iTqvy9xBJdIo5CEOJQwf2eE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8ftT7lOH+3F5hqElBNxf+mGVMZE1woOb/SPqVmm91PJS/h126dP1OS6M6BCEAIJWCfcTQaqvBt99/AbvQE87h1n5GAAAAAElFTkSuQmCC", ie = at.create({
45
+ const Vo = /* @__PURE__ */ ue(Io, [["render", Ao], ["__scopeId", "data-v-07bd45d2"]]), pe = wo.create({
30
46
  timeout: 2 * 60 * 1e3,
31
47
  withCredentials: !0
32
48
  });
33
- ie.interceptors.request.use((s) => s);
34
- ie.interceptors.response.use((s) => {
35
- const { headers: t, method: e } = s.config, { code: n, message: o } = s.data, { "No-Success-Message": l } = t, m = e !== "get";
36
- return n === 0 ? (m && !l && Ue({
37
- message: o,
49
+ pe.interceptors.request.use((e) => e);
50
+ pe.interceptors.response.use((e) => {
51
+ const { headers: o, method: t } = e.config, { code: n, message: s } = e.data, { "No-Success-Message": r } = o, l = t !== "get";
52
+ return n === 0 ? (l && !r && rt({
53
+ message: s,
38
54
  type: "success"
39
- }), Promise.resolve(s)) : (Ue({
55
+ }), Promise.resolve(e)) : (rt({
40
56
  type: "error",
41
- message: o
57
+ message: s
42
58
  }), Promise.reject(new Error(`${n}`)));
43
- }, (s) => {
59
+ }, (e) => {
44
60
  var n;
45
- const { config: t, response: e } = s;
46
- if (e) {
47
- const { status: o } = e;
48
- if (o === 401) {
49
- const u = window.escape(window.location.href);
50
- let h = (n = e.data.data) != null ? n : "https://passport.vancone.com";
51
- window.location.href = `${h}/?from=${u}`;
61
+ const { config: o, response: t } = e;
62
+ if (t) {
63
+ const { status: s } = t;
64
+ if (s === 401) {
65
+ const a = window.escape(window.location.href);
66
+ let i = (n = t.data.data) != null ? n : "https://passport.vancone.com";
67
+ window.location.href = `${i}/?from=${a}`;
52
68
  }
53
- const { message: l, error: m } = e.data;
54
- Ue({
69
+ const { message: r, error: l } = t.data;
70
+ rt({
55
71
  type: "error",
56
- message: l || m
72
+ message: r || l
57
73
  });
58
74
  }
59
- return Promise.reject(new Error(s.message || "Response Error"));
75
+ return Promise.reject(new Error(e.message || "Response Error"));
60
76
  });
61
- const je = () => {
62
- const { origin: s } = window.location;
63
- return s.includes("beta") || s.includes("localhost") ? "passport.beta.vancone.com" : "passport.vancone.com";
64
- }, Xe = je();
65
- function vt() {
66
- return ie.get(`//${Xe}/api/passport/service/v1/account`);
77
+ const Dt = () => {
78
+ const { origin: e } = window.location;
79
+ return e.includes("beta") || e.includes("localhost") ? "passport.beta.vancone.com" : "passport.vancone.com";
80
+ }, Rt = Dt();
81
+ function Mo() {
82
+ return pe.get(`//${Rt}/api/passport/service/v1/account`);
83
+ }
84
+ function Uo() {
85
+ return pe.delete(`//${Rt}/api/passport/service/v1/login`);
86
+ }
87
+ function To() {
88
+ return pe.get("https://console.vancone.com/api/console/app-group?pageSize=1000");
67
89
  }
68
- function bt() {
69
- return ie.delete(`//${Xe}/api/passport/service/v1/login`);
90
+ function Do() {
91
+ return pe.get("https://console.vancone.com/api/console/app?pageSize=1000");
92
+ }
93
+ const Ro = {
94
+ xmlns: "http://www.w3.org/2000/svg",
95
+ width: "32",
96
+ height: "32",
97
+ class: "icon",
98
+ viewBox: "0 0 1024 1024"
99
+ };
100
+ function Fo(e, o) {
101
+ return p(), F("svg", Ro, o[0] || (o[0] = [
102
+ k("path", { d: "M480 544v352H128V544zm416 288v64H544v-64zM416 608H192v224h224zm480 83.072v64H544v-64zM896 544v64H544v-64zM480 128v352H128V128zm416 0v352H544V128zm-480 64H192v224h224zm416 0H608v224h224z" }, null, -1)
103
+ ]));
70
104
  }
71
- function Ct() {
72
- return ie.get("https://console.vancone.com/api/console/app-group?pageSize=1000");
105
+ const Go = { render: Fo }, Lo = {
106
+ xmlns: "http://www.w3.org/2000/svg",
107
+ width: "32",
108
+ height: "32",
109
+ class: "icon",
110
+ viewBox: "0 0 1024 1024"
111
+ };
112
+ function jo(e, o) {
113
+ return p(), F("svg", Lo, o[0] || (o[0] = [
114
+ k("path", { d: "M487.01 113.079a56.076 56.076 0 0 1 73.216 21.918l1.901 3.536 100.401 203.215L886.93 374.32a56.076 56.076 0 0 1 33.939 92.647l-2.877 3.024-162.329 158.061L793.99 851.31a56.076 56.076 0 0 1-77.726 60.855l-3.609-1.707-200.801-105.472-200.802 105.448a56.076 56.076 0 0 1-81.871-55.345l.512-3.78 38.351-223.256-162.328-158.061a56.076 56.076 0 0 1 27.282-94.989l3.78-.682 224.377-32.573L461.58 138.533a56.08 56.08 0 0 1 25.43-25.454M409.722 408.6l-228.206 33.134 165.132 160.744-39.01 227.133 204.216-107.252 204.19 107.252-39.01-227.133 165.133-160.744L613.96 408.6 511.854 201.9 409.698 408.6z" }, null, -1)
115
+ ]));
73
116
  }
74
- function wt() {
75
- return ie.get("https://console.vancone.com/api/console/app?pageSize=1000");
117
+ const zo = { render: jo }, qo = {
118
+ xmlns: "http://www.w3.org/2000/svg",
119
+ width: "32",
120
+ height: "32",
121
+ class: "icon",
122
+ viewBox: "0 0 1024 1024"
123
+ };
124
+ function Bo(e, o) {
125
+ return p(), F("svg", qo, o[0] || (o[0] = [
126
+ k("path", { d: "M512 109.714c222.184 0 402.286 180.102 402.286 402.286S734.184 914.286 512 914.286l-2.901-.122c-104.546-8.314-189.416-43.52-253.075-105.13l-.024 80.87h-73.143V658.287h207.238v73.143H283.99c52.858 65.048 128.561 101.4 229.45 109.714l7.63-.122C698.662 836.218 841.144 690.737 841.144 512c0-181.784-147.359-329.143-329.143-329.143S182.857 330.216 182.857 512h-73.143c0-222.184 180.102-402.286 402.286-402.286m-48.762 182.857h73.143V475.43h182.857v73.142h-256z" }, null, -1)
127
+ ]));
76
128
  }
77
- const yt = { class: "app-catalog-wrapper" }, At = { style: { width: "calc(100% - 330px)" } }, kt = { class: "catalog-wrapper" }, _t = { class: "service-list" }, It = ["href"], Et = /* @__PURE__ */ ce({
129
+ const Ho = { render: Bo }, Jo = { class: "app-catalog-wrapper" }, Wo = { class: "catalog-wrapper" }, Yo = { class: "service-list" }, Qo = ["href"], Ko = /* @__PURE__ */ _e({
78
130
  __name: "AppCatalog",
79
131
  props: {
80
132
  visible: { type: Boolean }
81
133
  },
82
- setup(s) {
83
- const t = s, e = le([]);
84
- function n() {
85
- Ct().then(({ data: o }) => {
86
- e.splice(0, e.length, ...o.data.list), wt().then(({ data: l }) => {
87
- const m = l.data.list;
88
- e.forEach((u) => {
89
- u.apps = m.filter((h) => h.appGroupId === u.id);
134
+ setup(e) {
135
+ const o = re([]);
136
+ function t() {
137
+ To().then(({ data: n }) => {
138
+ o.splice(0, o.length, ...n.data.list), Do().then(({ data: s }) => {
139
+ const r = s.data.list;
140
+ o.forEach((l) => {
141
+ l.apps = r.filter((a) => a.appGroupId === l.id);
90
142
  });
91
143
  });
92
144
  });
93
145
  }
94
- return n(), (o, l) => {
95
- const m = v("el-input"), u = v("el-drawer");
96
- return a(), S("div", yt, [
97
- p(u, {
98
- "modal-class": "drawer-modal",
99
- "with-header": !1,
100
- direction: "ttb",
101
- modelValue: t.visible,
102
- "onUpdate:modelValue": l[0] || (l[0] = (h) => t.visible = h)
103
- }, {
104
- default: r(() => [
105
- l[2] || (l[2] = c("div", { class: "favorite-list" }, [
106
- c("h1", null, "Favorites")
107
- ], -1)),
108
- c("div", At, [
109
- p(m, {
110
- class: "search-box",
111
- placeholder: "Search by App name"
112
- }),
113
- l[1] || (l[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
- ], -1)),
119
- c("div", kt, [
120
- (a(!0), S(ee, null, se(e, (h) => (a(), S("div", _t, [
121
- c("h1", null, _(h.name), 1),
122
- (a(!0), S(ee, null, se(h.apps, (O) => {
123
- var Q, F;
124
- return a(), S("a", {
125
- style: Oe([{ "text-decoration": "none" }, { pointerEvents: ((Q = O.homepageUrl) == null ? void 0 : Q.length) > 0 ? "auto" : "none" }]),
126
- target: "_blank",
127
- href: O.homepageUrl
128
- }, [
129
- c("h2", {
130
- style: Oe({ color: ((F = O.homepageUrl) == null ? void 0 : F.length) > 0 ? "#555" : "#bbb" })
131
- }, _(O.name), 5)
132
- ], 12, It);
133
- }), 256))
134
- ]))), 256))
135
- ])
136
- ])
146
+ return t(), (n, s) => {
147
+ const r = x("el-input"), l = x("el-scrollbar"), a = x("el-tab-pane"), i = x("el-tabs");
148
+ return p(), F("div", Jo, [
149
+ _(i, { "tab-position": "left" }, {
150
+ default: m(() => [
151
+ _(a, null, {
152
+ label: m(() => [
153
+ _(O(Go), { class: "left-icon" })
154
+ ]),
155
+ default: m(() => [
156
+ _(l, {
157
+ class: "right-area",
158
+ style: { width: "100%", height: "100%" }
159
+ }, {
160
+ default: m(() => [
161
+ _(r, {
162
+ class: "search-box",
163
+ placeholder: "Search by App name"
164
+ }),
165
+ k("div", Wo, [
166
+ (p(!0), F(oe, null, ce(o, (d) => (p(), F("div", Yo, [
167
+ k("h1", null, D(d.name), 1),
168
+ (p(!0), F(oe, null, ce(d.apps, (w) => {
169
+ var y, M;
170
+ return p(), F("a", {
171
+ style: it([{ "text-decoration": "none" }, { pointerEvents: ((y = w.homepageUrl) == null ? void 0 : y.length) > 0 ? "auto" : "none" }]),
172
+ target: "_blank",
173
+ href: w.homepageUrl
174
+ }, [
175
+ k("h2", {
176
+ style: it({ color: ((M = w.homepageUrl) == null ? void 0 : M.length) > 0 ? "#555" : "#bbb" })
177
+ }, D(w.name), 5)
178
+ ], 12, Qo);
179
+ }), 256))
180
+ ]))), 256))
181
+ ])
182
+ ]),
183
+ _: 1
184
+ })
185
+ ]),
186
+ _: 1
187
+ }),
188
+ _(a, null, {
189
+ label: m(() => [
190
+ _(O(zo), { class: "left-icon" })
191
+ ]),
192
+ _: 1
193
+ }),
194
+ _(a, null, {
195
+ label: m(() => [
196
+ _(O(Ho), { class: "left-icon" })
197
+ ]),
198
+ _: 1
199
+ })
137
200
  ]),
138
201
  _: 1
139
- }, 8, ["modelValue"])
202
+ })
140
203
  ]);
141
204
  };
142
205
  }
143
- }), St = /* @__PURE__ */ re(Et, [["__scopeId", "data-v-c3d195cb"]]), Mt = {
206
+ }), Xo = /* @__PURE__ */ ue(Ko, [["__scopeId", "data-v-3f4e3c4f"]]), Zo = {
144
207
  common: {
145
208
  header: {
146
209
  product: "Products",
@@ -178,7 +241,7 @@ const yt = { class: "app-catalog-wrapper" }, At = { style: { width: "calc(100% -
178
241
  yes: "Yes"
179
242
  }
180
243
  }
181
- }, Qt = {
244
+ }, en = {
182
245
  common: {
183
246
  header: {
184
247
  product: "产品",
@@ -216,55 +279,57 @@ const yt = { class: "app-catalog-wrapper" }, At = { style: { width: "calc(100% -
216
279
  yes: "是"
217
280
  }
218
281
  }
219
- }, Se = lt({
282
+ }, et = Co({
220
283
  legacy: !1,
221
284
  locale: localStorage.getItem("locale") || navigator.language.slice(0, 2),
222
285
  messages: {
223
- en: Mt,
224
- zh: Qt
286
+ en: Zo,
287
+ zh: en
225
288
  }
226
- }), xt = {
289
+ }), tn = {
227
290
  xmlns: "http://www.w3.org/2000/svg",
228
291
  "xml:space": "preserve",
229
292
  viewBox: "0 0 32 32"
230
293
  };
231
- function Bt(s, t) {
232
- return a(), S("svg", xt, t[0] || (t[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)
294
+ function on(e, o) {
295
+ return p(), F("svg", tn, o[0] || (o[0] = [
296
+ k("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
297
  ]));
235
298
  }
236
- const Ut = { render: Bt }, Ot = {
299
+ const nn = { render: on }, sn = {
237
300
  xmlns: "http://www.w3.org/2000/svg",
238
301
  width: "200",
239
302
  height: "200",
240
303
  class: "icon",
241
304
  viewBox: "0 0 1024 1024"
242
305
  };
243
- function Gt(s, t) {
244
- return a(), S("svg", Ot, t[0] || (t[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)
306
+ function rn(e, o) {
307
+ return p(), F("svg", sn, o[0] || (o[0] = [
308
+ k("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
309
  ]));
247
310
  }
248
- const Rt = { render: Gt }, Ft = {
311
+ const an = { render: rn }, ln = {
249
312
  xmlns: "http://www.w3.org/2000/svg",
250
313
  width: "200",
251
314
  height: "200",
252
315
  class: "icon",
253
316
  viewBox: "0 0 1024 1024"
254
317
  };
255
- function Dt(s, t) {
256
- return a(), S("svg", Ft, t[0] || (t[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)
318
+ function cn(e, o) {
319
+ return p(), F("svg", ln, o[0] || (o[0] = [
320
+ k("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
321
  ]));
259
322
  }
260
- const Vt = { render: Dt }, 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__ */ ce({
323
+ const un = { render: cn }, dn = { class: "header" }, pn = { class: "title" }, fn = { class: "right" }, mn = { class: "icon-wrapper" }, hn = { class: "user-wrapper" }, _n = { style: { "font-size": "11px", "font-weight": "bold" } }, gn = { class: "user-popover-header" }, bn = { style: { "font-size": "15px", "font-weight": "bold" } }, vn = ["onClick"], yn = /* @__PURE__ */ _e({
261
324
  __name: "Header",
262
325
  props: {
263
326
  title: {},
264
327
  helpDocUrl: {}
265
328
  },
266
- setup(s) {
267
- const { t } = _e(), e = A(), n = A(), o = A(), l = s, m = A(!1), u = A(""), h = A(Se.global.locale), O = le([
329
+ setup(e) {
330
+ const { t: o } = Be(), t = I(), n = I(), s = I(), r = I(), l = e;
331
+ I(!1);
332
+ const a = I(""), i = I(et.global.locale), d = re([
268
333
  {
269
334
  id: "en",
270
335
  name: "English"
@@ -274,189 +339,191 @@ const Vt = { render: Dt }, Tt = { class: "header" }, Kt = { class: "right" }, Pt
274
339
  name: "简体中文"
275
340
  }
276
341
  ]);
277
- Ge(() => {
278
- u.value = decodeURIComponent(escape(window.atob(Q("passport_username")))), u.value === "" && vt().then(({ data: M }) => {
279
- var C;
280
- M.code == 0 && (u.value = (C = M.data.name) != null ? C : M.data.displayId);
342
+ pt(() => {
343
+ a.value = decodeURIComponent(w("passport_username").replace(/\+/g, " ")), a.value === "" && Mo().then(({ data: P }) => {
344
+ var j;
345
+ P.code == 0 && (a.value = (j = P.data.name) != null ? j : P.data.displayId);
281
346
  });
282
347
  });
283
- function Q(M) {
284
- for (var C = M + "=", $ = document.cookie.split(";"), G = 0; G < $.length; G++) {
285
- for (var d = $[G]; d.charAt(0) == " "; ) d = d.substring(1);
286
- if (d.indexOf(C) != -1)
287
- return d.substring(C.length, d.length);
348
+ function w(P) {
349
+ for (var j = P + "=", V = document.cookie.split(";"), K = 0; K < V.length; K++) {
350
+ for (var z = V[K]; z.charAt(0) == " "; ) z = z.substring(1);
351
+ if (z.indexOf(j) != -1)
352
+ return z.substring(j.length, z.length);
288
353
  }
289
354
  return "";
290
355
  }
291
- function F() {
292
- bt().then(() => {
293
- const M = escape(window.location.href);
294
- window.location.href = `//${je()}/?from=${M}#login`;
356
+ function y() {
357
+ Uo().then(() => {
358
+ const P = escape(window.location.href);
359
+ window.location.href = `//${Dt()}/?from=${P}#login`;
295
360
  });
296
361
  }
297
- function V(M) {
298
- Se.global.locale.value = M, h.value = M, localStorage.setItem("locale", M);
299
- }
300
- function q() {
301
- window.open("https://portal.vancone.com/", "_blank");
362
+ function M(P) {
363
+ et.global.locale.value = P, i.value = P, localStorage.setItem("locale", P);
302
364
  }
303
- function X() {
365
+ function U() {
304
366
  window.open("https://passport.vancone.com/#/account/profile", "_blank");
305
367
  }
306
- function P() {
368
+ function L() {
307
369
  window.open(l.helpDocUrl, "_blank");
308
370
  }
309
- return (M, C) => {
310
- const $ = v("el-tooltip"), G = v("el-avatar"), d = v("el-menu-item"), L = v("el-icon"), k = v("el-popover"), H = v("el-menu");
311
- return a(), S("div", Tt, [
312
- c("div", {
313
- class: "title",
314
- onClick: q
315
- }, [
316
- C[1] || (C[1] = c("img", {
317
- src: gt,
318
- class: "logo"
319
- }, null, -1)),
320
- C[2] || (C[2] = c("h1", null, "VanCone", -1)),
321
- c("span", null, _(M.title), 1)
322
- ]),
323
- p(St, { visible: m.value }, null, 8, ["visible"]),
324
- c("div", Kt, [
325
- p($, {
371
+ return (P, j) => {
372
+ const V = x("el-tooltip"), K = x("el-popover"), z = x("el-avatar"), Q = x("el-menu-item"), ne = x("el-icon"), S = x("el-menu");
373
+ return p(), F("div", dn, [
374
+ k("div", pn, [
375
+ _(V, {
326
376
  effect: "dark",
327
- content: g(t)("common.header.product"),
377
+ content: O(o)("common.header.product"),
328
378
  placement: "bottom"
329
379
  }, {
330
- default: r(() => [
331
- c("div", {
380
+ default: m(() => [
381
+ k("div", {
382
+ ref_key: "appCatalogButtonRef",
383
+ ref: r,
332
384
  class: "icon-wrapper",
333
- onClick: C[0] || (C[0] = (x) => m.value = !m.value)
385
+ style: { "margin-left": "8px" }
334
386
  }, [
335
- p(g(Ut))
336
- ])
387
+ _(O(nn))
388
+ ], 512)
337
389
  ]),
338
390
  _: 1
339
391
  }, 8, ["content"]),
340
- p($, {
392
+ k("h1", null, D(P.title), 1)
393
+ ]),
394
+ _(K, {
395
+ class: "app-popover",
396
+ "virtual-ref": r.value,
397
+ trigger: "click",
398
+ "show-arrow": !1,
399
+ "popper-style": "width: 500px; height: 500px;"
400
+ }, {
401
+ default: m(() => [
402
+ _(Xo, { visible: !0 })
403
+ ]),
404
+ _: 1
405
+ }, 8, ["virtual-ref"]),
406
+ k("div", fn, [
407
+ _(V, {
341
408
  effect: "dark",
342
- content: g(t)("common.header.help"),
409
+ content: O(o)("common.header.help"),
343
410
  placement: "bottom"
344
411
  }, {
345
- default: r(() => [
346
- l.helpDocUrl !== void 0 ? (a(), S("div", {
412
+ default: m(() => [
413
+ l.helpDocUrl !== void 0 ? (p(), F("div", {
347
414
  key: 0,
348
415
  class: "icon-wrapper",
349
- onClick: P
416
+ onClick: L
350
417
  }, [
351
- p(g(Rt))
352
- ])) : j("", !0)
418
+ _(O(an))
419
+ ])) : B("", !0)
353
420
  ]),
354
421
  _: 1
355
422
  }, 8, ["content"]),
356
- p($, {
423
+ _(V, {
357
424
  effect: "dark",
358
- content: g(t)("common.header.message"),
425
+ content: O(o)("common.header.message"),
359
426
  placement: "bottom"
360
427
  }, {
361
- default: r(() => [
362
- c("div", Pt, [
363
- p(g(Vt))
428
+ default: m(() => [
429
+ k("div", mn, [
430
+ _(O(un))
364
431
  ])
365
432
  ]),
366
433
  _: 1
367
434
  }, 8, ["content"]),
368
- c("div", Lt, [
369
- p(G, {
435
+ k("div", hn, [
436
+ _(z, {
370
437
  size: 30,
371
438
  src: "",
372
439
  ref_key: "avatarRef",
373
- ref: e
440
+ ref: t
374
441
  }, {
375
- default: r(() => [
376
- c("span", jt, _(u.value.substring(0, 2)), 1)
442
+ default: m(() => [
443
+ k("span", _n, D(a.value.substring(0, 2)), 1)
377
444
  ]),
378
445
  _: 1
379
446
  }, 512),
380
- p(k, {
447
+ _(K, {
381
448
  teleported: !1,
382
449
  width: "280",
383
450
  effect: "dark",
384
451
  ref_key: "popoverRef",
385
452
  ref: n,
386
- "virtual-ref": e.value,
453
+ "virtual-ref": t.value,
387
454
  trigger: "hover",
388
455
  "virtual-triggering": ""
389
456
  }, {
390
- default: r(() => [
391
- c("div", Xt, [
392
- p(G, {
457
+ default: m(() => [
458
+ k("div", gn, [
459
+ _(z, {
393
460
  size: 48,
394
461
  src: ""
395
462
  }, {
396
- default: r(() => [
397
- c("span", Yt, _(u.value.substring(0, 2)), 1)
463
+ default: m(() => [
464
+ k("span", bn, D(a.value.substring(0, 2)), 1)
398
465
  ]),
399
466
  _: 1
400
467
  }),
401
- c("span", null, _(u.value), 1)
468
+ k("span", null, D(a.value), 1)
402
469
  ]),
403
- p(H, { class: "user-menu" }, {
404
- default: r(() => [
405
- p(d, { onClick: X }, {
406
- default: r(() => [
407
- z(_(g(t)("common.header.userCenter")), 1)
470
+ _(S, { class: "user-menu" }, {
471
+ default: m(() => [
472
+ _(Q, { onClick: U }, {
473
+ default: m(() => [
474
+ Y(D(O(o)("common.header.userCenter")), 1)
408
475
  ]),
409
476
  _: 1
410
477
  }),
411
- p(d, {
478
+ _(Q, {
412
479
  ref_key: "switchLanguageRef",
413
- ref: o,
480
+ ref: s,
414
481
  style: { display: "flext", "justify-content": "space-between" }
415
482
  }, {
416
- default: r(() => [
417
- c("span", null, _(g(t)("common.header.switchLanguage")), 1),
418
- p(L, { style: { left: "15px" } }, {
419
- default: r(() => [
420
- p(g(st))
483
+ default: m(() => [
484
+ k("span", null, D(O(o)("common.header.switchLanguage")), 1),
485
+ _(ne, { style: { left: "15px" } }, {
486
+ default: m(() => [
487
+ _(O(Oo))
421
488
  ]),
422
489
  _: 1
423
490
  })
424
491
  ]),
425
492
  _: 1
426
493
  }, 512),
427
- p(k, {
494
+ _(K, {
428
495
  teleported: !1,
429
496
  width: "150",
430
497
  effect: "dark",
431
498
  ref: "popover2Ref",
432
499
  placement: "left-start",
433
- "virtual-ref": o.value,
500
+ "virtual-ref": s.value,
434
501
  trigger: "hover",
435
502
  "virtual-triggering": "",
436
503
  "popper-style": "height: 80px; left: -165px"
437
504
  }, {
438
- default: r(() => [
439
- (a(!0), S(ee, null, se(O, (x) => (a(), S("div", {
505
+ default: m(() => [
506
+ (p(!0), F(oe, null, ce(d, (h) => (p(), F("div", {
440
507
  class: "select-list",
441
- onClick: (W) => V(x.id)
508
+ onClick: ($) => M(h.id)
442
509
  }, [
443
- c("span", null, _(x.name), 1),
444
- x.id === h.value ? (a(), w(L, {
510
+ k("span", null, D(h.name), 1),
511
+ h.id === i.value ? (p(), A(ne, {
445
512
  key: 0,
446
513
  style: { color: "#8ba74f" }
447
514
  }, {
448
- default: r(() => [
449
- p(g(rt))
515
+ default: m(() => [
516
+ _(O(ko))
450
517
  ]),
451
518
  _: 1
452
- })) : j("", !0)
453
- ], 8, qt))), 256))
519
+ })) : B("", !0)
520
+ ], 8, vn))), 256))
454
521
  ]),
455
522
  _: 1
456
523
  }, 8, ["virtual-ref"]),
457
- p(d, { onClick: F }, {
458
- default: r(() => [
459
- z(_(g(t)("common.header.signOut")), 1)
524
+ _(Q, { onClick: y }, {
525
+ default: m(() => [
526
+ Y(D(O(o)("common.header.signOut")), 1)
460
527
  ]),
461
528
  _: 1
462
529
  })
@@ -471,321 +538,1479 @@ const Vt = { render: Dt }, Tt = { class: "header" }, Kt = { class: "right" }, Pt
471
538
  ]);
472
539
  };
473
540
  }
474
- }), Ye = /* @__PURE__ */ re(Ht, [["__scopeId", "data-v-a9821cf9"]]), Jt = { class: "menu-icon-wrapper" }, zt = { class: "menu-icon-wrapper" }, Nt = /* @__PURE__ */ ce({
541
+ }), Ft = /* @__PURE__ */ ue(yn, [["__scopeId", "data-v-2d4279e0"]]), wn = { class: "menu-icon-wrapper" }, Sn = { class: "menu-icon-wrapper" }, Cn = /* @__PURE__ */ _e({
475
542
  __name: "SideMenuItem",
476
543
  props: {
477
544
  menu: {}
478
545
  },
479
- setup(s) {
480
- const t = s;
481
- return (e, n) => {
482
- const o = v("SideMenuItem", !0), l = v("el-sub-menu"), m = v("el-menu-item");
483
- return e.menu.children && e.menu.children.length > 0 ? (a(), w(l, {
546
+ setup(e) {
547
+ const o = e;
548
+ return (t, n) => {
549
+ const s = x("SideMenuItem", !0), r = x("el-sub-menu"), l = x("el-menu-item");
550
+ return t.menu.children && t.menu.children.length > 0 ? (p(), A(r, {
484
551
  key: 0,
485
- index: e.menu.path
552
+ index: t.menu.path
486
553
  }, {
487
- title: r(() => {
488
- var u, h, O;
554
+ title: m(() => {
555
+ var a, i, d;
489
556
  return [
490
- c("div", Jt, [
491
- (a(), w(Ee((u = e.menu.meta) == null ? void 0 : u.icon), { class: "menu-icon" }))
557
+ k("div", wn, [
558
+ (p(), A(Xe((a = t.menu.meta) == null ? void 0 : a.icon), { class: "menu-icon" }))
492
559
  ]),
493
- c("span", null, _(e.$t((O = (h = e.menu.meta) == null ? void 0 : h.title) != null ? O : "")), 1)
560
+ k("span", null, D(t.$t((d = (i = t.menu.meta) == null ? void 0 : i.title) != null ? d : "")), 1)
494
561
  ];
495
562
  }),
496
- default: r(() => [
497
- (a(!0), S(ee, null, se(e.menu.children, (u) => (a(), w(o, {
498
- key: u.path,
499
- route: u
563
+ default: m(() => [
564
+ (p(!0), F(oe, null, ce(t.menu.children, (a) => (p(), A(s, {
565
+ key: a.path,
566
+ route: a
500
567
  }, null, 8, ["route"]))), 128))
501
568
  ]),
502
569
  _: 1
503
- }, 8, ["index"])) : (a(), w(m, {
570
+ }, 8, ["index"])) : (p(), A(l, {
504
571
  key: 1,
505
- index: t.menu.path,
572
+ index: o.menu.path,
506
573
  style: { height: "40px" }
507
574
  }, {
508
- title: r(() => {
509
- var u;
575
+ title: m(() => {
576
+ var a;
510
577
  return [
511
- c("span", null, _(e.$t((u = e.menu.title) != null ? u : "")), 1)
578
+ k("span", null, D(t.$t((a = t.menu.title) != null ? a : "")), 1)
512
579
  ];
513
580
  }),
514
- default: r(() => [
515
- c("div", zt, [
516
- (a(), w(Ee(e.$props.menu.icon), { class: "menu-icon" }))
581
+ default: m(() => [
582
+ k("div", Sn, [
583
+ (p(), A(Xe(t.$props.menu.icon), { class: "menu-icon" }))
517
584
  ])
518
585
  ]),
519
586
  _: 1
520
587
  }, 8, ["index"]));
521
588
  };
522
589
  }
523
- }), Zt = /* @__PURE__ */ re(Nt, [["__scopeId", "data-v-e3b5500a"]]), fe = A({}), Wt = {}, $t = A([]), eo = {
524
- xmlns: "http://www.w3.org/2000/svg",
525
- width: "32",
526
- height: "32",
527
- class: "icon",
528
- viewBox: "0 0 1024 1024"
590
+ }), On = /* @__PURE__ */ ue(Cn, [["__scopeId", "data-v-e3b5500a"]]), he = I({}), kn = {}, Ct = I([]);
591
+ var Gt = !1;
592
+ function Je(e, o, t) {
593
+ return Array.isArray(e) ? (e.length = Math.max(e.length, o), e.splice(o, 1, t), t) : (e[o] = t, t);
594
+ }
595
+ function at(e, o) {
596
+ if (Array.isArray(e)) {
597
+ e.splice(o, 1);
598
+ return;
599
+ }
600
+ delete e[o];
601
+ }
602
+ function En() {
603
+ return Lt().__VUE_DEVTOOLS_GLOBAL_HOOK__;
604
+ }
605
+ function Lt() {
606
+ return typeof navigator != "undefined" && typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : {};
607
+ }
608
+ const xn = typeof Proxy == "function", $n = "devtools-plugin:setup", Pn = "plugin:settings:set";
609
+ let Ae, ct;
610
+ function In() {
611
+ var e;
612
+ return Ae !== void 0 || (typeof window != "undefined" && window.performance ? (Ae = !0, ct = window.performance) : typeof globalThis != "undefined" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (Ae = !0, ct = globalThis.perf_hooks.performance) : Ae = !1), Ae;
613
+ }
614
+ function Nn() {
615
+ return In() ? ct.now() : Date.now();
616
+ }
617
+ class An {
618
+ constructor(o, t) {
619
+ this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = o, this.hook = t;
620
+ const n = {};
621
+ if (o.settings)
622
+ for (const l in o.settings) {
623
+ const a = o.settings[l];
624
+ n[l] = a.defaultValue;
625
+ }
626
+ const s = `__vue-devtools-plugin-settings__${o.id}`;
627
+ let r = Object.assign({}, n);
628
+ try {
629
+ const l = localStorage.getItem(s), a = JSON.parse(l);
630
+ Object.assign(r, a);
631
+ } catch (l) {
632
+ }
633
+ this.fallbacks = {
634
+ getSettings() {
635
+ return r;
636
+ },
637
+ setSettings(l) {
638
+ try {
639
+ localStorage.setItem(s, JSON.stringify(l));
640
+ } catch (a) {
641
+ }
642
+ r = l;
643
+ },
644
+ now() {
645
+ return Nn();
646
+ }
647
+ }, t && t.on(Pn, (l, a) => {
648
+ l === this.plugin.id && this.fallbacks.setSettings(a);
649
+ }), this.proxiedOn = new Proxy({}, {
650
+ get: (l, a) => this.target ? this.target.on[a] : (...i) => {
651
+ this.onQueue.push({
652
+ method: a,
653
+ args: i
654
+ });
655
+ }
656
+ }), this.proxiedTarget = new Proxy({}, {
657
+ get: (l, a) => this.target ? this.target[a] : a === "on" ? this.proxiedOn : Object.keys(this.fallbacks).includes(a) ? (...i) => (this.targetQueue.push({
658
+ method: a,
659
+ args: i,
660
+ resolve: () => {
661
+ }
662
+ }), this.fallbacks[a](...i)) : (...i) => new Promise((d) => {
663
+ this.targetQueue.push({
664
+ method: a,
665
+ args: i,
666
+ resolve: d
667
+ });
668
+ })
669
+ });
670
+ }
671
+ setRealTarget(o) {
672
+ return ye(this, null, function* () {
673
+ this.target = o;
674
+ for (const t of this.onQueue)
675
+ this.target.on[t.method](...t.args);
676
+ for (const t of this.targetQueue)
677
+ t.resolve(yield this.target[t.method](...t.args));
678
+ });
679
+ }
680
+ }
681
+ function jt(e, o) {
682
+ const t = e, n = Lt(), s = En(), r = xn && t.enableEarlyProxy;
683
+ if (s && (n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !r))
684
+ s.emit($n, e, o);
685
+ else {
686
+ const l = r ? new An(t, s) : null;
687
+ (n.__VUE_DEVTOOLS_PLUGINS__ = n.__VUE_DEVTOOLS_PLUGINS__ || []).push({
688
+ pluginDescriptor: t,
689
+ setupFn: o,
690
+ proxy: l
691
+ }), l && o(l.proxiedTarget);
692
+ }
693
+ }
694
+ /*!
695
+ * pinia v2.2.6
696
+ * (c) 2024 Eduardo San Martin Morote
697
+ * @license MIT
698
+ */
699
+ let Fe;
700
+ const je = (e) => Fe = e, zt = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
701
+ /* istanbul ignore next */
702
+ Symbol()
703
+ );
704
+ function Ne(e) {
705
+ return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
706
+ }
707
+ var be;
708
+ (function(e) {
709
+ e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
710
+ })(be || (be = {}));
711
+ const Ie = typeof window != "undefined", Ot = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : typeof globalThis == "object" ? globalThis : { HTMLElement: null };
712
+ function Vn(e, { autoBom: o = !1 } = {}) {
713
+ return o && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type) ? new Blob(["\uFEFF", e], { type: e.type }) : e;
714
+ }
715
+ function mt(e, o, t) {
716
+ const n = new XMLHttpRequest();
717
+ n.open("GET", e), n.responseType = "blob", n.onload = function() {
718
+ Ht(n.response, o, t);
719
+ }, n.onerror = function() {
720
+ console.error("could not download file");
721
+ }, n.send();
722
+ }
723
+ function qt(e) {
724
+ const o = new XMLHttpRequest();
725
+ o.open("HEAD", e, !1);
726
+ try {
727
+ o.send();
728
+ } catch (t) {
729
+ }
730
+ return o.status >= 200 && o.status <= 299;
731
+ }
732
+ function We(e) {
733
+ try {
734
+ e.dispatchEvent(new MouseEvent("click"));
735
+ } catch (o) {
736
+ const t = document.createEvent("MouseEvents");
737
+ t.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), e.dispatchEvent(t);
738
+ }
739
+ }
740
+ const Ye = typeof navigator == "object" ? navigator : { userAgent: "" }, Bt = /Macintosh/.test(Ye.userAgent) && /AppleWebKit/.test(Ye.userAgent) && !/Safari/.test(Ye.userAgent), Ht = Ie ? (
741
+ // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program
742
+ typeof HTMLAnchorElement != "undefined" && "download" in HTMLAnchorElement.prototype && !Bt ? Mn : (
743
+ // Use msSaveOrOpenBlob as a second approach
744
+ "msSaveOrOpenBlob" in Ye ? Un : (
745
+ // Fallback to using FileReader and a popup
746
+ Tn
747
+ )
748
+ )
749
+ ) : () => {
529
750
  };
530
- function to(s, t) {
531
- return a(), S("svg", eo, t[0] || (t[0] = [
532
- c("path", {
533
- fill: "#2c3e50",
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
- }, null, -1)
536
- ]));
751
+ function Mn(e, o = "download", t) {
752
+ const n = document.createElement("a");
753
+ n.download = o, n.rel = "noopener", typeof e == "string" ? (n.href = e, n.origin !== location.origin ? qt(n.href) ? mt(e, o, t) : (n.target = "_blank", We(n)) : We(n)) : (n.href = URL.createObjectURL(e), setTimeout(function() {
754
+ URL.revokeObjectURL(n.href);
755
+ }, 4e4), setTimeout(function() {
756
+ We(n);
757
+ }, 0));
758
+ }
759
+ function Un(e, o = "download", t) {
760
+ if (typeof e == "string")
761
+ if (qt(e))
762
+ mt(e, o, t);
763
+ else {
764
+ const n = document.createElement("a");
765
+ n.href = e, n.target = "_blank", setTimeout(function() {
766
+ We(n);
767
+ });
768
+ }
769
+ else
770
+ navigator.msSaveOrOpenBlob(Vn(e, t), o);
771
+ }
772
+ function Tn(e, o, t, n) {
773
+ if (n = n || open("", "_blank"), n && (n.document.title = n.document.body.innerText = "downloading..."), typeof e == "string")
774
+ return mt(e, o, t);
775
+ const s = e.type === "application/octet-stream", r = /constructor/i.test(String(Ot.HTMLElement)) || "safari" in Ot, l = /CriOS\/[\d]+/.test(navigator.userAgent);
776
+ if ((l || s && r || Bt) && typeof FileReader != "undefined") {
777
+ const a = new FileReader();
778
+ a.onloadend = function() {
779
+ let i = a.result;
780
+ if (typeof i != "string")
781
+ throw n = null, new Error("Wrong reader.result type");
782
+ i = l ? i : i.replace(/^data:[^;]*;/, "data:attachment/file;"), n ? n.location.href = i : location.assign(i), n = null;
783
+ }, a.readAsDataURL(e);
784
+ } else {
785
+ const a = URL.createObjectURL(e);
786
+ n ? n.location.assign(a) : location.href = a, n = null, setTimeout(function() {
787
+ URL.revokeObjectURL(a);
788
+ }, 4e4);
789
+ }
790
+ }
791
+ function ee(e, o) {
792
+ const t = "🍍 " + e;
793
+ typeof __VUE_DEVTOOLS_TOAST__ == "function" ? __VUE_DEVTOOLS_TOAST__(t, o) : o === "error" ? console.error(t) : o === "warn" ? console.warn(t) : console.log(t);
794
+ }
795
+ function ht(e) {
796
+ return "_a" in e && "install" in e;
797
+ }
798
+ function Jt() {
799
+ if (!("clipboard" in navigator))
800
+ return ee("Your browser doesn't support the Clipboard API", "error"), !0;
801
+ }
802
+ function Wt(e) {
803
+ return e instanceof Error && e.message.toLowerCase().includes("document is not focused") ? (ee('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
804
+ }
805
+ function Dn(e) {
806
+ return ye(this, null, function* () {
807
+ if (!Jt())
808
+ try {
809
+ yield navigator.clipboard.writeText(JSON.stringify(e.state.value)), ee("Global state copied to clipboard.");
810
+ } catch (o) {
811
+ if (Wt(o))
812
+ return;
813
+ ee("Failed to serialize the state. Check the console for more details.", "error"), console.error(o);
814
+ }
815
+ });
816
+ }
817
+ function Rn(e) {
818
+ return ye(this, null, function* () {
819
+ if (!Jt())
820
+ try {
821
+ Yt(e, JSON.parse(yield navigator.clipboard.readText())), ee("Global state pasted from clipboard.");
822
+ } catch (o) {
823
+ if (Wt(o))
824
+ return;
825
+ ee("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(o);
826
+ }
827
+ });
828
+ }
829
+ function Fn(e) {
830
+ return ye(this, null, function* () {
831
+ try {
832
+ Ht(new Blob([JSON.stringify(e.state.value)], {
833
+ type: "text/plain;charset=utf-8"
834
+ }), "pinia-state.json");
835
+ } catch (o) {
836
+ ee("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(o);
837
+ }
838
+ });
839
+ }
840
+ let we;
841
+ function Gn() {
842
+ we || (we = document.createElement("input"), we.type = "file", we.accept = ".json");
843
+ function e() {
844
+ return new Promise((o, t) => {
845
+ we.onchange = () => ye(this, null, function* () {
846
+ const n = we.files;
847
+ if (!n)
848
+ return o(null);
849
+ const s = n.item(0);
850
+ return o(s ? { text: yield s.text(), file: s } : null);
851
+ }), we.oncancel = () => o(null), we.onerror = t, we.click();
852
+ });
853
+ }
854
+ return e;
855
+ }
856
+ function Ln(e) {
857
+ return ye(this, null, function* () {
858
+ try {
859
+ const t = yield Gn()();
860
+ if (!t)
861
+ return;
862
+ const { text: n, file: s } = t;
863
+ Yt(e, JSON.parse(n)), ee(`Global state imported from "${s.name}".`);
864
+ } catch (o) {
865
+ ee("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(o);
866
+ }
867
+ });
868
+ }
869
+ function Yt(e, o) {
870
+ for (const t in o) {
871
+ const n = e.state.value[t];
872
+ n ? Object.assign(n, o[t]) : e.state.value[t] = o[t];
873
+ }
874
+ }
875
+ function me(e) {
876
+ return {
877
+ _custom: {
878
+ display: e
879
+ }
880
+ };
881
+ }
882
+ const Qt = "🍍 Pinia (root)", Qe = "_root";
883
+ function jn(e) {
884
+ return ht(e) ? {
885
+ id: Qe,
886
+ label: Qt
887
+ } : {
888
+ id: e.$id,
889
+ label: e.$id
890
+ };
891
+ }
892
+ function zn(e) {
893
+ if (ht(e)) {
894
+ const t = Array.from(e._s.keys()), n = e._s;
895
+ return {
896
+ state: t.map((r) => ({
897
+ editable: !0,
898
+ key: r,
899
+ value: e.state.value[r]
900
+ })),
901
+ getters: t.filter((r) => n.get(r)._getters).map((r) => {
902
+ const l = n.get(r);
903
+ return {
904
+ editable: !1,
905
+ key: r,
906
+ value: l._getters.reduce((a, i) => (a[i] = l[i], a), {})
907
+ };
908
+ })
909
+ };
910
+ }
911
+ const o = {
912
+ state: Object.keys(e.$state).map((t) => ({
913
+ editable: !0,
914
+ key: t,
915
+ value: e.$state[t]
916
+ }))
917
+ };
918
+ return e._getters && e._getters.length && (o.getters = e._getters.map((t) => ({
919
+ editable: !1,
920
+ key: t,
921
+ value: e[t]
922
+ }))), e._customProperties.size && (o.customProperties = Array.from(e._customProperties).map((t) => ({
923
+ editable: !0,
924
+ key: t,
925
+ value: e[t]
926
+ }))), o;
927
+ }
928
+ function qn(e) {
929
+ return e ? Array.isArray(e) ? e.reduce((o, t) => (o.keys.push(t.key), o.operations.push(t.type), o.oldValue[t.key] = t.oldValue, o.newValue[t.key] = t.newValue, o), {
930
+ oldValue: {},
931
+ keys: [],
932
+ operations: [],
933
+ newValue: {}
934
+ }) : {
935
+ operation: me(e.type),
936
+ key: me(e.key),
937
+ oldValue: e.oldValue,
938
+ newValue: e.newValue
939
+ } : {};
940
+ }
941
+ function Bn(e) {
942
+ switch (e) {
943
+ case be.direct:
944
+ return "mutation";
945
+ case be.patchFunction:
946
+ return "$patch";
947
+ case be.patchObject:
948
+ return "$patch";
949
+ default:
950
+ return "unknown";
951
+ }
537
952
  }
538
- const oo = { render: to }, ao = { class: "menu-wrapper" }, no = { class: "menu-button-wrapper" }, lo = /* @__PURE__ */ ce({
953
+ let Me = !0;
954
+ const Ke = [], $e = "pinia:mutations", te = "pinia", { assign: Hn } = Object, tt = (e) => "🍍 " + e;
955
+ function Jn(e, o) {
956
+ jt({
957
+ id: "dev.esm.pinia",
958
+ label: "Pinia 🍍",
959
+ logo: "https://pinia.vuejs.org/logo.svg",
960
+ packageName: "pinia",
961
+ homepage: "https://pinia.vuejs.org",
962
+ componentStateTypes: Ke,
963
+ app: e
964
+ }, (t) => {
965
+ typeof t.now != "function" && ee("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), t.addTimelineLayer({
966
+ id: $e,
967
+ label: "Pinia 🍍",
968
+ color: 15064968
969
+ }), t.addInspector({
970
+ id: te,
971
+ label: "Pinia 🍍",
972
+ icon: "storage",
973
+ treeFilterPlaceholder: "Search stores",
974
+ actions: [
975
+ {
976
+ icon: "content_copy",
977
+ action: () => {
978
+ Dn(o);
979
+ },
980
+ tooltip: "Serialize and copy the state"
981
+ },
982
+ {
983
+ icon: "content_paste",
984
+ action: () => ye(this, null, function* () {
985
+ yield Rn(o), t.sendInspectorTree(te), t.sendInspectorState(te);
986
+ }),
987
+ tooltip: "Replace the state with the content of your clipboard"
988
+ },
989
+ {
990
+ icon: "save",
991
+ action: () => {
992
+ Fn(o);
993
+ },
994
+ tooltip: "Save the state as a JSON file"
995
+ },
996
+ {
997
+ icon: "folder_open",
998
+ action: () => ye(this, null, function* () {
999
+ yield Ln(o), t.sendInspectorTree(te), t.sendInspectorState(te);
1000
+ }),
1001
+ tooltip: "Import the state from a JSON file"
1002
+ }
1003
+ ],
1004
+ nodeActions: [
1005
+ {
1006
+ icon: "restore",
1007
+ tooltip: 'Reset the state (with "$reset")',
1008
+ action: (n) => {
1009
+ const s = o._s.get(n);
1010
+ s ? typeof s.$reset != "function" ? ee(`Cannot reset "${n}" store because it doesn't have a "$reset" method implemented.`, "warn") : (s.$reset(), ee(`Store "${n}" reset.`)) : ee(`Cannot reset "${n}" store because it wasn't found.`, "warn");
1011
+ }
1012
+ }
1013
+ ]
1014
+ }), t.on.inspectComponent((n, s) => {
1015
+ const r = n.componentInstance && n.componentInstance.proxy;
1016
+ if (r && r._pStores) {
1017
+ const l = n.componentInstance.proxy._pStores;
1018
+ Object.values(l).forEach((a) => {
1019
+ n.instanceData.state.push({
1020
+ type: tt(a.$id),
1021
+ key: "state",
1022
+ editable: !0,
1023
+ value: a._isOptionsAPI ? {
1024
+ _custom: {
1025
+ value: Ge(a.$state),
1026
+ actions: [
1027
+ {
1028
+ icon: "restore",
1029
+ tooltip: "Reset the state of this store",
1030
+ action: () => a.$reset()
1031
+ }
1032
+ ]
1033
+ }
1034
+ } : (
1035
+ // NOTE: workaround to unwrap transferred refs
1036
+ Object.keys(a.$state).reduce((i, d) => (i[d] = a.$state[d], i), {})
1037
+ )
1038
+ }), a._getters && a._getters.length && n.instanceData.state.push({
1039
+ type: tt(a.$id),
1040
+ key: "getters",
1041
+ editable: !1,
1042
+ value: a._getters.reduce((i, d) => {
1043
+ try {
1044
+ i[d] = a[d];
1045
+ } catch (w) {
1046
+ i[d] = w;
1047
+ }
1048
+ return i;
1049
+ }, {})
1050
+ });
1051
+ });
1052
+ }
1053
+ }), t.on.getInspectorTree((n) => {
1054
+ if (n.app === e && n.inspectorId === te) {
1055
+ let s = [o];
1056
+ s = s.concat(Array.from(o._s.values())), n.rootNodes = (n.filter ? s.filter((r) => "$id" in r ? r.$id.toLowerCase().includes(n.filter.toLowerCase()) : Qt.toLowerCase().includes(n.filter.toLowerCase())) : s).map(jn);
1057
+ }
1058
+ }), globalThis.$pinia = o, t.on.getInspectorState((n) => {
1059
+ if (n.app === e && n.inspectorId === te) {
1060
+ const s = n.nodeId === Qe ? o : o._s.get(n.nodeId);
1061
+ if (!s)
1062
+ return;
1063
+ s && (n.nodeId !== Qe && (globalThis.$store = Ge(s)), n.state = zn(s));
1064
+ }
1065
+ }), t.on.editInspectorState((n, s) => {
1066
+ if (n.app === e && n.inspectorId === te) {
1067
+ const r = n.nodeId === Qe ? o : o._s.get(n.nodeId);
1068
+ if (!r)
1069
+ return ee(`store "${n.nodeId}" not found`, "error");
1070
+ const { path: l } = n;
1071
+ ht(r) ? l.unshift("state") : (l.length !== 1 || !r._customProperties.has(l[0]) || l[0] in r.$state) && l.unshift("$state"), Me = !1, n.set(r, l, n.state.value), Me = !0;
1072
+ }
1073
+ }), t.on.editComponentState((n) => {
1074
+ if (n.type.startsWith("🍍")) {
1075
+ const s = n.type.replace(/^🍍\s*/, ""), r = o._s.get(s);
1076
+ if (!r)
1077
+ return ee(`store "${s}" not found`, "error");
1078
+ const { path: l } = n;
1079
+ if (l[0] !== "state")
1080
+ return ee(`Invalid path for store "${s}":
1081
+ ${l}
1082
+ Only state can be modified.`);
1083
+ l[0] = "$state", Me = !1, n.set(r, l, n.state.value), Me = !0;
1084
+ }
1085
+ });
1086
+ });
1087
+ }
1088
+ function Wn(e, o) {
1089
+ Ke.includes(tt(o.$id)) || Ke.push(tt(o.$id)), jt({
1090
+ id: "dev.esm.pinia",
1091
+ label: "Pinia 🍍",
1092
+ logo: "https://pinia.vuejs.org/logo.svg",
1093
+ packageName: "pinia",
1094
+ homepage: "https://pinia.vuejs.org",
1095
+ componentStateTypes: Ke,
1096
+ app: e,
1097
+ settings: {
1098
+ logStoreChanges: {
1099
+ label: "Notify about new/deleted stores",
1100
+ type: "boolean",
1101
+ defaultValue: !0
1102
+ }
1103
+ // useEmojis: {
1104
+ // label: 'Use emojis in messages ⚡️',
1105
+ // type: 'boolean',
1106
+ // defaultValue: true,
1107
+ // },
1108
+ }
1109
+ }, (t) => {
1110
+ const n = typeof t.now == "function" ? t.now.bind(t) : Date.now;
1111
+ o.$onAction(({ after: l, onError: a, name: i, args: d }) => {
1112
+ const w = Kt++;
1113
+ t.addTimelineEvent({
1114
+ layerId: $e,
1115
+ event: {
1116
+ time: n(),
1117
+ title: "🛫 " + i,
1118
+ subtitle: "start",
1119
+ data: {
1120
+ store: me(o.$id),
1121
+ action: me(i),
1122
+ args: d
1123
+ },
1124
+ groupId: w
1125
+ }
1126
+ }), l((y) => {
1127
+ Oe = void 0, t.addTimelineEvent({
1128
+ layerId: $e,
1129
+ event: {
1130
+ time: n(),
1131
+ title: "🛬 " + i,
1132
+ subtitle: "end",
1133
+ data: {
1134
+ store: me(o.$id),
1135
+ action: me(i),
1136
+ args: d,
1137
+ result: y
1138
+ },
1139
+ groupId: w
1140
+ }
1141
+ });
1142
+ }), a((y) => {
1143
+ Oe = void 0, t.addTimelineEvent({
1144
+ layerId: $e,
1145
+ event: {
1146
+ time: n(),
1147
+ logType: "error",
1148
+ title: "💥 " + i,
1149
+ subtitle: "end",
1150
+ data: {
1151
+ store: me(o.$id),
1152
+ action: me(i),
1153
+ args: d,
1154
+ error: y
1155
+ },
1156
+ groupId: w
1157
+ }
1158
+ });
1159
+ });
1160
+ }, !0), o._customProperties.forEach((l) => {
1161
+ Se(() => O(o[l]), (a, i) => {
1162
+ t.notifyComponentUpdate(), t.sendInspectorState(te), Me && t.addTimelineEvent({
1163
+ layerId: $e,
1164
+ event: {
1165
+ time: n(),
1166
+ title: "Change",
1167
+ subtitle: l,
1168
+ data: {
1169
+ newValue: a,
1170
+ oldValue: i
1171
+ },
1172
+ groupId: Oe
1173
+ }
1174
+ });
1175
+ }, { deep: !0 });
1176
+ }), o.$subscribe(({ events: l, type: a }, i) => {
1177
+ if (t.notifyComponentUpdate(), t.sendInspectorState(te), !Me)
1178
+ return;
1179
+ const d = {
1180
+ time: n(),
1181
+ title: Bn(a),
1182
+ data: Hn({ store: me(o.$id) }, qn(l)),
1183
+ groupId: Oe
1184
+ };
1185
+ a === be.patchFunction ? d.subtitle = "⤵️" : a === be.patchObject ? d.subtitle = "🧩" : l && !Array.isArray(l) && (d.subtitle = l.type), l && (d.data["rawEvent(s)"] = {
1186
+ _custom: {
1187
+ display: "DebuggerEvent",
1188
+ type: "object",
1189
+ tooltip: "raw DebuggerEvent[]",
1190
+ value: l
1191
+ }
1192
+ }), t.addTimelineEvent({
1193
+ layerId: $e,
1194
+ event: d
1195
+ });
1196
+ }, { detached: !0, flush: "sync" });
1197
+ const s = o._hotUpdate;
1198
+ o._hotUpdate = Pe((l) => {
1199
+ s(l), t.addTimelineEvent({
1200
+ layerId: $e,
1201
+ event: {
1202
+ time: n(),
1203
+ title: "🔥 " + o.$id,
1204
+ subtitle: "HMR update",
1205
+ data: {
1206
+ store: me(o.$id),
1207
+ info: me("HMR update")
1208
+ }
1209
+ }
1210
+ }), t.notifyComponentUpdate(), t.sendInspectorTree(te), t.sendInspectorState(te);
1211
+ });
1212
+ const { $dispose: r } = o;
1213
+ o.$dispose = () => {
1214
+ r(), t.notifyComponentUpdate(), t.sendInspectorTree(te), t.sendInspectorState(te), t.getSettings().logStoreChanges && ee(`Disposed "${o.$id}" store 🗑`);
1215
+ }, t.notifyComponentUpdate(), t.sendInspectorTree(te), t.sendInspectorState(te), t.getSettings().logStoreChanges && ee(`"${o.$id}" store installed 🆕`);
1216
+ });
1217
+ }
1218
+ let Kt = 0, Oe;
1219
+ function kt(e, o, t) {
1220
+ const n = o.reduce((s, r) => (s[r] = Ge(e)[r], s), {});
1221
+ for (const s in n)
1222
+ e[s] = function() {
1223
+ const r = Kt, l = t ? new Proxy(e, {
1224
+ get(...i) {
1225
+ return Oe = r, Reflect.get(...i);
1226
+ },
1227
+ set(...i) {
1228
+ return Oe = r, Reflect.set(...i);
1229
+ }
1230
+ }) : e;
1231
+ Oe = r;
1232
+ const a = n[s].apply(l, arguments);
1233
+ return Oe = void 0, a;
1234
+ };
1235
+ }
1236
+ function Yn({ app: e, store: o, options: t }) {
1237
+ if (!o.$id.startsWith("__hot:")) {
1238
+ if (o._isOptionsAPI = !!t.state, !o._p._testing) {
1239
+ kt(o, Object.keys(t.actions), o._isOptionsAPI);
1240
+ const n = o._hotUpdate;
1241
+ Ge(o)._hotUpdate = function(s) {
1242
+ n.apply(this, arguments), kt(o, Object.keys(s._hmrPayload.actions), !!o._isOptionsAPI);
1243
+ };
1244
+ }
1245
+ Wn(
1246
+ e,
1247
+ // FIXME: is there a way to allow the assignment from Store<Id, S, G, A> to StoreGeneric?
1248
+ o
1249
+ );
1250
+ }
1251
+ }
1252
+ function Qn() {
1253
+ const e = At(!0), o = e.run(() => I({}));
1254
+ let t = [], n = [];
1255
+ const s = Pe({
1256
+ install(r) {
1257
+ je(s), s._a = r, r.provide(zt, s), r.config.globalProperties.$pinia = s, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ie && Jn(r, s), n.forEach((l) => t.push(l)), n = [];
1258
+ },
1259
+ use(r) {
1260
+ return !this._a && !Gt ? n.push(r) : t.push(r), this;
1261
+ },
1262
+ _p: t,
1263
+ // it's actually undefined here
1264
+ // @ts-expect-error
1265
+ _a: null,
1266
+ _e: e,
1267
+ _s: /* @__PURE__ */ new Map(),
1268
+ state: o
1269
+ });
1270
+ return process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof Proxy != "undefined" && s.use(Yn), s;
1271
+ }
1272
+ function Xt(e, o) {
1273
+ for (const t in o) {
1274
+ const n = o[t];
1275
+ if (!(t in e))
1276
+ continue;
1277
+ const s = e[t];
1278
+ Ne(s) && Ne(n) && !Le(n) && !ft(n) ? e[t] = Xt(s, n) : e[t] = n;
1279
+ }
1280
+ return e;
1281
+ }
1282
+ const Zt = () => {
1283
+ };
1284
+ function Et(e, o, t, n = Zt) {
1285
+ e.push(o);
1286
+ const s = () => {
1287
+ const r = e.indexOf(o);
1288
+ r > -1 && (e.splice(r, 1), n());
1289
+ };
1290
+ return !t && bo() && vo(s), s;
1291
+ }
1292
+ function Ve(e, ...o) {
1293
+ e.slice().forEach((t) => {
1294
+ t(...o);
1295
+ });
1296
+ }
1297
+ const Kn = (e) => e(), xt = Symbol(), lt = Symbol();
1298
+ function ut(e, o) {
1299
+ e instanceof Map && o instanceof Map ? o.forEach((t, n) => e.set(n, t)) : e instanceof Set && o instanceof Set && o.forEach(e.add, e);
1300
+ for (const t in o) {
1301
+ if (!o.hasOwnProperty(t))
1302
+ continue;
1303
+ const n = o[t], s = e[t];
1304
+ Ne(s) && Ne(n) && e.hasOwnProperty(t) && !Le(n) && !ft(n) ? e[t] = ut(s, n) : e[t] = n;
1305
+ }
1306
+ return e;
1307
+ }
1308
+ const Xn = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
1309
+ /* istanbul ignore next */
1310
+ Symbol()
1311
+ );
1312
+ function Zn(e) {
1313
+ return !Ne(e) || !e.hasOwnProperty(Xn);
1314
+ }
1315
+ const { assign: de } = Object;
1316
+ function $t(e) {
1317
+ return !!(Le(e) && e.effect);
1318
+ }
1319
+ function Pt(e, o, t, n) {
1320
+ const { state: s, actions: r, getters: l } = o, a = t.state.value[e];
1321
+ let i;
1322
+ function d() {
1323
+ !a && (process.env.NODE_ENV === "production" || !n) && (t.state.value[e] = s ? s() : {});
1324
+ const w = process.env.NODE_ENV !== "production" && n ? (
1325
+ // use ref() to unwrap refs inside state TODO: check if this is still necessary
1326
+ St(I(s ? s() : {}).value)
1327
+ ) : St(t.state.value[e]);
1328
+ return de(w, r, Object.keys(l || {}).reduce((y, M) => (process.env.NODE_ENV !== "production" && M in w && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${M}" in store "${e}".`), y[M] = Pe(Te(() => {
1329
+ je(t);
1330
+ const U = t._s.get(e);
1331
+ return l[M].call(U, U);
1332
+ })), y), {}));
1333
+ }
1334
+ return i = dt(e, d, o, t, n, !0), i;
1335
+ }
1336
+ function dt(e, o, t = {}, n, s, r) {
1337
+ let l;
1338
+ const a = de({ actions: {} }, t);
1339
+ if (process.env.NODE_ENV !== "production" && !n._e.active)
1340
+ throw new Error("Pinia destroyed");
1341
+ const i = { deep: !0 };
1342
+ process.env.NODE_ENV !== "production" && !Gt && (i.onTrigger = (u) => {
1343
+ d ? U = u : d == !1 && !h._hotUpdating && (Array.isArray(U) ? U.push(u) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
1344
+ });
1345
+ let d, w, y = [], M = [], U;
1346
+ const L = n.state.value[e];
1347
+ !r && !L && (process.env.NODE_ENV === "production" || !s) && (n.state.value[e] = {});
1348
+ const P = I({});
1349
+ let j;
1350
+ function V(u) {
1351
+ let c;
1352
+ d = w = !1, process.env.NODE_ENV !== "production" && (U = []), typeof u == "function" ? (u(n.state.value[e]), c = {
1353
+ type: be.patchFunction,
1354
+ storeId: e,
1355
+ events: U
1356
+ }) : (ut(n.state.value[e], u), c = {
1357
+ type: be.patchObject,
1358
+ payload: u,
1359
+ storeId: e,
1360
+ events: U
1361
+ });
1362
+ const g = j = Symbol();
1363
+ Ze().then(() => {
1364
+ j === g && (d = !0);
1365
+ }), w = !0, Ve(y, c, n.state.value[e]);
1366
+ }
1367
+ const K = r ? function() {
1368
+ const { state: c } = t, g = c ? c() : {};
1369
+ this.$patch((E) => {
1370
+ de(E, g);
1371
+ });
1372
+ } : (
1373
+ /* istanbul ignore next */
1374
+ process.env.NODE_ENV !== "production" ? () => {
1375
+ throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
1376
+ } : Zt
1377
+ );
1378
+ function z() {
1379
+ l.stop(), y = [], M = [], n._s.delete(e);
1380
+ }
1381
+ const Q = (u, c = "") => {
1382
+ if (xt in u)
1383
+ return u[lt] = c, u;
1384
+ const g = function() {
1385
+ je(n);
1386
+ const E = Array.from(arguments), R = [], q = [];
1387
+ function v(f) {
1388
+ R.push(f);
1389
+ }
1390
+ function T(f) {
1391
+ q.push(f);
1392
+ }
1393
+ Ve(M, {
1394
+ args: E,
1395
+ name: g[lt],
1396
+ store: h,
1397
+ after: v,
1398
+ onError: T
1399
+ });
1400
+ let b;
1401
+ try {
1402
+ b = u.apply(this && this.$id === e ? this : h, E);
1403
+ } catch (f) {
1404
+ throw Ve(q, f), f;
1405
+ }
1406
+ return b instanceof Promise ? b.then((f) => (Ve(R, f), f)).catch((f) => (Ve(q, f), Promise.reject(f))) : (Ve(R, b), b);
1407
+ };
1408
+ return g[xt] = !0, g[lt] = c, g;
1409
+ }, ne = /* @__PURE__ */ Pe({
1410
+ actions: {},
1411
+ getters: {},
1412
+ state: [],
1413
+ hotState: P
1414
+ }), S = {
1415
+ _p: n,
1416
+ // _s: scope,
1417
+ $id: e,
1418
+ $onAction: Et.bind(null, M),
1419
+ $patch: V,
1420
+ $reset: K,
1421
+ $subscribe(u, c = {}) {
1422
+ const g = Et(y, u, c.detached, () => E()), E = l.run(() => Se(() => n.state.value[e], (R) => {
1423
+ (c.flush === "sync" ? w : d) && u({
1424
+ storeId: e,
1425
+ type: be.direct,
1426
+ events: U
1427
+ }, R);
1428
+ }, de({}, i, c)));
1429
+ return g;
1430
+ },
1431
+ $dispose: z
1432
+ }, h = re(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ie ? de(
1433
+ {
1434
+ _hmrPayload: ne,
1435
+ _customProperties: Pe(/* @__PURE__ */ new Set())
1436
+ // devtools custom properties
1437
+ },
1438
+ S
1439
+ // must be added later
1440
+ // setupStore
1441
+ ) : S);
1442
+ n._s.set(e, h);
1443
+ const N = (n._a && n._a.runWithContext || Kn)(() => n._e.run(() => (l = At()).run(() => o({ action: Q }))));
1444
+ for (const u in N) {
1445
+ const c = N[u];
1446
+ if (Le(c) && !$t(c) || ft(c))
1447
+ process.env.NODE_ENV !== "production" && s ? Je(P.value, u, st(N, u)) : r || (L && Zn(c) && (Le(c) ? c.value = L[u] : ut(c, L[u])), n.state.value[e][u] = c), process.env.NODE_ENV !== "production" && ne.state.push(u);
1448
+ else if (typeof c == "function") {
1449
+ const g = process.env.NODE_ENV !== "production" && s ? c : Q(c, u);
1450
+ N[u] = g, process.env.NODE_ENV !== "production" && (ne.actions[u] = c), a.actions[u] = c;
1451
+ } else process.env.NODE_ENV !== "production" && $t(c) && (ne.getters[u] = r ? (
1452
+ // @ts-expect-error
1453
+ t.getters[u]
1454
+ ) : c, Ie && (N._getters || // @ts-expect-error: same
1455
+ (N._getters = Pe([]))).push(u));
1456
+ }
1457
+ if (de(h, N), de(Ge(h), N), Object.defineProperty(h, "$state", {
1458
+ get: () => process.env.NODE_ENV !== "production" && s ? P.value : n.state.value[e],
1459
+ set: (u) => {
1460
+ if (process.env.NODE_ENV !== "production" && s)
1461
+ throw new Error("cannot set hotState");
1462
+ V((c) => {
1463
+ de(c, u);
1464
+ });
1465
+ }
1466
+ }), process.env.NODE_ENV !== "production" && (h._hotUpdate = Pe((u) => {
1467
+ h._hotUpdating = !0, u._hmrPayload.state.forEach((c) => {
1468
+ if (c in h.$state) {
1469
+ const g = u.$state[c], E = h.$state[c];
1470
+ typeof g == "object" && Ne(g) && Ne(E) ? Xt(g, E) : u.$state[c] = E;
1471
+ }
1472
+ Je(h, c, st(u.$state, c));
1473
+ }), Object.keys(h.$state).forEach((c) => {
1474
+ c in u.$state || at(h, c);
1475
+ }), d = !1, w = !1, n.state.value[e] = st(u._hmrPayload, "hotState"), w = !0, Ze().then(() => {
1476
+ d = !0;
1477
+ });
1478
+ for (const c in u._hmrPayload.actions) {
1479
+ const g = u[c];
1480
+ Je(h, c, Q(g, c));
1481
+ }
1482
+ for (const c in u._hmrPayload.getters) {
1483
+ const g = u._hmrPayload.getters[c], E = r ? (
1484
+ // special handling of options api
1485
+ Te(() => (je(n), g.call(h, h)))
1486
+ ) : g;
1487
+ Je(h, c, E);
1488
+ }
1489
+ Object.keys(h._hmrPayload.getters).forEach((c) => {
1490
+ c in u._hmrPayload.getters || at(h, c);
1491
+ }), Object.keys(h._hmrPayload.actions).forEach((c) => {
1492
+ c in u._hmrPayload.actions || at(h, c);
1493
+ }), h._hmrPayload = u._hmrPayload, h._getters = u._getters, h._hotUpdating = !1;
1494
+ })), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ie) {
1495
+ const u = {
1496
+ writable: !0,
1497
+ configurable: !0,
1498
+ // avoid warning on devtools trying to display this property
1499
+ enumerable: !1
1500
+ };
1501
+ ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((c) => {
1502
+ Object.defineProperty(h, c, de({ value: h[c] }, u));
1503
+ });
1504
+ }
1505
+ return n._p.forEach((u) => {
1506
+ if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ie) {
1507
+ const c = l.run(() => u({
1508
+ store: h,
1509
+ app: n._a,
1510
+ pinia: n,
1511
+ options: a
1512
+ }));
1513
+ Object.keys(c || {}).forEach((g) => h._customProperties.add(g)), de(h, c);
1514
+ } else
1515
+ de(h, l.run(() => u({
1516
+ store: h,
1517
+ app: n._a,
1518
+ pinia: n,
1519
+ options: a
1520
+ })));
1521
+ }), process.env.NODE_ENV !== "production" && h.$state && typeof h.$state == "object" && typeof h.$state.constructor == "function" && !h.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
1522
+ state: () => new MyClass()
1523
+ Found in store "${h.$id}".`), L && r && t.hydrate && t.hydrate(h.$state, L), d = !0, w = !0, h;
1524
+ }
1525
+ /*! #__NO_SIDE_EFFECTS__ */
1526
+ // @__NO_SIDE_EFFECTS__
1527
+ function es(e, o, t) {
1528
+ let n, s;
1529
+ const r = typeof o == "function";
1530
+ n = e, s = r ? t : o;
1531
+ function l(a, i) {
1532
+ const d = ho();
1533
+ if (a = // in test mode, ignore the argument provided as we can always retrieve a
1534
+ // pinia instance with getActivePinia()
1535
+ (process.env.NODE_ENV === "test" && Fe && Fe._testing ? null : a) || (d ? _o(zt, null) : null), a && je(a), process.env.NODE_ENV !== "production" && !Fe)
1536
+ throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
1537
+ See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
1538
+ This will fail in production.`);
1539
+ a = Fe, a._s.has(n) || (r ? dt(n, o, s, a) : Pt(n, s, a), process.env.NODE_ENV !== "production" && (l._pinia = a));
1540
+ const w = a._s.get(n);
1541
+ if (process.env.NODE_ENV !== "production" && i) {
1542
+ const y = "__hot:" + n, M = r ? dt(y, o, s, a, !0) : Pt(y, de({}, s), a, !0);
1543
+ i._hotUpdate(M), delete a.state.value[y], a._s.delete(y);
1544
+ }
1545
+ if (process.env.NODE_ENV !== "production" && Ie) {
1546
+ const y = go();
1547
+ if (y && y.proxy && // avoid adding stores that are just built for hot module replacement
1548
+ !i) {
1549
+ const M = y.proxy, U = "_pStores" in M ? M._pStores : M._pStores = {};
1550
+ U[n] = w;
1551
+ }
1552
+ }
1553
+ return w;
1554
+ }
1555
+ return l.$id = n, l;
1556
+ }
1557
+ const ts = /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/, os = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/, ns = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
1558
+ function ss(e, o) {
1559
+ if (e === "__proto__" || e === "constructor" && o && typeof o == "object" && "prototype" in o) {
1560
+ rs(e);
1561
+ return;
1562
+ }
1563
+ return o;
1564
+ }
1565
+ function rs(e) {
1566
+ console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`);
1567
+ }
1568
+ function as(e, o = {}) {
1569
+ if (typeof e != "string")
1570
+ return e;
1571
+ const t = e.trim();
1572
+ if (
1573
+ // eslint-disable-next-line unicorn/prefer-at
1574
+ e[0] === '"' && e.endsWith('"') && !e.includes("\\")
1575
+ )
1576
+ return t.slice(1, -1);
1577
+ if (t.length <= 9) {
1578
+ const n = t.toLowerCase();
1579
+ if (n === "true")
1580
+ return !0;
1581
+ if (n === "false")
1582
+ return !1;
1583
+ if (n === "undefined")
1584
+ return;
1585
+ if (n === "null")
1586
+ return null;
1587
+ if (n === "nan")
1588
+ return Number.NaN;
1589
+ if (n === "infinity")
1590
+ return Number.POSITIVE_INFINITY;
1591
+ if (n === "-infinity")
1592
+ return Number.NEGATIVE_INFINITY;
1593
+ }
1594
+ if (!ns.test(e)) {
1595
+ if (o.strict)
1596
+ throw new SyntaxError("[destr] Invalid JSON");
1597
+ return e;
1598
+ }
1599
+ try {
1600
+ if (ts.test(e) || os.test(e)) {
1601
+ if (o.strict)
1602
+ throw new Error("[destr] Possible prototype pollution");
1603
+ return JSON.parse(e, ss);
1604
+ }
1605
+ return JSON.parse(e);
1606
+ } catch (n) {
1607
+ if (o.strict)
1608
+ throw n;
1609
+ return e;
1610
+ }
1611
+ }
1612
+ function ls(e, o) {
1613
+ if (e == null)
1614
+ return;
1615
+ let t = e;
1616
+ for (let n = 0; n < o.length; n++) {
1617
+ if (t == null || t[o[n]] == null)
1618
+ return;
1619
+ t = t[o[n]];
1620
+ }
1621
+ return t;
1622
+ }
1623
+ function _t(e, o, t) {
1624
+ if (t.length === 0)
1625
+ return o;
1626
+ const n = t[0];
1627
+ return t.length > 1 && (o = _t(
1628
+ typeof e != "object" || e === null || !Object.prototype.hasOwnProperty.call(e, n) ? Number.isInteger(Number(t[1])) ? [] : {} : e[n],
1629
+ o,
1630
+ Array.prototype.slice.call(t, 1)
1631
+ )), Number.isInteger(Number(n)) && Array.isArray(e) ? e.slice()[n] : Object.assign({}, e, { [n]: o });
1632
+ }
1633
+ function eo(e, o) {
1634
+ if (e == null || o.length === 0)
1635
+ return e;
1636
+ if (o.length === 1) {
1637
+ if (e == null)
1638
+ return e;
1639
+ if (Number.isInteger(o[0]) && Array.isArray(e))
1640
+ return Array.prototype.slice.call(e, 0).splice(o[0], 1);
1641
+ const t = {};
1642
+ for (const n in e)
1643
+ t[n] = e[n];
1644
+ return delete t[o[0]], t;
1645
+ }
1646
+ if (e[o[0]] == null) {
1647
+ if (Number.isInteger(o[0]) && Array.isArray(e))
1648
+ return Array.prototype.concat.call([], e);
1649
+ const t = {};
1650
+ for (const n in e)
1651
+ t[n] = e[n];
1652
+ return t;
1653
+ }
1654
+ return _t(
1655
+ e,
1656
+ eo(
1657
+ e[o[0]],
1658
+ Array.prototype.slice.call(o, 1)
1659
+ ),
1660
+ [o[0]]
1661
+ );
1662
+ }
1663
+ function to(e, o) {
1664
+ return o.map((t) => t.split(".")).map((t) => [t, ls(e, t)]).filter((t) => t[1] !== void 0).reduce((t, n) => _t(t, n[1], n[0]), {});
1665
+ }
1666
+ function oo(e, o) {
1667
+ return o.map((t) => t.split(".")).reduce((t, n) => eo(t, n), e);
1668
+ }
1669
+ function It(e, {
1670
+ storage: o,
1671
+ serializer: t,
1672
+ key: n,
1673
+ debug: s,
1674
+ pick: r,
1675
+ omit: l,
1676
+ beforeHydrate: a,
1677
+ afterHydrate: i
1678
+ }, d, w = !0) {
1679
+ try {
1680
+ w && (a == null || a(d));
1681
+ const y = o.getItem(n);
1682
+ if (y) {
1683
+ const M = t.deserialize(y), U = r ? to(M, r) : M, L = l ? oo(U, l) : U;
1684
+ e.$patch(L);
1685
+ }
1686
+ w && (i == null || i(d));
1687
+ } catch (y) {
1688
+ s && console.error("[pinia-plugin-persistedstate]", y);
1689
+ }
1690
+ }
1691
+ function Nt(e, {
1692
+ storage: o,
1693
+ serializer: t,
1694
+ key: n,
1695
+ debug: s,
1696
+ pick: r,
1697
+ omit: l
1698
+ }) {
1699
+ try {
1700
+ const a = r ? to(e, r) : e, i = l ? oo(a, l) : a, d = t.serialize(i);
1701
+ o.setItem(n, d);
1702
+ } catch (a) {
1703
+ s && console.error("[pinia-plugin-persistedstate]", a);
1704
+ }
1705
+ }
1706
+ function is(e, o, t) {
1707
+ const { pinia: n, store: s, options: { persist: r = t } } = e;
1708
+ if (!r)
1709
+ return;
1710
+ if (!(s.$id in n.state.value)) {
1711
+ const i = n._s.get(s.$id.replace("__hot:", ""));
1712
+ i && Promise.resolve().then(() => i.$persist());
1713
+ return;
1714
+ }
1715
+ const a = (Array.isArray(r) ? r : r === !0 ? [{}] : [r]).map(o);
1716
+ s.$hydrate = ({ runHooks: i = !0 } = {}) => {
1717
+ a.forEach((d) => {
1718
+ It(s, d, e, i);
1719
+ });
1720
+ }, s.$persist = () => {
1721
+ a.forEach((i) => {
1722
+ Nt(s.$state, i);
1723
+ });
1724
+ }, a.forEach((i) => {
1725
+ It(s, i, e), s.$subscribe(
1726
+ (d, w) => Nt(w, i),
1727
+ { detached: !0 }
1728
+ );
1729
+ });
1730
+ }
1731
+ function cs(e = {}) {
1732
+ return function(o) {
1733
+ var t;
1734
+ is(
1735
+ o,
1736
+ (n) => {
1737
+ var s, r, l, a, i, d, w;
1738
+ return {
1739
+ key: (e.key ? e.key : (y) => y)((s = n.key) != null ? s : o.store.$id),
1740
+ debug: (l = (r = n.debug) != null ? r : e.debug) != null ? l : !1,
1741
+ serializer: (i = (a = n.serializer) != null ? a : e.serializer) != null ? i : {
1742
+ serialize: (y) => JSON.stringify(y),
1743
+ deserialize: (y) => as(y)
1744
+ },
1745
+ storage: (w = (d = n.storage) != null ? d : e.storage) != null ? w : window.localStorage,
1746
+ beforeHydrate: n.beforeHydrate,
1747
+ afterHydrate: n.afterHydrate,
1748
+ pick: n.pick,
1749
+ omit: n.omit
1750
+ };
1751
+ },
1752
+ (t = e.auto) != null ? t : !1
1753
+ );
1754
+ };
1755
+ }
1756
+ var us = cs();
1757
+ const gt = Qn();
1758
+ gt.use(us);
1759
+ const no = /* @__PURE__ */ es("console", {
1760
+ state: () => ({
1761
+ menu: {
1762
+ collapsed: !0
1763
+ }
1764
+ }),
1765
+ persist: !0
1766
+ }), ds = {
1767
+ key: 0,
1768
+ class: "menu-wrapper"
1769
+ }, ps = /* @__PURE__ */ _e({
539
1770
  __name: "SideMenu",
540
1771
  props: {
541
1772
  menuCollapsed: { type: Boolean }
542
1773
  },
543
1774
  emits: ["update:menuCollapsed"],
544
- setup(s, { emit: t }) {
545
- const e = s, n = t, o = ke(), l = A(), m = Qe(() => {
546
- var Q;
547
- const O = o.meta.activeMenu;
548
- if (O === "{model}") {
549
- let F = o.params.app ? `${o.params.app}/${o.params.model}` : o.params.model;
550
- return "/" + ((Q = Wt[o.params.model]) != null ? Q : F);
1775
+ setup(e, { emit: o }) {
1776
+ no(gt);
1777
+ const t = qe(), n = Te(() => {
1778
+ var r;
1779
+ const s = t.meta.activeMenu;
1780
+ if (s === "{model}") {
1781
+ let l = t.params.app ? `${t.params.app}/${t.params.model}` : t.params.model;
1782
+ return "/" + ((r = kn[t.params.model]) != null ? r : l);
551
1783
  } else
552
- return O;
553
- }), u = A(!1);
554
- function h() {
555
- console.log("change"), n("update:menuCollapsed", !e.menuCollapsed);
556
- }
557
- return he(u, () => {
558
- u.value && l.value.style.width && (l.value.style.width += "200");
559
- }), (O, Q) => {
560
- const F = v("el-menu");
561
- return a(), S("div", ao, [
562
- c("div", no, [
563
- p(g(oo), {
564
- class: "menu-button",
565
- onClick: h
566
- })
567
- ]),
568
- p(F, {
1784
+ return s;
1785
+ });
1786
+ return (s, r) => {
1787
+ const l = x("el-menu");
1788
+ return O(Ct).length > 0 ? (p(), F("div", ds, [
1789
+ _(l, {
569
1790
  class: "menu",
570
- "default-active": m.value,
1791
+ "default-active": n.value,
571
1792
  "default-openeds": ["table"],
572
- router: "",
573
- collapse: e.menuCollapsed
1793
+ router: ""
574
1794
  }, {
575
- default: r(() => [
576
- (a(!0), S(ee, null, se(g($t), (V) => (a(), w(Zt, {
577
- key: V.path,
578
- menu: V
1795
+ default: m(() => [
1796
+ (p(!0), F(oe, null, ce(O(Ct), (a) => (p(), A(On, {
1797
+ key: a.path,
1798
+ menu: a
579
1799
  }, null, 8, ["menu"]))), 128))
580
1800
  ]),
581
1801
  _: 1
582
- }, 8, ["default-active", "collapse"])
583
- ]);
1802
+ }, 8, ["default-active"])
1803
+ ])) : B("", !0);
584
1804
  };
585
1805
  }
586
- }), qe = /* @__PURE__ */ re(lo, [["__scopeId", "data-v-f9a7b402"]]), so = { class: "container" }, ro = /* @__PURE__ */ ce({
1806
+ }), so = /* @__PURE__ */ ue(ps, [["__scopeId", "data-v-ea5f1473"]]), fs = { class: "container" }, ms = /* @__PURE__ */ _e({
587
1807
  __name: "ConsoleApp",
588
1808
  props: {
589
1809
  title: {},
590
1810
  helpDocUrl: {}
591
1811
  },
592
- setup(s) {
593
- const t = ke(), e = A(!1), n = A(), o = s;
594
- return he(e, () => {
595
- e.value ? n.value.style.width = "100%" : (n.value.style.transition = "width 0.5s ease", n.value.style.width = "calc(100% - 250px)");
596
- }), (l, m) => {
597
- const u = v("router-view");
598
- return a(), S(ee, null, [
599
- g(t).query.embedded !== "true" ? (a(), w(Ye, {
1812
+ setup(e) {
1813
+ const o = no(gt), t = qe(), n = I(o.menu.collapsed), s = I(), r = e;
1814
+ return (l, a) => {
1815
+ const i = x("router-view"), d = x("el-scrollbar");
1816
+ return p(), F(oe, null, [
1817
+ O(t).query.embedded !== "true" ? (p(), A(Ft, {
600
1818
  key: 0,
601
- title: o.title,
602
- helpDocUrl: o.helpDocUrl
603
- }, null, 8, ["title", "helpDocUrl"])) : j("", !0),
604
- c("div", so, [
605
- g(t).query.embedded !== "true" ? (a(), w(qe, {
1819
+ title: r.title,
1820
+ helpDocUrl: r.helpDocUrl
1821
+ }, null, 8, ["title", "helpDocUrl"])) : B("", !0),
1822
+ k("div", fs, [
1823
+ O(t).query.embedded !== "true" ? (p(), A(so, {
606
1824
  key: 0,
607
- menuCollapsed: e.value,
608
- "onUpdate:menuCollapsed": m[0] || (m[0] = (h) => e.value = h)
609
- }, null, 8, ["menuCollapsed"])) : j("", !0),
610
- c("main", {
611
- ref_key: "mainWrapperRef",
612
- ref: n,
613
- class: "wrapper"
614
- }, [
615
- p(u)
616
- ], 512)
1825
+ menuCollapsed: n.value,
1826
+ "onUpdate:menuCollapsed": a[0] || (a[0] = (w) => n.value = w)
1827
+ }, null, 8, ["menuCollapsed"])) : B("", !0),
1828
+ _(d, { class: "main-scrollbar" }, {
1829
+ default: m(() => [
1830
+ k("main", {
1831
+ ref_key: "mainWrapperRef",
1832
+ ref: s,
1833
+ class: "main-wrapper"
1834
+ }, [
1835
+ _(i)
1836
+ ], 512)
1837
+ ]),
1838
+ _: 1
1839
+ })
617
1840
  ])
618
1841
  ], 64);
619
1842
  };
620
1843
  }
621
- }), io = {
1844
+ }), hs = {
622
1845
  xmlns: "http://www.w3.org/2000/svg",
623
1846
  width: "800",
624
1847
  height: "800"
625
1848
  };
626
- function co(s, t) {
627
- return a(), S("svg", io, t[0] || (t[0] = [
628
- ot('<defs><linearGradient id="a" x1="399.126" x2="399.126" y1="159.978" y2="715.47" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4f2fb"></stop><stop offset="1" stop-color="#e1eef5"></stop></linearGradient><linearGradient id="b" x1="481.607" x2="481.607" y1="594.251" y2="423.306" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".362" stop-color="#b4c9db"></stop><stop offset=".898" stop-color="#ecf0f9"></stop></linearGradient><linearGradient id="c" x1="114.87" x2="114.87" y1="540.843" y2="403.668" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="d" x1="114.872" x2="114.872" y1="418.9" y2="570.033" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="e" x1="615.999" x2="615.999" y1="449.321" y2="360.996" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="f" x1="616" x2="616" y1="370.804" y2="468.116" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="g" x1="672.709" x2="672.709" y1="544.867" y2="510.536" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="h" x1="672.77" x2="672.77" y1="514.871" y2="570.135" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="i" x1="461.917" x2="427.163" y1="86.714" y2="146.91" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ffdb80"></stop><stop offset="1" stop-color="#ffbb24"></stop></linearGradient><linearGradient id="j" x1="419.58" x2="419.58" y1="117.18" y2="174.634" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f9fafe"></stop><stop offset="1" stop-color="#e5edf7"></stop></linearGradient><linearGradient id="k" x1="-1967.352" x2="-2213.626" y1="525.737" y2="279.463" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#9fb6cc"></stop><stop offset="1" stop-color="#d5e1f2"></stop></linearGradient><linearGradient id="l" x1="-1980.099" x2="-2214.789" y1="526.438" y2="291.748" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#b6cadc"></stop><stop offset="1" stop-color="#dfe8f9"></stop></linearGradient><linearGradient id="m" x1="441.358" x2="329.96" y1="472.657" y2="361.259" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#9fb6cc"></stop><stop offset="1" stop-color="#bccde1"></stop></linearGradient><linearGradient id="n" x1="569.328" x2="454.912" y1="597.606" y2="483.19" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#afc5d8"></stop><stop offset="1" stop-color="#dfe8f9"></stop></linearGradient><linearGradient id="o" x1="562.331" x2="453.712" y1="598.807" y2="490.188" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#c7d4e5"></stop><stop offset=".687" stop-color="#e8eff8"></stop></linearGradient><linearGradient id="p" x1="219.375" x2="219.375" y1="553.783" y2="478.333" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffb32c"></stop></linearGradient><linearGradient id="q" x1="220.421" x2="220.421" y1="465.465" y2="489.367" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4ae98"></stop><stop offset="1" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="r" x1="-840.016" x2="-828.333" y1="946.367" y2="864.11" gradientTransform="rotate(-8.082 -3028.264 -6569.32)" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffa91f"></stop></linearGradient><linearGradient id="s" x1="-7035.52" x2="-7023.838" y1="66.46" y2="-15.798" gradientTransform="scale(-1 1)rotate(-8.082 -118.132 -47761.005)" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffa91f"></stop></linearGradient><linearGradient id="t" x1="219.375" x2="219.375" y1="526.535" y2="574.482" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#275c89"></stop><stop offset="1" stop-color="#013f7c"></stop></linearGradient><linearGradient id="u" x1="6174.812" x2="6157.838" y1="595.174" y2="595.174" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="v" x1="196.36" x2="283.925" y1="576.466" y2="576.466" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#18264b"></stop><stop offset=".652" stop-color="#2d3c65"></stop></linearGradient><linearGradient id="w" x1="176.617" x2="176.617" y1="604.946" y2="586.928" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4673bc"></stop><stop offset=".652" stop-color="#6a94e0"></stop></linearGradient><linearGradient id="x" x1="238.667" x2="255.641" y1="595.174" y2="595.174" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="y" x1="158.041" x2="245.606" y1="576.466" y2="576.466" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#445677"></stop><stop offset="1" stop-color="#293861"></stop></linearGradient><linearGradient id="z" x1="265.35" x2="265.35" y1="604.946" y2="586.928" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4673bc"></stop><stop offset=".652" stop-color="#6a94e0"></stop></linearGradient><linearGradient id="A" x1="236.065" x2="204.828" y1="459.983" y2="459.983" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="B" x1="200.53" x2="236.795" y1="447.908" y2="447.908" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4f5c7c"></stop><stop offset="1" stop-color="#274168"></stop></linearGradient></defs><path fill="url(#a)" d="M482.38 201.33c-38.37 30.29-120.74 33.81-181.17-2.22s-172-31.38-202.22 34.87 37.19 131.33 12.78 178.98S6.01 528.01 61.8 609.36s126.6 60.62 169.22 52.45c84.17-16.13 189.79 115.67 308.62 16.13 68.47-57.35 170.44 42.09 210.17-81.36 32.78-101.86-85.67-139.5-49.97-208.03 37.96-72.88 30.67-159.24-10.46-201.06-38.31-38.96-140.75-38.46-207 13.84"></path><path fill="url(#b)" d="M393.48 423.31h216.44l-22.53 49.03s59.19 57.86-14.13 121.91c-134.28-44.17-221.74-37.1-219.98-38.87 1.77-1.77 40.2-132.07 40.2-132.07"></path><path fill="url(#c)" d="M115.65 403.91s-.22-.57-.52.04c-2.7 5.49-27.15 64.96-29.09 110.86 0 0-4.08 26.37 30.11 26.02 28.54-.29 27.78-24.6 27.68-32.79-.38-33.22-28.18-104.13-28.18-104.13"></path><path fill="url(#d)" d="M114.87 570.03c-.55 0-1-.45-1-1V419.9c0-.55.45-1 1-1s1 .45 1 1v149.13c0 .56-.45 1-1 1"></path><path fill="url(#e)" d="M616.5 361.15s-.14-.37-.33.03c-1.74 3.53-17.48 41.83-18.73 71.38 0 0-2.63 16.98 19.39 16.76 18.38-.18 17.89-15.84 17.82-21.11-.25-21.4-18.15-67.06-18.15-67.06"></path><path fill="url(#f)" d="M616 468.12c-.36 0-.64-.29-.64-.64v-96.02c0-.36.29-.64.64-.64.36 0 .64.29.64.64v96.02c0 .35-.28.64-.64.64"></path><path fill="url(#g)" d="M689.88 527.7c0 9.48-7.69 17.17-17.17 17.17s-17.17-7.69-17.17-17.17 7.69-17.17 17.17-17.17 17.17 7.69 17.17 17.17"></path><path fill="url(#h)" d="M672.77 570.13c-.29 0-.53-.24-.53-.53v-54.2c0-.29.24-.53.53-.53s.53.24.53.53v54.21c0 .29-.24.52-.53.52"></path><path fill="url(#i)" d="M479.29 116.81c0 19.19-15.56 34.75-34.75 34.75s-34.75-15.56-34.75-34.75 15.56-34.75 34.75-34.75 34.75 15.56 34.75 34.75"></path><path fill="url(#j)" d="M464.32 135.76h-34.57c-2.23-10.61-11.65-18.58-22.93-18.58s-20.69 7.97-22.93 18.58h-9.05c-10.73 0-19.44 8.7-19.44 19.44 0 10.73 8.7 19.44 19.44 19.44h89.47c10.73 0 19.44-8.7 19.44-19.44s-8.7-19.44-19.43-19.44"></path><path fill="url(#k)" d="M235.65 388.64c0-24.52-.03-49.03.01-73.54.02-14.37 4.24-18.36 17.97-20.53 41.87-6.61 82.03-18.72 117.91-42.29 10.38-6.82 18.3-7.59 29.06-.47 34.85 23.06 73.26 37.11 114.55 42.8 13.12 1.81 16.84 5.88 16.85 19.25.04 45.72-.4 91.44.18 137.15.34 26.77-8.17 49.99-24.02 70.73-31.46 41.17-74.88 63.76-122.21 80.03-2.5.86-5.83.67-8.36-.23-38.47-13.74-74.58-31.84-104.15-61.09-22.97-22.73-37.84-49.56-37.79-83.22.03-22.87 0-45.73 0-68.59"></path><path fill="url(#l)" d="M234.76 396.09c0-23.21-.03-46.42.01-69.63.02-13.61 4.06-17.38 17.23-19.43 40.15-6.26 78.67-17.72 113.07-40.04 9.95-6.46 17.55-7.18 27.86-.44 33.42 21.83 70.25 35.14 109.84 40.52 12.58 1.71 16.14 5.56 16.15 18.22.03 43.28-.38 86.57.18 129.84.33 25.34-7.83 47.33-23.03 66.96-30.17 38.98-71.81 60.36-117.19 75.77-2.4.81-5.59.64-8.01-.22-36.89-13.01-71.52-30.14-99.87-57.84-22.03-21.52-36.28-46.91-36.23-78.78.02-21.65 0-43.29-.01-64.93"></path><path fill="url(#m)" d="M398.42 430.39c23.18-5.61 40.41-26.11 40.41-50.49 0-28.68-23.85-52.01-53.17-52.01s-53.17 23.33-53.17 52.01c0 24.38 17.24 44.88 40.41 50.49v85.2h25.52v-36.38h32.67v-24.96h-32.67zM358 379.91c0-14.91 12.41-27.05 27.65-27.05S413.3 365 413.3 379.91s-12.41 27.05-27.65 27.05S358 394.82 358 379.91"></path><path fill="#fff" d="M394.5 433.67c21.8-5.39 38.01-25.1 38.01-48.54 0-27.58-22.43-50.01-50.01-50.01s-50.01 22.43-50.01 50.01c0 23.44 16.21 43.15 38.01 48.54v81.92h24v-34.98h30.73v-24H394.5zm-38.01-48.54c0-14.34 11.67-26.01 26.01-26.01s26.01 11.67 26.01 26.01-11.67 26.01-26.01 26.01-26.01-11.67-26.01-26.01"></path><path fill="url(#n)" d="M593.02 540.4c0 44.68-36.22 80.9-80.9 80.9s-80.9-36.22-80.9-80.9 36.22-80.9 80.9-80.9 80.9 36.22 80.9 80.9"></path><path fill="url(#o)" d="M584.83 544.5c0 42.42-34.39 76.81-76.81 76.81s-76.81-34.39-76.81-76.81 34.39-76.81 76.81-76.81 76.81 34.39 76.81 76.81"></path><path fill="#fff" d="m525.32 542.26 23.01-23.01c4.44-4.44 4.44-11.63 0-16.06-4.44-4.44-11.63-4.44-16.06 0l-23.01 23.01-23.01-23.01c-4.44-4.44-11.63-4.44-16.06 0-4.44 4.44-4.44 11.63 0 16.06l23.01 23.01-23.01 23.01c-4.44 4.44-4.44 11.63 0 16.06 2.22 2.22 5.13 3.33 8.03 3.33s5.81-1.11 8.03-3.33l23.01-23.01 23.01 23.01c2.22 2.22 5.13 3.33 8.03 3.33s5.81-1.11 8.03-3.33c4.44-4.44 4.44-11.63 0-16.06z"></path><path fill="url(#p)" d="M211.59 478.69s-18.31-2.53-24.25 5.88c-5.95 8.41-8.12 29.95-8.12 29.95l13.78-.73-1.16 25.09 25.42 14.9 36.22-19.48-5.51-22.73 11.57-3.02s-3.45-32.99-19.55-28.12c-8.27.89-10.88.74-10.88.74s-2.18 6.94-9.65 6.35-7.87-8.83-7.87-8.83"></path><path fill="url(#q)" d="m213.42 468.32-3.8 16.97c-.18.8.24 1.61.99 1.92 1.97.8 5.9 2.16 9.95 2.16 4.2 0 8.16-2.3 9.98-3.53.63-.42.89-1.21.65-1.93l-5.82-17.31a1.68 1.68 0 0 0-1.88-1.12l-8.72 1.55c-.67.12-1.2.63-1.35 1.29"></path><path fill="url(#r)" d="M190.69 481.63c5.33-1.77 12.55-.59 12.85 11.37.29 11.95-11.42 31-7.22 37.63 4.25 6.71 13.34 16.25 19.12 21.68-1.34 6.38-4.98 11.75-4.98 11.75s-21.31-9.83-30.59-19.68-4.6-32.43-.3-48.5c3.24-12.12 11.12-14.25 11.12-14.25"></path><path fill="url(#s)" d="M246.53 481.63c-5.33-1.77-12.55-.59-12.85 11.37-.29 11.95 11.42 31 7.22 37.63-4.25 6.71-13.34 16.25-19.12 21.68 1.34 6.38 4.98 11.75 4.98 11.75s21.31-9.83 30.59-19.68 4.6-32.43.3-48.5c-3.24-12.12-11.12-14.25-11.12-14.25"></path><path fill="url(#t)" d="M193.27 574.48h51.74c2.34 0 4.44-1.78 5.25-4.45l10.43-34.31c1.35-4.45-1.35-9.19-5.25-9.19h-72.12c-3.86 0-6.57 4.65-5.28 9.09l9.96 34.31c.79 2.73 2.9 4.55 5.27 4.55"></path><path fill="#fff" d="M191.21 590.26s-.8-1.76-1.41-1.95c-.62-.19-9.46-.54-12.69-1.38s-12.54-2.16-16.52 1.61c-3.47 3.29-4.62 10.97.67 15.39 1.98 1.72 3.93 2.23 11.28 1.89s18-.27 20.34-3.67c-.09-5.63-1.67-11.89-1.67-11.89"></path><path fill="url(#u)" d="M199.42 588.31s-8.54 1.92-11.6 1.64c-3.05-.28-.5 12.02-.5 12.02s8.16.56 15.37-1.52c2.44-9.43-3.27-12.14-3.27-12.14"></path><path fill="url(#v)" d="m196.36 587.86 4.44 13.81s95.43-12.57 81.79-43.54c-11.4-25.89-86.23 29.73-86.23 29.73"></path><path fill="url(#w)" d="M190.1 588.93s3.5 1.37 3.94 6.24-1 8.15-8.43 9.05-9.32.56-13.98.68c-4.66.11-11.43.56-12.43-8.3s8.06-11.12 17.46-8.86c2.95.57 13.44 1.19 13.44 1.19"></path><path fill="#fff" d="M250.76 590.26s.8-1.76 1.41-1.95c.62-.19 9.46-.54 12.69-1.38s11.9-2.23 16.28 1.51c4.06 3.47 4.33 11.14-.3 15.37-1.98 1.72-4.07 2.35-11.42 2.01s-18-.27-20.34-3.67c.09-5.63 1.68-11.89 1.68-11.89"></path><path fill="url(#x)" d="M242.55 588.31s8.54 1.92 11.6 1.64.5 12.02.5 12.02-8.16.56-15.37-1.52c-2.45-9.43 3.27-12.14 3.27-12.14"></path><path fill="url(#y)" d="m245.61 587.86-4.44 13.81s-95.43-12.57-81.79-43.54c11.4-25.89 86.23 29.73 86.23 29.73"></path><path fill="url(#z)" d="M251.87 588.93s-3.5 1.37-3.94 6.24 1 8.15 8.43 9.05 9.32.56 13.98.68c4.66.11 11.43.56 12.43-8.3s-8.06-11.12-17.46-8.86c-2.96.57-13.44 1.19-13.44 1.19"></path><path fill="url(#A)" d="M235.39 461.53c.57-.81.93-2.88.46-3.48-.84-.68-1.63-.29-2.23.3.14-4.94-.31-9.05-.42-10.09-.31-3.03-3.39-8.58-13.46-8.58s-12.03 7.27-12.03 7.27-.66 5.14-.46 11.38c-.6-.57-1.39-.95-2.21-.28-.46.61-.1 2.68.46 3.48.57.81.93 2.73 1.03 3.79.1 1.01-.63 3.69 2.02 3.35 1.58 6.33 7.99 11.61 11.96 11.61 4.35 0 10.13-5.32 11.77-11.62 2.71.37 1.97-2.33 2.07-3.35.12-1.05.48-2.97 1.04-3.78"></path><path fill="url(#B)" d="M227 437.52s-1.97-6.19-9.5-4.71c-7.54 1.48-8.05 5.04-11 5.18-5.05.24-9.09 6.53-2.61 13.19 2.88 2.97.45 4.24 1.82 6.87s1.36 5.18 1.36 5.18 2.41-7.69.82-10.97c-.82-1.69 2.81-2.15 7.33-1.75s11.65-1.09 12.21-4.17c1.34 6.31 2.67 6.97 4.37 7.93s1.8 8.58 1.8 8.58.3-5.6 1.48-6.87c.98-2.07 2.88-10.2.73-12.17s-.35-8.29-8.81-6.29"></path>', 33)
1849
+ function _s(e, o) {
1850
+ return p(), F("svg", hs, o[0] || (o[0] = [
1851
+ yo('<defs><linearGradient id="a" x1="399.126" x2="399.126" y1="159.978" y2="715.47" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4f2fb"></stop><stop offset="1" stop-color="#e1eef5"></stop></linearGradient><linearGradient id="b" x1="481.607" x2="481.607" y1="594.251" y2="423.306" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".362" stop-color="#b4c9db"></stop><stop offset=".898" stop-color="#ecf0f9"></stop></linearGradient><linearGradient id="c" x1="114.87" x2="114.87" y1="540.843" y2="403.668" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="d" x1="114.872" x2="114.872" y1="418.9" y2="570.033" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="e" x1="615.999" x2="615.999" y1="449.321" y2="360.996" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="f" x1="616" x2="616" y1="370.804" y2="468.116" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="g" x1="672.709" x2="672.709" y1="544.867" y2="510.536" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="h" x1="672.77" x2="672.77" y1="514.871" y2="570.135" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="i" x1="461.917" x2="427.163" y1="86.714" y2="146.91" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ffdb80"></stop><stop offset="1" stop-color="#ffbb24"></stop></linearGradient><linearGradient id="j" x1="419.58" x2="419.58" y1="117.18" y2="174.634" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f9fafe"></stop><stop offset="1" stop-color="#e5edf7"></stop></linearGradient><linearGradient id="k" x1="-1967.352" x2="-2213.626" y1="525.737" y2="279.463" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#9fb6cc"></stop><stop offset="1" stop-color="#d5e1f2"></stop></linearGradient><linearGradient id="l" x1="-1980.099" x2="-2214.789" y1="526.438" y2="291.748" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#b6cadc"></stop><stop offset="1" stop-color="#dfe8f9"></stop></linearGradient><linearGradient id="m" x1="441.358" x2="329.96" y1="472.657" y2="361.259" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#9fb6cc"></stop><stop offset="1" stop-color="#bccde1"></stop></linearGradient><linearGradient id="n" x1="569.328" x2="454.912" y1="597.606" y2="483.19" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#afc5d8"></stop><stop offset="1" stop-color="#dfe8f9"></stop></linearGradient><linearGradient id="o" x1="562.331" x2="453.712" y1="598.807" y2="490.188" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#c7d4e5"></stop><stop offset=".687" stop-color="#e8eff8"></stop></linearGradient><linearGradient id="p" x1="219.375" x2="219.375" y1="553.783" y2="478.333" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffb32c"></stop></linearGradient><linearGradient id="q" x1="220.421" x2="220.421" y1="465.465" y2="489.367" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4ae98"></stop><stop offset="1" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="r" x1="-840.016" x2="-828.333" y1="946.367" y2="864.11" gradientTransform="rotate(-8.082 -3028.264 -6569.32)" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffa91f"></stop></linearGradient><linearGradient id="s" x1="-7035.52" x2="-7023.838" y1="66.46" y2="-15.798" gradientTransform="scale(-1 1)rotate(-8.082 -118.132 -47761.005)" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffa91f"></stop></linearGradient><linearGradient id="t" x1="219.375" x2="219.375" y1="526.535" y2="574.482" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#275c89"></stop><stop offset="1" stop-color="#013f7c"></stop></linearGradient><linearGradient id="u" x1="6174.812" x2="6157.838" y1="595.174" y2="595.174" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="v" x1="196.36" x2="283.925" y1="576.466" y2="576.466" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#18264b"></stop><stop offset=".652" stop-color="#2d3c65"></stop></linearGradient><linearGradient id="w" x1="176.617" x2="176.617" y1="604.946" y2="586.928" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4673bc"></stop><stop offset=".652" stop-color="#6a94e0"></stop></linearGradient><linearGradient id="x" x1="238.667" x2="255.641" y1="595.174" y2="595.174" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="y" x1="158.041" x2="245.606" y1="576.466" y2="576.466" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#445677"></stop><stop offset="1" stop-color="#293861"></stop></linearGradient><linearGradient id="z" x1="265.35" x2="265.35" y1="604.946" y2="586.928" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4673bc"></stop><stop offset=".652" stop-color="#6a94e0"></stop></linearGradient><linearGradient id="A" x1="236.065" x2="204.828" y1="459.983" y2="459.983" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="B" x1="200.53" x2="236.795" y1="447.908" y2="447.908" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4f5c7c"></stop><stop offset="1" stop-color="#274168"></stop></linearGradient></defs><path fill="url(#a)" d="M482.38 201.33c-38.37 30.29-120.74 33.81-181.17-2.22s-172-31.38-202.22 34.87 37.19 131.33 12.78 178.98S6.01 528.01 61.8 609.36s126.6 60.62 169.22 52.45c84.17-16.13 189.79 115.67 308.62 16.13 68.47-57.35 170.44 42.09 210.17-81.36 32.78-101.86-85.67-139.5-49.97-208.03 37.96-72.88 30.67-159.24-10.46-201.06-38.31-38.96-140.75-38.46-207 13.84"></path><path fill="url(#b)" d="M393.48 423.31h216.44l-22.53 49.03s59.19 57.86-14.13 121.91c-134.28-44.17-221.74-37.1-219.98-38.87 1.77-1.77 40.2-132.07 40.2-132.07"></path><path fill="url(#c)" d="M115.65 403.91s-.22-.57-.52.04c-2.7 5.49-27.15 64.96-29.09 110.86 0 0-4.08 26.37 30.11 26.02 28.54-.29 27.78-24.6 27.68-32.79-.38-33.22-28.18-104.13-28.18-104.13"></path><path fill="url(#d)" d="M114.87 570.03c-.55 0-1-.45-1-1V419.9c0-.55.45-1 1-1s1 .45 1 1v149.13c0 .56-.45 1-1 1"></path><path fill="url(#e)" d="M616.5 361.15s-.14-.37-.33.03c-1.74 3.53-17.48 41.83-18.73 71.38 0 0-2.63 16.98 19.39 16.76 18.38-.18 17.89-15.84 17.82-21.11-.25-21.4-18.15-67.06-18.15-67.06"></path><path fill="url(#f)" d="M616 468.12c-.36 0-.64-.29-.64-.64v-96.02c0-.36.29-.64.64-.64.36 0 .64.29.64.64v96.02c0 .35-.28.64-.64.64"></path><path fill="url(#g)" d="M689.88 527.7c0 9.48-7.69 17.17-17.17 17.17s-17.17-7.69-17.17-17.17 7.69-17.17 17.17-17.17 17.17 7.69 17.17 17.17"></path><path fill="url(#h)" d="M672.77 570.13c-.29 0-.53-.24-.53-.53v-54.2c0-.29.24-.53.53-.53s.53.24.53.53v54.21c0 .29-.24.52-.53.52"></path><path fill="url(#i)" d="M479.29 116.81c0 19.19-15.56 34.75-34.75 34.75s-34.75-15.56-34.75-34.75 15.56-34.75 34.75-34.75 34.75 15.56 34.75 34.75"></path><path fill="url(#j)" d="M464.32 135.76h-34.57c-2.23-10.61-11.65-18.58-22.93-18.58s-20.69 7.97-22.93 18.58h-9.05c-10.73 0-19.44 8.7-19.44 19.44 0 10.73 8.7 19.44 19.44 19.44h89.47c10.73 0 19.44-8.7 19.44-19.44s-8.7-19.44-19.43-19.44"></path><path fill="url(#k)" d="M235.65 388.64c0-24.52-.03-49.03.01-73.54.02-14.37 4.24-18.36 17.97-20.53 41.87-6.61 82.03-18.72 117.91-42.29 10.38-6.82 18.3-7.59 29.06-.47 34.85 23.06 73.26 37.11 114.55 42.8 13.12 1.81 16.84 5.88 16.85 19.25.04 45.72-.4 91.44.18 137.15.34 26.77-8.17 49.99-24.02 70.73-31.46 41.17-74.88 63.76-122.21 80.03-2.5.86-5.83.67-8.36-.23-38.47-13.74-74.58-31.84-104.15-61.09-22.97-22.73-37.84-49.56-37.79-83.22.03-22.87 0-45.73 0-68.59"></path><path fill="url(#l)" d="M234.76 396.09c0-23.21-.03-46.42.01-69.63.02-13.61 4.06-17.38 17.23-19.43 40.15-6.26 78.67-17.72 113.07-40.04 9.95-6.46 17.55-7.18 27.86-.44 33.42 21.83 70.25 35.14 109.84 40.52 12.58 1.71 16.14 5.56 16.15 18.22.03 43.28-.38 86.57.18 129.84.33 25.34-7.83 47.33-23.03 66.96-30.17 38.98-71.81 60.36-117.19 75.77-2.4.81-5.59.64-8.01-.22-36.89-13.01-71.52-30.14-99.87-57.84-22.03-21.52-36.28-46.91-36.23-78.78.02-21.65 0-43.29-.01-64.93"></path><path fill="url(#m)" d="M398.42 430.39c23.18-5.61 40.41-26.11 40.41-50.49 0-28.68-23.85-52.01-53.17-52.01s-53.17 23.33-53.17 52.01c0 24.38 17.24 44.88 40.41 50.49v85.2h25.52v-36.38h32.67v-24.96h-32.67zM358 379.91c0-14.91 12.41-27.05 27.65-27.05S413.3 365 413.3 379.91s-12.41 27.05-27.65 27.05S358 394.82 358 379.91"></path><path fill="#fff" d="M394.5 433.67c21.8-5.39 38.01-25.1 38.01-48.54 0-27.58-22.43-50.01-50.01-50.01s-50.01 22.43-50.01 50.01c0 23.44 16.21 43.15 38.01 48.54v81.92h24v-34.98h30.73v-24H394.5zm-38.01-48.54c0-14.34 11.67-26.01 26.01-26.01s26.01 11.67 26.01 26.01-11.67 26.01-26.01 26.01-26.01-11.67-26.01-26.01"></path><path fill="url(#n)" d="M593.02 540.4c0 44.68-36.22 80.9-80.9 80.9s-80.9-36.22-80.9-80.9 36.22-80.9 80.9-80.9 80.9 36.22 80.9 80.9"></path><path fill="url(#o)" d="M584.83 544.5c0 42.42-34.39 76.81-76.81 76.81s-76.81-34.39-76.81-76.81 34.39-76.81 76.81-76.81 76.81 34.39 76.81 76.81"></path><path fill="#fff" d="m525.32 542.26 23.01-23.01c4.44-4.44 4.44-11.63 0-16.06-4.44-4.44-11.63-4.44-16.06 0l-23.01 23.01-23.01-23.01c-4.44-4.44-11.63-4.44-16.06 0-4.44 4.44-4.44 11.63 0 16.06l23.01 23.01-23.01 23.01c-4.44 4.44-4.44 11.63 0 16.06 2.22 2.22 5.13 3.33 8.03 3.33s5.81-1.11 8.03-3.33l23.01-23.01 23.01 23.01c2.22 2.22 5.13 3.33 8.03 3.33s5.81-1.11 8.03-3.33c4.44-4.44 4.44-11.63 0-16.06z"></path><path fill="url(#p)" d="M211.59 478.69s-18.31-2.53-24.25 5.88c-5.95 8.41-8.12 29.95-8.12 29.95l13.78-.73-1.16 25.09 25.42 14.9 36.22-19.48-5.51-22.73 11.57-3.02s-3.45-32.99-19.55-28.12c-8.27.89-10.88.74-10.88.74s-2.18 6.94-9.65 6.35-7.87-8.83-7.87-8.83"></path><path fill="url(#q)" d="m213.42 468.32-3.8 16.97c-.18.8.24 1.61.99 1.92 1.97.8 5.9 2.16 9.95 2.16 4.2 0 8.16-2.3 9.98-3.53.63-.42.89-1.21.65-1.93l-5.82-17.31a1.68 1.68 0 0 0-1.88-1.12l-8.72 1.55c-.67.12-1.2.63-1.35 1.29"></path><path fill="url(#r)" d="M190.69 481.63c5.33-1.77 12.55-.59 12.85 11.37.29 11.95-11.42 31-7.22 37.63 4.25 6.71 13.34 16.25 19.12 21.68-1.34 6.38-4.98 11.75-4.98 11.75s-21.31-9.83-30.59-19.68-4.6-32.43-.3-48.5c3.24-12.12 11.12-14.25 11.12-14.25"></path><path fill="url(#s)" d="M246.53 481.63c-5.33-1.77-12.55-.59-12.85 11.37-.29 11.95 11.42 31 7.22 37.63-4.25 6.71-13.34 16.25-19.12 21.68 1.34 6.38 4.98 11.75 4.98 11.75s21.31-9.83 30.59-19.68 4.6-32.43.3-48.5c-3.24-12.12-11.12-14.25-11.12-14.25"></path><path fill="url(#t)" d="M193.27 574.48h51.74c2.34 0 4.44-1.78 5.25-4.45l10.43-34.31c1.35-4.45-1.35-9.19-5.25-9.19h-72.12c-3.86 0-6.57 4.65-5.28 9.09l9.96 34.31c.79 2.73 2.9 4.55 5.27 4.55"></path><path fill="#fff" d="M191.21 590.26s-.8-1.76-1.41-1.95c-.62-.19-9.46-.54-12.69-1.38s-12.54-2.16-16.52 1.61c-3.47 3.29-4.62 10.97.67 15.39 1.98 1.72 3.93 2.23 11.28 1.89s18-.27 20.34-3.67c-.09-5.63-1.67-11.89-1.67-11.89"></path><path fill="url(#u)" d="M199.42 588.31s-8.54 1.92-11.6 1.64c-3.05-.28-.5 12.02-.5 12.02s8.16.56 15.37-1.52c2.44-9.43-3.27-12.14-3.27-12.14"></path><path fill="url(#v)" d="m196.36 587.86 4.44 13.81s95.43-12.57 81.79-43.54c-11.4-25.89-86.23 29.73-86.23 29.73"></path><path fill="url(#w)" d="M190.1 588.93s3.5 1.37 3.94 6.24-1 8.15-8.43 9.05-9.32.56-13.98.68c-4.66.11-11.43.56-12.43-8.3s8.06-11.12 17.46-8.86c2.95.57 13.44 1.19 13.44 1.19"></path><path fill="#fff" d="M250.76 590.26s.8-1.76 1.41-1.95c.62-.19 9.46-.54 12.69-1.38s11.9-2.23 16.28 1.51c4.06 3.47 4.33 11.14-.3 15.37-1.98 1.72-4.07 2.35-11.42 2.01s-18-.27-20.34-3.67c.09-5.63 1.68-11.89 1.68-11.89"></path><path fill="url(#x)" d="M242.55 588.31s8.54 1.92 11.6 1.64.5 12.02.5 12.02-8.16.56-15.37-1.52c-2.45-9.43 3.27-12.14 3.27-12.14"></path><path fill="url(#y)" d="m245.61 587.86-4.44 13.81s-95.43-12.57-81.79-43.54c11.4-25.89 86.23 29.73 86.23 29.73"></path><path fill="url(#z)" d="M251.87 588.93s-3.5 1.37-3.94 6.24 1 8.15 8.43 9.05 9.32.56 13.98.68c4.66.11 11.43.56 12.43-8.3s-8.06-11.12-17.46-8.86c-2.96.57-13.44 1.19-13.44 1.19"></path><path fill="url(#A)" d="M235.39 461.53c.57-.81.93-2.88.46-3.48-.84-.68-1.63-.29-2.23.3.14-4.94-.31-9.05-.42-10.09-.31-3.03-3.39-8.58-13.46-8.58s-12.03 7.27-12.03 7.27-.66 5.14-.46 11.38c-.6-.57-1.39-.95-2.21-.28-.46.61-.1 2.68.46 3.48.57.81.93 2.73 1.03 3.79.1 1.01-.63 3.69 2.02 3.35 1.58 6.33 7.99 11.61 11.96 11.61 4.35 0 10.13-5.32 11.77-11.62 2.71.37 1.97-2.33 2.07-3.35.12-1.05.48-2.97 1.04-3.78"></path><path fill="url(#B)" d="M227 437.52s-1.97-6.19-9.5-4.71c-7.54 1.48-8.05 5.04-11 5.18-5.05.24-9.09 6.53-2.61 13.19 2.88 2.97.45 4.24 1.82 6.87s1.36 5.18 1.36 5.18 2.41-7.69.82-10.97c-.82-1.69 2.81-2.15 7.33-1.75s11.65-1.09 12.21-4.17c1.34 6.31 2.67 6.97 4.37 7.93s1.8 8.58 1.8 8.58.3-5.6 1.48-6.87c.98-2.07 2.88-10.2.73-12.17s-.35-8.29-8.81-6.29"></path>', 33)
629
1852
  ]));
630
1853
  }
631
- const po = { render: co }, uo = {}, fo = { class: "wrapper" }, mo = { class: "content" };
632
- function ho(s, t) {
633
- const e = v("el-button");
634
- return a(), S("div", fo, [
635
- t[4] || (t[4] = c("img", { src: po }, null, -1)),
636
- c("div", mo, [
637
- t[3] || (t[3] = c("h1", null, "You have no permission to access the page.", -1)),
638
- p(e, { type: "primary" }, {
639
- default: r(() => t[1] || (t[1] = [
640
- z("Apply")
1854
+ const gs = { render: _s }, bs = {}, vs = { class: "wrapper" }, ys = { class: "content" };
1855
+ function ws(e, o) {
1856
+ const t = x("el-button");
1857
+ return p(), F("div", vs, [
1858
+ o[4] || (o[4] = k("img", { src: gs }, null, -1)),
1859
+ k("div", ys, [
1860
+ o[3] || (o[3] = k("h1", null, "You have no permission to access the page.", -1)),
1861
+ _(t, { type: "primary" }, {
1862
+ default: m(() => o[1] || (o[1] = [
1863
+ Y("Apply")
641
1864
  ])),
642
1865
  _: 1
643
1866
  }),
644
- p(e, {
645
- onClick: t[0] || (t[0] = (n) => s.$router.go(-1))
1867
+ _(t, {
1868
+ onClick: o[0] || (o[0] = (n) => e.$router.go(-1))
646
1869
  }, {
647
- default: r(() => t[2] || (t[2] = [
648
- z("Go Back")
1870
+ default: m(() => o[2] || (o[2] = [
1871
+ Y("Go Back")
649
1872
  ])),
650
1873
  _: 1
651
1874
  })
652
1875
  ])
653
1876
  ]);
654
1877
  }
655
- const go = /* @__PURE__ */ re(uo, [["render", ho], ["__scopeId", "data-v-0155b361"]]), vo = {};
656
- function bo(s, t) {
657
- const e = v("router-view");
658
- return a(), w(e);
1878
+ const Ss = /* @__PURE__ */ ue(bs, [["render", ws], ["__scopeId", "data-v-0155b361"]]), Cs = {};
1879
+ function Os(e, o) {
1880
+ const t = x("router-view");
1881
+ return p(), A(t);
659
1882
  }
660
- const Co = /* @__PURE__ */ re(vo, [["render", bo]]), wo = { class: "card-wrapper" }, yo = ["onClick"], Ao = { class: "card-inner-wrapper" }, ko = { class: "card-title" }, _o = { class: "icon" }, Io = /* @__PURE__ */ ce({
1883
+ const ks = /* @__PURE__ */ ue(Cs, [["render", Os]]), Es = { class: "card-wrapper" }, xs = ["onClick"], $s = { class: "card-inner-wrapper" }, Ps = { class: "card-title" }, Is = { class: "icon" }, Ns = /* @__PURE__ */ _e({
661
1884
  __name: "TabCard",
662
1885
  props: {
663
1886
  cards: {},
664
1887
  tableRef: {}
665
1888
  },
666
- setup(s) {
667
- const { t } = _e(), e = ke(), n = xe(), o = s, l = A(o.cards[0].key);
668
- function m(u) {
669
- u.disabled || (l.value = u.key, o.tableRef.updateConfigAndRefresh(u.model), n.push({
670
- path: e.path,
671
- query: De(Ie({}, e.query), { tab: u.key })
1889
+ setup(e) {
1890
+ const { t: o } = Be(), t = qe(), n = nt(), s = e, r = I(s.cards[0].key);
1891
+ function l(a) {
1892
+ a.disabled || (r.value = a.key, s.tableRef.updateConfigAndRefresh(a.model), n.push({
1893
+ path: t.path,
1894
+ query: wt(He({}, t.query), { tab: a.key })
672
1895
  }));
673
1896
  }
674
- return Ge(() => {
675
- let u;
676
- if (e.query.tab !== void 0) {
677
- for (let h of o.cards)
678
- if (h.key === e.query.tab) {
679
- l.value = h.key, u = h;
1897
+ return pt(() => {
1898
+ let a;
1899
+ if (t.query.tab !== void 0) {
1900
+ for (let i of s.cards)
1901
+ if (i.key === t.query.tab) {
1902
+ r.value = i.key, a = i;
680
1903
  break;
681
1904
  }
682
1905
  }
683
- Ve(() => {
684
- o.tableRef && o.cards && o.cards.length > 0 && o.tableRef.updateConfigAndRefresh((u != null ? u : o.cards[0]).model);
1906
+ Ze(() => {
1907
+ s.tableRef && s.cards && s.cards.length > 0 && s.tableRef.updateConfigAndRefresh((a != null ? a : s.cards[0]).model);
685
1908
  });
686
- }), he(
687
- () => o.cards,
688
- (u) => {
689
- if (e.query.tab !== void 0) {
690
- for (let h of o.cards)
691
- if (h.key === e.query.tab) {
692
- l.value = h.key;
1909
+ }), Se(
1910
+ () => s.cards,
1911
+ (a) => {
1912
+ if (t.query.tab !== void 0) {
1913
+ for (let i of s.cards)
1914
+ if (i.key === t.query.tab) {
1915
+ r.value = i.key;
693
1916
  break;
694
1917
  }
695
1918
  } else
696
- u && u.length > 0 && (l.value = u[0].key);
1919
+ a && a.length > 0 && (r.value = a[0].key, s.tableRef.updateConfigAndRefresh(s.cards[0].model));
697
1920
  },
698
1921
  {
699
1922
  deep: !0
700
1923
  }
701
- ), (u, h) => (a(), S("div", wo, [
702
- (a(!0), S(ee, null, se(o.cards, (O) => (a(), S("div", {
703
- class: Te(["card", { "card-selected": l.value === O.key }]),
704
- onClick: (Q) => m(O)
1924
+ ), (a, i) => (p(), F("div", Es, [
1925
+ (p(!0), F(oe, null, ce(s.cards, (d) => (p(), F("div", {
1926
+ class: Vt(["card", { "card-selected": r.value === d.key }]),
1927
+ onClick: (w) => l(d)
705
1928
  }, [
706
- c("div", Ao, [
707
- c("div", ko, [
708
- c("div", _o, [
709
- O.icon ? (a(), w(Ee(O.icon), {
1929
+ k("div", $s, [
1930
+ k("div", Ps, [
1931
+ k("div", Is, [
1932
+ d.icon ? (p(), A(Xe(d.icon), {
710
1933
  key: 0,
711
1934
  class: "svg-icon"
712
- })) : j("", !0)
1935
+ })) : B("", !0)
713
1936
  ]),
714
- c("span", {
715
- style: Oe({ color: O.disabled ? "#aaa" : "black" })
716
- }, _(g(t)(O.label)), 5)
1937
+ k("span", {
1938
+ style: it({ color: d.disabled ? "#aaa" : "black" })
1939
+ }, D(O(o)(d.label)), 5)
717
1940
  ]),
718
- c("span", null, _(O.count), 1)
1941
+ k("span", null, D(d.count), 1)
719
1942
  ])
720
- ], 10, yo))), 256))
1943
+ ], 10, xs))), 256))
721
1944
  ]));
722
1945
  }
723
- }), He = /* @__PURE__ */ re(Io, [["__scopeId", "data-v-3d98d97f"]]);
724
- function be(s, t, e) {
725
- switch (t) {
1946
+ }), ro = /* @__PURE__ */ ue(Ns, [["__scopeId", "data-v-047a86e6"]]);
1947
+ function ke(e, o, t) {
1948
+ switch (o) {
726
1949
  case "POST":
727
- return ie.post(s, e);
1950
+ return pe.post(e, t);
728
1951
  case "PUT":
729
- return ie.put(s, e);
1952
+ return pe.put(e, t);
730
1953
  case "DELETE":
731
- return ie.delete(s + "/" + e);
1954
+ return pe.delete(e + "/" + t);
732
1955
  default:
733
- return ie.get(s, { params: e });
1956
+ return pe.get(e, { params: t });
734
1957
  }
735
1958
  }
736
- const Be = (s) => {
737
- const t = Object.keys(s);
738
- let e = {};
739
- t.forEach((n) => {
740
- e[n] = "";
741
- }), Object.assign(s, e);
742
- }, Eo = {
1959
+ const ze = (e) => {
1960
+ const o = Object.keys(e);
1961
+ let t = {};
1962
+ o.forEach((n) => {
1963
+ t[n] = void 0;
1964
+ }), Object.assign(e, t);
1965
+ }, As = {
743
1966
  key: 1,
744
1967
  class: "view-span"
745
- }, So = /* @__PURE__ */ ce({
1968
+ }, Vs = /* @__PURE__ */ _e({
746
1969
  __name: "FormView",
747
1970
  props: {
748
1971
  id: {},
1972
+ sessionId: {},
749
1973
  mode: {},
750
1974
  model: {},
751
1975
  closeDialogFunc: { type: Function },
752
1976
  afterSubmitFunc: { type: Function }
753
1977
  },
754
- setup(s, { expose: t }) {
755
- const { t: e } = Se.global, n = s, o = le({}), l = A(!1), m = A(), u = le({}), h = A(!0), O = (d) => n.mode === "view" && (G(d, void 0) || G(d, "input") || G(d, "select") || G(d, "password")), Q = Qe(() => n.model.fields ? n.model.fields.filter(
756
- (d) => {
757
- var H, x, W, I;
758
- let L = d.visible !== !1 && ((H = d.formItemAttributes) == null ? void 0 : H.visible) !== !1;
759
- if (n.mode !== "view" && ((x = d.formItemAttributes) == null ? void 0 : x.editable) === !1 || n.mode === "view" && ((W = d.formItemAttributes) == null ? void 0 : W.type) === "password")
1978
+ emits: ["update:id"],
1979
+ setup(e, { expose: o, emit: t }) {
1980
+ const { t: n } = et.global, s = e, r = re({}), l = I(!1), a = I(), i = re({}), d = I(!0), w = (S) => s.mode === "view" && (Q(S, void 0) || Q(S, "input") || Q(S, "select") || Q(S, "password")), y = Te(() => s.model.fields ? s.model.fields.filter(
1981
+ (S) => {
1982
+ var N, u, c, g;
1983
+ let h = S.visible !== !1 && ((N = S.formItemAttributes) == null ? void 0 : N.visible) !== !1;
1984
+ if (s.mode !== "view" && ((u = S.formItemAttributes) == null ? void 0 : u.editable) === !1 || s.mode === "view" && ((c = S.formItemAttributes) == null ? void 0 : c.type) === "password")
760
1985
  return !1;
761
- let k = (I = d.formItemAttributes) == null ? void 0 : I.showCondition;
762
- return k && k.field && k.value ? o[k.field] === k.value : L;
1986
+ let $ = (g = S.formItemAttributes) == null ? void 0 : g.showCondition;
1987
+ return $ && $.field && $.value ? r[$.field] === $.value : h;
763
1988
  }
764
1989
  ) : []);
765
- he(() => n.id, () => {
766
- V();
1990
+ Se([() => s.id, () => s.sessionId], () => {
1991
+ U();
767
1992
  });
768
- function F() {
769
- const d = n.model.fields;
770
- let L = {};
771
- d == null || d.forEach((k) => {
772
- var H, x, W, I, E, T, D, b;
773
- if (o[k.prop] = null, k.visible !== !1 && ((H = k.formItemAttributes) == null ? void 0 : H.visible) !== !1) {
774
- if (((x = k.formItemAttributes) == null ? void 0 : x.defaultValue) !== void 0 ? o[k.prop] = (W = k.formItemAttributes) == null ? void 0 : W.defaultValue : o[k.prop] = void 0, n.mode !== "view") {
775
- let f = (I = k.formItemAttributes) == null ? void 0 : I.validationRule;
776
- f !== void 0 && (L[k.prop] = f), Object.assign(u, L);
1993
+ function M() {
1994
+ const S = s.model.fields;
1995
+ let h = {};
1996
+ S == null || S.forEach(($) => {
1997
+ var N, u, c, g, E, R, q, v, T;
1998
+ if (r[$.prop] = null, $.visible !== !1 && ((N = $.formItemAttributes) == null ? void 0 : N.visible) !== !1) {
1999
+ if (((u = $.formItemAttributes) == null ? void 0 : u.defaultValue) !== void 0 ? r[$.prop] = (c = $.formItemAttributes) == null ? void 0 : c.defaultValue : r[$.prop] = void 0, s.mode !== "view") {
2000
+ let W = (g = $.formItemAttributes) == null ? void 0 : g.validationRule;
2001
+ W !== void 0 && (h[$.prop] = W), Object.assign(i, h);
777
2002
  }
778
- const B = k.formItemAttributes, y = B == null ? void 0 : B.type, U = (E = B == null ? void 0 : B.selectAttributes) == null ? void 0 : E.api, K = (T = B == null ? void 0 : B.selectAttributes) == null ? void 0 : T.valueMappingField, i = (D = B == null ? void 0 : B.selectAttributes) == null ? void 0 : D.labelMappingField;
779
- if (y === "select" && U) {
780
- let f = U;
781
- const R = (b = B == null ? void 0 : B.selectAttributes) == null ? void 0 : b.queryParamName;
782
- R && (f = `${f}?${R}=${n.id}`), be(f, "GET", {}).then(({ data: J }) => {
783
- var N;
784
- if ((N = k.formItemAttributes) != null && N.selectAttributes) {
785
- let te = [];
786
- Array.isArray(J.data) ? te = J.data : J.data.list && Array.isArray(J.data.list) && (te = J.data.list), k.formItemAttributes.selectAttributes.options = te.map((oe) => ({
787
- value: K ? oe[K] : oe.value,
788
- label: i ? oe[i] : oe.label
2003
+ const b = $.formItemAttributes, f = b == null ? void 0 : b.type, C = (E = b == null ? void 0 : b.selectAttributes) == null ? void 0 : E.api, G = (R = b == null ? void 0 : b.selectAttributes) == null ? void 0 : R.valueMappingField, X = (q = b == null ? void 0 : b.selectAttributes) == null ? void 0 : q.labelMappingField;
2004
+ if (f === "select" && C) {
2005
+ let W = C;
2006
+ const ae = (v = b == null ? void 0 : b.selectAttributes) == null ? void 0 : v.queryParamName, fe = (T = b == null ? void 0 : b.selectAttributes) == null ? void 0 : T.queryParamValueField;
2007
+ ae && (W = `${W}?${ae}=${s.id}`), fe || ke(W, "GET", {}).then(({ data: le }) => {
2008
+ var ie;
2009
+ if ((ie = $.formItemAttributes) != null && ie.selectAttributes) {
2010
+ let Z = [];
2011
+ Array.isArray(le.data) ? Z = le.data : le.data.list && Array.isArray(le.data.list) && (Z = le.data.list), $.formItemAttributes.selectAttributes.options = Z.map((J) => ({
2012
+ value: G ? J[G] : J.value,
2013
+ label: X ? J[X] : J.label
789
2014
  }));
790
2015
  }
791
2016
  });
@@ -793,129 +2018,152 @@ const Be = (s) => {
793
2018
  }
794
2019
  });
795
2020
  }
796
- function V() {
797
- var d;
798
- X(), h.value = (d = n.model.useI18n) != null ? d : !0, l.value = !0, F(), (n.mode === "update" || n.mode === "view") && n.id !== void 0 && n.id !== "" && be(`${n.model.api}/${n.id}`, "GET", {}).then(({ data: L }) => {
799
- Be(o), Object.assign(o, L.data), l.value = !1;
800
- });
2021
+ function U() {
2022
+ var S;
2023
+ console.log("init form", s.id, s.model), P(), d.value = (S = s.model.useI18n) != null ? S : !0, M(), (s.mode === "update" || s.mode === "view") && s.id !== void 0 && s.id !== "" && s.model.api !== "" && (l.value = !0, ke(`${s.model.api}/${s.id}`, "GET", {}).then(({ data: h }) => {
2024
+ ze(r), Object.assign(r, h.data), l.value = !1;
2025
+ }));
801
2026
  }
802
- function q() {
803
- return new Promise((d, L) => {
804
- var H, x, W, I;
805
- ((x = (H = n.model.formConfig) == null ? void 0 : H.functions) == null ? void 0 : x.beforeSubmit) !== void 0 && Object.assign(o, (I = (W = n.model.formConfig) == null ? void 0 : W.functions) == null ? void 0 : I.beforeSubmit(o));
806
- let k = n.mode === "create" ? "POST" : "PUT";
807
- n.model.api && be(n.model.api, k, o).then(({ data: E }) => {
808
- var T, D, b, B;
809
- E.code === 0 && (n.closeDialogFunc && n.closeDialogFunc(), ((D = (T = n.model.formConfig) == null ? void 0 : T.functions) == null ? void 0 : D.afterSubmit) !== void 0 && ((B = (b = n.model.formConfig) == null ? void 0 : b.functions) == null || B.afterSubmit(E.data)), n.afterSubmitFunc && n.afterSubmitFunc(), d());
2027
+ function L() {
2028
+ return new Promise((S, h) => {
2029
+ var N, u, c, g;
2030
+ ((u = (N = s.model.formConfig) == null ? void 0 : N.functions) == null ? void 0 : u.beforeSubmit) !== void 0 && Object.assign(r, (g = (c = s.model.formConfig) == null ? void 0 : c.functions) == null ? void 0 : g.beforeSubmit(r));
2031
+ let $ = s.mode === "create" ? "POST" : "PUT";
2032
+ s.model.api && ke(s.model.api, $, r).then(({ data: E }) => {
2033
+ var R, q, v, T;
2034
+ E.code === 0 && (s.closeDialogFunc && s.closeDialogFunc(), ((q = (R = s.model.formConfig) == null ? void 0 : R.functions) == null ? void 0 : q.afterSubmit) !== void 0 && ((T = (v = s.model.formConfig) == null ? void 0 : v.functions) == null || T.afterSubmit(E.data)), s.afterSubmitFunc && s.afterSubmitFunc(), S());
810
2035
  });
811
2036
  });
812
2037
  }
813
- function X() {
814
- var d;
815
- (d = m.value) == null || d.resetFields();
2038
+ function P() {
2039
+ var S;
2040
+ (S = a.value) == null || S.resetFields();
816
2041
  }
817
- function P(d) {
818
- return d.label ? h ? e(d.label) : d.label : d.prop.slice(0, 1).toUpperCase() + d.prop.slice(1).toLowerCase();
2042
+ function j(S) {
2043
+ return S.label ? d ? n(S.label) : S.label : S.prop.slice(0, 1).toUpperCase() + S.prop.slice(1).toLowerCase();
819
2044
  }
820
- function M(d) {
821
- var L, k, H, x;
822
- if (d) {
823
- if (G(d, "select")) {
824
- const W = (k = (L = d.tableColumnAttributes) == null ? void 0 : L.functions) == null ? void 0 : k.transformValue;
825
- if (W)
826
- return W(o[d.prop]);
827
- const I = (x = (H = d.formItemAttributes) == null ? void 0 : H.selectAttributes) == null ? void 0 : x.viewModeLabelField;
828
- if (I)
829
- return o[I];
2045
+ function V(S) {
2046
+ var h, $, N, u;
2047
+ if (S) {
2048
+ if (Q(S, "select")) {
2049
+ const c = ($ = (h = S.tableColumnAttributes) == null ? void 0 : h.functions) == null ? void 0 : $.transformValue;
2050
+ if (c)
2051
+ return c(r[S.prop]);
2052
+ const g = (u = (N = S.formItemAttributes) == null ? void 0 : N.selectAttributes) == null ? void 0 : u.viewModeLabelField;
2053
+ if (g)
2054
+ return r[g];
830
2055
  }
831
- return o[d.prop];
2056
+ return r[S.prop];
832
2057
  }
833
2058
  }
834
- function C(d) {
835
- var L;
836
- return ((L = d.formItemAttributes) == null ? void 0 : L.updatable) === !1 && n.mode === "update";
2059
+ function K(S) {
2060
+ var h;
2061
+ return ((h = S.formItemAttributes) == null ? void 0 : h.updatable) === !1 && s.mode === "update";
837
2062
  }
838
- function $(d, L) {
839
- var H, x;
840
- const k = (x = (H = L.formItemAttributes) == null ? void 0 : H.type) != null ? x : "input";
841
- switch (d) {
2063
+ function z(S, h) {
2064
+ var N, u;
2065
+ const $ = (u = (N = h.formItemAttributes) == null ? void 0 : N.type) != null ? u : "input";
2066
+ switch (S) {
842
2067
  case "input":
843
- return n.mode === "view" ? !1 : k === "input" || k === "password";
2068
+ return s.mode === "view" ? !1 : $ === "input" || $ === "password";
844
2069
  case "select":
845
2070
  return !0;
846
2071
  default:
847
- return console.log("Error: unrecognized form component type: ", d), !0;
2072
+ return console.log("Error: unrecognized form component type: ", S), !0;
848
2073
  }
849
2074
  }
850
- function G(d, L) {
851
- var k;
852
- return ((k = d.formItemAttributes) == null ? void 0 : k.type) === L;
2075
+ function Q(S, h) {
2076
+ var $;
2077
+ return (($ = S.formItemAttributes) == null ? void 0 : $.type) === h;
2078
+ }
2079
+ function ne(S) {
2080
+ var h;
2081
+ for (let $ of s.model.fields) {
2082
+ const N = (h = $.formItemAttributes) == null ? void 0 : h.selectAttributes;
2083
+ if (!(!$.formItemAttributes || $.formItemAttributes.type !== "select" || !N || !N.queryParamValueField) && N.queryParamValueField === S.prop) {
2084
+ const u = N.api;
2085
+ if (u) {
2086
+ let c = u;
2087
+ const g = N.queryParamName;
2088
+ g && (c = `${c}?${g}=${r[N.queryParamValueField]}`), ke(c, "GET", {}).then(({ data: E }) => {
2089
+ if (N) {
2090
+ let R = [];
2091
+ Array.isArray(E.data) ? R = E.data : E.data.list && Array.isArray(E.data.list) && (R = E.data.list), N.options = R.map((q) => ({
2092
+ value: N.valueMappingField ? q[N.valueMappingField] : q.value,
2093
+ label: N.labelMappingField ? q[N.labelMappingField] : q.label
2094
+ }));
2095
+ }
2096
+ });
2097
+ }
2098
+ }
2099
+ }
853
2100
  }
854
- return Ge(() => {
855
- V();
856
- }), t({
857
- refresh: V,
858
- reset: X,
859
- submit: q,
860
- formData: o
861
- }), (d, L) => {
862
- const k = v("el-input"), H = v("el-switch"), x = v("el-date-picker"), W = v("el-option"), I = v("el-select"), E = v("el-form-item"), T = v("el-form"), D = Ke("loading");
863
- return Pe((a(), w(T, {
2101
+ return pt(() => {
2102
+ U();
2103
+ }), o({
2104
+ refresh: U,
2105
+ reset: P,
2106
+ submit: L,
2107
+ formData: r
2108
+ }), (S, h) => {
2109
+ const $ = x("el-input"), N = x("el-switch"), u = x("el-date-picker"), c = x("el-option"), g = x("el-select"), E = x("el-form-item"), R = x("el-form"), q = Mt("loading");
2110
+ return Ut((p(), A(R, {
864
2111
  ref_key: "formRef",
865
- ref: m,
866
- model: o,
867
- rules: u,
2112
+ ref: a,
2113
+ model: r,
2114
+ rules: i,
868
2115
  "label-width": "auto",
869
2116
  "label-position": "left",
870
2117
  "require-asterisk-position": "right",
871
2118
  inline: !0
872
2119
  }, {
873
- default: r(() => [
874
- (a(!0), S(ee, null, se(Q.value, (b) => (a(), w(E, {
2120
+ default: m(() => [
2121
+ (p(!0), F(oe, null, ce(y.value, (v) => (p(), A(E, {
875
2122
  class: "form-item",
876
- prop: b.prop,
877
- label: P(b)
2123
+ prop: v.prop,
2124
+ label: j(v)
878
2125
  }, {
879
- default: r(() => {
880
- var B;
2126
+ default: m(() => {
2127
+ var T;
881
2128
  return [
882
- $("input", b) ? (a(), w(k, {
2129
+ z("input", v) ? (p(), A($, {
883
2130
  key: 0,
884
- type: G(b, "password") ? "password" : "text",
885
- modelValue: o[b.prop],
886
- "onUpdate:modelValue": (y) => o[b.prop] = y,
887
- placeholder: (B = b.formItemAttributes) == null ? void 0 : B.placeholder,
888
- disabled: C(b)
889
- }, null, 8, ["type", "modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : j("", !0),
890
- O(b) ? (a(), S("span", Eo, _(M(b)), 1)) : j("", !0),
891
- G(b, "switch") ? (a(), w(H, {
2131
+ type: Q(v, "password") ? "password" : "text",
2132
+ modelValue: r[v.prop],
2133
+ "onUpdate:modelValue": (b) => r[v.prop] = b,
2134
+ placeholder: (T = v.formItemAttributes) == null ? void 0 : T.placeholder,
2135
+ disabled: K(v)
2136
+ }, null, 8, ["type", "modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : B("", !0),
2137
+ w(v) ? (p(), F("span", As, D(V(v)), 1)) : B("", !0),
2138
+ Q(v, "switch") ? (p(), A(N, {
892
2139
  key: 2,
893
- modelValue: o[b.prop],
894
- "onUpdate:modelValue": (y) => o[b.prop] = y
895
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : j("", !0),
896
- G(b, "datepicker") ? (a(), w(x, {
2140
+ modelValue: r[v.prop],
2141
+ "onUpdate:modelValue": (b) => r[v.prop] = b
2142
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : B("", !0),
2143
+ Q(v, "datepicker") ? (p(), A(u, {
897
2144
  key: 3,
898
2145
  type: "date",
899
- modelValue: o[b.prop],
900
- "onUpdate:modelValue": (y) => o[b.prop] = y
901
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : j("", !0),
902
- G(b, "select") && d.mode !== "view" ? (a(), w(I, {
2146
+ modelValue: r[v.prop],
2147
+ "onUpdate:modelValue": (b) => r[v.prop] = b
2148
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : B("", !0),
2149
+ Q(v, "select") && S.mode !== "view" ? (p(), A(g, {
903
2150
  key: 4,
904
- modelValue: o[b.prop],
905
- "onUpdate:modelValue": (y) => o[b.prop] = y,
906
- disabled: C(b)
2151
+ modelValue: r[v.prop],
2152
+ "onUpdate:modelValue": (b) => r[v.prop] = b,
2153
+ disabled: K(v),
2154
+ onChange: (b) => ne(v)
907
2155
  }, {
908
- default: r(() => {
909
- var y, U;
2156
+ default: m(() => {
2157
+ var b, f;
910
2158
  return [
911
- (a(!0), S(ee, null, se((U = (y = b.formItemAttributes) == null ? void 0 : y.selectAttributes) == null ? void 0 : U.options, (K) => (a(), w(W, {
912
- value: K.value,
913
- label: K.label
2159
+ (p(!0), F(oe, null, ce((f = (b = v.formItemAttributes) == null ? void 0 : b.selectAttributes) == null ? void 0 : f.options, (C) => (p(), A(c, {
2160
+ value: C.value,
2161
+ label: C.label
914
2162
  }, null, 8, ["value", "label"]))), 256))
915
2163
  ];
916
2164
  }),
917
2165
  _: 2
918
- }, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])) : j("", !0)
2166
+ }, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])) : B("", !0)
919
2167
  ];
920
2168
  }),
921
2169
  _: 2
@@ -923,11 +2171,11 @@ const Be = (s) => {
923
2171
  ]),
924
2172
  _: 1
925
2173
  }, 8, ["model", "rules"])), [
926
- [D, l.value]
2174
+ [q, l.value]
927
2175
  ]);
928
2176
  };
929
2177
  }
930
- }), Je = /* @__PURE__ */ re(So, [["__scopeId", "data-v-630539a5"]]), Mo = { class: "dialog-footer" }, Qo = { class: "operation-button-wrapper" }, xo = /* @__PURE__ */ ce({
2178
+ }), ao = /* @__PURE__ */ ue(Vs, [["__scopeId", "data-v-aeba890e"]]), Ms = { class: "dialog-footer" }, Us = { class: "operation-button-wrapper" }, Ts = /* @__PURE__ */ _e({
931
2179
  __name: "FormDialog",
932
2180
  props: {
933
2181
  id: {},
@@ -936,56 +2184,59 @@ const Be = (s) => {
936
2184
  visible: { type: Boolean },
937
2185
  afterSubmitFunc: { type: Function }
938
2186
  },
939
- emits: ["update:visible"],
940
- setup(s, { expose: t, emit: e }) {
941
- const { t: n } = _e(), o = s, l = e, m = A();
942
- function u() {
943
- m.value && m.value.refresh();
2187
+ emits: ["update:visible", "update:id"],
2188
+ setup(e, { expose: o, emit: t }) {
2189
+ const { t: n } = Be(), s = e, r = I(0), l = t, a = I();
2190
+ Se(() => s.visible, () => {
2191
+ s.visible && r.value++;
2192
+ });
2193
+ function i() {
2194
+ a.value && a.value.refresh();
944
2195
  }
945
- function h() {
946
- l("update:visible", !1), m.value.reset();
2196
+ function d() {
2197
+ l("update:visible", !1), a.value.reset();
947
2198
  }
948
- function O() {
949
- m.value.submit();
2199
+ function w() {
2200
+ a.value.submit();
950
2201
  }
951
- return t({
952
- close: h,
953
- refresh: u
954
- }), (Q, F) => {
955
- const V = v("el-button"), q = v("el-dialog");
956
- return a(), w(q, {
2202
+ return o({
2203
+ close: d,
2204
+ refresh: i
2205
+ }), (y, M) => {
2206
+ const U = x("el-button"), L = x("el-dialog");
2207
+ return p(), A(L, {
957
2208
  title: "Edit",
958
- "model-value": o.visible,
2209
+ "model-value": s.visible,
959
2210
  width: "800px",
960
- onClose: h
2211
+ onClose: d
961
2212
  }, {
962
- footer: r(() => {
963
- var X;
2213
+ footer: m(() => {
2214
+ var P;
964
2215
  return [
965
- c("div", Mo, [
966
- c("div", Qo, [
967
- (a(!0), S(ee, null, se((X = o.model.formConfig) == null ? void 0 : X.dialogButtons, (P) => (a(), w(V, {
968
- onClick: (M) => P.function(m.value.formData)
2216
+ k("div", Ms, [
2217
+ k("div", Us, [
2218
+ (p(!0), F(oe, null, ce((P = s.model.formConfig) == null ? void 0 : P.dialogButtons, (j) => (p(), A(U, {
2219
+ onClick: (V) => j.function(a.value.formData)
969
2220
  }, {
970
- default: r(() => [
971
- z(_(g(n)(P.label)), 1)
2221
+ default: m(() => [
2222
+ Y(D(O(n)(j.label)), 1)
972
2223
  ]),
973
2224
  _: 2
974
2225
  }, 1032, ["onClick"]))), 256))
975
2226
  ]),
976
- c("div", null, [
977
- p(V, { onClick: h }, {
978
- default: r(() => [
979
- z(_(g(n)("common.basic.cancel")), 1)
2227
+ k("div", null, [
2228
+ _(U, { onClick: d }, {
2229
+ default: m(() => [
2230
+ Y(D(O(n)("common.basic.cancel")), 1)
980
2231
  ]),
981
2232
  _: 1
982
2233
  }),
983
- p(V, {
2234
+ _(U, {
984
2235
  type: "primary",
985
- onClick: O
2236
+ onClick: w
986
2237
  }, {
987
- default: r(() => [
988
- z(_(g(n)("common.basic.save")), 1)
2238
+ default: m(() => [
2239
+ Y(D(O(n)("common.basic.save")), 1)
989
2240
  ]),
990
2241
  _: 1
991
2242
  })
@@ -993,338 +2244,348 @@ const Be = (s) => {
993
2244
  ])
994
2245
  ];
995
2246
  }),
996
- default: r(() => [
997
- p(Je, {
2247
+ default: m(() => [
2248
+ _(ao, {
998
2249
  ref_key: "formViewRef",
999
- ref: m,
1000
- id: o.id,
1001
- mode: o.mode,
1002
- model: o.model,
1003
- afterSubmitFunc: o.afterSubmitFunc,
1004
- closeDialogFunc: h
1005
- }, null, 8, ["id", "mode", "model", "afterSubmitFunc"])
2250
+ ref: a,
2251
+ id: s.id,
2252
+ sessionId: r.value,
2253
+ mode: s.mode,
2254
+ model: s.model,
2255
+ afterSubmitFunc: s.afterSubmitFunc,
2256
+ closeDialogFunc: d
2257
+ }, null, 8, ["id", "sessionId", "mode", "model", "afterSubmitFunc"])
1006
2258
  ]),
1007
2259
  _: 1
1008
2260
  }, 8, ["model-value"]);
1009
2261
  };
1010
2262
  }
1011
- }), ze = /* @__PURE__ */ re(xo, [["__scopeId", "data-v-d2cd2145"]]), Bo = { class: "toolbar" }, Uo = { class: "tool-buttons" }, Oo = { class: "tool-buttons" }, Go = { key: 1 }, Ro = /* @__PURE__ */ ce({
2263
+ }), lo = /* @__PURE__ */ ue(Ts, [["__scopeId", "data-v-d1628662"]]), Ds = { class: "toolbar" }, Rs = { class: "tool-buttons" }, Fs = { class: "tool-buttons" }, Gs = { key: 2 }, Ls = /* @__PURE__ */ _e({
1012
2264
  __name: "TableView",
1013
2265
  props: {
1014
2266
  model: {}
1015
2267
  },
1016
- setup(s, { expose: t }) {
1017
- const { t: e } = Se.global, n = s, o = le([]), l = le({
2268
+ setup(e, { expose: o }) {
2269
+ const { t } = et.global, n = e, s = re([]), r = re({
1018
2270
  showPane: !0
1019
- }), m = A(""), u = A(!0), h = A(!1), O = xe(), Q = A(""), F = le([]), V = le([]), q = A(), X = A([]), P = A("create"), M = A(!0), C = A(!1), $ = A(""), G = le({
2271
+ }), l = I(""), a = I(!0), i = I(!1), d = nt(), w = I(""), y = re([]), M = re([]), U = I(), L = I([]), P = I("create"), j = I(!0), V = I(!1), K = I(""), z = re({
1020
2272
  pageSize: 10,
1021
2273
  pageNo: 1,
1022
2274
  totalElements: 0
1023
- }), d = Qe(() => o.filter(
1024
- (i) => {
1025
- var f, R;
1026
- return ((f = i.formItemAttributes) == null ? void 0 : f.type) !== "password" && i.visible !== !1 && ((R = i.tableColumnAttributes) == null ? void 0 : R.visible) !== !1;
2275
+ }), Q = Te(() => s.filter(
2276
+ (f) => {
2277
+ var C, G;
2278
+ return ((C = f.formItemAttributes) == null ? void 0 : C.type) !== "password" && f.visible !== !1 && ((G = f.tableColumnAttributes) == null ? void 0 : G.visible) !== !1;
1027
2279
  }
1028
2280
  ));
1029
- function L(i, f) {
1030
- var te, oe, ge, de;
1031
- let R = f.row[i.prop];
1032
- const J = (oe = (te = i.tableColumnAttributes) == null ? void 0 : te.functions) == null ? void 0 : oe.transformValue, N = (ge = i.tableColumnAttributes) == null ? void 0 : ge.transformValueMappings;
1033
- if (J)
1034
- R = J(R);
1035
- else if (N && N.length > 0) {
1036
- for (let ae of N)
1037
- if (R === ae.value) {
1038
- R = e(ae.label);
2281
+ function ne(f, C) {
2282
+ var ae, fe, le, ie;
2283
+ let G = C.row[f.prop];
2284
+ const X = (fe = (ae = f.tableColumnAttributes) == null ? void 0 : ae.functions) == null ? void 0 : fe.transformValue, W = (le = f.tableColumnAttributes) == null ? void 0 : le.transformValueMappings;
2285
+ if (X)
2286
+ G = X(G);
2287
+ else if (W && W.length > 0) {
2288
+ for (let Z of W)
2289
+ if (G === Z.value) {
2290
+ G = t(Z.label);
1039
2291
  break;
1040
2292
  }
1041
- } else if (((de = i.formItemAttributes) == null ? void 0 : de.type) === "select") {
1042
- const ae = i.formItemAttributes.selectAttributes;
1043
- if (ae) {
1044
- if (ae.viewModeLabelField)
1045
- R = f.row[ae.viewModeLabelField];
1046
- else if (ae.options && ae.options.length > 0) {
1047
- for (let Z of ae.options)
1048
- if (Z.value === f.row[i.prop]) {
1049
- R = Z.label;
2293
+ } else if (((ie = f.formItemAttributes) == null ? void 0 : ie.type) === "select") {
2294
+ const Z = f.formItemAttributes.selectAttributes;
2295
+ if (Z) {
2296
+ if (Z.viewModeLabelField)
2297
+ G = C.row[Z.viewModeLabelField];
2298
+ else if (Z.options && Z.options.length > 0) {
2299
+ for (let J of Z.options)
2300
+ if (J.value === C.row[f.prop]) {
2301
+ G = J.label;
1050
2302
  break;
1051
2303
  }
1052
2304
  }
1053
2305
  }
1054
2306
  }
1055
- return R;
2307
+ return G;
1056
2308
  }
1057
- function k(i, f) {
1058
- var R, J;
1059
- return i.label ? e(i.label) : (J = (R = i.functions) == null ? void 0 : R.transformLabel) == null ? void 0 : J.call(R, f.$index, f.row);
2309
+ function S(f, C) {
2310
+ var G, X;
2311
+ return f.label ? t(f.label) : (X = (G = f.functions) == null ? void 0 : G.transformLabel) == null ? void 0 : X.call(G, C.$index, C.row);
1060
2312
  }
1061
- function H(i) {
1062
- Object.assign(n.model, i);
2313
+ function h(f) {
2314
+ ze(n.model), Object.assign(n.model, f);
1063
2315
  }
1064
- function x() {
1065
- var f, R, J;
1066
- if (M.value = !0, !n.model || !n.model.api)
2316
+ function $() {
2317
+ var C, G, X;
2318
+ if (j.value = !0, !n.model || !n.model.api)
1067
2319
  return;
1068
- Be(l), l.showPane = !0, Object.assign(l, (f = n.model.tableConfig) != null ? f : {}), o.splice(0, o.length, ...n.model.fields), m.value = (R = n.model.route) != null ? R : "", u.value = (J = n.model.useI18n) != null ? J : !0;
1069
- let i = Ie({}, l.queryParams);
1070
- i.pageSize = G.pageSize, i.pageNo = G.pageNo, i.search = Q.value, be(n.model.api, "GET", i).then(({ data: N }) => {
1071
- const { list: te, totalCount: oe } = N.data;
1072
- F.splice(0, F.length, ...te), G.totalElements = oe, M.value = !1;
2320
+ ze(r), r.showPane = !0, Object.assign(r, (C = n.model.tableConfig) != null ? C : {}), s.splice(0, s.length, ...n.model.fields), l.value = (G = n.model.route) != null ? G : "", a.value = (X = n.model.useI18n) != null ? X : !0;
2321
+ let f = He({}, r.queryParams);
2322
+ f.pageSize = z.pageSize, f.pageNo = z.pageNo, f.search = w.value, ke(n.model.api, "GET", f).then(({ data: W }) => {
2323
+ const { list: ae, totalCount: fe } = W.data;
2324
+ y.splice(0, y.length, ...ae), z.totalElements = fe, j.value = !1;
1073
2325
  });
1074
2326
  }
1075
- function W() {
1076
- var i, f;
1077
- l.createPageRoutePath !== void 0 ? O.push(l.createPageRoutePath) : ((i = l.functions) == null ? void 0 : i.create) !== void 0 ? (f = l.functions) == null || f.create() : (P.value = "create", $.value = "", h.value = !0);
2327
+ function N() {
2328
+ var f, C;
2329
+ r.createPageRoutePath !== void 0 ? d.push(r.createPageRoutePath) : ((f = r.functions) == null ? void 0 : f.create) !== void 0 ? (C = r.functions) == null || C.create() : (P.value = "create", K.value = "", i.value = !0);
1078
2330
  }
1079
- function I(i, f) {
1080
- n.model.api && be(n.model.api, "DELETE", f.id).then(({ data: R }) => {
1081
- R.code === 0 && (h.value = !1, x());
2331
+ function u(f, C) {
2332
+ n.model.api && ke(n.model.api, "DELETE", C.id).then(({ data: G }) => {
2333
+ G.code === 0 && (i.value = !1, $());
1082
2334
  });
1083
2335
  }
1084
- function E() {
1085
- nt.confirm(
2336
+ function c() {
2337
+ So.confirm(
1086
2338
  "The selected items will be deleted. Continue?",
1087
- e("common.table.warning"),
2339
+ t("common.table.warning"),
1088
2340
  {
1089
- confirmButtonText: e("common.basic.confirm"),
1090
- cancelButtonText: e("common.basic.cancel"),
2341
+ confirmButtonText: t("common.basic.confirm"),
2342
+ cancelButtonText: t("common.basic.cancel"),
1091
2343
  type: "warning"
1092
2344
  }
1093
2345
  ).then(() => {
1094
- var i, f;
1095
- if (((i = l.functions) == null ? void 0 : i.batchDelete) !== void 0)
1096
- (f = l.functions) == null || f.batchDelete(X.value);
2346
+ var f, C;
2347
+ if (((f = r.functions) == null ? void 0 : f.batchDelete) !== void 0)
2348
+ (C = r.functions) == null || C.batchDelete(L.value);
1097
2349
  else {
1098
- const R = X.value.map((J) => J.id);
1099
- ie.delete(`${n.model.api}/${R.join(",")}`).then(({ data: J }) => {
1100
- J.code === 0 && (h.value = !1, x());
2350
+ const G = L.value.map((X) => X.id);
2351
+ pe.delete(`${n.model.api}/${G.join(",")}`).then(({ data: X }) => {
2352
+ X.code === 0 && (i.value = !1, $());
1101
2353
  });
1102
2354
  }
1103
- q.value.clearSelection();
2355
+ U.value.clearSelection();
1104
2356
  }).catch(() => {
1105
- q.value.clearSelection();
2357
+ U.value.clearSelection();
1106
2358
  });
1107
2359
  }
1108
- function T(i) {
1109
- G.pageSize = i, x();
2360
+ function g(f) {
2361
+ z.pageSize = f, $();
1110
2362
  }
1111
- function D(i) {
1112
- G.pageNo = i, x();
2363
+ function E(f) {
2364
+ z.pageNo = f, $();
1113
2365
  }
1114
- function b(i, f) {
1115
- l.editPageRoutePath !== void 0 ? O.push({
1116
- path: l.editPageRoutePath,
2366
+ function R(f, C) {
2367
+ r.editPageRoutePath !== void 0 ? d.push({
2368
+ path: r.editPageRoutePath,
1117
2369
  query: {
1118
- id: f.id
2370
+ id: C.id
1119
2371
  }
1120
- }) : ($.value = f.id, P.value = "update", h.value = !0);
2372
+ }) : (K.value = C.id, P.value = "update", i.value = !0);
1121
2373
  }
1122
- function B() {
1123
- let i = window.location.origin + n.model.api + "/export";
1124
- const f = l.queryParams;
1125
- f !== void 0 && Object.keys(f).length > 0 && (i += "?", Object.entries(l.queryParams).map((R) => {
1126
- i += `${R[0]}=${R[1]}&`;
1127
- })), window.open(i);
2374
+ function q() {
2375
+ let f = window.location.origin + n.model.api + "/export";
2376
+ const C = r.queryParams;
2377
+ C !== void 0 && Object.keys(C).length > 0 && (f += "?", Object.entries(r.queryParams).map((G) => {
2378
+ f += `${G[0]}=${G[1]}&`;
2379
+ })), window.open(f);
1128
2380
  }
1129
- function y(i) {
1130
- X.value = i;
2381
+ function v(f) {
2382
+ L.value = f;
1131
2383
  }
1132
- function U(i) {
1133
- return i.label ? u.value ? e(i.label) : i.label : i.prop.slice(0, 1).toUpperCase() + i.prop.slice(1).toLowerCase();
2384
+ function T(f) {
2385
+ return f.label ? a.value ? t(f.label) : f.label : f.prop.slice(0, 1).toUpperCase() + f.prop.slice(1).toLowerCase();
1134
2386
  }
1135
- function K(i) {
1136
- i ? (C.value = !0, V.splice(0, V.length, ...F), F.splice(0, F.length, ...X.value)) : (C.value = !1, F.splice(0, F.length, ...V));
2387
+ function b(f) {
2388
+ f ? (V.value = !0, M.splice(0, M.length, ...y), y.splice(0, y.length, ...L.value)) : (V.value = !1, y.splice(0, y.length, ...M));
1137
2389
  }
1138
- return he(() => n.model, () => {
1139
- x();
2390
+ return Se(() => n.model, () => {
2391
+ $();
1140
2392
  }, {
1141
2393
  deep: !0,
1142
2394
  immediate: !0
1143
- }), t({
1144
- multipleSelection: X,
1145
- refresh: x,
1146
- updateConfigAndRefresh: H
1147
- }), (i, f) => {
1148
- const R = v("el-checkbox"), J = v("el-badge"), N = v("el-button"), te = v("el-icon"), oe = v("el-tooltip"), ge = v("el-input"), de = v("el-table-column"), ae = v("router-link"), Z = v("el-tag"), pe = v("el-popconfirm"), ue = v("el-table"), we = v("el-pagination"), Ne = Ke("loading");
1149
- return a(), S("div", {
1150
- class: Te({ "table-view-wrapper": l.showPane })
2395
+ }), o({
2396
+ multipleSelection: L,
2397
+ refresh: $,
2398
+ updateConfigAndRefresh: h
2399
+ }), (f, C) => {
2400
+ const G = x("el-checkbox"), X = x("el-badge"), W = x("el-button"), ae = x("el-icon"), fe = x("el-tooltip"), le = x("el-input"), ie = x("el-table-column"), Z = x("router-link"), J = x("el-tag"), ge = x("el-popconfirm"), ve = x("el-table"), De = x("el-pagination"), io = Mt("loading");
2401
+ return p(), F("div", {
2402
+ class: Vt({ "table-view-wrapper": r.showPane })
1151
2403
  }, [
1152
- c("div", Bo, [
1153
- c("div", Uo, [
1154
- l.selectMode ? (a(), w(J, {
2404
+ k("div", Ds, [
2405
+ k("div", Rs, [
2406
+ r.selectMode ? (p(), A(X, {
1155
2407
  key: 0,
1156
- value: X.value.length,
2408
+ value: L.value.length,
1157
2409
  type: "primary",
1158
2410
  class: "selected-badge"
1159
2411
  }, {
1160
- default: r(() => [
1161
- p(R, {
2412
+ default: m(() => [
2413
+ _(G, {
1162
2414
  class: "selected-checkbox",
1163
2415
  border: !0,
1164
- label: g(e)("common.table.viewSelected"),
1165
- onChange: K
2416
+ label: O(t)("common.table.viewSelected"),
2417
+ onChange: b
1166
2418
  }, null, 8, ["label"])
1167
2419
  ]),
1168
2420
  _: 1
1169
- }, 8, ["value"])) : j("", !0),
1170
- !l.selectMode && !l.readOnly ? (a(), w(N, {
2421
+ }, 8, ["value"])) : B("", !0),
2422
+ !r.selectMode && !r.readOnly ? (p(), A(W, {
1171
2423
  key: 1,
1172
2424
  type: "primary",
1173
- onClick: W
2425
+ onClick: N
1174
2426
  }, {
1175
- default: r(() => {
1176
- var ne, Y;
2427
+ default: m(() => {
2428
+ var se, H;
1177
2429
  return [
1178
- z(_(((ne = l.labels) == null ? void 0 : ne.create) != null ? g(e)((Y = l.labels) == null ? void 0 : Y.create) : g(e)("common.table.create")), 1)
2430
+ Y(D(((se = r.labels) == null ? void 0 : se.create) != null ? O(t)((H = r.labels) == null ? void 0 : H.create) : O(t)("common.table.create")), 1)
1179
2431
  ];
1180
2432
  }),
1181
2433
  _: 1
1182
- })) : j("", !0),
1183
- !l.selectMode && !l.readOnly ? (a(), w(N, {
2434
+ })) : B("", !0),
2435
+ !r.selectMode && !r.readOnly ? (p(), A(W, {
1184
2436
  key: 2,
1185
- disabled: X.value.length == 0,
2437
+ disabled: L.value.length == 0,
1186
2438
  type: "danger",
1187
2439
  plain: "",
1188
- onClick: E
2440
+ onClick: c
1189
2441
  }, {
1190
- default: r(() => {
1191
- var ne, Y;
2442
+ default: m(() => {
2443
+ var se, H;
1192
2444
  return [
1193
- z(_(((ne = l.labels) == null ? void 0 : ne.delete) != null ? g(e)((Y = l.labels) == null ? void 0 : Y.delete) : g(e)("common.table.delete")), 1)
2445
+ Y(D(((se = r.labels) == null ? void 0 : se.delete) != null ? O(t)((H = r.labels) == null ? void 0 : H.delete) : O(t)("common.table.delete")), 1)
1194
2446
  ];
1195
2447
  }),
1196
2448
  _: 1
1197
- }, 8, ["disabled"])) : j("", !0),
1198
- p(N, {
1199
- icon: g(Le),
1200
- onClick: x
2449
+ }, 8, ["disabled"])) : B("", !0),
2450
+ _(W, {
2451
+ icon: O(Tt),
2452
+ onClick: $
1201
2453
  }, null, 8, ["icon"]),
1202
- l.tooltip ? (a(), w(oe, {
2454
+ r.tooltip ? (p(), A(fe, {
1203
2455
  key: 3,
1204
2456
  effect: "dark",
1205
- content: g(e)(l.tooltip),
2457
+ content: O(t)(r.tooltip),
1206
2458
  placement: "right"
1207
2459
  }, {
1208
- default: r(() => [
1209
- p(te, { style: { color: "#8ba74f" } }, {
1210
- default: r(() => [
1211
- p(g(it))
2460
+ default: m(() => [
2461
+ _(ae, { style: { color: "#8ba74f" } }, {
2462
+ default: m(() => [
2463
+ _(O(Eo))
1212
2464
  ]),
1213
2465
  _: 1
1214
2466
  })
1215
2467
  ]),
1216
2468
  _: 1
1217
- }, 8, ["content"])) : j("", !0)
2469
+ }, 8, ["content"])) : B("", !0)
1218
2470
  ]),
1219
- c("div", Oo, [
1220
- l.export ? (a(), w(N, {
2471
+ k("div", Fs, [
2472
+ r.export ? (p(), A(W, {
1221
2473
  key: 0,
1222
2474
  class: "button-export",
1223
- onClick: B
2475
+ onClick: q
1224
2476
  }, {
1225
- default: r(() => [
1226
- p(te, null, {
1227
- default: r(() => [
1228
- p(g(ct))
2477
+ default: m(() => [
2478
+ _(ae, null, {
2479
+ default: m(() => [
2480
+ _(O(xo))
1229
2481
  ]),
1230
2482
  _: 1
1231
2483
  })
1232
2484
  ]),
1233
2485
  _: 1
1234
- })) : j("", !0),
1235
- p(ge, {
1236
- placeholder: `${g(e)("common.table.search")}...`,
1237
- modelValue: Q.value,
1238
- "onUpdate:modelValue": f[0] || (f[0] = (ne) => Q.value = ne)
2486
+ })) : B("", !0),
2487
+ _(le, {
2488
+ placeholder: `${O(t)("common.table.search")}...`,
2489
+ modelValue: w.value,
2490
+ "onUpdate:modelValue": C[0] || (C[0] = (se) => w.value = se)
1239
2491
  }, {
1240
- append: r(() => [
1241
- p(N, {
2492
+ append: m(() => [
2493
+ _(W, {
1242
2494
  style: { "margin-left": "-20px" },
1243
- icon: g(dt),
1244
- onClick: x
2495
+ icon: O($o),
2496
+ onClick: $
1245
2497
  }, null, 8, ["icon"])
1246
2498
  ]),
1247
2499
  _: 1
1248
2500
  }, 8, ["placeholder", "modelValue"])
1249
2501
  ])
1250
2502
  ]),
1251
- Pe((a(), w(ue, {
2503
+ Ut((p(), A(ve, {
1252
2504
  border: !0,
1253
2505
  ref_key: "tableRef",
1254
- ref: q,
1255
- data: F,
1256
- onSelectionChange: y,
2506
+ ref: U,
2507
+ data: y,
2508
+ onSelectionChange: v,
1257
2509
  class: "table"
1258
2510
  }, {
1259
- default: r(() => {
1260
- var ne;
2511
+ default: m(() => {
2512
+ var se;
1261
2513
  return [
1262
- l.readOnly ? j("", !0) : (a(), w(de, {
2514
+ r.readOnly ? B("", !0) : (p(), A(ie, {
1263
2515
  key: 0,
1264
2516
  type: "selection",
1265
2517
  width: "50"
1266
2518
  })),
1267
- (a(!0), S(ee, null, se(d.value, (Y) => {
1268
- var me;
1269
- return a(), w(de, {
1270
- prop: Y.prop,
1271
- label: U(Y),
1272
- width: (me = Y.tableColumnAttributes) == null ? void 0 : me.width,
2519
+ (p(!0), F(oe, null, ce(Q.value, (H) => {
2520
+ var Ce;
2521
+ return p(), A(ie, {
2522
+ prop: H.prop,
2523
+ label: T(H),
2524
+ width: (Ce = H.tableColumnAttributes) == null ? void 0 : Ce.width,
1273
2525
  "show-overflow-tooltip": ""
1274
2526
  }, {
1275
- default: r((ye) => {
1276
- var ve, Ae;
2527
+ default: m((Ee) => {
2528
+ var xe, Re, bt;
1277
2529
  return [
1278
- (ve = Y.tableColumnAttributes) != null && ve.link ? (a(), w(ae, {
2530
+ (xe = H.tableColumnAttributes) != null && xe.link ? (p(), A(Z, {
1279
2531
  key: 0,
1280
2532
  class: "router-link",
1281
- to: `/${m.value}/detail?id=${ye.row.id}`
2533
+ to: `/${l.value}/detail?id=${Ee.row.id}`
1282
2534
  }, {
1283
- default: r(() => [
1284
- c("span", null, _(L(Y, ye)), 1)
2535
+ default: m(() => [
2536
+ k("span", null, D(ne(H, Ee)), 1)
1285
2537
  ]),
1286
2538
  _: 2
1287
- }, 1032, ["to"])) : (a(), S("span", Go, _(L(Y, ye)), 1)),
1288
- ((Ae = Y.tableColumnAttributes) == null ? void 0 : Ae.type) === "tag" ? (a(), w(Z, { key: 2 }, {
1289
- default: r(() => [
1290
- z(_(ye.row[Y.prop]), 1)
2539
+ }, 1032, ["to"])) : (Re = H.tableColumnAttributes) != null && Re.routerLink ? (p(), A(Z, {
2540
+ key: 1,
2541
+ class: "router-link",
2542
+ to: H.tableColumnAttributes.routerLink.replace("{id}", Ee.row.id)
2543
+ }, {
2544
+ default: m(() => [
2545
+ k("span", null, D(ne(H, Ee)), 1)
1291
2546
  ]),
1292
2547
  _: 2
1293
- }, 1024)) : j("", !0)
2548
+ }, 1032, ["to"])) : (p(), F("span", Gs, D(ne(H, Ee)), 1)),
2549
+ ((bt = H.tableColumnAttributes) == null ? void 0 : bt.type) === "tag" ? (p(), A(J, { key: 3 }, {
2550
+ default: m(() => [
2551
+ Y(D(Ee.row[H.prop]), 1)
2552
+ ]),
2553
+ _: 2
2554
+ }, 1024)) : B("", !0)
1294
2555
  ];
1295
2556
  }),
1296
2557
  _: 2
1297
2558
  }, 1032, ["prop", "label", "width"]);
1298
2559
  }), 256)),
1299
- l.operations === void 0 && !((ne = l.selectMode) != null && ne) && !l.readOnly ? (a(), w(de, {
2560
+ r.operations === void 0 && !((se = r.selectMode) != null && se) && !r.readOnly ? (p(), A(ie, {
1300
2561
  key: 1,
1301
- label: g(e)("common.table.operation"),
2562
+ label: O(t)("common.table.operation"),
1302
2563
  width: "120"
1303
2564
  }, {
1304
- default: r((Y) => [
1305
- p(N, {
2565
+ default: m((H) => [
2566
+ _(W, {
1306
2567
  link: "",
1307
2568
  type: "primary",
1308
2569
  class: "operation-button",
1309
- onClick: (me) => b(Y.$index, Y.row)
2570
+ onClick: (Ce) => R(H.$index, H.row)
1310
2571
  }, {
1311
- default: r(() => [
1312
- z(_(g(e)("common.table.edit")), 1)
2572
+ default: m(() => [
2573
+ Y(D(O(t)("common.table.edit")), 1)
1313
2574
  ]),
1314
2575
  _: 2
1315
2576
  }, 1032, ["onClick"]),
1316
- p(pe, {
2577
+ _(ge, {
1317
2578
  title: "Are you sure to delete this?",
1318
- onConfirm: (me) => I(Y.$index, Y.row)
2579
+ onConfirm: (Ce) => u(H.$index, H.row)
1319
2580
  }, {
1320
- reference: r(() => [
1321
- p(N, {
2581
+ reference: m(() => [
2582
+ _(W, {
1322
2583
  link: "",
1323
2584
  type: "primary",
1324
2585
  class: "operation-button"
1325
2586
  }, {
1326
- default: r(() => [
1327
- z(_(g(e)("common.table.delete")), 1)
2587
+ default: m(() => [
2588
+ Y(D(O(t)("common.table.delete")), 1)
1328
2589
  ]),
1329
2590
  _: 1
1330
2591
  })
@@ -1333,173 +2594,183 @@ const Be = (s) => {
1333
2594
  }, 1032, ["onConfirm"])
1334
2595
  ]),
1335
2596
  _: 1
1336
- }, 8, ["label"])) : j("", !0),
1337
- l.operations !== void 0 && !l.readOnly ? (a(), w(de, {
2597
+ }, 8, ["label"])) : B("", !0),
2598
+ r.operations !== void 0 && !r.readOnly ? (p(), A(ie, {
1338
2599
  key: 2,
1339
- label: g(e)("common.table.operation"),
2600
+ label: O(t)("common.table.operation"),
1340
2601
  width: "120"
1341
2602
  }, {
1342
- default: r((Y) => [
1343
- (a(!0), S(ee, null, se(l.operations, (me) => (a(), w(N, {
2603
+ default: m((H) => [
2604
+ (p(!0), F(oe, null, ce(r.operations, (Ce) => (p(), A(W, {
1344
2605
  class: "operation-button",
1345
2606
  link: "",
1346
2607
  type: "primary",
1347
- key: me.label,
1348
- onClick: (ye) => {
1349
- var ve, Ae;
1350
- return ((Ae = (ve = me.functions) == null ? void 0 : ve.click) == null ? void 0 : Ae.call(ve, Y.$index, Y.row)) && x();
2608
+ key: Ce.label,
2609
+ onClick: (Ee) => {
2610
+ var xe, Re;
2611
+ return ((Re = (xe = Ce.functions) == null ? void 0 : xe.click) == null ? void 0 : Re.call(xe, H.$index, H.row)) && $();
1351
2612
  }
1352
2613
  }, {
1353
- default: r(() => [
1354
- z(_(k(me, Y)), 1)
2614
+ default: m(() => [
2615
+ Y(D(S(Ce, H)), 1)
1355
2616
  ]),
1356
2617
  _: 2
1357
2618
  }, 1032, ["onClick"]))), 128))
1358
2619
  ]),
1359
2620
  _: 1
1360
- }, 8, ["label"])) : j("", !0)
2621
+ }, 8, ["label"])) : B("", !0)
1361
2622
  ];
1362
2623
  }),
1363
2624
  _: 1
1364
2625
  }, 8, ["data"])), [
1365
- [Ne, M.value]
2626
+ [io, j.value]
1366
2627
  ]),
1367
- C.value ? j("", !0) : (a(), w(we, {
2628
+ V.value ? B("", !0) : (p(), A(De, {
1368
2629
  key: 0,
1369
2630
  size: "small",
1370
2631
  background: "",
1371
- onSizeChange: T,
1372
- onCurrentChange: D,
1373
- currentPage: G.pageNo,
1374
- "onUpdate:currentPage": f[1] || (f[1] = (ne) => G.pageNo = ne),
2632
+ onSizeChange: g,
2633
+ onCurrentChange: E,
2634
+ currentPage: z.pageNo,
2635
+ "onUpdate:currentPage": C[1] || (C[1] = (se) => z.pageNo = se),
1375
2636
  "page-sizes": [10, 20, 50, 100],
1376
- "page-size": G.pageSize,
2637
+ "page-size": z.pageSize,
1377
2638
  layout: "total, sizes, prev, pager, next",
1378
- total: G.totalElements
2639
+ total: z.totalElements
1379
2640
  }, null, 8, ["currentPage", "page-size", "total"])),
1380
- p(ze, {
1381
- model: i.model,
2641
+ _(lo, {
2642
+ model: f.model,
1382
2643
  mode: P.value,
1383
- id: $.value,
1384
- afterSubmitFunc: x,
1385
- visible: h.value,
1386
- "onUpdate:visible": f[2] || (f[2] = (ne) => h.value = ne)
2644
+ id: K.value,
2645
+ afterSubmitFunc: $,
2646
+ visible: i.value,
2647
+ "onUpdate:visible": C[2] || (C[2] = (se) => i.value = se)
1387
2648
  }, null, 8, ["model", "mode", "id", "visible"])
1388
2649
  ], 2);
1389
2650
  };
1390
2651
  }
1391
- }), Me = /* @__PURE__ */ re(Ro, [["__scopeId", "data-v-7988ad4e"]]), Fo = { class: "nav-bar" }, Do = {
2652
+ }), ot = /* @__PURE__ */ ue(Ls, [["__scopeId", "data-v-c534121e"]]), js = { class: "nav-bar" }, zs = {
1392
2653
  key: 0,
1393
2654
  class: "info-card-wrapper"
1394
- }, Vo = { class: "icon-wrapper" }, To = { class: "info-wrapper" }, Ko = { class: "title-wrapper" }, Po = { class: "tabs-wrapper" }, Lo = { class: "dialog-footer" }, jo = /* @__PURE__ */ ce({
2655
+ }, qs = { class: "icon-wrapper" }, Bs = { class: "info-wrapper" }, Hs = { class: "title-wrapper" }, Js = { class: "tabs-wrapper" }, Ws = { class: "dialog-footer" }, Ys = /* @__PURE__ */ _e({
1395
2656
  __name: "DetailPage",
1396
- setup(s) {
1397
- const { t } = _e(), e = ke(), n = xe(), o = Qe(() => e.query.id), l = A(!1), m = A(!1), u = A("view"), h = A(), O = le([]), Q = A(-1), F = A(), V = A(), q = A("summary"), X = A(""), P = A(""), M = A(""), C = le({
2657
+ setup(e) {
2658
+ const { t: o } = Be(), t = qe(), n = nt(), s = Te(() => t.query.id), r = I(!1), l = I(!1), a = I("view"), i = I(), d = I(-1), w = I(), y = I(), M = I("summary"), U = I(""), L = I(""), P = I(""), j = I(0), V = re({
1398
2659
  api: "",
1399
2660
  fields: []
1400
- }), $ = le([]);
1401
- let G = [];
1402
- he(() => n.currentRoute.value, () => {
1403
- H();
2661
+ }), K = re([]);
2662
+ let z = [];
2663
+ Se([
2664
+ () => n.currentRoute.value,
2665
+ he
2666
+ ], () => {
2667
+ h();
1404
2668
  }, {
1405
- immediate: !0
2669
+ immediate: !0,
2670
+ deep: !0
1406
2671
  });
1407
- function d(I) {
1408
- Q.value = parseInt(I.index) - 1;
2672
+ function Q(u) {
2673
+ d.value = parseInt(u.index) - 1;
1409
2674
  }
1410
- function L() {
1411
- let I = G[Q.value].api.replace("/select", "");
1412
- I = I.substring(I.lastIndexOf("/"));
1413
- const E = C.api + "/" + o.value + I, T = V.value.multipleSelection.map((D) => D.id);
1414
- be(E, "POST", T).then(() => {
1415
- F.value.refresh(), m.value = !1;
2675
+ function ne() {
2676
+ var E;
2677
+ let u = (E = z[d.value].api) == null ? void 0 : E.replace("/select", "");
2678
+ u = u == null ? void 0 : u.substring(u.lastIndexOf("/"));
2679
+ const c = V.api + "/" + s.value + u, g = y.value.multipleSelection.map((R) => R.id);
2680
+ ke(c, "POST", g).then(() => {
2681
+ w.value.refresh(), l.value = !1;
1416
2682
  });
1417
2683
  }
1418
- function k(I, E, T) {
1419
- var B;
1420
- T.functions || (T.functions = {}), T.functions.create = () => {
1421
- m.value = !0, V.value && V.value.refresh();
2684
+ function S(u, c, g) {
2685
+ var q;
2686
+ g.functions || (g.functions = {}), g.functions.create = () => {
2687
+ l.value = !0, y.value && y.value.refresh();
1422
2688
  };
1423
- let D = Ce(E);
1424
- D.tableConfig || (D.tableConfig = {}), D.tableConfig.selectMode = !0, D.tableConfig.queryParams = {}, I.queryParamName && (D.tableConfig.queryParams[I.queryParamName] = o.value);
1425
- for (var b in D.fields)
1426
- D.fields[b].tableColumnAttributes && (B = D.fields[b].tableColumnAttributes) != null && B.link && (D.fields[b].tableColumnAttributes.link = !1);
1427
- G.push(D), T.labels = {
2689
+ let E = Ue(c);
2690
+ E.tableConfig || (E.tableConfig = {}), E.tableConfig.selectMode = !0, E.tableConfig.queryParams = {}, u.queryParamName && (E.tableConfig.queryParams[u.queryParamName] = s.value);
2691
+ for (var R in E.fields)
2692
+ E.fields[R].tableColumnAttributes && (q = E.fields[R].tableColumnAttributes) != null && q.link && (E.fields[R].tableColumnAttributes.link = !1);
2693
+ z.push(E), g.labels = {
1428
2694
  create: "common.table.add",
1429
2695
  delete: "common.table.remove"
1430
- }, T.functions.batchDelete = (y) => {
1431
- let U = G[Q.value].api.replace("/select", "");
1432
- U = U.substring(U.lastIndexOf("/"));
1433
- const K = C.api + "/" + o.value + U, i = y.map((f) => f.id);
1434
- ie.delete(`${K}/${i.join(",")}`).then(({ data: f }) => {
1435
- f.code === 0 && F.value.refresh();
2696
+ }, g.functions.batchDelete = (v) => {
2697
+ var C;
2698
+ let T = (C = z[d.value].api) == null ? void 0 : C.replace("/select", "");
2699
+ T = T == null ? void 0 : T.substring(T.lastIndexOf("/"));
2700
+ const b = V.api + "/" + s.value + T, f = v.map((G) => G.id);
2701
+ pe.delete(`${b}/${f.join(",")}`).then(({ data: G }) => {
2702
+ G.code === 0 && w.value.refresh();
1436
2703
  });
1437
- }, T.operations = [
2704
+ }, g.operations = [
1438
2705
  {
1439
2706
  label: "common.table.remove",
1440
2707
  functions: {
1441
- click: (y, U) => {
1442
- let K = G[Q.value].api.replace("/select", "");
1443
- K = K.substring(K.lastIndexOf("/"));
1444
- const i = C.api + "/" + o.value + K;
1445
- be(i, "DELETE", U.id).then(() => {
1446
- F.value.refresh();
2708
+ click: (v, T) => {
2709
+ var C;
2710
+ let b = (C = z[d.value].api) == null ? void 0 : C.replace("/select", "");
2711
+ b = b == null ? void 0 : b.substring(b.lastIndexOf("/"));
2712
+ const f = V.api + "/" + s.value + b;
2713
+ ke(f, "DELETE", T.id).then(() => {
2714
+ w.value.refresh();
1447
2715
  });
1448
2716
  }
1449
2717
  }
1450
2718
  }
1451
- ], D.api += "/select";
2719
+ ], E.api += "/select";
1452
2720
  }
1453
- function H() {
1454
- var D, b, B;
1455
- $.splice(0);
1456
- const I = e.params.model;
1457
- if (fe.value[I] === void 0)
2721
+ function h() {
2722
+ var E, R, q;
2723
+ K.splice(0);
2724
+ const u = t.params.model;
2725
+ if (he.value[u] === void 0) {
2726
+ console.warn("Detail page model not exist:", u);
1458
2727
  return;
1459
- Be(C);
1460
- const E = Ce(fe.value[I]);
1461
- Object.assign(C, E), Q.value = -1, q.value = "summary";
1462
- const T = (b = (D = C.pageConfig) == null ? void 0 : D.detailPage) == null ? void 0 : b.tabs;
1463
- if (T) {
1464
- O.splice(0, O.length, ...T);
1465
- for (let y of T) {
1466
- const U = Ce(fe.value[y.modelKey]);
1467
- if ($.push(U), y.type === "table") {
1468
- U.tableConfig || (U.tableConfig = {});
1469
- let K = U.tableConfig;
1470
- K.showPane = !1, y.modelRelationType === "associated" ? k(y, U, K) : y.modelRelationType === "child" && (U.formConfig === void 0 && (U.formConfig = {}), U.formConfig.functions === void 0 && (U.formConfig.functions = {}), y.queryParamName && (U.formConfig.functions.beforeSubmit = (i) => {
1471
- i[y.queryParamName] = o.value;
1472
- })), K.queryParams || (K.queryParams = {}), y.queryParamName && (K.queryParams[y.queryParamName] = o.value), y.queryParams && Object.assign(K.queryParams, y.queryParams), K.readOnly = (B = y.readOnly) != null ? B : !1, y.includeFields && (U.fields = U.fields.filter((i) => {
1473
- var f;
1474
- return (f = y.includeFields) == null ? void 0 : f.includes(i.prop);
1475
- })), y.excludeFields && (U.fields = U.fields.filter((i) => {
1476
- var f;
1477
- return !((f = y.excludeFields) != null && f.includes(i.prop));
1478
- })), y.tooltip && (K.tooltip = y.tooltip);
2728
+ } else
2729
+ console.debug("Detail page model found:", u, he.value[u]);
2730
+ ze(V);
2731
+ const c = Ue(he.value[u]);
2732
+ Object.assign(V, c), j.value++, d.value = -1, M.value = "summary";
2733
+ const g = (R = (E = V.pageConfig) == null ? void 0 : E.detailPage) == null ? void 0 : R.tabs;
2734
+ if (g)
2735
+ for (let v of g) {
2736
+ const T = Ue(he.value[v.modelKey]);
2737
+ if (K.push(T), v.type === "table") {
2738
+ T.tableConfig || (T.tableConfig = {});
2739
+ let b = T.tableConfig;
2740
+ b.showPane = !1, v.modelRelationType === "associated" ? S(v, T, b) : v.modelRelationType === "child" && (z.push({
2741
+ fields: []
2742
+ }), T.formConfig === void 0 && (T.formConfig = {}), T.formConfig.functions === void 0 && (T.formConfig.functions = {}), v.queryParamName && (T.formConfig.functions.beforeSubmit = (f) => {
2743
+ f[v.queryParamName] = s.value;
2744
+ })), b.queryParams || (b.queryParams = {}), v.queryParamName && (b.queryParams[v.queryParamName] = s.value), v.queryParams && Object.assign(b.queryParams, v.queryParams), b.readOnly = (q = v.readOnly) != null ? q : !1, v.includeFields && (T.fields = T.fields.filter((f) => {
2745
+ var C;
2746
+ return (C = v.includeFields) == null ? void 0 : C.includes(f.prop);
2747
+ })), v.excludeFields && (T.fields = T.fields.filter((f) => {
2748
+ var C;
2749
+ return !((C = v.excludeFields) != null && C.includes(f.prop));
2750
+ })), v.tooltip && (b.tooltip = v.tooltip);
1479
2751
  }
1480
2752
  }
1481
- }
1482
2753
  }
1483
- he(
2754
+ Se(
1484
2755
  [
1485
2756
  () => {
1486
- var I, E;
1487
- return (E = (I = C.pageConfig) == null ? void 0 : I.detailPage) == null ? void 0 : E.infoCard;
2757
+ var u, c;
2758
+ return (c = (u = V.pageConfig) == null ? void 0 : u.detailPage) == null ? void 0 : c.infoCard;
1488
2759
  },
1489
2760
  () => {
1490
- var I;
1491
- return (I = h.value) == null ? void 0 : I.formData;
2761
+ var u;
2762
+ return (u = i.value) == null ? void 0 : u.formData;
1492
2763
  }
1493
2764
  ],
1494
- (I) => {
1495
- Ve(() => {
1496
- var T, D, b;
1497
- const E = (D = (T = C.pageConfig) == null ? void 0 : T.detailPage) == null ? void 0 : D.infoCard;
1498
- E && (X.value = E.titleFieldProp ? h.value.formData[E.titleFieldProp] : "", P.value = E.subtitleFieldProp ? h.value.formData[E.subtitleFieldProp] : "", M.value = E.tagFieldProp ? h.value.formData[E.tagFieldProp] : "", (b = C.fields) == null || b.forEach((B) => {
1499
- var y, U;
1500
- if (B.prop === E.tagFieldProp) {
1501
- const K = (U = (y = B.tableColumnAttributes) == null ? void 0 : y.functions) == null ? void 0 : U.transformValue;
1502
- K && (M.value = K(M.value));
2765
+ (u) => {
2766
+ Ze(() => {
2767
+ var g, E, R;
2768
+ const c = (E = (g = V.pageConfig) == null ? void 0 : g.detailPage) == null ? void 0 : E.infoCard;
2769
+ c && (U.value = c.titleFieldProp ? i.value.formData[c.titleFieldProp] : "", L.value = c.subtitleFieldProp ? i.value.formData[c.subtitleFieldProp] : "", P.value = c.tagFieldProp ? i.value.formData[c.tagFieldProp] : "", (R = V.fields) == null || R.forEach((q) => {
2770
+ var v, T;
2771
+ if (q.prop === c.tagFieldProp) {
2772
+ const b = (T = (v = q.tableColumnAttributes) == null ? void 0 : v.functions) == null ? void 0 : T.transformValue;
2773
+ b && (P.value = b(P.value));
1503
2774
  }
1504
2775
  }));
1505
2776
  });
@@ -1509,35 +2780,35 @@ const Be = (s) => {
1509
2780
  deep: !0
1510
2781
  }
1511
2782
  );
1512
- function x() {
1513
- l.value = !0;
2783
+ function $() {
2784
+ r.value = !0;
1514
2785
  }
1515
- function W() {
1516
- h.value.refresh();
2786
+ function N() {
2787
+ i.value.refresh();
1517
2788
  }
1518
- return (I, E) => {
1519
- var N, te, oe, ge, de, ae;
1520
- const T = v("el-breadcrumb-item"), D = v("el-breadcrumb"), b = v("el-button"), B = v("el-icon"), y = v("el-dropdown-item"), U = v("el-dropdown-menu"), K = v("el-dropdown"), i = v("el-tag"), f = v("el-tab-pane"), R = v("el-tabs"), J = v("el-dialog");
1521
- return a(), S(ee, null, [
1522
- c("div", Fo, [
1523
- p(D, null, {
1524
- default: r(() => {
1525
- var Z, pe;
2789
+ return (u, c) => {
2790
+ var W, ae, fe, le, ie, Z;
2791
+ const g = x("el-breadcrumb-item"), E = x("el-breadcrumb"), R = x("el-button"), q = x("el-icon"), v = x("el-dropdown-item"), T = x("el-dropdown-menu"), b = x("el-dropdown"), f = x("el-tag"), C = x("el-tab-pane"), G = x("el-tabs"), X = x("el-dialog");
2792
+ return p(), F(oe, null, [
2793
+ k("div", js, [
2794
+ _(E, null, {
2795
+ default: m(() => {
2796
+ var J, ge;
1526
2797
  return [
1527
- p(T, {
1528
- to: { path: `/${(pe = (Z = C == null ? void 0 : C.breadcrumbRoute) != null ? Z : C == null ? void 0 : C.route) != null ? pe : ""}` }
2798
+ _(g, {
2799
+ to: { path: `/${(ge = (J = V == null ? void 0 : V.breadcrumbRoute) != null ? J : V == null ? void 0 : V.route) != null ? ge : ""}` }
1529
2800
  }, {
1530
- default: r(() => {
1531
- var ue;
2801
+ default: m(() => {
2802
+ var ve;
1532
2803
  return [
1533
- z(_(g(t)((ue = C == null ? void 0 : C.name) != null ? ue : "")), 1)
2804
+ Y(D(O(o)((ve = V == null ? void 0 : V.name) != null ? ve : "")), 1)
1534
2805
  ];
1535
2806
  }),
1536
2807
  _: 1
1537
2808
  }, 8, ["to"]),
1538
- p(T, null, {
1539
- default: r(() => [
1540
- z(_(g(t)("common.basic.detail")), 1)
2809
+ _(g, null, {
2810
+ default: m(() => [
2811
+ Y(D(O(o)("common.basic.detail")), 1)
1541
2812
  ]),
1542
2813
  _: 1
1543
2814
  })
@@ -1545,37 +2816,37 @@ const Be = (s) => {
1545
2816
  }),
1546
2817
  _: 1
1547
2818
  }),
1548
- c("div", null, [
1549
- p(b, {
2819
+ k("div", null, [
2820
+ _(R, {
1550
2821
  type: "primary",
1551
- onClick: x
2822
+ onClick: $
1552
2823
  }, {
1553
- default: r(() => [
1554
- z(_(g(t)("common.table.edit")), 1)
2824
+ default: m(() => [
2825
+ Y(D(O(o)("common.table.edit")), 1)
1555
2826
  ]),
1556
2827
  _: 1
1557
2828
  }),
1558
- p(b, {
2829
+ _(R, {
1559
2830
  type: "danger",
1560
2831
  plain: "",
1561
2832
  disabled: ""
1562
2833
  }, {
1563
- default: r(() => [
1564
- z(_(g(t)("common.table.delete")), 1)
2834
+ default: m(() => [
2835
+ Y(D(O(o)("common.table.delete")), 1)
1565
2836
  ]),
1566
2837
  _: 1
1567
2838
  }),
1568
- ((te = (N = C.pageConfig) == null ? void 0 : N.detailPage) == null ? void 0 : te.operationButtons) !== void 0 ? (a(), w(K, { key: 0 }, {
1569
- dropdown: r(() => [
1570
- p(U, null, {
1571
- default: r(() => {
1572
- var Z, pe;
2839
+ ((ae = (W = V.pageConfig) == null ? void 0 : W.detailPage) == null ? void 0 : ae.operationButtons) !== void 0 ? (p(), A(b, { key: 0 }, {
2840
+ dropdown: m(() => [
2841
+ _(T, null, {
2842
+ default: m(() => {
2843
+ var J, ge;
1573
2844
  return [
1574
- (a(!0), S(ee, null, se((pe = (Z = C.pageConfig) == null ? void 0 : Z.detailPage) == null ? void 0 : pe.operationButtons, (ue) => (a(), w(y, {
1575
- onClick: (we) => ue.function(h.value.formData)
2845
+ (p(!0), F(oe, null, ce((ge = (J = V.pageConfig) == null ? void 0 : J.detailPage) == null ? void 0 : ge.operationButtons, (ve) => (p(), A(v, {
2846
+ onClick: (De) => ve.function(i.value.formData)
1576
2847
  }, {
1577
- default: r(() => [
1578
- z(_(g(t)(ue.label)), 1)
2848
+ default: m(() => [
2849
+ Y(D(O(o)(ve.label)), 1)
1579
2850
  ]),
1580
2851
  _: 2
1581
2852
  }, 1032, ["onClick"]))), 256))
@@ -1584,13 +2855,13 @@ const Be = (s) => {
1584
2855
  _: 1
1585
2856
  })
1586
2857
  ]),
1587
- default: r(() => [
1588
- p(b, { style: { margin: "0 10px" } }, {
1589
- default: r(() => [
1590
- z(_(g(t)("common.basic.more")), 1),
1591
- p(B, { class: "el-icon--right" }, {
1592
- default: r(() => [
1593
- p(g(pt))
2858
+ default: m(() => [
2859
+ _(R, { style: { margin: "0 10px" } }, {
2860
+ default: m(() => [
2861
+ Y(D(O(o)("common.basic.more")), 1),
2862
+ _(q, { class: "el-icon--right" }, {
2863
+ default: m(() => [
2864
+ _(O(Po))
1594
2865
  ]),
1595
2866
  _: 1
1596
2867
  })
@@ -1599,211 +2870,224 @@ const Be = (s) => {
1599
2870
  })
1600
2871
  ]),
1601
2872
  _: 1
1602
- })) : j("", !0),
1603
- p(b, {
1604
- icon: g(Le),
1605
- onClick: W
2873
+ })) : B("", !0),
2874
+ _(R, {
2875
+ icon: O(Tt),
2876
+ onClick: N
1606
2877
  }, null, 8, ["icon"])
1607
2878
  ])
1608
2879
  ]),
1609
- (ge = (oe = C.pageConfig) == null ? void 0 : oe.detailPage) != null && ge.infoCard ? (a(), S("div", Do, [
1610
- c("div", Vo, [
1611
- (a(), w(Ee((de = C.pageConfig.detailPage.infoCard.icon) != null ? de : ""), { class: "icon" }))
2880
+ (le = (fe = V.pageConfig) == null ? void 0 : fe.detailPage) != null && le.infoCard ? (p(), F("div", zs, [
2881
+ k("div", qs, [
2882
+ (p(), A(Xe((ie = V.pageConfig.detailPage.infoCard.icon) != null ? ie : ""), { class: "icon" }))
1612
2883
  ]),
1613
- c("div", To, [
1614
- c("div", Ko, [
1615
- c("h1", null, _(X.value), 1),
1616
- ((ae = M.value) == null ? void 0 : ae.length) > 0 ? (a(), w(i, {
2884
+ k("div", Bs, [
2885
+ k("div", Hs, [
2886
+ k("h1", null, D(U.value), 1),
2887
+ ((Z = P.value) == null ? void 0 : Z.length) > 0 ? (p(), A(f, {
1617
2888
  key: 0,
1618
2889
  size: "small"
1619
2890
  }, {
1620
- default: r(() => [
1621
- z(_(M.value), 1)
2891
+ default: m(() => [
2892
+ Y(D(P.value), 1)
1622
2893
  ]),
1623
2894
  _: 1
1624
- })) : j("", !0)
2895
+ })) : B("", !0)
1625
2896
  ]),
1626
- c("span", null, _(P.value), 1)
2897
+ k("span", null, D(L.value), 1)
1627
2898
  ])
1628
- ])) : j("", !0),
1629
- c("div", Po, [
1630
- p(R, {
1631
- modelValue: q.value,
1632
- "onUpdate:modelValue": E[0] || (E[0] = (Z) => q.value = Z),
1633
- onTabClick: d
2899
+ ])) : B("", !0),
2900
+ k("div", Js, [
2901
+ _(G, {
2902
+ modelValue: M.value,
2903
+ "onUpdate:modelValue": c[0] || (c[0] = (J) => M.value = J),
2904
+ onTabClick: Q
1634
2905
  }, {
1635
- default: r(() => {
1636
- var Z, pe;
2906
+ default: m(() => {
2907
+ var J, ge;
1637
2908
  return [
1638
- p(f, {
1639
- label: g(t)("common.basic.summary"),
2909
+ _(C, {
2910
+ label: O(o)("common.basic.summary"),
1640
2911
  name: "summary"
1641
2912
  }, {
1642
- default: r(() => [
1643
- p(Je, {
2913
+ default: m(() => [
2914
+ _(ao, {
1644
2915
  ref_key: "formViewRef",
1645
- ref: h,
1646
- id: o.value,
1647
- mode: u.value,
1648
- model: C
1649
- }, null, 8, ["id", "mode", "model"])
2916
+ ref: i,
2917
+ id: s.value,
2918
+ sessionId: j.value,
2919
+ mode: a.value,
2920
+ model: V
2921
+ }, null, 8, ["id", "sessionId", "mode", "model"])
1650
2922
  ]),
1651
2923
  _: 1
1652
2924
  }, 8, ["label"]),
1653
- (a(!0), S(ee, null, se((pe = (Z = C.pageConfig) == null ? void 0 : Z.detailPage) == null ? void 0 : pe.tabs, (ue) => {
1654
- var we;
1655
- return a(), w(f, {
1656
- label: g(t)((we = ue.name) != null ? we : "")
2925
+ (p(!0), F(oe, null, ce((ge = (J = V.pageConfig) == null ? void 0 : J.detailPage) == null ? void 0 : ge.tabs, (ve) => {
2926
+ var De;
2927
+ return p(), A(C, {
2928
+ label: O(o)((De = ve.name) != null ? De : "")
1657
2929
  }, null, 8, ["label"]);
1658
2930
  }), 256))
1659
2931
  ];
1660
2932
  }),
1661
2933
  _: 1
1662
2934
  }, 8, ["modelValue"]),
1663
- Q.value >= 0 ? (a(), w(Me, {
2935
+ d.value >= 0 ? (p(), A(ot, {
1664
2936
  key: 0,
1665
2937
  ref_key: "tabPaneTableRef",
1666
- ref: F,
1667
- model: $[Q.value]
1668
- }, null, 8, ["model"])) : j("", !0),
1669
- p(J, {
1670
- modelValue: m.value,
1671
- "onUpdate:modelValue": E[2] || (E[2] = (Z) => m.value = Z),
1672
- title: g(t)("common.table.select"),
2938
+ ref: w,
2939
+ model: K[d.value]
2940
+ }, null, 8, ["model"])) : B("", !0),
2941
+ _(X, {
2942
+ modelValue: l.value,
2943
+ "onUpdate:modelValue": c[2] || (c[2] = (J) => l.value = J),
2944
+ title: O(o)("common.table.select"),
1673
2945
  width: "800px"
1674
2946
  }, {
1675
- footer: r(() => [
1676
- c("span", Lo, [
1677
- p(b, {
1678
- onClick: E[1] || (E[1] = (Z) => m.value = !1)
2947
+ footer: m(() => [
2948
+ k("span", Ws, [
2949
+ _(R, {
2950
+ onClick: c[1] || (c[1] = (J) => l.value = !1)
1679
2951
  }, {
1680
- default: r(() => [
1681
- z(_(g(t)("common.basic.cancel")), 1)
2952
+ default: m(() => [
2953
+ Y(D(O(o)("common.basic.cancel")), 1)
1682
2954
  ]),
1683
2955
  _: 1
1684
2956
  }),
1685
- p(b, {
2957
+ _(R, {
1686
2958
  type: "primary",
1687
- onClick: L
2959
+ onClick: ne
1688
2960
  }, {
1689
- default: r(() => [
1690
- z(_(g(t)("common.basic.save")), 1)
2961
+ default: m(() => [
2962
+ Y(D(O(o)("common.basic.save")), 1)
1691
2963
  ]),
1692
2964
  _: 1
1693
2965
  })
1694
2966
  ])
1695
2967
  ]),
1696
- default: r(() => [
1697
- Q.value >= 0 ? (a(), w(Me, {
2968
+ default: m(() => [
2969
+ d.value >= 0 ? (p(), A(ot, {
1698
2970
  key: 0,
1699
2971
  ref_key: "selectTableRef",
1700
- ref: V,
1701
- model: g(G)[Q.value]
1702
- }, null, 8, ["model"])) : j("", !0)
2972
+ ref: y,
2973
+ model: O(z)[d.value]
2974
+ }, null, 8, ["model"])) : B("", !0)
1703
2975
  ]),
1704
2976
  _: 1
1705
2977
  }, 8, ["modelValue", "title"])
1706
2978
  ]),
1707
- p(ze, {
1708
- id: o.value,
2979
+ _(lo, {
2980
+ id: s.value,
1709
2981
  mode: "update",
1710
- visible: l.value,
1711
- "onUpdate:visible": E[3] || (E[3] = (Z) => l.value = Z),
1712
- model: C,
1713
- afterSubmitFunc: W
2982
+ visible: r.value,
2983
+ "onUpdate:visible": c[3] || (c[3] = (J) => r.value = J),
2984
+ model: V,
2985
+ afterSubmitFunc: N
1714
2986
  }, null, 8, ["id", "visible", "model"])
1715
2987
  ], 64);
1716
2988
  };
1717
2989
  }
1718
- }), Xo = /* @__PURE__ */ re(jo, [["__scopeId", "data-v-ae50a077"]]), Yo = { class: "page-title" }, qo = /* @__PURE__ */ ce({
2990
+ }), Qs = /* @__PURE__ */ ue(Ys, [["__scopeId", "data-v-f9250724"]]), Ks = { class: "page-title" }, Xs = /* @__PURE__ */ _e({
1719
2991
  __name: "TablePage",
1720
- setup(s) {
1721
- const { t } = _e(), e = ke(), n = xe(), o = A(), l = A([]), m = le({
2992
+ setup(e) {
2993
+ const { t: o } = Be(), t = qe(), n = nt(), s = I(), r = I([]), l = re({
1722
2994
  api: "",
1723
2995
  fields: []
1724
- }), u = le(Ie({}, m));
1725
- function h() {
1726
- var Q, F, V, q, X;
1727
- l.value = [], m.pageConfig && ((F = (Q = m.pageConfig) == null ? void 0 : Q.tablePage) != null && F.tabViewAttributes) && (l.value = (X = (q = (V = m.pageConfig) == null ? void 0 : V.tablePage) == null ? void 0 : q.tabViewAttributes) == null ? void 0 : X.map((P) => {
1728
- let M;
1729
- return P.modelKey && fe.value[P.modelKey] ? M = Ce(fe.value[P.modelKey]) : M = Ce(m), P.queryParams && (M.tableConfig || (M.tableConfig = {}), M.tableConfig.queryParams = P.queryParams), P.fields && (M.fields = P.fields), P.modelKey && (M.breadcrumbRoute = m.route), {
2996
+ }), a = re(He({}, l));
2997
+ function i() {
2998
+ var w, y, M, U, L;
2999
+ r.value = [], l.pageConfig && ((y = (w = l.pageConfig) == null ? void 0 : w.tablePage) != null && y.tabViewAttributes) && (r.value = (L = (U = (M = l.pageConfig) == null ? void 0 : M.tablePage) == null ? void 0 : U.tabViewAttributes) == null ? void 0 : L.map((P) => {
3000
+ let j;
3001
+ return P.modelKey && he.value[P.modelKey] ? j = Ue(he.value[P.modelKey]) : j = Ue(l), P.queryParams && (j.tableConfig || (j.tableConfig = {}), j.tableConfig.queryParams = P.queryParams), P.fields && (j.fields = P.fields), P.modelKey && (j.breadcrumbRoute = l.route), {
1730
3002
  key: P.key,
1731
3003
  label: P.label,
1732
3004
  icon: P.icon,
1733
3005
  disabled: P.disabled,
1734
- model: M
3006
+ model: j
1735
3007
  };
1736
3008
  }));
1737
3009
  }
1738
- function O() {
1739
- var V, q;
1740
- console.log("Init table page, loading model:", e.params.model), console.log("Current model list", fe.value);
1741
- const Q = e.params.model;
1742
- if (fe.value[Q] === void 0) {
1743
- console.warn("Model not found", Q);
3010
+ function d() {
3011
+ var M, U;
3012
+ console.log("Init table page, loading model:", t.params.model), console.log("Current model list", he.value);
3013
+ const w = t.params.model;
3014
+ if (he.value[w] === void 0) {
3015
+ console.warn("Model not found", w);
1744
3016
  return;
1745
3017
  }
1746
- Be(m);
1747
- const F = Ce(fe.value[Q]);
1748
- Object.assign(m, F), (q = (V = m.pageConfig) == null ? void 0 : V.tablePage) != null && q.tabViewAttributes || Object.assign(u, m), h();
3018
+ ze(l);
3019
+ const y = Ue(he.value[w]);
3020
+ Object.assign(l, y), (U = (M = l.pageConfig) == null ? void 0 : M.tablePage) != null && U.tabViewAttributes || Object.assign(a, l), i();
1749
3021
  }
1750
- return he([
3022
+ return Se([
1751
3023
  () => n.currentRoute.value,
1752
- fe
3024
+ he
1753
3025
  ], () => {
1754
- O();
3026
+ d();
1755
3027
  }, {
1756
3028
  immediate: !0,
1757
3029
  deep: !0
1758
- }), (Q, F) => {
1759
- var V, q, X;
1760
- return a(), S(ee, null, [
1761
- c("h1", Yo, _(g(t)((V = m.name) != null ? V : "")), 1),
1762
- (X = (q = m.pageConfig) == null ? void 0 : q.tablePage) != null && X.tabViewAttributes ? (a(), w(He, {
1763
- key: 0,
1764
- cards: l.value,
1765
- tableRef: o.value
1766
- }, null, 8, ["cards", "tableRef"])) : j("", !0),
1767
- p(Me, {
3030
+ }), (w, y) => {
3031
+ var U;
3032
+ const M = x("el-scrollbar");
3033
+ return p(), F(oe, null, [
3034
+ k("h1", Ks, D(O(o)((U = l.name) != null ? U : "")), 1),
3035
+ _(M, null, {
3036
+ default: m(() => {
3037
+ var L, P;
3038
+ return [
3039
+ (P = (L = l.pageConfig) == null ? void 0 : L.tablePage) != null && P.tabViewAttributes ? (p(), A(ro, {
3040
+ key: 0,
3041
+ class: "tabs-wrapper",
3042
+ cards: r.value,
3043
+ tableRef: s.value
3044
+ }, null, 8, ["cards", "tableRef"])) : B("", !0)
3045
+ ];
3046
+ }),
3047
+ _: 1
3048
+ }),
3049
+ _(ot, {
3050
+ class: "table-wrapper",
1768
3051
  ref_key: "tableRef",
1769
- ref: o,
1770
- model: u
3052
+ ref: s,
3053
+ model: a
1771
3054
  }, null, 8, ["model"])
1772
3055
  ], 64);
1773
3056
  };
1774
3057
  }
1775
- }), Ho = /* @__PURE__ */ re(qo, [["__scopeId", "data-v-0381c6cb"]]), Jo = [
1776
- ht,
3058
+ }), Zs = /* @__PURE__ */ ue(Xs, [["__scopeId", "data-v-d24124ee"]]), er = [
3059
+ Vo,
3060
+ ms,
3061
+ Ft,
3062
+ Ss,
3063
+ ks,
3064
+ so,
1777
3065
  ro,
1778
- Ye,
1779
- go,
1780
- Co,
1781
- qe,
1782
- He,
1783
- Me,
1784
- Xo,
1785
- Ho
1786
- ], aa = (s) => {
1787
- s && s.component && Jo.forEach((t) => {
1788
- console.log("component", t.__name, t), s.component(t.__name, t);
3066
+ ot,
3067
+ Qs,
3068
+ Zs
3069
+ ], cr = (e) => {
3070
+ e && e.component && er.forEach((o) => {
3071
+ console.log("component", o.__name, o), e.component(o.__name, o);
1789
3072
  });
1790
3073
  };
1791
3074
  export {
1792
- ht as Building,
1793
- ro as ConsoleApp,
1794
- Xo as DetailPage,
1795
- Ye as Header,
1796
- go as NoPermission,
1797
- Co as Secondary,
1798
- qe as SideMenu,
1799
- He as TabCard,
1800
- Ho as TablePage,
1801
- Me as TableView,
1802
- Wt as activeMenuMapping,
1803
- aa as default,
1804
- Mt as en,
1805
- Se as i18n,
1806
- $t as menuList,
1807
- fe as modelList,
1808
- Qt as zh
3075
+ Vo as Building,
3076
+ ms as ConsoleApp,
3077
+ Qs as DetailPage,
3078
+ Ft as Header,
3079
+ Ss as NoPermission,
3080
+ ks as Secondary,
3081
+ so as SideMenu,
3082
+ ro as TabCard,
3083
+ Zs as TablePage,
3084
+ ot as TableView,
3085
+ kn as activeMenuMapping,
3086
+ cr as default,
3087
+ Zo as en,
3088
+ et as i18n,
3089
+ Ct as menuList,
3090
+ he as modelList,
3091
+ gt as pinia,
3092
+ en as zh
1809
3093
  };