@kong-ui-public/entities-plugins 9.231.0 → 9.232.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 +496 -471
- package/dist/entities-plugins.umd.js +23 -23
- package/dist/types/components/free-form/plugins/forward-proxy.d.ts +3 -0
- package/dist/types/components/free-form/plugins/forward-proxy.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/upstream-timeout.d.ts +3 -0
- package/dist/types/components/free-form/plugins/upstream-timeout.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/websocket-size-limit.d.ts +3 -0
- package/dist/types/components/free-form/plugins/websocket-size-limit.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/websocket-validator.d.ts +3 -0
- package/dist/types/components/free-form/plugins/websocket-validator.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/xml-threat-protection.d.ts +3 -0
- package/dist/types/components/free-form/plugins/xml-threat-protection.d.ts.map +1 -0
- package/package.json +7 -7
|
@@ -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 Pi, 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 Oi, 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 kK, getPluginIconURL as CK } from "@kong-ui-public/entities-plugins-icon";
|
|
15
15
|
import { PluginGroup as nt, PLUGIN_GROUP_AND_SCOPE_MAP as Re, PluginScope as Mt, GATEWAY_VERSION_TIMESTAMP_MAP as _h } from "@kong-ui-public/entities-plugins-metadata";
|
|
16
|
-
import { PluginGroup as
|
|
16
|
+
import { PluginGroup as xK, PluginScope as SK } from "@kong-ui-public/entities-plugins-metadata";
|
|
17
17
|
import { FORMS_CONFIG as Yn, composables as bh, FORMS_API_KEY as yd, FieldScopedEntitySelect as wh, AUTOFILL_SLOT as Jn, AUTOFILL_SLOT_NAME as On, getSharedFormName as vd, customFields as Ps, 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";
|
|
@@ -5235,8 +5235,8 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
5235
5235
|
function Q($) {
|
|
5236
5236
|
let D = Number.POSITIVE_INFINITY, re = 0, ae = Number.POSITIVE_INFINITY, we = 0, _e = $.graph(), pe = _e.marginx || 0, he = _e.marginy || 0;
|
|
5237
5237
|
function Ke(Be) {
|
|
5238
|
-
let je = Be.x,
|
|
5239
|
-
D = Math.min(D, je - Ye / 2), re = Math.max(re, je + Ye / 2), ae = Math.min(ae,
|
|
5238
|
+
let je = Be.x, He = Be.y, Ye = Be.width, rt = Be.height;
|
|
5239
|
+
D = Math.min(D, je - Ye / 2), re = Math.max(re, je + Ye / 2), ae = Math.min(ae, He - rt / 2), we = Math.max(we, He + rt / 2);
|
|
5240
5240
|
}
|
|
5241
5241
|
$.nodes().forEach((Be) => Ke($.node(Be))), $.edges().forEach((Be) => {
|
|
5242
5242
|
let je = $.edge(Be);
|
|
@@ -5246,8 +5246,8 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
5246
5246
|
je.x -= D, je.y -= ae;
|
|
5247
5247
|
}), $.edges().forEach((Be) => {
|
|
5248
5248
|
let je = $.edge(Be);
|
|
5249
|
-
je.points.forEach((
|
|
5250
|
-
|
|
5249
|
+
je.points.forEach((He) => {
|
|
5250
|
+
He.x -= D, He.y -= ae;
|
|
5251
5251
|
}), Object.hasOwn(je, "x") && (je.x -= D), Object.hasOwn(je, "y") && (je.y -= ae);
|
|
5252
5252
|
}), _e.width = re - D + pe, _e.height = we - ae + he;
|
|
5253
5253
|
}
|
|
@@ -6116,7 +6116,7 @@ const [qp, z1] = pl(
|
|
|
6116
6116
|
}
|
|
6117
6117
|
de && s.commit();
|
|
6118
6118
|
}
|
|
6119
|
-
function
|
|
6119
|
+
function He(Y, de = !0) {
|
|
6120
6120
|
const fe = Q(Y);
|
|
6121
6121
|
for (const ge of fe)
|
|
6122
6122
|
je(ge.id, !1);
|
|
@@ -6270,7 +6270,7 @@ const [qp, z1] = pl(
|
|
|
6270
6270
|
connectEdge: Ke,
|
|
6271
6271
|
replaceConnection: Be,
|
|
6272
6272
|
disconnectEdge: je,
|
|
6273
|
-
disconnectInEdges:
|
|
6273
|
+
disconnectInEdges: He,
|
|
6274
6274
|
disconnectOutEdges: Ye,
|
|
6275
6275
|
// serialization
|
|
6276
6276
|
toConfigNodes: rt,
|
|
@@ -6391,12 +6391,12 @@ function G1(e) {
|
|
|
6391
6391
|
const rt = `Expected node '${_e.id}' to have parent, but it does not`;
|
|
6392
6392
|
throw console.error(rt, _e), new Error(rt);
|
|
6393
6393
|
}
|
|
6394
|
-
const
|
|
6395
|
-
if (
|
|
6394
|
+
const He = G(Be), Ye = G(je);
|
|
6395
|
+
if (He) {
|
|
6396
6396
|
if (!Ye)
|
|
6397
6397
|
throw new Error(`Cannot find parent node '${je}' for node '${pe.id}' via findNode`);
|
|
6398
6398
|
} else throw new Error(`Cannot find parent node '${Be}' for node '${_e.id}' via findNode`);
|
|
6399
|
-
_e =
|
|
6399
|
+
_e = He, pe = Ye, he--, Ke--;
|
|
6400
6400
|
}
|
|
6401
6401
|
}
|
|
6402
6402
|
const M = l.value.groups.toSorted(($, D) => F(D.ownerId) - F($.ownerId));
|
|
@@ -6444,17 +6444,17 @@ function G1(e) {
|
|
|
6444
6444
|
ranksep: P
|
|
6445
6445
|
});
|
|
6446
6446
|
const je = /* @__PURE__ */ new Set();
|
|
6447
|
-
for (const
|
|
6448
|
-
const Ye = (oe ?? a)(
|
|
6447
|
+
for (const He of O) {
|
|
6448
|
+
const Ye = (oe ?? a)(He.id);
|
|
6449
6449
|
if (!Ye) {
|
|
6450
|
-
console.warn(`Cannot find graph node '${
|
|
6450
|
+
console.warn(`Cannot find graph node '${He.id}' in ${n} phase`);
|
|
6451
6451
|
continue;
|
|
6452
6452
|
}
|
|
6453
|
-
je.add(
|
|
6453
|
+
je.add(He.id), Jo(He) ? M.setNode(He.id, { ...He.dimensions ?? Ye.dimensions }) : M.setNode(He.id, { ...Ye.dimensions });
|
|
6454
6454
|
}
|
|
6455
|
-
for (const
|
|
6456
|
-
!je.has(
|
|
6457
|
-
G == null || G.forEach((
|
|
6455
|
+
for (const He of r.value)
|
|
6456
|
+
!je.has(He.source) || !je.has(He.target) || M.setEdge(He.source, He.target, { points: [] });
|
|
6457
|
+
G == null || G.forEach((He) => M.setEdge(He, { points: [] })), lc.layout(M);
|
|
6458
6458
|
}
|
|
6459
6459
|
const W = [], z = (je) => ({
|
|
6460
6460
|
x: je.x - je.width / 2,
|
|
@@ -6466,7 +6466,7 @@ function G1(e) {
|
|
|
6466
6466
|
if (!M)
|
|
6467
6467
|
throw new Error("Expected dagreGraph to be initialized");
|
|
6468
6468
|
for (const je of O) {
|
|
6469
|
-
const
|
|
6469
|
+
const He = M.node(je.id), Ye = z(He);
|
|
6470
6470
|
W.push(Ye), Jo(je) ? v(
|
|
6471
6471
|
je.id,
|
|
6472
6472
|
Ye,
|
|
@@ -6951,7 +6951,7 @@ const [Z1, Q1] = pl(
|
|
|
6951
6951
|
}), {
|
|
6952
6952
|
memberGroupMap: Be,
|
|
6953
6953
|
groupNodes: je,
|
|
6954
|
-
branchEdges:
|
|
6954
|
+
branchEdges: He,
|
|
6955
6955
|
isBranchEdgeId: Ye,
|
|
6956
6956
|
updateGroupLayout: rt,
|
|
6957
6957
|
translateGroupTree: ft,
|
|
@@ -7008,7 +7008,7 @@ const [Z1, Q1] = pl(
|
|
|
7008
7008
|
});
|
|
7009
7009
|
})
|
|
7010
7010
|
), Te = L(() => [
|
|
7011
|
-
...
|
|
7011
|
+
...He.value,
|
|
7012
7012
|
...ge.value
|
|
7013
7013
|
]), { autoLayout: Ae } = G1({
|
|
7014
7014
|
phase: t,
|
|
@@ -7923,9 +7923,9 @@ const aC = {
|
|
|
7923
7923
|
e.mode === "edit" && (ae.preventDefault(), F(q({ x: ae.clientX, y: ae.clientY })));
|
|
7924
7924
|
}
|
|
7925
7925
|
function H(ae) {
|
|
7926
|
-
var
|
|
7926
|
+
var He;
|
|
7927
7927
|
if (e.mode !== "edit") return;
|
|
7928
|
-
const we = (
|
|
7928
|
+
const we = (He = ae.dataTransfer) == null ? void 0 : He.getData(na);
|
|
7929
7929
|
if (!we) return;
|
|
7930
7930
|
ae.preventDefault();
|
|
7931
7931
|
const _e = JSON.parse(we);
|
|
@@ -10764,7 +10764,7 @@ function GE(e) {
|
|
|
10764
10764
|
};
|
|
10765
10765
|
}
|
|
10766
10766
|
const Qs = Symbol("ff-render-rule-exact-match");
|
|
10767
|
-
function
|
|
10767
|
+
function XF(e) {
|
|
10768
10768
|
return { [Qs]: e };
|
|
10769
10769
|
}
|
|
10770
10770
|
function HE(e, t) {
|
|
@@ -13791,7 +13791,7 @@ var rS = Object.create, af = Object.defineProperty, sS = Object.getOwnPropertyDe
|
|
|
13791
13791
|
else E(be) ? (re(g, ce, ve, !0), Ke(g, pe(g, !1, te)), ce = ve = g.position) : g.position === g.lineStart && he(g) ? F(g, "unexpected end of the document within a single quoted scalar") : (g.position++, k(be) || (ve = g.position));
|
|
13792
13792
|
F(g, "unexpected end of the stream within a single quoted scalar");
|
|
13793
13793
|
}
|
|
13794
|
-
function
|
|
13794
|
+
function He(g, te) {
|
|
13795
13795
|
let ce, ve, be, Pe = g.input.charCodeAt(g.position);
|
|
13796
13796
|
if (Pe !== 34) return !1;
|
|
13797
13797
|
for (g.kind = "scalar", g.result = "", g.position++, ce = ve = g.position; (Pe = g.input.charCodeAt(g.position)) !== 0; ) {
|
|
@@ -13978,7 +13978,7 @@ var rS = Object.create, af = Object.defineProperty, sS = Object.getOwnPropertyDe
|
|
|
13978
13978
|
if (l === ce || s === ce ? V = te : V = te + 1, Ee = g.position - g.lineStart, ke === 1) if (K && (ft(g, Ee) || qe(g, Ee, V)) || Ye(g, V)) Ie = !0;
|
|
13979
13979
|
else {
|
|
13980
13980
|
const Ne = g.input.charCodeAt(g.position);
|
|
13981
|
-
B !== null && Se && !K && Ne !== 124 && Ne !== 62 && Y(g, B, B.position - B.lineStart, V) || Pe && rt(g, V) || je(g, V) ||
|
|
13981
|
+
B !== null && Se && !K && Ne !== 124 && Ne !== 62 && Y(g, B, B.position - B.lineStart, V) || Pe && rt(g, V) || je(g, V) || He(g, V) ? Ie = !0 : ie(g) ? (Ie = !0, (g.tag !== null || g.anchor !== null) && F(g, "alias node should not have any properties")) : Be(g, V, l === ce) && (Ie = !0, g.tag === null && (g.tag = "?")), g.anchor !== null && M(g, g.anchor, g.result);
|
|
13982
13982
|
}
|
|
13983
13983
|
else ke === 0 && (Ie = K && ft(g, Ee));
|
|
13984
13984
|
if (g.tag === null)
|
|
@@ -14151,7 +14151,7 @@ var rS = Object.create, af = Object.defineProperty, sS = Object.getOwnPropertyDe
|
|
|
14151
14151
|
function Be(K) {
|
|
14152
14152
|
return /^\n* /.test(K);
|
|
14153
14153
|
}
|
|
14154
|
-
var je = 1,
|
|
14154
|
+
var je = 1, He = 2, Ye = 3, rt = 4, ft = 5;
|
|
14155
14155
|
function qe(K, ke, Me, Ie, B, ne, V, Ee) {
|
|
14156
14156
|
let Se, Ne = 0, De = null, Ue = !1, tt = !1;
|
|
14157
14157
|
const Je = Ie !== -1;
|
|
@@ -14169,7 +14169,7 @@ var rS = Object.create, af = Object.defineProperty, sS = Object.getOwnPropertyDe
|
|
|
14169
14169
|
}
|
|
14170
14170
|
tt = tt || Je && Se - Fe - 1 > Ie && K[Fe + 1] !== " ";
|
|
14171
14171
|
}
|
|
14172
|
-
return !Ue && !tt ? $e && !V && !B(K) ? je : ne === z ? ft :
|
|
14172
|
+
return !Ue && !tt ? $e && !V && !B(K) ? je : ne === z ? ft : He : Me > 9 && Be(K) ? ft : V ? ne === z ? ft : He : tt ? rt : Ye;
|
|
14173
14173
|
}
|
|
14174
14174
|
function Ce(K, ke, Me, Ie, B) {
|
|
14175
14175
|
K.dump = function() {
|
|
@@ -14183,7 +14183,7 @@ var rS = Object.create, af = Object.defineProperty, sS = Object.getOwnPropertyDe
|
|
|
14183
14183
|
switch (qe(ke, Ee, K.indent, V, Se, K.quotingType, K.forceQuotes && !Ie, B)) {
|
|
14184
14184
|
case je:
|
|
14185
14185
|
return ke;
|
|
14186
|
-
case
|
|
14186
|
+
case He:
|
|
14187
14187
|
return "'" + ke.replace(/'/g, "''") + "'";
|
|
14188
14188
|
case Ye:
|
|
14189
14189
|
return "|" + se(ke, K.indent) + ie(U(ke, ne));
|
|
@@ -14382,7 +14382,7 @@ var rS = Object.create, af = Object.defineProperty, sS = Object.getOwnPropertyDe
|
|
|
14382
14382
|
seq: lf(),
|
|
14383
14383
|
str: sf()
|
|
14384
14384
|
}, t.exports.safeLoad = o("safeLoad", "load"), t.exports.safeLoadAll = o("safeLoadAll", "loadAll"), t.exports.safeDump = o("safeDump", "dump");
|
|
14385
|
-
}))()), { Type:
|
|
14385
|
+
}))()), { Type: ZF, Schema: QF, FAILSAFE_SCHEMA: eK, JSON_SCHEMA: Fi, CORE_SCHEMA: tK, DEFAULT_SCHEMA: nK, load: iK, loadAll: oK, dump: aK, YAMLException: rK, types: sK, safeLoad: lK, safeLoadAll: uK, safeDump: cK } = Cf.default, Pn = Cf.default;
|
|
14386
14386
|
const hS = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|
|
14387
14387
|
function ci() {
|
|
14388
14388
|
return { lenses: [], dispose: () => {
|
|
@@ -20409,7 +20409,7 @@ const HA = {
|
|
|
20409
20409
|
], 64));
|
|
20410
20410
|
}
|
|
20411
20411
|
}), wI = /* @__PURE__ */ Ve(bI, [["__scopeId", "data-v-e2f4cda4"]]), pm = Symbol.for("kong-ui-public.entities-plugins.free-form-plugin-layout");
|
|
20412
|
-
function
|
|
20412
|
+
function dK(e) {
|
|
20413
20413
|
Lt(pm, e);
|
|
20414
20414
|
}
|
|
20415
20415
|
const li = /* @__PURE__ */ Oe({
|
|
@@ -20672,16 +20672,16 @@ const li = /* @__PURE__ */ Oe({
|
|
|
20672
20672
|
}, 16));
|
|
20673
20673
|
}
|
|
20674
20674
|
});
|
|
20675
|
-
function
|
|
20675
|
+
function Ge(e = {}) {
|
|
20676
20676
|
return {
|
|
20677
20677
|
...e,
|
|
20678
20678
|
component: e.component ?? mm
|
|
20679
20679
|
};
|
|
20680
20680
|
}
|
|
20681
|
-
const TI =
|
|
20681
|
+
const TI = Ge({
|
|
20682
20682
|
experimental: !0,
|
|
20683
20683
|
component: xI
|
|
20684
|
-
}), $I =
|
|
20684
|
+
}), $I = Ge({
|
|
20685
20685
|
fieldRenderers: [
|
|
20686
20686
|
{
|
|
20687
20687
|
match: "config.functions",
|
|
@@ -20769,13 +20769,13 @@ const TI = He({
|
|
|
20769
20769
|
_: 1
|
|
20770
20770
|
}, 16));
|
|
20771
20771
|
}
|
|
20772
|
-
}), OI =
|
|
20772
|
+
}), OI = Ge({
|
|
20773
20773
|
component: PI
|
|
20774
|
-
}), NI =
|
|
20774
|
+
}), NI = Ge({
|
|
20775
20775
|
experimental: !0
|
|
20776
|
-
}), RI =
|
|
20776
|
+
}), RI = Ge({
|
|
20777
20777
|
experimental: !0
|
|
20778
|
-
}), MI =
|
|
20778
|
+
}), MI = Ge({
|
|
20779
20779
|
experimental: !0,
|
|
20780
20780
|
fieldRenderers: [
|
|
20781
20781
|
{
|
|
@@ -20795,7 +20795,7 @@ const TI = He({
|
|
|
20795
20795
|
}
|
|
20796
20796
|
}
|
|
20797
20797
|
]
|
|
20798
|
-
}), LI =
|
|
20798
|
+
}), LI = Ge({
|
|
20799
20799
|
experimental: !0,
|
|
20800
20800
|
fieldRenderers: [
|
|
20801
20801
|
{
|
|
@@ -20836,9 +20836,9 @@ const TI = He({
|
|
|
20836
20836
|
}
|
|
20837
20837
|
}
|
|
20838
20838
|
]
|
|
20839
|
-
}), FI =
|
|
20839
|
+
}), FI = Ge({
|
|
20840
20840
|
experimental: !0
|
|
20841
|
-
}), KI =
|
|
20841
|
+
}), KI = Ge({
|
|
20842
20842
|
experimental: !0,
|
|
20843
20843
|
renderRules: {
|
|
20844
20844
|
bundles: [
|
|
@@ -20848,7 +20848,7 @@ const TI = He({
|
|
|
20848
20848
|
"config.redis": ["config.strategy", "redis"]
|
|
20849
20849
|
}
|
|
20850
20850
|
}
|
|
20851
|
-
}), jI =
|
|
20851
|
+
}), jI = Ge({
|
|
20852
20852
|
experimental: !0,
|
|
20853
20853
|
fieldRenderers: [
|
|
20854
20854
|
{
|
|
@@ -20860,7 +20860,7 @@ const TI = He({
|
|
|
20860
20860
|
}
|
|
20861
20861
|
}
|
|
20862
20862
|
]
|
|
20863
|
-
}), DI =
|
|
20863
|
+
}), DI = Ge({
|
|
20864
20864
|
experimental: !0,
|
|
20865
20865
|
fieldRenderers: [
|
|
20866
20866
|
{
|
|
@@ -20908,15 +20908,15 @@ const TI = He({
|
|
|
20908
20908
|
"config.vectordb.redis.cloud_authentication.azure_client_secret": ["config.vectordb.redis.cloud_authentication.auth_provider", "azure"],
|
|
20909
20909
|
"config.vectordb.redis.cloud_authentication.azure_tenant_id": ["config.vectordb.redis.cloud_authentication.auth_provider", "azure"]
|
|
20910
20910
|
}
|
|
20911
|
-
}, qI =
|
|
20911
|
+
}, qI = Ge({
|
|
20912
20912
|
experimental: !0,
|
|
20913
20913
|
fieldRenderers: gm,
|
|
20914
20914
|
renderRules: hm
|
|
20915
|
-
}), BI =
|
|
20915
|
+
}), BI = Ge({
|
|
20916
20916
|
experimental: !0,
|
|
20917
20917
|
fieldRenderers: gm,
|
|
20918
20918
|
renderRules: hm
|
|
20919
|
-
}), UI =
|
|
20919
|
+
}), UI = Ge({
|
|
20920
20920
|
experimental: !0
|
|
20921
20921
|
}), VI = {
|
|
20922
20922
|
class: "kong-identity-field",
|
|
@@ -21376,7 +21376,7 @@ const TI = He({
|
|
|
21376
21376
|
_: 1
|
|
21377
21377
|
}, 16));
|
|
21378
21378
|
}
|
|
21379
|
-
}), oT =
|
|
21379
|
+
}), oT = Ge({
|
|
21380
21380
|
experimental: !0,
|
|
21381
21381
|
component: bm,
|
|
21382
21382
|
renderRules: {
|
|
@@ -21393,11 +21393,11 @@ const TI = He({
|
|
|
21393
21393
|
}
|
|
21394
21394
|
}
|
|
21395
21395
|
]
|
|
21396
|
-
}), aT =
|
|
21396
|
+
}), aT = Ge({
|
|
21397
21397
|
experimental: !0
|
|
21398
|
-
}), rT =
|
|
21398
|
+
}), rT = Ge({
|
|
21399
21399
|
experimental: !0
|
|
21400
|
-
}), sT =
|
|
21400
|
+
}), sT = Ge({
|
|
21401
21401
|
experimental: !0,
|
|
21402
21402
|
fieldRenderers: [
|
|
21403
21403
|
{
|
|
@@ -21409,7 +21409,7 @@ const TI = He({
|
|
|
21409
21409
|
}
|
|
21410
21410
|
}
|
|
21411
21411
|
]
|
|
21412
|
-
}), lT =
|
|
21412
|
+
}), lT = Ge({
|
|
21413
21413
|
experimental: !0,
|
|
21414
21414
|
fieldRenderers: [
|
|
21415
21415
|
{
|
|
@@ -21421,9 +21421,9 @@ const TI = He({
|
|
|
21421
21421
|
}
|
|
21422
21422
|
}
|
|
21423
21423
|
]
|
|
21424
|
-
}), uT =
|
|
21424
|
+
}), uT = Ge({
|
|
21425
21425
|
experimental: !0
|
|
21426
|
-
}), cT =
|
|
21426
|
+
}), cT = Ge({
|
|
21427
21427
|
experimental: !0,
|
|
21428
21428
|
fieldRenderers: [
|
|
21429
21429
|
{
|
|
@@ -21941,13 +21941,13 @@ const OT = { class: "label-content" }, NT = { class: "count" }, RT = { class: "l
|
|
|
21941
21941
|
setup(e) {
|
|
21942
21942
|
const { t } = Yt("en-us", on), n = me(!1), i = me(!1), { responsePanelCollapsed: o } = is(), { state: r, configNodeCounts: a, clearPendingLayout: l, setPendingFitView: s, commit: d, clear: f, portalSelection: c } = qt(), p = Sa(), m = `${p}-request`, h = `${p}-response`, y = bo(m), _ = bo(h);
|
|
21943
21943
|
function v(pe, he) {
|
|
21944
|
-
const { onPaneClick: Ke, onNodesChange: Be, onEdgesChange: je, getSelectedNodes:
|
|
21944
|
+
const { onPaneClick: Ke, onNodesChange: Be, onEdgesChange: je, getSelectedNodes: He, getSelectedEdges: Ye } = pe, { removeSelectedElements: rt } = he;
|
|
21945
21945
|
function ft(qe) {
|
|
21946
21946
|
if (!qe) {
|
|
21947
21947
|
rt();
|
|
21948
21948
|
return;
|
|
21949
21949
|
}
|
|
21950
|
-
qe.some((Ce) => Ce.type === "select") &&
|
|
21950
|
+
qe.some((Ce) => Ce.type === "select") && He.value.length + Ye.value.length > 0 && rt();
|
|
21951
21951
|
}
|
|
21952
21952
|
Be(ft), je(ft), Ke(() => ft());
|
|
21953
21953
|
}
|
|
@@ -22007,8 +22007,8 @@ const OT = { class: "label-content" }, NT = { class: "count" }, RT = { class: "l
|
|
|
22007
22007
|
[n, i, () => r.value.pendingLayout, () => r.value.pendingFitView],
|
|
22008
22008
|
([pe, he, Ke, Be]) => {
|
|
22009
22009
|
e.inactive || !pe || !he || !Ke && !Be || (Ke && l(), Be && s(!1), setTimeout(async () => {
|
|
22010
|
-
var je,
|
|
22011
|
-
Ke && (await ((je = k.value) == null ? void 0 : je.autoLayout(!1)), await ((
|
|
22010
|
+
var je, He;
|
|
22011
|
+
Ke && (await ((je = k.value) == null ? void 0 : je.autoLayout(!1)), await ((He = q.value) == null ? void 0 : He.autoLayout(!1)), d("*"), Ke === "clearHistory" && f()), Be && setTimeout(() => _e(), 0);
|
|
22012
22012
|
}, 0));
|
|
22013
22013
|
}
|
|
22014
22014
|
), (pe, he) => (S(), le("div", {
|
|
@@ -26691,9 +26691,9 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
26691
26691
|
}, 16, ["editor-mode"])
|
|
26692
26692
|
], 64));
|
|
26693
26693
|
}
|
|
26694
|
-
}), dN = /* @__PURE__ */ Ve(cN, [["__scopeId", "data-v-99d4e7f0"]]), pN =
|
|
26694
|
+
}), dN = /* @__PURE__ */ Ve(cN, [["__scopeId", "data-v-99d4e7f0"]]), pN = Ge({
|
|
26695
26695
|
component: dN
|
|
26696
|
-
}), fN =
|
|
26696
|
+
}), fN = Ge({
|
|
26697
26697
|
experimental: !0,
|
|
26698
26698
|
fieldRenderers: [
|
|
26699
26699
|
{
|
|
@@ -26706,7 +26706,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
26706
26706
|
})
|
|
26707
26707
|
}
|
|
26708
26708
|
]
|
|
26709
|
-
}), mN =
|
|
26709
|
+
}), mN = Ge({
|
|
26710
26710
|
experimental: !0,
|
|
26711
26711
|
fieldRenderers: [
|
|
26712
26712
|
{
|
|
@@ -26717,7 +26717,9 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
26717
26717
|
}
|
|
26718
26718
|
}
|
|
26719
26719
|
]
|
|
26720
|
-
}), gN =
|
|
26720
|
+
}), gN = Ge({
|
|
26721
|
+
experimental: !0
|
|
26722
|
+
}), hN = Ge({
|
|
26721
26723
|
experimental: !0,
|
|
26722
26724
|
renderRules: {
|
|
26723
26725
|
bundles: [
|
|
@@ -26727,7 +26729,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
26727
26729
|
"config.redis": ["config.strategy", "redis"]
|
|
26728
26730
|
}
|
|
26729
26731
|
}
|
|
26730
|
-
}),
|
|
26732
|
+
}), yN = Ge({
|
|
26731
26733
|
experimental: !0,
|
|
26732
26734
|
fieldRenderers: [
|
|
26733
26735
|
{
|
|
@@ -26736,7 +26738,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
26736
26738
|
propsOverrides: { multiple: !0 }
|
|
26737
26739
|
}
|
|
26738
26740
|
]
|
|
26739
|
-
}),
|
|
26741
|
+
}), vN = Ge({
|
|
26740
26742
|
experimental: !0,
|
|
26741
26743
|
fieldRenderers: [
|
|
26742
26744
|
{
|
|
@@ -26747,9 +26749,9 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
26747
26749
|
}
|
|
26748
26750
|
}
|
|
26749
26751
|
]
|
|
26750
|
-
}),
|
|
26752
|
+
}), _N = Ge({
|
|
26751
26753
|
experimental: !0
|
|
26752
|
-
}),
|
|
26754
|
+
}), bN = Ge({
|
|
26753
26755
|
experimental: !0
|
|
26754
26756
|
}), Hc = /* @__PURE__ */ Oe({
|
|
26755
26757
|
inheritAttrs: !1,
|
|
@@ -26793,7 +26795,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
26793
26795
|
name: e.name
|
|
26794
26796
|
}), null, 16, ["error", "error-message", "name"]));
|
|
26795
26797
|
}
|
|
26796
|
-
}),
|
|
26798
|
+
}), wN = /* @__PURE__ */ Oe({
|
|
26797
26799
|
__name: "JwtSignerForm",
|
|
26798
26800
|
props: {
|
|
26799
26801
|
schema: {},
|
|
@@ -26846,11 +26848,11 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
26846
26848
|
_: 1
|
|
26847
26849
|
}, 16));
|
|
26848
26850
|
}
|
|
26849
|
-
}),
|
|
26850
|
-
component:
|
|
26851
|
-
}),
|
|
26851
|
+
}), kN = Ge({
|
|
26852
|
+
component: wN
|
|
26853
|
+
}), CN = Ge({
|
|
26852
26854
|
experimental: !0
|
|
26853
|
-
}),
|
|
26855
|
+
}), EN = Ge({
|
|
26854
26856
|
experimental: !0,
|
|
26855
26857
|
fieldRenderers: [
|
|
26856
26858
|
{
|
|
@@ -26862,7 +26864,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
26862
26864
|
}
|
|
26863
26865
|
}
|
|
26864
26866
|
]
|
|
26865
|
-
}),
|
|
26867
|
+
}), xN = Ge({
|
|
26866
26868
|
experimental: !0,
|
|
26867
26869
|
fieldRenderers: [
|
|
26868
26870
|
{
|
|
@@ -26873,7 +26875,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
26873
26875
|
}
|
|
26874
26876
|
}
|
|
26875
26877
|
]
|
|
26876
|
-
}),
|
|
26878
|
+
}), SN = Ge({
|
|
26877
26879
|
experimental: !0,
|
|
26878
26880
|
fieldRenderers: [
|
|
26879
26881
|
{
|
|
@@ -26885,7 +26887,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
26885
26887
|
}
|
|
26886
26888
|
}
|
|
26887
26889
|
]
|
|
26888
|
-
}),
|
|
26890
|
+
}), AN = Ge({
|
|
26889
26891
|
experimental: !0,
|
|
26890
26892
|
component: bm,
|
|
26891
26893
|
fieldRenderers: [
|
|
@@ -26908,13 +26910,13 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
26908
26910
|
}
|
|
26909
26911
|
}
|
|
26910
26912
|
]
|
|
26911
|
-
}),
|
|
26913
|
+
}), IN = { class: "ff-collapsible-section" }, TN = { class: "ff-collapsible-section-header" }, $N = { class: "ff-collapsible-section-header-toggle" }, PN = {
|
|
26912
26914
|
key: 0,
|
|
26913
26915
|
class: "ff-collapsible-section-content"
|
|
26914
|
-
},
|
|
26916
|
+
}, ON = {
|
|
26915
26917
|
key: 0,
|
|
26916
26918
|
class: "ff-collapsible-section-indent-guide"
|
|
26917
|
-
},
|
|
26919
|
+
}, NN = /* @__PURE__ */ Oe({
|
|
26918
26920
|
__name: "CollapsibleSection",
|
|
26919
26921
|
props: /* @__PURE__ */ yi({
|
|
26920
26922
|
label: {}
|
|
@@ -26925,9 +26927,9 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
26925
26927
|
emits: ["update:expanded"],
|
|
26926
26928
|
setup(e) {
|
|
26927
26929
|
const t = hi(e, "expanded");
|
|
26928
|
-
return (n, i) => (S(), le("div",
|
|
26929
|
-
ee("header",
|
|
26930
|
-
ee("div",
|
|
26930
|
+
return (n, i) => (S(), le("div", IN, [
|
|
26931
|
+
ee("header", TN, [
|
|
26932
|
+
ee("div", $N, [
|
|
26931
26933
|
ee("button", {
|
|
26932
26934
|
class: "ff-collapsible-section-toggle-btn",
|
|
26933
26935
|
type: "button",
|
|
@@ -26949,16 +26951,16 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
26949
26951
|
]),
|
|
26950
26952
|
C(Gr, null, {
|
|
26951
26953
|
default: N(() => [
|
|
26952
|
-
t.value ? (S(), le("div",
|
|
26954
|
+
t.value ? (S(), le("div", PN, [
|
|
26953
26955
|
Qe(n.$slots, "default", {}, void 0, !0)
|
|
26954
26956
|
])) : ye("", !0)
|
|
26955
26957
|
]),
|
|
26956
26958
|
_: 3
|
|
26957
26959
|
}),
|
|
26958
|
-
t.value ? (S(), le("div",
|
|
26960
|
+
t.value ? (S(), le("div", ON)) : ye("", !0)
|
|
26959
26961
|
]));
|
|
26960
26962
|
}
|
|
26961
|
-
}), Es = /* @__PURE__ */ Ve(
|
|
26963
|
+
}), Es = /* @__PURE__ */ Ve(NN, [["__scopeId", "data-v-39f2a44b"]]), RN = { class: "ff-mb-subject" }, MN = { class: "ff-mb-attributes" }, LN = { class: "ff-metering-billing-inline-row" }, FN = { class: "ff-mb-queue" }, KN = /* @__PURE__ */ Oe({
|
|
26962
26964
|
__name: "MeteringAndBillingForm",
|
|
26963
26965
|
props: {
|
|
26964
26966
|
schema: {},
|
|
@@ -27147,7 +27149,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27147
27149
|
]),
|
|
27148
27150
|
_: 1
|
|
27149
27151
|
}, 8, ["expanded", "label"]),
|
|
27150
|
-
ee("div",
|
|
27152
|
+
ee("div", RN, [
|
|
27151
27153
|
C(zt, {
|
|
27152
27154
|
label: u(i)("plugins.free-form.metering-and-billing.sections.subject.title"),
|
|
27153
27155
|
name: "config.subject",
|
|
@@ -27165,7 +27167,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27165
27167
|
label: u(i)("plugins.free-form.metering-and-billing.fields.attributes.title")
|
|
27166
27168
|
}, {
|
|
27167
27169
|
default: N(() => [
|
|
27168
|
-
ee("div",
|
|
27170
|
+
ee("div", MN, [
|
|
27169
27171
|
C(Zt, {
|
|
27170
27172
|
"hide-label": "",
|
|
27171
27173
|
name: "config.attributes"
|
|
@@ -27186,7 +27188,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27186
27188
|
}, null, 8, ["help"]),
|
|
27187
27189
|
C(st, { name: "config.api_token" }),
|
|
27188
27190
|
C(st, { name: "config.ssl_verify" }),
|
|
27189
|
-
ee("div",
|
|
27191
|
+
ee("div", LN, [
|
|
27190
27192
|
C(st, { name: "config.timeout" }),
|
|
27191
27193
|
C(st, { name: "config.keepalive" })
|
|
27192
27194
|
])
|
|
@@ -27199,7 +27201,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27199
27201
|
"hide-general-fields": ""
|
|
27200
27202
|
}, {
|
|
27201
27203
|
default: N(() => [
|
|
27202
|
-
ee("div",
|
|
27204
|
+
ee("div", FN, [
|
|
27203
27205
|
C(u(gn), { class: "ff-mb-queue-label" }, {
|
|
27204
27206
|
default: N(() => [
|
|
27205
27207
|
Le(ue(u(i)("plugins.free-form.metering-and-billing.sections.queue.title")), 1)
|
|
@@ -27219,10 +27221,10 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27219
27221
|
_: 1
|
|
27220
27222
|
}, 16, ["plugin-config-description"]));
|
|
27221
27223
|
}
|
|
27222
|
-
}),
|
|
27224
|
+
}), jN = /* @__PURE__ */ Ve(KN, [["__scopeId", "data-v-78972733"]]), DN = Ge({
|
|
27223
27225
|
experimental: !0,
|
|
27224
|
-
component:
|
|
27225
|
-
}),
|
|
27226
|
+
component: jN
|
|
27227
|
+
}), qN = Ge({
|
|
27226
27228
|
experimental: !0,
|
|
27227
27229
|
fieldRenderers: [
|
|
27228
27230
|
{
|
|
@@ -27234,7 +27236,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27234
27236
|
}
|
|
27235
27237
|
}
|
|
27236
27238
|
]
|
|
27237
|
-
}),
|
|
27239
|
+
}), BN = Ge({
|
|
27238
27240
|
experimental: !0,
|
|
27239
27241
|
fieldRenderers: [
|
|
27240
27242
|
{
|
|
@@ -27243,7 +27245,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27243
27245
|
propsOverrides: { multiple: !0 }
|
|
27244
27246
|
}
|
|
27245
27247
|
]
|
|
27246
|
-
}),
|
|
27248
|
+
}), UN = Ge({
|
|
27247
27249
|
experimental: !0,
|
|
27248
27250
|
fieldRenderers: [
|
|
27249
27251
|
{
|
|
@@ -27255,9 +27257,9 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27255
27257
|
}
|
|
27256
27258
|
}
|
|
27257
27259
|
]
|
|
27258
|
-
}),
|
|
27260
|
+
}), VN = Ge({
|
|
27259
27261
|
experimental: !0
|
|
27260
|
-
}),
|
|
27262
|
+
}), zN = Ge({
|
|
27261
27263
|
experimental: !0,
|
|
27262
27264
|
fieldRenderers: [
|
|
27263
27265
|
{
|
|
@@ -27268,7 +27270,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27268
27270
|
}
|
|
27269
27271
|
}
|
|
27270
27272
|
]
|
|
27271
|
-
}),
|
|
27273
|
+
}), GN = Ge({
|
|
27272
27274
|
experimental: !0,
|
|
27273
27275
|
fieldRenderers: [
|
|
27274
27276
|
{
|
|
@@ -27292,7 +27294,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27292
27294
|
}
|
|
27293
27295
|
}
|
|
27294
27296
|
]
|
|
27295
|
-
}),
|
|
27297
|
+
}), HN = Ge({
|
|
27296
27298
|
experimental: !0,
|
|
27297
27299
|
fieldRenderers: [
|
|
27298
27300
|
{
|
|
@@ -27316,9 +27318,9 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27316
27318
|
}
|
|
27317
27319
|
}
|
|
27318
27320
|
]
|
|
27319
|
-
}),
|
|
27321
|
+
}), WN = Ge({
|
|
27320
27322
|
experimental: !0
|
|
27321
|
-
}),
|
|
27323
|
+
}), YN = Ge({
|
|
27322
27324
|
experimental: !0,
|
|
27323
27325
|
renderRules: {
|
|
27324
27326
|
bundles: [
|
|
@@ -27335,7 +27337,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27335
27337
|
propsOverrides: { multiple: !0 }
|
|
27336
27338
|
}
|
|
27337
27339
|
]
|
|
27338
|
-
}),
|
|
27340
|
+
}), JN = Ge({
|
|
27339
27341
|
experimental: !0,
|
|
27340
27342
|
fieldRenderers: [
|
|
27341
27343
|
{
|
|
@@ -27344,10 +27346,10 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27344
27346
|
propsOverrides: { multiple: !0 }
|
|
27345
27347
|
}
|
|
27346
27348
|
]
|
|
27347
|
-
}),
|
|
27349
|
+
}), XN = { class: "rla-form-request-limits-subtitle" }, ZN = { class: "rla-form-request-limits-content" }, QN = { class: "rla-form-window-type" }, eR = { class: "rla-form-request-limits-items" }, tR = { class: "rla-form-request-limits-row" }, nR = ["id"], iR = { class: "rla-form-request-limits-actions" }, oR = {
|
|
27348
27350
|
key: 0,
|
|
27349
27351
|
class: "rla-form-request-limits-examples"
|
|
27350
|
-
},
|
|
27352
|
+
}, aR = { class: "rla-form-request-limits-examples-badges" }, xs = "config.window_type", rR = /* @__PURE__ */ Oe({
|
|
27351
27353
|
__name: "RequestLimitsForm",
|
|
27352
27354
|
setup(e) {
|
|
27353
27355
|
var _;
|
|
@@ -27444,11 +27446,11 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27444
27446
|
]),
|
|
27445
27447
|
_: 1
|
|
27446
27448
|
}),
|
|
27447
|
-
ee("div",
|
|
27449
|
+
ee("div", XN, ue(u(t)("sp.request_limits.subtitle")), 1)
|
|
27448
27450
|
]),
|
|
27449
27451
|
default: N(() => [
|
|
27450
|
-
ee("div",
|
|
27451
|
-
ee("div",
|
|
27452
|
+
ee("div", ZN, [
|
|
27453
|
+
ee("div", QN, [
|
|
27452
27454
|
C(pu, {
|
|
27453
27455
|
items: c.value,
|
|
27454
27456
|
label: u(t)("sp.window_type.label"),
|
|
@@ -27456,7 +27458,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27456
27458
|
"onUpdate:modelValue": b[0] || (b[0] = (P) => p.value = void 0)
|
|
27457
27459
|
}, null, 8, ["items", "label"])
|
|
27458
27460
|
]),
|
|
27459
|
-
ee("div",
|
|
27461
|
+
ee("div", eR, [
|
|
27460
27462
|
(S(!0), le(ze, null, et(r.value, (P, q) => (S(), le("div", {
|
|
27461
27463
|
key: u(a)(P, q)
|
|
27462
27464
|
}, [
|
|
@@ -27468,7 +27470,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27468
27470
|
]),
|
|
27469
27471
|
_: 2
|
|
27470
27472
|
}, 1032, ["for"]),
|
|
27471
|
-
ee("div",
|
|
27473
|
+
ee("div", tR, [
|
|
27472
27474
|
ee("legend", {
|
|
27473
27475
|
id: `rla-form-request-limits-item-${q}-legend`,
|
|
27474
27476
|
class: "rla-form-request-limits-inputs"
|
|
@@ -27483,8 +27485,8 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27483
27485
|
placeholder: u(t)("sp.request_limits.time_interval")
|
|
27484
27486
|
}, null, 8, ["name", "placeholder"]),
|
|
27485
27487
|
ee("div", null, ue(u(t)("sp.request_limits.seconds")), 1)
|
|
27486
|
-
], 8,
|
|
27487
|
-
ee("div",
|
|
27488
|
+
], 8, nR),
|
|
27489
|
+
ee("div", iR, [
|
|
27488
27490
|
C(E, {
|
|
27489
27491
|
appearance: "tertiary",
|
|
27490
27492
|
disabled: r.value.length <= 1,
|
|
@@ -27508,9 +27510,9 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27508
27510
|
])
|
|
27509
27511
|
]))), 128))
|
|
27510
27512
|
]),
|
|
27511
|
-
h.value.length > 0 ? (S(), le("div",
|
|
27513
|
+
h.value.length > 0 ? (S(), le("div", oR, [
|
|
27512
27514
|
ee("div", null, ue(u(t)("sp.start_with_a_use_case")), 1),
|
|
27513
|
-
ee("div",
|
|
27515
|
+
ee("div", aR, [
|
|
27514
27516
|
(S(!0), le(ze, null, et(h.value, (P, q) => (S(), Z(w, {
|
|
27515
27517
|
key: `use-case-${q}`,
|
|
27516
27518
|
"max-width": "300"
|
|
@@ -27543,10 +27545,10 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27543
27545
|
});
|
|
27544
27546
|
};
|
|
27545
27547
|
}
|
|
27546
|
-
}),
|
|
27548
|
+
}), sR = /* @__PURE__ */ Ve(rR, [["__scopeId", "data-v-1fac872b"]]), lR = {
|
|
27547
27549
|
id: "rla-form-error-legend",
|
|
27548
27550
|
class: "rla-form-error-inputs"
|
|
27549
|
-
},
|
|
27551
|
+
}, uR = /* @__PURE__ */ Oe({
|
|
27550
27552
|
__name: "ErrorMessageForm",
|
|
27551
27553
|
setup(e) {
|
|
27552
27554
|
const { i18n: { t } } = it();
|
|
@@ -27567,7 +27569,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27567
27569
|
]),
|
|
27568
27570
|
_: 1
|
|
27569
27571
|
}, 8, ["info"]),
|
|
27570
|
-
ee("legend",
|
|
27572
|
+
ee("legend", lR, [
|
|
27571
27573
|
C(Wt, {
|
|
27572
27574
|
class: "input-error-code",
|
|
27573
27575
|
label: "",
|
|
@@ -27585,7 +27587,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27585
27587
|
]);
|
|
27586
27588
|
};
|
|
27587
27589
|
}
|
|
27588
|
-
}),
|
|
27590
|
+
}), cR = /* @__PURE__ */ Ve(uR, [["__scopeId", "data-v-7b36f1f7"]]), dR = /* @__PURE__ */ Oe({
|
|
27589
27591
|
__name: "RedisField",
|
|
27590
27592
|
setup(e) {
|
|
27591
27593
|
const { formData: t } = gt(), n = pt(Yn), i = pt(Bo), o = (i == null ? void 0 : i.isEditing) || !1, r = L(() => {
|
|
@@ -27608,7 +27610,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27608
27610
|
_: 1
|
|
27609
27611
|
}));
|
|
27610
27612
|
}
|
|
27611
|
-
}),
|
|
27613
|
+
}), pR = /* @__PURE__ */ Oe({
|
|
27612
27614
|
__name: "ConfigForm",
|
|
27613
27615
|
setup(e) {
|
|
27614
27616
|
const { getSchema: t } = gt();
|
|
@@ -27620,8 +27622,8 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27620
27622
|
}, {
|
|
27621
27623
|
default: N(() => [
|
|
27622
27624
|
C(st, { name: "identifier" }),
|
|
27623
|
-
C(
|
|
27624
|
-
C(
|
|
27625
|
+
C(sR),
|
|
27626
|
+
C(cR)
|
|
27625
27627
|
]),
|
|
27626
27628
|
_: 1
|
|
27627
27629
|
}),
|
|
@@ -27638,7 +27640,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27638
27640
|
C(st, { name: "config.sync_rate" }),
|
|
27639
27641
|
C(st, { name: "config.namespace" }),
|
|
27640
27642
|
C(st, { name: "config.strategy" }),
|
|
27641
|
-
C(
|
|
27643
|
+
C(dR),
|
|
27642
27644
|
C(st, { name: "config.dictionary_name" }),
|
|
27643
27645
|
C(st, { name: "config.lock_dictionary_name" }),
|
|
27644
27646
|
C(st, { name: "config.hide_client_headers" }),
|
|
@@ -27654,7 +27656,7 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27654
27656
|
})
|
|
27655
27657
|
], 64));
|
|
27656
27658
|
}
|
|
27657
|
-
}),
|
|
27659
|
+
}), fR = /* @__PURE__ */ Oe({
|
|
27658
27660
|
__name: "RateLimitingAdvancedForm",
|
|
27659
27661
|
props: {
|
|
27660
27662
|
schema: {},
|
|
@@ -27684,15 +27686,15 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27684
27686
|
}
|
|
27685
27687
|
return (o, r) => (S(), Z(li, We(t, { "on-form-change": i }), {
|
|
27686
27688
|
default: N(() => [
|
|
27687
|
-
C(
|
|
27689
|
+
C(pR)
|
|
27688
27690
|
]),
|
|
27689
27691
|
_: 1
|
|
27690
27692
|
}, 16));
|
|
27691
27693
|
}
|
|
27692
|
-
}),
|
|
27694
|
+
}), mR = Ge({
|
|
27693
27695
|
experimental: !0,
|
|
27694
|
-
component:
|
|
27695
|
-
}),
|
|
27696
|
+
component: fR
|
|
27697
|
+
}), gR = Ge({
|
|
27696
27698
|
experimental: !0,
|
|
27697
27699
|
renderRules: {
|
|
27698
27700
|
bundles: [
|
|
@@ -27702,13 +27704,13 @@ const LO = /* @__PURE__ */ Oe({
|
|
|
27702
27704
|
"config.redis": ["config.policy", "redis"]
|
|
27703
27705
|
}
|
|
27704
27706
|
}
|
|
27705
|
-
}),
|
|
27707
|
+
}), hR = Ge({
|
|
27706
27708
|
experimental: !0
|
|
27707
|
-
}),
|
|
27709
|
+
}), yR = "__request_callout_";
|
|
27708
27710
|
function Lm() {
|
|
27709
|
-
return jr(
|
|
27711
|
+
return jr(yR);
|
|
27710
27712
|
}
|
|
27711
|
-
const ua = "_callout_id",
|
|
27713
|
+
const ua = "_callout_id", vR = /* @__PURE__ */ Oe({
|
|
27712
27714
|
__name: "CalloutForm",
|
|
27713
27715
|
props: {
|
|
27714
27716
|
index: {},
|
|
@@ -27757,7 +27759,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
27757
27759
|
_: 1
|
|
27758
27760
|
}, 8, ["name"]));
|
|
27759
27761
|
}
|
|
27760
|
-
}),
|
|
27762
|
+
}), _R = /* @__PURE__ */ Oe({
|
|
27761
27763
|
__name: "CalloutsForm",
|
|
27762
27764
|
setup(e) {
|
|
27763
27765
|
const { formData: t } = gt();
|
|
@@ -27774,7 +27776,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
27774
27776
|
onAdd: n
|
|
27775
27777
|
}, {
|
|
27776
27778
|
item: N(({ index: r, fieldName: a }) => [
|
|
27777
|
-
C(
|
|
27779
|
+
C(vR, {
|
|
27778
27780
|
"field-name": a,
|
|
27779
27781
|
index: r
|
|
27780
27782
|
}, null, 8, ["field-name", "index"])
|
|
@@ -27782,7 +27784,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
27782
27784
|
_: 1
|
|
27783
27785
|
}, 8, ["item-label"]));
|
|
27784
27786
|
}
|
|
27785
|
-
}),
|
|
27787
|
+
}), bR = /* @__PURE__ */ Oe({
|
|
27786
27788
|
__name: "ConfigForm",
|
|
27787
27789
|
setup(e) {
|
|
27788
27790
|
return (t, n) => (S(), Z(zt, {
|
|
@@ -27791,7 +27793,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
27791
27793
|
"reset-label-path": "reset"
|
|
27792
27794
|
}, {
|
|
27793
27795
|
default: N(() => [
|
|
27794
|
-
C(
|
|
27796
|
+
C(_R),
|
|
27795
27797
|
C(zt, {
|
|
27796
27798
|
appearance: "card",
|
|
27797
27799
|
"fields-order": ["headers", "query", "body", "by_lua"],
|
|
@@ -27832,7 +27834,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
27832
27834
|
_: 1
|
|
27833
27835
|
}));
|
|
27834
27836
|
}
|
|
27835
|
-
}),
|
|
27837
|
+
}), wR = /* @__PURE__ */ Oe({
|
|
27836
27838
|
__name: "RequestCalloutForm",
|
|
27837
27839
|
props: {
|
|
27838
27840
|
schema: {},
|
|
@@ -27924,22 +27926,22 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
27924
27926
|
}, 8, ["match"])
|
|
27925
27927
|
]),
|
|
27926
27928
|
default: N(() => [
|
|
27927
|
-
C(
|
|
27929
|
+
C(bR)
|
|
27928
27930
|
]),
|
|
27929
27931
|
_: 1
|
|
27930
27932
|
}, 16));
|
|
27931
27933
|
}
|
|
27932
|
-
}),
|
|
27933
|
-
component:
|
|
27934
|
-
}),
|
|
27934
|
+
}), kR = /* @__PURE__ */ Ve(wR, [["__scopeId", "data-v-dc955662"]]), CR = Ge({
|
|
27935
|
+
component: kR
|
|
27936
|
+
}), ER = Ge({
|
|
27935
27937
|
experimental: !0
|
|
27936
|
-
}),
|
|
27938
|
+
}), xR = Ge({
|
|
27937
27939
|
experimental: !0
|
|
27938
|
-
}),
|
|
27940
|
+
}), SR = Ge({
|
|
27939
27941
|
experimental: !0
|
|
27940
|
-
}),
|
|
27942
|
+
}), AR = Ge({
|
|
27941
27943
|
experimental: !0
|
|
27942
|
-
}),
|
|
27944
|
+
}), IR = Ge({
|
|
27943
27945
|
experimental: !0,
|
|
27944
27946
|
fieldRenderers: [
|
|
27945
27947
|
{
|
|
@@ -27967,7 +27969,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
27967
27969
|
}
|
|
27968
27970
|
}
|
|
27969
27971
|
]
|
|
27970
|
-
}),
|
|
27972
|
+
}), TR = Ge({
|
|
27971
27973
|
experimental: !0,
|
|
27972
27974
|
renderRules: {
|
|
27973
27975
|
bundles: [
|
|
@@ -27977,7 +27979,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
27977
27979
|
"config.redis": ["config.policy", "redis"]
|
|
27978
27980
|
}
|
|
27979
27981
|
}
|
|
27980
|
-
}),
|
|
27982
|
+
}), $R = Ge({
|
|
27981
27983
|
experimental: !0,
|
|
27982
27984
|
fieldRenderers: [
|
|
27983
27985
|
{
|
|
@@ -27989,7 +27991,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
27989
27991
|
}
|
|
27990
27992
|
}
|
|
27991
27993
|
]
|
|
27992
|
-
}),
|
|
27994
|
+
}), PR = Ge({
|
|
27993
27995
|
experimental: !0,
|
|
27994
27996
|
fieldRenderers: [
|
|
27995
27997
|
{
|
|
@@ -28001,7 +28003,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28001
28003
|
}
|
|
28002
28004
|
}
|
|
28003
28005
|
]
|
|
28004
|
-
}),
|
|
28006
|
+
}), OR = Ge({
|
|
28005
28007
|
experimental: !0,
|
|
28006
28008
|
fieldRenderers: [
|
|
28007
28009
|
{
|
|
@@ -28013,12 +28015,12 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28013
28015
|
}
|
|
28014
28016
|
}
|
|
28015
28017
|
]
|
|
28016
|
-
}),
|
|
28018
|
+
}), NR = Ge({
|
|
28017
28019
|
experimental: !0
|
|
28018
|
-
}),
|
|
28020
|
+
}), RR = { class: "sp-form-request-limits-subtitle" }, MR = { class: "sp-form-request-limits-content" }, LR = { class: "sp-form-window-type" }, FR = { class: "sp-form-request-limits-items" }, KR = { class: "sp-form-request-limits-row" }, jR = ["id"], DR = { class: "sp-form-request-limits-actions" }, qR = {
|
|
28019
28021
|
key: 0,
|
|
28020
28022
|
class: "sp-form-request-limits-examples"
|
|
28021
|
-
},
|
|
28023
|
+
}, BR = { class: "sp-form-request-limits-examples-badges" }, Ss = "config.window_type", UR = /* @__PURE__ */ Oe({
|
|
28022
28024
|
__name: "RequestLimitsForm",
|
|
28023
28025
|
setup(e) {
|
|
28024
28026
|
var _;
|
|
@@ -28116,11 +28118,11 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28116
28118
|
]),
|
|
28117
28119
|
_: 1
|
|
28118
28120
|
}),
|
|
28119
|
-
ee("div",
|
|
28121
|
+
ee("div", RR, ue(u(t)("sp.request_limits.subtitle")), 1)
|
|
28120
28122
|
]),
|
|
28121
28123
|
default: N(() => [
|
|
28122
|
-
ee("div",
|
|
28123
|
-
ee("div",
|
|
28124
|
+
ee("div", MR, [
|
|
28125
|
+
ee("div", LR, [
|
|
28124
28126
|
C(pu, {
|
|
28125
28127
|
items: c.value,
|
|
28126
28128
|
label: u(t)("sp.window_type.label"),
|
|
@@ -28128,7 +28130,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28128
28130
|
"onUpdate:modelValue": b[0] || (b[0] = (P) => p.value = void 0)
|
|
28129
28131
|
}, null, 8, ["items", "label"])
|
|
28130
28132
|
]),
|
|
28131
|
-
ee("div",
|
|
28133
|
+
ee("div", FR, [
|
|
28132
28134
|
(S(!0), le(ze, null, et(r.value, (P, q) => (S(), le("div", {
|
|
28133
28135
|
key: u(a)(P, q)
|
|
28134
28136
|
}, [
|
|
@@ -28140,7 +28142,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28140
28142
|
]),
|
|
28141
28143
|
_: 2
|
|
28142
28144
|
}, 1032, ["for"]),
|
|
28143
|
-
ee("div",
|
|
28145
|
+
ee("div", KR, [
|
|
28144
28146
|
ee("legend", {
|
|
28145
28147
|
id: `sp-form-request-limits-item-${q}-legend`,
|
|
28146
28148
|
class: "sp-form-request-limits-inputs"
|
|
@@ -28155,8 +28157,8 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28155
28157
|
placeholder: u(t)("sp.request_limits.time_interval")
|
|
28156
28158
|
}, null, 8, ["name", "placeholder"]),
|
|
28157
28159
|
ee("div", null, ue(u(t)("sp.request_limits.seconds")), 1)
|
|
28158
|
-
], 8,
|
|
28159
|
-
ee("div",
|
|
28160
|
+
], 8, jR),
|
|
28161
|
+
ee("div", DR, [
|
|
28160
28162
|
C(E, {
|
|
28161
28163
|
appearance: "tertiary",
|
|
28162
28164
|
disabled: r.value.length <= 1,
|
|
@@ -28180,9 +28182,9 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28180
28182
|
])
|
|
28181
28183
|
]))), 128))
|
|
28182
28184
|
]),
|
|
28183
|
-
h.value.length > 0 ? (S(), le("div",
|
|
28185
|
+
h.value.length > 0 ? (S(), le("div", qR, [
|
|
28184
28186
|
ee("div", null, ue(u(t)("sp.start_with_a_use_case")), 1),
|
|
28185
|
-
ee("div",
|
|
28187
|
+
ee("div", BR, [
|
|
28186
28188
|
(S(!0), le(ze, null, et(h.value, (P, q) => (S(), Z(w, {
|
|
28187
28189
|
key: `use-case-${q}`,
|
|
28188
28190
|
"max-width": "300"
|
|
@@ -28215,10 +28217,10 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28215
28217
|
});
|
|
28216
28218
|
};
|
|
28217
28219
|
}
|
|
28218
|
-
}),
|
|
28220
|
+
}), VR = /* @__PURE__ */ Ve(UR, [["__scopeId", "data-v-e12d9c9f"]]), zR = {
|
|
28219
28221
|
id: "sp-form-error-legend",
|
|
28220
28222
|
class: "sp-form-error-inputs"
|
|
28221
|
-
},
|
|
28223
|
+
}, GR = /* @__PURE__ */ Oe({
|
|
28222
28224
|
__name: "ErrorMessageForm",
|
|
28223
28225
|
setup(e) {
|
|
28224
28226
|
const { t } = Yt("en-us", on);
|
|
@@ -28239,7 +28241,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28239
28241
|
]),
|
|
28240
28242
|
_: 1
|
|
28241
28243
|
}, 8, ["info"]),
|
|
28242
|
-
ee("legend",
|
|
28244
|
+
ee("legend", zR, [
|
|
28243
28245
|
C(Wt, {
|
|
28244
28246
|
class: "input-error-code",
|
|
28245
28247
|
label: "",
|
|
@@ -28257,7 +28259,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28257
28259
|
]);
|
|
28258
28260
|
};
|
|
28259
28261
|
}
|
|
28260
|
-
}),
|
|
28262
|
+
}), HR = /* @__PURE__ */ Ve(GR, [["__scopeId", "data-v-0796e152"]]), WR = /* @__PURE__ */ Oe({
|
|
28261
28263
|
__name: "RedisField",
|
|
28262
28264
|
setup(e) {
|
|
28263
28265
|
const { formData: t } = gt(), n = pt(Yn), i = pt(Bo), o = (i == null ? void 0 : i.isEditing) || !1, r = L(() => {
|
|
@@ -28280,7 +28282,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28280
28282
|
_: 1
|
|
28281
28283
|
}));
|
|
28282
28284
|
}
|
|
28283
|
-
}),
|
|
28285
|
+
}), YR = /* @__PURE__ */ Oe({
|
|
28284
28286
|
__name: "ConfigForm",
|
|
28285
28287
|
setup(e) {
|
|
28286
28288
|
return (t, n) => (S(), le(ze, null, [
|
|
@@ -28290,8 +28292,8 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28290
28292
|
"reset-label-path": "reset"
|
|
28291
28293
|
}, {
|
|
28292
28294
|
default: N(() => [
|
|
28293
|
-
C(
|
|
28294
|
-
C(
|
|
28295
|
+
C(VR),
|
|
28296
|
+
C(HR)
|
|
28295
28297
|
]),
|
|
28296
28298
|
_: 1
|
|
28297
28299
|
}),
|
|
@@ -28300,7 +28302,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28300
28302
|
C(st, { name: "config.dictionary_name" }),
|
|
28301
28303
|
C(st, { name: "config.lock_dictionary_name" }),
|
|
28302
28304
|
C(st, { name: "config.strategy" }),
|
|
28303
|
-
C(
|
|
28305
|
+
C(WR),
|
|
28304
28306
|
C(st, { name: "config.namespace" }),
|
|
28305
28307
|
C(st, { name: "config.hide_client_headers" }),
|
|
28306
28308
|
C(st, { name: "config.disable_penalty" }),
|
|
@@ -28311,7 +28313,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28311
28313
|
})
|
|
28312
28314
|
], 64));
|
|
28313
28315
|
}
|
|
28314
|
-
}),
|
|
28316
|
+
}), JR = /* @__PURE__ */ Oe({
|
|
28315
28317
|
__name: "ServiceProtectionForm",
|
|
28316
28318
|
props: {
|
|
28317
28319
|
schema: {},
|
|
@@ -28341,17 +28343,17 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28341
28343
|
}
|
|
28342
28344
|
return (o, r) => (S(), Z(li, We(t, { "on-form-change": i }), {
|
|
28343
28345
|
default: N(() => [
|
|
28344
|
-
C(
|
|
28346
|
+
C(YR)
|
|
28345
28347
|
]),
|
|
28346
28348
|
_: 1
|
|
28347
28349
|
}, 16));
|
|
28348
28350
|
}
|
|
28349
|
-
}),
|
|
28351
|
+
}), XR = Ge({
|
|
28350
28352
|
experimental: !0,
|
|
28351
|
-
component:
|
|
28352
|
-
}),
|
|
28353
|
+
component: JR
|
|
28354
|
+
}), ZR = Ge({
|
|
28353
28355
|
experimental: !0
|
|
28354
|
-
}),
|
|
28356
|
+
}), QR = Ge({
|
|
28355
28357
|
experimental: !0,
|
|
28356
28358
|
fieldRenderers: [
|
|
28357
28359
|
{
|
|
@@ -28363,7 +28365,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28363
28365
|
}
|
|
28364
28366
|
}
|
|
28365
28367
|
]
|
|
28366
|
-
}),
|
|
28368
|
+
}), e2 = Ge({
|
|
28367
28369
|
experimental: !0,
|
|
28368
28370
|
fieldRenderers: [
|
|
28369
28371
|
{
|
|
@@ -28374,7 +28376,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28374
28376
|
}
|
|
28375
28377
|
}
|
|
28376
28378
|
]
|
|
28377
|
-
}),
|
|
28379
|
+
}), t2 = Ge({
|
|
28378
28380
|
experimental: !0,
|
|
28379
28381
|
fieldRenderers: [
|
|
28380
28382
|
{
|
|
@@ -28386,7 +28388,7 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28386
28388
|
}
|
|
28387
28389
|
}
|
|
28388
28390
|
]
|
|
28389
|
-
}),
|
|
28391
|
+
}), n2 = Ge({
|
|
28390
28392
|
experimental: !0,
|
|
28391
28393
|
renderRules: {
|
|
28392
28394
|
bundles: [
|
|
@@ -28406,7 +28408,25 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28406
28408
|
}
|
|
28407
28409
|
}
|
|
28408
28410
|
]
|
|
28409
|
-
}),
|
|
28411
|
+
}), i2 = Ge({
|
|
28412
|
+
experimental: !0
|
|
28413
|
+
}), o2 = Ge({
|
|
28414
|
+
experimental: !0
|
|
28415
|
+
}), a2 = Ge({
|
|
28416
|
+
experimental: !0,
|
|
28417
|
+
fieldRenderers: [
|
|
28418
|
+
{
|
|
28419
|
+
match: ({ path: e }) => /^config\.(client|upstream)\.(text|binary)\.schema$/.test(e),
|
|
28420
|
+
component: Ze,
|
|
28421
|
+
propsOverrides: {
|
|
28422
|
+
multiline: !0,
|
|
28423
|
+
rows: 4
|
|
28424
|
+
}
|
|
28425
|
+
}
|
|
28426
|
+
]
|
|
28427
|
+
}), r2 = Ge({
|
|
28428
|
+
experimental: !0
|
|
28429
|
+
}), s2 = /* @__PURE__ */ Object.assign({
|
|
28410
28430
|
"../plugins/acl/index.ts": TI,
|
|
28411
28431
|
"../plugins/ai-custom-guardrail.ts": $I,
|
|
28412
28432
|
"../plugins/ai-mcp-proxy/index.ts": OI,
|
|
@@ -28431,60 +28451,65 @@ const ua = "_callout_id", yR = /* @__PURE__ */ Oe({
|
|
|
28431
28451
|
"../plugins/datakit/index.ts": pN,
|
|
28432
28452
|
"../plugins/exit-transformer.ts": fN,
|
|
28433
28453
|
"../plugins/file-log.ts": mN,
|
|
28434
|
-
"../plugins/
|
|
28435
|
-
"../plugins/
|
|
28436
|
-
"../plugins/
|
|
28437
|
-
"../plugins/
|
|
28438
|
-
"../plugins/
|
|
28439
|
-
"../plugins/
|
|
28440
|
-
"../plugins/jwt.ts": kN,
|
|
28441
|
-
"../plugins/
|
|
28442
|
-
"../plugins/kafka-
|
|
28443
|
-
"../plugins/kafka-
|
|
28444
|
-
"../plugins/
|
|
28445
|
-
"../plugins/
|
|
28446
|
-
"../plugins/
|
|
28447
|
-
"../plugins/
|
|
28448
|
-
"../plugins/
|
|
28449
|
-
"../plugins/
|
|
28450
|
-
"../plugins/
|
|
28451
|
-
"../plugins/
|
|
28452
|
-
"../plugins/
|
|
28453
|
-
"../plugins/
|
|
28454
|
-
"../plugins/
|
|
28455
|
-
"../plugins/proxy-cache.ts": YN,
|
|
28456
|
-
"../plugins/
|
|
28457
|
-
"../plugins/rate-limiting.ts": mR,
|
|
28458
|
-
"../plugins/
|
|
28459
|
-
"../plugins/
|
|
28460
|
-
"../plugins/request-
|
|
28461
|
-
"../plugins/request-
|
|
28462
|
-
"../plugins/request-
|
|
28463
|
-
"../plugins/request-transformer.ts": SR,
|
|
28464
|
-
"../plugins/request-
|
|
28465
|
-
"../plugins/
|
|
28466
|
-
"../plugins/response-
|
|
28467
|
-
"../plugins/response-transformer.ts": $R,
|
|
28468
|
-
"../plugins/
|
|
28469
|
-
"../plugins/route-
|
|
28470
|
-
"../plugins/
|
|
28471
|
-
"../plugins/
|
|
28472
|
-
"../plugins/
|
|
28473
|
-
"../plugins/solace-
|
|
28474
|
-
"../plugins/solace-
|
|
28475
|
-
"../plugins/upstream
|
|
28454
|
+
"../plugins/forward-proxy.ts": gN,
|
|
28455
|
+
"../plugins/graphql-rate-limiting-advanced.ts": hN,
|
|
28456
|
+
"../plugins/header-cert-auth.ts": yN,
|
|
28457
|
+
"../plugins/http-log.ts": vN,
|
|
28458
|
+
"../plugins/ip-restriction.ts": _N,
|
|
28459
|
+
"../plugins/jwe-decrypt.ts": bN,
|
|
28460
|
+
"../plugins/jwt-signer/index.ts": kN,
|
|
28461
|
+
"../plugins/jwt.ts": CN,
|
|
28462
|
+
"../plugins/kafka-consume.ts": EN,
|
|
28463
|
+
"../plugins/kafka-log.ts": xN,
|
|
28464
|
+
"../plugins/kafka-upstream.ts": SN,
|
|
28465
|
+
"../plugins/key-auth/index.ts": AN,
|
|
28466
|
+
"../plugins/metering-and-billing/index.ts": DN,
|
|
28467
|
+
"../plugins/mocking.ts": qN,
|
|
28468
|
+
"../plugins/mtls-auth.ts": BN,
|
|
28469
|
+
"../plugins/oas-validation.ts": UN,
|
|
28470
|
+
"../plugins/oauth2.ts": VN,
|
|
28471
|
+
"../plugins/opentelemetry.ts": zN,
|
|
28472
|
+
"../plugins/post-function.ts": GN,
|
|
28473
|
+
"../plugins/pre-function.ts": HN,
|
|
28474
|
+
"../plugins/prometheus.ts": WN,
|
|
28475
|
+
"../plugins/proxy-cache-advanced.ts": YN,
|
|
28476
|
+
"../plugins/proxy-cache.ts": JN,
|
|
28477
|
+
"../plugins/rate-limiting-advanced/index.ts": mR,
|
|
28478
|
+
"../plugins/rate-limiting.ts": gR,
|
|
28479
|
+
"../plugins/redirect.ts": hR,
|
|
28480
|
+
"../plugins/request-callout/index.ts": CR,
|
|
28481
|
+
"../plugins/request-size-limiting.ts": ER,
|
|
28482
|
+
"../plugins/request-termination.ts": xR,
|
|
28483
|
+
"../plugins/request-transformer-advanced.ts": SR,
|
|
28484
|
+
"../plugins/request-transformer.ts": AR,
|
|
28485
|
+
"../plugins/request-validator.ts": IR,
|
|
28486
|
+
"../plugins/response-ratelimiting.ts": TR,
|
|
28487
|
+
"../plugins/response-transformer-advanced.ts": $R,
|
|
28488
|
+
"../plugins/response-transformer.ts": PR,
|
|
28489
|
+
"../plugins/route-by-header.ts": OR,
|
|
28490
|
+
"../plugins/route-transformer-advanced.ts": NR,
|
|
28491
|
+
"../plugins/service-protection/index.ts": XR,
|
|
28492
|
+
"../plugins/session.ts": ZR,
|
|
28493
|
+
"../plugins/solace-consume.ts": QR,
|
|
28494
|
+
"../plugins/solace-log.ts": e2,
|
|
28495
|
+
"../plugins/solace-upstream.ts": t2,
|
|
28496
|
+
"../plugins/upstream-oauth.ts": n2,
|
|
28497
|
+
"../plugins/upstream-timeout.ts": i2,
|
|
28498
|
+
"../plugins/websocket-size-limit.ts": o2,
|
|
28499
|
+
"../plugins/websocket-validator.ts": a2,
|
|
28500
|
+
"../plugins/xml-threat-protection.ts": r2
|
|
28476
28501
|
});
|
|
28477
|
-
function
|
|
28502
|
+
function l2(e) {
|
|
28478
28503
|
const t = e.match(/\.\.\/plugins\/(.+?)(?:\/index)?\.ts$/);
|
|
28479
28504
|
if (!t)
|
|
28480
28505
|
throw new Error(`Unable to derive plugin name from path: ${e}`);
|
|
28481
28506
|
const [, n] = t;
|
|
28482
28507
|
return n;
|
|
28483
28508
|
}
|
|
28484
|
-
function
|
|
28509
|
+
function u2(e) {
|
|
28485
28510
|
const t = {}, n = /* @__PURE__ */ new Map();
|
|
28486
28511
|
for (const [i, o] of Object.entries(e)) {
|
|
28487
|
-
const r =
|
|
28512
|
+
const r = l2(i);
|
|
28488
28513
|
if (n.has(r))
|
|
28489
28514
|
throw new Error(`Duplicate plugin config for "${r}": ${n.get(r)} and ${i}`);
|
|
28490
28515
|
n.set(r, i), t[r] = {
|
|
@@ -28496,7 +28521,7 @@ function o2(e) {
|
|
|
28496
28521
|
}
|
|
28497
28522
|
return t;
|
|
28498
28523
|
}
|
|
28499
|
-
const Fm =
|
|
28524
|
+
const Fm = u2(s2);
|
|
28500
28525
|
function Km(e) {
|
|
28501
28526
|
return Fm[e];
|
|
28502
28527
|
}
|
|
@@ -28508,22 +28533,22 @@ function jm(e, t) {
|
|
|
28508
28533
|
function Dm(e, t, n) {
|
|
28509
28534
|
return n === "freeform" ? !0 : n === "vfg" ? !1 : !!jm(e, t);
|
|
28510
28535
|
}
|
|
28511
|
-
function
|
|
28536
|
+
function c2() {
|
|
28512
28537
|
return Object.entries(Fm).filter(([, e]) => e.experimental).map(([e]) => e).sort((e, t) => e.localeCompare(t));
|
|
28513
28538
|
}
|
|
28514
28539
|
function mu() {
|
|
28515
28540
|
return pt($p, []);
|
|
28516
28541
|
}
|
|
28517
|
-
function
|
|
28518
|
-
const t = new Set(
|
|
28542
|
+
function d2(e) {
|
|
28543
|
+
const t = new Set(c2()), n = e.filter((o) => t.has(o)), i = e.filter((o) => !t.has(o));
|
|
28519
28544
|
return i.length > 0 && console.warn(
|
|
28520
28545
|
`[entities-plugins] Ignoring unknown experimental free-form plugins: ${i.join(", ")}`
|
|
28521
28546
|
), n;
|
|
28522
28547
|
}
|
|
28523
|
-
function
|
|
28524
|
-
Lt($p,
|
|
28548
|
+
function p2(e) {
|
|
28549
|
+
Lt($p, d2(e));
|
|
28525
28550
|
}
|
|
28526
|
-
function
|
|
28551
|
+
function f2() {
|
|
28527
28552
|
const e = mu();
|
|
28528
28553
|
return {
|
|
28529
28554
|
shouldUseFreeForm: (t, n) => Dm(t, e, n),
|
|
@@ -28605,11 +28630,11 @@ const Bm = (e) => {
|
|
|
28605
28630
|
e.protected_resource_metadata = null;
|
|
28606
28631
|
return;
|
|
28607
28632
|
}
|
|
28608
|
-
},
|
|
28633
|
+
}, m2 = {
|
|
28609
28634
|
shamefullyTransformPayload(e) {
|
|
28610
28635
|
return qm(e.payload.config), Bm(e.payload.config), Um(e.payload.config), e;
|
|
28611
28636
|
}
|
|
28612
|
-
},
|
|
28637
|
+
}, g2 = {
|
|
28613
28638
|
shamefullyTransformPayload(e) {
|
|
28614
28639
|
var t, n, i, o, r;
|
|
28615
28640
|
if (!((n = (t = e.payload.config) == null ? void 0 : t.access_logs) != null && n.custom_attributes_by_lua))
|
|
@@ -28620,7 +28645,7 @@ const Bm = (e) => {
|
|
|
28620
28645
|
}
|
|
28621
28646
|
return e;
|
|
28622
28647
|
}
|
|
28623
|
-
},
|
|
28648
|
+
}, h2 = {
|
|
28624
28649
|
shamefullyTransformPayload(e) {
|
|
28625
28650
|
var n, i;
|
|
28626
28651
|
const t = (i = (n = e.payload.config) == null ? void 0 : n.v2_strategies) == null ? void 0 : i.openid_connect;
|
|
@@ -28628,7 +28653,7 @@ const Bm = (e) => {
|
|
|
28628
28653
|
qm(o.config), Bm(o.config), Um(o.config);
|
|
28629
28654
|
}), e;
|
|
28630
28655
|
}
|
|
28631
|
-
},
|
|
28656
|
+
}, y2 = {
|
|
28632
28657
|
shamefullyTransformPayload(e) {
|
|
28633
28658
|
var n;
|
|
28634
28659
|
return !e.payload.config || !((n = e.payload.config) != null && n.token_exchange) || [
|
|
@@ -28653,10 +28678,10 @@ const Bm = (e) => {
|
|
|
28653
28678
|
return tn((o = e.payload.config) == null ? void 0 : o.token_exchange, i);
|
|
28654
28679
|
}) && (e.payload.config.token_exchange = null), e;
|
|
28655
28680
|
}
|
|
28656
|
-
},
|
|
28681
|
+
}, v2 = (e, t) => {
|
|
28657
28682
|
const n = e.model.startsWith("config-"), i = t.model.startsWith("config-");
|
|
28658
28683
|
return n && !i ? 1 : !n && i ? -1 : 0;
|
|
28659
|
-
}, Vm = (e, t) => (e.order ?? 0) - (t.order ?? 0), Wc = (e, t) =>
|
|
28684
|
+
}, Vm = (e, t) => (e.order ?? 0) - (t.order ?? 0), Wc = (e, t) => v2(e, t) || Vm(e, t) || e.model.localeCompare(t.model), _2 = (e) => {
|
|
28660
28685
|
const { capitalize: t } = fl(), { convertToDotNotation: n } = Hp(), { i18n: { t: i } } = it(), o = mu(), r = {
|
|
28661
28686
|
"application-registration": {
|
|
28662
28687
|
overwriteDefault: !0,
|
|
@@ -28777,16 +28802,16 @@ const Bm = (e) => {
|
|
|
28777
28802
|
...FE
|
|
28778
28803
|
},
|
|
28779
28804
|
"openid-connect": {
|
|
28780
|
-
...
|
|
28805
|
+
...m2
|
|
28781
28806
|
},
|
|
28782
28807
|
opentelemetry: {
|
|
28783
|
-
...
|
|
28808
|
+
...g2
|
|
28784
28809
|
},
|
|
28785
28810
|
"konnect-application-auth": {
|
|
28786
|
-
...
|
|
28811
|
+
...h2
|
|
28787
28812
|
},
|
|
28788
28813
|
"ai-mcp-oauth2": {
|
|
28789
|
-
...
|
|
28814
|
+
...y2
|
|
28790
28815
|
}
|
|
28791
28816
|
}, a = () => ["created_at", "updated_at", "id", "_isCustomPlugin", "_sourcePlugin", "_supported_redis_partial_type", "_redis_partial_path"], l = (w, T, P, q) => {
|
|
28792
28817
|
let A = {};
|
|
@@ -29011,20 +29036,20 @@ const Bm = (e) => {
|
|
|
29011
29036
|
typedefs: Co,
|
|
29012
29037
|
pruneRecord: k
|
|
29013
29038
|
};
|
|
29014
|
-
}, tr = Symbol("customPluginType"),
|
|
29039
|
+
}, tr = Symbol("customPluginType"), b2 = 1e3, w2 = 20, Yc = 5e3, Jc = (e, t = b2) => {
|
|
29015
29040
|
const n = /^[a-z][a-z\d+.-]*:/i.test(e), i = new URL(e, "http://localhost");
|
|
29016
29041
|
return i.searchParams.has("size") || i.searchParams.set("size", `${t}`), n ? i.toString() : `${i.pathname}${i.search}${i.hash}`;
|
|
29017
29042
|
}, Ir = async (e, t, n) => {
|
|
29018
29043
|
const i = [];
|
|
29019
29044
|
let o = Jc(t), r = null, a = 0;
|
|
29020
|
-
for (; o && a <
|
|
29045
|
+
for (; o && a < w2 && i.length < Yc && o !== r; ) {
|
|
29021
29046
|
r = o;
|
|
29022
29047
|
const s = (await e.get(o, { signal: n })).data;
|
|
29023
29048
|
Array.isArray(s == null ? void 0 : s.data) && i.push(...s.data), o = s != null && s.next ? Jc(s.next) : null, a += 1;
|
|
29024
29049
|
}
|
|
29025
29050
|
return i.slice(0, Yc);
|
|
29026
29051
|
};
|
|
29027
|
-
function
|
|
29052
|
+
function k2(e) {
|
|
29028
29053
|
const { axiosInstance: t, apiBaseUrl: n } = e, i = () => {
|
|
29029
29054
|
if (e.app !== "konnect")
|
|
29030
29055
|
throw new Error("Installed custom plugin APIs are only available for Konnect");
|
|
@@ -29113,25 +29138,25 @@ const lt = {
|
|
|
29113
29138
|
useI18n: it,
|
|
29114
29139
|
usePluginMetaData: Yp,
|
|
29115
29140
|
usePluginHelpers: Hp,
|
|
29116
|
-
useSchemas:
|
|
29141
|
+
useSchemas: _2,
|
|
29117
29142
|
useExperimentalFreeForms: mu,
|
|
29118
|
-
useProvideExperimentalFreeForms:
|
|
29119
|
-
useFreeFormResolver:
|
|
29120
|
-
useCustomPluginApi:
|
|
29143
|
+
useProvideExperimentalFreeForms: p2,
|
|
29144
|
+
useFreeFormResolver: f2,
|
|
29145
|
+
useCustomPluginApi: k2
|
|
29121
29146
|
}, zm = (e) => {
|
|
29122
29147
|
var n, i, o, r;
|
|
29123
29148
|
const t = e == null ? void 0 : e.response;
|
|
29124
29149
|
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");
|
|
29125
|
-
},
|
|
29150
|
+
}, C2 = { class: "kong-ui-entities-custom-plugin-form" }, E2 = { class: "plugin-type-radios" }, x2 = { class: "compare-table-wrapper" }, S2 = { class: "compare-table" }, A2 = {
|
|
29126
29151
|
key: 0,
|
|
29127
29152
|
scope: "col"
|
|
29128
|
-
},
|
|
29153
|
+
}, I2 = {
|
|
29129
29154
|
key: 1,
|
|
29130
29155
|
scope: "col"
|
|
29131
|
-
},
|
|
29156
|
+
}, T2 = {
|
|
29132
29157
|
key: 2,
|
|
29133
29158
|
scope: "col"
|
|
29134
|
-
},
|
|
29159
|
+
}, $2 = { scope: "row" }, P2 = { key: 0 }, O2 = { key: 1 }, N2 = { key: 2 }, R2 = { scope: "row" }, M2 = { key: 0 }, L2 = { class: "compare-list" }, F2 = { key: 1 }, K2 = { class: "compare-list" }, j2 = { key: 2 }, D2 = { scope: "row" }, q2 = { key: 0 }, B2 = { key: 1 }, U2 = { key: 2 }, V2 = { scope: "row" }, z2 = { key: 0 }, G2 = { key: 1 }, H2 = { key: 2 }, W2 = { scope: "row" }, Y2 = { key: 0 }, J2 = { key: 1 }, X2 = { key: 2 }, Z2 = { class: "plugin-modules-section" }, Q2 = { class: "plugin-select-item" }, eM = { class: "plugin-select-item" }, tM = { key: 1 }, nM = 1 * 1024 * 1024, iM = /* @__PURE__ */ Oe({
|
|
29135
29160
|
__name: "CustomPluginForm",
|
|
29136
29161
|
props: {
|
|
29137
29162
|
config: {
|
|
@@ -29263,7 +29288,7 @@ const lt = {
|
|
|
29263
29288
|
if (pe.length === 0) return [];
|
|
29264
29289
|
const he = {};
|
|
29265
29290
|
pe.forEach((je) => {
|
|
29266
|
-
const
|
|
29291
|
+
const He = Tn[je], Ye = He == null ? void 0 : He.group;
|
|
29267
29292
|
Ye ? (he[Ye] || (he[Ye] = []), he[Ye].push({
|
|
29268
29293
|
label: z(je),
|
|
29269
29294
|
value: je
|
|
@@ -29293,13 +29318,13 @@ const lt = {
|
|
|
29293
29318
|
const Be = new FileReader();
|
|
29294
29319
|
Be.onload = (je) => {
|
|
29295
29320
|
var Ye;
|
|
29296
|
-
const
|
|
29297
|
-
typeof
|
|
29321
|
+
const He = (Ye = je.target) == null ? void 0 : Ye.result;
|
|
29322
|
+
typeof He == "string" ? he(He) : Ke(new Error("Failed to read file as text"));
|
|
29298
29323
|
}, Be.onerror = Ke, Be.readAsText(pe);
|
|
29299
29324
|
}), D = async (pe, he) => {
|
|
29300
29325
|
const Ke = he[0];
|
|
29301
29326
|
if (Ke) {
|
|
29302
|
-
if (Ke.size >
|
|
29327
|
+
if (Ke.size > nM) {
|
|
29303
29328
|
M.errorMessage = a("custom_plugin_form.errors.file_too_large");
|
|
29304
29329
|
return;
|
|
29305
29330
|
}
|
|
@@ -29383,8 +29408,8 @@ const lt = {
|
|
|
29383
29408
|
}
|
|
29384
29409
|
};
|
|
29385
29410
|
return (pe, he) => {
|
|
29386
|
-
const Ke = xe("KSkeleton"), Be = xe("KEmptyState"), je = xe("KRadio"),
|
|
29387
|
-
return S(), le("div",
|
|
29411
|
+
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");
|
|
29412
|
+
return S(), le("div", C2, [
|
|
29388
29413
|
C(u(md), {
|
|
29389
29414
|
ref_key: "entityBaseFormRef",
|
|
29390
29415
|
ref: x,
|
|
@@ -29401,7 +29426,7 @@ const lt = {
|
|
|
29401
29426
|
onSubmit: we
|
|
29402
29427
|
}, {
|
|
29403
29428
|
"form-actions": N(() => [
|
|
29404
|
-
A.value || I.value || j.value ? (S(), le("span",
|
|
29429
|
+
A.value || I.value || j.value ? (S(), le("span", tM)) : (S(), le(ze, { key: 0 }, [
|
|
29405
29430
|
C(se, {
|
|
29406
29431
|
appearance: "primary",
|
|
29407
29432
|
"data-testid": "custom-plugin-form-submit",
|
|
@@ -29471,7 +29496,7 @@ const lt = {
|
|
|
29471
29496
|
title: u(a)("custom_plugin_form.step1.title")
|
|
29472
29497
|
}, {
|
|
29473
29498
|
default: N(() => [
|
|
29474
|
-
ee("div",
|
|
29499
|
+
ee("div", E2, [
|
|
29475
29500
|
oe("installed") ? (S(), Z(je, {
|
|
29476
29501
|
key: 0,
|
|
29477
29502
|
modelValue: M.fields.pluginType,
|
|
@@ -29506,7 +29531,7 @@ const lt = {
|
|
|
29506
29531
|
"selected-value": "cloned"
|
|
29507
29532
|
}, null, 8, ["modelValue", "description", "label"])) : ye("", !0)
|
|
29508
29533
|
]),
|
|
29509
|
-
C(
|
|
29534
|
+
C(He, {
|
|
29510
29535
|
modelValue: X.value,
|
|
29511
29536
|
"onUpdate:modelValue": he[3] || (he[3] = (ie) => X.value = ie),
|
|
29512
29537
|
class: "custom-plugin-form-compare-collapse",
|
|
@@ -29515,39 +29540,39 @@ const lt = {
|
|
|
29515
29540
|
"trigger-label": u(a)("custom_plugin_form.step1.compare_trigger")
|
|
29516
29541
|
}, {
|
|
29517
29542
|
default: N(() => [
|
|
29518
|
-
ee("div",
|
|
29519
|
-
ee("table",
|
|
29543
|
+
ee("div", x2, [
|
|
29544
|
+
ee("table", S2, [
|
|
29520
29545
|
ee("thead", null, [
|
|
29521
29546
|
ee("tr", null, [
|
|
29522
29547
|
he[15] || (he[15] = ee("th", { scope: "col" }, null, -1)),
|
|
29523
|
-
oe("installed") ? (S(), le("th",
|
|
29524
|
-
oe("streamed") ? (S(), le("th",
|
|
29525
|
-
oe("cloned") ? (S(), le("th",
|
|
29548
|
+
oe("installed") ? (S(), le("th", A2, ue(u(a)("custom_plugin_form.step1.compare_table.columns.installed")), 1)) : ye("", !0),
|
|
29549
|
+
oe("streamed") ? (S(), le("th", I2, ue(u(a)("custom_plugin_form.step1.compare_table.columns.streamed")), 1)) : ye("", !0),
|
|
29550
|
+
oe("cloned") ? (S(), le("th", T2, ue(u(a)("custom_plugin_form.step1.compare_table.columns.cloned")), 1)) : ye("", !0)
|
|
29526
29551
|
])
|
|
29527
29552
|
]),
|
|
29528
29553
|
ee("tbody", null, [
|
|
29529
29554
|
ee("tr", null, [
|
|
29530
|
-
ee("th",
|
|
29531
|
-
oe("installed") ? (S(), le("td",
|
|
29532
|
-
oe("streamed") ? (S(), le("td",
|
|
29533
|
-
oe("cloned") ? (S(), le("td",
|
|
29555
|
+
ee("th", $2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.header")), 1),
|
|
29556
|
+
oe("installed") ? (S(), le("td", P2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.installed")), 1)) : ye("", !0),
|
|
29557
|
+
oe("streamed") ? (S(), le("td", O2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.streamed")), 1)) : ye("", !0),
|
|
29558
|
+
oe("cloned") ? (S(), le("td", N2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.cloned")), 1)) : ye("", !0)
|
|
29534
29559
|
]),
|
|
29535
29560
|
ee("tr", null, [
|
|
29536
|
-
ee("th",
|
|
29537
|
-
oe("installed") ? (S(), le("td",
|
|
29538
|
-
ee("ul",
|
|
29561
|
+
ee("th", R2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.header")), 1),
|
|
29562
|
+
oe("installed") ? (S(), le("td", M2, [
|
|
29563
|
+
ee("ul", L2, [
|
|
29539
29564
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.handler")), 1),
|
|
29540
29565
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.schema")), 1),
|
|
29541
29566
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.additional")), 1)
|
|
29542
29567
|
])
|
|
29543
29568
|
])) : ye("", !0),
|
|
29544
|
-
oe("streamed") ? (S(), le("td",
|
|
29545
|
-
ee("ul",
|
|
29569
|
+
oe("streamed") ? (S(), le("td", F2, [
|
|
29570
|
+
ee("ul", K2, [
|
|
29546
29571
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.streamed.handler")), 1),
|
|
29547
29572
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.streamed.schema")), 1)
|
|
29548
29573
|
])
|
|
29549
29574
|
])) : ye("", !0),
|
|
29550
|
-
oe("cloned") ? (S(), le("td",
|
|
29575
|
+
oe("cloned") ? (S(), le("td", j2, [
|
|
29551
29576
|
C(u(Da), {
|
|
29552
29577
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29553
29578
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
@@ -29555,20 +29580,20 @@ const lt = {
|
|
|
29555
29580
|
])) : ye("", !0)
|
|
29556
29581
|
]),
|
|
29557
29582
|
ee("tr", null, [
|
|
29558
|
-
ee("th",
|
|
29559
|
-
oe("installed") ? (S(), le("td",
|
|
29560
|
-
oe("streamed") ? (S(), le("td",
|
|
29561
|
-
oe("cloned") ? (S(), le("td",
|
|
29583
|
+
ee("th", D2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.header")), 1),
|
|
29584
|
+
oe("installed") ? (S(), le("td", q2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.installed")), 1)) : ye("", !0),
|
|
29585
|
+
oe("streamed") ? (S(), le("td", B2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.streamed")), 1)) : ye("", !0),
|
|
29586
|
+
oe("cloned") ? (S(), le("td", U2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.cloned")), 1)) : ye("", !0)
|
|
29562
29587
|
]),
|
|
29563
29588
|
ee("tr", null, [
|
|
29564
|
-
ee("th",
|
|
29565
|
-
oe("installed") ? (S(), le("td",
|
|
29589
|
+
ee("th", V2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.sandboxing.header")), 1),
|
|
29590
|
+
oe("installed") ? (S(), le("td", z2, [
|
|
29566
29591
|
C(u(Da), {
|
|
29567
29592
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29568
29593
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
29569
29594
|
}, null, 8, ["color", "size"])
|
|
29570
29595
|
])) : ye("", !0),
|
|
29571
|
-
oe("streamed") ? (S(), le("td",
|
|
29596
|
+
oe("streamed") ? (S(), le("td", G2, [
|
|
29572
29597
|
C(u(l), { keypath: "custom_plugin_form.step1.compare_table.rows.sandboxing.streamed" }, {
|
|
29573
29598
|
link: N(() => [
|
|
29574
29599
|
C(u(bu), {
|
|
@@ -29584,23 +29609,23 @@ const lt = {
|
|
|
29584
29609
|
_: 1
|
|
29585
29610
|
})
|
|
29586
29611
|
])) : ye("", !0),
|
|
29587
|
-
oe("cloned") ? (S(), le("td",
|
|
29612
|
+
oe("cloned") ? (S(), le("td", H2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.sandboxing.cloned")), 1)) : ye("", !0)
|
|
29588
29613
|
]),
|
|
29589
29614
|
ee("tr", null, [
|
|
29590
|
-
ee("th",
|
|
29591
|
-
oe("installed") ? (S(), le("td",
|
|
29615
|
+
ee("th", W2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.data_plane_reload.header")), 1),
|
|
29616
|
+
oe("installed") ? (S(), le("td", Y2, [
|
|
29592
29617
|
C(u(Cg), {
|
|
29593
29618
|
color: `var(--kui-color-text-success, ${u(xd)})`,
|
|
29594
29619
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
29595
29620
|
}, null, 8, ["color", "size"])
|
|
29596
29621
|
])) : ye("", !0),
|
|
29597
|
-
oe("streamed") ? (S(), le("td",
|
|
29622
|
+
oe("streamed") ? (S(), le("td", J2, [
|
|
29598
29623
|
C(u(Da), {
|
|
29599
29624
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29600
29625
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
29601
29626
|
}, null, 8, ["color", "size"])
|
|
29602
29627
|
])) : ye("", !0),
|
|
29603
|
-
oe("cloned") ? (S(), le("td",
|
|
29628
|
+
oe("cloned") ? (S(), le("td", X2, [
|
|
29604
29629
|
C(u(Da), {
|
|
29605
29630
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29606
29631
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
@@ -29634,7 +29659,7 @@ const lt = {
|
|
|
29634
29659
|
onFileAdded: he[4] || (he[4] = (ie) => D("schema", ie)),
|
|
29635
29660
|
onFileRemoved: he[5] || (he[5] = (ie) => re("schema"))
|
|
29636
29661
|
}, null, 8, ["button-text", "help", "label", "placeholder", "required"]),
|
|
29637
|
-
ee("div",
|
|
29662
|
+
ee("div", Z2, [
|
|
29638
29663
|
C(rt, null, {
|
|
29639
29664
|
default: N(() => [
|
|
29640
29665
|
Le(ue(u(a)("custom_plugin_form.step2_files.plugin_modules.label")), 1)
|
|
@@ -29699,7 +29724,7 @@ const lt = {
|
|
|
29699
29724
|
required: ""
|
|
29700
29725
|
}, {
|
|
29701
29726
|
"item-template": N(({ item: ie }) => [
|
|
29702
|
-
ee("div",
|
|
29727
|
+
ee("div", Q2, [
|
|
29703
29728
|
C(u(qi), {
|
|
29704
29729
|
name: String(ie.value),
|
|
29705
29730
|
size: 20
|
|
@@ -29708,7 +29733,7 @@ const lt = {
|
|
|
29708
29733
|
])
|
|
29709
29734
|
]),
|
|
29710
29735
|
"selected-item-template": N(({ item: ie }) => [
|
|
29711
|
-
ee("div",
|
|
29736
|
+
ee("div", eM, [
|
|
29712
29737
|
C(u(qi), {
|
|
29713
29738
|
name: String(ie.value),
|
|
29714
29739
|
size: 20
|
|
@@ -29804,7 +29829,7 @@ const lt = {
|
|
|
29804
29829
|
]);
|
|
29805
29830
|
};
|
|
29806
29831
|
}
|
|
29807
|
-
}),
|
|
29832
|
+
}), pK = /* @__PURE__ */ Ve(iM, [["__scopeId", "data-v-0c1e017a"]]), oM = (e, t) => ({
|
|
29808
29833
|
type: "array",
|
|
29809
29834
|
valueType: "string",
|
|
29810
29835
|
valueArrayType: "array",
|
|
@@ -29823,7 +29848,7 @@ const lt = {
|
|
|
29823
29848
|
},
|
|
29824
29849
|
...(t == null ? void 0 : t[0]) != null ? { default: t[0] } : {}
|
|
29825
29850
|
}
|
|
29826
|
-
}),
|
|
29851
|
+
}), aM = { class: "referable-field-item" }, rM = 24, sM = /* @__PURE__ */ Oe({
|
|
29827
29852
|
__name: "ReferableFieldItem",
|
|
29828
29853
|
props: {
|
|
29829
29854
|
field: {},
|
|
@@ -29840,13 +29865,13 @@ const lt = {
|
|
|
29840
29865
|
const a = `label[for="${i.value}"]`, l = document.querySelector(a) || document.getElementById(i.value);
|
|
29841
29866
|
if (!l)
|
|
29842
29867
|
return;
|
|
29843
|
-
const s = Math.max(0, l.getBoundingClientRect().top + window.scrollY -
|
|
29868
|
+
const s = Math.max(0, l.getBoundingClientRect().top + window.scrollY - rM), d = () => {
|
|
29844
29869
|
var f;
|
|
29845
29870
|
(f = l.click) == null || f.call(l);
|
|
29846
29871
|
};
|
|
29847
29872
|
window.addEventListener("scrollend", d, { once: !0 }), window.scrollTo({ top: s, behavior: "smooth" });
|
|
29848
29873
|
};
|
|
29849
|
-
return (a, l) => (S(), le("span",
|
|
29874
|
+
return (a, l) => (S(), le("span", aM, [
|
|
29850
29875
|
ee("span", {
|
|
29851
29876
|
class: "referable-field-link",
|
|
29852
29877
|
role: "button",
|
|
@@ -29858,7 +29883,7 @@ const lt = {
|
|
|
29858
29883
|
], 64))
|
|
29859
29884
|
]));
|
|
29860
29885
|
}
|
|
29861
|
-
}), Xc = /* @__PURE__ */ Ve(
|
|
29886
|
+
}), Xc = /* @__PURE__ */ Ve(sM, [["__scopeId", "data-v-949a9ea1"]]), lM = { key: 0 }, uM = /* @__PURE__ */ Oe({
|
|
29862
29887
|
__name: "PluginFieldRuleAlerts",
|
|
29863
29888
|
props: {
|
|
29864
29889
|
rules: {}
|
|
@@ -29896,7 +29921,7 @@ const lt = {
|
|
|
29896
29921
|
_: 2
|
|
29897
29922
|
}, 1032, ["keypath"])
|
|
29898
29923
|
]))), 128)),
|
|
29899
|
-
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (S(), le("li",
|
|
29924
|
+
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (S(), le("li", lM, [
|
|
29900
29925
|
(S(!0), le(ze, null, et(t.rules.onlyOneOfMutuallyRequired, (s, d) => (S(), le("div", {
|
|
29901
29926
|
key: `only-one-mutually-alert-${d}`
|
|
29902
29927
|
}, [
|
|
@@ -29920,8 +29945,8 @@ const lt = {
|
|
|
29920
29945
|
});
|
|
29921
29946
|
};
|
|
29922
29947
|
}
|
|
29923
|
-
}),
|
|
29924
|
-
function
|
|
29948
|
+
}), cM = /* @__PURE__ */ Ve(uM, [["__scopeId", "data-v-5f9ff453"]]);
|
|
29949
|
+
function dM(e) {
|
|
29925
29950
|
if (e.length === 0) return "";
|
|
29926
29951
|
if (e.length === 1) {
|
|
29927
29952
|
const o = fn(e[0]);
|
|
@@ -29940,18 +29965,18 @@ function rM(e) {
|
|
|
29940
29965
|
function gu(e) {
|
|
29941
29966
|
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;
|
|
29942
29967
|
}
|
|
29943
|
-
function
|
|
29968
|
+
function pM(e, t) {
|
|
29944
29969
|
if (!t) return e;
|
|
29945
29970
|
const n = t + Oa;
|
|
29946
29971
|
return e.map(
|
|
29947
29972
|
(i) => i.startsWith(n) ? i.slice(n.length) : i
|
|
29948
29973
|
);
|
|
29949
29974
|
}
|
|
29950
|
-
function
|
|
29951
|
-
const n = gu(e), i =
|
|
29975
|
+
function fM(e, t) {
|
|
29976
|
+
const n = gu(e), i = pM(n, t);
|
|
29952
29977
|
return "at_least_one_of" in e ? { at_least_one_of: i } : "mutually_required" in e ? { mutually_required: i } : { mutually_exclusive: i };
|
|
29953
29978
|
}
|
|
29954
|
-
function
|
|
29979
|
+
function mM(e) {
|
|
29955
29980
|
const t = [], n = /* @__PURE__ */ new Map();
|
|
29956
29981
|
for (const i of e) {
|
|
29957
29982
|
const o = gu(i);
|
|
@@ -29959,17 +29984,17 @@ function uM(e) {
|
|
|
29959
29984
|
t.push(i);
|
|
29960
29985
|
continue;
|
|
29961
29986
|
}
|
|
29962
|
-
const r =
|
|
29987
|
+
const r = dM(o);
|
|
29963
29988
|
if (!r) {
|
|
29964
29989
|
t.push(i);
|
|
29965
29990
|
continue;
|
|
29966
29991
|
}
|
|
29967
|
-
const a =
|
|
29992
|
+
const a = fM(i, r);
|
|
29968
29993
|
n.has(r) || n.set(r, []), n.get(r).push(a);
|
|
29969
29994
|
}
|
|
29970
29995
|
return { keep: t, move: n };
|
|
29971
29996
|
}
|
|
29972
|
-
function
|
|
29997
|
+
function gM(e, t, n) {
|
|
29973
29998
|
const i = fn(t);
|
|
29974
29999
|
let o = e;
|
|
29975
30000
|
for (const r of i) {
|
|
@@ -29987,27 +30012,27 @@ function cM(e, t, n) {
|
|
|
29987
30012
|
function Gm(e) {
|
|
29988
30013
|
var t;
|
|
29989
30014
|
if ((t = e.entity_checks) != null && t.length) {
|
|
29990
|
-
const { keep: n, move: i } =
|
|
30015
|
+
const { keep: n, move: i } = mM(e.entity_checks);
|
|
29991
30016
|
e.entity_checks = n.length ? n : void 0;
|
|
29992
30017
|
for (const [o, r] of i)
|
|
29993
|
-
|
|
30018
|
+
gM(e, o, r);
|
|
29994
30019
|
}
|
|
29995
30020
|
for (const n of e.fields) {
|
|
29996
30021
|
const i = Object.values(n)[0];
|
|
29997
30022
|
i.type === "record" && Gm(i);
|
|
29998
30023
|
}
|
|
29999
30024
|
}
|
|
30000
|
-
function
|
|
30025
|
+
function hM(e) {
|
|
30001
30026
|
const t = JSON.parse(JSON.stringify(e)), n = {
|
|
30002
30027
|
fields: t.fields
|
|
30003
30028
|
};
|
|
30004
30029
|
return Gm(n), t.fields = n.fields, t;
|
|
30005
30030
|
}
|
|
30006
|
-
function
|
|
30031
|
+
function yM(e, t) {
|
|
30007
30032
|
const n = Tn[e];
|
|
30008
30033
|
if (!n || !n.fieldRules)
|
|
30009
30034
|
return t;
|
|
30010
|
-
const i =
|
|
30035
|
+
const i = vM(n.fieldRules), o = { ...t };
|
|
30011
30036
|
return o.fields = o.fields.map((r) => {
|
|
30012
30037
|
if (Object.keys(r)[0] === "config") {
|
|
30013
30038
|
const l = r.config.entity_checks || [], s = (c) => {
|
|
@@ -30030,7 +30055,7 @@ function pM(e, t) {
|
|
|
30030
30055
|
return r;
|
|
30031
30056
|
}), o;
|
|
30032
30057
|
}
|
|
30033
|
-
function
|
|
30058
|
+
function vM(e) {
|
|
30034
30059
|
const t = [], n = (i) => i.startsWith("config.") ? i.substring(7) : i;
|
|
30035
30060
|
return e.atLeastOneOf && e.atLeastOneOf.forEach((i) => {
|
|
30036
30061
|
t.push({
|
|
@@ -30063,10 +30088,10 @@ function fM(e) {
|
|
|
30063
30088
|
}
|
|
30064
30089
|
}), t;
|
|
30065
30090
|
}
|
|
30066
|
-
const
|
|
30091
|
+
const _M = { class: "kong-ui-entities-plugin-form" }, bM = {
|
|
30067
30092
|
key: 1,
|
|
30068
30093
|
class: "entity-form"
|
|
30069
|
-
},
|
|
30094
|
+
}, wM = { class: "plugin-config-empty-state" }, kM = /* @__PURE__ */ Oe({
|
|
30070
30095
|
__name: "PluginEntityForm",
|
|
30071
30096
|
props: {
|
|
30072
30097
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -30237,11 +30262,11 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
30237
30262
|
var Ce;
|
|
30238
30263
|
return (Ce = Q.value) == null ? void 0 : Ce.options;
|
|
30239
30264
|
}), M = L(() => {
|
|
30240
|
-
const Ce =
|
|
30265
|
+
const Ce = yM(
|
|
30241
30266
|
F.name,
|
|
30242
30267
|
i.rawSchema
|
|
30243
30268
|
);
|
|
30244
|
-
return
|
|
30269
|
+
return hM(Ce);
|
|
30245
30270
|
}), W = me(!1), z = me(), H = (Ce, se) => {
|
|
30246
30271
|
W.value = Ce ?? "", z.value = se;
|
|
30247
30272
|
}, U = (Ce) => {
|
|
@@ -30421,7 +30446,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
30421
30446
|
}, Ke = /* @__PURE__ */ new Set(["datakit"]), Be = L(() => {
|
|
30422
30447
|
var Ce;
|
|
30423
30448
|
return ((Ce = i.schema) == null ? void 0 : Ce._sourcePlugin) || F.name;
|
|
30424
|
-
}), je = pn(i.record),
|
|
30449
|
+
}), je = pn(i.record), He = (Ce, se) => {
|
|
30425
30450
|
const ie = Ke.has(Be.value) ? Ce : { ...Ce, config: pe(Ce.config, he()) };
|
|
30426
30451
|
je.value = ie;
|
|
30427
30452
|
const Y = { ...F };
|
|
@@ -30449,7 +30474,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
30449
30474
|
route_id: i.record.route_id || i.record.route,
|
|
30450
30475
|
consumer_id: i.record.consumer_id || i.record.consumer,
|
|
30451
30476
|
consumer_group_id: i.record.consumer_group_id || i.record.consumer_group
|
|
30452
|
-
}), i.record.partials && re("redis", { partials: i.record.partials }), j.value ?
|
|
30477
|
+
}), i.record.partials && re("redis", { partials: i.record.partials }), j.value ? He(i.record) : _e(i.record.config, "config"))), Object.keys(i.entityMap).length && !i.entityMap.global && i.schema) {
|
|
30453
30478
|
const se = {};
|
|
30454
30479
|
for (const ie in i.entityMap) {
|
|
30455
30480
|
const Y = i.entityMap[ie].id, de = i.entityMap[ie].idField, fe = de === "consumer_group_id" ? "consumer_group-id" : JSON.parse(JSON.stringify(de).replace("_", "-"));
|
|
@@ -30482,11 +30507,11 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
30482
30507
|
var Y, de, fe;
|
|
30483
30508
|
const ie = xe("KSkeleton");
|
|
30484
30509
|
return S(), le(ze, null, [
|
|
30485
|
-
ee("div",
|
|
30510
|
+
ee("div", _M, [
|
|
30486
30511
|
Ye.value ? (S(), Z(ie, {
|
|
30487
30512
|
key: 0,
|
|
30488
30513
|
type: "form"
|
|
30489
|
-
})) : F.id && e.editing || !e.editing ? (S(), le("div",
|
|
30514
|
+
})) : F.id && e.editing || !e.editing ? (S(), le("div", bM, [
|
|
30490
30515
|
j.value ? (S(), Z(Kt(j.value), {
|
|
30491
30516
|
key: 0,
|
|
30492
30517
|
developer: e.developer,
|
|
@@ -30496,7 +30521,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
30496
30521
|
"is-editing": e.editing,
|
|
30497
30522
|
"is-konnect-managed-redis-enabled": o.value,
|
|
30498
30523
|
model: e.record,
|
|
30499
|
-
"on-form-change":
|
|
30524
|
+
"on-form-change": He,
|
|
30500
30525
|
"on-validity-change": we,
|
|
30501
30526
|
"plugin-name": F.name,
|
|
30502
30527
|
"render-rules": (de = R.value) == null ? void 0 : de.renderRules,
|
|
@@ -30548,14 +30573,14 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
30548
30573
|
onShowNewPartialModal: se[5] || (se[5] = (ge) => Ce.$emit("showNewPartialModal", ge))
|
|
30549
30574
|
}, vt({
|
|
30550
30575
|
"plugin-config-empty-state": N(() => [
|
|
30551
|
-
ee("div",
|
|
30576
|
+
ee("div", wM, ue(u(x)("plugins.form.grouping.plugin_configuration.empty")), 1)
|
|
30552
30577
|
]),
|
|
30553
30578
|
_: 2
|
|
30554
30579
|
}, [
|
|
30555
30580
|
(fe = u(Tn)[F.name]) != null && fe.fieldRules && (i.config.isNewOtelSchema || F.name !== "opentelemetry") ? {
|
|
30556
30581
|
name: "plugin-config-before-content",
|
|
30557
30582
|
fn: N(() => [
|
|
30558
|
-
C(
|
|
30583
|
+
C(cM, {
|
|
30559
30584
|
rules: u(Tn)[F.name].fieldRules
|
|
30560
30585
|
}, null, 8, ["rules"])
|
|
30561
30586
|
]),
|
|
@@ -30580,7 +30605,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
30580
30605
|
], 64);
|
|
30581
30606
|
};
|
|
30582
30607
|
}
|
|
30583
|
-
}),
|
|
30608
|
+
}), CM = /* @__PURE__ */ Ve(kM, [["__scopeId", "data-v-7f30f062"]]), EM = { key: 1 }, xM = /* @__PURE__ */ Oe({
|
|
30584
30609
|
__name: "PluginFormActionsWrapper",
|
|
30585
30610
|
props: {
|
|
30586
30611
|
teleportTarget: {
|
|
@@ -30594,14 +30619,14 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
30594
30619
|
to: e.teleportTarget
|
|
30595
30620
|
}, [
|
|
30596
30621
|
Qe(t.$slots, "default")
|
|
30597
|
-
], 8, ["to"])) : (S(), le("div",
|
|
30622
|
+
], 8, ["to"])) : (S(), le("div", EM, [
|
|
30598
30623
|
Qe(t.$slots, "default")
|
|
30599
30624
|
]));
|
|
30600
30625
|
}
|
|
30601
|
-
}),
|
|
30626
|
+
}), SM = { key: 0 }, AM = { class: "plugin-form-actions" }, IM = {
|
|
30602
30627
|
key: 0,
|
|
30603
30628
|
class: "button-customize-deck-wrapper"
|
|
30604
|
-
},
|
|
30629
|
+
}, TM = /* @__PURE__ */ Oe({
|
|
30605
30630
|
__name: "PluginForm",
|
|
30606
30631
|
props: {
|
|
30607
30632
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -30993,7 +31018,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
30993
31018
|
} else if (["string", "integer", "number"].includes(ct.type) && ct.one_of) {
|
|
30994
31019
|
if (Ee) {
|
|
30995
31020
|
const { id: Xt, help: Pt, label: ht, hint: ut, values: St, referenceable: Et, model: bn } = V[$e];
|
|
30996
|
-
V[$e] = { id: Xt, help: Pt, label: ht, hint: ut, values: St, referenceable: Et, model: bn, ...
|
|
31021
|
+
V[$e] = { id: Xt, help: Pt, label: ht, hint: ut, values: St, referenceable: Et, model: bn, ...oM(ct.one_of, Fe.default) };
|
|
30997
31022
|
}
|
|
30998
31023
|
} else if (ct.type === "array") {
|
|
30999
31024
|
const { id: Xt, help: Pt, label: ht, hint: ut, values: St, referenceable: Et, model: bn, elements: An } = V[$e], { inputAttributes: as, ...Wm } = JSON.parse(JSON.stringify(mt));
|
|
@@ -31082,7 +31107,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
31082
31107
|
let _t = "string";
|
|
31083
31108
|
Fe.enum ? _t = Be(Fe.enum) : Fe.type === "boolean" ? _t = "boolean" : Fe.type === "number" || Fe.type === "integer" ? (_t = "number", V[$e].inputType = "number") : Fe.type === "array" ? (_t = "array", V[$e].default = Fe.default, Fe.len_min > 0 && (V[$e].submitWhenNull = !0)) : Fe.type === "foreign" ? _t = "object" : Fe.default && Array.isArray(Fe.default) ? (_t = "array", V[$e].valueArrayType = Be(Fe.default)) : Fe.default && (_t = typeof Fe.default), V[$e].valueType = _t, Fe.fieldNameHasDashes && (V[$e].fieldNameHasDashes = !0);
|
|
31084
31109
|
}), V;
|
|
31085
|
-
},
|
|
31110
|
+
}, He = () => {
|
|
31086
31111
|
var _t, Dn, $t, Jt, Uo, Vo, zo, Go, ct, Xt, Pt, ht;
|
|
31087
31112
|
const B = j.value && R.value ? R.value : a.pluginType, ne = ((_t = Tn[B]) == null ? void 0 : _t.scope.includes(Mt.SERVICE)) ?? !0, V = ((Dn = Tn[B]) == null ? void 0 : Dn.scope.includes(Mt.ROUTE)) ?? !0, Ee = (($t = Tn[B]) == null ? void 0 : $t.scope.includes(Mt.CONSUMER)) ?? !0, Se = a.config.disableConsumerGroupScope ? !1 : ((Jt = Tn[B]) == null ? void 0 : Jt.scope.includes(Mt.CONSUMER_GROUP)) ?? !0, Ne = a.config.entityType === "consumers" && !!a.config.entityId || !!((Vo = (Uo = P.value) == null ? void 0 : Uo.consumer) != null && Vo.id), De = a.config.entityType === "consumer_groups" && !!a.config.entityId || !!((Go = (zo = P.value) == null ? void 0 : zo.consumer_group) != null && Go.id), Ue = a.config.entityType === "services" && !!a.config.entityId || !!((Xt = (ct = P.value) == null ? void 0 : ct.service) != null && Xt.id), tt = a.config.entityType === "routes" && !!a.config.entityId || !!((ht = (Pt = P.value) == null ? void 0 : Pt.route) != null && ht.id), Je = [], Fe = (ut, St, Et) => ut ? s("plugins.form.disable_source_scope_change", { scope: Et }) : St ? s("plugins.form.disable_data_retrieving", { scope: Et }) : "", $e = (ut) => {
|
|
31088
31113
|
var St, Et;
|
|
@@ -31264,7 +31289,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
31264
31289
|
w.value = je("", De, {}), Pe.value = !1;
|
|
31265
31290
|
else {
|
|
31266
31291
|
const Ue = De.fields.find((Je) => Je.config);
|
|
31267
|
-
q.value = Ue ? Ue.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]),
|
|
31292
|
+
q.value = Ue ? Ue.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();
|
|
31268
31293
|
const tt = (V = De.fields.find((Je) => Je.protocols)) == null ? void 0 : V.protocols;
|
|
31269
31294
|
if (tt) {
|
|
31270
31295
|
const { default: Je = [], elements: Fe = {} } = tt;
|
|
@@ -31331,12 +31356,12 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
31331
31356
|
onLoading: ne[7] || (ne[7] = (Ue) => B.$emit("loading", Ue))
|
|
31332
31357
|
}, {
|
|
31333
31358
|
"form-actions": N(() => [
|
|
31334
|
-
e.isWizardStep ? (S(), le("div",
|
|
31359
|
+
e.isWizardStep ? (S(), le("div", SM)) : (S(), Z(xM, {
|
|
31335
31360
|
key: 1,
|
|
31336
31361
|
"teleport-target": e.actionsTeleportTarget
|
|
31337
31362
|
}, {
|
|
31338
31363
|
default: N(() => [
|
|
31339
|
-
ee("div",
|
|
31364
|
+
ee("div", AM, [
|
|
31340
31365
|
e.hideViewConfigAction ? ye("", !0) : (S(), Z(Se, {
|
|
31341
31366
|
key: 0,
|
|
31342
31367
|
appearance: "tertiary",
|
|
@@ -31382,7 +31407,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
31382
31407
|
hidden: "",
|
|
31383
31408
|
onSubmit: ce
|
|
31384
31409
|
}, null, 32),
|
|
31385
|
-
C(
|
|
31410
|
+
C(CM, {
|
|
31386
31411
|
config: e.config,
|
|
31387
31412
|
credential: T.value,
|
|
31388
31413
|
developer: e.developer,
|
|
@@ -31445,7 +31470,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
31445
31470
|
}, null, 8, ["credential-type", "entity-record", "entity-type"])
|
|
31446
31471
|
]),
|
|
31447
31472
|
deck: N(() => [
|
|
31448
|
-
u(W) ? (S(), le("div",
|
|
31473
|
+
u(W) ? (S(), le("div", IM, [
|
|
31449
31474
|
C(Se, {
|
|
31450
31475
|
appearance: "secondary",
|
|
31451
31476
|
class: "button-customize-deck",
|
|
@@ -31478,16 +31503,16 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
31478
31503
|
], 2);
|
|
31479
31504
|
};
|
|
31480
31505
|
}
|
|
31481
|
-
}),
|
|
31506
|
+
}), fK = /* @__PURE__ */ Ve(TM, [["__scopeId", "data-v-cd2d48f0"]]), $M = { class: "kong-ui-entities-plugins-list" }, PM = { class: "button-row" }, OM = { class: "name-cell-wrapper" }, NM = { class: "info-wrapper" }, RM = {
|
|
31482
31507
|
key: 0,
|
|
31483
31508
|
class: "info-name"
|
|
31484
|
-
},
|
|
31509
|
+
}, MM = {
|
|
31485
31510
|
key: 1,
|
|
31486
31511
|
class: "info-name"
|
|
31487
|
-
},
|
|
31512
|
+
}, LM = {
|
|
31488
31513
|
key: 2,
|
|
31489
31514
|
class: "info-type"
|
|
31490
|
-
},
|
|
31515
|
+
}, FM = { key: 1 }, KM = /* @__PURE__ */ Oe({
|
|
31491
31516
|
__name: "PluginList",
|
|
31492
31517
|
props: {
|
|
31493
31518
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -31730,21 +31755,21 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
31730
31755
|
}
|
|
31731
31756
|
I.value = null;
|
|
31732
31757
|
});
|
|
31733
|
-
const
|
|
31758
|
+
const He = me({
|
|
31734
31759
|
ctaPath: o.config.createRoute,
|
|
31735
31760
|
ctaText: void 0,
|
|
31736
31761
|
message: `${r("plugins.list.empty_state.description")}${o.config.additionMessageForEmptyState ? ` ${o.config.additionMessageForEmptyState}` : ""}`,
|
|
31737
31762
|
title: r("plugins.title")
|
|
31738
31763
|
}), Ye = me(!1);
|
|
31739
31764
|
return Hi(async () => {
|
|
31740
|
-
Ye.value = await o.canCreate(), Ye.value && (
|
|
31765
|
+
Ye.value = await o.canCreate(), Ye.value && (He.value.title = r("plugins.list.empty_state.title"), He.value.ctaText = r("actions.create"));
|
|
31741
31766
|
}), (qe, Ce) => {
|
|
31742
31767
|
const se = xe("KButton"), ie = xe("KEmptyState"), Y = xe("KBadge"), de = xe("KTruncate"), fe = xe("KInputSwitch"), ge = xe("KDropdownItem"), Te = xe("KClipboardProvider");
|
|
31743
|
-
return S(), le("div",
|
|
31768
|
+
return S(), le("div", $M, [
|
|
31744
31769
|
C(u(ph), {
|
|
31745
31770
|
"cache-identifier": e.cacheIdentifier,
|
|
31746
31771
|
"disable-sorting": _.value,
|
|
31747
|
-
"empty-state-options":
|
|
31772
|
+
"empty-state-options": He.value,
|
|
31748
31773
|
"enable-entity-actions": "",
|
|
31749
31774
|
"error-message": I.value,
|
|
31750
31775
|
fetcher: u(w),
|
|
@@ -31772,7 +31797,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
31772
31797
|
disabled: !e.useActionOutside,
|
|
31773
31798
|
to: "#kong-ui-app-page-header-action-button"
|
|
31774
31799
|
}, [
|
|
31775
|
-
ee("div",
|
|
31800
|
+
ee("div", PM, [
|
|
31776
31801
|
!p.value && c.value ? (S(), Z(se, {
|
|
31777
31802
|
key: 0,
|
|
31778
31803
|
appearance: "secondary",
|
|
@@ -31809,15 +31834,15 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
31809
31834
|
], 8, ["disabled"]))
|
|
31810
31835
|
]),
|
|
31811
31836
|
name: N(({ row: Ae }) => [
|
|
31812
|
-
ee("div",
|
|
31837
|
+
ee("div", OM, [
|
|
31813
31838
|
C(u(qi), {
|
|
31814
31839
|
class: "plugin-icon",
|
|
31815
31840
|
name: Ae.name,
|
|
31816
31841
|
size: 24
|
|
31817
31842
|
}, null, 8, ["name"]),
|
|
31818
|
-
ee("div",
|
|
31819
|
-
Ae.instance_name ? (S(), le("span",
|
|
31820
|
-
Ae.instance_name ? (S(), le("span",
|
|
31843
|
+
ee("div", NM, [
|
|
31844
|
+
Ae.instance_name ? (S(), le("span", RM, ue(Ae.instance_name), 1)) : (S(), le("span", MM, ue(u(n).getDisplayName(Ae.name)), 1)),
|
|
31845
|
+
Ae.instance_name ? (S(), le("span", LM, ue(u(n).getDisplayName(Ae.name)), 1)) : ye("", !0)
|
|
31821
31846
|
])
|
|
31822
31847
|
])
|
|
31823
31848
|
]),
|
|
@@ -31844,7 +31869,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
31844
31869
|
}, 1032, ["auth-function"]))), 128))
|
|
31845
31870
|
]),
|
|
31846
31871
|
_: 2
|
|
31847
|
-
}, 1024)) : (S(), le("span",
|
|
31872
|
+
}, 1024)) : (S(), le("span", FM, "-"))
|
|
31848
31873
|
]),
|
|
31849
31874
|
enabled: N(({ row: Ae }) => [
|
|
31850
31875
|
C(u(Oi), {
|
|
@@ -32049,16 +32074,16 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
32049
32074
|
]);
|
|
32050
32075
|
};
|
|
32051
32076
|
}
|
|
32052
|
-
}),
|
|
32077
|
+
}), mK = /* @__PURE__ */ Ve(KM, [["__scopeId", "data-v-bb7d2cdb"]]), jM = { class: "plugin-select-card-wrapper" }, DM = ["data-testid"], qM = { class: "plugin-card-header" }, BM = { class: "plugin-card-title" }, UM = {
|
|
32053
32078
|
key: 0,
|
|
32054
32079
|
class: "plugin-card-actions"
|
|
32055
|
-
},
|
|
32080
|
+
}, VM = ["data-testid", "title"], zM = {
|
|
32056
32081
|
key: 0,
|
|
32057
32082
|
class: "plugin-card-text"
|
|
32058
|
-
},
|
|
32083
|
+
}, GM = {
|
|
32059
32084
|
key: 0,
|
|
32060
32085
|
class: "custom-plugin-badges"
|
|
32061
|
-
},
|
|
32086
|
+
}, HM = ["title"], WM = /* @__PURE__ */ Oe({
|
|
32062
32087
|
__name: "PluginSelectCard",
|
|
32063
32088
|
props: {
|
|
32064
32089
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32125,7 +32150,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
32125
32150
|
};
|
|
32126
32151
|
return (q, A) => {
|
|
32127
32152
|
const I = xe("KButton"), O = xe("KDropdownItem"), R = xe("KDropdownMenu"), j = xe("KBadge"), Q = xe("KTooltip");
|
|
32128
|
-
return S(), le("div",
|
|
32153
|
+
return S(), le("div", jM, [
|
|
32129
32154
|
C(Q, {
|
|
32130
32155
|
text: e.plugin.disabledMessage
|
|
32131
32156
|
}, {
|
|
@@ -32136,13 +32161,13 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
32136
32161
|
role: "button",
|
|
32137
32162
|
onClick: A[1] || (A[1] = (G) => s.value || k.value ? void 0 : b())
|
|
32138
32163
|
}, [
|
|
32139
|
-
ee("div",
|
|
32140
|
-
ee("div",
|
|
32164
|
+
ee("div", qM, [
|
|
32165
|
+
ee("div", BM, [
|
|
32141
32166
|
ee("span", {
|
|
32142
32167
|
class: yt({ "non-custom-title": !k.value })
|
|
32143
32168
|
}, ue(e.plugin.name), 3)
|
|
32144
32169
|
]),
|
|
32145
|
-
_.value ? (S(), le("div",
|
|
32170
|
+
_.value ? (S(), le("div", UM, [
|
|
32146
32171
|
C(R, {
|
|
32147
32172
|
"data-testid": "custom-plugin-actions",
|
|
32148
32173
|
"kpop-attributes": { placement: "bottom-end" },
|
|
@@ -32204,8 +32229,8 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
32204
32229
|
name: a.value,
|
|
32205
32230
|
size: 55
|
|
32206
32231
|
}, null, 8, ["alt", "name"]),
|
|
32207
|
-
e.plugin.description || l.value.length ? (S(), le("div",
|
|
32208
|
-
l.value.length ? (S(), le("div",
|
|
32232
|
+
e.plugin.description || l.value.length ? (S(), le("div", zM, [
|
|
32233
|
+
l.value.length ? (S(), le("div", GM, [
|
|
32209
32234
|
(S(!0), le(ze, null, et(l.value, (G) => (S(), Z(j, {
|
|
32210
32235
|
key: G,
|
|
32211
32236
|
appearance: "info"
|
|
@@ -32220,21 +32245,21 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
32220
32245
|
key: 1,
|
|
32221
32246
|
class: "plugin-card-text",
|
|
32222
32247
|
title: e.plugin.description
|
|
32223
|
-
}, ue(e.plugin.description), 9,
|
|
32248
|
+
}, ue(e.plugin.description), 9, HM)) : ye("", !0)
|
|
32224
32249
|
])) : ye("", !0)
|
|
32225
|
-
], 10,
|
|
32250
|
+
], 10, VM),
|
|
32226
32251
|
ee("div", {
|
|
32227
32252
|
class: "plugin-card-footer",
|
|
32228
32253
|
onClick: P
|
|
32229
32254
|
}, ue(E.value ? u(r)("actions.create_custom") : e.plugin.exists ? u(r)("actions.enabled") : u(r)("actions.enable")), 1)
|
|
32230
|
-
], 10,
|
|
32255
|
+
], 10, DM)
|
|
32231
32256
|
]),
|
|
32232
32257
|
_: 1
|
|
32233
32258
|
}, 8, ["text"])
|
|
32234
32259
|
]);
|
|
32235
32260
|
};
|
|
32236
32261
|
}
|
|
32237
|
-
}), Hm = /* @__PURE__ */ Ve(
|
|
32262
|
+
}), Hm = /* @__PURE__ */ Ve(WM, [["__scopeId", "data-v-eb0977c9"]]), YM = /* @__PURE__ */ Oe({
|
|
32238
32263
|
__name: "DeleteCustomPluginSchemaModal",
|
|
32239
32264
|
props: {
|
|
32240
32265
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32329,7 +32354,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
32329
32354
|
}, 8, ["action-button-disabled", "title"])) : ye("", !0);
|
|
32330
32355
|
};
|
|
32331
32356
|
}
|
|
32332
|
-
}), os = /* @__PURE__ */ Ve(
|
|
32357
|
+
}), os = /* @__PURE__ */ Ve(YM, [["__scopeId", "data-v-9514182c"]]), JM = { class: "custom-plugins-grid" }, XM = { class: "empty-state-title" }, ZM = { class: "empty-state-description" }, As = 310, QM = /* @__PURE__ */ Oe({
|
|
32333
32358
|
__name: "PluginCustomGrid",
|
|
32334
32359
|
props: {
|
|
32335
32360
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32426,7 +32451,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
32426
32451
|
window == null || window.removeEventListener("resize", x);
|
|
32427
32452
|
}), (k, w) => {
|
|
32428
32453
|
const T = xe("KEmptyState"), P = xe("KCollapse");
|
|
32429
|
-
return S(), le("div",
|
|
32454
|
+
return S(), le("div", JM, [
|
|
32430
32455
|
d.value.length ? (S(), Z(P, {
|
|
32431
32456
|
key: 1,
|
|
32432
32457
|
modelValue: l.value,
|
|
@@ -32476,10 +32501,10 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
32476
32501
|
"icon-variant": "kong"
|
|
32477
32502
|
}, {
|
|
32478
32503
|
title: N(() => [
|
|
32479
|
-
ee("span",
|
|
32504
|
+
ee("span", XM, ue(u(o)("plugins.select.tabs.custom.empty_title")), 1)
|
|
32480
32505
|
]),
|
|
32481
32506
|
default: N(() => [
|
|
32482
|
-
ee("span",
|
|
32507
|
+
ee("span", ZM, ue(u(o)("plugins.select.tabs.custom.empty_description")), 1)
|
|
32483
32508
|
]),
|
|
32484
32509
|
_: 1
|
|
32485
32510
|
})),
|
|
@@ -32493,7 +32518,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
32493
32518
|
]);
|
|
32494
32519
|
};
|
|
32495
32520
|
}
|
|
32496
|
-
}),
|
|
32521
|
+
}), eL = /* @__PURE__ */ Ve(QM, [["__scopeId", "data-v-909f4d5f"]]), Is = 310, tL = /* @__PURE__ */ Oe({
|
|
32497
32522
|
__name: "PluginSelectGroup",
|
|
32498
32523
|
props: /* @__PURE__ */ yi({
|
|
32499
32524
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32623,7 +32648,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
32623
32648
|
], 64);
|
|
32624
32649
|
};
|
|
32625
32650
|
}
|
|
32626
|
-
}), Zc = /* @__PURE__ */ Ve(
|
|
32651
|
+
}), Zc = /* @__PURE__ */ Ve(tL, [["__scopeId", "data-v-7f683497"]]), nL = { class: "plugin-select-grid" }, iL = { class: "empty-state-title" }, oL = { class: "empty-state-description" }, Qc = /* @__PURE__ */ Oe({
|
|
32627
32652
|
__name: "PluginSelectGrid",
|
|
32628
32653
|
props: {
|
|
32629
32654
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32695,7 +32720,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
32695
32720
|
});
|
|
32696
32721
|
return (d, f) => {
|
|
32697
32722
|
const c = xe("KEmptyState");
|
|
32698
|
-
return S(), le("div",
|
|
32723
|
+
return S(), le("div", nL, [
|
|
32699
32724
|
Object.keys(s.value).length ? ye("", !0) : (S(), Z(c, {
|
|
32700
32725
|
key: 0,
|
|
32701
32726
|
"action-button-visible": !1,
|
|
@@ -32704,10 +32729,10 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
32704
32729
|
"icon-variant": "kong"
|
|
32705
32730
|
}, {
|
|
32706
32731
|
title: N(() => [
|
|
32707
|
-
ee("span",
|
|
32732
|
+
ee("span", iL, ue(u(o)("plugins.select.tabs.kong.empty_title")), 1)
|
|
32708
32733
|
]),
|
|
32709
32734
|
default: N(() => [
|
|
32710
|
-
ee("span",
|
|
32735
|
+
ee("span", oL, ue(u(o)("plugins.select.tabs.kong.empty_description")), 1)
|
|
32711
32736
|
]),
|
|
32712
32737
|
_: 1
|
|
32713
32738
|
})),
|
|
@@ -32747,11 +32772,11 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
32747
32772
|
]);
|
|
32748
32773
|
};
|
|
32749
32774
|
}
|
|
32750
|
-
}),
|
|
32775
|
+
}), aL = { class: "kong-ui-entities-plugin-select-form" }, rL = { class: "plugins-filter-input-container" }, sL = { key: 0 }, lL = {
|
|
32751
32776
|
key: 3,
|
|
32752
32777
|
"aria-live": "polite",
|
|
32753
32778
|
class: "plugins-results-container"
|
|
32754
|
-
},
|
|
32779
|
+
}, uL = { "data-testid": "kong-tab" }, cL = { class: "tab-description" }, dL = { "data-testid": "custom-tab" }, pL = { class: "tab-description" }, fL = { key: 1 }, mL = /* @__PURE__ */ Oe({
|
|
32755
32780
|
__name: "PluginSelect",
|
|
32756
32781
|
props: {
|
|
32757
32782
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32971,7 +32996,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
32971
32996
|
}
|
|
32972
32997
|
}, pe = async (ie) => {
|
|
32973
32998
|
const Y = [];
|
|
32974
|
-
D.value &&
|
|
32999
|
+
D.value && He.value && Y.push(
|
|
32975
33000
|
Ir(T, D.value, ie).then((de) => {
|
|
32976
33001
|
v.value = de;
|
|
32977
33002
|
}).catch((de) => {
|
|
@@ -33005,7 +33030,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33005
33030
|
} finally {
|
|
33006
33031
|
(Y = k.value) != null && Y.signal.aborted || (p.value = !1);
|
|
33007
33032
|
}
|
|
33008
|
-
}, Ke = me(!1), Be = me(!1), je = me(!1),
|
|
33033
|
+
}, Ke = me(!1), Be = me(!1), je = me(!1), He = me(!1), Ye = me(!1), rt = me(!1), ft = me(!1), qe = (ie) => {
|
|
33009
33034
|
v.value = v.value.filter((Y) => Y.name !== ie), b.value = b.value.filter((Y) => Y.name !== ie), x.value = U(), i("delete-custom:success", ie);
|
|
33010
33035
|
};
|
|
33011
33036
|
Hi(async () => {
|
|
@@ -33026,7 +33051,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33026
33051
|
n.canDeleteClonedPlugin ? n.canDeleteClonedPlugin() : Promise.resolve(null),
|
|
33027
33052
|
n.canReadClonedPlugin()
|
|
33028
33053
|
]);
|
|
33029
|
-
Ke.value = ie, Be.value = Y, je.value = de,
|
|
33054
|
+
Ke.value = ie, Be.value = Y, je.value = de, He.value = fe, Ye.value = ge ?? Y, rt.value = Te ?? de, ft.value = Ae;
|
|
33030
33055
|
});
|
|
33031
33056
|
const Ce = xt("filter-input");
|
|
33032
33057
|
return Cn(async () => {
|
|
@@ -33053,8 +33078,8 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33053
33078
|
(ie = k.value) == null || ie.abort();
|
|
33054
33079
|
}), (ie, Y) => {
|
|
33055
33080
|
const de = xe("KInput"), fe = xe("KSkeletonBox"), ge = xe("KSkeleton"), Te = xe("KEmptyState"), Ae = xe("KTooltip"), g = xe("KAlert"), te = xe("KTabs");
|
|
33056
|
-
return S(), le("div",
|
|
33057
|
-
ee("div",
|
|
33081
|
+
return S(), le("div", aL, [
|
|
33082
|
+
ee("div", rL, [
|
|
33058
33083
|
C(de, {
|
|
33059
33084
|
ref: "filter-input",
|
|
33060
33085
|
modelValue: c.value,
|
|
@@ -33066,7 +33091,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33066
33091
|
type: "search"
|
|
33067
33092
|
}, null, 8, ["modelValue", "placeholder"])
|
|
33068
33093
|
]),
|
|
33069
|
-
p.value ? (S(), le("section",
|
|
33094
|
+
p.value ? (S(), le("section", sL, [
|
|
33070
33095
|
C(fe, {
|
|
33071
33096
|
class: "plugins-skeleton-title",
|
|
33072
33097
|
width: "10"
|
|
@@ -33096,7 +33121,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33096
33121
|
ee("h5", null, ue(u(a)("search.no_results", { filter: c.value })), 1)
|
|
33097
33122
|
]),
|
|
33098
33123
|
_: 1
|
|
33099
|
-
})) : (S(), le("section",
|
|
33124
|
+
})) : (S(), le("section", lL, [
|
|
33100
33125
|
z.value.length ? (S(), Z(te, {
|
|
33101
33126
|
key: 0,
|
|
33102
33127
|
modelValue: H.value,
|
|
@@ -33106,8 +33131,8 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33106
33131
|
onChange: we
|
|
33107
33132
|
}, vt({
|
|
33108
33133
|
kong: N(() => [
|
|
33109
|
-
ee("div",
|
|
33110
|
-
ee("p",
|
|
33134
|
+
ee("div", uL, [
|
|
33135
|
+
ee("p", cL, ue(u(a)("plugins.select.tabs.kong.description")), 1),
|
|
33111
33136
|
C(Qc, {
|
|
33112
33137
|
"can-delete-cloned-plugin": rt.value,
|
|
33113
33138
|
"can-delete-custom-plugin": je.value,
|
|
@@ -33125,16 +33150,16 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33125
33150
|
])
|
|
33126
33151
|
]),
|
|
33127
33152
|
custom: N(() => [
|
|
33128
|
-
ee("div",
|
|
33153
|
+
ee("div", dL, [
|
|
33129
33154
|
Qe(ie.$slots, "before-custom-tab-content", {}, void 0, !0),
|
|
33130
|
-
ee("p",
|
|
33155
|
+
ee("p", pL, ue(u(a)("plugins.select.tabs.custom.description")), 1),
|
|
33131
33156
|
y.value ? (S(), Z(g, {
|
|
33132
33157
|
key: 0,
|
|
33133
33158
|
appearance: "warning",
|
|
33134
33159
|
class: "custom-plugins-warning",
|
|
33135
33160
|
message: y.value
|
|
33136
33161
|
}, null, 8, ["message"])) : ye("", !0),
|
|
33137
|
-
C(
|
|
33162
|
+
C(eL, {
|
|
33138
33163
|
"can-create-custom-plugin": Ke.value,
|
|
33139
33164
|
"can-delete-cloned-plugin": rt.value,
|
|
33140
33165
|
"can-delete-custom-plugin": je.value,
|
|
@@ -33165,7 +33190,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33165
33190
|
]),
|
|
33166
33191
|
key: "0"
|
|
33167
33192
|
} : void 0
|
|
33168
|
-
]), 1032, ["modelValue", "tabs"])) : (S(), le("div",
|
|
33193
|
+
]), 1032, ["modelValue", "tabs"])) : (S(), le("div", fL, [
|
|
33169
33194
|
y.value ? (S(), Z(g, {
|
|
33170
33195
|
key: 0,
|
|
33171
33196
|
appearance: "warning",
|
|
@@ -33191,16 +33216,16 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33191
33216
|
]);
|
|
33192
33217
|
};
|
|
33193
33218
|
}
|
|
33194
|
-
}),
|
|
33219
|
+
}), gK = /* @__PURE__ */ Ve(mL, [["__scopeId", "data-v-40b228cd"]]), gL = {
|
|
33195
33220
|
class: "plugin-select-card-wrapper",
|
|
33196
33221
|
"data-testid": "plugin-catalog-card-wrapper"
|
|
33197
|
-
},
|
|
33222
|
+
}, hL = { class: "plugin-card-header" }, yL = { class: "plugin-card-title" }, vL = {
|
|
33198
33223
|
key: 0,
|
|
33199
33224
|
class: "plugin-card-actions"
|
|
33200
|
-
},
|
|
33225
|
+
}, _L = ["data-testid", "title"], bL = { key: 0 }, wL = ["title"], kL = { class: "plugin-card-footer" }, CL = { class: "plugin-card-footer-extra" }, EL = {
|
|
33201
33226
|
key: 0,
|
|
33202
33227
|
class: "custom-plugin-badges"
|
|
33203
|
-
},
|
|
33228
|
+
}, xL = /* @__PURE__ */ Oe({
|
|
33204
33229
|
__name: "PluginCatalogCard",
|
|
33205
33230
|
props: {
|
|
33206
33231
|
config: {},
|
|
@@ -33219,7 +33244,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33219
33244
|
};
|
|
33220
33245
|
return (w, T) => {
|
|
33221
33246
|
const P = xe("KButton"), q = xe("KDropdownItem"), A = xe("KDropdownMenu"), I = xe("KBadge"), O = xe("RouterLink"), R = xe("KTooltip");
|
|
33222
|
-
return S(), le("div",
|
|
33247
|
+
return S(), le("div", gL, [
|
|
33223
33248
|
C(R, {
|
|
33224
33249
|
text: e.plugin.disabledMessage
|
|
33225
33250
|
}, {
|
|
@@ -33230,8 +33255,8 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33230
33255
|
to: v.value
|
|
33231
33256
|
}, {
|
|
33232
33257
|
default: N(() => [
|
|
33233
|
-
ee("div",
|
|
33234
|
-
ee("div",
|
|
33258
|
+
ee("div", hL, [
|
|
33259
|
+
ee("div", yL, [
|
|
33235
33260
|
C(u(qi), {
|
|
33236
33261
|
alt: e.plugin.name,
|
|
33237
33262
|
class: "plugin-card-icon",
|
|
@@ -33242,7 +33267,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33242
33267
|
class: yt({ "non-custom-title": !x.value })
|
|
33243
33268
|
}, ue(e.plugin.name), 3)
|
|
33244
33269
|
]),
|
|
33245
|
-
_.value ? (S(), le("div",
|
|
33270
|
+
_.value ? (S(), le("div", vL, [
|
|
33246
33271
|
C(A, {
|
|
33247
33272
|
"data-testid": "custom-plugin-actions",
|
|
33248
33273
|
"kpop-attributes": { placement: "bottom-end" },
|
|
@@ -33299,16 +33324,16 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33299
33324
|
"data-testid": `${e.plugin.id}-card-body`,
|
|
33300
33325
|
title: e.plugin.available ? e.plugin.name : u(r)("plugins.select.unavailable_tooltip")
|
|
33301
33326
|
}, [
|
|
33302
|
-
e.plugin.description ? (S(), le("div",
|
|
33327
|
+
e.plugin.description ? (S(), le("div", bL, [
|
|
33303
33328
|
ee("div", {
|
|
33304
33329
|
title: e.plugin.description
|
|
33305
|
-
}, ue(e.plugin.description), 9,
|
|
33330
|
+
}, ue(e.plugin.description), 9, wL)
|
|
33306
33331
|
])) : ye("", !0)
|
|
33307
|
-
], 8,
|
|
33308
|
-
ee("div",
|
|
33332
|
+
], 8, _L),
|
|
33333
|
+
ee("div", kL, [
|
|
33309
33334
|
ee("div", null, ue(b.value ? u(r)("actions.create_custom") : u(r)("actions.configure")), 1),
|
|
33310
|
-
ee("div",
|
|
33311
|
-
l.value.length ? (S(), le("div",
|
|
33335
|
+
ee("div", CL, [
|
|
33336
|
+
l.value.length ? (S(), le("div", EL, [
|
|
33312
33337
|
(S(!0), le(ze, null, et(l.value, (j) => (S(), Z(I, {
|
|
33313
33338
|
key: j,
|
|
33314
33339
|
appearance: "info"
|
|
@@ -33331,7 +33356,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33331
33356
|
]);
|
|
33332
33357
|
};
|
|
33333
33358
|
}
|
|
33334
|
-
}),
|
|
33359
|
+
}), SL = /* @__PURE__ */ Ve(xL, [["__scopeId", "data-v-cabcdb98"]]), AL = ["data-testid"], IL = { class: "group-icon-wrapper" }, TL = { class: "group-title-text" }, $L = ["data-testid"], PL = ["data-testid"], OL = /* @__PURE__ */ Oe({
|
|
33335
33360
|
__name: "PluginCatalogGroup",
|
|
33336
33361
|
props: {
|
|
33337
33362
|
config: {},
|
|
@@ -33399,18 +33424,18 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33399
33424
|
class: "group-title",
|
|
33400
33425
|
"data-testid": `plugin-group-${e.name}-title`
|
|
33401
33426
|
}, [
|
|
33402
|
-
ee("div",
|
|
33427
|
+
ee("div", IL, [
|
|
33403
33428
|
(S(), Z(Kt(i.value), {
|
|
33404
33429
|
color: `var(--kui-color-text-decorative-purple, ${u(Ed)})`
|
|
33405
33430
|
}, null, 8, ["color"]))
|
|
33406
33431
|
]),
|
|
33407
|
-
ee("span",
|
|
33408
|
-
], 8,
|
|
33432
|
+
ee("span", TL, ue(e.name), 1)
|
|
33433
|
+
], 8, AL)) : ye("", !0),
|
|
33409
33434
|
ee("div", {
|
|
33410
33435
|
class: "plugin-card-container",
|
|
33411
33436
|
"data-testid": `plugin-group-${e.name}`
|
|
33412
33437
|
}, [
|
|
33413
|
-
(S(!0), le(ze, null, et(l.value, (_) => (S(), Z(
|
|
33438
|
+
(S(!0), le(ze, null, et(l.value, (_) => (S(), Z(SL, {
|
|
33414
33439
|
key: `plugin-card-${_.id}`,
|
|
33415
33440
|
"can-delete-cloned-plugin": e.canDeleteClonedPlugin,
|
|
33416
33441
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
@@ -33427,7 +33452,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33427
33452
|
ee("span", {
|
|
33428
33453
|
class: "plugin-card-new-badge",
|
|
33429
33454
|
"data-testid": `plugin-card-${_.id}-new-badge`
|
|
33430
|
-
}, ue(u(r)("labels.new")), 9,
|
|
33455
|
+
}, ue(u(r)("labels.new")), 9, PL)
|
|
33431
33456
|
]),
|
|
33432
33457
|
key: "0"
|
|
33433
33458
|
} : void 0
|
|
@@ -33437,7 +33462,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33437
33462
|
class: "show-all-plugin-card",
|
|
33438
33463
|
onClick: d
|
|
33439
33464
|
}, ue(u(r)("plugins.select.show_all")), 1)) : ye("", !0)
|
|
33440
|
-
], 8,
|
|
33465
|
+
], 8, $L),
|
|
33441
33466
|
f.value && c.value ? (S(), Z(os, {
|
|
33442
33467
|
key: 1,
|
|
33443
33468
|
config: e.config,
|
|
@@ -33447,7 +33472,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33447
33472
|
}, null, 8, ["config", "plugin"])) : ye("", !0)
|
|
33448
33473
|
], 64));
|
|
33449
33474
|
}
|
|
33450
|
-
}), ed = /* @__PURE__ */ Ve(
|
|
33475
|
+
}), ed = /* @__PURE__ */ Ve(OL, [["__scopeId", "data-v-f9a9a47c"]]), NL = { class: "plugin-select-grid" }, RL = { class: "empty-state-title" }, ML = { class: "empty-state-description" }, LL = { key: 1 }, FL = /* @__PURE__ */ Oe({
|
|
33451
33476
|
__name: "PluginCatalogGrid",
|
|
33452
33477
|
props: {
|
|
33453
33478
|
config: {},
|
|
@@ -33465,7 +33490,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33465
33490
|
return (a, l) => {
|
|
33466
33491
|
var d;
|
|
33467
33492
|
const s = xe("KEmptyState");
|
|
33468
|
-
return S(), le("div",
|
|
33493
|
+
return S(), le("div", NL, [
|
|
33469
33494
|
Object.keys(e.pluginList || []).length ? ye("", !0) : (S(), Z(s, {
|
|
33470
33495
|
key: 0,
|
|
33471
33496
|
"action-button-visible": !1,
|
|
@@ -33474,10 +33499,10 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33474
33499
|
"icon-variant": "kong"
|
|
33475
33500
|
}, {
|
|
33476
33501
|
title: N(() => [
|
|
33477
|
-
ee("span",
|
|
33502
|
+
ee("span", RL, ue(u(o)("plugins.select.tabs.kong.empty_title")), 1)
|
|
33478
33503
|
]),
|
|
33479
33504
|
default: N(() => [
|
|
33480
|
-
ee("span",
|
|
33505
|
+
ee("span", ML, ue(u(o)("plugins.select.tabs.kong.empty_description")), 1)
|
|
33481
33506
|
]),
|
|
33482
33507
|
_: 1
|
|
33483
33508
|
})),
|
|
@@ -33499,7 +33524,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33499
33524
|
])) : ye("", !0)
|
|
33500
33525
|
], 64);
|
|
33501
33526
|
}), 256)),
|
|
33502
|
-
(d = e.pluginList) != null && d["Query Result"] ? (S(), le("div",
|
|
33527
|
+
(d = e.pluginList) != null && d["Query Result"] ? (S(), le("div", LL, [
|
|
33503
33528
|
C(ed, {
|
|
33504
33529
|
"can-delete-cloned-plugin": e.canDeleteClonedPlugin,
|
|
33505
33530
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
@@ -33515,17 +33540,17 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33515
33540
|
]);
|
|
33516
33541
|
};
|
|
33517
33542
|
}
|
|
33518
|
-
}),
|
|
33543
|
+
}), KL = /* @__PURE__ */ Ve(FL, [["__scopeId", "data-v-e3bf3819"]]), jL = {
|
|
33519
33544
|
class: "plugin-name-cell",
|
|
33520
33545
|
"data-testid": "plugin-catalog-list-view-name"
|
|
33521
|
-
},
|
|
33546
|
+
}, DL = ["title"], qL = ["title"], BL = {
|
|
33522
33547
|
class: "plugin-action-cell",
|
|
33523
33548
|
"data-testid": "plugin-catalog-list-view-action"
|
|
33524
|
-
},
|
|
33549
|
+
}, UL = {
|
|
33525
33550
|
key: 0,
|
|
33526
33551
|
class: "plugin-more-action-cell",
|
|
33527
33552
|
"data-testid": "plugin-catalog-list-view-more-actions"
|
|
33528
|
-
},
|
|
33553
|
+
}, VL = /* @__PURE__ */ Oe({
|
|
33529
33554
|
__name: "PluginCatalogListView",
|
|
33530
33555
|
props: {
|
|
33531
33556
|
config: {},
|
|
@@ -33613,7 +33638,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33613
33638
|
onSort: q
|
|
33614
33639
|
}, {
|
|
33615
33640
|
name: N(({ row: F }) => [
|
|
33616
|
-
ee("span",
|
|
33641
|
+
ee("span", jL, [
|
|
33617
33642
|
C(u(qi), {
|
|
33618
33643
|
"data-testid": `plugin-catalog-list-view-${F.plugin.id}-icon`,
|
|
33619
33644
|
name: y(F.plugin),
|
|
@@ -33623,7 +33648,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33623
33648
|
class: "plugin-name-text",
|
|
33624
33649
|
"data-testid": "plugin-catalog-list-view-name-text",
|
|
33625
33650
|
title: F.name
|
|
33626
|
-
}, ue(F.name), 9,
|
|
33651
|
+
}, ue(F.name), 9, DL),
|
|
33627
33652
|
F.badge ? (S(), Z(O, {
|
|
33628
33653
|
key: 0,
|
|
33629
33654
|
appearance: "info",
|
|
@@ -33642,10 +33667,10 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33642
33667
|
class: "plugin-description-cell",
|
|
33643
33668
|
"data-testid": "plugin-catalog-list-view-description",
|
|
33644
33669
|
title: F.description
|
|
33645
|
-
}, ue(F.description), 9,
|
|
33670
|
+
}, ue(F.description), 9, qL)
|
|
33646
33671
|
]),
|
|
33647
33672
|
action: N(({ row: F }) => [
|
|
33648
|
-
ee("div",
|
|
33673
|
+
ee("div", BL, [
|
|
33649
33674
|
C(R, {
|
|
33650
33675
|
appearance: "tertiary",
|
|
33651
33676
|
"data-testid": "plugin-catalog-list-view-configure-btn",
|
|
@@ -33660,7 +33685,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33660
33685
|
])
|
|
33661
33686
|
]),
|
|
33662
33687
|
"more-actions": N(({ row: F }) => [
|
|
33663
|
-
x(F.plugin) ? (S(), le("div",
|
|
33688
|
+
x(F.plugin) ? (S(), le("div", UL, [
|
|
33664
33689
|
C(Q, {
|
|
33665
33690
|
appearance: "tertiary",
|
|
33666
33691
|
class: "actions-trigger",
|
|
@@ -33720,17 +33745,17 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33720
33745
|
], 64);
|
|
33721
33746
|
};
|
|
33722
33747
|
}
|
|
33723
|
-
}),
|
|
33748
|
+
}), zL = /* @__PURE__ */ Ve(VL, [["__scopeId", "data-v-986d34db"]]), GL = {
|
|
33724
33749
|
class: "plugin-catalog",
|
|
33725
33750
|
"data-testid": "plugin-catalog"
|
|
33726
|
-
},
|
|
33751
|
+
}, HL = {
|
|
33727
33752
|
class: "plugin-filter",
|
|
33728
33753
|
"data-testid": "plugin-filter"
|
|
33729
|
-
},
|
|
33754
|
+
}, WL = { class: "plugin-filter-title" }, YL = { class: "featured-title" }, JL = { class: "plugin-featured-filter" }, XL = ["data-testid"], ZL = { class: "group-title" }, QL = { class: "plugin-type-filter" }, eF = ["data-testid"], tF = { class: "plugins-container" }, nF = { class: "plugins-filter-input-container" }, iF = { class: "icon-container" }, oF = { key: 0 }, aF = {
|
|
33730
33755
|
key: 3,
|
|
33731
33756
|
"aria-live": "polite",
|
|
33732
33757
|
class: "plugins-results-container"
|
|
33733
|
-
},
|
|
33758
|
+
}, rF = /* @__PURE__ */ Oe({
|
|
33734
33759
|
__name: "PluginCatalog",
|
|
33735
33760
|
props: {
|
|
33736
33761
|
config: {},
|
|
@@ -33855,7 +33880,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33855
33880
|
}), Xe(y, (se) => {
|
|
33856
33881
|
n("loading", se);
|
|
33857
33882
|
});
|
|
33858
|
-
const _e = me(!1), pe = me(!1), he = me(!1), Ke = me(!1), Be = me(!1), je = me(!1),
|
|
33883
|
+
const _e = me(!1), pe = me(!1), he = me(!1), Ke = me(!1), Be = me(!1), je = me(!1), He = async () => {
|
|
33859
33884
|
try {
|
|
33860
33885
|
const [
|
|
33861
33886
|
se,
|
|
@@ -33930,7 +33955,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33930
33955
|
};
|
|
33931
33956
|
return Cn(async () => {
|
|
33932
33957
|
var se, ie;
|
|
33933
|
-
A.value = !0, (ie = (se = f.value) == null ? void 0 : se.input) == null || ie.focus(), await
|
|
33958
|
+
A.value = !0, (ie = (se = f.value) == null ? void 0 : se.input) == null || ie.focus(), await He(), await ft();
|
|
33934
33959
|
}), Xe(
|
|
33935
33960
|
() => {
|
|
33936
33961
|
var se;
|
|
@@ -33945,16 +33970,16 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33945
33970
|
];
|
|
33946
33971
|
},
|
|
33947
33972
|
async () => {
|
|
33948
|
-
A.value && (await
|
|
33973
|
+
A.value && (await He(), await ft());
|
|
33949
33974
|
}
|
|
33950
33975
|
), xa(() => {
|
|
33951
33976
|
var se;
|
|
33952
33977
|
(se = q.value) == null || se.abort();
|
|
33953
33978
|
}), (se, ie) => {
|
|
33954
33979
|
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");
|
|
33955
|
-
return S(), le("div",
|
|
33956
|
-
ee("div",
|
|
33957
|
-
ee("div",
|
|
33980
|
+
return S(), le("div", GL, [
|
|
33981
|
+
ee("div", HL, [
|
|
33982
|
+
ee("div", WL, [
|
|
33958
33983
|
Le(ue(u(i)("plugins.select.filter.title")) + " ", 1),
|
|
33959
33984
|
C(Y, {
|
|
33960
33985
|
appearance: "tertiary",
|
|
@@ -33974,10 +33999,10 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33974
33999
|
"onUpdate:modelValue": ie[0] || (ie[0] = (ve) => p.value = ve)
|
|
33975
34000
|
}, {
|
|
33976
34001
|
title: N(() => [
|
|
33977
|
-
ee("div",
|
|
34002
|
+
ee("div", YL, ue(u(i)("plugins.select.filter.featured")), 1)
|
|
33978
34003
|
]),
|
|
33979
34004
|
default: N(() => [
|
|
33980
|
-
ee("div",
|
|
34005
|
+
ee("div", JL, [
|
|
33981
34006
|
(S(!0), le(ze, null, et(u(Ys), (ve) => (S(), le("div", {
|
|
33982
34007
|
key: ve,
|
|
33983
34008
|
class: "plugin-filter-item",
|
|
@@ -33997,7 +34022,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
33997
34022
|
}),
|
|
33998
34023
|
_: 2
|
|
33999
34024
|
}, 1024)
|
|
34000
|
-
], 8,
|
|
34025
|
+
], 8, XL))), 128))
|
|
34001
34026
|
])
|
|
34002
34027
|
]),
|
|
34003
34028
|
_: 1
|
|
@@ -34007,10 +34032,10 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34007
34032
|
"onUpdate:modelValue": ie[1] || (ie[1] = (ve) => m.value = ve)
|
|
34008
34033
|
}, {
|
|
34009
34034
|
title: N(() => [
|
|
34010
|
-
ee("div",
|
|
34035
|
+
ee("div", ZL, ue(u(i)("plugins.select.filter.type")), 1)
|
|
34011
34036
|
]),
|
|
34012
34037
|
default: N(() => [
|
|
34013
|
-
ee("div",
|
|
34038
|
+
ee("div", QL, [
|
|
34014
34039
|
(S(!0), le(ze, null, et(u(Js), (ve) => (S(), le("div", {
|
|
34015
34040
|
key: ve,
|
|
34016
34041
|
class: "plugin-filter-item",
|
|
@@ -34034,14 +34059,14 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34034
34059
|
}),
|
|
34035
34060
|
_: 2
|
|
34036
34061
|
}, 1032, ["data-testid"])
|
|
34037
|
-
], 8,
|
|
34062
|
+
], 8, eF))), 128))
|
|
34038
34063
|
])
|
|
34039
34064
|
]),
|
|
34040
34065
|
_: 1
|
|
34041
34066
|
}, 8, ["modelValue"])
|
|
34042
34067
|
]),
|
|
34043
|
-
ee("div",
|
|
34044
|
-
ee("div",
|
|
34068
|
+
ee("div", tF, [
|
|
34069
|
+
ee("div", nF, [
|
|
34045
34070
|
C(Te, {
|
|
34046
34071
|
ref: "filter-input",
|
|
34047
34072
|
modelValue: c.value,
|
|
@@ -34052,7 +34077,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34052
34077
|
placeholder: u(i)("search.placeholder.search_plugins"),
|
|
34053
34078
|
type: "search"
|
|
34054
34079
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
34055
|
-
ee("div",
|
|
34080
|
+
ee("div", iF, [
|
|
34056
34081
|
(S(), Z(Kt(I.value), {
|
|
34057
34082
|
class: "plugins-filter-icon",
|
|
34058
34083
|
color: `var(--kui-icon-color-primary, ${u(sy)})`,
|
|
@@ -34060,7 +34085,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34060
34085
|
}, null, 8, ["color"]))
|
|
34061
34086
|
])
|
|
34062
34087
|
]),
|
|
34063
|
-
y.value ? (S(), le("section",
|
|
34088
|
+
y.value ? (S(), le("section", oF, [
|
|
34064
34089
|
C(Ae, {
|
|
34065
34090
|
class: "plugins-skeleton-title",
|
|
34066
34091
|
width: "10"
|
|
@@ -34090,14 +34115,14 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34090
34115
|
ee("h5", null, ue(u(i)("search.no_results", { filter: c.value })), 1)
|
|
34091
34116
|
]),
|
|
34092
34117
|
_: 1
|
|
34093
|
-
})) : (S(), le("section",
|
|
34118
|
+
})) : (S(), le("section", aF, [
|
|
34094
34119
|
b.value ? (S(), Z(ce, {
|
|
34095
34120
|
key: 0,
|
|
34096
34121
|
appearance: "warning",
|
|
34097
34122
|
class: "custom-plugins-warning",
|
|
34098
34123
|
message: b.value
|
|
34099
34124
|
}, null, 8, ["message"])) : ye("", !0),
|
|
34100
|
-
P.value ? (S(), Z(
|
|
34125
|
+
P.value ? (S(), Z(zL, {
|
|
34101
34126
|
key: 1,
|
|
34102
34127
|
"can-delete-cloned-plugin": Be.value,
|
|
34103
34128
|
"can-delete-custom-plugin": pe.value,
|
|
@@ -34106,7 +34131,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34106
34131
|
config: e.config,
|
|
34107
34132
|
"plugin-list": $.value,
|
|
34108
34133
|
"onDelete:success": qe
|
|
34109
|
-
}, null, 8, ["can-delete-cloned-plugin", "can-delete-custom-plugin", "can-edit-cloned-plugin", "can-edit-custom-plugin", "config", "plugin-list"])) : (S(), Z(
|
|
34134
|
+
}, null, 8, ["can-delete-cloned-plugin", "can-delete-custom-plugin", "can-edit-cloned-plugin", "can-edit-custom-plugin", "config", "plugin-list"])) : (S(), Z(KL, {
|
|
34110
34135
|
key: 2,
|
|
34111
34136
|
"can-delete-cloned-plugin": Be.value,
|
|
34112
34137
|
"can-delete-custom-plugin": pe.value,
|
|
@@ -34122,16 +34147,16 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34122
34147
|
]);
|
|
34123
34148
|
};
|
|
34124
34149
|
}
|
|
34125
|
-
}),
|
|
34150
|
+
}), hK = /* @__PURE__ */ Ve(rF, [["__scopeId", "data-v-679e985d"]]), sF = {
|
|
34126
34151
|
key: 1,
|
|
34127
34152
|
class: "datakit-config-card-canvas"
|
|
34128
|
-
},
|
|
34153
|
+
}, lF = {
|
|
34129
34154
|
class: "config-card-details-label",
|
|
34130
34155
|
"data-testid": "datakit-configuration-label"
|
|
34131
|
-
},
|
|
34156
|
+
}, uF = {
|
|
34132
34157
|
class: "config-card-details-value datakit-canvas-container",
|
|
34133
34158
|
"data-testid": "datakit-configuration-canvas"
|
|
34134
|
-
},
|
|
34159
|
+
}, cF = { class: "canvas-wrapper" }, dF = /* @__PURE__ */ Oe({
|
|
34135
34160
|
__name: "DatakitConfigCardCanvas",
|
|
34136
34161
|
props: {
|
|
34137
34162
|
pluginData: {},
|
|
@@ -34144,8 +34169,8 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34144
34169
|
});
|
|
34145
34170
|
return qp(e.pluginData), (n, i) => {
|
|
34146
34171
|
const o = xe("KLabel");
|
|
34147
|
-
return t.value ? (S(), le("div",
|
|
34148
|
-
ee("div",
|
|
34172
|
+
return t.value ? (S(), le("div", sF, [
|
|
34173
|
+
ee("div", lF, [
|
|
34149
34174
|
C(o, null, {
|
|
34150
34175
|
default: N(() => [...i[0] || (i[0] = [
|
|
34151
34176
|
ee("span", { class: "label-content" }, " Nodes ", -1)
|
|
@@ -34153,8 +34178,8 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34153
34178
|
_: 1
|
|
34154
34179
|
})
|
|
34155
34180
|
]),
|
|
34156
|
-
ee("div",
|
|
34157
|
-
ee("div",
|
|
34181
|
+
ee("div", uF, [
|
|
34182
|
+
ee("div", cF, [
|
|
34158
34183
|
C(du, {
|
|
34159
34184
|
class: "datakit-flow-panels",
|
|
34160
34185
|
mode: "view",
|
|
@@ -34168,7 +34193,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34168
34193
|
}, null, 8, ["item"]));
|
|
34169
34194
|
};
|
|
34170
34195
|
}
|
|
34171
|
-
}),
|
|
34196
|
+
}), pF = /* @__PURE__ */ Ve(dF, [["__scopeId", "data-v-9a3ef1ac"]]), fF = { class: "kong-ui-entity-plugin-config-card" }, mF = { class: "name-cell-wrapper" }, gF = { class: "info-name" }, hF = { key: 0 }, yF = { key: 0 }, vF = { key: 0 }, _F = { key: 0 }, bF = { key: 0 }, Ts = "config", wF = /* @__PURE__ */ Oe({
|
|
34172
34197
|
__name: "PluginConfigCard",
|
|
34173
34198
|
props: {
|
|
34174
34199
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -34308,7 +34333,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34308
34333
|
}
|
|
34309
34334
|
}), (k, w) => {
|
|
34310
34335
|
const T = xe("KSkeleton"), P = xe("KEmptyState"), q = xe("KCopy");
|
|
34311
|
-
return S(), le("div",
|
|
34336
|
+
return S(), le("div", fF, [
|
|
34312
34337
|
b.value ? (S(), Z(T, {
|
|
34313
34338
|
key: 0,
|
|
34314
34339
|
"data-testid": "plugin-config-card-loader",
|
|
@@ -34340,13 +34365,13 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34340
34365
|
onLoading: w[2] || (w[2] = (A) => k.$emit("loading", A))
|
|
34341
34366
|
}, vt({
|
|
34342
34367
|
name: N((A) => [
|
|
34343
|
-
ee("div",
|
|
34368
|
+
ee("div", mF, [
|
|
34344
34369
|
C(u(qi), {
|
|
34345
34370
|
class: "plugin-icon",
|
|
34346
34371
|
name: u(l)("rowValue", A),
|
|
34347
34372
|
size: 24
|
|
34348
34373
|
}, null, 8, ["name"]),
|
|
34349
|
-
ee("span",
|
|
34374
|
+
ee("span", gF, ue(u(r).getDisplayName(u(l)("rowValue", A))), 1)
|
|
34350
34375
|
])
|
|
34351
34376
|
]),
|
|
34352
34377
|
consumer: N((A) => [
|
|
@@ -34363,7 +34388,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34363
34388
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34364
34389
|
"data-testid": "consumer-copy-uuid",
|
|
34365
34390
|
text: u(l)("rowValue", A).id
|
|
34366
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34391
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", hF, "–"))
|
|
34367
34392
|
]),
|
|
34368
34393
|
route: N((A) => [
|
|
34369
34394
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34379,7 +34404,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34379
34404
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34380
34405
|
"data-testid": "route-copy-uuid",
|
|
34381
34406
|
text: u(l)("rowValue", A).id
|
|
34382
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34407
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", yF, "–"))
|
|
34383
34408
|
]),
|
|
34384
34409
|
service: N((A) => [
|
|
34385
34410
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34395,7 +34420,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34395
34420
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34396
34421
|
"data-testid": "service-copy-uuid",
|
|
34397
34422
|
text: u(l)("rowValue", A).id
|
|
34398
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34423
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", vF, "–"))
|
|
34399
34424
|
]),
|
|
34400
34425
|
consumer_group: N((A) => [
|
|
34401
34426
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34411,7 +34436,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34411
34436
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34412
34437
|
"data-testid": "consumer-group-copy-uuid",
|
|
34413
34438
|
text: u(l)("rowValue", A).id
|
|
34414
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34439
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", _F, "–"))
|
|
34415
34440
|
]),
|
|
34416
34441
|
partials: N((A) => {
|
|
34417
34442
|
var I, O, R, j, Q, G, oe, F, X;
|
|
@@ -34432,7 +34457,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34432
34457
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34433
34458
|
"data-testid": "partial-copy-uuid",
|
|
34434
34459
|
text: (X = u(l)("rowValue", A)) == null ? void 0 : X[0].id
|
|
34435
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34460
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", bF, "–"))
|
|
34436
34461
|
];
|
|
34437
34462
|
}),
|
|
34438
34463
|
_: 2
|
|
@@ -34440,7 +34465,7 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34440
34465
|
e.config.pluginType === "datakit" && e.config.app === "konnect" ? {
|
|
34441
34466
|
name: "config-card-item-nodes",
|
|
34442
34467
|
fn: N((A) => [
|
|
34443
|
-
C(
|
|
34468
|
+
C(pF, {
|
|
34444
34469
|
item: A.row,
|
|
34445
34470
|
"plugin-data": A.record
|
|
34446
34471
|
}, null, 8, ["item", "plugin-data"])
|
|
@@ -34451,12 +34476,12 @@ const mM = { class: "kong-ui-entities-plugin-form" }, gM = {
|
|
|
34451
34476
|
]);
|
|
34452
34477
|
};
|
|
34453
34478
|
}
|
|
34454
|
-
}),
|
|
34479
|
+
}), yK = /* @__PURE__ */ Ve(wF, [["__scopeId", "data-v-03dcf2b4"]]), { usePluginMetaData: vK, useProvideExperimentalFreeForms: _K } = lt;
|
|
34455
34480
|
export {
|
|
34456
34481
|
Zt as ArrayField,
|
|
34457
34482
|
kn as BooleanField,
|
|
34458
34483
|
mm as CommonForm,
|
|
34459
|
-
|
|
34484
|
+
pK as CustomPluginForm,
|
|
34460
34485
|
li as DynamicLayout,
|
|
34461
34486
|
$p as EXPERIMENTAL_FREE_FORM_PROVIDER,
|
|
34462
34487
|
lo as EntityTypeIdField,
|
|
@@ -34477,19 +34502,19 @@ export {
|
|
|
34477
34502
|
zp as NodeBadge,
|
|
34478
34503
|
Wt as NumberField,
|
|
34479
34504
|
zt as ObjectField,
|
|
34480
|
-
|
|
34481
|
-
|
|
34505
|
+
hK as PluginCatalog,
|
|
34506
|
+
yK as PluginConfigCard,
|
|
34482
34507
|
yI as PluginConfigurationForm,
|
|
34483
34508
|
Ys as PluginFeaturedArray,
|
|
34484
|
-
|
|
34485
|
-
|
|
34509
|
+
fK as PluginForm,
|
|
34510
|
+
xK as PluginGroup,
|
|
34486
34511
|
mc as PluginGroupArray,
|
|
34487
34512
|
Js as PluginGroupArraySortedAlphabetically,
|
|
34488
|
-
|
|
34489
|
-
|
|
34513
|
+
kK as PluginIcon,
|
|
34514
|
+
mK as PluginList,
|
|
34490
34515
|
Ws as PluginPartialType,
|
|
34491
|
-
|
|
34492
|
-
|
|
34516
|
+
SK as PluginScope,
|
|
34517
|
+
gK as PluginSelect,
|
|
34493
34518
|
Hm as PluginSelectCard,
|
|
34494
34519
|
Qc as PluginSelectGrid,
|
|
34495
34520
|
Na as StringArrayField,
|
|
@@ -34503,12 +34528,12 @@ export {
|
|
|
34503
34528
|
zE as buildSchemaMap,
|
|
34504
34529
|
zl as defaultLabelFormatter,
|
|
34505
34530
|
ra as generalizePath,
|
|
34506
|
-
|
|
34531
|
+
CK as getPluginIconURL,
|
|
34507
34532
|
Fm as pluginConfigRegistry,
|
|
34508
34533
|
ot as pluginEndpoints,
|
|
34509
34534
|
qp as provideEditorStore,
|
|
34510
34535
|
ex as provideFormShared,
|
|
34511
|
-
|
|
34536
|
+
XF as renderRuleExactMatch,
|
|
34512
34537
|
nf as replaceByDictionary,
|
|
34513
34538
|
of as replaceByDictionaryInFieldName,
|
|
34514
34539
|
qt as useEditorStore,
|
|
@@ -34524,9 +34549,9 @@ export {
|
|
|
34524
34549
|
ax as useLabelPath,
|
|
34525
34550
|
Gl as useMapField,
|
|
34526
34551
|
tx as useOptionalFormShared,
|
|
34527
|
-
|
|
34528
|
-
|
|
34529
|
-
|
|
34552
|
+
vK as usePluginMetaData,
|
|
34553
|
+
_K as useProvideExperimentalFreeForms,
|
|
34554
|
+
dK as useProvideFreeFormPluginLayout,
|
|
34530
34555
|
ix as useSchemaExposer,
|
|
34531
34556
|
GE as useSchemaHelpers
|
|
34532
34557
|
};
|