@kestra-io/ui-libs 0.0.262 → 0.0.263
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/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/misc/{State.vue.d.ts → Status.vue.d.ts} +8 -3
- package/dist/components/misc/Status.vue.d.ts.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/kestra-index.cjs.js +13 -13
- package/dist/kestra-index.cjs.js.map +1 -1
- package/dist/kestra-index.es.js +976 -948
- package/dist/kestra-index.es.js.map +1 -1
- package/dist/ui-libs.css +1 -1
- package/dist/utils/state.d.ts +1 -0
- package/dist/utils/state.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/index.ts +1 -1
- package/src/components/misc/Status.vue +121 -0
- package/src/index.ts +1 -1
- package/src/scss/_variables.scss +1 -1
- package/src/utils/state.ts +2 -0
- package/dist/components/misc/State.vue.d.ts.map +0 -1
- package/src/components/misc/State.vue +0 -59
package/dist/kestra-index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import vl, { Document as El, YAMLMap as Nn } from "yaml";
|
|
2
|
-
import { S as
|
|
3
|
-
import { N as
|
|
2
|
+
import { S as ct, 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
|
+
import { N as U_, V as F_, e as H_, i as B_, b as z_, j as G_, s as W_, f as j_ } 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
|
|
5
|
+
import { createElementBlock as d, openBlock as u, mergeProps as K, createElementVNode as v, createCommentVNode as S, toDisplayString as M, defineComponent as de, createBlock as Y, getCurrentInstance as cn, inject as Rn, ref as te, shallowRef as qt, computed as B, watch as Ue, onMounted as Mt, onUnmounted as ki, h as bt, createVNode as V, Text as Ot, Fragment as Ee, nextTick as dn, onBeforeUnmount as Li, renderSlot as ae, createTextVNode as Ze, normalizeClass as oe, withCtx as G, normalizeStyle as dt, unref as $, toRef as Ll, renderList as Xe, resolveDynamicComponent as nt, 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
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";
|
|
@@ -14,7 +14,7 @@ const xr = { lineWidth: 0 }, Tl = [
|
|
|
14
14
|
"finally",
|
|
15
15
|
"afterExecution",
|
|
16
16
|
"pluginDefaults"
|
|
17
|
-
],
|
|
17
|
+
], T_ = {
|
|
18
18
|
stringify: yr,
|
|
19
19
|
parse: _r,
|
|
20
20
|
pairsToMap: hr,
|
|
@@ -93,7 +93,7 @@ const xr = { lineWidth: 0 }, Tl = [
|
|
|
93
93
|
return bl({ source: e, section: t, key: n });
|
|
94
94
|
},
|
|
95
95
|
deleteTask(e, t, n) {
|
|
96
|
-
return (n ===
|
|
96
|
+
return (n === ct.TASKS ? ["tasks", "errors"] : ["triggers"]).reduce((o, i) => bl({ source: o, section: i, key: t }), e);
|
|
97
97
|
},
|
|
98
98
|
getLastTask(e, t) {
|
|
99
99
|
return Er({ source: e, section: "tasks", parentKey: t });
|
|
@@ -131,7 +131,7 @@ const xr = { lineWidth: 0 }, Tl = [
|
|
|
131
131
|
return (t ? getComputedStyle(t) : null)?.getPropertyValue(e);
|
|
132
132
|
};
|
|
133
133
|
var Ur = jo();
|
|
134
|
-
const Bt = /* @__PURE__ */ bi(Ur),
|
|
134
|
+
const Bt = /* @__PURE__ */ bi(Ur), F = (e, t) => {
|
|
135
135
|
const n = e.__vccOpts || e;
|
|
136
136
|
for (const [l, o] of t)
|
|
137
137
|
n[l] = o;
|
|
@@ -169,12 +169,12 @@ function Wr(e, t, n, l, o, i) {
|
|
|
169
169
|
viewBox: "0 0 24 24"
|
|
170
170
|
}, [
|
|
171
171
|
v("path", zr, [
|
|
172
|
-
n.title ? (u(), d("title", Gr,
|
|
172
|
+
n.title ? (u(), d("title", Gr, M(n.title), 1)) : S("", !0)
|
|
173
173
|
])
|
|
174
174
|
], 8, Br))
|
|
175
175
|
], 16, Hr);
|
|
176
176
|
}
|
|
177
|
-
const Al = /* @__PURE__ */
|
|
177
|
+
const Al = /* @__PURE__ */ F(Fr, [["render", Wr]]), jr = {
|
|
178
178
|
name: "CheckCircleIcon",
|
|
179
179
|
emits: ["click"],
|
|
180
180
|
props: {
|
|
@@ -207,12 +207,12 @@ function Zr(e, t, n, l, o, i) {
|
|
|
207
207
|
viewBox: "0 0 24 24"
|
|
208
208
|
}, [
|
|
209
209
|
v("path", qr, [
|
|
210
|
-
n.title ? (u(), d("title", Xr,
|
|
210
|
+
n.title ? (u(), d("title", Xr, M(n.title), 1)) : S("", !0)
|
|
211
211
|
])
|
|
212
212
|
], 8, Yr))
|
|
213
213
|
], 16, Kr);
|
|
214
214
|
}
|
|
215
|
-
const Jr = /* @__PURE__ */
|
|
215
|
+
const Jr = /* @__PURE__ */ F(jr, [["render", Zr]]), Qr = {
|
|
216
216
|
name: "PlayCircleIcon",
|
|
217
217
|
emits: ["click"],
|
|
218
218
|
props: {
|
|
@@ -245,12 +245,12 @@ function ia(e, t, n, l, o, i) {
|
|
|
245
245
|
viewBox: "0 0 24 24"
|
|
246
246
|
}, [
|
|
247
247
|
v("path", na, [
|
|
248
|
-
n.title ? (u(), d("title", la,
|
|
248
|
+
n.title ? (u(), d("title", la, M(n.title), 1)) : S("", !0)
|
|
249
249
|
])
|
|
250
250
|
], 8, ta))
|
|
251
251
|
], 16, ea);
|
|
252
252
|
}
|
|
253
|
-
const oa = /* @__PURE__ */
|
|
253
|
+
const oa = /* @__PURE__ */ F(Qr, [["render", ia]]), ra = {
|
|
254
254
|
name: "CloseCircleIcon",
|
|
255
255
|
emits: ["click"],
|
|
256
256
|
props: {
|
|
@@ -283,12 +283,12 @@ function da(e, t, n, l, o, i) {
|
|
|
283
283
|
viewBox: "0 0 24 24"
|
|
284
284
|
}, [
|
|
285
285
|
v("path", ua, [
|
|
286
|
-
n.title ? (u(), d("title", ca,
|
|
286
|
+
n.title ? (u(), d("title", ca, M(n.title), 1)) : S("", !0)
|
|
287
287
|
])
|
|
288
288
|
], 8, sa))
|
|
289
289
|
], 16, aa);
|
|
290
290
|
}
|
|
291
|
-
const Pn = /* @__PURE__ */
|
|
291
|
+
const Pn = /* @__PURE__ */ F(ra, [["render", da]]), fa = {
|
|
292
292
|
name: "StopCircleIcon",
|
|
293
293
|
emits: ["click"],
|
|
294
294
|
props: {
|
|
@@ -321,12 +321,12 @@ function _a(e, t, n, l, o, i) {
|
|
|
321
321
|
viewBox: "0 0 24 24"
|
|
322
322
|
}, [
|
|
323
323
|
v("path", ga, [
|
|
324
|
-
n.title ? (u(), d("title", ha,
|
|
324
|
+
n.title ? (u(), d("title", ha, M(n.title), 1)) : S("", !0)
|
|
325
325
|
])
|
|
326
326
|
], 8, pa))
|
|
327
327
|
], 16, ma);
|
|
328
328
|
}
|
|
329
|
-
const ya = /* @__PURE__ */
|
|
329
|
+
const ya = /* @__PURE__ */ F(fa, [["render", _a]]), va = {
|
|
330
330
|
name: "SkipPreviousCircleIcon",
|
|
331
331
|
emits: ["click"],
|
|
332
332
|
props: {
|
|
@@ -359,12 +359,12 @@ function La(e, t, n, l, o, i) {
|
|
|
359
359
|
viewBox: "0 0 24 24"
|
|
360
360
|
}, [
|
|
361
361
|
v("path", ba, [
|
|
362
|
-
n.title ? (u(), d("title", ka,
|
|
362
|
+
n.title ? (u(), d("title", ka, M(n.title), 1)) : S("", !0)
|
|
363
363
|
])
|
|
364
364
|
], 8, Ca))
|
|
365
365
|
], 16, Ea);
|
|
366
366
|
}
|
|
367
|
-
const Sa = /* @__PURE__ */
|
|
367
|
+
const Sa = /* @__PURE__ */ F(va, [["render", La]]), wa = {
|
|
368
368
|
name: "AlertCircleIcon",
|
|
369
369
|
emits: ["click"],
|
|
370
370
|
props: {
|
|
@@ -397,12 +397,12 @@ function Oa(e, t, n, l, o, i) {
|
|
|
397
397
|
viewBox: "0 0 24 24"
|
|
398
398
|
}, [
|
|
399
399
|
v("path", Aa, [
|
|
400
|
-
n.title ? (u(), d("title", Ia,
|
|
400
|
+
n.title ? (u(), d("title", Ia, M(n.title), 1)) : S("", !0)
|
|
401
401
|
])
|
|
402
402
|
], 8, Ta))
|
|
403
403
|
], 16, Na);
|
|
404
404
|
}
|
|
405
|
-
const Qt = /* @__PURE__ */
|
|
405
|
+
const Qt = /* @__PURE__ */ F(wa, [["render", Oa]]), $a = {
|
|
406
406
|
name: "DotsVerticalCircleIcon",
|
|
407
407
|
emits: ["click"],
|
|
408
408
|
props: {
|
|
@@ -435,12 +435,12 @@ function Va(e, t, n, l, o, i) {
|
|
|
435
435
|
viewBox: "0 0 24 24"
|
|
436
436
|
}, [
|
|
437
437
|
v("path", Pa, [
|
|
438
|
-
n.title ? (u(), d("title", Ma,
|
|
438
|
+
n.title ? (u(), d("title", Ma, M(n.title), 1)) : S("", !0)
|
|
439
439
|
])
|
|
440
440
|
], 8, Ra))
|
|
441
441
|
], 16, Da);
|
|
442
442
|
}
|
|
443
|
-
const xa = /* @__PURE__ */
|
|
443
|
+
const xa = /* @__PURE__ */ F($a, [["render", Va]]), Ua = {
|
|
444
444
|
name: "MotionPauseOutlineIcon",
|
|
445
445
|
emits: ["click"],
|
|
446
446
|
props: {
|
|
@@ -473,12 +473,12 @@ function Ga(e, t, n, l, o, i) {
|
|
|
473
473
|
viewBox: "0 0 24 24"
|
|
474
474
|
}, [
|
|
475
475
|
v("path", Ba, [
|
|
476
|
-
n.title ? (u(), d("title", za,
|
|
476
|
+
n.title ? (u(), d("title", za, M(n.title), 1)) : S("", !0)
|
|
477
477
|
])
|
|
478
478
|
], 8, Ha))
|
|
479
479
|
], 16, Fa);
|
|
480
480
|
}
|
|
481
|
-
const Wa = /* @__PURE__ */
|
|
481
|
+
const Wa = /* @__PURE__ */ F(Ua, [["render", Ga]]), ja = {
|
|
482
482
|
name: "RefreshIcon",
|
|
483
483
|
emits: ["click"],
|
|
484
484
|
props: {
|
|
@@ -511,12 +511,12 @@ function Za(e, t, n, l, o, i) {
|
|
|
511
511
|
viewBox: "0 0 24 24"
|
|
512
512
|
}, [
|
|
513
513
|
v("path", qa, [
|
|
514
|
-
n.title ? (u(), d("title", Xa,
|
|
514
|
+
n.title ? (u(), d("title", Xa, M(n.title), 1)) : S("", !0)
|
|
515
515
|
])
|
|
516
516
|
], 8, Ya))
|
|
517
517
|
], 16, Ka);
|
|
518
518
|
}
|
|
519
|
-
const Il = /* @__PURE__ */
|
|
519
|
+
const Il = /* @__PURE__ */ F(ja, [["render", Za]]), Ja = {
|
|
520
520
|
name: "CancelIcon",
|
|
521
521
|
emits: ["click"],
|
|
522
522
|
props: {
|
|
@@ -549,12 +549,12 @@ function ls(e, t, n, l, o, i) {
|
|
|
549
549
|
viewBox: "0 0 24 24"
|
|
550
550
|
}, [
|
|
551
551
|
v("path", ts, [
|
|
552
|
-
n.title ? (u(), d("title", ns,
|
|
552
|
+
n.title ? (u(), d("title", ns, M(n.title), 1)) : S("", !0)
|
|
553
553
|
])
|
|
554
554
|
], 8, es))
|
|
555
555
|
], 16, Qa);
|
|
556
556
|
}
|
|
557
|
-
const Ol = /* @__PURE__ */
|
|
557
|
+
const Ol = /* @__PURE__ */ F(Ja, [["render", ls]]), A_ = ["ERROR", "WARN", "INFO", "DEBUG", "TRACE"], J = Object.freeze({
|
|
558
558
|
CREATED: {
|
|
559
559
|
name: "CREATED",
|
|
560
560
|
color: "#1761FD",
|
|
@@ -691,7 +691,7 @@ const Ol = /* @__PURE__ */ H(Ja, [["render", ls]]), J = Object.freeze({
|
|
|
691
691
|
isFailed: !1
|
|
692
692
|
}
|
|
693
693
|
});
|
|
694
|
-
class
|
|
694
|
+
class pe {
|
|
695
695
|
static get CREATED() {
|
|
696
696
|
return J.CREATED.name;
|
|
697
697
|
}
|
|
@@ -782,7 +782,7 @@ class _e {
|
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
784
|
let zt;
|
|
785
|
-
async function
|
|
785
|
+
async function I_() {
|
|
786
786
|
if (zt)
|
|
787
787
|
return zt;
|
|
788
788
|
const e = await import("./useMarkdownParser-Dm9LTWWl.js");
|
|
@@ -860,23 +860,23 @@ function ms(e, t, n, l, o, i) {
|
|
|
860
860
|
viewBox: "0 0 24 24"
|
|
861
861
|
}, [
|
|
862
862
|
v("path", ds, [
|
|
863
|
-
n.title ? (u(), d("title", fs,
|
|
863
|
+
n.title ? (u(), d("title", fs, M(n.title), 1)) : S("", !0)
|
|
864
864
|
])
|
|
865
865
|
], 8, cs))
|
|
866
866
|
], 16, us);
|
|
867
867
|
}
|
|
868
|
-
const ps = /* @__PURE__ */
|
|
868
|
+
const ps = /* @__PURE__ */ F(ss, [["render", ms]]), gs = /* @__PURE__ */ de({
|
|
869
869
|
__name: "RotatingDots",
|
|
870
870
|
props: {
|
|
871
871
|
alt: {}
|
|
872
872
|
},
|
|
873
873
|
setup(e) {
|
|
874
|
-
return (t, n) => (u(),
|
|
874
|
+
return (t, n) => (u(), Y(ps, {
|
|
875
875
|
class: "loading-dots-circle",
|
|
876
876
|
alt: t.alt
|
|
877
877
|
}, null, 8, ["alt"]));
|
|
878
878
|
}
|
|
879
|
-
}), hs = /* @__PURE__ */
|
|
879
|
+
}), hs = /* @__PURE__ */ F(gs, [["__scopeId", "data-v-a7ad4137"]]);
|
|
880
880
|
/*!
|
|
881
881
|
* shared v11.1.12
|
|
882
882
|
* (c) 2025 kazuya kawaguchi
|
|
@@ -890,13 +890,13 @@ function _s(e) {
|
|
|
890
890
|
Dl[e] || (Dl[e] = !0, We(e));
|
|
891
891
|
}
|
|
892
892
|
const Je = typeof window < "u";
|
|
893
|
-
let Pe,
|
|
893
|
+
let Pe, ft;
|
|
894
894
|
if (process.env.NODE_ENV !== "production") {
|
|
895
895
|
const e = Je && window.performance;
|
|
896
896
|
e && e.mark && e.measure && e.clearMarks && // @ts-ignore browser compat
|
|
897
897
|
e.clearMeasures && (Pe = (t) => {
|
|
898
898
|
e.mark(t);
|
|
899
|
-
},
|
|
899
|
+
}, ft = (t, n, l) => {
|
|
900
900
|
e.measure(t, n, l), e.clearMarks(n), e.clearMarks(l);
|
|
901
901
|
});
|
|
902
902
|
}
|
|
@@ -906,7 +906,7 @@ function fn(e, ...t) {
|
|
|
906
906
|
}
|
|
907
907
|
const Qe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), vs = (e, t, n) => Es({ l: e, k: t, s: n }), Es = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), be = (e) => typeof e == "number" && isFinite(e), Cs = (e) => Qn(e) === "[object Date]", en = (e) => Qn(e) === "[object RegExp]", mn = (e) => ne(e) && Object.keys(e).length === 0, ke = Object.assign, bs = Object.create, se = (e = null) => bs(e);
|
|
908
908
|
let Rl;
|
|
909
|
-
const
|
|
909
|
+
const ut = () => Rl || (Rl = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : se());
|
|
910
910
|
function Pl(e) {
|
|
911
911
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/\//g, "/").replace(/=/g, "=");
|
|
912
912
|
}
|
|
@@ -1062,7 +1062,7 @@ function xs(e) {
|
|
|
1062
1062
|
function A() {
|
|
1063
1063
|
return r(n + i) && i++, i++, t[n + i];
|
|
1064
1064
|
}
|
|
1065
|
-
function
|
|
1065
|
+
function w() {
|
|
1066
1066
|
n = 0, l = 1, o = 1, i = 0;
|
|
1067
1067
|
}
|
|
1068
1068
|
function R(T = 0) {
|
|
@@ -1084,7 +1084,7 @@ function xs(e) {
|
|
|
1084
1084
|
currentPeek: p,
|
|
1085
1085
|
next: E,
|
|
1086
1086
|
peek: A,
|
|
1087
|
-
reset:
|
|
1087
|
+
reset: w,
|
|
1088
1088
|
resetPeek: R,
|
|
1089
1089
|
skipToPeek: P
|
|
1090
1090
|
};
|
|
@@ -1104,20 +1104,20 @@ function Hs(e, t = {}) {
|
|
|
1104
1104
|
inLinked: !1,
|
|
1105
1105
|
text: ""
|
|
1106
1106
|
}, c = () => s, { onError: m } = t;
|
|
1107
|
-
function _(f, g, N, ...
|
|
1107
|
+
function _(f, g, N, ...H) {
|
|
1108
1108
|
const fe = c();
|
|
1109
1109
|
if (g.column += N, g.offset += N, m) {
|
|
1110
|
-
const
|
|
1110
|
+
const he = n ? Mn(fe.startLoc, g) : null, ee = Lt(f, he, {
|
|
1111
1111
|
domain: Fs,
|
|
1112
|
-
args:
|
|
1112
|
+
args: H
|
|
1113
1113
|
});
|
|
1114
1114
|
m(ee);
|
|
1115
1115
|
}
|
|
1116
1116
|
}
|
|
1117
1117
|
function h(f, g, N) {
|
|
1118
1118
|
f.endLoc = i(), f.currentType = g;
|
|
1119
|
-
const
|
|
1120
|
-
return n && (
|
|
1119
|
+
const H = { type: g };
|
|
1120
|
+
return n && (H.loc = Mn(f.startLoc, f.endLoc)), N != null && (H.value = N), H;
|
|
1121
1121
|
}
|
|
1122
1122
|
const C = (f) => h(
|
|
1123
1123
|
f,
|
|
@@ -1156,15 +1156,15 @@ function Hs(e, t = {}) {
|
|
|
1156
1156
|
if (N !== 2)
|
|
1157
1157
|
return !1;
|
|
1158
1158
|
L(f);
|
|
1159
|
-
const
|
|
1160
|
-
return f.resetPeek(),
|
|
1159
|
+
const H = p(f.currentPeek());
|
|
1160
|
+
return f.resetPeek(), H;
|
|
1161
1161
|
}
|
|
1162
|
-
function
|
|
1162
|
+
function w(f, g) {
|
|
1163
1163
|
const { currentType: N } = g;
|
|
1164
1164
|
if (N !== 2)
|
|
1165
1165
|
return !1;
|
|
1166
1166
|
L(f);
|
|
1167
|
-
const
|
|
1167
|
+
const H = f.currentPeek() === "-" ? f.peek() : f.currentPeek(), fe = E(H);
|
|
1168
1168
|
return f.resetPeek(), fe;
|
|
1169
1169
|
}
|
|
1170
1170
|
function R(f, g) {
|
|
@@ -1172,54 +1172,54 @@ function Hs(e, t = {}) {
|
|
|
1172
1172
|
if (N !== 2)
|
|
1173
1173
|
return !1;
|
|
1174
1174
|
L(f);
|
|
1175
|
-
const
|
|
1176
|
-
return f.resetPeek(),
|
|
1175
|
+
const H = f.currentPeek() === xl;
|
|
1176
|
+
return f.resetPeek(), H;
|
|
1177
1177
|
}
|
|
1178
1178
|
function P(f, g) {
|
|
1179
1179
|
const { currentType: N } = g;
|
|
1180
1180
|
if (N !== 7)
|
|
1181
1181
|
return !1;
|
|
1182
1182
|
L(f);
|
|
1183
|
-
const
|
|
1184
|
-
return f.resetPeek(),
|
|
1183
|
+
const H = f.currentPeek() === ".";
|
|
1184
|
+
return f.resetPeek(), H;
|
|
1185
1185
|
}
|
|
1186
1186
|
function T(f, g) {
|
|
1187
1187
|
const { currentType: N } = g;
|
|
1188
1188
|
if (N !== 8)
|
|
1189
1189
|
return !1;
|
|
1190
1190
|
L(f);
|
|
1191
|
-
const
|
|
1192
|
-
return f.resetPeek(),
|
|
1191
|
+
const H = p(f.currentPeek());
|
|
1192
|
+
return f.resetPeek(), H;
|
|
1193
1193
|
}
|
|
1194
1194
|
function X(f, g) {
|
|
1195
1195
|
const { currentType: N } = g;
|
|
1196
1196
|
if (!(N === 7 || N === 11))
|
|
1197
1197
|
return !1;
|
|
1198
1198
|
L(f);
|
|
1199
|
-
const
|
|
1200
|
-
return f.resetPeek(),
|
|
1199
|
+
const H = f.currentPeek() === ":";
|
|
1200
|
+
return f.resetPeek(), H;
|
|
1201
1201
|
}
|
|
1202
1202
|
function Q(f, g) {
|
|
1203
1203
|
const { currentType: N } = g;
|
|
1204
1204
|
if (N !== 9)
|
|
1205
1205
|
return !1;
|
|
1206
|
-
const
|
|
1207
|
-
const
|
|
1208
|
-
return
|
|
1209
|
-
}, fe =
|
|
1206
|
+
const H = () => {
|
|
1207
|
+
const he = f.currentPeek();
|
|
1208
|
+
return he === "{" ? p(f.peek()) : he === "@" || he === "|" || he === ":" || he === "." || he === Be || !he ? !1 : he === we ? (f.peek(), H()) : Te(f, !1);
|
|
1209
|
+
}, fe = H();
|
|
1210
1210
|
return f.resetPeek(), fe;
|
|
1211
1211
|
}
|
|
1212
|
-
function
|
|
1212
|
+
function ge(f) {
|
|
1213
1213
|
L(f);
|
|
1214
1214
|
const g = f.currentPeek() === "|";
|
|
1215
1215
|
return f.resetPeek(), g;
|
|
1216
1216
|
}
|
|
1217
1217
|
function Te(f, g = !0) {
|
|
1218
|
-
const N = (fe = !1,
|
|
1218
|
+
const N = (fe = !1, he = "") => {
|
|
1219
1219
|
const ee = f.currentPeek();
|
|
1220
|
-
return ee === "{" || ee === "@" || !ee ? fe : ee === "|" ? !(
|
|
1221
|
-
},
|
|
1222
|
-
return g && f.resetPeek(),
|
|
1220
|
+
return ee === "{" || ee === "@" || !ee ? fe : ee === "|" ? !(he === Be || he === we) : ee === Be ? (f.peek(), N(!0, Be)) : ee === we ? (f.peek(), N(!0, we)) : !0;
|
|
1221
|
+
}, H = N();
|
|
1222
|
+
return g && f.resetPeek(), H;
|
|
1223
1223
|
}
|
|
1224
1224
|
function ue(f, g) {
|
|
1225
1225
|
const N = f.currentChar();
|
|
@@ -1236,7 +1236,7 @@ function Hs(e, t = {}) {
|
|
|
1236
1236
|
function gt(f) {
|
|
1237
1237
|
return ue(f, et);
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function z(f) {
|
|
1240
1240
|
const g = f.charCodeAt(0);
|
|
1241
1241
|
return g >= 97 && g <= 122 || // a-z
|
|
1242
1242
|
g >= 65 && g <= 90 || // A-Z
|
|
@@ -1246,7 +1246,7 @@ function Hs(e, t = {}) {
|
|
|
1246
1246
|
g === 45;
|
|
1247
1247
|
}
|
|
1248
1248
|
function D(f) {
|
|
1249
|
-
return ue(f,
|
|
1249
|
+
return ue(f, z);
|
|
1250
1250
|
}
|
|
1251
1251
|
function Z(f) {
|
|
1252
1252
|
const g = f.charCodeAt(0);
|
|
@@ -1264,7 +1264,7 @@ function Hs(e, t = {}) {
|
|
|
1264
1264
|
function Se(f) {
|
|
1265
1265
|
return ue(f, je);
|
|
1266
1266
|
}
|
|
1267
|
-
function
|
|
1267
|
+
function ot(f) {
|
|
1268
1268
|
let g = "", N = "";
|
|
1269
1269
|
for (; g = W(f); )
|
|
1270
1270
|
N += g;
|
|
@@ -1280,7 +1280,7 @@ function Hs(e, t = {}) {
|
|
|
1280
1280
|
if (Te(f))
|
|
1281
1281
|
g += N, f.next();
|
|
1282
1282
|
else {
|
|
1283
|
-
if (
|
|
1283
|
+
if (ge(f))
|
|
1284
1284
|
break;
|
|
1285
1285
|
g += N, f.next();
|
|
1286
1286
|
}
|
|
@@ -1294,8 +1294,8 @@ function Hs(e, t = {}) {
|
|
|
1294
1294
|
let g = "", N = "";
|
|
1295
1295
|
for (; g = D(f); )
|
|
1296
1296
|
N += g;
|
|
1297
|
-
const
|
|
1298
|
-
if (
|
|
1297
|
+
const H = f.currentChar();
|
|
1298
|
+
if (H && H !== "}" && H !== Ke && H !== Be && H !== we && H !== " ") {
|
|
1299
1299
|
const fe = Ft(f);
|
|
1300
1300
|
return _(j.INVALID_TOKEN_IN_PLACEHOLDER, i(), 0, N + fe), N + fe;
|
|
1301
1301
|
}
|
|
@@ -1304,7 +1304,7 @@ function Hs(e, t = {}) {
|
|
|
1304
1304
|
function En(f) {
|
|
1305
1305
|
y(f);
|
|
1306
1306
|
let g = "";
|
|
1307
|
-
return f.currentChar() === "-" ? (f.next(), g += `-${
|
|
1307
|
+
return f.currentChar() === "-" ? (f.next(), g += `-${ot(f)}`) : g += ot(f), f.currentChar() === Ke && _(j.UNTERMINATED_CLOSING_BRACE, i(), 0), g;
|
|
1308
1308
|
}
|
|
1309
1309
|
function Cn(f) {
|
|
1310
1310
|
return f !== xl && f !== we;
|
|
@@ -1314,8 +1314,8 @@ function Hs(e, t = {}) {
|
|
|
1314
1314
|
let g = "", N = "";
|
|
1315
1315
|
for (; g = ue(f, Cn); )
|
|
1316
1316
|
g === "\\" ? N += bn(f) : N += g;
|
|
1317
|
-
const
|
|
1318
|
-
return
|
|
1317
|
+
const H = f.currentChar();
|
|
1318
|
+
return H === we || H === Ke ? (_(j.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0), H === we && (f.next(), b(f, "'")), N) : (b(f, "'"), N);
|
|
1319
1319
|
}
|
|
1320
1320
|
function bn(f) {
|
|
1321
1321
|
const g = f.currentChar();
|
|
@@ -1333,16 +1333,16 @@ function Hs(e, t = {}) {
|
|
|
1333
1333
|
}
|
|
1334
1334
|
function Ut(f, g, N) {
|
|
1335
1335
|
b(f, g);
|
|
1336
|
-
let
|
|
1336
|
+
let H = "";
|
|
1337
1337
|
for (let fe = 0; fe < N; fe++) {
|
|
1338
|
-
const
|
|
1339
|
-
if (!
|
|
1340
|
-
_(j.INVALID_UNICODE_ESCAPE_SEQUENCE, i(), 0, `\\${g}${
|
|
1338
|
+
const he = Se(f);
|
|
1339
|
+
if (!he) {
|
|
1340
|
+
_(j.INVALID_UNICODE_ESCAPE_SEQUENCE, i(), 0, `\\${g}${H}${f.currentChar()}`);
|
|
1341
1341
|
break;
|
|
1342
1342
|
}
|
|
1343
|
-
|
|
1343
|
+
H += he;
|
|
1344
1344
|
}
|
|
1345
|
-
return `\\${g}${
|
|
1345
|
+
return `\\${g}${H}`;
|
|
1346
1346
|
}
|
|
1347
1347
|
function kn(f) {
|
|
1348
1348
|
return f !== "{" && f !== "}" && f !== Be && f !== we;
|
|
@@ -1362,8 +1362,8 @@ function Hs(e, t = {}) {
|
|
|
1362
1362
|
}
|
|
1363
1363
|
function Sn(f) {
|
|
1364
1364
|
const g = (N) => {
|
|
1365
|
-
const
|
|
1366
|
-
return
|
|
1365
|
+
const H = f.currentChar();
|
|
1366
|
+
return H === "{" || H === "@" || H === "|" || H === "(" || H === ")" || !H || H === Be ? N : (N += H, f.next(), g(N));
|
|
1367
1367
|
};
|
|
1368
1368
|
return g("");
|
|
1369
1369
|
}
|
|
@@ -1394,38 +1394,38 @@ 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 =
|
|
1397
|
+
return g.braceNest > 0 && _(j.UNTERMINATED_CLOSING_BRACE, i(), 0), N = rt(f, g) || C(g), g.braceNest = 0, N;
|
|
1398
1398
|
default: {
|
|
1399
|
-
let fe = !0,
|
|
1400
|
-
if (
|
|
1399
|
+
let fe = !0, he = !0, ee = !0;
|
|
1400
|
+
if (ge(f))
|
|
1401
1401
|
return g.braceNest > 0 && _(j.UNTERMINATED_CLOSING_BRACE, i(), 0), N = h(g, 1, wt(f)), g.braceNest = 0, g.inLinked = !1, N;
|
|
1402
1402
|
if (g.braceNest > 0 && (g.currentType === 4 || g.currentType === 5 || g.currentType === 6))
|
|
1403
1403
|
return _(j.UNTERMINATED_CLOSING_BRACE, i(), 0), g.braceNest = 0, Tt(f, g);
|
|
1404
1404
|
if (fe = A(f, g))
|
|
1405
1405
|
return N = h(g, 4, vn(f)), y(f), N;
|
|
1406
|
-
if (
|
|
1406
|
+
if (he = w(f, g))
|
|
1407
1407
|
return N = h(g, 5, En(f)), y(f), N;
|
|
1408
1408
|
if (ee = R(f, g))
|
|
1409
1409
|
return N = h(g, 6, _l(f)), y(f), N;
|
|
1410
|
-
if (!fe && !
|
|
1410
|
+
if (!fe && !he && !ee)
|
|
1411
1411
|
return N = h(g, 12, Ft(f)), _(j.INVALID_TOKEN_IN_PLACEHOLDER, i(), 0, N.value), y(f), N;
|
|
1412
1412
|
break;
|
|
1413
1413
|
}
|
|
1414
1414
|
}
|
|
1415
1415
|
return N;
|
|
1416
1416
|
}
|
|
1417
|
-
function
|
|
1417
|
+
function rt(f, g) {
|
|
1418
1418
|
const { currentType: N } = g;
|
|
1419
|
-
let
|
|
1419
|
+
let H = null;
|
|
1420
1420
|
const fe = f.currentChar();
|
|
1421
1421
|
switch ((N === 7 || N === 8 || N === 11 || N === 9) && (fe === we || fe === Be) && _(j.INVALID_LINKED_FORMAT, i(), 0), fe) {
|
|
1422
1422
|
case "@":
|
|
1423
|
-
return f.next(),
|
|
1423
|
+
return f.next(), H = h(
|
|
1424
1424
|
g,
|
|
1425
1425
|
7,
|
|
1426
1426
|
"@"
|
|
1427
1427
|
/* TokenChars.LinkedAlias */
|
|
1428
|
-
), g.inLinked = !0,
|
|
1428
|
+
), g.inLinked = !0, H;
|
|
1429
1429
|
case ".":
|
|
1430
1430
|
return y(f), f.next(), h(
|
|
1431
1431
|
g,
|
|
@@ -1441,7 +1441,7 @@ function Hs(e, t = {}) {
|
|
|
1441
1441
|
/* TokenChars.LinkedDelimiter */
|
|
1442
1442
|
);
|
|
1443
1443
|
default:
|
|
1444
|
-
return
|
|
1444
|
+
return ge(f) ? (H = h(g, 1, wt(f)), g.braceNest = 0, g.inLinked = !1, H) : P(f, g) || X(f, g) ? (y(f), rt(f, g)) : T(f, g) ? (y(f), h(g, 11, Ln(f))) : Q(f, g) ? (y(f), fe === "{" ? Nt(f, g) || H : h(g, 10, Sn(f))) : (N === 7 && _(j.INVALID_LINKED_FORMAT, i(), 0), g.braceNest = 0, g.inLinked = !1, Tt(f, g));
|
|
1445
1445
|
}
|
|
1446
1446
|
}
|
|
1447
1447
|
function Tt(f, g) {
|
|
@@ -1452,7 +1452,7 @@ function Hs(e, t = {}) {
|
|
|
1452
1452
|
if (g.braceNest > 0)
|
|
1453
1453
|
return Nt(f, g) || C(g);
|
|
1454
1454
|
if (g.inLinked)
|
|
1455
|
-
return
|
|
1455
|
+
return rt(f, g) || C(g);
|
|
1456
1456
|
switch (f.currentChar()) {
|
|
1457
1457
|
case "{":
|
|
1458
1458
|
return Nt(f, g) || C(g);
|
|
@@ -1464,9 +1464,9 @@ function Hs(e, t = {}) {
|
|
|
1464
1464
|
/* TokenChars.BraceRight */
|
|
1465
1465
|
);
|
|
1466
1466
|
case "@":
|
|
1467
|
-
return
|
|
1467
|
+
return rt(f, g) || C(g);
|
|
1468
1468
|
default: {
|
|
1469
|
-
if (
|
|
1469
|
+
if (ge(f))
|
|
1470
1470
|
return N = h(g, 1, wt(f)), g.braceNest = 0, g.inLinked = !1, N;
|
|
1471
1471
|
if (Te(f))
|
|
1472
1472
|
return h(g, 0, yn(f));
|
|
@@ -1476,8 +1476,8 @@ function Hs(e, t = {}) {
|
|
|
1476
1476
|
return N;
|
|
1477
1477
|
}
|
|
1478
1478
|
function wn() {
|
|
1479
|
-
const { currentType: f, offset: g, startLoc: N, endLoc:
|
|
1480
|
-
return s.lastType = f, s.lastOffset = g, s.lastStartLoc = N, s.lastEndLoc =
|
|
1479
|
+
const { currentType: f, offset: g, startLoc: N, endLoc: H } = s;
|
|
1480
|
+
return s.lastType = f, s.lastOffset = g, s.lastStartLoc = N, s.lastEndLoc = H, s.offset = o(), s.startLoc = i(), l.currentChar() === Ke ? h(
|
|
1481
1481
|
s,
|
|
1482
1482
|
13
|
|
1483
1483
|
/* TokenTypes.EOF */
|
|
@@ -1506,9 +1506,9 @@ function Gs(e, t, n) {
|
|
|
1506
1506
|
}
|
|
1507
1507
|
function Ws(e = {}) {
|
|
1508
1508
|
const t = e.location !== !1, { onError: n } = e;
|
|
1509
|
-
function l(p, E, A,
|
|
1509
|
+
function l(p, E, A, w, ...R) {
|
|
1510
1510
|
const P = p.currentPosition();
|
|
1511
|
-
if (P.offset +=
|
|
1511
|
+
if (P.offset += w, P.column += w, n) {
|
|
1512
1512
|
const T = t ? Mn(A, P) : null, X = Lt(E, T, {
|
|
1513
1513
|
domain: Bs,
|
|
1514
1514
|
args: R
|
|
@@ -1517,31 +1517,31 @@ function Ws(e = {}) {
|
|
|
1517
1517
|
}
|
|
1518
1518
|
}
|
|
1519
1519
|
function o(p, E, A) {
|
|
1520
|
-
const
|
|
1521
|
-
return t && (
|
|
1520
|
+
const w = { type: p };
|
|
1521
|
+
return t && (w.start = E, w.end = E, w.loc = { start: A, end: A }), w;
|
|
1522
1522
|
}
|
|
1523
|
-
function i(p, E, A,
|
|
1523
|
+
function i(p, E, A, w) {
|
|
1524
1524
|
t && (p.end = E, p.loc && (p.loc.end = A));
|
|
1525
1525
|
}
|
|
1526
1526
|
function r(p, E) {
|
|
1527
|
-
const A = p.context(),
|
|
1528
|
-
return
|
|
1527
|
+
const A = p.context(), w = o(3, A.offset, A.startLoc);
|
|
1528
|
+
return w.value = E, i(w, p.currentOffset(), p.currentPosition()), w;
|
|
1529
1529
|
}
|
|
1530
1530
|
function a(p, E) {
|
|
1531
|
-
const A = p.context(), { lastOffset:
|
|
1531
|
+
const A = p.context(), { lastOffset: w, lastStartLoc: R } = A, P = o(5, w, R);
|
|
1532
1532
|
return P.index = parseInt(E, 10), p.nextToken(), i(P, p.currentOffset(), p.currentPosition()), P;
|
|
1533
1533
|
}
|
|
1534
1534
|
function s(p, E) {
|
|
1535
|
-
const A = p.context(), { lastOffset:
|
|
1535
|
+
const A = p.context(), { lastOffset: w, lastStartLoc: R } = A, P = o(4, w, R);
|
|
1536
1536
|
return P.key = E, p.nextToken(), i(P, p.currentOffset(), p.currentPosition()), P;
|
|
1537
1537
|
}
|
|
1538
1538
|
function c(p, E) {
|
|
1539
|
-
const A = p.context(), { lastOffset:
|
|
1539
|
+
const A = p.context(), { lastOffset: w, lastStartLoc: R } = A, P = o(9, w, R);
|
|
1540
1540
|
return P.value = E.replace(zs, Gs), p.nextToken(), i(P, p.currentOffset(), p.currentPosition()), P;
|
|
1541
1541
|
}
|
|
1542
1542
|
function m(p) {
|
|
1543
|
-
const E = p.nextToken(), A = p.context(), { lastOffset:
|
|
1544
|
-
return E.type !== 11 ? (l(p, j.UNEXPECTED_EMPTY_LINKED_MODIFIER, A.lastStartLoc, 0), P.value = "", i(P,
|
|
1543
|
+
const E = p.nextToken(), A = p.context(), { lastOffset: w, lastStartLoc: R } = A, P = o(8, w, R);
|
|
1544
|
+
return E.type !== 11 ? (l(p, j.UNEXPECTED_EMPTY_LINKED_MODIFIER, A.lastStartLoc, 0), P.value = "", i(P, w, R), {
|
|
1545
1545
|
nextConsumeToken: E,
|
|
1546
1546
|
node: P
|
|
1547
1547
|
}) : (E.value == null && l(p, j.UNEXPECTED_LEXICAL_ANALYSIS, A.lastStartLoc, 0, ze(E)), P.value = E.value || "", i(P, p.currentOffset(), p.currentPosition()), {
|
|
@@ -1549,34 +1549,34 @@ function Ws(e = {}) {
|
|
|
1549
1549
|
});
|
|
1550
1550
|
}
|
|
1551
1551
|
function _(p, E) {
|
|
1552
|
-
const A = p.context(),
|
|
1553
|
-
return
|
|
1552
|
+
const A = p.context(), w = o(7, A.offset, A.startLoc);
|
|
1553
|
+
return w.value = E, i(w, p.currentOffset(), p.currentPosition()), w;
|
|
1554
1554
|
}
|
|
1555
1555
|
function h(p) {
|
|
1556
1556
|
const E = p.context(), A = o(6, E.offset, E.startLoc);
|
|
1557
|
-
let
|
|
1558
|
-
if (
|
|
1557
|
+
let w = p.nextToken();
|
|
1558
|
+
if (w.type === 8) {
|
|
1559
1559
|
const R = m(p);
|
|
1560
|
-
A.modifier = R.node,
|
|
1560
|
+
A.modifier = R.node, w = R.nextConsumeToken || p.nextToken();
|
|
1561
1561
|
}
|
|
1562
|
-
switch (
|
|
1562
|
+
switch (w.type !== 9 && l(p, j.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, ze(w)), w = p.nextToken(), w.type === 2 && (w = p.nextToken()), w.type) {
|
|
1563
1563
|
case 10:
|
|
1564
|
-
|
|
1564
|
+
w.value == null && l(p, j.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, ze(w)), A.key = _(p, w.value || "");
|
|
1565
1565
|
break;
|
|
1566
1566
|
case 4:
|
|
1567
|
-
|
|
1567
|
+
w.value == null && l(p, j.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, ze(w)), A.key = s(p, w.value || "");
|
|
1568
1568
|
break;
|
|
1569
1569
|
case 5:
|
|
1570
|
-
|
|
1570
|
+
w.value == null && l(p, j.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, ze(w)), A.key = a(p, w.value || "");
|
|
1571
1571
|
break;
|
|
1572
1572
|
case 6:
|
|
1573
|
-
|
|
1573
|
+
w.value == null && l(p, j.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, ze(w)), A.key = c(p, w.value || "");
|
|
1574
1574
|
break;
|
|
1575
1575
|
default: {
|
|
1576
1576
|
l(p, j.UNEXPECTED_EMPTY_LINKED_KEY, E.lastStartLoc, 0);
|
|
1577
1577
|
const R = p.context(), P = o(7, R.offset, R.startLoc);
|
|
1578
1578
|
return P.value = "", i(P, R.offset, R.startLoc), A.key = P, i(A, R.offset, R.startLoc), {
|
|
1579
|
-
nextConsumeToken:
|
|
1579
|
+
nextConsumeToken: w,
|
|
1580
1580
|
node: A
|
|
1581
1581
|
};
|
|
1582
1582
|
}
|
|
@@ -1586,7 +1586,7 @@ function Ws(e = {}) {
|
|
|
1586
1586
|
};
|
|
1587
1587
|
}
|
|
1588
1588
|
function C(p) {
|
|
1589
|
-
const E = p.context(), A = E.currentType === 1 ? p.currentOffset() : E.offset,
|
|
1589
|
+
const E = p.context(), A = E.currentType === 1 ? p.currentOffset() : E.offset, w = E.currentType === 1 ? E.endLoc : E.startLoc, R = o(2, A, w);
|
|
1590
1590
|
R.items = [];
|
|
1591
1591
|
let P = null;
|
|
1592
1592
|
do {
|
|
@@ -1605,8 +1605,8 @@ function Ws(e = {}) {
|
|
|
1605
1605
|
Q.value == null && l(p, j.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, ze(Q)), R.items.push(c(p, Q.value || ""));
|
|
1606
1606
|
break;
|
|
1607
1607
|
case 7: {
|
|
1608
|
-
const
|
|
1609
|
-
R.items.push(
|
|
1608
|
+
const ge = h(p);
|
|
1609
|
+
R.items.push(ge.node), P = ge.nextConsumeToken || null;
|
|
1610
1610
|
break;
|
|
1611
1611
|
}
|
|
1612
1612
|
}
|
|
@@ -1614,11 +1614,11 @@ 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 b(p, E, A,
|
|
1617
|
+
function b(p, E, A, w) {
|
|
1618
1618
|
const R = p.context();
|
|
1619
|
-
let P =
|
|
1619
|
+
let P = w.items.length === 0;
|
|
1620
1620
|
const T = o(1, E, A);
|
|
1621
|
-
T.cases = [], T.cases.push(
|
|
1621
|
+
T.cases = [], T.cases.push(w);
|
|
1622
1622
|
do {
|
|
1623
1623
|
const X = C(p);
|
|
1624
1624
|
P || (P = X.items.length === 0), T.cases.push(X);
|
|
@@ -1626,12 +1626,12 @@ function Ws(e = {}) {
|
|
|
1626
1626
|
return P && l(p, j.MUST_HAVE_MESSAGES_IN_PLURAL, A, 0), i(T, p.currentOffset(), p.currentPosition()), T;
|
|
1627
1627
|
}
|
|
1628
1628
|
function L(p) {
|
|
1629
|
-
const E = p.context(), { offset: A, startLoc:
|
|
1630
|
-
return E.currentType === 13 ? R : b(p, A,
|
|
1629
|
+
const E = p.context(), { offset: A, startLoc: w } = E, R = C(p);
|
|
1630
|
+
return E.currentType === 13 ? R : b(p, A, w, R);
|
|
1631
1631
|
}
|
|
1632
1632
|
function y(p) {
|
|
1633
|
-
const E = Hs(p, ke({}, e)), A = E.context(),
|
|
1634
|
-
return t &&
|
|
1633
|
+
const E = Hs(p, ke({}, e)), A = E.context(), w = o(0, A.offset, A.startLoc);
|
|
1634
|
+
return t && w.loc && (w.loc.source = p), w.body = L(E), e.onCacheKey && (w.cacheKey = e.onCacheKey(p)), A.currentType !== 13 && l(E, j.UNEXPECTED_LEXICAL_ANALYSIS, A.lastStartLoc, 0, p[A.offset] || ""), i(w, E.currentOffset(), E.currentPosition()), w;
|
|
1635
1635
|
}
|
|
1636
1636
|
return { parse: y };
|
|
1637
1637
|
}
|
|
@@ -1939,45 +1939,45 @@ function lu(e, t = {}) {
|
|
|
1939
1939
|
* Released under the MIT License.
|
|
1940
1940
|
*/
|
|
1941
1941
|
function iu() {
|
|
1942
|
-
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (
|
|
1942
|
+
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ut().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (ut().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
1943
1943
|
}
|
|
1944
1944
|
function He(e) {
|
|
1945
1945
|
return le(e) && nl(e) === 0 && (Fe(e, "b") || Fe(e, "body"));
|
|
1946
1946
|
}
|
|
1947
1947
|
const Oi = ["b", "body"];
|
|
1948
1948
|
function ou(e) {
|
|
1949
|
-
return
|
|
1949
|
+
return lt(e, Oi);
|
|
1950
1950
|
}
|
|
1951
1951
|
const $i = ["c", "cases"];
|
|
1952
1952
|
function ru(e) {
|
|
1953
|
-
return
|
|
1953
|
+
return lt(e, $i, []);
|
|
1954
1954
|
}
|
|
1955
1955
|
const Di = ["s", "static"];
|
|
1956
1956
|
function au(e) {
|
|
1957
|
-
return
|
|
1957
|
+
return lt(e, Di);
|
|
1958
1958
|
}
|
|
1959
1959
|
const Ri = ["i", "items"];
|
|
1960
1960
|
function su(e) {
|
|
1961
|
-
return
|
|
1961
|
+
return lt(e, Ri, []);
|
|
1962
1962
|
}
|
|
1963
1963
|
const Pi = ["t", "type"];
|
|
1964
1964
|
function nl(e) {
|
|
1965
|
-
return
|
|
1965
|
+
return lt(e, Pi);
|
|
1966
1966
|
}
|
|
1967
1967
|
const Mi = ["v", "value"];
|
|
1968
1968
|
function Wt(e, t) {
|
|
1969
|
-
const n =
|
|
1969
|
+
const n = lt(e, Mi);
|
|
1970
1970
|
if (n != null)
|
|
1971
1971
|
return n;
|
|
1972
1972
|
throw $t(t);
|
|
1973
1973
|
}
|
|
1974
1974
|
const Vi = ["m", "modifier"];
|
|
1975
1975
|
function uu(e) {
|
|
1976
|
-
return
|
|
1976
|
+
return lt(e, Vi);
|
|
1977
1977
|
}
|
|
1978
1978
|
const xi = ["k", "key"];
|
|
1979
1979
|
function cu(e) {
|
|
1980
|
-
const t =
|
|
1980
|
+
const t = lt(e, xi);
|
|
1981
1981
|
if (t)
|
|
1982
1982
|
return t;
|
|
1983
1983
|
throw $t(
|
|
@@ -1985,7 +1985,7 @@ function cu(e) {
|
|
|
1985
1985
|
/* NodeTypes.Linked */
|
|
1986
1986
|
);
|
|
1987
1987
|
}
|
|
1988
|
-
function
|
|
1988
|
+
function lt(e, t, n) {
|
|
1989
1989
|
for (let l = 0; l < t.length; l++) {
|
|
1990
1990
|
const o = t[l];
|
|
1991
1991
|
if (Fe(e, o) && e[o] != null)
|
|
@@ -2211,8 +2211,8 @@ function Su(e, t, n) {
|
|
|
2211
2211
|
}
|
|
2212
2212
|
return l;
|
|
2213
2213
|
}
|
|
2214
|
-
const
|
|
2215
|
-
|
|
2214
|
+
const it = [];
|
|
2215
|
+
it[
|
|
2216
2216
|
0
|
|
2217
2217
|
/* States.BEFORE_PATH */
|
|
2218
2218
|
] = {
|
|
@@ -2234,7 +2234,7 @@ lt[
|
|
|
2234
2234
|
/* States.AFTER_PATH */
|
|
2235
2235
|
]
|
|
2236
2236
|
};
|
|
2237
|
-
|
|
2237
|
+
it[
|
|
2238
2238
|
1
|
|
2239
2239
|
/* States.IN_PATH */
|
|
2240
2240
|
] = {
|
|
@@ -2255,7 +2255,7 @@ lt[
|
|
|
2255
2255
|
/* States.AFTER_PATH */
|
|
2256
2256
|
]
|
|
2257
2257
|
};
|
|
2258
|
-
|
|
2258
|
+
it[
|
|
2259
2259
|
2
|
|
2260
2260
|
/* States.BEFORE_IDENT */
|
|
2261
2261
|
] = {
|
|
@@ -2274,7 +2274,7 @@ lt[
|
|
|
2274
2274
|
/* Actions.APPEND */
|
|
2275
2275
|
]
|
|
2276
2276
|
};
|
|
2277
|
-
|
|
2277
|
+
it[
|
|
2278
2278
|
3
|
|
2279
2279
|
/* States.IN_IDENT */
|
|
2280
2280
|
] = {
|
|
@@ -2309,7 +2309,7 @@ lt[
|
|
|
2309
2309
|
/* Actions.PUSH */
|
|
2310
2310
|
]
|
|
2311
2311
|
};
|
|
2312
|
-
|
|
2312
|
+
it[
|
|
2313
2313
|
4
|
|
2314
2314
|
/* States.IN_SUB_PATH */
|
|
2315
2315
|
] = {
|
|
@@ -2340,7 +2340,7 @@ lt[
|
|
|
2340
2340
|
/* Actions.APPEND */
|
|
2341
2341
|
]
|
|
2342
2342
|
};
|
|
2343
|
-
|
|
2343
|
+
it[
|
|
2344
2344
|
5
|
|
2345
2345
|
/* States.IN_SINGLE_QUOTE */
|
|
2346
2346
|
] = {
|
|
@@ -2356,7 +2356,7 @@ lt[
|
|
|
2356
2356
|
/* Actions.APPEND */
|
|
2357
2357
|
]
|
|
2358
2358
|
};
|
|
2359
|
-
|
|
2359
|
+
it[
|
|
2360
2360
|
6
|
|
2361
2361
|
/* States.IN_DOUBLE_QUOTE */
|
|
2362
2362
|
] = {
|
|
@@ -2471,7 +2471,7 @@ function Ou(e) {
|
|
|
2471
2471
|
}
|
|
2472
2472
|
for (; l !== null; )
|
|
2473
2473
|
if (n++, i = e[n], !(i === "\\" && C())) {
|
|
2474
|
-
if (s = Au(i), _ =
|
|
2474
|
+
if (s = Au(i), _ = it[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)
|
|
2477
2477
|
return t;
|
|
@@ -2517,7 +2517,7 @@ const Ae = {
|
|
|
2517
2517
|
[Ae.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale.",
|
|
2518
2518
|
[Ae.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."
|
|
2519
2519
|
};
|
|
2520
|
-
function
|
|
2520
|
+
function mt(e, ...t) {
|
|
2521
2521
|
return fn(Pu[e], ...t);
|
|
2522
2522
|
}
|
|
2523
2523
|
const Mu = "11.1.12", pn = -1, tn = "en-US", nn = "", Wl = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
@@ -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, 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,
|
|
2554
|
-
process.env.NODE_ENV !== "production" && me(e.messageCompiler) && _s(
|
|
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(),
|
|
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, w = me(e.messageCompiler) ? e.messageCompiler : Hi;
|
|
2554
|
+
process.env.NODE_ENV !== "production" && me(e.messageCompiler) && _s(mt(Ae.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
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(), ge = 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,
|
|
@@ -2571,14 +2571,14 @@ function Gu(e = {}) {
|
|
|
2571
2571
|
processor: p,
|
|
2572
2572
|
warnHtmlMessage: E,
|
|
2573
2573
|
escapeParameter: A,
|
|
2574
|
-
messageCompiler:
|
|
2574
|
+
messageCompiler: w,
|
|
2575
2575
|
messageResolver: R,
|
|
2576
2576
|
localeFallbacker: P,
|
|
2577
2577
|
fallbackContext: T,
|
|
2578
2578
|
onWarn: t,
|
|
2579
2579
|
__meta: Te
|
|
2580
2580
|
};
|
|
2581
|
-
return ue.datetimeFormats = a, ue.numberFormats = s, ue.__datetimeFormatters = Q, ue.__numberFormatters =
|
|
2581
|
+
return ue.datetimeFormats = a, ue.numberFormats = s, ue.__datetimeFormatters = Q, ue.__numberFormatters = ge, process.env.NODE_ENV !== "production" && (ue.__v_emitter = X.__v_emitter != null ? X.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && yu(ue, n, Te), ue;
|
|
2582
2582
|
}
|
|
2583
2583
|
const On = (e) => ({ [e]: se() });
|
|
2584
2584
|
function gn(e, t) {
|
|
@@ -2602,7 +2602,7 @@ function il(e, t, n, l, o) {
|
|
|
2602
2602
|
const a = i(e, n, t, o);
|
|
2603
2603
|
return x(a) ? a : t;
|
|
2604
2604
|
} else
|
|
2605
|
-
return process.env.NODE_ENV !== "production" && ji(l, t) && r(
|
|
2605
|
+
return process.env.NODE_ENV !== "production" && ji(l, t) && r(mt(Ae.NOT_FOUND_KEY, { key: t, locale: n })), t;
|
|
2606
2606
|
}
|
|
2607
2607
|
function It(e, t, n) {
|
|
2608
2608
|
const l = e;
|
|
@@ -2627,7 +2627,7 @@ const Yl = typeof Intl < "u", Yi = {
|
|
|
2627
2627
|
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
|
-
return i(
|
|
2630
|
+
return i(mt(Ae.CANNOT_FORMAT_DATE)), nn;
|
|
2631
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
|
|
@@ -2636,25 +2636,25 @@ function ql(e, ...t) {
|
|
|
2636
2636
|
);
|
|
2637
2637
|
if (!x(s) || s === "")
|
|
2638
2638
|
return new Intl.DateTimeFormat(L, _).format(c);
|
|
2639
|
-
let p = {}, E, A = null,
|
|
2639
|
+
let p = {}, E, A = null, w = 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" && L !== E && gn(C, s) && i(
|
|
2642
|
+
if (E = R = y[Q], process.env.NODE_ENV !== "production" && L !== E && gn(C, s) && i(mt(Ae.FALLBACK_TO_DATE_FORMAT, {
|
|
2643
2643
|
key: s,
|
|
2644
2644
|
target: E
|
|
2645
2645
|
})), process.env.NODE_ENV !== "production" && L !== E) {
|
|
2646
|
-
const
|
|
2647
|
-
|
|
2646
|
+
const ge = e.__v_emitter;
|
|
2647
|
+
ge && ge.emit("fallback", {
|
|
2648
2648
|
type: P,
|
|
2649
2649
|
key: s,
|
|
2650
|
-
from:
|
|
2650
|
+
from: w,
|
|
2651
2651
|
to: R,
|
|
2652
2652
|
groupId: `${P}:${s}`
|
|
2653
2653
|
});
|
|
2654
2654
|
}
|
|
2655
2655
|
if (p = n[E] || {}, A = p[s], ne(A))
|
|
2656
2656
|
break;
|
|
2657
|
-
il(e, s, E, h, P),
|
|
2657
|
+
il(e, s, E, h, P), w = R;
|
|
2658
2658
|
}
|
|
2659
2659
|
if (!ne(A) || !x(E))
|
|
2660
2660
|
return l ? pn : s;
|
|
@@ -2721,7 +2721,7 @@ function Xl(e, t, n) {
|
|
|
2721
2721
|
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
|
-
return i(
|
|
2724
|
+
return i(mt(Ae.CANNOT_FORMAT_NUMBER)), nn;
|
|
2725
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
|
|
@@ -2730,25 +2730,25 @@ function Zl(e, ...t) {
|
|
|
2730
2730
|
);
|
|
2731
2731
|
if (!x(s) || s === "")
|
|
2732
2732
|
return new Intl.NumberFormat(L, _).format(c);
|
|
2733
|
-
let p = {}, E, A = null,
|
|
2733
|
+
let p = {}, E, A = null, w = 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" && L !== E && gn(C, s) && i(
|
|
2736
|
+
if (E = R = y[Q], process.env.NODE_ENV !== "production" && L !== E && gn(C, s) && i(mt(Ae.FALLBACK_TO_NUMBER_FORMAT, {
|
|
2737
2737
|
key: s,
|
|
2738
2738
|
target: E
|
|
2739
2739
|
})), process.env.NODE_ENV !== "production" && L !== E) {
|
|
2740
|
-
const
|
|
2741
|
-
|
|
2740
|
+
const ge = e.__v_emitter;
|
|
2741
|
+
ge && ge.emit("fallback", {
|
|
2742
2742
|
type: P,
|
|
2743
2743
|
key: s,
|
|
2744
|
-
from:
|
|
2744
|
+
from: w,
|
|
2745
2745
|
to: R,
|
|
2746
2746
|
groupId: `${P}:${s}`
|
|
2747
2747
|
});
|
|
2748
2748
|
}
|
|
2749
2749
|
if (p = n[E] || {}, A = p[s], ne(A))
|
|
2750
2750
|
break;
|
|
2751
|
-
il(e, s, E, h, P),
|
|
2751
|
+
il(e, s, E, h, P), w = R;
|
|
2752
2752
|
}
|
|
2753
2753
|
if (!ne(A) || !x(E))
|
|
2754
2754
|
return l ? pn : s;
|
|
@@ -2820,9 +2820,9 @@ function Qu(e = {}) {
|
|
|
2820
2820
|
named: c,
|
|
2821
2821
|
plural: i,
|
|
2822
2822
|
linked: (p, ...E) => {
|
|
2823
|
-
const [A,
|
|
2823
|
+
const [A, w] = E;
|
|
2824
2824
|
let R = "text", P = "";
|
|
2825
|
-
E.length === 1 ? le(A) ? (P = A.modifier || P, R = A.type || R) : x(A) && (P = A || P) : E.length === 2 && (x(A) && (P = A || P), x(
|
|
2825
|
+
E.length === 1 ? le(A) ? (P = A.modifier || P, R = A.type || R) : x(A) && (P = A || P) : E.length === 2 && (x(A) && (P = A || P), x(w) && (R = w || R));
|
|
2826
2826
|
const T = m(p, !0)(y), X = (
|
|
2827
2827
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
2828
2828
|
R === "vnode" && ve(T) && P ? T[0] : T
|
|
@@ -2845,25 +2845,25 @@ function ti(e, ...t) {
|
|
|
2845
2845
|
s,
|
|
2846
2846
|
y,
|
|
2847
2847
|
a[y] || se()
|
|
2848
|
-
] : Zi(e, s, y, r, _, m),
|
|
2849
|
-
if (!C && !(x(
|
|
2848
|
+
] : Zi(e, s, y, r, _, m), w = p, R = s;
|
|
2849
|
+
if (!C && !(x(w) || He(w) || xe(w)) && L && (w = b, R = w), !C && (!(x(w) || He(w) || xe(w)) || !x(E)))
|
|
2850
2850
|
return o ? pn : s;
|
|
2851
|
-
if (process.env.NODE_ENV !== "production" && x(
|
|
2851
|
+
if (process.env.NODE_ENV !== "production" && x(w) && 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;
|
|
2853
2853
|
let P = !1;
|
|
2854
2854
|
const T = () => {
|
|
2855
2855
|
P = !0;
|
|
2856
|
-
}, X = xe(
|
|
2856
|
+
}, X = xe(w) ? w : Ji(e, s, E, w, R, T);
|
|
2857
2857
|
if (P)
|
|
2858
|
-
return
|
|
2859
|
-
const Q = ic(e, E, A, c),
|
|
2858
|
+
return w;
|
|
2859
|
+
const Q = ic(e, E, A, c), ge = Qu(Q), Te = tc(e, X, ge);
|
|
2860
2860
|
let ue = l ? l(Te, s) : Te;
|
|
2861
2861
|
if (h && x(ue) && (ue = ks(ue)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
2862
2862
|
const et = {
|
|
2863
2863
|
timestamp: Date.now(),
|
|
2864
|
-
key: x(s) ? s : xe(
|
|
2865
|
-
locale: E || (xe(
|
|
2866
|
-
format: x(
|
|
2864
|
+
key: x(s) ? s : xe(w) ? w.key : "",
|
|
2865
|
+
locale: E || (xe(w) ? w.locale : ""),
|
|
2866
|
+
format: x(w) ? w : xe(w) ? w.source : "",
|
|
2867
2867
|
message: ue
|
|
2868
2868
|
};
|
|
2869
2869
|
et.meta = ke({}, e.__meta, /* @__PURE__ */ Bu() || {}), vu(et);
|
|
@@ -2880,7 +2880,7 @@ function Zi(e, t, n, l, o, i) {
|
|
|
2880
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 = L = m[p], process.env.NODE_ENV !== "production" && n !== h && !Ki(n, h) && gn(o, t) && a(
|
|
2883
|
+
if (h = L = m[p], process.env.NODE_ENV !== "production" && n !== h && !Ki(n, h) && gn(o, t) && a(mt(Ae.FALLBACK_TO_TRANSLATE, {
|
|
2884
2884
|
key: t,
|
|
2885
2885
|
target: h
|
|
2886
2886
|
})), process.env.NODE_ENV !== "production" && n !== h) {
|
|
@@ -2894,8 +2894,8 @@ function Zi(e, t, n, l, o, i) {
|
|
|
2894
2894
|
});
|
|
2895
2895
|
}
|
|
2896
2896
|
_ = r[h] || se();
|
|
2897
|
-
let E = null, A,
|
|
2898
|
-
if (process.env.NODE_ENV !== "production" && Je && (E = window.performance.now(), A = "intlify-message-resolve-start",
|
|
2897
|
+
let E = null, A, w;
|
|
2898
|
+
if (process.env.NODE_ENV !== "production" && Je && (E = window.performance.now(), A = "intlify-message-resolve-start", w = "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
2900
|
P && E && C && P.emit("message-resolve", {
|
|
2901
2901
|
type: "message-resolve",
|
|
@@ -2903,7 +2903,7 @@ function Zi(e, t, n, l, o, i) {
|
|
|
2903
2903
|
message: C,
|
|
2904
2904
|
time: R - E,
|
|
2905
2905
|
groupId: `${y}:${t}`
|
|
2906
|
-
}), A &&
|
|
2906
|
+
}), A && w && Pe && ft && (Pe(w), ft("intlify message resolve", A, w));
|
|
2907
2907
|
}
|
|
2908
2908
|
if (x(C) || He(C) || xe(C))
|
|
2909
2909
|
break;
|
|
@@ -2942,7 +2942,7 @@ function Ji(e, t, n, l, o, i) {
|
|
|
2942
2942
|
message: l,
|
|
2943
2943
|
time: h - s,
|
|
2944
2944
|
groupId: `translate:${t}`
|
|
2945
|
-
}), c && m && Pe &&
|
|
2945
|
+
}), c && m && Pe && ft && (Pe(m), ft("intlify message compilation", c, m));
|
|
2946
2946
|
}
|
|
2947
2947
|
return _.locale = n, _.key = t, _.source = l, _;
|
|
2948
2948
|
}
|
|
@@ -2957,7 +2957,7 @@ function tc(e, t, n) {
|
|
|
2957
2957
|
value: r,
|
|
2958
2958
|
time: a - l,
|
|
2959
2959
|
groupId: `translate:${t.key}`
|
|
2960
|
-
}), o && i && Pe &&
|
|
2960
|
+
}), o && i && Pe && ft && (Pe(i), ft("intlify message evaluation", o, i));
|
|
2961
2961
|
}
|
|
2962
2962
|
return r;
|
|
2963
2963
|
}
|
|
@@ -3034,7 +3034,7 @@ iu();
|
|
|
3034
3034
|
*/
|
|
3035
3035
|
const oc = "11.1.12";
|
|
3036
3036
|
function rc() {
|
|
3037
|
-
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (
|
|
3037
|
+
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (ut().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (ut().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (ut().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ut().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
3038
3038
|
}
|
|
3039
3039
|
const Le = {
|
|
3040
3040
|
// composer module errors
|
|
@@ -3176,7 +3176,7 @@ function cc(e, t, n) {
|
|
|
3176
3176
|
}
|
|
3177
3177
|
}
|
|
3178
3178
|
function ni(e) {
|
|
3179
|
-
return
|
|
3179
|
+
return V(Ot, null, e, 0);
|
|
3180
3180
|
}
|
|
3181
3181
|
const li = "__INTLIFY_META__", ii = () => [], dc = () => !1;
|
|
3182
3182
|
let oi = 0;
|
|
@@ -3198,7 +3198,7 @@ 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, 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,
|
|
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, w = !!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 = (() => {
|
|
@@ -3217,7 +3217,7 @@ function mc(e = {}) {
|
|
|
3217
3217
|
unresolving: !0,
|
|
3218
3218
|
postTranslation: E === null ? void 0 : E,
|
|
3219
3219
|
warnHtmlMessage: A,
|
|
3220
|
-
escapeParameter:
|
|
3220
|
+
escapeParameter: w,
|
|
3221
3221
|
messageResolver: e.messageResolver,
|
|
3222
3222
|
messageCompiler: e.messageCompiler,
|
|
3223
3223
|
__meta: { framework: "vue" }
|
|
@@ -3235,18 +3235,18 @@ function mc(e = {}) {
|
|
|
3235
3235
|
_.value
|
|
3236
3236
|
];
|
|
3237
3237
|
}
|
|
3238
|
-
const
|
|
3238
|
+
const ge = B({
|
|
3239
3239
|
get: () => a.value,
|
|
3240
3240
|
set: (k) => {
|
|
3241
3241
|
T.locale = k, a.value = k;
|
|
3242
3242
|
}
|
|
3243
|
-
}), Te =
|
|
3243
|
+
}), Te = B({
|
|
3244
3244
|
get: () => s.value,
|
|
3245
3245
|
set: (k) => {
|
|
3246
3246
|
T.fallbackLocale = k, s.value = k, It(T, a.value, k);
|
|
3247
3247
|
}
|
|
3248
|
-
}), ue =
|
|
3249
|
-
function
|
|
3248
|
+
}), ue = B(() => c.value), et = /* @__PURE__ */ B(() => m.value), gt = /* @__PURE__ */ B(() => _.value);
|
|
3249
|
+
function z() {
|
|
3250
3250
|
return me(E) ? E : null;
|
|
3251
3251
|
}
|
|
3252
3252
|
function D(k) {
|
|
@@ -3261,7 +3261,7 @@ function mc(e = {}) {
|
|
|
3261
3261
|
function je(k, I) {
|
|
3262
3262
|
return k !== "translate" || !I.resolvedMessage;
|
|
3263
3263
|
}
|
|
3264
|
-
const Se = (k, I, ie,
|
|
3264
|
+
const Se = (k, I, ie, _e, at, Ht) => {
|
|
3265
3265
|
Q();
|
|
3266
3266
|
let ht;
|
|
3267
3267
|
try {
|
|
@@ -3271,34 +3271,34 @@ function mc(e = {}) {
|
|
|
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
|
-
const [
|
|
3275
|
-
if (process.env.NODE_ENV !== "production" && t && x(
|
|
3276
|
-
key:
|
|
3274
|
+
const [st, Wo] = I();
|
|
3275
|
+
if (process.env.NODE_ENV !== "production" && t && x(st) && je(ie, Wo) && (b && (gn(C, st) || ji(h, st)) && We(ln(Ge.FALLBACK_TO_ROOT, {
|
|
3276
|
+
key: st,
|
|
3277
3277
|
type: ie
|
|
3278
3278
|
})), process.env.NODE_ENV !== "production")) {
|
|
3279
3279
|
const { __v_emitter: yl } = T;
|
|
3280
3280
|
yl && b && yl.emit("fallback", {
|
|
3281
3281
|
type: ie,
|
|
3282
|
-
key:
|
|
3282
|
+
key: st,
|
|
3283
3283
|
to: "global",
|
|
3284
|
-
groupId: `${ie}:${
|
|
3284
|
+
groupId: `${ie}:${st}`
|
|
3285
3285
|
});
|
|
3286
3286
|
}
|
|
3287
|
-
return t && b ?
|
|
3287
|
+
return t && b ? _e(t) : at(st);
|
|
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
|
|
3294
|
+
function ot(...k) {
|
|
3295
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
3297
|
function yn(...k) {
|
|
3298
|
-
const [I, ie,
|
|
3299
|
-
if (
|
|
3298
|
+
const [I, ie, _e] = k;
|
|
3299
|
+
if (_e && !le(_e))
|
|
3300
3300
|
throw Rt(Le.INVALID_ARGUMENT);
|
|
3301
|
-
return
|
|
3301
|
+
return ot(I, ie, ke({ resolvedMessage: !0 }, _e || {}));
|
|
3302
3302
|
}
|
|
3303
3303
|
function vn(...k) {
|
|
3304
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));
|
|
@@ -3317,11 +3317,11 @@ function mc(e = {}) {
|
|
|
3317
3317
|
function Ut(...k) {
|
|
3318
3318
|
return Se((I) => {
|
|
3319
3319
|
let ie;
|
|
3320
|
-
const
|
|
3320
|
+
const _e = I;
|
|
3321
3321
|
try {
|
|
3322
|
-
|
|
3322
|
+
_e.processor = bn, ie = Reflect.apply(ti, null, [_e, ...k]);
|
|
3323
3323
|
} finally {
|
|
3324
|
-
|
|
3324
|
+
_e.processor = null;
|
|
3325
3325
|
}
|
|
3326
3326
|
return ie;
|
|
3327
3327
|
}, () => Fn(...k), "translate", (I) => I[Hn](...k), (I) => [ni(I)], (I) => ve(I));
|
|
@@ -3339,15 +3339,15 @@ function mc(e = {}) {
|
|
|
3339
3339
|
return Se(() => {
|
|
3340
3340
|
if (!k)
|
|
3341
3341
|
return !1;
|
|
3342
|
-
const ie = x(I) ? I : a.value,
|
|
3343
|
-
return He(
|
|
3342
|
+
const ie = x(I) ? I : a.value, _e = rt(ie), at = T.messageResolver(_e, k);
|
|
3343
|
+
return He(at) || xe(at) || x(at);
|
|
3344
3344
|
}, () => [k], "translate exists", (ie) => Reflect.apply(ie.te, ie, [k, I]), dc, (ie) => ye(ie));
|
|
3345
3345
|
}
|
|
3346
3346
|
function wt(k) {
|
|
3347
3347
|
let I = null;
|
|
3348
3348
|
const ie = Fi(T, s.value, a.value);
|
|
3349
|
-
for (let
|
|
3350
|
-
const
|
|
3349
|
+
for (let _e = 0; _e < ie.length; _e++) {
|
|
3350
|
+
const at = c.value[ie[_e]] || {}, Ht = T.messageResolver(at, k);
|
|
3351
3351
|
if (Ht != null) {
|
|
3352
3352
|
I = Ht;
|
|
3353
3353
|
break;
|
|
@@ -3359,14 +3359,14 @@ function mc(e = {}) {
|
|
|
3359
3359
|
const I = wt(k);
|
|
3360
3360
|
return I ?? (t ? t.tm(k) || {} : {});
|
|
3361
3361
|
}
|
|
3362
|
-
function
|
|
3362
|
+
function rt(k) {
|
|
3363
3363
|
return c.value[k] || {};
|
|
3364
3364
|
}
|
|
3365
3365
|
function Tt(k, I) {
|
|
3366
3366
|
if (o) {
|
|
3367
3367
|
const ie = { [k]: I };
|
|
3368
|
-
for (const
|
|
3369
|
-
Fe(ie,
|
|
3368
|
+
for (const _e in ie)
|
|
3369
|
+
Fe(ie, _e) && Pt(ie[_e]);
|
|
3370
3370
|
I = ie[k];
|
|
3371
3371
|
}
|
|
3372
3372
|
c.value[k] = I, T.messages = c.value;
|
|
@@ -3375,8 +3375,8 @@ function mc(e = {}) {
|
|
|
3375
3375
|
c.value[k] = c.value[k] || {};
|
|
3376
3376
|
const ie = { [k]: I };
|
|
3377
3377
|
if (o)
|
|
3378
|
-
for (const
|
|
3379
|
-
Fe(ie,
|
|
3378
|
+
for (const _e in ie)
|
|
3379
|
+
Fe(ie, _e) && Pt(ie[_e]);
|
|
3380
3380
|
I = ie[k], Zt(I, c.value[k]), T.messages = c.value;
|
|
3381
3381
|
}
|
|
3382
3382
|
function f(k) {
|
|
@@ -3388,13 +3388,13 @@ function mc(e = {}) {
|
|
|
3388
3388
|
function N(k, I) {
|
|
3389
3389
|
m.value[k] = ke(m.value[k] || {}, I), T.datetimeFormats = m.value, Xl(T, k, I);
|
|
3390
3390
|
}
|
|
3391
|
-
function
|
|
3391
|
+
function H(k) {
|
|
3392
3392
|
return _.value[k] || {};
|
|
3393
3393
|
}
|
|
3394
3394
|
function fe(k, I) {
|
|
3395
3395
|
_.value[k] = I, T.numberFormats = _.value, Jl(T, k, I);
|
|
3396
3396
|
}
|
|
3397
|
-
function
|
|
3397
|
+
function he(k, I) {
|
|
3398
3398
|
_.value[k] = ke(_.value[k] || {}, I), T.numberFormats = _.value, Jl(T, k, I);
|
|
3399
3399
|
}
|
|
3400
3400
|
oi++, t && Je && (Ue(t.locale, (k) => {
|
|
@@ -3404,7 +3404,7 @@ function mc(e = {}) {
|
|
|
3404
3404
|
}));
|
|
3405
3405
|
const ee = {
|
|
3406
3406
|
id: oi,
|
|
3407
|
-
locale:
|
|
3407
|
+
locale: ge,
|
|
3408
3408
|
fallbackLocale: Te,
|
|
3409
3409
|
get inheritLocale() {
|
|
3410
3410
|
return r;
|
|
@@ -3456,22 +3456,22 @@ function mc(e = {}) {
|
|
|
3456
3456
|
A = k, T.warnHtmlMessage = k;
|
|
3457
3457
|
},
|
|
3458
3458
|
get escapeParameter() {
|
|
3459
|
-
return
|
|
3459
|
+
return w;
|
|
3460
3460
|
},
|
|
3461
3461
|
set escapeParameter(k) {
|
|
3462
|
-
|
|
3462
|
+
w = k, T.escapeParameter = k;
|
|
3463
3463
|
},
|
|
3464
|
-
t:
|
|
3465
|
-
getLocaleMessage:
|
|
3464
|
+
t: ot,
|
|
3465
|
+
getLocaleMessage: rt,
|
|
3466
3466
|
setLocaleMessage: Tt,
|
|
3467
3467
|
mergeLocaleMessage: wn,
|
|
3468
|
-
getPostTranslationHandler:
|
|
3468
|
+
getPostTranslationHandler: z,
|
|
3469
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 =
|
|
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 = H, ee.setNumberFormat = fe, ee.mergeNumberFormat = he, ee[Qi] = n, ee[Hn] = Ut, ee[Bn] = Ft, ee[zn] = kn, process.env.NODE_ENV !== "production" && (ee[Gn] = (k) => {
|
|
3475
3475
|
T.__v_emitter = k;
|
|
3476
3476
|
}, ee[Wn] = () => {
|
|
3477
3477
|
T.__v_emitter = void 0;
|
|
@@ -3633,11 +3633,11 @@ xu(hu);
|
|
|
3633
3633
|
Uu(Du);
|
|
3634
3634
|
Fu(Fi);
|
|
3635
3635
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
3636
|
-
const e =
|
|
3636
|
+
const e = ut();
|
|
3637
3637
|
e.__INTLIFY__ = !0, _u(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
3638
3638
|
}
|
|
3639
3639
|
process.env.NODE_ENV;
|
|
3640
|
-
const
|
|
3640
|
+
const re = /* @__PURE__ */ de({
|
|
3641
3641
|
__name: "Tooltip",
|
|
3642
3642
|
props: {
|
|
3643
3643
|
title: { default: void 0 },
|
|
@@ -3673,7 +3673,7 @@ const oe = /* @__PURE__ */ de({
|
|
|
3673
3673
|
ref: i
|
|
3674
3674
|
}, [
|
|
3675
3675
|
ae(r.$slots, "content", {}, () => [
|
|
3676
|
-
Ze(
|
|
3676
|
+
Ze(M(r.title), 1)
|
|
3677
3677
|
])
|
|
3678
3678
|
], 512)
|
|
3679
3679
|
], 64));
|
|
@@ -3690,42 +3690,42 @@ const oe = /* @__PURE__ */ de({
|
|
|
3690
3690
|
variable: {}
|
|
3691
3691
|
},
|
|
3692
3692
|
setup(e) {
|
|
3693
|
-
const t = e, n =
|
|
3693
|
+
const t = e, n = B(() => `data:image/svg+xml;base64,${i.value}`), l = B(() => ({
|
|
3694
3694
|
flowable: r.value ? r.value.flowable : !1
|
|
3695
|
-
})), o =
|
|
3695
|
+
})), o = B(() => ({
|
|
3696
3696
|
backgroundImage: `url(${n.value})`
|
|
3697
|
-
})), i =
|
|
3697
|
+
})), i = B(() => {
|
|
3698
3698
|
let s = r.value && r.value.icon ? window.atob(r.value.icon) : void 0;
|
|
3699
3699
|
s || (s = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="0.75em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 384 512"><path d="M288 32H0v448h384V128l-96-96zm64 416H32V64h224l96 96v288z" fill="currentColor"/></svg>');
|
|
3700
3700
|
const c = document.getElementsByTagName("html")[0].className.indexOf("dark") >= 0;
|
|
3701
3701
|
let m = Ve(c ? "--bs-gray-900" : "--bs-black") ?? "#FFFFFF";
|
|
3702
3702
|
return t.theme && (m = (t.theme === "dark" ? Ve("--bs-gray-900") : Ve("--bs-black")) ?? m), t.variable && (m = Ve(t.variable) ?? m), s = s.replace(/currentColor/g, m), window.btoa(s);
|
|
3703
|
-
}), r =
|
|
3703
|
+
}), r = B(() => t.cls ? (t.icons || {})[a(t.cls)] : t.customIcon);
|
|
3704
3704
|
function a(s) {
|
|
3705
3705
|
return s.includes("$") ? s.substring(0, s.indexOf("$")) : s;
|
|
3706
3706
|
}
|
|
3707
3707
|
return (s, c) => (u(), d("div", {
|
|
3708
|
-
class:
|
|
3708
|
+
class: oe([l.value, "wrapper"])
|
|
3709
3709
|
}, [
|
|
3710
3710
|
s.onlyIcon ? (u(), d("div", {
|
|
3711
3711
|
key: 1,
|
|
3712
3712
|
class: "icon",
|
|
3713
|
-
style:
|
|
3714
|
-
}, null, 4)) : (u(),
|
|
3713
|
+
style: dt(o.value)
|
|
3714
|
+
}, null, 4)) : (u(), Y(re, {
|
|
3715
3715
|
key: 0,
|
|
3716
3716
|
title: s.cls
|
|
3717
3717
|
}, {
|
|
3718
|
-
default:
|
|
3718
|
+
default: G(() => [
|
|
3719
3719
|
v("div", {
|
|
3720
3720
|
class: "icon",
|
|
3721
|
-
style:
|
|
3721
|
+
style: dt(o.value)
|
|
3722
3722
|
}, null, 4)
|
|
3723
3723
|
]),
|
|
3724
3724
|
_: 1
|
|
3725
3725
|
}, 8, ["title"]))
|
|
3726
3726
|
], 2));
|
|
3727
3727
|
}
|
|
3728
|
-
}), io = /* @__PURE__ */
|
|
3728
|
+
}), io = /* @__PURE__ */ F(kc, [["__scopeId", "data-v-23f8d853"]]), Lc = {
|
|
3729
3729
|
name: "OpenInNewIcon",
|
|
3730
3730
|
emits: ["click"],
|
|
3731
3731
|
props: {
|
|
@@ -3758,12 +3758,12 @@ function Ac(e, t, n, l, o, i) {
|
|
|
3758
3758
|
viewBox: "0 0 24 24"
|
|
3759
3759
|
}, [
|
|
3760
3760
|
v("path", Nc, [
|
|
3761
|
-
n.title ? (u(), d("title", Tc,
|
|
3761
|
+
n.title ? (u(), d("title", Tc, M(n.title), 1)) : S("", !0)
|
|
3762
3762
|
])
|
|
3763
3763
|
], 8, wc))
|
|
3764
3764
|
], 16, Sc);
|
|
3765
3765
|
}
|
|
3766
|
-
const oo = /* @__PURE__ */
|
|
3766
|
+
const oo = /* @__PURE__ */ F(Lc, [["render", Ac]]), Ic = {
|
|
3767
3767
|
name: "ArrowExpandAllIcon",
|
|
3768
3768
|
emits: ["click"],
|
|
3769
3769
|
props: {
|
|
@@ -3796,12 +3796,12 @@ function Pc(e, t, n, l, o, i) {
|
|
|
3796
3796
|
viewBox: "0 0 24 24"
|
|
3797
3797
|
}, [
|
|
3798
3798
|
v("path", Dc, [
|
|
3799
|
-
n.title ? (u(), d("title", Rc,
|
|
3799
|
+
n.title ? (u(), d("title", Rc, M(n.title), 1)) : S("", !0)
|
|
3800
3800
|
])
|
|
3801
3801
|
], 8, $c))
|
|
3802
3802
|
], 16, Oc);
|
|
3803
3803
|
}
|
|
3804
|
-
const Mc = /* @__PURE__ */
|
|
3804
|
+
const Mc = /* @__PURE__ */ F(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({
|
|
3805
3805
|
name: "Dependencies",
|
|
3806
3806
|
inheritAttrs: !1,
|
|
3807
3807
|
__name: "DependenciesNode",
|
|
@@ -3830,39 +3830,39 @@ const Mc = /* @__PURE__ */ H(Ic, [["render", Pc]]), Vc = { class: "dependency-te
|
|
|
3830
3830
|
U.MOUSE_LEAVE
|
|
3831
3831
|
],
|
|
3832
3832
|
setup(e, { emit: t }) {
|
|
3833
|
-
const n = t, { t: l } = Vt(), o =
|
|
3833
|
+
const n = t, { t: l } = Vt(), o = B(() => window.btoa(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="none">
|
|
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
|
-
|
|
3837
|
+
V($(Me), {
|
|
3838
3838
|
type: "source",
|
|
3839
3839
|
position: e.sourcePosition
|
|
3840
3840
|
}, null, 8, ["position"]),
|
|
3841
3841
|
v("div", {
|
|
3842
|
-
class:
|
|
3842
|
+
class: oe([[`border-${e.data.color}`], "dependency-node-wrapper rounded-3 border"])
|
|
3843
3843
|
}, [
|
|
3844
|
-
|
|
3844
|
+
V(io, {
|
|
3845
3845
|
"custom-icon": { icon: o.value },
|
|
3846
3846
|
class: "bg-pink rounded",
|
|
3847
3847
|
theme: "light"
|
|
3848
3848
|
}, null, 8, ["custom-icon"]),
|
|
3849
3849
|
v("div", Vc, [
|
|
3850
3850
|
v("div", xc, [
|
|
3851
|
-
|
|
3851
|
+
V(re, {
|
|
3852
3852
|
title: e.data.flowId
|
|
3853
3853
|
}, {
|
|
3854
|
-
default:
|
|
3855
|
-
Ze(
|
|
3854
|
+
default: G(() => [
|
|
3855
|
+
Ze(M(e.data.flowId), 1)
|
|
3856
3856
|
]),
|
|
3857
3857
|
_: 1
|
|
3858
3858
|
}, 8, ["title"])
|
|
3859
3859
|
]),
|
|
3860
3860
|
v("div", Uc, [
|
|
3861
|
-
|
|
3861
|
+
V(re, {
|
|
3862
3862
|
title: e.data.namespace
|
|
3863
3863
|
}, {
|
|
3864
|
-
default:
|
|
3865
|
-
Ze(
|
|
3864
|
+
default: G(() => [
|
|
3865
|
+
Ze(M(e.data.namespace), 1)
|
|
3866
3866
|
]),
|
|
3867
3867
|
_: 1
|
|
3868
3868
|
}, 8, ["title"])
|
|
@@ -3872,48 +3872,48 @@ const Mc = /* @__PURE__ */ H(Ic, [["render", Pc]]), Vc = { class: "dependency-te
|
|
|
3872
3872
|
ae(i.$slots, "badge-button-before", {}, void 0, !0),
|
|
3873
3873
|
e.data.link ? (u(), d("span", {
|
|
3874
3874
|
key: 0,
|
|
3875
|
-
class:
|
|
3875
|
+
class: oe(["circle-button", [`bg-${e.data.color}`]]),
|
|
3876
3876
|
onClick: r[0] || (r[0] = (a) => i.$emit($(U).OPEN_LINK, e.data))
|
|
3877
3877
|
}, [
|
|
3878
|
-
|
|
3878
|
+
V(re, {
|
|
3879
3879
|
title: $(l)("open")
|
|
3880
3880
|
}, {
|
|
3881
|
-
default:
|
|
3882
|
-
|
|
3881
|
+
default: G(() => [
|
|
3882
|
+
V(oo, {
|
|
3883
3883
|
class: "button-icon",
|
|
3884
3884
|
alt: "Open in new tab"
|
|
3885
3885
|
})
|
|
3886
3886
|
]),
|
|
3887
3887
|
_: 1
|
|
3888
3888
|
}, 8, ["title"])
|
|
3889
|
-
], 2)) :
|
|
3889
|
+
], 2)) : S("", !0),
|
|
3890
3890
|
e.data.expandEnabled ? (u(), d("span", {
|
|
3891
3891
|
key: 1,
|
|
3892
|
-
class:
|
|
3892
|
+
class: oe(["circle-button", [`bg-${e.data.color}`]]),
|
|
3893
3893
|
onClick: r[1] || (r[1] = (a) => n($(U).EXPAND_DEPENDENCIES, e.data))
|
|
3894
3894
|
}, [
|
|
3895
|
-
|
|
3895
|
+
V(re, {
|
|
3896
3896
|
title: $(l)("expand")
|
|
3897
3897
|
}, {
|
|
3898
|
-
default:
|
|
3899
|
-
|
|
3898
|
+
default: G(() => [
|
|
3899
|
+
V(Mc, {
|
|
3900
3900
|
class: "button-icon",
|
|
3901
3901
|
alt: "Expand task"
|
|
3902
3902
|
})
|
|
3903
3903
|
]),
|
|
3904
3904
|
_: 1
|
|
3905
3905
|
}, 8, ["title"])
|
|
3906
|
-
], 2)) :
|
|
3906
|
+
], 2)) : S("", !0),
|
|
3907
3907
|
ae(i.$slots, "badge-button-after", {}, void 0, !0)
|
|
3908
3908
|
])
|
|
3909
3909
|
], 2),
|
|
3910
|
-
|
|
3910
|
+
V($(Me), {
|
|
3911
3911
|
type: "target",
|
|
3912
3912
|
position: e.targetPosition
|
|
3913
3913
|
}, null, 8, ["position"])
|
|
3914
3914
|
], 64));
|
|
3915
3915
|
}
|
|
3916
|
-
}),
|
|
3916
|
+
}), O_ = /* @__PURE__ */ F(Hc, [["__scopeId", "data-v-2271d5b0"]]);
|
|
3917
3917
|
var qe = /* @__PURE__ */ ((e) => (e.Lines = "lines", e.Dots = "dots", e))(qe || {});
|
|
3918
3918
|
const ro = function({ dimensions: e, size: t, color: n }) {
|
|
3919
3919
|
return bt("path", {
|
|
@@ -3953,7 +3953,7 @@ const Bc = {
|
|
|
3953
3953
|
offset: { default: 0 }
|
|
3954
3954
|
},
|
|
3955
3955
|
setup(e) {
|
|
3956
|
-
const { id: t, viewport: n } = Ti(), l =
|
|
3956
|
+
const { id: t, viewport: n } = Ti(), l = B(() => {
|
|
3957
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,
|
|
@@ -3963,7 +3963,7 @@ const Bc = {
|
|
|
3963
3963
|
}), o = Ll(() => `pattern-${t}${e.id ? `-${e.id}` : ""}`), i = Ll(() => e.color || e.patternColor || Bc[e.variant || qe.Dots]);
|
|
3964
3964
|
return (r, a) => (u(), d("svg", {
|
|
3965
3965
|
class: "vue-flow__background vue-flow__container",
|
|
3966
|
-
style:
|
|
3966
|
+
style: dt({
|
|
3967
3967
|
height: `${r.height > 100 ? 100 : r.height}%`,
|
|
3968
3968
|
width: `${r.width > 100 ? 100 : r.width}%`
|
|
3969
3969
|
})
|
|
@@ -3979,23 +3979,23 @@ const Bc = {
|
|
|
3979
3979
|
patternUnits: "userSpaceOnUse"
|
|
3980
3980
|
}, [
|
|
3981
3981
|
ae(r.$slots, "pattern", {}, () => [
|
|
3982
|
-
r.variant === $(qe).Lines ? (u(),
|
|
3982
|
+
r.variant === $(qe).Lines ? (u(), Y($(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 === $(qe).Dots ? (u(),
|
|
3987
|
+
}, null, 8, ["size", "color", "dimensions"])) : r.variant === $(qe).Dots ? (u(), Y($(ao), {
|
|
3988
3988
|
key: 1,
|
|
3989
3989
|
color: i.value,
|
|
3990
3990
|
radius: l.value.size / 2
|
|
3991
|
-
}, null, 8, ["color", "radius"])) :
|
|
3991
|
+
}, null, 8, ["color", "radius"])) : S("", !0),
|
|
3992
3992
|
r.bgColor ? (u(), d("svg", Gc, [
|
|
3993
3993
|
v("rect", {
|
|
3994
3994
|
width: "100%",
|
|
3995
3995
|
height: "100%",
|
|
3996
3996
|
fill: r.bgColor
|
|
3997
3997
|
}, null, 8, Wc)
|
|
3998
|
-
])) :
|
|
3998
|
+
])) : S("", !0)
|
|
3999
3999
|
])
|
|
4000
4000
|
], 8, zc)
|
|
4001
4001
|
]),
|
|
@@ -4042,14 +4042,14 @@ function ed(e, t, n, l, o, i) {
|
|
|
4042
4042
|
viewBox: "0 0 24 24"
|
|
4043
4043
|
}, [
|
|
4044
4044
|
v("path", Jc, [
|
|
4045
|
-
n.title ? (u(), d("title", Qc,
|
|
4045
|
+
n.title ? (u(), d("title", Qc, M(n.title), 1)) : S("", !0)
|
|
4046
4046
|
])
|
|
4047
4047
|
], 8, Zc))
|
|
4048
4048
|
], 16, Xc);
|
|
4049
4049
|
}
|
|
4050
|
-
const td = /* @__PURE__ */
|
|
4050
|
+
const td = /* @__PURE__ */ F(qc, [["render", ed]]), nd = { class: "top-button-div text-white d-flex" }, ld = {
|
|
4051
4051
|
inheritAttrs: !1,
|
|
4052
|
-
components: { Tooltip:
|
|
4052
|
+
components: { Tooltip: re },
|
|
4053
4053
|
data() {
|
|
4054
4054
|
return {
|
|
4055
4055
|
tooltips: []
|
|
@@ -4094,33 +4094,33 @@ const td = /* @__PURE__ */ H(qc, [["render", ed]]), nd = { class: "top-button-di
|
|
|
4094
4094
|
l(U.COLLAPSE, n.id);
|
|
4095
4095
|
};
|
|
4096
4096
|
return (i, r) => (u(), d("div", {
|
|
4097
|
-
class:
|
|
4097
|
+
class: oe(i.classes)
|
|
4098
4098
|
}, [
|
|
4099
4099
|
v("span", {
|
|
4100
|
-
class:
|
|
4101
|
-
},
|
|
4100
|
+
class: oe(["badge rounded-pill text-truncate text-color position-reliative", [`bg-${e.data.color}`]])
|
|
4101
|
+
}, M(i.clusterName), 3),
|
|
4102
4102
|
v("div", nd, [
|
|
4103
4103
|
e.data.collapsable ? (u(), d("span", {
|
|
4104
4104
|
key: 0,
|
|
4105
|
-
class:
|
|
4105
|
+
class: oe(["circle-button", [`bg-${e.data.color}`]]),
|
|
4106
4106
|
onClick: r[0] || (r[0] = (a) => o())
|
|
4107
4107
|
}, [
|
|
4108
|
-
|
|
4108
|
+
V(re, {
|
|
4109
4109
|
title: i.$t("collapse")
|
|
4110
4110
|
}, {
|
|
4111
|
-
default:
|
|
4112
|
-
|
|
4111
|
+
default: G(() => [
|
|
4112
|
+
V(td, {
|
|
4113
4113
|
class: "button-icon",
|
|
4114
4114
|
alt: "Collapse task"
|
|
4115
4115
|
})
|
|
4116
4116
|
]),
|
|
4117
4117
|
_: 1
|
|
4118
4118
|
}, 8, ["title"])
|
|
4119
|
-
], 2)) :
|
|
4119
|
+
], 2)) : S("", !0)
|
|
4120
4120
|
])
|
|
4121
4121
|
], 2));
|
|
4122
4122
|
}
|
|
4123
|
-
}), od = /* @__PURE__ */
|
|
4123
|
+
}), od = /* @__PURE__ */ F(id, [["__scopeId", "data-v-0c251e77"]]), rd = {
|
|
4124
4124
|
name: "CircleIcon",
|
|
4125
4125
|
emits: ["click"],
|
|
4126
4126
|
props: {
|
|
@@ -4153,12 +4153,12 @@ function dd(e, t, n, l, o, i) {
|
|
|
4153
4153
|
viewBox: "0 0 24 24"
|
|
4154
4154
|
}, [
|
|
4155
4155
|
v("path", ud, [
|
|
4156
|
-
n.title ? (u(), d("title", cd,
|
|
4156
|
+
n.title ? (u(), d("title", cd, M(n.title), 1)) : S("", !0)
|
|
4157
4157
|
])
|
|
4158
4158
|
], 8, sd))
|
|
4159
4159
|
], 16, ad);
|
|
4160
4160
|
}
|
|
4161
|
-
const so = /* @__PURE__ */
|
|
4161
|
+
const so = /* @__PURE__ */ F(rd, [["render", dd]]), fd = {
|
|
4162
4162
|
name: "Dot",
|
|
4163
4163
|
components: { Handle: Me, CircleIcon: so },
|
|
4164
4164
|
inheritAttrs: !1,
|
|
@@ -4191,29 +4191,29 @@ const so = /* @__PURE__ */ H(rd, [["render", dd]]), fd = {
|
|
|
4191
4191
|
}, md = /* @__PURE__ */ Object.assign(fd, {
|
|
4192
4192
|
setup(e) {
|
|
4193
4193
|
return (t, n) => (u(), d("div", {
|
|
4194
|
-
class:
|
|
4194
|
+
class: oe(t.classes)
|
|
4195
4195
|
}, [
|
|
4196
|
-
|
|
4196
|
+
V($(Me), {
|
|
4197
4197
|
type: "source",
|
|
4198
4198
|
class: "custom-handle",
|
|
4199
4199
|
position: e.sourcePosition
|
|
4200
4200
|
}, null, 8, ["position"]),
|
|
4201
4201
|
v("div", {
|
|
4202
|
-
class:
|
|
4202
|
+
class: oe(["dot", t.classes])
|
|
4203
4203
|
}, [
|
|
4204
|
-
|
|
4205
|
-
class:
|
|
4204
|
+
V(so, {
|
|
4205
|
+
class: oe([{ "text-danger": e.data.node.branchType === "ERROR" }, "circle"]),
|
|
4206
4206
|
alt: "circle"
|
|
4207
4207
|
}, null, 8, ["class"])
|
|
4208
4208
|
], 2),
|
|
4209
|
-
|
|
4209
|
+
V($(Me), {
|
|
4210
4210
|
type: "target",
|
|
4211
4211
|
class: "custom-handle",
|
|
4212
4212
|
position: e.targetPosition
|
|
4213
4213
|
}, null, 8, ["position"])
|
|
4214
4214
|
], 2));
|
|
4215
4215
|
}
|
|
4216
|
-
}), pd = /* @__PURE__ */
|
|
4216
|
+
}), pd = /* @__PURE__ */ F(md, [["__scopeId", "data-v-666f472b"]]), gd = {
|
|
4217
4217
|
name: "PlusIcon",
|
|
4218
4218
|
emits: ["click"],
|
|
4219
4219
|
props: {
|
|
@@ -4246,12 +4246,12 @@ function Ed(e, t, n, l, o, i) {
|
|
|
4246
4246
|
viewBox: "0 0 24 24"
|
|
4247
4247
|
}, [
|
|
4248
4248
|
v("path", yd, [
|
|
4249
|
-
n.title ? (u(), d("title", vd,
|
|
4249
|
+
n.title ? (u(), d("title", vd, M(n.title), 1)) : S("", !0)
|
|
4250
4250
|
])
|
|
4251
4251
|
], 8, _d))
|
|
4252
4252
|
], 16, hd);
|
|
4253
4253
|
}
|
|
4254
|
-
const Cd = /* @__PURE__ */
|
|
4254
|
+
const Cd = /* @__PURE__ */ F(gd, [["render", Ed]]), bd = { class: "add-task-div rounded d-flex justify-content-center align-items-center" }, kd = /* @__PURE__ */ de({
|
|
4255
4255
|
name: "AddTaskButton",
|
|
4256
4256
|
__name: "AddTaskButton",
|
|
4257
4257
|
props: {
|
|
@@ -4259,13 +4259,13 @@ const Cd = /* @__PURE__ */ H(gd, [["render", Ed]]), bd = { class: "add-task-div
|
|
|
4259
4259
|
},
|
|
4260
4260
|
setup(e) {
|
|
4261
4261
|
return (t, n) => (u(), d("div", bd, [
|
|
4262
|
-
t.addTask ? (u(),
|
|
4262
|
+
t.addTask ? (u(), Y(Cd, {
|
|
4263
4263
|
key: 0,
|
|
4264
4264
|
alt: "add task icon"
|
|
4265
|
-
})) :
|
|
4265
|
+
})) : S("", !0)
|
|
4266
4266
|
]));
|
|
4267
4267
|
}
|
|
4268
|
-
}), Ld = /* @__PURE__ */
|
|
4268
|
+
}), Ld = /* @__PURE__ */ F(kd, [["__scopeId", "data-v-536dd646"]]), Sd = ["id", "d", "marker-end"], wd = /* @__PURE__ */ de({
|
|
4269
4269
|
inheritAttrs: !1,
|
|
4270
4270
|
__name: "EdgeNode",
|
|
4271
4271
|
props: {
|
|
@@ -4307,7 +4307,7 @@ const Cd = /* @__PURE__ */ H(gd, [["render", Ed]]), bd = { class: "add-task-div
|
|
|
4307
4307
|
}
|
|
4308
4308
|
},
|
|
4309
4309
|
setup(e) {
|
|
4310
|
-
const t = e, n =
|
|
4310
|
+
const t = e, n = B(() => t.data ? {
|
|
4311
4311
|
"vue-flow__edge-path": !0,
|
|
4312
4312
|
["stroke-" + t.data.color]: t.data.color,
|
|
4313
4313
|
"unused-path": t.data.unused
|
|
@@ -4318,51 +4318,51 @@ const Cd = /* @__PURE__ */ H(gd, [["render", Ed]]), bd = { class: "add-task-div
|
|
|
4318
4318
|
l = r;
|
|
4319
4319
|
} catch {
|
|
4320
4320
|
}
|
|
4321
|
-
const o =
|
|
4321
|
+
const o = B(() => {
|
|
4322
4322
|
const { haveAdd: r } = t.data ?? {};
|
|
4323
4323
|
return `${l("add task")} ${r?.length === 2 ? `${l(r[1])} ${r[0]}` : ""}`.trim();
|
|
4324
|
-
}), i =
|
|
4324
|
+
}), i = B(() => Dr(t));
|
|
4325
4325
|
return (r, a) => (u(), d(Ee, null, [
|
|
4326
4326
|
i.value?.length ? (u(), d("path", {
|
|
4327
4327
|
key: 0,
|
|
4328
4328
|
id: e.id,
|
|
4329
|
-
class:
|
|
4330
|
-
style:
|
|
4329
|
+
class: oe(n.value),
|
|
4330
|
+
style: dt(e.data.haveDashArray ? {
|
|
4331
4331
|
strokeDasharray: "2"
|
|
4332
4332
|
} : {}),
|
|
4333
4333
|
d: i.value[0],
|
|
4334
4334
|
"marker-end": e.markerEnd
|
|
4335
|
-
}, null, 14, Sd)) :
|
|
4336
|
-
i.value?.length ? (u(),
|
|
4335
|
+
}, null, 14, Sd)) : S("", !0),
|
|
4336
|
+
i.value?.length ? (u(), Y($(Rr), {
|
|
4337
4337
|
key: 1,
|
|
4338
4338
|
style: { "z-index": "10" }
|
|
4339
4339
|
}, {
|
|
4340
|
-
default:
|
|
4340
|
+
default: G(() => [
|
|
4341
4341
|
v("div", {
|
|
4342
|
-
style:
|
|
4342
|
+
style: dt({
|
|
4343
4343
|
pointerEvents: "all",
|
|
4344
4344
|
position: "absolute",
|
|
4345
4345
|
transform: `translate(-50%, -50%) translate(${i.value[1]}px,${i.value[2]}px)`
|
|
4346
4346
|
})
|
|
4347
4347
|
}, [
|
|
4348
|
-
|
|
4349
|
-
default:
|
|
4350
|
-
e.data.haveAdd ? (u(),
|
|
4348
|
+
V(re, { title: o.value }, {
|
|
4349
|
+
default: G(() => [
|
|
4350
|
+
e.data.haveAdd ? (u(), Y(Ld, {
|
|
4351
4351
|
key: 0,
|
|
4352
4352
|
"add-task": !0,
|
|
4353
4353
|
onClick: a[0] || (a[0] = (s) => r.$emit($(U).ADD_TASK, e.data.haveAdd)),
|
|
4354
|
-
class:
|
|
4355
|
-
}, null, 8, ["class"])) :
|
|
4354
|
+
class: oe({ "text-danger": e.data.color })
|
|
4355
|
+
}, null, 8, ["class"])) : S("", !0)
|
|
4356
4356
|
]),
|
|
4357
4357
|
_: 1
|
|
4358
4358
|
}, 8, ["title"])
|
|
4359
4359
|
], 4)
|
|
4360
4360
|
]),
|
|
4361
4361
|
_: 1
|
|
4362
|
-
})) :
|
|
4362
|
+
})) : S("", !0)
|
|
4363
4363
|
], 64));
|
|
4364
4364
|
}
|
|
4365
|
-
}), Nd = /* @__PURE__ */
|
|
4365
|
+
}), Nd = /* @__PURE__ */ F(wd, [["__scopeId", "data-v-5e05a3ec"]]), Td = ["innerHTML"], Ad = /* @__PURE__ */ de({
|
|
4366
4366
|
__name: "Duration",
|
|
4367
4367
|
props: {
|
|
4368
4368
|
histories: {}
|
|
@@ -4379,10 +4379,10 @@ const Cd = /* @__PURE__ */ H(gd, [["render", Ed]]), bd = { class: "add-task-div
|
|
|
4379
4379
|
Mt(() => {
|
|
4380
4380
|
a();
|
|
4381
4381
|
});
|
|
4382
|
-
const o =
|
|
4382
|
+
const o = B(() => t.histories?.length && new Date(t.histories[0].date.toString()).getTime()), i = B(() => t.histories[t.histories.length - 1]), r = B(() => t.histories.filter((C) => C.date.isValid() && C.date && C.state));
|
|
4383
4383
|
function a() {
|
|
4384
4384
|
l.value || (l.value = setInterval(() => {
|
|
4385
|
-
_(), t.histories && !
|
|
4385
|
+
_(), t.histories && !pe.isRunning(i.value.state) && s();
|
|
4386
4386
|
}, 100));
|
|
4387
4387
|
}
|
|
4388
4388
|
function s() {
|
|
@@ -4392,7 +4392,7 @@ const Cd = /* @__PURE__ */ H(gd, [["render", Ed]]), bd = { class: "add-task-div
|
|
|
4392
4392
|
return m() - o.value;
|
|
4393
4393
|
}
|
|
4394
4394
|
function m() {
|
|
4395
|
-
return !t.histories ||
|
|
4395
|
+
return !t.histories || pe.isRunning(i.value.state) ? +/* @__PURE__ */ new Date() : new Date(i.value.date.toString()).getTime();
|
|
4396
4396
|
}
|
|
4397
4397
|
function _() {
|
|
4398
4398
|
n.value = r.value.length === 0 ? " " : Ko(c() / 1e3);
|
|
@@ -4402,23 +4402,23 @@ const Cd = /* @__PURE__ */ H(gd, [["render", Ed]]), bd = { class: "add-task-div
|
|
|
4402
4402
|
}
|
|
4403
4403
|
return Li(() => {
|
|
4404
4404
|
s();
|
|
4405
|
-
}), (C, b) => (u(),
|
|
4405
|
+
}), (C, b) => (u(), Y(re, {
|
|
4406
4406
|
key: i.value.date.toString()
|
|
4407
4407
|
}, {
|
|
4408
|
-
content:
|
|
4408
|
+
content: G(() => [
|
|
4409
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:
|
|
4414
|
+
class: oe(["ks-duration-tt-square", h(L.state)])
|
|
4415
4415
|
}, null, 2),
|
|
4416
|
-
v("strong", null,
|
|
4417
|
-
Ze(
|
|
4416
|
+
v("strong", null, M(L.state) + ": ", 1),
|
|
4417
|
+
Ze(M(Yo(L.date.toISOString(), "iso")) + " ", 1),
|
|
4418
4418
|
b[0] || (b[0] = v("br", null, null, -1))
|
|
4419
4419
|
]))), 128))
|
|
4420
4420
|
]),
|
|
4421
|
-
default:
|
|
4421
|
+
default: G(() => [
|
|
4422
4422
|
v("span", { innerHTML: n.value }, null, 8, Td)
|
|
4423
4423
|
]),
|
|
4424
4424
|
_: 1
|
|
@@ -4438,9 +4438,9 @@ const Cd = /* @__PURE__ */ H(gd, [["render", Ed]]), bd = { class: "add-task-div
|
|
|
4438
4438
|
state: {}
|
|
4439
4439
|
},
|
|
4440
4440
|
setup(e) {
|
|
4441
|
-
const t = e, n =
|
|
4441
|
+
const t = e, n = B(() => t.execution?.taskRunList ? t.execution.taskRunList : []), l = B(() => n.value.filter(
|
|
4442
4442
|
(i) => i.taskId === qo(t.uid ?? "")
|
|
4443
|
-
)), o =
|
|
4443
|
+
)), o = B(() => {
|
|
4444
4444
|
if (!l.value)
|
|
4445
4445
|
return;
|
|
4446
4446
|
const i = Math.max(
|
|
@@ -4463,14 +4463,14 @@ const Cd = /* @__PURE__ */ H(gd, [["render", Ed]]), bd = { class: "add-task-div
|
|
|
4463
4463
|
];
|
|
4464
4464
|
});
|
|
4465
4465
|
return (i, r) => (u(), d("div", Id, [
|
|
4466
|
-
l.value.length > 0 ? (u(), d("span", Od,
|
|
4467
|
-
l.value.length > 0 ? (u(), d("span", $d, " | ")) :
|
|
4466
|
+
l.value.length > 0 ? (u(), d("span", Od, M(l.value.length) + " task runs", 1)) : S("", !0),
|
|
4467
|
+
l.value.length > 0 ? (u(), d("span", $d, " | ")) : S("", !0),
|
|
4468
4468
|
o.value ? (u(), d("span", Dd, [
|
|
4469
|
-
|
|
4470
|
-
])) :
|
|
4469
|
+
V(Ad, { histories: o.value }, null, 8, ["histories"])
|
|
4470
|
+
])) : S("", !0)
|
|
4471
4471
|
]));
|
|
4472
4472
|
}
|
|
4473
|
-
}), Pd = /* @__PURE__ */
|
|
4473
|
+
}), Pd = /* @__PURE__ */ F(Rd, [["__scopeId", "data-v-96fa5d6e"]]), Md = {
|
|
4474
4474
|
name: "InformationOutlineIcon",
|
|
4475
4475
|
emits: ["click"],
|
|
4476
4476
|
props: {
|
|
@@ -4503,12 +4503,12 @@ function Hd(e, t, n, l, o, i) {
|
|
|
4503
4503
|
viewBox: "0 0 24 24"
|
|
4504
4504
|
}, [
|
|
4505
4505
|
v("path", Ud, [
|
|
4506
|
-
n.title ? (u(), d("title", Fd,
|
|
4506
|
+
n.title ? (u(), d("title", Fd, M(n.title), 1)) : S("", !0)
|
|
4507
4507
|
])
|
|
4508
4508
|
], 8, xd))
|
|
4509
4509
|
], 16, Vd);
|
|
4510
4510
|
}
|
|
4511
|
-
const Bd = /* @__PURE__ */
|
|
4511
|
+
const Bd = /* @__PURE__ */ F(Md, [["render", Hd]]), zd = {
|
|
4512
4512
|
name: "ArrowExpandIcon",
|
|
4513
4513
|
emits: ["click"],
|
|
4514
4514
|
props: {
|
|
@@ -4541,12 +4541,12 @@ function Yd(e, t, n, l, o, i) {
|
|
|
4541
4541
|
viewBox: "0 0 24 24"
|
|
4542
4542
|
}, [
|
|
4543
4543
|
v("path", jd, [
|
|
4544
|
-
n.title ? (u(), d("title", Kd,
|
|
4544
|
+
n.title ? (u(), d("title", Kd, M(n.title), 1)) : S("", !0)
|
|
4545
4545
|
])
|
|
4546
4546
|
], 8, Wd))
|
|
4547
4547
|
], 16, Gd);
|
|
4548
4548
|
}
|
|
4549
|
-
const rl = /* @__PURE__ */
|
|
4549
|
+
const rl = /* @__PURE__ */ F(zd, [["render", Yd]]), qd = { class: "icon rounded" }, Xd = { class: "node-content" }, Zd = { class: "d-flex node-title" }, Jd = { class: "text-truncate task-title" }, Qd = {
|
|
4550
4550
|
key: 0,
|
|
4551
4551
|
class: "d-flex"
|
|
4552
4552
|
}, ef = { class: "text-white top-button-div" }, tf = /* @__PURE__ */ de({
|
|
@@ -4584,34 +4584,34 @@ const rl = /* @__PURE__ */ H(zd, [["render", Yd]]), qd = { class: "icon rounded"
|
|
|
4584
4584
|
function i() {
|
|
4585
4585
|
n(U.MOUSE_LEAVE);
|
|
4586
4586
|
}
|
|
4587
|
-
const r =
|
|
4587
|
+
const r = B(() => l.data?.expandable || !1), a = B(() => l.data.node?.plugin ?? l.data.node?.task ?? l.data.node?.trigger ?? null), s = B(() => a.value?.description ?? null), c = B(() => Re.afterLastDot(l.id ?? "")), m = B(() => ["default", "danger"].includes(l.data.color) ? "" : l.data.color), _ = B(() => [
|
|
4588
4588
|
{
|
|
4589
4589
|
"unused-path": l.data.unused,
|
|
4590
4590
|
disabled: a.value?.disabled || l.data.parent?.taskNode?.task?.disabled
|
|
4591
4591
|
},
|
|
4592
4592
|
l.class
|
|
4593
|
-
]), h =
|
|
4593
|
+
]), h = B(() => {
|
|
4594
4594
|
if (l.data.node.triggerDeclaration)
|
|
4595
4595
|
return l.data.node.triggerDeclaration.type;
|
|
4596
4596
|
if (a.value)
|
|
4597
4597
|
return a.value?.type;
|
|
4598
|
-
}), C =
|
|
4598
|
+
}), C = B(() => {
|
|
4599
4599
|
if (a.value?.type?.endsWith("SubflowGraphTask")) {
|
|
4600
4600
|
const L = a.value.subflowId ?? a.value;
|
|
4601
4601
|
return L.namespace + " " + L.flowId;
|
|
4602
4602
|
}
|
|
4603
4603
|
return c.value;
|
|
4604
|
-
}), b =
|
|
4604
|
+
}), b = B(() => l.title ?? c.value);
|
|
4605
4605
|
return (L, y) => (u(), d("div", {
|
|
4606
|
-
class:
|
|
4607
|
-
style:
|
|
4606
|
+
class: oe(["node-wrapper rounded-3", { ..._.value, "running-border-animation": L.state === "RUNNING" }]),
|
|
4607
|
+
style: dt({ 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(),
|
|
4612
|
+
(u(), Y(nt(L.iconComponent || io), {
|
|
4613
4613
|
cls: h.value,
|
|
4614
|
-
class:
|
|
4614
|
+
class: oe([m.value, "rounded bg-white"]),
|
|
4615
4615
|
theme: "light",
|
|
4616
4616
|
icons: L.icons
|
|
4617
4617
|
}, null, 8, ["cls", "class", "icons"]))
|
|
@@ -4619,27 +4619,27 @@ const rl = /* @__PURE__ */ H(zd, [["render", Yd]]), qd = { class: "icon rounded"
|
|
|
4619
4619
|
v("div", Xd, [
|
|
4620
4620
|
v("div", Zd, [
|
|
4621
4621
|
v("div", Jd, [
|
|
4622
|
-
|
|
4623
|
-
default:
|
|
4624
|
-
Ze(
|
|
4622
|
+
V(re, { title: C.value }, {
|
|
4623
|
+
default: G(() => [
|
|
4624
|
+
Ze(M(b.value), 1)
|
|
4625
4625
|
]),
|
|
4626
4626
|
_: 1
|
|
4627
4627
|
}, 8, ["title"])
|
|
4628
4628
|
]),
|
|
4629
4629
|
s.value ? (u(), d("span", Qd, [
|
|
4630
|
-
|
|
4630
|
+
V(re, {
|
|
4631
4631
|
title: L.$t("show description"),
|
|
4632
4632
|
class: "d-flex align-items-center"
|
|
4633
4633
|
}, {
|
|
4634
|
-
default:
|
|
4635
|
-
|
|
4634
|
+
default: G(() => [
|
|
4635
|
+
V(Bd, {
|
|
4636
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
|
]),
|
|
4640
4640
|
_: 1
|
|
4641
4641
|
}, 8, ["title"])
|
|
4642
|
-
])) :
|
|
4642
|
+
])) : S("", !0)
|
|
4643
4643
|
]),
|
|
4644
4644
|
ae(L.$slots, "content", {}, void 0, !0)
|
|
4645
4645
|
]),
|
|
@@ -4647,43 +4647,43 @@ const rl = /* @__PURE__ */ H(zd, [["render", Yd]]), qd = { class: "icon rounded"
|
|
|
4647
4647
|
ae(L.$slots, "badge-button-before", {}, void 0, !0),
|
|
4648
4648
|
L.data.link ? (u(), d("span", {
|
|
4649
4649
|
key: 0,
|
|
4650
|
-
class:
|
|
4650
|
+
class: oe(["circle-button", [`bg-${L.data.color}`]]),
|
|
4651
4651
|
onClick: y[1] || (y[1] = (p) => L.$emit($(U).OPEN_LINK, { link: L.data.link }))
|
|
4652
4652
|
}, [
|
|
4653
|
-
|
|
4653
|
+
V(re, {
|
|
4654
4654
|
title: L.$t("open")
|
|
4655
4655
|
}, {
|
|
4656
|
-
default:
|
|
4657
|
-
|
|
4656
|
+
default: G(() => [
|
|
4657
|
+
V(oo, {
|
|
4658
4658
|
class: "button-icon",
|
|
4659
4659
|
alt: "Open in new tab"
|
|
4660
4660
|
})
|
|
4661
4661
|
]),
|
|
4662
4662
|
_: 1
|
|
4663
4663
|
}, 8, ["title"])
|
|
4664
|
-
], 2)) :
|
|
4664
|
+
], 2)) : S("", !0),
|
|
4665
4665
|
r.value ? (u(), d("span", {
|
|
4666
4666
|
key: 1,
|
|
4667
|
-
class:
|
|
4667
|
+
class: oe(["circle-button", [`bg-${L.data.color}`]]),
|
|
4668
4668
|
onClick: y[2] || (y[2] = (p) => L.$emit($(U).EXPAND))
|
|
4669
4669
|
}, [
|
|
4670
|
-
|
|
4670
|
+
V(re, {
|
|
4671
4671
|
title: L.$t("expand")
|
|
4672
4672
|
}, {
|
|
4673
|
-
default:
|
|
4674
|
-
|
|
4673
|
+
default: G(() => [
|
|
4674
|
+
V(rl, {
|
|
4675
4675
|
class: "button-icon",
|
|
4676
4676
|
alt: "Expand task"
|
|
4677
4677
|
})
|
|
4678
4678
|
]),
|
|
4679
4679
|
_: 1
|
|
4680
4680
|
}, 8, ["title"])
|
|
4681
|
-
], 2)) :
|
|
4681
|
+
], 2)) : S("", !0),
|
|
4682
4682
|
ae(L.$slots, "badge-button-after", {}, void 0, !0)
|
|
4683
4683
|
])
|
|
4684
4684
|
], 38));
|
|
4685
4685
|
}
|
|
4686
|
-
}), al = /* @__PURE__ */
|
|
4686
|
+
}), al = /* @__PURE__ */ F(tf, [["__scopeId", "data-v-fafddf6d"]]), sl = Symbol("execution-injection-key"), uo = Symbol("subflows-executions-injection-key"), nf = {
|
|
4687
4687
|
name: "PencilIcon",
|
|
4688
4688
|
emits: ["click"],
|
|
4689
4689
|
props: {
|
|
@@ -4716,12 +4716,12 @@ function sf(e, t, n, l, o, i) {
|
|
|
4716
4716
|
viewBox: "0 0 24 24"
|
|
4717
4717
|
}, [
|
|
4718
4718
|
v("path", rf, [
|
|
4719
|
-
n.title ? (u(), d("title", af,
|
|
4719
|
+
n.title ? (u(), d("title", af, M(n.title), 1)) : S("", !0)
|
|
4720
4720
|
])
|
|
4721
4721
|
], 8, of))
|
|
4722
4722
|
], 16, lf);
|
|
4723
4723
|
}
|
|
4724
|
-
const ul = /* @__PURE__ */
|
|
4724
|
+
const ul = /* @__PURE__ */ F(nf, [["render", sf]]), uf = {
|
|
4725
4725
|
name: "DeleteIcon",
|
|
4726
4726
|
emits: ["click"],
|
|
4727
4727
|
props: {
|
|
@@ -4754,12 +4754,12 @@ function pf(e, t, n, l, o, i) {
|
|
|
4754
4754
|
viewBox: "0 0 24 24"
|
|
4755
4755
|
}, [
|
|
4756
4756
|
v("path", ff, [
|
|
4757
|
-
n.title ? (u(), d("title", mf,
|
|
4757
|
+
n.title ? (u(), d("title", mf, M(n.title), 1)) : S("", !0)
|
|
4758
4758
|
])
|
|
4759
4759
|
], 8, df))
|
|
4760
4760
|
], 16, cf);
|
|
4761
4761
|
}
|
|
4762
|
-
const cl = /* @__PURE__ */
|
|
4762
|
+
const cl = /* @__PURE__ */ F(uf, [["render", pf]]), gf = {
|
|
4763
4763
|
name: "TextBoxSearchIcon",
|
|
4764
4764
|
emits: ["click"],
|
|
4765
4765
|
props: {
|
|
@@ -4792,12 +4792,12 @@ function Ef(e, t, n, l, o, i) {
|
|
|
4792
4792
|
viewBox: "0 0 24 24"
|
|
4793
4793
|
}, [
|
|
4794
4794
|
v("path", yf, [
|
|
4795
|
-
n.title ? (u(), d("title", vf,
|
|
4795
|
+
n.title ? (u(), d("title", vf, M(n.title), 1)) : S("", !0)
|
|
4796
4796
|
])
|
|
4797
4797
|
], 8, _f))
|
|
4798
4798
|
], 16, hf);
|
|
4799
4799
|
}
|
|
4800
|
-
const Cf = /* @__PURE__ */
|
|
4800
|
+
const Cf = /* @__PURE__ */ F(gf, [["render", Ef]]), bf = {
|
|
4801
4801
|
name: "AlertOutlineIcon",
|
|
4802
4802
|
emits: ["click"],
|
|
4803
4803
|
props: {
|
|
@@ -4830,12 +4830,12 @@ function Nf(e, t, n, l, o, i) {
|
|
|
4830
4830
|
viewBox: "0 0 24 24"
|
|
4831
4831
|
}, [
|
|
4832
4832
|
v("path", Sf, [
|
|
4833
|
-
n.title ? (u(), d("title", wf,
|
|
4833
|
+
n.title ? (u(), d("title", wf, M(n.title), 1)) : S("", !0)
|
|
4834
4834
|
])
|
|
4835
4835
|
], 8, Lf))
|
|
4836
4836
|
], 16, kf);
|
|
4837
4837
|
}
|
|
4838
|
-
const Tf = /* @__PURE__ */
|
|
4838
|
+
const Tf = /* @__PURE__ */ F(bf, [["render", Nf]]), Af = {
|
|
4839
4839
|
name: "SendLockIcon",
|
|
4840
4840
|
emits: ["click"],
|
|
4841
4841
|
props: {
|
|
@@ -4868,12 +4868,12 @@ function Rf(e, t, n, l, o, i) {
|
|
|
4868
4868
|
viewBox: "0 0 24 24"
|
|
4869
4869
|
}, [
|
|
4870
4870
|
v("path", $f, [
|
|
4871
|
-
n.title ? (u(), d("title", Df,
|
|
4871
|
+
n.title ? (u(), d("title", Df, M(n.title), 1)) : S("", !0)
|
|
4872
4872
|
])
|
|
4873
4873
|
], 8, Of))
|
|
4874
4874
|
], 16, If);
|
|
4875
4875
|
}
|
|
4876
|
-
const Pf = /* @__PURE__ */
|
|
4876
|
+
const Pf = /* @__PURE__ */ F(Af, [["render", Rf]]), Mf = {
|
|
4877
4877
|
name: "PlayIcon",
|
|
4878
4878
|
emits: ["click"],
|
|
4879
4879
|
props: {
|
|
@@ -4906,12 +4906,12 @@ function Hf(e, t, n, l, o, i) {
|
|
|
4906
4906
|
viewBox: "0 0 24 24"
|
|
4907
4907
|
}, [
|
|
4908
4908
|
v("path", Uf, [
|
|
4909
|
-
n.title ? (u(), d("title", Ff,
|
|
4909
|
+
n.title ? (u(), d("title", Ff, M(n.title), 1)) : S("", !0)
|
|
4910
4910
|
])
|
|
4911
4911
|
], 8, xf))
|
|
4912
4912
|
], 16, Vf);
|
|
4913
4913
|
}
|
|
4914
|
-
const Bf = /* @__PURE__ */
|
|
4914
|
+
const Bf = /* @__PURE__ */ F(Mf, [["render", Hf]]), zf = {
|
|
4915
4915
|
name: "CheckIcon",
|
|
4916
4916
|
emits: ["click"],
|
|
4917
4917
|
props: {
|
|
@@ -4944,12 +4944,12 @@ function Yf(e, t, n, l, o, i) {
|
|
|
4944
4944
|
viewBox: "0 0 24 24"
|
|
4945
4945
|
}, [
|
|
4946
4946
|
v("path", jf, [
|
|
4947
|
-
n.title ? (u(), d("title", Kf,
|
|
4947
|
+
n.title ? (u(), d("title", Kf, M(n.title), 1)) : S("", !0)
|
|
4948
4948
|
])
|
|
4949
4949
|
], 8, Wf))
|
|
4950
4950
|
], 16, Gf);
|
|
4951
4951
|
}
|
|
4952
|
-
const co = /* @__PURE__ */
|
|
4952
|
+
const co = /* @__PURE__ */ F(zf, [["render", Yf]]), qf = {
|
|
4953
4953
|
name: "AlertIcon",
|
|
4954
4954
|
emits: ["click"],
|
|
4955
4955
|
props: {
|
|
@@ -4982,12 +4982,12 @@ function em(e, t, n, l, o, i) {
|
|
|
4982
4982
|
viewBox: "0 0 24 24"
|
|
4983
4983
|
}, [
|
|
4984
4984
|
v("path", Jf, [
|
|
4985
|
-
n.title ? (u(), d("title", Qf,
|
|
4985
|
+
n.title ? (u(), d("title", Qf, M(n.title), 1)) : S("", !0)
|
|
4986
4986
|
])
|
|
4987
4987
|
], 8, Zf))
|
|
4988
4988
|
], 16, Xf);
|
|
4989
4989
|
}
|
|
4990
|
-
const dl = /* @__PURE__ */
|
|
4990
|
+
const dl = /* @__PURE__ */ F(qf, [["render", em]]), tm = {
|
|
4991
4991
|
name: "SkipForwardIcon",
|
|
4992
4992
|
emits: ["click"],
|
|
4993
4993
|
props: {
|
|
@@ -5020,12 +5020,12 @@ function rm(e, t, n, l, o, i) {
|
|
|
5020
5020
|
viewBox: "0 0 24 24"
|
|
5021
5021
|
}, [
|
|
5022
5022
|
v("path", im, [
|
|
5023
|
-
n.title ? (u(), d("title", om,
|
|
5023
|
+
n.title ? (u(), d("title", om, M(n.title), 1)) : S("", !0)
|
|
5024
5024
|
])
|
|
5025
5025
|
], 8, lm))
|
|
5026
5026
|
], 16, nm);
|
|
5027
5027
|
}
|
|
5028
|
-
const am = /* @__PURE__ */
|
|
5028
|
+
const am = /* @__PURE__ */ F(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
5029
5029
|
name: "TaskNode",
|
|
5030
5030
|
inheritAttrs: !1,
|
|
5031
5031
|
__name: "TaskNode",
|
|
@@ -5041,35 +5041,35 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5041
5041
|
playgroundReadyToStart: { type: Boolean }
|
|
5042
5042
|
},
|
|
5043
5043
|
setup(e, { emit: t }) {
|
|
5044
|
-
const n = e, l = t, o = Rn(sl), i = Rn(uo), r =
|
|
5044
|
+
const n = e, l = t, o = Rn(sl), i = Rn(uo), r = B(() => n.data.color ?? "primary"), a = B(() => Re.afterLastDot(n.id)), s = B(() => {
|
|
5045
5045
|
const y = n.data.executionId;
|
|
5046
5046
|
if (y)
|
|
5047
5047
|
return y === o?.value?.id ? o?.value : Object.values(i?.value || {}).find((p) => p.id === y);
|
|
5048
|
-
}), c =
|
|
5048
|
+
}), c = B(() => s.value && s.value.taskRunList ? s.value.taskRunList : []), m = B(() => c.value.filter(
|
|
5049
5049
|
(y) => y.taskId === Re.afterLastDot(n.data.node.uid)
|
|
5050
|
-
)), _ =
|
|
5050
|
+
)), _ = B(() => {
|
|
5051
5051
|
if (!m.value?.length)
|
|
5052
5052
|
return null;
|
|
5053
5053
|
if (m.value.length === 1)
|
|
5054
5054
|
return m.value[0].state.current;
|
|
5055
5055
|
const y = m.value.map((A) => A.state.current), p = [
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5056
|
+
pe.FAILED,
|
|
5057
|
+
pe.KILLED,
|
|
5058
|
+
pe.WARNING,
|
|
5059
|
+
pe.SKIPPED,
|
|
5060
|
+
pe.KILLING,
|
|
5061
|
+
pe.RUNNING,
|
|
5062
|
+
pe.SUCCESS,
|
|
5063
|
+
pe.RESTARTED,
|
|
5064
|
+
pe.CREATED
|
|
5065
5065
|
];
|
|
5066
5066
|
return y.map((A) => [p.indexOf(A[1]), A]).sort().map((A) => A[1])[0];
|
|
5067
|
-
}), h =
|
|
5067
|
+
}), h = B(() => ({
|
|
5068
5068
|
"execution-no-taskrun": !!(s.value && m.value && m.value.length === 0)
|
|
5069
|
-
})), C =
|
|
5069
|
+
})), C = B(() => ({
|
|
5070
5070
|
id: n.id,
|
|
5071
5071
|
type: String(n.data.node.task.type)
|
|
5072
|
-
})), b =
|
|
5072
|
+
})), b = B(() => {
|
|
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,28 +5084,28 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5084
5084
|
};
|
|
5085
5085
|
}
|
|
5086
5086
|
return n.data;
|
|
5087
|
-
}), L =
|
|
5088
|
-
if (_.value ===
|
|
5087
|
+
}), L = B(() => {
|
|
5088
|
+
if (_.value === pe.RUNNING)
|
|
5089
5089
|
return "task is running";
|
|
5090
|
-
if (_.value ===
|
|
5090
|
+
if (_.value === pe.SUCCESS)
|
|
5091
5091
|
return "task was successful";
|
|
5092
|
-
if (_.value ===
|
|
5092
|
+
if (_.value === pe.WARNING)
|
|
5093
5093
|
return "task sent a warning";
|
|
5094
|
-
if (_.value ===
|
|
5094
|
+
if (_.value === pe.SKIPPED)
|
|
5095
5095
|
return "task was skipped";
|
|
5096
|
-
if (_.value ===
|
|
5096
|
+
if (_.value === pe.FAILED)
|
|
5097
5097
|
return "task failed";
|
|
5098
5098
|
});
|
|
5099
5099
|
return (y, p) => (u(), d(Ee, null, [
|
|
5100
|
-
|
|
5100
|
+
V($(Me), {
|
|
5101
5101
|
type: "source",
|
|
5102
5102
|
position: y.sourcePosition
|
|
5103
5103
|
}, null, 8, ["position"]),
|
|
5104
|
-
|
|
5104
|
+
V(al, {
|
|
5105
5105
|
id: y.id,
|
|
5106
5106
|
data: b.value,
|
|
5107
5107
|
state: _.value,
|
|
5108
|
-
class:
|
|
5108
|
+
class: oe(h.value),
|
|
5109
5109
|
icons: y.icons,
|
|
5110
5110
|
"icon-component": y.iconComponent,
|
|
5111
5111
|
onShowDescription: p[6] || (p[6] = (E) => l($(U).SHOW_DESCRIPTION, E)),
|
|
@@ -5114,15 +5114,15 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5114
5114
|
onMouseover: p[9] || (p[9] = (E) => l($(U).MOUSE_OVER, E)),
|
|
5115
5115
|
onMouseleave: p[10] || (p[10] = (E) => l($(U).MOUSE_LEAVE))
|
|
5116
5116
|
}, {
|
|
5117
|
-
content:
|
|
5118
|
-
s.value ? (u(),
|
|
5117
|
+
content: G(() => [
|
|
5118
|
+
s.value ? (u(), Y(Pd, {
|
|
5119
5119
|
key: 0,
|
|
5120
5120
|
execution: s.value,
|
|
5121
5121
|
task: y.data.node.task,
|
|
5122
5122
|
color: r.value,
|
|
5123
5123
|
uid: y.data.node.uid,
|
|
5124
5124
|
state: _.value
|
|
5125
|
-
}, null, 8, ["execution", "task", "color", "uid", "state"])) :
|
|
5125
|
+
}, null, 8, ["execution", "task", "color", "uid", "state"])) : S("", !0),
|
|
5126
5126
|
y.data.node.task ? (u(), d(Ee, { key: 1 }, [
|
|
5127
5127
|
y.playgroundEnabled && y.playgroundReadyToStart ? (u(), d("button", {
|
|
5128
5128
|
key: 0,
|
|
@@ -5130,12 +5130,12 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5130
5130
|
class: "playground-button",
|
|
5131
5131
|
onClick: p[0] || (p[0] = (E) => l($(U).RUN_TASK, { task: y.data.node.task }))
|
|
5132
5132
|
}, [
|
|
5133
|
-
|
|
5133
|
+
V(re, {
|
|
5134
5134
|
style: { display: "flex" },
|
|
5135
5135
|
title: y.$t("run task in playground")
|
|
5136
5136
|
}, {
|
|
5137
|
-
default:
|
|
5138
|
-
|
|
5137
|
+
default: G(() => [
|
|
5138
|
+
V(Bf, {
|
|
5139
5139
|
class: "button-play-icon",
|
|
5140
5140
|
alt: y.$t("run task in playground")
|
|
5141
5141
|
}, null, 8, ["alt"])
|
|
@@ -5145,134 +5145,134 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5145
5145
|
])) : (u(), d("div", {
|
|
5146
5146
|
key: 1,
|
|
5147
5147
|
class: "playground-button",
|
|
5148
|
-
style:
|
|
5148
|
+
style: dt({
|
|
5149
5149
|
color: `var(--ks-content-${_.value?.toLowerCase()})`,
|
|
5150
5150
|
backgroundColor: `var(--ks-background-${_.value?.toLowerCase()})`
|
|
5151
5151
|
})
|
|
5152
5152
|
}, [
|
|
5153
|
-
|
|
5153
|
+
V(re, {
|
|
5154
5154
|
style: { display: "flex" },
|
|
5155
5155
|
title: L.value ? y.$t(L.value) : void 0
|
|
5156
5156
|
}, {
|
|
5157
|
-
default:
|
|
5158
|
-
_.value === $(
|
|
5157
|
+
default: G(() => [
|
|
5158
|
+
_.value === $(pe).RUNNING ? (u(), Y(hs, {
|
|
5159
5159
|
key: 0,
|
|
5160
5160
|
alt: L.value ? y.$t(L.value) : void 0
|
|
5161
|
-
}, null, 8, ["alt"])) : _.value === $(
|
|
5161
|
+
}, null, 8, ["alt"])) : _.value === $(pe).SUCCESS ? (u(), Y(co, {
|
|
5162
5162
|
key: 1,
|
|
5163
5163
|
alt: L.value ? y.$t(L.value) : void 0
|
|
5164
|
-
}, null, 8, ["alt"])) : _.value === $(
|
|
5164
|
+
}, null, 8, ["alt"])) : _.value === $(pe).WARNING ? (u(), Y(dl, {
|
|
5165
5165
|
key: 2,
|
|
5166
5166
|
alt: L.value ? y.$t(L.value) : void 0
|
|
5167
|
-
}, null, 8, ["alt"])) : _.value === $(
|
|
5167
|
+
}, null, 8, ["alt"])) : _.value === $(pe).SKIPPED ? (u(), Y(am, {
|
|
5168
5168
|
key: 3,
|
|
5169
5169
|
alt: L.value ? y.$t(L.value) : void 0
|
|
5170
|
-
}, null, 8, ["alt"])) : _.value === $(
|
|
5170
|
+
}, null, 8, ["alt"])) : _.value === $(pe).FAILED ? (u(), Y(Qt, {
|
|
5171
5171
|
key: 4,
|
|
5172
5172
|
alt: L.value ? y.$t(L.value) : void 0
|
|
5173
|
-
}, null, 8, ["alt"])) :
|
|
5173
|
+
}, null, 8, ["alt"])) : S("", !0)
|
|
5174
5174
|
]),
|
|
5175
5175
|
_: 1
|
|
5176
5176
|
}, 8, ["title"])
|
|
5177
5177
|
], 4))
|
|
5178
|
-
], 64)) :
|
|
5178
|
+
], 64)) : S("", !0)
|
|
5179
5179
|
]),
|
|
5180
|
-
"badge-button-before":
|
|
5180
|
+
"badge-button-before": G(() => [
|
|
5181
5181
|
y.data.node.task && y.data.node.task.runIf ? (u(), d("span", {
|
|
5182
5182
|
key: 0,
|
|
5183
|
-
class:
|
|
5184
|
-
onClick: p[1] || (p[1] = (E) => l($(U).SHOW_CONDITION, { id: a.value, task: y.data.node.task, section: $(
|
|
5183
|
+
class: oe(["circle-button", ["bg-warning"]]),
|
|
5184
|
+
onClick: p[1] || (p[1] = (E) => l($(U).SHOW_CONDITION, { id: a.value, task: y.data.node.task, section: $(ct).TASKS }))
|
|
5185
5185
|
}, [
|
|
5186
|
-
|
|
5186
|
+
V(re, {
|
|
5187
5187
|
title: y.$t("show task condition")
|
|
5188
5188
|
}, {
|
|
5189
|
-
default:
|
|
5190
|
-
|
|
5189
|
+
default: G(() => [
|
|
5190
|
+
V(Pf, {
|
|
5191
5191
|
class: "button-icon",
|
|
5192
5192
|
alt: "Show condition"
|
|
5193
5193
|
})
|
|
5194
5194
|
]),
|
|
5195
5195
|
_: 1
|
|
5196
5196
|
}, 8, ["title"])
|
|
5197
|
-
])) :
|
|
5197
|
+
])) : S("", !0),
|
|
5198
5198
|
s.value ? (u(), d("span", {
|
|
5199
5199
|
key: 1,
|
|
5200
|
-
class:
|
|
5200
|
+
class: oe(["circle-button", [`bg-${r.value}`]]),
|
|
5201
5201
|
onClick: p[2] || (p[2] = (E) => l($(U).SHOW_LOGS, { id: a.value, execution: s.value, taskRuns: m.value }))
|
|
5202
5202
|
}, [
|
|
5203
|
-
|
|
5203
|
+
V(re, {
|
|
5204
5204
|
title: y.$t("show task logs")
|
|
5205
5205
|
}, {
|
|
5206
|
-
default:
|
|
5207
|
-
|
|
5206
|
+
default: G(() => [
|
|
5207
|
+
V(Cf, {
|
|
5208
5208
|
class: "button-icon",
|
|
5209
5209
|
alt: "Show logs"
|
|
5210
5210
|
})
|
|
5211
5211
|
]),
|
|
5212
5212
|
_: 1
|
|
5213
5213
|
}, 8, ["title"])
|
|
5214
|
-
], 2)) :
|
|
5214
|
+
], 2)) : S("", !0),
|
|
5215
5215
|
!s.value && !y.data.isReadOnly && y.data.isFlowable ? (u(), d("span", {
|
|
5216
5216
|
key: 2,
|
|
5217
|
-
class:
|
|
5217
|
+
class: oe(["circle-button", [`bg-${r.value}`]]),
|
|
5218
5218
|
onClick: p[3] || (p[3] = (E) => l($(U).ADD_ERROR, { task: y.data.node.task }))
|
|
5219
5219
|
}, [
|
|
5220
|
-
|
|
5220
|
+
V(re, {
|
|
5221
5221
|
title: y.$t("add error handler")
|
|
5222
5222
|
}, {
|
|
5223
|
-
default:
|
|
5224
|
-
|
|
5223
|
+
default: G(() => [
|
|
5224
|
+
V(Tf, {
|
|
5225
5225
|
class: "button-icon",
|
|
5226
5226
|
alt: "Add error handler"
|
|
5227
5227
|
})
|
|
5228
5228
|
]),
|
|
5229
5229
|
_: 1
|
|
5230
5230
|
}, 8, ["title"])
|
|
5231
|
-
], 2)) :
|
|
5231
|
+
], 2)) : S("", !0),
|
|
5232
5232
|
!s.value && !y.data.isReadOnly ? (u(), d("span", {
|
|
5233
5233
|
key: 3,
|
|
5234
|
-
class:
|
|
5235
|
-
onClick: p[4] || (p[4] = (E) => l($(U).EDIT, { task: y.data.node.task, section: $(
|
|
5234
|
+
class: oe(["circle-button", [`bg-${r.value}`]]),
|
|
5235
|
+
onClick: p[4] || (p[4] = (E) => l($(U).EDIT, { task: y.data.node.task, section: $(ct).TASKS }))
|
|
5236
5236
|
}, [
|
|
5237
|
-
|
|
5237
|
+
V(re, {
|
|
5238
5238
|
title: y.$t("edit")
|
|
5239
5239
|
}, {
|
|
5240
|
-
default:
|
|
5241
|
-
|
|
5240
|
+
default: G(() => [
|
|
5241
|
+
V(ul, {
|
|
5242
5242
|
class: "button-icon",
|
|
5243
5243
|
alt: "Edit task"
|
|
5244
5244
|
})
|
|
5245
5245
|
]),
|
|
5246
5246
|
_: 1
|
|
5247
5247
|
}, 8, ["title"])
|
|
5248
|
-
], 2)) :
|
|
5248
|
+
], 2)) : S("", !0),
|
|
5249
5249
|
!s.value && !y.data.isReadOnly ? (u(), d("span", {
|
|
5250
5250
|
key: 4,
|
|
5251
|
-
class:
|
|
5252
|
-
onClick: p[5] || (p[5] = (E) => l($(U).DELETE, { id: a.value, section: $(
|
|
5251
|
+
class: oe(["circle-button", [`bg-${r.value}`]]),
|
|
5252
|
+
onClick: p[5] || (p[5] = (E) => l($(U).DELETE, { id: a.value, section: $(ct).TASKS }))
|
|
5253
5253
|
}, [
|
|
5254
|
-
|
|
5254
|
+
V(re, {
|
|
5255
5255
|
title: y.$t("delete")
|
|
5256
5256
|
}, {
|
|
5257
|
-
default:
|
|
5258
|
-
|
|
5257
|
+
default: G(() => [
|
|
5258
|
+
V(cl, {
|
|
5259
5259
|
class: "button-icon",
|
|
5260
5260
|
alt: "Delete task"
|
|
5261
5261
|
})
|
|
5262
5262
|
]),
|
|
5263
5263
|
_: 1
|
|
5264
5264
|
}, 8, ["title"])
|
|
5265
|
-
], 2)) :
|
|
5265
|
+
], 2)) : S("", !0)
|
|
5266
5266
|
]),
|
|
5267
5267
|
_: 1
|
|
5268
5268
|
}, 8, ["id", "data", "state", "class", "icons", "icon-component"]),
|
|
5269
|
-
|
|
5269
|
+
V($(Me), {
|
|
5270
5270
|
type: "target",
|
|
5271
5271
|
position: y.targetPosition
|
|
5272
5272
|
}, null, 8, ["position"])
|
|
5273
5273
|
], 64));
|
|
5274
5274
|
}
|
|
5275
|
-
}), um = /* @__PURE__ */
|
|
5275
|
+
}), um = /* @__PURE__ */ F(sm, [["__scopeId", "data-v-3bf9185b"]]), cm = {
|
|
5276
5276
|
name: "Task",
|
|
5277
5277
|
inheritAttrs: !1,
|
|
5278
5278
|
inject: {
|
|
@@ -5282,7 +5282,7 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5282
5282
|
},
|
|
5283
5283
|
computed: {
|
|
5284
5284
|
SECTIONS() {
|
|
5285
|
-
return
|
|
5285
|
+
return ct;
|
|
5286
5286
|
},
|
|
5287
5287
|
EVENTS() {
|
|
5288
5288
|
return U;
|
|
@@ -5309,7 +5309,7 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5309
5309
|
Delete: cl,
|
|
5310
5310
|
Pencil: ul,
|
|
5311
5311
|
Handle: Me,
|
|
5312
|
-
Tooltip:
|
|
5312
|
+
Tooltip: re
|
|
5313
5313
|
},
|
|
5314
5314
|
props: {
|
|
5315
5315
|
data: {
|
|
@@ -5345,11 +5345,11 @@ 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
|
-
|
|
5348
|
+
V($(Me), {
|
|
5349
5349
|
type: "source",
|
|
5350
5350
|
position: e.sourcePosition
|
|
5351
5351
|
}, null, 8, ["position"]),
|
|
5352
|
-
|
|
5352
|
+
V(al, {
|
|
5353
5353
|
id: e.id,
|
|
5354
5354
|
data: t.formattedData,
|
|
5355
5355
|
color: t.color,
|
|
@@ -5360,17 +5360,17 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5360
5360
|
}, Si({ _: 2 }, [
|
|
5361
5361
|
e.data.isReadOnly ? void 0 : {
|
|
5362
5362
|
name: "badge-button-before",
|
|
5363
|
-
fn:
|
|
5364
|
-
t.execution ?
|
|
5363
|
+
fn: G(() => [
|
|
5364
|
+
t.execution ? S("", !0) : (u(), d("span", {
|
|
5365
5365
|
key: 0,
|
|
5366
|
-
class:
|
|
5367
|
-
onClick: n[0] || (n[0] = (l) => t.$emit($(U).EDIT, { task: e.data.node.triggerDeclaration, section: $(
|
|
5366
|
+
class: oe(["circle-button", [`bg-${t.color}`]]),
|
|
5367
|
+
onClick: n[0] || (n[0] = (l) => t.$emit($(U).EDIT, { task: e.data.node.triggerDeclaration, section: $(ct).TRIGGERS }))
|
|
5368
5368
|
}, [
|
|
5369
|
-
|
|
5369
|
+
V(re, {
|
|
5370
5370
|
title: t.$t("edit")
|
|
5371
5371
|
}, {
|
|
5372
|
-
default:
|
|
5373
|
-
|
|
5372
|
+
default: G(() => [
|
|
5373
|
+
V(ul, {
|
|
5374
5374
|
class: "button-icon",
|
|
5375
5375
|
alt: "Edit task"
|
|
5376
5376
|
})
|
|
@@ -5378,16 +5378,16 @@ const am = /* @__PURE__ */ H(tm, [["render", rm]]), sm = /* @__PURE__ */ de({
|
|
|
5378
5378
|
_: 1
|
|
5379
5379
|
}, 8, ["title"])
|
|
5380
5380
|
], 2)),
|
|
5381
|
-
t.execution ?
|
|
5381
|
+
t.execution ? S("", !0) : (u(), d("span", {
|
|
5382
5382
|
key: 1,
|
|
5383
|
-
class:
|
|
5384
|
-
onClick: n[1] || (n[1] = (l) => t.$emit($(U).DELETE, { id: t.triggerId, section: $(
|
|
5383
|
+
class: oe(["circle-button", [`bg-${t.color}`]]),
|
|
5384
|
+
onClick: n[1] || (n[1] = (l) => t.$emit($(U).DELETE, { id: t.triggerId, section: $(ct).TRIGGERS }))
|
|
5385
5385
|
}, [
|
|
5386
|
-
|
|
5386
|
+
V(re, {
|
|
5387
5387
|
title: t.$t("delete")
|
|
5388
5388
|
}, {
|
|
5389
|
-
default:
|
|
5390
|
-
|
|
5389
|
+
default: G(() => [
|
|
5390
|
+
V(cl, {
|
|
5391
5391
|
class: "button-icon",
|
|
5392
5392
|
alt: "Delete task"
|
|
5393
5393
|
})
|
|
@@ -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
|
-
|
|
5402
|
+
V($(Me), {
|
|
5403
5403
|
type: "target",
|
|
5404
5404
|
position: e.targetPosition
|
|
5405
5405
|
}, null, 8, ["position"])
|
|
@@ -5438,14 +5438,14 @@ function _m(e, t, n, l, o, i) {
|
|
|
5438
5438
|
viewBox: "0 0 24 24"
|
|
5439
5439
|
}, [
|
|
5440
5440
|
v("path", gm, [
|
|
5441
|
-
n.title ? (u(), d("title", hm,
|
|
5441
|
+
n.title ? (u(), d("title", hm, M(n.title), 1)) : S("", !0)
|
|
5442
5442
|
])
|
|
5443
5443
|
], 8, pm))
|
|
5444
5444
|
], 16, mm);
|
|
5445
5445
|
}
|
|
5446
|
-
const ym = /* @__PURE__ */
|
|
5446
|
+
const ym = /* @__PURE__ */ F(fm, [["render", _m]]), vm = { class: "collapsed-cluster-node d-flex" }, Em = { class: "node-text" }, Cm = { class: "text-white top-button-div" }, bm = {
|
|
5447
5447
|
components: {
|
|
5448
|
-
Tooltip:
|
|
5448
|
+
Tooltip: re,
|
|
5449
5449
|
Handle: Me,
|
|
5450
5450
|
ArrowExpand: rl,
|
|
5451
5451
|
LightningBolt: ym
|
|
@@ -5491,47 +5491,47 @@ 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
|
-
|
|
5494
|
+
V($(Me), {
|
|
5495
5495
|
type: "source",
|
|
5496
5496
|
position: e.sourcePosition
|
|
5497
5497
|
}, null, 8, ["position"]),
|
|
5498
5498
|
v("div", vm, [
|
|
5499
5499
|
v("span", Em, [
|
|
5500
|
-
e.data.iconComponent ? (u(),
|
|
5500
|
+
e.data.iconComponent ? (u(), Y(nt(e.data.iconComponent), {
|
|
5501
5501
|
key: 0,
|
|
5502
|
-
class:
|
|
5503
|
-
}, null, 8, ["class"])) :
|
|
5504
|
-
Ze(" " +
|
|
5502
|
+
class: oe(`text-${e.data.color} me-2`)
|
|
5503
|
+
}, null, 8, ["class"])) : S("", !0),
|
|
5504
|
+
Ze(" " + M($(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
|
-
class:
|
|
5510
|
+
class: oe(["circle-button", [`bg-${e.data.color}`]]),
|
|
5511
5511
|
onClick: n[0] || (n[0] = (l) => t.$emit($(U).EXPAND, { id: e.id }))
|
|
5512
5512
|
}, [
|
|
5513
|
-
|
|
5513
|
+
V(re, {
|
|
5514
5514
|
title: t.$t("expand")
|
|
5515
5515
|
}, {
|
|
5516
|
-
default:
|
|
5517
|
-
|
|
5516
|
+
default: G(() => [
|
|
5517
|
+
V(rl, {
|
|
5518
5518
|
class: "button-icon",
|
|
5519
5519
|
alt: "Expand task"
|
|
5520
5520
|
})
|
|
5521
5521
|
]),
|
|
5522
5522
|
_: 1
|
|
5523
5523
|
}, 8, ["title"])
|
|
5524
|
-
], 2)) :
|
|
5524
|
+
], 2)) : S("", !0),
|
|
5525
5525
|
ae(t.$slots, "badge-button-after", {}, void 0, !0)
|
|
5526
5526
|
])
|
|
5527
5527
|
]),
|
|
5528
|
-
|
|
5528
|
+
V($(Me), {
|
|
5529
5529
|
type: "target",
|
|
5530
5530
|
position: e.targetPosition
|
|
5531
5531
|
}, null, 8, ["position"])
|
|
5532
5532
|
], 64));
|
|
5533
5533
|
}
|
|
5534
|
-
}), Lm = /* @__PURE__ */
|
|
5534
|
+
}), Lm = /* @__PURE__ */ F(km, [["__scopeId", "data-v-89413b39"]]), Sm = {
|
|
5535
5535
|
name: "SplitCellsVerticalIcon",
|
|
5536
5536
|
emits: ["click"]
|
|
5537
5537
|
}, wm = {
|
|
@@ -5561,7 +5561,7 @@ function Nm(e, t, n, l, o, i) {
|
|
|
5561
5561
|
], -1)
|
|
5562
5562
|
])]);
|
|
5563
5563
|
}
|
|
5564
|
-
const Tm = /* @__PURE__ */
|
|
5564
|
+
const Tm = /* @__PURE__ */ F(Sm, [["render", Nm], ["__scopeId", "data-v-084c51e6"]]), Am = {
|
|
5565
5565
|
name: "SplitCellsHorizontalIcon",
|
|
5566
5566
|
emits: ["click"]
|
|
5567
5567
|
}, Im = {
|
|
@@ -5590,7 +5590,7 @@ function Om(e, t, n, l, o, i) {
|
|
|
5590
5590
|
], -1)
|
|
5591
5591
|
])]);
|
|
5592
5592
|
}
|
|
5593
|
-
const $m = /* @__PURE__ */
|
|
5593
|
+
const $m = /* @__PURE__ */ F(Am, [["render", Om], ["__scopeId", "data-v-c77c1469"]]), Dm = {
|
|
5594
5594
|
name: "DownloadIcon",
|
|
5595
5595
|
emits: ["click"],
|
|
5596
5596
|
props: {
|
|
@@ -5623,12 +5623,12 @@ function xm(e, t, n, l, o, i) {
|
|
|
5623
5623
|
viewBox: "0 0 24 24"
|
|
5624
5624
|
}, [
|
|
5625
5625
|
v("path", Mm, [
|
|
5626
|
-
n.title ? (u(), d("title", Vm,
|
|
5626
|
+
n.title ? (u(), d("title", Vm, M(n.title), 1)) : S("", !0)
|
|
5627
5627
|
])
|
|
5628
5628
|
], 8, Pm))
|
|
5629
5629
|
], 16, Rm);
|
|
5630
5630
|
}
|
|
5631
|
-
const Um = /* @__PURE__ */
|
|
5631
|
+
const Um = /* @__PURE__ */ F(Dm, [["render", xm]]);
|
|
5632
5632
|
function Fm(e, t) {
|
|
5633
5633
|
if (e.match(/^[a-z]+:\/\//i))
|
|
5634
5634
|
return e;
|
|
@@ -6244,7 +6244,7 @@ const R1 = {
|
|
|
6244
6244
|
],
|
|
6245
6245
|
setup(e, { emit: t }) {
|
|
6246
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();
|
|
6247
|
-
Sl(sl,
|
|
6247
|
+
Sl(sl, B(() => n.execution)), Sl(uo, B(() => n.subflowsExecutions));
|
|
6248
6248
|
const p = t;
|
|
6249
6249
|
Mt(() => {
|
|
6250
6250
|
E();
|
|
@@ -6256,8 +6256,8 @@ const R1 = {
|
|
|
6256
6256
|
const E = () => {
|
|
6257
6257
|
Xo(n.id), dn(() => {
|
|
6258
6258
|
p("loading", !0);
|
|
6259
|
-
const
|
|
6260
|
-
b.value = /* @__PURE__ */ new Set(), C.value = [], h.value = {},
|
|
6259
|
+
const z = b.value;
|
|
6260
|
+
b.value = /* @__PURE__ */ new Set(), C.value = [], h.value = {}, z.forEach((Z) => X(Cl + Z, !1, !1));
|
|
6261
6261
|
const D = Zo(
|
|
6262
6262
|
n.id,
|
|
6263
6263
|
n.flowId,
|
|
@@ -6275,22 +6275,22 @@ const R1 = {
|
|
|
6275
6275
|
);
|
|
6276
6276
|
D && (m(D), c(), p("loading", !1));
|
|
6277
6277
|
});
|
|
6278
|
-
}, A = (
|
|
6279
|
-
l.value || Jo(n.id,
|
|
6278
|
+
}, A = (z) => {
|
|
6279
|
+
l.value || Jo(n.id, z.uid).forEach((D) => {
|
|
6280
6280
|
D?.type === "task" && (D.style = { ...D.style, outline: "0.5px solid " + Ve("--bs-gray-900") }, D.class = "rounded-3");
|
|
6281
6281
|
});
|
|
6282
|
-
},
|
|
6282
|
+
}, w = () => {
|
|
6283
6283
|
R();
|
|
6284
6284
|
}, R = () => {
|
|
6285
|
-
i.value.filter((
|
|
6286
|
-
|
|
6285
|
+
i.value.filter((z) => z.type === "task" || z.type === "trigger").forEach((z) => {
|
|
6286
|
+
z.style = { ...z.style, opacity: "1", outline: "none" }, z.class = "";
|
|
6287
6287
|
});
|
|
6288
6288
|
};
|
|
6289
|
-
a((
|
|
6290
|
-
l.value = !0, R(),
|
|
6291
|
-
}), s((
|
|
6292
|
-
if (l.value = !1,
|
|
6293
|
-
const D =
|
|
6289
|
+
a((z) => {
|
|
6290
|
+
l.value = !0, R(), z.node.style = { ...z.node.style, zIndex: 1976 }, o.value = z.node.position;
|
|
6291
|
+
}), s((z) => {
|
|
6292
|
+
if (l.value = !1, z.intersections && T(z.intersections, z.node) === null) {
|
|
6293
|
+
const D = z.node, Z = z.intersections.find((W) => W.type === "task");
|
|
6294
6294
|
if (Z)
|
|
6295
6295
|
try {
|
|
6296
6296
|
n.source && p("swapped-task", {
|
|
@@ -6312,19 +6312,19 @@ const R1 = {
|
|
|
6312
6312
|
else
|
|
6313
6313
|
D.position = o.value;
|
|
6314
6314
|
} else
|
|
6315
|
-
|
|
6316
|
-
R(),
|
|
6315
|
+
z.node.position = o.value;
|
|
6316
|
+
R(), z.node.style = { ...z.node.style, zIndex: 5 }, o.value = null;
|
|
6317
6317
|
});
|
|
6318
|
-
const P =
|
|
6319
|
-
r((
|
|
6320
|
-
R(), i.value.filter((D) => D.id !==
|
|
6321
|
-
D.type === "trigger" || D.type === "task" && (D.id.startsWith(
|
|
6322
|
-
}),
|
|
6318
|
+
const P = B(() => n.flowGraph?.clusters ? n.flowGraph.clusters.filter((z) => z.cluster.type.endsWith("SubflowGraphCluster")).map((z) => z.cluster.taskNode.uid + ".") : []);
|
|
6319
|
+
r((z) => {
|
|
6320
|
+
R(), i.value.filter((D) => D.id !== z.node.id).forEach((D) => {
|
|
6321
|
+
D.type === "trigger" || D.type === "task" && (D.id.startsWith(z.node.id + ".") || z.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
|
+
}), z.intersections && !T(z.intersections, z.node) && z.intersections.filter((D) => D.type === "task").length === 1 && (z.intersections.forEach((D) => {
|
|
6323
6323
|
D.type === "task" && (D.style = { ...D.style, outline: "0.5px solid " + Ve("--bs-primary") }, D.class = "rounded-3");
|
|
6324
|
-
}),
|
|
6324
|
+
}), z.node.style = { ...z.node.style, outline: "0.5px solid " + Ve("--bs-primary") }, z.node.class = "rounded-3");
|
|
6325
6325
|
});
|
|
6326
|
-
const T = (
|
|
6327
|
-
const Z =
|
|
6326
|
+
const T = (z, D) => {
|
|
6327
|
+
const Z = z.filter((W) => W.type === "task").map((W) => Re.afterLastDot(W.id));
|
|
6328
6328
|
if (Z.length > 1)
|
|
6329
6329
|
return "toomuchtaskerror";
|
|
6330
6330
|
try {
|
|
@@ -6339,9 +6339,9 @@ const R1 = {
|
|
|
6339
6339
|
} catch {
|
|
6340
6340
|
return "parentchildrenerror";
|
|
6341
6341
|
}
|
|
6342
|
-
return
|
|
6343
|
-
}, X = (
|
|
6344
|
-
const W = n.flowGraph.clusters.find((Se) => Se.cluster.uid.endsWith(
|
|
6342
|
+
return z.filter((W) => W.type === "trigger").length > 0 ? "triggererror" : null;
|
|
6343
|
+
}, X = (z, D, Z = !1) => {
|
|
6344
|
+
const W = n.flowGraph.clusters.find((Se) => Se.cluster.uid.endsWith(z)), je = z.replace(Cl, "");
|
|
6345
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 = {
|
|
6346
6346
|
...h.value,
|
|
6347
6347
|
[W.cluster.uid]: je,
|
|
@@ -6349,29 +6349,29 @@ const R1 = {
|
|
|
6349
6349
|
[W.end]: je
|
|
6350
6350
|
};
|
|
6351
6351
|
for (let Se of W.nodes)
|
|
6352
|
-
n.flowGraph.clusters.map((
|
|
6352
|
+
n.flowGraph.clusters.map((ot) => ot.cluster.uid).includes(Se) && X(Se, !1, !0);
|
|
6353
6353
|
D && E();
|
|
6354
|
-
}, Q = (
|
|
6354
|
+
}, Q = (z) => {
|
|
6355
6355
|
if ([
|
|
6356
6356
|
"io.kestra.core.tasks.flows.Flow",
|
|
6357
6357
|
"io.kestra.core.tasks.flows.Subflow",
|
|
6358
6358
|
"io.kestra.plugin.core.flow.Subflow",
|
|
6359
6359
|
"io.kestra.core.tasks.flows.ForEachItem$ForEachItemExecutable",
|
|
6360
6360
|
"io.kestra.plugin.core.flow.ForEachItem$ForEachItemExecutable"
|
|
6361
|
-
].includes(
|
|
6362
|
-
p("expand-subflow", [...n.expandedSubflows,
|
|
6361
|
+
].includes(z.type) && !n.expandedSubflows.includes(z.id)) {
|
|
6362
|
+
p("expand-subflow", [...n.expandedSubflows, z.id]);
|
|
6363
6363
|
return;
|
|
6364
6364
|
}
|
|
6365
|
-
h.value = {}, C.value = [], L.value = [], b.value.delete(
|
|
6366
|
-
},
|
|
6367
|
-
function gt(
|
|
6365
|
+
h.value = {}, C.value = [], L.value = [], b.value.delete(z.id), b.value.forEach((Z) => X(Z, !1, !1)), E();
|
|
6366
|
+
}, ge = document.getElementsByTagName("html")[0].className.indexOf("dark") >= 0, Te = te(!0), ue = te(!1), et = () => ue.value = !ue.value;
|
|
6367
|
+
function gt(z) {
|
|
6368
6368
|
if (!_.value) {
|
|
6369
6369
|
console.warn("Flow not found");
|
|
6370
6370
|
return;
|
|
6371
6371
|
}
|
|
6372
|
-
Te.value = !1, y(_.value, { type:
|
|
6372
|
+
Te.value = !1, y(_.value, { type: z, shouldDownload: !0 }).then(() => Te.value = !0).finally(() => ue.value = !1);
|
|
6373
6373
|
}
|
|
6374
|
-
return (
|
|
6374
|
+
return (z, D) => (u(), Y($(Pr), {
|
|
6375
6375
|
id: e.id,
|
|
6376
6376
|
"default-marker-color": $(Ve)("--bs-cyan"),
|
|
6377
6377
|
"fit-view-on-init": "",
|
|
@@ -6380,16 +6380,16 @@ const R1 = {
|
|
|
6380
6380
|
"elevate-nodes-on-select": !1,
|
|
6381
6381
|
"elevate-edges-on-select": !1
|
|
6382
6382
|
}, {
|
|
6383
|
-
"node-cluster":
|
|
6384
|
-
|
|
6383
|
+
"node-cluster": G((Z) => [
|
|
6384
|
+
V(od, K(Z, {
|
|
6385
6385
|
onCollapse: D[0] || (D[0] = (W) => X(W, !0))
|
|
6386
6386
|
}), null, 16)
|
|
6387
6387
|
]),
|
|
6388
|
-
"node-dot":
|
|
6389
|
-
|
|
6388
|
+
"node-dot": G((Z) => [
|
|
6389
|
+
V(pd, Lr(Sr(Z)), null, 16)
|
|
6390
6390
|
]),
|
|
6391
|
-
"node-task":
|
|
6392
|
-
|
|
6391
|
+
"node-task": G((Z) => [
|
|
6392
|
+
V(um, K(Z, {
|
|
6393
6393
|
icons: e.icons,
|
|
6394
6394
|
"icon-component": e.iconComponent,
|
|
6395
6395
|
"playground-enabled": e.playgroundEnabled,
|
|
@@ -6403,19 +6403,19 @@ const R1 = {
|
|
|
6403
6403
|
onShowDescription: D[7] || (D[7] = (W) => p($(U).SHOW_DESCRIPTION, W)),
|
|
6404
6404
|
onShowCondition: D[8] || (D[8] = (W) => p($(U).SHOW_CONDITION, W)),
|
|
6405
6405
|
onMouseover: D[9] || (D[9] = (W) => A(W)),
|
|
6406
|
-
onMouseleave: D[10] || (D[10] = (W) =>
|
|
6406
|
+
onMouseleave: D[10] || (D[10] = (W) => w()),
|
|
6407
6407
|
onAddError: D[11] || (D[11] = (W) => p("on-add-flowable-error", W)),
|
|
6408
6408
|
"enable-subflow-interaction": e.enableSubflowInteraction
|
|
6409
6409
|
}), null, 16, ["icons", "icon-component", "playground-enabled", "playground-ready-to-start", "enable-subflow-interaction"])
|
|
6410
6410
|
]),
|
|
6411
|
-
"node-custom":
|
|
6412
|
-
|
|
6411
|
+
"node-custom": G((Z) => [
|
|
6412
|
+
V(al, K(Z, {
|
|
6413
6413
|
icons: e.icons,
|
|
6414
6414
|
"icon-component": e.iconComponent
|
|
6415
6415
|
}), null, 16, ["icons", "icon-component"])
|
|
6416
6416
|
]),
|
|
6417
|
-
"node-trigger":
|
|
6418
|
-
|
|
6417
|
+
"node-trigger": G((Z) => [
|
|
6418
|
+
V(dm, K(Z, {
|
|
6419
6419
|
icons: e.icons,
|
|
6420
6420
|
"icon-component": e.iconComponent,
|
|
6421
6421
|
"is-read-only": e.isReadOnly,
|
|
@@ -6425,40 +6425,40 @@ const R1 = {
|
|
|
6425
6425
|
onShowDescription: D[14] || (D[14] = (W) => p($(U).SHOW_DESCRIPTION, W))
|
|
6426
6426
|
}), null, 16, ["icons", "icon-component", "is-read-only", "is-allowed-edit"])
|
|
6427
6427
|
]),
|
|
6428
|
-
"node-collapsedcluster":
|
|
6429
|
-
|
|
6428
|
+
"node-collapsedcluster": G((Z) => [
|
|
6429
|
+
V(Lm, K(Z, {
|
|
6430
6430
|
onExpand: D[15] || (D[15] = (W) => Q(W))
|
|
6431
6431
|
}), null, 16)
|
|
6432
6432
|
]),
|
|
6433
|
-
"edge-edge":
|
|
6434
|
-
|
|
6433
|
+
"edge-edge": G((Z) => [
|
|
6434
|
+
V(Nd, K(Z, {
|
|
6435
6435
|
"yaml-source": e.source,
|
|
6436
6436
|
onAddTask: D[16] || (D[16] = (W) => p($(U).ADD_TASK, W)),
|
|
6437
6437
|
"is-read-only": e.isReadOnly,
|
|
6438
6438
|
"is-allowed-edit": e.isAllowedEdit
|
|
6439
6439
|
}), null, 16, ["yaml-source", "is-read-only", "is-allowed-edit"])
|
|
6440
6440
|
]),
|
|
6441
|
-
default:
|
|
6442
|
-
|
|
6443
|
-
"pattern-color":
|
|
6441
|
+
default: G(() => [
|
|
6442
|
+
V($(Yc), {
|
|
6443
|
+
"pattern-color": ge ? $(Ve)("--bs-grey-500") : $(Ve)("--bs-grey-300")
|
|
6444
6444
|
}, null, 8, ["pattern-color"]),
|
|
6445
|
-
Te.value ? (u(),
|
|
6445
|
+
Te.value ? (u(), Y($(Mr), {
|
|
6446
6446
|
key: 0,
|
|
6447
6447
|
"show-interactive": !1
|
|
6448
6448
|
}, {
|
|
6449
|
-
default:
|
|
6450
|
-
e.toggleOrientationButton ? (u(),
|
|
6449
|
+
default: G(() => [
|
|
6450
|
+
e.toggleOrientationButton ? (u(), Y($(Nl), {
|
|
6451
6451
|
key: 0,
|
|
6452
6452
|
onClick: D[17] || (D[17] = (Z) => p("toggle-orientation", Z))
|
|
6453
6453
|
}, {
|
|
6454
|
-
default:
|
|
6455
|
-
(u(),
|
|
6454
|
+
default: G(() => [
|
|
6455
|
+
(u(), Y(nt(e.isHorizontal ? $m : Tm)))
|
|
6456
6456
|
]),
|
|
6457
6457
|
_: 1
|
|
6458
|
-
})) :
|
|
6459
|
-
|
|
6460
|
-
default:
|
|
6461
|
-
|
|
6458
|
+
})) : S("", !0),
|
|
6459
|
+
V($(Nl), { onClick: et }, {
|
|
6460
|
+
default: G(() => [
|
|
6461
|
+
V(Um)
|
|
6462
6462
|
]),
|
|
6463
6463
|
_: 1
|
|
6464
6464
|
}),
|
|
@@ -6471,15 +6471,41 @@ const R1 = {
|
|
|
6471
6471
|
onClick: D[19] || (D[19] = (Z) => gt("png")),
|
|
6472
6472
|
class: "item"
|
|
6473
6473
|
}, " Export as .PNG ")
|
|
6474
|
-
])) :
|
|
6474
|
+
])) : S("", !0)
|
|
6475
6475
|
]),
|
|
6476
6476
|
_: 1
|
|
6477
|
-
})) :
|
|
6477
|
+
})) : S("", !0)
|
|
6478
6478
|
]),
|
|
6479
6479
|
_: 1
|
|
6480
6480
|
}, 8, ["id", "default-marker-color"]));
|
|
6481
6481
|
}
|
|
6482
|
-
}),
|
|
6482
|
+
}), $_ = /* @__PURE__ */ F(P1, [["__scopeId", "data-v-ccfc7443"]]), M1 = { class: "text" }, V1 = /* @__PURE__ */ de({
|
|
6483
|
+
__name: "Status",
|
|
6484
|
+
props: {
|
|
6485
|
+
status: {},
|
|
6486
|
+
title: { default: void 0 },
|
|
6487
|
+
icon: { type: Boolean, default: !1 },
|
|
6488
|
+
size: { default: "default" }
|
|
6489
|
+
},
|
|
6490
|
+
setup(e) {
|
|
6491
|
+
const t = e, n = B(() => t.icon ? pe.icon()[t.status?.toUpperCase()] : void 0), l = B(() => t.title ?? t.status), o = B(() => [
|
|
6492
|
+
"status-button",
|
|
6493
|
+
t.status?.toLowerCase() && `status-button--${t.status.toLowerCase()}`,
|
|
6494
|
+
t.size !== "default" && `status-button--${t.size}`
|
|
6495
|
+
].filter(Boolean));
|
|
6496
|
+
return (i, r) => (u(), d("button", {
|
|
6497
|
+
"data-test-id": "status",
|
|
6498
|
+
type: "button",
|
|
6499
|
+
class: oe(o.value)
|
|
6500
|
+
}, [
|
|
6501
|
+
i.icon ? (u(), Y(nt(n.value), {
|
|
6502
|
+
key: 0,
|
|
6503
|
+
class: "icon"
|
|
6504
|
+
})) : S("", !0),
|
|
6505
|
+
v("span", M1, M(l.value), 1)
|
|
6506
|
+
], 2));
|
|
6507
|
+
}
|
|
6508
|
+
}), D_ = /* @__PURE__ */ F(V1, [["__scopeId", "data-v-ec9791b3"]]), x1 = {
|
|
6483
6509
|
name: "MenuRightIcon",
|
|
6484
6510
|
emits: ["click"],
|
|
6485
6511
|
props: {
|
|
@@ -6495,8 +6521,8 @@ const R1 = {
|
|
|
6495
6521
|
default: 24
|
|
6496
6522
|
}
|
|
6497
6523
|
}
|
|
6498
|
-
},
|
|
6499
|
-
function
|
|
6524
|
+
}, U1 = ["aria-hidden", "aria-label"], F1 = ["fill", "width", "height"], H1 = { d: "M10,17L15,12L10,7V17Z" }, B1 = { key: 0 };
|
|
6525
|
+
function z1(e, t, n, l, o, i) {
|
|
6500
6526
|
return u(), d("span", K(e.$attrs, {
|
|
6501
6527
|
"aria-hidden": n.title ? null : "true",
|
|
6502
6528
|
"aria-label": n.title,
|
|
@@ -6511,13 +6537,13 @@ function H1(e, t, n, l, o, i) {
|
|
|
6511
6537
|
height: n.size,
|
|
6512
6538
|
viewBox: "0 0 24 24"
|
|
6513
6539
|
}, [
|
|
6514
|
-
v("path",
|
|
6515
|
-
n.title ? (u(), d("title",
|
|
6540
|
+
v("path", H1, [
|
|
6541
|
+
n.title ? (u(), d("title", B1, M(n.title), 1)) : S("", !0)
|
|
6516
6542
|
])
|
|
6517
|
-
], 8,
|
|
6518
|
-
], 16,
|
|
6543
|
+
], 8, F1))
|
|
6544
|
+
], 16, U1);
|
|
6519
6545
|
}
|
|
6520
|
-
const
|
|
6546
|
+
const G1 = /* @__PURE__ */ F(x1, [["render", z1]]), W1 = {
|
|
6521
6547
|
name: "MenuDownIcon",
|
|
6522
6548
|
emits: ["click"],
|
|
6523
6549
|
props: {
|
|
@@ -6533,8 +6559,8 @@ const B1 = /* @__PURE__ */ H(M1, [["render", H1]]), z1 = {
|
|
|
6533
6559
|
default: 24
|
|
6534
6560
|
}
|
|
6535
6561
|
}
|
|
6536
|
-
},
|
|
6537
|
-
function
|
|
6562
|
+
}, j1 = ["aria-hidden", "aria-label"], K1 = ["fill", "width", "height"], Y1 = { d: "M7,10L12,15L17,10H7Z" }, q1 = { key: 0 };
|
|
6563
|
+
function X1(e, t, n, l, o, i) {
|
|
6538
6564
|
return u(), d("span", K(e.$attrs, {
|
|
6539
6565
|
"aria-hidden": n.title ? null : "true",
|
|
6540
6566
|
"aria-label": n.title,
|
|
@@ -6549,45 +6575,45 @@ function Y1(e, t, n, l, o, i) {
|
|
|
6549
6575
|
height: n.size,
|
|
6550
6576
|
viewBox: "0 0 24 24"
|
|
6551
6577
|
}, [
|
|
6552
|
-
v("path",
|
|
6553
|
-
n.title ? (u(), d("title",
|
|
6578
|
+
v("path", Y1, [
|
|
6579
|
+
n.title ? (u(), d("title", q1, M(n.title), 1)) : S("", !0)
|
|
6554
6580
|
])
|
|
6555
|
-
], 8,
|
|
6556
|
-
], 16,
|
|
6581
|
+
], 8, K1))
|
|
6582
|
+
], 16, j1);
|
|
6557
6583
|
}
|
|
6558
|
-
const
|
|
6559
|
-
function
|
|
6584
|
+
const Z1 = /* @__PURE__ */ F(W1, [["render", X1]]);
|
|
6585
|
+
function J1(e) {
|
|
6560
6586
|
return wr() ? (Nr(e), !0) : !1;
|
|
6561
6587
|
}
|
|
6562
6588
|
function bo(e) {
|
|
6563
6589
|
return typeof e == "function" ? e() : $(e);
|
|
6564
6590
|
}
|
|
6565
|
-
const
|
|
6591
|
+
const Q1 = typeof window < "u" && typeof document < "u";
|
|
6566
6592
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
6567
|
-
const
|
|
6593
|
+
const ep = Object.prototype.toString, tp = (e) => ep.call(e) === "[object Object]", np = () => {
|
|
6568
6594
|
};
|
|
6569
|
-
function
|
|
6595
|
+
function lp(e) {
|
|
6570
6596
|
return Object.entries(e);
|
|
6571
6597
|
}
|
|
6572
|
-
function
|
|
6598
|
+
function ip(e) {
|
|
6573
6599
|
var t;
|
|
6574
6600
|
const n = bo(e);
|
|
6575
6601
|
return (t = n?.$el) != null ? t : n;
|
|
6576
6602
|
}
|
|
6577
|
-
const ko =
|
|
6603
|
+
const ko = Q1 ? window : void 0;
|
|
6578
6604
|
function gi(...e) {
|
|
6579
6605
|
let t, n, l, o;
|
|
6580
6606
|
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, l, o] = e, t = ko) : [t, n, l, o] = e, !t)
|
|
6581
|
-
return
|
|
6607
|
+
return np;
|
|
6582
6608
|
Array.isArray(n) || (n = [n]), Array.isArray(l) || (l = [l]);
|
|
6583
6609
|
const i = [], r = () => {
|
|
6584
6610
|
i.forEach((m) => m()), i.length = 0;
|
|
6585
6611
|
}, a = (m, _, h, C) => (m.addEventListener(_, h, C), () => m.removeEventListener(_, h, C)), s = Ue(
|
|
6586
|
-
() => [
|
|
6612
|
+
() => [ip(t), bo(o)],
|
|
6587
6613
|
([m, _]) => {
|
|
6588
6614
|
if (r(), !m)
|
|
6589
6615
|
return;
|
|
6590
|
-
const h =
|
|
6616
|
+
const h = tp(_) ? { ..._ } : _;
|
|
6591
6617
|
i.push(
|
|
6592
6618
|
...n.flatMap((C) => l.map((b) => a(m, C, b, h)))
|
|
6593
6619
|
);
|
|
@@ -6596,7 +6622,7 @@ function gi(...e) {
|
|
|
6596
6622
|
), c = () => {
|
|
6597
6623
|
s(), r();
|
|
6598
6624
|
};
|
|
6599
|
-
return
|
|
6625
|
+
return J1(c), c;
|
|
6600
6626
|
}
|
|
6601
6627
|
const hi = [
|
|
6602
6628
|
"hash",
|
|
@@ -6608,11 +6634,11 @@ const hi = [
|
|
|
6608
6634
|
"protocol",
|
|
6609
6635
|
"search"
|
|
6610
6636
|
];
|
|
6611
|
-
function
|
|
6637
|
+
function op(e = {}) {
|
|
6612
6638
|
const { window: t = ko } = e, n = Object.fromEntries(
|
|
6613
6639
|
hi.map((i) => [i, te()])
|
|
6614
6640
|
);
|
|
6615
|
-
for (const [i, r] of
|
|
6641
|
+
for (const [i, r] of lp(n))
|
|
6616
6642
|
Ue(r, (a) => {
|
|
6617
6643
|
!t?.location || t.location[i] === a || (t.location[i] = a);
|
|
6618
6644
|
});
|
|
@@ -6631,10 +6657,10 @@ function lp(e = {}) {
|
|
|
6631
6657
|
}, o = te(l("load"));
|
|
6632
6658
|
return t && (gi(t, "popstate", () => o.value = l("popstate"), { passive: !0 }), gi(t, "hashchange", () => o.value = l("hashchange"), { passive: !0 })), o;
|
|
6633
6659
|
}
|
|
6634
|
-
const
|
|
6660
|
+
const rp = ["id", "open"], ap = { class: "d-flex gap-2 align-items-center" }, sp = {
|
|
6635
6661
|
key: 0,
|
|
6636
6662
|
class: "d-flex flex-grow-1"
|
|
6637
|
-
},
|
|
6663
|
+
}, up = ["id"], cp = /* @__PURE__ */ de({
|
|
6638
6664
|
__name: "Collapsible",
|
|
6639
6665
|
props: {
|
|
6640
6666
|
href: { default: Math.random().toString(36).substring(2, 5) },
|
|
@@ -6645,7 +6671,7 @@ const ip = ["id", "open"], op = { class: "d-flex gap-2 align-items-center" }, rp
|
|
|
6645
6671
|
},
|
|
6646
6672
|
emits: ["expand"],
|
|
6647
6673
|
setup(e, { emit: t }) {
|
|
6648
|
-
const n = e, l = te(!0), o =
|
|
6674
|
+
const n = e, l = te(!0), o = op(), i = t, r = B(() => `#${n.href}-body`), a = (c) => {
|
|
6649
6675
|
c.preventDefault(), l.value = !l.value, s.value = !l.value, l.value || i("expand"), !n.noUrlChange && (window.location.hash = l.value ? "" : r.value);
|
|
6650
6676
|
}, s = te(!1);
|
|
6651
6677
|
return Ue(
|
|
@@ -6665,20 +6691,20 @@ const ip = ["id", "open"], op = { class: "d-flex gap-2 align-items-center" }, rp
|
|
|
6665
6691
|
open: s.value
|
|
6666
6692
|
}, [
|
|
6667
6693
|
v("summary", {
|
|
6668
|
-
class:
|
|
6694
|
+
class: oe(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button", { collapsed: l.value }]),
|
|
6669
6695
|
onClick: a
|
|
6670
6696
|
}, [
|
|
6671
|
-
v("span",
|
|
6672
|
-
c.arrow ? (u(),
|
|
6697
|
+
v("span", ap, [
|
|
6698
|
+
c.arrow ? (u(), Y(nt(l.value ? G1 : Z1), {
|
|
6673
6699
|
key: 0,
|
|
6674
6700
|
class: "arrow"
|
|
6675
|
-
})) :
|
|
6676
|
-
Ze(" " +
|
|
6701
|
+
})) : S("", !0),
|
|
6702
|
+
Ze(" " + M(c.clickableText) + " ", 1),
|
|
6677
6703
|
ae(c.$slots, "additionalButtonText", {}, void 0, !0)
|
|
6678
6704
|
]),
|
|
6679
|
-
c.$slots.buttonRight ? (u(), d("span",
|
|
6705
|
+
c.$slots.buttonRight ? (u(), d("span", sp, [
|
|
6680
6706
|
ae(c.$slots, "buttonRight", { collapsed: l.value }, void 0, !0)
|
|
6681
|
-
])) :
|
|
6707
|
+
])) : S("", !0)
|
|
6682
6708
|
], 2),
|
|
6683
6709
|
c.$slots.content ? (u(), d("div", {
|
|
6684
6710
|
key: 0,
|
|
@@ -6687,10 +6713,10 @@ const ip = ["id", "open"], op = { class: "d-flex gap-2 align-items-center" }, rp
|
|
|
6687
6713
|
v("div", null, [
|
|
6688
6714
|
ae(c.$slots, "content", {}, void 0, !0)
|
|
6689
6715
|
])
|
|
6690
|
-
], 8,
|
|
6691
|
-
], 8,
|
|
6716
|
+
], 8, up)) : S("", !0)
|
|
6717
|
+
], 8, rp));
|
|
6692
6718
|
}
|
|
6693
|
-
}), an = /* @__PURE__ */
|
|
6719
|
+
}), an = /* @__PURE__ */ F(cp, [["__scopeId", "data-v-4b935a77"]]), dp = {
|
|
6694
6720
|
name: "ContentCopyIcon",
|
|
6695
6721
|
emits: ["click"],
|
|
6696
6722
|
props: {
|
|
@@ -6706,8 +6732,8 @@ const ip = ["id", "open"], op = { class: "d-flex gap-2 align-items-center" }, rp
|
|
|
6706
6732
|
default: 24
|
|
6707
6733
|
}
|
|
6708
6734
|
}
|
|
6709
|
-
},
|
|
6710
|
-
function
|
|
6735
|
+
}, fp = ["aria-hidden", "aria-label"], mp = ["fill", "width", "height"], pp = { d: "M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z" }, gp = { key: 0 };
|
|
6736
|
+
function hp(e, t, n, l, o, i) {
|
|
6711
6737
|
return u(), d("span", K(e.$attrs, {
|
|
6712
6738
|
"aria-hidden": n.title ? null : "true",
|
|
6713
6739
|
"aria-label": n.title,
|
|
@@ -6722,16 +6748,16 @@ function pp(e, t, n, l, o, i) {
|
|
|
6722
6748
|
height: n.size,
|
|
6723
6749
|
viewBox: "0 0 24 24"
|
|
6724
6750
|
}, [
|
|
6725
|
-
v("path",
|
|
6726
|
-
n.title ? (u(), d("title",
|
|
6751
|
+
v("path", pp, [
|
|
6752
|
+
n.title ? (u(), d("title", gp, M(n.title), 1)) : S("", !0)
|
|
6727
6753
|
])
|
|
6728
|
-
], 8,
|
|
6729
|
-
], 16,
|
|
6754
|
+
], 8, mp))
|
|
6755
|
+
], 16, fp);
|
|
6730
6756
|
}
|
|
6731
|
-
const
|
|
6757
|
+
const _p = /* @__PURE__ */ F(dp, [["render", hp]]), yp = {
|
|
6732
6758
|
key: 0,
|
|
6733
6759
|
class: "language"
|
|
6734
|
-
},
|
|
6760
|
+
}, vp = ["innerHTML"], Ep = /* @__PURE__ */ de({
|
|
6735
6761
|
__name: "SchemaToCode",
|
|
6736
6762
|
props: {
|
|
6737
6763
|
highlighter: {},
|
|
@@ -6744,9 +6770,9 @@ const gp = /* @__PURE__ */ H(up, [["render", pp]]), hp = {
|
|
|
6744
6770
|
},
|
|
6745
6771
|
setup(e) {
|
|
6746
6772
|
const t = {
|
|
6747
|
-
ContentCopy: qt(
|
|
6773
|
+
ContentCopy: qt(_p),
|
|
6748
6774
|
Check: qt(co)
|
|
6749
|
-
}, n = e, l = te(!1), o = te(), i = qt(t.ContentCopy.value), r = te(), a = te(), s =
|
|
6775
|
+
}, n = e, l = te(!1), o = te(), i = qt(t.ContentCopy.value), r = te(), a = te(), s = B(() => n.highlighter.codeToHtml(n.code, {
|
|
6750
6776
|
lang: n.language,
|
|
6751
6777
|
theme: n.theme
|
|
6752
6778
|
}));
|
|
@@ -6767,14 +6793,14 @@ const gp = /* @__PURE__ */ H(up, [["render", pp]]), hp = {
|
|
|
6767
6793
|
onMouseover: c,
|
|
6768
6794
|
onMouseleave: h[0] || (h[0] = (C) => l.value = !1)
|
|
6769
6795
|
}, [
|
|
6770
|
-
_.language && !l.value ? (u(), d("div",
|
|
6796
|
+
_.language && !l.value ? (u(), d("div", yp, M(_.language), 1)) : S("", !0),
|
|
6771
6797
|
l.value ? (u(), d(Ee, { key: 1 }, [
|
|
6772
6798
|
v("button", {
|
|
6773
6799
|
ref_key: "copyButton",
|
|
6774
6800
|
ref: r,
|
|
6775
6801
|
class: "copy"
|
|
6776
6802
|
}, [
|
|
6777
|
-
(u(),
|
|
6803
|
+
(u(), Y(nt(i.value), { onClick: m }))
|
|
6778
6804
|
], 512),
|
|
6779
6805
|
o.value ? (u(), d("div", {
|
|
6780
6806
|
key: 0,
|
|
@@ -6788,12 +6814,12 @@ const gp = /* @__PURE__ */ H(up, [["render", pp]]), hp = {
|
|
|
6788
6814
|
id: "arrow",
|
|
6789
6815
|
"data-popper-arrow": ""
|
|
6790
6816
|
}, null, -1)
|
|
6791
|
-
])], 512)) :
|
|
6792
|
-
], 64)) :
|
|
6793
|
-
v("div", { innerHTML: s.value }, null, 8,
|
|
6817
|
+
])], 512)) : S("", !0)
|
|
6818
|
+
], 64)) : S("", !0),
|
|
6819
|
+
v("div", { innerHTML: s.value }, null, 8, vp)
|
|
6794
6820
|
], 32));
|
|
6795
6821
|
}
|
|
6796
|
-
}), _i = /* @__PURE__ */
|
|
6822
|
+
}), _i = /* @__PURE__ */ F(Ep, [["__scopeId", "data-v-a899f6a1"]]);
|
|
6797
6823
|
function Kt(e) {
|
|
6798
6824
|
if (e.type)
|
|
6799
6825
|
return Array.isArray(e.type) ? e.type : [e.type];
|
|
@@ -6804,7 +6830,7 @@ function Lo(e) {
|
|
|
6804
6830
|
const t = e.split("_")[0];
|
|
6805
6831
|
return t.substring(t.lastIndexOf(".") + 1);
|
|
6806
6832
|
}
|
|
6807
|
-
function
|
|
6833
|
+
function Cp(e) {
|
|
6808
6834
|
if (e.enum)
|
|
6809
6835
|
return e.enum;
|
|
6810
6836
|
if (e.items?.enum)
|
|
@@ -6812,7 +6838,7 @@ function vp(e) {
|
|
|
6812
6838
|
if (e.additionalProperties?.enum)
|
|
6813
6839
|
return e.additionalProperties.enum;
|
|
6814
6840
|
}
|
|
6815
|
-
function
|
|
6841
|
+
function bp(e) {
|
|
6816
6842
|
return e.allOf && (e = e.allOf.reduce((t, n) => ({
|
|
6817
6843
|
...t,
|
|
6818
6844
|
...n
|
|
@@ -6832,7 +6858,7 @@ function So(e) {
|
|
|
6832
6858
|
}
|
|
6833
6859
|
return e.additionalProperties ? t.subType = Kt(e.additionalProperties)?.[0] : e.items && (t.subType = Kt(e.items)?.[0]), t;
|
|
6834
6860
|
}
|
|
6835
|
-
const
|
|
6861
|
+
const kp = {
|
|
6836
6862
|
name: "ChevronDownIcon",
|
|
6837
6863
|
emits: ["click"],
|
|
6838
6864
|
props: {
|
|
@@ -6848,8 +6874,8 @@ const Cp = {
|
|
|
6848
6874
|
default: 24
|
|
6849
6875
|
}
|
|
6850
6876
|
}
|
|
6851
|
-
},
|
|
6852
|
-
function
|
|
6877
|
+
}, Lp = ["aria-hidden", "aria-label"], Sp = ["fill", "width", "height"], wp = { d: "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z" }, Np = { key: 0 };
|
|
6878
|
+
function Tp(e, t, n, l, o, i) {
|
|
6853
6879
|
return u(), d("span", K(e.$attrs, {
|
|
6854
6880
|
"aria-hidden": n.title ? null : "true",
|
|
6855
6881
|
"aria-label": n.title,
|
|
@@ -6864,13 +6890,13 @@ function wp(e, t, n, l, o, i) {
|
|
|
6864
6890
|
height: n.size,
|
|
6865
6891
|
viewBox: "0 0 24 24"
|
|
6866
6892
|
}, [
|
|
6867
|
-
v("path",
|
|
6868
|
-
n.title ? (u(), d("title",
|
|
6893
|
+
v("path", wp, [
|
|
6894
|
+
n.title ? (u(), d("title", Np, M(n.title), 1)) : S("", !0)
|
|
6869
6895
|
])
|
|
6870
|
-
], 8,
|
|
6871
|
-
], 16,
|
|
6896
|
+
], 8, Sp))
|
|
6897
|
+
], 16, Lp);
|
|
6872
6898
|
}
|
|
6873
|
-
const
|
|
6899
|
+
const Ap = /* @__PURE__ */ F(kp, [["render", Tp]]), Ip = {
|
|
6874
6900
|
name: "EyeOutlineIcon",
|
|
6875
6901
|
emits: ["click"],
|
|
6876
6902
|
props: {
|
|
@@ -6886,8 +6912,8 @@ const Np = /* @__PURE__ */ H(Cp, [["render", wp]]), Tp = {
|
|
|
6886
6912
|
default: 24
|
|
6887
6913
|
}
|
|
6888
6914
|
}
|
|
6889
|
-
},
|
|
6890
|
-
function
|
|
6915
|
+
}, Op = ["aria-hidden", "aria-label"], $p = ["fill", "width", "height"], Dp = { 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" }, Rp = { key: 0 };
|
|
6916
|
+
function Pp(e, t, n, l, o, i) {
|
|
6891
6917
|
return u(), d("span", K(e.$attrs, {
|
|
6892
6918
|
"aria-hidden": n.title ? null : "true",
|
|
6893
6919
|
"aria-label": n.title,
|
|
@@ -6902,13 +6928,13 @@ function Dp(e, t, n, l, o, i) {
|
|
|
6902
6928
|
height: n.size,
|
|
6903
6929
|
viewBox: "0 0 24 24"
|
|
6904
6930
|
}, [
|
|
6905
|
-
v("path",
|
|
6906
|
-
n.title ? (u(), d("title",
|
|
6931
|
+
v("path", Dp, [
|
|
6932
|
+
n.title ? (u(), d("title", Rp, M(n.title), 1)) : S("", !0)
|
|
6907
6933
|
])
|
|
6908
|
-
], 8,
|
|
6909
|
-
], 16,
|
|
6934
|
+
], 8, $p))
|
|
6935
|
+
], 16, Op);
|
|
6910
6936
|
}
|
|
6911
|
-
const wo = /* @__PURE__ */
|
|
6937
|
+
const wo = /* @__PURE__ */ F(Ip, [["render", Pp]]), Mp = {
|
|
6912
6938
|
name: "FileDocumentIcon",
|
|
6913
6939
|
emits: ["click"],
|
|
6914
6940
|
props: {
|
|
@@ -6924,8 +6950,8 @@ const wo = /* @__PURE__ */ H(Tp, [["render", Dp]]), Rp = {
|
|
|
6924
6950
|
default: 24
|
|
6925
6951
|
}
|
|
6926
6952
|
}
|
|
6927
|
-
},
|
|
6928
|
-
function
|
|
6953
|
+
}, Vp = ["aria-hidden", "aria-label"], xp = ["fill", "width", "height"], Up = { d: "M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M15,18V16H6V18H15M18,14V12H6V14H18Z" }, Fp = { key: 0 };
|
|
6954
|
+
function Hp(e, t, n, l, o, i) {
|
|
6929
6955
|
return u(), d("span", K(e.$attrs, {
|
|
6930
6956
|
"aria-hidden": n.title ? null : "true",
|
|
6931
6957
|
"aria-label": n.title,
|
|
@@ -6940,23 +6966,23 @@ function Up(e, t, n, l, o, i) {
|
|
|
6940
6966
|
height: n.size,
|
|
6941
6967
|
viewBox: "0 0 24 24"
|
|
6942
6968
|
}, [
|
|
6943
|
-
v("path",
|
|
6944
|
-
n.title ? (u(), d("title",
|
|
6969
|
+
v("path", Up, [
|
|
6970
|
+
n.title ? (u(), d("title", Fp, M(n.title), 1)) : S("", !0)
|
|
6945
6971
|
])
|
|
6946
|
-
], 8,
|
|
6947
|
-
], 16,
|
|
6972
|
+
], 8, xp))
|
|
6973
|
+
], 16, Vp);
|
|
6948
6974
|
}
|
|
6949
|
-
const
|
|
6975
|
+
const Bp = /* @__PURE__ */ F(Mp, [["render", Hp]]), zp = { class: "me-3" }, Gp = { class: "d-flex flex-column" }, Wp = /* @__PURE__ */ de({
|
|
6950
6976
|
name: "Alert",
|
|
6951
6977
|
__name: "Alert",
|
|
6952
6978
|
props: {
|
|
6953
6979
|
type: {}
|
|
6954
6980
|
},
|
|
6955
6981
|
setup(e) {
|
|
6956
|
-
const t = e, n =
|
|
6982
|
+
const t = e, n = B(() => {
|
|
6957
6983
|
switch (t.type) {
|
|
6958
6984
|
case "success":
|
|
6959
|
-
return
|
|
6985
|
+
return Bp;
|
|
6960
6986
|
case "info":
|
|
6961
6987
|
return Qt;
|
|
6962
6988
|
case "warning":
|
|
@@ -6968,29 +6994,29 @@ const Fp = /* @__PURE__ */ H(Rp, [["render", Up]]), Hp = { class: "me-3" }, Bp =
|
|
|
6968
6994
|
}
|
|
6969
6995
|
});
|
|
6970
6996
|
return (l, o) => (u(), d("div", {
|
|
6971
|
-
class:
|
|
6997
|
+
class: oe("doc-alert alert alert-" + l.type),
|
|
6972
6998
|
role: "alert"
|
|
6973
6999
|
}, [
|
|
6974
|
-
v("div",
|
|
6975
|
-
(u(),
|
|
7000
|
+
v("div", zp, [
|
|
7001
|
+
(u(), Y(nt(n.value), { class: "alert-icon" }))
|
|
6976
7002
|
]),
|
|
6977
|
-
v("div",
|
|
7003
|
+
v("div", Gp, [
|
|
6978
7004
|
ae(l.$slots, "default", {}, void 0, !0)
|
|
6979
7005
|
])
|
|
6980
7006
|
], 2));
|
|
6981
7007
|
}
|
|
6982
|
-
}),
|
|
7008
|
+
}), jp = /* @__PURE__ */ F(Wp, [["__scopeId", "data-v-f7fd8bc1"]]), Kp = { class: "property-detail" }, Yp = { key: 0 }, qp = ["href"], Xp = { class: "d-flex fw-bold type-box rounded fs-7 px-2 py-1" }, Zp = { class: "ref-type" }, Jp = {
|
|
6983
7009
|
key: 1,
|
|
6984
7010
|
class: "type-box rounded fs-7 px-2 py-1"
|
|
6985
|
-
},
|
|
7011
|
+
}, Qp = { key: 1 }, eg = { class: "border rounded px-2 py-1" }, tg = { key: 2 }, ng = { class: "border rounded px-2 py-1" }, lg = { key: 3 }, ig = { class: "border rounded px-2 py-1" }, og = { key: 4 }, rg = { class: "border rounded px-2 py-1" }, ag = { key: 5 }, sg = { class: "border rounded px-2 py-1" }, ug = { key: 6 }, cg = { class: "border rounded px-2 py-1" }, dg = { key: 7 }, fg = { class: "border rounded px-2 py-1" }, mg = { key: 8 }, pg = { class: "border rounded px-2 py-1" }, gg = { key: 9 }, hg = { class: "border rounded px-2 py-1" }, _g = { key: 10 }, yg = { class: "border rounded px-2 py-1" }, vg = { key: 11 }, Eg = { class: "border rounded px-2 py-1" }, Cg = { key: 12 }, bg = { class: "border rounded px-2 py-1" }, kg = { key: 13 }, Lg = { class: "d-flex flex-wrap justify-content-end gap-7 p-0" }, Sg = { key: 14 }, wg = { class: "property-description markdown" }, Ng = { key: 2 }, Tg = /* @__PURE__ */ de({
|
|
6986
7012
|
__name: "PropertyDetail",
|
|
6987
7013
|
props: {
|
|
6988
7014
|
property: {}
|
|
6989
7015
|
},
|
|
6990
7016
|
setup(e) {
|
|
6991
|
-
const t = e, n = te(So(t.property).subType), l = te(
|
|
6992
|
-
return (i, r) => (u(), d("div",
|
|
6993
|
-
n.value ? (u(), d("div",
|
|
7017
|
+
const t = e, n = te(So(t.property).subType), l = te(Cp(t.property)), o = (i) => i.replace(/(```)(?:bash|yaml|js|console|json)(\n) *([\s\S]*?```)/g, "$1$2$3").replace(new RegExp("(?<!:):(?![: /])", "g"), ": ");
|
|
7018
|
+
return (i, r) => (u(), d("div", Kp, [
|
|
7019
|
+
n.value ? (u(), d("div", Yp, [
|
|
6994
7020
|
r[1] || (r[1] = v("span", null, " SubType ", -1)),
|
|
6995
7021
|
n.value.startsWith("#") ? (u(), d("a", {
|
|
6996
7022
|
key: 0,
|
|
@@ -6998,92 +7024,92 @@ const Fp = /* @__PURE__ */ H(Rp, [["render", Up]]), Hp = { class: "me-3" }, Bp =
|
|
|
6998
7024
|
onClick: r[0] || (r[0] = Ni(() => {
|
|
6999
7025
|
}, ["stop"]))
|
|
7000
7026
|
}, [
|
|
7001
|
-
v("button",
|
|
7002
|
-
v("span",
|
|
7003
|
-
|
|
7027
|
+
v("button", Xp, [
|
|
7028
|
+
v("span", Zp, M($(Lo)(n.value)), 1),
|
|
7029
|
+
V(wo)
|
|
7004
7030
|
])
|
|
7005
|
-
], 8,
|
|
7006
|
-
])) :
|
|
7007
|
-
i.property.default !== void 0 ? (u(), d("div",
|
|
7031
|
+
], 8, qp)) : (u(), d("span", Jp, M(n.value), 1))
|
|
7032
|
+
])) : S("", !0),
|
|
7033
|
+
i.property.default !== void 0 ? (u(), d("div", Qp, [
|
|
7008
7034
|
r[2] || (r[2] = v("span", null, " Default ", -1)),
|
|
7009
|
-
v("code",
|
|
7010
|
-
])) :
|
|
7011
|
-
i.property.pattern !== void 0 ? (u(), d("div",
|
|
7035
|
+
v("code", eg, M(i.property.default), 1)
|
|
7036
|
+
])) : S("", !0),
|
|
7037
|
+
i.property.pattern !== void 0 ? (u(), d("div", tg, [
|
|
7012
7038
|
r[3] || (r[3] = v("span", null, " Validation RegExp ", -1)),
|
|
7013
|
-
v("code",
|
|
7014
|
-
])) :
|
|
7015
|
-
i.property.unit !== void 0 && i.property.unit.trim().length > 0 ? (u(), d("div",
|
|
7039
|
+
v("code", ng, M(i.property.pattern), 1)
|
|
7040
|
+
])) : S("", !0),
|
|
7041
|
+
i.property.unit !== void 0 && i.property.unit.trim().length > 0 ? (u(), d("div", lg, [
|
|
7016
7042
|
r[4] || (r[4] = v("span", null, " Unit ", -1)),
|
|
7017
|
-
v("code",
|
|
7018
|
-
])) :
|
|
7019
|
-
i.property.minLength !== void 0 ? (u(), d("div",
|
|
7043
|
+
v("code", ig, M(i.property.unit), 1)
|
|
7044
|
+
])) : S("", !0),
|
|
7045
|
+
i.property.minLength !== void 0 ? (u(), d("div", og, [
|
|
7020
7046
|
r[5] || (r[5] = v("span", null, " Min length ", -1)),
|
|
7021
|
-
v("code",
|
|
7022
|
-
])) :
|
|
7023
|
-
i.property.maxLength !== void 0 ? (u(), d("div",
|
|
7047
|
+
v("code", rg, M(i.property.minLength), 1)
|
|
7048
|
+
])) : S("", !0),
|
|
7049
|
+
i.property.maxLength !== void 0 ? (u(), d("div", ag, [
|
|
7024
7050
|
r[6] || (r[6] = v("span", null, " Max length ", -1)),
|
|
7025
|
-
v("code",
|
|
7026
|
-
])) :
|
|
7027
|
-
i.property.minItems !== void 0 ? (u(), d("div",
|
|
7051
|
+
v("code", sg, M(i.property.maxLength), 1)
|
|
7052
|
+
])) : S("", !0),
|
|
7053
|
+
i.property.minItems !== void 0 ? (u(), d("div", ug, [
|
|
7028
7054
|
r[7] || (r[7] = v("span", null, " Min items ", -1)),
|
|
7029
|
-
v("code",
|
|
7030
|
-
])) :
|
|
7031
|
-
i.property.maxItems !== void 0 ? (u(), d("div",
|
|
7055
|
+
v("code", cg, M(i.property.minItems), 1)
|
|
7056
|
+
])) : S("", !0),
|
|
7057
|
+
i.property.maxItems !== void 0 ? (u(), d("div", dg, [
|
|
7032
7058
|
r[8] || (r[8] = v("span", null, " Max items ", -1)),
|
|
7033
|
-
v("code",
|
|
7034
|
-
])) :
|
|
7035
|
-
i.property.minimum !== void 0 ? (u(), d("div",
|
|
7059
|
+
v("code", fg, M(i.property.maxItems), 1)
|
|
7060
|
+
])) : S("", !0),
|
|
7061
|
+
i.property.minimum !== void 0 ? (u(), d("div", mg, [
|
|
7036
7062
|
r[9] || (r[9] = v("span", null, " Minimum ", -1)),
|
|
7037
|
-
v("code",
|
|
7038
|
-
])) :
|
|
7039
|
-
i.property.exclusiveMinimum !== void 0 ? (u(), d("div",
|
|
7063
|
+
v("code", pg, " >= " + M(i.property.minimum), 1)
|
|
7064
|
+
])) : S("", !0),
|
|
7065
|
+
i.property.exclusiveMinimum !== void 0 ? (u(), d("div", gg, [
|
|
7040
7066
|
r[10] || (r[10] = v("span", null, " Minimum ", -1)),
|
|
7041
|
-
v("code",
|
|
7042
|
-
])) :
|
|
7043
|
-
i.property.maximum !== void 0 ? (u(), d("div",
|
|
7067
|
+
v("code", hg, " > " + M(i.property.minimum), 1)
|
|
7068
|
+
])) : S("", !0),
|
|
7069
|
+
i.property.maximum !== void 0 ? (u(), d("div", _g, [
|
|
7044
7070
|
r[11] || (r[11] = v("span", null, " Maximum ", -1)),
|
|
7045
|
-
v("code",
|
|
7046
|
-
])) :
|
|
7047
|
-
i.property.exclusiveMaximum !== void 0 ? (u(), d("div",
|
|
7071
|
+
v("code", yg, " <= " + M(i.property.maximum), 1)
|
|
7072
|
+
])) : S("", !0),
|
|
7073
|
+
i.property.exclusiveMaximum !== void 0 ? (u(), d("div", vg, [
|
|
7048
7074
|
r[12] || (r[12] = v("span", null, " Maximum ", -1)),
|
|
7049
|
-
v("code",
|
|
7050
|
-
])) :
|
|
7051
|
-
i.property.format !== void 0 ? (u(), d("div",
|
|
7075
|
+
v("code", Eg, " < " + M(i.property.maximum), 1)
|
|
7076
|
+
])) : S("", !0),
|
|
7077
|
+
i.property.format !== void 0 ? (u(), d("div", Cg, [
|
|
7052
7078
|
r[13] || (r[13] = v("span", null, " Format ", -1)),
|
|
7053
|
-
v("code",
|
|
7054
|
-
])) :
|
|
7055
|
-
l.value !== void 0 ? (u(), d("div",
|
|
7079
|
+
v("code", bg, M(i.property.format), 1)
|
|
7080
|
+
])) : S("", !0),
|
|
7081
|
+
l.value !== void 0 ? (u(), d("div", kg, [
|
|
7056
7082
|
r[14] || (r[14] = v("span", null, " Possible Values ", -1)),
|
|
7057
|
-
v("div",
|
|
7083
|
+
v("div", Lg, [
|
|
7058
7084
|
(u(!0), d(Ee, null, Xe(l.value, (a, s) => (u(), d("code", {
|
|
7059
7085
|
class: "border rounded px-2 py-1",
|
|
7060
7086
|
key: s
|
|
7061
|
-
},
|
|
7087
|
+
}, M(a), 1))), 128))
|
|
7062
7088
|
])
|
|
7063
|
-
])) :
|
|
7064
|
-
i.property.title !== void 0 || i.property.description !== void 0 ? (u(), d("div",
|
|
7065
|
-
v("div",
|
|
7089
|
+
])) : S("", !0),
|
|
7090
|
+
i.property.title !== void 0 || i.property.description !== void 0 ? (u(), d("div", Sg, [
|
|
7091
|
+
v("div", wg, [
|
|
7066
7092
|
i.property.title !== void 0 ? ae(i.$slots, "markdown", {
|
|
7067
7093
|
key: 0,
|
|
7068
7094
|
content: o(i.property.title)
|
|
7069
|
-
}, void 0, !0) :
|
|
7095
|
+
}, void 0, !0) : S("", !0),
|
|
7070
7096
|
i.property.description !== void 0 ? ae(i.$slots, "markdown", {
|
|
7071
7097
|
key: 1,
|
|
7072
7098
|
content: o(i.property.description)
|
|
7073
|
-
}, void 0, !0) :
|
|
7074
|
-
i.property.$internalStorageURI ? (u(), d("div",
|
|
7075
|
-
|
|
7076
|
-
default:
|
|
7099
|
+
}, void 0, !0) : S("", !0),
|
|
7100
|
+
i.property.$internalStorageURI ? (u(), d("div", Ng, [
|
|
7101
|
+
V(jp, { type: "info" }, {
|
|
7102
|
+
default: G(() => [
|
|
7077
7103
|
ae(i.$slots, "markdown", { content: "Pebble expression referencing an Internal Storage URI e.g. `{{ outputs.mytask.uri }}`." }, void 0, !0)
|
|
7078
7104
|
]),
|
|
7079
7105
|
_: 3
|
|
7080
7106
|
})
|
|
7081
|
-
])) :
|
|
7107
|
+
])) : S("", !0)
|
|
7082
7108
|
])
|
|
7083
|
-
])) :
|
|
7109
|
+
])) : S("", !0)
|
|
7084
7110
|
]));
|
|
7085
7111
|
}
|
|
7086
|
-
}),
|
|
7112
|
+
}), Ag = /* @__PURE__ */ F(Tg, [["__scopeId", "data-v-721fbdf5"]]), Ig = {
|
|
7087
7113
|
name: "ChevronUpIcon",
|
|
7088
7114
|
emits: ["click"],
|
|
7089
7115
|
props: {
|
|
@@ -7099,8 +7125,8 @@ const Fp = /* @__PURE__ */ H(Rp, [["render", Up]]), Hp = { class: "me-3" }, Bp =
|
|
|
7099
7125
|
default: 24
|
|
7100
7126
|
}
|
|
7101
7127
|
}
|
|
7102
|
-
},
|
|
7103
|
-
function
|
|
7128
|
+
}, Og = ["aria-hidden", "aria-label"], $g = ["fill", "width", "height"], Dg = { d: "M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z" }, Rg = { key: 0 };
|
|
7129
|
+
function Pg(e, t, n, l, o, i) {
|
|
7104
7130
|
return u(), d("span", K(e.$attrs, {
|
|
7105
7131
|
"aria-hidden": n.title ? null : "true",
|
|
7106
7132
|
"aria-label": n.title,
|
|
@@ -7115,13 +7141,13 @@ function Dg(e, t, n, l, o, i) {
|
|
|
7115
7141
|
height: n.size,
|
|
7116
7142
|
viewBox: "0 0 24 24"
|
|
7117
7143
|
}, [
|
|
7118
|
-
v("path",
|
|
7119
|
-
n.title ? (u(), d("title",
|
|
7144
|
+
v("path", Dg, [
|
|
7145
|
+
n.title ? (u(), d("title", Rg, M(n.title), 1)) : S("", !0)
|
|
7120
7146
|
])
|
|
7121
|
-
], 8,
|
|
7122
|
-
], 16,
|
|
7147
|
+
], 8, $g))
|
|
7148
|
+
], 16, Og);
|
|
7123
7149
|
}
|
|
7124
|
-
const
|
|
7150
|
+
const Mg = /* @__PURE__ */ F(Ig, [["render", Pg]]), Vg = {
|
|
7125
7151
|
name: "SnowflakeIcon",
|
|
7126
7152
|
emits: ["click"],
|
|
7127
7153
|
props: {
|
|
@@ -7137,8 +7163,8 @@ const Rg = /* @__PURE__ */ H(Tg, [["render", Dg]]), Pg = {
|
|
|
7137
7163
|
default: 24
|
|
7138
7164
|
}
|
|
7139
7165
|
}
|
|
7140
|
-
},
|
|
7141
|
-
function
|
|
7166
|
+
}, xg = ["aria-hidden", "aria-label"], Ug = ["fill", "width", "height"], Fg = { d: "M20.79,13.95L18.46,14.57L16.46,13.44V10.56L18.46,9.43L20.79,10.05L21.31,8.12L19.54,7.65L20,5.88L18.07,5.36L17.45,7.69L15.45,8.82L13,7.38V5.12L14.71,3.41L13.29,2L12,3.29L10.71,2L9.29,3.41L11,5.12V7.38L8.5,8.82L6.5,7.69L5.92,5.36L4,5.88L4.47,7.65L2.7,8.12L3.22,10.05L5.55,9.43L7.55,10.56V13.45L5.55,14.58L3.22,13.96L2.7,15.89L4.47,16.36L4,18.12L5.93,18.64L6.55,16.31L8.55,15.18L11,16.62V18.88L9.29,20.59L10.71,22L12,20.71L13.29,22L14.7,20.59L13,18.88V16.62L15.5,15.17L17.5,16.3L18.12,18.63L20,18.12L19.53,16.35L21.3,15.88L20.79,13.95M9.5,10.56L12,9.11L14.5,10.56V13.44L12,14.89L9.5,13.44V10.56Z" }, Hg = { key: 0 };
|
|
7167
|
+
function Bg(e, t, n, l, o, i) {
|
|
7142
7168
|
return u(), d("span", K(e.$attrs, {
|
|
7143
7169
|
"aria-hidden": n.title ? null : "true",
|
|
7144
7170
|
"aria-label": n.title,
|
|
@@ -7153,13 +7179,13 @@ function Fg(e, t, n, l, o, i) {
|
|
|
7153
7179
|
height: n.size,
|
|
7154
7180
|
viewBox: "0 0 24 24"
|
|
7155
7181
|
}, [
|
|
7156
|
-
v("path",
|
|
7157
|
-
n.title ? (u(), d("title",
|
|
7182
|
+
v("path", Fg, [
|
|
7183
|
+
n.title ? (u(), d("title", Hg, M(n.title), 1)) : S("", !0)
|
|
7158
7184
|
])
|
|
7159
|
-
], 8,
|
|
7160
|
-
], 16,
|
|
7185
|
+
], 8, Ug))
|
|
7186
|
+
], 16, xg);
|
|
7161
7187
|
}
|
|
7162
|
-
const
|
|
7188
|
+
const zg = /* @__PURE__ */ F(Vg, [["render", Bg]]), Gg = {
|
|
7163
7189
|
name: "AlphaBBoxIcon",
|
|
7164
7190
|
emits: ["click"],
|
|
7165
7191
|
props: {
|
|
@@ -7175,8 +7201,8 @@ const Hg = /* @__PURE__ */ H(Pg, [["render", Fg]]), Bg = {
|
|
|
7175
7201
|
default: 24
|
|
7176
7202
|
}
|
|
7177
7203
|
}
|
|
7178
|
-
},
|
|
7179
|
-
function
|
|
7204
|
+
}, Wg = ["aria-hidden", "aria-label"], jg = ["fill", "width", "height"], Kg = { d: "M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M15,10.5V9A2,2 0 0,0 13,7H9V17H13A2,2 0 0,0 15,15V13.5C15,12.7 14.3,12 13.5,12C14.3,12 15,11.3 15,10.5M13,15H11V13H13V15M13,11H11V9H13V11Z" }, Yg = { key: 0 };
|
|
7205
|
+
function qg(e, t, n, l, o, i) {
|
|
7180
7206
|
return u(), d("span", K(e.$attrs, {
|
|
7181
7207
|
"aria-hidden": n.title ? null : "true",
|
|
7182
7208
|
"aria-label": n.title,
|
|
@@ -7191,16 +7217,16 @@ function Kg(e, t, n, l, o, i) {
|
|
|
7191
7217
|
height: n.size,
|
|
7192
7218
|
viewBox: "0 0 24 24"
|
|
7193
7219
|
}, [
|
|
7194
|
-
v("path",
|
|
7195
|
-
n.title ? (u(), d("title",
|
|
7220
|
+
v("path", Kg, [
|
|
7221
|
+
n.title ? (u(), d("title", Yg, M(n.title), 1)) : S("", !0)
|
|
7196
7222
|
])
|
|
7197
|
-
], 8,
|
|
7198
|
-
], 16,
|
|
7223
|
+
], 8, jg))
|
|
7224
|
+
], 16, Wg);
|
|
7199
7225
|
}
|
|
7200
|
-
const
|
|
7226
|
+
const Xg = /* @__PURE__ */ F(Gg, [["render", qg]]), Zg = { class: "border overflow-hidden" }, Jg = { class: "d-flex flex-grow-1 align-items-center justify-content-between" }, Qg = { class: "d-flex gap-2" }, eh = { class: "d-flex flex-wrap justify-content-end gap-2" }, th = ["href"], nh = { class: "ref-type" }, lh = {
|
|
7201
7227
|
key: 1,
|
|
7202
7228
|
class: "type-box rounded fs-7 px-2 py-1"
|
|
7203
|
-
},
|
|
7229
|
+
}, ih = /* @__PURE__ */ de({
|
|
7204
7230
|
__name: "CollapsibleProperties",
|
|
7205
7231
|
props: {
|
|
7206
7232
|
href: { default: Math.random().toString(36).substring(2, 5) },
|
|
@@ -7224,13 +7250,13 @@ const Yg = /* @__PURE__ */ H(Bg, [["render", Kg]]), qg = { class: "border overfl
|
|
|
7224
7250
|
function r(a) {
|
|
7225
7251
|
const s = [], c = [];
|
|
7226
7252
|
for (const h in a)
|
|
7227
|
-
typeof a[h] == "object" && (a[h] =
|
|
7253
|
+
typeof a[h] == "object" && (a[h] = bp(a[h]), a[h].$required ? s.push(h) : c.push(h));
|
|
7228
7254
|
const m = [...s.sort(), ...c.sort()], _ = {};
|
|
7229
7255
|
return m.forEach((h) => {
|
|
7230
7256
|
(!a[h].$deprecated || n.forceInclude?.includes(h)) && (_[h] = a[h]);
|
|
7231
7257
|
}), _;
|
|
7232
7258
|
}
|
|
7233
|
-
return (a, s) => (u(),
|
|
7259
|
+
return (a, s) => (u(), Y(an, {
|
|
7234
7260
|
class: "section-collapsible",
|
|
7235
7261
|
"clickable-text": a.sectionName,
|
|
7236
7262
|
href: a.href,
|
|
@@ -7240,9 +7266,9 @@ const Yg = /* @__PURE__ */ H(Bg, [["render", Kg]]), qg = { class: "border overfl
|
|
|
7240
7266
|
}, Si({ _: 2 }, [
|
|
7241
7267
|
Object.keys(a.properties ?? {}).length > 0 ? {
|
|
7242
7268
|
name: "content",
|
|
7243
|
-
fn:
|
|
7244
|
-
v("div",
|
|
7245
|
-
(u(!0), d(Ee, null, Xe(r(a.properties), (c, m) => (u(),
|
|
7269
|
+
fn: G(() => [
|
|
7270
|
+
v("div", Zg, [
|
|
7271
|
+
(u(!0), d(Ee, null, Xe(r(a.properties), (c, m) => (u(), Y(an, {
|
|
7246
7272
|
class: "property",
|
|
7247
7273
|
key: m,
|
|
7248
7274
|
arrow: !1,
|
|
@@ -7251,53 +7277,53 @@ const Yg = /* @__PURE__ */ H(Bg, [["render", Kg]]), qg = { class: "border overfl
|
|
|
7251
7277
|
onExpand: s[1] || (s[1] = (_) => o.value = !0),
|
|
7252
7278
|
"no-url-change": a.noUrlChange
|
|
7253
7279
|
}, {
|
|
7254
|
-
additionalButtonText:
|
|
7255
|
-
c.$required ? (u(),
|
|
7280
|
+
additionalButtonText: G(() => [
|
|
7281
|
+
c.$required ? (u(), Y(re, {
|
|
7256
7282
|
key: 0,
|
|
7257
7283
|
class: "d-flex",
|
|
7258
7284
|
title: "Required"
|
|
7259
7285
|
}, {
|
|
7260
|
-
default:
|
|
7286
|
+
default: G(() => [...s[3] || (s[3] = [
|
|
7261
7287
|
v("span", { class: "text-danger" }, " *", -1)
|
|
7262
7288
|
])]),
|
|
7263
7289
|
_: 1
|
|
7264
|
-
})) :
|
|
7290
|
+
})) : S("", !0)
|
|
7265
7291
|
]),
|
|
7266
|
-
buttonRight:
|
|
7267
|
-
v("span",
|
|
7268
|
-
v("span",
|
|
7269
|
-
a.showDynamic && !i(c) ? (u(),
|
|
7292
|
+
buttonRight: G(({ collapsed: _ }) => [
|
|
7293
|
+
v("span", Jg, [
|
|
7294
|
+
v("span", Qg, [
|
|
7295
|
+
a.showDynamic && !i(c) ? (u(), Y(re, {
|
|
7270
7296
|
key: 0,
|
|
7271
7297
|
class: "d-flex",
|
|
7272
7298
|
title: "Non-dynamic"
|
|
7273
7299
|
}, {
|
|
7274
|
-
default:
|
|
7275
|
-
|
|
7300
|
+
default: G(() => [
|
|
7301
|
+
V(zg, { class: "text-info" })
|
|
7276
7302
|
]),
|
|
7277
7303
|
_: 1
|
|
7278
|
-
})) :
|
|
7279
|
-
c.$beta ? (u(),
|
|
7304
|
+
})) : S("", !0),
|
|
7305
|
+
c.$beta ? (u(), Y(re, {
|
|
7280
7306
|
key: 1,
|
|
7281
7307
|
class: "d-flex",
|
|
7282
7308
|
title: "Beta"
|
|
7283
7309
|
}, {
|
|
7284
|
-
default:
|
|
7285
|
-
|
|
7310
|
+
default: G(() => [
|
|
7311
|
+
V(Xg, { class: "text-warning" })
|
|
7286
7312
|
]),
|
|
7287
7313
|
_: 1
|
|
7288
|
-
})) :
|
|
7289
|
-
c.$deprecated ? (u(),
|
|
7314
|
+
})) : S("", !0),
|
|
7315
|
+
c.$deprecated ? (u(), Y(re, {
|
|
7290
7316
|
key: 2,
|
|
7291
7317
|
class: "d-flex",
|
|
7292
7318
|
title: "Deprecated"
|
|
7293
7319
|
}, {
|
|
7294
|
-
default:
|
|
7295
|
-
|
|
7320
|
+
default: G(() => [
|
|
7321
|
+
V(dl, { class: "text-warning" })
|
|
7296
7322
|
]),
|
|
7297
7323
|
_: 1
|
|
7298
|
-
})) :
|
|
7324
|
+
})) : S("", !0)
|
|
7299
7325
|
]),
|
|
7300
|
-
v("span",
|
|
7326
|
+
v("span", eh, [
|
|
7301
7327
|
(u(!0), d(Ee, null, Xe($(So)(c).types, (h) => (u(), d(Ee, { key: h }, [
|
|
7302
7328
|
h.startsWith("#") ? (u(), d("a", {
|
|
7303
7329
|
key: 0,
|
|
@@ -7306,17 +7332,17 @@ const Yg = /* @__PURE__ */ H(Bg, [["render", Kg]]), qg = { class: "border overfl
|
|
|
7306
7332
|
onClick: s[0] || (s[0] = Ni(() => {
|
|
7307
7333
|
}, ["stop"]))
|
|
7308
7334
|
}, [
|
|
7309
|
-
v("span",
|
|
7310
|
-
|
|
7311
|
-
], 8,
|
|
7335
|
+
v("span", nh, M($(Lo)(h)), 1),
|
|
7336
|
+
V(wo)
|
|
7337
|
+
], 8, th)) : (u(), d("span", lh, M(h), 1))
|
|
7312
7338
|
], 64))), 128)),
|
|
7313
|
-
(u(),
|
|
7339
|
+
(u(), Y(nt(_ ? Ap : Mg), { class: "arrow" }))
|
|
7314
7340
|
])
|
|
7315
7341
|
])
|
|
7316
7342
|
]),
|
|
7317
|
-
content:
|
|
7318
|
-
|
|
7319
|
-
markdown:
|
|
7343
|
+
content: G(() => [
|
|
7344
|
+
V(Ag, { property: c }, {
|
|
7345
|
+
markdown: G(({ content: _ }) => [
|
|
7320
7346
|
ae(a.$slots, "markdown", { content: _ }, void 0, !0)
|
|
7321
7347
|
]),
|
|
7322
7348
|
_: 3
|
|
@@ -7330,20 +7356,20 @@ const Yg = /* @__PURE__ */ H(Bg, [["render", Kg]]), qg = { class: "border overfl
|
|
|
7330
7356
|
} : void 0
|
|
7331
7357
|
]), 1032, ["clickable-text", "href", "initially-expanded", "no-url-change"]));
|
|
7332
7358
|
}
|
|
7333
|
-
}), Yt = /* @__PURE__ */
|
|
7359
|
+
}), Yt = /* @__PURE__ */ F(ih, [["__scopeId", "data-v-41e2cdcf"]]), oh = { class: "d-flex flex-column gap-6" }, rh = { class: "d-flex flex-column gap-3" }, ah = {
|
|
7334
7360
|
key: 0,
|
|
7335
7361
|
class: "alert alert-info mb-2",
|
|
7336
7362
|
role: "alert"
|
|
7337
|
-
},
|
|
7363
|
+
}, sh = {
|
|
7338
7364
|
key: 1,
|
|
7339
7365
|
class: "plugin-title markdown"
|
|
7340
|
-
},
|
|
7366
|
+
}, uh = {
|
|
7341
7367
|
key: 2,
|
|
7342
7368
|
class: "markdown"
|
|
7343
|
-
},
|
|
7369
|
+
}, ch = { class: "d-flex flex-column gap-4" }, dh = { class: "d-flex flex-column gap-3" }, fh = { class: "markdown" }, mh = {
|
|
7344
7370
|
key: 0,
|
|
7345
7371
|
class: "w-100 align-self-center"
|
|
7346
|
-
},
|
|
7372
|
+
}, ph = { class: "markdown" }, gh = { class: "markdown" }, hh = { class: "markdown" }, _h = { class: "d-flex flex-column gap-7 ps-3" }, yh = { class: "markdown" }, vh = /* @__PURE__ */ de({
|
|
7347
7373
|
__name: "SchemaToHtml",
|
|
7348
7374
|
props: {
|
|
7349
7375
|
schema: {},
|
|
@@ -7378,7 +7404,7 @@ const Yg = /* @__PURE__ */ H(Bg, [["render", Kg]]), qg = { class: "border overfl
|
|
|
7378
7404
|
});
|
|
7379
7405
|
const s = (b) => b?.full ? b.code : `id: "${l.pluginType.split(".").reverse()[0]?.toLowerCase()}"
|
|
7380
7406
|
type: "${l.pluginType}"
|
|
7381
|
-
`.concat(b.code), c = te(), m =
|
|
7407
|
+
`.concat(b.code), c = te(), m = B(() => l.schema.properties?.$examples), _ = B(() => Object.fromEntries(
|
|
7382
7408
|
l.schema.properties?.$metrics?.map((b) => [b.name, { ...b, name: void 0 }])
|
|
7383
7409
|
)), {
|
|
7384
7410
|
getHighlighterCore: h
|
|
@@ -7389,22 +7415,22 @@ type: "${l.pluginType}"
|
|
|
7389
7415
|
a(), window.addEventListener("hashchange", a);
|
|
7390
7416
|
}), ki(() => {
|
|
7391
7417
|
window.removeEventListener("hashchange", a);
|
|
7392
|
-
}), (b, L) => (u(), d("div",
|
|
7393
|
-
v("div",
|
|
7394
|
-
b.schema.properties?.$beta ? (u(), d("div",
|
|
7418
|
+
}), (b, L) => (u(), d("div", oh, [
|
|
7419
|
+
v("div", rh, [
|
|
7420
|
+
b.schema.properties?.$beta ? (u(), d("div", ah, [...L[0] || (L[0] = [
|
|
7395
7421
|
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)
|
|
7396
|
-
])])) :
|
|
7397
|
-
b.schema.properties?.title ? (u(), d("div",
|
|
7422
|
+
])])) : S("", !0),
|
|
7423
|
+
b.schema.properties?.title ? (u(), d("div", sh, [
|
|
7398
7424
|
ae(b.$slots, "markdown", {
|
|
7399
7425
|
content: b.schema.properties.title.replace(/ *:(?![ /])/g, ": ")
|
|
7400
7426
|
}, void 0, !0)
|
|
7401
|
-
])) :
|
|
7402
|
-
b.schema.properties?.description ? (u(), d("div",
|
|
7427
|
+
])) : S("", !0),
|
|
7428
|
+
b.schema.properties?.description ? (u(), d("div", uh, [
|
|
7403
7429
|
ae(b.$slots, "markdown", {
|
|
7404
7430
|
content: b.schema.properties.description.replace(/ *:(?![ /])/g, ": ")
|
|
7405
7431
|
}, void 0, !0)
|
|
7406
|
-
])) :
|
|
7407
|
-
(u(),
|
|
7432
|
+
])) : S("", !0),
|
|
7433
|
+
(u(), Y(_i, {
|
|
7408
7434
|
highlighter: c.value,
|
|
7409
7435
|
language: "yaml",
|
|
7410
7436
|
theme: C,
|
|
@@ -7416,40 +7442,40 @@ type: "${l.pluginType}"
|
|
|
7416
7442
|
class: "d-flex flex-column gap-3",
|
|
7417
7443
|
key: b.pluginType
|
|
7418
7444
|
}, [
|
|
7419
|
-
m.value ? (u(),
|
|
7445
|
+
m.value ? (u(), Y(an, {
|
|
7420
7446
|
key: 0,
|
|
7421
7447
|
class: "plugin-section",
|
|
7422
7448
|
"clickable-text": "Examples",
|
|
7423
7449
|
href: "examples",
|
|
7424
7450
|
"no-url-change": b.noUrlChange
|
|
7425
7451
|
}, {
|
|
7426
|
-
content:
|
|
7427
|
-
v("div",
|
|
7452
|
+
content: G(() => [
|
|
7453
|
+
v("div", ch, [
|
|
7428
7454
|
(u(!0), d(Ee, null, Xe(m.value, (y, p) => (u(), d(Ee, {
|
|
7429
7455
|
key: b.pluginType + "-" + p
|
|
7430
7456
|
}, [
|
|
7431
|
-
v("div",
|
|
7432
|
-
v("div",
|
|
7457
|
+
v("div", dh, [
|
|
7458
|
+
v("div", fh, [
|
|
7433
7459
|
y.title ? ae(b.$slots, "markdown", {
|
|
7434
7460
|
key: 0,
|
|
7435
7461
|
content: y.title.replace(/ *:(?![ /])/g, ": ")
|
|
7436
|
-
}, void 0, !0) :
|
|
7462
|
+
}, void 0, !0) : S("", !0)
|
|
7437
7463
|
]),
|
|
7438
|
-
y.code ? (u(),
|
|
7464
|
+
y.code ? (u(), Y(_i, {
|
|
7439
7465
|
key: 0,
|
|
7440
7466
|
highlighter: c.value,
|
|
7441
7467
|
language: y.lang ?? "yaml",
|
|
7442
7468
|
theme: C,
|
|
7443
7469
|
code: s(y)
|
|
7444
|
-
}, null, 8, ["highlighter", "language", "code"])) :
|
|
7470
|
+
}, null, 8, ["highlighter", "language", "code"])) : S("", !0)
|
|
7445
7471
|
]),
|
|
7446
|
-
p < m.value.length - 1 ? (u(), d("hr",
|
|
7472
|
+
p < m.value.length - 1 ? (u(), d("hr", mh)) : S("", !0)
|
|
7447
7473
|
], 64))), 128))
|
|
7448
7474
|
])
|
|
7449
7475
|
]),
|
|
7450
7476
|
_: 3
|
|
7451
|
-
}, 8, ["no-url-change"])) :
|
|
7452
|
-
b.schema.properties?.properties ? (u(),
|
|
7477
|
+
}, 8, ["no-url-change"])) : S("", !0),
|
|
7478
|
+
b.schema.properties?.properties ? (u(), Y(Yt, {
|
|
7453
7479
|
key: 1,
|
|
7454
7480
|
class: "plugin-section",
|
|
7455
7481
|
properties: b.schema.properties.properties,
|
|
@@ -7459,14 +7485,14 @@ type: "${l.pluginType}"
|
|
|
7459
7485
|
"force-include": b.forceIncludeProperties,
|
|
7460
7486
|
"no-url-change": b.noUrlChange
|
|
7461
7487
|
}, {
|
|
7462
|
-
markdown:
|
|
7463
|
-
v("div",
|
|
7488
|
+
markdown: G(({ content: y }) => [
|
|
7489
|
+
v("div", ph, [
|
|
7464
7490
|
ae(b.$slots, "markdown", { content: y }, void 0, !0)
|
|
7465
7491
|
])
|
|
7466
7492
|
]),
|
|
7467
7493
|
_: 3
|
|
7468
|
-
}, 8, ["properties", "initially-expanded", "force-include", "no-url-change"])) :
|
|
7469
|
-
b.schema.outputs?.properties && Object.keys(b.schema.outputs.properties).length > 0 ? (u(),
|
|
7494
|
+
}, 8, ["properties", "initially-expanded", "force-include", "no-url-change"])) : S("", !0),
|
|
7495
|
+
b.schema.outputs?.properties && Object.keys(b.schema.outputs.properties).length > 0 ? (u(), Y(Yt, {
|
|
7470
7496
|
key: 2,
|
|
7471
7497
|
class: "plugin-section",
|
|
7472
7498
|
properties: b.schema.outputs.properties,
|
|
@@ -7475,14 +7501,14 @@ type: "${l.pluginType}"
|
|
|
7475
7501
|
"show-dynamic": !1,
|
|
7476
7502
|
"no-url-change": b.noUrlChange
|
|
7477
7503
|
}, {
|
|
7478
|
-
markdown:
|
|
7479
|
-
v("div",
|
|
7504
|
+
markdown: G(({ content: y }) => [
|
|
7505
|
+
v("div", gh, [
|
|
7480
7506
|
ae(b.$slots, "markdown", { content: y }, void 0, !0)
|
|
7481
7507
|
])
|
|
7482
7508
|
]),
|
|
7483
7509
|
_: 3
|
|
7484
|
-
}, 8, ["properties", "no-url-change"])) :
|
|
7485
|
-
b.schema.properties?.$metrics ? (u(),
|
|
7510
|
+
}, 8, ["properties", "no-url-change"])) : S("", !0),
|
|
7511
|
+
b.schema.properties?.$metrics ? (u(), Y(Yt, {
|
|
7486
7512
|
key: 3,
|
|
7487
7513
|
class: "plugin-section",
|
|
7488
7514
|
properties: _.value,
|
|
@@ -7491,14 +7517,14 @@ type: "${l.pluginType}"
|
|
|
7491
7517
|
"show-dynamic": !1,
|
|
7492
7518
|
"no-url-change": b.noUrlChange
|
|
7493
7519
|
}, {
|
|
7494
|
-
markdown:
|
|
7495
|
-
v("div",
|
|
7520
|
+
markdown: G(({ content: y }) => [
|
|
7521
|
+
v("div", hh, [
|
|
7496
7522
|
ae(b.$slots, "markdown", { content: y }, void 0, !0)
|
|
7497
7523
|
])
|
|
7498
7524
|
]),
|
|
7499
7525
|
_: 3
|
|
7500
|
-
}, 8, ["properties", "no-url-change"])) :
|
|
7501
|
-
b.schema.definitions && Object.keys(b.schema.definitions).length > 0 ? (u(),
|
|
7526
|
+
}, 8, ["properties", "no-url-change"])) : S("", !0),
|
|
7527
|
+
b.schema.definitions && Object.keys(b.schema.definitions).length > 0 ? (u(), Y(an, {
|
|
7502
7528
|
class: "plugin-section",
|
|
7503
7529
|
"clickable-text": "Definitions",
|
|
7504
7530
|
href: "definitions",
|
|
@@ -7506,9 +7532,9 @@ type: "${l.pluginType}"
|
|
|
7506
7532
|
key: `definitions-${b.pluginType}-${r.value}`,
|
|
7507
7533
|
"no-url-change": b.noUrlChange
|
|
7508
7534
|
}, {
|
|
7509
|
-
content:
|
|
7510
|
-
v("div",
|
|
7511
|
-
(u(!0), d(Ee, null, Xe(Object.entries(b.schema.definitions), ([y, p]) => (u(),
|
|
7535
|
+
content: G(() => [
|
|
7536
|
+
v("div", _h, [
|
|
7537
|
+
(u(!0), d(Ee, null, Xe(Object.entries(b.schema.definitions), ([y, p]) => (u(), Y(Yt, {
|
|
7512
7538
|
properties: p.properties,
|
|
7513
7539
|
"section-name": p.title ?? y.split("_")[0],
|
|
7514
7540
|
href: y,
|
|
@@ -7521,8 +7547,8 @@ type: "${l.pluginType}"
|
|
|
7521
7547
|
},
|
|
7522
7548
|
"no-url-change": b.noUrlChange
|
|
7523
7549
|
}, {
|
|
7524
|
-
markdown:
|
|
7525
|
-
v("div",
|
|
7550
|
+
markdown: G(({ content: E }) => [
|
|
7551
|
+
v("div", yh, [
|
|
7526
7552
|
ae(b.$slots, "markdown", { content: E }, void 0, !0)
|
|
7527
7553
|
])
|
|
7528
7554
|
]),
|
|
@@ -7531,11 +7557,11 @@ type: "${l.pluginType}"
|
|
|
7531
7557
|
])
|
|
7532
7558
|
]),
|
|
7533
7559
|
_: 3
|
|
7534
|
-
}, 8, ["initially-expanded", "no-url-change"])) :
|
|
7560
|
+
}, 8, ["initially-expanded", "no-url-change"])) : S("", !0)
|
|
7535
7561
|
]))
|
|
7536
7562
|
]));
|
|
7537
7563
|
}
|
|
7538
|
-
}),
|
|
7564
|
+
}), R_ = /* @__PURE__ */ F(vh, [["__scopeId", "data-v-e94db40a"]]), Eh = {
|
|
7539
7565
|
name: "ChevronRightIcon",
|
|
7540
7566
|
emits: ["click"],
|
|
7541
7567
|
props: {
|
|
@@ -7551,8 +7577,8 @@ type: "${l.pluginType}"
|
|
|
7551
7577
|
default: 24
|
|
7552
7578
|
}
|
|
7553
7579
|
}
|
|
7554
|
-
},
|
|
7555
|
-
function
|
|
7580
|
+
}, Ch = ["aria-hidden", "aria-label"], bh = ["fill", "width", "height"], kh = { d: "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z" }, Lh = { key: 0 };
|
|
7581
|
+
function Sh(e, t, n, l, o, i) {
|
|
7556
7582
|
return u(), d("span", K(e.$attrs, {
|
|
7557
7583
|
"aria-hidden": n.title ? null : "true",
|
|
7558
7584
|
"aria-label": n.title,
|
|
@@ -7567,13 +7593,13 @@ function kh(e, t, n, l, o, i) {
|
|
|
7567
7593
|
height: n.size,
|
|
7568
7594
|
viewBox: "0 0 24 24"
|
|
7569
7595
|
}, [
|
|
7570
|
-
v("path",
|
|
7571
|
-
n.title ? (u(), d("title",
|
|
7596
|
+
v("path", kh, [
|
|
7597
|
+
n.title ? (u(), d("title", Lh, M(n.title), 1)) : S("", !0)
|
|
7572
7598
|
])
|
|
7573
|
-
], 8,
|
|
7574
|
-
], 16,
|
|
7599
|
+
], 8, bh))
|
|
7600
|
+
], 16, Ch);
|
|
7575
7601
|
}
|
|
7576
|
-
const
|
|
7602
|
+
const wh = /* @__PURE__ */ F(Eh, [["render", Sh]]), Nh = ["href"], Th = ["src", "alt"], Ah = /* @__PURE__ */ de({
|
|
7577
7603
|
__name: "RowLink",
|
|
7578
7604
|
props: {
|
|
7579
7605
|
iconB64Svg: {},
|
|
@@ -7582,7 +7608,7 @@ const Lh = /* @__PURE__ */ H(yh, [["render", kh]]), Sh = ["href"], wh = ["src",
|
|
|
7582
7608
|
href: {}
|
|
7583
7609
|
},
|
|
7584
7610
|
setup(e) {
|
|
7585
|
-
const t = e, n =
|
|
7611
|
+
const t = e, n = B(() => t.href === void 0 ? `${t.routePath}/${vt(t.text)}` : t.href);
|
|
7586
7612
|
return (l, o) => (u(), d("a", {
|
|
7587
7613
|
href: n.value,
|
|
7588
7614
|
class: "row-link d-flex flex-grow-1 align-items-center gap-7 rounded"
|
|
@@ -7590,15 +7616,15 @@ const Lh = /* @__PURE__ */ H(yh, [["render", kh]]), Sh = ["href"], wh = ["src",
|
|
|
7590
7616
|
v("img", {
|
|
7591
7617
|
src: l.iconB64Svg,
|
|
7592
7618
|
alt: `${l.text} icon`
|
|
7593
|
-
}, null, 8,
|
|
7594
|
-
Ze(
|
|
7595
|
-
|
|
7596
|
-
], 8,
|
|
7619
|
+
}, null, 8, Th),
|
|
7620
|
+
Ze(M(l.text) + " ", 1),
|
|
7621
|
+
V(wh, { class: "ms-auto" })
|
|
7622
|
+
], 8, Nh));
|
|
7597
7623
|
}
|
|
7598
|
-
}), yi = /* @__PURE__ */
|
|
7624
|
+
}), yi = /* @__PURE__ */ F(Ah, [["__scopeId", "data-v-a361531e"]]), Ih = { class: "d-flex flex-column gap-4" }, Oh = {
|
|
7599
7625
|
key: 1,
|
|
7600
7626
|
class: "d-flex flex-column"
|
|
7601
|
-
},
|
|
7627
|
+
}, $h = ["id"], Dh = { class: "d-flex flex-column" }, P_ = /* @__PURE__ */ de({
|
|
7602
7628
|
__name: "PluginIndex",
|
|
7603
7629
|
props: {
|
|
7604
7630
|
plugins: {},
|
|
@@ -7609,7 +7635,7 @@ const Lh = /* @__PURE__ */ H(yh, [["render", kh]]), Sh = ["href"], wh = ["src",
|
|
|
7609
7635
|
},
|
|
7610
7636
|
emits: ["goTo"],
|
|
7611
7637
|
setup(e) {
|
|
7612
|
-
const t = e, n =
|
|
7638
|
+
const t = e, n = B(() => t.plugins.find((m) => t.subGroup === void 0 ? !0 : vt(At(m)) === t.subGroup)), l = B(() => n.value?.longDescription ?? n.value?.description), o = B(() => t.plugins.filter((m) => m.name.toLowerCase() === t.pluginName.toLowerCase() && m.subGroup !== void 0)), i = (m) => {
|
|
7613
7639
|
let _ = m.split(".");
|
|
7614
7640
|
return _?.[_.length - 1];
|
|
7615
7641
|
}, r = (m) => `${t.routePath}/${vt(m)}`, a = (m) => `${t.routePath}/${m}`;
|
|
@@ -7618,14 +7644,14 @@ const Lh = /* @__PURE__ */ H(yh, [["render", kh]]), Sh = ["href"], wh = ["src",
|
|
|
7618
7644
|
Object.entries(m).filter(([_, h]) => as(_, h)).map(([_, h]) => [_.replace(/[A-Z]/g, (C) => ` ${C}`), h.filter(({ deprecated: C }) => !C).map(({ cls: C }) => C)])
|
|
7619
7645
|
);
|
|
7620
7646
|
}
|
|
7621
|
-
const c =
|
|
7622
|
-
return (m, _) => (u(), d("div",
|
|
7647
|
+
const c = B(() => s(n.value));
|
|
7648
|
+
return (m, _) => (u(), d("div", Ih, [
|
|
7623
7649
|
l.value !== void 0 ? ae(m.$slots, "markdown", {
|
|
7624
7650
|
key: 0,
|
|
7625
7651
|
content: l.value.replace(/ *:(?![ /])/g, ": ")
|
|
7626
|
-
}) :
|
|
7627
|
-
m.subGroup === void 0 && m.plugins.length > 1 ? (u(), d("div",
|
|
7628
|
-
(u(!0), d(Ee, null, Xe(o.value, (h) => (u(),
|
|
7652
|
+
}) : S("", !0),
|
|
7653
|
+
m.subGroup === void 0 && m.plugins.length > 1 ? (u(), d("div", Oh, [
|
|
7654
|
+
(u(!0), d(Ee, null, Xe(o.value, (h) => (u(), Y(yi, {
|
|
7629
7655
|
id: `group-${$(vt)($(At)(h))}`,
|
|
7630
7656
|
"icon-b64-svg": "data:image/svg+xml;base64," + (m.icons[h.subGroup] ?? m.icons[h.group]),
|
|
7631
7657
|
text: $(At)(h),
|
|
@@ -7642,9 +7668,9 @@ const Lh = /* @__PURE__ */ H(yh, [["render", kh]]), Sh = ["href"], wh = ["src",
|
|
|
7642
7668
|
v("h4", {
|
|
7643
7669
|
id: `section-${$(vt)(C)}`,
|
|
7644
7670
|
class: "text-capitalize"
|
|
7645
|
-
},
|
|
7646
|
-
v("div",
|
|
7647
|
-
(u(!0), d(Ee, null, Xe(h, (b) => (u(),
|
|
7671
|
+
}, M(C), 9, $h),
|
|
7672
|
+
v("div", Dh, [
|
|
7673
|
+
(u(!0), d(Ee, null, Xe(h, (b) => (u(), Y(yi, {
|
|
7648
7674
|
id: $(vt)(b),
|
|
7649
7675
|
"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
7676
|
text: i(b),
|
|
@@ -7658,18 +7684,18 @@ const Lh = /* @__PURE__ */ H(yh, [["render", kh]]), Sh = ["href"], wh = ["src",
|
|
|
7658
7684
|
]))), 128))
|
|
7659
7685
|
]));
|
|
7660
7686
|
}
|
|
7661
|
-
}),
|
|
7662
|
-
function
|
|
7687
|
+
}), Rh = /"(?:_|\\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*:/, Ph = /"(?: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*:/, Mh = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
|
|
7688
|
+
function Vh(e, t) {
|
|
7663
7689
|
if (e === "__proto__" || e === "constructor" && t && typeof t == "object" && "prototype" in t) {
|
|
7664
|
-
|
|
7690
|
+
xh(e);
|
|
7665
7691
|
return;
|
|
7666
7692
|
}
|
|
7667
7693
|
return t;
|
|
7668
7694
|
}
|
|
7669
|
-
function
|
|
7695
|
+
function xh(e) {
|
|
7670
7696
|
console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`);
|
|
7671
7697
|
}
|
|
7672
|
-
function
|
|
7698
|
+
function Uh(e, t = {}) {
|
|
7673
7699
|
if (typeof e != "string")
|
|
7674
7700
|
return e;
|
|
7675
7701
|
if (e[0] === '"' && e[e.length - 1] === '"' && e.indexOf("\\") === -1)
|
|
@@ -7692,16 +7718,16 @@ function Vh(e, t = {}) {
|
|
|
7692
7718
|
case "-infinity":
|
|
7693
7719
|
return Number.NEGATIVE_INFINITY;
|
|
7694
7720
|
}
|
|
7695
|
-
if (!
|
|
7721
|
+
if (!Mh.test(e)) {
|
|
7696
7722
|
if (t.strict)
|
|
7697
7723
|
throw new SyntaxError("[destr] Invalid JSON");
|
|
7698
7724
|
return e;
|
|
7699
7725
|
}
|
|
7700
7726
|
try {
|
|
7701
|
-
if (
|
|
7727
|
+
if (Rh.test(e) || Ph.test(e)) {
|
|
7702
7728
|
if (t.strict)
|
|
7703
7729
|
throw new Error("[destr] Possible prototype pollution");
|
|
7704
|
-
return JSON.parse(e,
|
|
7730
|
+
return JSON.parse(e, Vh);
|
|
7705
7731
|
}
|
|
7706
7732
|
return JSON.parse(e);
|
|
7707
7733
|
} catch (l) {
|
|
@@ -7710,13 +7736,13 @@ function Vh(e, t = {}) {
|
|
|
7710
7736
|
return e;
|
|
7711
7737
|
}
|
|
7712
7738
|
}
|
|
7713
|
-
const
|
|
7714
|
-
function
|
|
7715
|
-
if (!
|
|
7739
|
+
const Fh = /\d/, Hh = ["-", "_", "/", "."];
|
|
7740
|
+
function Bh(e = "") {
|
|
7741
|
+
if (!Fh.test(e))
|
|
7716
7742
|
return e !== e.toLowerCase();
|
|
7717
7743
|
}
|
|
7718
7744
|
function No(e, t) {
|
|
7719
|
-
const n =
|
|
7745
|
+
const n = Hh, l = [];
|
|
7720
7746
|
if (!e || typeof e != "string")
|
|
7721
7747
|
return l;
|
|
7722
7748
|
let o = "", i, r;
|
|
@@ -7726,7 +7752,7 @@ function No(e, t) {
|
|
|
7726
7752
|
l.push(o), o = "", i = void 0;
|
|
7727
7753
|
continue;
|
|
7728
7754
|
}
|
|
7729
|
-
const c =
|
|
7755
|
+
const c = Bh(a);
|
|
7730
7756
|
if (r === !1) {
|
|
7731
7757
|
if (i === !1 && c === !0) {
|
|
7732
7758
|
l.push(o), o = a, i = c;
|
|
@@ -7742,13 +7768,13 @@ function No(e, t) {
|
|
|
7742
7768
|
}
|
|
7743
7769
|
return l.push(o), l;
|
|
7744
7770
|
}
|
|
7745
|
-
function
|
|
7771
|
+
function zh(e) {
|
|
7746
7772
|
return e ? e[0].toUpperCase() + e.slice(1) : "";
|
|
7747
7773
|
}
|
|
7748
7774
|
function To(e, t) {
|
|
7749
|
-
return e ? (Array.isArray(e) ? e : No(e)).map((n) =>
|
|
7775
|
+
return e ? (Array.isArray(e) ? e : No(e)).map((n) => zh(n)).join("") : "";
|
|
7750
7776
|
}
|
|
7751
|
-
function
|
|
7777
|
+
function Gh(e, t) {
|
|
7752
7778
|
return e ? (Array.isArray(e) ? e : No(e)).map((n) => n.toLowerCase()).join("-") : "";
|
|
7753
7779
|
}
|
|
7754
7780
|
class xt {
|
|
@@ -7803,14 +7829,14 @@ Oe.prototype.overloadedBoolean = !1;
|
|
|
7803
7829
|
Oe.prototype.property = "";
|
|
7804
7830
|
Oe.prototype.spaceSeparated = !1;
|
|
7805
7831
|
Oe.prototype.space = void 0;
|
|
7806
|
-
let
|
|
7807
|
-
const
|
|
7832
|
+
let Wh = 0;
|
|
7833
|
+
const q = pt(), Ce = pt(), qn = pt(), O = pt(), ce = pt(), Ct = pt(), De = pt();
|
|
7808
7834
|
function pt() {
|
|
7809
|
-
return 2 ** ++
|
|
7835
|
+
return 2 ** ++Wh;
|
|
7810
7836
|
}
|
|
7811
7837
|
const Xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7812
7838
|
__proto__: null,
|
|
7813
|
-
boolean:
|
|
7839
|
+
boolean: q,
|
|
7814
7840
|
booleanish: Ce,
|
|
7815
7841
|
commaOrSpaceSeparated: De,
|
|
7816
7842
|
commaSeparated: Ct,
|
|
@@ -7923,7 +7949,7 @@ function Oo(e, t) {
|
|
|
7923
7949
|
function $o(e, t) {
|
|
7924
7950
|
return Oo(e, t.toLowerCase());
|
|
7925
7951
|
}
|
|
7926
|
-
const
|
|
7952
|
+
const jh = St({
|
|
7927
7953
|
attributes: {
|
|
7928
7954
|
acceptcharset: "accept-charset",
|
|
7929
7955
|
classname: "class",
|
|
@@ -7939,38 +7965,38 @@ const Gh = St({
|
|
|
7939
7965
|
accessKey: ce,
|
|
7940
7966
|
action: null,
|
|
7941
7967
|
allow: null,
|
|
7942
|
-
allowFullScreen:
|
|
7943
|
-
allowPaymentRequest:
|
|
7944
|
-
allowUserMedia:
|
|
7968
|
+
allowFullScreen: q,
|
|
7969
|
+
allowPaymentRequest: q,
|
|
7970
|
+
allowUserMedia: q,
|
|
7945
7971
|
alt: null,
|
|
7946
7972
|
as: null,
|
|
7947
|
-
async:
|
|
7973
|
+
async: q,
|
|
7948
7974
|
autoCapitalize: null,
|
|
7949
7975
|
autoComplete: ce,
|
|
7950
|
-
autoFocus:
|
|
7951
|
-
autoPlay:
|
|
7976
|
+
autoFocus: q,
|
|
7977
|
+
autoPlay: q,
|
|
7952
7978
|
blocking: ce,
|
|
7953
7979
|
capture: null,
|
|
7954
7980
|
charSet: null,
|
|
7955
|
-
checked:
|
|
7981
|
+
checked: q,
|
|
7956
7982
|
cite: null,
|
|
7957
7983
|
className: ce,
|
|
7958
7984
|
cols: O,
|
|
7959
7985
|
colSpan: null,
|
|
7960
7986
|
content: null,
|
|
7961
7987
|
contentEditable: Ce,
|
|
7962
|
-
controls:
|
|
7988
|
+
controls: q,
|
|
7963
7989
|
controlsList: ce,
|
|
7964
7990
|
coords: O | Ct,
|
|
7965
7991
|
crossOrigin: null,
|
|
7966
7992
|
data: null,
|
|
7967
7993
|
dateTime: null,
|
|
7968
7994
|
decoding: null,
|
|
7969
|
-
default:
|
|
7970
|
-
defer:
|
|
7995
|
+
default: q,
|
|
7996
|
+
defer: q,
|
|
7971
7997
|
dir: null,
|
|
7972
7998
|
dirName: null,
|
|
7973
|
-
disabled:
|
|
7999
|
+
disabled: q,
|
|
7974
8000
|
download: qn,
|
|
7975
8001
|
draggable: Ce,
|
|
7976
8002
|
encType: null,
|
|
@@ -7980,7 +8006,7 @@ const Gh = St({
|
|
|
7980
8006
|
formAction: null,
|
|
7981
8007
|
formEncType: null,
|
|
7982
8008
|
formMethod: null,
|
|
7983
|
-
formNoValidate:
|
|
8009
|
+
formNoValidate: q,
|
|
7984
8010
|
formTarget: null,
|
|
7985
8011
|
headers: ce,
|
|
7986
8012
|
height: O,
|
|
@@ -7993,15 +8019,15 @@ const Gh = St({
|
|
|
7993
8019
|
id: null,
|
|
7994
8020
|
imageSizes: null,
|
|
7995
8021
|
imageSrcSet: null,
|
|
7996
|
-
inert:
|
|
8022
|
+
inert: q,
|
|
7997
8023
|
inputMode: null,
|
|
7998
8024
|
integrity: null,
|
|
7999
8025
|
is: null,
|
|
8000
|
-
isMap:
|
|
8026
|
+
isMap: q,
|
|
8001
8027
|
itemId: null,
|
|
8002
8028
|
itemProp: ce,
|
|
8003
8029
|
itemRef: ce,
|
|
8004
|
-
itemScope:
|
|
8030
|
+
itemScope: q,
|
|
8005
8031
|
itemType: ce,
|
|
8006
8032
|
kind: null,
|
|
8007
8033
|
label: null,
|
|
@@ -8009,7 +8035,7 @@ const Gh = St({
|
|
|
8009
8035
|
language: null,
|
|
8010
8036
|
list: null,
|
|
8011
8037
|
loading: null,
|
|
8012
|
-
loop:
|
|
8038
|
+
loop: q,
|
|
8013
8039
|
low: O,
|
|
8014
8040
|
manifest: null,
|
|
8015
8041
|
max: null,
|
|
@@ -8018,12 +8044,12 @@ const Gh = St({
|
|
|
8018
8044
|
method: null,
|
|
8019
8045
|
min: null,
|
|
8020
8046
|
minLength: O,
|
|
8021
|
-
multiple:
|
|
8022
|
-
muted:
|
|
8047
|
+
multiple: q,
|
|
8048
|
+
muted: q,
|
|
8023
8049
|
name: null,
|
|
8024
8050
|
nonce: null,
|
|
8025
|
-
noModule:
|
|
8026
|
-
noValidate:
|
|
8051
|
+
noModule: q,
|
|
8052
|
+
noValidate: q,
|
|
8027
8053
|
onAbort: null,
|
|
8028
8054
|
onAfterPrint: null,
|
|
8029
8055
|
onAuxClick: null,
|
|
@@ -8112,31 +8138,31 @@ const Gh = St({
|
|
|
8112
8138
|
onVolumeChange: null,
|
|
8113
8139
|
onWaiting: null,
|
|
8114
8140
|
onWheel: null,
|
|
8115
|
-
open:
|
|
8141
|
+
open: q,
|
|
8116
8142
|
optimum: O,
|
|
8117
8143
|
pattern: null,
|
|
8118
8144
|
ping: ce,
|
|
8119
8145
|
placeholder: null,
|
|
8120
|
-
playsInline:
|
|
8146
|
+
playsInline: q,
|
|
8121
8147
|
popover: null,
|
|
8122
8148
|
popoverTarget: null,
|
|
8123
8149
|
popoverTargetAction: null,
|
|
8124
8150
|
poster: null,
|
|
8125
8151
|
preload: null,
|
|
8126
|
-
readOnly:
|
|
8152
|
+
readOnly: q,
|
|
8127
8153
|
referrerPolicy: null,
|
|
8128
8154
|
rel: ce,
|
|
8129
|
-
required:
|
|
8130
|
-
reversed:
|
|
8155
|
+
required: q,
|
|
8156
|
+
reversed: q,
|
|
8131
8157
|
rows: O,
|
|
8132
8158
|
rowSpan: O,
|
|
8133
8159
|
sandbox: ce,
|
|
8134
8160
|
scope: null,
|
|
8135
|
-
scoped:
|
|
8136
|
-
seamless:
|
|
8137
|
-
selected:
|
|
8138
|
-
shadowRootClonable:
|
|
8139
|
-
shadowRootDelegatesFocus:
|
|
8161
|
+
scoped: q,
|
|
8162
|
+
seamless: q,
|
|
8163
|
+
selected: q,
|
|
8164
|
+
shadowRootClonable: q,
|
|
8165
|
+
shadowRootDelegatesFocus: q,
|
|
8140
8166
|
shadowRootMode: null,
|
|
8141
8167
|
shape: null,
|
|
8142
8168
|
size: O,
|
|
@@ -8156,7 +8182,7 @@ const Gh = St({
|
|
|
8156
8182
|
title: null,
|
|
8157
8183
|
translate: null,
|
|
8158
8184
|
type: null,
|
|
8159
|
-
typeMustMatch:
|
|
8185
|
+
typeMustMatch: q,
|
|
8160
8186
|
useMap: null,
|
|
8161
8187
|
value: Ce,
|
|
8162
8188
|
width: O,
|
|
@@ -8202,9 +8228,9 @@ const Gh = St({
|
|
|
8202
8228
|
// `<object>`
|
|
8203
8229
|
color: null,
|
|
8204
8230
|
// `<font>` and `<hr>`. Use CSS instead
|
|
8205
|
-
compact:
|
|
8231
|
+
compact: q,
|
|
8206
8232
|
// Lists. Use CSS to reduce space between items instead
|
|
8207
|
-
declare:
|
|
8233
|
+
declare: q,
|
|
8208
8234
|
// `<object>`
|
|
8209
8235
|
event: null,
|
|
8210
8236
|
// `<script>`
|
|
@@ -8228,13 +8254,13 @@ const Gh = St({
|
|
|
8228
8254
|
// `<body>`
|
|
8229
8255
|
marginWidth: O,
|
|
8230
8256
|
// `<body>`
|
|
8231
|
-
noResize:
|
|
8257
|
+
noResize: q,
|
|
8232
8258
|
// `<frame>`
|
|
8233
|
-
noHref:
|
|
8259
|
+
noHref: q,
|
|
8234
8260
|
// `<area>`. Use no href instead of an explicit `nohref`
|
|
8235
|
-
noShade:
|
|
8261
|
+
noShade: q,
|
|
8236
8262
|
// `<hr>`. Use background-color and height instead of borders
|
|
8237
|
-
noWrap:
|
|
8263
|
+
noWrap: q,
|
|
8238
8264
|
// `<td>` and `<th>`
|
|
8239
8265
|
object: null,
|
|
8240
8266
|
// `<applet>`
|
|
@@ -8274,8 +8300,8 @@ const Gh = St({
|
|
|
8274
8300
|
allowTransparency: null,
|
|
8275
8301
|
autoCorrect: null,
|
|
8276
8302
|
autoSave: null,
|
|
8277
|
-
disablePictureInPicture:
|
|
8278
|
-
disableRemotePlayback:
|
|
8303
|
+
disablePictureInPicture: q,
|
|
8304
|
+
disableRemotePlayback: q,
|
|
8279
8305
|
prefix: null,
|
|
8280
8306
|
property: null,
|
|
8281
8307
|
results: O,
|
|
@@ -8284,7 +8310,7 @@ const Gh = St({
|
|
|
8284
8310
|
},
|
|
8285
8311
|
space: "html",
|
|
8286
8312
|
transform: $o
|
|
8287
|
-
}),
|
|
8313
|
+
}), Kh = St({
|
|
8288
8314
|
attributes: {
|
|
8289
8315
|
accentHeight: "accent-height",
|
|
8290
8316
|
alignmentBaseline: "alignment-baseline",
|
|
@@ -8510,7 +8536,7 @@ const Gh = St({
|
|
|
8510
8536
|
dur: null,
|
|
8511
8537
|
divisor: O,
|
|
8512
8538
|
dominantBaseline: null,
|
|
8513
|
-
download:
|
|
8539
|
+
download: q,
|
|
8514
8540
|
dx: null,
|
|
8515
8541
|
dy: null,
|
|
8516
8542
|
edgeMode: null,
|
|
@@ -8868,20 +8894,20 @@ const Gh = St({
|
|
|
8868
8894
|
transform(e, t) {
|
|
8869
8895
|
return "xml:" + t.slice(3).toLowerCase();
|
|
8870
8896
|
}
|
|
8871
|
-
}),
|
|
8872
|
-
function
|
|
8897
|
+
}), Yh = /[A-Z]/g, Ei = /-[a-z]/g, qh = /^data[-\w.:]+$/i;
|
|
8898
|
+
function Xh(e, t) {
|
|
8873
8899
|
const n = Yn(t);
|
|
8874
8900
|
let l = t, o = Oe;
|
|
8875
8901
|
if (n in e.normal)
|
|
8876
8902
|
return e.property[e.normal[n]];
|
|
8877
|
-
if (n.length > 4 && n.slice(0, 4) === "data" &&
|
|
8903
|
+
if (n.length > 4 && n.slice(0, 4) === "data" && qh.test(t)) {
|
|
8878
8904
|
if (t.charAt(4) === "-") {
|
|
8879
|
-
const i = t.slice(5).replace(Ei,
|
|
8905
|
+
const i = t.slice(5).replace(Ei, Jh);
|
|
8880
8906
|
l = "data" + i.charAt(0).toUpperCase() + i.slice(1);
|
|
8881
8907
|
} else {
|
|
8882
8908
|
const i = t.slice(4);
|
|
8883
8909
|
if (!Ei.test(i)) {
|
|
8884
|
-
let r = i.replace(
|
|
8910
|
+
let r = i.replace(Yh, Zh);
|
|
8885
8911
|
r.charAt(0) !== "-" && (r = "-" + r), t = "data" + r;
|
|
8886
8912
|
}
|
|
8887
8913
|
}
|
|
@@ -8889,14 +8915,14 @@ function Yh(e, t) {
|
|
|
8889
8915
|
}
|
|
8890
8916
|
return new o(l, t);
|
|
8891
8917
|
}
|
|
8892
|
-
function
|
|
8918
|
+
function Zh(e) {
|
|
8893
8919
|
return "-" + e.toLowerCase();
|
|
8894
8920
|
}
|
|
8895
|
-
function
|
|
8921
|
+
function Jh(e) {
|
|
8896
8922
|
return e.charAt(1).toUpperCase();
|
|
8897
8923
|
}
|
|
8898
|
-
const
|
|
8899
|
-
Ao([Io,
|
|
8924
|
+
const Qh = Ao([Io, jh, Do, Ro, Po], "html");
|
|
8925
|
+
Ao([Io, Kh, Do, Ro, Po], "svg");
|
|
8900
8926
|
const gl = [
|
|
8901
8927
|
"a",
|
|
8902
8928
|
"abbr",
|
|
@@ -9015,7 +9041,7 @@ const gl = [
|
|
|
9015
9041
|
"var",
|
|
9016
9042
|
"video",
|
|
9017
9043
|
"wbr"
|
|
9018
|
-
],
|
|
9044
|
+
], e_ = ["p", "h1", "h2", "h3", "h4", "h5", "h6", "li"];
|
|
9019
9045
|
function sn(e, t) {
|
|
9020
9046
|
return e.type === t || typeof e.type == "object" && e.type.tag === t || e.tag === t;
|
|
9021
9047
|
}
|
|
@@ -9039,7 +9065,7 @@ function Vo(e, t = []) {
|
|
|
9039
9065
|
if (Array.isArray(e))
|
|
9040
9066
|
return e.flatMap((l) => Vo(l, t));
|
|
9041
9067
|
let n = e;
|
|
9042
|
-
return t.some((l) => l === "*" || sn(e, l)) && (n = Mo(e) || e, !Array.isArray(n) &&
|
|
9068
|
+
return t.some((l) => l === "*" || sn(e, l)) && (n = Mo(e) || e, !Array.isArray(n) && e_.some((l) => sn(e, l)) && (n = [n])), n;
|
|
9043
9069
|
}
|
|
9044
9070
|
function xo(e, t = []) {
|
|
9045
9071
|
return e = Array.isArray(e) ? e : [e], t.length ? e.flatMap((n) => xo(Vo(n, [t[0]]), t.slice(1))).filter((n) => !(hl(n) && un(n).trim() === "")) : e;
|
|
@@ -9047,16 +9073,16 @@ function xo(e, t = []) {
|
|
|
9047
9073
|
function Uo(e, t = []) {
|
|
9048
9074
|
return typeof t == "string" && (t = t.split(/[,\s]/).map((n) => n.trim()).filter(Boolean)), t.length ? xo(e, t).reduce((n, l) => (hl(l) ? typeof n[n.length - 1] == "string" ? n[n.length - 1] += l.children : n.push(l.children) : n.push(l), n), []) : e;
|
|
9049
9075
|
}
|
|
9050
|
-
function
|
|
9076
|
+
function t_(e, t) {
|
|
9051
9077
|
return t.reduce((n, l) => {
|
|
9052
|
-
const o =
|
|
9078
|
+
const o = n_(e, l);
|
|
9053
9079
|
return o !== void 0 && (n[l] = o), n;
|
|
9054
9080
|
}, {});
|
|
9055
9081
|
}
|
|
9056
|
-
function
|
|
9082
|
+
function n_(e, t) {
|
|
9057
9083
|
return t.split(".").reduce((n, l) => n && n[l], e);
|
|
9058
9084
|
}
|
|
9059
|
-
const Zn = "default", Fo = /^@|^v-on:/, Ho = /^:|^v-bind:/,
|
|
9085
|
+
const Zn = "default", Fo = /^@|^v-on:/, Ho = /^:|^v-bind:/, l_ = /^v-model/, i_ = ["select", "textarea", "input"], o_ = ["math", "svg"], r_ = Object.fromEntries(["p", "a", "blockquote", "code", "pre", "code", "em", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "img", "ul", "ol", "li", "strong", "table", "thead", "tbody", "td", "th", "tr", "script"].map((e) => [e, `prose-${e}`])), a_ = ["script", "base"], s_ = de({
|
|
9060
9086
|
name: "MDCRenderer",
|
|
9061
9087
|
props: {
|
|
9062
9088
|
/**
|
|
@@ -9111,12 +9137,12 @@ const Zn = "default", Fo = /^@|^v-on:/, Ho = /^:|^v-bind:/, t_ = /^v-model/, n_
|
|
|
9111
9137
|
}
|
|
9112
9138
|
},
|
|
9113
9139
|
async setup(e) {
|
|
9114
|
-
const n = cn()?.appContext?.app?.$nuxt, l = n?.$route || n?._route, { mdc: o } = n?.$config?.public || {}, i =
|
|
9115
|
-
...o?.components?.prose && e.prose !== !1 ?
|
|
9140
|
+
const n = cn()?.appContext?.app?.$nuxt, l = n?.$route || n?._route, { mdc: o } = n?.$config?.public || {}, i = B(() => ({
|
|
9141
|
+
...o?.components?.prose && e.prose !== !1 ? r_ : {},
|
|
9116
9142
|
...o?.components?.map || {},
|
|
9117
9143
|
...Tr(e.data?.mdc?.components || {}),
|
|
9118
9144
|
...e.components
|
|
9119
|
-
})), r =
|
|
9145
|
+
})), r = B(() => {
|
|
9120
9146
|
const c = (e.body?.children || []).map((m) => m.tag || m.type).filter((m) => !gl.includes(m));
|
|
9121
9147
|
return Array.from(new Set(c)).sort().join(".");
|
|
9122
9148
|
}), a = wi({
|
|
@@ -9124,7 +9150,7 @@ const Zn = "default", Fo = /^@|^v-on:/, Ho = /^:|^v-bind:/, t_ = /^v-model/, n_
|
|
|
9124
9150
|
});
|
|
9125
9151
|
Ue(() => e.data, (c) => {
|
|
9126
9152
|
Object.assign(a, c);
|
|
9127
|
-
}), await
|
|
9153
|
+
}), await v_(e.body, { tags: i.value });
|
|
9128
9154
|
function s(c, m) {
|
|
9129
9155
|
const _ = c.split(".").length - 1;
|
|
9130
9156
|
return c.split(".").reduce((h, C, b) => b == _ && h ? (h[C] = m, h[C]) : typeof h == "object" ? h[C] : void 0, a);
|
|
@@ -9146,7 +9172,7 @@ const Zn = "default", Fo = /^@|^v-on:/, Ho = /^:|^v-bind:/, t_ = /^v-model/, n_
|
|
|
9146
9172
|
}
|
|
9147
9173
|
}
|
|
9148
9174
|
});
|
|
9149
|
-
function
|
|
9175
|
+
function u_(e, t, n, l) {
|
|
9150
9176
|
const { documentMeta: o, parentScope: i, resolveComponent: r } = n;
|
|
9151
9177
|
if (e.type === "text")
|
|
9152
9178
|
return t(Ot, e.value);
|
|
@@ -9154,9 +9180,9 @@ function a_(e, t, n, l) {
|
|
|
9154
9180
|
return t(Or, null, e.value);
|
|
9155
9181
|
const a = e.tag, s = Go(e, o.tags);
|
|
9156
9182
|
if (e.tag === "binding")
|
|
9157
|
-
return
|
|
9183
|
+
return c_(e, t, o, i);
|
|
9158
9184
|
const c = zo(s) ? (h) => h : r;
|
|
9159
|
-
if (
|
|
9185
|
+
if (a_.includes(s))
|
|
9160
9186
|
return t(
|
|
9161
9187
|
"pre",
|
|
9162
9188
|
{ class: "mdc-renderer-dangerous-tag" },
|
|
@@ -9164,7 +9190,7 @@ function a_(e, t, n, l) {
|
|
|
9164
9190
|
);
|
|
9165
9191
|
const m = c(s);
|
|
9166
9192
|
typeof m == "object" && (m.tag = a);
|
|
9167
|
-
const _ =
|
|
9193
|
+
const _ = d_(e, o);
|
|
9168
9194
|
return l && (_.key = l), t(
|
|
9169
9195
|
m,
|
|
9170
9196
|
_,
|
|
@@ -9181,16 +9207,16 @@ function a_(e, t, n, l) {
|
|
|
9181
9207
|
}
|
|
9182
9208
|
function Bo(e, t, n) {
|
|
9183
9209
|
const { documentMeta: l, parentScope: o, resolveComponent: i } = n, a = (e.children || []).reduce((c, m) => {
|
|
9184
|
-
if (!
|
|
9210
|
+
if (!__(m))
|
|
9185
9211
|
return c[Zn].children.push(m), c;
|
|
9186
|
-
const _ =
|
|
9212
|
+
const _ = h_(m);
|
|
9187
9213
|
return c[_] = c[_] || { props: {}, children: [] }, m.type === "element" && (c[_].props = m.props, c[_].children.push(...m.children || [])), c;
|
|
9188
9214
|
}, {
|
|
9189
9215
|
[Zn]: { props: {}, children: [] }
|
|
9190
9216
|
});
|
|
9191
9217
|
return Object.entries(a).reduce((c, [m, { props: _, children: h }]) => (h.length && (c[m] = (C = {}) => {
|
|
9192
|
-
const b =
|
|
9193
|
-
let L = h.map((y, p) =>
|
|
9218
|
+
const b = t_(C, Object.keys(_ || {}));
|
|
9219
|
+
let L = h.map((y, p) => u_(
|
|
9194
9220
|
y,
|
|
9195
9221
|
t,
|
|
9196
9222
|
{
|
|
@@ -9200,10 +9226,10 @@ function Bo(e, t, n) {
|
|
|
9200
9226
|
},
|
|
9201
9227
|
String(y.props?.key || p)
|
|
9202
9228
|
));
|
|
9203
|
-
return _?.unwrap && (L = Uo(L, _.unwrap)),
|
|
9229
|
+
return _?.unwrap && (L = Uo(L, _.unwrap)), y_(L);
|
|
9204
9230
|
}), c), {});
|
|
9205
9231
|
}
|
|
9206
|
-
function
|
|
9232
|
+
function c_(e, t, n, l = {}) {
|
|
9207
9233
|
const o = {
|
|
9208
9234
|
...n.runtimeData,
|
|
9209
9235
|
...l,
|
|
@@ -9215,38 +9241,38 @@ function s_(e, t, n, l = {}) {
|
|
|
9215
9241
|
}, o), s = e.props?.defaultValue;
|
|
9216
9242
|
return t(Ot, a ?? s ?? "");
|
|
9217
9243
|
}
|
|
9218
|
-
function
|
|
9244
|
+
function d_(e, t) {
|
|
9219
9245
|
const { tag: n = "", props: l = {} } = e;
|
|
9220
9246
|
return Object.keys(l).reduce(function(o, i) {
|
|
9221
9247
|
if (i === "__ignoreMap")
|
|
9222
9248
|
return o;
|
|
9223
9249
|
const r = l[i];
|
|
9224
|
-
if (
|
|
9225
|
-
return
|
|
9250
|
+
if (l_.test(i))
|
|
9251
|
+
return f_(i, r, o, t, { native: i_.includes(n) });
|
|
9226
9252
|
if (i === "v-bind")
|
|
9227
|
-
return
|
|
9253
|
+
return m_(i, r, o, t);
|
|
9228
9254
|
if (Fo.test(i))
|
|
9229
|
-
return
|
|
9255
|
+
return p_(i, r, o, t);
|
|
9230
9256
|
if (Ho.test(i))
|
|
9231
|
-
return
|
|
9232
|
-
const { attribute: a } =
|
|
9257
|
+
return g_(i, r, o, t);
|
|
9258
|
+
const { attribute: a } = Xh(Qh, i);
|
|
9233
9259
|
return Array.isArray(r) && r.every((s) => typeof s == "string") ? (o[a] = r.join(" "), o) : (o[a] = r, o);
|
|
9234
9260
|
}, {});
|
|
9235
9261
|
}
|
|
9236
|
-
function
|
|
9262
|
+
function f_(e, t, n, l, { native: o }) {
|
|
9237
9263
|
const i = e.match(/^v-model:([^=]+)/)?.[1] || "modelValue", r = o ? "value" : i, a = o ? "onInput" : `onUpdate:${i}`;
|
|
9238
9264
|
return n[r] = _n(t, l.runtimeData), n[a] = (s) => {
|
|
9239
9265
|
l.updateRuntimeData(t, o ? s.target?.value : s);
|
|
9240
9266
|
}, n;
|
|
9241
9267
|
}
|
|
9242
|
-
function
|
|
9268
|
+
function m_(e, t, n, l) {
|
|
9243
9269
|
const o = _n(t, l);
|
|
9244
9270
|
return n = Object.assign(n, o), n;
|
|
9245
9271
|
}
|
|
9246
|
-
function
|
|
9272
|
+
function p_(e, t, n, l) {
|
|
9247
9273
|
return e = e.replace(Fo, ""), n.on = n.on || {}, n.on[e] = () => _n(t, l), n;
|
|
9248
9274
|
}
|
|
9249
|
-
function
|
|
9275
|
+
function g_(e, t, n, l) {
|
|
9250
9276
|
return e = e.replace(Ho, ""), n[e] = _n(t, l), n;
|
|
9251
9277
|
}
|
|
9252
9278
|
const Jn = (e) => {
|
|
@@ -9260,9 +9286,9 @@ const Jn = (e) => {
|
|
|
9260
9286
|
};
|
|
9261
9287
|
function _n(e, t) {
|
|
9262
9288
|
const n = e.split(".").reduce((l, o) => typeof l == "object" ? l[o] : void 0, t);
|
|
9263
|
-
return typeof n > "u" ?
|
|
9289
|
+
return typeof n > "u" ? Uh(e) : n;
|
|
9264
9290
|
}
|
|
9265
|
-
function
|
|
9291
|
+
function h_(e) {
|
|
9266
9292
|
let t = "";
|
|
9267
9293
|
for (const n of Object.keys(e.props || {}))
|
|
9268
9294
|
if (!(!n.startsWith("#") && !n.startsWith("v-slot:"))) {
|
|
@@ -9271,13 +9297,13 @@ function p_(e) {
|
|
|
9271
9297
|
}
|
|
9272
9298
|
return t || Zn;
|
|
9273
9299
|
}
|
|
9274
|
-
function
|
|
9300
|
+
function __(e) {
|
|
9275
9301
|
return e.tag === "template";
|
|
9276
9302
|
}
|
|
9277
9303
|
function zo(e) {
|
|
9278
|
-
return
|
|
9304
|
+
return o_.includes(e);
|
|
9279
9305
|
}
|
|
9280
|
-
function
|
|
9306
|
+
function y_(e) {
|
|
9281
9307
|
const t = [];
|
|
9282
9308
|
for (const n of e) {
|
|
9283
9309
|
const l = t[t.length - 1];
|
|
@@ -9285,7 +9311,7 @@ function h_(e) {
|
|
|
9285
9311
|
}
|
|
9286
9312
|
return t;
|
|
9287
9313
|
}
|
|
9288
|
-
async function
|
|
9314
|
+
async function v_(e, t) {
|
|
9289
9315
|
if (!e)
|
|
9290
9316
|
return;
|
|
9291
9317
|
const n = Array.from(new Set(l(e, t)));
|
|
@@ -9311,14 +9337,14 @@ async function __(e, t) {
|
|
|
9311
9337
|
}
|
|
9312
9338
|
function Go(e, t) {
|
|
9313
9339
|
const n = e.tag;
|
|
9314
|
-
return !n || typeof e.props?.__ignoreMap < "u" ? n : t[n] || t[To(n)] || t[
|
|
9340
|
+
return !n || typeof e.props?.__ignoreMap < "u" ? n : t[n] || t[To(n)] || t[Gh(e.tag)] || n;
|
|
9315
9341
|
}
|
|
9316
|
-
const
|
|
9342
|
+
const M_ = /* @__PURE__ */ de({
|
|
9317
9343
|
__name: "MDCRenderer",
|
|
9318
9344
|
setup(e) {
|
|
9319
|
-
return (t, n) => (u(),
|
|
9320
|
-
default:
|
|
9321
|
-
|
|
9345
|
+
return (t, n) => (u(), Y($r, null, {
|
|
9346
|
+
default: G(() => [
|
|
9347
|
+
V(s_, K(t.$attrs, { prose: !0 }), null, 16)
|
|
9322
9348
|
]),
|
|
9323
9349
|
_: 1
|
|
9324
9350
|
}));
|
|
@@ -9327,31 +9353,33 @@ const $_ = /* @__PURE__ */ de({
|
|
|
9327
9353
|
export {
|
|
9328
9354
|
Cl as CLUSTER_PREFIX,
|
|
9329
9355
|
an as Collapsible,
|
|
9330
|
-
|
|
9356
|
+
O_ as DependenciesNode,
|
|
9331
9357
|
U as EVENTS,
|
|
9332
|
-
|
|
9333
|
-
|
|
9334
|
-
|
|
9358
|
+
A_ as LOG_LEVELS,
|
|
9359
|
+
M_ as MDCRenderer,
|
|
9360
|
+
U_ as NODE_SIZES,
|
|
9361
|
+
P_ as PluginIndex,
|
|
9335
9362
|
hs as RotatingDotsIcon,
|
|
9336
|
-
|
|
9363
|
+
ct as SECTIONS,
|
|
9337
9364
|
J as STATES,
|
|
9338
|
-
|
|
9339
|
-
|
|
9365
|
+
R_ as SchemaToHtml,
|
|
9366
|
+
pe as State,
|
|
9367
|
+
D_ as Status,
|
|
9340
9368
|
io as TaskIcon,
|
|
9341
|
-
|
|
9369
|
+
$_ as Topology,
|
|
9342
9370
|
Re as Utils,
|
|
9343
|
-
|
|
9344
|
-
|
|
9371
|
+
F_ as VueFlowUtils,
|
|
9372
|
+
T_ as YamlUtils,
|
|
9345
9373
|
Ve as cssVariable,
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9374
|
+
H_ as editorViewTypes,
|
|
9375
|
+
B_ as executeFlowBehaviours,
|
|
9376
|
+
I_ as getMDCParser,
|
|
9349
9377
|
as as isEntryAPluginElementPredicate,
|
|
9350
|
-
|
|
9378
|
+
z_ as logDisplayTypes,
|
|
9351
9379
|
vt as slugify,
|
|
9352
|
-
|
|
9353
|
-
|
|
9354
|
-
|
|
9380
|
+
G_ as stateDisplayValues,
|
|
9381
|
+
W_ as stateGlobalChartTypes,
|
|
9382
|
+
j_ as storageKeys,
|
|
9355
9383
|
At as subGroupName
|
|
9356
9384
|
};
|
|
9357
9385
|
//# sourceMappingURL=kestra-index.es.js.map
|