@kong-ui-public/entities-plugins 9.38.0 → 9.38.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,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as be, toRef as Ne, inject as Xe, ref as oe, computed as j, watch as Oe, onMounted as xt, resolveComponent as Se, openBlock as E, createElementBlock as J, createVNode as B, markRaw as Cn, provide as Je, createBlock as W, withCtx as L, createElementVNode as G, Fragment as
|
|
2
|
-
import { useStringHelpers as or, ConfigurationSchemaType as vt, useAxios as pn, useErrors as
|
|
1
|
+
import { defineComponent as be, toRef as Ne, inject as Xe, ref as oe, computed as j, watch as Oe, onMounted as xt, resolveComponent as Se, openBlock as E, createElementBlock as J, createVNode as B, markRaw as Cn, provide as Je, createBlock as W, withCtx as L, createElementVNode as G, Fragment as Re, renderList as ze, toDisplayString as he, unref as p, createCommentVNode as Ce, toValue as $e, useAttrs as pi, reactive as ln, useSlots as Jt, createPropsRestProxy as qt, normalizeProps as ni, mergeProps as Ye, createSlots as Qe, renderSlot as Pe, resolveDynamicComponent as lt, Transition as np, mergeModels as No, useModel as Mo, onBeforeMount as fn, normalizeClass as ot, createTextVNode as De, isRef as io, useTemplateRef as ii, withKeys as $s, withModifiers as It, nextTick as st, useCssVars as Ka, guardReactiveProps as Vi, watchEffect as ip, shallowRef as Ro, onUnmounted as ir, h as Be, getCurrentScope as Bu, effectScope as qu, getCurrentInstance as oo, onScopeDispose as Ao, normalizeStyle as Ct, onBeforeUnmount as Ba, isMemoSame as op, toRefs as rp, customRef as ap, readonly as sp, toRaw as lp, Teleport as Jr } from "vue";
|
|
2
|
+
import { useStringHelpers as or, ConfigurationSchemaType as vt, useAxios as pn, useErrors as gi, useDebouncedFilter as up, EntityFormBlock as Ps, useHelpers as rr, EntityBaseFormType as yn, EntityBaseForm as cp, SupportedEntityType as Qr, JsonCodeBlock as dp, YamlCodeBlock as fp, TerraformCodeBlock as pp, useTableState as gp, useGatewayFeatureSupported as mp, useFetcher as hp, useDeleteUrlBuilder as vp, FetcherStatus as yp, EntityBaseTable as bp, EntityFilter as _p, PermissionsWrapper as bn, TableTags as wp, EntityEmptyState as Ep, EntityToggleModal as Sp, EntityDeleteModal as Vu, EntityTypes as ju, ConfigurationSchemaSection as qn, useSchemaProvider as kp, EntityBaseConfigCard as Cp, InternalLinkItem as Ci } from "@kong-ui-public/entities-shared";
|
|
3
3
|
import { marked as To } from "marked";
|
|
4
4
|
import { useRouter as ar, useRoute as xp } from "vue-router";
|
|
5
5
|
import { createI18n as ft, i18nTComponent as Ap } from "@kong-ui-public/i18n";
|
|
6
6
|
import { PluginGroup as Ke, PLUGIN_GROUP_AND_SCOPE_MAP as ae, PluginScope as ht } from "@kong-ui-public/entities-plugins-metadata";
|
|
7
7
|
import { PluginGroup as LO, PluginScope as KO } from "@kong-ui-public/entities-plugins-metadata";
|
|
8
|
-
import { composables as Tp, FORMS_CONFIG as sr, getSharedFormName as zu, customFields as ea, AUTOFILL_SLOT as ro, VueFormGenerator as
|
|
8
|
+
import { composables as Tp, FORMS_CONFIG as sr, getSharedFormName as zu, customFields as ea, AUTOFILL_SLOT as ro, VueFormGenerator as Ri, AUTOFILL_SLOT_NAME as Jn, FORMS_API_KEY as Ip, sharedForms as Os } from "@kong-ui-public/forms";
|
|
9
9
|
import { VaultSecretPickerProvider as Ir, VaultSecretPicker as $p } from "@kong-ui-public/entities-vaults";
|
|
10
10
|
import "@kong-ui-public/entities-vaults/dist/style.css";
|
|
11
|
-
import { ChevronDownIcon as Pp, TrashIcon as Do, AddIcon as
|
|
12
|
-
import { KTextArea as Up, KInput as qa, KCheckbox as Hp, KLabel as Gp, KButton as
|
|
11
|
+
import { ChevronDownIcon as Pp, TrashIcon as Do, AddIcon as mi, RemoveIcon as Op, ArrowLeftIcon as Np, ChevronDoubleLeftIcon as Mp, ChevronDoubleRightIcon as Rp, NetworkIcon as Dp, CodeblockIcon as Uu, GatewayIcon as Fp, StackIcon as Lp, VitalsIcon as Kp, UnfoldMoreIcon as Ns, ExternalLinkIcon as Bp, SparklesIcon as qp, DesignIcon as Vp, BookIcon as Ms, PlugIcon as jp, MoreIcon as zp } from "@kong/icons";
|
|
12
|
+
import { KTextArea as Up, KInput as qa, KCheckbox as Hp, KLabel as Gp, KButton as oi, KMultiselect as Yp, KSelect as Wp, KCard as Rs, KCollapse as Hu, KRadio as ta, KTooltip as Ds, KSlideout as Xp, KAlert as Zp, KSegmentedControl as Jp } from "@kong/kongponents";
|
|
13
13
|
import { PartialType as co, RedisConfigurationForm as Qp } from "@kong-ui-public/entities-redis-configurations";
|
|
14
14
|
import "@kong-ui-public/entities-redis-configurations/dist/style.css";
|
|
15
15
|
import { toArray as eg, unrefElement as tg, tryOnScopeDispose as ng, createGlobalState as ig, useLocalStorage as Fs, createInjectionState as og, useScrollLock as rg } from "@vueuse/core";
|
|
@@ -1018,7 +1018,7 @@ const _n = (e) => {
|
|
|
1018
1018
|
...e
|
|
1019
1019
|
};
|
|
1020
1020
|
}
|
|
1021
|
-
},
|
|
1021
|
+
}, ri = {
|
|
1022
1022
|
getColumnFields: _n,
|
|
1023
1023
|
tags: Dn,
|
|
1024
1024
|
id: yg,
|
|
@@ -1216,12 +1216,12 @@ const _n = (e) => {
|
|
|
1216
1216
|
]);
|
|
1217
1217
|
};
|
|
1218
1218
|
}
|
|
1219
|
-
}),
|
|
1219
|
+
}), Me = (e, t) => {
|
|
1220
1220
|
const n = e.__vccOpts || e;
|
|
1221
1221
|
for (const [i, o] of t)
|
|
1222
1222
|
n[i] = o;
|
|
1223
1223
|
return n;
|
|
1224
|
-
}, Ig = /* @__PURE__ */
|
|
1224
|
+
}, Ig = /* @__PURE__ */ Me(Tg, [["__scopeId", "data-v-29b128ff"]]), Bs = {
|
|
1225
1225
|
fields: [
|
|
1226
1226
|
{
|
|
1227
1227
|
key: {
|
|
@@ -1490,7 +1490,7 @@ const _n = (e) => {
|
|
|
1490
1490
|
}
|
|
1491
1491
|
},
|
|
1492
1492
|
{
|
|
1493
|
-
redirect_uris:
|
|
1493
|
+
redirect_uris: ri.fields.arrayItems({
|
|
1494
1494
|
label: "Redirect URI(s)",
|
|
1495
1495
|
hint: `One or more URLs in your app where users will be sent after
|
|
1496
1496
|
authorization (RFC 6742 Section 3.1.2)`,
|
|
@@ -1501,7 +1501,7 @@ const _n = (e) => {
|
|
|
1501
1501
|
})
|
|
1502
1502
|
},
|
|
1503
1503
|
{
|
|
1504
|
-
tags:
|
|
1504
|
+
tags: ri.tags
|
|
1505
1505
|
}
|
|
1506
1506
|
]
|
|
1507
1507
|
}, Lg = [
|
|
@@ -2587,7 +2587,7 @@ const _n = (e) => {
|
|
|
2587
2587
|
},
|
|
2588
2588
|
help: "The Gateway Service that this plugin configuration will target"
|
|
2589
2589
|
},
|
|
2590
|
-
tags:
|
|
2590
|
+
tags: ri.tags,
|
|
2591
2591
|
protocols: {
|
|
2592
2592
|
id: "protocols",
|
|
2593
2593
|
default: [],
|
|
@@ -2737,7 +2737,7 @@ const _n = (e) => {
|
|
|
2737
2737
|
"config-rewrite"
|
|
2738
2738
|
].reduce((e, t) => ({
|
|
2739
2739
|
...e,
|
|
2740
|
-
[t]:
|
|
2740
|
+
[t]: ri.fields.arrayItems({
|
|
2741
2741
|
newElementButtonLabel: "Add"
|
|
2742
2742
|
})
|
|
2743
2743
|
}), Qg), po = {
|
|
@@ -2789,7 +2789,7 @@ const _n = (e) => {
|
|
|
2789
2789
|
"config-allow-body"
|
|
2790
2790
|
].reduce((e, t) => ({
|
|
2791
2791
|
...e,
|
|
2792
|
-
[t]:
|
|
2792
|
+
[t]: ri.fields.arrayItems({
|
|
2793
2793
|
newElementButtonLabel: "Add"
|
|
2794
2794
|
})
|
|
2795
2795
|
}), em), Yu = {
|
|
@@ -3529,7 +3529,7 @@ const ym = (e, t) => {
|
|
|
3529
3529
|
buildFormSchema: u,
|
|
3530
3530
|
parseSchema: s,
|
|
3531
3531
|
customSchemas: r,
|
|
3532
|
-
typedefs:
|
|
3532
|
+
typedefs: ri,
|
|
3533
3533
|
pruneRecord: K
|
|
3534
3534
|
};
|
|
3535
3535
|
}, We = {
|
|
@@ -3640,16 +3640,16 @@ const ym = (e, t) => {
|
|
|
3640
3640
|
return E(), W(u, { class: "plugin-field-rule-alerts" }, {
|
|
3641
3641
|
default: L(() => [
|
|
3642
3642
|
G("ul", null, [
|
|
3643
|
-
(E(!0), J(
|
|
3643
|
+
(E(!0), J(Re, null, ze(a.value, (d, c) => (E(), J("li", {
|
|
3644
3644
|
key: `simple-alert-${c}`
|
|
3645
3645
|
}, he(d), 1))), 128)),
|
|
3646
3646
|
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (E(), J("li", _m, [
|
|
3647
|
-
(E(!0), J(
|
|
3647
|
+
(E(!0), J(Re, null, ze(t.rules.onlyOneOfMutuallyRequired, (d, c) => (E(), J("div", {
|
|
3648
3648
|
key: `only-one-mutually-alert-${c}`
|
|
3649
3649
|
}, [
|
|
3650
3650
|
G("div", null, he(p(i)("plugins.form.field_rules.only_one_of_mutually_required")), 1),
|
|
3651
3651
|
G("ul", null, [
|
|
3652
|
-
(E(!0), J(
|
|
3652
|
+
(E(!0), J(Re, null, ze(d, (f, g) => (E(), J("li", {
|
|
3653
3653
|
key: `only-one-mutually-alert-${c}-combination-${g}`
|
|
3654
3654
|
}, he(o(f)), 1))), 128))
|
|
3655
3655
|
])
|
|
@@ -3661,17 +3661,17 @@ const ym = (e, t) => {
|
|
|
3661
3661
|
});
|
|
3662
3662
|
};
|
|
3663
3663
|
}
|
|
3664
|
-
}), Em = /* @__PURE__ */
|
|
3665
|
-
var Qu = typeof global == "object" && global && global.Object === Object && global, Sm = typeof self == "object" && self && self.Object === Object && self, Vt = Qu || Sm || Function("return this")(), Bt = Vt.Symbol, ec = Object.prototype, km = ec.hasOwnProperty, Cm = ec.toString,
|
|
3664
|
+
}), Em = /* @__PURE__ */ Me(wm, [["__scopeId", "data-v-d8eb79cf"]]);
|
|
3665
|
+
var Qu = typeof global == "object" && global && global.Object === Object && global, Sm = typeof self == "object" && self && self.Object === Object && self, Vt = Qu || Sm || Function("return this")(), Bt = Vt.Symbol, ec = Object.prototype, km = ec.hasOwnProperty, Cm = ec.toString, xi = Bt ? Bt.toStringTag : void 0;
|
|
3666
3666
|
function xm(e) {
|
|
3667
|
-
var t = km.call(e,
|
|
3667
|
+
var t = km.call(e, xi), n = e[xi];
|
|
3668
3668
|
try {
|
|
3669
|
-
e[
|
|
3669
|
+
e[xi] = void 0;
|
|
3670
3670
|
var i = !0;
|
|
3671
3671
|
} catch {
|
|
3672
3672
|
}
|
|
3673
3673
|
var o = Cm.call(e);
|
|
3674
|
-
return i && (t ? e[
|
|
3674
|
+
return i && (t ? e[xi] = n : delete e[xi]), o;
|
|
3675
3675
|
}
|
|
3676
3676
|
var Am = Object.prototype, Tm = Am.toString;
|
|
3677
3677
|
function Im(e) {
|
|
@@ -3905,13 +3905,13 @@ function Xa(e) {
|
|
|
3905
3905
|
return e(t);
|
|
3906
3906
|
};
|
|
3907
3907
|
}
|
|
3908
|
-
var sc = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
3908
|
+
var sc = typeof exports == "object" && exports && !exports.nodeType && exports, Di = sc && typeof module == "object" && module && !module.nodeType && module, Gh = Di && Di.exports === sc, Pr = Gh && Qu.process, ai = function() {
|
|
3909
3909
|
try {
|
|
3910
|
-
var e =
|
|
3910
|
+
var e = Di && Di.require && Di.require("util").types;
|
|
3911
3911
|
return e || Pr && Pr.binding && Pr.binding("util");
|
|
3912
3912
|
} catch {
|
|
3913
3913
|
}
|
|
3914
|
-
}(), tl =
|
|
3914
|
+
}(), tl = ai && ai.isTypedArray, lc = tl ? Xa(tl) : Hh, Yh = Object.prototype, Wh = Yh.hasOwnProperty;
|
|
3915
3915
|
function uc(e, t) {
|
|
3916
3916
|
var n = Qt(e), i = !n && cr(e), o = !n && !i && Wa(e), r = !n && !i && !o && lc(e), a = n || i || o || r, s = a ? mh(e.length, String) : [], l = s.length;
|
|
3917
3917
|
for (var u in e)
|
|
@@ -4116,7 +4116,7 @@ var Nv = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=
|
|
|
4116
4116
|
function pr(e) {
|
|
4117
4117
|
return e == null ? "" : nc(e);
|
|
4118
4118
|
}
|
|
4119
|
-
function
|
|
4119
|
+
function hi(e, t) {
|
|
4120
4120
|
return Qt(e) ? e : rv(e, t) ? [e] : Rv(pr(e));
|
|
4121
4121
|
}
|
|
4122
4122
|
var Dv = 1 / 0;
|
|
@@ -4127,7 +4127,7 @@ function gr(e) {
|
|
|
4127
4127
|
return t == "0" && 1 / e == -Dv ? "-0" : t;
|
|
4128
4128
|
}
|
|
4129
4129
|
function es(e, t) {
|
|
4130
|
-
t =
|
|
4130
|
+
t = hi(t, e);
|
|
4131
4131
|
for (var n = 0, i = t.length; e != null && n < i; )
|
|
4132
4132
|
e = e[gr(t[n++])];
|
|
4133
4133
|
return n && n == i ? e : void 0;
|
|
@@ -4230,15 +4230,15 @@ function ky(e, t) {
|
|
|
4230
4230
|
}
|
|
4231
4231
|
return n.set(e, t), this.size = n.size, this;
|
|
4232
4232
|
}
|
|
4233
|
-
function
|
|
4233
|
+
function vi(e) {
|
|
4234
4234
|
var t = this.__data__ = new en(e);
|
|
4235
4235
|
this.size = t.size;
|
|
4236
4236
|
}
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4237
|
+
vi.prototype.clear = by;
|
|
4238
|
+
vi.prototype.delete = _y;
|
|
4239
|
+
vi.prototype.get = wy;
|
|
4240
|
+
vi.prototype.has = Ey;
|
|
4241
|
+
vi.prototype.set = ky;
|
|
4242
4242
|
function Cy(e, t) {
|
|
4243
4243
|
return e && ao(t, Za(t), e);
|
|
4244
4244
|
}
|
|
@@ -4374,14 +4374,14 @@ var vb = "[object Map]";
|
|
|
4374
4374
|
function yb(e) {
|
|
4375
4375
|
return Ln(e) && Dt(e) == vb;
|
|
4376
4376
|
}
|
|
4377
|
-
var ml =
|
|
4377
|
+
var ml = ai && ai.isMap, bb = ml ? Xa(ml) : yb, _b = "[object Set]";
|
|
4378
4378
|
function wb(e) {
|
|
4379
4379
|
return Ln(e) && Dt(e) == _b;
|
|
4380
4380
|
}
|
|
4381
|
-
var hl =
|
|
4381
|
+
var hl = ai && ai.isSet, Eb = hl ? Xa(hl) : wb, Sb = 1, kb = 2, Cb = 4, Tc = "[object Arguments]", xb = "[object Array]", Ab = "[object Boolean]", Tb = "[object Date]", Ib = "[object Error]", Ic = "[object Function]", $b = "[object GeneratorFunction]", Pb = "[object Map]", Ob = "[object Number]", $c = "[object Object]", Nb = "[object RegExp]", Mb = "[object Set]", Rb = "[object String]", Db = "[object Symbol]", Fb = "[object WeakMap]", Lb = "[object ArrayBuffer]", Kb = "[object DataView]", Bb = "[object Float32Array]", qb = "[object Float64Array]", Vb = "[object Int8Array]", jb = "[object Int16Array]", zb = "[object Int32Array]", Ub = "[object Uint8Array]", Hb = "[object Uint8ClampedArray]", Gb = "[object Uint16Array]", Yb = "[object Uint32Array]", je = {};
|
|
4382
4382
|
je[Tc] = je[xb] = je[Lb] = je[Kb] = je[Ab] = je[Tb] = je[Bb] = je[qb] = je[Vb] = je[jb] = je[zb] = je[Pb] = je[Ob] = je[$c] = je[Nb] = je[Mb] = je[Rb] = je[Db] = je[Ub] = je[Hb] = je[Gb] = je[Yb] = !0;
|
|
4383
4383
|
je[Ib] = je[Ic] = je[Fb] = !1;
|
|
4384
|
-
function
|
|
4384
|
+
function Fi(e, t, n, i, o, r) {
|
|
4385
4385
|
var a, s = t & Sb, l = t & kb, u = t & Cb;
|
|
4386
4386
|
if (n && (a = o ? n(e, i, o, r) : n(e)), a !== void 0)
|
|
4387
4387
|
return a;
|
|
@@ -4404,29 +4404,29 @@ function Di(e, t, n, i, o, r) {
|
|
|
4404
4404
|
a = mb(e, c, s);
|
|
4405
4405
|
}
|
|
4406
4406
|
}
|
|
4407
|
-
r || (r = new
|
|
4407
|
+
r || (r = new vi());
|
|
4408
4408
|
var g = r.get(e);
|
|
4409
4409
|
if (g)
|
|
4410
4410
|
return g;
|
|
4411
4411
|
r.set(e, a), Eb(e) ? e.forEach(function(m) {
|
|
4412
|
-
a.add(
|
|
4412
|
+
a.add(Fi(m, t, n, m, e, r));
|
|
4413
4413
|
}) : bb(e) && e.forEach(function(m, y) {
|
|
4414
|
-
a.set(y,
|
|
4414
|
+
a.set(y, Fi(m, t, n, y, e, r));
|
|
4415
4415
|
});
|
|
4416
4416
|
var b = u ? l ? Ac : Ry : l ? Ja : Za, h = d ? void 0 : b(e);
|
|
4417
4417
|
return sh(h || e, function(m, y) {
|
|
4418
|
-
h && (y = m, m = e[y]), Ha(a, y,
|
|
4418
|
+
h && (y = m, m = e[y]), Ha(a, y, Fi(m, t, n, y, e, r));
|
|
4419
4419
|
}), a;
|
|
4420
4420
|
}
|
|
4421
4421
|
var Wb = 1, Xb = 4;
|
|
4422
4422
|
function vl(e) {
|
|
4423
|
-
return
|
|
4423
|
+
return Fi(e, Wb | Xb);
|
|
4424
4424
|
}
|
|
4425
4425
|
function Zb(e, t) {
|
|
4426
4426
|
return e != null && t in Object(e);
|
|
4427
4427
|
}
|
|
4428
4428
|
function Jb(e, t, n) {
|
|
4429
|
-
t =
|
|
4429
|
+
t = hi(t, e);
|
|
4430
4430
|
for (var i = -1, o = t.length, r = !1; ++i < o; ) {
|
|
4431
4431
|
var a = gr(t[i]);
|
|
4432
4432
|
if (!(r = e != null && n(e, a)))
|
|
@@ -4462,7 +4462,7 @@ function yl(e) {
|
|
|
4462
4462
|
return !0;
|
|
4463
4463
|
}
|
|
4464
4464
|
function Pc(e, t) {
|
|
4465
|
-
return t =
|
|
4465
|
+
return t = hi(t, e), e = t_(e, t), e == null || delete e[gr(e_(t))];
|
|
4466
4466
|
}
|
|
4467
4467
|
function a_(e) {
|
|
4468
4468
|
return Uv(e) ? void 0 : e;
|
|
@@ -4473,8 +4473,8 @@ var s_ = 1, l_ = 2, u_ = 4, c_ = pc(function(e, t) {
|
|
|
4473
4473
|
return n;
|
|
4474
4474
|
var i = !1;
|
|
4475
4475
|
t = tc(t, function(r) {
|
|
4476
|
-
return r =
|
|
4477
|
-
}), ao(e, Ac(e), n), i && (n =
|
|
4476
|
+
return r = hi(r, e), i || (i = r.length > 1), r;
|
|
4477
|
+
}), ao(e, Ac(e), n), i && (n = Fi(n, s_ | l_ | u_, a_));
|
|
4478
4478
|
for (var o = t.length; o--; )
|
|
4479
4479
|
Pc(n, t[o]);
|
|
4480
4480
|
return n;
|
|
@@ -4482,7 +4482,7 @@ var s_ = 1, l_ = 2, u_ = 4, c_ = pc(function(e, t) {
|
|
|
4482
4482
|
function Oc(e, t, n, i) {
|
|
4483
4483
|
if (!$n(e))
|
|
4484
4484
|
return e;
|
|
4485
|
-
t =
|
|
4485
|
+
t = hi(t, e);
|
|
4486
4486
|
for (var o = -1, r = t.length, a = r - 1, s = e; s != null && ++o < r; ) {
|
|
4487
4487
|
var l = gr(t[o]), u = n;
|
|
4488
4488
|
if (l === "__proto__" || l === "constructor" || l === "prototype")
|
|
@@ -4498,7 +4498,7 @@ function Oc(e, t, n, i) {
|
|
|
4498
4498
|
function d_(e, t, n) {
|
|
4499
4499
|
for (var i = -1, o = t.length, r = {}; ++i < o; ) {
|
|
4500
4500
|
var a = t[i], s = es(e, a);
|
|
4501
|
-
n(s, a) && Oc(r,
|
|
4501
|
+
n(s, a) && Oc(r, hi(a, e), s);
|
|
4502
4502
|
}
|
|
4503
4503
|
return r;
|
|
4504
4504
|
}
|
|
@@ -4535,11 +4535,11 @@ function ca(...e) {
|
|
|
4535
4535
|
function _l(e) {
|
|
4536
4536
|
return e.startsWith(Ot(Mc, ""));
|
|
4537
4537
|
}
|
|
4538
|
-
function
|
|
4538
|
+
function si(e) {
|
|
4539
4539
|
return e.split(Rc).filter((t) => t !== "");
|
|
4540
4540
|
}
|
|
4541
4541
|
function ss(e) {
|
|
4542
|
-
const t =
|
|
4542
|
+
const t = si(e);
|
|
4543
4543
|
return t[t.length - 1];
|
|
4544
4544
|
}
|
|
4545
4545
|
const m_ = (e) => {
|
|
@@ -4568,7 +4568,7 @@ function b_(e) {
|
|
|
4568
4568
|
const t = $e(e);
|
|
4569
4569
|
return t ? t.type === "set" && t.elements.type === "string" && !t.elements.one_of : !1;
|
|
4570
4570
|
}
|
|
4571
|
-
const Dc = Symbol("free-form-data"), Fc = Symbol("free-form-schema"), wl = Symbol("free-form-field-path"), da = Symbol("free-form-field-renderer-slots"), Lo = Symbol("free-form-field-renderer-matchers-map"), Lc = Symbol("free-form-config"), El = Symbol("free-form-field-reset-label-path-setting"),
|
|
4571
|
+
const Dc = Symbol("free-form-data"), Fc = Symbol("free-form-schema"), wl = Symbol("free-form-field-path"), da = Symbol("free-form-field-renderer-slots"), Lo = Symbol("free-form-field-renderer-matchers-map"), Lc = Symbol("free-form-config"), El = Symbol("free-form-field-reset-label-path-setting"), li = "free-form-field-renderers-slot", __ = {
|
|
4572
4572
|
tooltipAttributes: {
|
|
4573
4573
|
maxWidth: "300px",
|
|
4574
4574
|
placement: "top"
|
|
@@ -4593,7 +4593,7 @@ function fa(e, t = "") {
|
|
|
4593
4593
|
return n;
|
|
4594
4594
|
}
|
|
4595
4595
|
function pa(e) {
|
|
4596
|
-
const t =
|
|
4596
|
+
const t = si(e).map((n) => /^\d+$/.test(n) ? as : n);
|
|
4597
4597
|
return Ot(...t);
|
|
4598
4598
|
}
|
|
4599
4599
|
function w_(e) {
|
|
@@ -4670,7 +4670,7 @@ const Kc = (e) => {
|
|
|
4670
4670
|
return Je(wl, n), n;
|
|
4671
4671
|
}, E_ = (e) => {
|
|
4672
4672
|
const { getSchema: t } = yt(), { default: n, ...i } = Jt(), o = Xe(da), r = Xe(Lo), a = j(() => {
|
|
4673
|
-
const l = $e(o), u = Object.keys(i).filter((d) => d !==
|
|
4673
|
+
const l = $e(o), u = Object.keys(i).filter((d) => d !== li && d !== "item").reduce((d, c) => {
|
|
4674
4674
|
const f = pa(Ot($e(e), c));
|
|
4675
4675
|
return { ...d, [f]: i[c] };
|
|
4676
4676
|
}, {});
|
|
@@ -4730,7 +4730,7 @@ function C_(e, t) {
|
|
|
4730
4730
|
}, { deep: !0, immediate: !0 }), Je(El, a), r;
|
|
4731
4731
|
}
|
|
4732
4732
|
function x_(e) {
|
|
4733
|
-
return
|
|
4733
|
+
return si(e).map((n) => n.split("_").map(yy).map(k_).join(" ")).join(" › ");
|
|
4734
4734
|
}
|
|
4735
4735
|
function A_(e, t) {
|
|
4736
4736
|
const n = $e(e), i = ss(n), { formConfig: o } = yt(), r = C_(i, t), { getSchema: a } = yt(), s = Bc(e);
|
|
@@ -4755,7 +4755,7 @@ function tn(e, t) {
|
|
|
4755
4755
|
}
|
|
4756
4756
|
function T_(e) {
|
|
4757
4757
|
var i;
|
|
4758
|
-
const t =
|
|
4758
|
+
const t = si(e);
|
|
4759
4759
|
let n = { parent: null };
|
|
4760
4760
|
for (t.pop(); t.length; ) {
|
|
4761
4761
|
const o = t.shift();
|
|
@@ -4770,8 +4770,8 @@ function qc(e) {
|
|
|
4770
4770
|
const { formData: t } = yt(), n = Kc(e);
|
|
4771
4771
|
return {
|
|
4772
4772
|
value: j({
|
|
4773
|
-
get: () => fc(t,
|
|
4774
|
-
set: (o) => p_(t,
|
|
4773
|
+
get: () => fc(t, si(n.value)),
|
|
4774
|
+
set: (o) => p_(t, si(n.value), o)
|
|
4775
4775
|
})
|
|
4776
4776
|
};
|
|
4777
4777
|
}
|
|
@@ -4789,7 +4789,7 @@ function Nt(e) {
|
|
|
4789
4789
|
};
|
|
4790
4790
|
}
|
|
4791
4791
|
function ls(e) {
|
|
4792
|
-
const { getSchema: t } = yt(), n =
|
|
4792
|
+
const { getSchema: t } = yt(), n = pi();
|
|
4793
4793
|
return j(() => {
|
|
4794
4794
|
var o;
|
|
4795
4795
|
if (n["data-autofocus"] !== void 0)
|
|
@@ -4838,7 +4838,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
4838
4838
|
},
|
|
4839
4839
|
emits: ["update:modelValue"],
|
|
4840
4840
|
setup(e, { emit: t }) {
|
|
4841
|
-
const n =
|
|
4841
|
+
const n = pi(), { i18n: i } = gn(), o = qt(e, ["showVaultSecretPicker", "showPasswordMaskToggle", "name"]), r = t, { value: a, ...s } = Nt(Ne(() => e.name)), l = tn(s.path, Ne({ ...o, ...n })), u = a == null ? void 0 : a.value;
|
|
4842
4842
|
function d(w) {
|
|
4843
4843
|
u !== void 0 && w === "" && w !== u ? (a.value = null, r("update:modelValue", null)) : (a.value = w.trim(), r("update:modelValue", w.trim()));
|
|
4844
4844
|
}
|
|
@@ -4856,7 +4856,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
4856
4856
|
key: 0,
|
|
4857
4857
|
appearance: "danger",
|
|
4858
4858
|
message: s.error.message
|
|
4859
|
-
}, null, 8, ["message"])) : (E(), J(
|
|
4859
|
+
}, null, 8, ["message"])) : (E(), J("div", ni(Ye({ key: 1 }, w.$attrs)), [
|
|
4860
4860
|
B(p(f), Ye({
|
|
4861
4861
|
...p(l),
|
|
4862
4862
|
showPasswordMaskToggle: c.value,
|
|
@@ -4893,10 +4893,10 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
4893
4893
|
"data-testid": `ff-vault-secret-picker-warning-${s.path.value}`,
|
|
4894
4894
|
message: p(i).t("plugins.free-form.vault_picker.component_error")
|
|
4895
4895
|
}, null, 8, ["data-testid", "message"])) : Ce("", !0)
|
|
4896
|
-
],
|
|
4896
|
+
], 16));
|
|
4897
4897
|
};
|
|
4898
4898
|
}
|
|
4899
|
-
}), us = /* @__PURE__ */
|
|
4899
|
+
}), us = /* @__PURE__ */ Me(P_, [["__scopeId", "data-v-7a837def"]]), O_ = ["innerHTML"], N_ = /* @__PURE__ */ be({
|
|
4900
4900
|
__name: "BooleanField",
|
|
4901
4901
|
props: {
|
|
4902
4902
|
name: {},
|
|
@@ -4935,7 +4935,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
4935
4935
|
]), 1040, ["data-testid", "model-value"]));
|
|
4936
4936
|
};
|
|
4937
4937
|
}
|
|
4938
|
-
}), M_ = /* @__PURE__ */
|
|
4938
|
+
}), M_ = /* @__PURE__ */ Me(N_, [["__scopeId", "data-v-8a828fad"]]), R_ = /* @__PURE__ */ be({
|
|
4939
4939
|
__name: "SlideTransition",
|
|
4940
4940
|
setup(e) {
|
|
4941
4941
|
const t = [
|
|
@@ -5007,7 +5007,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5007
5007
|
_: 3
|
|
5008
5008
|
}));
|
|
5009
5009
|
}
|
|
5010
|
-
}), zc = /* @__PURE__ */
|
|
5010
|
+
}), zc = /* @__PURE__ */ Me(R_, [["__scopeId", "data-v-481d7a76"]]), D_ = ["data-testid"], F_ = ["data-testid"], L_ = ["data-testid"], K_ = ["innerHTML"], B_ = { class: "ff-object-field-actions" }, q_ = ["data-testid"], V_ = /* @__PURE__ */ be({
|
|
5011
5011
|
__name: "ObjectField",
|
|
5012
5012
|
props: /* @__PURE__ */ No({
|
|
5013
5013
|
name: {},
|
|
@@ -5058,8 +5058,8 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5058
5058
|
}), (m, y) => {
|
|
5059
5059
|
var v;
|
|
5060
5060
|
const w = Se("KAlert");
|
|
5061
|
-
return E(), J(
|
|
5062
|
-
(E(), W(lt(m.$slots[p(
|
|
5061
|
+
return E(), J(Re, null, [
|
|
5062
|
+
(E(), W(lt(m.$slots[p(li)]))),
|
|
5063
5063
|
i.error ? (E(), W(w, {
|
|
5064
5064
|
key: 0,
|
|
5065
5065
|
appearance: "danger",
|
|
@@ -5070,7 +5070,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5070
5070
|
"data-testid": `ff-object-${i.path.value}`
|
|
5071
5071
|
}, [
|
|
5072
5072
|
Pe(m.$slots, "default", {}, () => [
|
|
5073
|
-
(E(!0), J(
|
|
5073
|
+
(E(!0), J(Re, null, ze(b.value, (x) => (E(), W(_t, {
|
|
5074
5074
|
key: Object.keys(x)[0],
|
|
5075
5075
|
name: Object.keys(x)[0]
|
|
5076
5076
|
}, null, 8, ["name"]))), 128))
|
|
@@ -5111,7 +5111,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5111
5111
|
} : void 0
|
|
5112
5112
|
]), 1040, ["data-testid", "tooltip-attributes"]),
|
|
5113
5113
|
G("div", B_, [
|
|
5114
|
-
m.collapsible && f.value ? (E(), W(p(
|
|
5114
|
+
m.collapsible && f.value ? (E(), W(p(oi), {
|
|
5115
5115
|
key: 0,
|
|
5116
5116
|
appearance: "tertiary",
|
|
5117
5117
|
class: ot(`ff-object-field-button-${l.value ? "collapse" : "expand"}`),
|
|
@@ -5127,7 +5127,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5127
5127
|
]),
|
|
5128
5128
|
_: 1
|
|
5129
5129
|
}, 8, ["class", "data-testid"])) : Ce("", !0),
|
|
5130
|
-
p(c).required ? Ce("", !0) : (E(), W(p(
|
|
5130
|
+
p(c).required ? Ce("", !0) : (E(), W(p(oi), {
|
|
5131
5131
|
key: 1,
|
|
5132
5132
|
appearance: "tertiary",
|
|
5133
5133
|
class: ot(`ff-object-field-button-${f.value ? "remove" : "add"}`),
|
|
@@ -5136,7 +5136,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5136
5136
|
onClick: h
|
|
5137
5137
|
}, {
|
|
5138
5138
|
default: L(() => [
|
|
5139
|
-
f.value ? (E(), W(p(Do), { key: 0 })) : (E(), W(p(
|
|
5139
|
+
f.value ? (E(), W(p(Do), { key: 0 })) : (E(), W(p(mi), { key: 1 }))
|
|
5140
5140
|
]),
|
|
5141
5141
|
_: 1
|
|
5142
5142
|
}, 8, ["class", "data-testid"]))
|
|
@@ -5150,7 +5150,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5150
5150
|
"data-testid": `ff-object-content-${i.path.value}`
|
|
5151
5151
|
}, [
|
|
5152
5152
|
Pe(m.$slots, "default", {}, () => [
|
|
5153
|
-
(E(!0), J(
|
|
5153
|
+
(E(!0), J(Re, null, ze(b.value, (x) => (E(), W(_t, {
|
|
5154
5154
|
key: Object.keys(x)[0],
|
|
5155
5155
|
name: Object.keys(x)[0]
|
|
5156
5156
|
}, null, 8, ["name"]))), 128))
|
|
@@ -5163,7 +5163,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5163
5163
|
], 64);
|
|
5164
5164
|
};
|
|
5165
5165
|
}
|
|
5166
|
-
}), Ft = /* @__PURE__ */
|
|
5166
|
+
}), Ft = /* @__PURE__ */ Me(V_, [["__scopeId", "data-v-b4c8195e"]]), j_ = ["innerHTML"], z_ = /* @__PURE__ */ be({
|
|
5167
5167
|
__name: "NumberField",
|
|
5168
5168
|
props: {
|
|
5169
5169
|
name: {},
|
|
@@ -5223,7 +5223,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5223
5223
|
]), 1040, ["data-autofocus", "data-testid", "model-value"]));
|
|
5224
5224
|
};
|
|
5225
5225
|
}
|
|
5226
|
-
}), Ko = /* @__PURE__ */
|
|
5226
|
+
}), Ko = /* @__PURE__ */ Me(z_, [["__scopeId", "data-v-f071bf9b"]]), U_ = ["innerHTML"], H_ = /* @__PURE__ */ be({
|
|
5227
5227
|
__name: "EnumField",
|
|
5228
5228
|
props: {
|
|
5229
5229
|
name: {},
|
|
@@ -5267,7 +5267,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5267
5267
|
]), 1040, ["modelValue", "data-testid", "items", "kpop-attributes"]));
|
|
5268
5268
|
};
|
|
5269
5269
|
}
|
|
5270
|
-
}), Wn = /* @__PURE__ */
|
|
5270
|
+
}), Wn = /* @__PURE__ */ Me(H_, [["__scopeId", "data-v-181f0d06"]]), G_ = ["data-testid"], Y_ = ["data-testid"], W_ = ["innerHTML"], X_ = ["data-testid"], Z_ = /* @__PURE__ */ be({
|
|
5271
5271
|
__name: "KeyValueField",
|
|
5272
5272
|
props: {
|
|
5273
5273
|
name: {},
|
|
@@ -5283,7 +5283,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5283
5283
|
},
|
|
5284
5284
|
emits: ["change"],
|
|
5285
5285
|
setup(e, { expose: t, emit: n }) {
|
|
5286
|
-
const i = qt(e, ["showVaultSecretPicker"]), { value: o, ...r } = Nt(Ne(i, "name")), a = tn(r.path, Ne({ ...i, ...
|
|
5286
|
+
const i = qt(e, ["showVaultSecretPicker"]), { value: o, ...r } = Nt(Ne(i, "name")), a = tn(r.path, Ne({ ...i, ...pi() })), { i18n: s } = gn(), l = n, u = oe(
|
|
5287
5287
|
c(
|
|
5288
5288
|
i.initialValue ?? (o == null ? void 0 : o.value) ?? {}
|
|
5289
5289
|
)
|
|
@@ -5306,7 +5306,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5306
5306
|
}, b = () => {
|
|
5307
5307
|
const N = Object.fromEntries(u.value.map(({ key: I, value: R }) => [I, R]).filter(([I]) => I));
|
|
5308
5308
|
o.value = N, l("change", N);
|
|
5309
|
-
}, h =
|
|
5309
|
+
}, h = ii("root");
|
|
5310
5310
|
async function m(N, I = "key") {
|
|
5311
5311
|
var R;
|
|
5312
5312
|
h.value && (await st(), (R = h.value.querySelector(`[data-${I}-input="${N}"]`)) == null || R.focus());
|
|
@@ -5380,12 +5380,12 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5380
5380
|
onClick: y
|
|
5381
5381
|
}, {
|
|
5382
5382
|
default: L(() => [
|
|
5383
|
-
B(p(
|
|
5383
|
+
B(p(mi))
|
|
5384
5384
|
]),
|
|
5385
5385
|
_: 1
|
|
5386
5386
|
}, 8, ["data-testid"])
|
|
5387
5387
|
], 8, Y_),
|
|
5388
|
-
(E(!0), J(
|
|
5388
|
+
(E(!0), J(Re, null, ze(u.value, (_, O) => (E(), J("div", {
|
|
5389
5389
|
key: _.id,
|
|
5390
5390
|
class: "ff-kv-field-entry",
|
|
5391
5391
|
"data-testid": `ff-kv-container-${r.path.value}.${O}`
|
|
@@ -5441,7 +5441,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5441
5441
|
], 8, G_));
|
|
5442
5442
|
};
|
|
5443
5443
|
}
|
|
5444
|
-
}), J_ = /* @__PURE__ */
|
|
5444
|
+
}), J_ = /* @__PURE__ */ Me(Z_, [["__scopeId", "data-v-51cf2493"]]), Q_ = ["data-testid"], e0 = ["innerHTML"], t0 = /* @__PURE__ */ be({
|
|
5445
5445
|
inheritAttrs: !1,
|
|
5446
5446
|
__name: "TagField",
|
|
5447
5447
|
props: {
|
|
@@ -5452,7 +5452,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5452
5452
|
},
|
|
5453
5453
|
emits: ["update:modelValue"],
|
|
5454
5454
|
setup(e, { emit: t }) {
|
|
5455
|
-
const n =
|
|
5455
|
+
const n = pi(), i = qt(e, ["name"]), o = t, { value: r, ...a } = Nt(Ne(() => e.name)), s = tn(a.path, Ne({ ...i, ...n })), l = j(() => {
|
|
5456
5456
|
var h, m;
|
|
5457
5457
|
return ((m = (h = a.schema) == null ? void 0 : h.value) == null ? void 0 : m.len_min) && a.schema.value.len_min > 0;
|
|
5458
5458
|
}), u = oe("");
|
|
@@ -5505,7 +5505,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5505
5505
|
], 8, Q_));
|
|
5506
5506
|
};
|
|
5507
5507
|
}
|
|
5508
|
-
}), Uc = /* @__PURE__ */
|
|
5508
|
+
}), Uc = /* @__PURE__ */ Me(t0, [["__scopeId", "data-v-6836b714"]]), _t = /* @__PURE__ */ be({
|
|
5509
5509
|
name: "AutoField",
|
|
5510
5510
|
__name: "Field",
|
|
5511
5511
|
props: {
|
|
@@ -5537,8 +5537,8 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5537
5537
|
});
|
|
5538
5538
|
return (o, r) => {
|
|
5539
5539
|
const a = Se("KAlert");
|
|
5540
|
-
return E(), J(
|
|
5541
|
-
(E(), W(lt(o.$slots[p(
|
|
5540
|
+
return E(), J(Re, null, [
|
|
5541
|
+
(E(), W(lt(o.$slots[p(li)]))),
|
|
5542
5542
|
p(n).error ? (E(), W(a, {
|
|
5543
5543
|
key: 0,
|
|
5544
5544
|
appearance: "danger",
|
|
@@ -5547,7 +5547,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5547
5547
|
key: 1,
|
|
5548
5548
|
name: ca(p(n).path.value),
|
|
5549
5549
|
onGlobalAction: r[0] || (r[0] = (s, l) => o.$emit("globalAction", s, l))
|
|
5550
|
-
}, null, 40, ["name"])) : (E(), J(
|
|
5550
|
+
}, null, 40, ["name"])) : (E(), J(Re, { key: 2 }, [
|
|
5551
5551
|
i.value ? (E(), W(lt(i.value), {
|
|
5552
5552
|
key: 0,
|
|
5553
5553
|
name: ca(p(n).path.value)
|
|
@@ -5578,7 +5578,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5578
5578
|
Ka((K) => ({
|
|
5579
5579
|
"6954cf1c": v.value
|
|
5580
5580
|
}));
|
|
5581
|
-
const n = e, i = t, { i18n: { t: o } } = gn(), { getDefault: r } = yt(), { value: a, ...s } = Nt(Ne(n, "name")), l = tn(s.path, Ne({ ...n, ...
|
|
5581
|
+
const n = e, i = t, { i18n: { t: o } } = gn(), { getDefault: r } = yt(), { value: a, ...s } = Nt(Ne(n, "name")), l = tn(s.path, Ne({ ...n, ...pi() })), u = j(() => n.items ?? $e(a) ?? []), { getKey: d } = Vc("ff-array-field", u), c = j(() => n.appearance === "card" ? Rs : "div");
|
|
5582
5582
|
function f(K, S) {
|
|
5583
5583
|
return typeof n.itemLabel == "function" ? n.itemLabel(K, S) : n.itemLabel || l.value.label || `Item #${S}`;
|
|
5584
5584
|
}
|
|
@@ -5592,7 +5592,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5592
5592
|
}, m = async (K) => {
|
|
5593
5593
|
var S;
|
|
5594
5594
|
Array.isArray(a.value) && a.value.splice(K, 1), i("remove", K), n.appearance === "tabs" && (b.value = (S = g.value[Math.max(0, K - 1)]) == null ? void 0 : S.hash);
|
|
5595
|
-
}, y =
|
|
5595
|
+
}, y = ii("root");
|
|
5596
5596
|
function w(K) {
|
|
5597
5597
|
var N;
|
|
5598
5598
|
if (!y.value)
|
|
@@ -5654,18 +5654,18 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5654
5654
|
onClick: h
|
|
5655
5655
|
}, {
|
|
5656
5656
|
default: L(() => [
|
|
5657
|
-
B(p(
|
|
5657
|
+
B(p(mi))
|
|
5658
5658
|
]),
|
|
5659
5659
|
_: 1
|
|
5660
5660
|
}, 8, ["aria-label", "data-testid"])
|
|
5661
5661
|
], 8, i0),
|
|
5662
|
-
u.value.length ? (E(), J(
|
|
5662
|
+
u.value.length ? (E(), J(Re, { key: 0 }, [
|
|
5663
5663
|
K.appearance !== "tabs" ? (E(), J("div", {
|
|
5664
5664
|
key: 0,
|
|
5665
5665
|
class: "ff-array-field-container",
|
|
5666
5666
|
"data-testid": `ff-array-basic-container-${s.path.value}`
|
|
5667
5667
|
}, [
|
|
5668
|
-
(E(!0), J(
|
|
5668
|
+
(E(!0), J(Re, null, ze(u.value, ($, P) => (E(), W(p(c), {
|
|
5669
5669
|
key: p(d)($, P),
|
|
5670
5670
|
class: "ff-array-field-item",
|
|
5671
5671
|
"data-index": P,
|
|
@@ -5755,7 +5755,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5755
5755
|
], 10, n0));
|
|
5756
5756
|
};
|
|
5757
5757
|
}
|
|
5758
|
-
}), cs = /* @__PURE__ */
|
|
5758
|
+
}), cs = /* @__PURE__ */ Me(l0, [["__scopeId", "data-v-463d07bb"]]), Li = Symbol(), u0 = /* @__PURE__ */ be({
|
|
5759
5759
|
__name: "CalloutForm",
|
|
5760
5760
|
props: {
|
|
5761
5761
|
index: {},
|
|
@@ -5768,7 +5768,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5768
5768
|
var l;
|
|
5769
5769
|
return s && s !== ((l = a[t.index]) == null ? void 0 : l.name);
|
|
5770
5770
|
});
|
|
5771
|
-
}), o = j(() => i.value.map(({ [
|
|
5771
|
+
}), o = j(() => i.value.map(({ [Li]: a, name: s }) => ({ value: a, label: s }))), r = j(() => n.config.callouts[t.index]);
|
|
5772
5772
|
return Oe(o, () => {
|
|
5773
5773
|
r.value.depends_on = r.value.depends_on.filter(
|
|
5774
5774
|
(a) => o.value.some((s) => s.value === a)
|
|
@@ -5812,7 +5812,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5812
5812
|
const o = n("config.callouts.*");
|
|
5813
5813
|
o.request.body.custom = o.request.body.custom ?? {};
|
|
5814
5814
|
const r = t.config.callouts[t.config.callouts.length - 1];
|
|
5815
|
-
r && (r[
|
|
5815
|
+
r && (r[Li] = jc());
|
|
5816
5816
|
}
|
|
5817
5817
|
return (o, r) => (E(), W(cs, {
|
|
5818
5818
|
appearance: "tabs",
|
|
@@ -5870,13 +5870,13 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5870
5870
|
}), s = ln(
|
|
5871
5871
|
(u = e.config) != null && u.prepareFormData ? e.config.prepareFormData(r(e.data) ? e.data : o.getDefault()) : r(e.data) ? e.data : o.getDefault()
|
|
5872
5872
|
);
|
|
5873
|
-
return Je(Dc, s), Je(da, c_(i, "default",
|
|
5873
|
+
return Je(Dc, s), Je(da, c_(i, "default", li)), Je(Lo, /* @__PURE__ */ new Map()), Je(Lc, e.config ?? {}), Oe(s, (d) => {
|
|
5874
5874
|
n("change", $e(d));
|
|
5875
5875
|
}, { deep: !0, immediate: !0 }), (d, c) => (E(), W(lt(d.tag), null, {
|
|
5876
5876
|
default: L(() => [
|
|
5877
|
-
(E(), W(lt(p(i)[p(
|
|
5877
|
+
(E(), W(lt(p(i)[p(li)]))),
|
|
5878
5878
|
Pe(d.$slots, "default", {}, () => [
|
|
5879
|
-
(E(!0), J(
|
|
5879
|
+
(E(!0), J(Re, null, ze(a.value, (f) => (E(), W(_t, {
|
|
5880
5880
|
key: Object.keys(f)[0],
|
|
5881
5881
|
name: Object.keys(f)[0],
|
|
5882
5882
|
onGlobalAction: c[0] || (c[0] = (g, b) => n("globalAction", g, b))
|
|
@@ -5917,7 +5917,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5917
5917
|
_: 3
|
|
5918
5918
|
}, 8, ["modelValue", "trigger-label"]));
|
|
5919
5919
|
}
|
|
5920
|
-
}), Hc = /* @__PURE__ */
|
|
5920
|
+
}), Hc = /* @__PURE__ */ Me(f0, [["__scopeId", "data-v-190b1d21"]]), p0 = /* @__PURE__ */ be({
|
|
5921
5921
|
__name: "ConfigForm",
|
|
5922
5922
|
props: {
|
|
5923
5923
|
schema: {},
|
|
@@ -5931,7 +5931,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5931
5931
|
hasValue: s
|
|
5932
5932
|
}, { i18n: { t: o } } = gn();
|
|
5933
5933
|
function r(u, d = !1) {
|
|
5934
|
-
return u.reduce((c, { [
|
|
5934
|
+
return u.reduce((c, { [Li]: f, name: g }) => (d ? c[g] = f : c[f] = g, c), {});
|
|
5935
5935
|
}
|
|
5936
5936
|
function a(u) {
|
|
5937
5937
|
var g;
|
|
@@ -5940,7 +5940,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5940
5940
|
return d;
|
|
5941
5941
|
const { callouts: c } = d.config;
|
|
5942
5942
|
c.forEach((b) => {
|
|
5943
|
-
b.request.body.custom = b.request.body.custom ?? {}, b[
|
|
5943
|
+
b.request.body.custom = b.request.body.custom ?? {}, b[Li] = jc();
|
|
5944
5944
|
});
|
|
5945
5945
|
const f = r(c, !0);
|
|
5946
5946
|
return c.forEach((b) => {
|
|
@@ -5958,7 +5958,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5958
5958
|
throw new Error("data is not correct");
|
|
5959
5959
|
const c = r(d.config.callouts);
|
|
5960
5960
|
d.config.callouts = d.config.callouts.map((g) => {
|
|
5961
|
-
const { [
|
|
5961
|
+
const { [Li]: b, depends_on: h, ...m } = g;
|
|
5962
5962
|
return {
|
|
5963
5963
|
depends_on: h.map((y) => c[y]).filter((y) => y != null),
|
|
5964
5964
|
...m
|
|
@@ -5973,7 +5973,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
5973
5973
|
tag: "div",
|
|
5974
5974
|
onChange: l
|
|
5975
5975
|
}, {
|
|
5976
|
-
[p(
|
|
5976
|
+
[p(li)]: L(() => [
|
|
5977
5977
|
B(Sl, {
|
|
5978
5978
|
match: ({ path: c }) => c.endsWith("by_lua")
|
|
5979
5979
|
}, {
|
|
@@ -6102,9 +6102,9 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6102
6102
|
"tags"
|
|
6103
6103
|
]);
|
|
6104
6104
|
}
|
|
6105
|
-
return (d, c) => (E(), J(
|
|
6105
|
+
return (d, c) => (E(), J(Re, null, [
|
|
6106
6106
|
G("div", g0, [
|
|
6107
|
-
B(p(
|
|
6107
|
+
B(p(Ri), {
|
|
6108
6108
|
model: d.formModel,
|
|
6109
6109
|
options: d.formOptions,
|
|
6110
6110
|
schema: p(r),
|
|
@@ -6136,7 +6136,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6136
6136
|
}, 8, ["modelValue"])
|
|
6137
6137
|
], 64));
|
|
6138
6138
|
}
|
|
6139
|
-
}), Gc = /* @__PURE__ */
|
|
6139
|
+
}), Gc = /* @__PURE__ */ Me(h0, [["__scopeId", "data-v-175fd883"]]), v0 = /* @__PURE__ */ be({
|
|
6140
6140
|
__name: "RequestCalloutForm",
|
|
6141
6141
|
props: {
|
|
6142
6142
|
schema: {},
|
|
@@ -6150,9 +6150,9 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6150
6150
|
},
|
|
6151
6151
|
setup(e) {
|
|
6152
6152
|
const t = e, n = Jt();
|
|
6153
|
-
return Je(ro, n == null ? void 0 : n[Jn]), (i, o) => (E(), W(Gc,
|
|
6153
|
+
return Je(ro, n == null ? void 0 : n[Jn]), (i, o) => (E(), W(Gc, ni(Vi(t)), {
|
|
6154
6154
|
default: L((r) => [
|
|
6155
|
-
B(p0,
|
|
6155
|
+
B(p0, ni(Vi(r)), null, 16)
|
|
6156
6156
|
]),
|
|
6157
6157
|
_: 1
|
|
6158
6158
|
}, 16));
|
|
@@ -6179,7 +6179,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6179
6179
|
appearance: "danger",
|
|
6180
6180
|
message: p(r).error.message
|
|
6181
6181
|
}, null, 8, ["message"])) : (E(), J("div", y0, [
|
|
6182
|
-
B(f,
|
|
6182
|
+
B(f, ni(Vi(p(a).labelAttributes)), Qe({
|
|
6183
6183
|
default: L(() => [
|
|
6184
6184
|
De(he(p(a).label) + " ", 1)
|
|
6185
6185
|
]),
|
|
@@ -6196,7 +6196,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6196
6196
|
} : void 0
|
|
6197
6197
|
]), 1040),
|
|
6198
6198
|
G("div", _0, [
|
|
6199
|
-
(E(!0), J(
|
|
6199
|
+
(E(!0), J(Re, null, ze(s.value, (b) => (E(), W(p(ta), {
|
|
6200
6200
|
key: b.value,
|
|
6201
6201
|
"model-value": p(r).value.value,
|
|
6202
6202
|
"onUpdate:modelValue": [
|
|
@@ -6211,7 +6211,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6211
6211
|
]));
|
|
6212
6212
|
};
|
|
6213
6213
|
}
|
|
6214
|
-
}), E0 = /* @__PURE__ */
|
|
6214
|
+
}), E0 = /* @__PURE__ */ Me(w0, [["__scopeId", "data-v-b5a23a0b"]]), S0 = { class: "sp-form-request-limits-subtitle" }, k0 = { class: "sp-form-request-limits-content" }, C0 = { class: "sp-form-window-type" }, x0 = { class: "sp-form-request-limits-items" }, A0 = { class: "sp-form-request-limits-row" }, T0 = ["id"], I0 = { class: "sp-form-request-limits-actions" }, $0 = {
|
|
6215
6215
|
key: 0,
|
|
6216
6216
|
class: "sp-form-request-limits-examples"
|
|
6217
6217
|
}, P0 = { class: "sp-form-request-limits-examples-badges" }, Or = "config.window_type", O0 = /* @__PURE__ */ be({
|
|
@@ -6325,7 +6325,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6325
6325
|
}, null, 8, ["items", "label"])
|
|
6326
6326
|
]),
|
|
6327
6327
|
G("div", x0, [
|
|
6328
|
-
(E(!0), J(
|
|
6328
|
+
(E(!0), J(Re, null, ze(r.value, (I, R) => (E(), J("div", {
|
|
6329
6329
|
key: p(a)(I, R)
|
|
6330
6330
|
}, [
|
|
6331
6331
|
B(v, {
|
|
@@ -6368,7 +6368,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6368
6368
|
onClick: () => s(R)
|
|
6369
6369
|
}, {
|
|
6370
6370
|
default: L(() => [
|
|
6371
|
-
B(p(
|
|
6371
|
+
B(p(mi))
|
|
6372
6372
|
]),
|
|
6373
6373
|
_: 2
|
|
6374
6374
|
}, 1032, ["onClick"])
|
|
@@ -6379,7 +6379,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6379
6379
|
b.value.length > 0 ? (E(), J("div", $0, [
|
|
6380
6380
|
G("div", null, he(p(t)("sp.start_with_a_use_case")), 1),
|
|
6381
6381
|
G("div", P0, [
|
|
6382
|
-
(E(!0), J(
|
|
6382
|
+
(E(!0), J(Re, null, ze(b.value, (I, R) => (E(), W(S, {
|
|
6383
6383
|
key: `use-case-${R}`,
|
|
6384
6384
|
"max-width": "300"
|
|
6385
6385
|
}, {
|
|
@@ -6411,7 +6411,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6411
6411
|
});
|
|
6412
6412
|
};
|
|
6413
6413
|
}
|
|
6414
|
-
}), N0 = /* @__PURE__ */
|
|
6414
|
+
}), N0 = /* @__PURE__ */ Me(O0, [["__scopeId", "data-v-f3727aa3"]]), M0 = {
|
|
6415
6415
|
id: "sp-form-error-legend",
|
|
6416
6416
|
class: "sp-form-error-inputs"
|
|
6417
6417
|
}, R0 = /* @__PURE__ */ be({
|
|
@@ -6453,7 +6453,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6453
6453
|
]);
|
|
6454
6454
|
};
|
|
6455
6455
|
}
|
|
6456
|
-
}), D0 = /* @__PURE__ */
|
|
6456
|
+
}), D0 = /* @__PURE__ */ Me(R0, [["__scopeId", "data-v-25eb297d"]]), F0 = { class: "partial-config-card" }, L0 = { class: "config-card-row-label" }, K0 = { class: "label-text" }, B0 = ["data-testid"], q0 = ["data-testid"], V0 = { key: 1 }, j0 = ["data-testid"], z0 = ["data-testid"], U0 = /* @__PURE__ */ be({
|
|
6457
6457
|
__name: "RedisConfigCard",
|
|
6458
6458
|
props: {
|
|
6459
6459
|
configFields: {},
|
|
@@ -6496,7 +6496,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6496
6496
|
return (c, f) => {
|
|
6497
6497
|
const g = Se("KCopy");
|
|
6498
6498
|
return E(), J("div", F0, [
|
|
6499
|
-
(E(!0), J(
|
|
6499
|
+
(E(!0), J(Re, null, ze(d.value, ({ key: b, label: h, value: m, type: y }) => (E(), J("div", {
|
|
6500
6500
|
key: b,
|
|
6501
6501
|
class: "partial-config-card-row"
|
|
6502
6502
|
}, [
|
|
@@ -6529,7 +6529,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6529
6529
|
]);
|
|
6530
6530
|
};
|
|
6531
6531
|
}
|
|
6532
|
-
}), H0 = /* @__PURE__ */
|
|
6532
|
+
}), H0 = /* @__PURE__ */ Me(U0, [["__scopeId", "data-v-836def53"]]), G0 = /* @__PURE__ */ be({
|
|
6533
6533
|
__name: "NewRedisPartialModal",
|
|
6534
6534
|
props: {
|
|
6535
6535
|
visible: {
|
|
@@ -6543,7 +6543,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6543
6543
|
},
|
|
6544
6544
|
emits: ["partialUpdated", "partialUpdateFailed", "modalClose"],
|
|
6545
6545
|
setup(e, { emit: t }) {
|
|
6546
|
-
const n = e, { t: i } = ft("en-us", pt), o = Xe(sr), r = t, { getMessageFromError: a } =
|
|
6546
|
+
const n = e, { t: i } = ft("en-us", pt), o = Xe(sr), r = t, { getMessageFromError: a } = gi(), s = j(() => {
|
|
6547
6547
|
switch (n.partialType) {
|
|
6548
6548
|
case co.REDIS_CE:
|
|
6549
6549
|
return co.REDIS_EE;
|
|
@@ -6602,7 +6602,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6602
6602
|
}, 8, ["title", "visible"]);
|
|
6603
6603
|
};
|
|
6604
6604
|
}
|
|
6605
|
-
}), Y0 = /* @__PURE__ */
|
|
6605
|
+
}), Y0 = /* @__PURE__ */ Me(G0, [["__scopeId", "data-v-ac12474e"]]), go = "#52596e", W0 = "#00abd2", X0 = "12px", ga = "16px", Nr = "20px", Z0 = "24px", J0 = "8px", Yc = Symbol("redis-partial-info"), kl = {
|
|
6606
6606
|
konnect: {
|
|
6607
6607
|
getOne: "/v2/control-planes/{controlPlaneId}/core-entities/partials/{id}",
|
|
6608
6608
|
getAll: "/v2/control-planes/{controlPlaneId}/core-entities/partials"
|
|
@@ -6668,7 +6668,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6668
6668
|
}), l = o.redisType || ((H = r == null ? void 0 : r.redisType) == null ? void 0 : H.value) || "all", u = j(() => {
|
|
6669
6669
|
var U;
|
|
6670
6670
|
return !!((U = r == null ? void 0 : r.redisType) != null && U.value);
|
|
6671
|
-
}), d = oe(!1), c = oe(null), f = oe(!a), { getMessageFromError: g } =
|
|
6671
|
+
}), d = oe(!1), c = oe(null), f = oe(!a), { getMessageFromError: g } = gi(), b = oe(o.defaultRedisConfigItem), h = oe({}), m = oe(), { value: y } = qc("$.partials"), { value: w } = Nt(s), v = Xe(sr), {
|
|
6672
6672
|
debouncedQueryChange: x,
|
|
6673
6673
|
loading: K,
|
|
6674
6674
|
error: S,
|
|
@@ -6797,7 +6797,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6797
6797
|
"data-testid": "new-redis-config-area",
|
|
6798
6798
|
onClick: F[2] || (F[2] = () => d.value = !0)
|
|
6799
6799
|
}, [
|
|
6800
|
-
B(p(
|
|
6800
|
+
B(p(mi), { size: p(X0) }, null, 8, ["size"]),
|
|
6801
6801
|
G("span", null, he(p(i)("redis.shared_configuration.create_new_configuration", { type: p(v_)(p(l)) })), 1)
|
|
6802
6802
|
])
|
|
6803
6803
|
]),
|
|
@@ -6831,7 +6831,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6831
6831
|
}), null, 16, ["fields-order", "name"]));
|
|
6832
6832
|
};
|
|
6833
6833
|
}
|
|
6834
|
-
}), uw = /* @__PURE__ */
|
|
6834
|
+
}), uw = /* @__PURE__ */ Me(lw, [["__scopeId", "data-v-de362563"]]), cw = /* @__PURE__ */ be({
|
|
6835
6835
|
__name: "RedisField",
|
|
6836
6836
|
setup(e) {
|
|
6837
6837
|
const { formData: t } = yt();
|
|
@@ -6909,9 +6909,9 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6909
6909
|
},
|
|
6910
6910
|
setup(e) {
|
|
6911
6911
|
const t = e, n = Jt();
|
|
6912
|
-
return Je(ro, n == null ? void 0 : n[Jn]), (i, o) => (E(), W(Gc,
|
|
6912
|
+
return Je(ro, n == null ? void 0 : n[Jn]), (i, o) => (E(), W(Gc, ni(Vi(t)), {
|
|
6913
6913
|
default: L((r) => [
|
|
6914
|
-
B(dw,
|
|
6914
|
+
B(dw, ni(Vi(r)), null, 16)
|
|
6915
6915
|
]),
|
|
6916
6916
|
_: 1
|
|
6917
6917
|
}, 16));
|
|
@@ -6988,7 +6988,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
6988
6988
|
}, Qe({
|
|
6989
6989
|
default: L(() => [
|
|
6990
6990
|
G("div", gw, [
|
|
6991
|
-
B(p(
|
|
6991
|
+
B(p(Ri), {
|
|
6992
6992
|
model: m.formModel,
|
|
6993
6993
|
options: m.formOptions,
|
|
6994
6994
|
schema: o.value,
|
|
@@ -7010,7 +7010,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
7010
7010
|
}, a.value[1], { "selected-value": !0 }), null, 16, ["modelValue"])
|
|
7011
7011
|
]),
|
|
7012
7012
|
f.value ? (E(), J("div", hw, [
|
|
7013
|
-
B(p(
|
|
7013
|
+
B(p(Ri), {
|
|
7014
7014
|
model: m.formModel,
|
|
7015
7015
|
options: m.formOptions,
|
|
7016
7016
|
schema: s.value,
|
|
@@ -7023,7 +7023,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
7023
7023
|
"trigger-label": "Show more"
|
|
7024
7024
|
}, {
|
|
7025
7025
|
default: L(() => [
|
|
7026
|
-
B(p(
|
|
7026
|
+
B(p(Ri), {
|
|
7027
7027
|
model: m.formModel,
|
|
7028
7028
|
options: m.formOptions,
|
|
7029
7029
|
schema: l.value,
|
|
@@ -7097,7 +7097,7 @@ const $_ = ["innerHTML"], P_ = /* @__PURE__ */ be({
|
|
|
7097
7097
|
]);
|
|
7098
7098
|
};
|
|
7099
7099
|
}
|
|
7100
|
-
}), yw = /* @__PURE__ */
|
|
7100
|
+
}), yw = /* @__PURE__ */ Me(vw, [["__scopeId", "data-v-a727028f"]]);
|
|
7101
7101
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
7102
7102
|
const bw = (e) => e != null;
|
|
7103
7103
|
/*!
|
|
@@ -7384,15 +7384,15 @@ var Il = {
|
|
|
7384
7384
|
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
|
7385
7385
|
}, Hw = function(t) {
|
|
7386
7386
|
return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
|
|
7387
|
-
},
|
|
7387
|
+
}, Ki = function(t) {
|
|
7388
7388
|
return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
|
|
7389
7389
|
}, Gw = function(t) {
|
|
7390
|
-
return
|
|
7390
|
+
return Ki(t) && !t.shiftKey;
|
|
7391
7391
|
}, Yw = function(t) {
|
|
7392
|
-
return
|
|
7392
|
+
return Ki(t) && t.shiftKey;
|
|
7393
7393
|
}, $l = function(t) {
|
|
7394
7394
|
return setTimeout(t, 0);
|
|
7395
|
-
},
|
|
7395
|
+
}, Ai = function(t) {
|
|
7396
7396
|
for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
|
|
7397
7397
|
i[o - 1] = arguments[o];
|
|
7398
7398
|
return typeof t == "function" ? t.apply(void 0, i) : t;
|
|
@@ -7581,7 +7581,7 @@ var Il = {
|
|
|
7581
7581
|
if (z < 0 && (M.container === _ || Mr(_, r.tabbableOptions) && !Vn(_, r.tabbableOptions) && !M.nextTabbableNode(_, !1)) && (z = F), z >= 0) {
|
|
7582
7582
|
var fe = z === 0 ? a.tabbableGroups.length - 1 : z - 1, se = a.tabbableGroups[fe];
|
|
7583
7583
|
U = wn(_) >= 0 ? se.lastTabbableNode : se.lastDomTabbableNode;
|
|
7584
|
-
} else
|
|
7584
|
+
} else Ki(O) || (U = M.nextTabbableNode(_, !1));
|
|
7585
7585
|
} else {
|
|
7586
7586
|
var re = a.tabbableGroups.findIndex(function(te) {
|
|
7587
7587
|
var ue = te.lastTabbableNode;
|
|
@@ -7590,7 +7590,7 @@ var Il = {
|
|
|
7590
7590
|
if (re < 0 && (M.container === _ || Mr(_, r.tabbableOptions) && !Vn(_, r.tabbableOptions) && !M.nextTabbableNode(_)) && (re = F), re >= 0) {
|
|
7591
7591
|
var pe = re === a.tabbableGroups.length - 1 ? 0 : re + 1, ne = a.tabbableGroups[pe];
|
|
7592
7592
|
U = wn(_) >= 0 ? ne.firstTabbableNode : ne.firstDomTabbableNode;
|
|
7593
|
-
} else
|
|
7593
|
+
} else Ki(O) || (U = M.nextTabbableNode(_));
|
|
7594
7594
|
}
|
|
7595
7595
|
} else
|
|
7596
7596
|
U = d("fallbackFocus");
|
|
@@ -7598,7 +7598,7 @@ var Il = {
|
|
|
7598
7598
|
}, y = function(P) {
|
|
7599
7599
|
var _ = mo(P);
|
|
7600
7600
|
if (!(u(_, P) >= 0)) {
|
|
7601
|
-
if (
|
|
7601
|
+
if (Ai(r.clickOutsideDeactivates, P)) {
|
|
7602
7602
|
s.deactivate({
|
|
7603
7603
|
// NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
|
|
7604
7604
|
// which will result in the outside click setting focus to the node
|
|
@@ -7610,7 +7610,7 @@ var Il = {
|
|
|
7610
7610
|
});
|
|
7611
7611
|
return;
|
|
7612
7612
|
}
|
|
7613
|
-
|
|
7613
|
+
Ai(r.allowOutsideClick, P) || P.preventDefault();
|
|
7614
7614
|
}
|
|
7615
7615
|
}, w = function(P) {
|
|
7616
7616
|
var _ = mo(P), O = u(_, P) >= 0;
|
|
@@ -7651,14 +7651,14 @@ var Il = {
|
|
|
7651
7651
|
event: P,
|
|
7652
7652
|
isBackward: _
|
|
7653
7653
|
});
|
|
7654
|
-
O && (
|
|
7654
|
+
O && (Ki(P) && P.preventDefault(), b(O));
|
|
7655
7655
|
}, x = function(P) {
|
|
7656
7656
|
(r.isKeyForward(P) || r.isKeyBackward(P)) && v(P, r.isKeyBackward(P));
|
|
7657
7657
|
}, K = function(P) {
|
|
7658
|
-
Hw(P) &&
|
|
7658
|
+
Hw(P) && Ai(r.escapeDeactivates, P) !== !1 && (P.preventDefault(), s.deactivate());
|
|
7659
7659
|
}, S = function(P) {
|
|
7660
7660
|
var _ = mo(P);
|
|
7661
|
-
u(_, P) >= 0 ||
|
|
7661
|
+
u(_, P) >= 0 || Ai(r.clickOutsideDeactivates, P) || Ai(r.allowOutsideClick, P) || (P.preventDefault(), P.stopImmediatePropagation());
|
|
7662
7662
|
}, N = function() {
|
|
7663
7663
|
if (a.active)
|
|
7664
7664
|
return Il.activateTrap(o, s), a.delayInitialFocusTimer = r.delayInitialFocus ? $l(function() {
|
|
@@ -7830,14 +7830,14 @@ const t1 = { class: "dk-editor-nav" }, n1 = { class: "top" }, i1 = { class: "bot
|
|
|
7830
7830
|
}
|
|
7831
7831
|
return (u, d) => (E(), J("nav", t1, [
|
|
7832
7832
|
G("div", n1, [
|
|
7833
|
-
(E(), J(
|
|
7833
|
+
(E(), J(Re, null, ze(o, ({ label: c, to: f, icon: g, onClick: b }) => B(p(Ds), {
|
|
7834
7834
|
key: c,
|
|
7835
7835
|
"kpop-attributes": { offset: "10px" },
|
|
7836
7836
|
label: c,
|
|
7837
7837
|
placement: "right"
|
|
7838
7838
|
}, {
|
|
7839
7839
|
default: L(() => [
|
|
7840
|
-
(E(), W(p(
|
|
7840
|
+
(E(), W(p(oi), {
|
|
7841
7841
|
key: c,
|
|
7842
7842
|
appearance: "none",
|
|
7843
7843
|
class: "nav-item",
|
|
@@ -7868,7 +7868,7 @@ const t1 = { class: "dk-editor-nav" }, n1 = { class: "top" }, i1 = { class: "bot
|
|
|
7868
7868
|
placement: p(r) ? "left" : "right"
|
|
7869
7869
|
}, {
|
|
7870
7870
|
default: L(() => [
|
|
7871
|
-
B(p(
|
|
7871
|
+
B(p(oi), {
|
|
7872
7872
|
appearance: "none",
|
|
7873
7873
|
class: "nav-item nav-item-toggle",
|
|
7874
7874
|
icon: "",
|
|
@@ -7895,7 +7895,7 @@ const t1 = { class: "dk-editor-nav" }, n1 = { class: "top" }, i1 = { class: "bot
|
|
|
7895
7895
|
])
|
|
7896
7896
|
]));
|
|
7897
7897
|
}
|
|
7898
|
-
}), r1 = /* @__PURE__ */
|
|
7898
|
+
}), r1 = /* @__PURE__ */ Me(o1, [["__scopeId", "data-v-4498cfce"]]);
|
|
7899
7899
|
function mr(e) {
|
|
7900
7900
|
return Bu() ? (Ao(e), !0) : !1;
|
|
7901
7901
|
}
|
|
@@ -8539,9 +8539,9 @@ function fE(e, t, n) {
|
|
|
8539
8539
|
};
|
|
8540
8540
|
}
|
|
8541
8541
|
function pE(e, t, n) {
|
|
8542
|
-
return arguments.length > 1 ? this.each((t == null ? cE : typeof t == "function" ? fE : dE)(e, t, n ?? "")) :
|
|
8542
|
+
return arguments.length > 1 ? this.each((t == null ? cE : typeof t == "function" ? fE : dE)(e, t, n ?? "")) : ui(this.node(), e);
|
|
8543
8543
|
}
|
|
8544
|
-
function
|
|
8544
|
+
function ui(e, t) {
|
|
8545
8545
|
return e.style.getPropertyValue(t) || ud(e).getComputedStyle(e, null).getPropertyValue(t);
|
|
8546
8546
|
}
|
|
8547
8547
|
function gE(e) {
|
|
@@ -9460,7 +9460,7 @@ const PS = function e(t, n, i) {
|
|
|
9460
9460
|
return e(a, s, l);
|
|
9461
9461
|
}, o;
|
|
9462
9462
|
}(Math.SQRT2, 2, 4);
|
|
9463
|
-
var
|
|
9463
|
+
var ci = 0, Pi = 0, Ti = 0, kd = 1e3, Go, Oi, Yo = 0, Nn = 0, yr = 0, Xi = typeof performance == "object" && performance.now ? performance : Date, Cd = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
|
|
9464
9464
|
setTimeout(e, 17);
|
|
9465
9465
|
};
|
|
9466
9466
|
function hs() {
|
|
@@ -9477,7 +9477,7 @@ Wo.prototype = xd.prototype = {
|
|
|
9477
9477
|
restart: function(e, t, n) {
|
|
9478
9478
|
if (typeof e != "function")
|
|
9479
9479
|
throw new TypeError("callback is not a function");
|
|
9480
|
-
n = (n == null ? hs() : +n) + (t == null ? 0 : +t), !this._next &&
|
|
9480
|
+
n = (n == null ? hs() : +n) + (t == null ? 0 : +t), !this._next && Oi !== this && (Oi ? Oi._next = this : Go = this, Oi = this), this._call = e, this._time = n, ka();
|
|
9481
9481
|
},
|
|
9482
9482
|
stop: function() {
|
|
9483
9483
|
this._call && (this._call = null, this._time = 1 / 0, ka());
|
|
@@ -9488,17 +9488,17 @@ function xd(e, t, n) {
|
|
|
9488
9488
|
return i.restart(e, t, n), i;
|
|
9489
9489
|
}
|
|
9490
9490
|
function NS() {
|
|
9491
|
-
hs(), ++
|
|
9491
|
+
hs(), ++ci;
|
|
9492
9492
|
for (var e = Go, t; e; )
|
|
9493
9493
|
(t = Nn - e._time) >= 0 && e._call.call(void 0, t), e = e._next;
|
|
9494
|
-
--
|
|
9494
|
+
--ci;
|
|
9495
9495
|
}
|
|
9496
9496
|
function Hl() {
|
|
9497
|
-
Nn = (Yo = Xi.now()) + yr,
|
|
9497
|
+
Nn = (Yo = Xi.now()) + yr, ci = Pi = 0;
|
|
9498
9498
|
try {
|
|
9499
9499
|
NS();
|
|
9500
9500
|
} finally {
|
|
9501
|
-
|
|
9501
|
+
ci = 0, RS(), Nn = 0;
|
|
9502
9502
|
}
|
|
9503
9503
|
}
|
|
9504
9504
|
function MS() {
|
|
@@ -9508,13 +9508,13 @@ function MS() {
|
|
|
9508
9508
|
function RS() {
|
|
9509
9509
|
for (var e, t = Go, n, i = 1 / 0; t; )
|
|
9510
9510
|
t._call ? (i > t._time && (i = t._time), e = t, t = t._next) : (n = t._next, t._next = null, t = e ? e._next = n : Go = n);
|
|
9511
|
-
|
|
9511
|
+
Oi = e, ka(i);
|
|
9512
9512
|
}
|
|
9513
9513
|
function ka(e) {
|
|
9514
|
-
if (!
|
|
9515
|
-
|
|
9514
|
+
if (!ci) {
|
|
9515
|
+
Pi && (Pi = clearTimeout(Pi));
|
|
9516
9516
|
var t = e - Nn;
|
|
9517
|
-
t > 24 ? (e < 1 / 0 && (
|
|
9517
|
+
t > 24 ? (e < 1 / 0 && (Pi = setTimeout(Hl, e - Xi.now() - yr)), Ti && (Ti = clearInterval(Ti))) : (Ti || (Yo = Xi.now(), Ti = setInterval(MS, kd)), ci = 1, Cd(Hl));
|
|
9518
9518
|
}
|
|
9519
9519
|
}
|
|
9520
9520
|
function Gl(e, t, n) {
|
|
@@ -9879,7 +9879,7 @@ function wk() {
|
|
|
9879
9879
|
function Ek(e, t) {
|
|
9880
9880
|
var n, i, o;
|
|
9881
9881
|
return function() {
|
|
9882
|
-
var r =
|
|
9882
|
+
var r = ui(this, e), a = (this.style.removeProperty(e), ui(this, e));
|
|
9883
9883
|
return r === a ? null : r === n && a === i ? o : o = t(n = r, i = a);
|
|
9884
9884
|
};
|
|
9885
9885
|
}
|
|
@@ -9891,15 +9891,15 @@ function Id(e) {
|
|
|
9891
9891
|
function Sk(e, t, n) {
|
|
9892
9892
|
var i, o = n + "", r;
|
|
9893
9893
|
return function() {
|
|
9894
|
-
var a =
|
|
9894
|
+
var a = ui(this, e);
|
|
9895
9895
|
return a === o ? null : a === i ? r : r = t(i = a, n);
|
|
9896
9896
|
};
|
|
9897
9897
|
}
|
|
9898
9898
|
function kk(e, t, n) {
|
|
9899
9899
|
var i, o, r;
|
|
9900
9900
|
return function() {
|
|
9901
|
-
var a =
|
|
9902
|
-
return s == null && (l = s = (this.style.removeProperty(e),
|
|
9901
|
+
var a = ui(this, e), s = n(this), l = s + "";
|
|
9902
|
+
return s == null && (l = s = (this.style.removeProperty(e), ui(this, e))), a === l ? null : a === i && l === o ? r : (o = l, r = t(i = a, s));
|
|
9903
9903
|
};
|
|
9904
9904
|
}
|
|
9905
9905
|
function Ck(e, t) {
|
|
@@ -10119,12 +10119,12 @@ Gt.prototype = {
|
|
|
10119
10119
|
return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
|
|
10120
10120
|
}
|
|
10121
10121
|
};
|
|
10122
|
-
var
|
|
10122
|
+
var di = new Gt(1, 0, 0);
|
|
10123
10123
|
Gt.prototype;
|
|
10124
10124
|
function Kr(e) {
|
|
10125
10125
|
e.stopImmediatePropagation();
|
|
10126
10126
|
}
|
|
10127
|
-
function
|
|
10127
|
+
function Ii(e) {
|
|
10128
10128
|
e.preventDefault(), e.stopImmediatePropagation();
|
|
10129
10129
|
}
|
|
10130
10130
|
function zk(e) {
|
|
@@ -10135,7 +10135,7 @@ function Uk() {
|
|
|
10135
10135
|
return e instanceof SVGElement ? (e = e.ownerSVGElement || e, e.hasAttribute("viewBox") ? (e = e.viewBox.baseVal, [[e.x, e.y], [e.x + e.width, e.y + e.height]]) : [[0, 0], [e.width.baseVal.value, e.height.baseVal.value]]) : [[0, 0], [e.clientWidth, e.clientHeight]];
|
|
10136
10136
|
}
|
|
10137
10137
|
function Xl() {
|
|
10138
|
-
return this.__zoom ||
|
|
10138
|
+
return this.__zoom || di;
|
|
10139
10139
|
}
|
|
10140
10140
|
function Hk(e) {
|
|
10141
10141
|
return -e.deltaY * (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * (e.ctrlKey ? 10 : 1);
|
|
@@ -10180,7 +10180,7 @@ function Wk() {
|
|
|
10180
10180
|
}, y.translateTo = function(_, O, A, H, U) {
|
|
10181
10181
|
y.transform(_, function() {
|
|
10182
10182
|
var F = t.apply(this, arguments), M = this.__zoom, z = H == null ? x(F) : typeof H == "function" ? H.apply(this, arguments) : H;
|
|
10183
|
-
return n(
|
|
10183
|
+
return n(di.translate(z[0], z[1]).scale(M.k).translate(
|
|
10184
10184
|
typeof O == "function" ? -O.apply(this, arguments) : -O,
|
|
10185
10185
|
typeof A == "function" ? -A.apply(this, arguments) : -A
|
|
10186
10186
|
), F, a);
|
|
@@ -10260,7 +10260,7 @@ function Wk() {
|
|
|
10260
10260
|
return;
|
|
10261
10261
|
A.mouse = [F, H.invert(F)], Oo(this), A.start();
|
|
10262
10262
|
}
|
|
10263
|
-
|
|
10263
|
+
Ii(_), A.wheel = setTimeout(M, b), A.zoom("mouse", n(v(w(H, U), A.mouse[0], A.mouse[1]), A.extent, a));
|
|
10264
10264
|
function M() {
|
|
10265
10265
|
A.wheel = null, A.end();
|
|
10266
10266
|
}
|
|
@@ -10271,20 +10271,20 @@ function Wk() {
|
|
|
10271
10271
|
var A = _.currentTarget, H = S(this, O, !0).event(_), U = $t(_.view).on("mousemove.zoom", fe, !0).on("mouseup.zoom", se, !0), F = Rt(_, A), M = _.clientX, z = _.clientY;
|
|
10272
10272
|
hd(_.view), Kr(_), H.mouse = [F, this.__zoom.invert(F)], Oo(this), H.start();
|
|
10273
10273
|
function fe(re) {
|
|
10274
|
-
if (
|
|
10274
|
+
if (Ii(re), !H.moved) {
|
|
10275
10275
|
var pe = re.clientX - M, ne = re.clientY - z;
|
|
10276
10276
|
H.moved = pe * pe + ne * ne > h;
|
|
10277
10277
|
}
|
|
10278
10278
|
H.event(re).zoom("mouse", n(v(H.that.__zoom, H.mouse[0] = Rt(re, A), H.mouse[1]), H.extent, a));
|
|
10279
10279
|
}
|
|
10280
10280
|
function se(re) {
|
|
10281
|
-
U.on("mousemove.zoom mouseup.zoom", null), vd(re.view, H.moved),
|
|
10281
|
+
U.on("mousemove.zoom mouseup.zoom", null), vd(re.view, H.moved), Ii(re), H.event(re).end();
|
|
10282
10282
|
}
|
|
10283
10283
|
}
|
|
10284
10284
|
function X(_, ...O) {
|
|
10285
10285
|
if (e.apply(this, arguments)) {
|
|
10286
10286
|
var A = this.__zoom, H = Rt(_.changedTouches ? _.changedTouches[0] : _, this), U = A.invert(H), F = A.k * (_.shiftKey ? 0.5 : 2), M = n(v(w(A, F), H, U), t.apply(this, O), a);
|
|
10287
|
-
|
|
10287
|
+
Ii(_), s > 0 ? $t(this).transition().duration(s).call(K, M, H, _) : $t(this).call(y.transform, M, H, _);
|
|
10288
10288
|
}
|
|
10289
10289
|
}
|
|
10290
10290
|
function Z(_, ...O) {
|
|
@@ -10300,7 +10300,7 @@ function Wk() {
|
|
|
10300
10300
|
function $(_, ...O) {
|
|
10301
10301
|
if (this.__zooming) {
|
|
10302
10302
|
var A = S(this, O).event(_), H = _.changedTouches, U = H.length, F, M, z, fe;
|
|
10303
|
-
for (
|
|
10303
|
+
for (Ii(_), F = 0; F < U; ++F)
|
|
10304
10304
|
M = H[F], z = Rt(M, this), A.touch0 && A.touch0[2] === M.identifier ? A.touch0[0] = z : A.touch1 && A.touch1[2] === M.identifier && (A.touch1[0] = z);
|
|
10305
10305
|
if (M = A.that.__zoom, A.touch1) {
|
|
10306
10306
|
var se = A.touch0[0], re = A.touch0[1], pe = A.touch1[0], ne = A.touch1[1], te = (te = pe[0] - se[0]) * te + (te = pe[1] - se[1]) * te, ue = (ue = ne[0] - re[0]) * ue + (ue = ne[1] - re[1]) * ue;
|
|
@@ -10354,7 +10354,7 @@ function Wk() {
|
|
|
10354
10354
|
return arguments.length ? (m = +_, y) : m;
|
|
10355
10355
|
}, y;
|
|
10356
10356
|
}
|
|
10357
|
-
var ke = /* @__PURE__ */ ((e) => (e.Left = "left", e.Top = "top", e.Right = "right", e.Bottom = "bottom", e))(ke || {}), bs = /* @__PURE__ */ ((e) => (e.Partial = "partial", e.Full = "full", e))(bs || {}), En = /* @__PURE__ */ ((e) => (e.Bezier = "default", e.SimpleBezier = "simple-bezier", e.Straight = "straight", e.Step = "step", e.SmoothStep = "smoothstep", e))(En || {}), Mn = /* @__PURE__ */ ((e) => (e.Strict = "strict", e.Loose = "loose", e))(Mn || {}), Aa = /* @__PURE__ */ ((e) => (e.Arrow = "arrow", e.ArrowClosed = "arrowclosed", e))(Aa || {}),
|
|
10357
|
+
var ke = /* @__PURE__ */ ((e) => (e.Left = "left", e.Top = "top", e.Right = "right", e.Bottom = "bottom", e))(ke || {}), bs = /* @__PURE__ */ ((e) => (e.Partial = "partial", e.Full = "full", e))(bs || {}), En = /* @__PURE__ */ ((e) => (e.Bezier = "default", e.SimpleBezier = "simple-bezier", e.Straight = "straight", e.Step = "step", e.SmoothStep = "smoothstep", e))(En || {}), Mn = /* @__PURE__ */ ((e) => (e.Strict = "strict", e.Loose = "loose", e))(Mn || {}), Aa = /* @__PURE__ */ ((e) => (e.Arrow = "arrow", e.ArrowClosed = "arrowclosed", e))(Aa || {}), Bi = /* @__PURE__ */ ((e) => (e.Free = "free", e.Vertical = "vertical", e.Horizontal = "horizontal", e))(Bi || {}), Pd = /* @__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))(Pd || {});
|
|
10358
10358
|
function Ta(e) {
|
|
10359
10359
|
var t, n;
|
|
10360
10360
|
const i = ((n = (t = e.composedPath) == null ? void 0 : t.call(e)) == null ? void 0 : n[0]) || e.target, o = typeof (i == null ? void 0 : i.hasAttribute) == "function" ? i.hasAttribute("contenteditable") : !1, r = typeof (i == null ? void 0 : i.closest) == "function" ? i.closest(".nokey") : null;
|
|
@@ -10389,7 +10389,7 @@ function Zk(e, t) {
|
|
|
10389
10389
|
function Jk(e, t) {
|
|
10390
10390
|
return t.includes(e) ? "code" : "key";
|
|
10391
10391
|
}
|
|
10392
|
-
function
|
|
10392
|
+
function qi(e, t) {
|
|
10393
10393
|
const n = Ne(() => $e(t == null ? void 0 : t.actInsideInputWithModifier) ?? !1), i = Ne(() => $e(t == null ? void 0 : t.target) ?? window), o = oe($e(e) === !0);
|
|
10394
10394
|
let r = !1;
|
|
10395
10395
|
const a = /* @__PURE__ */ new Set();
|
|
@@ -10471,7 +10471,7 @@ function cn(e) {
|
|
|
10471
10471
|
function An(e) {
|
|
10472
10472
|
return e && typeof e == "object" && "id" in e && "position" in e && !cn(e);
|
|
10473
10473
|
}
|
|
10474
|
-
function
|
|
10474
|
+
function Ni(e) {
|
|
10475
10475
|
return An(e) && "computedPosition" in e;
|
|
10476
10476
|
}
|
|
10477
10477
|
function wo(e) {
|
|
@@ -10739,19 +10739,19 @@ function tu(e, t) {
|
|
|
10739
10739
|
a.selected = s.selected;
|
|
10740
10740
|
break;
|
|
10741
10741
|
case "position":
|
|
10742
|
-
if (
|
|
10742
|
+
if (Ni(a) && (typeof s.position < "u" && (a.position = s.position), typeof s.dragging < "u" && (a.dragging = s.dragging), a.expandParent && a.parentNode)) {
|
|
10743
10743
|
const l = t[r.indexOf(a.parentNode)];
|
|
10744
|
-
l &&
|
|
10744
|
+
l && Ni(l) && Br(a, l);
|
|
10745
10745
|
}
|
|
10746
10746
|
break;
|
|
10747
10747
|
case "dimensions":
|
|
10748
|
-
if (
|
|
10748
|
+
if (Ni(a) && (typeof s.dimensions < "u" && (a.dimensions = s.dimensions), typeof s.updateStyle < "u" && s.updateStyle && (a.style = {
|
|
10749
10749
|
...a.style || {},
|
|
10750
10750
|
width: `${(n = s.dimensions) == null ? void 0 : n.width}px`,
|
|
10751
10751
|
height: `${(i = s.dimensions) == null ? void 0 : i.height}px`
|
|
10752
10752
|
}), typeof s.resizing < "u" && (a.resizing = s.resizing), a.expandParent && a.parentNode)) {
|
|
10753
10753
|
const l = t[r.indexOf(a.parentNode)];
|
|
10754
|
-
l &&
|
|
10754
|
+
l && Ni(l) && (!!l.dimensions.width && !!l.dimensions.height ? Br(a, l) : st(() => {
|
|
10755
10755
|
Br(a, l);
|
|
10756
10756
|
}));
|
|
10757
10757
|
}
|
|
@@ -11726,7 +11726,7 @@ function $C(e) {
|
|
|
11726
11726
|
}
|
|
11727
11727
|
function n(i, o, r, a) {
|
|
11728
11728
|
return new Promise((s) => {
|
|
11729
|
-
const { x: l, y: u } = Rd({ x: -i, y: -o }, e.translateExtent), d =
|
|
11729
|
+
const { x: l, y: u } = Rd({ x: -i, y: -o }, e.translateExtent), d = di.translate(-l, -u).scale(r);
|
|
11730
11730
|
e.d3Selection && e.d3Zoom ? e.d3Zoom.transform(
|
|
11731
11731
|
zr(e.d3Selection, a, () => {
|
|
11732
11732
|
s(!0);
|
|
@@ -12108,7 +12108,7 @@ function nf() {
|
|
|
12108
12108
|
zoomOnDoubleClick: !0,
|
|
12109
12109
|
panOnScroll: !1,
|
|
12110
12110
|
panOnScrollSpeed: 0.5,
|
|
12111
|
-
panOnScrollMode:
|
|
12111
|
+
panOnScrollMode: Bi.Free,
|
|
12112
12112
|
paneClickDistance: 0,
|
|
12113
12113
|
panOnDrag: !0,
|
|
12114
12114
|
edgeUpdaterRadius: 10,
|
|
@@ -12410,7 +12410,7 @@ function RC(e, t, n) {
|
|
|
12410
12410
|
}, pe = (T, C) => {
|
|
12411
12411
|
e.connectionPosition = { x: Number.NaN, y: Number.NaN }, e.connectionEndHandle = null, e.connectionStatus = null, C ? e.connectionClickStartHandle = null : e.connectionStartHandle = null;
|
|
12412
12412
|
}, ne = (T) => {
|
|
12413
|
-
const C = eC(T), k = C ? null :
|
|
12413
|
+
const C = eC(T), k = C ? null : Ni(T) ? T : u(T.id);
|
|
12414
12414
|
return !C && !k ? [null, null, C] : [C ? T : Ia(k), k, C];
|
|
12415
12415
|
}, te = (T, C = !0, k = e.nodes) => {
|
|
12416
12416
|
const [D, Q, Y] = ne(T);
|
|
@@ -12434,7 +12434,7 @@ function RC(e, t, n) {
|
|
|
12434
12434
|
const { viewport: C, dimensions: k, d3Zoom: D, d3Selection: Q, translateExtent: Y } = e;
|
|
12435
12435
|
if (!D || !Q || !T.x && !T.y)
|
|
12436
12436
|
return !1;
|
|
12437
|
-
const ie =
|
|
12437
|
+
const ie = di.translate(C.x + T.x, C.y + T.y).scale(C.zoom), q = [
|
|
12438
12438
|
[0, 0],
|
|
12439
12439
|
[k.width, k.height]
|
|
12440
12440
|
], ee = D.constrain()(ie, q, Y), V = e.viewport.x !== ee.x || e.viewport.y !== ee.y || e.viewport.zoom !== ee.k;
|
|
@@ -12566,7 +12566,7 @@ function RC(e, t, n) {
|
|
|
12566
12566
|
$reset: () => {
|
|
12567
12567
|
const T = nf();
|
|
12568
12568
|
if (e.edges = [], e.nodes = [], e.d3Zoom && e.d3Selection) {
|
|
12569
|
-
const C =
|
|
12569
|
+
const C = di.translate(T.defaultViewport.x ?? 0, T.defaultViewport.y ?? 0).scale(Rn(T.defaultViewport.zoom ?? 1, T.minZoom, T.maxZoom)), k = e.viewportRef.getBoundingClientRect(), D = [
|
|
12570
12570
|
[0, 0],
|
|
12571
12571
|
[k.width, k.height]
|
|
12572
12572
|
], Q = e.d3Zoom.constrain()(C, D, T.translateExtent);
|
|
@@ -12697,7 +12697,7 @@ const DC = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], FC = {
|
|
|
12697
12697
|
const s = a.label || n;
|
|
12698
12698
|
return [
|
|
12699
12699
|
Be(sn, { type: "target", position: t, connectable: i, isValidConnection: o }),
|
|
12700
|
-
typeof s != "string" && s ? Be(s) : Be(
|
|
12700
|
+
typeof s != "string" && s ? Be(s) : Be(Re, [s]),
|
|
12701
12701
|
Be(sn, { type: "source", position: e, connectable: i, isValidConnection: r })
|
|
12702
12702
|
];
|
|
12703
12703
|
};
|
|
@@ -12714,7 +12714,7 @@ const LC = kr, Cr = function({
|
|
|
12714
12714
|
const r = o.label || t;
|
|
12715
12715
|
return [
|
|
12716
12716
|
Be(sn, { type: "target", position: e, connectable: n, isValidConnection: i }),
|
|
12717
|
-
typeof r != "string" && r ? Be(r) : Be(
|
|
12717
|
+
typeof r != "string" && r ? Be(r) : Be(Re, [r])
|
|
12718
12718
|
];
|
|
12719
12719
|
};
|
|
12720
12720
|
Cr.props = ["targetPosition", "label", "isValidTargetPos", "connectable", "data"];
|
|
@@ -12729,7 +12729,7 @@ const KC = Cr, xr = function({
|
|
|
12729
12729
|
}) {
|
|
12730
12730
|
const r = o.label || t;
|
|
12731
12731
|
return [
|
|
12732
|
-
typeof r != "string" && r ? Be(r) : Be(
|
|
12732
|
+
typeof r != "string" && r ? Be(r) : Be(Re, [r]),
|
|
12733
12733
|
Be(sn, { type: "source", position: e, connectable: n, isValidConnection: i })
|
|
12734
12734
|
];
|
|
12735
12735
|
};
|
|
@@ -12784,7 +12784,7 @@ const BC = xr, qC = ["transform"], VC = ["width", "height", "x", "y", "rx", "ry"
|
|
|
12784
12784
|
style: r.labelStyle
|
|
12785
12785
|
}), [
|
|
12786
12786
|
Pe(r.$slots, "default", {}, () => [
|
|
12787
|
-
typeof r.label != "string" ? (E(), W(lt(r.label), { key: 0 })) : (E(), J(
|
|
12787
|
+
typeof r.label != "string" ? (E(), W(lt(r.label), { key: 0 })) : (E(), J(Re, { key: 1 }, [
|
|
12788
12788
|
De(he(r.label), 1)
|
|
12789
12789
|
], 64))
|
|
12790
12790
|
])
|
|
@@ -12814,12 +12814,12 @@ const BC = xr, qC = ["transform"], VC = ["width", "height", "x", "y", "rx", "ry"
|
|
|
12814
12814
|
labelBgBorderRadius: {}
|
|
12815
12815
|
},
|
|
12816
12816
|
setup(e, { expose: t }) {
|
|
12817
|
-
const n = qt(e, ["interactionWidth", "labelShowBg"]), i = oe(null), o = oe(null), r = oe(null), a =
|
|
12817
|
+
const n = qt(e, ["interactionWidth", "labelShowBg"]), i = oe(null), o = oe(null), r = oe(null), a = pi();
|
|
12818
12818
|
return t({
|
|
12819
12819
|
pathEl: i,
|
|
12820
12820
|
interactionEl: o,
|
|
12821
12821
|
labelEl: r
|
|
12822
|
-
}), (s, l) => (E(), J(
|
|
12822
|
+
}), (s, l) => (E(), J(Re, null, [
|
|
12823
12823
|
G("path", {
|
|
12824
12824
|
id: s.id,
|
|
12825
12825
|
ref_key: "pathEl",
|
|
@@ -13590,7 +13590,7 @@ const yx = {
|
|
|
13590
13590
|
nodeLookup: x
|
|
13591
13591
|
} = Ue(), K = oe(null), S = oe(0), N = oe(0), I = oe(), R = oe(/* @__PURE__ */ new Map()), X = Ne(() => u.value && (e.isSelecting || r.value));
|
|
13592
13592
|
let Z = !1, $ = !1;
|
|
13593
|
-
const P =
|
|
13593
|
+
const P = qi(m, { actInsideInputWithModifier: !1 }), _ = qi(y);
|
|
13594
13594
|
Oe(P, (se) => {
|
|
13595
13595
|
se && (g(f.value), b(c.value), d.value = !1);
|
|
13596
13596
|
}), Oe(_, (se) => {
|
|
@@ -13758,7 +13758,7 @@ const yx = {
|
|
|
13758
13758
|
y: 0,
|
|
13759
13759
|
zoom: 0
|
|
13760
13760
|
};
|
|
13761
|
-
const U =
|
|
13761
|
+
const U = qi(s), F = qi(a), M = qi(r), z = Ne(
|
|
13762
13762
|
() => (!F.value || F.value && a.value === !0) && (U.value || c.value)
|
|
13763
13763
|
), fe = Ne(() => U.value || l.value), se = Ne(() => F.value || a.value === !0 && z.value !== !0);
|
|
13764
13764
|
xt(() => {
|
|
@@ -13766,7 +13766,7 @@ const yx = {
|
|
|
13766
13766
|
Er("Viewport element is missing");
|
|
13767
13767
|
return;
|
|
13768
13768
|
}
|
|
13769
|
-
const ve = X.value, de = ve.getBoundingClientRect(), ce = Wk().clickDistance(Z.value).scaleExtent([t.value, n.value]).translateExtent(o.value), _e = $t(ve).call(ce), xe = _e.on("wheel.zoom"), T =
|
|
13769
|
+
const ve = X.value, de = ve.getBoundingClientRect(), ce = Wk().clickDistance(Z.value).scaleExtent([t.value, n.value]).translateExtent(o.value), _e = $t(ve).call(ce), xe = _e.on("wheel.zoom"), T = di.translate(i.value.x ?? 0, i.value.y ?? 0).scale(Rn(i.value.zoom ?? 1, t.value, n.value)), C = [
|
|
13770
13770
|
[0, 0],
|
|
13771
13771
|
[de.width, de.height]
|
|
13772
13772
|
], k = ce.constrain()(T, C, o.value);
|
|
@@ -13826,8 +13826,8 @@ const yx = {
|
|
|
13826
13826
|
return;
|
|
13827
13827
|
}
|
|
13828
13828
|
const V = D.deltaMode === 1 ? 20 : 1;
|
|
13829
|
-
let ge = u.value ===
|
|
13830
|
-
!ee && D.shiftKey && u.value !==
|
|
13829
|
+
let ge = u.value === Bi.Vertical ? 0 : D.deltaX * V, le = u.value === Bi.Horizontal ? 0 : D.deltaY * V;
|
|
13830
|
+
!ee && D.shiftKey && u.value !== Bi.Vertical && !ge && le && (ge = le, le = 0), ce.translateBy(
|
|
13831
13831
|
_e,
|
|
13832
13832
|
-(ge / q) * d.value,
|
|
13833
13833
|
-(le / q) * d.value
|
|
@@ -13905,7 +13905,7 @@ const yx = {
|
|
|
13905
13905
|
...Ax,
|
|
13906
13906
|
setup(e) {
|
|
13907
13907
|
const { id: t, disableKeyboardA11y: n, ariaLiveMessage: i } = Ue();
|
|
13908
|
-
return (o, r) => (E(), J(
|
|
13908
|
+
return (o, r) => (E(), J(Re, null, [
|
|
13909
13909
|
G("div", {
|
|
13910
13910
|
id: `${p(Od)}-${p(t)}`,
|
|
13911
13911
|
style: { display: "none" }
|
|
@@ -14356,7 +14356,7 @@ const bu = Ss, Ox = be({
|
|
|
14356
14356
|
});
|
|
14357
14357
|
return (a, s) => (E(), J("svg", Bx, [
|
|
14358
14358
|
G("defs", null, [
|
|
14359
|
-
(E(!0), J(
|
|
14359
|
+
(E(!0), J(Re, null, ze(r.value, (l) => (E(), W(Kx, {
|
|
14360
14360
|
id: l.id,
|
|
14361
14361
|
key: l.id,
|
|
14362
14362
|
type: l.type,
|
|
@@ -14377,9 +14377,9 @@ const bu = Ss, Ox = be({
|
|
|
14377
14377
|
...jx,
|
|
14378
14378
|
setup(e) {
|
|
14379
14379
|
const { findNode: t, getEdges: n, elevateEdgesOnSelect: i } = Ue();
|
|
14380
|
-
return (o, r) => (E(), J(
|
|
14380
|
+
return (o, r) => (E(), J(Re, null, [
|
|
14381
14381
|
B(Vx),
|
|
14382
|
-
(E(!0), J(
|
|
14382
|
+
(E(!0), J(Re, null, ze(p(n), (a) => (E(), J("svg", {
|
|
14383
14383
|
key: a.id,
|
|
14384
14384
|
class: "vue-flow__edges vue-flow__container",
|
|
14385
14385
|
style: Ct({ zIndex: p(pC)(a, p(t), p(i)) })
|
|
@@ -14675,7 +14675,7 @@ const Yx = { class: "vue-flow__nodes vue-flow__container" }, Wx = {
|
|
|
14675
14675
|
var a;
|
|
14676
14676
|
return (a = r.value) == null ? void 0 : a.disconnect();
|
|
14677
14677
|
}), (a, s) => (E(), J("div", Yx, [
|
|
14678
|
-
r.value ? (E(!0), J(
|
|
14678
|
+
r.value ? (E(!0), J(Re, { key: 0 }, ze(p(t), (l, u, d, c) => {
|
|
14679
14679
|
const f = [l.id];
|
|
14680
14680
|
if (c && c.key === l.id && op(c, f))
|
|
14681
14681
|
return c;
|
|
@@ -15002,7 +15002,7 @@ const LA = { render: FA }, KA = {
|
|
|
15002
15002
|
}, {
|
|
15003
15003
|
default: L(() => [
|
|
15004
15004
|
Pe(v.$slots, "top"),
|
|
15005
|
-
v.showZoom ? (E(), J(
|
|
15005
|
+
v.showZoom ? (E(), J(Re, { key: 0 }, [
|
|
15006
15006
|
Pe(v.$slots, "control-zoom-in", {}, () => [
|
|
15007
15007
|
B(ko, {
|
|
15008
15008
|
class: "vue-flow__controls-zoomin",
|
|
@@ -15088,34 +15088,34 @@ const LA = { render: FA }, KA = {
|
|
|
15088
15088
|
style: Ct(t.value)
|
|
15089
15089
|
}, null, 6));
|
|
15090
15090
|
}
|
|
15091
|
-
}), Co = /* @__PURE__ */
|
|
15092
|
-
function
|
|
15091
|
+
}), Co = /* @__PURE__ */ Me(qA, [["__scopeId", "data-v-5433a682"]]), { t: VA } = ft("en-us", pt);
|
|
15092
|
+
function $i(e) {
|
|
15093
15093
|
return VA(`plugins.free-form.datakit.flow_editor.node_description.${e}`);
|
|
15094
15094
|
}
|
|
15095
15095
|
const df = {
|
|
15096
15096
|
call: {
|
|
15097
15097
|
type: "call",
|
|
15098
|
-
description:
|
|
15098
|
+
description: $i("call"),
|
|
15099
15099
|
icon: Dp
|
|
15100
15100
|
},
|
|
15101
15101
|
jq: {
|
|
15102
15102
|
type: "jq",
|
|
15103
|
-
description:
|
|
15103
|
+
description: $i("jq"),
|
|
15104
15104
|
icon: Uu
|
|
15105
15105
|
},
|
|
15106
15106
|
exit: {
|
|
15107
15107
|
type: "exit",
|
|
15108
|
-
description:
|
|
15108
|
+
description: $i("exit"),
|
|
15109
15109
|
icon: Fp
|
|
15110
15110
|
},
|
|
15111
15111
|
property: {
|
|
15112
15112
|
type: "property",
|
|
15113
|
-
description:
|
|
15113
|
+
description: $i("property"),
|
|
15114
15114
|
icon: Lp
|
|
15115
15115
|
},
|
|
15116
15116
|
static: {
|
|
15117
15117
|
type: "static",
|
|
15118
|
-
description:
|
|
15118
|
+
description: $i("static"),
|
|
15119
15119
|
icon: Kp
|
|
15120
15120
|
}
|
|
15121
15121
|
}, xo = {
|
|
@@ -15212,7 +15212,7 @@ const df = {
|
|
|
15212
15212
|
}, null, 8, ["color", "direction"])) : Ce("", !0)
|
|
15213
15213
|
])
|
|
15214
15214
|
]),
|
|
15215
|
-
i.value ? (E(!0), J(
|
|
15215
|
+
i.value ? (E(!0), J(Re, { key: 0 }, ze(a.meta.handles.input, (d, c) => (E(), J("div", {
|
|
15216
15216
|
key: `input-${d.id}`,
|
|
15217
15217
|
class: "handle indented"
|
|
15218
15218
|
}, [
|
|
@@ -15254,7 +15254,7 @@ const df = {
|
|
|
15254
15254
|
type: "target"
|
|
15255
15255
|
}, null, 8, ["position"])
|
|
15256
15256
|
]),
|
|
15257
|
-
o.value ? (E(!0), J(
|
|
15257
|
+
o.value ? (E(!0), J(Re, { key: 0 }, ze(a.meta.handles.output, (d, c) => (E(), J("div", {
|
|
15258
15258
|
key: `output-${d.id}`,
|
|
15259
15259
|
class: "handle indented"
|
|
15260
15260
|
}, [
|
|
@@ -15276,7 +15276,7 @@ const df = {
|
|
|
15276
15276
|
], 2);
|
|
15277
15277
|
};
|
|
15278
15278
|
}
|
|
15279
|
-
}), iT = /* @__PURE__ */
|
|
15279
|
+
}), iT = /* @__PURE__ */ Me(nT, [["__scopeId", "data-v-0a108ad0"]]), oT = { class: "dk-editor-main" }, rT = { class: "header" }, aT = { class: "actions" }, sT = { class: "body" }, lT = /* @__PURE__ */ be({
|
|
15280
15280
|
__name: "EditorMain",
|
|
15281
15281
|
emits: ["click:node", "click:backdrop"],
|
|
15282
15282
|
setup(e, { emit: t }) {
|
|
@@ -15315,7 +15315,7 @@ const df = {
|
|
|
15315
15315
|
}), (s, l) => (E(), J("div", oT, [
|
|
15316
15316
|
G("header", rT, [
|
|
15317
15317
|
G("div", aT, [
|
|
15318
|
-
B(p(
|
|
15318
|
+
B(p(oi), {
|
|
15319
15319
|
appearance: "tertiary",
|
|
15320
15320
|
target: "_blank",
|
|
15321
15321
|
to: "https://developer.konghq.com/plugins/datakit/"
|
|
@@ -15326,7 +15326,7 @@ const df = {
|
|
|
15326
15326
|
]),
|
|
15327
15327
|
_: 1
|
|
15328
15328
|
}),
|
|
15329
|
-
B(p(
|
|
15329
|
+
B(p(oi), null, {
|
|
15330
15330
|
default: L(() => [
|
|
15331
15331
|
De(he(p(n)("plugins.free-form.datakit.flow_editor.save")), 1)
|
|
15332
15332
|
]),
|
|
@@ -15357,7 +15357,7 @@ const df = {
|
|
|
15357
15357
|
])
|
|
15358
15358
|
]));
|
|
15359
15359
|
}
|
|
15360
|
-
}), uT = /* @__PURE__ */
|
|
15360
|
+
}), uT = /* @__PURE__ */ Me(lT, [["__scopeId", "data-v-f2be6d51"]]), cT = { class: "icon" }, dT = { class: "content" }, fT = { class: "title" }, pT = { class: "description" }, gT = /* @__PURE__ */ be({
|
|
15361
15361
|
__name: "NodePanelItem",
|
|
15362
15362
|
props: {
|
|
15363
15363
|
type: {}
|
|
@@ -15381,7 +15381,7 @@ const df = {
|
|
|
15381
15381
|
])
|
|
15382
15382
|
], 2));
|
|
15383
15383
|
}
|
|
15384
|
-
}), mT = /* @__PURE__ */
|
|
15384
|
+
}), mT = /* @__PURE__ */ Me(gT, [["__scopeId", "data-v-6f5b6615"]]), hT = { class: "dk-node-panel" }, vT = { class: "title" }, yT = { class: "node-list" }, bT = /* @__PURE__ */ be({
|
|
15385
15385
|
__name: "NodePanel",
|
|
15386
15386
|
setup(e) {
|
|
15387
15387
|
const { t } = ft("en-us", pt);
|
|
@@ -15400,7 +15400,7 @@ const df = {
|
|
|
15400
15400
|
}, 8, ["info"])
|
|
15401
15401
|
]),
|
|
15402
15402
|
G("div", yT, [
|
|
15403
|
-
(E(!0), J(
|
|
15403
|
+
(E(!0), J(Re, null, ze(Object.keys(p(df)), (r) => (E(), W(mT, {
|
|
15404
15404
|
key: r,
|
|
15405
15405
|
type: r
|
|
15406
15406
|
}, null, 8, ["type"]))), 128))
|
|
@@ -15408,7 +15408,7 @@ const df = {
|
|
|
15408
15408
|
]);
|
|
15409
15409
|
};
|
|
15410
15410
|
}
|
|
15411
|
-
}), _T = /* @__PURE__ */
|
|
15411
|
+
}), _T = /* @__PURE__ */ Me(bT, [["__scopeId", "data-v-93f9dd52"]]), wT = /* @__PURE__ */ be({
|
|
15412
15412
|
__name: "nodePropertiesPanel",
|
|
15413
15413
|
props: {
|
|
15414
15414
|
maxWidth: { default: () => e1 },
|
|
@@ -15436,7 +15436,7 @@ const df = {
|
|
|
15436
15436
|
_: 1
|
|
15437
15437
|
}, 8, ["max-width", "offset-top", "visible"]));
|
|
15438
15438
|
}
|
|
15439
|
-
}), ET = /* @__PURE__ */
|
|
15439
|
+
}), ET = /* @__PURE__ */ Me(wT, [["__scopeId", "data-v-6f3e4648"]]), ST = { class: "dk-editor-content" }, kT = { class: "header" }, CT = { class: "title" }, xT = { class: "body" }, AT = { class: "node-selection-panel" }, TT = { class: "main" }, IT = /* @__PURE__ */ be({
|
|
15440
15440
|
__name: "EditorContent",
|
|
15441
15441
|
setup(e) {
|
|
15442
15442
|
const { t } = ft("en-us", pt), { sidePanelExpanded: n } = fs(), i = oe(!1), o = oe(null), r = (s) => {
|
|
@@ -15470,7 +15470,7 @@ const df = {
|
|
|
15470
15470
|
}, null, 8, ["node", "visible"])
|
|
15471
15471
|
]));
|
|
15472
15472
|
}
|
|
15473
|
-
}), $T = /* @__PURE__ */
|
|
15473
|
+
}), $T = /* @__PURE__ */ Me(IT, [["__scopeId", "data-v-d344e31a"]]), PT = /* @__PURE__ */ be({
|
|
15474
15474
|
__name: "EditorModal",
|
|
15475
15475
|
props: {
|
|
15476
15476
|
open: { type: Boolean },
|
|
@@ -15482,7 +15482,7 @@ const df = {
|
|
|
15482
15482
|
b09519cc: p(Qw),
|
|
15483
15483
|
"7424b402": p(Jw)
|
|
15484
15484
|
}));
|
|
15485
|
-
const n =
|
|
15485
|
+
const n = ii("modal"), i = Mo(e, "open"), o = t, r = ii("content"), a = rg(document), { activate: s, deactivate: l } = Zw(n, {
|
|
15486
15486
|
returnFocusOnDeactivate: !0,
|
|
15487
15487
|
initialFocus: () => {
|
|
15488
15488
|
var d;
|
|
@@ -15513,7 +15513,7 @@ const df = {
|
|
|
15513
15513
|
}, null, 512)
|
|
15514
15514
|
], 512)) : Ce("", !0);
|
|
15515
15515
|
}
|
|
15516
|
-
}), OT = /* @__PURE__ */
|
|
15516
|
+
}), OT = /* @__PURE__ */ Me(PT, [["__scopeId", "data-v-ccb49c2a"]]);
|
|
15517
15517
|
/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
|
|
15518
15518
|
function ff(e) {
|
|
15519
15519
|
return typeof e > "u" || e === null;
|
|
@@ -16286,7 +16286,7 @@ function UI(e, t) {
|
|
|
16286
16286
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = s), w = e.input.charCodeAt(++e.position); w !== 0; ) {
|
|
16287
16287
|
if (nt(e, !0, t), w = e.input.charCodeAt(e.position), w === d)
|
|
16288
16288
|
return e.position++, e.tag = a, e.anchor = l, e.kind = g ? "mapping" : "sequence", e.result = s, !0;
|
|
16289
|
-
n ? w === 44 && Te(e, "expected the node content, but found ','") : Te(e, "missed comma between flow collection entries"), m = h = y = null, c = f = !1, w === 63 && (u = e.input.charCodeAt(e.position + 1), kt(u) && (c = f = !0, e.position++, nt(e, !0, t))), i = e.line, o = e.lineStart, r = e.position,
|
|
16289
|
+
n ? w === 44 && Te(e, "expected the node content, but found ','") : Te(e, "missed comma between flow collection entries"), m = h = y = null, c = f = !1, w === 63 && (u = e.input.charCodeAt(e.position + 1), kt(u) && (c = f = !0, e.position++, nt(e, !0, t))), i = e.line, o = e.lineStart, r = e.position, fi(e, t, Jo, !1, !0), m = e.tag, h = e.result, nt(e, !0, t), w = e.input.charCodeAt(e.position), (f || e.line === i) && w === 58 && (c = !0, w = e.input.charCodeAt(++e.position), nt(e, !0, t), fi(e, t, Jo, !1, !0), y = e.result), g ? Zn(e, s, b, m, h, y, i, o, r) : c ? s.push(Zn(e, null, b, m, h, y, i, o, r)) : s.push(h), nt(e, !0, t), w = e.input.charCodeAt(e.position), w === 44 ? (n = !0, w = e.input.charCodeAt(++e.position)) : n = !1;
|
|
16290
16290
|
}
|
|
16291
16291
|
Te(e, "unexpected end of the stream within a flow collection");
|
|
16292
16292
|
}
|
|
@@ -16345,7 +16345,7 @@ function Au(e, t) {
|
|
|
16345
16345
|
r.push(null), l = e.input.charCodeAt(e.position);
|
|
16346
16346
|
continue;
|
|
16347
16347
|
}
|
|
16348
|
-
if (n = e.line,
|
|
16348
|
+
if (n = e.line, fi(e, t, Mf, !1, !0), r.push(e.result), nt(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && l !== 0)
|
|
16349
16349
|
Te(e, "bad indentation of a sequence entry");
|
|
16350
16350
|
else if (e.lineIndent < t)
|
|
16351
16351
|
break;
|
|
@@ -16359,7 +16359,7 @@ function GI(e, t, n) {
|
|
|
16359
16359
|
if (!m && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, Te(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), r = e.line, (w === 63 || w === 58) && kt(i))
|
|
16360
16360
|
w === 63 ? (m && (Zn(e, c, f, g, b, null, a, s, l), g = b = h = null), y = !0, m = !0, o = !0) : m ? (m = !1, o = !0) : Te(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, w = i;
|
|
16361
16361
|
else {
|
|
16362
|
-
if (a = e.line, s = e.lineStart, l = e.position, !
|
|
16362
|
+
if (a = e.line, s = e.lineStart, l = e.position, !fi(e, n, Nf, !1, !0))
|
|
16363
16363
|
break;
|
|
16364
16364
|
if (e.line === r) {
|
|
16365
16365
|
for (w = e.input.charCodeAt(e.position); Tn(w); )
|
|
@@ -16375,7 +16375,7 @@ function GI(e, t, n) {
|
|
|
16375
16375
|
else
|
|
16376
16376
|
return e.tag = u, e.anchor = d, !0;
|
|
16377
16377
|
}
|
|
16378
|
-
if ((e.line === r || e.lineIndent > t) && (m && (a = e.line, s = e.lineStart, l = e.position),
|
|
16378
|
+
if ((e.line === r || e.lineIndent > t) && (m && (a = e.line, s = e.lineStart, l = e.position), fi(e, t, Qo, !0, o) && (m ? b = e.result : h = e.result), m || (Zn(e, c, f, g, b, h, a, s, l), g = b = h = null), nt(e, !0, -1), w = e.input.charCodeAt(e.position)), (e.line === r || e.lineIndent > t) && w !== 0)
|
|
16379
16379
|
Te(e, "bad indentation of a mapping entry");
|
|
16380
16380
|
else if (e.lineIndent < t)
|
|
16381
16381
|
break;
|
|
@@ -16417,7 +16417,7 @@ function XI(e) {
|
|
|
16417
16417
|
i = e.input.charCodeAt(++e.position);
|
|
16418
16418
|
return e.position === t && Te(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), dn.call(e.anchorMap, n) || Te(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], nt(e, !0, -1), !0;
|
|
16419
16419
|
}
|
|
16420
|
-
function
|
|
16420
|
+
function fi(e, t, n, i, o) {
|
|
16421
16421
|
var r, a, s, l = 1, u = !1, d = !1, c, f, g, b, h, m;
|
|
16422
16422
|
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, r = a = s = Qo === n || Mf === n, i && nt(e, !0, -1) && (u = !0, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)), l === 1)
|
|
16423
16423
|
for (; YI(e) || WI(e); )
|
|
@@ -16464,7 +16464,7 @@ function ZI(e) {
|
|
|
16464
16464
|
}
|
|
16465
16465
|
a !== 0 && xs(e), dn.call(Cu, i) ? Cu[i](e, i, o) : er(e, 'unknown document directive "' + i + '"');
|
|
16466
16466
|
}
|
|
16467
|
-
if (nt(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, nt(e, !0, -1)) : r && Te(e, "directives end mark is expected"),
|
|
16467
|
+
if (nt(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, nt(e, !0, -1)) : r && Te(e, "directives end mark is expected"), fi(e, e.lineIndent - 1, Qo, !1, !0), nt(e, !0, -1), e.checkLineBreaks && RI.test(e.input.slice(t, e.position)) && er(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Tr(e)) {
|
|
16468
16468
|
e.input.charCodeAt(e.position) === 46 && (e.position += 3, nt(e, !0, -1));
|
|
16469
16469
|
return;
|
|
16470
16470
|
}
|
|
@@ -16602,7 +16602,7 @@ function C$(e) {
|
|
|
16602
16602
|
function x$(e) {
|
|
16603
16603
|
return !nr(e) && e !== tr;
|
|
16604
16604
|
}
|
|
16605
|
-
function
|
|
16605
|
+
function Mi(e, t) {
|
|
16606
16606
|
var n = e.charCodeAt(t), i;
|
|
16607
16607
|
return n >= 55296 && n <= 56319 && t + 1 < e.length && (i = e.charCodeAt(t + 1), i >= 56320 && i <= 57343) ? (n - 55296) * 1024 + i - 56320 + 65536 : n;
|
|
16608
16608
|
}
|
|
@@ -16612,16 +16612,16 @@ function Wf(e) {
|
|
|
16612
16612
|
}
|
|
16613
16613
|
var Xf = 1, Da = 2, Zf = 3, Jf = 4, Hn = 5;
|
|
16614
16614
|
function A$(e, t, n, i, o, r, a, s) {
|
|
16615
|
-
var l, u = 0, d = null, c = !1, f = !1, g = i !== -1, b = -1, h = C$(
|
|
16615
|
+
var l, u = 0, d = null, c = !1, f = !1, g = i !== -1, b = -1, h = C$(Mi(e, 0)) && x$(Mi(e, e.length - 1));
|
|
16616
16616
|
if (t || a)
|
|
16617
16617
|
for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
|
|
16618
|
-
if (u =
|
|
16618
|
+
if (u = Mi(e, l), !no(u))
|
|
16619
16619
|
return Hn;
|
|
16620
16620
|
h = h && $u(u, d, s), d = u;
|
|
16621
16621
|
}
|
|
16622
16622
|
else {
|
|
16623
16623
|
for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
|
|
16624
|
-
if (u =
|
|
16624
|
+
if (u = Mi(e, l), u === eo)
|
|
16625
16625
|
c = !0, g && (f = f || // Foldable line = too long, and not more-indented.
|
|
16626
16626
|
l - b - 1 > i && e[b + 1] !== " ", b = l);
|
|
16627
16627
|
else if (!no(u))
|
|
@@ -16703,7 +16703,7 @@ function Nu(e, t) {
|
|
|
16703
16703
|
}
|
|
16704
16704
|
function $$(e) {
|
|
16705
16705
|
for (var t = "", n = 0, i, o = 0; o < e.length; n >= 65536 ? o += 2 : o++)
|
|
16706
|
-
n =
|
|
16706
|
+
n = Mi(e, o), i = bt[n], !i && no(n) ? (t += e[o], n >= 65536 && (t += e[o + 1])) : t += i || w$(n);
|
|
16707
16707
|
return t;
|
|
16708
16708
|
}
|
|
16709
16709
|
function P$(e, t, n) {
|
|
@@ -16933,7 +16933,7 @@ const Z$ = `nodes:
|
|
|
16933
16933
|
},
|
|
16934
16934
|
emits: ["change", "error"],
|
|
16935
16935
|
setup(e, { expose: t, emit: n }) {
|
|
16936
|
-
const i = n, o =
|
|
16936
|
+
const i = n, o = ii("editor-root"), r = Ro(null);
|
|
16937
16937
|
function a(s) {
|
|
16938
16938
|
const l = r.value, u = l == null ? void 0 : l.getModel();
|
|
16939
16939
|
if (!l || !u)
|
|
@@ -16995,7 +16995,7 @@ const Z$ = `nodes:
|
|
|
16995
16995
|
setExampleCode: a
|
|
16996
16996
|
}), (s, l) => (E(), J("div", eP, null, 512));
|
|
16997
16997
|
}
|
|
16998
|
-
}), iP = /* @__PURE__ */
|
|
16998
|
+
}), iP = /* @__PURE__ */ Me(nP, [["__scopeId", "data-v-e5fcb32d"]]), oP = { key: 0 }, rP = { class: "examples-content" }, aP = ["innerHTML"], sP = /* @__PURE__ */ be({
|
|
16999
16999
|
__name: "DatakitForm",
|
|
17000
17000
|
props: {
|
|
17001
17001
|
generalInfoTitle: {},
|
|
@@ -17034,7 +17034,7 @@ const Z$ = `nodes:
|
|
|
17034
17034
|
default:
|
|
17035
17035
|
return "";
|
|
17036
17036
|
}
|
|
17037
|
-
}), u = oe(!1), d =
|
|
17037
|
+
}), u = oe(!1), d = ii("code-editor");
|
|
17038
17038
|
function c(b) {
|
|
17039
17039
|
var h;
|
|
17040
17040
|
(h = d.value) == null || h.setExampleCode(b);
|
|
@@ -17083,7 +17083,7 @@ const Z$ = `nodes:
|
|
|
17083
17083
|
default: L(() => [
|
|
17084
17084
|
G("div", rP, [
|
|
17085
17085
|
De(he(p(t)("plugins.free-form.datakit.description_example")) + " ", 1),
|
|
17086
|
-
(E(), J(
|
|
17086
|
+
(E(), J(Re, null, ze(Qf, (w, v) => B(m, {
|
|
17087
17087
|
key: v,
|
|
17088
17088
|
appearance: "secondary",
|
|
17089
17089
|
size: "small",
|
|
@@ -17135,7 +17135,7 @@ const Z$ = `nodes:
|
|
|
17135
17135
|
]), 1040);
|
|
17136
17136
|
};
|
|
17137
17137
|
}
|
|
17138
|
-
}), lP = /* @__PURE__ */
|
|
17138
|
+
}), lP = /* @__PURE__ */ Me(sP, [["__scopeId", "data-v-5dbe6213"]]), Fu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17139
17139
|
__proto__: null,
|
|
17140
17140
|
DatakitForm: lP,
|
|
17141
17141
|
RequestCalloutForm: v0,
|
|
@@ -17432,7 +17432,7 @@ const Z$ = `nodes:
|
|
|
17432
17432
|
}), (ne, te) => {
|
|
17433
17433
|
var ve;
|
|
17434
17434
|
const ue = Se("KSkeleton");
|
|
17435
|
-
return E(), J(
|
|
17435
|
+
return E(), J(Re, null, [
|
|
17436
17436
|
G("div", uP, [
|
|
17437
17437
|
fe.value ? (E(), W(ue, {
|
|
17438
17438
|
key: 0,
|
|
@@ -17476,7 +17476,7 @@ const Z$ = `nodes:
|
|
|
17476
17476
|
]),
|
|
17477
17477
|
key: "0"
|
|
17478
17478
|
} : void 0
|
|
17479
|
-
]), 1064, ["enable-redis-partial", "form-model", "form-options", "form-schema", "is-editing", "show-new-partial-modal"])) : (E(), W(p(
|
|
17479
|
+
]), 1064, ["enable-redis-partial", "form-model", "form-options", "form-schema", "is-editing", "show-new-partial-modal"])) : (E(), W(p(Ri), {
|
|
17480
17480
|
key: 2,
|
|
17481
17481
|
"enable-redis-partial": e.enableRedisPartial,
|
|
17482
17482
|
"is-editing": e.editing,
|
|
@@ -17521,7 +17521,7 @@ const Z$ = `nodes:
|
|
|
17521
17521
|
], 64);
|
|
17522
17522
|
};
|
|
17523
17523
|
}
|
|
17524
|
-
}), pP = /* @__PURE__ */
|
|
17524
|
+
}), pP = /* @__PURE__ */ Me(fP, [["__scopeId", "data-v-780e65cb"]]), gP = { key: 1 }, mP = /* @__PURE__ */ be({
|
|
17525
17525
|
__name: "PluginFormActionsWrapper",
|
|
17526
17526
|
props: {
|
|
17527
17527
|
teleportTarget: {
|
|
@@ -17635,7 +17635,7 @@ const Z$ = `nodes:
|
|
|
17635
17635
|
app: i.config.app,
|
|
17636
17636
|
credential: i.credential,
|
|
17637
17637
|
experimentalRenders: i.config.app === "konnect" ? i.config.experimentalRenders : void 0
|
|
17638
|
-
}), { formatPluginFieldLabel: l } = We.usePluginHelpers(), { getMessageFromError: u } =
|
|
17638
|
+
}), { formatPluginFieldLabel: l } = We.usePluginHelpers(), { getMessageFromError: u } = gi(), { capitalize: d } = or(), { objectsAreEqual: c } = rr(), { axiosInstance: f } = pn((ie = i.config) == null ? void 0 : ie.axiosRequestConfig), g = oe(!1), b = j(() => !!i.pluginId), h = j(() => i.pluginId ? yn.Edit : yn.Create), m = oe(void 0), y = oe(void 0), w = j(() => !!(i.credential && i.config.entityId)), v = oe(void 0), x = oe({}), K = oe(), S = oe();
|
|
17639
17639
|
Je(Yc, {
|
|
17640
17640
|
redisType: K,
|
|
17641
17641
|
redisPath: S,
|
|
@@ -17797,11 +17797,11 @@ const Z$ = `nodes:
|
|
|
17797
17797
|
fieldNameHasDashes: !0
|
|
17798
17798
|
} : Ve[me] = ye[me], Ve;
|
|
17799
17799
|
}, {})), Object.keys(le).sort().forEach((Ve) => {
|
|
17800
|
-
var
|
|
17800
|
+
var yi, bi, _i, wi, Ei, Si, ki;
|
|
17801
17801
|
const ye = le[Ve];
|
|
17802
17802
|
ye.type === "set" && (ye.type = "array");
|
|
17803
17803
|
const me = q ? `${q}-${Ve}` : `${Ve}`;
|
|
17804
|
-
if ((
|
|
17804
|
+
if ((yi = Ae == null ? void 0 : Ae.fieldsToDelete) != null && yi.includes(me)) {
|
|
17805
17805
|
bl(V, me);
|
|
17806
17806
|
return;
|
|
17807
17807
|
}
|
|
@@ -17823,7 +17823,7 @@ const Z$ = `nodes:
|
|
|
17823
17823
|
V[me].label = Fe.split("-").map(l).join(".");
|
|
17824
17824
|
} else
|
|
17825
17825
|
V[me].label = l(me);
|
|
17826
|
-
if ((q === "config" || q.startsWith("config-")) && (
|
|
17826
|
+
if ((q === "config" || q.startsWith("config-")) && (bi = le[Ve]) != null && bi.description && (V[me].help = To.parse(le[Ve].description, { mangle: !1, headerIds: !1 })), ye.type === "map") {
|
|
17827
17827
|
if (V[me].type = "object-advanced", V[me].values = ye.values, ye.values.type === "array") {
|
|
17828
17828
|
const { type: Fe } = ye.values.elements || {};
|
|
17829
17829
|
V[me].schema = {
|
|
@@ -17878,14 +17878,14 @@ const Z$ = `nodes:
|
|
|
17878
17878
|
const { help: ut, label: et, hint: qe, values: gt, referenceable: At, elements: hn } = V[me], { help: vn, ...uo } = Ae[Fe];
|
|
17879
17879
|
V[me] = { help: ut, label: et, hint: qe, values: gt, referenceable: At, elements: hn, ...uo }, typeof vn == "string" && (V[me].help = To.parse(vn, { mangle: !1, headerIds: !1 }));
|
|
17880
17880
|
}
|
|
17881
|
-
}), ye.type === "array" && ((
|
|
17881
|
+
}), ye.type === "array" && ((_i = ye.elements) == null ? void 0 : _i.type) === "record" && Array.isArray(ye.elements.fields)) {
|
|
17882
17882
|
let Fe = {};
|
|
17883
17883
|
for (const et of ye.elements.fields)
|
|
17884
17884
|
Fe = { ...Fe, ...et };
|
|
17885
|
-
const ut = (
|
|
17885
|
+
const ut = (Si = (Ei = (wi = V[me]) == null ? void 0 : wi.items) == null ? void 0 : Ei.schema) == null ? void 0 : Si.fields;
|
|
17886
17886
|
if (Array.isArray(ut))
|
|
17887
17887
|
for (const et of V[me].items.schema.fields) {
|
|
17888
|
-
const qe = (
|
|
17888
|
+
const qe = (ki = Fe[et.model]) == null ? void 0 : ki.description;
|
|
17889
17889
|
et.help === void 0 && typeof qe == "string" && (et.help = To.parse(qe, { mangle: !1, headerIds: !1 }));
|
|
17890
17890
|
}
|
|
17891
17891
|
if (ut || (V[me].type = "array", V[me].newElementButtonLabelClasses = "kong-form-new-element-button-label", V[me].fieldClasses = "array-card-container-wrapper", V[me].itemContainerComponent = "FieldArrayCardContainer", V[me].items = {
|
|
@@ -17944,8 +17944,8 @@ const Z$ = `nodes:
|
|
|
17944
17944
|
ye.enum ? Et = H(ye.enum) : ye.type === "boolean" ? Et = "boolean" : ye.type === "number" || ye.type === "integer" ? (Et = "number", V[me].inputType = "number") : ye.type === "array" ? (Et = "array", V[me].default = ye.default, ye.len_min > 0 && (V[me].submitWhenNull = !0)) : ye.type === "foreign" ? Et = "object" : ye.default && Array.isArray(ye.default) ? (Et = "array", V[me].valueArrayType = H(ye.default)) : ye.default && (Et = typeof ye.default), V[me].valueType = Et, ye.fieldNameHasDashes && (V[me].fieldNameHasDashes = !0);
|
|
17945
17945
|
}), V;
|
|
17946
17946
|
}, F = () => {
|
|
17947
|
-
var Ve, ye, me, Et,
|
|
17948
|
-
const q = ((Ve = Ut[i.pluginType]) == null ? void 0 : Ve.scope.includes(ht.SERVICE)) ?? !0, ee = ((ye = Ut[i.pluginType]) == null ? void 0 : ye.scope.includes(ht.ROUTE)) ?? !0, V = ((me = Ut[i.pluginType]) == null ? void 0 : me.scope.includes(ht.CONSUMER)) ?? !0, ge = i.config.disableConsumerGroupScope ? !1 : ((Et = Ut[i.pluginType]) == null ? void 0 : Et.scope.includes(ht.CONSUMER_GROUP)) ?? !0, le = i.config.entityType === "consumers" && !!i.config.entityId || !!((
|
|
17947
|
+
var Ve, ye, me, Et, yi, bi, _i, wi, Ei, Si, ki, Fe;
|
|
17948
|
+
const q = ((Ve = Ut[i.pluginType]) == null ? void 0 : Ve.scope.includes(ht.SERVICE)) ?? !0, ee = ((ye = Ut[i.pluginType]) == null ? void 0 : ye.scope.includes(ht.ROUTE)) ?? !0, V = ((me = Ut[i.pluginType]) == null ? void 0 : me.scope.includes(ht.CONSUMER)) ?? !0, ge = i.config.disableConsumerGroupScope ? !1 : ((Et = Ut[i.pluginType]) == null ? void 0 : Et.scope.includes(ht.CONSUMER_GROUP)) ?? !0, le = i.config.entityType === "consumers" && !!i.config.entityId || !!((bi = (yi = v.value) == null ? void 0 : yi.consumer) != null && bi.id), Ae = i.config.entityType === "consumer_groups" && !!i.config.entityId || !!((wi = (_i = v.value) == null ? void 0 : _i.consumer_group) != null && wi.id), Ee = i.config.entityType === "services" && !!i.config.entityId || !!((Si = (Ei = v.value) == null ? void 0 : Ei.service) != null && Si.id), Ie = i.config.entityType === "routes" && !!i.config.entityId || !!((Fe = (ki = v.value) == null ? void 0 : ki.route) != null && Fe.id), Le = [];
|
|
17949
17949
|
if (q && Le.push({
|
|
17950
17950
|
id: "service-id",
|
|
17951
17951
|
model: "service-id",
|
|
@@ -18258,7 +18258,7 @@ const Z$ = `nodes:
|
|
|
18258
18258
|
]);
|
|
18259
18259
|
};
|
|
18260
18260
|
}
|
|
18261
|
-
}), $O = /* @__PURE__ */
|
|
18261
|
+
}), $O = /* @__PURE__ */ Me(bP, [["__scopeId", "data-v-420ab237"]]), _P = { class: "kong-ui-entities-plugins-list" }, wP = { class: "button-row" }, EP = { class: "empty-state-icon-gateway" }, SP = { class: "name-cell-wrapper" }, kP = { class: "info-wrapper" }, CP = {
|
|
18262
18262
|
key: 0,
|
|
18263
18263
|
class: "info-name"
|
|
18264
18264
|
}, xP = {
|
|
@@ -18582,7 +18582,7 @@ const Z$ = `nodes:
|
|
|
18582
18582
|
to: e.config.createRoute
|
|
18583
18583
|
}, {
|
|
18584
18584
|
default: L(() => [
|
|
18585
|
-
B(p(
|
|
18585
|
+
B(p(mi)),
|
|
18586
18586
|
De(" " + he(p(r)("plugins.list.toolbar_actions.new_plugin")), 1)
|
|
18587
18587
|
]),
|
|
18588
18588
|
_: 1
|
|
@@ -18609,7 +18609,7 @@ const Z$ = `nodes:
|
|
|
18609
18609
|
appliedTo: L(({ row: Ee }) => [
|
|
18610
18610
|
$(Ee).length > 0 ? (E(), W(V, { key: 0 }, {
|
|
18611
18611
|
default: L(() => [
|
|
18612
|
-
(E(!0), J(
|
|
18612
|
+
(E(!0), J(Re, null, ze($(Ee), (Ie) => (E(), W(p(bn), {
|
|
18613
18613
|
key: Ie.badgeText,
|
|
18614
18614
|
"auth-function": () => P(Ie.type, Ee),
|
|
18615
18615
|
"force-show": ""
|
|
@@ -18840,7 +18840,7 @@ const Z$ = `nodes:
|
|
|
18840
18840
|
]);
|
|
18841
18841
|
};
|
|
18842
18842
|
}
|
|
18843
|
-
}), PO = /* @__PURE__ */
|
|
18843
|
+
}), PO = /* @__PURE__ */ Me(IP, [["__scopeId", "data-v-a33ca66d"]]), $P = { class: "plugin-select-card-wrapper" }, PP = ["data-testid"], OP = { class: "plugin-card-header" }, NP = { class: "plugin-card-title" }, MP = {
|
|
18844
18844
|
key: 0,
|
|
18845
18845
|
class: "plugin-card-actions"
|
|
18846
18846
|
}, RP = ["data-testid", "title"], DP = {
|
|
@@ -18996,7 +18996,7 @@ const Z$ = `nodes:
|
|
|
18996
18996
|
]);
|
|
18997
18997
|
};
|
|
18998
18998
|
}
|
|
18999
|
-
}), ep = /* @__PURE__ */
|
|
18999
|
+
}), ep = /* @__PURE__ */ Me(KP, [["__scopeId", "data-v-65d53934"]]), BP = /* @__PURE__ */ be({
|
|
19000
19000
|
__name: "DeleteCustomPluginSchemaModal",
|
|
19001
19001
|
props: {
|
|
19002
19002
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -19013,7 +19013,7 @@ const Z$ = `nodes:
|
|
|
19013
19013
|
emits: ["closed", "proceed"],
|
|
19014
19014
|
setup(e, { emit: t }) {
|
|
19015
19015
|
var b;
|
|
19016
|
-
const n = e, i = t, { i18nT: o, i18n: { t: r } } = We.useI18n(), { getMessageFromError: a } =
|
|
19016
|
+
const n = e, i = t, { i18nT: o, i18n: { t: r } } = We.useI18n(), { getMessageFromError: a } = gi(), { axiosInstance: s } = pn((b = n.config) == null ? void 0 : b.axiosRequestConfig), l = j(() => {
|
|
19017
19017
|
var h;
|
|
19018
19018
|
return c.value ? r("delete.plugin_schema_in_use_title") : r("delete.title", { name: ((h = n.plugin) == null ? void 0 : h.name) || r("delete.custom_plugin") });
|
|
19019
19019
|
}), u = oe(!1), d = oe(""), c = oe(!1), f = j(() => {
|
|
@@ -19092,7 +19092,7 @@ const Z$ = `nodes:
|
|
|
19092
19092
|
}, 8, ["action-button-disabled", "title"])) : Ce("", !0);
|
|
19093
19093
|
};
|
|
19094
19094
|
}
|
|
19095
|
-
}), qP = /* @__PURE__ */
|
|
19095
|
+
}), qP = /* @__PURE__ */ Me(BP, [["__scopeId", "data-v-9e0dee7f"]]), VP = { class: "custom-plugins-grid" }, jP = { class: "empty-state-title" }, zP = { class: "empty-state-description" }, Wr = 310, UP = /* @__PURE__ */ be({
|
|
19096
19096
|
__name: "PluginCustomGrid",
|
|
19097
19097
|
props: {
|
|
19098
19098
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -19194,7 +19194,7 @@ const Z$ = `nodes:
|
|
|
19194
19194
|
class: "plugin-card-container",
|
|
19195
19195
|
style: Ct(y.value)
|
|
19196
19196
|
}, [
|
|
19197
|
-
(E(!0), J(
|
|
19197
|
+
(E(!0), J(Re, null, ze(u.value, (R, X) => (E(), W(ep, {
|
|
19198
19198
|
key: `plugin-card-${X}`,
|
|
19199
19199
|
ref_for: !0,
|
|
19200
19200
|
ref_key: "pluginCardRef",
|
|
@@ -19242,7 +19242,7 @@ const Z$ = `nodes:
|
|
|
19242
19242
|
]);
|
|
19243
19243
|
};
|
|
19244
19244
|
}
|
|
19245
|
-
}), HP = /* @__PURE__ */
|
|
19245
|
+
}), HP = /* @__PURE__ */ Me(UP, [["__scopeId", "data-v-f4b90f47"]]), Xr = 310, GP = /* @__PURE__ */ be({
|
|
19246
19246
|
__name: "PluginSelectGroup",
|
|
19247
19247
|
props: /* @__PURE__ */ No({
|
|
19248
19248
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -19309,7 +19309,7 @@ const Z$ = `nodes:
|
|
|
19309
19309
|
class: "plugin-card-container",
|
|
19310
19310
|
style: Ct(c.value)
|
|
19311
19311
|
}, [
|
|
19312
|
-
(E(!0), J(
|
|
19312
|
+
(E(!0), J(Re, null, ze(i.plugins, (w) => (E(), W(ep, {
|
|
19313
19313
|
key: `plugin-card-${w.id}`,
|
|
19314
19314
|
ref_for: !0,
|
|
19315
19315
|
ref_key: "pluginCardRef",
|
|
@@ -19333,7 +19333,7 @@ const Z$ = `nodes:
|
|
|
19333
19333
|
]), 1032, ["modelValue", "data-testid", "title", "trigger-label"]);
|
|
19334
19334
|
};
|
|
19335
19335
|
}
|
|
19336
|
-
}), Lu = /* @__PURE__ */
|
|
19336
|
+
}), Lu = /* @__PURE__ */ Me(GP, [["__scopeId", "data-v-a1074120"]]), YP = { class: "plugin-select-grid" }, WP = { class: "empty-state-title" }, XP = { class: "empty-state-description" }, Ku = /* @__PURE__ */ be({
|
|
19337
19337
|
__name: "PluginSelectGrid",
|
|
19338
19338
|
props: {
|
|
19339
19339
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -19415,7 +19415,7 @@ const Z$ = `nodes:
|
|
|
19415
19415
|
plugins: n.highlightedPlugins,
|
|
19416
19416
|
onPluginClicked: d[1] || (d[1] = (f) => s(f))
|
|
19417
19417
|
}, null, 8, ["modelValue", "config", "name", "navigate-on-click", "plugins"])) : Ce("", !0),
|
|
19418
|
-
(E(!0), J(
|
|
19418
|
+
(E(!0), J(Re, null, ze(p(hg), (f) => (E(), J(Re, null, [
|
|
19419
19419
|
l.value[f] ? (E(), J("div", { key: f }, [
|
|
19420
19420
|
B(Lu, {
|
|
19421
19421
|
modelValue: a.value[f],
|
|
@@ -19519,7 +19519,7 @@ const Z$ = `nodes:
|
|
|
19519
19519
|
emits: ["loading", "plugin-clicked", "delete-custom:success"],
|
|
19520
19520
|
setup(e, { emit: t }) {
|
|
19521
19521
|
var F;
|
|
19522
|
-
const n = e, i = t, o = xp(), r = ar(), { i18n: { t: a } } = We.useI18n(), { pluginMetaData: s } = We.usePluginMetaData(), { getMessageFromError: l } =
|
|
19522
|
+
const n = e, i = t, o = xp(), r = ar(), { i18n: { t: a } } = We.useI18n(), { pluginMetaData: s } = We.usePluginMetaData(), { getMessageFromError: l } = gi(), { sortAlpha: u, objectsAreEqual: d } = rr(), c = oe(""), f = oe(!0), g = oe(!1), b = oe(""), h = oe([]), m = oe([]), y = oe({}), w = oe([]), { axiosInstance: v } = pn((F = n.config) == null ? void 0 : F.axiosRequestConfig), x = j(() => y.value ? Object.entries(y.value).filter(([M]) => M !== Ke.CUSTOM_PLUGINS).reduce((M, [, z]) => {
|
|
19523
19523
|
for (const fe of z)
|
|
19524
19524
|
M[fe.id] = fe;
|
|
19525
19525
|
return M;
|
|
@@ -19738,7 +19738,7 @@ const Z$ = `nodes:
|
|
|
19738
19738
|
]);
|
|
19739
19739
|
};
|
|
19740
19740
|
}
|
|
19741
|
-
}), OO = /* @__PURE__ */
|
|
19741
|
+
}), OO = /* @__PURE__ */ Me(rO, [["__scopeId", "data-v-d2065987"]]), aO = { class: "kong-ui-entity-plugin-config-card" }, sO = { class: "name-cell-wrapper" }, lO = { class: "info-name" }, uO = { key: 0 }, cO = { key: 0 }, dO = { key: 0 }, fO = { key: 0 }, pO = { key: 0 }, Zr = "config", gO = /* @__PURE__ */ be({
|
|
19742
19742
|
__name: "PluginConfigCard",
|
|
19743
19743
|
props: {
|
|
19744
19744
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -19852,7 +19852,7 @@ const Z$ = `nodes:
|
|
|
19852
19852
|
}), a(v, I, R);
|
|
19853
19853
|
}
|
|
19854
19854
|
return v;
|
|
19855
|
-
}), { getMessageFromError: f } =
|
|
19855
|
+
}), { getMessageFromError: f } = gi(), { axiosInstance: g } = pn((w = i.config) == null ? void 0 : w.axiosRequestConfig), b = j(() => {
|
|
19856
19856
|
var x, K;
|
|
19857
19857
|
let v = `${i.config.apiBaseUrl}${Ze.form[i.config.app].pluginSchema}`;
|
|
19858
19858
|
return i.config.app === "konnect" ? v = v.replace(/{controlPlaneId}/gi, ((x = i.config) == null ? void 0 : x.controlPlaneId) || "") : i.config.app === "kongManager" && (v = v.replace(/\/{workspace}/gi, (K = i.config) != null && K.workspace ? `/${i.config.workspace}` : "")), v = v.replace(/{plugin}/gi, i.config.pluginType), v;
|
|
@@ -19911,7 +19911,7 @@ const Z$ = `nodes:
|
|
|
19911
19911
|
])
|
|
19912
19912
|
]),
|
|
19913
19913
|
consumer: L((I) => [
|
|
19914
|
-
p(s)("rowValue", I) ? e.showIdAsLink ? (E(), W(p(
|
|
19914
|
+
p(s)("rowValue", I) ? e.showIdAsLink ? (E(), W(p(Ci), {
|
|
19915
19915
|
key: 1,
|
|
19916
19916
|
item: {
|
|
19917
19917
|
key: p(s)("rowValue", I).id,
|
|
@@ -19927,7 +19927,7 @@ const Z$ = `nodes:
|
|
|
19927
19927
|
}, null, 8, ["copy-tooltip", "text"])) : (E(), J("span", uO, "–"))
|
|
19928
19928
|
]),
|
|
19929
19929
|
route: L((I) => [
|
|
19930
|
-
p(s)("rowValue", I) ? e.showIdAsLink ? (E(), W(p(
|
|
19930
|
+
p(s)("rowValue", I) ? e.showIdAsLink ? (E(), W(p(Ci), {
|
|
19931
19931
|
key: 1,
|
|
19932
19932
|
item: {
|
|
19933
19933
|
key: p(s)("rowValue", I).id,
|
|
@@ -19943,7 +19943,7 @@ const Z$ = `nodes:
|
|
|
19943
19943
|
}, null, 8, ["copy-tooltip", "text"])) : (E(), J("span", cO, "–"))
|
|
19944
19944
|
]),
|
|
19945
19945
|
service: L((I) => [
|
|
19946
|
-
p(s)("rowValue", I) ? e.showIdAsLink ? (E(), W(p(
|
|
19946
|
+
p(s)("rowValue", I) ? e.showIdAsLink ? (E(), W(p(Ci), {
|
|
19947
19947
|
key: 1,
|
|
19948
19948
|
item: {
|
|
19949
19949
|
key: p(s)("rowValue", I).id,
|
|
@@ -19959,7 +19959,7 @@ const Z$ = `nodes:
|
|
|
19959
19959
|
}, null, 8, ["copy-tooltip", "text"])) : (E(), J("span", dO, "–"))
|
|
19960
19960
|
]),
|
|
19961
19961
|
consumer_group: L((I) => [
|
|
19962
|
-
p(s)("rowValue", I) ? e.showIdAsLink ? (E(), W(p(
|
|
19962
|
+
p(s)("rowValue", I) ? e.showIdAsLink ? (E(), W(p(Ci), {
|
|
19963
19963
|
key: 1,
|
|
19964
19964
|
item: {
|
|
19965
19965
|
key: p(s)("rowValue", I).id,
|
|
@@ -19977,7 +19977,7 @@ const Z$ = `nodes:
|
|
|
19977
19977
|
partials: L((I) => {
|
|
19978
19978
|
var R, X, Z, $, P, _, O, A, H;
|
|
19979
19979
|
return [
|
|
19980
|
-
p(s)("rowValue", I) ? e.showIdAsLink ? (E(), W(p(
|
|
19980
|
+
p(s)("rowValue", I) ? e.showIdAsLink ? (E(), W(p(Ci), {
|
|
19981
19981
|
key: 1,
|
|
19982
19982
|
item: {
|
|
19983
19983
|
key: (X = (R = p(s)("rowValue", I)) == null ? void 0 : R[0]) == null ? void 0 : X.id,
|
|
@@ -20001,7 +20001,7 @@ const Z$ = `nodes:
|
|
|
20001
20001
|
]);
|
|
20002
20002
|
};
|
|
20003
20003
|
}
|
|
20004
|
-
}), NO = /* @__PURE__ */
|
|
20004
|
+
}), NO = /* @__PURE__ */ Me(gO, [["__scopeId", "data-v-c314449c"]]), { usePluginMetaData: MO, useProvideExperimentalFreeForms: RO } = We;
|
|
20005
20005
|
export {
|
|
20006
20006
|
Xu as EXPERIMENTAL_FREE_FORM_PROVIDER,
|
|
20007
20007
|
Un as EntityTypeIdField,
|