act-plus 1.1.91 → 1.1.92
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.
- package/act-plus.js +1 -1
- package/act-plus.umd.cjs +1 -1
- package/lib/{dialogAddField-44777711.js → dialogAddField-0a752db3.js} +2 -2
- package/lib/{dialogConfigBtn-d1689521.js → dialogConfigBtn-871f1cb6.js} +2 -2
- package/lib/{dialogSiteComponentsParams-20202897.js → dialogSiteComponentsParams-345e7995.js} +1 -1
- package/lib/{index-ddb4ce93.js → index-1a2e2c32.js} +1 -1
- package/lib/{index-141f7eb5.js → index-405a9f10.js} +1 -1
- package/lib/{index-d8903caa.js → index-424f6f21.js} +1 -1
- package/lib/{index-102a66e3.js → index-86b814b7.js} +1 -1
- package/lib/{index-66d3a947.js → index-86f94529.js} +1 -1
- package/lib/{index-815a580b.js → index-87a4732a.js} +1 -1
- package/lib/{index-faf7bfa8.js → index-8c8baa73.js} +2 -2
- package/lib/{index-ab23fa70.js → index-960ddde8.js} +1 -1
- package/lib/{index-dd0e4184.js → index-b1e13e12.js} +381 -375
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Et, h as Ja, getCurrentInstance as Xt, effectScope as to, inject as we, onMounted as Xa, onUnmounted as no, computed as
|
|
1
|
+
import { defineComponent as Et, h as Ja, getCurrentInstance as Xt, effectScope as to, inject as we, onMounted as Xa, onUnmounted as no, computed as vt, watch as dt, Fragment as Oe, isRef as Lt, ref as le, shallowRef as ao, createVNode as S, Text as lo, openBlock as Y, createElementBlock as _e, createElementVNode as Ie, defineAsyncComponent as ut, reactive as Vt, provide as ke, resolveComponent as q, resolveDirective as Qt, withDirectives as lt, createBlock as se, withCtx as v, unref as T, createSlots as oo, renderList as Ze, resolveDynamicComponent as kn, createCommentVNode as We, createTextVNode as ve, toDisplayString as He, markRaw as sa, nextTick as ro } from "vue";
|
|
2
2
|
import { useRoute as _n, useRouter as Za } from "vue-router";
|
|
3
3
|
import { dayjs as Qe, ElNotification as Fe, ElMessageBox as so } from "element-plus";
|
|
4
4
|
/*!
|
|
@@ -30,7 +30,7 @@ function An(e, ...t) {
|
|
|
30
30
|
}
|
|
31
31
|
const ot = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), uo = (e, t, n) => co({ l: e, k: t, s: n }), co = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), Te = (e) => typeof e == "number" && isFinite(e), fo = (e) => Yn(e) === "[object Date]", Wt = (e) => Yn(e) === "[object RegExp]", bn = (e) => ae(e) && Object.keys(e).length === 0, Se = Object.assign, mo = Object.create, fe = (e = null) => mo(e);
|
|
32
32
|
let ua;
|
|
33
|
-
const
|
|
33
|
+
const Ot = () => ua || (ua = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : fe());
|
|
34
34
|
function ca(e) {
|
|
35
35
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/\//g, "/").replace(/=/g, "=");
|
|
36
36
|
}
|
|
@@ -121,7 +121,7 @@ function fn(e, t) {
|
|
|
121
121
|
function Eo(e, t, n) {
|
|
122
122
|
return { line: e, column: t, offset: n };
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function On(e, t, n) {
|
|
125
125
|
const a = { start: e, end: t };
|
|
126
126
|
return n != null && (a.source = n), a;
|
|
127
127
|
}
|
|
@@ -177,10 +177,10 @@ function Co(e) {
|
|
|
177
177
|
}
|
|
178
178
|
const To = /<\/?[\w\s="/.':;#-\/]+>/, No = (e) => To.test(e), it = " ", ko = "\r", Pe = `
|
|
179
179
|
`, Io = String.fromCharCode(8232), So = String.fromCharCode(8233);
|
|
180
|
-
function
|
|
180
|
+
function vo(e) {
|
|
181
181
|
const t = e;
|
|
182
182
|
let n = 0, a = 1, l = 1, o = 0;
|
|
183
|
-
const r = (y) => t[y] === ko && t[y + 1] === Pe, s = (y) => t[y] === Pe, i = (y) => t[y] === So, g = (y) => t[y] === Io, E = (y) => r(y) || s(y) || i(y) || g(y), C = () => n, f = () => a,
|
|
183
|
+
const r = (y) => t[y] === ko && t[y + 1] === Pe, s = (y) => t[y] === Pe, i = (y) => t[y] === So, g = (y) => t[y] === Io, E = (y) => r(y) || s(y) || i(y) || g(y), C = () => n, f = () => a, O = () => l, k = () => o, L = (y) => r(y) || i(y) || g(y) ? Pe : t[y], w = () => L(n), m = () => L(n + o);
|
|
184
184
|
function A() {
|
|
185
185
|
return o = 0, E(n) && (a++, l = 0), r(n) && n++, n++, l++, t[n];
|
|
186
186
|
}
|
|
@@ -202,9 +202,9 @@ function Lo(e) {
|
|
|
202
202
|
return {
|
|
203
203
|
index: C,
|
|
204
204
|
line: f,
|
|
205
|
-
column:
|
|
205
|
+
column: O,
|
|
206
206
|
peekOffset: k,
|
|
207
|
-
charAt:
|
|
207
|
+
charAt: L,
|
|
208
208
|
currentChar: w,
|
|
209
209
|
currentPeek: m,
|
|
210
210
|
next: A,
|
|
@@ -214,9 +214,9 @@ function Lo(e) {
|
|
|
214
214
|
skipToPeek: F
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
const At = void 0,
|
|
217
|
+
const At = void 0, Lo = ".", ma = "'", Oo = "tokenizer";
|
|
218
218
|
function wo(e, t = {}) {
|
|
219
|
-
const n = t.location !== !1, a =
|
|
219
|
+
const n = t.location !== !1, a = vo(e), l = () => a.index(), o = () => Eo(a.line(), a.column(), a.index()), r = o(), s = l(), i = {
|
|
220
220
|
currentType: 13,
|
|
221
221
|
offset: s,
|
|
222
222
|
startLoc: r,
|
|
@@ -232,8 +232,8 @@ function wo(e, t = {}) {
|
|
|
232
232
|
function C(c, d, R, ...x) {
|
|
233
233
|
const Ae = g();
|
|
234
234
|
if (d.column += R, d.offset += R, E) {
|
|
235
|
-
const be = n ?
|
|
236
|
-
domain:
|
|
235
|
+
const be = n ? On(Ae.startLoc, d) : null, oe = Yt(c, be, {
|
|
236
|
+
domain: Oo,
|
|
237
237
|
args: x
|
|
238
238
|
});
|
|
239
239
|
E(oe);
|
|
@@ -242,9 +242,9 @@ function wo(e, t = {}) {
|
|
|
242
242
|
function f(c, d, R) {
|
|
243
243
|
c.endLoc = o(), c.currentType = d;
|
|
244
244
|
const x = { type: d };
|
|
245
|
-
return n && (x.loc =
|
|
245
|
+
return n && (x.loc = On(c.startLoc, c.endLoc)), R != null && (x.value = R), x;
|
|
246
246
|
}
|
|
247
|
-
const
|
|
247
|
+
const O = (c) => f(
|
|
248
248
|
c,
|
|
249
249
|
13
|
|
250
250
|
/* TokenTypes.EOF */
|
|
@@ -252,14 +252,14 @@ function wo(e, t = {}) {
|
|
|
252
252
|
function k(c, d) {
|
|
253
253
|
return c.currentChar() === d ? (c.next(), d) : (C(ee.EXPECTED_TOKEN, o(), 0, d), "");
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function L(c) {
|
|
256
256
|
let d = "";
|
|
257
257
|
for (; c.currentPeek() === it || c.currentPeek() === Pe; )
|
|
258
258
|
d += c.currentPeek(), c.peek();
|
|
259
259
|
return d;
|
|
260
260
|
}
|
|
261
261
|
function w(c) {
|
|
262
|
-
const d =
|
|
262
|
+
const d = L(c);
|
|
263
263
|
return c.skipToPeek(), d;
|
|
264
264
|
}
|
|
265
265
|
function m(c) {
|
|
@@ -280,7 +280,7 @@ function wo(e, t = {}) {
|
|
|
280
280
|
const { currentType: R } = d;
|
|
281
281
|
if (R !== 2)
|
|
282
282
|
return !1;
|
|
283
|
-
|
|
283
|
+
L(c);
|
|
284
284
|
const x = m(c.currentPeek());
|
|
285
285
|
return c.resetPeek(), x;
|
|
286
286
|
}
|
|
@@ -288,7 +288,7 @@ function wo(e, t = {}) {
|
|
|
288
288
|
const { currentType: R } = d;
|
|
289
289
|
if (R !== 2)
|
|
290
290
|
return !1;
|
|
291
|
-
|
|
291
|
+
L(c);
|
|
292
292
|
const x = c.currentPeek() === "-" ? c.peek() : c.currentPeek(), Ae = A(x);
|
|
293
293
|
return c.resetPeek(), Ae;
|
|
294
294
|
}
|
|
@@ -296,7 +296,7 @@ function wo(e, t = {}) {
|
|
|
296
296
|
const { currentType: R } = d;
|
|
297
297
|
if (R !== 2)
|
|
298
298
|
return !1;
|
|
299
|
-
|
|
299
|
+
L(c);
|
|
300
300
|
const x = c.currentPeek() === ma;
|
|
301
301
|
return c.resetPeek(), x;
|
|
302
302
|
}
|
|
@@ -304,7 +304,7 @@ function wo(e, t = {}) {
|
|
|
304
304
|
const { currentType: R } = d;
|
|
305
305
|
if (R !== 7)
|
|
306
306
|
return !1;
|
|
307
|
-
|
|
307
|
+
L(c);
|
|
308
308
|
const x = c.currentPeek() === ".";
|
|
309
309
|
return c.resetPeek(), x;
|
|
310
310
|
}
|
|
@@ -312,7 +312,7 @@ function wo(e, t = {}) {
|
|
|
312
312
|
const { currentType: R } = d;
|
|
313
313
|
if (R !== 8)
|
|
314
314
|
return !1;
|
|
315
|
-
|
|
315
|
+
L(c);
|
|
316
316
|
const x = m(c.currentPeek());
|
|
317
317
|
return c.resetPeek(), x;
|
|
318
318
|
}
|
|
@@ -320,7 +320,7 @@ function wo(e, t = {}) {
|
|
|
320
320
|
const { currentType: R } = d;
|
|
321
321
|
if (!(R === 7 || R === 11))
|
|
322
322
|
return !1;
|
|
323
|
-
|
|
323
|
+
L(c);
|
|
324
324
|
const x = c.currentPeek() === ":";
|
|
325
325
|
return c.resetPeek(), x;
|
|
326
326
|
}
|
|
@@ -335,7 +335,7 @@ function wo(e, t = {}) {
|
|
|
335
335
|
return c.resetPeek(), Ae;
|
|
336
336
|
}
|
|
337
337
|
function $(c) {
|
|
338
|
-
|
|
338
|
+
L(c);
|
|
339
339
|
const d = c.currentPeek() === "|";
|
|
340
340
|
return c.resetPeek(), d;
|
|
341
341
|
}
|
|
@@ -514,7 +514,7 @@ function wo(e, t = {}) {
|
|
|
514
514
|
/* TokenChars.BraceRight */
|
|
515
515
|
), d.braceNest--, d.braceNest > 0 && w(c), d.inLinked && d.braceNest === 0 && (d.inLinked = !1), R;
|
|
516
516
|
case "@":
|
|
517
|
-
return d.braceNest > 0 && C(ee.UNTERMINATED_CLOSING_BRACE, o(), 0), R = xe(c, d) ||
|
|
517
|
+
return d.braceNest > 0 && C(ee.UNTERMINATED_CLOSING_BRACE, o(), 0), R = xe(c, d) || O(d), d.braceNest = 0, R;
|
|
518
518
|
default: {
|
|
519
519
|
let Ae = !0, be = !0, oe = !0;
|
|
520
520
|
if ($(c))
|
|
@@ -570,12 +570,12 @@ function wo(e, t = {}) {
|
|
|
570
570
|
/* TokenTypes.EOF */
|
|
571
571
|
};
|
|
572
572
|
if (d.braceNest > 0)
|
|
573
|
-
return kt(c, d) ||
|
|
573
|
+
return kt(c, d) || O(d);
|
|
574
574
|
if (d.inLinked)
|
|
575
|
-
return xe(c, d) ||
|
|
575
|
+
return xe(c, d) || O(d);
|
|
576
576
|
switch (c.currentChar()) {
|
|
577
577
|
case "{":
|
|
578
|
-
return kt(c, d) ||
|
|
578
|
+
return kt(c, d) || O(d);
|
|
579
579
|
case "}":
|
|
580
580
|
return C(ee.UNBALANCED_CLOSING_BRACE, o(), 0), c.next(), f(
|
|
581
581
|
d,
|
|
@@ -584,7 +584,7 @@ function wo(e, t = {}) {
|
|
|
584
584
|
/* TokenChars.BraceRight */
|
|
585
585
|
);
|
|
586
586
|
case "@":
|
|
587
|
-
return xe(c, d) ||
|
|
587
|
+
return xe(c, d) || O(d);
|
|
588
588
|
default: {
|
|
589
589
|
if ($(c))
|
|
590
590
|
return R = f(d, 1, Nt(c)), d.braceNest = 0, d.inLinked = !1, R;
|
|
@@ -628,7 +628,7 @@ function Po(e = {}) {
|
|
|
628
628
|
function a(m, A, p, _, ...h) {
|
|
629
629
|
const F = m.currentPosition();
|
|
630
630
|
if (F.offset += _, F.column += _, n) {
|
|
631
|
-
const y = t ?
|
|
631
|
+
const y = t ? On(p, F) : null, I = Yt(A, y, {
|
|
632
632
|
domain: Do,
|
|
633
633
|
args: h
|
|
634
634
|
});
|
|
@@ -704,7 +704,7 @@ function Po(e = {}) {
|
|
|
704
704
|
node: p
|
|
705
705
|
};
|
|
706
706
|
}
|
|
707
|
-
function
|
|
707
|
+
function O(m) {
|
|
708
708
|
const A = m.context(), p = A.currentType === 1 ? m.currentOffset() : A.offset, _ = A.currentType === 1 ? A.endLoc : A.startLoc, h = l(2, p, _);
|
|
709
709
|
h.items = [];
|
|
710
710
|
let F = null;
|
|
@@ -739,18 +739,18 @@ function Po(e = {}) {
|
|
|
739
739
|
const y = l(1, A, p);
|
|
740
740
|
y.cases = [], y.cases.push(_);
|
|
741
741
|
do {
|
|
742
|
-
const I =
|
|
742
|
+
const I = O(m);
|
|
743
743
|
F || (F = I.items.length === 0), y.cases.push(I);
|
|
744
744
|
} while (h.currentType !== 13);
|
|
745
745
|
return F && a(m, ee.MUST_HAVE_MESSAGES_IN_PLURAL, p, 0), o(y, m.currentOffset(), m.currentPosition()), y;
|
|
746
746
|
}
|
|
747
|
-
function
|
|
748
|
-
const A = m.context(), { offset: p, startLoc: _ } = A, h =
|
|
747
|
+
function L(m) {
|
|
748
|
+
const A = m.context(), { offset: p, startLoc: _ } = A, h = O(m);
|
|
749
749
|
return A.currentType === 13 ? h : k(m, p, _, h);
|
|
750
750
|
}
|
|
751
751
|
function w(m) {
|
|
752
752
|
const A = wo(m, Se({}, e)), p = A.context(), _ = l(0, p.offset, p.startLoc);
|
|
753
|
-
return t && _.loc && (_.loc.source = m), _.body =
|
|
753
|
+
return t && _.loc && (_.loc.source = m), _.body = L(A), e.onCacheKey && (_.cacheKey = e.onCacheKey(m)), p.currentType !== 13 && a(A, ee.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, m[p.offset] || ""), o(_, A.currentOffset(), A.currentPosition()), _;
|
|
754
754
|
}
|
|
755
755
|
return { parse: w };
|
|
756
756
|
}
|
|
@@ -930,7 +930,7 @@ function Qo(e, t) {
|
|
|
930
930
|
const m = --s.indentLevel;
|
|
931
931
|
w && E(m);
|
|
932
932
|
}
|
|
933
|
-
function
|
|
933
|
+
function O() {
|
|
934
934
|
E(s.indentLevel);
|
|
935
935
|
}
|
|
936
936
|
return {
|
|
@@ -938,7 +938,7 @@ function Qo(e, t) {
|
|
|
938
938
|
push: g,
|
|
939
939
|
indent: C,
|
|
940
940
|
deindent: f,
|
|
941
|
-
newline:
|
|
941
|
+
newline: O,
|
|
942
942
|
helper: (w) => `_${w}`,
|
|
943
943
|
needIndent: () => s.needIndent
|
|
944
944
|
};
|
|
@@ -1058,7 +1058,7 @@ function Go(e, t = {}) {
|
|
|
1058
1058
|
* Released under the MIT License.
|
|
1059
1059
|
*/
|
|
1060
1060
|
function qo() {
|
|
1061
|
-
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (
|
|
1061
|
+
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ot().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ot().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
1062
1062
|
}
|
|
1063
1063
|
function Ke(e) {
|
|
1064
1064
|
return ue(e) && qn(e) === 0 && (ze(e, "b") || ze(e, "body"));
|
|
@@ -1568,7 +1568,7 @@ function yr(e) {
|
|
|
1568
1568
|
]();
|
|
1569
1569
|
}
|
|
1570
1570
|
};
|
|
1571
|
-
function
|
|
1571
|
+
function O() {
|
|
1572
1572
|
const k = e[n + 1];
|
|
1573
1573
|
if (a === 5 && k === "'" || a === 6 && k === '"')
|
|
1574
1574
|
return n++, s = "\\" + k, f[
|
|
@@ -1577,7 +1577,7 @@ function yr(e) {
|
|
|
1577
1577
|
](), !0;
|
|
1578
1578
|
}
|
|
1579
1579
|
for (; a !== null; )
|
|
1580
|
-
if (n++, o = e[n], !(o === "\\" &&
|
|
1580
|
+
if (n++, o = e[n], !(o === "\\" && O())) {
|
|
1581
1581
|
if (i = Er(o), C = yt[a], g = C[i] || C.l || 8, g === 8 || (a = g[0], g[1] !== void 0 && (E = f[g[1]], E && (s = o, E() === !1))))
|
|
1582
1582
|
return;
|
|
1583
1583
|
if (a === 7)
|
|
@@ -1636,15 +1636,15 @@ function Sr() {
|
|
|
1636
1636
|
};
|
|
1637
1637
|
}
|
|
1638
1638
|
let dl;
|
|
1639
|
-
function
|
|
1639
|
+
function vr(e) {
|
|
1640
1640
|
dl = e;
|
|
1641
1641
|
}
|
|
1642
1642
|
let fl;
|
|
1643
|
-
function
|
|
1643
|
+
function Lr(e) {
|
|
1644
1644
|
fl = e;
|
|
1645
1645
|
}
|
|
1646
1646
|
let ml;
|
|
1647
|
-
function
|
|
1647
|
+
function Or(e) {
|
|
1648
1648
|
ml = e;
|
|
1649
1649
|
}
|
|
1650
1650
|
let pl = null;
|
|
@@ -1657,7 +1657,7 @@ const ya = (e) => {
|
|
|
1657
1657
|
}, Rr = () => gl;
|
|
1658
1658
|
let Ca = 0;
|
|
1659
1659
|
function Fr(e = {}) {
|
|
1660
|
-
const t = ge(e.onWarn) ? e.onWarn : ft, n = M(e.version) ? e.version : Ir, a = M(e.locale) || ge(e.locale) ? e.locale : en, l = ge(a) ? en : a, o = he(e.fallbackLocale) || ae(e.fallbackLocale) || M(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, r = ae(e.messages) ? e.messages :
|
|
1660
|
+
const t = ge(e.onWarn) ? e.onWarn : ft, n = M(e.version) ? e.version : Ir, a = M(e.locale) || ge(e.locale) ? e.locale : en, l = ge(a) ? en : a, o = he(e.fallbackLocale) || ae(e.fallbackLocale) || M(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, r = ae(e.messages) ? e.messages : vn(l), s = ae(e.datetimeFormats) ? e.datetimeFormats : vn(l), i = ae(e.numberFormats) ? e.numberFormats : vn(l), g = Se(fe(), e.modifiers, Sr()), E = e.pluralRules || fe(), C = ge(e.missing) ? e.missing : null, f = de(e.missingWarn) || Wt(e.missingWarn) ? e.missingWarn : !0, O = de(e.fallbackWarn) || Wt(e.fallbackWarn) ? e.fallbackWarn : !0, k = !!e.fallbackFormat, L = !!e.unresolving, w = ge(e.postTranslation) ? e.postTranslation : null, m = ae(e.processor) ? e.processor : null, A = de(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, p = !!e.escapeParameter, _ = ge(e.messageCompiler) ? e.messageCompiler : dl;
|
|
1661
1661
|
process.env.NODE_ENV !== "production" && ge(e.messageCompiler) && za(Dt(Be.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
1662
1662
|
const h = ge(e.messageResolver) ? e.messageResolver : fl || Cr, F = ge(e.localeFallbacker) ? e.localeFallbacker : ml || mr, y = ue(e.fallbackContext) ? e.fallbackContext : void 0, I = e, D = ue(I.__datetimeFormatters) ? I.__datetimeFormatters : /* @__PURE__ */ new Map(), $ = ue(I.__numberFormatters) ? I.__numberFormatters : /* @__PURE__ */ new Map(), H = ue(I.__meta) ? I.__meta : {};
|
|
1663
1663
|
Ca++;
|
|
@@ -1671,9 +1671,9 @@ function Fr(e = {}) {
|
|
|
1671
1671
|
pluralRules: E,
|
|
1672
1672
|
missing: C,
|
|
1673
1673
|
missingWarn: f,
|
|
1674
|
-
fallbackWarn:
|
|
1674
|
+
fallbackWarn: O,
|
|
1675
1675
|
fallbackFormat: k,
|
|
1676
|
-
unresolving:
|
|
1676
|
+
unresolving: L,
|
|
1677
1677
|
postTranslation: w,
|
|
1678
1678
|
processor: m,
|
|
1679
1679
|
warnHtmlMessage: A,
|
|
@@ -1687,7 +1687,7 @@ function Fr(e = {}) {
|
|
|
1687
1687
|
};
|
|
1688
1688
|
return te.datetimeFormats = s, te.numberFormats = i, te.__datetimeFormatters = D, te.__numberFormatters = $, process.env.NODE_ENV !== "production" && (te.__v_emitter = I.__v_emitter != null ? I.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && ir(te, n, H), te;
|
|
1689
1689
|
}
|
|
1690
|
-
const
|
|
1690
|
+
const vn = (e) => ({ [e]: fe() });
|
|
1691
1691
|
function hn(e, t) {
|
|
1692
1692
|
return e instanceof RegExp ? e.test(t) : e;
|
|
1693
1693
|
}
|
|
@@ -1735,21 +1735,21 @@ function Na(e, ...t) {
|
|
|
1735
1735
|
const { datetimeFormats: n, unresolving: a, fallbackLocale: l, onWarn: o, localeFallbacker: r } = e, { __datetimeFormatters: s } = e;
|
|
1736
1736
|
if (process.env.NODE_ENV !== "production" && !bl.dateTimeFormat)
|
|
1737
1737
|
return o(Dt(Be.CANNOT_FORMAT_DATE)), pn;
|
|
1738
|
-
const [i, g, E, C] = Dn(...t), f = de(E.missingWarn) ? E.missingWarn : e.missingWarn,
|
|
1738
|
+
const [i, g, E, C] = Dn(...t), f = de(E.missingWarn) ? E.missingWarn : e.missingWarn, O = de(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, k = !!E.part, L = $n(e, E), w = r(
|
|
1739
1739
|
e,
|
|
1740
1740
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1741
1741
|
l,
|
|
1742
|
-
|
|
1742
|
+
L
|
|
1743
1743
|
);
|
|
1744
1744
|
if (!M(i) || i === "")
|
|
1745
|
-
return new Intl.DateTimeFormat(
|
|
1746
|
-
let m = {}, A, p = null, _ =
|
|
1745
|
+
return new Intl.DateTimeFormat(L, C).format(g);
|
|
1746
|
+
let m = {}, A, p = null, _ = L, h = null;
|
|
1747
1747
|
const F = "datetime format";
|
|
1748
1748
|
for (let D = 0; D < w.length; D++) {
|
|
1749
|
-
if (A = h = w[D], process.env.NODE_ENV !== "production" &&
|
|
1749
|
+
if (A = h = w[D], process.env.NODE_ENV !== "production" && L !== A && hn(O, i) && o(Dt(Be.FALLBACK_TO_DATE_FORMAT, {
|
|
1750
1750
|
key: i,
|
|
1751
1751
|
target: A
|
|
1752
|
-
})), process.env.NODE_ENV !== "production" &&
|
|
1752
|
+
})), process.env.NODE_ENV !== "production" && L !== A) {
|
|
1753
1753
|
const $ = e.__v_emitter;
|
|
1754
1754
|
$ && $.emit("fallback", {
|
|
1755
1755
|
type: F,
|
|
@@ -1829,21 +1829,21 @@ function Ia(e, ...t) {
|
|
|
1829
1829
|
const { numberFormats: n, unresolving: a, fallbackLocale: l, onWarn: o, localeFallbacker: r } = e, { __numberFormatters: s } = e;
|
|
1830
1830
|
if (process.env.NODE_ENV !== "production" && !bl.numberFormat)
|
|
1831
1831
|
return o(Dt(Be.CANNOT_FORMAT_NUMBER)), pn;
|
|
1832
|
-
const [i, g, E, C] = Rn(...t), f = de(E.missingWarn) ? E.missingWarn : e.missingWarn,
|
|
1832
|
+
const [i, g, E, C] = Rn(...t), f = de(E.missingWarn) ? E.missingWarn : e.missingWarn, O = de(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, k = !!E.part, L = $n(e, E), w = r(
|
|
1833
1833
|
e,
|
|
1834
1834
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1835
1835
|
l,
|
|
1836
|
-
|
|
1836
|
+
L
|
|
1837
1837
|
);
|
|
1838
1838
|
if (!M(i) || i === "")
|
|
1839
|
-
return new Intl.NumberFormat(
|
|
1840
|
-
let m = {}, A, p = null, _ =
|
|
1839
|
+
return new Intl.NumberFormat(L, C).format(g);
|
|
1840
|
+
let m = {}, A, p = null, _ = L, h = null;
|
|
1841
1841
|
const F = "number format";
|
|
1842
1842
|
for (let D = 0; D < w.length; D++) {
|
|
1843
|
-
if (A = h = w[D], process.env.NODE_ENV !== "production" &&
|
|
1843
|
+
if (A = h = w[D], process.env.NODE_ENV !== "production" && L !== A && hn(O, i) && o(Dt(Be.FALLBACK_TO_NUMBER_FORMAT, {
|
|
1844
1844
|
key: i,
|
|
1845
1845
|
target: A
|
|
1846
|
-
})), process.env.NODE_ENV !== "production" &&
|
|
1846
|
+
})), process.env.NODE_ENV !== "production" && L !== A) {
|
|
1847
1847
|
const $ = e.__v_emitter;
|
|
1848
1848
|
$ && $.emit("fallback", {
|
|
1849
1849
|
type: F,
|
|
@@ -1904,7 +1904,7 @@ function Sa(e, t, n) {
|
|
|
1904
1904
|
}
|
|
1905
1905
|
}
|
|
1906
1906
|
const Ur = (e) => e, Mr = (e) => "", Br = "text", xr = (e) => e.length === 0 ? "" : Kn(e), Vr = Ao;
|
|
1907
|
-
function
|
|
1907
|
+
function va(e, t) {
|
|
1908
1908
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1909
1909
|
}
|
|
1910
1910
|
function Qr(e) {
|
|
@@ -1915,14 +1915,14 @@ function Wr(e, t) {
|
|
|
1915
1915
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1916
1916
|
}
|
|
1917
1917
|
function Hr(e = {}) {
|
|
1918
|
-
const t = e.locale, n = Qr(e), a = ue(e.pluralRules) && M(t) && ge(e.pluralRules[t]) ? e.pluralRules[t] :
|
|
1918
|
+
const t = e.locale, n = Qr(e), a = ue(e.pluralRules) && M(t) && ge(e.pluralRules[t]) ? e.pluralRules[t] : va, l = ue(e.pluralRules) && M(t) && ge(e.pluralRules[t]) ? va : void 0, o = (m) => m[a(n, m.length, l)], r = e.list || [], s = (m) => r[m], i = e.named || fe();
|
|
1919
1919
|
Te(e.pluralIndex) && Wr(n, i);
|
|
1920
1920
|
const g = (m) => i[m];
|
|
1921
1921
|
function E(m, A) {
|
|
1922
1922
|
const p = ge(e.messages) ? e.messages(m, !!A) : ue(e.messages) ? e.messages[m] : !1;
|
|
1923
1923
|
return p || (e.parent ? e.parent.message(m) : Mr);
|
|
1924
1924
|
}
|
|
1925
|
-
const C = (m) => e.modifiers ? e.modifiers[m] : Ur, f = ae(e.processor) && ge(e.processor.normalize) ? e.processor.normalize : xr,
|
|
1925
|
+
const C = (m) => e.modifiers ? e.modifiers[m] : Ur, f = ae(e.processor) && ge(e.processor.normalize) ? e.processor.normalize : xr, O = ae(e.processor) && ge(e.processor.interpolate) ? e.processor.interpolate : Vr, k = ae(e.processor) && M(e.processor.type) ? e.processor.type : Br, w = {
|
|
1926
1926
|
list: s,
|
|
1927
1927
|
named: g,
|
|
1928
1928
|
plural: o,
|
|
@@ -1938,22 +1938,22 @@ function Hr(e = {}) {
|
|
|
1938
1938
|
},
|
|
1939
1939
|
message: E,
|
|
1940
1940
|
type: k,
|
|
1941
|
-
interpolate:
|
|
1941
|
+
interpolate: O,
|
|
1942
1942
|
normalize: f,
|
|
1943
1943
|
values: Se(fe(), r, i)
|
|
1944
1944
|
};
|
|
1945
1945
|
return w;
|
|
1946
1946
|
}
|
|
1947
|
-
const
|
|
1948
|
-
function
|
|
1949
|
-
const { fallbackFormat: n, postTranslation: a, unresolving: l, messageCompiler: o, fallbackLocale: r, messages: s } = e, [i, g] = Fn(...t), E = de(g.missingWarn) ? g.missingWarn : e.missingWarn, C = de(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, f = de(g.escapeParameter) ? g.escapeParameter : e.escapeParameter,
|
|
1947
|
+
const La = () => "", Ye = (e) => ge(e);
|
|
1948
|
+
function Oa(e, ...t) {
|
|
1949
|
+
const { fallbackFormat: n, postTranslation: a, unresolving: l, messageCompiler: o, fallbackLocale: r, messages: s } = e, [i, g] = Fn(...t), E = de(g.missingWarn) ? g.missingWarn : e.missingWarn, C = de(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, f = de(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, O = !!g.resolvedMessage, k = M(g.default) || de(g.default) ? de(g.default) ? o ? i : () => i : g.default : n ? o ? i : () => i : null, L = n || k != null && (M(k) || ge(k)), w = $n(e, g);
|
|
1950
1950
|
f && Yr(g);
|
|
1951
|
-
let [m, A, p] =
|
|
1951
|
+
let [m, A, p] = O ? [
|
|
1952
1952
|
i,
|
|
1953
1953
|
w,
|
|
1954
1954
|
s[w] || fe()
|
|
1955
1955
|
] : yl(e, i, w, r, C, E), _ = m, h = i;
|
|
1956
|
-
if (!
|
|
1956
|
+
if (!O && !(M(_) || Ke(_) || Ye(_)) && L && (_ = k, h = _), !O && (!(M(_) || Ke(_) || Ye(_)) || !M(A)))
|
|
1957
1957
|
return l ? En : i;
|
|
1958
1958
|
if (process.env.NODE_ENV !== "production" && M(_) && e.messageCompiler == null)
|
|
1959
1959
|
return ft(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${i}'.`), i;
|
|
@@ -1984,10 +1984,10 @@ function Yr(e) {
|
|
|
1984
1984
|
}
|
|
1985
1985
|
function yl(e, t, n, a, l, o) {
|
|
1986
1986
|
const { messages: r, onWarn: s, messageResolver: i, localeFallbacker: g } = e, E = g(e, a, n);
|
|
1987
|
-
let C = fe(), f,
|
|
1987
|
+
let C = fe(), f, O = null, k = n, L = null;
|
|
1988
1988
|
const w = "translate";
|
|
1989
1989
|
for (let m = 0; m < E.length; m++) {
|
|
1990
|
-
if (f =
|
|
1990
|
+
if (f = L = E[m], process.env.NODE_ENV !== "production" && n !== f && !Al(n, f) && hn(l, t) && s(Dt(Be.FALLBACK_TO_TRANSLATE, {
|
|
1991
1991
|
key: t,
|
|
1992
1992
|
target: f
|
|
1993
1993
|
})), process.env.NODE_ENV !== "production" && n !== f) {
|
|
@@ -1996,23 +1996,23 @@ function yl(e, t, n, a, l, o) {
|
|
|
1996
1996
|
type: w,
|
|
1997
1997
|
key: t,
|
|
1998
1998
|
from: k,
|
|
1999
|
-
to:
|
|
1999
|
+
to: L,
|
|
2000
2000
|
groupId: `${w}:${t}`
|
|
2001
2001
|
});
|
|
2002
2002
|
}
|
|
2003
2003
|
C = r[f] || fe();
|
|
2004
2004
|
let A = null, p, _;
|
|
2005
|
-
if (process.env.NODE_ENV !== "production" && et && (A = window.performance.now(), p = "intlify-message-resolve-start", _ = "intlify-message-resolve-end", Ve && Ve(p)), (
|
|
2005
|
+
if (process.env.NODE_ENV !== "production" && et && (A = window.performance.now(), p = "intlify-message-resolve-start", _ = "intlify-message-resolve-end", Ve && Ve(p)), (O = i(C, t)) === null && (O = C[t]), process.env.NODE_ENV !== "production" && et) {
|
|
2006
2006
|
const h = window.performance.now(), F = e.__v_emitter;
|
|
2007
|
-
F && A &&
|
|
2007
|
+
F && A && O && F.emit("message-resolve", {
|
|
2008
2008
|
type: "message-resolve",
|
|
2009
2009
|
key: t,
|
|
2010
|
-
message:
|
|
2010
|
+
message: O,
|
|
2011
2011
|
time: h - A,
|
|
2012
2012
|
groupId: `${w}:${t}`
|
|
2013
2013
|
}), p && _ && Ve && wt && (Ve(_), wt("intlify message resolve", p, _));
|
|
2014
2014
|
}
|
|
2015
|
-
if (M(
|
|
2015
|
+
if (M(O) || Ke(O) || Ye(O))
|
|
2016
2016
|
break;
|
|
2017
2017
|
if (!Pr(f, E)) {
|
|
2018
2018
|
const h = Jn(
|
|
@@ -2023,11 +2023,11 @@ function yl(e, t, n, a, l, o) {
|
|
|
2023
2023
|
o,
|
|
2024
2024
|
w
|
|
2025
2025
|
);
|
|
2026
|
-
h !== t && (
|
|
2026
|
+
h !== t && (O = h);
|
|
2027
2027
|
}
|
|
2028
|
-
k =
|
|
2028
|
+
k = L;
|
|
2029
2029
|
}
|
|
2030
|
-
return [
|
|
2030
|
+
return [O, f, C];
|
|
2031
2031
|
}
|
|
2032
2032
|
function Cl(e, t, n, a, l, o) {
|
|
2033
2033
|
const { messageCompiler: r, warnHtmlMessage: s } = e;
|
|
@@ -2043,8 +2043,8 @@ function Cl(e, t, n, a, l, o) {
|
|
|
2043
2043
|
process.env.NODE_ENV !== "production" && et && (i = window.performance.now(), g = "intlify-message-compilation-start", E = "intlify-message-compilation-end", Ve && Ve(g));
|
|
2044
2044
|
const C = r(a, jr(e, n, l, a, s, o));
|
|
2045
2045
|
if (process.env.NODE_ENV !== "production" && et) {
|
|
2046
|
-
const f = window.performance.now(),
|
|
2047
|
-
|
|
2046
|
+
const f = window.performance.now(), O = e.__v_emitter;
|
|
2047
|
+
O && i && O.emit("message-compilation", {
|
|
2048
2048
|
type: "message-compilation",
|
|
2049
2049
|
message: a,
|
|
2050
2050
|
time: f - i,
|
|
@@ -2108,28 +2108,28 @@ function qr(e, t, n, a) {
|
|
|
2108
2108
|
locale: t,
|
|
2109
2109
|
modifiers: l,
|
|
2110
2110
|
pluralRules: o,
|
|
2111
|
-
messages: (
|
|
2112
|
-
let
|
|
2113
|
-
if (
|
|
2111
|
+
messages: (O, k) => {
|
|
2112
|
+
let L = r(n, O);
|
|
2113
|
+
if (L == null && (E || k)) {
|
|
2114
2114
|
const [, , w] = yl(
|
|
2115
2115
|
E || e,
|
|
2116
2116
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
2117
|
-
|
|
2117
|
+
O,
|
|
2118
2118
|
t,
|
|
2119
2119
|
s,
|
|
2120
2120
|
i,
|
|
2121
2121
|
g
|
|
2122
2122
|
);
|
|
2123
|
-
|
|
2123
|
+
L = r(w, O);
|
|
2124
2124
|
}
|
|
2125
|
-
if (M(
|
|
2125
|
+
if (M(L) || Ke(L)) {
|
|
2126
2126
|
let w = !1;
|
|
2127
|
-
const A = Cl(e,
|
|
2127
|
+
const A = Cl(e, O, t, L, O, () => {
|
|
2128
2128
|
w = !0;
|
|
2129
2129
|
});
|
|
2130
|
-
return w ?
|
|
2130
|
+
return w ? La : A;
|
|
2131
2131
|
} else
|
|
2132
|
-
return Ye(
|
|
2132
|
+
return Ye(L) ? L : La;
|
|
2133
2133
|
}
|
|
2134
2134
|
};
|
|
2135
2135
|
return e.processor && (f.processor = e.processor), a.list && (f.list = a.list), a.named && (f.named = a.named), Te(a.plural) && (f.pluralIndex = a.plural), f;
|
|
@@ -2232,7 +2232,7 @@ function ns(e, t) {
|
|
|
2232
2232
|
*/
|
|
2233
2233
|
const as = "10.0.8";
|
|
2234
2234
|
function ls() {
|
|
2235
|
-
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (
|
|
2235
|
+
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Ot().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Ot().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ot().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ot().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
2236
2236
|
}
|
|
2237
2237
|
const bt = {
|
|
2238
2238
|
FALLBACK_TO_ROOT: Nr,
|
|
@@ -2379,7 +2379,7 @@ function Zn(e = {}) {
|
|
|
2379
2379
|
// prettier-ignore
|
|
2380
2380
|
t && r ? t.fallbackLocale.value : M(e.fallbackLocale) || he(e.fallbackLocale) || ae(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s.value
|
|
2381
2381
|
), g = o(Xn(s.value, e)), E = o(ae(e.datetimeFormats) ? e.datetimeFormats : { [s.value]: {} }), C = o(ae(e.numberFormats) ? e.numberFormats : { [s.value]: {} });
|
|
2382
|
-
let f = t ? t.missingWarn : de(e.missingWarn) || Wt(e.missingWarn) ? e.missingWarn : !0,
|
|
2382
|
+
let f = t ? t.missingWarn : de(e.missingWarn) || Wt(e.missingWarn) ? e.missingWarn : !0, O = t ? t.fallbackWarn : de(e.fallbackWarn) || Wt(e.fallbackWarn) ? e.fallbackWarn : !0, k = t ? t.fallbackRoot : de(e.fallbackRoot) ? e.fallbackRoot : !0, L = !!e.fallbackFormat, w = ge(e.missing) ? e.missing : null, m = ge(e.missing) ? Pa(e.missing) : null, A = ge(e.postTranslation) ? e.postTranslation : null, p = t ? t.warnHtmlMessage : de(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, _ = !!e.escapeParameter;
|
|
2383
2383
|
const h = t ? t.modifiers : ae(e.modifiers) ? e.modifiers : {};
|
|
2384
2384
|
let F = e.pluralRules || t && t.pluralRules, y;
|
|
2385
2385
|
y = (() => {
|
|
@@ -2393,8 +2393,8 @@ function Zn(e = {}) {
|
|
|
2393
2393
|
pluralRules: F,
|
|
2394
2394
|
missing: m === null ? void 0 : m,
|
|
2395
2395
|
missingWarn: f,
|
|
2396
|
-
fallbackWarn:
|
|
2397
|
-
fallbackFormat:
|
|
2396
|
+
fallbackWarn: O,
|
|
2397
|
+
fallbackFormat: L,
|
|
2398
2398
|
unresolving: !0,
|
|
2399
2399
|
postTranslation: A === null ? void 0 : A,
|
|
2400
2400
|
warnHtmlMessage: p,
|
|
@@ -2416,17 +2416,17 @@ function Zn(e = {}) {
|
|
|
2416
2416
|
C.value
|
|
2417
2417
|
];
|
|
2418
2418
|
}
|
|
2419
|
-
const $ =
|
|
2419
|
+
const $ = vt({
|
|
2420
2420
|
get: () => s.value,
|
|
2421
2421
|
set: (N) => {
|
|
2422
2422
|
s.value = N, y.locale = s.value;
|
|
2423
2423
|
}
|
|
2424
|
-
}), H =
|
|
2424
|
+
}), H = vt({
|
|
2425
2425
|
get: () => i.value,
|
|
2426
2426
|
set: (N) => {
|
|
2427
2427
|
i.value = N, y.fallbackLocale = i.value, $t(y, s.value, N);
|
|
2428
2428
|
}
|
|
2429
|
-
}), te =
|
|
2429
|
+
}), te = vt(() => g.value), ye = /* @__PURE__ */ vt(() => E.value), ce = /* @__PURE__ */ vt(() => C.value);
|
|
2430
2430
|
function Re() {
|
|
2431
2431
|
return ge(A) ? A : null;
|
|
2432
2432
|
}
|
|
@@ -2453,7 +2453,7 @@ function Zn(e = {}) {
|
|
|
2453
2453
|
if (ie !== "translate exists" && // for not `te` (e.g `t`)
|
|
2454
2454
|
Te(_t) && _t === En || ie === "translate exists" && !_t) {
|
|
2455
2455
|
const [st, Tn] = P();
|
|
2456
|
-
if (process.env.NODE_ENV !== "production" && t && M(st) && rt(ie, Tn) && (k && (hn(
|
|
2456
|
+
if (process.env.NODE_ENV !== "production" && t && M(st) && rt(ie, Tn) && (k && (hn(O, st) || _l(f, st)) && ft(yn(bt.FALLBACK_TO_ROOT, {
|
|
2457
2457
|
key: st,
|
|
2458
2458
|
type: ie
|
|
2459
2459
|
})), process.env.NODE_ENV !== "production")) {
|
|
@@ -2473,7 +2473,7 @@ function Zn(e = {}) {
|
|
|
2473
2473
|
}
|
|
2474
2474
|
};
|
|
2475
2475
|
function Ge(...N) {
|
|
2476
|
-
return Me((P) => Reflect.apply(
|
|
2476
|
+
return Me((P) => Reflect.apply(Oa, null, [P, ...N]), () => Fn(...N), "translate", (P) => Reflect.apply(P.t, P, [...N]), (P) => P, (P) => M(P));
|
|
2477
2477
|
}
|
|
2478
2478
|
function qe(...N) {
|
|
2479
2479
|
const [P, ie, Ee] = N;
|
|
@@ -2500,7 +2500,7 @@ function Zn(e = {}) {
|
|
|
2500
2500
|
let ie;
|
|
2501
2501
|
const Ee = P;
|
|
2502
2502
|
try {
|
|
2503
|
-
Ee.processor = jt, ie = Reflect.apply(
|
|
2503
|
+
Ee.processor = jt, ie = Reflect.apply(Oa, null, [Ee, ...N]);
|
|
2504
2504
|
} finally {
|
|
2505
2505
|
Ee.processor = null;
|
|
2506
2506
|
}
|
|
@@ -2613,10 +2613,10 @@ function Zn(e = {}) {
|
|
|
2613
2613
|
f = N, y.missingWarn = f;
|
|
2614
2614
|
},
|
|
2615
2615
|
get fallbackWarn() {
|
|
2616
|
-
return
|
|
2616
|
+
return O;
|
|
2617
2617
|
},
|
|
2618
2618
|
set fallbackWarn(N) {
|
|
2619
|
-
|
|
2619
|
+
O = N, y.fallbackWarn = O;
|
|
2620
2620
|
},
|
|
2621
2621
|
get fallbackRoot() {
|
|
2622
2622
|
return k;
|
|
@@ -2625,10 +2625,10 @@ function Zn(e = {}) {
|
|
|
2625
2625
|
k = N;
|
|
2626
2626
|
},
|
|
2627
2627
|
get fallbackFormat() {
|
|
2628
|
-
return
|
|
2628
|
+
return L;
|
|
2629
2629
|
},
|
|
2630
2630
|
set fallbackFormat(N) {
|
|
2631
|
-
|
|
2631
|
+
L = N, y.fallbackFormat = L;
|
|
2632
2632
|
},
|
|
2633
2633
|
get warnHtmlMessage() {
|
|
2634
2634
|
return p;
|
|
@@ -2658,7 +2658,7 @@ function Zn(e = {}) {
|
|
|
2658
2658
|
y.__v_emitter = void 0;
|
|
2659
2659
|
}), oe;
|
|
2660
2660
|
}
|
|
2661
|
-
const
|
|
2661
|
+
const vl = "vue-i18n: composer properties", Ln = {
|
|
2662
2662
|
"vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
|
|
2663
2663
|
"vue-i18n-resource-inspector": "Vue I18n DevTools",
|
|
2664
2664
|
"vue-i18n-timeline": "Vue I18n"
|
|
@@ -2673,11 +2673,11 @@ async function ds(e, t) {
|
|
|
2673
2673
|
try {
|
|
2674
2674
|
ns({
|
|
2675
2675
|
id: "vue-devtools-plugin-vue-i18n",
|
|
2676
|
-
label:
|
|
2676
|
+
label: Ln["vue-devtools-plugin-vue-i18n"],
|
|
2677
2677
|
packageName: "vue-i18n",
|
|
2678
2678
|
homepage: "https://vue-i18n.intlify.dev",
|
|
2679
2679
|
logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
|
|
2680
|
-
componentStateTypes: [
|
|
2680
|
+
componentStateTypes: [vl],
|
|
2681
2681
|
app: e
|
|
2682
2682
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
2683
2683
|
}, (l) => {
|
|
@@ -2687,7 +2687,7 @@ async function ds(e, t) {
|
|
|
2687
2687
|
r.vnode.el && r.vnode.el.__VUE_I18N__ && s && (t.mode === "legacy" ? r.vnode.el.__VUE_I18N__ !== t.global.__composer && Ua(s, r.vnode.el.__VUE_I18N__) : Ua(s, r.vnode.el.__VUE_I18N__));
|
|
2688
2688
|
}), l.addInspector({
|
|
2689
2689
|
id: "vue-i18n-resource-inspector",
|
|
2690
|
-
label:
|
|
2690
|
+
label: Ln["vue-i18n-resource-inspector"],
|
|
2691
2691
|
icon: "language",
|
|
2692
2692
|
treeFilterPlaceholder: us["vue-i18n-resource-inspector"]
|
|
2693
2693
|
}), l.on.getInspectorTree((r) => {
|
|
@@ -2710,7 +2710,7 @@ async function ds(e, t) {
|
|
|
2710
2710
|
r.app === e && r.inspectorId === "vue-i18n-resource-inspector" && ys(r, t);
|
|
2711
2711
|
}), l.addTimelineLayer({
|
|
2712
2712
|
id: "vue-i18n-timeline",
|
|
2713
|
-
label:
|
|
2713
|
+
label: Ln["vue-i18n-timeline"],
|
|
2714
2714
|
color: cs["vue-i18n-timeline"]
|
|
2715
2715
|
}), n(!0);
|
|
2716
2716
|
});
|
|
@@ -2719,14 +2719,14 @@ async function ds(e, t) {
|
|
|
2719
2719
|
}
|
|
2720
2720
|
});
|
|
2721
2721
|
}
|
|
2722
|
-
function
|
|
2722
|
+
function Ll(e) {
|
|
2723
2723
|
return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
|
|
2724
2724
|
}
|
|
2725
2725
|
function fs(e, t, n) {
|
|
2726
2726
|
const a = n.mode === "composition" ? n.global : n.global.__composer;
|
|
2727
2727
|
if (e && e.vnode.el && e.vnode.el.__VUE_I18N__ && e.vnode.el.__VUE_I18N__ !== a) {
|
|
2728
2728
|
const l = {
|
|
2729
|
-
label: `i18n (${
|
|
2729
|
+
label: `i18n (${Ll(e)} Scope)`,
|
|
2730
2730
|
textColor: 0,
|
|
2731
2731
|
backgroundColor: 16764185
|
|
2732
2732
|
};
|
|
@@ -2734,7 +2734,7 @@ function fs(e, t, n) {
|
|
|
2734
2734
|
}
|
|
2735
2735
|
}
|
|
2736
2736
|
function Ua(e, t) {
|
|
2737
|
-
const n =
|
|
2737
|
+
const n = vl;
|
|
2738
2738
|
e.state.push({
|
|
2739
2739
|
type: n,
|
|
2740
2740
|
key: "locale",
|
|
@@ -2809,7 +2809,7 @@ function As(e, t) {
|
|
|
2809
2809
|
const o = t.mode === "composition" ? l : l.__composer;
|
|
2810
2810
|
n !== o && e.rootNodes.push({
|
|
2811
2811
|
id: o.id.toString(),
|
|
2812
|
-
label: `${
|
|
2812
|
+
label: `${Ll(a)} Scope`
|
|
2813
2813
|
});
|
|
2814
2814
|
}
|
|
2815
2815
|
}
|
|
@@ -2824,7 +2824,7 @@ function bs(e, t) {
|
|
|
2824
2824
|
}
|
|
2825
2825
|
return n;
|
|
2826
2826
|
}
|
|
2827
|
-
function
|
|
2827
|
+
function Ol(e, t) {
|
|
2828
2828
|
if (e === "global")
|
|
2829
2829
|
return t.mode === "composition" ? t.global : t.global.__composer;
|
|
2830
2830
|
{
|
|
@@ -2833,7 +2833,7 @@ function vl(e, t) {
|
|
|
2833
2833
|
}
|
|
2834
2834
|
}
|
|
2835
2835
|
function Es(e, t) {
|
|
2836
|
-
const n =
|
|
2836
|
+
const n = Ol(e.nodeId, t);
|
|
2837
2837
|
return n && (e.state = hs(n)), null;
|
|
2838
2838
|
}
|
|
2839
2839
|
function hs(e) {
|
|
@@ -2912,14 +2912,14 @@ function an(e, t) {
|
|
|
2912
2912
|
}
|
|
2913
2913
|
}
|
|
2914
2914
|
function ys(e, t) {
|
|
2915
|
-
const n =
|
|
2915
|
+
const n = Ol(e.nodeId, t);
|
|
2916
2916
|
if (n) {
|
|
2917
2917
|
const [a] = e.path;
|
|
2918
2918
|
a === "locale" && M(e.state.value) ? n.locale.value = e.state.value : a === "fallbackLocale" && (M(e.state.value) || he(e.state.value) || ue(e.state.value)) ? n.fallbackLocale.value = e.state.value : a === "inheritLocale" && de(e.state.value) && (n.inheritLocale = e.state.value);
|
|
2919
2919
|
}
|
|
2920
2920
|
}
|
|
2921
2921
|
function Cs(e) {
|
|
2922
|
-
const t = M(e.locale) ? e.locale : en, n = M(e.fallbackLocale) || he(e.fallbackLocale) || ae(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, a = ge(e.missing) ? e.missing : void 0, l = de(e.silentTranslationWarn) || Wt(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, o = de(e.silentFallbackWarn) || Wt(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, r = de(e.fallbackRoot) ? e.fallbackRoot : !0, s = !!e.formatFallbackMessages, i = ae(e.modifiers) ? e.modifiers : {}, g = e.pluralizationRules, E = ge(e.postTranslation) ? e.postTranslation : void 0, C = M(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, f = !!e.escapeParameterHtml,
|
|
2922
|
+
const t = M(e.locale) ? e.locale : en, n = M(e.fallbackLocale) || he(e.fallbackLocale) || ae(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, a = ge(e.missing) ? e.missing : void 0, l = de(e.silentTranslationWarn) || Wt(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, o = de(e.silentFallbackWarn) || Wt(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, r = de(e.fallbackRoot) ? e.fallbackRoot : !0, s = !!e.formatFallbackMessages, i = ae(e.modifiers) ? e.modifiers : {}, g = e.pluralizationRules, E = ge(e.postTranslation) ? e.postTranslation : void 0, C = M(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, f = !!e.escapeParameterHtml, O = de(e.sync) ? e.sync : !0;
|
|
2923
2923
|
let k = e.messages;
|
|
2924
2924
|
if (ae(e.sharedMessages)) {
|
|
2925
2925
|
const h = e.sharedMessages;
|
|
@@ -2928,7 +2928,7 @@ function Cs(e) {
|
|
|
2928
2928
|
return Se(D, h[I]), y;
|
|
2929
2929
|
}, k || {});
|
|
2930
2930
|
}
|
|
2931
|
-
const { __i18n:
|
|
2931
|
+
const { __i18n: L, __root: w, __injectWithOption: m } = e, A = e.datetimeFormats, p = e.numberFormats, _ = e.flatJson;
|
|
2932
2932
|
return {
|
|
2933
2933
|
locale: t,
|
|
2934
2934
|
fallbackLocale: n,
|
|
@@ -2947,8 +2947,8 @@ function Cs(e) {
|
|
|
2947
2947
|
warnHtmlMessage: C,
|
|
2948
2948
|
escapeParameter: f,
|
|
2949
2949
|
messageResolver: e.messageResolver,
|
|
2950
|
-
inheritLocale:
|
|
2951
|
-
__i18n:
|
|
2950
|
+
inheritLocale: O,
|
|
2951
|
+
__i18n: L,
|
|
2952
2952
|
__root: w,
|
|
2953
2953
|
__injectWithOption: m
|
|
2954
2954
|
};
|
|
@@ -3215,14 +3215,14 @@ function Ns({ slots: e }, t) {
|
|
|
3215
3215
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((a, l) => [
|
|
3216
3216
|
...a,
|
|
3217
3217
|
// prettier-ignore
|
|
3218
|
-
...l.type ===
|
|
3218
|
+
...l.type === Oe ? l.children : [l]
|
|
3219
3219
|
], []) : t.reduce((n, a) => {
|
|
3220
3220
|
const l = e[a];
|
|
3221
3221
|
return l && (n[a] = l()), n;
|
|
3222
3222
|
}, fe());
|
|
3223
3223
|
}
|
|
3224
3224
|
function wl() {
|
|
3225
|
-
return
|
|
3225
|
+
return Oe;
|
|
3226
3226
|
}
|
|
3227
3227
|
const ks = /* @__PURE__ */ Et({
|
|
3228
3228
|
/* eslint-disable */
|
|
@@ -3260,12 +3260,12 @@ function Dl(e, t, n, a) {
|
|
|
3260
3260
|
return () => {
|
|
3261
3261
|
const r = { part: !0 };
|
|
3262
3262
|
let s = fe();
|
|
3263
|
-
e.locale && (r.locale = e.locale), M(e.format) ? r.key = e.format : ue(e.format) && (M(e.format.key) && (r.key = e.format.key), s = Object.keys(e.format).reduce((f,
|
|
3263
|
+
e.locale && (r.locale = e.locale), M(e.format) ? r.key = e.format : ue(e.format) && (M(e.format.key) && (r.key = e.format.key), s = Object.keys(e.format).reduce((f, O) => n.includes(O) ? Se(fe(), f, { [O]: e.format[O] }) : f, fe()));
|
|
3264
3264
|
const i = a(e.value, r, s);
|
|
3265
3265
|
let g = [r.key];
|
|
3266
|
-
he(i) ? g = i.map((f,
|
|
3267
|
-
const k = l[f.type],
|
|
3268
|
-
return Is(
|
|
3266
|
+
he(i) ? g = i.map((f, O) => {
|
|
3267
|
+
const k = l[f.type], L = k ? k({ [f.type]: f.value, index: O, parts: i }) : [f.value];
|
|
3268
|
+
return Is(L) && (L[0].key = `${f.type}-${O}`), L;
|
|
3269
3269
|
}) : M(i) && (g = [i]);
|
|
3270
3270
|
const E = Se(fe(), o), C = M(e.tag) || ue(e.tag) ? e.tag : wl();
|
|
3271
3271
|
return Ja(C, E, g);
|
|
@@ -3295,7 +3295,7 @@ const Ss = /* @__PURE__ */ Et({
|
|
|
3295
3295
|
n[Bn](...a)
|
|
3296
3296
|
));
|
|
3297
3297
|
}
|
|
3298
|
-
}), xa = Ss,
|
|
3298
|
+
}), xa = Ss, vs = /* @__PURE__ */ Et({
|
|
3299
3299
|
/* eslint-disable */
|
|
3300
3300
|
name: "i18n-d",
|
|
3301
3301
|
props: Se({
|
|
@@ -3319,8 +3319,8 @@ const Ss = /* @__PURE__ */ Et({
|
|
|
3319
3319
|
n[Mn](...a)
|
|
3320
3320
|
));
|
|
3321
3321
|
}
|
|
3322
|
-
}), Va =
|
|
3323
|
-
function
|
|
3322
|
+
}), Va = vs;
|
|
3323
|
+
function Ls(e, t) {
|
|
3324
3324
|
const n = e;
|
|
3325
3325
|
if (e.mode === "composition")
|
|
3326
3326
|
return n.__getInstance(t) || e.global;
|
|
@@ -3329,12 +3329,12 @@ function Os(e, t) {
|
|
|
3329
3329
|
return a != null ? a.__composer : e.global.__composer;
|
|
3330
3330
|
}
|
|
3331
3331
|
}
|
|
3332
|
-
function
|
|
3332
|
+
function Os(e) {
|
|
3333
3333
|
const t = (r) => {
|
|
3334
3334
|
const { instance: s, value: i } = r;
|
|
3335
3335
|
if (!s || !s.$)
|
|
3336
3336
|
throw Ue(pe.UNEXPECTED_ERROR);
|
|
3337
|
-
const g =
|
|
3337
|
+
const g = Ls(e, s.$), E = Qa(i);
|
|
3338
3338
|
return [
|
|
3339
3339
|
Reflect.apply(g.t, g, [...Wa(E)]),
|
|
3340
3340
|
g
|
|
@@ -3380,7 +3380,7 @@ function Wa(e) {
|
|
|
3380
3380
|
}
|
|
3381
3381
|
function ws(e, t, ...n) {
|
|
3382
3382
|
const a = ae(n[0]) ? n[0] : {};
|
|
3383
|
-
(de(a.globalInstall) ? a.globalInstall : !0) && ([Ba.name, "I18nT"].forEach((o) => e.component(o, Ba)), [xa.name, "I18nN"].forEach((o) => e.component(o, xa)), [Va.name, "I18nD"].forEach((o) => e.component(o, Va))), e.directive("t",
|
|
3383
|
+
(de(a.globalInstall) ? a.globalInstall : !0) && ([Ba.name, "I18nT"].forEach((o) => e.component(o, Ba)), [xa.name, "I18nN"].forEach((o) => e.component(o, xa)), [Va.name, "I18nD"].forEach((o) => e.component(o, Va))), e.directive("t", Os(t));
|
|
3384
3384
|
}
|
|
3385
3385
|
const Ds = /* @__PURE__ */ ot("global-vue-i18n");
|
|
3386
3386
|
function Rl(e = {}, t) {
|
|
@@ -3388,8 +3388,8 @@ function Rl(e = {}, t) {
|
|
|
3388
3388
|
function i(f) {
|
|
3389
3389
|
return l.get(f) || null;
|
|
3390
3390
|
}
|
|
3391
|
-
function g(f,
|
|
3392
|
-
l.set(f,
|
|
3391
|
+
function g(f, O) {
|
|
3392
|
+
l.set(f, O);
|
|
3393
3393
|
}
|
|
3394
3394
|
function E(f) {
|
|
3395
3395
|
l.delete(f);
|
|
@@ -3400,16 +3400,16 @@ function Rl(e = {}, t) {
|
|
|
3400
3400
|
return __VUE_I18N_LEGACY_API__ && n ? "legacy" : "composition";
|
|
3401
3401
|
},
|
|
3402
3402
|
// install plugin
|
|
3403
|
-
async install(f, ...
|
|
3404
|
-
if (process.env.NODE_ENV !== "production" && (f.__VUE_I18N__ = C), f.__VUE_I18N_SYMBOL__ = s, f.provide(f.__VUE_I18N_SYMBOL__, C), ae(
|
|
3405
|
-
const w =
|
|
3403
|
+
async install(f, ...O) {
|
|
3404
|
+
if (process.env.NODE_ENV !== "production" && (f.__VUE_I18N__ = C), f.__VUE_I18N_SYMBOL__ = s, f.provide(f.__VUE_I18N_SYMBOL__, C), ae(O[0])) {
|
|
3405
|
+
const w = O[0];
|
|
3406
3406
|
C.__composerExtend = w.__composerExtend, C.__vueI18nExtend = w.__vueI18nExtend;
|
|
3407
3407
|
}
|
|
3408
3408
|
let k = null;
|
|
3409
|
-
!n && a && (k = Qs(f, C.global)), __VUE_I18N_FULL_INSTALL__ && ws(f, C, ...
|
|
3410
|
-
const
|
|
3409
|
+
!n && a && (k = Qs(f, C.global)), __VUE_I18N_FULL_INSTALL__ && ws(f, C, ...O), __VUE_I18N_LEGACY_API__ && n && f.mixin(Ts(r, r.__composer, C));
|
|
3410
|
+
const L = f.unmount;
|
|
3411
3411
|
if (f.unmount = () => {
|
|
3412
|
-
k && k(), C.dispose(),
|
|
3412
|
+
k && k(), C.dispose(), L();
|
|
3413
3413
|
}, process.env.NODE_ENV !== "production") {
|
|
3414
3414
|
if (!await ds(f, C))
|
|
3415
3415
|
throw Ue(pe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
|
|
@@ -3528,7 +3528,7 @@ function Qs(e, t) {
|
|
|
3528
3528
|
const o = Object.getOwnPropertyDescriptor(t, l);
|
|
3529
3529
|
if (!o)
|
|
3530
3530
|
throw Ue(pe.UNEXPECTED_ERROR);
|
|
3531
|
-
const r =
|
|
3531
|
+
const r = Lt(o.value) ? {
|
|
3532
3532
|
get() {
|
|
3533
3533
|
return o.value.value;
|
|
3534
3534
|
},
|
|
@@ -3554,18 +3554,18 @@ function Qs(e, t) {
|
|
|
3554
3554
|
};
|
|
3555
3555
|
}
|
|
3556
3556
|
ls();
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3557
|
+
vr(rr);
|
|
3558
|
+
Lr(Tr);
|
|
3559
|
+
Or(cl);
|
|
3560
3560
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
3561
|
-
const e =
|
|
3561
|
+
const e = Ot();
|
|
3562
3562
|
e.__INTLIFY__ = !0, sr(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
3563
3563
|
}
|
|
3564
3564
|
process.env.NODE_ENV;
|
|
3565
3565
|
const Fl = "3.7.8", Ws = Fl, Kt = typeof Buffer == "function", Ya = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Ka = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Hs = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Jt = Array.prototype.slice.call(Hs), cn = ((e) => {
|
|
3566
3566
|
let t = {};
|
|
3567
3567
|
return e.forEach((n, a) => t[n] = a), t;
|
|
3568
|
-
})(Jt), Ys = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,
|
|
3568
|
+
})(Jt), Ys = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String), ja = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), Pl = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" : "_"), Ul = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), Ml = (e) => {
|
|
3569
3569
|
let t, n, a, l, o = "";
|
|
3570
3570
|
const r = e.length % 3;
|
|
3571
3571
|
for (let s = 0; s < e.length; ) {
|
|
@@ -3577,25 +3577,25 @@ const Fl = "3.7.8", Ws = Fl, Kt = typeof Buffer == "function", Ya = typeof TextD
|
|
|
3577
3577
|
}, ta = typeof btoa == "function" ? (e) => btoa(e) : Kt ? (e) => Buffer.from(e, "binary").toString("base64") : Ml, Wn = Kt ? (e) => Buffer.from(e).toString("base64") : (e) => {
|
|
3578
3578
|
let n = [];
|
|
3579
3579
|
for (let a = 0, l = e.length; a < l; a += 4096)
|
|
3580
|
-
n.push(
|
|
3580
|
+
n.push(Le.apply(null, e.subarray(a, a + 4096)));
|
|
3581
3581
|
return ta(n.join(""));
|
|
3582
3582
|
}, mn = (e, t = !1) => t ? Pl(Wn(e)) : Wn(e), Ks = (e) => {
|
|
3583
3583
|
if (e.length < 2) {
|
|
3584
3584
|
var t = e.charCodeAt(0);
|
|
3585
|
-
return t < 128 ? e : t < 2048 ?
|
|
3585
|
+
return t < 128 ? e : t < 2048 ? Le(192 | t >>> 6) + Le(128 | t & 63) : Le(224 | t >>> 12 & 15) + Le(128 | t >>> 6 & 63) + Le(128 | t & 63);
|
|
3586
3586
|
} else {
|
|
3587
3587
|
var t = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
|
|
3588
|
-
return
|
|
3588
|
+
return Le(240 | t >>> 18 & 7) + Le(128 | t >>> 12 & 63) + Le(128 | t >>> 6 & 63) + Le(128 | t & 63);
|
|
3589
3589
|
}
|
|
3590
3590
|
}, js = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, Bl = (e) => e.replace(js, Ks), Ga = Kt ? (e) => Buffer.from(e, "utf8").toString("base64") : Ka ? (e) => Wn(Ka.encode(e)) : (e) => ta(Bl(e)), xt = (e, t = !1) => t ? Pl(Ga(e)) : Ga(e), qa = (e) => xt(e, !0), Gs = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, qs = (e) => {
|
|
3591
3591
|
switch (e.length) {
|
|
3592
3592
|
case 4:
|
|
3593
3593
|
var t = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), n = t - 65536;
|
|
3594
|
-
return
|
|
3594
|
+
return Le((n >>> 10) + 55296) + Le((n & 1023) + 56320);
|
|
3595
3595
|
case 3:
|
|
3596
|
-
return
|
|
3596
|
+
return Le((15 & e.charCodeAt(0)) << 12 | (63 & e.charCodeAt(1)) << 6 | 63 & e.charCodeAt(2));
|
|
3597
3597
|
default:
|
|
3598
|
-
return
|
|
3598
|
+
return Le((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
|
|
3599
3599
|
}
|
|
3600
3600
|
}, xl = (e) => e.replace(Gs, qs), Vl = (e) => {
|
|
3601
3601
|
if (e = e.replace(/\s+/g, ""), !Ys.test(e))
|
|
@@ -3603,7 +3603,7 @@ const Fl = "3.7.8", Ws = Fl, Kt = typeof Buffer == "function", Ya = typeof TextD
|
|
|
3603
3603
|
e += "==".slice(2 - (e.length & 3));
|
|
3604
3604
|
let t, n, a, l = [];
|
|
3605
3605
|
for (let o = 0; o < e.length; )
|
|
3606
|
-
t = cn[e.charAt(o++)] << 18 | cn[e.charAt(o++)] << 12 | (n = cn[e.charAt(o++)]) << 6 | (a = cn[e.charAt(o++)]), n === 64 ? l.push(
|
|
3606
|
+
t = cn[e.charAt(o++)] << 18 | cn[e.charAt(o++)] << 12 | (n = cn[e.charAt(o++)]) << 6 | (a = cn[e.charAt(o++)]), n === 64 ? l.push(Le(t >> 16 & 255)) : a === 64 ? l.push(Le(t >> 16 & 255, t >> 8 & 255)) : l.push(Le(t >> 16 & 255, t >> 8 & 255, t & 255));
|
|
3607
3607
|
return l.join("");
|
|
3608
3608
|
}, na = typeof atob == "function" ? (e) => atob(Ul(e)) : Kt ? (e) => Buffer.from(e, "base64").toString("binary") : Vl, Ql = Kt ? (e) => ja(Buffer.from(e, "base64")) : (e) => ja(na(e).split("").map((t) => t.charCodeAt(0))), Wl = (e) => Ql(Hl(e)), $s = Kt ? (e) => Buffer.from(e, "base64").toString("utf8") : Ya ? (e) => Ya.decode(Ql(e)) : (e) => xl(na(e)), Hl = (e) => Ul(e.replace(/[-_]/g, (t) => t == "-" ? "+" : "/")), Hn = (e) => $s(Hl(e)), Js = (e) => {
|
|
3609
3609
|
if (typeof e != "string")
|
|
@@ -3734,10 +3734,10 @@ const Fl = "3.7.8", Ws = Fl, Kt = typeof Buffer == "function", Ya = typeof TextD
|
|
|
3734
3734
|
try {
|
|
3735
3735
|
const g = decodeURI(s.headers["content-disposition"]);
|
|
3736
3736
|
let E = i || g.split("filename*=utf-8")[1];
|
|
3737
|
-
const C = E.substring(E.lastIndexOf(".") + 1), f = new Blob([s.data], { type: ai[C] ?? "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }), k = (window.URL || window.webkitURL).createObjectURL(f),
|
|
3738
|
-
|
|
3737
|
+
const C = E.substring(E.lastIndexOf(".") + 1), f = new Blob([s.data], { type: ai[C] ?? "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }), k = (window.URL || window.webkitURL).createObjectURL(f), L = document.createElement("a");
|
|
3738
|
+
L.setAttribute("href", k);
|
|
3739
3739
|
const w = E.lastIndexOf(".");
|
|
3740
|
-
E = `${E.slice(0, w)}_${Qe().format("YYYYMMDD") + E.slice(w)}`,
|
|
3740
|
+
E = `${E.slice(0, w)}_${Qe().format("YYYYMMDD") + E.slice(w)}`, L.setAttribute("download", E), document.body.appendChild(L), L.click(), document.body.removeChild(L), window.URL.revokeObjectURL(k);
|
|
3741
3741
|
} catch (g) {
|
|
3742
3742
|
console.error(g);
|
|
3743
3743
|
}
|
|
@@ -3763,13 +3763,13 @@ const Fl = "3.7.8", Ws = Fl, Kt = typeof Buffer == "function", Ya = typeof TextD
|
|
|
3763
3763
|
const C = E.lastIndexOf(".");
|
|
3764
3764
|
E = `${E.slice(0, C)}_${Date.now() + E.slice(C)}`;
|
|
3765
3765
|
const f = E.includes(".") ? E.split(".").pop().toLowerCase() : "";
|
|
3766
|
-
s({ url: i, method: "GET", responseType: "blob" }).then((
|
|
3767
|
-
let k =
|
|
3766
|
+
s({ url: i, method: "GET", responseType: "blob" }).then((O) => {
|
|
3767
|
+
let k = O.data;
|
|
3768
3768
|
if (k.type === "application/json" && f !== "json") {
|
|
3769
|
-
const
|
|
3770
|
-
|
|
3769
|
+
const L = new FileReader();
|
|
3770
|
+
L.readAsText(k, "utf-8"), L.onload = function() {
|
|
3771
3771
|
try {
|
|
3772
|
-
const w = JSON.parse(
|
|
3772
|
+
const w = JSON.parse(L.result);
|
|
3773
3773
|
if (w.code && w.code !== 200 && w.code !== 0) {
|
|
3774
3774
|
Fe.error({
|
|
3775
3775
|
title: "错误",
|
|
@@ -3927,18 +3927,18 @@ const pi = {
|
|
|
3927
3927
|
emits: ["changeSelection", "onClickRow", "changeExpansionRow", "refresh", "load", "operate", "beforeOperate"],
|
|
3928
3928
|
setup(e, { expose: t, emit: n }) {
|
|
3929
3929
|
const a = ut({
|
|
3930
|
-
loader: () => import("./index-
|
|
3930
|
+
loader: () => import("./index-86b814b7.js"),
|
|
3931
3931
|
loadingComponent: dn,
|
|
3932
3932
|
delay: 20
|
|
3933
3933
|
}), l = ut({
|
|
3934
|
-
loader: () => import("./index-
|
|
3934
|
+
loader: () => import("./index-405a9f10.js"),
|
|
3935
3935
|
loadingComponent: dn,
|
|
3936
3936
|
delay: 20
|
|
3937
3937
|
}), o = ut({
|
|
3938
|
-
loader: () => import("./index-
|
|
3938
|
+
loader: () => import("./index-86f94529.js"),
|
|
3939
3939
|
loadingComponent: dn,
|
|
3940
3940
|
delay: 20
|
|
3941
|
-
}), r = ut(() => import("./index-
|
|
3941
|
+
}), r = ut(() => import("./index-8c8baa73.js")), s = ut(() => import("./index-87a4732a.js")), { t: i } = Cn(), g = we("actModules"), E = we("apiPrefix"), C = we("request"), f = we("themeColor"), O = we("cacheTokenType"), k = we("storage"), L = we("menuAuthButtons"), w = _n(), m = Za(), A = n, p = e, _ = () => ({
|
|
3942
3942
|
pageLoading: !1,
|
|
3943
3943
|
tableLoading: !1,
|
|
3944
3944
|
tableTotal: 0,
|
|
@@ -4064,7 +4064,7 @@ const pi = {
|
|
|
4064
4064
|
return V;
|
|
4065
4065
|
});
|
|
4066
4066
|
}
|
|
4067
|
-
const oe = (u, b = {}) => u ?
|
|
4067
|
+
const oe = (u, b = {}) => u ? be(u, { ...p.matchData, scopeData: b }) : "", N = (u, b, V) => {
|
|
4068
4068
|
switch (u) {
|
|
4069
4069
|
case "LessThanOrEqual":
|
|
4070
4070
|
return b <= V;
|
|
@@ -4144,7 +4144,7 @@ const pi = {
|
|
|
4144
4144
|
} catch (Q) {
|
|
4145
4145
|
console.error(Q);
|
|
4146
4146
|
}
|
|
4147
|
-
}, gt =
|
|
4147
|
+
}, gt = vt(() => {
|
|
4148
4148
|
const {
|
|
4149
4149
|
tableConfig: { tableMoreBtnSplitNumber: u }
|
|
4150
4150
|
} = I;
|
|
@@ -4274,11 +4274,11 @@ const pi = {
|
|
|
4274
4274
|
await R(), await d(), await nt(I.fields.filter((G) => G.useScenes.some((U) => ["tableSearch", "tableShow"].includes(U)))), F.value = "success";
|
|
4275
4275
|
let V = "";
|
|
4276
4276
|
const j = k.getPrefix();
|
|
4277
|
-
|
|
4277
|
+
O === "sessionStorage" ? V = j ? k.getItemValue(`${j}accessToken`) : sessionStorage.getItem("accessToken") : V = k.getItemValue(`${j}accessToken`);
|
|
4278
4278
|
const K = JSON.parse(Zs.decode(V.split(".")[1]))["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"];
|
|
4279
|
-
if (
|
|
4279
|
+
if (L || p.menuId) {
|
|
4280
4280
|
const G = p.menuId;
|
|
4281
|
-
y.value = await
|
|
4281
|
+
y.value = await L({ roleId: K, menuId: G }) || [];
|
|
4282
4282
|
} else
|
|
4283
4283
|
y.value = (await qe({ roleId: K, key: u })).data.datas || [];
|
|
4284
4284
|
ln(), Tn(I.fields), Tt(), D = aa(), (!Reflect.has(I.tableConfig, "isExecuteImmediatelyTableApi") || I.tableConfig.isExecuteImmediatelyTableApi) && await $e(D), A("load"), console.log(I);
|
|
@@ -4323,7 +4323,13 @@ const pi = {
|
|
|
4323
4323
|
return;
|
|
4324
4324
|
}
|
|
4325
4325
|
const U = `${u.customComponentName}-${u.permissionCode}`;
|
|
4326
|
-
Re.value[U] && Re.value[U].onTigger({
|
|
4326
|
+
Re.value[U] && Re.value[U].onTigger({
|
|
4327
|
+
rowData: b,
|
|
4328
|
+
dataItem: u,
|
|
4329
|
+
tableSelection: h.tableSelection,
|
|
4330
|
+
globalProps: p,
|
|
4331
|
+
tableData: te.value
|
|
4332
|
+
});
|
|
4327
4333
|
return;
|
|
4328
4334
|
}
|
|
4329
4335
|
if (u.submitWay == "associationSubTable") {
|
|
@@ -4538,10 +4544,10 @@ const pi = {
|
|
|
4538
4544
|
ref: re,
|
|
4539
4545
|
shadow: "never"
|
|
4540
4546
|
}, {
|
|
4541
|
-
default:
|
|
4547
|
+
default: v(() => {
|
|
4542
4548
|
var Je, ra;
|
|
4543
4549
|
return [
|
|
4544
|
-
T(F) === "success" ? (Y(), _e(
|
|
4550
|
+
T(F) === "success" ? (Y(), _e(Oe, { key: 0 }, [
|
|
4545
4551
|
S(T(a), {
|
|
4546
4552
|
ref_key: "queryModuleRef",
|
|
4547
4553
|
ref: z,
|
|
@@ -4574,9 +4580,9 @@ const pi = {
|
|
|
4574
4580
|
onChangeExpand: Zl,
|
|
4575
4581
|
onChangeSelection: zl
|
|
4576
4582
|
}, oo({
|
|
4577
|
-
operate:
|
|
4578
|
-
(Y(!0), _e(
|
|
4579
|
-
ie(J, Z.row) ? (Y(), _e(
|
|
4583
|
+
operate: v(({ scope: Z }) => [
|
|
4584
|
+
(Y(!0), _e(Oe, null, Ze(_t(), (J, Xe) => (Y(), _e(Oe, { key: Xe }, [
|
|
4585
|
+
ie(J, Z.row) ? (Y(), _e(Oe, { key: 0 }, [
|
|
4580
4586
|
J.isCustomBtn && J.customType == "component" ? (Y(), se(kn(J[J.customComponentName]), {
|
|
4581
4587
|
key: 0,
|
|
4582
4588
|
ref_for: !0,
|
|
@@ -4586,7 +4592,7 @@ const pi = {
|
|
|
4586
4592
|
onRefresh: $e,
|
|
4587
4593
|
onRefreshTable: pt
|
|
4588
4594
|
}, {
|
|
4589
|
-
default:
|
|
4595
|
+
default: v(() => [
|
|
4590
4596
|
lt((Y(), se(G, {
|
|
4591
4597
|
class: "ml4",
|
|
4592
4598
|
type: "primary",
|
|
@@ -4595,7 +4601,7 @@ const pi = {
|
|
|
4595
4601
|
loading: Z.row[`loading${J.permissionCode}`],
|
|
4596
4602
|
onClick: (St) => on(J, Z.row)
|
|
4597
4603
|
}, {
|
|
4598
|
-
default:
|
|
4604
|
+
default: v(() => [
|
|
4599
4605
|
J.btnIcon && !Z.row[`loading${J.permissionCode}`] ? (Y(), se(K, {
|
|
4600
4606
|
key: 0,
|
|
4601
4607
|
class: "mr2",
|
|
@@ -4604,7 +4610,7 @@ const pi = {
|
|
|
4604
4610
|
height: "12",
|
|
4605
4611
|
color: T(f)
|
|
4606
4612
|
}, null, 8, ["name", "color"])) : We("", !0),
|
|
4607
|
-
|
|
4613
|
+
ve(" " + He(Z.row[`loading${J.permissionCode}`] ? J.btnName + T(i)("act.loading") + "..." : J.btnName), 1)
|
|
4608
4614
|
]),
|
|
4609
4615
|
_: 2
|
|
4610
4616
|
}, 1032, ["loading", "onClick"])), [
|
|
@@ -4621,7 +4627,7 @@ const pi = {
|
|
|
4621
4627
|
loading: Z.row[`loading${J.permissionCode}`],
|
|
4622
4628
|
onClick: (St) => on(J, Z.row)
|
|
4623
4629
|
}, {
|
|
4624
|
-
default:
|
|
4630
|
+
default: v(() => [
|
|
4625
4631
|
J.btnIcon && !Z.row[`loading${J.permissionCode}`] ? (Y(), se(K, {
|
|
4626
4632
|
key: 0,
|
|
4627
4633
|
class: "mr2",
|
|
@@ -4630,7 +4636,7 @@ const pi = {
|
|
|
4630
4636
|
height: "12",
|
|
4631
4637
|
color: T(f)
|
|
4632
4638
|
}, null, 8, ["name", "color"])) : We("", !0),
|
|
4633
|
-
|
|
4639
|
+
ve(" " + He(Z.row[`loading${J.permissionCode}`] ? J.btnName + T(i)("act.loading") + "..." : J.btnName), 1)
|
|
4634
4640
|
]),
|
|
4635
4641
|
_: 2
|
|
4636
4642
|
}, 1032, ["loading", "onClick"])), [
|
|
@@ -4642,15 +4648,15 @@ const pi = {
|
|
|
4642
4648
|
key: 0,
|
|
4643
4649
|
class: "table-opreate-dropdown"
|
|
4644
4650
|
}, {
|
|
4645
|
-
dropdown:
|
|
4651
|
+
dropdown: v(() => [
|
|
4646
4652
|
S(W, null, {
|
|
4647
|
-
default:
|
|
4648
|
-
(Y(!0), _e(
|
|
4653
|
+
default: v(() => [
|
|
4654
|
+
(Y(!0), _e(Oe, null, Ze(st(), (J, Xe) => (Y(), se(U, {
|
|
4649
4655
|
key: Xe,
|
|
4650
4656
|
onClick: (St) => on(J, Z.row)
|
|
4651
4657
|
}, {
|
|
4652
|
-
default:
|
|
4653
|
-
ie(J, Z.row) ? (Y(), _e(
|
|
4658
|
+
default: v(() => [
|
|
4659
|
+
ie(J, Z.row) ? (Y(), _e(Oe, { key: 0 }, [
|
|
4654
4660
|
J.isCustomBtn && J.customType == "component" ? (Y(), se(kn(J[J.customComponentName]), {
|
|
4655
4661
|
key: 0,
|
|
4656
4662
|
ref_for: !0,
|
|
@@ -4659,7 +4665,7 @@ const pi = {
|
|
|
4659
4665
|
scope: Z,
|
|
4660
4666
|
onRefresh: $e
|
|
4661
4667
|
}, {
|
|
4662
|
-
default:
|
|
4668
|
+
default: v(() => [
|
|
4663
4669
|
lt((Y(), se(G, {
|
|
4664
4670
|
class: "ml4",
|
|
4665
4671
|
type: "primary",
|
|
@@ -4667,7 +4673,7 @@ const pi = {
|
|
|
4667
4673
|
size: "small",
|
|
4668
4674
|
loading: Z.row[`loading${J.permissionCode}`]
|
|
4669
4675
|
}, {
|
|
4670
|
-
default:
|
|
4676
|
+
default: v(() => [
|
|
4671
4677
|
J.btnIcon && !Z.row[`loading${J.permissionCode}`] ? (Y(), se(K, {
|
|
4672
4678
|
key: 0,
|
|
4673
4679
|
class: "mr2",
|
|
@@ -4676,7 +4682,7 @@ const pi = {
|
|
|
4676
4682
|
height: "12",
|
|
4677
4683
|
color: T(f)
|
|
4678
4684
|
}, null, 8, ["name", "color"])) : We("", !0),
|
|
4679
|
-
|
|
4685
|
+
ve(" " + He(Z.row[`loading${J.permissionCode}`] ? J.btnName + T(i)("act.loading") + "..." : J.btnName), 1)
|
|
4680
4686
|
]),
|
|
4681
4687
|
_: 2
|
|
4682
4688
|
}, 1032, ["loading"])), [
|
|
@@ -4692,7 +4698,7 @@ const pi = {
|
|
|
4692
4698
|
size: "small",
|
|
4693
4699
|
loading: Z.row[`loading${J.permissionCode}`]
|
|
4694
4700
|
}, {
|
|
4695
|
-
default:
|
|
4701
|
+
default: v(() => [
|
|
4696
4702
|
J.btnIcon && !Z.row[`loading${J.permissionCode}`] ? (Y(), se(K, {
|
|
4697
4703
|
key: 0,
|
|
4698
4704
|
class: "mr2",
|
|
@@ -4701,7 +4707,7 @@ const pi = {
|
|
|
4701
4707
|
height: "12",
|
|
4702
4708
|
color: T(f)
|
|
4703
4709
|
}, null, 8, ["name", "color"])) : We("", !0),
|
|
4704
|
-
|
|
4710
|
+
ve(" " + He(Z.row[`loading${J.permissionCode}`] ? J.btnName + T(i)("act.loading") + "..." : J.btnName), 1)
|
|
4705
4711
|
]),
|
|
4706
4712
|
_: 2
|
|
4707
4713
|
}, 1032, ["loading"])), [
|
|
@@ -4715,7 +4721,7 @@ const pi = {
|
|
|
4715
4721
|
_: 2
|
|
4716
4722
|
}, 1024)
|
|
4717
4723
|
]),
|
|
4718
|
-
default:
|
|
4724
|
+
default: v(() => [
|
|
4719
4725
|
S(G, {
|
|
4720
4726
|
class: "table-btn-more",
|
|
4721
4727
|
icon: T(ci),
|
|
@@ -4730,7 +4736,7 @@ const pi = {
|
|
|
4730
4736
|
}, [
|
|
4731
4737
|
Ze(T(ce), (Z, J) => ({
|
|
4732
4738
|
name: Z.fieldKey,
|
|
4733
|
-
fn:
|
|
4739
|
+
fn: v(() => [
|
|
4734
4740
|
Z[`customTableHeaderInstance_${Z.customTableHeaderName}`] ? (Y(), se(kn(Z[`customTableHeaderInstance_${Z.customTableHeaderName}`]), {
|
|
4735
4741
|
key: 0,
|
|
4736
4742
|
data: Z,
|
|
@@ -4745,12 +4751,12 @@ const pi = {
|
|
|
4745
4751
|
})),
|
|
4746
4752
|
Ze(T(ye), (Z, J) => ({
|
|
4747
4753
|
name: Z.fieldKey,
|
|
4748
|
-
fn:
|
|
4754
|
+
fn: v(({ scope: Xe }) => [
|
|
4749
4755
|
Z.tableCellContentType == "link" ? (Y(), _e("span", pi, He(Xe.row[Z.fieldKey]), 1)) : Z.fieldType == "editor" ? (Y(), _e("span", {
|
|
4750
4756
|
key: 1,
|
|
4751
4757
|
class: "table-link",
|
|
4752
4758
|
onClick: (St) => eo(Z, Xe.row)
|
|
4753
|
-
}, "点击预览", 8, gi)) : Z.fieldType == "upload" ? (Y(), _e(
|
|
4759
|
+
}, "点击预览", 8, gi)) : Z.fieldType == "upload" ? (Y(), _e(Oe, { key: 2 }, [
|
|
4754
4760
|
qt(Z, Xe) ? (Y(), se(j, {
|
|
4755
4761
|
key: 0,
|
|
4756
4762
|
class: "file-image",
|
|
@@ -4759,7 +4765,7 @@ const pi = {
|
|
|
4759
4765
|
"preview-teleported": "",
|
|
4760
4766
|
src: Nt(Z, Xe)
|
|
4761
4767
|
}, {
|
|
4762
|
-
error:
|
|
4768
|
+
error: v(() => [
|
|
4763
4769
|
Ie("div", _i, He(Z("act.noImage")), 1)
|
|
4764
4770
|
]),
|
|
4765
4771
|
_: 2
|
|
@@ -4767,8 +4773,8 @@ const pi = {
|
|
|
4767
4773
|
key: 1,
|
|
4768
4774
|
type: "primary"
|
|
4769
4775
|
}))
|
|
4770
|
-
], 64)) : Z.fieldType == "date" ? (Y(), _e(
|
|
4771
|
-
|
|
4776
|
+
], 64)) : Z.fieldType == "date" ? (Y(), _e(Oe, { key: 3 }, [
|
|
4777
|
+
ve(He(Ae(Z, Xe.row)), 1)
|
|
4772
4778
|
], 64)) : (Y(), _e("span", Ai, He($l(Z, Xe.row)), 1))
|
|
4773
4779
|
])
|
|
4774
4780
|
}))
|
|
@@ -4791,7 +4797,7 @@ const pi = {
|
|
|
4791
4797
|
key: 1,
|
|
4792
4798
|
description: T(i)("act.noConfigPage")
|
|
4793
4799
|
}, {
|
|
4794
|
-
image:
|
|
4800
|
+
image: v(() => [
|
|
4795
4801
|
S(K, {
|
|
4796
4802
|
name: "config-nodata",
|
|
4797
4803
|
width: "200",
|
|
@@ -4808,7 +4814,7 @@ const pi = {
|
|
|
4808
4814
|
]);
|
|
4809
4815
|
};
|
|
4810
4816
|
}
|
|
4811
|
-
}, Gl = /* @__PURE__ */ Ft(bi, [["__scopeId", "data-v-
|
|
4817
|
+
}, Gl = /* @__PURE__ */ Ft(bi, [["__scopeId", "data-v-3844b0b9"]]), $i = [
|
|
4812
4818
|
{ key: "按钮形式", value: "default" },
|
|
4813
4819
|
{ key: "文字形式", value: "text" }
|
|
4814
4820
|
], Ji = [
|
|
@@ -4935,27 +4941,27 @@ const pi = {
|
|
|
4935
4941
|
},
|
|
4936
4942
|
{ deep: !0, immediate: !0 }
|
|
4937
4943
|
), t({ formRef: o, form: r }), (s, i) => {
|
|
4938
|
-
const g = q("el-input-number"), E = q("el-form-item"), C = q("el-col"), f = q("el-option"),
|
|
4944
|
+
const g = q("el-input-number"), E = q("el-form-item"), C = q("el-col"), f = q("el-option"), O = q("el-select"), k = q("el-row"), L = q("el-form"), w = q("el-card");
|
|
4939
4945
|
return Y(), se(w, {
|
|
4940
4946
|
class: "form-card",
|
|
4941
4947
|
shadow: "hover",
|
|
4942
4948
|
header: "表单配置"
|
|
4943
4949
|
}, {
|
|
4944
|
-
default:
|
|
4945
|
-
S(
|
|
4950
|
+
default: v(() => [
|
|
4951
|
+
S(L, {
|
|
4946
4952
|
ref_key: "formRef",
|
|
4947
4953
|
ref: o,
|
|
4948
4954
|
model: T(r),
|
|
4949
4955
|
"label-suffix": ":",
|
|
4950
4956
|
"label-width": "110px"
|
|
4951
4957
|
}, {
|
|
4952
|
-
default:
|
|
4958
|
+
default: v(() => [
|
|
4953
4959
|
S(k, null, {
|
|
4954
|
-
default:
|
|
4960
|
+
default: v(() => [
|
|
4955
4961
|
S(C, { span: 8 }, {
|
|
4956
|
-
default:
|
|
4962
|
+
default: v(() => [
|
|
4957
4963
|
S(E, { label: "弹窗宽度" }, {
|
|
4958
|
-
default:
|
|
4964
|
+
default: v(() => [
|
|
4959
4965
|
S(g, {
|
|
4960
4966
|
modelValue: T(r).dialogWidth,
|
|
4961
4967
|
"onUpdate:modelValue": i[0] || (i[0] = (m) => T(r).dialogWidth = m),
|
|
@@ -4968,9 +4974,9 @@ const pi = {
|
|
|
4968
4974
|
_: 1
|
|
4969
4975
|
}),
|
|
4970
4976
|
S(C, { span: 8 }, {
|
|
4971
|
-
default:
|
|
4977
|
+
default: v(() => [
|
|
4972
4978
|
S(E, { label: "排版列数" }, {
|
|
4973
|
-
default:
|
|
4979
|
+
default: v(() => [
|
|
4974
4980
|
S(g, {
|
|
4975
4981
|
modelValue: T(r).formRow,
|
|
4976
4982
|
"onUpdate:modelValue": i[1] || (i[1] = (m) => T(r).formRow = m),
|
|
@@ -4984,9 +4990,9 @@ const pi = {
|
|
|
4984
4990
|
_: 1
|
|
4985
4991
|
}),
|
|
4986
4992
|
S(C, { span: 8 }, {
|
|
4987
|
-
default:
|
|
4993
|
+
default: v(() => [
|
|
4988
4994
|
S(E, { label: "label宽度" }, {
|
|
4989
|
-
default:
|
|
4995
|
+
default: v(() => [
|
|
4990
4996
|
S(g, {
|
|
4991
4997
|
modelValue: T(r).formLabelWidth,
|
|
4992
4998
|
"onUpdate:modelValue": i[2] || (i[2] = (m) => T(r).formLabelWidth = m),
|
|
@@ -4999,20 +5005,20 @@ const pi = {
|
|
|
4999
5005
|
_: 1
|
|
5000
5006
|
}),
|
|
5001
5007
|
S(C, { span: 8 }, {
|
|
5002
|
-
default:
|
|
5008
|
+
default: v(() => [
|
|
5003
5009
|
S(E, {
|
|
5004
5010
|
label: "label位置",
|
|
5005
5011
|
rules: [{ required: !0, message: "必填项", trigger: ["change"] }],
|
|
5006
5012
|
prop: "formLabelPosition"
|
|
5007
5013
|
}, {
|
|
5008
|
-
default:
|
|
5009
|
-
S(
|
|
5014
|
+
default: v(() => [
|
|
5015
|
+
S(O, {
|
|
5010
5016
|
modelValue: T(r).formLabelPosition,
|
|
5011
5017
|
"onUpdate:modelValue": i[3] || (i[3] = (m) => T(r).formLabelPosition = m),
|
|
5012
5018
|
placeholder: "请选择"
|
|
5013
5019
|
}, {
|
|
5014
|
-
default:
|
|
5015
|
-
(Y(!0), _e(
|
|
5020
|
+
default: v(() => [
|
|
5021
|
+
(Y(!0), _e(Oe, null, Ze(T(yi), (m, A) => (Y(), se(f, {
|
|
5016
5022
|
key: A + "labelPosition",
|
|
5017
5023
|
label: m.key,
|
|
5018
5024
|
value: m.value
|
|
@@ -5069,9 +5075,9 @@ const Ni = {
|
|
|
5069
5075
|
if (C) {
|
|
5070
5076
|
if (!Object.keys(C).length)
|
|
5071
5077
|
return;
|
|
5072
|
-
const
|
|
5078
|
+
const O = { ...C, defaultParams: [...C.defaultParams || []] };
|
|
5073
5079
|
Object.keys(s.value).forEach((k) => {
|
|
5074
|
-
["defaultParams"].includes(k) ? s.value[k] = [...
|
|
5080
|
+
["defaultParams"].includes(k) ? s.value[k] = [...O[k] || []] : k === "tableMoreBtnSplitNumber" ? s.value[k] = Reflect.has(O, "tableMoreBtnSplitNumber") ? O[k] : 0 : k === "headerMoreBtnSplitNumber" ? s.value[k] = Reflect.has(O, "headerMoreBtnSplitNumber") ? O[k] : 0 : k === "isExecuteImmediatelyTableApi" ? s.value[k] = Reflect.has(O, "isExecuteImmediatelyTableApi") ? O[k] : !0 : s.value[k] = O[k];
|
|
5075
5081
|
});
|
|
5076
5082
|
}
|
|
5077
5083
|
},
|
|
@@ -5085,13 +5091,13 @@ const Ni = {
|
|
|
5085
5091
|
C || (s.value.pageSize = 10);
|
|
5086
5092
|
};
|
|
5087
5093
|
return t({ formRef: r, form: s }), (C, f) => {
|
|
5088
|
-
const
|
|
5094
|
+
const O = q("el-input"), k = q("el-form-item"), L = q("el-col"), w = q("el-row"), m = q("el-button"), A = q("el-divider"), p = q("el-option"), _ = q("el-select"), h = q("el-switch"), F = q("el-input-number"), y = q("el-form"), I = q("el-card");
|
|
5089
5095
|
return Y(), se(I, {
|
|
5090
5096
|
class: "form-card",
|
|
5091
5097
|
shadow: "hover",
|
|
5092
5098
|
header: "表格配置"
|
|
5093
5099
|
}, {
|
|
5094
|
-
default:
|
|
5100
|
+
default: v(() => [
|
|
5095
5101
|
S(y, {
|
|
5096
5102
|
ref_key: "formRef",
|
|
5097
5103
|
ref: r,
|
|
@@ -5099,18 +5105,18 @@ const Ni = {
|
|
|
5099
5105
|
"label-suffix": ":",
|
|
5100
5106
|
"label-width": "120"
|
|
5101
5107
|
}, {
|
|
5102
|
-
default:
|
|
5108
|
+
default: v(() => [
|
|
5103
5109
|
S(w, null, {
|
|
5104
|
-
default:
|
|
5105
|
-
S(
|
|
5106
|
-
default:
|
|
5110
|
+
default: v(() => [
|
|
5111
|
+
S(L, { span: 24 }, {
|
|
5112
|
+
default: v(() => [
|
|
5107
5113
|
S(k, {
|
|
5108
5114
|
label: "表格数据url",
|
|
5109
5115
|
prop: "dataUrl",
|
|
5110
5116
|
rules: [{ required: !0, message: "必填项", trigger: "blur" }]
|
|
5111
5117
|
}, {
|
|
5112
|
-
default:
|
|
5113
|
-
S(
|
|
5118
|
+
default: v(() => [
|
|
5119
|
+
S(O, {
|
|
5114
5120
|
modelValue: T(s).dataUrl,
|
|
5115
5121
|
"onUpdate:modelValue": f[0] || (f[0] = (D) => T(s).dataUrl = D),
|
|
5116
5122
|
placeholder: "请输入",
|
|
@@ -5126,8 +5132,8 @@ const Ni = {
|
|
|
5126
5132
|
_: 1
|
|
5127
5133
|
}),
|
|
5128
5134
|
S(A, { "content-position": "left" }, {
|
|
5129
|
-
default:
|
|
5130
|
-
f[14] || (f[14] =
|
|
5135
|
+
default: v(() => [
|
|
5136
|
+
f[14] || (f[14] = ve(" 表格默认参数配置 ", -1)),
|
|
5131
5137
|
S(m, {
|
|
5132
5138
|
class: "add-icon-btn",
|
|
5133
5139
|
type: "primary",
|
|
@@ -5138,20 +5144,20 @@ const Ni = {
|
|
|
5138
5144
|
]),
|
|
5139
5145
|
_: 1
|
|
5140
5146
|
}),
|
|
5141
|
-
(Y(!0), _e(
|
|
5147
|
+
(Y(!0), _e(Oe, null, Ze(T(s).defaultParams, (D, $) => (Y(), se(w, {
|
|
5142
5148
|
class: "table-post-params",
|
|
5143
5149
|
key: $
|
|
5144
5150
|
}, {
|
|
5145
|
-
default:
|
|
5146
|
-
S(
|
|
5147
|
-
default:
|
|
5151
|
+
default: v(() => [
|
|
5152
|
+
S(L, { span: 12 }, {
|
|
5153
|
+
default: v(() => [
|
|
5148
5154
|
S(k, {
|
|
5149
5155
|
label: "字段",
|
|
5150
5156
|
rules: [{ required: !0, message: "必填项", trigger: "blur" }],
|
|
5151
5157
|
prop: "defaultParams." + $ + ".submitFieldName"
|
|
5152
5158
|
}, {
|
|
5153
|
-
default:
|
|
5154
|
-
S(
|
|
5159
|
+
default: v(() => [
|
|
5160
|
+
S(O, {
|
|
5155
5161
|
modelValue: D.submitFieldName,
|
|
5156
5162
|
"onUpdate:modelValue": (H) => D.submitFieldName = H,
|
|
5157
5163
|
placeholder: "请输入",
|
|
@@ -5163,14 +5169,14 @@ const Ni = {
|
|
|
5163
5169
|
]),
|
|
5164
5170
|
_: 2
|
|
5165
5171
|
}, 1024),
|
|
5166
|
-
S(
|
|
5167
|
-
default:
|
|
5172
|
+
S(L, { span: 12 }, {
|
|
5173
|
+
default: v(() => [
|
|
5168
5174
|
S(k, {
|
|
5169
5175
|
label: "匹配条件",
|
|
5170
5176
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
5171
5177
|
prop: "defaultParams." + $ + ".matchValue"
|
|
5172
5178
|
}, {
|
|
5173
|
-
default:
|
|
5179
|
+
default: v(() => [
|
|
5174
5180
|
S(_, {
|
|
5175
5181
|
modelValue: D.matchValue,
|
|
5176
5182
|
"onUpdate:modelValue": (H) => D.matchValue = H,
|
|
@@ -5178,8 +5184,8 @@ const Ni = {
|
|
|
5178
5184
|
filterable: "",
|
|
5179
5185
|
clearable: ""
|
|
5180
5186
|
}, {
|
|
5181
|
-
default:
|
|
5182
|
-
(Y(!0), _e(
|
|
5187
|
+
default: v(() => [
|
|
5188
|
+
(Y(!0), _e(Oe, null, Ze(T(o), (H, te) => (Y(), se(p, {
|
|
5183
5189
|
key: te,
|
|
5184
5190
|
label: H.key,
|
|
5185
5191
|
value: H.value
|
|
@@ -5193,15 +5199,15 @@ const Ni = {
|
|
|
5193
5199
|
]),
|
|
5194
5200
|
_: 2
|
|
5195
5201
|
}, 1024),
|
|
5196
|
-
S(
|
|
5197
|
-
default:
|
|
5202
|
+
S(L, { span: 12 }, {
|
|
5203
|
+
default: v(() => [
|
|
5198
5204
|
S(k, {
|
|
5199
5205
|
label: "默认值",
|
|
5200
5206
|
rules: [{ required: !0, message: "必填项", trigger: "blur" }],
|
|
5201
5207
|
prop: "defaultParams." + $ + ".defaultValue"
|
|
5202
5208
|
}, {
|
|
5203
|
-
default:
|
|
5204
|
-
S(
|
|
5209
|
+
default: v(() => [
|
|
5210
|
+
S(O, {
|
|
5205
5211
|
modelValue: D.defaultValue,
|
|
5206
5212
|
"onUpdate:modelValue": (H) => D.defaultValue = H,
|
|
5207
5213
|
placeholder: "请输入",
|
|
@@ -5213,14 +5219,14 @@ const Ni = {
|
|
|
5213
5219
|
]),
|
|
5214
5220
|
_: 2
|
|
5215
5221
|
}, 1024),
|
|
5216
|
-
S(
|
|
5217
|
-
default:
|
|
5222
|
+
S(L, { span: 12 }, {
|
|
5223
|
+
default: v(() => [
|
|
5218
5224
|
S(k, {
|
|
5219
5225
|
label: "提交类型",
|
|
5220
5226
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
5221
5227
|
prop: "defaultParams." + $ + ".submitFieldType"
|
|
5222
5228
|
}, {
|
|
5223
|
-
default:
|
|
5229
|
+
default: v(() => [
|
|
5224
5230
|
S(_, {
|
|
5225
5231
|
modelValue: D.submitFieldType,
|
|
5226
5232
|
"onUpdate:modelValue": (H) => D.submitFieldType = H,
|
|
@@ -5228,8 +5234,8 @@ const Ni = {
|
|
|
5228
5234
|
filterable: "",
|
|
5229
5235
|
clearable: ""
|
|
5230
5236
|
}, {
|
|
5231
|
-
default:
|
|
5232
|
-
(Y(!0), _e(
|
|
5237
|
+
default: v(() => [
|
|
5238
|
+
(Y(!0), _e(Oe, null, Ze(T(hi), (H, te) => (Y(), se(p, {
|
|
5233
5239
|
key: te,
|
|
5234
5240
|
label: H.key,
|
|
5235
5241
|
value: H.value
|
|
@@ -5244,11 +5250,11 @@ const Ni = {
|
|
|
5244
5250
|
_: 2
|
|
5245
5251
|
}, 1024),
|
|
5246
5252
|
S(A, { "content-position": "left" }),
|
|
5247
|
-
S(
|
|
5253
|
+
S(L, {
|
|
5248
5254
|
class: "submit-operate",
|
|
5249
5255
|
span: 2
|
|
5250
5256
|
}, {
|
|
5251
|
-
default:
|
|
5257
|
+
default: v(() => [
|
|
5252
5258
|
S(m, {
|
|
5253
5259
|
class: "match-opreate",
|
|
5254
5260
|
type: "danger",
|
|
@@ -5263,11 +5269,11 @@ const Ni = {
|
|
|
5263
5269
|
_: 2
|
|
5264
5270
|
}, 1024))), 128)),
|
|
5265
5271
|
S(w, null, {
|
|
5266
|
-
default:
|
|
5267
|
-
S(
|
|
5268
|
-
default:
|
|
5272
|
+
default: v(() => [
|
|
5273
|
+
S(L, { span: 6 }, {
|
|
5274
|
+
default: v(() => [
|
|
5269
5275
|
S(k, { label: "多选列" }, {
|
|
5270
|
-
default:
|
|
5276
|
+
default: v(() => [
|
|
5271
5277
|
S(h, {
|
|
5272
5278
|
modelValue: T(s).isCheckRow,
|
|
5273
5279
|
"onUpdate:modelValue": f[1] || (f[1] = (D) => T(s).isCheckRow = D)
|
|
@@ -5278,10 +5284,10 @@ const Ni = {
|
|
|
5278
5284
|
]),
|
|
5279
5285
|
_: 1
|
|
5280
5286
|
}),
|
|
5281
|
-
S(
|
|
5282
|
-
default:
|
|
5287
|
+
S(L, { span: 6 }, {
|
|
5288
|
+
default: v(() => [
|
|
5283
5289
|
S(k, { label: "操作列" }, {
|
|
5284
|
-
default:
|
|
5290
|
+
default: v(() => [
|
|
5285
5291
|
S(h, {
|
|
5286
5292
|
modelValue: T(s).isOperateRow,
|
|
5287
5293
|
"onUpdate:modelValue": f[2] || (f[2] = (D) => T(s).isOperateRow = D)
|
|
@@ -5292,10 +5298,10 @@ const Ni = {
|
|
|
5292
5298
|
]),
|
|
5293
5299
|
_: 1
|
|
5294
5300
|
}),
|
|
5295
|
-
S(
|
|
5296
|
-
default:
|
|
5301
|
+
S(L, { span: 6 }, {
|
|
5302
|
+
default: v(() => [
|
|
5297
5303
|
S(k, { label: "分页" }, {
|
|
5298
|
-
default:
|
|
5304
|
+
default: v(() => [
|
|
5299
5305
|
S(h, {
|
|
5300
5306
|
modelValue: T(s).isPagination,
|
|
5301
5307
|
"onUpdate:modelValue": f[3] || (f[3] = (D) => T(s).isPagination = D),
|
|
@@ -5307,10 +5313,10 @@ const Ni = {
|
|
|
5307
5313
|
]),
|
|
5308
5314
|
_: 1
|
|
5309
5315
|
}),
|
|
5310
|
-
S(
|
|
5311
|
-
default:
|
|
5316
|
+
S(L, { span: 6 }, {
|
|
5317
|
+
default: v(() => [
|
|
5312
5318
|
S(k, { label: "序号列" }, {
|
|
5313
|
-
default:
|
|
5319
|
+
default: v(() => [
|
|
5314
5320
|
S(h, {
|
|
5315
5321
|
modelValue: T(s).isSerialNumber,
|
|
5316
5322
|
"onUpdate:modelValue": f[4] || (f[4] = (D) => T(s).isSerialNumber = D)
|
|
@@ -5321,10 +5327,10 @@ const Ni = {
|
|
|
5321
5327
|
]),
|
|
5322
5328
|
_: 1
|
|
5323
5329
|
}),
|
|
5324
|
-
S(
|
|
5325
|
-
default:
|
|
5330
|
+
S(L, { span: 6 }, {
|
|
5331
|
+
default: v(() => [
|
|
5326
5332
|
S(k, { label: "排序" }, {
|
|
5327
|
-
default:
|
|
5333
|
+
default: v(() => [
|
|
5328
5334
|
S(h, {
|
|
5329
5335
|
modelValue: T(s).isSort,
|
|
5330
5336
|
"onUpdate:modelValue": f[5] || (f[5] = (D) => T(s).isSort = D)
|
|
@@ -5335,10 +5341,10 @@ const Ni = {
|
|
|
5335
5341
|
]),
|
|
5336
5342
|
_: 1
|
|
5337
5343
|
}),
|
|
5338
|
-
S(
|
|
5339
|
-
default:
|
|
5344
|
+
S(L, { span: 6 }, {
|
|
5345
|
+
default: v(() => [
|
|
5340
5346
|
S(k, { label: "展/收查询条件" }, {
|
|
5341
|
-
default:
|
|
5347
|
+
default: v(() => [
|
|
5342
5348
|
S(h, {
|
|
5343
5349
|
modelValue: T(s).isExpandQuery,
|
|
5344
5350
|
"onUpdate:modelValue": f[6] || (f[6] = (D) => T(s).isExpandQuery = D),
|
|
@@ -5350,10 +5356,10 @@ const Ni = {
|
|
|
5350
5356
|
]),
|
|
5351
5357
|
_: 1
|
|
5352
5358
|
}),
|
|
5353
|
-
S(
|
|
5354
|
-
default:
|
|
5359
|
+
S(L, { span: 6 }, {
|
|
5360
|
+
default: v(() => [
|
|
5355
5361
|
S(k, { label: "立即执行接口" }, {
|
|
5356
|
-
default:
|
|
5362
|
+
default: v(() => [
|
|
5357
5363
|
S(h, {
|
|
5358
5364
|
modelValue: T(s).isExecuteImmediatelyTableApi,
|
|
5359
5365
|
"onUpdate:modelValue": f[7] || (f[7] = (D) => T(s).isExecuteImmediatelyTableApi = D)
|
|
@@ -5368,17 +5374,17 @@ const Ni = {
|
|
|
5368
5374
|
_: 1
|
|
5369
5375
|
}),
|
|
5370
5376
|
S(w, null, {
|
|
5371
|
-
default:
|
|
5372
|
-
T(s).isOperateRow ? (Y(), se(
|
|
5377
|
+
default: v(() => [
|
|
5378
|
+
T(s).isOperateRow ? (Y(), se(L, {
|
|
5373
5379
|
key: 0,
|
|
5374
5380
|
span: 8
|
|
5375
5381
|
}, {
|
|
5376
|
-
default:
|
|
5382
|
+
default: v(() => [
|
|
5377
5383
|
S(k, {
|
|
5378
5384
|
label: "操作列宽度",
|
|
5379
5385
|
"label-width": "150"
|
|
5380
5386
|
}, {
|
|
5381
|
-
default:
|
|
5387
|
+
default: v(() => [
|
|
5382
5388
|
S(F, {
|
|
5383
5389
|
modelValue: T(s).tableOperateCellWidth,
|
|
5384
5390
|
"onUpdate:modelValue": f[8] || (f[8] = (D) => T(s).tableOperateCellWidth = D),
|
|
@@ -5390,18 +5396,18 @@ const Ni = {
|
|
|
5390
5396
|
]),
|
|
5391
5397
|
_: 1
|
|
5392
5398
|
})) : We("", !0),
|
|
5393
|
-
T(s).isPagination ? (Y(), se(
|
|
5399
|
+
T(s).isPagination ? (Y(), se(L, {
|
|
5394
5400
|
key: 1,
|
|
5395
5401
|
span: 8
|
|
5396
5402
|
}, {
|
|
5397
|
-
default:
|
|
5403
|
+
default: v(() => [
|
|
5398
5404
|
S(k, {
|
|
5399
5405
|
label: "分页页数",
|
|
5400
5406
|
prop: "pageSize",
|
|
5401
5407
|
"label-width": "150",
|
|
5402
5408
|
rules: [{ required: !0, message: "必填项", trigger: "blur" }]
|
|
5403
5409
|
}, {
|
|
5404
|
-
default:
|
|
5410
|
+
default: v(() => [
|
|
5405
5411
|
S(F, {
|
|
5406
5412
|
modelValue: T(s).pageSize,
|
|
5407
5413
|
"onUpdate:modelValue": f[9] || (f[9] = (D) => T(s).pageSize = D),
|
|
@@ -5413,13 +5419,13 @@ const Ni = {
|
|
|
5413
5419
|
]),
|
|
5414
5420
|
_: 1
|
|
5415
5421
|
})) : We("", !0),
|
|
5416
|
-
S(
|
|
5417
|
-
default:
|
|
5422
|
+
S(L, { span: 8 }, {
|
|
5423
|
+
default: v(() => [
|
|
5418
5424
|
S(k, {
|
|
5419
5425
|
label: "查询条件label宽度",
|
|
5420
5426
|
"label-width": "150"
|
|
5421
5427
|
}, {
|
|
5422
|
-
default:
|
|
5428
|
+
default: v(() => [
|
|
5423
5429
|
S(F, {
|
|
5424
5430
|
modelValue: T(s).tableQueryLabelWidth,
|
|
5425
5431
|
"onUpdate:modelValue": f[10] || (f[10] = (D) => T(s).tableQueryLabelWidth = D),
|
|
@@ -5431,13 +5437,13 @@ const Ni = {
|
|
|
5431
5437
|
]),
|
|
5432
5438
|
_: 1
|
|
5433
5439
|
}),
|
|
5434
|
-
S(
|
|
5435
|
-
default:
|
|
5440
|
+
S(L, { span: 8 }, {
|
|
5441
|
+
default: v(() => [
|
|
5436
5442
|
S(k, {
|
|
5437
5443
|
label: "查询条件列数",
|
|
5438
5444
|
"label-width": "150"
|
|
5439
5445
|
}, {
|
|
5440
|
-
default:
|
|
5446
|
+
default: v(() => [
|
|
5441
5447
|
S(F, {
|
|
5442
5448
|
modelValue: T(s).tableQueryRowWidth,
|
|
5443
5449
|
"onUpdate:modelValue": f[11] || (f[11] = (D) => T(s).tableQueryRowWidth = D),
|
|
@@ -5449,13 +5455,13 @@ const Ni = {
|
|
|
5449
5455
|
]),
|
|
5450
5456
|
_: 1
|
|
5451
5457
|
}),
|
|
5452
|
-
S(
|
|
5453
|
-
default:
|
|
5458
|
+
S(L, { span: 8 }, {
|
|
5459
|
+
default: v(() => [
|
|
5454
5460
|
S(k, {
|
|
5455
5461
|
label: "表格更多按钮分割数",
|
|
5456
5462
|
"label-width": "150"
|
|
5457
5463
|
}, {
|
|
5458
|
-
default:
|
|
5464
|
+
default: v(() => [
|
|
5459
5465
|
S(F, {
|
|
5460
5466
|
modelValue: T(s).tableMoreBtnSplitNumber,
|
|
5461
5467
|
"onUpdate:modelValue": f[12] || (f[12] = (D) => T(s).tableMoreBtnSplitNumber = D),
|
|
@@ -5467,13 +5473,13 @@ const Ni = {
|
|
|
5467
5473
|
]),
|
|
5468
5474
|
_: 1
|
|
5469
5475
|
}),
|
|
5470
|
-
S(
|
|
5471
|
-
default:
|
|
5476
|
+
S(L, { span: 8 }, {
|
|
5477
|
+
default: v(() => [
|
|
5472
5478
|
S(k, {
|
|
5473
5479
|
label: "顶部更多按钮分割数",
|
|
5474
5480
|
"label-width": "150"
|
|
5475
5481
|
}, {
|
|
5476
|
-
default:
|
|
5482
|
+
default: v(() => [
|
|
5477
5483
|
S(F, {
|
|
5478
5484
|
modelValue: T(s).headerMoreBtnSplitNumber,
|
|
5479
5485
|
"onUpdate:modelValue": f[13] || (f[13] = (D) => T(s).headerMoreBtnSplitNumber = D),
|
|
@@ -5504,7 +5510,7 @@ const Ii = {
|
|
|
5504
5510
|
},
|
|
5505
5511
|
emits: ["update:modelValue"],
|
|
5506
5512
|
setup(e, { expose: t, emit: n }) {
|
|
5507
|
-
const a = _n(), l = we("apiPrefix"), o = we("request"), r = ut(() => import("./dialogConfigBtn-
|
|
5513
|
+
const a = _n(), l = we("apiPrefix"), o = we("request"), r = ut(() => import("./dialogConfigBtn-871f1cb6.js")), s = e, i = () => ({
|
|
5508
5514
|
sort: 0,
|
|
5509
5515
|
permissionCode: null,
|
|
5510
5516
|
requestUrl: "",
|
|
@@ -5531,7 +5537,7 @@ const Ii = {
|
|
|
5531
5537
|
tableLoading: !1,
|
|
5532
5538
|
showConfigBtnDialog: !1,
|
|
5533
5539
|
dialogData: {}
|
|
5534
|
-
}))()), C = le(null), f = 0,
|
|
5540
|
+
}))()), C = le(null), f = 0, O = le([]), k = le([]), L = [
|
|
5535
5541
|
{ prop: "checkbox", width: 60 },
|
|
5536
5542
|
{ prop: "serialNumber", width: 80 },
|
|
5537
5543
|
{ label: "按钮名称", prop: "btnName", minWidth: 200 },
|
|
@@ -5556,12 +5562,12 @@ const Ii = {
|
|
|
5556
5562
|
E.tableLoading = !1, console.error(I);
|
|
5557
5563
|
}
|
|
5558
5564
|
}, h = () => C.value.getSelectionRows() || [];
|
|
5559
|
-
ke("associationMenuList",
|
|
5565
|
+
ke("associationMenuList", O), ke("createDefaultButtonItem", i), dt(
|
|
5560
5566
|
() => s.modelValue,
|
|
5561
5567
|
async (y, I) => {
|
|
5562
5568
|
try {
|
|
5563
5569
|
const D = s.id ? s.id : a.params.id;
|
|
5564
|
-
|
|
5570
|
+
O.value = (await m({ dynamicFilters: [{ field: "parentId", operate: "Equal", value: D }] })).data || [], await _(y);
|
|
5565
5571
|
} catch (D) {
|
|
5566
5572
|
E.tableLoading = !1, console.error(D);
|
|
5567
5573
|
}
|
|
@@ -5577,43 +5583,43 @@ const Ii = {
|
|
|
5577
5583
|
class: "form-card",
|
|
5578
5584
|
shadow: "hover"
|
|
5579
5585
|
}, {
|
|
5580
|
-
header:
|
|
5586
|
+
header: v(() => [...I[2] || (I[2] = [
|
|
5581
5587
|
Ie("div", { class: "card-header" }, [
|
|
5582
5588
|
Ie("div", { class: "card-header-title" }, "按钮配置")
|
|
5583
5589
|
], -1)
|
|
5584
5590
|
])]),
|
|
5585
|
-
default:
|
|
5591
|
+
default: v(() => [
|
|
5586
5592
|
S(te, {
|
|
5587
5593
|
ref_key: "tableRef",
|
|
5588
5594
|
ref: C,
|
|
5589
5595
|
loading: T(E).tableLoading,
|
|
5590
5596
|
rowKey: "permissionCode",
|
|
5591
5597
|
selection: T(k),
|
|
5592
|
-
"onUpdate:selection": I[0] || (I[0] = (ce) =>
|
|
5593
|
-
headers: T(
|
|
5598
|
+
"onUpdate:selection": I[0] || (I[0] = (ce) => Lt(k) ? k.value = ce : k = ce),
|
|
5599
|
+
headers: T(L),
|
|
5594
5600
|
data: T(w),
|
|
5595
5601
|
showPagination: !1
|
|
5596
5602
|
}, {
|
|
5597
|
-
isCustomBtn:
|
|
5603
|
+
isCustomBtn: v(({ scope: ce }) => [
|
|
5598
5604
|
S(D, {
|
|
5599
5605
|
type: "primary",
|
|
5600
5606
|
effect: "dark",
|
|
5601
5607
|
size: "small"
|
|
5602
5608
|
}, {
|
|
5603
|
-
default:
|
|
5604
|
-
|
|
5609
|
+
default: v(() => [
|
|
5610
|
+
ve(He(ce.row.isCustomBtn ? "是" : "否"), 1)
|
|
5605
5611
|
]),
|
|
5606
5612
|
_: 2
|
|
5607
5613
|
}, 1024)
|
|
5608
5614
|
]),
|
|
5609
|
-
sort:
|
|
5615
|
+
sort: v(({ scope: ce }) => [
|
|
5610
5616
|
S($, {
|
|
5611
5617
|
modelValue: ce.row.sort,
|
|
5612
5618
|
"onUpdate:modelValue": (Re) => ce.row.sort = Re,
|
|
5613
5619
|
min: 0
|
|
5614
5620
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
5615
5621
|
]),
|
|
5616
|
-
operate:
|
|
5622
|
+
operate: v(({ scope: ce }) => [
|
|
5617
5623
|
S(H, {
|
|
5618
5624
|
type: "primary",
|
|
5619
5625
|
text: "",
|
|
@@ -5621,8 +5627,8 @@ const Ii = {
|
|
|
5621
5627
|
icon: "Aim",
|
|
5622
5628
|
onClick: (Re) => F(ce)
|
|
5623
5629
|
}, {
|
|
5624
|
-
default:
|
|
5625
|
-
|
|
5630
|
+
default: v(() => [...I[3] || (I[3] = [
|
|
5631
|
+
ve(" 配置 ", -1)
|
|
5626
5632
|
])]),
|
|
5627
5633
|
_: 1
|
|
5628
5634
|
}, 8, ["onClick"])
|
|
@@ -5642,14 +5648,14 @@ const Ii = {
|
|
|
5642
5648
|
};
|
|
5643
5649
|
}
|
|
5644
5650
|
}, Si = /* @__PURE__ */ Ft(Ii, [["__scopeId", "data-v-05dd44e9"]]);
|
|
5645
|
-
const
|
|
5651
|
+
const vi = { class: "card-header" }, Li = {
|
|
5646
5652
|
__name: "configFileds",
|
|
5647
5653
|
props: {
|
|
5648
5654
|
modelValue: { type: Object, default: () => [] }
|
|
5649
5655
|
},
|
|
5650
5656
|
emits: ["update:modelValue"],
|
|
5651
5657
|
setup(e, { emit: t }) {
|
|
5652
|
-
const n = ut(() => import("./dialogAddField-
|
|
5658
|
+
const n = ut(() => import("./dialogAddField-0a752db3.js")), a = t, l = e;
|
|
5653
5659
|
we("configData")();
|
|
5654
5660
|
let r = Vt((() => ({
|
|
5655
5661
|
tableLoading: !1,
|
|
@@ -5673,7 +5679,7 @@ const Li = { class: "card-header" }, Oi = {
|
|
|
5673
5679
|
return "";
|
|
5674
5680
|
const _ = Ei.find((h) => h.value == p.fieldType);
|
|
5675
5681
|
return (_ == null ? void 0 : _.key) || "";
|
|
5676
|
-
}, C = (p) => Reflect.has(p, "useScenes") ? (p.formCustomComponentes ?? []).filter((_) => p.useScenes.includes(_.permissionCode)) : [], f = (p) => (p.formCustomComponentes || []).filter((_) => _.isFieldCustom).map((_) => `${_.btnName}:是`).join(),
|
|
5682
|
+
}, C = (p) => Reflect.has(p, "useScenes") ? (p.formCustomComponentes ?? []).filter((_) => p.useScenes.includes(_.permissionCode)) : [], f = (p) => (p.formCustomComponentes || []).filter((_) => _.isFieldCustom).map((_) => `${_.btnName}:是`).join(), O = (p, _) => {
|
|
5677
5683
|
if (s == null) {
|
|
5678
5684
|
const h = g.value.length;
|
|
5679
5685
|
g.value.push({ ...p, sort: (h + 1) * 10 });
|
|
@@ -5699,7 +5705,7 @@ const Li = { class: "card-header" }, Oi = {
|
|
|
5699
5705
|
},
|
|
5700
5706
|
{ deep: !0, immediate: !0 }
|
|
5701
5707
|
);
|
|
5702
|
-
const
|
|
5708
|
+
const L = () => {
|
|
5703
5709
|
s = null, r.dialogData = {}, r.showAddFieldDialog = !0;
|
|
5704
5710
|
}, w = (p) => {
|
|
5705
5711
|
s = p.$index, r.dialogData = p.row, r.showAddFieldDialog = !0;
|
|
@@ -5714,47 +5720,47 @@ const Li = { class: "card-header" }, Oi = {
|
|
|
5714
5720
|
class: "form-card",
|
|
5715
5721
|
shadow: "hover"
|
|
5716
5722
|
}, {
|
|
5717
|
-
header:
|
|
5718
|
-
Ie("div",
|
|
5723
|
+
header: v(() => [
|
|
5724
|
+
Ie("div", vi, [
|
|
5719
5725
|
_[3] || (_[3] = Ie("div", { class: "card-header-title" }, "字段配置", -1)),
|
|
5720
5726
|
S(h, {
|
|
5721
5727
|
class: "card-header-operate",
|
|
5722
5728
|
type: "primary",
|
|
5723
5729
|
icon: "Plus",
|
|
5724
|
-
onClick: _[0] || (_[0] = (H) =>
|
|
5730
|
+
onClick: _[0] || (_[0] = (H) => L())
|
|
5725
5731
|
}, {
|
|
5726
|
-
default:
|
|
5727
|
-
|
|
5732
|
+
default: v(() => [..._[2] || (_[2] = [
|
|
5733
|
+
ve("添加字段", -1)
|
|
5728
5734
|
])]),
|
|
5729
5735
|
_: 1
|
|
5730
5736
|
})
|
|
5731
5737
|
])
|
|
5732
5738
|
]),
|
|
5733
|
-
default:
|
|
5739
|
+
default: v(() => [
|
|
5734
5740
|
S(D, {
|
|
5735
5741
|
loading: T(r).tableLoading,
|
|
5736
5742
|
headers: T(i),
|
|
5737
5743
|
data: T(g),
|
|
5738
5744
|
showPagination: !1
|
|
5739
5745
|
}, {
|
|
5740
|
-
fieldType:
|
|
5741
|
-
|
|
5746
|
+
fieldType: v(({ scope: H }) => [
|
|
5747
|
+
ve(He(E(H.row)), 1)
|
|
5742
5748
|
]),
|
|
5743
|
-
useScenes:
|
|
5744
|
-
(Y(!0), _e(
|
|
5749
|
+
useScenes: v(({ scope: H }) => [
|
|
5750
|
+
(Y(!0), _e(Oe, null, Ze(C(H.row), (te, ye) => (Y(), se(y, {
|
|
5745
5751
|
key: ye,
|
|
5746
5752
|
value: te.isFieldCustom ? "C" : "",
|
|
5747
5753
|
offset: [-5, 5]
|
|
5748
5754
|
}, {
|
|
5749
|
-
default:
|
|
5755
|
+
default: v(() => [
|
|
5750
5756
|
S(F, {
|
|
5751
5757
|
style: { margin: "0 4px" },
|
|
5752
5758
|
type: "success",
|
|
5753
5759
|
effect: "dark",
|
|
5754
5760
|
size: "small"
|
|
5755
5761
|
}, {
|
|
5756
|
-
default:
|
|
5757
|
-
|
|
5762
|
+
default: v(() => [
|
|
5763
|
+
ve(He(te.btnName), 1)
|
|
5758
5764
|
]),
|
|
5759
5765
|
_: 2
|
|
5760
5766
|
}, 1024)
|
|
@@ -5762,20 +5768,20 @@ const Li = { class: "card-header" }, Oi = {
|
|
|
5762
5768
|
_: 2
|
|
5763
5769
|
}, 1032, ["value"]))), 128))
|
|
5764
5770
|
]),
|
|
5765
|
-
formCustomComponentes:
|
|
5771
|
+
formCustomComponentes: v(({ scope: H }) => [
|
|
5766
5772
|
f(H.row) ? (Y(), se(F, {
|
|
5767
5773
|
key: 0,
|
|
5768
5774
|
type: "primary",
|
|
5769
5775
|
effect: "dark",
|
|
5770
5776
|
size: "small"
|
|
5771
5777
|
}, {
|
|
5772
|
-
default:
|
|
5773
|
-
|
|
5778
|
+
default: v(() => [
|
|
5779
|
+
ve(He(f(H.row)), 1)
|
|
5774
5780
|
]),
|
|
5775
5781
|
_: 2
|
|
5776
5782
|
}, 1024)) : We("", !0)
|
|
5777
5783
|
]),
|
|
5778
|
-
sort:
|
|
5784
|
+
sort: v(({ scope: H }) => [
|
|
5779
5785
|
S(I, {
|
|
5780
5786
|
modelValue: H.row.sort,
|
|
5781
5787
|
"onUpdate:modelValue": (te) => H.row.sort = te,
|
|
@@ -5783,7 +5789,7 @@ const Li = { class: "card-header" }, Oi = {
|
|
|
5783
5789
|
onChange: m
|
|
5784
5790
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
5785
5791
|
]),
|
|
5786
|
-
operate:
|
|
5792
|
+
operate: v(({ scope: H }) => [
|
|
5787
5793
|
S(h, {
|
|
5788
5794
|
type: "primary",
|
|
5789
5795
|
text: "",
|
|
@@ -5791,8 +5797,8 @@ const Li = { class: "card-header" }, Oi = {
|
|
|
5791
5797
|
icon: "EditPen",
|
|
5792
5798
|
onClick: (te) => w(H)
|
|
5793
5799
|
}, {
|
|
5794
|
-
default:
|
|
5795
|
-
|
|
5800
|
+
default: v(() => [..._[4] || (_[4] = [
|
|
5801
|
+
ve("编辑", -1)
|
|
5796
5802
|
])]),
|
|
5797
5803
|
_: 1
|
|
5798
5804
|
}, 8, ["onClick"]),
|
|
@@ -5803,8 +5809,8 @@ const Li = { class: "card-header" }, Oi = {
|
|
|
5803
5809
|
icon: "Delete",
|
|
5804
5810
|
onClick: (te) => A(H)
|
|
5805
5811
|
}, {
|
|
5806
|
-
default:
|
|
5807
|
-
|
|
5812
|
+
default: v(() => [..._[5] || (_[5] = [
|
|
5813
|
+
ve("删除", -1)
|
|
5808
5814
|
])]),
|
|
5809
5815
|
_: 1
|
|
5810
5816
|
}, 8, ["onClick"])
|
|
@@ -5817,14 +5823,14 @@ const Li = { class: "card-header" }, Oi = {
|
|
|
5817
5823
|
title: T(r).dialogTitle,
|
|
5818
5824
|
configData: l.data,
|
|
5819
5825
|
data: T(r).dialogData,
|
|
5820
|
-
onRefresh:
|
|
5826
|
+
onRefresh: O
|
|
5821
5827
|
}, null, 8, ["visible", "title", "configData", "data"])
|
|
5822
5828
|
]),
|
|
5823
5829
|
_: 1
|
|
5824
5830
|
});
|
|
5825
5831
|
};
|
|
5826
5832
|
}
|
|
5827
|
-
},
|
|
5833
|
+
}, Oi = /* @__PURE__ */ Ft(Li, [["__scopeId", "data-v-5ac6753d"]]);
|
|
5828
5834
|
const wi = { class: "dialog-footer" }, Di = {
|
|
5829
5835
|
__name: "dialogInitConfig",
|
|
5830
5836
|
props: {
|
|
@@ -5835,7 +5841,7 @@ const wi = { class: "dialog-footer" }, Di = {
|
|
|
5835
5841
|
emits: ["update:visible", "refresh"],
|
|
5836
5842
|
setup(e, { emit: t }) {
|
|
5837
5843
|
const n = _n(), a = we("apiPrefix"), l = we("request"), o = t, r = e;
|
|
5838
|
-
|
|
5844
|
+
vt(() => n.params.key);
|
|
5839
5845
|
const s = () => ({
|
|
5840
5846
|
dataBase: "",
|
|
5841
5847
|
api: ""
|
|
@@ -5844,10 +5850,10 @@ const wi = { class: "dialog-footer" }, Di = {
|
|
|
5844
5850
|
loading: !1,
|
|
5845
5851
|
btnLoading: !1
|
|
5846
5852
|
}))()), E = le([]), C = le(null), f = le(s());
|
|
5847
|
-
const
|
|
5853
|
+
const O = (p) => l({ url: `${a}/scripts/getAllDatabaseTable`, method: "get", data: p }), k = async () => {
|
|
5848
5854
|
try {
|
|
5849
5855
|
g.loading = !0;
|
|
5850
|
-
const { data: p } = await
|
|
5856
|
+
const { data: p } = await O();
|
|
5851
5857
|
E.value = p || [], g.loading = !1;
|
|
5852
5858
|
} catch (p) {
|
|
5853
5859
|
console.error(p), g.loading = !1;
|
|
@@ -5859,7 +5865,7 @@ const wi = { class: "dialog-footer" }, Di = {
|
|
|
5859
5865
|
p && await k();
|
|
5860
5866
|
}
|
|
5861
5867
|
);
|
|
5862
|
-
const
|
|
5868
|
+
const L = () => ({
|
|
5863
5869
|
sort: 0,
|
|
5864
5870
|
fieldName: void 0,
|
|
5865
5871
|
fieldKey: void 0,
|
|
@@ -5894,7 +5900,7 @@ const wi = { class: "dialog-footer" }, Di = {
|
|
|
5894
5900
|
try {
|
|
5895
5901
|
g.btnLoading = !0;
|
|
5896
5902
|
const { data: h } = await l({ url: `${a}/scripts/getAllColumnsByTableName`, method: "get", params: { tableName: f.value.dataBase } }), F = (h || []).map((y) => {
|
|
5897
|
-
let I =
|
|
5903
|
+
let I = L();
|
|
5898
5904
|
return I.fieldName = y.comment, I.fieldKey = y.name, I.fieldType = "string", I;
|
|
5899
5905
|
});
|
|
5900
5906
|
o("refresh", { formList: F }, () => {
|
|
@@ -5917,14 +5923,14 @@ const wi = { class: "dialog-footer" }, Di = {
|
|
|
5917
5923
|
"close-on-click-modal": !1,
|
|
5918
5924
|
"before-close": w
|
|
5919
5925
|
}, {
|
|
5920
|
-
footer:
|
|
5926
|
+
footer: v(() => [
|
|
5921
5927
|
Ie("span", wi, [
|
|
5922
5928
|
S($, {
|
|
5923
5929
|
loading: T(g).btnLoading,
|
|
5924
5930
|
onClick: m
|
|
5925
5931
|
}, {
|
|
5926
|
-
default:
|
|
5927
|
-
|
|
5932
|
+
default: v(() => [..._[3] || (_[3] = [
|
|
5933
|
+
ve("取消", -1)
|
|
5928
5934
|
])]),
|
|
5929
5935
|
_: 1
|
|
5930
5936
|
}, 8, ["loading"]),
|
|
@@ -5933,8 +5939,8 @@ const wi = { class: "dialog-footer" }, Di = {
|
|
|
5933
5939
|
loading: T(g).btnLoading,
|
|
5934
5940
|
onClick: _[2] || (_[2] = (ce) => A(T(C)))
|
|
5935
5941
|
}, {
|
|
5936
|
-
default:
|
|
5937
|
-
|
|
5942
|
+
default: v(() => [..._[4] || (_[4] = [
|
|
5943
|
+
ve("保存", -1)
|
|
5938
5944
|
])]),
|
|
5939
5945
|
_: 1
|
|
5940
5946
|
}, 8, ["loading"])), [
|
|
@@ -5942,7 +5948,7 @@ const wi = { class: "dialog-footer" }, Di = {
|
|
|
5942
5948
|
])
|
|
5943
5949
|
])
|
|
5944
5950
|
]),
|
|
5945
|
-
default:
|
|
5951
|
+
default: v(() => [
|
|
5946
5952
|
lt((Y(), se(D, {
|
|
5947
5953
|
ref_key: "formRef",
|
|
5948
5954
|
ref: C,
|
|
@@ -5950,14 +5956,14 @@ const wi = { class: "dialog-footer" }, Di = {
|
|
|
5950
5956
|
"label-suffix": ":",
|
|
5951
5957
|
"label-position": "top"
|
|
5952
5958
|
}, {
|
|
5953
|
-
default:
|
|
5959
|
+
default: v(() => [
|
|
5954
5960
|
S(y, {
|
|
5955
5961
|
label: "数据库",
|
|
5956
5962
|
"label-width": "120",
|
|
5957
5963
|
rules: [{ required: !1, message: "必填项", trigger: "change" }],
|
|
5958
5964
|
prop: "dataBase"
|
|
5959
5965
|
}, {
|
|
5960
|
-
default:
|
|
5966
|
+
default: v(() => [
|
|
5961
5967
|
S(F, {
|
|
5962
5968
|
modelValue: T(f).dataBase,
|
|
5963
5969
|
"onUpdate:modelValue": _[0] || (_[0] = (ce) => T(f).dataBase = ce),
|
|
@@ -5965,8 +5971,8 @@ const wi = { class: "dialog-footer" }, Di = {
|
|
|
5965
5971
|
clearable: "",
|
|
5966
5972
|
filterable: ""
|
|
5967
5973
|
}, {
|
|
5968
|
-
default:
|
|
5969
|
-
(Y(!0), _e(
|
|
5974
|
+
default: v(() => [
|
|
5975
|
+
(Y(!0), _e(Oe, null, Ze(T(E), (ce, Re) => (Y(), se(h, {
|
|
5970
5976
|
key: ce,
|
|
5971
5977
|
label: `${ce.tableComment}【${ce.tableName}】`,
|
|
5972
5978
|
value: ce.tableName
|
|
@@ -5983,7 +5989,7 @@ const wi = { class: "dialog-footer" }, Di = {
|
|
|
5983
5989
|
rules: [{ required: !1, message: "必填项", trigger: "change" }],
|
|
5984
5990
|
prop: "api"
|
|
5985
5991
|
}, {
|
|
5986
|
-
default:
|
|
5992
|
+
default: v(() => [
|
|
5987
5993
|
S(I, {
|
|
5988
5994
|
modelValue: T(f).api,
|
|
5989
5995
|
"onUpdate:modelValue": _[1] || (_[1] = (ce) => T(f).api = ce),
|
|
@@ -6012,7 +6018,7 @@ const Fi = { class: "page-container" }, Pi = { class: "submit-box" }, Ui = { cla
|
|
|
6012
6018
|
},
|
|
6013
6019
|
setup(e) {
|
|
6014
6020
|
const t = _n(), n = Za(), a = we("apiPrefix"), l = we("request"), o = e;
|
|
6015
|
-
let r = o.id ?? void 0, s = o.pageKey ? o.pageKey : t.params.key, i = le([]), g = le(), E = le([]), C = le({}), f = le(null),
|
|
6021
|
+
let r = o.id ?? void 0, s = o.pageKey ? o.pageKey : t.params.key, i = le([]), g = le(), E = le([]), C = le({}), f = le(null), O = le(null), k = le(null), L = le({}), w = le({}), m = le([]), A = le([]), p = Vt({
|
|
6016
6022
|
pageLoading: !1,
|
|
6017
6023
|
saveBtnLoading: !1,
|
|
6018
6024
|
showDialogInitConfig: !1
|
|
@@ -6025,12 +6031,12 @@ const Fi = { class: "page-container" }, Pi = { class: "submit-box" }, Ui = { cla
|
|
|
6025
6031
|
const {
|
|
6026
6032
|
data: { pageConfigs: re }
|
|
6027
6033
|
} = await _(s), z = JSON.parse(re.pageConfig) || {};
|
|
6028
|
-
r = re.pageId, console.log("pageConfigData", z), C.value = z,
|
|
6034
|
+
r = re.pageId, console.log("pageConfigData", z), C.value = z, L.value = { ...z.tableConfig ?? {} }, w.value = { ...z.formConfig ?? {} }, m.value = [...z.buttons ?? []], A.value = [...z.fields ?? []];
|
|
6029
6035
|
} catch (re) {
|
|
6030
6036
|
console.error(re);
|
|
6031
6037
|
}
|
|
6032
6038
|
}, $ = () => {
|
|
6033
|
-
|
|
6039
|
+
L.value = {}, w.value = {}, m.value = [], A.value = [], D();
|
|
6034
6040
|
};
|
|
6035
6041
|
ke("conditionList", () => E), ke("pageKey", () => le(s)), ke("configData", () => C), Xa(async () => {
|
|
6036
6042
|
try {
|
|
@@ -6052,7 +6058,7 @@ const Fi = { class: "page-container" }, Pi = { class: "submit-box" }, Ui = { cla
|
|
|
6052
6058
|
key: s,
|
|
6053
6059
|
pageConfig: {
|
|
6054
6060
|
tableConfig: f.value.form,
|
|
6055
|
-
formConfig:
|
|
6061
|
+
formConfig: O.value.form,
|
|
6056
6062
|
buttons: k.value.getTableSelectionRows(),
|
|
6057
6063
|
fields: A.value
|
|
6058
6064
|
}
|
|
@@ -6063,7 +6069,7 @@ const Fi = { class: "page-container" }, Pi = { class: "submit-box" }, Ui = { cla
|
|
|
6063
6069
|
p.saveBtnLoading = !1;
|
|
6064
6070
|
});
|
|
6065
6071
|
}, Re = async () => {
|
|
6066
|
-
Promise.all([f.value.formRef.validate(),
|
|
6072
|
+
Promise.all([f.value.formRef.validate(), O.value.formRef.validate()]).then((re) => {
|
|
6067
6073
|
re.every((z) => z) && ce();
|
|
6068
6074
|
}).catch((re) => re);
|
|
6069
6075
|
};
|
|
@@ -6074,17 +6080,17 @@ const Fi = { class: "page-container" }, Pi = { class: "submit-box" }, Ui = { cla
|
|
|
6074
6080
|
style: { margin: "0" },
|
|
6075
6081
|
gutter: 12
|
|
6076
6082
|
}, {
|
|
6077
|
-
default:
|
|
6083
|
+
default: v(() => [
|
|
6078
6084
|
S(qe, {
|
|
6079
6085
|
class: "header-operate",
|
|
6080
6086
|
span: 24
|
|
6081
6087
|
}, {
|
|
6082
|
-
default:
|
|
6088
|
+
default: v(() => [
|
|
6083
6089
|
S(Ge, {
|
|
6084
6090
|
class: "form-card",
|
|
6085
6091
|
shadow: "hover"
|
|
6086
6092
|
}, {
|
|
6087
|
-
default:
|
|
6093
|
+
default: v(() => [
|
|
6088
6094
|
Ie("div", Pi, [
|
|
6089
6095
|
z[10] || (z[10] = Ie("div", { class: "submit-box-l" }, null, -1)),
|
|
6090
6096
|
Ie("div", Ui, [
|
|
@@ -6094,8 +6100,8 @@ const Fi = { class: "page-container" }, Pi = { class: "submit-box" }, Ui = { cla
|
|
|
6094
6100
|
loading: T(p).initBtnLoading,
|
|
6095
6101
|
onClick: z[0] || (z[0] = (me) => te())
|
|
6096
6102
|
}, {
|
|
6097
|
-
default:
|
|
6098
|
-
|
|
6103
|
+
default: v(() => [...z[8] || (z[8] = [
|
|
6104
|
+
ve("一键初始化配置", -1)
|
|
6099
6105
|
])]),
|
|
6100
6106
|
_: 1
|
|
6101
6107
|
}, 8, ["loading"])), [
|
|
@@ -6104,14 +6110,14 @@ const Fi = { class: "page-container" }, Pi = { class: "submit-box" }, Ui = { cla
|
|
|
6104
6110
|
S(Me, {
|
|
6105
6111
|
class: "menu-select",
|
|
6106
6112
|
modelValue: T(g),
|
|
6107
|
-
"onUpdate:modelValue": z[1] || (z[1] = (me) =>
|
|
6113
|
+
"onUpdate:modelValue": z[1] || (z[1] = (me) => Lt(g) ? g.value = me : g = me),
|
|
6108
6114
|
placeholder: "菜单切换",
|
|
6109
6115
|
clearable: "",
|
|
6110
6116
|
filterable: "",
|
|
6111
6117
|
onChange: H
|
|
6112
6118
|
}, {
|
|
6113
|
-
default:
|
|
6114
|
-
(Y(!0), _e(
|
|
6119
|
+
default: v(() => [
|
|
6120
|
+
(Y(!0), _e(Oe, null, Ze(T(i), (me) => (Y(), se(rt, {
|
|
6115
6121
|
key: me.id,
|
|
6116
6122
|
label: me.name,
|
|
6117
6123
|
value: me.id
|
|
@@ -6125,8 +6131,8 @@ const Fi = { class: "page-container" }, Pi = { class: "submit-box" }, Ui = { cla
|
|
|
6125
6131
|
loading: T(p).saveBtnLoading,
|
|
6126
6132
|
onClick: z[2] || (z[2] = (me) => Re(re.formRef))
|
|
6127
6133
|
}, {
|
|
6128
|
-
default:
|
|
6129
|
-
|
|
6134
|
+
default: v(() => [...z[9] || (z[9] = [
|
|
6135
|
+
ve("保存", -1)
|
|
6130
6136
|
])]),
|
|
6131
6137
|
_: 1
|
|
6132
6138
|
}, 8, ["loading"])), [
|
|
@@ -6144,12 +6150,12 @@ const Fi = { class: "page-container" }, Pi = { class: "submit-box" }, Ui = { cla
|
|
|
6144
6150
|
class: "mt12",
|
|
6145
6151
|
span: 12
|
|
6146
6152
|
}, {
|
|
6147
|
-
default:
|
|
6153
|
+
default: v(() => [
|
|
6148
6154
|
S(ki, {
|
|
6149
6155
|
ref_key: "configTableRef",
|
|
6150
6156
|
ref: f,
|
|
6151
|
-
modelValue: T(
|
|
6152
|
-
"onUpdate:modelValue": z[3] || (z[3] = (me) =>
|
|
6157
|
+
modelValue: T(L),
|
|
6158
|
+
"onUpdate:modelValue": z[3] || (z[3] = (me) => Lt(L) ? L.value = me : L = me)
|
|
6153
6159
|
}, null, 8, ["modelValue"])
|
|
6154
6160
|
]),
|
|
6155
6161
|
_: 1
|
|
@@ -6158,12 +6164,12 @@ const Fi = { class: "page-container" }, Pi = { class: "submit-box" }, Ui = { cla
|
|
|
6158
6164
|
class: "mt12",
|
|
6159
6165
|
span: 12
|
|
6160
6166
|
}, {
|
|
6161
|
-
default:
|
|
6167
|
+
default: v(() => [
|
|
6162
6168
|
S(Ti, {
|
|
6163
6169
|
ref_key: "configFormRef",
|
|
6164
|
-
ref:
|
|
6170
|
+
ref: O,
|
|
6165
6171
|
modelValue: T(w),
|
|
6166
|
-
"onUpdate:modelValue": z[4] || (z[4] = (me) =>
|
|
6172
|
+
"onUpdate:modelValue": z[4] || (z[4] = (me) => Lt(w) ? w.value = me : w = me)
|
|
6167
6173
|
}, null, 8, ["modelValue"])
|
|
6168
6174
|
]),
|
|
6169
6175
|
_: 1
|
|
@@ -6172,12 +6178,12 @@ const Fi = { class: "page-container" }, Pi = { class: "submit-box" }, Ui = { cla
|
|
|
6172
6178
|
class: "mt12",
|
|
6173
6179
|
span: 24
|
|
6174
6180
|
}, {
|
|
6175
|
-
default:
|
|
6181
|
+
default: v(() => [
|
|
6176
6182
|
S(Si, {
|
|
6177
6183
|
ref_key: "configBtnsRef",
|
|
6178
6184
|
ref: k,
|
|
6179
6185
|
modelValue: T(m),
|
|
6180
|
-
"onUpdate:modelValue": z[5] || (z[5] = (me) =>
|
|
6186
|
+
"onUpdate:modelValue": z[5] || (z[5] = (me) => Lt(m) ? m.value = me : m = me)
|
|
6181
6187
|
}, null, 8, ["modelValue"])
|
|
6182
6188
|
]),
|
|
6183
6189
|
_: 1
|
|
@@ -6186,10 +6192,10 @@ const Fi = { class: "page-container" }, Pi = { class: "submit-box" }, Ui = { cla
|
|
|
6186
6192
|
class: "mt12",
|
|
6187
6193
|
span: 24
|
|
6188
6194
|
}, {
|
|
6189
|
-
default:
|
|
6190
|
-
S(
|
|
6195
|
+
default: v(() => [
|
|
6196
|
+
S(Oi, {
|
|
6191
6197
|
modelValue: T(A),
|
|
6192
|
-
"onUpdate:modelValue": z[6] || (z[6] = (me) =>
|
|
6198
|
+
"onUpdate:modelValue": z[6] || (z[6] = (me) => Lt(A) ? A.value = me : A = me)
|
|
6193
6199
|
}, null, 8, ["modelValue"])
|
|
6194
6200
|
]),
|
|
6195
6201
|
_: 1
|
|
@@ -6302,7 +6308,7 @@ const Fi = { class: "page-container" }, Pi = { class: "submit-box" }, Ui = { cla
|
|
|
6302
6308
|
}
|
|
6303
6309
|
}, $a = { ActPage: Gl, ActConfig: ql }, du = {
|
|
6304
6310
|
install(e, t) {
|
|
6305
|
-
var
|
|
6311
|
+
var O;
|
|
6306
6312
|
const {
|
|
6307
6313
|
modules: n,
|
|
6308
6314
|
apiPrefix: a,
|
|
@@ -6313,7 +6319,7 @@ const Fi = { class: "page-container" }, Pi = { class: "submit-box" }, Ui = { cla
|
|
|
6313
6319
|
language: { messages: i = {}, en: g = "zhCn" },
|
|
6314
6320
|
menuAuthButtons: E
|
|
6315
6321
|
} = t, C = {
|
|
6316
|
-
act: Object.assign(gn[g].act, ((
|
|
6322
|
+
act: Object.assign(gn[g].act, ((O = i[g]) == null ? void 0 : O.act) ?? {})
|
|
6317
6323
|
}, f = Rl({
|
|
6318
6324
|
locale: g,
|
|
6319
6325
|
fallbackLocale: g,
|