@kong-ui-public/entities-plugins 9.238.0 → 9.239.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities-plugins.es.js +622 -595
- package/dist/entities-plugins.umd.js +32 -32
- package/dist/style.css +1 -1
- package/dist/types/components/free-form/plugins/confluent.d.ts.map +1 -1
- package/dist/types/components/free-form/plugins/datakit/flow-editor/modal/EditorModal.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/plugins/datakit/flow-editor/modal/EditorNav.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/plugins/degraphql.d.ts +3 -0
- package/dist/types/components/free-form/plugins/degraphql.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/grpc-gateway.d.ts +3 -0
- package/dist/types/components/free-form/plugins/grpc-gateway.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/grpc-web.d.ts +3 -0
- package/dist/types/components/free-form/plugins/grpc-web.d.ts.map +1 -0
- package/package.json +8 -8
|
@@ -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 Un, PLUGIN_FORM_LAYOUT_STATE as ml, SupportedEntityType as ni, 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 YK, getPluginIconURL as JK } 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 ZK, PluginScope as QK } from "@kong-ui-public/entities-plugins-metadata";
|
|
17
17
|
import { FORMS_CONFIG as Jn, composables as bh, AUTOFILL_SLOT as Xn, FORMS_API_KEY as yd, FieldScopedEntitySelect as wh, AUTOFILL_SLOT_NAME as Nn, 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";
|
|
@@ -6973,14 +6973,14 @@ const [Z1, Q1] = pl(
|
|
|
6973
6973
|
const ne = Ue.value.get(B.id), V = ne == null ? void 0 : ne.position, Ee = ne == null ? void 0 : ne.dimensions, Se = ne && V && Ee ? {
|
|
6974
6974
|
x: B.position.x - V.x,
|
|
6975
6975
|
y: B.position.y - V.y
|
|
6976
|
-
} : B.position, Ne = Be(B.id),
|
|
6976
|
+
} : B.position, Ne = Be(B.id), qe = !!(ne && V && Ee), Ve = (qe ? Ne : 0) + Ce.value + 1;
|
|
6977
6977
|
return {
|
|
6978
6978
|
id: B.id,
|
|
6979
6979
|
type: "flow",
|
|
6980
6980
|
position: Se,
|
|
6981
6981
|
data: B,
|
|
6982
6982
|
deletable: !o && !vr(B),
|
|
6983
|
-
parentNode:
|
|
6983
|
+
parentNode: qe ? ne.id : void 0,
|
|
6984
6984
|
zIndex: Ve * dr + hy
|
|
6985
6985
|
};
|
|
6986
6986
|
})
|
|
@@ -7033,13 +7033,13 @@ const [Z1, Q1] = pl(
|
|
|
7033
7033
|
const Se = dc(ne), Ne = dc(Ee);
|
|
7034
7034
|
if ((Se == null ? void 0 : Se.io) === "input" || (Ne == null ? void 0 : Ne.io) === "output" || ne === "output" && Ee === "output")
|
|
7035
7035
|
return;
|
|
7036
|
-
const
|
|
7036
|
+
const qe = z(V);
|
|
7037
7037
|
let Ve = !1, tt = !1;
|
|
7038
|
-
const Je = [], Fe = [], $e = (Ne == null ? void 0 : Ne.io) === "input" ?
|
|
7038
|
+
const Je = [], Fe = [], $e = (Ne == null ? void 0 : Ne.io) === "input" ? qe.filter((Ot) => !Ot.targetField) : qe.filter((Ot) => !!Ot.targetField);
|
|
7039
7039
|
$e.length > 0 && (Ve = !0, $e.forEach((Ot) => {
|
|
7040
7040
|
Fe.push(aa(Ot, X)), W(Ot.id, !1);
|
|
7041
7041
|
}));
|
|
7042
|
-
const _t = (Ne == null ? void 0 : Ne.io) === "input" ? Ne != null && Ne.field ?
|
|
7042
|
+
const _t = (Ne == null ? void 0 : Ne.io) === "input" ? Ne != null && Ne.field ? qe.filter((Ot) => Ot.targetField === Ne.field) : qe.filter((Ot) => !!Ot.targetField) : qe.filter((Ot) => !Ot.targetField);
|
|
7043
7043
|
if (_t.length > 0) {
|
|
7044
7044
|
if (_t.some((Xt) => Xt.source === B && Xt.target === V && Xt.targetField === (Ne == null ? void 0 : Ne.field) && Xt.sourceField === (Se == null ? void 0 : Se.field)))
|
|
7045
7045
|
return;
|
|
@@ -7099,7 +7099,7 @@ const [Z1, Q1] = pl(
|
|
|
7099
7099
|
}
|
|
7100
7100
|
}), V && !ce && (ce = !0, queueMicrotask(ve));
|
|
7101
7101
|
}), v(({ node: B, event: ne }) => {
|
|
7102
|
-
var
|
|
7102
|
+
var qe, Ve, tt;
|
|
7103
7103
|
if (!B) return;
|
|
7104
7104
|
if (re(B.id)) {
|
|
7105
7105
|
const Je = B.id;
|
|
@@ -7127,7 +7127,7 @@ const [Z1, Q1] = pl(
|
|
|
7127
7127
|
const Je = {
|
|
7128
7128
|
x: Se.x,
|
|
7129
7129
|
y: Se.y,
|
|
7130
|
-
width: ((
|
|
7130
|
+
width: ((qe = B.dimensions) == null ? void 0 : qe.width) ?? 0,
|
|
7131
7131
|
height: ((Ve = B.dimensions) == null ? void 0 : Ve.height) ?? 0
|
|
7132
7132
|
}, Fe = ne && "clientX" in ne ? R({ x: ne.clientX, y: ne.clientY }) : void 0, $e = {
|
|
7133
7133
|
x: Je.x + Je.width / 2,
|
|
@@ -7147,10 +7147,10 @@ const [Z1, Q1] = pl(
|
|
|
7147
7147
|
const ne = B.id, V = B.parentNode;
|
|
7148
7148
|
let Ee = { ...B.position };
|
|
7149
7149
|
if (V && re(V)) {
|
|
7150
|
-
const
|
|
7151
|
-
|
|
7152
|
-
x:
|
|
7153
|
-
y:
|
|
7150
|
+
const qe = D.value.get(V);
|
|
7151
|
+
qe != null && qe.position && (Ee = {
|
|
7152
|
+
x: qe.position.x + B.position.x,
|
|
7153
|
+
y: qe.position.y + B.position.y
|
|
7154
7154
|
});
|
|
7155
7155
|
}
|
|
7156
7156
|
G(ne, Ee, !1);
|
|
@@ -7194,7 +7194,7 @@ const [Z1, Q1] = pl(
|
|
|
7194
7194
|
function K(B) {
|
|
7195
7195
|
const ne = q.value.filter(({ type: $e }) => $e !== "group"), V = ne.find(({ id: $e }) => $e === B);
|
|
7196
7196
|
if (!V) throw new Error(`Node ${B} not found`);
|
|
7197
|
-
const { x: Ee, y: Se } = V.data.position, { width: Ne, height:
|
|
7197
|
+
const { x: Ee, y: Se } = V.data.position, { width: Ne, height: qe } = V.dimensions, Ve = Se, tt = Se + qe, Je = ne.filter(({ id: $e }) => $e !== B).filter(({ data: { position: { y: $e } }, dimensions: { height: _t } }) => $e < tt && $e + _t > Ve).map(({ data: { position: { x: $e } }, dimensions: { width: _t } }) => ({ left: $e, right: $e + _t })).sort(($e, _t) => $e.left - _t.left);
|
|
7198
7198
|
let Fe = Ee + Ne + s;
|
|
7199
7199
|
for (const { left: $e, right: _t } of Je)
|
|
7200
7200
|
if (!(_t <= Fe)) {
|
|
@@ -7210,7 +7210,7 @@ const [Z1, Q1] = pl(
|
|
|
7210
7210
|
const {
|
|
7211
7211
|
position: { x: V },
|
|
7212
7212
|
dimensions: { width: Ee }
|
|
7213
|
-
} = ne, Se = V + Ee, { viewport: Ne, dimensions:
|
|
7213
|
+
} = ne, Se = V + Ee, { viewport: Ne, dimensions: qe, setViewport: Ve } = d, { x: tt, y: Je, zoom: Fe } = Ne.value, { width: $e } = qe.value, _t = V * Fe + tt, qn = Se * Fe + tt, Ot = $e - Id - s;
|
|
7214
7214
|
if (qn <= Ot) return;
|
|
7215
7215
|
let Xt = Ot - qn;
|
|
7216
7216
|
_t + Xt < 0 && (Xt = -_t), Xt !== 0 && Ve(
|
|
@@ -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 EK(e) {
|
|
10840
10840
|
return { [Qs]: e };
|
|
10841
10841
|
}
|
|
10842
10842
|
function WE(e, t) {
|
|
@@ -11991,7 +11991,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
11991
11991
|
]);
|
|
11992
11992
|
};
|
|
11993
11993
|
}
|
|
11994
|
-
}),
|
|
11994
|
+
}), Tt = /* @__PURE__ */ ze(Ex, [["__scopeId", "data-v-04b60981"]]), xx = {
|
|
11995
11995
|
key: 1,
|
|
11996
11996
|
class: "ff-number-field-wrapper"
|
|
11997
11997
|
}, Sx = ["innerHTML"], Ax = /* @__PURE__ */ Pe({
|
|
@@ -12506,7 +12506,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12506
12506
|
case "integer":
|
|
12507
12507
|
return "one_of" in n.schema.value ? Ft : Yt;
|
|
12508
12508
|
case "array":
|
|
12509
|
-
return
|
|
12509
|
+
return Tt;
|
|
12510
12510
|
case "set":
|
|
12511
12511
|
return BE(n.schema) ? Na : Ft;
|
|
12512
12512
|
case "record":
|
|
@@ -13926,7 +13926,7 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
13926
13926
|
const Me = g.anchor;
|
|
13927
13927
|
let Ie, B, ne, V;
|
|
13928
13928
|
const Ee = /* @__PURE__ */ Object.create(null);
|
|
13929
|
-
let Se, Ne,
|
|
13929
|
+
let Se, Ne, qe, Ve = g.input.charCodeAt(g.position);
|
|
13930
13930
|
if (Ve === 91)
|
|
13931
13931
|
Ie = 93, V = !1, ke = [];
|
|
13932
13932
|
else if (Ve === 123)
|
|
@@ -13935,7 +13935,7 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
13935
13935
|
for (g.anchor !== null && M(g, g.anchor, ke), Ve = g.input.charCodeAt(++g.position); Ve !== 0; ) {
|
|
13936
13936
|
if (pe(g, !0, te), Ve = g.input.charCodeAt(g.position), Ve === Ie)
|
|
13937
13937
|
return g.position++, g.tag = K, g.anchor = Me, g.kind = V ? "mapping" : "sequence", g.result = ke, !0;
|
|
13938
|
-
ce ? Ve === 44 && F(g, "expected the node content, but found ','") : F(g, "missed comma between flow collection entries"), Ne = Se =
|
|
13938
|
+
ce ? Ve === 44 && F(g, "expected the node content, but found ','") : F(g, "missed comma between flow collection entries"), Ne = Se = qe = null, B = ne = !1, Ve === 63 && w(g.input.charCodeAt(g.position + 1)) && (B = ne = !0, g.position++, pe(g, !0, te)), ve = g.line, be = g.lineStart, Oe = g.position, de(g, te, l, !1, !0), Ne = g.tag, Se = g.result, pe(g, !0, te), Ve = g.input.charCodeAt(g.position), (ne || g.line === ve) && Ve === 58 && (B = !0, Ve = g.input.charCodeAt(++g.position), pe(g, !0, te), de(g, te, l, !1, !0), qe = g.result), V ? we(g, ke, Ee, Ne, Se, qe, ve, be, Oe) : B ? ke.push(we(g, null, Ee, Ne, Se, qe, ve, be, Oe)) : ke.push(Se), pe(g, !0, te), Ve = g.input.charCodeAt(g.position), Ve === 44 ? (ce = !0, Ve = g.input.charCodeAt(++g.position)) : ce = !1;
|
|
13939
13939
|
}
|
|
13940
13940
|
F(g, "unexpected end of the stream within a flow collection");
|
|
13941
13941
|
}
|
|
@@ -14003,18 +14003,18 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14003
14003
|
let ne = null, V = null, Ee = null, Se = !1, Ne = !1;
|
|
14004
14004
|
if (g.firstTabInLine !== -1) return !1;
|
|
14005
14005
|
g.anchor !== null && M(g, g.anchor, Ie);
|
|
14006
|
-
let
|
|
14007
|
-
for (;
|
|
14006
|
+
let qe = g.input.charCodeAt(g.position);
|
|
14007
|
+
for (; qe !== 0; ) {
|
|
14008
14008
|
!Se && g.firstTabInLine !== -1 && (g.position = g.firstTabInLine, F(g, "tab characters must not be used in indentation"));
|
|
14009
14009
|
const Ve = g.input.charCodeAt(g.position + 1), tt = g.line;
|
|
14010
|
-
if ((
|
|
14011
|
-
|
|
14010
|
+
if ((qe === 63 || qe === 58) && w(Ve))
|
|
14011
|
+
qe === 63 ? (Se && (we(g, Ie, B, ne, V, null, be, Oe, K), ne = V = Ee = null), Ne = !0, Se = !0, ve = !0) : Se ? (Se = !1, ve = !0) : F(g, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), g.position += 1, qe = Ve;
|
|
14012
14012
|
else {
|
|
14013
14013
|
if (be = g.line, Oe = g.lineStart, K = g.position, !de(g, ce, s, !1, !0)) break;
|
|
14014
14014
|
if (g.line === tt) {
|
|
14015
|
-
for (
|
|
14016
|
-
if (
|
|
14017
|
-
|
|
14015
|
+
for (qe = g.input.charCodeAt(g.position); k(qe); ) qe = g.input.charCodeAt(++g.position);
|
|
14016
|
+
if (qe === 58)
|
|
14017
|
+
qe = g.input.charCodeAt(++g.position), w(qe) || F(g, "a whitespace character is expected after the key-value separator within a block mapping"), Se && (we(g, Ie, B, ne, V, null, be, Oe, K), ne = V = Ee = null), Ne = !0, Se = !1, ve = !1, ne = g.tag, V = g.result;
|
|
14018
14018
|
else if (Ne) F(g, "can not read an implicit mapping pair; a colon is missed");
|
|
14019
14019
|
else
|
|
14020
14020
|
return g.tag = ke, g.anchor = Me, !0;
|
|
@@ -14022,7 +14022,7 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14022
14022
|
else
|
|
14023
14023
|
return g.tag = ke, g.anchor = Me, !0;
|
|
14024
14024
|
}
|
|
14025
|
-
if ((g.line === tt || g.lineIndent > te) && (Se && (be = g.line, Oe = g.lineStart, K = g.position), de(g, te, f, !0, ve) && (Se ? V = g.result : Ee = g.result), Se || (we(g, Ie, B, ne, V, Ee, be, Oe, K), ne = V = Ee = null), pe(g, !0, -1),
|
|
14025
|
+
if ((g.line === tt || g.lineIndent > te) && (Se && (be = g.line, Oe = g.lineStart, K = g.position), de(g, te, f, !0, ve) && (Se ? V = g.result : Ee = g.result), Se || (we(g, Ie, B, ne, V, Ee, be, Oe, K), ne = V = Ee = null), pe(g, !0, -1), qe = g.input.charCodeAt(g.position)), (g.line === tt || g.lineIndent > te) && qe !== 0) F(g, "bad indentation of a mapping entry");
|
|
14026
14026
|
else if (g.lineIndent < te) break;
|
|
14027
14027
|
}
|
|
14028
14028
|
return Se && we(g, Ie, B, ne, V, null, be, Oe, K), Ne && (g.tag = ke, g.anchor = Me, g.kind = "mapping", g.result = Ie), Ne;
|
|
@@ -14077,9 +14077,9 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14077
14077
|
g.depth >= g.maxDepth && F(g, "nesting exceeded maxDepth (" + g.maxDepth + ")"), g.depth += 1, g.listener !== null && g.listener("open", g), g.tag = null, g.anchor = null, g.kind = null, g.result = null;
|
|
14078
14078
|
const Se = Oe = K = f === ce || d === ce;
|
|
14079
14079
|
if (ve && pe(g, !0, -1) && (Me = !0, g.lineIndent > te ? ke = 1 : g.lineIndent === te ? ke = 0 : g.lineIndent < te && (ke = -1)), ke === 1) for (; ; ) {
|
|
14080
|
-
const Ne = g.input.charCodeAt(g.position),
|
|
14080
|
+
const Ne = g.input.charCodeAt(g.position), qe = U(g);
|
|
14081
14081
|
if (Me && (Ne === 33 && g.tag !== null || Ne === 38 && g.anchor !== null) || !Ce(g) && !se(g)) break;
|
|
14082
|
-
B === null && (B =
|
|
14082
|
+
B === null && (B = qe), pe(g, !0, -1) ? (Me = !0, K = Se, g.lineIndent > te ? ke = 1 : g.lineIndent === te ? ke = 0 : g.lineIndent < te && (ke = -1)) : K = !1;
|
|
14083
14083
|
}
|
|
14084
14084
|
if (K && (K = Me || be), ke === 1 || f === ce)
|
|
14085
14085
|
if (l === ce || s === ce ? V = te : V = te + 1, Ee = g.position - g.lineStart, ke === 1) if (K && (ft(g, Ee) || Be(g, Ee, V)) || Ye(g, V)) Ie = !0;
|
|
@@ -14092,7 +14092,7 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14092
14092
|
g.anchor !== null && M(g, g.anchor, g.result);
|
|
14093
14093
|
else if (g.tag === "?") {
|
|
14094
14094
|
g.result !== null && g.kind !== "scalar" && F(g, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + g.kind + '"');
|
|
14095
|
-
for (let Ne = 0,
|
|
14095
|
+
for (let Ne = 0, qe = g.implicitTypes.length; Ne < qe; Ne += 1)
|
|
14096
14096
|
if (ne = g.implicitTypes[Ne], ne.resolve(g.result)) {
|
|
14097
14097
|
g.result = ne.construct(g.result), g.tag = ne.tag, g.anchor !== null && M(g, g.anchor, g.result);
|
|
14098
14098
|
break;
|
|
@@ -14102,8 +14102,8 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14102
14102
|
else {
|
|
14103
14103
|
ne = null;
|
|
14104
14104
|
const Ne = g.typeMap.multi[g.kind || "fallback"];
|
|
14105
|
-
for (let
|
|
14106
|
-
ne = Ne[
|
|
14105
|
+
for (let qe = 0, Ve = Ne.length; qe < Ve; qe += 1) if (g.tag.slice(0, Ne[qe].tag.length) === Ne[qe].tag) {
|
|
14106
|
+
ne = Ne[qe];
|
|
14107
14107
|
break;
|
|
14108
14108
|
}
|
|
14109
14109
|
}
|
|
@@ -14260,19 +14260,19 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14260
14260
|
}
|
|
14261
14261
|
var je = 1, He = 2, Ye = 3, rt = 4, ft = 5;
|
|
14262
14262
|
function Be(K, ke, Me, Ie, B, ne, V, Ee) {
|
|
14263
|
-
let Se, Ne = 0,
|
|
14263
|
+
let Se, Ne = 0, qe = null, Ve = !1, tt = !1;
|
|
14264
14264
|
const Je = Ie !== -1;
|
|
14265
14265
|
let Fe = -1, $e = pe(Ke(K, 0)) && he(Ke(K, K.length - 1));
|
|
14266
14266
|
if (ke || V) for (Se = 0; Se < K.length; Ne >= 65536 ? Se += 2 : Se++) {
|
|
14267
14267
|
if (Ne = Ke(K, Se), !ae(Ne)) return ft;
|
|
14268
|
-
$e = $e && _e(Ne,
|
|
14268
|
+
$e = $e && _e(Ne, qe, Ee), qe = Ne;
|
|
14269
14269
|
}
|
|
14270
14270
|
else {
|
|
14271
14271
|
for (Se = 0; Se < K.length; Ne >= 65536 ? Se += 2 : Se++) {
|
|
14272
14272
|
if (Ne = Ke(K, Se), Ne === d)
|
|
14273
14273
|
Ve = !0, Je && (tt = tt || Se - Fe - 1 > Ie && K[Fe + 1] !== " ", Fe = Se);
|
|
14274
14274
|
else if (!ae(Ne)) return ft;
|
|
14275
|
-
$e = $e && _e(Ne,
|
|
14275
|
+
$e = $e && _e(Ne, qe, Ee), qe = Ne;
|
|
14276
14276
|
}
|
|
14277
14277
|
tt = tt || Je && Se - Fe - 1 > Ie && K[Fe + 1] !== " ";
|
|
14278
14278
|
}
|
|
@@ -14375,8 +14375,8 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14375
14375
|
let Se = "";
|
|
14376
14376
|
Ie !== "" && (Se += ", "), K.condenseFlow && (Se += '"');
|
|
14377
14377
|
const Ne = ne[V];
|
|
14378
|
-
let
|
|
14379
|
-
K.replacer && (
|
|
14378
|
+
let qe = Me[Ne];
|
|
14379
|
+
K.replacer && (qe = K.replacer.call(Me, Ne, qe)), ce(K, ke, Ne, !1, !1) && (K.dump.length > 1024 && (Se += "? "), Se += K.dump + (K.condenseFlow ? '"' : "") + ":" + (K.condenseFlow ? "" : " "), ce(K, ke, qe, !1, !1) && (Se += K.dump, Ie += Se));
|
|
14380
14380
|
}
|
|
14381
14381
|
K.tag = B, K.dump = "{" + Ie + "}";
|
|
14382
14382
|
}
|
|
@@ -14389,9 +14389,9 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14389
14389
|
for (let Ee = 0, Se = V.length; Ee < Se; Ee += 1) {
|
|
14390
14390
|
let Ne = "";
|
|
14391
14391
|
(!Ie || B !== "") && (Ne += $(K, ke));
|
|
14392
|
-
const
|
|
14393
|
-
let Ve = Me[
|
|
14394
|
-
if (K.replacer && (Ve = K.replacer.call(Me,
|
|
14392
|
+
const qe = V[Ee];
|
|
14393
|
+
let Ve = Me[qe];
|
|
14394
|
+
if (K.replacer && (Ve = K.replacer.call(Me, qe, Ve)), !ce(K, ke + 1, qe, !0, !0, !0)) continue;
|
|
14395
14395
|
const tt = K.tag !== null && K.tag !== "?" || K.dump && K.dump.length > 1024;
|
|
14396
14396
|
tt && (K.dump && d === K.dump.charCodeAt(0) ? Ne += "?" : Ne += "? "), Ne += K.dump, tt && (Ne += $(K, ke)), ce(K, ke + 1, Ve, !0, tt) && (K.dump && d === K.dump.charCodeAt(0) ? Ne += ":" : Ne += ": ", Ne += K.dump, B += Ne);
|
|
14397
14397
|
}
|
|
@@ -14420,11 +14420,11 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14420
14420
|
const Ee = r.call(K.dump), Se = Ie;
|
|
14421
14421
|
Ie && (Ie = K.flowLevel < 0 || K.flowLevel > ke);
|
|
14422
14422
|
const Ne = Ee === "[object Object]" || Ee === "[object Array]";
|
|
14423
|
-
let
|
|
14424
|
-
if (Ne && (
|
|
14423
|
+
let qe, Ve;
|
|
14424
|
+
if (Ne && (qe = K.duplicates.indexOf(Me), Ve = qe !== -1), (K.tag !== null && K.tag !== "?" || Ve || K.indent !== 2 && ke > 0) && (B = !1), Ve && K.usedDuplicates[qe]) K.dump = "*ref_" + qe;
|
|
14425
14425
|
else {
|
|
14426
|
-
if (Ne && Ve && !K.usedDuplicates[
|
|
14427
|
-
else if (Ee === "[object Array]") Ie && K.dump.length !== 0 ? (K.noArrayIndent && !V && ke > 0 ? Te(K, ke - 1, K.dump, B) : Te(K, ke, K.dump, B), Ve && (K.dump = "&ref_" +
|
|
14426
|
+
if (Ne && Ve && !K.usedDuplicates[qe] && (K.usedDuplicates[qe] = !0), Ee === "[object Object]") Ie && Object.keys(K.dump).length !== 0 ? (g(K, ke, K.dump, B), Ve && (K.dump = "&ref_" + qe + K.dump)) : (Ae(K, ke, K.dump), Ve && (K.dump = "&ref_" + qe + " " + K.dump));
|
|
14427
|
+
else if (Ee === "[object Array]") Ie && K.dump.length !== 0 ? (K.noArrayIndent && !V && ke > 0 ? Te(K, ke - 1, K.dump, B) : Te(K, ke, K.dump, B), Ve && (K.dump = "&ref_" + qe + K.dump)) : (ge(K, ke, K.dump), Ve && (K.dump = "&ref_" + qe + " " + K.dump));
|
|
14428
14428
|
else if (Ee === "[object String]")
|
|
14429
14429
|
K.tag !== "?" && Ce(K, K.dump, ke, ne, Se);
|
|
14430
14430
|
else {
|
|
@@ -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: xK, Schema: SK, FAILSAFE_SCHEMA: AK, JSON_SCHEMA: Fi, CORE_SCHEMA: IK, DEFAULT_SCHEMA: TK, load: $K, loadAll: OK, dump: PK, YAMLException: NK, types: RK, safeLoad: MK, safeLoadAll: LK, safeDump: FK } = Ef.default, Pn = 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 di() {
|
|
14495
14495
|
return { lenses: [], dispose: () => {
|
|
@@ -14559,7 +14559,7 @@ function zt(e) {
|
|
|
14559
14559
|
}
|
|
14560
14560
|
return !1;
|
|
14561
14561
|
}
|
|
14562
|
-
function
|
|
14562
|
+
function $t(e) {
|
|
14563
14563
|
if (e && typeof e == "object")
|
|
14564
14564
|
switch (e[Ln]) {
|
|
14565
14565
|
case Wl:
|
|
@@ -14580,7 +14580,7 @@ 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 (
|
|
14583
|
+
if ($t(o) || Bt(o))
|
|
14584
14584
|
return IS(e, i, o), fo(e, o, n, i);
|
|
14585
14585
|
if (typeof o != "symbol") {
|
|
14586
14586
|
if (zt(t)) {
|
|
@@ -14755,10 +14755,10 @@ class ln {
|
|
|
14755
14755
|
toString(t) {
|
|
14756
14756
|
const n = this.yaml.explicit ? [`%YAML ${this.yaml.version || "1.2"}`] : [], i = Object.entries(this.tags);
|
|
14757
14757
|
let o;
|
|
14758
|
-
if (t && i.length > 0 &&
|
|
14758
|
+
if (t && i.length > 0 && $t(t.contents)) {
|
|
14759
14759
|
const r = {};
|
|
14760
14760
|
jo(t.contents, (a, l) => {
|
|
14761
|
-
|
|
14761
|
+
$t(l) && l.tag && (r[l.tag] = !0);
|
|
14762
14762
|
}), o = Object.keys(r);
|
|
14763
14763
|
} else
|
|
14764
14764
|
o = [];
|
|
@@ -14996,7 +14996,7 @@ function NS(e, t, n) {
|
|
|
14996
14996
|
}
|
|
14997
14997
|
function ba(e, t, n) {
|
|
14998
14998
|
var i, o, r;
|
|
14999
|
-
if (Hr(e) && (e = e.contents),
|
|
14999
|
+
if (Hr(e) && (e = e.contents), $t(e))
|
|
15000
15000
|
return e;
|
|
15001
15001
|
if (Bt(e)) {
|
|
15002
15002
|
const h = (o = (i = n.schema[Ai]).createNode) == null ? void 0 : o.call(i, n.schema, null, n);
|
|
@@ -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) =>
|
|
15063
|
+
return t && (n.schema = t), n.items = n.items.map((i) => $t(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
|
|
@@ -15533,7 +15533,7 @@ function Eo(e, t, n, i) {
|
|
|
15533
15533
|
t.resolvedAliases ? t.resolvedAliases.add(e) : t.resolvedAliases = /* @__PURE__ */ new Set([e]), e = e.resolve(t.doc);
|
|
15534
15534
|
}
|
|
15535
15535
|
let r;
|
|
15536
|
-
const a =
|
|
15536
|
+
const a = $t(e) ? e : t.doc.createNode(e, { onTagObj: (d) => r = d });
|
|
15537
15537
|
r ?? (r = FS(t.doc.schema.tags, a));
|
|
15538
15538
|
const l = KS(a, r, t);
|
|
15539
15539
|
l.length > 0 && (t.indentAtStart = (t.indentAtStart ?? 0) + l.length + 1);
|
|
@@ -15543,11 +15543,11 @@ ${t.indent}${s}` : s;
|
|
|
15543
15543
|
}
|
|
15544
15544
|
function jS({ key: e, value: t }, n, i, o) {
|
|
15545
15545
|
const { allNullValues: r, doc: a, indent: l, indentStep: s, options: { commentString: d, indentSeq: f, simpleKeys: c } } = n;
|
|
15546
|
-
let p =
|
|
15546
|
+
let p = $t(e) && e.comment || null;
|
|
15547
15547
|
if (c) {
|
|
15548
15548
|
if (p)
|
|
15549
15549
|
throw new Error("With simple keys, key nodes cannot have comments");
|
|
15550
|
-
if (zt(e) ||
|
|
15550
|
+
if (zt(e) || !$t(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
|
}
|
|
@@ -15572,7 +15572,7 @@ function jS({ key: e, value: t }, n, i, o) {
|
|
|
15572
15572
|
h && (p = null), m ? (p && (_ += Ki(_, n.indent, d(p))), _ = `? ${_}
|
|
15573
15573
|
${l}:`) : (_ = `${_}:`, p && (_ += Ki(_, n.indent, d(p))));
|
|
15574
15574
|
let v, b, x;
|
|
15575
|
-
|
|
15575
|
+
$t(t) ? (v = !!t.spaceBefore, b = t.commentBefore, x = t.comment) : (v = !1, b = null, x = null, t && typeof t == "object" && (t = a.createNode(t))), n.implicitKey = !1, !m && !p && At(t) && (n.indentAtStart = _.length + 1), y = !1, !f && s.length >= 2 && !n.inFlow && !m && Ko(t) && !t.flow && !t.tag && !t.anchor && (n.indent = n.indent.substring(2));
|
|
15576
15576
|
let E = !1;
|
|
15577
15577
|
const k = Eo(t, n, () => E = !0, () => y = !0);
|
|
15578
15578
|
let w = " ";
|
|
@@ -15646,7 +15646,7 @@ function Lf(e, t) {
|
|
|
15646
15646
|
return e && Lo(t) ? t.resolve(e.doc, e) : t;
|
|
15647
15647
|
}
|
|
15648
15648
|
function Ff(e, t, { key: n, value: i }) {
|
|
15649
|
-
if (
|
|
15649
|
+
if ($t(n) && n.addToJSMap)
|
|
15650
15650
|
n.addToJSMap(e, t, i);
|
|
15651
15651
|
else if (qS(e, n))
|
|
15652
15652
|
Mf(e, t, i);
|
|
@@ -15673,7 +15673,7 @@ function BS(e, t, n) {
|
|
|
15673
15673
|
return "";
|
|
15674
15674
|
if (typeof t != "object")
|
|
15675
15675
|
return String(t);
|
|
15676
|
-
if (
|
|
15676
|
+
if ($t(e) && n != null && n.doc) {
|
|
15677
15677
|
const i = Rf(n.doc, {});
|
|
15678
15678
|
i.anchors = /* @__PURE__ */ new Set();
|
|
15679
15679
|
for (const r of n.anchors.keys())
|
|
@@ -15698,7 +15698,7 @@ class un {
|
|
|
15698
15698
|
}
|
|
15699
15699
|
clone(t) {
|
|
15700
15700
|
let { key: n, value: i } = this;
|
|
15701
|
-
return
|
|
15701
|
+
return $t(n) && (n = n.clone(t)), $t(i) && (i = i.clone(t)), new un(n, i);
|
|
15702
15702
|
}
|
|
15703
15703
|
toJSON(t, n) {
|
|
15704
15704
|
const i = n != null && n.mapAsMap ? /* @__PURE__ */ new Map() : {};
|
|
@@ -15718,10 +15718,10 @@ function US({ comment: e, items: t }, n, { blockItemPrefix: i, flowChars: o, ite
|
|
|
15718
15718
|
for (let h = 0; h < t.length; ++h) {
|
|
15719
15719
|
const y = t[h];
|
|
15720
15720
|
let _ = null;
|
|
15721
|
-
if (
|
|
15721
|
+
if ($t(y))
|
|
15722
15722
|
!c && y.spaceBefore && p.push(""), Er(n, p, y.commentBefore, c), y.comment && (_ = y.comment);
|
|
15723
15723
|
else if (Bt(y)) {
|
|
15724
|
-
const b =
|
|
15724
|
+
const b = $t(y.key) ? y.key : null;
|
|
15725
15725
|
b && (!c && b.spaceBefore && p.push(""), Er(n, p, b.commentBefore, c));
|
|
15726
15726
|
}
|
|
15727
15727
|
c = !1;
|
|
@@ -15756,12 +15756,12 @@ function VS({ items: e }, t, { flowChars: n, itemIndent: i }) {
|
|
|
15756
15756
|
for (let h = 0; h < e.length; ++h) {
|
|
15757
15757
|
const y = e[h];
|
|
15758
15758
|
let _ = null;
|
|
15759
|
-
if (
|
|
15759
|
+
if ($t(y))
|
|
15760
15760
|
y.spaceBefore && c.push(""), Er(t, c, y.commentBefore, !1), y.comment && (_ = y.comment);
|
|
15761
15761
|
else if (Bt(y)) {
|
|
15762
|
-
const b =
|
|
15762
|
+
const b = $t(y.key) ? y.key : null;
|
|
15763
15763
|
b && (b.spaceBefore && c.push(""), Er(t, c, b.commentBefore, !1), b.comment && (d = !0));
|
|
15764
|
-
const x =
|
|
15764
|
+
const x = $t(y.value) ? y.value : null;
|
|
15765
15765
|
x ? (x.comment && (_ = x.comment), x.commentBefore && (d = !0)) : y.value == null && b != null && b.comment && (_ = b.comment);
|
|
15766
15766
|
}
|
|
15767
15767
|
_ && (d = !0);
|
|
@@ -16631,7 +16631,7 @@ function oA(e, t) {
|
|
|
16631
16631
|
}
|
|
16632
16632
|
let l = !1, s = null;
|
|
16633
16633
|
if (e.contents) {
|
|
16634
|
-
if (
|
|
16634
|
+
if ($t(e.contents)) {
|
|
16635
16635
|
if (e.contents.spaceBefore && o && i.push(""), e.contents.commentBefore) {
|
|
16636
16636
|
const c = a(e.contents.commentBefore);
|
|
16637
16637
|
i.push(pi(c, ""));
|
|
@@ -16686,7 +16686,7 @@ class ns {
|
|
|
16686
16686
|
const t = Object.create(ns.prototype, {
|
|
16687
16687
|
[Ln]: { value: nl }
|
|
16688
16688
|
});
|
|
16689
|
-
return t.commentBefore = this.commentBefore, t.comment = this.comment, t.errors = this.errors.slice(), t.warnings = this.warnings.slice(), t.options = Object.assign({}, this.options), this.directives && (t.directives = this.directives.clone()), t.schema = this.schema.clone(), t.contents =
|
|
16689
|
+
return t.commentBefore = this.commentBefore, t.comment = this.comment, t.errors = this.errors.slice(), t.warnings = this.warnings.slice(), t.options = Object.assign({}, this.options), this.directives && (t.directives = this.directives.clone()), t.schema = this.schema.clone(), t.contents = $t(this.contents) ? this.contents.clone(t.schema) : this.contents, this.range && (t.range = this.range.slice()), t;
|
|
16690
16690
|
}
|
|
16691
16691
|
/** Adds a value to the document. */
|
|
16692
16692
|
add(t) {
|
|
@@ -17249,7 +17249,7 @@ function uA(e, t, n, i, o) {
|
|
|
17249
17249
|
else
|
|
17250
17250
|
return m ? o(a, "BAD_COLLECTION_TYPE", `${m.tag} used for ${s} collection, but expects ${m.collection ?? "scalar"}`, !0) : o(a, "TAG_RESOLVE_FAILED", `Unresolved tag: ${l}`, !0), _s(e, t, n, o, l);
|
|
17251
17251
|
}
|
|
17252
|
-
const f = _s(e, t, n, o, l, d), c = ((r = d.resolve) == null ? void 0 : r.call(d, f, (m) => o(a, "TAG_RESOLVE_FAILED", m), t.options)) ?? f, p =
|
|
17252
|
+
const f = _s(e, t, n, o, l, d), c = ((r = d.resolve) == null ? void 0 : r.call(d, f, (m) => o(a, "TAG_RESOLVE_FAILED", m), t.options)) ?? f, p = $t(c) ? c : new at(c);
|
|
17253
17253
|
return p.range = f.range, p.tag = l, d != null && d.format && (p.format = d.format), p;
|
|
17254
17254
|
}
|
|
17255
17255
|
function cA(e, t, n) {
|
|
@@ -19046,10 +19046,10 @@ function FA(e, t) {
|
|
|
19046
19046
|
if (t(o, r), Fo(o)) {
|
|
19047
19047
|
for (let a = o.items.length - 1; a >= 0; a--) {
|
|
19048
19048
|
const l = o.items[a];
|
|
19049
|
-
|
|
19049
|
+
$t(l.value) && n.push({
|
|
19050
19050
|
node: l.value,
|
|
19051
19051
|
keyPath: Kc(r, l.key)
|
|
19052
|
-
}),
|
|
19052
|
+
}), $t(l.key) && n.push({ node: l.key, keyPath: r });
|
|
19053
19053
|
}
|
|
19054
19054
|
continue;
|
|
19055
19055
|
}
|
|
@@ -19057,19 +19057,19 @@ function FA(e, t) {
|
|
|
19057
19057
|
for (let a = o.items.length - 1; a >= 0; a--) {
|
|
19058
19058
|
const l = o.items[a], s = [...r, a];
|
|
19059
19059
|
if (Bt(l)) {
|
|
19060
|
-
|
|
19060
|
+
$t(l.value) && n.push({
|
|
19061
19061
|
node: l.value,
|
|
19062
19062
|
keyPath: Kc(s, l.key)
|
|
19063
|
-
}),
|
|
19063
|
+
}), $t(l.key) && n.push({ node: l.key, keyPath: s });
|
|
19064
19064
|
continue;
|
|
19065
19065
|
}
|
|
19066
|
-
|
|
19066
|
+
$t(l) && n.push({ node: l, keyPath: s });
|
|
19067
19067
|
}
|
|
19068
19068
|
}
|
|
19069
19069
|
}
|
|
19070
19070
|
function KA(e, t) {
|
|
19071
19071
|
const n = e.getIn(t, !0);
|
|
19072
|
-
return
|
|
19072
|
+
return $t(n) ? n : void 0;
|
|
19073
19073
|
}
|
|
19074
19074
|
function cm(e, t) {
|
|
19075
19075
|
return {
|
|
@@ -20516,7 +20516,7 @@ const JA = {
|
|
|
20516
20516
|
], 64));
|
|
20517
20517
|
}
|
|
20518
20518
|
}), EI = /* @__PURE__ */ ze(CI, [["__scopeId", "data-v-e2f4cda4"]]), fm = Symbol.for("kong-ui-public.entities-plugins.free-form-plugin-layout");
|
|
20519
|
-
function
|
|
20519
|
+
function KK(e) {
|
|
20520
20520
|
Kt(fm, e);
|
|
20521
20521
|
}
|
|
20522
20522
|
const ui = /* @__PURE__ */ Pe({
|
|
@@ -20589,13 +20589,13 @@ const ui = /* @__PURE__ */ Pe({
|
|
|
20589
20589
|
}, 16));
|
|
20590
20590
|
}
|
|
20591
20591
|
});
|
|
20592
|
-
function
|
|
20592
|
+
function De(e = {}) {
|
|
20593
20593
|
return {
|
|
20594
20594
|
...e,
|
|
20595
20595
|
component: e.component ?? mm
|
|
20596
20596
|
};
|
|
20597
20597
|
}
|
|
20598
|
-
const xI =
|
|
20598
|
+
const xI = De({
|
|
20599
20599
|
experimental: !0
|
|
20600
20600
|
}), SI = { class: "ff-acl-mode" }, AI = /* @__PURE__ */ Pe({
|
|
20601
20601
|
__name: "ACLModeCard",
|
|
@@ -20680,12 +20680,12 @@ const xI = qe({
|
|
|
20680
20680
|
_: 1
|
|
20681
20681
|
}, 16));
|
|
20682
20682
|
}
|
|
20683
|
-
}), $I =
|
|
20683
|
+
}), $I = De({
|
|
20684
20684
|
experimental: !0,
|
|
20685
20685
|
component: TI
|
|
20686
|
-
}), OI =
|
|
20686
|
+
}), OI = De({
|
|
20687
20687
|
experimental: !0
|
|
20688
|
-
}), PI =
|
|
20688
|
+
}), PI = De({
|
|
20689
20689
|
fieldRenderers: [
|
|
20690
20690
|
{
|
|
20691
20691
|
match: "config.functions",
|
|
@@ -20726,7 +20726,7 @@ const xI = qe({
|
|
|
20726
20726
|
match: ({ path: a }) => a === "config.default_acl"
|
|
20727
20727
|
}, {
|
|
20728
20728
|
default: N((a) => [
|
|
20729
|
-
C(
|
|
20729
|
+
C(Tt, We(a, {
|
|
20730
20730
|
appearance: "tabs",
|
|
20731
20731
|
"item-label": (l, s) => u(i)("plugins.free-form.ai-mcp-proxy.default_acl_item_label", { index: s + 1 }),
|
|
20732
20732
|
"sticky-tabs": ""
|
|
@@ -20738,7 +20738,7 @@ const xI = qe({
|
|
|
20738
20738
|
match: ({ path: a }) => a === "config.tools"
|
|
20739
20739
|
}, {
|
|
20740
20740
|
default: N((a) => [
|
|
20741
|
-
C(
|
|
20741
|
+
C(Tt, We(a, {
|
|
20742
20742
|
appearance: "tabs",
|
|
20743
20743
|
"item-label": (l, s) => u(i)("plugins.free-form.ai-mcp-proxy.tool_item_label", { index: s + 1 }),
|
|
20744
20744
|
"sticky-tabs": ""
|
|
@@ -20773,18 +20773,18 @@ const xI = qe({
|
|
|
20773
20773
|
_: 1
|
|
20774
20774
|
}, 16));
|
|
20775
20775
|
}
|
|
20776
|
-
}), RI =
|
|
20776
|
+
}), RI = De({
|
|
20777
20777
|
component: NI
|
|
20778
|
-
}), MI =
|
|
20778
|
+
}), MI = De({
|
|
20779
20779
|
experimental: !0
|
|
20780
|
-
}), LI =
|
|
20780
|
+
}), LI = De({
|
|
20781
20781
|
experimental: !0
|
|
20782
|
-
}), FI =
|
|
20782
|
+
}), FI = De({
|
|
20783
20783
|
experimental: !0,
|
|
20784
20784
|
fieldRenderers: [
|
|
20785
20785
|
{
|
|
20786
20786
|
match: "config.templates",
|
|
20787
|
-
component:
|
|
20787
|
+
component: Tt,
|
|
20788
20788
|
propsOverrides: {
|
|
20789
20789
|
appearance: "tabs",
|
|
20790
20790
|
itemLabel: (e, t) => `#${t + 1} Template`
|
|
@@ -20799,12 +20799,12 @@ const xI = qe({
|
|
|
20799
20799
|
}
|
|
20800
20800
|
}
|
|
20801
20801
|
]
|
|
20802
|
-
}), KI =
|
|
20802
|
+
}), KI = De({
|
|
20803
20803
|
experimental: !0,
|
|
20804
20804
|
fieldRenderers: [
|
|
20805
20805
|
{
|
|
20806
20806
|
match: "config.targets",
|
|
20807
|
-
component:
|
|
20807
|
+
component: Tt,
|
|
20808
20808
|
propsOverrides: {
|
|
20809
20809
|
appearance: "tabs",
|
|
20810
20810
|
stickyTabs: !0,
|
|
@@ -20813,7 +20813,7 @@ const xI = qe({
|
|
|
20813
20813
|
},
|
|
20814
20814
|
{
|
|
20815
20815
|
match: "config.acls.allow",
|
|
20816
|
-
component:
|
|
20816
|
+
component: Tt,
|
|
20817
20817
|
propsOverrides: {
|
|
20818
20818
|
appearance: "tabs",
|
|
20819
20819
|
itemLabel: (e, t) => `#${t + 1} Allow`
|
|
@@ -20824,7 +20824,7 @@ const xI = qe({
|
|
|
20824
20824
|
"config.acls.allow.*.match",
|
|
20825
20825
|
"config.acls.deny.*.match"
|
|
20826
20826
|
].includes(e),
|
|
20827
|
-
component:
|
|
20827
|
+
component: Tt,
|
|
20828
20828
|
propsOverrides: {
|
|
20829
20829
|
appearance: "tabs",
|
|
20830
20830
|
itemLabel: (e, t) => `#${t + 1} Match`
|
|
@@ -20832,7 +20832,7 @@ const xI = qe({
|
|
|
20832
20832
|
},
|
|
20833
20833
|
{
|
|
20834
20834
|
match: "config.acls.deny",
|
|
20835
|
-
component:
|
|
20835
|
+
component: Tt,
|
|
20836
20836
|
propsOverrides: {
|
|
20837
20837
|
appearance: "tabs",
|
|
20838
20838
|
stickyTabs: !0,
|
|
@@ -20840,9 +20840,9 @@ const xI = qe({
|
|
|
20840
20840
|
}
|
|
20841
20841
|
}
|
|
20842
20842
|
]
|
|
20843
|
-
}), jI =
|
|
20843
|
+
}), jI = De({
|
|
20844
20844
|
experimental: !0
|
|
20845
|
-
}), DI =
|
|
20845
|
+
}), DI = De({
|
|
20846
20846
|
experimental: !0,
|
|
20847
20847
|
renderRules: {
|
|
20848
20848
|
bundles: [
|
|
@@ -20852,7 +20852,7 @@ const xI = qe({
|
|
|
20852
20852
|
"config.redis": ["config.strategy", "redis"]
|
|
20853
20853
|
}
|
|
20854
20854
|
}
|
|
20855
|
-
}), qI =
|
|
20855
|
+
}), qI = De({
|
|
20856
20856
|
experimental: !0,
|
|
20857
20857
|
fieldRenderers: [
|
|
20858
20858
|
{
|
|
@@ -20864,7 +20864,7 @@ const xI = qe({
|
|
|
20864
20864
|
}
|
|
20865
20865
|
}
|
|
20866
20866
|
]
|
|
20867
|
-
}), BI =
|
|
20867
|
+
}), BI = De({
|
|
20868
20868
|
experimental: !0,
|
|
20869
20869
|
fieldRenderers: [
|
|
20870
20870
|
{
|
|
@@ -20879,7 +20879,7 @@ const xI = qe({
|
|
|
20879
20879
|
}), gm = [
|
|
20880
20880
|
{
|
|
20881
20881
|
match: "config.vectordb.redis.sentinel_nodes",
|
|
20882
|
-
component:
|
|
20882
|
+
component: Tt,
|
|
20883
20883
|
propsOverrides: {
|
|
20884
20884
|
appearance: "tabs",
|
|
20885
20885
|
itemLabel: (e, t) => ` #${t + 1} Sentinel node`
|
|
@@ -20887,7 +20887,7 @@ const xI = qe({
|
|
|
20887
20887
|
},
|
|
20888
20888
|
{
|
|
20889
20889
|
match: "config.vectordb.redis.cluster_nodes",
|
|
20890
|
-
component:
|
|
20890
|
+
component: Tt,
|
|
20891
20891
|
propsOverrides: {
|
|
20892
20892
|
appearance: "tabs",
|
|
20893
20893
|
itemLabel: (e, t) => ` #${t + 1} Cluster node`
|
|
@@ -20912,17 +20912,17 @@ const xI = qe({
|
|
|
20912
20912
|
"config.vectordb.redis.cloud_authentication.azure_client_secret": ["config.vectordb.redis.cloud_authentication.auth_provider", "azure"],
|
|
20913
20913
|
"config.vectordb.redis.cloud_authentication.azure_tenant_id": ["config.vectordb.redis.cloud_authentication.auth_provider", "azure"]
|
|
20914
20914
|
}
|
|
20915
|
-
}, UI =
|
|
20915
|
+
}, UI = De({
|
|
20916
20916
|
experimental: !0,
|
|
20917
20917
|
fieldRenderers: gm,
|
|
20918
20918
|
renderRules: hm
|
|
20919
|
-
}), VI =
|
|
20919
|
+
}), VI = De({
|
|
20920
20920
|
experimental: !0,
|
|
20921
20921
|
fieldRenderers: gm,
|
|
20922
20922
|
renderRules: hm
|
|
20923
|
-
}), zI =
|
|
20923
|
+
}), zI = De({
|
|
20924
20924
|
experimental: !0
|
|
20925
|
-
}), GI =
|
|
20925
|
+
}), GI = De({
|
|
20926
20926
|
experimental: !0
|
|
20927
20927
|
}), HI = {
|
|
20928
20928
|
class: "kong-identity-field",
|
|
@@ -21382,7 +21382,7 @@ const xI = qe({
|
|
|
21382
21382
|
_: 1
|
|
21383
21383
|
}, 16));
|
|
21384
21384
|
}
|
|
21385
|
-
}), sT =
|
|
21385
|
+
}), sT = De({
|
|
21386
21386
|
experimental: !0,
|
|
21387
21387
|
component: bm,
|
|
21388
21388
|
renderRules: {
|
|
@@ -21399,11 +21399,11 @@ const xI = qe({
|
|
|
21399
21399
|
}
|
|
21400
21400
|
}
|
|
21401
21401
|
]
|
|
21402
|
-
}), lT =
|
|
21402
|
+
}), lT = De({
|
|
21403
21403
|
experimental: !0
|
|
21404
|
-
}), uT =
|
|
21404
|
+
}), uT = De({
|
|
21405
21405
|
experimental: !0
|
|
21406
|
-
}), cT =
|
|
21406
|
+
}), cT = De({
|
|
21407
21407
|
experimental: !0,
|
|
21408
21408
|
fieldRenderers: [
|
|
21409
21409
|
{
|
|
@@ -21416,7 +21416,7 @@ const xI = qe({
|
|
|
21416
21416
|
},
|
|
21417
21417
|
{
|
|
21418
21418
|
match: "config.topics",
|
|
21419
|
-
component:
|
|
21419
|
+
component: Tt,
|
|
21420
21420
|
propsOverrides: {
|
|
21421
21421
|
appearance: "tabs",
|
|
21422
21422
|
stickyTabs: !0,
|
|
@@ -21425,14 +21425,14 @@ const xI = qe({
|
|
|
21425
21425
|
},
|
|
21426
21426
|
{
|
|
21427
21427
|
match: "config.bootstrap_servers",
|
|
21428
|
-
component:
|
|
21428
|
+
component: Tt,
|
|
21429
21429
|
propsOverrides: {
|
|
21430
21430
|
appearance: "tabs",
|
|
21431
21431
|
itemLabel: (e, t) => `#${t + 1} Server`
|
|
21432
21432
|
}
|
|
21433
21433
|
}
|
|
21434
21434
|
]
|
|
21435
|
-
}), dT =
|
|
21435
|
+
}), dT = De({
|
|
21436
21436
|
experimental: !0,
|
|
21437
21437
|
fieldRenderers: [
|
|
21438
21438
|
{
|
|
@@ -21442,11 +21442,19 @@ const xI = qe({
|
|
|
21442
21442
|
multiline: !0,
|
|
21443
21443
|
rows: 3
|
|
21444
21444
|
}
|
|
21445
|
+
},
|
|
21446
|
+
{
|
|
21447
|
+
match: "config.bootstrap_servers",
|
|
21448
|
+
component: Tt,
|
|
21449
|
+
propsOverrides: {
|
|
21450
|
+
appearance: "tabs",
|
|
21451
|
+
itemLabel: (e, t) => `#${t + 1} Server`
|
|
21452
|
+
}
|
|
21445
21453
|
}
|
|
21446
21454
|
]
|
|
21447
|
-
}), pT =
|
|
21455
|
+
}), pT = De({
|
|
21448
21456
|
experimental: !0
|
|
21449
|
-
}), fT =
|
|
21457
|
+
}), fT = De({
|
|
21450
21458
|
experimental: !0,
|
|
21451
21459
|
fieldRenderers: [
|
|
21452
21460
|
{
|
|
@@ -21455,12 +21463,12 @@ const xI = qe({
|
|
|
21455
21463
|
propsOverrides: { multiple: !0 }
|
|
21456
21464
|
}
|
|
21457
21465
|
]
|
|
21458
|
-
}), mT =
|
|
21466
|
+
}), mT = De({
|
|
21459
21467
|
experimental: !0,
|
|
21460
21468
|
fieldRenderers: [
|
|
21461
21469
|
{
|
|
21462
21470
|
match: "config.metrics",
|
|
21463
|
-
component:
|
|
21471
|
+
component: Tt,
|
|
21464
21472
|
propsOverrides: {
|
|
21465
21473
|
appearance: "tabs",
|
|
21466
21474
|
itemLabel: (e, t) => `#${t + 1} Metric`
|
|
@@ -22280,7 +22288,7 @@ const LT = { class: "label-content" }, FT = { class: "count" }, KT = { class: "l
|
|
|
22280
22288
|
])
|
|
22281
22289
|
]));
|
|
22282
22290
|
}
|
|
22283
|
-
}), JT = /* @__PURE__ */ ze(YT, [["__scopeId", "data-v-
|
|
22291
|
+
}), JT = /* @__PURE__ */ ze(YT, [["__scopeId", "data-v-07aa3288"]]), XT = { class: "dk-editor-main" }, ZT = { class: "header" }, QT = { class: "actions" }, e$ = { class: "settings" }, t$ = {
|
|
22284
22292
|
ref: "canvasContainer",
|
|
22285
22293
|
class: "body"
|
|
22286
22294
|
}, n$ = /* @__PURE__ */ Pe({
|
|
@@ -26249,7 +26257,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26249
26257
|
name: "allowed_algorithms",
|
|
26250
26258
|
onUpdate: v[0] || (v[0] = (b) => u(a)("allowed_algorithms"))
|
|
26251
26259
|
}),
|
|
26252
|
-
C(
|
|
26260
|
+
C(Tt, {
|
|
26253
26261
|
name: "issuers",
|
|
26254
26262
|
onAdd: v[2] || (v[2] = (b) => u(a)("issuers")),
|
|
26255
26263
|
onRemove: v[3] || (v[3] = (b) => u(a)("issuers"))
|
|
@@ -26263,7 +26271,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26263
26271
|
]),
|
|
26264
26272
|
_: 1
|
|
26265
26273
|
}),
|
|
26266
|
-
C(
|
|
26274
|
+
C(Tt, {
|
|
26267
26275
|
name: "audiences",
|
|
26268
26276
|
onAdd: v[5] || (v[5] = (b) => u(a)("audiences")),
|
|
26269
26277
|
onRemove: v[6] || (v[6] = (b) => u(a)("audiences"))
|
|
@@ -26277,7 +26285,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26277
26285
|
]),
|
|
26278
26286
|
_: 1
|
|
26279
26287
|
}),
|
|
26280
|
-
C(
|
|
26288
|
+
C(Tt, {
|
|
26281
26289
|
name: "required_claims",
|
|
26282
26290
|
onAdd: v[8] || (v[8] = (b) => u(a)("required_claims")),
|
|
26283
26291
|
onRemove: v[9] || (v[9] = (b) => u(a)("required_claims"))
|
|
@@ -26483,8 +26491,8 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26483
26491
|
emits: ["update:open"],
|
|
26484
26492
|
setup(e) {
|
|
26485
26493
|
Ea((l) => ({
|
|
26486
|
-
|
|
26487
|
-
|
|
26494
|
+
v38ec900c: `${u(cy)}px`,
|
|
26495
|
+
v620586b8: `${u(Ad)}px`
|
|
26488
26496
|
}));
|
|
26489
26497
|
const t = yi(e, "open"), n = me(!1), i = xt("confirm-modal"), { clear: o } = Ut();
|
|
26490
26498
|
Y1(async (...l) => {
|
|
@@ -26512,7 +26520,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26512
26520
|
C(zT, { ref: "confirm-modal" }, null, 512)
|
|
26513
26521
|
])) : ye("", !0);
|
|
26514
26522
|
}
|
|
26515
|
-
}), aN = /* @__PURE__ */ ze(oN, [["__scopeId", "data-v-
|
|
26523
|
+
}), aN = /* @__PURE__ */ ze(oN, [["__scopeId", "data-v-c3604472"]]), rN = { class: "dk-flow-editor" }, sN = { class: "flow-panels-container" }, lN = { class: "overlay" }, uN = /* @__PURE__ */ Pe({
|
|
26516
26524
|
__name: "FlowEditor",
|
|
26517
26525
|
props: {
|
|
26518
26526
|
isEditing: { type: Boolean }
|
|
@@ -26726,9 +26734,11 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26726
26734
|
}, 16, ["editor-mode"])
|
|
26727
26735
|
], 64));
|
|
26728
26736
|
}
|
|
26729
|
-
}), gN = /* @__PURE__ */ ze(mN, [["__scopeId", "data-v-99d4e7f0"]]), hN =
|
|
26737
|
+
}), gN = /* @__PURE__ */ ze(mN, [["__scopeId", "data-v-99d4e7f0"]]), hN = De({
|
|
26730
26738
|
component: gN
|
|
26731
|
-
}), yN =
|
|
26739
|
+
}), yN = De({
|
|
26740
|
+
experimental: !0
|
|
26741
|
+
}), vN = De({
|
|
26732
26742
|
experimental: !0,
|
|
26733
26743
|
fieldRenderers: [
|
|
26734
26744
|
{
|
|
@@ -26741,7 +26751,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26741
26751
|
})
|
|
26742
26752
|
}
|
|
26743
26753
|
]
|
|
26744
|
-
}),
|
|
26754
|
+
}), _N = De({
|
|
26745
26755
|
experimental: !0,
|
|
26746
26756
|
fieldRenderers: [
|
|
26747
26757
|
{
|
|
@@ -26752,9 +26762,9 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26752
26762
|
}
|
|
26753
26763
|
}
|
|
26754
26764
|
]
|
|
26755
|
-
}),
|
|
26765
|
+
}), bN = De({
|
|
26756
26766
|
experimental: !0
|
|
26757
|
-
}),
|
|
26767
|
+
}), wN = De({
|
|
26758
26768
|
experimental: !0,
|
|
26759
26769
|
renderRules: {
|
|
26760
26770
|
bundles: [
|
|
@@ -26764,7 +26774,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26764
26774
|
"config.redis": ["config.strategy", "redis"]
|
|
26765
26775
|
}
|
|
26766
26776
|
}
|
|
26767
|
-
}),
|
|
26777
|
+
}), kN = De({
|
|
26768
26778
|
experimental: !0,
|
|
26769
26779
|
renderRules: {
|
|
26770
26780
|
bundles: [
|
|
@@ -26774,7 +26784,21 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26774
26784
|
"config.redis": ["config.strategy", "redis"]
|
|
26775
26785
|
}
|
|
26776
26786
|
}
|
|
26777
|
-
}),
|
|
26787
|
+
}), CN = De({
|
|
26788
|
+
experimental: !0,
|
|
26789
|
+
fieldRenderers: [
|
|
26790
|
+
{
|
|
26791
|
+
match: "config.proto",
|
|
26792
|
+
component: Ze,
|
|
26793
|
+
propsOverrides: {
|
|
26794
|
+
multiline: !0,
|
|
26795
|
+
rows: 4
|
|
26796
|
+
}
|
|
26797
|
+
}
|
|
26798
|
+
]
|
|
26799
|
+
}), EN = De({
|
|
26800
|
+
experimental: !0
|
|
26801
|
+
}), xN = De({
|
|
26778
26802
|
experimental: !0,
|
|
26779
26803
|
fieldRenderers: [
|
|
26780
26804
|
{
|
|
@@ -26783,9 +26807,9 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26783
26807
|
propsOverrides: { multiple: !0 }
|
|
26784
26808
|
}
|
|
26785
26809
|
]
|
|
26786
|
-
}),
|
|
26810
|
+
}), SN = De({
|
|
26787
26811
|
experimental: !0
|
|
26788
|
-
}),
|
|
26812
|
+
}), AN = De({
|
|
26789
26813
|
experimental: !0,
|
|
26790
26814
|
fieldRenderers: [
|
|
26791
26815
|
{
|
|
@@ -26796,7 +26820,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26796
26820
|
}
|
|
26797
26821
|
}
|
|
26798
26822
|
]
|
|
26799
|
-
}),
|
|
26823
|
+
}), IN = De({
|
|
26800
26824
|
experimental: !0,
|
|
26801
26825
|
fieldRenderers: [
|
|
26802
26826
|
{
|
|
@@ -26811,18 +26835,18 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26811
26835
|
},
|
|
26812
26836
|
{
|
|
26813
26837
|
match: "config.custom_injections",
|
|
26814
|
-
component:
|
|
26838
|
+
component: Tt,
|
|
26815
26839
|
propsOverrides: {
|
|
26816
26840
|
appearance: "tabs",
|
|
26817
26841
|
itemLabel: (e, t) => `#${t + 1} Injection`
|
|
26818
26842
|
}
|
|
26819
26843
|
}
|
|
26820
26844
|
]
|
|
26821
|
-
}),
|
|
26845
|
+
}), TN = De({
|
|
26822
26846
|
experimental: !0
|
|
26823
|
-
}),
|
|
26847
|
+
}), $N = De({
|
|
26824
26848
|
experimental: !0
|
|
26825
|
-
}),
|
|
26849
|
+
}), ON = De({
|
|
26826
26850
|
experimental: !0
|
|
26827
26851
|
}), Hc = /* @__PURE__ */ Pe({
|
|
26828
26852
|
inheritAttrs: !1,
|
|
@@ -26866,7 +26890,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26866
26890
|
name: e.name
|
|
26867
26891
|
}), null, 16, ["error", "error-message", "name"]));
|
|
26868
26892
|
}
|
|
26869
|
-
}),
|
|
26893
|
+
}), PN = /* @__PURE__ */ Pe({
|
|
26870
26894
|
__name: "JwtSignerForm",
|
|
26871
26895
|
props: {
|
|
26872
26896
|
schema: {},
|
|
@@ -26919,11 +26943,11 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26919
26943
|
_: 1
|
|
26920
26944
|
}, 16));
|
|
26921
26945
|
}
|
|
26922
|
-
}),
|
|
26923
|
-
component:
|
|
26924
|
-
}),
|
|
26946
|
+
}), NN = De({
|
|
26947
|
+
component: PN
|
|
26948
|
+
}), RN = De({
|
|
26925
26949
|
experimental: !0
|
|
26926
|
-
}),
|
|
26950
|
+
}), MN = De({
|
|
26927
26951
|
experimental: !0,
|
|
26928
26952
|
fieldRenderers: [
|
|
26929
26953
|
{
|
|
@@ -26936,7 +26960,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26936
26960
|
},
|
|
26937
26961
|
{
|
|
26938
26962
|
match: "config.topics",
|
|
26939
|
-
component:
|
|
26963
|
+
component: Tt,
|
|
26940
26964
|
propsOverrides: {
|
|
26941
26965
|
appearance: "tabs",
|
|
26942
26966
|
stickyTabs: !0,
|
|
@@ -26945,14 +26969,14 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26945
26969
|
},
|
|
26946
26970
|
{
|
|
26947
26971
|
match: "config.bootstrap_servers",
|
|
26948
|
-
component:
|
|
26972
|
+
component: Tt,
|
|
26949
26973
|
propsOverrides: {
|
|
26950
26974
|
appearance: "tabs",
|
|
26951
26975
|
itemLabel: (e, t) => `#${t + 1} Server`
|
|
26952
26976
|
}
|
|
26953
26977
|
}
|
|
26954
26978
|
]
|
|
26955
|
-
}),
|
|
26979
|
+
}), LN = De({
|
|
26956
26980
|
experimental: !0,
|
|
26957
26981
|
fieldRenderers: [
|
|
26958
26982
|
{
|
|
@@ -26964,14 +26988,14 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26964
26988
|
},
|
|
26965
26989
|
{
|
|
26966
26990
|
match: "config.bootstrap_servers",
|
|
26967
|
-
component:
|
|
26991
|
+
component: Tt,
|
|
26968
26992
|
propsOverrides: {
|
|
26969
26993
|
appearance: "tabs",
|
|
26970
26994
|
itemLabel: (e, t) => `#${t + 1} Server`
|
|
26971
26995
|
}
|
|
26972
26996
|
}
|
|
26973
26997
|
]
|
|
26974
|
-
}),
|
|
26998
|
+
}), FN = De({
|
|
26975
26999
|
experimental: !0,
|
|
26976
27000
|
fieldRenderers: [
|
|
26977
27001
|
{
|
|
@@ -26983,9 +27007,9 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
26983
27007
|
}
|
|
26984
27008
|
}
|
|
26985
27009
|
]
|
|
26986
|
-
}),
|
|
27010
|
+
}), KN = De({
|
|
26987
27011
|
experimental: !0
|
|
26988
|
-
}),
|
|
27012
|
+
}), jN = De({
|
|
26989
27013
|
experimental: !0,
|
|
26990
27014
|
component: bm,
|
|
26991
27015
|
fieldRenderers: [
|
|
@@ -27008,7 +27032,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27008
27032
|
}
|
|
27009
27033
|
}
|
|
27010
27034
|
]
|
|
27011
|
-
}),
|
|
27035
|
+
}), DN = De({
|
|
27012
27036
|
experimental: !0,
|
|
27013
27037
|
fieldRenderers: [
|
|
27014
27038
|
{
|
|
@@ -27017,9 +27041,9 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27017
27041
|
propsOverrides: { multiple: !0 }
|
|
27018
27042
|
}
|
|
27019
27043
|
]
|
|
27020
|
-
}),
|
|
27044
|
+
}), qN = De({
|
|
27021
27045
|
experimental: !0
|
|
27022
|
-
}),
|
|
27046
|
+
}), BN = De({
|
|
27023
27047
|
experimental: !0,
|
|
27024
27048
|
fieldRenderers: [
|
|
27025
27049
|
{
|
|
@@ -27030,13 +27054,13 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27030
27054
|
}
|
|
27031
27055
|
}
|
|
27032
27056
|
]
|
|
27033
|
-
}),
|
|
27057
|
+
}), UN = { class: "ff-collapsible-section" }, VN = { class: "ff-collapsible-section-header" }, zN = { class: "ff-collapsible-section-header-toggle" }, GN = {
|
|
27034
27058
|
key: 0,
|
|
27035
27059
|
class: "ff-collapsible-section-content"
|
|
27036
|
-
},
|
|
27060
|
+
}, HN = {
|
|
27037
27061
|
key: 0,
|
|
27038
27062
|
class: "ff-collapsible-section-indent-guide"
|
|
27039
|
-
},
|
|
27063
|
+
}, WN = /* @__PURE__ */ Pe({
|
|
27040
27064
|
__name: "CollapsibleSection",
|
|
27041
27065
|
props: /* @__PURE__ */ vi({
|
|
27042
27066
|
label: {}
|
|
@@ -27047,9 +27071,9 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27047
27071
|
emits: ["update:expanded"],
|
|
27048
27072
|
setup(e) {
|
|
27049
27073
|
const t = yi(e, "expanded");
|
|
27050
|
-
return (n, i) => (S(), le("div",
|
|
27051
|
-
ee("header",
|
|
27052
|
-
ee("div",
|
|
27074
|
+
return (n, i) => (S(), le("div", UN, [
|
|
27075
|
+
ee("header", VN, [
|
|
27076
|
+
ee("div", zN, [
|
|
27053
27077
|
ee("button", {
|
|
27054
27078
|
class: "ff-collapsible-section-toggle-btn",
|
|
27055
27079
|
type: "button",
|
|
@@ -27071,16 +27095,16 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27071
27095
|
]),
|
|
27072
27096
|
C(Ur, null, {
|
|
27073
27097
|
default: N(() => [
|
|
27074
|
-
t.value ? (S(), le("div",
|
|
27098
|
+
t.value ? (S(), le("div", GN, [
|
|
27075
27099
|
Qe(n.$slots, "default", {}, void 0, !0)
|
|
27076
27100
|
])) : ye("", !0)
|
|
27077
27101
|
]),
|
|
27078
27102
|
_: 3
|
|
27079
27103
|
}),
|
|
27080
|
-
t.value ? (S(), le("div",
|
|
27104
|
+
t.value ? (S(), le("div", HN)) : ye("", !0)
|
|
27081
27105
|
]));
|
|
27082
27106
|
}
|
|
27083
|
-
}), Es = /* @__PURE__ */ ze(
|
|
27107
|
+
}), Es = /* @__PURE__ */ ze(WN, [["__scopeId", "data-v-39f2a44b"]]), YN = { class: "ff-mb-subject" }, JN = { class: "ff-mb-attributes" }, XN = { class: "ff-metering-billing-inline-row" }, ZN = { class: "ff-mb-queue" }, QN = /* @__PURE__ */ Pe({
|
|
27084
27108
|
__name: "MeteringAndBillingForm",
|
|
27085
27109
|
props: {
|
|
27086
27110
|
schema: {},
|
|
@@ -27269,7 +27293,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27269
27293
|
]),
|
|
27270
27294
|
_: 1
|
|
27271
27295
|
}, 8, ["expanded", "label"]),
|
|
27272
|
-
ee("div",
|
|
27296
|
+
ee("div", YN, [
|
|
27273
27297
|
C(Gt, {
|
|
27274
27298
|
label: u(i)("plugins.free-form.metering-and-billing.sections.subject.title"),
|
|
27275
27299
|
name: "config.subject",
|
|
@@ -27287,8 +27311,8 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27287
27311
|
label: u(i)("plugins.free-form.metering-and-billing.fields.attributes.title")
|
|
27288
27312
|
}, {
|
|
27289
27313
|
default: N(() => [
|
|
27290
|
-
ee("div",
|
|
27291
|
-
C(
|
|
27314
|
+
ee("div", JN, [
|
|
27315
|
+
C(Tt, {
|
|
27292
27316
|
"hide-label": "",
|
|
27293
27317
|
name: "config.attributes"
|
|
27294
27318
|
})
|
|
@@ -27308,7 +27332,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27308
27332
|
}, null, 8, ["help"]),
|
|
27309
27333
|
C(st, { name: "config.api_token" }),
|
|
27310
27334
|
C(st, { name: "config.ssl_verify" }),
|
|
27311
|
-
ee("div",
|
|
27335
|
+
ee("div", XN, [
|
|
27312
27336
|
C(st, { name: "config.timeout" }),
|
|
27313
27337
|
C(st, { name: "config.keepalive" })
|
|
27314
27338
|
])
|
|
@@ -27321,7 +27345,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27321
27345
|
"hide-general-fields": ""
|
|
27322
27346
|
}, {
|
|
27323
27347
|
default: N(() => [
|
|
27324
|
-
ee("div",
|
|
27348
|
+
ee("div", ZN, [
|
|
27325
27349
|
C(u(gn), { class: "ff-mb-queue-label" }, {
|
|
27326
27350
|
default: N(() => [
|
|
27327
27351
|
Le(ue(u(i)("plugins.free-form.metering-and-billing.sections.queue.title")), 1)
|
|
@@ -27341,10 +27365,10 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27341
27365
|
_: 1
|
|
27342
27366
|
}, 16, ["plugin-config-description"]));
|
|
27343
27367
|
}
|
|
27344
|
-
}),
|
|
27368
|
+
}), eR = /* @__PURE__ */ ze(QN, [["__scopeId", "data-v-78972733"]]), tR = De({
|
|
27345
27369
|
experimental: !0,
|
|
27346
|
-
component:
|
|
27347
|
-
}),
|
|
27370
|
+
component: eR
|
|
27371
|
+
}), nR = De({
|
|
27348
27372
|
experimental: !0,
|
|
27349
27373
|
fieldRenderers: [
|
|
27350
27374
|
{
|
|
@@ -27356,7 +27380,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27356
27380
|
}
|
|
27357
27381
|
}
|
|
27358
27382
|
]
|
|
27359
|
-
}),
|
|
27383
|
+
}), iR = De({
|
|
27360
27384
|
experimental: !0,
|
|
27361
27385
|
fieldRenderers: [
|
|
27362
27386
|
{
|
|
@@ -27365,7 +27389,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27365
27389
|
propsOverrides: { multiple: !0 }
|
|
27366
27390
|
}
|
|
27367
27391
|
]
|
|
27368
|
-
}),
|
|
27392
|
+
}), oR = De({
|
|
27369
27393
|
experimental: !0,
|
|
27370
27394
|
fieldRenderers: [
|
|
27371
27395
|
{
|
|
@@ -27377,13 +27401,13 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27377
27401
|
}
|
|
27378
27402
|
}
|
|
27379
27403
|
]
|
|
27380
|
-
}),
|
|
27404
|
+
}), aR = De({
|
|
27381
27405
|
experimental: !0
|
|
27382
|
-
}),
|
|
27406
|
+
}), rR = De({
|
|
27383
27407
|
experimental: !0
|
|
27384
|
-
}),
|
|
27408
|
+
}), sR = De({
|
|
27385
27409
|
experimental: !0
|
|
27386
|
-
}),
|
|
27410
|
+
}), lR = De({
|
|
27387
27411
|
experimental: !0,
|
|
27388
27412
|
fieldRenderers: [
|
|
27389
27413
|
{
|
|
@@ -27394,7 +27418,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27394
27418
|
}
|
|
27395
27419
|
}
|
|
27396
27420
|
]
|
|
27397
|
-
}),
|
|
27421
|
+
}), uR = De({
|
|
27398
27422
|
experimental: !0,
|
|
27399
27423
|
fieldRenderers: [
|
|
27400
27424
|
{
|
|
@@ -27418,7 +27442,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27418
27442
|
}
|
|
27419
27443
|
}
|
|
27420
27444
|
]
|
|
27421
|
-
}),
|
|
27445
|
+
}), cR = De({
|
|
27422
27446
|
experimental: !0,
|
|
27423
27447
|
fieldRenderers: [
|
|
27424
27448
|
{
|
|
@@ -27442,9 +27466,9 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27442
27466
|
}
|
|
27443
27467
|
}
|
|
27444
27468
|
]
|
|
27445
|
-
}),
|
|
27469
|
+
}), dR = De({
|
|
27446
27470
|
experimental: !0
|
|
27447
|
-
}),
|
|
27471
|
+
}), pR = De({
|
|
27448
27472
|
experimental: !0,
|
|
27449
27473
|
renderRules: {
|
|
27450
27474
|
bundles: [
|
|
@@ -27461,7 +27485,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27461
27485
|
propsOverrides: { multiple: !0 }
|
|
27462
27486
|
}
|
|
27463
27487
|
]
|
|
27464
|
-
}),
|
|
27488
|
+
}), fR = De({
|
|
27465
27489
|
experimental: !0,
|
|
27466
27490
|
fieldRenderers: [
|
|
27467
27491
|
{
|
|
@@ -27470,10 +27494,10 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27470
27494
|
propsOverrides: { multiple: !0 }
|
|
27471
27495
|
}
|
|
27472
27496
|
]
|
|
27473
|
-
}),
|
|
27497
|
+
}), mR = { class: "rla-form-request-limits-subtitle" }, gR = { class: "rla-form-request-limits-content" }, hR = { class: "rla-form-window-type" }, yR = { class: "rla-form-request-limits-items" }, vR = { class: "rla-form-request-limits-row" }, _R = ["id"], bR = { class: "rla-form-request-limits-actions" }, wR = {
|
|
27474
27498
|
key: 0,
|
|
27475
27499
|
class: "rla-form-request-limits-examples"
|
|
27476
|
-
},
|
|
27500
|
+
}, kR = { class: "rla-form-request-limits-examples-badges" }, xs = "config.window_type", CR = /* @__PURE__ */ Pe({
|
|
27477
27501
|
__name: "RequestLimitsForm",
|
|
27478
27502
|
setup(e) {
|
|
27479
27503
|
var _;
|
|
@@ -27570,11 +27594,11 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27570
27594
|
]),
|
|
27571
27595
|
_: 1
|
|
27572
27596
|
}),
|
|
27573
|
-
ee("div",
|
|
27597
|
+
ee("div", mR, ue(u(t)("sp.request_limits.subtitle")), 1)
|
|
27574
27598
|
]),
|
|
27575
27599
|
default: N(() => [
|
|
27576
|
-
ee("div",
|
|
27577
|
-
ee("div",
|
|
27600
|
+
ee("div", gR, [
|
|
27601
|
+
ee("div", hR, [
|
|
27578
27602
|
C(pu, {
|
|
27579
27603
|
items: c.value,
|
|
27580
27604
|
label: u(t)("sp.window_type.label"),
|
|
@@ -27582,7 +27606,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27582
27606
|
"onUpdate:modelValue": b[0] || (b[0] = (O) => p.value = void 0)
|
|
27583
27607
|
}, null, 8, ["items", "label"])
|
|
27584
27608
|
]),
|
|
27585
|
-
ee("div",
|
|
27609
|
+
ee("div", yR, [
|
|
27586
27610
|
(S(!0), le(Ge, null, et(r.value, (O, q) => (S(), le("div", {
|
|
27587
27611
|
key: u(a)(O, q)
|
|
27588
27612
|
}, [
|
|
@@ -27594,7 +27618,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27594
27618
|
]),
|
|
27595
27619
|
_: 2
|
|
27596
27620
|
}, 1032, ["for"]),
|
|
27597
|
-
ee("div",
|
|
27621
|
+
ee("div", vR, [
|
|
27598
27622
|
ee("legend", {
|
|
27599
27623
|
id: `rla-form-request-limits-item-${q}-legend`,
|
|
27600
27624
|
class: "rla-form-request-limits-inputs"
|
|
@@ -27609,8 +27633,8 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27609
27633
|
placeholder: u(t)("sp.request_limits.time_interval")
|
|
27610
27634
|
}, null, 8, ["name", "placeholder"]),
|
|
27611
27635
|
ee("div", null, ue(u(t)("sp.request_limits.seconds")), 1)
|
|
27612
|
-
], 8,
|
|
27613
|
-
ee("div",
|
|
27636
|
+
], 8, _R),
|
|
27637
|
+
ee("div", bR, [
|
|
27614
27638
|
C(E, {
|
|
27615
27639
|
appearance: "tertiary",
|
|
27616
27640
|
disabled: r.value.length <= 1,
|
|
@@ -27634,9 +27658,9 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27634
27658
|
])
|
|
27635
27659
|
]))), 128))
|
|
27636
27660
|
]),
|
|
27637
|
-
h.value.length > 0 ? (S(), le("div",
|
|
27661
|
+
h.value.length > 0 ? (S(), le("div", wR, [
|
|
27638
27662
|
ee("div", null, ue(u(t)("sp.start_with_a_use_case")), 1),
|
|
27639
|
-
ee("div",
|
|
27663
|
+
ee("div", kR, [
|
|
27640
27664
|
(S(!0), le(Ge, null, et(h.value, (O, q) => (S(), Z(w, {
|
|
27641
27665
|
key: `use-case-${q}`,
|
|
27642
27666
|
"max-width": "300"
|
|
@@ -27669,10 +27693,10 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27669
27693
|
});
|
|
27670
27694
|
};
|
|
27671
27695
|
}
|
|
27672
|
-
}),
|
|
27696
|
+
}), ER = /* @__PURE__ */ ze(CR, [["__scopeId", "data-v-1fac872b"]]), xR = {
|
|
27673
27697
|
id: "rla-form-error-legend",
|
|
27674
27698
|
class: "rla-form-error-inputs"
|
|
27675
|
-
},
|
|
27699
|
+
}, SR = /* @__PURE__ */ Pe({
|
|
27676
27700
|
__name: "ErrorMessageForm",
|
|
27677
27701
|
setup(e) {
|
|
27678
27702
|
const { i18n: { t } } = it();
|
|
@@ -27693,7 +27717,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27693
27717
|
]),
|
|
27694
27718
|
_: 1
|
|
27695
27719
|
}, 8, ["info"]),
|
|
27696
|
-
ee("legend",
|
|
27720
|
+
ee("legend", xR, [
|
|
27697
27721
|
C(Yt, {
|
|
27698
27722
|
class: "input-error-code",
|
|
27699
27723
|
label: "",
|
|
@@ -27711,7 +27735,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27711
27735
|
]);
|
|
27712
27736
|
};
|
|
27713
27737
|
}
|
|
27714
|
-
}),
|
|
27738
|
+
}), AR = /* @__PURE__ */ ze(SR, [["__scopeId", "data-v-7b36f1f7"]]), IR = /* @__PURE__ */ Pe({
|
|
27715
27739
|
__name: "RedisField",
|
|
27716
27740
|
setup(e) {
|
|
27717
27741
|
const { formData: t } = gt(), n = pt(Jn), i = pt(Bo), o = (i == null ? void 0 : i.isEditing) || !1, r = L(() => {
|
|
@@ -27734,7 +27758,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27734
27758
|
_: 1
|
|
27735
27759
|
}));
|
|
27736
27760
|
}
|
|
27737
|
-
}),
|
|
27761
|
+
}), TR = /* @__PURE__ */ Pe({
|
|
27738
27762
|
__name: "ConfigForm",
|
|
27739
27763
|
setup(e) {
|
|
27740
27764
|
const { getSchema: t } = gt();
|
|
@@ -27746,8 +27770,8 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27746
27770
|
}, {
|
|
27747
27771
|
default: N(() => [
|
|
27748
27772
|
C(st, { name: "identifier" }),
|
|
27749
|
-
C(
|
|
27750
|
-
C(
|
|
27773
|
+
C(ER),
|
|
27774
|
+
C(AR)
|
|
27751
27775
|
]),
|
|
27752
27776
|
_: 1
|
|
27753
27777
|
}),
|
|
@@ -27764,7 +27788,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27764
27788
|
C(st, { name: "config.sync_rate" }),
|
|
27765
27789
|
C(st, { name: "config.namespace" }),
|
|
27766
27790
|
C(st, { name: "config.strategy" }),
|
|
27767
|
-
C(
|
|
27791
|
+
C(IR),
|
|
27768
27792
|
C(st, { name: "config.dictionary_name" }),
|
|
27769
27793
|
C(st, { name: "config.lock_dictionary_name" }),
|
|
27770
27794
|
C(st, { name: "config.hide_client_headers" }),
|
|
@@ -27780,7 +27804,7 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27780
27804
|
})
|
|
27781
27805
|
], 64));
|
|
27782
27806
|
}
|
|
27783
|
-
}),
|
|
27807
|
+
}), $R = /* @__PURE__ */ Pe({
|
|
27784
27808
|
__name: "RateLimitingAdvancedForm",
|
|
27785
27809
|
props: {
|
|
27786
27810
|
schema: {},
|
|
@@ -27810,15 +27834,15 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27810
27834
|
}
|
|
27811
27835
|
return (o, r) => (S(), Z(ui, We(t, { "on-form-change": i }), {
|
|
27812
27836
|
default: N(() => [
|
|
27813
|
-
C(
|
|
27837
|
+
C(TR)
|
|
27814
27838
|
]),
|
|
27815
27839
|
_: 1
|
|
27816
27840
|
}, 16));
|
|
27817
27841
|
}
|
|
27818
|
-
}),
|
|
27842
|
+
}), OR = De({
|
|
27819
27843
|
experimental: !0,
|
|
27820
|
-
component:
|
|
27821
|
-
}),
|
|
27844
|
+
component: $R
|
|
27845
|
+
}), PR = De({
|
|
27822
27846
|
experimental: !0,
|
|
27823
27847
|
renderRules: {
|
|
27824
27848
|
bundles: [
|
|
@@ -27828,13 +27852,13 @@ const DP = /* @__PURE__ */ Pe({
|
|
|
27828
27852
|
"config.redis": ["config.policy", "redis"]
|
|
27829
27853
|
}
|
|
27830
27854
|
}
|
|
27831
|
-
}),
|
|
27855
|
+
}), NR = De({
|
|
27832
27856
|
experimental: !0
|
|
27833
|
-
}),
|
|
27857
|
+
}), RR = "__request_callout_";
|
|
27834
27858
|
function Lm() {
|
|
27835
|
-
return jr(
|
|
27859
|
+
return jr(RR);
|
|
27836
27860
|
}
|
|
27837
|
-
const ua = "_callout_id",
|
|
27861
|
+
const ua = "_callout_id", MR = /* @__PURE__ */ Pe({
|
|
27838
27862
|
__name: "CalloutForm",
|
|
27839
27863
|
props: {
|
|
27840
27864
|
index: {},
|
|
@@ -27883,7 +27907,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
27883
27907
|
_: 1
|
|
27884
27908
|
}, 8, ["name"]));
|
|
27885
27909
|
}
|
|
27886
|
-
}),
|
|
27910
|
+
}), LR = /* @__PURE__ */ Pe({
|
|
27887
27911
|
__name: "CalloutsForm",
|
|
27888
27912
|
setup(e) {
|
|
27889
27913
|
const { formData: t } = gt();
|
|
@@ -27891,7 +27915,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
27891
27915
|
const i = t.config.callouts[t.config.callouts.length - 1];
|
|
27892
27916
|
i && (i[ua] = Lm());
|
|
27893
27917
|
}
|
|
27894
|
-
return (i, o) => (S(), Z(
|
|
27918
|
+
return (i, o) => (S(), Z(Tt, {
|
|
27895
27919
|
appearance: "tabs",
|
|
27896
27920
|
"item-label": (r) => r.name || "New callout",
|
|
27897
27921
|
name: "callouts",
|
|
@@ -27900,7 +27924,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
27900
27924
|
onAdd: n
|
|
27901
27925
|
}, {
|
|
27902
27926
|
item: N(({ index: r, fieldName: a }) => [
|
|
27903
|
-
C(
|
|
27927
|
+
C(MR, {
|
|
27904
27928
|
"field-name": a,
|
|
27905
27929
|
index: r
|
|
27906
27930
|
}, null, 8, ["field-name", "index"])
|
|
@@ -27908,7 +27932,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
27908
27932
|
_: 1
|
|
27909
27933
|
}, 8, ["item-label"]));
|
|
27910
27934
|
}
|
|
27911
|
-
}),
|
|
27935
|
+
}), FR = /* @__PURE__ */ Pe({
|
|
27912
27936
|
__name: "ConfigForm",
|
|
27913
27937
|
setup(e) {
|
|
27914
27938
|
return (t, n) => (S(), Z(Gt, {
|
|
@@ -27917,7 +27941,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
27917
27941
|
"reset-label-path": "reset"
|
|
27918
27942
|
}, {
|
|
27919
27943
|
default: N(() => [
|
|
27920
|
-
C(
|
|
27944
|
+
C(LR),
|
|
27921
27945
|
C(Gt, {
|
|
27922
27946
|
appearance: "card",
|
|
27923
27947
|
"fields-order": ["headers", "query", "body", "by_lua"],
|
|
@@ -27958,7 +27982,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
27958
27982
|
_: 1
|
|
27959
27983
|
}));
|
|
27960
27984
|
}
|
|
27961
|
-
}),
|
|
27985
|
+
}), KR = /* @__PURE__ */ Pe({
|
|
27962
27986
|
__name: "RequestCalloutForm",
|
|
27963
27987
|
props: {
|
|
27964
27988
|
schema: {},
|
|
@@ -28044,33 +28068,33 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28044
28068
|
match: ({ path: f }) => ["cluster_nodes", "sentinel_nodes"].some((c) => f.endsWith(c))
|
|
28045
28069
|
}, {
|
|
28046
28070
|
default: N((f) => [
|
|
28047
|
-
C(
|
|
28071
|
+
C(Tt, We(f, { appearance: "card" }), null, 16)
|
|
28048
28072
|
]),
|
|
28049
28073
|
_: 1
|
|
28050
28074
|
}, 8, ["match"])
|
|
28051
28075
|
]),
|
|
28052
28076
|
default: N(() => [
|
|
28053
|
-
C(
|
|
28077
|
+
C(FR)
|
|
28054
28078
|
]),
|
|
28055
28079
|
_: 1
|
|
28056
28080
|
}, 16));
|
|
28057
28081
|
}
|
|
28058
|
-
}),
|
|
28059
|
-
component:
|
|
28060
|
-
}),
|
|
28082
|
+
}), jR = /* @__PURE__ */ ze(KR, [["__scopeId", "data-v-dc955662"]]), DR = De({
|
|
28083
|
+
component: jR
|
|
28084
|
+
}), qR = De({
|
|
28061
28085
|
experimental: !0
|
|
28062
|
-
}),
|
|
28086
|
+
}), BR = De({
|
|
28063
28087
|
experimental: !0
|
|
28064
|
-
}),
|
|
28088
|
+
}), UR = De({
|
|
28065
28089
|
experimental: !0
|
|
28066
|
-
}),
|
|
28090
|
+
}), VR = De({
|
|
28067
28091
|
experimental: !0
|
|
28068
|
-
}),
|
|
28092
|
+
}), zR = De({
|
|
28069
28093
|
experimental: !0,
|
|
28070
28094
|
fieldRenderers: [
|
|
28071
28095
|
{
|
|
28072
28096
|
match: "config.parameter_schema",
|
|
28073
|
-
component:
|
|
28097
|
+
component: Tt,
|
|
28074
28098
|
propsOverrides: {
|
|
28075
28099
|
appearance: "tabs",
|
|
28076
28100
|
itemLabel: (e, t) => `#${t + 1} Parameter schema`
|
|
@@ -28093,7 +28117,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28093
28117
|
}
|
|
28094
28118
|
}
|
|
28095
28119
|
]
|
|
28096
|
-
}),
|
|
28120
|
+
}), GR = De({
|
|
28097
28121
|
experimental: !0,
|
|
28098
28122
|
renderRules: {
|
|
28099
28123
|
bundles: [
|
|
@@ -28103,7 +28127,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28103
28127
|
"config.redis": ["config.policy", "redis"]
|
|
28104
28128
|
}
|
|
28105
28129
|
}
|
|
28106
|
-
}),
|
|
28130
|
+
}), HR = De({
|
|
28107
28131
|
experimental: !0,
|
|
28108
28132
|
fieldRenderers: [
|
|
28109
28133
|
{
|
|
@@ -28115,7 +28139,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28115
28139
|
}
|
|
28116
28140
|
}
|
|
28117
28141
|
]
|
|
28118
|
-
}),
|
|
28142
|
+
}), WR = De({
|
|
28119
28143
|
experimental: !0,
|
|
28120
28144
|
fieldRenderers: [
|
|
28121
28145
|
{
|
|
@@ -28127,26 +28151,26 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28127
28151
|
}
|
|
28128
28152
|
}
|
|
28129
28153
|
]
|
|
28130
|
-
}),
|
|
28154
|
+
}), YR = De({
|
|
28131
28155
|
experimental: !0,
|
|
28132
28156
|
fieldRenderers: [
|
|
28133
28157
|
{
|
|
28134
28158
|
match: "config.rules",
|
|
28135
|
-
component:
|
|
28159
|
+
component: Tt,
|
|
28136
28160
|
propsOverrides: {
|
|
28137
28161
|
appearance: "tabs",
|
|
28138
28162
|
itemLabel: (e, t) => `#${t + 1} Rule`
|
|
28139
28163
|
}
|
|
28140
28164
|
}
|
|
28141
28165
|
]
|
|
28142
|
-
}),
|
|
28166
|
+
}), JR = De({
|
|
28143
28167
|
experimental: !0
|
|
28144
|
-
}),
|
|
28168
|
+
}), XR = De({
|
|
28145
28169
|
experimental: !0
|
|
28146
|
-
}),
|
|
28170
|
+
}), ZR = { class: "sp-form-request-limits-subtitle" }, QR = { class: "sp-form-request-limits-content" }, e2 = { class: "sp-form-window-type" }, t2 = { class: "sp-form-request-limits-items" }, n2 = { class: "sp-form-request-limits-row" }, i2 = ["id"], o2 = { class: "sp-form-request-limits-actions" }, a2 = {
|
|
28147
28171
|
key: 0,
|
|
28148
28172
|
class: "sp-form-request-limits-examples"
|
|
28149
|
-
},
|
|
28173
|
+
}, r2 = { class: "sp-form-request-limits-examples-badges" }, Ss = "config.window_type", s2 = /* @__PURE__ */ Pe({
|
|
28150
28174
|
__name: "RequestLimitsForm",
|
|
28151
28175
|
setup(e) {
|
|
28152
28176
|
var _;
|
|
@@ -28244,11 +28268,11 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28244
28268
|
]),
|
|
28245
28269
|
_: 1
|
|
28246
28270
|
}),
|
|
28247
|
-
ee("div",
|
|
28271
|
+
ee("div", ZR, ue(u(t)("sp.request_limits.subtitle")), 1)
|
|
28248
28272
|
]),
|
|
28249
28273
|
default: N(() => [
|
|
28250
|
-
ee("div",
|
|
28251
|
-
ee("div",
|
|
28274
|
+
ee("div", QR, [
|
|
28275
|
+
ee("div", e2, [
|
|
28252
28276
|
C(pu, {
|
|
28253
28277
|
items: c.value,
|
|
28254
28278
|
label: u(t)("sp.window_type.label"),
|
|
@@ -28256,7 +28280,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28256
28280
|
"onUpdate:modelValue": b[0] || (b[0] = (O) => p.value = void 0)
|
|
28257
28281
|
}, null, 8, ["items", "label"])
|
|
28258
28282
|
]),
|
|
28259
|
-
ee("div",
|
|
28283
|
+
ee("div", t2, [
|
|
28260
28284
|
(S(!0), le(Ge, null, et(r.value, (O, q) => (S(), le("div", {
|
|
28261
28285
|
key: u(a)(O, q)
|
|
28262
28286
|
}, [
|
|
@@ -28268,7 +28292,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28268
28292
|
]),
|
|
28269
28293
|
_: 2
|
|
28270
28294
|
}, 1032, ["for"]),
|
|
28271
|
-
ee("div",
|
|
28295
|
+
ee("div", n2, [
|
|
28272
28296
|
ee("legend", {
|
|
28273
28297
|
id: `sp-form-request-limits-item-${q}-legend`,
|
|
28274
28298
|
class: "sp-form-request-limits-inputs"
|
|
@@ -28283,8 +28307,8 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28283
28307
|
placeholder: u(t)("sp.request_limits.time_interval")
|
|
28284
28308
|
}, null, 8, ["name", "placeholder"]),
|
|
28285
28309
|
ee("div", null, ue(u(t)("sp.request_limits.seconds")), 1)
|
|
28286
|
-
], 8,
|
|
28287
|
-
ee("div",
|
|
28310
|
+
], 8, i2),
|
|
28311
|
+
ee("div", o2, [
|
|
28288
28312
|
C(E, {
|
|
28289
28313
|
appearance: "tertiary",
|
|
28290
28314
|
disabled: r.value.length <= 1,
|
|
@@ -28308,9 +28332,9 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28308
28332
|
])
|
|
28309
28333
|
]))), 128))
|
|
28310
28334
|
]),
|
|
28311
|
-
h.value.length > 0 ? (S(), le("div",
|
|
28335
|
+
h.value.length > 0 ? (S(), le("div", a2, [
|
|
28312
28336
|
ee("div", null, ue(u(t)("sp.start_with_a_use_case")), 1),
|
|
28313
|
-
ee("div",
|
|
28337
|
+
ee("div", r2, [
|
|
28314
28338
|
(S(!0), le(Ge, null, et(h.value, (O, q) => (S(), Z(w, {
|
|
28315
28339
|
key: `use-case-${q}`,
|
|
28316
28340
|
"max-width": "300"
|
|
@@ -28343,10 +28367,10 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28343
28367
|
});
|
|
28344
28368
|
};
|
|
28345
28369
|
}
|
|
28346
|
-
}),
|
|
28370
|
+
}), l2 = /* @__PURE__ */ ze(s2, [["__scopeId", "data-v-e12d9c9f"]]), u2 = {
|
|
28347
28371
|
id: "sp-form-error-legend",
|
|
28348
28372
|
class: "sp-form-error-inputs"
|
|
28349
|
-
},
|
|
28373
|
+
}, c2 = /* @__PURE__ */ Pe({
|
|
28350
28374
|
__name: "ErrorMessageForm",
|
|
28351
28375
|
setup(e) {
|
|
28352
28376
|
const { t } = Jt("en-us", on);
|
|
@@ -28367,7 +28391,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28367
28391
|
]),
|
|
28368
28392
|
_: 1
|
|
28369
28393
|
}, 8, ["info"]),
|
|
28370
|
-
ee("legend",
|
|
28394
|
+
ee("legend", u2, [
|
|
28371
28395
|
C(Yt, {
|
|
28372
28396
|
class: "input-error-code",
|
|
28373
28397
|
label: "",
|
|
@@ -28385,7 +28409,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28385
28409
|
]);
|
|
28386
28410
|
};
|
|
28387
28411
|
}
|
|
28388
|
-
}),
|
|
28412
|
+
}), d2 = /* @__PURE__ */ ze(c2, [["__scopeId", "data-v-0796e152"]]), p2 = /* @__PURE__ */ Pe({
|
|
28389
28413
|
__name: "RedisField",
|
|
28390
28414
|
setup(e) {
|
|
28391
28415
|
const { formData: t } = gt(), n = pt(Jn), i = pt(Bo), o = (i == null ? void 0 : i.isEditing) || !1, r = L(() => {
|
|
@@ -28408,7 +28432,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28408
28432
|
_: 1
|
|
28409
28433
|
}));
|
|
28410
28434
|
}
|
|
28411
|
-
}),
|
|
28435
|
+
}), f2 = /* @__PURE__ */ Pe({
|
|
28412
28436
|
__name: "ConfigForm",
|
|
28413
28437
|
setup(e) {
|
|
28414
28438
|
return (t, n) => (S(), le(Ge, null, [
|
|
@@ -28418,8 +28442,8 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28418
28442
|
"reset-label-path": "reset"
|
|
28419
28443
|
}, {
|
|
28420
28444
|
default: N(() => [
|
|
28421
|
-
C(
|
|
28422
|
-
C(
|
|
28445
|
+
C(l2),
|
|
28446
|
+
C(d2)
|
|
28423
28447
|
]),
|
|
28424
28448
|
_: 1
|
|
28425
28449
|
}),
|
|
@@ -28428,7 +28452,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28428
28452
|
C(st, { name: "config.dictionary_name" }),
|
|
28429
28453
|
C(st, { name: "config.lock_dictionary_name" }),
|
|
28430
28454
|
C(st, { name: "config.strategy" }),
|
|
28431
|
-
C(
|
|
28455
|
+
C(p2),
|
|
28432
28456
|
C(st, { name: "config.namespace" }),
|
|
28433
28457
|
C(st, { name: "config.hide_client_headers" }),
|
|
28434
28458
|
C(st, { name: "config.disable_penalty" }),
|
|
@@ -28439,7 +28463,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28439
28463
|
})
|
|
28440
28464
|
], 64));
|
|
28441
28465
|
}
|
|
28442
|
-
}),
|
|
28466
|
+
}), m2 = /* @__PURE__ */ Pe({
|
|
28443
28467
|
__name: "ServiceProtectionForm",
|
|
28444
28468
|
props: {
|
|
28445
28469
|
schema: {},
|
|
@@ -28469,17 +28493,17 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28469
28493
|
}
|
|
28470
28494
|
return (o, r) => (S(), Z(ui, We(t, { "on-form-change": i }), {
|
|
28471
28495
|
default: N(() => [
|
|
28472
|
-
C(
|
|
28496
|
+
C(f2)
|
|
28473
28497
|
]),
|
|
28474
28498
|
_: 1
|
|
28475
28499
|
}, 16));
|
|
28476
28500
|
}
|
|
28477
|
-
}),
|
|
28501
|
+
}), g2 = De({
|
|
28478
28502
|
experimental: !0,
|
|
28479
|
-
component:
|
|
28480
|
-
}),
|
|
28503
|
+
component: m2
|
|
28504
|
+
}), h2 = De({
|
|
28481
28505
|
experimental: !0
|
|
28482
|
-
}),
|
|
28506
|
+
}), y2 = De({
|
|
28483
28507
|
experimental: !0,
|
|
28484
28508
|
fieldRenderers: [
|
|
28485
28509
|
{
|
|
@@ -28491,7 +28515,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28491
28515
|
}
|
|
28492
28516
|
}
|
|
28493
28517
|
]
|
|
28494
|
-
}),
|
|
28518
|
+
}), v2 = De({
|
|
28495
28519
|
experimental: !0,
|
|
28496
28520
|
fieldRenderers: [
|
|
28497
28521
|
{
|
|
@@ -28502,7 +28526,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28502
28526
|
}
|
|
28503
28527
|
}
|
|
28504
28528
|
]
|
|
28505
|
-
}),
|
|
28529
|
+
}), _2 = De({
|
|
28506
28530
|
experimental: !0,
|
|
28507
28531
|
fieldRenderers: [
|
|
28508
28532
|
{
|
|
@@ -28514,21 +28538,21 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28514
28538
|
}
|
|
28515
28539
|
}
|
|
28516
28540
|
]
|
|
28517
|
-
}),
|
|
28541
|
+
}), b2 = De({
|
|
28518
28542
|
experimental: !0
|
|
28519
|
-
}),
|
|
28543
|
+
}), w2 = De({
|
|
28520
28544
|
experimental: !0,
|
|
28521
28545
|
fieldRenderers: [
|
|
28522
28546
|
{
|
|
28523
28547
|
match: "config.metrics",
|
|
28524
|
-
component:
|
|
28548
|
+
component: Tt,
|
|
28525
28549
|
propsOverrides: {
|
|
28526
28550
|
appearance: "tabs",
|
|
28527
28551
|
itemLabel: (e, t) => `#${t + 1} Metric`
|
|
28528
28552
|
}
|
|
28529
28553
|
}
|
|
28530
28554
|
]
|
|
28531
|
-
}),
|
|
28555
|
+
}), k2 = De({
|
|
28532
28556
|
experimental: !0,
|
|
28533
28557
|
fieldRenderers: [
|
|
28534
28558
|
{
|
|
@@ -28539,7 +28563,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28539
28563
|
}
|
|
28540
28564
|
}
|
|
28541
28565
|
]
|
|
28542
|
-
}),
|
|
28566
|
+
}), C2 = De({
|
|
28543
28567
|
experimental: !0,
|
|
28544
28568
|
fieldRenderers: [
|
|
28545
28569
|
{
|
|
@@ -28550,11 +28574,11 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28550
28574
|
}
|
|
28551
28575
|
}
|
|
28552
28576
|
]
|
|
28553
|
-
}),
|
|
28577
|
+
}), E2 = De({
|
|
28554
28578
|
experimental: !0
|
|
28555
|
-
}),
|
|
28579
|
+
}), x2 = De({
|
|
28556
28580
|
experimental: !0
|
|
28557
|
-
}),
|
|
28581
|
+
}), S2 = De({
|
|
28558
28582
|
experimental: !0,
|
|
28559
28583
|
fieldRenderers: [
|
|
28560
28584
|
{
|
|
@@ -28565,7 +28589,7 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28565
28589
|
}
|
|
28566
28590
|
}
|
|
28567
28591
|
]
|
|
28568
|
-
}),
|
|
28592
|
+
}), A2 = De({
|
|
28569
28593
|
experimental: !0,
|
|
28570
28594
|
renderRules: {
|
|
28571
28595
|
bundles: [
|
|
@@ -28585,13 +28609,13 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28585
28609
|
}
|
|
28586
28610
|
}
|
|
28587
28611
|
]
|
|
28588
|
-
}),
|
|
28612
|
+
}), I2 = De({
|
|
28589
28613
|
experimental: !0
|
|
28590
|
-
}),
|
|
28614
|
+
}), T2 = De({
|
|
28591
28615
|
experimental: !0
|
|
28592
|
-
}),
|
|
28616
|
+
}), $2 = De({
|
|
28593
28617
|
experimental: !0
|
|
28594
|
-
}),
|
|
28618
|
+
}), O2 = De({
|
|
28595
28619
|
experimental: !0,
|
|
28596
28620
|
fieldRenderers: [
|
|
28597
28621
|
{
|
|
@@ -28603,21 +28627,21 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28603
28627
|
}
|
|
28604
28628
|
}
|
|
28605
28629
|
]
|
|
28606
|
-
}),
|
|
28630
|
+
}), P2 = De({
|
|
28607
28631
|
experimental: !0
|
|
28608
|
-
}),
|
|
28632
|
+
}), N2 = De({
|
|
28609
28633
|
experimental: !0,
|
|
28610
28634
|
fieldRenderers: [
|
|
28611
28635
|
{
|
|
28612
28636
|
match: "config.static_tags",
|
|
28613
|
-
component:
|
|
28637
|
+
component: Tt,
|
|
28614
28638
|
propsOverrides: {
|
|
28615
28639
|
appearance: "tabs",
|
|
28616
28640
|
itemLabel: (e, t) => `#${t + 1} Tag`
|
|
28617
28641
|
}
|
|
28618
28642
|
}
|
|
28619
28643
|
]
|
|
28620
|
-
}),
|
|
28644
|
+
}), R2 = /* @__PURE__ */ Object.assign({
|
|
28621
28645
|
"../plugins/ace.ts": xI,
|
|
28622
28646
|
"../plugins/acl/index.ts": $I,
|
|
28623
28647
|
"../plugins/acme.ts": OI,
|
|
@@ -28644,87 +28668,90 @@ const ua = "_callout_id", PR = /* @__PURE__ */ Pe({
|
|
|
28644
28668
|
"../plugins/cors.ts": fT,
|
|
28645
28669
|
"../plugins/datadog.ts": mT,
|
|
28646
28670
|
"../plugins/datakit/index.ts": hN,
|
|
28647
|
-
"../plugins/
|
|
28648
|
-
"../plugins/
|
|
28649
|
-
"../plugins/
|
|
28650
|
-
"../plugins/
|
|
28651
|
-
"../plugins/graphql-
|
|
28652
|
-
"../plugins/
|
|
28653
|
-
"../plugins/
|
|
28654
|
-
"../plugins/
|
|
28655
|
-
"../plugins/
|
|
28656
|
-
"../plugins/
|
|
28657
|
-
"../plugins/
|
|
28658
|
-
"../plugins/
|
|
28659
|
-
"../plugins/
|
|
28660
|
-
"../plugins/
|
|
28661
|
-
"../plugins/
|
|
28662
|
-
"../plugins/
|
|
28663
|
-
"../plugins/
|
|
28664
|
-
"../plugins/
|
|
28665
|
-
"../plugins/
|
|
28666
|
-
"../plugins/
|
|
28667
|
-
"../plugins/
|
|
28668
|
-
"../plugins/
|
|
28669
|
-
"../plugins/
|
|
28670
|
-
"../plugins/
|
|
28671
|
-
"../plugins/
|
|
28672
|
-
"../plugins/
|
|
28673
|
-
"../plugins/
|
|
28674
|
-
"../plugins/
|
|
28675
|
-
"../plugins/
|
|
28676
|
-
"../plugins/
|
|
28677
|
-
"../plugins/
|
|
28678
|
-
"../plugins/
|
|
28679
|
-
"../plugins/
|
|
28680
|
-
"../plugins/
|
|
28681
|
-
"../plugins/
|
|
28682
|
-
"../plugins/
|
|
28683
|
-
"../plugins/
|
|
28684
|
-
"../plugins/
|
|
28685
|
-
"../plugins/
|
|
28686
|
-
"../plugins/
|
|
28687
|
-
"../plugins/
|
|
28688
|
-
"../plugins/request-
|
|
28689
|
-
"../plugins/request-
|
|
28690
|
-
"../plugins/request-
|
|
28691
|
-
"../plugins/
|
|
28692
|
-
"../plugins/
|
|
28693
|
-
"../plugins/
|
|
28694
|
-
"../plugins/
|
|
28695
|
-
"../plugins/
|
|
28696
|
-
"../plugins/
|
|
28697
|
-
"../plugins/
|
|
28698
|
-
"../plugins/
|
|
28699
|
-
"../plugins/
|
|
28700
|
-
"../plugins/
|
|
28701
|
-
"../plugins/
|
|
28702
|
-
"../plugins/
|
|
28703
|
-
"../plugins/
|
|
28704
|
-
"../plugins/
|
|
28705
|
-
"../plugins/
|
|
28706
|
-
"../plugins/
|
|
28707
|
-
"../plugins/
|
|
28708
|
-
"../plugins/
|
|
28709
|
-
"../plugins/
|
|
28710
|
-
"../plugins/
|
|
28711
|
-
"../plugins/
|
|
28712
|
-
"../plugins/
|
|
28713
|
-
"../plugins/
|
|
28714
|
-
"../plugins/
|
|
28715
|
-
"../plugins/
|
|
28671
|
+
"../plugins/degraphql.ts": yN,
|
|
28672
|
+
"../plugins/exit-transformer.ts": vN,
|
|
28673
|
+
"../plugins/file-log.ts": _N,
|
|
28674
|
+
"../plugins/forward-proxy.ts": bN,
|
|
28675
|
+
"../plugins/graphql-proxy-cache-advanced.ts": wN,
|
|
28676
|
+
"../plugins/graphql-rate-limiting-advanced.ts": kN,
|
|
28677
|
+
"../plugins/grpc-gateway.ts": CN,
|
|
28678
|
+
"../plugins/grpc-web.ts": EN,
|
|
28679
|
+
"../plugins/header-cert-auth.ts": xN,
|
|
28680
|
+
"../plugins/hmac-auth.ts": SN,
|
|
28681
|
+
"../plugins/http-log.ts": AN,
|
|
28682
|
+
"../plugins/injection-protection.ts": IN,
|
|
28683
|
+
"../plugins/ip-restriction.ts": TN,
|
|
28684
|
+
"../plugins/json-threat-protection.ts": $N,
|
|
28685
|
+
"../plugins/jwe-decrypt.ts": ON,
|
|
28686
|
+
"../plugins/jwt-signer/index.ts": NN,
|
|
28687
|
+
"../plugins/jwt.ts": RN,
|
|
28688
|
+
"../plugins/kafka-consume.ts": MN,
|
|
28689
|
+
"../plugins/kafka-log.ts": LN,
|
|
28690
|
+
"../plugins/kafka-upstream.ts": FN,
|
|
28691
|
+
"../plugins/key-auth-enc.ts": KN,
|
|
28692
|
+
"../plugins/key-auth/index.ts": jN,
|
|
28693
|
+
"../plugins/ldap-auth-advanced.ts": DN,
|
|
28694
|
+
"../plugins/ldap-auth.ts": qN,
|
|
28695
|
+
"../plugins/loggly.ts": BN,
|
|
28696
|
+
"../plugins/metering-and-billing/index.ts": tR,
|
|
28697
|
+
"../plugins/mocking.ts": nR,
|
|
28698
|
+
"../plugins/mtls-auth.ts": iR,
|
|
28699
|
+
"../plugins/oas-validation.ts": oR,
|
|
28700
|
+
"../plugins/oauth2-introspection.ts": aR,
|
|
28701
|
+
"../plugins/oauth2.ts": rR,
|
|
28702
|
+
"../plugins/opa.ts": sR,
|
|
28703
|
+
"../plugins/opentelemetry.ts": lR,
|
|
28704
|
+
"../plugins/post-function.ts": uR,
|
|
28705
|
+
"../plugins/pre-function.ts": cR,
|
|
28706
|
+
"../plugins/prometheus.ts": dR,
|
|
28707
|
+
"../plugins/proxy-cache-advanced.ts": pR,
|
|
28708
|
+
"../plugins/proxy-cache.ts": fR,
|
|
28709
|
+
"../plugins/rate-limiting-advanced/index.ts": OR,
|
|
28710
|
+
"../plugins/rate-limiting.ts": PR,
|
|
28711
|
+
"../plugins/redirect.ts": NR,
|
|
28712
|
+
"../plugins/request-callout/index.ts": DR,
|
|
28713
|
+
"../plugins/request-size-limiting.ts": qR,
|
|
28714
|
+
"../plugins/request-termination.ts": BR,
|
|
28715
|
+
"../plugins/request-transformer-advanced.ts": UR,
|
|
28716
|
+
"../plugins/request-transformer.ts": VR,
|
|
28717
|
+
"../plugins/request-validator.ts": zR,
|
|
28718
|
+
"../plugins/response-ratelimiting.ts": GR,
|
|
28719
|
+
"../plugins/response-transformer-advanced.ts": HR,
|
|
28720
|
+
"../plugins/response-transformer.ts": WR,
|
|
28721
|
+
"../plugins/route-by-header.ts": YR,
|
|
28722
|
+
"../plugins/route-transformer-advanced.ts": JR,
|
|
28723
|
+
"../plugins/saml.ts": XR,
|
|
28724
|
+
"../plugins/service-protection/index.ts": g2,
|
|
28725
|
+
"../plugins/session.ts": h2,
|
|
28726
|
+
"../plugins/solace-consume.ts": y2,
|
|
28727
|
+
"../plugins/solace-log.ts": v2,
|
|
28728
|
+
"../plugins/solace-upstream.ts": _2,
|
|
28729
|
+
"../plugins/standard-webhooks.ts": b2,
|
|
28730
|
+
"../plugins/statsd.ts": w2,
|
|
28731
|
+
"../plugins/syslog.ts": k2,
|
|
28732
|
+
"../plugins/tcp-log.ts": C2,
|
|
28733
|
+
"../plugins/tls-handshake-modifier.ts": E2,
|
|
28734
|
+
"../plugins/tls-metadata-headers.ts": x2,
|
|
28735
|
+
"../plugins/udp-log.ts": S2,
|
|
28736
|
+
"../plugins/upstream-oauth.ts": A2,
|
|
28737
|
+
"../plugins/upstream-timeout.ts": I2,
|
|
28738
|
+
"../plugins/vault-auth.ts": T2,
|
|
28739
|
+
"../plugins/websocket-size-limit.ts": $2,
|
|
28740
|
+
"../plugins/websocket-validator.ts": O2,
|
|
28741
|
+
"../plugins/xml-threat-protection.ts": P2,
|
|
28742
|
+
"../plugins/zipkin.ts": N2
|
|
28716
28743
|
});
|
|
28717
|
-
function
|
|
28744
|
+
function M2(e) {
|
|
28718
28745
|
const t = e.match(/\.\.\/plugins\/(.+?)(?:\/index)?\.ts$/);
|
|
28719
28746
|
if (!t)
|
|
28720
28747
|
throw new Error(`Unable to derive plugin name from path: ${e}`);
|
|
28721
28748
|
const [, n] = t;
|
|
28722
28749
|
return n;
|
|
28723
28750
|
}
|
|
28724
|
-
function
|
|
28751
|
+
function L2(e) {
|
|
28725
28752
|
const t = {}, n = /* @__PURE__ */ new Map();
|
|
28726
28753
|
for (const [i, o] of Object.entries(e)) {
|
|
28727
|
-
const r =
|
|
28754
|
+
const r = M2(i);
|
|
28728
28755
|
if (n.has(r))
|
|
28729
28756
|
throw new Error(`Duplicate plugin config for "${r}": ${n.get(r)} and ${i}`);
|
|
28730
28757
|
n.set(r, i), t[r] = {
|
|
@@ -28736,7 +28763,7 @@ function N2(e) {
|
|
|
28736
28763
|
}
|
|
28737
28764
|
return t;
|
|
28738
28765
|
}
|
|
28739
|
-
const Fm =
|
|
28766
|
+
const Fm = L2(R2);
|
|
28740
28767
|
function Km(e) {
|
|
28741
28768
|
return Fm[e];
|
|
28742
28769
|
}
|
|
@@ -28748,22 +28775,22 @@ function jm(e, t) {
|
|
|
28748
28775
|
function Dm(e, t, n) {
|
|
28749
28776
|
return n === "freeform" ? !0 : n === "vfg" ? !1 : !!jm(e, t);
|
|
28750
28777
|
}
|
|
28751
|
-
function
|
|
28778
|
+
function F2() {
|
|
28752
28779
|
return Object.entries(Fm).filter(([, e]) => e.experimental).map(([e]) => e).sort((e, t) => e.localeCompare(t));
|
|
28753
28780
|
}
|
|
28754
28781
|
function mu() {
|
|
28755
28782
|
return pt($p, []);
|
|
28756
28783
|
}
|
|
28757
|
-
function
|
|
28758
|
-
const t = new Set(
|
|
28784
|
+
function K2(e) {
|
|
28785
|
+
const t = new Set(F2()), n = e.filter((o) => t.has(o)), i = e.filter((o) => !t.has(o));
|
|
28759
28786
|
return i.length > 0 && console.warn(
|
|
28760
28787
|
`[entities-plugins] Ignoring unknown experimental free-form plugins: ${i.join(", ")}`
|
|
28761
28788
|
), n;
|
|
28762
28789
|
}
|
|
28763
|
-
function
|
|
28764
|
-
Kt($p,
|
|
28790
|
+
function j2(e) {
|
|
28791
|
+
Kt($p, K2(e));
|
|
28765
28792
|
}
|
|
28766
|
-
function
|
|
28793
|
+
function D2() {
|
|
28767
28794
|
const e = mu();
|
|
28768
28795
|
return {
|
|
28769
28796
|
shouldUseFreeForm: (t, n) => Dm(t, e, n),
|
|
@@ -28845,11 +28872,11 @@ const Bm = (e) => {
|
|
|
28845
28872
|
e.protected_resource_metadata = null;
|
|
28846
28873
|
return;
|
|
28847
28874
|
}
|
|
28848
|
-
},
|
|
28875
|
+
}, q2 = {
|
|
28849
28876
|
shamefullyTransformPayload(e) {
|
|
28850
28877
|
return qm(e.payload.config), Bm(e.payload.config), Um(e.payload.config), e;
|
|
28851
28878
|
}
|
|
28852
|
-
},
|
|
28879
|
+
}, B2 = {
|
|
28853
28880
|
shamefullyTransformPayload(e) {
|
|
28854
28881
|
var t, n, i, o, r;
|
|
28855
28882
|
if (!((n = (t = e.payload.config) == null ? void 0 : t.access_logs) != null && n.custom_attributes_by_lua))
|
|
@@ -28860,7 +28887,7 @@ const Bm = (e) => {
|
|
|
28860
28887
|
}
|
|
28861
28888
|
return e;
|
|
28862
28889
|
}
|
|
28863
|
-
},
|
|
28890
|
+
}, U2 = {
|
|
28864
28891
|
shamefullyTransformPayload(e) {
|
|
28865
28892
|
var n, i;
|
|
28866
28893
|
const t = (i = (n = e.payload.config) == null ? void 0 : n.v2_strategies) == null ? void 0 : i.openid_connect;
|
|
@@ -28868,7 +28895,7 @@ const Bm = (e) => {
|
|
|
28868
28895
|
qm(o.config), Bm(o.config), Um(o.config);
|
|
28869
28896
|
}), e;
|
|
28870
28897
|
}
|
|
28871
|
-
},
|
|
28898
|
+
}, V2 = {
|
|
28872
28899
|
shamefullyTransformPayload(e) {
|
|
28873
28900
|
var n;
|
|
28874
28901
|
return !e.payload.config || !((n = e.payload.config) != null && n.token_exchange) || [
|
|
@@ -28893,10 +28920,10 @@ const Bm = (e) => {
|
|
|
28893
28920
|
return tn((o = e.payload.config) == null ? void 0 : o.token_exchange, i);
|
|
28894
28921
|
}) && (e.payload.config.token_exchange = null), e;
|
|
28895
28922
|
}
|
|
28896
|
-
},
|
|
28923
|
+
}, z2 = (e, t) => {
|
|
28897
28924
|
const n = e.model.startsWith("config-"), i = t.model.startsWith("config-");
|
|
28898
28925
|
return n && !i ? 1 : !n && i ? -1 : 0;
|
|
28899
|
-
}, Vm = (e, t) => (e.order ?? 0) - (t.order ?? 0), Wc = (e, t) =>
|
|
28926
|
+
}, Vm = (e, t) => (e.order ?? 0) - (t.order ?? 0), Wc = (e, t) => z2(e, t) || Vm(e, t) || e.model.localeCompare(t.model), G2 = (e) => {
|
|
28900
28927
|
const { capitalize: t } = fl(), { convertToDotNotation: n } = Hp(), { i18n: { t: i } } = it(), o = mu(), r = {
|
|
28901
28928
|
"application-registration": {
|
|
28902
28929
|
overwriteDefault: !0,
|
|
@@ -29017,16 +29044,16 @@ const Bm = (e) => {
|
|
|
29017
29044
|
...FE
|
|
29018
29045
|
},
|
|
29019
29046
|
"openid-connect": {
|
|
29020
|
-
...
|
|
29047
|
+
...q2
|
|
29021
29048
|
},
|
|
29022
29049
|
opentelemetry: {
|
|
29023
|
-
...
|
|
29050
|
+
...B2
|
|
29024
29051
|
},
|
|
29025
29052
|
"konnect-application-auth": {
|
|
29026
|
-
...
|
|
29053
|
+
...U2
|
|
29027
29054
|
},
|
|
29028
29055
|
"ai-mcp-oauth2": {
|
|
29029
|
-
...
|
|
29056
|
+
...V2
|
|
29030
29057
|
}
|
|
29031
29058
|
}, a = () => ["created_at", "updated_at", "id", "_isCustomPlugin", "_sourcePlugin", "_supported_redis_partial_type", "_redis_partial_path"], l = (w, T, O, q) => {
|
|
29032
29059
|
let A = {};
|
|
@@ -29251,20 +29278,20 @@ const Bm = (e) => {
|
|
|
29251
29278
|
typedefs: Co,
|
|
29252
29279
|
pruneRecord: k
|
|
29253
29280
|
};
|
|
29254
|
-
}, tr = Symbol("customPluginType"),
|
|
29281
|
+
}, tr = Symbol("customPluginType"), H2 = 1e3, W2 = 20, Yc = 5e3, Jc = (e, t = H2) => {
|
|
29255
29282
|
const n = /^[a-z][a-z\d+.-]*:/i.test(e), i = new URL(e, "http://localhost");
|
|
29256
29283
|
return i.searchParams.has("size") || i.searchParams.set("size", `${t}`), n ? i.toString() : `${i.pathname}${i.search}${i.hash}`;
|
|
29257
29284
|
}, Ir = async (e, t, n) => {
|
|
29258
29285
|
const i = [];
|
|
29259
29286
|
let o = Jc(t), r = null, a = 0;
|
|
29260
|
-
for (; o && a <
|
|
29287
|
+
for (; o && a < W2 && i.length < Yc && o !== r; ) {
|
|
29261
29288
|
r = o;
|
|
29262
29289
|
const s = (await e.get(o, { signal: n })).data;
|
|
29263
29290
|
Array.isArray(s == null ? void 0 : s.data) && i.push(...s.data), o = s != null && s.next ? Jc(s.next) : null, a += 1;
|
|
29264
29291
|
}
|
|
29265
29292
|
return i.slice(0, Yc);
|
|
29266
29293
|
};
|
|
29267
|
-
function
|
|
29294
|
+
function Y2(e) {
|
|
29268
29295
|
const { axiosInstance: t, apiBaseUrl: n } = e, i = () => {
|
|
29269
29296
|
if (e.app !== "konnect")
|
|
29270
29297
|
throw new Error("Installed custom plugin APIs are only available for Konnect");
|
|
@@ -29353,25 +29380,25 @@ const lt = {
|
|
|
29353
29380
|
useI18n: it,
|
|
29354
29381
|
usePluginMetaData: Yp,
|
|
29355
29382
|
usePluginHelpers: Hp,
|
|
29356
|
-
useSchemas:
|
|
29383
|
+
useSchemas: G2,
|
|
29357
29384
|
useExperimentalFreeForms: mu,
|
|
29358
|
-
useProvideExperimentalFreeForms:
|
|
29359
|
-
useFreeFormResolver:
|
|
29360
|
-
useCustomPluginApi:
|
|
29385
|
+
useProvideExperimentalFreeForms: j2,
|
|
29386
|
+
useFreeFormResolver: D2,
|
|
29387
|
+
useCustomPluginApi: Y2
|
|
29361
29388
|
}, zm = (e) => {
|
|
29362
29389
|
var n, i, o, r;
|
|
29363
29390
|
const t = e == null ? void 0 : e.response;
|
|
29364
29391
|
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");
|
|
29365
|
-
},
|
|
29392
|
+
}, J2 = { class: "kong-ui-entities-custom-plugin-form" }, X2 = { class: "plugin-type-radios" }, Z2 = { class: "compare-table-wrapper" }, Q2 = { class: "compare-table" }, eM = {
|
|
29366
29393
|
key: 0,
|
|
29367
29394
|
scope: "col"
|
|
29368
|
-
},
|
|
29395
|
+
}, tM = {
|
|
29369
29396
|
key: 1,
|
|
29370
29397
|
scope: "col"
|
|
29371
|
-
},
|
|
29398
|
+
}, nM = {
|
|
29372
29399
|
key: 2,
|
|
29373
29400
|
scope: "col"
|
|
29374
|
-
},
|
|
29401
|
+
}, iM = { scope: "row" }, oM = { key: 0 }, aM = { key: 1 }, rM = { key: 2 }, sM = { scope: "row" }, lM = { key: 0 }, uM = { class: "compare-list" }, cM = { key: 1 }, dM = { class: "compare-list" }, pM = { key: 2 }, fM = { scope: "row" }, mM = { key: 0 }, gM = { key: 1 }, hM = { key: 2 }, yM = { scope: "row" }, vM = { key: 0 }, _M = { key: 1 }, bM = { key: 2 }, wM = { scope: "row" }, kM = { key: 0 }, CM = { key: 1 }, EM = { key: 2 }, xM = { class: "plugin-modules-section" }, SM = { class: "plugin-select-item" }, AM = { class: "plugin-select-item" }, IM = { key: 1 }, TM = 1 * 1024 * 1024, $M = /* @__PURE__ */ Pe({
|
|
29375
29402
|
__name: "CustomPluginForm",
|
|
29376
29403
|
props: {
|
|
29377
29404
|
config: {
|
|
@@ -29539,7 +29566,7 @@ const lt = {
|
|
|
29539
29566
|
}), D = async (pe, he) => {
|
|
29540
29567
|
const Ke = he[0];
|
|
29541
29568
|
if (Ke) {
|
|
29542
|
-
if (Ke.size >
|
|
29569
|
+
if (Ke.size > TM) {
|
|
29543
29570
|
M.errorMessage = a("custom_plugin_form.errors.file_too_large");
|
|
29544
29571
|
return;
|
|
29545
29572
|
}
|
|
@@ -29624,7 +29651,7 @@ const lt = {
|
|
|
29624
29651
|
};
|
|
29625
29652
|
return (pe, he) => {
|
|
29626
29653
|
const Ke = xe("KSkeleton"), Ue = xe("KEmptyState"), je = xe("KRadio"), He = xe("KCollapse"), Ye = xe("KFileUpload"), rt = xe("KLabel"), ft = xe("KAlert"), Be = xe("KSelect"), Ce = xe("KInput"), se = xe("KButton");
|
|
29627
|
-
return S(), le("div",
|
|
29654
|
+
return S(), le("div", J2, [
|
|
29628
29655
|
C(u(md), {
|
|
29629
29656
|
ref_key: "entityBaseFormRef",
|
|
29630
29657
|
ref: x,
|
|
@@ -29641,7 +29668,7 @@ const lt = {
|
|
|
29641
29668
|
onSubmit: we
|
|
29642
29669
|
}, {
|
|
29643
29670
|
"form-actions": N(() => [
|
|
29644
|
-
A.value || I.value || j.value ? (S(), le("span",
|
|
29671
|
+
A.value || I.value || j.value ? (S(), le("span", IM)) : (S(), le(Ge, { key: 0 }, [
|
|
29645
29672
|
C(se, {
|
|
29646
29673
|
appearance: "primary",
|
|
29647
29674
|
"data-testid": "custom-plugin-form-submit",
|
|
@@ -29711,7 +29738,7 @@ const lt = {
|
|
|
29711
29738
|
title: u(a)("custom_plugin_form.step1.title")
|
|
29712
29739
|
}, {
|
|
29713
29740
|
default: N(() => [
|
|
29714
|
-
ee("div",
|
|
29741
|
+
ee("div", X2, [
|
|
29715
29742
|
oe("installed") ? (S(), Z(je, {
|
|
29716
29743
|
key: 0,
|
|
29717
29744
|
modelValue: M.fields.pluginType,
|
|
@@ -29755,39 +29782,39 @@ const lt = {
|
|
|
29755
29782
|
"trigger-label": u(a)("custom_plugin_form.step1.compare_trigger")
|
|
29756
29783
|
}, {
|
|
29757
29784
|
default: N(() => [
|
|
29758
|
-
ee("div",
|
|
29759
|
-
ee("table",
|
|
29785
|
+
ee("div", Z2, [
|
|
29786
|
+
ee("table", Q2, [
|
|
29760
29787
|
ee("thead", null, [
|
|
29761
29788
|
ee("tr", null, [
|
|
29762
29789
|
he[15] || (he[15] = ee("th", { scope: "col" }, null, -1)),
|
|
29763
|
-
oe("installed") ? (S(), le("th",
|
|
29764
|
-
oe("streamed") ? (S(), le("th",
|
|
29765
|
-
oe("cloned") ? (S(), le("th",
|
|
29790
|
+
oe("installed") ? (S(), le("th", eM, ue(u(a)("custom_plugin_form.step1.compare_table.columns.installed")), 1)) : ye("", !0),
|
|
29791
|
+
oe("streamed") ? (S(), le("th", tM, ue(u(a)("custom_plugin_form.step1.compare_table.columns.streamed")), 1)) : ye("", !0),
|
|
29792
|
+
oe("cloned") ? (S(), le("th", nM, ue(u(a)("custom_plugin_form.step1.compare_table.columns.cloned")), 1)) : ye("", !0)
|
|
29766
29793
|
])
|
|
29767
29794
|
]),
|
|
29768
29795
|
ee("tbody", null, [
|
|
29769
29796
|
ee("tr", null, [
|
|
29770
|
-
ee("th",
|
|
29771
|
-
oe("installed") ? (S(), le("td",
|
|
29772
|
-
oe("streamed") ? (S(), le("td",
|
|
29773
|
-
oe("cloned") ? (S(), le("td",
|
|
29797
|
+
ee("th", iM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.header")), 1),
|
|
29798
|
+
oe("installed") ? (S(), le("td", oM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.installed")), 1)) : ye("", !0),
|
|
29799
|
+
oe("streamed") ? (S(), le("td", aM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.streamed")), 1)) : ye("", !0),
|
|
29800
|
+
oe("cloned") ? (S(), le("td", rM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.cloned")), 1)) : ye("", !0)
|
|
29774
29801
|
]),
|
|
29775
29802
|
ee("tr", null, [
|
|
29776
|
-
ee("th",
|
|
29777
|
-
oe("installed") ? (S(), le("td",
|
|
29778
|
-
ee("ul",
|
|
29803
|
+
ee("th", sM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.header")), 1),
|
|
29804
|
+
oe("installed") ? (S(), le("td", lM, [
|
|
29805
|
+
ee("ul", uM, [
|
|
29779
29806
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.handler")), 1),
|
|
29780
29807
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.schema")), 1),
|
|
29781
29808
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.additional")), 1)
|
|
29782
29809
|
])
|
|
29783
29810
|
])) : ye("", !0),
|
|
29784
|
-
oe("streamed") ? (S(), le("td",
|
|
29785
|
-
ee("ul",
|
|
29811
|
+
oe("streamed") ? (S(), le("td", cM, [
|
|
29812
|
+
ee("ul", dM, [
|
|
29786
29813
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.streamed.handler")), 1),
|
|
29787
29814
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.streamed.schema")), 1)
|
|
29788
29815
|
])
|
|
29789
29816
|
])) : ye("", !0),
|
|
29790
|
-
oe("cloned") ? (S(), le("td",
|
|
29817
|
+
oe("cloned") ? (S(), le("td", pM, [
|
|
29791
29818
|
C(u(Da), {
|
|
29792
29819
|
color: `var(--kui-color-text-neutral, ${u(ii)})`,
|
|
29793
29820
|
size: `var(--kui-icon-size-30, ${u(Vn)})`
|
|
@@ -29795,20 +29822,20 @@ const lt = {
|
|
|
29795
29822
|
])) : ye("", !0)
|
|
29796
29823
|
]),
|
|
29797
29824
|
ee("tr", null, [
|
|
29798
|
-
ee("th",
|
|
29799
|
-
oe("installed") ? (S(), le("td",
|
|
29800
|
-
oe("streamed") ? (S(), le("td",
|
|
29801
|
-
oe("cloned") ? (S(), le("td",
|
|
29825
|
+
ee("th", fM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.header")), 1),
|
|
29826
|
+
oe("installed") ? (S(), le("td", mM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.installed")), 1)) : ye("", !0),
|
|
29827
|
+
oe("streamed") ? (S(), le("td", gM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.streamed")), 1)) : ye("", !0),
|
|
29828
|
+
oe("cloned") ? (S(), le("td", hM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.cloned")), 1)) : ye("", !0)
|
|
29802
29829
|
]),
|
|
29803
29830
|
ee("tr", null, [
|
|
29804
|
-
ee("th",
|
|
29805
|
-
oe("installed") ? (S(), le("td",
|
|
29831
|
+
ee("th", yM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.sandboxing.header")), 1),
|
|
29832
|
+
oe("installed") ? (S(), le("td", vM, [
|
|
29806
29833
|
C(u(Da), {
|
|
29807
29834
|
color: `var(--kui-color-text-neutral, ${u(ii)})`,
|
|
29808
29835
|
size: `var(--kui-icon-size-30, ${u(Vn)})`
|
|
29809
29836
|
}, null, 8, ["color", "size"])
|
|
29810
29837
|
])) : ye("", !0),
|
|
29811
|
-
oe("streamed") ? (S(), le("td",
|
|
29838
|
+
oe("streamed") ? (S(), le("td", _M, [
|
|
29812
29839
|
C(u(l), { keypath: "custom_plugin_form.step1.compare_table.rows.sandboxing.streamed" }, {
|
|
29813
29840
|
link: N(() => [
|
|
29814
29841
|
C(u(bu), {
|
|
@@ -29824,23 +29851,23 @@ const lt = {
|
|
|
29824
29851
|
_: 1
|
|
29825
29852
|
})
|
|
29826
29853
|
])) : ye("", !0),
|
|
29827
|
-
oe("cloned") ? (S(), le("td",
|
|
29854
|
+
oe("cloned") ? (S(), le("td", bM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.sandboxing.cloned")), 1)) : ye("", !0)
|
|
29828
29855
|
]),
|
|
29829
29856
|
ee("tr", null, [
|
|
29830
|
-
ee("th",
|
|
29831
|
-
oe("installed") ? (S(), le("td",
|
|
29857
|
+
ee("th", wM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.data_plane_reload.header")), 1),
|
|
29858
|
+
oe("installed") ? (S(), le("td", kM, [
|
|
29832
29859
|
C(u(Cg), {
|
|
29833
29860
|
color: `var(--kui-color-text-success, ${u(xd)})`,
|
|
29834
29861
|
size: `var(--kui-icon-size-30, ${u(Vn)})`
|
|
29835
29862
|
}, null, 8, ["color", "size"])
|
|
29836
29863
|
])) : ye("", !0),
|
|
29837
|
-
oe("streamed") ? (S(), le("td",
|
|
29864
|
+
oe("streamed") ? (S(), le("td", CM, [
|
|
29838
29865
|
C(u(Da), {
|
|
29839
29866
|
color: `var(--kui-color-text-neutral, ${u(ii)})`,
|
|
29840
29867
|
size: `var(--kui-icon-size-30, ${u(Vn)})`
|
|
29841
29868
|
}, null, 8, ["color", "size"])
|
|
29842
29869
|
])) : ye("", !0),
|
|
29843
|
-
oe("cloned") ? (S(), le("td",
|
|
29870
|
+
oe("cloned") ? (S(), le("td", EM, [
|
|
29844
29871
|
C(u(Da), {
|
|
29845
29872
|
color: `var(--kui-color-text-neutral, ${u(ii)})`,
|
|
29846
29873
|
size: `var(--kui-icon-size-30, ${u(Vn)})`
|
|
@@ -29874,7 +29901,7 @@ const lt = {
|
|
|
29874
29901
|
onFileAdded: he[4] || (he[4] = (ie) => D("schema", ie)),
|
|
29875
29902
|
onFileRemoved: he[5] || (he[5] = (ie) => re("schema"))
|
|
29876
29903
|
}, null, 8, ["button-text", "help", "label", "placeholder", "required"]),
|
|
29877
|
-
ee("div",
|
|
29904
|
+
ee("div", xM, [
|
|
29878
29905
|
C(rt, null, {
|
|
29879
29906
|
default: N(() => [
|
|
29880
29907
|
Le(ue(u(a)("custom_plugin_form.step2_files.plugin_modules.label")), 1)
|
|
@@ -29939,7 +29966,7 @@ const lt = {
|
|
|
29939
29966
|
required: ""
|
|
29940
29967
|
}, {
|
|
29941
29968
|
"item-template": N(({ item: ie }) => [
|
|
29942
|
-
ee("div",
|
|
29969
|
+
ee("div", SM, [
|
|
29943
29970
|
C(u(qi), {
|
|
29944
29971
|
name: String(ie.value),
|
|
29945
29972
|
size: 20
|
|
@@ -29948,7 +29975,7 @@ const lt = {
|
|
|
29948
29975
|
])
|
|
29949
29976
|
]),
|
|
29950
29977
|
"selected-item-template": N(({ item: ie }) => [
|
|
29951
|
-
ee("div",
|
|
29978
|
+
ee("div", AM, [
|
|
29952
29979
|
C(u(qi), {
|
|
29953
29980
|
name: String(ie.value),
|
|
29954
29981
|
size: 20
|
|
@@ -30044,7 +30071,7 @@ const lt = {
|
|
|
30044
30071
|
]);
|
|
30045
30072
|
};
|
|
30046
30073
|
}
|
|
30047
|
-
}),
|
|
30074
|
+
}), jK = /* @__PURE__ */ ze($M, [["__scopeId", "data-v-0c1e017a"]]), OM = (e, t) => ({
|
|
30048
30075
|
type: "array",
|
|
30049
30076
|
valueType: "string",
|
|
30050
30077
|
valueArrayType: "array",
|
|
@@ -30063,7 +30090,7 @@ const lt = {
|
|
|
30063
30090
|
},
|
|
30064
30091
|
...(t == null ? void 0 : t[0]) != null ? { default: t[0] } : {}
|
|
30065
30092
|
}
|
|
30066
|
-
}),
|
|
30093
|
+
}), PM = { class: "referable-field-item" }, NM = 24, RM = /* @__PURE__ */ Pe({
|
|
30067
30094
|
__name: "ReferableFieldItem",
|
|
30068
30095
|
props: {
|
|
30069
30096
|
field: {},
|
|
@@ -30080,13 +30107,13 @@ const lt = {
|
|
|
30080
30107
|
const a = `label[for="${i.value}"]`, l = document.querySelector(a) || document.getElementById(i.value);
|
|
30081
30108
|
if (!l)
|
|
30082
30109
|
return;
|
|
30083
|
-
const s = Math.max(0, l.getBoundingClientRect().top + window.scrollY -
|
|
30110
|
+
const s = Math.max(0, l.getBoundingClientRect().top + window.scrollY - NM), d = () => {
|
|
30084
30111
|
var f;
|
|
30085
30112
|
(f = l.click) == null || f.call(l);
|
|
30086
30113
|
};
|
|
30087
30114
|
window.addEventListener("scrollend", d, { once: !0 }), window.scrollTo({ top: s, behavior: "smooth" });
|
|
30088
30115
|
};
|
|
30089
|
-
return (a, l) => (S(), le("span",
|
|
30116
|
+
return (a, l) => (S(), le("span", PM, [
|
|
30090
30117
|
ee("span", {
|
|
30091
30118
|
class: "referable-field-link",
|
|
30092
30119
|
role: "button",
|
|
@@ -30098,7 +30125,7 @@ const lt = {
|
|
|
30098
30125
|
], 64))
|
|
30099
30126
|
]));
|
|
30100
30127
|
}
|
|
30101
|
-
}), Xc = /* @__PURE__ */ ze(
|
|
30128
|
+
}), Xc = /* @__PURE__ */ ze(RM, [["__scopeId", "data-v-949a9ea1"]]), MM = { key: 0 }, LM = /* @__PURE__ */ Pe({
|
|
30102
30129
|
__name: "PluginFieldRuleAlerts",
|
|
30103
30130
|
props: {
|
|
30104
30131
|
rules: {}
|
|
@@ -30136,7 +30163,7 @@ const lt = {
|
|
|
30136
30163
|
_: 2
|
|
30137
30164
|
}, 1032, ["keypath"])
|
|
30138
30165
|
]))), 128)),
|
|
30139
|
-
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (S(), le("li",
|
|
30166
|
+
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (S(), le("li", MM, [
|
|
30140
30167
|
(S(!0), le(Ge, null, et(t.rules.onlyOneOfMutuallyRequired, (s, d) => (S(), le("div", {
|
|
30141
30168
|
key: `only-one-mutually-alert-${d}`
|
|
30142
30169
|
}, [
|
|
@@ -30160,8 +30187,8 @@ const lt = {
|
|
|
30160
30187
|
});
|
|
30161
30188
|
};
|
|
30162
30189
|
}
|
|
30163
|
-
}),
|
|
30164
|
-
function
|
|
30190
|
+
}), FM = /* @__PURE__ */ ze(LM, [["__scopeId", "data-v-5f9ff453"]]);
|
|
30191
|
+
function KM(e) {
|
|
30165
30192
|
if (e.length === 0) return "";
|
|
30166
30193
|
if (e.length === 1) {
|
|
30167
30194
|
const o = fn(e[0]);
|
|
@@ -30180,18 +30207,18 @@ function MM(e) {
|
|
|
30180
30207
|
function gu(e) {
|
|
30181
30208
|
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;
|
|
30182
30209
|
}
|
|
30183
|
-
function
|
|
30210
|
+
function jM(e, t) {
|
|
30184
30211
|
if (!t) return e;
|
|
30185
30212
|
const n = t + Pa;
|
|
30186
30213
|
return e.map(
|
|
30187
30214
|
(i) => i.startsWith(n) ? i.slice(n.length) : i
|
|
30188
30215
|
);
|
|
30189
30216
|
}
|
|
30190
|
-
function
|
|
30191
|
-
const n = gu(e), i =
|
|
30217
|
+
function DM(e, t) {
|
|
30218
|
+
const n = gu(e), i = jM(n, t);
|
|
30192
30219
|
return "at_least_one_of" in e ? { at_least_one_of: i } : "mutually_required" in e ? { mutually_required: i } : { mutually_exclusive: i };
|
|
30193
30220
|
}
|
|
30194
|
-
function
|
|
30221
|
+
function qM(e) {
|
|
30195
30222
|
const t = [], n = /* @__PURE__ */ new Map();
|
|
30196
30223
|
for (const i of e) {
|
|
30197
30224
|
const o = gu(i);
|
|
@@ -30199,17 +30226,17 @@ function KM(e) {
|
|
|
30199
30226
|
t.push(i);
|
|
30200
30227
|
continue;
|
|
30201
30228
|
}
|
|
30202
|
-
const r =
|
|
30229
|
+
const r = KM(o);
|
|
30203
30230
|
if (!r) {
|
|
30204
30231
|
t.push(i);
|
|
30205
30232
|
continue;
|
|
30206
30233
|
}
|
|
30207
|
-
const a =
|
|
30234
|
+
const a = DM(i, r);
|
|
30208
30235
|
n.has(r) || n.set(r, []), n.get(r).push(a);
|
|
30209
30236
|
}
|
|
30210
30237
|
return { keep: t, move: n };
|
|
30211
30238
|
}
|
|
30212
|
-
function
|
|
30239
|
+
function BM(e, t, n) {
|
|
30213
30240
|
const i = fn(t);
|
|
30214
30241
|
let o = e;
|
|
30215
30242
|
for (const r of i) {
|
|
@@ -30227,27 +30254,27 @@ function jM(e, t, n) {
|
|
|
30227
30254
|
function Gm(e) {
|
|
30228
30255
|
var t;
|
|
30229
30256
|
if ((t = e.entity_checks) != null && t.length) {
|
|
30230
|
-
const { keep: n, move: i } =
|
|
30257
|
+
const { keep: n, move: i } = qM(e.entity_checks);
|
|
30231
30258
|
e.entity_checks = n.length ? n : void 0;
|
|
30232
30259
|
for (const [o, r] of i)
|
|
30233
|
-
|
|
30260
|
+
BM(e, o, r);
|
|
30234
30261
|
}
|
|
30235
30262
|
for (const n of e.fields) {
|
|
30236
30263
|
const i = Object.values(n)[0];
|
|
30237
30264
|
i.type === "record" && Gm(i);
|
|
30238
30265
|
}
|
|
30239
30266
|
}
|
|
30240
|
-
function
|
|
30267
|
+
function UM(e) {
|
|
30241
30268
|
const t = JSON.parse(JSON.stringify(e)), n = {
|
|
30242
30269
|
fields: t.fields
|
|
30243
30270
|
};
|
|
30244
30271
|
return Gm(n), t.fields = n.fields, t;
|
|
30245
30272
|
}
|
|
30246
|
-
function
|
|
30273
|
+
function VM(e, t) {
|
|
30247
30274
|
const n = $n[e];
|
|
30248
30275
|
if (!n || !n.fieldRules)
|
|
30249
30276
|
return t;
|
|
30250
|
-
const i =
|
|
30277
|
+
const i = zM(n.fieldRules), o = { ...t };
|
|
30251
30278
|
return o.fields = o.fields.map((r) => {
|
|
30252
30279
|
if (Object.keys(r)[0] === "config") {
|
|
30253
30280
|
const l = r.config.entity_checks || [], s = (c) => {
|
|
@@ -30270,7 +30297,7 @@ function qM(e, t) {
|
|
|
30270
30297
|
return r;
|
|
30271
30298
|
}), o;
|
|
30272
30299
|
}
|
|
30273
|
-
function
|
|
30300
|
+
function zM(e) {
|
|
30274
30301
|
const t = [], n = (i) => i.startsWith("config.") ? i.substring(7) : i;
|
|
30275
30302
|
return e.atLeastOneOf && e.atLeastOneOf.forEach((i) => {
|
|
30276
30303
|
t.push({
|
|
@@ -30303,10 +30330,10 @@ function BM(e) {
|
|
|
30303
30330
|
}
|
|
30304
30331
|
}), t;
|
|
30305
30332
|
}
|
|
30306
|
-
const
|
|
30333
|
+
const GM = { class: "kong-ui-entities-plugin-form" }, HM = {
|
|
30307
30334
|
key: 1,
|
|
30308
30335
|
class: "entity-form"
|
|
30309
|
-
},
|
|
30336
|
+
}, WM = { class: "plugin-config-empty-state" }, YM = /* @__PURE__ */ Pe({
|
|
30310
30337
|
__name: "PluginEntityForm",
|
|
30311
30338
|
props: {
|
|
30312
30339
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -30477,11 +30504,11 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
30477
30504
|
var Ce;
|
|
30478
30505
|
return (Ce = Q.value) == null ? void 0 : Ce.options;
|
|
30479
30506
|
}), M = L(() => {
|
|
30480
|
-
const Ce =
|
|
30507
|
+
const Ce = VM(
|
|
30481
30508
|
F.name,
|
|
30482
30509
|
i.rawSchema
|
|
30483
30510
|
);
|
|
30484
|
-
return
|
|
30511
|
+
return UM(Ce);
|
|
30485
30512
|
}), W = me(!1), z = me(), H = (Ce, se) => {
|
|
30486
30513
|
W.value = Ce ?? "", z.value = se;
|
|
30487
30514
|
}, U = (Ce) => {
|
|
@@ -30722,11 +30749,11 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
30722
30749
|
var Y, de, fe;
|
|
30723
30750
|
const ie = xe("KSkeleton");
|
|
30724
30751
|
return S(), le(Ge, null, [
|
|
30725
|
-
ee("div",
|
|
30752
|
+
ee("div", GM, [
|
|
30726
30753
|
Ye.value ? (S(), Z(ie, {
|
|
30727
30754
|
key: 0,
|
|
30728
30755
|
type: "form"
|
|
30729
|
-
})) : F.id && e.editing || !e.editing ? (S(), le("div",
|
|
30756
|
+
})) : F.id && e.editing || !e.editing ? (S(), le("div", HM, [
|
|
30730
30757
|
j.value ? (S(), Z(Dt(j.value), {
|
|
30731
30758
|
key: 0,
|
|
30732
30759
|
developer: e.developer,
|
|
@@ -30788,14 +30815,14 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
30788
30815
|
onShowNewPartialModal: se[5] || (se[5] = (ge) => Ce.$emit("showNewPartialModal", ge))
|
|
30789
30816
|
}, vt({
|
|
30790
30817
|
"plugin-config-empty-state": N(() => [
|
|
30791
|
-
ee("div",
|
|
30818
|
+
ee("div", WM, ue(u(x)("plugins.form.grouping.plugin_configuration.empty")), 1)
|
|
30792
30819
|
]),
|
|
30793
30820
|
_: 2
|
|
30794
30821
|
}, [
|
|
30795
30822
|
(fe = u($n)[F.name]) != null && fe.fieldRules && (i.config.isNewOtelSchema || F.name !== "opentelemetry") ? {
|
|
30796
30823
|
name: "plugin-config-before-content",
|
|
30797
30824
|
fn: N(() => [
|
|
30798
|
-
C(
|
|
30825
|
+
C(FM, {
|
|
30799
30826
|
rules: u($n)[F.name].fieldRules
|
|
30800
30827
|
}, null, 8, ["rules"])
|
|
30801
30828
|
]),
|
|
@@ -30820,7 +30847,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
30820
30847
|
], 64);
|
|
30821
30848
|
};
|
|
30822
30849
|
}
|
|
30823
|
-
}),
|
|
30850
|
+
}), JM = /* @__PURE__ */ ze(YM, [["__scopeId", "data-v-7f30f062"]]), XM = { key: 1 }, ZM = /* @__PURE__ */ Pe({
|
|
30824
30851
|
__name: "PluginFormActionsWrapper",
|
|
30825
30852
|
props: {
|
|
30826
30853
|
teleportTarget: {
|
|
@@ -30834,14 +30861,14 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
30834
30861
|
to: e.teleportTarget
|
|
30835
30862
|
}, [
|
|
30836
30863
|
Qe(t.$slots, "default")
|
|
30837
|
-
], 8, ["to"])) : (S(), le("div",
|
|
30864
|
+
], 8, ["to"])) : (S(), le("div", XM, [
|
|
30838
30865
|
Qe(t.$slots, "default")
|
|
30839
30866
|
]));
|
|
30840
30867
|
}
|
|
30841
|
-
}),
|
|
30868
|
+
}), QM = { key: 0 }, eL = { class: "plugin-form-actions" }, tL = {
|
|
30842
30869
|
key: 0,
|
|
30843
30870
|
class: "button-customize-deck-wrapper"
|
|
30844
|
-
},
|
|
30871
|
+
}, nL = /* @__PURE__ */ Pe({
|
|
30845
30872
|
__name: "PluginForm",
|
|
30846
30873
|
props: {
|
|
30847
30874
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -31026,8 +31053,8 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
31026
31053
|
}), _e = () => {
|
|
31027
31054
|
b.value = !b.value;
|
|
31028
31055
|
}, pe = L(() => {
|
|
31029
|
-
var Ne,
|
|
31030
|
-
const B = a.config.entityType === "consumers" && a.config.entityId || ((
|
|
31056
|
+
var Ne, qe, Ve, tt, Je, Fe, $e, _t;
|
|
31057
|
+
const B = a.config.entityType === "consumers" && a.config.entityId || ((qe = (Ne = O.value) == null ? void 0 : Ne.consumer) == null ? void 0 : qe.id), ne = a.config.entityType === "consumer_groups" && a.config.entityId || ((tt = (Ve = O.value) == null ? void 0 : Ve.consumer_group) == null ? void 0 : tt.id), V = a.config.entityType === "services" && a.config.entityId || ((Fe = (Je = O.value) == null ? void 0 : Je.service) == null ? void 0 : Fe.id), Ee = a.config.entityType === "routes" && a.config.entityId || ((_t = ($e = O.value) == null ? void 0 : $e.route) == null ? void 0 : _t.id);
|
|
31031
31058
|
if (!(B || ne || V || Ee))
|
|
31032
31059
|
return {
|
|
31033
31060
|
global: {
|
|
@@ -31146,7 +31173,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
31146
31173
|
}, je = (B, ne, V, Ee) => {
|
|
31147
31174
|
var Ve, tt;
|
|
31148
31175
|
let Se = ne && ne.fields || [];
|
|
31149
|
-
const Ne = d[Q.value],
|
|
31176
|
+
const Ne = d[Q.value], qe = (tt = (Ve = po[a.pluginType]) == null ? void 0 : Ve.schema) == null ? void 0 : tt.fields;
|
|
31150
31177
|
return Array.isArray(Se) && (Se = Se.reduce((Je, Fe) => {
|
|
31151
31178
|
const $e = Object.keys(Fe)[0];
|
|
31152
31179
|
return $e.match(/-/g) ? Je[$e.replace(/-/g, "_")] = {
|
|
@@ -31233,7 +31260,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
31233
31260
|
} else if (["string", "integer", "number"].includes(ct.type) && ct.one_of) {
|
|
31234
31261
|
if (Ee) {
|
|
31235
31262
|
const { id: Zt, help: Pt, label: ht, hint: ut, values: St, referenceable: Et, model: bn } = V[$e];
|
|
31236
|
-
V[$e] = { id: Zt, help: Pt, label: ht, hint: ut, values: St, referenceable: Et, model: bn, ...
|
|
31263
|
+
V[$e] = { id: Zt, help: Pt, label: ht, hint: ut, values: St, referenceable: Et, model: bn, ...OM(ct.one_of, Fe.default) };
|
|
31237
31264
|
}
|
|
31238
31265
|
} else if (ct.type === "array") {
|
|
31239
31266
|
const { id: Zt, help: Pt, label: ht, hint: ut, values: St, referenceable: Et, model: bn, elements: In } = V[$e], { inputAttributes: as, ...Wm } = JSON.parse(JSON.stringify(mt));
|
|
@@ -31302,12 +31329,12 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
31302
31329
|
};
|
|
31303
31330
|
}
|
|
31304
31331
|
}
|
|
31305
|
-
if (T.value &&
|
|
31306
|
-
for (let ct = 0; ct <
|
|
31307
|
-
if (
|
|
31332
|
+
if (T.value && qe) {
|
|
31333
|
+
for (let ct = 0; ct < qe.length; ct++)
|
|
31334
|
+
if (qe[ct][$e]) {
|
|
31308
31335
|
V[$e] = {
|
|
31309
31336
|
...V[$e],
|
|
31310
|
-
...
|
|
31337
|
+
...qe[ct][$e]
|
|
31311
31338
|
};
|
|
31312
31339
|
break;
|
|
31313
31340
|
}
|
|
@@ -31324,7 +31351,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
31324
31351
|
}), V;
|
|
31325
31352
|
}, He = () => {
|
|
31326
31353
|
var _t, qn, Ot, Xt, Uo, Vo, zo, Go, ct, Zt, Pt, ht;
|
|
31327
|
-
const B = j.value && R.value ? R.value : a.pluginType, ne = ((_t = $n[B]) == null ? void 0 : _t.scope.includes(Lt.SERVICE)) ?? !0, V = ((qn = $n[B]) == null ? void 0 : qn.scope.includes(Lt.ROUTE)) ?? !0, Ee = ((Ot = $n[B]) == null ? void 0 : Ot.scope.includes(Lt.CONSUMER)) ?? !0, Se = a.config.disableConsumerGroupScope ? !1 : ((Xt = $n[B]) == null ? void 0 : Xt.scope.includes(Lt.CONSUMER_GROUP)) ?? !0, Ne = a.config.entityType === "consumers" && !!a.config.entityId || !!((Vo = (Uo = O.value) == null ? void 0 : Uo.consumer) != null && Vo.id),
|
|
31354
|
+
const B = j.value && R.value ? R.value : a.pluginType, ne = ((_t = $n[B]) == null ? void 0 : _t.scope.includes(Lt.SERVICE)) ?? !0, V = ((qn = $n[B]) == null ? void 0 : qn.scope.includes(Lt.ROUTE)) ?? !0, Ee = ((Ot = $n[B]) == null ? void 0 : Ot.scope.includes(Lt.CONSUMER)) ?? !0, Se = a.config.disableConsumerGroupScope ? !1 : ((Xt = $n[B]) == null ? void 0 : Xt.scope.includes(Lt.CONSUMER_GROUP)) ?? !0, Ne = a.config.entityType === "consumers" && !!a.config.entityId || !!((Vo = (Uo = O.value) == null ? void 0 : Uo.consumer) != null && Vo.id), qe = a.config.entityType === "consumer_groups" && !!a.config.entityId || !!((Go = (zo = O.value) == null ? void 0 : zo.consumer_group) != null && Go.id), Ve = a.config.entityType === "services" && !!a.config.entityId || !!((Zt = (ct = O.value) == null ? void 0 : ct.service) != null && Zt.id), tt = a.config.entityType === "routes" && !!a.config.entityId || !!((ht = (Pt = O.value) == null ? void 0 : Pt.route) != null && ht.id), Je = [], Fe = (ut, St, Et) => ut ? s("plugins.form.disable_source_scope_change", { scope: Et }) : St ? s("plugins.form.disable_data_retrieving", { scope: Et }) : "", $e = (ut) => {
|
|
31328
31355
|
var St, Et;
|
|
31329
31356
|
return ((Et = (St = a.scopedEntitiesPermissions) == null ? void 0 : St[ut]) == null ? void 0 : Et.canRetrieve) === !1;
|
|
31330
31357
|
};
|
|
@@ -31386,7 +31413,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
31386
31413
|
});
|
|
31387
31414
|
}
|
|
31388
31415
|
if (Se) {
|
|
31389
|
-
const ut = $e("consumer_group"), St = "consumer_groups", Et =
|
|
31416
|
+
const ut = $e("consumer_group"), St = "consumer_groups", Et = qe && a.disableScopeSelection;
|
|
31390
31417
|
Je.push({
|
|
31391
31418
|
model: "consumer_group-id",
|
|
31392
31419
|
label: s("plugins.form.scoping.consumer_group.label"),
|
|
@@ -31495,17 +31522,17 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
31495
31522
|
const Se = (B = po[a.pluginType]) == null ? void 0 : B.schemaEndpoint, Ne = nE[Se];
|
|
31496
31523
|
be.value = Se, w.value = je("", Ne, {}), Oe.value = !1;
|
|
31497
31524
|
} else {
|
|
31498
|
-
const Se = i && Ae.value, Ne = a.schema ? Promise.resolve(a.schema) : _.get(ve.value).then((Ve) => Ve.data), [
|
|
31525
|
+
const Se = i && Ae.value, Ne = a.schema ? Promise.resolve(a.schema) : _.get(ve.value).then((Ve) => Ve.data), [qe] = await Promise.all([
|
|
31499
31526
|
Ne,
|
|
31500
31527
|
Se ? ke(a.pluginType) : Promise.resolve()
|
|
31501
31528
|
]);
|
|
31502
|
-
if (k.value =
|
|
31529
|
+
if (k.value = qe, qe)
|
|
31503
31530
|
if (T.value)
|
|
31504
|
-
w.value = je("",
|
|
31531
|
+
w.value = je("", qe, {}), Oe.value = !1;
|
|
31505
31532
|
else {
|
|
31506
|
-
const Ve =
|
|
31507
|
-
q.value = Ve ? Ve.config :
|
|
31508
|
-
const tt = (V =
|
|
31533
|
+
const Ve = qe.fields.find((Je) => Je.config);
|
|
31534
|
+
q.value = Ve ? Ve.config : qe, qe.supported_partials && (A.value = Object.keys(qe.supported_partials).find((Je) => [Ws.REDIS_CE, Ws.REDIS_EE].includes(Je)), I.value = (ne = qe.supported_partials[A.value]) == null ? void 0 : ne[0]), He();
|
|
31535
|
+
const tt = (V = qe.fields.find((Je) => Je.protocols)) == null ? void 0 : V.protocols;
|
|
31509
31536
|
if (tt) {
|
|
31510
31537
|
const { default: Je = [], elements: Fe = {} } = tt;
|
|
31511
31538
|
he.protocols.default = Je, he.protocols.placeholder = a.config.app === "konnect" ? s("plugins.form.fields.protocols.placeholderWithDefaultValues", {
|
|
@@ -31536,7 +31563,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
31536
31563
|
}
|
|
31537
31564
|
}
|
|
31538
31565
|
return (B, ne) => {
|
|
31539
|
-
const V = xe("KSkeleton"), Ee = xe("KEmptyState"), Se = xe("KButton"), Ne = xe("KTabs"),
|
|
31566
|
+
const V = xe("KSkeleton"), Ee = xe("KEmptyState"), Se = xe("KButton"), Ne = xe("KTabs"), qe = xe("KSlideout");
|
|
31540
31567
|
return S(), le("div", {
|
|
31541
31568
|
class: yt(["kong-ui-entities-plugin-form-container", { "new-form-layout": o.value }])
|
|
31542
31569
|
}, [
|
|
@@ -31571,12 +31598,12 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
31571
31598
|
onLoading: ne[7] || (ne[7] = (Ve) => B.$emit("loading", Ve))
|
|
31572
31599
|
}, {
|
|
31573
31600
|
"form-actions": N(() => [
|
|
31574
|
-
e.isWizardStep ? (S(), le("div",
|
|
31601
|
+
e.isWizardStep ? (S(), le("div", QM)) : (S(), Z(ZM, {
|
|
31575
31602
|
key: 1,
|
|
31576
31603
|
"teleport-target": e.actionsTeleportTarget
|
|
31577
31604
|
}, {
|
|
31578
31605
|
default: N(() => [
|
|
31579
|
-
ee("div",
|
|
31606
|
+
ee("div", eL, [
|
|
31580
31607
|
e.hideViewConfigAction ? ye("", !0) : (S(), Z(Se, {
|
|
31581
31608
|
key: 0,
|
|
31582
31609
|
appearance: "tertiary",
|
|
@@ -31622,7 +31649,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
31622
31649
|
hidden: "",
|
|
31623
31650
|
onSubmit: ce
|
|
31624
31651
|
}, null, 32),
|
|
31625
|
-
C(
|
|
31652
|
+
C(JM, {
|
|
31626
31653
|
config: e.config,
|
|
31627
31654
|
credential: T.value,
|
|
31628
31655
|
developer: e.developer,
|
|
@@ -31645,7 +31672,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
31645
31672
|
]),
|
|
31646
31673
|
_: 1
|
|
31647
31674
|
}, 8, ["can-submit", "config", "edit-id", "entity-type", "error-message", "fetch-url", "form-fields", "is-readonly", "wrapper-component"])),
|
|
31648
|
-
C(
|
|
31675
|
+
C(qe, {
|
|
31649
31676
|
"close-on-blur": !1,
|
|
31650
31677
|
"data-testid": "form-view-configuration-slideout",
|
|
31651
31678
|
"has-overlay": !1,
|
|
@@ -31685,7 +31712,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
31685
31712
|
}, null, 8, ["credential-type", "entity-record", "entity-type"])
|
|
31686
31713
|
]),
|
|
31687
31714
|
deck: N(() => [
|
|
31688
|
-
u(W) ? (S(), le("div",
|
|
31715
|
+
u(W) ? (S(), le("div", tL, [
|
|
31689
31716
|
C(Se, {
|
|
31690
31717
|
appearance: "secondary",
|
|
31691
31718
|
class: "button-customize-deck",
|
|
@@ -31718,16 +31745,16 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
31718
31745
|
], 2);
|
|
31719
31746
|
};
|
|
31720
31747
|
}
|
|
31721
|
-
}),
|
|
31748
|
+
}), DK = /* @__PURE__ */ ze(nL, [["__scopeId", "data-v-cd2d48f0"]]), iL = { class: "kong-ui-entities-plugins-list" }, oL = { class: "button-row" }, aL = { class: "name-cell-wrapper" }, rL = { class: "info-wrapper" }, sL = {
|
|
31722
31749
|
key: 0,
|
|
31723
31750
|
class: "info-name"
|
|
31724
|
-
},
|
|
31751
|
+
}, lL = {
|
|
31725
31752
|
key: 1,
|
|
31726
31753
|
class: "info-name"
|
|
31727
|
-
},
|
|
31754
|
+
}, uL = {
|
|
31728
31755
|
key: 2,
|
|
31729
31756
|
class: "info-type"
|
|
31730
|
-
},
|
|
31757
|
+
}, cL = { key: 1 }, dL = /* @__PURE__ */ Pe({
|
|
31731
31758
|
__name: "PluginList",
|
|
31732
31759
|
props: {
|
|
31733
31760
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -31980,7 +32007,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
31980
32007
|
Ye.value = await o.canCreate(), Ye.value && (He.value.title = r("plugins.list.empty_state.title"), He.value.ctaText = r("actions.create"));
|
|
31981
32008
|
}), (Be, Ce) => {
|
|
31982
32009
|
const se = xe("KButton"), ie = xe("KEmptyState"), Y = xe("KBadge"), de = xe("KTruncate"), fe = xe("KInputSwitch"), ge = xe("KDropdownItem"), Te = xe("KClipboardProvider");
|
|
31983
|
-
return S(), le("div",
|
|
32010
|
+
return S(), le("div", iL, [
|
|
31984
32011
|
C(u(ph), {
|
|
31985
32012
|
"cache-identifier": e.cacheIdentifier,
|
|
31986
32013
|
"disable-sorting": _.value,
|
|
@@ -32012,7 +32039,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
32012
32039
|
disabled: !e.useActionOutside,
|
|
32013
32040
|
to: "#kong-ui-app-page-header-action-button"
|
|
32014
32041
|
}, [
|
|
32015
|
-
ee("div",
|
|
32042
|
+
ee("div", oL, [
|
|
32016
32043
|
!p.value && c.value ? (S(), Z(se, {
|
|
32017
32044
|
key: 0,
|
|
32018
32045
|
appearance: "secondary",
|
|
@@ -32049,15 +32076,15 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
32049
32076
|
], 8, ["disabled"]))
|
|
32050
32077
|
]),
|
|
32051
32078
|
name: N(({ row: Ae }) => [
|
|
32052
|
-
ee("div",
|
|
32079
|
+
ee("div", aL, [
|
|
32053
32080
|
C(u(qi), {
|
|
32054
32081
|
class: "plugin-icon",
|
|
32055
32082
|
name: Ae.name,
|
|
32056
32083
|
size: 24
|
|
32057
32084
|
}, null, 8, ["name"]),
|
|
32058
|
-
ee("div",
|
|
32059
|
-
Ae.instance_name ? (S(), le("span",
|
|
32060
|
-
Ae.instance_name ? (S(), le("span",
|
|
32085
|
+
ee("div", rL, [
|
|
32086
|
+
Ae.instance_name ? (S(), le("span", sL, ue(Ae.instance_name), 1)) : (S(), le("span", lL, ue(u(n).getDisplayName(Ae.name)), 1)),
|
|
32087
|
+
Ae.instance_name ? (S(), le("span", uL, ue(u(n).getDisplayName(Ae.name)), 1)) : ye("", !0)
|
|
32061
32088
|
])
|
|
32062
32089
|
])
|
|
32063
32090
|
]),
|
|
@@ -32084,7 +32111,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
32084
32111
|
}, 1032, ["auth-function"]))), 128))
|
|
32085
32112
|
]),
|
|
32086
32113
|
_: 2
|
|
32087
|
-
}, 1024)) : (S(), le("span",
|
|
32114
|
+
}, 1024)) : (S(), le("span", cL, "-"))
|
|
32088
32115
|
]),
|
|
32089
32116
|
enabled: N(({ row: Ae }) => [
|
|
32090
32117
|
C(u(Pi), {
|
|
@@ -32289,16 +32316,16 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
32289
32316
|
]);
|
|
32290
32317
|
};
|
|
32291
32318
|
}
|
|
32292
|
-
}),
|
|
32319
|
+
}), qK = /* @__PURE__ */ ze(dL, [["__scopeId", "data-v-bb7d2cdb"]]), pL = { class: "plugin-select-card-wrapper" }, fL = ["data-testid"], mL = { class: "plugin-card-header" }, gL = { class: "plugin-card-title" }, hL = {
|
|
32293
32320
|
key: 0,
|
|
32294
32321
|
class: "plugin-card-actions"
|
|
32295
|
-
},
|
|
32322
|
+
}, yL = ["data-testid", "title"], vL = {
|
|
32296
32323
|
key: 0,
|
|
32297
32324
|
class: "plugin-card-text"
|
|
32298
|
-
},
|
|
32325
|
+
}, _L = {
|
|
32299
32326
|
key: 0,
|
|
32300
32327
|
class: "custom-plugin-badges"
|
|
32301
|
-
},
|
|
32328
|
+
}, bL = ["title"], wL = /* @__PURE__ */ Pe({
|
|
32302
32329
|
__name: "PluginSelectCard",
|
|
32303
32330
|
props: {
|
|
32304
32331
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32365,7 +32392,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
32365
32392
|
};
|
|
32366
32393
|
return (q, A) => {
|
|
32367
32394
|
const I = xe("KButton"), P = xe("KDropdownItem"), R = xe("KDropdownMenu"), j = xe("KBadge"), Q = xe("KTooltip");
|
|
32368
|
-
return S(), le("div",
|
|
32395
|
+
return S(), le("div", pL, [
|
|
32369
32396
|
C(Q, {
|
|
32370
32397
|
text: e.plugin.disabledMessage
|
|
32371
32398
|
}, {
|
|
@@ -32376,13 +32403,13 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
32376
32403
|
role: "button",
|
|
32377
32404
|
onClick: A[1] || (A[1] = (G) => s.value || k.value ? void 0 : b())
|
|
32378
32405
|
}, [
|
|
32379
|
-
ee("div",
|
|
32380
|
-
ee("div",
|
|
32406
|
+
ee("div", mL, [
|
|
32407
|
+
ee("div", gL, [
|
|
32381
32408
|
ee("span", {
|
|
32382
32409
|
class: yt({ "non-custom-title": !k.value })
|
|
32383
32410
|
}, ue(e.plugin.name), 3)
|
|
32384
32411
|
]),
|
|
32385
|
-
_.value ? (S(), le("div",
|
|
32412
|
+
_.value ? (S(), le("div", hL, [
|
|
32386
32413
|
C(R, {
|
|
32387
32414
|
"data-testid": "custom-plugin-actions",
|
|
32388
32415
|
"kpop-attributes": { placement: "bottom-end" },
|
|
@@ -32444,8 +32471,8 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
32444
32471
|
name: a.value,
|
|
32445
32472
|
size: 55
|
|
32446
32473
|
}, null, 8, ["alt", "name"]),
|
|
32447
|
-
e.plugin.description || l.value.length ? (S(), le("div",
|
|
32448
|
-
l.value.length ? (S(), le("div",
|
|
32474
|
+
e.plugin.description || l.value.length ? (S(), le("div", vL, [
|
|
32475
|
+
l.value.length ? (S(), le("div", _L, [
|
|
32449
32476
|
(S(!0), le(Ge, null, et(l.value, (G) => (S(), Z(j, {
|
|
32450
32477
|
key: G,
|
|
32451
32478
|
appearance: "info"
|
|
@@ -32460,21 +32487,21 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
32460
32487
|
key: 1,
|
|
32461
32488
|
class: "plugin-card-text",
|
|
32462
32489
|
title: e.plugin.description
|
|
32463
|
-
}, ue(e.plugin.description), 9,
|
|
32490
|
+
}, ue(e.plugin.description), 9, bL)) : ye("", !0)
|
|
32464
32491
|
])) : ye("", !0)
|
|
32465
|
-
], 10,
|
|
32492
|
+
], 10, yL),
|
|
32466
32493
|
ee("div", {
|
|
32467
32494
|
class: "plugin-card-footer",
|
|
32468
32495
|
onClick: O
|
|
32469
32496
|
}, ue(E.value ? u(r)("actions.create_custom") : e.plugin.exists ? u(r)("actions.enabled") : u(r)("actions.enable")), 1)
|
|
32470
|
-
], 10,
|
|
32497
|
+
], 10, fL)
|
|
32471
32498
|
]),
|
|
32472
32499
|
_: 1
|
|
32473
32500
|
}, 8, ["text"])
|
|
32474
32501
|
]);
|
|
32475
32502
|
};
|
|
32476
32503
|
}
|
|
32477
|
-
}), Hm = /* @__PURE__ */ ze(
|
|
32504
|
+
}), Hm = /* @__PURE__ */ ze(wL, [["__scopeId", "data-v-eb0977c9"]]), kL = /* @__PURE__ */ Pe({
|
|
32478
32505
|
__name: "DeleteCustomPluginSchemaModal",
|
|
32479
32506
|
props: {
|
|
32480
32507
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32569,7 +32596,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
32569
32596
|
}, 8, ["action-button-disabled", "title"])) : ye("", !0);
|
|
32570
32597
|
};
|
|
32571
32598
|
}
|
|
32572
|
-
}), os = /* @__PURE__ */ ze(
|
|
32599
|
+
}), os = /* @__PURE__ */ ze(kL, [["__scopeId", "data-v-9514182c"]]), CL = { class: "custom-plugins-grid" }, EL = { class: "empty-state-title" }, xL = { class: "empty-state-description" }, As = 310, SL = /* @__PURE__ */ Pe({
|
|
32573
32600
|
__name: "PluginCustomGrid",
|
|
32574
32601
|
props: {
|
|
32575
32602
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32666,7 +32693,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
32666
32693
|
window == null || window.removeEventListener("resize", x);
|
|
32667
32694
|
}), (k, w) => {
|
|
32668
32695
|
const T = xe("KEmptyState"), O = xe("KCollapse");
|
|
32669
|
-
return S(), le("div",
|
|
32696
|
+
return S(), le("div", CL, [
|
|
32670
32697
|
d.value.length ? (S(), Z(O, {
|
|
32671
32698
|
key: 1,
|
|
32672
32699
|
modelValue: l.value,
|
|
@@ -32716,10 +32743,10 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
32716
32743
|
"icon-variant": "kong"
|
|
32717
32744
|
}, {
|
|
32718
32745
|
title: N(() => [
|
|
32719
|
-
ee("span",
|
|
32746
|
+
ee("span", EL, ue(u(o)("plugins.select.tabs.custom.empty_title")), 1)
|
|
32720
32747
|
]),
|
|
32721
32748
|
default: N(() => [
|
|
32722
|
-
ee("span",
|
|
32749
|
+
ee("span", xL, ue(u(o)("plugins.select.tabs.custom.empty_description")), 1)
|
|
32723
32750
|
]),
|
|
32724
32751
|
_: 1
|
|
32725
32752
|
})),
|
|
@@ -32733,7 +32760,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
32733
32760
|
]);
|
|
32734
32761
|
};
|
|
32735
32762
|
}
|
|
32736
|
-
}),
|
|
32763
|
+
}), AL = /* @__PURE__ */ ze(SL, [["__scopeId", "data-v-909f4d5f"]]), Is = 310, IL = /* @__PURE__ */ Pe({
|
|
32737
32764
|
__name: "PluginSelectGroup",
|
|
32738
32765
|
props: /* @__PURE__ */ vi({
|
|
32739
32766
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32863,7 +32890,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
32863
32890
|
], 64);
|
|
32864
32891
|
};
|
|
32865
32892
|
}
|
|
32866
|
-
}), Zc = /* @__PURE__ */ ze(
|
|
32893
|
+
}), Zc = /* @__PURE__ */ ze(IL, [["__scopeId", "data-v-7f683497"]]), TL = { class: "plugin-select-grid" }, $L = { class: "empty-state-title" }, OL = { class: "empty-state-description" }, Qc = /* @__PURE__ */ Pe({
|
|
32867
32894
|
__name: "PluginSelectGrid",
|
|
32868
32895
|
props: {
|
|
32869
32896
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32935,7 +32962,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
32935
32962
|
});
|
|
32936
32963
|
return (d, f) => {
|
|
32937
32964
|
const c = xe("KEmptyState");
|
|
32938
|
-
return S(), le("div",
|
|
32965
|
+
return S(), le("div", TL, [
|
|
32939
32966
|
Object.keys(s.value).length ? ye("", !0) : (S(), Z(c, {
|
|
32940
32967
|
key: 0,
|
|
32941
32968
|
"action-button-visible": !1,
|
|
@@ -32944,10 +32971,10 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
32944
32971
|
"icon-variant": "kong"
|
|
32945
32972
|
}, {
|
|
32946
32973
|
title: N(() => [
|
|
32947
|
-
ee("span",
|
|
32974
|
+
ee("span", $L, ue(u(o)("plugins.select.tabs.kong.empty_title")), 1)
|
|
32948
32975
|
]),
|
|
32949
32976
|
default: N(() => [
|
|
32950
|
-
ee("span",
|
|
32977
|
+
ee("span", OL, ue(u(o)("plugins.select.tabs.kong.empty_description")), 1)
|
|
32951
32978
|
]),
|
|
32952
32979
|
_: 1
|
|
32953
32980
|
})),
|
|
@@ -32987,11 +33014,11 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
32987
33014
|
]);
|
|
32988
33015
|
};
|
|
32989
33016
|
}
|
|
32990
|
-
}),
|
|
33017
|
+
}), PL = { class: "kong-ui-entities-plugin-select-form" }, NL = { class: "plugins-filter-input-container" }, RL = { key: 0 }, ML = {
|
|
32991
33018
|
key: 3,
|
|
32992
33019
|
"aria-live": "polite",
|
|
32993
33020
|
class: "plugins-results-container"
|
|
32994
|
-
},
|
|
33021
|
+
}, LL = { "data-testid": "kong-tab" }, FL = { class: "tab-description" }, KL = { "data-testid": "custom-tab" }, jL = { class: "tab-description" }, DL = { key: 1 }, qL = /* @__PURE__ */ Pe({
|
|
32995
33022
|
__name: "PluginSelect",
|
|
32996
33023
|
props: {
|
|
32997
33024
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -33293,8 +33320,8 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33293
33320
|
(ie = k.value) == null || ie.abort();
|
|
33294
33321
|
}), (ie, Y) => {
|
|
33295
33322
|
const de = xe("KInput"), fe = xe("KSkeletonBox"), ge = xe("KSkeleton"), Te = xe("KEmptyState"), Ae = xe("KTooltip"), g = xe("KAlert"), te = xe("KTabs");
|
|
33296
|
-
return S(), le("div",
|
|
33297
|
-
ee("div",
|
|
33323
|
+
return S(), le("div", PL, [
|
|
33324
|
+
ee("div", NL, [
|
|
33298
33325
|
C(de, {
|
|
33299
33326
|
ref: "filter-input",
|
|
33300
33327
|
modelValue: c.value,
|
|
@@ -33306,7 +33333,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33306
33333
|
type: "search"
|
|
33307
33334
|
}, null, 8, ["modelValue", "placeholder"])
|
|
33308
33335
|
]),
|
|
33309
|
-
p.value ? (S(), le("section",
|
|
33336
|
+
p.value ? (S(), le("section", RL, [
|
|
33310
33337
|
C(fe, {
|
|
33311
33338
|
class: "plugins-skeleton-title",
|
|
33312
33339
|
width: "10"
|
|
@@ -33336,7 +33363,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33336
33363
|
ee("h5", null, ue(u(a)("search.no_results", { filter: c.value })), 1)
|
|
33337
33364
|
]),
|
|
33338
33365
|
_: 1
|
|
33339
|
-
})) : (S(), le("section",
|
|
33366
|
+
})) : (S(), le("section", ML, [
|
|
33340
33367
|
z.value.length ? (S(), Z(te, {
|
|
33341
33368
|
key: 0,
|
|
33342
33369
|
modelValue: H.value,
|
|
@@ -33346,8 +33373,8 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33346
33373
|
onChange: we
|
|
33347
33374
|
}, vt({
|
|
33348
33375
|
kong: N(() => [
|
|
33349
|
-
ee("div",
|
|
33350
|
-
ee("p",
|
|
33376
|
+
ee("div", LL, [
|
|
33377
|
+
ee("p", FL, ue(u(a)("plugins.select.tabs.kong.description")), 1),
|
|
33351
33378
|
C(Qc, {
|
|
33352
33379
|
"can-delete-cloned-plugin": rt.value,
|
|
33353
33380
|
"can-delete-custom-plugin": je.value,
|
|
@@ -33365,16 +33392,16 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33365
33392
|
])
|
|
33366
33393
|
]),
|
|
33367
33394
|
custom: N(() => [
|
|
33368
|
-
ee("div",
|
|
33395
|
+
ee("div", KL, [
|
|
33369
33396
|
Qe(ie.$slots, "before-custom-tab-content", {}, void 0, !0),
|
|
33370
|
-
ee("p",
|
|
33397
|
+
ee("p", jL, ue(u(a)("plugins.select.tabs.custom.description")), 1),
|
|
33371
33398
|
y.value ? (S(), Z(g, {
|
|
33372
33399
|
key: 0,
|
|
33373
33400
|
appearance: "warning",
|
|
33374
33401
|
class: "custom-plugins-warning",
|
|
33375
33402
|
message: y.value
|
|
33376
33403
|
}, null, 8, ["message"])) : ye("", !0),
|
|
33377
|
-
C(
|
|
33404
|
+
C(AL, {
|
|
33378
33405
|
"can-create-custom-plugin": Ke.value,
|
|
33379
33406
|
"can-delete-cloned-plugin": rt.value,
|
|
33380
33407
|
"can-delete-custom-plugin": je.value,
|
|
@@ -33405,7 +33432,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33405
33432
|
]),
|
|
33406
33433
|
key: "0"
|
|
33407
33434
|
} : void 0
|
|
33408
|
-
]), 1032, ["modelValue", "tabs"])) : (S(), le("div",
|
|
33435
|
+
]), 1032, ["modelValue", "tabs"])) : (S(), le("div", DL, [
|
|
33409
33436
|
y.value ? (S(), Z(g, {
|
|
33410
33437
|
key: 0,
|
|
33411
33438
|
appearance: "warning",
|
|
@@ -33431,16 +33458,16 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33431
33458
|
]);
|
|
33432
33459
|
};
|
|
33433
33460
|
}
|
|
33434
|
-
}),
|
|
33461
|
+
}), BK = /* @__PURE__ */ ze(qL, [["__scopeId", "data-v-40b228cd"]]), BL = {
|
|
33435
33462
|
class: "plugin-select-card-wrapper",
|
|
33436
33463
|
"data-testid": "plugin-catalog-card-wrapper"
|
|
33437
|
-
},
|
|
33464
|
+
}, UL = { class: "plugin-card-header" }, VL = { class: "plugin-card-title" }, zL = {
|
|
33438
33465
|
key: 0,
|
|
33439
33466
|
class: "plugin-card-actions"
|
|
33440
|
-
},
|
|
33467
|
+
}, GL = ["data-testid", "title"], HL = { key: 0 }, WL = ["title"], YL = { class: "plugin-card-footer" }, JL = { class: "plugin-card-footer-extra" }, XL = {
|
|
33441
33468
|
key: 0,
|
|
33442
33469
|
class: "custom-plugin-badges"
|
|
33443
|
-
},
|
|
33470
|
+
}, ZL = /* @__PURE__ */ Pe({
|
|
33444
33471
|
__name: "PluginCatalogCard",
|
|
33445
33472
|
props: {
|
|
33446
33473
|
config: {},
|
|
@@ -33459,7 +33486,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33459
33486
|
};
|
|
33460
33487
|
return (w, T) => {
|
|
33461
33488
|
const O = xe("KButton"), q = xe("KDropdownItem"), A = xe("KDropdownMenu"), I = xe("KBadge"), P = xe("RouterLink"), R = xe("KTooltip");
|
|
33462
|
-
return S(), le("div",
|
|
33489
|
+
return S(), le("div", BL, [
|
|
33463
33490
|
C(R, {
|
|
33464
33491
|
text: e.plugin.disabledMessage
|
|
33465
33492
|
}, {
|
|
@@ -33470,8 +33497,8 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33470
33497
|
to: v.value
|
|
33471
33498
|
}, {
|
|
33472
33499
|
default: N(() => [
|
|
33473
|
-
ee("div",
|
|
33474
|
-
ee("div",
|
|
33500
|
+
ee("div", UL, [
|
|
33501
|
+
ee("div", VL, [
|
|
33475
33502
|
C(u(qi), {
|
|
33476
33503
|
alt: e.plugin.name,
|
|
33477
33504
|
class: "plugin-card-icon",
|
|
@@ -33482,7 +33509,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33482
33509
|
class: yt({ "non-custom-title": !x.value })
|
|
33483
33510
|
}, ue(e.plugin.name), 3)
|
|
33484
33511
|
]),
|
|
33485
|
-
_.value ? (S(), le("div",
|
|
33512
|
+
_.value ? (S(), le("div", zL, [
|
|
33486
33513
|
C(A, {
|
|
33487
33514
|
"data-testid": "custom-plugin-actions",
|
|
33488
33515
|
"kpop-attributes": { placement: "bottom-end" },
|
|
@@ -33539,16 +33566,16 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33539
33566
|
"data-testid": `${e.plugin.id}-card-body`,
|
|
33540
33567
|
title: e.plugin.available ? e.plugin.name : u(r)("plugins.select.unavailable_tooltip")
|
|
33541
33568
|
}, [
|
|
33542
|
-
e.plugin.description ? (S(), le("div",
|
|
33569
|
+
e.plugin.description ? (S(), le("div", HL, [
|
|
33543
33570
|
ee("div", {
|
|
33544
33571
|
title: e.plugin.description
|
|
33545
|
-
}, ue(e.plugin.description), 9,
|
|
33572
|
+
}, ue(e.plugin.description), 9, WL)
|
|
33546
33573
|
])) : ye("", !0)
|
|
33547
|
-
], 8,
|
|
33548
|
-
ee("div",
|
|
33574
|
+
], 8, GL),
|
|
33575
|
+
ee("div", YL, [
|
|
33549
33576
|
ee("div", null, ue(b.value ? u(r)("actions.create_custom") : u(r)("actions.configure")), 1),
|
|
33550
|
-
ee("div",
|
|
33551
|
-
l.value.length ? (S(), le("div",
|
|
33577
|
+
ee("div", JL, [
|
|
33578
|
+
l.value.length ? (S(), le("div", XL, [
|
|
33552
33579
|
(S(!0), le(Ge, null, et(l.value, (j) => (S(), Z(I, {
|
|
33553
33580
|
key: j,
|
|
33554
33581
|
appearance: "info"
|
|
@@ -33571,7 +33598,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33571
33598
|
]);
|
|
33572
33599
|
};
|
|
33573
33600
|
}
|
|
33574
|
-
}),
|
|
33601
|
+
}), QL = /* @__PURE__ */ ze(ZL, [["__scopeId", "data-v-cabcdb98"]]), eF = ["data-testid"], tF = { class: "group-icon-wrapper" }, nF = { class: "group-title-text" }, iF = ["data-testid"], oF = ["data-testid"], aF = /* @__PURE__ */ Pe({
|
|
33575
33602
|
__name: "PluginCatalogGroup",
|
|
33576
33603
|
props: {
|
|
33577
33604
|
config: {},
|
|
@@ -33639,18 +33666,18 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33639
33666
|
class: "group-title",
|
|
33640
33667
|
"data-testid": `plugin-group-${e.name}-title`
|
|
33641
33668
|
}, [
|
|
33642
|
-
ee("div",
|
|
33669
|
+
ee("div", tF, [
|
|
33643
33670
|
(S(), Z(Dt(i.value), {
|
|
33644
33671
|
color: `var(--kui-color-text-decorative-purple, ${u(Ed)})`
|
|
33645
33672
|
}, null, 8, ["color"]))
|
|
33646
33673
|
]),
|
|
33647
|
-
ee("span",
|
|
33648
|
-
], 8,
|
|
33674
|
+
ee("span", nF, ue(e.name), 1)
|
|
33675
|
+
], 8, eF)) : ye("", !0),
|
|
33649
33676
|
ee("div", {
|
|
33650
33677
|
class: "plugin-card-container",
|
|
33651
33678
|
"data-testid": `plugin-group-${e.name}`
|
|
33652
33679
|
}, [
|
|
33653
|
-
(S(!0), le(Ge, null, et(l.value, (_) => (S(), Z(
|
|
33680
|
+
(S(!0), le(Ge, null, et(l.value, (_) => (S(), Z(QL, {
|
|
33654
33681
|
key: `plugin-card-${_.id}`,
|
|
33655
33682
|
"can-delete-cloned-plugin": e.canDeleteClonedPlugin,
|
|
33656
33683
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
@@ -33667,7 +33694,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33667
33694
|
ee("span", {
|
|
33668
33695
|
class: "plugin-card-new-badge",
|
|
33669
33696
|
"data-testid": `plugin-card-${_.id}-new-badge`
|
|
33670
|
-
}, ue(u(r)("labels.new")), 9,
|
|
33697
|
+
}, ue(u(r)("labels.new")), 9, oF)
|
|
33671
33698
|
]),
|
|
33672
33699
|
key: "0"
|
|
33673
33700
|
} : void 0
|
|
@@ -33677,7 +33704,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33677
33704
|
class: "show-all-plugin-card",
|
|
33678
33705
|
onClick: d
|
|
33679
33706
|
}, ue(u(r)("plugins.select.show_all")), 1)) : ye("", !0)
|
|
33680
|
-
], 8,
|
|
33707
|
+
], 8, iF),
|
|
33681
33708
|
f.value && c.value ? (S(), Z(os, {
|
|
33682
33709
|
key: 1,
|
|
33683
33710
|
config: e.config,
|
|
@@ -33687,7 +33714,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33687
33714
|
}, null, 8, ["config", "plugin"])) : ye("", !0)
|
|
33688
33715
|
], 64));
|
|
33689
33716
|
}
|
|
33690
|
-
}), ed = /* @__PURE__ */ ze(
|
|
33717
|
+
}), ed = /* @__PURE__ */ ze(aF, [["__scopeId", "data-v-f9a9a47c"]]), rF = { class: "plugin-select-grid" }, sF = { class: "empty-state-title" }, lF = { class: "empty-state-description" }, uF = { key: 1 }, cF = /* @__PURE__ */ Pe({
|
|
33691
33718
|
__name: "PluginCatalogGrid",
|
|
33692
33719
|
props: {
|
|
33693
33720
|
config: {},
|
|
@@ -33705,7 +33732,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33705
33732
|
return (a, l) => {
|
|
33706
33733
|
var d;
|
|
33707
33734
|
const s = xe("KEmptyState");
|
|
33708
|
-
return S(), le("div",
|
|
33735
|
+
return S(), le("div", rF, [
|
|
33709
33736
|
Object.keys(e.pluginList || []).length ? ye("", !0) : (S(), Z(s, {
|
|
33710
33737
|
key: 0,
|
|
33711
33738
|
"action-button-visible": !1,
|
|
@@ -33714,10 +33741,10 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33714
33741
|
"icon-variant": "kong"
|
|
33715
33742
|
}, {
|
|
33716
33743
|
title: N(() => [
|
|
33717
|
-
ee("span",
|
|
33744
|
+
ee("span", sF, ue(u(o)("plugins.select.tabs.kong.empty_title")), 1)
|
|
33718
33745
|
]),
|
|
33719
33746
|
default: N(() => [
|
|
33720
|
-
ee("span",
|
|
33747
|
+
ee("span", lF, ue(u(o)("plugins.select.tabs.kong.empty_description")), 1)
|
|
33721
33748
|
]),
|
|
33722
33749
|
_: 1
|
|
33723
33750
|
})),
|
|
@@ -33739,7 +33766,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33739
33766
|
])) : ye("", !0)
|
|
33740
33767
|
], 64);
|
|
33741
33768
|
}), 256)),
|
|
33742
|
-
(d = e.pluginList) != null && d["Query Result"] ? (S(), le("div",
|
|
33769
|
+
(d = e.pluginList) != null && d["Query Result"] ? (S(), le("div", uF, [
|
|
33743
33770
|
C(ed, {
|
|
33744
33771
|
"can-delete-cloned-plugin": e.canDeleteClonedPlugin,
|
|
33745
33772
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
@@ -33755,17 +33782,17 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33755
33782
|
]);
|
|
33756
33783
|
};
|
|
33757
33784
|
}
|
|
33758
|
-
}),
|
|
33785
|
+
}), dF = /* @__PURE__ */ ze(cF, [["__scopeId", "data-v-e3bf3819"]]), pF = {
|
|
33759
33786
|
class: "plugin-name-cell",
|
|
33760
33787
|
"data-testid": "plugin-catalog-list-view-name"
|
|
33761
|
-
},
|
|
33788
|
+
}, fF = ["title"], mF = ["title"], gF = {
|
|
33762
33789
|
class: "plugin-action-cell",
|
|
33763
33790
|
"data-testid": "plugin-catalog-list-view-action"
|
|
33764
|
-
},
|
|
33791
|
+
}, hF = {
|
|
33765
33792
|
key: 0,
|
|
33766
33793
|
class: "plugin-more-action-cell",
|
|
33767
33794
|
"data-testid": "plugin-catalog-list-view-more-actions"
|
|
33768
|
-
},
|
|
33795
|
+
}, yF = /* @__PURE__ */ Pe({
|
|
33769
33796
|
__name: "PluginCatalogListView",
|
|
33770
33797
|
props: {
|
|
33771
33798
|
config: {},
|
|
@@ -33853,7 +33880,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33853
33880
|
onSort: q
|
|
33854
33881
|
}, {
|
|
33855
33882
|
name: N(({ row: F }) => [
|
|
33856
|
-
ee("span",
|
|
33883
|
+
ee("span", pF, [
|
|
33857
33884
|
C(u(qi), {
|
|
33858
33885
|
"data-testid": `plugin-catalog-list-view-${F.plugin.id}-icon`,
|
|
33859
33886
|
name: y(F.plugin),
|
|
@@ -33863,7 +33890,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33863
33890
|
class: "plugin-name-text",
|
|
33864
33891
|
"data-testid": "plugin-catalog-list-view-name-text",
|
|
33865
33892
|
title: F.name
|
|
33866
|
-
}, ue(F.name), 9,
|
|
33893
|
+
}, ue(F.name), 9, fF),
|
|
33867
33894
|
F.badge ? (S(), Z(P, {
|
|
33868
33895
|
key: 0,
|
|
33869
33896
|
appearance: "info",
|
|
@@ -33882,10 +33909,10 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33882
33909
|
class: "plugin-description-cell",
|
|
33883
33910
|
"data-testid": "plugin-catalog-list-view-description",
|
|
33884
33911
|
title: F.description
|
|
33885
|
-
}, ue(F.description), 9,
|
|
33912
|
+
}, ue(F.description), 9, mF)
|
|
33886
33913
|
]),
|
|
33887
33914
|
action: N(({ row: F }) => [
|
|
33888
|
-
ee("div",
|
|
33915
|
+
ee("div", gF, [
|
|
33889
33916
|
C(R, {
|
|
33890
33917
|
appearance: "tertiary",
|
|
33891
33918
|
"data-testid": "plugin-catalog-list-view-configure-btn",
|
|
@@ -33900,7 +33927,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33900
33927
|
])
|
|
33901
33928
|
]),
|
|
33902
33929
|
"more-actions": N(({ row: F }) => [
|
|
33903
|
-
x(F.plugin) ? (S(), le("div",
|
|
33930
|
+
x(F.plugin) ? (S(), le("div", hF, [
|
|
33904
33931
|
C(Q, {
|
|
33905
33932
|
appearance: "tertiary",
|
|
33906
33933
|
class: "actions-trigger",
|
|
@@ -33960,17 +33987,17 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
33960
33987
|
], 64);
|
|
33961
33988
|
};
|
|
33962
33989
|
}
|
|
33963
|
-
}),
|
|
33990
|
+
}), vF = /* @__PURE__ */ ze(yF, [["__scopeId", "data-v-986d34db"]]), _F = {
|
|
33964
33991
|
class: "plugin-catalog",
|
|
33965
33992
|
"data-testid": "plugin-catalog"
|
|
33966
|
-
},
|
|
33993
|
+
}, bF = {
|
|
33967
33994
|
class: "plugin-filter",
|
|
33968
33995
|
"data-testid": "plugin-filter"
|
|
33969
|
-
},
|
|
33996
|
+
}, wF = { class: "plugin-filter-title" }, kF = { class: "featured-title" }, CF = { class: "plugin-featured-filter" }, EF = ["data-testid"], xF = { class: "group-title" }, SF = { class: "plugin-type-filter" }, AF = ["data-testid"], IF = { class: "plugins-container" }, TF = { class: "plugins-filter-input-container" }, $F = { class: "icon-container" }, OF = { key: 0 }, PF = {
|
|
33970
33997
|
key: 3,
|
|
33971
33998
|
"aria-live": "polite",
|
|
33972
33999
|
class: "plugins-results-container"
|
|
33973
|
-
},
|
|
34000
|
+
}, NF = /* @__PURE__ */ Pe({
|
|
33974
34001
|
__name: "PluginCatalog",
|
|
33975
34002
|
props: {
|
|
33976
34003
|
config: {},
|
|
@@ -34192,9 +34219,9 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34192
34219
|
(se = q.value) == null || se.abort();
|
|
34193
34220
|
}), (se, ie) => {
|
|
34194
34221
|
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");
|
|
34195
|
-
return S(), le("div",
|
|
34196
|
-
ee("div",
|
|
34197
|
-
ee("div",
|
|
34222
|
+
return S(), le("div", _F, [
|
|
34223
|
+
ee("div", bF, [
|
|
34224
|
+
ee("div", wF, [
|
|
34198
34225
|
Le(ue(u(i)("plugins.select.filter.title")) + " ", 1),
|
|
34199
34226
|
C(Y, {
|
|
34200
34227
|
appearance: "tertiary",
|
|
@@ -34214,10 +34241,10 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34214
34241
|
"onUpdate:modelValue": ie[0] || (ie[0] = (ve) => p.value = ve)
|
|
34215
34242
|
}, {
|
|
34216
34243
|
title: N(() => [
|
|
34217
|
-
ee("div",
|
|
34244
|
+
ee("div", kF, ue(u(i)("plugins.select.filter.featured")), 1)
|
|
34218
34245
|
]),
|
|
34219
34246
|
default: N(() => [
|
|
34220
|
-
ee("div",
|
|
34247
|
+
ee("div", CF, [
|
|
34221
34248
|
(S(!0), le(Ge, null, et(u(Ys), (ve) => (S(), le("div", {
|
|
34222
34249
|
key: ve,
|
|
34223
34250
|
class: "plugin-filter-item",
|
|
@@ -34237,7 +34264,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34237
34264
|
}),
|
|
34238
34265
|
_: 2
|
|
34239
34266
|
}, 1024)
|
|
34240
|
-
], 8,
|
|
34267
|
+
], 8, EF))), 128))
|
|
34241
34268
|
])
|
|
34242
34269
|
]),
|
|
34243
34270
|
_: 1
|
|
@@ -34247,10 +34274,10 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34247
34274
|
"onUpdate:modelValue": ie[1] || (ie[1] = (ve) => m.value = ve)
|
|
34248
34275
|
}, {
|
|
34249
34276
|
title: N(() => [
|
|
34250
|
-
ee("div",
|
|
34277
|
+
ee("div", xF, ue(u(i)("plugins.select.filter.type")), 1)
|
|
34251
34278
|
]),
|
|
34252
34279
|
default: N(() => [
|
|
34253
|
-
ee("div",
|
|
34280
|
+
ee("div", SF, [
|
|
34254
34281
|
(S(!0), le(Ge, null, et(u(Js), (ve) => (S(), le("div", {
|
|
34255
34282
|
key: ve,
|
|
34256
34283
|
class: "plugin-filter-item",
|
|
@@ -34274,14 +34301,14 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34274
34301
|
}),
|
|
34275
34302
|
_: 2
|
|
34276
34303
|
}, 1032, ["data-testid"])
|
|
34277
|
-
], 8,
|
|
34304
|
+
], 8, AF))), 128))
|
|
34278
34305
|
])
|
|
34279
34306
|
]),
|
|
34280
34307
|
_: 1
|
|
34281
34308
|
}, 8, ["modelValue"])
|
|
34282
34309
|
]),
|
|
34283
|
-
ee("div",
|
|
34284
|
-
ee("div",
|
|
34310
|
+
ee("div", IF, [
|
|
34311
|
+
ee("div", TF, [
|
|
34285
34312
|
C(Te, {
|
|
34286
34313
|
ref: "filter-input",
|
|
34287
34314
|
modelValue: c.value,
|
|
@@ -34292,7 +34319,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34292
34319
|
placeholder: u(i)("search.placeholder.search_plugins"),
|
|
34293
34320
|
type: "search"
|
|
34294
34321
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
34295
|
-
ee("div",
|
|
34322
|
+
ee("div", $F, [
|
|
34296
34323
|
(S(), Z(Dt(I.value), {
|
|
34297
34324
|
class: "plugins-filter-icon",
|
|
34298
34325
|
color: `var(--kui-icon-color-primary, ${u(sy)})`,
|
|
@@ -34300,7 +34327,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34300
34327
|
}, null, 8, ["color"]))
|
|
34301
34328
|
])
|
|
34302
34329
|
]),
|
|
34303
|
-
y.value ? (S(), le("section",
|
|
34330
|
+
y.value ? (S(), le("section", OF, [
|
|
34304
34331
|
C(Ae, {
|
|
34305
34332
|
class: "plugins-skeleton-title",
|
|
34306
34333
|
width: "10"
|
|
@@ -34330,14 +34357,14 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34330
34357
|
ee("h5", null, ue(u(i)("search.no_results", { filter: c.value })), 1)
|
|
34331
34358
|
]),
|
|
34332
34359
|
_: 1
|
|
34333
|
-
})) : (S(), le("section",
|
|
34360
|
+
})) : (S(), le("section", PF, [
|
|
34334
34361
|
b.value ? (S(), Z(ce, {
|
|
34335
34362
|
key: 0,
|
|
34336
34363
|
appearance: "warning",
|
|
34337
34364
|
class: "custom-plugins-warning",
|
|
34338
34365
|
message: b.value
|
|
34339
34366
|
}, null, 8, ["message"])) : ye("", !0),
|
|
34340
|
-
O.value ? (S(), Z(
|
|
34367
|
+
O.value ? (S(), Z(vF, {
|
|
34341
34368
|
key: 1,
|
|
34342
34369
|
"can-delete-cloned-plugin": Ue.value,
|
|
34343
34370
|
"can-delete-custom-plugin": pe.value,
|
|
@@ -34346,7 +34373,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34346
34373
|
config: e.config,
|
|
34347
34374
|
"plugin-list": $.value,
|
|
34348
34375
|
"onDelete:success": Be
|
|
34349
|
-
}, null, 8, ["can-delete-cloned-plugin", "can-delete-custom-plugin", "can-edit-cloned-plugin", "can-edit-custom-plugin", "config", "plugin-list"])) : (S(), Z(
|
|
34376
|
+
}, null, 8, ["can-delete-cloned-plugin", "can-delete-custom-plugin", "can-edit-cloned-plugin", "can-edit-custom-plugin", "config", "plugin-list"])) : (S(), Z(dF, {
|
|
34350
34377
|
key: 2,
|
|
34351
34378
|
"can-delete-cloned-plugin": Ue.value,
|
|
34352
34379
|
"can-delete-custom-plugin": pe.value,
|
|
@@ -34362,16 +34389,16 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34362
34389
|
]);
|
|
34363
34390
|
};
|
|
34364
34391
|
}
|
|
34365
|
-
}),
|
|
34392
|
+
}), UK = /* @__PURE__ */ ze(NF, [["__scopeId", "data-v-679e985d"]]), RF = {
|
|
34366
34393
|
key: 1,
|
|
34367
34394
|
class: "datakit-config-card-canvas"
|
|
34368
|
-
},
|
|
34395
|
+
}, MF = {
|
|
34369
34396
|
class: "config-card-details-label",
|
|
34370
34397
|
"data-testid": "datakit-configuration-label"
|
|
34371
|
-
},
|
|
34398
|
+
}, LF = {
|
|
34372
34399
|
class: "config-card-details-value datakit-canvas-container",
|
|
34373
34400
|
"data-testid": "datakit-configuration-canvas"
|
|
34374
|
-
},
|
|
34401
|
+
}, FF = { class: "canvas-wrapper" }, KF = /* @__PURE__ */ Pe({
|
|
34375
34402
|
__name: "DatakitConfigCardCanvas",
|
|
34376
34403
|
props: {
|
|
34377
34404
|
pluginData: {},
|
|
@@ -34384,8 +34411,8 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34384
34411
|
});
|
|
34385
34412
|
return qp(e.pluginData), (n, i) => {
|
|
34386
34413
|
const o = xe("KLabel");
|
|
34387
|
-
return t.value ? (S(), le("div",
|
|
34388
|
-
ee("div",
|
|
34414
|
+
return t.value ? (S(), le("div", RF, [
|
|
34415
|
+
ee("div", MF, [
|
|
34389
34416
|
C(o, null, {
|
|
34390
34417
|
default: N(() => [...i[0] || (i[0] = [
|
|
34391
34418
|
ee("span", { class: "label-content" }, " Nodes ", -1)
|
|
@@ -34393,8 +34420,8 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34393
34420
|
_: 1
|
|
34394
34421
|
})
|
|
34395
34422
|
]),
|
|
34396
|
-
ee("div",
|
|
34397
|
-
ee("div",
|
|
34423
|
+
ee("div", LF, [
|
|
34424
|
+
ee("div", FF, [
|
|
34398
34425
|
C(du, {
|
|
34399
34426
|
class: "datakit-flow-panels",
|
|
34400
34427
|
mode: "view",
|
|
@@ -34408,7 +34435,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34408
34435
|
}, null, 8, ["item"]));
|
|
34409
34436
|
};
|
|
34410
34437
|
}
|
|
34411
|
-
}),
|
|
34438
|
+
}), jF = /* @__PURE__ */ ze(KF, [["__scopeId", "data-v-9a3ef1ac"]]), DF = { class: "kong-ui-entity-plugin-config-card" }, qF = { class: "name-cell-wrapper" }, BF = { class: "info-name" }, UF = { key: 0 }, VF = { key: 0 }, zF = { key: 0 }, GF = { key: 0 }, HF = { key: 0 }, Ts = "config", WF = /* @__PURE__ */ Pe({
|
|
34412
34439
|
__name: "PluginConfigCard",
|
|
34413
34440
|
props: {
|
|
34414
34441
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -34548,7 +34575,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34548
34575
|
}
|
|
34549
34576
|
}), (k, w) => {
|
|
34550
34577
|
const T = xe("KSkeleton"), O = xe("KEmptyState"), q = xe("KCopy");
|
|
34551
|
-
return S(), le("div",
|
|
34578
|
+
return S(), le("div", DF, [
|
|
34552
34579
|
b.value ? (S(), Z(T, {
|
|
34553
34580
|
key: 0,
|
|
34554
34581
|
"data-testid": "plugin-config-card-loader",
|
|
@@ -34580,13 +34607,13 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34580
34607
|
onLoading: w[2] || (w[2] = (A) => k.$emit("loading", A))
|
|
34581
34608
|
}, vt({
|
|
34582
34609
|
name: N((A) => [
|
|
34583
|
-
ee("div",
|
|
34610
|
+
ee("div", qF, [
|
|
34584
34611
|
C(u(qi), {
|
|
34585
34612
|
class: "plugin-icon",
|
|
34586
34613
|
name: u(l)("rowValue", A),
|
|
34587
34614
|
size: 24
|
|
34588
34615
|
}, null, 8, ["name"]),
|
|
34589
|
-
ee("span",
|
|
34616
|
+
ee("span", BF, ue(u(r).getDisplayName(u(l)("rowValue", A))), 1)
|
|
34590
34617
|
])
|
|
34591
34618
|
]),
|
|
34592
34619
|
consumer: N((A) => [
|
|
@@ -34603,7 +34630,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34603
34630
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34604
34631
|
"data-testid": "consumer-copy-uuid",
|
|
34605
34632
|
text: u(l)("rowValue", A).id
|
|
34606
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34633
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", UF, "–"))
|
|
34607
34634
|
]),
|
|
34608
34635
|
route: N((A) => [
|
|
34609
34636
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34619,7 +34646,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34619
34646
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34620
34647
|
"data-testid": "route-copy-uuid",
|
|
34621
34648
|
text: u(l)("rowValue", A).id
|
|
34622
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34649
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", VF, "–"))
|
|
34623
34650
|
]),
|
|
34624
34651
|
service: N((A) => [
|
|
34625
34652
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34635,7 +34662,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34635
34662
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34636
34663
|
"data-testid": "service-copy-uuid",
|
|
34637
34664
|
text: u(l)("rowValue", A).id
|
|
34638
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34665
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", zF, "–"))
|
|
34639
34666
|
]),
|
|
34640
34667
|
consumer_group: N((A) => [
|
|
34641
34668
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34651,7 +34678,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34651
34678
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34652
34679
|
"data-testid": "consumer-group-copy-uuid",
|
|
34653
34680
|
text: u(l)("rowValue", A).id
|
|
34654
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34681
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", GF, "–"))
|
|
34655
34682
|
]),
|
|
34656
34683
|
partials: N((A) => {
|
|
34657
34684
|
var I, P, R, j, Q, G, oe, F, X;
|
|
@@ -34672,7 +34699,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34672
34699
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34673
34700
|
"data-testid": "partial-copy-uuid",
|
|
34674
34701
|
text: (X = u(l)("rowValue", A)) == null ? void 0 : X[0].id
|
|
34675
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34702
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", HF, "–"))
|
|
34676
34703
|
];
|
|
34677
34704
|
}),
|
|
34678
34705
|
_: 2
|
|
@@ -34680,7 +34707,7 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34680
34707
|
e.config.pluginType === "datakit" && e.config.app === "konnect" ? {
|
|
34681
34708
|
name: "config-card-item-nodes",
|
|
34682
34709
|
fn: N((A) => [
|
|
34683
|
-
C(
|
|
34710
|
+
C(jF, {
|
|
34684
34711
|
item: A.row,
|
|
34685
34712
|
"plugin-data": A.record
|
|
34686
34713
|
}, null, 8, ["item", "plugin-data"])
|
|
@@ -34691,12 +34718,12 @@ const UM = { class: "kong-ui-entities-plugin-form" }, VM = {
|
|
|
34691
34718
|
]);
|
|
34692
34719
|
};
|
|
34693
34720
|
}
|
|
34694
|
-
}),
|
|
34721
|
+
}), VK = /* @__PURE__ */ ze(WF, [["__scopeId", "data-v-03dcf2b4"]]), { usePluginMetaData: zK, useProvideExperimentalFreeForms: GK } = lt;
|
|
34695
34722
|
export {
|
|
34696
|
-
|
|
34723
|
+
Tt as ArrayField,
|
|
34697
34724
|
kn as BooleanField,
|
|
34698
34725
|
mm as CommonForm,
|
|
34699
|
-
|
|
34726
|
+
jK as CustomPluginForm,
|
|
34700
34727
|
ui as DynamicLayout,
|
|
34701
34728
|
$p as EXPERIMENTAL_FREE_FORM_PROVIDER,
|
|
34702
34729
|
lo as EntityTypeIdField,
|
|
@@ -34717,19 +34744,19 @@ export {
|
|
|
34717
34744
|
zp as NodeBadge,
|
|
34718
34745
|
Yt as NumberField,
|
|
34719
34746
|
Gt as ObjectField,
|
|
34720
|
-
|
|
34721
|
-
|
|
34747
|
+
UK as PluginCatalog,
|
|
34748
|
+
VK as PluginConfigCard,
|
|
34722
34749
|
bI as PluginConfigurationForm,
|
|
34723
34750
|
Ys as PluginFeaturedArray,
|
|
34724
|
-
|
|
34725
|
-
|
|
34751
|
+
DK as PluginForm,
|
|
34752
|
+
ZK as PluginGroup,
|
|
34726
34753
|
mc as PluginGroupArray,
|
|
34727
34754
|
Js as PluginGroupArraySortedAlphabetically,
|
|
34728
|
-
|
|
34729
|
-
|
|
34755
|
+
YK as PluginIcon,
|
|
34756
|
+
qK as PluginList,
|
|
34730
34757
|
Ws as PluginPartialType,
|
|
34731
|
-
|
|
34732
|
-
|
|
34758
|
+
QK as PluginScope,
|
|
34759
|
+
BK as PluginSelect,
|
|
34733
34760
|
Hm as PluginSelectCard,
|
|
34734
34761
|
Qc as PluginSelectGrid,
|
|
34735
34762
|
Na as StringArrayField,
|
|
@@ -34743,12 +34770,12 @@ export {
|
|
|
34743
34770
|
GE as buildSchemaMap,
|
|
34744
34771
|
zl as defaultLabelFormatter,
|
|
34745
34772
|
ra as generalizePath,
|
|
34746
|
-
|
|
34773
|
+
JK as getPluginIconURL,
|
|
34747
34774
|
Fm as pluginConfigRegistry,
|
|
34748
34775
|
ot as pluginEndpoints,
|
|
34749
34776
|
qp as provideEditorStore,
|
|
34750
34777
|
tx as provideFormShared,
|
|
34751
|
-
|
|
34778
|
+
EK as renderRuleExactMatch,
|
|
34752
34779
|
nf as replaceByDictionary,
|
|
34753
34780
|
of as replaceByDictionaryInFieldName,
|
|
34754
34781
|
Ut as useEditorStore,
|
|
@@ -34764,9 +34791,9 @@ export {
|
|
|
34764
34791
|
rx as useLabelPath,
|
|
34765
34792
|
Gl as useMapField,
|
|
34766
34793
|
nx as useOptionalFormShared,
|
|
34767
|
-
|
|
34768
|
-
|
|
34769
|
-
|
|
34794
|
+
zK as usePluginMetaData,
|
|
34795
|
+
GK as useProvideExperimentalFreeForms,
|
|
34796
|
+
KK as useProvideFreeFormPluginLayout,
|
|
34770
34797
|
ox as useSchemaExposer,
|
|
34771
34798
|
HE as useSchemaHelpers
|
|
34772
34799
|
};
|