@kong-ui-public/entities-plugins 9.191.0 → 9.192.0
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,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as ge, useModel as bo, inject as Et, ref as oe, computed as B, onMounted as Dn, resolveComponent as ue, openBlock as S, createBlock as J, toRef as ut, createElementBlock as te, createVNode as I, isRef as cl, unref as u, markRaw as Sg, toValue as rt, readonly as vd, watch as We, onBeforeUnmount as bd, reactive as ci, useSlots as vn, provide as zt, toRaw as Sr, onUnmounted as dl, useAttrs as To, mergeProps as Qe, createSlots as ct, renderList as Je, withCtx as M, renderSlot as et, normalizeProps as Mn, guardReactiveProps as ji, createPropsRestProxy as bn, withDirectives as Ft, createElementVNode as W, resolveDynamicComponent as At, createCommentVNode as ce, Fragment as Le, vShow as Kt, useCssVars as Aa, useTemplateRef as
|
|
1
|
+
import { defineComponent as ge, useModel as bo, inject as Et, ref as oe, computed as B, onMounted as Dn, resolveComponent as ue, openBlock as S, createBlock as J, toRef as ut, createElementBlock as te, createVNode as I, isRef as cl, unref as u, markRaw as Sg, toValue as rt, readonly as vd, watch as We, onBeforeUnmount as bd, reactive as ci, useSlots as vn, provide as zt, toRaw as Sr, onUnmounted as dl, useAttrs as To, mergeProps as Qe, createSlots as ct, renderList as Je, withCtx as M, renderSlot as et, normalizeProps as Mn, guardReactiveProps as ji, createPropsRestProxy as bn, withDirectives as Ft, createElementVNode as W, resolveDynamicComponent as At, createCommentVNode as ce, Fragment as Le, vShow as Kt, useCssVars as Aa, useTemplateRef as ft, normalizeClass as at, createTextVNode as be, toDisplayString as ne, withModifiers as xt, nextTick as tn, Transition as Ig, useId as Sa, onBeforeMount as Di, mergeModels as sa, withKeys as yu, shallowRef as sn, Teleport as Ir, warn as Tg, onScopeDispose as Og, normalizeStyle as Oi, watchEffect as Ng } from "vue";
|
|
2
2
|
import { useStringHelpers as Tr, ConfigurationSchemaType as Gt, useAxios as qn, useErrors as vi, EntityFormBlock as Tn, FEATURE_FLAGS as _d, EntityBaseForm as wd, SupportedEntityType as Xo, useHelpers as Ia, EntityBaseFormType as wi, DeckCodeBlock as $g, TerraformCodeBlock as Pg, YamlCodeBlock as Rg, JsonCodeBlock as Mg, useTableState as Lg, useGatewayFeatureSupported as Fg, useFetcher as Kg, useDeleteUrlBuilder as jg, FetcherStatus as Dg, EntityBaseTable as qg, PermissionsWrapper as ki, TableTags as Bg, EntityFilter as Ug, EntityToggleModal as Vg, EntityDeleteModal as kd, EntityTypes as Ed, ConfigCardItem as Gg, ConfigurationSchemaSection as Xi, useSchemaProvider as zg, EntityBaseConfigCard as Hg, InternalLinkItem as Bo } from "@kong-ui-public/entities-shared";
|
|
3
3
|
import { AddIcon as gn, CloseIcon as Or, TrashIcon as Cd, ChevronRightIcon as Wg, InfoIcon as Yg, SparklesIcon as Jg, NetworkIcon as Xg, CachedIcon as Zg, ArrowSplitIcon as xd, GatewayIcon as Qg, CodeblockIcon as fl, DataObjectIcon as eh, CodeIcon as th, StackIcon as nh, DeployIcon as Ad, EditSquareIcon as ih, KeyIcon as Sd, CloudIcon as Ra, WarningIcon as oh, MoreIcon as Oo, UnfoldMoreIcon as vu, UnfoldLessIcon as bu, RemoveIcon as pl, FullscreenIcon as ah, AutoLayoutIcon as rh, ChevronDownIcon as _u, ArrowLeftIcon as sh, ChevronDoubleLeftIcon as lh, ChevronDoubleRightIcon as uh, UndoIcon as ch, RedoIcon as dh, ExternalLinkIcon as fh, DatabaseIcon as ph, ExpandIcon as mh, DesignIcon as gh, ClearIcon as Ma, CheckCircleIcon as hh, BookIcon as wu, PlugIcon as yh, TransformationIcon as vh, TrafficIcon as bh, RuntimeServerlessIcon as _h, SecurityIcon as wh, MoneyIcon as kh, ServiceDocumentIcon as Eh, LockIcon as Ch, AnalyticsIcon as xh, BotIcon as Ah, PopularIcon as Sh, GridIcon as Ih, ListIcon as Th } from "@kong/icons";
|
|
4
4
|
import { KTextArea as Oh, KInput as Nh, KCheckbox as $h, KCard as ar, KLabel as Ln, KMultiselect as Ph, KSelect as Rh, KInputSwitch as Mh, KTooltip as Cn, KRadio as la, KCollapse as Lh, KAlert as Fh, KButton as Wn, KModal as Kh, KDropdown as Id, KDropdownItem as Ja, KSlideout as jh, KSegmentedControl as Dh, KExternalLink as ku } from "@kong/kongponents";
|
|
5
5
|
import { PluginIcon as Ni } from "@kong-ui-public/entities-plugins-icon";
|
|
6
|
-
import { PluginIcon as
|
|
6
|
+
import { PluginIcon as DK, getPluginIconURL as qK } from "@kong-ui-public/entities-plugins-icon";
|
|
7
7
|
import { createI18n as jt, i18nTComponent as qh } from "@kong-ui-public/i18n";
|
|
8
8
|
import { PluginGroup as He, PLUGIN_GROUP_AND_SCOPE_MAP as me, PluginScope as kt, GATEWAY_VERSION_TIMESTAMP_MAP as Bh } from "@kong-ui-public/entities-plugins-metadata";
|
|
9
|
-
import { PluginGroup as
|
|
9
|
+
import { PluginGroup as UK, PluginScope as VK } from "@kong-ui-public/entities-plugins-metadata";
|
|
10
10
|
import { FORMS_CONFIG as bi, composables as Uh, AUTOFILL_SLOT as _i, FORMS_API_KEY as Td, FieldScopedEntitySelect as Vh, AUTOFILL_SLOT_NAME as Xn, getSharedFormName as Od, customFields as Ts, sharedForms as Gh, VueFormGenerator as zh } from "@kong-ui-public/forms";
|
|
11
11
|
import { marked as Xa } from "marked";
|
|
12
12
|
import { createInjectionState as ml, useLocalStorage as Za, useManualRefHistory as Hh, createGlobalState as Wh, useEventListener as ua, createSharedComposable as Yh, useElementBounding as Ei, useDraggable as Jh, useScrollLock as Xh } from "@vueuse/core";
|
|
@@ -5716,7 +5716,7 @@ const [xE, AE] = ml(
|
|
|
5716
5716
|
};
|
|
5717
5717
|
}
|
|
5718
5718
|
);
|
|
5719
|
-
function
|
|
5719
|
+
function gt() {
|
|
5720
5720
|
const e = AE();
|
|
5721
5721
|
if (!e)
|
|
5722
5722
|
throw new Error("useFormShared() called without provider.");
|
|
@@ -5730,7 +5730,7 @@ const Hf = (e) => {
|
|
|
5730
5730
|
});
|
|
5731
5731
|
return zt(hc, n), n;
|
|
5732
5732
|
}, SE = (e) => {
|
|
5733
|
-
const { getSchema: t, getSchemaMap: n, fieldRendererRegistry: i } =
|
|
5733
|
+
const { getSchema: t, getSchemaMap: n, fieldRendererRegistry: i } = gt(), { default: o, ...a } = vn(), r = Et(Bs), s = B(() => {
|
|
5734
5734
|
const l = rt(r), c = n(), p = Object.keys(a).filter((d) => d !== $o && d !== "item").reduce((d, f) => {
|
|
5735
5735
|
const m = ta(st(rt(e), f), c);
|
|
5736
5736
|
return { ...d, [m]: a[f] };
|
|
@@ -5754,7 +5754,7 @@ const Hf = (e) => {
|
|
|
5754
5754
|
KM_2446_DATAKIT_JWT_NODES: "KM-2446-Datakit-JWT-nodes"
|
|
5755
5755
|
}, IE = Symbol("TOASTER_PROVIDER"), Vo = "__FREEFORM_SCHEMA_MAP__";
|
|
5756
5756
|
function Yf(e) {
|
|
5757
|
-
const { formData: t } =
|
|
5757
|
+
const { formData: t } = gt(), n = Hf(e);
|
|
5758
5758
|
return {
|
|
5759
5759
|
value: B({
|
|
5760
5760
|
get: () => Fr(t, en(n.value)),
|
|
@@ -5763,7 +5763,7 @@ function Yf(e) {
|
|
|
5763
5763
|
};
|
|
5764
5764
|
}
|
|
5765
5765
|
function Pt(e) {
|
|
5766
|
-
const { getSchema: t, isFieldHidden: n, getEmptyOrDefault: i } =
|
|
5766
|
+
const { getSchema: t, isFieldHidden: n, getEmptyOrDefault: i } = gt(), o = Hf(e), a = SE(o), { value: r } = Yf(e), s = B(() => t(o.value)), l = B(() => n(o.value)), c = B(() => i(o.value));
|
|
5767
5767
|
return s.value ? {
|
|
5768
5768
|
schema: s,
|
|
5769
5769
|
path: o,
|
|
@@ -5884,7 +5884,7 @@ function Qf(e) {
|
|
|
5884
5884
|
return en(e).map((n) => n.split("_").map(Xf).join(" ")).map(mf).join(" › ");
|
|
5885
5885
|
}
|
|
5886
5886
|
function $E(e, t) {
|
|
5887
|
-
const n = rt(e), i = Hi(n), { config: o, getSchema: a } =
|
|
5887
|
+
const n = rt(e), i = Hi(n), { config: o, getSchema: a } = gt(), r = NE(i, t), s = zf(e);
|
|
5888
5888
|
return B(() => {
|
|
5889
5889
|
var m;
|
|
5890
5890
|
const l = r.value ?? i, c = (m = s.value.parent) != null && m.path ? a(s.value.parent.path) : null, p = (c == null ? void 0 : c.type) === "array", d = (c == null ? void 0 : c.type) === "map";
|
|
@@ -5895,7 +5895,7 @@ function $E(e, t) {
|
|
|
5895
5895
|
});
|
|
5896
5896
|
}
|
|
5897
5897
|
function on(e, t) {
|
|
5898
|
-
const { getLabelAttributes: n, getPlaceholder: i, getSchema: o } =
|
|
5898
|
+
const { getLabelAttributes: n, getPlaceholder: i, getSchema: o } = gt(), a = rt(e), r = rt(t), s = $E(e, ut(() => rt(t).resetLabelPath));
|
|
5899
5899
|
return B(() => {
|
|
5900
5900
|
var l;
|
|
5901
5901
|
return {
|
|
@@ -5909,7 +5909,7 @@ function on(e, t) {
|
|
|
5909
5909
|
}
|
|
5910
5910
|
function Ml(e, t) {
|
|
5911
5911
|
var m;
|
|
5912
|
-
const { value: n, ...i } = Pt(e), { getEmptyOrDefault: o, keyIdMap: a } =
|
|
5912
|
+
const { value: n, ...i } = Pt(e), { getEmptyOrDefault: o, keyIdMap: a } = gt(), r = B(() => {
|
|
5913
5913
|
if (i.path)
|
|
5914
5914
|
return i.schema.value.values;
|
|
5915
5915
|
}), s = B(() => n ? Object.keys(n.value || {}).map((g) => {
|
|
@@ -5979,7 +5979,7 @@ const Po = /* @__PURE__ */ ge({
|
|
|
5979
5979
|
We(() => n.modelValue, (d) => {
|
|
5980
5980
|
s.value = d;
|
|
5981
5981
|
});
|
|
5982
|
-
const { config: l } =
|
|
5982
|
+
const { config: l } = gt(), c = (d) => {
|
|
5983
5983
|
d !== s.value && (s.value = d, l.value.updateOnChange || o("update:modelValue", d));
|
|
5984
5984
|
}, p = () => {
|
|
5985
5985
|
l.value.updateOnChange && o("update:modelValue", s.value);
|
|
@@ -6118,7 +6118,7 @@ const Po = /* @__PURE__ */ ge({
|
|
|
6118
6118
|
]);
|
|
6119
6119
|
};
|
|
6120
6120
|
}
|
|
6121
|
-
}),
|
|
6121
|
+
}), pt = /* @__PURE__ */ Se(RE, [["__scopeId", "data-v-09d6ccb2"]]), ME = ["innerHTML"], LE = /* @__PURE__ */ ge({
|
|
6122
6122
|
__name: "BooleanField",
|
|
6123
6123
|
props: {
|
|
6124
6124
|
labelAttributes: {},
|
|
@@ -6245,7 +6245,7 @@ const Po = /* @__PURE__ */ ge({
|
|
|
6245
6245
|
Aa((C) => ({
|
|
6246
6246
|
v0945efcf: j.value
|
|
6247
6247
|
}));
|
|
6248
|
-
const n = e, i = t, { i18n: { t: o } } = Ve(), { getDefault: a, getSchema: r } =
|
|
6248
|
+
const n = e, i = t, { i18n: { t: o } } = Ve(), { getDefault: a, getSchema: r } = gt(), { value: s, hide: l, ...c } = Pt(ut(n, "name")), p = on(c.path, ut({ ...n, ...To() })), d = B(() => {
|
|
6249
6249
|
if (!c.path) throw new Error("Field path is required for sub-schema retrieval");
|
|
6250
6250
|
const C = r(c.path.value);
|
|
6251
6251
|
if (!C) throw new Error(`Schema not found for path: ${c.path.value}`);
|
|
@@ -6268,7 +6268,7 @@ const Po = /* @__PURE__ */ ge({
|
|
|
6268
6268
|
}, k = async (C) => {
|
|
6269
6269
|
var T;
|
|
6270
6270
|
Array.isArray(s.value) && s.value.splice(C, 1), i("remove", C), n.appearance === "tabs" && (E.value = (T = b.value[Math.max(0, C - 1)]) == null ? void 0 : T.hash);
|
|
6271
|
-
}, w =
|
|
6271
|
+
}, w = ft("root");
|
|
6272
6272
|
function x(C) {
|
|
6273
6273
|
if (!w.value)
|
|
6274
6274
|
return;
|
|
@@ -6629,7 +6629,7 @@ const Po = /* @__PURE__ */ ge({
|
|
|
6629
6629
|
getSchema: r,
|
|
6630
6630
|
getDefault: s,
|
|
6631
6631
|
useCurrentRenderRules: l
|
|
6632
|
-
} =
|
|
6632
|
+
} = gt(), c = l({
|
|
6633
6633
|
fieldPath: a.path,
|
|
6634
6634
|
rules: ut(n, "renderRules"),
|
|
6635
6635
|
omittedFields: ut(() => e.omit),
|
|
@@ -6936,7 +6936,7 @@ const Po = /* @__PURE__ */ ge({
|
|
|
6936
6936
|
}),
|
|
6937
6937
|
emits: /* @__PURE__ */ sa(["update"], ["update:modelValue"]),
|
|
6938
6938
|
setup(e, { emit: t }) {
|
|
6939
|
-
const n = t, i = bn(e, ["name", "items", "multiple", "autofocus"]), { getSelectItems: o } =
|
|
6939
|
+
const n = t, i = bn(e, ["name", "items", "multiple", "autofocus"]), { getSelectItems: o } = gt(), { value: a, hide: r, ...s } = Pt(
|
|
6940
6940
|
ut(() => e.name)
|
|
6941
6941
|
), l = bo(e, "modelValue", {
|
|
6942
6942
|
// If multiple and value is null/undefined, return empty array for v-model
|
|
@@ -7148,7 +7148,7 @@ const Po = /* @__PURE__ */ ge({
|
|
|
7148
7148
|
}), g = B(() => {
|
|
7149
7149
|
var w, x;
|
|
7150
7150
|
return ((w = h.value) == null ? void 0 : w.type) === "string" && !((x = h.value) != null && x.one_of);
|
|
7151
|
-
}), y = B(() => m.value ? "div" : ar), v =
|
|
7151
|
+
}), y = B(() => m.value ? "div" : ar), v = ft("root");
|
|
7152
7152
|
function b(w, x) {
|
|
7153
7153
|
var N, j;
|
|
7154
7154
|
(j = (N = i.appearance) == null ? void 0 : N.string) != null && j.multiline || (w.preventDefault(), x === a.value.length - 1 && s(), E(x + 1));
|
|
@@ -7228,7 +7228,7 @@ const Po = /* @__PURE__ */ ge({
|
|
|
7228
7228
|
onKeydown: yu(xt((K) => E(Y), ["prevent"]), ["enter"]),
|
|
7229
7229
|
"onUpdate:modelValue": (K) => u(r)($, K)
|
|
7230
7230
|
}, null, 8, ["data-key-input", "data-testid", "model-value", "placeholder", "onKeydown", "onUpdate:modelValue"]),
|
|
7231
|
-
g.value ? (S(), J(
|
|
7231
|
+
g.value ? (S(), J(pt, {
|
|
7232
7232
|
key: 0,
|
|
7233
7233
|
"inline-vault-picker": "",
|
|
7234
7234
|
multiline: (q = (V = e.appearance) == null ? void 0 : V.string) == null ? void 0 : q.multiline,
|
|
@@ -7294,7 +7294,7 @@ const Po = /* @__PURE__ */ ge({
|
|
|
7294
7294
|
var o, a;
|
|
7295
7295
|
switch ((a = (o = n.schema) == null ? void 0 : o.value) == null ? void 0 : a.type) {
|
|
7296
7296
|
case "string":
|
|
7297
|
-
return "one_of" in n.schema.value ? Bt :
|
|
7297
|
+
return "one_of" in n.schema.value ? Bt : pt;
|
|
7298
7298
|
case "boolean":
|
|
7299
7299
|
return "one_of" in n.schema.value ? Bt : ei;
|
|
7300
7300
|
case "number":
|
|
@@ -7518,7 +7518,7 @@ const Po = /* @__PURE__ */ ge({
|
|
|
7518
7518
|
priority: {}
|
|
7519
7519
|
},
|
|
7520
7520
|
setup(e) {
|
|
7521
|
-
const t = e, { default: n } = vn(), { fieldRendererRegistry: i } =
|
|
7521
|
+
const t = e, { default: n } = vn(), { fieldRendererRegistry: i } = gt();
|
|
7522
7522
|
return n && i.set(t.match, n), (o, a) => null;
|
|
7523
7523
|
}
|
|
7524
7524
|
}), Vr = Symbol("redis-partial-info"), TC = {
|
|
@@ -9203,7 +9203,7 @@ async function Vp(e) {
|
|
|
9203
9203
|
function gS(e) {
|
|
9204
9204
|
Ws.delete(e), Ys.delete(e);
|
|
9205
9205
|
}
|
|
9206
|
-
const Ul = Symbol.for("yaml.alias"), Js = Symbol.for("yaml.document"), mi = Symbol.for("yaml.map"), Gp = Symbol.for("yaml.pair"), jn = Symbol.for("yaml.scalar"), Ro = Symbol.for("yaml.seq"), yn = Symbol.for("yaml.node.type"), Yi = (e) => !!e && typeof e == "object" && e[yn] === Ul, zr = (e) => !!e && typeof e == "object" && e[yn] === Js, Mo = (e) => !!e && typeof e == "object" && e[yn] === mi, St = (e) => !!e && typeof e == "object" && e[yn] === Gp,
|
|
9206
|
+
const Ul = Symbol.for("yaml.alias"), Js = Symbol.for("yaml.document"), mi = Symbol.for("yaml.map"), Gp = Symbol.for("yaml.pair"), jn = Symbol.for("yaml.scalar"), Ro = Symbol.for("yaml.seq"), yn = Symbol.for("yaml.node.type"), Yi = (e) => !!e && typeof e == "object" && e[yn] === Ul, zr = (e) => !!e && typeof e == "object" && e[yn] === Js, Mo = (e) => !!e && typeof e == "object" && e[yn] === mi, St = (e) => !!e && typeof e == "object" && e[yn] === Gp, mt = (e) => !!e && typeof e == "object" && e[yn] === jn, Lo = (e) => !!e && typeof e == "object" && e[yn] === Ro;
|
|
9207
9207
|
function Tt(e) {
|
|
9208
9208
|
if (e && typeof e == "object")
|
|
9209
9209
|
switch (e[yn]) {
|
|
@@ -9224,7 +9224,7 @@ function yt(e) {
|
|
|
9224
9224
|
}
|
|
9225
9225
|
return !1;
|
|
9226
9226
|
}
|
|
9227
|
-
const zp = (e) => (
|
|
9227
|
+
const zp = (e) => (mt(e) || Tt(e)) && !!e.anchor, xi = Symbol("break visit"), hS = Symbol("skip children"), na = Symbol("remove node");
|
|
9228
9228
|
function Fo(e, t) {
|
|
9229
9229
|
const n = yS(t);
|
|
9230
9230
|
zr(e) ? co(null, e.contents, n, Object.freeze([e])) === na && (e.contents = null) : co(null, e, n, Object.freeze([]));
|
|
@@ -9288,7 +9288,7 @@ function vS(e, t, n, i) {
|
|
|
9288
9288
|
return (a = n.Seq) == null ? void 0 : a.call(n, e, t, i);
|
|
9289
9289
|
if (St(t))
|
|
9290
9290
|
return (r = n.Pair) == null ? void 0 : r.call(n, e, t, i);
|
|
9291
|
-
if (
|
|
9291
|
+
if (mt(t))
|
|
9292
9292
|
return (s = n.Scalar) == null ? void 0 : s.call(n, e, t, i);
|
|
9293
9293
|
if (Yi(t))
|
|
9294
9294
|
return (l = n.Alias) == null ? void 0 : l.call(n, e, t, i);
|
|
@@ -9463,7 +9463,7 @@ function kS(e, t) {
|
|
|
9463
9463
|
setAnchors: () => {
|
|
9464
9464
|
for (const a of n) {
|
|
9465
9465
|
const r = i.get(a);
|
|
9466
|
-
if (typeof r == "object" && r.anchor && (
|
|
9466
|
+
if (typeof r == "object" && r.anchor && (mt(r.node) || Tt(r.node)))
|
|
9467
9467
|
r.node.anchor = r.anchor;
|
|
9468
9468
|
else {
|
|
9469
9469
|
const s = new Error("Failed to resolve repeated object (this should not happen)");
|
|
@@ -9752,14 +9752,14 @@ class Xp extends Vl {
|
|
|
9752
9752
|
*/
|
|
9753
9753
|
getIn(t, n) {
|
|
9754
9754
|
const [i, ...o] = t, a = this.get(i, !0);
|
|
9755
|
-
return o.length === 0 ? !n &&
|
|
9755
|
+
return o.length === 0 ? !n && mt(a) ? a.value : a : Tt(a) ? a.getIn(o, n) : void 0;
|
|
9756
9756
|
}
|
|
9757
9757
|
hasAllNullValues(t) {
|
|
9758
9758
|
return this.items.every((n) => {
|
|
9759
9759
|
if (!St(n))
|
|
9760
9760
|
return !1;
|
|
9761
9761
|
const i = n.value;
|
|
9762
|
-
return i == null || t &&
|
|
9762
|
+
return i == null || t && mt(i) && i.value == null && !i.commentBefore && !i.comment && !i.tag;
|
|
9763
9763
|
});
|
|
9764
9764
|
}
|
|
9765
9765
|
/**
|
|
@@ -10146,7 +10146,7 @@ function IS(e, t) {
|
|
|
10146
10146
|
return a.find((r) => r.format === t.format) ?? a[0];
|
|
10147
10147
|
}
|
|
10148
10148
|
let i, o;
|
|
10149
|
-
if (
|
|
10149
|
+
if (mt(t)) {
|
|
10150
10150
|
o = t.value;
|
|
10151
10151
|
let a = e.filter((r) => {
|
|
10152
10152
|
var s;
|
|
@@ -10168,7 +10168,7 @@ function IS(e, t) {
|
|
|
10168
10168
|
function TS(e, t, { anchors: n, doc: i }) {
|
|
10169
10169
|
if (!i.directives)
|
|
10170
10170
|
return "";
|
|
10171
|
-
const o = [], a = (
|
|
10171
|
+
const o = [], a = (mt(e) || Tt(e)) && e.anchor;
|
|
10172
10172
|
a && Hp(a) && (n.add(a), o.push(`&${a}`));
|
|
10173
10173
|
const r = e.tag ?? (t.default ? null : t.tag);
|
|
10174
10174
|
return r && o.push(i.directives.tagString(r)), o.join(" ");
|
|
@@ -10189,8 +10189,8 @@ function Co(e, t, n, i) {
|
|
|
10189
10189
|
a ?? (a = IS(t.doc.schema.tags, r));
|
|
10190
10190
|
const s = TS(r, a, t);
|
|
10191
10191
|
s.length > 0 && (t.indentAtStart = (t.indentAtStart ?? 0) + s.length + 1);
|
|
10192
|
-
const l = typeof a.stringify == "function" ? a.stringify(r, t, n, i) :
|
|
10193
|
-
return s ?
|
|
10192
|
+
const l = typeof a.stringify == "function" ? a.stringify(r, t, n, i) : mt(r) ? zl(r, t, n, i) : r.toString(t, n, i);
|
|
10193
|
+
return s ? mt(r) || l[0] === "{" || l[0] === "[" ? `${s} ${l}` : `${s}
|
|
10194
10194
|
${t.indent}${l}` : l;
|
|
10195
10195
|
}
|
|
10196
10196
|
function OS({ key: e, value: t }, n, i, o) {
|
|
@@ -10204,7 +10204,7 @@ function OS({ key: e, value: t }, n, i, o) {
|
|
|
10204
10204
|
throw new Error(x);
|
|
10205
10205
|
}
|
|
10206
10206
|
}
|
|
10207
|
-
let m = !d && (!e || f && t == null && !n.inFlow || Tt(e) || (
|
|
10207
|
+
let m = !d && (!e || f && t == null && !n.inFlow || Tt(e) || (mt(e) ? e.type === Ze.BLOCK_FOLDED || e.type === Ze.BLOCK_LITERAL : typeof e == "object"));
|
|
10208
10208
|
n = Object.assign({}, n, {
|
|
10209
10209
|
allNullValues: !1,
|
|
10210
10210
|
implicitKey: !m && (d || !a),
|
|
@@ -10224,7 +10224,7 @@ function OS({ key: e, value: t }, n, i, o) {
|
|
|
10224
10224
|
h && (f = null), m ? (f && (y += Ai(y, n.indent, c(f))), y = `? ${y}
|
|
10225
10225
|
${s}:`) : (y = `${y}:`, f && (y += Ai(y, n.indent, c(f))));
|
|
10226
10226
|
let v, b, E;
|
|
10227
|
-
yt(t) ? (v = !!t.spaceBefore, b = t.commentBefore, E = t.comment) : (v = !1, b = null, E = null, t && typeof t == "object" && (t = r.createNode(t))), n.implicitKey = !1, !m && !f &&
|
|
10227
|
+
yt(t) ? (v = !!t.spaceBefore, b = t.commentBefore, E = t.comment) : (v = !1, b = null, E = null, t && typeof t == "object" && (t = r.createNode(t))), n.implicitKey = !1, !m && !f && mt(t) && (n.indentAtStart = y.length + 1), g = !1, !p && l.length >= 2 && !n.inFlow && !m && Lo(t) && !t.flow && !t.tag && !t.anchor && (n.indent = n.indent.substring(2));
|
|
10228
10228
|
let _ = !1;
|
|
10229
10229
|
const k = Co(t, n, () => _ = !0, () => g = !0);
|
|
10230
10230
|
let w = " ";
|
|
@@ -10268,7 +10268,7 @@ const Da = "<<", Qn = {
|
|
|
10268
10268
|
addToJSMap: em
|
|
10269
10269
|
}),
|
|
10270
10270
|
stringify: () => Da
|
|
10271
|
-
}, $S = (e, t) => (Qn.identify(t) ||
|
|
10271
|
+
}, $S = (e, t) => (Qn.identify(t) || mt(t) && (!t.type || t.type === Ze.PLAIN) && Qn.identify(t.value)) && (e == null ? void 0 : e.doc.schema.tags.some((n) => n.tag === Qn.tag && n.default));
|
|
10272
10272
|
function em(e, t, n) {
|
|
10273
10273
|
if (n = e && Yi(n) ? n.resolve(e.doc) : n, Lo(n))
|
|
10274
10274
|
for (const i of n.items)
|
|
@@ -10442,9 +10442,9 @@ function hr({ indent: e, options: { commentString: t } }, n, i, o) {
|
|
|
10442
10442
|
}
|
|
10443
10443
|
}
|
|
10444
10444
|
function Si(e, t) {
|
|
10445
|
-
const n =
|
|
10445
|
+
const n = mt(t) ? t.value : t;
|
|
10446
10446
|
for (const i of e)
|
|
10447
|
-
if (St(i) && (i.key === t || i.key === n ||
|
|
10447
|
+
if (St(i) && (i.key === t || i.key === n || mt(i.key) && i.key.value === n))
|
|
10448
10448
|
return i;
|
|
10449
10449
|
}
|
|
10450
10450
|
class pn extends Xp {
|
|
@@ -10488,7 +10488,7 @@ class pn extends Xp {
|
|
|
10488
10488
|
if (a) {
|
|
10489
10489
|
if (!n)
|
|
10490
10490
|
throw new Error(`Key ${o.key} already set`);
|
|
10491
|
-
|
|
10491
|
+
mt(a.value) && Jp(o.value) ? a.value.value = o.value : a.value = o.value;
|
|
10492
10492
|
} else if (r) {
|
|
10493
10493
|
const s = this.items.findIndex((l) => r(o, l) < 0);
|
|
10494
10494
|
s === -1 ? this.items.push(o) : this.items.splice(s, 0, o);
|
|
@@ -10501,7 +10501,7 @@ class pn extends Xp {
|
|
|
10501
10501
|
}
|
|
10502
10502
|
get(t, n) {
|
|
10503
10503
|
const i = Si(this.items, t), o = i == null ? void 0 : i.value;
|
|
10504
|
-
return (!n &&
|
|
10504
|
+
return (!n && mt(o) ? o.value : o) ?? void 0;
|
|
10505
10505
|
}
|
|
10506
10506
|
has(t) {
|
|
10507
10507
|
return !!Si(this.items, t);
|
|
@@ -10573,7 +10573,7 @@ class Fi extends Xp {
|
|
|
10573
10573
|
if (typeof i != "number")
|
|
10574
10574
|
return;
|
|
10575
10575
|
const o = this.items[i];
|
|
10576
|
-
return !n &&
|
|
10576
|
+
return !n && mt(o) ? o.value : o;
|
|
10577
10577
|
}
|
|
10578
10578
|
/**
|
|
10579
10579
|
* Checks if the collection includes a value with the key `key`.
|
|
@@ -10597,7 +10597,7 @@ class Fi extends Xp {
|
|
|
10597
10597
|
if (typeof i != "number")
|
|
10598
10598
|
throw new Error(`Expected a valid index, not ${t}.`);
|
|
10599
10599
|
const o = this.items[i];
|
|
10600
|
-
|
|
10600
|
+
mt(o) && Jp(n) ? o.value = n : this.items[i] = n;
|
|
10601
10601
|
}
|
|
10602
10602
|
toJSON(t, n) {
|
|
10603
10603
|
const i = [];
|
|
@@ -10632,7 +10632,7 @@ class Fi extends Xp {
|
|
|
10632
10632
|
}
|
|
10633
10633
|
}
|
|
10634
10634
|
function qa(e) {
|
|
10635
|
-
let t =
|
|
10635
|
+
let t = mt(e) ? e.value : e;
|
|
10636
10636
|
return t && typeof t == "string" && (t = Number(t)), typeof t == "number" && Number.isInteger(t) && t >= 0 ? t : null;
|
|
10637
10637
|
}
|
|
10638
10638
|
const jo = {
|
|
@@ -10946,7 +10946,7 @@ const Zl = {
|
|
|
10946
10946
|
resolve(e, t) {
|
|
10947
10947
|
const n = cm(e, t), i = [];
|
|
10948
10948
|
for (const { key: o } of n.items)
|
|
10949
|
-
|
|
10949
|
+
mt(o) && (i.includes(o.value) ? t(`Ordered maps must not include duplicate keys: ${o.value}`) : i.push(o.value));
|
|
10950
10950
|
return Object.assign(new ir(), n);
|
|
10951
10951
|
},
|
|
10952
10952
|
createNode: (e, t, n) => ir.from(e, t, n)
|
|
@@ -11075,7 +11075,7 @@ class yo extends pn {
|
|
|
11075
11075
|
*/
|
|
11076
11076
|
get(t, n) {
|
|
11077
11077
|
const i = Si(this.items, t);
|
|
11078
|
-
return !n && St(i) ?
|
|
11078
|
+
return !n && St(i) ? mt(i.key) ? i.key.value : i.key : i;
|
|
11079
11079
|
}
|
|
11080
11080
|
set(t, n) {
|
|
11081
11081
|
if (typeof n != "boolean")
|
|
@@ -11420,7 +11420,7 @@ class ts {
|
|
|
11420
11420
|
* `true` (collections are always returned intact).
|
|
11421
11421
|
*/
|
|
11422
11422
|
getIn(t, n) {
|
|
11423
|
-
return Wo(t) ? !n &&
|
|
11423
|
+
return Wo(t) ? !n && mt(this.contents) ? this.contents.value : this.contents : Tt(this.contents) ? this.contents.getIn(t, n) : void 0;
|
|
11424
11424
|
}
|
|
11425
11425
|
/**
|
|
11426
11426
|
* Checks if the document includes a value with the key `key`.
|
|
@@ -11657,7 +11657,7 @@ function _m(e, t, n) {
|
|
|
11657
11657
|
const { uniqueKeys: i } = e.options;
|
|
11658
11658
|
if (i === !1)
|
|
11659
11659
|
return !1;
|
|
11660
|
-
const o = typeof i == "function" ? i : (a, r) => a === r ||
|
|
11660
|
+
const o = typeof i == "function" ? i : (a, r) => a === r || mt(a) && mt(r) && a.value === r.value;
|
|
11661
11661
|
return t.some((a) => o(a.key, n));
|
|
11662
11662
|
}
|
|
11663
11663
|
const Dc = "All mapping items must start at the same column";
|
|
@@ -12199,7 +12199,7 @@ function km(e, t, n, i) {
|
|
|
12199
12199
|
let p;
|
|
12200
12200
|
try {
|
|
12201
12201
|
const d = c.resolve(o, (f) => i(n ?? t, "TAG_RESOLVE_FAILED", f), e.options);
|
|
12202
|
-
p =
|
|
12202
|
+
p = mt(d) ? d : new Ze(d);
|
|
12203
12203
|
} catch (d) {
|
|
12204
12204
|
const f = d instanceof Error ? d.message : String(d);
|
|
12205
12205
|
i(n ?? t, "TAG_RESOLVE_FAILED", f), p = new Ze(o);
|
|
@@ -12288,7 +12288,7 @@ function Em(e, t, n, i) {
|
|
|
12288
12288
|
i(t, "UNEXPECTED_TOKEN", d), p = !1;
|
|
12289
12289
|
}
|
|
12290
12290
|
}
|
|
12291
|
-
return c ?? (c = iu(e, t.offset, void 0, null, n, i)), s && c.anchor === "" && i(s, "BAD_ALIAS", "Anchor cannot be an empty string"), o && e.options.stringKeys && (!
|
|
12291
|
+
return c ?? (c = iu(e, t.offset, void 0, null, n, i)), s && c.anchor === "" && i(s, "BAD_ALIAS", "Anchor cannot be an empty string"), o && e.options.stringKeys && (!mt(c) || typeof c.value != "string" || c.tag && c.tag !== "tag:yaml.org,2002:str") && i(l ?? t, "NON_STRING_KEY", "With stringKeys, all keys must be strings"), a && (c.spaceBefore = !0), r && (t.type === "scalar" && t.source === "" ? c.comment = r : c.commentBefore = r), e.options.keepSourceTokens && p && (c.srcToken = t), c;
|
|
12292
12292
|
}
|
|
12293
12293
|
function iu(e, t, n, i, { spaceBefore: o, comment: a, anchor: r, tag: s, end: l }, c) {
|
|
12294
12294
|
const p = {
|
|
@@ -13649,10 +13649,10 @@ function Im(e, t) {
|
|
|
13649
13649
|
};
|
|
13650
13650
|
}
|
|
13651
13651
|
function AI(e) {
|
|
13652
|
-
return
|
|
13652
|
+
return mt(e) ? e.value : e.toJSON();
|
|
13653
13653
|
}
|
|
13654
13654
|
function SI(e) {
|
|
13655
|
-
if (!
|
|
13655
|
+
if (!mt(e))
|
|
13656
13656
|
return;
|
|
13657
13657
|
const { value: t } = e;
|
|
13658
13658
|
return typeof t == "string" || typeof t == "number" ? t : void 0;
|
|
@@ -13713,7 +13713,7 @@ function Om(e, t) {
|
|
|
13713
13713
|
return Tm((n, i, o) => {
|
|
13714
13714
|
const a = [];
|
|
13715
13715
|
return II(n, (r, s) => {
|
|
13716
|
-
if (o.isCancellationRequested || !
|
|
13716
|
+
if (o.isCancellationRequested || !mt(r) || typeof r.value != "string" || !cS.test(r.value))
|
|
13717
13717
|
return;
|
|
13718
13718
|
const l = Im(r, i);
|
|
13719
13719
|
l && a.push({
|
|
@@ -13946,7 +13946,7 @@ function Hc(e) {
|
|
|
13946
13946
|
}));
|
|
13947
13947
|
}
|
|
13948
13948
|
function jI(e, t) {
|
|
13949
|
-
const n = `kong.entities-plugins.codeEditor.command.${PI()}`, i = `${n}.copy`, o = `${n}.viewEntity`, { axiosInstance: a } = qn(t ?? e.axiosRequestConfig), r = qi(), { i18n: { t: s } } = Ve(), { getSchemaMap: l } =
|
|
13949
|
+
const n = `kong.entities-plugins.codeEditor.command.${PI()}`, i = `${n}.copy`, o = `${n}.viewEntity`, { axiosInstance: a } = qn(t ?? e.axiosRequestConfig), r = qi(), { i18n: { t: s } } = Ve(), { getSchemaMap: l } = gt(), c = MI();
|
|
13950
13950
|
function p(f, m) {
|
|
13951
13951
|
const h = /* @__PURE__ */ new Map(), g = new ey(), y = `${n}.${f}.reloadCodeLensProvider`, v = ou(m ?? [f], async (_, k) => {
|
|
13952
13952
|
const w = _ == null ? void 0 : _.id;
|
|
@@ -14105,7 +14105,7 @@ const DI = {
|
|
|
14105
14105
|
__name: "CodeEditor",
|
|
14106
14106
|
emits: ["change", "sourceChange", "error"],
|
|
14107
14107
|
setup(e, { emit: t }) {
|
|
14108
|
-
const n = Et(bi), { formData: i, setValue: o } =
|
|
14108
|
+
const n = Et(bi), { formData: i, setValue: o } = gt(), a = t, r = sn(null), { setup: s } = jI(n, {
|
|
14109
14109
|
validateStatus: (m) => m >= 200 && m < 500
|
|
14110
14110
|
});
|
|
14111
14111
|
function l() {
|
|
@@ -14203,7 +14203,7 @@ const DI = {
|
|
|
14203
14203
|
]),
|
|
14204
14204
|
_: 1
|
|
14205
14205
|
}, 8, ["for", "label"]),
|
|
14206
|
-
I(
|
|
14206
|
+
I(pt, {
|
|
14207
14207
|
"input-id": u(t),
|
|
14208
14208
|
label: "",
|
|
14209
14209
|
name: "condition",
|
|
@@ -14386,7 +14386,7 @@ const DI = {
|
|
|
14386
14386
|
return ((V = m.value) == null ? void 0 : V.fields.map((q) => q.model)) ?? [];
|
|
14387
14387
|
}), k = B(() => _.value.map((V) => V.split("-")[0])), w = oe(
|
|
14388
14388
|
o.isEditing ? pc(E.value, k.value) : L()
|
|
14389
|
-
), x = oe(Object.values(w.value).some($)), N =
|
|
14389
|
+
), x = oe(Object.values(w.value).some($)), N = ft("form");
|
|
14390
14390
|
let j = !1;
|
|
14391
14391
|
function A() {
|
|
14392
14392
|
if (!N.value) return;
|
|
@@ -14601,7 +14601,7 @@ const DI = {
|
|
|
14601
14601
|
label: u(i)("plugins.form.fields.plugin_status.label"),
|
|
14602
14602
|
name: "enabled"
|
|
14603
14603
|
}, null, 8, ["disabled-text", "enabled-text", "label"])) : ce("", !0),
|
|
14604
|
-
b.value.has("instance_name") ? (S(), J(
|
|
14604
|
+
b.value.has("instance_name") ? (S(), J(pt, {
|
|
14605
14605
|
key: 1,
|
|
14606
14606
|
label: u(i)("plugins.form.fields.instance_name.label"),
|
|
14607
14607
|
name: "instance_name",
|
|
@@ -14653,7 +14653,7 @@ const DI = {
|
|
|
14653
14653
|
}), Ji = /* @__PURE__ */ Se(YI, [["__scopeId", "data-v-f53d7fb7"]]), JI = { class: "ff-acl-mode" }, XI = /* @__PURE__ */ ge({
|
|
14654
14654
|
__name: "ACLModeCard",
|
|
14655
14655
|
setup(e) {
|
|
14656
|
-
const { formData: t } =
|
|
14656
|
+
const { formData: t } = gt(), { i18n: { t: n } } = Ve(), i = oe("allow"), o = oe(!1), a = oe({});
|
|
14657
14657
|
We(() => t.config, (s) => {
|
|
14658
14658
|
if (o.value || !s) return;
|
|
14659
14659
|
const l = s.deny, c = s.allow;
|
|
@@ -14739,7 +14739,7 @@ const DI = {
|
|
|
14739
14739
|
hideGeneralFields: { type: Boolean }
|
|
14740
14740
|
},
|
|
14741
14741
|
setup(e) {
|
|
14742
|
-
const { t } = jt("en-us", Dt), { getSchema: n } =
|
|
14742
|
+
const { t } = jt("en-us", Dt), { getSchema: n } = gt(), i = oe(!0);
|
|
14743
14743
|
return (o, a) => (S(), J(u(Lh), {
|
|
14744
14744
|
modelValue: i.value,
|
|
14745
14745
|
"onUpdate:modelValue": a[0] || (a[0] = (r) => i.value = r),
|
|
@@ -14763,7 +14763,7 @@ const DI = {
|
|
|
14763
14763
|
name: "tags",
|
|
14764
14764
|
placeholder: u(t)("plugins.form.fields.tags.placeholder")
|
|
14765
14765
|
}, null, 8, ["placeholder"])) : ce("", !0),
|
|
14766
|
-
u(n)("condition") ? (S(), J(
|
|
14766
|
+
u(n)("condition") ? (S(), J(pt, {
|
|
14767
14767
|
key: 3,
|
|
14768
14768
|
name: "condition",
|
|
14769
14769
|
placeholder: u(t)("plugins.form.fields.condition.placeholder")
|
|
@@ -14778,7 +14778,7 @@ const DI = {
|
|
|
14778
14778
|
}), Nm = /* @__PURE__ */ Se(tT, [["__scopeId", "data-v-baa317ec"]]), nT = /* @__PURE__ */ ge({
|
|
14779
14779
|
__name: "ConfigForm",
|
|
14780
14780
|
setup(e) {
|
|
14781
|
-
const { getSchema: t, createComputedRenderRules: n } =
|
|
14781
|
+
const { getSchema: t, createComputedRenderRules: n } = gt(), i = n("config"), o = B(() => {
|
|
14782
14782
|
var y;
|
|
14783
14783
|
const r = [], s = [], l = /* @__PURE__ */ new Set(), p = t().fields.find((v) => Object.keys(v)[0] === "config");
|
|
14784
14784
|
if (!p || !("config" in p))
|
|
@@ -14904,16 +14904,16 @@ const DI = {
|
|
|
14904
14904
|
};
|
|
14905
14905
|
}
|
|
14906
14906
|
});
|
|
14907
|
-
function
|
|
14907
|
+
function dt(e = {}) {
|
|
14908
14908
|
return {
|
|
14909
14909
|
...e,
|
|
14910
14910
|
component: e.component ?? Pm
|
|
14911
14911
|
};
|
|
14912
14912
|
}
|
|
14913
|
-
const iT =
|
|
14913
|
+
const iT = dt({
|
|
14914
14914
|
experimental: !0,
|
|
14915
14915
|
component: QI
|
|
14916
|
-
}), oT =
|
|
14916
|
+
}), oT = dt({
|
|
14917
14917
|
fieldRenderers: [
|
|
14918
14918
|
{
|
|
14919
14919
|
match: "config.functions",
|
|
@@ -15022,20 +15022,20 @@ const iT = mt({
|
|
|
15022
15022
|
_: 1
|
|
15023
15023
|
}, 16));
|
|
15024
15024
|
}
|
|
15025
|
-
}), rT =
|
|
15025
|
+
}), rT = dt({
|
|
15026
15026
|
component: aT
|
|
15027
|
-
}), sT =
|
|
15027
|
+
}), sT = dt({
|
|
15028
15028
|
experimental: !0
|
|
15029
|
-
}), lT =
|
|
15029
|
+
}), lT = dt({
|
|
15030
15030
|
experimental: !0,
|
|
15031
15031
|
renderRules: {
|
|
15032
15032
|
dependencies: {
|
|
15033
15033
|
"config.brute_force_protection.redis": ["config.brute_force_protection.strategy", "redis"]
|
|
15034
15034
|
}
|
|
15035
15035
|
}
|
|
15036
|
-
}), uT =
|
|
15036
|
+
}), uT = dt({
|
|
15037
15037
|
experimental: !0
|
|
15038
|
-
}), cT =
|
|
15038
|
+
}), cT = dt({
|
|
15039
15039
|
experimental: !0,
|
|
15040
15040
|
fieldRenderers: [
|
|
15041
15041
|
{
|
|
@@ -15384,7 +15384,7 @@ const kT = {
|
|
|
15384
15384
|
},
|
|
15385
15385
|
emits: ["change", "error"],
|
|
15386
15386
|
setup(e, { expose: t, emit: n }) {
|
|
15387
|
-
const { t: i } = jt("en-us", Dt), { formData: o, setValue: a } =
|
|
15387
|
+
const { t: i } = jt("en-us", Dt), { formData: o, setValue: a } = gt(), r = n, { getMessageFromError: s } = vi(), l = sn(null);
|
|
15388
15388
|
function c(w) {
|
|
15389
15389
|
return Pn.dump(Sr(w), {
|
|
15390
15390
|
schema: li,
|
|
@@ -17358,7 +17358,7 @@ function Jm(e) {
|
|
|
17358
17358
|
height: o - n
|
|
17359
17359
|
};
|
|
17360
17360
|
}
|
|
17361
|
-
var
|
|
17361
|
+
var ht = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), An = ht((e, t) => {
|
|
17362
17362
|
var n = Object.defineProperty, i = ($, L, Y) => L in $ ? n($, L, { enumerable: !0, configurable: !0, writable: !0, value: Y }) : $[L] = Y, o = ($, L) => () => (L || $((L = { exports: {} }).exports, L), L.exports), a = ($, L, Y) => i($, typeof L != "symbol" ? L + "" : L, Y), r = o(($, L) => {
|
|
17363
17363
|
var Y = "\0", V = "\0", q = "", K = class {
|
|
17364
17364
|
constructor(U) {
|
|
@@ -17907,7 +17907,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
17907
17907
|
L.exports = { bellmanFord: p(), components: d(), dijkstra: m(), dijkstraAll: h(), extractPath: g(), findCycles: v(), floydWarshall: b(), isAcyclic: _(), postorder: x(), preorder: N(), prim: j(), shortestPaths: A(), reduce: k(), tarjan: y(), topsort: E() };
|
|
17908
17908
|
}), T = l();
|
|
17909
17909
|
t.exports = { Graph: T.Graph, json: c(), alg: C(), version: T.version };
|
|
17910
|
-
}), AO =
|
|
17910
|
+
}), AO = ht((e, t) => {
|
|
17911
17911
|
var n = class {
|
|
17912
17912
|
constructor() {
|
|
17913
17913
|
let a = {};
|
|
@@ -17934,7 +17934,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
17934
17934
|
if (a !== "_next" && a !== "_prev") return r;
|
|
17935
17935
|
}
|
|
17936
17936
|
t.exports = n;
|
|
17937
|
-
}), SO =
|
|
17937
|
+
}), SO = ht((e, t) => {
|
|
17938
17938
|
var n = An().Graph, i = AO();
|
|
17939
17939
|
t.exports = a;
|
|
17940
17940
|
var o = () => 1;
|
|
@@ -17988,7 +17988,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
17988
17988
|
for (let m = 0; m < d; m++) f.push(m);
|
|
17989
17989
|
return f;
|
|
17990
17990
|
}
|
|
17991
|
-
}), $t =
|
|
17991
|
+
}), $t = ht((e, t) => {
|
|
17992
17992
|
var n = An().Graph;
|
|
17993
17993
|
t.exports = { addBorderNode: f, addDummyNode: i, applyWithChunking: g, asNonCompoundGraph: a, buildLayerMatrix: c, intersectRect: l, mapValues: N, maxRank: y, normalizeRanks: p, notime: E, partition: v, pick: x, predecessorWeights: s, range: w, removeEmptyRanks: d, simplify: o, successorWeights: r, time: b, uniqueId: k, zipObject: j };
|
|
17994
17994
|
function i(A, C, T, $) {
|
|
@@ -18130,7 +18130,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18130
18130
|
function j(A, C) {
|
|
18131
18131
|
return A.reduce((T, $, L) => (T[$] = C[L], T), {});
|
|
18132
18132
|
}
|
|
18133
|
-
}), IO =
|
|
18133
|
+
}), IO = ht((e, t) => {
|
|
18134
18134
|
var n = SO(), i = $t().uniqueId;
|
|
18135
18135
|
t.exports = { run: o, undo: r };
|
|
18136
18136
|
function o(s) {
|
|
@@ -18161,7 +18161,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18161
18161
|
}
|
|
18162
18162
|
});
|
|
18163
18163
|
}
|
|
18164
|
-
}), TO =
|
|
18164
|
+
}), TO = ht((e, t) => {
|
|
18165
18165
|
var n = $t();
|
|
18166
18166
|
t.exports = { run: i, undo: a };
|
|
18167
18167
|
function i(r) {
|
|
@@ -18181,7 +18181,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18181
18181
|
for (r.setEdge(l.edgeObj, c); l.dummy; ) p = r.successors(s)[0], r.removeNode(s), c.points.push({ x: l.x, y: l.y }), l.dummy === "edge-label" && (c.x = l.x, c.y = l.y, c.width = l.width, c.height = l.height), s = p, l = r.node(s);
|
|
18182
18182
|
});
|
|
18183
18183
|
}
|
|
18184
|
-
}), Er =
|
|
18184
|
+
}), Er = ht((e, t) => {
|
|
18185
18185
|
var { applyWithChunking: n } = $t();
|
|
18186
18186
|
t.exports = { longestPath: i, slack: o };
|
|
18187
18187
|
function i(a) {
|
|
@@ -18199,7 +18199,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18199
18199
|
function o(a, r) {
|
|
18200
18200
|
return a.node(r.w).rank - a.node(r.v).rank - a.edge(r).minlen;
|
|
18201
18201
|
}
|
|
18202
|
-
}), Xm =
|
|
18202
|
+
}), Xm = ht((e, t) => {
|
|
18203
18203
|
var n = An().Graph, i = Er().slack;
|
|
18204
18204
|
t.exports = o;
|
|
18205
18205
|
function o(l) {
|
|
@@ -18226,7 +18226,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18226
18226
|
function s(l, c, p) {
|
|
18227
18227
|
l.nodes().forEach((d) => c.node(d).rank += p);
|
|
18228
18228
|
}
|
|
18229
|
-
}), OO =
|
|
18229
|
+
}), OO = ht((e, t) => {
|
|
18230
18230
|
var n = Xm(), i = Er().slack, o = Er().longestPath, a = An().alg.preorder, r = An().alg.postorder, s = $t().simplify;
|
|
18231
18231
|
t.exports = l, l.initLowLimValues = f, l.initCutValues = c, l.calcCutValue = d, l.leaveEdge = h, l.enterEdge = g, l.exchangeEdges = y;
|
|
18232
18232
|
function l(_) {
|
|
@@ -18293,7 +18293,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18293
18293
|
function E(_, k, w) {
|
|
18294
18294
|
return w.low <= k.lim && k.lim <= w.lim;
|
|
18295
18295
|
}
|
|
18296
|
-
}), NO =
|
|
18296
|
+
}), NO = ht((e, t) => {
|
|
18297
18297
|
var n = Er(), i = n.longestPath, o = Xm(), a = OO();
|
|
18298
18298
|
t.exports = r;
|
|
18299
18299
|
function r(p) {
|
|
@@ -18322,7 +18322,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18322
18322
|
function c(p) {
|
|
18323
18323
|
a(p);
|
|
18324
18324
|
}
|
|
18325
|
-
}), $O =
|
|
18325
|
+
}), $O = ht((e, t) => {
|
|
18326
18326
|
t.exports = n;
|
|
18327
18327
|
function n(a) {
|
|
18328
18328
|
let r = o(a);
|
|
@@ -18358,7 +18358,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18358
18358
|
}
|
|
18359
18359
|
return a.children().forEach(l), r;
|
|
18360
18360
|
}
|
|
18361
|
-
}), PO =
|
|
18361
|
+
}), PO = ht((e, t) => {
|
|
18362
18362
|
var n = $t();
|
|
18363
18363
|
t.exports = { run: i, cleanup: s };
|
|
18364
18364
|
function i(l) {
|
|
@@ -18398,7 +18398,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18398
18398
|
d.nestingEdge && l.removeEdge(p);
|
|
18399
18399
|
});
|
|
18400
18400
|
}
|
|
18401
|
-
}), RO =
|
|
18401
|
+
}), RO = ht((e, t) => {
|
|
18402
18402
|
var n = $t();
|
|
18403
18403
|
t.exports = i;
|
|
18404
18404
|
function i(a) {
|
|
@@ -18415,7 +18415,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18415
18415
|
let d = { width: 0, height: 0, rank: p, borderType: r }, f = c[r][p - 1], m = n.addDummyNode(a, "border", d, s);
|
|
18416
18416
|
c[r][p] = m, a.setParent(m, l), f && a.setEdge(f, m, { weight: 1 });
|
|
18417
18417
|
}
|
|
18418
|
-
}), MO =
|
|
18418
|
+
}), MO = ht((e, t) => {
|
|
18419
18419
|
t.exports = { adjust: n, undo: i };
|
|
18420
18420
|
function n(p) {
|
|
18421
18421
|
let d = p.graph().rankdir.toLowerCase();
|
|
@@ -18451,7 +18451,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18451
18451
|
let d = p.x;
|
|
18452
18452
|
p.x = p.y, p.y = d;
|
|
18453
18453
|
}
|
|
18454
|
-
}), LO =
|
|
18454
|
+
}), LO = ht((e, t) => {
|
|
18455
18455
|
var n = $t();
|
|
18456
18456
|
t.exports = i;
|
|
18457
18457
|
function i(o) {
|
|
@@ -18464,7 +18464,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18464
18464
|
}
|
|
18465
18465
|
return r.sort((d, f) => o.node(d).rank - o.node(f).rank).forEach(p), c;
|
|
18466
18466
|
}
|
|
18467
|
-
}), FO =
|
|
18467
|
+
}), FO = ht((e, t) => {
|
|
18468
18468
|
var n = $t().zipObject;
|
|
18469
18469
|
t.exports = i;
|
|
18470
18470
|
function i(a, r) {
|
|
@@ -18486,7 +18486,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18486
18486
|
m += h.weight * y;
|
|
18487
18487
|
}), m;
|
|
18488
18488
|
}
|
|
18489
|
-
}), KO =
|
|
18489
|
+
}), KO = ht((e, t) => {
|
|
18490
18490
|
t.exports = n;
|
|
18491
18491
|
function n(i, o = []) {
|
|
18492
18492
|
return o.map((a) => {
|
|
@@ -18500,7 +18500,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18500
18500
|
} else return { v: a };
|
|
18501
18501
|
});
|
|
18502
18502
|
}
|
|
18503
|
-
}), jO =
|
|
18503
|
+
}), jO = ht((e, t) => {
|
|
18504
18504
|
var n = $t();
|
|
18505
18505
|
t.exports = i;
|
|
18506
18506
|
function i(r, s) {
|
|
@@ -18537,7 +18537,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18537
18537
|
let l = 0, c = 0;
|
|
18538
18538
|
r.weight && (l += r.barycenter * r.weight, c += r.weight), s.weight && (l += s.barycenter * s.weight, c += s.weight), r.vs = s.vs.concat(r.vs), r.barycenter = l / c, r.weight = c, r.i = Math.min(s.i, r.i), s.merged = !0;
|
|
18539
18539
|
}
|
|
18540
|
-
}), DO =
|
|
18540
|
+
}), DO = ht((e, t) => {
|
|
18541
18541
|
var n = $t();
|
|
18542
18542
|
t.exports = i;
|
|
18543
18543
|
function i(r, s) {
|
|
@@ -18556,7 +18556,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18556
18556
|
function a(r) {
|
|
18557
18557
|
return (s, l) => s.barycenter < l.barycenter ? -1 : s.barycenter > l.barycenter ? 1 : r ? l.i - s.i : s.i - l.i;
|
|
18558
18558
|
}
|
|
18559
|
-
}), qO =
|
|
18559
|
+
}), qO = ht((e, t) => {
|
|
18560
18560
|
var n = KO(), i = jO(), o = DO();
|
|
18561
18561
|
t.exports = a;
|
|
18562
18562
|
function a(l, c, p, d) {
|
|
@@ -18586,7 +18586,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18586
18586
|
function s(l, c) {
|
|
18587
18587
|
l.barycenter !== void 0 ? (l.barycenter = (l.barycenter * l.weight + c.barycenter * c.weight) / (l.weight + c.weight), l.weight += c.weight) : (l.barycenter = c.barycenter, l.weight = c.weight);
|
|
18588
18588
|
}
|
|
18589
|
-
}), BO =
|
|
18589
|
+
}), BO = ht((e, t) => {
|
|
18590
18590
|
var n = An().Graph, i = $t();
|
|
18591
18591
|
t.exports = o;
|
|
18592
18592
|
function o(r, s, l, c) {
|
|
@@ -18604,7 +18604,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18604
18604
|
for (var s; r.hasNode(s = i.uniqueId("_root")); ) ;
|
|
18605
18605
|
return s;
|
|
18606
18606
|
}
|
|
18607
|
-
}), UO =
|
|
18607
|
+
}), UO = ht((e, t) => {
|
|
18608
18608
|
t.exports = n;
|
|
18609
18609
|
function n(i, o, a) {
|
|
18610
18610
|
let r = {}, s;
|
|
@@ -18619,7 +18619,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18619
18619
|
}
|
|
18620
18620
|
});
|
|
18621
18621
|
}
|
|
18622
|
-
}), VO =
|
|
18622
|
+
}), VO = ht((e, t) => {
|
|
18623
18623
|
var n = LO(), i = FO(), o = qO(), a = BO(), r = UO(), s = An().Graph, l = $t();
|
|
18624
18624
|
t.exports = c;
|
|
18625
18625
|
function c(m, h = {}) {
|
|
@@ -18660,7 +18660,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18660
18660
|
function f(m, h) {
|
|
18661
18661
|
Object.values(h).forEach((g) => g.forEach((y, v) => m.node(y).order = v));
|
|
18662
18662
|
}
|
|
18663
|
-
}), GO =
|
|
18663
|
+
}), GO = ht((e, t) => {
|
|
18664
18664
|
var n = An().Graph, i = $t();
|
|
18665
18665
|
t.exports = { positionX: g, findType1Conflicts: o, findType2Conflicts: a, addConflict: s, hasConflict: l, verticalAlignment: c, horizontalCompaction: p, alignCoordinates: m, findSmallestWidthAlignment: f, balance: h };
|
|
18666
18666
|
function o(b, E) {
|
|
@@ -18845,7 +18845,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18845
18845
|
function v(b, E) {
|
|
18846
18846
|
return b.node(E).width;
|
|
18847
18847
|
}
|
|
18848
|
-
}), zO =
|
|
18848
|
+
}), zO = ht((e, t) => {
|
|
18849
18849
|
var n = $t(), i = GO().positionX;
|
|
18850
18850
|
t.exports = o;
|
|
18851
18851
|
function o(r) {
|
|
@@ -18864,7 +18864,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
18864
18864
|
}), p += f + l;
|
|
18865
18865
|
});
|
|
18866
18866
|
}
|
|
18867
|
-
}), HO =
|
|
18867
|
+
}), HO = ht((e, t) => {
|
|
18868
18868
|
var n = IO(), i = TO(), o = NO(), a = $t().normalizeRanks, r = $O(), s = $t().removeEmptyRanks, l = PO(), c = RO(), p = MO(), d = VO(), f = zO(), m = $t(), h = An().Graph;
|
|
18869
18869
|
t.exports = g;
|
|
18870
18870
|
function g(O, D = {}) {
|
|
@@ -19020,7 +19020,7 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
19020
19020
|
typeof z == "string" && (z = z.toLowerCase()), D[z] = ee;
|
|
19021
19021
|
}), D;
|
|
19022
19022
|
}
|
|
19023
|
-
}), WO =
|
|
19023
|
+
}), WO = ht((e, t) => {
|
|
19024
19024
|
var n = $t(), i = An().Graph;
|
|
19025
19025
|
t.exports = { debugOrdering: o };
|
|
19026
19026
|
function o(a) {
|
|
@@ -19032,9 +19032,9 @@ var gt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
19032
19032
|
s.setNode(p, { rank: "same" }), l.reduce((d, f) => (s.setEdge(d, f, { style: "invis" }), f));
|
|
19033
19033
|
}), s;
|
|
19034
19034
|
}
|
|
19035
|
-
}), YO =
|
|
19035
|
+
}), YO = ht((e, t) => {
|
|
19036
19036
|
t.exports = "2.0.4";
|
|
19037
|
-
}), JO =
|
|
19037
|
+
}), JO = ht((e, t) => {
|
|
19038
19038
|
t.exports = { graphlib: An(), layout: HO(), debug: WO(), util: { time: $t().time, notime: $t().notime }, version: YO() };
|
|
19039
19039
|
});
|
|
19040
19040
|
const id = JO();
|
|
@@ -20584,7 +20584,7 @@ const cN = {
|
|
|
20584
20584
|
},
|
|
20585
20585
|
emits: ["initialized", "nodes-change"],
|
|
20586
20586
|
setup(e, { expose: t, emit: n }) {
|
|
20587
|
-
const i = n, o =
|
|
20587
|
+
const i = n, o = ft("flowCanvas"), a = Ei(o), { i18n: { t: r } } = Ve(), {
|
|
20588
20588
|
vueFlowStore: s,
|
|
20589
20589
|
editorStore: l,
|
|
20590
20590
|
autoLayout: c,
|
|
@@ -20776,7 +20776,7 @@ const cN = {
|
|
|
20776
20776
|
v(g, y), v(y, g), We(d, (pe) => {
|
|
20777
20777
|
pe && (g.removeSelectedElements(), y.removeSelectedElements());
|
|
20778
20778
|
});
|
|
20779
|
-
const b =
|
|
20779
|
+
const b = ft("flowPanels"), E = ft("requestLabel"), _ = ft("requestCanvasContainer"), k = ft("requestFlow"), w = ft("resizeHandle"), x = ft("responseLabel"), N = ft("responseCanvasContainer"), j = ft("responseFlow"), A = Ei(b), C = Ei(E), T = Ei(_), $ = Ei(w), L = Ei(x), Y = Ei(N), V = B(() => Math.max(DN, A.height.value * Cs)), q = B(
|
|
20780
20780
|
() => A.height.value - C.height.value - $.height.value - L.height.value
|
|
20781
20781
|
), K = B(() => {
|
|
20782
20782
|
const pe = q.value;
|
|
@@ -21591,7 +21591,7 @@ const _$ = /* @__PURE__ */ ge({
|
|
|
21591
21591
|
}
|
|
21592
21592
|
}), I$ = /* @__PURE__ */ Se(S$, [["__scopeId", "data-v-c53e3d9c"]]);
|
|
21593
21593
|
function T$() {
|
|
21594
|
-
const { getSchema: e } =
|
|
21594
|
+
const { getSchema: e } = gt();
|
|
21595
21595
|
return B(() => {
|
|
21596
21596
|
const t = e("config.resources");
|
|
21597
21597
|
if (!t)
|
|
@@ -21630,7 +21630,7 @@ const O$ = { key: 1 }, N$ = ["innerHTML"], $$ = { class: "horizontal-container"
|
|
|
21630
21630
|
},
|
|
21631
21631
|
emits: ["update:modelValue"],
|
|
21632
21632
|
setup(e, { emit: t }) {
|
|
21633
|
-
const n = t, i = bn(e, ["name", "items"]), { getSelectItems: o } =
|
|
21633
|
+
const n = t, i = bn(e, ["name", "items"]), { getSelectItems: o } = gt(), a = Pt(ut(() => e.name)), r = on(a.path, i), s = B(() => e.items ? e.items : a.path ? o(a.path.value) : []), l = (c) => {
|
|
21634
21634
|
a.value && (a.value.value = c), n("update:modelValue", c);
|
|
21635
21635
|
};
|
|
21636
21636
|
return (c, p) => {
|
|
@@ -21688,7 +21688,7 @@ const O$ = { key: 1 }, N$ = ["innerHTML"], $$ = { class: "horizontal-container"
|
|
|
21688
21688
|
},
|
|
21689
21689
|
emits: ["update", "remove", "cancel"],
|
|
21690
21690
|
setup(e, { emit: t }) {
|
|
21691
|
-
const n = t, { getDefault: i, formData: o } =
|
|
21691
|
+
const n = t, { getDefault: i, formData: o } = gt(), a = Pt("cache");
|
|
21692
21692
|
if (a.error) throw new Error("No cache schema");
|
|
21693
21693
|
const r = oe(!1), { i18n: { t: s } } = it.useI18n(), l = B(() => !(c.value === "redis" && !o.cache.partial_id && !o.cache.redis)), c = B(() => {
|
|
21694
21694
|
var b;
|
|
@@ -22564,7 +22564,7 @@ const wn = G.object({
|
|
|
22564
22564
|
},
|
|
22565
22565
|
emits: ["change:inputs"],
|
|
22566
22566
|
setup(e) {
|
|
22567
|
-
const { getSchema: t } =
|
|
22567
|
+
const { getSchema: t } = gt(), { i18n: n } = Ve(), i = B(() => {
|
|
22568
22568
|
const o = t("inputs");
|
|
22569
22569
|
if (!o)
|
|
22570
22570
|
return [];
|
|
@@ -22618,7 +22618,7 @@ const wn = G.object({
|
|
|
22618
22618
|
updateKey: s,
|
|
22619
22619
|
getKeyName: l,
|
|
22620
22620
|
field: c
|
|
22621
|
-
} = Ml(ut(n, "name")), { value: p } = Pt(ut(n, "name")), { i18n: { t: d } } = Ve(), f =
|
|
22621
|
+
} = Ml(ut(n, "name")), { value: p } = Pt(ut(n, "name")), { i18n: { t: d } } = Ve(), f = ft("root"), m = oe(null), h = oe({}), g = oe({});
|
|
22622
22622
|
let y;
|
|
22623
22623
|
const v = B(() => {
|
|
22624
22624
|
var C;
|
|
@@ -22815,7 +22815,7 @@ const wn = G.object({
|
|
|
22815
22815
|
},
|
|
22816
22816
|
emits: ["change:input", "change:inputs", "add:field", "remove:field", "rename:field"],
|
|
22817
22817
|
setup(e, { emit: t }) {
|
|
22818
|
-
const n = t, { getSchema: i } =
|
|
22818
|
+
const n = t, { getSchema: i } = gt(), { i18n: { t: o } } = Ve(), a = B(() => i("inputs")), r = B(() => a.value ? a.value.type === "record" ? fd : a2 : null);
|
|
22819
22819
|
function s(f) {
|
|
22820
22820
|
n("change:input", f ? f.value : null);
|
|
22821
22821
|
}
|
|
@@ -23429,7 +23429,7 @@ function an(e, t) {
|
|
|
23429
23429
|
};
|
|
23430
23430
|
}
|
|
23431
23431
|
function rn(e) {
|
|
23432
|
-
const { getSchema: t } =
|
|
23432
|
+
const { getSchema: t } = gt();
|
|
23433
23433
|
return B(() => {
|
|
23434
23434
|
if (Zt(e))
|
|
23435
23435
|
switch (e) {
|
|
@@ -23499,7 +23499,7 @@ const kn = /* @__PURE__ */ ge({
|
|
|
23499
23499
|
nodeId: {}
|
|
23500
23500
|
},
|
|
23501
23501
|
setup(e) {
|
|
23502
|
-
const { i18n: { t } } = Ve(), n =
|
|
23502
|
+
const { i18n: { t } } = Ve(), n = ft("form"), i = rn("call"), {
|
|
23503
23503
|
formData: o,
|
|
23504
23504
|
setName: a,
|
|
23505
23505
|
setConfig: r,
|
|
@@ -23548,7 +23548,7 @@ const kn = /* @__PURE__ */ ge({
|
|
|
23548
23548
|
]),
|
|
23549
23549
|
_: 1
|
|
23550
23550
|
}),
|
|
23551
|
-
I(
|
|
23551
|
+
I(pt, {
|
|
23552
23552
|
error: u(g).error,
|
|
23553
23553
|
"error-message": u(g).errorMessage,
|
|
23554
23554
|
name: "url",
|
|
@@ -23566,7 +23566,7 @@ const kn = /* @__PURE__ */ ge({
|
|
|
23566
23566
|
onBlur: u(y).validate,
|
|
23567
23567
|
"onUpdate:modelValue": u(y).update
|
|
23568
23568
|
}, null, 8, ["error", "error-message", "onBlur", "onUpdate:modelValue"]),
|
|
23569
|
-
I(
|
|
23569
|
+
I(pt, {
|
|
23570
23570
|
name: "ssl_server_name",
|
|
23571
23571
|
"onUpdate:modelValue": b[1] || (b[1] = (_) => u(r)("ssl_server_name"))
|
|
23572
23572
|
}),
|
|
@@ -23594,7 +23594,7 @@ const kn = /* @__PURE__ */ ge({
|
|
|
23594
23594
|
nodeId: {}
|
|
23595
23595
|
},
|
|
23596
23596
|
setup(e) {
|
|
23597
|
-
const t =
|
|
23597
|
+
const t = ft("form"), n = rn("service_request"), {
|
|
23598
23598
|
formData: i,
|
|
23599
23599
|
inputOptions: o,
|
|
23600
23600
|
setInputs: a,
|
|
@@ -23626,7 +23626,7 @@ const kn = /* @__PURE__ */ ge({
|
|
|
23626
23626
|
nodeId: {}
|
|
23627
23627
|
},
|
|
23628
23628
|
setup(e) {
|
|
23629
|
-
const t =
|
|
23629
|
+
const t = ft("form"), n = rn("response"), {
|
|
23630
23630
|
formData: i,
|
|
23631
23631
|
inputOptions: o,
|
|
23632
23632
|
setInputs: a,
|
|
@@ -23658,7 +23658,7 @@ const kn = /* @__PURE__ */ ge({
|
|
|
23658
23658
|
nodeId: {}
|
|
23659
23659
|
},
|
|
23660
23660
|
setup(e) {
|
|
23661
|
-
const { i18n: { t }, i18nT: n } = Ve(), i =
|
|
23661
|
+
const { i18n: { t }, i18nT: n } = Ve(), i = ft("form"), o = rn("jq"), {
|
|
23662
23662
|
formData: a,
|
|
23663
23663
|
setName: r,
|
|
23664
23664
|
setConfig: s,
|
|
@@ -23715,7 +23715,7 @@ const kn = /* @__PURE__ */ ge({
|
|
|
23715
23715
|
]),
|
|
23716
23716
|
_: 1
|
|
23717
23717
|
}),
|
|
23718
|
-
I(
|
|
23718
|
+
I(pt, {
|
|
23719
23719
|
autosize: "",
|
|
23720
23720
|
error: u(x).error,
|
|
23721
23721
|
"error-message": u(x).errorMessage,
|
|
@@ -23770,7 +23770,7 @@ const kn = /* @__PURE__ */ ge({
|
|
|
23770
23770
|
},
|
|
23771
23771
|
emits: ["change:value", "add:field", "rename:field", "remove:field"],
|
|
23772
23772
|
setup(e, { emit: t }) {
|
|
23773
|
-
const n = e, i = t, o = oe({}), { value: a, ...r } = Pt("values"), { i18n: s } = Ve(), l =
|
|
23773
|
+
const n = e, i = t, o = oe({}), { value: a, ...r } = Pt("values"), { i18n: s } = Ve(), l = ft("root"), c = oe([]), p = oe(null);
|
|
23774
23774
|
let d = "", f = a == null ? void 0 : a.value;
|
|
23775
23775
|
function m() {
|
|
23776
23776
|
return Kr("ff-kv-field-");
|
|
@@ -24086,7 +24086,7 @@ const T2 = /* @__PURE__ */ ge({
|
|
|
24086
24086
|
},
|
|
24087
24087
|
emits: ["update:model-value", "update:property-key"],
|
|
24088
24088
|
setup(e, { emit: t }) {
|
|
24089
|
-
const { i18n: { t: n } } = Ve(), i = e, o = t, { formData: a } =
|
|
24089
|
+
const { i18n: { t: n } } = Ve(), i = e, o = t, { formData: a } = gt(), r = oe(Jo(a.property)), s = B(() => xa(a.property)), l = oe(al(a.property)), c = B(() => a.property ?? ""), p = B(() => Object.entries(Ii).map(([m]) => {
|
|
24090
24090
|
var y;
|
|
24091
24091
|
const h = xa(m) ? (y = a.property) == null ? void 0 : y.startsWith(m.replace(Ao, "")) : a.property === m;
|
|
24092
24092
|
return {
|
|
@@ -24178,7 +24178,7 @@ const T2 = /* @__PURE__ */ ge({
|
|
|
24178
24178
|
nodeId: {}
|
|
24179
24179
|
},
|
|
24180
24180
|
setup(e) {
|
|
24181
|
-
const t =
|
|
24181
|
+
const t = ft("form"), { selectedNode: n, disconnectInEdges: i, disconnectOutEdges: o } = It(), a = rn("property"), {
|
|
24182
24182
|
formData: r,
|
|
24183
24183
|
setName: s,
|
|
24184
24184
|
setConfig: l,
|
|
@@ -24254,7 +24254,7 @@ const T2 = /* @__PURE__ */ ge({
|
|
|
24254
24254
|
nodeId: {}
|
|
24255
24255
|
},
|
|
24256
24256
|
setup(e) {
|
|
24257
|
-
const t =
|
|
24257
|
+
const t = ft("form"), n = rn("exit"), {
|
|
24258
24258
|
formData: i,
|
|
24259
24259
|
setName: o,
|
|
24260
24260
|
setConfig: a,
|
|
@@ -24475,7 +24475,7 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
24475
24475
|
nodeId: {}
|
|
24476
24476
|
},
|
|
24477
24477
|
setup(e) {
|
|
24478
|
-
const t =
|
|
24478
|
+
const t = ft("form"), n = rn("cache"), {
|
|
24479
24479
|
i18n: { t: i }
|
|
24480
24480
|
} = Ve(), {
|
|
24481
24481
|
formData: o,
|
|
@@ -24547,7 +24547,7 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
24547
24547
|
nodeId: {}
|
|
24548
24548
|
},
|
|
24549
24549
|
setup(e) {
|
|
24550
|
-
const t =
|
|
24550
|
+
const t = ft("form"), n = rn("xml_to_json"), {
|
|
24551
24551
|
i18n: { t: i }
|
|
24552
24552
|
} = Ve(), {
|
|
24553
24553
|
formData: o,
|
|
@@ -24614,21 +24614,21 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
24614
24614
|
name: "recognize_type",
|
|
24615
24615
|
"onUpdate:modelValue": j[0] || (j[0] = (A) => u(r)("recognize_type"))
|
|
24616
24616
|
}),
|
|
24617
|
-
I(
|
|
24617
|
+
I(pt, {
|
|
24618
24618
|
error: u(v).error,
|
|
24619
24619
|
"error-message": u(v).errorMessage,
|
|
24620
24620
|
name: "attributes_block_name",
|
|
24621
24621
|
onBlur: k,
|
|
24622
24622
|
"onUpdate:modelValue": w
|
|
24623
24623
|
}, null, 8, ["error", "error-message"]),
|
|
24624
|
-
I(
|
|
24624
|
+
I(pt, {
|
|
24625
24625
|
error: u(b).error,
|
|
24626
24626
|
"error-message": u(b).errorMessage,
|
|
24627
24627
|
name: "attributes_name_prefix",
|
|
24628
24628
|
onBlur: k,
|
|
24629
24629
|
"onUpdate:modelValue": x
|
|
24630
24630
|
}, null, 8, ["error", "error-message"]),
|
|
24631
|
-
I(
|
|
24631
|
+
I(pt, {
|
|
24632
24632
|
error: u(E).error,
|
|
24633
24633
|
"error-message": u(E).errorMessage,
|
|
24634
24634
|
name: "text_block_name",
|
|
@@ -24639,7 +24639,7 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
24639
24639
|
name: "text_as_property",
|
|
24640
24640
|
"onUpdate:modelValue": j[1] || (j[1] = (A) => u(r)("text_as_property"))
|
|
24641
24641
|
}),
|
|
24642
|
-
I(
|
|
24642
|
+
I(pt, {
|
|
24643
24643
|
error: u(_).error,
|
|
24644
24644
|
"error-message": u(_).errorMessage,
|
|
24645
24645
|
name: "xpath",
|
|
@@ -24665,7 +24665,7 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
24665
24665
|
nodeId: {}
|
|
24666
24666
|
},
|
|
24667
24667
|
setup(e) {
|
|
24668
|
-
const t =
|
|
24668
|
+
const t = ft("form"), n = rn("json_to_xml"), {
|
|
24669
24669
|
i18n: { t: i }
|
|
24670
24670
|
} = Ve(), {
|
|
24671
24671
|
formData: o,
|
|
@@ -24737,28 +24737,28 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
24737
24737
|
]),
|
|
24738
24738
|
_: 1
|
|
24739
24739
|
}),
|
|
24740
|
-
I(
|
|
24740
|
+
I(pt, {
|
|
24741
24741
|
error: u(_).error,
|
|
24742
24742
|
"error-message": u(_).errorMessage,
|
|
24743
24743
|
name: "attributes_block_name",
|
|
24744
24744
|
onBlur: N,
|
|
24745
24745
|
"onUpdate:modelValue": j
|
|
24746
24746
|
}, null, 8, ["error", "error-message"]),
|
|
24747
|
-
I(
|
|
24747
|
+
I(pt, {
|
|
24748
24748
|
error: u(k).error,
|
|
24749
24749
|
"error-message": u(k).errorMessage,
|
|
24750
24750
|
name: "attributes_name_prefix",
|
|
24751
24751
|
onBlur: N,
|
|
24752
24752
|
"onUpdate:modelValue": A
|
|
24753
24753
|
}, null, 8, ["error", "error-message"]),
|
|
24754
|
-
I(
|
|
24754
|
+
I(pt, {
|
|
24755
24755
|
error: u(w).error,
|
|
24756
24756
|
"error-message": u(w).errorMessage,
|
|
24757
24757
|
name: "root_element_name",
|
|
24758
24758
|
onBlur: u(w).validate,
|
|
24759
24759
|
"onUpdate:modelValue": u(w).update
|
|
24760
24760
|
}, null, 8, ["error", "error-message", "onBlur", "onUpdate:modelValue"]),
|
|
24761
|
-
I(
|
|
24761
|
+
I(pt, {
|
|
24762
24762
|
error: u(x).error,
|
|
24763
24763
|
"error-message": u(x).errorMessage,
|
|
24764
24764
|
name: "text_block_name",
|
|
@@ -24787,7 +24787,7 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
24787
24787
|
nodeId: {}
|
|
24788
24788
|
},
|
|
24789
24789
|
setup(e) {
|
|
24790
|
-
const t =
|
|
24790
|
+
const t = ft("form"), n = rn("jwt_decode"), {
|
|
24791
24791
|
formData: i,
|
|
24792
24792
|
setName: o,
|
|
24793
24793
|
inputOptions: a,
|
|
@@ -24827,7 +24827,7 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
24827
24827
|
nodeId: {}
|
|
24828
24828
|
},
|
|
24829
24829
|
setup(e) {
|
|
24830
|
-
const t =
|
|
24830
|
+
const t = ft("form"), n = rn("jwt_sign"), {
|
|
24831
24831
|
i18n: { t: i }
|
|
24832
24832
|
} = Ve(), {
|
|
24833
24833
|
formData: o,
|
|
@@ -24898,11 +24898,11 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
24898
24898
|
onBlur: u(v).validate,
|
|
24899
24899
|
"onUpdate:modelValue": u(v).update
|
|
24900
24900
|
}, null, 8, ["error", "error-message", "onBlur", "onUpdate:modelValue"]),
|
|
24901
|
-
I(
|
|
24901
|
+
I(pt, {
|
|
24902
24902
|
name: "kid",
|
|
24903
24903
|
"onUpdate:modelValue": E[0] || (E[0] = (_) => u(r)("kid"))
|
|
24904
24904
|
}),
|
|
24905
|
-
I(
|
|
24905
|
+
I(pt, {
|
|
24906
24906
|
name: "typ",
|
|
24907
24907
|
"onUpdate:modelValue": E[1] || (E[1] = (_) => u(r)("typ"))
|
|
24908
24908
|
}),
|
|
@@ -24930,7 +24930,7 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
24930
24930
|
nodeId: {}
|
|
24931
24931
|
},
|
|
24932
24932
|
setup(e) {
|
|
24933
|
-
const t =
|
|
24933
|
+
const t = ft("form"), n = rn("jwt_verify"), {
|
|
24934
24934
|
i18n: { t: i }
|
|
24935
24935
|
} = Ve(), {
|
|
24936
24936
|
formData: o,
|
|
@@ -24984,7 +24984,7 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
24984
24984
|
onRemove: v[3] || (v[3] = (b) => u(r)("issuers"))
|
|
24985
24985
|
}, {
|
|
24986
24986
|
item: M(({ fieldName: b, autofocus: E }) => [
|
|
24987
|
-
I(
|
|
24987
|
+
I(pt, {
|
|
24988
24988
|
autofocus: E,
|
|
24989
24989
|
name: b,
|
|
24990
24990
|
"onUpdate:modelValue": v[1] || (v[1] = (_) => u(r)("issuers"))
|
|
@@ -24998,7 +24998,7 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
24998
24998
|
onRemove: v[6] || (v[6] = (b) => u(r)("audiences"))
|
|
24999
24999
|
}, {
|
|
25000
25000
|
item: M(({ fieldName: b, autofocus: E }) => [
|
|
25001
|
-
I(
|
|
25001
|
+
I(pt, {
|
|
25002
25002
|
autofocus: E,
|
|
25003
25003
|
name: b,
|
|
25004
25004
|
"onUpdate:modelValue": v[4] || (v[4] = (_) => u(r)("audiences"))
|
|
@@ -25012,7 +25012,7 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
25012
25012
|
onRemove: v[9] || (v[9] = (b) => u(r)("required_claims"))
|
|
25013
25013
|
}, {
|
|
25014
25014
|
item: M(({ fieldName: b, autofocus: E }) => [
|
|
25015
|
-
I(
|
|
25015
|
+
I(pt, {
|
|
25016
25016
|
autofocus: E,
|
|
25017
25017
|
name: b,
|
|
25018
25018
|
"onUpdate:modelValue": v[7] || (v[7] = (_) => u(r)("required_claims"))
|
|
@@ -25215,7 +25215,7 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
25215
25215
|
v0a30a280: `${u(gO)}px`,
|
|
25216
25216
|
aee7cc1c: `${u(zm)}px`
|
|
25217
25217
|
}));
|
|
25218
|
-
const t = bo(e, "open"), n = oe(!1), i =
|
|
25218
|
+
const t = bo(e, "open"), n = oe(!1), i = ft("confirm-modal"), { clear: o } = It();
|
|
25219
25219
|
eN(async (...s) => {
|
|
25220
25220
|
n.value = !0;
|
|
25221
25221
|
const l = await i.value.open(...s);
|
|
@@ -25248,7 +25248,7 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
25248
25248
|
},
|
|
25249
25249
|
emits: ["change", "error"],
|
|
25250
25250
|
setup(e, { emit: t }) {
|
|
25251
|
-
const { t: n } = jt("en-us", Dt), { formData: i, setValue: o, getValue: a } =
|
|
25251
|
+
const { t: n } = jt("en-us", Dt), { formData: i, setValue: o, getValue: a } = gt(), r = t;
|
|
25252
25252
|
function s(p, d, f, m) {
|
|
25253
25253
|
const h = { ...i.config, nodes: p };
|
|
25254
25254
|
f !== void 0 && (h.resources = f);
|
|
@@ -25453,14 +25453,14 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
25453
25453
|
}, 16, ["editor-mode"])
|
|
25454
25454
|
], 64));
|
|
25455
25455
|
}
|
|
25456
|
-
}), pR = /* @__PURE__ */ Se(fR, [["__scopeId", "data-v-fbe9d669"]]), mR =
|
|
25456
|
+
}), pR = /* @__PURE__ */ Se(fR, [["__scopeId", "data-v-fbe9d669"]]), mR = dt({
|
|
25457
25457
|
component: pR
|
|
25458
|
-
}), gR =
|
|
25458
|
+
}), gR = dt({
|
|
25459
25459
|
experimental: !0,
|
|
25460
25460
|
fieldRenderers: [
|
|
25461
25461
|
{
|
|
25462
25462
|
match: ({ genericPath: e }) => e === "config.functions.*",
|
|
25463
|
-
component:
|
|
25463
|
+
component: pt,
|
|
25464
25464
|
propsOverrides: (e) => ({
|
|
25465
25465
|
...e,
|
|
25466
25466
|
multiline: !0,
|
|
@@ -25468,7 +25468,7 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
25468
25468
|
})
|
|
25469
25469
|
}
|
|
25470
25470
|
]
|
|
25471
|
-
}), hR =
|
|
25471
|
+
}), hR = dt({
|
|
25472
25472
|
experimental: !0,
|
|
25473
25473
|
fieldRenderers: [
|
|
25474
25474
|
{
|
|
@@ -25479,7 +25479,7 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
25479
25479
|
}
|
|
25480
25480
|
}
|
|
25481
25481
|
]
|
|
25482
|
-
}), yR =
|
|
25482
|
+
}), yR = dt({
|
|
25483
25483
|
experimental: !0,
|
|
25484
25484
|
fieldRenderers: [
|
|
25485
25485
|
{
|
|
@@ -25490,7 +25490,7 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
25490
25490
|
}
|
|
25491
25491
|
}
|
|
25492
25492
|
]
|
|
25493
|
-
}), vR =
|
|
25493
|
+
}), vR = dt(), bR = dt({
|
|
25494
25494
|
experimental: !0
|
|
25495
25495
|
}), _R = { "data-testid": "ff-identity-realms-field" }, wR = ["innerHTML"], kR = /* @__PURE__ */ ge({
|
|
25496
25496
|
__name: "IdentityRealmsField",
|
|
@@ -25584,10 +25584,10 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
25584
25584
|
_: 1
|
|
25585
25585
|
}, 16));
|
|
25586
25586
|
}
|
|
25587
|
-
}), xR =
|
|
25587
|
+
}), xR = dt({
|
|
25588
25588
|
experimental: !0,
|
|
25589
25589
|
component: CR
|
|
25590
|
-
}), AR =
|
|
25590
|
+
}), AR = dt({
|
|
25591
25591
|
experimental: !0,
|
|
25592
25592
|
fieldRenderers: [
|
|
25593
25593
|
{
|
|
@@ -25598,9 +25598,9 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
25598
25598
|
}
|
|
25599
25599
|
}
|
|
25600
25600
|
]
|
|
25601
|
-
}), SR =
|
|
25601
|
+
}), SR = dt({
|
|
25602
25602
|
experimental: !0
|
|
25603
|
-
}), IR =
|
|
25603
|
+
}), IR = dt({
|
|
25604
25604
|
experimental: !0,
|
|
25605
25605
|
renderRules: {
|
|
25606
25606
|
bundles: [
|
|
@@ -25617,7 +25617,7 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
25617
25617
|
propsOverrides: { multiple: !0 }
|
|
25618
25618
|
}
|
|
25619
25619
|
]
|
|
25620
|
-
}), TR =
|
|
25620
|
+
}), TR = dt({
|
|
25621
25621
|
experimental: !0,
|
|
25622
25622
|
fieldRenderers: [
|
|
25623
25623
|
{
|
|
@@ -25626,7 +25626,7 @@ const K2 = /* @__PURE__ */ ge({
|
|
|
25626
25626
|
propsOverrides: { multiple: !0 }
|
|
25627
25627
|
}
|
|
25628
25628
|
]
|
|
25629
|
-
}), OR =
|
|
25629
|
+
}), OR = dt({
|
|
25630
25630
|
experimental: !0,
|
|
25631
25631
|
renderRules: {
|
|
25632
25632
|
bundles: [
|
|
@@ -25647,7 +25647,7 @@ const ra = Symbol(), $R = /* @__PURE__ */ ge({
|
|
|
25647
25647
|
fieldName: {}
|
|
25648
25648
|
},
|
|
25649
25649
|
setup(e) {
|
|
25650
|
-
const t = e, { formData: n } =
|
|
25650
|
+
const t = e, { formData: n } = gt(), i = B(() => {
|
|
25651
25651
|
const { callouts: r } = n.config;
|
|
25652
25652
|
return r == null ? [] : r.filter(({ name: s }) => {
|
|
25653
25653
|
var l;
|
|
@@ -25692,7 +25692,7 @@ const ra = Symbol(), $R = /* @__PURE__ */ ge({
|
|
|
25692
25692
|
}), PR = /* @__PURE__ */ ge({
|
|
25693
25693
|
__name: "CalloutsForm",
|
|
25694
25694
|
setup(e) {
|
|
25695
|
-
const { formData: t } =
|
|
25695
|
+
const { formData: t } = gt();
|
|
25696
25696
|
function n() {
|
|
25697
25697
|
const i = t.config.callouts[t.config.callouts.length - 1];
|
|
25698
25698
|
i && (i[ra] = vg());
|
|
@@ -25846,7 +25846,7 @@ const ra = Symbol(), $R = /* @__PURE__ */ ge({
|
|
|
25846
25846
|
match: ({ path: d }) => d.endsWith("by_lua")
|
|
25847
25847
|
}, {
|
|
25848
25848
|
default: M((d) => [
|
|
25849
|
-
I(
|
|
25849
|
+
I(pt, Qe(d, {
|
|
25850
25850
|
autosize: "",
|
|
25851
25851
|
class: "rc-code",
|
|
25852
25852
|
multiline: "",
|
|
@@ -25870,37 +25870,37 @@ const ra = Symbol(), $R = /* @__PURE__ */ ge({
|
|
|
25870
25870
|
_: 1
|
|
25871
25871
|
}, 16));
|
|
25872
25872
|
}
|
|
25873
|
-
}), LR = /* @__PURE__ */ Se(MR, [["__scopeId", "data-v-fbcdb0a1"]]), FR =
|
|
25873
|
+
}), LR = /* @__PURE__ */ Se(MR, [["__scopeId", "data-v-fbcdb0a1"]]), FR = dt({
|
|
25874
25874
|
component: LR
|
|
25875
|
-
}), KR =
|
|
25875
|
+
}), KR = dt({
|
|
25876
25876
|
experimental: !0
|
|
25877
|
-
}), jR =
|
|
25877
|
+
}), jR = dt({
|
|
25878
25878
|
experimental: !0
|
|
25879
|
-
}), DR =
|
|
25879
|
+
}), DR = dt({
|
|
25880
25880
|
experimental: !0,
|
|
25881
25881
|
fieldRenderers: [
|
|
25882
25882
|
{
|
|
25883
25883
|
match: ({ path: e, genericPath: t }) => e === "config.replace.body" || t === "config.transform.functions.*" || t.endsWith(".json.*"),
|
|
25884
|
-
component:
|
|
25884
|
+
component: pt,
|
|
25885
25885
|
propsOverrides: {
|
|
25886
25886
|
multiline: !0,
|
|
25887
25887
|
rows: 3
|
|
25888
25888
|
}
|
|
25889
25889
|
}
|
|
25890
25890
|
]
|
|
25891
|
-
}), qR =
|
|
25891
|
+
}), qR = dt({
|
|
25892
25892
|
experimental: !0,
|
|
25893
25893
|
fieldRenderers: [
|
|
25894
25894
|
{
|
|
25895
25895
|
match: ({ genericPath: e }) => e.endsWith(".json.*"),
|
|
25896
|
-
component:
|
|
25896
|
+
component: pt,
|
|
25897
25897
|
propsOverrides: {
|
|
25898
25898
|
multiline: !0,
|
|
25899
25899
|
rows: 3
|
|
25900
25900
|
}
|
|
25901
25901
|
}
|
|
25902
25902
|
]
|
|
25903
|
-
}), BR =
|
|
25903
|
+
}), BR = dt({
|
|
25904
25904
|
experimental: !0
|
|
25905
25905
|
}), UR = { class: "sp-form-request-limits-subtitle" }, VR = { class: "sp-form-request-limits-content" }, GR = { class: "sp-form-window-type" }, zR = { class: "sp-form-request-limits-items" }, HR = { class: "sp-form-request-limits-row" }, WR = ["id"], YR = { class: "sp-form-request-limits-actions" }, JR = {
|
|
25906
25906
|
key: 0,
|
|
@@ -25909,7 +25909,7 @@ const ra = Symbol(), $R = /* @__PURE__ */ ge({
|
|
|
25909
25909
|
__name: "RequestLimitsForm",
|
|
25910
25910
|
setup(e) {
|
|
25911
25911
|
var y;
|
|
25912
|
-
const { t } = jt("en-us", Dt), { formData: n, getSelectItems: i, getSchema: o } =
|
|
25912
|
+
const { t } = jt("en-us", Dt), { formData: n, getSelectItems: i, getSchema: o } = gt(), a = B(() => {
|
|
25913
25913
|
var b, E;
|
|
25914
25914
|
const v = (E = (b = n.config) == null ? void 0 : b.limit) == null ? void 0 : E.map((_, k) => {
|
|
25915
25915
|
var w, x;
|
|
@@ -26134,7 +26134,7 @@ const ra = Symbol(), $R = /* @__PURE__ */ ge({
|
|
|
26134
26134
|
placeholder: u(t)("sp.error_message.code_placeholder")
|
|
26135
26135
|
}, null, 8, ["placeholder"]),
|
|
26136
26136
|
i[0] || (i[0] = W("div", null, ":", -1)),
|
|
26137
|
-
I(
|
|
26137
|
+
I(pt, {
|
|
26138
26138
|
class: "input-error-message",
|
|
26139
26139
|
label: "",
|
|
26140
26140
|
name: "error_message",
|
|
@@ -26147,7 +26147,7 @@ const ra = Symbol(), $R = /* @__PURE__ */ ge({
|
|
|
26147
26147
|
}), nM = /* @__PURE__ */ Se(tM, [["__scopeId", "data-v-0796e152"]]), iM = /* @__PURE__ */ ge({
|
|
26148
26148
|
__name: "RedisField",
|
|
26149
26149
|
setup(e) {
|
|
26150
|
-
const { formData: t } =
|
|
26150
|
+
const { formData: t } = gt(), n = Et(bi), i = Et(Vr), o = (i == null ? void 0 : i.isEditing) || !1, a = B(() => {
|
|
26151
26151
|
if ((n == null ? void 0 : n.app) !== "konnect") return !1;
|
|
26152
26152
|
const r = n;
|
|
26153
26153
|
return !!r.isKonnectManagedRedisEnabled && r.isCloudGateway === !0;
|
|
@@ -26233,22 +26233,22 @@ const ra = Symbol(), $R = /* @__PURE__ */ ge({
|
|
|
26233
26233
|
_: 1
|
|
26234
26234
|
}, 16));
|
|
26235
26235
|
}
|
|
26236
|
-
}), rM =
|
|
26236
|
+
}), rM = dt({
|
|
26237
26237
|
experimental: !0,
|
|
26238
26238
|
component: aM
|
|
26239
|
-
}), sM =
|
|
26239
|
+
}), sM = dt({
|
|
26240
26240
|
experimental: !0,
|
|
26241
26241
|
fieldRenderers: [
|
|
26242
26242
|
{
|
|
26243
26243
|
match: ({ genericPath: e }) => e === "config.flow.functions.*",
|
|
26244
|
-
component:
|
|
26244
|
+
component: pt,
|
|
26245
26245
|
propsOverrides: {
|
|
26246
26246
|
multiline: !0,
|
|
26247
26247
|
rows: 3
|
|
26248
26248
|
}
|
|
26249
26249
|
}
|
|
26250
26250
|
]
|
|
26251
|
-
}), lM =
|
|
26251
|
+
}), lM = dt({
|
|
26252
26252
|
experimental: !0,
|
|
26253
26253
|
fieldRenderers: [
|
|
26254
26254
|
{
|
|
@@ -26259,7 +26259,19 @@ const ra = Symbol(), $R = /* @__PURE__ */ ge({
|
|
|
26259
26259
|
}
|
|
26260
26260
|
}
|
|
26261
26261
|
]
|
|
26262
|
-
}), uM =
|
|
26262
|
+
}), uM = dt({
|
|
26263
|
+
experimental: !0,
|
|
26264
|
+
fieldRenderers: [
|
|
26265
|
+
{
|
|
26266
|
+
match: "config.message.functions.*",
|
|
26267
|
+
component: pt,
|
|
26268
|
+
propsOverrides: {
|
|
26269
|
+
multiline: !0,
|
|
26270
|
+
rows: 3
|
|
26271
|
+
}
|
|
26272
|
+
}
|
|
26273
|
+
]
|
|
26274
|
+
}), cM = dt({
|
|
26263
26275
|
experimental: !0,
|
|
26264
26276
|
renderRules: {
|
|
26265
26277
|
bundles: [
|
|
@@ -26272,14 +26284,14 @@ const ra = Symbol(), $R = /* @__PURE__ */ ge({
|
|
|
26272
26284
|
fieldRenderers: [
|
|
26273
26285
|
{
|
|
26274
26286
|
match: "config.behavior.idp_error_response_body_template",
|
|
26275
|
-
component:
|
|
26287
|
+
component: pt,
|
|
26276
26288
|
propsOverrides: {
|
|
26277
26289
|
multiline: !0,
|
|
26278
26290
|
rows: 4
|
|
26279
26291
|
}
|
|
26280
26292
|
}
|
|
26281
26293
|
]
|
|
26282
|
-
}),
|
|
26294
|
+
}), dM = /* @__PURE__ */ Object.assign({
|
|
26283
26295
|
"../plugins/acl/index.ts": iT,
|
|
26284
26296
|
"../plugins/ai-custom-guardrail.ts": oT,
|
|
26285
26297
|
"../plugins/ai-mcp-proxy/index.ts": rT,
|
|
@@ -26308,19 +26320,20 @@ const ra = Symbol(), $R = /* @__PURE__ */ ge({
|
|
|
26308
26320
|
"../plugins/service-protection/index.ts": rM,
|
|
26309
26321
|
"../plugins/solace-consume.ts": sM,
|
|
26310
26322
|
"../plugins/solace-log.ts": lM,
|
|
26311
|
-
"../plugins/upstream
|
|
26323
|
+
"../plugins/solace-upstream.ts": uM,
|
|
26324
|
+
"../plugins/upstream-oauth.ts": cM
|
|
26312
26325
|
});
|
|
26313
|
-
function
|
|
26326
|
+
function fM(e) {
|
|
26314
26327
|
const t = e.match(/\.\.\/plugins\/(.+?)(?:\/index)?\.ts$/);
|
|
26315
26328
|
if (!t)
|
|
26316
26329
|
throw new Error(`Unable to derive plugin name from path: ${e}`);
|
|
26317
26330
|
const [, n] = t;
|
|
26318
26331
|
return n;
|
|
26319
26332
|
}
|
|
26320
|
-
function
|
|
26333
|
+
function pM(e) {
|
|
26321
26334
|
const t = {}, n = /* @__PURE__ */ new Map();
|
|
26322
26335
|
for (const [i, o] of Object.entries(e)) {
|
|
26323
|
-
const a =
|
|
26336
|
+
const a = fM(i);
|
|
26324
26337
|
if (n.has(a))
|
|
26325
26338
|
throw new Error(`Duplicate plugin config for "${a}": ${n.get(a)} and ${i}`);
|
|
26326
26339
|
n.set(a, i), t[a] = {
|
|
@@ -26332,7 +26345,7 @@ function fM(e) {
|
|
|
26332
26345
|
}
|
|
26333
26346
|
return t;
|
|
26334
26347
|
}
|
|
26335
|
-
const bg =
|
|
26348
|
+
const bg = pM(dM);
|
|
26336
26349
|
function _g(e) {
|
|
26337
26350
|
return bg[e];
|
|
26338
26351
|
}
|
|
@@ -26344,22 +26357,22 @@ function wg(e, t) {
|
|
|
26344
26357
|
function kg(e, t, n) {
|
|
26345
26358
|
return n === "freeform" ? !0 : n === "vfg" ? !1 : !!wg(e, t);
|
|
26346
26359
|
}
|
|
26347
|
-
function
|
|
26360
|
+
function mM() {
|
|
26348
26361
|
return Object.entries(bg).filter(([, e]) => e.experimental).map(([e]) => e).sort((e, t) => e.localeCompare(t));
|
|
26349
26362
|
}
|
|
26350
26363
|
function mu() {
|
|
26351
26364
|
return Et(Wf, []);
|
|
26352
26365
|
}
|
|
26353
|
-
function
|
|
26354
|
-
const t = new Set(
|
|
26366
|
+
function gM(e) {
|
|
26367
|
+
const t = new Set(mM()), n = e.filter((o) => t.has(o)), i = e.filter((o) => !t.has(o));
|
|
26355
26368
|
return i.length > 0 && console.warn(
|
|
26356
26369
|
`[entities-plugins] Ignoring unknown experimental free-form plugins: ${i.join(", ")}`
|
|
26357
26370
|
), n;
|
|
26358
26371
|
}
|
|
26359
|
-
function
|
|
26360
|
-
zt(Wf,
|
|
26372
|
+
function hM(e) {
|
|
26373
|
+
zt(Wf, gM(e));
|
|
26361
26374
|
}
|
|
26362
|
-
function
|
|
26375
|
+
function yM() {
|
|
26363
26376
|
const e = mu();
|
|
26364
26377
|
return {
|
|
26365
26378
|
shouldUseFreeForm: (t, n) => kg(t, e, n),
|
|
@@ -26409,11 +26422,11 @@ function Eg(e) {
|
|
|
26409
26422
|
ln(a.conditions, {}) && (a.conditions = null), a.conditions && Object.values(a.conditions).every((r) => Array.isArray(r) && r.length === 0) && (a.conditions = null);
|
|
26410
26423
|
}), e;
|
|
26411
26424
|
}
|
|
26412
|
-
const
|
|
26425
|
+
const vM = {
|
|
26413
26426
|
shamefullyTransformPayload(e) {
|
|
26414
26427
|
return Eg(e.payload.config), e;
|
|
26415
26428
|
}
|
|
26416
|
-
},
|
|
26429
|
+
}, bM = {
|
|
26417
26430
|
shamefullyTransformPayload(e) {
|
|
26418
26431
|
var t, n, i, o, a;
|
|
26419
26432
|
if (!((n = (t = e.payload.config) == null ? void 0 : t.access_logs) != null && n.custom_attributes_by_lua))
|
|
@@ -26424,7 +26437,7 @@ const yM = {
|
|
|
26424
26437
|
}
|
|
26425
26438
|
return e;
|
|
26426
26439
|
}
|
|
26427
|
-
},
|
|
26440
|
+
}, _M = {
|
|
26428
26441
|
shamefullyTransformPayload(e) {
|
|
26429
26442
|
var n, i;
|
|
26430
26443
|
const t = (i = (n = e.payload.config) == null ? void 0 : n.v2_strategies) == null ? void 0 : i.openid_connect;
|
|
@@ -26432,7 +26445,7 @@ const yM = {
|
|
|
26432
26445
|
Eg(o.config);
|
|
26433
26446
|
}), e;
|
|
26434
26447
|
}
|
|
26435
|
-
},
|
|
26448
|
+
}, wM = {
|
|
26436
26449
|
shamefullyTransformPayload(e) {
|
|
26437
26450
|
var n;
|
|
26438
26451
|
return !e.payload.config || !((n = e.payload.config) != null && n.token_exchange) || [
|
|
@@ -26457,10 +26470,10 @@ const yM = {
|
|
|
26457
26470
|
return ln((o = e.payload.config) == null ? void 0 : o.token_exchange, i);
|
|
26458
26471
|
}) && (e.payload.config.token_exchange = null), e;
|
|
26459
26472
|
}
|
|
26460
|
-
},
|
|
26473
|
+
}, kM = (e, t) => {
|
|
26461
26474
|
const n = e.model.startsWith("config-"), i = t.model.startsWith("config-");
|
|
26462
26475
|
return n && !i ? 1 : !n && i ? -1 : 0;
|
|
26463
|
-
}, Cg = (e, t) => (e.order ?? 0) - (t.order ?? 0), pd = (e, t) =>
|
|
26476
|
+
}, Cg = (e, t) => (e.order ?? 0) - (t.order ?? 0), pd = (e, t) => kM(e, t) || Cg(e, t) || e.model.localeCompare(t.model), EM = (e) => {
|
|
26464
26477
|
const { capitalize: t } = Tr(), { convertToDotNotation: n } = Dd(), { i18n: { t: i } } = Ve(), o = mu(), a = {
|
|
26465
26478
|
"application-registration": {
|
|
26466
26479
|
overwriteDefault: !0,
|
|
@@ -26581,16 +26594,16 @@ const yM = {
|
|
|
26581
26594
|
...lE
|
|
26582
26595
|
},
|
|
26583
26596
|
"openid-connect": {
|
|
26584
|
-
...
|
|
26597
|
+
...vM
|
|
26585
26598
|
},
|
|
26586
26599
|
opentelemetry: {
|
|
26587
|
-
...
|
|
26600
|
+
...bM
|
|
26588
26601
|
},
|
|
26589
26602
|
"konnect-application-auth": {
|
|
26590
|
-
...
|
|
26603
|
+
..._M
|
|
26591
26604
|
},
|
|
26592
26605
|
"ai-mcp-oauth2": {
|
|
26593
|
-
...
|
|
26606
|
+
...wM
|
|
26594
26607
|
}
|
|
26595
26608
|
}, r = () => ["created_at", "updated_at", "id", "_isCustomPlugin", "_supported_redis_partial_type", "_redis_partial_path"], s = (w, x, N, j) => {
|
|
26596
26609
|
let A = {};
|
|
@@ -26819,11 +26832,11 @@ const yM = {
|
|
|
26819
26832
|
useI18n: Ve,
|
|
26820
26833
|
usePluginMetaData: Bd,
|
|
26821
26834
|
usePluginHelpers: Dd,
|
|
26822
|
-
useSchemas:
|
|
26835
|
+
useSchemas: EM,
|
|
26823
26836
|
useExperimentalFreeForms: mu,
|
|
26824
|
-
useProvideExperimentalFreeForms:
|
|
26825
|
-
useFreeFormResolver:
|
|
26826
|
-
},
|
|
26837
|
+
useProvideExperimentalFreeForms: hM,
|
|
26838
|
+
useFreeFormResolver: yM
|
|
26839
|
+
}, CM = { class: "kong-ui-entities-custom-plugin-form" }, xM = { class: "plugin-type-radios" }, AM = { class: "compare-table-wrapper" }, SM = { class: "compare-table" }, IM = { scope: "col" }, TM = { scope: "col" }, OM = { scope: "col" }, NM = { scope: "row" }, $M = { scope: "row" }, PM = { class: "compare-list" }, RM = { class: "compare-list" }, MM = { scope: "row" }, LM = { scope: "row" }, FM = { scope: "row" }, KM = { class: "plugin-modules-section" }, jM = { class: "plugin-select-item" }, DM = { class: "plugin-select-item" }, qM = /* @__PURE__ */ ge({
|
|
26827
26840
|
__name: "CustomPluginForm",
|
|
26828
26841
|
props: {
|
|
26829
26842
|
config: {
|
|
@@ -26941,7 +26954,7 @@ const yM = {
|
|
|
26941
26954
|
};
|
|
26942
26955
|
return (E, _) => {
|
|
26943
26956
|
const k = ue("KRadio"), w = ue("KCollapse"), x = ue("KFileUpload"), N = ue("KLabel"), j = ue("KAlert"), A = ue("KSelect"), C = ue("KInput"), T = ue("KButton");
|
|
26944
|
-
return S(), te("div",
|
|
26957
|
+
return S(), te("div", CM, [
|
|
26945
26958
|
I(u(wd), {
|
|
26946
26959
|
"can-submit": g.value,
|
|
26947
26960
|
config: e.config,
|
|
@@ -26984,7 +26997,7 @@ const yM = {
|
|
|
26984
26997
|
title: u(a)("custom_plugin_form.step1.title")
|
|
26985
26998
|
}, {
|
|
26986
26999
|
default: M(() => [
|
|
26987
|
-
W("div",
|
|
27000
|
+
W("div", xM, [
|
|
26988
27001
|
I(k, {
|
|
26989
27002
|
modelValue: f.fields.pluginType,
|
|
26990
27003
|
"onUpdate:modelValue": _[0] || (_[0] = ($) => f.fields.pluginType = $),
|
|
@@ -27025,34 +27038,34 @@ const yM = {
|
|
|
27025
27038
|
"trigger-label": u(a)("custom_plugin_form.step1.compare_trigger")
|
|
27026
27039
|
}, {
|
|
27027
27040
|
default: M(() => [
|
|
27028
|
-
W("div",
|
|
27029
|
-
W("table",
|
|
27041
|
+
W("div", AM, [
|
|
27042
|
+
W("table", SM, [
|
|
27030
27043
|
W("thead", null, [
|
|
27031
27044
|
W("tr", null, [
|
|
27032
27045
|
_[14] || (_[14] = W("th", { scope: "col" }, null, -1)),
|
|
27033
|
-
W("th",
|
|
27034
|
-
W("th",
|
|
27035
|
-
W("th",
|
|
27046
|
+
W("th", IM, ne(u(a)("custom_plugin_form.step1.compare_table.columns.installed")), 1),
|
|
27047
|
+
W("th", TM, ne(u(a)("custom_plugin_form.step1.compare_table.columns.streamed")), 1),
|
|
27048
|
+
W("th", OM, ne(u(a)("custom_plugin_form.step1.compare_table.columns.cloned")), 1)
|
|
27036
27049
|
])
|
|
27037
27050
|
]),
|
|
27038
27051
|
W("tbody", null, [
|
|
27039
27052
|
W("tr", null, [
|
|
27040
|
-
W("th",
|
|
27053
|
+
W("th", NM, ne(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.header")), 1),
|
|
27041
27054
|
W("td", null, ne(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.installed")), 1),
|
|
27042
27055
|
W("td", null, ne(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.streamed")), 1),
|
|
27043
27056
|
W("td", null, ne(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.cloned")), 1)
|
|
27044
27057
|
]),
|
|
27045
27058
|
W("tr", null, [
|
|
27046
|
-
W("th",
|
|
27059
|
+
W("th", $M, ne(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.header")), 1),
|
|
27047
27060
|
W("td", null, [
|
|
27048
|
-
W("ul",
|
|
27061
|
+
W("ul", PM, [
|
|
27049
27062
|
W("li", null, ne(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.handler")), 1),
|
|
27050
27063
|
W("li", null, ne(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.schema")), 1),
|
|
27051
27064
|
W("li", null, ne(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.additional")), 1)
|
|
27052
27065
|
])
|
|
27053
27066
|
]),
|
|
27054
27067
|
W("td", null, [
|
|
27055
|
-
W("ul",
|
|
27068
|
+
W("ul", RM, [
|
|
27056
27069
|
W("li", null, ne(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.streamed.handler")), 1),
|
|
27057
27070
|
W("li", null, ne(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.streamed.schema")), 1)
|
|
27058
27071
|
])
|
|
@@ -27065,13 +27078,13 @@ const yM = {
|
|
|
27065
27078
|
])
|
|
27066
27079
|
]),
|
|
27067
27080
|
W("tr", null, [
|
|
27068
|
-
W("th",
|
|
27081
|
+
W("th", MM, ne(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.header")), 1),
|
|
27069
27082
|
W("td", null, ne(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.installed")), 1),
|
|
27070
27083
|
W("td", null, ne(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.streamed")), 1),
|
|
27071
27084
|
W("td", null, ne(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.cloned")), 1)
|
|
27072
27085
|
]),
|
|
27073
27086
|
W("tr", null, [
|
|
27074
|
-
W("th",
|
|
27087
|
+
W("th", LM, ne(u(a)("custom_plugin_form.step1.compare_table.rows.sandboxing.header")), 1),
|
|
27075
27088
|
W("td", null, [
|
|
27076
27089
|
I(u(Ma), {
|
|
27077
27090
|
color: u($n),
|
|
@@ -27097,7 +27110,7 @@ const yM = {
|
|
|
27097
27110
|
W("td", null, ne(u(a)("custom_plugin_form.step1.compare_table.rows.sandboxing.cloned")), 1)
|
|
27098
27111
|
]),
|
|
27099
27112
|
W("tr", null, [
|
|
27100
|
-
W("th",
|
|
27113
|
+
W("th", FM, ne(u(a)("custom_plugin_form.step1.compare_table.rows.data_plane_reload.header")), 1),
|
|
27101
27114
|
W("td", null, [
|
|
27102
27115
|
I(u(hh), {
|
|
27103
27116
|
color: u(Kd),
|
|
@@ -27144,7 +27157,7 @@ const yM = {
|
|
|
27144
27157
|
onFileAdded: _[4] || (_[4] = ($) => f.fields.schemaFile = $[0] ?? null),
|
|
27145
27158
|
onFileRemoved: _[5] || (_[5] = ($) => f.fields.schemaFile = null)
|
|
27146
27159
|
}, null, 8, ["button-text", "help", "label", "placeholder"]),
|
|
27147
|
-
W("div",
|
|
27160
|
+
W("div", KM, [
|
|
27148
27161
|
I(N, null, {
|
|
27149
27162
|
default: M(() => [
|
|
27150
27163
|
be(ne(u(a)("custom_plugin_form.step2_files.plugin_modules.label")), 1)
|
|
@@ -27209,7 +27222,7 @@ const yM = {
|
|
|
27209
27222
|
required: ""
|
|
27210
27223
|
}, {
|
|
27211
27224
|
"item-template": M(({ item: $ }) => [
|
|
27212
|
-
W("div",
|
|
27225
|
+
W("div", jM, [
|
|
27213
27226
|
I(u(Ni), {
|
|
27214
27227
|
name: String($.value),
|
|
27215
27228
|
size: 20
|
|
@@ -27218,7 +27231,7 @@ const yM = {
|
|
|
27218
27231
|
])
|
|
27219
27232
|
]),
|
|
27220
27233
|
"selected-item-template": M(({ item: $ }) => [
|
|
27221
|
-
W("div",
|
|
27234
|
+
W("div", DM, [
|
|
27222
27235
|
I(u(Ni), {
|
|
27223
27236
|
name: String($.value),
|
|
27224
27237
|
size: 20
|
|
@@ -27311,7 +27324,7 @@ const yM = {
|
|
|
27311
27324
|
]);
|
|
27312
27325
|
};
|
|
27313
27326
|
}
|
|
27314
|
-
}),
|
|
27327
|
+
}), OK = /* @__PURE__ */ Se(qM, [["__scopeId", "data-v-c55c6651"]]), BM = (e, t) => ({
|
|
27315
27328
|
type: "array",
|
|
27316
27329
|
valueType: "string",
|
|
27317
27330
|
valueArrayType: "array",
|
|
@@ -27330,7 +27343,7 @@ const yM = {
|
|
|
27330
27343
|
},
|
|
27331
27344
|
...(t == null ? void 0 : t[0]) != null ? { default: t[0] } : {}
|
|
27332
27345
|
}
|
|
27333
|
-
}),
|
|
27346
|
+
}), UM = { class: "referable-field-item" }, VM = 24, GM = /* @__PURE__ */ ge({
|
|
27334
27347
|
__name: "ReferableFieldItem",
|
|
27335
27348
|
props: {
|
|
27336
27349
|
field: {},
|
|
@@ -27347,13 +27360,13 @@ const yM = {
|
|
|
27347
27360
|
const r = `label[for="${i.value}"]`, s = document.querySelector(r) || document.getElementById(i.value);
|
|
27348
27361
|
if (!s)
|
|
27349
27362
|
return;
|
|
27350
|
-
const l = Math.max(0, s.getBoundingClientRect().top + window.scrollY -
|
|
27363
|
+
const l = Math.max(0, s.getBoundingClientRect().top + window.scrollY - VM), c = () => {
|
|
27351
27364
|
var p;
|
|
27352
27365
|
(p = s.click) == null || p.call(s);
|
|
27353
27366
|
};
|
|
27354
27367
|
window.addEventListener("scrollend", c, { once: !0 }), window.scrollTo({ top: l, behavior: "smooth" });
|
|
27355
27368
|
};
|
|
27356
|
-
return (r, s) => (S(), te("span",
|
|
27369
|
+
return (r, s) => (S(), te("span", UM, [
|
|
27357
27370
|
W("span", {
|
|
27358
27371
|
class: "referable-field-link",
|
|
27359
27372
|
role: "button",
|
|
@@ -27365,7 +27378,7 @@ const yM = {
|
|
|
27365
27378
|
], 64))
|
|
27366
27379
|
]));
|
|
27367
27380
|
}
|
|
27368
|
-
}), md = /* @__PURE__ */ Se(
|
|
27381
|
+
}), md = /* @__PURE__ */ Se(GM, [["__scopeId", "data-v-949a9ea1"]]), zM = { key: 0 }, HM = /* @__PURE__ */ ge({
|
|
27369
27382
|
__name: "PluginFieldRuleAlerts",
|
|
27370
27383
|
props: {
|
|
27371
27384
|
rules: {}
|
|
@@ -27403,7 +27416,7 @@ const yM = {
|
|
|
27403
27416
|
_: 2
|
|
27404
27417
|
}, 1032, ["keypath"])
|
|
27405
27418
|
]))), 128)),
|
|
27406
|
-
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (S(), te("li",
|
|
27419
|
+
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (S(), te("li", zM, [
|
|
27407
27420
|
(S(!0), te(Le, null, Je(t.rules.onlyOneOfMutuallyRequired, (l, c) => (S(), te("div", {
|
|
27408
27421
|
key: `only-one-mutually-alert-${c}`
|
|
27409
27422
|
}, [
|
|
@@ -27427,8 +27440,8 @@ const yM = {
|
|
|
27427
27440
|
});
|
|
27428
27441
|
};
|
|
27429
27442
|
}
|
|
27430
|
-
}),
|
|
27431
|
-
function
|
|
27443
|
+
}), WM = /* @__PURE__ */ Se(HM, [["__scopeId", "data-v-5f9ff453"]]);
|
|
27444
|
+
function YM(e) {
|
|
27432
27445
|
if (e.length === 0) return "";
|
|
27433
27446
|
if (e.length === 1) {
|
|
27434
27447
|
const o = en(e[0]);
|
|
@@ -27447,18 +27460,18 @@ function WM(e) {
|
|
|
27447
27460
|
function gu(e) {
|
|
27448
27461
|
return "at_least_one_of" in e ? e.at_least_one_of : "mutually_required" in e ? e.mutually_required : "mutually_exclusive" in e ? e.mutually_exclusive : null;
|
|
27449
27462
|
}
|
|
27450
|
-
function
|
|
27463
|
+
function JM(e, t) {
|
|
27451
27464
|
if (!t) return e;
|
|
27452
27465
|
const n = t + Oa;
|
|
27453
27466
|
return e.map(
|
|
27454
27467
|
(i) => i.startsWith(n) ? i.slice(n.length) : i
|
|
27455
27468
|
);
|
|
27456
27469
|
}
|
|
27457
|
-
function
|
|
27458
|
-
const n = gu(e), i =
|
|
27470
|
+
function XM(e, t) {
|
|
27471
|
+
const n = gu(e), i = JM(n, t);
|
|
27459
27472
|
return "at_least_one_of" in e ? { at_least_one_of: i } : "mutually_required" in e ? { mutually_required: i } : { mutually_exclusive: i };
|
|
27460
27473
|
}
|
|
27461
|
-
function
|
|
27474
|
+
function ZM(e) {
|
|
27462
27475
|
const t = [], n = /* @__PURE__ */ new Map();
|
|
27463
27476
|
for (const i of e) {
|
|
27464
27477
|
const o = gu(i);
|
|
@@ -27466,17 +27479,17 @@ function XM(e) {
|
|
|
27466
27479
|
t.push(i);
|
|
27467
27480
|
continue;
|
|
27468
27481
|
}
|
|
27469
|
-
const a =
|
|
27482
|
+
const a = YM(o);
|
|
27470
27483
|
if (!a) {
|
|
27471
27484
|
t.push(i);
|
|
27472
27485
|
continue;
|
|
27473
27486
|
}
|
|
27474
|
-
const r =
|
|
27487
|
+
const r = XM(i, a);
|
|
27475
27488
|
n.has(a) || n.set(a, []), n.get(a).push(r);
|
|
27476
27489
|
}
|
|
27477
27490
|
return { keep: t, move: n };
|
|
27478
27491
|
}
|
|
27479
|
-
function
|
|
27492
|
+
function QM(e, t, n) {
|
|
27480
27493
|
const i = en(t);
|
|
27481
27494
|
let o = e;
|
|
27482
27495
|
for (const a of i) {
|
|
@@ -27494,27 +27507,27 @@ function ZM(e, t, n) {
|
|
|
27494
27507
|
function xg(e) {
|
|
27495
27508
|
var t;
|
|
27496
27509
|
if ((t = e.entity_checks) != null && t.length) {
|
|
27497
|
-
const { keep: n, move: i } =
|
|
27510
|
+
const { keep: n, move: i } = ZM(e.entity_checks);
|
|
27498
27511
|
e.entity_checks = n.length ? n : void 0;
|
|
27499
27512
|
for (const [o, a] of i)
|
|
27500
|
-
|
|
27513
|
+
QM(e, o, a);
|
|
27501
27514
|
}
|
|
27502
27515
|
for (const n of e.fields) {
|
|
27503
27516
|
const i = Object.values(n)[0];
|
|
27504
27517
|
i.type === "record" && xg(i);
|
|
27505
27518
|
}
|
|
27506
27519
|
}
|
|
27507
|
-
function
|
|
27520
|
+
function eL(e) {
|
|
27508
27521
|
const t = JSON.parse(JSON.stringify(e)), n = {
|
|
27509
27522
|
fields: t.fields
|
|
27510
27523
|
};
|
|
27511
27524
|
return xg(n), t.fields = n.fields, t;
|
|
27512
27525
|
}
|
|
27513
|
-
function
|
|
27526
|
+
function tL(e, t) {
|
|
27514
27527
|
const n = dn[e];
|
|
27515
27528
|
if (!n || !n.fieldRules)
|
|
27516
27529
|
return t;
|
|
27517
|
-
const i =
|
|
27530
|
+
const i = nL(n.fieldRules), o = { ...t };
|
|
27518
27531
|
return o.fields = o.fields.map((a) => {
|
|
27519
27532
|
if (Object.keys(a)[0] === "config") {
|
|
27520
27533
|
const s = a.config.entity_checks || [], l = (d) => {
|
|
@@ -27537,7 +27550,7 @@ function eL(e, t) {
|
|
|
27537
27550
|
return a;
|
|
27538
27551
|
}), o;
|
|
27539
27552
|
}
|
|
27540
|
-
function
|
|
27553
|
+
function nL(e) {
|
|
27541
27554
|
const t = [], n = (i) => i.startsWith("config.") ? i.substring(7) : i;
|
|
27542
27555
|
return e.atLeastOneOf && e.atLeastOneOf.forEach((i) => {
|
|
27543
27556
|
t.push({
|
|
@@ -27570,10 +27583,10 @@ function tL(e) {
|
|
|
27570
27583
|
}
|
|
27571
27584
|
}), t;
|
|
27572
27585
|
}
|
|
27573
|
-
const
|
|
27586
|
+
const iL = { class: "kong-ui-entities-plugin-form" }, oL = {
|
|
27574
27587
|
key: 1,
|
|
27575
27588
|
class: "entity-form"
|
|
27576
|
-
},
|
|
27589
|
+
}, aL = { class: "plugin-config-empty-state" }, rL = /* @__PURE__ */ ge({
|
|
27577
27590
|
__name: "PluginEntityForm",
|
|
27578
27591
|
props: {
|
|
27579
27592
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -27730,11 +27743,11 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
27730
27743
|
var se;
|
|
27731
27744
|
return (se = C.value) == null ? void 0 : se.options;
|
|
27732
27745
|
}), V = B(() => {
|
|
27733
|
-
const se =
|
|
27746
|
+
const se = tL(
|
|
27734
27747
|
L.name,
|
|
27735
27748
|
i.rawSchema
|
|
27736
27749
|
);
|
|
27737
|
-
return
|
|
27750
|
+
return eL(se);
|
|
27738
27751
|
}), q = oe(!1), K = oe(), F = (se, de) => {
|
|
27739
27752
|
q.value = se ?? "", K.value = de;
|
|
27740
27753
|
}, R = (se) => {
|
|
@@ -27930,11 +27943,11 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
27930
27943
|
var he, Pe, Ie;
|
|
27931
27944
|
const ve = ue("KSkeleton");
|
|
27932
27945
|
return S(), te(Le, null, [
|
|
27933
|
-
W("div",
|
|
27946
|
+
W("div", iL, [
|
|
27934
27947
|
ee.value ? (S(), J(ve, {
|
|
27935
27948
|
key: 0,
|
|
27936
27949
|
type: "form"
|
|
27937
|
-
})) : L.id && e.editing || !e.editing ? (S(), te("div",
|
|
27950
|
+
})) : L.id && e.editing || !e.editing ? (S(), te("div", oL, [
|
|
27938
27951
|
A.value ? (S(), J(At(A.value), {
|
|
27939
27952
|
key: 0,
|
|
27940
27953
|
"field-renderers": (he = j.value) == null ? void 0 : he.fieldRenderers,
|
|
@@ -27990,14 +28003,14 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
27990
28003
|
onShowNewPartialModal: de[1] || (de[1] = (Be) => se.$emit("showNewPartialModal", Be))
|
|
27991
28004
|
}, ct({
|
|
27992
28005
|
"plugin-config-empty-state": M(() => [
|
|
27993
|
-
W("div",
|
|
28006
|
+
W("div", aL, ne(u(y)("plugins.form.grouping.plugin_configuration.empty")), 1)
|
|
27994
28007
|
]),
|
|
27995
28008
|
_: 2
|
|
27996
28009
|
}, [
|
|
27997
28010
|
(Ie = u(dn)[L.name]) != null && Ie.fieldRules && (i.config.isNewOtelSchema || L.name !== "opentelemetry") ? {
|
|
27998
28011
|
name: "plugin-config-before-content",
|
|
27999
28012
|
fn: M(() => [
|
|
28000
|
-
I(
|
|
28013
|
+
I(WM, {
|
|
28001
28014
|
rules: u(dn)[L.name].fieldRules
|
|
28002
28015
|
}, null, 8, ["rules"])
|
|
28003
28016
|
]),
|
|
@@ -28022,7 +28035,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
28022
28035
|
], 64);
|
|
28023
28036
|
};
|
|
28024
28037
|
}
|
|
28025
|
-
}),
|
|
28038
|
+
}), sL = /* @__PURE__ */ Se(rL, [["__scopeId", "data-v-fe315893"]]), lL = { key: 1 }, uL = /* @__PURE__ */ ge({
|
|
28026
28039
|
__name: "PluginFormActionsWrapper",
|
|
28027
28040
|
props: {
|
|
28028
28041
|
teleportTarget: {
|
|
@@ -28036,11 +28049,11 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
28036
28049
|
to: e.teleportTarget
|
|
28037
28050
|
}, [
|
|
28038
28051
|
et(t.$slots, "default")
|
|
28039
|
-
], 8, ["to"])) : (S(), te("div",
|
|
28052
|
+
], 8, ["to"])) : (S(), te("div", lL, [
|
|
28040
28053
|
et(t.$slots, "default")
|
|
28041
28054
|
]));
|
|
28042
28055
|
}
|
|
28043
|
-
}),
|
|
28056
|
+
}), cL = { key: 0 }, dL = { class: "plugin-form-actions" }, fL = /* @__PURE__ */ ge({
|
|
28044
28057
|
__name: "PluginForm",
|
|
28045
28058
|
props: {
|
|
28046
28059
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -28402,7 +28415,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
28402
28415
|
} else if (["string", "integer", "number"].includes(Ae.type) && Ae.one_of) {
|
|
28403
28416
|
if (we) {
|
|
28404
28417
|
const { id: Ke, help: Ge, label: Me, hint: ze, values: Ue, referenceable: ot, model: Xe } = X[ye];
|
|
28405
|
-
X[ye] = { id: Ke, help: Ge, label: Me, hint: ze, values: Ue, referenceable: ot, model: Xe, ...
|
|
28418
|
+
X[ye] = { id: Ke, help: Ge, label: Me, hint: ze, values: Ue, referenceable: ot, model: Xe, ...BM(Ae.one_of, _e.default) };
|
|
28406
28419
|
}
|
|
28407
28420
|
} else if (Ae.type === "array") {
|
|
28408
28421
|
const { id: Ke, help: Ge, label: Me, hint: ze, values: Ue, referenceable: ot, model: Xe, elements: wt } = X[ye], { inputAttributes: Vn, ...Ct } = JSON.parse(JSON.stringify(nt));
|
|
@@ -28725,12 +28738,12 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
28725
28738
|
onLoading: ie[5] || (ie[5] = (xe) => Q.$emit("loading", xe))
|
|
28726
28739
|
}, {
|
|
28727
28740
|
"form-actions": M(() => [
|
|
28728
|
-
e.isWizardStep ? (S(), te("div",
|
|
28741
|
+
e.isWizardStep ? (S(), te("div", cL)) : (S(), J(uL, {
|
|
28729
28742
|
key: 1,
|
|
28730
28743
|
"teleport-target": e.actionsTeleportTarget
|
|
28731
28744
|
}, {
|
|
28732
28745
|
default: M(() => [
|
|
28733
|
-
W("div",
|
|
28746
|
+
W("div", dL, [
|
|
28734
28747
|
e.hideViewConfigAction ? ce("", !0) : (S(), J(re, {
|
|
28735
28748
|
key: 0,
|
|
28736
28749
|
appearance: "tertiary",
|
|
@@ -28776,7 +28789,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
28776
28789
|
hidden: "",
|
|
28777
28790
|
onSubmit: Be
|
|
28778
28791
|
}, null, 32),
|
|
28779
|
-
I(
|
|
28792
|
+
I(sL, {
|
|
28780
28793
|
config: e.config,
|
|
28781
28794
|
credential: k.value,
|
|
28782
28795
|
editing: b.value === u(wi).Edit,
|
|
@@ -28848,16 +28861,16 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
28848
28861
|
], 2);
|
|
28849
28862
|
};
|
|
28850
28863
|
}
|
|
28851
|
-
}),
|
|
28864
|
+
}), NK = /* @__PURE__ */ Se(fL, [["__scopeId", "data-v-acda21d4"]]), pL = { class: "kong-ui-entities-plugins-list" }, mL = { class: "button-row" }, gL = { class: "name-cell-wrapper" }, hL = { class: "info-wrapper" }, yL = {
|
|
28852
28865
|
key: 0,
|
|
28853
28866
|
class: "info-name"
|
|
28854
|
-
},
|
|
28867
|
+
}, vL = {
|
|
28855
28868
|
key: 1,
|
|
28856
28869
|
class: "info-name"
|
|
28857
|
-
},
|
|
28870
|
+
}, bL = {
|
|
28858
28871
|
key: 2,
|
|
28859
28872
|
class: "info-type"
|
|
28860
|
-
},
|
|
28873
|
+
}, _L = { key: 1 }, wL = /* @__PURE__ */ ge({
|
|
28861
28874
|
__name: "PluginList",
|
|
28862
28875
|
props: {
|
|
28863
28876
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -29110,7 +29123,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
29110
29123
|
Pe.value = await o.canCreate(), Pe.value && (he.value.title = a("plugins.list.empty_state.title"), he.value.ctaText = a("actions.create"));
|
|
29111
29124
|
}), (ke, Te) => {
|
|
29112
29125
|
const Ce = ue("KButton"), Fe = ue("KEmptyState"), $e = ue("KBadge"), Q = ue("KTruncate"), ie = ue("KInputSwitch"), X = ue("KDropdownItem"), we = ue("KClipboardProvider");
|
|
29113
|
-
return S(), te("div",
|
|
29126
|
+
return S(), te("div", pL, [
|
|
29114
29127
|
I(u(qg), {
|
|
29115
29128
|
"cache-identifier": e.cacheIdentifier,
|
|
29116
29129
|
"disable-sorting": g.value,
|
|
@@ -29142,7 +29155,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
29142
29155
|
disabled: !e.useActionOutside,
|
|
29143
29156
|
to: "#kong-ui-app-page-header-action-button"
|
|
29144
29157
|
}, [
|
|
29145
|
-
W("div",
|
|
29158
|
+
W("div", mL, [
|
|
29146
29159
|
!d.value && p.value ? (S(), J(Ce, {
|
|
29147
29160
|
key: 0,
|
|
29148
29161
|
appearance: "secondary",
|
|
@@ -29179,15 +29192,15 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
29179
29192
|
], 8, ["disabled"]))
|
|
29180
29193
|
]),
|
|
29181
29194
|
name: M(({ row: re }) => [
|
|
29182
|
-
W("div",
|
|
29195
|
+
W("div", gL, [
|
|
29183
29196
|
I(u(Ni), {
|
|
29184
29197
|
class: "plugin-icon",
|
|
29185
29198
|
name: re.name,
|
|
29186
29199
|
size: 24
|
|
29187
29200
|
}, null, 8, ["name"]),
|
|
29188
|
-
W("div",
|
|
29189
|
-
re.instance_name ? (S(), te("span",
|
|
29190
|
-
re.instance_name ? (S(), te("span",
|
|
29201
|
+
W("div", hL, [
|
|
29202
|
+
re.instance_name ? (S(), te("span", yL, ne(re.instance_name), 1)) : (S(), te("span", vL, ne(u(n).getDisplayName(re.name)), 1)),
|
|
29203
|
+
re.instance_name ? (S(), te("span", bL, ne(u(n).getDisplayName(re.name)), 1)) : ce("", !0)
|
|
29191
29204
|
])
|
|
29192
29205
|
])
|
|
29193
29206
|
]),
|
|
@@ -29214,7 +29227,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
29214
29227
|
}, 1032, ["auth-function"]))), 128))
|
|
29215
29228
|
]),
|
|
29216
29229
|
_: 2
|
|
29217
|
-
}, 1024)) : (S(), te("span",
|
|
29230
|
+
}, 1024)) : (S(), te("span", _L, "-"))
|
|
29218
29231
|
]),
|
|
29219
29232
|
enabled: M(({ row: re }) => [
|
|
29220
29233
|
I(u(ki), {
|
|
@@ -29416,13 +29429,13 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
29416
29429
|
]);
|
|
29417
29430
|
};
|
|
29418
29431
|
}
|
|
29419
|
-
}),
|
|
29432
|
+
}), $K = /* @__PURE__ */ Se(wL, [["__scopeId", "data-v-5fef62ed"]]), kL = { class: "plugin-select-card-wrapper" }, EL = ["data-testid"], CL = { class: "plugin-card-header" }, xL = { class: "plugin-card-title" }, AL = {
|
|
29420
29433
|
key: 0,
|
|
29421
29434
|
class: "plugin-card-actions"
|
|
29422
|
-
},
|
|
29435
|
+
}, SL = ["data-testid", "title"], IL = {
|
|
29423
29436
|
key: 0,
|
|
29424
29437
|
class: "plugin-card-text"
|
|
29425
|
-
},
|
|
29438
|
+
}, TL = { key: 0 }, OL = ["title"], NL = /* @__PURE__ */ ge({
|
|
29426
29439
|
__name: "PluginSelectCard",
|
|
29427
29440
|
props: {
|
|
29428
29441
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -29475,7 +29488,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
29475
29488
|
};
|
|
29476
29489
|
return (v, b) => {
|
|
29477
29490
|
const E = ue("KButton"), _ = ue("KDropdownItem"), k = ue("KDropdownMenu"), w = ue("KTooltip");
|
|
29478
|
-
return S(), te("div",
|
|
29491
|
+
return S(), te("div", kL, [
|
|
29479
29492
|
I(w, {
|
|
29480
29493
|
text: e.plugin.disabledMessage
|
|
29481
29494
|
}, {
|
|
@@ -29486,13 +29499,13 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
29486
29499
|
role: "button",
|
|
29487
29500
|
onClick: b[1] || (b[1] = (x) => s.value || m.value ? void 0 : p())
|
|
29488
29501
|
}, [
|
|
29489
|
-
W("div",
|
|
29490
|
-
W("div",
|
|
29502
|
+
W("div", CL, [
|
|
29503
|
+
W("div", xL, [
|
|
29491
29504
|
W("span", {
|
|
29492
29505
|
class: at({ "non-custom-title": !m.value })
|
|
29493
29506
|
}, ne(e.plugin.name), 3)
|
|
29494
29507
|
]),
|
|
29495
|
-
l.value ? (S(), te("div",
|
|
29508
|
+
l.value ? (S(), te("div", AL, [
|
|
29496
29509
|
I(k, {
|
|
29497
29510
|
"data-testid": "custom-plugin-actions",
|
|
29498
29511
|
"kpop-attributes": { placement: "bottom-end" },
|
|
@@ -29552,27 +29565,27 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
29552
29565
|
name: e.plugin.id,
|
|
29553
29566
|
size: 55
|
|
29554
29567
|
}, null, 8, ["alt", "name"]),
|
|
29555
|
-
e.plugin.description || m.value && !f.value ? (S(), te("div",
|
|
29556
|
-
m.value && !f.value ? (S(), te("p",
|
|
29568
|
+
e.plugin.description || m.value && !f.value ? (S(), te("div", IL, [
|
|
29569
|
+
m.value && !f.value ? (S(), te("p", TL, ne(u(a)("plugins.select.custom_badge_text")), 1)) : ce("", !0),
|
|
29557
29570
|
e.plugin.description ? (S(), te("p", {
|
|
29558
29571
|
key: 1,
|
|
29559
29572
|
class: "plugin-card-text",
|
|
29560
29573
|
title: e.plugin.description
|
|
29561
|
-
}, ne(e.plugin.description), 9,
|
|
29574
|
+
}, ne(e.plugin.description), 9, OL)) : ce("", !0)
|
|
29562
29575
|
])) : ce("", !0)
|
|
29563
|
-
], 10,
|
|
29576
|
+
], 10, SL),
|
|
29564
29577
|
W("div", {
|
|
29565
29578
|
class: "plugin-card-footer",
|
|
29566
29579
|
onClick: y
|
|
29567
29580
|
}, ne(f.value ? u(a)("actions.create_custom") : e.plugin.exists ? u(a)("actions.enabled") : u(a)("actions.enable")), 1)
|
|
29568
|
-
], 10,
|
|
29581
|
+
], 10, EL)
|
|
29569
29582
|
]),
|
|
29570
29583
|
_: 1
|
|
29571
29584
|
}, 8, ["text"])
|
|
29572
29585
|
]);
|
|
29573
29586
|
};
|
|
29574
29587
|
}
|
|
29575
|
-
}), Ag = /* @__PURE__ */ Se(
|
|
29588
|
+
}), Ag = /* @__PURE__ */ Se(NL, [["__scopeId", "data-v-023c396b"]]), $L = /* @__PURE__ */ ge({
|
|
29576
29589
|
__name: "DeleteCustomPluginSchemaModal",
|
|
29577
29590
|
props: {
|
|
29578
29591
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -29668,7 +29681,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
29668
29681
|
}, 8, ["action-button-disabled", "title"])) : ce("", !0);
|
|
29669
29682
|
};
|
|
29670
29683
|
}
|
|
29671
|
-
}), hu = /* @__PURE__ */ Se(
|
|
29684
|
+
}), hu = /* @__PURE__ */ Se($L, [["__scopeId", "data-v-e8ea9d81"]]), PL = { class: "custom-plugins-grid" }, RL = { class: "empty-state-title" }, ML = { class: "empty-state-description" }, As = 310, LL = /* @__PURE__ */ ge({
|
|
29672
29685
|
__name: "PluginCustomGrid",
|
|
29673
29686
|
props: {
|
|
29674
29687
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -29753,7 +29766,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
29753
29766
|
window == null || window.removeEventListener("resize", E);
|
|
29754
29767
|
}), (k, w) => {
|
|
29755
29768
|
const x = ue("KEmptyState"), N = ue("KCollapse");
|
|
29756
|
-
return S(), te("div",
|
|
29769
|
+
return S(), te("div", PL, [
|
|
29757
29770
|
c.value.length ? (S(), J(N, {
|
|
29758
29771
|
key: 1,
|
|
29759
29772
|
modelValue: s.value,
|
|
@@ -29801,10 +29814,10 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
29801
29814
|
"icon-variant": "kong"
|
|
29802
29815
|
}, {
|
|
29803
29816
|
title: M(() => [
|
|
29804
|
-
W("span",
|
|
29817
|
+
W("span", RL, ne(u(o)("plugins.select.tabs.custom.empty_title")), 1)
|
|
29805
29818
|
]),
|
|
29806
29819
|
default: M(() => [
|
|
29807
|
-
W("span",
|
|
29820
|
+
W("span", ML, ne(u(o)("plugins.select.tabs.custom.empty_description")), 1)
|
|
29808
29821
|
]),
|
|
29809
29822
|
_: 1
|
|
29810
29823
|
})),
|
|
@@ -29818,7 +29831,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
29818
29831
|
]);
|
|
29819
29832
|
};
|
|
29820
29833
|
}
|
|
29821
|
-
}),
|
|
29834
|
+
}), FL = /* @__PURE__ */ Se(LL, [["__scopeId", "data-v-bfe8998d"]]), Ss = 310, KL = /* @__PURE__ */ ge({
|
|
29822
29835
|
__name: "PluginSelectGroup",
|
|
29823
29836
|
props: /* @__PURE__ */ sa({
|
|
29824
29837
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -29909,7 +29922,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
29909
29922
|
]), 1032, ["modelValue", "data-testid", "title", "trigger-label"]);
|
|
29910
29923
|
};
|
|
29911
29924
|
}
|
|
29912
|
-
}), gd = /* @__PURE__ */ Se(
|
|
29925
|
+
}), gd = /* @__PURE__ */ Se(KL, [["__scopeId", "data-v-0ea863e8"]]), jL = { class: "plugin-select-grid" }, DL = { class: "empty-state-title" }, qL = { class: "empty-state-description" }, hd = /* @__PURE__ */ ge({
|
|
29913
29926
|
__name: "PluginSelectGrid",
|
|
29914
29927
|
props: {
|
|
29915
29928
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -29965,7 +29978,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
29965
29978
|
});
|
|
29966
29979
|
return (c, p) => {
|
|
29967
29980
|
const d = ue("KEmptyState");
|
|
29968
|
-
return S(), te("div",
|
|
29981
|
+
return S(), te("div", jL, [
|
|
29969
29982
|
Object.keys(l.value).length ? ce("", !0) : (S(), J(d, {
|
|
29970
29983
|
key: 0,
|
|
29971
29984
|
"action-button-visible": !1,
|
|
@@ -29974,10 +29987,10 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
29974
29987
|
"icon-variant": "kong"
|
|
29975
29988
|
}, {
|
|
29976
29989
|
title: M(() => [
|
|
29977
|
-
W("span",
|
|
29990
|
+
W("span", DL, ne(u(o)("plugins.select.tabs.kong.empty_title")), 1)
|
|
29978
29991
|
]),
|
|
29979
29992
|
default: M(() => [
|
|
29980
|
-
W("span",
|
|
29993
|
+
W("span", qL, ne(u(o)("plugins.select.tabs.kong.empty_description")), 1)
|
|
29981
29994
|
]),
|
|
29982
29995
|
_: 1
|
|
29983
29996
|
})),
|
|
@@ -30007,11 +30020,11 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30007
30020
|
]);
|
|
30008
30021
|
};
|
|
30009
30022
|
}
|
|
30010
|
-
}),
|
|
30023
|
+
}), BL = { class: "kong-ui-entities-plugin-select-form" }, UL = { class: "plugins-filter-input-container" }, VL = { key: 0 }, GL = {
|
|
30011
30024
|
key: 3,
|
|
30012
30025
|
"aria-live": "polite",
|
|
30013
30026
|
class: "plugins-results-container"
|
|
30014
|
-
},
|
|
30027
|
+
}, zL = { "data-testid": "kong-tab" }, HL = { class: "tab-description" }, WL = { "data-testid": "custom-tab" }, YL = { class: "tab-description" }, JL = /* @__PURE__ */ ge({
|
|
30015
30028
|
__name: "PluginSelect",
|
|
30016
30029
|
props: {
|
|
30017
30030
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -30175,7 +30188,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30175
30188
|
Di(async () => {
|
|
30176
30189
|
V.value = await n.canCreateCustomPlugin(), q.value = await n.canEditCustomPlugin(), K.value = await n.canDeleteCustomPlugin();
|
|
30177
30190
|
});
|
|
30178
|
-
const F =
|
|
30191
|
+
const F = ft("filter-input");
|
|
30179
30192
|
return Dn(async () => {
|
|
30180
30193
|
var P, H;
|
|
30181
30194
|
(H = (P = F.value) == null ? void 0 : P.input) == null || H.focus();
|
|
@@ -30206,8 +30219,8 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30206
30219
|
m.value || (v.value = C()), f.value = !1;
|
|
30207
30220
|
}), (P, H) => {
|
|
30208
30221
|
const Z = ue("KInput"), U = ue("KSkeletonBox"), O = ue("KSkeleton"), D = ue("KEmptyState"), z = ue("KTooltip"), ee = ue("KTabs");
|
|
30209
|
-
return S(), te("div",
|
|
30210
|
-
W("div",
|
|
30222
|
+
return S(), te("div", BL, [
|
|
30223
|
+
W("div", UL, [
|
|
30211
30224
|
I(Z, {
|
|
30212
30225
|
ref: "filter-input",
|
|
30213
30226
|
modelValue: d.value,
|
|
@@ -30219,7 +30232,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30219
30232
|
type: "search"
|
|
30220
30233
|
}, null, 8, ["modelValue", "placeholder"])
|
|
30221
30234
|
]),
|
|
30222
|
-
f.value ? (S(), te("section",
|
|
30235
|
+
f.value ? (S(), te("section", VL, [
|
|
30223
30236
|
I(U, {
|
|
30224
30237
|
class: "plugins-skeleton-title",
|
|
30225
30238
|
width: "10"
|
|
@@ -30249,7 +30262,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30249
30262
|
W("h5", null, ne(u(r)("search.no_results", { filter: d.value })), 1)
|
|
30250
30263
|
]),
|
|
30251
30264
|
_: 1
|
|
30252
|
-
})) : (S(), te("section",
|
|
30265
|
+
})) : (S(), te("section", GL, [
|
|
30253
30266
|
j.value.length && e.customPluginSupport !== "none" ? (S(), J(ee, {
|
|
30254
30267
|
key: 0,
|
|
30255
30268
|
modelValue: A.value,
|
|
@@ -30259,8 +30272,8 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30259
30272
|
onChange: Y
|
|
30260
30273
|
}, ct({
|
|
30261
30274
|
kong: M(() => [
|
|
30262
|
-
W("div",
|
|
30263
|
-
W("p",
|
|
30275
|
+
W("div", zL, [
|
|
30276
|
+
W("p", HL, ne(u(r)("plugins.select.tabs.kong.description")), 1),
|
|
30264
30277
|
I(hd, {
|
|
30265
30278
|
config: e.config,
|
|
30266
30279
|
"hide-highlighted-plugins": d.value.length > 0,
|
|
@@ -30273,10 +30286,10 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30273
30286
|
])
|
|
30274
30287
|
]),
|
|
30275
30288
|
custom: M(() => [
|
|
30276
|
-
W("div",
|
|
30289
|
+
W("div", WL, [
|
|
30277
30290
|
et(P.$slots, "before-custom-tab-content", {}, void 0, !0),
|
|
30278
|
-
W("p",
|
|
30279
|
-
I(
|
|
30291
|
+
W("p", YL, ne(u(r)("plugins.select.tabs.custom.description")), 1),
|
|
30292
|
+
I(FL, {
|
|
30280
30293
|
"can-create-custom-plugin": V.value,
|
|
30281
30294
|
"can-delete-custom-plugin": K.value,
|
|
30282
30295
|
"can-edit-custom-plugin": q.value,
|
|
@@ -30320,13 +30333,13 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30320
30333
|
]);
|
|
30321
30334
|
};
|
|
30322
30335
|
}
|
|
30323
|
-
}),
|
|
30336
|
+
}), PK = /* @__PURE__ */ Se(JL, [["__scopeId", "data-v-e7475803"]]), XL = {
|
|
30324
30337
|
class: "plugin-select-card-wrapper",
|
|
30325
30338
|
"data-testid": "plugin-catalog-card-wrapper"
|
|
30326
|
-
},
|
|
30339
|
+
}, ZL = { class: "plugin-card-header" }, QL = { class: "plugin-card-title" }, eF = {
|
|
30327
30340
|
key: 0,
|
|
30328
30341
|
class: "plugin-card-actions"
|
|
30329
|
-
},
|
|
30342
|
+
}, tF = ["data-testid", "title"], nF = { key: 0 }, iF = { key: 0 }, oF = ["title"], aF = { class: "plugin-card-footer" }, rF = /* @__PURE__ */ ge({
|
|
30330
30343
|
__name: "PluginCatalogCard",
|
|
30331
30344
|
props: {
|
|
30332
30345
|
config: {},
|
|
@@ -30351,7 +30364,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30351
30364
|
};
|
|
30352
30365
|
return (h, g) => {
|
|
30353
30366
|
const y = ue("KButton"), v = ue("KDropdownItem"), b = ue("KDropdownMenu"), E = ue("RouterLink"), _ = ue("KTooltip");
|
|
30354
|
-
return S(), te("div",
|
|
30367
|
+
return S(), te("div", XL, [
|
|
30355
30368
|
I(_, {
|
|
30356
30369
|
text: e.plugin.disabledMessage
|
|
30357
30370
|
}, {
|
|
@@ -30362,8 +30375,8 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30362
30375
|
to: c.value
|
|
30363
30376
|
}, {
|
|
30364
30377
|
default: M(() => [
|
|
30365
|
-
W("div",
|
|
30366
|
-
W("div",
|
|
30378
|
+
W("div", ZL, [
|
|
30379
|
+
W("div", QL, [
|
|
30367
30380
|
I(u(Ni), {
|
|
30368
30381
|
alt: e.plugin.name,
|
|
30369
30382
|
class: "plugin-card-icon",
|
|
@@ -30374,7 +30387,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30374
30387
|
class: at({ "non-custom-title": !d.value })
|
|
30375
30388
|
}, ne(e.plugin.name), 3)
|
|
30376
30389
|
]),
|
|
30377
|
-
l.value ? (S(), te("div",
|
|
30390
|
+
l.value ? (S(), te("div", eF, [
|
|
30378
30391
|
I(b, {
|
|
30379
30392
|
"data-testid": "custom-plugin-actions",
|
|
30380
30393
|
"kpop-attributes": { placement: "bottom-end" },
|
|
@@ -30427,15 +30440,15 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30427
30440
|
"data-testid": `${e.plugin.id}-card-body`,
|
|
30428
30441
|
title: e.plugin.available ? e.plugin.name : u(a)("plugins.select.unavailable_tooltip")
|
|
30429
30442
|
}, [
|
|
30430
|
-
e.plugin.description || d.value && !p.value ? (S(), te("div",
|
|
30431
|
-
d.value && !p.value ? (S(), te("div",
|
|
30443
|
+
e.plugin.description || d.value && !p.value ? (S(), te("div", nF, [
|
|
30444
|
+
d.value && !p.value ? (S(), te("div", iF, ne(u(a)("plugins.select.custom_badge_text")), 1)) : ce("", !0),
|
|
30432
30445
|
e.plugin.description ? (S(), te("div", {
|
|
30433
30446
|
key: 1,
|
|
30434
30447
|
title: e.plugin.description
|
|
30435
|
-
}, ne(e.plugin.description), 9,
|
|
30448
|
+
}, ne(e.plugin.description), 9, oF)) : ce("", !0)
|
|
30436
30449
|
])) : ce("", !0)
|
|
30437
|
-
], 8,
|
|
30438
|
-
W("div",
|
|
30450
|
+
], 8, tF),
|
|
30451
|
+
W("div", aF, [
|
|
30439
30452
|
W("div", null, ne(p.value ? u(a)("actions.create_custom") : u(a)("actions.configure")), 1),
|
|
30440
30453
|
et(h.$slots, "footer-extra", {}, void 0, !0)
|
|
30441
30454
|
])
|
|
@@ -30448,7 +30461,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30448
30461
|
]);
|
|
30449
30462
|
};
|
|
30450
30463
|
}
|
|
30451
|
-
}),
|
|
30464
|
+
}), sF = /* @__PURE__ */ Se(rF, [["__scopeId", "data-v-f04efe4f"]]), lF = ["data-testid"], uF = { class: "group-icon-wrapper" }, cF = { class: "group-title-text" }, dF = ["data-testid"], fF = ["data-testid"], pF = /* @__PURE__ */ ge({
|
|
30452
30465
|
__name: "PluginCatalogGroup",
|
|
30453
30466
|
props: {
|
|
30454
30467
|
config: {},
|
|
@@ -30507,16 +30520,16 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30507
30520
|
class: "group-title",
|
|
30508
30521
|
"data-testid": `plugin-group-${e.name}-title`
|
|
30509
30522
|
}, [
|
|
30510
|
-
W("div",
|
|
30523
|
+
W("div", uF, [
|
|
30511
30524
|
(S(), J(At(i.value), { color: u(Fd) }, null, 8, ["color"]))
|
|
30512
30525
|
]),
|
|
30513
|
-
W("span",
|
|
30514
|
-
], 8,
|
|
30526
|
+
W("span", cF, ne(e.name), 1)
|
|
30527
|
+
], 8, lF)) : ce("", !0),
|
|
30515
30528
|
W("div", {
|
|
30516
30529
|
class: "plugin-card-container",
|
|
30517
30530
|
"data-testid": `plugin-group-${e.name}`
|
|
30518
30531
|
}, [
|
|
30519
|
-
(S(!0), te(Le, null, Je(s.value, (y) => (S(), J(
|
|
30532
|
+
(S(!0), te(Le, null, Je(s.value, (y) => (S(), J(sF, {
|
|
30520
30533
|
key: `plugin-card-${y.id}`,
|
|
30521
30534
|
config: e.config,
|
|
30522
30535
|
plugin: y,
|
|
@@ -30529,7 +30542,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30529
30542
|
W("span", {
|
|
30530
30543
|
class: "plugin-card-new-badge",
|
|
30531
30544
|
"data-testid": `plugin-card-${y.id}-new-badge`
|
|
30532
|
-
}, ne(u(a)("labels.new")), 9,
|
|
30545
|
+
}, ne(u(a)("labels.new")), 9, fF)
|
|
30533
30546
|
]),
|
|
30534
30547
|
key: "0"
|
|
30535
30548
|
} : void 0
|
|
@@ -30539,7 +30552,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30539
30552
|
class: "show-all-plugin-card",
|
|
30540
30553
|
onClick: c
|
|
30541
30554
|
}, ne(u(a)("plugins.select.show_all")), 1)) : ce("", !0)
|
|
30542
|
-
], 8,
|
|
30555
|
+
], 8, dF),
|
|
30543
30556
|
p.value && d.value ? (S(), J(hu, {
|
|
30544
30557
|
key: 1,
|
|
30545
30558
|
config: e.config,
|
|
@@ -30549,7 +30562,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30549
30562
|
}, null, 8, ["config", "plugin"])) : ce("", !0)
|
|
30550
30563
|
], 64));
|
|
30551
30564
|
}
|
|
30552
|
-
}), yd = /* @__PURE__ */ Se(
|
|
30565
|
+
}), yd = /* @__PURE__ */ Se(pF, [["__scopeId", "data-v-f5e0d88b"]]), mF = { class: "plugin-select-grid" }, gF = { class: "empty-state-title" }, hF = { class: "empty-state-description" }, yF = { key: 1 }, vF = /* @__PURE__ */ ge({
|
|
30553
30566
|
__name: "PluginCatalogGrid",
|
|
30554
30567
|
props: {
|
|
30555
30568
|
config: {},
|
|
@@ -30563,7 +30576,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30563
30576
|
return (r, s) => {
|
|
30564
30577
|
var c, p;
|
|
30565
30578
|
const l = ue("KEmptyState");
|
|
30566
|
-
return S(), te("div",
|
|
30579
|
+
return S(), te("div", mF, [
|
|
30567
30580
|
Object.keys(e.pluginList || []).length ? ce("", !0) : (S(), J(l, {
|
|
30568
30581
|
key: 0,
|
|
30569
30582
|
"action-button-visible": !1,
|
|
@@ -30572,10 +30585,10 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30572
30585
|
"icon-variant": "kong"
|
|
30573
30586
|
}, {
|
|
30574
30587
|
title: M(() => [
|
|
30575
|
-
W("span",
|
|
30588
|
+
W("span", gF, ne(u(o)("plugins.select.tabs.kong.empty_title")), 1)
|
|
30576
30589
|
]),
|
|
30577
30590
|
default: M(() => [
|
|
30578
|
-
W("span",
|
|
30591
|
+
W("span", hF, ne(u(o)("plugins.select.tabs.kong.empty_description")), 1)
|
|
30579
30592
|
]),
|
|
30580
30593
|
_: 1
|
|
30581
30594
|
})),
|
|
@@ -30593,7 +30606,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30593
30606
|
])) : ce("", !0)
|
|
30594
30607
|
], 64);
|
|
30595
30608
|
}), 256)),
|
|
30596
|
-
(p = (c = e.pluginList) == null ? void 0 : c["Query Result"]) != null && p.length ? (S(), te("div",
|
|
30609
|
+
(p = (c = e.pluginList) == null ? void 0 : c["Query Result"]) != null && p.length ? (S(), te("div", yF, [
|
|
30597
30610
|
I(yd, {
|
|
30598
30611
|
config: e.config,
|
|
30599
30612
|
plugins: e.pluginList["Query Result"] || [],
|
|
@@ -30604,17 +30617,17 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30604
30617
|
]);
|
|
30605
30618
|
};
|
|
30606
30619
|
}
|
|
30607
|
-
}),
|
|
30620
|
+
}), bF = /* @__PURE__ */ Se(vF, [["__scopeId", "data-v-f8c34698"]]), _F = {
|
|
30608
30621
|
class: "plugin-name-cell",
|
|
30609
30622
|
"data-testid": "plugin-catalog-list-view-name"
|
|
30610
|
-
},
|
|
30623
|
+
}, wF = ["title"], kF = ["title"], EF = {
|
|
30611
30624
|
class: "plugin-action-cell",
|
|
30612
30625
|
"data-testid": "plugin-catalog-list-view-action"
|
|
30613
|
-
},
|
|
30626
|
+
}, CF = {
|
|
30614
30627
|
key: 0,
|
|
30615
30628
|
class: "plugin-more-action-cell",
|
|
30616
30629
|
"data-testid": "plugin-catalog-list-view-more-actions"
|
|
30617
|
-
},
|
|
30630
|
+
}, xF = /* @__PURE__ */ ge({
|
|
30618
30631
|
__name: "PluginCatalogListView",
|
|
30619
30632
|
props: {
|
|
30620
30633
|
config: {},
|
|
@@ -30695,7 +30708,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30695
30708
|
onSort: E
|
|
30696
30709
|
}, {
|
|
30697
30710
|
name: M(({ row: C }) => [
|
|
30698
|
-
W("span",
|
|
30711
|
+
W("span", _F, [
|
|
30699
30712
|
I(u(Ni), {
|
|
30700
30713
|
"data-testid": `plugin-catalog-list-view-${C.plugin.id}-icon`,
|
|
30701
30714
|
name: C.plugin.id,
|
|
@@ -30705,7 +30718,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30705
30718
|
class: "plugin-name-text",
|
|
30706
30719
|
"data-testid": "plugin-catalog-list-view-name-text",
|
|
30707
30720
|
title: C.name
|
|
30708
|
-
}, ne(C.name), 9,
|
|
30721
|
+
}, ne(C.name), 9, wF)
|
|
30709
30722
|
])
|
|
30710
30723
|
]),
|
|
30711
30724
|
description: M(({ row: C }) => [
|
|
@@ -30713,10 +30726,10 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30713
30726
|
class: "plugin-description-cell",
|
|
30714
30727
|
"data-testid": "plugin-catalog-list-view-description",
|
|
30715
30728
|
title: C.description
|
|
30716
|
-
}, ne(C.description), 9,
|
|
30729
|
+
}, ne(C.description), 9, kF)
|
|
30717
30730
|
]),
|
|
30718
30731
|
action: M(({ row: C }) => [
|
|
30719
|
-
W("div",
|
|
30732
|
+
W("div", EF, [
|
|
30720
30733
|
I(w, {
|
|
30721
30734
|
appearance: "tertiary",
|
|
30722
30735
|
"data-testid": "plugin-catalog-list-view-configure-btn",
|
|
@@ -30733,7 +30746,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30733
30746
|
"more-actions": M(({ row: C }) => {
|
|
30734
30747
|
var T;
|
|
30735
30748
|
return [
|
|
30736
|
-
(T = C.plugin) != null && T.customPluginType ? (S(), te("div",
|
|
30749
|
+
(T = C.plugin) != null && T.customPluginType ? (S(), te("div", CF, [
|
|
30737
30750
|
I(N, {
|
|
30738
30751
|
appearance: "tertiary",
|
|
30739
30752
|
class: "actions-trigger",
|
|
@@ -30792,17 +30805,17 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30792
30805
|
], 64);
|
|
30793
30806
|
};
|
|
30794
30807
|
}
|
|
30795
|
-
}),
|
|
30808
|
+
}), AF = /* @__PURE__ */ Se(xF, [["__scopeId", "data-v-9d6526b5"]]), SF = {
|
|
30796
30809
|
class: "plugin-catalog",
|
|
30797
30810
|
"data-testid": "plugin-catalog"
|
|
30798
|
-
},
|
|
30811
|
+
}, IF = {
|
|
30799
30812
|
class: "plugin-filter",
|
|
30800
30813
|
"data-testid": "plugin-filter"
|
|
30801
|
-
},
|
|
30814
|
+
}, TF = { class: "plugin-filter-title" }, OF = { class: "featured-title" }, NF = { class: "plugin-featured-filter" }, $F = ["data-testid"], PF = { class: "group-title" }, RF = { class: "plugin-type-filter" }, MF = ["data-testid"], LF = { class: "plugins-container" }, FF = { class: "plugins-filter-input-container" }, KF = { class: "icon-container" }, jF = { key: 0 }, DF = {
|
|
30802
30815
|
key: 3,
|
|
30803
30816
|
"aria-live": "polite",
|
|
30804
30817
|
class: "plugins-results-container"
|
|
30805
|
-
},
|
|
30818
|
+
}, qF = /* @__PURE__ */ ge({
|
|
30806
30819
|
__name: "PluginCatalog",
|
|
30807
30820
|
props: {
|
|
30808
30821
|
config: {},
|
|
@@ -30814,7 +30827,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30814
30827
|
emits: ["loading", "plugin-clicked", "delete-custom:success"],
|
|
30815
30828
|
setup(e, { emit: t }) {
|
|
30816
30829
|
var V;
|
|
30817
|
-
const n = t, { i18n: { t: i } } = it.useI18n(), { pluginMetaData: o } = it.usePluginMetaData(), { getMessageFromError: a } = vi(), { sortAlpha: r, objectsAreEqual: s } = Ia(), l = e, { axiosInstance: c } = qn((V = l.config) == null ? void 0 : V.axiosRequestConfig), p =
|
|
30830
|
+
const n = t, { i18n: { t: i } } = it.useI18n(), { pluginMetaData: o } = it.usePluginMetaData(), { getMessageFromError: a } = vi(), { sortAlpha: r, objectsAreEqual: s } = Ia(), l = e, { axiosInstance: c } = qn((V = l.config) == null ? void 0 : V.axiosRequestConfig), p = ft("filter-input"), d = oe(""), f = oe(!1), m = oe(!1), h = oe(Object.fromEntries(Ns.concat($s).map((q) => [q, !1]))), g = oe(!0), y = oe(!1), v = oe(""), b = oe([]), E = oe([]), _ = oe({}), k = oe([]), w = oe(!1), x = B(() => w.value ? Ih : Th), N = B(() => {
|
|
30818
30831
|
var K;
|
|
30819
30832
|
let q = `${l.config.apiBaseUrl}${_t.select[l.config.app].availablePlugins}`;
|
|
30820
30833
|
return l.config.app === "konnect" ? q = q.replace(/{controlPlaneId}/gi, l.config.controlPlaneId || "") : l.config.app === "kongManager" && (q = ((K = l.config.gatewayInfo) == null ? void 0 : K.edition) === "community" ? `${l.config.apiBaseUrl}${_t.select[l.config.app].availablePluginsForOss}` : q.replace(/\/{workspace}/gi, l.config.workspace ? `/${l.config.workspace}` : "")), q;
|
|
@@ -30927,9 +30940,9 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30927
30940
|
y.value || (_.value = Y()), g.value = !1;
|
|
30928
30941
|
}), (q, K) => {
|
|
30929
30942
|
const F = ue("KButton"), R = ue("KCheckbox"), P = ue("KBadge"), H = ue("KCollapse"), Z = ue("KInput"), U = ue("KSkeletonBox"), O = ue("KSkeleton"), D = ue("KEmptyState");
|
|
30930
|
-
return S(), te("div",
|
|
30931
|
-
W("div",
|
|
30932
|
-
W("div",
|
|
30943
|
+
return S(), te("div", SF, [
|
|
30944
|
+
W("div", IF, [
|
|
30945
|
+
W("div", TF, [
|
|
30933
30946
|
be(ne(u(i)("plugins.select.filter.title")) + " ", 1),
|
|
30934
30947
|
I(F, {
|
|
30935
30948
|
appearance: "tertiary",
|
|
@@ -30949,10 +30962,10 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30949
30962
|
"onUpdate:modelValue": K[0] || (K[0] = (z) => f.value = z)
|
|
30950
30963
|
}, {
|
|
30951
30964
|
title: M(() => [
|
|
30952
|
-
W("div",
|
|
30965
|
+
W("div", OF, ne(u(i)("plugins.select.filter.featured")), 1)
|
|
30953
30966
|
]),
|
|
30954
30967
|
default: M(() => [
|
|
30955
|
-
W("div",
|
|
30968
|
+
W("div", NF, [
|
|
30956
30969
|
(S(!0), te(Le, null, Je(u(Ns), (z) => (S(), te("div", {
|
|
30957
30970
|
key: z,
|
|
30958
30971
|
class: "plugin-filter-item",
|
|
@@ -30972,7 +30985,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30972
30985
|
}),
|
|
30973
30986
|
_: 2
|
|
30974
30987
|
}, 1024)
|
|
30975
|
-
], 8,
|
|
30988
|
+
], 8, $F))), 128))
|
|
30976
30989
|
])
|
|
30977
30990
|
]),
|
|
30978
30991
|
_: 1
|
|
@@ -30982,10 +30995,10 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
30982
30995
|
"onUpdate:modelValue": K[1] || (K[1] = (z) => m.value = z)
|
|
30983
30996
|
}, {
|
|
30984
30997
|
title: M(() => [
|
|
30985
|
-
W("div",
|
|
30998
|
+
W("div", PF, ne(u(i)("plugins.select.filter.type")), 1)
|
|
30986
30999
|
]),
|
|
30987
31000
|
default: M(() => [
|
|
30988
|
-
W("div",
|
|
31001
|
+
W("div", RF, [
|
|
30989
31002
|
(S(!0), te(Le, null, Je(u($s), (z) => (S(), te("div", {
|
|
30990
31003
|
key: z,
|
|
30991
31004
|
class: "plugin-filter-item",
|
|
@@ -31009,14 +31022,14 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
31009
31022
|
}),
|
|
31010
31023
|
_: 2
|
|
31011
31024
|
}, 1032, ["data-testid"])
|
|
31012
|
-
], 8,
|
|
31025
|
+
], 8, MF))), 128))
|
|
31013
31026
|
])
|
|
31014
31027
|
]),
|
|
31015
31028
|
_: 1
|
|
31016
31029
|
}, 8, ["modelValue"])
|
|
31017
31030
|
]),
|
|
31018
|
-
W("div",
|
|
31019
|
-
W("div",
|
|
31031
|
+
W("div", LF, [
|
|
31032
|
+
W("div", FF, [
|
|
31020
31033
|
I(Z, {
|
|
31021
31034
|
ref: "filter-input",
|
|
31022
31035
|
modelValue: d.value,
|
|
@@ -31027,7 +31040,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
31027
31040
|
placeholder: u(i)("search.placeholder.search_plugins"),
|
|
31028
31041
|
type: "search"
|
|
31029
31042
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
31030
|
-
W("div",
|
|
31043
|
+
W("div", KF, [
|
|
31031
31044
|
(S(), J(At(x.value), {
|
|
31032
31045
|
class: "plugins-filter-icon",
|
|
31033
31046
|
color: u(wy),
|
|
@@ -31035,7 +31048,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
31035
31048
|
}, null, 8, ["color"]))
|
|
31036
31049
|
])
|
|
31037
31050
|
]),
|
|
31038
|
-
g.value ? (S(), te("section",
|
|
31051
|
+
g.value ? (S(), te("section", jF, [
|
|
31039
31052
|
I(U, {
|
|
31040
31053
|
class: "plugins-skeleton-title",
|
|
31041
31054
|
width: "10"
|
|
@@ -31065,13 +31078,13 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
31065
31078
|
W("h5", null, ne(u(i)("search.no_results", { filter: d.value })), 1)
|
|
31066
31079
|
]),
|
|
31067
31080
|
_: 1
|
|
31068
|
-
})) : (S(), te("section",
|
|
31069
|
-
w.value ? (S(), J(
|
|
31081
|
+
})) : (S(), te("section", DF, [
|
|
31082
|
+
w.value ? (S(), J(AF, {
|
|
31070
31083
|
key: 0,
|
|
31071
31084
|
config: e.config,
|
|
31072
31085
|
"plugin-list": C.value,
|
|
31073
31086
|
"onDelete:success": K[4] || (K[4] = (z) => q.$emit("delete-custom:success", z))
|
|
31074
|
-
}, null, 8, ["config", "plugin-list"])) : (S(), J(
|
|
31087
|
+
}, null, 8, ["config", "plugin-list"])) : (S(), J(bF, {
|
|
31075
31088
|
key: 1,
|
|
31076
31089
|
config: e.config,
|
|
31077
31090
|
"plugin-list": C.value,
|
|
@@ -31083,16 +31096,16 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
31083
31096
|
]);
|
|
31084
31097
|
};
|
|
31085
31098
|
}
|
|
31086
|
-
}),
|
|
31099
|
+
}), RK = /* @__PURE__ */ Se(qF, [["__scopeId", "data-v-e844c980"]]), BF = {
|
|
31087
31100
|
key: 1,
|
|
31088
31101
|
class: "datakit-config-card-canvas"
|
|
31089
|
-
},
|
|
31102
|
+
}, UF = {
|
|
31090
31103
|
class: "config-card-details-label",
|
|
31091
31104
|
"data-testid": "datakit-configuration-label"
|
|
31092
|
-
},
|
|
31105
|
+
}, VF = {
|
|
31093
31106
|
class: "config-card-details-value datakit-canvas-container",
|
|
31094
31107
|
"data-testid": "datakit-configuration-canvas"
|
|
31095
|
-
},
|
|
31108
|
+
}, GF = { class: "canvas-wrapper" }, zF = /* @__PURE__ */ ge({
|
|
31096
31109
|
__name: "DatakitConfigCardCanvas",
|
|
31097
31110
|
props: {
|
|
31098
31111
|
pluginData: {},
|
|
@@ -31105,8 +31118,8 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
31105
31118
|
});
|
|
31106
31119
|
return Um(e.pluginData), (n, i) => {
|
|
31107
31120
|
const o = ue("KLabel");
|
|
31108
|
-
return t.value ? (S(), te("div",
|
|
31109
|
-
W("div",
|
|
31121
|
+
return t.value ? (S(), te("div", BF, [
|
|
31122
|
+
W("div", UF, [
|
|
31110
31123
|
I(o, null, {
|
|
31111
31124
|
default: M(() => [...i[0] || (i[0] = [
|
|
31112
31125
|
W("span", { class: "label-content" }, " Nodes ", -1)
|
|
@@ -31114,8 +31127,8 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
31114
31127
|
_: 1
|
|
31115
31128
|
})
|
|
31116
31129
|
]),
|
|
31117
|
-
W("div",
|
|
31118
|
-
W("div",
|
|
31130
|
+
W("div", VF, [
|
|
31131
|
+
W("div", GF, [
|
|
31119
31132
|
I(fu, {
|
|
31120
31133
|
class: "datakit-flow-panels",
|
|
31121
31134
|
mode: "view",
|
|
@@ -31129,7 +31142,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
31129
31142
|
}, null, 8, ["item"]));
|
|
31130
31143
|
};
|
|
31131
31144
|
}
|
|
31132
|
-
}),
|
|
31145
|
+
}), HF = /* @__PURE__ */ Se(zF, [["__scopeId", "data-v-9a3ef1ac"]]), WF = { class: "kong-ui-entity-plugin-config-card" }, YF = { class: "name-cell-wrapper" }, JF = { class: "info-name" }, XF = { key: 0 }, ZF = { key: 0 }, QF = { key: 0 }, eK = { key: 0 }, tK = { key: 0 }, Is = "config", nK = /* @__PURE__ */ ge({
|
|
31133
31146
|
__name: "PluginConfigCard",
|
|
31134
31147
|
props: {
|
|
31135
31148
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -31269,7 +31282,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
31269
31282
|
}
|
|
31270
31283
|
}), (k, w) => {
|
|
31271
31284
|
const x = ue("KSkeleton"), N = ue("KEmptyState"), j = ue("KCopy");
|
|
31272
|
-
return S(), te("div",
|
|
31285
|
+
return S(), te("div", WF, [
|
|
31273
31286
|
b.value ? (S(), J(x, {
|
|
31274
31287
|
key: 0,
|
|
31275
31288
|
"data-testid": "plugin-config-card-loader",
|
|
@@ -31301,13 +31314,13 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
31301
31314
|
onLoading: w[2] || (w[2] = (A) => k.$emit("loading", A))
|
|
31302
31315
|
}, ct({
|
|
31303
31316
|
name: M((A) => [
|
|
31304
|
-
W("div",
|
|
31317
|
+
W("div", YF, [
|
|
31305
31318
|
I(u(Ni), {
|
|
31306
31319
|
class: "plugin-icon",
|
|
31307
31320
|
name: u(s)("rowValue", A),
|
|
31308
31321
|
size: 24
|
|
31309
31322
|
}, null, 8, ["name"]),
|
|
31310
|
-
W("span",
|
|
31323
|
+
W("span", JF, ne(u(a).getDisplayName(u(s)("rowValue", A))), 1)
|
|
31311
31324
|
])
|
|
31312
31325
|
]),
|
|
31313
31326
|
consumer: M((A) => [
|
|
@@ -31324,7 +31337,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
31324
31337
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(s)("row", A).label }),
|
|
31325
31338
|
"data-testid": "consumer-copy-uuid",
|
|
31326
31339
|
text: u(s)("rowValue", A).id
|
|
31327
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), te("span",
|
|
31340
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), te("span", XF, "–"))
|
|
31328
31341
|
]),
|
|
31329
31342
|
route: M((A) => [
|
|
31330
31343
|
u(s)("rowValue", A) ? e.showIdAsLink ? (S(), J(u(Bo), {
|
|
@@ -31340,7 +31353,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
31340
31353
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(s)("row", A).label }),
|
|
31341
31354
|
"data-testid": "route-copy-uuid",
|
|
31342
31355
|
text: u(s)("rowValue", A).id
|
|
31343
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), te("span",
|
|
31356
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), te("span", ZF, "–"))
|
|
31344
31357
|
]),
|
|
31345
31358
|
service: M((A) => [
|
|
31346
31359
|
u(s)("rowValue", A) ? e.showIdAsLink ? (S(), J(u(Bo), {
|
|
@@ -31356,7 +31369,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
31356
31369
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(s)("row", A).label }),
|
|
31357
31370
|
"data-testid": "service-copy-uuid",
|
|
31358
31371
|
text: u(s)("rowValue", A).id
|
|
31359
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), te("span",
|
|
31372
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), te("span", QF, "–"))
|
|
31360
31373
|
]),
|
|
31361
31374
|
consumer_group: M((A) => [
|
|
31362
31375
|
u(s)("rowValue", A) ? e.showIdAsLink ? (S(), J(u(Bo), {
|
|
@@ -31372,7 +31385,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
31372
31385
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(s)("row", A).label }),
|
|
31373
31386
|
"data-testid": "consumer-group-copy-uuid",
|
|
31374
31387
|
text: u(s)("rowValue", A).id
|
|
31375
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), te("span",
|
|
31388
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), te("span", eK, "–"))
|
|
31376
31389
|
]),
|
|
31377
31390
|
partials: M((A) => {
|
|
31378
31391
|
var C, T, $, L, Y, V, q, K, F;
|
|
@@ -31393,7 +31406,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
31393
31406
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(s)("row", A).label }),
|
|
31394
31407
|
"data-testid": "partial-copy-uuid",
|
|
31395
31408
|
text: (F = u(s)("rowValue", A)) == null ? void 0 : F[0].id
|
|
31396
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), te("span",
|
|
31409
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), te("span", tK, "–"))
|
|
31397
31410
|
];
|
|
31398
31411
|
}),
|
|
31399
31412
|
_: 2
|
|
@@ -31401,7 +31414,7 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
31401
31414
|
e.config.pluginType === "datakit" && e.config.app === "konnect" ? {
|
|
31402
31415
|
name: "config-card-item-nodes",
|
|
31403
31416
|
fn: M((A) => [
|
|
31404
|
-
I(
|
|
31417
|
+
I(HF, {
|
|
31405
31418
|
item: A.row,
|
|
31406
31419
|
"plugin-data": A.record
|
|
31407
31420
|
}, null, 8, ["item", "plugin-data"])
|
|
@@ -31412,30 +31425,30 @@ const nL = { class: "kong-ui-entities-plugin-form" }, iL = {
|
|
|
31412
31425
|
]);
|
|
31413
31426
|
};
|
|
31414
31427
|
}
|
|
31415
|
-
}),
|
|
31428
|
+
}), MK = /* @__PURE__ */ Se(nK, [["__scopeId", "data-v-2db52b49"]]), { usePluginMetaData: LK, useProvideExperimentalFreeForms: FK } = it;
|
|
31416
31429
|
export {
|
|
31417
|
-
|
|
31430
|
+
OK as CustomPluginForm,
|
|
31418
31431
|
Wf as EXPERIMENTAL_FREE_FORM_PROVIDER,
|
|
31419
31432
|
io as EntityTypeIdField,
|
|
31420
31433
|
Br as FEATURE_FLAGS,
|
|
31421
31434
|
Vo as FREE_FORM_SCHEMA_MAP_KEY,
|
|
31422
|
-
|
|
31423
|
-
|
|
31435
|
+
RK as PluginCatalog,
|
|
31436
|
+
MK as PluginConfigCard,
|
|
31424
31437
|
Ns as PluginFeaturedArray,
|
|
31425
|
-
|
|
31426
|
-
|
|
31438
|
+
NK as PluginForm,
|
|
31439
|
+
UK as PluginGroup,
|
|
31427
31440
|
xu as PluginGroupArray,
|
|
31428
31441
|
$s as PluginGroupArraySortedAlphabetically,
|
|
31429
|
-
|
|
31430
|
-
|
|
31442
|
+
DK as PluginIcon,
|
|
31443
|
+
$K as PluginList,
|
|
31431
31444
|
Os as PluginPartialType,
|
|
31432
|
-
|
|
31433
|
-
|
|
31445
|
+
VK as PluginScope,
|
|
31446
|
+
PK as PluginSelect,
|
|
31434
31447
|
Ag as PluginSelectCard,
|
|
31435
31448
|
hd as PluginSelectGrid,
|
|
31436
31449
|
IE as TOASTER_PROVIDER,
|
|
31437
|
-
|
|
31450
|
+
qK as getPluginIconURL,
|
|
31438
31451
|
_t as pluginEndpoints,
|
|
31439
|
-
|
|
31440
|
-
|
|
31452
|
+
LK as usePluginMetaData,
|
|
31453
|
+
FK as useProvideExperimentalFreeForms
|
|
31441
31454
|
};
|