@kong-ui-public/entities-plugins 9.234.0 → 9.235.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.
- package/dist/entities-plugins.es.js +649 -627
- package/dist/entities-plugins.umd.js +18 -18
- package/dist/types/components/free-form/plugins/hmac-auth.d.ts +3 -0
- package/dist/types/components/free-form/plugins/hmac-auth.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/key-auth-enc.d.ts +3 -0
- package/dist/types/components/free-form/plugins/key-auth-enc.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/ldap-auth-advanced.d.ts +3 -0
- package/dist/types/components/free-form/plugins/ldap-auth-advanced.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/ldap-auth.d.ts +3 -0
- package/dist/types/components/free-form/plugins/ldap-auth.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/oauth2-introspection.d.ts +3 -0
- package/dist/types/components/free-form/plugins/oauth2-introspection.d.ts.map +1 -0
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { toValue as bt, warn as Ym, onScopeDispose as Jm, inject as pt, openBlock as S, createElementBlock as le, createElementVNode as ee, computed as L, ref as me, nextTick as an, shallowRef as pn, watch as Xe, provide as Ft, readonly as td, defineComponent as Pe, normalizeClass as yt, toDisplayString as ue, createCommentVNode as ye, unref as u, withModifiers as Kt, normalizeStyle as Di, Fragment as
|
|
1
|
+
import { toValue as bt, warn as Ym, onScopeDispose as Jm, inject as pt, openBlock as S, createElementBlock as le, createElementVNode as ee, computed as L, ref as me, nextTick as an, shallowRef as pn, watch as Xe, provide as Ft, readonly as td, defineComponent as Pe, normalizeClass as yt, toDisplayString as ue, createCommentVNode as ye, unref as u, withModifiers as Kt, normalizeStyle as Di, Fragment as Ge, renderList as et, createBlock as Z, withCtx as N, resolveDynamicComponent as jt, useCssVars as Ea, resolveComponent as xe, createSlots as vt, createTextVNode as Le, useSlots as nn, createVNode as C, renderSlot as Qe, useTemplateRef as xt, mergeProps as We, useModel as hi, onMounted as Cn, mergeModels as yi, toRef as Ct, isRef as ul, markRaw as Xm, Transition as Zm, onBeforeUnmount as xa, reactive as xi, toRaw as Tr, onUnmounted as $r, useAttrs as ri, normalizeProps as En, guardReactiveProps as zn, createPropsRestProxy as Ln, withDirectives as Qt, vShow as en, withKeys as hu, useId as Sa, onBeforeMount as Hi, Teleport as Or, watchEffect as nd, shallowReactive as Qm } from "vue";
|
|
2
2
|
import { NetworkIcon as eg, CachedIcon as tg, ArrowSplitIcon as id, GatewayIcon as ng, CodeblockIcon as cl, DataObjectIcon as ig, CodeIcon as og, StackIcon as ag, DeployIcon as od, EditSquareIcon as rg, KeyIcon as dl, CloudIcon as ja, WarningIcon as sg, MoreIcon as Io, UnfoldMoreIcon as yu, UnfoldLessIcon as vu, AddIcon as mn, RemoveIcon as Pr, FullscreenIcon as lg, AutoLayoutIcon as ug, CloseIcon as Nr, TrashIcon as ad, ChevronRightIcon as rd, InfoIcon as cg, TeamIcon as dg, AccountTreeIcon as pg, BookIcon as $s, SparklesIcon as fg, ChevronDownIcon as _u, ArrowLeftIcon as mg, ChevronDoubleLeftIcon as gg, ChevronDoubleRightIcon as hg, UndoIcon as yg, RedoIcon as vg, ExternalLinkIcon as _g, DatabaseIcon as bg, ExpandIcon as wg, DesignIcon as kg, ClearIcon as Da, CheckCircleIcon as Cg, PlugIcon as Eg, TransformationIcon as xg, TrafficIcon as Sg, RuntimeServerlessIcon as Ag, SecurityIcon as Ig, MoneyIcon as Tg, ServiceDocumentIcon as $g, LockIcon as Og, AnalyticsIcon as Pg, BotIcon as Ng, PopularIcon as Rg, GridIcon as Mg, ListIcon as Lg } from "@kong/icons";
|
|
3
3
|
import { KTooltip as Gn, KDropdown as sd, KButton as Vn, KDropdownItem as nr, KTextArea as Fg, KInput as Kg, KCheckbox as jg, KCard as cr, KMultiselect as Dg, KSelect as qg, KLabel as gn, KCollapse as ld, KInputSwitch as Bg, KSegmentedControl as ud, KRadio as ii, KSkeletonBox as Ug, KEmptyState as Vg, KAlert as cd, KPrompt as zg, KModal as Gg, KSlideout as Hg, KExternalLink as bu } from "@kong/kongponents";
|
|
4
4
|
import { Background as Wg } from "@vue-flow/background";
|
|
@@ -11,9 +11,9 @@ import "@vue-flow/core/dist/style.css";
|
|
|
11
11
|
import "@vue-flow/core/dist/theme-default.css";
|
|
12
12
|
import { ConfigurationSchemaType as sn, useAxios as xn, useStringHelpers as fl, useErrors as $i, EntityFormBlock as Bn, PLUGIN_FORM_LAYOUT_STATE as ml, SupportedEntityType as ti, EntityBaseForm as md, useHelpers as Aa, EntityBaseFormType as Oi, useBaseFormDeckOptions as nh, DeckCodeBlock as ih, TerraformCodeBlock as oh, YamlCodeBlock as ah, JsonCodeBlock as rh, useTableState as sh, useGatewayFeatureSupported as lh, useFetcher as uh, useDeleteUrlBuilder as ch, FetcherStatus as dh, EntityBaseTable as ph, PermissionsWrapper as Pi, TableTags as fh, EntityFilter as mh, EntityToggleModal as gh, EntityDeleteModal as gd, EntityTypes as hd, ConfigCardItem as hh, ConfigurationSchemaSection as to, useSchemaProvider as yh, EntityBaseConfigCard as vh, InternalLinkItem as Ho } from "@kong-ui-public/entities-shared";
|
|
13
13
|
import { PluginIcon as qi } from "@kong-ui-public/entities-plugins-icon";
|
|
14
|
-
import { PluginIcon as
|
|
14
|
+
import { PluginIcon as RK, getPluginIconURL as MK } from "@kong-ui-public/entities-plugins-icon";
|
|
15
15
|
import { PluginGroup as nt, PLUGIN_GROUP_AND_SCOPE_MAP as Re, PluginScope as Lt, GATEWAY_VERSION_TIMESTAMP_MAP as _h } from "@kong-ui-public/entities-plugins-metadata";
|
|
16
|
-
import { PluginGroup as
|
|
16
|
+
import { PluginGroup as FK, PluginScope as KK } from "@kong-ui-public/entities-plugins-metadata";
|
|
17
17
|
import { FORMS_CONFIG as Yn, composables as bh, AUTOFILL_SLOT as Jn, FORMS_API_KEY as yd, FieldScopedEntitySelect as wh, AUTOFILL_SLOT_NAME as Pn, getSharedFormName as vd, customFields as Os, sharedForms as kh, VueFormGenerator as Ch } from "@kong-ui-public/forms";
|
|
18
18
|
import { marked as or } from "marked";
|
|
19
19
|
import Eh from "dompurify";
|
|
@@ -6297,7 +6297,7 @@ const [qp, z1] = pl(
|
|
|
6297
6297
|
};
|
|
6298
6298
|
}
|
|
6299
6299
|
);
|
|
6300
|
-
function
|
|
6300
|
+
function Ut() {
|
|
6301
6301
|
const e = z1();
|
|
6302
6302
|
if (!e)
|
|
6303
6303
|
throw new Error("Editor state is not provided. Ensure you are using provideEditorStore in a parent component.");
|
|
@@ -6310,7 +6310,7 @@ function G1(e) {
|
|
|
6310
6310
|
layoutOptions: i,
|
|
6311
6311
|
nodes: o,
|
|
6312
6312
|
edges: r
|
|
6313
|
-
} = e, { findNode: a } = bo(), { state: l, branchGroups: s, getNodeById: d, moveNode: f, commit: c } =
|
|
6313
|
+
} = e, { findNode: a } = bo(), { state: l, branchGroups: s, getNodeById: d, moveNode: f, commit: c } = Ut(), { getNodeDepth: p, isGroupId: m, groupsByOwner: h } = s, {
|
|
6314
6314
|
isBranchEdgeId: y,
|
|
6315
6315
|
updateGroupLayout: _,
|
|
6316
6316
|
translateGroupTree: v,
|
|
@@ -6587,7 +6587,7 @@ function W1({
|
|
|
6587
6587
|
flowId: n,
|
|
6588
6588
|
draggingId: i
|
|
6589
6589
|
}) {
|
|
6590
|
-
const { findNode: o } = bo(n), r =
|
|
6590
|
+
const { findNode: o } = bo(n), r = Ut(), {
|
|
6591
6591
|
state: a,
|
|
6592
6592
|
groupMapById: l,
|
|
6593
6593
|
getNodeById: s,
|
|
@@ -6853,7 +6853,7 @@ function Up() {
|
|
|
6853
6853
|
return e;
|
|
6854
6854
|
}
|
|
6855
6855
|
function J1(e) {
|
|
6856
|
-
const { readonly: t, flowId: n } = e, i = bo(n), { onNodesChange: o, onEdgesChange: r, onPaneClick: a, findEdge: l } = i, { disconnectEdge: s, commit: d, portalSelection: f, selectPortalEdge: c } =
|
|
6856
|
+
const { readonly: t, flowId: n } = e, i = bo(n), { onNodesChange: o, onEdgesChange: r, onPaneClick: a, findEdge: l } = i, { disconnectEdge: s, commit: d, portalSelection: f, selectPortalEdge: c } = Ut();
|
|
6857
6857
|
o((p) => {
|
|
6858
6858
|
p.some((m) => m.type === "select" && "selected" in m && m.selected) && c(void 0);
|
|
6859
6859
|
}), r((p) => {
|
|
@@ -6903,7 +6903,7 @@ const [Z1, Q1] = pl(
|
|
|
6903
6903
|
gaps: l = Ci.gaps
|
|
6904
6904
|
} = i, {
|
|
6905
6905
|
nodes: s = Ci.gaps.nodes
|
|
6906
|
-
} = l, d = bo(n), f =
|
|
6906
|
+
} = l, d = bo(n), f = Ut(), c = Bp(), p = Rl(), { i18n: { t: m } } = it(), {
|
|
6907
6907
|
findNode: h,
|
|
6908
6908
|
fitView: y,
|
|
6909
6909
|
deleteKeyCode: _,
|
|
@@ -7337,7 +7337,7 @@ const aC = {
|
|
|
7337
7337
|
setup(e) {
|
|
7338
7338
|
const t = Number.parseFloat(ly) || 0, n = {
|
|
7339
7339
|
target: "body"
|
|
7340
|
-
}, { portalSelection: i, selectPortalEdge: o } =
|
|
7340
|
+
}, { portalSelection: i, selectPortalEdge: o } = Ut(), r = me(!1), a = L(() => {
|
|
7341
7341
|
const h = i.value;
|
|
7342
7342
|
return h ? e.targets.some((y) => y.edgeId === h) : !1;
|
|
7343
7343
|
}), l = L(() => e.expanded !== void 0 ? e.expanded || a.value : r.value || a.value), s = () => pc * e.targets.length + t * (e.targets.length - 1), d = L(() => ({
|
|
@@ -7386,7 +7386,7 @@ const aC = {
|
|
|
7386
7386
|
class: "target-boxes",
|
|
7387
7387
|
style: Di(d.value)
|
|
7388
7388
|
}, [
|
|
7389
|
-
(S(!0), le(
|
|
7389
|
+
(S(!0), le(Ge, null, et(p.value, (_, v) => (S(), Z(u(Gn), {
|
|
7390
7390
|
key: _.key,
|
|
7391
7391
|
class: "target-box-wrapper",
|
|
7392
7392
|
"kpop-attributes": n,
|
|
@@ -7494,7 +7494,7 @@ const aC = {
|
|
|
7494
7494
|
removeNode: d,
|
|
7495
7495
|
propertiesPanelOpen: f,
|
|
7496
7496
|
branchGroups: c
|
|
7497
|
-
} =
|
|
7497
|
+
} = Ut(), p = L(() => Oo(e.data.type)), m = L(() => e.data.fields.input.length > 0), h = L(() => e.data.fields.output.length > 0), y = L(
|
|
7498
7498
|
() => m.value && o(e.data.id).every((z) => z.targetField === void 0)
|
|
7499
7499
|
), _ = L(
|
|
7500
7500
|
() => h.value && r(e.data.id).every((z) => z.sourceField === void 0)
|
|
@@ -7696,7 +7696,7 @@ const aC = {
|
|
|
7696
7696
|
onClick: H[2] || (H[2] = Kt((U) => X("input"), ["stop"]))
|
|
7697
7697
|
}, [
|
|
7698
7698
|
H[4] || (H[4] = ee("div", { class: "text" }, " inputs ", -1)),
|
|
7699
|
-
m.value ? (S(), le(
|
|
7699
|
+
m.value ? (S(), le(Ge, { key: 0 }, [
|
|
7700
7700
|
v.value ? ye("", !0) : (S(), Z(u(yu), {
|
|
7701
7701
|
key: 0,
|
|
7702
7702
|
size: `var(--kui-icon-size-20, ${u(qa)})`
|
|
@@ -7716,7 +7716,7 @@ const aC = {
|
|
|
7716
7716
|
}, null, 8, ["color", "position"])) : ye("", !0)
|
|
7717
7717
|
])
|
|
7718
7718
|
]),
|
|
7719
|
-
m.value && v.value ? (S(!0), le(
|
|
7719
|
+
m.value && v.value ? (S(!0), le(Ge, { key: 0 }, et(e.data.fields.input, (U, $) => (S(), le("div", {
|
|
7720
7720
|
key: `inputs-${U.id}`,
|
|
7721
7721
|
class: "handle indented"
|
|
7722
7722
|
}, [
|
|
@@ -7754,7 +7754,7 @@ const aC = {
|
|
|
7754
7754
|
onClick: H[3] || (H[3] = Kt((U) => X("output"), ["stop"]))
|
|
7755
7755
|
}, [
|
|
7756
7756
|
H[5] || (H[5] = ee("div", { class: "text" }, " outputs ", -1)),
|
|
7757
|
-
h.value ? (S(), le(
|
|
7757
|
+
h.value ? (S(), le(Ge, { key: 0 }, [
|
|
7758
7758
|
b.value ? ye("", !0) : (S(), Z(u(yu), {
|
|
7759
7759
|
key: 0,
|
|
7760
7760
|
size: `var(--kui-icon-size-20, ${u(qa)})`
|
|
@@ -7785,7 +7785,7 @@ const aC = {
|
|
|
7785
7785
|
targets: F.value.get("output")
|
|
7786
7786
|
}, null, 8, ["reversed", "targets"])) : ye("", !0)
|
|
7787
7787
|
]),
|
|
7788
|
-
h.value && b.value ? (S(!0), le(
|
|
7788
|
+
h.value && b.value ? (S(!0), le(Ge, { key: 0 }, et(e.data.fields.output, (U, $) => (S(), le("div", {
|
|
7789
7789
|
key: `outputs-${U.id}`,
|
|
7790
7790
|
class: "handle indented"
|
|
7791
7791
|
}, [
|
|
@@ -7811,7 +7811,7 @@ const aC = {
|
|
|
7811
7811
|
]))), 128)) : ye("", !0)
|
|
7812
7812
|
], 2)) : ye("", !0),
|
|
7813
7813
|
E.value ? (S(), le("div", EC, [
|
|
7814
|
-
(S(!0), le(
|
|
7814
|
+
(S(!0), le(Ge, null, et(x.value, (U) => (S(), le("div", {
|
|
7815
7815
|
key: `branch-${U}`,
|
|
7816
7816
|
class: "handle"
|
|
7817
7817
|
}, [
|
|
@@ -8042,7 +8042,7 @@ const aC = {
|
|
|
8042
8042
|
"show-zoom": !1
|
|
8043
8043
|
}, {
|
|
8044
8044
|
default: N(() => [
|
|
8045
|
-
(S(!0), le(
|
|
8045
|
+
(S(!0), le(Ge, null, et(D.value, (_e) => (S(), Z(u(Gn), {
|
|
8046
8046
|
key: _e.name,
|
|
8047
8047
|
placement: "right",
|
|
8048
8048
|
text: u(l)(`plugins.free-form.datakit.flow_editor.actions.${_e.name}`)
|
|
@@ -10836,7 +10836,7 @@ function HE(e) {
|
|
|
10836
10836
|
};
|
|
10837
10837
|
}
|
|
10838
10838
|
const Qs = Symbol("ff-render-rule-exact-match");
|
|
10839
|
-
function
|
|
10839
|
+
function uK(e) {
|
|
10840
10840
|
return { [Qs]: e };
|
|
10841
10841
|
}
|
|
10842
10842
|
function WE(e, t) {
|
|
@@ -11617,7 +11617,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
11617
11617
|
key: "2"
|
|
11618
11618
|
} : void 0
|
|
11619
11619
|
]), 1040, ["id", "data-1p-ignore", "data-autofocus", "data-testid", "error", "error-message", "help", "model-value", "multiline", "placeholder"]),
|
|
11620
|
-
e.inlineVaultPicker ? ye("", !0) : (S(), le(
|
|
11620
|
+
e.inlineVaultPicker ? ye("", !0) : (S(), le(Ge, { key: 0 }, [
|
|
11621
11621
|
u(m) && h.value ? (S(), Z(jt(u(m)), {
|
|
11622
11622
|
key: 0,
|
|
11623
11623
|
schema: y.value,
|
|
@@ -11864,12 +11864,12 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
11864
11864
|
_: 1
|
|
11865
11865
|
}, 8, ["aria-label", "data-testid"])) : ye("", !0)
|
|
11866
11866
|
], 8, _x)) : ye("", !0),
|
|
11867
|
-
y.value !== "tabs" ? (S(), le(
|
|
11867
|
+
y.value !== "tabs" ? (S(), le(Ge, { key: 1 }, [
|
|
11868
11868
|
ee("div", {
|
|
11869
11869
|
class: "ff-array-field-container",
|
|
11870
11870
|
"data-testid": `ff-array-basic-container-${d.path.value}`
|
|
11871
11871
|
}, [
|
|
11872
|
-
(S(!0), le(
|
|
11872
|
+
(S(!0), le(Ge, null, et(m.value, (X, M) => (S(), Z(u(_), {
|
|
11873
11873
|
key: u(h)(X, M),
|
|
11874
11874
|
class: yt(["ff-array-field-item", { "ff-array-field-item-card": y.value === "card" }]),
|
|
11875
11875
|
"data-index": M,
|
|
@@ -12193,7 +12193,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12193
12193
|
]);
|
|
12194
12194
|
};
|
|
12195
12195
|
}
|
|
12196
|
-
}),
|
|
12196
|
+
}), qt = /* @__PURE__ */ Ve(Tx, [["__scopeId", "data-v-b283cc11"]]), $x = ["data-testid"], Ox = ["innerHTML"], Px = /* @__PURE__ */ Pe({
|
|
12197
12197
|
inheritAttrs: !1,
|
|
12198
12198
|
__name: "JsonField",
|
|
12199
12199
|
props: {
|
|
@@ -12410,7 +12410,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12410
12410
|
} : void 0
|
|
12411
12411
|
]), 1040, ["data-testid", "required", "tooltip-attributes"])
|
|
12412
12412
|
], 8, Kx)) : ye("", !0),
|
|
12413
|
-
(S(!0), le(
|
|
12413
|
+
(S(!0), le(Ge, null, et(u(r), ([R, j], Q) => (S(), Z(jt(_.value), {
|
|
12414
12414
|
key: R,
|
|
12415
12415
|
class: yt(["ff-map-field-item", {
|
|
12416
12416
|
"ff-map-field-item-simple": m.value,
|
|
@@ -12499,16 +12499,16 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12499
12499
|
var o, r;
|
|
12500
12500
|
switch ((r = (o = n.schema) == null ? void 0 : o.value) == null ? void 0 : r.type) {
|
|
12501
12501
|
case "string":
|
|
12502
|
-
return "one_of" in n.schema.value ?
|
|
12502
|
+
return "one_of" in n.schema.value ? qt : Ze;
|
|
12503
12503
|
case "boolean":
|
|
12504
|
-
return "one_of" in n.schema.value ?
|
|
12504
|
+
return "one_of" in n.schema.value ? qt : kn;
|
|
12505
12505
|
case "number":
|
|
12506
12506
|
case "integer":
|
|
12507
|
-
return "one_of" in n.schema.value ?
|
|
12507
|
+
return "one_of" in n.schema.value ? qt : Yt;
|
|
12508
12508
|
case "array":
|
|
12509
12509
|
return Rt;
|
|
12510
12510
|
case "set":
|
|
12511
|
-
return BE(n.schema) ? Na :
|
|
12511
|
+
return BE(n.schema) ? Na : qt;
|
|
12512
12512
|
case "record":
|
|
12513
12513
|
return Gt;
|
|
12514
12514
|
case "map":
|
|
@@ -12523,7 +12523,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12523
12523
|
});
|
|
12524
12524
|
return (o, r) => {
|
|
12525
12525
|
const a = xe("KAlert");
|
|
12526
|
-
return S(), le(
|
|
12526
|
+
return S(), le(Ge, null, [
|
|
12527
12527
|
(S(), Z(jt(o.$slots[u(Po)]))),
|
|
12528
12528
|
u(n).error ? (S(), Z(a, {
|
|
12529
12529
|
key: 0,
|
|
@@ -12534,7 +12534,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12534
12534
|
autofocus: t.autofocus,
|
|
12535
12535
|
name: Xs(u(n).path.value),
|
|
12536
12536
|
onGlobalAction: r[0] || (r[0] = (l, s) => o.$emit("globalAction", l, s))
|
|
12537
|
-
}, null, 40, ["autofocus", "name"])) : (S(), le(
|
|
12537
|
+
}, null, 40, ["autofocus", "name"])) : (S(), le(Ge, { key: 2 }, [
|
|
12538
12538
|
i.value ? (S(), Z(jt(i.value), {
|
|
12539
12539
|
key: 0,
|
|
12540
12540
|
autofocus: t.autofocus,
|
|
@@ -12592,7 +12592,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12592
12592
|
}, {
|
|
12593
12593
|
default: N(() => [
|
|
12594
12594
|
ee("ul", Bx, [
|
|
12595
|
-
(S(!0), le(
|
|
12595
|
+
(S(!0), le(Ge, null, et(n.value, (s) => (S(), le("li", {
|
|
12596
12596
|
key: s,
|
|
12597
12597
|
"data-testid": "ff-entity-check-item"
|
|
12598
12598
|
}, ue(s), 1))), 128))
|
|
@@ -12676,7 +12676,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12676
12676
|
}), (k, w) => {
|
|
12677
12677
|
var q;
|
|
12678
12678
|
const T = xe("KAlert"), O = xe("KInputSwitch");
|
|
12679
|
-
return S(), le(
|
|
12679
|
+
return S(), le(Ge, null, [
|
|
12680
12680
|
(S(), Z(jt(k.$slots[u(Po)]))),
|
|
12681
12681
|
r.error ? (S(), Z(T, {
|
|
12682
12682
|
key: 0,
|
|
@@ -12695,7 +12695,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12695
12695
|
"entity-checks": (A = r.schema.value) == null ? void 0 : A.entity_checks,
|
|
12696
12696
|
"visible-fields": b.value
|
|
12697
12697
|
}, null, 8, ["entity-checks", "visible-fields"]),
|
|
12698
|
-
(S(!0), le(
|
|
12698
|
+
(S(!0), le(Ge, null, et(v.value, (I) => (S(), Z(st, {
|
|
12699
12699
|
key: Object.keys(I)[0],
|
|
12700
12700
|
name: Object.keys(I)[0]
|
|
12701
12701
|
}, null, 8, ["name"]))), 128))
|
|
@@ -12782,7 +12782,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12782
12782
|
"entity-checks": (A = r.schema.value) == null ? void 0 : A.entity_checks,
|
|
12783
12783
|
"visible-fields": b.value
|
|
12784
12784
|
}, null, 8, ["entity-checks", "visible-fields"]),
|
|
12785
|
-
(S(!0), le(
|
|
12785
|
+
(S(!0), le(Ge, null, et(v.value, (I) => (S(), Z(st, {
|
|
12786
12786
|
key: Object.keys(I)[0],
|
|
12787
12787
|
name: Object.keys(I)[0]
|
|
12788
12788
|
}, null, 8, ["name"]))), 128))
|
|
@@ -12814,7 +12814,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12814
12814
|
}, {
|
|
12815
12815
|
default: N(() => [
|
|
12816
12816
|
ee("div", Qx, [
|
|
12817
|
-
e.hideGeneralFields ? ye("", !0) : (S(), le(
|
|
12817
|
+
e.hideGeneralFields ? ye("", !0) : (S(), le(Ge, { key: 0 }, [
|
|
12818
12818
|
u(n)("instance_name") ? (S(), Z(st, {
|
|
12819
12819
|
key: 0,
|
|
12820
12820
|
name: "instance_name"
|
|
@@ -12880,7 +12880,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12880
12880
|
}
|
|
12881
12881
|
return { defaultVisible: a, advanced: l };
|
|
12882
12882
|
}), r = L(() => o.value.defaultVisible.length === 0);
|
|
12883
|
-
return (a, l) => (S(), le(
|
|
12883
|
+
return (a, l) => (S(), le(Ge, null, [
|
|
12884
12884
|
C(Gt, {
|
|
12885
12885
|
"as-child": "",
|
|
12886
12886
|
class: "ff-default-visible-fields",
|
|
@@ -14489,7 +14489,7 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14489
14489
|
seq: uf(),
|
|
14490
14490
|
str: lf()
|
|
14491
14491
|
}, t.exports.safeLoad = o("safeLoad", "load"), t.exports.safeLoadAll = o("safeLoadAll", "loadAll"), t.exports.safeDump = o("safeDump", "dump");
|
|
14492
|
-
}))()), { Type:
|
|
14492
|
+
}))()), { Type: cK, Schema: dK, FAILSAFE_SCHEMA: pK, JSON_SCHEMA: Fi, CORE_SCHEMA: fK, DEFAULT_SCHEMA: mK, load: gK, loadAll: hK, dump: yK, YAMLException: vK, types: _K, safeLoad: bK, safeLoadAll: wK, safeDump: kK } = Ef.default, On = Ef.default;
|
|
14493
14493
|
const _S = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|
|
14494
14494
|
function ci() {
|
|
14495
14495
|
return { lenses: [], dispose: () => {
|
|
@@ -14549,8 +14549,8 @@ async function xf(e) {
|
|
|
14549
14549
|
function ES(e) {
|
|
14550
14550
|
el.delete(e), tl.delete(e);
|
|
14551
14551
|
}
|
|
14552
|
-
const Wl = Symbol.for("yaml.alias"), nl = Symbol.for("yaml.document"), Ai = Symbol.for("yaml.map"), Sf = Symbol.for("yaml.pair"), ai = Symbol.for("yaml.scalar"), Mo = Symbol.for("yaml.seq"), Mn = Symbol.for("yaml.node.type"), Lo = (e) => !!e && typeof e == "object" && e[Mn] === Wl, Hr = (e) => !!e && typeof e == "object" && e[Mn] === nl, Fo = (e) => !!e && typeof e == "object" && e[Mn] === Ai,
|
|
14553
|
-
function
|
|
14552
|
+
const Wl = Symbol.for("yaml.alias"), nl = Symbol.for("yaml.document"), Ai = Symbol.for("yaml.map"), Sf = Symbol.for("yaml.pair"), ai = Symbol.for("yaml.scalar"), Mo = Symbol.for("yaml.seq"), Mn = Symbol.for("yaml.node.type"), Lo = (e) => !!e && typeof e == "object" && e[Mn] === Wl, Hr = (e) => !!e && typeof e == "object" && e[Mn] === nl, Fo = (e) => !!e && typeof e == "object" && e[Mn] === Ai, Bt = (e) => !!e && typeof e == "object" && e[Mn] === Sf, At = (e) => !!e && typeof e == "object" && e[Mn] === ai, Ko = (e) => !!e && typeof e == "object" && e[Mn] === Mo;
|
|
14553
|
+
function zt(e) {
|
|
14554
14554
|
if (e && typeof e == "object")
|
|
14555
14555
|
switch (e[Mn]) {
|
|
14556
14556
|
case Ai:
|
|
@@ -14570,7 +14570,7 @@ function Tt(e) {
|
|
|
14570
14570
|
}
|
|
14571
14571
|
return !1;
|
|
14572
14572
|
}
|
|
14573
|
-
const Af = (e) => (At(e) ||
|
|
14573
|
+
const Af = (e) => (At(e) || zt(e)) && !!e.anchor, Mi = Symbol("break visit"), xS = Symbol("skip children"), sa = Symbol("remove node");
|
|
14574
14574
|
function jo(e, t) {
|
|
14575
14575
|
const n = SS(t);
|
|
14576
14576
|
Hr(e) ? fo(null, e.contents, n, Object.freeze([e])) === sa && (e.contents = null) : fo(null, e, n, Object.freeze([]));
|
|
@@ -14580,10 +14580,10 @@ jo.SKIP = xS;
|
|
|
14580
14580
|
jo.REMOVE = sa;
|
|
14581
14581
|
function fo(e, t, n, i) {
|
|
14582
14582
|
const o = AS(e, t, n, i);
|
|
14583
|
-
if (Tt(o) ||
|
|
14583
|
+
if (Tt(o) || Bt(o))
|
|
14584
14584
|
return IS(e, i, o), fo(e, o, n, i);
|
|
14585
14585
|
if (typeof o != "symbol") {
|
|
14586
|
-
if (
|
|
14586
|
+
if (zt(t)) {
|
|
14587
14587
|
i = Object.freeze(i.concat(t));
|
|
14588
14588
|
for (let r = 0; r < t.items.length; ++r) {
|
|
14589
14589
|
const a = fo(r, t.items[r], n, i);
|
|
@@ -14595,7 +14595,7 @@ function fo(e, t, n, i) {
|
|
|
14595
14595
|
a === sa && (t.items.splice(r, 1), r -= 1);
|
|
14596
14596
|
}
|
|
14597
14597
|
}
|
|
14598
|
-
} else if (
|
|
14598
|
+
} else if (Bt(t)) {
|
|
14599
14599
|
i = Object.freeze(i.concat(t));
|
|
14600
14600
|
const r = fo("key", t.key, n, i);
|
|
14601
14601
|
if (r === Mi)
|
|
@@ -14632,7 +14632,7 @@ function AS(e, t, n, i) {
|
|
|
14632
14632
|
return (o = n.Map) == null ? void 0 : o.call(n, e, t, i);
|
|
14633
14633
|
if (Ko(t))
|
|
14634
14634
|
return (r = n.Seq) == null ? void 0 : r.call(n, e, t, i);
|
|
14635
|
-
if (
|
|
14635
|
+
if (Bt(t))
|
|
14636
14636
|
return (a = n.Pair) == null ? void 0 : a.call(n, e, t, i);
|
|
14637
14637
|
if (At(t))
|
|
14638
14638
|
return (l = n.Scalar) == null ? void 0 : l.call(n, e, t, i);
|
|
@@ -14641,9 +14641,9 @@ function AS(e, t, n, i) {
|
|
|
14641
14641
|
}
|
|
14642
14642
|
function IS(e, t, n) {
|
|
14643
14643
|
const i = t[t.length - 1];
|
|
14644
|
-
if (
|
|
14644
|
+
if (zt(i))
|
|
14645
14645
|
i.items[e] = n;
|
|
14646
|
-
else if (
|
|
14646
|
+
else if (Bt(i))
|
|
14647
14647
|
e === "key" ? i.key = n : i.value = n;
|
|
14648
14648
|
else if (Hr(i))
|
|
14649
14649
|
i.contents = n;
|
|
@@ -14809,7 +14809,7 @@ function OS(e, t) {
|
|
|
14809
14809
|
setAnchors: () => {
|
|
14810
14810
|
for (const r of n) {
|
|
14811
14811
|
const a = i.get(r);
|
|
14812
|
-
if (typeof a == "object" && a.anchor && (At(a.node) ||
|
|
14812
|
+
if (typeof a == "object" && a.anchor && (At(a.node) || zt(a.node)))
|
|
14813
14813
|
a.node.anchor = a.anchor;
|
|
14814
14814
|
else {
|
|
14815
14815
|
const l = new Error("Failed to resolve repeated object (this should not happen)");
|
|
@@ -14951,14 +14951,14 @@ function sr(e, t, n) {
|
|
|
14951
14951
|
if (Lo(t)) {
|
|
14952
14952
|
const i = t.resolve(e), o = n && i && n.get(i);
|
|
14953
14953
|
return o ? o.count * o.aliasCount : 0;
|
|
14954
|
-
} else if (
|
|
14954
|
+
} else if (zt(t)) {
|
|
14955
14955
|
let i = 0;
|
|
14956
14956
|
for (const o of t.items) {
|
|
14957
14957
|
const r = sr(e, o, n);
|
|
14958
14958
|
r > i && (i = r);
|
|
14959
14959
|
}
|
|
14960
14960
|
return i;
|
|
14961
|
-
} else if (
|
|
14961
|
+
} else if (Bt(t)) {
|
|
14962
14962
|
const i = sr(e, t.key, n), o = sr(e, t.value, n);
|
|
14963
14963
|
return Math.max(i, o);
|
|
14964
14964
|
}
|
|
@@ -14998,7 +14998,7 @@ function ba(e, t, n) {
|
|
|
14998
14998
|
var i, o, r;
|
|
14999
14999
|
if (Hr(e) && (e = e.contents), Tt(e))
|
|
15000
15000
|
return e;
|
|
15001
|
-
if (
|
|
15001
|
+
if (Bt(e)) {
|
|
15002
15002
|
const h = (o = (i = n.schema[Ai]).createNode) == null ? void 0 : o.call(i, n.schema, null, n);
|
|
15003
15003
|
return h.items.push(e), h;
|
|
15004
15004
|
}
|
|
@@ -15060,7 +15060,7 @@ class Pf extends Yl {
|
|
|
15060
15060
|
*/
|
|
15061
15061
|
clone(t) {
|
|
15062
15062
|
const n = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
|
|
15063
|
-
return t && (n.schema = t), n.items = n.items.map((i) => Tt(i) ||
|
|
15063
|
+
return t && (n.schema = t), n.items = n.items.map((i) => Tt(i) || Bt(i) ? i.clone(t) : i), this.range && (n.range = this.range.slice()), n;
|
|
15064
15064
|
}
|
|
15065
15065
|
/**
|
|
15066
15066
|
* Adds a value to the collection. For `!!map` and `!!omap` the value must
|
|
@@ -15072,7 +15072,7 @@ class Pf extends Yl {
|
|
|
15072
15072
|
this.add(n);
|
|
15073
15073
|
else {
|
|
15074
15074
|
const [i, ...o] = t, r = this.get(i, !0);
|
|
15075
|
-
if (
|
|
15075
|
+
if (zt(r))
|
|
15076
15076
|
r.addIn(o, n);
|
|
15077
15077
|
else if (r === void 0 && this.schema)
|
|
15078
15078
|
this.set(i, Cr(this.schema, o, n));
|
|
@@ -15089,7 +15089,7 @@ class Pf extends Yl {
|
|
|
15089
15089
|
if (i.length === 0)
|
|
15090
15090
|
return this.delete(n);
|
|
15091
15091
|
const o = this.get(n, !0);
|
|
15092
|
-
if (
|
|
15092
|
+
if (zt(o))
|
|
15093
15093
|
return o.deleteIn(i);
|
|
15094
15094
|
throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`);
|
|
15095
15095
|
}
|
|
@@ -15100,11 +15100,11 @@ class Pf extends Yl {
|
|
|
15100
15100
|
*/
|
|
15101
15101
|
getIn(t, n) {
|
|
15102
15102
|
const [i, ...o] = t, r = this.get(i, !0);
|
|
15103
|
-
return o.length === 0 ? !n && At(r) ? r.value : r :
|
|
15103
|
+
return o.length === 0 ? !n && At(r) ? r.value : r : zt(r) ? r.getIn(o, n) : void 0;
|
|
15104
15104
|
}
|
|
15105
15105
|
hasAllNullValues(t) {
|
|
15106
15106
|
return this.items.every((n) => {
|
|
15107
|
-
if (!
|
|
15107
|
+
if (!Bt(n))
|
|
15108
15108
|
return !1;
|
|
15109
15109
|
const i = n.value;
|
|
15110
15110
|
return i == null || t && At(i) && i.value == null && !i.commentBefore && !i.comment && !i.tag;
|
|
@@ -15118,7 +15118,7 @@ class Pf extends Yl {
|
|
|
15118
15118
|
if (i.length === 0)
|
|
15119
15119
|
return this.has(n);
|
|
15120
15120
|
const o = this.get(n, !0);
|
|
15121
|
-
return
|
|
15121
|
+
return zt(o) ? o.hasIn(i) : !1;
|
|
15122
15122
|
}
|
|
15123
15123
|
/**
|
|
15124
15124
|
* Sets a value in this collection. For `!!set`, `value` needs to be a
|
|
@@ -15130,7 +15130,7 @@ class Pf extends Yl {
|
|
|
15130
15130
|
this.set(i, n);
|
|
15131
15131
|
else {
|
|
15132
15132
|
const r = this.get(i, !0);
|
|
15133
|
-
if (
|
|
15133
|
+
if (zt(r))
|
|
15134
15134
|
r.setIn(o, n);
|
|
15135
15135
|
else if (r === void 0 && this.schema)
|
|
15136
15136
|
this.set(i, Cr(this.schema, o, n));
|
|
@@ -15516,14 +15516,14 @@ function FS(e, t) {
|
|
|
15516
15516
|
function KS(e, t, { anchors: n, doc: i }) {
|
|
15517
15517
|
if (!i.directives)
|
|
15518
15518
|
return "";
|
|
15519
|
-
const o = [], r = (At(e) ||
|
|
15519
|
+
const o = [], r = (At(e) || zt(e)) && e.anchor;
|
|
15520
15520
|
r && If(r) && (n.add(r), o.push(`&${r}`));
|
|
15521
15521
|
const a = e.tag ?? (t.default ? null : t.tag);
|
|
15522
15522
|
return a && o.push(i.directives.tagString(a)), o.join(" ");
|
|
15523
15523
|
}
|
|
15524
15524
|
function Eo(e, t, n, i) {
|
|
15525
15525
|
var o;
|
|
15526
|
-
if (
|
|
15526
|
+
if (Bt(e))
|
|
15527
15527
|
return e.toString(t, n, i);
|
|
15528
15528
|
if (Lo(e)) {
|
|
15529
15529
|
if (t.doc.directives)
|
|
@@ -15547,12 +15547,12 @@ function jS({ key: e, value: t }, n, i, o) {
|
|
|
15547
15547
|
if (c) {
|
|
15548
15548
|
if (p)
|
|
15549
15549
|
throw new Error("With simple keys, key nodes cannot have comments");
|
|
15550
|
-
if (
|
|
15550
|
+
if (zt(e) || !Tt(e) && typeof e == "object") {
|
|
15551
15551
|
const T = "With simple keys, collection cannot be used as a key value";
|
|
15552
15552
|
throw new Error(T);
|
|
15553
15553
|
}
|
|
15554
15554
|
}
|
|
15555
|
-
let m = !c && (!e || p && t == null && !n.inFlow ||
|
|
15555
|
+
let m = !c && (!e || p && t == null && !n.inFlow || zt(e) || (At(e) ? e.type === at.BLOCK_FOLDED || e.type === at.BLOCK_LITERAL : typeof e == "object"));
|
|
15556
15556
|
n = Object.assign({}, n, {
|
|
15557
15557
|
allNullValues: !1,
|
|
15558
15558
|
implicitKey: !m && (c || !r),
|
|
@@ -15588,7 +15588,7 @@ ${di(T, n.indent)}`;
|
|
|
15588
15588
|
|
|
15589
15589
|
`) : w += `
|
|
15590
15590
|
${n.indent}`;
|
|
15591
|
-
} else if (!m &&
|
|
15591
|
+
} else if (!m && zt(t)) {
|
|
15592
15592
|
const T = k[0], O = k.indexOf(`
|
|
15593
15593
|
`), q = O !== -1, A = n.inFlow ?? t.flow ?? t.items.length === 0;
|
|
15594
15594
|
if (q || !A) {
|
|
@@ -15720,7 +15720,7 @@ function US({ comment: e, items: t }, n, { blockItemPrefix: i, flowChars: o, ite
|
|
|
15720
15720
|
let _ = null;
|
|
15721
15721
|
if (Tt(y))
|
|
15722
15722
|
!c && y.spaceBefore && p.push(""), Er(n, p, y.commentBefore, c), y.comment && (_ = y.comment);
|
|
15723
|
-
else if (
|
|
15723
|
+
else if (Bt(y)) {
|
|
15724
15724
|
const b = Tt(y.key) ? y.key : null;
|
|
15725
15725
|
b && (!c && b.spaceBefore && p.push(""), Er(n, p, b.commentBefore, c));
|
|
15726
15726
|
}
|
|
@@ -15758,7 +15758,7 @@ function VS({ items: e }, t, { flowChars: n, itemIndent: i }) {
|
|
|
15758
15758
|
let _ = null;
|
|
15759
15759
|
if (Tt(y))
|
|
15760
15760
|
y.spaceBefore && c.push(""), Er(t, c, y.commentBefore, !1), y.comment && (_ = y.comment);
|
|
15761
|
-
else if (
|
|
15761
|
+
else if (Bt(y)) {
|
|
15762
15762
|
const b = Tt(y.key) ? y.key : null;
|
|
15763
15763
|
b && (b.spaceBefore && c.push(""), Er(t, c, b.commentBefore, !1), b.comment && (d = !0));
|
|
15764
15764
|
const x = Tt(y.value) ? y.value : null;
|
|
@@ -15796,7 +15796,7 @@ function Er({ indent: e, options: { commentString: t } }, n, i, o) {
|
|
|
15796
15796
|
function ji(e, t) {
|
|
15797
15797
|
const n = At(t) ? t.value : t;
|
|
15798
15798
|
for (const i of e)
|
|
15799
|
-
if (
|
|
15799
|
+
if (Bt(i) && (i.key === t || i.key === n || At(i.key) && i.key.value === n))
|
|
15800
15800
|
return i;
|
|
15801
15801
|
}
|
|
15802
15802
|
class $n extends Pf {
|
|
@@ -15835,7 +15835,7 @@ class $n extends Pf {
|
|
|
15835
15835
|
add(t, n) {
|
|
15836
15836
|
var i;
|
|
15837
15837
|
let o;
|
|
15838
|
-
|
|
15838
|
+
Bt(t) ? o = t : !t || typeof t != "object" || !("key" in t) ? o = new un(t, t == null ? void 0 : t.value) : o = new un(t.key, t.value);
|
|
15839
15839
|
const r = ji(this.items, o.key), a = (i = this.schema) == null ? void 0 : i.sortMapEntries;
|
|
15840
15840
|
if (r) {
|
|
15841
15841
|
if (!n)
|
|
@@ -15877,7 +15877,7 @@ class $n extends Pf {
|
|
|
15877
15877
|
if (!t)
|
|
15878
15878
|
return JSON.stringify(this);
|
|
15879
15879
|
for (const o of this.items)
|
|
15880
|
-
if (!
|
|
15880
|
+
if (!Bt(o))
|
|
15881
15881
|
throw new Error(`Map items must all be pairs; found ${JSON.stringify(o)} instead`);
|
|
15882
15882
|
return !t.allNullValues && this.hasAllNullValues(!1) && (t = Object.assign({}, t, { allNullValues: !0 })), Kf(this, t, {
|
|
15883
15883
|
blockItemPrefix: "",
|
|
@@ -16211,7 +16211,7 @@ function Gf(e, t) {
|
|
|
16211
16211
|
if (Ko(e))
|
|
16212
16212
|
for (let n = 0; n < e.items.length; ++n) {
|
|
16213
16213
|
let i = e.items[n];
|
|
16214
|
-
if (!
|
|
16214
|
+
if (!Bt(i)) {
|
|
16215
16215
|
if (Fo(i)) {
|
|
16216
16216
|
i.items.length > 1 && t("Each pair must have its own sequence indicator");
|
|
16217
16217
|
const o = i.items[0] || new un(new at(null));
|
|
@@ -16223,7 +16223,7 @@ ${r.comment}` : i.comment;
|
|
|
16223
16223
|
}
|
|
16224
16224
|
i = o;
|
|
16225
16225
|
}
|
|
16226
|
-
e.items[n] =
|
|
16226
|
+
e.items[n] = Bt(i) ? i : new un(i);
|
|
16227
16227
|
}
|
|
16228
16228
|
}
|
|
16229
16229
|
else
|
|
@@ -16277,7 +16277,7 @@ class vo extends zi {
|
|
|
16277
16277
|
n != null && n.onCreate && n.onCreate(i);
|
|
16278
16278
|
for (const o of this.items) {
|
|
16279
16279
|
let r, a;
|
|
16280
|
-
if (
|
|
16280
|
+
if (Bt(o) ? (r = Nn(o.key, "", n), a = Nn(o.value, r, n)) : r = Nn(o, "", n), i.has(r))
|
|
16281
16281
|
throw new Error("Ordered maps must not include duplicate keys");
|
|
16282
16282
|
i.set(r, a);
|
|
16283
16283
|
}
|
|
@@ -16419,7 +16419,7 @@ class _o extends $n {
|
|
|
16419
16419
|
}
|
|
16420
16420
|
add(t) {
|
|
16421
16421
|
let n;
|
|
16422
|
-
|
|
16422
|
+
Bt(t) ? n = t : t && typeof t == "object" && "key" in t && "value" in t && t.value === null ? n = new un(t.key, null) : n = new un(t, null), ji(this.items, n.key) || this.items.push(n);
|
|
16423
16423
|
}
|
|
16424
16424
|
/**
|
|
16425
16425
|
* If `keepPair` is `true`, returns the Pair matching `key`.
|
|
@@ -16427,7 +16427,7 @@ class _o extends $n {
|
|
|
16427
16427
|
*/
|
|
16428
16428
|
get(t, n) {
|
|
16429
16429
|
const i = ji(this.items, t);
|
|
16430
|
-
return !n &&
|
|
16430
|
+
return !n && Bt(i) ? At(i.key) ? i.key.value : i.key : i;
|
|
16431
16431
|
}
|
|
16432
16432
|
set(t, n) {
|
|
16433
16433
|
if (typeof n != "boolean")
|
|
@@ -16734,7 +16734,7 @@ class ns {
|
|
|
16734
16734
|
schema: this.schema,
|
|
16735
16735
|
sourceObjects: m
|
|
16736
16736
|
}, y = ba(t, f, h);
|
|
16737
|
-
return l &&
|
|
16737
|
+
return l && zt(y) && (y.flow = !0), p(), y;
|
|
16738
16738
|
}
|
|
16739
16739
|
/**
|
|
16740
16740
|
* Convert a key and a value into a `Pair` using the current schema,
|
|
@@ -16764,7 +16764,7 @@ class ns {
|
|
|
16764
16764
|
* `true` (collections are always returned intact).
|
|
16765
16765
|
*/
|
|
16766
16766
|
get(t, n) {
|
|
16767
|
-
return
|
|
16767
|
+
return zt(this.contents) ? this.contents.get(t, n) : void 0;
|
|
16768
16768
|
}
|
|
16769
16769
|
/**
|
|
16770
16770
|
* Returns item at `path`, or `undefined` if not found. By default unwraps
|
|
@@ -16772,19 +16772,19 @@ class ns {
|
|
|
16772
16772
|
* `true` (collections are always returned intact).
|
|
16773
16773
|
*/
|
|
16774
16774
|
getIn(t, n) {
|
|
16775
|
-
return Qo(t) ? !n && At(this.contents) ? this.contents.value : this.contents :
|
|
16775
|
+
return Qo(t) ? !n && At(this.contents) ? this.contents.value : this.contents : zt(this.contents) ? this.contents.getIn(t, n) : void 0;
|
|
16776
16776
|
}
|
|
16777
16777
|
/**
|
|
16778
16778
|
* Checks if the document includes a value with the key `key`.
|
|
16779
16779
|
*/
|
|
16780
16780
|
has(t) {
|
|
16781
|
-
return
|
|
16781
|
+
return zt(this.contents) ? this.contents.has(t) : !1;
|
|
16782
16782
|
}
|
|
16783
16783
|
/**
|
|
16784
16784
|
* Checks if the document includes a value at `path`.
|
|
16785
16785
|
*/
|
|
16786
16786
|
hasIn(t) {
|
|
16787
|
-
return Qo(t) ? this.contents !== void 0 :
|
|
16787
|
+
return Qo(t) ? this.contents !== void 0 : zt(this.contents) ? this.contents.hasIn(t) : !1;
|
|
16788
16788
|
}
|
|
16789
16789
|
/**
|
|
16790
16790
|
* Sets a value in this document. For `!!set`, `value` needs to be a
|
|
@@ -16869,7 +16869,7 @@ class ns {
|
|
|
16869
16869
|
}
|
|
16870
16870
|
}
|
|
16871
16871
|
function io(e) {
|
|
16872
|
-
if (
|
|
16872
|
+
if (zt(e))
|
|
16873
16873
|
return !0;
|
|
16874
16874
|
throw new Error("Expected a YAML collection as document contents");
|
|
16875
16875
|
}
|
|
@@ -17161,7 +17161,7 @@ function lA({ composeNode: e, composeEmptyNode: t }, n, i, o, r) {
|
|
|
17161
17161
|
}
|
|
17162
17162
|
if (O) {
|
|
17163
17163
|
let q = f.items[f.items.length - 1];
|
|
17164
|
-
|
|
17164
|
+
Bt(q) && (q = q.value ?? q.key), q.comment ? q.comment += `
|
|
17165
17165
|
` + O : q.comment = O, T.comment = T.comment.substring(O.length + 1);
|
|
17166
17166
|
}
|
|
17167
17167
|
}
|
|
@@ -17722,9 +17722,9 @@ class SA {
|
|
|
17722
17722
|
${i}` : i;
|
|
17723
17723
|
else if (o || t.directives.docStart || !r)
|
|
17724
17724
|
t.commentBefore = i;
|
|
17725
|
-
else if (
|
|
17725
|
+
else if (zt(r) && !r.flow && r.items.length > 0) {
|
|
17726
17726
|
let a = r.items[0];
|
|
17727
|
-
|
|
17727
|
+
Bt(a) && (a = a.key);
|
|
17728
17728
|
const l = a.commentBefore;
|
|
17729
17729
|
a.commentBefore = l ? `${i}
|
|
17730
17730
|
${l}` : i;
|
|
@@ -19056,7 +19056,7 @@ function FA(e, t) {
|
|
|
19056
19056
|
if (Ko(o))
|
|
19057
19057
|
for (let a = o.items.length - 1; a >= 0; a--) {
|
|
19058
19058
|
const l = o.items[a], s = [...r, a];
|
|
19059
|
-
if (
|
|
19059
|
+
if (Bt(l)) {
|
|
19060
19060
|
Tt(l.value) && n.push({
|
|
19061
19061
|
node: l.value,
|
|
19062
19062
|
keyPath: Kc(s, l.key)
|
|
@@ -19143,15 +19143,15 @@ let qA = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", BA
|
|
|
19143
19143
|
t += qA[n[e] & 63];
|
|
19144
19144
|
return t;
|
|
19145
19145
|
};
|
|
19146
|
-
const UA = "/v2/control-planes/{controlPlaneId}/core-entities/v1", wn = "/v2/control-planes/{controlPlaneId}/core-entities/{workspace}", Qn = "/v2/control-planes/{controlPlaneId}/core-entities",
|
|
19146
|
+
const UA = "/v2/control-planes/{controlPlaneId}/core-entities/v1", wn = "/v2/control-planes/{controlPlaneId}/core-entities/{workspace}", Qn = "/v2/control-planes/{controlPlaneId}/core-entities", Vt = "/{workspace}", ot = {
|
|
19147
19147
|
list: {
|
|
19148
19148
|
konnect: {
|
|
19149
19149
|
all: `${wn}/plugins`,
|
|
19150
19150
|
forEntity: `${wn}/{entityType}/{entityId}/plugins`
|
|
19151
19151
|
},
|
|
19152
19152
|
kongManager: {
|
|
19153
|
-
all: `${
|
|
19154
|
-
forEntity: `${
|
|
19153
|
+
all: `${Vt}/plugins`,
|
|
19154
|
+
forEntity: `${Vt}/{entityType}/{entityId}/plugins`
|
|
19155
19155
|
}
|
|
19156
19156
|
},
|
|
19157
19157
|
select: {
|
|
@@ -19163,10 +19163,10 @@ const UA = "/v2/control-planes/{controlPlaneId}/core-entities/v1", wn = "/v2/con
|
|
|
19163
19163
|
streamingCustomPluginItem: `${Qn}/custom-plugins/{pluginId}`
|
|
19164
19164
|
},
|
|
19165
19165
|
kongManager: {
|
|
19166
|
-
availablePlugins: `${
|
|
19166
|
+
availablePlugins: `${Vt}/kong`,
|
|
19167
19167
|
availablePluginsForOss: "/",
|
|
19168
|
-
streamingCustomPlugins: `${
|
|
19169
|
-
clonedPlugins: `${
|
|
19168
|
+
streamingCustomPlugins: `${Vt}/custom-plugins`,
|
|
19169
|
+
clonedPlugins: `${Vt}/cloned-plugins`
|
|
19170
19170
|
}
|
|
19171
19171
|
},
|
|
19172
19172
|
form: {
|
|
@@ -19192,22 +19192,22 @@ const UA = "/v2/control-planes/{controlPlaneId}/core-entities/v1", wn = "/v2/con
|
|
|
19192
19192
|
},
|
|
19193
19193
|
kongManager: {
|
|
19194
19194
|
create: {
|
|
19195
|
-
all: `${
|
|
19196
|
-
forEntity: `${
|
|
19195
|
+
all: `${Vt}/plugins`,
|
|
19196
|
+
forEntity: `${Vt}/{entityType}/{entityId}/plugins`
|
|
19197
19197
|
},
|
|
19198
19198
|
edit: {
|
|
19199
|
-
all: `${
|
|
19200
|
-
forEntity: `${
|
|
19199
|
+
all: `${Vt}/plugins/{id}`,
|
|
19200
|
+
forEntity: `${Vt}/{entityType}/{entityId}/plugins/{id}`
|
|
19201
19201
|
},
|
|
19202
|
-
pluginSchema: `${
|
|
19202
|
+
pluginSchema: `${Vt}/schemas/plugins/{plugin}`,
|
|
19203
19203
|
credential: {
|
|
19204
|
-
create: `${
|
|
19205
|
-
edit: `${
|
|
19204
|
+
create: `${Vt}/{resourceEndpoint}`,
|
|
19205
|
+
edit: `${Vt}/{resourceEndpoint}/{id}`
|
|
19206
19206
|
},
|
|
19207
|
-
credentialSchema: `${
|
|
19207
|
+
credentialSchema: `${Vt}/schemas/{plugin}`,
|
|
19208
19208
|
// VFG endpoints
|
|
19209
|
-
entityGetOne: `${
|
|
19210
|
-
entityGetAll: `${
|
|
19209
|
+
entityGetOne: `${Vt}/{entity}/{id}`,
|
|
19210
|
+
entityGetAll: `${Vt}/{entity}`
|
|
19211
19211
|
}
|
|
19212
19212
|
},
|
|
19213
19213
|
customPlugin: {
|
|
@@ -19227,12 +19227,12 @@ const UA = "/v2/control-planes/{controlPlaneId}/core-entities/v1", wn = "/v2/con
|
|
|
19227
19227
|
},
|
|
19228
19228
|
kongManager: {
|
|
19229
19229
|
streamed: {
|
|
19230
|
-
create: `${
|
|
19231
|
-
edit: `${
|
|
19230
|
+
create: `${Vt}/custom-plugins`,
|
|
19231
|
+
edit: `${Vt}/custom-plugins/{pluginId}`
|
|
19232
19232
|
},
|
|
19233
19233
|
cloned: {
|
|
19234
|
-
create: `${
|
|
19235
|
-
edit: `${
|
|
19234
|
+
create: `${Vt}/cloned-plugins`,
|
|
19235
|
+
edit: `${Vt}/cloned-plugins/{pluginId}`
|
|
19236
19236
|
}
|
|
19237
19237
|
}
|
|
19238
19238
|
},
|
|
@@ -19242,8 +19242,8 @@ const UA = "/v2/control-planes/{controlPlaneId}/core-entities/v1", wn = "/v2/con
|
|
|
19242
19242
|
forEntity: `${wn}/{entityType}/{entityId}/plugins/{id}`
|
|
19243
19243
|
},
|
|
19244
19244
|
kongManager: {
|
|
19245
|
-
all: `${
|
|
19246
|
-
forEntity: `${
|
|
19245
|
+
all: `${Vt}/plugins/{id}`,
|
|
19246
|
+
forEntity: `${Vt}/{entityType}/{entityId}/plugins/{id}`
|
|
19247
19247
|
}
|
|
19248
19248
|
}
|
|
19249
19249
|
}, ws = /* @__PURE__ */ new WeakMap(), VA = ["service", "route", "consumer", "consumer_group", "certificate"], jc = Object.fromEntries(VA.map((e) => [`${e}s`, e]));
|
|
@@ -19667,7 +19667,7 @@ const JA = {
|
|
|
19667
19667
|
default: N(() => [
|
|
19668
19668
|
(S(), Z(jt(u(o)[u(Po)]))),
|
|
19669
19669
|
Qe(c.$slots, "default", {}, () => [
|
|
19670
|
-
(S(!0), le(
|
|
19670
|
+
(S(!0), le(Ge, null, et(f.value, (m) => (S(), Z(st, {
|
|
19671
19671
|
key: Object.keys(m)[0],
|
|
19672
19672
|
name: Object.keys(m)[0],
|
|
19673
19673
|
onGlobalAction: p[0] || (p[0] = (h, y) => i("globalAction", h, y))
|
|
@@ -19739,7 +19739,7 @@ const JA = {
|
|
|
19739
19739
|
return (c, p) => {
|
|
19740
19740
|
const m = xe("KCopy");
|
|
19741
19741
|
return S(), le("div", oI, [
|
|
19742
|
-
(S(!0), le(
|
|
19742
|
+
(S(!0), le(Ge, null, et(f.value, ({ key: h, label: y, value: _, type: v }) => (S(), le("div", {
|
|
19743
19743
|
key: h,
|
|
19744
19744
|
class: "partial-config-card-row"
|
|
19745
19745
|
}, [
|
|
@@ -20028,7 +20028,7 @@ const JA = {
|
|
|
20028
20028
|
onChange: h
|
|
20029
20029
|
}), vt({
|
|
20030
20030
|
[u(Po)]: N(() => [
|
|
20031
|
-
(S(!0), le(
|
|
20031
|
+
(S(!0), le(Ge, null, et(d.value, (v, b) => (S(), Z(Dt, {
|
|
20032
20032
|
key: `${e.pluginName}-${b}`,
|
|
20033
20033
|
match: u(UE)(v.match)
|
|
20034
20034
|
}, {
|
|
@@ -20289,7 +20289,7 @@ const JA = {
|
|
|
20289
20289
|
}), z;
|
|
20290
20290
|
}
|
|
20291
20291
|
const W = me(!0);
|
|
20292
|
-
return (z, H) => (S(), le(
|
|
20292
|
+
return (z, H) => (S(), le(Ge, null, [
|
|
20293
20293
|
d.value ? (S(), Z(Or, {
|
|
20294
20294
|
key: 0,
|
|
20295
20295
|
to: "#plugin-form-page-actions"
|
|
@@ -20364,7 +20364,7 @@ const JA = {
|
|
|
20364
20364
|
_: 1
|
|
20365
20365
|
}, 16)),
|
|
20366
20366
|
b.value ? Qt((S(), le("div", kI, [
|
|
20367
|
-
(S(!0), le(
|
|
20367
|
+
(S(!0), le(Ge, null, et(x.value, (D) => (S(), Z(lS, {
|
|
20368
20368
|
key: D.name,
|
|
20369
20369
|
developer: e.developer,
|
|
20370
20370
|
disabled: D.disabled,
|
|
@@ -20406,7 +20406,7 @@ const JA = {
|
|
|
20406
20406
|
key: "2"
|
|
20407
20407
|
} : void 0
|
|
20408
20408
|
]), 1032, ["description", "title"])) : ye("", !0),
|
|
20409
|
-
s.value === "form" && ((U = e.configSections) != null && U.length) ? (S(!0), le(
|
|
20409
|
+
s.value === "form" && ((U = e.configSections) != null && U.length) ? (S(!0), le(Ge, { key: 1 }, et(e.configSections, ($, D) => (S(), Z(u(Bn), {
|
|
20410
20410
|
key: $.name,
|
|
20411
20411
|
"data-testid": `form-section-${$.name}`,
|
|
20412
20412
|
description: $.description,
|
|
@@ -20516,7 +20516,7 @@ const JA = {
|
|
|
20516
20516
|
], 64));
|
|
20517
20517
|
}
|
|
20518
20518
|
}), EI = /* @__PURE__ */ Ve(CI, [["__scopeId", "data-v-e2f4cda4"]]), fm = Symbol.for("kong-ui-public.entities-plugins.free-form-plugin-layout");
|
|
20519
|
-
function
|
|
20519
|
+
function CK(e) {
|
|
20520
20520
|
Ft(fm, e);
|
|
20521
20521
|
}
|
|
20522
20522
|
const li = /* @__PURE__ */ Pe({
|
|
@@ -20589,13 +20589,13 @@ const li = /* @__PURE__ */ Pe({
|
|
|
20589
20589
|
}, 16));
|
|
20590
20590
|
}
|
|
20591
20591
|
});
|
|
20592
|
-
function
|
|
20592
|
+
function ze(e = {}) {
|
|
20593
20593
|
return {
|
|
20594
20594
|
...e,
|
|
20595
20595
|
component: e.component ?? mm
|
|
20596
20596
|
};
|
|
20597
20597
|
}
|
|
20598
|
-
const xI =
|
|
20598
|
+
const xI = ze({
|
|
20599
20599
|
experimental: !0
|
|
20600
20600
|
}), SI = { class: "ff-acl-mode" }, AI = /* @__PURE__ */ Pe({
|
|
20601
20601
|
__name: "ACLModeCard",
|
|
@@ -20680,10 +20680,10 @@ const xI = Ge({
|
|
|
20680
20680
|
_: 1
|
|
20681
20681
|
}, 16));
|
|
20682
20682
|
}
|
|
20683
|
-
}), $I =
|
|
20683
|
+
}), $I = ze({
|
|
20684
20684
|
experimental: !0,
|
|
20685
20685
|
component: TI
|
|
20686
|
-
}), OI =
|
|
20686
|
+
}), OI = ze({
|
|
20687
20687
|
fieldRenderers: [
|
|
20688
20688
|
{
|
|
20689
20689
|
match: "config.functions",
|
|
@@ -20771,13 +20771,13 @@ const xI = Ge({
|
|
|
20771
20771
|
_: 1
|
|
20772
20772
|
}, 16));
|
|
20773
20773
|
}
|
|
20774
|
-
}), NI =
|
|
20774
|
+
}), NI = ze({
|
|
20775
20775
|
component: PI
|
|
20776
|
-
}), RI =
|
|
20776
|
+
}), RI = ze({
|
|
20777
20777
|
experimental: !0
|
|
20778
|
-
}), MI =
|
|
20778
|
+
}), MI = ze({
|
|
20779
20779
|
experimental: !0
|
|
20780
|
-
}), LI =
|
|
20780
|
+
}), LI = ze({
|
|
20781
20781
|
experimental: !0,
|
|
20782
20782
|
fieldRenderers: [
|
|
20783
20783
|
{
|
|
@@ -20797,7 +20797,7 @@ const xI = Ge({
|
|
|
20797
20797
|
}
|
|
20798
20798
|
}
|
|
20799
20799
|
]
|
|
20800
|
-
}), FI =
|
|
20800
|
+
}), FI = ze({
|
|
20801
20801
|
experimental: !0,
|
|
20802
20802
|
fieldRenderers: [
|
|
20803
20803
|
{
|
|
@@ -20838,9 +20838,9 @@ const xI = Ge({
|
|
|
20838
20838
|
}
|
|
20839
20839
|
}
|
|
20840
20840
|
]
|
|
20841
|
-
}), KI =
|
|
20841
|
+
}), KI = ze({
|
|
20842
20842
|
experimental: !0
|
|
20843
|
-
}), jI =
|
|
20843
|
+
}), jI = ze({
|
|
20844
20844
|
experimental: !0,
|
|
20845
20845
|
renderRules: {
|
|
20846
20846
|
bundles: [
|
|
@@ -20850,7 +20850,7 @@ const xI = Ge({
|
|
|
20850
20850
|
"config.redis": ["config.strategy", "redis"]
|
|
20851
20851
|
}
|
|
20852
20852
|
}
|
|
20853
|
-
}), DI =
|
|
20853
|
+
}), DI = ze({
|
|
20854
20854
|
experimental: !0,
|
|
20855
20855
|
fieldRenderers: [
|
|
20856
20856
|
{
|
|
@@ -20862,7 +20862,7 @@ const xI = Ge({
|
|
|
20862
20862
|
}
|
|
20863
20863
|
}
|
|
20864
20864
|
]
|
|
20865
|
-
}), qI =
|
|
20865
|
+
}), qI = ze({
|
|
20866
20866
|
experimental: !0,
|
|
20867
20867
|
fieldRenderers: [
|
|
20868
20868
|
{
|
|
@@ -20910,17 +20910,17 @@ const xI = Ge({
|
|
|
20910
20910
|
"config.vectordb.redis.cloud_authentication.azure_client_secret": ["config.vectordb.redis.cloud_authentication.auth_provider", "azure"],
|
|
20911
20911
|
"config.vectordb.redis.cloud_authentication.azure_tenant_id": ["config.vectordb.redis.cloud_authentication.auth_provider", "azure"]
|
|
20912
20912
|
}
|
|
20913
|
-
}, BI =
|
|
20913
|
+
}, BI = ze({
|
|
20914
20914
|
experimental: !0,
|
|
20915
20915
|
fieldRenderers: gm,
|
|
20916
20916
|
renderRules: hm
|
|
20917
|
-
}), UI =
|
|
20917
|
+
}), UI = ze({
|
|
20918
20918
|
experimental: !0,
|
|
20919
20919
|
fieldRenderers: gm,
|
|
20920
20920
|
renderRules: hm
|
|
20921
|
-
}), VI =
|
|
20921
|
+
}), VI = ze({
|
|
20922
20922
|
experimental: !0
|
|
20923
|
-
}), zI =
|
|
20923
|
+
}), zI = ze({
|
|
20924
20924
|
experimental: !0
|
|
20925
20925
|
}), GI = {
|
|
20926
20926
|
class: "kong-identity-field",
|
|
@@ -20978,7 +20978,7 @@ const xI = Ge({
|
|
|
20978
20978
|
e.loadingRealms ? (S(), Z(u(Ug), {
|
|
20979
20979
|
key: 0,
|
|
20980
20980
|
class: "kong-identity-options-skeleton"
|
|
20981
|
-
})) : (S(), le(
|
|
20981
|
+
})) : (S(), le(Ge, { key: 1 }, [
|
|
20982
20982
|
C(u(ii), {
|
|
20983
20983
|
card: "",
|
|
20984
20984
|
"card-orientation": "horizontal",
|
|
@@ -21098,7 +21098,7 @@ const xI = Ge({
|
|
|
21098
21098
|
};
|
|
21099
21099
|
return (l, s) => {
|
|
21100
21100
|
const d = xe("KSkeleton");
|
|
21101
|
-
return S(), le(
|
|
21101
|
+
return S(), le(Ge, null, [
|
|
21102
21102
|
e.loading ? (S(), Z(d, {
|
|
21103
21103
|
key: 0,
|
|
21104
21104
|
class: "kong-identity-principals-skeleton",
|
|
@@ -21268,7 +21268,7 @@ const xI = Ge({
|
|
|
21268
21268
|
const H = p("$.config"), U = ((D = H == null ? void 0 : H.fields) == null ? void 0 : D.map((re) => Object.keys(re)[0])) ?? [], $ = /* @__PURE__ */ new Set(["anonymous"]);
|
|
21269
21269
|
return !M.value && P.value !== "kong-identity" && $.add("realm"), d.value && w.value && !O.value && $.add("identity_realms"), U.filter((re) => !$.has(re));
|
|
21270
21270
|
});
|
|
21271
|
-
return (H, U) => (S(), le(
|
|
21271
|
+
return (H, U) => (S(), le(Ge, null, [
|
|
21272
21272
|
C(Gt, {
|
|
21273
21273
|
"as-child": "",
|
|
21274
21274
|
class: "ff-default-visible-fields",
|
|
@@ -21380,7 +21380,7 @@ const xI = Ge({
|
|
|
21380
21380
|
_: 1
|
|
21381
21381
|
}, 16));
|
|
21382
21382
|
}
|
|
21383
|
-
}), rT =
|
|
21383
|
+
}), rT = ze({
|
|
21384
21384
|
experimental: !0,
|
|
21385
21385
|
component: bm,
|
|
21386
21386
|
renderRules: {
|
|
@@ -21397,11 +21397,11 @@ const xI = Ge({
|
|
|
21397
21397
|
}
|
|
21398
21398
|
}
|
|
21399
21399
|
]
|
|
21400
|
-
}), sT =
|
|
21400
|
+
}), sT = ze({
|
|
21401
21401
|
experimental: !0
|
|
21402
|
-
}), lT =
|
|
21402
|
+
}), lT = ze({
|
|
21403
21403
|
experimental: !0
|
|
21404
|
-
}), uT =
|
|
21404
|
+
}), uT = ze({
|
|
21405
21405
|
experimental: !0,
|
|
21406
21406
|
fieldRenderers: [
|
|
21407
21407
|
{
|
|
@@ -21430,7 +21430,7 @@ const xI = Ge({
|
|
|
21430
21430
|
}
|
|
21431
21431
|
}
|
|
21432
21432
|
]
|
|
21433
|
-
}), cT =
|
|
21433
|
+
}), cT = ze({
|
|
21434
21434
|
experimental: !0,
|
|
21435
21435
|
fieldRenderers: [
|
|
21436
21436
|
{
|
|
@@ -21442,18 +21442,18 @@ const xI = Ge({
|
|
|
21442
21442
|
}
|
|
21443
21443
|
}
|
|
21444
21444
|
]
|
|
21445
|
-
}), dT =
|
|
21445
|
+
}), dT = ze({
|
|
21446
21446
|
experimental: !0
|
|
21447
|
-
}), pT =
|
|
21447
|
+
}), pT = ze({
|
|
21448
21448
|
experimental: !0,
|
|
21449
21449
|
fieldRenderers: [
|
|
21450
21450
|
{
|
|
21451
21451
|
match: ({ path: e }) => e === "config.methods" || e === "config.request_method",
|
|
21452
|
-
component:
|
|
21452
|
+
component: qt,
|
|
21453
21453
|
propsOverrides: { multiple: !0 }
|
|
21454
21454
|
}
|
|
21455
21455
|
]
|
|
21456
|
-
}), fT =
|
|
21456
|
+
}), fT = ze({
|
|
21457
21457
|
experimental: !0,
|
|
21458
21458
|
fieldRenderers: [
|
|
21459
21459
|
{
|
|
@@ -21906,7 +21906,7 @@ const xT = {
|
|
|
21906
21906
|
default: N(() => [
|
|
21907
21907
|
ee("div", $T, [
|
|
21908
21908
|
Le(ue(u(i)("plugins.free-form.datakit.description_example")) + " ", 1),
|
|
21909
|
-
(S(!0), le(
|
|
21909
|
+
(S(!0), le(Ge, null, et(u(wm), (O) => (S(), Z(u(Vn), {
|
|
21910
21910
|
key: O.id,
|
|
21911
21911
|
appearance: "secondary",
|
|
21912
21912
|
size: "small",
|
|
@@ -21972,7 +21972,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
21972
21972
|
resizable: { type: Boolean }
|
|
21973
21973
|
},
|
|
21974
21974
|
setup(e) {
|
|
21975
|
-
const { t } = Jt("en-us", on), n = me(!1), i = me(!1), { responsePanelCollapsed: o } = is(), { state: r, configNodeCounts: a, clearPendingLayout: l, setPendingFitView: s, commit: d, clear: f, portalSelection: c } =
|
|
21975
|
+
const { t } = Jt("en-us", on), n = me(!1), i = me(!1), { responsePanelCollapsed: o } = is(), { state: r, configNodeCounts: a, clearPendingLayout: l, setPendingFitView: s, commit: d, clear: f, portalSelection: c } = Ut(), p = Sa(), m = `${p}-request`, h = `${p}-response`, y = bo(m), _ = bo(h);
|
|
21976
21976
|
function v(pe, he) {
|
|
21977
21977
|
const { onPaneClick: Ke, onNodesChange: Be, onEdgesChange: je, getSelectedNodes: He, getSelectedEdges: Ye } = pe, { removeSelectedElements: rt } = he;
|
|
21978
21978
|
function ft(qe) {
|
|
@@ -22062,9 +22062,9 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22062
22062
|
ee("div", MT, [
|
|
22063
22063
|
Le(ue(u(t)("plugins.free-form.datakit.flow_editor.canvas_panel.request")) + " ", 1),
|
|
22064
22064
|
ee("span", LT, [
|
|
22065
|
-
u(a).request === 1 ? (S(), le(
|
|
22065
|
+
u(a).request === 1 ? (S(), le(Ge, { key: 0 }, [
|
|
22066
22066
|
Le(" (" + ue(u(t)("plugins.free-form.datakit.flow_editor.canvas_panel.node_count_singular")) + ") ", 1)
|
|
22067
|
-
], 64)) : (S(), le(
|
|
22067
|
+
], 64)) : (S(), le(Ge, { key: 1 }, [
|
|
22068
22068
|
Le(" (" + ue(u(t)("plugins.free-form.datakit.flow_editor.canvas_panel.node_count_plural", { count: u(a).request })) + ") ", 1)
|
|
22069
22069
|
], 64))
|
|
22070
22070
|
])
|
|
@@ -22104,9 +22104,9 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22104
22104
|
ee("div", FT, [
|
|
22105
22105
|
Le(ue(u(t)("plugins.free-form.datakit.flow_editor.canvas_panel.response")) + " ", 1),
|
|
22106
22106
|
ee("span", KT, [
|
|
22107
|
-
u(a).response === 1 ? (S(), le(
|
|
22107
|
+
u(a).response === 1 ? (S(), le(Ge, { key: 0 }, [
|
|
22108
22108
|
Le(" (" + ue(u(t)("plugins.free-form.datakit.flow_editor.canvas_panel.node_count_singular")) + ") ", 1)
|
|
22109
|
-
], 64)) : (S(), le(
|
|
22109
|
+
], 64)) : (S(), le(Ge, { key: 1 }, [
|
|
22110
22110
|
Le(" (" + ue(u(t)("plugins.free-form.datakit.flow_editor.canvas_panel.node_count_plural", { count: u(a).response })) + ") ", 1)
|
|
22111
22111
|
], 64))
|
|
22112
22112
|
])
|
|
@@ -22172,7 +22172,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22172
22172
|
ee("p", null, ue(a.value), 1),
|
|
22173
22173
|
ee("p", null, ue(u(i)("plugins.free-form.datakit.flow_editor.confirm.message.confirm")), 1),
|
|
22174
22174
|
ee("div", BT, [
|
|
22175
|
-
(S(!0), le(
|
|
22175
|
+
(S(!0), le(Ge, null, et(l.value ?? [], ([_, v]) => (S(), le("div", {
|
|
22176
22176
|
key: `${_}-${v}`,
|
|
22177
22177
|
class: "connection"
|
|
22178
22178
|
}, [
|
|
@@ -22181,7 +22181,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22181
22181
|
}, null, 8, ["color"]),
|
|
22182
22182
|
Le(" " + ue(_) + " → " + ue(v), 1)
|
|
22183
22183
|
]))), 128)),
|
|
22184
|
-
(S(!0), le(
|
|
22184
|
+
(S(!0), le(Ge, null, et(s.value ?? [], ([_, v]) => (S(), le("div", {
|
|
22185
22185
|
key: `${_}-${v}`,
|
|
22186
22186
|
class: "connection"
|
|
22187
22187
|
}, [
|
|
@@ -22213,7 +22213,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22213
22213
|
}
|
|
22214
22214
|
return (d, f) => (S(), le("nav", zT, [
|
|
22215
22215
|
ee("div", GT, [
|
|
22216
|
-
(S(), le(
|
|
22216
|
+
(S(), le(Ge, null, et(o, ({ label: c, to: p, icon: m, onClick: h }) => C(u(Gn), {
|
|
22217
22217
|
key: c,
|
|
22218
22218
|
"kpop-attributes": { offset: "10px" },
|
|
22219
22219
|
label: c,
|
|
@@ -22284,7 +22284,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22284
22284
|
}, t$ = /* @__PURE__ */ Pe({
|
|
22285
22285
|
__name: "EditorMain",
|
|
22286
22286
|
setup(e) {
|
|
22287
|
-
const { t } = Jt("en-us", on), { modalOpen: n, undo: i, redo: o, canUndo: r, canRedo: a, load: l } =
|
|
22287
|
+
const { t } = Jt("en-us", on), { modalOpen: n, undo: i, redo: o, canUndo: r, canRedo: a, load: l } = Ut();
|
|
22288
22288
|
function s(p) {
|
|
22289
22289
|
return t(`plugins.free-form.datakit.examples.${p}`);
|
|
22290
22290
|
}
|
|
@@ -22388,7 +22388,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22388
22388
|
width: 240
|
|
22389
22389
|
}, {
|
|
22390
22390
|
items: N(() => [
|
|
22391
|
-
(S(!0), le(
|
|
22391
|
+
(S(!0), le(Ge, null, et(u(wm), (h) => (S(), Z(u(nr), {
|
|
22392
22392
|
key: h.id,
|
|
22393
22393
|
onClick: (y) => d(h)
|
|
22394
22394
|
}, {
|
|
@@ -22478,7 +22478,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22478
22478
|
hideTitle: { type: Boolean }
|
|
22479
22479
|
},
|
|
22480
22480
|
setup(e) {
|
|
22481
|
-
const { t } = Jt("en-us", on), { createNode: n } =
|
|
22481
|
+
const { t } = Jt("en-us", on), { createNode: n } = Ut(), i = pt(mi.KM_2446_DATAKIT_JWT_NODES, !1), o = L(() => i ? ic : ic.filter(({ id: d }) => d !== "authentication")), r = `dk-drag-preview-${Sa()}`, a = pn(), l = L(() => a.value ? [
|
|
22482
22482
|
{
|
|
22483
22483
|
id: "preview",
|
|
22484
22484
|
type: "flow",
|
|
@@ -22529,13 +22529,13 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22529
22529
|
}, 8, ["info"])
|
|
22530
22530
|
])),
|
|
22531
22531
|
ee("div", p$, [
|
|
22532
|
-
(S(!0), le(
|
|
22532
|
+
(S(!0), le(Ge, null, et(o.value, (p) => (S(), le("section", {
|
|
22533
22533
|
key: p.id,
|
|
22534
22534
|
class: "node-group"
|
|
22535
22535
|
}, [
|
|
22536
22536
|
ee("h4", f$, ue(p.title), 1),
|
|
22537
22537
|
ee("div", m$, [
|
|
22538
|
-
(S(!0), le(
|
|
22538
|
+
(S(!0), le(Ge, null, et(p.nodes, (m) => (S(), Z(u$, {
|
|
22539
22539
|
key: m.type,
|
|
22540
22540
|
type: m.type,
|
|
22541
22541
|
onDragstart: s
|
|
@@ -22567,7 +22567,7 @@ function v$() {
|
|
|
22567
22567
|
renameField: o,
|
|
22568
22568
|
disconnectOutEdges: r,
|
|
22569
22569
|
nodeMapByName: a
|
|
22570
|
-
} =
|
|
22570
|
+
} = Ut(), l = t("vault");
|
|
22571
22571
|
if (!l) throw new Error("no vault node");
|
|
22572
22572
|
const s = L(() => {
|
|
22573
22573
|
var h;
|
|
@@ -22748,7 +22748,7 @@ const _$ = /* @__PURE__ */ Pe({
|
|
|
22748
22748
|
_: 1
|
|
22749
22749
|
}),
|
|
22750
22750
|
ee("div", k$, [
|
|
22751
|
-
(S(!0), le(
|
|
22751
|
+
(S(!0), le(Ge, null, et(u(o), ([P, R]) => (S(), le(Ge, { key: P }, [
|
|
22752
22752
|
R ? (S(), le("div", C$, [
|
|
22753
22753
|
ee("div", E$, [
|
|
22754
22754
|
C(u(dl), {
|
|
@@ -22875,7 +22875,7 @@ const T$ = { key: 1 }, $$ = ["innerHTML"], O$ = { class: "horizontal-container"
|
|
|
22875
22875
|
} : void 0
|
|
22876
22876
|
]), 1040),
|
|
22877
22877
|
ee("div", O$, [
|
|
22878
|
-
(S(!0), le(
|
|
22878
|
+
(S(!0), le(Ge, null, et(l.value, (h) => (S(), Z(u(ii), {
|
|
22879
22879
|
key: h.value,
|
|
22880
22880
|
"model-value": u(r).value.value,
|
|
22881
22881
|
"onUpdate:modelValue": [
|
|
@@ -23104,7 +23104,7 @@ const T$ = { key: 1 }, $$ = ["innerHTML"], O$ = { class: "horizontal-container"
|
|
|
23104
23104
|
function s(y, _, v) {
|
|
23105
23105
|
v && v !== y && a(v, y, !1), r(y, _);
|
|
23106
23106
|
}
|
|
23107
|
-
const { state: d, commit: f } =
|
|
23107
|
+
const { state: d, commit: f } = Ut(), c = L(() => ({ cache: d.value.cacheConfig }));
|
|
23108
23108
|
function p(y) {
|
|
23109
23109
|
d.value.cacheConfig = y.cache, f();
|
|
23110
23110
|
}
|
|
@@ -23153,7 +23153,7 @@ const T$ = { key: 1 }, $$ = ["innerHTML"], O$ = { class: "horizontal-container"
|
|
|
23153
23153
|
}), H$ = /* @__PURE__ */ Ve(G$, [["__scopeId", "data-v-9093c001"]]), W$ = { class: "header" }, Y$ = { class: "title" }, J$ = { class: "body" }, X$ = { class: "panel" }, Z$ = /* @__PURE__ */ Pe({
|
|
23154
23154
|
__name: "SidePanel",
|
|
23155
23155
|
setup(e) {
|
|
23156
|
-
const { t } = Jt("en-us", on), { sidePanelExpanded: n } = is(), { propertiesPanelOpen: i, selectedNode: o } =
|
|
23156
|
+
const { t } = Jt("en-us", on), { sidePanelExpanded: n } = is(), { propertiesPanelOpen: i, selectedNode: o } = Ut(), r = me("nodes");
|
|
23157
23157
|
function a() {
|
|
23158
23158
|
i.value = !1;
|
|
23159
23159
|
}
|
|
@@ -23201,7 +23201,7 @@ const T$ = { key: 1 }, $$ = ["innerHTML"], O$ = { class: "horizontal-container"
|
|
|
23201
23201
|
name: {}
|
|
23202
23202
|
},
|
|
23203
23203
|
setup(e) {
|
|
23204
|
-
return (t, n) => (S(), Z(
|
|
23204
|
+
return (t, n) => (S(), Z(qt, {
|
|
23205
23205
|
items: u(ql)([...u(Np)]),
|
|
23206
23206
|
name: e.name
|
|
23207
23207
|
}, null, 8, ["items", "name"]));
|
|
@@ -23845,7 +23845,7 @@ const Kn = J.object({
|
|
|
23845
23845
|
"reset-label-path": "isolate"
|
|
23846
23846
|
}, {
|
|
23847
23847
|
default: N(() => [
|
|
23848
|
-
(S(!0), le(
|
|
23848
|
+
(S(!0), le(Ge, null, et(i.value, (a) => (S(), Z(qt, {
|
|
23849
23849
|
key: a,
|
|
23850
23850
|
clearable: "",
|
|
23851
23851
|
"enable-filtering": "",
|
|
@@ -23972,7 +23972,7 @@ const Kn = J.object({
|
|
|
23972
23972
|
ref: p,
|
|
23973
23973
|
class: "dk-inputs-map-field"
|
|
23974
23974
|
}, [
|
|
23975
|
-
(S(!0), le(
|
|
23975
|
+
(S(!0), le(Ge, null, et(v.value, ([F, X], M) => {
|
|
23976
23976
|
var W;
|
|
23977
23977
|
return S(), le("div", {
|
|
23978
23978
|
key: F,
|
|
@@ -24096,7 +24096,7 @@ const Kn = J.object({
|
|
|
24096
24096
|
function c(p, m) {
|
|
24097
24097
|
n("rename:field", p, m);
|
|
24098
24098
|
}
|
|
24099
|
-
return (p, m) => (S(), le(
|
|
24099
|
+
return (p, m) => (S(), le(Ge, null, [
|
|
24100
24100
|
C(u(gn), {
|
|
24101
24101
|
class: "dk-inputs-field-h1",
|
|
24102
24102
|
info: u(o)("plugins.free-form.datakit.flow_editor.node_properties.input.tooltip")
|
|
@@ -24106,7 +24106,7 @@ const Kn = J.object({
|
|
|
24106
24106
|
]),
|
|
24107
24107
|
_: 1
|
|
24108
24108
|
}, 8, ["info"]),
|
|
24109
|
-
u(i)("input") ? (S(), Z(
|
|
24109
|
+
u(i)("input") ? (S(), Z(qt, {
|
|
24110
24110
|
key: 0,
|
|
24111
24111
|
class: "dk-inputs-field-h2",
|
|
24112
24112
|
clearable: "",
|
|
@@ -24396,7 +24396,7 @@ function Ao(e = -1 / 0, t = 1 / 0, n) {
|
|
|
24396
24396
|
};
|
|
24397
24397
|
}
|
|
24398
24398
|
function yP(e, t) {
|
|
24399
|
-
const { state: n } =
|
|
24399
|
+
const { state: n } = Ut(), { i18n: { t: i } } = it();
|
|
24400
24400
|
return function(r) {
|
|
24401
24401
|
if (n.value.nodes.some((a) => a.name === r && a.id !== e))
|
|
24402
24402
|
return t ? typeof t == "string" ? t : i("plugins.free-form.datakit.flow_editor.node_properties.errors.not_unique", t) : "Name must be unique.";
|
|
@@ -24429,7 +24429,7 @@ function Mm(e) {
|
|
|
24429
24429
|
);
|
|
24430
24430
|
}
|
|
24431
24431
|
function bP(e) {
|
|
24432
|
-
const { i18n: { t } } = it(), { getNodeById: n } =
|
|
24432
|
+
const { i18n: { t } } = it(), { getNodeById: n } = Ut();
|
|
24433
24433
|
return function(o, r, a) {
|
|
24434
24434
|
const l = {
|
|
24435
24435
|
fieldName: t(o === "input" ? "plugins.free-form.datakit.flow_editor.node_properties.input_name.label" : "plugins.free-form.datakit.flow_editor.node_properties.output_value.value_name")
|
|
@@ -24483,7 +24483,7 @@ function wi(e) {
|
|
|
24483
24483
|
validationConfig: t,
|
|
24484
24484
|
getValidationData: n,
|
|
24485
24485
|
toggleNodeValid: i
|
|
24486
|
-
} = e, { skipValidation: o } =
|
|
24486
|
+
} = e, { skipValidation: o } = Ut(), r = L(() => typeof t == "function" ? t() : t), a = L(() => wP(r.value)), l = L(() => a.value.fields), s = L(() => a.value.isValid.value);
|
|
24487
24487
|
function d() {
|
|
24488
24488
|
const c = n(), p = a.value.validate(c), m = {};
|
|
24489
24489
|
for (const h in r.value)
|
|
@@ -24538,7 +24538,7 @@ function vn(e, t) {
|
|
|
24538
24538
|
invalidConfigNodeIds: c,
|
|
24539
24539
|
commit: p,
|
|
24540
24540
|
revert: m
|
|
24541
|
-
} =
|
|
24541
|
+
} = Ut(), { i18n: { t: h } } = it(), y = Up(), _ = L(() => {
|
|
24542
24542
|
const F = o(e);
|
|
24543
24543
|
if (!F) throw new Error("Node not existed");
|
|
24544
24544
|
return F;
|
|
@@ -25150,7 +25150,7 @@ const jn = /* @__PURE__ */ Pe({
|
|
|
25150
25150
|
]),
|
|
25151
25151
|
_: 1
|
|
25152
25152
|
}),
|
|
25153
|
-
(S(!0), le(
|
|
25153
|
+
(S(!0), le(Ge, null, et(d.value, (oe, F) => (S(), Z(G, {
|
|
25154
25154
|
key: oe.id,
|
|
25155
25155
|
class: "dk-output-value-field-entry",
|
|
25156
25156
|
"data-testid": `ff-kv-container-${a.path.value}.${F}`
|
|
@@ -25251,7 +25251,7 @@ const $P = /* @__PURE__ */ Pe({
|
|
|
25251
25251
|
removeField: r,
|
|
25252
25252
|
replaceConfig: a,
|
|
25253
25253
|
getNodeById: l
|
|
25254
|
-
} =
|
|
25254
|
+
} = Ut(), { fieldNameValidator: s } = vn(e.nodeId), d = _n("static"), f = Mm(e.nodeId), c = L(() => l(e.nodeId)), p = L(() => {
|
|
25255
25255
|
var x;
|
|
25256
25256
|
return ((x = c.value) == null ? void 0 : x.fields.output.map((E) => E.name)) || [];
|
|
25257
25257
|
});
|
|
@@ -25374,7 +25374,7 @@ const $P = /* @__PURE__ */ Pe({
|
|
|
25374
25374
|
s.value = qs(m), a.value = Zo(m);
|
|
25375
25375
|
}), (m, h) => {
|
|
25376
25376
|
const y = xe("KBadge"), _ = xe("KSelect"), v = xe("KInput");
|
|
25377
|
-
return S(), le(
|
|
25377
|
+
return S(), le(Ge, null, [
|
|
25378
25378
|
(S(), Z(_, {
|
|
25379
25379
|
key: d.value,
|
|
25380
25380
|
"enable-filtering": "",
|
|
@@ -25443,7 +25443,7 @@ const $P = /* @__PURE__ */ Pe({
|
|
|
25443
25443
|
nodeId: {}
|
|
25444
25444
|
},
|
|
25445
25445
|
setup(e) {
|
|
25446
|
-
const t = xt("form"), { selectedNode: n, disconnectInEdges: i, disconnectOutEdges: o } =
|
|
25446
|
+
const t = xt("form"), { selectedNode: n, disconnectInEdges: i, disconnectOutEdges: o } = Ut(), r = _n("property"), {
|
|
25447
25447
|
formData: a,
|
|
25448
25448
|
setName: l,
|
|
25449
25449
|
setConfig: s,
|
|
@@ -25490,7 +25490,7 @@ const $P = /* @__PURE__ */ Pe({
|
|
|
25490
25490
|
validate: u(m),
|
|
25491
25491
|
onUpdate: u(l)
|
|
25492
25492
|
}, null, 8, ["name", "validate", "onUpdate"]),
|
|
25493
|
-
C(
|
|
25493
|
+
C(qt, {
|
|
25494
25494
|
name: "content_type",
|
|
25495
25495
|
onUpdate: E[0] || (E[0] = (k) => u(s)())
|
|
25496
25496
|
}),
|
|
@@ -25590,7 +25590,7 @@ function KP(e) {
|
|
|
25590
25590
|
getNodeById: i,
|
|
25591
25591
|
branchGroups: o,
|
|
25592
25592
|
commit: r
|
|
25593
|
-
} =
|
|
25593
|
+
} = Ut(), { i18n: { t: a } } = it(), l = Up(), s = Rl(), d = L(() => {
|
|
25594
25594
|
var x;
|
|
25595
25595
|
const v = { ...t.formData.value }, b = va(((x = t.currentNode.value) == null ? void 0 : x.type) || "branch");
|
|
25596
25596
|
for (const E of b)
|
|
@@ -25701,7 +25701,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
25701
25701
|
]),
|
|
25702
25702
|
_: 1
|
|
25703
25703
|
}),
|
|
25704
|
-
C(
|
|
25704
|
+
C(qt, {
|
|
25705
25705
|
"enable-filtering": "",
|
|
25706
25706
|
items: u(l),
|
|
25707
25707
|
multiple: "",
|
|
@@ -25713,7 +25713,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
25713
25713
|
]),
|
|
25714
25714
|
_: 1
|
|
25715
25715
|
}, 8, ["items"]),
|
|
25716
|
-
C(
|
|
25716
|
+
C(qt, {
|
|
25717
25717
|
"enable-filtering": "",
|
|
25718
25718
|
items: u(l),
|
|
25719
25719
|
multiple: "",
|
|
@@ -26148,7 +26148,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26148
26148
|
]),
|
|
26149
26149
|
_: 1
|
|
26150
26150
|
}),
|
|
26151
|
-
C(
|
|
26151
|
+
C(qt, {
|
|
26152
26152
|
"enable-filtering": "",
|
|
26153
26153
|
name: "algorithm",
|
|
26154
26154
|
onUpdate: u(y).update
|
|
@@ -26241,7 +26241,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26241
26241
|
]),
|
|
26242
26242
|
_: 1
|
|
26243
26243
|
}),
|
|
26244
|
-
C(
|
|
26244
|
+
C(qt, {
|
|
26245
26245
|
"enable-filtering": "",
|
|
26246
26246
|
multiple: "",
|
|
26247
26247
|
name: "allowed_algorithms",
|
|
@@ -26330,7 +26330,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26330
26330
|
},
|
|
26331
26331
|
emits: ["close"],
|
|
26332
26332
|
setup(e) {
|
|
26333
|
-
const { t } = Jt("en-us", on), { getNodeById: n, branchGroups: i } =
|
|
26333
|
+
const { t } = Jt("en-us", on), { getNodeById: n, branchGroups: i } = Ut(), o = L(() => e.nodeId && n(e.nodeId)), r = L(() => {
|
|
26334
26334
|
if (e.nodeId)
|
|
26335
26335
|
return i.findMembership(e.nodeId);
|
|
26336
26336
|
}), a = L(() => {
|
|
@@ -26444,7 +26444,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26444
26444
|
}), XP = /* @__PURE__ */ Ve(JP, [["__scopeId", "data-v-32602117"]]), ZP = { class: "dk-editor-content" }, QP = { class: "main" }, eN = /* @__PURE__ */ Pe({
|
|
26445
26445
|
__name: "EditorContent",
|
|
26446
26446
|
setup(e) {
|
|
26447
|
-
const { propertiesPanelOpen: t, selectedNode: n } =
|
|
26447
|
+
const { propertiesPanelOpen: t, selectedNode: n } = Ut();
|
|
26448
26448
|
function i() {
|
|
26449
26449
|
t.value = !1;
|
|
26450
26450
|
}
|
|
@@ -26484,7 +26484,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26484
26484
|
v0a30a280: `${u(cy)}px`,
|
|
26485
26485
|
aee7cc1c: `${u(Ad)}px`
|
|
26486
26486
|
}));
|
|
26487
|
-
const t = hi(e, "open"), n = me(!1), i = xt("confirm-modal"), { clear: o } =
|
|
26487
|
+
const t = hi(e, "open"), n = me(!1), i = xt("confirm-modal"), { clear: o } = Ut();
|
|
26488
26488
|
Y1(async (...l) => {
|
|
26489
26489
|
n.value = !0;
|
|
26490
26490
|
const s = await i.value.open(...l);
|
|
@@ -26663,7 +26663,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26663
26663
|
error: k
|
|
26664
26664
|
});
|
|
26665
26665
|
}
|
|
26666
|
-
return (k, w) => (S(), le(
|
|
26666
|
+
return (k, w) => (S(), le(Ge, null, [
|
|
26667
26667
|
u(o).app === "konnect" ? (S(), Z(Or, {
|
|
26668
26668
|
key: 0,
|
|
26669
26669
|
disabled: !r.value,
|
|
@@ -26724,9 +26724,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26724
26724
|
}, 16, ["editor-mode"])
|
|
26725
26725
|
], 64));
|
|
26726
26726
|
}
|
|
26727
|
-
}), mN = /* @__PURE__ */ Ve(fN, [["__scopeId", "data-v-99d4e7f0"]]), gN =
|
|
26727
|
+
}), mN = /* @__PURE__ */ Ve(fN, [["__scopeId", "data-v-99d4e7f0"]]), gN = ze({
|
|
26728
26728
|
component: mN
|
|
26729
|
-
}), hN =
|
|
26729
|
+
}), hN = ze({
|
|
26730
26730
|
experimental: !0,
|
|
26731
26731
|
fieldRenderers: [
|
|
26732
26732
|
{
|
|
@@ -26739,7 +26739,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26739
26739
|
})
|
|
26740
26740
|
}
|
|
26741
26741
|
]
|
|
26742
|
-
}), yN =
|
|
26742
|
+
}), yN = ze({
|
|
26743
26743
|
experimental: !0,
|
|
26744
26744
|
fieldRenderers: [
|
|
26745
26745
|
{
|
|
@@ -26750,9 +26750,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26750
26750
|
}
|
|
26751
26751
|
}
|
|
26752
26752
|
]
|
|
26753
|
-
}), vN =
|
|
26753
|
+
}), vN = ze({
|
|
26754
26754
|
experimental: !0
|
|
26755
|
-
}), _N =
|
|
26755
|
+
}), _N = ze({
|
|
26756
26756
|
experimental: !0,
|
|
26757
26757
|
renderRules: {
|
|
26758
26758
|
bundles: [
|
|
@@ -26762,7 +26762,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26762
26762
|
"config.redis": ["config.strategy", "redis"]
|
|
26763
26763
|
}
|
|
26764
26764
|
}
|
|
26765
|
-
}), bN =
|
|
26765
|
+
}), bN = ze({
|
|
26766
26766
|
experimental: !0,
|
|
26767
26767
|
renderRules: {
|
|
26768
26768
|
bundles: [
|
|
@@ -26772,16 +26772,18 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26772
26772
|
"config.redis": ["config.strategy", "redis"]
|
|
26773
26773
|
}
|
|
26774
26774
|
}
|
|
26775
|
-
}), wN =
|
|
26775
|
+
}), wN = ze({
|
|
26776
26776
|
experimental: !0,
|
|
26777
26777
|
fieldRenderers: [
|
|
26778
26778
|
{
|
|
26779
26779
|
match: "config.consumer_by",
|
|
26780
|
-
component:
|
|
26780
|
+
component: qt,
|
|
26781
26781
|
propsOverrides: { multiple: !0 }
|
|
26782
26782
|
}
|
|
26783
26783
|
]
|
|
26784
|
-
}), kN =
|
|
26784
|
+
}), kN = ze({
|
|
26785
|
+
experimental: !0
|
|
26786
|
+
}), CN = ze({
|
|
26785
26787
|
experimental: !0,
|
|
26786
26788
|
fieldRenderers: [
|
|
26787
26789
|
{
|
|
@@ -26792,9 +26794,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26792
26794
|
}
|
|
26793
26795
|
}
|
|
26794
26796
|
]
|
|
26795
|
-
}),
|
|
26797
|
+
}), EN = ze({
|
|
26796
26798
|
experimental: !0
|
|
26797
|
-
}),
|
|
26799
|
+
}), xN = ze({
|
|
26798
26800
|
experimental: !0
|
|
26799
26801
|
}), Hc = /* @__PURE__ */ Pe({
|
|
26800
26802
|
inheritAttrs: !1,
|
|
@@ -26838,7 +26840,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26838
26840
|
name: e.name
|
|
26839
26841
|
}), null, 16, ["error", "error-message", "name"]));
|
|
26840
26842
|
}
|
|
26841
|
-
}),
|
|
26843
|
+
}), SN = /* @__PURE__ */ Pe({
|
|
26842
26844
|
__name: "JwtSignerForm",
|
|
26843
26845
|
props: {
|
|
26844
26846
|
schema: {},
|
|
@@ -26891,11 +26893,11 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26891
26893
|
_: 1
|
|
26892
26894
|
}, 16));
|
|
26893
26895
|
}
|
|
26894
|
-
}),
|
|
26895
|
-
component:
|
|
26896
|
-
}),
|
|
26896
|
+
}), AN = ze({
|
|
26897
|
+
component: SN
|
|
26898
|
+
}), IN = ze({
|
|
26897
26899
|
experimental: !0
|
|
26898
|
-
}),
|
|
26900
|
+
}), TN = ze({
|
|
26899
26901
|
experimental: !0,
|
|
26900
26902
|
fieldRenderers: [
|
|
26901
26903
|
{
|
|
@@ -26924,7 +26926,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26924
26926
|
}
|
|
26925
26927
|
}
|
|
26926
26928
|
]
|
|
26927
|
-
}),
|
|
26929
|
+
}), $N = ze({
|
|
26928
26930
|
experimental: !0,
|
|
26929
26931
|
fieldRenderers: [
|
|
26930
26932
|
{
|
|
@@ -26935,7 +26937,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26935
26937
|
}
|
|
26936
26938
|
}
|
|
26937
26939
|
]
|
|
26938
|
-
}),
|
|
26940
|
+
}), ON = ze({
|
|
26939
26941
|
experimental: !0,
|
|
26940
26942
|
fieldRenderers: [
|
|
26941
26943
|
{
|
|
@@ -26947,7 +26949,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26947
26949
|
}
|
|
26948
26950
|
}
|
|
26949
26951
|
]
|
|
26950
|
-
}),
|
|
26952
|
+
}), PN = ze({
|
|
26953
|
+
experimental: !0
|
|
26954
|
+
}), NN = ze({
|
|
26951
26955
|
experimental: !0,
|
|
26952
26956
|
component: bm,
|
|
26953
26957
|
fieldRenderers: [
|
|
@@ -26970,13 +26974,24 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26970
26974
|
}
|
|
26971
26975
|
}
|
|
26972
26976
|
]
|
|
26973
|
-
}),
|
|
26977
|
+
}), RN = ze({
|
|
26978
|
+
experimental: !0,
|
|
26979
|
+
fieldRenderers: [
|
|
26980
|
+
{
|
|
26981
|
+
match: "config.consumer_by",
|
|
26982
|
+
component: qt,
|
|
26983
|
+
propsOverrides: { multiple: !0 }
|
|
26984
|
+
}
|
|
26985
|
+
]
|
|
26986
|
+
}), MN = ze({
|
|
26987
|
+
experimental: !0
|
|
26988
|
+
}), LN = { class: "ff-collapsible-section" }, FN = { class: "ff-collapsible-section-header" }, KN = { class: "ff-collapsible-section-header-toggle" }, jN = {
|
|
26974
26989
|
key: 0,
|
|
26975
26990
|
class: "ff-collapsible-section-content"
|
|
26976
|
-
},
|
|
26991
|
+
}, DN = {
|
|
26977
26992
|
key: 0,
|
|
26978
26993
|
class: "ff-collapsible-section-indent-guide"
|
|
26979
|
-
},
|
|
26994
|
+
}, qN = /* @__PURE__ */ Pe({
|
|
26980
26995
|
__name: "CollapsibleSection",
|
|
26981
26996
|
props: /* @__PURE__ */ yi({
|
|
26982
26997
|
label: {}
|
|
@@ -26987,9 +27002,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26987
27002
|
emits: ["update:expanded"],
|
|
26988
27003
|
setup(e) {
|
|
26989
27004
|
const t = hi(e, "expanded");
|
|
26990
|
-
return (n, i) => (S(), le("div",
|
|
26991
|
-
ee("header",
|
|
26992
|
-
ee("div",
|
|
27005
|
+
return (n, i) => (S(), le("div", LN, [
|
|
27006
|
+
ee("header", FN, [
|
|
27007
|
+
ee("div", KN, [
|
|
26993
27008
|
ee("button", {
|
|
26994
27009
|
class: "ff-collapsible-section-toggle-btn",
|
|
26995
27010
|
type: "button",
|
|
@@ -27011,16 +27026,16 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27011
27026
|
]),
|
|
27012
27027
|
C(Ur, null, {
|
|
27013
27028
|
default: N(() => [
|
|
27014
|
-
t.value ? (S(), le("div",
|
|
27029
|
+
t.value ? (S(), le("div", jN, [
|
|
27015
27030
|
Qe(n.$slots, "default", {}, void 0, !0)
|
|
27016
27031
|
])) : ye("", !0)
|
|
27017
27032
|
]),
|
|
27018
27033
|
_: 3
|
|
27019
27034
|
}),
|
|
27020
|
-
t.value ? (S(), le("div",
|
|
27035
|
+
t.value ? (S(), le("div", DN)) : ye("", !0)
|
|
27021
27036
|
]));
|
|
27022
27037
|
}
|
|
27023
|
-
}), Es = /* @__PURE__ */ Ve(
|
|
27038
|
+
}), Es = /* @__PURE__ */ Ve(qN, [["__scopeId", "data-v-39f2a44b"]]), BN = { class: "ff-mb-subject" }, UN = { class: "ff-mb-attributes" }, VN = { class: "ff-metering-billing-inline-row" }, zN = { class: "ff-mb-queue" }, GN = /* @__PURE__ */ Pe({
|
|
27024
27039
|
__name: "MeteringAndBillingForm",
|
|
27025
27040
|
props: {
|
|
27026
27041
|
schema: {},
|
|
@@ -27097,7 +27112,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27097
27112
|
match: ({ path: p }) => p === "config.subject.look_up_value_in"
|
|
27098
27113
|
}, {
|
|
27099
27114
|
default: N((p) => [
|
|
27100
|
-
C(
|
|
27115
|
+
C(qt, We(p, {
|
|
27101
27116
|
help: u(i)("plugins.free-form.metering-and-billing.fields.look_up_value_in.help"),
|
|
27102
27117
|
label: u(i)("plugins.free-form.metering-and-billing.fields.look_up_value_in.label")
|
|
27103
27118
|
}), null, 16, ["help", "label"])
|
|
@@ -27209,7 +27224,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27209
27224
|
]),
|
|
27210
27225
|
_: 1
|
|
27211
27226
|
}, 8, ["expanded", "label"]),
|
|
27212
|
-
ee("div",
|
|
27227
|
+
ee("div", BN, [
|
|
27213
27228
|
C(Gt, {
|
|
27214
27229
|
label: u(i)("plugins.free-form.metering-and-billing.sections.subject.title"),
|
|
27215
27230
|
name: "config.subject",
|
|
@@ -27227,7 +27242,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27227
27242
|
label: u(i)("plugins.free-form.metering-and-billing.fields.attributes.title")
|
|
27228
27243
|
}, {
|
|
27229
27244
|
default: N(() => [
|
|
27230
|
-
ee("div",
|
|
27245
|
+
ee("div", UN, [
|
|
27231
27246
|
C(Rt, {
|
|
27232
27247
|
"hide-label": "",
|
|
27233
27248
|
name: "config.attributes"
|
|
@@ -27248,7 +27263,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27248
27263
|
}, null, 8, ["help"]),
|
|
27249
27264
|
C(st, { name: "config.api_token" }),
|
|
27250
27265
|
C(st, { name: "config.ssl_verify" }),
|
|
27251
|
-
ee("div",
|
|
27266
|
+
ee("div", VN, [
|
|
27252
27267
|
C(st, { name: "config.timeout" }),
|
|
27253
27268
|
C(st, { name: "config.keepalive" })
|
|
27254
27269
|
])
|
|
@@ -27261,7 +27276,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27261
27276
|
"hide-general-fields": ""
|
|
27262
27277
|
}, {
|
|
27263
27278
|
default: N(() => [
|
|
27264
|
-
ee("div",
|
|
27279
|
+
ee("div", zN, [
|
|
27265
27280
|
C(u(gn), { class: "ff-mb-queue-label" }, {
|
|
27266
27281
|
default: N(() => [
|
|
27267
27282
|
Le(ue(u(i)("plugins.free-form.metering-and-billing.sections.queue.title")), 1)
|
|
@@ -27281,10 +27296,10 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27281
27296
|
_: 1
|
|
27282
27297
|
}, 16, ["plugin-config-description"]));
|
|
27283
27298
|
}
|
|
27284
|
-
}),
|
|
27299
|
+
}), HN = /* @__PURE__ */ Ve(GN, [["__scopeId", "data-v-78972733"]]), WN = ze({
|
|
27285
27300
|
experimental: !0,
|
|
27286
|
-
component:
|
|
27287
|
-
}),
|
|
27301
|
+
component: HN
|
|
27302
|
+
}), YN = ze({
|
|
27288
27303
|
experimental: !0,
|
|
27289
27304
|
fieldRenderers: [
|
|
27290
27305
|
{
|
|
@@ -27296,16 +27311,16 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27296
27311
|
}
|
|
27297
27312
|
}
|
|
27298
27313
|
]
|
|
27299
|
-
}),
|
|
27314
|
+
}), JN = ze({
|
|
27300
27315
|
experimental: !0,
|
|
27301
27316
|
fieldRenderers: [
|
|
27302
27317
|
{
|
|
27303
27318
|
match: "config.consumer_by",
|
|
27304
|
-
component:
|
|
27319
|
+
component: qt,
|
|
27305
27320
|
propsOverrides: { multiple: !0 }
|
|
27306
27321
|
}
|
|
27307
27322
|
]
|
|
27308
|
-
}),
|
|
27323
|
+
}), XN = ze({
|
|
27309
27324
|
experimental: !0,
|
|
27310
27325
|
fieldRenderers: [
|
|
27311
27326
|
{
|
|
@@ -27317,9 +27332,11 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27317
27332
|
}
|
|
27318
27333
|
}
|
|
27319
27334
|
]
|
|
27320
|
-
}),
|
|
27335
|
+
}), ZN = ze({
|
|
27336
|
+
experimental: !0
|
|
27337
|
+
}), QN = ze({
|
|
27321
27338
|
experimental: !0
|
|
27322
|
-
}),
|
|
27339
|
+
}), eR = ze({
|
|
27323
27340
|
experimental: !0,
|
|
27324
27341
|
fieldRenderers: [
|
|
27325
27342
|
{
|
|
@@ -27330,7 +27347,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27330
27347
|
}
|
|
27331
27348
|
}
|
|
27332
27349
|
]
|
|
27333
|
-
}),
|
|
27350
|
+
}), tR = ze({
|
|
27334
27351
|
experimental: !0,
|
|
27335
27352
|
fieldRenderers: [
|
|
27336
27353
|
{
|
|
@@ -27354,7 +27371,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27354
27371
|
}
|
|
27355
27372
|
}
|
|
27356
27373
|
]
|
|
27357
|
-
}),
|
|
27374
|
+
}), nR = ze({
|
|
27358
27375
|
experimental: !0,
|
|
27359
27376
|
fieldRenderers: [
|
|
27360
27377
|
{
|
|
@@ -27378,9 +27395,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27378
27395
|
}
|
|
27379
27396
|
}
|
|
27380
27397
|
]
|
|
27381
|
-
}),
|
|
27398
|
+
}), iR = ze({
|
|
27382
27399
|
experimental: !0
|
|
27383
|
-
}),
|
|
27400
|
+
}), oR = ze({
|
|
27384
27401
|
experimental: !0,
|
|
27385
27402
|
renderRules: {
|
|
27386
27403
|
bundles: [
|
|
@@ -27393,23 +27410,23 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27393
27410
|
fieldRenderers: [
|
|
27394
27411
|
{
|
|
27395
27412
|
match: ({ path: e }) => e === "config.methods" || e === "config.request_method",
|
|
27396
|
-
component:
|
|
27413
|
+
component: qt,
|
|
27397
27414
|
propsOverrides: { multiple: !0 }
|
|
27398
27415
|
}
|
|
27399
27416
|
]
|
|
27400
|
-
}),
|
|
27417
|
+
}), aR = ze({
|
|
27401
27418
|
experimental: !0,
|
|
27402
27419
|
fieldRenderers: [
|
|
27403
27420
|
{
|
|
27404
27421
|
match: ({ path: e }) => e === "config.methods" || e === "config.request_method",
|
|
27405
|
-
component:
|
|
27422
|
+
component: qt,
|
|
27406
27423
|
propsOverrides: { multiple: !0 }
|
|
27407
27424
|
}
|
|
27408
27425
|
]
|
|
27409
|
-
}),
|
|
27426
|
+
}), rR = { class: "rla-form-request-limits-subtitle" }, sR = { class: "rla-form-request-limits-content" }, lR = { class: "rla-form-window-type" }, uR = { class: "rla-form-request-limits-items" }, cR = { class: "rla-form-request-limits-row" }, dR = ["id"], pR = { class: "rla-form-request-limits-actions" }, fR = {
|
|
27410
27427
|
key: 0,
|
|
27411
27428
|
class: "rla-form-request-limits-examples"
|
|
27412
|
-
},
|
|
27429
|
+
}, mR = { class: "rla-form-request-limits-examples-badges" }, xs = "config.window_type", gR = /* @__PURE__ */ Pe({
|
|
27413
27430
|
__name: "RequestLimitsForm",
|
|
27414
27431
|
setup(e) {
|
|
27415
27432
|
var _;
|
|
@@ -27506,11 +27523,11 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27506
27523
|
]),
|
|
27507
27524
|
_: 1
|
|
27508
27525
|
}),
|
|
27509
|
-
ee("div",
|
|
27526
|
+
ee("div", rR, ue(u(t)("sp.request_limits.subtitle")), 1)
|
|
27510
27527
|
]),
|
|
27511
27528
|
default: N(() => [
|
|
27512
|
-
ee("div",
|
|
27513
|
-
ee("div",
|
|
27529
|
+
ee("div", sR, [
|
|
27530
|
+
ee("div", lR, [
|
|
27514
27531
|
C(pu, {
|
|
27515
27532
|
items: c.value,
|
|
27516
27533
|
label: u(t)("sp.window_type.label"),
|
|
@@ -27518,8 +27535,8 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27518
27535
|
"onUpdate:modelValue": b[0] || (b[0] = (O) => p.value = void 0)
|
|
27519
27536
|
}, null, 8, ["items", "label"])
|
|
27520
27537
|
]),
|
|
27521
|
-
ee("div",
|
|
27522
|
-
(S(!0), le(
|
|
27538
|
+
ee("div", uR, [
|
|
27539
|
+
(S(!0), le(Ge, null, et(r.value, (O, q) => (S(), le("div", {
|
|
27523
27540
|
key: u(a)(O, q)
|
|
27524
27541
|
}, [
|
|
27525
27542
|
C(x, {
|
|
@@ -27530,7 +27547,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27530
27547
|
]),
|
|
27531
27548
|
_: 2
|
|
27532
27549
|
}, 1032, ["for"]),
|
|
27533
|
-
ee("div",
|
|
27550
|
+
ee("div", cR, [
|
|
27534
27551
|
ee("legend", {
|
|
27535
27552
|
id: `rla-form-request-limits-item-${q}-legend`,
|
|
27536
27553
|
class: "rla-form-request-limits-inputs"
|
|
@@ -27545,8 +27562,8 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27545
27562
|
placeholder: u(t)("sp.request_limits.time_interval")
|
|
27546
27563
|
}, null, 8, ["name", "placeholder"]),
|
|
27547
27564
|
ee("div", null, ue(u(t)("sp.request_limits.seconds")), 1)
|
|
27548
|
-
], 8,
|
|
27549
|
-
ee("div",
|
|
27565
|
+
], 8, dR),
|
|
27566
|
+
ee("div", pR, [
|
|
27550
27567
|
C(E, {
|
|
27551
27568
|
appearance: "tertiary",
|
|
27552
27569
|
disabled: r.value.length <= 1,
|
|
@@ -27570,10 +27587,10 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27570
27587
|
])
|
|
27571
27588
|
]))), 128))
|
|
27572
27589
|
]),
|
|
27573
|
-
h.value.length > 0 ? (S(), le("div",
|
|
27590
|
+
h.value.length > 0 ? (S(), le("div", fR, [
|
|
27574
27591
|
ee("div", null, ue(u(t)("sp.start_with_a_use_case")), 1),
|
|
27575
|
-
ee("div",
|
|
27576
|
-
(S(!0), le(
|
|
27592
|
+
ee("div", mR, [
|
|
27593
|
+
(S(!0), le(Ge, null, et(h.value, (O, q) => (S(), Z(w, {
|
|
27577
27594
|
key: `use-case-${q}`,
|
|
27578
27595
|
"max-width": "300"
|
|
27579
27596
|
}, {
|
|
@@ -27605,10 +27622,10 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27605
27622
|
});
|
|
27606
27623
|
};
|
|
27607
27624
|
}
|
|
27608
|
-
}),
|
|
27625
|
+
}), hR = /* @__PURE__ */ Ve(gR, [["__scopeId", "data-v-1fac872b"]]), yR = {
|
|
27609
27626
|
id: "rla-form-error-legend",
|
|
27610
27627
|
class: "rla-form-error-inputs"
|
|
27611
|
-
},
|
|
27628
|
+
}, vR = /* @__PURE__ */ Pe({
|
|
27612
27629
|
__name: "ErrorMessageForm",
|
|
27613
27630
|
setup(e) {
|
|
27614
27631
|
const { i18n: { t } } = it();
|
|
@@ -27629,7 +27646,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27629
27646
|
]),
|
|
27630
27647
|
_: 1
|
|
27631
27648
|
}, 8, ["info"]),
|
|
27632
|
-
ee("legend",
|
|
27649
|
+
ee("legend", yR, [
|
|
27633
27650
|
C(Yt, {
|
|
27634
27651
|
class: "input-error-code",
|
|
27635
27652
|
label: "",
|
|
@@ -27647,7 +27664,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27647
27664
|
]);
|
|
27648
27665
|
};
|
|
27649
27666
|
}
|
|
27650
|
-
}),
|
|
27667
|
+
}), _R = /* @__PURE__ */ Ve(vR, [["__scopeId", "data-v-7b36f1f7"]]), bR = /* @__PURE__ */ Pe({
|
|
27651
27668
|
__name: "RedisField",
|
|
27652
27669
|
setup(e) {
|
|
27653
27670
|
const { formData: t } = gt(), n = pt(Yn), i = pt(Bo), o = (i == null ? void 0 : i.isEditing) || !1, r = L(() => {
|
|
@@ -27670,11 +27687,11 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27670
27687
|
_: 1
|
|
27671
27688
|
}));
|
|
27672
27689
|
}
|
|
27673
|
-
}),
|
|
27690
|
+
}), wR = /* @__PURE__ */ Pe({
|
|
27674
27691
|
__name: "ConfigForm",
|
|
27675
27692
|
setup(e) {
|
|
27676
27693
|
const { getSchema: t } = gt();
|
|
27677
|
-
return (n, i) => (S(), le(
|
|
27694
|
+
return (n, i) => (S(), le(Ge, null, [
|
|
27678
27695
|
C(Gt, {
|
|
27679
27696
|
"as-child": "",
|
|
27680
27697
|
name: "config",
|
|
@@ -27682,14 +27699,14 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27682
27699
|
}, {
|
|
27683
27700
|
default: N(() => [
|
|
27684
27701
|
C(st, { name: "identifier" }),
|
|
27685
|
-
C(
|
|
27686
|
-
C(
|
|
27702
|
+
C(hR),
|
|
27703
|
+
C(_R)
|
|
27687
27704
|
]),
|
|
27688
27705
|
_: 1
|
|
27689
27706
|
}),
|
|
27690
27707
|
C(Ra, { "hide-general-fields": "" }, {
|
|
27691
27708
|
default: N(() => [
|
|
27692
|
-
C(
|
|
27709
|
+
C(qt, {
|
|
27693
27710
|
multiple: !0,
|
|
27694
27711
|
name: "config.compound_identifier"
|
|
27695
27712
|
}),
|
|
@@ -27700,7 +27717,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27700
27717
|
C(st, { name: "config.sync_rate" }),
|
|
27701
27718
|
C(st, { name: "config.namespace" }),
|
|
27702
27719
|
C(st, { name: "config.strategy" }),
|
|
27703
|
-
C(
|
|
27720
|
+
C(bR),
|
|
27704
27721
|
C(st, { name: "config.dictionary_name" }),
|
|
27705
27722
|
C(st, { name: "config.lock_dictionary_name" }),
|
|
27706
27723
|
C(st, { name: "config.hide_client_headers" }),
|
|
@@ -27716,7 +27733,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27716
27733
|
})
|
|
27717
27734
|
], 64));
|
|
27718
27735
|
}
|
|
27719
|
-
}),
|
|
27736
|
+
}), kR = /* @__PURE__ */ Pe({
|
|
27720
27737
|
__name: "RateLimitingAdvancedForm",
|
|
27721
27738
|
props: {
|
|
27722
27739
|
schema: {},
|
|
@@ -27746,15 +27763,15 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27746
27763
|
}
|
|
27747
27764
|
return (o, r) => (S(), Z(li, We(t, { "on-form-change": i }), {
|
|
27748
27765
|
default: N(() => [
|
|
27749
|
-
C(
|
|
27766
|
+
C(wR)
|
|
27750
27767
|
]),
|
|
27751
27768
|
_: 1
|
|
27752
27769
|
}, 16));
|
|
27753
27770
|
}
|
|
27754
|
-
}),
|
|
27771
|
+
}), CR = ze({
|
|
27755
27772
|
experimental: !0,
|
|
27756
|
-
component:
|
|
27757
|
-
}),
|
|
27773
|
+
component: kR
|
|
27774
|
+
}), ER = ze({
|
|
27758
27775
|
experimental: !0,
|
|
27759
27776
|
renderRules: {
|
|
27760
27777
|
bundles: [
|
|
@@ -27764,13 +27781,13 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27764
27781
|
"config.redis": ["config.policy", "redis"]
|
|
27765
27782
|
}
|
|
27766
27783
|
}
|
|
27767
|
-
}),
|
|
27784
|
+
}), xR = ze({
|
|
27768
27785
|
experimental: !0
|
|
27769
|
-
}),
|
|
27786
|
+
}), SR = "__request_callout_";
|
|
27770
27787
|
function Lm() {
|
|
27771
|
-
return jr(
|
|
27788
|
+
return jr(SR);
|
|
27772
27789
|
}
|
|
27773
|
-
const ua = "_callout_id",
|
|
27790
|
+
const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
27774
27791
|
__name: "CalloutForm",
|
|
27775
27792
|
props: {
|
|
27776
27793
|
index: {},
|
|
@@ -27790,7 +27807,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
27790
27807
|
);
|
|
27791
27808
|
}), (a, l) => (S(), Z(Gt, { name: e.fieldName }, {
|
|
27792
27809
|
depends_on: N((s) => [
|
|
27793
|
-
C(
|
|
27810
|
+
C(qt, We(s, {
|
|
27794
27811
|
items: o.value,
|
|
27795
27812
|
multiple: "",
|
|
27796
27813
|
required: !1
|
|
@@ -27799,7 +27816,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
27799
27816
|
request: N((s) => [
|
|
27800
27817
|
C(Gt, We(s, { "fields-order": ["url", "method", "headers", "query", "body", "http_opts", "error", "by_lua"] }), {
|
|
27801
27818
|
method: N((d) => [
|
|
27802
|
-
C(
|
|
27819
|
+
C(qt, We(d, {
|
|
27803
27820
|
items: u(ql)([
|
|
27804
27821
|
"GET",
|
|
27805
27822
|
"POST",
|
|
@@ -27819,7 +27836,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
27819
27836
|
_: 1
|
|
27820
27837
|
}, 8, ["name"]));
|
|
27821
27838
|
}
|
|
27822
|
-
}),
|
|
27839
|
+
}), IR = /* @__PURE__ */ Pe({
|
|
27823
27840
|
__name: "CalloutsForm",
|
|
27824
27841
|
setup(e) {
|
|
27825
27842
|
const { formData: t } = gt();
|
|
@@ -27836,7 +27853,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
27836
27853
|
onAdd: n
|
|
27837
27854
|
}, {
|
|
27838
27855
|
item: N(({ index: r, fieldName: a }) => [
|
|
27839
|
-
C(
|
|
27856
|
+
C(AR, {
|
|
27840
27857
|
"field-name": a,
|
|
27841
27858
|
index: r
|
|
27842
27859
|
}, null, 8, ["field-name", "index"])
|
|
@@ -27844,7 +27861,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
27844
27861
|
_: 1
|
|
27845
27862
|
}, 8, ["item-label"]));
|
|
27846
27863
|
}
|
|
27847
|
-
}),
|
|
27864
|
+
}), TR = /* @__PURE__ */ Pe({
|
|
27848
27865
|
__name: "ConfigForm",
|
|
27849
27866
|
setup(e) {
|
|
27850
27867
|
return (t, n) => (S(), Z(Gt, {
|
|
@@ -27853,7 +27870,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
27853
27870
|
"reset-label-path": "reset"
|
|
27854
27871
|
}, {
|
|
27855
27872
|
default: N(() => [
|
|
27856
|
-
C(
|
|
27873
|
+
C(IR),
|
|
27857
27874
|
C(Gt, {
|
|
27858
27875
|
appearance: "card",
|
|
27859
27876
|
"fields-order": ["headers", "query", "body", "by_lua"],
|
|
@@ -27894,7 +27911,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
27894
27911
|
_: 1
|
|
27895
27912
|
}));
|
|
27896
27913
|
}
|
|
27897
|
-
}),
|
|
27914
|
+
}), $R = /* @__PURE__ */ Pe({
|
|
27898
27915
|
__name: "RequestCalloutForm",
|
|
27899
27916
|
props: {
|
|
27900
27917
|
schema: {},
|
|
@@ -27986,22 +28003,22 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
27986
28003
|
}, 8, ["match"])
|
|
27987
28004
|
]),
|
|
27988
28005
|
default: N(() => [
|
|
27989
|
-
C(
|
|
28006
|
+
C(TR)
|
|
27990
28007
|
]),
|
|
27991
28008
|
_: 1
|
|
27992
28009
|
}, 16));
|
|
27993
28010
|
}
|
|
27994
|
-
}),
|
|
27995
|
-
component:
|
|
27996
|
-
}),
|
|
28011
|
+
}), OR = /* @__PURE__ */ Ve($R, [["__scopeId", "data-v-dc955662"]]), PR = ze({
|
|
28012
|
+
component: OR
|
|
28013
|
+
}), NR = ze({
|
|
27997
28014
|
experimental: !0
|
|
27998
|
-
}),
|
|
28015
|
+
}), RR = ze({
|
|
27999
28016
|
experimental: !0
|
|
28000
|
-
}),
|
|
28017
|
+
}), MR = ze({
|
|
28001
28018
|
experimental: !0
|
|
28002
|
-
}),
|
|
28019
|
+
}), LR = ze({
|
|
28003
28020
|
experimental: !0
|
|
28004
|
-
}),
|
|
28021
|
+
}), FR = ze({
|
|
28005
28022
|
experimental: !0,
|
|
28006
28023
|
fieldRenderers: [
|
|
28007
28024
|
{
|
|
@@ -28029,7 +28046,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28029
28046
|
}
|
|
28030
28047
|
}
|
|
28031
28048
|
]
|
|
28032
|
-
}),
|
|
28049
|
+
}), KR = ze({
|
|
28033
28050
|
experimental: !0,
|
|
28034
28051
|
renderRules: {
|
|
28035
28052
|
bundles: [
|
|
@@ -28039,7 +28056,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28039
28056
|
"config.redis": ["config.policy", "redis"]
|
|
28040
28057
|
}
|
|
28041
28058
|
}
|
|
28042
|
-
}),
|
|
28059
|
+
}), jR = ze({
|
|
28043
28060
|
experimental: !0,
|
|
28044
28061
|
fieldRenderers: [
|
|
28045
28062
|
{
|
|
@@ -28051,7 +28068,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28051
28068
|
}
|
|
28052
28069
|
}
|
|
28053
28070
|
]
|
|
28054
|
-
}),
|
|
28071
|
+
}), DR = ze({
|
|
28055
28072
|
experimental: !0,
|
|
28056
28073
|
fieldRenderers: [
|
|
28057
28074
|
{
|
|
@@ -28063,7 +28080,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28063
28080
|
}
|
|
28064
28081
|
}
|
|
28065
28082
|
]
|
|
28066
|
-
}),
|
|
28083
|
+
}), qR = ze({
|
|
28067
28084
|
experimental: !0,
|
|
28068
28085
|
fieldRenderers: [
|
|
28069
28086
|
{
|
|
@@ -28075,12 +28092,12 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28075
28092
|
}
|
|
28076
28093
|
}
|
|
28077
28094
|
]
|
|
28078
|
-
}),
|
|
28095
|
+
}), BR = ze({
|
|
28079
28096
|
experimental: !0
|
|
28080
|
-
}),
|
|
28097
|
+
}), UR = { class: "sp-form-request-limits-subtitle" }, VR = { class: "sp-form-request-limits-content" }, zR = { class: "sp-form-window-type" }, GR = { class: "sp-form-request-limits-items" }, HR = { class: "sp-form-request-limits-row" }, WR = ["id"], YR = { class: "sp-form-request-limits-actions" }, JR = {
|
|
28081
28098
|
key: 0,
|
|
28082
28099
|
class: "sp-form-request-limits-examples"
|
|
28083
|
-
},
|
|
28100
|
+
}, XR = { class: "sp-form-request-limits-examples-badges" }, Ss = "config.window_type", ZR = /* @__PURE__ */ Pe({
|
|
28084
28101
|
__name: "RequestLimitsForm",
|
|
28085
28102
|
setup(e) {
|
|
28086
28103
|
var _;
|
|
@@ -28178,11 +28195,11 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28178
28195
|
]),
|
|
28179
28196
|
_: 1
|
|
28180
28197
|
}),
|
|
28181
|
-
ee("div",
|
|
28198
|
+
ee("div", UR, ue(u(t)("sp.request_limits.subtitle")), 1)
|
|
28182
28199
|
]),
|
|
28183
28200
|
default: N(() => [
|
|
28184
|
-
ee("div",
|
|
28185
|
-
ee("div",
|
|
28201
|
+
ee("div", VR, [
|
|
28202
|
+
ee("div", zR, [
|
|
28186
28203
|
C(pu, {
|
|
28187
28204
|
items: c.value,
|
|
28188
28205
|
label: u(t)("sp.window_type.label"),
|
|
@@ -28190,8 +28207,8 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28190
28207
|
"onUpdate:modelValue": b[0] || (b[0] = (O) => p.value = void 0)
|
|
28191
28208
|
}, null, 8, ["items", "label"])
|
|
28192
28209
|
]),
|
|
28193
|
-
ee("div",
|
|
28194
|
-
(S(!0), le(
|
|
28210
|
+
ee("div", GR, [
|
|
28211
|
+
(S(!0), le(Ge, null, et(r.value, (O, q) => (S(), le("div", {
|
|
28195
28212
|
key: u(a)(O, q)
|
|
28196
28213
|
}, [
|
|
28197
28214
|
C(x, {
|
|
@@ -28202,7 +28219,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28202
28219
|
]),
|
|
28203
28220
|
_: 2
|
|
28204
28221
|
}, 1032, ["for"]),
|
|
28205
|
-
ee("div",
|
|
28222
|
+
ee("div", HR, [
|
|
28206
28223
|
ee("legend", {
|
|
28207
28224
|
id: `sp-form-request-limits-item-${q}-legend`,
|
|
28208
28225
|
class: "sp-form-request-limits-inputs"
|
|
@@ -28217,8 +28234,8 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28217
28234
|
placeholder: u(t)("sp.request_limits.time_interval")
|
|
28218
28235
|
}, null, 8, ["name", "placeholder"]),
|
|
28219
28236
|
ee("div", null, ue(u(t)("sp.request_limits.seconds")), 1)
|
|
28220
|
-
], 8,
|
|
28221
|
-
ee("div",
|
|
28237
|
+
], 8, WR),
|
|
28238
|
+
ee("div", YR, [
|
|
28222
28239
|
C(E, {
|
|
28223
28240
|
appearance: "tertiary",
|
|
28224
28241
|
disabled: r.value.length <= 1,
|
|
@@ -28242,10 +28259,10 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28242
28259
|
])
|
|
28243
28260
|
]))), 128))
|
|
28244
28261
|
]),
|
|
28245
|
-
h.value.length > 0 ? (S(), le("div",
|
|
28262
|
+
h.value.length > 0 ? (S(), le("div", JR, [
|
|
28246
28263
|
ee("div", null, ue(u(t)("sp.start_with_a_use_case")), 1),
|
|
28247
|
-
ee("div",
|
|
28248
|
-
(S(!0), le(
|
|
28264
|
+
ee("div", XR, [
|
|
28265
|
+
(S(!0), le(Ge, null, et(h.value, (O, q) => (S(), Z(w, {
|
|
28249
28266
|
key: `use-case-${q}`,
|
|
28250
28267
|
"max-width": "300"
|
|
28251
28268
|
}, {
|
|
@@ -28277,10 +28294,10 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28277
28294
|
});
|
|
28278
28295
|
};
|
|
28279
28296
|
}
|
|
28280
|
-
}),
|
|
28297
|
+
}), QR = /* @__PURE__ */ Ve(ZR, [["__scopeId", "data-v-e12d9c9f"]]), e2 = {
|
|
28281
28298
|
id: "sp-form-error-legend",
|
|
28282
28299
|
class: "sp-form-error-inputs"
|
|
28283
|
-
},
|
|
28300
|
+
}, t2 = /* @__PURE__ */ Pe({
|
|
28284
28301
|
__name: "ErrorMessageForm",
|
|
28285
28302
|
setup(e) {
|
|
28286
28303
|
const { t } = Jt("en-us", on);
|
|
@@ -28301,7 +28318,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28301
28318
|
]),
|
|
28302
28319
|
_: 1
|
|
28303
28320
|
}, 8, ["info"]),
|
|
28304
|
-
ee("legend",
|
|
28321
|
+
ee("legend", e2, [
|
|
28305
28322
|
C(Yt, {
|
|
28306
28323
|
class: "input-error-code",
|
|
28307
28324
|
label: "",
|
|
@@ -28319,7 +28336,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28319
28336
|
]);
|
|
28320
28337
|
};
|
|
28321
28338
|
}
|
|
28322
|
-
}),
|
|
28339
|
+
}), n2 = /* @__PURE__ */ Ve(t2, [["__scopeId", "data-v-0796e152"]]), i2 = /* @__PURE__ */ Pe({
|
|
28323
28340
|
__name: "RedisField",
|
|
28324
28341
|
setup(e) {
|
|
28325
28342
|
const { formData: t } = gt(), n = pt(Yn), i = pt(Bo), o = (i == null ? void 0 : i.isEditing) || !1, r = L(() => {
|
|
@@ -28342,18 +28359,18 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28342
28359
|
_: 1
|
|
28343
28360
|
}));
|
|
28344
28361
|
}
|
|
28345
|
-
}),
|
|
28362
|
+
}), o2 = /* @__PURE__ */ Pe({
|
|
28346
28363
|
__name: "ConfigForm",
|
|
28347
28364
|
setup(e) {
|
|
28348
|
-
return (t, n) => (S(), le(
|
|
28365
|
+
return (t, n) => (S(), le(Ge, null, [
|
|
28349
28366
|
C(Gt, {
|
|
28350
28367
|
"as-child": "",
|
|
28351
28368
|
name: "config",
|
|
28352
28369
|
"reset-label-path": "reset"
|
|
28353
28370
|
}, {
|
|
28354
28371
|
default: N(() => [
|
|
28355
|
-
C(
|
|
28356
|
-
C(
|
|
28372
|
+
C(QR),
|
|
28373
|
+
C(n2)
|
|
28357
28374
|
]),
|
|
28358
28375
|
_: 1
|
|
28359
28376
|
}),
|
|
@@ -28362,7 +28379,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28362
28379
|
C(st, { name: "config.dictionary_name" }),
|
|
28363
28380
|
C(st, { name: "config.lock_dictionary_name" }),
|
|
28364
28381
|
C(st, { name: "config.strategy" }),
|
|
28365
|
-
C(
|
|
28382
|
+
C(i2),
|
|
28366
28383
|
C(st, { name: "config.namespace" }),
|
|
28367
28384
|
C(st, { name: "config.hide_client_headers" }),
|
|
28368
28385
|
C(st, { name: "config.disable_penalty" }),
|
|
@@ -28373,7 +28390,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28373
28390
|
})
|
|
28374
28391
|
], 64));
|
|
28375
28392
|
}
|
|
28376
|
-
}),
|
|
28393
|
+
}), a2 = /* @__PURE__ */ Pe({
|
|
28377
28394
|
__name: "ServiceProtectionForm",
|
|
28378
28395
|
props: {
|
|
28379
28396
|
schema: {},
|
|
@@ -28403,17 +28420,17 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28403
28420
|
}
|
|
28404
28421
|
return (o, r) => (S(), Z(li, We(t, { "on-form-change": i }), {
|
|
28405
28422
|
default: N(() => [
|
|
28406
|
-
C(
|
|
28423
|
+
C(o2)
|
|
28407
28424
|
]),
|
|
28408
28425
|
_: 1
|
|
28409
28426
|
}, 16));
|
|
28410
28427
|
}
|
|
28411
|
-
}),
|
|
28428
|
+
}), r2 = ze({
|
|
28412
28429
|
experimental: !0,
|
|
28413
|
-
component:
|
|
28414
|
-
}),
|
|
28430
|
+
component: a2
|
|
28431
|
+
}), s2 = ze({
|
|
28415
28432
|
experimental: !0
|
|
28416
|
-
}),
|
|
28433
|
+
}), l2 = ze({
|
|
28417
28434
|
experimental: !0,
|
|
28418
28435
|
fieldRenderers: [
|
|
28419
28436
|
{
|
|
@@ -28425,7 +28442,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28425
28442
|
}
|
|
28426
28443
|
}
|
|
28427
28444
|
]
|
|
28428
|
-
}),
|
|
28445
|
+
}), u2 = ze({
|
|
28429
28446
|
experimental: !0,
|
|
28430
28447
|
fieldRenderers: [
|
|
28431
28448
|
{
|
|
@@ -28436,7 +28453,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28436
28453
|
}
|
|
28437
28454
|
}
|
|
28438
28455
|
]
|
|
28439
|
-
}),
|
|
28456
|
+
}), c2 = ze({
|
|
28440
28457
|
experimental: !0,
|
|
28441
28458
|
fieldRenderers: [
|
|
28442
28459
|
{
|
|
@@ -28448,9 +28465,9 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28448
28465
|
}
|
|
28449
28466
|
}
|
|
28450
28467
|
]
|
|
28451
|
-
}),
|
|
28468
|
+
}), d2 = ze({
|
|
28452
28469
|
experimental: !0
|
|
28453
|
-
}),
|
|
28470
|
+
}), p2 = ze({
|
|
28454
28471
|
experimental: !0,
|
|
28455
28472
|
fieldRenderers: [
|
|
28456
28473
|
{
|
|
@@ -28462,7 +28479,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28462
28479
|
}
|
|
28463
28480
|
}
|
|
28464
28481
|
]
|
|
28465
|
-
}),
|
|
28482
|
+
}), f2 = ze({
|
|
28466
28483
|
experimental: !0,
|
|
28467
28484
|
renderRules: {
|
|
28468
28485
|
bundles: [
|
|
@@ -28482,11 +28499,11 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28482
28499
|
}
|
|
28483
28500
|
}
|
|
28484
28501
|
]
|
|
28485
|
-
}),
|
|
28502
|
+
}), m2 = ze({
|
|
28486
28503
|
experimental: !0
|
|
28487
|
-
}),
|
|
28504
|
+
}), g2 = ze({
|
|
28488
28505
|
experimental: !0
|
|
28489
|
-
}),
|
|
28506
|
+
}), h2 = ze({
|
|
28490
28507
|
experimental: !0,
|
|
28491
28508
|
fieldRenderers: [
|
|
28492
28509
|
{
|
|
@@ -28498,9 +28515,9 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28498
28515
|
}
|
|
28499
28516
|
}
|
|
28500
28517
|
]
|
|
28501
|
-
}),
|
|
28518
|
+
}), y2 = ze({
|
|
28502
28519
|
experimental: !0
|
|
28503
|
-
}),
|
|
28520
|
+
}), v2 = ze({
|
|
28504
28521
|
experimental: !0,
|
|
28505
28522
|
fieldRenderers: [
|
|
28506
28523
|
{
|
|
@@ -28512,7 +28529,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28512
28529
|
}
|
|
28513
28530
|
}
|
|
28514
28531
|
]
|
|
28515
|
-
}),
|
|
28532
|
+
}), _2 = /* @__PURE__ */ Object.assign({
|
|
28516
28533
|
"../plugins/ace.ts": xI,
|
|
28517
28534
|
"../plugins/acl/index.ts": $I,
|
|
28518
28535
|
"../plugins/ai-custom-guardrail.ts": OI,
|
|
@@ -28544,65 +28561,70 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28544
28561
|
"../plugins/graphql-proxy-cache-advanced.ts": _N,
|
|
28545
28562
|
"../plugins/graphql-rate-limiting-advanced.ts": bN,
|
|
28546
28563
|
"../plugins/header-cert-auth.ts": wN,
|
|
28547
|
-
"../plugins/
|
|
28548
|
-
"../plugins/
|
|
28549
|
-
"../plugins/
|
|
28550
|
-
"../plugins/
|
|
28551
|
-
"../plugins/jwt.ts": AN,
|
|
28552
|
-
"../plugins/
|
|
28553
|
-
"../plugins/kafka-
|
|
28554
|
-
"../plugins/kafka-
|
|
28555
|
-
"../plugins/
|
|
28556
|
-
"../plugins/
|
|
28557
|
-
"../plugins/
|
|
28558
|
-
"../plugins/
|
|
28559
|
-
"../plugins/
|
|
28560
|
-
"../plugins/
|
|
28561
|
-
"../plugins/
|
|
28562
|
-
"../plugins/
|
|
28563
|
-
"../plugins/
|
|
28564
|
-
"../plugins/
|
|
28565
|
-
"../plugins/
|
|
28566
|
-
"../plugins/
|
|
28567
|
-
"../plugins/
|
|
28568
|
-
"../plugins/
|
|
28569
|
-
"../plugins/
|
|
28570
|
-
"../plugins/
|
|
28571
|
-
"../plugins/
|
|
28572
|
-
"../plugins/
|
|
28573
|
-
"../plugins/
|
|
28574
|
-
"../plugins/
|
|
28575
|
-
"../plugins/request-
|
|
28576
|
-
"../plugins/
|
|
28577
|
-
"../plugins/
|
|
28578
|
-
"../plugins/
|
|
28579
|
-
"../plugins/
|
|
28580
|
-
"../plugins/
|
|
28581
|
-
"../plugins/
|
|
28582
|
-
"../plugins/
|
|
28583
|
-
"../plugins/
|
|
28584
|
-
"../plugins/
|
|
28585
|
-
"../plugins/
|
|
28586
|
-
"../plugins/
|
|
28587
|
-
"../plugins/
|
|
28588
|
-
"../plugins/
|
|
28589
|
-
"../plugins/
|
|
28590
|
-
"../plugins/
|
|
28591
|
-
"../plugins/
|
|
28592
|
-
"../plugins/
|
|
28593
|
-
"../plugins/
|
|
28564
|
+
"../plugins/hmac-auth.ts": kN,
|
|
28565
|
+
"../plugins/http-log.ts": CN,
|
|
28566
|
+
"../plugins/ip-restriction.ts": EN,
|
|
28567
|
+
"../plugins/jwe-decrypt.ts": xN,
|
|
28568
|
+
"../plugins/jwt-signer/index.ts": AN,
|
|
28569
|
+
"../plugins/jwt.ts": IN,
|
|
28570
|
+
"../plugins/kafka-consume.ts": TN,
|
|
28571
|
+
"../plugins/kafka-log.ts": $N,
|
|
28572
|
+
"../plugins/kafka-upstream.ts": ON,
|
|
28573
|
+
"../plugins/key-auth-enc.ts": PN,
|
|
28574
|
+
"../plugins/key-auth/index.ts": NN,
|
|
28575
|
+
"../plugins/ldap-auth-advanced.ts": RN,
|
|
28576
|
+
"../plugins/ldap-auth.ts": MN,
|
|
28577
|
+
"../plugins/metering-and-billing/index.ts": WN,
|
|
28578
|
+
"../plugins/mocking.ts": YN,
|
|
28579
|
+
"../plugins/mtls-auth.ts": JN,
|
|
28580
|
+
"../plugins/oas-validation.ts": XN,
|
|
28581
|
+
"../plugins/oauth2-introspection.ts": ZN,
|
|
28582
|
+
"../plugins/oauth2.ts": QN,
|
|
28583
|
+
"../plugins/opentelemetry.ts": eR,
|
|
28584
|
+
"../plugins/post-function.ts": tR,
|
|
28585
|
+
"../plugins/pre-function.ts": nR,
|
|
28586
|
+
"../plugins/prometheus.ts": iR,
|
|
28587
|
+
"../plugins/proxy-cache-advanced.ts": oR,
|
|
28588
|
+
"../plugins/proxy-cache.ts": aR,
|
|
28589
|
+
"../plugins/rate-limiting-advanced/index.ts": CR,
|
|
28590
|
+
"../plugins/rate-limiting.ts": ER,
|
|
28591
|
+
"../plugins/redirect.ts": xR,
|
|
28592
|
+
"../plugins/request-callout/index.ts": PR,
|
|
28593
|
+
"../plugins/request-size-limiting.ts": NR,
|
|
28594
|
+
"../plugins/request-termination.ts": RR,
|
|
28595
|
+
"../plugins/request-transformer-advanced.ts": MR,
|
|
28596
|
+
"../plugins/request-transformer.ts": LR,
|
|
28597
|
+
"../plugins/request-validator.ts": FR,
|
|
28598
|
+
"../plugins/response-ratelimiting.ts": KR,
|
|
28599
|
+
"../plugins/response-transformer-advanced.ts": jR,
|
|
28600
|
+
"../plugins/response-transformer.ts": DR,
|
|
28601
|
+
"../plugins/route-by-header.ts": qR,
|
|
28602
|
+
"../plugins/route-transformer-advanced.ts": BR,
|
|
28603
|
+
"../plugins/service-protection/index.ts": r2,
|
|
28604
|
+
"../plugins/session.ts": s2,
|
|
28605
|
+
"../plugins/solace-consume.ts": l2,
|
|
28606
|
+
"../plugins/solace-log.ts": u2,
|
|
28607
|
+
"../plugins/solace-upstream.ts": c2,
|
|
28608
|
+
"../plugins/standard-webhooks.ts": d2,
|
|
28609
|
+
"../plugins/statsd.ts": p2,
|
|
28610
|
+
"../plugins/upstream-oauth.ts": f2,
|
|
28611
|
+
"../plugins/upstream-timeout.ts": m2,
|
|
28612
|
+
"../plugins/websocket-size-limit.ts": g2,
|
|
28613
|
+
"../plugins/websocket-validator.ts": h2,
|
|
28614
|
+
"../plugins/xml-threat-protection.ts": y2,
|
|
28615
|
+
"../plugins/zipkin.ts": v2
|
|
28594
28616
|
});
|
|
28595
|
-
function
|
|
28617
|
+
function b2(e) {
|
|
28596
28618
|
const t = e.match(/\.\.\/plugins\/(.+?)(?:\/index)?\.ts$/);
|
|
28597
28619
|
if (!t)
|
|
28598
28620
|
throw new Error(`Unable to derive plugin name from path: ${e}`);
|
|
28599
28621
|
const [, n] = t;
|
|
28600
28622
|
return n;
|
|
28601
28623
|
}
|
|
28602
|
-
function
|
|
28624
|
+
function w2(e) {
|
|
28603
28625
|
const t = {}, n = /* @__PURE__ */ new Map();
|
|
28604
28626
|
for (const [i, o] of Object.entries(e)) {
|
|
28605
|
-
const r =
|
|
28627
|
+
const r = b2(i);
|
|
28606
28628
|
if (n.has(r))
|
|
28607
28629
|
throw new Error(`Duplicate plugin config for "${r}": ${n.get(r)} and ${i}`);
|
|
28608
28630
|
n.set(r, i), t[r] = {
|
|
@@ -28614,7 +28636,7 @@ function h2(e) {
|
|
|
28614
28636
|
}
|
|
28615
28637
|
return t;
|
|
28616
28638
|
}
|
|
28617
|
-
const Fm =
|
|
28639
|
+
const Fm = w2(_2);
|
|
28618
28640
|
function Km(e) {
|
|
28619
28641
|
return Fm[e];
|
|
28620
28642
|
}
|
|
@@ -28626,22 +28648,22 @@ function jm(e, t) {
|
|
|
28626
28648
|
function Dm(e, t, n) {
|
|
28627
28649
|
return n === "freeform" ? !0 : n === "vfg" ? !1 : !!jm(e, t);
|
|
28628
28650
|
}
|
|
28629
|
-
function
|
|
28651
|
+
function k2() {
|
|
28630
28652
|
return Object.entries(Fm).filter(([, e]) => e.experimental).map(([e]) => e).sort((e, t) => e.localeCompare(t));
|
|
28631
28653
|
}
|
|
28632
28654
|
function mu() {
|
|
28633
28655
|
return pt($p, []);
|
|
28634
28656
|
}
|
|
28635
|
-
function
|
|
28636
|
-
const t = new Set(
|
|
28657
|
+
function C2(e) {
|
|
28658
|
+
const t = new Set(k2()), n = e.filter((o) => t.has(o)), i = e.filter((o) => !t.has(o));
|
|
28637
28659
|
return i.length > 0 && console.warn(
|
|
28638
28660
|
`[entities-plugins] Ignoring unknown experimental free-form plugins: ${i.join(", ")}`
|
|
28639
28661
|
), n;
|
|
28640
28662
|
}
|
|
28641
|
-
function
|
|
28642
|
-
Ft($p,
|
|
28663
|
+
function E2(e) {
|
|
28664
|
+
Ft($p, C2(e));
|
|
28643
28665
|
}
|
|
28644
|
-
function
|
|
28666
|
+
function x2() {
|
|
28645
28667
|
const e = mu();
|
|
28646
28668
|
return {
|
|
28647
28669
|
shouldUseFreeForm: (t, n) => Dm(t, e, n),
|
|
@@ -28723,11 +28745,11 @@ const Bm = (e) => {
|
|
|
28723
28745
|
e.protected_resource_metadata = null;
|
|
28724
28746
|
return;
|
|
28725
28747
|
}
|
|
28726
|
-
},
|
|
28748
|
+
}, S2 = {
|
|
28727
28749
|
shamefullyTransformPayload(e) {
|
|
28728
28750
|
return qm(e.payload.config), Bm(e.payload.config), Um(e.payload.config), e;
|
|
28729
28751
|
}
|
|
28730
|
-
},
|
|
28752
|
+
}, A2 = {
|
|
28731
28753
|
shamefullyTransformPayload(e) {
|
|
28732
28754
|
var t, n, i, o, r;
|
|
28733
28755
|
if (!((n = (t = e.payload.config) == null ? void 0 : t.access_logs) != null && n.custom_attributes_by_lua))
|
|
@@ -28738,7 +28760,7 @@ const Bm = (e) => {
|
|
|
28738
28760
|
}
|
|
28739
28761
|
return e;
|
|
28740
28762
|
}
|
|
28741
|
-
},
|
|
28763
|
+
}, I2 = {
|
|
28742
28764
|
shamefullyTransformPayload(e) {
|
|
28743
28765
|
var n, i;
|
|
28744
28766
|
const t = (i = (n = e.payload.config) == null ? void 0 : n.v2_strategies) == null ? void 0 : i.openid_connect;
|
|
@@ -28746,7 +28768,7 @@ const Bm = (e) => {
|
|
|
28746
28768
|
qm(o.config), Bm(o.config), Um(o.config);
|
|
28747
28769
|
}), e;
|
|
28748
28770
|
}
|
|
28749
|
-
},
|
|
28771
|
+
}, T2 = {
|
|
28750
28772
|
shamefullyTransformPayload(e) {
|
|
28751
28773
|
var n;
|
|
28752
28774
|
return !e.payload.config || !((n = e.payload.config) != null && n.token_exchange) || [
|
|
@@ -28771,10 +28793,10 @@ const Bm = (e) => {
|
|
|
28771
28793
|
return tn((o = e.payload.config) == null ? void 0 : o.token_exchange, i);
|
|
28772
28794
|
}) && (e.payload.config.token_exchange = null), e;
|
|
28773
28795
|
}
|
|
28774
|
-
},
|
|
28796
|
+
}, $2 = (e, t) => {
|
|
28775
28797
|
const n = e.model.startsWith("config-"), i = t.model.startsWith("config-");
|
|
28776
28798
|
return n && !i ? 1 : !n && i ? -1 : 0;
|
|
28777
|
-
}, Vm = (e, t) => (e.order ?? 0) - (t.order ?? 0), Wc = (e, t) =>
|
|
28799
|
+
}, Vm = (e, t) => (e.order ?? 0) - (t.order ?? 0), Wc = (e, t) => $2(e, t) || Vm(e, t) || e.model.localeCompare(t.model), O2 = (e) => {
|
|
28778
28800
|
const { capitalize: t } = fl(), { convertToDotNotation: n } = Hp(), { i18n: { t: i } } = it(), o = mu(), r = {
|
|
28779
28801
|
"application-registration": {
|
|
28780
28802
|
overwriteDefault: !0,
|
|
@@ -28895,16 +28917,16 @@ const Bm = (e) => {
|
|
|
28895
28917
|
...FE
|
|
28896
28918
|
},
|
|
28897
28919
|
"openid-connect": {
|
|
28898
|
-
...
|
|
28920
|
+
...S2
|
|
28899
28921
|
},
|
|
28900
28922
|
opentelemetry: {
|
|
28901
|
-
...
|
|
28923
|
+
...A2
|
|
28902
28924
|
},
|
|
28903
28925
|
"konnect-application-auth": {
|
|
28904
|
-
...
|
|
28926
|
+
...I2
|
|
28905
28927
|
},
|
|
28906
28928
|
"ai-mcp-oauth2": {
|
|
28907
|
-
...
|
|
28929
|
+
...T2
|
|
28908
28930
|
}
|
|
28909
28931
|
}, a = () => ["created_at", "updated_at", "id", "_isCustomPlugin", "_sourcePlugin", "_supported_redis_partial_type", "_redis_partial_path"], l = (w, T, O, q) => {
|
|
28910
28932
|
let A = {};
|
|
@@ -29129,20 +29151,20 @@ const Bm = (e) => {
|
|
|
29129
29151
|
typedefs: Co,
|
|
29130
29152
|
pruneRecord: k
|
|
29131
29153
|
};
|
|
29132
|
-
}, tr = Symbol("customPluginType"),
|
|
29154
|
+
}, tr = Symbol("customPluginType"), P2 = 1e3, N2 = 20, Yc = 5e3, Jc = (e, t = P2) => {
|
|
29133
29155
|
const n = /^[a-z][a-z\d+.-]*:/i.test(e), i = new URL(e, "http://localhost");
|
|
29134
29156
|
return i.searchParams.has("size") || i.searchParams.set("size", `${t}`), n ? i.toString() : `${i.pathname}${i.search}${i.hash}`;
|
|
29135
29157
|
}, Ir = async (e, t, n) => {
|
|
29136
29158
|
const i = [];
|
|
29137
29159
|
let o = Jc(t), r = null, a = 0;
|
|
29138
|
-
for (; o && a <
|
|
29160
|
+
for (; o && a < N2 && i.length < Yc && o !== r; ) {
|
|
29139
29161
|
r = o;
|
|
29140
29162
|
const s = (await e.get(o, { signal: n })).data;
|
|
29141
29163
|
Array.isArray(s == null ? void 0 : s.data) && i.push(...s.data), o = s != null && s.next ? Jc(s.next) : null, a += 1;
|
|
29142
29164
|
}
|
|
29143
29165
|
return i.slice(0, Yc);
|
|
29144
29166
|
};
|
|
29145
|
-
function
|
|
29167
|
+
function R2(e) {
|
|
29146
29168
|
const { axiosInstance: t, apiBaseUrl: n } = e, i = () => {
|
|
29147
29169
|
if (e.app !== "konnect")
|
|
29148
29170
|
throw new Error("Installed custom plugin APIs are only available for Konnect");
|
|
@@ -29231,25 +29253,25 @@ const lt = {
|
|
|
29231
29253
|
useI18n: it,
|
|
29232
29254
|
usePluginMetaData: Yp,
|
|
29233
29255
|
usePluginHelpers: Hp,
|
|
29234
|
-
useSchemas:
|
|
29256
|
+
useSchemas: O2,
|
|
29235
29257
|
useExperimentalFreeForms: mu,
|
|
29236
|
-
useProvideExperimentalFreeForms:
|
|
29237
|
-
useFreeFormResolver:
|
|
29238
|
-
useCustomPluginApi:
|
|
29258
|
+
useProvideExperimentalFreeForms: E2,
|
|
29259
|
+
useFreeFormResolver: x2,
|
|
29260
|
+
useCustomPluginApi: R2
|
|
29239
29261
|
}, zm = (e) => {
|
|
29240
29262
|
var n, i, o, r;
|
|
29241
29263
|
const t = e == null ? void 0 : e.response;
|
|
29242
29264
|
return (t == null ? void 0 : t.status) === 400 && (((i = (n = t.data) == null ? void 0 : n.message) == null ? void 0 : i.includes("plugin schema is currently in use")) || ((o = t.data) == null ? void 0 : o.code) === 19 || ((r = t.data) == null ? void 0 : r.name) === "referenced by others");
|
|
29243
|
-
},
|
|
29265
|
+
}, M2 = { class: "kong-ui-entities-custom-plugin-form" }, L2 = { class: "plugin-type-radios" }, F2 = { class: "compare-table-wrapper" }, K2 = { class: "compare-table" }, j2 = {
|
|
29244
29266
|
key: 0,
|
|
29245
29267
|
scope: "col"
|
|
29246
|
-
},
|
|
29268
|
+
}, D2 = {
|
|
29247
29269
|
key: 1,
|
|
29248
29270
|
scope: "col"
|
|
29249
|
-
},
|
|
29271
|
+
}, q2 = {
|
|
29250
29272
|
key: 2,
|
|
29251
29273
|
scope: "col"
|
|
29252
|
-
},
|
|
29274
|
+
}, B2 = { scope: "row" }, U2 = { key: 0 }, V2 = { key: 1 }, z2 = { key: 2 }, G2 = { scope: "row" }, H2 = { key: 0 }, W2 = { class: "compare-list" }, Y2 = { key: 1 }, J2 = { class: "compare-list" }, X2 = { key: 2 }, Z2 = { scope: "row" }, Q2 = { key: 0 }, eM = { key: 1 }, tM = { key: 2 }, nM = { scope: "row" }, iM = { key: 0 }, oM = { key: 1 }, aM = { key: 2 }, rM = { scope: "row" }, sM = { key: 0 }, lM = { key: 1 }, uM = { key: 2 }, cM = { class: "plugin-modules-section" }, dM = { class: "plugin-select-item" }, pM = { class: "plugin-select-item" }, fM = { key: 1 }, mM = 1 * 1024 * 1024, gM = /* @__PURE__ */ Pe({
|
|
29253
29275
|
__name: "CustomPluginForm",
|
|
29254
29276
|
props: {
|
|
29255
29277
|
config: {
|
|
@@ -29417,7 +29439,7 @@ const lt = {
|
|
|
29417
29439
|
}), D = async (pe, he) => {
|
|
29418
29440
|
const Ke = he[0];
|
|
29419
29441
|
if (Ke) {
|
|
29420
|
-
if (Ke.size >
|
|
29442
|
+
if (Ke.size > mM) {
|
|
29421
29443
|
M.errorMessage = a("custom_plugin_form.errors.file_too_large");
|
|
29422
29444
|
return;
|
|
29423
29445
|
}
|
|
@@ -29502,7 +29524,7 @@ const lt = {
|
|
|
29502
29524
|
};
|
|
29503
29525
|
return (pe, he) => {
|
|
29504
29526
|
const Ke = xe("KSkeleton"), Be = xe("KEmptyState"), je = xe("KRadio"), He = xe("KCollapse"), Ye = xe("KFileUpload"), rt = xe("KLabel"), ft = xe("KAlert"), qe = xe("KSelect"), Ce = xe("KInput"), se = xe("KButton");
|
|
29505
|
-
return S(), le("div",
|
|
29527
|
+
return S(), le("div", M2, [
|
|
29506
29528
|
C(u(md), {
|
|
29507
29529
|
ref_key: "entityBaseFormRef",
|
|
29508
29530
|
ref: x,
|
|
@@ -29519,7 +29541,7 @@ const lt = {
|
|
|
29519
29541
|
onSubmit: we
|
|
29520
29542
|
}, {
|
|
29521
29543
|
"form-actions": N(() => [
|
|
29522
|
-
A.value || I.value || j.value ? (S(), le("span",
|
|
29544
|
+
A.value || I.value || j.value ? (S(), le("span", fM)) : (S(), le(Ge, { key: 0 }, [
|
|
29523
29545
|
C(se, {
|
|
29524
29546
|
appearance: "primary",
|
|
29525
29547
|
"data-testid": "custom-plugin-form-submit",
|
|
@@ -29581,7 +29603,7 @@ const lt = {
|
|
|
29581
29603
|
ee("h3", null, ue(u(a)("custom_plugin_form.errors.no_supported_types")), 1)
|
|
29582
29604
|
]),
|
|
29583
29605
|
_: 1
|
|
29584
|
-
})) : (S(), le(
|
|
29606
|
+
})) : (S(), le(Ge, { key: 3 }, [
|
|
29585
29607
|
Q.value ? (S(), Z(u(Bn), {
|
|
29586
29608
|
key: 0,
|
|
29587
29609
|
class: "custom-plugin-form-steps",
|
|
@@ -29589,7 +29611,7 @@ const lt = {
|
|
|
29589
29611
|
title: u(a)("custom_plugin_form.step1.title")
|
|
29590
29612
|
}, {
|
|
29591
29613
|
default: N(() => [
|
|
29592
|
-
ee("div",
|
|
29614
|
+
ee("div", L2, [
|
|
29593
29615
|
oe("installed") ? (S(), Z(je, {
|
|
29594
29616
|
key: 0,
|
|
29595
29617
|
modelValue: M.fields.pluginType,
|
|
@@ -29633,39 +29655,39 @@ const lt = {
|
|
|
29633
29655
|
"trigger-label": u(a)("custom_plugin_form.step1.compare_trigger")
|
|
29634
29656
|
}, {
|
|
29635
29657
|
default: N(() => [
|
|
29636
|
-
ee("div",
|
|
29637
|
-
ee("table",
|
|
29658
|
+
ee("div", F2, [
|
|
29659
|
+
ee("table", K2, [
|
|
29638
29660
|
ee("thead", null, [
|
|
29639
29661
|
ee("tr", null, [
|
|
29640
29662
|
he[15] || (he[15] = ee("th", { scope: "col" }, null, -1)),
|
|
29641
|
-
oe("installed") ? (S(), le("th",
|
|
29642
|
-
oe("streamed") ? (S(), le("th",
|
|
29643
|
-
oe("cloned") ? (S(), le("th",
|
|
29663
|
+
oe("installed") ? (S(), le("th", j2, ue(u(a)("custom_plugin_form.step1.compare_table.columns.installed")), 1)) : ye("", !0),
|
|
29664
|
+
oe("streamed") ? (S(), le("th", D2, ue(u(a)("custom_plugin_form.step1.compare_table.columns.streamed")), 1)) : ye("", !0),
|
|
29665
|
+
oe("cloned") ? (S(), le("th", q2, ue(u(a)("custom_plugin_form.step1.compare_table.columns.cloned")), 1)) : ye("", !0)
|
|
29644
29666
|
])
|
|
29645
29667
|
]),
|
|
29646
29668
|
ee("tbody", null, [
|
|
29647
29669
|
ee("tr", null, [
|
|
29648
|
-
ee("th",
|
|
29649
|
-
oe("installed") ? (S(), le("td",
|
|
29650
|
-
oe("streamed") ? (S(), le("td",
|
|
29651
|
-
oe("cloned") ? (S(), le("td",
|
|
29670
|
+
ee("th", B2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.header")), 1),
|
|
29671
|
+
oe("installed") ? (S(), le("td", U2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.installed")), 1)) : ye("", !0),
|
|
29672
|
+
oe("streamed") ? (S(), le("td", V2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.streamed")), 1)) : ye("", !0),
|
|
29673
|
+
oe("cloned") ? (S(), le("td", z2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.cloned")), 1)) : ye("", !0)
|
|
29652
29674
|
]),
|
|
29653
29675
|
ee("tr", null, [
|
|
29654
|
-
ee("th",
|
|
29655
|
-
oe("installed") ? (S(), le("td",
|
|
29656
|
-
ee("ul",
|
|
29676
|
+
ee("th", G2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.header")), 1),
|
|
29677
|
+
oe("installed") ? (S(), le("td", H2, [
|
|
29678
|
+
ee("ul", W2, [
|
|
29657
29679
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.handler")), 1),
|
|
29658
29680
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.schema")), 1),
|
|
29659
29681
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.additional")), 1)
|
|
29660
29682
|
])
|
|
29661
29683
|
])) : ye("", !0),
|
|
29662
|
-
oe("streamed") ? (S(), le("td",
|
|
29663
|
-
ee("ul",
|
|
29684
|
+
oe("streamed") ? (S(), le("td", Y2, [
|
|
29685
|
+
ee("ul", J2, [
|
|
29664
29686
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.streamed.handler")), 1),
|
|
29665
29687
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.streamed.schema")), 1)
|
|
29666
29688
|
])
|
|
29667
29689
|
])) : ye("", !0),
|
|
29668
|
-
oe("cloned") ? (S(), le("td",
|
|
29690
|
+
oe("cloned") ? (S(), le("td", X2, [
|
|
29669
29691
|
C(u(Da), {
|
|
29670
29692
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29671
29693
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
@@ -29673,20 +29695,20 @@ const lt = {
|
|
|
29673
29695
|
])) : ye("", !0)
|
|
29674
29696
|
]),
|
|
29675
29697
|
ee("tr", null, [
|
|
29676
|
-
ee("th",
|
|
29677
|
-
oe("installed") ? (S(), le("td",
|
|
29678
|
-
oe("streamed") ? (S(), le("td",
|
|
29679
|
-
oe("cloned") ? (S(), le("td",
|
|
29698
|
+
ee("th", Z2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.header")), 1),
|
|
29699
|
+
oe("installed") ? (S(), le("td", Q2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.installed")), 1)) : ye("", !0),
|
|
29700
|
+
oe("streamed") ? (S(), le("td", eM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.streamed")), 1)) : ye("", !0),
|
|
29701
|
+
oe("cloned") ? (S(), le("td", tM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.cloned")), 1)) : ye("", !0)
|
|
29680
29702
|
]),
|
|
29681
29703
|
ee("tr", null, [
|
|
29682
|
-
ee("th",
|
|
29683
|
-
oe("installed") ? (S(), le("td",
|
|
29704
|
+
ee("th", nM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.sandboxing.header")), 1),
|
|
29705
|
+
oe("installed") ? (S(), le("td", iM, [
|
|
29684
29706
|
C(u(Da), {
|
|
29685
29707
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29686
29708
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
29687
29709
|
}, null, 8, ["color", "size"])
|
|
29688
29710
|
])) : ye("", !0),
|
|
29689
|
-
oe("streamed") ? (S(), le("td",
|
|
29711
|
+
oe("streamed") ? (S(), le("td", oM, [
|
|
29690
29712
|
C(u(l), { keypath: "custom_plugin_form.step1.compare_table.rows.sandboxing.streamed" }, {
|
|
29691
29713
|
link: N(() => [
|
|
29692
29714
|
C(u(bu), {
|
|
@@ -29702,23 +29724,23 @@ const lt = {
|
|
|
29702
29724
|
_: 1
|
|
29703
29725
|
})
|
|
29704
29726
|
])) : ye("", !0),
|
|
29705
|
-
oe("cloned") ? (S(), le("td",
|
|
29727
|
+
oe("cloned") ? (S(), le("td", aM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.sandboxing.cloned")), 1)) : ye("", !0)
|
|
29706
29728
|
]),
|
|
29707
29729
|
ee("tr", null, [
|
|
29708
|
-
ee("th",
|
|
29709
|
-
oe("installed") ? (S(), le("td",
|
|
29730
|
+
ee("th", rM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.data_plane_reload.header")), 1),
|
|
29731
|
+
oe("installed") ? (S(), le("td", sM, [
|
|
29710
29732
|
C(u(Cg), {
|
|
29711
29733
|
color: `var(--kui-color-text-success, ${u(xd)})`,
|
|
29712
29734
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
29713
29735
|
}, null, 8, ["color", "size"])
|
|
29714
29736
|
])) : ye("", !0),
|
|
29715
|
-
oe("streamed") ? (S(), le("td",
|
|
29737
|
+
oe("streamed") ? (S(), le("td", lM, [
|
|
29716
29738
|
C(u(Da), {
|
|
29717
29739
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29718
29740
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
29719
29741
|
}, null, 8, ["color", "size"])
|
|
29720
29742
|
])) : ye("", !0),
|
|
29721
|
-
oe("cloned") ? (S(), le("td",
|
|
29743
|
+
oe("cloned") ? (S(), le("td", uM, [
|
|
29722
29744
|
C(u(Da), {
|
|
29723
29745
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29724
29746
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
@@ -29752,7 +29774,7 @@ const lt = {
|
|
|
29752
29774
|
onFileAdded: he[4] || (he[4] = (ie) => D("schema", ie)),
|
|
29753
29775
|
onFileRemoved: he[5] || (he[5] = (ie) => re("schema"))
|
|
29754
29776
|
}, null, 8, ["button-text", "help", "label", "placeholder", "required"]),
|
|
29755
|
-
ee("div",
|
|
29777
|
+
ee("div", cM, [
|
|
29756
29778
|
C(rt, null, {
|
|
29757
29779
|
default: N(() => [
|
|
29758
29780
|
Le(ue(u(a)("custom_plugin_form.step2_files.plugin_modules.label")), 1)
|
|
@@ -29817,7 +29839,7 @@ const lt = {
|
|
|
29817
29839
|
required: ""
|
|
29818
29840
|
}, {
|
|
29819
29841
|
"item-template": N(({ item: ie }) => [
|
|
29820
|
-
ee("div",
|
|
29842
|
+
ee("div", dM, [
|
|
29821
29843
|
C(u(qi), {
|
|
29822
29844
|
name: String(ie.value),
|
|
29823
29845
|
size: 20
|
|
@@ -29826,7 +29848,7 @@ const lt = {
|
|
|
29826
29848
|
])
|
|
29827
29849
|
]),
|
|
29828
29850
|
"selected-item-template": N(({ item: ie }) => [
|
|
29829
|
-
ee("div",
|
|
29851
|
+
ee("div", pM, [
|
|
29830
29852
|
C(u(qi), {
|
|
29831
29853
|
name: String(ie.value),
|
|
29832
29854
|
size: 20
|
|
@@ -29922,7 +29944,7 @@ const lt = {
|
|
|
29922
29944
|
]);
|
|
29923
29945
|
};
|
|
29924
29946
|
}
|
|
29925
|
-
}),
|
|
29947
|
+
}), EK = /* @__PURE__ */ Ve(gM, [["__scopeId", "data-v-0c1e017a"]]), hM = (e, t) => ({
|
|
29926
29948
|
type: "array",
|
|
29927
29949
|
valueType: "string",
|
|
29928
29950
|
valueArrayType: "array",
|
|
@@ -29941,7 +29963,7 @@ const lt = {
|
|
|
29941
29963
|
},
|
|
29942
29964
|
...(t == null ? void 0 : t[0]) != null ? { default: t[0] } : {}
|
|
29943
29965
|
}
|
|
29944
|
-
}),
|
|
29966
|
+
}), yM = { class: "referable-field-item" }, vM = 24, _M = /* @__PURE__ */ Pe({
|
|
29945
29967
|
__name: "ReferableFieldItem",
|
|
29946
29968
|
props: {
|
|
29947
29969
|
field: {},
|
|
@@ -29958,25 +29980,25 @@ const lt = {
|
|
|
29958
29980
|
const a = `label[for="${i.value}"]`, l = document.querySelector(a) || document.getElementById(i.value);
|
|
29959
29981
|
if (!l)
|
|
29960
29982
|
return;
|
|
29961
|
-
const s = Math.max(0, l.getBoundingClientRect().top + window.scrollY -
|
|
29983
|
+
const s = Math.max(0, l.getBoundingClientRect().top + window.scrollY - vM), d = () => {
|
|
29962
29984
|
var f;
|
|
29963
29985
|
(f = l.click) == null || f.call(l);
|
|
29964
29986
|
};
|
|
29965
29987
|
window.addEventListener("scrollend", d, { once: !0 }), window.scrollTo({ top: s, behavior: "smooth" });
|
|
29966
29988
|
};
|
|
29967
|
-
return (a, l) => (S(), le("span",
|
|
29989
|
+
return (a, l) => (S(), le("span", yM, [
|
|
29968
29990
|
ee("span", {
|
|
29969
29991
|
class: "referable-field-link",
|
|
29970
29992
|
role: "button",
|
|
29971
29993
|
tabindex: "0",
|
|
29972
29994
|
onClick: r
|
|
29973
29995
|
}, ue(o.value), 1),
|
|
29974
|
-
e.isLast ? ye("", !0) : (S(), le(
|
|
29996
|
+
e.isLast ? ye("", !0) : (S(), le(Ge, { key: 0 }, [
|
|
29975
29997
|
Le(", ")
|
|
29976
29998
|
], 64))
|
|
29977
29999
|
]));
|
|
29978
30000
|
}
|
|
29979
|
-
}), Xc = /* @__PURE__ */ Ve(
|
|
30001
|
+
}), Xc = /* @__PURE__ */ Ve(_M, [["__scopeId", "data-v-949a9ea1"]]), bM = { key: 0 }, wM = /* @__PURE__ */ Pe({
|
|
29980
30002
|
__name: "PluginFieldRuleAlerts",
|
|
29981
30003
|
props: {
|
|
29982
30004
|
rules: {}
|
|
@@ -30000,12 +30022,12 @@ const lt = {
|
|
|
30000
30022
|
return S(), Z(l, { class: "plugin-field-rule-alerts" }, {
|
|
30001
30023
|
default: N(() => [
|
|
30002
30024
|
ee("ul", null, [
|
|
30003
|
-
(S(!0), le(
|
|
30025
|
+
(S(!0), le(Ge, null, et(o.value, ({ key: s, fields: d }, f) => (S(), le("li", {
|
|
30004
30026
|
key: `simple-alert-${f}`
|
|
30005
30027
|
}, [
|
|
30006
30028
|
C(u(i), { keypath: s }, {
|
|
30007
30029
|
parameters: N(() => [
|
|
30008
|
-
(S(!0), le(
|
|
30030
|
+
(S(!0), le(Ge, null, et(d, (c, p) => (S(), Z(Xc, {
|
|
30009
30031
|
key: `alert-field-${c}`,
|
|
30010
30032
|
field: c,
|
|
30011
30033
|
"is-last": p === d.length - 1
|
|
@@ -30014,16 +30036,16 @@ const lt = {
|
|
|
30014
30036
|
_: 2
|
|
30015
30037
|
}, 1032, ["keypath"])
|
|
30016
30038
|
]))), 128)),
|
|
30017
|
-
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (S(), le("li",
|
|
30018
|
-
(S(!0), le(
|
|
30039
|
+
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (S(), le("li", bM, [
|
|
30040
|
+
(S(!0), le(Ge, null, et(t.rules.onlyOneOfMutuallyRequired, (s, d) => (S(), le("div", {
|
|
30019
30041
|
key: `only-one-mutually-alert-${d}`
|
|
30020
30042
|
}, [
|
|
30021
30043
|
ee("div", null, ue(u(n)("plugins.form.field_rules.only_one_of_mutually_required")), 1),
|
|
30022
30044
|
ee("ul", null, [
|
|
30023
|
-
(S(!0), le(
|
|
30045
|
+
(S(!0), le(Ge, null, et(s, (f, c) => (S(), le("li", {
|
|
30024
30046
|
key: `only-one-mutually-alert-${d}-combination-${c}`
|
|
30025
30047
|
}, [
|
|
30026
|
-
(S(!0), le(
|
|
30048
|
+
(S(!0), le(Ge, null, et(f, (p, m) => (S(), Z(Xc, {
|
|
30027
30049
|
key: `only-one-mutually-field-${p}`,
|
|
30028
30050
|
field: p,
|
|
30029
30051
|
"is-last": m === f.length - 1
|
|
@@ -30038,8 +30060,8 @@ const lt = {
|
|
|
30038
30060
|
});
|
|
30039
30061
|
};
|
|
30040
30062
|
}
|
|
30041
|
-
}),
|
|
30042
|
-
function
|
|
30063
|
+
}), kM = /* @__PURE__ */ Ve(wM, [["__scopeId", "data-v-5f9ff453"]]);
|
|
30064
|
+
function CM(e) {
|
|
30043
30065
|
if (e.length === 0) return "";
|
|
30044
30066
|
if (e.length === 1) {
|
|
30045
30067
|
const o = fn(e[0]);
|
|
@@ -30058,18 +30080,18 @@ function vM(e) {
|
|
|
30058
30080
|
function gu(e) {
|
|
30059
30081
|
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;
|
|
30060
30082
|
}
|
|
30061
|
-
function
|
|
30083
|
+
function EM(e, t) {
|
|
30062
30084
|
if (!t) return e;
|
|
30063
30085
|
const n = t + Pa;
|
|
30064
30086
|
return e.map(
|
|
30065
30087
|
(i) => i.startsWith(n) ? i.slice(n.length) : i
|
|
30066
30088
|
);
|
|
30067
30089
|
}
|
|
30068
|
-
function
|
|
30069
|
-
const n = gu(e), i =
|
|
30090
|
+
function xM(e, t) {
|
|
30091
|
+
const n = gu(e), i = EM(n, t);
|
|
30070
30092
|
return "at_least_one_of" in e ? { at_least_one_of: i } : "mutually_required" in e ? { mutually_required: i } : { mutually_exclusive: i };
|
|
30071
30093
|
}
|
|
30072
|
-
function
|
|
30094
|
+
function SM(e) {
|
|
30073
30095
|
const t = [], n = /* @__PURE__ */ new Map();
|
|
30074
30096
|
for (const i of e) {
|
|
30075
30097
|
const o = gu(i);
|
|
@@ -30077,17 +30099,17 @@ function wM(e) {
|
|
|
30077
30099
|
t.push(i);
|
|
30078
30100
|
continue;
|
|
30079
30101
|
}
|
|
30080
|
-
const r =
|
|
30102
|
+
const r = CM(o);
|
|
30081
30103
|
if (!r) {
|
|
30082
30104
|
t.push(i);
|
|
30083
30105
|
continue;
|
|
30084
30106
|
}
|
|
30085
|
-
const a =
|
|
30107
|
+
const a = xM(i, r);
|
|
30086
30108
|
n.has(r) || n.set(r, []), n.get(r).push(a);
|
|
30087
30109
|
}
|
|
30088
30110
|
return { keep: t, move: n };
|
|
30089
30111
|
}
|
|
30090
|
-
function
|
|
30112
|
+
function AM(e, t, n) {
|
|
30091
30113
|
const i = fn(t);
|
|
30092
30114
|
let o = e;
|
|
30093
30115
|
for (const r of i) {
|
|
@@ -30105,27 +30127,27 @@ function kM(e, t, n) {
|
|
|
30105
30127
|
function Gm(e) {
|
|
30106
30128
|
var t;
|
|
30107
30129
|
if ((t = e.entity_checks) != null && t.length) {
|
|
30108
|
-
const { keep: n, move: i } =
|
|
30130
|
+
const { keep: n, move: i } = SM(e.entity_checks);
|
|
30109
30131
|
e.entity_checks = n.length ? n : void 0;
|
|
30110
30132
|
for (const [o, r] of i)
|
|
30111
|
-
|
|
30133
|
+
AM(e, o, r);
|
|
30112
30134
|
}
|
|
30113
30135
|
for (const n of e.fields) {
|
|
30114
30136
|
const i = Object.values(n)[0];
|
|
30115
30137
|
i.type === "record" && Gm(i);
|
|
30116
30138
|
}
|
|
30117
30139
|
}
|
|
30118
|
-
function
|
|
30140
|
+
function IM(e) {
|
|
30119
30141
|
const t = JSON.parse(JSON.stringify(e)), n = {
|
|
30120
30142
|
fields: t.fields
|
|
30121
30143
|
};
|
|
30122
30144
|
return Gm(n), t.fields = n.fields, t;
|
|
30123
30145
|
}
|
|
30124
|
-
function
|
|
30146
|
+
function TM(e, t) {
|
|
30125
30147
|
const n = Tn[e];
|
|
30126
30148
|
if (!n || !n.fieldRules)
|
|
30127
30149
|
return t;
|
|
30128
|
-
const i =
|
|
30150
|
+
const i = $M(n.fieldRules), o = { ...t };
|
|
30129
30151
|
return o.fields = o.fields.map((r) => {
|
|
30130
30152
|
if (Object.keys(r)[0] === "config") {
|
|
30131
30153
|
const l = r.config.entity_checks || [], s = (c) => {
|
|
@@ -30148,7 +30170,7 @@ function EM(e, t) {
|
|
|
30148
30170
|
return r;
|
|
30149
30171
|
}), o;
|
|
30150
30172
|
}
|
|
30151
|
-
function
|
|
30173
|
+
function $M(e) {
|
|
30152
30174
|
const t = [], n = (i) => i.startsWith("config.") ? i.substring(7) : i;
|
|
30153
30175
|
return e.atLeastOneOf && e.atLeastOneOf.forEach((i) => {
|
|
30154
30176
|
t.push({
|
|
@@ -30181,10 +30203,10 @@ function xM(e) {
|
|
|
30181
30203
|
}
|
|
30182
30204
|
}), t;
|
|
30183
30205
|
}
|
|
30184
|
-
const
|
|
30206
|
+
const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
30185
30207
|
key: 1,
|
|
30186
30208
|
class: "entity-form"
|
|
30187
|
-
},
|
|
30209
|
+
}, NM = { class: "plugin-config-empty-state" }, RM = /* @__PURE__ */ Pe({
|
|
30188
30210
|
__name: "PluginEntityForm",
|
|
30189
30211
|
props: {
|
|
30190
30212
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -30355,11 +30377,11 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
30355
30377
|
var Ce;
|
|
30356
30378
|
return (Ce = Q.value) == null ? void 0 : Ce.options;
|
|
30357
30379
|
}), M = L(() => {
|
|
30358
|
-
const Ce =
|
|
30380
|
+
const Ce = TM(
|
|
30359
30381
|
F.name,
|
|
30360
30382
|
i.rawSchema
|
|
30361
30383
|
);
|
|
30362
|
-
return
|
|
30384
|
+
return IM(Ce);
|
|
30363
30385
|
}), W = me(!1), z = me(), H = (Ce, se) => {
|
|
30364
30386
|
W.value = Ce ?? "", z.value = se;
|
|
30365
30387
|
}, U = (Ce) => {
|
|
@@ -30599,12 +30621,12 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
30599
30621
|
}), (Ce, se) => {
|
|
30600
30622
|
var Y, de, fe;
|
|
30601
30623
|
const ie = xe("KSkeleton");
|
|
30602
|
-
return S(), le(
|
|
30603
|
-
ee("div",
|
|
30624
|
+
return S(), le(Ge, null, [
|
|
30625
|
+
ee("div", OM, [
|
|
30604
30626
|
Ye.value ? (S(), Z(ie, {
|
|
30605
30627
|
key: 0,
|
|
30606
30628
|
type: "form"
|
|
30607
|
-
})) : F.id && e.editing || !e.editing ? (S(), le("div",
|
|
30629
|
+
})) : F.id && e.editing || !e.editing ? (S(), le("div", PM, [
|
|
30608
30630
|
j.value ? (S(), Z(jt(j.value), {
|
|
30609
30631
|
key: 0,
|
|
30610
30632
|
developer: e.developer,
|
|
@@ -30666,14 +30688,14 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
30666
30688
|
onShowNewPartialModal: se[5] || (se[5] = (ge) => Ce.$emit("showNewPartialModal", ge))
|
|
30667
30689
|
}, vt({
|
|
30668
30690
|
"plugin-config-empty-state": N(() => [
|
|
30669
|
-
ee("div",
|
|
30691
|
+
ee("div", NM, ue(u(x)("plugins.form.grouping.plugin_configuration.empty")), 1)
|
|
30670
30692
|
]),
|
|
30671
30693
|
_: 2
|
|
30672
30694
|
}, [
|
|
30673
30695
|
(fe = u(Tn)[F.name]) != null && fe.fieldRules && (i.config.isNewOtelSchema || F.name !== "opentelemetry") ? {
|
|
30674
30696
|
name: "plugin-config-before-content",
|
|
30675
30697
|
fn: N(() => [
|
|
30676
|
-
C(
|
|
30698
|
+
C(kM, {
|
|
30677
30699
|
rules: u(Tn)[F.name].fieldRules
|
|
30678
30700
|
}, null, 8, ["rules"])
|
|
30679
30701
|
]),
|
|
@@ -30698,7 +30720,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
30698
30720
|
], 64);
|
|
30699
30721
|
};
|
|
30700
30722
|
}
|
|
30701
|
-
}),
|
|
30723
|
+
}), MM = /* @__PURE__ */ Ve(RM, [["__scopeId", "data-v-7f30f062"]]), LM = { key: 1 }, FM = /* @__PURE__ */ Pe({
|
|
30702
30724
|
__name: "PluginFormActionsWrapper",
|
|
30703
30725
|
props: {
|
|
30704
30726
|
teleportTarget: {
|
|
@@ -30712,14 +30734,14 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
30712
30734
|
to: e.teleportTarget
|
|
30713
30735
|
}, [
|
|
30714
30736
|
Qe(t.$slots, "default")
|
|
30715
|
-
], 8, ["to"])) : (S(), le("div",
|
|
30737
|
+
], 8, ["to"])) : (S(), le("div", LM, [
|
|
30716
30738
|
Qe(t.$slots, "default")
|
|
30717
30739
|
]));
|
|
30718
30740
|
}
|
|
30719
|
-
}),
|
|
30741
|
+
}), KM = { key: 0 }, jM = { class: "plugin-form-actions" }, DM = {
|
|
30720
30742
|
key: 0,
|
|
30721
30743
|
class: "button-customize-deck-wrapper"
|
|
30722
|
-
},
|
|
30744
|
+
}, qM = /* @__PURE__ */ Pe({
|
|
30723
30745
|
__name: "PluginForm",
|
|
30724
30746
|
props: {
|
|
30725
30747
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -31111,7 +31133,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31111
31133
|
} else if (["string", "integer", "number"].includes(ct.type) && ct.one_of) {
|
|
31112
31134
|
if (Ee) {
|
|
31113
31135
|
const { id: Zt, help: Ot, label: ht, hint: ut, values: St, referenceable: Et, model: bn } = V[$e];
|
|
31114
|
-
V[$e] = { id: Zt, help: Ot, label: ht, hint: ut, values: St, referenceable: Et, model: bn, ...
|
|
31136
|
+
V[$e] = { id: Zt, help: Ot, label: ht, hint: ut, values: St, referenceable: Et, model: bn, ...hM(ct.one_of, Fe.default) };
|
|
31115
31137
|
}
|
|
31116
31138
|
} else if (ct.type === "array") {
|
|
31117
31139
|
const { id: Zt, help: Ot, label: ht, hint: ut, values: St, referenceable: Et, model: bn, elements: An } = V[$e], { inputAttributes: as, ...Wm } = JSON.parse(JSON.stringify(mt));
|
|
@@ -31449,12 +31471,12 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31449
31471
|
onLoading: ne[7] || (ne[7] = (Ue) => B.$emit("loading", Ue))
|
|
31450
31472
|
}, {
|
|
31451
31473
|
"form-actions": N(() => [
|
|
31452
|
-
e.isWizardStep ? (S(), le("div",
|
|
31474
|
+
e.isWizardStep ? (S(), le("div", KM)) : (S(), Z(FM, {
|
|
31453
31475
|
key: 1,
|
|
31454
31476
|
"teleport-target": e.actionsTeleportTarget
|
|
31455
31477
|
}, {
|
|
31456
31478
|
default: N(() => [
|
|
31457
|
-
ee("div",
|
|
31479
|
+
ee("div", jM, [
|
|
31458
31480
|
e.hideViewConfigAction ? ye("", !0) : (S(), Z(Se, {
|
|
31459
31481
|
key: 0,
|
|
31460
31482
|
appearance: "tertiary",
|
|
@@ -31500,7 +31522,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31500
31522
|
hidden: "",
|
|
31501
31523
|
onSubmit: ce
|
|
31502
31524
|
}, null, 32),
|
|
31503
|
-
C(
|
|
31525
|
+
C(MM, {
|
|
31504
31526
|
config: e.config,
|
|
31505
31527
|
credential: T.value,
|
|
31506
31528
|
developer: e.developer,
|
|
@@ -31563,7 +31585,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31563
31585
|
}, null, 8, ["credential-type", "entity-record", "entity-type"])
|
|
31564
31586
|
]),
|
|
31565
31587
|
deck: N(() => [
|
|
31566
|
-
u(W) ? (S(), le("div",
|
|
31588
|
+
u(W) ? (S(), le("div", DM, [
|
|
31567
31589
|
C(Se, {
|
|
31568
31590
|
appearance: "secondary",
|
|
31569
31591
|
class: "button-customize-deck",
|
|
@@ -31596,16 +31618,16 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31596
31618
|
], 2);
|
|
31597
31619
|
};
|
|
31598
31620
|
}
|
|
31599
|
-
}),
|
|
31621
|
+
}), xK = /* @__PURE__ */ Ve(qM, [["__scopeId", "data-v-cd2d48f0"]]), BM = { class: "kong-ui-entities-plugins-list" }, UM = { class: "button-row" }, VM = { class: "name-cell-wrapper" }, zM = { class: "info-wrapper" }, GM = {
|
|
31600
31622
|
key: 0,
|
|
31601
31623
|
class: "info-name"
|
|
31602
|
-
},
|
|
31624
|
+
}, HM = {
|
|
31603
31625
|
key: 1,
|
|
31604
31626
|
class: "info-name"
|
|
31605
|
-
},
|
|
31627
|
+
}, WM = {
|
|
31606
31628
|
key: 2,
|
|
31607
31629
|
class: "info-type"
|
|
31608
|
-
},
|
|
31630
|
+
}, YM = { key: 1 }, JM = /* @__PURE__ */ Pe({
|
|
31609
31631
|
__name: "PluginList",
|
|
31610
31632
|
props: {
|
|
31611
31633
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -31858,7 +31880,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31858
31880
|
Ye.value = await o.canCreate(), Ye.value && (He.value.title = r("plugins.list.empty_state.title"), He.value.ctaText = r("actions.create"));
|
|
31859
31881
|
}), (qe, Ce) => {
|
|
31860
31882
|
const se = xe("KButton"), ie = xe("KEmptyState"), Y = xe("KBadge"), de = xe("KTruncate"), fe = xe("KInputSwitch"), ge = xe("KDropdownItem"), Te = xe("KClipboardProvider");
|
|
31861
|
-
return S(), le("div",
|
|
31883
|
+
return S(), le("div", BM, [
|
|
31862
31884
|
C(u(ph), {
|
|
31863
31885
|
"cache-identifier": e.cacheIdentifier,
|
|
31864
31886
|
"disable-sorting": _.value,
|
|
@@ -31890,7 +31912,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31890
31912
|
disabled: !e.useActionOutside,
|
|
31891
31913
|
to: "#kong-ui-app-page-header-action-button"
|
|
31892
31914
|
}, [
|
|
31893
|
-
ee("div",
|
|
31915
|
+
ee("div", UM, [
|
|
31894
31916
|
!p.value && c.value ? (S(), Z(se, {
|
|
31895
31917
|
key: 0,
|
|
31896
31918
|
appearance: "secondary",
|
|
@@ -31927,22 +31949,22 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31927
31949
|
], 8, ["disabled"]))
|
|
31928
31950
|
]),
|
|
31929
31951
|
name: N(({ row: Ae }) => [
|
|
31930
|
-
ee("div",
|
|
31952
|
+
ee("div", VM, [
|
|
31931
31953
|
C(u(qi), {
|
|
31932
31954
|
class: "plugin-icon",
|
|
31933
31955
|
name: Ae.name,
|
|
31934
31956
|
size: 24
|
|
31935
31957
|
}, null, 8, ["name"]),
|
|
31936
|
-
ee("div",
|
|
31937
|
-
Ae.instance_name ? (S(), le("span",
|
|
31938
|
-
Ae.instance_name ? (S(), le("span",
|
|
31958
|
+
ee("div", zM, [
|
|
31959
|
+
Ae.instance_name ? (S(), le("span", GM, ue(Ae.instance_name), 1)) : (S(), le("span", HM, ue(u(n).getDisplayName(Ae.name)), 1)),
|
|
31960
|
+
Ae.instance_name ? (S(), le("span", WM, ue(u(n).getDisplayName(Ae.name)), 1)) : ye("", !0)
|
|
31939
31961
|
])
|
|
31940
31962
|
])
|
|
31941
31963
|
]),
|
|
31942
31964
|
appliedTo: N(({ row: Ae }) => [
|
|
31943
31965
|
P(Ae).length > 0 ? (S(), Z(de, { key: 0 }, {
|
|
31944
31966
|
default: N(() => [
|
|
31945
|
-
(S(!0), le(
|
|
31967
|
+
(S(!0), le(Ge, null, et(P(Ae), (g) => (S(), Z(u(Pi), {
|
|
31946
31968
|
key: g.badgeText,
|
|
31947
31969
|
"auth-function": () => R(g.type, Ae),
|
|
31948
31970
|
"force-show": ""
|
|
@@ -31962,7 +31984,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31962
31984
|
}, 1032, ["auth-function"]))), 128))
|
|
31963
31985
|
]),
|
|
31964
31986
|
_: 2
|
|
31965
|
-
}, 1024)) : (S(), le("span",
|
|
31987
|
+
}, 1024)) : (S(), le("span", YM, "-"))
|
|
31966
31988
|
]),
|
|
31967
31989
|
enabled: N(({ row: Ae }) => [
|
|
31968
31990
|
C(u(Pi), {
|
|
@@ -32167,16 +32189,16 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32167
32189
|
]);
|
|
32168
32190
|
};
|
|
32169
32191
|
}
|
|
32170
|
-
}),
|
|
32192
|
+
}), SK = /* @__PURE__ */ Ve(JM, [["__scopeId", "data-v-bb7d2cdb"]]), XM = { class: "plugin-select-card-wrapper" }, ZM = ["data-testid"], QM = { class: "plugin-card-header" }, eL = { class: "plugin-card-title" }, tL = {
|
|
32171
32193
|
key: 0,
|
|
32172
32194
|
class: "plugin-card-actions"
|
|
32173
|
-
},
|
|
32195
|
+
}, nL = ["data-testid", "title"], iL = {
|
|
32174
32196
|
key: 0,
|
|
32175
32197
|
class: "plugin-card-text"
|
|
32176
|
-
},
|
|
32198
|
+
}, oL = {
|
|
32177
32199
|
key: 0,
|
|
32178
32200
|
class: "custom-plugin-badges"
|
|
32179
|
-
},
|
|
32201
|
+
}, aL = ["title"], rL = /* @__PURE__ */ Pe({
|
|
32180
32202
|
__name: "PluginSelectCard",
|
|
32181
32203
|
props: {
|
|
32182
32204
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32243,7 +32265,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32243
32265
|
};
|
|
32244
32266
|
return (q, A) => {
|
|
32245
32267
|
const I = xe("KButton"), P = xe("KDropdownItem"), R = xe("KDropdownMenu"), j = xe("KBadge"), Q = xe("KTooltip");
|
|
32246
|
-
return S(), le("div",
|
|
32268
|
+
return S(), le("div", XM, [
|
|
32247
32269
|
C(Q, {
|
|
32248
32270
|
text: e.plugin.disabledMessage
|
|
32249
32271
|
}, {
|
|
@@ -32254,13 +32276,13 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32254
32276
|
role: "button",
|
|
32255
32277
|
onClick: A[1] || (A[1] = (G) => s.value || k.value ? void 0 : b())
|
|
32256
32278
|
}, [
|
|
32257
|
-
ee("div",
|
|
32258
|
-
ee("div",
|
|
32279
|
+
ee("div", QM, [
|
|
32280
|
+
ee("div", eL, [
|
|
32259
32281
|
ee("span", {
|
|
32260
32282
|
class: yt({ "non-custom-title": !k.value })
|
|
32261
32283
|
}, ue(e.plugin.name), 3)
|
|
32262
32284
|
]),
|
|
32263
|
-
_.value ? (S(), le("div",
|
|
32285
|
+
_.value ? (S(), le("div", tL, [
|
|
32264
32286
|
C(R, {
|
|
32265
32287
|
"data-testid": "custom-plugin-actions",
|
|
32266
32288
|
"kpop-attributes": { placement: "bottom-end" },
|
|
@@ -32322,9 +32344,9 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32322
32344
|
name: a.value,
|
|
32323
32345
|
size: 55
|
|
32324
32346
|
}, null, 8, ["alt", "name"]),
|
|
32325
|
-
e.plugin.description || l.value.length ? (S(), le("div",
|
|
32326
|
-
l.value.length ? (S(), le("div",
|
|
32327
|
-
(S(!0), le(
|
|
32347
|
+
e.plugin.description || l.value.length ? (S(), le("div", iL, [
|
|
32348
|
+
l.value.length ? (S(), le("div", oL, [
|
|
32349
|
+
(S(!0), le(Ge, null, et(l.value, (G) => (S(), Z(j, {
|
|
32328
32350
|
key: G,
|
|
32329
32351
|
appearance: "info"
|
|
32330
32352
|
}, {
|
|
@@ -32338,21 +32360,21 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32338
32360
|
key: 1,
|
|
32339
32361
|
class: "plugin-card-text",
|
|
32340
32362
|
title: e.plugin.description
|
|
32341
|
-
}, ue(e.plugin.description), 9,
|
|
32363
|
+
}, ue(e.plugin.description), 9, aL)) : ye("", !0)
|
|
32342
32364
|
])) : ye("", !0)
|
|
32343
|
-
], 10,
|
|
32365
|
+
], 10, nL),
|
|
32344
32366
|
ee("div", {
|
|
32345
32367
|
class: "plugin-card-footer",
|
|
32346
32368
|
onClick: O
|
|
32347
32369
|
}, ue(E.value ? u(r)("actions.create_custom") : e.plugin.exists ? u(r)("actions.enabled") : u(r)("actions.enable")), 1)
|
|
32348
|
-
], 10,
|
|
32370
|
+
], 10, ZM)
|
|
32349
32371
|
]),
|
|
32350
32372
|
_: 1
|
|
32351
32373
|
}, 8, ["text"])
|
|
32352
32374
|
]);
|
|
32353
32375
|
};
|
|
32354
32376
|
}
|
|
32355
|
-
}), Hm = /* @__PURE__ */ Ve(
|
|
32377
|
+
}), Hm = /* @__PURE__ */ Ve(rL, [["__scopeId", "data-v-eb0977c9"]]), sL = /* @__PURE__ */ Pe({
|
|
32356
32378
|
__name: "DeleteCustomPluginSchemaModal",
|
|
32357
32379
|
props: {
|
|
32358
32380
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32447,7 +32469,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32447
32469
|
}, 8, ["action-button-disabled", "title"])) : ye("", !0);
|
|
32448
32470
|
};
|
|
32449
32471
|
}
|
|
32450
|
-
}), os = /* @__PURE__ */ Ve(
|
|
32472
|
+
}), os = /* @__PURE__ */ Ve(sL, [["__scopeId", "data-v-9514182c"]]), lL = { class: "custom-plugins-grid" }, uL = { class: "empty-state-title" }, cL = { class: "empty-state-description" }, As = 310, dL = /* @__PURE__ */ Pe({
|
|
32451
32473
|
__name: "PluginCustomGrid",
|
|
32452
32474
|
props: {
|
|
32453
32475
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32544,7 +32566,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32544
32566
|
window == null || window.removeEventListener("resize", x);
|
|
32545
32567
|
}), (k, w) => {
|
|
32546
32568
|
const T = xe("KEmptyState"), O = xe("KCollapse");
|
|
32547
|
-
return S(), le("div",
|
|
32569
|
+
return S(), le("div", lL, [
|
|
32548
32570
|
d.value.length ? (S(), Z(O, {
|
|
32549
32571
|
key: 1,
|
|
32550
32572
|
modelValue: l.value,
|
|
@@ -32561,7 +32583,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32561
32583
|
class: "plugin-card-container",
|
|
32562
32584
|
style: Di(v.value)
|
|
32563
32585
|
}, [
|
|
32564
|
-
(S(!0), le(
|
|
32586
|
+
(S(!0), le(Ge, null, et(d.value, (q, A) => (S(), Z(Hm, {
|
|
32565
32587
|
key: `plugin-card-${A}`,
|
|
32566
32588
|
ref_for: !0,
|
|
32567
32589
|
ref_key: "pluginCardRef",
|
|
@@ -32594,10 +32616,10 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32594
32616
|
"icon-variant": "kong"
|
|
32595
32617
|
}, {
|
|
32596
32618
|
title: N(() => [
|
|
32597
|
-
ee("span",
|
|
32619
|
+
ee("span", uL, ue(u(o)("plugins.select.tabs.custom.empty_title")), 1)
|
|
32598
32620
|
]),
|
|
32599
32621
|
default: N(() => [
|
|
32600
|
-
ee("span",
|
|
32622
|
+
ee("span", cL, ue(u(o)("plugins.select.tabs.custom.empty_description")), 1)
|
|
32601
32623
|
]),
|
|
32602
32624
|
_: 1
|
|
32603
32625
|
})),
|
|
@@ -32611,7 +32633,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32611
32633
|
]);
|
|
32612
32634
|
};
|
|
32613
32635
|
}
|
|
32614
|
-
}),
|
|
32636
|
+
}), pL = /* @__PURE__ */ Ve(dL, [["__scopeId", "data-v-909f4d5f"]]), Is = 310, fL = /* @__PURE__ */ Pe({
|
|
32615
32637
|
__name: "PluginSelectGroup",
|
|
32616
32638
|
props: /* @__PURE__ */ yi({
|
|
32617
32639
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32688,7 +32710,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32688
32710
|
window == null || window.removeEventListener("resize", v);
|
|
32689
32711
|
}), (x, E) => {
|
|
32690
32712
|
const k = xe("KCollapse");
|
|
32691
|
-
return S(), le(
|
|
32713
|
+
return S(), le(Ge, null, [
|
|
32692
32714
|
C(k, {
|
|
32693
32715
|
modelValue: n.value,
|
|
32694
32716
|
"onUpdate:modelValue": E[0] || (E[0] = (w) => n.value = w),
|
|
@@ -32704,7 +32726,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32704
32726
|
class: "plugin-card-container",
|
|
32705
32727
|
style: Di(c.value)
|
|
32706
32728
|
}, [
|
|
32707
|
-
(S(!0), le(
|
|
32729
|
+
(S(!0), le(Ge, null, et(i.plugins, (w) => (S(), Z(Hm, {
|
|
32708
32730
|
key: `plugin-card-${w.id}`,
|
|
32709
32731
|
ref_for: !0,
|
|
32710
32732
|
ref_key: "pluginCardRef",
|
|
@@ -32741,7 +32763,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32741
32763
|
], 64);
|
|
32742
32764
|
};
|
|
32743
32765
|
}
|
|
32744
|
-
}), Zc = /* @__PURE__ */ Ve(
|
|
32766
|
+
}), Zc = /* @__PURE__ */ Ve(fL, [["__scopeId", "data-v-7f683497"]]), mL = { class: "plugin-select-grid" }, gL = { class: "empty-state-title" }, hL = { class: "empty-state-description" }, Qc = /* @__PURE__ */ Pe({
|
|
32745
32767
|
__name: "PluginSelectGrid",
|
|
32746
32768
|
props: {
|
|
32747
32769
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32813,7 +32835,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32813
32835
|
});
|
|
32814
32836
|
return (d, f) => {
|
|
32815
32837
|
const c = xe("KEmptyState");
|
|
32816
|
-
return S(), le("div",
|
|
32838
|
+
return S(), le("div", mL, [
|
|
32817
32839
|
Object.keys(s.value).length ? ye("", !0) : (S(), Z(c, {
|
|
32818
32840
|
key: 0,
|
|
32819
32841
|
"action-button-visible": !1,
|
|
@@ -32822,10 +32844,10 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32822
32844
|
"icon-variant": "kong"
|
|
32823
32845
|
}, {
|
|
32824
32846
|
title: N(() => [
|
|
32825
|
-
ee("span",
|
|
32847
|
+
ee("span", gL, ue(u(o)("plugins.select.tabs.kong.empty_title")), 1)
|
|
32826
32848
|
]),
|
|
32827
32849
|
default: N(() => [
|
|
32828
|
-
ee("span",
|
|
32850
|
+
ee("span", hL, ue(u(o)("plugins.select.tabs.kong.empty_description")), 1)
|
|
32829
32851
|
]),
|
|
32830
32852
|
_: 1
|
|
32831
32853
|
})),
|
|
@@ -32844,7 +32866,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32844
32866
|
"onDelete:success": f[1] || (f[1] = (p) => i("delete:success", p)),
|
|
32845
32867
|
onPluginClicked: f[2] || (f[2] = (p) => l(p))
|
|
32846
32868
|
}, null, 8, ["modelValue", "can-delete-cloned-plugin", "can-delete-custom-plugin", "can-edit-cloned-plugin", "can-edit-custom-plugin", "config", "name", "navigate-on-click", "plugins"])) : ye("", !0),
|
|
32847
|
-
(S(!0), le(
|
|
32869
|
+
(S(!0), le(Ge, null, et(u(mc), (p) => (S(), le(Ge, null, [
|
|
32848
32870
|
s.value[p] ? (S(), le("div", { key: p }, [
|
|
32849
32871
|
C(Zc, {
|
|
32850
32872
|
modelValue: a.value[p],
|
|
@@ -32865,11 +32887,11 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32865
32887
|
]);
|
|
32866
32888
|
};
|
|
32867
32889
|
}
|
|
32868
|
-
}),
|
|
32890
|
+
}), yL = { class: "kong-ui-entities-plugin-select-form" }, vL = { class: "plugins-filter-input-container" }, _L = { key: 0 }, bL = {
|
|
32869
32891
|
key: 3,
|
|
32870
32892
|
"aria-live": "polite",
|
|
32871
32893
|
class: "plugins-results-container"
|
|
32872
|
-
},
|
|
32894
|
+
}, wL = { "data-testid": "kong-tab" }, kL = { class: "tab-description" }, CL = { "data-testid": "custom-tab" }, EL = { class: "tab-description" }, xL = { key: 1 }, SL = /* @__PURE__ */ Pe({
|
|
32873
32895
|
__name: "PluginSelect",
|
|
32874
32896
|
props: {
|
|
32875
32897
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -33171,8 +33193,8 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33171
33193
|
(ie = k.value) == null || ie.abort();
|
|
33172
33194
|
}), (ie, Y) => {
|
|
33173
33195
|
const de = xe("KInput"), fe = xe("KSkeletonBox"), ge = xe("KSkeleton"), Te = xe("KEmptyState"), Ae = xe("KTooltip"), g = xe("KAlert"), te = xe("KTabs");
|
|
33174
|
-
return S(), le("div",
|
|
33175
|
-
ee("div",
|
|
33196
|
+
return S(), le("div", yL, [
|
|
33197
|
+
ee("div", vL, [
|
|
33176
33198
|
C(de, {
|
|
33177
33199
|
ref: "filter-input",
|
|
33178
33200
|
modelValue: c.value,
|
|
@@ -33184,7 +33206,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33184
33206
|
type: "search"
|
|
33185
33207
|
}, null, 8, ["modelValue", "placeholder"])
|
|
33186
33208
|
]),
|
|
33187
|
-
p.value ? (S(), le("section",
|
|
33209
|
+
p.value ? (S(), le("section", _L, [
|
|
33188
33210
|
C(fe, {
|
|
33189
33211
|
class: "plugins-skeleton-title",
|
|
33190
33212
|
width: "10"
|
|
@@ -33214,7 +33236,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33214
33236
|
ee("h5", null, ue(u(a)("search.no_results", { filter: c.value })), 1)
|
|
33215
33237
|
]),
|
|
33216
33238
|
_: 1
|
|
33217
|
-
})) : (S(), le("section",
|
|
33239
|
+
})) : (S(), le("section", bL, [
|
|
33218
33240
|
z.value.length ? (S(), Z(te, {
|
|
33219
33241
|
key: 0,
|
|
33220
33242
|
modelValue: H.value,
|
|
@@ -33224,8 +33246,8 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33224
33246
|
onChange: we
|
|
33225
33247
|
}, vt({
|
|
33226
33248
|
kong: N(() => [
|
|
33227
|
-
ee("div",
|
|
33228
|
-
ee("p",
|
|
33249
|
+
ee("div", wL, [
|
|
33250
|
+
ee("p", kL, ue(u(a)("plugins.select.tabs.kong.description")), 1),
|
|
33229
33251
|
C(Qc, {
|
|
33230
33252
|
"can-delete-cloned-plugin": rt.value,
|
|
33231
33253
|
"can-delete-custom-plugin": je.value,
|
|
@@ -33243,16 +33265,16 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33243
33265
|
])
|
|
33244
33266
|
]),
|
|
33245
33267
|
custom: N(() => [
|
|
33246
|
-
ee("div",
|
|
33268
|
+
ee("div", CL, [
|
|
33247
33269
|
Qe(ie.$slots, "before-custom-tab-content", {}, void 0, !0),
|
|
33248
|
-
ee("p",
|
|
33270
|
+
ee("p", EL, ue(u(a)("plugins.select.tabs.custom.description")), 1),
|
|
33249
33271
|
y.value ? (S(), Z(g, {
|
|
33250
33272
|
key: 0,
|
|
33251
33273
|
appearance: "warning",
|
|
33252
33274
|
class: "custom-plugins-warning",
|
|
33253
33275
|
message: y.value
|
|
33254
33276
|
}, null, 8, ["message"])) : ye("", !0),
|
|
33255
|
-
C(
|
|
33277
|
+
C(pL, {
|
|
33256
33278
|
"can-create-custom-plugin": Ke.value,
|
|
33257
33279
|
"can-delete-cloned-plugin": rt.value,
|
|
33258
33280
|
"can-delete-custom-plugin": je.value,
|
|
@@ -33283,7 +33305,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33283
33305
|
]),
|
|
33284
33306
|
key: "0"
|
|
33285
33307
|
} : void 0
|
|
33286
|
-
]), 1032, ["modelValue", "tabs"])) : (S(), le("div",
|
|
33308
|
+
]), 1032, ["modelValue", "tabs"])) : (S(), le("div", xL, [
|
|
33287
33309
|
y.value ? (S(), Z(g, {
|
|
33288
33310
|
key: 0,
|
|
33289
33311
|
appearance: "warning",
|
|
@@ -33309,16 +33331,16 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33309
33331
|
]);
|
|
33310
33332
|
};
|
|
33311
33333
|
}
|
|
33312
|
-
}),
|
|
33334
|
+
}), AK = /* @__PURE__ */ Ve(SL, [["__scopeId", "data-v-40b228cd"]]), AL = {
|
|
33313
33335
|
class: "plugin-select-card-wrapper",
|
|
33314
33336
|
"data-testid": "plugin-catalog-card-wrapper"
|
|
33315
|
-
},
|
|
33337
|
+
}, IL = { class: "plugin-card-header" }, TL = { class: "plugin-card-title" }, $L = {
|
|
33316
33338
|
key: 0,
|
|
33317
33339
|
class: "plugin-card-actions"
|
|
33318
|
-
},
|
|
33340
|
+
}, OL = ["data-testid", "title"], PL = { key: 0 }, NL = ["title"], RL = { class: "plugin-card-footer" }, ML = { class: "plugin-card-footer-extra" }, LL = {
|
|
33319
33341
|
key: 0,
|
|
33320
33342
|
class: "custom-plugin-badges"
|
|
33321
|
-
},
|
|
33343
|
+
}, FL = /* @__PURE__ */ Pe({
|
|
33322
33344
|
__name: "PluginCatalogCard",
|
|
33323
33345
|
props: {
|
|
33324
33346
|
config: {},
|
|
@@ -33337,7 +33359,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33337
33359
|
};
|
|
33338
33360
|
return (w, T) => {
|
|
33339
33361
|
const O = xe("KButton"), q = xe("KDropdownItem"), A = xe("KDropdownMenu"), I = xe("KBadge"), P = xe("RouterLink"), R = xe("KTooltip");
|
|
33340
|
-
return S(), le("div",
|
|
33362
|
+
return S(), le("div", AL, [
|
|
33341
33363
|
C(R, {
|
|
33342
33364
|
text: e.plugin.disabledMessage
|
|
33343
33365
|
}, {
|
|
@@ -33348,8 +33370,8 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33348
33370
|
to: v.value
|
|
33349
33371
|
}, {
|
|
33350
33372
|
default: N(() => [
|
|
33351
|
-
ee("div",
|
|
33352
|
-
ee("div",
|
|
33373
|
+
ee("div", IL, [
|
|
33374
|
+
ee("div", TL, [
|
|
33353
33375
|
C(u(qi), {
|
|
33354
33376
|
alt: e.plugin.name,
|
|
33355
33377
|
class: "plugin-card-icon",
|
|
@@ -33360,7 +33382,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33360
33382
|
class: yt({ "non-custom-title": !x.value })
|
|
33361
33383
|
}, ue(e.plugin.name), 3)
|
|
33362
33384
|
]),
|
|
33363
|
-
_.value ? (S(), le("div",
|
|
33385
|
+
_.value ? (S(), le("div", $L, [
|
|
33364
33386
|
C(A, {
|
|
33365
33387
|
"data-testid": "custom-plugin-actions",
|
|
33366
33388
|
"kpop-attributes": { placement: "bottom-end" },
|
|
@@ -33417,17 +33439,17 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33417
33439
|
"data-testid": `${e.plugin.id}-card-body`,
|
|
33418
33440
|
title: e.plugin.available ? e.plugin.name : u(r)("plugins.select.unavailable_tooltip")
|
|
33419
33441
|
}, [
|
|
33420
|
-
e.plugin.description ? (S(), le("div",
|
|
33442
|
+
e.plugin.description ? (S(), le("div", PL, [
|
|
33421
33443
|
ee("div", {
|
|
33422
33444
|
title: e.plugin.description
|
|
33423
|
-
}, ue(e.plugin.description), 9,
|
|
33445
|
+
}, ue(e.plugin.description), 9, NL)
|
|
33424
33446
|
])) : ye("", !0)
|
|
33425
|
-
], 8,
|
|
33426
|
-
ee("div",
|
|
33447
|
+
], 8, OL),
|
|
33448
|
+
ee("div", RL, [
|
|
33427
33449
|
ee("div", null, ue(b.value ? u(r)("actions.create_custom") : u(r)("actions.configure")), 1),
|
|
33428
|
-
ee("div",
|
|
33429
|
-
l.value.length ? (S(), le("div",
|
|
33430
|
-
(S(!0), le(
|
|
33450
|
+
ee("div", ML, [
|
|
33451
|
+
l.value.length ? (S(), le("div", LL, [
|
|
33452
|
+
(S(!0), le(Ge, null, et(l.value, (j) => (S(), Z(I, {
|
|
33431
33453
|
key: j,
|
|
33432
33454
|
appearance: "info"
|
|
33433
33455
|
}, {
|
|
@@ -33449,7 +33471,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33449
33471
|
]);
|
|
33450
33472
|
};
|
|
33451
33473
|
}
|
|
33452
|
-
}),
|
|
33474
|
+
}), KL = /* @__PURE__ */ Ve(FL, [["__scopeId", "data-v-cabcdb98"]]), jL = ["data-testid"], DL = { class: "group-icon-wrapper" }, qL = { class: "group-title-text" }, BL = ["data-testid"], UL = ["data-testid"], VL = /* @__PURE__ */ Pe({
|
|
33453
33475
|
__name: "PluginCatalogGroup",
|
|
33454
33476
|
props: {
|
|
33455
33477
|
config: {},
|
|
@@ -33511,24 +33533,24 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33511
33533
|
customPluginType: (v = c.value) == null ? void 0 : v.customPluginType
|
|
33512
33534
|
})), f.value = !1, c.value = null;
|
|
33513
33535
|
};
|
|
33514
|
-
return (h, y) => (S(), le(
|
|
33536
|
+
return (h, y) => (S(), le(Ge, null, [
|
|
33515
33537
|
e.name ? (S(), le("div", {
|
|
33516
33538
|
key: 0,
|
|
33517
33539
|
class: "group-title",
|
|
33518
33540
|
"data-testid": `plugin-group-${e.name}-title`
|
|
33519
33541
|
}, [
|
|
33520
|
-
ee("div",
|
|
33542
|
+
ee("div", DL, [
|
|
33521
33543
|
(S(), Z(jt(i.value), {
|
|
33522
33544
|
color: `var(--kui-color-text-decorative-purple, ${u(Ed)})`
|
|
33523
33545
|
}, null, 8, ["color"]))
|
|
33524
33546
|
]),
|
|
33525
|
-
ee("span",
|
|
33526
|
-
], 8,
|
|
33547
|
+
ee("span", qL, ue(e.name), 1)
|
|
33548
|
+
], 8, jL)) : ye("", !0),
|
|
33527
33549
|
ee("div", {
|
|
33528
33550
|
class: "plugin-card-container",
|
|
33529
33551
|
"data-testid": `plugin-group-${e.name}`
|
|
33530
33552
|
}, [
|
|
33531
|
-
(S(!0), le(
|
|
33553
|
+
(S(!0), le(Ge, null, et(l.value, (_) => (S(), Z(KL, {
|
|
33532
33554
|
key: `plugin-card-${_.id}`,
|
|
33533
33555
|
"can-delete-cloned-plugin": e.canDeleteClonedPlugin,
|
|
33534
33556
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
@@ -33545,7 +33567,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33545
33567
|
ee("span", {
|
|
33546
33568
|
class: "plugin-card-new-badge",
|
|
33547
33569
|
"data-testid": `plugin-card-${_.id}-new-badge`
|
|
33548
|
-
}, ue(u(r)("labels.new")), 9,
|
|
33570
|
+
}, ue(u(r)("labels.new")), 9, UL)
|
|
33549
33571
|
]),
|
|
33550
33572
|
key: "0"
|
|
33551
33573
|
} : void 0
|
|
@@ -33555,7 +33577,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33555
33577
|
class: "show-all-plugin-card",
|
|
33556
33578
|
onClick: d
|
|
33557
33579
|
}, ue(u(r)("plugins.select.show_all")), 1)) : ye("", !0)
|
|
33558
|
-
], 8,
|
|
33580
|
+
], 8, BL),
|
|
33559
33581
|
f.value && c.value ? (S(), Z(os, {
|
|
33560
33582
|
key: 1,
|
|
33561
33583
|
config: e.config,
|
|
@@ -33565,7 +33587,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33565
33587
|
}, null, 8, ["config", "plugin"])) : ye("", !0)
|
|
33566
33588
|
], 64));
|
|
33567
33589
|
}
|
|
33568
|
-
}), ed = /* @__PURE__ */ Ve(
|
|
33590
|
+
}), ed = /* @__PURE__ */ Ve(VL, [["__scopeId", "data-v-f9a9a47c"]]), zL = { class: "plugin-select-grid" }, GL = { class: "empty-state-title" }, HL = { class: "empty-state-description" }, WL = { key: 1 }, YL = /* @__PURE__ */ Pe({
|
|
33569
33591
|
__name: "PluginCatalogGrid",
|
|
33570
33592
|
props: {
|
|
33571
33593
|
config: {},
|
|
@@ -33583,7 +33605,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33583
33605
|
return (a, l) => {
|
|
33584
33606
|
var d;
|
|
33585
33607
|
const s = xe("KEmptyState");
|
|
33586
|
-
return S(), le("div",
|
|
33608
|
+
return S(), le("div", zL, [
|
|
33587
33609
|
Object.keys(e.pluginList || []).length ? ye("", !0) : (S(), Z(s, {
|
|
33588
33610
|
key: 0,
|
|
33589
33611
|
"action-button-visible": !1,
|
|
@@ -33592,16 +33614,16 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33592
33614
|
"icon-variant": "kong"
|
|
33593
33615
|
}, {
|
|
33594
33616
|
title: N(() => [
|
|
33595
|
-
ee("span",
|
|
33617
|
+
ee("span", GL, ue(u(o)("plugins.select.tabs.kong.empty_title")), 1)
|
|
33596
33618
|
]),
|
|
33597
33619
|
default: N(() => [
|
|
33598
|
-
ee("span",
|
|
33620
|
+
ee("span", HL, ue(u(o)("plugins.select.tabs.kong.empty_description")), 1)
|
|
33599
33621
|
]),
|
|
33600
33622
|
_: 1
|
|
33601
33623
|
})),
|
|
33602
|
-
(S(!0), le(
|
|
33624
|
+
(S(!0), le(Ge, null, et(u(n), (f) => {
|
|
33603
33625
|
var c;
|
|
33604
|
-
return S(), le(
|
|
33626
|
+
return S(), le(Ge, null, [
|
|
33605
33627
|
(c = e.pluginList) != null && c[f] ? (S(), le("div", { key: f }, [
|
|
33606
33628
|
C(ed, {
|
|
33607
33629
|
"can-delete-cloned-plugin": e.canDeleteClonedPlugin,
|
|
@@ -33617,7 +33639,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33617
33639
|
])) : ye("", !0)
|
|
33618
33640
|
], 64);
|
|
33619
33641
|
}), 256)),
|
|
33620
|
-
(d = e.pluginList) != null && d["Query Result"] ? (S(), le("div",
|
|
33642
|
+
(d = e.pluginList) != null && d["Query Result"] ? (S(), le("div", WL, [
|
|
33621
33643
|
C(ed, {
|
|
33622
33644
|
"can-delete-cloned-plugin": e.canDeleteClonedPlugin,
|
|
33623
33645
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
@@ -33633,17 +33655,17 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33633
33655
|
]);
|
|
33634
33656
|
};
|
|
33635
33657
|
}
|
|
33636
|
-
}),
|
|
33658
|
+
}), JL = /* @__PURE__ */ Ve(YL, [["__scopeId", "data-v-e3bf3819"]]), XL = {
|
|
33637
33659
|
class: "plugin-name-cell",
|
|
33638
33660
|
"data-testid": "plugin-catalog-list-view-name"
|
|
33639
|
-
},
|
|
33661
|
+
}, ZL = ["title"], QL = ["title"], eF = {
|
|
33640
33662
|
class: "plugin-action-cell",
|
|
33641
33663
|
"data-testid": "plugin-catalog-list-view-action"
|
|
33642
|
-
},
|
|
33664
|
+
}, tF = {
|
|
33643
33665
|
key: 0,
|
|
33644
33666
|
class: "plugin-more-action-cell",
|
|
33645
33667
|
"data-testid": "plugin-catalog-list-view-more-actions"
|
|
33646
|
-
},
|
|
33668
|
+
}, nF = /* @__PURE__ */ Pe({
|
|
33647
33669
|
__name: "PluginCatalogListView",
|
|
33648
33670
|
props: {
|
|
33649
33671
|
config: {},
|
|
@@ -33708,7 +33730,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33708
33730
|
};
|
|
33709
33731
|
return (A, I) => {
|
|
33710
33732
|
const P = xe("KBadge"), R = xe("KButton"), j = xe("KDropdownItem"), Q = xe("KDropdown"), G = xe("KTableView"), oe = xe("KCard");
|
|
33711
|
-
return S(), le(
|
|
33733
|
+
return S(), le(Ge, null, [
|
|
33712
33734
|
C(oe, { "data-testid": "plugin-catalog-list-view-card" }, {
|
|
33713
33735
|
default: N(() => [
|
|
33714
33736
|
(S(), Z(G, {
|
|
@@ -33731,7 +33753,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33731
33753
|
onSort: q
|
|
33732
33754
|
}, {
|
|
33733
33755
|
name: N(({ row: F }) => [
|
|
33734
|
-
ee("span",
|
|
33756
|
+
ee("span", XL, [
|
|
33735
33757
|
C(u(qi), {
|
|
33736
33758
|
"data-testid": `plugin-catalog-list-view-${F.plugin.id}-icon`,
|
|
33737
33759
|
name: y(F.plugin),
|
|
@@ -33741,7 +33763,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33741
33763
|
class: "plugin-name-text",
|
|
33742
33764
|
"data-testid": "plugin-catalog-list-view-name-text",
|
|
33743
33765
|
title: F.name
|
|
33744
|
-
}, ue(F.name), 9,
|
|
33766
|
+
}, ue(F.name), 9, ZL),
|
|
33745
33767
|
F.badge ? (S(), Z(P, {
|
|
33746
33768
|
key: 0,
|
|
33747
33769
|
appearance: "info",
|
|
@@ -33760,10 +33782,10 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33760
33782
|
class: "plugin-description-cell",
|
|
33761
33783
|
"data-testid": "plugin-catalog-list-view-description",
|
|
33762
33784
|
title: F.description
|
|
33763
|
-
}, ue(F.description), 9,
|
|
33785
|
+
}, ue(F.description), 9, QL)
|
|
33764
33786
|
]),
|
|
33765
33787
|
action: N(({ row: F }) => [
|
|
33766
|
-
ee("div",
|
|
33788
|
+
ee("div", eF, [
|
|
33767
33789
|
C(R, {
|
|
33768
33790
|
appearance: "tertiary",
|
|
33769
33791
|
"data-testid": "plugin-catalog-list-view-configure-btn",
|
|
@@ -33778,7 +33800,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33778
33800
|
])
|
|
33779
33801
|
]),
|
|
33780
33802
|
"more-actions": N(({ row: F }) => [
|
|
33781
|
-
x(F.plugin) ? (S(), le("div",
|
|
33803
|
+
x(F.plugin) ? (S(), le("div", tF, [
|
|
33782
33804
|
C(Q, {
|
|
33783
33805
|
appearance: "tertiary",
|
|
33784
33806
|
class: "actions-trigger",
|
|
@@ -33838,17 +33860,17 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33838
33860
|
], 64);
|
|
33839
33861
|
};
|
|
33840
33862
|
}
|
|
33841
|
-
}),
|
|
33863
|
+
}), iF = /* @__PURE__ */ Ve(nF, [["__scopeId", "data-v-986d34db"]]), oF = {
|
|
33842
33864
|
class: "plugin-catalog",
|
|
33843
33865
|
"data-testid": "plugin-catalog"
|
|
33844
|
-
},
|
|
33866
|
+
}, aF = {
|
|
33845
33867
|
class: "plugin-filter",
|
|
33846
33868
|
"data-testid": "plugin-filter"
|
|
33847
|
-
},
|
|
33869
|
+
}, rF = { class: "plugin-filter-title" }, sF = { class: "featured-title" }, lF = { class: "plugin-featured-filter" }, uF = ["data-testid"], cF = { class: "group-title" }, dF = { class: "plugin-type-filter" }, pF = ["data-testid"], fF = { class: "plugins-container" }, mF = { class: "plugins-filter-input-container" }, gF = { class: "icon-container" }, hF = { key: 0 }, yF = {
|
|
33848
33870
|
key: 3,
|
|
33849
33871
|
"aria-live": "polite",
|
|
33850
33872
|
class: "plugins-results-container"
|
|
33851
|
-
},
|
|
33873
|
+
}, vF = /* @__PURE__ */ Pe({
|
|
33852
33874
|
__name: "PluginCatalog",
|
|
33853
33875
|
props: {
|
|
33854
33876
|
config: {},
|
|
@@ -34070,9 +34092,9 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34070
34092
|
(se = q.value) == null || se.abort();
|
|
34071
34093
|
}), (se, ie) => {
|
|
34072
34094
|
const Y = xe("KButton"), de = xe("KCheckbox"), fe = xe("KBadge"), ge = xe("KCollapse"), Te = xe("KInput"), Ae = xe("KSkeletonBox"), g = xe("KSkeleton"), te = xe("KEmptyState"), ce = xe("KAlert");
|
|
34073
|
-
return S(), le("div",
|
|
34074
|
-
ee("div",
|
|
34075
|
-
ee("div",
|
|
34095
|
+
return S(), le("div", oF, [
|
|
34096
|
+
ee("div", aF, [
|
|
34097
|
+
ee("div", rF, [
|
|
34076
34098
|
Le(ue(u(i)("plugins.select.filter.title")) + " ", 1),
|
|
34077
34099
|
C(Y, {
|
|
34078
34100
|
appearance: "tertiary",
|
|
@@ -34092,11 +34114,11 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34092
34114
|
"onUpdate:modelValue": ie[0] || (ie[0] = (ve) => p.value = ve)
|
|
34093
34115
|
}, {
|
|
34094
34116
|
title: N(() => [
|
|
34095
|
-
ee("div",
|
|
34117
|
+
ee("div", sF, ue(u(i)("plugins.select.filter.featured")), 1)
|
|
34096
34118
|
]),
|
|
34097
34119
|
default: N(() => [
|
|
34098
|
-
ee("div",
|
|
34099
|
-
(S(!0), le(
|
|
34120
|
+
ee("div", lF, [
|
|
34121
|
+
(S(!0), le(Ge, null, et(u(Ys), (ve) => (S(), le("div", {
|
|
34100
34122
|
key: ve,
|
|
34101
34123
|
class: "plugin-filter-item",
|
|
34102
34124
|
"data-testid": `plugin-filter-item-${ve}`
|
|
@@ -34115,7 +34137,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34115
34137
|
}),
|
|
34116
34138
|
_: 2
|
|
34117
34139
|
}, 1024)
|
|
34118
|
-
], 8,
|
|
34140
|
+
], 8, uF))), 128))
|
|
34119
34141
|
])
|
|
34120
34142
|
]),
|
|
34121
34143
|
_: 1
|
|
@@ -34125,11 +34147,11 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34125
34147
|
"onUpdate:modelValue": ie[1] || (ie[1] = (ve) => m.value = ve)
|
|
34126
34148
|
}, {
|
|
34127
34149
|
title: N(() => [
|
|
34128
|
-
ee("div",
|
|
34150
|
+
ee("div", cF, ue(u(i)("plugins.select.filter.type")), 1)
|
|
34129
34151
|
]),
|
|
34130
34152
|
default: N(() => [
|
|
34131
|
-
ee("div",
|
|
34132
|
-
(S(!0), le(
|
|
34153
|
+
ee("div", dF, [
|
|
34154
|
+
(S(!0), le(Ge, null, et(u(Js), (ve) => (S(), le("div", {
|
|
34133
34155
|
key: ve,
|
|
34134
34156
|
class: "plugin-filter-item",
|
|
34135
34157
|
"data-testid": `plugin-filter-item-${ve}`
|
|
@@ -34152,14 +34174,14 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34152
34174
|
}),
|
|
34153
34175
|
_: 2
|
|
34154
34176
|
}, 1032, ["data-testid"])
|
|
34155
|
-
], 8,
|
|
34177
|
+
], 8, pF))), 128))
|
|
34156
34178
|
])
|
|
34157
34179
|
]),
|
|
34158
34180
|
_: 1
|
|
34159
34181
|
}, 8, ["modelValue"])
|
|
34160
34182
|
]),
|
|
34161
|
-
ee("div",
|
|
34162
|
-
ee("div",
|
|
34183
|
+
ee("div", fF, [
|
|
34184
|
+
ee("div", mF, [
|
|
34163
34185
|
C(Te, {
|
|
34164
34186
|
ref: "filter-input",
|
|
34165
34187
|
modelValue: c.value,
|
|
@@ -34170,7 +34192,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34170
34192
|
placeholder: u(i)("search.placeholder.search_plugins"),
|
|
34171
34193
|
type: "search"
|
|
34172
34194
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
34173
|
-
ee("div",
|
|
34195
|
+
ee("div", gF, [
|
|
34174
34196
|
(S(), Z(jt(I.value), {
|
|
34175
34197
|
class: "plugins-filter-icon",
|
|
34176
34198
|
color: `var(--kui-icon-color-primary, ${u(sy)})`,
|
|
@@ -34178,7 +34200,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34178
34200
|
}, null, 8, ["color"]))
|
|
34179
34201
|
])
|
|
34180
34202
|
]),
|
|
34181
|
-
y.value ? (S(), le("section",
|
|
34203
|
+
y.value ? (S(), le("section", hF, [
|
|
34182
34204
|
C(Ae, {
|
|
34183
34205
|
class: "plugins-skeleton-title",
|
|
34184
34206
|
width: "10"
|
|
@@ -34208,14 +34230,14 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34208
34230
|
ee("h5", null, ue(u(i)("search.no_results", { filter: c.value })), 1)
|
|
34209
34231
|
]),
|
|
34210
34232
|
_: 1
|
|
34211
|
-
})) : (S(), le("section",
|
|
34233
|
+
})) : (S(), le("section", yF, [
|
|
34212
34234
|
b.value ? (S(), Z(ce, {
|
|
34213
34235
|
key: 0,
|
|
34214
34236
|
appearance: "warning",
|
|
34215
34237
|
class: "custom-plugins-warning",
|
|
34216
34238
|
message: b.value
|
|
34217
34239
|
}, null, 8, ["message"])) : ye("", !0),
|
|
34218
|
-
O.value ? (S(), Z(
|
|
34240
|
+
O.value ? (S(), Z(iF, {
|
|
34219
34241
|
key: 1,
|
|
34220
34242
|
"can-delete-cloned-plugin": Be.value,
|
|
34221
34243
|
"can-delete-custom-plugin": pe.value,
|
|
@@ -34224,7 +34246,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34224
34246
|
config: e.config,
|
|
34225
34247
|
"plugin-list": $.value,
|
|
34226
34248
|
"onDelete:success": qe
|
|
34227
|
-
}, null, 8, ["can-delete-cloned-plugin", "can-delete-custom-plugin", "can-edit-cloned-plugin", "can-edit-custom-plugin", "config", "plugin-list"])) : (S(), Z(
|
|
34249
|
+
}, null, 8, ["can-delete-cloned-plugin", "can-delete-custom-plugin", "can-edit-cloned-plugin", "can-edit-custom-plugin", "config", "plugin-list"])) : (S(), Z(JL, {
|
|
34228
34250
|
key: 2,
|
|
34229
34251
|
"can-delete-cloned-plugin": Be.value,
|
|
34230
34252
|
"can-delete-custom-plugin": pe.value,
|
|
@@ -34240,16 +34262,16 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34240
34262
|
]);
|
|
34241
34263
|
};
|
|
34242
34264
|
}
|
|
34243
|
-
}),
|
|
34265
|
+
}), IK = /* @__PURE__ */ Ve(vF, [["__scopeId", "data-v-679e985d"]]), _F = {
|
|
34244
34266
|
key: 1,
|
|
34245
34267
|
class: "datakit-config-card-canvas"
|
|
34246
|
-
},
|
|
34268
|
+
}, bF = {
|
|
34247
34269
|
class: "config-card-details-label",
|
|
34248
34270
|
"data-testid": "datakit-configuration-label"
|
|
34249
|
-
},
|
|
34271
|
+
}, wF = {
|
|
34250
34272
|
class: "config-card-details-value datakit-canvas-container",
|
|
34251
34273
|
"data-testid": "datakit-configuration-canvas"
|
|
34252
|
-
},
|
|
34274
|
+
}, kF = { class: "canvas-wrapper" }, CF = /* @__PURE__ */ Pe({
|
|
34253
34275
|
__name: "DatakitConfigCardCanvas",
|
|
34254
34276
|
props: {
|
|
34255
34277
|
pluginData: {},
|
|
@@ -34262,8 +34284,8 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34262
34284
|
});
|
|
34263
34285
|
return qp(e.pluginData), (n, i) => {
|
|
34264
34286
|
const o = xe("KLabel");
|
|
34265
|
-
return t.value ? (S(), le("div",
|
|
34266
|
-
ee("div",
|
|
34287
|
+
return t.value ? (S(), le("div", _F, [
|
|
34288
|
+
ee("div", bF, [
|
|
34267
34289
|
C(o, null, {
|
|
34268
34290
|
default: N(() => [...i[0] || (i[0] = [
|
|
34269
34291
|
ee("span", { class: "label-content" }, " Nodes ", -1)
|
|
@@ -34271,8 +34293,8 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34271
34293
|
_: 1
|
|
34272
34294
|
})
|
|
34273
34295
|
]),
|
|
34274
|
-
ee("div",
|
|
34275
|
-
ee("div",
|
|
34296
|
+
ee("div", wF, [
|
|
34297
|
+
ee("div", kF, [
|
|
34276
34298
|
C(du, {
|
|
34277
34299
|
class: "datakit-flow-panels",
|
|
34278
34300
|
mode: "view",
|
|
@@ -34286,7 +34308,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34286
34308
|
}, null, 8, ["item"]));
|
|
34287
34309
|
};
|
|
34288
34310
|
}
|
|
34289
|
-
}),
|
|
34311
|
+
}), EF = /* @__PURE__ */ Ve(CF, [["__scopeId", "data-v-9a3ef1ac"]]), xF = { class: "kong-ui-entity-plugin-config-card" }, SF = { class: "name-cell-wrapper" }, AF = { class: "info-name" }, IF = { key: 0 }, TF = { key: 0 }, $F = { key: 0 }, OF = { key: 0 }, PF = { key: 0 }, Ts = "config", NF = /* @__PURE__ */ Pe({
|
|
34290
34312
|
__name: "PluginConfigCard",
|
|
34291
34313
|
props: {
|
|
34292
34314
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -34426,7 +34448,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34426
34448
|
}
|
|
34427
34449
|
}), (k, w) => {
|
|
34428
34450
|
const T = xe("KSkeleton"), O = xe("KEmptyState"), q = xe("KCopy");
|
|
34429
|
-
return S(), le("div",
|
|
34451
|
+
return S(), le("div", xF, [
|
|
34430
34452
|
b.value ? (S(), Z(T, {
|
|
34431
34453
|
key: 0,
|
|
34432
34454
|
"data-testid": "plugin-config-card-loader",
|
|
@@ -34458,13 +34480,13 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34458
34480
|
onLoading: w[2] || (w[2] = (A) => k.$emit("loading", A))
|
|
34459
34481
|
}, vt({
|
|
34460
34482
|
name: N((A) => [
|
|
34461
|
-
ee("div",
|
|
34483
|
+
ee("div", SF, [
|
|
34462
34484
|
C(u(qi), {
|
|
34463
34485
|
class: "plugin-icon",
|
|
34464
34486
|
name: u(l)("rowValue", A),
|
|
34465
34487
|
size: 24
|
|
34466
34488
|
}, null, 8, ["name"]),
|
|
34467
|
-
ee("span",
|
|
34489
|
+
ee("span", AF, ue(u(r).getDisplayName(u(l)("rowValue", A))), 1)
|
|
34468
34490
|
])
|
|
34469
34491
|
]),
|
|
34470
34492
|
consumer: N((A) => [
|
|
@@ -34481,7 +34503,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34481
34503
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34482
34504
|
"data-testid": "consumer-copy-uuid",
|
|
34483
34505
|
text: u(l)("rowValue", A).id
|
|
34484
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34506
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", IF, "–"))
|
|
34485
34507
|
]),
|
|
34486
34508
|
route: N((A) => [
|
|
34487
34509
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34497,7 +34519,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34497
34519
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34498
34520
|
"data-testid": "route-copy-uuid",
|
|
34499
34521
|
text: u(l)("rowValue", A).id
|
|
34500
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34522
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", TF, "–"))
|
|
34501
34523
|
]),
|
|
34502
34524
|
service: N((A) => [
|
|
34503
34525
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34513,7 +34535,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34513
34535
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34514
34536
|
"data-testid": "service-copy-uuid",
|
|
34515
34537
|
text: u(l)("rowValue", A).id
|
|
34516
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34538
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", $F, "–"))
|
|
34517
34539
|
]),
|
|
34518
34540
|
consumer_group: N((A) => [
|
|
34519
34541
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34529,7 +34551,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34529
34551
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34530
34552
|
"data-testid": "consumer-group-copy-uuid",
|
|
34531
34553
|
text: u(l)("rowValue", A).id
|
|
34532
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34554
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", OF, "–"))
|
|
34533
34555
|
]),
|
|
34534
34556
|
partials: N((A) => {
|
|
34535
34557
|
var I, P, R, j, Q, G, oe, F, X;
|
|
@@ -34550,7 +34572,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34550
34572
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34551
34573
|
"data-testid": "partial-copy-uuid",
|
|
34552
34574
|
text: (X = u(l)("rowValue", A)) == null ? void 0 : X[0].id
|
|
34553
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34575
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", PF, "–"))
|
|
34554
34576
|
];
|
|
34555
34577
|
}),
|
|
34556
34578
|
_: 2
|
|
@@ -34558,7 +34580,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34558
34580
|
e.config.pluginType === "datakit" && e.config.app === "konnect" ? {
|
|
34559
34581
|
name: "config-card-item-nodes",
|
|
34560
34582
|
fn: N((A) => [
|
|
34561
|
-
C(
|
|
34583
|
+
C(EF, {
|
|
34562
34584
|
item: A.row,
|
|
34563
34585
|
"plugin-data": A.record
|
|
34564
34586
|
}, null, 8, ["item", "plugin-data"])
|
|
@@ -34569,16 +34591,16 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34569
34591
|
]);
|
|
34570
34592
|
};
|
|
34571
34593
|
}
|
|
34572
|
-
}),
|
|
34594
|
+
}), TK = /* @__PURE__ */ Ve(NF, [["__scopeId", "data-v-03dcf2b4"]]), { usePluginMetaData: $K, useProvideExperimentalFreeForms: OK } = lt;
|
|
34573
34595
|
export {
|
|
34574
34596
|
Rt as ArrayField,
|
|
34575
34597
|
kn as BooleanField,
|
|
34576
34598
|
mm as CommonForm,
|
|
34577
|
-
|
|
34599
|
+
EK as CustomPluginForm,
|
|
34578
34600
|
li as DynamicLayout,
|
|
34579
34601
|
$p as EXPERIMENTAL_FREE_FORM_PROVIDER,
|
|
34580
34602
|
lo as EntityTypeIdField,
|
|
34581
|
-
|
|
34603
|
+
qt as EnumField,
|
|
34582
34604
|
mi as FEATURE_FLAGS,
|
|
34583
34605
|
Ec as FIELD_PATH_KEY,
|
|
34584
34606
|
Po as FIELD_RENDERERS,
|
|
@@ -34595,19 +34617,19 @@ export {
|
|
|
34595
34617
|
zp as NodeBadge,
|
|
34596
34618
|
Yt as NumberField,
|
|
34597
34619
|
Gt as ObjectField,
|
|
34598
|
-
|
|
34599
|
-
|
|
34620
|
+
IK as PluginCatalog,
|
|
34621
|
+
TK as PluginConfigCard,
|
|
34600
34622
|
bI as PluginConfigurationForm,
|
|
34601
34623
|
Ys as PluginFeaturedArray,
|
|
34602
|
-
|
|
34603
|
-
|
|
34624
|
+
xK as PluginForm,
|
|
34625
|
+
FK as PluginGroup,
|
|
34604
34626
|
mc as PluginGroupArray,
|
|
34605
34627
|
Js as PluginGroupArraySortedAlphabetically,
|
|
34606
|
-
|
|
34607
|
-
|
|
34628
|
+
RK as PluginIcon,
|
|
34629
|
+
SK as PluginList,
|
|
34608
34630
|
Ws as PluginPartialType,
|
|
34609
|
-
|
|
34610
|
-
|
|
34631
|
+
KK as PluginScope,
|
|
34632
|
+
AK as PluginSelect,
|
|
34611
34633
|
Hm as PluginSelectCard,
|
|
34612
34634
|
Qc as PluginSelectGrid,
|
|
34613
34635
|
Na as StringArrayField,
|
|
@@ -34621,15 +34643,15 @@ export {
|
|
|
34621
34643
|
GE as buildSchemaMap,
|
|
34622
34644
|
zl as defaultLabelFormatter,
|
|
34623
34645
|
ra as generalizePath,
|
|
34624
|
-
|
|
34646
|
+
MK as getPluginIconURL,
|
|
34625
34647
|
Fm as pluginConfigRegistry,
|
|
34626
34648
|
ot as pluginEndpoints,
|
|
34627
34649
|
qp as provideEditorStore,
|
|
34628
34650
|
tx as provideFormShared,
|
|
34629
|
-
|
|
34651
|
+
uK as renderRuleExactMatch,
|
|
34630
34652
|
nf as replaceByDictionary,
|
|
34631
34653
|
of as replaceByDictionaryInFieldName,
|
|
34632
|
-
|
|
34654
|
+
Ut as useEditorStore,
|
|
34633
34655
|
Wt as useField,
|
|
34634
34656
|
Qp as useFieldAncestors,
|
|
34635
34657
|
yn as useFieldAttrs,
|
|
@@ -34642,9 +34664,9 @@ export {
|
|
|
34642
34664
|
rx as useLabelPath,
|
|
34643
34665
|
Gl as useMapField,
|
|
34644
34666
|
nx as useOptionalFormShared,
|
|
34645
|
-
|
|
34646
|
-
|
|
34647
|
-
|
|
34667
|
+
$K as usePluginMetaData,
|
|
34668
|
+
OK as useProvideExperimentalFreeForms,
|
|
34669
|
+
CK as useProvideFreeFormPluginLayout,
|
|
34648
34670
|
ox as useSchemaExposer,
|
|
34649
34671
|
HE as useSchemaHelpers
|
|
34650
34672
|
};
|