@kong-ui-public/entities-plugins 9.69.0 → 9.69.1
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.
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
var Sg = Object.defineProperty;
|
|
2
2
|
var Ag = (e, t, n) => t in e ? Sg(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var rt = (e, t, n) => Ag(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { defineComponent as ve, toRef as Fe, inject as Je, ref as re, computed as M, watch as Ae, onMounted as $t, resolveComponent as Ee, createElementBlock as J, openBlock as k, createVNode as O, markRaw as bi, provide as tt, createBlock as H, withCtx as F, createElementVNode as z, createCommentVNode as Ce, Fragment as Me, renderList as Ke, toDisplayString as he, unref as p, toValue as Te, useAttrs as ni, reactive as Sn, useSlots as en, mergeProps as Be, createSlots as Qe, renderSlot as Ne, normalizeProps as Tn, guardReactiveProps as Gn, createPropsRestProxy as tn, resolveDynamicComponent as ct, Transition as Tg, mergeModels as ts, useModel as
|
|
5
|
-
import { useStringHelpers as
|
|
6
|
-
import { marked as
|
|
7
|
-
import { useRouter as
|
|
4
|
+
import { defineComponent as ve, toRef as Fe, inject as Je, ref as re, computed as M, watch as Ae, onMounted as $t, resolveComponent as Ee, createElementBlock as J, openBlock as k, createVNode as O, markRaw as bi, provide as tt, createBlock as H, withCtx as F, createElementVNode as z, createCommentVNode as Ce, Fragment as Me, renderList as Ke, toDisplayString as he, unref as p, toValue as Te, useAttrs as ni, reactive as Sn, useSlots as en, mergeProps as Be, createSlots as Qe, renderSlot as Ne, normalizeProps as Tn, guardReactiveProps as Gn, createPropsRestProxy as tn, resolveDynamicComponent as ct, Transition as Tg, mergeModels as ts, useModel as gr, onBeforeMount as vn, createTextVNode as Re, normalizeClass as Xe, isRef as Vi, useTemplateRef as gt, withKeys as Hl, withModifiers as Ot, nextTick as et, useCssVars as Hs, toRaw as hr, watchEffect as Td, normalizeStyle as It, onUnmounted as Gs, getCurrentScope as Id, effectScope as $d, getCurrentInstance as Do, shallowRef as Yn, onBeforeUnmount as jr, isMemoSame as Ig, onScopeDispose as sr, h as je, toRefs as $g, customRef as Ng, readonly as Og, useId as Nd, Teleport as Od } from "vue";
|
|
5
|
+
import { useStringHelpers as qr, ConfigurationSchemaType as Et, useAxios as On, useErrors as ji, useDebouncedFilter as Pg, EntityFormBlock as Gl, useHelpers as zr, EntityBaseFormType as Rn, EntityBaseForm as Mg, SupportedEntityType as ns, TerraformCodeBlock as Rg, YamlCodeBlock as Fg, JsonCodeBlock as Dg, useTableState as Lg, useGatewayFeatureSupported as Kg, useFetcher as Bg, useDeleteUrlBuilder as Vg, FetcherStatus as jg, EntityBaseTable as qg, PermissionsWrapper as Fn, TableTags as zg, EntityFilter as Ug, EntityEmptyState as Hg, EntityToggleModal as Gg, EntityDeleteModal as Pd, EntityTypes as Md, ConfigurationSchemaSection as ci, useSchemaProvider as Yg, EntityBaseConfigCard as Wg, InternalLinkItem as Qi } from "@kong-ui-public/entities-shared";
|
|
6
|
+
import { marked as lr } from "marked";
|
|
7
|
+
import { useRouter as Ur, useRoute as Xg } from "vue-router";
|
|
8
8
|
import { createI18n as pt, i18nTComponent as Zg } from "@kong-ui-public/i18n";
|
|
9
9
|
import { PluginGroup as Ve, PLUGIN_GROUP_AND_SCOPE_MAP as pe, PluginScope as wt } from "@kong-ui-public/entities-plugins-metadata";
|
|
10
10
|
import { PluginGroup as qK, PluginScope as zK } from "@kong-ui-public/entities-plugins-metadata";
|
|
11
|
-
import { composables as Jg, FORMS_CONFIG as
|
|
11
|
+
import { composables as Jg, FORMS_CONFIG as Hr, getSharedFormName as Rd, customFields as is, AUTOFILL_SLOT as qi, VueFormGenerator as po, AUTOFILL_SLOT_NAME as qn, FORMS_API_KEY as Qg, sharedForms as Yl } from "@kong-ui-public/forms";
|
|
12
12
|
import { VaultSecretPickerProvider as ka, VaultSecretPicker as eh } from "@kong-ui-public/entities-vaults";
|
|
13
13
|
import "@kong-ui-public/entities-vaults/dist/style.css";
|
|
14
|
-
import { ChevronDownIcon as os, TrashIcon as
|
|
14
|
+
import { ChevronDownIcon as os, TrashIcon as vr, AddIcon as yn, RemoveIcon as Fd, VitalsIcon as th, StackIcon as nh, GatewayIcon as ih, CodeblockIcon as Dd, NetworkIcon as oh, ArrowLeftIcon as rh, ChevronDoubleLeftIcon as ah, ChevronDoubleRightIcon as sh, WarningIcon as lh, UnfoldMoreIcon as Wl, UnfoldLessIcon as Xl, SparklesIcon as Ld, ExternalLinkIcon as uh, CloseIcon as Kd, DesignIcon as ch, BookIcon as dh, PlugIcon as fh, MoreIcon as ph } from "@kong/icons";
|
|
15
15
|
import { KTextArea as mh, KInput as gh, KCheckbox as hh, KLabel as vh, KButton as Wn, KMultiselect as yh, KSelect as _h, KCard as Zl, KCollapse as Bd, KRadio as rs, KTooltip as Jl, KSlideout as bh, KAlert as wh, KSegmentedControl as Eh } from "@kong/kongponents";
|
|
16
|
-
import { PartialType as
|
|
16
|
+
import { PartialType as qo, RedisConfigurationForm as kh } from "@kong-ui-public/entities-redis-configurations";
|
|
17
17
|
import "@kong-ui-public/entities-redis-configurations/dist/style.css";
|
|
18
18
|
import { useManualRefHistory as Ch, createInjectionState as xh, createGlobalState as Sh, useLocalStorage as Ql, useElementBounding as eo, useDraggable as Ah, useScrollLock as Th } from "@vueuse/core";
|
|
19
|
-
import * as
|
|
19
|
+
import * as zo from "monaco-editor";
|
|
20
20
|
import { PluginIcon as Ys } from "@kong-ui-public/entities-plugins-icon";
|
|
21
21
|
import { PluginIcon as HK, getPluginIconURL as GK } from "@kong-ui-public/entities-plugins-icon";
|
|
22
22
|
const Ih = {
|
|
@@ -939,7 +939,7 @@ function qe() {
|
|
|
939
939
|
};
|
|
940
940
|
}
|
|
941
941
|
function Vd() {
|
|
942
|
-
const { capitalize: e } =
|
|
942
|
+
const { capitalize: e } = qr(), t = ["methods", "logout_methods"];
|
|
943
943
|
return {
|
|
944
944
|
setFieldType: (c, f, m) => {
|
|
945
945
|
var h, _, g;
|
|
@@ -1252,7 +1252,7 @@ const Ln = (e) => {
|
|
|
1252
1252
|
value: "current-cp",
|
|
1253
1253
|
label: l("custom_field.key_auth_identity_realms.cp_label"),
|
|
1254
1254
|
group: l("custom_field.key_auth_identity_realms.cp_group_label")
|
|
1255
|
-
}, d = Je(
|
|
1255
|
+
}, d = Je(Hr), { axiosInstance: c } = On(d == null ? void 0 : d.axiosRequestConfig), f = () => {
|
|
1256
1256
|
if ((d == null ? void 0 : d.app) === "konnect") {
|
|
1257
1257
|
const b = /\b(us|eu|au|me|in)\b/.exec((d == null ? void 0 : d.apiBaseUrl) || "");
|
|
1258
1258
|
if (b)
|
|
@@ -2754,7 +2754,7 @@ const Ln = (e) => {
|
|
|
2754
2754
|
styleClasses: "kong-form-field-wrapper",
|
|
2755
2755
|
newElementButtonLabel: "+ Add",
|
|
2756
2756
|
newElementButtonLabelClasses: "kong-form-new-element-button-label"
|
|
2757
|
-
},
|
|
2757
|
+
}, Gr = {
|
|
2758
2758
|
type: "array",
|
|
2759
2759
|
showRemoveButton: !1,
|
|
2760
2760
|
newElementButtonLabelClasses: "kong-form-new-element-button-label",
|
|
@@ -2762,7 +2762,7 @@ const Ln = (e) => {
|
|
|
2762
2762
|
fieldClasses: "metrics-wrapper"
|
|
2763
2763
|
}, _v = {
|
|
2764
2764
|
"config-metrics": {
|
|
2765
|
-
...
|
|
2765
|
+
...Gr,
|
|
2766
2766
|
items: {
|
|
2767
2767
|
type: "object",
|
|
2768
2768
|
default: () => ({}),
|
|
@@ -2873,7 +2873,7 @@ const Ln = (e) => {
|
|
|
2873
2873
|
[t]: Ci.fields.arrayItems({
|
|
2874
2874
|
newElementButtonLabel: "Add"
|
|
2875
2875
|
})
|
|
2876
|
-
}), Cv),
|
|
2876
|
+
}), Cv), Uo = {
|
|
2877
2877
|
"config-strategy": {
|
|
2878
2878
|
label: "Config.Strategy",
|
|
2879
2879
|
type: "select",
|
|
@@ -3055,7 +3055,7 @@ const Ln = (e) => {
|
|
|
3055
3055
|
}
|
|
3056
3056
|
}, $v = {
|
|
3057
3057
|
"config-metrics": {
|
|
3058
|
-
...
|
|
3058
|
+
...Gr,
|
|
3059
3059
|
items: {
|
|
3060
3060
|
type: "object",
|
|
3061
3061
|
default: () => ({}),
|
|
@@ -3130,7 +3130,7 @@ const Ln = (e) => {
|
|
|
3130
3130
|
}
|
|
3131
3131
|
}, Nv = {
|
|
3132
3132
|
"config-metrics": {
|
|
3133
|
-
...
|
|
3133
|
+
...Gr,
|
|
3134
3134
|
items: {
|
|
3135
3135
|
type: "object",
|
|
3136
3136
|
default: () => ({}),
|
|
@@ -3272,7 +3272,7 @@ function zv(e) {
|
|
|
3272
3272
|
return e;
|
|
3273
3273
|
}
|
|
3274
3274
|
var Uv = "[object AsyncFunction]", Hv = "[object Function]", Gv = "[object GeneratorFunction]", Yv = "[object Proxy]";
|
|
3275
|
-
function
|
|
3275
|
+
function yr(e) {
|
|
3276
3276
|
if (!Xn(e))
|
|
3277
3277
|
return !1;
|
|
3278
3278
|
var t = oi(e);
|
|
@@ -3305,7 +3305,7 @@ var Jv = /[\\^$.*+?()[\]{}|]/g, Qv = /^\[object .+?Constructor\]$/, ey = Functio
|
|
|
3305
3305
|
function ry(e) {
|
|
3306
3306
|
if (!Xn(e) || Wv(e))
|
|
3307
3307
|
return !1;
|
|
3308
|
-
var t =
|
|
3308
|
+
var t = yr(e) ? oy : Qv;
|
|
3309
3309
|
return t.test(ri(e));
|
|
3310
3310
|
}
|
|
3311
3311
|
function ay(e, t) {
|
|
@@ -3365,14 +3365,14 @@ function my(e) {
|
|
|
3365
3365
|
return e;
|
|
3366
3366
|
};
|
|
3367
3367
|
}
|
|
3368
|
-
var
|
|
3368
|
+
var _r = function() {
|
|
3369
3369
|
try {
|
|
3370
3370
|
var e = ai(Object, "defineProperty");
|
|
3371
3371
|
return e({}, "", {}), e;
|
|
3372
3372
|
} catch {
|
|
3373
3373
|
}
|
|
3374
|
-
}(), gy =
|
|
3375
|
-
return
|
|
3374
|
+
}(), gy = _r ? function(e, t) {
|
|
3375
|
+
return _r(e, "toString", {
|
|
3376
3376
|
configurable: !0,
|
|
3377
3377
|
enumerable: !1,
|
|
3378
3378
|
value: my(t),
|
|
@@ -3390,7 +3390,7 @@ function Xs(e, t) {
|
|
|
3390
3390
|
return t = t ?? yy, !!t && (n == "number" || n != "symbol" && _y.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
3391
3391
|
}
|
|
3392
3392
|
function Gd(e, t, n) {
|
|
3393
|
-
t == "__proto__" &&
|
|
3393
|
+
t == "__proto__" && _r ? _r(e, t, {
|
|
3394
3394
|
configurable: !0,
|
|
3395
3395
|
enumerable: !0,
|
|
3396
3396
|
value: n,
|
|
@@ -3430,10 +3430,10 @@ function Qs(e) {
|
|
|
3430
3430
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= ky;
|
|
3431
3431
|
}
|
|
3432
3432
|
function el(e) {
|
|
3433
|
-
return e != null && Qs(e.length) && !
|
|
3433
|
+
return e != null && Qs(e.length) && !yr(e);
|
|
3434
3434
|
}
|
|
3435
3435
|
var Cy = Object.prototype;
|
|
3436
|
-
function
|
|
3436
|
+
function Yr(e) {
|
|
3437
3437
|
var t = e && e.constructor, n = typeof t == "function" && t.prototype || Cy;
|
|
3438
3438
|
return e === n;
|
|
3439
3439
|
}
|
|
@@ -3446,7 +3446,7 @@ var Sy = "[object Arguments]";
|
|
|
3446
3446
|
function pu(e) {
|
|
3447
3447
|
return mn(e) && oi(e) == Sy;
|
|
3448
3448
|
}
|
|
3449
|
-
var Yd = Object.prototype, Ay = Yd.hasOwnProperty, Ty = Yd.propertyIsEnumerable,
|
|
3449
|
+
var Yd = Object.prototype, Ay = Yd.hasOwnProperty, Ty = Yd.propertyIsEnumerable, Wr = pu(/* @__PURE__ */ function() {
|
|
3450
3450
|
return arguments;
|
|
3451
3451
|
}()) ? pu : function(e) {
|
|
3452
3452
|
return mn(e) && Ay.call(e, "callee") && !Ty.call(e, "callee");
|
|
@@ -3473,7 +3473,7 @@ var Xd = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
3473
3473
|
}
|
|
3474
3474
|
}(), hu = xi && xi.isTypedArray, nl = hu ? tl(hu) : n_, o_ = Object.prototype, r_ = o_.hasOwnProperty;
|
|
3475
3475
|
function Zd(e, t) {
|
|
3476
|
-
var n = jt(e), i = !n &&
|
|
3476
|
+
var n = jt(e), i = !n && Wr(e), o = !n && !i && Eo(e), r = !n && !i && !o && nl(e), a = n || i || o || r, s = a ? xy(e.length, String) : [], l = s.length;
|
|
3477
3477
|
for (var u in e)
|
|
3478
3478
|
(t || r_.call(e, u)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
3479
3479
|
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -3489,7 +3489,7 @@ function Jd(e, t) {
|
|
|
3489
3489
|
}
|
|
3490
3490
|
var a_ = Jd(Object.keys, Object), s_ = Object.prototype, l_ = s_.hasOwnProperty;
|
|
3491
3491
|
function Qd(e) {
|
|
3492
|
-
if (!
|
|
3492
|
+
if (!Yr(e))
|
|
3493
3493
|
return a_(e);
|
|
3494
3494
|
var t = [];
|
|
3495
3495
|
for (var n in Object(e))
|
|
@@ -3510,7 +3510,7 @@ var c_ = Object.prototype, d_ = c_.hasOwnProperty;
|
|
|
3510
3510
|
function f_(e) {
|
|
3511
3511
|
if (!Xn(e))
|
|
3512
3512
|
return u_(e);
|
|
3513
|
-
var t =
|
|
3513
|
+
var t = Yr(e), n = [];
|
|
3514
3514
|
for (var i in e)
|
|
3515
3515
|
i == "constructor" && (t || !d_.call(e, i)) || n.push(i);
|
|
3516
3516
|
return n;
|
|
@@ -3567,7 +3567,7 @@ Zn.prototype.set = S_;
|
|
|
3567
3567
|
function A_() {
|
|
3568
3568
|
this.__data__ = [], this.size = 0;
|
|
3569
3569
|
}
|
|
3570
|
-
function
|
|
3570
|
+
function Xr(e, t) {
|
|
3571
3571
|
for (var n = e.length; n--; )
|
|
3572
3572
|
if (Zs(e[n][0], t))
|
|
3573
3573
|
return n;
|
|
@@ -3575,21 +3575,21 @@ function Wr(e, t) {
|
|
|
3575
3575
|
}
|
|
3576
3576
|
var T_ = Array.prototype, I_ = T_.splice;
|
|
3577
3577
|
function $_(e) {
|
|
3578
|
-
var t = this.__data__, n =
|
|
3578
|
+
var t = this.__data__, n = Xr(t, e);
|
|
3579
3579
|
if (n < 0)
|
|
3580
3580
|
return !1;
|
|
3581
3581
|
var i = t.length - 1;
|
|
3582
3582
|
return n == i ? t.pop() : I_.call(t, n, 1), --this.size, !0;
|
|
3583
3583
|
}
|
|
3584
3584
|
function N_(e) {
|
|
3585
|
-
var t = this.__data__, n =
|
|
3585
|
+
var t = this.__data__, n = Xr(t, e);
|
|
3586
3586
|
return n < 0 ? void 0 : t[n][1];
|
|
3587
3587
|
}
|
|
3588
3588
|
function O_(e) {
|
|
3589
|
-
return
|
|
3589
|
+
return Xr(this.__data__, e) > -1;
|
|
3590
3590
|
}
|
|
3591
3591
|
function P_(e, t) {
|
|
3592
|
-
var n = this.__data__, i =
|
|
3592
|
+
var n = this.__data__, i = Xr(n, e);
|
|
3593
3593
|
return i < 0 ? (++this.size, n.push([e, t])) : n[i][1] = t, this;
|
|
3594
3594
|
}
|
|
3595
3595
|
function _n(e) {
|
|
@@ -3616,22 +3616,22 @@ function R_(e) {
|
|
|
3616
3616
|
var t = typeof e;
|
|
3617
3617
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
3618
3618
|
}
|
|
3619
|
-
function
|
|
3619
|
+
function Zr(e, t) {
|
|
3620
3620
|
var n = e.__data__;
|
|
3621
3621
|
return R_(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
3622
3622
|
}
|
|
3623
3623
|
function F_(e) {
|
|
3624
|
-
var t =
|
|
3624
|
+
var t = Zr(this, e).delete(e);
|
|
3625
3625
|
return this.size -= t ? 1 : 0, t;
|
|
3626
3626
|
}
|
|
3627
3627
|
function D_(e) {
|
|
3628
|
-
return
|
|
3628
|
+
return Zr(this, e).get(e);
|
|
3629
3629
|
}
|
|
3630
3630
|
function L_(e) {
|
|
3631
|
-
return
|
|
3631
|
+
return Zr(this, e).has(e);
|
|
3632
3632
|
}
|
|
3633
3633
|
function K_(e, t) {
|
|
3634
|
-
var n =
|
|
3634
|
+
var n = Zr(this, e), i = n.size;
|
|
3635
3635
|
return n.set(e, t), this.size += n.size == i ? 0 : 1, this;
|
|
3636
3636
|
}
|
|
3637
3637
|
function bn(e) {
|
|
@@ -3673,13 +3673,13 @@ var q_ = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=
|
|
|
3673
3673
|
t.push(o ? r.replace(z_, "$1") : i || n);
|
|
3674
3674
|
}), t;
|
|
3675
3675
|
});
|
|
3676
|
-
function
|
|
3676
|
+
function Jr(e) {
|
|
3677
3677
|
return e == null ? "" : Hd(e);
|
|
3678
3678
|
}
|
|
3679
3679
|
function zi(e, t) {
|
|
3680
|
-
return jt(e) ? e : g_(e, t) ? [e] : U_(
|
|
3680
|
+
return jt(e) ? e : g_(e, t) ? [e] : U_(Jr(e));
|
|
3681
3681
|
}
|
|
3682
|
-
function
|
|
3682
|
+
function Qr(e) {
|
|
3683
3683
|
if (typeof e == "string" || Ws(e))
|
|
3684
3684
|
return e;
|
|
3685
3685
|
var t = e + "";
|
|
@@ -3688,7 +3688,7 @@ function Jr(e) {
|
|
|
3688
3688
|
function al(e, t) {
|
|
3689
3689
|
t = zi(t, e);
|
|
3690
3690
|
for (var n = 0, i = t.length; e != null && n < i; )
|
|
3691
|
-
e = e[
|
|
3691
|
+
e = e[Qr(t[n++])];
|
|
3692
3692
|
return n && n == i ? e : void 0;
|
|
3693
3693
|
}
|
|
3694
3694
|
function ef(e, t, n) {
|
|
@@ -3702,7 +3702,7 @@ function sl(e, t) {
|
|
|
3702
3702
|
}
|
|
3703
3703
|
var vu = Dt ? Dt.isConcatSpreadable : void 0;
|
|
3704
3704
|
function H_(e) {
|
|
3705
|
-
return jt(e) ||
|
|
3705
|
+
return jt(e) || Wr(e) || !!(vu && e && e[vu]);
|
|
3706
3706
|
}
|
|
3707
3707
|
function G_(e, t, n, i, o) {
|
|
3708
3708
|
var r = -1, a = e.length;
|
|
@@ -3756,14 +3756,14 @@ function Cb(e) {
|
|
|
3756
3756
|
}
|
|
3757
3757
|
function xb(e) {
|
|
3758
3758
|
return function(t) {
|
|
3759
|
-
t =
|
|
3759
|
+
t = Jr(t);
|
|
3760
3760
|
var n = rf(t) ? Cb(t) : void 0, i = n ? n[0] : t.charAt(0), o = n ? tb(n, 1).join("") : t.slice(1);
|
|
3761
3761
|
return i[e]() + o;
|
|
3762
3762
|
};
|
|
3763
3763
|
}
|
|
3764
3764
|
var Sb = xb("toUpperCase");
|
|
3765
3765
|
function Ab(e) {
|
|
3766
|
-
return Sb(
|
|
3766
|
+
return Sb(Jr(e).toLowerCase());
|
|
3767
3767
|
}
|
|
3768
3768
|
function Tb() {
|
|
3769
3769
|
this.__data__ = new _n(), this.size = 0;
|
|
@@ -3870,10 +3870,10 @@ function Jb(e) {
|
|
|
3870
3870
|
var t = e.length, n = new e.constructor(t);
|
|
3871
3871
|
return t && typeof e[0] == "string" && Zb.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
3872
3872
|
}
|
|
3873
|
-
var
|
|
3873
|
+
var br = nn.Uint8Array;
|
|
3874
3874
|
function cl(e) {
|
|
3875
3875
|
var t = new e.constructor(e.byteLength);
|
|
3876
|
-
return new
|
|
3876
|
+
return new br(t).set(new br(e)), t;
|
|
3877
3877
|
}
|
|
3878
3878
|
function Qb(e, t) {
|
|
3879
3879
|
var n = t ? cl(e.buffer) : e.buffer;
|
|
@@ -3927,7 +3927,7 @@ function k0(e, t, n) {
|
|
|
3927
3927
|
}
|
|
3928
3928
|
}
|
|
3929
3929
|
function C0(e) {
|
|
3930
|
-
return typeof e.constructor == "function" && !
|
|
3930
|
+
return typeof e.constructor == "function" && !Yr(e) ? sy(ll(e)) : {};
|
|
3931
3931
|
}
|
|
3932
3932
|
var x0 = "[object Map]";
|
|
3933
3933
|
function S0(e) {
|
|
@@ -3988,13 +3988,13 @@ function aw(e) {
|
|
|
3988
3988
|
function sw(e) {
|
|
3989
3989
|
return this.__data__.has(e);
|
|
3990
3990
|
}
|
|
3991
|
-
function
|
|
3991
|
+
function wr(e) {
|
|
3992
3992
|
var t = -1, n = e == null ? 0 : e.length;
|
|
3993
3993
|
for (this.__data__ = new bn(); ++t < n; )
|
|
3994
3994
|
this.add(e[t]);
|
|
3995
3995
|
}
|
|
3996
|
-
|
|
3997
|
-
|
|
3996
|
+
wr.prototype.add = wr.prototype.push = aw;
|
|
3997
|
+
wr.prototype.has = sw;
|
|
3998
3998
|
function lw(e, t) {
|
|
3999
3999
|
for (var n = -1, i = e == null ? 0 : e.length; ++n < i; )
|
|
4000
4000
|
if (t(e[n], n, e))
|
|
@@ -4012,7 +4012,7 @@ function bf(e, t, n, i, o, r) {
|
|
|
4012
4012
|
var u = r.get(e), d = r.get(t);
|
|
4013
4013
|
if (u && d)
|
|
4014
4014
|
return u == t && d == e;
|
|
4015
|
-
var c = -1, f = !0, m = n & dw ? new
|
|
4015
|
+
var c = -1, f = !0, m = n & dw ? new wr() : void 0;
|
|
4016
4016
|
for (r.set(e, t), r.set(t, e); ++c < s; ) {
|
|
4017
4017
|
var h = e[c], _ = t[c];
|
|
4018
4018
|
if (i)
|
|
@@ -4058,7 +4058,7 @@ function Aw(e, t, n, i, o, r, a) {
|
|
|
4058
4058
|
return !1;
|
|
4059
4059
|
e = e.buffer, t = t.buffer;
|
|
4060
4060
|
case xw:
|
|
4061
|
-
return !(e.byteLength != t.byteLength || !r(new
|
|
4061
|
+
return !(e.byteLength != t.byteLength || !r(new br(e), new br(t)));
|
|
4062
4062
|
case hw:
|
|
4063
4063
|
case vw:
|
|
4064
4064
|
case bw:
|
|
@@ -4118,11 +4118,11 @@ function Nw(e, t, n, i, o, r) {
|
|
|
4118
4118
|
}
|
|
4119
4119
|
return r.delete(e), r.delete(t), _;
|
|
4120
4120
|
}
|
|
4121
|
-
var Ow = 1, Ou = "[object Arguments]", Pu = "[object Array]",
|
|
4121
|
+
var Ow = 1, Ou = "[object Arguments]", Pu = "[object Array]", Ho = "[object Object]", Pw = Object.prototype, Mu = Pw.hasOwnProperty;
|
|
4122
4122
|
function Mw(e, t, n, i, o, r) {
|
|
4123
4123
|
var a = jt(e), s = jt(t), l = a ? Pu : Rt(e), u = s ? Pu : Rt(t);
|
|
4124
|
-
l = l == Ou ?
|
|
4125
|
-
var d = l ==
|
|
4124
|
+
l = l == Ou ? Ho : l, u = u == Ou ? Ho : u;
|
|
4125
|
+
var d = l == Ho, c = u == Ho, f = l == u;
|
|
4126
4126
|
if (f && Eo(e)) {
|
|
4127
4127
|
if (!Eo(t))
|
|
4128
4128
|
return !1;
|
|
@@ -4148,12 +4148,12 @@ function Rw(e, t) {
|
|
|
4148
4148
|
function Fw(e, t, n) {
|
|
4149
4149
|
t = zi(t, e);
|
|
4150
4150
|
for (var i = -1, o = t.length, r = !1; ++i < o; ) {
|
|
4151
|
-
var a =
|
|
4151
|
+
var a = Qr(t[i]);
|
|
4152
4152
|
if (!(r = e != null && n(e, a)))
|
|
4153
4153
|
break;
|
|
4154
4154
|
e = e[a];
|
|
4155
4155
|
}
|
|
4156
|
-
return r || ++i != o ? r : (o = e == null ? 0 : e.length, !!o && Qs(o) && Xs(a, o) && (jt(e) ||
|
|
4156
|
+
return r || ++i != o ? r : (o = e == null ? 0 : e.length, !!o && Qs(o) && Xs(a, o) && (jt(e) || Wr(e)));
|
|
4157
4157
|
}
|
|
4158
4158
|
function Dw(e, t) {
|
|
4159
4159
|
return e != null && Fw(e, t, Rw);
|
|
@@ -4169,12 +4169,12 @@ var Bw = "[object Map]", Vw = "[object Set]", jw = Object.prototype, qw = jw.has
|
|
|
4169
4169
|
function Ru(e) {
|
|
4170
4170
|
if (e == null)
|
|
4171
4171
|
return !0;
|
|
4172
|
-
if (el(e) && (jt(e) || typeof e == "string" || typeof e.splice == "function" || Eo(e) || nl(e) ||
|
|
4172
|
+
if (el(e) && (jt(e) || typeof e == "string" || typeof e.splice == "function" || Eo(e) || nl(e) || Wr(e)))
|
|
4173
4173
|
return !e.length;
|
|
4174
4174
|
var t = Rt(e);
|
|
4175
4175
|
if (t == Bw || t == Vw)
|
|
4176
4176
|
return !e.size;
|
|
4177
|
-
if (
|
|
4177
|
+
if (Yr(e))
|
|
4178
4178
|
return !Qd(e).length;
|
|
4179
4179
|
for (var n in e)
|
|
4180
4180
|
if (qw.call(e, n))
|
|
@@ -4185,7 +4185,7 @@ function dl(e, t) {
|
|
|
4185
4185
|
return wf(e, t);
|
|
4186
4186
|
}
|
|
4187
4187
|
function Ef(e, t) {
|
|
4188
|
-
return t = zi(t, e), e = Kw(e, t), e == null || delete e[
|
|
4188
|
+
return t = zi(t, e), e = Kw(e, t), e == null || delete e[Qr(Lw(t))];
|
|
4189
4189
|
}
|
|
4190
4190
|
function zw(e) {
|
|
4191
4191
|
return eb(e) ? void 0 : e;
|
|
@@ -4207,7 +4207,7 @@ function Cf(e, t, n, i) {
|
|
|
4207
4207
|
return e;
|
|
4208
4208
|
t = zi(t, e);
|
|
4209
4209
|
for (var o = -1, r = t.length, a = r - 1, s = e; s != null && ++o < r; ) {
|
|
4210
|
-
var l =
|
|
4210
|
+
var l = Qr(t[o]), u = n;
|
|
4211
4211
|
if (l === "__proto__" || l === "constructor" || l === "prototype")
|
|
4212
4212
|
return e;
|
|
4213
4213
|
if (o != a) {
|
|
@@ -4239,7 +4239,7 @@ function Xw(e, t, n) {
|
|
|
4239
4239
|
var Zw = 0;
|
|
4240
4240
|
function fl(e) {
|
|
4241
4241
|
var t = ++Zw;
|
|
4242
|
-
return
|
|
4242
|
+
return Jr(e) + t;
|
|
4243
4243
|
}
|
|
4244
4244
|
function Fu(e, t) {
|
|
4245
4245
|
return e == null ? !0 : Ef(e, t);
|
|
@@ -4319,7 +4319,7 @@ const Jw = (e) => {
|
|
|
4319
4319
|
}
|
|
4320
4320
|
}, o1 = {
|
|
4321
4321
|
"config-static_tags": {
|
|
4322
|
-
...
|
|
4322
|
+
...Gr,
|
|
4323
4323
|
items: {
|
|
4324
4324
|
type: "object",
|
|
4325
4325
|
default: () => ({}),
|
|
@@ -4372,7 +4372,7 @@ const u1 = (e, t) => {
|
|
|
4372
4372
|
const n = e.model.startsWith("config-"), i = t.model.startsWith("config-");
|
|
4373
4373
|
return n && !i ? 1 : !n && i ? -1 : 0;
|
|
4374
4374
|
}, Tf = (e, t) => (e.order ?? 0) - (t.order ?? 0), Du = (e, t) => u1(e, t) || Tf(e, t) || e.model.localeCompare(t.model), c1 = (e) => {
|
|
4375
|
-
const { capitalize: t } =
|
|
4375
|
+
const { capitalize: t } = qr(), { convertToDotNotation: n } = Vd(), { i18n: { t: i } } = qe(), o = Af(), r = {
|
|
4376
4376
|
"application-registration": {
|
|
4377
4377
|
overwriteDefault: !0,
|
|
4378
4378
|
formSchema: {
|
|
@@ -4421,12 +4421,12 @@ const u1 = (e, t) => {
|
|
|
4421
4421
|
...Ev
|
|
4422
4422
|
},
|
|
4423
4423
|
"rate-limiting": {
|
|
4424
|
-
...
|
|
4424
|
+
...Uo
|
|
4425
4425
|
},
|
|
4426
4426
|
"rate-limiting-advanced": (e == null ? void 0 : e.app) === "kongManager" ? {
|
|
4427
|
-
"config-consumer_groups":
|
|
4427
|
+
"config-consumer_groups": Uo["config-consumer_groups"]
|
|
4428
4428
|
} : {
|
|
4429
|
-
...
|
|
4429
|
+
...Uo
|
|
4430
4430
|
},
|
|
4431
4431
|
"graphql-rate-limiting-advanced": {
|
|
4432
4432
|
...bv
|
|
@@ -4435,7 +4435,7 @@ const u1 = (e, t) => {
|
|
|
4435
4435
|
...wv
|
|
4436
4436
|
},
|
|
4437
4437
|
"response-ratelimiting": {
|
|
4438
|
-
...
|
|
4438
|
+
...Uo
|
|
4439
4439
|
},
|
|
4440
4440
|
"pre-function": {
|
|
4441
4441
|
...au
|
|
@@ -4848,7 +4848,7 @@ function Lu(e) {
|
|
|
4848
4848
|
function Ai(e) {
|
|
4849
4849
|
return e.split($f).filter((t) => t !== "");
|
|
4850
4850
|
}
|
|
4851
|
-
function
|
|
4851
|
+
function ea(e) {
|
|
4852
4852
|
const t = Ai(e);
|
|
4853
4853
|
return t[t.length - 1];
|
|
4854
4854
|
}
|
|
@@ -4878,7 +4878,7 @@ function y1(e) {
|
|
|
4878
4878
|
const t = Te(e);
|
|
4879
4879
|
return t ? t.type === "set" && t.elements.type === "string" && !t.elements.one_of : !1;
|
|
4880
4880
|
}
|
|
4881
|
-
const Nf = Symbol("free-form-data"), Of = Symbol("free-form-schema"), Ku = Symbol("free-form-field-path"), hs = Symbol("free-form-field-renderer-slots"),
|
|
4881
|
+
const Nf = Symbol("free-form-data"), Of = Symbol("free-form-schema"), Ku = Symbol("free-form-field-path"), hs = Symbol("free-form-field-renderer-slots"), Er = Symbol("free-form-field-renderer-matchers-map"), Pf = Symbol("free-form-config"), Bu = Symbol("free-form-field-reset-label-path-setting"), Ti = "free-form-field-renderers-slot", _1 = {
|
|
4882
4882
|
tooltipAttributes: {
|
|
4883
4883
|
maxWidth: "300px",
|
|
4884
4884
|
placement: "top"
|
|
@@ -4929,7 +4929,7 @@ function b1(e) {
|
|
|
4929
4929
|
return d ? o(d, !0) : r(i(), "");
|
|
4930
4930
|
}
|
|
4931
4931
|
function s(d) {
|
|
4932
|
-
const c = i(d), f = c != null && c.description ?
|
|
4932
|
+
const c = i(d), f = c != null && c.description ? lr.parse(c.description, { async: !1 }) : void 0;
|
|
4933
4933
|
return {
|
|
4934
4934
|
..._1,
|
|
4935
4935
|
"data-testid": `ff-label-${d}`,
|
|
@@ -4979,7 +4979,7 @@ const Mf = (e) => {
|
|
|
4979
4979
|
});
|
|
4980
4980
|
return tt(Ku, n), n;
|
|
4981
4981
|
}, w1 = (e) => {
|
|
4982
|
-
const { getSchema: t } = it(), { default: n, ...i } = en(), o = Je(hs), r = Je(
|
|
4982
|
+
const { getSchema: t } = it(), { default: n, ...i } = en(), o = Je(hs), r = Je(Er), a = M(() => {
|
|
4983
4983
|
const l = Te(o), u = Object.keys(i).filter((d) => d !== Ti && d !== "item").reduce((d, c) => {
|
|
4984
4984
|
const f = ys(qt(Te(e), c));
|
|
4985
4985
|
return { ...d, [f]: i[c] };
|
|
@@ -5043,7 +5043,7 @@ function x1(e) {
|
|
|
5043
5043
|
return Ai(e).map((n) => n.split("_").map(Ab).map(k1).join(" ")).join(" › ");
|
|
5044
5044
|
}
|
|
5045
5045
|
function S1(e, t) {
|
|
5046
|
-
const n = Te(e), i =
|
|
5046
|
+
const n = Te(e), i = ea(n), { formConfig: o } = it(), r = C1(i, t), { getSchema: a } = it(), s = Rf(e);
|
|
5047
5047
|
return M(() => {
|
|
5048
5048
|
var f;
|
|
5049
5049
|
const l = r.value ?? i, u = (f = s.value.parent) != null && f.path ? a(s.value.parent.path) : null, c = (u == null ? void 0 : u.type) === "array" ? "" : x1(l);
|
|
@@ -5098,7 +5098,7 @@ function Kt(e) {
|
|
|
5098
5098
|
error: new Error(`path '${n.value}' is not found in schema.`)
|
|
5099
5099
|
};
|
|
5100
5100
|
}
|
|
5101
|
-
function
|
|
5101
|
+
function ta(e) {
|
|
5102
5102
|
const { getSchema: t } = it(), n = ni();
|
|
5103
5103
|
return M(() => {
|
|
5104
5104
|
var o;
|
|
@@ -5196,7 +5196,7 @@ const Ii = /* @__PURE__ */ ve({
|
|
|
5196
5196
|
}), f = Je(qi, void 0), m = M(() => {
|
|
5197
5197
|
var y;
|
|
5198
5198
|
return e.showVaultSecretPicker !== void 0 ? e.showVaultSecretPicker : !!((y = s.schema.value) != null && y.referenceable);
|
|
5199
|
-
}), h = M(() => ({ referenceable: m.value })), _ =
|
|
5199
|
+
}), h = M(() => ({ referenceable: m.value })), _ = ta(s.ancestors), g = M(() => n["data-1p-ignore"] !== void 0 ? n["data-1p-ignore"] : ea(e.name) === "name");
|
|
5200
5200
|
return (y, b) => {
|
|
5201
5201
|
var x;
|
|
5202
5202
|
const v = Ee("KAlert");
|
|
@@ -5385,7 +5385,7 @@ const Ii = /* @__PURE__ */ ve({
|
|
|
5385
5385
|
}),
|
|
5386
5386
|
emits: ["update:added", "update:expanded"],
|
|
5387
5387
|
setup(e) {
|
|
5388
|
-
const t = tn(e, ["defaultExpanded", "defaultAdded", "collapsible", "omit", "required", "asChild", "resetLabelPath", "fieldsOrder"]), { value: n, ...i } = Kt(Fe(t, "name")), { getSchema: o, getDefault: r } = it(), a =
|
|
5388
|
+
const t = tn(e, ["defaultExpanded", "defaultAdded", "collapsible", "omit", "required", "asChild", "resetLabelPath", "fieldsOrder"]), { value: n, ...i } = Kt(Fe(t, "name")), { getSchema: o, getDefault: r } = it(), a = gr(e, "added"), s = gr(e, "expanded"), l = M(() => f.value && (e.collapsible ? s.value ?? e.defaultExpanded : !1)), u = M(() => {
|
|
5389
5389
|
var g, y;
|
|
5390
5390
|
if ((g = i.ancestors) != null && g.value) {
|
|
5391
5391
|
const b = i.ancestors.value.parent;
|
|
@@ -5489,7 +5489,7 @@ const Ii = /* @__PURE__ */ ve({
|
|
|
5489
5489
|
onClick: _
|
|
5490
5490
|
}, {
|
|
5491
5491
|
default: F(() => [
|
|
5492
|
-
f.value ? (k(), H(p(
|
|
5492
|
+
f.value ? (k(), H(p(vr), { key: 0 })) : (k(), H(p(yn), { key: 1 }))
|
|
5493
5493
|
]),
|
|
5494
5494
|
_: 1
|
|
5495
5495
|
}, 8, ["class", "data-testid"]))
|
|
@@ -5549,7 +5549,7 @@ const Ii = /* @__PURE__ */ ve({
|
|
|
5549
5549
|
function d(f) {
|
|
5550
5550
|
l !== void 0 && f === "" && Number(f) !== l ? (i.value = null, s("update:modelValue", null)) : (i.value = f === "" ? null : Number(f), s("update:modelValue", f === "" ? null : Number(f)));
|
|
5551
5551
|
}
|
|
5552
|
-
const c =
|
|
5552
|
+
const c = ta(o.ancestors);
|
|
5553
5553
|
return (f, m) => {
|
|
5554
5554
|
var _;
|
|
5555
5555
|
const h = Ee("KAlert");
|
|
@@ -5879,7 +5879,7 @@ const U1 = ["data-testid"], H1 = ["data-testid"], G1 = ["innerHTML"], Y1 = ["dat
|
|
|
5879
5879
|
onClick: (Z) => p(l)(Y.id)
|
|
5880
5880
|
}, {
|
|
5881
5881
|
default: F(() => [
|
|
5882
|
-
O(p(
|
|
5882
|
+
O(p(vr))
|
|
5883
5883
|
]),
|
|
5884
5884
|
_: 2
|
|
5885
5885
|
}, 1032, ["data-testid", "onClick"])
|
|
@@ -5912,7 +5912,7 @@ const U1 = ["data-testid"], H1 = ["data-testid"], G1 = ["innerHTML"], Y1 = ["dat
|
|
|
5912
5912
|
const g = c(_), y = !g.length && l.value ? null : g;
|
|
5913
5913
|
r.value = y, o("update:modelValue", y);
|
|
5914
5914
|
}
|
|
5915
|
-
const m =
|
|
5915
|
+
const m = ta(a.ancestors), h = M(() => n["data-1p-ignore"] !== void 0 ? n["data-1p-ignore"] : ea(e.name) === "name");
|
|
5916
5916
|
return Ae(r, (_) => {
|
|
5917
5917
|
const g = _ ? d(_) : "";
|
|
5918
5918
|
d(c(u.value)) !== g && (u.value = g);
|
|
@@ -5970,7 +5970,7 @@ const U1 = ["data-testid"], H1 = ["data-testid"], G1 = ["innerHTML"], Y1 = ["dat
|
|
|
5970
5970
|
}
|
|
5971
5971
|
r.value = m, o("update:modelValue", m);
|
|
5972
5972
|
}
|
|
5973
|
-
const d =
|
|
5973
|
+
const d = ta(a.ancestors), c = M(() => n["data-1p-ignore"] !== void 0 ? n["data-1p-ignore"] : ea(e.name) === "name");
|
|
5974
5974
|
return Ae(r, (f) => {
|
|
5975
5975
|
if (f && typeof f == "object") {
|
|
5976
5976
|
try {
|
|
@@ -6036,7 +6036,7 @@ const U1 = ["data-testid"], H1 = ["data-testid"], G1 = ["innerHTML"], Y1 = ["dat
|
|
|
6036
6036
|
case "integer":
|
|
6037
6037
|
return "one_of" in n.schema.value ? Zt : Ni;
|
|
6038
6038
|
case "array":
|
|
6039
|
-
return
|
|
6039
|
+
return na;
|
|
6040
6040
|
case "set":
|
|
6041
6041
|
return y1(n.schema) ? Bf : Zt;
|
|
6042
6042
|
case "record":
|
|
@@ -6205,7 +6205,7 @@ const U1 = ["data-testid"], H1 = ["data-testid"], G1 = ["innerHTML"], Y1 = ["dat
|
|
|
6205
6205
|
onClick: (T) => g(Z)
|
|
6206
6206
|
}, {
|
|
6207
6207
|
default: F(() => [
|
|
6208
|
-
O(p(
|
|
6208
|
+
O(p(vr))
|
|
6209
6209
|
]),
|
|
6210
6210
|
_: 2
|
|
6211
6211
|
}, 1032, ["aria-label", "data-testid", "onClick"])
|
|
@@ -6255,7 +6255,7 @@ const U1 = ["data-testid"], H1 = ["data-testid"], G1 = ["innerHTML"], Y1 = ["dat
|
|
|
6255
6255
|
onClick: Ot((T) => g(Z), ["stop"])
|
|
6256
6256
|
}, {
|
|
6257
6257
|
default: F(() => [
|
|
6258
|
-
O(p(
|
|
6258
|
+
O(p(vr))
|
|
6259
6259
|
]),
|
|
6260
6260
|
_: 2
|
|
6261
6261
|
}, 1032, ["aria-label", "data-testid", "onClick"])
|
|
@@ -6269,7 +6269,7 @@ const U1 = ["data-testid"], H1 = ["data-testid"], G1 = ["innerHTML"], Y1 = ["dat
|
|
|
6269
6269
|
], 10, oE));
|
|
6270
6270
|
};
|
|
6271
6271
|
}
|
|
6272
|
-
}),
|
|
6272
|
+
}), na = /* @__PURE__ */ Pe(cE, [["__scopeId", "data-v-463d07bb"]]), ho = Symbol(), dE = /* @__PURE__ */ ve({
|
|
6273
6273
|
__name: "CalloutForm",
|
|
6274
6274
|
props: {
|
|
6275
6275
|
index: {},
|
|
@@ -6326,7 +6326,7 @@ const U1 = ["data-testid"], H1 = ["data-testid"], G1 = ["innerHTML"], Y1 = ["dat
|
|
|
6326
6326
|
const i = t.config.callouts[t.config.callouts.length - 1];
|
|
6327
6327
|
i && (i[ho] = Lf());
|
|
6328
6328
|
}
|
|
6329
|
-
return (i, o) => (k(), H(
|
|
6329
|
+
return (i, o) => (k(), H(na, {
|
|
6330
6330
|
appearance: "tabs",
|
|
6331
6331
|
"item-label": (r) => r.name || "New callout",
|
|
6332
6332
|
name: "callouts",
|
|
@@ -6350,9 +6350,9 @@ const U1 = ["data-testid"], H1 = ["data-testid"], G1 = ["innerHTML"], Y1 = ["dat
|
|
|
6350
6350
|
priority: {}
|
|
6351
6351
|
},
|
|
6352
6352
|
setup(e) {
|
|
6353
|
-
const t = e, { default: n } = en(), i = Je(
|
|
6353
|
+
const t = e, { default: n } = en(), i = Je(Er);
|
|
6354
6354
|
if (!i)
|
|
6355
|
-
throw new Error(
|
|
6355
|
+
throw new Error(Er.toString() + "not provided");
|
|
6356
6356
|
return n && i.set(t.match, n), (o, r) => null;
|
|
6357
6357
|
}
|
|
6358
6358
|
}), zt = /* @__PURE__ */ ve({
|
|
@@ -6371,7 +6371,7 @@ const U1 = ["data-testid"], H1 = ["data-testid"], G1 = ["innerHTML"], Y1 = ["dat
|
|
|
6371
6371
|
tt(Of, r);
|
|
6372
6372
|
const a = (m) => {
|
|
6373
6373
|
var h;
|
|
6374
|
-
return
|
|
6374
|
+
return yr((h = e.config) == null ? void 0 : h.hasValue) ? e.config.hasValue(m) : !!m;
|
|
6375
6375
|
}, s = M(() => {
|
|
6376
6376
|
let m = r.getSchema().fields;
|
|
6377
6377
|
return e.fieldsOrder ? m.sort((h, _) => {
|
|
@@ -6381,7 +6381,7 @@ const U1 = ["data-testid"], H1 = ["data-testid"], G1 = ["innerHTML"], Y1 = ["dat
|
|
|
6381
6381
|
});
|
|
6382
6382
|
let l = !1;
|
|
6383
6383
|
const u = Sn({});
|
|
6384
|
-
tt(Nf, u), tt(hs, kf(o, "default", Ti)), tt(
|
|
6384
|
+
tt(Nf, u), tt(hs, kf(o, "default", Ti)), tt(Er, /* @__PURE__ */ new Map()), tt(Pf, e.config ?? {}), Ae(u, (m) => {
|
|
6385
6385
|
l && i("change", Te(m));
|
|
6386
6386
|
}, { deep: !0, immediate: !0 });
|
|
6387
6387
|
function c(m) {
|
|
@@ -6392,14 +6392,14 @@ const U1 = ["data-testid"], H1 = ["data-testid"], G1 = ["innerHTML"], Y1 = ["dat
|
|
|
6392
6392
|
function f(m) {
|
|
6393
6393
|
var _;
|
|
6394
6394
|
let h;
|
|
6395
|
-
!m || !a(Te(m)) ? h = r.getDefault() : h = Si(Te(m)),
|
|
6395
|
+
!m || !a(Te(m)) ? h = r.getDefault() : h = Si(Te(m)), yr((_ = e.config) == null ? void 0 : _.prepareFormData) ? c(e.config.prepareFormData(h)) : c(h), l = !0;
|
|
6396
6396
|
}
|
|
6397
6397
|
return vn(() => {
|
|
6398
6398
|
f(e.data);
|
|
6399
6399
|
}), Ae(() => e.data, (m) => {
|
|
6400
6400
|
f(m);
|
|
6401
6401
|
}, { deep: !0 }), t({
|
|
6402
|
-
getInnerData: () =>
|
|
6402
|
+
getInnerData: () => hr(u)
|
|
6403
6403
|
}), (m, h) => (k(), H(ct(m.tag), null, {
|
|
6404
6404
|
default: F(() => [
|
|
6405
6405
|
(k(), H(ct(p(o)[p(Ti)]))),
|
|
@@ -6519,7 +6519,7 @@ const U1 = ["data-testid"], H1 = ["data-testid"], G1 = ["innerHTML"], Y1 = ["dat
|
|
|
6519
6519
|
match: ({ path: c }) => ["cluster_nodes", "sentinel_nodes"].some((f) => c.endsWith(f))
|
|
6520
6520
|
}, {
|
|
6521
6521
|
default: F((c) => [
|
|
6522
|
-
O(
|
|
6522
|
+
O(na, Be(c, { appearance: "card" }), null, 16)
|
|
6523
6523
|
]),
|
|
6524
6524
|
_: 1
|
|
6525
6525
|
}, 8, ["match"])
|
|
@@ -7010,7 +7010,7 @@ const U1 = ["data-testid"], H1 = ["data-testid"], G1 = ["innerHTML"], Y1 = ["dat
|
|
|
7010
7010
|
formatter: n,
|
|
7011
7011
|
order: 3
|
|
7012
7012
|
}
|
|
7013
|
-
}, o = e, r = (c) => c != null, a = (c, f) => r(f) && ["password", "sentinel_password"].includes(c) ? "password" : "text", { convertKeyToTitle: s } =
|
|
7013
|
+
}, o = e, r = (c) => c != null, a = (c, f) => r(f) && ["password", "sentinel_password"].includes(c) ? "password" : "text", { convertKeyToTitle: s } = qr(), l = M(() => Object.entries(o.configFields).map(([c, f]) => {
|
|
7014
7014
|
var m, h, _, g;
|
|
7015
7015
|
return {
|
|
7016
7016
|
key: c,
|
|
@@ -7071,12 +7071,12 @@ const U1 = ["data-testid"], H1 = ["data-testid"], G1 = ["innerHTML"], Y1 = ["dat
|
|
|
7071
7071
|
},
|
|
7072
7072
|
emits: ["partialUpdated", "partialUpdateFailed", "modalClose"],
|
|
7073
7073
|
setup(e, { emit: t }) {
|
|
7074
|
-
const n = e, { t: i } = pt("en-us", mt), o = Je(
|
|
7074
|
+
const n = e, { t: i } = pt("en-us", mt), o = Je(Hr), r = t, { getMessageFromError: a } = ji(), s = M(() => {
|
|
7075
7075
|
switch (n.partialType) {
|
|
7076
|
-
case
|
|
7077
|
-
return
|
|
7078
|
-
case
|
|
7079
|
-
return
|
|
7076
|
+
case qo.REDIS_CE:
|
|
7077
|
+
return qo.REDIS_EE;
|
|
7078
|
+
case qo.REDIS_EE:
|
|
7079
|
+
return qo.REDIS_CE;
|
|
7080
7080
|
default:
|
|
7081
7081
|
return;
|
|
7082
7082
|
}
|
|
@@ -7196,7 +7196,7 @@ const U1 = ["data-testid"], H1 = ["data-testid"], G1 = ["innerHTML"], Y1 = ["dat
|
|
|
7196
7196
|
}), l = o.redisType || ((te = r == null ? void 0 : r.redisType) == null ? void 0 : te.value) || "all", u = M(() => {
|
|
7197
7197
|
var W;
|
|
7198
7198
|
return !!((W = r == null ? void 0 : r.redisType) != null && W.value);
|
|
7199
|
-
}), d = re(!1), c = re(null), f = re(!a), { getMessageFromError: m } = ji(), h = re(o.defaultRedisConfigItem), _ = re({}), g = re(), { value: y } = Ff("$.partials"), { value: b } = Kt(s), v = Je(
|
|
7199
|
+
}), d = re(!1), c = re(null), f = re(!a), { getMessageFromError: m } = ji(), h = re(o.defaultRedisConfigItem), _ = re({}), g = re(), { value: y } = Ff("$.partials"), { value: b } = Kt(s), v = Je(Hr), {
|
|
7200
7200
|
debouncedQueryChange: x,
|
|
7201
7201
|
loading: E,
|
|
7202
7202
|
error: w,
|
|
@@ -7648,7 +7648,7 @@ function no(e) {
|
|
|
7648
7648
|
function xk(e) {
|
|
7649
7649
|
return _l(`plugins.free-form.datakit.flow_editor.node_types.${e}.name`);
|
|
7650
7650
|
}
|
|
7651
|
-
const
|
|
7651
|
+
const ia = {
|
|
7652
7652
|
call: {
|
|
7653
7653
|
type: "call",
|
|
7654
7654
|
summary: no("call"),
|
|
@@ -7727,7 +7727,7 @@ const na = {
|
|
|
7727
7727
|
}
|
|
7728
7728
|
}
|
|
7729
7729
|
}
|
|
7730
|
-
},
|
|
7730
|
+
}, oa = {
|
|
7731
7731
|
request: {
|
|
7732
7732
|
type: "request",
|
|
7733
7733
|
description: Wt("request"),
|
|
@@ -7778,7 +7778,7 @@ const na = {
|
|
|
7778
7778
|
}
|
|
7779
7779
|
}
|
|
7780
7780
|
}
|
|
7781
|
-
}, qf = Object.keys(
|
|
7781
|
+
}, qf = Object.keys(oa), bl = (e) => qf.includes(e), cn = (e) => qf.includes(e), zf = (e) => cn(e.type), Sk = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
7782
7782
|
let Ak = (e = 21) => {
|
|
7783
7783
|
let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
|
|
7784
7784
|
for (; e--; )
|
|
@@ -7791,7 +7791,7 @@ function vi(e) {
|
|
|
7791
7791
|
function xo(e) {
|
|
7792
7792
|
return `${e}:${Ak()}`;
|
|
7793
7793
|
}
|
|
7794
|
-
function
|
|
7794
|
+
function Go(e) {
|
|
7795
7795
|
const [t, n] = e.split(".");
|
|
7796
7796
|
return { nodeName: t, fieldName: n };
|
|
7797
7797
|
}
|
|
@@ -7800,7 +7800,7 @@ function Uu(e) {
|
|
|
7800
7800
|
return { nodeId: t, fieldId: n };
|
|
7801
7801
|
}
|
|
7802
7802
|
function wl(e) {
|
|
7803
|
-
return cn(e) ?
|
|
7803
|
+
return cn(e) ? oa[e] : ia[e];
|
|
7804
7804
|
}
|
|
7805
7805
|
function Uf(e) {
|
|
7806
7806
|
var o, r, a, s, l, u;
|
|
@@ -7831,7 +7831,7 @@ const Tk = [
|
|
|
7831
7831
|
"response"
|
|
7832
7832
|
];
|
|
7833
7833
|
function Ik(e) {
|
|
7834
|
-
const t = e === "request" || e === "service_request" ? "request" : "response", n =
|
|
7834
|
+
const t = e === "request" || e === "service_request" ? "request" : "response", n = oa[e];
|
|
7835
7835
|
return {
|
|
7836
7836
|
name: e,
|
|
7837
7837
|
phase: t,
|
|
@@ -7980,13 +7980,13 @@ function Pk(e) {
|
|
|
7980
7980
|
function Mk(e, t) {
|
|
7981
7981
|
const n = e.name;
|
|
7982
7982
|
if (e.input) {
|
|
7983
|
-
const { nodeName: i, fieldName: o } =
|
|
7983
|
+
const { nodeName: i, fieldName: o } = Go(e.input);
|
|
7984
7984
|
i && t.push({ source: i, sourceField: o, target: n });
|
|
7985
7985
|
}
|
|
7986
7986
|
if (e.inputs)
|
|
7987
7987
|
for (const [i, o] of Object.entries(e.inputs)) {
|
|
7988
7988
|
if (!o) continue;
|
|
7989
|
-
const { nodeName: r, fieldName: a } =
|
|
7989
|
+
const { nodeName: r, fieldName: a } = Go(o);
|
|
7990
7990
|
r && t.push({
|
|
7991
7991
|
source: r,
|
|
7992
7992
|
sourceField: a,
|
|
@@ -7995,7 +7995,7 @@ function Mk(e, t) {
|
|
|
7995
7995
|
});
|
|
7996
7996
|
}
|
|
7997
7997
|
if (e.output) {
|
|
7998
|
-
const { nodeName: i, fieldName: o } =
|
|
7998
|
+
const { nodeName: i, fieldName: o } = Go(e.output);
|
|
7999
7999
|
i && t.push({ source: n, target: i, targetField: o });
|
|
8000
8000
|
}
|
|
8001
8001
|
if (e.outputs)
|
|
@@ -8003,7 +8003,7 @@ function Mk(e, t) {
|
|
|
8003
8003
|
e.outputs
|
|
8004
8004
|
)) {
|
|
8005
8005
|
if (!o) continue;
|
|
8006
|
-
const { nodeName: r, fieldName: a } =
|
|
8006
|
+
const { nodeName: r, fieldName: a } = Go(o);
|
|
8007
8007
|
r && t.push({
|
|
8008
8008
|
source: n,
|
|
8009
8009
|
sourceField: i,
|
|
@@ -8052,7 +8052,7 @@ function Fk(e) {
|
|
|
8052
8052
|
), u.targetField && n.value.some(
|
|
8053
8053
|
(g) => g.target === u.target && g.targetField === u.targetField
|
|
8054
8054
|
) && d.push("target field already connected"), !u.targetField && n.value.some((g) => g.target === u.target && !g.targetField) && d.push("target input already taken"), u.source === u.target && d.push("self-loop not allowed");
|
|
8055
|
-
const _ =
|
|
8055
|
+
const _ = ur(n.value, u);
|
|
8056
8056
|
return _s(_) && d.push("connection introduces a cycle"), d.length ? { ok: !1, errors: d } : { ok: !0 };
|
|
8057
8057
|
}
|
|
8058
8058
|
function r() {
|
|
@@ -8068,7 +8068,7 @@ function Fk(e) {
|
|
|
8068
8068
|
const c = t.value.get(d.source);
|
|
8069
8069
|
t.value.get(d.target).name === "request" && l.push(`edge "${d.id}" targets "request"`), c.name === "response" && l.push(`edge "${d.id}" sources from "response"`);
|
|
8070
8070
|
}
|
|
8071
|
-
return _s(
|
|
8071
|
+
return _s(ur(n.value)) && l.push("graph contains cycle"), l.length ? { ok: !1, errors: l } : { ok: !0 };
|
|
8072
8072
|
}
|
|
8073
8073
|
function a(l) {
|
|
8074
8074
|
return o(l).ok;
|
|
@@ -8087,7 +8087,7 @@ function Fk(e) {
|
|
|
8087
8087
|
validateGraph: r,
|
|
8088
8088
|
isValidConnection: a,
|
|
8089
8089
|
isValidVueFlowConnection: s,
|
|
8090
|
-
buildAdjacency:
|
|
8090
|
+
buildAdjacency: ur
|
|
8091
8091
|
};
|
|
8092
8092
|
}
|
|
8093
8093
|
function _s(e) {
|
|
@@ -8102,7 +8102,7 @@ function _s(e) {
|
|
|
8102
8102
|
for (const o of e.keys()) if (i(o)) return !0;
|
|
8103
8103
|
return !1;
|
|
8104
8104
|
}
|
|
8105
|
-
function
|
|
8105
|
+
function ur(e, t) {
|
|
8106
8106
|
const n = /* @__PURE__ */ new Map();
|
|
8107
8107
|
for (const i of e)
|
|
8108
8108
|
n.has(i.source) || n.set(i.source, []), n.get(i.source).push(i.target), n.has(i.target) || n.set(i.target, []);
|
|
@@ -8325,7 +8325,7 @@ const [Dk, Lk] = xh(
|
|
|
8325
8325
|
if (!$e)
|
|
8326
8326
|
continue;
|
|
8327
8327
|
const Oe = $e.type;
|
|
8328
|
-
if (!cn(Oe) || !((C =
|
|
8328
|
+
if (!cn(Oe) || !((C = oa[Oe].io) != null && C.input))
|
|
8329
8329
|
continue;
|
|
8330
8330
|
const Le = (A = Cn($e, "input", ge.targetField)) == null ? void 0 : A.name, Ue = Le ? `${$e.name}.${Le}` : $e.name, ke = (N = Cn(L, "output", ge.sourceField)) == null ? void 0 : N.name;
|
|
8331
8331
|
ke ? ne[ke] = Ue : j === void 0 && (j = Ue);
|
|
@@ -8647,8 +8647,8 @@ const El = Sh(() => {
|
|
|
8647
8647
|
], 512));
|
|
8648
8648
|
}
|
|
8649
8649
|
}), eC = /* @__PURE__ */ Pe(Qk, [["__scopeId", "data-v-1045a730"]]);
|
|
8650
|
-
function
|
|
8651
|
-
return Id() ? (
|
|
8650
|
+
function ra(e) {
|
|
8651
|
+
return Id() ? (sr(e), !0) : !1;
|
|
8652
8652
|
}
|
|
8653
8653
|
function ln(e) {
|
|
8654
8654
|
return typeof e == "function" ? e() : p(e);
|
|
@@ -8854,7 +8854,7 @@ function Xf(...e) {
|
|
|
8854
8854
|
), u = () => {
|
|
8855
8855
|
l(), a();
|
|
8856
8856
|
};
|
|
8857
|
-
return
|
|
8857
|
+
return ra(u), u;
|
|
8858
8858
|
}
|
|
8859
8859
|
function dC(e) {
|
|
8860
8860
|
return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
|
|
@@ -8917,15 +8917,15 @@ function $a(e, t, n, i = {}) {
|
|
|
8917
8917
|
}
|
|
8918
8918
|
var pC = { value: () => {
|
|
8919
8919
|
} };
|
|
8920
|
-
function
|
|
8920
|
+
function aa() {
|
|
8921
8921
|
for (var e = 0, t = arguments.length, n = {}, i; e < t; ++e) {
|
|
8922
8922
|
if (!(i = arguments[e] + "") || i in n || /[\s.]/.test(i))
|
|
8923
8923
|
throw new Error("illegal type: " + i);
|
|
8924
8924
|
n[i] = [];
|
|
8925
8925
|
}
|
|
8926
|
-
return new
|
|
8926
|
+
return new cr(n);
|
|
8927
8927
|
}
|
|
8928
|
-
function
|
|
8928
|
+
function cr(e) {
|
|
8929
8929
|
this._ = e;
|
|
8930
8930
|
}
|
|
8931
8931
|
function mC(e, t) {
|
|
@@ -8936,8 +8936,8 @@ function mC(e, t) {
|
|
|
8936
8936
|
return { type: n, name: i };
|
|
8937
8937
|
});
|
|
8938
8938
|
}
|
|
8939
|
-
|
|
8940
|
-
constructor:
|
|
8939
|
+
cr.prototype = aa.prototype = {
|
|
8940
|
+
constructor: cr,
|
|
8941
8941
|
on: function(e, t) {
|
|
8942
8942
|
var n = this._, i = mC(e + "", n), o, r = -1, a = i.length;
|
|
8943
8943
|
if (arguments.length < 2) {
|
|
@@ -8960,7 +8960,7 @@ ur.prototype = ra.prototype = {
|
|
|
8960
8960
|
var e = {}, t = this._;
|
|
8961
8961
|
for (var n in t)
|
|
8962
8962
|
e[n] = t[n].slice();
|
|
8963
|
-
return new
|
|
8963
|
+
return new cr(e);
|
|
8964
8964
|
},
|
|
8965
8965
|
call: function(e, t) {
|
|
8966
8966
|
if ((o = arguments.length - 2) > 0)
|
|
@@ -8999,7 +8999,7 @@ const Qu = {
|
|
|
8999
8999
|
xml: "http://www.w3.org/XML/1998/namespace",
|
|
9000
9000
|
xmlns: "http://www.w3.org/2000/xmlns/"
|
|
9001
9001
|
};
|
|
9002
|
-
function
|
|
9002
|
+
function sa(e) {
|
|
9003
9003
|
var t = e += "", n = t.indexOf(":");
|
|
9004
9004
|
return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), Qu.hasOwnProperty(t) ? { space: Qu[t], local: e } : e;
|
|
9005
9005
|
}
|
|
@@ -9015,7 +9015,7 @@ function vC(e) {
|
|
|
9015
9015
|
};
|
|
9016
9016
|
}
|
|
9017
9017
|
function Zf(e) {
|
|
9018
|
-
var t =
|
|
9018
|
+
var t = sa(e);
|
|
9019
9019
|
return (t.local ? vC : hC)(t);
|
|
9020
9020
|
}
|
|
9021
9021
|
function yC() {
|
|
@@ -9102,11 +9102,11 @@ function tp(e) {
|
|
|
9102
9102
|
function PC() {
|
|
9103
9103
|
return new Mt(this._enter || this._groups.map(tp), this._parents);
|
|
9104
9104
|
}
|
|
9105
|
-
function
|
|
9105
|
+
function kr(e, t) {
|
|
9106
9106
|
this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
|
|
9107
9107
|
}
|
|
9108
|
-
|
|
9109
|
-
constructor:
|
|
9108
|
+
kr.prototype = {
|
|
9109
|
+
constructor: kr,
|
|
9110
9110
|
appendChild: function(e) {
|
|
9111
9111
|
return this._parent.insertBefore(e, this._next);
|
|
9112
9112
|
},
|
|
@@ -9127,7 +9127,7 @@ function MC(e) {
|
|
|
9127
9127
|
}
|
|
9128
9128
|
function RC(e, t, n, i, o, r) {
|
|
9129
9129
|
for (var a = 0, s, l = t.length, u = r.length; a < u; ++a)
|
|
9130
|
-
(s = t[a]) ? (s.__data__ = r[a], i[a] = s) : n[a] = new
|
|
9130
|
+
(s = t[a]) ? (s.__data__ = r[a], i[a] = s) : n[a] = new kr(e, r[a]);
|
|
9131
9131
|
for (; a < l; ++a)
|
|
9132
9132
|
(s = t[a]) && (o[a] = s);
|
|
9133
9133
|
}
|
|
@@ -9136,7 +9136,7 @@ function FC(e, t, n, i, o, r, a) {
|
|
|
9136
9136
|
for (s = 0; s < d; ++s)
|
|
9137
9137
|
(l = t[s]) && (f[s] = m = a.call(l, l.__data__, s, t) + "", u.has(m) ? o[s] = l : u.set(m, l));
|
|
9138
9138
|
for (s = 0; s < c; ++s)
|
|
9139
|
-
m = a.call(e, r[s], s, r) + "", (l = u.get(m)) ? (i[s] = l, l.__data__ = r[s], u.delete(m)) : n[s] = new
|
|
9139
|
+
m = a.call(e, r[s], s, r) + "", (l = u.get(m)) ? (i[s] = l, l.__data__ = r[s], u.delete(m)) : n[s] = new kr(e, r[s]);
|
|
9140
9140
|
for (s = 0; s < d; ++s)
|
|
9141
9141
|
(l = t[s]) && u.get(f[s]) === l && (o[s] = l);
|
|
9142
9142
|
}
|
|
@@ -9263,7 +9263,7 @@ function ix(e, t) {
|
|
|
9263
9263
|
};
|
|
9264
9264
|
}
|
|
9265
9265
|
function ox(e, t) {
|
|
9266
|
-
var n =
|
|
9266
|
+
var n = sa(e);
|
|
9267
9267
|
if (arguments.length < 2) {
|
|
9268
9268
|
var i = this.node();
|
|
9269
9269
|
return n.local ? i.getAttributeNS(n.space, n.local) : i.getAttribute(n);
|
|
@@ -9611,7 +9611,7 @@ function cp(e, t) {
|
|
|
9611
9611
|
i.on("click.drag", null);
|
|
9612
9612
|
}, 0)), "onselectstart" in n ? i.on("selectstart.drag", null) : (n.style.MozUserSelect = n.__noselect, delete n.__noselect);
|
|
9613
9613
|
}
|
|
9614
|
-
const
|
|
9614
|
+
const Yo = (e) => () => e;
|
|
9615
9615
|
function ks(e, {
|
|
9616
9616
|
sourceEvent: t,
|
|
9617
9617
|
subject: n,
|
|
@@ -9655,7 +9655,7 @@ function Qx() {
|
|
|
9655
9655
|
return navigator.maxTouchPoints || "ontouchstart" in this;
|
|
9656
9656
|
}
|
|
9657
9657
|
function eS() {
|
|
9658
|
-
var e = Xx, t = Zx, n = Jx, i = Qx, o = {}, r =
|
|
9658
|
+
var e = Xx, t = Zx, n = Jx, i = Qx, o = {}, r = aa("start", "drag", "end"), a = 0, s, l, u, d, c = 0;
|
|
9659
9659
|
function f(x) {
|
|
9660
9660
|
x.on("mousedown.drag", m).filter(i).on("touchstart.drag", g).on("touchmove.drag", y, Wx).on("touchend.drag touchcancel.drag", b).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
|
|
9661
9661
|
}
|
|
@@ -9739,13 +9739,13 @@ function eS() {
|
|
|
9739
9739
|
};
|
|
9740
9740
|
}
|
|
9741
9741
|
return f.filter = function(x) {
|
|
9742
|
-
return arguments.length ? (e = typeof x == "function" ? x :
|
|
9742
|
+
return arguments.length ? (e = typeof x == "function" ? x : Yo(!!x), f) : e;
|
|
9743
9743
|
}, f.container = function(x) {
|
|
9744
|
-
return arguments.length ? (t = typeof x == "function" ? x :
|
|
9744
|
+
return arguments.length ? (t = typeof x == "function" ? x : Yo(x), f) : t;
|
|
9745
9745
|
}, f.subject = function(x) {
|
|
9746
|
-
return arguments.length ? (n = typeof x == "function" ? x :
|
|
9746
|
+
return arguments.length ? (n = typeof x == "function" ? x : Yo(x), f) : n;
|
|
9747
9747
|
}, f.touchable = function(x) {
|
|
9748
|
-
return arguments.length ? (i = typeof x == "function" ? x :
|
|
9748
|
+
return arguments.length ? (i = typeof x == "function" ? x : Yo(!!x), f) : i;
|
|
9749
9749
|
}, f.on = function() {
|
|
9750
9750
|
var x = r.on.apply(r, arguments);
|
|
9751
9751
|
return x === r ? f : x;
|
|
@@ -9764,7 +9764,7 @@ function dp(e, t) {
|
|
|
9764
9764
|
}
|
|
9765
9765
|
function Bo() {
|
|
9766
9766
|
}
|
|
9767
|
-
var Ao = 0.7,
|
|
9767
|
+
var Ao = 0.7, Cr = 1 / Ao, Ei = "\\s*([+-]?\\d+)\\s*", To = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Jt = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", tS = /^#([0-9a-f]{3,8})$/, nS = new RegExp(`^rgb\\(${Ei},${Ei},${Ei}\\)$`), iS = new RegExp(`^rgb\\(${Jt},${Jt},${Jt}\\)$`), oS = new RegExp(`^rgba\\(${Ei},${Ei},${Ei},${To}\\)$`), rS = new RegExp(`^rgba\\(${Jt},${Jt},${Jt},${To}\\)$`), aS = new RegExp(`^hsl\\(${To},${Jt},${Jt}\\)$`), sS = new RegExp(`^hsla\\(${To},${Jt},${Jt},${To}\\)$`), ec = {
|
|
9768
9768
|
aliceblue: 15792383,
|
|
9769
9769
|
antiquewhite: 16444375,
|
|
9770
9770
|
aqua: 65535,
|
|
@@ -9943,12 +9943,12 @@ function nc() {
|
|
|
9943
9943
|
}
|
|
9944
9944
|
function Qn(e) {
|
|
9945
9945
|
var t, n;
|
|
9946
|
-
return e = (e + "").trim().toLowerCase(), (t = tS.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? ic(t) : n === 3 ? new At(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ?
|
|
9946
|
+
return e = (e + "").trim().toLowerCase(), (t = tS.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? ic(t) : n === 3 ? new At(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Wo(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Wo(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = nS.exec(e)) ? new At(t[1], t[2], t[3], 1) : (t = iS.exec(e)) ? new At(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = oS.exec(e)) ? Wo(t[1], t[2], t[3], t[4]) : (t = rS.exec(e)) ? Wo(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = aS.exec(e)) ? ac(t[1], t[2] / 100, t[3] / 100, 1) : (t = sS.exec(e)) ? ac(t[1], t[2] / 100, t[3] / 100, t[4]) : ec.hasOwnProperty(e) ? ic(ec[e]) : e === "transparent" ? new At(NaN, NaN, NaN, 0) : null;
|
|
9947
9947
|
}
|
|
9948
9948
|
function ic(e) {
|
|
9949
9949
|
return new At(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
|
|
9950
9950
|
}
|
|
9951
|
-
function
|
|
9951
|
+
function Wo(e, t, n, i) {
|
|
9952
9952
|
return i <= 0 && (e = t = n = NaN), new At(e, t, n, i);
|
|
9953
9953
|
}
|
|
9954
9954
|
function cS(e) {
|
|
@@ -9962,7 +9962,7 @@ function At(e, t, n, i) {
|
|
|
9962
9962
|
}
|
|
9963
9963
|
xl(At, Cs, dp(Bo, {
|
|
9964
9964
|
brighter(e) {
|
|
9965
|
-
return e = e == null ?
|
|
9965
|
+
return e = e == null ? Cr : Math.pow(Cr, e), new At(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
9966
9966
|
},
|
|
9967
9967
|
darker(e) {
|
|
9968
9968
|
return e = e == null ? Ao : Math.pow(Ao, e), new At(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
@@ -9971,7 +9971,7 @@ xl(At, Cs, dp(Bo, {
|
|
|
9971
9971
|
return this;
|
|
9972
9972
|
},
|
|
9973
9973
|
clamp() {
|
|
9974
|
-
return new At(zn(this.r), zn(this.g), zn(this.b),
|
|
9974
|
+
return new At(zn(this.r), zn(this.g), zn(this.b), xr(this.opacity));
|
|
9975
9975
|
},
|
|
9976
9976
|
displayable() {
|
|
9977
9977
|
return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
|
|
@@ -9990,10 +9990,10 @@ function dS() {
|
|
|
9990
9990
|
return `#${Vn(this.r)}${Vn(this.g)}${Vn(this.b)}${Vn((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
|
|
9991
9991
|
}
|
|
9992
9992
|
function rc() {
|
|
9993
|
-
const e =
|
|
9993
|
+
const e = xr(this.opacity);
|
|
9994
9994
|
return `${e === 1 ? "rgb(" : "rgba("}${zn(this.r)}, ${zn(this.g)}, ${zn(this.b)}${e === 1 ? ")" : `, ${e})`}`;
|
|
9995
9995
|
}
|
|
9996
|
-
function
|
|
9996
|
+
function xr(e) {
|
|
9997
9997
|
return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
|
|
9998
9998
|
}
|
|
9999
9999
|
function zn(e) {
|
|
@@ -10024,7 +10024,7 @@ function Vt(e, t, n, i) {
|
|
|
10024
10024
|
}
|
|
10025
10025
|
xl(Vt, fS, dp(Bo, {
|
|
10026
10026
|
brighter(e) {
|
|
10027
|
-
return e = e == null ?
|
|
10027
|
+
return e = e == null ? Cr : Math.pow(Cr, e), new Vt(this.h, this.s, this.l * e, this.opacity);
|
|
10028
10028
|
},
|
|
10029
10029
|
darker(e) {
|
|
10030
10030
|
return e = e == null ? Ao : Math.pow(Ao, e), new Vt(this.h, this.s, this.l * e, this.opacity);
|
|
@@ -10039,20 +10039,20 @@ xl(Vt, fS, dp(Bo, {
|
|
|
10039
10039
|
);
|
|
10040
10040
|
},
|
|
10041
10041
|
clamp() {
|
|
10042
|
-
return new Vt(sc(this.h),
|
|
10042
|
+
return new Vt(sc(this.h), Xo(this.s), Xo(this.l), xr(this.opacity));
|
|
10043
10043
|
},
|
|
10044
10044
|
displayable() {
|
|
10045
10045
|
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
|
|
10046
10046
|
},
|
|
10047
10047
|
formatHsl() {
|
|
10048
|
-
const e =
|
|
10049
|
-
return `${e === 1 ? "hsl(" : "hsla("}${sc(this.h)}, ${
|
|
10048
|
+
const e = xr(this.opacity);
|
|
10049
|
+
return `${e === 1 ? "hsl(" : "hsla("}${sc(this.h)}, ${Xo(this.s) * 100}%, ${Xo(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
|
|
10050
10050
|
}
|
|
10051
10051
|
}));
|
|
10052
10052
|
function sc(e) {
|
|
10053
10053
|
return e = (e || 0) % 360, e < 0 ? e + 360 : e;
|
|
10054
10054
|
}
|
|
10055
|
-
function
|
|
10055
|
+
function Xo(e) {
|
|
10056
10056
|
return Math.max(0, Math.min(1, e || 0));
|
|
10057
10057
|
}
|
|
10058
10058
|
function Oa(e, t, n) {
|
|
@@ -10078,7 +10078,7 @@ function pp(e, t) {
|
|
|
10078
10078
|
var n = t - e;
|
|
10079
10079
|
return n ? pS(e, n) : Sl(isNaN(e) ? t : e);
|
|
10080
10080
|
}
|
|
10081
|
-
const
|
|
10081
|
+
const Sr = function e(t) {
|
|
10082
10082
|
var n = gS(t);
|
|
10083
10083
|
function i(o, r) {
|
|
10084
10084
|
var a = n((o = Cs(o)).r, (r = Cs(r)).r), s = n(o.g, r.g), l = n(o.b, r.b), u = pp(o.opacity, r.opacity);
|
|
@@ -10157,7 +10157,7 @@ function mp(e, t) {
|
|
|
10157
10157
|
}
|
|
10158
10158
|
function vo(e, t) {
|
|
10159
10159
|
var n = typeof t, i;
|
|
10160
|
-
return t == null || n === "boolean" ? Sl(t) : (n === "number" ? Yt : n === "string" ? (i = Qn(t)) ? (t = i,
|
|
10160
|
+
return t == null || n === "boolean" ? Sl(t) : (n === "number" ? Yt : n === "string" ? (i = Qn(t)) ? (t = i, Sr) : mp : t instanceof Qn ? Sr : t instanceof Date ? _S : vS(t) ? hS : Array.isArray(t) ? yS : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? bS : Yt)(e, t);
|
|
10161
10161
|
}
|
|
10162
10162
|
var lc = 180 / Math.PI, Ss = {
|
|
10163
10163
|
translateX: 0,
|
|
@@ -10178,13 +10178,13 @@ function gp(e, t, n, i, o, r) {
|
|
|
10178
10178
|
scaleY: s
|
|
10179
10179
|
};
|
|
10180
10180
|
}
|
|
10181
|
-
var
|
|
10181
|
+
var Zo;
|
|
10182
10182
|
function kS(e) {
|
|
10183
10183
|
const t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + "");
|
|
10184
10184
|
return t.isIdentity ? Ss : gp(t.a, t.b, t.c, t.d, t.e, t.f);
|
|
10185
10185
|
}
|
|
10186
10186
|
function CS(e) {
|
|
10187
|
-
return e == null || (
|
|
10187
|
+
return e == null || (Zo || (Zo = document.createElementNS("http://www.w3.org/2000/svg", "g")), Zo.setAttribute("transform", e), !(e = Zo.transform.baseVal.consolidate())) ? Ss : (e = e.matrix, gp(e.a, e.b, e.c, e.d, e.e, e.f));
|
|
10188
10188
|
}
|
|
10189
10189
|
function hp(e, t, n, i) {
|
|
10190
10190
|
function o(u) {
|
|
@@ -10227,7 +10227,7 @@ function TS(e) {
|
|
|
10227
10227
|
function IS(e) {
|
|
10228
10228
|
return ((e = Math.exp(2 * e)) - 1) / (e + 1);
|
|
10229
10229
|
}
|
|
10230
|
-
const
|
|
10230
|
+
const dr = function e(t, n, i) {
|
|
10231
10231
|
function o(r, a) {
|
|
10232
10232
|
var s = r[0], l = r[1], u = r[2], d = a[0], c = a[1], f = a[2], m = d - s, h = c - l, _ = m * m + h * h, g, y;
|
|
10233
10233
|
if (_ < AS)
|
|
@@ -10256,41 +10256,41 @@ const cr = function e(t, n, i) {
|
|
|
10256
10256
|
return e(a, s, l);
|
|
10257
10257
|
}, o;
|
|
10258
10258
|
}(Math.SQRT2, 2, 4);
|
|
10259
|
-
var Mi = 0, ao = 0, io = 0, vp = 1e3,
|
|
10259
|
+
var Mi = 0, ao = 0, io = 0, vp = 1e3, Ar, so, Tr = 0, ei = 0, la = 0, Io = typeof performance == "object" && performance.now ? performance : Date, yp = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
|
|
10260
10260
|
setTimeout(e, 17);
|
|
10261
10261
|
};
|
|
10262
10262
|
function Al() {
|
|
10263
|
-
return ei || (yp($S), ei = Io.now() +
|
|
10263
|
+
return ei || (yp($S), ei = Io.now() + la);
|
|
10264
10264
|
}
|
|
10265
10265
|
function $S() {
|
|
10266
10266
|
ei = 0;
|
|
10267
10267
|
}
|
|
10268
|
-
function
|
|
10268
|
+
function Ir() {
|
|
10269
10269
|
this._call = this._time = this._next = null;
|
|
10270
10270
|
}
|
|
10271
|
-
|
|
10272
|
-
constructor:
|
|
10271
|
+
Ir.prototype = _p.prototype = {
|
|
10272
|
+
constructor: Ir,
|
|
10273
10273
|
restart: function(e, t, n) {
|
|
10274
10274
|
if (typeof e != "function")
|
|
10275
10275
|
throw new TypeError("callback is not a function");
|
|
10276
|
-
n = (n == null ? Al() : +n) + (t == null ? 0 : +t), !this._next && so !== this && (so ? so._next = this :
|
|
10276
|
+
n = (n == null ? Al() : +n) + (t == null ? 0 : +t), !this._next && so !== this && (so ? so._next = this : Ar = this, so = this), this._call = e, this._time = n, As();
|
|
10277
10277
|
},
|
|
10278
10278
|
stop: function() {
|
|
10279
10279
|
this._call && (this._call = null, this._time = 1 / 0, As());
|
|
10280
10280
|
}
|
|
10281
10281
|
};
|
|
10282
10282
|
function _p(e, t, n) {
|
|
10283
|
-
var i = new
|
|
10283
|
+
var i = new Ir();
|
|
10284
10284
|
return i.restart(e, t, n), i;
|
|
10285
10285
|
}
|
|
10286
10286
|
function NS() {
|
|
10287
10287
|
Al(), ++Mi;
|
|
10288
|
-
for (var e =
|
|
10288
|
+
for (var e = Ar, t; e; )
|
|
10289
10289
|
(t = ei - e._time) >= 0 && e._call.call(void 0, t), e = e._next;
|
|
10290
10290
|
--Mi;
|
|
10291
10291
|
}
|
|
10292
10292
|
function cc() {
|
|
10293
|
-
ei = (
|
|
10293
|
+
ei = (Tr = Io.now()) + la, Mi = ao = 0;
|
|
10294
10294
|
try {
|
|
10295
10295
|
NS();
|
|
10296
10296
|
} finally {
|
|
@@ -10298,29 +10298,29 @@ function cc() {
|
|
|
10298
10298
|
}
|
|
10299
10299
|
}
|
|
10300
10300
|
function OS() {
|
|
10301
|
-
var e = Io.now(), t = e -
|
|
10302
|
-
t > vp && (
|
|
10301
|
+
var e = Io.now(), t = e - Tr;
|
|
10302
|
+
t > vp && (la -= t, Tr = e);
|
|
10303
10303
|
}
|
|
10304
10304
|
function PS() {
|
|
10305
|
-
for (var e, t =
|
|
10306
|
-
t._call ? (i > t._time && (i = t._time), e = t, t = t._next) : (n = t._next, t._next = null, t = e ? e._next = n :
|
|
10305
|
+
for (var e, t = Ar, n, i = 1 / 0; t; )
|
|
10306
|
+
t._call ? (i > t._time && (i = t._time), e = t, t = t._next) : (n = t._next, t._next = null, t = e ? e._next = n : Ar = n);
|
|
10307
10307
|
so = e, As(i);
|
|
10308
10308
|
}
|
|
10309
10309
|
function As(e) {
|
|
10310
10310
|
if (!Mi) {
|
|
10311
10311
|
ao && (ao = clearTimeout(ao));
|
|
10312
10312
|
var t = e - ei;
|
|
10313
|
-
t > 24 ? (e < 1 / 0 && (ao = setTimeout(cc, e - Io.now() -
|
|
10313
|
+
t > 24 ? (e < 1 / 0 && (ao = setTimeout(cc, e - Io.now() - la)), io && (io = clearInterval(io))) : (io || (Tr = Io.now(), io = setInterval(OS, vp)), Mi = 1, yp(cc));
|
|
10314
10314
|
}
|
|
10315
10315
|
}
|
|
10316
10316
|
function dc(e, t, n) {
|
|
10317
|
-
var i = new
|
|
10317
|
+
var i = new Ir();
|
|
10318
10318
|
return t = t == null ? 0 : +t, i.restart((o) => {
|
|
10319
10319
|
i.stop(), e(o + t);
|
|
10320
10320
|
}, t, n), i;
|
|
10321
10321
|
}
|
|
10322
|
-
var MS =
|
|
10323
|
-
function
|
|
10322
|
+
var MS = aa("start", "end", "cancel", "interrupt"), RS = [], bp = 0, fc = 1, Ts = 2, fr = 3, pc = 4, Is = 5, pr = 6;
|
|
10323
|
+
function ua(e, t, n, i, o, r) {
|
|
10324
10324
|
var a = e.__transition;
|
|
10325
10325
|
if (!a)
|
|
10326
10326
|
e.__transition = {};
|
|
@@ -10350,7 +10350,7 @@ function Tl(e, t) {
|
|
|
10350
10350
|
}
|
|
10351
10351
|
function rn(e, t) {
|
|
10352
10352
|
var n = Ut(e, t);
|
|
10353
|
-
if (n.state >
|
|
10353
|
+
if (n.state > fr)
|
|
10354
10354
|
throw new Error("too late; already running");
|
|
10355
10355
|
return n;
|
|
10356
10356
|
}
|
|
@@ -10372,14 +10372,14 @@ function FS(e, t, n) {
|
|
|
10372
10372
|
return l();
|
|
10373
10373
|
for (d in i)
|
|
10374
10374
|
if (m = i[d], m.name === n.name) {
|
|
10375
|
-
if (m.state ===
|
|
10375
|
+
if (m.state === fr)
|
|
10376
10376
|
return dc(a);
|
|
10377
|
-
m.state === pc ? (m.state =
|
|
10377
|
+
m.state === pc ? (m.state = pr, m.timer.stop(), m.on.call("interrupt", e, e.__data__, m.index, m.group), delete i[d]) : +d < t && (m.state = pr, m.timer.stop(), m.on.call("cancel", e, e.__data__, m.index, m.group), delete i[d]);
|
|
10378
10378
|
}
|
|
10379
10379
|
if (dc(function() {
|
|
10380
|
-
n.state ===
|
|
10380
|
+
n.state === fr && (n.state = pc, n.timer.restart(s, n.delay, n.time), s(u));
|
|
10381
10381
|
}), n.state = Ts, n.on.call("start", e, e.__data__, n.index, n.group), n.state === Ts) {
|
|
10382
|
-
for (n.state =
|
|
10382
|
+
for (n.state = fr, o = new Array(f = n.tween.length), d = 0, c = -1; d < f; ++d)
|
|
10383
10383
|
(m = n.tween[d].value.call(e, e.__data__, n.index, n.group)) && (o[++c] = m);
|
|
10384
10384
|
o.length = c + 1;
|
|
10385
10385
|
}
|
|
@@ -10390,13 +10390,13 @@ function FS(e, t, n) {
|
|
|
10390
10390
|
n.state === Is && (n.on.call("end", e, e.__data__, n.index, n.group), l());
|
|
10391
10391
|
}
|
|
10392
10392
|
function l() {
|
|
10393
|
-
n.state =
|
|
10393
|
+
n.state = pr, n.timer.stop(), delete i[t];
|
|
10394
10394
|
for (var u in i)
|
|
10395
10395
|
return;
|
|
10396
10396
|
delete e.__transition;
|
|
10397
10397
|
}
|
|
10398
10398
|
}
|
|
10399
|
-
function
|
|
10399
|
+
function mr(e, t) {
|
|
10400
10400
|
var n = e.__transition, i, o, r = !0, a;
|
|
10401
10401
|
if (n) {
|
|
10402
10402
|
t = t == null ? null : t + "";
|
|
@@ -10405,14 +10405,14 @@ function pr(e, t) {
|
|
|
10405
10405
|
r = !1;
|
|
10406
10406
|
continue;
|
|
10407
10407
|
}
|
|
10408
|
-
o = i.state > Ts && i.state < Is, i.state =
|
|
10408
|
+
o = i.state > Ts && i.state < Is, i.state = pr, i.timer.stop(), i.on.call(o ? "interrupt" : "cancel", e, e.__data__, i.index, i.group), delete n[a];
|
|
10409
10409
|
}
|
|
10410
10410
|
r && delete e.__transition;
|
|
10411
10411
|
}
|
|
10412
10412
|
}
|
|
10413
10413
|
function DS(e) {
|
|
10414
10414
|
return this.each(function() {
|
|
10415
|
-
|
|
10415
|
+
mr(this, e);
|
|
10416
10416
|
});
|
|
10417
10417
|
}
|
|
10418
10418
|
function LS(e, t) {
|
|
@@ -10469,7 +10469,7 @@ function Il(e, t, n) {
|
|
|
10469
10469
|
}
|
|
10470
10470
|
function wp(e, t) {
|
|
10471
10471
|
var n;
|
|
10472
|
-
return (typeof t == "number" ? Yt : t instanceof Qn ?
|
|
10472
|
+
return (typeof t == "number" ? Yt : t instanceof Qn ? Sr : (n = Qn(t)) ? (t = n, Sr) : mp)(e, t);
|
|
10473
10473
|
}
|
|
10474
10474
|
function VS(e) {
|
|
10475
10475
|
return function() {
|
|
@@ -10510,7 +10510,7 @@ function HS(e, t, n) {
|
|
|
10510
10510
|
};
|
|
10511
10511
|
}
|
|
10512
10512
|
function GS(e, t) {
|
|
10513
|
-
var n =
|
|
10513
|
+
var n = sa(e), i = n === "transform" ? SS : wp;
|
|
10514
10514
|
return this.attrTween(e, typeof t == "function" ? (n.local ? HS : US)(n, i, Il(this, "attr." + e, t)) : t == null ? (n.local ? jS : VS)(n) : (n.local ? zS : qS)(n, i, t));
|
|
10515
10515
|
}
|
|
10516
10516
|
function YS(e, t) {
|
|
@@ -10547,7 +10547,7 @@ function JS(e, t) {
|
|
|
10547
10547
|
return this.tween(n, null);
|
|
10548
10548
|
if (typeof t != "function")
|
|
10549
10549
|
throw new Error();
|
|
10550
|
-
var i =
|
|
10550
|
+
var i = sa(e);
|
|
10551
10551
|
return this.tween(n, (i.local ? XS : ZS)(i, t));
|
|
10552
10552
|
}
|
|
10553
10553
|
function QS(e, t) {
|
|
@@ -10653,7 +10653,7 @@ function hA(e) {
|
|
|
10653
10653
|
typeof e != "function" && (e = kl(e));
|
|
10654
10654
|
for (var i = this._groups, o = i.length, r = new Array(o), a = 0; a < o; ++a)
|
|
10655
10655
|
for (var s = i[a], l = s.length, u = r[a] = new Array(l), d, c, f = 0; f < l; ++f)
|
|
10656
|
-
(d = s[f]) && (c = e.call(d, d.__data__, f, s)) && ("__data__" in d && (c.__data__ = d.__data__), u[f] = c,
|
|
10656
|
+
(d = s[f]) && (c = e.call(d, d.__data__, f, s)) && ("__data__" in d && (c.__data__ = d.__data__), u[f] = c, ua(u[f], t, n, f, u, Ut(d, n)));
|
|
10657
10657
|
return new gn(r, this._parents, t, n);
|
|
10658
10658
|
}
|
|
10659
10659
|
function vA(e) {
|
|
@@ -10663,7 +10663,7 @@ function vA(e) {
|
|
|
10663
10663
|
for (var l = i[s], u = l.length, d, c = 0; c < u; ++c)
|
|
10664
10664
|
if (d = l[c]) {
|
|
10665
10665
|
for (var f = e.call(d, d.__data__, c, l), m, h = Ut(d, n), _ = 0, g = f.length; _ < g; ++_)
|
|
10666
|
-
(m = f[_]) &&
|
|
10666
|
+
(m = f[_]) && ua(m, t, n, _, f, h);
|
|
10667
10667
|
r.push(f), a.push(d);
|
|
10668
10668
|
}
|
|
10669
10669
|
return new gn(r, a, t, n);
|
|
@@ -10774,7 +10774,7 @@ function MA() {
|
|
|
10774
10774
|
for (var a = i[r], s = a.length, l, u = 0; u < s; ++u)
|
|
10775
10775
|
if (l = a[u]) {
|
|
10776
10776
|
var d = Ut(l, t);
|
|
10777
|
-
|
|
10777
|
+
ua(l, e, n, u, a, {
|
|
10778
10778
|
time: d.time + d.delay + d.duration,
|
|
10779
10779
|
delay: 0,
|
|
10780
10780
|
duration: d.duration,
|
|
@@ -10856,12 +10856,12 @@ function BA(e) {
|
|
|
10856
10856
|
e instanceof gn ? (t = e._id, e = e._name) : (t = kp(), (n = LA).time = Al(), e = e == null ? null : e + "");
|
|
10857
10857
|
for (var i = this._groups, o = i.length, r = 0; r < o; ++r)
|
|
10858
10858
|
for (var a = i[r], s = a.length, l, u = 0; u < s; ++u)
|
|
10859
|
-
(l = a[u]) &&
|
|
10859
|
+
(l = a[u]) && ua(l, e, t, u, a, n || KA(l, t));
|
|
10860
10860
|
return new gn(i, this._parents, e, t);
|
|
10861
10861
|
}
|
|
10862
10862
|
Ko.prototype.interrupt = DS;
|
|
10863
10863
|
Ko.prototype.transition = BA;
|
|
10864
|
-
const
|
|
10864
|
+
const Jo = (e) => () => e;
|
|
10865
10865
|
function VA(e, {
|
|
10866
10866
|
sourceEvent: t,
|
|
10867
10867
|
target: n,
|
|
@@ -10947,7 +10947,7 @@ function HA(e, t, n) {
|
|
|
10947
10947
|
);
|
|
10948
10948
|
}
|
|
10949
10949
|
function GA() {
|
|
10950
|
-
var e = jA, t = qA, n = HA, i = zA, o = UA, r = [0, 1 / 0], a = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], s = 250, l =
|
|
10950
|
+
var e = jA, t = qA, n = HA, i = zA, o = UA, r = [0, 1 / 0], a = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], s = 250, l = dr, u = aa("start", "zoom", "end"), d, c, f, m = 500, h = 150, _ = 0, g = 10;
|
|
10951
10951
|
function y(T) {
|
|
10952
10952
|
T.property("__zoom", mc).on("wheel.zoom", $, { passive: !1 }).on("mousedown.zoom", P).on("dblclick.zoom", ee).filter(o).on("touchstart.zoom", Y).on("touchmove.zoom", I).on("touchend.zoom touchcancel.zoom", Z).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
|
|
10953
10953
|
}
|
|
@@ -11053,7 +11053,7 @@ function GA() {
|
|
|
11053
11053
|
else {
|
|
11054
11054
|
if (te.k === W)
|
|
11055
11055
|
return;
|
|
11056
|
-
R.mouse = [U, te.invert(U)],
|
|
11056
|
+
R.mouse = [U, te.invert(U)], mr(this), R.start();
|
|
11057
11057
|
}
|
|
11058
11058
|
oo(T), R.wheel = setTimeout(K, h), R.zoom("mouse", n(v(b(te, W), R.mouse[0], R.mouse[1]), R.extent, a));
|
|
11059
11059
|
function K() {
|
|
@@ -11064,7 +11064,7 @@ function GA() {
|
|
|
11064
11064
|
if (f || !e.apply(this, arguments))
|
|
11065
11065
|
return;
|
|
11066
11066
|
var R = T.currentTarget, te = w(this, B, !0).event(T), W = Bt(T.view).on("mousemove.zoom", ae, !0).on("mouseup.zoom", fe, !0), U = Gt(T, R), K = T.clientX, V = T.clientY;
|
|
11067
|
-
up(T.view), Ma(T), te.mouse = [U, this.__zoom.invert(U)],
|
|
11067
|
+
up(T.view), Ma(T), te.mouse = [U, this.__zoom.invert(U)], mr(this), te.start();
|
|
11068
11068
|
function ae(Q) {
|
|
11069
11069
|
if (oo(Q), !te.moved) {
|
|
11070
11070
|
var de = Q.clientX - K, G = Q.clientY - V;
|
|
@@ -11089,7 +11089,7 @@ function GA() {
|
|
|
11089
11089
|
V = R[K], ae = Gt(V, this), ae = [ae, this.__zoom.invert(ae), V.identifier], W.touch0 ? !W.touch1 && W.touch0[2] !== ae[2] && (W.touch1 = ae, W.taps = 0) : (W.touch0 = ae, U = !0, W.taps = 1 + !!d);
|
|
11090
11090
|
d && (d = clearTimeout(d)), U && (W.taps < 2 && (c = ae[0], d = setTimeout(function() {
|
|
11091
11091
|
d = null;
|
|
11092
|
-
}, m)),
|
|
11092
|
+
}, m)), mr(this), W.start());
|
|
11093
11093
|
}
|
|
11094
11094
|
}
|
|
11095
11095
|
function I(T, ...B) {
|
|
@@ -11123,13 +11123,13 @@ function GA() {
|
|
|
11123
11123
|
}
|
|
11124
11124
|
}
|
|
11125
11125
|
return y.wheelDelta = function(T) {
|
|
11126
|
-
return arguments.length ? (i = typeof T == "function" ? T :
|
|
11126
|
+
return arguments.length ? (i = typeof T == "function" ? T : Jo(+T), y) : i;
|
|
11127
11127
|
}, y.filter = function(T) {
|
|
11128
|
-
return arguments.length ? (e = typeof T == "function" ? T :
|
|
11128
|
+
return arguments.length ? (e = typeof T == "function" ? T : Jo(!!T), y) : e;
|
|
11129
11129
|
}, y.touchable = function(T) {
|
|
11130
|
-
return arguments.length ? (o = typeof T == "function" ? T :
|
|
11130
|
+
return arguments.length ? (o = typeof T == "function" ? T : Jo(!!T), y) : o;
|
|
11131
11131
|
}, y.extent = function(T) {
|
|
11132
|
-
return arguments.length ? (t = typeof T == "function" ? T :
|
|
11132
|
+
return arguments.length ? (t = typeof T == "function" ? T : Jo([[+T[0][0], +T[0][1]], [+T[1][0], +T[1][1]]]), y) : t;
|
|
11133
11133
|
}, y.scaleExtent = function(T) {
|
|
11134
11134
|
return arguments.length ? (r[0] = +T[0], r[1] = +T[1], y) : [r[0], r[1]];
|
|
11135
11135
|
}, y.translateExtent = function(T) {
|
|
@@ -11149,7 +11149,7 @@ function GA() {
|
|
|
11149
11149
|
return arguments.length ? (g = +T, y) : g;
|
|
11150
11150
|
}, y;
|
|
11151
11151
|
}
|
|
11152
|
-
var Se = /* @__PURE__ */ ((e) => (e.Left = "left", e.Top = "top", e.Right = "right", e.Bottom = "bottom", e))(Se || {}), $l = /* @__PURE__ */ ((e) => (e.Partial = "partial", e.Full = "full", e))($l || {}), Kn = /* @__PURE__ */ ((e) => (e.Bezier = "default", e.SimpleBezier = "simple-bezier", e.Straight = "straight", e.Step = "step", e.SmoothStep = "smoothstep", e))(Kn || {}), In = /* @__PURE__ */ ((e) => (e.Strict = "strict", e.Loose = "loose", e))(In || {}),
|
|
11152
|
+
var Se = /* @__PURE__ */ ((e) => (e.Left = "left", e.Top = "top", e.Right = "right", e.Bottom = "bottom", e))(Se || {}), $l = /* @__PURE__ */ ((e) => (e.Partial = "partial", e.Full = "full", e))($l || {}), Kn = /* @__PURE__ */ ((e) => (e.Bezier = "default", e.SimpleBezier = "simple-bezier", e.Straight = "straight", e.Step = "step", e.SmoothStep = "smoothstep", e))(Kn || {}), In = /* @__PURE__ */ ((e) => (e.Strict = "strict", e.Loose = "loose", e))(In || {}), $r = /* @__PURE__ */ ((e) => (e.Arrow = "arrow", e.ArrowClosed = "arrowclosed", e))($r || {}), yo = /* @__PURE__ */ ((e) => (e.Free = "free", e.Vertical = "vertical", e.Horizontal = "horizontal", e))(yo || {}), Cp = /* @__PURE__ */ ((e) => (e.TopLeft = "top-left", e.TopCenter = "top-center", e.TopRight = "top-right", e.BottomLeft = "bottom-left", e.BottomCenter = "bottom-center", e.BottomRight = "bottom-right", e))(Cp || {});
|
|
11153
11153
|
const YA = ["INPUT", "SELECT", "TEXTAREA"], WA = typeof document < "u" ? document : null;
|
|
11154
11154
|
function $s(e) {
|
|
11155
11155
|
var t, n;
|
|
@@ -11235,18 +11235,18 @@ const xp = "vue-flow__node-desc", Sp = "vue-flow__edge-desc", QA = "vue-flow__ar
|
|
|
11235
11235
|
ArrowLeft: { x: -1, y: 0 },
|
|
11236
11236
|
ArrowRight: { x: 1, y: 0 }
|
|
11237
11237
|
};
|
|
11238
|
-
function
|
|
11238
|
+
function Nr(e) {
|
|
11239
11239
|
return {
|
|
11240
11240
|
...e.computedPosition || { x: 0, y: 0 },
|
|
11241
11241
|
width: e.dimensions.width || 0,
|
|
11242
11242
|
height: e.dimensions.height || 0
|
|
11243
11243
|
};
|
|
11244
11244
|
}
|
|
11245
|
-
function
|
|
11245
|
+
function Or(e, t) {
|
|
11246
11246
|
const n = Math.max(0, Math.min(e.x + e.width, t.x + t.width) - Math.max(e.x, t.x)), i = Math.max(0, Math.min(e.y + e.height, t.y + t.height) - Math.max(e.y, t.y));
|
|
11247
11247
|
return Math.ceil(n * i);
|
|
11248
11248
|
}
|
|
11249
|
-
function
|
|
11249
|
+
function ca(e) {
|
|
11250
11250
|
return {
|
|
11251
11251
|
width: e.offsetWidth,
|
|
11252
11252
|
height: e.offsetHeight
|
|
@@ -11274,11 +11274,11 @@ function Un(e) {
|
|
|
11274
11274
|
function lo(e) {
|
|
11275
11275
|
return Un(e) && "computedPosition" in e;
|
|
11276
11276
|
}
|
|
11277
|
-
function
|
|
11277
|
+
function Qo(e) {
|
|
11278
11278
|
return !Number.isNaN(e) && Number.isFinite(e);
|
|
11279
11279
|
}
|
|
11280
11280
|
function eT(e) {
|
|
11281
|
-
return
|
|
11281
|
+
return Qo(e.width) && Qo(e.height) && Qo(e.x) && Qo(e.y);
|
|
11282
11282
|
}
|
|
11283
11283
|
function tT(e, t, n) {
|
|
11284
11284
|
const i = {
|
|
@@ -11376,7 +11376,7 @@ function $o({ x: e, y: t }, { x: n, y: i, zoom: o }, r = !1, a = [1, 1]) {
|
|
|
11376
11376
|
x: (e - n) / o,
|
|
11377
11377
|
y: (t - i) / o
|
|
11378
11378
|
};
|
|
11379
|
-
return r ?
|
|
11379
|
+
return r ? da(s, a) : s;
|
|
11380
11380
|
}
|
|
11381
11381
|
function rT(e, t) {
|
|
11382
11382
|
return {
|
|
@@ -11431,7 +11431,7 @@ function Mp(e, t, n = { x: 0, y: 0, zoom: 1 }, i = !1, o = !1) {
|
|
|
11431
11431
|
const { dimensions: l, selectable: u = !0, hidden: d = !1 } = s, c = l.width ?? s.width ?? null, f = l.height ?? s.height ?? null;
|
|
11432
11432
|
if (o && !u || d)
|
|
11433
11433
|
continue;
|
|
11434
|
-
const m =
|
|
11434
|
+
const m = Or(r, Nr(s)), h = c === null || f === null, _ = i && m > 0, g = (c ?? 0) * (f ?? 0);
|
|
11435
11435
|
(h || _ || m >= g || s.dragging) && a.push(s);
|
|
11436
11436
|
}
|
|
11437
11437
|
return a;
|
|
@@ -11610,7 +11610,7 @@ function xe(e) {
|
|
|
11610
11610
|
const l = () => {
|
|
11611
11611
|
o(s), e && n && t.add(e);
|
|
11612
11612
|
};
|
|
11613
|
-
return
|
|
11613
|
+
return ra(l), {
|
|
11614
11614
|
off: l
|
|
11615
11615
|
};
|
|
11616
11616
|
},
|
|
@@ -11839,7 +11839,7 @@ function Xt(e, t) {
|
|
|
11839
11839
|
y: o - ((t == null ? void 0 : t.top) ?? 0)
|
|
11840
11840
|
};
|
|
11841
11841
|
}
|
|
11842
|
-
const
|
|
11842
|
+
const Pr = () => {
|
|
11843
11843
|
var e;
|
|
11844
11844
|
return typeof navigator < "u" && ((e = navigator == null ? void 0 : navigator.userAgent) == null ? void 0 : e.indexOf("Mac")) >= 0;
|
|
11845
11845
|
};
|
|
@@ -11850,7 +11850,7 @@ function gT(e) {
|
|
|
11850
11850
|
height: ((n = e.dimensions) == null ? void 0 : n.height) ?? e.height ?? 0
|
|
11851
11851
|
};
|
|
11852
11852
|
}
|
|
11853
|
-
function
|
|
11853
|
+
function da(e, t = [1, 1]) {
|
|
11854
11854
|
return {
|
|
11855
11855
|
x: t[0] * Math.round(e.x / t[0]),
|
|
11856
11856
|
y: t[1] * Math.round(e.y / t[1])
|
|
@@ -11868,7 +11868,7 @@ function vT(e, t, n) {
|
|
|
11868
11868
|
height: n * 2
|
|
11869
11869
|
};
|
|
11870
11870
|
for (const r of t.values())
|
|
11871
|
-
|
|
11871
|
+
Or(o, Nr(r)) > 0 && i.push(r);
|
|
11872
11872
|
return i;
|
|
11873
11873
|
}
|
|
11874
11874
|
const yT = 250;
|
|
@@ -11956,7 +11956,7 @@ const Os = {
|
|
|
11956
11956
|
[Se.Top]: Se.Bottom,
|
|
11957
11957
|
[Se.Bottom]: Se.Top
|
|
11958
11958
|
}, kT = ["production", "prod"];
|
|
11959
|
-
function
|
|
11959
|
+
function fa(e, ...t) {
|
|
11960
11960
|
Bp() && console.warn(`[Vue Flow]: ${e}`, ...t);
|
|
11961
11961
|
}
|
|
11962
11962
|
function Bp() {
|
|
@@ -11973,7 +11973,7 @@ function Ac(e, t, n, i, o) {
|
|
|
11973
11973
|
position: a.getAttribute("data-handlepos"),
|
|
11974
11974
|
x: (s.left - n.left) / i,
|
|
11975
11975
|
y: (s.top - n.top) / i,
|
|
11976
|
-
...
|
|
11976
|
+
...ca(a)
|
|
11977
11977
|
};
|
|
11978
11978
|
}) : null;
|
|
11979
11979
|
}
|
|
@@ -12091,7 +12091,7 @@ function Ka(e, t, n, i, o, r, a, s) {
|
|
|
12091
12091
|
}
|
|
12092
12092
|
return l;
|
|
12093
12093
|
}
|
|
12094
|
-
const Nc = Symbol("vueFlow"), Vp = Symbol("nodeId"), jp = Symbol("nodeRef"), ST = Symbol("edgeId"), AT = Symbol("edgeRef"),
|
|
12094
|
+
const Nc = Symbol("vueFlow"), Vp = Symbol("nodeId"), jp = Symbol("nodeRef"), ST = Symbol("edgeId"), AT = Symbol("edgeRef"), pa = Symbol("slots");
|
|
12095
12095
|
function qp(e) {
|
|
12096
12096
|
const {
|
|
12097
12097
|
vueFlowRef: t,
|
|
@@ -12122,7 +12122,7 @@ function qp(e) {
|
|
|
12122
12122
|
if (B = B.map((S) => {
|
|
12123
12123
|
const C = { x: be - S.distance.x, y: X - S.distance.y }, { computedPosition: A } = Nl(
|
|
12124
12124
|
S,
|
|
12125
|
-
n.value ?
|
|
12125
|
+
n.value ? da(C, i.value) : C,
|
|
12126
12126
|
x.error,
|
|
12127
12127
|
a.value,
|
|
12128
12128
|
S.parentNode ? m(S.parentNode) : void 0
|
|
@@ -12259,7 +12259,7 @@ function $T() {
|
|
|
12259
12259
|
const { viewport: e, snapGrid: t, snapToGrid: n, vueFlowRef: i } = Ge();
|
|
12260
12260
|
return (o) => {
|
|
12261
12261
|
var r;
|
|
12262
|
-
const a = ((r = i.value) == null ? void 0 : r.getBoundingClientRect()) ?? { left: 0, top: 0 }, s = mT(o) ? o.sourceEvent : o, { x: l, y: u } = Xt(s, a), d = $o({ x: l, y: u }, e.value), { x: c, y: f } = n.value ?
|
|
12262
|
+
const a = ((r = i.value) == null ? void 0 : r.getBoundingClientRect()) ?? { left: 0, top: 0 }, s = mT(o) ? o.sourceEvent : o, { x: l, y: u } = Xt(s, a), d = $o({ x: l, y: u }, e.value), { x: c, y: f } = n.value ? da(d, t.value) : d;
|
|
12263
12263
|
return {
|
|
12264
12264
|
xSnapped: c,
|
|
12265
12265
|
ySnapped: f,
|
|
@@ -12267,7 +12267,7 @@ function $T() {
|
|
|
12267
12267
|
};
|
|
12268
12268
|
};
|
|
12269
12269
|
}
|
|
12270
|
-
function
|
|
12270
|
+
function er() {
|
|
12271
12271
|
return !0;
|
|
12272
12272
|
}
|
|
12273
12273
|
function zp({
|
|
@@ -12360,8 +12360,8 @@ function zp({
|
|
|
12360
12360
|
(de || Z) && Y && I && (r ? r(ne, Y) : E.connect(Y)), E.connectEnd(ne), o && (a == null || a(ne)), Da(le), cancelAnimationFrame(G), x(ne), C = !1, I = !1, Y = null, Z = null, K.removeEventListener("mousemove", V), K.removeEventListener("mouseup", ae), K.removeEventListener("touchmove", V), K.removeEventListener("touchend", ae);
|
|
12361
12361
|
};
|
|
12362
12362
|
const fe = g(Te(t));
|
|
12363
|
-
let Q = Te(i) || P.value ||
|
|
12364
|
-
!Q && fe && (Q = (W ? fe.isValidSourcePos : fe.isValidTargetPos) ||
|
|
12363
|
+
let Q = Te(i) || P.value || er;
|
|
12364
|
+
!Q && fe && (Q = (W ? fe.isValidSourcePos : fe.isValidTargetPos) || er);
|
|
12365
12365
|
let de, G = 0;
|
|
12366
12366
|
const { x: ie, y: se } = Xt(R), ue = K == null ? void 0 : K.elementFromPoint(ie, se), me = Kp(Te(o), ue), be = (te = l.value) == null ? void 0 : te.getBoundingClientRect();
|
|
12367
12367
|
if (!be || !me)
|
|
@@ -12428,9 +12428,9 @@ function zp({
|
|
|
12428
12428
|
);
|
|
12429
12429
|
return;
|
|
12430
12430
|
}
|
|
12431
|
-
let K = Te(i) || P.value ||
|
|
12431
|
+
let K = Te(i) || P.value || er;
|
|
12432
12432
|
const V = g(Te(t));
|
|
12433
|
-
if (!K && V && (K = (U ? V.isValidSourcePos : V.isValidTargetPos) ||
|
|
12433
|
+
if (!K && V && (K = (U ? V.isValidSourcePos : V.isValidTargetPos) || er), V && (typeof V.connectable > "u" ? m.value : V.connectable) === !1)
|
|
12434
12434
|
return;
|
|
12435
12435
|
const ae = hc(R.target), fe = Sc(
|
|
12436
12436
|
R,
|
|
@@ -12549,7 +12549,7 @@ function Hp() {
|
|
|
12549
12549
|
}
|
|
12550
12550
|
const Ba = 0.1, MT = (e) => ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
|
|
12551
12551
|
function wn() {
|
|
12552
|
-
return
|
|
12552
|
+
return fa("Viewport not initialized yet."), Promise.resolve(!1);
|
|
12553
12553
|
}
|
|
12554
12554
|
const RT = {
|
|
12555
12555
|
zoomIn: wn,
|
|
@@ -12570,7 +12570,7 @@ const RT = {
|
|
|
12570
12570
|
function FT(e) {
|
|
12571
12571
|
function t(i, o) {
|
|
12572
12572
|
return new Promise((r) => {
|
|
12573
|
-
e.d3Selection && e.d3Zoom ? e.d3Zoom.interpolate((o == null ? void 0 : o.interpolate) === "linear" ? vo :
|
|
12573
|
+
e.d3Selection && e.d3Zoom ? e.d3Zoom.interpolate((o == null ? void 0 : o.interpolate) === "linear" ? vo : dr).scaleBy(
|
|
12574
12574
|
Va(e.d3Selection, o == null ? void 0 : o.duration, o == null ? void 0 : o.ease, () => {
|
|
12575
12575
|
r(!0);
|
|
12576
12576
|
}),
|
|
@@ -12582,7 +12582,7 @@ function FT(e) {
|
|
|
12582
12582
|
return new Promise((s) => {
|
|
12583
12583
|
var l;
|
|
12584
12584
|
const { x: u, y: d } = Tp({ x: -i, y: -o }, e.translateExtent), c = Ri.translate(-u, -d).scale(r);
|
|
12585
|
-
e.d3Selection && e.d3Zoom ? (l = e.d3Zoom) == null || l.interpolate((a == null ? void 0 : a.interpolate) === "linear" ? vo :
|
|
12585
|
+
e.d3Selection && e.d3Zoom ? (l = e.d3Zoom) == null || l.interpolate((a == null ? void 0 : a.interpolate) === "linear" ? vo : dr).transform(
|
|
12586
12586
|
Va(e.d3Selection, a == null ? void 0 : a.duration, a == null ? void 0 : a.ease, () => {
|
|
12587
12587
|
s(!0);
|
|
12588
12588
|
}),
|
|
@@ -12596,7 +12596,7 @@ function FT(e) {
|
|
|
12596
12596
|
zoomIn: (o) => t(1.2, o),
|
|
12597
12597
|
zoomOut: (o) => t(1 / 1.2, o),
|
|
12598
12598
|
zoomTo: (o, r) => new Promise((a) => {
|
|
12599
|
-
e.d3Selection && e.d3Zoom ? e.d3Zoom.interpolate((r == null ? void 0 : r.interpolate) === "linear" ? vo :
|
|
12599
|
+
e.d3Selection && e.d3Zoom ? e.d3Zoom.interpolate((r == null ? void 0 : r.interpolate) === "linear" ? vo : dr).scaleTo(
|
|
12600
12600
|
Va(e.d3Selection, r == null ? void 0 : r.duration, r == null ? void 0 : r.ease, () => {
|
|
12601
12601
|
a(!0);
|
|
12602
12602
|
}),
|
|
@@ -12700,7 +12700,7 @@ function DT(e, t, n) {
|
|
|
12700
12700
|
}));
|
|
12701
12701
|
},
|
|
12702
12702
|
{ immediate: y }
|
|
12703
|
-
),
|
|
12703
|
+
), sr(() => {
|
|
12704
12704
|
_ == null || _.stop(), g == null || g.stop();
|
|
12705
12705
|
});
|
|
12706
12706
|
});
|
|
@@ -12721,7 +12721,7 @@ function DT(e, t, n) {
|
|
|
12721
12721
|
}));
|
|
12722
12722
|
},
|
|
12723
12723
|
{ immediate: y }
|
|
12724
|
-
),
|
|
12724
|
+
), sr(() => {
|
|
12725
12725
|
_ == null || _.stop(), g == null || g.stop();
|
|
12726
12726
|
});
|
|
12727
12727
|
});
|
|
@@ -12742,7 +12742,7 @@ function DT(e, t, n) {
|
|
|
12742
12742
|
}));
|
|
12743
12743
|
},
|
|
12744
12744
|
{ immediate: y }
|
|
12745
|
-
),
|
|
12745
|
+
), sr(() => {
|
|
12746
12746
|
_ == null || _.stop(), g == null || g.stop();
|
|
12747
12747
|
});
|
|
12748
12748
|
});
|
|
@@ -12914,7 +12914,7 @@ function LT() {
|
|
|
12914
12914
|
edgeUpdate: xe(),
|
|
12915
12915
|
edgeUpdateEnd: xe(),
|
|
12916
12916
|
updateNodeInternals: xe(),
|
|
12917
|
-
error: xe((e) =>
|
|
12917
|
+
error: xe((e) => fa(e.message))
|
|
12918
12918
|
};
|
|
12919
12919
|
}
|
|
12920
12920
|
function KT(e, t) {
|
|
@@ -12923,7 +12923,7 @@ function KT(e, t) {
|
|
|
12923
12923
|
const o = (r) => {
|
|
12924
12924
|
e(n, r);
|
|
12925
12925
|
};
|
|
12926
|
-
i.fns.add(o),
|
|
12926
|
+
i.fns.add(o), ra(() => {
|
|
12927
12927
|
i.off(o);
|
|
12928
12928
|
});
|
|
12929
12929
|
}
|
|
@@ -13002,8 +13002,8 @@ function Gp() {
|
|
|
13002
13002
|
selectNodesOnDrag: !0,
|
|
13003
13003
|
multiSelectionActive: !1,
|
|
13004
13004
|
selectionKeyCode: "Shift",
|
|
13005
|
-
multiSelectionKeyCode:
|
|
13006
|
-
zoomActivationKeyCode:
|
|
13005
|
+
multiSelectionKeyCode: Pr() ? "Meta" : "Control",
|
|
13006
|
+
zoomActivationKeyCode: Pr() ? "Meta" : "Control",
|
|
13007
13007
|
deleteKeyCode: "Backspace",
|
|
13008
13008
|
panActivationKeyCode: "Space",
|
|
13009
13009
|
hooks: LT(),
|
|
@@ -13081,7 +13081,7 @@ function VT(e, t, n) {
|
|
|
13081
13081
|
for (const oe of S) {
|
|
13082
13082
|
const ce = oe, j = u(ce.id);
|
|
13083
13083
|
if (j) {
|
|
13084
|
-
const ne =
|
|
13084
|
+
const ne = ca(ce.nodeElement);
|
|
13085
13085
|
if (!!(ne.width && ne.height && (j.dimensions.width !== ne.width || j.dimensions.height !== ne.height || ce.forceUpdate))) {
|
|
13086
13086
|
const ye = ce.nodeElement.getBoundingClientRect();
|
|
13087
13087
|
j.dimensions = ne, j.handleBounds.source = Ac("source", ce.nodeElement, ye, N, j.id), j.handleBounds.target = Ac("target", ce.nodeElement, ye, N, j.id), L.push({
|
|
@@ -13287,7 +13287,7 @@ function VT(e, t, n) {
|
|
|
13287
13287
|
e.connectionPosition = { x: Number.NaN, y: Number.NaN }, e.connectionEndHandle = null, e.connectionStatus = null, C ? e.connectionClickStartHandle = null : e.connectionStartHandle = null;
|
|
13288
13288
|
}, G = (S) => {
|
|
13289
13289
|
const C = eT(S), A = C ? null : lo(S) ? S : u(S.id);
|
|
13290
|
-
return !C && !A ? [null, null, C] : [C ? S :
|
|
13290
|
+
return !C && !A ? [null, null, C] : [C ? S : Nr(A), A, C];
|
|
13291
13291
|
}, ie = (S, C = !0, A = e.nodes) => {
|
|
13292
13292
|
const [N, L, oe] = G(S);
|
|
13293
13293
|
if (!N)
|
|
@@ -13296,7 +13296,7 @@ function VT(e, t, n) {
|
|
|
13296
13296
|
for (const j of A || e.nodes) {
|
|
13297
13297
|
if (!oe && (j.id === L.id || !j.computedPosition))
|
|
13298
13298
|
continue;
|
|
13299
|
-
const ne =
|
|
13299
|
+
const ne = Nr(j), q = Or(ne, N);
|
|
13300
13300
|
(C && q > 0 || q >= Number(N.width) * Number(N.height)) && ce.push(j);
|
|
13301
13301
|
}
|
|
13302
13302
|
return ce;
|
|
@@ -13304,7 +13304,7 @@ function VT(e, t, n) {
|
|
|
13304
13304
|
const [N] = G(S);
|
|
13305
13305
|
if (!N)
|
|
13306
13306
|
return !1;
|
|
13307
|
-
const L =
|
|
13307
|
+
const L = Or(N, C);
|
|
13308
13308
|
return A && L > 0 || L >= Number(N.width) * Number(N.height);
|
|
13309
13309
|
}, ue = (S) => {
|
|
13310
13310
|
const { viewport: C, dimensions: A, d3Zoom: N, d3Selection: L, translateExtent: oe } = e;
|
|
@@ -13517,7 +13517,7 @@ const jT = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], qT = {
|
|
|
13517
13517
|
y: (B.top - T.top) / te,
|
|
13518
13518
|
type: i.value,
|
|
13519
13519
|
nodeId: m,
|
|
13520
|
-
...
|
|
13520
|
+
...ca(y.value)
|
|
13521
13521
|
};
|
|
13522
13522
|
h.handleBounds[i.value] = [...h.handleBounds[i.value] ?? [], W];
|
|
13523
13523
|
});
|
|
@@ -13561,7 +13561,7 @@ const jT = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], qT = {
|
|
|
13561
13561
|
Ne(Y.$slots, "default", { id: Y.id })
|
|
13562
13562
|
], 42, jT));
|
|
13563
13563
|
}
|
|
13564
|
-
}),
|
|
13564
|
+
}), ma = function({
|
|
13565
13565
|
sourcePosition: e = Se.Bottom,
|
|
13566
13566
|
targetPosition: t = Se.Top,
|
|
13567
13567
|
label: n,
|
|
@@ -13577,10 +13577,10 @@ const jT = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], qT = {
|
|
|
13577
13577
|
je(xn, { type: "source", position: e, connectable: i, isValidConnection: r })
|
|
13578
13578
|
];
|
|
13579
13579
|
};
|
|
13580
|
-
|
|
13581
|
-
|
|
13582
|
-
|
|
13583
|
-
const zT =
|
|
13580
|
+
ma.props = ["sourcePosition", "targetPosition", "label", "isValidTargetPos", "isValidSourcePos", "connectable", "data"];
|
|
13581
|
+
ma.inheritAttrs = !1;
|
|
13582
|
+
ma.compatConfig = { MODE: 3 };
|
|
13583
|
+
const zT = ma, ga = function({
|
|
13584
13584
|
targetPosition: e = Se.Top,
|
|
13585
13585
|
label: t,
|
|
13586
13586
|
connectable: n = !0,
|
|
@@ -13593,10 +13593,10 @@ const zT = pa, ma = function({
|
|
|
13593
13593
|
typeof r != "string" && r ? je(r) : je(Me, [r])
|
|
13594
13594
|
];
|
|
13595
13595
|
};
|
|
13596
|
-
|
|
13597
|
-
|
|
13598
|
-
|
|
13599
|
-
const UT =
|
|
13596
|
+
ga.props = ["targetPosition", "label", "isValidTargetPos", "connectable", "data"];
|
|
13597
|
+
ga.inheritAttrs = !1;
|
|
13598
|
+
ga.compatConfig = { MODE: 3 };
|
|
13599
|
+
const UT = ga, ha = function({
|
|
13600
13600
|
sourcePosition: e = Se.Bottom,
|
|
13601
13601
|
label: t,
|
|
13602
13602
|
connectable: n = !0,
|
|
@@ -13609,10 +13609,10 @@ const UT = ma, ga = function({
|
|
|
13609
13609
|
je(xn, { type: "source", position: e, connectable: n, isValidConnection: i })
|
|
13610
13610
|
];
|
|
13611
13611
|
};
|
|
13612
|
-
|
|
13613
|
-
|
|
13614
|
-
|
|
13615
|
-
const HT =
|
|
13612
|
+
ha.props = ["sourcePosition", "label", "isValidSourcePos", "connectable", "data"];
|
|
13613
|
+
ha.inheritAttrs = !1;
|
|
13614
|
+
ha.compatConfig = { MODE: 3 };
|
|
13615
|
+
const HT = ha, GT = ["transform"], YT = ["width", "height", "x", "y", "rx", "ry"], WT = ["y"], XT = {
|
|
13616
13616
|
name: "EdgeText",
|
|
13617
13617
|
compatConfig: { MODE: 3 }
|
|
13618
13618
|
}, ZT = /* @__PURE__ */ ve({
|
|
@@ -13671,7 +13671,7 @@ const HT = ga, GT = ["transform"], YT = ["width", "height", "x", "y", "rx", "ry"
|
|
|
13671
13671
|
name: "BaseEdge",
|
|
13672
13672
|
inheritAttrs: !1,
|
|
13673
13673
|
compatConfig: { MODE: 3 }
|
|
13674
|
-
},
|
|
13674
|
+
}, va = /* @__PURE__ */ ve({
|
|
13675
13675
|
...eI,
|
|
13676
13676
|
props: {
|
|
13677
13677
|
id: {},
|
|
@@ -13752,23 +13752,23 @@ function Wp({
|
|
|
13752
13752
|
const l = e * 0.125 + o * 0.375 + a * 0.375 + n * 0.125, u = t * 0.125 + r * 0.375 + s * 0.375 + i * 0.125, d = Math.abs(l - e), c = Math.abs(u - t);
|
|
13753
13753
|
return [l, u, d, c];
|
|
13754
13754
|
}
|
|
13755
|
-
function
|
|
13755
|
+
function tr(e, t) {
|
|
13756
13756
|
return e >= 0 ? 0.5 * e : t * 25 * Math.sqrt(-e);
|
|
13757
13757
|
}
|
|
13758
13758
|
function Oc({ pos: e, x1: t, y1: n, x2: i, y2: o, c: r }) {
|
|
13759
13759
|
let a, s;
|
|
13760
13760
|
switch (e) {
|
|
13761
13761
|
case Se.Left:
|
|
13762
|
-
a = t -
|
|
13762
|
+
a = t - tr(t - i, r), s = n;
|
|
13763
13763
|
break;
|
|
13764
13764
|
case Se.Right:
|
|
13765
|
-
a = t +
|
|
13765
|
+
a = t + tr(i - t, r), s = n;
|
|
13766
13766
|
break;
|
|
13767
13767
|
case Se.Top:
|
|
13768
|
-
a = t, s = n -
|
|
13768
|
+
a = t, s = n - tr(n - o, r);
|
|
13769
13769
|
break;
|
|
13770
13770
|
case Se.Bottom:
|
|
13771
|
-
a = t, s = n +
|
|
13771
|
+
a = t, s = n + tr(o - n, r);
|
|
13772
13772
|
break;
|
|
13773
13773
|
}
|
|
13774
13774
|
return [a, s];
|
|
@@ -14002,7 +14002,7 @@ const rI = ve({
|
|
|
14002
14002
|
setup(e, { attrs: t }) {
|
|
14003
14003
|
return () => {
|
|
14004
14004
|
const [n, i, o] = oI(e);
|
|
14005
|
-
return je(
|
|
14005
|
+
return je(va, {
|
|
14006
14006
|
path: n,
|
|
14007
14007
|
labelX: i,
|
|
14008
14008
|
labelY: o,
|
|
@@ -14040,7 +14040,7 @@ const rI = ve({
|
|
|
14040
14040
|
sourcePosition: e.sourcePosition ?? Se.Bottom,
|
|
14041
14041
|
targetPosition: e.targetPosition ?? Se.Top
|
|
14042
14042
|
});
|
|
14043
|
-
return je(
|
|
14043
|
+
return je(va, {
|
|
14044
14044
|
path: n,
|
|
14045
14045
|
labelX: i,
|
|
14046
14046
|
labelY: o,
|
|
@@ -14099,7 +14099,7 @@ const rI = ve({
|
|
|
14099
14099
|
sourcePosition: e.sourcePosition ?? Se.Bottom,
|
|
14100
14100
|
targetPosition: e.targetPosition ?? Se.Top
|
|
14101
14101
|
});
|
|
14102
|
-
return je(
|
|
14102
|
+
return je(va, {
|
|
14103
14103
|
path: n,
|
|
14104
14104
|
labelX: i,
|
|
14105
14105
|
labelY: o,
|
|
@@ -14135,7 +14135,7 @@ const rI = ve({
|
|
|
14135
14135
|
sourcePosition: e.sourcePosition ?? Se.Bottom,
|
|
14136
14136
|
targetPosition: e.targetPosition ?? Se.Top
|
|
14137
14137
|
});
|
|
14138
|
-
return je(
|
|
14138
|
+
return je(va, {
|
|
14139
14139
|
path: n,
|
|
14140
14140
|
labelX: i,
|
|
14141
14141
|
labelY: o,
|
|
@@ -14320,10 +14320,10 @@ function Ge(e) {
|
|
|
14320
14320
|
});
|
|
14321
14321
|
},
|
|
14322
14322
|
{ immediate: !0 }
|
|
14323
|
-
),
|
|
14323
|
+
), ra(() => {
|
|
14324
14324
|
if (s) {
|
|
14325
14325
|
const c = t.get(s.id);
|
|
14326
|
-
c ? c.$destroy() :
|
|
14326
|
+
c ? c.$destroy() : fa(`No store instance found for id ${s.id} in storage.`);
|
|
14327
14327
|
}
|
|
14328
14328
|
});
|
|
14329
14329
|
});
|
|
@@ -14342,10 +14342,10 @@ function vI(e) {
|
|
|
14342
14342
|
const o = e.value, r = () => {
|
|
14343
14343
|
if (!o)
|
|
14344
14344
|
return;
|
|
14345
|
-
const a =
|
|
14345
|
+
const a = ca(o);
|
|
14346
14346
|
(a.width === 0 || a.height === 0) && t.error(new ft(lt.MISSING_VIEWPORT_DIMENSIONS)), n.value = { width: a.width || 500, height: a.height || 500 };
|
|
14347
14347
|
};
|
|
14348
|
-
r(), window.addEventListener("resize", r), o && (i = new ResizeObserver(() => r()), i.observe(o)),
|
|
14348
|
+
r(), window.addEventListener("resize", r), o && (i = new ResizeObserver(() => r()), i.observe(o)), jr(() => {
|
|
14349
14349
|
window.removeEventListener("resize", r), i && o && i.unobserve(o);
|
|
14350
14350
|
});
|
|
14351
14351
|
});
|
|
@@ -14628,7 +14628,7 @@ const CI = {
|
|
|
14628
14628
|
), ae = Fe(() => W.value || l.value), fe = Fe(() => U.value || a.value === !0 && V.value !== !0);
|
|
14629
14629
|
$t(() => {
|
|
14630
14630
|
if (!ee.value) {
|
|
14631
|
-
|
|
14631
|
+
fa("Viewport element is missing");
|
|
14632
14632
|
return;
|
|
14633
14633
|
}
|
|
14634
14634
|
const ue = ee.value, me = ue.getBoundingClientRect(), be = GA().clickDistance(Y.value).scaleExtent([t.value, n.value]).translateExtent(o.value), X = Bt(ue).call(be), le = X.on("wheel.zoom"), S = Ri.translate(i.value.x ?? 0, i.value.y ?? 0).scale(ti(i.value.zoom ?? 1, t.value, n.value)), C = [
|
|
@@ -14684,7 +14684,7 @@ const CI = {
|
|
|
14684
14684
|
if (!(!_.value || ae.value || L || oe))
|
|
14685
14685
|
return !1;
|
|
14686
14686
|
N.preventDefault(), N.stopImmediatePropagation();
|
|
14687
|
-
const j = X.property("__zoom").k || 1, ne =
|
|
14687
|
+
const j = X.property("__zoom").k || 1, ne = Pr();
|
|
14688
14688
|
if (!W.value && N.ctrlKey && m.value && ne) {
|
|
14689
14689
|
const $e = Gt(N), Oe = de(N), Le = j * 2 ** Oe;
|
|
14690
14690
|
be.scaleTo(X, Le, $e, N);
|
|
@@ -14721,7 +14721,7 @@ const CI = {
|
|
|
14721
14721
|
return me === 2 && Array.isArray(ue) && ue.includes(2);
|
|
14722
14722
|
}
|
|
14723
14723
|
function de(ue) {
|
|
14724
|
-
const me = ue.ctrlKey &&
|
|
14724
|
+
const me = ue.ctrlKey && Pr() ? 10 : 1;
|
|
14725
14725
|
return -ue.deltaY * (ue.deltaMode === 1 ? 0.05 : ue.deltaMode ? 1 : 2e-3) * me;
|
|
14726
14726
|
}
|
|
14727
14727
|
function G(ue, me) {
|
|
@@ -14848,7 +14848,7 @@ const Fc = Pl, LI = ve({
|
|
|
14848
14848
|
edgesUpdatable: g,
|
|
14849
14849
|
edgesFocusable: y,
|
|
14850
14850
|
hooks: b
|
|
14851
|
-
} = Ge(), v = M(() => d(e.id)), { emit: x, on: E } = IT(v.value, r), w = Je(
|
|
14851
|
+
} = Ge(), v = M(() => d(e.id)), { emit: x, on: E } = IT(v.value, r), w = Je(pa), D = Do(), $ = re(!1), P = re(!1), ee = re(""), Y = re(null), I = re("source"), Z = re(null), T = Fe(
|
|
14852
14852
|
() => typeof v.value.selectable > "u" ? _.value : v.value.selectable
|
|
14853
14853
|
), B = Fe(() => typeof v.value.updatable > "u" ? g.value : v.value.updatable), R = Fe(() => typeof v.value.focusable > "u" ? y.value : v.value.focusable);
|
|
14854
14854
|
tt(ST, e.id), tt(AT, Z);
|
|
@@ -15056,7 +15056,7 @@ const Fc = Pl, LI = ve({
|
|
|
15056
15056
|
connectionStatus: u,
|
|
15057
15057
|
viewport: d,
|
|
15058
15058
|
findNode: c
|
|
15059
|
-
} = Ge(), f = (e = Je(
|
|
15059
|
+
} = Ge(), f = (e = Je(pa)) == null ? void 0 : e["connection-line"], m = M(() => {
|
|
15060
15060
|
var b;
|
|
15061
15061
|
return c((b = i.value) == null ? void 0 : b.nodeId);
|
|
15062
15062
|
}), h = M(() => {
|
|
@@ -15172,7 +15172,7 @@ const Fc = Pl, LI = ve({
|
|
|
15172
15172
|
markerUnits: t.markerUnits,
|
|
15173
15173
|
orient: t.orient
|
|
15174
15174
|
}, [
|
|
15175
|
-
t.type === p(
|
|
15175
|
+
t.type === p($r).ArrowClosed ? (k(), J("polyline", {
|
|
15176
15176
|
key: 0,
|
|
15177
15177
|
style: It({
|
|
15178
15178
|
stroke: t.color,
|
|
@@ -15183,7 +15183,7 @@ const Fc = Pl, LI = ve({
|
|
|
15183
15183
|
"stroke-linejoin": "round",
|
|
15184
15184
|
points: "-5,-4 0,0 -5,4 -5,-4"
|
|
15185
15185
|
}, null, 4)) : Ce("", !0),
|
|
15186
|
-
t.type === p(
|
|
15186
|
+
t.type === p($r).Arrow ? (k(), J("polyline", {
|
|
15187
15187
|
key: 1,
|
|
15188
15188
|
style: It({
|
|
15189
15189
|
stroke: t.color,
|
|
@@ -15287,7 +15287,7 @@ const Fc = Pl, LI = ve({
|
|
|
15287
15287
|
hooks: D
|
|
15288
15288
|
} = Ge(), $ = re(null);
|
|
15289
15289
|
tt(jp, $), tt(Vp, e.id);
|
|
15290
|
-
const P = Je(
|
|
15290
|
+
const P = Je(pa), ee = Do(), Y = Hp(), { node: I, parentNode: Z } = Up(e.id), { emit: T, on: B } = PT(I, a), R = Fe(() => typeof I.draggable > "u" ? v.value : I.draggable), te = Fe(() => typeof I.selectable > "u" ? x.value : I.selectable), W = Fe(() => typeof I.connectable > "u" ? E.value : I.connectable), U = Fe(() => typeof I.focusable > "u" ? w.value : I.focusable), K = M(
|
|
15291
15291
|
() => te.value || R.value || D.value.nodeClick.hasListeners() || D.value.nodeDoubleClick.hasListeners() || D.value.nodeMouseEnter.hasListeners() || D.value.nodeMouseMove.hasListeners() || D.value.nodeMouseLeave.hasListeners()
|
|
15292
15292
|
), V = Fe(() => !!I.dimensions.width && !!I.dimensions.height), ae = M(() => {
|
|
15293
15293
|
const A = I.type || "default", N = P == null ? void 0 : P[`node-${A}`];
|
|
@@ -15444,7 +15444,7 @@ const Fc = Pl, LI = ve({
|
|
|
15444
15444
|
function ie() {
|
|
15445
15445
|
const A = I.computedPosition, { computedPosition: N, position: L } = Nl(
|
|
15446
15446
|
I,
|
|
15447
|
-
g.value ?
|
|
15447
|
+
g.value ? da(A, y.value) : A,
|
|
15448
15448
|
a.error,
|
|
15449
15449
|
f.value,
|
|
15450
15450
|
Z.value
|
|
@@ -15538,7 +15538,7 @@ const QI = { class: "vue-flow__nodes vue-flow__container" }, e$ = {
|
|
|
15538
15538
|
}));
|
|
15539
15539
|
et(() => n(s));
|
|
15540
15540
|
});
|
|
15541
|
-
}),
|
|
15541
|
+
}), jr(() => {
|
|
15542
15542
|
var a;
|
|
15543
15543
|
return (a = r.value) == null ? void 0 : a.disconnect();
|
|
15544
15544
|
}), (a, s) => (k(), J("div", QI, [
|
|
@@ -15634,7 +15634,7 @@ const i$ = /* @__PURE__ */ z("div", { class: "vue-flow__edge-labels" }, null, -1
|
|
|
15634
15634
|
emits: ["nodesChange", "edgesChange", "nodesInitialized", "paneReady", "init", "updateNodeInternals", "error", "connect", "connectStart", "connectEnd", "clickConnectStart", "clickConnectEnd", "moveStart", "move", "moveEnd", "selectionDragStart", "selectionDrag", "selectionDragStop", "selectionContextMenu", "selectionStart", "selectionEnd", "viewportChangeStart", "viewportChange", "viewportChangeEnd", "paneScroll", "paneClick", "paneContextMenu", "paneMouseEnter", "paneMouseMove", "paneMouseLeave", "edgeUpdate", "edgeContextMenu", "edgeMouseEnter", "edgeMouseMove", "edgeMouseLeave", "edgeDoubleClick", "edgeClick", "edgeUpdateStart", "edgeUpdateEnd", "nodeContextMenu", "nodeMouseEnter", "nodeMouseMove", "nodeMouseLeave", "nodeDoubleClick", "nodeClick", "nodeDragStart", "nodeDrag", "nodeDragStop", "miniMapNodeClick", "miniMapNodeDoubleClick", "miniMapNodeMouseEnter", "miniMapNodeMouseMove", "miniMapNodeMouseLeave", "update:modelValue", "update:nodes", "update:edges"],
|
|
15635
15635
|
setup(e, { expose: t, emit: n }) {
|
|
15636
15636
|
const i = e, o = en(), r = $a(i, "modelValue", n), a = $a(i, "nodes", n), s = $a(i, "edges", n), l = Ge(i), u = DT({ modelValue: r, nodes: a, edges: s }, i, l);
|
|
15637
|
-
return KT(n, l.hooks), RI(), n$(), tt(
|
|
15637
|
+
return KT(n, l.hooks), RI(), n$(), tt(pa, o), Gs(() => {
|
|
15638
15638
|
u();
|
|
15639
15639
|
}), t(l), (d, c) => (k(), J("div", {
|
|
15640
15640
|
ref: p(l).vueFlowRef,
|
|
@@ -15780,7 +15780,7 @@ function v$(e, t, n, i, o, r) {
|
|
|
15780
15780
|
Ne(e.$slots, "default")
|
|
15781
15781
|
]);
|
|
15782
15782
|
}
|
|
15783
|
-
const
|
|
15783
|
+
const nr = /* @__PURE__ */ g$(m$, [["render", v$]]), y$ = {
|
|
15784
15784
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15785
15785
|
viewBox: "0 0 32 32"
|
|
15786
15786
|
}, _$ = /* @__PURE__ */ z("path", { d: "M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z" }, null, -1), b$ = [
|
|
@@ -15871,7 +15871,7 @@ const j$ = { render: V$ }, q$ = {
|
|
|
15871
15871
|
Ne(v.$slots, "top"),
|
|
15872
15872
|
v.showZoom ? (k(), J(Me, { key: 0 }, [
|
|
15873
15873
|
Ne(v.$slots, "control-zoom-in", {}, () => [
|
|
15874
|
-
O(
|
|
15874
|
+
O(nr, {
|
|
15875
15875
|
class: "vue-flow__controls-zoomin",
|
|
15876
15876
|
disabled: h.value,
|
|
15877
15877
|
onClick: _
|
|
@@ -15885,7 +15885,7 @@ const j$ = { render: V$ }, q$ = {
|
|
|
15885
15885
|
}, 8, ["disabled"])
|
|
15886
15886
|
]),
|
|
15887
15887
|
Ne(v.$slots, "control-zoom-out", {}, () => [
|
|
15888
|
-
O(
|
|
15888
|
+
O(nr, {
|
|
15889
15889
|
class: "vue-flow__controls-zoomout",
|
|
15890
15890
|
disabled: m.value,
|
|
15891
15891
|
onClick: g
|
|
@@ -15900,7 +15900,7 @@ const j$ = { render: V$ }, q$ = {
|
|
|
15900
15900
|
])
|
|
15901
15901
|
], 64)) : Ce("", !0),
|
|
15902
15902
|
v.showFitView ? Ne(v.$slots, "control-fit-view", { key: 1 }, () => [
|
|
15903
|
-
O(
|
|
15903
|
+
O(nr, {
|
|
15904
15904
|
class: "vue-flow__controls-fitview",
|
|
15905
15905
|
onClick: y
|
|
15906
15906
|
}, {
|
|
@@ -15913,7 +15913,7 @@ const j$ = { render: V$ }, q$ = {
|
|
|
15913
15913
|
})
|
|
15914
15914
|
]) : Ce("", !0),
|
|
15915
15915
|
v.showInteractive ? Ne(v.$slots, "control-interactive", { key: 2 }, () => [
|
|
15916
|
-
v.showInteractive ? (k(), H(
|
|
15916
|
+
v.showInteractive ? (k(), H(nr, {
|
|
15917
15917
|
key: 0,
|
|
15918
15918
|
class: "vue-flow__controls-interactive",
|
|
15919
15919
|
onClick: b
|
|
@@ -16791,7 +16791,7 @@ let um = Ht.Graph;
|
|
|
16791
16791
|
var ut = {
|
|
16792
16792
|
addBorderNode: nO,
|
|
16793
16793
|
addDummyNode: cm,
|
|
16794
|
-
applyWithChunking:
|
|
16794
|
+
applyWithChunking: ya,
|
|
16795
16795
|
asNonCompoundGraph: WN,
|
|
16796
16796
|
buildLayerMatrix: QN,
|
|
16797
16797
|
intersectRect: JN,
|
|
@@ -16869,14 +16869,14 @@ function eO(e) {
|
|
|
16869
16869
|
let t = e.nodes().map((i) => {
|
|
16870
16870
|
let o = e.node(i).rank;
|
|
16871
16871
|
return o === void 0 ? Number.MAX_VALUE : o;
|
|
16872
|
-
}), n =
|
|
16872
|
+
}), n = ya(Math.min, t);
|
|
16873
16873
|
e.nodes().forEach((i) => {
|
|
16874
16874
|
let o = e.node(i);
|
|
16875
16875
|
Object.hasOwn(o, "rank") && (o.rank -= n);
|
|
16876
16876
|
});
|
|
16877
16877
|
}
|
|
16878
16878
|
function tO(e) {
|
|
16879
|
-
let t = e.nodes().map((a) => e.node(a).rank), n =
|
|
16879
|
+
let t = e.nodes().map((a) => e.node(a).rank), n = ya(Math.min, t), i = [];
|
|
16880
16880
|
e.nodes().forEach((a) => {
|
|
16881
16881
|
let s = e.node(a).rank - n;
|
|
16882
16882
|
i[s] || (i[s] = []), i[s].push(a);
|
|
@@ -16902,7 +16902,7 @@ function iO(e, t = dm) {
|
|
|
16902
16902
|
return n;
|
|
16903
16903
|
}
|
|
16904
16904
|
const dm = 65535;
|
|
16905
|
-
function
|
|
16905
|
+
function ya(e, t) {
|
|
16906
16906
|
if (t.length > dm) {
|
|
16907
16907
|
const n = iO(t);
|
|
16908
16908
|
return e.apply(null, n.map((i) => e.apply(null, i)));
|
|
@@ -16914,7 +16914,7 @@ function fm(e) {
|
|
|
16914
16914
|
let o = e.node(i).rank;
|
|
16915
16915
|
return o === void 0 ? Number.MIN_VALUE : o;
|
|
16916
16916
|
});
|
|
16917
|
-
return
|
|
16917
|
+
return ya(Math.max, n);
|
|
16918
16918
|
}
|
|
16919
16919
|
function oO(e, t) {
|
|
16920
16920
|
let n = { lhs: [], rhs: [] };
|
|
@@ -17024,7 +17024,7 @@ function bO(e) {
|
|
|
17024
17024
|
});
|
|
17025
17025
|
}
|
|
17026
17026
|
const { applyWithChunking: wO } = ut;
|
|
17027
|
-
var
|
|
17027
|
+
var _a = {
|
|
17028
17028
|
longestPath: EO,
|
|
17029
17029
|
slack: kO
|
|
17030
17030
|
};
|
|
@@ -17044,19 +17044,19 @@ function EO(e) {
|
|
|
17044
17044
|
function kO(e, t) {
|
|
17045
17045
|
return e.node(t.w).rank - e.node(t.v).rank - e.edge(t).minlen;
|
|
17046
17046
|
}
|
|
17047
|
-
var CO = Ht.Graph,
|
|
17047
|
+
var CO = Ht.Graph, Mr = _a.slack, gm = xO;
|
|
17048
17048
|
function xO(e) {
|
|
17049
17049
|
var t = new CO({ directed: !1 }), n = e.nodes()[0], i = e.nodeCount();
|
|
17050
17050
|
t.setNode(n, {});
|
|
17051
17051
|
for (var o, r; SO(t, e) < i; )
|
|
17052
|
-
o = AO(t, e), r = t.hasNode(o.v) ?
|
|
17052
|
+
o = AO(t, e), r = t.hasNode(o.v) ? Mr(e, o) : -Mr(e, o), TO(t, e, r);
|
|
17053
17053
|
return t;
|
|
17054
17054
|
}
|
|
17055
17055
|
function SO(e, t) {
|
|
17056
17056
|
function n(i) {
|
|
17057
17057
|
t.nodeEdges(i).forEach((o) => {
|
|
17058
17058
|
var r = o.v, a = i === r ? o.w : r;
|
|
17059
|
-
!e.hasNode(a) && !
|
|
17059
|
+
!e.hasNode(a) && !Mr(t, o) && (e.setNode(a, {}), e.setEdge(i, a, {}), n(a));
|
|
17060
17060
|
});
|
|
17061
17061
|
}
|
|
17062
17062
|
return e.nodes().forEach(n), e.nodeCount();
|
|
@@ -17064,13 +17064,13 @@ function SO(e, t) {
|
|
|
17064
17064
|
function AO(e, t) {
|
|
17065
17065
|
return t.edges().reduce((i, o) => {
|
|
17066
17066
|
let r = Number.POSITIVE_INFINITY;
|
|
17067
|
-
return e.hasNode(o.v) !== e.hasNode(o.w) && (r =
|
|
17067
|
+
return e.hasNode(o.v) !== e.hasNode(o.w) && (r = Mr(t, o)), r < i[0] ? [r, o] : i;
|
|
17068
17068
|
}, [Number.POSITIVE_INFINITY, null])[1];
|
|
17069
17069
|
}
|
|
17070
17070
|
function TO(e, t, n) {
|
|
17071
17071
|
e.nodes().forEach((i) => t.node(i).rank += n);
|
|
17072
17072
|
}
|
|
17073
|
-
var IO = gm, qc =
|
|
17073
|
+
var IO = gm, qc = _a.slack, $O = _a.longestPath, NO = Ht.alg.preorder, OO = Ht.alg.postorder, PO = ut.simplify, MO = si;
|
|
17074
17074
|
si.initLowLimValues = Dl;
|
|
17075
17075
|
si.initCutValues = Fl;
|
|
17076
17076
|
si.calcCutValue = hm;
|
|
@@ -17142,7 +17142,7 @@ function DO(e, t, n) {
|
|
|
17142
17142
|
function zc(e, t, n) {
|
|
17143
17143
|
return n.low <= t.lim && t.lim <= n.lim;
|
|
17144
17144
|
}
|
|
17145
|
-
var LO =
|
|
17145
|
+
var LO = _a, wm = LO.longestPath, KO = gm, BO = MO, VO = jO;
|
|
17146
17146
|
function jO(e) {
|
|
17147
17147
|
var t = e.graph().ranker;
|
|
17148
17148
|
if (t instanceof Function)
|
|
@@ -17208,13 +17208,13 @@ function YO(e) {
|
|
|
17208
17208
|
}
|
|
17209
17209
|
return e.children().forEach(i), t;
|
|
17210
17210
|
}
|
|
17211
|
-
let
|
|
17211
|
+
let Rr = ut;
|
|
17212
17212
|
var WO = {
|
|
17213
17213
|
run: XO,
|
|
17214
17214
|
cleanup: QO
|
|
17215
17215
|
};
|
|
17216
17216
|
function XO(e) {
|
|
17217
|
-
let t =
|
|
17217
|
+
let t = Rr.addDummyNode(e, "root", {}, "_root"), n = ZO(e), i = Object.values(n), o = Rr.applyWithChunking(Math.max, i) - 1, r = 2 * o + 1;
|
|
17218
17218
|
e.graph().nestingRoot = t, e.edges().forEach((s) => e.edge(s).minlen *= r);
|
|
17219
17219
|
let a = JO(e) + 1;
|
|
17220
17220
|
e.children().forEach((s) => Em(e, t, r, a, o, n, s)), e.graph().nodeRankFactor = r;
|
|
@@ -17225,7 +17225,7 @@ function Em(e, t, n, i, o, r, a) {
|
|
|
17225
17225
|
a !== t && e.setEdge(t, a, { weight: 0, minlen: n });
|
|
17226
17226
|
return;
|
|
17227
17227
|
}
|
|
17228
|
-
let l =
|
|
17228
|
+
let l = Rr.addBorderNode(e, "_bt"), u = Rr.addBorderNode(e, "_bb"), d = e.node(a);
|
|
17229
17229
|
e.setParent(l, a), d.borderTop = l, e.setParent(u, a), d.borderBottom = u, s.forEach((c) => {
|
|
17230
17230
|
Em(e, t, n, i, o, r, c);
|
|
17231
17231
|
let f = e.node(c), m = f.borderTop ? f.borderTop : c, h = f.borderBottom ? f.borderBottom : c, _ = f.borderTop ? i : 2 * i, g = m !== h ? 1 : o - r[a] + 1;
|
|
@@ -17492,19 +17492,19 @@ function DP(e, t, n) {
|
|
|
17492
17492
|
}
|
|
17493
17493
|
});
|
|
17494
17494
|
}
|
|
17495
|
-
let LP = lP, KP = dP, BP = TP, VP = PP, jP = FP, qP = Ht.Graph,
|
|
17495
|
+
let LP = lP, KP = dP, BP = TP, VP = PP, jP = FP, qP = Ht.Graph, ir = ut;
|
|
17496
17496
|
var zP = xm;
|
|
17497
17497
|
function xm(e, t) {
|
|
17498
17498
|
if (t && typeof t.customOrder == "function") {
|
|
17499
17499
|
t.customOrder(e, xm);
|
|
17500
17500
|
return;
|
|
17501
17501
|
}
|
|
17502
|
-
let n =
|
|
17502
|
+
let n = ir.maxRank(e), i = Xc(e, ir.range(1, n + 1), "inEdges"), o = Xc(e, ir.range(n - 1, -1, -1), "outEdges"), r = LP(e);
|
|
17503
17503
|
if (Zc(e, r), t && t.disableOptimalOrderHeuristic)
|
|
17504
17504
|
return;
|
|
17505
17505
|
let a = Number.POSITIVE_INFINITY, s;
|
|
17506
17506
|
for (let l = 0, u = 0; u < 4; ++l, ++u) {
|
|
17507
|
-
UP(l % 2 ? i : o, l % 4 >= 2), r =
|
|
17507
|
+
UP(l % 2 ? i : o, l % 4 >= 2), r = ir.buildLayerMatrix(e);
|
|
17508
17508
|
let d = KP(e, r);
|
|
17509
17509
|
d < a && (u = 0, s = Object.assign({}, r), a = d);
|
|
17510
17510
|
}
|
|
@@ -17943,7 +17943,7 @@ var GM = "1.1.5", YM = {
|
|
|
17943
17943
|
},
|
|
17944
17944
|
version: GM
|
|
17945
17945
|
};
|
|
17946
|
-
const id = /* @__PURE__ */ U$(YM),
|
|
17946
|
+
const id = /* @__PURE__ */ U$(YM), or = {
|
|
17947
17947
|
padding: 80,
|
|
17948
17948
|
nodeGap: 40,
|
|
17949
17949
|
edgeGap: 80,
|
|
@@ -17957,22 +17957,22 @@ function Im() {
|
|
|
17957
17957
|
if (!e) throw new Error("Confirm modal not provided");
|
|
17958
17958
|
return e;
|
|
17959
17959
|
}
|
|
17960
|
-
function
|
|
17960
|
+
function Fr(e, t, n) {
|
|
17961
17961
|
const i = t ? Cn(e, n, t) : void 0;
|
|
17962
17962
|
return `${e.name}${i ? `.${i.name}` : ""}`;
|
|
17963
17963
|
}
|
|
17964
17964
|
function bo(e, t) {
|
|
17965
17965
|
const n = t(e.source), i = t(e.target);
|
|
17966
17966
|
return [
|
|
17967
|
-
|
|
17968
|
-
|
|
17967
|
+
Fr(n, e.sourceField, "output"),
|
|
17968
|
+
Fr(i, e.targetField, "input")
|
|
17969
17969
|
];
|
|
17970
17970
|
}
|
|
17971
17971
|
function Ds(e, t, n, i, o) {
|
|
17972
17972
|
const r = o(e), a = o(n);
|
|
17973
17973
|
return [
|
|
17974
|
-
|
|
17975
|
-
|
|
17974
|
+
Fr(r, t, "output"),
|
|
17975
|
+
Fr(a, i, "input")
|
|
17976
17976
|
];
|
|
17977
17977
|
}
|
|
17978
17978
|
function XM() {
|
|
@@ -18040,15 +18040,15 @@ function ZM(e, t) {
|
|
|
18040
18040
|
target: B.target,
|
|
18041
18041
|
sourceHandle: B.sourceField ? `outputs@${B.sourceField}` : "output",
|
|
18042
18042
|
targetHandle: B.targetField ? `inputs@${B.targetField}` : "input",
|
|
18043
|
-
markerEnd:
|
|
18043
|
+
markerEnd: $r.ArrowClosed,
|
|
18044
18044
|
data: B
|
|
18045
18045
|
};
|
|
18046
18046
|
})
|
|
18047
18047
|
);
|
|
18048
18048
|
u(({ node: B }) => {
|
|
18049
|
-
console.debug("[useFlow] onNodeClick",
|
|
18049
|
+
console.debug("[useFlow] onNodeClick", hr(B));
|
|
18050
18050
|
}), c(({ edge: B }) => {
|
|
18051
|
-
console.debug("[useFlow] onEdgeClick",
|
|
18051
|
+
console.debug("[useFlow] onEdgeClick", hr(B));
|
|
18052
18052
|
}), f(async ({ source: B, sourceHandle: R, target: te, targetHandle: W }) => {
|
|
18053
18053
|
if (console.debug("[useFlow] onConnect", { source: B, sourceHandle: R, target: te, targetHandle: W }), !R || !W) return;
|
|
18054
18054
|
const U = od(R), K = od(W);
|
|
@@ -18106,10 +18106,10 @@ function ZM(e, t) {
|
|
|
18106
18106
|
function T(B) {
|
|
18107
18107
|
const {
|
|
18108
18108
|
boundingRect: R,
|
|
18109
|
-
padding: te =
|
|
18110
|
-
nodeGap: W =
|
|
18111
|
-
edgeGap: U =
|
|
18112
|
-
rankGap: K =
|
|
18109
|
+
padding: te = or.padding,
|
|
18110
|
+
nodeGap: W = or.nodeGap,
|
|
18111
|
+
edgeGap: U = or.edgeGap,
|
|
18112
|
+
rankGap: K = or.rankGap
|
|
18113
18113
|
} = B;
|
|
18114
18114
|
let V, ae;
|
|
18115
18115
|
const fe = [], Q = (se) => {
|
|
@@ -18244,7 +18244,7 @@ const JM = /* @__PURE__ */ ve({
|
|
|
18244
18244
|
style: It(t.value)
|
|
18245
18245
|
}, null, 6));
|
|
18246
18246
|
}
|
|
18247
|
-
}),
|
|
18247
|
+
}), rr = /* @__PURE__ */ Pe(JM, [["__scopeId", "data-v-eb2bc3f2"]]), Di = "{key}", jn = {
|
|
18248
18248
|
"kong.client.consumer": {
|
|
18249
18249
|
dataType: "object",
|
|
18250
18250
|
writable: !1,
|
|
@@ -18385,20 +18385,20 @@ const JM = /* @__PURE__ */ ve({
|
|
|
18385
18385
|
writable: !0,
|
|
18386
18386
|
readable: !0
|
|
18387
18387
|
}
|
|
18388
|
-
},
|
|
18388
|
+
}, ba = Object.keys(jn).filter((e) => e.includes(Di)).map((e) => e.replace(Di, ""));
|
|
18389
18389
|
function Ls(e) {
|
|
18390
18390
|
if (!e || !Oo(e)) return;
|
|
18391
|
-
const t =
|
|
18391
|
+
const t = ba.find((n) => e.startsWith(n));
|
|
18392
18392
|
if (t)
|
|
18393
18393
|
return e.slice(t.length).replace(Di, "");
|
|
18394
18394
|
}
|
|
18395
18395
|
function co(e) {
|
|
18396
18396
|
if (!e) return null;
|
|
18397
|
-
const t =
|
|
18397
|
+
const t = ba.find((n) => e.startsWith(n));
|
|
18398
18398
|
return t || e;
|
|
18399
18399
|
}
|
|
18400
18400
|
function Oo(e) {
|
|
18401
|
-
return e ?
|
|
18401
|
+
return e ? ba.some((t) => e.startsWith(t)) : !1;
|
|
18402
18402
|
}
|
|
18403
18403
|
function $m(e) {
|
|
18404
18404
|
return e ? Oo(e) ? co(e) + Di : e : null;
|
|
@@ -18425,7 +18425,7 @@ const Nm = /* @__PURE__ */ ve({
|
|
|
18425
18425
|
const t = M(() => {
|
|
18426
18426
|
var o;
|
|
18427
18427
|
if (!cn(e.type))
|
|
18428
|
-
return ((o =
|
|
18428
|
+
return ((o = ia[e.type]) == null ? void 0 : o.icon) ?? void 0;
|
|
18429
18429
|
}), n = M(() => xk(e.type)), i = M(() => {
|
|
18430
18430
|
switch (e.type) {
|
|
18431
18431
|
case "call":
|
|
@@ -18551,7 +18551,7 @@ const Nm = /* @__PURE__ */ ve({
|
|
|
18551
18551
|
}, null, 8, ["color", "size"])) : Ce("", !0)
|
|
18552
18552
|
])) : Ce("", !0)
|
|
18553
18553
|
], 2),
|
|
18554
|
-
l.value ? (k(), H(
|
|
18554
|
+
l.value ? (k(), H(rr, {
|
|
18555
18555
|
key: 0,
|
|
18556
18556
|
color: y.value,
|
|
18557
18557
|
position: h.value,
|
|
@@ -18570,7 +18570,7 @@ const Nm = /* @__PURE__ */ ve({
|
|
|
18570
18570
|
}, null, 8, ["id", "position"]),
|
|
18571
18571
|
z("div", a2, [
|
|
18572
18572
|
z("div", s2, he(E.name), 1),
|
|
18573
|
-
O(
|
|
18573
|
+
O(rr, {
|
|
18574
18574
|
color: y.value,
|
|
18575
18575
|
position: h.value,
|
|
18576
18576
|
type: w < v.data.fields.input.length - 1 ? "trident" : "corner"
|
|
@@ -18606,7 +18606,7 @@ const Nm = /* @__PURE__ */ ve({
|
|
|
18606
18606
|
}, null, 8, ["color", "size"])) : Ce("", !0)
|
|
18607
18607
|
])) : Ce("", !0)
|
|
18608
18608
|
], 2),
|
|
18609
|
-
u.value ? (k(), H(
|
|
18609
|
+
u.value ? (k(), H(rr, {
|
|
18610
18610
|
key: 0,
|
|
18611
18611
|
color: y.value,
|
|
18612
18612
|
position: _.value,
|
|
@@ -18625,7 +18625,7 @@ const Nm = /* @__PURE__ */ ve({
|
|
|
18625
18625
|
}, [
|
|
18626
18626
|
z("div", d2, [
|
|
18627
18627
|
z("div", f2, he(E.name), 1),
|
|
18628
|
-
O(
|
|
18628
|
+
O(rr, {
|
|
18629
18629
|
color: y.value,
|
|
18630
18630
|
position: _.value,
|
|
18631
18631
|
type: w < v.data.fields.output.length - 1 ? "trident" : "corner"
|
|
@@ -18777,7 +18777,7 @@ const Nm = /* @__PURE__ */ ve({
|
|
|
18777
18777
|
const {
|
|
18778
18778
|
summary: t,
|
|
18779
18779
|
icon: n
|
|
18780
|
-
} =
|
|
18780
|
+
} = ia[e.type];
|
|
18781
18781
|
return (i, o) => (k(), J("div", {
|
|
18782
18782
|
class: Xe(["dk-node-panel-item", {
|
|
18783
18783
|
[`node-type-${i.type}`]: !0
|
|
@@ -18849,7 +18849,7 @@ const Nm = /* @__PURE__ */ ve({
|
|
|
18849
18849
|
}, 8, ["info"])
|
|
18850
18850
|
]),
|
|
18851
18851
|
z("div", $2, [
|
|
18852
|
-
(k(!0), J(Me, null, Ke(Object.keys(p(
|
|
18852
|
+
(k(!0), J(Me, null, Ke(Object.keys(p(ia)), (d) => (k(), H(A2, {
|
|
18853
18853
|
key: d,
|
|
18854
18854
|
draggable: "true",
|
|
18855
18855
|
type: d,
|
|
@@ -19429,7 +19429,7 @@ function Z2(e) {
|
|
|
19429
19429
|
validate: r
|
|
19430
19430
|
};
|
|
19431
19431
|
}
|
|
19432
|
-
function
|
|
19432
|
+
function wa(e) {
|
|
19433
19433
|
const {
|
|
19434
19434
|
validationConfig: t,
|
|
19435
19435
|
getValidationData: n,
|
|
@@ -19464,7 +19464,7 @@ function ba(e) {
|
|
|
19464
19464
|
}
|
|
19465
19465
|
return $t(() => {
|
|
19466
19466
|
i != null && i.value || u();
|
|
19467
|
-
}),
|
|
19467
|
+
}), jr(async () => {
|
|
19468
19468
|
try {
|
|
19469
19469
|
const c = u(), f = Object.values(c).filter(Boolean).length > 0;
|
|
19470
19470
|
o(!f);
|
|
@@ -19602,7 +19602,7 @@ function li(e, t) {
|
|
|
19602
19602
|
...n.value.edges,
|
|
19603
19603
|
{ source: V, target: e }
|
|
19604
19604
|
];
|
|
19605
|
-
return _s(
|
|
19605
|
+
return _s(ur(ae));
|
|
19606
19606
|
}, B = M(() => {
|
|
19607
19607
|
var ae, fe;
|
|
19608
19608
|
const V = [];
|
|
@@ -19670,7 +19670,7 @@ function ui(e) {
|
|
|
19670
19670
|
}
|
|
19671
19671
|
});
|
|
19672
19672
|
}
|
|
19673
|
-
const
|
|
19673
|
+
const Vo = /* @__PURE__ */ ve({
|
|
19674
19674
|
__name: "NameField",
|
|
19675
19675
|
props: {
|
|
19676
19676
|
name: {},
|
|
@@ -19730,7 +19730,7 @@ const wa = /* @__PURE__ */ ve({
|
|
|
19730
19730
|
fieldNameValidator: h
|
|
19731
19731
|
} = li(e.nodeId, () => n.value.getInnerData()), {
|
|
19732
19732
|
createFieldHandler: _
|
|
19733
|
-
} =
|
|
19733
|
+
} = wa({
|
|
19734
19734
|
validationConfig: {
|
|
19735
19735
|
url: Li(
|
|
19736
19736
|
Ki({ fieldName: "URL" }),
|
|
@@ -19756,7 +19756,7 @@ const wa = /* @__PURE__ */ ve({
|
|
|
19756
19756
|
schema: p(i)
|
|
19757
19757
|
}, {
|
|
19758
19758
|
default: F(() => [
|
|
19759
|
-
O(
|
|
19759
|
+
O(Vo, {
|
|
19760
19760
|
name: p(o).name,
|
|
19761
19761
|
validate: p(c),
|
|
19762
19762
|
onUpdate: p(r)
|
|
@@ -19897,7 +19897,7 @@ const wa = /* @__PURE__ */ ve({
|
|
|
19897
19897
|
}
|
|
19898
19898
|
const E = t("plugins.free-form.datakit.flow_editor.node_properties.jq.label"), {
|
|
19899
19899
|
createFieldHandler: w
|
|
19900
|
-
} =
|
|
19900
|
+
} = wa({
|
|
19901
19901
|
validationConfig: {
|
|
19902
19902
|
jq: Li(
|
|
19903
19903
|
Ki({ fieldName: E }),
|
|
@@ -19918,7 +19918,7 @@ const wa = /* @__PURE__ */ ve({
|
|
|
19918
19918
|
schema: p(i)
|
|
19919
19919
|
}, {
|
|
19920
19920
|
default: F(() => [
|
|
19921
|
-
O(
|
|
19921
|
+
O(Vo, {
|
|
19922
19922
|
name: p(o).name,
|
|
19923
19923
|
validate: p(h),
|
|
19924
19924
|
onUpdate: p(r)
|
|
@@ -20115,7 +20115,7 @@ function oR(e) {
|
|
|
20115
20115
|
typeof i == "object" && i !== null ? t[n] = JSON.stringify(i) : t[n] = String(i);
|
|
20116
20116
|
return t;
|
|
20117
20117
|
}
|
|
20118
|
-
function
|
|
20118
|
+
function ar(e) {
|
|
20119
20119
|
const t = {};
|
|
20120
20120
|
for (const [n, i] of Object.entries(e))
|
|
20121
20121
|
if (i != null) {
|
|
@@ -20178,7 +20178,7 @@ const aR = /* @__PURE__ */ ve({
|
|
|
20178
20178
|
if (!c.value) throw new Error("No selected node");
|
|
20179
20179
|
if (i(e.nodeId, "output", v, !x), x) {
|
|
20180
20180
|
const E = {
|
|
20181
|
-
values:
|
|
20181
|
+
values: ar({ ...h.value.values, [v]: x })
|
|
20182
20182
|
};
|
|
20183
20183
|
a(e.nodeId, E);
|
|
20184
20184
|
}
|
|
@@ -20188,7 +20188,7 @@ const aR = /* @__PURE__ */ ve({
|
|
|
20188
20188
|
const E = Oi(c.value, "output", v);
|
|
20189
20189
|
if (!E) throw new Error("No field found to rename");
|
|
20190
20190
|
const w = {
|
|
20191
|
-
values:
|
|
20191
|
+
values: ar(rR(h.value.values ?? {}, v, x))
|
|
20192
20192
|
};
|
|
20193
20193
|
a(e.nodeId, w, !1), o(e.nodeId, E.id, x);
|
|
20194
20194
|
}
|
|
@@ -20199,7 +20199,7 @@ const aR = /* @__PURE__ */ ve({
|
|
|
20199
20199
|
if (!x) throw new Error("No field found to delete");
|
|
20200
20200
|
r((w = c.value) == null ? void 0 : w.id, x.id, !0, !1);
|
|
20201
20201
|
const E = {
|
|
20202
|
-
values:
|
|
20202
|
+
values: ar({ ...h.value.values })
|
|
20203
20203
|
};
|
|
20204
20204
|
delete E.values[v], a(e.nodeId, E);
|
|
20205
20205
|
}
|
|
@@ -20208,39 +20208,36 @@ const aR = /* @__PURE__ */ ve({
|
|
|
20208
20208
|
const E = { ...h.value.values };
|
|
20209
20209
|
E[v] = x;
|
|
20210
20210
|
const w = {
|
|
20211
|
-
values:
|
|
20211
|
+
values: ar(E)
|
|
20212
20212
|
};
|
|
20213
20213
|
a(e.nodeId, w);
|
|
20214
20214
|
}
|
|
20215
|
-
return (v, x) => {
|
|
20216
|
-
|
|
20217
|
-
|
|
20218
|
-
|
|
20219
|
-
|
|
20220
|
-
|
|
20221
|
-
|
|
20222
|
-
|
|
20223
|
-
|
|
20224
|
-
|
|
20225
|
-
|
|
20226
|
-
|
|
20227
|
-
|
|
20228
|
-
|
|
20229
|
-
|
|
20230
|
-
|
|
20231
|
-
|
|
20232
|
-
|
|
20233
|
-
|
|
20234
|
-
|
|
20235
|
-
|
|
20236
|
-
|
|
20237
|
-
|
|
20238
|
-
|
|
20239
|
-
|
|
20240
|
-
|
|
20241
|
-
_: 1
|
|
20242
|
-
}, 8, ["data", "schema"]);
|
|
20243
|
-
};
|
|
20215
|
+
return (v, x) => (k(), H(zt, {
|
|
20216
|
+
ref: "form",
|
|
20217
|
+
data: h.value,
|
|
20218
|
+
schema: p(u)
|
|
20219
|
+
}, {
|
|
20220
|
+
default: F(() => {
|
|
20221
|
+
var E;
|
|
20222
|
+
return [
|
|
20223
|
+
O(Vo, {
|
|
20224
|
+
name: ((E = c.value) == null ? void 0 : E.name) ?? "",
|
|
20225
|
+
validate: p(d),
|
|
20226
|
+
onUpdate: m
|
|
20227
|
+
}, null, 8, ["name", "validate"]),
|
|
20228
|
+
O(iR, {
|
|
20229
|
+
"field-name-validator": p(l),
|
|
20230
|
+
"key-order": f.value,
|
|
20231
|
+
name: "values",
|
|
20232
|
+
"onAdd:field": _,
|
|
20233
|
+
"onChange:value": b,
|
|
20234
|
+
"onRemove:field": y,
|
|
20235
|
+
"onRename:field": g
|
|
20236
|
+
}, null, 8, ["field-name-validator", "key-order"])
|
|
20237
|
+
];
|
|
20238
|
+
}),
|
|
20239
|
+
_: 1
|
|
20240
|
+
}, 8, ["data", "schema"]));
|
|
20244
20241
|
}
|
|
20245
20242
|
}), sR = { class: "dk-kong-property-item" }, lR = { class: "property-type" }, uR = { class: "property-badges" }, cR = /* @__PURE__ */ ve({
|
|
20246
20243
|
__name: "PropertiesField",
|
|
@@ -20259,7 +20256,7 @@ const aR = /* @__PURE__ */ ve({
|
|
|
20259
20256
|
};
|
|
20260
20257
|
}));
|
|
20261
20258
|
function c(m) {
|
|
20262
|
-
const h =
|
|
20259
|
+
const h = ba.find((_) => {
|
|
20263
20260
|
var g;
|
|
20264
20261
|
return (g = r.property) == null ? void 0 : g.startsWith(_);
|
|
20265
20262
|
});
|
|
@@ -20363,7 +20360,7 @@ const aR = /* @__PURE__ */ ve({
|
|
|
20363
20360
|
}
|
|
20364
20361
|
const {
|
|
20365
20362
|
fields: v
|
|
20366
|
-
} =
|
|
20363
|
+
} = wa({
|
|
20367
20364
|
// Dynamic validation configuration - use function form
|
|
20368
20365
|
validationConfig: () => ({
|
|
20369
20366
|
property: Ki({ fieldName: "Property" }),
|
|
@@ -20385,7 +20382,7 @@ const aR = /* @__PURE__ */ ve({
|
|
|
20385
20382
|
schema: p(r)
|
|
20386
20383
|
}, {
|
|
20387
20384
|
default: F(() => [
|
|
20388
|
-
O(
|
|
20385
|
+
O(Vo, {
|
|
20389
20386
|
name: p(a).name,
|
|
20390
20387
|
validate: p(m),
|
|
20391
20388
|
onUpdate: p(s)
|
|
@@ -20431,7 +20428,7 @@ const aR = /* @__PURE__ */ ve({
|
|
|
20431
20428
|
fieldNameValidator: m
|
|
20432
20429
|
} = li(e.nodeId, () => t.value.getInnerData()), {
|
|
20433
20430
|
createFieldHandler: h
|
|
20434
|
-
} =
|
|
20431
|
+
} = wa({
|
|
20435
20432
|
validationConfig: {
|
|
20436
20433
|
status: Li(
|
|
20437
20434
|
Mm("integer", { fieldName: "Status" }),
|
|
@@ -20450,7 +20447,7 @@ const aR = /* @__PURE__ */ ve({
|
|
|
20450
20447
|
schema: p(n)
|
|
20451
20448
|
}, {
|
|
20452
20449
|
default: F(() => [
|
|
20453
|
-
O(
|
|
20450
|
+
O(Vo, {
|
|
20454
20451
|
name: p(i).name,
|
|
20455
20452
|
validate: p(d),
|
|
20456
20453
|
onUpdate: p(o)
|
|
@@ -20592,7 +20589,7 @@ const aR = /* @__PURE__ */ ve({
|
|
|
20592
20589
|
be550f98: p(Bk),
|
|
20593
20590
|
"2eb355b0": p(Kk)
|
|
20594
20591
|
}));
|
|
20595
|
-
const t =
|
|
20592
|
+
const t = gr(e, "open"), n = re(!1), i = gt("confirm-modal");
|
|
20596
20593
|
WM(async (...a) => {
|
|
20597
20594
|
n.value = !0;
|
|
20598
20595
|
const s = await i.value.open(...a);
|
|
@@ -21218,7 +21215,7 @@ var ig = new yt("tag:yaml.org,2002:set", {
|
|
|
21218
21215
|
ng,
|
|
21219
21216
|
ig
|
|
21220
21217
|
]
|
|
21221
|
-
}), Nn = Object.prototype.hasOwnProperty,
|
|
21218
|
+
}), Nn = Object.prototype.hasOwnProperty, Dr = 1, og = 2, rg = 3, Lr = 4, Xa = 1, OF = 2, sd = 3, PF = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, MF = /[\x85\u2028\u2029]/, RF = /[,\[\]\{\}]/, ag = /^(?:!|!!|![a-z\-]+!)$/i, sg = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
21222
21219
|
function ld(e) {
|
|
21223
21220
|
return Object.prototype.toString.call(e);
|
|
21224
21221
|
}
|
|
@@ -21274,13 +21271,13 @@ function cg(e, t) {
|
|
|
21274
21271
|
function Ie(e, t) {
|
|
21275
21272
|
throw cg(e, t);
|
|
21276
21273
|
}
|
|
21277
|
-
function
|
|
21274
|
+
function Kr(e, t) {
|
|
21278
21275
|
e.onWarning && e.onWarning.call(null, cg(e, t));
|
|
21279
21276
|
}
|
|
21280
21277
|
var cd = {
|
|
21281
21278
|
YAML: function(t, n, i) {
|
|
21282
21279
|
var o, r, a;
|
|
21283
|
-
t.version !== null && Ie(t, "duplication of %YAML directive"), i.length !== 1 && Ie(t, "YAML directive accepts exactly one argument"), o = /^([0-9]+)\.([0-9]+)$/.exec(i[0]), o === null && Ie(t, "ill-formed argument of the YAML directive"), r = parseInt(o[1], 10), a = parseInt(o[2], 10), r !== 1 && Ie(t, "unacceptable YAML version of the document"), t.version = i[0], t.checkLineBreaks = a < 2, a !== 1 && a !== 2 &&
|
|
21280
|
+
t.version !== null && Ie(t, "duplication of %YAML directive"), i.length !== 1 && Ie(t, "YAML directive accepts exactly one argument"), o = /^([0-9]+)\.([0-9]+)$/.exec(i[0]), o === null && Ie(t, "ill-formed argument of the YAML directive"), r = parseInt(o[1], 10), a = parseInt(o[2], 10), r !== 1 && Ie(t, "unacceptable YAML version of the document"), t.version = i[0], t.checkLineBreaks = a < 2, a !== 1 && a !== 2 && Kr(t, "unsupported YAML version of the document");
|
|
21284
21281
|
},
|
|
21285
21282
|
TAG: function(t, n, i) {
|
|
21286
21283
|
var o, r;
|
|
@@ -21346,7 +21343,7 @@ function st(e, t, n) {
|
|
|
21346
21343
|
else
|
|
21347
21344
|
break;
|
|
21348
21345
|
}
|
|
21349
|
-
return n !== -1 && i !== 0 && e.lineIndent < n &&
|
|
21346
|
+
return n !== -1 && i !== 0 && e.lineIndent < n && Kr(e, "deficient indentation"), i;
|
|
21350
21347
|
}
|
|
21351
21348
|
function Ea(e) {
|
|
21352
21349
|
var t = e.position, n;
|
|
@@ -21430,7 +21427,7 @@ function zF(e, t) {
|
|
|
21430
21427
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = s), b = e.input.charCodeAt(++e.position); b !== 0; ) {
|
|
21431
21428
|
if (st(e, !0, t), b = e.input.charCodeAt(e.position), b === d)
|
|
21432
21429
|
return e.position++, e.tag = a, e.anchor = l, e.kind = m ? "mapping" : "sequence", e.result = s, !0;
|
|
21433
|
-
n ? b === 44 && Ie(e, "expected the node content, but found ','") : Ie(e, "missed comma between flow collection entries"), g = _ = y = null, c = f = !1, b === 63 && (u = e.input.charCodeAt(e.position + 1), Tt(u) && (c = f = !0, e.position++, st(e, !0, t))), i = e.line, o = e.lineStart, r = e.position, Bi(e, t,
|
|
21430
|
+
n ? b === 44 && Ie(e, "expected the node content, but found ','") : Ie(e, "missed comma between flow collection entries"), g = _ = y = null, c = f = !1, b === 63 && (u = e.input.charCodeAt(e.position + 1), Tt(u) && (c = f = !0, e.position++, st(e, !0, t))), i = e.line, o = e.lineStart, r = e.position, Bi(e, t, Dr, !1, !0), g = e.tag, _ = e.result, st(e, !0, t), b = e.input.charCodeAt(e.position), (f || e.line === i) && b === 58 && (c = !0, b = e.input.charCodeAt(++e.position), st(e, !0, t), Bi(e, t, Dr, !1, !0), y = e.result), m ? _i(e, s, h, g, _, y, i, o, r) : c ? s.push(_i(e, null, h, g, _, y, i, o, r)) : s.push(_), st(e, !0, t), b = e.input.charCodeAt(e.position), b === 44 ? (n = !0, b = e.input.charCodeAt(++e.position)) : n = !1;
|
|
21434
21431
|
}
|
|
21435
21432
|
Ie(e, "unexpected end of the stream within a flow collection");
|
|
21436
21433
|
}
|
|
@@ -21519,7 +21516,7 @@ function HF(e, t, n) {
|
|
|
21519
21516
|
else
|
|
21520
21517
|
return e.tag = u, e.anchor = d, !0;
|
|
21521
21518
|
}
|
|
21522
|
-
if ((e.line === r || e.lineIndent > t) && (g && (a = e.line, s = e.lineStart, l = e.position), Bi(e, t,
|
|
21519
|
+
if ((e.line === r || e.lineIndent > t) && (g && (a = e.line, s = e.lineStart, l = e.position), Bi(e, t, Lr, !0, o) && (g ? h = e.result : _ = e.result), g || (_i(e, c, f, m, h, _, a, s, l), m = h = _ = null), st(e, !0, -1), b = e.input.charCodeAt(e.position)), (e.line === r || e.lineIndent > t) && b !== 0)
|
|
21523
21520
|
Ie(e, "bad indentation of a mapping entry");
|
|
21524
21521
|
else if (e.lineIndent < t)
|
|
21525
21522
|
break;
|
|
@@ -21563,10 +21560,10 @@ function WF(e) {
|
|
|
21563
21560
|
}
|
|
21564
21561
|
function Bi(e, t, n, i, o) {
|
|
21565
21562
|
var r, a, s, l = 1, u = !1, d = !1, c, f, m, h, _, g;
|
|
21566
|
-
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, r = a = s =
|
|
21563
|
+
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, r = a = s = Lr === n || rg === n, i && st(e, !0, -1) && (u = !0, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)), l === 1)
|
|
21567
21564
|
for (; GF(e) || YF(e); )
|
|
21568
21565
|
st(e, !0, -1) ? (u = !0, s = r, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)) : s = !1;
|
|
21569
|
-
if (s && (s = u || o), (l === 1 ||
|
|
21566
|
+
if (s && (s = u || o), (l === 1 || Lr === n) && (Dr === n || og === n ? _ = t : _ = t + 1, g = e.position - e.lineStart, l === 1 ? s && (fd(e, g) || HF(e, g, _)) || zF(e, _) ? d = !0 : (a && UF(e, _) || jF(e, _) || qF(e, _) ? d = !0 : WF(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && Ie(e, "alias node should not have any properties")) : VF(e, _, Dr === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && fd(e, g))), e.tag === null)
|
|
21570
21567
|
e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
21571
21568
|
else if (e.tag === "?") {
|
|
21572
21569
|
for (e.result !== null && e.kind !== "scalar" && Ie(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, f = e.implicitTypes.length; c < f; c += 1)
|
|
@@ -21606,9 +21603,9 @@ function XF(e) {
|
|
|
21606
21603
|
a = e.input.charCodeAt(++e.position);
|
|
21607
21604
|
o.push(e.input.slice(n, e.position));
|
|
21608
21605
|
}
|
|
21609
|
-
a !== 0 && jl(e), Nn.call(cd, i) ? cd[i](e, i, o) :
|
|
21606
|
+
a !== 0 && jl(e), Nn.call(cd, i) ? cd[i](e, i, o) : Kr(e, 'unknown document directive "' + i + '"');
|
|
21610
21607
|
}
|
|
21611
|
-
if (st(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, st(e, !0, -1)) : r && Ie(e, "directives end mark is expected"), Bi(e, e.lineIndent - 1,
|
|
21608
|
+
if (st(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, st(e, !0, -1)) : r && Ie(e, "directives end mark is expected"), Bi(e, e.lineIndent - 1, Lr, !1, !0), st(e, !0, -1), e.checkLineBreaks && MF.test(e.input.slice(t, e.position)) && Kr(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ea(e)) {
|
|
21612
21609
|
e.input.charCodeAt(e.position) === 46 && (e.position += 3, st(e, !0, -1));
|
|
21613
21610
|
return;
|
|
21614
21611
|
}
|
|
@@ -21646,7 +21643,7 @@ function JF(e, t) {
|
|
|
21646
21643
|
var QF = ZF, eD = JF, fg = {
|
|
21647
21644
|
loadAll: QF,
|
|
21648
21645
|
load: eD
|
|
21649
|
-
}, pg = Object.prototype.toString, mg = Object.prototype.hasOwnProperty, zl = 65279, tD = 9, Mo = 10, nD = 13, iD = 32, oD = 33, rD = 34, Vs = 35, aD = 37, sD = 38, lD = 39, uD = 42, gg = 44, cD = 45,
|
|
21646
|
+
}, pg = Object.prototype.toString, mg = Object.prototype.hasOwnProperty, zl = 65279, tD = 9, Mo = 10, nD = 13, iD = 32, oD = 33, rD = 34, Vs = 35, aD = 37, sD = 38, lD = 39, uD = 42, gg = 44, cD = 45, Br = 58, dD = 61, fD = 62, pD = 63, mD = 64, hg = 91, vg = 93, gD = 96, yg = 123, hD = 124, _g = 125, kt = {};
|
|
21650
21647
|
kt[0] = "\\0";
|
|
21651
21648
|
kt[7] = "\\a";
|
|
21652
21649
|
kt[8] = "\\b";
|
|
@@ -21721,7 +21718,7 @@ function kD(e, t) {
|
|
|
21721
21718
|
return !0;
|
|
21722
21719
|
return !1;
|
|
21723
21720
|
}
|
|
21724
|
-
function
|
|
21721
|
+
function Vr(e) {
|
|
21725
21722
|
return e === iD || e === tD;
|
|
21726
21723
|
}
|
|
21727
21724
|
function Fo(e) {
|
|
@@ -21731,20 +21728,20 @@ function md(e) {
|
|
|
21731
21728
|
return Fo(e) && e !== zl && e !== nD && e !== Mo;
|
|
21732
21729
|
}
|
|
21733
21730
|
function gd(e, t, n) {
|
|
21734
|
-
var i = md(e), o = i && !
|
|
21731
|
+
var i = md(e), o = i && !Vr(e);
|
|
21735
21732
|
return (
|
|
21736
21733
|
// ns-plain-safe
|
|
21737
21734
|
(n ? (
|
|
21738
21735
|
// c = flow-in
|
|
21739
21736
|
i
|
|
21740
|
-
) : i && e !== gg && e !== hg && e !== vg && e !== yg && e !== _g) && e !== Vs && !(t ===
|
|
21737
|
+
) : i && e !== gg && e !== hg && e !== vg && e !== yg && e !== _g) && e !== Vs && !(t === Br && !o) || md(t) && !Vr(t) && e === Vs || t === Br && o
|
|
21741
21738
|
);
|
|
21742
21739
|
}
|
|
21743
21740
|
function CD(e) {
|
|
21744
|
-
return Fo(e) && e !== zl && !
|
|
21741
|
+
return Fo(e) && e !== zl && !Vr(e) && e !== cD && e !== pD && e !== Br && e !== gg && e !== hg && e !== vg && e !== yg && e !== _g && e !== Vs && e !== sD && e !== uD && e !== oD && e !== hD && e !== dD && e !== fD && e !== lD && e !== rD && e !== aD && e !== mD && e !== gD;
|
|
21745
21742
|
}
|
|
21746
21743
|
function xD(e) {
|
|
21747
|
-
return !
|
|
21744
|
+
return !Vr(e) && e !== Br;
|
|
21748
21745
|
}
|
|
21749
21746
|
function fo(e, t) {
|
|
21750
21747
|
var n = e.charCodeAt(t), i;
|
|
@@ -22090,7 +22087,7 @@ const XD = `nodes:
|
|
|
22090
22087
|
u.focus();
|
|
22091
22088
|
}
|
|
22092
22089
|
return $t(() => {
|
|
22093
|
-
const l =
|
|
22090
|
+
const l = zo.editor.create(r.value, {
|
|
22094
22091
|
language: "yaml",
|
|
22095
22092
|
automaticLayout: !0,
|
|
22096
22093
|
minimap: {
|
|
@@ -22104,7 +22101,7 @@ const XD = `nodes:
|
|
|
22104
22101
|
autoIndent: "keep"
|
|
22105
22102
|
});
|
|
22106
22103
|
a.value = l, e.config && Object.keys(e.config).length > 0 && l.setValue(
|
|
22107
|
-
wd.dump(
|
|
22104
|
+
wd.dump(hr(e.config), {
|
|
22108
22105
|
schema: Us,
|
|
22109
22106
|
noArrayIndent: !0
|
|
22110
22107
|
})
|
|
@@ -22115,7 +22112,7 @@ const XD = `nodes:
|
|
|
22115
22112
|
schema: Us,
|
|
22116
22113
|
json: !0
|
|
22117
22114
|
});
|
|
22118
|
-
|
|
22115
|
+
zo.editor.setModelMarkers(u, Za, []), o("change", c);
|
|
22119
22116
|
} catch (c) {
|
|
22120
22117
|
const { message: f, mark: m } = c, { line: h, column: _ } = m || { line: 0, column: 0 }, g = f.split(`
|
|
22121
22118
|
`)[0], y = [
|
|
@@ -22125,14 +22122,14 @@ const XD = `nodes:
|
|
|
22125
22122
|
endLineNumber: h + 1,
|
|
22126
22123
|
endColumn: _ + 2,
|
|
22127
22124
|
message: g,
|
|
22128
|
-
severity:
|
|
22125
|
+
severity: zo.MarkerSeverity.Error,
|
|
22129
22126
|
source: Za
|
|
22130
22127
|
}
|
|
22131
22128
|
];
|
|
22132
|
-
|
|
22129
|
+
zo.editor.setModelMarkers(u, Za, y), o("error", g);
|
|
22133
22130
|
}
|
|
22134
22131
|
});
|
|
22135
|
-
}),
|
|
22132
|
+
}), jr(() => {
|
|
22136
22133
|
var l;
|
|
22137
22134
|
(l = a.value) == null || l.dispose();
|
|
22138
22135
|
}), t({
|
|
@@ -22321,7 +22318,7 @@ const XD = `nodes:
|
|
|
22321
22318
|
"reset-label-path": "reset"
|
|
22322
22319
|
}, {
|
|
22323
22320
|
tools: F(({ name: d }) => [
|
|
22324
|
-
O(
|
|
22321
|
+
O(na, {
|
|
22325
22322
|
appearance: "tabs",
|
|
22326
22323
|
"item-label": (c, f) => p(i)("plugins.free-form.ai-mcp.tool_item_label", { index: f + 1 }),
|
|
22327
22324
|
name: d,
|
|
@@ -22444,7 +22441,7 @@ const XD = `nodes:
|
|
|
22444
22441
|
credential: r.credential,
|
|
22445
22442
|
enableRedisPartial: r.enableRedisPartial,
|
|
22446
22443
|
experimentalRenders: r.config.app === "konnect" ? r.config.experimentalRenders : void 0
|
|
22447
|
-
}), { convertToDotNotation: l, unFlattenObject: u, dismissField: d, isObjectEmpty: c, unsetNullForeignKey: f } = Ze.usePluginHelpers(), m = Ze.useExperimentalFreeForms(), { objectsAreEqual: h } =
|
|
22444
|
+
}), { convertToDotNotation: l, unFlattenObject: u, dismissField: d, isObjectEmpty: c, unsetNullForeignKey: f } = Ze.usePluginHelpers(), m = Ze.useExperimentalFreeForms(), { objectsAreEqual: h } = zr(), { i18n: { t: _ } } = qe(), g = (G, ie) => {
|
|
22448
22445
|
let se = `${r.config.apiBaseUrl}${nt.form[r.config.app].entityGetOne}`;
|
|
22449
22446
|
return r.config.app === "konnect" ? se = se.replace(/{controlPlaneId}/gi, r.config.controlPlaneId || "") : r.config.app === "kongManager" && (se = se.replace(/\/{workspace}/gi, r.config.workspace ? `/${r.config.workspace}` : "")), se = se.replace(/{entity}/gi, G), se = se.replace(/{id}/gi, ie), se;
|
|
22450
22447
|
}, y = (G) => {
|
|
@@ -22467,7 +22464,7 @@ const XD = `nodes:
|
|
|
22467
22464
|
return ue;
|
|
22468
22465
|
}) : a.get(se, { params: ie });
|
|
22469
22466
|
}
|
|
22470
|
-
}), tt(
|
|
22467
|
+
}), tt(Hr, r.config);
|
|
22471
22468
|
const x = re(""), E = re(""), w = re(null), D = re({}), $ = Sn({}), P = Sn({}), ee = M(() => {
|
|
22472
22469
|
var G;
|
|
22473
22470
|
return (G = w.value) == null ? void 0 : G.options;
|
|
@@ -22853,11 +22850,11 @@ const XD = `nodes:
|
|
|
22853
22850
|
emits: ["cancel", "error:fetch-schema", "error", "loading", "update", "model-updated", "showNewPartialModal", "globalAction"],
|
|
22854
22851
|
setup(e, { emit: t }) {
|
|
22855
22852
|
var ce;
|
|
22856
|
-
const n = t, i = e, o =
|
|
22853
|
+
const n = t, i = e, o = Ur(), { i18n: { t: r } } = Ze.useI18n(), { customSchemas: a, typedefs: s } = Ze.useSchemas({
|
|
22857
22854
|
app: i.config.app,
|
|
22858
22855
|
credential: i.credential,
|
|
22859
22856
|
experimentalRenders: i.config.app === "konnect" ? i.config.experimentalRenders : void 0
|
|
22860
|
-
}), { formatPluginFieldLabel: l } = Ze.usePluginHelpers(), { getMessageFromError: u } = ji(), { capitalize: d } =
|
|
22857
|
+
}), { formatPluginFieldLabel: l } = Ze.usePluginHelpers(), { getMessageFromError: u } = ji(), { capitalize: d } = qr(), { objectsAreEqual: c } = zr(), { axiosInstance: f } = On((ce = i.config) == null ? void 0 : ce.axiosRequestConfig), m = re(!1), h = M(() => !!i.pluginId), _ = M(() => i.pluginId ? Rn.Edit : Rn.Create), g = re(void 0), y = re(void 0), b = M(() => !!(i.credential && i.config.entityId)), v = re(void 0), x = re({}), E = re(), w = re();
|
|
22861
22858
|
tt(jf, {
|
|
22862
22859
|
redisType: E,
|
|
22863
22860
|
redisPath: w,
|
|
@@ -23045,7 +23042,7 @@ const XD = `nodes:
|
|
|
23045
23042
|
q[we].label = De.split("-").map(l).join(".");
|
|
23046
23043
|
} else
|
|
23047
23044
|
q[we].label = l(we);
|
|
23048
|
-
if ((j === "config" || j.startsWith("config-")) && (Gi = _e[Ue]) != null && Gi.description && (q[we].help =
|
|
23045
|
+
if ((j === "config" || j.startsWith("config-")) && (Gi = _e[Ue]) != null && Gi.description && (q[we].help = lr.parse(_e[Ue].description, { mangle: !1, headerIds: !1 })), ke.type === "map") {
|
|
23049
23046
|
if (q[we].type = "object-advanced", q[we].values = ke.values, ke.values.type === "array") {
|
|
23050
23047
|
const { type: De } = ke.values.elements || {};
|
|
23051
23048
|
q[we].schema = {
|
|
@@ -23091,14 +23088,14 @@ const XD = `nodes:
|
|
|
23091
23088
|
}), ke.elements && ke.type === "array") {
|
|
23092
23089
|
const De = ke.elements;
|
|
23093
23090
|
if (q[we].referenceable = De.referenceable, q[we].elements = De, ["string", "integer", "number"].includes(De.type) && !De.one_of) {
|
|
23094
|
-
const { id: ht, help: ot, label: ze, hint: _t, values: Nt, referenceable: Pn, model: Mn } = q[we], { inputAttributes:
|
|
23095
|
-
|
|
23091
|
+
const { id: ht, help: ot, label: ze, hint: _t, values: Nt, referenceable: Pn, model: Mn } = q[we], { inputAttributes: jo, ...xg } = JSON.parse(JSON.stringify(We));
|
|
23092
|
+
jo.type = De.type === "string" ? "text" : "number", q[we] = { id: ht, help: ot, label: ze, hint: _t, values: Nt, referenceable: Pn, model: Mn, inputAttributes: jo, ...xg };
|
|
23096
23093
|
}
|
|
23097
23094
|
}
|
|
23098
23095
|
if (ke.hint && (q[we].hint = ke.hint), ge && !ge.overwriteDefault && Object.keys(ge).forEach((De) => {
|
|
23099
23096
|
if (De === we) {
|
|
23100
|
-
const { help: ht, label: ot, hint: ze, values: _t, referenceable: Nt, elements: Pn } = q[we], { help: Mn, ...
|
|
23101
|
-
q[we] = { help: ht, label: ot, hint: ze, values: _t, referenceable: Nt, elements: Pn, ...
|
|
23097
|
+
const { help: ht, label: ot, hint: ze, values: _t, referenceable: Nt, elements: Pn } = q[we], { help: Mn, ...jo } = ge[De];
|
|
23098
|
+
q[we] = { help: ht, label: ot, hint: ze, values: _t, referenceable: Nt, elements: Pn, ...jo }, typeof Mn == "string" && (q[we].help = lr.parse(Mn, { mangle: !1, headerIds: !1 }));
|
|
23102
23099
|
}
|
|
23103
23100
|
}), ke.type === "array" && ((Yi = ke.elements) == null ? void 0 : Yi.type) === "record" && Array.isArray(ke.elements.fields)) {
|
|
23104
23101
|
let De = {};
|
|
@@ -23108,7 +23105,7 @@ const XD = `nodes:
|
|
|
23108
23105
|
if (Array.isArray(ht))
|
|
23109
23106
|
for (const ot of q[we].items.schema.fields) {
|
|
23110
23107
|
const ze = (Ji = De[ot.model]) == null ? void 0 : Ji.description;
|
|
23111
|
-
ot.help === void 0 && typeof ze == "string" && (ot.help =
|
|
23108
|
+
ot.help === void 0 && typeof ze == "string" && (ot.help = lr.parse(ze, { mangle: !1, headerIds: !1 }));
|
|
23112
23109
|
}
|
|
23113
23110
|
if (ht || (q[we].type = "array", q[we].newElementButtonLabelClasses = "kong-form-new-element-button-label", q[we].fieldClasses = "array-card-container-wrapper", q[we].itemContainerComponent = "FieldArrayCardContainer", q[we].items = {
|
|
23114
23111
|
type: "object",
|
|
@@ -23562,7 +23559,7 @@ const XD = `nodes:
|
|
|
23562
23559
|
emits: ["error", "click:learn-more", "copy:success", "copy:error", "delete:success", "toggle-enabled"],
|
|
23563
23560
|
setup(e, { emit: t }) {
|
|
23564
23561
|
var A, N;
|
|
23565
|
-
const n = Ze.usePluginMetaData(), i = t, o = e, { i18n: { t: r } } = Ze.useI18n(), a =
|
|
23562
|
+
const n = Ze.usePluginMetaData(), i = t, o = e, { i18n: { t: r } } = Ze.useI18n(), a = Ur(), { axiosInstance: s } = On((A = o.config) == null ? void 0 : A.axiosRequestConfig), { hasRecords: l, handleStateChange: u } = Lg(() => v.value), d = M(() => l.value && o.config.app === "konnect"), c = M(() => !!o.config.entityId), f = M(() => {
|
|
23566
23563
|
var L;
|
|
23567
23564
|
return ((L = o.config) == null ? void 0 : L.entityType) === "consumers";
|
|
23568
23565
|
}), m = M(() => {
|
|
@@ -24071,7 +24068,7 @@ const XD = `nodes:
|
|
|
24071
24068
|
},
|
|
24072
24069
|
emits: ["plugin-clicked", "custom-plugin-delete"],
|
|
24073
24070
|
setup(e, { emit: t }) {
|
|
24074
|
-
const n = t, i = e, o =
|
|
24071
|
+
const n = t, i = e, o = Ur(), { i18n: { t: r } } = Ze.useI18n(), a = M(() => i.config.app === "konnect" ? i.config.controlPlaneId : ""), s = M(() => !!(!i.plugin.available || i.plugin.disabledMessage)), l = M(() => !!(m.value && !f.value && i.navigateOnClick && a.value && (i.canDeleteCustomPlugin || i.canEditCustomPlugin))), u = () => {
|
|
24075
24072
|
o.push(i.config.getCreateRoute(i.plugin.id));
|
|
24076
24073
|
}, d = () => {
|
|
24077
24074
|
i.navigateOnClick ? u() : c();
|
|
@@ -24470,7 +24467,7 @@ const XD = `nodes:
|
|
|
24470
24467
|
}),
|
|
24471
24468
|
emits: /* @__PURE__ */ ts(["plugin-clicked"], ["update:modelValue"]),
|
|
24472
24469
|
setup(e, { emit: t }) {
|
|
24473
|
-
const n =
|
|
24470
|
+
const n = gr(e, "modelValue"), i = e, o = t, { i18n: { t: r } } = Ze.useI18n(), { getTallestPluginCardHeight: a, getToggleVisibility: s } = Ze.usePluginHelpers(), l = re(Qa), u = re(null), d = re(null), c = M(() => n.value ? {
|
|
24474
24471
|
overflowY: "hidden",
|
|
24475
24472
|
maxHeight: `${l.value}px`
|
|
24476
24473
|
} : {}), f = re(!1), m = () => {
|
|
@@ -24710,7 +24707,7 @@ const XD = `nodes:
|
|
|
24710
24707
|
emits: ["loading", "plugin-clicked", "delete-custom:success"],
|
|
24711
24708
|
setup(e, { emit: t }) {
|
|
24712
24709
|
var U;
|
|
24713
|
-
const n = e, i = t, o = Xg(), r =
|
|
24710
|
+
const n = e, i = t, o = Xg(), r = Ur(), { i18n: { t: a } } = Ze.useI18n(), { pluginMetaData: s } = Ze.usePluginMetaData(), { getMessageFromError: l } = ji(), { sortAlpha: u, objectsAreEqual: d } = zr(), c = re(""), f = re(!0), m = re(!1), h = re(""), _ = re([]), g = re([]), y = re({}), b = re([]), { axiosInstance: v } = On((U = n.config) == null ? void 0 : U.axiosRequestConfig), x = M(() => y.value ? Object.entries(y.value).filter(([K]) => K !== Ve.CUSTOM_PLUGINS).reduce((K, [, V]) => {
|
|
24714
24711
|
for (const ae of V)
|
|
24715
24712
|
K[ae.id] = ae;
|
|
24716
24713
|
return K;
|
|
@@ -24978,7 +24975,7 @@ const XD = `nodes:
|
|
|
24978
24975
|
emits: ["loading", "fetch:error", "error:fetch-schema", "fetch:success", "navigation-click"],
|
|
24979
24976
|
setup(e, { emit: t }) {
|
|
24980
24977
|
var b;
|
|
24981
|
-
const n = t, i = e, { i18n: { t: o } } = Ze.useI18n(), r = Ze.usePluginMetaData(), { setFieldType: a } = Ze.usePluginHelpers(), { getPropValue: s } =
|
|
24978
|
+
const n = t, i = e, { i18n: { t: o } } = Ze.useI18n(), r = Ze.usePluginMetaData(), { setFieldType: a } = Ze.usePluginHelpers(), { getPropValue: s } = zr(), l = M(
|
|
24982
24979
|
() => {
|
|
24983
24980
|
var v;
|
|
24984
24981
|
return (v = nt.item[i.config.app]) == null ? void 0 : v[i.scopedEntityType ? "forEntity" : "all"].replace(/{entityType}/gi, i.scopedEntityType).replace(/{entityId}/gi, i.scopedEntityId).concat(i.expandPartial ? "?expand_partials=true" : "");
|