@emqx/shared-ui-utils 0.0.15 → 0.0.16
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/index.js +337 -332
- package/dist/index.umd.cjs +27 -26
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -239,7 +239,7 @@ var $n = { exports: {} }, zs = { exports: {} }, Zs = { exports: {} };
|
|
|
239
239
|
return T.reverse();
|
|
240
240
|
}
|
|
241
241
|
return function(g, L, p, v, R) {
|
|
242
|
-
var T, y, P, l, f, I, U, z, X = g.indexOf("."), te = W,
|
|
242
|
+
var T, y, P, l, f, I, U, z, X = g.indexOf("."), te = W, A = K;
|
|
243
243
|
for (X >= 0 && (l = ve, ve = 0, g = g.replace(".", ""), z = new H(L), I = z.pow(g.length - X), ve = l, z.c = d(
|
|
244
244
|
k(x(I.c), I.e, "0"),
|
|
245
245
|
10,
|
|
@@ -249,7 +249,7 @@ var $n = { exports: {} }, zs = { exports: {} }, Zs = { exports: {} };
|
|
|
249
249
|
;
|
|
250
250
|
if (!U[0])
|
|
251
251
|
return T.charAt(0);
|
|
252
|
-
if (X < 0 ? --P : (I.c = U, I.e = P, I.s = v, I = C(I, z, te,
|
|
252
|
+
if (X < 0 ? --P : (I.c = U, I.e = P, I.s = v, I = C(I, z, te, A, p), U = I.c, f = I.r, P = I.e), y = P + te + 1, X = U[y], l = p / 2, f = f || y < 0 || U[y + 1] != null, f = A < 4 ? (X != null || f) && (A == 0 || A == (I.s < 0 ? 3 : 2)) : X > l || X == l && (A == 4 || f || A == 6 && U[y - 1] & 1 || A == (I.s < 0 ? 8 : 7)), y < 1 || !U[0])
|
|
253
253
|
g = f ? k(T.charAt(1), -te, T.charAt(0)) : T.charAt(0);
|
|
254
254
|
else {
|
|
255
255
|
if (U.length = y, f)
|
|
@@ -289,38 +289,38 @@ var $n = { exports: {} }, zs = { exports: {} }, Zs = { exports: {} };
|
|
|
289
289
|
;
|
|
290
290
|
}
|
|
291
291
|
return function(L, p, v, R, T) {
|
|
292
|
-
var y, P, l, f, I, U, z, X, te,
|
|
293
|
-
if (!
|
|
292
|
+
var y, P, l, f, I, U, z, X, te, A, $, ee, fe, Re, Ce, De, be, $e = L.s == p.s ? 1 : -1, we = L.c, Ae = p.c;
|
|
293
|
+
if (!we || !we[0] || !Ae || !Ae[0])
|
|
294
294
|
return new H(
|
|
295
295
|
// Return NaN if either NaN, or both Infinity or 0.
|
|
296
|
-
!L.s || !p.s || (
|
|
296
|
+
!L.s || !p.s || (we ? Ae && we[0] == Ae[0] : !Ae) ? NaN : (
|
|
297
297
|
// Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0.
|
|
298
|
-
|
|
298
|
+
we && we[0] == 0 || !Ae ? $e * 0 : $e / 0
|
|
299
299
|
)
|
|
300
300
|
);
|
|
301
|
-
for (X = new H($e), te = X.c = [], P = L.e - p.e, $e = v + P + 1, T || (T = c, P = M(L.e / E) - M(p.e / E), $e = $e / E | 0), l = 0;
|
|
301
|
+
for (X = new H($e), te = X.c = [], P = L.e - p.e, $e = v + P + 1, T || (T = c, P = M(L.e / E) - M(p.e / E), $e = $e / E | 0), l = 0; Ae[l] == (we[l] || 0); l++)
|
|
302
302
|
;
|
|
303
|
-
if (
|
|
303
|
+
if (Ae[l] > (we[l] || 0) && P--, $e < 0)
|
|
304
304
|
te.push(1), f = !0;
|
|
305
305
|
else {
|
|
306
|
-
for (Re =
|
|
306
|
+
for (Re = we.length, De = Ae.length, l = 0, $e += 2, I = s(T / (Ae[0] + 1)), I > 1 && (Ae = u(Ae, I, T), we = u(we, I, T), De = Ae.length, Re = we.length), fe = De, A = we.slice(0, De), $ = A.length; $ < De; A[$++] = 0)
|
|
307
307
|
;
|
|
308
|
-
be =
|
|
308
|
+
be = Ae.slice(), be = [0].concat(be), Ce = Ae[0], Ae[1] >= T / 2 && Ce++;
|
|
309
309
|
do {
|
|
310
|
-
if (I = 0, y = d(
|
|
311
|
-
if (ee =
|
|
312
|
-
for (I >= T && (I = T - 1), U = u(
|
|
313
|
-
I--, g(U, De < z ? be :
|
|
310
|
+
if (I = 0, y = d(Ae, A, De, $), y < 0) {
|
|
311
|
+
if (ee = A[0], De != $ && (ee = ee * T + (A[1] || 0)), I = s(ee / Ce), I > 1)
|
|
312
|
+
for (I >= T && (I = T - 1), U = u(Ae, I, T), z = U.length, $ = A.length; d(U, A, z, $) == 1; )
|
|
313
|
+
I--, g(U, De < z ? be : Ae, z, T), z = U.length, y = 1;
|
|
314
314
|
else
|
|
315
|
-
I == 0 && (y = I = 1), U =
|
|
316
|
-
if (z < $ && (U = [0].concat(U)), g(
|
|
317
|
-
for (; d(
|
|
318
|
-
I++, g(
|
|
315
|
+
I == 0 && (y = I = 1), U = Ae.slice(), z = U.length;
|
|
316
|
+
if (z < $ && (U = [0].concat(U)), g(A, U, $, T), $ = A.length, y == -1)
|
|
317
|
+
for (; d(Ae, A, De, $) < 1; )
|
|
318
|
+
I++, g(A, De < $ ? be : Ae, $, T), $ = A.length;
|
|
319
319
|
} else
|
|
320
|
-
y === 0 && (I++,
|
|
321
|
-
te[l++] = I,
|
|
322
|
-
} while ((fe++ < Re ||
|
|
323
|
-
f =
|
|
320
|
+
y === 0 && (I++, A = [0]);
|
|
321
|
+
te[l++] = I, A[0] ? A[$++] = we[fe] || 0 : (A = [we[fe]], $ = 1);
|
|
322
|
+
} while ((fe++ < Re || A[0] != null) && $e--);
|
|
323
|
+
f = A[0] != null, te[0] || te.splice(0, 1);
|
|
324
324
|
}
|
|
325
325
|
if (T == c) {
|
|
326
326
|
for (l = 1, $e = te[0]; $e >= 10; $e /= 10, l++)
|
|
@@ -455,17 +455,17 @@ var $n = { exports: {} }, zs = { exports: {} }, Zs = { exports: {} };
|
|
|
455
455
|
if (u = new H(u), u.c && !u.isInteger())
|
|
456
456
|
throw Error(o + "Exponent not an integer: " + J(u));
|
|
457
457
|
if (d != null && (d = new H(d)), T = u.e > 14, !f.c || !f.c[0] || f.c[0] == 1 && !f.e && f.c.length == 1 || !u.c || !u.c[0])
|
|
458
|
-
return l = new H(Math.pow(+J(f), T ? u.s * (2 -
|
|
458
|
+
return l = new H(Math.pow(+J(f), T ? u.s * (2 - w(u)) : +J(u))), d ? l.mod(d) : l;
|
|
459
459
|
if (y = u.s < 0, d) {
|
|
460
460
|
if (d.c ? !d.c[0] : !d.s)
|
|
461
461
|
return new H(NaN);
|
|
462
462
|
L = !y && f.isInteger() && d.isInteger(), L && (f = f.mod(d));
|
|
463
463
|
} else {
|
|
464
464
|
if (u.e > 9 && (f.e > 0 || f.e < -1 || (f.e == 0 ? f.c[0] > 1 || T && f.c[1] >= 24e7 : f.c[0] < 8e13 || T && f.c[0] <= 9999975e7)))
|
|
465
|
-
return v = f.s < 0 &&
|
|
465
|
+
return v = f.s < 0 && w(u) ? -0 : 0, f.e > -1 && (v = 1 / v), new H(y ? 1 / v : v);
|
|
466
466
|
ve && (v = i(ve / E + 2));
|
|
467
467
|
}
|
|
468
|
-
for (T ? (g = new H(0.5), y && (u.s = 1), P =
|
|
468
|
+
for (T ? (g = new H(0.5), y && (u.s = 1), P = w(u)) : (p = Math.abs(+J(u)), P = p % 2), l = new H(j); ; ) {
|
|
469
469
|
if (P) {
|
|
470
470
|
if (l = l.times(f), !l.c)
|
|
471
471
|
break;
|
|
@@ -476,7 +476,7 @@ var $n = { exports: {} }, zs = { exports: {} }, Zs = { exports: {} };
|
|
|
476
476
|
break;
|
|
477
477
|
P = p % 2;
|
|
478
478
|
} else if (u = u.times(g), le(u, u.e + 1, 1), u.e > 14)
|
|
479
|
-
P =
|
|
479
|
+
P = w(u);
|
|
480
480
|
else {
|
|
481
481
|
if (p = +J(u), p === 0)
|
|
482
482
|
break;
|
|
@@ -554,10 +554,10 @@ var $n = { exports: {} }, zs = { exports: {} }, Zs = { exports: {} };
|
|
|
554
554
|
var g, L, p = this;
|
|
555
555
|
return u = new H(u, d), !p.c || !u.s || u.c && !u.c[0] ? new H(NaN) : !u.c || p.c && !p.c[0] ? new H(p) : (Z == 9 ? (L = u.s, u.s = 1, g = C(p, u, 0, 3), u.s = L, g.s *= L) : g = C(p, u, 0, Z), u = p.minus(g.times(u)), !u.c[0] && Z == 1 && (u.s = p.s), u);
|
|
556
556
|
}, b.multipliedBy = b.times = function(u, d) {
|
|
557
|
-
var g, L, p, v, R, T, y, P, l, f, I, U, z, X, te,
|
|
557
|
+
var g, L, p, v, R, T, y, P, l, f, I, U, z, X, te, A = this, $ = A.c, ee = (u = new H(u, d)).c;
|
|
558
558
|
if (!$ || !ee || !$[0] || !ee[0])
|
|
559
|
-
return !
|
|
560
|
-
for (L = M(
|
|
559
|
+
return !A.s || !u.s || $ && !$[0] && !ee || ee && !ee[0] && !$ ? u.c = u.e = u.s = null : (u.s *= A.s, !$ || !ee ? u.c = u.e = null : (u.c = [0], u.e = 0)), u;
|
|
560
|
+
for (L = M(A.e / E) + M(u.e / E), u.s *= A.s, y = $.length, f = ee.length, y < f && (z = $, $ = ee, ee = z, p = y, y = f, f = p), p = y + f, z = []; p--; z.push(0))
|
|
561
561
|
;
|
|
562
562
|
for (X = c, te = N, p = f; --p >= 0; ) {
|
|
563
563
|
for (g = 0, I = ee[p] % te, U = ee[p] / te | 0, R = y, v = p + R; v > p; )
|
|
@@ -703,7 +703,7 @@ var $n = { exports: {} }, zs = { exports: {} }, Zs = { exports: {} };
|
|
|
703
703
|
if (S < C || S > m || S !== s(S))
|
|
704
704
|
throw Error(o + (_ || "Argument") + (typeof S == "number" ? S < C || S > m ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(S));
|
|
705
705
|
}
|
|
706
|
-
function
|
|
706
|
+
function w(S) {
|
|
707
707
|
var C = S.c.length - 1;
|
|
708
708
|
return M(S.e / E) == C && S.c[C] % 2 != 0;
|
|
709
709
|
}
|
|
@@ -748,10 +748,10 @@ var ei = Zs.exports;
|
|
|
748
748
|
}) + '"' : '"' + O + '"';
|
|
749
749
|
}
|
|
750
750
|
function E(O, h) {
|
|
751
|
-
var N, D, B, M, x = i, G, V = h[O],
|
|
751
|
+
var N, D, B, M, x = i, G, V = h[O], w = V != null && (V instanceof t || t.isBigNumber(V));
|
|
752
752
|
switch (V && typeof V == "object" && typeof V.toJSON == "function" && (V = V.toJSON(O)), typeof a == "function" && (V = a.call(h, O, V)), typeof V) {
|
|
753
753
|
case "string":
|
|
754
|
-
return
|
|
754
|
+
return w ? V : c(V);
|
|
755
755
|
case "number":
|
|
756
756
|
return isFinite(V) ? String(V) : "null";
|
|
757
757
|
case "boolean":
|
|
@@ -863,11 +863,11 @@ var Fo = function(e) {
|
|
|
863
863
|
}, E = function() {
|
|
864
864
|
var M, x, G = "", V;
|
|
865
865
|
if (r === '"')
|
|
866
|
-
for (var
|
|
866
|
+
for (var w = n; a(); ) {
|
|
867
867
|
if (r === '"')
|
|
868
|
-
return n - 1 >
|
|
868
|
+
return n - 1 > w && (G += s.substring(w, n - 1)), a(), G;
|
|
869
869
|
if (r === "\\") {
|
|
870
|
-
if (n - 1 >
|
|
870
|
+
if (n - 1 > w && (G += s.substring(w, n - 1)), a(), r === "u") {
|
|
871
871
|
for (V = 0, x = 0; x < 4 && (M = parseInt(a(), 16), !!isFinite(M)); x += 1)
|
|
872
872
|
V = V * 16 + M;
|
|
873
873
|
G += String.fromCharCode(V);
|
|
@@ -875,7 +875,7 @@ var Fo = function(e) {
|
|
|
875
875
|
G += i[r];
|
|
876
876
|
else
|
|
877
877
|
break;
|
|
878
|
-
|
|
878
|
+
w = n;
|
|
879
879
|
}
|
|
880
880
|
}
|
|
881
881
|
o("Bad string");
|
|
@@ -932,11 +932,11 @@ var Fo = function(e) {
|
|
|
932
932
|
}
|
|
933
933
|
}, function(M, x) {
|
|
934
934
|
var G;
|
|
935
|
-
return s = M + "", n = 0, r = " ", G = N(), O(), r && o("Syntax error"), typeof x == "function" ? function V(
|
|
936
|
-
var k, S =
|
|
935
|
+
return s = M + "", n = 0, r = " ", G = N(), O(), r && o("Syntax error"), typeof x == "function" ? function V(w, F) {
|
|
936
|
+
var k, S = w[F];
|
|
937
937
|
return S && typeof S == "object" && Object.keys(S).forEach(function(C) {
|
|
938
938
|
k = V(S, C), k !== void 0 ? S[C] = k : delete S[C];
|
|
939
|
-
}), x.call(
|
|
939
|
+
}), x.call(w, F, S);
|
|
940
940
|
}({ "": G }, "") : G;
|
|
941
941
|
};
|
|
942
942
|
}, xo = Fo, ti = Po.stringify, ni = xo;
|
|
@@ -988,7 +988,7 @@ const ri = /* @__PURE__ */ Js(Vo), yf = (e) => {
|
|
|
988
988
|
} catch {
|
|
989
989
|
return si.stringify(e, t, n);
|
|
990
990
|
}
|
|
991
|
-
},
|
|
991
|
+
}, wf = (e) => {
|
|
992
992
|
if (typeof e != "number" || isNaN(e) || e < 0)
|
|
993
993
|
throw new Error("Invalid input: input should be a non-negative number");
|
|
994
994
|
if (e === 0)
|
|
@@ -997,7 +997,7 @@ const ri = /* @__PURE__ */ Js(Vo), yf = (e) => {
|
|
|
997
997
|
return `${(e / 1024 ** n).toFixed(1)} ${t[n]}`;
|
|
998
998
|
};
|
|
999
999
|
var ur = /* @__PURE__ */ ((e) => (e[e.ms = 1] = "ms", e[e.s = 1e3] = "s", e[e.m = 6e4] = "m", e[e.h = 36e5] = "h", e[e.d = 864e5] = "d", e[e.B = 1] = "B", e[e.KB = 1024] = "KB", e[e.MB = 1048576] = "MB", e[e.GB = 1073741824] = "GB", e))(ur || {});
|
|
1000
|
-
const
|
|
1000
|
+
const Af = (e, t) => {
|
|
1001
1001
|
if (!(t in ur))
|
|
1002
1002
|
throw new Error(`Invalid unit: ${t}`);
|
|
1003
1003
|
return e * ur[t];
|
|
@@ -1355,16 +1355,16 @@ License: MIT
|
|
|
1355
1355
|
var l, f, I, U;
|
|
1356
1356
|
P = P || [",", " ", "|", ";", c.RECORD_SEP, c.UNIT_SEP];
|
|
1357
1357
|
for (var z = 0; z < P.length; z++) {
|
|
1358
|
-
var X = P[z], te = 0,
|
|
1358
|
+
var X = P[z], te = 0, A = 0, $ = 0;
|
|
1359
1359
|
I = void 0;
|
|
1360
1360
|
for (var ee = new G({ comments: y, delimiter: X, newline: R, preview: 10 }).parse(v), fe = 0; fe < ee.data.length; fe++)
|
|
1361
1361
|
if (T && H(ee.data[fe]))
|
|
1362
1362
|
$++;
|
|
1363
1363
|
else {
|
|
1364
1364
|
var Re = ee.data[fe].length;
|
|
1365
|
-
|
|
1365
|
+
A += Re, I !== void 0 ? 0 < Re && (te += Math.abs(Re - I), I = Re) : I = Re;
|
|
1366
1366
|
}
|
|
1367
|
-
0 < ee.data.length && (
|
|
1367
|
+
0 < ee.data.length && (A /= ee.data.length - $), (f === void 0 || te <= f) && (U === void 0 || U < A) && 1.99 < A && (f = te, l = X, U = A);
|
|
1368
1368
|
}
|
|
1369
1369
|
return { successful: !!(m.delimiter = l), bestDelimiter: l };
|
|
1370
1370
|
}(J, m.newline, m.skipEmptyLines, m.comments, m.delimitersToGuess);
|
|
@@ -1465,9 +1465,9 @@ License: MIT
|
|
|
1465
1465
|
J.push(Z.substring(Q, X).replace(z, _)), Z[Q = X + 1 + te + ue] !== _ && (X = Z.indexOf(_, Q)), I = Z.indexOf(b, Q), U = Z.indexOf(j, Q);
|
|
1466
1466
|
break;
|
|
1467
1467
|
}
|
|
1468
|
-
var
|
|
1469
|
-
if (Z.substring(X + 1 +
|
|
1470
|
-
if (J.push(Z.substring(Q, X).replace(z, _)), Re(X + 1 +
|
|
1468
|
+
var A = ee(U);
|
|
1469
|
+
if (Z.substring(X + 1 + A, X + 1 + A + H) === j) {
|
|
1470
|
+
if (J.push(Z.substring(Q, X).replace(z, _)), Re(X + 1 + A + H), I = Z.indexOf(b, Q), X = Z.indexOf(_, Q), Oe && (De(), ce))
|
|
1471
1471
|
return Ce();
|
|
1472
1472
|
if (ne && ge.length >= ne)
|
|
1473
1473
|
return Ce(!0);
|
|
@@ -1485,8 +1485,8 @@ License: MIT
|
|
|
1485
1485
|
function ee(be) {
|
|
1486
1486
|
var $e = 0;
|
|
1487
1487
|
if (be !== -1) {
|
|
1488
|
-
var
|
|
1489
|
-
|
|
1488
|
+
var we = Z.substring(X + 1, be);
|
|
1489
|
+
we && we.trim() === "" && ($e = we.length);
|
|
1490
1490
|
}
|
|
1491
1491
|
return $e;
|
|
1492
1492
|
}
|
|
@@ -1514,7 +1514,7 @@ License: MIT
|
|
|
1514
1514
|
b.userError(_.error, _.file);
|
|
1515
1515
|
else if (_.results && _.results.data) {
|
|
1516
1516
|
var W = { abort: function() {
|
|
1517
|
-
j = !0,
|
|
1517
|
+
j = !0, w(_.workerId, { data: [], errors: [], meta: { aborted: !0 } });
|
|
1518
1518
|
}, pause: F, resume: F };
|
|
1519
1519
|
if (C(b.userStep)) {
|
|
1520
1520
|
for (var K = 0; K < _.results.data.length && (b.userStep({ data: _.results.data[K], errors: _.results.errors, meta: _.results.meta }, W), !j); K++)
|
|
@@ -1523,9 +1523,9 @@ License: MIT
|
|
|
1523
1523
|
} else
|
|
1524
1524
|
C(b.userChunk) && (b.userChunk(_.results, W, _.file), delete _.results);
|
|
1525
1525
|
}
|
|
1526
|
-
_.finished && !j &&
|
|
1526
|
+
_.finished && !j && w(_.workerId, _.results);
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function w(m, _) {
|
|
1529
1529
|
var b = o[m];
|
|
1530
1530
|
C(b.userComplete) && b.userComplete(_), b.terminate(), delete o[m];
|
|
1531
1531
|
}
|
|
@@ -1658,7 +1658,7 @@ function Pr() {
|
|
|
1658
1658
|
};
|
|
1659
1659
|
}
|
|
1660
1660
|
const On = (e) => !pe(e) || ye(e);
|
|
1661
|
-
function
|
|
1661
|
+
function wn(e, t) {
|
|
1662
1662
|
if (On(e) || On(t))
|
|
1663
1663
|
throw new Error("Invalid value");
|
|
1664
1664
|
const n = [{ src: e, des: t }];
|
|
@@ -1762,7 +1762,7 @@ function fa(e) {
|
|
|
1762
1762
|
function V() {
|
|
1763
1763
|
return s = 0, O(n) && (r++, i = 0), o(n) && n++, n++, i++, t[n];
|
|
1764
1764
|
}
|
|
1765
|
-
function
|
|
1765
|
+
function w() {
|
|
1766
1766
|
return o(n + s) && s++, s++, t[n + s];
|
|
1767
1767
|
}
|
|
1768
1768
|
function F() {
|
|
@@ -1786,7 +1786,7 @@ function fa(e) {
|
|
|
1786
1786
|
currentChar: x,
|
|
1787
1787
|
currentPeek: G,
|
|
1788
1788
|
next: V,
|
|
1789
|
-
peek:
|
|
1789
|
+
peek: w,
|
|
1790
1790
|
reset: F,
|
|
1791
1791
|
resetPeek: k,
|
|
1792
1792
|
skipToPeek: S
|
|
@@ -1854,7 +1854,7 @@ function _a(e, t = {}) {
|
|
|
1854
1854
|
const f = l.charCodeAt(0);
|
|
1855
1855
|
return f >= 48 && f <= 57;
|
|
1856
1856
|
}
|
|
1857
|
-
function
|
|
1857
|
+
function w(l, f) {
|
|
1858
1858
|
const { currentType: I } = f;
|
|
1859
1859
|
if (I !== 2)
|
|
1860
1860
|
return !1;
|
|
@@ -1926,8 +1926,8 @@ function _a(e, t = {}) {
|
|
|
1926
1926
|
}
|
|
1927
1927
|
function W(l, f = !0) {
|
|
1928
1928
|
const I = (z = !1, X = "", te = !1) => {
|
|
1929
|
-
const
|
|
1930
|
-
return
|
|
1929
|
+
const A = l.currentPeek();
|
|
1930
|
+
return A === "{" ? X === "%" ? !1 : z : A === "@" || !A ? X === "%" ? !0 : z : A === "%" ? (l.peek(), I(z, "%", !0)) : A === "|" ? X === "%" || te ? !0 : !(X === _t || X === je) : A === _t ? (l.peek(), I(!0, _t, te)) : A === je ? (l.peek(), I(!0, je, te)) : !0;
|
|
1931
1931
|
}, U = I();
|
|
1932
1932
|
return f && l.resetPeek(), U;
|
|
1933
1933
|
}
|
|
@@ -2116,7 +2116,7 @@ function _a(e, t = {}) {
|
|
|
2116
2116
|
return f.braceNest > 0 && h(re.UNTERMINATED_CLOSING_BRACE, s(), 0), I = N(f, 1, v(l)), f.braceNest = 0, f.inLinked = !1, I;
|
|
2117
2117
|
if (f.braceNest > 0 && (f.currentType === 5 || f.currentType === 6 || f.currentType === 7))
|
|
2118
2118
|
return h(re.UNTERMINATED_CLOSING_BRACE, s(), 0), f.braceNest = 0, y(l, f);
|
|
2119
|
-
if (z =
|
|
2119
|
+
if (z = w(l, f))
|
|
2120
2120
|
return I = N(f, 5, me(l)), x(l), I;
|
|
2121
2121
|
if (X = F(l, f))
|
|
2122
2122
|
return I = N(f, 6, Oe(l)), x(l), I;
|
|
@@ -2223,8 +2223,8 @@ function ga(e, t, n) {
|
|
|
2223
2223
|
}
|
|
2224
2224
|
function Ea(e = {}) {
|
|
2225
2225
|
const t = e.location !== !1, { onError: n, onWarn: r } = e;
|
|
2226
|
-
function i(
|
|
2227
|
-
const m =
|
|
2226
|
+
function i(w, F, k, S, ...C) {
|
|
2227
|
+
const m = w.currentPosition();
|
|
2228
2228
|
if (m.offset += S, m.column += S, n) {
|
|
2229
2229
|
const _ = t ? Rn(k, m) : null, b = tn(F, _, {
|
|
2230
2230
|
domain: ma,
|
|
@@ -2233,132 +2233,132 @@ function Ea(e = {}) {
|
|
|
2233
2233
|
n(b);
|
|
2234
2234
|
}
|
|
2235
2235
|
}
|
|
2236
|
-
function s(
|
|
2237
|
-
const m =
|
|
2236
|
+
function s(w, F, k, S, ...C) {
|
|
2237
|
+
const m = w.currentPosition();
|
|
2238
2238
|
if (m.offset += S, m.column += S, r) {
|
|
2239
2239
|
const _ = t ? Rn(k, m) : null;
|
|
2240
2240
|
r(ra(F, _, C));
|
|
2241
2241
|
}
|
|
2242
2242
|
}
|
|
2243
|
-
function o(
|
|
2244
|
-
const S = { type:
|
|
2243
|
+
function o(w, F, k) {
|
|
2244
|
+
const S = { type: w };
|
|
2245
2245
|
return t && (S.start = F, S.end = F, S.loc = { start: k, end: k }), S;
|
|
2246
2246
|
}
|
|
2247
|
-
function a(
|
|
2248
|
-
S && (
|
|
2247
|
+
function a(w, F, k, S) {
|
|
2248
|
+
S && (w.type = S), t && (w.end = F, w.loc && (w.loc.end = k));
|
|
2249
2249
|
}
|
|
2250
|
-
function c(
|
|
2251
|
-
const k =
|
|
2252
|
-
return S.value = F, a(S,
|
|
2250
|
+
function c(w, F) {
|
|
2251
|
+
const k = w.context(), S = o(3, k.offset, k.startLoc);
|
|
2252
|
+
return S.value = F, a(S, w.currentOffset(), w.currentPosition()), S;
|
|
2253
2253
|
}
|
|
2254
|
-
function E(
|
|
2255
|
-
const k =
|
|
2256
|
-
return m.index = parseInt(F, 10),
|
|
2254
|
+
function E(w, F) {
|
|
2255
|
+
const k = w.context(), { lastOffset: S, lastStartLoc: C } = k, m = o(5, S, C);
|
|
2256
|
+
return m.index = parseInt(F, 10), w.nextToken(), a(m, w.currentOffset(), w.currentPosition()), m;
|
|
2257
2257
|
}
|
|
2258
|
-
function O(
|
|
2259
|
-
const S =
|
|
2260
|
-
return _.key = F, k === !0 && (_.modulo = !0),
|
|
2258
|
+
function O(w, F, k) {
|
|
2259
|
+
const S = w.context(), { lastOffset: C, lastStartLoc: m } = S, _ = o(4, C, m);
|
|
2260
|
+
return _.key = F, k === !0 && (_.modulo = !0), w.nextToken(), a(_, w.currentOffset(), w.currentPosition()), _;
|
|
2261
2261
|
}
|
|
2262
|
-
function h(
|
|
2263
|
-
const k =
|
|
2264
|
-
return m.value = F.replace(ha, ga),
|
|
2262
|
+
function h(w, F) {
|
|
2263
|
+
const k = w.context(), { lastOffset: S, lastStartLoc: C } = k, m = o(9, S, C);
|
|
2264
|
+
return m.value = F.replace(ha, ga), w.nextToken(), a(m, w.currentOffset(), w.currentPosition()), m;
|
|
2265
2265
|
}
|
|
2266
|
-
function N(
|
|
2267
|
-
const F =
|
|
2268
|
-
return F.type !== 12 ? (i(
|
|
2266
|
+
function N(w) {
|
|
2267
|
+
const F = w.nextToken(), k = w.context(), { lastOffset: S, lastStartLoc: C } = k, m = o(8, S, C);
|
|
2268
|
+
return F.type !== 12 ? (i(w, re.UNEXPECTED_EMPTY_LINKED_MODIFIER, k.lastStartLoc, 0), m.value = "", a(m, S, C), {
|
|
2269
2269
|
nextConsumeToken: F,
|
|
2270
2270
|
node: m
|
|
2271
|
-
}) : (F.value == null && i(
|
|
2271
|
+
}) : (F.value == null && i(w, re.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, st(F)), m.value = F.value || "", a(m, w.currentOffset(), w.currentPosition()), {
|
|
2272
2272
|
node: m
|
|
2273
2273
|
});
|
|
2274
2274
|
}
|
|
2275
|
-
function D(
|
|
2276
|
-
const k =
|
|
2277
|
-
return S.value = F, a(S,
|
|
2275
|
+
function D(w, F) {
|
|
2276
|
+
const k = w.context(), S = o(7, k.offset, k.startLoc);
|
|
2277
|
+
return S.value = F, a(S, w.currentOffset(), w.currentPosition()), S;
|
|
2278
2278
|
}
|
|
2279
|
-
function B(
|
|
2280
|
-
const F =
|
|
2281
|
-
let S =
|
|
2279
|
+
function B(w) {
|
|
2280
|
+
const F = w.context(), k = o(6, F.offset, F.startLoc);
|
|
2281
|
+
let S = w.nextToken();
|
|
2282
2282
|
if (S.type === 9) {
|
|
2283
|
-
const C = N(
|
|
2284
|
-
k.modifier = C.node, S = C.nextConsumeToken ||
|
|
2283
|
+
const C = N(w);
|
|
2284
|
+
k.modifier = C.node, S = C.nextConsumeToken || w.nextToken();
|
|
2285
2285
|
}
|
|
2286
|
-
switch (S.type !== 10 && i(
|
|
2286
|
+
switch (S.type !== 10 && i(w, re.UNEXPECTED_LEXICAL_ANALYSIS, F.lastStartLoc, 0, st(S)), S = w.nextToken(), S.type === 2 && (S = w.nextToken()), S.type) {
|
|
2287
2287
|
case 11:
|
|
2288
|
-
S.value == null && i(
|
|
2288
|
+
S.value == null && i(w, re.UNEXPECTED_LEXICAL_ANALYSIS, F.lastStartLoc, 0, st(S)), k.key = D(w, S.value || "");
|
|
2289
2289
|
break;
|
|
2290
2290
|
case 5:
|
|
2291
|
-
S.value == null && i(
|
|
2291
|
+
S.value == null && i(w, re.UNEXPECTED_LEXICAL_ANALYSIS, F.lastStartLoc, 0, st(S)), k.key = O(w, S.value || "");
|
|
2292
2292
|
break;
|
|
2293
2293
|
case 6:
|
|
2294
|
-
S.value == null && i(
|
|
2294
|
+
S.value == null && i(w, re.UNEXPECTED_LEXICAL_ANALYSIS, F.lastStartLoc, 0, st(S)), k.key = E(w, S.value || "");
|
|
2295
2295
|
break;
|
|
2296
2296
|
case 7:
|
|
2297
|
-
S.value == null && i(
|
|
2297
|
+
S.value == null && i(w, re.UNEXPECTED_LEXICAL_ANALYSIS, F.lastStartLoc, 0, st(S)), k.key = h(w, S.value || "");
|
|
2298
2298
|
break;
|
|
2299
2299
|
default: {
|
|
2300
|
-
i(
|
|
2301
|
-
const C =
|
|
2300
|
+
i(w, re.UNEXPECTED_EMPTY_LINKED_KEY, F.lastStartLoc, 0);
|
|
2301
|
+
const C = w.context(), m = o(7, C.offset, C.startLoc);
|
|
2302
2302
|
return m.value = "", a(m, C.offset, C.startLoc), k.key = m, a(k, C.offset, C.startLoc), {
|
|
2303
2303
|
nextConsumeToken: S,
|
|
2304
2304
|
node: k
|
|
2305
2305
|
};
|
|
2306
2306
|
}
|
|
2307
2307
|
}
|
|
2308
|
-
return a(k,
|
|
2308
|
+
return a(k, w.currentOffset(), w.currentPosition()), {
|
|
2309
2309
|
node: k
|
|
2310
2310
|
};
|
|
2311
2311
|
}
|
|
2312
|
-
function M(
|
|
2313
|
-
const F =
|
|
2312
|
+
function M(w) {
|
|
2313
|
+
const F = w.context(), k = F.currentType === 1 ? w.currentOffset() : F.offset, S = F.currentType === 1 ? F.endLoc : F.startLoc, C = o(2, k, S);
|
|
2314
2314
|
C.items = [];
|
|
2315
2315
|
let m = null, _ = null;
|
|
2316
2316
|
do {
|
|
2317
|
-
const W = m ||
|
|
2317
|
+
const W = m || w.nextToken();
|
|
2318
2318
|
switch (m = null, W.type) {
|
|
2319
2319
|
case 0:
|
|
2320
|
-
W.value == null && i(
|
|
2320
|
+
W.value == null && i(w, re.UNEXPECTED_LEXICAL_ANALYSIS, F.lastStartLoc, 0, st(W)), C.items.push(c(w, W.value || ""));
|
|
2321
2321
|
break;
|
|
2322
2322
|
case 6:
|
|
2323
|
-
W.value == null && i(
|
|
2323
|
+
W.value == null && i(w, re.UNEXPECTED_LEXICAL_ANALYSIS, F.lastStartLoc, 0, st(W)), C.items.push(E(w, W.value || ""));
|
|
2324
2324
|
break;
|
|
2325
2325
|
case 4:
|
|
2326
2326
|
_ = !0;
|
|
2327
2327
|
break;
|
|
2328
2328
|
case 5:
|
|
2329
|
-
W.value == null && i(
|
|
2329
|
+
W.value == null && i(w, re.UNEXPECTED_LEXICAL_ANALYSIS, F.lastStartLoc, 0, st(W)), C.items.push(O(w, W.value || "", !!_)), _ && (s(w, Hn.USE_MODULO_SYNTAX, F.lastStartLoc, 0, st(W)), _ = null);
|
|
2330
2330
|
break;
|
|
2331
2331
|
case 7:
|
|
2332
|
-
W.value == null && i(
|
|
2332
|
+
W.value == null && i(w, re.UNEXPECTED_LEXICAL_ANALYSIS, F.lastStartLoc, 0, st(W)), C.items.push(h(w, W.value || ""));
|
|
2333
2333
|
break;
|
|
2334
2334
|
case 8: {
|
|
2335
|
-
const K = B(
|
|
2335
|
+
const K = B(w);
|
|
2336
2336
|
C.items.push(K.node), m = K.nextConsumeToken || null;
|
|
2337
2337
|
break;
|
|
2338
2338
|
}
|
|
2339
2339
|
}
|
|
2340
2340
|
} while (F.currentType !== 14 && F.currentType !== 1);
|
|
2341
|
-
const b = F.currentType === 1 ? F.lastOffset :
|
|
2341
|
+
const b = F.currentType === 1 ? F.lastOffset : w.currentOffset(), j = F.currentType === 1 ? F.lastEndLoc : w.currentPosition();
|
|
2342
2342
|
return a(C, b, j), C;
|
|
2343
2343
|
}
|
|
2344
|
-
function x(
|
|
2345
|
-
const C =
|
|
2344
|
+
function x(w, F, k, S) {
|
|
2345
|
+
const C = w.context();
|
|
2346
2346
|
let m = S.items.length === 0;
|
|
2347
2347
|
const _ = o(1, F, k);
|
|
2348
2348
|
_.cases = [], _.cases.push(S);
|
|
2349
2349
|
do {
|
|
2350
|
-
const b = M(
|
|
2350
|
+
const b = M(w);
|
|
2351
2351
|
m || (m = b.items.length === 0), _.cases.push(b);
|
|
2352
2352
|
} while (C.currentType !== 14);
|
|
2353
|
-
return m && i(
|
|
2353
|
+
return m && i(w, re.MUST_HAVE_MESSAGES_IN_PLURAL, k, 0), a(_, w.currentOffset(), w.currentPosition()), _;
|
|
2354
2354
|
}
|
|
2355
|
-
function G(
|
|
2356
|
-
const F =
|
|
2357
|
-
return F.currentType === 14 ? C : x(
|
|
2355
|
+
function G(w) {
|
|
2356
|
+
const F = w.context(), { offset: k, startLoc: S } = F, C = M(w);
|
|
2357
|
+
return F.currentType === 14 ? C : x(w, k, S, C);
|
|
2358
2358
|
}
|
|
2359
|
-
function V(
|
|
2360
|
-
const F = _a(
|
|
2361
|
-
return t && S.loc && (S.loc.source =
|
|
2359
|
+
function V(w) {
|
|
2360
|
+
const F = _a(w, fi({}, e)), k = F.context(), S = o(0, k.offset, k.startLoc);
|
|
2361
|
+
return t && S.loc && (S.loc.source = w), S.body = G(F), e.onCacheKey && (S.cacheKey = e.onCacheKey(w)), k.currentType !== 14 && i(F, re.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, w[k.offset] || ""), a(S, F.currentOffset(), F.currentPosition()), S;
|
|
2362
2362
|
}
|
|
2363
2363
|
return { parse: V };
|
|
2364
2364
|
}
|
|
@@ -2636,7 +2636,7 @@ function zt(e, t) {
|
|
|
2636
2636
|
});
|
|
2637
2637
|
}
|
|
2638
2638
|
}
|
|
2639
|
-
const
|
|
2639
|
+
const wa = (e, t = {}) => {
|
|
2640
2640
|
const n = cs(t.mode) ? t.mode : "normal", r = cs(t.filename) ? t.filename : "message.intl", i = !!t.sourceMap, s = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
2641
2641
|
`, o = t.needIndent ? t.needIndent : n !== "arrow", a = e.helpers || [], c = ya(e, {
|
|
2642
2642
|
mode: n,
|
|
@@ -2654,9 +2654,9 @@ const Aa = (e, t = {}) => {
|
|
|
2654
2654
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
2655
2655
|
};
|
|
2656
2656
|
};
|
|
2657
|
-
function
|
|
2657
|
+
function Aa(e, t = {}) {
|
|
2658
2658
|
const n = fi({}, t), r = !!n.jit, i = !!n.minify, s = n.optimize == null ? !0 : n.optimize, a = Ea(n).parse(e);
|
|
2659
|
-
return r ? (s && Ta(a), i && Bt(a), { ast: a, code: "" }) : (va(a, n),
|
|
2659
|
+
return r ? (s && Ta(a), i && Bt(a), { ast: a, code: "" }) : (va(a, n), wa(a, n));
|
|
2660
2660
|
}
|
|
2661
2661
|
/*!
|
|
2662
2662
|
* core-base v9.14.2
|
|
@@ -2964,9 +2964,9 @@ function Ya(e = {}) {
|
|
|
2964
2964
|
named: E,
|
|
2965
2965
|
plural: s,
|
|
2966
2966
|
linked: (G, ...V) => {
|
|
2967
|
-
const [
|
|
2967
|
+
const [w, F] = V;
|
|
2968
2968
|
let k = "text", S = "";
|
|
2969
|
-
V.length === 1 ? pe(
|
|
2969
|
+
V.length === 1 ? pe(w) ? (S = w.modifier || S, k = w.type || k) : q(w) && (S = w || S) : V.length === 2 && (q(w) && (S = w || S), q(F) && (k = F || k));
|
|
2970
2970
|
const C = O(G)(x), m = (
|
|
2971
2971
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
2972
2972
|
k === "vnode" && ye(C) && S ? C[0] : C
|
|
@@ -3000,22 +3000,22 @@ const Qa = /* @__PURE__ */ Ja(
|
|
|
3000
3000
|
function Ja(e) {
|
|
3001
3001
|
return (t) => cn && cn.emit(e, t);
|
|
3002
3002
|
}
|
|
3003
|
-
const pi = Hn.__EXTEND_POINT__,
|
|
3003
|
+
const pi = Hn.__EXTEND_POINT__, wt = Bn(pi), Ke = {
|
|
3004
3004
|
NOT_FOUND_KEY: pi,
|
|
3005
3005
|
// 2
|
|
3006
|
-
FALLBACK_TO_TRANSLATE:
|
|
3006
|
+
FALLBACK_TO_TRANSLATE: wt(),
|
|
3007
3007
|
// 3
|
|
3008
|
-
CANNOT_FORMAT_NUMBER:
|
|
3008
|
+
CANNOT_FORMAT_NUMBER: wt(),
|
|
3009
3009
|
// 4
|
|
3010
|
-
FALLBACK_TO_NUMBER_FORMAT:
|
|
3010
|
+
FALLBACK_TO_NUMBER_FORMAT: wt(),
|
|
3011
3011
|
// 5
|
|
3012
|
-
CANNOT_FORMAT_DATE:
|
|
3012
|
+
CANNOT_FORMAT_DATE: wt(),
|
|
3013
3013
|
// 6
|
|
3014
|
-
FALLBACK_TO_DATE_FORMAT:
|
|
3014
|
+
FALLBACK_TO_DATE_FORMAT: wt(),
|
|
3015
3015
|
// 7
|
|
3016
|
-
EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:
|
|
3016
|
+
EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: wt(),
|
|
3017
3017
|
// 8
|
|
3018
|
-
__EXTEND_POINT__:
|
|
3018
|
+
__EXTEND_POINT__: wt()
|
|
3019
3019
|
// 9
|
|
3020
3020
|
}, za = {
|
|
3021
3021
|
[Ke.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
|
|
@@ -3029,22 +3029,22 @@ const pi = Hn.__EXTEND_POINT__, At = Bn(pi), Ke = {
|
|
|
3029
3029
|
function xt(e, ...t) {
|
|
3030
3030
|
return Cr(za[e], ...t);
|
|
3031
3031
|
}
|
|
3032
|
-
const _i = re.__EXTEND_POINT__,
|
|
3032
|
+
const _i = re.__EXTEND_POINT__, At = Bn(_i), Ve = {
|
|
3033
3033
|
INVALID_ARGUMENT: _i,
|
|
3034
3034
|
// 17
|
|
3035
|
-
INVALID_DATE_ARGUMENT:
|
|
3035
|
+
INVALID_DATE_ARGUMENT: At(),
|
|
3036
3036
|
// 18
|
|
3037
|
-
INVALID_ISO_DATE_ARGUMENT:
|
|
3037
|
+
INVALID_ISO_DATE_ARGUMENT: At(),
|
|
3038
3038
|
// 19
|
|
3039
|
-
NOT_SUPPORT_NON_STRING_MESSAGE:
|
|
3039
|
+
NOT_SUPPORT_NON_STRING_MESSAGE: At(),
|
|
3040
3040
|
// 20
|
|
3041
|
-
NOT_SUPPORT_LOCALE_PROMISE_VALUE:
|
|
3041
|
+
NOT_SUPPORT_LOCALE_PROMISE_VALUE: At(),
|
|
3042
3042
|
// 21
|
|
3043
|
-
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:
|
|
3043
|
+
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: At(),
|
|
3044
3044
|
// 22
|
|
3045
|
-
NOT_SUPPORT_LOCALE_TYPE:
|
|
3045
|
+
NOT_SUPPORT_LOCALE_TYPE: At(),
|
|
3046
3046
|
// 23
|
|
3047
|
-
__EXTEND_POINT__:
|
|
3047
|
+
__EXTEND_POINT__: At()
|
|
3048
3048
|
// 24
|
|
3049
3049
|
};
|
|
3050
3050
|
function ut(e) {
|
|
@@ -3155,7 +3155,7 @@ const Ns = (e) => {
|
|
|
3155
3155
|
}, cl = () => vi;
|
|
3156
3156
|
let vs = 0;
|
|
3157
3157
|
function ul(e = {}) {
|
|
3158
|
-
const t = Ee(e.onWarn) ? e.onWarn : Fe, n = q(e.version) ? e.version : rl, r = q(e.locale) || Ee(e.locale) ? e.locale : Zt, i = Ee(r) ? Zt : r, s = ye(e.fallbackLocale) || se(e.fallbackLocale) || q(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i, o = se(e.messages) ? e.messages : zn(i), a = se(e.datetimeFormats) ? e.datetimeFormats : zn(i), c = se(e.numberFormats) ? e.numberFormats : zn(i), E = We(Ne(), e.modifiers, sl()), O = e.pluralRules || Ne(), h = Ee(e.missing) ? e.missing : null, N = oe(e.missingWarn) || It(e.missingWarn) ? e.missingWarn : !0, D = oe(e.fallbackWarn) || It(e.fallbackWarn) ? e.fallbackWarn : !0, B = !!e.fallbackFormat, M = !!e.unresolving, x = Ee(e.postTranslation) ? e.postTranslation : null, G = se(e.processor) ? e.processor : null, V = oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0,
|
|
3158
|
+
const t = Ee(e.onWarn) ? e.onWarn : Fe, n = q(e.version) ? e.version : rl, r = q(e.locale) || Ee(e.locale) ? e.locale : Zt, i = Ee(r) ? Zt : r, s = ye(e.fallbackLocale) || se(e.fallbackLocale) || q(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i, o = se(e.messages) ? e.messages : zn(i), a = se(e.datetimeFormats) ? e.datetimeFormats : zn(i), c = se(e.numberFormats) ? e.numberFormats : zn(i), E = We(Ne(), e.modifiers, sl()), O = e.pluralRules || Ne(), h = Ee(e.missing) ? e.missing : null, N = oe(e.missingWarn) || It(e.missingWarn) ? e.missingWarn : !0, D = oe(e.fallbackWarn) || It(e.fallbackWarn) ? e.fallbackWarn : !0, B = !!e.fallbackFormat, M = !!e.unresolving, x = Ee(e.postTranslation) ? e.postTranslation : null, G = se(e.processor) ? e.processor : null, V = oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, w = !!e.escapeParameter, F = Ee(e.messageCompiler) ? e.messageCompiler : hi;
|
|
3159
3159
|
process.env.NODE_ENV !== "production" && Ee(e.messageCompiler) && ci(xt(Ke.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
3160
3160
|
const k = Ee(e.messageResolver) ? e.messageResolver : gi || Va, S = Ee(e.localeFallbacker) ? e.localeFallbacker : Ei || el, C = pe(e.fallbackContext) ? e.fallbackContext : void 0, m = e, _ = pe(m.__datetimeFormatters) ? m.__datetimeFormatters : /* @__PURE__ */ new Map(), b = pe(m.__numberFormatters) ? m.__numberFormatters : /* @__PURE__ */ new Map(), j = pe(m.__meta) ? m.__meta : {};
|
|
3161
3161
|
vs++;
|
|
@@ -3175,7 +3175,7 @@ function ul(e = {}) {
|
|
|
3175
3175
|
postTranslation: x,
|
|
3176
3176
|
processor: G,
|
|
3177
3177
|
warnHtmlMessage: V,
|
|
3178
|
-
escapeParameter:
|
|
3178
|
+
escapeParameter: w,
|
|
3179
3179
|
messageCompiler: F,
|
|
3180
3180
|
messageResolver: k,
|
|
3181
3181
|
localeFallbacker: S,
|
|
@@ -3359,7 +3359,7 @@ function Li(e, t = {}) {
|
|
|
3359
3359
|
const r = t.onError || ia;
|
|
3360
3360
|
return t.onError = (i) => {
|
|
3361
3361
|
n = !0, r(i);
|
|
3362
|
-
}, { ...
|
|
3362
|
+
}, { ...Aa(e, t), detectError: n };
|
|
3363
3363
|
}
|
|
3364
3364
|
const Dl = /* @__NO_SIDE_EFFECTS__ */ (e, t) => {
|
|
3365
3365
|
if (!q(e))
|
|
@@ -3375,7 +3375,7 @@ const Dl = /* @__NO_SIDE_EFFECTS__ */ (e, t) => {
|
|
|
3375
3375
|
return a ? c : Kt[i] = c;
|
|
3376
3376
|
}
|
|
3377
3377
|
};
|
|
3378
|
-
function
|
|
3378
|
+
function wl(e, t) {
|
|
3379
3379
|
if (process.env.NODE_ENV !== "production" && (t.onWarn = Ii), __INTLIFY_JIT_COMPILATION__ && !__INTLIFY_DROP_MESSAGE_COMPILER__ && q(e)) {
|
|
3380
3380
|
const n = oe(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
|
|
3381
3381
|
process.env.NODE_ENV !== "production" && bi(e, n);
|
|
@@ -3402,8 +3402,8 @@ function Al(e, t) {
|
|
|
3402
3402
|
const Os = () => "", tt = (e) => Ee(e);
|
|
3403
3403
|
function bs(e, ...t) {
|
|
3404
3404
|
const { fallbackFormat: n, postTranslation: r, unresolving: i, messageCompiler: s, fallbackLocale: o, messages: a } = e, [c, E] = dr(...t), O = oe(E.missingWarn) ? E.missingWarn : e.missingWarn, h = oe(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, N = oe(E.escapeParameter) ? E.escapeParameter : e.escapeParameter, D = !!E.resolvedMessage, B = q(E.default) || oe(E.default) ? oe(E.default) ? s ? c : () => c : E.default : n ? s ? c : () => c : "", M = n || B !== "", x = Mr(e, E);
|
|
3405
|
-
N &&
|
|
3406
|
-
let [G, V,
|
|
3405
|
+
N && Al(E);
|
|
3406
|
+
let [G, V, w] = D ? [
|
|
3407
3407
|
c,
|
|
3408
3408
|
x,
|
|
3409
3409
|
a[x] || Ne()
|
|
@@ -3418,7 +3418,7 @@ function bs(e, ...t) {
|
|
|
3418
3418
|
}, m = tt(F) ? F : Di(e, c, V, F, k, C);
|
|
3419
3419
|
if (S)
|
|
3420
3420
|
return F;
|
|
3421
|
-
const _ = kl(e, V,
|
|
3421
|
+
const _ = kl(e, V, w, E), b = Ya(_), j = Rl(e, m, b), W = r ? r(j, c) : j;
|
|
3422
3422
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
3423
3423
|
const K = {
|
|
3424
3424
|
timestamp: Date.now(),
|
|
@@ -3431,7 +3431,7 @@ function bs(e, ...t) {
|
|
|
3431
3431
|
}
|
|
3432
3432
|
return W;
|
|
3433
3433
|
}
|
|
3434
|
-
function
|
|
3434
|
+
function Al(e) {
|
|
3435
3435
|
ye(e.list) ? e.list = e.list.map((t) => q(t) ? os(t) : t) : pe(e.named) && Object.keys(e.named).forEach((t) => {
|
|
3436
3436
|
q(e.named[t]) && (e.named[t] = os(e.named[t]));
|
|
3437
3437
|
});
|
|
@@ -3455,8 +3455,8 @@ function Si(e, t, n, r, i, s) {
|
|
|
3455
3455
|
});
|
|
3456
3456
|
}
|
|
3457
3457
|
h = o[N] || Ne();
|
|
3458
|
-
let V = null,
|
|
3459
|
-
if (process.env.NODE_ENV !== "production" && at && (V = window.performance.now(),
|
|
3458
|
+
let V = null, w, F;
|
|
3459
|
+
if (process.env.NODE_ENV !== "production" && at && (V = window.performance.now(), w = "intlify-message-resolve-start", F = "intlify-message-resolve-end", et && et(w)), (D = c(h, t)) === null && (D = h[t]), process.env.NODE_ENV !== "production" && at) {
|
|
3460
3460
|
const k = window.performance.now(), S = e.__v_emitter;
|
|
3461
3461
|
S && V && D && S.emit("message-resolve", {
|
|
3462
3462
|
type: "message-resolve",
|
|
@@ -3464,7 +3464,7 @@ function Si(e, t, n, r, i, s) {
|
|
|
3464
3464
|
message: D,
|
|
3465
3465
|
time: k - V,
|
|
3466
3466
|
groupId: `${x}:${t}`
|
|
3467
|
-
}),
|
|
3467
|
+
}), w && F && et && Ft && (et(F), Ft("intlify message resolve", w, F));
|
|
3468
3468
|
}
|
|
3469
3469
|
if (q(D) || Lt(D) || tt(D))
|
|
3470
3470
|
break;
|
|
@@ -3580,13 +3580,13 @@ function kl(e, t, n, r) {
|
|
|
3580
3580
|
};
|
|
3581
3581
|
return e.processor && (N.processor = e.processor), r.list && (N.list = r.list), r.named && (N.named = r.named), Pe(r.plural) && (N.pluralIndex = r.plural), N;
|
|
3582
3582
|
}
|
|
3583
|
-
const ys = typeof Intl < "u",
|
|
3583
|
+
const ys = typeof Intl < "u", wi = {
|
|
3584
3584
|
dateTimeFormat: ys && typeof Intl.DateTimeFormat < "u",
|
|
3585
3585
|
numberFormat: ys && typeof Intl.NumberFormat < "u"
|
|
3586
3586
|
};
|
|
3587
3587
|
function Is(e, ...t) {
|
|
3588
3588
|
const { datetimeFormats: n, unresolving: r, fallbackLocale: i, onWarn: s, localeFallbacker: o } = e, { __datetimeFormatters: a } = e;
|
|
3589
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
3589
|
+
if (process.env.NODE_ENV !== "production" && !wi.dateTimeFormat)
|
|
3590
3590
|
return s(xt(Ke.CANNOT_FORMAT_DATE)), Cn;
|
|
3591
3591
|
const [c, E, O, h] = pr(...t), N = oe(O.missingWarn) ? O.missingWarn : e.missingWarn, D = oe(O.fallbackWarn) ? O.fallbackWarn : e.fallbackWarn, B = !!O.part, M = Mr(e, O), x = o(
|
|
3592
3592
|
e,
|
|
@@ -3596,7 +3596,7 @@ function Is(e, ...t) {
|
|
|
3596
3596
|
);
|
|
3597
3597
|
if (!q(c) || c === "")
|
|
3598
3598
|
return new Intl.DateTimeFormat(M, h).format(E);
|
|
3599
|
-
let G = {}, V,
|
|
3599
|
+
let G = {}, V, w = null, F = M, k = null;
|
|
3600
3600
|
const S = "datetime format";
|
|
3601
3601
|
for (let _ = 0; _ < x.length; _++) {
|
|
3602
3602
|
if (V = k = x[_], process.env.NODE_ENV !== "production" && M !== V && jn(D, c) && s(xt(Ke.FALLBACK_TO_DATE_FORMAT, {
|
|
@@ -3612,18 +3612,18 @@ function Is(e, ...t) {
|
|
|
3612
3612
|
groupId: `${S}:${c}`
|
|
3613
3613
|
});
|
|
3614
3614
|
}
|
|
3615
|
-
if (G = n[V] || {},
|
|
3615
|
+
if (G = n[V] || {}, w = G[c], se(w))
|
|
3616
3616
|
break;
|
|
3617
3617
|
Fr(e, c, V, N, S), F = k;
|
|
3618
3618
|
}
|
|
3619
|
-
if (!se(
|
|
3619
|
+
if (!se(w) || !q(V))
|
|
3620
3620
|
return r ? Gn : c;
|
|
3621
3621
|
let C = `${V}__${c}`;
|
|
3622
3622
|
Wn(h) || (C = `${C}__${JSON.stringify(h)}`);
|
|
3623
3623
|
let m = a.get(C);
|
|
3624
|
-
return m || (m = new Intl.DateTimeFormat(V, We({},
|
|
3624
|
+
return m || (m = new Intl.DateTimeFormat(V, We({}, w, h)), a.set(C, m)), B ? m.formatToParts(E) : m.format(E);
|
|
3625
3625
|
}
|
|
3626
|
-
const
|
|
3626
|
+
const Ai = [
|
|
3627
3627
|
"localeMatcher",
|
|
3628
3628
|
"weekday",
|
|
3629
3629
|
"era",
|
|
@@ -3668,7 +3668,7 @@ function pr(...e) {
|
|
|
3668
3668
|
else
|
|
3669
3669
|
throw ut(Ve.INVALID_ARGUMENT);
|
|
3670
3670
|
return q(n) ? s.key = n : se(n) && Object.keys(n).forEach((c) => {
|
|
3671
|
-
|
|
3671
|
+
Ai.includes(c) ? o[c] = n[c] : s[c] = n[c];
|
|
3672
3672
|
}), q(r) ? s.locale = r : se(r) && (o = r), se(i) && (o = i), [s.key || "", a, s, o];
|
|
3673
3673
|
}
|
|
3674
3674
|
function Ls(e, t, n) {
|
|
@@ -3680,7 +3680,7 @@ function Ls(e, t, n) {
|
|
|
3680
3680
|
}
|
|
3681
3681
|
function Ss(e, ...t) {
|
|
3682
3682
|
const { numberFormats: n, unresolving: r, fallbackLocale: i, onWarn: s, localeFallbacker: o } = e, { __numberFormatters: a } = e;
|
|
3683
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
3683
|
+
if (process.env.NODE_ENV !== "production" && !wi.numberFormat)
|
|
3684
3684
|
return s(xt(Ke.CANNOT_FORMAT_NUMBER)), Cn;
|
|
3685
3685
|
const [c, E, O, h] = _r(...t), N = oe(O.missingWarn) ? O.missingWarn : e.missingWarn, D = oe(O.fallbackWarn) ? O.fallbackWarn : e.fallbackWarn, B = !!O.part, M = Mr(e, O), x = o(
|
|
3686
3686
|
e,
|
|
@@ -3690,7 +3690,7 @@ function Ss(e, ...t) {
|
|
|
3690
3690
|
);
|
|
3691
3691
|
if (!q(c) || c === "")
|
|
3692
3692
|
return new Intl.NumberFormat(M, h).format(E);
|
|
3693
|
-
let G = {}, V,
|
|
3693
|
+
let G = {}, V, w = null, F = M, k = null;
|
|
3694
3694
|
const S = "number format";
|
|
3695
3695
|
for (let _ = 0; _ < x.length; _++) {
|
|
3696
3696
|
if (V = k = x[_], process.env.NODE_ENV !== "production" && M !== V && jn(D, c) && s(xt(Ke.FALLBACK_TO_NUMBER_FORMAT, {
|
|
@@ -3706,16 +3706,16 @@ function Ss(e, ...t) {
|
|
|
3706
3706
|
groupId: `${S}:${c}`
|
|
3707
3707
|
});
|
|
3708
3708
|
}
|
|
3709
|
-
if (G = n[V] || {},
|
|
3709
|
+
if (G = n[V] || {}, w = G[c], se(w))
|
|
3710
3710
|
break;
|
|
3711
3711
|
Fr(e, c, V, N, S), F = k;
|
|
3712
3712
|
}
|
|
3713
|
-
if (!se(
|
|
3713
|
+
if (!se(w) || !q(V))
|
|
3714
3714
|
return r ? Gn : c;
|
|
3715
3715
|
let C = `${V}__${c}`;
|
|
3716
3716
|
Wn(h) || (C = `${C}__${JSON.stringify(h)}`);
|
|
3717
3717
|
let m = a.get(C);
|
|
3718
|
-
return m || (m = new Intl.NumberFormat(V, We({},
|
|
3718
|
+
return m || (m = new Intl.NumberFormat(V, We({}, w, h)), a.set(C, m)), B ? m.formatToParts(E) : m.format(E);
|
|
3719
3719
|
}
|
|
3720
3720
|
const Ri = [
|
|
3721
3721
|
"localeMatcher",
|
|
@@ -3790,8 +3790,8 @@ const Pt = () => {
|
|
|
3790
3790
|
value: n
|
|
3791
3791
|
});
|
|
3792
3792
|
};
|
|
3793
|
-
let
|
|
3794
|
-
const Yn = () =>
|
|
3793
|
+
let ws;
|
|
3794
|
+
const Yn = () => ws || (ws = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
3795
3795
|
function Ur(e) {
|
|
3796
3796
|
if (Ie(e)) {
|
|
3797
3797
|
const t = {};
|
|
@@ -3945,7 +3945,7 @@ class zl {
|
|
|
3945
3945
|
run() {
|
|
3946
3946
|
if (!(this.flags & 1))
|
|
3947
3947
|
return this.fn();
|
|
3948
|
-
this.flags |= 2,
|
|
3948
|
+
this.flags |= 2, As(this), xi(this);
|
|
3949
3949
|
const t = he, n = ot;
|
|
3950
3950
|
he = this, ot = !0;
|
|
3951
3951
|
try {
|
|
@@ -3960,7 +3960,7 @@ class zl {
|
|
|
3960
3960
|
if (this.flags & 1) {
|
|
3961
3961
|
for (let t = this.deps; t; t = t.nextDep)
|
|
3962
3962
|
Hr(t);
|
|
3963
|
-
this.deps = this.depsTail = void 0,
|
|
3963
|
+
this.deps = this.depsTail = void 0, As(this), this.onStop && this.onStop(), this.flags &= -2;
|
|
3964
3964
|
}
|
|
3965
3965
|
}
|
|
3966
3966
|
trigger() {
|
|
@@ -4075,7 +4075,7 @@ function vn() {
|
|
|
4075
4075
|
const e = $i.pop();
|
|
4076
4076
|
ot = e === void 0 ? !0 : e;
|
|
4077
4077
|
}
|
|
4078
|
-
function
|
|
4078
|
+
function As(e) {
|
|
4079
4079
|
const { cleanup: t } = e;
|
|
4080
4080
|
if (e.cleanup = void 0, t) {
|
|
4081
4081
|
const n = he;
|
|
@@ -4800,12 +4800,12 @@ function Ic(e, t, n = nt) {
|
|
|
4800
4800
|
k(...S), V();
|
|
4801
4801
|
};
|
|
4802
4802
|
}
|
|
4803
|
-
let
|
|
4803
|
+
let w = x ? new Array(e.length).fill(Sn) : Sn;
|
|
4804
4804
|
const F = (k) => {
|
|
4805
4805
|
if (!(!(h.flags & 1) || !h.dirty && !k))
|
|
4806
4806
|
if (t) {
|
|
4807
4807
|
const S = h.run();
|
|
4808
|
-
if (i || M || (x ? S.some((C, m) => yt(C,
|
|
4808
|
+
if (i || M || (x ? S.some((C, m) => yt(C, w[m])) : yt(S, w))) {
|
|
4809
4809
|
D && D();
|
|
4810
4810
|
const C = Rt;
|
|
4811
4811
|
Rt = h;
|
|
@@ -4813,13 +4813,13 @@ function Ic(e, t, n = nt) {
|
|
|
4813
4813
|
const m = [
|
|
4814
4814
|
S,
|
|
4815
4815
|
// pass undefined as the old value when it's changed for the first time
|
|
4816
|
-
|
|
4816
|
+
w === Sn ? void 0 : x && w[0] === Sn ? [] : w,
|
|
4817
4817
|
B
|
|
4818
4818
|
];
|
|
4819
4819
|
c ? c(t, 3, m) : (
|
|
4820
4820
|
// @ts-expect-error
|
|
4821
4821
|
t(...m)
|
|
4822
|
-
),
|
|
4822
|
+
), w = S;
|
|
4823
4823
|
} finally {
|
|
4824
4824
|
Rt = C;
|
|
4825
4825
|
}
|
|
@@ -4837,7 +4837,7 @@ function Ic(e, t, n = nt) {
|
|
|
4837
4837
|
S();
|
|
4838
4838
|
kn.delete(h);
|
|
4839
4839
|
}
|
|
4840
|
-
}, process.env.NODE_ENV !== "production" && (h.onTrack = n.onTrack, h.onTrigger = n.onTrigger), t ? r ? F(!0) :
|
|
4840
|
+
}, process.env.NODE_ENV !== "production" && (h.onTrack = n.onTrack, h.onTrigger = n.onTrigger), t ? r ? F(!0) : w = h.run() : o ? o(F.bind(null, !0), !0) : h.run(), V.pause = h.pause.bind(h), V.resume = h.resume.bind(h), V.stop = V, V;
|
|
4841
4841
|
}
|
|
4842
4842
|
function bt(e, t = 1 / 0, n) {
|
|
4843
4843
|
if (t <= 0 || !Xe(e) || e.__v_skip || (n = n || /* @__PURE__ */ new Set(), n.has(e)))
|
|
@@ -4899,7 +4899,7 @@ function Se(e, ...t) {
|
|
|
4899
4899
|
else {
|
|
4900
4900
|
const s = [`[Vue warn]: ${e}`, ...t];
|
|
4901
4901
|
i.length && s.push(`
|
|
4902
|
-
`, ...
|
|
4902
|
+
`, ...wc(i)), console.warn(...s);
|
|
4903
4903
|
}
|
|
4904
4904
|
vn(), rr = !1;
|
|
4905
4905
|
}
|
|
@@ -4919,14 +4919,14 @@ function Dc() {
|
|
|
4919
4919
|
}
|
|
4920
4920
|
return t;
|
|
4921
4921
|
}
|
|
4922
|
-
function
|
|
4922
|
+
function wc(e) {
|
|
4923
4923
|
const t = [];
|
|
4924
4924
|
return e.forEach((n, r) => {
|
|
4925
4925
|
t.push(...r === 0 ? [] : [`
|
|
4926
|
-
`], ...
|
|
4926
|
+
`], ...Ac(n));
|
|
4927
4927
|
}), t;
|
|
4928
4928
|
}
|
|
4929
|
-
function
|
|
4929
|
+
function Ac({ vnode: e, recurseCount: t }) {
|
|
4930
4930
|
const n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, i = ` at <${ho(
|
|
4931
4931
|
e.component,
|
|
4932
4932
|
e.type,
|
|
@@ -5529,7 +5529,7 @@ function Or(e) {
|
|
|
5529
5529
|
}
|
|
5530
5530
|
const cu = (...e) => fo(
|
|
5531
5531
|
...e
|
|
5532
|
-
), uo = ({ key: e }) => e ?? null,
|
|
5532
|
+
), uo = ({ key: e }) => e ?? null, An = ({
|
|
5533
5533
|
ref: e,
|
|
5534
5534
|
ref_key: t,
|
|
5535
5535
|
ref_for: n
|
|
@@ -5541,7 +5541,7 @@ function uu(e, t = null, n = null, r = 0, i = null, s = e === qn ? 0 : 1, o = !1
|
|
|
5541
5541
|
type: e,
|
|
5542
5542
|
props: t,
|
|
5543
5543
|
key: t && uo(t),
|
|
5544
|
-
ref: t &&
|
|
5544
|
+
ref: t && An(t),
|
|
5545
5545
|
scopeId: $c,
|
|
5546
5546
|
slotScopeIds: null,
|
|
5547
5547
|
children: n,
|
|
@@ -5621,7 +5621,7 @@ function Un(e, t, n = !1, r = !1) {
|
|
|
5621
5621
|
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
5622
5622
|
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
5623
5623
|
// the refs so the single vnode can be set on multiple refs
|
|
5624
|
-
n && s ? Ie(s) ? s.concat(
|
|
5624
|
+
n && s ? Ie(s) ? s.concat(An(t)) : [s, An(t)] : An(t)
|
|
5625
5625
|
) : s,
|
|
5626
5626
|
scopeId: e.scopeId,
|
|
5627
5627
|
slotScopeIds: e.slotScopeIds,
|
|
@@ -5999,7 +5999,7 @@ function Su(e, t) {
|
|
|
5999
5999
|
* Released under the MIT License.
|
|
6000
6000
|
*/
|
|
6001
6001
|
const Du = "9.14.2";
|
|
6002
|
-
function
|
|
6002
|
+
function wu() {
|
|
6003
6003
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Et().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Et().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_JIT_COMPILATION__ != "boolean" && (Et().__INTLIFY_JIT_COMPILATION__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Et().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Et().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
6004
6004
|
}
|
|
6005
6005
|
const vo = Ke.__EXTEND_POINT__, ht = Bn(vo), Le = {
|
|
@@ -6023,7 +6023,7 @@ const vo = Ke.__EXTEND_POINT__, ht = Bn(vo), Le = {
|
|
|
6023
6023
|
// 17
|
|
6024
6024
|
NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG: ht()
|
|
6025
6025
|
// 18
|
|
6026
|
-
},
|
|
6026
|
+
}, Au = {
|
|
6027
6027
|
[Le.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
|
|
6028
6028
|
[Le.NOT_SUPPORTED_PRESERVE]: "Not supported 'preserve'.",
|
|
6029
6029
|
[Le.NOT_SUPPORTED_FORMATTER]: "Not supported 'formatter'.",
|
|
@@ -6036,7 +6036,7 @@ const vo = Ke.__EXTEND_POINT__, ht = Bn(vo), Le = {
|
|
|
6036
6036
|
[Le.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]: "'translateExistCompatible' option will be dropped in the next major version."
|
|
6037
6037
|
};
|
|
6038
6038
|
function Qe(e, ...t) {
|
|
6039
|
-
return Cr(
|
|
6039
|
+
return Cr(Au[e], ...t);
|
|
6040
6040
|
}
|
|
6041
6041
|
const To = Ve.__EXTEND_POINT__, qe = Bn(To), _e = {
|
|
6042
6042
|
// composer module errors
|
|
@@ -6128,9 +6128,9 @@ function Qn(e, t) {
|
|
|
6128
6128
|
if (ye(r) && r.forEach((a) => {
|
|
6129
6129
|
if ("locale" in a && "resource" in a) {
|
|
6130
6130
|
const { locale: c, resource: E } = a;
|
|
6131
|
-
c ? (o[c] = o[c] || Ne(),
|
|
6131
|
+
c ? (o[c] = o[c] || Ne(), wn(E, o[c])) : wn(E, o);
|
|
6132
6132
|
} else
|
|
6133
|
-
q(a) &&
|
|
6133
|
+
q(a) && wn(JSON.parse(a), o);
|
|
6134
6134
|
}), i == null && s)
|
|
6135
6135
|
for (const a in o)
|
|
6136
6136
|
it(o, a) && hn(o[a]);
|
|
@@ -6188,19 +6188,19 @@ function ts(e = {}, t) {
|
|
|
6188
6188
|
// prettier-ignore
|
|
6189
6189
|
n && c ? n.fallbackLocale.value : q(e.fallbackLocale) || ye(e.fallbackLocale) || se(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : E.value
|
|
6190
6190
|
), h = o(Qn(E.value, e)), N = o(se(e.datetimeFormats) ? e.datetimeFormats : { [E.value]: {} }), D = o(se(e.numberFormats) ? e.numberFormats : { [E.value]: {} });
|
|
6191
|
-
let B = n ? n.missingWarn : oe(e.missingWarn) || It(e.missingWarn) ? e.missingWarn : !0, M = n ? n.fallbackWarn : oe(e.fallbackWarn) || It(e.fallbackWarn) ? e.fallbackWarn : !0, x = n ? n.fallbackRoot : oe(e.fallbackRoot) ? e.fallbackRoot : !0, G = !!e.fallbackFormat, V = Ee(e.missing) ? e.missing : null,
|
|
6191
|
+
let B = n ? n.missingWarn : oe(e.missingWarn) || It(e.missingWarn) ? e.missingWarn : !0, M = n ? n.fallbackWarn : oe(e.fallbackWarn) || It(e.fallbackWarn) ? e.fallbackWarn : !0, x = n ? n.fallbackRoot : oe(e.fallbackRoot) ? e.fallbackRoot : !0, G = !!e.fallbackFormat, V = Ee(e.missing) ? e.missing : null, w = Ee(e.missing) ? Bs(e.missing) : null, F = Ee(e.postTranslation) ? e.postTranslation : null, k = n ? n.warnHtmlMessage : oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, S = !!e.escapeParameter;
|
|
6192
6192
|
const C = n ? n.modifiers : se(e.modifiers) ? e.modifiers : {};
|
|
6193
6193
|
let m = e.pluralRules || n && n.pluralRules, _;
|
|
6194
6194
|
_ = (() => {
|
|
6195
6195
|
i && Ns(null);
|
|
6196
|
-
const
|
|
6196
|
+
const A = {
|
|
6197
6197
|
version: Du,
|
|
6198
6198
|
locale: E.value,
|
|
6199
6199
|
fallbackLocale: O.value,
|
|
6200
6200
|
messages: h.value,
|
|
6201
6201
|
modifiers: C,
|
|
6202
6202
|
pluralRules: m,
|
|
6203
|
-
missing:
|
|
6203
|
+
missing: w === null ? void 0 : w,
|
|
6204
6204
|
missingWarn: B,
|
|
6205
6205
|
fallbackWarn: M,
|
|
6206
6206
|
fallbackFormat: G,
|
|
@@ -6212,8 +6212,8 @@ function ts(e = {}, t) {
|
|
|
6212
6212
|
messageCompiler: e.messageCompiler,
|
|
6213
6213
|
__meta: { framework: "vue" }
|
|
6214
6214
|
};
|
|
6215
|
-
|
|
6216
|
-
const $ = ul(
|
|
6215
|
+
A.datetimeFormats = N.value, A.numberFormats = D.value, A.__datetimeFormatters = se(_) ? _.__datetimeFormatters : void 0, A.__numberFormatters = se(_) ? _.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (A.__v_emitter = se(_) ? _.__v_emitter : void 0);
|
|
6216
|
+
const $ = ul(A);
|
|
6217
6217
|
return i && Ns($), $;
|
|
6218
6218
|
})(), nn(_, E.value, O.value);
|
|
6219
6219
|
function j() {
|
|
@@ -6227,35 +6227,35 @@ function ts(e = {}, t) {
|
|
|
6227
6227
|
}
|
|
6228
6228
|
const W = ct({
|
|
6229
6229
|
get: () => E.value,
|
|
6230
|
-
set: (
|
|
6231
|
-
E.value =
|
|
6230
|
+
set: (A) => {
|
|
6231
|
+
E.value = A, _.locale = E.value;
|
|
6232
6232
|
}
|
|
6233
6233
|
}), K = ct({
|
|
6234
6234
|
get: () => O.value,
|
|
6235
|
-
set: (
|
|
6236
|
-
O.value =
|
|
6235
|
+
set: (A) => {
|
|
6236
|
+
O.value = A, _.fallbackLocale = O.value, nn(_, E.value, A);
|
|
6237
6237
|
}
|
|
6238
6238
|
}), ne = ct(() => h.value), ae = /* @__PURE__ */ ct(() => N.value), ie = /* @__PURE__ */ ct(() => D.value);
|
|
6239
6239
|
function Q() {
|
|
6240
6240
|
return Ee(F) ? F : null;
|
|
6241
6241
|
}
|
|
6242
|
-
function ce(
|
|
6243
|
-
F =
|
|
6242
|
+
function ce(A) {
|
|
6243
|
+
F = A, _.postTranslation = A;
|
|
6244
6244
|
}
|
|
6245
6245
|
function Z() {
|
|
6246
6246
|
return V;
|
|
6247
6247
|
}
|
|
6248
|
-
function ve(
|
|
6249
|
-
|
|
6248
|
+
function ve(A) {
|
|
6249
|
+
A !== null && (w = Bs(A)), V = A, _.missing = w;
|
|
6250
6250
|
}
|
|
6251
|
-
function Te(
|
|
6252
|
-
return
|
|
6251
|
+
function Te(A, $) {
|
|
6252
|
+
return A !== "translate" || !$.resolvedMessage;
|
|
6253
6253
|
}
|
|
6254
|
-
const Y = (
|
|
6254
|
+
const Y = (A, $, ee, fe, Re, Ce) => {
|
|
6255
6255
|
j();
|
|
6256
6256
|
let De;
|
|
6257
6257
|
try {
|
|
6258
|
-
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (_.fallbackContext = n ? cl() : void 0), De =
|
|
6258
|
+
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (_.fallbackContext = n ? cl() : void 0), De = A(_);
|
|
6259
6259
|
} finally {
|
|
6260
6260
|
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (_.fallbackContext = void 0);
|
|
6261
6261
|
}
|
|
@@ -6266,8 +6266,8 @@ function ts(e = {}, t) {
|
|
|
6266
6266
|
key: be,
|
|
6267
6267
|
type: ee
|
|
6268
6268
|
})), process.env.NODE_ENV !== "production")) {
|
|
6269
|
-
const { __v_emitter:
|
|
6270
|
-
|
|
6269
|
+
const { __v_emitter: we } = _;
|
|
6270
|
+
we && x && we.emit("fallback", {
|
|
6271
6271
|
type: ee,
|
|
6272
6272
|
key: be,
|
|
6273
6273
|
to: "global",
|
|
@@ -6281,87 +6281,87 @@ function ts(e = {}, t) {
|
|
|
6281
6281
|
throw xe(_e.UNEXPECTED_RETURN_TYPE);
|
|
6282
6282
|
}
|
|
6283
6283
|
};
|
|
6284
|
-
function ue(...
|
|
6285
|
-
return Y(($) => Reflect.apply(bs, null, [$, ...
|
|
6284
|
+
function ue(...A) {
|
|
6285
|
+
return Y(($) => Reflect.apply(bs, null, [$, ...A]), () => dr(...A), "translate", ($) => Reflect.apply($.t, $, [...A]), ($) => $, ($) => q($));
|
|
6286
6286
|
}
|
|
6287
|
-
function H(...
|
|
6288
|
-
const [$, ee, fe] =
|
|
6287
|
+
function H(...A) {
|
|
6288
|
+
const [$, ee, fe] = A;
|
|
6289
6289
|
if (fe && !pe(fe))
|
|
6290
6290
|
throw xe(_e.INVALID_ARGUMENT);
|
|
6291
6291
|
return ue($, ee, We({ resolvedMessage: !0 }, fe || {}));
|
|
6292
6292
|
}
|
|
6293
|
-
function me(...
|
|
6294
|
-
return Y(($) => Reflect.apply(Is, null, [$, ...
|
|
6293
|
+
function me(...A) {
|
|
6294
|
+
return Y(($) => Reflect.apply(Is, null, [$, ...A]), () => pr(...A), "datetime format", ($) => Reflect.apply($.d, $, [...A]), () => Cn, ($) => q($));
|
|
6295
6295
|
}
|
|
6296
|
-
function Oe(...
|
|
6297
|
-
return Y(($) => Reflect.apply(Ss, null, [$, ...
|
|
6296
|
+
function Oe(...A) {
|
|
6297
|
+
return Y(($) => Reflect.apply(Ss, null, [$, ...A]), () => _r(...A), "number format", ($) => Reflect.apply($.n, $, [...A]), () => Cn, ($) => q($));
|
|
6298
6298
|
}
|
|
6299
|
-
function ge(
|
|
6300
|
-
return
|
|
6299
|
+
function ge(A) {
|
|
6300
|
+
return A.map(($) => q($) || Pe($) || oe($) ? Vs(String($)) : $);
|
|
6301
6301
|
}
|
|
6302
6302
|
const J = {
|
|
6303
6303
|
normalize: ge,
|
|
6304
|
-
interpolate: (
|
|
6304
|
+
interpolate: (A) => A,
|
|
6305
6305
|
type: "vnode"
|
|
6306
6306
|
};
|
|
6307
|
-
function u(...
|
|
6307
|
+
function u(...A) {
|
|
6308
6308
|
return Y(
|
|
6309
6309
|
($) => {
|
|
6310
6310
|
let ee;
|
|
6311
6311
|
const fe = $;
|
|
6312
6312
|
try {
|
|
6313
|
-
fe.processor = J, ee = Reflect.apply(bs, null, [fe, ...
|
|
6313
|
+
fe.processor = J, ee = Reflect.apply(bs, null, [fe, ...A]);
|
|
6314
6314
|
} finally {
|
|
6315
6315
|
fe.processor = null;
|
|
6316
6316
|
}
|
|
6317
6317
|
return ee;
|
|
6318
6318
|
},
|
|
6319
|
-
() => dr(...
|
|
6319
|
+
() => dr(...A),
|
|
6320
6320
|
"translate",
|
|
6321
6321
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6322
|
-
($) => $[Ir](...
|
|
6322
|
+
($) => $[Ir](...A),
|
|
6323
6323
|
($) => [Vs($)],
|
|
6324
6324
|
($) => ye($)
|
|
6325
6325
|
);
|
|
6326
6326
|
}
|
|
6327
|
-
function d(...
|
|
6327
|
+
function d(...A) {
|
|
6328
6328
|
return Y(
|
|
6329
|
-
($) => Reflect.apply(Ss, null, [$, ...
|
|
6330
|
-
() => _r(...
|
|
6329
|
+
($) => Reflect.apply(Ss, null, [$, ...A]),
|
|
6330
|
+
() => _r(...A),
|
|
6331
6331
|
"number format",
|
|
6332
6332
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6333
|
-
($) => $[Sr](...
|
|
6333
|
+
($) => $[Sr](...A),
|
|
6334
6334
|
$s,
|
|
6335
6335
|
($) => q($) || ye($)
|
|
6336
6336
|
);
|
|
6337
6337
|
}
|
|
6338
|
-
function g(...
|
|
6338
|
+
function g(...A) {
|
|
6339
6339
|
return Y(
|
|
6340
|
-
($) => Reflect.apply(Is, null, [$, ...
|
|
6341
|
-
() => pr(...
|
|
6340
|
+
($) => Reflect.apply(Is, null, [$, ...A]),
|
|
6341
|
+
() => pr(...A),
|
|
6342
6342
|
"datetime format",
|
|
6343
6343
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6344
|
-
($) => $[Lr](...
|
|
6344
|
+
($) => $[Lr](...A),
|
|
6345
6345
|
$s,
|
|
6346
6346
|
($) => q($) || ye($)
|
|
6347
6347
|
);
|
|
6348
6348
|
}
|
|
6349
|
-
function L(
|
|
6350
|
-
m =
|
|
6349
|
+
function L(A) {
|
|
6350
|
+
m = A, _.pluralRules = m;
|
|
6351
6351
|
}
|
|
6352
|
-
function p(
|
|
6352
|
+
function p(A, $) {
|
|
6353
6353
|
return Y(() => {
|
|
6354
|
-
if (!
|
|
6354
|
+
if (!A)
|
|
6355
6355
|
return !1;
|
|
6356
|
-
const ee = q($) ? $ : E.value, fe = T(ee), Re = _.messageResolver(fe,
|
|
6356
|
+
const ee = q($) ? $ : E.value, fe = T(ee), Re = _.messageResolver(fe, A);
|
|
6357
6357
|
return a ? Re != null : Lt(Re) || tt(Re) || q(Re);
|
|
6358
|
-
}, () => [
|
|
6358
|
+
}, () => [A], "translate exists", (ee) => Reflect.apply(ee.te, ee, [A, $]), Cu, (ee) => oe(ee));
|
|
6359
6359
|
}
|
|
6360
|
-
function v(
|
|
6360
|
+
function v(A) {
|
|
6361
6361
|
let $ = null;
|
|
6362
6362
|
const ee = mi(_, O.value, E.value);
|
|
6363
6363
|
for (let fe = 0; fe < ee.length; fe++) {
|
|
6364
|
-
const Re = h.value[ee[fe]] || {}, Ce = _.messageResolver(Re,
|
|
6364
|
+
const Re = h.value[ee[fe]] || {}, Ce = _.messageResolver(Re, A);
|
|
6365
6365
|
if (Ce != null) {
|
|
6366
6366
|
$ = Ce;
|
|
6367
6367
|
break;
|
|
@@ -6369,52 +6369,52 @@ function ts(e = {}, t) {
|
|
|
6369
6369
|
}
|
|
6370
6370
|
return $;
|
|
6371
6371
|
}
|
|
6372
|
-
function R(
|
|
6373
|
-
const $ = v(
|
|
6374
|
-
return $ ?? (n ? n.tm(
|
|
6372
|
+
function R(A) {
|
|
6373
|
+
const $ = v(A);
|
|
6374
|
+
return $ ?? (n ? n.tm(A) || {} : {});
|
|
6375
6375
|
}
|
|
6376
|
-
function T(
|
|
6377
|
-
return h.value[
|
|
6376
|
+
function T(A) {
|
|
6377
|
+
return h.value[A] || {};
|
|
6378
6378
|
}
|
|
6379
|
-
function y(
|
|
6379
|
+
function y(A, $) {
|
|
6380
6380
|
if (s) {
|
|
6381
|
-
const ee = { [
|
|
6381
|
+
const ee = { [A]: $ };
|
|
6382
6382
|
for (const fe in ee)
|
|
6383
6383
|
it(ee, fe) && hn(ee[fe]);
|
|
6384
|
-
$ = ee[
|
|
6384
|
+
$ = ee[A];
|
|
6385
6385
|
}
|
|
6386
|
-
h.value[
|
|
6386
|
+
h.value[A] = $, _.messages = h.value;
|
|
6387
6387
|
}
|
|
6388
|
-
function P(
|
|
6389
|
-
h.value[
|
|
6390
|
-
const ee = { [
|
|
6388
|
+
function P(A, $) {
|
|
6389
|
+
h.value[A] = h.value[A] || {};
|
|
6390
|
+
const ee = { [A]: $ };
|
|
6391
6391
|
if (s)
|
|
6392
6392
|
for (const fe in ee)
|
|
6393
6393
|
it(ee, fe) && hn(ee[fe]);
|
|
6394
|
-
$ = ee[
|
|
6394
|
+
$ = ee[A], wn($, h.value[A]), _.messages = h.value;
|
|
6395
6395
|
}
|
|
6396
|
-
function l(
|
|
6397
|
-
return N.value[
|
|
6396
|
+
function l(A) {
|
|
6397
|
+
return N.value[A] || {};
|
|
6398
6398
|
}
|
|
6399
|
-
function f(
|
|
6400
|
-
N.value[
|
|
6399
|
+
function f(A, $) {
|
|
6400
|
+
N.value[A] = $, _.datetimeFormats = N.value, Ls(_, A, $);
|
|
6401
6401
|
}
|
|
6402
|
-
function I(
|
|
6403
|
-
N.value[
|
|
6402
|
+
function I(A, $) {
|
|
6403
|
+
N.value[A] = We(N.value[A] || {}, $), _.datetimeFormats = N.value, Ls(_, A, $);
|
|
6404
6404
|
}
|
|
6405
|
-
function U(
|
|
6406
|
-
return D.value[
|
|
6405
|
+
function U(A) {
|
|
6406
|
+
return D.value[A] || {};
|
|
6407
6407
|
}
|
|
6408
|
-
function z(
|
|
6409
|
-
D.value[
|
|
6408
|
+
function z(A, $) {
|
|
6409
|
+
D.value[A] = $, _.numberFormats = D.value, Ds(_, A, $);
|
|
6410
6410
|
}
|
|
6411
|
-
function X(
|
|
6412
|
-
D.value[
|
|
6411
|
+
function X(A, $) {
|
|
6412
|
+
D.value[A] = We(D.value[A] || {}, $), _.numberFormats = D.value, Ds(_, A, $);
|
|
6413
6413
|
}
|
|
6414
|
-
Ws++, n && at && (Tr(n.locale, (
|
|
6415
|
-
c && (E.value =
|
|
6416
|
-
}), Tr(n.fallbackLocale, (
|
|
6417
|
-
c && (O.value =
|
|
6414
|
+
Ws++, n && at && (Tr(n.locale, (A) => {
|
|
6415
|
+
c && (E.value = A, _.locale = A, nn(_, E.value, O.value));
|
|
6416
|
+
}), Tr(n.fallbackLocale, (A) => {
|
|
6417
|
+
c && (O.value = A, _.fallbackLocale = A, nn(_, E.value, O.value));
|
|
6418
6418
|
}));
|
|
6419
6419
|
const te = {
|
|
6420
6420
|
id: Ws,
|
|
@@ -6423,8 +6423,8 @@ function ts(e = {}, t) {
|
|
|
6423
6423
|
get inheritLocale() {
|
|
6424
6424
|
return c;
|
|
6425
6425
|
},
|
|
6426
|
-
set inheritLocale(
|
|
6427
|
-
c =
|
|
6426
|
+
set inheritLocale(A) {
|
|
6427
|
+
c = A, A && n && (E.value = n.locale.value, O.value = n.fallbackLocale.value, nn(_, E.value, O.value));
|
|
6428
6428
|
},
|
|
6429
6429
|
get availableLocales() {
|
|
6430
6430
|
return Object.keys(h.value).sort();
|
|
@@ -6442,38 +6442,38 @@ function ts(e = {}, t) {
|
|
|
6442
6442
|
get missingWarn() {
|
|
6443
6443
|
return B;
|
|
6444
6444
|
},
|
|
6445
|
-
set missingWarn(
|
|
6446
|
-
B =
|
|
6445
|
+
set missingWarn(A) {
|
|
6446
|
+
B = A, _.missingWarn = B;
|
|
6447
6447
|
},
|
|
6448
6448
|
get fallbackWarn() {
|
|
6449
6449
|
return M;
|
|
6450
6450
|
},
|
|
6451
|
-
set fallbackWarn(
|
|
6452
|
-
M =
|
|
6451
|
+
set fallbackWarn(A) {
|
|
6452
|
+
M = A, _.fallbackWarn = M;
|
|
6453
6453
|
},
|
|
6454
6454
|
get fallbackRoot() {
|
|
6455
6455
|
return x;
|
|
6456
6456
|
},
|
|
6457
|
-
set fallbackRoot(
|
|
6458
|
-
x =
|
|
6457
|
+
set fallbackRoot(A) {
|
|
6458
|
+
x = A;
|
|
6459
6459
|
},
|
|
6460
6460
|
get fallbackFormat() {
|
|
6461
6461
|
return G;
|
|
6462
6462
|
},
|
|
6463
|
-
set fallbackFormat(
|
|
6464
|
-
G =
|
|
6463
|
+
set fallbackFormat(A) {
|
|
6464
|
+
G = A, _.fallbackFormat = G;
|
|
6465
6465
|
},
|
|
6466
6466
|
get warnHtmlMessage() {
|
|
6467
6467
|
return k;
|
|
6468
6468
|
},
|
|
6469
|
-
set warnHtmlMessage(
|
|
6470
|
-
k =
|
|
6469
|
+
set warnHtmlMessage(A) {
|
|
6470
|
+
k = A, _.warnHtmlMessage = A;
|
|
6471
6471
|
},
|
|
6472
6472
|
get escapeParameter() {
|
|
6473
6473
|
return S;
|
|
6474
6474
|
},
|
|
6475
|
-
set escapeParameter(
|
|
6476
|
-
S =
|
|
6475
|
+
set escapeParameter(A) {
|
|
6476
|
+
S = A, _.escapeParameter = A;
|
|
6477
6477
|
},
|
|
6478
6478
|
t: ue,
|
|
6479
6479
|
getLocaleMessage: T,
|
|
@@ -6485,8 +6485,8 @@ function ts(e = {}, t) {
|
|
|
6485
6485
|
setMissingHandler: ve,
|
|
6486
6486
|
[Oo]: L
|
|
6487
6487
|
};
|
|
6488
|
-
return te.datetimeFormats = ae, te.numberFormats = ie, te.rt = H, te.te = p, te.tm = R, te.d = me, te.n = Oe, te.getDateTimeFormat = l, te.setDateTimeFormat = f, te.mergeDateTimeFormat = I, te.getNumberFormat = U, te.setNumberFormat = z, te.mergeNumberFormat = X, te[bo] = r, te[Ir] = u, te[Lr] = g, te[Sr] = d, process.env.NODE_ENV !== "production" && (te[Vt] = (
|
|
6489
|
-
_.__v_emitter =
|
|
6488
|
+
return te.datetimeFormats = ae, te.numberFormats = ie, te.rt = H, te.te = p, te.tm = R, te.d = me, te.n = Oe, te.getDateTimeFormat = l, te.setDateTimeFormat = f, te.mergeDateTimeFormat = I, te.getNumberFormat = U, te.setNumberFormat = z, te.mergeNumberFormat = X, te[bo] = r, te[Ir] = u, te[Lr] = g, te[Sr] = d, process.env.NODE_ENV !== "production" && (te[Vt] = (A) => {
|
|
6489
|
+
_.__v_emitter = A;
|
|
6490
6490
|
}, te[mn] = () => {
|
|
6491
6491
|
_.__v_emitter = void 0;
|
|
6492
6492
|
}), te;
|
|
@@ -6502,14 +6502,14 @@ function ku(e) {
|
|
|
6502
6502
|
return We(b, S[_]), m;
|
|
6503
6503
|
}, B || {});
|
|
6504
6504
|
}
|
|
6505
|
-
const { __i18n: M, __root: x, __injectWithOption: G } = e, V = e.datetimeFormats,
|
|
6505
|
+
const { __i18n: M, __root: x, __injectWithOption: G } = e, V = e.datetimeFormats, w = e.numberFormats, F = e.flatJson, k = e.translateExistCompatible;
|
|
6506
6506
|
return {
|
|
6507
6507
|
locale: t,
|
|
6508
6508
|
fallbackLocale: n,
|
|
6509
6509
|
messages: B,
|
|
6510
6510
|
flatJson: F,
|
|
6511
6511
|
datetimeFormats: V,
|
|
6512
|
-
numberFormats:
|
|
6512
|
+
numberFormats: w,
|
|
6513
6513
|
missing: r,
|
|
6514
6514
|
missingWarn: i,
|
|
6515
6515
|
fallbackWarn: s,
|
|
@@ -6528,7 +6528,7 @@ function ku(e) {
|
|
|
6528
6528
|
__injectWithOption: G
|
|
6529
6529
|
};
|
|
6530
6530
|
}
|
|
6531
|
-
function
|
|
6531
|
+
function wr(e = {}, t) {
|
|
6532
6532
|
{
|
|
6533
6533
|
const n = ts(ku(e)), { __extender: r } = e, i = {
|
|
6534
6534
|
// id
|
|
@@ -6865,7 +6865,7 @@ const Vu = /* @__PURE__ */ zr({
|
|
|
6865
6865
|
useScope: e.scope,
|
|
6866
6866
|
__useComponent: !0
|
|
6867
6867
|
});
|
|
6868
|
-
return So(e, t,
|
|
6868
|
+
return So(e, t, Ai, (...r) => (
|
|
6869
6869
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6870
6870
|
n[Lr](...r)
|
|
6871
6871
|
));
|
|
@@ -6946,7 +6946,7 @@ const cr = {
|
|
|
6946
6946
|
}, Gu = {
|
|
6947
6947
|
"vue-i18n-timeline": 16764185
|
|
6948
6948
|
}, Do = "vue-i18n: composer properties";
|
|
6949
|
-
let
|
|
6949
|
+
let Ar;
|
|
6950
6950
|
async function ju(e, t) {
|
|
6951
6951
|
return new Promise((n, r) => {
|
|
6952
6952
|
try {
|
|
@@ -6963,7 +6963,7 @@ async function ju(e, t) {
|
|
|
6963
6963
|
app: e
|
|
6964
6964
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
6965
6965
|
}, (i) => {
|
|
6966
|
-
|
|
6966
|
+
Ar = i, i.on.visitComponentTree(({ componentInstance: o, treeNode: a }) => {
|
|
6967
6967
|
Ku(o, a, t);
|
|
6968
6968
|
}), i.on.inspectComponent(({ componentInstance: o, instanceData: a }) => {
|
|
6969
6969
|
o.vnode.el && o.vnode.el.__VUE_I18N__ && a && (t.mode === "legacy" ? o.vnode.el.__VUE_I18N__ !== t.global.__composer && Ys(a, o.vnode.el.__VUE_I18N__) : Ys(a, o.vnode.el.__VUE_I18N__));
|
|
@@ -7013,14 +7013,14 @@ async function ju(e, t) {
|
|
|
7013
7013
|
}
|
|
7014
7014
|
});
|
|
7015
7015
|
}
|
|
7016
|
-
function
|
|
7016
|
+
function wo(e) {
|
|
7017
7017
|
return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
|
|
7018
7018
|
}
|
|
7019
7019
|
function Ku(e, t, n) {
|
|
7020
7020
|
const r = n.mode === "composition" ? n.global : n.global.__composer;
|
|
7021
7021
|
if (e && e.vnode.el && e.vnode.el.__VUE_I18N__ && e.vnode.el.__VUE_I18N__ !== r) {
|
|
7022
7022
|
const i = {
|
|
7023
|
-
label: `i18n (${
|
|
7023
|
+
label: `i18n (${wo(e)} Scope)`,
|
|
7024
7024
|
textColor: 0,
|
|
7025
7025
|
backgroundColor: 16764185
|
|
7026
7026
|
};
|
|
@@ -7103,7 +7103,7 @@ function Ju(e, t) {
|
|
|
7103
7103
|
const s = t.mode === "composition" ? i : i.__composer;
|
|
7104
7104
|
n !== s && e.rootNodes.push({
|
|
7105
7105
|
id: s.id.toString(),
|
|
7106
|
-
label: `${
|
|
7106
|
+
label: `${wo(r)} Scope`
|
|
7107
7107
|
});
|
|
7108
7108
|
}
|
|
7109
7109
|
}
|
|
@@ -7118,7 +7118,7 @@ function zu(e, t) {
|
|
|
7118
7118
|
}
|
|
7119
7119
|
return n;
|
|
7120
7120
|
}
|
|
7121
|
-
function
|
|
7121
|
+
function Ao(e, t) {
|
|
7122
7122
|
if (e === "global")
|
|
7123
7123
|
return t.mode === "composition" ? t.global : t.global.__composer;
|
|
7124
7124
|
{
|
|
@@ -7127,7 +7127,7 @@ function wo(e, t) {
|
|
|
7127
7127
|
}
|
|
7128
7128
|
}
|
|
7129
7129
|
function Zu(e, t) {
|
|
7130
|
-
const n =
|
|
7130
|
+
const n = Ao(e.nodeId, t);
|
|
7131
7131
|
return n && (e.state = ef(n)), null;
|
|
7132
7132
|
}
|
|
7133
7133
|
function ef(e) {
|
|
@@ -7190,9 +7190,9 @@ function ef(e) {
|
|
|
7190
7190
|
return t;
|
|
7191
7191
|
}
|
|
7192
7192
|
function gn(e, t) {
|
|
7193
|
-
if (
|
|
7193
|
+
if (Ar) {
|
|
7194
7194
|
let n;
|
|
7195
|
-
t && "groupId" in t && (n = t.groupId, delete t.groupId),
|
|
7195
|
+
t && "groupId" in t && (n = t.groupId, delete t.groupId), Ar.addTimelineEvent({
|
|
7196
7196
|
layerId: "vue-i18n-timeline",
|
|
7197
7197
|
event: {
|
|
7198
7198
|
title: e,
|
|
@@ -7206,7 +7206,7 @@ function gn(e, t) {
|
|
|
7206
7206
|
}
|
|
7207
7207
|
}
|
|
7208
7208
|
function tf(e, t) {
|
|
7209
|
-
const n =
|
|
7209
|
+
const n = Ao(e.nodeId, t);
|
|
7210
7210
|
if (n) {
|
|
7211
7211
|
const [r] = e.path;
|
|
7212
7212
|
r === "locale" && q(e.state.value) ? n.locale.value = e.state.value : r === "fallbackLocale" && (q(e.state.value) || ye(e.state.value) || pe(e.state.value)) ? n.fallbackLocale.value = e.state.value : r === "inheritLocale" && oe(e.state.value) && (n.inheritLocale = e.state.value);
|
|
@@ -7224,7 +7224,7 @@ function nf(e, t, n) {
|
|
|
7224
7224
|
if (i.__i18n && (s.__i18n = i.__i18n), s.__root = t, this === this.$root)
|
|
7225
7225
|
this.$i18n = Xs(e, s);
|
|
7226
7226
|
else {
|
|
7227
|
-
s.__injectWithOption = !0, s.__extender = n.__vueI18nExtend, this.$i18n =
|
|
7227
|
+
s.__injectWithOption = !0, s.__extender = n.__vueI18nExtend, this.$i18n = wr(s);
|
|
7228
7228
|
const o = this.$i18n;
|
|
7229
7229
|
o.__extender && (o.__disposer = o.__extender(this.$i18n));
|
|
7230
7230
|
}
|
|
@@ -7232,7 +7232,7 @@ function nf(e, t, n) {
|
|
|
7232
7232
|
if (this === this.$root)
|
|
7233
7233
|
this.$i18n = Xs(e, i);
|
|
7234
7234
|
else {
|
|
7235
|
-
this.$i18n =
|
|
7235
|
+
this.$i18n = wr({
|
|
7236
7236
|
__i18n: i.__i18n,
|
|
7237
7237
|
__injectWithOption: !0,
|
|
7238
7238
|
__extender: n.__vueI18nExtend,
|
|
@@ -7309,11 +7309,11 @@ function Ro(e = {}, t) {
|
|
|
7309
7309
|
throw xe(_e.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
|
|
7310
7310
|
const V = Pr();
|
|
7311
7311
|
if (n) {
|
|
7312
|
-
const
|
|
7313
|
-
|
|
7312
|
+
const w = a;
|
|
7313
|
+
w.__enableEmitter && w.__enableEmitter(V);
|
|
7314
7314
|
} else {
|
|
7315
|
-
const
|
|
7316
|
-
|
|
7315
|
+
const w = a;
|
|
7316
|
+
w[Vt] && w[Vt](V);
|
|
7317
7317
|
}
|
|
7318
7318
|
V.on("*", gn);
|
|
7319
7319
|
}
|
|
@@ -7366,7 +7366,7 @@ function ss(e = {}) {
|
|
|
7366
7366
|
function sf(e, t, n) {
|
|
7367
7367
|
const r = Ql();
|
|
7368
7368
|
{
|
|
7369
|
-
const i = __VUE_I18N_LEGACY_API__ && t ? r.run(() =>
|
|
7369
|
+
const i = __VUE_I18N_LEGACY_API__ && t ? r.run(() => wr(e)) : r.run(() => ts(e));
|
|
7370
7370
|
if (i == null)
|
|
7371
7371
|
throw xe(_e.UNEXPECTED_ERROR);
|
|
7372
7372
|
return [r, i];
|
|
@@ -7432,7 +7432,7 @@ function df(e, t, n, r = {}) {
|
|
|
7432
7432
|
), c = Ht(
|
|
7433
7433
|
// prettier-ignore
|
|
7434
7434
|
!i || o ? n.fallbackLocale.value : q(r.fallbackLocale) || ye(r.fallbackLocale) || se(r.fallbackLocale) || r.fallbackLocale === !1 ? r.fallbackLocale : a.value
|
|
7435
|
-
), E = Ht(Qn(a.value, r)), O = Ht(se(r.datetimeFormats) ? r.datetimeFormats : { [a.value]: {} }), h = Ht(se(r.numberFormats) ? r.numberFormats : { [a.value]: {} }), N = i ? n.missingWarn : oe(r.missingWarn) || It(r.missingWarn) ? r.missingWarn : !0, D = i ? n.fallbackWarn : oe(r.fallbackWarn) || It(r.fallbackWarn) ? r.fallbackWarn : !0, B = i ? n.fallbackRoot : oe(r.fallbackRoot) ? r.fallbackRoot : !0, M = !!r.fallbackFormat, x = Ee(r.missing) ? r.missing : null, G = Ee(r.postTranslation) ? r.postTranslation : null, V = i ? n.warnHtmlMessage : oe(r.warnHtmlMessage) ? r.warnHtmlMessage : !0,
|
|
7435
|
+
), E = Ht(Qn(a.value, r)), O = Ht(se(r.datetimeFormats) ? r.datetimeFormats : { [a.value]: {} }), h = Ht(se(r.numberFormats) ? r.numberFormats : { [a.value]: {} }), N = i ? n.missingWarn : oe(r.missingWarn) || It(r.missingWarn) ? r.missingWarn : !0, D = i ? n.fallbackWarn : oe(r.fallbackWarn) || It(r.fallbackWarn) ? r.fallbackWarn : !0, B = i ? n.fallbackRoot : oe(r.fallbackRoot) ? r.fallbackRoot : !0, M = !!r.fallbackFormat, x = Ee(r.missing) ? r.missing : null, G = Ee(r.postTranslation) ? r.postTranslation : null, V = i ? n.warnHtmlMessage : oe(r.warnHtmlMessage) ? r.warnHtmlMessage : !0, w = !!r.escapeParameter, F = i ? n.modifiers : se(r.modifiers) ? r.modifiers : {}, k = r.pluralRules || i && n.pluralRules;
|
|
7436
7436
|
function S() {
|
|
7437
7437
|
return [
|
|
7438
7438
|
a.value,
|
|
@@ -7571,7 +7571,7 @@ function df(e, t, n, r = {}) {
|
|
|
7571
7571
|
s.value && (s.value.warnHtmlMessage = p);
|
|
7572
7572
|
},
|
|
7573
7573
|
get escapeParameter() {
|
|
7574
|
-
return s.value ? s.value.escapeParameter :
|
|
7574
|
+
return s.value ? s.value.escapeParameter : w;
|
|
7575
7575
|
},
|
|
7576
7576
|
set escapeParameter(p) {
|
|
7577
7577
|
s.value && (s.value.escapeParameter = p);
|
|
@@ -7603,7 +7603,7 @@ function df(e, t, n, r = {}) {
|
|
|
7603
7603
|
p.mergeDateTimeFormat(v, O.value[v]);
|
|
7604
7604
|
}), Object.keys(h.value).forEach((v) => {
|
|
7605
7605
|
p.mergeNumberFormat(v, h.value[v]);
|
|
7606
|
-
}), p.escapeParameter =
|
|
7606
|
+
}), p.escapeParameter = w, p.fallbackFormat = M, p.fallbackRoot = B, p.fallbackWarn = D, p.missingWarn = N, p.warnHtmlMessage = V;
|
|
7607
7607
|
}
|
|
7608
7608
|
return Hc(() => {
|
|
7609
7609
|
if (e.proxy == null || e.proxy.$i18n == null)
|
|
@@ -7648,8 +7648,8 @@ function _f(e, t) {
|
|
|
7648
7648
|
});
|
|
7649
7649
|
};
|
|
7650
7650
|
}
|
|
7651
|
-
|
|
7652
|
-
__INTLIFY_JIT_COMPILATION__ ? Es(
|
|
7651
|
+
wu();
|
|
7652
|
+
__INTLIFY_JIT_COMPILATION__ ? Es(wl) : Es(Dl);
|
|
7653
7653
|
il(Ua);
|
|
7654
7654
|
ol(mi);
|
|
7655
7655
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
@@ -7662,14 +7662,14 @@ const Rf = (e = "en") => {
|
|
|
7662
7662
|
locale: e,
|
|
7663
7663
|
messages: {
|
|
7664
7664
|
en: {
|
|
7665
|
-
iotdbTemplateRemark: "Measurement, Value, and Data Type are required fields. The Data Type can have the optional values
|
|
7665
|
+
iotdbTemplateRemark: "Measurement, Value, and Data Type are required fields. The Data Type can have the optional values boolean, int32, int64, float, double, text.",
|
|
7666
7666
|
invalidIsCharFlag: "Invalid Char Value field: {isChar}",
|
|
7667
7667
|
uploadMaxRowsError: "The number of rows in the CSV file exceeds the limit. Up to {max} rows of data are supported except for the header",
|
|
7668
7668
|
influxdbTemplateRemark: "Append an i to the field value to tell InfluxDB to store the number as an integer.",
|
|
7669
7669
|
datalayersTemplateRemark: "Append an i to the field value to tell Datalayers to store the number as an integer."
|
|
7670
7670
|
},
|
|
7671
7671
|
zh: {
|
|
7672
|
-
iotdbTemplateRemark: "字段、值、数据类型是必填选项,数据类型可选的值为
|
|
7672
|
+
iotdbTemplateRemark: "字段、值、数据类型是必填选项,数据类型可选的值为 boolean、int32、int64、float、double、text",
|
|
7673
7673
|
invalidIsCharFlag: "无效的字符标识符值:{isChar}",
|
|
7674
7674
|
uploadMaxRowsError: "CSV 文件行数超过限制,除表头外,最多支持 {max} 行数据",
|
|
7675
7675
|
influxdbTemplateRemark: "在字段值后追加 i,InfluxDB 则将该数值存储为整数类型。",
|
|
@@ -7692,10 +7692,10 @@ hum,\${payload.hum},FALSE,
|
|
|
7692
7692
|
status,\${payload.status},FALSE,
|
|
7693
7693
|
`,
|
|
7694
7694
|
iotdb: `Timestamp,Measurement,Data Type,Value,Remarks (Optional)
|
|
7695
|
-
now,temp,
|
|
7696
|
-
now,hum,
|
|
7697
|
-
now,status,
|
|
7698
|
-
now,clientid,
|
|
7695
|
+
now,temp,float,\${payload.temp},"${n("iotdbTemplateRemark")}"
|
|
7696
|
+
now,hum,float,\${payload.hum},
|
|
7697
|
+
now,status,boolean,\${payload.status},
|
|
7698
|
+
now,clientid,text,\${clientid},
|
|
7699
7699
|
`,
|
|
7700
7700
|
influxdb: `Field,Value,Remarks (Optional)
|
|
7701
7701
|
temp,\${payload.temp},
|
|
@@ -7733,17 +7733,17 @@ precip,\${payload.precip}i,"${n("datalayersTemplateRemark")}"
|
|
|
7733
7733
|
}),
|
|
7734
7734
|
processIoTDBData: (O) => new Promise((h, N) => {
|
|
7735
7735
|
try {
|
|
7736
|
-
const D = ["
|
|
7736
|
+
const D = ["boolean", "int32", "int64", "float", "double", "text"], B = O.slice(1).filter(
|
|
7737
7737
|
(M) => M.length >= 4 && M.slice(0, 4).every((x) => x && x.trim() !== "")
|
|
7738
7738
|
).map((M) => {
|
|
7739
|
-
const [x, G, V,
|
|
7739
|
+
const [x, G, V, w] = M;
|
|
7740
7740
|
if (!D.includes(V))
|
|
7741
7741
|
throw new Error(`Invalid data type: ${V}`);
|
|
7742
7742
|
return {
|
|
7743
7743
|
timestamp: x,
|
|
7744
7744
|
measurement: G,
|
|
7745
7745
|
data_type: V,
|
|
7746
|
-
value:
|
|
7746
|
+
value: w
|
|
7747
7747
|
};
|
|
7748
7748
|
});
|
|
7749
7749
|
h(B);
|
|
@@ -7755,15 +7755,15 @@ precip,\${payload.precip}i,"${n("datalayersTemplateRemark")}"
|
|
|
7755
7755
|
try {
|
|
7756
7756
|
const D = "<table>", B = [], M = [];
|
|
7757
7757
|
for (let G = 1; G < O.length; G++) {
|
|
7758
|
-
const [V,
|
|
7759
|
-
if (!V || !
|
|
7758
|
+
const [V, w, F] = O[G];
|
|
7759
|
+
if (!V || !w)
|
|
7760
7760
|
continue;
|
|
7761
7761
|
B.push(V);
|
|
7762
7762
|
const k = ["true", "TRUE", "1", "", void 0].includes(F == null ? void 0 : F.trim()), S = ["false", "FALSE", "0"].includes(F == null ? void 0 : F.trim());
|
|
7763
7763
|
if (k)
|
|
7764
|
-
M.push(`'${
|
|
7764
|
+
M.push(`'${w}'`);
|
|
7765
7765
|
else if (S)
|
|
7766
|
-
M.push(
|
|
7766
|
+
M.push(w);
|
|
7767
7767
|
else
|
|
7768
7768
|
throw new Error(n("invalidIsCharFlag", { isChar: F }));
|
|
7769
7769
|
}
|
|
@@ -7822,7 +7822,7 @@ precip,\${payload.precip}i,"${n("datalayersTemplateRemark")}"
|
|
|
7822
7822
|
],
|
|
7823
7823
|
betaTip: "This feature is in beta.",
|
|
7824
7824
|
needVPCTip: "Streaming requires intranet access, please create a {vpc} first.",
|
|
7825
|
-
mqttTopicFormatTip: "Can contain letters, numbers, special characters (_, -, /, +, $, %, {'@'}, &, :, {'{'}{'}'} and .) and mid-string spaces (no leading/trailing spaces), up to 128 characters",
|
|
7825
|
+
mqttTopicFormatTip: "Can contain letters, numbers, special characters (_, -, /, +, #, $, %, {'@'}, &, :, {'{'}{'}'} and .) and mid-string spaces (no leading/trailing spaces), up to 128 characters",
|
|
7826
7826
|
streamType: "Stream Type",
|
|
7827
7827
|
streamTypeLabel: {
|
|
7828
7828
|
default: "Default",
|
|
@@ -7830,7 +7830,8 @@ precip,\${payload.precip}i,"${n("datalayersTemplateRemark")}"
|
|
|
7830
7830
|
},
|
|
7831
7831
|
streamTypeTip: "The default type Stream is associated with an MQTT topic filter, and MQTT messages matching the topic filter are saved to the Stream. The free type Stream is not associated with an MQTT topic filter.",
|
|
7832
7832
|
authType: "Authentication Mechanism",
|
|
7833
|
-
host: "
|
|
7833
|
+
host: "Host",
|
|
7834
|
+
hostTip: "Fill in a Host IP address or use <code>*</code> to match all Hosts.<br/>If <code>Literal</code> pattern is selected, an IP address of a host should be provided.",
|
|
7834
7835
|
aclResourceType: "Resource Type",
|
|
7835
7836
|
aclResourceName: "Resource Selector",
|
|
7836
7837
|
aclOperation: "Operation",
|
|
@@ -7852,7 +7853,7 @@ precip,\${payload.precip}i,"${n("datalayersTemplateRemark")}"
|
|
|
7852
7853
|
},
|
|
7853
7854
|
usernameRule: "Can contain letters, numbers and some special characters (_, -, /, +, #, $, %, {'@'}, & and .), up to 128 characters",
|
|
7854
7855
|
aclDescription: `It refers to the permission control of the resources that Kafka clients can manipulate, including topics, consumer groups and clusters.
|
|
7855
|
-
The default mode is
|
|
7856
|
+
The default mode is whitelist, meaning that entries added to the list are allowed through, while those not added are denied by default.`,
|
|
7856
7857
|
networkType: "Network Type",
|
|
7857
7858
|
securityProtocol: "Security Protocol",
|
|
7858
7859
|
metricTitleDic: {
|
|
@@ -7871,7 +7872,7 @@ precip,\${payload.precip}i,"${n("datalayersTemplateRemark")}"
|
|
|
7871
7872
|
mqttTopicTip: "匹配主题过滤器的 MQTT 消息会被保存到对应的 Default 类型的 Stream 中。Free 类型的 Stream 不与 MQTT 主题过滤器关联。",
|
|
7872
7873
|
streamNameTip: "Kafka 客户端看到的 Kafka Topic 的名称和 Stream 名称相同。",
|
|
7873
7874
|
retention: "保留天数",
|
|
7874
|
-
consumerGroups: "
|
|
7875
|
+
consumerGroups: "消费者组",
|
|
7875
7876
|
groupID: "组 ID",
|
|
7876
7877
|
streamNum: "Stream 数量",
|
|
7877
7878
|
consumerNum: "消费者数量",
|
|
@@ -7896,7 +7897,7 @@ precip,\${payload.precip}i,"${n("datalayersTemplateRemark")}"
|
|
|
7896
7897
|
],
|
|
7897
7898
|
betaTip: "此功能目前处于公测阶段。",
|
|
7898
7899
|
needVPCTip: "Streaming 功能需要内网访问,在开通前请先创建 {vpc}。",
|
|
7899
|
-
mqttTopicFormatTip: "可包含字母、数字、部分特殊字符(_
|
|
7900
|
+
mqttTopicFormatTip: "可包含字母、数字、部分特殊字符(_、-、/、+、#、$、%、{'@'}、&、:、{'{'}{'}'} 和 .)及中间空格(无首尾空格),最长 128 个字符",
|
|
7900
7901
|
streamType: "Stream 类型",
|
|
7901
7902
|
streamTypeLabel: {
|
|
7902
7903
|
default: "Default",
|
|
@@ -7904,7 +7905,8 @@ precip,\${payload.precip}i,"${n("datalayersTemplateRemark")}"
|
|
|
7904
7905
|
},
|
|
7905
7906
|
streamTypeTip: "Default 类型的 Stream 关联 MQTT 主题过滤器,且匹配主题过滤器的 MQTT 消息会被保存到 Stream 中。Free 类型的 Stream 不关联 MQTT 主题过滤器。",
|
|
7906
7907
|
authType: "认证方式",
|
|
7907
|
-
host: "
|
|
7908
|
+
host: "Host",
|
|
7909
|
+
hostTip: "填写 Host IP 地址或者使用 <code>*</code> 匹配所有 Host。<br/>如果您选择了 <code>精确匹配</code> 模式,则应提供一个 Host IP 地址。",
|
|
7908
7910
|
aclResourceType: "资源类型",
|
|
7909
7911
|
aclResourceName: "目标值",
|
|
7910
7912
|
aclOperation: "操作类型",
|
|
@@ -7925,13 +7927,13 @@ precip,\${payload.precip}i,"${n("datalayersTemplateRemark")}"
|
|
|
7925
7927
|
ALTER: "更改"
|
|
7926
7928
|
},
|
|
7927
7929
|
usernameRule: "可包含字母、数字和部分特殊字符(_、-、/、+、#、$、%、{'@'}、& 和 .),最长 128 个字符",
|
|
7928
|
-
aclDescription: "是指对 Kafka
|
|
7930
|
+
aclDescription: "是指对 Kafka 客户端所能操作的资源,包括主题、消费者组和集群等的权限控制。采用白名单模式,即只有在白名单中的条目才能通过,未在白名单中的则默认被拒绝。",
|
|
7929
7931
|
networkType: "网络类型",
|
|
7930
7932
|
securityProtocol: "安全协议",
|
|
7931
7933
|
metricTitleDic: {
|
|
7932
7934
|
stream_count: "Stream 数",
|
|
7933
7935
|
partition_count: "分区数",
|
|
7934
|
-
group_count: "
|
|
7936
|
+
group_count: "消费者组数",
|
|
7935
7937
|
total_messages_in_rate: "消息流入速率",
|
|
7936
7938
|
total_messages_out_rate: "消息流出速率"
|
|
7937
7939
|
}
|
|
@@ -7969,7 +7971,7 @@ precip,\${payload.precip}i,"${n("datalayersTemplateRemark")}"
|
|
|
7969
7971
|
],
|
|
7970
7972
|
betaTip: "この機能はベータ版です。",
|
|
7971
7973
|
needVPCTip: "ストリーミングを利用するには内部ネットワークへのアクセスが必要です。まず{vpc}を作成してください。",
|
|
7972
|
-
mqttTopicFormatTip: "アルファベット、数字、「_
|
|
7974
|
+
mqttTopicFormatTip: "アルファベット、数字、「_」、「-」、「/」、「+」、「#」、「$」、「%」、「{'@'}」、「&」、「:」、「{'{'}{'}'}」、中間の空白、および「.」のみ使え、最長 128 文字です",
|
|
7973
7975
|
streamType: "ストリームタイプ",
|
|
7974
7976
|
streamTypeLabel: {
|
|
7975
7977
|
default: "Default",
|
|
@@ -7977,7 +7979,9 @@ precip,\${payload.precip}i,"${n("datalayersTemplateRemark")}"
|
|
|
7977
7979
|
},
|
|
7978
7980
|
streamTypeTip: "「Default」タイプのストリームは MQTT トピックフィルターと関連付けられており、そのフィルターに一致する MQTT メッセージがストリームに保存されます。Kafka クライアントからの「Free」タイプのストリームのは MQTT トピックフィルターと関連付けられていません。",
|
|
7979
7981
|
authType: "認証方式",
|
|
7980
|
-
|
|
7982
|
+
// TODO: ja
|
|
7983
|
+
host: "Host",
|
|
7984
|
+
hostTip: "Fill in a Host IP address or use <code>*</code> to match all Hosts.<br/>If <code>Literal</code> pattern is selected, an IP address of a host should be provided.",
|
|
7981
7985
|
aclResourceType: "リソースタイプ",
|
|
7982
7986
|
aclResourceName: "リソース値",
|
|
7983
7987
|
aclOperation: "操作",
|
|
@@ -7998,8 +8002,9 @@ precip,\${payload.precip}i,"${n("datalayersTemplateRemark")}"
|
|
|
7998
8002
|
ALTER: "変更する"
|
|
7999
8003
|
},
|
|
8000
8004
|
usernameRule: "アルファベット、数字、「_」、「-」、「/」、「+」、「#」、「$」、「%」、「{'@'}」、「&」および「.」のみ使え、最長 128 文字です",
|
|
8001
|
-
aclDescription: "Kafka クライアントが操作できるリソース(トピック、コンシューマーグループ、クラスタなど)の権限制御を指します。デフォルトのモードはブラックリストであり、リストに追加されたエントリはルールによってフィルタリングされ、追加されていないものはデフォルトで許可されます。",
|
|
8002
8005
|
// TODO: ja
|
|
8006
|
+
aclDescription: `It refers to the permission control of the resources that Kafka clients can manipulate, including topics, consumer groups and clusters.
|
|
8007
|
+
The default mode is whitelist, meaning that entries added to the list are allowed through, while those not added are denied by default.`,
|
|
8003
8008
|
networkType: "Network Type",
|
|
8004
8009
|
securityProtocol: "Security Protocol",
|
|
8005
8010
|
metricTitleDic: {
|
|
@@ -8110,8 +8115,8 @@ export {
|
|
|
8110
8115
|
$o as createDownloadBlobLink,
|
|
8111
8116
|
Uo as downloadFile,
|
|
8112
8117
|
Co as flattenObject,
|
|
8113
|
-
|
|
8114
|
-
|
|
8118
|
+
wf as formatSizeUnit,
|
|
8119
|
+
Af as formatValueToMinUnit,
|
|
8115
8120
|
bf as isEmptyObj,
|
|
8116
8121
|
Lf as isJSONString,
|
|
8117
8122
|
Sf as jsonBigIntParse,
|