@kong-ui-public/entities-plugins 9.190.0 → 9.190.1-pr.3131.3587f0a97.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as ge, useModel as qi, inject as bt, ref as ae, computed as D, onMounted as Tn, resolveComponent as ue, openBlock as C, createBlock as Y, toRef as lt, createElementBlock as te, createVNode as E, isRef as Pr, unref as s, markRaw as $p, toValue as ot, readonly as cu, watch as He, onBeforeUnmount as du, reactive as Hn, useSlots as un, provide as qt, toRaw as ko, onUnmounted as Rr, useAttrs as Yi, mergeProps as Ze, createSlots as ut, renderList as Je, withCtx as R, renderSlot as Qe, normalizeProps as Cn, guardReactiveProps as hi, createPropsRestProxy as cn, withDirectives as Nt, createElementVNode as W, resolveDynamicComponent as xt, createCommentVNode as ce, Fragment as Fe, vShow as Pt, useCssVars as Ra, useTemplateRef as
|
|
1
|
+
import { defineComponent as ge, useModel as qi, inject as bt, ref as ae, computed as D, onMounted as Tn, resolveComponent as ue, openBlock as C, createBlock as Y, toRef as lt, createElementBlock as te, createVNode as E, isRef as Pr, unref as s, markRaw as $p, toValue as ot, readonly as cu, watch as He, onBeforeUnmount as du, reactive as Hn, useSlots as un, provide as qt, toRaw as ko, onUnmounted as Rr, useAttrs as Yi, mergeProps as Ze, createSlots as ut, renderList as Je, withCtx as R, renderSlot as Qe, normalizeProps as Cn, guardReactiveProps as hi, createPropsRestProxy as cn, withDirectives as Nt, createElementVNode as W, resolveDynamicComponent as xt, createCommentVNode as ce, Fragment as Fe, vShow as Pt, useCssVars as Ra, useTemplateRef as dt, normalizeClass as at, createTextVNode as _e, toDisplayString as ne, withModifiers as kt, nextTick as Yt, Transition as Np, useId as Ma, onBeforeMount as vi, mergeModels as va, withKeys as Cs, shallowRef as en, Teleport as xo, warn as Pp, onScopeDispose as Rp, normalizeStyle as li, watchEffect as Mp } from "vue";
|
|
2
2
|
import { useStringHelpers as Co, ConfigurationSchemaType as Dt, useAxios as jn, useErrors as ei, EntityFormBlock as yn, FEATURE_FLAGS as pu, EntityBaseForm as fu, SupportedEntityType as ua, useHelpers as Fa, EntityBaseFormType as ni, DeckCodeBlock as Fp, TerraformCodeBlock as Lp, YamlCodeBlock as Kp, JsonCodeBlock as jp, useTableState as Dp, useGatewayFeatureSupported as qp, useFetcher as Vp, useDeleteUrlBuilder as Up, FetcherStatus as Bp, EntityBaseTable as zp, PermissionsWrapper as ii, TableTags as Gp, EntityFilter as Hp, EntityToggleModal as Wp, EntityDeleteModal as mu, EntityTypes as gu, ConfigCardItem as Yp, ConfigurationSchemaSection as Ii, useSchemaProvider as Jp, EntityBaseConfigCard as Xp, InternalLinkItem as ia } from "@kong-ui-public/entities-shared";
|
|
3
3
|
import { AddIcon as sn, CloseIcon as Eo, TrashIcon as hu, ChevronRightIcon as Zp, InfoIcon as Qp, SparklesIcon as ef, NetworkIcon as tf, CachedIcon as nf, ArrowSplitIcon as vu, GatewayIcon as af, CodeblockIcon as Mr, DataObjectIcon as of, CodeIcon as rf, StackIcon as sf, DeployIcon as yu, EditSquareIcon as lf, KeyIcon as _u, CloudIcon as Da, WarningIcon as uf, MoreIcon as Ji, UnfoldMoreIcon as Es, UnfoldLessIcon as As, RemoveIcon as Fr, FullscreenIcon as cf, AutoLayoutIcon as df, ChevronDownIcon as Is, ArrowLeftIcon as pf, ChevronDoubleLeftIcon as ff, ChevronDoubleRightIcon as mf, UndoIcon as gf, RedoIcon as hf, ExternalLinkIcon as vf, DatabaseIcon as yf, ExpandIcon as _f, DesignIcon as bf, ClearIcon as qa, CheckCircleIcon as wf, BookIcon as Ts, PlugIcon as kf, TransformationIcon as xf, TrafficIcon as Cf, RuntimeServerlessIcon as Ef, SecurityIcon as Af, MoneyIcon as If, ServiceDocumentIcon as Tf, LockIcon as Sf, AnalyticsIcon as Of, BotIcon as $f, PopularIcon as Nf, GridIcon as Pf, ListIcon as Rf } from "@kong/icons";
|
|
4
4
|
import { KTextArea as Mf, KInput as Ff, KCheckbox as Lf, KCard as to, KLabel as En, KMultiselect as Kf, KSelect as jf, KInputSwitch as Df, KTooltip as mn, KRadio as ya, KCollapse as qf, KAlert as Vf, KButton as Pn, KModal as Uf, KDropdown as bu, KDropdownItem as Ja, KSlideout as Bf, KSegmentedControl as zf, KExternalLink as Ss } from "@kong/kongponents";
|
|
5
5
|
import { PluginIcon as ui } from "@kong-ui-public/entities-plugins-icon";
|
|
6
|
-
import { PluginIcon as
|
|
6
|
+
import { PluginIcon as c2, getPluginIconURL as d2 } from "@kong-ui-public/entities-plugins-icon";
|
|
7
7
|
import { createI18n as Rt, i18nTComponent as Gf } from "@kong-ui-public/i18n";
|
|
8
8
|
import { PluginGroup as Ge, PLUGIN_GROUP_AND_SCOPE_MAP as me, PluginScope as yt, GATEWAY_VERSION_TIMESTAMP_MAP as Hf } from "@kong-ui-public/entities-plugins-metadata";
|
|
9
|
-
import { PluginGroup as
|
|
9
|
+
import { PluginGroup as f2, PluginScope as m2 } from "@kong-ui-public/entities-plugins-metadata";
|
|
10
10
|
import { FORMS_CONFIG as yi, composables as Wf, AUTOFILL_SLOT as ti, FORMS_API_KEY as wu, FieldScopedEntitySelect as Yf, AUTOFILL_SLOT_NAME as Mn, getSharedFormName as ku, customFields as rr, sharedForms as Jf, VueFormGenerator as Xf } from "@kong-ui-public/forms";
|
|
11
11
|
import { marked as Xa } from "marked";
|
|
12
12
|
import { createInjectionState as Lr, useLocalStorage as Za, useManualRefHistory as Zf, createGlobalState as Qf, useEventListener as _a, createSharedComposable as em, useElementBounding as ai, useDraggable as tm, useScrollLock as nm } from "@vueuse/core";
|
|
@@ -6094,7 +6094,7 @@ const ea = /* @__PURE__ */ ge({
|
|
|
6094
6094
|
]);
|
|
6095
6095
|
};
|
|
6096
6096
|
}
|
|
6097
|
-
}),
|
|
6097
|
+
}), pt = /* @__PURE__ */ Ie(Fw, [["__scopeId", "data-v-09d6ccb2"]]), Lw = ["innerHTML"], Kw = /* @__PURE__ */ ge({
|
|
6098
6098
|
__name: "BooleanField",
|
|
6099
6099
|
props: {
|
|
6100
6100
|
labelAttributes: {},
|
|
@@ -6244,7 +6244,7 @@ const ea = /* @__PURE__ */ ge({
|
|
|
6244
6244
|
}, x = async (k) => {
|
|
6245
6245
|
var O;
|
|
6246
6246
|
Array.isArray(l.value) && l.value.splice(k, 1), i("remove", k), n.appearance === "tabs" && (A.value = (O = v.value[Math.max(0, k - 1)]) == null ? void 0 : O.hash);
|
|
6247
|
-
}, b =
|
|
6247
|
+
}, b = dt("root");
|
|
6248
6248
|
function S(k) {
|
|
6249
6249
|
if (!b.value)
|
|
6250
6250
|
return;
|
|
@@ -7124,7 +7124,7 @@ const ea = /* @__PURE__ */ ge({
|
|
|
7124
7124
|
}), h = D(() => {
|
|
7125
7125
|
var b, S;
|
|
7126
7126
|
return ((b = g.value) == null ? void 0 : b.type) === "string" && !((S = g.value) != null && S.one_of);
|
|
7127
|
-
}), _ = D(() => m.value ? "div" : to), y =
|
|
7127
|
+
}), _ = D(() => m.value ? "div" : to), y = dt("root");
|
|
7128
7128
|
function v(b, S) {
|
|
7129
7129
|
var M, H;
|
|
7130
7130
|
(H = (M = i.appearance) == null ? void 0 : M.string) != null && H.multiline || (b.preventDefault(), S === a.value.length - 1 && l(), A(S + 1));
|
|
@@ -7204,7 +7204,7 @@ const ea = /* @__PURE__ */ ge({
|
|
|
7204
7204
|
onKeydown: Cs(kt((K) => A(J), ["prevent"]), ["enter"]),
|
|
7205
7205
|
"onUpdate:modelValue": (K) => s(r)(N, K)
|
|
7206
7206
|
}, null, 8, ["data-key-input", "data-testid", "model-value", "placeholder", "onKeydown", "onUpdate:modelValue"]),
|
|
7207
|
-
h.value ? (C(), Y(
|
|
7207
|
+
h.value ? (C(), Y(pt, {
|
|
7208
7208
|
key: 0,
|
|
7209
7209
|
"inline-vault-picker": "",
|
|
7210
7210
|
multiline: (V = (U = e.appearance) == null ? void 0 : U.string) == null ? void 0 : V.multiline,
|
|
@@ -7270,7 +7270,7 @@ const ea = /* @__PURE__ */ ge({
|
|
|
7270
7270
|
var o, a;
|
|
7271
7271
|
switch ((a = (o = n.schema) == null ? void 0 : o.value) == null ? void 0 : a.type) {
|
|
7272
7272
|
case "string":
|
|
7273
|
-
return "one_of" in n.schema.value ? Lt :
|
|
7273
|
+
return "one_of" in n.schema.value ? Lt : pt;
|
|
7274
7274
|
case "boolean":
|
|
7275
7275
|
return "one_of" in n.schema.value ? Lt : Ln;
|
|
7276
7276
|
case "number":
|
|
@@ -9223,7 +9223,7 @@ const pC = {
|
|
|
9223
9223
|
]),
|
|
9224
9224
|
_: 1
|
|
9225
9225
|
}, 8, ["for", "label"]),
|
|
9226
|
-
E(
|
|
9226
|
+
E(pt, {
|
|
9227
9227
|
"input-id": s(t),
|
|
9228
9228
|
label: "",
|
|
9229
9229
|
name: "condition",
|
|
@@ -9406,7 +9406,7 @@ const pC = {
|
|
|
9406
9406
|
return ((U = m.value) == null ? void 0 : U.fields.map((V) => V.model)) ?? [];
|
|
9407
9407
|
}), x = D(() => w.value.map((U) => U.split("-")[0])), b = ae(
|
|
9408
9408
|
o.isEditing ? _l(A.value, x.value) : F()
|
|
9409
|
-
), S = ae(Object.values(b.value).some(N)), M =
|
|
9409
|
+
), S = ae(Object.values(b.value).some(N)), M = dt("form");
|
|
9410
9410
|
let H = !1;
|
|
9411
9411
|
function I() {
|
|
9412
9412
|
if (!M.value) return;
|
|
@@ -9621,7 +9621,7 @@ const pC = {
|
|
|
9621
9621
|
label: s(i)("plugins.form.fields.plugin_status.label"),
|
|
9622
9622
|
name: "enabled"
|
|
9623
9623
|
}, null, 8, ["disabled-text", "enabled-text", "label"])) : ce("", !0),
|
|
9624
|
-
v.value.has("instance_name") ? (C(), Y(
|
|
9624
|
+
v.value.has("instance_name") ? (C(), Y(pt, {
|
|
9625
9625
|
key: 1,
|
|
9626
9626
|
label: s(i)("plugins.form.fields.instance_name.label"),
|
|
9627
9627
|
name: "instance_name",
|
|
@@ -9783,7 +9783,7 @@ const pC = {
|
|
|
9783
9783
|
name: "tags",
|
|
9784
9784
|
placeholder: s(t)("plugins.form.fields.tags.placeholder")
|
|
9785
9785
|
}, null, 8, ["placeholder"])) : ce("", !0),
|
|
9786
|
-
s(n)("condition") ? (C(), Y(
|
|
9786
|
+
s(n)("condition") ? (C(), Y(pt, {
|
|
9787
9787
|
key: 3,
|
|
9788
9788
|
name: "condition",
|
|
9789
9789
|
placeholder: s(t)("plugins.form.fields.condition.placeholder")
|
|
@@ -9924,16 +9924,16 @@ const pC = {
|
|
|
9924
9924
|
};
|
|
9925
9925
|
}
|
|
9926
9926
|
});
|
|
9927
|
-
function
|
|
9927
|
+
function ct(e = {}) {
|
|
9928
9928
|
return {
|
|
9929
9929
|
...e,
|
|
9930
9930
|
component: e.component ?? Ld
|
|
9931
9931
|
};
|
|
9932
9932
|
}
|
|
9933
|
-
const SC =
|
|
9933
|
+
const SC = ct({
|
|
9934
9934
|
experimental: !0,
|
|
9935
9935
|
component: EC
|
|
9936
|
-
}), OC =
|
|
9936
|
+
}), OC = ct({
|
|
9937
9937
|
fieldRenderers: [
|
|
9938
9938
|
{
|
|
9939
9939
|
match: "config.functions",
|
|
@@ -10042,20 +10042,20 @@ const SC = dt({
|
|
|
10042
10042
|
_: 1
|
|
10043
10043
|
}, 16));
|
|
10044
10044
|
}
|
|
10045
|
-
}), NC =
|
|
10045
|
+
}), NC = ct({
|
|
10046
10046
|
component: $C
|
|
10047
|
-
}), PC =
|
|
10047
|
+
}), PC = ct({
|
|
10048
10048
|
experimental: !0
|
|
10049
|
-
}), RC =
|
|
10049
|
+
}), RC = ct({
|
|
10050
10050
|
experimental: !0,
|
|
10051
10051
|
renderRules: {
|
|
10052
10052
|
dependencies: {
|
|
10053
10053
|
"config.brute_force_protection.redis": ["config.brute_force_protection.strategy", "redis"]
|
|
10054
10054
|
}
|
|
10055
10055
|
}
|
|
10056
|
-
}), MC =
|
|
10056
|
+
}), MC = ct({
|
|
10057
10057
|
experimental: !0
|
|
10058
|
-
}), FC =
|
|
10058
|
+
}), FC = ct({
|
|
10059
10059
|
experimental: !0,
|
|
10060
10060
|
fieldRenderers: [
|
|
10061
10061
|
{
|
|
@@ -12378,7 +12378,7 @@ function ep(e) {
|
|
|
12378
12378
|
height: o - n
|
|
12379
12379
|
};
|
|
12380
12380
|
}
|
|
12381
|
-
var
|
|
12381
|
+
var ft = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), hn = ft((e, t) => {
|
|
12382
12382
|
var n = Object.defineProperty, i = (N, F, J) => F in N ? n(N, F, { enumerable: !0, configurable: !0, writable: !0, value: J }) : N[F] = J, o = (N, F) => () => (F || N((F = { exports: {} }).exports, F), F.exports), a = (N, F, J) => i(N, typeof F != "symbol" ? F + "" : F, J), r = o((N, F) => {
|
|
12383
12383
|
var J = "\0", U = "\0", V = "", K = class {
|
|
12384
12384
|
constructor(q) {
|
|
@@ -12927,7 +12927,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
12927
12927
|
F.exports = { bellmanFord: f(), components: c(), dijkstra: m(), dijkstraAll: g(), extractPath: h(), findCycles: y(), floydWarshall: v(), isAcyclic: w(), postorder: S(), preorder: M(), prim: H(), shortestPaths: I(), reduce: x(), tarjan: _(), topsort: A() };
|
|
12928
12928
|
}), O = u();
|
|
12929
12929
|
t.exports = { Graph: O.Graph, json: d(), alg: k(), version: O.version };
|
|
12930
|
-
}), ZE =
|
|
12930
|
+
}), ZE = ft((e, t) => {
|
|
12931
12931
|
var n = class {
|
|
12932
12932
|
constructor() {
|
|
12933
12933
|
let a = {};
|
|
@@ -12954,7 +12954,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
12954
12954
|
if (a !== "_next" && a !== "_prev") return r;
|
|
12955
12955
|
}
|
|
12956
12956
|
t.exports = n;
|
|
12957
|
-
}), QE =
|
|
12957
|
+
}), QE = ft((e, t) => {
|
|
12958
12958
|
var n = hn().Graph, i = ZE();
|
|
12959
12959
|
t.exports = a;
|
|
12960
12960
|
var o = () => 1;
|
|
@@ -13008,7 +13008,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13008
13008
|
for (let m = 0; m < c; m++) p.push(m);
|
|
13009
13009
|
return p;
|
|
13010
13010
|
}
|
|
13011
|
-
}), It =
|
|
13011
|
+
}), It = ft((e, t) => {
|
|
13012
13012
|
var n = hn().Graph;
|
|
13013
13013
|
t.exports = { addBorderNode: p, addDummyNode: i, applyWithChunking: h, asNonCompoundGraph: a, buildLayerMatrix: d, intersectRect: u, mapValues: M, maxRank: _, normalizeRanks: f, notime: A, partition: y, pick: S, predecessorWeights: l, range: b, removeEmptyRanks: c, simplify: o, successorWeights: r, time: v, uniqueId: x, zipObject: H };
|
|
13014
13014
|
function i(I, k, O, N) {
|
|
@@ -13150,7 +13150,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13150
13150
|
function H(I, k) {
|
|
13151
13151
|
return I.reduce((O, N, F) => (O[N] = k[F], O), {});
|
|
13152
13152
|
}
|
|
13153
|
-
}), eA =
|
|
13153
|
+
}), eA = ft((e, t) => {
|
|
13154
13154
|
var n = QE(), i = It().uniqueId;
|
|
13155
13155
|
t.exports = { run: o, undo: r };
|
|
13156
13156
|
function o(l) {
|
|
@@ -13181,7 +13181,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13181
13181
|
}
|
|
13182
13182
|
});
|
|
13183
13183
|
}
|
|
13184
|
-
}), tA =
|
|
13184
|
+
}), tA = ft((e, t) => {
|
|
13185
13185
|
var n = It();
|
|
13186
13186
|
t.exports = { run: i, undo: a };
|
|
13187
13187
|
function i(r) {
|
|
@@ -13201,7 +13201,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13201
13201
|
for (r.setEdge(u.edgeObj, d); u.dummy; ) f = r.successors(l)[0], r.removeNode(l), d.points.push({ x: u.x, y: u.y }), u.dummy === "edge-label" && (d.x = u.x, d.y = u.y, d.width = u.width, d.height = u.height), l = f, u = r.node(l);
|
|
13202
13202
|
});
|
|
13203
13203
|
}
|
|
13204
|
-
}), yo =
|
|
13204
|
+
}), yo = ft((e, t) => {
|
|
13205
13205
|
var { applyWithChunking: n } = It();
|
|
13206
13206
|
t.exports = { longestPath: i, slack: o };
|
|
13207
13207
|
function i(a) {
|
|
@@ -13219,7 +13219,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13219
13219
|
function o(a, r) {
|
|
13220
13220
|
return a.node(r.w).rank - a.node(r.v).rank - a.edge(r).minlen;
|
|
13221
13221
|
}
|
|
13222
|
-
}), tp =
|
|
13222
|
+
}), tp = ft((e, t) => {
|
|
13223
13223
|
var n = hn().Graph, i = yo().slack;
|
|
13224
13224
|
t.exports = o;
|
|
13225
13225
|
function o(u) {
|
|
@@ -13246,7 +13246,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13246
13246
|
function l(u, d, f) {
|
|
13247
13247
|
u.nodes().forEach((c) => d.node(c).rank += f);
|
|
13248
13248
|
}
|
|
13249
|
-
}), nA =
|
|
13249
|
+
}), nA = ft((e, t) => {
|
|
13250
13250
|
var n = tp(), i = yo().slack, o = yo().longestPath, a = hn().alg.preorder, r = hn().alg.postorder, l = It().simplify;
|
|
13251
13251
|
t.exports = u, u.initLowLimValues = p, u.initCutValues = d, u.calcCutValue = c, u.leaveEdge = g, u.enterEdge = h, u.exchangeEdges = _;
|
|
13252
13252
|
function u(w) {
|
|
@@ -13313,7 +13313,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13313
13313
|
function A(w, x, b) {
|
|
13314
13314
|
return b.low <= x.lim && x.lim <= b.lim;
|
|
13315
13315
|
}
|
|
13316
|
-
}), iA =
|
|
13316
|
+
}), iA = ft((e, t) => {
|
|
13317
13317
|
var n = yo(), i = n.longestPath, o = tp(), a = nA();
|
|
13318
13318
|
t.exports = r;
|
|
13319
13319
|
function r(f) {
|
|
@@ -13342,7 +13342,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13342
13342
|
function d(f) {
|
|
13343
13343
|
a(f);
|
|
13344
13344
|
}
|
|
13345
|
-
}), aA =
|
|
13345
|
+
}), aA = ft((e, t) => {
|
|
13346
13346
|
t.exports = n;
|
|
13347
13347
|
function n(a) {
|
|
13348
13348
|
let r = o(a);
|
|
@@ -13378,7 +13378,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13378
13378
|
}
|
|
13379
13379
|
return a.children().forEach(u), r;
|
|
13380
13380
|
}
|
|
13381
|
-
}), oA =
|
|
13381
|
+
}), oA = ft((e, t) => {
|
|
13382
13382
|
var n = It();
|
|
13383
13383
|
t.exports = { run: i, cleanup: l };
|
|
13384
13384
|
function i(u) {
|
|
@@ -13418,7 +13418,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13418
13418
|
c.nestingEdge && u.removeEdge(f);
|
|
13419
13419
|
});
|
|
13420
13420
|
}
|
|
13421
|
-
}), rA =
|
|
13421
|
+
}), rA = ft((e, t) => {
|
|
13422
13422
|
var n = It();
|
|
13423
13423
|
t.exports = i;
|
|
13424
13424
|
function i(a) {
|
|
@@ -13435,7 +13435,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13435
13435
|
let c = { width: 0, height: 0, rank: f, borderType: r }, p = d[r][f - 1], m = n.addDummyNode(a, "border", c, l);
|
|
13436
13436
|
d[r][f] = m, a.setParent(m, u), p && a.setEdge(p, m, { weight: 1 });
|
|
13437
13437
|
}
|
|
13438
|
-
}), sA =
|
|
13438
|
+
}), sA = ft((e, t) => {
|
|
13439
13439
|
t.exports = { adjust: n, undo: i };
|
|
13440
13440
|
function n(f) {
|
|
13441
13441
|
let c = f.graph().rankdir.toLowerCase();
|
|
@@ -13471,7 +13471,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13471
13471
|
let c = f.x;
|
|
13472
13472
|
f.x = f.y, f.y = c;
|
|
13473
13473
|
}
|
|
13474
|
-
}), lA =
|
|
13474
|
+
}), lA = ft((e, t) => {
|
|
13475
13475
|
var n = It();
|
|
13476
13476
|
t.exports = i;
|
|
13477
13477
|
function i(o) {
|
|
@@ -13484,7 +13484,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13484
13484
|
}
|
|
13485
13485
|
return r.sort((c, p) => o.node(c).rank - o.node(p).rank).forEach(f), d;
|
|
13486
13486
|
}
|
|
13487
|
-
}), uA =
|
|
13487
|
+
}), uA = ft((e, t) => {
|
|
13488
13488
|
var n = It().zipObject;
|
|
13489
13489
|
t.exports = i;
|
|
13490
13490
|
function i(a, r) {
|
|
@@ -13506,7 +13506,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13506
13506
|
m += g.weight * _;
|
|
13507
13507
|
}), m;
|
|
13508
13508
|
}
|
|
13509
|
-
}), cA =
|
|
13509
|
+
}), cA = ft((e, t) => {
|
|
13510
13510
|
t.exports = n;
|
|
13511
13511
|
function n(i, o = []) {
|
|
13512
13512
|
return o.map((a) => {
|
|
@@ -13520,7 +13520,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13520
13520
|
} else return { v: a };
|
|
13521
13521
|
});
|
|
13522
13522
|
}
|
|
13523
|
-
}), dA =
|
|
13523
|
+
}), dA = ft((e, t) => {
|
|
13524
13524
|
var n = It();
|
|
13525
13525
|
t.exports = i;
|
|
13526
13526
|
function i(r, l) {
|
|
@@ -13557,7 +13557,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13557
13557
|
let u = 0, d = 0;
|
|
13558
13558
|
r.weight && (u += r.barycenter * r.weight, d += r.weight), l.weight && (u += l.barycenter * l.weight, d += l.weight), r.vs = l.vs.concat(r.vs), r.barycenter = u / d, r.weight = d, r.i = Math.min(l.i, r.i), l.merged = !0;
|
|
13559
13559
|
}
|
|
13560
|
-
}), pA =
|
|
13560
|
+
}), pA = ft((e, t) => {
|
|
13561
13561
|
var n = It();
|
|
13562
13562
|
t.exports = i;
|
|
13563
13563
|
function i(r, l) {
|
|
@@ -13576,7 +13576,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13576
13576
|
function a(r) {
|
|
13577
13577
|
return (l, u) => l.barycenter < u.barycenter ? -1 : l.barycenter > u.barycenter ? 1 : r ? u.i - l.i : l.i - u.i;
|
|
13578
13578
|
}
|
|
13579
|
-
}), fA =
|
|
13579
|
+
}), fA = ft((e, t) => {
|
|
13580
13580
|
var n = cA(), i = dA(), o = pA();
|
|
13581
13581
|
t.exports = a;
|
|
13582
13582
|
function a(u, d, f, c) {
|
|
@@ -13606,7 +13606,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13606
13606
|
function l(u, d) {
|
|
13607
13607
|
u.barycenter !== void 0 ? (u.barycenter = (u.barycenter * u.weight + d.barycenter * d.weight) / (u.weight + d.weight), u.weight += d.weight) : (u.barycenter = d.barycenter, u.weight = d.weight);
|
|
13608
13608
|
}
|
|
13609
|
-
}), mA =
|
|
13609
|
+
}), mA = ft((e, t) => {
|
|
13610
13610
|
var n = hn().Graph, i = It();
|
|
13611
13611
|
t.exports = o;
|
|
13612
13612
|
function o(r, l, u, d) {
|
|
@@ -13624,7 +13624,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13624
13624
|
for (var l; r.hasNode(l = i.uniqueId("_root")); ) ;
|
|
13625
13625
|
return l;
|
|
13626
13626
|
}
|
|
13627
|
-
}), gA =
|
|
13627
|
+
}), gA = ft((e, t) => {
|
|
13628
13628
|
t.exports = n;
|
|
13629
13629
|
function n(i, o, a) {
|
|
13630
13630
|
let r = {}, l;
|
|
@@ -13639,7 +13639,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13639
13639
|
}
|
|
13640
13640
|
});
|
|
13641
13641
|
}
|
|
13642
|
-
}), hA =
|
|
13642
|
+
}), hA = ft((e, t) => {
|
|
13643
13643
|
var n = lA(), i = uA(), o = fA(), a = mA(), r = gA(), l = hn().Graph, u = It();
|
|
13644
13644
|
t.exports = d;
|
|
13645
13645
|
function d(m, g = {}) {
|
|
@@ -13680,7 +13680,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13680
13680
|
function p(m, g) {
|
|
13681
13681
|
Object.values(g).forEach((h) => h.forEach((_, y) => m.node(_).order = y));
|
|
13682
13682
|
}
|
|
13683
|
-
}), vA =
|
|
13683
|
+
}), vA = ft((e, t) => {
|
|
13684
13684
|
var n = hn().Graph, i = It();
|
|
13685
13685
|
t.exports = { positionX: h, findType1Conflicts: o, findType2Conflicts: a, addConflict: l, hasConflict: u, verticalAlignment: d, horizontalCompaction: f, alignCoordinates: m, findSmallestWidthAlignment: p, balance: g };
|
|
13686
13686
|
function o(v, A) {
|
|
@@ -13865,7 +13865,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13865
13865
|
function y(v, A) {
|
|
13866
13866
|
return v.node(A).width;
|
|
13867
13867
|
}
|
|
13868
|
-
}), yA =
|
|
13868
|
+
}), yA = ft((e, t) => {
|
|
13869
13869
|
var n = It(), i = vA().positionX;
|
|
13870
13870
|
t.exports = o;
|
|
13871
13871
|
function o(r) {
|
|
@@ -13884,7 +13884,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
13884
13884
|
}), f += p + u;
|
|
13885
13885
|
});
|
|
13886
13886
|
}
|
|
13887
|
-
}), _A =
|
|
13887
|
+
}), _A = ft((e, t) => {
|
|
13888
13888
|
var n = eA(), i = tA(), o = iA(), a = It().normalizeRanks, r = aA(), l = It().removeEmptyRanks, u = oA(), d = rA(), f = sA(), c = hA(), p = yA(), m = It(), g = hn().Graph;
|
|
13889
13889
|
t.exports = h;
|
|
13890
13890
|
function h(T, j = {}) {
|
|
@@ -14040,7 +14040,7 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
14040
14040
|
typeof z == "string" && (z = z.toLowerCase()), j[z] = ee;
|
|
14041
14041
|
}), j;
|
|
14042
14042
|
}
|
|
14043
|
-
}), bA =
|
|
14043
|
+
}), bA = ft((e, t) => {
|
|
14044
14044
|
var n = It(), i = hn().Graph;
|
|
14045
14045
|
t.exports = { debugOrdering: o };
|
|
14046
14046
|
function o(a) {
|
|
@@ -14052,9 +14052,9 @@ var pt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
|
|
|
14052
14052
|
l.setNode(f, { rank: "same" }), u.reduce((c, p) => (l.setEdge(c, p, { style: "invis" }), p));
|
|
14053
14053
|
}), l;
|
|
14054
14054
|
}
|
|
14055
|
-
}), wA =
|
|
14055
|
+
}), wA = ft((e, t) => {
|
|
14056
14056
|
t.exports = "2.0.4";
|
|
14057
|
-
}), kA =
|
|
14057
|
+
}), kA = ft((e, t) => {
|
|
14058
14058
|
t.exports = { graphlib: hn(), layout: _A(), debug: bA(), util: { time: It().time, notime: It().notime }, version: wA() };
|
|
14059
14059
|
});
|
|
14060
14060
|
const Yl = kA();
|
|
@@ -15604,7 +15604,7 @@ const FA = {
|
|
|
15604
15604
|
},
|
|
15605
15605
|
emits: ["initialized", "nodes-change"],
|
|
15606
15606
|
setup(e, { expose: t, emit: n }) {
|
|
15607
|
-
const i = n, o =
|
|
15607
|
+
const i = n, o = dt("flowCanvas"), a = ai(o), { i18n: { t: r } } = We(), {
|
|
15608
15608
|
vueFlowStore: l,
|
|
15609
15609
|
editorStore: u,
|
|
15610
15610
|
autoLayout: d,
|
|
@@ -15796,7 +15796,7 @@ const FA = {
|
|
|
15796
15796
|
y(h, _), y(_, h), He(c, (fe) => {
|
|
15797
15797
|
fe && (h.removeSelectedElements(), _.removeSelectedElements());
|
|
15798
15798
|
});
|
|
15799
|
-
const v =
|
|
15799
|
+
const v = dt("flowPanels"), A = dt("requestLabel"), w = dt("requestCanvasContainer"), x = dt("requestFlow"), b = dt("resizeHandle"), S = dt("responseLabel"), M = dt("responseCanvasContainer"), H = dt("responseFlow"), I = ai(v), k = ai(A), O = ai(w), N = ai(b), F = ai(S), J = ai(M), U = D(() => Math.max(pI, I.height.value * tr)), V = D(
|
|
15800
15800
|
() => I.height.value - k.height.value - N.height.value - F.height.value
|
|
15801
15801
|
), K = D(() => {
|
|
15802
15802
|
const fe = V.value;
|
|
@@ -17638,7 +17638,7 @@ const pn = B.object({
|
|
|
17638
17638
|
updateKey: l,
|
|
17639
17639
|
getKeyName: u,
|
|
17640
17640
|
field: d
|
|
17641
|
-
} = as(lt(n, "name")), { value: f } = Tt(lt(n, "name")), { i18n: { t: c } } = We(), p =
|
|
17641
|
+
} = as(lt(n, "name")), { value: f } = Tt(lt(n, "name")), { i18n: { t: c } } = We(), p = dt("root"), m = ae(null), g = ae({}), h = ae({});
|
|
17642
17642
|
let _;
|
|
17643
17643
|
const y = D(() => {
|
|
17644
17644
|
var k;
|
|
@@ -18519,7 +18519,7 @@ const fn = /* @__PURE__ */ ge({
|
|
|
18519
18519
|
nodeId: {}
|
|
18520
18520
|
},
|
|
18521
18521
|
setup(e) {
|
|
18522
|
-
const { i18n: { t } } = We(), n =
|
|
18522
|
+
const { i18n: { t } } = We(), n = dt("form"), i = Qt("call"), {
|
|
18523
18523
|
formData: o,
|
|
18524
18524
|
setName: a,
|
|
18525
18525
|
setConfig: r,
|
|
@@ -18568,7 +18568,7 @@ const fn = /* @__PURE__ */ ge({
|
|
|
18568
18568
|
]),
|
|
18569
18569
|
_: 1
|
|
18570
18570
|
}),
|
|
18571
|
-
E(
|
|
18571
|
+
E(pt, {
|
|
18572
18572
|
error: s(h).error,
|
|
18573
18573
|
"error-message": s(h).errorMessage,
|
|
18574
18574
|
name: "url",
|
|
@@ -18586,7 +18586,7 @@ const fn = /* @__PURE__ */ ge({
|
|
|
18586
18586
|
onBlur: s(_).validate,
|
|
18587
18587
|
"onUpdate:modelValue": s(_).update
|
|
18588
18588
|
}, null, 8, ["error", "error-message", "onBlur", "onUpdate:modelValue"]),
|
|
18589
|
-
E(
|
|
18589
|
+
E(pt, {
|
|
18590
18590
|
name: "ssl_server_name",
|
|
18591
18591
|
"onUpdate:modelValue": v[1] || (v[1] = (w) => s(r)("ssl_server_name"))
|
|
18592
18592
|
}),
|
|
@@ -18614,7 +18614,7 @@ const fn = /* @__PURE__ */ ge({
|
|
|
18614
18614
|
nodeId: {}
|
|
18615
18615
|
},
|
|
18616
18616
|
setup(e) {
|
|
18617
|
-
const t =
|
|
18617
|
+
const t = dt("form"), n = Qt("service_request"), {
|
|
18618
18618
|
formData: i,
|
|
18619
18619
|
inputOptions: o,
|
|
18620
18620
|
setInputs: a,
|
|
@@ -18646,7 +18646,7 @@ const fn = /* @__PURE__ */ ge({
|
|
|
18646
18646
|
nodeId: {}
|
|
18647
18647
|
},
|
|
18648
18648
|
setup(e) {
|
|
18649
|
-
const t =
|
|
18649
|
+
const t = dt("form"), n = Qt("response"), {
|
|
18650
18650
|
formData: i,
|
|
18651
18651
|
inputOptions: o,
|
|
18652
18652
|
setInputs: a,
|
|
@@ -18678,7 +18678,7 @@ const fn = /* @__PURE__ */ ge({
|
|
|
18678
18678
|
nodeId: {}
|
|
18679
18679
|
},
|
|
18680
18680
|
setup(e) {
|
|
18681
|
-
const { i18n: { t }, i18nT: n } = We(), i =
|
|
18681
|
+
const { i18n: { t }, i18nT: n } = We(), i = dt("form"), o = Qt("jq"), {
|
|
18682
18682
|
formData: a,
|
|
18683
18683
|
setName: r,
|
|
18684
18684
|
setConfig: l,
|
|
@@ -18735,7 +18735,7 @@ const fn = /* @__PURE__ */ ge({
|
|
|
18735
18735
|
]),
|
|
18736
18736
|
_: 1
|
|
18737
18737
|
}),
|
|
18738
|
-
E(
|
|
18738
|
+
E(pt, {
|
|
18739
18739
|
autosize: "",
|
|
18740
18740
|
error: s(S).error,
|
|
18741
18741
|
"error-message": s(S).errorMessage,
|
|
@@ -18790,7 +18790,7 @@ const fn = /* @__PURE__ */ ge({
|
|
|
18790
18790
|
},
|
|
18791
18791
|
emits: ["change:value", "add:field", "rename:field", "remove:field"],
|
|
18792
18792
|
setup(e, { emit: t }) {
|
|
18793
|
-
const n = e, i = t, o = ae({}), { value: a, ...r } = Tt("values"), { i18n: l } = We(), u =
|
|
18793
|
+
const n = e, i = t, o = ae({}), { value: a, ...r } = Tt("values"), { i18n: l } = We(), u = dt("root"), d = ae([]), f = ae(null);
|
|
18794
18794
|
let c = "", p = a == null ? void 0 : a.value;
|
|
18795
18795
|
function m() {
|
|
18796
18796
|
return Po("ff-kv-field-");
|
|
@@ -19198,7 +19198,7 @@ const tO = /* @__PURE__ */ ge({
|
|
|
19198
19198
|
nodeId: {}
|
|
19199
19199
|
},
|
|
19200
19200
|
setup(e) {
|
|
19201
|
-
const t =
|
|
19201
|
+
const t = dt("form"), { selectedNode: n, disconnectInEdges: i, disconnectOutEdges: o } = Ct(), a = Qt("property"), {
|
|
19202
19202
|
formData: r,
|
|
19203
19203
|
setName: l,
|
|
19204
19204
|
setConfig: u,
|
|
@@ -19274,7 +19274,7 @@ const tO = /* @__PURE__ */ ge({
|
|
|
19274
19274
|
nodeId: {}
|
|
19275
19275
|
},
|
|
19276
19276
|
setup(e) {
|
|
19277
|
-
const t =
|
|
19277
|
+
const t = dt("form"), n = Qt("exit"), {
|
|
19278
19278
|
formData: i,
|
|
19279
19279
|
setName: o,
|
|
19280
19280
|
setConfig: a,
|
|
@@ -19495,7 +19495,7 @@ const cO = /* @__PURE__ */ ge({
|
|
|
19495
19495
|
nodeId: {}
|
|
19496
19496
|
},
|
|
19497
19497
|
setup(e) {
|
|
19498
|
-
const t =
|
|
19498
|
+
const t = dt("form"), n = Qt("cache"), {
|
|
19499
19499
|
i18n: { t: i }
|
|
19500
19500
|
} = We(), {
|
|
19501
19501
|
formData: o,
|
|
@@ -19567,7 +19567,7 @@ const cO = /* @__PURE__ */ ge({
|
|
|
19567
19567
|
nodeId: {}
|
|
19568
19568
|
},
|
|
19569
19569
|
setup(e) {
|
|
19570
|
-
const t =
|
|
19570
|
+
const t = dt("form"), n = Qt("xml_to_json"), {
|
|
19571
19571
|
i18n: { t: i }
|
|
19572
19572
|
} = We(), {
|
|
19573
19573
|
formData: o,
|
|
@@ -19634,21 +19634,21 @@ const cO = /* @__PURE__ */ ge({
|
|
|
19634
19634
|
name: "recognize_type",
|
|
19635
19635
|
"onUpdate:modelValue": H[0] || (H[0] = (I) => s(r)("recognize_type"))
|
|
19636
19636
|
}),
|
|
19637
|
-
E(
|
|
19637
|
+
E(pt, {
|
|
19638
19638
|
error: s(y).error,
|
|
19639
19639
|
"error-message": s(y).errorMessage,
|
|
19640
19640
|
name: "attributes_block_name",
|
|
19641
19641
|
onBlur: x,
|
|
19642
19642
|
"onUpdate:modelValue": b
|
|
19643
19643
|
}, null, 8, ["error", "error-message"]),
|
|
19644
|
-
E(
|
|
19644
|
+
E(pt, {
|
|
19645
19645
|
error: s(v).error,
|
|
19646
19646
|
"error-message": s(v).errorMessage,
|
|
19647
19647
|
name: "attributes_name_prefix",
|
|
19648
19648
|
onBlur: x,
|
|
19649
19649
|
"onUpdate:modelValue": S
|
|
19650
19650
|
}, null, 8, ["error", "error-message"]),
|
|
19651
|
-
E(
|
|
19651
|
+
E(pt, {
|
|
19652
19652
|
error: s(A).error,
|
|
19653
19653
|
"error-message": s(A).errorMessage,
|
|
19654
19654
|
name: "text_block_name",
|
|
@@ -19659,7 +19659,7 @@ const cO = /* @__PURE__ */ ge({
|
|
|
19659
19659
|
name: "text_as_property",
|
|
19660
19660
|
"onUpdate:modelValue": H[1] || (H[1] = (I) => s(r)("text_as_property"))
|
|
19661
19661
|
}),
|
|
19662
|
-
E(
|
|
19662
|
+
E(pt, {
|
|
19663
19663
|
error: s(w).error,
|
|
19664
19664
|
"error-message": s(w).errorMessage,
|
|
19665
19665
|
name: "xpath",
|
|
@@ -19685,7 +19685,7 @@ const cO = /* @__PURE__ */ ge({
|
|
|
19685
19685
|
nodeId: {}
|
|
19686
19686
|
},
|
|
19687
19687
|
setup(e) {
|
|
19688
|
-
const t =
|
|
19688
|
+
const t = dt("form"), n = Qt("json_to_xml"), {
|
|
19689
19689
|
i18n: { t: i }
|
|
19690
19690
|
} = We(), {
|
|
19691
19691
|
formData: o,
|
|
@@ -19757,28 +19757,28 @@ const cO = /* @__PURE__ */ ge({
|
|
|
19757
19757
|
]),
|
|
19758
19758
|
_: 1
|
|
19759
19759
|
}),
|
|
19760
|
-
E(
|
|
19760
|
+
E(pt, {
|
|
19761
19761
|
error: s(w).error,
|
|
19762
19762
|
"error-message": s(w).errorMessage,
|
|
19763
19763
|
name: "attributes_block_name",
|
|
19764
19764
|
onBlur: M,
|
|
19765
19765
|
"onUpdate:modelValue": H
|
|
19766
19766
|
}, null, 8, ["error", "error-message"]),
|
|
19767
|
-
E(
|
|
19767
|
+
E(pt, {
|
|
19768
19768
|
error: s(x).error,
|
|
19769
19769
|
"error-message": s(x).errorMessage,
|
|
19770
19770
|
name: "attributes_name_prefix",
|
|
19771
19771
|
onBlur: M,
|
|
19772
19772
|
"onUpdate:modelValue": I
|
|
19773
19773
|
}, null, 8, ["error", "error-message"]),
|
|
19774
|
-
E(
|
|
19774
|
+
E(pt, {
|
|
19775
19775
|
error: s(b).error,
|
|
19776
19776
|
"error-message": s(b).errorMessage,
|
|
19777
19777
|
name: "root_element_name",
|
|
19778
19778
|
onBlur: s(b).validate,
|
|
19779
19779
|
"onUpdate:modelValue": s(b).update
|
|
19780
19780
|
}, null, 8, ["error", "error-message", "onBlur", "onUpdate:modelValue"]),
|
|
19781
|
-
E(
|
|
19781
|
+
E(pt, {
|
|
19782
19782
|
error: s(S).error,
|
|
19783
19783
|
"error-message": s(S).errorMessage,
|
|
19784
19784
|
name: "text_block_name",
|
|
@@ -19807,7 +19807,7 @@ const cO = /* @__PURE__ */ ge({
|
|
|
19807
19807
|
nodeId: {}
|
|
19808
19808
|
},
|
|
19809
19809
|
setup(e) {
|
|
19810
|
-
const t =
|
|
19810
|
+
const t = dt("form"), n = Qt("jwt_decode"), {
|
|
19811
19811
|
formData: i,
|
|
19812
19812
|
setName: o,
|
|
19813
19813
|
inputOptions: a,
|
|
@@ -19847,7 +19847,7 @@ const cO = /* @__PURE__ */ ge({
|
|
|
19847
19847
|
nodeId: {}
|
|
19848
19848
|
},
|
|
19849
19849
|
setup(e) {
|
|
19850
|
-
const t =
|
|
19850
|
+
const t = dt("form"), n = Qt("jwt_sign"), {
|
|
19851
19851
|
i18n: { t: i }
|
|
19852
19852
|
} = We(), {
|
|
19853
19853
|
formData: o,
|
|
@@ -19918,11 +19918,11 @@ const cO = /* @__PURE__ */ ge({
|
|
|
19918
19918
|
onBlur: s(y).validate,
|
|
19919
19919
|
"onUpdate:modelValue": s(y).update
|
|
19920
19920
|
}, null, 8, ["error", "error-message", "onBlur", "onUpdate:modelValue"]),
|
|
19921
|
-
E(
|
|
19921
|
+
E(pt, {
|
|
19922
19922
|
name: "kid",
|
|
19923
19923
|
"onUpdate:modelValue": A[0] || (A[0] = (w) => s(r)("kid"))
|
|
19924
19924
|
}),
|
|
19925
|
-
E(
|
|
19925
|
+
E(pt, {
|
|
19926
19926
|
name: "typ",
|
|
19927
19927
|
"onUpdate:modelValue": A[1] || (A[1] = (w) => s(r)("typ"))
|
|
19928
19928
|
}),
|
|
@@ -19950,7 +19950,7 @@ const cO = /* @__PURE__ */ ge({
|
|
|
19950
19950
|
nodeId: {}
|
|
19951
19951
|
},
|
|
19952
19952
|
setup(e) {
|
|
19953
|
-
const t =
|
|
19953
|
+
const t = dt("form"), n = Qt("jwt_verify"), {
|
|
19954
19954
|
i18n: { t: i }
|
|
19955
19955
|
} = We(), {
|
|
19956
19956
|
formData: o,
|
|
@@ -20004,7 +20004,7 @@ const cO = /* @__PURE__ */ ge({
|
|
|
20004
20004
|
onRemove: y[3] || (y[3] = (v) => s(r)("issuers"))
|
|
20005
20005
|
}, {
|
|
20006
20006
|
item: R(({ fieldName: v, autofocus: A }) => [
|
|
20007
|
-
E(
|
|
20007
|
+
E(pt, {
|
|
20008
20008
|
autofocus: A,
|
|
20009
20009
|
name: v,
|
|
20010
20010
|
"onUpdate:modelValue": y[1] || (y[1] = (w) => s(r)("issuers"))
|
|
@@ -20018,7 +20018,7 @@ const cO = /* @__PURE__ */ ge({
|
|
|
20018
20018
|
onRemove: y[6] || (y[6] = (v) => s(r)("audiences"))
|
|
20019
20019
|
}, {
|
|
20020
20020
|
item: R(({ fieldName: v, autofocus: A }) => [
|
|
20021
|
-
E(
|
|
20021
|
+
E(pt, {
|
|
20022
20022
|
autofocus: A,
|
|
20023
20023
|
name: v,
|
|
20024
20024
|
"onUpdate:modelValue": y[4] || (y[4] = (w) => s(r)("audiences"))
|
|
@@ -20032,7 +20032,7 @@ const cO = /* @__PURE__ */ ge({
|
|
|
20032
20032
|
onRemove: y[9] || (y[9] = (v) => s(r)("required_claims"))
|
|
20033
20033
|
}, {
|
|
20034
20034
|
item: R(({ fieldName: v, autofocus: A }) => [
|
|
20035
|
-
E(
|
|
20035
|
+
E(pt, {
|
|
20036
20036
|
autofocus: A,
|
|
20037
20037
|
name: v,
|
|
20038
20038
|
"onUpdate:modelValue": y[7] || (y[7] = (w) => s(r)("required_claims"))
|
|
@@ -20235,7 +20235,7 @@ const cO = /* @__PURE__ */ ge({
|
|
|
20235
20235
|
v0a30a280: `${s(qE)}px`,
|
|
20236
20236
|
aee7cc1c: `${s(Jd)}px`
|
|
20237
20237
|
}));
|
|
20238
|
-
const t = qi(e, "open"), n = ae(!1), i =
|
|
20238
|
+
const t = qi(e, "open"), n = ae(!1), i = dt("confirm-modal"), { clear: o } = Ct();
|
|
20239
20239
|
AA(async (...l) => {
|
|
20240
20240
|
n.value = !0;
|
|
20241
20241
|
const u = await i.value.open(...l);
|
|
@@ -20473,14 +20473,14 @@ const cO = /* @__PURE__ */ ge({
|
|
|
20473
20473
|
}, 16, ["editor-mode"])
|
|
20474
20474
|
], 64));
|
|
20475
20475
|
}
|
|
20476
|
-
}), jO = /* @__PURE__ */ Ie(KO, [["__scopeId", "data-v-fbe9d669"]]), DO =
|
|
20476
|
+
}), jO = /* @__PURE__ */ Ie(KO, [["__scopeId", "data-v-fbe9d669"]]), DO = ct({
|
|
20477
20477
|
component: jO
|
|
20478
|
-
}), qO =
|
|
20478
|
+
}), qO = ct({
|
|
20479
20479
|
experimental: !0,
|
|
20480
20480
|
fieldRenderers: [
|
|
20481
20481
|
{
|
|
20482
20482
|
match: ({ genericPath: e }) => e === "config.functions.*",
|
|
20483
|
-
component:
|
|
20483
|
+
component: pt,
|
|
20484
20484
|
propsOverrides: (e) => ({
|
|
20485
20485
|
...e,
|
|
20486
20486
|
multiline: !0,
|
|
@@ -20488,7 +20488,7 @@ const cO = /* @__PURE__ */ ge({
|
|
|
20488
20488
|
})
|
|
20489
20489
|
}
|
|
20490
20490
|
]
|
|
20491
|
-
}), VO =
|
|
20491
|
+
}), VO = ct({
|
|
20492
20492
|
experimental: !0,
|
|
20493
20493
|
fieldRenderers: [
|
|
20494
20494
|
{
|
|
@@ -20499,7 +20499,7 @@ const cO = /* @__PURE__ */ ge({
|
|
|
20499
20499
|
}
|
|
20500
20500
|
}
|
|
20501
20501
|
]
|
|
20502
|
-
}), UO =
|
|
20502
|
+
}), UO = ct({
|
|
20503
20503
|
experimental: !0,
|
|
20504
20504
|
fieldRenderers: [
|
|
20505
20505
|
{
|
|
@@ -20510,7 +20510,7 @@ const cO = /* @__PURE__ */ ge({
|
|
|
20510
20510
|
}
|
|
20511
20511
|
}
|
|
20512
20512
|
]
|
|
20513
|
-
}), BO =
|
|
20513
|
+
}), BO = ct(), zO = ct({
|
|
20514
20514
|
experimental: !0
|
|
20515
20515
|
}), GO = { "data-testid": "ff-identity-realms-field" }, HO = ["innerHTML"], WO = /* @__PURE__ */ ge({
|
|
20516
20516
|
__name: "IdentityRealmsField",
|
|
@@ -20604,10 +20604,10 @@ const cO = /* @__PURE__ */ ge({
|
|
|
20604
20604
|
_: 1
|
|
20605
20605
|
}, 16));
|
|
20606
20606
|
}
|
|
20607
|
-
}), XO =
|
|
20607
|
+
}), XO = ct({
|
|
20608
20608
|
experimental: !0,
|
|
20609
20609
|
component: JO
|
|
20610
|
-
}), ZO =
|
|
20610
|
+
}), ZO = ct({
|
|
20611
20611
|
experimental: !0,
|
|
20612
20612
|
fieldRenderers: [
|
|
20613
20613
|
{
|
|
@@ -20618,9 +20618,9 @@ const cO = /* @__PURE__ */ ge({
|
|
|
20618
20618
|
}
|
|
20619
20619
|
}
|
|
20620
20620
|
]
|
|
20621
|
-
}), QO =
|
|
20621
|
+
}), QO = ct({
|
|
20622
20622
|
experimental: !0
|
|
20623
|
-
}), e$ =
|
|
20623
|
+
}), e$ = ct({
|
|
20624
20624
|
experimental: !0,
|
|
20625
20625
|
renderRules: {
|
|
20626
20626
|
bundles: [
|
|
@@ -20637,7 +20637,7 @@ const cO = /* @__PURE__ */ ge({
|
|
|
20637
20637
|
propsOverrides: { multiple: !0 }
|
|
20638
20638
|
}
|
|
20639
20639
|
]
|
|
20640
|
-
}), t$ =
|
|
20640
|
+
}), t$ = ct({
|
|
20641
20641
|
experimental: !0,
|
|
20642
20642
|
fieldRenderers: [
|
|
20643
20643
|
{
|
|
@@ -20646,7 +20646,7 @@ const cO = /* @__PURE__ */ ge({
|
|
|
20646
20646
|
propsOverrides: { multiple: !0 }
|
|
20647
20647
|
}
|
|
20648
20648
|
]
|
|
20649
|
-
}), n$ =
|
|
20649
|
+
}), n$ = ct({
|
|
20650
20650
|
experimental: !0,
|
|
20651
20651
|
renderRules: {
|
|
20652
20652
|
bundles: [
|
|
@@ -20866,7 +20866,7 @@ const ha = Symbol(), a$ = /* @__PURE__ */ ge({
|
|
|
20866
20866
|
match: ({ path: c }) => c.endsWith("by_lua")
|
|
20867
20867
|
}, {
|
|
20868
20868
|
default: R((c) => [
|
|
20869
|
-
E(
|
|
20869
|
+
E(pt, Ze(c, {
|
|
20870
20870
|
autosize: "",
|
|
20871
20871
|
class: "rc-code",
|
|
20872
20872
|
multiline: "",
|
|
@@ -20890,37 +20890,37 @@ const ha = Symbol(), a$ = /* @__PURE__ */ ge({
|
|
|
20890
20890
|
_: 1
|
|
20891
20891
|
}, 16));
|
|
20892
20892
|
}
|
|
20893
|
-
}), l$ = /* @__PURE__ */ Ie(s$, [["__scopeId", "data-v-fbcdb0a1"]]), u$ =
|
|
20893
|
+
}), l$ = /* @__PURE__ */ Ie(s$, [["__scopeId", "data-v-fbcdb0a1"]]), u$ = ct({
|
|
20894
20894
|
component: l$
|
|
20895
|
-
}), c$ =
|
|
20895
|
+
}), c$ = ct({
|
|
20896
20896
|
experimental: !0
|
|
20897
|
-
}), d$ =
|
|
20897
|
+
}), d$ = ct({
|
|
20898
20898
|
experimental: !0
|
|
20899
|
-
}), p$ =
|
|
20899
|
+
}), p$ = ct({
|
|
20900
20900
|
experimental: !0,
|
|
20901
20901
|
fieldRenderers: [
|
|
20902
20902
|
{
|
|
20903
20903
|
match: ({ path: e, genericPath: t }) => e === "config.replace.body" || t === "config.transform.functions.*" || t.endsWith(".json.*"),
|
|
20904
|
-
component:
|
|
20904
|
+
component: pt,
|
|
20905
20905
|
propsOverrides: {
|
|
20906
20906
|
multiline: !0,
|
|
20907
20907
|
rows: 3
|
|
20908
20908
|
}
|
|
20909
20909
|
}
|
|
20910
20910
|
]
|
|
20911
|
-
}), f$ =
|
|
20911
|
+
}), f$ = ct({
|
|
20912
20912
|
experimental: !0,
|
|
20913
20913
|
fieldRenderers: [
|
|
20914
20914
|
{
|
|
20915
20915
|
match: ({ genericPath: e }) => e.endsWith(".json.*"),
|
|
20916
|
-
component:
|
|
20916
|
+
component: pt,
|
|
20917
20917
|
propsOverrides: {
|
|
20918
20918
|
multiline: !0,
|
|
20919
20919
|
rows: 3
|
|
20920
20920
|
}
|
|
20921
20921
|
}
|
|
20922
20922
|
]
|
|
20923
|
-
}), m$ =
|
|
20923
|
+
}), m$ = ct({
|
|
20924
20924
|
experimental: !0
|
|
20925
20925
|
}), g$ = { class: "sp-form-request-limits-subtitle" }, h$ = { class: "sp-form-request-limits-content" }, v$ = { class: "sp-form-window-type" }, y$ = { class: "sp-form-request-limits-items" }, _$ = { class: "sp-form-request-limits-row" }, b$ = ["id"], w$ = { class: "sp-form-request-limits-actions" }, k$ = {
|
|
20926
20926
|
key: 0,
|
|
@@ -21154,7 +21154,7 @@ const ha = Symbol(), a$ = /* @__PURE__ */ ge({
|
|
|
21154
21154
|
placeholder: s(t)("sp.error_message.code_placeholder")
|
|
21155
21155
|
}, null, 8, ["placeholder"]),
|
|
21156
21156
|
i[0] || (i[0] = W("div", null, ":", -1)),
|
|
21157
|
-
E(
|
|
21157
|
+
E(pt, {
|
|
21158
21158
|
class: "input-error-message",
|
|
21159
21159
|
label: "",
|
|
21160
21160
|
name: "error_message",
|
|
@@ -21253,22 +21253,22 @@ const ha = Symbol(), a$ = /* @__PURE__ */ ge({
|
|
|
21253
21253
|
_: 1
|
|
21254
21254
|
}, 16));
|
|
21255
21255
|
}
|
|
21256
|
-
}), N$ =
|
|
21256
|
+
}), N$ = ct({
|
|
21257
21257
|
experimental: !0,
|
|
21258
21258
|
component: $$
|
|
21259
|
-
}), P$ =
|
|
21259
|
+
}), P$ = ct({
|
|
21260
21260
|
experimental: !0,
|
|
21261
21261
|
fieldRenderers: [
|
|
21262
21262
|
{
|
|
21263
21263
|
match: ({ genericPath: e }) => e === "config.flow.functions.*",
|
|
21264
|
-
component:
|
|
21264
|
+
component: pt,
|
|
21265
21265
|
propsOverrides: {
|
|
21266
21266
|
multiline: !0,
|
|
21267
21267
|
rows: 3
|
|
21268
21268
|
}
|
|
21269
21269
|
}
|
|
21270
21270
|
]
|
|
21271
|
-
}), R$ =
|
|
21271
|
+
}), R$ = ct({
|
|
21272
21272
|
experimental: !0,
|
|
21273
21273
|
fieldRenderers: [
|
|
21274
21274
|
{
|
|
@@ -21279,7 +21279,19 @@ const ha = Symbol(), a$ = /* @__PURE__ */ ge({
|
|
|
21279
21279
|
}
|
|
21280
21280
|
}
|
|
21281
21281
|
]
|
|
21282
|
-
}), M$ =
|
|
21282
|
+
}), M$ = ct({
|
|
21283
|
+
experimental: !0,
|
|
21284
|
+
fieldRenderers: [
|
|
21285
|
+
{
|
|
21286
|
+
match: "config.message.functions.*",
|
|
21287
|
+
component: pt,
|
|
21288
|
+
propsOverrides: {
|
|
21289
|
+
multiline: !0,
|
|
21290
|
+
rows: 3
|
|
21291
|
+
}
|
|
21292
|
+
}
|
|
21293
|
+
]
|
|
21294
|
+
}), F$ = ct({
|
|
21283
21295
|
experimental: !0,
|
|
21284
21296
|
renderRules: {
|
|
21285
21297
|
bundles: [
|
|
@@ -21292,14 +21304,14 @@ const ha = Symbol(), a$ = /* @__PURE__ */ ge({
|
|
|
21292
21304
|
fieldRenderers: [
|
|
21293
21305
|
{
|
|
21294
21306
|
match: "config.behavior.idp_error_response_body_template",
|
|
21295
|
-
component:
|
|
21307
|
+
component: pt,
|
|
21296
21308
|
propsOverrides: {
|
|
21297
21309
|
multiline: !0,
|
|
21298
21310
|
rows: 4
|
|
21299
21311
|
}
|
|
21300
21312
|
}
|
|
21301
21313
|
]
|
|
21302
|
-
}),
|
|
21314
|
+
}), L$ = /* @__PURE__ */ Object.assign({
|
|
21303
21315
|
"../plugins/acl/index.ts": SC,
|
|
21304
21316
|
"../plugins/ai-custom-guardrail.ts": OC,
|
|
21305
21317
|
"../plugins/ai-mcp-proxy/index.ts": NC,
|
|
@@ -21328,19 +21340,20 @@ const ha = Symbol(), a$ = /* @__PURE__ */ ge({
|
|
|
21328
21340
|
"../plugins/service-protection/index.ts": N$,
|
|
21329
21341
|
"../plugins/solace-consume.ts": P$,
|
|
21330
21342
|
"../plugins/solace-log.ts": R$,
|
|
21331
|
-
"../plugins/upstream
|
|
21343
|
+
"../plugins/solace-upstream.ts": M$,
|
|
21344
|
+
"../plugins/upstream-oauth.ts": F$
|
|
21332
21345
|
});
|
|
21333
|
-
function
|
|
21346
|
+
function K$(e) {
|
|
21334
21347
|
const t = e.match(/\.\.\/plugins\/(.+?)(?:\/index)?\.ts$/);
|
|
21335
21348
|
if (!t)
|
|
21336
21349
|
throw new Error(`Unable to derive plugin name from path: ${e}`);
|
|
21337
21350
|
const [, n] = t;
|
|
21338
21351
|
return n;
|
|
21339
21352
|
}
|
|
21340
|
-
function
|
|
21353
|
+
function j$(e) {
|
|
21341
21354
|
const t = {}, n = /* @__PURE__ */ new Map();
|
|
21342
21355
|
for (const [i, o] of Object.entries(e)) {
|
|
21343
|
-
const a =
|
|
21356
|
+
const a = K$(i);
|
|
21344
21357
|
if (n.has(a))
|
|
21345
21358
|
throw new Error(`Duplicate plugin config for "${a}": ${n.get(a)} and ${i}`);
|
|
21346
21359
|
n.set(a, i), t[a] = {
|
|
@@ -21352,7 +21365,7 @@ function K$(e) {
|
|
|
21352
21365
|
}
|
|
21353
21366
|
return t;
|
|
21354
21367
|
}
|
|
21355
|
-
const xp =
|
|
21368
|
+
const xp = j$(L$);
|
|
21356
21369
|
function Cp(e) {
|
|
21357
21370
|
return xp[e];
|
|
21358
21371
|
}
|
|
@@ -21364,22 +21377,22 @@ function Ep(e, t) {
|
|
|
21364
21377
|
function Ap(e, t, n) {
|
|
21365
21378
|
return n === "freeform" ? !0 : n === "vfg" ? !1 : !!Ep(e, t);
|
|
21366
21379
|
}
|
|
21367
|
-
function
|
|
21380
|
+
function D$() {
|
|
21368
21381
|
return Object.entries(xp).filter(([, e]) => e.experimental).map(([e]) => e).sort((e, t) => e.localeCompare(t));
|
|
21369
21382
|
}
|
|
21370
21383
|
function ws() {
|
|
21371
21384
|
return bt(jc, []);
|
|
21372
21385
|
}
|
|
21373
|
-
function
|
|
21374
|
-
const t = new Set(
|
|
21386
|
+
function q$(e) {
|
|
21387
|
+
const t = new Set(D$()), n = e.filter((o) => t.has(o)), i = e.filter((o) => !t.has(o));
|
|
21375
21388
|
return i.length > 0 && console.warn(
|
|
21376
21389
|
`[entities-plugins] Ignoring unknown experimental free-form plugins: ${i.join(", ")}`
|
|
21377
21390
|
), n;
|
|
21378
21391
|
}
|
|
21379
|
-
function
|
|
21380
|
-
qt(jc,
|
|
21392
|
+
function V$(e) {
|
|
21393
|
+
qt(jc, q$(e));
|
|
21381
21394
|
}
|
|
21382
|
-
function
|
|
21395
|
+
function U$() {
|
|
21383
21396
|
const e = ws();
|
|
21384
21397
|
return {
|
|
21385
21398
|
shouldUseFreeForm: (t, n) => Ap(t, e, n),
|
|
@@ -21429,11 +21442,11 @@ function Ip(e) {
|
|
|
21429
21442
|
tn(a.conditions, {}) && (a.conditions = null), a.conditions && Object.values(a.conditions).every((r) => Array.isArray(r) && r.length === 0) && (a.conditions = null);
|
|
21430
21443
|
}), e;
|
|
21431
21444
|
}
|
|
21432
|
-
const
|
|
21445
|
+
const B$ = {
|
|
21433
21446
|
shamefullyTransformPayload(e) {
|
|
21434
21447
|
return Ip(e.payload.config), e;
|
|
21435
21448
|
}
|
|
21436
|
-
},
|
|
21449
|
+
}, z$ = {
|
|
21437
21450
|
shamefullyTransformPayload(e) {
|
|
21438
21451
|
var t, n, i, o, a;
|
|
21439
21452
|
if (!((n = (t = e.payload.config) == null ? void 0 : t.access_logs) != null && n.custom_attributes_by_lua))
|
|
@@ -21444,7 +21457,7 @@ const U$ = {
|
|
|
21444
21457
|
}
|
|
21445
21458
|
return e;
|
|
21446
21459
|
}
|
|
21447
|
-
},
|
|
21460
|
+
}, G$ = {
|
|
21448
21461
|
shamefullyTransformPayload(e) {
|
|
21449
21462
|
var n, i;
|
|
21450
21463
|
const t = (i = (n = e.payload.config) == null ? void 0 : n.v2_strategies) == null ? void 0 : i.openid_connect;
|
|
@@ -21452,7 +21465,7 @@ const U$ = {
|
|
|
21452
21465
|
Ip(o.config);
|
|
21453
21466
|
}), e;
|
|
21454
21467
|
}
|
|
21455
|
-
},
|
|
21468
|
+
}, H$ = {
|
|
21456
21469
|
shamefullyTransformPayload(e) {
|
|
21457
21470
|
var n;
|
|
21458
21471
|
return !e.payload.config || !((n = e.payload.config) != null && n.token_exchange) || [
|
|
@@ -21477,10 +21490,10 @@ const U$ = {
|
|
|
21477
21490
|
return tn((o = e.payload.config) == null ? void 0 : o.token_exchange, i);
|
|
21478
21491
|
}) && (e.payload.config.token_exchange = null), e;
|
|
21479
21492
|
}
|
|
21480
|
-
},
|
|
21493
|
+
}, W$ = (e, t) => {
|
|
21481
21494
|
const n = e.model.startsWith("config-"), i = t.model.startsWith("config-");
|
|
21482
21495
|
return n && !i ? 1 : !n && i ? -1 : 0;
|
|
21483
|
-
}, Tp = (e, t) => (e.order ?? 0) - (t.order ?? 0), ou = (e, t) =>
|
|
21496
|
+
}, Tp = (e, t) => (e.order ?? 0) - (t.order ?? 0), ou = (e, t) => W$(e, t) || Tp(e, t) || e.model.localeCompare(t.model), Y$ = (e) => {
|
|
21484
21497
|
const { capitalize: t } = Co(), { convertToDotNotation: n } = Nu(), { i18n: { t: i } } = We(), o = ws(), a = {
|
|
21485
21498
|
"application-registration": {
|
|
21486
21499
|
overwriteDefault: !0,
|
|
@@ -21601,16 +21614,16 @@ const U$ = {
|
|
|
21601
21614
|
...cw
|
|
21602
21615
|
},
|
|
21603
21616
|
"openid-connect": {
|
|
21604
|
-
...
|
|
21617
|
+
...B$
|
|
21605
21618
|
},
|
|
21606
21619
|
opentelemetry: {
|
|
21607
|
-
...
|
|
21620
|
+
...z$
|
|
21608
21621
|
},
|
|
21609
21622
|
"konnect-application-auth": {
|
|
21610
|
-
...
|
|
21623
|
+
...G$
|
|
21611
21624
|
},
|
|
21612
21625
|
"ai-mcp-oauth2": {
|
|
21613
|
-
...
|
|
21626
|
+
...H$
|
|
21614
21627
|
}
|
|
21615
21628
|
}, r = () => ["created_at", "updated_at", "id", "_isCustomPlugin", "_supported_redis_partial_type", "_redis_partial_path"], l = (b, S, M, H) => {
|
|
21616
21629
|
let I = {};
|
|
@@ -21839,11 +21852,11 @@ const U$ = {
|
|
|
21839
21852
|
useI18n: We,
|
|
21840
21853
|
usePluginMetaData: Ru,
|
|
21841
21854
|
usePluginHelpers: Nu,
|
|
21842
|
-
useSchemas:
|
|
21855
|
+
useSchemas: Y$,
|
|
21843
21856
|
useExperimentalFreeForms: ws,
|
|
21844
|
-
useProvideExperimentalFreeForms:
|
|
21845
|
-
useFreeFormResolver:
|
|
21846
|
-
},
|
|
21857
|
+
useProvideExperimentalFreeForms: V$,
|
|
21858
|
+
useFreeFormResolver: U$
|
|
21859
|
+
}, J$ = { class: "kong-ui-entities-custom-plugin-form" }, X$ = { class: "plugin-type-radios" }, Z$ = { class: "compare-table-wrapper" }, Q$ = { class: "compare-table" }, eN = { scope: "col" }, tN = { scope: "col" }, nN = { scope: "col" }, iN = { scope: "row" }, aN = { scope: "row" }, oN = { class: "compare-list" }, rN = { class: "compare-list" }, sN = { scope: "row" }, lN = { scope: "row" }, uN = { scope: "row" }, cN = { class: "plugin-modules-section" }, dN = { class: "plugin-select-item" }, pN = { class: "plugin-select-item" }, fN = /* @__PURE__ */ ge({
|
|
21847
21860
|
__name: "CustomPluginForm",
|
|
21848
21861
|
props: {
|
|
21849
21862
|
config: {
|
|
@@ -21961,7 +21974,7 @@ const U$ = {
|
|
|
21961
21974
|
};
|
|
21962
21975
|
return (A, w) => {
|
|
21963
21976
|
const x = ue("KRadio"), b = ue("KCollapse"), S = ue("KFileUpload"), M = ue("KLabel"), H = ue("KAlert"), I = ue("KSelect"), k = ue("KInput"), O = ue("KButton");
|
|
21964
|
-
return C(), te("div",
|
|
21977
|
+
return C(), te("div", J$, [
|
|
21965
21978
|
E(s(fu), {
|
|
21966
21979
|
"can-submit": h.value,
|
|
21967
21980
|
config: e.config,
|
|
@@ -22004,7 +22017,7 @@ const U$ = {
|
|
|
22004
22017
|
title: s(a)("custom_plugin_form.step1.title")
|
|
22005
22018
|
}, {
|
|
22006
22019
|
default: R(() => [
|
|
22007
|
-
W("div",
|
|
22020
|
+
W("div", X$, [
|
|
22008
22021
|
E(x, {
|
|
22009
22022
|
modelValue: p.fields.pluginType,
|
|
22010
22023
|
"onUpdate:modelValue": w[0] || (w[0] = (N) => p.fields.pluginType = N),
|
|
@@ -22045,34 +22058,34 @@ const U$ = {
|
|
|
22045
22058
|
"trigger-label": s(a)("custom_plugin_form.step1.compare_trigger")
|
|
22046
22059
|
}, {
|
|
22047
22060
|
default: R(() => [
|
|
22048
|
-
W("div",
|
|
22049
|
-
W("table",
|
|
22061
|
+
W("div", Z$, [
|
|
22062
|
+
W("table", Q$, [
|
|
22050
22063
|
W("thead", null, [
|
|
22051
22064
|
W("tr", null, [
|
|
22052
22065
|
w[14] || (w[14] = W("th", { scope: "col" }, null, -1)),
|
|
22053
|
-
W("th",
|
|
22054
|
-
W("th",
|
|
22055
|
-
W("th",
|
|
22066
|
+
W("th", eN, ne(s(a)("custom_plugin_form.step1.compare_table.columns.installed")), 1),
|
|
22067
|
+
W("th", tN, ne(s(a)("custom_plugin_form.step1.compare_table.columns.streamed")), 1),
|
|
22068
|
+
W("th", nN, ne(s(a)("custom_plugin_form.step1.compare_table.columns.cloned")), 1)
|
|
22056
22069
|
])
|
|
22057
22070
|
]),
|
|
22058
22071
|
W("tbody", null, [
|
|
22059
22072
|
W("tr", null, [
|
|
22060
|
-
W("th",
|
|
22073
|
+
W("th", iN, ne(s(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.header")), 1),
|
|
22061
22074
|
W("td", null, ne(s(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.installed")), 1),
|
|
22062
22075
|
W("td", null, ne(s(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.streamed")), 1),
|
|
22063
22076
|
W("td", null, ne(s(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.cloned")), 1)
|
|
22064
22077
|
]),
|
|
22065
22078
|
W("tr", null, [
|
|
22066
|
-
W("th",
|
|
22079
|
+
W("th", aN, ne(s(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.header")), 1),
|
|
22067
22080
|
W("td", null, [
|
|
22068
|
-
W("ul",
|
|
22081
|
+
W("ul", oN, [
|
|
22069
22082
|
W("li", null, ne(s(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.handler")), 1),
|
|
22070
22083
|
W("li", null, ne(s(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.schema")), 1),
|
|
22071
22084
|
W("li", null, ne(s(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.additional")), 1)
|
|
22072
22085
|
])
|
|
22073
22086
|
]),
|
|
22074
22087
|
W("td", null, [
|
|
22075
|
-
W("ul",
|
|
22088
|
+
W("ul", rN, [
|
|
22076
22089
|
W("li", null, ne(s(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.streamed.handler")), 1),
|
|
22077
22090
|
W("li", null, ne(s(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.streamed.schema")), 1)
|
|
22078
22091
|
])
|
|
@@ -22085,13 +22098,13 @@ const U$ = {
|
|
|
22085
22098
|
])
|
|
22086
22099
|
]),
|
|
22087
22100
|
W("tr", null, [
|
|
22088
|
-
W("th",
|
|
22101
|
+
W("th", sN, ne(s(a)("custom_plugin_form.step1.compare_table.rows.how_installed.header")), 1),
|
|
22089
22102
|
W("td", null, ne(s(a)("custom_plugin_form.step1.compare_table.rows.how_installed.installed")), 1),
|
|
22090
22103
|
W("td", null, ne(s(a)("custom_plugin_form.step1.compare_table.rows.how_installed.streamed")), 1),
|
|
22091
22104
|
W("td", null, ne(s(a)("custom_plugin_form.step1.compare_table.rows.how_installed.cloned")), 1)
|
|
22092
22105
|
]),
|
|
22093
22106
|
W("tr", null, [
|
|
22094
|
-
W("th",
|
|
22107
|
+
W("th", lN, ne(s(a)("custom_plugin_form.step1.compare_table.rows.sandboxing.header")), 1),
|
|
22095
22108
|
W("td", null, [
|
|
22096
22109
|
E(s(qa), {
|
|
22097
22110
|
color: s(wn),
|
|
@@ -22117,7 +22130,7 @@ const U$ = {
|
|
|
22117
22130
|
W("td", null, ne(s(a)("custom_plugin_form.step1.compare_table.rows.sandboxing.cloned")), 1)
|
|
22118
22131
|
]),
|
|
22119
22132
|
W("tr", null, [
|
|
22120
|
-
W("th",
|
|
22133
|
+
W("th", uN, ne(s(a)("custom_plugin_form.step1.compare_table.rows.data_plane_reload.header")), 1),
|
|
22121
22134
|
W("td", null, [
|
|
22122
22135
|
E(s(wf), {
|
|
22123
22136
|
color: s(Ou),
|
|
@@ -22164,7 +22177,7 @@ const U$ = {
|
|
|
22164
22177
|
onFileAdded: w[4] || (w[4] = (N) => p.fields.schemaFile = N[0] ?? null),
|
|
22165
22178
|
onFileRemoved: w[5] || (w[5] = (N) => p.fields.schemaFile = null)
|
|
22166
22179
|
}, null, 8, ["button-text", "help", "label", "placeholder"]),
|
|
22167
|
-
W("div",
|
|
22180
|
+
W("div", cN, [
|
|
22168
22181
|
E(M, null, {
|
|
22169
22182
|
default: R(() => [
|
|
22170
22183
|
_e(ne(s(a)("custom_plugin_form.step2_files.plugin_modules.label")), 1)
|
|
@@ -22229,7 +22242,7 @@ const U$ = {
|
|
|
22229
22242
|
required: ""
|
|
22230
22243
|
}, {
|
|
22231
22244
|
"item-template": R(({ item: N }) => [
|
|
22232
|
-
W("div",
|
|
22245
|
+
W("div", dN, [
|
|
22233
22246
|
E(s(ui), {
|
|
22234
22247
|
name: String(N.value),
|
|
22235
22248
|
size: 20
|
|
@@ -22238,7 +22251,7 @@ const U$ = {
|
|
|
22238
22251
|
])
|
|
22239
22252
|
]),
|
|
22240
22253
|
"selected-item-template": R(({ item: N }) => [
|
|
22241
|
-
W("div",
|
|
22254
|
+
W("div", pN, [
|
|
22242
22255
|
E(s(ui), {
|
|
22243
22256
|
name: String(N.value),
|
|
22244
22257
|
size: 20
|
|
@@ -22331,7 +22344,7 @@ const U$ = {
|
|
|
22331
22344
|
]);
|
|
22332
22345
|
};
|
|
22333
22346
|
}
|
|
22334
|
-
}),
|
|
22347
|
+
}), e2 = /* @__PURE__ */ Ie(fN, [["__scopeId", "data-v-c55c6651"]]), mN = (e, t) => ({
|
|
22335
22348
|
type: "array",
|
|
22336
22349
|
valueType: "string",
|
|
22337
22350
|
valueArrayType: "array",
|
|
@@ -22424,7 +22437,7 @@ const U$ = {
|
|
|
22424
22437
|
forEntity: `${Ut}/{entityType}/{entityId}/plugins/{id}`
|
|
22425
22438
|
}
|
|
22426
22439
|
}
|
|
22427
|
-
},
|
|
22440
|
+
}, gN = { class: "referable-field-item" }, hN = 24, vN = /* @__PURE__ */ ge({
|
|
22428
22441
|
__name: "ReferableFieldItem",
|
|
22429
22442
|
props: {
|
|
22430
22443
|
field: {},
|
|
@@ -22441,13 +22454,13 @@ const U$ = {
|
|
|
22441
22454
|
const r = `label[for="${i.value}"]`, l = document.querySelector(r) || document.getElementById(i.value);
|
|
22442
22455
|
if (!l)
|
|
22443
22456
|
return;
|
|
22444
|
-
const u = Math.max(0, l.getBoundingClientRect().top + window.scrollY -
|
|
22457
|
+
const u = Math.max(0, l.getBoundingClientRect().top + window.scrollY - hN), d = () => {
|
|
22445
22458
|
var f;
|
|
22446
22459
|
(f = l.click) == null || f.call(l);
|
|
22447
22460
|
};
|
|
22448
22461
|
window.addEventListener("scrollend", d, { once: !0 }), window.scrollTo({ top: u, behavior: "smooth" });
|
|
22449
22462
|
};
|
|
22450
|
-
return (r, l) => (C(), te("span",
|
|
22463
|
+
return (r, l) => (C(), te("span", gN, [
|
|
22451
22464
|
W("span", {
|
|
22452
22465
|
class: "referable-field-link",
|
|
22453
22466
|
role: "button",
|
|
@@ -22459,7 +22472,7 @@ const U$ = {
|
|
|
22459
22472
|
], 64))
|
|
22460
22473
|
]));
|
|
22461
22474
|
}
|
|
22462
|
-
}), ru = /* @__PURE__ */ Ie(
|
|
22475
|
+
}), ru = /* @__PURE__ */ Ie(vN, [["__scopeId", "data-v-949a9ea1"]]), yN = { key: 0 }, _N = /* @__PURE__ */ ge({
|
|
22463
22476
|
__name: "PluginFieldRuleAlerts",
|
|
22464
22477
|
props: {
|
|
22465
22478
|
rules: {}
|
|
@@ -22497,7 +22510,7 @@ const U$ = {
|
|
|
22497
22510
|
_: 2
|
|
22498
22511
|
}, 1032, ["keypath"])
|
|
22499
22512
|
]))), 128)),
|
|
22500
|
-
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (C(), te("li",
|
|
22513
|
+
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (C(), te("li", yN, [
|
|
22501
22514
|
(C(!0), te(Fe, null, Je(t.rules.onlyOneOfMutuallyRequired, (u, d) => (C(), te("div", {
|
|
22502
22515
|
key: `only-one-mutually-alert-${d}`
|
|
22503
22516
|
}, [
|
|
@@ -22521,8 +22534,8 @@ const U$ = {
|
|
|
22521
22534
|
});
|
|
22522
22535
|
};
|
|
22523
22536
|
}
|
|
22524
|
-
}),
|
|
22525
|
-
function
|
|
22537
|
+
}), bN = /* @__PURE__ */ Ie(_N, [["__scopeId", "data-v-5f9ff453"]]);
|
|
22538
|
+
function wN(e) {
|
|
22526
22539
|
if (e.length === 0) return "";
|
|
22527
22540
|
if (e.length === 1) {
|
|
22528
22541
|
const o = Wt(e[0]);
|
|
@@ -22541,18 +22554,18 @@ function bN(e) {
|
|
|
22541
22554
|
function ks(e) {
|
|
22542
22555
|
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;
|
|
22543
22556
|
}
|
|
22544
|
-
function
|
|
22557
|
+
function kN(e, t) {
|
|
22545
22558
|
if (!t) return e;
|
|
22546
22559
|
const n = t + Ka;
|
|
22547
22560
|
return e.map(
|
|
22548
22561
|
(i) => i.startsWith(n) ? i.slice(n.length) : i
|
|
22549
22562
|
);
|
|
22550
22563
|
}
|
|
22551
|
-
function
|
|
22552
|
-
const n = ks(e), i =
|
|
22564
|
+
function xN(e, t) {
|
|
22565
|
+
const n = ks(e), i = kN(n, t);
|
|
22553
22566
|
return "at_least_one_of" in e ? { at_least_one_of: i } : "mutually_required" in e ? { mutually_required: i } : { mutually_exclusive: i };
|
|
22554
22567
|
}
|
|
22555
|
-
function
|
|
22568
|
+
function CN(e) {
|
|
22556
22569
|
const t = [], n = /* @__PURE__ */ new Map();
|
|
22557
22570
|
for (const i of e) {
|
|
22558
22571
|
const o = ks(i);
|
|
@@ -22560,17 +22573,17 @@ function xN(e) {
|
|
|
22560
22573
|
t.push(i);
|
|
22561
22574
|
continue;
|
|
22562
22575
|
}
|
|
22563
|
-
const a =
|
|
22576
|
+
const a = wN(o);
|
|
22564
22577
|
if (!a) {
|
|
22565
22578
|
t.push(i);
|
|
22566
22579
|
continue;
|
|
22567
22580
|
}
|
|
22568
|
-
const r =
|
|
22581
|
+
const r = xN(i, a);
|
|
22569
22582
|
n.has(a) || n.set(a, []), n.get(a).push(r);
|
|
22570
22583
|
}
|
|
22571
22584
|
return { keep: t, move: n };
|
|
22572
22585
|
}
|
|
22573
|
-
function
|
|
22586
|
+
function EN(e, t, n) {
|
|
22574
22587
|
const i = Wt(t);
|
|
22575
22588
|
let o = e;
|
|
22576
22589
|
for (const a of i) {
|
|
@@ -22588,27 +22601,27 @@ function CN(e, t, n) {
|
|
|
22588
22601
|
function Sp(e) {
|
|
22589
22602
|
var t;
|
|
22590
22603
|
if ((t = e.entity_checks) != null && t.length) {
|
|
22591
|
-
const { keep: n, move: i } =
|
|
22604
|
+
const { keep: n, move: i } = CN(e.entity_checks);
|
|
22592
22605
|
e.entity_checks = n.length ? n : void 0;
|
|
22593
22606
|
for (const [o, a] of i)
|
|
22594
|
-
|
|
22607
|
+
EN(e, o, a);
|
|
22595
22608
|
}
|
|
22596
22609
|
for (const n of e.fields) {
|
|
22597
22610
|
const i = Object.values(n)[0];
|
|
22598
22611
|
i.type === "record" && Sp(i);
|
|
22599
22612
|
}
|
|
22600
22613
|
}
|
|
22601
|
-
function
|
|
22614
|
+
function AN(e) {
|
|
22602
22615
|
const t = JSON.parse(JSON.stringify(e)), n = {
|
|
22603
22616
|
fields: t.fields
|
|
22604
22617
|
};
|
|
22605
22618
|
return Sp(n), t.fields = n.fields, t;
|
|
22606
22619
|
}
|
|
22607
|
-
function
|
|
22620
|
+
function IN(e, t) {
|
|
22608
22621
|
const n = on[e];
|
|
22609
22622
|
if (!n || !n.fieldRules)
|
|
22610
22623
|
return t;
|
|
22611
|
-
const i =
|
|
22624
|
+
const i = TN(n.fieldRules), o = { ...t };
|
|
22612
22625
|
return o.fields = o.fields.map((a) => {
|
|
22613
22626
|
if (Object.keys(a)[0] === "config") {
|
|
22614
22627
|
const l = a.config.entity_checks || [], u = (c) => {
|
|
@@ -22631,7 +22644,7 @@ function AN(e, t) {
|
|
|
22631
22644
|
return a;
|
|
22632
22645
|
}), o;
|
|
22633
22646
|
}
|
|
22634
|
-
function
|
|
22647
|
+
function TN(e) {
|
|
22635
22648
|
const t = [], n = (i) => i.startsWith("config.") ? i.substring(7) : i;
|
|
22636
22649
|
return e.atLeastOneOf && e.atLeastOneOf.forEach((i) => {
|
|
22637
22650
|
t.push({
|
|
@@ -22664,10 +22677,10 @@ function IN(e) {
|
|
|
22664
22677
|
}
|
|
22665
22678
|
}), t;
|
|
22666
22679
|
}
|
|
22667
|
-
const
|
|
22680
|
+
const SN = { class: "kong-ui-entities-plugin-form" }, ON = {
|
|
22668
22681
|
key: 1,
|
|
22669
22682
|
class: "entity-form"
|
|
22670
|
-
},
|
|
22683
|
+
}, $N = { class: "plugin-config-empty-state" }, NN = /* @__PURE__ */ ge({
|
|
22671
22684
|
__name: "PluginEntityForm",
|
|
22672
22685
|
props: {
|
|
22673
22686
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -22824,11 +22837,11 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
22824
22837
|
var se;
|
|
22825
22838
|
return (se = k.value) == null ? void 0 : se.options;
|
|
22826
22839
|
}), U = D(() => {
|
|
22827
|
-
const se =
|
|
22840
|
+
const se = IN(
|
|
22828
22841
|
F.name,
|
|
22829
22842
|
i.rawSchema
|
|
22830
22843
|
);
|
|
22831
|
-
return
|
|
22844
|
+
return AN(se);
|
|
22832
22845
|
}), V = ae(!1), K = ae(), L = (se, de) => {
|
|
22833
22846
|
V.value = se ?? "", K.value = de;
|
|
22834
22847
|
}, P = (se) => {
|
|
@@ -23024,11 +23037,11 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
23024
23037
|
var he, Pe, Te;
|
|
23025
23038
|
const ye = ue("KSkeleton");
|
|
23026
23039
|
return C(), te(Fe, null, [
|
|
23027
|
-
W("div",
|
|
23040
|
+
W("div", SN, [
|
|
23028
23041
|
ee.value ? (C(), Y(ye, {
|
|
23029
23042
|
key: 0,
|
|
23030
23043
|
type: "form"
|
|
23031
|
-
})) : F.id && e.editing || !e.editing ? (C(), te("div",
|
|
23044
|
+
})) : F.id && e.editing || !e.editing ? (C(), te("div", ON, [
|
|
23032
23045
|
I.value ? (C(), Y(xt(I.value), {
|
|
23033
23046
|
key: 0,
|
|
23034
23047
|
"field-renderers": (he = H.value) == null ? void 0 : he.fieldRenderers,
|
|
@@ -23084,14 +23097,14 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
23084
23097
|
onShowNewPartialModal: de[1] || (de[1] = (Ve) => se.$emit("showNewPartialModal", Ve))
|
|
23085
23098
|
}, ut({
|
|
23086
23099
|
"plugin-config-empty-state": R(() => [
|
|
23087
|
-
W("div",
|
|
23100
|
+
W("div", $N, ne(s(_)("plugins.form.grouping.plugin_configuration.empty")), 1)
|
|
23088
23101
|
]),
|
|
23089
23102
|
_: 2
|
|
23090
23103
|
}, [
|
|
23091
23104
|
(Te = s(on)[F.name]) != null && Te.fieldRules && (i.config.isNewOtelSchema || F.name !== "opentelemetry") ? {
|
|
23092
23105
|
name: "plugin-config-before-content",
|
|
23093
23106
|
fn: R(() => [
|
|
23094
|
-
E(
|
|
23107
|
+
E(bN, {
|
|
23095
23108
|
rules: s(on)[F.name].fieldRules
|
|
23096
23109
|
}, null, 8, ["rules"])
|
|
23097
23110
|
]),
|
|
@@ -23116,7 +23129,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
23116
23129
|
], 64);
|
|
23117
23130
|
};
|
|
23118
23131
|
}
|
|
23119
|
-
}),
|
|
23132
|
+
}), PN = /* @__PURE__ */ Ie(NN, [["__scopeId", "data-v-fe315893"]]), RN = { key: 1 }, MN = /* @__PURE__ */ ge({
|
|
23120
23133
|
__name: "PluginFormActionsWrapper",
|
|
23121
23134
|
props: {
|
|
23122
23135
|
teleportTarget: {
|
|
@@ -23130,11 +23143,11 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
23130
23143
|
to: e.teleportTarget
|
|
23131
23144
|
}, [
|
|
23132
23145
|
Qe(t.$slots, "default")
|
|
23133
|
-
], 8, ["to"])) : (C(), te("div",
|
|
23146
|
+
], 8, ["to"])) : (C(), te("div", RN, [
|
|
23134
23147
|
Qe(t.$slots, "default")
|
|
23135
23148
|
]));
|
|
23136
23149
|
}
|
|
23137
|
-
}),
|
|
23150
|
+
}), FN = { key: 0 }, LN = { class: "plugin-form-actions" }, KN = /* @__PURE__ */ ge({
|
|
23138
23151
|
__name: "PluginForm",
|
|
23139
23152
|
props: {
|
|
23140
23153
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -23496,7 +23509,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
23496
23509
|
} else if (["string", "integer", "number"].includes(Ae.type) && Ae.one_of) {
|
|
23497
23510
|
if (we) {
|
|
23498
23511
|
const { id: Ke, help: Be, label: Me, hint: ze, values: Ue, referenceable: it, model: Xe } = X[ve];
|
|
23499
|
-
X[ve] = { id: Ke, help: Be, label: Me, hint: ze, values: Ue, referenceable: it, model: Xe, ...
|
|
23512
|
+
X[ve] = { id: Ke, help: Be, label: Me, hint: ze, values: Ue, referenceable: it, model: Xe, ...mN(Ae.one_of, be.default) };
|
|
23500
23513
|
}
|
|
23501
23514
|
} else if (Ae.type === "array") {
|
|
23502
23515
|
const { id: Ke, help: Be, label: Me, hint: ze, values: Ue, referenceable: it, model: Xe, elements: vt } = X[ve], { inputAttributes: $n, ...wt } = JSON.parse(JSON.stringify(tt));
|
|
@@ -23819,12 +23832,12 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
23819
23832
|
onLoading: ie[5] || (ie[5] = (Ee) => Q.$emit("loading", Ee))
|
|
23820
23833
|
}, {
|
|
23821
23834
|
"form-actions": R(() => [
|
|
23822
|
-
e.isWizardStep ? (C(), te("div",
|
|
23835
|
+
e.isWizardStep ? (C(), te("div", FN)) : (C(), Y(MN, {
|
|
23823
23836
|
key: 1,
|
|
23824
23837
|
"teleport-target": e.actionsTeleportTarget
|
|
23825
23838
|
}, {
|
|
23826
23839
|
default: R(() => [
|
|
23827
|
-
W("div",
|
|
23840
|
+
W("div", LN, [
|
|
23828
23841
|
e.hideViewConfigAction ? ce("", !0) : (C(), Y(re, {
|
|
23829
23842
|
key: 0,
|
|
23830
23843
|
appearance: "tertiary",
|
|
@@ -23870,7 +23883,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
23870
23883
|
hidden: "",
|
|
23871
23884
|
onSubmit: Ve
|
|
23872
23885
|
}, null, 32),
|
|
23873
|
-
E(
|
|
23886
|
+
E(PN, {
|
|
23874
23887
|
config: e.config,
|
|
23875
23888
|
credential: x.value,
|
|
23876
23889
|
editing: v.value === s(ni).Edit,
|
|
@@ -23942,16 +23955,16 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
23942
23955
|
], 2);
|
|
23943
23956
|
};
|
|
23944
23957
|
}
|
|
23945
|
-
}),
|
|
23958
|
+
}), t2 = /* @__PURE__ */ Ie(KN, [["__scopeId", "data-v-acda21d4"]]), jN = { class: "kong-ui-entities-plugins-list" }, DN = { class: "button-row" }, qN = { class: "name-cell-wrapper" }, VN = { class: "info-wrapper" }, UN = {
|
|
23946
23959
|
key: 0,
|
|
23947
23960
|
class: "info-name"
|
|
23948
|
-
},
|
|
23961
|
+
}, BN = {
|
|
23949
23962
|
key: 1,
|
|
23950
23963
|
class: "info-name"
|
|
23951
|
-
},
|
|
23964
|
+
}, zN = {
|
|
23952
23965
|
key: 2,
|
|
23953
23966
|
class: "info-type"
|
|
23954
|
-
},
|
|
23967
|
+
}, GN = { key: 1 }, HN = /* @__PURE__ */ ge({
|
|
23955
23968
|
__name: "PluginList",
|
|
23956
23969
|
props: {
|
|
23957
23970
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -24204,7 +24217,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
24204
24217
|
Pe.value = await o.canCreate(), Pe.value && (he.value.title = a("plugins.list.empty_state.title"), he.value.ctaText = a("actions.create"));
|
|
24205
24218
|
}), (ke, Se) => {
|
|
24206
24219
|
const Ce = ue("KButton"), Le = ue("KEmptyState"), Ne = ue("KBadge"), Q = ue("KTruncate"), ie = ue("KInputSwitch"), X = ue("KDropdownItem"), we = ue("KClipboardProvider");
|
|
24207
|
-
return C(), te("div",
|
|
24220
|
+
return C(), te("div", jN, [
|
|
24208
24221
|
E(s(zp), {
|
|
24209
24222
|
"cache-identifier": e.cacheIdentifier,
|
|
24210
24223
|
"disable-sorting": h.value,
|
|
@@ -24236,7 +24249,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
24236
24249
|
disabled: !e.useActionOutside,
|
|
24237
24250
|
to: "#kong-ui-app-page-header-action-button"
|
|
24238
24251
|
}, [
|
|
24239
|
-
W("div",
|
|
24252
|
+
W("div", DN, [
|
|
24240
24253
|
!c.value && f.value ? (C(), Y(Ce, {
|
|
24241
24254
|
key: 0,
|
|
24242
24255
|
appearance: "secondary",
|
|
@@ -24273,15 +24286,15 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
24273
24286
|
], 8, ["disabled"]))
|
|
24274
24287
|
]),
|
|
24275
24288
|
name: R(({ row: re }) => [
|
|
24276
|
-
W("div",
|
|
24289
|
+
W("div", qN, [
|
|
24277
24290
|
E(s(ui), {
|
|
24278
24291
|
class: "plugin-icon",
|
|
24279
24292
|
name: re.name,
|
|
24280
24293
|
size: 24
|
|
24281
24294
|
}, null, 8, ["name"]),
|
|
24282
|
-
W("div",
|
|
24283
|
-
re.instance_name ? (C(), te("span",
|
|
24284
|
-
re.instance_name ? (C(), te("span",
|
|
24295
|
+
W("div", VN, [
|
|
24296
|
+
re.instance_name ? (C(), te("span", UN, ne(re.instance_name), 1)) : (C(), te("span", BN, ne(s(n).getDisplayName(re.name)), 1)),
|
|
24297
|
+
re.instance_name ? (C(), te("span", zN, ne(s(n).getDisplayName(re.name)), 1)) : ce("", !0)
|
|
24285
24298
|
])
|
|
24286
24299
|
])
|
|
24287
24300
|
]),
|
|
@@ -24308,7 +24321,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
24308
24321
|
}, 1032, ["auth-function"]))), 128))
|
|
24309
24322
|
]),
|
|
24310
24323
|
_: 2
|
|
24311
|
-
}, 1024)) : (C(), te("span",
|
|
24324
|
+
}, 1024)) : (C(), te("span", GN, "-"))
|
|
24312
24325
|
]),
|
|
24313
24326
|
enabled: R(({ row: re }) => [
|
|
24314
24327
|
E(s(ii), {
|
|
@@ -24510,13 +24523,13 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
24510
24523
|
]);
|
|
24511
24524
|
};
|
|
24512
24525
|
}
|
|
24513
|
-
}),
|
|
24526
|
+
}), n2 = /* @__PURE__ */ Ie(HN, [["__scopeId", "data-v-5fef62ed"]]), WN = { class: "plugin-select-card-wrapper" }, YN = ["data-testid"], JN = { class: "plugin-card-header" }, XN = { class: "plugin-card-title" }, ZN = {
|
|
24514
24527
|
key: 0,
|
|
24515
24528
|
class: "plugin-card-actions"
|
|
24516
|
-
},
|
|
24529
|
+
}, QN = ["data-testid", "title"], eP = {
|
|
24517
24530
|
key: 0,
|
|
24518
24531
|
class: "plugin-card-text"
|
|
24519
|
-
},
|
|
24532
|
+
}, tP = { key: 0 }, nP = ["title"], iP = /* @__PURE__ */ ge({
|
|
24520
24533
|
__name: "PluginSelectCard",
|
|
24521
24534
|
props: {
|
|
24522
24535
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -24569,7 +24582,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
24569
24582
|
};
|
|
24570
24583
|
return (y, v) => {
|
|
24571
24584
|
const A = ue("KButton"), w = ue("KDropdownItem"), x = ue("KDropdownMenu"), b = ue("KTooltip");
|
|
24572
|
-
return C(), te("div",
|
|
24585
|
+
return C(), te("div", WN, [
|
|
24573
24586
|
E(b, {
|
|
24574
24587
|
text: e.plugin.disabledMessage
|
|
24575
24588
|
}, {
|
|
@@ -24580,13 +24593,13 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
24580
24593
|
role: "button",
|
|
24581
24594
|
onClick: v[1] || (v[1] = (S) => l.value || m.value ? void 0 : f())
|
|
24582
24595
|
}, [
|
|
24583
|
-
W("div",
|
|
24584
|
-
W("div",
|
|
24596
|
+
W("div", JN, [
|
|
24597
|
+
W("div", XN, [
|
|
24585
24598
|
W("span", {
|
|
24586
24599
|
class: at({ "non-custom-title": !m.value })
|
|
24587
24600
|
}, ne(e.plugin.name), 3)
|
|
24588
24601
|
]),
|
|
24589
|
-
u.value ? (C(), te("div",
|
|
24602
|
+
u.value ? (C(), te("div", ZN, [
|
|
24590
24603
|
E(x, {
|
|
24591
24604
|
"data-testid": "custom-plugin-actions",
|
|
24592
24605
|
"kpop-attributes": { placement: "bottom-end" },
|
|
@@ -24646,27 +24659,27 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
24646
24659
|
name: e.plugin.id,
|
|
24647
24660
|
size: 55
|
|
24648
24661
|
}, null, 8, ["alt", "name"]),
|
|
24649
|
-
e.plugin.description || m.value && !p.value ? (C(), te("div",
|
|
24650
|
-
m.value && !p.value ? (C(), te("p",
|
|
24662
|
+
e.plugin.description || m.value && !p.value ? (C(), te("div", eP, [
|
|
24663
|
+
m.value && !p.value ? (C(), te("p", tP, ne(s(a)("plugins.select.custom_badge_text")), 1)) : ce("", !0),
|
|
24651
24664
|
e.plugin.description ? (C(), te("p", {
|
|
24652
24665
|
key: 1,
|
|
24653
24666
|
class: "plugin-card-text",
|
|
24654
24667
|
title: e.plugin.description
|
|
24655
|
-
}, ne(e.plugin.description), 9,
|
|
24668
|
+
}, ne(e.plugin.description), 9, nP)) : ce("", !0)
|
|
24656
24669
|
])) : ce("", !0)
|
|
24657
|
-
], 10,
|
|
24670
|
+
], 10, QN),
|
|
24658
24671
|
W("div", {
|
|
24659
24672
|
class: "plugin-card-footer",
|
|
24660
24673
|
onClick: _
|
|
24661
24674
|
}, ne(p.value ? s(a)("actions.create_custom") : e.plugin.exists ? s(a)("actions.enabled") : s(a)("actions.enable")), 1)
|
|
24662
|
-
], 10,
|
|
24675
|
+
], 10, YN)
|
|
24663
24676
|
]),
|
|
24664
24677
|
_: 1
|
|
24665
24678
|
}, 8, ["text"])
|
|
24666
24679
|
]);
|
|
24667
24680
|
};
|
|
24668
24681
|
}
|
|
24669
|
-
}), Op = /* @__PURE__ */ Ie(
|
|
24682
|
+
}), Op = /* @__PURE__ */ Ie(iP, [["__scopeId", "data-v-023c396b"]]), aP = /* @__PURE__ */ ge({
|
|
24670
24683
|
__name: "DeleteCustomPluginSchemaModal",
|
|
24671
24684
|
props: {
|
|
24672
24685
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -24762,7 +24775,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
24762
24775
|
}, 8, ["action-button-disabled", "title"])) : ce("", !0);
|
|
24763
24776
|
};
|
|
24764
24777
|
}
|
|
24765
|
-
}), xs = /* @__PURE__ */ Ie(
|
|
24778
|
+
}), xs = /* @__PURE__ */ Ie(aP, [["__scopeId", "data-v-e8ea9d81"]]), oP = { class: "custom-plugins-grid" }, rP = { class: "empty-state-title" }, sP = { class: "empty-state-description" }, ir = 310, lP = /* @__PURE__ */ ge({
|
|
24766
24779
|
__name: "PluginCustomGrid",
|
|
24767
24780
|
props: {
|
|
24768
24781
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -24847,7 +24860,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
24847
24860
|
window == null || window.removeEventListener("resize", A);
|
|
24848
24861
|
}), (x, b) => {
|
|
24849
24862
|
const S = ue("KEmptyState"), M = ue("KCollapse");
|
|
24850
|
-
return C(), te("div",
|
|
24863
|
+
return C(), te("div", oP, [
|
|
24851
24864
|
d.value.length ? (C(), Y(M, {
|
|
24852
24865
|
key: 1,
|
|
24853
24866
|
modelValue: l.value,
|
|
@@ -24895,10 +24908,10 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
24895
24908
|
"icon-variant": "kong"
|
|
24896
24909
|
}, {
|
|
24897
24910
|
title: R(() => [
|
|
24898
|
-
W("span",
|
|
24911
|
+
W("span", rP, ne(s(o)("plugins.select.tabs.custom.empty_title")), 1)
|
|
24899
24912
|
]),
|
|
24900
24913
|
default: R(() => [
|
|
24901
|
-
W("span",
|
|
24914
|
+
W("span", sP, ne(s(o)("plugins.select.tabs.custom.empty_description")), 1)
|
|
24902
24915
|
]),
|
|
24903
24916
|
_: 1
|
|
24904
24917
|
})),
|
|
@@ -24912,7 +24925,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
24912
24925
|
]);
|
|
24913
24926
|
};
|
|
24914
24927
|
}
|
|
24915
|
-
}),
|
|
24928
|
+
}), uP = /* @__PURE__ */ Ie(lP, [["__scopeId", "data-v-bfe8998d"]]), ar = 310, cP = /* @__PURE__ */ ge({
|
|
24916
24929
|
__name: "PluginSelectGroup",
|
|
24917
24930
|
props: /* @__PURE__ */ va({
|
|
24918
24931
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -25003,7 +25016,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25003
25016
|
]), 1032, ["modelValue", "data-testid", "title", "trigger-label"]);
|
|
25004
25017
|
};
|
|
25005
25018
|
}
|
|
25006
|
-
}), su = /* @__PURE__ */ Ie(
|
|
25019
|
+
}), su = /* @__PURE__ */ Ie(cP, [["__scopeId", "data-v-0ea863e8"]]), dP = { class: "plugin-select-grid" }, pP = { class: "empty-state-title" }, fP = { class: "empty-state-description" }, lu = /* @__PURE__ */ ge({
|
|
25007
25020
|
__name: "PluginSelectGrid",
|
|
25008
25021
|
props: {
|
|
25009
25022
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -25059,7 +25072,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25059
25072
|
});
|
|
25060
25073
|
return (d, f) => {
|
|
25061
25074
|
const c = ue("KEmptyState");
|
|
25062
|
-
return C(), te("div",
|
|
25075
|
+
return C(), te("div", dP, [
|
|
25063
25076
|
Object.keys(u.value).length ? ce("", !0) : (C(), Y(c, {
|
|
25064
25077
|
key: 0,
|
|
25065
25078
|
"action-button-visible": !1,
|
|
@@ -25068,10 +25081,10 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25068
25081
|
"icon-variant": "kong"
|
|
25069
25082
|
}, {
|
|
25070
25083
|
title: R(() => [
|
|
25071
|
-
W("span",
|
|
25084
|
+
W("span", pP, ne(s(o)("plugins.select.tabs.kong.empty_title")), 1)
|
|
25072
25085
|
]),
|
|
25073
25086
|
default: R(() => [
|
|
25074
|
-
W("span",
|
|
25087
|
+
W("span", fP, ne(s(o)("plugins.select.tabs.kong.empty_description")), 1)
|
|
25075
25088
|
]),
|
|
25076
25089
|
_: 1
|
|
25077
25090
|
})),
|
|
@@ -25101,11 +25114,11 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25101
25114
|
]);
|
|
25102
25115
|
};
|
|
25103
25116
|
}
|
|
25104
|
-
}),
|
|
25117
|
+
}), mP = { class: "kong-ui-entities-plugin-select-form" }, gP = { class: "plugins-filter-input-container" }, hP = { key: 0 }, vP = {
|
|
25105
25118
|
key: 3,
|
|
25106
25119
|
"aria-live": "polite",
|
|
25107
25120
|
class: "plugins-results-container"
|
|
25108
|
-
},
|
|
25121
|
+
}, yP = { "data-testid": "kong-tab" }, _P = { class: "tab-description" }, bP = { "data-testid": "custom-tab" }, wP = { class: "tab-description" }, kP = /* @__PURE__ */ ge({
|
|
25109
25122
|
__name: "PluginSelect",
|
|
25110
25123
|
props: {
|
|
25111
25124
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -25269,7 +25282,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25269
25282
|
vi(async () => {
|
|
25270
25283
|
U.value = await n.canCreateCustomPlugin(), V.value = await n.canEditCustomPlugin(), K.value = await n.canDeleteCustomPlugin();
|
|
25271
25284
|
});
|
|
25272
|
-
const L =
|
|
25285
|
+
const L = dt("filter-input");
|
|
25273
25286
|
return Tn(async () => {
|
|
25274
25287
|
var $, G;
|
|
25275
25288
|
(G = ($ = L.value) == null ? void 0 : $.input) == null || G.focus();
|
|
@@ -25300,8 +25313,8 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25300
25313
|
m.value || (y.value = k()), p.value = !1;
|
|
25301
25314
|
}), ($, G) => {
|
|
25302
25315
|
const Z = ue("KInput"), q = ue("KSkeletonBox"), T = ue("KSkeleton"), j = ue("KEmptyState"), z = ue("KTooltip"), ee = ue("KTabs");
|
|
25303
|
-
return C(), te("div",
|
|
25304
|
-
W("div",
|
|
25316
|
+
return C(), te("div", mP, [
|
|
25317
|
+
W("div", gP, [
|
|
25305
25318
|
E(Z, {
|
|
25306
25319
|
ref: "filter-input",
|
|
25307
25320
|
modelValue: c.value,
|
|
@@ -25313,7 +25326,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25313
25326
|
type: "search"
|
|
25314
25327
|
}, null, 8, ["modelValue", "placeholder"])
|
|
25315
25328
|
]),
|
|
25316
|
-
p.value ? (C(), te("section",
|
|
25329
|
+
p.value ? (C(), te("section", hP, [
|
|
25317
25330
|
E(q, {
|
|
25318
25331
|
class: "plugins-skeleton-title",
|
|
25319
25332
|
width: "10"
|
|
@@ -25343,7 +25356,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25343
25356
|
W("h5", null, ne(s(r)("search.no_results", { filter: c.value })), 1)
|
|
25344
25357
|
]),
|
|
25345
25358
|
_: 1
|
|
25346
|
-
})) : (C(), te("section",
|
|
25359
|
+
})) : (C(), te("section", vP, [
|
|
25347
25360
|
H.value.length && e.customPluginSupport !== "none" ? (C(), Y(ee, {
|
|
25348
25361
|
key: 0,
|
|
25349
25362
|
modelValue: I.value,
|
|
@@ -25353,8 +25366,8 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25353
25366
|
onChange: J
|
|
25354
25367
|
}, ut({
|
|
25355
25368
|
kong: R(() => [
|
|
25356
|
-
W("div",
|
|
25357
|
-
W("p",
|
|
25369
|
+
W("div", yP, [
|
|
25370
|
+
W("p", _P, ne(s(r)("plugins.select.tabs.kong.description")), 1),
|
|
25358
25371
|
E(lu, {
|
|
25359
25372
|
config: e.config,
|
|
25360
25373
|
"hide-highlighted-plugins": c.value.length > 0,
|
|
@@ -25367,10 +25380,10 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25367
25380
|
])
|
|
25368
25381
|
]),
|
|
25369
25382
|
custom: R(() => [
|
|
25370
|
-
W("div",
|
|
25383
|
+
W("div", bP, [
|
|
25371
25384
|
Qe($.$slots, "before-custom-tab-content", {}, void 0, !0),
|
|
25372
|
-
W("p",
|
|
25373
|
-
E(
|
|
25385
|
+
W("p", wP, ne(s(r)("plugins.select.tabs.custom.description")), 1),
|
|
25386
|
+
E(uP, {
|
|
25374
25387
|
"can-create-custom-plugin": U.value,
|
|
25375
25388
|
"can-delete-custom-plugin": K.value,
|
|
25376
25389
|
"can-edit-custom-plugin": V.value,
|
|
@@ -25414,13 +25427,13 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25414
25427
|
]);
|
|
25415
25428
|
};
|
|
25416
25429
|
}
|
|
25417
|
-
}),
|
|
25430
|
+
}), i2 = /* @__PURE__ */ Ie(kP, [["__scopeId", "data-v-e7475803"]]), xP = {
|
|
25418
25431
|
class: "plugin-select-card-wrapper",
|
|
25419
25432
|
"data-testid": "plugin-catalog-card-wrapper"
|
|
25420
|
-
},
|
|
25433
|
+
}, CP = { class: "plugin-card-header" }, EP = { class: "plugin-card-title" }, AP = {
|
|
25421
25434
|
key: 0,
|
|
25422
25435
|
class: "plugin-card-actions"
|
|
25423
|
-
},
|
|
25436
|
+
}, IP = ["data-testid", "title"], TP = { key: 0 }, SP = { key: 0 }, OP = ["title"], $P = { class: "plugin-card-footer" }, NP = /* @__PURE__ */ ge({
|
|
25424
25437
|
__name: "PluginCatalogCard",
|
|
25425
25438
|
props: {
|
|
25426
25439
|
config: {},
|
|
@@ -25445,7 +25458,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25445
25458
|
};
|
|
25446
25459
|
return (g, h) => {
|
|
25447
25460
|
const _ = ue("KButton"), y = ue("KDropdownItem"), v = ue("KDropdownMenu"), A = ue("RouterLink"), w = ue("KTooltip");
|
|
25448
|
-
return C(), te("div",
|
|
25461
|
+
return C(), te("div", xP, [
|
|
25449
25462
|
E(w, {
|
|
25450
25463
|
text: e.plugin.disabledMessage
|
|
25451
25464
|
}, {
|
|
@@ -25456,8 +25469,8 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25456
25469
|
to: d.value
|
|
25457
25470
|
}, {
|
|
25458
25471
|
default: R(() => [
|
|
25459
|
-
W("div",
|
|
25460
|
-
W("div",
|
|
25472
|
+
W("div", CP, [
|
|
25473
|
+
W("div", EP, [
|
|
25461
25474
|
E(s(ui), {
|
|
25462
25475
|
alt: e.plugin.name,
|
|
25463
25476
|
class: "plugin-card-icon",
|
|
@@ -25468,7 +25481,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25468
25481
|
class: at({ "non-custom-title": !c.value })
|
|
25469
25482
|
}, ne(e.plugin.name), 3)
|
|
25470
25483
|
]),
|
|
25471
|
-
u.value ? (C(), te("div",
|
|
25484
|
+
u.value ? (C(), te("div", AP, [
|
|
25472
25485
|
E(v, {
|
|
25473
25486
|
"data-testid": "custom-plugin-actions",
|
|
25474
25487
|
"kpop-attributes": { placement: "bottom-end" },
|
|
@@ -25521,15 +25534,15 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25521
25534
|
"data-testid": `${e.plugin.id}-card-body`,
|
|
25522
25535
|
title: e.plugin.available ? e.plugin.name : s(a)("plugins.select.unavailable_tooltip")
|
|
25523
25536
|
}, [
|
|
25524
|
-
e.plugin.description || c.value && !f.value ? (C(), te("div",
|
|
25525
|
-
c.value && !f.value ? (C(), te("div",
|
|
25537
|
+
e.plugin.description || c.value && !f.value ? (C(), te("div", TP, [
|
|
25538
|
+
c.value && !f.value ? (C(), te("div", SP, ne(s(a)("plugins.select.custom_badge_text")), 1)) : ce("", !0),
|
|
25526
25539
|
e.plugin.description ? (C(), te("div", {
|
|
25527
25540
|
key: 1,
|
|
25528
25541
|
title: e.plugin.description
|
|
25529
|
-
}, ne(e.plugin.description), 9,
|
|
25542
|
+
}, ne(e.plugin.description), 9, OP)) : ce("", !0)
|
|
25530
25543
|
])) : ce("", !0)
|
|
25531
|
-
], 8,
|
|
25532
|
-
W("div",
|
|
25544
|
+
], 8, IP),
|
|
25545
|
+
W("div", $P, [
|
|
25533
25546
|
W("div", null, ne(f.value ? s(a)("actions.create_custom") : s(a)("actions.configure")), 1),
|
|
25534
25547
|
Qe(g.$slots, "footer-extra", {}, void 0, !0)
|
|
25535
25548
|
])
|
|
@@ -25542,7 +25555,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25542
25555
|
]);
|
|
25543
25556
|
};
|
|
25544
25557
|
}
|
|
25545
|
-
}),
|
|
25558
|
+
}), PP = /* @__PURE__ */ Ie(NP, [["__scopeId", "data-v-f04efe4f"]]), RP = ["data-testid"], MP = { class: "group-icon-wrapper" }, FP = { class: "group-title-text" }, LP = ["data-testid"], KP = ["data-testid"], jP = /* @__PURE__ */ ge({
|
|
25546
25559
|
__name: "PluginCatalogGroup",
|
|
25547
25560
|
props: {
|
|
25548
25561
|
config: {},
|
|
@@ -25601,16 +25614,16 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25601
25614
|
class: "group-title",
|
|
25602
25615
|
"data-testid": `plugin-group-${e.name}-title`
|
|
25603
25616
|
}, [
|
|
25604
|
-
W("div",
|
|
25617
|
+
W("div", MP, [
|
|
25605
25618
|
(C(), Y(xt(i.value), { color: s(Su) }, null, 8, ["color"]))
|
|
25606
25619
|
]),
|
|
25607
|
-
W("span",
|
|
25608
|
-
], 8,
|
|
25620
|
+
W("span", FP, ne(e.name), 1)
|
|
25621
|
+
], 8, RP)) : ce("", !0),
|
|
25609
25622
|
W("div", {
|
|
25610
25623
|
class: "plugin-card-container",
|
|
25611
25624
|
"data-testid": `plugin-group-${e.name}`
|
|
25612
25625
|
}, [
|
|
25613
|
-
(C(!0), te(Fe, null, Je(l.value, (_) => (C(), Y(
|
|
25626
|
+
(C(!0), te(Fe, null, Je(l.value, (_) => (C(), Y(PP, {
|
|
25614
25627
|
key: `plugin-card-${_.id}`,
|
|
25615
25628
|
config: e.config,
|
|
25616
25629
|
plugin: _,
|
|
@@ -25623,7 +25636,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25623
25636
|
W("span", {
|
|
25624
25637
|
class: "plugin-card-new-badge",
|
|
25625
25638
|
"data-testid": `plugin-card-${_.id}-new-badge`
|
|
25626
|
-
}, ne(s(a)("labels.new")), 9,
|
|
25639
|
+
}, ne(s(a)("labels.new")), 9, KP)
|
|
25627
25640
|
]),
|
|
25628
25641
|
key: "0"
|
|
25629
25642
|
} : void 0
|
|
@@ -25633,7 +25646,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25633
25646
|
class: "show-all-plugin-card",
|
|
25634
25647
|
onClick: d
|
|
25635
25648
|
}, ne(s(a)("plugins.select.show_all")), 1)) : ce("", !0)
|
|
25636
|
-
], 8,
|
|
25649
|
+
], 8, LP),
|
|
25637
25650
|
f.value && c.value ? (C(), Y(xs, {
|
|
25638
25651
|
key: 1,
|
|
25639
25652
|
config: e.config,
|
|
@@ -25643,7 +25656,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25643
25656
|
}, null, 8, ["config", "plugin"])) : ce("", !0)
|
|
25644
25657
|
], 64));
|
|
25645
25658
|
}
|
|
25646
|
-
}), uu = /* @__PURE__ */ Ie(
|
|
25659
|
+
}), uu = /* @__PURE__ */ Ie(jP, [["__scopeId", "data-v-f5e0d88b"]]), DP = { class: "plugin-select-grid" }, qP = { class: "empty-state-title" }, VP = { class: "empty-state-description" }, UP = { key: 1 }, BP = /* @__PURE__ */ ge({
|
|
25647
25660
|
__name: "PluginCatalogGrid",
|
|
25648
25661
|
props: {
|
|
25649
25662
|
config: {},
|
|
@@ -25657,7 +25670,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25657
25670
|
return (r, l) => {
|
|
25658
25671
|
var d, f;
|
|
25659
25672
|
const u = ue("KEmptyState");
|
|
25660
|
-
return C(), te("div",
|
|
25673
|
+
return C(), te("div", DP, [
|
|
25661
25674
|
Object.keys(e.pluginList || []).length ? ce("", !0) : (C(), Y(u, {
|
|
25662
25675
|
key: 0,
|
|
25663
25676
|
"action-button-visible": !1,
|
|
@@ -25666,10 +25679,10 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25666
25679
|
"icon-variant": "kong"
|
|
25667
25680
|
}, {
|
|
25668
25681
|
title: R(() => [
|
|
25669
|
-
W("span",
|
|
25682
|
+
W("span", qP, ne(s(o)("plugins.select.tabs.kong.empty_title")), 1)
|
|
25670
25683
|
]),
|
|
25671
25684
|
default: R(() => [
|
|
25672
|
-
W("span",
|
|
25685
|
+
W("span", VP, ne(s(o)("plugins.select.tabs.kong.empty_description")), 1)
|
|
25673
25686
|
]),
|
|
25674
25687
|
_: 1
|
|
25675
25688
|
})),
|
|
@@ -25687,7 +25700,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25687
25700
|
])) : ce("", !0)
|
|
25688
25701
|
], 64);
|
|
25689
25702
|
}), 256)),
|
|
25690
|
-
(f = (d = e.pluginList) == null ? void 0 : d["Query Result"]) != null && f.length ? (C(), te("div",
|
|
25703
|
+
(f = (d = e.pluginList) == null ? void 0 : d["Query Result"]) != null && f.length ? (C(), te("div", UP, [
|
|
25691
25704
|
E(uu, {
|
|
25692
25705
|
config: e.config,
|
|
25693
25706
|
plugins: e.pluginList["Query Result"] || [],
|
|
@@ -25698,17 +25711,17 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25698
25711
|
]);
|
|
25699
25712
|
};
|
|
25700
25713
|
}
|
|
25701
|
-
}),
|
|
25714
|
+
}), zP = /* @__PURE__ */ Ie(BP, [["__scopeId", "data-v-f8c34698"]]), GP = {
|
|
25702
25715
|
class: "plugin-name-cell",
|
|
25703
25716
|
"data-testid": "plugin-catalog-list-view-name"
|
|
25704
|
-
},
|
|
25717
|
+
}, HP = ["title"], WP = ["title"], YP = {
|
|
25705
25718
|
class: "plugin-action-cell",
|
|
25706
25719
|
"data-testid": "plugin-catalog-list-view-action"
|
|
25707
|
-
},
|
|
25720
|
+
}, JP = {
|
|
25708
25721
|
key: 0,
|
|
25709
25722
|
class: "plugin-more-action-cell",
|
|
25710
25723
|
"data-testid": "plugin-catalog-list-view-more-actions"
|
|
25711
|
-
},
|
|
25724
|
+
}, XP = /* @__PURE__ */ ge({
|
|
25712
25725
|
__name: "PluginCatalogListView",
|
|
25713
25726
|
props: {
|
|
25714
25727
|
config: {},
|
|
@@ -25789,7 +25802,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25789
25802
|
onSort: A
|
|
25790
25803
|
}, {
|
|
25791
25804
|
name: R(({ row: k }) => [
|
|
25792
|
-
W("span",
|
|
25805
|
+
W("span", GP, [
|
|
25793
25806
|
E(s(ui), {
|
|
25794
25807
|
"data-testid": `plugin-catalog-list-view-${k.plugin.id}-icon`,
|
|
25795
25808
|
name: k.plugin.id,
|
|
@@ -25799,7 +25812,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25799
25812
|
class: "plugin-name-text",
|
|
25800
25813
|
"data-testid": "plugin-catalog-list-view-name-text",
|
|
25801
25814
|
title: k.name
|
|
25802
|
-
}, ne(k.name), 9,
|
|
25815
|
+
}, ne(k.name), 9, HP)
|
|
25803
25816
|
])
|
|
25804
25817
|
]),
|
|
25805
25818
|
description: R(({ row: k }) => [
|
|
@@ -25807,10 +25820,10 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25807
25820
|
class: "plugin-description-cell",
|
|
25808
25821
|
"data-testid": "plugin-catalog-list-view-description",
|
|
25809
25822
|
title: k.description
|
|
25810
|
-
}, ne(k.description), 9,
|
|
25823
|
+
}, ne(k.description), 9, WP)
|
|
25811
25824
|
]),
|
|
25812
25825
|
action: R(({ row: k }) => [
|
|
25813
|
-
W("div",
|
|
25826
|
+
W("div", YP, [
|
|
25814
25827
|
E(b, {
|
|
25815
25828
|
appearance: "tertiary",
|
|
25816
25829
|
"data-testid": "plugin-catalog-list-view-configure-btn",
|
|
@@ -25827,7 +25840,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25827
25840
|
"more-actions": R(({ row: k }) => {
|
|
25828
25841
|
var O;
|
|
25829
25842
|
return [
|
|
25830
|
-
(O = k.plugin) != null && O.customPluginType ? (C(), te("div",
|
|
25843
|
+
(O = k.plugin) != null && O.customPluginType ? (C(), te("div", JP, [
|
|
25831
25844
|
E(M, {
|
|
25832
25845
|
appearance: "tertiary",
|
|
25833
25846
|
class: "actions-trigger",
|
|
@@ -25886,17 +25899,17 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25886
25899
|
], 64);
|
|
25887
25900
|
};
|
|
25888
25901
|
}
|
|
25889
|
-
}),
|
|
25902
|
+
}), ZP = /* @__PURE__ */ Ie(XP, [["__scopeId", "data-v-9d6526b5"]]), QP = {
|
|
25890
25903
|
class: "plugin-catalog",
|
|
25891
25904
|
"data-testid": "plugin-catalog"
|
|
25892
|
-
},
|
|
25905
|
+
}, eR = {
|
|
25893
25906
|
class: "plugin-filter",
|
|
25894
25907
|
"data-testid": "plugin-filter"
|
|
25895
|
-
},
|
|
25908
|
+
}, tR = { class: "plugin-filter-title" }, nR = { class: "featured-title" }, iR = { class: "plugin-featured-filter" }, aR = ["data-testid"], oR = { class: "group-title" }, rR = { class: "plugin-type-filter" }, sR = ["data-testid"], lR = { class: "plugins-container" }, uR = { class: "plugins-filter-input-container" }, cR = { class: "icon-container" }, dR = { key: 0 }, pR = {
|
|
25896
25909
|
key: 3,
|
|
25897
25910
|
"aria-live": "polite",
|
|
25898
25911
|
class: "plugins-results-container"
|
|
25899
|
-
},
|
|
25912
|
+
}, fR = /* @__PURE__ */ ge({
|
|
25900
25913
|
__name: "PluginCatalog",
|
|
25901
25914
|
props: {
|
|
25902
25915
|
config: {},
|
|
@@ -25908,7 +25921,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
25908
25921
|
emits: ["loading", "plugin-clicked", "delete-custom:success"],
|
|
25909
25922
|
setup(e, { emit: t }) {
|
|
25910
25923
|
var U;
|
|
25911
|
-
const n = t, { i18n: { t: i } } = nt.useI18n(), { pluginMetaData: o } = nt.usePluginMetaData(), { getMessageFromError: a } = ei(), { sortAlpha: r, objectsAreEqual: l } = Fa(), u = e, { axiosInstance: d } = jn((U = u.config) == null ? void 0 : U.axiosRequestConfig), f =
|
|
25924
|
+
const n = t, { i18n: { t: i } } = nt.useI18n(), { pluginMetaData: o } = nt.usePluginMetaData(), { getMessageFromError: a } = ei(), { sortAlpha: r, objectsAreEqual: l } = Fa(), u = e, { axiosInstance: d } = jn((U = u.config) == null ? void 0 : U.axiosRequestConfig), f = dt("filter-input"), c = ae(""), p = ae(!1), m = ae(!1), g = ae(Object.fromEntries(lr.concat(ur).map((V) => [V, !1]))), h = ae(!0), _ = ae(!1), y = ae(""), v = ae([]), A = ae([]), w = ae({}), x = ae([]), b = ae(!1), S = D(() => b.value ? Pf : Rf), M = D(() => {
|
|
25912
25925
|
var K;
|
|
25913
25926
|
let V = `${u.config.apiBaseUrl}${_t.select[u.config.app].availablePlugins}`;
|
|
25914
25927
|
return u.config.app === "konnect" ? V = V.replace(/{controlPlaneId}/gi, u.config.controlPlaneId || "") : u.config.app === "kongManager" && (V = ((K = u.config.gatewayInfo) == null ? void 0 : K.edition) === "community" ? `${u.config.apiBaseUrl}${_t.select[u.config.app].availablePluginsForOss}` : V.replace(/\/{workspace}/gi, u.config.workspace ? `/${u.config.workspace}` : "")), V;
|
|
@@ -26021,9 +26034,9 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26021
26034
|
_.value || (w.value = J()), h.value = !1;
|
|
26022
26035
|
}), (V, K) => {
|
|
26023
26036
|
const L = ue("KButton"), P = ue("KCheckbox"), $ = ue("KBadge"), G = ue("KCollapse"), Z = ue("KInput"), q = ue("KSkeletonBox"), T = ue("KSkeleton"), j = ue("KEmptyState");
|
|
26024
|
-
return C(), te("div",
|
|
26025
|
-
W("div",
|
|
26026
|
-
W("div",
|
|
26037
|
+
return C(), te("div", QP, [
|
|
26038
|
+
W("div", eR, [
|
|
26039
|
+
W("div", tR, [
|
|
26027
26040
|
_e(ne(s(i)("plugins.select.filter.title")) + " ", 1),
|
|
26028
26041
|
E(L, {
|
|
26029
26042
|
appearance: "tertiary",
|
|
@@ -26043,10 +26056,10 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26043
26056
|
"onUpdate:modelValue": K[0] || (K[0] = (z) => p.value = z)
|
|
26044
26057
|
}, {
|
|
26045
26058
|
title: R(() => [
|
|
26046
|
-
W("div",
|
|
26059
|
+
W("div", nR, ne(s(i)("plugins.select.filter.featured")), 1)
|
|
26047
26060
|
]),
|
|
26048
26061
|
default: R(() => [
|
|
26049
|
-
W("div",
|
|
26062
|
+
W("div", iR, [
|
|
26050
26063
|
(C(!0), te(Fe, null, Je(s(lr), (z) => (C(), te("div", {
|
|
26051
26064
|
key: z,
|
|
26052
26065
|
class: "plugin-filter-item",
|
|
@@ -26066,7 +26079,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26066
26079
|
}),
|
|
26067
26080
|
_: 2
|
|
26068
26081
|
}, 1024)
|
|
26069
|
-
], 8,
|
|
26082
|
+
], 8, aR))), 128))
|
|
26070
26083
|
])
|
|
26071
26084
|
]),
|
|
26072
26085
|
_: 1
|
|
@@ -26076,10 +26089,10 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26076
26089
|
"onUpdate:modelValue": K[1] || (K[1] = (z) => m.value = z)
|
|
26077
26090
|
}, {
|
|
26078
26091
|
title: R(() => [
|
|
26079
|
-
W("div",
|
|
26092
|
+
W("div", oR, ne(s(i)("plugins.select.filter.type")), 1)
|
|
26080
26093
|
]),
|
|
26081
26094
|
default: R(() => [
|
|
26082
|
-
W("div",
|
|
26095
|
+
W("div", rR, [
|
|
26083
26096
|
(C(!0), te(Fe, null, Je(s(ur), (z) => (C(), te("div", {
|
|
26084
26097
|
key: z,
|
|
26085
26098
|
class: "plugin-filter-item",
|
|
@@ -26103,14 +26116,14 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26103
26116
|
}),
|
|
26104
26117
|
_: 2
|
|
26105
26118
|
}, 1032, ["data-testid"])
|
|
26106
|
-
], 8,
|
|
26119
|
+
], 8, sR))), 128))
|
|
26107
26120
|
])
|
|
26108
26121
|
]),
|
|
26109
26122
|
_: 1
|
|
26110
26123
|
}, 8, ["modelValue"])
|
|
26111
26124
|
]),
|
|
26112
|
-
W("div",
|
|
26113
|
-
W("div",
|
|
26125
|
+
W("div", lR, [
|
|
26126
|
+
W("div", uR, [
|
|
26114
26127
|
E(Z, {
|
|
26115
26128
|
ref: "filter-input",
|
|
26116
26129
|
modelValue: c.value,
|
|
@@ -26121,7 +26134,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26121
26134
|
placeholder: s(i)("search.placeholder.search_plugins"),
|
|
26122
26135
|
type: "search"
|
|
26123
26136
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
26124
|
-
W("div",
|
|
26137
|
+
W("div", cR, [
|
|
26125
26138
|
(C(), Y(xt(S.value), {
|
|
26126
26139
|
class: "plugins-filter-icon",
|
|
26127
26140
|
color: s(xm),
|
|
@@ -26129,7 +26142,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26129
26142
|
}, null, 8, ["color"]))
|
|
26130
26143
|
])
|
|
26131
26144
|
]),
|
|
26132
|
-
h.value ? (C(), te("section",
|
|
26145
|
+
h.value ? (C(), te("section", dR, [
|
|
26133
26146
|
E(q, {
|
|
26134
26147
|
class: "plugins-skeleton-title",
|
|
26135
26148
|
width: "10"
|
|
@@ -26159,13 +26172,13 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26159
26172
|
W("h5", null, ne(s(i)("search.no_results", { filter: c.value })), 1)
|
|
26160
26173
|
]),
|
|
26161
26174
|
_: 1
|
|
26162
|
-
})) : (C(), te("section",
|
|
26163
|
-
b.value ? (C(), Y(
|
|
26175
|
+
})) : (C(), te("section", pR, [
|
|
26176
|
+
b.value ? (C(), Y(ZP, {
|
|
26164
26177
|
key: 0,
|
|
26165
26178
|
config: e.config,
|
|
26166
26179
|
"plugin-list": k.value,
|
|
26167
26180
|
"onDelete:success": K[4] || (K[4] = (z) => V.$emit("delete-custom:success", z))
|
|
26168
|
-
}, null, 8, ["config", "plugin-list"])) : (C(), Y(
|
|
26181
|
+
}, null, 8, ["config", "plugin-list"])) : (C(), Y(zP, {
|
|
26169
26182
|
key: 1,
|
|
26170
26183
|
config: e.config,
|
|
26171
26184
|
"plugin-list": k.value,
|
|
@@ -26177,16 +26190,16 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26177
26190
|
]);
|
|
26178
26191
|
};
|
|
26179
26192
|
}
|
|
26180
|
-
}),
|
|
26193
|
+
}), a2 = /* @__PURE__ */ Ie(fR, [["__scopeId", "data-v-e844c980"]]), mR = {
|
|
26181
26194
|
key: 1,
|
|
26182
26195
|
class: "datakit-config-card-canvas"
|
|
26183
|
-
},
|
|
26196
|
+
}, gR = {
|
|
26184
26197
|
class: "config-card-details-label",
|
|
26185
26198
|
"data-testid": "datakit-configuration-label"
|
|
26186
|
-
},
|
|
26199
|
+
}, hR = {
|
|
26187
26200
|
class: "config-card-details-value datakit-canvas-container",
|
|
26188
26201
|
"data-testid": "datakit-configuration-canvas"
|
|
26189
|
-
},
|
|
26202
|
+
}, vR = { class: "canvas-wrapper" }, yR = /* @__PURE__ */ ge({
|
|
26190
26203
|
__name: "DatakitConfigCardCanvas",
|
|
26191
26204
|
props: {
|
|
26192
26205
|
pluginData: {},
|
|
@@ -26199,8 +26212,8 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26199
26212
|
});
|
|
26200
26213
|
return Hd(e.pluginData), (n, i) => {
|
|
26201
26214
|
const o = ue("KLabel");
|
|
26202
|
-
return t.value ? (C(), te("div",
|
|
26203
|
-
W("div",
|
|
26215
|
+
return t.value ? (C(), te("div", mR, [
|
|
26216
|
+
W("div", gR, [
|
|
26204
26217
|
E(o, null, {
|
|
26205
26218
|
default: R(() => [...i[0] || (i[0] = [
|
|
26206
26219
|
W("span", { class: "label-content" }, " Nodes ", -1)
|
|
@@ -26208,8 +26221,8 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26208
26221
|
_: 1
|
|
26209
26222
|
})
|
|
26210
26223
|
]),
|
|
26211
|
-
W("div",
|
|
26212
|
-
W("div",
|
|
26224
|
+
W("div", hR, [
|
|
26225
|
+
W("div", vR, [
|
|
26213
26226
|
E(_s, {
|
|
26214
26227
|
class: "datakit-flow-panels",
|
|
26215
26228
|
mode: "view",
|
|
@@ -26223,7 +26236,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26223
26236
|
}, null, 8, ["item"]));
|
|
26224
26237
|
};
|
|
26225
26238
|
}
|
|
26226
|
-
}),
|
|
26239
|
+
}), _R = /* @__PURE__ */ Ie(yR, [["__scopeId", "data-v-9a3ef1ac"]]), bR = { class: "kong-ui-entity-plugin-config-card" }, wR = { class: "name-cell-wrapper" }, kR = { class: "info-name" }, xR = { key: 0 }, CR = { key: 0 }, ER = { key: 0 }, AR = { key: 0 }, IR = { key: 0 }, or = "config", TR = /* @__PURE__ */ ge({
|
|
26227
26240
|
__name: "PluginConfigCard",
|
|
26228
26241
|
props: {
|
|
26229
26242
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -26363,7 +26376,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26363
26376
|
}
|
|
26364
26377
|
}), (x, b) => {
|
|
26365
26378
|
const S = ue("KSkeleton"), M = ue("KEmptyState"), H = ue("KCopy");
|
|
26366
|
-
return C(), te("div",
|
|
26379
|
+
return C(), te("div", bR, [
|
|
26367
26380
|
v.value ? (C(), Y(S, {
|
|
26368
26381
|
key: 0,
|
|
26369
26382
|
"data-testid": "plugin-config-card-loader",
|
|
@@ -26395,13 +26408,13 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26395
26408
|
onLoading: b[2] || (b[2] = (I) => x.$emit("loading", I))
|
|
26396
26409
|
}, ut({
|
|
26397
26410
|
name: R((I) => [
|
|
26398
|
-
W("div",
|
|
26411
|
+
W("div", wR, [
|
|
26399
26412
|
E(s(ui), {
|
|
26400
26413
|
class: "plugin-icon",
|
|
26401
26414
|
name: s(l)("rowValue", I),
|
|
26402
26415
|
size: 24
|
|
26403
26416
|
}, null, 8, ["name"]),
|
|
26404
|
-
W("span",
|
|
26417
|
+
W("span", kR, ne(s(a).getDisplayName(s(l)("rowValue", I))), 1)
|
|
26405
26418
|
])
|
|
26406
26419
|
]),
|
|
26407
26420
|
consumer: R((I) => [
|
|
@@ -26418,7 +26431,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26418
26431
|
"copy-tooltip": s(o)("copy.tooltip", { label: s(l)("row", I).label }),
|
|
26419
26432
|
"data-testid": "consumer-copy-uuid",
|
|
26420
26433
|
text: s(l)("rowValue", I).id
|
|
26421
|
-
}, null, 8, ["copy-tooltip", "text"])) : (C(), te("span",
|
|
26434
|
+
}, null, 8, ["copy-tooltip", "text"])) : (C(), te("span", xR, "–"))
|
|
26422
26435
|
]),
|
|
26423
26436
|
route: R((I) => [
|
|
26424
26437
|
s(l)("rowValue", I) ? e.showIdAsLink ? (C(), Y(s(ia), {
|
|
@@ -26434,7 +26447,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26434
26447
|
"copy-tooltip": s(o)("copy.tooltip", { label: s(l)("row", I).label }),
|
|
26435
26448
|
"data-testid": "route-copy-uuid",
|
|
26436
26449
|
text: s(l)("rowValue", I).id
|
|
26437
|
-
}, null, 8, ["copy-tooltip", "text"])) : (C(), te("span",
|
|
26450
|
+
}, null, 8, ["copy-tooltip", "text"])) : (C(), te("span", CR, "–"))
|
|
26438
26451
|
]),
|
|
26439
26452
|
service: R((I) => [
|
|
26440
26453
|
s(l)("rowValue", I) ? e.showIdAsLink ? (C(), Y(s(ia), {
|
|
@@ -26450,7 +26463,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26450
26463
|
"copy-tooltip": s(o)("copy.tooltip", { label: s(l)("row", I).label }),
|
|
26451
26464
|
"data-testid": "service-copy-uuid",
|
|
26452
26465
|
text: s(l)("rowValue", I).id
|
|
26453
|
-
}, null, 8, ["copy-tooltip", "text"])) : (C(), te("span",
|
|
26466
|
+
}, null, 8, ["copy-tooltip", "text"])) : (C(), te("span", ER, "–"))
|
|
26454
26467
|
]),
|
|
26455
26468
|
consumer_group: R((I) => [
|
|
26456
26469
|
s(l)("rowValue", I) ? e.showIdAsLink ? (C(), Y(s(ia), {
|
|
@@ -26466,7 +26479,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26466
26479
|
"copy-tooltip": s(o)("copy.tooltip", { label: s(l)("row", I).label }),
|
|
26467
26480
|
"data-testid": "consumer-group-copy-uuid",
|
|
26468
26481
|
text: s(l)("rowValue", I).id
|
|
26469
|
-
}, null, 8, ["copy-tooltip", "text"])) : (C(), te("span",
|
|
26482
|
+
}, null, 8, ["copy-tooltip", "text"])) : (C(), te("span", AR, "–"))
|
|
26470
26483
|
]),
|
|
26471
26484
|
partials: R((I) => {
|
|
26472
26485
|
var k, O, N, F, J, U, V, K, L;
|
|
@@ -26487,7 +26500,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26487
26500
|
"copy-tooltip": s(o)("copy.tooltip", { label: s(l)("row", I).label }),
|
|
26488
26501
|
"data-testid": "partial-copy-uuid",
|
|
26489
26502
|
text: (L = s(l)("rowValue", I)) == null ? void 0 : L[0].id
|
|
26490
|
-
}, null, 8, ["copy-tooltip", "text"])) : (C(), te("span",
|
|
26503
|
+
}, null, 8, ["copy-tooltip", "text"])) : (C(), te("span", IR, "–"))
|
|
26491
26504
|
];
|
|
26492
26505
|
}),
|
|
26493
26506
|
_: 2
|
|
@@ -26495,7 +26508,7 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26495
26508
|
e.config.pluginType === "datakit" && e.config.app === "konnect" ? {
|
|
26496
26509
|
name: "config-card-item-nodes",
|
|
26497
26510
|
fn: R((I) => [
|
|
26498
|
-
E(
|
|
26511
|
+
E(_R, {
|
|
26499
26512
|
item: I.row,
|
|
26500
26513
|
"plugin-data": I.record
|
|
26501
26514
|
}, null, 8, ["item", "plugin-data"])
|
|
@@ -26506,30 +26519,30 @@ const TN = { class: "kong-ui-entities-plugin-form" }, SN = {
|
|
|
26506
26519
|
]);
|
|
26507
26520
|
};
|
|
26508
26521
|
}
|
|
26509
|
-
}),
|
|
26522
|
+
}), o2 = /* @__PURE__ */ Ie(TR, [["__scopeId", "data-v-2db52b49"]]), { usePluginMetaData: r2, useProvideExperimentalFreeForms: s2 } = nt;
|
|
26510
26523
|
export {
|
|
26511
|
-
|
|
26524
|
+
e2 as CustomPluginForm,
|
|
26512
26525
|
jc as EXPERIMENTAL_FREE_FORM_PROVIDER,
|
|
26513
26526
|
$i as EntityTypeIdField,
|
|
26514
26527
|
Lo as FEATURE_FLAGS,
|
|
26515
26528
|
oa as FREE_FORM_SCHEMA_MAP_KEY,
|
|
26516
|
-
|
|
26517
|
-
|
|
26529
|
+
a2 as PluginCatalog,
|
|
26530
|
+
o2 as PluginConfigCard,
|
|
26518
26531
|
lr as PluginFeaturedArray,
|
|
26519
|
-
|
|
26520
|
-
|
|
26532
|
+
t2 as PluginForm,
|
|
26533
|
+
f2 as PluginGroup,
|
|
26521
26534
|
$s as PluginGroupArray,
|
|
26522
26535
|
ur as PluginGroupArraySortedAlphabetically,
|
|
26523
|
-
|
|
26524
|
-
|
|
26536
|
+
c2 as PluginIcon,
|
|
26537
|
+
n2 as PluginList,
|
|
26525
26538
|
sr as PluginPartialType,
|
|
26526
|
-
|
|
26527
|
-
|
|
26539
|
+
m2 as PluginScope,
|
|
26540
|
+
i2 as PluginSelect,
|
|
26528
26541
|
Op as PluginSelectCard,
|
|
26529
26542
|
lu as PluginSelectGrid,
|
|
26530
26543
|
Ow as TOASTER_PROVIDER,
|
|
26531
|
-
|
|
26544
|
+
d2 as getPluginIconURL,
|
|
26532
26545
|
_t as pluginEndpoints,
|
|
26533
|
-
|
|
26534
|
-
|
|
26546
|
+
r2 as usePluginMetaData,
|
|
26547
|
+
s2 as useProvideExperimentalFreeForms
|
|
26535
26548
|
};
|