@vancone/console-component 0.1.1-beta.67 → 0.1.1-beta.69
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.
|
@@ -26,23 +26,23 @@ var Me = (e, o, n) => new Promise((t, s) => {
|
|
|
26
26
|
}, r = (i) => i.done ? t(i.value) : Promise.resolve(i.value).then(a, c);
|
|
27
27
|
r((n = n.apply(e, o)).next());
|
|
28
28
|
});
|
|
29
|
-
import { openBlock as u, createElementBlock as E, createElementVNode as
|
|
29
|
+
import { openBlock as u, createElementBlock as E, createElementVNode as _, defineComponent as Ee, reactive as fe, resolveComponent as x, createVNode as h, withCtx as p, unref as y, Fragment as te, renderList as me, toDisplayString as A, normalizeStyle as Be, ref as N, onMounted as yt, createBlock as I, createTextVNode as B, createCommentVNode as G, normalizeClass as wt, withModifiers as Oo, resolveDynamicComponent as lt, effectScope as Ht, markRaw as Re, toRaw as Qe, hasInjectionContext as Po, inject as Io, getCurrentInstance as Vo, watch as Ve, isRef as Xe, isReactive as Ct, toRef as ft, nextTick as it, computed as Ae, getCurrentScope as Mo, onScopeDispose as No, toRefs as Nt, onUnmounted as Uo, createStaticVNode as To, resolveDirective as Wt, withDirectives as Yt } from "vue";
|
|
30
30
|
import { useRoute as et, useRouter as pt } from "vue-router";
|
|
31
31
|
import Ao from "axios";
|
|
32
32
|
import { ElMessage as mt, ElMessageBox as Ut } from "element-plus";
|
|
33
33
|
import { createI18n as Do, useI18n as kt } from "vue-i18n";
|
|
34
|
-
import { Search as Jt, ArrowDown as Kt, ArrowRight as Ro, Check as Tt, Refresh as St, Delete as Fo, Upload as Lo, Download as At, Document as Go, Printer as jo, Setting as zo, MoreFilled as qo, QuestionFilled as
|
|
34
|
+
import { Search as Jt, ArrowDown as Kt, ArrowRight as Ro, Check as Tt, Refresh as St, Delete as Fo, Upload as Lo, Download as At, Document as Go, Printer as jo, Setting as zo, MoreFilled as qo, QuestionFilled as Bo } from "@element-plus/icons-vue";
|
|
35
35
|
import { cloneDeep as qe } from "lodash";
|
|
36
36
|
const we = (e, o) => {
|
|
37
37
|
const n = e.__vccOpts || e;
|
|
38
38
|
for (const [t, s] of o)
|
|
39
39
|
n[t] = s;
|
|
40
40
|
return n;
|
|
41
|
-
},
|
|
41
|
+
}, Ho = {}, Wo = { class: "building" };
|
|
42
42
|
function Yo(e, o) {
|
|
43
43
|
return u(), E("div", Wo);
|
|
44
44
|
}
|
|
45
|
-
const Jo = /* @__PURE__ */ we(
|
|
45
|
+
const Jo = /* @__PURE__ */ we(Ho, [["render", Yo], ["__scopeId", "data-v-07bd45d2"]]), ye = Ao.create({
|
|
46
46
|
timeout: 2 * 60 * 1e3,
|
|
47
47
|
withCredentials: !0
|
|
48
48
|
});
|
|
@@ -171,76 +171,87 @@ const Ko = {
|
|
|
171
171
|
en: Ko,
|
|
172
172
|
zh: Qo
|
|
173
173
|
}
|
|
174
|
-
}), { t: Xo } = ct.global, Qt = () => {
|
|
174
|
+
}), { t: Xo } = ct.global, cr = (e) => e.filter(({ meta: o }) => !o || !o.hidden), Qt = () => {
|
|
175
175
|
const { origin: e } = window.location;
|
|
176
176
|
return e.includes("beta") || e.includes("localhost") ? "passport.beta.vancone.com" : "passport.vancone.com";
|
|
177
|
+
}, dr = (e, o) => {
|
|
178
|
+
let n = window.URL || window.webkitURL || window, t = new Blob([e]), s = document.createElement("a");
|
|
179
|
+
s.href = n.createObjectURL(t), s.download = o, s.click();
|
|
177
180
|
};
|
|
178
|
-
function
|
|
181
|
+
function Zo(e, o) {
|
|
182
|
+
for (const n in o)
|
|
183
|
+
o[n] instanceof Object && e[n] instanceof Object ? Zo(e[n], o[n]) : e[n] = o[n];
|
|
184
|
+
}
|
|
185
|
+
function ur(e) {
|
|
186
|
+
var o = new RegExp("(^|&)" + e + "=([^&]*)(&|$)"), n = window.location.search.substr(1).match(o);
|
|
187
|
+
return n != null ? unescape(n[2]) : null;
|
|
188
|
+
}
|
|
189
|
+
function de(e) {
|
|
179
190
|
const o = "i18n(", n = ")";
|
|
180
191
|
return e && e.startsWith(o) && e.endsWith(n) ? Xo(e.slice(o.length, -n.length)) : e != null ? e : "";
|
|
181
192
|
}
|
|
182
193
|
const Xt = Qt();
|
|
183
|
-
function
|
|
194
|
+
function en() {
|
|
184
195
|
return ye.get(`//${Xt}/api/passport/service/v1/account`);
|
|
185
196
|
}
|
|
186
|
-
function
|
|
197
|
+
function tn() {
|
|
187
198
|
return ye.delete(`//${Xt}/api/passport/service/v1/login`);
|
|
188
199
|
}
|
|
189
|
-
function
|
|
200
|
+
function on() {
|
|
190
201
|
return ye.get("//app-center.vancone.com/api/app-center/v1/app-group?pageSize=1000");
|
|
191
202
|
}
|
|
192
|
-
function
|
|
203
|
+
function nn() {
|
|
193
204
|
return ye.get("//app-center.vancone.com/api/app-center/v1/store/app?pageSize=1000");
|
|
194
205
|
}
|
|
195
|
-
const
|
|
206
|
+
const sn = {
|
|
196
207
|
xmlns: "http://www.w3.org/2000/svg",
|
|
197
208
|
width: "32",
|
|
198
209
|
height: "32",
|
|
199
210
|
class: "icon",
|
|
200
211
|
viewBox: "0 0 1024 1024"
|
|
201
212
|
};
|
|
202
|
-
function
|
|
203
|
-
return u(), E("svg",
|
|
204
|
-
|
|
213
|
+
function an(e, o) {
|
|
214
|
+
return u(), E("svg", sn, o[0] || (o[0] = [
|
|
215
|
+
_("path", { d: "M480 544v352H128V544zm416 288v64H544v-64zM416 608H192v224h224zm480 83.072v64H544v-64zM896 544v64H544v-64zM480 128v352H128V128zm416 0v352H544V128zm-480 64H192v224h224zm416 0H608v224h224z" }, null, -1)
|
|
205
216
|
]));
|
|
206
217
|
}
|
|
207
|
-
const
|
|
218
|
+
const rn = { render: an }, ln = {
|
|
208
219
|
xmlns: "http://www.w3.org/2000/svg",
|
|
209
220
|
width: "32",
|
|
210
221
|
height: "32",
|
|
211
222
|
class: "icon",
|
|
212
223
|
viewBox: "0 0 1024 1024"
|
|
213
224
|
};
|
|
214
|
-
function
|
|
215
|
-
return u(), E("svg",
|
|
216
|
-
|
|
225
|
+
function cn(e, o) {
|
|
226
|
+
return u(), E("svg", ln, o[0] || (o[0] = [
|
|
227
|
+
_("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)
|
|
217
228
|
]));
|
|
218
229
|
}
|
|
219
|
-
const
|
|
230
|
+
const dn = { render: cn }, un = {
|
|
220
231
|
xmlns: "http://www.w3.org/2000/svg",
|
|
221
232
|
width: "32",
|
|
222
233
|
height: "32",
|
|
223
234
|
class: "icon",
|
|
224
235
|
viewBox: "0 0 1024 1024"
|
|
225
236
|
};
|
|
226
|
-
function
|
|
227
|
-
return u(), E("svg",
|
|
228
|
-
|
|
237
|
+
function pn(e, o) {
|
|
238
|
+
return u(), E("svg", un, o[0] || (o[0] = [
|
|
239
|
+
_("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)
|
|
229
240
|
]));
|
|
230
241
|
}
|
|
231
|
-
const
|
|
242
|
+
const fn = { render: pn }, mn = { class: "app-catalog-wrapper" }, hn = { class: "catalog-wrapper" }, vn = { class: "service-list" }, _n = { class: "app-icon-container" }, gn = ["href"], bn = ["innerHTML"], yn = {
|
|
232
243
|
key: 1,
|
|
233
244
|
class: "app-icon"
|
|
234
|
-
},
|
|
245
|
+
}, wn = /* @__PURE__ */ Ee({
|
|
235
246
|
__name: "AppCatalog",
|
|
236
247
|
props: {
|
|
237
248
|
visible: { type: Boolean }
|
|
238
249
|
},
|
|
239
250
|
setup(e) {
|
|
240
|
-
const o =
|
|
251
|
+
const o = fe([]);
|
|
241
252
|
function n() {
|
|
242
|
-
|
|
243
|
-
o.splice(0, o.length, ...t.data.list),
|
|
253
|
+
on().then(({ data: t }) => {
|
|
254
|
+
o.splice(0, o.length, ...t.data.list), nn().then(({ data: s }) => {
|
|
244
255
|
const a = s.data;
|
|
245
256
|
o.forEach((c) => {
|
|
246
257
|
c.apps = a.filter((r) => r.groupId === c.id);
|
|
@@ -250,15 +261,15 @@ const pn = { render: un }, fn = { class: "app-catalog-wrapper" }, mn = { class:
|
|
|
250
261
|
}
|
|
251
262
|
return n(), (t, s) => {
|
|
252
263
|
const a = x("el-input"), c = x("el-scrollbar"), r = x("el-tab-pane"), i = x("el-tabs");
|
|
253
|
-
return u(), E("div",
|
|
264
|
+
return u(), E("div", mn, [
|
|
254
265
|
h(i, { "tab-position": "left" }, {
|
|
255
266
|
default: p(() => [
|
|
256
267
|
h(r, null, {
|
|
257
268
|
label: p(() => [
|
|
258
|
-
h(y(
|
|
269
|
+
h(y(rn), { class: "left-icon" })
|
|
259
270
|
]),
|
|
260
271
|
default: p(() => [
|
|
261
|
-
s[0] || (s[0] =
|
|
272
|
+
s[0] || (s[0] = _("h1", { class: "catalog-title" }, "Apps", -1)),
|
|
262
273
|
h(a, {
|
|
263
274
|
class: "search-box",
|
|
264
275
|
"prefix-icon": y(Jt),
|
|
@@ -269,14 +280,14 @@ const pn = { render: un }, fn = { class: "app-catalog-wrapper" }, mn = { class:
|
|
|
269
280
|
style: { width: "100%", height: "400px" }
|
|
270
281
|
}, {
|
|
271
282
|
default: p(() => [
|
|
272
|
-
|
|
273
|
-
(u(!0), E(te, null,
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
(u(!0), E(te, null,
|
|
283
|
+
_("div", hn, [
|
|
284
|
+
(u(!0), E(te, null, me(o, (f) => (u(), E("div", vn, [
|
|
285
|
+
_("h1", null, A(f.name), 1),
|
|
286
|
+
_("div", _n, [
|
|
287
|
+
(u(!0), E(te, null, me(f.apps, (b) => {
|
|
277
288
|
var $, V;
|
|
278
289
|
return u(), E("a", {
|
|
279
|
-
style:
|
|
290
|
+
style: Be([{ "text-decoration": "none" }, { pointerEvents: (($ = b.homepageUrl) == null ? void 0 : $.length) > 0 ? "auto" : "none" }]),
|
|
280
291
|
target: "_blank",
|
|
281
292
|
href: b.homepageUrl
|
|
282
293
|
}, [
|
|
@@ -284,11 +295,11 @@ const pn = { render: un }, fn = { class: "app-catalog-wrapper" }, mn = { class:
|
|
|
284
295
|
key: 0,
|
|
285
296
|
class: "app-icon",
|
|
286
297
|
innerHTML: b.iconSvg
|
|
287
|
-
}, null, 8,
|
|
288
|
-
|
|
289
|
-
style:
|
|
298
|
+
}, null, 8, bn)) : (u(), E("div", yn, " ")),
|
|
299
|
+
_("h2", {
|
|
300
|
+
style: Be({ color: ((V = b.homepageUrl) == null ? void 0 : V.length) > 0 ? "#555" : "#bbb" })
|
|
290
301
|
}, A(b.name), 5)
|
|
291
|
-
], 12,
|
|
302
|
+
], 12, gn);
|
|
292
303
|
}), 256))
|
|
293
304
|
])
|
|
294
305
|
]))), 256))
|
|
@@ -301,19 +312,19 @@ const pn = { render: un }, fn = { class: "app-catalog-wrapper" }, mn = { class:
|
|
|
301
312
|
}),
|
|
302
313
|
h(r, null, {
|
|
303
314
|
label: p(() => [
|
|
304
|
-
h(y(
|
|
315
|
+
h(y(dn), { class: "left-icon" })
|
|
305
316
|
]),
|
|
306
317
|
default: p(() => [
|
|
307
|
-
s[1] || (s[1] =
|
|
318
|
+
s[1] || (s[1] = _("h1", { class: "catalog-title" }, "Favorites", -1))
|
|
308
319
|
]),
|
|
309
320
|
_: 1
|
|
310
321
|
}),
|
|
311
322
|
h(r, null, {
|
|
312
323
|
label: p(() => [
|
|
313
|
-
h(y(
|
|
324
|
+
h(y(fn), { class: "left-icon" })
|
|
314
325
|
]),
|
|
315
326
|
default: p(() => [
|
|
316
|
-
s[2] || (s[2] =
|
|
327
|
+
s[2] || (s[2] = _("h1", { class: "catalog-title" }, "Recently", -1))
|
|
317
328
|
]),
|
|
318
329
|
_: 1
|
|
319
330
|
})
|
|
@@ -323,54 +334,54 @@ const pn = { render: un }, fn = { class: "app-catalog-wrapper" }, mn = { class:
|
|
|
323
334
|
]);
|
|
324
335
|
};
|
|
325
336
|
}
|
|
326
|
-
}),
|
|
337
|
+
}), Cn = /* @__PURE__ */ we(wn, [["__scopeId", "data-v-fcfb021b"]]), kn = {
|
|
327
338
|
xmlns: "http://www.w3.org/2000/svg",
|
|
328
339
|
"xml:space": "preserve",
|
|
329
340
|
viewBox: "0 0 32 32"
|
|
330
341
|
};
|
|
331
|
-
function
|
|
332
|
-
return u(), E("svg",
|
|
333
|
-
|
|
342
|
+
function Sn(e, o) {
|
|
343
|
+
return u(), E("svg", kn, o[0] || (o[0] = [
|
|
344
|
+
_("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)
|
|
334
345
|
]));
|
|
335
346
|
}
|
|
336
|
-
const
|
|
347
|
+
const xn = { render: Sn }, $n = {
|
|
337
348
|
xmlns: "http://www.w3.org/2000/svg",
|
|
338
349
|
width: "200",
|
|
339
350
|
height: "200",
|
|
340
351
|
class: "icon",
|
|
341
352
|
viewBox: "0 0 1024 1024"
|
|
342
353
|
};
|
|
343
|
-
function
|
|
344
|
-
return u(), E("svg",
|
|
345
|
-
|
|
354
|
+
function En(e, o) {
|
|
355
|
+
return u(), E("svg", $n, o[0] || (o[0] = [
|
|
356
|
+
_("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)
|
|
346
357
|
]));
|
|
347
358
|
}
|
|
348
|
-
const
|
|
359
|
+
const On = { render: En }, Pn = {
|
|
349
360
|
xmlns: "http://www.w3.org/2000/svg",
|
|
350
361
|
width: "200",
|
|
351
362
|
height: "200",
|
|
352
363
|
class: "icon",
|
|
353
364
|
viewBox: "0 0 1024 1024"
|
|
354
365
|
};
|
|
355
|
-
function
|
|
356
|
-
return u(), E("svg",
|
|
357
|
-
|
|
366
|
+
function In(e, o) {
|
|
367
|
+
return u(), E("svg", Pn, o[0] || (o[0] = [
|
|
368
|
+
_("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)
|
|
358
369
|
]));
|
|
359
370
|
}
|
|
360
|
-
const
|
|
371
|
+
const Vn = { render: In }, Mn = {
|
|
361
372
|
xmlns: "http://www.w3.org/2000/svg",
|
|
362
373
|
"xml:space": "preserve",
|
|
363
374
|
viewBox: "0 0 32 32"
|
|
364
375
|
};
|
|
365
|
-
function
|
|
366
|
-
return u(), E("svg",
|
|
367
|
-
|
|
376
|
+
function Nn(e, o) {
|
|
377
|
+
return u(), E("svg", Mn, o[0] || (o[0] = [
|
|
378
|
+
_("path", {
|
|
368
379
|
d: "M23.8 22.1H8.2c-2.5 0-4.5-2.1-4.5-4.5V7.9c0-2.5 2.1-4.5 4.5-4.5h15.6c2.5 0 4.5 2.1 4.5 4.5v9.7c0 2.4-2.1 4.5-4.5 4.5M16 23.2v5M8.3 28.9h15.4",
|
|
369
380
|
style: { fill: "none", "stroke-width": "3", "stroke-miterlimit": "10" }
|
|
370
381
|
}, null, -1)
|
|
371
382
|
]));
|
|
372
383
|
}
|
|
373
|
-
const
|
|
384
|
+
const Un = { render: Nn };
|
|
374
385
|
function $e(e, o, n) {
|
|
375
386
|
switch (o) {
|
|
376
387
|
case "POST":
|
|
@@ -383,19 +394,19 @@ function $e(e, o, n) {
|
|
|
383
394
|
return ye.get(e, { params: n });
|
|
384
395
|
}
|
|
385
396
|
}
|
|
386
|
-
const
|
|
397
|
+
const Tn = { class: "header" }, An = { class: "title" }, Dn = { class: "right" }, Rn = { class: "icon-wrapper" }, Fn = { class: "user-wrapper" }, Ln = { style: { "font-size": "11px", "font-weight": "bold" } }, Gn = { class: "user-popover-header" }, jn = { style: { "font-size": "15px", "font-weight": "bold" } }, zn = ["onClick"], qn = { class: "message-center-header" }, Bn = { class: "message-center-content" }, Hn = {
|
|
387
398
|
key: 0,
|
|
388
399
|
class: "message-toolbar"
|
|
389
|
-
},
|
|
400
|
+
}, Wn = { class: "message-list" }, Yn = {
|
|
390
401
|
key: 0,
|
|
391
402
|
class: "empty-message"
|
|
392
|
-
},
|
|
403
|
+
}, Jn = {
|
|
393
404
|
key: 1,
|
|
394
405
|
class: "message-list-header"
|
|
395
|
-
},
|
|
406
|
+
}, Kn = ["onClick"], Qn = { class: "message-checkbox" }, Xn = { class: "message-body" }, Zn = { class: "message-header" }, es = { class: "message-title" }, ts = {
|
|
396
407
|
key: 0,
|
|
397
408
|
class: "unread-badge"
|
|
398
|
-
},
|
|
409
|
+
}, os = { class: "message-content" }, ns = { class: "message-footer" }, ss = { class: "message-sender" }, as = { class: "message-time" }, rs = /* @__PURE__ */ Ee({
|
|
399
410
|
__name: "Header",
|
|
400
411
|
props: {
|
|
401
412
|
title: {},
|
|
@@ -436,12 +447,12 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
436
447
|
sendTime: "2025-12-25 14:00:00",
|
|
437
448
|
isRead: !0
|
|
438
449
|
}
|
|
439
|
-
]), i = N([]), f = N(!1), b = e, $ = N(), V =
|
|
450
|
+
]), i = N([]), f = N(!1), b = e, $ = N(), V = fe(
|
|
440
451
|
{
|
|
441
452
|
id: "",
|
|
442
453
|
name: ""
|
|
443
454
|
}
|
|
444
|
-
), M = N(""), z = N(ct.global.locale), Y =
|
|
455
|
+
), M = N(""), z = N(ct.global.locale), Y = fe([
|
|
445
456
|
{
|
|
446
457
|
id: "en",
|
|
447
458
|
name: "English"
|
|
@@ -452,24 +463,24 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
452
463
|
}
|
|
453
464
|
]);
|
|
454
465
|
yt(() => {
|
|
455
|
-
var l,
|
|
456
|
-
M.value = decodeURIComponent(ce("passport_username").replace(/\+/g, " ")), M.value === "" &&
|
|
466
|
+
var l, v, k;
|
|
467
|
+
M.value = decodeURIComponent(ce("passport_username").replace(/\+/g, " ")), M.value === "" && en().then(({ data: P }) => {
|
|
457
468
|
var F;
|
|
458
469
|
P.code == 0 && (M.value = (F = P.data.name) != null ? F : P.data.displayId);
|
|
459
|
-
}), (l = b.headerProjectConfig) != null && l.api ? $e((
|
|
470
|
+
}), (l = b.headerProjectConfig) != null && l.api ? $e((v = b.headerProjectConfig) == null ? void 0 : v.api, "GET", {}).then(({ data: P }) => {
|
|
460
471
|
$.value = P.data;
|
|
461
472
|
}) : (k = b.headerProjectConfig) != null && k.items && ($.value = b.headerProjectConfig.items);
|
|
462
473
|
});
|
|
463
474
|
function ce(l) {
|
|
464
|
-
for (var
|
|
475
|
+
for (var v = l + "=", k = document.cookie.split(";"), P = 0; P < k.length; P++) {
|
|
465
476
|
for (var F = k[P]; F.charAt(0) == " "; ) F = F.substring(1);
|
|
466
|
-
if (F.indexOf(
|
|
467
|
-
return F.substring(
|
|
477
|
+
if (F.indexOf(v) != -1)
|
|
478
|
+
return F.substring(v.length, F.length);
|
|
468
479
|
}
|
|
469
480
|
return "";
|
|
470
481
|
}
|
|
471
|
-
function
|
|
472
|
-
|
|
482
|
+
function H() {
|
|
483
|
+
tn().then(() => {
|
|
473
484
|
const l = encodeURIComponent(window.location.href);
|
|
474
485
|
window.location.href = `//${Qt()}/?from=${l}#login`;
|
|
475
486
|
});
|
|
@@ -487,9 +498,9 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
487
498
|
if (l === "allProjects")
|
|
488
499
|
alert("show all projects");
|
|
489
500
|
else
|
|
490
|
-
for (let
|
|
491
|
-
if (
|
|
492
|
-
Object.assign(V,
|
|
501
|
+
for (let v of $.value)
|
|
502
|
+
if (v.id === l) {
|
|
503
|
+
Object.assign(V, v);
|
|
493
504
|
break;
|
|
494
505
|
}
|
|
495
506
|
}
|
|
@@ -504,25 +515,25 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
504
515
|
}), i.value = []);
|
|
505
516
|
}
|
|
506
517
|
function T(l) {
|
|
507
|
-
l ? i.value = r.value.map((
|
|
518
|
+
l ? i.value = r.value.map((v) => v.id) : i.value = [];
|
|
508
519
|
}
|
|
509
520
|
function d(l) {
|
|
510
521
|
return l;
|
|
511
522
|
}
|
|
512
|
-
return (l,
|
|
523
|
+
return (l, v) => {
|
|
513
524
|
const k = x("el-icon"), P = x("el-dropdown-item"), F = x("el-dropdown-menu"), D = x("el-dropdown"), O = x("el-popover"), L = x("el-tooltip"), j = x("el-avatar"), g = x("el-menu-item"), S = x("el-menu"), m = x("el-button"), q = x("el-empty"), C = x("el-checkbox"), Z = x("el-drawer");
|
|
514
525
|
return u(), E(te, null, [
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
526
|
+
_("div", Tn, [
|
|
527
|
+
_("div", An, [
|
|
528
|
+
_("div", {
|
|
518
529
|
ref_key: "appCatalogButtonRef",
|
|
519
530
|
ref: a,
|
|
520
531
|
class: "icon-wrapper",
|
|
521
532
|
style: { "margin-left": "8px" }
|
|
522
533
|
}, [
|
|
523
|
-
h(y(
|
|
534
|
+
h(y(xn))
|
|
524
535
|
], 512),
|
|
525
|
-
|
|
536
|
+
_("h1", null, A(l.title), 1),
|
|
526
537
|
b.headerProjectConfig ? (u(), I(D, {
|
|
527
538
|
key: 0,
|
|
528
539
|
placement: "bottom-start",
|
|
@@ -531,11 +542,11 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
531
542
|
dropdown: p(() => [
|
|
532
543
|
h(F, { style: { width: "300px" } }, {
|
|
533
544
|
default: p(() => [
|
|
534
|
-
(u(!0), E(te, null,
|
|
545
|
+
(u(!0), E(te, null, me($.value, (R) => (u(), I(P, {
|
|
535
546
|
command: R.id
|
|
536
547
|
}, {
|
|
537
548
|
default: p(() => [
|
|
538
|
-
|
|
549
|
+
B(A(R.name), 1)
|
|
539
550
|
]),
|
|
540
551
|
_: 2
|
|
541
552
|
}, 1032, ["command"]))), 256)),
|
|
@@ -543,8 +554,8 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
543
554
|
divided: "",
|
|
544
555
|
command: "allProjects"
|
|
545
556
|
}, {
|
|
546
|
-
default: p(() =>
|
|
547
|
-
|
|
557
|
+
default: p(() => v[4] || (v[4] = [
|
|
558
|
+
B("全部项目")
|
|
548
559
|
])),
|
|
549
560
|
_: 1
|
|
550
561
|
})
|
|
@@ -553,8 +564,8 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
553
564
|
})
|
|
554
565
|
]),
|
|
555
566
|
default: p(() => [
|
|
556
|
-
|
|
557
|
-
|
|
567
|
+
_("span", null, [
|
|
568
|
+
B(A(V.name) + " ", 1),
|
|
558
569
|
h(k, { class: "el-icon--right" }, {
|
|
559
570
|
default: p(() => [
|
|
560
571
|
h(y(Kt))
|
|
@@ -574,19 +585,19 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
574
585
|
"popper-style": "width: 500px; height: 500px; padding: 0; inset: 49px auto auto 0px"
|
|
575
586
|
}, {
|
|
576
587
|
default: p(() => [
|
|
577
|
-
h(
|
|
588
|
+
h(Cn, { visible: !0 })
|
|
578
589
|
]),
|
|
579
590
|
_: 1
|
|
580
591
|
}, 8, ["virtual-ref"]),
|
|
581
|
-
|
|
592
|
+
_("div", Dn, [
|
|
582
593
|
h(L, {
|
|
583
594
|
effect: "dark",
|
|
584
595
|
content: y(o)("common.header.workbench"),
|
|
585
596
|
placement: "bottom"
|
|
586
597
|
}, {
|
|
587
598
|
default: p(() => [
|
|
588
|
-
|
|
589
|
-
h(y(
|
|
599
|
+
_("div", Rn, [
|
|
600
|
+
h(y(Un))
|
|
590
601
|
])
|
|
591
602
|
]),
|
|
592
603
|
_: 1
|
|
@@ -602,7 +613,7 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
602
613
|
class: "icon-wrapper",
|
|
603
614
|
onClick: he
|
|
604
615
|
}, [
|
|
605
|
-
h(y(
|
|
616
|
+
h(y(On))
|
|
606
617
|
])) : G("", !0)
|
|
607
618
|
]),
|
|
608
619
|
_: 1
|
|
@@ -613,16 +624,16 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
613
624
|
placement: "bottom"
|
|
614
625
|
}, {
|
|
615
626
|
default: p(() => [
|
|
616
|
-
|
|
627
|
+
_("div", {
|
|
617
628
|
class: "icon-wrapper",
|
|
618
|
-
onClick:
|
|
629
|
+
onClick: v[0] || (v[0] = (R) => c.value = !0)
|
|
619
630
|
}, [
|
|
620
|
-
h(y(
|
|
631
|
+
h(y(Vn))
|
|
621
632
|
])
|
|
622
633
|
]),
|
|
623
634
|
_: 1
|
|
624
635
|
}, 8, ["content"]),
|
|
625
|
-
|
|
636
|
+
_("div", Fn, [
|
|
626
637
|
h(j, {
|
|
627
638
|
size: 30,
|
|
628
639
|
src: "",
|
|
@@ -630,7 +641,7 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
630
641
|
ref: n
|
|
631
642
|
}, {
|
|
632
643
|
default: p(() => [
|
|
633
|
-
|
|
644
|
+
_("span", Ln, A(M.value.substring(0, 2)), 1)
|
|
634
645
|
]),
|
|
635
646
|
_: 1
|
|
636
647
|
}, 512),
|
|
@@ -645,23 +656,23 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
645
656
|
"virtual-triggering": ""
|
|
646
657
|
}, {
|
|
647
658
|
default: p(() => [
|
|
648
|
-
|
|
659
|
+
_("div", Gn, [
|
|
649
660
|
h(j, {
|
|
650
661
|
size: 48,
|
|
651
662
|
src: ""
|
|
652
663
|
}, {
|
|
653
664
|
default: p(() => [
|
|
654
|
-
|
|
665
|
+
_("span", jn, A(M.value.substring(0, 2)), 1)
|
|
655
666
|
]),
|
|
656
667
|
_: 1
|
|
657
668
|
}),
|
|
658
|
-
|
|
669
|
+
_("span", null, A(M.value), 1)
|
|
659
670
|
]),
|
|
660
671
|
h(S, { class: "user-menu" }, {
|
|
661
672
|
default: p(() => [
|
|
662
673
|
h(g, { onClick: oe }, {
|
|
663
674
|
default: p(() => [
|
|
664
|
-
|
|
675
|
+
B(A(y(o)("common.header.userCenter")), 1)
|
|
665
676
|
]),
|
|
666
677
|
_: 1
|
|
667
678
|
}),
|
|
@@ -671,7 +682,7 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
671
682
|
style: { display: "flext", "justify-content": "space-between" }
|
|
672
683
|
}, {
|
|
673
684
|
default: p(() => [
|
|
674
|
-
|
|
685
|
+
_("span", null, A(y(o)("common.header.switchLanguage")), 1),
|
|
675
686
|
h(k, { style: { left: "15px" } }, {
|
|
676
687
|
default: p(() => [
|
|
677
688
|
h(y(Ro))
|
|
@@ -693,11 +704,11 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
693
704
|
"popper-style": "height: 80px; left: -165px"
|
|
694
705
|
}, {
|
|
695
706
|
default: p(() => [
|
|
696
|
-
(u(!0), E(te, null,
|
|
707
|
+
(u(!0), E(te, null, me(Y, (R) => (u(), E("div", {
|
|
697
708
|
class: "select-list",
|
|
698
709
|
onClick: (ne) => ee(R.id)
|
|
699
710
|
}, [
|
|
700
|
-
|
|
711
|
+
_("span", null, A(R.name), 1),
|
|
701
712
|
R.id === z.value ? (u(), I(k, {
|
|
702
713
|
key: 0,
|
|
703
714
|
style: { color: "#8ba74f" }
|
|
@@ -707,13 +718,13 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
707
718
|
]),
|
|
708
719
|
_: 1
|
|
709
720
|
})) : G("", !0)
|
|
710
|
-
], 8,
|
|
721
|
+
], 8, zn))), 256))
|
|
711
722
|
]),
|
|
712
723
|
_: 1
|
|
713
724
|
}, 8, ["virtual-ref"]),
|
|
714
|
-
h(g, { onClick:
|
|
725
|
+
h(g, { onClick: H }, {
|
|
715
726
|
default: p(() => [
|
|
716
|
-
|
|
727
|
+
B(A(y(o)("common.header.signOut")), 1)
|
|
717
728
|
]),
|
|
718
729
|
_: 1
|
|
719
730
|
})
|
|
@@ -728,28 +739,28 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
728
739
|
]),
|
|
729
740
|
h(Z, {
|
|
730
741
|
modelValue: c.value,
|
|
731
|
-
"onUpdate:modelValue":
|
|
742
|
+
"onUpdate:modelValue": v[3] || (v[3] = (R) => c.value = R),
|
|
732
743
|
direction: "rtl",
|
|
733
744
|
title: y(o)("common.header.messageCenter"),
|
|
734
745
|
size: "500px"
|
|
735
746
|
}, {
|
|
736
747
|
header: p(() => [
|
|
737
|
-
|
|
738
|
-
|
|
748
|
+
_("div", qn, [
|
|
749
|
+
_("span", null, A(y(o)("common.header.messageCenter")), 1),
|
|
739
750
|
h(m, {
|
|
740
751
|
icon: y(St),
|
|
741
752
|
link: "",
|
|
742
753
|
onClick: Ce
|
|
743
754
|
}, {
|
|
744
755
|
default: p(() => [
|
|
745
|
-
|
|
756
|
+
B(A(y(o)("common.header.refresh")), 1)
|
|
746
757
|
]),
|
|
747
758
|
_: 1
|
|
748
759
|
}, 8, ["icon"])
|
|
749
760
|
])
|
|
750
761
|
]),
|
|
751
762
|
default: p(() => [
|
|
752
|
-
|
|
763
|
+
_("div", Bn, [
|
|
753
764
|
i.value.length > 0 ? (u(), E("div", Hn, [
|
|
754
765
|
h(m, {
|
|
755
766
|
icon: y(Tt),
|
|
@@ -758,7 +769,7 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
758
769
|
onClick: w
|
|
759
770
|
}, {
|
|
760
771
|
default: p(() => [
|
|
761
|
-
|
|
772
|
+
B(A(y(o)("common.header.markAsRead")), 1)
|
|
762
773
|
]),
|
|
763
774
|
_: 1
|
|
764
775
|
}, 8, ["icon"]),
|
|
@@ -769,56 +780,56 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
769
780
|
onClick: U
|
|
770
781
|
}, {
|
|
771
782
|
default: p(() => [
|
|
772
|
-
|
|
783
|
+
B(A(y(o)("common.header.delete")), 1)
|
|
773
784
|
]),
|
|
774
785
|
_: 1
|
|
775
786
|
}, 8, ["icon"])
|
|
776
787
|
])) : G("", !0),
|
|
777
|
-
|
|
778
|
-
r.value.length === 0 ? (u(), E("div",
|
|
788
|
+
_("div", Wn, [
|
|
789
|
+
r.value.length === 0 ? (u(), E("div", Yn, [
|
|
779
790
|
h(q, {
|
|
780
791
|
description: y(o)("common.header.noMessages")
|
|
781
792
|
}, null, 8, ["description"])
|
|
782
|
-
])) : (u(), E("div",
|
|
793
|
+
])) : (u(), E("div", Jn, [
|
|
783
794
|
h(C, {
|
|
784
795
|
indeterminate: i.value.length > 0 && i.value.length < r.value.length,
|
|
785
796
|
modelValue: f.value,
|
|
786
|
-
"onUpdate:modelValue":
|
|
797
|
+
"onUpdate:modelValue": v[1] || (v[1] = (R) => f.value = R),
|
|
787
798
|
onChange: T
|
|
788
799
|
}, {
|
|
789
800
|
default: p(() => [
|
|
790
|
-
|
|
801
|
+
B(A(y(o)("common.header.selectAll")), 1)
|
|
791
802
|
]),
|
|
792
803
|
_: 1
|
|
793
804
|
}, 8, ["indeterminate", "modelValue"])
|
|
794
805
|
])),
|
|
795
|
-
(u(!0), E(te, null,
|
|
806
|
+
(u(!0), E(te, null, me(r.value, (R) => (u(), E("div", {
|
|
796
807
|
key: R.id,
|
|
797
808
|
class: wt(["message-item", { unread: !R.isRead, selected: i.value.includes(R.id) }]),
|
|
798
809
|
onClick: (ne) => i.value = i.value.includes(R.id) ? i.value.filter((Q) => Q !== R.id) : [...i.value, R.id]
|
|
799
810
|
}, [
|
|
800
|
-
|
|
811
|
+
_("div", Qn, [
|
|
801
812
|
h(C, {
|
|
802
813
|
"model-value": i.value.includes(R.id),
|
|
803
814
|
onChange: (ne) => {
|
|
804
815
|
ne ? i.value.includes(R.id) || (i.value = [...i.value, R.id]) : i.value = i.value.filter((Q) => Q !== R.id);
|
|
805
816
|
},
|
|
806
|
-
onClick:
|
|
817
|
+
onClick: v[2] || (v[2] = Oo(() => {
|
|
807
818
|
}, ["stop"]))
|
|
808
819
|
}, null, 8, ["model-value", "onChange"])
|
|
809
820
|
]),
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
R.isRead ? G("", !0) : (u(), E("span",
|
|
821
|
+
_("div", Xn, [
|
|
822
|
+
_("div", Zn, [
|
|
823
|
+
_("span", es, A(R.title), 1),
|
|
824
|
+
R.isRead ? G("", !0) : (u(), E("span", ts))
|
|
814
825
|
]),
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
826
|
+
_("div", os, A(R.content), 1),
|
|
827
|
+
_("div", ns, [
|
|
828
|
+
_("span", ss, A(R.sender), 1),
|
|
829
|
+
_("span", as, A(R.sendTime), 1)
|
|
819
830
|
])
|
|
820
831
|
])
|
|
821
|
-
], 10,
|
|
832
|
+
], 10, Kn))), 128))
|
|
822
833
|
])
|
|
823
834
|
])
|
|
824
835
|
]),
|
|
@@ -827,10 +838,10 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
827
838
|
], 64);
|
|
828
839
|
};
|
|
829
840
|
}
|
|
830
|
-
}), Zt = /* @__PURE__ */ we(
|
|
841
|
+
}), Zt = /* @__PURE__ */ we(rs, [["__scopeId", "data-v-3c23184d"]]), ls = {
|
|
831
842
|
class: "menu-icon-wrapper",
|
|
832
843
|
style: { "margin-left": "3px" }
|
|
833
|
-
},
|
|
844
|
+
}, is = ["innerHTML"], cs = { class: "menu-icon-wrapper" }, ds = ["innerHTML"], us = /* @__PURE__ */ Ee({
|
|
834
845
|
__name: "SideMenuItem",
|
|
835
846
|
props: {
|
|
836
847
|
menu: {}
|
|
@@ -846,7 +857,7 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
846
857
|
title: p(() => {
|
|
847
858
|
var r, i, f, b;
|
|
848
859
|
return [
|
|
849
|
-
|
|
860
|
+
_("div", ls, [
|
|
850
861
|
(r = o.menu.meta) != null && r.icon ? (u(), I(lt((i = n.menu.meta) == null ? void 0 : i.icon), {
|
|
851
862
|
key: 0,
|
|
852
863
|
class: "menu-icon"
|
|
@@ -855,13 +866,13 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
855
866
|
key: 1,
|
|
856
867
|
class: "svg-xml-icon",
|
|
857
868
|
innerHTML: o.menu.meta.svgXml
|
|
858
|
-
}, null, 8,
|
|
869
|
+
}, null, 8, is)) : G("", !0)
|
|
859
870
|
]),
|
|
860
|
-
|
|
871
|
+
_("span", null, A(y(de)((b = n.menu.meta) == null ? void 0 : b.title)), 1)
|
|
861
872
|
];
|
|
862
873
|
}),
|
|
863
874
|
default: p(() => [
|
|
864
|
-
(u(!0), E(te, null,
|
|
875
|
+
(u(!0), E(te, null, me(n.menu.children, (r) => (u(), I(s, {
|
|
865
876
|
key: r.path,
|
|
866
877
|
route: r,
|
|
867
878
|
menu: r
|
|
@@ -876,13 +887,13 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
876
887
|
title: p(() => {
|
|
877
888
|
var r;
|
|
878
889
|
return [
|
|
879
|
-
|
|
890
|
+
_("span", null, A(y(de)((r = n.menu.meta) == null ? void 0 : r.title)), 1)
|
|
880
891
|
];
|
|
881
892
|
}),
|
|
882
893
|
default: p(() => {
|
|
883
894
|
var r, i, f;
|
|
884
895
|
return [
|
|
885
|
-
|
|
896
|
+
_("div", cs, [
|
|
886
897
|
(r = o.menu.meta) != null && r.icon ? (u(), I(lt((i = n.$props.menu.meta) == null ? void 0 : i.icon), {
|
|
887
898
|
key: 0,
|
|
888
899
|
class: "menu-icon"
|
|
@@ -891,7 +902,7 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
891
902
|
key: 1,
|
|
892
903
|
class: "svg-xml-icon",
|
|
893
904
|
innerHTML: o.menu.meta.svgXml
|
|
894
|
-
}, null, 8,
|
|
905
|
+
}, null, 8, ds)) : G("", !0)
|
|
895
906
|
])
|
|
896
907
|
];
|
|
897
908
|
}),
|
|
@@ -899,7 +910,7 @@ const Un = { class: "header" }, Tn = { class: "title" }, An = { class: "right" }
|
|
|
899
910
|
}, 8, ["index"]));
|
|
900
911
|
};
|
|
901
912
|
}
|
|
902
|
-
}),
|
|
913
|
+
}), ps = /* @__PURE__ */ we(us, [["__scopeId", "data-v-ec46c25c"]]), xe = N({}), fs = {}, Dt = N([]);
|
|
903
914
|
var eo = !1;
|
|
904
915
|
function ot(e, o, n) {
|
|
905
916
|
return Array.isArray(e) ? (e.length = Math.max(e.length, o), e.splice(o, 1, n), n) : (e[o] = n, n);
|
|
@@ -911,22 +922,22 @@ function ht(e, o) {
|
|
|
911
922
|
}
|
|
912
923
|
delete e[o];
|
|
913
924
|
}
|
|
914
|
-
function
|
|
925
|
+
function ms() {
|
|
915
926
|
return to().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
916
927
|
}
|
|
917
928
|
function to() {
|
|
918
929
|
return typeof navigator != "undefined" && typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : {};
|
|
919
930
|
}
|
|
920
|
-
const
|
|
921
|
-
let Ge,
|
|
922
|
-
function
|
|
931
|
+
const hs = typeof Proxy == "function", vs = "devtools-plugin:setup", _s = "plugin:settings:set";
|
|
932
|
+
let Ge, _t;
|
|
933
|
+
function gs() {
|
|
923
934
|
var e;
|
|
924
|
-
return Ge !== void 0 || (typeof window != "undefined" && window.performance ? (Ge = !0,
|
|
935
|
+
return Ge !== void 0 || (typeof window != "undefined" && window.performance ? (Ge = !0, _t = window.performance) : typeof globalThis != "undefined" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (Ge = !0, _t = globalThis.perf_hooks.performance) : Ge = !1), Ge;
|
|
925
936
|
}
|
|
926
|
-
function
|
|
927
|
-
return
|
|
937
|
+
function bs() {
|
|
938
|
+
return gs() ? _t.now() : Date.now();
|
|
928
939
|
}
|
|
929
|
-
class
|
|
940
|
+
class ys {
|
|
930
941
|
constructor(o, n) {
|
|
931
942
|
this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = o, this.hook = n;
|
|
932
943
|
const t = {};
|
|
@@ -954,7 +965,7 @@ class bs {
|
|
|
954
965
|
a = c;
|
|
955
966
|
},
|
|
956
967
|
now() {
|
|
957
|
-
return
|
|
968
|
+
return bs();
|
|
958
969
|
}
|
|
959
970
|
}, n && n.on(_s, (c, r) => {
|
|
960
971
|
c === this.plugin.id && this.fallbacks.setSettings(r);
|
|
@@ -991,11 +1002,11 @@ class bs {
|
|
|
991
1002
|
}
|
|
992
1003
|
}
|
|
993
1004
|
function oo(e, o) {
|
|
994
|
-
const n = e, t = to(), s =
|
|
1005
|
+
const n = e, t = to(), s = ms(), a = hs && n.enableEarlyProxy;
|
|
995
1006
|
if (s && (t.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
|
|
996
|
-
s.emit(
|
|
1007
|
+
s.emit(vs, e, o);
|
|
997
1008
|
else {
|
|
998
|
-
const c = a ? new
|
|
1009
|
+
const c = a ? new ys(n, s) : null;
|
|
999
1010
|
(t.__VUE_DEVTOOLS_PLUGINS__ = t.__VUE_DEVTOOLS_PLUGINS__ || []).push({
|
|
1000
1011
|
pluginDescriptor: n,
|
|
1001
1012
|
setupFn: o,
|
|
@@ -1021,7 +1032,7 @@ var Ie;
|
|
|
1021
1032
|
e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
|
|
1022
1033
|
})(Ie || (Ie = {}));
|
|
1023
1034
|
const Fe = typeof window != "undefined", Rt = 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 };
|
|
1024
|
-
function
|
|
1035
|
+
function ws(e, { autoBom: o = !1 } = {}) {
|
|
1025
1036
|
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;
|
|
1026
1037
|
}
|
|
1027
1038
|
function xt(e, o, n) {
|
|
@@ -1051,16 +1062,16 @@ function nt(e) {
|
|
|
1051
1062
|
}
|
|
1052
1063
|
const st = typeof navigator == "object" ? navigator : { userAgent: "" }, ao = /Macintosh/.test(st.userAgent) && /AppleWebKit/.test(st.userAgent) && !/Safari/.test(st.userAgent), ro = Fe ? (
|
|
1053
1064
|
// Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program
|
|
1054
|
-
typeof HTMLAnchorElement != "undefined" && "download" in HTMLAnchorElement.prototype && !ao ?
|
|
1065
|
+
typeof HTMLAnchorElement != "undefined" && "download" in HTMLAnchorElement.prototype && !ao ? Cs : (
|
|
1055
1066
|
// Use msSaveOrOpenBlob as a second approach
|
|
1056
|
-
"msSaveOrOpenBlob" in st ?
|
|
1067
|
+
"msSaveOrOpenBlob" in st ? ks : (
|
|
1057
1068
|
// Fallback to using FileReader and a popup
|
|
1058
|
-
|
|
1069
|
+
Ss
|
|
1059
1070
|
)
|
|
1060
1071
|
)
|
|
1061
1072
|
) : () => {
|
|
1062
1073
|
};
|
|
1063
|
-
function
|
|
1074
|
+
function Cs(e, o = "download", n) {
|
|
1064
1075
|
const t = document.createElement("a");
|
|
1065
1076
|
t.download = o, t.rel = "noopener", typeof e == "string" ? (t.href = e, t.origin !== location.origin ? so(t.href) ? xt(e, o, n) : (t.target = "_blank", nt(t)) : nt(t)) : (t.href = URL.createObjectURL(e), setTimeout(function() {
|
|
1066
1077
|
URL.revokeObjectURL(t.href);
|
|
@@ -1068,7 +1079,7 @@ function ws(e, o = "download", n) {
|
|
|
1068
1079
|
nt(t);
|
|
1069
1080
|
}, 0));
|
|
1070
1081
|
}
|
|
1071
|
-
function
|
|
1082
|
+
function ks(e, o = "download", n) {
|
|
1072
1083
|
if (typeof e == "string")
|
|
1073
1084
|
if (so(e))
|
|
1074
1085
|
xt(e, o, n);
|
|
@@ -1079,9 +1090,9 @@ function Cs(e, o = "download", n) {
|
|
|
1079
1090
|
});
|
|
1080
1091
|
}
|
|
1081
1092
|
else
|
|
1082
|
-
navigator.msSaveOrOpenBlob(
|
|
1093
|
+
navigator.msSaveOrOpenBlob(ws(e, n), o);
|
|
1083
1094
|
}
|
|
1084
|
-
function
|
|
1095
|
+
function Ss(e, o, n, t) {
|
|
1085
1096
|
if (t = t || open("", "_blank"), t && (t.document.title = t.document.body.innerText = "downloading..."), typeof e == "string")
|
|
1086
1097
|
return xt(e, o, n);
|
|
1087
1098
|
const s = e.type === "application/octet-stream", a = /constructor/i.test(String(Rt.HTMLElement)) || "safari" in Rt, c = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
@@ -1114,7 +1125,7 @@ function lo() {
|
|
|
1114
1125
|
function io(e) {
|
|
1115
1126
|
return e instanceof Error && e.message.toLowerCase().includes("document is not focused") ? (le('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
|
|
1116
1127
|
}
|
|
1117
|
-
function
|
|
1128
|
+
function xs(e) {
|
|
1118
1129
|
return Me(this, null, function* () {
|
|
1119
1130
|
if (!lo())
|
|
1120
1131
|
try {
|
|
@@ -1126,7 +1137,7 @@ function Ss(e) {
|
|
|
1126
1137
|
}
|
|
1127
1138
|
});
|
|
1128
1139
|
}
|
|
1129
|
-
function
|
|
1140
|
+
function $s(e) {
|
|
1130
1141
|
return Me(this, null, function* () {
|
|
1131
1142
|
if (!lo())
|
|
1132
1143
|
try {
|
|
@@ -1138,7 +1149,7 @@ function xs(e) {
|
|
|
1138
1149
|
}
|
|
1139
1150
|
});
|
|
1140
1151
|
}
|
|
1141
|
-
function
|
|
1152
|
+
function Es(e) {
|
|
1142
1153
|
return Me(this, null, function* () {
|
|
1143
1154
|
try {
|
|
1144
1155
|
ro(new Blob([JSON.stringify(e.state.value)], {
|
|
@@ -1150,7 +1161,7 @@ function $s(e) {
|
|
|
1150
1161
|
});
|
|
1151
1162
|
}
|
|
1152
1163
|
let Ne;
|
|
1153
|
-
function
|
|
1164
|
+
function Os() {
|
|
1154
1165
|
Ne || (Ne = document.createElement("input"), Ne.type = "file", Ne.accept = ".json");
|
|
1155
1166
|
function e() {
|
|
1156
1167
|
return new Promise((o, n) => {
|
|
@@ -1165,10 +1176,10 @@ function Es() {
|
|
|
1165
1176
|
}
|
|
1166
1177
|
return e;
|
|
1167
1178
|
}
|
|
1168
|
-
function
|
|
1179
|
+
function Ps(e) {
|
|
1169
1180
|
return Me(this, null, function* () {
|
|
1170
1181
|
try {
|
|
1171
|
-
const n = yield
|
|
1182
|
+
const n = yield Os()();
|
|
1172
1183
|
if (!n)
|
|
1173
1184
|
return;
|
|
1174
1185
|
const { text: t, file: s } = n;
|
|
@@ -1192,7 +1203,7 @@ function Se(e) {
|
|
|
1192
1203
|
};
|
|
1193
1204
|
}
|
|
1194
1205
|
const uo = "🍍 Pinia (root)", at = "_root";
|
|
1195
|
-
function
|
|
1206
|
+
function Is(e) {
|
|
1196
1207
|
return $t(e) ? {
|
|
1197
1208
|
id: at,
|
|
1198
1209
|
label: uo
|
|
@@ -1201,7 +1212,7 @@ function Ps(e) {
|
|
|
1201
1212
|
label: e.$id
|
|
1202
1213
|
};
|
|
1203
1214
|
}
|
|
1204
|
-
function
|
|
1215
|
+
function Vs(e) {
|
|
1205
1216
|
if ($t(e)) {
|
|
1206
1217
|
const n = Array.from(e._s.keys()), t = e._s;
|
|
1207
1218
|
return {
|
|
@@ -1237,7 +1248,7 @@ function Is(e) {
|
|
|
1237
1248
|
value: e[n]
|
|
1238
1249
|
}))), o;
|
|
1239
1250
|
}
|
|
1240
|
-
function
|
|
1251
|
+
function Ms(e) {
|
|
1241
1252
|
return e ? Array.isArray(e) ? e.reduce((o, n) => (o.keys.push(n.key), o.operations.push(n.type), o.oldValue[n.key] = n.oldValue, o.newValue[n.key] = n.newValue, o), {
|
|
1242
1253
|
oldValue: {},
|
|
1243
1254
|
keys: [],
|
|
@@ -1250,7 +1261,7 @@ function Vs(e) {
|
|
|
1250
1261
|
newValue: e.newValue
|
|
1251
1262
|
} : {};
|
|
1252
1263
|
}
|
|
1253
|
-
function
|
|
1264
|
+
function Ns(e) {
|
|
1254
1265
|
switch (e) {
|
|
1255
1266
|
case Ie.direct:
|
|
1256
1267
|
return "mutation";
|
|
@@ -1263,8 +1274,8 @@ function Ms(e) {
|
|
|
1263
1274
|
}
|
|
1264
1275
|
}
|
|
1265
1276
|
let ze = !0;
|
|
1266
|
-
const rt = [], De = "pinia:mutations",
|
|
1267
|
-
function
|
|
1277
|
+
const rt = [], De = "pinia:mutations", ue = "pinia", { assign: Us } = Object, dt = (e) => "🍍 " + e;
|
|
1278
|
+
function Ts(e, o) {
|
|
1268
1279
|
oo({
|
|
1269
1280
|
id: "dev.esm.pinia",
|
|
1270
1281
|
label: "Pinia 🍍",
|
|
@@ -1279,7 +1290,7 @@ function Us(e, o) {
|
|
|
1279
1290
|
label: "Pinia 🍍",
|
|
1280
1291
|
color: 15064968
|
|
1281
1292
|
}), n.addInspector({
|
|
1282
|
-
id:
|
|
1293
|
+
id: ue,
|
|
1283
1294
|
label: "Pinia 🍍",
|
|
1284
1295
|
icon: "storage",
|
|
1285
1296
|
treeFilterPlaceholder: "Search stores",
|
|
@@ -1287,28 +1298,28 @@ function Us(e, o) {
|
|
|
1287
1298
|
{
|
|
1288
1299
|
icon: "content_copy",
|
|
1289
1300
|
action: () => {
|
|
1290
|
-
|
|
1301
|
+
xs(o);
|
|
1291
1302
|
},
|
|
1292
1303
|
tooltip: "Serialize and copy the state"
|
|
1293
1304
|
},
|
|
1294
1305
|
{
|
|
1295
1306
|
icon: "content_paste",
|
|
1296
1307
|
action: () => Me(this, null, function* () {
|
|
1297
|
-
yield
|
|
1308
|
+
yield $s(o), n.sendInspectorTree(ue), n.sendInspectorState(ue);
|
|
1298
1309
|
}),
|
|
1299
1310
|
tooltip: "Replace the state with the content of your clipboard"
|
|
1300
1311
|
},
|
|
1301
1312
|
{
|
|
1302
1313
|
icon: "save",
|
|
1303
1314
|
action: () => {
|
|
1304
|
-
|
|
1315
|
+
Es(o);
|
|
1305
1316
|
},
|
|
1306
1317
|
tooltip: "Save the state as a JSON file"
|
|
1307
1318
|
},
|
|
1308
1319
|
{
|
|
1309
1320
|
icon: "folder_open",
|
|
1310
1321
|
action: () => Me(this, null, function* () {
|
|
1311
|
-
yield
|
|
1322
|
+
yield Ps(o), n.sendInspectorTree(ue), n.sendInspectorState(ue);
|
|
1312
1323
|
}),
|
|
1313
1324
|
tooltip: "Import the state from a JSON file"
|
|
1314
1325
|
}
|
|
@@ -1363,19 +1374,19 @@ function Us(e, o) {
|
|
|
1363
1374
|
});
|
|
1364
1375
|
}
|
|
1365
1376
|
}), n.on.getInspectorTree((t) => {
|
|
1366
|
-
if (t.app === e && t.inspectorId ===
|
|
1377
|
+
if (t.app === e && t.inspectorId === ue) {
|
|
1367
1378
|
let s = [o];
|
|
1368
|
-
s = s.concat(Array.from(o._s.values())), t.rootNodes = (t.filter ? s.filter((a) => "$id" in a ? a.$id.toLowerCase().includes(t.filter.toLowerCase()) : uo.toLowerCase().includes(t.filter.toLowerCase())) : s).map(
|
|
1379
|
+
s = s.concat(Array.from(o._s.values())), t.rootNodes = (t.filter ? s.filter((a) => "$id" in a ? a.$id.toLowerCase().includes(t.filter.toLowerCase()) : uo.toLowerCase().includes(t.filter.toLowerCase())) : s).map(Is);
|
|
1369
1380
|
}
|
|
1370
1381
|
}), globalThis.$pinia = o, n.on.getInspectorState((t) => {
|
|
1371
|
-
if (t.app === e && t.inspectorId ===
|
|
1382
|
+
if (t.app === e && t.inspectorId === ue) {
|
|
1372
1383
|
const s = t.nodeId === at ? o : o._s.get(t.nodeId);
|
|
1373
1384
|
if (!s)
|
|
1374
1385
|
return;
|
|
1375
|
-
s && (t.nodeId !== at && (globalThis.$store = Qe(s)), t.state =
|
|
1386
|
+
s && (t.nodeId !== at && (globalThis.$store = Qe(s)), t.state = Vs(s));
|
|
1376
1387
|
}
|
|
1377
1388
|
}), n.on.editInspectorState((t, s) => {
|
|
1378
|
-
if (t.app === e && t.inspectorId ===
|
|
1389
|
+
if (t.app === e && t.inspectorId === ue) {
|
|
1379
1390
|
const a = t.nodeId === at ? o : o._s.get(t.nodeId);
|
|
1380
1391
|
if (!a)
|
|
1381
1392
|
return le(`store "${t.nodeId}" not found`, "error");
|
|
@@ -1397,7 +1408,7 @@ Only state can be modified.`);
|
|
|
1397
1408
|
});
|
|
1398
1409
|
});
|
|
1399
1410
|
}
|
|
1400
|
-
function
|
|
1411
|
+
function As(e, o) {
|
|
1401
1412
|
rt.includes(dt(o.$id)) || rt.push(dt(o.$id)), oo({
|
|
1402
1413
|
id: "dev.esm.pinia",
|
|
1403
1414
|
label: "Pinia 🍍",
|
|
@@ -1471,7 +1482,7 @@ function Ts(e, o) {
|
|
|
1471
1482
|
});
|
|
1472
1483
|
}, !0), o._customProperties.forEach((c) => {
|
|
1473
1484
|
Ve(() => y(o[c]), (r, i) => {
|
|
1474
|
-
n.notifyComponentUpdate(), n.sendInspectorState(
|
|
1485
|
+
n.notifyComponentUpdate(), n.sendInspectorState(ue), ze && n.addTimelineEvent({
|
|
1475
1486
|
layerId: De,
|
|
1476
1487
|
event: {
|
|
1477
1488
|
time: t(),
|
|
@@ -1486,12 +1497,12 @@ function Ts(e, o) {
|
|
|
1486
1497
|
});
|
|
1487
1498
|
}, { deep: !0 });
|
|
1488
1499
|
}), o.$subscribe(({ events: c, type: r }, i) => {
|
|
1489
|
-
if (n.notifyComponentUpdate(), n.sendInspectorState(
|
|
1500
|
+
if (n.notifyComponentUpdate(), n.sendInspectorState(ue), !ze)
|
|
1490
1501
|
return;
|
|
1491
1502
|
const f = {
|
|
1492
1503
|
time: t(),
|
|
1493
|
-
title:
|
|
1494
|
-
data:
|
|
1504
|
+
title: Ns(r),
|
|
1505
|
+
data: Us({ store: Se(o.$id) }, Ms(c)),
|
|
1495
1506
|
groupId: Te
|
|
1496
1507
|
};
|
|
1497
1508
|
r === Ie.patchFunction ? f.subtitle = "⤵️" : r === Ie.patchObject ? f.subtitle = "🧩" : c && !Array.isArray(c) && (f.subtitle = c.type), c && (f.data["rawEvent(s)"] = {
|
|
@@ -1519,12 +1530,12 @@ function Ts(e, o) {
|
|
|
1519
1530
|
info: Se("HMR update")
|
|
1520
1531
|
}
|
|
1521
1532
|
}
|
|
1522
|
-
}), n.notifyComponentUpdate(), n.sendInspectorTree(
|
|
1533
|
+
}), n.notifyComponentUpdate(), n.sendInspectorTree(ue), n.sendInspectorState(ue);
|
|
1523
1534
|
});
|
|
1524
1535
|
const { $dispose: a } = o;
|
|
1525
1536
|
o.$dispose = () => {
|
|
1526
|
-
a(), n.notifyComponentUpdate(), n.sendInspectorTree(
|
|
1527
|
-
}, n.notifyComponentUpdate(), n.sendInspectorTree(
|
|
1537
|
+
a(), n.notifyComponentUpdate(), n.sendInspectorTree(ue), n.sendInspectorState(ue), n.getSettings().logStoreChanges && le(`Disposed "${o.$id}" store 🗑`);
|
|
1538
|
+
}, n.notifyComponentUpdate(), n.sendInspectorTree(ue), n.sendInspectorState(ue), n.getSettings().logStoreChanges && le(`"${o.$id}" store installed 🆕`);
|
|
1528
1539
|
});
|
|
1529
1540
|
}
|
|
1530
1541
|
let po = 0, Te;
|
|
@@ -1545,7 +1556,7 @@ function Ft(e, o, n) {
|
|
|
1545
1556
|
return Te = void 0, r;
|
|
1546
1557
|
};
|
|
1547
1558
|
}
|
|
1548
|
-
function
|
|
1559
|
+
function Ds({ app: e, store: o, options: n }) {
|
|
1549
1560
|
if (!o.$id.startsWith("__hot:")) {
|
|
1550
1561
|
if (o._isOptionsAPI = !!n.state, !o._p._testing) {
|
|
1551
1562
|
Ft(o, Object.keys(n.actions), o._isOptionsAPI);
|
|
@@ -1554,19 +1565,19 @@ function As({ app: e, store: o, options: n }) {
|
|
|
1554
1565
|
t.apply(this, arguments), Ft(o, Object.keys(s._hmrPayload.actions), !!o._isOptionsAPI);
|
|
1555
1566
|
};
|
|
1556
1567
|
}
|
|
1557
|
-
|
|
1568
|
+
As(
|
|
1558
1569
|
e,
|
|
1559
1570
|
// FIXME: is there a way to allow the assignment from Store<Id, S, G, A> to StoreGeneric?
|
|
1560
1571
|
o
|
|
1561
1572
|
);
|
|
1562
1573
|
}
|
|
1563
1574
|
}
|
|
1564
|
-
function
|
|
1565
|
-
const e =
|
|
1575
|
+
function Rs() {
|
|
1576
|
+
const e = Ht(!0), o = e.run(() => N({}));
|
|
1566
1577
|
let n = [], t = [];
|
|
1567
1578
|
const s = Re({
|
|
1568
1579
|
install(a) {
|
|
1569
|
-
Ze(s), s._a = a, a.provide(no, s), a.config.globalProperties.$pinia = s, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Fe &&
|
|
1580
|
+
Ze(s), s._a = a, a.provide(no, s), a.config.globalProperties.$pinia = s, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Fe && Ts(a, s), t.forEach((c) => n.push(c)), t = [];
|
|
1570
1581
|
},
|
|
1571
1582
|
use(a) {
|
|
1572
1583
|
return !this._a && !eo ? t.push(a) : n.push(a), this;
|
|
@@ -1579,7 +1590,7 @@ function Ds() {
|
|
|
1579
1590
|
_s: /* @__PURE__ */ new Map(),
|
|
1580
1591
|
state: o
|
|
1581
1592
|
});
|
|
1582
|
-
return process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof Proxy != "undefined" && s.use(
|
|
1593
|
+
return process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof Proxy != "undefined" && s.use(Ds), s;
|
|
1583
1594
|
}
|
|
1584
1595
|
function fo(e, o) {
|
|
1585
1596
|
for (const n in o) {
|
|
@@ -1606,7 +1617,7 @@ function je(e, ...o) {
|
|
|
1606
1617
|
n(...o);
|
|
1607
1618
|
});
|
|
1608
1619
|
}
|
|
1609
|
-
const
|
|
1620
|
+
const Fs = (e) => e(), Gt = Symbol(), vt = Symbol();
|
|
1610
1621
|
function gt(e, o) {
|
|
1611
1622
|
e instanceof Map && o instanceof Map ? o.forEach((n, t) => e.set(t, n)) : e instanceof Set && o instanceof Set && o.forEach(e.add, e);
|
|
1612
1623
|
for (const n in o) {
|
|
@@ -1617,12 +1628,12 @@ function gt(e, o) {
|
|
|
1617
1628
|
}
|
|
1618
1629
|
return e;
|
|
1619
1630
|
}
|
|
1620
|
-
const
|
|
1631
|
+
const Ls = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
|
|
1621
1632
|
/* istanbul ignore next */
|
|
1622
1633
|
Symbol()
|
|
1623
1634
|
);
|
|
1624
|
-
function
|
|
1625
|
-
return !Le(e) || !e.hasOwnProperty(
|
|
1635
|
+
function Gs(e) {
|
|
1636
|
+
return !Le(e) || !e.hasOwnProperty(Ls);
|
|
1626
1637
|
}
|
|
1627
1638
|
const { assign: be } = Object;
|
|
1628
1639
|
function jt(e) {
|
|
@@ -1659,7 +1670,7 @@ function bt(e, o, n = {}, t, s, a) {
|
|
|
1659
1670
|
!a && !z && (process.env.NODE_ENV === "production" || !s) && (t.state.value[e] = {});
|
|
1660
1671
|
const Y = N({});
|
|
1661
1672
|
let ce;
|
|
1662
|
-
function
|
|
1673
|
+
function H(d) {
|
|
1663
1674
|
let l;
|
|
1664
1675
|
f = b = !1, process.env.NODE_ENV !== "production" && (M = []), typeof d == "function" ? (d(t.state.value[e]), l = {
|
|
1665
1676
|
type: Ie.patchFunction,
|
|
@@ -1671,15 +1682,15 @@ function bt(e, o, n = {}, t, s, a) {
|
|
|
1671
1682
|
storeId: e,
|
|
1672
1683
|
events: M
|
|
1673
1684
|
});
|
|
1674
|
-
const
|
|
1685
|
+
const v = ce = Symbol();
|
|
1675
1686
|
it().then(() => {
|
|
1676
|
-
ce ===
|
|
1687
|
+
ce === v && (f = !0);
|
|
1677
1688
|
}), b = !0, je($, l, t.state.value[e]);
|
|
1678
1689
|
}
|
|
1679
1690
|
const ee = a ? function() {
|
|
1680
|
-
const { state: l } = n,
|
|
1691
|
+
const { state: l } = n, v = l ? l() : {};
|
|
1681
1692
|
this.$patch((k) => {
|
|
1682
|
-
be(k,
|
|
1693
|
+
be(k, v);
|
|
1683
1694
|
});
|
|
1684
1695
|
} : (
|
|
1685
1696
|
/* istanbul ignore next */
|
|
@@ -1692,8 +1703,8 @@ function bt(e, o, n = {}, t, s, a) {
|
|
|
1692
1703
|
}
|
|
1693
1704
|
const he = (d, l = "") => {
|
|
1694
1705
|
if (Gt in d)
|
|
1695
|
-
return d[
|
|
1696
|
-
const
|
|
1706
|
+
return d[vt] = l, d;
|
|
1707
|
+
const v = function() {
|
|
1697
1708
|
Ze(t);
|
|
1698
1709
|
const k = Array.from(arguments), P = [], F = [];
|
|
1699
1710
|
function D(j) {
|
|
@@ -1704,7 +1715,7 @@ function bt(e, o, n = {}, t, s, a) {
|
|
|
1704
1715
|
}
|
|
1705
1716
|
je(V, {
|
|
1706
1717
|
args: k,
|
|
1707
|
-
name:
|
|
1718
|
+
name: v[vt],
|
|
1708
1719
|
store: U,
|
|
1709
1720
|
after: D,
|
|
1710
1721
|
onError: O
|
|
@@ -1717,7 +1728,7 @@ function bt(e, o, n = {}, t, s, a) {
|
|
|
1717
1728
|
}
|
|
1718
1729
|
return L instanceof Promise ? L.then((j) => (je(P, j), j)).catch((j) => (je(F, j), Promise.reject(j))) : (je(P, L), L);
|
|
1719
1730
|
};
|
|
1720
|
-
return
|
|
1731
|
+
return v[Gt] = !0, v[vt] = l, v;
|
|
1721
1732
|
}, W = /* @__PURE__ */ Re({
|
|
1722
1733
|
actions: {},
|
|
1723
1734
|
getters: {},
|
|
@@ -1728,20 +1739,20 @@ function bt(e, o, n = {}, t, s, a) {
|
|
|
1728
1739
|
// _s: scope,
|
|
1729
1740
|
$id: e,
|
|
1730
1741
|
$onAction: Lt.bind(null, V),
|
|
1731
|
-
$patch:
|
|
1742
|
+
$patch: H,
|
|
1732
1743
|
$reset: ee,
|
|
1733
1744
|
$subscribe(d, l = {}) {
|
|
1734
|
-
const
|
|
1745
|
+
const v = Lt($, d, l.detached, () => k()), k = c.run(() => Ve(() => t.state.value[e], (P) => {
|
|
1735
1746
|
(l.flush === "sync" ? b : f) && d({
|
|
1736
1747
|
storeId: e,
|
|
1737
1748
|
type: Ie.direct,
|
|
1738
1749
|
events: M
|
|
1739
1750
|
}, P);
|
|
1740
1751
|
}, be({}, i, l)));
|
|
1741
|
-
return
|
|
1752
|
+
return v;
|
|
1742
1753
|
},
|
|
1743
1754
|
$dispose: oe
|
|
1744
|
-
}, U =
|
|
1755
|
+
}, U = fe(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Fe ? be(
|
|
1745
1756
|
{
|
|
1746
1757
|
_hmrPayload: W,
|
|
1747
1758
|
_customProperties: Re(/* @__PURE__ */ new Set())
|
|
@@ -1752,14 +1763,14 @@ function bt(e, o, n = {}, t, s, a) {
|
|
|
1752
1763
|
// setupStore
|
|
1753
1764
|
) : Ce);
|
|
1754
1765
|
t._s.set(e, U);
|
|
1755
|
-
const T = (t._a && t._a.runWithContext ||
|
|
1766
|
+
const T = (t._a && t._a.runWithContext || Fs)(() => t._e.run(() => (c = Ht()).run(() => o({ action: he }))));
|
|
1756
1767
|
for (const d in T) {
|
|
1757
1768
|
const l = T[d];
|
|
1758
1769
|
if (Xe(l) && !jt(l) || Ct(l))
|
|
1759
|
-
process.env.NODE_ENV !== "production" && s ? ot(Y.value, d, ft(T, d)) : a || (z &&
|
|
1770
|
+
process.env.NODE_ENV !== "production" && s ? ot(Y.value, d, ft(T, d)) : a || (z && Gs(l) && (Xe(l) ? l.value = z[d] : gt(l, z[d])), t.state.value[e][d] = l), process.env.NODE_ENV !== "production" && W.state.push(d);
|
|
1760
1771
|
else if (typeof l == "function") {
|
|
1761
|
-
const
|
|
1762
|
-
T[d] =
|
|
1772
|
+
const v = process.env.NODE_ENV !== "production" && s ? l : he(l, d);
|
|
1773
|
+
T[d] = v, process.env.NODE_ENV !== "production" && (W.actions[d] = l), r.actions[d] = l;
|
|
1763
1774
|
} else process.env.NODE_ENV !== "production" && jt(l) && (W.getters[d] = a ? (
|
|
1764
1775
|
// @ts-expect-error
|
|
1765
1776
|
n.getters[d]
|
|
@@ -1771,15 +1782,15 @@ function bt(e, o, n = {}, t, s, a) {
|
|
|
1771
1782
|
set: (d) => {
|
|
1772
1783
|
if (process.env.NODE_ENV !== "production" && s)
|
|
1773
1784
|
throw new Error("cannot set hotState");
|
|
1774
|
-
|
|
1785
|
+
H((l) => {
|
|
1775
1786
|
be(l, d);
|
|
1776
1787
|
});
|
|
1777
1788
|
}
|
|
1778
1789
|
}), process.env.NODE_ENV !== "production" && (U._hotUpdate = Re((d) => {
|
|
1779
1790
|
U._hotUpdating = !0, d._hmrPayload.state.forEach((l) => {
|
|
1780
1791
|
if (l in U.$state) {
|
|
1781
|
-
const
|
|
1782
|
-
typeof
|
|
1792
|
+
const v = d.$state[l], k = U.$state[l];
|
|
1793
|
+
typeof v == "object" && Le(v) && Le(k) ? fo(v, k) : d.$state[l] = k;
|
|
1783
1794
|
}
|
|
1784
1795
|
ot(U, l, ft(d.$state, l));
|
|
1785
1796
|
}), Object.keys(U.$state).forEach((l) => {
|
|
@@ -1788,14 +1799,14 @@ function bt(e, o, n = {}, t, s, a) {
|
|
|
1788
1799
|
f = !0;
|
|
1789
1800
|
});
|
|
1790
1801
|
for (const l in d._hmrPayload.actions) {
|
|
1791
|
-
const
|
|
1792
|
-
ot(U, l, he(
|
|
1802
|
+
const v = d[l];
|
|
1803
|
+
ot(U, l, he(v, l));
|
|
1793
1804
|
}
|
|
1794
1805
|
for (const l in d._hmrPayload.getters) {
|
|
1795
|
-
const
|
|
1806
|
+
const v = d._hmrPayload.getters[l], k = a ? (
|
|
1796
1807
|
// special handling of options api
|
|
1797
|
-
Ae(() => (Ze(t),
|
|
1798
|
-
) :
|
|
1808
|
+
Ae(() => (Ze(t), v.call(U, U)))
|
|
1809
|
+
) : v;
|
|
1799
1810
|
ot(U, l, k);
|
|
1800
1811
|
}
|
|
1801
1812
|
Object.keys(U._hmrPayload.getters).forEach((l) => {
|
|
@@ -1822,7 +1833,7 @@ function bt(e, o, n = {}, t, s, a) {
|
|
|
1822
1833
|
pinia: t,
|
|
1823
1834
|
options: r
|
|
1824
1835
|
}));
|
|
1825
|
-
Object.keys(l || {}).forEach((
|
|
1836
|
+
Object.keys(l || {}).forEach((v) => U._customProperties.add(v)), be(U, l);
|
|
1826
1837
|
} else
|
|
1827
1838
|
be(U, c.run(() => d({
|
|
1828
1839
|
store: U,
|
|
@@ -1836,7 +1847,7 @@ Found in store "${U.$id}".`), z && a && n.hydrate && n.hydrate(U.$state, z), f =
|
|
|
1836
1847
|
}
|
|
1837
1848
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
1838
1849
|
// @__NO_SIDE_EFFECTS__
|
|
1839
|
-
function
|
|
1850
|
+
function js(e, o, n) {
|
|
1840
1851
|
let t, s;
|
|
1841
1852
|
const a = typeof o == "function";
|
|
1842
1853
|
t = e, s = a ? n : o;
|
|
@@ -1866,18 +1877,18 @@ This will fail in production.`);
|
|
|
1866
1877
|
}
|
|
1867
1878
|
return c.$id = t, c;
|
|
1868
1879
|
}
|
|
1869
|
-
const
|
|
1880
|
+
const zs = /"(?:_|\\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*:/, qs = /"(?: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*:/, Bs = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
|
|
1870
1881
|
function Hs(e, o) {
|
|
1871
1882
|
if (e === "__proto__" || e === "constructor" && o && typeof o == "object" && "prototype" in o) {
|
|
1872
|
-
|
|
1883
|
+
Ws(e);
|
|
1873
1884
|
return;
|
|
1874
1885
|
}
|
|
1875
1886
|
return o;
|
|
1876
1887
|
}
|
|
1877
|
-
function
|
|
1888
|
+
function Ws(e) {
|
|
1878
1889
|
console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`);
|
|
1879
1890
|
}
|
|
1880
|
-
function
|
|
1891
|
+
function Ys(e, o = {}) {
|
|
1881
1892
|
if (typeof e != "string")
|
|
1882
1893
|
return e;
|
|
1883
1894
|
const n = e.trim();
|
|
@@ -1903,13 +1914,13 @@ function Ws(e, o = {}) {
|
|
|
1903
1914
|
if (t === "-infinity")
|
|
1904
1915
|
return Number.NEGATIVE_INFINITY;
|
|
1905
1916
|
}
|
|
1906
|
-
if (!
|
|
1917
|
+
if (!Bs.test(e)) {
|
|
1907
1918
|
if (o.strict)
|
|
1908
1919
|
throw new SyntaxError("[destr] Invalid JSON");
|
|
1909
1920
|
return e;
|
|
1910
1921
|
}
|
|
1911
1922
|
try {
|
|
1912
|
-
if (
|
|
1923
|
+
if (zs.test(e) || qs.test(e)) {
|
|
1913
1924
|
if (o.strict)
|
|
1914
1925
|
throw new Error("[destr] Possible prototype pollution");
|
|
1915
1926
|
return JSON.parse(e, Hs);
|
|
@@ -1921,7 +1932,7 @@ function Ws(e, o = {}) {
|
|
|
1921
1932
|
return e;
|
|
1922
1933
|
}
|
|
1923
1934
|
}
|
|
1924
|
-
function
|
|
1935
|
+
function Js(e, o) {
|
|
1925
1936
|
if (e == null)
|
|
1926
1937
|
return;
|
|
1927
1938
|
let n = e;
|
|
@@ -1972,10 +1983,10 @@ function ho(e, o) {
|
|
|
1972
1983
|
[o[0]]
|
|
1973
1984
|
);
|
|
1974
1985
|
}
|
|
1975
|
-
function _o(e, o) {
|
|
1976
|
-
return o.map((n) => n.split(".")).map((n) => [n, Ys(e, n)]).filter((n) => n[1] !== void 0).reduce((n, t) => Et(n, t[1], t[0]), {});
|
|
1977
|
-
}
|
|
1978
1986
|
function vo(e, o) {
|
|
1987
|
+
return o.map((n) => n.split(".")).map((n) => [n, Js(e, n)]).filter((n) => n[1] !== void 0).reduce((n, t) => Et(n, t[1], t[0]), {});
|
|
1988
|
+
}
|
|
1989
|
+
function _o(e, o) {
|
|
1979
1990
|
return o.map((n) => n.split(".")).reduce((n, t) => ho(n, t), e);
|
|
1980
1991
|
}
|
|
1981
1992
|
function qt(e, {
|
|
@@ -1992,7 +2003,7 @@ function qt(e, {
|
|
|
1992
2003
|
b && (r == null || r(f));
|
|
1993
2004
|
const $ = o.getItem(t);
|
|
1994
2005
|
if ($) {
|
|
1995
|
-
const V = n.deserialize($), M = a ?
|
|
2006
|
+
const V = n.deserialize($), M = a ? vo(V, a) : V, z = c ? _o(M, c) : M;
|
|
1996
2007
|
e.$patch(z);
|
|
1997
2008
|
}
|
|
1998
2009
|
b && (i == null || i(f));
|
|
@@ -2000,7 +2011,7 @@ function qt(e, {
|
|
|
2000
2011
|
s && console.error("[pinia-plugin-persistedstate]", $);
|
|
2001
2012
|
}
|
|
2002
2013
|
}
|
|
2003
|
-
function
|
|
2014
|
+
function Bt(e, {
|
|
2004
2015
|
storage: o,
|
|
2005
2016
|
serializer: n,
|
|
2006
2017
|
key: t,
|
|
@@ -2009,13 +2020,13 @@ function Ht(e, {
|
|
|
2009
2020
|
omit: c
|
|
2010
2021
|
}) {
|
|
2011
2022
|
try {
|
|
2012
|
-
const r = a ?
|
|
2023
|
+
const r = a ? vo(e, a) : e, i = c ? _o(r, c) : r, f = n.serialize(i);
|
|
2013
2024
|
o.setItem(t, f);
|
|
2014
2025
|
} catch (r) {
|
|
2015
2026
|
s && console.error("[pinia-plugin-persistedstate]", r);
|
|
2016
2027
|
}
|
|
2017
2028
|
}
|
|
2018
|
-
function
|
|
2029
|
+
function Ks(e, o, n) {
|
|
2019
2030
|
const { pinia: t, store: s, options: { persist: a = n } } = e;
|
|
2020
2031
|
if (!a)
|
|
2021
2032
|
return;
|
|
@@ -2031,19 +2042,19 @@ function Js(e, o, n) {
|
|
|
2031
2042
|
});
|
|
2032
2043
|
}, s.$persist = () => {
|
|
2033
2044
|
r.forEach((i) => {
|
|
2034
|
-
|
|
2045
|
+
Bt(s.$state, i);
|
|
2035
2046
|
});
|
|
2036
2047
|
}, r.forEach((i) => {
|
|
2037
2048
|
qt(s, i, e), s.$subscribe(
|
|
2038
|
-
(f, b) =>
|
|
2049
|
+
(f, b) => Bt(b, i),
|
|
2039
2050
|
{ detached: !0 }
|
|
2040
2051
|
);
|
|
2041
2052
|
});
|
|
2042
2053
|
}
|
|
2043
|
-
function
|
|
2054
|
+
function Qs(e = {}) {
|
|
2044
2055
|
return function(o) {
|
|
2045
2056
|
var n;
|
|
2046
|
-
|
|
2057
|
+
Ks(
|
|
2047
2058
|
o,
|
|
2048
2059
|
(t) => {
|
|
2049
2060
|
var s, a, c, r, i, f, b;
|
|
@@ -2052,7 +2063,7 @@ function Ks(e = {}) {
|
|
|
2052
2063
|
debug: (c = (a = t.debug) != null ? a : e.debug) != null ? c : !1,
|
|
2053
2064
|
serializer: (i = (r = t.serializer) != null ? r : e.serializer) != null ? i : {
|
|
2054
2065
|
serialize: ($) => JSON.stringify($),
|
|
2055
|
-
deserialize: ($) =>
|
|
2066
|
+
deserialize: ($) => Ys($)
|
|
2056
2067
|
},
|
|
2057
2068
|
storage: (b = (f = t.storage) != null ? f : e.storage) != null ? b : window.localStorage,
|
|
2058
2069
|
beforeHydrate: t.beforeHydrate,
|
|
@@ -2065,10 +2076,10 @@ function Ks(e = {}) {
|
|
|
2065
2076
|
);
|
|
2066
2077
|
};
|
|
2067
2078
|
}
|
|
2068
|
-
var
|
|
2069
|
-
const Ot =
|
|
2070
|
-
Ot.use(
|
|
2071
|
-
const go = /* @__PURE__ */
|
|
2079
|
+
var Xs = Qs();
|
|
2080
|
+
const Ot = Rs();
|
|
2081
|
+
Ot.use(Xs);
|
|
2082
|
+
const go = /* @__PURE__ */ js("console", {
|
|
2072
2083
|
state: () => ({
|
|
2073
2084
|
menu: {
|
|
2074
2085
|
collapsed: !0
|
|
@@ -2079,10 +2090,10 @@ const go = /* @__PURE__ */ Gs("console", {
|
|
|
2079
2090
|
}
|
|
2080
2091
|
}),
|
|
2081
2092
|
persist: !0
|
|
2082
|
-
}),
|
|
2093
|
+
}), Zs = {
|
|
2083
2094
|
key: 0,
|
|
2084
2095
|
class: "menu-wrapper"
|
|
2085
|
-
},
|
|
2096
|
+
}, ea = {
|
|
2086
2097
|
class: "collapse-icon",
|
|
2087
2098
|
viewBox: "0 0 24 24",
|
|
2088
2099
|
fill: "none",
|
|
@@ -2090,13 +2101,13 @@ const go = /* @__PURE__ */ Gs("console", {
|
|
|
2090
2101
|
"stroke-width": "2",
|
|
2091
2102
|
"stroke-linecap": "round",
|
|
2092
2103
|
"stroke-linejoin": "round"
|
|
2093
|
-
},
|
|
2104
|
+
}, ta = {
|
|
2094
2105
|
key: 0,
|
|
2095
2106
|
points: "9 18 15 12 9 6"
|
|
2096
|
-
},
|
|
2107
|
+
}, oa = {
|
|
2097
2108
|
key: 1,
|
|
2098
2109
|
points: "15 18 9 12 15 6"
|
|
2099
|
-
},
|
|
2110
|
+
}, na = /* @__PURE__ */ Ee({
|
|
2100
2111
|
__name: "SideMenu",
|
|
2101
2112
|
props: {
|
|
2102
2113
|
menuCollapsed: { type: Boolean }
|
|
@@ -2108,7 +2119,7 @@ const go = /* @__PURE__ */ Gs("console", {
|
|
|
2108
2119
|
const b = a.meta.activeMenu;
|
|
2109
2120
|
if (b === "{model}") {
|
|
2110
2121
|
let V = a.params.app ? `${a.params.app}/${a.params.model}` : a.params.model;
|
|
2111
|
-
return "/" + (($ =
|
|
2122
|
+
return "/" + (($ = fs[a.params.model]) != null ? $ : V);
|
|
2112
2123
|
} else
|
|
2113
2124
|
return b;
|
|
2114
2125
|
}), i = () => {
|
|
@@ -2125,7 +2136,7 @@ const go = /* @__PURE__ */ Gs("console", {
|
|
|
2125
2136
|
}
|
|
2126
2137
|
return (b, $) => {
|
|
2127
2138
|
const V = x("el-menu");
|
|
2128
|
-
return y(Dt).length > 0 ? (u(), E("div",
|
|
2139
|
+
return y(Dt).length > 0 ? (u(), E("div", Zs, [
|
|
2129
2140
|
h(V, {
|
|
2130
2141
|
class: "menu",
|
|
2131
2142
|
"default-active": r.value,
|
|
@@ -2133,25 +2144,25 @@ const go = /* @__PURE__ */ Gs("console", {
|
|
|
2133
2144
|
router: ""
|
|
2134
2145
|
}, {
|
|
2135
2146
|
default: p(() => [
|
|
2136
|
-
(u(!0), E(te, null,
|
|
2147
|
+
(u(!0), E(te, null, me(y(Dt), (M) => (u(), I(ps, {
|
|
2137
2148
|
key: M.path,
|
|
2138
2149
|
menu: M
|
|
2139
2150
|
}, null, 8, ["menu"]))), 128))
|
|
2140
2151
|
]),
|
|
2141
2152
|
_: 1
|
|
2142
2153
|
}, 8, ["default-active", "collapse"]),
|
|
2143
|
-
|
|
2154
|
+
_("div", {
|
|
2144
2155
|
class: "collapse-button",
|
|
2145
2156
|
onClick: f
|
|
2146
2157
|
}, [
|
|
2147
|
-
(u(), E("svg",
|
|
2148
|
-
b.menuCollapsed ? (u(), E("polyline",
|
|
2158
|
+
(u(), E("svg", ea, [
|
|
2159
|
+
b.menuCollapsed ? (u(), E("polyline", ta)) : (u(), E("polyline", oa))
|
|
2149
2160
|
]))
|
|
2150
2161
|
])
|
|
2151
2162
|
])) : G("", !0);
|
|
2152
2163
|
};
|
|
2153
2164
|
}
|
|
2154
|
-
}), bo = /* @__PURE__ */ we(
|
|
2165
|
+
}), bo = /* @__PURE__ */ we(na, [["__scopeId", "data-v-98acf7ee"]]), sa = { class: "container" }, aa = { class: "main-wrapper" }, ra = /* @__PURE__ */ Ee({
|
|
2155
2166
|
__name: "ConsoleApp",
|
|
2156
2167
|
props: {
|
|
2157
2168
|
title: {},
|
|
@@ -2169,7 +2180,7 @@ const go = /* @__PURE__ */ Gs("console", {
|
|
|
2169
2180
|
helpDocUrl: s.helpDocUrl,
|
|
2170
2181
|
headerProjectConfig: s.headerProjectConfig
|
|
2171
2182
|
}, null, 8, ["title", "helpDocUrl", "headerProjectConfig"])) : G("", !0),
|
|
2172
|
-
|
|
2183
|
+
_("div", sa, [
|
|
2173
2184
|
y(n).query.embedded !== "true" ? (u(), I(bo, {
|
|
2174
2185
|
key: 0,
|
|
2175
2186
|
menuCollapsed: t.value,
|
|
@@ -2177,7 +2188,7 @@ const go = /* @__PURE__ */ Gs("console", {
|
|
|
2177
2188
|
}, null, 8, ["menuCollapsed"])) : G("", !0),
|
|
2178
2189
|
h(i, { class: "main-scrollbar" }, {
|
|
2179
2190
|
default: p(() => [
|
|
2180
|
-
|
|
2191
|
+
_("main", aa, [
|
|
2181
2192
|
h(r)
|
|
2182
2193
|
])
|
|
2183
2194
|
]),
|
|
@@ -2187,26 +2198,26 @@ const go = /* @__PURE__ */ Gs("console", {
|
|
|
2187
2198
|
], 64);
|
|
2188
2199
|
};
|
|
2189
2200
|
}
|
|
2190
|
-
}),
|
|
2201
|
+
}), la = {
|
|
2191
2202
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2192
2203
|
width: "800",
|
|
2193
2204
|
height: "800"
|
|
2194
2205
|
};
|
|
2195
|
-
function
|
|
2196
|
-
return u(), E("svg",
|
|
2206
|
+
function ia(e, o) {
|
|
2207
|
+
return u(), E("svg", la, o[0] || (o[0] = [
|
|
2197
2208
|
To('<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)
|
|
2198
2209
|
]));
|
|
2199
2210
|
}
|
|
2200
|
-
const
|
|
2201
|
-
function
|
|
2211
|
+
const ca = { render: ia }, da = {}, ua = { class: "wrapper" }, pa = { class: "content" };
|
|
2212
|
+
function fa(e, o) {
|
|
2202
2213
|
const n = x("el-button");
|
|
2203
|
-
return u(), E("div",
|
|
2204
|
-
o[4] || (o[4] =
|
|
2205
|
-
|
|
2206
|
-
o[3] || (o[3] =
|
|
2214
|
+
return u(), E("div", ua, [
|
|
2215
|
+
o[4] || (o[4] = _("img", { src: ca }, null, -1)),
|
|
2216
|
+
_("div", pa, [
|
|
2217
|
+
o[3] || (o[3] = _("h1", null, "You have no permission to access the page.", -1)),
|
|
2207
2218
|
h(n, { type: "primary" }, {
|
|
2208
2219
|
default: p(() => o[1] || (o[1] = [
|
|
2209
|
-
|
|
2220
|
+
B("Apply")
|
|
2210
2221
|
])),
|
|
2211
2222
|
_: 1
|
|
2212
2223
|
}),
|
|
@@ -2214,19 +2225,19 @@ function pa(e, o) {
|
|
|
2214
2225
|
onClick: o[0] || (o[0] = (t) => e.$router.go(-1))
|
|
2215
2226
|
}, {
|
|
2216
2227
|
default: p(() => o[2] || (o[2] = [
|
|
2217
|
-
|
|
2228
|
+
B("Go Back")
|
|
2218
2229
|
])),
|
|
2219
2230
|
_: 1
|
|
2220
2231
|
})
|
|
2221
2232
|
])
|
|
2222
2233
|
]);
|
|
2223
2234
|
}
|
|
2224
|
-
const
|
|
2225
|
-
function
|
|
2235
|
+
const ma = /* @__PURE__ */ we(da, [["render", fa], ["__scopeId", "data-v-0155b361"]]), ha = {};
|
|
2236
|
+
function va(e, o) {
|
|
2226
2237
|
const n = x("router-view");
|
|
2227
2238
|
return u(), I(n);
|
|
2228
2239
|
}
|
|
2229
|
-
const _a = /* @__PURE__ */ we(
|
|
2240
|
+
const _a = /* @__PURE__ */ we(ha, [["render", va]]), ga = { class: "card-wrapper" }, ba = ["onClick"], ya = { class: "card-inner-wrapper" }, wa = { class: "card-title" }, Ca = { class: "icon" }, ka = /* @__PURE__ */ Ee({
|
|
2230
2241
|
__name: "TabCard",
|
|
2231
2242
|
props: {
|
|
2232
2243
|
cards: {},
|
|
@@ -2267,44 +2278,44 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2267
2278
|
{
|
|
2268
2279
|
deep: !0
|
|
2269
2280
|
}
|
|
2270
|
-
), (c, r) => (u(), E("div",
|
|
2271
|
-
(u(!0), E(te, null,
|
|
2281
|
+
), (c, r) => (u(), E("div", ga, [
|
|
2282
|
+
(u(!0), E(te, null, me(t.cards, (i) => (u(), E("div", {
|
|
2272
2283
|
class: wt(["card", { "card-selected": s.value === i.key }]),
|
|
2273
2284
|
onClick: (f) => a(i)
|
|
2274
2285
|
}, [
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2286
|
+
_("div", ya, [
|
|
2287
|
+
_("div", wa, [
|
|
2288
|
+
_("div", Ca, [
|
|
2278
2289
|
i.icon ? (u(), I(lt(i.icon), {
|
|
2279
2290
|
key: 0,
|
|
2280
2291
|
class: "svg-icon"
|
|
2281
2292
|
})) : G("", !0)
|
|
2282
2293
|
]),
|
|
2283
|
-
|
|
2284
|
-
style:
|
|
2285
|
-
}, A(y(
|
|
2294
|
+
_("span", {
|
|
2295
|
+
style: Be({ color: i.disabled ? "#aaa" : "black" })
|
|
2296
|
+
}, A(y(de)(i.label)), 5)
|
|
2286
2297
|
]),
|
|
2287
|
-
|
|
2298
|
+
_("span", null, A(i.count), 1)
|
|
2288
2299
|
])
|
|
2289
|
-
], 10,
|
|
2300
|
+
], 10, ba))), 256))
|
|
2290
2301
|
]));
|
|
2291
2302
|
}
|
|
2292
|
-
}), yo = /* @__PURE__ */ we(
|
|
2303
|
+
}), yo = /* @__PURE__ */ we(ka, [["__scopeId", "data-v-9ffe5727"]]), He = (e) => {
|
|
2293
2304
|
const o = Object.keys(e);
|
|
2294
2305
|
let n = {};
|
|
2295
2306
|
o.forEach((t) => {
|
|
2296
2307
|
n[t] = void 0;
|
|
2297
2308
|
}), Object.assign(e, n);
|
|
2298
|
-
},
|
|
2309
|
+
}, Sa = {
|
|
2299
2310
|
key: 1,
|
|
2300
2311
|
class: "view-span"
|
|
2301
|
-
},
|
|
2312
|
+
}, xa = {
|
|
2302
2313
|
key: 8,
|
|
2303
2314
|
class: "svg-field"
|
|
2304
|
-
},
|
|
2315
|
+
}, $a = ["innerHTML"], Ea = {
|
|
2305
2316
|
key: 9,
|
|
2306
2317
|
class: "svg-field view-mode"
|
|
2307
|
-
},
|
|
2318
|
+
}, Oa = ["innerHTML"], Pa = /* @__PURE__ */ Ee({
|
|
2308
2319
|
__name: "FormView",
|
|
2309
2320
|
props: {
|
|
2310
2321
|
id: {},
|
|
@@ -2317,11 +2328,11 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2317
2328
|
},
|
|
2318
2329
|
emits: ["update:id"],
|
|
2319
2330
|
setup(e, { expose: o, emit: n }) {
|
|
2320
|
-
const t = e, s =
|
|
2331
|
+
const t = e, s = fe({}), a = N(!1), c = N(), r = fe({}), i = N(!1), f = N(""), b = N(null), $ = (w) => t.mode === "view" && (W(w, void 0) || W(w, "input") || W(w, "select") || W(w, "password") || W(w, "input-number") || W(w, "date") || W(w, "time") || W(w, "datetime")), V = Ae(() => t.model.fields ? t.model.fields.filter(
|
|
2321
2332
|
(w) => {
|
|
2322
|
-
var l,
|
|
2333
|
+
var l, v, k, P;
|
|
2323
2334
|
let T = w.visible !== !1 && ((l = w.formItem) == null ? void 0 : l.visible) !== !1;
|
|
2324
|
-
if (t.mode !== "view" && ((
|
|
2335
|
+
if (t.mode !== "view" && ((v = w.formItem) == null ? void 0 : v.editable) === !1 || t.mode === "view" && ((k = w.formItem) == null ? void 0 : k.type) === "password")
|
|
2325
2336
|
return !1;
|
|
2326
2337
|
let d = (P = w.formItem) == null ? void 0 : P.showCondition;
|
|
2327
2338
|
if (d && d.field && d.value !== void 0) {
|
|
@@ -2346,37 +2357,37 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2346
2357
|
const w = t.model.fields;
|
|
2347
2358
|
let T = {};
|
|
2348
2359
|
w == null || w.forEach((d) => {
|
|
2349
|
-
var l,
|
|
2360
|
+
var l, v, k, P, F, D, O, L, j, g, S, m, q;
|
|
2350
2361
|
if (s[d.prop] = null, d.visible !== !1 && ((l = d.formItem) == null ? void 0 : l.visible) !== !1) {
|
|
2351
|
-
if (((
|
|
2362
|
+
if (((v = d.formItem) == null ? void 0 : v.defaultValue) !== void 0 ? s[d.prop] = (k = d.formItem) == null ? void 0 : k.defaultValue : s[d.prop] = void 0, t.mode !== "view") {
|
|
2352
2363
|
let ae = (P = d.formItem) == null ? void 0 : P.validationRule;
|
|
2353
|
-
ae !== void 0 && (T[d.prop] = ae),
|
|
2364
|
+
ae !== void 0 && (T[d.prop] = ae), He(r), Object.assign(r, T);
|
|
2354
2365
|
}
|
|
2355
2366
|
const C = d.formItem, Z = C == null ? void 0 : C.type, R = (F = C == null ? void 0 : C.select) == null ? void 0 : F.useDatableDict, ne = (D = C == null ? void 0 : C.select) == null ? void 0 : D.dictId, Q = (O = C == null ? void 0 : C.select) == null ? void 0 : O.api, J = (L = C == null ? void 0 : C.select) == null ? void 0 : L.valueMappingField, se = (j = C == null ? void 0 : C.select) == null ? void 0 : j.labelMappingField;
|
|
2356
2367
|
if (Z === "select") {
|
|
2357
2368
|
if (R) {
|
|
2358
2369
|
let re = `${Ae(() => window.location.href.indexOf("localhost") > 0 ? "http://localhost.vancone.com:8080" : "https://datable.vancone.com/agent/public/0001").value}/api/datable/agent/metadata/dict?dictId=${ne}`;
|
|
2359
|
-
const
|
|
2360
|
-
|
|
2370
|
+
const ve = (g = C == null ? void 0 : C.select) == null ? void 0 : g.queryParamName, pe = (S = C == null ? void 0 : C.select) == null ? void 0 : S.queryParamValueField;
|
|
2371
|
+
ve && (re = `${re}?${ve}=${t.id}`), pe || $e(re, "GET", {}).then(({ data: _e }) => {
|
|
2361
2372
|
var ke;
|
|
2362
2373
|
if ((ke = d.formItem) != null && ke.select) {
|
|
2363
2374
|
let ge = [];
|
|
2364
|
-
Array.isArray(
|
|
2375
|
+
Array.isArray(_e.data) ? ge = _e.data : _e.data.list && Array.isArray(_e.data.list) && (ge = _e.data.list), d.formItem.select.options = ge.map((Ue) => ({
|
|
2365
2376
|
value: Ue.dbOrdinal,
|
|
2366
|
-
label:
|
|
2377
|
+
label: de(Ue.value)
|
|
2367
2378
|
}));
|
|
2368
2379
|
}
|
|
2369
2380
|
});
|
|
2370
2381
|
} else if (Q) {
|
|
2371
2382
|
let ae = Q;
|
|
2372
|
-
const re = (m = C == null ? void 0 : C.select) == null ? void 0 : m.queryParamName,
|
|
2373
|
-
re && (ae = `${ae}?${re}=${t.id}`),
|
|
2374
|
-
var
|
|
2375
|
-
if ((
|
|
2383
|
+
const re = (m = C == null ? void 0 : C.select) == null ? void 0 : m.queryParamName, ve = (q = C == null ? void 0 : C.select) == null ? void 0 : q.queryParamValueField;
|
|
2384
|
+
re && (ae = `${ae}?${re}=${t.id}`), ve || $e(ae, "GET", {}).then(({ data: pe }) => {
|
|
2385
|
+
var _e;
|
|
2386
|
+
if ((_e = d.formItem) != null && _e.select) {
|
|
2376
2387
|
let ke = [];
|
|
2377
|
-
Array.isArray(
|
|
2388
|
+
Array.isArray(pe.data) ? ke = pe.data : pe.data.list && Array.isArray(pe.data.list) && (ke = pe.data.list), d.formItem.select.options = ke.map((ge) => ({
|
|
2378
2389
|
value: J ? ge[J] : ge.value,
|
|
2379
|
-
label:
|
|
2390
|
+
label: de(se ? ge[se] : ge.label)
|
|
2380
2391
|
}));
|
|
2381
2392
|
}
|
|
2382
2393
|
});
|
|
@@ -2387,15 +2398,15 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2387
2398
|
}
|
|
2388
2399
|
function z() {
|
|
2389
2400
|
ce(), M(), (t.mode === "update" || t.mode === "view") && t.id !== void 0 && t.id !== "" && t.model.api !== "" && (a.value = !0, $e(`${t.model.api}/${t.id}`, "GET", {}).then(({ data: w }) => {
|
|
2390
|
-
|
|
2401
|
+
He(s), Object.assign(s, w.data), t.model.fields.forEach((T) => {
|
|
2391
2402
|
T.formItem && T.formItem.type === "select" && s[T.prop] !== void 0 && Ce(T);
|
|
2392
2403
|
}), a.value = !1;
|
|
2393
2404
|
}));
|
|
2394
2405
|
}
|
|
2395
2406
|
function Y() {
|
|
2396
2407
|
return new Promise((w, T) => {
|
|
2397
|
-
var l,
|
|
2398
|
-
((
|
|
2408
|
+
var l, v, k, P;
|
|
2409
|
+
((v = (l = t.model.formConfig) == null ? void 0 : l.functions) == null ? void 0 : v.beforeSubmit) !== void 0 && Object.assign(s, (P = (k = t.model.formConfig) == null ? void 0 : k.functions) == null ? void 0 : P.beforeSubmit(s));
|
|
2399
2410
|
let d = t.mode === "create" ? "POST" : "PUT";
|
|
2400
2411
|
t.model.api && $e(t.model.api, d, s).then(({ data: F }) => {
|
|
2401
2412
|
var D, O, L, j;
|
|
@@ -2407,27 +2418,27 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2407
2418
|
var w;
|
|
2408
2419
|
(w = c.value) == null || w.resetFields();
|
|
2409
2420
|
}
|
|
2410
|
-
function
|
|
2411
|
-
return w != null && w.prop ? w.label ?
|
|
2421
|
+
function H(w) {
|
|
2422
|
+
return w != null && w.prop ? w.label ? de(w.label) : w.prop.slice(0, 1).toUpperCase() + w.prop.slice(1).toLowerCase() : "";
|
|
2412
2423
|
}
|
|
2413
2424
|
function ee(w) {
|
|
2414
|
-
var T, d, l,
|
|
2425
|
+
var T, d, l, v, k, P;
|
|
2415
2426
|
if (w) {
|
|
2416
2427
|
if (W(w, "select")) {
|
|
2417
2428
|
const F = (d = (T = w.tableColumn) == null ? void 0 : T.functions) == null ? void 0 : d.transformValue;
|
|
2418
2429
|
if (F)
|
|
2419
2430
|
return F(s[w.prop]);
|
|
2420
|
-
const D = (
|
|
2431
|
+
const D = (v = (l = w.formItem) == null ? void 0 : l.select) == null ? void 0 : v.viewModeLabelField;
|
|
2421
2432
|
if (D)
|
|
2422
|
-
return s[D];
|
|
2433
|
+
return de(s[D]);
|
|
2423
2434
|
const O = (P = (k = w.formItem) == null ? void 0 : k.select) == null ? void 0 : P.options;
|
|
2424
2435
|
if (O) {
|
|
2425
2436
|
for (let L of O)
|
|
2426
2437
|
if (L.value === s[w.prop])
|
|
2427
|
-
return
|
|
2438
|
+
return de(L.label);
|
|
2428
2439
|
}
|
|
2429
2440
|
}
|
|
2430
|
-
return
|
|
2441
|
+
return de(s[w.prop]);
|
|
2431
2442
|
}
|
|
2432
2443
|
}
|
|
2433
2444
|
function oe(w) {
|
|
@@ -2435,8 +2446,8 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2435
2446
|
return ((T = w.formItem) == null ? void 0 : T.updatable) === !1 && t.mode === "update";
|
|
2436
2447
|
}
|
|
2437
2448
|
function he(w, T) {
|
|
2438
|
-
var l,
|
|
2439
|
-
const d = (
|
|
2449
|
+
var l, v;
|
|
2450
|
+
const d = (v = (l = T.formItem) == null ? void 0 : l.type) != null ? v : "input";
|
|
2440
2451
|
switch (w) {
|
|
2441
2452
|
case "input":
|
|
2442
2453
|
return t.mode === "view" ? !1 : d === "input" || d === "password";
|
|
@@ -2462,16 +2473,16 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2462
2473
|
for (let d of t.model.fields) {
|
|
2463
2474
|
const l = (T = d.formItem) == null ? void 0 : T.select;
|
|
2464
2475
|
if (!(!d.formItem || d.formItem.type !== "select" || !l || !l.queryParamValueField) && l.queryParamValueField === w.prop) {
|
|
2465
|
-
const
|
|
2466
|
-
if (
|
|
2467
|
-
let k =
|
|
2476
|
+
const v = l.api;
|
|
2477
|
+
if (v) {
|
|
2478
|
+
let k = v;
|
|
2468
2479
|
const P = l.queryParamName;
|
|
2469
2480
|
P && (k = `${k}?${P}=${s[l.queryParamValueField]}`), $e(k, "GET", {}).then(({ data: F }) => {
|
|
2470
2481
|
if (l) {
|
|
2471
2482
|
let D = [];
|
|
2472
2483
|
Array.isArray(F.data) ? D = F.data : F.data.list && Array.isArray(F.data.list) && (D = F.data.list), l.options = D.map((O) => ({
|
|
2473
2484
|
value: l.valueMappingField ? O[l.valueMappingField] : O.value,
|
|
2474
|
-
label:
|
|
2485
|
+
label: de(l.labelMappingField ? O[l.labelMappingField] : O.label)
|
|
2475
2486
|
}));
|
|
2476
2487
|
}
|
|
2477
2488
|
});
|
|
@@ -2490,7 +2501,7 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2490
2501
|
submit: Y,
|
|
2491
2502
|
formData: s
|
|
2492
2503
|
}), (w, T) => {
|
|
2493
|
-
const d = x("el-input"), l = x("el-switch"),
|
|
2504
|
+
const d = x("el-input"), l = x("el-switch"), v = x("el-date-picker"), k = x("el-time-picker"), P = x("el-option"), F = x("el-select"), D = x("el-input-number"), O = x("el-button"), L = x("el-form-item"), j = x("el-form"), g = x("el-dialog"), S = Wt("loading");
|
|
2494
2505
|
return u(), E(te, null, [
|
|
2495
2506
|
Yt((u(), I(j, {
|
|
2496
2507
|
ref_key: "formRef",
|
|
@@ -2504,14 +2515,14 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2504
2515
|
inline: !t.disableInline
|
|
2505
2516
|
}, {
|
|
2506
2517
|
default: p(() => [
|
|
2507
|
-
(u(!0), E(te, null,
|
|
2518
|
+
(u(!0), E(te, null, me(V.value, (m) => (u(), I(L, {
|
|
2508
2519
|
class: "form-item",
|
|
2509
|
-
style:
|
|
2520
|
+
style: Be({ width: t.disableInline ? "100%" : "calc(50% - 32px)" }),
|
|
2510
2521
|
prop: m.prop,
|
|
2511
|
-
label:
|
|
2522
|
+
label: H(m)
|
|
2512
2523
|
}, {
|
|
2513
2524
|
default: p(() => {
|
|
2514
|
-
var q, C, Z, R, ne, Q, J, se, ae, re,
|
|
2525
|
+
var q, C, Z, R, ne, Q, J, se, ae, re, ve, pe, _e, ke, ge, Ue, We, Ye, ie, K;
|
|
2515
2526
|
return [
|
|
2516
2527
|
he("input", m) ? (u(), I(d, {
|
|
2517
2528
|
key: 0,
|
|
@@ -2521,14 +2532,14 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2521
2532
|
placeholder: (q = m.formItem) == null ? void 0 : q.placeholder,
|
|
2522
2533
|
disabled: oe(m)
|
|
2523
2534
|
}, null, 8, ["type", "modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : G("", !0),
|
|
2524
|
-
$(m) ? (u(), E("span",
|
|
2535
|
+
$(m) ? (u(), E("span", Sa, A(ee(m)), 1)) : G("", !0),
|
|
2525
2536
|
W(m, "switch") ? (u(), I(l, {
|
|
2526
2537
|
key: 2,
|
|
2527
2538
|
modelValue: s[m.prop],
|
|
2528
2539
|
"onUpdate:modelValue": (X) => s[m.prop] = X,
|
|
2529
2540
|
disabled: t.mode === "view"
|
|
2530
2541
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])) : G("", !0),
|
|
2531
|
-
W(m, "date") && t.mode !== "view" ? (u(), I(
|
|
2542
|
+
W(m, "date") && t.mode !== "view" ? (u(), I(v, {
|
|
2532
2543
|
key: 3,
|
|
2533
2544
|
style: { width: "100%" },
|
|
2534
2545
|
type: "date",
|
|
@@ -2544,7 +2555,7 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2544
2555
|
"onUpdate:modelValue": (X) => s[m.prop] = X,
|
|
2545
2556
|
disabled: t.mode === "view"
|
|
2546
2557
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])) : G("", !0),
|
|
2547
|
-
W(m, "datetime") && t.mode !== "view" ? (u(), I(
|
|
2558
|
+
W(m, "datetime") && t.mode !== "view" ? (u(), I(v, {
|
|
2548
2559
|
key: 5,
|
|
2549
2560
|
style: { width: "100%" },
|
|
2550
2561
|
type: "datetime",
|
|
@@ -2559,7 +2570,7 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2559
2570
|
"collapse-tags": (ne = (R = m.formItem) == null ? void 0 : R.select) == null ? void 0 : ne.multiple,
|
|
2560
2571
|
filterable: (J = (Q = m.formItem) == null ? void 0 : Q.select) == null ? void 0 : J.allowCreate,
|
|
2561
2572
|
"allow-create": (ae = (se = m.formItem) == null ? void 0 : se.select) == null ? void 0 : ae.allowCreate,
|
|
2562
|
-
"default-first-option": (
|
|
2573
|
+
"default-first-option": (ve = (re = m.formItem) == null ? void 0 : re.select) == null ? void 0 : ve.allowCreate,
|
|
2563
2574
|
modelValue: s[m.prop],
|
|
2564
2575
|
"onUpdate:modelValue": (X) => s[m.prop] = X,
|
|
2565
2576
|
disabled: oe(m),
|
|
@@ -2568,9 +2579,9 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2568
2579
|
default: p(() => {
|
|
2569
2580
|
var X, Oe;
|
|
2570
2581
|
return [
|
|
2571
|
-
(u(!0), E(te, null,
|
|
2582
|
+
(u(!0), E(te, null, me((Oe = (X = m.formItem) == null ? void 0 : X.select) == null ? void 0 : Oe.options, (Pe) => (u(), I(P, {
|
|
2572
2583
|
value: Pe.value,
|
|
2573
|
-
label: Pe.label
|
|
2584
|
+
label: y(de)(Pe.label)
|
|
2574
2585
|
}, null, 8, ["value", "label"]))), 256))
|
|
2575
2586
|
];
|
|
2576
2587
|
}),
|
|
@@ -2581,16 +2592,16 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2581
2592
|
style: { width: "100%" },
|
|
2582
2593
|
modelValue: s[m.prop],
|
|
2583
2594
|
"onUpdate:modelValue": (X) => s[m.prop] = X,
|
|
2584
|
-
min: (ke = (
|
|
2595
|
+
min: (ke = (_e = (pe = m.formItem) == null ? void 0 : pe.inputNumber) == null ? void 0 : _e.min) != null ? ke : Number.NEGATIVE_INFINITY,
|
|
2585
2596
|
max: (We = (Ue = (ge = m.formItem) == null ? void 0 : ge.inputNumber) == null ? void 0 : Ue.max) != null ? We : Number.POSITIVE_INFINITY,
|
|
2586
2597
|
step: (K = (ie = (Ye = m.formItem) == null ? void 0 : Ye.inputNumber) == null ? void 0 : ie.step) != null ? K : 1,
|
|
2587
2598
|
"value-on-clear": -10
|
|
2588
2599
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "step"])) : G("", !0),
|
|
2589
|
-
W(m, "svg") && t.mode !== "view" ? (u(), E("div",
|
|
2590
|
-
|
|
2600
|
+
W(m, "svg") && t.mode !== "view" ? (u(), E("div", xa, [
|
|
2601
|
+
_("div", {
|
|
2591
2602
|
class: "svg-icon",
|
|
2592
2603
|
innerHTML: s[m.prop]
|
|
2593
|
-
}, null, 8,
|
|
2604
|
+
}, null, 8, $a),
|
|
2594
2605
|
h(O, {
|
|
2595
2606
|
type: "primary",
|
|
2596
2607
|
size: "small",
|
|
@@ -2598,16 +2609,16 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2598
2609
|
onClick: (X) => U(m)
|
|
2599
2610
|
}, {
|
|
2600
2611
|
default: p(() => T[2] || (T[2] = [
|
|
2601
|
-
|
|
2612
|
+
B(" Code ")
|
|
2602
2613
|
])),
|
|
2603
2614
|
_: 2
|
|
2604
2615
|
}, 1032, ["onClick"])
|
|
2605
2616
|
])) : G("", !0),
|
|
2606
|
-
W(m, "svg") && t.mode === "view" ? (u(), E("div",
|
|
2607
|
-
|
|
2617
|
+
W(m, "svg") && t.mode === "view" ? (u(), E("div", Ea, [
|
|
2618
|
+
_("div", {
|
|
2608
2619
|
class: "svg-icon",
|
|
2609
2620
|
innerHTML: s[m.prop]
|
|
2610
|
-
}, null, 8,
|
|
2621
|
+
}, null, 8, Oa),
|
|
2611
2622
|
h(O, {
|
|
2612
2623
|
type: "primary",
|
|
2613
2624
|
size: "small",
|
|
@@ -2615,7 +2626,7 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2615
2626
|
onClick: (X) => U(m)
|
|
2616
2627
|
}, {
|
|
2617
2628
|
default: p(() => T[3] || (T[3] = [
|
|
2618
|
-
|
|
2629
|
+
B(" Code ")
|
|
2619
2630
|
])),
|
|
2620
2631
|
_: 2
|
|
2621
2632
|
}, 1032, ["onClick"])
|
|
@@ -2651,10 +2662,10 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2651
2662
|
], 64);
|
|
2652
2663
|
};
|
|
2653
2664
|
}
|
|
2654
|
-
}), wo = /* @__PURE__ */ we(
|
|
2665
|
+
}), wo = /* @__PURE__ */ we(Pa, [["__scopeId", "data-v-05b484b8"]]), Ia = { class: "console-dialog__body" }, Va = {
|
|
2655
2666
|
key: 0,
|
|
2656
2667
|
class: "process-view"
|
|
2657
|
-
},
|
|
2668
|
+
}, Ma = { class: "operation-button-wrapper" }, Co = /* @__PURE__ */ Ee({
|
|
2658
2669
|
__name: "FormDialog",
|
|
2659
2670
|
props: {
|
|
2660
2671
|
id: {},
|
|
@@ -2693,26 +2704,26 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2693
2704
|
onClose: f
|
|
2694
2705
|
}, {
|
|
2695
2706
|
footer: p(() => {
|
|
2696
|
-
var
|
|
2707
|
+
var H;
|
|
2697
2708
|
return [
|
|
2698
|
-
|
|
2709
|
+
_("div", {
|
|
2699
2710
|
class: "dialog-footer",
|
|
2700
|
-
style:
|
|
2711
|
+
style: Be({ width: s.showProcess ? "calc(100% - 350px)" : "auto" })
|
|
2701
2712
|
}, [
|
|
2702
|
-
|
|
2703
|
-
(u(!0), E(te, null,
|
|
2713
|
+
_("div", Ma, [
|
|
2714
|
+
(u(!0), E(te, null, me((H = s.model.formConfig) == null ? void 0 : H.dialogButtons, (ee) => (u(), I(Y, {
|
|
2704
2715
|
onClick: (oe) => ee.function(r.value.formData)
|
|
2705
2716
|
}, {
|
|
2706
2717
|
default: p(() => [
|
|
2707
|
-
|
|
2718
|
+
B(A(y(t)(ee.label)), 1)
|
|
2708
2719
|
]),
|
|
2709
2720
|
_: 2
|
|
2710
2721
|
}, 1032, ["onClick"]))), 256))
|
|
2711
2722
|
]),
|
|
2712
|
-
|
|
2723
|
+
_("div", null, [
|
|
2713
2724
|
h(Y, { onClick: f }, {
|
|
2714
2725
|
default: p(() => [
|
|
2715
|
-
|
|
2726
|
+
B(A(y(t)("common.basic.cancel")), 1)
|
|
2716
2727
|
]),
|
|
2717
2728
|
_: 1
|
|
2718
2729
|
}),
|
|
@@ -2721,7 +2732,7 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2721
2732
|
onClick: b
|
|
2722
2733
|
}, {
|
|
2723
2734
|
default: p(() => [
|
|
2724
|
-
|
|
2735
|
+
B(A(y(t)("common.basic.save")), 1)
|
|
2725
2736
|
]),
|
|
2726
2737
|
_: 1
|
|
2727
2738
|
})
|
|
@@ -2730,10 +2741,10 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2730
2741
|
];
|
|
2731
2742
|
}),
|
|
2732
2743
|
default: p(() => [
|
|
2733
|
-
|
|
2744
|
+
_("div", Ia, [
|
|
2734
2745
|
h(wo, {
|
|
2735
2746
|
class: "form-view",
|
|
2736
|
-
style:
|
|
2747
|
+
style: Be({ width: $.showProcess ? "calc(100% - 280px)" : "100%" }),
|
|
2737
2748
|
ref_key: "formViewRef",
|
|
2738
2749
|
ref: r,
|
|
2739
2750
|
id: s.id,
|
|
@@ -2744,8 +2755,8 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2744
2755
|
closeDialogFunc: f,
|
|
2745
2756
|
disableInline: s.showProcess
|
|
2746
2757
|
}, null, 8, ["style", "id", "sessionId", "mode", "model", "afterSubmitFunc", "disableInline"]),
|
|
2747
|
-
$.showProcess ? (u(), E("div",
|
|
2748
|
-
V[0] || (V[0] =
|
|
2758
|
+
$.showProcess ? (u(), E("div", Va, [
|
|
2759
|
+
V[0] || (V[0] = _("h1", null, "流程动态", -1)),
|
|
2749
2760
|
h(z, {
|
|
2750
2761
|
style: { height: "90%" },
|
|
2751
2762
|
direction: "vertical",
|
|
@@ -2764,28 +2775,28 @@ const _a = /* @__PURE__ */ we(ma, [["render", ha]]), va = { class: "card-wrapper
|
|
|
2764
2775
|
}, 8, ["model-value"]);
|
|
2765
2776
|
};
|
|
2766
2777
|
}
|
|
2767
|
-
}),
|
|
2778
|
+
}), Na = {
|
|
2768
2779
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2769
2780
|
width: "32",
|
|
2770
2781
|
height: "32",
|
|
2771
2782
|
class: "icon",
|
|
2772
2783
|
viewBox: "0 0 1024 1024"
|
|
2773
2784
|
};
|
|
2774
|
-
function
|
|
2775
|
-
return u(), E("svg",
|
|
2776
|
-
|
|
2785
|
+
function Ua(e, o) {
|
|
2786
|
+
return u(), E("svg", Na, o[0] || (o[0] = [
|
|
2787
|
+
_("path", {
|
|
2777
2788
|
fill: "#888a8d",
|
|
2778
2789
|
d: "M192 672a16 16 0 0 1 16 16v128h604.992V688a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v160a64 64 0 0 1-56.512 63.552l-7.488.448H176a64 64 0 0 1-64-64V688a16 16 0 0 1 16-16zm268.032-505.664v2.56l-.128 13.248v89.024l.064 46.08V718.72A18.176 18.176 0 0 1 443.2 736h-62.08a18.176 18.176 0 0 1-17.216-16.768V334.464h-1.28l-130.432 129.28a16 16 0 0 1-22.592-.128l-.32-.256L164.544 416a16 16 0 0 1 .448-22.4l86.08-84.736a18.2 18.2 0 0 1 2.688-3.2l142.72-139.648c7.04-6.784 56.512-6.656 63.488.32zm184.832-5.312c9.152.448 16.512 7.68 17.216 16.768v384.704h1.344L793.792 433.28a16 16 0 0 1 22.592.128l.256.256 44.736 47.36a16 16 0 0 1-.448 22.4l-86.08 84.736a18.2 18.2 0 0 1-2.624 3.2l-142.72 139.648c-7.104 6.784-56.512 6.656-63.488-.32v-2.56l.064-13.312V579.84l-.064-17.28V178.304a18.176 18.176 0 0 1 16.768-17.216h62.08z"
|
|
2779
2790
|
}, null, -1)
|
|
2780
2791
|
]));
|
|
2781
2792
|
}
|
|
2782
|
-
const
|
|
2793
|
+
const Ta = { render: Ua }, Aa = { class: "toolbar" }, Da = { class: "tool-buttons" }, Ra = { class: "tool-buttons" }, Fa = { key: 2 }, La = /* @__PURE__ */ Ee({
|
|
2783
2794
|
__name: "TableView",
|
|
2784
2795
|
props: {
|
|
2785
2796
|
model: {}
|
|
2786
2797
|
},
|
|
2787
2798
|
setup(e, { expose: o }) {
|
|
2788
|
-
const { t: n } = ct.global, t = e, s =
|
|
2799
|
+
const { t: n } = ct.global, t = e, s = fe([]), a = fe({}), c = N(""), r = N(!1), i = pt(), f = N(""), b = fe([]), $ = fe([]), V = N(), M = N([]), z = N("create"), Y = N(!0), ce = N(!1), H = N(""), ee = fe({
|
|
2789
2800
|
pageSize: 10,
|
|
2790
2801
|
pageNo: 1,
|
|
2791
2802
|
totalElements: 0
|
|
@@ -2824,11 +2835,11 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
2824
2835
|
if (oe[J.dictId] === void 0) {
|
|
2825
2836
|
let ae = `${Ae(() => window.location.href.indexOf("localhost") > 0 ? "http://localhost.vancone.com:8080" : "https://datable.vancone.com/agent/public/0001").value}/api/datable/agent/metadata/dict?dictId=${J.dictId}`;
|
|
2826
2837
|
$e(ae, "GET", {}).then(({ data: re }) => {
|
|
2827
|
-
let
|
|
2828
|
-
Array.isArray(re.data) ?
|
|
2829
|
-
for (let
|
|
2830
|
-
if (
|
|
2831
|
-
m =
|
|
2838
|
+
let ve = [];
|
|
2839
|
+
Array.isArray(re.data) ? ve = re.data : re.data.list && Array.isArray(re.data.list) && (ve = re.data.list), oe[J.dictId] = ve;
|
|
2840
|
+
for (let pe of oe[J.dictId])
|
|
2841
|
+
if (pe.dbOrdinal == m) {
|
|
2842
|
+
m = pe.value;
|
|
2832
2843
|
break;
|
|
2833
2844
|
}
|
|
2834
2845
|
});
|
|
@@ -2841,20 +2852,20 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
2841
2852
|
}
|
|
2842
2853
|
}
|
|
2843
2854
|
}
|
|
2844
|
-
return
|
|
2855
|
+
return de(m);
|
|
2845
2856
|
}
|
|
2846
2857
|
function Ce(g, S) {
|
|
2847
2858
|
var m, q;
|
|
2848
2859
|
return g.label ? n(g.label) : (q = (m = g.functions) == null ? void 0 : m.transformLabel) == null ? void 0 : q.call(m, S.$index, S.row);
|
|
2849
2860
|
}
|
|
2850
2861
|
function U(g) {
|
|
2851
|
-
|
|
2862
|
+
He(t.model), Object.assign(t.model, g);
|
|
2852
2863
|
}
|
|
2853
2864
|
function w() {
|
|
2854
2865
|
var S, m, q;
|
|
2855
2866
|
if (Y.value = !0, !t.model || !t.model.api)
|
|
2856
2867
|
return;
|
|
2857
|
-
|
|
2868
|
+
He(a), Object.assign(a, (S = t.model.tableConfig) != null ? S : {}), a.display = (m = a.display) != null ? m : {}, a.display.advancedSearch !== !0 && (a.display.advancedSearch = !1), a.display.fileTaskButton !== !0 && (a.display.fileTaskButton = !1), a.display.pagination !== !1 && (a.display.pagination = !0), a.display.pane !== !1 && (a.display.pane = !0), a.display.searchBox !== !1 && (a.display.searchBox = !0), s.splice(0, s.length, ...t.model.fields), c.value = (q = t.model.route) != null ? q : "";
|
|
2858
2869
|
let g = tt({}, a.queryParams);
|
|
2859
2870
|
g.pageSize = ee.pageSize, g.pageNo = ee.pageNo, g.search = f.value, $e(t.model.api, "GET", g).then(({ data: C }) => {
|
|
2860
2871
|
const { list: Z, totalCount: R } = C.data;
|
|
@@ -2863,7 +2874,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
2863
2874
|
}
|
|
2864
2875
|
function T() {
|
|
2865
2876
|
var g, S;
|
|
2866
|
-
a.createPageRoutePath !== void 0 ? i.push(a.createPageRoutePath) : ((g = a.functions) == null ? void 0 : g.create) !== void 0 ? (S = a.functions) == null || S.create() : (z.value = "create",
|
|
2877
|
+
a.createPageRoutePath !== void 0 ? i.push(a.createPageRoutePath) : ((g = a.functions) == null ? void 0 : g.create) !== void 0 ? (S = a.functions) == null || S.create() : (z.value = "create", H.value = "", r.value = !0);
|
|
2867
2878
|
}
|
|
2868
2879
|
function d(g, S) {
|
|
2869
2880
|
var m, q;
|
|
@@ -2901,7 +2912,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
2901
2912
|
V.value.clearSelection();
|
|
2902
2913
|
});
|
|
2903
2914
|
}
|
|
2904
|
-
function
|
|
2915
|
+
function v(g) {
|
|
2905
2916
|
ee.pageSize = g, w();
|
|
2906
2917
|
}
|
|
2907
2918
|
function k(g) {
|
|
@@ -2913,7 +2924,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
2913
2924
|
query: {
|
|
2914
2925
|
id: S.id
|
|
2915
2926
|
}
|
|
2916
|
-
}) : (
|
|
2927
|
+
}) : (H.value = S.id, z.value = "update", r.value = !0);
|
|
2917
2928
|
}
|
|
2918
2929
|
function F() {
|
|
2919
2930
|
var m;
|
|
@@ -2927,7 +2938,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
2927
2938
|
M.value = g;
|
|
2928
2939
|
}
|
|
2929
2940
|
function O(g) {
|
|
2930
|
-
return g != null && g.prop ? g.label ?
|
|
2941
|
+
return g != null && g.prop ? g.label ? de(g.label) : g.prop.slice(0, 1).toUpperCase() + g.prop.slice(1).toLowerCase() : "";
|
|
2931
2942
|
}
|
|
2932
2943
|
function L(g) {
|
|
2933
2944
|
g ? (ce.value = !0, $.splice(0, $.length, ...b), b.splice(0, b.length, ...M.value)) : (ce.value = !1, b.splice(0, b.length, ...$));
|
|
@@ -3016,12 +3027,12 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3016
3027
|
updateConfigAndRefresh: U
|
|
3017
3028
|
}), (g, S) => {
|
|
3018
3029
|
var Ue, We, Ye;
|
|
3019
|
-
const m = x("el-checkbox"), q = x("el-badge"), C = x("el-button"), Z = x("el-dropdown-item"), R = x("el-dropdown-menu"), ne = x("el-dropdown"), Q = x("el-icon"), J = x("el-tooltip"), se = x("el-input"), ae = x("el-table-column"), re = x("router-link"),
|
|
3030
|
+
const m = x("el-checkbox"), q = x("el-badge"), C = x("el-button"), Z = x("el-dropdown-item"), R = x("el-dropdown-menu"), ne = x("el-dropdown"), Q = x("el-icon"), J = x("el-tooltip"), se = x("el-input"), ae = x("el-table-column"), re = x("router-link"), ve = x("el-tag"), pe = x("el-popconfirm"), _e = x("el-table"), ke = x("el-pagination"), ge = Wt("loading");
|
|
3020
3031
|
return u(), E("div", {
|
|
3021
3032
|
class: wt({ "table-view-wrapper": (Ue = a.display) == null ? void 0 : Ue.pane })
|
|
3022
3033
|
}, [
|
|
3023
|
-
|
|
3024
|
-
|
|
3034
|
+
_("div", Aa, [
|
|
3035
|
+
_("div", Da, [
|
|
3025
3036
|
a.selectMode ? (u(), I(q, {
|
|
3026
3037
|
key: 0,
|
|
3027
3038
|
value: M.value.length,
|
|
@@ -3046,7 +3057,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3046
3057
|
default: p(() => {
|
|
3047
3058
|
var ie, K;
|
|
3048
3059
|
return [
|
|
3049
|
-
|
|
3060
|
+
B(A(((ie = a.labels) == null ? void 0 : ie.create) != null ? y(n)((K = a.labels) == null ? void 0 : K.create) : y(n)("common.table.create")), 1)
|
|
3050
3061
|
];
|
|
3051
3062
|
}),
|
|
3052
3063
|
_: 1
|
|
@@ -3061,7 +3072,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3061
3072
|
default: p(() => {
|
|
3062
3073
|
var ie, K;
|
|
3063
3074
|
return [
|
|
3064
|
-
|
|
3075
|
+
B(A(((ie = a.labels) == null ? void 0 : ie.delete) != null ? y(n)((K = a.labels) == null ? void 0 : K.delete) : y(n)("common.table.delete")), 1)
|
|
3065
3076
|
];
|
|
3066
3077
|
}),
|
|
3067
3078
|
_: 1
|
|
@@ -3084,7 +3095,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3084
3095
|
disabled: !0
|
|
3085
3096
|
}, {
|
|
3086
3097
|
default: p(() => S[3] || (S[3] = [
|
|
3087
|
-
|
|
3098
|
+
B("导入")
|
|
3088
3099
|
])),
|
|
3089
3100
|
_: 1
|
|
3090
3101
|
}, 8, ["icon"]),
|
|
@@ -3094,7 +3105,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3094
3105
|
disabled: !0
|
|
3095
3106
|
}, {
|
|
3096
3107
|
default: p(() => S[4] || (S[4] = [
|
|
3097
|
-
|
|
3108
|
+
B("导出选中内容")
|
|
3098
3109
|
])),
|
|
3099
3110
|
_: 1
|
|
3100
3111
|
}, 8, ["icon"]),
|
|
@@ -3103,7 +3114,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3103
3114
|
onClick: F
|
|
3104
3115
|
}, {
|
|
3105
3116
|
default: p(() => S[5] || (S[5] = [
|
|
3106
|
-
|
|
3117
|
+
B("导出查询结果")
|
|
3107
3118
|
])),
|
|
3108
3119
|
_: 1
|
|
3109
3120
|
}, 8, ["icon"]),
|
|
@@ -3113,7 +3124,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3113
3124
|
disabled: !0
|
|
3114
3125
|
}, {
|
|
3115
3126
|
default: p(() => S[6] || (S[6] = [
|
|
3116
|
-
|
|
3127
|
+
B("任务中心")
|
|
3117
3128
|
])),
|
|
3118
3129
|
_: 1
|
|
3119
3130
|
}, 8, ["icon"])
|
|
@@ -3124,7 +3135,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3124
3135
|
default: p(() => [
|
|
3125
3136
|
h(C, { style: { width: "28px" } }, {
|
|
3126
3137
|
icon: p(() => [
|
|
3127
|
-
h(y(
|
|
3138
|
+
h(y(Ta))
|
|
3128
3139
|
]),
|
|
3129
3140
|
_: 1
|
|
3130
3141
|
})
|
|
@@ -3143,7 +3154,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3143
3154
|
onClick: j
|
|
3144
3155
|
}, {
|
|
3145
3156
|
default: p(() => S[7] || (S[7] = [
|
|
3146
|
-
|
|
3157
|
+
B("打印")
|
|
3147
3158
|
])),
|
|
3148
3159
|
_: 1
|
|
3149
3160
|
}, 8, ["icon"]),
|
|
@@ -3152,7 +3163,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3152
3163
|
disabled: !0
|
|
3153
3164
|
}, {
|
|
3154
3165
|
default: p(() => S[8] || (S[8] = [
|
|
3155
|
-
|
|
3166
|
+
B("表格设置")
|
|
3156
3167
|
])),
|
|
3157
3168
|
_: 1
|
|
3158
3169
|
}, 8, ["icon"])
|
|
@@ -3177,7 +3188,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3177
3188
|
default: p(() => [
|
|
3178
3189
|
h(Q, { style: { color: "#8ba74f" } }, {
|
|
3179
3190
|
default: p(() => [
|
|
3180
|
-
h(y(
|
|
3191
|
+
h(y(Bo))
|
|
3181
3192
|
]),
|
|
3182
3193
|
_: 1
|
|
3183
3194
|
})
|
|
@@ -3185,7 +3196,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3185
3196
|
_: 1
|
|
3186
3197
|
}, 8, ["content"])) : G("", !0)
|
|
3187
3198
|
]),
|
|
3188
|
-
|
|
3199
|
+
_("div", Ra, [
|
|
3189
3200
|
h(se, {
|
|
3190
3201
|
placeholder: `${y(n)("common.table.search")}...`,
|
|
3191
3202
|
modelValue: f.value,
|
|
@@ -3205,13 +3216,13 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3205
3216
|
type: "text"
|
|
3206
3217
|
}, {
|
|
3207
3218
|
default: p(() => S[9] || (S[9] = [
|
|
3208
|
-
|
|
3219
|
+
B("高级搜索")
|
|
3209
3220
|
])),
|
|
3210
3221
|
_: 1
|
|
3211
3222
|
})) : G("", !0)
|
|
3212
3223
|
])
|
|
3213
3224
|
]),
|
|
3214
|
-
Yt((u(), I(
|
|
3225
|
+
Yt((u(), I(_e, {
|
|
3215
3226
|
border: !0,
|
|
3216
3227
|
ref_key: "tableRef",
|
|
3217
3228
|
ref: V,
|
|
@@ -3227,7 +3238,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3227
3238
|
type: "selection",
|
|
3228
3239
|
width: "50"
|
|
3229
3240
|
})),
|
|
3230
|
-
(u(!0), E(te, null,
|
|
3241
|
+
(u(!0), E(te, null, me(he.value, (K) => {
|
|
3231
3242
|
var X;
|
|
3232
3243
|
return u(), I(ae, {
|
|
3233
3244
|
prop: K.prop,
|
|
@@ -3244,7 +3255,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3244
3255
|
to: `/${c.value}/detail?id=${Oe.row.id}`
|
|
3245
3256
|
}, {
|
|
3246
3257
|
default: p(() => [
|
|
3247
|
-
|
|
3258
|
+
_("span", null, A(W(K, Oe)), 1)
|
|
3248
3259
|
]),
|
|
3249
3260
|
_: 2
|
|
3250
3261
|
}, 1032, ["to"])) : (Je = K.tableColumn) != null && Je.routerLink ? (u(), I(re, {
|
|
@@ -3253,13 +3264,13 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3253
3264
|
to: K.tableColumn.routerLink.replace("{id}", Oe.row.id)
|
|
3254
3265
|
}, {
|
|
3255
3266
|
default: p(() => [
|
|
3256
|
-
|
|
3267
|
+
_("span", null, A(W(K, Oe)), 1)
|
|
3257
3268
|
]),
|
|
3258
3269
|
_: 2
|
|
3259
|
-
}, 1032, ["to"])) : (u(), E("span",
|
|
3260
|
-
((Pt = K.tableColumn) == null ? void 0 : Pt.type) === "tag" ? (u(), I(
|
|
3270
|
+
}, 1032, ["to"])) : (u(), E("span", Fa, A(W(K, Oe)), 1)),
|
|
3271
|
+
((Pt = K.tableColumn) == null ? void 0 : Pt.type) === "tag" ? (u(), I(ve, { key: 3 }, {
|
|
3261
3272
|
default: p(() => [
|
|
3262
|
-
|
|
3273
|
+
B(A(Oe.row[K.prop]), 1)
|
|
3263
3274
|
]),
|
|
3264
3275
|
_: 2
|
|
3265
3276
|
}, 1024)) : G("", !0)
|
|
@@ -3282,11 +3293,11 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3282
3293
|
onClick: (X) => P(K.$index, K.row)
|
|
3283
3294
|
}, {
|
|
3284
3295
|
default: p(() => [
|
|
3285
|
-
|
|
3296
|
+
B(A(y(n)("common.table.edit")), 1)
|
|
3286
3297
|
]),
|
|
3287
3298
|
_: 2
|
|
3288
3299
|
}, 1032, ["onClick"])) : G("", !0),
|
|
3289
|
-
h(
|
|
3300
|
+
h(pe, {
|
|
3290
3301
|
title: "Are you sure to delete this?",
|
|
3291
3302
|
onConfirm: (X) => d(K.$index, K.row)
|
|
3292
3303
|
}, {
|
|
@@ -3298,7 +3309,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3298
3309
|
class: "operation-button"
|
|
3299
3310
|
}, {
|
|
3300
3311
|
default: p(() => [
|
|
3301
|
-
|
|
3312
|
+
B(A(y(n)("common.table.delete")), 1)
|
|
3302
3313
|
]),
|
|
3303
3314
|
_: 1
|
|
3304
3315
|
})) : G("", !0)
|
|
@@ -3314,7 +3325,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3314
3325
|
width: "120"
|
|
3315
3326
|
}, {
|
|
3316
3327
|
default: p((K) => [
|
|
3317
|
-
(u(!0), E(te, null,
|
|
3328
|
+
(u(!0), E(te, null, me(a.operations, (X) => (u(), I(C, {
|
|
3318
3329
|
class: "operation-button",
|
|
3319
3330
|
link: "",
|
|
3320
3331
|
type: "primary",
|
|
@@ -3325,7 +3336,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3325
3336
|
}
|
|
3326
3337
|
}, {
|
|
3327
3338
|
default: p(() => [
|
|
3328
|
-
|
|
3339
|
+
B(A(Ce(X, K)), 1)
|
|
3329
3340
|
]),
|
|
3330
3341
|
_: 2
|
|
3331
3342
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -3342,7 +3353,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3342
3353
|
key: 0,
|
|
3343
3354
|
size: "small",
|
|
3344
3355
|
background: "",
|
|
3345
|
-
onSizeChange:
|
|
3356
|
+
onSizeChange: v,
|
|
3346
3357
|
onCurrentChange: k,
|
|
3347
3358
|
currentPage: ee.pageNo,
|
|
3348
3359
|
"onUpdate:currentPage": S[1] || (S[1] = (ie) => ee.pageNo = ie),
|
|
@@ -3354,7 +3365,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3354
3365
|
h(Co, {
|
|
3355
3366
|
model: g.model,
|
|
3356
3367
|
mode: z.value,
|
|
3357
|
-
id:
|
|
3368
|
+
id: H.value,
|
|
3358
3369
|
afterSubmitFunc: w,
|
|
3359
3370
|
visible: r.value,
|
|
3360
3371
|
"onUpdate:visible": S[2] || (S[2] = (ie) => r.value = ie)
|
|
@@ -3362,16 +3373,16 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3362
3373
|
], 2);
|
|
3363
3374
|
};
|
|
3364
3375
|
}
|
|
3365
|
-
}), ut = /* @__PURE__ */ we(
|
|
3376
|
+
}), ut = /* @__PURE__ */ we(La, [["__scopeId", "data-v-2e9c3332"]]), Ga = { class: "nav-bar" }, ja = { style: { "font-size": "16px" } }, za = {
|
|
3366
3377
|
key: 0,
|
|
3367
3378
|
class: "info-card-wrapper"
|
|
3368
|
-
},
|
|
3379
|
+
}, qa = { class: "icon-wrapper" }, Ba = { class: "info-wrapper" }, Ha = { class: "title-wrapper" }, Wa = { class: "tabs-wrapper" }, Ya = { class: "dialog-footer" }, Ja = /* @__PURE__ */ Ee({
|
|
3369
3380
|
__name: "DetailPage",
|
|
3370
3381
|
setup(e) {
|
|
3371
|
-
const { t: o } = kt(), n = et(), t = pt(), s = Ae(() => n.query.id), a = N(!1), c = N(!1), r = N("view"), i = N(), f = N(-1), b = N(), $ = N(), V = N("summary"), M = N(""), z = N(""), Y = N(""), ce = N(0),
|
|
3382
|
+
const { t: o } = kt(), n = et(), t = pt(), s = Ae(() => n.query.id), a = N(!1), c = N(!1), r = N("view"), i = N(), f = N(-1), b = N(), $ = N(), V = N("summary"), M = N(""), z = N(""), Y = N(""), ce = N(0), H = fe({
|
|
3372
3383
|
api: "",
|
|
3373
3384
|
fields: []
|
|
3374
|
-
}), ee =
|
|
3385
|
+
}), ee = fe([]);
|
|
3375
3386
|
let oe = [];
|
|
3376
3387
|
Ve([
|
|
3377
3388
|
() => t.currentRoute.value,
|
|
@@ -3389,32 +3400,32 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3389
3400
|
var k;
|
|
3390
3401
|
let d = (k = oe[f.value].api) == null ? void 0 : k.replace("/select", "");
|
|
3391
3402
|
d = d == null ? void 0 : d.substring(d.lastIndexOf("/"));
|
|
3392
|
-
const l =
|
|
3393
|
-
$e(l, "POST",
|
|
3403
|
+
const l = H.api + "/" + s.value + d, v = $.value.multipleSelection.map((P) => P.id);
|
|
3404
|
+
$e(l, "POST", v).then(() => {
|
|
3394
3405
|
b.value.refresh(), c.value = !1;
|
|
3395
3406
|
});
|
|
3396
3407
|
}
|
|
3397
|
-
function Ce(d, l,
|
|
3408
|
+
function Ce(d, l, v) {
|
|
3398
3409
|
var F;
|
|
3399
|
-
|
|
3410
|
+
v.functions || (v.functions = {}), v.functions.create = () => {
|
|
3400
3411
|
c.value = !0, $.value && $.value.refresh();
|
|
3401
3412
|
};
|
|
3402
3413
|
let k = qe(l);
|
|
3403
3414
|
k.tableConfig || (k.tableConfig = {}), k.tableConfig.selectMode = !0, k.tableConfig.queryParams = {}, d.queryParamName && (k.tableConfig.queryParams[d.queryParamName] = s.value);
|
|
3404
3415
|
for (var P in k.fields)
|
|
3405
3416
|
k.fields[P].tableColumn && (F = k.fields[P].tableColumn) != null && F.link && (k.fields[P].tableColumn.link = !1);
|
|
3406
|
-
oe.push(k),
|
|
3417
|
+
oe.push(k), v.labels = {
|
|
3407
3418
|
create: "common.table.add",
|
|
3408
3419
|
delete: "common.table.remove"
|
|
3409
|
-
},
|
|
3420
|
+
}, v.functions.batchDelete = (D) => {
|
|
3410
3421
|
var g;
|
|
3411
3422
|
let O = (g = oe[f.value].api) == null ? void 0 : g.replace("/select", "");
|
|
3412
3423
|
O = O == null ? void 0 : O.substring(O.lastIndexOf("/"));
|
|
3413
|
-
const L =
|
|
3424
|
+
const L = H.api + "/" + s.value + O, j = D.map((S) => S.id);
|
|
3414
3425
|
ye.delete(`${L}/${j.join(",")}`).then(({ data: S }) => {
|
|
3415
3426
|
S.code === 0 && b.value.refresh();
|
|
3416
3427
|
});
|
|
3417
|
-
},
|
|
3428
|
+
}, v.operations = [
|
|
3418
3429
|
{
|
|
3419
3430
|
label: "common.table.remove",
|
|
3420
3431
|
functions: {
|
|
@@ -3422,7 +3433,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3422
3433
|
var g;
|
|
3423
3434
|
let L = (g = oe[f.value].api) == null ? void 0 : g.replace("/select", "");
|
|
3424
3435
|
L = L == null ? void 0 : L.substring(L.lastIndexOf("/"));
|
|
3425
|
-
const j =
|
|
3436
|
+
const j = H.api + "/" + s.value + L;
|
|
3426
3437
|
$e(j, "DELETE", O.id).then(() => {
|
|
3427
3438
|
b.value.refresh();
|
|
3428
3439
|
});
|
|
@@ -3440,12 +3451,12 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3440
3451
|
return;
|
|
3441
3452
|
} else
|
|
3442
3453
|
console.debug("Detail page model found:", d, xe.value[d]);
|
|
3443
|
-
|
|
3454
|
+
He(H);
|
|
3444
3455
|
const l = qe(xe.value[d]);
|
|
3445
|
-
Object.assign(
|
|
3446
|
-
const
|
|
3447
|
-
if (
|
|
3448
|
-
for (let D of
|
|
3456
|
+
Object.assign(H, l), ce.value++, f.value = -1, V.value = "summary";
|
|
3457
|
+
const v = (P = (k = H.pageConfig) == null ? void 0 : k.detailPage) == null ? void 0 : P.tabs;
|
|
3458
|
+
if (v)
|
|
3459
|
+
for (let D of v) {
|
|
3449
3460
|
const O = qe(xe.value[D.modelKey]);
|
|
3450
3461
|
if (ee.push(O), D.type === "table") {
|
|
3451
3462
|
O.tableConfig || (O.tableConfig = {});
|
|
@@ -3477,7 +3488,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3477
3488
|
[
|
|
3478
3489
|
() => {
|
|
3479
3490
|
var d, l;
|
|
3480
|
-
return (l = (d =
|
|
3491
|
+
return (l = (d = H.pageConfig) == null ? void 0 : d.detailPage) == null ? void 0 : l.infoCard;
|
|
3481
3492
|
},
|
|
3482
3493
|
() => {
|
|
3483
3494
|
var d;
|
|
@@ -3486,9 +3497,9 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3486
3497
|
],
|
|
3487
3498
|
(d) => {
|
|
3488
3499
|
it(() => {
|
|
3489
|
-
var
|
|
3490
|
-
const l = (k = (
|
|
3491
|
-
l && (M.value = l.titleFieldProp ? i.value.formData[l.titleFieldProp] : "", z.value = l.subtitleFieldProp ? i.value.formData[l.subtitleFieldProp] : "", Y.value = l.tagFieldProp ? i.value.formData[l.tagFieldProp] : "", (P =
|
|
3500
|
+
var v, k, P;
|
|
3501
|
+
const l = (k = (v = H.pageConfig) == null ? void 0 : v.detailPage) == null ? void 0 : k.infoCard;
|
|
3502
|
+
l && (M.value = l.titleFieldProp ? i.value.formData[l.titleFieldProp] : "", z.value = l.subtitleFieldProp ? i.value.formData[l.subtitleFieldProp] : "", Y.value = l.tagFieldProp ? i.value.formData[l.tagFieldProp] : "", (P = H.fields) == null || P.forEach((F) => {
|
|
3492
3503
|
var D, O;
|
|
3493
3504
|
if (F.prop === l.tagFieldProp) {
|
|
3494
3505
|
const L = (O = (D = F.tableColumn) == null ? void 0 : D.functions) == null ? void 0 : O.transformValue;
|
|
@@ -3510,41 +3521,41 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3510
3521
|
}
|
|
3511
3522
|
return (d, l) => {
|
|
3512
3523
|
var m, q, C, Z, R, ne;
|
|
3513
|
-
const
|
|
3524
|
+
const v = x("el-page-header"), k = x("el-button"), P = x("el-icon"), F = x("el-dropdown-item"), D = x("el-dropdown-menu"), O = x("el-dropdown"), L = x("el-tag"), j = x("el-tab-pane"), g = x("el-tabs"), S = x("el-dialog");
|
|
3514
3525
|
return u(), E(te, null, [
|
|
3515
|
-
|
|
3516
|
-
h(
|
|
3526
|
+
_("div", Ga, [
|
|
3527
|
+
h(v, {
|
|
3517
3528
|
onClick: l[0] || (l[0] = (Q) => y(t).back())
|
|
3518
3529
|
}, {
|
|
3519
3530
|
title: p(() => l[5] || (l[5] = [
|
|
3520
|
-
|
|
3531
|
+
_("span", null, null, -1)
|
|
3521
3532
|
])),
|
|
3522
3533
|
content: p(() => [
|
|
3523
|
-
|
|
3534
|
+
_("span", ja, A(y(de)(H == null ? void 0 : H.name)), 1)
|
|
3524
3535
|
]),
|
|
3525
3536
|
_: 1
|
|
3526
3537
|
}),
|
|
3527
|
-
|
|
3538
|
+
_("div", null, [
|
|
3528
3539
|
h(k, {
|
|
3529
3540
|
type: "primary",
|
|
3530
3541
|
onClick: w
|
|
3531
3542
|
}, {
|
|
3532
3543
|
default: p(() => [
|
|
3533
|
-
|
|
3544
|
+
B(A(y(o)("common.table.edit")), 1)
|
|
3534
3545
|
]),
|
|
3535
3546
|
_: 1
|
|
3536
3547
|
}),
|
|
3537
|
-
((q = (m =
|
|
3548
|
+
((q = (m = H.pageConfig) == null ? void 0 : m.detailPage) == null ? void 0 : q.operationButtons) !== void 0 ? (u(), I(O, { key: 0 }, {
|
|
3538
3549
|
dropdown: p(() => [
|
|
3539
3550
|
h(D, null, {
|
|
3540
3551
|
default: p(() => {
|
|
3541
3552
|
var Q, J;
|
|
3542
3553
|
return [
|
|
3543
|
-
(u(!0), E(te, null,
|
|
3554
|
+
(u(!0), E(te, null, me((J = (Q = H.pageConfig) == null ? void 0 : Q.detailPage) == null ? void 0 : J.operationButtons, (se) => (u(), I(F, {
|
|
3544
3555
|
onClick: (ae) => se.function(i.value.formData)
|
|
3545
3556
|
}, {
|
|
3546
3557
|
default: p(() => [
|
|
3547
|
-
|
|
3558
|
+
B(A(y(o)(se.label)), 1)
|
|
3548
3559
|
]),
|
|
3549
3560
|
_: 2
|
|
3550
3561
|
}, 1032, ["onClick"]))), 256))
|
|
@@ -3556,7 +3567,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3556
3567
|
default: p(() => [
|
|
3557
3568
|
h(k, { style: { margin: "0 10px" } }, {
|
|
3558
3569
|
default: p(() => [
|
|
3559
|
-
|
|
3570
|
+
B(A(y(o)("common.basic.more")), 1),
|
|
3560
3571
|
h(P, { class: "el-icon--right" }, {
|
|
3561
3572
|
default: p(() => [
|
|
3562
3573
|
h(y(Kt))
|
|
@@ -3585,27 +3596,27 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3585
3596
|
})
|
|
3586
3597
|
])
|
|
3587
3598
|
]),
|
|
3588
|
-
(Z = (C =
|
|
3589
|
-
|
|
3590
|
-
(u(), I(lt((R =
|
|
3599
|
+
(Z = (C = H.pageConfig) == null ? void 0 : C.detailPage) != null && Z.infoCard ? (u(), E("div", za, [
|
|
3600
|
+
_("div", qa, [
|
|
3601
|
+
(u(), I(lt((R = H.pageConfig.detailPage.infoCard.icon) != null ? R : ""), { class: "icon" }))
|
|
3591
3602
|
]),
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3603
|
+
_("div", Ba, [
|
|
3604
|
+
_("div", Ha, [
|
|
3605
|
+
_("h1", null, A(M.value), 1),
|
|
3595
3606
|
((ne = Y.value) == null ? void 0 : ne.length) > 0 ? (u(), I(L, {
|
|
3596
3607
|
key: 0,
|
|
3597
3608
|
size: "small"
|
|
3598
3609
|
}, {
|
|
3599
3610
|
default: p(() => [
|
|
3600
|
-
|
|
3611
|
+
B(A(Y.value), 1)
|
|
3601
3612
|
]),
|
|
3602
3613
|
_: 1
|
|
3603
3614
|
})) : G("", !0)
|
|
3604
3615
|
]),
|
|
3605
|
-
|
|
3616
|
+
_("span", null, A(z.value), 1)
|
|
3606
3617
|
])
|
|
3607
3618
|
])) : G("", !0),
|
|
3608
|
-
|
|
3619
|
+
_("div", Wa, [
|
|
3609
3620
|
h(g, {
|
|
3610
3621
|
modelValue: V.value,
|
|
3611
3622
|
"onUpdate:modelValue": l[1] || (l[1] = (Q) => V.value = Q),
|
|
@@ -3625,13 +3636,13 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3625
3636
|
id: s.value,
|
|
3626
3637
|
sessionId: ce.value,
|
|
3627
3638
|
mode: r.value,
|
|
3628
|
-
model:
|
|
3639
|
+
model: H
|
|
3629
3640
|
}, null, 8, ["id", "sessionId", "mode", "model"])
|
|
3630
3641
|
]),
|
|
3631
3642
|
_: 1
|
|
3632
3643
|
}, 8, ["label"]),
|
|
3633
|
-
(u(!0), E(te, null,
|
|
3634
|
-
label: y(
|
|
3644
|
+
(u(!0), E(te, null, me((J = (Q = H.pageConfig) == null ? void 0 : Q.detailPage) == null ? void 0 : J.tabs, (se) => (u(), I(j, {
|
|
3645
|
+
label: y(de)(se.name)
|
|
3635
3646
|
}, null, 8, ["label"]))), 256))
|
|
3636
3647
|
];
|
|
3637
3648
|
}),
|
|
@@ -3650,12 +3661,12 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3650
3661
|
width: "800px"
|
|
3651
3662
|
}, {
|
|
3652
3663
|
footer: p(() => [
|
|
3653
|
-
|
|
3664
|
+
_("span", Ya, [
|
|
3654
3665
|
h(k, {
|
|
3655
3666
|
onClick: l[2] || (l[2] = (Q) => c.value = !1)
|
|
3656
3667
|
}, {
|
|
3657
3668
|
default: p(() => [
|
|
3658
|
-
|
|
3669
|
+
B(A(y(o)("common.basic.cancel")), 1)
|
|
3659
3670
|
]),
|
|
3660
3671
|
_: 1
|
|
3661
3672
|
}),
|
|
@@ -3664,7 +3675,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3664
3675
|
onClick: W
|
|
3665
3676
|
}, {
|
|
3666
3677
|
default: p(() => [
|
|
3667
|
-
|
|
3678
|
+
B(A(y(o)("common.basic.save")), 1)
|
|
3668
3679
|
]),
|
|
3669
3680
|
_: 1
|
|
3670
3681
|
})
|
|
@@ -3686,19 +3697,19 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3686
3697
|
mode: "update",
|
|
3687
3698
|
visible: a.value,
|
|
3688
3699
|
"onUpdate:visible": l[4] || (l[4] = (Q) => a.value = Q),
|
|
3689
|
-
model:
|
|
3700
|
+
model: H,
|
|
3690
3701
|
afterSubmitFunc: T
|
|
3691
3702
|
}, null, 8, ["id", "visible", "model"])
|
|
3692
3703
|
], 64);
|
|
3693
3704
|
};
|
|
3694
3705
|
}
|
|
3695
|
-
}),
|
|
3706
|
+
}), Ka = /* @__PURE__ */ we(Ja, [["__scopeId", "data-v-0fa73126"]]), Qa = { class: "page-title" }, Xa = /* @__PURE__ */ Ee({
|
|
3696
3707
|
__name: "TablePage",
|
|
3697
3708
|
setup(e) {
|
|
3698
|
-
const o = et(), n = pt(), t = N(), s = N([]), a =
|
|
3709
|
+
const o = et(), n = pt(), t = N(), s = N([]), a = fe({
|
|
3699
3710
|
api: "",
|
|
3700
3711
|
fields: []
|
|
3701
|
-
}), c =
|
|
3712
|
+
}), c = fe(tt({}, a));
|
|
3702
3713
|
function r() {
|
|
3703
3714
|
var f, b, $, V, M;
|
|
3704
3715
|
s.value = [], a.pageConfig && ((b = (f = a.pageConfig) == null ? void 0 : f.tablePage) != null && b.tabViewAttributes) && (s.value = (M = (V = ($ = a.pageConfig) == null ? void 0 : $.tablePage) == null ? void 0 : V.tabViewAttributes) == null ? void 0 : M.map((z) => {
|
|
@@ -3719,7 +3730,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3719
3730
|
console.warn("TablePage.init: model not found", f, xe.value);
|
|
3720
3731
|
return;
|
|
3721
3732
|
}
|
|
3722
|
-
|
|
3733
|
+
He(a);
|
|
3723
3734
|
const b = qe(xe.value[f]);
|
|
3724
3735
|
Object.assign(a, b), (V = ($ = a.pageConfig) == null ? void 0 : $.tablePage) != null && V.tabViewAttributes || Object.assign(c, a), r();
|
|
3725
3736
|
}
|
|
@@ -3734,7 +3745,7 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3734
3745
|
}), (f, b) => {
|
|
3735
3746
|
const $ = x("el-scrollbar");
|
|
3736
3747
|
return u(), E(te, null, [
|
|
3737
|
-
|
|
3748
|
+
_("h1", Qa, A(y(de)(a == null ? void 0 : a.name)), 1),
|
|
3738
3749
|
h($, null, {
|
|
3739
3750
|
default: p(() => {
|
|
3740
3751
|
var V, M;
|
|
@@ -3758,40 +3769,46 @@ const Ua = { render: Na }, Ta = { class: "toolbar" }, Aa = { class: "tool-button
|
|
|
3758
3769
|
], 64);
|
|
3759
3770
|
};
|
|
3760
3771
|
}
|
|
3761
|
-
}),
|
|
3772
|
+
}), Za = /* @__PURE__ */ we(Xa, [["__scopeId", "data-v-6b952f17"]]), er = [
|
|
3762
3773
|
Jo,
|
|
3763
|
-
|
|
3774
|
+
ra,
|
|
3764
3775
|
Zt,
|
|
3765
|
-
|
|
3776
|
+
ma,
|
|
3766
3777
|
_a,
|
|
3767
3778
|
bo,
|
|
3768
3779
|
yo,
|
|
3769
3780
|
ut,
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
],
|
|
3773
|
-
e && e.component &&
|
|
3781
|
+
Ka,
|
|
3782
|
+
Za
|
|
3783
|
+
], pr = (e) => {
|
|
3784
|
+
e && e.component && er.forEach((o) => {
|
|
3774
3785
|
e.component(o.__name, o);
|
|
3775
3786
|
});
|
|
3776
3787
|
};
|
|
3777
3788
|
export {
|
|
3778
3789
|
Jo as Building,
|
|
3779
|
-
|
|
3780
|
-
|
|
3790
|
+
ra as ConsoleApp,
|
|
3791
|
+
Ka as DetailPage,
|
|
3781
3792
|
Zt as Header,
|
|
3782
|
-
|
|
3793
|
+
ma as NoPermission,
|
|
3783
3794
|
_a as Secondary,
|
|
3784
3795
|
bo as SideMenu,
|
|
3785
3796
|
yo as TabCard,
|
|
3786
|
-
|
|
3797
|
+
Za as TablePage,
|
|
3787
3798
|
ut as TableView,
|
|
3788
|
-
|
|
3789
|
-
|
|
3799
|
+
fs as activeMenuMapping,
|
|
3800
|
+
de as convertI18n,
|
|
3801
|
+
dr as createFile,
|
|
3802
|
+
Zo as deepMerge,
|
|
3803
|
+
pr as default,
|
|
3790
3804
|
Ko as en,
|
|
3805
|
+
Qt as getPassportOrigin,
|
|
3806
|
+
ur as getUrlParam,
|
|
3791
3807
|
ct as i18n,
|
|
3792
3808
|
Dt as menuList,
|
|
3793
3809
|
xe as modelList,
|
|
3794
3810
|
Ot as pinia,
|
|
3795
3811
|
go as useConsoleStore,
|
|
3812
|
+
cr as visibleChildrenFilter,
|
|
3796
3813
|
Qo as zh
|
|
3797
3814
|
};
|