@kong-ui-public/entities-plugins 9.235.0 → 9.236.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities-plugins.es.js +483 -477
- package/dist/entities-plugins.umd.js +22 -22
- package/dist/types/components/free-form/plugins/saml.d.ts +3 -0
- package/dist/types/components/free-form/plugins/saml.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/vault-auth.d.ts +3 -0
- package/dist/types/components/free-form/plugins/vault-auth.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 Bn, PLUGIN_FORM_LAYOUT_STATE as ml, SupportedEntityType as ti, EntityBaseForm as md, useHelpers as Aa, EntityBaseFormType as Oi, useBaseFormDeckOptions as nh, DeckCodeBlock as ih, TerraformCodeBlock as oh, YamlCodeBlock as ah, JsonCodeBlock as rh, useTableState as sh, useGatewayFeatureSupported as lh, useFetcher as uh, useDeleteUrlBuilder as ch, FetcherStatus as dh, EntityBaseTable as ph, PermissionsWrapper as Pi, TableTags as fh, EntityFilter as mh, EntityToggleModal as gh, EntityDeleteModal as gd, EntityTypes as hd, ConfigCardItem as hh, ConfigurationSchemaSection as to, useSchemaProvider as yh, EntityBaseConfigCard as vh, InternalLinkItem as Ho } from "@kong-ui-public/entities-shared";
|
|
13
13
|
import { PluginIcon as qi } from "@kong-ui-public/entities-plugins-icon";
|
|
14
|
-
import { PluginIcon as
|
|
14
|
+
import { PluginIcon as LK, getPluginIconURL as FK } 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 jK, PluginScope as DK } from "@kong-ui-public/entities-plugins-metadata";
|
|
17
17
|
import { FORMS_CONFIG as Yn, composables as bh, AUTOFILL_SLOT as Jn, FORMS_API_KEY as yd, FieldScopedEntitySelect as wh, AUTOFILL_SLOT_NAME as Pn, getSharedFormName as vd, customFields as Os, sharedForms as kh, VueFormGenerator as Ch } from "@kong-ui-public/forms";
|
|
18
18
|
import { marked as or } from "marked";
|
|
19
19
|
import Eh from "dompurify";
|
|
@@ -3098,7 +3098,7 @@ const Op = [
|
|
|
3098
3098
|
"RS256",
|
|
3099
3099
|
"RS384",
|
|
3100
3100
|
"RS512"
|
|
3101
|
-
],
|
|
3101
|
+
], ze = (e, t) => {
|
|
3102
3102
|
const n = e.__vccOpts || e;
|
|
3103
3103
|
for (const [i, o] of t)
|
|
3104
3104
|
n[i] = o;
|
|
@@ -3117,7 +3117,7 @@ function Vk(e, t) {
|
|
|
3117
3117
|
}, null, -1)
|
|
3118
3118
|
])]);
|
|
3119
3119
|
}
|
|
3120
|
-
const zk = /* @__PURE__ */
|
|
3120
|
+
const zk = /* @__PURE__ */ ze(Bk, [["render", Vk]]), Gk = {}, Hk = {
|
|
3121
3121
|
height: "16",
|
|
3122
3122
|
viewBox: "0 -960 960 960",
|
|
3123
3123
|
width: "16",
|
|
@@ -3131,7 +3131,7 @@ function Wk(e, t) {
|
|
|
3131
3131
|
}, null, -1)
|
|
3132
3132
|
])]);
|
|
3133
3133
|
}
|
|
3134
|
-
const Yk = /* @__PURE__ */
|
|
3134
|
+
const Yk = /* @__PURE__ */ ze(Gk, [["render", Wk]]), $a = [
|
|
3135
3135
|
{
|
|
3136
3136
|
id: "external_interaction",
|
|
3137
3137
|
colors: {
|
|
@@ -6973,7 +6973,7 @@ const [Z1, Q1] = pl(
|
|
|
6973
6973
|
const ne = Be.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 = qe(B.id), De = !!(ne && V && Ee),
|
|
6976
|
+
} : B.position, Ne = qe(B.id), De = !!(ne && V && Ee), Ve = (De ? Ne : 0) + Ce.value + 1;
|
|
6977
6977
|
return {
|
|
6978
6978
|
id: B.id,
|
|
6979
6979
|
type: "flow",
|
|
@@ -6981,7 +6981,7 @@ const [Z1, Q1] = pl(
|
|
|
6981
6981
|
data: B,
|
|
6982
6982
|
deletable: !o && !vr(B),
|
|
6983
6983
|
parentNode: De ? ne.id : void 0,
|
|
6984
|
-
zIndex:
|
|
6984
|
+
zIndex: Ve * dr + hy
|
|
6985
6985
|
};
|
|
6986
6986
|
})
|
|
6987
6987
|
), ge = L(
|
|
@@ -7034,9 +7034,9 @@ const [Z1, Q1] = pl(
|
|
|
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
7036
|
const De = z(V);
|
|
7037
|
-
let
|
|
7037
|
+
let Ve = !1, tt = !1;
|
|
7038
7038
|
const Je = [], Fe = [], $e = (Ne == null ? void 0 : Ne.io) === "input" ? De.filter(($t) => !$t.targetField) : De.filter(($t) => !!$t.targetField);
|
|
7039
|
-
$e.length > 0 && (
|
|
7039
|
+
$e.length > 0 && (Ve = !0, $e.forEach(($t) => {
|
|
7040
7040
|
Fe.push(aa($t, X)), W($t.id, !1);
|
|
7041
7041
|
}));
|
|
7042
7042
|
const _t = (Ne == null ? void 0 : Ne.io) === "input" ? Ne != null && Ne.field ? De.filter(($t) => $t.targetField === Ne.field) : De.filter(($t) => !!$t.targetField) : De.filter(($t) => !$t.targetField);
|
|
@@ -7067,11 +7067,11 @@ const [Z1, Q1] = pl(
|
|
|
7067
7067
|
Ne == null ? void 0 : Ne.field,
|
|
7068
7068
|
X
|
|
7069
7069
|
)
|
|
7070
|
-
),
|
|
7070
|
+
), Ve || tt) {
|
|
7071
7071
|
if (!c)
|
|
7072
7072
|
throw $(), new Error("Expected confirm modal to be provided here when reachable");
|
|
7073
7073
|
if (!await c(
|
|
7074
|
-
m(
|
|
7074
|
+
m(Ve ? "plugins.free-form.datakit.flow_editor.confirm.message.switch" : "plugins.free-form.datakit.flow_editor.confirm.message.override"),
|
|
7075
7075
|
Je,
|
|
7076
7076
|
Fe
|
|
7077
7077
|
)) {
|
|
@@ -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 De,
|
|
7102
|
+
var De, Ve, tt;
|
|
7103
7103
|
if (!B) return;
|
|
7104
7104
|
if (re(B.id)) {
|
|
7105
7105
|
const Je = B.id;
|
|
@@ -7128,7 +7128,7 @@ const [Z1, Q1] = pl(
|
|
|
7128
7128
|
x: Se.x,
|
|
7129
7129
|
y: Se.y,
|
|
7130
7130
|
width: ((De = B.dimensions) == null ? void 0 : De.width) ?? 0,
|
|
7131
|
-
height: ((
|
|
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,
|
|
7134
7134
|
y: Je.y + Je.height / 2
|
|
@@ -7194,14 +7194,14 @@ 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: De } = V.dimensions,
|
|
7197
|
+
const { x: Ee, y: Se } = V.data.position, { width: Ne, height: De } = V.dimensions, Ve = Se, tt = Se + De, 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)) {
|
|
7201
|
-
if (Fe + Ne <= $e) return { x: Fe, y:
|
|
7201
|
+
if (Fe + Ne <= $e) return { x: Fe, y: Ve };
|
|
7202
7202
|
Fe = Math.max(Fe, _t) + s;
|
|
7203
7203
|
}
|
|
7204
|
-
return { x: Fe, y:
|
|
7204
|
+
return { x: Fe, y: Ve };
|
|
7205
7205
|
}
|
|
7206
7206
|
function ke(B) {
|
|
7207
7207
|
if (!B) return;
|
|
@@ -7210,10 +7210,10 @@ 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: De, setViewport:
|
|
7213
|
+
} = ne, Se = V + Ee, { viewport: Ne, dimensions: De, setViewport: Ve } = d, { x: tt, y: Je, zoom: Fe } = Ne.value, { width: $e } = De.value, _t = V * Fe + tt, Dn = Se * Fe + tt, $t = $e - Id - s;
|
|
7214
7214
|
if (Dn <= $t) return;
|
|
7215
7215
|
let Xt = $t - Dn;
|
|
7216
|
-
_t + Xt < 0 && (Xt = -_t), Xt !== 0 &&
|
|
7216
|
+
_t + Xt < 0 && (Xt = -_t), Xt !== 0 && Ve(
|
|
7217
7217
|
{ x: tt + Xt, y: Je, zoom: Fe },
|
|
7218
7218
|
{ duration: by }
|
|
7219
7219
|
);
|
|
@@ -7323,7 +7323,7 @@ const aC = {
|
|
|
7323
7323
|
ee("kbd", rC, ue(u(t)), 1)
|
|
7324
7324
|
], 2));
|
|
7325
7325
|
}
|
|
7326
|
-
}), kr = /* @__PURE__ */
|
|
7326
|
+
}), kr = /* @__PURE__ */ ze(sC, [["__scopeId", "data-v-7ca86b0d"]]), lC = ["onClick"], uC = {
|
|
7327
7327
|
key: 0,
|
|
7328
7328
|
class: "additional-count"
|
|
7329
7329
|
}, pc = 24, cC = 16, dC = /* @__PURE__ */ Pe({
|
|
@@ -7411,7 +7411,7 @@ const aC = {
|
|
|
7411
7411
|
], 4)
|
|
7412
7412
|
], 34));
|
|
7413
7413
|
}
|
|
7414
|
-
}), za = /* @__PURE__ */
|
|
7414
|
+
}), za = /* @__PURE__ */ ze(dC, [["__scopeId", "data-v-45ce7484"]]), pC = /* @__PURE__ */ Pe({
|
|
7415
7415
|
__name: "HandleTwig",
|
|
7416
7416
|
props: {
|
|
7417
7417
|
color: {},
|
|
@@ -7432,7 +7432,7 @@ const aC = {
|
|
|
7432
7432
|
style: Di(t.value)
|
|
7433
7433
|
}, null, 6));
|
|
7434
7434
|
}
|
|
7435
|
-
}), Ga = /* @__PURE__ */
|
|
7435
|
+
}), Ga = /* @__PURE__ */ ze(pC, [["__scopeId", "data-v-74b600f2"]]), fC = /* @__PURE__ */ Pe({
|
|
7436
7436
|
__name: "NodeBadge",
|
|
7437
7437
|
props: {
|
|
7438
7438
|
type: {},
|
|
@@ -7474,7 +7474,7 @@ const aC = {
|
|
|
7474
7474
|
]), 1032, ["class", "size"]);
|
|
7475
7475
|
};
|
|
7476
7476
|
}
|
|
7477
|
-
}), zp = /* @__PURE__ */
|
|
7477
|
+
}), zp = /* @__PURE__ */ ze(fC, [["__scopeId", "data-v-409d29e5"]]), mC = { class: "body" }, gC = { class: "name" }, hC = { class: "handle" }, yC = { class: "handle-label-wrapper" }, vC = { class: "handle-label-wrapper" }, _C = { class: "handle-label text" }, bC = { class: "handle" }, wC = { class: "handle-label-wrapper" }, kC = { class: "handle-label-wrapper" }, CC = { class: "handle-label text" }, EC = {
|
|
7478
7478
|
key: 2,
|
|
7479
7479
|
class: "branch-handles"
|
|
7480
7480
|
}, xC = { class: "handle-label-wrapper" }, SC = { class: "handle-label text" }, AC = /* @__PURE__ */ Pe({
|
|
@@ -7833,7 +7833,7 @@ const aC = {
|
|
|
7833
7833
|
}, void 0, !0) : ye("", !0)
|
|
7834
7834
|
], 2));
|
|
7835
7835
|
}
|
|
7836
|
-
}), Gp = /* @__PURE__ */
|
|
7836
|
+
}), Gp = /* @__PURE__ */ ze(AC, [["__scopeId", "data-v-1de3b7cb"]]), IC = /* @__PURE__ */ Pe({
|
|
7837
7837
|
__name: "GroupNode",
|
|
7838
7838
|
props: {
|
|
7839
7839
|
data: {},
|
|
@@ -7852,7 +7852,7 @@ const aC = {
|
|
|
7852
7852
|
}, null, 8, ["position"])
|
|
7853
7853
|
], 2));
|
|
7854
7854
|
}
|
|
7855
|
-
}), TC = /* @__PURE__ */
|
|
7855
|
+
}), TC = /* @__PURE__ */ ze(IC, [["__scopeId", "data-v-cf30ffea"]]), $C = /* @__PURE__ */ Pe({
|
|
7856
7856
|
__name: "FlowCanvas",
|
|
7857
7857
|
props: {
|
|
7858
7858
|
flowId: {},
|
|
@@ -8068,7 +8068,7 @@ const aC = {
|
|
|
8068
8068
|
}, 16, ["id", "class", "elements-selectable", "max-zoom", "min-zoom", "nodes-connectable", "nodes-draggable"])
|
|
8069
8069
|
], 512));
|
|
8070
8070
|
}
|
|
8071
|
-
}), fc = /* @__PURE__ */
|
|
8071
|
+
}), fc = /* @__PURE__ */ ze($C, [["__scopeId", "data-v-11561a7e"]]);
|
|
8072
8072
|
function Hp() {
|
|
8073
8073
|
const e = ["methods", "logout_methods"];
|
|
8074
8074
|
return {
|
|
@@ -8462,7 +8462,7 @@ const Ri = (e) => {
|
|
|
8462
8462
|
}, null, 8, ["modelValue"])
|
|
8463
8463
|
]));
|
|
8464
8464
|
}
|
|
8465
|
-
}), BC = /* @__PURE__ */
|
|
8465
|
+
}), BC = /* @__PURE__ */ ze(qC, [["__scopeId", "data-v-269e85ed"]]), yc = {
|
|
8466
8466
|
fields: [
|
|
8467
8467
|
{
|
|
8468
8468
|
key: {
|
|
@@ -10579,7 +10579,7 @@ const NE = {
|
|
|
10579
10579
|
_: 3
|
|
10580
10580
|
}));
|
|
10581
10581
|
}
|
|
10582
|
-
}), Ur = /* @__PURE__ */
|
|
10582
|
+
}), Ur = /* @__PURE__ */ ze(jE, [["__scopeId", "data-v-4969409d"]]);
|
|
10583
10583
|
function ql(e) {
|
|
10584
10584
|
return e.map((t) => ({ value: t, label: `${t}` }));
|
|
10585
10585
|
}
|
|
@@ -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 dK(e) {
|
|
10840
10840
|
return { [Qs]: e };
|
|
10841
10841
|
}
|
|
10842
10842
|
function WE(e, t) {
|
|
@@ -11636,7 +11636,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
11636
11636
|
]);
|
|
11637
11637
|
};
|
|
11638
11638
|
}
|
|
11639
|
-
}), Ze = /* @__PURE__ */
|
|
11639
|
+
}), Ze = /* @__PURE__ */ ze(px, [["__scopeId", "data-v-5cb8f07e"]]), fx = ["innerHTML"], mx = /* @__PURE__ */ Pe({
|
|
11640
11640
|
inheritAttrs: !1,
|
|
11641
11641
|
__name: "BooleanField",
|
|
11642
11642
|
props: {
|
|
@@ -11680,7 +11680,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
11680
11680
|
]);
|
|
11681
11681
|
};
|
|
11682
11682
|
}
|
|
11683
|
-
}), kn = /* @__PURE__ */
|
|
11683
|
+
}), kn = /* @__PURE__ */ ze(mx, [["__scopeId", "data-v-a1c08c7f"]]), gx = ["data-testid"], hx = ["innerHTML"], yx = /* @__PURE__ */ Pe({
|
|
11684
11684
|
inheritAttrs: !1,
|
|
11685
11685
|
__name: "StringArrayField",
|
|
11686
11686
|
props: {
|
|
@@ -11746,7 +11746,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
11746
11746
|
]);
|
|
11747
11747
|
};
|
|
11748
11748
|
}
|
|
11749
|
-
}), Na = /* @__PURE__ */
|
|
11749
|
+
}), Na = /* @__PURE__ */ ze(yx, [["__scopeId", "data-v-3aa09162"]]), vx = ["data-appearance", "data-testid"], _x = ["data-testid"], bx = ["innerHTML"], wx = ["data-testid"], kx = { class: "ff-array-field-item-content" }, Cx = ["data-index", "data-testid"], ms = 'input:not(:disabled), textarea:not(:disabled), select:not(:disabled), button:not(:disabled), [contenteditable="true"], [tabindex]:not([tabindex="-1"]):not(:disabled)', Ex = /* @__PURE__ */ Pe({
|
|
11750
11750
|
__name: "ArrayField",
|
|
11751
11751
|
props: {
|
|
11752
11752
|
name: {},
|
|
@@ -11991,7 +11991,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
11991
11991
|
]);
|
|
11992
11992
|
};
|
|
11993
11993
|
}
|
|
11994
|
-
}), Rt = /* @__PURE__ */
|
|
11994
|
+
}), Rt = /* @__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({
|
|
@@ -12096,7 +12096,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12096
12096
|
]);
|
|
12097
12097
|
};
|
|
12098
12098
|
}
|
|
12099
|
-
}), Yt = /* @__PURE__ */
|
|
12099
|
+
}), Yt = /* @__PURE__ */ ze(Ax, [["__scopeId", "data-v-f303431f"]]), Ix = ["innerHTML"], Tx = /* @__PURE__ */ Pe({
|
|
12100
12100
|
__name: "EnumField",
|
|
12101
12101
|
props: /* @__PURE__ */ yi({
|
|
12102
12102
|
labelAttributes: {},
|
|
@@ -12193,7 +12193,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12193
12193
|
]);
|
|
12194
12194
|
};
|
|
12195
12195
|
}
|
|
12196
|
-
}), qt = /* @__PURE__ */
|
|
12196
|
+
}), qt = /* @__PURE__ */ ze(Tx, [["__scopeId", "data-v-b283cc11"]]), $x = ["data-testid"], Ox = ["innerHTML"], Px = /* @__PURE__ */ Pe({
|
|
12197
12197
|
inheritAttrs: !1,
|
|
12198
12198
|
__name: "JsonField",
|
|
12199
12199
|
props: {
|
|
@@ -12263,7 +12263,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12263
12263
|
]);
|
|
12264
12264
|
};
|
|
12265
12265
|
}
|
|
12266
|
-
}), Nx = /* @__PURE__ */
|
|
12266
|
+
}), Nx = /* @__PURE__ */ ze(Px, [["__scopeId", "data-v-6f302da9"]]), Rx = ["innerHTML"], Mx = /* @__PURE__ */ Pe({
|
|
12267
12267
|
inheritAttrs: !1,
|
|
12268
12268
|
__name: "ForeignField",
|
|
12269
12269
|
props: {
|
|
@@ -12323,7 +12323,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12323
12323
|
]);
|
|
12324
12324
|
};
|
|
12325
12325
|
}
|
|
12326
|
-
}), Lx = /* @__PURE__ */
|
|
12326
|
+
}), Lx = /* @__PURE__ */ ze(Mx, [["__scopeId", "data-v-8c298e9f"]]), Fx = ["data-testid"], Kx = ["data-testid"], jx = ["innerHTML"], Dx = { class: "ff-map-field-fields" }, qx = /* @__PURE__ */ Pe({
|
|
12327
12327
|
__name: "MapField",
|
|
12328
12328
|
props: {
|
|
12329
12329
|
keyPlaceholder: {},
|
|
@@ -12485,7 +12485,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12485
12485
|
]);
|
|
12486
12486
|
};
|
|
12487
12487
|
}
|
|
12488
|
-
}), bi = /* @__PURE__ */
|
|
12488
|
+
}), bi = /* @__PURE__ */ ze(qx, [["__scopeId", "data-v-dca94ae5"]]), st = /* @__PURE__ */ Pe({
|
|
12489
12489
|
name: "AutoField",
|
|
12490
12490
|
__name: "Field",
|
|
12491
12491
|
props: {
|
|
@@ -12602,7 +12602,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12602
12602
|
})) : ye("", !0);
|
|
12603
12603
|
};
|
|
12604
12604
|
}
|
|
12605
|
-
}), Sc = /* @__PURE__ */
|
|
12605
|
+
}), Sc = /* @__PURE__ */ ze(Ux, [["__scopeId", "data-v-374c59bc"]]), Vx = ["data-testid"], zx = ["data-testid"], Gx = ["data-testid"], Hx = { class: "ff-object-field-header-toggle" }, Wx = ["aria-controls", "aria-expanded", "aria-label", "data-testid", "disabled"], Yx = ["innerHTML"], Jx = ["data-testid"], Xx = {
|
|
12606
12606
|
key: 0,
|
|
12607
12607
|
class: "indent-guide"
|
|
12608
12608
|
}, Zx = /* @__PURE__ */ Pe({
|
|
@@ -12799,7 +12799,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12799
12799
|
], 64);
|
|
12800
12800
|
};
|
|
12801
12801
|
}
|
|
12802
|
-
}), Gt = /* @__PURE__ */
|
|
12802
|
+
}), Gt = /* @__PURE__ */ ze(Zx, [["__scopeId", "data-v-7a5e2610"]]), Qx = { class: "ff-advanced-fields" }, eS = /* @__PURE__ */ Pe({
|
|
12803
12803
|
__name: "AdvancedFields",
|
|
12804
12804
|
props: {
|
|
12805
12805
|
hideGeneralFields: { type: Boolean }
|
|
@@ -12841,7 +12841,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12841
12841
|
_: 3
|
|
12842
12842
|
}, 8, ["modelValue", "trigger-label"]));
|
|
12843
12843
|
}
|
|
12844
|
-
}), Ra = /* @__PURE__ */
|
|
12844
|
+
}), Ra = /* @__PURE__ */ ze(eS, [["__scopeId", "data-v-baa317ec"]]), tS = /* @__PURE__ */ Pe({
|
|
12845
12845
|
__name: "ConfigForm",
|
|
12846
12846
|
setup(e) {
|
|
12847
12847
|
const { getSchema: t, createComputedRenderRules: n } = gt(), i = n("config"), o = L(() => {
|
|
@@ -12906,7 +12906,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12906
12906
|
}))
|
|
12907
12907
|
], 64));
|
|
12908
12908
|
}
|
|
12909
|
-
}), af = /* @__PURE__ */
|
|
12909
|
+
}), af = /* @__PURE__ */ ze(tS, [["__scopeId", "data-v-bc82c9e9"]]), nS = ["data-testid"], iS = /* @__PURE__ */ Pe({
|
|
12910
12910
|
__name: "SwitchField",
|
|
12911
12911
|
props: {
|
|
12912
12912
|
labelAttributes: {},
|
|
@@ -12945,7 +12945,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12945
12945
|
]);
|
|
12946
12946
|
};
|
|
12947
12947
|
}
|
|
12948
|
-
}), oS = /* @__PURE__ */
|
|
12948
|
+
}), oS = /* @__PURE__ */ ze(iS, [["__scopeId", "data-v-0b4c3942"]]), aS = ["data-testid"], rS = {
|
|
12949
12949
|
key: 1,
|
|
12950
12950
|
class: "ff-scope-entity-help"
|
|
12951
12951
|
}, sS = /* @__PURE__ */ Pe({
|
|
@@ -13033,7 +13033,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
13033
13033
|
]);
|
|
13034
13034
|
};
|
|
13035
13035
|
}
|
|
13036
|
-
}), lS = /* @__PURE__ */
|
|
13036
|
+
}), lS = /* @__PURE__ */ ze(sS, [["__scopeId", "data-v-10ff0d5c"]]);
|
|
13037
13037
|
/*! js-yaml 4.2.0 https://github.com/nodeca/js-yaml @license MIT */
|
|
13038
13038
|
var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDescriptor, dS = Object.getOwnPropertyNames, pS = Object.getPrototypeOf, fS = Object.prototype.hasOwnProperty, Mt = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), mS = (e, t, n, i) => {
|
|
13039
13039
|
if (t && typeof t == "object" || typeof t == "function") for (var o = dS(t), r = 0, a = o.length, l; r < a; r++)
|
|
@@ -13926,16 +13926,16 @@ 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, De,
|
|
13930
|
-
if (
|
|
13929
|
+
let Se, Ne, De, Ve = g.input.charCodeAt(g.position);
|
|
13930
|
+
if (Ve === 91)
|
|
13931
13931
|
Ie = 93, V = !1, ke = [];
|
|
13932
|
-
else if (
|
|
13932
|
+
else if (Ve === 123)
|
|
13933
13933
|
Ie = 125, V = !0, ke = {};
|
|
13934
13934
|
else return !1;
|
|
13935
|
-
for (g.anchor !== null && M(g, g.anchor, ke),
|
|
13936
|
-
if (pe(g, !0, te),
|
|
13935
|
+
for (g.anchor !== null && M(g, g.anchor, ke), Ve = g.input.charCodeAt(++g.position); Ve !== 0; ) {
|
|
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 ?
|
|
13938
|
+
ce ? Ve === 44 && F(g, "expected the node content, but found ','") : F(g, "missed comma between flow collection entries"), Ne = Se = De = 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), De = g.result), V ? we(g, ke, Ee, Ne, Se, De, ve, be, Oe) : B ? ke.push(we(g, null, Ee, Ne, Se, De, 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
|
}
|
|
@@ -14006,9 +14006,9 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14006
14006
|
let De = g.input.charCodeAt(g.position);
|
|
14007
14007
|
for (; De !== 0; ) {
|
|
14008
14008
|
!Se && g.firstTabInLine !== -1 && (g.position = g.firstTabInLine, F(g, "tab characters must not be used in indentation"));
|
|
14009
|
-
const
|
|
14010
|
-
if ((De === 63 || De === 58) && w(
|
|
14011
|
-
De === 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, De =
|
|
14009
|
+
const Ve = g.input.charCodeAt(g.position + 1), tt = g.line;
|
|
14010
|
+
if ((De === 63 || De === 58) && w(Ve))
|
|
14011
|
+
De === 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, De = 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) {
|
|
@@ -14102,7 +14102,7 @@ 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 De = 0,
|
|
14105
|
+
for (let De = 0, Ve = Ne.length; De < Ve; De += 1) if (g.tag.slice(0, Ne[De].tag.length) === Ne[De].tag) {
|
|
14106
14106
|
ne = Ne[De];
|
|
14107
14107
|
break;
|
|
14108
14108
|
}
|
|
@@ -14260,7 +14260,7 @@ 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 qe(K, ke, Me, Ie, B, ne, V, Ee) {
|
|
14263
|
-
let Se, Ne = 0, De = null,
|
|
14263
|
+
let Se, Ne = 0, De = 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++) {
|
|
@@ -14270,13 +14270,13 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
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
14275
|
$e = $e && _e(Ne, De, Ee), De = Ne;
|
|
14276
14276
|
}
|
|
14277
14277
|
tt = tt || Je && Se - Fe - 1 > Ie && K[Fe + 1] !== " ";
|
|
14278
14278
|
}
|
|
14279
|
-
return !
|
|
14279
|
+
return !Ve && !tt ? $e && !V && !B(K) ? je : ne === z ? ft : He : Me > 9 && Be(K) ? ft : V ? ne === z ? ft : He : tt ? rt : Ye;
|
|
14280
14280
|
}
|
|
14281
14281
|
function Ce(K, ke, Me, Ie, B) {
|
|
14282
14282
|
K.dump = function() {
|
|
@@ -14390,10 +14390,10 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14390
14390
|
let Ne = "";
|
|
14391
14391
|
(!Ie || B !== "") && (Ne += $(K, ke));
|
|
14392
14392
|
const De = V[Ee];
|
|
14393
|
-
let
|
|
14394
|
-
if (K.replacer && (
|
|
14393
|
+
let Ve = Me[De];
|
|
14394
|
+
if (K.replacer && (Ve = K.replacer.call(Me, De, Ve)), !ce(K, ke + 1, De, !0, !0, !0)) continue;
|
|
14395
14395
|
const tt = K.tag !== null && K.tag !== "?" || K.dump && K.dump.length > 1024;
|
|
14396
|
-
tt && (K.dump && d === K.dump.charCodeAt(0) ? Ne += "?" : Ne += "? "), Ne += K.dump, tt && (Ne += $(K, ke)), ce(K, ke + 1,
|
|
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
|
}
|
|
14398
14398
|
K.tag = ne, K.dump = B || "{}";
|
|
14399
14399
|
}
|
|
@@ -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 De,
|
|
14424
|
-
if (Ne && (De = K.duplicates.indexOf(Me),
|
|
14423
|
+
let De, Ve;
|
|
14424
|
+
if (Ne && (De = K.duplicates.indexOf(Me), Ve = De !== -1), (K.tag !== null && K.tag !== "?" || Ve || K.indent !== 2 && ke > 0) && (B = !1), Ve && K.usedDuplicates[De]) K.dump = "*ref_" + De;
|
|
14425
14425
|
else {
|
|
14426
|
-
if (Ne &&
|
|
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),
|
|
14426
|
+
if (Ne && Ve && !K.usedDuplicates[De] && (K.usedDuplicates[De] = !0), Ee === "[object Object]") Ie && Object.keys(K.dump).length !== 0 ? (g(K, ke, K.dump, B), Ve && (K.dump = "&ref_" + De + K.dump)) : (Ae(K, ke, K.dump), Ve && (K.dump = "&ref_" + De + " " + 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_" + De + K.dump)) : (ge(K, ke, K.dump), Ve && (K.dump = "&ref_" + De + " " + 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: pK, Schema: fK, FAILSAFE_SCHEMA: mK, JSON_SCHEMA: Fi, CORE_SCHEMA: gK, DEFAULT_SCHEMA: hK, load: yK, loadAll: vK, dump: _K, YAMLException: bK, types: wK, safeLoad: kK, safeLoadAll: CK, safeDump: EK } = Ef.default, On = Ef.default;
|
|
14493
14493
|
const _S = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|
|
14494
14494
|
function ci() {
|
|
14495
14495
|
return { lenses: [], dispose: () => {
|
|
@@ -19559,7 +19559,7 @@ const JA = {
|
|
|
19559
19559
|
}, null, 8, ["modelValue"])
|
|
19560
19560
|
]));
|
|
19561
19561
|
}
|
|
19562
|
-
}), QA = /* @__PURE__ */
|
|
19562
|
+
}), QA = /* @__PURE__ */ ze(ZA, [["__scopeId", "data-v-a076c960"]]), ka = {
|
|
19563
19563
|
jqlang: "https://jqlang.org/manual/",
|
|
19564
19564
|
/**
|
|
19565
19565
|
* Plugin conditional execution.
|
|
@@ -19634,7 +19634,7 @@ const JA = {
|
|
|
19634
19634
|
]);
|
|
19635
19635
|
};
|
|
19636
19636
|
}
|
|
19637
|
-
}), nI = /* @__PURE__ */
|
|
19637
|
+
}), nI = /* @__PURE__ */ ze(tI, [["__scopeId", "data-v-ebaf84a5"]]), rn = /* @__PURE__ */ Pe({
|
|
19638
19638
|
name: "SchemaForm",
|
|
19639
19639
|
__name: "Form",
|
|
19640
19640
|
props: {
|
|
@@ -19772,7 +19772,7 @@ const JA = {
|
|
|
19772
19772
|
]);
|
|
19773
19773
|
};
|
|
19774
19774
|
}
|
|
19775
|
-
}), fI = /* @__PURE__ */
|
|
19775
|
+
}), fI = /* @__PURE__ */ ze(pI, [["__scopeId", "data-v-82dcdf99"]]), mI = {
|
|
19776
19776
|
class: "redis-config-radio-group",
|
|
19777
19777
|
"data-testid": "redis-config-radio-group"
|
|
19778
19778
|
}, gI = { class: "shared-redis-config" }, hI = { class: "shared-redis-config-title" }, yI = {
|
|
@@ -19971,7 +19971,7 @@ const JA = {
|
|
|
19971
19971
|
]);
|
|
19972
19972
|
};
|
|
19973
19973
|
}
|
|
19974
|
-
}), cu = /* @__PURE__ */
|
|
19974
|
+
}), cu = /* @__PURE__ */ ze(_I, [["__scopeId", "data-v-ad3044d7"]]), bI = /* @__PURE__ */ Pe({
|
|
19975
19975
|
inheritAttrs: !1,
|
|
19976
19976
|
__name: "PluginConfigurationForm",
|
|
19977
19977
|
props: {
|
|
@@ -20515,8 +20515,8 @@ const JA = {
|
|
|
20515
20515
|
}, 16, ["field-renderers", "form-config", "is-konnect-managed-redis-enabled", "model", "on-form-change", "plugin-name", "render-rules", "schema"])
|
|
20516
20516
|
], 64));
|
|
20517
20517
|
}
|
|
20518
|
-
}), EI = /* @__PURE__ */
|
|
20519
|
-
function
|
|
20518
|
+
}), EI = /* @__PURE__ */ ze(CI, [["__scopeId", "data-v-e2f4cda4"]]), fm = Symbol.for("kong-ui-public.entities-plugins.free-form-plugin-layout");
|
|
20519
|
+
function xK(e) {
|
|
20520
20520
|
Ft(fm, e);
|
|
20521
20521
|
}
|
|
20522
20522
|
const li = /* @__PURE__ */ Pe({
|
|
@@ -20589,13 +20589,13 @@ const li = /* @__PURE__ */ Pe({
|
|
|
20589
20589
|
}, 16));
|
|
20590
20590
|
}
|
|
20591
20591
|
});
|
|
20592
|
-
function
|
|
20592
|
+
function Ue(e = {}) {
|
|
20593
20593
|
return {
|
|
20594
20594
|
...e,
|
|
20595
20595
|
component: e.component ?? mm
|
|
20596
20596
|
};
|
|
20597
20597
|
}
|
|
20598
|
-
const xI =
|
|
20598
|
+
const xI = Ue({
|
|
20599
20599
|
experimental: !0
|
|
20600
20600
|
}), SI = { class: "ff-acl-mode" }, AI = /* @__PURE__ */ Pe({
|
|
20601
20601
|
__name: "ACLModeCard",
|
|
@@ -20644,7 +20644,7 @@ const xI = ze({
|
|
|
20644
20644
|
_: 1
|
|
20645
20645
|
}));
|
|
20646
20646
|
}
|
|
20647
|
-
}), II = /* @__PURE__ */
|
|
20647
|
+
}), II = /* @__PURE__ */ ze(AI, [["__scopeId", "data-v-fd5c7165"]]), TI = /* @__PURE__ */ Pe({
|
|
20648
20648
|
__name: "ACLForm",
|
|
20649
20649
|
props: {
|
|
20650
20650
|
schema: {},
|
|
@@ -20680,10 +20680,10 @@ const xI = ze({
|
|
|
20680
20680
|
_: 1
|
|
20681
20681
|
}, 16));
|
|
20682
20682
|
}
|
|
20683
|
-
}), $I =
|
|
20683
|
+
}), $I = Ue({
|
|
20684
20684
|
experimental: !0,
|
|
20685
20685
|
component: TI
|
|
20686
|
-
}), OI =
|
|
20686
|
+
}), OI = Ue({
|
|
20687
20687
|
fieldRenderers: [
|
|
20688
20688
|
{
|
|
20689
20689
|
match: "config.functions",
|
|
@@ -20771,13 +20771,13 @@ const xI = ze({
|
|
|
20771
20771
|
_: 1
|
|
20772
20772
|
}, 16));
|
|
20773
20773
|
}
|
|
20774
|
-
}), NI =
|
|
20774
|
+
}), NI = Ue({
|
|
20775
20775
|
component: PI
|
|
20776
|
-
}), RI =
|
|
20776
|
+
}), RI = Ue({
|
|
20777
20777
|
experimental: !0
|
|
20778
|
-
}), MI =
|
|
20778
|
+
}), MI = Ue({
|
|
20779
20779
|
experimental: !0
|
|
20780
|
-
}), LI =
|
|
20780
|
+
}), LI = Ue({
|
|
20781
20781
|
experimental: !0,
|
|
20782
20782
|
fieldRenderers: [
|
|
20783
20783
|
{
|
|
@@ -20797,7 +20797,7 @@ const xI = ze({
|
|
|
20797
20797
|
}
|
|
20798
20798
|
}
|
|
20799
20799
|
]
|
|
20800
|
-
}), FI =
|
|
20800
|
+
}), FI = Ue({
|
|
20801
20801
|
experimental: !0,
|
|
20802
20802
|
fieldRenderers: [
|
|
20803
20803
|
{
|
|
@@ -20838,9 +20838,9 @@ const xI = ze({
|
|
|
20838
20838
|
}
|
|
20839
20839
|
}
|
|
20840
20840
|
]
|
|
20841
|
-
}), KI =
|
|
20841
|
+
}), KI = Ue({
|
|
20842
20842
|
experimental: !0
|
|
20843
|
-
}), jI =
|
|
20843
|
+
}), jI = Ue({
|
|
20844
20844
|
experimental: !0,
|
|
20845
20845
|
renderRules: {
|
|
20846
20846
|
bundles: [
|
|
@@ -20850,7 +20850,7 @@ const xI = ze({
|
|
|
20850
20850
|
"config.redis": ["config.strategy", "redis"]
|
|
20851
20851
|
}
|
|
20852
20852
|
}
|
|
20853
|
-
}), DI =
|
|
20853
|
+
}), DI = Ue({
|
|
20854
20854
|
experimental: !0,
|
|
20855
20855
|
fieldRenderers: [
|
|
20856
20856
|
{
|
|
@@ -20862,7 +20862,7 @@ const xI = ze({
|
|
|
20862
20862
|
}
|
|
20863
20863
|
}
|
|
20864
20864
|
]
|
|
20865
|
-
}), qI =
|
|
20865
|
+
}), qI = Ue({
|
|
20866
20866
|
experimental: !0,
|
|
20867
20867
|
fieldRenderers: [
|
|
20868
20868
|
{
|
|
@@ -20910,17 +20910,17 @@ const xI = ze({
|
|
|
20910
20910
|
"config.vectordb.redis.cloud_authentication.azure_client_secret": ["config.vectordb.redis.cloud_authentication.auth_provider", "azure"],
|
|
20911
20911
|
"config.vectordb.redis.cloud_authentication.azure_tenant_id": ["config.vectordb.redis.cloud_authentication.auth_provider", "azure"]
|
|
20912
20912
|
}
|
|
20913
|
-
}, BI =
|
|
20913
|
+
}, BI = Ue({
|
|
20914
20914
|
experimental: !0,
|
|
20915
20915
|
fieldRenderers: gm,
|
|
20916
20916
|
renderRules: hm
|
|
20917
|
-
}), UI =
|
|
20917
|
+
}), UI = Ue({
|
|
20918
20918
|
experimental: !0,
|
|
20919
20919
|
fieldRenderers: gm,
|
|
20920
20920
|
renderRules: hm
|
|
20921
|
-
}), VI =
|
|
20921
|
+
}), VI = Ue({
|
|
20922
20922
|
experimental: !0
|
|
20923
|
-
}), zI =
|
|
20923
|
+
}), zI = Ue({
|
|
20924
20924
|
experimental: !0
|
|
20925
20925
|
}), GI = {
|
|
20926
20926
|
class: "kong-identity-field",
|
|
@@ -21035,7 +21035,7 @@ const xI = ze({
|
|
|
21035
21035
|
])
|
|
21036
21036
|
]));
|
|
21037
21037
|
}
|
|
21038
|
-
}), XI = /* @__PURE__ */
|
|
21038
|
+
}), XI = /* @__PURE__ */ ze(JI, [["__scopeId", "data-v-75509002"]]), ym = Symbol("fetched-realms"), ZI = { "data-testid": "ff-identity-realms-field" }, QI = ["innerHTML"], vm = /* @__PURE__ */ Pe({
|
|
21039
21039
|
__name: "IdentityRealmsField",
|
|
21040
21040
|
props: {
|
|
21041
21041
|
name: {},
|
|
@@ -21157,7 +21157,7 @@ const xI = ze({
|
|
|
21157
21157
|
], 64);
|
|
21158
21158
|
};
|
|
21159
21159
|
}
|
|
21160
|
-
}), tT = /* @__PURE__ */
|
|
21160
|
+
}), tT = /* @__PURE__ */ ze(eT, [["__scopeId", "data-v-d86101ef"]]), _m = Symbol("before-save"), nT = {
|
|
21161
21161
|
key: 0,
|
|
21162
21162
|
class: "identity-realms-error",
|
|
21163
21163
|
"data-testid": "identity-realms-validation-error"
|
|
@@ -21346,7 +21346,7 @@ const xI = ze({
|
|
|
21346
21346
|
})
|
|
21347
21347
|
], 64));
|
|
21348
21348
|
}
|
|
21349
|
-
}), aT = /* @__PURE__ */
|
|
21349
|
+
}), aT = /* @__PURE__ */ ze(oT, [["__scopeId", "data-v-7dc8344d"]]), bm = /* @__PURE__ */ Pe({
|
|
21350
21350
|
__name: "ConfigFormWithIdentity",
|
|
21351
21351
|
props: {
|
|
21352
21352
|
schema: {},
|
|
@@ -21380,7 +21380,7 @@ const xI = ze({
|
|
|
21380
21380
|
_: 1
|
|
21381
21381
|
}, 16));
|
|
21382
21382
|
}
|
|
21383
|
-
}), rT =
|
|
21383
|
+
}), rT = Ue({
|
|
21384
21384
|
experimental: !0,
|
|
21385
21385
|
component: bm,
|
|
21386
21386
|
renderRules: {
|
|
@@ -21397,11 +21397,11 @@ const xI = ze({
|
|
|
21397
21397
|
}
|
|
21398
21398
|
}
|
|
21399
21399
|
]
|
|
21400
|
-
}), sT =
|
|
21400
|
+
}), sT = Ue({
|
|
21401
21401
|
experimental: !0
|
|
21402
|
-
}), lT =
|
|
21402
|
+
}), lT = Ue({
|
|
21403
21403
|
experimental: !0
|
|
21404
|
-
}), uT =
|
|
21404
|
+
}), uT = Ue({
|
|
21405
21405
|
experimental: !0,
|
|
21406
21406
|
fieldRenderers: [
|
|
21407
21407
|
{
|
|
@@ -21430,7 +21430,7 @@ const xI = ze({
|
|
|
21430
21430
|
}
|
|
21431
21431
|
}
|
|
21432
21432
|
]
|
|
21433
|
-
}), cT =
|
|
21433
|
+
}), cT = Ue({
|
|
21434
21434
|
experimental: !0,
|
|
21435
21435
|
fieldRenderers: [
|
|
21436
21436
|
{
|
|
@@ -21442,9 +21442,9 @@ const xI = ze({
|
|
|
21442
21442
|
}
|
|
21443
21443
|
}
|
|
21444
21444
|
]
|
|
21445
|
-
}), dT =
|
|
21445
|
+
}), dT = Ue({
|
|
21446
21446
|
experimental: !0
|
|
21447
|
-
}), pT =
|
|
21447
|
+
}), pT = Ue({
|
|
21448
21448
|
experimental: !0,
|
|
21449
21449
|
fieldRenderers: [
|
|
21450
21450
|
{
|
|
@@ -21453,7 +21453,7 @@ const xI = ze({
|
|
|
21453
21453
|
propsOverrides: { multiple: !0 }
|
|
21454
21454
|
}
|
|
21455
21455
|
]
|
|
21456
|
-
}), fT =
|
|
21456
|
+
}), fT = Ue({
|
|
21457
21457
|
experimental: !0,
|
|
21458
21458
|
fieldRenderers: [
|
|
21459
21459
|
{
|
|
@@ -21946,7 +21946,7 @@ const xT = {
|
|
|
21946
21946
|
}, 8, ["action-button-text", "title", "visible"])
|
|
21947
21947
|
]));
|
|
21948
21948
|
}
|
|
21949
|
-
}), PT = /* @__PURE__ */
|
|
21949
|
+
}), PT = /* @__PURE__ */ ze(OT, [["__scopeId", "data-v-20217c6a"]]), { t: NT } = Jt("en-us", on), is = Qg(() => {
|
|
21950
21950
|
const e = ir("datakit-editor-mode", "flow"), t = ir(
|
|
21951
21951
|
"datakit-editor-sidebar-expanded",
|
|
21952
21952
|
!0
|
|
@@ -22130,7 +22130,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22130
22130
|
], 6)
|
|
22131
22131
|
], 512));
|
|
22132
22132
|
}
|
|
22133
|
-
}), du = /* @__PURE__ */
|
|
22133
|
+
}), du = /* @__PURE__ */ ze(DT, [["__scopeId", "data-v-5a4fec80"]]), qT = { class: "dk-confirm-modal-body" }, BT = { class: "connections" }, UT = /* @__PURE__ */ Pe({
|
|
22134
22134
|
__name: "ConflictModal",
|
|
22135
22135
|
props: {
|
|
22136
22136
|
title: {},
|
|
@@ -22197,7 +22197,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22197
22197
|
}, 8, ["action-button-text", "title", "visible"]);
|
|
22198
22198
|
};
|
|
22199
22199
|
}
|
|
22200
|
-
}), VT = /* @__PURE__ */
|
|
22200
|
+
}), VT = /* @__PURE__ */ ze(UT, [["__scopeId", "data-v-e6df03c2"]]), zT = { class: "dk-editor-nav" }, GT = { class: "top" }, HT = { class: "bottom" }, WT = /* @__PURE__ */ Pe({
|
|
22201
22201
|
__name: "EditorNav",
|
|
22202
22202
|
emits: ["back"],
|
|
22203
22203
|
setup(e, { emit: t }) {
|
|
@@ -22278,7 +22278,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22278
22278
|
])
|
|
22279
22279
|
]));
|
|
22280
22280
|
}
|
|
22281
|
-
}), YT = /* @__PURE__ */
|
|
22281
|
+
}), YT = /* @__PURE__ */ ze(WT, [["__scopeId", "data-v-0dcd2605"]]), JT = { class: "dk-editor-main" }, XT = { class: "header" }, ZT = { class: "actions" }, QT = { class: "settings" }, e$ = {
|
|
22282
22282
|
ref: "canvasContainer",
|
|
22283
22283
|
class: "body"
|
|
22284
22284
|
}, t$ = /* @__PURE__ */ Pe({
|
|
@@ -22427,7 +22427,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22427
22427
|
], 512)
|
|
22428
22428
|
]));
|
|
22429
22429
|
}
|
|
22430
|
-
}), n$ = /* @__PURE__ */
|
|
22430
|
+
}), n$ = /* @__PURE__ */ ze(t$, [["__scopeId", "data-v-1cf532ff"]]), i$ = ["draggable"], o$ = { class: "icon" }, a$ = { class: "content" }, r$ = { class: "title" }, s$ = { class: "description" }, l$ = /* @__PURE__ */ Pe({
|
|
22431
22431
|
__name: "NodePanelItem",
|
|
22432
22432
|
props: {
|
|
22433
22433
|
type: {},
|
|
@@ -22465,7 +22465,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22465
22465
|
])
|
|
22466
22466
|
], 42, i$));
|
|
22467
22467
|
}
|
|
22468
|
-
}), u$ = /* @__PURE__ */
|
|
22468
|
+
}), u$ = /* @__PURE__ */ ze(l$, [["__scopeId", "data-v-829422ff"]]), c$ = { class: "dk-node-panel" }, d$ = {
|
|
22469
22469
|
key: 0,
|
|
22470
22470
|
class: "title"
|
|
22471
22471
|
}, p$ = { class: "node-list" }, f$ = { class: "group-title" }, m$ = { class: "group-items" }, g$ = {
|
|
@@ -22557,7 +22557,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22557
22557
|
]);
|
|
22558
22558
|
};
|
|
22559
22559
|
}
|
|
22560
|
-
}), y$ = /* @__PURE__ */
|
|
22560
|
+
}), y$ = /* @__PURE__ */ ze(h$, [["__scopeId", "data-v-f2040974"]]);
|
|
22561
22561
|
function v$() {
|
|
22562
22562
|
const {
|
|
22563
22563
|
addField: e,
|
|
@@ -22806,7 +22806,7 @@ const _$ = /* @__PURE__ */ Pe({
|
|
|
22806
22806
|
]);
|
|
22807
22807
|
};
|
|
22808
22808
|
}
|
|
22809
|
-
}), A$ = /* @__PURE__ */
|
|
22809
|
+
}), A$ = /* @__PURE__ */ ze(S$, [["__scopeId", "data-v-a7726f48"]]);
|
|
22810
22810
|
function I$() {
|
|
22811
22811
|
const { getSchema: e } = gt();
|
|
22812
22812
|
return L(() => {
|
|
@@ -22892,7 +22892,7 @@ const T$ = { key: 1 }, $$ = ["innerHTML"], O$ = { class: "horizontal-container"
|
|
|
22892
22892
|
]);
|
|
22893
22893
|
};
|
|
22894
22894
|
}
|
|
22895
|
-
}), pu = /* @__PURE__ */
|
|
22895
|
+
}), pu = /* @__PURE__ */ ze(P$, [["__scopeId", "data-v-7c0483f3"]]), N$ = { class: "dk-cache-panel" }, R$ = { class: "title" }, M$ = {
|
|
22896
22896
|
key: 0,
|
|
22897
22897
|
class: "cache-item"
|
|
22898
22898
|
}, L$ = { class: "cache-item-key" }, F$ = { class: "cache-item-key-text" }, K$ = { class: "dk-resource-cache-form" }, j$ = { key: 1 }, D$ = {
|
|
@@ -23091,7 +23091,7 @@ const T$ = { key: 1 }, $$ = ["innerHTML"], O$ = { class: "horizontal-container"
|
|
|
23091
23091
|
]);
|
|
23092
23092
|
};
|
|
23093
23093
|
}
|
|
23094
|
-
}), V$ = /* @__PURE__ */
|
|
23094
|
+
}), V$ = /* @__PURE__ */ ze(U$, [["__scopeId", "data-v-4ffd057c"]]), z$ = { class: "dk-resources-panel" }, G$ = /* @__PURE__ */ Pe({
|
|
23095
23095
|
__name: "ResourcesPanel",
|
|
23096
23096
|
setup(e) {
|
|
23097
23097
|
const t = I$(), n = me(0), {
|
|
@@ -23150,7 +23150,7 @@ const T$ = { key: 1 }, $$ = ["innerHTML"], O$ = { class: "horizontal-container"
|
|
|
23150
23150
|
}, 8, ["data", "schema"]))
|
|
23151
23151
|
]));
|
|
23152
23152
|
}
|
|
23153
|
-
}), H$ = /* @__PURE__ */
|
|
23153
|
+
}), H$ = /* @__PURE__ */ ze(G$, [["__scopeId", "data-v-9093c001"]]), W$ = { class: "header" }, Y$ = { class: "title" }, J$ = { class: "body" }, X$ = { class: "panel" }, Z$ = /* @__PURE__ */ Pe({
|
|
23154
23154
|
__name: "SidePanel",
|
|
23155
23155
|
setup(e) {
|
|
23156
23156
|
const { t } = Jt("en-us", on), { sidePanelExpanded: n } = is(), { propertiesPanelOpen: i, selectedNode: o } = Ut(), r = me("nodes");
|
|
@@ -23195,7 +23195,7 @@ const T$ = { key: 1 }, $$ = ["innerHTML"], O$ = { class: "horizontal-container"
|
|
|
23195
23195
|
], 2);
|
|
23196
23196
|
};
|
|
23197
23197
|
}
|
|
23198
|
-
}), Q$ = /* @__PURE__ */
|
|
23198
|
+
}), Q$ = /* @__PURE__ */ ze(Z$, [["__scopeId", "data-v-9e854e60"]]), eO = /* @__PURE__ */ Pe({
|
|
23199
23199
|
__name: "HttpMethodField",
|
|
23200
23200
|
props: {
|
|
23201
23201
|
name: {}
|
|
@@ -24053,7 +24053,7 @@ const Kn = J.object({
|
|
|
24053
24053
|
], 512));
|
|
24054
24054
|
};
|
|
24055
24055
|
}
|
|
24056
|
-
}), rP = /* @__PURE__ */
|
|
24056
|
+
}), rP = /* @__PURE__ */ ze(aP, [["__scopeId", "data-v-43dcb370"]]), sP = { class: "dk-source-item" }, lP = /* @__PURE__ */ Pe({
|
|
24057
24057
|
__name: "SourceItem",
|
|
24058
24058
|
props: {
|
|
24059
24059
|
item: {}
|
|
@@ -24067,7 +24067,7 @@ const Kn = J.object({
|
|
|
24067
24067
|
Le(" " + ue(e.item.label), 1)
|
|
24068
24068
|
]));
|
|
24069
24069
|
}
|
|
24070
|
-
}), Ar = /* @__PURE__ */
|
|
24070
|
+
}), Ar = /* @__PURE__ */ ze(lP, [["__scopeId", "data-v-d9aa16eb"]]), uP = {
|
|
24071
24071
|
key: 1,
|
|
24072
24072
|
class: "dk-inputs-field-or"
|
|
24073
24073
|
}, cP = /* @__PURE__ */ Pe({
|
|
@@ -24157,11 +24157,11 @@ const Kn = J.object({
|
|
|
24157
24157
|
}, 16, ["items", "key-order"])) : ye("", !0)
|
|
24158
24158
|
], 64));
|
|
24159
24159
|
}
|
|
24160
|
-
}), Sn = /* @__PURE__ */
|
|
24160
|
+
}), Sn = /* @__PURE__ */ ze(cP, [["__scopeId", "data-v-4f1ce4e7"]]), dP = {}, pP = { class: "dk-node-form-divider" };
|
|
24161
24161
|
function fP(e, t) {
|
|
24162
24162
|
return S(), le("hr", pP);
|
|
24163
24163
|
}
|
|
24164
|
-
const Zn = /* @__PURE__ */
|
|
24164
|
+
const Zn = /* @__PURE__ */ ze(dP, [["render", fP], ["__scopeId", "data-v-35ed58be"]]), mP = {
|
|
24165
24165
|
fields: [
|
|
24166
24166
|
{
|
|
24167
24167
|
input: {
|
|
@@ -25212,7 +25212,7 @@ const jn = /* @__PURE__ */ Pe({
|
|
|
25212
25212
|
], 512));
|
|
25213
25213
|
};
|
|
25214
25214
|
}
|
|
25215
|
-
}), AP = /* @__PURE__ */
|
|
25215
|
+
}), AP = /* @__PURE__ */ ze(SP, [["__scopeId", "data-v-3970c2c0"]]);
|
|
25216
25216
|
function IP(e) {
|
|
25217
25217
|
const t = {};
|
|
25218
25218
|
for (const [n, i] of Object.entries(e))
|
|
@@ -25437,7 +25437,7 @@ const $P = /* @__PURE__ */ Pe({
|
|
|
25437
25437
|
], 64);
|
|
25438
25438
|
};
|
|
25439
25439
|
}
|
|
25440
|
-
}), MP = /* @__PURE__ */
|
|
25440
|
+
}), MP = /* @__PURE__ */ ze(RP, [["__scopeId", "data-v-3e7fee25"]]), LP = /* @__PURE__ */ Pe({
|
|
25441
25441
|
__name: "NodeFormProperty",
|
|
25442
25442
|
props: {
|
|
25443
25443
|
nodeId: {}
|
|
@@ -26441,7 +26441,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26441
26441
|
} : void 0
|
|
26442
26442
|
]), 1032, ["max-width", "offset-top", "visible", "z-index"]));
|
|
26443
26443
|
}
|
|
26444
|
-
}), XP = /* @__PURE__ */
|
|
26444
|
+
}), XP = /* @__PURE__ */ ze(JP, [["__scopeId", "data-v-32602117"]]), ZP = { class: "dk-editor-content" }, QP = { class: "main" }, eN = /* @__PURE__ */ Pe({
|
|
26445
26445
|
__name: "EditorContent",
|
|
26446
26446
|
setup(e) {
|
|
26447
26447
|
const { propertiesPanelOpen: t, selectedNode: n } = Ut();
|
|
@@ -26469,7 +26469,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26469
26469
|
]);
|
|
26470
26470
|
};
|
|
26471
26471
|
}
|
|
26472
|
-
}), tN = /* @__PURE__ */
|
|
26472
|
+
}), tN = /* @__PURE__ */ ze(eN, [["__scopeId", "data-v-66331c5c"]]), nN = {
|
|
26473
26473
|
key: 0,
|
|
26474
26474
|
class: "dk-editor-modal"
|
|
26475
26475
|
}, iN = /* @__PURE__ */ Pe({
|
|
@@ -26510,7 +26510,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26510
26510
|
C(VT, { ref: "confirm-modal" }, null, 512)
|
|
26511
26511
|
])) : ye("", !0);
|
|
26512
26512
|
}
|
|
26513
|
-
}), oN = /* @__PURE__ */
|
|
26513
|
+
}), oN = /* @__PURE__ */ ze(iN, [["__scopeId", "data-v-82b03578"]]), aN = { class: "dk-flow-editor" }, rN = { class: "flow-panels-container" }, sN = { class: "overlay" }, lN = /* @__PURE__ */ Pe({
|
|
26514
26514
|
__name: "FlowEditor",
|
|
26515
26515
|
props: {
|
|
26516
26516
|
isEditing: { type: Boolean }
|
|
@@ -26566,7 +26566,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26566
26566
|
]);
|
|
26567
26567
|
};
|
|
26568
26568
|
}
|
|
26569
|
-
}), uN = /* @__PURE__ */
|
|
26569
|
+
}), uN = /* @__PURE__ */ ze(lN, [["__scopeId", "data-v-575018ff"]]), cN = ["innerHTML"], dN = { class: "dk-option-label" }, pN = ["innerHTML"], fN = /* @__PURE__ */ Pe({
|
|
26570
26570
|
inheritAttrs: !1,
|
|
26571
26571
|
__name: "DatakitForm",
|
|
26572
26572
|
props: {
|
|
@@ -26724,9 +26724,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26724
26724
|
}, 16, ["editor-mode"])
|
|
26725
26725
|
], 64));
|
|
26726
26726
|
}
|
|
26727
|
-
}), mN = /* @__PURE__ */
|
|
26727
|
+
}), mN = /* @__PURE__ */ ze(fN, [["__scopeId", "data-v-99d4e7f0"]]), gN = Ue({
|
|
26728
26728
|
component: mN
|
|
26729
|
-
}), hN =
|
|
26729
|
+
}), hN = Ue({
|
|
26730
26730
|
experimental: !0,
|
|
26731
26731
|
fieldRenderers: [
|
|
26732
26732
|
{
|
|
@@ -26739,7 +26739,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26739
26739
|
})
|
|
26740
26740
|
}
|
|
26741
26741
|
]
|
|
26742
|
-
}), yN =
|
|
26742
|
+
}), yN = Ue({
|
|
26743
26743
|
experimental: !0,
|
|
26744
26744
|
fieldRenderers: [
|
|
26745
26745
|
{
|
|
@@ -26750,9 +26750,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26750
26750
|
}
|
|
26751
26751
|
}
|
|
26752
26752
|
]
|
|
26753
|
-
}), vN =
|
|
26753
|
+
}), vN = Ue({
|
|
26754
26754
|
experimental: !0
|
|
26755
|
-
}), _N =
|
|
26755
|
+
}), _N = Ue({
|
|
26756
26756
|
experimental: !0,
|
|
26757
26757
|
renderRules: {
|
|
26758
26758
|
bundles: [
|
|
@@ -26762,7 +26762,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26762
26762
|
"config.redis": ["config.strategy", "redis"]
|
|
26763
26763
|
}
|
|
26764
26764
|
}
|
|
26765
|
-
}), bN =
|
|
26765
|
+
}), bN = Ue({
|
|
26766
26766
|
experimental: !0,
|
|
26767
26767
|
renderRules: {
|
|
26768
26768
|
bundles: [
|
|
@@ -26772,7 +26772,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26772
26772
|
"config.redis": ["config.strategy", "redis"]
|
|
26773
26773
|
}
|
|
26774
26774
|
}
|
|
26775
|
-
}), wN =
|
|
26775
|
+
}), wN = Ue({
|
|
26776
26776
|
experimental: !0,
|
|
26777
26777
|
fieldRenderers: [
|
|
26778
26778
|
{
|
|
@@ -26781,9 +26781,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26781
26781
|
propsOverrides: { multiple: !0 }
|
|
26782
26782
|
}
|
|
26783
26783
|
]
|
|
26784
|
-
}), kN =
|
|
26784
|
+
}), kN = Ue({
|
|
26785
26785
|
experimental: !0
|
|
26786
|
-
}), CN =
|
|
26786
|
+
}), CN = Ue({
|
|
26787
26787
|
experimental: !0,
|
|
26788
26788
|
fieldRenderers: [
|
|
26789
26789
|
{
|
|
@@ -26794,9 +26794,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26794
26794
|
}
|
|
26795
26795
|
}
|
|
26796
26796
|
]
|
|
26797
|
-
}), EN =
|
|
26797
|
+
}), EN = Ue({
|
|
26798
26798
|
experimental: !0
|
|
26799
|
-
}), xN =
|
|
26799
|
+
}), xN = Ue({
|
|
26800
26800
|
experimental: !0
|
|
26801
26801
|
}), Hc = /* @__PURE__ */ Pe({
|
|
26802
26802
|
inheritAttrs: !1,
|
|
@@ -26893,11 +26893,11 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26893
26893
|
_: 1
|
|
26894
26894
|
}, 16));
|
|
26895
26895
|
}
|
|
26896
|
-
}), AN =
|
|
26896
|
+
}), AN = Ue({
|
|
26897
26897
|
component: SN
|
|
26898
|
-
}), IN =
|
|
26898
|
+
}), IN = Ue({
|
|
26899
26899
|
experimental: !0
|
|
26900
|
-
}), TN =
|
|
26900
|
+
}), TN = Ue({
|
|
26901
26901
|
experimental: !0,
|
|
26902
26902
|
fieldRenderers: [
|
|
26903
26903
|
{
|
|
@@ -26926,7 +26926,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26926
26926
|
}
|
|
26927
26927
|
}
|
|
26928
26928
|
]
|
|
26929
|
-
}), $N =
|
|
26929
|
+
}), $N = Ue({
|
|
26930
26930
|
experimental: !0,
|
|
26931
26931
|
fieldRenderers: [
|
|
26932
26932
|
{
|
|
@@ -26937,7 +26937,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26937
26937
|
}
|
|
26938
26938
|
}
|
|
26939
26939
|
]
|
|
26940
|
-
}), ON =
|
|
26940
|
+
}), ON = Ue({
|
|
26941
26941
|
experimental: !0,
|
|
26942
26942
|
fieldRenderers: [
|
|
26943
26943
|
{
|
|
@@ -26949,9 +26949,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26949
26949
|
}
|
|
26950
26950
|
}
|
|
26951
26951
|
]
|
|
26952
|
-
}), PN =
|
|
26952
|
+
}), PN = Ue({
|
|
26953
26953
|
experimental: !0
|
|
26954
|
-
}), NN =
|
|
26954
|
+
}), NN = Ue({
|
|
26955
26955
|
experimental: !0,
|
|
26956
26956
|
component: bm,
|
|
26957
26957
|
fieldRenderers: [
|
|
@@ -26974,7 +26974,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26974
26974
|
}
|
|
26975
26975
|
}
|
|
26976
26976
|
]
|
|
26977
|
-
}), RN =
|
|
26977
|
+
}), RN = Ue({
|
|
26978
26978
|
experimental: !0,
|
|
26979
26979
|
fieldRenderers: [
|
|
26980
26980
|
{
|
|
@@ -26983,7 +26983,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26983
26983
|
propsOverrides: { multiple: !0 }
|
|
26984
26984
|
}
|
|
26985
26985
|
]
|
|
26986
|
-
}), MN =
|
|
26986
|
+
}), MN = Ue({
|
|
26987
26987
|
experimental: !0
|
|
26988
26988
|
}), LN = { class: "ff-collapsible-section" }, FN = { class: "ff-collapsible-section-header" }, KN = { class: "ff-collapsible-section-header-toggle" }, jN = {
|
|
26989
26989
|
key: 0,
|
|
@@ -27035,7 +27035,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27035
27035
|
t.value ? (S(), le("div", DN)) : ye("", !0)
|
|
27036
27036
|
]));
|
|
27037
27037
|
}
|
|
27038
|
-
}), Es = /* @__PURE__ */
|
|
27038
|
+
}), Es = /* @__PURE__ */ ze(qN, [["__scopeId", "data-v-39f2a44b"]]), BN = { class: "ff-mb-subject" }, UN = { class: "ff-mb-attributes" }, VN = { class: "ff-metering-billing-inline-row" }, zN = { class: "ff-mb-queue" }, GN = /* @__PURE__ */ Pe({
|
|
27039
27039
|
__name: "MeteringAndBillingForm",
|
|
27040
27040
|
props: {
|
|
27041
27041
|
schema: {},
|
|
@@ -27296,10 +27296,10 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27296
27296
|
_: 1
|
|
27297
27297
|
}, 16, ["plugin-config-description"]));
|
|
27298
27298
|
}
|
|
27299
|
-
}), HN = /* @__PURE__ */
|
|
27299
|
+
}), HN = /* @__PURE__ */ ze(GN, [["__scopeId", "data-v-78972733"]]), WN = Ue({
|
|
27300
27300
|
experimental: !0,
|
|
27301
27301
|
component: HN
|
|
27302
|
-
}), YN =
|
|
27302
|
+
}), YN = Ue({
|
|
27303
27303
|
experimental: !0,
|
|
27304
27304
|
fieldRenderers: [
|
|
27305
27305
|
{
|
|
@@ -27311,7 +27311,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27311
27311
|
}
|
|
27312
27312
|
}
|
|
27313
27313
|
]
|
|
27314
|
-
}), JN =
|
|
27314
|
+
}), JN = Ue({
|
|
27315
27315
|
experimental: !0,
|
|
27316
27316
|
fieldRenderers: [
|
|
27317
27317
|
{
|
|
@@ -27320,7 +27320,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27320
27320
|
propsOverrides: { multiple: !0 }
|
|
27321
27321
|
}
|
|
27322
27322
|
]
|
|
27323
|
-
}), XN =
|
|
27323
|
+
}), XN = Ue({
|
|
27324
27324
|
experimental: !0,
|
|
27325
27325
|
fieldRenderers: [
|
|
27326
27326
|
{
|
|
@@ -27332,11 +27332,11 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27332
27332
|
}
|
|
27333
27333
|
}
|
|
27334
27334
|
]
|
|
27335
|
-
}), ZN =
|
|
27335
|
+
}), ZN = Ue({
|
|
27336
27336
|
experimental: !0
|
|
27337
|
-
}), QN =
|
|
27337
|
+
}), QN = Ue({
|
|
27338
27338
|
experimental: !0
|
|
27339
|
-
}), eR =
|
|
27339
|
+
}), eR = Ue({
|
|
27340
27340
|
experimental: !0,
|
|
27341
27341
|
fieldRenderers: [
|
|
27342
27342
|
{
|
|
@@ -27347,7 +27347,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27347
27347
|
}
|
|
27348
27348
|
}
|
|
27349
27349
|
]
|
|
27350
|
-
}), tR =
|
|
27350
|
+
}), tR = Ue({
|
|
27351
27351
|
experimental: !0,
|
|
27352
27352
|
fieldRenderers: [
|
|
27353
27353
|
{
|
|
@@ -27371,7 +27371,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27371
27371
|
}
|
|
27372
27372
|
}
|
|
27373
27373
|
]
|
|
27374
|
-
}), nR =
|
|
27374
|
+
}), nR = Ue({
|
|
27375
27375
|
experimental: !0,
|
|
27376
27376
|
fieldRenderers: [
|
|
27377
27377
|
{
|
|
@@ -27395,9 +27395,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27395
27395
|
}
|
|
27396
27396
|
}
|
|
27397
27397
|
]
|
|
27398
|
-
}), iR =
|
|
27398
|
+
}), iR = Ue({
|
|
27399
27399
|
experimental: !0
|
|
27400
|
-
}), oR =
|
|
27400
|
+
}), oR = Ue({
|
|
27401
27401
|
experimental: !0,
|
|
27402
27402
|
renderRules: {
|
|
27403
27403
|
bundles: [
|
|
@@ -27414,7 +27414,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27414
27414
|
propsOverrides: { multiple: !0 }
|
|
27415
27415
|
}
|
|
27416
27416
|
]
|
|
27417
|
-
}), aR =
|
|
27417
|
+
}), aR = Ue({
|
|
27418
27418
|
experimental: !0,
|
|
27419
27419
|
fieldRenderers: [
|
|
27420
27420
|
{
|
|
@@ -27622,7 +27622,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27622
27622
|
});
|
|
27623
27623
|
};
|
|
27624
27624
|
}
|
|
27625
|
-
}), hR = /* @__PURE__ */
|
|
27625
|
+
}), hR = /* @__PURE__ */ ze(gR, [["__scopeId", "data-v-1fac872b"]]), yR = {
|
|
27626
27626
|
id: "rla-form-error-legend",
|
|
27627
27627
|
class: "rla-form-error-inputs"
|
|
27628
27628
|
}, vR = /* @__PURE__ */ Pe({
|
|
@@ -27664,7 +27664,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27664
27664
|
]);
|
|
27665
27665
|
};
|
|
27666
27666
|
}
|
|
27667
|
-
}), _R = /* @__PURE__ */
|
|
27667
|
+
}), _R = /* @__PURE__ */ ze(vR, [["__scopeId", "data-v-7b36f1f7"]]), bR = /* @__PURE__ */ Pe({
|
|
27668
27668
|
__name: "RedisField",
|
|
27669
27669
|
setup(e) {
|
|
27670
27670
|
const { formData: t } = gt(), n = pt(Yn), i = pt(Bo), o = (i == null ? void 0 : i.isEditing) || !1, r = L(() => {
|
|
@@ -27768,10 +27768,10 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27768
27768
|
_: 1
|
|
27769
27769
|
}, 16));
|
|
27770
27770
|
}
|
|
27771
|
-
}), CR =
|
|
27771
|
+
}), CR = Ue({
|
|
27772
27772
|
experimental: !0,
|
|
27773
27773
|
component: kR
|
|
27774
|
-
}), ER =
|
|
27774
|
+
}), ER = Ue({
|
|
27775
27775
|
experimental: !0,
|
|
27776
27776
|
renderRules: {
|
|
27777
27777
|
bundles: [
|
|
@@ -27781,7 +27781,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27781
27781
|
"config.redis": ["config.policy", "redis"]
|
|
27782
27782
|
}
|
|
27783
27783
|
}
|
|
27784
|
-
}), xR =
|
|
27784
|
+
}), xR = Ue({
|
|
27785
27785
|
experimental: !0
|
|
27786
27786
|
}), SR = "__request_callout_";
|
|
27787
27787
|
function Lm() {
|
|
@@ -28008,17 +28008,17 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28008
28008
|
_: 1
|
|
28009
28009
|
}, 16));
|
|
28010
28010
|
}
|
|
28011
|
-
}), OR = /* @__PURE__ */
|
|
28011
|
+
}), OR = /* @__PURE__ */ ze($R, [["__scopeId", "data-v-dc955662"]]), PR = Ue({
|
|
28012
28012
|
component: OR
|
|
28013
|
-
}), NR =
|
|
28013
|
+
}), NR = Ue({
|
|
28014
28014
|
experimental: !0
|
|
28015
|
-
}), RR =
|
|
28015
|
+
}), RR = Ue({
|
|
28016
28016
|
experimental: !0
|
|
28017
|
-
}), MR =
|
|
28017
|
+
}), MR = Ue({
|
|
28018
28018
|
experimental: !0
|
|
28019
|
-
}), LR =
|
|
28019
|
+
}), LR = Ue({
|
|
28020
28020
|
experimental: !0
|
|
28021
|
-
}), FR =
|
|
28021
|
+
}), FR = Ue({
|
|
28022
28022
|
experimental: !0,
|
|
28023
28023
|
fieldRenderers: [
|
|
28024
28024
|
{
|
|
@@ -28046,7 +28046,7 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28046
28046
|
}
|
|
28047
28047
|
}
|
|
28048
28048
|
]
|
|
28049
|
-
}), KR =
|
|
28049
|
+
}), KR = Ue({
|
|
28050
28050
|
experimental: !0,
|
|
28051
28051
|
renderRules: {
|
|
28052
28052
|
bundles: [
|
|
@@ -28056,7 +28056,7 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28056
28056
|
"config.redis": ["config.policy", "redis"]
|
|
28057
28057
|
}
|
|
28058
28058
|
}
|
|
28059
|
-
}), jR =
|
|
28059
|
+
}), jR = Ue({
|
|
28060
28060
|
experimental: !0,
|
|
28061
28061
|
fieldRenderers: [
|
|
28062
28062
|
{
|
|
@@ -28068,7 +28068,7 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28068
28068
|
}
|
|
28069
28069
|
}
|
|
28070
28070
|
]
|
|
28071
|
-
}), DR =
|
|
28071
|
+
}), DR = Ue({
|
|
28072
28072
|
experimental: !0,
|
|
28073
28073
|
fieldRenderers: [
|
|
28074
28074
|
{
|
|
@@ -28080,7 +28080,7 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28080
28080
|
}
|
|
28081
28081
|
}
|
|
28082
28082
|
]
|
|
28083
|
-
}), qR =
|
|
28083
|
+
}), qR = Ue({
|
|
28084
28084
|
experimental: !0,
|
|
28085
28085
|
fieldRenderers: [
|
|
28086
28086
|
{
|
|
@@ -28092,12 +28092,14 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28092
28092
|
}
|
|
28093
28093
|
}
|
|
28094
28094
|
]
|
|
28095
|
-
}), BR =
|
|
28095
|
+
}), BR = Ue({
|
|
28096
28096
|
experimental: !0
|
|
28097
|
-
}), UR = {
|
|
28097
|
+
}), UR = Ue({
|
|
28098
|
+
experimental: !0
|
|
28099
|
+
}), VR = { class: "sp-form-request-limits-subtitle" }, zR = { class: "sp-form-request-limits-content" }, GR = { class: "sp-form-window-type" }, HR = { class: "sp-form-request-limits-items" }, WR = { class: "sp-form-request-limits-row" }, YR = ["id"], JR = { class: "sp-form-request-limits-actions" }, XR = {
|
|
28098
28100
|
key: 0,
|
|
28099
28101
|
class: "sp-form-request-limits-examples"
|
|
28100
|
-
},
|
|
28102
|
+
}, ZR = { class: "sp-form-request-limits-examples-badges" }, Ss = "config.window_type", QR = /* @__PURE__ */ Pe({
|
|
28101
28103
|
__name: "RequestLimitsForm",
|
|
28102
28104
|
setup(e) {
|
|
28103
28105
|
var _;
|
|
@@ -28195,11 +28197,11 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28195
28197
|
]),
|
|
28196
28198
|
_: 1
|
|
28197
28199
|
}),
|
|
28198
|
-
ee("div",
|
|
28200
|
+
ee("div", VR, ue(u(t)("sp.request_limits.subtitle")), 1)
|
|
28199
28201
|
]),
|
|
28200
28202
|
default: N(() => [
|
|
28201
|
-
ee("div",
|
|
28202
|
-
ee("div",
|
|
28203
|
+
ee("div", zR, [
|
|
28204
|
+
ee("div", GR, [
|
|
28203
28205
|
C(pu, {
|
|
28204
28206
|
items: c.value,
|
|
28205
28207
|
label: u(t)("sp.window_type.label"),
|
|
@@ -28207,7 +28209,7 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28207
28209
|
"onUpdate:modelValue": b[0] || (b[0] = (O) => p.value = void 0)
|
|
28208
28210
|
}, null, 8, ["items", "label"])
|
|
28209
28211
|
]),
|
|
28210
|
-
ee("div",
|
|
28212
|
+
ee("div", HR, [
|
|
28211
28213
|
(S(!0), le(Ge, null, et(r.value, (O, q) => (S(), le("div", {
|
|
28212
28214
|
key: u(a)(O, q)
|
|
28213
28215
|
}, [
|
|
@@ -28219,7 +28221,7 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28219
28221
|
]),
|
|
28220
28222
|
_: 2
|
|
28221
28223
|
}, 1032, ["for"]),
|
|
28222
|
-
ee("div",
|
|
28224
|
+
ee("div", WR, [
|
|
28223
28225
|
ee("legend", {
|
|
28224
28226
|
id: `sp-form-request-limits-item-${q}-legend`,
|
|
28225
28227
|
class: "sp-form-request-limits-inputs"
|
|
@@ -28234,8 +28236,8 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28234
28236
|
placeholder: u(t)("sp.request_limits.time_interval")
|
|
28235
28237
|
}, null, 8, ["name", "placeholder"]),
|
|
28236
28238
|
ee("div", null, ue(u(t)("sp.request_limits.seconds")), 1)
|
|
28237
|
-
], 8,
|
|
28238
|
-
ee("div",
|
|
28239
|
+
], 8, YR),
|
|
28240
|
+
ee("div", JR, [
|
|
28239
28241
|
C(E, {
|
|
28240
28242
|
appearance: "tertiary",
|
|
28241
28243
|
disabled: r.value.length <= 1,
|
|
@@ -28259,9 +28261,9 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28259
28261
|
])
|
|
28260
28262
|
]))), 128))
|
|
28261
28263
|
]),
|
|
28262
|
-
h.value.length > 0 ? (S(), le("div",
|
|
28264
|
+
h.value.length > 0 ? (S(), le("div", XR, [
|
|
28263
28265
|
ee("div", null, ue(u(t)("sp.start_with_a_use_case")), 1),
|
|
28264
|
-
ee("div",
|
|
28266
|
+
ee("div", ZR, [
|
|
28265
28267
|
(S(!0), le(Ge, null, et(h.value, (O, q) => (S(), Z(w, {
|
|
28266
28268
|
key: `use-case-${q}`,
|
|
28267
28269
|
"max-width": "300"
|
|
@@ -28294,10 +28296,10 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28294
28296
|
});
|
|
28295
28297
|
};
|
|
28296
28298
|
}
|
|
28297
|
-
}),
|
|
28299
|
+
}), e2 = /* @__PURE__ */ ze(QR, [["__scopeId", "data-v-e12d9c9f"]]), t2 = {
|
|
28298
28300
|
id: "sp-form-error-legend",
|
|
28299
28301
|
class: "sp-form-error-inputs"
|
|
28300
|
-
},
|
|
28302
|
+
}, n2 = /* @__PURE__ */ Pe({
|
|
28301
28303
|
__name: "ErrorMessageForm",
|
|
28302
28304
|
setup(e) {
|
|
28303
28305
|
const { t } = Jt("en-us", on);
|
|
@@ -28318,7 +28320,7 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28318
28320
|
]),
|
|
28319
28321
|
_: 1
|
|
28320
28322
|
}, 8, ["info"]),
|
|
28321
|
-
ee("legend",
|
|
28323
|
+
ee("legend", t2, [
|
|
28322
28324
|
C(Yt, {
|
|
28323
28325
|
class: "input-error-code",
|
|
28324
28326
|
label: "",
|
|
@@ -28336,7 +28338,7 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28336
28338
|
]);
|
|
28337
28339
|
};
|
|
28338
28340
|
}
|
|
28339
|
-
}),
|
|
28341
|
+
}), i2 = /* @__PURE__ */ ze(n2, [["__scopeId", "data-v-0796e152"]]), o2 = /* @__PURE__ */ Pe({
|
|
28340
28342
|
__name: "RedisField",
|
|
28341
28343
|
setup(e) {
|
|
28342
28344
|
const { formData: t } = gt(), n = pt(Yn), i = pt(Bo), o = (i == null ? void 0 : i.isEditing) || !1, r = L(() => {
|
|
@@ -28359,7 +28361,7 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28359
28361
|
_: 1
|
|
28360
28362
|
}));
|
|
28361
28363
|
}
|
|
28362
|
-
}),
|
|
28364
|
+
}), a2 = /* @__PURE__ */ Pe({
|
|
28363
28365
|
__name: "ConfigForm",
|
|
28364
28366
|
setup(e) {
|
|
28365
28367
|
return (t, n) => (S(), le(Ge, null, [
|
|
@@ -28369,8 +28371,8 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28369
28371
|
"reset-label-path": "reset"
|
|
28370
28372
|
}, {
|
|
28371
28373
|
default: N(() => [
|
|
28372
|
-
C(
|
|
28373
|
-
C(
|
|
28374
|
+
C(e2),
|
|
28375
|
+
C(i2)
|
|
28374
28376
|
]),
|
|
28375
28377
|
_: 1
|
|
28376
28378
|
}),
|
|
@@ -28379,7 +28381,7 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28379
28381
|
C(st, { name: "config.dictionary_name" }),
|
|
28380
28382
|
C(st, { name: "config.lock_dictionary_name" }),
|
|
28381
28383
|
C(st, { name: "config.strategy" }),
|
|
28382
|
-
C(
|
|
28384
|
+
C(o2),
|
|
28383
28385
|
C(st, { name: "config.namespace" }),
|
|
28384
28386
|
C(st, { name: "config.hide_client_headers" }),
|
|
28385
28387
|
C(st, { name: "config.disable_penalty" }),
|
|
@@ -28390,7 +28392,7 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28390
28392
|
})
|
|
28391
28393
|
], 64));
|
|
28392
28394
|
}
|
|
28393
|
-
}),
|
|
28395
|
+
}), r2 = /* @__PURE__ */ Pe({
|
|
28394
28396
|
__name: "ServiceProtectionForm",
|
|
28395
28397
|
props: {
|
|
28396
28398
|
schema: {},
|
|
@@ -28420,17 +28422,17 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28420
28422
|
}
|
|
28421
28423
|
return (o, r) => (S(), Z(li, We(t, { "on-form-change": i }), {
|
|
28422
28424
|
default: N(() => [
|
|
28423
|
-
C(
|
|
28425
|
+
C(a2)
|
|
28424
28426
|
]),
|
|
28425
28427
|
_: 1
|
|
28426
28428
|
}, 16));
|
|
28427
28429
|
}
|
|
28428
|
-
}),
|
|
28430
|
+
}), s2 = Ue({
|
|
28429
28431
|
experimental: !0,
|
|
28430
|
-
component:
|
|
28431
|
-
}),
|
|
28432
|
+
component: r2
|
|
28433
|
+
}), l2 = Ue({
|
|
28432
28434
|
experimental: !0
|
|
28433
|
-
}),
|
|
28435
|
+
}), u2 = Ue({
|
|
28434
28436
|
experimental: !0,
|
|
28435
28437
|
fieldRenderers: [
|
|
28436
28438
|
{
|
|
@@ -28442,7 +28444,7 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28442
28444
|
}
|
|
28443
28445
|
}
|
|
28444
28446
|
]
|
|
28445
|
-
}),
|
|
28447
|
+
}), c2 = Ue({
|
|
28446
28448
|
experimental: !0,
|
|
28447
28449
|
fieldRenderers: [
|
|
28448
28450
|
{
|
|
@@ -28453,7 +28455,7 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28453
28455
|
}
|
|
28454
28456
|
}
|
|
28455
28457
|
]
|
|
28456
|
-
}),
|
|
28458
|
+
}), d2 = Ue({
|
|
28457
28459
|
experimental: !0,
|
|
28458
28460
|
fieldRenderers: [
|
|
28459
28461
|
{
|
|
@@ -28465,9 +28467,9 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28465
28467
|
}
|
|
28466
28468
|
}
|
|
28467
28469
|
]
|
|
28468
|
-
}),
|
|
28470
|
+
}), p2 = Ue({
|
|
28469
28471
|
experimental: !0
|
|
28470
|
-
}),
|
|
28472
|
+
}), f2 = Ue({
|
|
28471
28473
|
experimental: !0,
|
|
28472
28474
|
fieldRenderers: [
|
|
28473
28475
|
{
|
|
@@ -28479,7 +28481,7 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28479
28481
|
}
|
|
28480
28482
|
}
|
|
28481
28483
|
]
|
|
28482
|
-
}),
|
|
28484
|
+
}), m2 = Ue({
|
|
28483
28485
|
experimental: !0,
|
|
28484
28486
|
renderRules: {
|
|
28485
28487
|
bundles: [
|
|
@@ -28499,11 +28501,13 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28499
28501
|
}
|
|
28500
28502
|
}
|
|
28501
28503
|
]
|
|
28502
|
-
}),
|
|
28504
|
+
}), g2 = Ue({
|
|
28505
|
+
experimental: !0
|
|
28506
|
+
}), h2 = Ue({
|
|
28503
28507
|
experimental: !0
|
|
28504
|
-
}),
|
|
28508
|
+
}), y2 = Ue({
|
|
28505
28509
|
experimental: !0
|
|
28506
|
-
}),
|
|
28510
|
+
}), v2 = Ue({
|
|
28507
28511
|
experimental: !0,
|
|
28508
28512
|
fieldRenderers: [
|
|
28509
28513
|
{
|
|
@@ -28515,9 +28519,9 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28515
28519
|
}
|
|
28516
28520
|
}
|
|
28517
28521
|
]
|
|
28518
|
-
}),
|
|
28522
|
+
}), _2 = Ue({
|
|
28519
28523
|
experimental: !0
|
|
28520
|
-
}),
|
|
28524
|
+
}), b2 = Ue({
|
|
28521
28525
|
experimental: !0,
|
|
28522
28526
|
fieldRenderers: [
|
|
28523
28527
|
{
|
|
@@ -28529,7 +28533,7 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28529
28533
|
}
|
|
28530
28534
|
}
|
|
28531
28535
|
]
|
|
28532
|
-
}),
|
|
28536
|
+
}), w2 = /* @__PURE__ */ Object.assign({
|
|
28533
28537
|
"../plugins/ace.ts": xI,
|
|
28534
28538
|
"../plugins/acl/index.ts": $I,
|
|
28535
28539
|
"../plugins/ai-custom-guardrail.ts": OI,
|
|
@@ -28600,31 +28604,33 @@ const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
|
28600
28604
|
"../plugins/response-transformer.ts": DR,
|
|
28601
28605
|
"../plugins/route-by-header.ts": qR,
|
|
28602
28606
|
"../plugins/route-transformer-advanced.ts": BR,
|
|
28603
|
-
"../plugins/
|
|
28604
|
-
"../plugins/
|
|
28605
|
-
"../plugins/
|
|
28606
|
-
"../plugins/solace-
|
|
28607
|
-
"../plugins/solace-
|
|
28608
|
-
"../plugins/
|
|
28609
|
-
"../plugins/
|
|
28610
|
-
"../plugins/
|
|
28611
|
-
"../plugins/upstream-
|
|
28612
|
-
"../plugins/
|
|
28613
|
-
"../plugins/
|
|
28614
|
-
"../plugins/
|
|
28615
|
-
"../plugins/
|
|
28607
|
+
"../plugins/saml.ts": UR,
|
|
28608
|
+
"../plugins/service-protection/index.ts": s2,
|
|
28609
|
+
"../plugins/session.ts": l2,
|
|
28610
|
+
"../plugins/solace-consume.ts": u2,
|
|
28611
|
+
"../plugins/solace-log.ts": c2,
|
|
28612
|
+
"../plugins/solace-upstream.ts": d2,
|
|
28613
|
+
"../plugins/standard-webhooks.ts": p2,
|
|
28614
|
+
"../plugins/statsd.ts": f2,
|
|
28615
|
+
"../plugins/upstream-oauth.ts": m2,
|
|
28616
|
+
"../plugins/upstream-timeout.ts": g2,
|
|
28617
|
+
"../plugins/vault-auth.ts": h2,
|
|
28618
|
+
"../plugins/websocket-size-limit.ts": y2,
|
|
28619
|
+
"../plugins/websocket-validator.ts": v2,
|
|
28620
|
+
"../plugins/xml-threat-protection.ts": _2,
|
|
28621
|
+
"../plugins/zipkin.ts": b2
|
|
28616
28622
|
});
|
|
28617
|
-
function
|
|
28623
|
+
function k2(e) {
|
|
28618
28624
|
const t = e.match(/\.\.\/plugins\/(.+?)(?:\/index)?\.ts$/);
|
|
28619
28625
|
if (!t)
|
|
28620
28626
|
throw new Error(`Unable to derive plugin name from path: ${e}`);
|
|
28621
28627
|
const [, n] = t;
|
|
28622
28628
|
return n;
|
|
28623
28629
|
}
|
|
28624
|
-
function
|
|
28630
|
+
function C2(e) {
|
|
28625
28631
|
const t = {}, n = /* @__PURE__ */ new Map();
|
|
28626
28632
|
for (const [i, o] of Object.entries(e)) {
|
|
28627
|
-
const r =
|
|
28633
|
+
const r = k2(i);
|
|
28628
28634
|
if (n.has(r))
|
|
28629
28635
|
throw new Error(`Duplicate plugin config for "${r}": ${n.get(r)} and ${i}`);
|
|
28630
28636
|
n.set(r, i), t[r] = {
|
|
@@ -28636,7 +28642,7 @@ function w2(e) {
|
|
|
28636
28642
|
}
|
|
28637
28643
|
return t;
|
|
28638
28644
|
}
|
|
28639
|
-
const Fm = w2
|
|
28645
|
+
const Fm = C2(w2);
|
|
28640
28646
|
function Km(e) {
|
|
28641
28647
|
return Fm[e];
|
|
28642
28648
|
}
|
|
@@ -28648,22 +28654,22 @@ function jm(e, t) {
|
|
|
28648
28654
|
function Dm(e, t, n) {
|
|
28649
28655
|
return n === "freeform" ? !0 : n === "vfg" ? !1 : !!jm(e, t);
|
|
28650
28656
|
}
|
|
28651
|
-
function
|
|
28657
|
+
function E2() {
|
|
28652
28658
|
return Object.entries(Fm).filter(([, e]) => e.experimental).map(([e]) => e).sort((e, t) => e.localeCompare(t));
|
|
28653
28659
|
}
|
|
28654
28660
|
function mu() {
|
|
28655
28661
|
return pt($p, []);
|
|
28656
28662
|
}
|
|
28657
|
-
function
|
|
28658
|
-
const t = new Set(
|
|
28663
|
+
function x2(e) {
|
|
28664
|
+
const t = new Set(E2()), n = e.filter((o) => t.has(o)), i = e.filter((o) => !t.has(o));
|
|
28659
28665
|
return i.length > 0 && console.warn(
|
|
28660
28666
|
`[entities-plugins] Ignoring unknown experimental free-form plugins: ${i.join(", ")}`
|
|
28661
28667
|
), n;
|
|
28662
28668
|
}
|
|
28663
|
-
function
|
|
28664
|
-
Ft($p,
|
|
28669
|
+
function S2(e) {
|
|
28670
|
+
Ft($p, x2(e));
|
|
28665
28671
|
}
|
|
28666
|
-
function
|
|
28672
|
+
function A2() {
|
|
28667
28673
|
const e = mu();
|
|
28668
28674
|
return {
|
|
28669
28675
|
shouldUseFreeForm: (t, n) => Dm(t, e, n),
|
|
@@ -28745,11 +28751,11 @@ const Bm = (e) => {
|
|
|
28745
28751
|
e.protected_resource_metadata = null;
|
|
28746
28752
|
return;
|
|
28747
28753
|
}
|
|
28748
|
-
},
|
|
28754
|
+
}, I2 = {
|
|
28749
28755
|
shamefullyTransformPayload(e) {
|
|
28750
28756
|
return qm(e.payload.config), Bm(e.payload.config), Um(e.payload.config), e;
|
|
28751
28757
|
}
|
|
28752
|
-
},
|
|
28758
|
+
}, T2 = {
|
|
28753
28759
|
shamefullyTransformPayload(e) {
|
|
28754
28760
|
var t, n, i, o, r;
|
|
28755
28761
|
if (!((n = (t = e.payload.config) == null ? void 0 : t.access_logs) != null && n.custom_attributes_by_lua))
|
|
@@ -28760,7 +28766,7 @@ const Bm = (e) => {
|
|
|
28760
28766
|
}
|
|
28761
28767
|
return e;
|
|
28762
28768
|
}
|
|
28763
|
-
},
|
|
28769
|
+
}, $2 = {
|
|
28764
28770
|
shamefullyTransformPayload(e) {
|
|
28765
28771
|
var n, i;
|
|
28766
28772
|
const t = (i = (n = e.payload.config) == null ? void 0 : n.v2_strategies) == null ? void 0 : i.openid_connect;
|
|
@@ -28768,7 +28774,7 @@ const Bm = (e) => {
|
|
|
28768
28774
|
qm(o.config), Bm(o.config), Um(o.config);
|
|
28769
28775
|
}), e;
|
|
28770
28776
|
}
|
|
28771
|
-
},
|
|
28777
|
+
}, O2 = {
|
|
28772
28778
|
shamefullyTransformPayload(e) {
|
|
28773
28779
|
var n;
|
|
28774
28780
|
return !e.payload.config || !((n = e.payload.config) != null && n.token_exchange) || [
|
|
@@ -28793,10 +28799,10 @@ const Bm = (e) => {
|
|
|
28793
28799
|
return tn((o = e.payload.config) == null ? void 0 : o.token_exchange, i);
|
|
28794
28800
|
}) && (e.payload.config.token_exchange = null), e;
|
|
28795
28801
|
}
|
|
28796
|
-
},
|
|
28802
|
+
}, P2 = (e, t) => {
|
|
28797
28803
|
const n = e.model.startsWith("config-"), i = t.model.startsWith("config-");
|
|
28798
28804
|
return n && !i ? 1 : !n && i ? -1 : 0;
|
|
28799
|
-
}, Vm = (e, t) => (e.order ?? 0) - (t.order ?? 0), Wc = (e, t) =>
|
|
28805
|
+
}, Vm = (e, t) => (e.order ?? 0) - (t.order ?? 0), Wc = (e, t) => P2(e, t) || Vm(e, t) || e.model.localeCompare(t.model), N2 = (e) => {
|
|
28800
28806
|
const { capitalize: t } = fl(), { convertToDotNotation: n } = Hp(), { i18n: { t: i } } = it(), o = mu(), r = {
|
|
28801
28807
|
"application-registration": {
|
|
28802
28808
|
overwriteDefault: !0,
|
|
@@ -28917,16 +28923,16 @@ const Bm = (e) => {
|
|
|
28917
28923
|
...FE
|
|
28918
28924
|
},
|
|
28919
28925
|
"openid-connect": {
|
|
28920
|
-
...
|
|
28926
|
+
...I2
|
|
28921
28927
|
},
|
|
28922
28928
|
opentelemetry: {
|
|
28923
|
-
...
|
|
28929
|
+
...T2
|
|
28924
28930
|
},
|
|
28925
28931
|
"konnect-application-auth": {
|
|
28926
|
-
|
|
28932
|
+
...$2
|
|
28927
28933
|
},
|
|
28928
28934
|
"ai-mcp-oauth2": {
|
|
28929
|
-
...
|
|
28935
|
+
...O2
|
|
28930
28936
|
}
|
|
28931
28937
|
}, a = () => ["created_at", "updated_at", "id", "_isCustomPlugin", "_sourcePlugin", "_supported_redis_partial_type", "_redis_partial_path"], l = (w, T, O, q) => {
|
|
28932
28938
|
let A = {};
|
|
@@ -29151,20 +29157,20 @@ const Bm = (e) => {
|
|
|
29151
29157
|
typedefs: Co,
|
|
29152
29158
|
pruneRecord: k
|
|
29153
29159
|
};
|
|
29154
|
-
}, tr = Symbol("customPluginType"),
|
|
29160
|
+
}, tr = Symbol("customPluginType"), R2 = 1e3, M2 = 20, Yc = 5e3, Jc = (e, t = R2) => {
|
|
29155
29161
|
const n = /^[a-z][a-z\d+.-]*:/i.test(e), i = new URL(e, "http://localhost");
|
|
29156
29162
|
return i.searchParams.has("size") || i.searchParams.set("size", `${t}`), n ? i.toString() : `${i.pathname}${i.search}${i.hash}`;
|
|
29157
29163
|
}, Ir = async (e, t, n) => {
|
|
29158
29164
|
const i = [];
|
|
29159
29165
|
let o = Jc(t), r = null, a = 0;
|
|
29160
|
-
for (; o && a <
|
|
29166
|
+
for (; o && a < M2 && i.length < Yc && o !== r; ) {
|
|
29161
29167
|
r = o;
|
|
29162
29168
|
const s = (await e.get(o, { signal: n })).data;
|
|
29163
29169
|
Array.isArray(s == null ? void 0 : s.data) && i.push(...s.data), o = s != null && s.next ? Jc(s.next) : null, a += 1;
|
|
29164
29170
|
}
|
|
29165
29171
|
return i.slice(0, Yc);
|
|
29166
29172
|
};
|
|
29167
|
-
function
|
|
29173
|
+
function L2(e) {
|
|
29168
29174
|
const { axiosInstance: t, apiBaseUrl: n } = e, i = () => {
|
|
29169
29175
|
if (e.app !== "konnect")
|
|
29170
29176
|
throw new Error("Installed custom plugin APIs are only available for Konnect");
|
|
@@ -29253,25 +29259,25 @@ const lt = {
|
|
|
29253
29259
|
useI18n: it,
|
|
29254
29260
|
usePluginMetaData: Yp,
|
|
29255
29261
|
usePluginHelpers: Hp,
|
|
29256
|
-
useSchemas:
|
|
29262
|
+
useSchemas: N2,
|
|
29257
29263
|
useExperimentalFreeForms: mu,
|
|
29258
|
-
useProvideExperimentalFreeForms:
|
|
29259
|
-
useFreeFormResolver:
|
|
29260
|
-
useCustomPluginApi:
|
|
29264
|
+
useProvideExperimentalFreeForms: S2,
|
|
29265
|
+
useFreeFormResolver: A2,
|
|
29266
|
+
useCustomPluginApi: L2
|
|
29261
29267
|
}, zm = (e) => {
|
|
29262
29268
|
var n, i, o, r;
|
|
29263
29269
|
const t = e == null ? void 0 : e.response;
|
|
29264
29270
|
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");
|
|
29265
|
-
},
|
|
29271
|
+
}, F2 = { class: "kong-ui-entities-custom-plugin-form" }, K2 = { class: "plugin-type-radios" }, j2 = { class: "compare-table-wrapper" }, D2 = { class: "compare-table" }, q2 = {
|
|
29266
29272
|
key: 0,
|
|
29267
29273
|
scope: "col"
|
|
29268
|
-
},
|
|
29274
|
+
}, B2 = {
|
|
29269
29275
|
key: 1,
|
|
29270
29276
|
scope: "col"
|
|
29271
|
-
},
|
|
29277
|
+
}, U2 = {
|
|
29272
29278
|
key: 2,
|
|
29273
29279
|
scope: "col"
|
|
29274
|
-
},
|
|
29280
|
+
}, V2 = { scope: "row" }, z2 = { key: 0 }, G2 = { key: 1 }, H2 = { key: 2 }, W2 = { scope: "row" }, Y2 = { key: 0 }, J2 = { class: "compare-list" }, X2 = { key: 1 }, Z2 = { class: "compare-list" }, Q2 = { key: 2 }, eM = { scope: "row" }, tM = { key: 0 }, nM = { key: 1 }, iM = { key: 2 }, oM = { scope: "row" }, aM = { key: 0 }, rM = { key: 1 }, sM = { key: 2 }, lM = { scope: "row" }, uM = { key: 0 }, cM = { key: 1 }, dM = { key: 2 }, pM = { class: "plugin-modules-section" }, fM = { class: "plugin-select-item" }, mM = { class: "plugin-select-item" }, gM = { key: 1 }, hM = 1 * 1024 * 1024, yM = /* @__PURE__ */ Pe({
|
|
29275
29281
|
__name: "CustomPluginForm",
|
|
29276
29282
|
props: {
|
|
29277
29283
|
config: {
|
|
@@ -29439,7 +29445,7 @@ const lt = {
|
|
|
29439
29445
|
}), D = async (pe, he) => {
|
|
29440
29446
|
const Ke = he[0];
|
|
29441
29447
|
if (Ke) {
|
|
29442
|
-
if (Ke.size >
|
|
29448
|
+
if (Ke.size > hM) {
|
|
29443
29449
|
M.errorMessage = a("custom_plugin_form.errors.file_too_large");
|
|
29444
29450
|
return;
|
|
29445
29451
|
}
|
|
@@ -29524,7 +29530,7 @@ const lt = {
|
|
|
29524
29530
|
};
|
|
29525
29531
|
return (pe, he) => {
|
|
29526
29532
|
const Ke = xe("KSkeleton"), Be = xe("KEmptyState"), je = xe("KRadio"), He = xe("KCollapse"), Ye = xe("KFileUpload"), rt = xe("KLabel"), ft = xe("KAlert"), qe = xe("KSelect"), Ce = xe("KInput"), se = xe("KButton");
|
|
29527
|
-
return S(), le("div",
|
|
29533
|
+
return S(), le("div", F2, [
|
|
29528
29534
|
C(u(md), {
|
|
29529
29535
|
ref_key: "entityBaseFormRef",
|
|
29530
29536
|
ref: x,
|
|
@@ -29541,7 +29547,7 @@ const lt = {
|
|
|
29541
29547
|
onSubmit: we
|
|
29542
29548
|
}, {
|
|
29543
29549
|
"form-actions": N(() => [
|
|
29544
|
-
A.value || I.value || j.value ? (S(), le("span",
|
|
29550
|
+
A.value || I.value || j.value ? (S(), le("span", gM)) : (S(), le(Ge, { key: 0 }, [
|
|
29545
29551
|
C(se, {
|
|
29546
29552
|
appearance: "primary",
|
|
29547
29553
|
"data-testid": "custom-plugin-form-submit",
|
|
@@ -29611,7 +29617,7 @@ const lt = {
|
|
|
29611
29617
|
title: u(a)("custom_plugin_form.step1.title")
|
|
29612
29618
|
}, {
|
|
29613
29619
|
default: N(() => [
|
|
29614
|
-
ee("div",
|
|
29620
|
+
ee("div", K2, [
|
|
29615
29621
|
oe("installed") ? (S(), Z(je, {
|
|
29616
29622
|
key: 0,
|
|
29617
29623
|
modelValue: M.fields.pluginType,
|
|
@@ -29655,39 +29661,39 @@ const lt = {
|
|
|
29655
29661
|
"trigger-label": u(a)("custom_plugin_form.step1.compare_trigger")
|
|
29656
29662
|
}, {
|
|
29657
29663
|
default: N(() => [
|
|
29658
|
-
ee("div",
|
|
29659
|
-
ee("table",
|
|
29664
|
+
ee("div", j2, [
|
|
29665
|
+
ee("table", D2, [
|
|
29660
29666
|
ee("thead", null, [
|
|
29661
29667
|
ee("tr", null, [
|
|
29662
29668
|
he[15] || (he[15] = ee("th", { scope: "col" }, null, -1)),
|
|
29663
|
-
oe("installed") ? (S(), le("th",
|
|
29664
|
-
oe("streamed") ? (S(), le("th",
|
|
29665
|
-
oe("cloned") ? (S(), le("th",
|
|
29669
|
+
oe("installed") ? (S(), le("th", q2, ue(u(a)("custom_plugin_form.step1.compare_table.columns.installed")), 1)) : ye("", !0),
|
|
29670
|
+
oe("streamed") ? (S(), le("th", B2, ue(u(a)("custom_plugin_form.step1.compare_table.columns.streamed")), 1)) : ye("", !0),
|
|
29671
|
+
oe("cloned") ? (S(), le("th", U2, ue(u(a)("custom_plugin_form.step1.compare_table.columns.cloned")), 1)) : ye("", !0)
|
|
29666
29672
|
])
|
|
29667
29673
|
]),
|
|
29668
29674
|
ee("tbody", null, [
|
|
29669
29675
|
ee("tr", null, [
|
|
29670
|
-
ee("th",
|
|
29671
|
-
oe("installed") ? (S(), le("td",
|
|
29672
|
-
oe("streamed") ? (S(), le("td",
|
|
29673
|
-
oe("cloned") ? (S(), le("td",
|
|
29676
|
+
ee("th", V2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.header")), 1),
|
|
29677
|
+
oe("installed") ? (S(), le("td", z2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.installed")), 1)) : ye("", !0),
|
|
29678
|
+
oe("streamed") ? (S(), le("td", G2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.streamed")), 1)) : ye("", !0),
|
|
29679
|
+
oe("cloned") ? (S(), le("td", H2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.cloned")), 1)) : ye("", !0)
|
|
29674
29680
|
]),
|
|
29675
29681
|
ee("tr", null, [
|
|
29676
|
-
ee("th",
|
|
29677
|
-
oe("installed") ? (S(), le("td",
|
|
29678
|
-
ee("ul",
|
|
29682
|
+
ee("th", W2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.header")), 1),
|
|
29683
|
+
oe("installed") ? (S(), le("td", Y2, [
|
|
29684
|
+
ee("ul", J2, [
|
|
29679
29685
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.handler")), 1),
|
|
29680
29686
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.schema")), 1),
|
|
29681
29687
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.additional")), 1)
|
|
29682
29688
|
])
|
|
29683
29689
|
])) : ye("", !0),
|
|
29684
|
-
oe("streamed") ? (S(), le("td",
|
|
29685
|
-
ee("ul",
|
|
29690
|
+
oe("streamed") ? (S(), le("td", X2, [
|
|
29691
|
+
ee("ul", Z2, [
|
|
29686
29692
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.streamed.handler")), 1),
|
|
29687
29693
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.streamed.schema")), 1)
|
|
29688
29694
|
])
|
|
29689
29695
|
])) : ye("", !0),
|
|
29690
|
-
oe("cloned") ? (S(), le("td",
|
|
29696
|
+
oe("cloned") ? (S(), le("td", Q2, [
|
|
29691
29697
|
C(u(Da), {
|
|
29692
29698
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29693
29699
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
@@ -29695,20 +29701,20 @@ const lt = {
|
|
|
29695
29701
|
])) : ye("", !0)
|
|
29696
29702
|
]),
|
|
29697
29703
|
ee("tr", null, [
|
|
29698
|
-
ee("th",
|
|
29699
|
-
oe("installed") ? (S(), le("td",
|
|
29700
|
-
oe("streamed") ? (S(), le("td",
|
|
29701
|
-
oe("cloned") ? (S(), le("td",
|
|
29704
|
+
ee("th", eM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.header")), 1),
|
|
29705
|
+
oe("installed") ? (S(), le("td", tM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.installed")), 1)) : ye("", !0),
|
|
29706
|
+
oe("streamed") ? (S(), le("td", nM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.streamed")), 1)) : ye("", !0),
|
|
29707
|
+
oe("cloned") ? (S(), le("td", iM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.cloned")), 1)) : ye("", !0)
|
|
29702
29708
|
]),
|
|
29703
29709
|
ee("tr", null, [
|
|
29704
|
-
ee("th",
|
|
29705
|
-
oe("installed") ? (S(), le("td",
|
|
29710
|
+
ee("th", oM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.sandboxing.header")), 1),
|
|
29711
|
+
oe("installed") ? (S(), le("td", aM, [
|
|
29706
29712
|
C(u(Da), {
|
|
29707
29713
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29708
29714
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
29709
29715
|
}, null, 8, ["color", "size"])
|
|
29710
29716
|
])) : ye("", !0),
|
|
29711
|
-
oe("streamed") ? (S(), le("td",
|
|
29717
|
+
oe("streamed") ? (S(), le("td", rM, [
|
|
29712
29718
|
C(u(l), { keypath: "custom_plugin_form.step1.compare_table.rows.sandboxing.streamed" }, {
|
|
29713
29719
|
link: N(() => [
|
|
29714
29720
|
C(u(bu), {
|
|
@@ -29724,23 +29730,23 @@ const lt = {
|
|
|
29724
29730
|
_: 1
|
|
29725
29731
|
})
|
|
29726
29732
|
])) : ye("", !0),
|
|
29727
|
-
oe("cloned") ? (S(), le("td",
|
|
29733
|
+
oe("cloned") ? (S(), le("td", sM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.sandboxing.cloned")), 1)) : ye("", !0)
|
|
29728
29734
|
]),
|
|
29729
29735
|
ee("tr", null, [
|
|
29730
|
-
ee("th",
|
|
29731
|
-
oe("installed") ? (S(), le("td",
|
|
29736
|
+
ee("th", lM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.data_plane_reload.header")), 1),
|
|
29737
|
+
oe("installed") ? (S(), le("td", uM, [
|
|
29732
29738
|
C(u(Cg), {
|
|
29733
29739
|
color: `var(--kui-color-text-success, ${u(xd)})`,
|
|
29734
29740
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
29735
29741
|
}, null, 8, ["color", "size"])
|
|
29736
29742
|
])) : ye("", !0),
|
|
29737
|
-
oe("streamed") ? (S(), le("td",
|
|
29743
|
+
oe("streamed") ? (S(), le("td", cM, [
|
|
29738
29744
|
C(u(Da), {
|
|
29739
29745
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29740
29746
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
29741
29747
|
}, null, 8, ["color", "size"])
|
|
29742
29748
|
])) : ye("", !0),
|
|
29743
|
-
oe("cloned") ? (S(), le("td",
|
|
29749
|
+
oe("cloned") ? (S(), le("td", dM, [
|
|
29744
29750
|
C(u(Da), {
|
|
29745
29751
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29746
29752
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
@@ -29774,7 +29780,7 @@ const lt = {
|
|
|
29774
29780
|
onFileAdded: he[4] || (he[4] = (ie) => D("schema", ie)),
|
|
29775
29781
|
onFileRemoved: he[5] || (he[5] = (ie) => re("schema"))
|
|
29776
29782
|
}, null, 8, ["button-text", "help", "label", "placeholder", "required"]),
|
|
29777
|
-
ee("div",
|
|
29783
|
+
ee("div", pM, [
|
|
29778
29784
|
C(rt, null, {
|
|
29779
29785
|
default: N(() => [
|
|
29780
29786
|
Le(ue(u(a)("custom_plugin_form.step2_files.plugin_modules.label")), 1)
|
|
@@ -29839,7 +29845,7 @@ const lt = {
|
|
|
29839
29845
|
required: ""
|
|
29840
29846
|
}, {
|
|
29841
29847
|
"item-template": N(({ item: ie }) => [
|
|
29842
|
-
ee("div",
|
|
29848
|
+
ee("div", fM, [
|
|
29843
29849
|
C(u(qi), {
|
|
29844
29850
|
name: String(ie.value),
|
|
29845
29851
|
size: 20
|
|
@@ -29848,7 +29854,7 @@ const lt = {
|
|
|
29848
29854
|
])
|
|
29849
29855
|
]),
|
|
29850
29856
|
"selected-item-template": N(({ item: ie }) => [
|
|
29851
|
-
ee("div",
|
|
29857
|
+
ee("div", mM, [
|
|
29852
29858
|
C(u(qi), {
|
|
29853
29859
|
name: String(ie.value),
|
|
29854
29860
|
size: 20
|
|
@@ -29944,7 +29950,7 @@ const lt = {
|
|
|
29944
29950
|
]);
|
|
29945
29951
|
};
|
|
29946
29952
|
}
|
|
29947
|
-
}),
|
|
29953
|
+
}), SK = /* @__PURE__ */ ze(yM, [["__scopeId", "data-v-0c1e017a"]]), vM = (e, t) => ({
|
|
29948
29954
|
type: "array",
|
|
29949
29955
|
valueType: "string",
|
|
29950
29956
|
valueArrayType: "array",
|
|
@@ -29963,7 +29969,7 @@ const lt = {
|
|
|
29963
29969
|
},
|
|
29964
29970
|
...(t == null ? void 0 : t[0]) != null ? { default: t[0] } : {}
|
|
29965
29971
|
}
|
|
29966
|
-
}),
|
|
29972
|
+
}), _M = { class: "referable-field-item" }, bM = 24, wM = /* @__PURE__ */ Pe({
|
|
29967
29973
|
__name: "ReferableFieldItem",
|
|
29968
29974
|
props: {
|
|
29969
29975
|
field: {},
|
|
@@ -29980,13 +29986,13 @@ const lt = {
|
|
|
29980
29986
|
const a = `label[for="${i.value}"]`, l = document.querySelector(a) || document.getElementById(i.value);
|
|
29981
29987
|
if (!l)
|
|
29982
29988
|
return;
|
|
29983
|
-
const s = Math.max(0, l.getBoundingClientRect().top + window.scrollY -
|
|
29989
|
+
const s = Math.max(0, l.getBoundingClientRect().top + window.scrollY - bM), d = () => {
|
|
29984
29990
|
var f;
|
|
29985
29991
|
(f = l.click) == null || f.call(l);
|
|
29986
29992
|
};
|
|
29987
29993
|
window.addEventListener("scrollend", d, { once: !0 }), window.scrollTo({ top: s, behavior: "smooth" });
|
|
29988
29994
|
};
|
|
29989
|
-
return (a, l) => (S(), le("span",
|
|
29995
|
+
return (a, l) => (S(), le("span", _M, [
|
|
29990
29996
|
ee("span", {
|
|
29991
29997
|
class: "referable-field-link",
|
|
29992
29998
|
role: "button",
|
|
@@ -29998,7 +30004,7 @@ const lt = {
|
|
|
29998
30004
|
], 64))
|
|
29999
30005
|
]));
|
|
30000
30006
|
}
|
|
30001
|
-
}), Xc = /* @__PURE__ */
|
|
30007
|
+
}), Xc = /* @__PURE__ */ ze(wM, [["__scopeId", "data-v-949a9ea1"]]), kM = { key: 0 }, CM = /* @__PURE__ */ Pe({
|
|
30002
30008
|
__name: "PluginFieldRuleAlerts",
|
|
30003
30009
|
props: {
|
|
30004
30010
|
rules: {}
|
|
@@ -30036,7 +30042,7 @@ const lt = {
|
|
|
30036
30042
|
_: 2
|
|
30037
30043
|
}, 1032, ["keypath"])
|
|
30038
30044
|
]))), 128)),
|
|
30039
|
-
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (S(), le("li",
|
|
30045
|
+
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (S(), le("li", kM, [
|
|
30040
30046
|
(S(!0), le(Ge, null, et(t.rules.onlyOneOfMutuallyRequired, (s, d) => (S(), le("div", {
|
|
30041
30047
|
key: `only-one-mutually-alert-${d}`
|
|
30042
30048
|
}, [
|
|
@@ -30060,8 +30066,8 @@ const lt = {
|
|
|
30060
30066
|
});
|
|
30061
30067
|
};
|
|
30062
30068
|
}
|
|
30063
|
-
}),
|
|
30064
|
-
function
|
|
30069
|
+
}), EM = /* @__PURE__ */ ze(CM, [["__scopeId", "data-v-5f9ff453"]]);
|
|
30070
|
+
function xM(e) {
|
|
30065
30071
|
if (e.length === 0) return "";
|
|
30066
30072
|
if (e.length === 1) {
|
|
30067
30073
|
const o = fn(e[0]);
|
|
@@ -30080,18 +30086,18 @@ function CM(e) {
|
|
|
30080
30086
|
function gu(e) {
|
|
30081
30087
|
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;
|
|
30082
30088
|
}
|
|
30083
|
-
function
|
|
30089
|
+
function SM(e, t) {
|
|
30084
30090
|
if (!t) return e;
|
|
30085
30091
|
const n = t + Pa;
|
|
30086
30092
|
return e.map(
|
|
30087
30093
|
(i) => i.startsWith(n) ? i.slice(n.length) : i
|
|
30088
30094
|
);
|
|
30089
30095
|
}
|
|
30090
|
-
function
|
|
30091
|
-
const n = gu(e), i =
|
|
30096
|
+
function AM(e, t) {
|
|
30097
|
+
const n = gu(e), i = SM(n, t);
|
|
30092
30098
|
return "at_least_one_of" in e ? { at_least_one_of: i } : "mutually_required" in e ? { mutually_required: i } : { mutually_exclusive: i };
|
|
30093
30099
|
}
|
|
30094
|
-
function
|
|
30100
|
+
function IM(e) {
|
|
30095
30101
|
const t = [], n = /* @__PURE__ */ new Map();
|
|
30096
30102
|
for (const i of e) {
|
|
30097
30103
|
const o = gu(i);
|
|
@@ -30099,17 +30105,17 @@ function SM(e) {
|
|
|
30099
30105
|
t.push(i);
|
|
30100
30106
|
continue;
|
|
30101
30107
|
}
|
|
30102
|
-
const r =
|
|
30108
|
+
const r = xM(o);
|
|
30103
30109
|
if (!r) {
|
|
30104
30110
|
t.push(i);
|
|
30105
30111
|
continue;
|
|
30106
30112
|
}
|
|
30107
|
-
const a =
|
|
30113
|
+
const a = AM(i, r);
|
|
30108
30114
|
n.has(r) || n.set(r, []), n.get(r).push(a);
|
|
30109
30115
|
}
|
|
30110
30116
|
return { keep: t, move: n };
|
|
30111
30117
|
}
|
|
30112
|
-
function
|
|
30118
|
+
function TM(e, t, n) {
|
|
30113
30119
|
const i = fn(t);
|
|
30114
30120
|
let o = e;
|
|
30115
30121
|
for (const r of i) {
|
|
@@ -30127,27 +30133,27 @@ function AM(e, t, n) {
|
|
|
30127
30133
|
function Gm(e) {
|
|
30128
30134
|
var t;
|
|
30129
30135
|
if ((t = e.entity_checks) != null && t.length) {
|
|
30130
|
-
const { keep: n, move: i } =
|
|
30136
|
+
const { keep: n, move: i } = IM(e.entity_checks);
|
|
30131
30137
|
e.entity_checks = n.length ? n : void 0;
|
|
30132
30138
|
for (const [o, r] of i)
|
|
30133
|
-
|
|
30139
|
+
TM(e, o, r);
|
|
30134
30140
|
}
|
|
30135
30141
|
for (const n of e.fields) {
|
|
30136
30142
|
const i = Object.values(n)[0];
|
|
30137
30143
|
i.type === "record" && Gm(i);
|
|
30138
30144
|
}
|
|
30139
30145
|
}
|
|
30140
|
-
function
|
|
30146
|
+
function $M(e) {
|
|
30141
30147
|
const t = JSON.parse(JSON.stringify(e)), n = {
|
|
30142
30148
|
fields: t.fields
|
|
30143
30149
|
};
|
|
30144
30150
|
return Gm(n), t.fields = n.fields, t;
|
|
30145
30151
|
}
|
|
30146
|
-
function
|
|
30152
|
+
function OM(e, t) {
|
|
30147
30153
|
const n = Tn[e];
|
|
30148
30154
|
if (!n || !n.fieldRules)
|
|
30149
30155
|
return t;
|
|
30150
|
-
const i =
|
|
30156
|
+
const i = PM(n.fieldRules), o = { ...t };
|
|
30151
30157
|
return o.fields = o.fields.map((r) => {
|
|
30152
30158
|
if (Object.keys(r)[0] === "config") {
|
|
30153
30159
|
const l = r.config.entity_checks || [], s = (c) => {
|
|
@@ -30170,7 +30176,7 @@ function TM(e, t) {
|
|
|
30170
30176
|
return r;
|
|
30171
30177
|
}), o;
|
|
30172
30178
|
}
|
|
30173
|
-
function
|
|
30179
|
+
function PM(e) {
|
|
30174
30180
|
const t = [], n = (i) => i.startsWith("config.") ? i.substring(7) : i;
|
|
30175
30181
|
return e.atLeastOneOf && e.atLeastOneOf.forEach((i) => {
|
|
30176
30182
|
t.push({
|
|
@@ -30203,10 +30209,10 @@ function $M(e) {
|
|
|
30203
30209
|
}
|
|
30204
30210
|
}), t;
|
|
30205
30211
|
}
|
|
30206
|
-
const
|
|
30212
|
+
const NM = { class: "kong-ui-entities-plugin-form" }, RM = {
|
|
30207
30213
|
key: 1,
|
|
30208
30214
|
class: "entity-form"
|
|
30209
|
-
},
|
|
30215
|
+
}, MM = { class: "plugin-config-empty-state" }, LM = /* @__PURE__ */ Pe({
|
|
30210
30216
|
__name: "PluginEntityForm",
|
|
30211
30217
|
props: {
|
|
30212
30218
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -30377,11 +30383,11 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
30377
30383
|
var Ce;
|
|
30378
30384
|
return (Ce = Q.value) == null ? void 0 : Ce.options;
|
|
30379
30385
|
}), M = L(() => {
|
|
30380
|
-
const Ce =
|
|
30386
|
+
const Ce = OM(
|
|
30381
30387
|
F.name,
|
|
30382
30388
|
i.rawSchema
|
|
30383
30389
|
);
|
|
30384
|
-
return
|
|
30390
|
+
return $M(Ce);
|
|
30385
30391
|
}), W = me(!1), z = me(), H = (Ce, se) => {
|
|
30386
30392
|
W.value = Ce ?? "", z.value = se;
|
|
30387
30393
|
}, U = (Ce) => {
|
|
@@ -30622,11 +30628,11 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
30622
30628
|
var Y, de, fe;
|
|
30623
30629
|
const ie = xe("KSkeleton");
|
|
30624
30630
|
return S(), le(Ge, null, [
|
|
30625
|
-
ee("div",
|
|
30631
|
+
ee("div", NM, [
|
|
30626
30632
|
Ye.value ? (S(), Z(ie, {
|
|
30627
30633
|
key: 0,
|
|
30628
30634
|
type: "form"
|
|
30629
|
-
})) : F.id && e.editing || !e.editing ? (S(), le("div",
|
|
30635
|
+
})) : F.id && e.editing || !e.editing ? (S(), le("div", RM, [
|
|
30630
30636
|
j.value ? (S(), Z(jt(j.value), {
|
|
30631
30637
|
key: 0,
|
|
30632
30638
|
developer: e.developer,
|
|
@@ -30688,14 +30694,14 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
30688
30694
|
onShowNewPartialModal: se[5] || (se[5] = (ge) => Ce.$emit("showNewPartialModal", ge))
|
|
30689
30695
|
}, vt({
|
|
30690
30696
|
"plugin-config-empty-state": N(() => [
|
|
30691
|
-
ee("div",
|
|
30697
|
+
ee("div", MM, ue(u(x)("plugins.form.grouping.plugin_configuration.empty")), 1)
|
|
30692
30698
|
]),
|
|
30693
30699
|
_: 2
|
|
30694
30700
|
}, [
|
|
30695
30701
|
(fe = u(Tn)[F.name]) != null && fe.fieldRules && (i.config.isNewOtelSchema || F.name !== "opentelemetry") ? {
|
|
30696
30702
|
name: "plugin-config-before-content",
|
|
30697
30703
|
fn: N(() => [
|
|
30698
|
-
C(
|
|
30704
|
+
C(EM, {
|
|
30699
30705
|
rules: u(Tn)[F.name].fieldRules
|
|
30700
30706
|
}, null, 8, ["rules"])
|
|
30701
30707
|
]),
|
|
@@ -30720,7 +30726,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
30720
30726
|
], 64);
|
|
30721
30727
|
};
|
|
30722
30728
|
}
|
|
30723
|
-
}),
|
|
30729
|
+
}), FM = /* @__PURE__ */ ze(LM, [["__scopeId", "data-v-7f30f062"]]), KM = { key: 1 }, jM = /* @__PURE__ */ Pe({
|
|
30724
30730
|
__name: "PluginFormActionsWrapper",
|
|
30725
30731
|
props: {
|
|
30726
30732
|
teleportTarget: {
|
|
@@ -30734,14 +30740,14 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
30734
30740
|
to: e.teleportTarget
|
|
30735
30741
|
}, [
|
|
30736
30742
|
Qe(t.$slots, "default")
|
|
30737
|
-
], 8, ["to"])) : (S(), le("div",
|
|
30743
|
+
], 8, ["to"])) : (S(), le("div", KM, [
|
|
30738
30744
|
Qe(t.$slots, "default")
|
|
30739
30745
|
]));
|
|
30740
30746
|
}
|
|
30741
|
-
}),
|
|
30747
|
+
}), DM = { key: 0 }, qM = { class: "plugin-form-actions" }, BM = {
|
|
30742
30748
|
key: 0,
|
|
30743
30749
|
class: "button-customize-deck-wrapper"
|
|
30744
|
-
},
|
|
30750
|
+
}, UM = /* @__PURE__ */ Pe({
|
|
30745
30751
|
__name: "PluginForm",
|
|
30746
30752
|
props: {
|
|
30747
30753
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -30926,8 +30932,8 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
30926
30932
|
}), _e = () => {
|
|
30927
30933
|
b.value = !b.value;
|
|
30928
30934
|
}, pe = L(() => {
|
|
30929
|
-
var Ne, De,
|
|
30930
|
-
const B = a.config.entityType === "consumers" && a.config.entityId || ((De = (Ne = O.value) == null ? void 0 : Ne.consumer) == null ? void 0 : De.id), ne = a.config.entityType === "consumer_groups" && a.config.entityId || ((tt = (
|
|
30935
|
+
var Ne, De, Ve, tt, Je, Fe, $e, _t;
|
|
30936
|
+
const B = a.config.entityType === "consumers" && a.config.entityId || ((De = (Ne = O.value) == null ? void 0 : Ne.consumer) == null ? void 0 : De.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);
|
|
30931
30937
|
if (!(B || ne || V || Ee))
|
|
30932
30938
|
return {
|
|
30933
30939
|
global: {
|
|
@@ -31044,9 +31050,9 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
31044
31050
|
const ne = Array.from(new Set(B.map((V) => typeof V)));
|
|
31045
31051
|
return ne.length > 1 ? "string" : ne[0];
|
|
31046
31052
|
}, je = (B, ne, V, Ee) => {
|
|
31047
|
-
var
|
|
31053
|
+
var Ve, tt;
|
|
31048
31054
|
let Se = ne && ne.fields || [];
|
|
31049
|
-
const Ne = d[Q.value], De = (tt = (
|
|
31055
|
+
const Ne = d[Q.value], De = (tt = (Ve = po[a.pluginType]) == null ? void 0 : Ve.schema) == null ? void 0 : tt.fields;
|
|
31050
31056
|
return Array.isArray(Se) && (Se = Se.reduce((Je, Fe) => {
|
|
31051
31057
|
const $e = Object.keys(Fe)[0];
|
|
31052
31058
|
return $e.match(/-/g) ? Je[$e.replace(/-/g, "_")] = {
|
|
@@ -31133,7 +31139,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
31133
31139
|
} else if (["string", "integer", "number"].includes(ct.type) && ct.one_of) {
|
|
31134
31140
|
if (Ee) {
|
|
31135
31141
|
const { id: Zt, help: Ot, label: ht, hint: ut, values: St, referenceable: Et, model: bn } = V[$e];
|
|
31136
|
-
V[$e] = { id: Zt, help: Ot, label: ht, hint: ut, values: St, referenceable: Et, model: bn, ...
|
|
31142
|
+
V[$e] = { id: Zt, help: Ot, label: ht, hint: ut, values: St, referenceable: Et, model: bn, ...vM(ct.one_of, Fe.default) };
|
|
31137
31143
|
}
|
|
31138
31144
|
} else if (ct.type === "array") {
|
|
31139
31145
|
const { id: Zt, help: Ot, label: ht, hint: ut, values: St, referenceable: Et, model: bn, elements: An } = V[$e], { inputAttributes: as, ...Wm } = JSON.parse(JSON.stringify(mt));
|
|
@@ -31224,12 +31230,12 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
31224
31230
|
}), V;
|
|
31225
31231
|
}, He = () => {
|
|
31226
31232
|
var _t, Dn, $t, Xt, Uo, Vo, zo, Go, ct, Zt, Ot, ht;
|
|
31227
|
-
const B = j.value && R.value ? R.value : a.pluginType, ne = ((_t = Tn[B]) == null ? void 0 : _t.scope.includes(Lt.SERVICE)) ?? !0, V = ((Dn = Tn[B]) == null ? void 0 : Dn.scope.includes(Lt.ROUTE)) ?? !0, Ee = (($t = Tn[B]) == null ? void 0 : $t.scope.includes(Lt.CONSUMER)) ?? !0, Se = a.config.disableConsumerGroupScope ? !1 : ((Xt = Tn[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), De = a.config.entityType === "consumer_groups" && !!a.config.entityId || !!((Go = (zo = O.value) == null ? void 0 : zo.consumer_group) != null && Go.id),
|
|
31233
|
+
const B = j.value && R.value ? R.value : a.pluginType, ne = ((_t = Tn[B]) == null ? void 0 : _t.scope.includes(Lt.SERVICE)) ?? !0, V = ((Dn = Tn[B]) == null ? void 0 : Dn.scope.includes(Lt.ROUTE)) ?? !0, Ee = (($t = Tn[B]) == null ? void 0 : $t.scope.includes(Lt.CONSUMER)) ?? !0, Se = a.config.disableConsumerGroupScope ? !1 : ((Xt = Tn[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), De = 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 = (Ot = O.value) == null ? void 0 : Ot.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) => {
|
|
31228
31234
|
var St, Et;
|
|
31229
31235
|
return ((Et = (St = a.scopedEntitiesPermissions) == null ? void 0 : St[ut]) == null ? void 0 : Et.canRetrieve) === !1;
|
|
31230
31236
|
};
|
|
31231
31237
|
if (ne) {
|
|
31232
|
-
const ut = $e("service"), St = "services", Et =
|
|
31238
|
+
const ut = $e("service"), St = "services", Et = Ve && a.disableScopeSelection;
|
|
31233
31239
|
Je.push({
|
|
31234
31240
|
id: "service-id",
|
|
31235
31241
|
model: "service-id",
|
|
@@ -31395,7 +31401,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
31395
31401
|
const Se = (B = po[a.pluginType]) == null ? void 0 : B.schemaEndpoint, Ne = nE[Se];
|
|
31396
31402
|
be.value = Se, w.value = je("", Ne, {}), Oe.value = !1;
|
|
31397
31403
|
} else {
|
|
31398
|
-
const Se = i && Ae.value, Ne = a.schema ? Promise.resolve(a.schema) : _.get(ve.value).then((
|
|
31404
|
+
const Se = i && Ae.value, Ne = a.schema ? Promise.resolve(a.schema) : _.get(ve.value).then((Ve) => Ve.data), [De] = await Promise.all([
|
|
31399
31405
|
Ne,
|
|
31400
31406
|
Se ? ke(a.pluginType) : Promise.resolve()
|
|
31401
31407
|
]);
|
|
@@ -31403,8 +31409,8 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
31403
31409
|
if (T.value)
|
|
31404
31410
|
w.value = je("", De, {}), Oe.value = !1;
|
|
31405
31411
|
else {
|
|
31406
|
-
const
|
|
31407
|
-
q.value =
|
|
31412
|
+
const Ve = De.fields.find((Je) => Je.config);
|
|
31413
|
+
q.value = Ve ? Ve.config : De, De.supported_partials && (A.value = Object.keys(De.supported_partials).find((Je) => [Ws.REDIS_CE, Ws.REDIS_EE].includes(Je)), I.value = (ne = De.supported_partials[A.value]) == null ? void 0 : ne[0]), He();
|
|
31408
31414
|
const tt = (V = De.fields.find((Je) => Je.protocols)) == null ? void 0 : V.protocols;
|
|
31409
31415
|
if (tt) {
|
|
31410
31416
|
const { default: Je = [], elements: Fe = {} } = tt;
|
|
@@ -31466,22 +31472,22 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
31466
31472
|
"no-validate": "",
|
|
31467
31473
|
"wrapper-component": e.noCardWrapper ? "div" : void 0,
|
|
31468
31474
|
onCancel: ge,
|
|
31469
|
-
"onFetch:error": ne[6] || (ne[6] = (
|
|
31475
|
+
"onFetch:error": ne[6] || (ne[6] = (Ve) => B.$emit("error", Ve)),
|
|
31470
31476
|
"onFetch:success": Ce,
|
|
31471
|
-
onLoading: ne[7] || (ne[7] = (
|
|
31477
|
+
onLoading: ne[7] || (ne[7] = (Ve) => B.$emit("loading", Ve))
|
|
31472
31478
|
}, {
|
|
31473
31479
|
"form-actions": N(() => [
|
|
31474
|
-
e.isWizardStep ? (S(), le("div",
|
|
31480
|
+
e.isWizardStep ? (S(), le("div", DM)) : (S(), Z(jM, {
|
|
31475
31481
|
key: 1,
|
|
31476
31482
|
"teleport-target": e.actionsTeleportTarget
|
|
31477
31483
|
}, {
|
|
31478
31484
|
default: N(() => [
|
|
31479
|
-
ee("div",
|
|
31485
|
+
ee("div", qM, [
|
|
31480
31486
|
e.hideViewConfigAction ? ye("", !0) : (S(), Z(Se, {
|
|
31481
31487
|
key: 0,
|
|
31482
31488
|
appearance: "tertiary",
|
|
31483
31489
|
"data-testid": `plugin-${x.value ? "edit" : "create"}-form-view-configuration`,
|
|
31484
|
-
onClick: ne[5] || (ne[5] = (
|
|
31490
|
+
onClick: ne[5] || (ne[5] = (Ve) => _e())
|
|
31485
31491
|
}, {
|
|
31486
31492
|
default: N(() => [
|
|
31487
31493
|
Le(ue(u(s)("actions.view_configuration")), 1)
|
|
@@ -31522,7 +31528,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
31522
31528
|
hidden: "",
|
|
31523
31529
|
onSubmit: ce
|
|
31524
31530
|
}, null, 32),
|
|
31525
|
-
C(
|
|
31531
|
+
C(FM, {
|
|
31526
31532
|
config: e.config,
|
|
31527
31533
|
credential: T.value,
|
|
31528
31534
|
developer: e.developer,
|
|
@@ -31534,12 +31540,12 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
31534
31540
|
"raw-schema": k.value,
|
|
31535
31541
|
record: O.value,
|
|
31536
31542
|
schema: w.value,
|
|
31537
|
-
"onClick:createEntity": ne[0] || (ne[0] = (
|
|
31538
|
-
"onClick:learnMore": ne[1] || (ne[1] = (
|
|
31539
|
-
onGlobalAction: ne[2] || (ne[2] = (
|
|
31540
|
-
onLoading: ne[3] || (ne[3] = (
|
|
31543
|
+
"onClick:createEntity": ne[0] || (ne[0] = (Ve) => B.$emit("click:create-entity", Ve)),
|
|
31544
|
+
"onClick:learnMore": ne[1] || (ne[1] = (Ve) => B.$emit("click:learn-more", Ve)),
|
|
31545
|
+
onGlobalAction: ne[2] || (ne[2] = (Ve, tt) => B.$emit("globalAction", Ve, tt)),
|
|
31546
|
+
onLoading: ne[3] || (ne[3] = (Ve) => H.value = Ve),
|
|
31541
31547
|
onModelUpdated: ie,
|
|
31542
|
-
onShowNewPartialModal: ne[4] || (ne[4] = (
|
|
31548
|
+
onShowNewPartialModal: ne[4] || (ne[4] = (Ve) => B.$emit("showNewPartialModal", Ve)),
|
|
31543
31549
|
onValidityChange: fe
|
|
31544
31550
|
}, null, 8, ["config", "credential", "developer", "editing", "enable-redis-partial", "enable-vault-secret-picker", "engine", "entity-map", "raw-schema", "record", "schema"])
|
|
31545
31551
|
]),
|
|
@@ -31558,7 +31564,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
31558
31564
|
ee("div", null, ue(u(s)("view_configuration.message")), 1),
|
|
31559
31565
|
C(Ne, {
|
|
31560
31566
|
modelValue: re.value,
|
|
31561
|
-
"onUpdate:modelValue": ne[11] || (ne[11] = (
|
|
31567
|
+
"onUpdate:modelValue": ne[11] || (ne[11] = (Ve) => re.value = Ve),
|
|
31562
31568
|
"data-testid": "form-view-configuration-slideout-tabs",
|
|
31563
31569
|
tabs: D.value
|
|
31564
31570
|
}, {
|
|
@@ -31574,7 +31580,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
31574
31580
|
C(u(ah), {
|
|
31575
31581
|
"deck-callout-preference-key": u(M) ? u(z) : void 0,
|
|
31576
31582
|
"entity-record": te.value,
|
|
31577
|
-
"onDeckCallout:clickCta": ne[8] || (ne[8] = (
|
|
31583
|
+
"onDeckCallout:clickCta": ne[8] || (ne[8] = (Ve) => re.value = "#deck")
|
|
31578
31584
|
}, null, 8, ["deck-callout-preference-key", "entity-record"])
|
|
31579
31585
|
]),
|
|
31580
31586
|
terraform: N(() => [
|
|
@@ -31585,11 +31591,11 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
31585
31591
|
}, null, 8, ["credential-type", "entity-record", "entity-type"])
|
|
31586
31592
|
]),
|
|
31587
31593
|
deck: N(() => [
|
|
31588
|
-
u(W) ? (S(), le("div",
|
|
31594
|
+
u(W) ? (S(), le("div", BM, [
|
|
31589
31595
|
C(Se, {
|
|
31590
31596
|
appearance: "secondary",
|
|
31591
31597
|
class: "button-customize-deck",
|
|
31592
|
-
onClick: ne[9] || (ne[9] = (
|
|
31598
|
+
onClick: ne[9] || (ne[9] = (Ve) => X.value = !0)
|
|
31593
31599
|
}, {
|
|
31594
31600
|
default: N(() => [
|
|
31595
31601
|
Le(ue(u(s)("plugins.form.button_deck_customize")), 1)
|
|
@@ -31607,7 +31613,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
31607
31613
|
"is-customization-modal-visible": X.value,
|
|
31608
31614
|
"kong-admin-api-url": e.config.app === "kongManager" ? e.config.apiBaseUrl : void 0,
|
|
31609
31615
|
workspace: e.config.workspace || void 0,
|
|
31610
|
-
onCustomizationClose: ne[10] || (ne[10] = (
|
|
31616
|
+
onCustomizationClose: ne[10] || (ne[10] = (Ve) => X.value = !1)
|
|
31611
31617
|
}, null, 8, ["app", "control-plane-name", "customization-options", "entity-record", "entity-type", "geo-api-server-url", "is-customization-modal-visible", "kong-admin-api-url", "workspace"])
|
|
31612
31618
|
]),
|
|
31613
31619
|
_: 1
|
|
@@ -31618,16 +31624,16 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
31618
31624
|
], 2);
|
|
31619
31625
|
};
|
|
31620
31626
|
}
|
|
31621
|
-
}),
|
|
31627
|
+
}), AK = /* @__PURE__ */ ze(UM, [["__scopeId", "data-v-cd2d48f0"]]), VM = { class: "kong-ui-entities-plugins-list" }, zM = { class: "button-row" }, GM = { class: "name-cell-wrapper" }, HM = { class: "info-wrapper" }, WM = {
|
|
31622
31628
|
key: 0,
|
|
31623
31629
|
class: "info-name"
|
|
31624
|
-
},
|
|
31630
|
+
}, YM = {
|
|
31625
31631
|
key: 1,
|
|
31626
31632
|
class: "info-name"
|
|
31627
|
-
},
|
|
31633
|
+
}, JM = {
|
|
31628
31634
|
key: 2,
|
|
31629
31635
|
class: "info-type"
|
|
31630
|
-
},
|
|
31636
|
+
}, XM = { key: 1 }, ZM = /* @__PURE__ */ Pe({
|
|
31631
31637
|
__name: "PluginList",
|
|
31632
31638
|
props: {
|
|
31633
31639
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -31880,7 +31886,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
31880
31886
|
Ye.value = await o.canCreate(), Ye.value && (He.value.title = r("plugins.list.empty_state.title"), He.value.ctaText = r("actions.create"));
|
|
31881
31887
|
}), (qe, Ce) => {
|
|
31882
31888
|
const se = xe("KButton"), ie = xe("KEmptyState"), Y = xe("KBadge"), de = xe("KTruncate"), fe = xe("KInputSwitch"), ge = xe("KDropdownItem"), Te = xe("KClipboardProvider");
|
|
31883
|
-
return S(), le("div",
|
|
31889
|
+
return S(), le("div", VM, [
|
|
31884
31890
|
C(u(ph), {
|
|
31885
31891
|
"cache-identifier": e.cacheIdentifier,
|
|
31886
31892
|
"disable-sorting": _.value,
|
|
@@ -31912,7 +31918,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
31912
31918
|
disabled: !e.useActionOutside,
|
|
31913
31919
|
to: "#kong-ui-app-page-header-action-button"
|
|
31914
31920
|
}, [
|
|
31915
|
-
ee("div",
|
|
31921
|
+
ee("div", zM, [
|
|
31916
31922
|
!p.value && c.value ? (S(), Z(se, {
|
|
31917
31923
|
key: 0,
|
|
31918
31924
|
appearance: "secondary",
|
|
@@ -31949,15 +31955,15 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
31949
31955
|
], 8, ["disabled"]))
|
|
31950
31956
|
]),
|
|
31951
31957
|
name: N(({ row: Ae }) => [
|
|
31952
|
-
ee("div",
|
|
31958
|
+
ee("div", GM, [
|
|
31953
31959
|
C(u(qi), {
|
|
31954
31960
|
class: "plugin-icon",
|
|
31955
31961
|
name: Ae.name,
|
|
31956
31962
|
size: 24
|
|
31957
31963
|
}, null, 8, ["name"]),
|
|
31958
|
-
ee("div",
|
|
31959
|
-
Ae.instance_name ? (S(), le("span",
|
|
31960
|
-
Ae.instance_name ? (S(), le("span",
|
|
31964
|
+
ee("div", HM, [
|
|
31965
|
+
Ae.instance_name ? (S(), le("span", WM, ue(Ae.instance_name), 1)) : (S(), le("span", YM, ue(u(n).getDisplayName(Ae.name)), 1)),
|
|
31966
|
+
Ae.instance_name ? (S(), le("span", JM, ue(u(n).getDisplayName(Ae.name)), 1)) : ye("", !0)
|
|
31961
31967
|
])
|
|
31962
31968
|
])
|
|
31963
31969
|
]),
|
|
@@ -31984,7 +31990,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
31984
31990
|
}, 1032, ["auth-function"]))), 128))
|
|
31985
31991
|
]),
|
|
31986
31992
|
_: 2
|
|
31987
|
-
}, 1024)) : (S(), le("span",
|
|
31993
|
+
}, 1024)) : (S(), le("span", XM, "-"))
|
|
31988
31994
|
]),
|
|
31989
31995
|
enabled: N(({ row: Ae }) => [
|
|
31990
31996
|
C(u(Pi), {
|
|
@@ -32189,16 +32195,16 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
32189
32195
|
]);
|
|
32190
32196
|
};
|
|
32191
32197
|
}
|
|
32192
|
-
}),
|
|
32198
|
+
}), IK = /* @__PURE__ */ ze(ZM, [["__scopeId", "data-v-bb7d2cdb"]]), QM = { class: "plugin-select-card-wrapper" }, eL = ["data-testid"], tL = { class: "plugin-card-header" }, nL = { class: "plugin-card-title" }, iL = {
|
|
32193
32199
|
key: 0,
|
|
32194
32200
|
class: "plugin-card-actions"
|
|
32195
|
-
},
|
|
32201
|
+
}, oL = ["data-testid", "title"], aL = {
|
|
32196
32202
|
key: 0,
|
|
32197
32203
|
class: "plugin-card-text"
|
|
32198
|
-
},
|
|
32204
|
+
}, rL = {
|
|
32199
32205
|
key: 0,
|
|
32200
32206
|
class: "custom-plugin-badges"
|
|
32201
|
-
},
|
|
32207
|
+
}, sL = ["title"], lL = /* @__PURE__ */ Pe({
|
|
32202
32208
|
__name: "PluginSelectCard",
|
|
32203
32209
|
props: {
|
|
32204
32210
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32265,7 +32271,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
32265
32271
|
};
|
|
32266
32272
|
return (q, A) => {
|
|
32267
32273
|
const I = xe("KButton"), P = xe("KDropdownItem"), R = xe("KDropdownMenu"), j = xe("KBadge"), Q = xe("KTooltip");
|
|
32268
|
-
return S(), le("div",
|
|
32274
|
+
return S(), le("div", QM, [
|
|
32269
32275
|
C(Q, {
|
|
32270
32276
|
text: e.plugin.disabledMessage
|
|
32271
32277
|
}, {
|
|
@@ -32276,13 +32282,13 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
32276
32282
|
role: "button",
|
|
32277
32283
|
onClick: A[1] || (A[1] = (G) => s.value || k.value ? void 0 : b())
|
|
32278
32284
|
}, [
|
|
32279
|
-
ee("div",
|
|
32280
|
-
ee("div",
|
|
32285
|
+
ee("div", tL, [
|
|
32286
|
+
ee("div", nL, [
|
|
32281
32287
|
ee("span", {
|
|
32282
32288
|
class: yt({ "non-custom-title": !k.value })
|
|
32283
32289
|
}, ue(e.plugin.name), 3)
|
|
32284
32290
|
]),
|
|
32285
|
-
_.value ? (S(), le("div",
|
|
32291
|
+
_.value ? (S(), le("div", iL, [
|
|
32286
32292
|
C(R, {
|
|
32287
32293
|
"data-testid": "custom-plugin-actions",
|
|
32288
32294
|
"kpop-attributes": { placement: "bottom-end" },
|
|
@@ -32344,8 +32350,8 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
32344
32350
|
name: a.value,
|
|
32345
32351
|
size: 55
|
|
32346
32352
|
}, null, 8, ["alt", "name"]),
|
|
32347
|
-
e.plugin.description || l.value.length ? (S(), le("div",
|
|
32348
|
-
l.value.length ? (S(), le("div",
|
|
32353
|
+
e.plugin.description || l.value.length ? (S(), le("div", aL, [
|
|
32354
|
+
l.value.length ? (S(), le("div", rL, [
|
|
32349
32355
|
(S(!0), le(Ge, null, et(l.value, (G) => (S(), Z(j, {
|
|
32350
32356
|
key: G,
|
|
32351
32357
|
appearance: "info"
|
|
@@ -32360,21 +32366,21 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
32360
32366
|
key: 1,
|
|
32361
32367
|
class: "plugin-card-text",
|
|
32362
32368
|
title: e.plugin.description
|
|
32363
|
-
}, ue(e.plugin.description), 9,
|
|
32369
|
+
}, ue(e.plugin.description), 9, sL)) : ye("", !0)
|
|
32364
32370
|
])) : ye("", !0)
|
|
32365
|
-
], 10,
|
|
32371
|
+
], 10, oL),
|
|
32366
32372
|
ee("div", {
|
|
32367
32373
|
class: "plugin-card-footer",
|
|
32368
32374
|
onClick: O
|
|
32369
32375
|
}, ue(E.value ? u(r)("actions.create_custom") : e.plugin.exists ? u(r)("actions.enabled") : u(r)("actions.enable")), 1)
|
|
32370
|
-
], 10,
|
|
32376
|
+
], 10, eL)
|
|
32371
32377
|
]),
|
|
32372
32378
|
_: 1
|
|
32373
32379
|
}, 8, ["text"])
|
|
32374
32380
|
]);
|
|
32375
32381
|
};
|
|
32376
32382
|
}
|
|
32377
|
-
}), Hm = /* @__PURE__ */
|
|
32383
|
+
}), Hm = /* @__PURE__ */ ze(lL, [["__scopeId", "data-v-eb0977c9"]]), uL = /* @__PURE__ */ Pe({
|
|
32378
32384
|
__name: "DeleteCustomPluginSchemaModal",
|
|
32379
32385
|
props: {
|
|
32380
32386
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32469,7 +32475,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
32469
32475
|
}, 8, ["action-button-disabled", "title"])) : ye("", !0);
|
|
32470
32476
|
};
|
|
32471
32477
|
}
|
|
32472
|
-
}), os = /* @__PURE__ */
|
|
32478
|
+
}), os = /* @__PURE__ */ ze(uL, [["__scopeId", "data-v-9514182c"]]), cL = { class: "custom-plugins-grid" }, dL = { class: "empty-state-title" }, pL = { class: "empty-state-description" }, As = 310, fL = /* @__PURE__ */ Pe({
|
|
32473
32479
|
__name: "PluginCustomGrid",
|
|
32474
32480
|
props: {
|
|
32475
32481
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32566,7 +32572,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
32566
32572
|
window == null || window.removeEventListener("resize", x);
|
|
32567
32573
|
}), (k, w) => {
|
|
32568
32574
|
const T = xe("KEmptyState"), O = xe("KCollapse");
|
|
32569
|
-
return S(), le("div",
|
|
32575
|
+
return S(), le("div", cL, [
|
|
32570
32576
|
d.value.length ? (S(), Z(O, {
|
|
32571
32577
|
key: 1,
|
|
32572
32578
|
modelValue: l.value,
|
|
@@ -32616,10 +32622,10 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
32616
32622
|
"icon-variant": "kong"
|
|
32617
32623
|
}, {
|
|
32618
32624
|
title: N(() => [
|
|
32619
|
-
ee("span",
|
|
32625
|
+
ee("span", dL, ue(u(o)("plugins.select.tabs.custom.empty_title")), 1)
|
|
32620
32626
|
]),
|
|
32621
32627
|
default: N(() => [
|
|
32622
|
-
ee("span",
|
|
32628
|
+
ee("span", pL, ue(u(o)("plugins.select.tabs.custom.empty_description")), 1)
|
|
32623
32629
|
]),
|
|
32624
32630
|
_: 1
|
|
32625
32631
|
})),
|
|
@@ -32633,7 +32639,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
32633
32639
|
]);
|
|
32634
32640
|
};
|
|
32635
32641
|
}
|
|
32636
|
-
}),
|
|
32642
|
+
}), mL = /* @__PURE__ */ ze(fL, [["__scopeId", "data-v-909f4d5f"]]), Is = 310, gL = /* @__PURE__ */ Pe({
|
|
32637
32643
|
__name: "PluginSelectGroup",
|
|
32638
32644
|
props: /* @__PURE__ */ yi({
|
|
32639
32645
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32763,7 +32769,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
32763
32769
|
], 64);
|
|
32764
32770
|
};
|
|
32765
32771
|
}
|
|
32766
|
-
}), Zc = /* @__PURE__ */
|
|
32772
|
+
}), Zc = /* @__PURE__ */ ze(gL, [["__scopeId", "data-v-7f683497"]]), hL = { class: "plugin-select-grid" }, yL = { class: "empty-state-title" }, vL = { class: "empty-state-description" }, Qc = /* @__PURE__ */ Pe({
|
|
32767
32773
|
__name: "PluginSelectGrid",
|
|
32768
32774
|
props: {
|
|
32769
32775
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32835,7 +32841,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
32835
32841
|
});
|
|
32836
32842
|
return (d, f) => {
|
|
32837
32843
|
const c = xe("KEmptyState");
|
|
32838
|
-
return S(), le("div",
|
|
32844
|
+
return S(), le("div", hL, [
|
|
32839
32845
|
Object.keys(s.value).length ? ye("", !0) : (S(), Z(c, {
|
|
32840
32846
|
key: 0,
|
|
32841
32847
|
"action-button-visible": !1,
|
|
@@ -32844,10 +32850,10 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
32844
32850
|
"icon-variant": "kong"
|
|
32845
32851
|
}, {
|
|
32846
32852
|
title: N(() => [
|
|
32847
|
-
ee("span",
|
|
32853
|
+
ee("span", yL, ue(u(o)("plugins.select.tabs.kong.empty_title")), 1)
|
|
32848
32854
|
]),
|
|
32849
32855
|
default: N(() => [
|
|
32850
|
-
ee("span",
|
|
32856
|
+
ee("span", vL, ue(u(o)("plugins.select.tabs.kong.empty_description")), 1)
|
|
32851
32857
|
]),
|
|
32852
32858
|
_: 1
|
|
32853
32859
|
})),
|
|
@@ -32887,11 +32893,11 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
32887
32893
|
]);
|
|
32888
32894
|
};
|
|
32889
32895
|
}
|
|
32890
|
-
}),
|
|
32896
|
+
}), _L = { class: "kong-ui-entities-plugin-select-form" }, bL = { class: "plugins-filter-input-container" }, wL = { key: 0 }, kL = {
|
|
32891
32897
|
key: 3,
|
|
32892
32898
|
"aria-live": "polite",
|
|
32893
32899
|
class: "plugins-results-container"
|
|
32894
|
-
},
|
|
32900
|
+
}, CL = { "data-testid": "kong-tab" }, EL = { class: "tab-description" }, xL = { "data-testid": "custom-tab" }, SL = { class: "tab-description" }, AL = { key: 1 }, IL = /* @__PURE__ */ Pe({
|
|
32895
32901
|
__name: "PluginSelect",
|
|
32896
32902
|
props: {
|
|
32897
32903
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -33193,8 +33199,8 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33193
33199
|
(ie = k.value) == null || ie.abort();
|
|
33194
33200
|
}), (ie, Y) => {
|
|
33195
33201
|
const de = xe("KInput"), fe = xe("KSkeletonBox"), ge = xe("KSkeleton"), Te = xe("KEmptyState"), Ae = xe("KTooltip"), g = xe("KAlert"), te = xe("KTabs");
|
|
33196
|
-
return S(), le("div",
|
|
33197
|
-
ee("div",
|
|
33202
|
+
return S(), le("div", _L, [
|
|
33203
|
+
ee("div", bL, [
|
|
33198
33204
|
C(de, {
|
|
33199
33205
|
ref: "filter-input",
|
|
33200
33206
|
modelValue: c.value,
|
|
@@ -33206,7 +33212,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33206
33212
|
type: "search"
|
|
33207
33213
|
}, null, 8, ["modelValue", "placeholder"])
|
|
33208
33214
|
]),
|
|
33209
|
-
p.value ? (S(), le("section",
|
|
33215
|
+
p.value ? (S(), le("section", wL, [
|
|
33210
33216
|
C(fe, {
|
|
33211
33217
|
class: "plugins-skeleton-title",
|
|
33212
33218
|
width: "10"
|
|
@@ -33236,7 +33242,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33236
33242
|
ee("h5", null, ue(u(a)("search.no_results", { filter: c.value })), 1)
|
|
33237
33243
|
]),
|
|
33238
33244
|
_: 1
|
|
33239
|
-
})) : (S(), le("section",
|
|
33245
|
+
})) : (S(), le("section", kL, [
|
|
33240
33246
|
z.value.length ? (S(), Z(te, {
|
|
33241
33247
|
key: 0,
|
|
33242
33248
|
modelValue: H.value,
|
|
@@ -33246,8 +33252,8 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33246
33252
|
onChange: we
|
|
33247
33253
|
}, vt({
|
|
33248
33254
|
kong: N(() => [
|
|
33249
|
-
ee("div",
|
|
33250
|
-
ee("p",
|
|
33255
|
+
ee("div", CL, [
|
|
33256
|
+
ee("p", EL, ue(u(a)("plugins.select.tabs.kong.description")), 1),
|
|
33251
33257
|
C(Qc, {
|
|
33252
33258
|
"can-delete-cloned-plugin": rt.value,
|
|
33253
33259
|
"can-delete-custom-plugin": je.value,
|
|
@@ -33265,16 +33271,16 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33265
33271
|
])
|
|
33266
33272
|
]),
|
|
33267
33273
|
custom: N(() => [
|
|
33268
|
-
ee("div",
|
|
33274
|
+
ee("div", xL, [
|
|
33269
33275
|
Qe(ie.$slots, "before-custom-tab-content", {}, void 0, !0),
|
|
33270
|
-
ee("p",
|
|
33276
|
+
ee("p", SL, ue(u(a)("plugins.select.tabs.custom.description")), 1),
|
|
33271
33277
|
y.value ? (S(), Z(g, {
|
|
33272
33278
|
key: 0,
|
|
33273
33279
|
appearance: "warning",
|
|
33274
33280
|
class: "custom-plugins-warning",
|
|
33275
33281
|
message: y.value
|
|
33276
33282
|
}, null, 8, ["message"])) : ye("", !0),
|
|
33277
|
-
C(
|
|
33283
|
+
C(mL, {
|
|
33278
33284
|
"can-create-custom-plugin": Ke.value,
|
|
33279
33285
|
"can-delete-cloned-plugin": rt.value,
|
|
33280
33286
|
"can-delete-custom-plugin": je.value,
|
|
@@ -33305,7 +33311,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33305
33311
|
]),
|
|
33306
33312
|
key: "0"
|
|
33307
33313
|
} : void 0
|
|
33308
|
-
]), 1032, ["modelValue", "tabs"])) : (S(), le("div",
|
|
33314
|
+
]), 1032, ["modelValue", "tabs"])) : (S(), le("div", AL, [
|
|
33309
33315
|
y.value ? (S(), Z(g, {
|
|
33310
33316
|
key: 0,
|
|
33311
33317
|
appearance: "warning",
|
|
@@ -33331,16 +33337,16 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33331
33337
|
]);
|
|
33332
33338
|
};
|
|
33333
33339
|
}
|
|
33334
|
-
}),
|
|
33340
|
+
}), TK = /* @__PURE__ */ ze(IL, [["__scopeId", "data-v-40b228cd"]]), TL = {
|
|
33335
33341
|
class: "plugin-select-card-wrapper",
|
|
33336
33342
|
"data-testid": "plugin-catalog-card-wrapper"
|
|
33337
|
-
},
|
|
33343
|
+
}, $L = { class: "plugin-card-header" }, OL = { class: "plugin-card-title" }, PL = {
|
|
33338
33344
|
key: 0,
|
|
33339
33345
|
class: "plugin-card-actions"
|
|
33340
|
-
},
|
|
33346
|
+
}, NL = ["data-testid", "title"], RL = { key: 0 }, ML = ["title"], LL = { class: "plugin-card-footer" }, FL = { class: "plugin-card-footer-extra" }, KL = {
|
|
33341
33347
|
key: 0,
|
|
33342
33348
|
class: "custom-plugin-badges"
|
|
33343
|
-
},
|
|
33349
|
+
}, jL = /* @__PURE__ */ Pe({
|
|
33344
33350
|
__name: "PluginCatalogCard",
|
|
33345
33351
|
props: {
|
|
33346
33352
|
config: {},
|
|
@@ -33359,7 +33365,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33359
33365
|
};
|
|
33360
33366
|
return (w, T) => {
|
|
33361
33367
|
const O = xe("KButton"), q = xe("KDropdownItem"), A = xe("KDropdownMenu"), I = xe("KBadge"), P = xe("RouterLink"), R = xe("KTooltip");
|
|
33362
|
-
return S(), le("div",
|
|
33368
|
+
return S(), le("div", TL, [
|
|
33363
33369
|
C(R, {
|
|
33364
33370
|
text: e.plugin.disabledMessage
|
|
33365
33371
|
}, {
|
|
@@ -33370,8 +33376,8 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33370
33376
|
to: v.value
|
|
33371
33377
|
}, {
|
|
33372
33378
|
default: N(() => [
|
|
33373
|
-
ee("div",
|
|
33374
|
-
ee("div",
|
|
33379
|
+
ee("div", $L, [
|
|
33380
|
+
ee("div", OL, [
|
|
33375
33381
|
C(u(qi), {
|
|
33376
33382
|
alt: e.plugin.name,
|
|
33377
33383
|
class: "plugin-card-icon",
|
|
@@ -33382,7 +33388,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33382
33388
|
class: yt({ "non-custom-title": !x.value })
|
|
33383
33389
|
}, ue(e.plugin.name), 3)
|
|
33384
33390
|
]),
|
|
33385
|
-
_.value ? (S(), le("div",
|
|
33391
|
+
_.value ? (S(), le("div", PL, [
|
|
33386
33392
|
C(A, {
|
|
33387
33393
|
"data-testid": "custom-plugin-actions",
|
|
33388
33394
|
"kpop-attributes": { placement: "bottom-end" },
|
|
@@ -33439,16 +33445,16 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33439
33445
|
"data-testid": `${e.plugin.id}-card-body`,
|
|
33440
33446
|
title: e.plugin.available ? e.plugin.name : u(r)("plugins.select.unavailable_tooltip")
|
|
33441
33447
|
}, [
|
|
33442
|
-
e.plugin.description ? (S(), le("div",
|
|
33448
|
+
e.plugin.description ? (S(), le("div", RL, [
|
|
33443
33449
|
ee("div", {
|
|
33444
33450
|
title: e.plugin.description
|
|
33445
|
-
}, ue(e.plugin.description), 9,
|
|
33451
|
+
}, ue(e.plugin.description), 9, ML)
|
|
33446
33452
|
])) : ye("", !0)
|
|
33447
|
-
], 8,
|
|
33448
|
-
ee("div",
|
|
33453
|
+
], 8, NL),
|
|
33454
|
+
ee("div", LL, [
|
|
33449
33455
|
ee("div", null, ue(b.value ? u(r)("actions.create_custom") : u(r)("actions.configure")), 1),
|
|
33450
|
-
ee("div",
|
|
33451
|
-
l.value.length ? (S(), le("div",
|
|
33456
|
+
ee("div", FL, [
|
|
33457
|
+
l.value.length ? (S(), le("div", KL, [
|
|
33452
33458
|
(S(!0), le(Ge, null, et(l.value, (j) => (S(), Z(I, {
|
|
33453
33459
|
key: j,
|
|
33454
33460
|
appearance: "info"
|
|
@@ -33471,7 +33477,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33471
33477
|
]);
|
|
33472
33478
|
};
|
|
33473
33479
|
}
|
|
33474
|
-
}),
|
|
33480
|
+
}), DL = /* @__PURE__ */ ze(jL, [["__scopeId", "data-v-cabcdb98"]]), qL = ["data-testid"], BL = { class: "group-icon-wrapper" }, UL = { class: "group-title-text" }, VL = ["data-testid"], zL = ["data-testid"], GL = /* @__PURE__ */ Pe({
|
|
33475
33481
|
__name: "PluginCatalogGroup",
|
|
33476
33482
|
props: {
|
|
33477
33483
|
config: {},
|
|
@@ -33539,18 +33545,18 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33539
33545
|
class: "group-title",
|
|
33540
33546
|
"data-testid": `plugin-group-${e.name}-title`
|
|
33541
33547
|
}, [
|
|
33542
|
-
ee("div",
|
|
33548
|
+
ee("div", BL, [
|
|
33543
33549
|
(S(), Z(jt(i.value), {
|
|
33544
33550
|
color: `var(--kui-color-text-decorative-purple, ${u(Ed)})`
|
|
33545
33551
|
}, null, 8, ["color"]))
|
|
33546
33552
|
]),
|
|
33547
|
-
ee("span",
|
|
33548
|
-
], 8,
|
|
33553
|
+
ee("span", UL, ue(e.name), 1)
|
|
33554
|
+
], 8, qL)) : ye("", !0),
|
|
33549
33555
|
ee("div", {
|
|
33550
33556
|
class: "plugin-card-container",
|
|
33551
33557
|
"data-testid": `plugin-group-${e.name}`
|
|
33552
33558
|
}, [
|
|
33553
|
-
(S(!0), le(Ge, null, et(l.value, (_) => (S(), Z(
|
|
33559
|
+
(S(!0), le(Ge, null, et(l.value, (_) => (S(), Z(DL, {
|
|
33554
33560
|
key: `plugin-card-${_.id}`,
|
|
33555
33561
|
"can-delete-cloned-plugin": e.canDeleteClonedPlugin,
|
|
33556
33562
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
@@ -33567,7 +33573,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33567
33573
|
ee("span", {
|
|
33568
33574
|
class: "plugin-card-new-badge",
|
|
33569
33575
|
"data-testid": `plugin-card-${_.id}-new-badge`
|
|
33570
|
-
}, ue(u(r)("labels.new")), 9,
|
|
33576
|
+
}, ue(u(r)("labels.new")), 9, zL)
|
|
33571
33577
|
]),
|
|
33572
33578
|
key: "0"
|
|
33573
33579
|
} : void 0
|
|
@@ -33577,7 +33583,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33577
33583
|
class: "show-all-plugin-card",
|
|
33578
33584
|
onClick: d
|
|
33579
33585
|
}, ue(u(r)("plugins.select.show_all")), 1)) : ye("", !0)
|
|
33580
|
-
], 8,
|
|
33586
|
+
], 8, VL),
|
|
33581
33587
|
f.value && c.value ? (S(), Z(os, {
|
|
33582
33588
|
key: 1,
|
|
33583
33589
|
config: e.config,
|
|
@@ -33587,7 +33593,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33587
33593
|
}, null, 8, ["config", "plugin"])) : ye("", !0)
|
|
33588
33594
|
], 64));
|
|
33589
33595
|
}
|
|
33590
|
-
}), ed = /* @__PURE__ */
|
|
33596
|
+
}), ed = /* @__PURE__ */ ze(GL, [["__scopeId", "data-v-f9a9a47c"]]), HL = { class: "plugin-select-grid" }, WL = { class: "empty-state-title" }, YL = { class: "empty-state-description" }, JL = { key: 1 }, XL = /* @__PURE__ */ Pe({
|
|
33591
33597
|
__name: "PluginCatalogGrid",
|
|
33592
33598
|
props: {
|
|
33593
33599
|
config: {},
|
|
@@ -33605,7 +33611,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33605
33611
|
return (a, l) => {
|
|
33606
33612
|
var d;
|
|
33607
33613
|
const s = xe("KEmptyState");
|
|
33608
|
-
return S(), le("div",
|
|
33614
|
+
return S(), le("div", HL, [
|
|
33609
33615
|
Object.keys(e.pluginList || []).length ? ye("", !0) : (S(), Z(s, {
|
|
33610
33616
|
key: 0,
|
|
33611
33617
|
"action-button-visible": !1,
|
|
@@ -33614,10 +33620,10 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33614
33620
|
"icon-variant": "kong"
|
|
33615
33621
|
}, {
|
|
33616
33622
|
title: N(() => [
|
|
33617
|
-
ee("span",
|
|
33623
|
+
ee("span", WL, ue(u(o)("plugins.select.tabs.kong.empty_title")), 1)
|
|
33618
33624
|
]),
|
|
33619
33625
|
default: N(() => [
|
|
33620
|
-
ee("span",
|
|
33626
|
+
ee("span", YL, ue(u(o)("plugins.select.tabs.kong.empty_description")), 1)
|
|
33621
33627
|
]),
|
|
33622
33628
|
_: 1
|
|
33623
33629
|
})),
|
|
@@ -33639,7 +33645,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33639
33645
|
])) : ye("", !0)
|
|
33640
33646
|
], 64);
|
|
33641
33647
|
}), 256)),
|
|
33642
|
-
(d = e.pluginList) != null && d["Query Result"] ? (S(), le("div",
|
|
33648
|
+
(d = e.pluginList) != null && d["Query Result"] ? (S(), le("div", JL, [
|
|
33643
33649
|
C(ed, {
|
|
33644
33650
|
"can-delete-cloned-plugin": e.canDeleteClonedPlugin,
|
|
33645
33651
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
@@ -33655,17 +33661,17 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33655
33661
|
]);
|
|
33656
33662
|
};
|
|
33657
33663
|
}
|
|
33658
|
-
}),
|
|
33664
|
+
}), ZL = /* @__PURE__ */ ze(XL, [["__scopeId", "data-v-e3bf3819"]]), QL = {
|
|
33659
33665
|
class: "plugin-name-cell",
|
|
33660
33666
|
"data-testid": "plugin-catalog-list-view-name"
|
|
33661
|
-
},
|
|
33667
|
+
}, eF = ["title"], tF = ["title"], nF = {
|
|
33662
33668
|
class: "plugin-action-cell",
|
|
33663
33669
|
"data-testid": "plugin-catalog-list-view-action"
|
|
33664
|
-
},
|
|
33670
|
+
}, iF = {
|
|
33665
33671
|
key: 0,
|
|
33666
33672
|
class: "plugin-more-action-cell",
|
|
33667
33673
|
"data-testid": "plugin-catalog-list-view-more-actions"
|
|
33668
|
-
},
|
|
33674
|
+
}, oF = /* @__PURE__ */ Pe({
|
|
33669
33675
|
__name: "PluginCatalogListView",
|
|
33670
33676
|
props: {
|
|
33671
33677
|
config: {},
|
|
@@ -33753,7 +33759,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33753
33759
|
onSort: q
|
|
33754
33760
|
}, {
|
|
33755
33761
|
name: N(({ row: F }) => [
|
|
33756
|
-
ee("span",
|
|
33762
|
+
ee("span", QL, [
|
|
33757
33763
|
C(u(qi), {
|
|
33758
33764
|
"data-testid": `plugin-catalog-list-view-${F.plugin.id}-icon`,
|
|
33759
33765
|
name: y(F.plugin),
|
|
@@ -33763,7 +33769,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33763
33769
|
class: "plugin-name-text",
|
|
33764
33770
|
"data-testid": "plugin-catalog-list-view-name-text",
|
|
33765
33771
|
title: F.name
|
|
33766
|
-
}, ue(F.name), 9,
|
|
33772
|
+
}, ue(F.name), 9, eF),
|
|
33767
33773
|
F.badge ? (S(), Z(P, {
|
|
33768
33774
|
key: 0,
|
|
33769
33775
|
appearance: "info",
|
|
@@ -33782,10 +33788,10 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33782
33788
|
class: "plugin-description-cell",
|
|
33783
33789
|
"data-testid": "plugin-catalog-list-view-description",
|
|
33784
33790
|
title: F.description
|
|
33785
|
-
}, ue(F.description), 9,
|
|
33791
|
+
}, ue(F.description), 9, tF)
|
|
33786
33792
|
]),
|
|
33787
33793
|
action: N(({ row: F }) => [
|
|
33788
|
-
ee("div",
|
|
33794
|
+
ee("div", nF, [
|
|
33789
33795
|
C(R, {
|
|
33790
33796
|
appearance: "tertiary",
|
|
33791
33797
|
"data-testid": "plugin-catalog-list-view-configure-btn",
|
|
@@ -33800,7 +33806,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33800
33806
|
])
|
|
33801
33807
|
]),
|
|
33802
33808
|
"more-actions": N(({ row: F }) => [
|
|
33803
|
-
x(F.plugin) ? (S(), le("div",
|
|
33809
|
+
x(F.plugin) ? (S(), le("div", iF, [
|
|
33804
33810
|
C(Q, {
|
|
33805
33811
|
appearance: "tertiary",
|
|
33806
33812
|
class: "actions-trigger",
|
|
@@ -33860,17 +33866,17 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
33860
33866
|
], 64);
|
|
33861
33867
|
};
|
|
33862
33868
|
}
|
|
33863
|
-
}),
|
|
33869
|
+
}), aF = /* @__PURE__ */ ze(oF, [["__scopeId", "data-v-986d34db"]]), rF = {
|
|
33864
33870
|
class: "plugin-catalog",
|
|
33865
33871
|
"data-testid": "plugin-catalog"
|
|
33866
|
-
},
|
|
33872
|
+
}, sF = {
|
|
33867
33873
|
class: "plugin-filter",
|
|
33868
33874
|
"data-testid": "plugin-filter"
|
|
33869
|
-
},
|
|
33875
|
+
}, lF = { class: "plugin-filter-title" }, uF = { class: "featured-title" }, cF = { class: "plugin-featured-filter" }, dF = ["data-testid"], pF = { class: "group-title" }, fF = { class: "plugin-type-filter" }, mF = ["data-testid"], gF = { class: "plugins-container" }, hF = { class: "plugins-filter-input-container" }, yF = { class: "icon-container" }, vF = { key: 0 }, _F = {
|
|
33870
33876
|
key: 3,
|
|
33871
33877
|
"aria-live": "polite",
|
|
33872
33878
|
class: "plugins-results-container"
|
|
33873
|
-
},
|
|
33879
|
+
}, bF = /* @__PURE__ */ Pe({
|
|
33874
33880
|
__name: "PluginCatalog",
|
|
33875
33881
|
props: {
|
|
33876
33882
|
config: {},
|
|
@@ -34092,9 +34098,9 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34092
34098
|
(se = q.value) == null || se.abort();
|
|
34093
34099
|
}), (se, ie) => {
|
|
34094
34100
|
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");
|
|
34095
|
-
return S(), le("div",
|
|
34096
|
-
ee("div",
|
|
34097
|
-
ee("div",
|
|
34101
|
+
return S(), le("div", rF, [
|
|
34102
|
+
ee("div", sF, [
|
|
34103
|
+
ee("div", lF, [
|
|
34098
34104
|
Le(ue(u(i)("plugins.select.filter.title")) + " ", 1),
|
|
34099
34105
|
C(Y, {
|
|
34100
34106
|
appearance: "tertiary",
|
|
@@ -34114,10 +34120,10 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34114
34120
|
"onUpdate:modelValue": ie[0] || (ie[0] = (ve) => p.value = ve)
|
|
34115
34121
|
}, {
|
|
34116
34122
|
title: N(() => [
|
|
34117
|
-
ee("div",
|
|
34123
|
+
ee("div", uF, ue(u(i)("plugins.select.filter.featured")), 1)
|
|
34118
34124
|
]),
|
|
34119
34125
|
default: N(() => [
|
|
34120
|
-
ee("div",
|
|
34126
|
+
ee("div", cF, [
|
|
34121
34127
|
(S(!0), le(Ge, null, et(u(Ys), (ve) => (S(), le("div", {
|
|
34122
34128
|
key: ve,
|
|
34123
34129
|
class: "plugin-filter-item",
|
|
@@ -34137,7 +34143,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34137
34143
|
}),
|
|
34138
34144
|
_: 2
|
|
34139
34145
|
}, 1024)
|
|
34140
|
-
], 8,
|
|
34146
|
+
], 8, dF))), 128))
|
|
34141
34147
|
])
|
|
34142
34148
|
]),
|
|
34143
34149
|
_: 1
|
|
@@ -34147,10 +34153,10 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34147
34153
|
"onUpdate:modelValue": ie[1] || (ie[1] = (ve) => m.value = ve)
|
|
34148
34154
|
}, {
|
|
34149
34155
|
title: N(() => [
|
|
34150
|
-
ee("div",
|
|
34156
|
+
ee("div", pF, ue(u(i)("plugins.select.filter.type")), 1)
|
|
34151
34157
|
]),
|
|
34152
34158
|
default: N(() => [
|
|
34153
|
-
ee("div",
|
|
34159
|
+
ee("div", fF, [
|
|
34154
34160
|
(S(!0), le(Ge, null, et(u(Js), (ve) => (S(), le("div", {
|
|
34155
34161
|
key: ve,
|
|
34156
34162
|
class: "plugin-filter-item",
|
|
@@ -34174,14 +34180,14 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34174
34180
|
}),
|
|
34175
34181
|
_: 2
|
|
34176
34182
|
}, 1032, ["data-testid"])
|
|
34177
|
-
], 8,
|
|
34183
|
+
], 8, mF))), 128))
|
|
34178
34184
|
])
|
|
34179
34185
|
]),
|
|
34180
34186
|
_: 1
|
|
34181
34187
|
}, 8, ["modelValue"])
|
|
34182
34188
|
]),
|
|
34183
|
-
ee("div",
|
|
34184
|
-
ee("div",
|
|
34189
|
+
ee("div", gF, [
|
|
34190
|
+
ee("div", hF, [
|
|
34185
34191
|
C(Te, {
|
|
34186
34192
|
ref: "filter-input",
|
|
34187
34193
|
modelValue: c.value,
|
|
@@ -34192,7 +34198,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34192
34198
|
placeholder: u(i)("search.placeholder.search_plugins"),
|
|
34193
34199
|
type: "search"
|
|
34194
34200
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
34195
|
-
ee("div",
|
|
34201
|
+
ee("div", yF, [
|
|
34196
34202
|
(S(), Z(jt(I.value), {
|
|
34197
34203
|
class: "plugins-filter-icon",
|
|
34198
34204
|
color: `var(--kui-icon-color-primary, ${u(sy)})`,
|
|
@@ -34200,7 +34206,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34200
34206
|
}, null, 8, ["color"]))
|
|
34201
34207
|
])
|
|
34202
34208
|
]),
|
|
34203
|
-
y.value ? (S(), le("section",
|
|
34209
|
+
y.value ? (S(), le("section", vF, [
|
|
34204
34210
|
C(Ae, {
|
|
34205
34211
|
class: "plugins-skeleton-title",
|
|
34206
34212
|
width: "10"
|
|
@@ -34230,14 +34236,14 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34230
34236
|
ee("h5", null, ue(u(i)("search.no_results", { filter: c.value })), 1)
|
|
34231
34237
|
]),
|
|
34232
34238
|
_: 1
|
|
34233
|
-
})) : (S(), le("section",
|
|
34239
|
+
})) : (S(), le("section", _F, [
|
|
34234
34240
|
b.value ? (S(), Z(ce, {
|
|
34235
34241
|
key: 0,
|
|
34236
34242
|
appearance: "warning",
|
|
34237
34243
|
class: "custom-plugins-warning",
|
|
34238
34244
|
message: b.value
|
|
34239
34245
|
}, null, 8, ["message"])) : ye("", !0),
|
|
34240
|
-
O.value ? (S(), Z(
|
|
34246
|
+
O.value ? (S(), Z(aF, {
|
|
34241
34247
|
key: 1,
|
|
34242
34248
|
"can-delete-cloned-plugin": Be.value,
|
|
34243
34249
|
"can-delete-custom-plugin": pe.value,
|
|
@@ -34246,7 +34252,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34246
34252
|
config: e.config,
|
|
34247
34253
|
"plugin-list": $.value,
|
|
34248
34254
|
"onDelete:success": qe
|
|
34249
|
-
}, null, 8, ["can-delete-cloned-plugin", "can-delete-custom-plugin", "can-edit-cloned-plugin", "can-edit-custom-plugin", "config", "plugin-list"])) : (S(), Z(
|
|
34255
|
+
}, null, 8, ["can-delete-cloned-plugin", "can-delete-custom-plugin", "can-edit-cloned-plugin", "can-edit-custom-plugin", "config", "plugin-list"])) : (S(), Z(ZL, {
|
|
34250
34256
|
key: 2,
|
|
34251
34257
|
"can-delete-cloned-plugin": Be.value,
|
|
34252
34258
|
"can-delete-custom-plugin": pe.value,
|
|
@@ -34262,16 +34268,16 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34262
34268
|
]);
|
|
34263
34269
|
};
|
|
34264
34270
|
}
|
|
34265
|
-
}),
|
|
34271
|
+
}), $K = /* @__PURE__ */ ze(bF, [["__scopeId", "data-v-679e985d"]]), wF = {
|
|
34266
34272
|
key: 1,
|
|
34267
34273
|
class: "datakit-config-card-canvas"
|
|
34268
|
-
},
|
|
34274
|
+
}, kF = {
|
|
34269
34275
|
class: "config-card-details-label",
|
|
34270
34276
|
"data-testid": "datakit-configuration-label"
|
|
34271
|
-
},
|
|
34277
|
+
}, CF = {
|
|
34272
34278
|
class: "config-card-details-value datakit-canvas-container",
|
|
34273
34279
|
"data-testid": "datakit-configuration-canvas"
|
|
34274
|
-
},
|
|
34280
|
+
}, EF = { class: "canvas-wrapper" }, xF = /* @__PURE__ */ Pe({
|
|
34275
34281
|
__name: "DatakitConfigCardCanvas",
|
|
34276
34282
|
props: {
|
|
34277
34283
|
pluginData: {},
|
|
@@ -34284,8 +34290,8 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34284
34290
|
});
|
|
34285
34291
|
return qp(e.pluginData), (n, i) => {
|
|
34286
34292
|
const o = xe("KLabel");
|
|
34287
|
-
return t.value ? (S(), le("div",
|
|
34288
|
-
ee("div",
|
|
34293
|
+
return t.value ? (S(), le("div", wF, [
|
|
34294
|
+
ee("div", kF, [
|
|
34289
34295
|
C(o, null, {
|
|
34290
34296
|
default: N(() => [...i[0] || (i[0] = [
|
|
34291
34297
|
ee("span", { class: "label-content" }, " Nodes ", -1)
|
|
@@ -34293,8 +34299,8 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34293
34299
|
_: 1
|
|
34294
34300
|
})
|
|
34295
34301
|
]),
|
|
34296
|
-
ee("div",
|
|
34297
|
-
ee("div",
|
|
34302
|
+
ee("div", CF, [
|
|
34303
|
+
ee("div", EF, [
|
|
34298
34304
|
C(du, {
|
|
34299
34305
|
class: "datakit-flow-panels",
|
|
34300
34306
|
mode: "view",
|
|
@@ -34308,7 +34314,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34308
34314
|
}, null, 8, ["item"]));
|
|
34309
34315
|
};
|
|
34310
34316
|
}
|
|
34311
|
-
}),
|
|
34317
|
+
}), SF = /* @__PURE__ */ ze(xF, [["__scopeId", "data-v-9a3ef1ac"]]), AF = { class: "kong-ui-entity-plugin-config-card" }, IF = { class: "name-cell-wrapper" }, TF = { class: "info-name" }, $F = { key: 0 }, OF = { key: 0 }, PF = { key: 0 }, NF = { key: 0 }, RF = { key: 0 }, Ts = "config", MF = /* @__PURE__ */ Pe({
|
|
34312
34318
|
__name: "PluginConfigCard",
|
|
34313
34319
|
props: {
|
|
34314
34320
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -34448,7 +34454,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34448
34454
|
}
|
|
34449
34455
|
}), (k, w) => {
|
|
34450
34456
|
const T = xe("KSkeleton"), O = xe("KEmptyState"), q = xe("KCopy");
|
|
34451
|
-
return S(), le("div",
|
|
34457
|
+
return S(), le("div", AF, [
|
|
34452
34458
|
b.value ? (S(), Z(T, {
|
|
34453
34459
|
key: 0,
|
|
34454
34460
|
"data-testid": "plugin-config-card-loader",
|
|
@@ -34480,13 +34486,13 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34480
34486
|
onLoading: w[2] || (w[2] = (A) => k.$emit("loading", A))
|
|
34481
34487
|
}, vt({
|
|
34482
34488
|
name: N((A) => [
|
|
34483
|
-
ee("div",
|
|
34489
|
+
ee("div", IF, [
|
|
34484
34490
|
C(u(qi), {
|
|
34485
34491
|
class: "plugin-icon",
|
|
34486
34492
|
name: u(l)("rowValue", A),
|
|
34487
34493
|
size: 24
|
|
34488
34494
|
}, null, 8, ["name"]),
|
|
34489
|
-
ee("span",
|
|
34495
|
+
ee("span", TF, ue(u(r).getDisplayName(u(l)("rowValue", A))), 1)
|
|
34490
34496
|
])
|
|
34491
34497
|
]),
|
|
34492
34498
|
consumer: N((A) => [
|
|
@@ -34503,7 +34509,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34503
34509
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34504
34510
|
"data-testid": "consumer-copy-uuid",
|
|
34505
34511
|
text: u(l)("rowValue", A).id
|
|
34506
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34512
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", $F, "–"))
|
|
34507
34513
|
]),
|
|
34508
34514
|
route: N((A) => [
|
|
34509
34515
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34519,7 +34525,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34519
34525
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34520
34526
|
"data-testid": "route-copy-uuid",
|
|
34521
34527
|
text: u(l)("rowValue", A).id
|
|
34522
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34528
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", OF, "–"))
|
|
34523
34529
|
]),
|
|
34524
34530
|
service: N((A) => [
|
|
34525
34531
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34535,7 +34541,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34535
34541
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34536
34542
|
"data-testid": "service-copy-uuid",
|
|
34537
34543
|
text: u(l)("rowValue", A).id
|
|
34538
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34544
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", PF, "–"))
|
|
34539
34545
|
]),
|
|
34540
34546
|
consumer_group: N((A) => [
|
|
34541
34547
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34551,7 +34557,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34551
34557
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34552
34558
|
"data-testid": "consumer-group-copy-uuid",
|
|
34553
34559
|
text: u(l)("rowValue", A).id
|
|
34554
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34560
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", NF, "–"))
|
|
34555
34561
|
]),
|
|
34556
34562
|
partials: N((A) => {
|
|
34557
34563
|
var I, P, R, j, Q, G, oe, F, X;
|
|
@@ -34572,7 +34578,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34572
34578
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34573
34579
|
"data-testid": "partial-copy-uuid",
|
|
34574
34580
|
text: (X = u(l)("rowValue", A)) == null ? void 0 : X[0].id
|
|
34575
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34581
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", RF, "–"))
|
|
34576
34582
|
];
|
|
34577
34583
|
}),
|
|
34578
34584
|
_: 2
|
|
@@ -34580,7 +34586,7 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34580
34586
|
e.config.pluginType === "datakit" && e.config.app === "konnect" ? {
|
|
34581
34587
|
name: "config-card-item-nodes",
|
|
34582
34588
|
fn: N((A) => [
|
|
34583
|
-
C(
|
|
34589
|
+
C(SF, {
|
|
34584
34590
|
item: A.row,
|
|
34585
34591
|
"plugin-data": A.record
|
|
34586
34592
|
}, null, 8, ["item", "plugin-data"])
|
|
@@ -34591,12 +34597,12 @@ const OM = { class: "kong-ui-entities-plugin-form" }, PM = {
|
|
|
34591
34597
|
]);
|
|
34592
34598
|
};
|
|
34593
34599
|
}
|
|
34594
|
-
}),
|
|
34600
|
+
}), OK = /* @__PURE__ */ ze(MF, [["__scopeId", "data-v-03dcf2b4"]]), { usePluginMetaData: PK, useProvideExperimentalFreeForms: NK } = lt;
|
|
34595
34601
|
export {
|
|
34596
34602
|
Rt as ArrayField,
|
|
34597
34603
|
kn as BooleanField,
|
|
34598
34604
|
mm as CommonForm,
|
|
34599
|
-
|
|
34605
|
+
SK as CustomPluginForm,
|
|
34600
34606
|
li as DynamicLayout,
|
|
34601
34607
|
$p as EXPERIMENTAL_FREE_FORM_PROVIDER,
|
|
34602
34608
|
lo as EntityTypeIdField,
|
|
@@ -34617,19 +34623,19 @@ export {
|
|
|
34617
34623
|
zp as NodeBadge,
|
|
34618
34624
|
Yt as NumberField,
|
|
34619
34625
|
Gt as ObjectField,
|
|
34620
|
-
|
|
34621
|
-
|
|
34626
|
+
$K as PluginCatalog,
|
|
34627
|
+
OK as PluginConfigCard,
|
|
34622
34628
|
bI as PluginConfigurationForm,
|
|
34623
34629
|
Ys as PluginFeaturedArray,
|
|
34624
|
-
|
|
34625
|
-
|
|
34630
|
+
AK as PluginForm,
|
|
34631
|
+
jK as PluginGroup,
|
|
34626
34632
|
mc as PluginGroupArray,
|
|
34627
34633
|
Js as PluginGroupArraySortedAlphabetically,
|
|
34628
|
-
|
|
34629
|
-
|
|
34634
|
+
LK as PluginIcon,
|
|
34635
|
+
IK as PluginList,
|
|
34630
34636
|
Ws as PluginPartialType,
|
|
34631
|
-
|
|
34632
|
-
|
|
34637
|
+
DK as PluginScope,
|
|
34638
|
+
TK as PluginSelect,
|
|
34633
34639
|
Hm as PluginSelectCard,
|
|
34634
34640
|
Qc as PluginSelectGrid,
|
|
34635
34641
|
Na as StringArrayField,
|
|
@@ -34643,12 +34649,12 @@ export {
|
|
|
34643
34649
|
GE as buildSchemaMap,
|
|
34644
34650
|
zl as defaultLabelFormatter,
|
|
34645
34651
|
ra as generalizePath,
|
|
34646
|
-
|
|
34652
|
+
FK as getPluginIconURL,
|
|
34647
34653
|
Fm as pluginConfigRegistry,
|
|
34648
34654
|
ot as pluginEndpoints,
|
|
34649
34655
|
qp as provideEditorStore,
|
|
34650
34656
|
tx as provideFormShared,
|
|
34651
|
-
|
|
34657
|
+
dK as renderRuleExactMatch,
|
|
34652
34658
|
nf as replaceByDictionary,
|
|
34653
34659
|
of as replaceByDictionaryInFieldName,
|
|
34654
34660
|
Ut as useEditorStore,
|
|
@@ -34664,9 +34670,9 @@ export {
|
|
|
34664
34670
|
rx as useLabelPath,
|
|
34665
34671
|
Gl as useMapField,
|
|
34666
34672
|
nx as useOptionalFormShared,
|
|
34667
|
-
|
|
34668
|
-
|
|
34669
|
-
|
|
34673
|
+
PK as usePluginMetaData,
|
|
34674
|
+
NK as useProvideExperimentalFreeForms,
|
|
34675
|
+
xK as useProvideFreeFormPluginLayout,
|
|
34670
34676
|
ox as useSchemaExposer,
|
|
34671
34677
|
HE as useSchemaHelpers
|
|
34672
34678
|
};
|