vue-stack-tabs 0.1.7 → 0.1.8
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/dist/vue-stack-tabs.es.js +150 -150
- package/dist/vue-stack-tabs.umd.js +4 -4
- package/package.json +1 -1
- package/src/lib/hooks/useTabpanel.tsx +8 -7
|
@@ -33,7 +33,7 @@ const Xa = Object.prototype.hasOwnProperty;
|
|
|
33
33
|
function rn(e, t) {
|
|
34
34
|
return Xa.call(e, t);
|
|
35
35
|
}
|
|
36
|
-
const q = Array.isArray, X = (e) => typeof e == "function", P = (e) => typeof e == "string",
|
|
36
|
+
const q = Array.isArray, X = (e) => typeof e == "function", P = (e) => typeof e == "string", B = (e) => typeof e == "boolean", G = (e) => e !== null && typeof e == "object", za = (e) => G(e) && X(e.then) && X(e.catch), As = Object.prototype.toString, Cs = (e) => As.call(e), V = (e) => {
|
|
37
37
|
if (!G(e))
|
|
38
38
|
return !1;
|
|
39
39
|
const t = Object.getPrototypeOf(e);
|
|
@@ -238,20 +238,20 @@ function mo(e, t = {}) {
|
|
|
238
238
|
inLinked: !1,
|
|
239
239
|
text: ""
|
|
240
240
|
}, c = () => l, { onError: h } = t;
|
|
241
|
-
function m(_, u, L, ...
|
|
241
|
+
function m(_, u, L, ...F) {
|
|
242
242
|
const $ = c();
|
|
243
243
|
if (u.column += L, u.offset += L, h) {
|
|
244
244
|
const j = n ? In($.startLoc, u) : null, Oe = Ot(_, j, {
|
|
245
245
|
domain: _o,
|
|
246
|
-
args:
|
|
246
|
+
args: F
|
|
247
247
|
});
|
|
248
248
|
h(Oe);
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
function f(_, u, L) {
|
|
252
252
|
_.endLoc = r(), _.currentType = u;
|
|
253
|
-
const
|
|
254
|
-
return n && (
|
|
253
|
+
const F = { type: u };
|
|
254
|
+
return n && (F.loc = In(_.startLoc, _.endLoc)), L != null && (F.value = L), F;
|
|
255
255
|
}
|
|
256
256
|
const E = (_) => f(
|
|
257
257
|
_,
|
|
@@ -290,15 +290,15 @@ function mo(e, t = {}) {
|
|
|
290
290
|
if (L !== 2)
|
|
291
291
|
return !1;
|
|
292
292
|
I(_);
|
|
293
|
-
const
|
|
294
|
-
return _.resetPeek(),
|
|
293
|
+
const F = d(_.currentPeek());
|
|
294
|
+
return _.resetPeek(), F;
|
|
295
295
|
}
|
|
296
296
|
function g(_, u) {
|
|
297
297
|
const { currentType: L } = u;
|
|
298
298
|
if (L !== 2)
|
|
299
299
|
return !1;
|
|
300
300
|
I(_);
|
|
301
|
-
const
|
|
301
|
+
const F = _.currentPeek() === "-" ? _.peek() : _.currentPeek(), $ = p(F);
|
|
302
302
|
return _.resetPeek(), $;
|
|
303
303
|
}
|
|
304
304
|
function k(_, u) {
|
|
@@ -306,41 +306,41 @@ function mo(e, t = {}) {
|
|
|
306
306
|
if (L !== 2)
|
|
307
307
|
return !1;
|
|
308
308
|
I(_);
|
|
309
|
-
const
|
|
310
|
-
return _.resetPeek(),
|
|
309
|
+
const F = _.currentPeek() === Tr;
|
|
310
|
+
return _.resetPeek(), F;
|
|
311
311
|
}
|
|
312
312
|
function b(_, u) {
|
|
313
313
|
const { currentType: L } = u;
|
|
314
314
|
if (L !== 8)
|
|
315
315
|
return !1;
|
|
316
316
|
I(_);
|
|
317
|
-
const
|
|
318
|
-
return _.resetPeek(),
|
|
317
|
+
const F = _.currentPeek() === ".";
|
|
318
|
+
return _.resetPeek(), F;
|
|
319
319
|
}
|
|
320
320
|
function y(_, u) {
|
|
321
321
|
const { currentType: L } = u;
|
|
322
322
|
if (L !== 9)
|
|
323
323
|
return !1;
|
|
324
324
|
I(_);
|
|
325
|
-
const
|
|
326
|
-
return _.resetPeek(),
|
|
325
|
+
const F = d(_.currentPeek());
|
|
326
|
+
return _.resetPeek(), F;
|
|
327
327
|
}
|
|
328
328
|
function C(_, u) {
|
|
329
329
|
const { currentType: L } = u;
|
|
330
330
|
if (!(L === 8 || L === 12))
|
|
331
331
|
return !1;
|
|
332
332
|
I(_);
|
|
333
|
-
const
|
|
334
|
-
return _.resetPeek(),
|
|
333
|
+
const F = _.currentPeek() === ":";
|
|
334
|
+
return _.resetPeek(), F;
|
|
335
335
|
}
|
|
336
336
|
function T(_, u) {
|
|
337
337
|
const { currentType: L } = u;
|
|
338
338
|
if (L !== 10)
|
|
339
339
|
return !1;
|
|
340
|
-
const
|
|
340
|
+
const F = () => {
|
|
341
341
|
const j = _.currentPeek();
|
|
342
|
-
return j === "{" ? d(_.peek()) : j === "@" || j === "%" || j === "|" || j === ":" || j === "." || j === Re || !j ? !1 : j === _e ? (_.peek(),
|
|
343
|
-
}, $ =
|
|
342
|
+
return j === "{" ? d(_.peek()) : j === "@" || j === "%" || j === "|" || j === ":" || j === "." || j === Re || !j ? !1 : j === _e ? (_.peek(), F()) : d(j);
|
|
343
|
+
}, $ = F();
|
|
344
344
|
return _.resetPeek(), $;
|
|
345
345
|
}
|
|
346
346
|
function w(_) {
|
|
@@ -348,7 +348,7 @@ function mo(e, t = {}) {
|
|
|
348
348
|
const u = _.currentPeek() === "|";
|
|
349
349
|
return _.resetPeek(), u;
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function D(_) {
|
|
352
352
|
const u = I(_), L = _.currentPeek() === "%" && _.peek() === "{";
|
|
353
353
|
return _.resetPeek(), {
|
|
354
354
|
isModulo: L,
|
|
@@ -359,8 +359,8 @@ function mo(e, t = {}) {
|
|
|
359
359
|
const L = ($ = !1, j = "", Oe = !1) => {
|
|
360
360
|
const we = _.currentPeek();
|
|
361
361
|
return we === "{" ? j === "%" ? !1 : $ : we === "@" || !we ? j === "%" ? !0 : $ : we === "%" ? (_.peek(), L($, "%", !0)) : we === "|" ? j === "%" || Oe ? !0 : !(j === Re || j === _e) : we === Re ? (_.peek(), L(!0, Re, Oe)) : we === _e ? (_.peek(), L(!0, _e, Oe)) : !0;
|
|
362
|
-
},
|
|
363
|
-
return u && _.resetPeek(),
|
|
362
|
+
}, F = L();
|
|
363
|
+
return u && _.resetPeek(), F;
|
|
364
364
|
}
|
|
365
365
|
function M(_, u) {
|
|
366
366
|
const L = _.currentChar();
|
|
@@ -368,26 +368,26 @@ function mo(e, t = {}) {
|
|
|
368
368
|
}
|
|
369
369
|
function Z(_) {
|
|
370
370
|
return M(_, (L) => {
|
|
371
|
-
const
|
|
372
|
-
return
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
371
|
+
const F = L.charCodeAt(0);
|
|
372
|
+
return F >= 97 && F <= 122 || // a-z
|
|
373
|
+
F >= 65 && F <= 90 || // A-Z
|
|
374
|
+
F >= 48 && F <= 57 || // 0-9
|
|
375
|
+
F === 95 || // _
|
|
376
|
+
F === 36;
|
|
377
377
|
});
|
|
378
378
|
}
|
|
379
379
|
function K(_) {
|
|
380
380
|
return M(_, (L) => {
|
|
381
|
-
const
|
|
382
|
-
return
|
|
381
|
+
const F = L.charCodeAt(0);
|
|
382
|
+
return F >= 48 && F <= 57;
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
385
|
function te(_) {
|
|
386
386
|
return M(_, (L) => {
|
|
387
|
-
const
|
|
388
|
-
return
|
|
389
|
-
|
|
390
|
-
|
|
387
|
+
const F = L.charCodeAt(0);
|
|
388
|
+
return F >= 48 && F <= 57 || // 0-9
|
|
389
|
+
F >= 65 && F <= 70 || // A-F
|
|
390
|
+
F >= 97 && F <= 102;
|
|
391
391
|
});
|
|
392
392
|
}
|
|
393
393
|
function de(_) {
|
|
@@ -440,8 +440,8 @@ function mo(e, t = {}) {
|
|
|
440
440
|
function Ee(_) {
|
|
441
441
|
S(_), N(_, "'");
|
|
442
442
|
let u = "", L = "";
|
|
443
|
-
const
|
|
444
|
-
for (; u = M(_,
|
|
443
|
+
const F = (j) => j !== Tr && j !== _e;
|
|
444
|
+
for (; u = M(_, F); )
|
|
445
445
|
u === "\\" ? L += ft(_) : L += u;
|
|
446
446
|
const $ = _.currentChar();
|
|
447
447
|
return $ === _e || $ === He ? (m(U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, r(), 0), $ === _e && (_.next(), N(_, "'")), L) : (N(_, "'"), L);
|
|
@@ -462,22 +462,22 @@ function mo(e, t = {}) {
|
|
|
462
462
|
}
|
|
463
463
|
function dt(_, u, L) {
|
|
464
464
|
N(_, u);
|
|
465
|
-
let
|
|
465
|
+
let F = "";
|
|
466
466
|
for (let $ = 0; $ < L; $++) {
|
|
467
467
|
const j = te(_);
|
|
468
468
|
if (!j) {
|
|
469
|
-
m(U.INVALID_UNICODE_ESCAPE_SEQUENCE, r(), 0, `\\${u}${
|
|
469
|
+
m(U.INVALID_UNICODE_ESCAPE_SEQUENCE, r(), 0, `\\${u}${F}${_.currentChar()}`);
|
|
470
470
|
break;
|
|
471
471
|
}
|
|
472
|
-
|
|
472
|
+
F += j;
|
|
473
473
|
}
|
|
474
|
-
return `\\${u}${
|
|
474
|
+
return `\\${u}${F}`;
|
|
475
475
|
}
|
|
476
476
|
function It(_) {
|
|
477
477
|
S(_);
|
|
478
478
|
let u = "", L = "";
|
|
479
|
-
const
|
|
480
|
-
for (; u = M(_,
|
|
479
|
+
const F = ($) => $ !== "{" && $ !== "}" && $ !== Re && $ !== _e;
|
|
480
|
+
for (; u = M(_, F); )
|
|
481
481
|
L += u;
|
|
482
482
|
return L;
|
|
483
483
|
}
|
|
@@ -488,9 +488,9 @@ function mo(e, t = {}) {
|
|
|
488
488
|
return L;
|
|
489
489
|
}
|
|
490
490
|
function St(_) {
|
|
491
|
-
const u = (L = !1,
|
|
491
|
+
const u = (L = !1, F) => {
|
|
492
492
|
const $ = _.currentChar();
|
|
493
|
-
return $ === "{" || $ === "%" || $ === "@" || $ === "|" || $ === "(" || $ === ")" || !$ || $ === Re ?
|
|
493
|
+
return $ === "{" || $ === "%" || $ === "@" || $ === "|" || $ === "(" || $ === ")" || !$ || $ === Re ? F : $ === _e || $ === fo ? (F += $, _.next(), u(L, F)) : (F += $, _.next(), u(!0, F));
|
|
494
494
|
};
|
|
495
495
|
return u(!1, "");
|
|
496
496
|
}
|
|
@@ -542,16 +542,16 @@ function mo(e, t = {}) {
|
|
|
542
542
|
}
|
|
543
543
|
function We(_, u) {
|
|
544
544
|
const { currentType: L } = u;
|
|
545
|
-
let
|
|
545
|
+
let F = null;
|
|
546
546
|
const $ = _.currentChar();
|
|
547
547
|
switch ((L === 8 || L === 9 || L === 12 || L === 10) && ($ === _e || $ === Re) && m(U.INVALID_LINKED_FORMAT, r(), 0), $) {
|
|
548
548
|
case "@":
|
|
549
|
-
return _.next(),
|
|
549
|
+
return _.next(), F = f(
|
|
550
550
|
u,
|
|
551
551
|
8,
|
|
552
552
|
"@"
|
|
553
553
|
/* TokenChars.LinkedAlias */
|
|
554
|
-
), u.inLinked = !0,
|
|
554
|
+
), u.inLinked = !0, F;
|
|
555
555
|
case ".":
|
|
556
556
|
return S(_), _.next(), f(
|
|
557
557
|
u,
|
|
@@ -567,7 +567,7 @@ function mo(e, t = {}) {
|
|
|
567
567
|
/* TokenChars.LinkedDelimiter */
|
|
568
568
|
);
|
|
569
569
|
default:
|
|
570
|
-
return w(_) ? (
|
|
570
|
+
return w(_) ? (F = f(u, 1, _t(_)), u.braceNest = 0, u.inLinked = !1, F) : b(_, u) || C(_, u) ? (S(_), We(_, u)) : y(_, u) ? (S(_), f(u, 12, kt(_))) : T(_, u) ? (S(_), $ === "{" ? Je(_, u) || F : f(u, 11, St(_))) : (L === 8 && m(U.INVALID_LINKED_FORMAT, r(), 0), u.braceNest = 0, u.inLinked = !1, Qe(_, u));
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
573
|
function Qe(_, u) {
|
|
@@ -594,7 +594,7 @@ function mo(e, t = {}) {
|
|
|
594
594
|
default:
|
|
595
595
|
if (w(_))
|
|
596
596
|
return L = f(u, 1, _t(_)), u.braceNest = 0, u.inLinked = !1, L;
|
|
597
|
-
const { isModulo: $, hasSpace: j } =
|
|
597
|
+
const { isModulo: $, hasSpace: j } = D(_);
|
|
598
598
|
if ($)
|
|
599
599
|
return j ? f(u, 0, Ce(_)) : f(u, 4, Ve(_));
|
|
600
600
|
if (O(_))
|
|
@@ -604,8 +604,8 @@ function mo(e, t = {}) {
|
|
|
604
604
|
return L;
|
|
605
605
|
}
|
|
606
606
|
function At() {
|
|
607
|
-
const { currentType: _, offset: u, startLoc: L, endLoc:
|
|
608
|
-
return l.lastType = _, l.lastOffset = u, l.lastStartLoc = L, l.lastEndLoc =
|
|
607
|
+
const { currentType: _, offset: u, startLoc: L, endLoc: F } = l;
|
|
608
|
+
return l.lastType = _, l.lastOffset = u, l.lastStartLoc = L, l.lastEndLoc = F, l.offset = a(), l.startLoc = r(), s.currentChar() === He ? f(
|
|
609
609
|
l,
|
|
610
610
|
14
|
|
611
611
|
/* TokenTypes.EOF */
|
|
@@ -1483,7 +1483,7 @@ function Ds(e, t, n) {
|
|
|
1483
1483
|
}
|
|
1484
1484
|
function kr(e, t, n) {
|
|
1485
1485
|
let s = !0;
|
|
1486
|
-
for (let a = 0; a < t.length &&
|
|
1486
|
+
for (let a = 0; a < t.length && B(s); a++) {
|
|
1487
1487
|
const r = t[a];
|
|
1488
1488
|
P(r) && (s = ti(e, t[a], n));
|
|
1489
1489
|
}
|
|
@@ -1537,9 +1537,9 @@ const Cr = (e) => {
|
|
|
1537
1537
|
}, ci = () => Vs;
|
|
1538
1538
|
let wr = 0;
|
|
1539
1539
|
function ui(e = {}) {
|
|
1540
|
-
const t = X(e.onWarn) ? e.onWarn : Ja, n = P(e.version) ? e.version : ri, s = P(e.locale) || X(e.locale) ? e.locale : Et, a = X(s) ? Et : s, r = q(e.fallbackLocale) || V(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, o = V(e.messages) ? e.messages : { [a]: {} }, i = V(e.datetimeFormats) ? e.datetimeFormats : { [a]: {} }, l = V(e.numberFormats) ? e.numberFormats : { [a]: {} }, c = ue({}, e.modifiers || {}, si()), h = e.pluralRules || {}, m = X(e.missing) ? e.missing : null, f =
|
|
1540
|
+
const t = X(e.onWarn) ? e.onWarn : Ja, n = P(e.version) ? e.version : ri, s = P(e.locale) || X(e.locale) ? e.locale : Et, a = X(s) ? Et : s, r = q(e.fallbackLocale) || V(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, o = V(e.messages) ? e.messages : { [a]: {} }, i = V(e.datetimeFormats) ? e.datetimeFormats : { [a]: {} }, l = V(e.numberFormats) ? e.numberFormats : { [a]: {} }, c = ue({}, e.modifiers || {}, si()), h = e.pluralRules || {}, m = X(e.missing) ? e.missing : null, f = B(e.missingWarn) || Ke(e.missingWarn) ? e.missingWarn : !0, E = B(e.fallbackWarn) || Ke(e.fallbackWarn) ? e.fallbackWarn : !0, N = !!e.fallbackFormat, I = !!e.unresolving, S = X(e.postTranslation) ? e.postTranslation : null, d = V(e.processor) ? e.processor : null, p = B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, v = !!e.escapeParameter, g = X(e.messageCompiler) ? e.messageCompiler : Fs;
|
|
1541
1541
|
process.env.NODE_ENV !== "production" && X(e.messageCompiler) && ws(ct(me.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
1542
|
-
const k = X(e.messageResolver) ? e.messageResolver : xs || Uo, b = X(e.localeFallbacker) ? e.localeFallbacker : Us || ei, y = G(e.fallbackContext) ? e.fallbackContext : void 0, C = e, T = G(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), w = G(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(),
|
|
1542
|
+
const k = X(e.messageResolver) ? e.messageResolver : xs || Uo, b = X(e.localeFallbacker) ? e.localeFallbacker : Us || ei, y = G(e.fallbackContext) ? e.fallbackContext : void 0, C = e, T = G(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), w = G(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), D = G(C.__meta) ? C.__meta : {};
|
|
1543
1543
|
wr++;
|
|
1544
1544
|
const O = {
|
|
1545
1545
|
version: n,
|
|
@@ -1563,9 +1563,9 @@ function ui(e = {}) {
|
|
|
1563
1563
|
localeFallbacker: b,
|
|
1564
1564
|
fallbackContext: y,
|
|
1565
1565
|
onWarn: t,
|
|
1566
|
-
__meta:
|
|
1566
|
+
__meta: D
|
|
1567
1567
|
};
|
|
1568
|
-
return O.datetimeFormats = i, O.numberFormats = l, O.__datetimeFormatters = T, O.__numberFormatters = w, process.env.NODE_ENV !== "production" && (O.__v_emitter = C.__v_emitter != null ? C.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Ko(O, n,
|
|
1568
|
+
return O.datetimeFormats = i, O.numberFormats = l, O.__datetimeFormatters = T, O.__numberFormatters = w, process.env.NODE_ENV !== "production" && (O.__v_emitter = C.__v_emitter != null ? C.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Ko(O, n, D), O;
|
|
1569
1569
|
}
|
|
1570
1570
|
function _n(e, t) {
|
|
1571
1571
|
return e instanceof RegExp ? e.test(t) : e;
|
|
@@ -1663,7 +1663,7 @@ const _i = /* @__NO_SIDE_EFFECTS__ */ (e, t) => {
|
|
|
1663
1663
|
if (!P(e))
|
|
1664
1664
|
throw ke(ie.NOT_SUPPORT_NON_STRING_MESSAGE);
|
|
1665
1665
|
{
|
|
1666
|
-
const n =
|
|
1666
|
+
const n = B(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
|
|
1667
1667
|
process.env.NODE_ENV !== "production" && Bs(e, n);
|
|
1668
1668
|
const a = (t.onCacheKey || Hs)(e), r = gt[a];
|
|
1669
1669
|
if (r)
|
|
@@ -1674,7 +1674,7 @@ const _i = /* @__NO_SIDE_EFFECTS__ */ (e, t) => {
|
|
|
1674
1674
|
};
|
|
1675
1675
|
function mi(e, t) {
|
|
1676
1676
|
if (__INTLIFY_JIT_COMPILATION__ && !__INTLIFY_DROP_MESSAGE_COMPILER__ && P(e)) {
|
|
1677
|
-
const n =
|
|
1677
|
+
const n = B(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
|
|
1678
1678
|
process.env.NODE_ENV !== "production" && Bs(e, n);
|
|
1679
1679
|
const a = (t.onCacheKey || Hs)(e), r = gt[a];
|
|
1680
1680
|
if (r)
|
|
@@ -1698,7 +1698,7 @@ function mi(e, t) {
|
|
|
1698
1698
|
}
|
|
1699
1699
|
const Pr = () => "", be = (e) => X(e);
|
|
1700
1700
|
function Mr(e, ...t) {
|
|
1701
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: a, messageCompiler: r, fallbackLocale: o, messages: i } = e, [l, c] = Sn(...t), h =
|
|
1701
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: a, messageCompiler: r, fallbackLocale: o, messages: i } = e, [l, c] = Sn(...t), h = B(c.missingWarn) ? c.missingWarn : e.missingWarn, m = B(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, f = B(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, E = !!c.resolvedMessage, N = P(c.default) || B(c.default) ? B(c.default) ? r ? l : () => l : c.default : n ? r ? l : () => l : "", I = n || N !== "", S = er(e, c);
|
|
1702
1702
|
f && hi(c);
|
|
1703
1703
|
let [d, p, v] = E ? [
|
|
1704
1704
|
l,
|
|
@@ -1715,7 +1715,7 @@ function Mr(e, ...t) {
|
|
|
1715
1715
|
}, C = be(g) ? g : Ys(e, l, p, g, k, y);
|
|
1716
1716
|
if (b)
|
|
1717
1717
|
return g;
|
|
1718
|
-
const T = vi(e, p, v, c), w = Xo(T),
|
|
1718
|
+
const T = vi(e, p, v, c), w = Xo(T), D = pi(e, C, w), O = s ? s(D, l) : D;
|
|
1719
1719
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
1720
1720
|
const M = {
|
|
1721
1721
|
timestamp: Date.now(),
|
|
@@ -1881,7 +1881,7 @@ function Fr(e, ...t) {
|
|
|
1881
1881
|
const { datetimeFormats: n, unresolving: s, fallbackLocale: a, onWarn: r, localeFallbacker: o } = e, { __datetimeFormatters: i } = e;
|
|
1882
1882
|
if (process.env.NODE_ENV !== "production" && !Xs.dateTimeFormat)
|
|
1883
1883
|
return r(ct(me.CANNOT_FORMAT_DATE)), sn;
|
|
1884
|
-
const [l, c, h, m] = An(...t), f =
|
|
1884
|
+
const [l, c, h, m] = An(...t), f = B(h.missingWarn) ? h.missingWarn : e.missingWarn, E = B(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn, N = !!h.part, I = er(e, h), S = o(
|
|
1885
1885
|
e,
|
|
1886
1886
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1887
1887
|
a,
|
|
@@ -1975,7 +1975,7 @@ function Ur(e, ...t) {
|
|
|
1975
1975
|
const { numberFormats: n, unresolving: s, fallbackLocale: a, onWarn: r, localeFallbacker: o } = e, { __numberFormatters: i } = e;
|
|
1976
1976
|
if (process.env.NODE_ENV !== "production" && !Xs.numberFormat)
|
|
1977
1977
|
return r(ct(me.CANNOT_FORMAT_NUMBER)), sn;
|
|
1978
|
-
const [l, c, h, m] = Cn(...t), f =
|
|
1978
|
+
const [l, c, h, m] = Cn(...t), f = B(h.missingWarn) ? h.missingWarn : e.missingWarn, E = B(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn, N = !!h.part, I = er(e, h), S = o(
|
|
1979
1979
|
e,
|
|
1980
1980
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1981
1981
|
a,
|
|
@@ -2327,7 +2327,7 @@ const Pi = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
|
2327
2327
|
function nr(e = {}, t) {
|
|
2328
2328
|
const { __root: n, __injectWithOption: s } = e, a = n === void 0, r = e.flatJson, o = Ne ? Q : Ns, i = !!e.translateExistCompatible;
|
|
2329
2329
|
process.env.NODE_ENV !== "production" && i && ws(pe(J.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));
|
|
2330
|
-
let l =
|
|
2330
|
+
let l = B(e.inheritLocale) ? e.inheritLocale : !0;
|
|
2331
2331
|
const c = o(
|
|
2332
2332
|
// prettier-ignore
|
|
2333
2333
|
n && l ? n.locale.value : P(e.locale) ? e.locale : Et
|
|
@@ -2335,7 +2335,7 @@ function nr(e = {}, t) {
|
|
|
2335
2335
|
// prettier-ignore
|
|
2336
2336
|
n && l ? n.fallbackLocale.value : P(e.fallbackLocale) || q(e.fallbackLocale) || V(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c.value
|
|
2337
2337
|
), m = o(mn(c.value, e)), f = o(V(e.datetimeFormats) ? e.datetimeFormats : { [c.value]: {} }), E = o(V(e.numberFormats) ? e.numberFormats : { [c.value]: {} });
|
|
2338
|
-
let N = n ? n.missingWarn :
|
|
2338
|
+
let N = n ? n.missingWarn : B(e.missingWarn) || Ke(e.missingWarn) ? e.missingWarn : !0, I = n ? n.fallbackWarn : B(e.fallbackWarn) || Ke(e.fallbackWarn) ? e.fallbackWarn : !0, S = n ? n.fallbackRoot : B(e.fallbackRoot) ? e.fallbackRoot : !0, d = !!e.fallbackFormat, p = X(e.missing) ? e.missing : null, v = X(e.missing) ? Gr(e.missing) : null, g = X(e.postTranslation) ? e.postTranslation : null, k = n ? n.warnHtmlMessage : B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter;
|
|
2339
2339
|
const y = n ? n.modifiers : V(e.modifiers) ? e.modifiers : {};
|
|
2340
2340
|
let C = e.pluralRules || n && n.pluralRules, T;
|
|
2341
2341
|
T = (() => {
|
|
@@ -2363,7 +2363,7 @@ function nr(e = {}, t) {
|
|
|
2363
2363
|
const R = ui(A);
|
|
2364
2364
|
return a && Cr(R), R;
|
|
2365
2365
|
})(), Ct(T, c.value, h.value);
|
|
2366
|
-
function
|
|
2366
|
+
function D() {
|
|
2367
2367
|
return [
|
|
2368
2368
|
c.value,
|
|
2369
2369
|
h.value,
|
|
@@ -2399,7 +2399,7 @@ function nr(e = {}, t) {
|
|
|
2399
2399
|
return A !== "translate" || !R.resolvedMessage;
|
|
2400
2400
|
}
|
|
2401
2401
|
const Ee = (A, R, Y, ee, Be, Yt) => {
|
|
2402
|
-
|
|
2402
|
+
D();
|
|
2403
2403
|
let mt;
|
|
2404
2404
|
try {
|
|
2405
2405
|
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, a || (T.fallbackContext = n ? ci() : void 0), mt = A(T);
|
|
@@ -2444,7 +2444,7 @@ function nr(e = {}, t) {
|
|
|
2444
2444
|
return Ee((R) => Reflect.apply(Ur, null, [R, ...A]), () => Cn(...A), "number format", (R) => Reflect.apply(R.n, R, [...A]), () => sn, (R) => P(R));
|
|
2445
2445
|
}
|
|
2446
2446
|
function St(A) {
|
|
2447
|
-
return A.map((R) => P(R) || re(R) ||
|
|
2447
|
+
return A.map((R) => P(R) || re(R) || B(R) ? Vr(String(R)) : R);
|
|
2448
2448
|
}
|
|
2449
2449
|
const Je = {
|
|
2450
2450
|
normalize: St,
|
|
@@ -2502,7 +2502,7 @@ function nr(e = {}, t) {
|
|
|
2502
2502
|
return !1;
|
|
2503
2503
|
const Y = P(R) ? R : c.value, ee = $(Y), Be = T.messageResolver(ee, A);
|
|
2504
2504
|
return i ? Be != null : qe(Be) || be(Be) || P(Be);
|
|
2505
|
-
}, () => [A], "translate exists", (Y) => Reflect.apply(Y.te, Y, [A, R]), Ri, (Y) =>
|
|
2505
|
+
}, () => [A], "translate exists", (Y) => Reflect.apply(Y.te, Y, [A, R]), Ri, (Y) => B(Y));
|
|
2506
2506
|
}
|
|
2507
2507
|
function L(A) {
|
|
2508
2508
|
let R = null;
|
|
@@ -2516,7 +2516,7 @@ function nr(e = {}, t) {
|
|
|
2516
2516
|
}
|
|
2517
2517
|
return R;
|
|
2518
2518
|
}
|
|
2519
|
-
function
|
|
2519
|
+
function F(A) {
|
|
2520
2520
|
const R = L(A);
|
|
2521
2521
|
return R ?? (n ? n.tm(A) || {} : {});
|
|
2522
2522
|
}
|
|
@@ -2632,14 +2632,14 @@ function nr(e = {}, t) {
|
|
|
2632
2632
|
setMissingHandler: yt,
|
|
2633
2633
|
[Qs]: _
|
|
2634
2634
|
};
|
|
2635
|
-
return ne.datetimeFormats = K, ne.numberFormats = te, ne.rt = dt, ne.te = u, ne.tm =
|
|
2635
|
+
return ne.datetimeFormats = K, ne.numberFormats = te, ne.rt = dt, ne.te = u, ne.tm = F, ne.d = It, ne.n = kt, ne.getDateTimeFormat = we, ne.setDateTimeFormat = Ia, ne.mergeDateTimeFormat = ka, ne.getNumberFormat = Sa, ne.setNumberFormat = Aa, ne.mergeNumberFormat = Ca, ne[ea] = s, ne[Rn] = We, ne[Pn] = At, ne[Mn] = Qe, process.env.NODE_ENV !== "production" && (ne[ut] = (A) => {
|
|
2636
2636
|
T.__v_emitter = A;
|
|
2637
2637
|
}, ne[Vt] = () => {
|
|
2638
2638
|
T.__v_emitter = void 0;
|
|
2639
2639
|
}), ne;
|
|
2640
2640
|
}
|
|
2641
2641
|
function Mi(e) {
|
|
2642
|
-
const t = P(e.locale) ? e.locale : Et, n = P(e.fallbackLocale) || q(e.fallbackLocale) || V(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, s = X(e.missing) ? e.missing : void 0, a =
|
|
2642
|
+
const t = P(e.locale) ? e.locale : Et, n = P(e.fallbackLocale) || q(e.fallbackLocale) || V(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, s = X(e.missing) ? e.missing : void 0, a = B(e.silentTranslationWarn) || Ke(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, r = B(e.silentFallbackWarn) || Ke(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = B(e.fallbackRoot) ? e.fallbackRoot : !0, i = !!e.formatFallbackMessages, l = V(e.modifiers) ? e.modifiers : {}, c = e.pluralizationRules, h = X(e.postTranslation) ? e.postTranslation : void 0, m = P(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, f = !!e.escapeParameterHtml, E = B(e.sync) ? e.sync : !0;
|
|
2643
2643
|
process.env.NODE_ENV !== "production" && e.formatter && (pe(J.NOT_SUPPORTED_FORMATTER), void 0), process.env.NODE_ENV !== "production" && e.preserveDirectiveContent && (pe(J.NOT_SUPPORTED_PRESERVE_DIRECTIVE), void 0);
|
|
2644
2644
|
let N = e.messages;
|
|
2645
2645
|
if (V(e.sharedMessages)) {
|
|
@@ -2730,17 +2730,17 @@ function Fn(e = {}, t) {
|
|
|
2730
2730
|
},
|
|
2731
2731
|
// silentTranslationWarn
|
|
2732
2732
|
get silentTranslationWarn() {
|
|
2733
|
-
return
|
|
2733
|
+
return B(n.missingWarn) ? !n.missingWarn : n.missingWarn;
|
|
2734
2734
|
},
|
|
2735
2735
|
set silentTranslationWarn(r) {
|
|
2736
|
-
n.missingWarn =
|
|
2736
|
+
n.missingWarn = B(r) ? !r : r;
|
|
2737
2737
|
},
|
|
2738
2738
|
// silentFallbackWarn
|
|
2739
2739
|
get silentFallbackWarn() {
|
|
2740
|
-
return
|
|
2740
|
+
return B(n.fallbackWarn) ? !n.fallbackWarn : n.fallbackWarn;
|
|
2741
2741
|
},
|
|
2742
2742
|
set silentFallbackWarn(r) {
|
|
2743
|
-
n.fallbackWarn =
|
|
2743
|
+
n.fallbackWarn = B(r) ? !r : r;
|
|
2744
2744
|
},
|
|
2745
2745
|
// modifiers
|
|
2746
2746
|
get modifiers() {
|
|
@@ -3079,7 +3079,7 @@ function zr(e) {
|
|
|
3079
3079
|
return P(n) && (o.locale = n), re(a) && (o.plural = a), re(r) && (o.plural = r), [t, i, o];
|
|
3080
3080
|
}
|
|
3081
3081
|
function Bi(e, t, ...n) {
|
|
3082
|
-
const s = V(n[0]) ? n[0] : {}, a = !!s.useI18nComponentName, r =
|
|
3082
|
+
const s = V(n[0]) ? n[0] : {}, a = !!s.useI18nComponentName, r = B(s.globalInstall) ? s.globalInstall : !0;
|
|
3083
3083
|
process.env.NODE_ENV !== "production" && r && a && (pe(J.COMPONENT_NAME_LEGACY_COMPATIBLE, {
|
|
3084
3084
|
name: bn.name
|
|
3085
3085
|
}), void 0), r && ([a ? "i18n" : bn.name, "I18nT"].forEach((o) => e.component(o, bn)), [jr.name, "I18nN"].forEach((o) => e.component(o, jr)), [Yr.name, "I18nD"].forEach((o) => e.component(o, Yr))), e.directive("t", Wi(t));
|
|
@@ -3356,7 +3356,7 @@ function tl(e, t) {
|
|
|
3356
3356
|
const n = ia(e.nodeId, t);
|
|
3357
3357
|
if (n) {
|
|
3358
3358
|
const [s] = e.path;
|
|
3359
|
-
s === "locale" && P(e.state.value) ? n.locale.value = e.state.value : s === "fallbackLocale" && (P(e.state.value) || q(e.state.value) || G(e.state.value)) ? n.fallbackLocale.value = e.state.value : s === "inheritLocale" &&
|
|
3359
|
+
s === "locale" && P(e.state.value) ? n.locale.value = e.state.value : s === "fallbackLocale" && (P(e.state.value) || q(e.state.value) || G(e.state.value)) ? n.fallbackLocale.value = e.state.value : s === "inheritLocale" && B(e.state.value) && (n.inheritLocale = e.state.value);
|
|
3360
3360
|
}
|
|
3361
3361
|
}
|
|
3362
3362
|
function nl(e, t, n) {
|
|
@@ -3419,7 +3419,7 @@ function qr(e, t) {
|
|
|
3419
3419
|
}
|
|
3420
3420
|
const rl = /* @__PURE__ */ Ae("global-vue-i18n");
|
|
3421
3421
|
function sl(e = {}, t) {
|
|
3422
|
-
const n = __VUE_I18N_LEGACY_API__ &&
|
|
3422
|
+
const n = __VUE_I18N_LEGACY_API__ && B(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__, s = B(e.globalInjection) ? e.globalInjection : !0, a = __VUE_I18N_LEGACY_API__ && n ? !!e.allowComposition : !0, r = /* @__PURE__ */ new Map(), [o, i] = al(e, n), l = /* @__PURE__ */ Ae(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
|
|
3423
3423
|
process.env.NODE_ENV !== "production" && n && a && (pe(J.NOTICE_DROP_ALLOW_COMPOSITION), void 0);
|
|
3424
3424
|
function c(f) {
|
|
3425
3425
|
return r.get(f) || null;
|
|
@@ -3573,13 +3573,13 @@ function dl(e, t, n, s = {}) {
|
|
|
3573
3573
|
const a = t === "local", r = Ns(null);
|
|
3574
3574
|
if (a && e.proxy && !(e.proxy.$options.i18n || e.proxy.$options.__i18n))
|
|
3575
3575
|
throw ae(H.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);
|
|
3576
|
-
const o =
|
|
3576
|
+
const o = B(s.inheritLocale) ? s.inheritLocale : !P(s.locale), i = Q(
|
|
3577
3577
|
// prettier-ignore
|
|
3578
3578
|
!a || o ? n.locale.value : P(s.locale) ? s.locale : Et
|
|
3579
3579
|
), l = Q(
|
|
3580
3580
|
// prettier-ignore
|
|
3581
3581
|
!a || o ? n.fallbackLocale.value : P(s.fallbackLocale) || q(s.fallbackLocale) || V(s.fallbackLocale) || s.fallbackLocale === !1 ? s.fallbackLocale : i.value
|
|
3582
|
-
), c = Q(mn(i.value, s)), h = Q(V(s.datetimeFormats) ? s.datetimeFormats : { [i.value]: {} }), m = Q(V(s.numberFormats) ? s.numberFormats : { [i.value]: {} }), f = a ? n.missingWarn :
|
|
3582
|
+
), c = Q(mn(i.value, s)), h = Q(V(s.datetimeFormats) ? s.datetimeFormats : { [i.value]: {} }), m = Q(V(s.numberFormats) ? s.numberFormats : { [i.value]: {} }), f = a ? n.missingWarn : B(s.missingWarn) || Ke(s.missingWarn) ? s.missingWarn : !0, E = a ? n.fallbackWarn : B(s.fallbackWarn) || Ke(s.fallbackWarn) ? s.fallbackWarn : !0, N = a ? n.fallbackRoot : B(s.fallbackRoot) ? s.fallbackRoot : !0, I = !!s.fallbackFormat, S = X(s.missing) ? s.missing : null, d = X(s.postTranslation) ? s.postTranslation : null, p = a ? n.warnHtmlMessage : B(s.warnHtmlMessage) ? s.warnHtmlMessage : !0, v = !!s.escapeParameter, g = a ? n.modifiers : V(s.modifiers) ? s.modifiers : {}, k = s.pluralRules || a && n.pluralRules;
|
|
3583
3583
|
function b() {
|
|
3584
3584
|
return [
|
|
3585
3585
|
i.value,
|
|
@@ -3599,7 +3599,7 @@ function dl(e, t, n, s = {}) {
|
|
|
3599
3599
|
set: (u) => {
|
|
3600
3600
|
r.value && (r.value.fallbackLocale.value = u), l.value = u;
|
|
3601
3601
|
}
|
|
3602
|
-
}), T = ce(() => r.value ? r.value.messages.value : c.value), w = ce(() => h.value),
|
|
3602
|
+
}), T = ce(() => r.value ? r.value.messages.value : c.value), w = ce(() => h.value), D = ce(() => m.value);
|
|
3603
3603
|
function O() {
|
|
3604
3604
|
return r.value ? r.value.getPostTranslationHandler() : d;
|
|
3605
3605
|
}
|
|
@@ -3668,7 +3668,7 @@ function dl(e, t, n, s = {}) {
|
|
|
3668
3668
|
fallbackLocale: C,
|
|
3669
3669
|
messages: T,
|
|
3670
3670
|
datetimeFormats: w,
|
|
3671
|
-
numberFormats:
|
|
3671
|
+
numberFormats: D,
|
|
3672
3672
|
get inheritLocale() {
|
|
3673
3673
|
return r.value ? r.value.inheritLocale : o;
|
|
3674
3674
|
},
|
|
@@ -4620,13 +4620,13 @@ const Se = jl(), ur = (e) => {
|
|
|
4620
4620
|
query: s
|
|
4621
4621
|
};
|
|
4622
4622
|
}
|
|
4623
|
-
},
|
|
4624
|
-
const e = un(), t = () =>
|
|
4623
|
+
}, W = Q([]), Kt = [], le = Q([]), nt = /* @__PURE__ */ new Map(), qt = /* @__PURE__ */ new Set(), wt = Q(!0), as = "stacktab-active-tab", jt = () => {
|
|
4624
|
+
const e = un(), t = () => W.value.length, n = (T) => {
|
|
4625
4625
|
Kt.splice(0);
|
|
4626
|
-
for (const
|
|
4627
|
-
const O = fa(), M = pa(Se(
|
|
4626
|
+
for (const D of T) {
|
|
4627
|
+
const O = fa(), M = pa(Se(D, {
|
|
4628
4628
|
id: O
|
|
4629
|
-
})), Z = ur(
|
|
4629
|
+
})), Z = ur(D.path), K = Se(D, {
|
|
4630
4630
|
closable: !0,
|
|
4631
4631
|
refreshable: !0,
|
|
4632
4632
|
iframe: !1
|
|
@@ -4648,40 +4648,40 @@ const Se = jl(), ur = (e) => {
|
|
|
4648
4648
|
active: !1,
|
|
4649
4649
|
pages: Ve
|
|
4650
4650
|
};
|
|
4651
|
-
Kt.push(Ce),
|
|
4651
|
+
Kt.push(Ce), W.value.push(Ce), le.value.push(te);
|
|
4652
4652
|
}
|
|
4653
4653
|
const w = window.sessionStorage.getItem(as);
|
|
4654
4654
|
if (w != null) {
|
|
4655
|
-
const
|
|
4655
|
+
const D = Se({
|
|
4656
4656
|
pages: new En()
|
|
4657
4657
|
}, JSON.parse(w));
|
|
4658
4658
|
let O = !1;
|
|
4659
|
-
for (const M of
|
|
4660
|
-
if (M.id ===
|
|
4659
|
+
for (const M of W.value)
|
|
4660
|
+
if (M.id === D.id) {
|
|
4661
4661
|
O = !0;
|
|
4662
4662
|
break;
|
|
4663
4663
|
}
|
|
4664
|
-
O ||
|
|
4664
|
+
O || W.value.push(D);
|
|
4665
4665
|
}
|
|
4666
4666
|
}, s = (T) => {
|
|
4667
|
-
for (const w of
|
|
4667
|
+
for (const w of W.value)
|
|
4668
4668
|
if (w.id === T)
|
|
4669
4669
|
return !0;
|
|
4670
4670
|
return !1;
|
|
4671
4671
|
}, a = (T) => {
|
|
4672
|
-
|
|
4672
|
+
W.value.push(T);
|
|
4673
4673
|
}, r = (T) => {
|
|
4674
|
-
for (const w of
|
|
4674
|
+
for (const w of W.value)
|
|
4675
4675
|
if (w.id === T)
|
|
4676
4676
|
return w;
|
|
4677
4677
|
return null;
|
|
4678
4678
|
}, o = (T, w) => {
|
|
4679
|
-
let
|
|
4679
|
+
let D;
|
|
4680
4680
|
const O = Gl(T.query.__tab), M = ss(O.id, T.path, T.query.valueOf()), Z = T.query.__src;
|
|
4681
4681
|
if (nt.has(M))
|
|
4682
|
-
|
|
4682
|
+
D = nt.get(M);
|
|
4683
4683
|
else {
|
|
4684
|
-
|
|
4684
|
+
D = /* @__PURE__ */ fe({
|
|
4685
4685
|
name: M,
|
|
4686
4686
|
components: {
|
|
4687
4687
|
DynamicComponent: w
|
|
@@ -4698,9 +4698,9 @@ const Se = jl(), ur = (e) => {
|
|
|
4698
4698
|
pId: M
|
|
4699
4699
|
}, null)]);
|
|
4700
4700
|
}
|
|
4701
|
-
}), nt.set(M,
|
|
4701
|
+
}), nt.set(M, D);
|
|
4702
4702
|
let K = null;
|
|
4703
|
-
for (const de of x(
|
|
4703
|
+
for (const de of x(W))
|
|
4704
4704
|
de.active = !1, de.id === O.id && (K = de);
|
|
4705
4705
|
const te = {
|
|
4706
4706
|
id: M,
|
|
@@ -4719,31 +4719,31 @@ const Se = jl(), ur = (e) => {
|
|
|
4719
4719
|
url: decodeURIComponent(Z),
|
|
4720
4720
|
active: !0,
|
|
4721
4721
|
pages: de
|
|
4722
|
-
},
|
|
4722
|
+
}, W.value.push(K);
|
|
4723
4723
|
} else
|
|
4724
4724
|
K.active = !0, (K.pages.isEmpty() || K.pages.peek().id !== te.id) && K.pages.push(te);
|
|
4725
4725
|
b(K);
|
|
4726
4726
|
}
|
|
4727
|
-
return g(M),
|
|
4727
|
+
return g(M), D;
|
|
4728
4728
|
}, i = (T) => {
|
|
4729
4729
|
let w = "";
|
|
4730
|
-
for (let
|
|
4731
|
-
if (T === x(
|
|
4732
|
-
if (!x(
|
|
4733
|
-
|
|
4734
|
-
for (const O of x(
|
|
4730
|
+
for (let D = W.value.length - 1; D >= 0; D--)
|
|
4731
|
+
if (T === x(W)[D].id) {
|
|
4732
|
+
if (!x(W)[D].closable)
|
|
4733
|
+
return T;
|
|
4734
|
+
for (const O of x(W)[D].pages.list())
|
|
4735
4735
|
S(O.id), d(O.id);
|
|
4736
|
-
x(
|
|
4736
|
+
x(W)[D].pages.clear(), W.value.length > 1 && x(W)[D].active && (D === 0 ? w = x(W)[D + 1].id : w = x(W)[D - 1].id), x(W).splice(D, 1);
|
|
4737
4737
|
break;
|
|
4738
4738
|
}
|
|
4739
|
-
return
|
|
4739
|
+
return w !== "" && k(w), p(), w;
|
|
4740
4740
|
}, l = () => {
|
|
4741
|
-
const T = x(
|
|
4741
|
+
const T = x(W);
|
|
4742
4742
|
for (let w = T.length - 1; w >= 0; w--)
|
|
4743
4743
|
if (T[w].closable) {
|
|
4744
|
-
for (const
|
|
4745
|
-
S(
|
|
4746
|
-
x(
|
|
4744
|
+
for (const D of T[w].pages.list())
|
|
4745
|
+
S(D.id), d(D.id);
|
|
4746
|
+
x(W)[w].pages.clear(), x(W).splice(w, 1);
|
|
4747
4747
|
}
|
|
4748
4748
|
for (const w of T)
|
|
4749
4749
|
if (w.active) {
|
|
@@ -4752,50 +4752,50 @@ const Se = jl(), ur = (e) => {
|
|
|
4752
4752
|
}
|
|
4753
4753
|
k(T[T.length - 1].id);
|
|
4754
4754
|
}, c = (T) => {
|
|
4755
|
-
const w = x(
|
|
4756
|
-
let
|
|
4755
|
+
const w = x(W);
|
|
4756
|
+
let D;
|
|
4757
4757
|
for (let O = w.length - 1; O >= 0; O--)
|
|
4758
4758
|
if (w[O].id === T)
|
|
4759
|
-
|
|
4759
|
+
D = w[O];
|
|
4760
4760
|
else if (w[O].closable && w[O].id !== T) {
|
|
4761
4761
|
for (const M of w[O].pages.list())
|
|
4762
4762
|
S(M.id), d(M.id);
|
|
4763
|
-
x(
|
|
4763
|
+
x(W)[O].pages.clear(), x(W).splice(O, 1);
|
|
4764
4764
|
}
|
|
4765
|
-
|
|
4765
|
+
D.active ? p() : k(T);
|
|
4766
4766
|
}, h = (T) => {
|
|
4767
4767
|
let w = -1;
|
|
4768
|
-
const
|
|
4769
|
-
for (let O = 0; O <
|
|
4770
|
-
if (
|
|
4768
|
+
const D = x(W);
|
|
4769
|
+
for (let O = 0; O < D.length; O++)
|
|
4770
|
+
if (D[O].id === T) {
|
|
4771
4771
|
w = O - 1;
|
|
4772
4772
|
break;
|
|
4773
4773
|
}
|
|
4774
4774
|
for (let O = w; O >= 0; O--)
|
|
4775
|
-
if (
|
|
4776
|
-
for (const M of
|
|
4775
|
+
if (D[O].closable) {
|
|
4776
|
+
for (const M of D[O].pages.list())
|
|
4777
4777
|
S(M.id), d(M.id);
|
|
4778
|
-
x(
|
|
4778
|
+
x(W)[O].pages.clear(), x(W).splice(O, 1);
|
|
4779
4779
|
}
|
|
4780
|
-
for (const O of
|
|
4780
|
+
for (const O of D)
|
|
4781
4781
|
if (O.active) {
|
|
4782
4782
|
p();
|
|
4783
4783
|
return;
|
|
4784
4784
|
}
|
|
4785
|
-
k(
|
|
4785
|
+
k(D[0].id);
|
|
4786
4786
|
}, m = (T) => {
|
|
4787
|
-
const w = x(
|
|
4788
|
-
let
|
|
4787
|
+
const w = x(W);
|
|
4788
|
+
let D = w.length;
|
|
4789
4789
|
for (let O = 0; O < w.length; O++)
|
|
4790
4790
|
if (w[O].id === T) {
|
|
4791
|
-
|
|
4791
|
+
D = O + 1;
|
|
4792
4792
|
break;
|
|
4793
4793
|
}
|
|
4794
|
-
for (let O = w.length - 1; O >=
|
|
4794
|
+
for (let O = w.length - 1; O >= D; O--)
|
|
4795
4795
|
if (w[O].closable) {
|
|
4796
4796
|
for (const M of w[O].pages.list())
|
|
4797
4797
|
S(M.id), d(M.id);
|
|
4798
|
-
x(
|
|
4798
|
+
x(W)[O].pages.clear(), x(W).splice(O, 1);
|
|
4799
4799
|
}
|
|
4800
4800
|
for (const O of w)
|
|
4801
4801
|
if (O.active) {
|
|
@@ -4805,24 +4805,24 @@ const Se = jl(), ur = (e) => {
|
|
|
4805
4805
|
k(w[w.length - 1].id);
|
|
4806
4806
|
}, f = (T) => {
|
|
4807
4807
|
var w;
|
|
4808
|
-
for (const
|
|
4809
|
-
if (
|
|
4810
|
-
const O = (w =
|
|
4808
|
+
for (const D of x(W))
|
|
4809
|
+
if (D.id === T) {
|
|
4810
|
+
const O = (w = D.pages.peek()) == null ? void 0 : w.id;
|
|
4811
4811
|
for (let M = le.value.length - 1; M >= 0; M--)
|
|
4812
4812
|
if (le.value[M] === O) {
|
|
4813
|
-
le.value.splice(M, 1),
|
|
4813
|
+
le.value.splice(M, 1), D.active && (wt.value = !1);
|
|
4814
4814
|
break;
|
|
4815
4815
|
}
|
|
4816
4816
|
break;
|
|
4817
4817
|
}
|
|
4818
4818
|
}, E = () => {
|
|
4819
4819
|
const T = /* @__PURE__ */ new Set();
|
|
4820
|
-
|
|
4820
|
+
W.value.forEach((w) => {
|
|
4821
4821
|
T.add(w.pages.peek().id);
|
|
4822
4822
|
});
|
|
4823
4823
|
for (let w = le.value.length - 1; w >= 0; w--) {
|
|
4824
|
-
const
|
|
4825
|
-
T.has(
|
|
4824
|
+
const D = le.value[w];
|
|
4825
|
+
T.has(D) && le.value.splice(w, 1);
|
|
4826
4826
|
}
|
|
4827
4827
|
wt.value = !1;
|
|
4828
4828
|
}, N = (T, w) => {
|
|
@@ -4841,8 +4841,8 @@ const Se = jl(), ur = (e) => {
|
|
|
4841
4841
|
}, g = (T) => {
|
|
4842
4842
|
new Set(le.value).has(T) || le.value.push(T);
|
|
4843
4843
|
}, k = (T, w = !0) => {
|
|
4844
|
-
for (let
|
|
4845
|
-
const O =
|
|
4844
|
+
for (let D = W.value.length - 1; D >= 0; D--) {
|
|
4845
|
+
const O = W.value[D];
|
|
4846
4846
|
if (O.id === T) {
|
|
4847
4847
|
if (O.active)
|
|
4848
4848
|
break;
|
|
@@ -4854,17 +4854,17 @@ const Se = jl(), ur = (e) => {
|
|
|
4854
4854
|
});
|
|
4855
4855
|
}
|
|
4856
4856
|
} else
|
|
4857
|
-
|
|
4857
|
+
W.value[D].active = !1;
|
|
4858
4858
|
}
|
|
4859
4859
|
}, b = (T) => {
|
|
4860
4860
|
window.sessionStorage.setItem(as, JSON.stringify(T));
|
|
4861
4861
|
}, y = () => {
|
|
4862
|
-
C(), x(
|
|
4862
|
+
C(), x(W).push(...Kt), k(Kt[0].id);
|
|
4863
4863
|
}, C = () => {
|
|
4864
|
-
x(
|
|
4864
|
+
x(W).splice(0), nt.clear(), qt.clear(), x(le).splice(0), wt.value = !0;
|
|
4865
4865
|
};
|
|
4866
4866
|
return {
|
|
4867
|
-
tabs:
|
|
4867
|
+
tabs: W,
|
|
4868
4868
|
caches: le,
|
|
4869
4869
|
pageShown: wt,
|
|
4870
4870
|
initial: n,
|
|
@@ -5148,9 +5148,9 @@ var at = function(e) {
|
|
|
5148
5148
|
return Zt.get(e);
|
|
5149
5149
|
if (ba(e))
|
|
5150
5150
|
return Zt.set(e, cs), cs;
|
|
5151
|
-
var n = getComputedStyle(e), s = fr(e) && e.ownerSVGElement && e.getBBox(), a = !lc && n.boxSizing === "border-box", r = ic.test(n.writingMode || ""), o = !s && ls.test(n.overflowY || ""), i = !s && ls.test(n.overflowX || ""), l = s ? 0 : Le(n.paddingTop), c = s ? 0 : Le(n.paddingRight), h = s ? 0 : Le(n.paddingBottom), m = s ? 0 : Le(n.paddingLeft), f = s ? 0 : Le(n.borderTopWidth), E = s ? 0 : Le(n.borderRightWidth), N = s ? 0 : Le(n.borderBottomWidth), I = s ? 0 : Le(n.borderLeftWidth), S = m + c, d = l + h, p = I + E, v = f + N, g = i ? e.offsetHeight - v - e.clientHeight : 0, k = o ? e.offsetWidth - p - e.clientWidth : 0, b = a ? S + p : 0, y = a ? d + v : 0, C = s ? s.width : Le(n.width) - b - k, T = s ? s.height : Le(n.height) - y - g, w = C + S + k + p,
|
|
5151
|
+
var n = getComputedStyle(e), s = fr(e) && e.ownerSVGElement && e.getBBox(), a = !lc && n.boxSizing === "border-box", r = ic.test(n.writingMode || ""), o = !s && ls.test(n.overflowY || ""), i = !s && ls.test(n.overflowX || ""), l = s ? 0 : Le(n.paddingTop), c = s ? 0 : Le(n.paddingRight), h = s ? 0 : Le(n.paddingBottom), m = s ? 0 : Le(n.paddingLeft), f = s ? 0 : Le(n.borderTopWidth), E = s ? 0 : Le(n.borderRightWidth), N = s ? 0 : Le(n.borderBottomWidth), I = s ? 0 : Le(n.borderLeftWidth), S = m + c, d = l + h, p = I + E, v = f + N, g = i ? e.offsetHeight - v - e.clientHeight : 0, k = o ? e.offsetWidth - p - e.clientWidth : 0, b = a ? S + p : 0, y = a ? d + v : 0, C = s ? s.width : Le(n.width) - b - k, T = s ? s.height : Le(n.height) - y - g, w = C + S + k + p, D = T + d + g + v, O = at({
|
|
5152
5152
|
devicePixelContentBoxSize: bt(Math.round(C * devicePixelRatio), Math.round(T * devicePixelRatio), r),
|
|
5153
|
-
borderBoxSize: bt(w,
|
|
5153
|
+
borderBoxSize: bt(w, D, r),
|
|
5154
5154
|
contentBoxSize: bt(C, T, r),
|
|
5155
5155
|
contentRect: new ga(m, l, C, T)
|
|
5156
5156
|
});
|
|
@@ -5424,12 +5424,12 @@ const Nc = ["disabled", "title"], Oc = {
|
|
|
5424
5424
|
var M;
|
|
5425
5425
|
d();
|
|
5426
5426
|
const O = (M = n.value) == null ? void 0 : M.querySelector(".stack-tab__item.is-active");
|
|
5427
|
-
O && (
|
|
5427
|
+
O && (D(O) || w(O));
|
|
5428
5428
|
}), v = new hs(() => {
|
|
5429
5429
|
var O;
|
|
5430
5430
|
if (!N.value) {
|
|
5431
5431
|
const M = (O = n.value) == null ? void 0 : O.querySelector(".stack-tab__item.is-active");
|
|
5432
|
-
M && (
|
|
5432
|
+
M && (D(M) || w(M));
|
|
5433
5433
|
}
|
|
5434
5434
|
d();
|
|
5435
5435
|
}), g = (O, M = !0) => {
|
|
@@ -5465,13 +5465,13 @@ const Nc = ["disabled", "title"], Oc = {
|
|
|
5465
5465
|
});
|
|
5466
5466
|
const w = (O) => {
|
|
5467
5467
|
hl({ el: O, wrap: n, block: "end", inline: "center" });
|
|
5468
|
-
},
|
|
5468
|
+
}, D = (O) => {
|
|
5469
5469
|
if (!N.value)
|
|
5470
5470
|
return !0;
|
|
5471
5471
|
const M = O.offsetLeft, Z = n.value.scrollLeft;
|
|
5472
5472
|
return !(M < Z || M + O.clientWidth > Z + n.value.clientWidth);
|
|
5473
5473
|
};
|
|
5474
|
-
return t({ scrollIntoView: w, isInView:
|
|
5474
|
+
return t({ scrollIntoView: w, isInView: D }), (O, M) => (z(), se(Nt, null, [
|
|
5475
5475
|
l.value ? (z(), $e(Bn, {
|
|
5476
5476
|
key: 0,
|
|
5477
5477
|
"icon-class": "stack-tab__icon-left-arrow",
|