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