@kestra-io/ui-libs 0.0.213 → 0.0.216
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/misc/Collapsible.vue.d.ts.map +1 -1
- package/dist/kestra-index.cjs.js +1 -1
- package/dist/kestra-index.cjs.js.map +1 -1
- package/dist/kestra-index.es.js +107 -109
- package/dist/kestra-index.es.js.map +1 -1
- package/dist/ui-libs.css +1 -1
- package/package.json +1 -1
- package/src/components/misc/Collapsible.vue +20 -22
package/dist/kestra-index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import js, { Document as zs, YAMLMap as pr } from "yaml";
|
|
2
2
|
import { g as Up, e as Hp, d as Gp, r as Bp, a as Wp, f as mf, b as jp, c as zp, h as Kp, u as Yp, i as Xp, j as Zp, k as Jp, l as Qp, m as em, n as tm, s as nm, p as rm, o as im, q as am, t as gf, v as om, w as sm, x as Ks, y as Ys, z as lm, A as um, B as vn, C as vf, D as us, E as cm, F as Wn, G as dm, H as cs, I as ds, J as He, K as jn, L as zn, M as _n, N as Vt, O as fs, P as Kn, Q as hs, R as fm, S as _f, T as ps, U as hm, V as Ut, W as yf, X as pm, Y as Ef, Z as mm, _ as gm, $ as bf, a0 as ms, a1 as vm, a2 as _m, a3 as ym, a4 as Yn, a5 as Em, a6 as bm, a7 as Cm, a8 as wm, a9 as Sm, aa as km, ab as Cf, ac as Lm, ad as Tm, ae as Om } from "./FlowYamlUtils-B2iMnYvW.js";
|
|
3
|
-
import { createElementBlock as L, openBlock as E, mergeProps as ae, createElementVNode as O, createCommentVNode as M, toDisplayString as z, getCurrentInstance as tn, inject as Nm, ref as
|
|
3
|
+
import { createElementBlock as L, openBlock as E, mergeProps as ae, createElementVNode as O, createCommentVNode as M, toDisplayString as z, getCurrentInstance as tn, inject as Nm, ref as ge, shallowRef as An, computed as de, watch as st, onMounted as yn, onUnmounted as wf, defineComponent as Re, h as nn, createVNode as K, Text as dn, Fragment as Me, nextTick as Xn, onBeforeUnmount as Sf, renderSlot as ye, createTextVNode as Et, normalizeClass as ve, createBlock as ue, withCtx as te, normalizeStyle as fn, unref as W, toRef as Xs, resolveComponent as Rn, effectScope as Im, reactive as kf, resolveDynamicComponent as Ht, renderList as _t, createSlots as Lf, normalizeProps as Am, guardReactiveProps as Rm, withModifiers as Tf, withAsyncContext as Zs, toRaw as Dm, defineAsyncComponent as Pm, Comment as Mm, Suspense as $m } from "vue";
|
|
4
4
|
import xm from "humanize-duration";
|
|
5
5
|
import cn from "moment";
|
|
6
6
|
import qm from "moment-timezone";
|
|
@@ -1229,7 +1229,7 @@ function Av(e, t, n, r, i, a) {
|
|
|
1229
1229
|
], 8, Ov))
|
|
1230
1230
|
], 16, Tv);
|
|
1231
1231
|
}
|
|
1232
|
-
const Bl = /* @__PURE__ */ Q(Lv, [["render", Av]]),
|
|
1232
|
+
const Bl = /* @__PURE__ */ Q(Lv, [["render", Av]]), ce = Object.freeze({
|
|
1233
1233
|
CREATED: {
|
|
1234
1234
|
name: "CREATED",
|
|
1235
1235
|
color: "#1761FD",
|
|
@@ -1368,89 +1368,89 @@ const Bl = /* @__PURE__ */ Q(Lv, [["render", Av]]), de = Object.freeze({
|
|
|
1368
1368
|
});
|
|
1369
1369
|
class qe {
|
|
1370
1370
|
static get CREATED() {
|
|
1371
|
-
return
|
|
1371
|
+
return ce.CREATED.name;
|
|
1372
1372
|
}
|
|
1373
1373
|
static get RESTARTED() {
|
|
1374
|
-
return
|
|
1374
|
+
return ce.RESTARTED.name;
|
|
1375
1375
|
}
|
|
1376
1376
|
static get SUCCESS() {
|
|
1377
|
-
return
|
|
1377
|
+
return ce.SUCCESS.name;
|
|
1378
1378
|
}
|
|
1379
1379
|
static get RUNNING() {
|
|
1380
|
-
return
|
|
1380
|
+
return ce.RUNNING.name;
|
|
1381
1381
|
}
|
|
1382
1382
|
static get KILLING() {
|
|
1383
|
-
return
|
|
1383
|
+
return ce.KILLING.name;
|
|
1384
1384
|
}
|
|
1385
1385
|
static get KILLED() {
|
|
1386
|
-
return
|
|
1386
|
+
return ce.KILLED.name;
|
|
1387
1387
|
}
|
|
1388
1388
|
static get FAILED() {
|
|
1389
|
-
return
|
|
1389
|
+
return ce.FAILED.name;
|
|
1390
1390
|
}
|
|
1391
1391
|
static get WARNING() {
|
|
1392
|
-
return
|
|
1392
|
+
return ce.WARNING.name;
|
|
1393
1393
|
}
|
|
1394
1394
|
static get PAUSED() {
|
|
1395
|
-
return
|
|
1395
|
+
return ce.PAUSED.name;
|
|
1396
1396
|
}
|
|
1397
1397
|
static get CANCELLED() {
|
|
1398
|
-
return
|
|
1398
|
+
return ce.CANCELLED.name;
|
|
1399
1399
|
}
|
|
1400
1400
|
static get QUEUED() {
|
|
1401
|
-
return
|
|
1401
|
+
return ce.QUEUED.name;
|
|
1402
1402
|
}
|
|
1403
1403
|
static get RETRYING() {
|
|
1404
|
-
return
|
|
1404
|
+
return ce.RETRYING.name;
|
|
1405
1405
|
}
|
|
1406
1406
|
static get RETRIED() {
|
|
1407
|
-
return
|
|
1407
|
+
return ce.RETRIED.name;
|
|
1408
1408
|
}
|
|
1409
1409
|
static get BREAKPOINT() {
|
|
1410
|
-
return
|
|
1410
|
+
return ce.BREAKPOINT.name;
|
|
1411
1411
|
}
|
|
1412
1412
|
static isRunning(t) {
|
|
1413
|
-
return
|
|
1413
|
+
return ce[t] && ce[t].isRunning;
|
|
1414
1414
|
}
|
|
1415
1415
|
static isKillable(t) {
|
|
1416
|
-
return
|
|
1416
|
+
return ce[t] && ce[t].isKillable;
|
|
1417
1417
|
}
|
|
1418
1418
|
static isPaused(t) {
|
|
1419
|
-
return
|
|
1419
|
+
return ce[t] && ce[t] === ce.PAUSED;
|
|
1420
1420
|
}
|
|
1421
1421
|
static isFailed(t) {
|
|
1422
|
-
return
|
|
1422
|
+
return ce[t] && ce[t].isFailed;
|
|
1423
1423
|
}
|
|
1424
1424
|
static isQueued(t) {
|
|
1425
|
-
return
|
|
1425
|
+
return ce[t] && ce[t] === ce.QUEUED;
|
|
1426
1426
|
}
|
|
1427
1427
|
static allStates() {
|
|
1428
|
-
return wn(
|
|
1428
|
+
return wn(ce, (t) => ({
|
|
1429
1429
|
key: t.name,
|
|
1430
1430
|
icon: t.icon,
|
|
1431
1431
|
color: ""
|
|
1432
1432
|
}));
|
|
1433
1433
|
}
|
|
1434
1434
|
static arrayAllStates() {
|
|
1435
|
-
return Object.values(
|
|
1435
|
+
return Object.values(ce);
|
|
1436
1436
|
}
|
|
1437
1437
|
static colorClass() {
|
|
1438
|
-
return wn(
|
|
1438
|
+
return wn(ce, (t) => t.colorClass);
|
|
1439
1439
|
}
|
|
1440
1440
|
static color() {
|
|
1441
1441
|
return wn(
|
|
1442
|
-
|
|
1442
|
+
ce,
|
|
1443
1443
|
(t) => at("--bs-" + t.colorClass)
|
|
1444
1444
|
);
|
|
1445
1445
|
}
|
|
1446
1446
|
static getStateColor(t) {
|
|
1447
|
-
return
|
|
1447
|
+
return ce[t].color;
|
|
1448
1448
|
}
|
|
1449
1449
|
static icon() {
|
|
1450
|
-
return wn(
|
|
1450
|
+
return wn(ce, (t) => t.icon);
|
|
1451
1451
|
}
|
|
1452
1452
|
static getTerminatedStates() {
|
|
1453
|
-
return Object.values(
|
|
1453
|
+
return Object.values(ce).filter((t) => !t.isRunning).map((t) => t.name);
|
|
1454
1454
|
}
|
|
1455
1455
|
}
|
|
1456
1456
|
const Rv = {
|
|
@@ -7602,7 +7602,7 @@ const xE = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
|
7602
7602
|
return e && (t = xh(e)[Kd]) ? { [Kd]: t } : null;
|
|
7603
7603
|
};
|
|
7604
7604
|
function qE(e = {}) {
|
|
7605
|
-
const { __root: t, __injectWithOption: n } = e, r = t === void 0, i = e.flatJson, a = bt ?
|
|
7605
|
+
const { __root: t, __injectWithOption: n } = e, r = t === void 0, i = e.flatJson, a = bt ? ge : An;
|
|
7606
7606
|
let o = Ie(e.inheritLocale) ? e.inheritLocale : !0;
|
|
7607
7607
|
const s = a(
|
|
7608
7608
|
// prettier-ignore
|
|
@@ -7648,17 +7648,17 @@ function qE(e = {}) {
|
|
|
7648
7648
|
d.value
|
|
7649
7649
|
];
|
|
7650
7650
|
}
|
|
7651
|
-
const D =
|
|
7651
|
+
const D = de({
|
|
7652
7652
|
get: () => s.value,
|
|
7653
7653
|
set: (A) => {
|
|
7654
7654
|
b.locale = A, s.value = A;
|
|
7655
7655
|
}
|
|
7656
|
-
}), B =
|
|
7656
|
+
}), B = de({
|
|
7657
7657
|
get: () => l.value,
|
|
7658
7658
|
set: (A) => {
|
|
7659
7659
|
b.fallbackLocale = A, l.value = A, un(b, s.value, A);
|
|
7660
7660
|
}
|
|
7661
|
-
}), q =
|
|
7661
|
+
}), q = de(() => c.value), Z = /* @__PURE__ */ de(() => u.value), re = /* @__PURE__ */ de(() => d.value);
|
|
7662
7662
|
function V() {
|
|
7663
7663
|
return we(g) ? g : null;
|
|
7664
7664
|
}
|
|
@@ -8058,7 +8058,7 @@ const _e = /* @__PURE__ */ Re({
|
|
|
8058
8058
|
setup(e) {
|
|
8059
8059
|
let t;
|
|
8060
8060
|
typeof document < "u" && (t = import("bootstrap"));
|
|
8061
|
-
const n = e, r =
|
|
8061
|
+
const n = e, r = ge(), i = ge(), a = ge();
|
|
8062
8062
|
return yn(async () => {
|
|
8063
8063
|
Xn(async () => {
|
|
8064
8064
|
const o = await t;
|
|
@@ -8103,22 +8103,22 @@ const _e = /* @__PURE__ */ Re({
|
|
|
8103
8103
|
variable: {}
|
|
8104
8104
|
},
|
|
8105
8105
|
setup(e) {
|
|
8106
|
-
const t = e, n =
|
|
8106
|
+
const t = e, n = de(() => `data:image/svg+xml;base64,${a.value}`), r = de(() => ({
|
|
8107
8107
|
flowable: o.value ? o.value.flowable : !1
|
|
8108
|
-
})), i =
|
|
8108
|
+
})), i = de(() => ({
|
|
8109
8109
|
backgroundImage: `url(${n.value})`
|
|
8110
|
-
})), a =
|
|
8110
|
+
})), a = de(() => {
|
|
8111
8111
|
let l = o.value && o.value.icon ? window.atob(o.value.icon) : void 0;
|
|
8112
8112
|
l || (l = '<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>');
|
|
8113
8113
|
const c = document.getElementsByTagName("html")[0].className.indexOf("dark") >= 0;
|
|
8114
8114
|
let u = at(c ? "--bs-gray-900" : "--bs-black") ?? "#FFFFFF";
|
|
8115
8115
|
return t.theme && (u = (t.theme === "dark" ? at("--bs-gray-900") : at("--bs-black")) ?? u), t.variable && (u = at(t.variable) ?? u), l = l.replace(/currentColor/g, u), window.btoa(l);
|
|
8116
|
-
}), o =
|
|
8116
|
+
}), o = de(() => t.cls ? (t.icons || {})[s(t.cls)] : t.customIcon);
|
|
8117
8117
|
function s(l) {
|
|
8118
8118
|
return l.includes("$") ? l.substring(0, l.indexOf("$")) : l;
|
|
8119
8119
|
}
|
|
8120
8120
|
return (l, c) => (E(), L("div", {
|
|
8121
|
-
class:
|
|
8121
|
+
class: ve([r.value, "wrapper"])
|
|
8122
8122
|
}, [
|
|
8123
8123
|
l.onlyIcon ? (E(), L("div", {
|
|
8124
8124
|
key: 1,
|
|
@@ -8243,7 +8243,7 @@ const sb = /* @__PURE__ */ Q(tb, [["render", ob]]), lb = { class: "dependency-te
|
|
|
8243
8243
|
j.MOUSE_LEAVE
|
|
8244
8244
|
],
|
|
8245
8245
|
setup(e, { emit: t }) {
|
|
8246
|
-
const n = t, { t: r } = sr(), i =
|
|
8246
|
+
const n = t, { t: r } = sr(), i = de(() => window.btoa(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="none">
|
|
8247
8247
|
<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"/>
|
|
8248
8248
|
</svg>`));
|
|
8249
8249
|
return (a, o) => (E(), L(Me, null, [
|
|
@@ -8252,7 +8252,7 @@ const sb = /* @__PURE__ */ Q(tb, [["render", ob]]), lb = { class: "dependency-te
|
|
|
8252
8252
|
position: e.sourcePosition
|
|
8253
8253
|
}, null, 8, ["position"]),
|
|
8254
8254
|
O("div", {
|
|
8255
|
-
class:
|
|
8255
|
+
class: ve([[`border-${e.data.color}`], "dependency-node-wrapper rounded-3 border"])
|
|
8256
8256
|
}, [
|
|
8257
8257
|
K(Vh, {
|
|
8258
8258
|
"custom-icon": { icon: i.value },
|
|
@@ -8285,7 +8285,7 @@ const sb = /* @__PURE__ */ Q(tb, [["render", ob]]), lb = { class: "dependency-te
|
|
|
8285
8285
|
ye(a.$slots, "badge-button-before", {}, void 0, !0),
|
|
8286
8286
|
e.data.link ? (E(), L("span", {
|
|
8287
8287
|
key: 0,
|
|
8288
|
-
class:
|
|
8288
|
+
class: ve(["circle-button", [`bg-${e.data.color}`]]),
|
|
8289
8289
|
onClick: o[0] || (o[0] = (s) => a.$emit(W(j).OPEN_LINK, e.data))
|
|
8290
8290
|
}, [
|
|
8291
8291
|
K(_e, {
|
|
@@ -8302,7 +8302,7 @@ const sb = /* @__PURE__ */ Q(tb, [["render", ob]]), lb = { class: "dependency-te
|
|
|
8302
8302
|
], 2)) : M("", !0),
|
|
8303
8303
|
e.data.expandEnabled ? (E(), L("span", {
|
|
8304
8304
|
key: 1,
|
|
8305
|
-
class:
|
|
8305
|
+
class: ve(["circle-button", [`bg-${e.data.color}`]]),
|
|
8306
8306
|
onClick: o[1] || (o[1] = (s) => n(W(j).EXPAND_DEPENDENCIES, e.data))
|
|
8307
8307
|
}, [
|
|
8308
8308
|
K(_e, {
|
|
@@ -8366,7 +8366,7 @@ const hb = {
|
|
|
8366
8366
|
offset: { default: 2 }
|
|
8367
8367
|
},
|
|
8368
8368
|
setup(e) {
|
|
8369
|
-
const { id: t, viewport: n } = Mt(), r =
|
|
8369
|
+
const { id: t, viewport: n } = Mt(), r = de(() => {
|
|
8370
8370
|
const [o, s] = Array.isArray(e.gap) ? e.gap : [e.gap, e.gap], l = [o * n.value.zoom || 1, s * n.value.zoom || 1], c = e.size * n.value.zoom, u = e.variant === mt.Dots ? [c / e.offset, c / e.offset] : [l[0] / e.offset, l[1] / e.offset];
|
|
8371
8371
|
return {
|
|
8372
8372
|
scaledGap: l,
|
|
@@ -8508,15 +8508,15 @@ const Lb = /* @__PURE__ */ Q(Eb, [["render", kb]]), Tb = { class: "top-button-di
|
|
|
8508
8508
|
r(j.COLLAPSE, n.id);
|
|
8509
8509
|
};
|
|
8510
8510
|
return (a, o) => (E(), L("div", {
|
|
8511
|
-
class:
|
|
8511
|
+
class: ve(a.classes)
|
|
8512
8512
|
}, [
|
|
8513
8513
|
O("span", {
|
|
8514
|
-
class:
|
|
8514
|
+
class: ve(["badge rounded-pill text-truncate text-color position-reliative", [`bg-${e.data.color}`]])
|
|
8515
8515
|
}, z(a.clusterName), 3),
|
|
8516
8516
|
O("div", Tb, [
|
|
8517
8517
|
e.data.collapsable ? (E(), L("span", {
|
|
8518
8518
|
key: 0,
|
|
8519
|
-
class:
|
|
8519
|
+
class: ve(["circle-button", [`bg-${e.data.color}`]]),
|
|
8520
8520
|
onClick: o[0] || (o[0] = (s) => i())
|
|
8521
8521
|
}, [
|
|
8522
8522
|
K(_e, {
|
|
@@ -8605,7 +8605,7 @@ const Gh = /* @__PURE__ */ Q(Ab, [["render", $b]]), xb = {
|
|
|
8605
8605
|
}, qb = /* @__PURE__ */ Object.assign(xb, {
|
|
8606
8606
|
setup(e) {
|
|
8607
8607
|
return (t, n) => (E(), L("div", {
|
|
8608
|
-
class:
|
|
8608
|
+
class: ve(t.classes)
|
|
8609
8609
|
}, [
|
|
8610
8610
|
K(W(Ze), {
|
|
8611
8611
|
type: "source",
|
|
@@ -8613,10 +8613,10 @@ const Gh = /* @__PURE__ */ Q(Ab, [["render", $b]]), xb = {
|
|
|
8613
8613
|
position: e.sourcePosition
|
|
8614
8614
|
}, null, 8, ["position"]),
|
|
8615
8615
|
O("div", {
|
|
8616
|
-
class:
|
|
8616
|
+
class: ve(["dot", t.classes])
|
|
8617
8617
|
}, [
|
|
8618
8618
|
K(Gh, {
|
|
8619
|
-
class:
|
|
8619
|
+
class: ve([{ "text-danger": e.data.node.branchType === "ERROR" }, "circle"]),
|
|
8620
8620
|
alt: "circle"
|
|
8621
8621
|
}, null, 8, ["class"])
|
|
8622
8622
|
], 2),
|
|
@@ -8749,7 +8749,7 @@ const jb = /* @__PURE__ */ Q(Vb, [["render", Wb]]), zb = { class: "add-task-div
|
|
|
8749
8749
|
},
|
|
8750
8750
|
setup(e) {
|
|
8751
8751
|
return {
|
|
8752
|
-
path:
|
|
8752
|
+
path: de(() => Um(e))
|
|
8753
8753
|
};
|
|
8754
8754
|
},
|
|
8755
8755
|
inheritAttrs: !1
|
|
@@ -8759,7 +8759,7 @@ function Jb(e, t, n, r, i, a) {
|
|
|
8759
8759
|
return E(), L(Me, null, [
|
|
8760
8760
|
O("path", {
|
|
8761
8761
|
id: n.id,
|
|
8762
|
-
class:
|
|
8762
|
+
class: ve(a.classes),
|
|
8763
8763
|
style: fn(n.data.haveDashArray ? {
|
|
8764
8764
|
strokeDasharray: "2"
|
|
8765
8765
|
} : {}),
|
|
@@ -8781,7 +8781,7 @@ function Jb(e, t, n, r, i, a) {
|
|
|
8781
8781
|
key: 0,
|
|
8782
8782
|
"add-task": !0,
|
|
8783
8783
|
onClick: t[0] || (t[0] = (c) => e.$emit(a.EVENTS.ADD_TASK, n.data.haveAdd)),
|
|
8784
|
-
class:
|
|
8784
|
+
class: ve({ "text-danger": n.data.color })
|
|
8785
8785
|
}, null, 8, ["class"])) : M("", !0)
|
|
8786
8786
|
]),
|
|
8787
8787
|
_: 1
|
|
@@ -8912,7 +8912,7 @@ function Ms(e, t, n) {
|
|
|
8912
8912
|
var a = e._wrappedGetters, o = {}, s = {}, l = Im(!0);
|
|
8913
8913
|
l.run(function() {
|
|
8914
8914
|
Bt(a, function(c, u) {
|
|
8915
|
-
o[u] = p0(c, e), s[u] =
|
|
8915
|
+
o[u] = p0(c, e), s[u] = de(function() {
|
|
8916
8916
|
return o[u]();
|
|
8917
8917
|
}), Object.defineProperty(e.getters, u, {
|
|
8918
8918
|
get: function() {
|
|
@@ -9706,18 +9706,18 @@ const A0 = { class: "icon rounded" }, R0 = { class: "node-content" }, D0 = { cla
|
|
|
9706
9706
|
__name: "BasicNode",
|
|
9707
9707
|
setup(e) {
|
|
9708
9708
|
return (t, n) => (E(), L("div", {
|
|
9709
|
-
class:
|
|
9709
|
+
class: ve([t.classes, "node-wrapper rounded-3 border"]),
|
|
9710
9710
|
onMouseover: n[3] || (n[3] = (...r) => t.mouseover && t.mouseover(...r)),
|
|
9711
9711
|
onMouseleave: n[4] || (n[4] = (...r) => t.mouseleave && t.mouseleave(...r))
|
|
9712
9712
|
}, [
|
|
9713
9713
|
e.state ? (E(), L("div", {
|
|
9714
9714
|
key: 0,
|
|
9715
|
-
class:
|
|
9715
|
+
class: ve(["status-div", [`bg-${t.stateColor}`]])
|
|
9716
9716
|
}, null, 2)) : M("", !0),
|
|
9717
9717
|
O("div", A0, [
|
|
9718
9718
|
(E(), ue(Ht(e.iconComponent || Vh), {
|
|
9719
9719
|
cls: t.cls,
|
|
9720
|
-
class:
|
|
9720
|
+
class: ve([t.taskIconBg, "rounded bg-white"]),
|
|
9721
9721
|
theme: "light",
|
|
9722
9722
|
icons: e.icons
|
|
9723
9723
|
}, null, 8, ["cls", "class", "icons"]))
|
|
@@ -9753,7 +9753,7 @@ const A0 = { class: "icon rounded" }, R0 = { class: "node-content" }, D0 = { cla
|
|
|
9753
9753
|
ye(t.$slots, "badge-button-before", {}, void 0, !0),
|
|
9754
9754
|
e.data.link ? (E(), L("span", {
|
|
9755
9755
|
key: 0,
|
|
9756
|
-
class:
|
|
9756
|
+
class: ve(["circle-button", [`bg-${e.data.color}`]]),
|
|
9757
9757
|
onClick: n[1] || (n[1] = (r) => t.$emit(W(j).OPEN_LINK, { link: e.data.link }))
|
|
9758
9758
|
}, [
|
|
9759
9759
|
K(_e, {
|
|
@@ -9770,7 +9770,7 @@ const A0 = { class: "icon rounded" }, R0 = { class: "node-content" }, D0 = { cla
|
|
|
9770
9770
|
], 2)) : M("", !0),
|
|
9771
9771
|
t.expandable ? (E(), L("span", {
|
|
9772
9772
|
key: 1,
|
|
9773
|
-
class:
|
|
9773
|
+
class: ve(["circle-button", [`bg-${e.data.color}`]]),
|
|
9774
9774
|
onClick: n[2] || (n[2] = (r) => t.$emit(W(j).EXPAND))
|
|
9775
9775
|
}, [
|
|
9776
9776
|
K(_e, {
|
|
@@ -9802,14 +9802,14 @@ const A0 = { class: "icon rounded" }, R0 = { class: "node-content" }, D0 = { cla
|
|
|
9802
9802
|
w[0].date !== h[0].date && s();
|
|
9803
9803
|
}
|
|
9804
9804
|
);
|
|
9805
|
-
const n =
|
|
9805
|
+
const n = ge(""), r = ge();
|
|
9806
9806
|
yn(() => {
|
|
9807
9807
|
s();
|
|
9808
9808
|
});
|
|
9809
|
-
const i =
|
|
9809
|
+
const i = de(() => {
|
|
9810
9810
|
var h;
|
|
9811
9811
|
return ((h = t.histories) == null ? void 0 : h.length) && new Date(t.histories[0].date.toString()).getTime();
|
|
9812
|
-
}), a =
|
|
9812
|
+
}), a = de(() => t.histories[t.histories.length - 1]), o = de(() => t.histories.filter((h) => h.date.isValid() && h.date && h.state));
|
|
9813
9813
|
function s() {
|
|
9814
9814
|
r.value || (r.value = setInterval(() => {
|
|
9815
9815
|
d(), t.histories && !qe.isRunning(a.value.state) && l();
|
|
@@ -9841,7 +9841,7 @@ const A0 = { class: "icon rounded" }, R0 = { class: "node-content" }, D0 = { cla
|
|
|
9841
9841
|
class: "ks-duration-tt"
|
|
9842
9842
|
}, [
|
|
9843
9843
|
O("span", {
|
|
9844
|
-
class:
|
|
9844
|
+
class: ve(["ks-duration-tt-square", f(_.state)])
|
|
9845
9845
|
}, null, 2),
|
|
9846
9846
|
O("strong", null, z(_.state) + ": ", 1),
|
|
9847
9847
|
Et(z(W(Ae).dateFilter(_.date.toString(), "iso")) + " ", 1),
|
|
@@ -9867,12 +9867,12 @@ const A0 = { class: "icon rounded" }, R0 = { class: "node-content" }, D0 = { cla
|
|
|
9867
9867
|
task: {}
|
|
9868
9868
|
},
|
|
9869
9869
|
setup(e) {
|
|
9870
|
-
const t = e, n =
|
|
9870
|
+
const t = e, n = de(() => {
|
|
9871
9871
|
var o;
|
|
9872
9872
|
return (o = t.execution) != null && o.taskRunList ? t.execution.taskRunList : [];
|
|
9873
|
-
}), r =
|
|
9873
|
+
}), r = de(() => n.value.filter(
|
|
9874
9874
|
(o) => o.taskId === Ae.afterLastDot(t.uid ?? "")
|
|
9875
|
-
)), i =
|
|
9875
|
+
)), i = de(() => {
|
|
9876
9876
|
if (!r.value)
|
|
9877
9877
|
return null;
|
|
9878
9878
|
if (r.value.length === 1)
|
|
@@ -9891,7 +9891,7 @@ const A0 = { class: "icon rounded" }, R0 = { class: "node-content" }, D0 = { cla
|
|
|
9891
9891
|
const u = s.indexOf(c[1]);
|
|
9892
9892
|
return s[u] = void 0, [u, c];
|
|
9893
9893
|
}).sort().map((c) => c[1])[0];
|
|
9894
|
-
}), a =
|
|
9894
|
+
}), a = de(() => {
|
|
9895
9895
|
if (!r.value)
|
|
9896
9896
|
return;
|
|
9897
9897
|
const o = Math.max(
|
|
@@ -10259,7 +10259,7 @@ const up = /* @__PURE__ */ Q(gC, [["render", bC]]), CC = {
|
|
|
10259
10259
|
id: e.id,
|
|
10260
10260
|
data: t.dataWithLink,
|
|
10261
10261
|
state: t.state,
|
|
10262
|
-
class:
|
|
10262
|
+
class: ve(t.classes),
|
|
10263
10263
|
icons: e.icons,
|
|
10264
10264
|
"icon-component": e.iconComponent,
|
|
10265
10265
|
onShowDescription: n[5] || (n[5] = (r) => t.forwardEvent(W(j).SHOW_DESCRIPTION, r)),
|
|
@@ -10280,7 +10280,7 @@ const up = /* @__PURE__ */ Q(gC, [["render", bC]]), CC = {
|
|
|
10280
10280
|
"badge-button-before": te(() => [
|
|
10281
10281
|
e.data.node.task && e.data.node.task.runIf ? (E(), L("span", {
|
|
10282
10282
|
key: 0,
|
|
10283
|
-
class:
|
|
10283
|
+
class: ve(["circle-button", ["bg-warning"]]),
|
|
10284
10284
|
onClick: n[0] || (n[0] = (r) => t.$emit(W(j).SHOW_CONDITION, { id: t.taskId, task: e.data.node.task, section: W(Nt).TASKS }))
|
|
10285
10285
|
}, [
|
|
10286
10286
|
K(_e, {
|
|
@@ -10297,7 +10297,7 @@ const up = /* @__PURE__ */ Q(gC, [["render", bC]]), CC = {
|
|
|
10297
10297
|
])) : M("", !0),
|
|
10298
10298
|
t.taskExecution ? (E(), L("span", {
|
|
10299
10299
|
key: 1,
|
|
10300
|
-
class:
|
|
10300
|
+
class: ve(["circle-button", [`bg-${t.color}`]]),
|
|
10301
10301
|
onClick: n[1] || (n[1] = (r) => t.$emit(W(j).SHOW_LOGS, { id: t.taskId, execution: t.taskExecution, taskRuns: t.taskRuns }))
|
|
10302
10302
|
}, [
|
|
10303
10303
|
K(_e, {
|
|
@@ -10314,7 +10314,7 @@ const up = /* @__PURE__ */ Q(gC, [["render", bC]]), CC = {
|
|
|
10314
10314
|
], 2)) : M("", !0),
|
|
10315
10315
|
!t.taskExecution && !e.data.isReadOnly && e.data.isFlowable ? (E(), L("span", {
|
|
10316
10316
|
key: 2,
|
|
10317
|
-
class:
|
|
10317
|
+
class: ve(["circle-button", [`bg-${t.color}`]]),
|
|
10318
10318
|
onClick: n[2] || (n[2] = (r) => t.$emit(W(j).ADD_ERROR, { task: e.data.node.task }))
|
|
10319
10319
|
}, [
|
|
10320
10320
|
K(_e, {
|
|
@@ -10331,7 +10331,7 @@ const up = /* @__PURE__ */ Q(gC, [["render", bC]]), CC = {
|
|
|
10331
10331
|
], 2)) : M("", !0),
|
|
10332
10332
|
!t.taskExecution && !e.data.isReadOnly ? (E(), L("span", {
|
|
10333
10333
|
key: 3,
|
|
10334
|
-
class:
|
|
10334
|
+
class: ve(["circle-button", [`bg-${t.color}`]]),
|
|
10335
10335
|
onClick: n[3] || (n[3] = (r) => t.$emit(W(j).EDIT, { task: e.data.node.task, section: W(Nt).TASKS }))
|
|
10336
10336
|
}, [
|
|
10337
10337
|
K(_e, {
|
|
@@ -10348,7 +10348,7 @@ const up = /* @__PURE__ */ Q(gC, [["render", bC]]), CC = {
|
|
|
10348
10348
|
], 2)) : M("", !0),
|
|
10349
10349
|
!t.taskExecution && !e.data.isReadOnly ? (E(), L("span", {
|
|
10350
10350
|
key: 4,
|
|
10351
|
-
class:
|
|
10351
|
+
class: ve(["circle-button", [`bg-${t.color}`]]),
|
|
10352
10352
|
onClick: n[4] || (n[4] = (r) => t.$emit(W(j).DELETE, { id: t.taskId, section: W(Nt).TASKS }))
|
|
10353
10353
|
}, [
|
|
10354
10354
|
K(_e, {
|
|
@@ -10460,7 +10460,7 @@ const up = /* @__PURE__ */ Q(gC, [["render", bC]]), CC = {
|
|
|
10460
10460
|
fn: te(() => [
|
|
10461
10461
|
t.execution ? M("", !0) : (E(), L("span", {
|
|
10462
10462
|
key: 0,
|
|
10463
|
-
class:
|
|
10463
|
+
class: ve(["circle-button", [`bg-${t.color}`]]),
|
|
10464
10464
|
onClick: n[0] || (n[0] = (r) => t.$emit(W(j).EDIT, { task: e.data.node.triggerDeclaration, section: W(Nt).TRIGGERS }))
|
|
10465
10465
|
}, [
|
|
10466
10466
|
K(_e, {
|
|
@@ -10477,7 +10477,7 @@ const up = /* @__PURE__ */ Q(gC, [["render", bC]]), CC = {
|
|
|
10477
10477
|
], 2)),
|
|
10478
10478
|
t.execution ? M("", !0) : (E(), L("span", {
|
|
10479
10479
|
key: 1,
|
|
10480
|
-
class:
|
|
10480
|
+
class: ve(["circle-button", [`bg-${t.color}`]]),
|
|
10481
10481
|
onClick: n[1] || (n[1] = (r) => t.$emit(W(j).DELETE, { id: t.triggerId, section: W(Nt).TRIGGERS }))
|
|
10482
10482
|
}, [
|
|
10483
10483
|
K(_e, {
|
|
@@ -10597,7 +10597,7 @@ const RC = /* @__PURE__ */ Q(LC, [["render", AC]]), DC = { class: "collapsed-clu
|
|
|
10597
10597
|
O("span", PC, [
|
|
10598
10598
|
e.data.iconComponent ? (E(), ue(Ht(e.data.iconComponent), {
|
|
10599
10599
|
key: 0,
|
|
10600
|
-
class:
|
|
10600
|
+
class: ve(`text-${e.data.color} me-2`)
|
|
10601
10601
|
}, null, 8, ["class"])) : M("", !0),
|
|
10602
10602
|
Et(" " + z(W(Ae).afterLastDot(e.id)), 1)
|
|
10603
10603
|
]),
|
|
@@ -10605,7 +10605,7 @@ const RC = /* @__PURE__ */ Q(LC, [["render", AC]]), DC = { class: "collapsed-clu
|
|
|
10605
10605
|
ye(t.$slots, "badge-button-before", {}, void 0, !0),
|
|
10606
10606
|
t.expandable ? (E(), L("span", {
|
|
10607
10607
|
key: 0,
|
|
10608
|
-
class:
|
|
10608
|
+
class: ve(["circle-button", [`bg-${e.data.color}`]]),
|
|
10609
10609
|
onClick: n[0] || (n[0] = (r) => t.$emit(W(j).EXPAND, { id: e.id }))
|
|
10610
10610
|
}, [
|
|
10611
10611
|
K(_e, {
|
|
@@ -11178,7 +11178,7 @@ async function Ww(e, t = {}) {
|
|
|
11178
11178
|
return (await gp(e, t)).toDataURL("image/jpeg", t.quality || 1);
|
|
11179
11179
|
}
|
|
11180
11180
|
function jw() {
|
|
11181
|
-
const e =
|
|
11181
|
+
const e = ge(""), t = ge("png"), n = ge();
|
|
11182
11182
|
async function r(s, l = {}) {
|
|
11183
11183
|
let c;
|
|
11184
11184
|
const u = l.fileName ?? `vue-flow-screenshot-${Date.now()}`;
|
|
@@ -11294,7 +11294,7 @@ const zw = {
|
|
|
11294
11294
|
j.SHOW_CONDITION
|
|
11295
11295
|
],
|
|
11296
11296
|
setup(e, { emit: t }) {
|
|
11297
|
-
const n = e, r =
|
|
11297
|
+
const n = e, r = ge(!1), i = ge(), { getNodes: a, onNodeDrag: o, onNodeDragStart: s, onNodeDragStop: l, fitView: c, setElements: u, vueFlowRef: d } = Mt(n.id), f = ge({}), h = ge([]), w = ge(/* @__PURE__ */ new Set()), _ = ge([]), { capture: v } = jw(), p = t;
|
|
11298
11298
|
yn(() => {
|
|
11299
11299
|
g();
|
|
11300
11300
|
}), st(() => n.flowGraph, () => {
|
|
@@ -11364,7 +11364,7 @@ const zw = {
|
|
|
11364
11364
|
V.node.position = i.value;
|
|
11365
11365
|
C(), V.node.style = { ...V.node.style, zIndex: 5 }, i.value = null;
|
|
11366
11366
|
});
|
|
11367
|
-
const S =
|
|
11367
|
+
const S = de(() => {
|
|
11368
11368
|
var V;
|
|
11369
11369
|
return (V = n.flowGraph) != null && V.clusters ? n.flowGraph.clusters.filter((P) => P.cluster.type.endsWith("SubflowGraphCluster")).map((P) => P.cluster.taskNode.uid + ".") : [];
|
|
11370
11370
|
});
|
|
@@ -11416,7 +11416,7 @@ const zw = {
|
|
|
11416
11416
|
return;
|
|
11417
11417
|
}
|
|
11418
11418
|
f.value = {}, h.value = [], _.value = [], w.value.delete(V.id), w.value.forEach((ie) => N(ie, !1, !1)), g();
|
|
11419
|
-
}, D = document.getElementsByTagName("html")[0].className.indexOf("dark") >= 0, B =
|
|
11419
|
+
}, D = document.getElementsByTagName("html")[0].className.indexOf("dark") >= 0, B = ge(!0), q = ge(!1), Z = () => q.value = !q.value;
|
|
11420
11420
|
function re(V) {
|
|
11421
11421
|
if (!d.value) {
|
|
11422
11422
|
console.warn("Flow not found");
|
|
@@ -11617,7 +11617,7 @@ const l2 = /* @__PURE__ */ Q(n2, [["render", s2]]), u2 = {
|
|
|
11617
11617
|
const t = {
|
|
11618
11618
|
ContentCopy: An(l2),
|
|
11619
11619
|
Check: An(t2)
|
|
11620
|
-
}, n = e, r =
|
|
11620
|
+
}, n = e, r = ge(!1), i = ge(), a = An(t.ContentCopy.value), o = ge(), s = ge(), l = de(() => n.highlighter.codeToHtml(n.code, {
|
|
11621
11621
|
lang: n.language,
|
|
11622
11622
|
theme: n.theme
|
|
11623
11623
|
}));
|
|
@@ -11753,32 +11753,30 @@ const k2 = /* @__PURE__ */ Q(y2, [["render", S2]]), L2 = ["id", "open"], T2 = {
|
|
|
11753
11753
|
},
|
|
11754
11754
|
emits: ["expand"],
|
|
11755
11755
|
setup(e, { emit: t }) {
|
|
11756
|
-
const n = e, r =
|
|
11757
|
-
r.value = !r.value, a.replace({
|
|
11758
|
-
hash: r.value ? "" :
|
|
11756
|
+
const n = e, r = ge(!0), i = gs(), a = Wm(), o = t, s = de(() => `#${n.href}-body`), l = () => {
|
|
11757
|
+
r.value = !r.value, r.value || o("expand"), a.replace({
|
|
11758
|
+
hash: r.value ? "" : s.value
|
|
11759
11759
|
});
|
|
11760
|
-
},
|
|
11761
|
-
st(
|
|
11762
|
-
() =>
|
|
11760
|
+
}, c = ge(!1);
|
|
11761
|
+
return st(
|
|
11762
|
+
() => n.initiallyExpanded,
|
|
11763
11763
|
(u) => {
|
|
11764
|
-
u
|
|
11764
|
+
u !== void 0 && (c.value = u, r.value = !u);
|
|
11765
11765
|
},
|
|
11766
11766
|
{ immediate: !0 }
|
|
11767
|
-
)
|
|
11768
|
-
|
|
11769
|
-
return st(
|
|
11770
|
-
() => n.initiallyExpanded,
|
|
11767
|
+
), st(
|
|
11768
|
+
() => i.hash,
|
|
11771
11769
|
(u) => {
|
|
11772
|
-
u
|
|
11770
|
+
u === s.value && r.value && (c.value = !0, r.value = !1);
|
|
11773
11771
|
},
|
|
11774
11772
|
{ immediate: !0 }
|
|
11775
11773
|
), (u, d) => (E(), L("details", {
|
|
11776
11774
|
id: u.href,
|
|
11777
|
-
onClick: s,
|
|
11778
11775
|
open: c.value
|
|
11779
11776
|
}, [
|
|
11780
11777
|
O("summary", {
|
|
11781
|
-
class:
|
|
11778
|
+
class: ve(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button", { collapsed: r.value }]),
|
|
11779
|
+
onClick: l
|
|
11782
11780
|
}, [
|
|
11783
11781
|
O("span", T2, [
|
|
11784
11782
|
u.arrow ? (E(), ue(Ht(r.value ? _2 : k2), {
|
|
@@ -11802,7 +11800,7 @@ const k2 = /* @__PURE__ */ Q(y2, [["render", S2]]), L2 = ["id", "open"], T2 = {
|
|
|
11802
11800
|
], 8, N2)) : M("", !0)
|
|
11803
11801
|
], 8, L2));
|
|
11804
11802
|
}
|
|
11805
|
-
}), Hn = /* @__PURE__ */ Q(I2, [["__scopeId", "data-v-
|
|
11803
|
+
}), Hn = /* @__PURE__ */ Q(I2, [["__scopeId", "data-v-432d4837"]]);
|
|
11806
11804
|
function Nn(e) {
|
|
11807
11805
|
if (e.type)
|
|
11808
11806
|
return e.type;
|
|
@@ -11991,7 +11989,7 @@ const Ep = /* @__PURE__ */ Q(Q2, [["render", iS]]), aS = { class: "me-3" }, oS =
|
|
|
11991
11989
|
type: {}
|
|
11992
11990
|
},
|
|
11993
11991
|
setup(e) {
|
|
11994
|
-
const t = e, n =
|
|
11992
|
+
const t = e, n = de(() => {
|
|
11995
11993
|
switch (t.type) {
|
|
11996
11994
|
case "success":
|
|
11997
11995
|
return J2;
|
|
@@ -12006,7 +12004,7 @@ const Ep = /* @__PURE__ */ Q(Q2, [["render", iS]]), aS = { class: "me-3" }, oS =
|
|
|
12006
12004
|
}
|
|
12007
12005
|
});
|
|
12008
12006
|
return (r, i) => (E(), L("div", {
|
|
12009
|
-
class:
|
|
12007
|
+
class: ve("doc-alert alert alert-" + r.type),
|
|
12010
12008
|
role: "alert"
|
|
12011
12009
|
}, [
|
|
12012
12010
|
O("div", aS, [
|
|
@@ -12026,7 +12024,7 @@ const Ep = /* @__PURE__ */ Q(Q2, [["render", iS]]), aS = { class: "me-3" }, oS =
|
|
|
12026
12024
|
property: {}
|
|
12027
12025
|
},
|
|
12028
12026
|
setup(e) {
|
|
12029
|
-
const t = e, n =
|
|
12027
|
+
const t = e, n = ge(_p(t.property).subType), r = ge(A2(t.property)), i = (a) => a.replaceAll(/(```)(?:bash|yaml|js|console|json)(\n) *([\s\S]*?```)/g, "$1$2$3").replaceAll(new RegExp("(?<!:):(?![: /])", "g"), ": ");
|
|
12030
12028
|
return (a, o) => (E(), L("div", uS, [
|
|
12031
12029
|
n.value ? (E(), L("div", cS, [
|
|
12032
12030
|
o[1] || (o[1] = O("span", null, " SubType ", -1)),
|
|
@@ -12249,7 +12247,7 @@ const fk = /* @__PURE__ */ Q(ok, [["render", dk]]), hk = { class: "border overfl
|
|
|
12249
12247
|
},
|
|
12250
12248
|
emits: ["expand"],
|
|
12251
12249
|
setup(e, { emit: t }) {
|
|
12252
|
-
const n = t, r =
|
|
12250
|
+
const n = t, r = ge(!1);
|
|
12253
12251
|
st(
|
|
12254
12252
|
r,
|
|
12255
12253
|
(o) => {
|
|
@@ -12390,7 +12388,7 @@ const fk = /* @__PURE__ */ Q(ok, [["render", dk]]), hk = { class: "border overfl
|
|
|
12390
12388
|
},
|
|
12391
12389
|
async setup(e) {
|
|
12392
12390
|
let t, n;
|
|
12393
|
-
const r = e, i =
|
|
12391
|
+
const r = e, i = ge(!1), a = ge(/* @__PURE__ */ new Set()), o = ge(0), s = async () => {
|
|
12394
12392
|
var S;
|
|
12395
12393
|
const m = window.location.hash.slice(1);
|
|
12396
12394
|
if (!m || !r.schema.definitions) {
|
|
@@ -12417,10 +12415,10 @@ const fk = /* @__PURE__ */ Q(ok, [["render", dk]]), hk = { class: "border overfl
|
|
|
12417
12415
|
return m != null && m.full ? m.code : `id: "${(C = r.pluginType.split(".").reverse()[0]) == null ? void 0 : C.toLowerCase()}"
|
|
12418
12416
|
type: "${r.pluginType}"
|
|
12419
12417
|
`.concat(m.code);
|
|
12420
|
-
}, c =
|
|
12418
|
+
}, c = ge(null), u = de(() => {
|
|
12421
12419
|
var m;
|
|
12422
12420
|
return (m = r.schema.properties) == null ? void 0 : m.$examples;
|
|
12423
|
-
}), d =
|
|
12421
|
+
}), d = de(() => {
|
|
12424
12422
|
var m, C;
|
|
12425
12423
|
return Object.fromEntries(
|
|
12426
12424
|
(C = (m = r.schema.properties) == null ? void 0 : m.$metrics) == null ? void 0 : C.map((S) => [S.name, { ...S, name: void 0 }])
|
|
@@ -12639,7 +12637,7 @@ const Uk = /* @__PURE__ */ Q(Mk, [["render", Vk]]), Hk = ["href"], Gk = ["src",
|
|
|
12639
12637
|
href: {}
|
|
12640
12638
|
},
|
|
12641
12639
|
setup(e) {
|
|
12642
|
-
const t = e, { path: n } = gs(), r =
|
|
12640
|
+
const t = e, { path: n } = gs(), r = de(() => t.href === void 0 ? `${n}/${Jt(t.text)}` : t.href);
|
|
12643
12641
|
return (i, a) => (E(), L("a", {
|
|
12644
12642
|
href: r.value,
|
|
12645
12643
|
class: "row-link d-flex flex-grow-1 align-items-center gap-7 rounded"
|
|
@@ -12665,10 +12663,10 @@ const Uk = /* @__PURE__ */ Q(Mk, [["render", Vk]]), Hk = ["href"], Gk = ["src",
|
|
|
12665
12663
|
},
|
|
12666
12664
|
emits: ["goTo"],
|
|
12667
12665
|
setup(e) {
|
|
12668
|
-
const t = e, n =
|
|
12666
|
+
const t = e, n = de(() => t.plugins.find((d) => t.subGroup === void 0 ? !0 : Jt(ln(d)) === t.subGroup)), r = de(() => {
|
|
12669
12667
|
var d, f;
|
|
12670
12668
|
return ((d = n.value) == null ? void 0 : d.longDescription) ?? ((f = n.value) == null ? void 0 : f.description);
|
|
12671
|
-
}), i =
|
|
12669
|
+
}), i = de(() => t.plugins.filter((d) => d.name.toLowerCase() === t.pluginName.toLowerCase() && d.subGroup !== void 0)), a = (d) => {
|
|
12672
12670
|
let f = d.split(".");
|
|
12673
12671
|
return f == null ? void 0 : f[f.length - 1];
|
|
12674
12672
|
}, { path: o } = gs(), s = (d) => `${o}/${Jt(d)}`, l = (d) => `${o}/${d}`;
|
|
@@ -12677,7 +12675,7 @@ const Uk = /* @__PURE__ */ Q(Mk, [["render", Vk]]), Hk = ["href"], Gk = ["src",
|
|
|
12677
12675
|
Object.entries(d).filter(([f, h]) => P_(f, h)).map(([f, h]) => [f.replaceAll(/[A-Z]/g, (w) => ` ${w}`), h])
|
|
12678
12676
|
);
|
|
12679
12677
|
}
|
|
12680
|
-
const u =
|
|
12678
|
+
const u = de(() => c(n.value));
|
|
12681
12679
|
return (d, f) => (E(), L("div", Wk, [
|
|
12682
12680
|
r.value !== void 0 ? ye(d.$slots, "markdown", {
|
|
12683
12681
|
key: 0,
|
|
@@ -14175,7 +14173,7 @@ const ss = "default", Mp = /^@|^v-on:/, $p = /^:|^v-bind:/, _L = /^v-model/, yL
|
|
|
14175
14173
|
...((h = i == null ? void 0 : i.components) == null ? void 0 : h.map) || {},
|
|
14176
14174
|
...Dm(((_ = (w = e.data) == null ? void 0 : w.mdc) == null ? void 0 : _.components) || {}),
|
|
14177
14175
|
...e.components
|
|
14178
|
-
}, o =
|
|
14176
|
+
}, o = de(() => {
|
|
14179
14177
|
var p;
|
|
14180
14178
|
const v = (((p = e.body) == null ? void 0 : p.children) || []).map((g) => g.tag || g.type).filter((g) => !Gs.includes(g));
|
|
14181
14179
|
return Array.from(new Set(v)).sort().join(".");
|
|
@@ -14398,7 +14396,7 @@ export {
|
|
|
14398
14396
|
kt as NODE_SIZES,
|
|
14399
14397
|
tT as PluginIndex,
|
|
14400
14398
|
Nt as SECTIONS,
|
|
14401
|
-
|
|
14399
|
+
ce as STATES,
|
|
14402
14400
|
eT as SchemaToHtml,
|
|
14403
14401
|
qe as State,
|
|
14404
14402
|
Vh as TaskIcon,
|