@kestra-io/ui-libs 0.0.259 → 0.0.260
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/components/buttons/AddTaskButton.vue.d.ts.map +1 -1
- package/dist/components/topology/export/useScreenshot.d.ts.map +1 -1
- package/dist/kestra-index.cjs.js +9 -9
- package/dist/kestra-index.cjs.js.map +1 -1
- package/dist/kestra-index.es.js +522 -521
- package/dist/kestra-index.es.js.map +1 -1
- package/dist/ui-libs.css +1 -1
- package/package.json +1 -1
- package/src/components/buttons/AddTaskButton.vue +4 -0
- package/src/components/topology/export/useScreenshot.ts +29 -21
package/dist/kestra-index.es.js
CHANGED
|
@@ -2,8 +2,8 @@ import vl, { Document as El, YAMLMap as Nn } from "yaml";
|
|
|
2
2
|
import { S as ut, r as jo, E as U, U as Re, h as Ko, d as Yo, a as qo, c as Xo, g as Zo, C as Cl, l as Jo } from "./VueFlowUtils-D6fVYEkI.js";
|
|
3
3
|
import { N as P_, V as M_, e as V_, i as x_, b as U_, j as F_, s as H_, f as B_ } from "./VueFlowUtils-D6fVYEkI.js";
|
|
4
4
|
import { g as Qo, e as er, d as tr, r as nr, a as lr, f as ir, b as or, c as rr, h as ar, u as sr, i as ur, j as cr, k as dr, l as fr, m as mr, n as pr, s as gr, p as hr, o as _r, q as yr, t as Ci, v as vr, w as Er, x as bl, y as kl, z as Cr, A as br, B as bi, C as kr } from "./FlowYamlUtils-CEYKj9tP.js";
|
|
5
|
-
import { createElementBlock as d, openBlock as u, mergeProps as K, createElementVNode as v, createCommentVNode as w, toDisplayString as V, defineComponent as de, createBlock as q, getCurrentInstance as cn, inject as Rn, ref as te, shallowRef as qt, computed as G, watch as Ue, onMounted as Mt, onUnmounted as ki, h as bt, createVNode as M, Text as Ot, Fragment as Ee, nextTick as dn, onBeforeUnmount as Li, renderSlot as ae, createTextVNode as Ze, normalizeClass as re, withCtx as z, normalizeStyle as ct, unref as
|
|
6
|
-
import { Handle as Me, useVueFlow as Ti, Position as Jt, getSmoothStepPath as
|
|
5
|
+
import { createElementBlock as d, openBlock as u, mergeProps as K, createElementVNode as v, createCommentVNode as w, toDisplayString as V, defineComponent as de, createBlock as q, getCurrentInstance as cn, inject as Rn, ref as te, shallowRef as qt, computed as G, watch as Ue, onMounted as Mt, onUnmounted as ki, h as bt, createVNode as M, Text as Ot, Fragment as Ee, nextTick as dn, onBeforeUnmount as Li, renderSlot as ae, createTextVNode as Ze, normalizeClass as re, withCtx as z, normalizeStyle as ct, unref as $, toRef as Ll, renderList as Xe, resolveDynamicComponent as mt, createSlots as Si, provide as Sl, normalizeProps as Lr, guardReactiveProps as Sr, getCurrentScope as wr, onScopeDispose as Nr, reactive as wi, withModifiers as Ni, withAsyncContext as wl, toRaw as Tr, resolveComponent as Ar, defineAsyncComponent as Ir, Comment as Or, Suspense as $r } from "vue";
|
|
6
|
+
import { Handle as Me, useVueFlow as Ti, Position as Jt, getSmoothStepPath as Dr, EdgeLabelRenderer as Rr, VueFlow as Pr } from "@vue-flow/core";
|
|
7
7
|
import { Controls as Mr, ControlButton as Nl } from "@vue-flow/controls";
|
|
8
8
|
import Tn from "moment";
|
|
9
9
|
import { createPopper as Vr } from "@popperjs/core";
|
|
@@ -402,7 +402,7 @@ function Oa(e, t, n, l, o, i) {
|
|
|
402
402
|
], 8, Ta))
|
|
403
403
|
], 16, Na);
|
|
404
404
|
}
|
|
405
|
-
const Qt = /* @__PURE__ */ H(wa, [["render", Oa]]),
|
|
405
|
+
const Qt = /* @__PURE__ */ H(wa, [["render", Oa]]), $a = {
|
|
406
406
|
name: "DotsVerticalCircleIcon",
|
|
407
407
|
emits: ["click"],
|
|
408
408
|
props: {
|
|
@@ -418,7 +418,7 @@ const Qt = /* @__PURE__ */ H(wa, [["render", Oa]]), Da = {
|
|
|
418
418
|
default: 24
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
},
|
|
421
|
+
}, Da = ["aria-hidden", "aria-label"], Ra = ["fill", "width", "height"], Pa = { d: "M2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12M10.5,12A1.5,1.5 0 0,0 12,13.5A1.5,1.5 0 0,0 13.5,12A1.5,1.5 0 0,0 12,10.5A1.5,1.5 0 0,0 10.5,12M10.5,17.5A1.5,1.5 0 0,0 12,19A1.5,1.5 0 0,0 13.5,17.5A1.5,1.5 0 0,0 12,16A1.5,1.5 0 0,0 10.5,17.5M10.5,6.5A1.5,1.5 0 0,0 12,8A1.5,1.5 0 0,0 13.5,6.5A1.5,1.5 0 0,0 12,5A1.5,1.5 0 0,0 10.5,6.5Z" }, Ma = { key: 0 };
|
|
422
422
|
function Va(e, t, n, l, o, i) {
|
|
423
423
|
return u(), d("span", K(e.$attrs, {
|
|
424
424
|
"aria-hidden": n.title ? null : "true",
|
|
@@ -438,9 +438,9 @@ function Va(e, t, n, l, o, i) {
|
|
|
438
438
|
n.title ? (u(), d("title", Ma, V(n.title), 1)) : w("", !0)
|
|
439
439
|
])
|
|
440
440
|
], 8, Ra))
|
|
441
|
-
], 16,
|
|
441
|
+
], 16, Da);
|
|
442
442
|
}
|
|
443
|
-
const xa = /* @__PURE__ */ H(
|
|
443
|
+
const xa = /* @__PURE__ */ H($a, [["render", Va]]), Ua = {
|
|
444
444
|
name: "MotionPauseOutlineIcon",
|
|
445
445
|
emits: ["click"],
|
|
446
446
|
props: {
|
|
@@ -788,9 +788,9 @@ async function N_() {
|
|
|
788
788
|
const e = await import("./useMarkdownParser-Dm9LTWWl.js");
|
|
789
789
|
return zt = await (e.default ?? e)(), zt;
|
|
790
790
|
}
|
|
791
|
-
var Xt = { exports: {} }, is = Xt.exports,
|
|
791
|
+
var Xt = { exports: {} }, is = Xt.exports, $l;
|
|
792
792
|
function os() {
|
|
793
|
-
return
|
|
793
|
+
return $l || ($l = 1, (function(e, t) {
|
|
794
794
|
(function(n, l, o) {
|
|
795
795
|
e.exports = o(), e.exports.default = o();
|
|
796
796
|
})("slugify", is, function() {
|
|
@@ -800,8 +800,8 @@ function os() {
|
|
|
800
800
|
throw new Error("slugify: string argument expected");
|
|
801
801
|
r = typeof r == "string" ? { replacement: r } : r || {};
|
|
802
802
|
var a = l[r.locale] || {}, s = r.replacement === void 0 ? "-" : r.replacement, c = r.trim === void 0 ? !0 : r.trim, m = i.normalize().split("").reduce(function(_, h) {
|
|
803
|
-
var
|
|
804
|
-
return
|
|
803
|
+
var C = a[h];
|
|
804
|
+
return C === void 0 && (C = n[h]), C === void 0 && (C = h), C === s && (C = " "), _ + C.replace(r.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
|
|
805
805
|
}, "");
|
|
806
806
|
return r.strict && (m = m.replace(/[^A-Za-z0-9\s]/g, "")), c && (m = m.trim()), m = m.replace(/\s+/g, s), r.lower && (m = m.toLowerCase()), m;
|
|
807
807
|
}
|
|
@@ -885,9 +885,9 @@ const ps = /* @__PURE__ */ H(ss, [["render", ms]]), gs = /* @__PURE__ */ de({
|
|
|
885
885
|
function We(e, t) {
|
|
886
886
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
887
887
|
}
|
|
888
|
-
const
|
|
888
|
+
const Dl = {};
|
|
889
889
|
function _s(e) {
|
|
890
|
-
|
|
890
|
+
Dl[e] || (Dl[e] = !0, We(e));
|
|
891
891
|
}
|
|
892
892
|
const Je = typeof window < "u";
|
|
893
893
|
let Pe, dt;
|
|
@@ -1047,15 +1047,15 @@ function Lt(e, t, n = {}) {
|
|
|
1047
1047
|
const { domain: l, messages: o, args: i } = n, r = process.env.NODE_ENV !== "production" ? fn((o || Os)[e] || "", ...i || []) : e, a = new SyntaxError(String(r));
|
|
1048
1048
|
return a.code = e, t && (a.location = t), a.domain = l, a;
|
|
1049
1049
|
}
|
|
1050
|
-
function
|
|
1050
|
+
function $s(e) {
|
|
1051
1051
|
throw e;
|
|
1052
1052
|
}
|
|
1053
|
-
const
|
|
1053
|
+
const Ds = /<\/?[\w\s="/.':;#-\/]+>/, Rs = (e) => Ds.test(e), Be = " ", Ps = "\r", we = `
|
|
1054
1054
|
`, Ms = "\u2028", Vs = "\u2029";
|
|
1055
1055
|
function xs(e) {
|
|
1056
1056
|
const t = e;
|
|
1057
1057
|
let n = 0, l = 1, o = 1, i = 0;
|
|
1058
|
-
const r = (T) => t[T] === Ps && t[T + 1] === we, a = (T) => t[T] === we, s = (T) => t[T] === Vs, c = (T) => t[T] === Ms, m = (T) => r(T) || a(T) || s(T) || c(T), _ = () => n, h = () => l,
|
|
1058
|
+
const r = (T) => t[T] === Ps && t[T + 1] === we, a = (T) => t[T] === we, s = (T) => t[T] === Vs, c = (T) => t[T] === Ms, m = (T) => r(T) || a(T) || s(T) || c(T), _ = () => n, h = () => l, C = () => o, b = () => i, L = (T) => r(T) || s(T) || c(T) ? we : t[T], y = () => L(n), p = () => L(n + i);
|
|
1059
1059
|
function E() {
|
|
1060
1060
|
return i = 0, m(n) && (l++, o = 0), r(n) && n++, n++, o++, t[n];
|
|
1061
1061
|
}
|
|
@@ -1077,9 +1077,9 @@ function xs(e) {
|
|
|
1077
1077
|
return {
|
|
1078
1078
|
index: _,
|
|
1079
1079
|
line: h,
|
|
1080
|
-
column:
|
|
1081
|
-
peekOffset:
|
|
1082
|
-
charAt:
|
|
1080
|
+
column: C,
|
|
1081
|
+
peekOffset: b,
|
|
1082
|
+
charAt: L,
|
|
1083
1083
|
currentChar: y,
|
|
1084
1084
|
currentPeek: p,
|
|
1085
1085
|
next: E,
|
|
@@ -1119,22 +1119,22 @@ function Hs(e, t = {}) {
|
|
|
1119
1119
|
const F = { type: g };
|
|
1120
1120
|
return n && (F.loc = Mn(f.startLoc, f.endLoc)), N != null && (F.value = N), F;
|
|
1121
1121
|
}
|
|
1122
|
-
const
|
|
1122
|
+
const C = (f) => h(
|
|
1123
1123
|
f,
|
|
1124
1124
|
13
|
|
1125
1125
|
/* TokenTypes.EOF */
|
|
1126
1126
|
);
|
|
1127
|
-
function
|
|
1127
|
+
function b(f, g) {
|
|
1128
1128
|
return f.currentChar() === g ? (f.next(), g) : (_(j.EXPECTED_TOKEN, i(), 0, g), "");
|
|
1129
1129
|
}
|
|
1130
|
-
function
|
|
1130
|
+
function L(f) {
|
|
1131
1131
|
let g = "";
|
|
1132
1132
|
for (; f.currentPeek() === Be || f.currentPeek() === we; )
|
|
1133
1133
|
g += f.currentPeek(), f.peek();
|
|
1134
1134
|
return g;
|
|
1135
1135
|
}
|
|
1136
1136
|
function y(f) {
|
|
1137
|
-
const g =
|
|
1137
|
+
const g = L(f);
|
|
1138
1138
|
return f.skipToPeek(), g;
|
|
1139
1139
|
}
|
|
1140
1140
|
function p(f) {
|
|
@@ -1155,7 +1155,7 @@ function Hs(e, t = {}) {
|
|
|
1155
1155
|
const { currentType: N } = g;
|
|
1156
1156
|
if (N !== 2)
|
|
1157
1157
|
return !1;
|
|
1158
|
-
|
|
1158
|
+
L(f);
|
|
1159
1159
|
const F = p(f.currentPeek());
|
|
1160
1160
|
return f.resetPeek(), F;
|
|
1161
1161
|
}
|
|
@@ -1163,7 +1163,7 @@ function Hs(e, t = {}) {
|
|
|
1163
1163
|
const { currentType: N } = g;
|
|
1164
1164
|
if (N !== 2)
|
|
1165
1165
|
return !1;
|
|
1166
|
-
|
|
1166
|
+
L(f);
|
|
1167
1167
|
const F = f.currentPeek() === "-" ? f.peek() : f.currentPeek(), fe = E(F);
|
|
1168
1168
|
return f.resetPeek(), fe;
|
|
1169
1169
|
}
|
|
@@ -1171,7 +1171,7 @@ function Hs(e, t = {}) {
|
|
|
1171
1171
|
const { currentType: N } = g;
|
|
1172
1172
|
if (N !== 2)
|
|
1173
1173
|
return !1;
|
|
1174
|
-
|
|
1174
|
+
L(f);
|
|
1175
1175
|
const F = f.currentPeek() === xl;
|
|
1176
1176
|
return f.resetPeek(), F;
|
|
1177
1177
|
}
|
|
@@ -1179,7 +1179,7 @@ function Hs(e, t = {}) {
|
|
|
1179
1179
|
const { currentType: N } = g;
|
|
1180
1180
|
if (N !== 7)
|
|
1181
1181
|
return !1;
|
|
1182
|
-
|
|
1182
|
+
L(f);
|
|
1183
1183
|
const F = f.currentPeek() === ".";
|
|
1184
1184
|
return f.resetPeek(), F;
|
|
1185
1185
|
}
|
|
@@ -1187,7 +1187,7 @@ function Hs(e, t = {}) {
|
|
|
1187
1187
|
const { currentType: N } = g;
|
|
1188
1188
|
if (N !== 8)
|
|
1189
1189
|
return !1;
|
|
1190
|
-
|
|
1190
|
+
L(f);
|
|
1191
1191
|
const F = p(f.currentPeek());
|
|
1192
1192
|
return f.resetPeek(), F;
|
|
1193
1193
|
}
|
|
@@ -1195,7 +1195,7 @@ function Hs(e, t = {}) {
|
|
|
1195
1195
|
const { currentType: N } = g;
|
|
1196
1196
|
if (!(N === 7 || N === 11))
|
|
1197
1197
|
return !1;
|
|
1198
|
-
|
|
1198
|
+
L(f);
|
|
1199
1199
|
const F = f.currentPeek() === ":";
|
|
1200
1200
|
return f.resetPeek(), F;
|
|
1201
1201
|
}
|
|
@@ -1210,7 +1210,7 @@ function Hs(e, t = {}) {
|
|
|
1210
1210
|
return f.resetPeek(), fe;
|
|
1211
1211
|
}
|
|
1212
1212
|
function pe(f) {
|
|
1213
|
-
|
|
1213
|
+
L(f);
|
|
1214
1214
|
const g = f.currentPeek() === "|";
|
|
1215
1215
|
return f.resetPeek(), g;
|
|
1216
1216
|
}
|
|
@@ -1245,7 +1245,7 @@ function Hs(e, t = {}) {
|
|
|
1245
1245
|
g === 36 || // $
|
|
1246
1246
|
g === 45;
|
|
1247
1247
|
}
|
|
1248
|
-
function
|
|
1248
|
+
function D(f) {
|
|
1249
1249
|
return ue(f, B);
|
|
1250
1250
|
}
|
|
1251
1251
|
function Z(f) {
|
|
@@ -1292,7 +1292,7 @@ function Hs(e, t = {}) {
|
|
|
1292
1292
|
function vn(f) {
|
|
1293
1293
|
y(f);
|
|
1294
1294
|
let g = "", N = "";
|
|
1295
|
-
for (; g =
|
|
1295
|
+
for (; g = D(f); )
|
|
1296
1296
|
N += g;
|
|
1297
1297
|
const F = f.currentChar();
|
|
1298
1298
|
if (F && F !== "}" && F !== Ke && F !== Be && F !== we && F !== " ") {
|
|
@@ -1310,12 +1310,12 @@ function Hs(e, t = {}) {
|
|
|
1310
1310
|
return f !== xl && f !== we;
|
|
1311
1311
|
}
|
|
1312
1312
|
function _l(f) {
|
|
1313
|
-
y(f),
|
|
1313
|
+
y(f), b(f, "'");
|
|
1314
1314
|
let g = "", N = "";
|
|
1315
1315
|
for (; g = ue(f, Cn); )
|
|
1316
1316
|
g === "\\" ? N += bn(f) : N += g;
|
|
1317
1317
|
const F = f.currentChar();
|
|
1318
|
-
return F === we || F === Ke ? (_(j.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0), F === we && (f.next(),
|
|
1318
|
+
return F === we || F === Ke ? (_(j.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0), F === we && (f.next(), b(f, "'")), N) : (b(f, "'"), N);
|
|
1319
1319
|
}
|
|
1320
1320
|
function bn(f) {
|
|
1321
1321
|
const g = f.currentChar();
|
|
@@ -1332,7 +1332,7 @@ function Hs(e, t = {}) {
|
|
|
1332
1332
|
}
|
|
1333
1333
|
}
|
|
1334
1334
|
function Ut(f, g, N) {
|
|
1335
|
-
|
|
1335
|
+
b(f, g);
|
|
1336
1336
|
let F = "";
|
|
1337
1337
|
for (let fe = 0; fe < N; fe++) {
|
|
1338
1338
|
const ge = Se(f);
|
|
@@ -1369,7 +1369,7 @@ function Hs(e, t = {}) {
|
|
|
1369
1369
|
}
|
|
1370
1370
|
function wt(f) {
|
|
1371
1371
|
y(f);
|
|
1372
|
-
const g =
|
|
1372
|
+
const g = b(
|
|
1373
1373
|
f,
|
|
1374
1374
|
"|"
|
|
1375
1375
|
/* TokenChars.Pipe */
|
|
@@ -1394,7 +1394,7 @@ function Hs(e, t = {}) {
|
|
|
1394
1394
|
/* TokenChars.BraceRight */
|
|
1395
1395
|
), g.braceNest--, g.braceNest > 0 && y(f), g.inLinked && g.braceNest === 0 && (g.inLinked = !1), N;
|
|
1396
1396
|
case "@":
|
|
1397
|
-
return g.braceNest > 0 && _(j.UNTERMINATED_CLOSING_BRACE, i(), 0), N = ot(f, g) ||
|
|
1397
|
+
return g.braceNest > 0 && _(j.UNTERMINATED_CLOSING_BRACE, i(), 0), N = ot(f, g) || C(g), g.braceNest = 0, N;
|
|
1398
1398
|
default: {
|
|
1399
1399
|
let fe = !0, ge = !0, ee = !0;
|
|
1400
1400
|
if (pe(f))
|
|
@@ -1450,12 +1450,12 @@ function Hs(e, t = {}) {
|
|
|
1450
1450
|
/* TokenTypes.EOF */
|
|
1451
1451
|
};
|
|
1452
1452
|
if (g.braceNest > 0)
|
|
1453
|
-
return Nt(f, g) ||
|
|
1453
|
+
return Nt(f, g) || C(g);
|
|
1454
1454
|
if (g.inLinked)
|
|
1455
|
-
return ot(f, g) ||
|
|
1455
|
+
return ot(f, g) || C(g);
|
|
1456
1456
|
switch (f.currentChar()) {
|
|
1457
1457
|
case "{":
|
|
1458
|
-
return Nt(f, g) ||
|
|
1458
|
+
return Nt(f, g) || C(g);
|
|
1459
1459
|
case "}":
|
|
1460
1460
|
return _(j.UNBALANCED_CLOSING_BRACE, i(), 0), f.next(), h(
|
|
1461
1461
|
g,
|
|
@@ -1464,7 +1464,7 @@ function Hs(e, t = {}) {
|
|
|
1464
1464
|
/* TokenChars.BraceRight */
|
|
1465
1465
|
);
|
|
1466
1466
|
case "@":
|
|
1467
|
-
return ot(f, g) ||
|
|
1467
|
+
return ot(f, g) || C(g);
|
|
1468
1468
|
default: {
|
|
1469
1469
|
if (pe(f))
|
|
1470
1470
|
return N = h(g, 1, wt(f)), g.braceNest = 0, g.inLinked = !1, N;
|
|
@@ -1585,7 +1585,7 @@ function Ws(e = {}) {
|
|
|
1585
1585
|
node: A
|
|
1586
1586
|
};
|
|
1587
1587
|
}
|
|
1588
|
-
function
|
|
1588
|
+
function C(p) {
|
|
1589
1589
|
const E = p.context(), A = E.currentType === 1 ? p.currentOffset() : E.offset, S = E.currentType === 1 ? E.endLoc : E.startLoc, R = o(2, A, S);
|
|
1590
1590
|
R.items = [];
|
|
1591
1591
|
let P = null;
|
|
@@ -1614,24 +1614,24 @@ function Ws(e = {}) {
|
|
|
1614
1614
|
const T = E.currentType === 1 ? E.lastOffset : p.currentOffset(), X = E.currentType === 1 ? E.lastEndLoc : p.currentPosition();
|
|
1615
1615
|
return i(R, T, X), R;
|
|
1616
1616
|
}
|
|
1617
|
-
function
|
|
1617
|
+
function b(p, E, A, S) {
|
|
1618
1618
|
const R = p.context();
|
|
1619
1619
|
let P = S.items.length === 0;
|
|
1620
1620
|
const T = o(1, E, A);
|
|
1621
1621
|
T.cases = [], T.cases.push(S);
|
|
1622
1622
|
do {
|
|
1623
|
-
const X =
|
|
1623
|
+
const X = C(p);
|
|
1624
1624
|
P || (P = X.items.length === 0), T.cases.push(X);
|
|
1625
1625
|
} while (R.currentType !== 13);
|
|
1626
1626
|
return P && l(p, j.MUST_HAVE_MESSAGES_IN_PLURAL, A, 0), i(T, p.currentOffset(), p.currentPosition()), T;
|
|
1627
1627
|
}
|
|
1628
|
-
function
|
|
1629
|
-
const E = p.context(), { offset: A, startLoc: S } = E, R =
|
|
1630
|
-
return E.currentType === 13 ? R :
|
|
1628
|
+
function L(p) {
|
|
1629
|
+
const E = p.context(), { offset: A, startLoc: S } = E, R = C(p);
|
|
1630
|
+
return E.currentType === 13 ? R : b(p, A, S, R);
|
|
1631
1631
|
}
|
|
1632
1632
|
function y(p) {
|
|
1633
1633
|
const E = Hs(p, ke({}, e)), A = E.context(), S = o(0, A.offset, A.startLoc);
|
|
1634
|
-
return t && S.loc && (S.loc.source = p), S.body =
|
|
1634
|
+
return t && S.loc && (S.loc.source = p), S.body = L(E), e.onCacheKey && (S.cacheKey = e.onCacheKey(p)), A.currentType !== 13 && l(E, j.UNEXPECTED_LEXICAL_ANALYSIS, A.lastStartLoc, 0, p[A.offset] || ""), i(S, E.currentOffset(), E.currentPosition()), S;
|
|
1635
1635
|
}
|
|
1636
1636
|
return { parse: y };
|
|
1637
1637
|
}
|
|
@@ -1796,20 +1796,20 @@ function Zs(e, t) {
|
|
|
1796
1796
|
};
|
|
1797
1797
|
i && e.loc && (r.source = e.loc.source);
|
|
1798
1798
|
const a = () => r;
|
|
1799
|
-
function s(
|
|
1800
|
-
r.code +=
|
|
1799
|
+
function s(L, y) {
|
|
1800
|
+
r.code += L;
|
|
1801
1801
|
}
|
|
1802
|
-
function c(
|
|
1802
|
+
function c(L, y = !0) {
|
|
1803
1803
|
const p = y ? l : "";
|
|
1804
|
-
s(o ? p + " ".repeat(
|
|
1804
|
+
s(o ? p + " ".repeat(L) : p);
|
|
1805
1805
|
}
|
|
1806
|
-
function m(
|
|
1806
|
+
function m(L = !0) {
|
|
1807
1807
|
const y = ++r.indentLevel;
|
|
1808
|
-
|
|
1808
|
+
L && c(y);
|
|
1809
1809
|
}
|
|
1810
|
-
function _(
|
|
1810
|
+
function _(L = !0) {
|
|
1811
1811
|
const y = --r.indentLevel;
|
|
1812
|
-
|
|
1812
|
+
L && c(y);
|
|
1813
1813
|
}
|
|
1814
1814
|
function h() {
|
|
1815
1815
|
c(r.indentLevel);
|
|
@@ -1820,7 +1820,7 @@ function Zs(e, t) {
|
|
|
1820
1820
|
indent: m,
|
|
1821
1821
|
deindent: _,
|
|
1822
1822
|
newline: h,
|
|
1823
|
-
helper: (
|
|
1823
|
+
helper: (L) => `_${L}`,
|
|
1824
1824
|
needIndent: () => r.needIndent
|
|
1825
1825
|
};
|
|
1826
1826
|
}
|
|
@@ -1948,13 +1948,13 @@ const Oi = ["b", "body"];
|
|
|
1948
1948
|
function ou(e) {
|
|
1949
1949
|
return nt(e, Oi);
|
|
1950
1950
|
}
|
|
1951
|
-
const
|
|
1951
|
+
const $i = ["c", "cases"];
|
|
1952
1952
|
function ru(e) {
|
|
1953
|
-
return nt(e,
|
|
1953
|
+
return nt(e, $i, []);
|
|
1954
1954
|
}
|
|
1955
|
-
const
|
|
1955
|
+
const Di = ["s", "static"];
|
|
1956
1956
|
function au(e) {
|
|
1957
|
-
return nt(e,
|
|
1957
|
+
return nt(e, Di);
|
|
1958
1958
|
}
|
|
1959
1959
|
const Ri = ["i", "items"];
|
|
1960
1960
|
function su(e) {
|
|
@@ -1969,7 +1969,7 @@ function Wt(e, t) {
|
|
|
1969
1969
|
const n = nt(e, Mi);
|
|
1970
1970
|
if (n != null)
|
|
1971
1971
|
return n;
|
|
1972
|
-
throw
|
|
1972
|
+
throw $t(t);
|
|
1973
1973
|
}
|
|
1974
1974
|
const Vi = ["m", "modifier"];
|
|
1975
1975
|
function uu(e) {
|
|
@@ -1980,7 +1980,7 @@ function cu(e) {
|
|
|
1980
1980
|
const t = nt(e, xi);
|
|
1981
1981
|
if (t)
|
|
1982
1982
|
return t;
|
|
1983
|
-
throw
|
|
1983
|
+
throw $t(
|
|
1984
1984
|
6
|
|
1985
1985
|
/* NodeTypes.Linked */
|
|
1986
1986
|
);
|
|
@@ -1995,15 +1995,15 @@ function nt(e, t, n) {
|
|
|
1995
1995
|
}
|
|
1996
1996
|
const Ui = [
|
|
1997
1997
|
...Oi,
|
|
1998
|
-
...Di,
|
|
1999
1998
|
...$i,
|
|
1999
|
+
...Di,
|
|
2000
2000
|
...Ri,
|
|
2001
2001
|
...xi,
|
|
2002
2002
|
...Vi,
|
|
2003
2003
|
...Mi,
|
|
2004
2004
|
...Pi
|
|
2005
2005
|
];
|
|
2006
|
-
function
|
|
2006
|
+
function $t(e) {
|
|
2007
2007
|
return new Error(`unhandled node type: ${e}`);
|
|
2008
2008
|
}
|
|
2009
2009
|
function An(e) {
|
|
@@ -2012,7 +2012,7 @@ function An(e) {
|
|
|
2012
2012
|
function du(e, t) {
|
|
2013
2013
|
const n = ou(t);
|
|
2014
2014
|
if (n == null)
|
|
2015
|
-
throw
|
|
2015
|
+
throw $t(
|
|
2016
2016
|
0
|
|
2017
2017
|
/* NodeTypes.Resource */
|
|
2018
2018
|
);
|
|
@@ -2047,7 +2047,7 @@ function Vn(e, t) {
|
|
|
2047
2047
|
return e.interpolate(e.named(l.k));
|
|
2048
2048
|
if (Fe(l, "key") && l.key)
|
|
2049
2049
|
return e.interpolate(e.named(l.key));
|
|
2050
|
-
throw
|
|
2050
|
+
throw $t(n);
|
|
2051
2051
|
}
|
|
2052
2052
|
case 5: {
|
|
2053
2053
|
const l = t;
|
|
@@ -2055,7 +2055,7 @@ function Vn(e, t) {
|
|
|
2055
2055
|
return e.interpolate(e.list(l.i));
|
|
2056
2056
|
if (Fe(l, "index") && be(l.index))
|
|
2057
2057
|
return e.interpolate(e.list(l.index));
|
|
2058
|
-
throw
|
|
2058
|
+
throw $t(n);
|
|
2059
2059
|
}
|
|
2060
2060
|
case 6: {
|
|
2061
2061
|
const l = t, o = uu(l), i = cu(l);
|
|
@@ -2077,7 +2077,7 @@ const pu = (e) => e;
|
|
|
2077
2077
|
let jt = se();
|
|
2078
2078
|
function gu(e, t = {}) {
|
|
2079
2079
|
let n = !1;
|
|
2080
|
-
const l = t.onError ||
|
|
2080
|
+
const l = t.onError || $s;
|
|
2081
2081
|
return t.onError = (o) => {
|
|
2082
2082
|
n = !0, l(o);
|
|
2083
2083
|
}, { ...lu(e, t), detectError: n };
|
|
@@ -2107,12 +2107,12 @@ function hu(e, t) {
|
|
|
2107
2107
|
return An(e);
|
|
2108
2108
|
}
|
|
2109
2109
|
}
|
|
2110
|
-
let
|
|
2110
|
+
let Dt = null;
|
|
2111
2111
|
function _u(e) {
|
|
2112
|
-
|
|
2112
|
+
Dt = e;
|
|
2113
2113
|
}
|
|
2114
2114
|
function yu(e, t, n) {
|
|
2115
|
-
|
|
2115
|
+
Dt && Dt.emit("i18n:init", {
|
|
2116
2116
|
timestamp: Date.now(),
|
|
2117
2117
|
i18n: e,
|
|
2118
2118
|
version: t,
|
|
@@ -2121,7 +2121,7 @@ function yu(e, t, n) {
|
|
|
2121
2121
|
}
|
|
2122
2122
|
const vu = /* @__PURE__ */ Eu("function:translate");
|
|
2123
2123
|
function Eu(e) {
|
|
2124
|
-
return (t) =>
|
|
2124
|
+
return (t) => Dt && Dt.emit(e, t);
|
|
2125
2125
|
}
|
|
2126
2126
|
const Ne = {
|
|
2127
2127
|
INVALID_ARGUMENT: Is,
|
|
@@ -2461,16 +2461,16 @@ function Ou(e) {
|
|
|
2461
2461
|
]();
|
|
2462
2462
|
}
|
|
2463
2463
|
};
|
|
2464
|
-
function
|
|
2465
|
-
const
|
|
2466
|
-
if (l === 5 &&
|
|
2467
|
-
return n++, a = "\\" +
|
|
2464
|
+
function C() {
|
|
2465
|
+
const b = e[n + 1];
|
|
2466
|
+
if (l === 5 && b === "'" || l === 6 && b === '"')
|
|
2467
|
+
return n++, a = "\\" + b, h[
|
|
2468
2468
|
0
|
|
2469
2469
|
/* Actions.APPEND */
|
|
2470
2470
|
](), !0;
|
|
2471
2471
|
}
|
|
2472
2472
|
for (; l !== null; )
|
|
2473
|
-
if (n++, i = e[n], !(i === "\\" &&
|
|
2473
|
+
if (n++, i = e[n], !(i === "\\" && C())) {
|
|
2474
2474
|
if (s = Au(i), _ = lt[l], c = _[s] || _.l || 8, c === 8 || (l = c[0], c[1] !== void 0 && (m = h[c[1]], m && (a = i, m() === !1))))
|
|
2475
2475
|
return;
|
|
2476
2476
|
if (l === 7)
|
|
@@ -2478,10 +2478,10 @@ function Ou(e) {
|
|
|
2478
2478
|
}
|
|
2479
2479
|
}
|
|
2480
2480
|
const Gl = /* @__PURE__ */ new Map();
|
|
2481
|
-
function
|
|
2481
|
+
function $u(e, t) {
|
|
2482
2482
|
return le(e) ? e[t] : null;
|
|
2483
2483
|
}
|
|
2484
|
-
function
|
|
2484
|
+
function Du(e, t) {
|
|
2485
2485
|
if (!le(e))
|
|
2486
2486
|
return null;
|
|
2487
2487
|
let n = Gl.get(t);
|
|
@@ -2550,9 +2550,9 @@ const jl = (e) => {
|
|
|
2550
2550
|
}, zu = () => Wi;
|
|
2551
2551
|
let Kl = 0;
|
|
2552
2552
|
function Gu(e = {}) {
|
|
2553
|
-
const t = me(e.onWarn) ? e.onWarn : We, n = x(e.version) ? e.version : Mu, l = x(e.locale) || me(e.locale) ? e.locale : tn, o = me(l) ? tn : l, i = ve(e.fallbackLocale) || ne(e.fallbackLocale) || x(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : o, r = ne(e.messages) ? e.messages : On(o), a = ne(e.datetimeFormats) ? e.datetimeFormats : On(o), s = ne(e.numberFormats) ? e.numberFormats : On(o), c = ke(se(), e.modifiers, Vu()), m = e.pluralRules || se(), _ = me(e.missing) ? e.missing : null, h = ye(e.missingWarn) || en(e.missingWarn) ? e.missingWarn : !0,
|
|
2553
|
+
const t = me(e.onWarn) ? e.onWarn : We, n = x(e.version) ? e.version : Mu, l = x(e.locale) || me(e.locale) ? e.locale : tn, o = me(l) ? tn : l, i = ve(e.fallbackLocale) || ne(e.fallbackLocale) || x(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : o, r = ne(e.messages) ? e.messages : On(o), a = ne(e.datetimeFormats) ? e.datetimeFormats : On(o), s = ne(e.numberFormats) ? e.numberFormats : On(o), c = ke(se(), e.modifiers, Vu()), m = e.pluralRules || se(), _ = me(e.missing) ? e.missing : null, h = ye(e.missingWarn) || en(e.missingWarn) ? e.missingWarn : !0, C = ye(e.fallbackWarn) || en(e.fallbackWarn) ? e.fallbackWarn : !0, b = !!e.fallbackFormat, L = !!e.unresolving, y = me(e.postTranslation) ? e.postTranslation : null, p = ne(e.processor) ? e.processor : null, E = ye(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, A = !!e.escapeParameter, S = me(e.messageCompiler) ? e.messageCompiler : Hi;
|
|
2554
2554
|
process.env.NODE_ENV !== "production" && me(e.messageCompiler) && _s(ft(Ae.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
2555
|
-
const R = me(e.messageResolver) ? e.messageResolver : Bi ||
|
|
2555
|
+
const R = me(e.messageResolver) ? e.messageResolver : Bi || $u, P = me(e.localeFallbacker) ? e.localeFallbacker : zi || ku, T = le(e.fallbackContext) ? e.fallbackContext : void 0, X = e, Q = le(X.__datetimeFormatters) ? X.__datetimeFormatters : /* @__PURE__ */ new Map(), pe = le(X.__numberFormatters) ? X.__numberFormatters : /* @__PURE__ */ new Map(), Te = le(X.__meta) ? X.__meta : {};
|
|
2556
2556
|
Kl++;
|
|
2557
2557
|
const ue = {
|
|
2558
2558
|
version: n,
|
|
@@ -2564,9 +2564,9 @@ function Gu(e = {}) {
|
|
|
2564
2564
|
pluralRules: m,
|
|
2565
2565
|
missing: _,
|
|
2566
2566
|
missingWarn: h,
|
|
2567
|
-
fallbackWarn:
|
|
2568
|
-
fallbackFormat:
|
|
2569
|
-
unresolving:
|
|
2567
|
+
fallbackWarn: C,
|
|
2568
|
+
fallbackFormat: b,
|
|
2569
|
+
unresolving: L,
|
|
2570
2570
|
postTranslation: y,
|
|
2571
2571
|
processor: p,
|
|
2572
2572
|
warnHtmlMessage: E,
|
|
@@ -2628,21 +2628,21 @@ function ql(e, ...t) {
|
|
|
2628
2628
|
const { datetimeFormats: n, unresolving: l, fallbackLocale: o, onWarn: i, localeFallbacker: r } = e, { __datetimeFormatters: a } = e;
|
|
2629
2629
|
if (process.env.NODE_ENV !== "production" && !Yi.dateTimeFormat)
|
|
2630
2630
|
return i(ft(Ae.CANNOT_FORMAT_DATE)), nn;
|
|
2631
|
-
const [s, c, m, _] = xn(...t), h = ye(m.missingWarn) ? m.missingWarn : e.missingWarn,
|
|
2631
|
+
const [s, c, m, _] = xn(...t), h = ye(m.missingWarn) ? m.missingWarn : e.missingWarn, C = ye(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, b = !!m.part, L = ll(e, m), y = r(
|
|
2632
2632
|
e,
|
|
2633
2633
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
2634
2634
|
o,
|
|
2635
|
-
|
|
2635
|
+
L
|
|
2636
2636
|
);
|
|
2637
2637
|
if (!x(s) || s === "")
|
|
2638
|
-
return new Intl.DateTimeFormat(
|
|
2639
|
-
let p = {}, E, A = null, S =
|
|
2638
|
+
return new Intl.DateTimeFormat(L, _).format(c);
|
|
2639
|
+
let p = {}, E, A = null, S = L, R = null;
|
|
2640
2640
|
const P = "datetime format";
|
|
2641
2641
|
for (let Q = 0; Q < y.length; Q++) {
|
|
2642
|
-
if (E = R = y[Q], process.env.NODE_ENV !== "production" &&
|
|
2642
|
+
if (E = R = y[Q], process.env.NODE_ENV !== "production" && L !== E && gn(C, s) && i(ft(Ae.FALLBACK_TO_DATE_FORMAT, {
|
|
2643
2643
|
key: s,
|
|
2644
2644
|
target: E
|
|
2645
|
-
})), process.env.NODE_ENV !== "production" &&
|
|
2645
|
+
})), process.env.NODE_ENV !== "production" && L !== E) {
|
|
2646
2646
|
const pe = e.__v_emitter;
|
|
2647
2647
|
pe && pe.emit("fallback", {
|
|
2648
2648
|
type: P,
|
|
@@ -2661,7 +2661,7 @@ function ql(e, ...t) {
|
|
|
2661
2661
|
let T = `${E}__${s}`;
|
|
2662
2662
|
mn(_) || (T = `${T}__${JSON.stringify(_)}`);
|
|
2663
2663
|
let X = a.get(T);
|
|
2664
|
-
return X || (X = new Intl.DateTimeFormat(E, ke({}, A, _)), a.set(T, X)),
|
|
2664
|
+
return X || (X = new Intl.DateTimeFormat(E, ke({}, A, _)), a.set(T, X)), b ? X.formatToParts(c) : X.format(c);
|
|
2665
2665
|
}
|
|
2666
2666
|
const qi = [
|
|
2667
2667
|
"localeMatcher",
|
|
@@ -2722,21 +2722,21 @@ function Zl(e, ...t) {
|
|
|
2722
2722
|
const { numberFormats: n, unresolving: l, fallbackLocale: o, onWarn: i, localeFallbacker: r } = e, { __numberFormatters: a } = e;
|
|
2723
2723
|
if (process.env.NODE_ENV !== "production" && !Yi.numberFormat)
|
|
2724
2724
|
return i(ft(Ae.CANNOT_FORMAT_NUMBER)), nn;
|
|
2725
|
-
const [s, c, m, _] = Un(...t), h = ye(m.missingWarn) ? m.missingWarn : e.missingWarn,
|
|
2725
|
+
const [s, c, m, _] = Un(...t), h = ye(m.missingWarn) ? m.missingWarn : e.missingWarn, C = ye(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, b = !!m.part, L = ll(e, m), y = r(
|
|
2726
2726
|
e,
|
|
2727
2727
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
2728
2728
|
o,
|
|
2729
|
-
|
|
2729
|
+
L
|
|
2730
2730
|
);
|
|
2731
2731
|
if (!x(s) || s === "")
|
|
2732
|
-
return new Intl.NumberFormat(
|
|
2733
|
-
let p = {}, E, A = null, S =
|
|
2732
|
+
return new Intl.NumberFormat(L, _).format(c);
|
|
2733
|
+
let p = {}, E, A = null, S = L, R = null;
|
|
2734
2734
|
const P = "number format";
|
|
2735
2735
|
for (let Q = 0; Q < y.length; Q++) {
|
|
2736
|
-
if (E = R = y[Q], process.env.NODE_ENV !== "production" &&
|
|
2736
|
+
if (E = R = y[Q], process.env.NODE_ENV !== "production" && L !== E && gn(C, s) && i(ft(Ae.FALLBACK_TO_NUMBER_FORMAT, {
|
|
2737
2737
|
key: s,
|
|
2738
2738
|
target: E
|
|
2739
|
-
})), process.env.NODE_ENV !== "production" &&
|
|
2739
|
+
})), process.env.NODE_ENV !== "production" && L !== E) {
|
|
2740
2740
|
const pe = e.__v_emitter;
|
|
2741
2741
|
pe && pe.emit("fallback", {
|
|
2742
2742
|
type: P,
|
|
@@ -2755,7 +2755,7 @@ function Zl(e, ...t) {
|
|
|
2755
2755
|
let T = `${E}__${s}`;
|
|
2756
2756
|
mn(_) || (T = `${T}__${JSON.stringify(_)}`);
|
|
2757
2757
|
let X = a.get(T);
|
|
2758
|
-
return X || (X = new Intl.NumberFormat(E, ke({}, A, _)), a.set(T, X)),
|
|
2758
|
+
return X || (X = new Intl.NumberFormat(E, ke({}, A, _)), a.set(T, X)), b ? X.formatToParts(c) : X.format(c);
|
|
2759
2759
|
}
|
|
2760
2760
|
const Xi = [
|
|
2761
2761
|
"localeMatcher",
|
|
@@ -2815,7 +2815,7 @@ function Qu(e = {}) {
|
|
|
2815
2815
|
const A = me(e.messages) ? e.messages(p, !!E) : le(e.messages) ? e.messages[p] : !1;
|
|
2816
2816
|
return A || (e.parent ? e.parent.message(p) : Ku);
|
|
2817
2817
|
}
|
|
2818
|
-
const _ = (p) => e.modifiers ? e.modifiers[p] : ju, h = ne(e.processor) && me(e.processor.normalize) ? e.processor.normalize : qu,
|
|
2818
|
+
const _ = (p) => e.modifiers ? e.modifiers[p] : ju, h = ne(e.processor) && me(e.processor.normalize) ? e.processor.normalize : qu, C = ne(e.processor) && me(e.processor.interpolate) ? e.processor.interpolate : Xu, b = ne(e.processor) && x(e.processor.type) ? e.processor.type : Yu, y = {
|
|
2819
2819
|
list: a,
|
|
2820
2820
|
named: c,
|
|
2821
2821
|
plural: i,
|
|
@@ -2830,8 +2830,8 @@ function Qu(e = {}) {
|
|
|
2830
2830
|
return P ? _(P)(X, R) : X;
|
|
2831
2831
|
},
|
|
2832
2832
|
message: m,
|
|
2833
|
-
type:
|
|
2834
|
-
interpolate:
|
|
2833
|
+
type: b,
|
|
2834
|
+
interpolate: C,
|
|
2835
2835
|
normalize: h,
|
|
2836
2836
|
values: ke(se(), r, s)
|
|
2837
2837
|
};
|
|
@@ -2839,14 +2839,14 @@ function Qu(e = {}) {
|
|
|
2839
2839
|
}
|
|
2840
2840
|
const ei = () => "", xe = (e) => me(e);
|
|
2841
2841
|
function ti(e, ...t) {
|
|
2842
|
-
const { fallbackFormat: n, postTranslation: l, unresolving: o, messageCompiler: i, fallbackLocale: r, messages: a } = e, [s, c] = Fn(...t), m = ye(c.missingWarn) ? c.missingWarn : e.missingWarn, _ = ye(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, h = ye(c.escapeParameter) ? c.escapeParameter : e.escapeParameter,
|
|
2842
|
+
const { fallbackFormat: n, postTranslation: l, unresolving: o, messageCompiler: i, fallbackLocale: r, messages: a } = e, [s, c] = Fn(...t), m = ye(c.missingWarn) ? c.missingWarn : e.missingWarn, _ = ye(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, h = ye(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, C = !!c.resolvedMessage, b = x(c.default) || ye(c.default) ? ye(c.default) ? i ? s : () => s : c.default : n ? i ? s : () => s : null, L = n || b != null && (x(b) || me(b)), y = ll(e, c);
|
|
2843
2843
|
h && ec(c);
|
|
2844
|
-
let [p, E, A] =
|
|
2844
|
+
let [p, E, A] = C ? [
|
|
2845
2845
|
s,
|
|
2846
2846
|
y,
|
|
2847
2847
|
a[y] || se()
|
|
2848
2848
|
] : Zi(e, s, y, r, _, m), S = p, R = s;
|
|
2849
|
-
if (!
|
|
2849
|
+
if (!C && !(x(S) || He(S) || xe(S)) && L && (S = b, R = S), !C && (!(x(S) || He(S) || xe(S)) || !x(E)))
|
|
2850
2850
|
return o ? pn : s;
|
|
2851
2851
|
if (process.env.NODE_ENV !== "production" && x(S) && e.messageCompiler == null)
|
|
2852
2852
|
return We(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${s}'.`), s;
|
|
@@ -2877,10 +2877,10 @@ function ec(e) {
|
|
|
2877
2877
|
}
|
|
2878
2878
|
function Zi(e, t, n, l, o, i) {
|
|
2879
2879
|
const { messages: r, onWarn: a, messageResolver: s, localeFallbacker: c } = e, m = c(e, l, n);
|
|
2880
|
-
let _ = se(), h,
|
|
2880
|
+
let _ = se(), h, C = null, b = n, L = null;
|
|
2881
2881
|
const y = "translate";
|
|
2882
2882
|
for (let p = 0; p < m.length; p++) {
|
|
2883
|
-
if (h =
|
|
2883
|
+
if (h = L = m[p], process.env.NODE_ENV !== "production" && n !== h && !Ki(n, h) && gn(o, t) && a(ft(Ae.FALLBACK_TO_TRANSLATE, {
|
|
2884
2884
|
key: t,
|
|
2885
2885
|
target: h
|
|
2886
2886
|
})), process.env.NODE_ENV !== "production" && n !== h) {
|
|
@@ -2888,24 +2888,24 @@ function Zi(e, t, n, l, o, i) {
|
|
|
2888
2888
|
R && R.emit("fallback", {
|
|
2889
2889
|
type: y,
|
|
2890
2890
|
key: t,
|
|
2891
|
-
from:
|
|
2892
|
-
to:
|
|
2891
|
+
from: b,
|
|
2892
|
+
to: L,
|
|
2893
2893
|
groupId: `${y}:${t}`
|
|
2894
2894
|
});
|
|
2895
2895
|
}
|
|
2896
2896
|
_ = r[h] || se();
|
|
2897
2897
|
let E = null, A, S;
|
|
2898
|
-
if (process.env.NODE_ENV !== "production" && Je && (E = window.performance.now(), A = "intlify-message-resolve-start", S = "intlify-message-resolve-end", Pe && Pe(A)), (
|
|
2898
|
+
if (process.env.NODE_ENV !== "production" && Je && (E = window.performance.now(), A = "intlify-message-resolve-start", S = "intlify-message-resolve-end", Pe && Pe(A)), (C = s(_, t)) === null && (C = _[t]), process.env.NODE_ENV !== "production" && Je) {
|
|
2899
2899
|
const R = window.performance.now(), P = e.__v_emitter;
|
|
2900
|
-
P && E &&
|
|
2900
|
+
P && E && C && P.emit("message-resolve", {
|
|
2901
2901
|
type: "message-resolve",
|
|
2902
2902
|
key: t,
|
|
2903
|
-
message:
|
|
2903
|
+
message: C,
|
|
2904
2904
|
time: R - E,
|
|
2905
2905
|
groupId: `${y}:${t}`
|
|
2906
2906
|
}), A && S && Pe && dt && (Pe(S), dt("intlify message resolve", A, S));
|
|
2907
2907
|
}
|
|
2908
|
-
if (x(
|
|
2908
|
+
if (x(C) || He(C) || xe(C))
|
|
2909
2909
|
break;
|
|
2910
2910
|
if (!Wu(h, m)) {
|
|
2911
2911
|
const R = il(
|
|
@@ -2916,11 +2916,11 @@ function Zi(e, t, n, l, o, i) {
|
|
|
2916
2916
|
i,
|
|
2917
2917
|
y
|
|
2918
2918
|
);
|
|
2919
|
-
R !== t && (
|
|
2919
|
+
R !== t && (C = R);
|
|
2920
2920
|
}
|
|
2921
|
-
|
|
2921
|
+
b = L;
|
|
2922
2922
|
}
|
|
2923
|
-
return [
|
|
2923
|
+
return [C, h, _];
|
|
2924
2924
|
}
|
|
2925
2925
|
function Ji(e, t, n, l, o, i) {
|
|
2926
2926
|
const { messageCompiler: r, warnHtmlMessage: a } = e;
|
|
@@ -2936,8 +2936,8 @@ function Ji(e, t, n, l, o, i) {
|
|
|
2936
2936
|
process.env.NODE_ENV !== "production" && Je && (s = window.performance.now(), c = "intlify-message-compilation-start", m = "intlify-message-compilation-end", Pe && Pe(c));
|
|
2937
2937
|
const _ = r(l, nc(e, n, o, l, a, i));
|
|
2938
2938
|
if (process.env.NODE_ENV !== "production" && Je) {
|
|
2939
|
-
const h = window.performance.now(),
|
|
2940
|
-
|
|
2939
|
+
const h = window.performance.now(), C = e.__v_emitter;
|
|
2940
|
+
C && s && C.emit("message-compilation", {
|
|
2941
2941
|
type: "message-compilation",
|
|
2942
2942
|
message: l,
|
|
2943
2943
|
time: h - s,
|
|
@@ -3001,27 +3001,27 @@ function ic(e, t, n, l) {
|
|
|
3001
3001
|
locale: t,
|
|
3002
3002
|
modifiers: o,
|
|
3003
3003
|
pluralRules: i,
|
|
3004
|
-
messages: (
|
|
3005
|
-
let
|
|
3006
|
-
if (
|
|
3004
|
+
messages: (C, b) => {
|
|
3005
|
+
let L = r(n, C);
|
|
3006
|
+
if (L == null && (m || b)) {
|
|
3007
3007
|
const [, , y] = Zi(
|
|
3008
3008
|
m || e,
|
|
3009
3009
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
3010
|
-
|
|
3010
|
+
C,
|
|
3011
3011
|
t,
|
|
3012
3012
|
a,
|
|
3013
3013
|
s,
|
|
3014
3014
|
c
|
|
3015
3015
|
);
|
|
3016
|
-
|
|
3016
|
+
L = r(y, C);
|
|
3017
3017
|
}
|
|
3018
|
-
if (x(
|
|
3018
|
+
if (x(L) || He(L)) {
|
|
3019
3019
|
let y = !1;
|
|
3020
|
-
const E = Ji(e,
|
|
3020
|
+
const E = Ji(e, C, t, L, C, () => {
|
|
3021
3021
|
y = !0;
|
|
3022
3022
|
});
|
|
3023
3023
|
return y ? ei : E;
|
|
3024
|
-
} else return xe(
|
|
3024
|
+
} else return xe(L) ? L : ei;
|
|
3025
3025
|
}
|
|
3026
3026
|
};
|
|
3027
3027
|
return e.processor && (h.processor = e.processor), l.list && (h.list = l.list), l.named && (h.named = l.named), be(l.plural) && (h.pluralIndex = l.plural), h;
|
|
@@ -3198,12 +3198,12 @@ function mc(e = {}) {
|
|
|
3198
3198
|
// prettier-ignore
|
|
3199
3199
|
t && r ? t.fallbackLocale.value : x(e.fallbackLocale) || ve(e.fallbackLocale) || ne(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
|
|
3200
3200
|
), c = i(eo(a.value, e)), m = i(ne(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), _ = i(ne(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
|
|
3201
|
-
let h = t ? t.missingWarn : ye(e.missingWarn) || en(e.missingWarn) ? e.missingWarn : !0,
|
|
3201
|
+
let h = t ? t.missingWarn : ye(e.missingWarn) || en(e.missingWarn) ? e.missingWarn : !0, C = t ? t.fallbackWarn : ye(e.fallbackWarn) || en(e.fallbackWarn) ? e.fallbackWarn : !0, b = t ? t.fallbackRoot : ye(e.fallbackRoot) ? e.fallbackRoot : !0, L = !!e.fallbackFormat, y = me(e.missing) ? e.missing : null, p = me(e.missing) ? ri(e.missing) : null, E = me(e.postTranslation) ? e.postTranslation : null, A = t ? t.warnHtmlMessage : ye(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, S = !!e.escapeParameter;
|
|
3202
3202
|
const R = t ? t.modifiers : ne(e.modifiers) ? e.modifiers : {};
|
|
3203
3203
|
let P = e.pluralRules || t && t.pluralRules, T;
|
|
3204
3204
|
T = (() => {
|
|
3205
3205
|
l && jl(null);
|
|
3206
|
-
const
|
|
3206
|
+
const k = {
|
|
3207
3207
|
version: oc,
|
|
3208
3208
|
locale: a.value,
|
|
3209
3209
|
fallbackLocale: s.value,
|
|
@@ -3212,8 +3212,8 @@ function mc(e = {}) {
|
|
|
3212
3212
|
pluralRules: P,
|
|
3213
3213
|
missing: p === null ? void 0 : p,
|
|
3214
3214
|
missingWarn: h,
|
|
3215
|
-
fallbackWarn:
|
|
3216
|
-
fallbackFormat:
|
|
3215
|
+
fallbackWarn: C,
|
|
3216
|
+
fallbackFormat: L,
|
|
3217
3217
|
unresolving: !0,
|
|
3218
3218
|
postTranslation: E === null ? void 0 : E,
|
|
3219
3219
|
warnHtmlMessage: A,
|
|
@@ -3222,8 +3222,8 @@ function mc(e = {}) {
|
|
|
3222
3222
|
messageCompiler: e.messageCompiler,
|
|
3223
3223
|
__meta: { framework: "vue" }
|
|
3224
3224
|
};
|
|
3225
|
-
|
|
3226
|
-
const I = Gu(
|
|
3225
|
+
k.datetimeFormats = m.value, k.numberFormats = _.value, k.__datetimeFormatters = ne(T) ? T.__datetimeFormatters : void 0, k.__numberFormatters = ne(T) ? T.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (k.__v_emitter = ne(T) ? T.__v_emitter : void 0);
|
|
3226
|
+
const I = Gu(k);
|
|
3227
3227
|
return l && jl(I), I;
|
|
3228
3228
|
})(), It(T, a.value, s.value);
|
|
3229
3229
|
function Q() {
|
|
@@ -3237,117 +3237,117 @@ function mc(e = {}) {
|
|
|
3237
3237
|
}
|
|
3238
3238
|
const pe = G({
|
|
3239
3239
|
get: () => a.value,
|
|
3240
|
-
set: (
|
|
3241
|
-
T.locale =
|
|
3240
|
+
set: (k) => {
|
|
3241
|
+
T.locale = k, a.value = k;
|
|
3242
3242
|
}
|
|
3243
3243
|
}), Te = G({
|
|
3244
3244
|
get: () => s.value,
|
|
3245
|
-
set: (
|
|
3246
|
-
T.fallbackLocale =
|
|
3245
|
+
set: (k) => {
|
|
3246
|
+
T.fallbackLocale = k, s.value = k, It(T, a.value, k);
|
|
3247
3247
|
}
|
|
3248
3248
|
}), ue = G(() => c.value), et = /* @__PURE__ */ G(() => m.value), gt = /* @__PURE__ */ G(() => _.value);
|
|
3249
3249
|
function B() {
|
|
3250
3250
|
return me(E) ? E : null;
|
|
3251
3251
|
}
|
|
3252
|
-
function
|
|
3253
|
-
E =
|
|
3252
|
+
function D(k) {
|
|
3253
|
+
E = k, T.postTranslation = k;
|
|
3254
3254
|
}
|
|
3255
3255
|
function Z() {
|
|
3256
3256
|
return y;
|
|
3257
3257
|
}
|
|
3258
|
-
function W(
|
|
3259
|
-
|
|
3258
|
+
function W(k) {
|
|
3259
|
+
k !== null && (p = ri(k)), y = k, T.missing = p;
|
|
3260
3260
|
}
|
|
3261
|
-
function je(
|
|
3262
|
-
return
|
|
3261
|
+
function je(k, I) {
|
|
3262
|
+
return k !== "translate" || !I.resolvedMessage;
|
|
3263
3263
|
}
|
|
3264
|
-
const Se = (
|
|
3264
|
+
const Se = (k, I, ie, he, rt, Ht) => {
|
|
3265
3265
|
Q();
|
|
3266
3266
|
let ht;
|
|
3267
3267
|
try {
|
|
3268
|
-
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, l || (T.fallbackContext = t ? zu() : void 0), ht =
|
|
3268
|
+
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, l || (T.fallbackContext = t ? zu() : void 0), ht = k(T);
|
|
3269
3269
|
} finally {
|
|
3270
3270
|
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, l || (T.fallbackContext = void 0);
|
|
3271
3271
|
}
|
|
3272
3272
|
if (ie !== "translate exists" && // for not `te` (e.g `t`)
|
|
3273
3273
|
be(ht) && ht === pn || ie === "translate exists" && !ht) {
|
|
3274
3274
|
const [at, Wo] = I();
|
|
3275
|
-
if (process.env.NODE_ENV !== "production" && t && x(at) && je(ie, Wo) && (
|
|
3275
|
+
if (process.env.NODE_ENV !== "production" && t && x(at) && je(ie, Wo) && (b && (gn(C, at) || ji(h, at)) && We(ln(Ge.FALLBACK_TO_ROOT, {
|
|
3276
3276
|
key: at,
|
|
3277
3277
|
type: ie
|
|
3278
3278
|
})), process.env.NODE_ENV !== "production")) {
|
|
3279
3279
|
const { __v_emitter: yl } = T;
|
|
3280
|
-
yl &&
|
|
3280
|
+
yl && b && yl.emit("fallback", {
|
|
3281
3281
|
type: ie,
|
|
3282
3282
|
key: at,
|
|
3283
3283
|
to: "global",
|
|
3284
3284
|
groupId: `${ie}:${at}`
|
|
3285
3285
|
});
|
|
3286
3286
|
}
|
|
3287
|
-
return t &&
|
|
3287
|
+
return t && b ? he(t) : rt(at);
|
|
3288
3288
|
} else {
|
|
3289
3289
|
if (Ht(ht))
|
|
3290
3290
|
return ht;
|
|
3291
3291
|
throw Rt(Le.UNEXPECTED_RETURN_TYPE);
|
|
3292
3292
|
}
|
|
3293
3293
|
};
|
|
3294
|
-
function it(...
|
|
3295
|
-
return Se((I) => Reflect.apply(ti, null, [I, ...
|
|
3294
|
+
function it(...k) {
|
|
3295
|
+
return Se((I) => Reflect.apply(ti, null, [I, ...k]), () => Fn(...k), "translate", (I) => Reflect.apply(I.t, I, [...k]), (I) => I, (I) => x(I));
|
|
3296
3296
|
}
|
|
3297
|
-
function yn(...
|
|
3298
|
-
const [I, ie, he] =
|
|
3297
|
+
function yn(...k) {
|
|
3298
|
+
const [I, ie, he] = k;
|
|
3299
3299
|
if (he && !le(he))
|
|
3300
3300
|
throw Rt(Le.INVALID_ARGUMENT);
|
|
3301
3301
|
return it(I, ie, ke({ resolvedMessage: !0 }, he || {}));
|
|
3302
3302
|
}
|
|
3303
|
-
function vn(...
|
|
3304
|
-
return Se((I) => Reflect.apply(ql, null, [I, ...
|
|
3303
|
+
function vn(...k) {
|
|
3304
|
+
return Se((I) => Reflect.apply(ql, null, [I, ...k]), () => xn(...k), "datetime format", (I) => Reflect.apply(I.d, I, [...k]), () => nn, (I) => x(I) || ve(I));
|
|
3305
3305
|
}
|
|
3306
|
-
function En(...
|
|
3307
|
-
return Se((I) => Reflect.apply(Zl, null, [I, ...
|
|
3306
|
+
function En(...k) {
|
|
3307
|
+
return Se((I) => Reflect.apply(Zl, null, [I, ...k]), () => Un(...k), "number format", (I) => Reflect.apply(I.n, I, [...k]), () => nn, (I) => x(I) || ve(I));
|
|
3308
3308
|
}
|
|
3309
|
-
function Cn(
|
|
3310
|
-
return
|
|
3309
|
+
function Cn(k) {
|
|
3310
|
+
return k.map((I) => x(I) || be(I) || ye(I) ? ni(String(I)) : I);
|
|
3311
3311
|
}
|
|
3312
3312
|
const bn = {
|
|
3313
3313
|
normalize: Cn,
|
|
3314
|
-
interpolate: (
|
|
3314
|
+
interpolate: (k) => k,
|
|
3315
3315
|
type: "vnode"
|
|
3316
3316
|
};
|
|
3317
|
-
function Ut(...
|
|
3317
|
+
function Ut(...k) {
|
|
3318
3318
|
return Se((I) => {
|
|
3319
3319
|
let ie;
|
|
3320
3320
|
const he = I;
|
|
3321
3321
|
try {
|
|
3322
|
-
he.processor = bn, ie = Reflect.apply(ti, null, [he, ...
|
|
3322
|
+
he.processor = bn, ie = Reflect.apply(ti, null, [he, ...k]);
|
|
3323
3323
|
} finally {
|
|
3324
3324
|
he.processor = null;
|
|
3325
3325
|
}
|
|
3326
3326
|
return ie;
|
|
3327
|
-
}, () => Fn(...
|
|
3327
|
+
}, () => Fn(...k), "translate", (I) => I[Hn](...k), (I) => [ni(I)], (I) => ve(I));
|
|
3328
3328
|
}
|
|
3329
|
-
function kn(...
|
|
3330
|
-
return Se((I) => Reflect.apply(Zl, null, [I, ...
|
|
3329
|
+
function kn(...k) {
|
|
3330
|
+
return Se((I) => Reflect.apply(Zl, null, [I, ...k]), () => Un(...k), "number format", (I) => I[zn](...k), ii, (I) => x(I) || ve(I));
|
|
3331
3331
|
}
|
|
3332
|
-
function Ft(...
|
|
3333
|
-
return Se((I) => Reflect.apply(ql, null, [I, ...
|
|
3332
|
+
function Ft(...k) {
|
|
3333
|
+
return Se((I) => Reflect.apply(ql, null, [I, ...k]), () => xn(...k), "datetime format", (I) => I[Bn](...k), ii, (I) => x(I) || ve(I));
|
|
3334
3334
|
}
|
|
3335
|
-
function Ln(
|
|
3336
|
-
P =
|
|
3335
|
+
function Ln(k) {
|
|
3336
|
+
P = k, T.pluralRules = P;
|
|
3337
3337
|
}
|
|
3338
|
-
function Sn(
|
|
3338
|
+
function Sn(k, I) {
|
|
3339
3339
|
return Se(() => {
|
|
3340
|
-
if (!
|
|
3340
|
+
if (!k)
|
|
3341
3341
|
return !1;
|
|
3342
|
-
const ie = x(I) ? I : a.value, he = ot(ie), rt = T.messageResolver(he,
|
|
3342
|
+
const ie = x(I) ? I : a.value, he = ot(ie), rt = T.messageResolver(he, k);
|
|
3343
3343
|
return He(rt) || xe(rt) || x(rt);
|
|
3344
|
-
}, () => [
|
|
3344
|
+
}, () => [k], "translate exists", (ie) => Reflect.apply(ie.te, ie, [k, I]), dc, (ie) => ye(ie));
|
|
3345
3345
|
}
|
|
3346
|
-
function wt(
|
|
3346
|
+
function wt(k) {
|
|
3347
3347
|
let I = null;
|
|
3348
3348
|
const ie = Fi(T, s.value, a.value);
|
|
3349
3349
|
for (let he = 0; he < ie.length; he++) {
|
|
3350
|
-
const rt = c.value[ie[he]] || {}, Ht = T.messageResolver(rt,
|
|
3350
|
+
const rt = c.value[ie[he]] || {}, Ht = T.messageResolver(rt, k);
|
|
3351
3351
|
if (Ht != null) {
|
|
3352
3352
|
I = Ht;
|
|
3353
3353
|
break;
|
|
@@ -3355,52 +3355,52 @@ function mc(e = {}) {
|
|
|
3355
3355
|
}
|
|
3356
3356
|
return I;
|
|
3357
3357
|
}
|
|
3358
|
-
function Nt(
|
|
3359
|
-
const I = wt(
|
|
3360
|
-
return I ?? (t ? t.tm(
|
|
3358
|
+
function Nt(k) {
|
|
3359
|
+
const I = wt(k);
|
|
3360
|
+
return I ?? (t ? t.tm(k) || {} : {});
|
|
3361
3361
|
}
|
|
3362
|
-
function ot(
|
|
3363
|
-
return c.value[
|
|
3362
|
+
function ot(k) {
|
|
3363
|
+
return c.value[k] || {};
|
|
3364
3364
|
}
|
|
3365
|
-
function Tt(
|
|
3365
|
+
function Tt(k, I) {
|
|
3366
3366
|
if (o) {
|
|
3367
|
-
const ie = { [
|
|
3367
|
+
const ie = { [k]: I };
|
|
3368
3368
|
for (const he in ie)
|
|
3369
3369
|
Fe(ie, he) && Pt(ie[he]);
|
|
3370
|
-
I = ie[
|
|
3370
|
+
I = ie[k];
|
|
3371
3371
|
}
|
|
3372
|
-
c.value[
|
|
3372
|
+
c.value[k] = I, T.messages = c.value;
|
|
3373
3373
|
}
|
|
3374
|
-
function wn(
|
|
3375
|
-
c.value[
|
|
3376
|
-
const ie = { [
|
|
3374
|
+
function wn(k, I) {
|
|
3375
|
+
c.value[k] = c.value[k] || {};
|
|
3376
|
+
const ie = { [k]: I };
|
|
3377
3377
|
if (o)
|
|
3378
3378
|
for (const he in ie)
|
|
3379
3379
|
Fe(ie, he) && Pt(ie[he]);
|
|
3380
|
-
I = ie[
|
|
3380
|
+
I = ie[k], Zt(I, c.value[k]), T.messages = c.value;
|
|
3381
3381
|
}
|
|
3382
|
-
function f(
|
|
3383
|
-
return m.value[
|
|
3382
|
+
function f(k) {
|
|
3383
|
+
return m.value[k] || {};
|
|
3384
3384
|
}
|
|
3385
|
-
function g(
|
|
3386
|
-
m.value[
|
|
3385
|
+
function g(k, I) {
|
|
3386
|
+
m.value[k] = I, T.datetimeFormats = m.value, Xl(T, k, I);
|
|
3387
3387
|
}
|
|
3388
|
-
function N(
|
|
3389
|
-
m.value[
|
|
3388
|
+
function N(k, I) {
|
|
3389
|
+
m.value[k] = ke(m.value[k] || {}, I), T.datetimeFormats = m.value, Xl(T, k, I);
|
|
3390
3390
|
}
|
|
3391
|
-
function F(
|
|
3392
|
-
return _.value[
|
|
3391
|
+
function F(k) {
|
|
3392
|
+
return _.value[k] || {};
|
|
3393
3393
|
}
|
|
3394
|
-
function fe(
|
|
3395
|
-
_.value[
|
|
3394
|
+
function fe(k, I) {
|
|
3395
|
+
_.value[k] = I, T.numberFormats = _.value, Jl(T, k, I);
|
|
3396
3396
|
}
|
|
3397
|
-
function ge(
|
|
3398
|
-
_.value[
|
|
3397
|
+
function ge(k, I) {
|
|
3398
|
+
_.value[k] = ke(_.value[k] || {}, I), T.numberFormats = _.value, Jl(T, k, I);
|
|
3399
3399
|
}
|
|
3400
|
-
oi++, t && Je && (Ue(t.locale, (
|
|
3401
|
-
r && (a.value =
|
|
3402
|
-
}), Ue(t.fallbackLocale, (
|
|
3403
|
-
r && (s.value =
|
|
3400
|
+
oi++, t && Je && (Ue(t.locale, (k) => {
|
|
3401
|
+
r && (a.value = k, T.locale = k, It(T, a.value, s.value));
|
|
3402
|
+
}), Ue(t.fallbackLocale, (k) => {
|
|
3403
|
+
r && (s.value = k, T.fallbackLocale = k, It(T, a.value, s.value));
|
|
3404
3404
|
}));
|
|
3405
3405
|
const ee = {
|
|
3406
3406
|
id: oi,
|
|
@@ -3409,8 +3409,8 @@ function mc(e = {}) {
|
|
|
3409
3409
|
get inheritLocale() {
|
|
3410
3410
|
return r;
|
|
3411
3411
|
},
|
|
3412
|
-
set inheritLocale(
|
|
3413
|
-
r =
|
|
3412
|
+
set inheritLocale(k) {
|
|
3413
|
+
r = k, k && t && (a.value = t.locale.value, s.value = t.fallbackLocale.value, It(T, a.value, s.value));
|
|
3414
3414
|
},
|
|
3415
3415
|
get availableLocales() {
|
|
3416
3416
|
return Object.keys(c.value).sort();
|
|
@@ -3428,51 +3428,51 @@ function mc(e = {}) {
|
|
|
3428
3428
|
get missingWarn() {
|
|
3429
3429
|
return h;
|
|
3430
3430
|
},
|
|
3431
|
-
set missingWarn(
|
|
3432
|
-
h =
|
|
3431
|
+
set missingWarn(k) {
|
|
3432
|
+
h = k, T.missingWarn = h;
|
|
3433
3433
|
},
|
|
3434
3434
|
get fallbackWarn() {
|
|
3435
|
-
return
|
|
3435
|
+
return C;
|
|
3436
3436
|
},
|
|
3437
|
-
set fallbackWarn(
|
|
3438
|
-
|
|
3437
|
+
set fallbackWarn(k) {
|
|
3438
|
+
C = k, T.fallbackWarn = C;
|
|
3439
3439
|
},
|
|
3440
3440
|
get fallbackRoot() {
|
|
3441
|
-
return
|
|
3441
|
+
return b;
|
|
3442
3442
|
},
|
|
3443
|
-
set fallbackRoot(
|
|
3444
|
-
|
|
3443
|
+
set fallbackRoot(k) {
|
|
3444
|
+
b = k;
|
|
3445
3445
|
},
|
|
3446
3446
|
get fallbackFormat() {
|
|
3447
|
-
return
|
|
3447
|
+
return L;
|
|
3448
3448
|
},
|
|
3449
|
-
set fallbackFormat(
|
|
3450
|
-
|
|
3449
|
+
set fallbackFormat(k) {
|
|
3450
|
+
L = k, T.fallbackFormat = L;
|
|
3451
3451
|
},
|
|
3452
3452
|
get warnHtmlMessage() {
|
|
3453
3453
|
return A;
|
|
3454
3454
|
},
|
|
3455
|
-
set warnHtmlMessage(
|
|
3456
|
-
A =
|
|
3455
|
+
set warnHtmlMessage(k) {
|
|
3456
|
+
A = k, T.warnHtmlMessage = k;
|
|
3457
3457
|
},
|
|
3458
3458
|
get escapeParameter() {
|
|
3459
3459
|
return S;
|
|
3460
3460
|
},
|
|
3461
|
-
set escapeParameter(
|
|
3462
|
-
S =
|
|
3461
|
+
set escapeParameter(k) {
|
|
3462
|
+
S = k, T.escapeParameter = k;
|
|
3463
3463
|
},
|
|
3464
3464
|
t: it,
|
|
3465
3465
|
getLocaleMessage: ot,
|
|
3466
3466
|
setLocaleMessage: Tt,
|
|
3467
3467
|
mergeLocaleMessage: wn,
|
|
3468
3468
|
getPostTranslationHandler: B,
|
|
3469
|
-
setPostTranslationHandler:
|
|
3469
|
+
setPostTranslationHandler: D,
|
|
3470
3470
|
getMissingHandler: Z,
|
|
3471
3471
|
setMissingHandler: W,
|
|
3472
3472
|
[sc]: Ln
|
|
3473
3473
|
};
|
|
3474
|
-
return ee.datetimeFormats = et, ee.numberFormats = gt, ee.rt = yn, ee.te = Sn, ee.tm = Nt, ee.d = vn, ee.n = En, ee.getDateTimeFormat = f, ee.setDateTimeFormat = g, ee.mergeDateTimeFormat = N, ee.getNumberFormat = F, ee.setNumberFormat = fe, ee.mergeNumberFormat = ge, ee[Qi] = n, ee[Hn] = Ut, ee[Bn] = Ft, ee[zn] = kn, process.env.NODE_ENV !== "production" && (ee[Gn] = (
|
|
3475
|
-
T.__v_emitter =
|
|
3474
|
+
return ee.datetimeFormats = et, ee.numberFormats = gt, ee.rt = yn, ee.te = Sn, ee.tm = Nt, ee.d = vn, ee.n = En, ee.getDateTimeFormat = f, ee.setDateTimeFormat = g, ee.mergeDateTimeFormat = N, ee.getNumberFormat = F, ee.setNumberFormat = fe, ee.mergeNumberFormat = ge, ee[Qi] = n, ee[Hn] = Ut, ee[Bn] = Ft, ee[zn] = kn, process.env.NODE_ENV !== "production" && (ee[Gn] = (k) => {
|
|
3475
|
+
T.__v_emitter = k;
|
|
3476
3476
|
}, ee[Wn] = () => {
|
|
3477
3477
|
T.__v_emitter = void 0;
|
|
3478
3478
|
}), ee;
|
|
@@ -3528,12 +3528,12 @@ function lo(e, t, n, l) {
|
|
|
3528
3528
|
return () => {
|
|
3529
3529
|
const r = { part: !0 };
|
|
3530
3530
|
let a = se();
|
|
3531
|
-
e.locale && (r.locale = e.locale), x(e.format) ? r.key = e.format : le(e.format) && (x(e.format.key) && (r.key = e.format.key), a = Object.keys(e.format).reduce((h,
|
|
3531
|
+
e.locale && (r.locale = e.locale), x(e.format) ? r.key = e.format : le(e.format) && (x(e.format.key) && (r.key = e.format.key), a = Object.keys(e.format).reduce((h, C) => n.includes(C) ? ke(se(), h, { [C]: e.format[C] }) : h, se()));
|
|
3532
3532
|
const s = l(e.value, r, a);
|
|
3533
3533
|
let c = [r.key];
|
|
3534
|
-
ve(s) ? c = s.map((h,
|
|
3535
|
-
const
|
|
3536
|
-
return gc(
|
|
3534
|
+
ve(s) ? c = s.map((h, C) => {
|
|
3535
|
+
const b = o[h.type], L = b ? b({ [h.type]: h.value, index: C, parts: s }) : [h.value];
|
|
3536
|
+
return gc(L) && (L[0].key = `${h.type}-${C}`), L;
|
|
3537
3537
|
}) : x(s) && (c = [s]);
|
|
3538
3538
|
const m = ke(se(), i), _ = x(e.tag) || le(e.tag) ? e.tag : no();
|
|
3539
3539
|
return bt(_, m, c);
|
|
@@ -3630,7 +3630,7 @@ ke({
|
|
|
3630
3630
|
}, ol);
|
|
3631
3631
|
rc();
|
|
3632
3632
|
xu(hu);
|
|
3633
|
-
Uu(
|
|
3633
|
+
Uu(Du);
|
|
3634
3634
|
Fu(Fi);
|
|
3635
3635
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
3636
3636
|
const e = st();
|
|
@@ -3779,7 +3779,7 @@ const oo = /* @__PURE__ */ H(Lc, [["render", Ac]]), Ic = {
|
|
|
3779
3779
|
default: 24
|
|
3780
3780
|
}
|
|
3781
3781
|
}
|
|
3782
|
-
}, Oc = ["aria-hidden", "aria-label"],
|
|
3782
|
+
}, Oc = ["aria-hidden", "aria-label"], $c = ["fill", "width", "height"], Dc = { d: "M9.5,13.09L10.91,14.5L6.41,19H10V21H3V14H5V17.59L9.5,13.09M10.91,9.5L9.5,10.91L5,6.41V10H3V3H10V5H6.41L10.91,9.5M14.5,13.09L19,17.59V14H21V21H14V19H17.59L13.09,14.5L14.5,13.09M13.09,9.5L17.59,5H14V3H21V10H19V6.41L14.5,10.91L13.09,9.5Z" }, Rc = { key: 0 };
|
|
3783
3783
|
function Pc(e, t, n, l, o, i) {
|
|
3784
3784
|
return u(), d("span", K(e.$attrs, {
|
|
3785
3785
|
"aria-hidden": n.title ? null : "true",
|
|
@@ -3795,10 +3795,10 @@ function Pc(e, t, n, l, o, i) {
|
|
|
3795
3795
|
height: n.size,
|
|
3796
3796
|
viewBox: "0 0 24 24"
|
|
3797
3797
|
}, [
|
|
3798
|
-
v("path",
|
|
3798
|
+
v("path", Dc, [
|
|
3799
3799
|
n.title ? (u(), d("title", Rc, V(n.title), 1)) : w("", !0)
|
|
3800
3800
|
])
|
|
3801
|
-
], 8,
|
|
3801
|
+
], 8, $c))
|
|
3802
3802
|
], 16, Oc);
|
|
3803
3803
|
}
|
|
3804
3804
|
const Mc = /* @__PURE__ */ H(Ic, [["render", Pc]]), Vc = { class: "dependency-text d-flex flex-column flex-grow-1" }, xc = { class: "dependency-flow-text text-truncate" }, Uc = { class: "dependency-namespace-text text-truncate" }, Fc = { class: "text-white top-button-div" }, Hc = /* @__PURE__ */ de({
|
|
@@ -3834,7 +3834,7 @@ const Mc = /* @__PURE__ */ H(Ic, [["render", Pc]]), Vc = { class: "dependency-te
|
|
|
3834
3834
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.34546 9.63757C4.74074 10.5277 5.31782 11.3221 6.03835 11.9681L7.03434 10.8209C6.4739 10.3185 6.02504 9.70059 5.71758 9.00824C5.41012 8.3159 5.25111 7.56496 5.25111 6.80532C5.25111 6.04568 5.41012 5.29475 5.71758 4.6024C6.02504 3.91006 6.4739 3.29216 7.03434 2.78977L6.03835 1.64258C5.31782 2.28851 4.74074 3.08293 4.34546 3.97307C3.95019 4.86321 3.74575 5.82867 3.74575 6.80532C3.74575 7.78197 3.95019 8.74744 4.34546 9.63757ZM16.955 4.38931C17.4802 3.97411 18.1261 3.74777 18.7913 3.74576C19.5894 3.74576 20.3547 4.06807 20.919 4.64177C21.4833 5.21548 21.8004 5.9936 21.8004 6.80494C21.8004 7.61628 21.4833 8.3944 20.919 8.96811C20.3547 9.54181 19.5894 9.86412 18.7913 9.86412C18.2559 9.86126 17.7312 9.71144 17.2725 9.43048L12.3325 14.4529L11.2688 13.3715L16.2088 8.34906C16.0668 8.10583 15.9592 7.84348 15.8891 7.56973H11.2688V6.04014H15.8891C16.055 5.38511 16.4298 4.80451 16.955 4.38931ZM17.9555 8.07674C18.2029 8.24482 18.4938 8.33453 18.7913 8.33453C19.1902 8.33412 19.5727 8.17284 19.8548 7.88607C20.1368 7.59931 20.2955 7.21049 20.2959 6.80494C20.2959 6.50241 20.2076 6.20668 20.0423 5.95514C19.877 5.70361 19.642 5.50756 19.3671 5.39178C19.0922 5.27601 18.7897 5.24572 18.4978 5.30474C18.206 5.36376 17.9379 5.50944 17.7275 5.72336C17.5171 5.93727 17.3738 6.20982 17.3157 6.50653C17.2577 6.80324 17.2875 7.11079 17.4014 7.39029C17.5152 7.66978 17.7081 7.90867 17.9555 8.07674ZM3.74621 15.2177V16.7473H7.19606L2.2417 21.7842L3.30539 22.8656L8.25975 17.8287V21.336H9.76427V15.2177H3.74621ZM15.7823 18.2769H12.7733V19.8064H15.7823V22.1008H21.8004V15.9825H15.7823V18.2769ZM17.2868 20.5712V17.5121H20.2959V20.5712H17.2868ZM8.02885 9.67292C7.62863 9.31407 7.30809 8.87275 7.08853 8.37827C6.86897 7.88378 6.75542 7.34747 6.75542 6.80494C6.75542 6.26241 6.86897 5.72609 7.08853 5.23161C7.30809 4.73713 7.62863 4.29581 8.02885 3.93696L9.02484 5.08415C8.78458 5.29946 8.59215 5.5643 8.46034 5.86106C8.32853 6.15782 8.26035 6.47971 8.26035 6.80532C8.26035 7.13094 8.32853 7.45282 8.46034 7.74958C8.59215 8.04634 8.78458 8.31118 9.02484 8.52649L8.02885 9.67292Z" fill="white"/>
|
|
3835
3835
|
</svg>`));
|
|
3836
3836
|
return (i, r) => (u(), d(Ee, null, [
|
|
3837
|
-
M(
|
|
3837
|
+
M($(Me), {
|
|
3838
3838
|
type: "source",
|
|
3839
3839
|
position: e.sourcePosition
|
|
3840
3840
|
}, null, 8, ["position"]),
|
|
@@ -3873,10 +3873,10 @@ const Mc = /* @__PURE__ */ H(Ic, [["render", Pc]]), Vc = { class: "dependency-te
|
|
|
3873
3873
|
e.data.link ? (u(), d("span", {
|
|
3874
3874
|
key: 0,
|
|
3875
3875
|
class: re(["circle-button", [`bg-${e.data.color}`]]),
|
|
3876
|
-
onClick: r[0] || (r[0] = (a) => i.$emit(
|
|
3876
|
+
onClick: r[0] || (r[0] = (a) => i.$emit($(U).OPEN_LINK, e.data))
|
|
3877
3877
|
}, [
|
|
3878
3878
|
M(oe, {
|
|
3879
|
-
title:
|
|
3879
|
+
title: $(l)("open")
|
|
3880
3880
|
}, {
|
|
3881
3881
|
default: z(() => [
|
|
3882
3882
|
M(oo, {
|
|
@@ -3890,10 +3890,10 @@ const Mc = /* @__PURE__ */ H(Ic, [["render", Pc]]), Vc = { class: "dependency-te
|
|
|
3890
3890
|
e.data.expandEnabled ? (u(), d("span", {
|
|
3891
3891
|
key: 1,
|
|
3892
3892
|
class: re(["circle-button", [`bg-${e.data.color}`]]),
|
|
3893
|
-
onClick: r[1] || (r[1] = (a) => n(
|
|
3893
|
+
onClick: r[1] || (r[1] = (a) => n($(U).EXPAND_DEPENDENCIES, e.data))
|
|
3894
3894
|
}, [
|
|
3895
3895
|
M(oe, {
|
|
3896
|
-
title:
|
|
3896
|
+
title: $(l)("expand")
|
|
3897
3897
|
}, {
|
|
3898
3898
|
default: z(() => [
|
|
3899
3899
|
M(Mc, {
|
|
@@ -3907,7 +3907,7 @@ const Mc = /* @__PURE__ */ H(Ic, [["render", Pc]]), Vc = { class: "dependency-te
|
|
|
3907
3907
|
ae(i.$slots, "badge-button-after", {}, void 0, !0)
|
|
3908
3908
|
])
|
|
3909
3909
|
], 2),
|
|
3910
|
-
M(
|
|
3910
|
+
M($(Me), {
|
|
3911
3911
|
type: "target",
|
|
3912
3912
|
position: e.targetPosition
|
|
3913
3913
|
}, null, 8, ["position"])
|
|
@@ -3954,10 +3954,10 @@ const Bc = {
|
|
|
3954
3954
|
},
|
|
3955
3955
|
setup(e) {
|
|
3956
3956
|
const { id: t, viewport: n } = Ti(), l = G(() => {
|
|
3957
|
-
const r = n.value.zoom, [a, s] = Array.isArray(e.gap) ? e.gap : [e.gap, e.gap], c = [a * r || 1, s * r || 1], m = e.size * r, [_, h] = Array.isArray(e.offset) ? e.offset : [e.offset, e.offset],
|
|
3957
|
+
const r = n.value.zoom, [a, s] = Array.isArray(e.gap) ? e.gap : [e.gap, e.gap], c = [a * r || 1, s * r || 1], m = e.size * r, [_, h] = Array.isArray(e.offset) ? e.offset : [e.offset, e.offset], C = [_ * r || 1 + c[0] / 2, h * r || 1 + c[1] / 2];
|
|
3958
3958
|
return {
|
|
3959
3959
|
scaledGap: c,
|
|
3960
|
-
offset:
|
|
3960
|
+
offset: C,
|
|
3961
3961
|
size: m
|
|
3962
3962
|
};
|
|
3963
3963
|
}), o = Ll(() => `pattern-${t}${e.id ? `-${e.id}` : ""}`), i = Ll(() => e.color || e.patternColor || Bc[e.variant || qe.Dots]);
|
|
@@ -3971,20 +3971,20 @@ const Bc = {
|
|
|
3971
3971
|
ae(r.$slots, "pattern-container", { id: o.value }, () => [
|
|
3972
3972
|
v("pattern", {
|
|
3973
3973
|
id: o.value,
|
|
3974
|
-
x:
|
|
3975
|
-
y:
|
|
3974
|
+
x: $(n).x % l.value.scaledGap[0],
|
|
3975
|
+
y: $(n).y % l.value.scaledGap[1],
|
|
3976
3976
|
width: l.value.scaledGap[0],
|
|
3977
3977
|
height: l.value.scaledGap[1],
|
|
3978
3978
|
patternTransform: `translate(-${l.value.offset[0]},-${l.value.offset[1]})`,
|
|
3979
3979
|
patternUnits: "userSpaceOnUse"
|
|
3980
3980
|
}, [
|
|
3981
3981
|
ae(r.$slots, "pattern", {}, () => [
|
|
3982
|
-
r.variant ===
|
|
3982
|
+
r.variant === $(qe).Lines ? (u(), q($(ro), {
|
|
3983
3983
|
key: 0,
|
|
3984
3984
|
size: r.lineWidth,
|
|
3985
3985
|
color: i.value,
|
|
3986
3986
|
dimensions: l.value.scaledGap
|
|
3987
|
-
}, null, 8, ["size", "color", "dimensions"])) : r.variant ===
|
|
3987
|
+
}, null, 8, ["size", "color", "dimensions"])) : r.variant === $(qe).Dots ? (u(), q($(ao), {
|
|
3988
3988
|
key: 1,
|
|
3989
3989
|
color: i.value,
|
|
3990
3990
|
radius: l.value.size / 2
|
|
@@ -4193,7 +4193,7 @@ const so = /* @__PURE__ */ H(rd, [["render", dd]]), fd = {
|
|
|
4193
4193
|
return (t, n) => (u(), d("div", {
|
|
4194
4194
|
class: re(t.classes)
|
|
4195
4195
|
}, [
|
|
4196
|
-
M(
|
|
4196
|
+
M($(Me), {
|
|
4197
4197
|
type: "source",
|
|
4198
4198
|
class: "custom-handle",
|
|
4199
4199
|
position: e.sourcePosition
|
|
@@ -4206,7 +4206,7 @@ const so = /* @__PURE__ */ H(rd, [["render", dd]]), fd = {
|
|
|
4206
4206
|
alt: "circle"
|
|
4207
4207
|
}, null, 8, ["class"])
|
|
4208
4208
|
], 2),
|
|
4209
|
-
M(
|
|
4209
|
+
M($(Me), {
|
|
4210
4210
|
type: "target",
|
|
4211
4211
|
class: "custom-handle",
|
|
4212
4212
|
position: e.targetPosition
|
|
@@ -4265,7 +4265,7 @@ const Cd = /* @__PURE__ */ H(gd, [["render", Ed]]), bd = { class: "add-task-div
|
|
|
4265
4265
|
})) : w("", !0)
|
|
4266
4266
|
]));
|
|
4267
4267
|
}
|
|
4268
|
-
}), Ld = /* @__PURE__ */ H(kd, [["__scopeId", "data-v-
|
|
4268
|
+
}), Ld = /* @__PURE__ */ H(kd, [["__scopeId", "data-v-536dd646"]]), Sd = ["id", "d", "marker-end"], wd = /* @__PURE__ */ de({
|
|
4269
4269
|
inheritAttrs: !1,
|
|
4270
4270
|
__name: "EdgeNode",
|
|
4271
4271
|
props: {
|
|
@@ -4321,7 +4321,7 @@ const Cd = /* @__PURE__ */ H(gd, [["render", Ed]]), bd = { class: "add-task-div
|
|
|
4321
4321
|
const o = G(() => {
|
|
4322
4322
|
const { haveAdd: r } = t.data ?? {};
|
|
4323
4323
|
return `${l("add task")} ${r?.length === 2 ? `${l(r[1])} ${r[0]}` : ""}`.trim();
|
|
4324
|
-
}), i = G(() =>
|
|
4324
|
+
}), i = G(() => Dr(t));
|
|
4325
4325
|
return (r, a) => (u(), d(Ee, null, [
|
|
4326
4326
|
i.value?.length ? (u(), d("path", {
|
|
4327
4327
|
key: 0,
|
|
@@ -4333,7 +4333,7 @@ const Cd = /* @__PURE__ */ H(gd, [["render", Ed]]), bd = { class: "add-task-div
|
|
|
4333
4333
|
d: i.value[0],
|
|
4334
4334
|
"marker-end": e.markerEnd
|
|
4335
4335
|
}, null, 14, Sd)) : w("", !0),
|
|
4336
|
-
i.value?.length ? (u(), q(
|
|
4336
|
+
i.value?.length ? (u(), q($(Rr), {
|
|
4337
4337
|
key: 1,
|
|
4338
4338
|
style: { "z-index": "10" }
|
|
4339
4339
|
}, {
|
|
@@ -4350,7 +4350,7 @@ const Cd = /* @__PURE__ */ H(gd, [["render", Ed]]), bd = { class: "add-task-div
|
|
|
4350
4350
|
e.data.haveAdd ? (u(), q(Ld, {
|
|
4351
4351
|
key: 0,
|
|
4352
4352
|
"add-task": !0,
|
|
4353
|
-
onClick: a[0] || (a[0] = (s) => r.$emit(
|
|
4353
|
+
onClick: a[0] || (a[0] = (s) => r.$emit($(U).ADD_TASK, e.data.haveAdd)),
|
|
4354
4354
|
class: re({ "text-danger": e.data.color })
|
|
4355
4355
|
}, null, 8, ["class"])) : w("", !0)
|
|
4356
4356
|
]),
|
|
@@ -4371,15 +4371,15 @@ const Cd = /* @__PURE__ */ H(gd, [["render", Ed]]), bd = { class: "add-task-div
|
|
|
4371
4371
|
const t = e;
|
|
4372
4372
|
Ue(
|
|
4373
4373
|
() => t.histories,
|
|
4374
|
-
(
|
|
4375
|
-
|
|
4374
|
+
(C, b) => {
|
|
4375
|
+
b[0].date !== C[0].date && a();
|
|
4376
4376
|
}
|
|
4377
4377
|
);
|
|
4378
4378
|
const n = te(""), l = te();
|
|
4379
4379
|
Mt(() => {
|
|
4380
4380
|
a();
|
|
4381
4381
|
});
|
|
4382
|
-
const o = G(() => t.histories?.length && new Date(t.histories[0].date.toString()).getTime()), i = G(() => t.histories[t.histories.length - 1]), r = G(() => t.histories.filter((
|
|
4382
|
+
const o = G(() => t.histories?.length && new Date(t.histories[0].date.toString()).getTime()), i = G(() => t.histories[t.histories.length - 1]), r = G(() => t.histories.filter((C) => C.date.isValid() && C.date && C.state));
|
|
4383
4383
|
function a() {
|
|
4384
4384
|
l.value || (l.value = setInterval(() => {
|
|
4385
4385
|
_(), t.histories && !_e.isRunning(i.value.state) && s();
|
|
@@ -4397,25 +4397,25 @@ const Cd = /* @__PURE__ */ H(gd, [["render", Ed]]), bd = { class: "add-task-div
|
|
|
4397
4397
|
function _() {
|
|
4398
4398
|
n.value = r.value.length === 0 ? " " : Ko(c() / 1e3);
|
|
4399
4399
|
}
|
|
4400
|
-
function h(
|
|
4401
|
-
return "ks-duration-tt-square-" +
|
|
4400
|
+
function h(C) {
|
|
4401
|
+
return "ks-duration-tt-square-" + C.toLowerCase();
|
|
4402
4402
|
}
|
|
4403
4403
|
return Li(() => {
|
|
4404
4404
|
s();
|
|
4405
|
-
}), (
|
|
4405
|
+
}), (C, b) => (u(), q(oe, {
|
|
4406
4406
|
key: i.value.date.toString()
|
|
4407
4407
|
}, {
|
|
4408
4408
|
content: z(() => [
|
|
4409
|
-
(u(!0), d(Ee, null, Xe(r.value, (
|
|
4409
|
+
(u(!0), d(Ee, null, Xe(r.value, (L, y) => (u(), d("span", {
|
|
4410
4410
|
key: "tt-" + y,
|
|
4411
4411
|
class: "ks-duration-tt"
|
|
4412
4412
|
}, [
|
|
4413
4413
|
v("span", {
|
|
4414
|
-
class: re(["ks-duration-tt-square", h(
|
|
4414
|
+
class: re(["ks-duration-tt-square", h(L.state)])
|
|
4415
4415
|
}, null, 2),
|
|
4416
|
-
v("strong", null, V(
|
|
4417
|
-
Ze(V(Yo(
|
|
4418
|
-
|
|
4416
|
+
v("strong", null, V(L.state) + ": ", 1),
|
|
4417
|
+
Ze(V(Yo(L.date.toISOString(), "iso")) + " ", 1),
|
|
4418
|
+
b[0] || (b[0] = v("br", null, null, -1))
|
|
4419
4419
|
]))), 128))
|
|
4420
4420
|
]),
|
|
4421
4421
|
default: z(() => [
|
|
@@ -4427,7 +4427,7 @@ const Cd = /* @__PURE__ */ H(gd, [["render", Ed]]), bd = { class: "add-task-div
|
|
|
4427
4427
|
}), Id = { class: "btn-group content rounded-1 content-children text-truncate" }, Od = {
|
|
4428
4428
|
key: 0,
|
|
4429
4429
|
class: "taskRunCount"
|
|
4430
|
-
},
|
|
4430
|
+
}, $d = { key: 1 }, Dd = { key: 2 }, Rd = /* @__PURE__ */ de({
|
|
4431
4431
|
name: "ExecutionInformations",
|
|
4432
4432
|
__name: "ExecutionInformations",
|
|
4433
4433
|
props: {
|
|
@@ -4464,8 +4464,8 @@ const Cd = /* @__PURE__ */ H(gd, [["render", Ed]]), bd = { class: "add-task-div
|
|
|
4464
4464
|
});
|
|
4465
4465
|
return (i, r) => (u(), d("div", Id, [
|
|
4466
4466
|
l.value.length > 0 ? (u(), d("span", Od, V(l.value.length) + " task runs", 1)) : w("", !0),
|
|
4467
|
-
l.value.length > 0 ? (u(), d("span",
|
|
4468
|
-
o.value ? (u(), d("span",
|
|
4467
|
+
l.value.length > 0 ? (u(), d("span", $d, " | ")) : w("", !0),
|
|
4468
|
+
o.value ? (u(), d("span", Dd, [
|
|
4469
4469
|
M(Ad, { histories: o.value }, null, 8, ["histories"])
|
|
4470
4470
|
])) : w("", !0)
|
|
4471
4471
|
]));
|
|
@@ -4595,45 +4595,45 @@ const rl = /* @__PURE__ */ H(zd, [["render", Yd]]), qd = { class: "icon rounded"
|
|
|
4595
4595
|
return l.data.node.triggerDeclaration.type;
|
|
4596
4596
|
if (a.value)
|
|
4597
4597
|
return a.value?.type;
|
|
4598
|
-
}),
|
|
4598
|
+
}), C = G(() => {
|
|
4599
4599
|
if (a.value?.type?.endsWith("SubflowGraphTask")) {
|
|
4600
|
-
const
|
|
4601
|
-
return
|
|
4600
|
+
const L = a.value.subflowId ?? a.value;
|
|
4601
|
+
return L.namespace + " " + L.flowId;
|
|
4602
4602
|
}
|
|
4603
4603
|
return c.value;
|
|
4604
|
-
}),
|
|
4605
|
-
return (
|
|
4606
|
-
class: re(["node-wrapper rounded-3", { ..._.value, "running-border-animation":
|
|
4607
|
-
style: ct({ borderColor:
|
|
4604
|
+
}), b = G(() => l.title ?? c.value);
|
|
4605
|
+
return (L, y) => (u(), d("div", {
|
|
4606
|
+
class: re(["node-wrapper rounded-3", { ..._.value, "running-border-animation": L.state === "RUNNING" }]),
|
|
4607
|
+
style: ct({ borderColor: L.state ? `var(--ks-border-${L.state.toLowerCase()})` : void 0 }),
|
|
4608
4608
|
onMouseover: o,
|
|
4609
4609
|
onMouseleave: i
|
|
4610
4610
|
}, [
|
|
4611
4611
|
v("div", qd, [
|
|
4612
|
-
(u(), q(mt(
|
|
4612
|
+
(u(), q(mt(L.iconComponent || io), {
|
|
4613
4613
|
cls: h.value,
|
|
4614
4614
|
class: re([m.value, "rounded bg-white"]),
|
|
4615
4615
|
theme: "light",
|
|
4616
|
-
icons:
|
|
4616
|
+
icons: L.icons
|
|
4617
4617
|
}, null, 8, ["cls", "class", "icons"]))
|
|
4618
4618
|
]),
|
|
4619
4619
|
v("div", Xd, [
|
|
4620
4620
|
v("div", Zd, [
|
|
4621
4621
|
v("div", Jd, [
|
|
4622
|
-
M(oe, { title:
|
|
4622
|
+
M(oe, { title: C.value }, {
|
|
4623
4623
|
default: z(() => [
|
|
4624
|
-
Ze(V(
|
|
4624
|
+
Ze(V(b.value), 1)
|
|
4625
4625
|
]),
|
|
4626
4626
|
_: 1
|
|
4627
4627
|
}, 8, ["title"])
|
|
4628
4628
|
]),
|
|
4629
4629
|
s.value ? (u(), d("span", Qd, [
|
|
4630
4630
|
M(oe, {
|
|
4631
|
-
title:
|
|
4631
|
+
title: L.$t("show description"),
|
|
4632
4632
|
class: "d-flex align-items-center"
|
|
4633
4633
|
}, {
|
|
4634
4634
|
default: z(() => [
|
|
4635
4635
|
M(Bd, {
|
|
4636
|
-
onClick: y[0] || (y[0] = (p) =>
|
|
4636
|
+
onClick: y[0] || (y[0] = (p) => L.$emit($(U).SHOW_DESCRIPTION, { id: c.value, description: s.value })),
|
|
4637
4637
|
class: "description-button ms-2"
|
|
4638
4638
|
})
|
|
4639
4639
|
]),
|
|
@@ -4641,17 +4641,17 @@ const rl = /* @__PURE__ */ H(zd, [["render", Yd]]), qd = { class: "icon rounded"
|
|
|
4641
4641
|
}, 8, ["title"])
|
|
4642
4642
|
])) : w("", !0)
|
|
4643
4643
|
]),
|
|
4644
|
-
ae(
|
|
4644
|
+
ae(L.$slots, "content", {}, void 0, !0)
|
|
4645
4645
|
]),
|
|
4646
4646
|
v("div", ef, [
|
|
4647
|
-
ae(
|
|
4648
|
-
|
|
4647
|
+
ae(L.$slots, "badge-button-before", {}, void 0, !0),
|
|
4648
|
+
L.data.link ? (u(), d("span", {
|
|
4649
4649
|
key: 0,
|
|
4650
|
-
class: re(["circle-button", [`bg-${
|
|
4651
|
-
onClick: y[1] || (y[1] = (p) =>
|
|
4650
|
+
class: re(["circle-button", [`bg-${L.data.color}`]]),
|
|
4651
|
+
onClick: y[1] || (y[1] = (p) => L.$emit($(U).OPEN_LINK, { link: L.data.link }))
|
|
4652
4652
|
}, [
|
|
4653
4653
|
M(oe, {
|
|
4654
|
-
title:
|
|
4654
|
+
title: L.$t("open")
|
|
4655
4655
|
}, {
|
|
4656
4656
|
default: z(() => [
|
|
4657
4657
|
M(oo, {
|
|
@@ -4664,11 +4664,11 @@ const rl = /* @__PURE__ */ H(zd, [["render", Yd]]), qd = { class: "icon rounded"
|
|
|
4664
4664
|
], 2)) : w("", !0),
|
|
4665
4665
|
r.value ? (u(), d("span", {
|
|
4666
4666
|
key: 1,
|
|
4667
|
-
class: re(["circle-button", [`bg-${
|
|
4668
|
-
onClick: y[2] || (y[2] = (p) =>
|
|
4667
|
+
class: re(["circle-button", [`bg-${L.data.color}`]]),
|
|
4668
|
+
onClick: y[2] || (y[2] = (p) => L.$emit($(U).EXPAND))
|
|
4669
4669
|
}, [
|
|
4670
4670
|
M(oe, {
|
|
4671
|
-
title:
|
|
4671
|
+
title: L.$t("expand")
|
|
4672
4672
|
}, {
|
|
4673
4673
|
default: z(() => [
|
|
4674
4674
|
M(rl, {
|
|
@@ -4679,7 +4679,7 @@ const rl = /* @__PURE__ */ H(zd, [["render", Yd]]), qd = { class: "icon rounded"
|
|
|
4679
4679
|
_: 1
|
|
4680
4680
|
}, 8, ["title"])
|
|
4681
4681
|
], 2)) : w("", !0),
|
|
4682
|
-
ae(
|
|
4682
|
+
ae(L.$slots, "badge-button-after", {}, void 0, !0)
|
|
4683
4683
|
])
|
|
4684
4684
|
], 38));
|
|
4685
4685
|
}
|
|
@@ -4851,7 +4851,7 @@ const Tf = /* @__PURE__ */ H(bf, [["render", Nf]]), Af = {
|
|
|
4851
4851
|
default: 24
|
|
4852
4852
|
}
|
|
4853
4853
|
}
|
|
4854
|
-
}, If = ["aria-hidden", "aria-label"], Of = ["fill", "width", "height"],
|
|
4854
|
+
}, If = ["aria-hidden", "aria-label"], Of = ["fill", "width", "height"], $f = { d: "M23,18V17.5A2.5,2.5 0 0,0 20.5,15A2.5,2.5 0 0,0 18,17.5V18A1,1 0 0,0 17,19V23A1,1 0 0,0 18,24H23A1,1 0 0,0 24,23V19A1,1 0 0,0 23,18M22,18H19V17.5A1.5,1.5 0 0,1 20.5,16A1.5,1.5 0 0,1 22,17.5V18M23,12L2,21V14L17,12L2,10V3L23,12Z" }, Df = { key: 0 };
|
|
4855
4855
|
function Rf(e, t, n, l, o, i) {
|
|
4856
4856
|
return u(), d("span", K(e.$attrs, {
|
|
4857
4857
|
"aria-hidden": n.title ? null : "true",
|
|
@@ -4867,8 +4867,8 @@ function Rf(e, t, n, l, o, i) {
|
|
|
4867
4867
|
height: n.size,
|
|
4868
4868
|
viewBox: "0 0 24 24"
|
|
4869
4869
|
}, [
|
|
4870
|
-
v("path",
|
|
4871
|
-
n.title ? (u(), d("title",
|
|
4870
|
+
v("path", $f, [
|
|
4871
|
+
n.title ? (u(), d("title", Df, V(n.title), 1)) : w("", !0)
|
|
4872
4872
|
])
|
|
4873
4873
|
], 8, Of))
|
|
4874
4874
|
], 16, If);
|
|
@@ -5066,10 +5066,10 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5066
5066
|
return y.map((A) => [p.indexOf(A[1]), A]).sort().map((A) => A[1])[0];
|
|
5067
5067
|
}), h = G(() => ({
|
|
5068
5068
|
"execution-no-taskrun": !!(s.value && m.value && m.value.length === 0)
|
|
5069
|
-
})),
|
|
5069
|
+
})), C = G(() => ({
|
|
5070
5070
|
id: n.id,
|
|
5071
5071
|
type: String(n.data.node.task.type)
|
|
5072
|
-
})),
|
|
5072
|
+
})), b = G(() => {
|
|
5073
5073
|
if (n.data.node.type?.endsWith("SubflowGraphTask") && n.enableSubflowInteraction) {
|
|
5074
5074
|
const y = n.data.node.task.subflowId ?? n.data.node.task;
|
|
5075
5075
|
return {
|
|
@@ -5084,7 +5084,7 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5084
5084
|
};
|
|
5085
5085
|
}
|
|
5086
5086
|
return n.data;
|
|
5087
|
-
}),
|
|
5087
|
+
}), L = G(() => {
|
|
5088
5088
|
if (_.value === _e.RUNNING)
|
|
5089
5089
|
return "task is running";
|
|
5090
5090
|
if (_.value === _e.SUCCESS)
|
|
@@ -5097,22 +5097,22 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5097
5097
|
return "task failed";
|
|
5098
5098
|
});
|
|
5099
5099
|
return (y, p) => (u(), d(Ee, null, [
|
|
5100
|
-
M(
|
|
5100
|
+
M($(Me), {
|
|
5101
5101
|
type: "source",
|
|
5102
5102
|
position: y.sourcePosition
|
|
5103
5103
|
}, null, 8, ["position"]),
|
|
5104
5104
|
M(al, {
|
|
5105
5105
|
id: y.id,
|
|
5106
|
-
data:
|
|
5106
|
+
data: b.value,
|
|
5107
5107
|
state: _.value,
|
|
5108
5108
|
class: re(h.value),
|
|
5109
5109
|
icons: y.icons,
|
|
5110
5110
|
"icon-component": y.iconComponent,
|
|
5111
|
-
onShowDescription: p[6] || (p[6] = (E) => l(
|
|
5112
|
-
onExpand: p[7] || (p[7] = (E) => l(
|
|
5113
|
-
onOpenLink: p[8] || (p[8] = (E) => l(
|
|
5114
|
-
onMouseover: p[9] || (p[9] = (E) => l(
|
|
5115
|
-
onMouseleave: p[10] || (p[10] = (E) => l(
|
|
5111
|
+
onShowDescription: p[6] || (p[6] = (E) => l($(U).SHOW_DESCRIPTION, E)),
|
|
5112
|
+
onExpand: p[7] || (p[7] = (E) => l($(U).EXPAND, C.value)),
|
|
5113
|
+
onOpenLink: p[8] || (p[8] = (E) => l($(U).OPEN_LINK, E)),
|
|
5114
|
+
onMouseover: p[9] || (p[9] = (E) => l($(U).MOUSE_OVER, E)),
|
|
5115
|
+
onMouseleave: p[10] || (p[10] = (E) => l($(U).MOUSE_LEAVE))
|
|
5116
5116
|
}, {
|
|
5117
5117
|
content: z(() => [
|
|
5118
5118
|
s.value ? (u(), q(Pd, {
|
|
@@ -5128,7 +5128,7 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5128
5128
|
key: 0,
|
|
5129
5129
|
type: "button",
|
|
5130
5130
|
class: "playground-button",
|
|
5131
|
-
onClick: p[0] || (p[0] = (E) => l(
|
|
5131
|
+
onClick: p[0] || (p[0] = (E) => l($(U).RUN_TASK, { task: y.data.node.task }))
|
|
5132
5132
|
}, [
|
|
5133
5133
|
M(oe, {
|
|
5134
5134
|
style: { display: "flex" },
|
|
@@ -5152,24 +5152,24 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5152
5152
|
}, [
|
|
5153
5153
|
M(oe, {
|
|
5154
5154
|
style: { display: "flex" },
|
|
5155
|
-
title:
|
|
5155
|
+
title: L.value ? y.$t(L.value) : void 0
|
|
5156
5156
|
}, {
|
|
5157
5157
|
default: z(() => [
|
|
5158
|
-
_.value ===
|
|
5158
|
+
_.value === $(_e).RUNNING ? (u(), q(hs, {
|
|
5159
5159
|
key: 0,
|
|
5160
|
-
alt:
|
|
5161
|
-
}, null, 8, ["alt"])) : _.value ===
|
|
5160
|
+
alt: L.value ? y.$t(L.value) : void 0
|
|
5161
|
+
}, null, 8, ["alt"])) : _.value === $(_e).SUCCESS ? (u(), q(co, {
|
|
5162
5162
|
key: 1,
|
|
5163
|
-
alt:
|
|
5164
|
-
}, null, 8, ["alt"])) : _.value ===
|
|
5163
|
+
alt: L.value ? y.$t(L.value) : void 0
|
|
5164
|
+
}, null, 8, ["alt"])) : _.value === $(_e).WARNING ? (u(), q(dl, {
|
|
5165
5165
|
key: 2,
|
|
5166
|
-
alt:
|
|
5167
|
-
}, null, 8, ["alt"])) : _.value ===
|
|
5166
|
+
alt: L.value ? y.$t(L.value) : void 0
|
|
5167
|
+
}, null, 8, ["alt"])) : _.value === $(_e).SKIPPED ? (u(), q(am, {
|
|
5168
5168
|
key: 3,
|
|
5169
|
-
alt:
|
|
5170
|
-
}, null, 8, ["alt"])) : _.value ===
|
|
5169
|
+
alt: L.value ? y.$t(L.value) : void 0
|
|
5170
|
+
}, null, 8, ["alt"])) : _.value === $(_e).FAILED ? (u(), q(Qt, {
|
|
5171
5171
|
key: 4,
|
|
5172
|
-
alt:
|
|
5172
|
+
alt: L.value ? y.$t(L.value) : void 0
|
|
5173
5173
|
}, null, 8, ["alt"])) : w("", !0)
|
|
5174
5174
|
]),
|
|
5175
5175
|
_: 1
|
|
@@ -5181,7 +5181,7 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5181
5181
|
y.data.node.task && y.data.node.task.runIf ? (u(), d("span", {
|
|
5182
5182
|
key: 0,
|
|
5183
5183
|
class: re(["circle-button", ["bg-warning"]]),
|
|
5184
|
-
onClick: p[1] || (p[1] = (E) => l(
|
|
5184
|
+
onClick: p[1] || (p[1] = (E) => l($(U).SHOW_CONDITION, { id: a.value, task: y.data.node.task, section: $(ut).TASKS }))
|
|
5185
5185
|
}, [
|
|
5186
5186
|
M(oe, {
|
|
5187
5187
|
title: y.$t("show task condition")
|
|
@@ -5198,7 +5198,7 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5198
5198
|
s.value ? (u(), d("span", {
|
|
5199
5199
|
key: 1,
|
|
5200
5200
|
class: re(["circle-button", [`bg-${r.value}`]]),
|
|
5201
|
-
onClick: p[2] || (p[2] = (E) => l(
|
|
5201
|
+
onClick: p[2] || (p[2] = (E) => l($(U).SHOW_LOGS, { id: a.value, execution: s.value, taskRuns: m.value }))
|
|
5202
5202
|
}, [
|
|
5203
5203
|
M(oe, {
|
|
5204
5204
|
title: y.$t("show task logs")
|
|
@@ -5215,7 +5215,7 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5215
5215
|
!s.value && !y.data.isReadOnly && y.data.isFlowable ? (u(), d("span", {
|
|
5216
5216
|
key: 2,
|
|
5217
5217
|
class: re(["circle-button", [`bg-${r.value}`]]),
|
|
5218
|
-
onClick: p[3] || (p[3] = (E) => l(
|
|
5218
|
+
onClick: p[3] || (p[3] = (E) => l($(U).ADD_ERROR, { task: y.data.node.task }))
|
|
5219
5219
|
}, [
|
|
5220
5220
|
M(oe, {
|
|
5221
5221
|
title: y.$t("add error handler")
|
|
@@ -5232,7 +5232,7 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5232
5232
|
!s.value && !y.data.isReadOnly ? (u(), d("span", {
|
|
5233
5233
|
key: 3,
|
|
5234
5234
|
class: re(["circle-button", [`bg-${r.value}`]]),
|
|
5235
|
-
onClick: p[4] || (p[4] = (E) => l(
|
|
5235
|
+
onClick: p[4] || (p[4] = (E) => l($(U).EDIT, { task: y.data.node.task, section: $(ut).TASKS }))
|
|
5236
5236
|
}, [
|
|
5237
5237
|
M(oe, {
|
|
5238
5238
|
title: y.$t("edit")
|
|
@@ -5249,7 +5249,7 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5249
5249
|
!s.value && !y.data.isReadOnly ? (u(), d("span", {
|
|
5250
5250
|
key: 4,
|
|
5251
5251
|
class: re(["circle-button", [`bg-${r.value}`]]),
|
|
5252
|
-
onClick: p[5] || (p[5] = (E) => l(
|
|
5252
|
+
onClick: p[5] || (p[5] = (E) => l($(U).DELETE, { id: a.value, section: $(ut).TASKS }))
|
|
5253
5253
|
}, [
|
|
5254
5254
|
M(oe, {
|
|
5255
5255
|
title: y.$t("delete")
|
|
@@ -5266,7 +5266,7 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5266
5266
|
]),
|
|
5267
5267
|
_: 1
|
|
5268
5268
|
}, 8, ["id", "data", "state", "class", "icons", "icon-component"]),
|
|
5269
|
-
M(
|
|
5269
|
+
M($(Me), {
|
|
5270
5270
|
type: "target",
|
|
5271
5271
|
position: y.targetPosition
|
|
5272
5272
|
}, null, 8, ["position"])
|
|
@@ -5345,7 +5345,7 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5345
5345
|
}, dm = /* @__PURE__ */ Object.assign(cm, {
|
|
5346
5346
|
setup(e) {
|
|
5347
5347
|
return (t, n) => (u(), d(Ee, null, [
|
|
5348
|
-
M(
|
|
5348
|
+
M($(Me), {
|
|
5349
5349
|
type: "source",
|
|
5350
5350
|
position: e.sourcePosition
|
|
5351
5351
|
}, null, 8, ["position"]),
|
|
@@ -5355,8 +5355,8 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5355
5355
|
color: t.color,
|
|
5356
5356
|
icons: e.icons,
|
|
5357
5357
|
"icon-component": e.iconComponent,
|
|
5358
|
-
onShowDescription: n[2] || (n[2] = (l) => t.forwardEvent(
|
|
5359
|
-
onExpand: n[3] || (n[3] = (l) => t.forwardEvent(
|
|
5358
|
+
onShowDescription: n[2] || (n[2] = (l) => t.forwardEvent($(U).SHOW_DESCRIPTION, l)),
|
|
5359
|
+
onExpand: n[3] || (n[3] = (l) => t.forwardEvent($(U).EXPAND, { id: e.id }))
|
|
5360
5360
|
}, Si({ _: 2 }, [
|
|
5361
5361
|
e.data.isReadOnly ? void 0 : {
|
|
5362
5362
|
name: "badge-button-before",
|
|
@@ -5364,7 +5364,7 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5364
5364
|
t.execution ? w("", !0) : (u(), d("span", {
|
|
5365
5365
|
key: 0,
|
|
5366
5366
|
class: re(["circle-button", [`bg-${t.color}`]]),
|
|
5367
|
-
onClick: n[0] || (n[0] = (l) => t.$emit(
|
|
5367
|
+
onClick: n[0] || (n[0] = (l) => t.$emit($(U).EDIT, { task: e.data.node.triggerDeclaration, section: $(ut).TRIGGERS }))
|
|
5368
5368
|
}, [
|
|
5369
5369
|
M(oe, {
|
|
5370
5370
|
title: t.$t("edit")
|
|
@@ -5381,7 +5381,7 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5381
5381
|
t.execution ? w("", !0) : (u(), d("span", {
|
|
5382
5382
|
key: 1,
|
|
5383
5383
|
class: re(["circle-button", [`bg-${t.color}`]]),
|
|
5384
|
-
onClick: n[1] || (n[1] = (l) => t.$emit(
|
|
5384
|
+
onClick: n[1] || (n[1] = (l) => t.$emit($(U).DELETE, { id: t.triggerId, section: $(ut).TRIGGERS }))
|
|
5385
5385
|
}, [
|
|
5386
5386
|
M(oe, {
|
|
5387
5387
|
title: t.$t("delete")
|
|
@@ -5399,7 +5399,7 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5399
5399
|
key: "0"
|
|
5400
5400
|
}
|
|
5401
5401
|
]), 1032, ["id", "data", "color", "icons", "icon-component"]),
|
|
5402
|
-
M(
|
|
5402
|
+
M($(Me), {
|
|
5403
5403
|
type: "target",
|
|
5404
5404
|
position: e.targetPosition
|
|
5405
5405
|
}, null, 8, ["position"])
|
|
@@ -5491,7 +5491,7 @@ const ym = /* @__PURE__ */ H(fm, [["render", _m]]), vm = { class: "collapsed-clu
|
|
|
5491
5491
|
__name: "CollapsedClusterNode",
|
|
5492
5492
|
setup(e) {
|
|
5493
5493
|
return (t, n) => (u(), d(Ee, null, [
|
|
5494
|
-
M(
|
|
5494
|
+
M($(Me), {
|
|
5495
5495
|
type: "source",
|
|
5496
5496
|
position: e.sourcePosition
|
|
5497
5497
|
}, null, 8, ["position"]),
|
|
@@ -5501,14 +5501,14 @@ const ym = /* @__PURE__ */ H(fm, [["render", _m]]), vm = { class: "collapsed-clu
|
|
|
5501
5501
|
key: 0,
|
|
5502
5502
|
class: re(`text-${e.data.color} me-2`)
|
|
5503
5503
|
}, null, 8, ["class"])) : w("", !0),
|
|
5504
|
-
Ze(" " + V(
|
|
5504
|
+
Ze(" " + V($(Re).afterLastDot(e.id)), 1)
|
|
5505
5505
|
]),
|
|
5506
5506
|
v("div", Cm, [
|
|
5507
5507
|
ae(t.$slots, "badge-button-before", {}, void 0, !0),
|
|
5508
5508
|
t.expandable ? (u(), d("span", {
|
|
5509
5509
|
key: 0,
|
|
5510
5510
|
class: re(["circle-button", [`bg-${e.data.color}`]]),
|
|
5511
|
-
onClick: n[0] || (n[0] = (l) => t.$emit(
|
|
5511
|
+
onClick: n[0] || (n[0] = (l) => t.$emit($(U).EXPAND, { id: e.id }))
|
|
5512
5512
|
}, [
|
|
5513
5513
|
M(oe, {
|
|
5514
5514
|
title: t.$t("expand")
|
|
@@ -5525,7 +5525,7 @@ const ym = /* @__PURE__ */ H(fm, [["render", _m]]), vm = { class: "collapsed-clu
|
|
|
5525
5525
|
ae(t.$slots, "badge-button-after", {}, void 0, !0)
|
|
5526
5526
|
])
|
|
5527
5527
|
]),
|
|
5528
|
-
M(
|
|
5528
|
+
M($(Me), {
|
|
5529
5529
|
type: "target",
|
|
5530
5530
|
position: e.targetPosition
|
|
5531
5531
|
}, null, 8, ["position"])
|
|
@@ -5590,7 +5590,7 @@ function Om(e, t, n, l, o, i) {
|
|
|
5590
5590
|
], -1)
|
|
5591
5591
|
])]);
|
|
5592
5592
|
}
|
|
5593
|
-
const
|
|
5593
|
+
const $m = /* @__PURE__ */ H(Am, [["render", Om], ["__scopeId", "data-v-c77c1469"]]), Dm = {
|
|
5594
5594
|
name: "DownloadIcon",
|
|
5595
5595
|
emits: ["click"],
|
|
5596
5596
|
props: {
|
|
@@ -5628,7 +5628,7 @@ function xm(e, t, n, l, o, i) {
|
|
|
5628
5628
|
], 8, Pm))
|
|
5629
5629
|
], 16, Rm);
|
|
5630
5630
|
}
|
|
5631
|
-
const Um = /* @__PURE__ */ H(
|
|
5631
|
+
const Um = /* @__PURE__ */ H(Dm, [["render", xm]]);
|
|
5632
5632
|
function Fm(e, t) {
|
|
5633
5633
|
if (e.match(/^[a-z]+:\/\//i))
|
|
5634
5634
|
return e;
|
|
@@ -5682,9 +5682,9 @@ function Gm() {
|
|
|
5682
5682
|
const n = t && t.env ? t.env.devicePixelRatio : null;
|
|
5683
5683
|
return n && (e = parseInt(n, 10), Number.isNaN(e) && (e = 1)), e || window.devicePixelRatio || 1;
|
|
5684
5684
|
}
|
|
5685
|
-
const
|
|
5685
|
+
const $e = 16384;
|
|
5686
5686
|
function Wm(e) {
|
|
5687
|
-
(e.width >
|
|
5687
|
+
(e.width > $e || e.height > $e) && (e.width > $e && e.height > $e ? e.width > e.height ? (e.height *= $e / e.width, e.width = $e) : (e.width *= $e / e.height, e.height = $e) : e.width > $e ? (e.height *= $e / e.width, e.width = $e) : (e.width *= $e / e.height, e.height = $e));
|
|
5688
5688
|
}
|
|
5689
5689
|
function rn(e) {
|
|
5690
5690
|
return new Promise((t, n) => {
|
|
@@ -5785,15 +5785,15 @@ async function po(e, t, n) {
|
|
|
5785
5785
|
}, a.readAsDataURL(o);
|
|
5786
5786
|
});
|
|
5787
5787
|
}
|
|
5788
|
-
const
|
|
5788
|
+
const $n = {};
|
|
5789
5789
|
function n1(e, t, n) {
|
|
5790
5790
|
let l = e.replace(/\?.*/, "");
|
|
5791
5791
|
return n && (l = e), /ttf|otf|eot|woff2?/i.test(l) && (l = l.replace(/.*\//, "")), t ? `[${t}]${l}` : l;
|
|
5792
5792
|
}
|
|
5793
5793
|
async function ml(e, t, n) {
|
|
5794
5794
|
const l = n1(e, t, n.includeQueryParams);
|
|
5795
|
-
if (
|
|
5796
|
-
return
|
|
5795
|
+
if ($n[l] != null)
|
|
5796
|
+
return $n[l];
|
|
5797
5797
|
n.cacheBust && (e += (/\?/.test(e) ? "&" : "?") + (/* @__PURE__ */ new Date()).getTime());
|
|
5798
5798
|
let o;
|
|
5799
5799
|
try {
|
|
@@ -5804,7 +5804,7 @@ async function ml(e, t, n) {
|
|
|
5804
5804
|
let r = `Failed to fetch resource: ${e}`;
|
|
5805
5805
|
i && (r = typeof i == "string" ? i : i.message), r && console.warn(r);
|
|
5806
5806
|
}
|
|
5807
|
-
return
|
|
5807
|
+
return $n[l] = o, o;
|
|
5808
5808
|
}
|
|
5809
5809
|
async function l1(e) {
|
|
5810
5810
|
const t = e.toDataURL();
|
|
@@ -6106,29 +6106,30 @@ async function Co(e, t = {}) {
|
|
|
6106
6106
|
async function O1(e, t = {}) {
|
|
6107
6107
|
return (await Co(e, t)).toDataURL();
|
|
6108
6108
|
}
|
|
6109
|
-
async function
|
|
6109
|
+
async function $1(e, t = {}) {
|
|
6110
6110
|
return (await Co(e, t)).toDataURL("image/jpeg", t.quality || 1);
|
|
6111
6111
|
}
|
|
6112
|
-
function
|
|
6112
|
+
function D1() {
|
|
6113
6113
|
const e = te(""), t = te("png"), n = te();
|
|
6114
6114
|
async function l(a, s = {}) {
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
|
|
6115
|
+
const c = s.fileName ?? `flow-graph-${Date.now()}`, m = a.querySelectorAll(".vue-flow__edge-path"), _ = Array.from(m).map((h) => {
|
|
6116
|
+
const C = h, b = C.getAttribute("style") || "";
|
|
6117
|
+
return C.setAttribute(
|
|
6118
|
+
"style",
|
|
6119
|
+
`${b}; stroke: ${window.getComputedStyle(C).stroke}; stroke-width: ${window.getComputedStyle(C).strokeWidth}; stroke-dasharray: ${window.getComputedStyle(C).strokeDasharray}`
|
|
6120
|
+
), { element: C, original: b };
|
|
6121
|
+
});
|
|
6122
|
+
try {
|
|
6123
|
+
const h = s.type === "jpeg" ? await o(a, s) : await i(a, s);
|
|
6124
|
+
return s.shouldDownload && c && r(c), h;
|
|
6125
|
+
} finally {
|
|
6126
|
+
_.forEach(
|
|
6127
|
+
({ element: h, original: C }) => C ? h.setAttribute("style", C) : h.removeAttribute("style")
|
|
6128
|
+
);
|
|
6127
6129
|
}
|
|
6128
|
-
return s.shouldDownload && m !== "" && r(m), c;
|
|
6129
6130
|
}
|
|
6130
6131
|
function o(a, s = { quality: 0.95 }) {
|
|
6131
|
-
return n.value = null,
|
|
6132
|
+
return n.value = null, $1(a, s).then((c) => (e.value = c, t.value = "jpeg", c)).catch((c) => {
|
|
6132
6133
|
throw c.value = c, new Error(c);
|
|
6133
6134
|
});
|
|
6134
6135
|
}
|
|
@@ -6242,7 +6243,7 @@ const R1 = {
|
|
|
6242
6243
|
U.SHOW_CONDITION
|
|
6243
6244
|
],
|
|
6244
6245
|
setup(e, { emit: t }) {
|
|
6245
|
-
const n = e, l = te(!1), o = te(), { getNodes: i, onNodeDrag: r, onNodeDragStart: a, onNodeDragStop: s, fitView: c, setElements: m, vueFlowRef: _ } = Ti(n.id), h = te({}),
|
|
6246
|
+
const n = e, l = te(!1), o = te(), { getNodes: i, onNodeDrag: r, onNodeDragStart: a, onNodeDragStop: s, fitView: c, setElements: m, vueFlowRef: _ } = Ti(n.id), h = te({}), C = te([]), b = te(/* @__PURE__ */ new Set()), L = te([]), { capture: y } = D1();
|
|
6246
6247
|
Sl(sl, G(() => n.execution)), Sl(uo, G(() => n.subflowsExecutions));
|
|
6247
6248
|
const p = t;
|
|
6248
6249
|
Mt(() => {
|
|
@@ -6255,28 +6256,28 @@ const R1 = {
|
|
|
6255
6256
|
const E = () => {
|
|
6256
6257
|
Xo(n.id), dn(() => {
|
|
6257
6258
|
p("loading", !0);
|
|
6258
|
-
const B =
|
|
6259
|
-
|
|
6260
|
-
const
|
|
6259
|
+
const B = b.value;
|
|
6260
|
+
b.value = /* @__PURE__ */ new Set(), C.value = [], h.value = {}, B.forEach((Z) => X(Cl + Z, !1, !1));
|
|
6261
|
+
const D = Zo(
|
|
6261
6262
|
n.id,
|
|
6262
6263
|
n.flowId,
|
|
6263
6264
|
n.namespace,
|
|
6264
6265
|
n.flowGraph,
|
|
6265
6266
|
n.source,
|
|
6266
|
-
|
|
6267
|
+
C.value,
|
|
6267
6268
|
n.isHorizontal,
|
|
6268
6269
|
h.value,
|
|
6269
|
-
|
|
6270
|
-
|
|
6270
|
+
b.value,
|
|
6271
|
+
L.value,
|
|
6271
6272
|
n.isReadOnly,
|
|
6272
6273
|
n.isAllowedEdit,
|
|
6273
6274
|
n.enableSubflowInteraction
|
|
6274
6275
|
);
|
|
6275
|
-
|
|
6276
|
+
D && (m(D), c(), p("loading", !1));
|
|
6276
6277
|
});
|
|
6277
6278
|
}, A = (B) => {
|
|
6278
|
-
l.value || Jo(n.id, B.uid).forEach((
|
|
6279
|
-
|
|
6279
|
+
l.value || Jo(n.id, B.uid).forEach((D) => {
|
|
6280
|
+
D?.type === "task" && (D.style = { ...D.style, outline: "0.5px solid " + Ve("--bs-gray-900") }, D.class = "rounded-3");
|
|
6280
6281
|
});
|
|
6281
6282
|
}, S = () => {
|
|
6282
6283
|
R();
|
|
@@ -6289,40 +6290,40 @@ const R1 = {
|
|
|
6289
6290
|
l.value = !0, R(), B.node.style = { ...B.node.style, zIndex: 1976 }, o.value = B.node.position;
|
|
6290
6291
|
}), s((B) => {
|
|
6291
6292
|
if (l.value = !1, B.intersections && T(B.intersections, B.node) === null) {
|
|
6292
|
-
const
|
|
6293
|
+
const D = B.node, Z = B.intersections.find((W) => W.type === "task");
|
|
6293
6294
|
if (Z)
|
|
6294
6295
|
try {
|
|
6295
6296
|
n.source && p("swapped-task", {
|
|
6296
6297
|
newSource: kr({
|
|
6297
6298
|
source: n.source,
|
|
6298
6299
|
section: "tasks",
|
|
6299
|
-
key1: Re.afterLastDot(
|
|
6300
|
+
key1: Re.afterLastDot(D.id) ?? "",
|
|
6300
6301
|
key2: Re.afterLastDot(Z.id) ?? ""
|
|
6301
6302
|
}),
|
|
6302
|
-
swappedTasks: [
|
|
6303
|
+
swappedTasks: [D.id, Z.id]
|
|
6303
6304
|
});
|
|
6304
6305
|
} catch (W) {
|
|
6305
6306
|
p("message", {
|
|
6306
6307
|
variant: "error",
|
|
6307
6308
|
title: "cannot swap tasks",
|
|
6308
6309
|
message: `${W.message}, ${W.messageOptions}`
|
|
6309
|
-
}),
|
|
6310
|
+
}), D.position = o.value;
|
|
6310
6311
|
}
|
|
6311
6312
|
else
|
|
6312
|
-
|
|
6313
|
+
D.position = o.value;
|
|
6313
6314
|
} else
|
|
6314
6315
|
B.node.position = o.value;
|
|
6315
6316
|
R(), B.node.style = { ...B.node.style, zIndex: 5 }, o.value = null;
|
|
6316
6317
|
});
|
|
6317
6318
|
const P = G(() => n.flowGraph?.clusters ? n.flowGraph.clusters.filter((B) => B.cluster.type.endsWith("SubflowGraphCluster")).map((B) => B.cluster.taskNode.uid + ".") : []);
|
|
6318
6319
|
r((B) => {
|
|
6319
|
-
R(), i.value.filter((
|
|
6320
|
-
|
|
6321
|
-
}), B.intersections && !T(B.intersections, B.node) && B.intersections.filter((
|
|
6322
|
-
|
|
6320
|
+
R(), i.value.filter((D) => D.id !== B.node.id).forEach((D) => {
|
|
6321
|
+
D.type === "trigger" || D.type === "task" && (D.id.startsWith(B.node.id + ".") || B.node.id.startsWith(D.id + ".")) || P?.value?.some((Z) => D.id.startsWith(Z)) ? D.style = { ...D.style, opacity: "0.5" } : D.style = { ...D.style, opacity: "1" };
|
|
6322
|
+
}), B.intersections && !T(B.intersections, B.node) && B.intersections.filter((D) => D.type === "task").length === 1 && (B.intersections.forEach((D) => {
|
|
6323
|
+
D.type === "task" && (D.style = { ...D.style, outline: "0.5px solid " + Ve("--bs-primary") }, D.class = "rounded-3");
|
|
6323
6324
|
}), B.node.style = { ...B.node.style, outline: "0.5px solid " + Ve("--bs-primary") }, B.node.class = "rounded-3");
|
|
6324
6325
|
});
|
|
6325
|
-
const T = (B,
|
|
6326
|
+
const T = (B, D) => {
|
|
6326
6327
|
const Z = B.filter((W) => W.type === "task").map((W) => Re.afterLastDot(W.id));
|
|
6327
6328
|
if (Z.length > 1)
|
|
6328
6329
|
return "toomuchtaskerror";
|
|
@@ -6331,7 +6332,7 @@ const R1 = {
|
|
|
6331
6332
|
source: n.source,
|
|
6332
6333
|
sections: ["tasks", "triggers"],
|
|
6333
6334
|
key1: Re.afterLastDot(Z[0]) ?? "",
|
|
6334
|
-
key2: Re.afterLastDot(
|
|
6335
|
+
key2: Re.afterLastDot(D.id) ?? "",
|
|
6335
6336
|
keyName: "id"
|
|
6336
6337
|
}))
|
|
6337
6338
|
return "parentchildrenerror";
|
|
@@ -6339,9 +6340,9 @@ const R1 = {
|
|
|
6339
6340
|
return "parentchildrenerror";
|
|
6340
6341
|
}
|
|
6341
6342
|
return B.filter((W) => W.type === "trigger").length > 0 ? "triggererror" : null;
|
|
6342
|
-
}, X = (B,
|
|
6343
|
+
}, X = (B, D, Z = !1) => {
|
|
6343
6344
|
const W = n.flowGraph.clusters.find((Se) => Se.cluster.uid.endsWith(B)), je = B.replace(Cl, "");
|
|
6344
|
-
|
|
6345
|
+
b.value.add(je), C.value = C.value.concat(W.nodes.filter((Se) => Se !== je || Z)), C.value = C.value.concat([W.cluster.uid]), h.value = {
|
|
6345
6346
|
...h.value,
|
|
6346
6347
|
[W.cluster.uid]: je,
|
|
6347
6348
|
[W.start]: je,
|
|
@@ -6349,7 +6350,7 @@ const R1 = {
|
|
|
6349
6350
|
};
|
|
6350
6351
|
for (let Se of W.nodes)
|
|
6351
6352
|
n.flowGraph.clusters.map((it) => it.cluster.uid).includes(Se) && X(Se, !1, !0);
|
|
6352
|
-
|
|
6353
|
+
D && E();
|
|
6353
6354
|
}, Q = (B) => {
|
|
6354
6355
|
if ([
|
|
6355
6356
|
"io.kestra.core.tasks.flows.Flow",
|
|
@@ -6361,7 +6362,7 @@ const R1 = {
|
|
|
6361
6362
|
p("expand-subflow", [...n.expandedSubflows, B.id]);
|
|
6362
6363
|
return;
|
|
6363
6364
|
}
|
|
6364
|
-
h.value = {},
|
|
6365
|
+
h.value = {}, C.value = [], L.value = [], b.value.delete(B.id), b.value.forEach((Z) => X(Z, !1, !1)), E();
|
|
6365
6366
|
}, pe = document.getElementsByTagName("html")[0].className.indexOf("dark") >= 0, Te = te(!0), ue = te(!1), et = () => ue.value = !ue.value;
|
|
6366
6367
|
function gt(B) {
|
|
6367
6368
|
if (!_.value) {
|
|
@@ -6370,9 +6371,9 @@ const R1 = {
|
|
|
6370
6371
|
}
|
|
6371
6372
|
Te.value = !1, y(_.value, { type: B, shouldDownload: !0 }).then(() => Te.value = !0).finally(() => ue.value = !1);
|
|
6372
6373
|
}
|
|
6373
|
-
return (B,
|
|
6374
|
+
return (B, D) => (u(), q($(Pr), {
|
|
6374
6375
|
id: e.id,
|
|
6375
|
-
"default-marker-color":
|
|
6376
|
+
"default-marker-color": $(Ve)("--bs-cyan"),
|
|
6376
6377
|
"fit-view-on-init": "",
|
|
6377
6378
|
"nodes-draggable": !1,
|
|
6378
6379
|
"nodes-connectable": !1,
|
|
@@ -6381,7 +6382,7 @@ const R1 = {
|
|
|
6381
6382
|
}, {
|
|
6382
6383
|
"node-cluster": z((Z) => [
|
|
6383
6384
|
M(od, K(Z, {
|
|
6384
|
-
onCollapse:
|
|
6385
|
+
onCollapse: D[0] || (D[0] = (W) => X(W, !0))
|
|
6385
6386
|
}), null, 16)
|
|
6386
6387
|
]),
|
|
6387
6388
|
"node-dot": z((Z) => [
|
|
@@ -6393,17 +6394,17 @@ const R1 = {
|
|
|
6393
6394
|
"icon-component": e.iconComponent,
|
|
6394
6395
|
"playground-enabled": e.playgroundEnabled,
|
|
6395
6396
|
"playground-ready-to-start": e.playgroundReadyToStart,
|
|
6396
|
-
onEdit:
|
|
6397
|
-
onDelete:
|
|
6398
|
-
onRunTask:
|
|
6399
|
-
onExpand:
|
|
6400
|
-
onOpenLink:
|
|
6401
|
-
onShowLogs:
|
|
6402
|
-
onShowDescription:
|
|
6403
|
-
onShowCondition:
|
|
6404
|
-
onMouseover:
|
|
6405
|
-
onMouseleave:
|
|
6406
|
-
onAddError:
|
|
6397
|
+
onEdit: D[1] || (D[1] = (W) => p($(U).EDIT, W)),
|
|
6398
|
+
onDelete: D[2] || (D[2] = (W) => p($(U).DELETE, W)),
|
|
6399
|
+
onRunTask: D[3] || (D[3] = (W) => p($(U).RUN_TASK, W)),
|
|
6400
|
+
onExpand: D[4] || (D[4] = (W) => Q(W)),
|
|
6401
|
+
onOpenLink: D[5] || (D[5] = (W) => p($(U).OPEN_LINK, W)),
|
|
6402
|
+
onShowLogs: D[6] || (D[6] = (W) => p($(U).SHOW_LOGS, W)),
|
|
6403
|
+
onShowDescription: D[7] || (D[7] = (W) => p($(U).SHOW_DESCRIPTION, W)),
|
|
6404
|
+
onShowCondition: D[8] || (D[8] = (W) => p($(U).SHOW_CONDITION, W)),
|
|
6405
|
+
onMouseover: D[9] || (D[9] = (W) => A(W)),
|
|
6406
|
+
onMouseleave: D[10] || (D[10] = (W) => S()),
|
|
6407
|
+
onAddError: D[11] || (D[11] = (W) => p("on-add-flowable-error", W)),
|
|
6407
6408
|
"enable-subflow-interaction": e.enableSubflowInteraction
|
|
6408
6409
|
}), null, 16, ["icons", "icon-component", "playground-enabled", "playground-ready-to-start", "enable-subflow-interaction"])
|
|
6409
6410
|
]),
|
|
@@ -6419,43 +6420,43 @@ const R1 = {
|
|
|
6419
6420
|
"icon-component": e.iconComponent,
|
|
6420
6421
|
"is-read-only": e.isReadOnly,
|
|
6421
6422
|
"is-allowed-edit": e.isAllowedEdit,
|
|
6422
|
-
onDelete:
|
|
6423
|
-
onEdit:
|
|
6424
|
-
onShowDescription:
|
|
6423
|
+
onDelete: D[12] || (D[12] = (W) => p($(U).DELETE, W)),
|
|
6424
|
+
onEdit: D[13] || (D[13] = (W) => p($(U).EDIT, W)),
|
|
6425
|
+
onShowDescription: D[14] || (D[14] = (W) => p($(U).SHOW_DESCRIPTION, W))
|
|
6425
6426
|
}), null, 16, ["icons", "icon-component", "is-read-only", "is-allowed-edit"])
|
|
6426
6427
|
]),
|
|
6427
6428
|
"node-collapsedcluster": z((Z) => [
|
|
6428
6429
|
M(Lm, K(Z, {
|
|
6429
|
-
onExpand:
|
|
6430
|
+
onExpand: D[15] || (D[15] = (W) => Q(W))
|
|
6430
6431
|
}), null, 16)
|
|
6431
6432
|
]),
|
|
6432
6433
|
"edge-edge": z((Z) => [
|
|
6433
6434
|
M(Nd, K(Z, {
|
|
6434
6435
|
"yaml-source": e.source,
|
|
6435
|
-
onAddTask:
|
|
6436
|
+
onAddTask: D[16] || (D[16] = (W) => p($(U).ADD_TASK, W)),
|
|
6436
6437
|
"is-read-only": e.isReadOnly,
|
|
6437
6438
|
"is-allowed-edit": e.isAllowedEdit
|
|
6438
6439
|
}), null, 16, ["yaml-source", "is-read-only", "is-allowed-edit"])
|
|
6439
6440
|
]),
|
|
6440
6441
|
default: z(() => [
|
|
6441
|
-
M(
|
|
6442
|
-
"pattern-color": pe ?
|
|
6442
|
+
M($(Yc), {
|
|
6443
|
+
"pattern-color": pe ? $(Ve)("--bs-grey-500") : $(Ve)("--bs-grey-300")
|
|
6443
6444
|
}, null, 8, ["pattern-color"]),
|
|
6444
|
-
Te.value ? (u(), q(
|
|
6445
|
+
Te.value ? (u(), q($(Mr), {
|
|
6445
6446
|
key: 0,
|
|
6446
6447
|
"show-interactive": !1
|
|
6447
6448
|
}, {
|
|
6448
6449
|
default: z(() => [
|
|
6449
|
-
e.toggleOrientationButton ? (u(), q(
|
|
6450
|
+
e.toggleOrientationButton ? (u(), q($(Nl), {
|
|
6450
6451
|
key: 0,
|
|
6451
|
-
onClick:
|
|
6452
|
+
onClick: D[17] || (D[17] = (Z) => p("toggle-orientation", Z))
|
|
6452
6453
|
}, {
|
|
6453
6454
|
default: z(() => [
|
|
6454
|
-
(u(), q(mt(e.isHorizontal ?
|
|
6455
|
+
(u(), q(mt(e.isHorizontal ? $m : Tm)))
|
|
6455
6456
|
]),
|
|
6456
6457
|
_: 1
|
|
6457
6458
|
})) : w("", !0),
|
|
6458
|
-
M(
|
|
6459
|
+
M($(Nl), { onClick: et }, {
|
|
6459
6460
|
default: z(() => [
|
|
6460
6461
|
M(Um)
|
|
6461
6462
|
]),
|
|
@@ -6463,11 +6464,11 @@ const R1 = {
|
|
|
6463
6464
|
}),
|
|
6464
6465
|
ue.value ? (u(), d("ul", R1, [
|
|
6465
6466
|
v("li", {
|
|
6466
|
-
onClick:
|
|
6467
|
+
onClick: D[18] || (D[18] = (Z) => gt("jpeg")),
|
|
6467
6468
|
class: "item"
|
|
6468
6469
|
}, " Export as .JPEG "),
|
|
6469
6470
|
v("li", {
|
|
6470
|
-
onClick:
|
|
6471
|
+
onClick: D[19] || (D[19] = (Z) => gt("png")),
|
|
6471
6472
|
class: "item"
|
|
6472
6473
|
}, " Export as .PNG ")
|
|
6473
6474
|
])) : w("", !0)
|
|
@@ -6553,7 +6554,7 @@ const B1 = /* @__PURE__ */ H(M1, [["render", H1]]), z1 = {
|
|
|
6553
6554
|
return (_, h) => (u(), d("div", {
|
|
6554
6555
|
class: "code-block",
|
|
6555
6556
|
onMouseover: c,
|
|
6556
|
-
onMouseleave: h[0] || (h[0] = (
|
|
6557
|
+
onMouseleave: h[0] || (h[0] = (C) => l.value = !1)
|
|
6557
6558
|
}, [
|
|
6558
6559
|
_.language && !l.value ? (u(), d("div", z1, V(_.language), 1)) : w("", !0),
|
|
6559
6560
|
l.value ? (u(), d(Ee, { key: 1 }, [
|
|
@@ -6662,7 +6663,7 @@ function rp(e) {
|
|
|
6662
6663
|
return wr() ? (Nr(e), !0) : !1;
|
|
6663
6664
|
}
|
|
6664
6665
|
function bo(e) {
|
|
6665
|
-
return typeof e == "function" ? e() :
|
|
6666
|
+
return typeof e == "function" ? e() : $(e);
|
|
6666
6667
|
}
|
|
6667
6668
|
const ap = typeof window < "u" && typeof document < "u";
|
|
6668
6669
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
@@ -6684,14 +6685,14 @@ function hi(...e) {
|
|
|
6684
6685
|
Array.isArray(n) || (n = [n]), Array.isArray(l) || (l = [l]);
|
|
6685
6686
|
const i = [], r = () => {
|
|
6686
6687
|
i.forEach((m) => m()), i.length = 0;
|
|
6687
|
-
}, a = (m, _, h,
|
|
6688
|
+
}, a = (m, _, h, C) => (m.addEventListener(_, h, C), () => m.removeEventListener(_, h, C)), s = Ue(
|
|
6688
6689
|
() => [fp(t), bo(o)],
|
|
6689
6690
|
([m, _]) => {
|
|
6690
6691
|
if (r(), !m)
|
|
6691
6692
|
return;
|
|
6692
6693
|
const h = up(_) ? { ..._ } : _;
|
|
6693
6694
|
i.push(
|
|
6694
|
-
...n.flatMap((
|
|
6695
|
+
...n.flatMap((C) => l.map((b) => a(m, C, b, h)))
|
|
6695
6696
|
);
|
|
6696
6697
|
},
|
|
6697
6698
|
{ immediate: !0, flush: "post" }
|
|
@@ -6885,8 +6886,8 @@ const Np = /* @__PURE__ */ H(Cp, [["render", wp]]), Tp = {
|
|
|
6885
6886
|
default: 24
|
|
6886
6887
|
}
|
|
6887
6888
|
}
|
|
6888
|
-
}, Ap = ["aria-hidden", "aria-label"], Ip = ["fill", "width", "height"], Op = { d: "M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z" },
|
|
6889
|
-
function
|
|
6889
|
+
}, Ap = ["aria-hidden", "aria-label"], Ip = ["fill", "width", "height"], Op = { d: "M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z" }, $p = { key: 0 };
|
|
6890
|
+
function Dp(e, t, n, l, o, i) {
|
|
6890
6891
|
return u(), d("span", K(e.$attrs, {
|
|
6891
6892
|
"aria-hidden": n.title ? null : "true",
|
|
6892
6893
|
"aria-label": n.title,
|
|
@@ -6902,12 +6903,12 @@ function $p(e, t, n, l, o, i) {
|
|
|
6902
6903
|
viewBox: "0 0 24 24"
|
|
6903
6904
|
}, [
|
|
6904
6905
|
v("path", Op, [
|
|
6905
|
-
n.title ? (u(), d("title",
|
|
6906
|
+
n.title ? (u(), d("title", $p, V(n.title), 1)) : w("", !0)
|
|
6906
6907
|
])
|
|
6907
6908
|
], 8, Ip))
|
|
6908
6909
|
], 16, Ap);
|
|
6909
6910
|
}
|
|
6910
|
-
const wo = /* @__PURE__ */ H(Tp, [["render",
|
|
6911
|
+
const wo = /* @__PURE__ */ H(Tp, [["render", Dp]]), Rp = {
|
|
6911
6912
|
name: "FileDocumentIcon",
|
|
6912
6913
|
emits: ["click"],
|
|
6913
6914
|
props: {
|
|
@@ -6998,7 +6999,7 @@ const Fp = /* @__PURE__ */ H(Rp, [["render", Up]]), Hp = { class: "me-3" }, Bp =
|
|
|
6998
6999
|
}, ["stop"]))
|
|
6999
7000
|
}, [
|
|
7000
7001
|
v("button", Yp, [
|
|
7001
|
-
v("span", qp, V(
|
|
7002
|
+
v("span", qp, V($(Lo)(n.value)), 1),
|
|
7002
7003
|
M(wo)
|
|
7003
7004
|
])
|
|
7004
7005
|
], 8, Kp)) : (u(), d("span", Xp, V(n.value), 1))
|
|
@@ -7098,8 +7099,8 @@ const Fp = /* @__PURE__ */ H(Rp, [["render", Up]]), Hp = { class: "me-3" }, Bp =
|
|
|
7098
7099
|
default: 24
|
|
7099
7100
|
}
|
|
7100
7101
|
}
|
|
7101
|
-
}, Ag = ["aria-hidden", "aria-label"], Ig = ["fill", "width", "height"], Og = { d: "M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z" },
|
|
7102
|
-
function
|
|
7102
|
+
}, Ag = ["aria-hidden", "aria-label"], Ig = ["fill", "width", "height"], Og = { d: "M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z" }, $g = { key: 0 };
|
|
7103
|
+
function Dg(e, t, n, l, o, i) {
|
|
7103
7104
|
return u(), d("span", K(e.$attrs, {
|
|
7104
7105
|
"aria-hidden": n.title ? null : "true",
|
|
7105
7106
|
"aria-label": n.title,
|
|
@@ -7115,12 +7116,12 @@ function $g(e, t, n, l, o, i) {
|
|
|
7115
7116
|
viewBox: "0 0 24 24"
|
|
7116
7117
|
}, [
|
|
7117
7118
|
v("path", Og, [
|
|
7118
|
-
n.title ? (u(), d("title",
|
|
7119
|
+
n.title ? (u(), d("title", $g, V(n.title), 1)) : w("", !0)
|
|
7119
7120
|
])
|
|
7120
7121
|
], 8, Ig))
|
|
7121
7122
|
], 16, Ag);
|
|
7122
7123
|
}
|
|
7123
|
-
const Rg = /* @__PURE__ */ H(Tg, [["render",
|
|
7124
|
+
const Rg = /* @__PURE__ */ H(Tg, [["render", Dg]]), Pg = {
|
|
7124
7125
|
name: "SnowflakeIcon",
|
|
7125
7126
|
emits: ["click"],
|
|
7126
7127
|
props: {
|
|
@@ -7297,7 +7298,7 @@ const Yg = /* @__PURE__ */ H(Bg, [["render", Kg]]), qg = { class: "border overfl
|
|
|
7297
7298
|
})) : w("", !0)
|
|
7298
7299
|
]),
|
|
7299
7300
|
v("span", Jg, [
|
|
7300
|
-
(u(!0), d(Ee, null, Xe(
|
|
7301
|
+
(u(!0), d(Ee, null, Xe($(So)(c).types, (h) => (u(), d(Ee, { key: h }, [
|
|
7301
7302
|
h.startsWith("#") ? (u(), d("a", {
|
|
7302
7303
|
key: 0,
|
|
7303
7304
|
class: "d-flex fw-bold type-box rounded fs-7 px-2 py-1",
|
|
@@ -7305,7 +7306,7 @@ const Yg = /* @__PURE__ */ H(Bg, [["render", Kg]]), qg = { class: "border overfl
|
|
|
7305
7306
|
onClick: s[0] || (s[0] = Ni(() => {
|
|
7306
7307
|
}, ["stop"]))
|
|
7307
7308
|
}, [
|
|
7308
|
-
v("span", eh, V(
|
|
7309
|
+
v("span", eh, V($(Lo)(h)), 1),
|
|
7309
7310
|
M(wo)
|
|
7310
7311
|
], 8, Qg)) : (u(), d("span", th, V(h), 1))
|
|
7311
7312
|
], 64))), 128)),
|
|
@@ -7355,81 +7356,81 @@ const Yg = /* @__PURE__ */ H(Bg, [["render", Kg]]), qg = { class: "border overfl
|
|
|
7355
7356
|
async setup(e) {
|
|
7356
7357
|
let t, n;
|
|
7357
7358
|
const l = e, o = te(!1), i = te(/* @__PURE__ */ new Set()), r = te(0), a = async () => {
|
|
7358
|
-
const
|
|
7359
|
-
if (!
|
|
7359
|
+
const b = window.location.hash.slice(1);
|
|
7360
|
+
if (!b || !l.schema.definitions) {
|
|
7360
7361
|
i.value.clear();
|
|
7361
7362
|
return;
|
|
7362
7363
|
}
|
|
7363
|
-
const
|
|
7364
|
-
if (
|
|
7365
|
-
o.value = !0, r.value += 1, i.value.clear(), i.value.add(
|
|
7364
|
+
const L = b.includes("#") ? b.split("#").pop()?.split(".").pop() : b;
|
|
7365
|
+
if (L && L in l.schema.definitions) {
|
|
7366
|
+
o.value = !0, r.value += 1, i.value.clear(), i.value.add(L), await dn();
|
|
7366
7367
|
let y = 0;
|
|
7367
7368
|
const p = 30, E = () => {
|
|
7368
|
-
const A = document.getElementById(
|
|
7369
|
+
const A = document.getElementById(L);
|
|
7369
7370
|
A ? A.scrollIntoView({ behavior: "smooth", block: "start" }) : y < p && (y++, requestAnimationFrame(E));
|
|
7370
7371
|
};
|
|
7371
7372
|
requestAnimationFrame(E);
|
|
7372
7373
|
} else
|
|
7373
7374
|
i.value.clear();
|
|
7374
7375
|
};
|
|
7375
|
-
Ue([() => l.schema, () => l.pluginType], ([
|
|
7376
|
-
(
|
|
7376
|
+
Ue([() => l.schema, () => l.pluginType], ([b, L], [y, p]) => {
|
|
7377
|
+
(b !== y || L !== p) && l.schema.definitions && a();
|
|
7377
7378
|
});
|
|
7378
|
-
const s = (
|
|
7379
|
+
const s = (b) => b?.full ? b.code : `id: "${l.pluginType.split(".").reverse()[0]?.toLowerCase()}"
|
|
7379
7380
|
type: "${l.pluginType}"
|
|
7380
|
-
`.concat(
|
|
7381
|
-
l.schema.properties?.$metrics?.map((
|
|
7381
|
+
`.concat(b.code), c = te(), m = G(() => l.schema.properties?.$examples), _ = G(() => Object.fromEntries(
|
|
7382
|
+
l.schema.properties?.$metrics?.map((b) => [b.name, { ...b, name: void 0 }])
|
|
7382
7383
|
)), {
|
|
7383
7384
|
getHighlighterCore: h
|
|
7384
7385
|
} = ([t, n] = wl(() => import("./shikiToolset-CQ31F75R.js")), t = await t, n(), t);
|
|
7385
7386
|
c.value = ([t, n] = wl(() => h()), t = await t, n(), t);
|
|
7386
|
-
const
|
|
7387
|
+
const C = "github-" + (l.darkMode ? "dark" : "light");
|
|
7387
7388
|
return Mt(() => {
|
|
7388
7389
|
a(), window.addEventListener("hashchange", a);
|
|
7389
7390
|
}), ki(() => {
|
|
7390
7391
|
window.removeEventListener("hashchange", a);
|
|
7391
|
-
}), (
|
|
7392
|
+
}), (b, L) => (u(), d("div", lh, [
|
|
7392
7393
|
v("div", ih, [
|
|
7393
|
-
|
|
7394
|
+
b.schema.properties?.$beta ? (u(), d("div", oh, [...L[0] || (L[0] = [
|
|
7394
7395
|
v("p", null, " This plugin is currently in beta. While it is considered safe for use, please be aware that its API could change in ways that are not compatible with earlier versions in future releases, or it might become unsupported. ", -1)
|
|
7395
7396
|
])])) : w("", !0),
|
|
7396
|
-
|
|
7397
|
-
ae(
|
|
7398
|
-
content:
|
|
7397
|
+
b.schema.properties?.title ? (u(), d("div", rh, [
|
|
7398
|
+
ae(b.$slots, "markdown", {
|
|
7399
|
+
content: b.schema.properties.title.replace(/ *:(?![ /])/g, ": ")
|
|
7399
7400
|
}, void 0, !0)
|
|
7400
7401
|
])) : w("", !0),
|
|
7401
|
-
|
|
7402
|
-
ae(
|
|
7403
|
-
content:
|
|
7402
|
+
b.schema.properties?.description ? (u(), d("div", ah, [
|
|
7403
|
+
ae(b.$slots, "markdown", {
|
|
7404
|
+
content: b.schema.properties.description.replace(/ *:(?![ /])/g, ": ")
|
|
7404
7405
|
}, void 0, !0)
|
|
7405
7406
|
])) : w("", !0),
|
|
7406
7407
|
(u(), q(gi, {
|
|
7407
7408
|
highlighter: c.value,
|
|
7408
7409
|
language: "yaml",
|
|
7409
|
-
theme:
|
|
7410
|
-
code: `type: "${
|
|
7411
|
-
key:
|
|
7410
|
+
theme: C,
|
|
7411
|
+
code: `type: "${b.pluginType}"`,
|
|
7412
|
+
key: b.pluginType
|
|
7412
7413
|
}, null, 8, ["highlighter", "code"]))
|
|
7413
7414
|
]),
|
|
7414
7415
|
(u(), d("div", {
|
|
7415
7416
|
class: "d-flex flex-column gap-3",
|
|
7416
|
-
key:
|
|
7417
|
+
key: b.pluginType
|
|
7417
7418
|
}, [
|
|
7418
7419
|
m.value ? (u(), q(an, {
|
|
7419
7420
|
key: 0,
|
|
7420
7421
|
class: "plugin-section",
|
|
7421
7422
|
"clickable-text": "Examples",
|
|
7422
7423
|
href: "examples",
|
|
7423
|
-
"no-url-change":
|
|
7424
|
+
"no-url-change": b.noUrlChange
|
|
7424
7425
|
}, {
|
|
7425
7426
|
content: z(() => [
|
|
7426
7427
|
v("div", sh, [
|
|
7427
7428
|
(u(!0), d(Ee, null, Xe(m.value, (y, p) => (u(), d(Ee, {
|
|
7428
|
-
key:
|
|
7429
|
+
key: b.pluginType + "-" + p
|
|
7429
7430
|
}, [
|
|
7430
7431
|
v("div", uh, [
|
|
7431
7432
|
v("div", ch, [
|
|
7432
|
-
y.title ? ae(
|
|
7433
|
+
y.title ? ae(b.$slots, "markdown", {
|
|
7433
7434
|
key: 0,
|
|
7434
7435
|
content: y.title.replace(/ *:(?![ /])/g, ": ")
|
|
7435
7436
|
}, void 0, !0) : w("", !0)
|
|
@@ -7438,7 +7439,7 @@ type: "${l.pluginType}"
|
|
|
7438
7439
|
key: 0,
|
|
7439
7440
|
highlighter: c.value,
|
|
7440
7441
|
language: y.lang ?? "yaml",
|
|
7441
|
-
theme:
|
|
7442
|
+
theme: C,
|
|
7442
7443
|
code: s(y)
|
|
7443
7444
|
}, null, 8, ["highlighter", "language", "code"])) : w("", !0)
|
|
7444
7445
|
]),
|
|
@@ -7448,81 +7449,81 @@ type: "${l.pluginType}"
|
|
|
7448
7449
|
]),
|
|
7449
7450
|
_: 3
|
|
7450
7451
|
}, 8, ["no-url-change"])) : w("", !0),
|
|
7451
|
-
|
|
7452
|
+
b.schema.properties?.properties ? (u(), q(Yt, {
|
|
7452
7453
|
key: 1,
|
|
7453
7454
|
class: "plugin-section",
|
|
7454
|
-
properties:
|
|
7455
|
+
properties: b.schema.properties.properties,
|
|
7455
7456
|
"section-name": "Properties",
|
|
7456
7457
|
href: "properties",
|
|
7457
|
-
"initially-expanded":
|
|
7458
|
-
"force-include":
|
|
7459
|
-
"no-url-change":
|
|
7458
|
+
"initially-expanded": b.propsInitiallyExpanded,
|
|
7459
|
+
"force-include": b.forceIncludeProperties,
|
|
7460
|
+
"no-url-change": b.noUrlChange
|
|
7460
7461
|
}, {
|
|
7461
7462
|
markdown: z(({ content: y }) => [
|
|
7462
7463
|
v("div", fh, [
|
|
7463
|
-
ae(
|
|
7464
|
+
ae(b.$slots, "markdown", { content: y }, void 0, !0)
|
|
7464
7465
|
])
|
|
7465
7466
|
]),
|
|
7466
7467
|
_: 3
|
|
7467
7468
|
}, 8, ["properties", "initially-expanded", "force-include", "no-url-change"])) : w("", !0),
|
|
7468
|
-
|
|
7469
|
+
b.schema.outputs?.properties && Object.keys(b.schema.outputs.properties).length > 0 ? (u(), q(Yt, {
|
|
7469
7470
|
key: 2,
|
|
7470
7471
|
class: "plugin-section",
|
|
7471
|
-
properties:
|
|
7472
|
+
properties: b.schema.outputs.properties,
|
|
7472
7473
|
"section-name": "Outputs",
|
|
7473
7474
|
href: "outputs",
|
|
7474
7475
|
"show-dynamic": !1,
|
|
7475
|
-
"no-url-change":
|
|
7476
|
+
"no-url-change": b.noUrlChange
|
|
7476
7477
|
}, {
|
|
7477
7478
|
markdown: z(({ content: y }) => [
|
|
7478
7479
|
v("div", mh, [
|
|
7479
|
-
ae(
|
|
7480
|
+
ae(b.$slots, "markdown", { content: y }, void 0, !0)
|
|
7480
7481
|
])
|
|
7481
7482
|
]),
|
|
7482
7483
|
_: 3
|
|
7483
7484
|
}, 8, ["properties", "no-url-change"])) : w("", !0),
|
|
7484
|
-
|
|
7485
|
+
b.schema.properties?.$metrics ? (u(), q(Yt, {
|
|
7485
7486
|
key: 3,
|
|
7486
7487
|
class: "plugin-section",
|
|
7487
7488
|
properties: _.value,
|
|
7488
7489
|
"section-name": "Metrics",
|
|
7489
7490
|
href: "metrics",
|
|
7490
7491
|
"show-dynamic": !1,
|
|
7491
|
-
"no-url-change":
|
|
7492
|
+
"no-url-change": b.noUrlChange
|
|
7492
7493
|
}, {
|
|
7493
7494
|
markdown: z(({ content: y }) => [
|
|
7494
7495
|
v("div", ph, [
|
|
7495
|
-
ae(
|
|
7496
|
+
ae(b.$slots, "markdown", { content: y }, void 0, !0)
|
|
7496
7497
|
])
|
|
7497
7498
|
]),
|
|
7498
7499
|
_: 3
|
|
7499
7500
|
}, 8, ["properties", "no-url-change"])) : w("", !0),
|
|
7500
|
-
|
|
7501
|
+
b.schema.definitions && Object.keys(b.schema.definitions).length > 0 ? (u(), q(an, {
|
|
7501
7502
|
class: "plugin-section",
|
|
7502
7503
|
"clickable-text": "Definitions",
|
|
7503
7504
|
href: "definitions",
|
|
7504
7505
|
"initially-expanded": o.value,
|
|
7505
|
-
key: `definitions-${
|
|
7506
|
-
"no-url-change":
|
|
7506
|
+
key: `definitions-${b.pluginType}-${r.value}`,
|
|
7507
|
+
"no-url-change": b.noUrlChange
|
|
7507
7508
|
}, {
|
|
7508
7509
|
content: z(() => [
|
|
7509
7510
|
v("div", gh, [
|
|
7510
|
-
(u(!0), d(Ee, null, Xe(Object.entries(
|
|
7511
|
+
(u(!0), d(Ee, null, Xe(Object.entries(b.schema.definitions), ([y, p]) => (u(), q(Yt, {
|
|
7511
7512
|
properties: p.properties,
|
|
7512
7513
|
"section-name": p.title ?? y.split("_")[0],
|
|
7513
7514
|
href: y,
|
|
7514
7515
|
"show-dynamic": !1,
|
|
7515
7516
|
"initially-expanded": i.value.has(y),
|
|
7516
|
-
key:
|
|
7517
|
+
key: b.pluginType + "-" + y,
|
|
7517
7518
|
class: "plugin-section nested-button-py-2",
|
|
7518
7519
|
onExpand: (E) => {
|
|
7519
7520
|
o.value = !0, i.value.add(y);
|
|
7520
7521
|
},
|
|
7521
|
-
"no-url-change":
|
|
7522
|
+
"no-url-change": b.noUrlChange
|
|
7522
7523
|
}, {
|
|
7523
7524
|
markdown: z(({ content: E }) => [
|
|
7524
7525
|
v("div", hh, [
|
|
7525
|
-
ae(
|
|
7526
|
+
ae(b.$slots, "markdown", { content: E }, void 0, !0)
|
|
7526
7527
|
])
|
|
7527
7528
|
]),
|
|
7528
7529
|
_: 3
|
|
@@ -7614,7 +7615,7 @@ const Lh = /* @__PURE__ */ H(yh, [["render", kh]]), Sh = ["href"], wh = ["src",
|
|
|
7614
7615
|
}, r = (m) => `${t.routePath}/${vt(m)}`, a = (m) => `${t.routePath}/${m}`;
|
|
7615
7616
|
function s(m) {
|
|
7616
7617
|
return Object.fromEntries(
|
|
7617
|
-
Object.entries(m).filter(([_, h]) => as(_, h)).map(([_, h]) => [_.replace(/[A-Z]/g, (
|
|
7618
|
+
Object.entries(m).filter(([_, h]) => as(_, h)).map(([_, h]) => [_.replace(/[A-Z]/g, (C) => ` ${C}`), h.filter(({ deprecated: C }) => !C).map(({ cls: C }) => C)])
|
|
7618
7619
|
);
|
|
7619
7620
|
}
|
|
7620
7621
|
const c = G(() => s(n.value));
|
|
@@ -7625,39 +7626,39 @@ const Lh = /* @__PURE__ */ H(yh, [["render", kh]]), Sh = ["href"], wh = ["src",
|
|
|
7625
7626
|
}) : w("", !0),
|
|
7626
7627
|
m.subGroup === void 0 && m.plugins.length > 1 ? (u(), d("div", Ah, [
|
|
7627
7628
|
(u(!0), d(Ee, null, Xe(o.value, (h) => (u(), q(yi, {
|
|
7628
|
-
id: `group-${
|
|
7629
|
+
id: `group-${$(vt)($(At)(h))}`,
|
|
7629
7630
|
"icon-b64-svg": "data:image/svg+xml;base64," + (m.icons[h.subGroup] ?? m.icons[h.group]),
|
|
7630
|
-
text:
|
|
7631
|
-
href: r(
|
|
7632
|
-
key:
|
|
7631
|
+
text: $(At)(h),
|
|
7632
|
+
href: r($(At)(h)),
|
|
7633
|
+
key: $(At)(h),
|
|
7633
7634
|
"route-path": m.routePath,
|
|
7634
7635
|
class: "text-capitalize",
|
|
7635
|
-
onClick: (
|
|
7636
|
+
onClick: (C) => m.$emit("goTo", { subGroup: h })
|
|
7636
7637
|
}, null, 8, ["id", "icon-b64-svg", "text", "href", "route-path", "onClick"]))), 128))
|
|
7637
|
-
])) : (u(!0), d(Ee, { key: 2 }, Xe(c.value, (h,
|
|
7638
|
+
])) : (u(!0), d(Ee, { key: 2 }, Xe(c.value, (h, C) => (u(), d("div", {
|
|
7638
7639
|
class: "d-flex flex-column elements-section",
|
|
7639
|
-
key:
|
|
7640
|
+
key: C
|
|
7640
7641
|
}, [
|
|
7641
7642
|
v("h4", {
|
|
7642
|
-
id: `section-${
|
|
7643
|
+
id: `section-${$(vt)(C)}`,
|
|
7643
7644
|
class: "text-capitalize"
|
|
7644
|
-
}, V(
|
|
7645
|
+
}, V(C), 9, Ih),
|
|
7645
7646
|
v("div", Oh, [
|
|
7646
|
-
(u(!0), d(Ee, null, Xe(h, (
|
|
7647
|
-
id:
|
|
7648
|
-
"icon-b64-svg": "data:image/svg+xml;base64," + (m.icons[
|
|
7649
|
-
text: i(
|
|
7650
|
-
href: a(
|
|
7651
|
-
key:
|
|
7647
|
+
(u(!0), d(Ee, null, Xe(h, (b) => (u(), q(yi, {
|
|
7648
|
+
id: $(vt)(b),
|
|
7649
|
+
"icon-b64-svg": "data:image/svg+xml;base64," + (m.icons[b] ?? m.icons[n.value.subGroup ?? n.value.group] ?? m.icons[n.value.group]),
|
|
7650
|
+
text: i(b),
|
|
7651
|
+
href: a(b),
|
|
7652
|
+
key: b,
|
|
7652
7653
|
"route-path": m.routePath,
|
|
7653
7654
|
class: "text-capitalize",
|
|
7654
|
-
onClick: (
|
|
7655
|
+
onClick: (L) => m.$emit("goTo", { element: b })
|
|
7655
7656
|
}, null, 8, ["id", "icon-b64-svg", "text", "href", "route-path", "onClick"]))), 128))
|
|
7656
7657
|
])
|
|
7657
7658
|
]))), 128))
|
|
7658
7659
|
]));
|
|
7659
7660
|
}
|
|
7660
|
-
}),
|
|
7661
|
+
}), $h = /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/, Dh = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/, Rh = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
|
|
7661
7662
|
function Ph(e, t) {
|
|
7662
7663
|
if (e === "__proto__" || e === "constructor" && t && typeof t == "object" && "prototype" in t) {
|
|
7663
7664
|
Mh(e);
|
|
@@ -7697,7 +7698,7 @@ function Vh(e, t = {}) {
|
|
|
7697
7698
|
return e;
|
|
7698
7699
|
}
|
|
7699
7700
|
try {
|
|
7700
|
-
if (
|
|
7701
|
+
if ($h.test(e) || Dh.test(e)) {
|
|
7701
7702
|
if (t.strict)
|
|
7702
7703
|
throw new Error("[destr] Possible prototype pollution");
|
|
7703
7704
|
return JSON.parse(e, Ph);
|
|
@@ -7803,7 +7804,7 @@ Oe.prototype.property = "";
|
|
|
7803
7804
|
Oe.prototype.spaceSeparated = !1;
|
|
7804
7805
|
Oe.prototype.space = void 0;
|
|
7805
7806
|
let zh = 0;
|
|
7806
|
-
const Y = pt(), Ce = pt(), qn = pt(), O = pt(), ce = pt(), Ct = pt(),
|
|
7807
|
+
const Y = pt(), Ce = pt(), qn = pt(), O = pt(), ce = pt(), Ct = pt(), De = pt();
|
|
7807
7808
|
function pt() {
|
|
7808
7809
|
return 2 ** ++zh;
|
|
7809
7810
|
}
|
|
@@ -7811,12 +7812,12 @@ const Xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7811
7812
|
__proto__: null,
|
|
7812
7813
|
boolean: Y,
|
|
7813
7814
|
booleanish: Ce,
|
|
7814
|
-
commaOrSpaceSeparated:
|
|
7815
|
+
commaOrSpaceSeparated: De,
|
|
7815
7816
|
commaSeparated: Ct,
|
|
7816
7817
|
number: O,
|
|
7817
7818
|
overloadedBoolean: qn,
|
|
7818
7819
|
spaceSeparated: ce
|
|
7819
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7820
|
+
}, Symbol.toStringTag, { value: "Module" })), Dn = (
|
|
7820
7821
|
/** @type {ReadonlyArray<keyof typeof types>} */
|
|
7821
7822
|
Object.keys(Xn)
|
|
7822
7823
|
);
|
|
@@ -7837,9 +7838,9 @@ class pl extends Oe {
|
|
|
7837
7838
|
constructor(t, n, l, o) {
|
|
7838
7839
|
let i = -1;
|
|
7839
7840
|
if (super(t, n), vi(this, "space", o), typeof l == "number")
|
|
7840
|
-
for (; ++i <
|
|
7841
|
-
const r =
|
|
7842
|
-
vi(this,
|
|
7841
|
+
for (; ++i < Dn.length; ) {
|
|
7842
|
+
const r = Dn[i];
|
|
7843
|
+
vi(this, Dn[i], (l & Xn[r]) === Xn[r]);
|
|
7843
7844
|
}
|
|
7844
7845
|
}
|
|
7845
7846
|
}
|
|
@@ -7919,7 +7920,7 @@ const Io = St({
|
|
|
7919
7920
|
function Oo(e, t) {
|
|
7920
7921
|
return t in e ? e[t] : t;
|
|
7921
7922
|
}
|
|
7922
|
-
function
|
|
7923
|
+
function $o(e, t) {
|
|
7923
7924
|
return Oo(e, t.toLowerCase());
|
|
7924
7925
|
}
|
|
7925
7926
|
const Gh = St({
|
|
@@ -8282,7 +8283,7 @@ const Gh = St({
|
|
|
8282
8283
|
unselectable: null
|
|
8283
8284
|
},
|
|
8284
8285
|
space: "html",
|
|
8285
|
-
transform:
|
|
8286
|
+
transform: $o
|
|
8286
8287
|
}), Wh = St({
|
|
8287
8288
|
attributes: {
|
|
8288
8289
|
accentHeight: "accent-height",
|
|
@@ -8460,7 +8461,7 @@ const Gh = St({
|
|
|
8460
8461
|
timelineBegin: "timelinebegin"
|
|
8461
8462
|
},
|
|
8462
8463
|
properties: {
|
|
8463
|
-
about:
|
|
8464
|
+
about: De,
|
|
8464
8465
|
accentHeight: O,
|
|
8465
8466
|
accumulate: null,
|
|
8466
8467
|
additive: null,
|
|
@@ -8572,7 +8573,7 @@ const Gh = St({
|
|
|
8572
8573
|
k2: O,
|
|
8573
8574
|
k3: O,
|
|
8574
8575
|
k4: O,
|
|
8575
|
-
kernelMatrix:
|
|
8576
|
+
kernelMatrix: De,
|
|
8576
8577
|
kernelUnitLength: null,
|
|
8577
8578
|
keyPoints: null,
|
|
8578
8579
|
// SEMI_COLON_SEPARATED
|
|
@@ -8729,21 +8730,21 @@ const Gh = St({
|
|
|
8729
8730
|
preserveAspectRatio: null,
|
|
8730
8731
|
primitiveUnits: null,
|
|
8731
8732
|
propagate: null,
|
|
8732
|
-
property:
|
|
8733
|
+
property: De,
|
|
8733
8734
|
r: null,
|
|
8734
8735
|
radius: null,
|
|
8735
8736
|
referrerPolicy: null,
|
|
8736
8737
|
refX: null,
|
|
8737
8738
|
refY: null,
|
|
8738
|
-
rel:
|
|
8739
|
-
rev:
|
|
8739
|
+
rel: De,
|
|
8740
|
+
rev: De,
|
|
8740
8741
|
renderingIntent: null,
|
|
8741
8742
|
repeatCount: null,
|
|
8742
8743
|
repeatDur: null,
|
|
8743
|
-
requiredExtensions:
|
|
8744
|
-
requiredFeatures:
|
|
8745
|
-
requiredFonts:
|
|
8746
|
-
requiredFormats:
|
|
8744
|
+
requiredExtensions: De,
|
|
8745
|
+
requiredFeatures: De,
|
|
8746
|
+
requiredFonts: De,
|
|
8747
|
+
requiredFormats: De,
|
|
8747
8748
|
resource: null,
|
|
8748
8749
|
restart: null,
|
|
8749
8750
|
result: null,
|
|
@@ -8771,7 +8772,7 @@ const Gh = St({
|
|
|
8771
8772
|
strikethroughThickness: O,
|
|
8772
8773
|
string: null,
|
|
8773
8774
|
stroke: null,
|
|
8774
|
-
strokeDashArray:
|
|
8775
|
+
strokeDashArray: De,
|
|
8775
8776
|
strokeDashOffset: null,
|
|
8776
8777
|
strokeLineCap: null,
|
|
8777
8778
|
strokeLineJoin: null,
|
|
@@ -8785,7 +8786,7 @@ const Gh = St({
|
|
|
8785
8786
|
syncMaster: null,
|
|
8786
8787
|
syncTolerance: null,
|
|
8787
8788
|
syncToleranceDefault: null,
|
|
8788
|
-
systemLanguage:
|
|
8789
|
+
systemLanguage: De,
|
|
8789
8790
|
tabIndex: O,
|
|
8790
8791
|
tableValues: null,
|
|
8791
8792
|
target: null,
|
|
@@ -8799,7 +8800,7 @@ const Gh = St({
|
|
|
8799
8800
|
title: null,
|
|
8800
8801
|
transformBehavior: null,
|
|
8801
8802
|
type: null,
|
|
8802
|
-
typeOf:
|
|
8803
|
+
typeOf: De,
|
|
8803
8804
|
to: null,
|
|
8804
8805
|
transform: null,
|
|
8805
8806
|
transformOrigin: null,
|
|
@@ -8842,7 +8843,7 @@ const Gh = St({
|
|
|
8842
8843
|
},
|
|
8843
8844
|
space: "svg",
|
|
8844
8845
|
transform: Oo
|
|
8845
|
-
}),
|
|
8846
|
+
}), Do = St({
|
|
8846
8847
|
properties: {
|
|
8847
8848
|
xLinkActuate: null,
|
|
8848
8849
|
xLinkArcRole: null,
|
|
@@ -8860,7 +8861,7 @@ const Gh = St({
|
|
|
8860
8861
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
8861
8862
|
properties: { xmlnsXLink: null, xmlns: null },
|
|
8862
8863
|
space: "xmlns",
|
|
8863
|
-
transform:
|
|
8864
|
+
transform: $o
|
|
8864
8865
|
}), Po = St({
|
|
8865
8866
|
properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
|
|
8866
8867
|
space: "xml",
|
|
@@ -8894,8 +8895,8 @@ function qh(e) {
|
|
|
8894
8895
|
function Xh(e) {
|
|
8895
8896
|
return e.charAt(1).toUpperCase();
|
|
8896
8897
|
}
|
|
8897
|
-
const Zh = Ao([Io, Gh,
|
|
8898
|
-
Ao([Io, Wh,
|
|
8898
|
+
const Zh = Ao([Io, Gh, Do, Ro, Po], "html");
|
|
8899
|
+
Ao([Io, Wh, Do, Ro, Po], "svg");
|
|
8899
8900
|
const gl = [
|
|
8900
8901
|
"a",
|
|
8901
8902
|
"abbr",
|
|
@@ -9126,7 +9127,7 @@ const Zn = "default", Fo = /^@|^v-on:/, Ho = /^:|^v-bind:/, t_ = /^v-model/, n_
|
|
|
9126
9127
|
}), await __(e.body, { tags: i.value });
|
|
9127
9128
|
function s(c, m) {
|
|
9128
9129
|
const _ = c.split(".").length - 1;
|
|
9129
|
-
return c.split(".").reduce((h,
|
|
9130
|
+
return c.split(".").reduce((h, C, b) => b == _ && h ? (h[C] = m, h[C]) : typeof h == "object" ? h[C] : void 0, a);
|
|
9130
9131
|
}
|
|
9131
9132
|
return { tags: i, contentKey: r, route: l, runtimeData: a, updateRuntimeData: s };
|
|
9132
9133
|
},
|
|
@@ -9137,11 +9138,11 @@ const Zn = "default", Fo = /^@|^v-on:/, Ho = /^:|^v-bind:/, t_ = /^v-model/, n_
|
|
|
9137
9138
|
const m = { ...o, tags: t, $route: r, runtimeData: s, updateRuntimeData: c }, _ = n !== !1 ? Jn(n || m.component?.name || m.component || "div") : void 0;
|
|
9138
9139
|
return _ ? bt(_, { ...m.component?.props, class: e.class, ...this.$attrs, key: i }, { default: h }) : h?.();
|
|
9139
9140
|
function h() {
|
|
9140
|
-
const
|
|
9141
|
-
return
|
|
9142
|
-
|
|
9141
|
+
const C = Bo(l, bt, { documentMeta: m, parentScope: m, resolveComponent: Jn });
|
|
9142
|
+
return C?.default ? a ? Uo(
|
|
9143
|
+
C.default(),
|
|
9143
9144
|
typeof a == "string" ? a.split(" ") : ["*"]
|
|
9144
|
-
) :
|
|
9145
|
+
) : C.default() : null;
|
|
9145
9146
|
}
|
|
9146
9147
|
}
|
|
9147
9148
|
});
|
|
@@ -9187,19 +9188,19 @@ function Bo(e, t, n) {
|
|
|
9187
9188
|
}, {
|
|
9188
9189
|
[Zn]: { props: {}, children: [] }
|
|
9189
9190
|
});
|
|
9190
|
-
return Object.entries(a).reduce((c, [m, { props: _, children: h }]) => (h.length && (c[m] = (
|
|
9191
|
-
const
|
|
9192
|
-
let
|
|
9191
|
+
return Object.entries(a).reduce((c, [m, { props: _, children: h }]) => (h.length && (c[m] = (C = {}) => {
|
|
9192
|
+
const b = Qh(C, Object.keys(_ || {}));
|
|
9193
|
+
let L = h.map((y, p) => a_(
|
|
9193
9194
|
y,
|
|
9194
9195
|
t,
|
|
9195
9196
|
{
|
|
9196
9197
|
documentMeta: l,
|
|
9197
|
-
parentScope: { ...o, ...
|
|
9198
|
+
parentScope: { ...o, ...b },
|
|
9198
9199
|
resolveComponent: i
|
|
9199
9200
|
},
|
|
9200
9201
|
String(y.props?.key || p)
|
|
9201
9202
|
));
|
|
9202
|
-
return _?.unwrap && (
|
|
9203
|
+
return _?.unwrap && (L = Uo(L, _.unwrap)), h_(L);
|
|
9203
9204
|
}), c), {});
|
|
9204
9205
|
}
|
|
9205
9206
|
function s_(e, t, n, l = {}) {
|
|
@@ -9312,10 +9313,10 @@ function Go(e, t) {
|
|
|
9312
9313
|
const n = e.tag;
|
|
9313
9314
|
return !n || typeof e.props?.__ignoreMap < "u" ? n : t[n] || t[To(n)] || t[Bh(e.tag)] || n;
|
|
9314
9315
|
}
|
|
9315
|
-
const
|
|
9316
|
+
const $_ = /* @__PURE__ */ de({
|
|
9316
9317
|
__name: "MDCRenderer",
|
|
9317
9318
|
setup(e) {
|
|
9318
|
-
return (t, n) => (u(), q(
|
|
9319
|
+
return (t, n) => (u(), q($r, null, {
|
|
9319
9320
|
default: z(() => [
|
|
9320
9321
|
M(r_, K(t.$attrs, { prose: !0 }), null, 16)
|
|
9321
9322
|
]),
|
|
@@ -9327,7 +9328,7 @@ export {
|
|
|
9327
9328
|
Cl as CLUSTER_PREFIX,
|
|
9328
9329
|
T_ as DependenciesNode,
|
|
9329
9330
|
U as EVENTS,
|
|
9330
|
-
|
|
9331
|
+
$_ as MDCRenderer,
|
|
9331
9332
|
P_ as NODE_SIZES,
|
|
9332
9333
|
O_ as PluginIndex,
|
|
9333
9334
|
hs as RotatingDotsIcon,
|