@kong-ui-public/entities-plugins 9.234.0 → 9.236.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities-plugins.es.js +766 -738
- package/dist/entities-plugins.umd.js +22 -22
- package/dist/types/components/free-form/plugins/hmac-auth.d.ts +3 -0
- package/dist/types/components/free-form/plugins/hmac-auth.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/key-auth-enc.d.ts +3 -0
- package/dist/types/components/free-form/plugins/key-auth-enc.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/ldap-auth-advanced.d.ts +3 -0
- package/dist/types/components/free-form/plugins/ldap-auth-advanced.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/ldap-auth.d.ts +3 -0
- package/dist/types/components/free-form/plugins/ldap-auth.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/oauth2-introspection.d.ts +3 -0
- package/dist/types/components/free-form/plugins/oauth2-introspection.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/saml.d.ts +3 -0
- package/dist/types/components/free-form/plugins/saml.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/vault-auth.d.ts +3 -0
- package/dist/types/components/free-form/plugins/vault-auth.d.ts.map +1 -0
- package/package.json +10 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { toValue as bt, warn as Ym, onScopeDispose as Jm, inject as pt, openBlock as S, createElementBlock as le, createElementVNode as ee, computed as L, ref as me, nextTick as an, shallowRef as pn, watch as Xe, provide as Ft, readonly as td, defineComponent as Pe, normalizeClass as yt, toDisplayString as ue, createCommentVNode as ye, unref as u, withModifiers as Kt, normalizeStyle as Di, Fragment as
|
|
1
|
+
import { toValue as bt, warn as Ym, onScopeDispose as Jm, inject as pt, openBlock as S, createElementBlock as le, createElementVNode as ee, computed as L, ref as me, nextTick as an, shallowRef as pn, watch as Xe, provide as Ft, readonly as td, defineComponent as Pe, normalizeClass as yt, toDisplayString as ue, createCommentVNode as ye, unref as u, withModifiers as Kt, normalizeStyle as Di, Fragment as Ge, renderList as et, createBlock as Z, withCtx as N, resolveDynamicComponent as jt, useCssVars as Ea, resolveComponent as xe, createSlots as vt, createTextVNode as Le, useSlots as nn, createVNode as C, renderSlot as Qe, useTemplateRef as xt, mergeProps as We, useModel as hi, onMounted as Cn, mergeModels as yi, toRef as Ct, isRef as ul, markRaw as Xm, Transition as Zm, onBeforeUnmount as xa, reactive as xi, toRaw as Tr, onUnmounted as $r, useAttrs as ri, normalizeProps as En, guardReactiveProps as zn, createPropsRestProxy as Ln, withDirectives as Qt, vShow as en, withKeys as hu, useId as Sa, onBeforeMount as Hi, Teleport as Or, watchEffect as nd, shallowReactive as Qm } from "vue";
|
|
2
2
|
import { NetworkIcon as eg, CachedIcon as tg, ArrowSplitIcon as id, GatewayIcon as ng, CodeblockIcon as cl, DataObjectIcon as ig, CodeIcon as og, StackIcon as ag, DeployIcon as od, EditSquareIcon as rg, KeyIcon as dl, CloudIcon as ja, WarningIcon as sg, MoreIcon as Io, UnfoldMoreIcon as yu, UnfoldLessIcon as vu, AddIcon as mn, RemoveIcon as Pr, FullscreenIcon as lg, AutoLayoutIcon as ug, CloseIcon as Nr, TrashIcon as ad, ChevronRightIcon as rd, InfoIcon as cg, TeamIcon as dg, AccountTreeIcon as pg, BookIcon as $s, SparklesIcon as fg, ChevronDownIcon as _u, ArrowLeftIcon as mg, ChevronDoubleLeftIcon as gg, ChevronDoubleRightIcon as hg, UndoIcon as yg, RedoIcon as vg, ExternalLinkIcon as _g, DatabaseIcon as bg, ExpandIcon as wg, DesignIcon as kg, ClearIcon as Da, CheckCircleIcon as Cg, PlugIcon as Eg, TransformationIcon as xg, TrafficIcon as Sg, RuntimeServerlessIcon as Ag, SecurityIcon as Ig, MoneyIcon as Tg, ServiceDocumentIcon as $g, LockIcon as Og, AnalyticsIcon as Pg, BotIcon as Ng, PopularIcon as Rg, GridIcon as Mg, ListIcon as Lg } from "@kong/icons";
|
|
3
3
|
import { KTooltip as Gn, KDropdown as sd, KButton as Vn, KDropdownItem as nr, KTextArea as Fg, KInput as Kg, KCheckbox as jg, KCard as cr, KMultiselect as Dg, KSelect as qg, KLabel as gn, KCollapse as ld, KInputSwitch as Bg, KSegmentedControl as ud, KRadio as ii, KSkeletonBox as Ug, KEmptyState as Vg, KAlert as cd, KPrompt as zg, KModal as Gg, KSlideout as Hg, KExternalLink as bu } from "@kong/kongponents";
|
|
4
4
|
import { Background as Wg } from "@vue-flow/background";
|
|
@@ -11,9 +11,9 @@ import "@vue-flow/core/dist/style.css";
|
|
|
11
11
|
import "@vue-flow/core/dist/theme-default.css";
|
|
12
12
|
import { ConfigurationSchemaType as sn, useAxios as xn, useStringHelpers as fl, useErrors as $i, EntityFormBlock as Bn, PLUGIN_FORM_LAYOUT_STATE as ml, SupportedEntityType as ti, EntityBaseForm as md, useHelpers as Aa, EntityBaseFormType as Oi, useBaseFormDeckOptions as nh, DeckCodeBlock as ih, TerraformCodeBlock as oh, YamlCodeBlock as ah, JsonCodeBlock as rh, useTableState as sh, useGatewayFeatureSupported as lh, useFetcher as uh, useDeleteUrlBuilder as ch, FetcherStatus as dh, EntityBaseTable as ph, PermissionsWrapper as Pi, TableTags as fh, EntityFilter as mh, EntityToggleModal as gh, EntityDeleteModal as gd, EntityTypes as hd, ConfigCardItem as hh, ConfigurationSchemaSection as to, useSchemaProvider as yh, EntityBaseConfigCard as vh, InternalLinkItem as Ho } from "@kong-ui-public/entities-shared";
|
|
13
13
|
import { PluginIcon as qi } from "@kong-ui-public/entities-plugins-icon";
|
|
14
|
-
import { PluginIcon as
|
|
14
|
+
import { PluginIcon as LK, getPluginIconURL as FK } from "@kong-ui-public/entities-plugins-icon";
|
|
15
15
|
import { PluginGroup as nt, PLUGIN_GROUP_AND_SCOPE_MAP as Re, PluginScope as Lt, GATEWAY_VERSION_TIMESTAMP_MAP as _h } from "@kong-ui-public/entities-plugins-metadata";
|
|
16
|
-
import { PluginGroup as
|
|
16
|
+
import { PluginGroup as jK, PluginScope as DK } from "@kong-ui-public/entities-plugins-metadata";
|
|
17
17
|
import { FORMS_CONFIG as Yn, composables as bh, AUTOFILL_SLOT as Jn, FORMS_API_KEY as yd, FieldScopedEntitySelect as wh, AUTOFILL_SLOT_NAME as Pn, getSharedFormName as vd, customFields as Os, sharedForms as kh, VueFormGenerator as Ch } from "@kong-ui-public/forms";
|
|
18
18
|
import { marked as or } from "marked";
|
|
19
19
|
import Eh from "dompurify";
|
|
@@ -3098,7 +3098,7 @@ const Op = [
|
|
|
3098
3098
|
"RS256",
|
|
3099
3099
|
"RS384",
|
|
3100
3100
|
"RS512"
|
|
3101
|
-
],
|
|
3101
|
+
], ze = (e, t) => {
|
|
3102
3102
|
const n = e.__vccOpts || e;
|
|
3103
3103
|
for (const [i, o] of t)
|
|
3104
3104
|
n[i] = o;
|
|
@@ -3117,7 +3117,7 @@ function Vk(e, t) {
|
|
|
3117
3117
|
}, null, -1)
|
|
3118
3118
|
])]);
|
|
3119
3119
|
}
|
|
3120
|
-
const zk = /* @__PURE__ */
|
|
3120
|
+
const zk = /* @__PURE__ */ ze(Bk, [["render", Vk]]), Gk = {}, Hk = {
|
|
3121
3121
|
height: "16",
|
|
3122
3122
|
viewBox: "0 -960 960 960",
|
|
3123
3123
|
width: "16",
|
|
@@ -3131,7 +3131,7 @@ function Wk(e, t) {
|
|
|
3131
3131
|
}, null, -1)
|
|
3132
3132
|
])]);
|
|
3133
3133
|
}
|
|
3134
|
-
const Yk = /* @__PURE__ */
|
|
3134
|
+
const Yk = /* @__PURE__ */ ze(Gk, [["render", Wk]]), $a = [
|
|
3135
3135
|
{
|
|
3136
3136
|
id: "external_interaction",
|
|
3137
3137
|
colors: {
|
|
@@ -6297,7 +6297,7 @@ const [qp, z1] = pl(
|
|
|
6297
6297
|
};
|
|
6298
6298
|
}
|
|
6299
6299
|
);
|
|
6300
|
-
function
|
|
6300
|
+
function Ut() {
|
|
6301
6301
|
const e = z1();
|
|
6302
6302
|
if (!e)
|
|
6303
6303
|
throw new Error("Editor state is not provided. Ensure you are using provideEditorStore in a parent component.");
|
|
@@ -6310,7 +6310,7 @@ function G1(e) {
|
|
|
6310
6310
|
layoutOptions: i,
|
|
6311
6311
|
nodes: o,
|
|
6312
6312
|
edges: r
|
|
6313
|
-
} = e, { findNode: a } = bo(), { state: l, branchGroups: s, getNodeById: d, moveNode: f, commit: c } =
|
|
6313
|
+
} = e, { findNode: a } = bo(), { state: l, branchGroups: s, getNodeById: d, moveNode: f, commit: c } = Ut(), { getNodeDepth: p, isGroupId: m, groupsByOwner: h } = s, {
|
|
6314
6314
|
isBranchEdgeId: y,
|
|
6315
6315
|
updateGroupLayout: _,
|
|
6316
6316
|
translateGroupTree: v,
|
|
@@ -6587,7 +6587,7 @@ function W1({
|
|
|
6587
6587
|
flowId: n,
|
|
6588
6588
|
draggingId: i
|
|
6589
6589
|
}) {
|
|
6590
|
-
const { findNode: o } = bo(n), r =
|
|
6590
|
+
const { findNode: o } = bo(n), r = Ut(), {
|
|
6591
6591
|
state: a,
|
|
6592
6592
|
groupMapById: l,
|
|
6593
6593
|
getNodeById: s,
|
|
@@ -6853,7 +6853,7 @@ function Up() {
|
|
|
6853
6853
|
return e;
|
|
6854
6854
|
}
|
|
6855
6855
|
function J1(e) {
|
|
6856
|
-
const { readonly: t, flowId: n } = e, i = bo(n), { onNodesChange: o, onEdgesChange: r, onPaneClick: a, findEdge: l } = i, { disconnectEdge: s, commit: d, portalSelection: f, selectPortalEdge: c } =
|
|
6856
|
+
const { readonly: t, flowId: n } = e, i = bo(n), { onNodesChange: o, onEdgesChange: r, onPaneClick: a, findEdge: l } = i, { disconnectEdge: s, commit: d, portalSelection: f, selectPortalEdge: c } = Ut();
|
|
6857
6857
|
o((p) => {
|
|
6858
6858
|
p.some((m) => m.type === "select" && "selected" in m && m.selected) && c(void 0);
|
|
6859
6859
|
}), r((p) => {
|
|
@@ -6903,7 +6903,7 @@ const [Z1, Q1] = pl(
|
|
|
6903
6903
|
gaps: l = Ci.gaps
|
|
6904
6904
|
} = i, {
|
|
6905
6905
|
nodes: s = Ci.gaps.nodes
|
|
6906
|
-
} = l, d = bo(n), f =
|
|
6906
|
+
} = l, d = bo(n), f = Ut(), c = Bp(), p = Rl(), { i18n: { t: m } } = it(), {
|
|
6907
6907
|
findNode: h,
|
|
6908
6908
|
fitView: y,
|
|
6909
6909
|
deleteKeyCode: _,
|
|
@@ -6973,7 +6973,7 @@ const [Z1, Q1] = pl(
|
|
|
6973
6973
|
const ne = Be.value.get(B.id), V = ne == null ? void 0 : ne.position, Ee = ne == null ? void 0 : ne.dimensions, Se = ne && V && Ee ? {
|
|
6974
6974
|
x: B.position.x - V.x,
|
|
6975
6975
|
y: B.position.y - V.y
|
|
6976
|
-
} : B.position, Ne = qe(B.id), De = !!(ne && V && Ee),
|
|
6976
|
+
} : B.position, Ne = qe(B.id), De = !!(ne && V && Ee), Ve = (De ? Ne : 0) + Ce.value + 1;
|
|
6977
6977
|
return {
|
|
6978
6978
|
id: B.id,
|
|
6979
6979
|
type: "flow",
|
|
@@ -6981,7 +6981,7 @@ const [Z1, Q1] = pl(
|
|
|
6981
6981
|
data: B,
|
|
6982
6982
|
deletable: !o && !vr(B),
|
|
6983
6983
|
parentNode: De ? ne.id : void 0,
|
|
6984
|
-
zIndex:
|
|
6984
|
+
zIndex: Ve * dr + hy
|
|
6985
6985
|
};
|
|
6986
6986
|
})
|
|
6987
6987
|
), ge = L(
|
|
@@ -7034,9 +7034,9 @@ const [Z1, Q1] = pl(
|
|
|
7034
7034
|
if ((Se == null ? void 0 : Se.io) === "input" || (Ne == null ? void 0 : Ne.io) === "output" || ne === "output" && Ee === "output")
|
|
7035
7035
|
return;
|
|
7036
7036
|
const De = z(V);
|
|
7037
|
-
let
|
|
7037
|
+
let Ve = !1, tt = !1;
|
|
7038
7038
|
const Je = [], Fe = [], $e = (Ne == null ? void 0 : Ne.io) === "input" ? De.filter(($t) => !$t.targetField) : De.filter(($t) => !!$t.targetField);
|
|
7039
|
-
$e.length > 0 && (
|
|
7039
|
+
$e.length > 0 && (Ve = !0, $e.forEach(($t) => {
|
|
7040
7040
|
Fe.push(aa($t, X)), W($t.id, !1);
|
|
7041
7041
|
}));
|
|
7042
7042
|
const _t = (Ne == null ? void 0 : Ne.io) === "input" ? Ne != null && Ne.field ? De.filter(($t) => $t.targetField === Ne.field) : De.filter(($t) => !!$t.targetField) : De.filter(($t) => !$t.targetField);
|
|
@@ -7067,11 +7067,11 @@ const [Z1, Q1] = pl(
|
|
|
7067
7067
|
Ne == null ? void 0 : Ne.field,
|
|
7068
7068
|
X
|
|
7069
7069
|
)
|
|
7070
|
-
),
|
|
7070
|
+
), Ve || tt) {
|
|
7071
7071
|
if (!c)
|
|
7072
7072
|
throw $(), new Error("Expected confirm modal to be provided here when reachable");
|
|
7073
7073
|
if (!await c(
|
|
7074
|
-
m(
|
|
7074
|
+
m(Ve ? "plugins.free-form.datakit.flow_editor.confirm.message.switch" : "plugins.free-form.datakit.flow_editor.confirm.message.override"),
|
|
7075
7075
|
Je,
|
|
7076
7076
|
Fe
|
|
7077
7077
|
)) {
|
|
@@ -7099,7 +7099,7 @@ const [Z1, Q1] = pl(
|
|
|
7099
7099
|
}
|
|
7100
7100
|
}), V && !ce && (ce = !0, queueMicrotask(ve));
|
|
7101
7101
|
}), v(({ node: B, event: ne }) => {
|
|
7102
|
-
var De,
|
|
7102
|
+
var De, Ve, tt;
|
|
7103
7103
|
if (!B) return;
|
|
7104
7104
|
if (re(B.id)) {
|
|
7105
7105
|
const Je = B.id;
|
|
@@ -7128,7 +7128,7 @@ const [Z1, Q1] = pl(
|
|
|
7128
7128
|
x: Se.x,
|
|
7129
7129
|
y: Se.y,
|
|
7130
7130
|
width: ((De = B.dimensions) == null ? void 0 : De.width) ?? 0,
|
|
7131
|
-
height: ((
|
|
7131
|
+
height: ((Ve = B.dimensions) == null ? void 0 : Ve.height) ?? 0
|
|
7132
7132
|
}, Fe = ne && "clientX" in ne ? R({ x: ne.clientX, y: ne.clientY }) : void 0, $e = {
|
|
7133
7133
|
x: Je.x + Je.width / 2,
|
|
7134
7134
|
y: Je.y + Je.height / 2
|
|
@@ -7194,14 +7194,14 @@ const [Z1, Q1] = pl(
|
|
|
7194
7194
|
function K(B) {
|
|
7195
7195
|
const ne = q.value.filter(({ type: $e }) => $e !== "group"), V = ne.find(({ id: $e }) => $e === B);
|
|
7196
7196
|
if (!V) throw new Error(`Node ${B} not found`);
|
|
7197
|
-
const { x: Ee, y: Se } = V.data.position, { width: Ne, height: De } = V.dimensions,
|
|
7197
|
+
const { x: Ee, y: Se } = V.data.position, { width: Ne, height: De } = V.dimensions, Ve = Se, tt = Se + De, Je = ne.filter(({ id: $e }) => $e !== B).filter(({ data: { position: { y: $e } }, dimensions: { height: _t } }) => $e < tt && $e + _t > Ve).map(({ data: { position: { x: $e } }, dimensions: { width: _t } }) => ({ left: $e, right: $e + _t })).sort(($e, _t) => $e.left - _t.left);
|
|
7198
7198
|
let Fe = Ee + Ne + s;
|
|
7199
7199
|
for (const { left: $e, right: _t } of Je)
|
|
7200
7200
|
if (!(_t <= Fe)) {
|
|
7201
|
-
if (Fe + Ne <= $e) return { x: Fe, y:
|
|
7201
|
+
if (Fe + Ne <= $e) return { x: Fe, y: Ve };
|
|
7202
7202
|
Fe = Math.max(Fe, _t) + s;
|
|
7203
7203
|
}
|
|
7204
|
-
return { x: Fe, y:
|
|
7204
|
+
return { x: Fe, y: Ve };
|
|
7205
7205
|
}
|
|
7206
7206
|
function ke(B) {
|
|
7207
7207
|
if (!B) return;
|
|
@@ -7210,10 +7210,10 @@ const [Z1, Q1] = pl(
|
|
|
7210
7210
|
const {
|
|
7211
7211
|
position: { x: V },
|
|
7212
7212
|
dimensions: { width: Ee }
|
|
7213
|
-
} = ne, Se = V + Ee, { viewport: Ne, dimensions: De, setViewport:
|
|
7213
|
+
} = ne, Se = V + Ee, { viewport: Ne, dimensions: De, setViewport: Ve } = d, { x: tt, y: Je, zoom: Fe } = Ne.value, { width: $e } = De.value, _t = V * Fe + tt, Dn = Se * Fe + tt, $t = $e - Id - s;
|
|
7214
7214
|
if (Dn <= $t) return;
|
|
7215
7215
|
let Xt = $t - Dn;
|
|
7216
|
-
_t + Xt < 0 && (Xt = -_t), Xt !== 0 &&
|
|
7216
|
+
_t + Xt < 0 && (Xt = -_t), Xt !== 0 && Ve(
|
|
7217
7217
|
{ x: tt + Xt, y: Je, zoom: Fe },
|
|
7218
7218
|
{ duration: by }
|
|
7219
7219
|
);
|
|
@@ -7323,7 +7323,7 @@ const aC = {
|
|
|
7323
7323
|
ee("kbd", rC, ue(u(t)), 1)
|
|
7324
7324
|
], 2));
|
|
7325
7325
|
}
|
|
7326
|
-
}), kr = /* @__PURE__ */
|
|
7326
|
+
}), kr = /* @__PURE__ */ ze(sC, [["__scopeId", "data-v-7ca86b0d"]]), lC = ["onClick"], uC = {
|
|
7327
7327
|
key: 0,
|
|
7328
7328
|
class: "additional-count"
|
|
7329
7329
|
}, pc = 24, cC = 16, dC = /* @__PURE__ */ Pe({
|
|
@@ -7337,7 +7337,7 @@ const aC = {
|
|
|
7337
7337
|
setup(e) {
|
|
7338
7338
|
const t = Number.parseFloat(ly) || 0, n = {
|
|
7339
7339
|
target: "body"
|
|
7340
|
-
}, { portalSelection: i, selectPortalEdge: o } =
|
|
7340
|
+
}, { portalSelection: i, selectPortalEdge: o } = Ut(), r = me(!1), a = L(() => {
|
|
7341
7341
|
const h = i.value;
|
|
7342
7342
|
return h ? e.targets.some((y) => y.edgeId === h) : !1;
|
|
7343
7343
|
}), l = L(() => e.expanded !== void 0 ? e.expanded || a.value : r.value || a.value), s = () => pc * e.targets.length + t * (e.targets.length - 1), d = L(() => ({
|
|
@@ -7386,7 +7386,7 @@ const aC = {
|
|
|
7386
7386
|
class: "target-boxes",
|
|
7387
7387
|
style: Di(d.value)
|
|
7388
7388
|
}, [
|
|
7389
|
-
(S(!0), le(
|
|
7389
|
+
(S(!0), le(Ge, null, et(p.value, (_, v) => (S(), Z(u(Gn), {
|
|
7390
7390
|
key: _.key,
|
|
7391
7391
|
class: "target-box-wrapper",
|
|
7392
7392
|
"kpop-attributes": n,
|
|
@@ -7411,7 +7411,7 @@ const aC = {
|
|
|
7411
7411
|
], 4)
|
|
7412
7412
|
], 34));
|
|
7413
7413
|
}
|
|
7414
|
-
}), za = /* @__PURE__ */
|
|
7414
|
+
}), za = /* @__PURE__ */ ze(dC, [["__scopeId", "data-v-45ce7484"]]), pC = /* @__PURE__ */ Pe({
|
|
7415
7415
|
__name: "HandleTwig",
|
|
7416
7416
|
props: {
|
|
7417
7417
|
color: {},
|
|
@@ -7432,7 +7432,7 @@ const aC = {
|
|
|
7432
7432
|
style: Di(t.value)
|
|
7433
7433
|
}, null, 6));
|
|
7434
7434
|
}
|
|
7435
|
-
}), Ga = /* @__PURE__ */
|
|
7435
|
+
}), Ga = /* @__PURE__ */ ze(pC, [["__scopeId", "data-v-74b600f2"]]), fC = /* @__PURE__ */ Pe({
|
|
7436
7436
|
__name: "NodeBadge",
|
|
7437
7437
|
props: {
|
|
7438
7438
|
type: {},
|
|
@@ -7474,7 +7474,7 @@ const aC = {
|
|
|
7474
7474
|
]), 1032, ["class", "size"]);
|
|
7475
7475
|
};
|
|
7476
7476
|
}
|
|
7477
|
-
}), zp = /* @__PURE__ */
|
|
7477
|
+
}), zp = /* @__PURE__ */ ze(fC, [["__scopeId", "data-v-409d29e5"]]), mC = { class: "body" }, gC = { class: "name" }, hC = { class: "handle" }, yC = { class: "handle-label-wrapper" }, vC = { class: "handle-label-wrapper" }, _C = { class: "handle-label text" }, bC = { class: "handle" }, wC = { class: "handle-label-wrapper" }, kC = { class: "handle-label-wrapper" }, CC = { class: "handle-label text" }, EC = {
|
|
7478
7478
|
key: 2,
|
|
7479
7479
|
class: "branch-handles"
|
|
7480
7480
|
}, xC = { class: "handle-label-wrapper" }, SC = { class: "handle-label text" }, AC = /* @__PURE__ */ Pe({
|
|
@@ -7494,7 +7494,7 @@ const aC = {
|
|
|
7494
7494
|
removeNode: d,
|
|
7495
7495
|
propertiesPanelOpen: f,
|
|
7496
7496
|
branchGroups: c
|
|
7497
|
-
} =
|
|
7497
|
+
} = Ut(), p = L(() => Oo(e.data.type)), m = L(() => e.data.fields.input.length > 0), h = L(() => e.data.fields.output.length > 0), y = L(
|
|
7498
7498
|
() => m.value && o(e.data.id).every((z) => z.targetField === void 0)
|
|
7499
7499
|
), _ = L(
|
|
7500
7500
|
() => h.value && r(e.data.id).every((z) => z.sourceField === void 0)
|
|
@@ -7696,7 +7696,7 @@ const aC = {
|
|
|
7696
7696
|
onClick: H[2] || (H[2] = Kt((U) => X("input"), ["stop"]))
|
|
7697
7697
|
}, [
|
|
7698
7698
|
H[4] || (H[4] = ee("div", { class: "text" }, " inputs ", -1)),
|
|
7699
|
-
m.value ? (S(), le(
|
|
7699
|
+
m.value ? (S(), le(Ge, { key: 0 }, [
|
|
7700
7700
|
v.value ? ye("", !0) : (S(), Z(u(yu), {
|
|
7701
7701
|
key: 0,
|
|
7702
7702
|
size: `var(--kui-icon-size-20, ${u(qa)})`
|
|
@@ -7716,7 +7716,7 @@ const aC = {
|
|
|
7716
7716
|
}, null, 8, ["color", "position"])) : ye("", !0)
|
|
7717
7717
|
])
|
|
7718
7718
|
]),
|
|
7719
|
-
m.value && v.value ? (S(!0), le(
|
|
7719
|
+
m.value && v.value ? (S(!0), le(Ge, { key: 0 }, et(e.data.fields.input, (U, $) => (S(), le("div", {
|
|
7720
7720
|
key: `inputs-${U.id}`,
|
|
7721
7721
|
class: "handle indented"
|
|
7722
7722
|
}, [
|
|
@@ -7754,7 +7754,7 @@ const aC = {
|
|
|
7754
7754
|
onClick: H[3] || (H[3] = Kt((U) => X("output"), ["stop"]))
|
|
7755
7755
|
}, [
|
|
7756
7756
|
H[5] || (H[5] = ee("div", { class: "text" }, " outputs ", -1)),
|
|
7757
|
-
h.value ? (S(), le(
|
|
7757
|
+
h.value ? (S(), le(Ge, { key: 0 }, [
|
|
7758
7758
|
b.value ? ye("", !0) : (S(), Z(u(yu), {
|
|
7759
7759
|
key: 0,
|
|
7760
7760
|
size: `var(--kui-icon-size-20, ${u(qa)})`
|
|
@@ -7785,7 +7785,7 @@ const aC = {
|
|
|
7785
7785
|
targets: F.value.get("output")
|
|
7786
7786
|
}, null, 8, ["reversed", "targets"])) : ye("", !0)
|
|
7787
7787
|
]),
|
|
7788
|
-
h.value && b.value ? (S(!0), le(
|
|
7788
|
+
h.value && b.value ? (S(!0), le(Ge, { key: 0 }, et(e.data.fields.output, (U, $) => (S(), le("div", {
|
|
7789
7789
|
key: `outputs-${U.id}`,
|
|
7790
7790
|
class: "handle indented"
|
|
7791
7791
|
}, [
|
|
@@ -7811,7 +7811,7 @@ const aC = {
|
|
|
7811
7811
|
]))), 128)) : ye("", !0)
|
|
7812
7812
|
], 2)) : ye("", !0),
|
|
7813
7813
|
E.value ? (S(), le("div", EC, [
|
|
7814
|
-
(S(!0), le(
|
|
7814
|
+
(S(!0), le(Ge, null, et(x.value, (U) => (S(), le("div", {
|
|
7815
7815
|
key: `branch-${U}`,
|
|
7816
7816
|
class: "handle"
|
|
7817
7817
|
}, [
|
|
@@ -7833,7 +7833,7 @@ const aC = {
|
|
|
7833
7833
|
}, void 0, !0) : ye("", !0)
|
|
7834
7834
|
], 2));
|
|
7835
7835
|
}
|
|
7836
|
-
}), Gp = /* @__PURE__ */
|
|
7836
|
+
}), Gp = /* @__PURE__ */ ze(AC, [["__scopeId", "data-v-1de3b7cb"]]), IC = /* @__PURE__ */ Pe({
|
|
7837
7837
|
__name: "GroupNode",
|
|
7838
7838
|
props: {
|
|
7839
7839
|
data: {},
|
|
@@ -7852,7 +7852,7 @@ const aC = {
|
|
|
7852
7852
|
}, null, 8, ["position"])
|
|
7853
7853
|
], 2));
|
|
7854
7854
|
}
|
|
7855
|
-
}), TC = /* @__PURE__ */
|
|
7855
|
+
}), TC = /* @__PURE__ */ ze(IC, [["__scopeId", "data-v-cf30ffea"]]), $C = /* @__PURE__ */ Pe({
|
|
7856
7856
|
__name: "FlowCanvas",
|
|
7857
7857
|
props: {
|
|
7858
7858
|
flowId: {},
|
|
@@ -8042,7 +8042,7 @@ const aC = {
|
|
|
8042
8042
|
"show-zoom": !1
|
|
8043
8043
|
}, {
|
|
8044
8044
|
default: N(() => [
|
|
8045
|
-
(S(!0), le(
|
|
8045
|
+
(S(!0), le(Ge, null, et(D.value, (_e) => (S(), Z(u(Gn), {
|
|
8046
8046
|
key: _e.name,
|
|
8047
8047
|
placement: "right",
|
|
8048
8048
|
text: u(l)(`plugins.free-form.datakit.flow_editor.actions.${_e.name}`)
|
|
@@ -8068,7 +8068,7 @@ const aC = {
|
|
|
8068
8068
|
}, 16, ["id", "class", "elements-selectable", "max-zoom", "min-zoom", "nodes-connectable", "nodes-draggable"])
|
|
8069
8069
|
], 512));
|
|
8070
8070
|
}
|
|
8071
|
-
}), fc = /* @__PURE__ */
|
|
8071
|
+
}), fc = /* @__PURE__ */ ze($C, [["__scopeId", "data-v-11561a7e"]]);
|
|
8072
8072
|
function Hp() {
|
|
8073
8073
|
const e = ["methods", "logout_methods"];
|
|
8074
8074
|
return {
|
|
@@ -8462,7 +8462,7 @@ const Ri = (e) => {
|
|
|
8462
8462
|
}, null, 8, ["modelValue"])
|
|
8463
8463
|
]));
|
|
8464
8464
|
}
|
|
8465
|
-
}), BC = /* @__PURE__ */
|
|
8465
|
+
}), BC = /* @__PURE__ */ ze(qC, [["__scopeId", "data-v-269e85ed"]]), yc = {
|
|
8466
8466
|
fields: [
|
|
8467
8467
|
{
|
|
8468
8468
|
key: {
|
|
@@ -10579,7 +10579,7 @@ const NE = {
|
|
|
10579
10579
|
_: 3
|
|
10580
10580
|
}));
|
|
10581
10581
|
}
|
|
10582
|
-
}), Ur = /* @__PURE__ */
|
|
10582
|
+
}), Ur = /* @__PURE__ */ ze(jE, [["__scopeId", "data-v-4969409d"]]);
|
|
10583
10583
|
function ql(e) {
|
|
10584
10584
|
return e.map((t) => ({ value: t, label: `${t}` }));
|
|
10585
10585
|
}
|
|
@@ -10836,7 +10836,7 @@ function HE(e) {
|
|
|
10836
10836
|
};
|
|
10837
10837
|
}
|
|
10838
10838
|
const Qs = Symbol("ff-render-rule-exact-match");
|
|
10839
|
-
function
|
|
10839
|
+
function dK(e) {
|
|
10840
10840
|
return { [Qs]: e };
|
|
10841
10841
|
}
|
|
10842
10842
|
function WE(e, t) {
|
|
@@ -11617,7 +11617,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
11617
11617
|
key: "2"
|
|
11618
11618
|
} : void 0
|
|
11619
11619
|
]), 1040, ["id", "data-1p-ignore", "data-autofocus", "data-testid", "error", "error-message", "help", "model-value", "multiline", "placeholder"]),
|
|
11620
|
-
e.inlineVaultPicker ? ye("", !0) : (S(), le(
|
|
11620
|
+
e.inlineVaultPicker ? ye("", !0) : (S(), le(Ge, { key: 0 }, [
|
|
11621
11621
|
u(m) && h.value ? (S(), Z(jt(u(m)), {
|
|
11622
11622
|
key: 0,
|
|
11623
11623
|
schema: y.value,
|
|
@@ -11636,7 +11636,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
11636
11636
|
]);
|
|
11637
11637
|
};
|
|
11638
11638
|
}
|
|
11639
|
-
}), Ze = /* @__PURE__ */
|
|
11639
|
+
}), Ze = /* @__PURE__ */ ze(px, [["__scopeId", "data-v-5cb8f07e"]]), fx = ["innerHTML"], mx = /* @__PURE__ */ Pe({
|
|
11640
11640
|
inheritAttrs: !1,
|
|
11641
11641
|
__name: "BooleanField",
|
|
11642
11642
|
props: {
|
|
@@ -11680,7 +11680,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
11680
11680
|
]);
|
|
11681
11681
|
};
|
|
11682
11682
|
}
|
|
11683
|
-
}), kn = /* @__PURE__ */
|
|
11683
|
+
}), kn = /* @__PURE__ */ ze(mx, [["__scopeId", "data-v-a1c08c7f"]]), gx = ["data-testid"], hx = ["innerHTML"], yx = /* @__PURE__ */ Pe({
|
|
11684
11684
|
inheritAttrs: !1,
|
|
11685
11685
|
__name: "StringArrayField",
|
|
11686
11686
|
props: {
|
|
@@ -11746,7 +11746,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
11746
11746
|
]);
|
|
11747
11747
|
};
|
|
11748
11748
|
}
|
|
11749
|
-
}), Na = /* @__PURE__ */
|
|
11749
|
+
}), Na = /* @__PURE__ */ ze(yx, [["__scopeId", "data-v-3aa09162"]]), vx = ["data-appearance", "data-testid"], _x = ["data-testid"], bx = ["innerHTML"], wx = ["data-testid"], kx = { class: "ff-array-field-item-content" }, Cx = ["data-index", "data-testid"], ms = 'input:not(:disabled), textarea:not(:disabled), select:not(:disabled), button:not(:disabled), [contenteditable="true"], [tabindex]:not([tabindex="-1"]):not(:disabled)', Ex = /* @__PURE__ */ Pe({
|
|
11750
11750
|
__name: "ArrayField",
|
|
11751
11751
|
props: {
|
|
11752
11752
|
name: {},
|
|
@@ -11864,12 +11864,12 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
11864
11864
|
_: 1
|
|
11865
11865
|
}, 8, ["aria-label", "data-testid"])) : ye("", !0)
|
|
11866
11866
|
], 8, _x)) : ye("", !0),
|
|
11867
|
-
y.value !== "tabs" ? (S(), le(
|
|
11867
|
+
y.value !== "tabs" ? (S(), le(Ge, { key: 1 }, [
|
|
11868
11868
|
ee("div", {
|
|
11869
11869
|
class: "ff-array-field-container",
|
|
11870
11870
|
"data-testid": `ff-array-basic-container-${d.path.value}`
|
|
11871
11871
|
}, [
|
|
11872
|
-
(S(!0), le(
|
|
11872
|
+
(S(!0), le(Ge, null, et(m.value, (X, M) => (S(), Z(u(_), {
|
|
11873
11873
|
key: u(h)(X, M),
|
|
11874
11874
|
class: yt(["ff-array-field-item", { "ff-array-field-item-card": y.value === "card" }]),
|
|
11875
11875
|
"data-index": M,
|
|
@@ -11991,7 +11991,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
11991
11991
|
]);
|
|
11992
11992
|
};
|
|
11993
11993
|
}
|
|
11994
|
-
}), Rt = /* @__PURE__ */
|
|
11994
|
+
}), Rt = /* @__PURE__ */ ze(Ex, [["__scopeId", "data-v-04b60981"]]), xx = {
|
|
11995
11995
|
key: 1,
|
|
11996
11996
|
class: "ff-number-field-wrapper"
|
|
11997
11997
|
}, Sx = ["innerHTML"], Ax = /* @__PURE__ */ Pe({
|
|
@@ -12096,7 +12096,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12096
12096
|
]);
|
|
12097
12097
|
};
|
|
12098
12098
|
}
|
|
12099
|
-
}), Yt = /* @__PURE__ */
|
|
12099
|
+
}), Yt = /* @__PURE__ */ ze(Ax, [["__scopeId", "data-v-f303431f"]]), Ix = ["innerHTML"], Tx = /* @__PURE__ */ Pe({
|
|
12100
12100
|
__name: "EnumField",
|
|
12101
12101
|
props: /* @__PURE__ */ yi({
|
|
12102
12102
|
labelAttributes: {},
|
|
@@ -12193,7 +12193,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12193
12193
|
]);
|
|
12194
12194
|
};
|
|
12195
12195
|
}
|
|
12196
|
-
}),
|
|
12196
|
+
}), qt = /* @__PURE__ */ ze(Tx, [["__scopeId", "data-v-b283cc11"]]), $x = ["data-testid"], Ox = ["innerHTML"], Px = /* @__PURE__ */ Pe({
|
|
12197
12197
|
inheritAttrs: !1,
|
|
12198
12198
|
__name: "JsonField",
|
|
12199
12199
|
props: {
|
|
@@ -12263,7 +12263,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12263
12263
|
]);
|
|
12264
12264
|
};
|
|
12265
12265
|
}
|
|
12266
|
-
}), Nx = /* @__PURE__ */
|
|
12266
|
+
}), Nx = /* @__PURE__ */ ze(Px, [["__scopeId", "data-v-6f302da9"]]), Rx = ["innerHTML"], Mx = /* @__PURE__ */ Pe({
|
|
12267
12267
|
inheritAttrs: !1,
|
|
12268
12268
|
__name: "ForeignField",
|
|
12269
12269
|
props: {
|
|
@@ -12323,7 +12323,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12323
12323
|
]);
|
|
12324
12324
|
};
|
|
12325
12325
|
}
|
|
12326
|
-
}), Lx = /* @__PURE__ */
|
|
12326
|
+
}), Lx = /* @__PURE__ */ ze(Mx, [["__scopeId", "data-v-8c298e9f"]]), Fx = ["data-testid"], Kx = ["data-testid"], jx = ["innerHTML"], Dx = { class: "ff-map-field-fields" }, qx = /* @__PURE__ */ Pe({
|
|
12327
12327
|
__name: "MapField",
|
|
12328
12328
|
props: {
|
|
12329
12329
|
keyPlaceholder: {},
|
|
@@ -12410,7 +12410,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12410
12410
|
} : void 0
|
|
12411
12411
|
]), 1040, ["data-testid", "required", "tooltip-attributes"])
|
|
12412
12412
|
], 8, Kx)) : ye("", !0),
|
|
12413
|
-
(S(!0), le(
|
|
12413
|
+
(S(!0), le(Ge, null, et(u(r), ([R, j], Q) => (S(), Z(jt(_.value), {
|
|
12414
12414
|
key: R,
|
|
12415
12415
|
class: yt(["ff-map-field-item", {
|
|
12416
12416
|
"ff-map-field-item-simple": m.value,
|
|
@@ -12485,7 +12485,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12485
12485
|
]);
|
|
12486
12486
|
};
|
|
12487
12487
|
}
|
|
12488
|
-
}), bi = /* @__PURE__ */
|
|
12488
|
+
}), bi = /* @__PURE__ */ ze(qx, [["__scopeId", "data-v-dca94ae5"]]), st = /* @__PURE__ */ Pe({
|
|
12489
12489
|
name: "AutoField",
|
|
12490
12490
|
__name: "Field",
|
|
12491
12491
|
props: {
|
|
@@ -12499,16 +12499,16 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12499
12499
|
var o, r;
|
|
12500
12500
|
switch ((r = (o = n.schema) == null ? void 0 : o.value) == null ? void 0 : r.type) {
|
|
12501
12501
|
case "string":
|
|
12502
|
-
return "one_of" in n.schema.value ?
|
|
12502
|
+
return "one_of" in n.schema.value ? qt : Ze;
|
|
12503
12503
|
case "boolean":
|
|
12504
|
-
return "one_of" in n.schema.value ?
|
|
12504
|
+
return "one_of" in n.schema.value ? qt : kn;
|
|
12505
12505
|
case "number":
|
|
12506
12506
|
case "integer":
|
|
12507
|
-
return "one_of" in n.schema.value ?
|
|
12507
|
+
return "one_of" in n.schema.value ? qt : Yt;
|
|
12508
12508
|
case "array":
|
|
12509
12509
|
return Rt;
|
|
12510
12510
|
case "set":
|
|
12511
|
-
return BE(n.schema) ? Na :
|
|
12511
|
+
return BE(n.schema) ? Na : qt;
|
|
12512
12512
|
case "record":
|
|
12513
12513
|
return Gt;
|
|
12514
12514
|
case "map":
|
|
@@ -12523,7 +12523,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12523
12523
|
});
|
|
12524
12524
|
return (o, r) => {
|
|
12525
12525
|
const a = xe("KAlert");
|
|
12526
|
-
return S(), le(
|
|
12526
|
+
return S(), le(Ge, null, [
|
|
12527
12527
|
(S(), Z(jt(o.$slots[u(Po)]))),
|
|
12528
12528
|
u(n).error ? (S(), Z(a, {
|
|
12529
12529
|
key: 0,
|
|
@@ -12534,7 +12534,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12534
12534
|
autofocus: t.autofocus,
|
|
12535
12535
|
name: Xs(u(n).path.value),
|
|
12536
12536
|
onGlobalAction: r[0] || (r[0] = (l, s) => o.$emit("globalAction", l, s))
|
|
12537
|
-
}, null, 40, ["autofocus", "name"])) : (S(), le(
|
|
12537
|
+
}, null, 40, ["autofocus", "name"])) : (S(), le(Ge, { key: 2 }, [
|
|
12538
12538
|
i.value ? (S(), Z(jt(i.value), {
|
|
12539
12539
|
key: 0,
|
|
12540
12540
|
autofocus: t.autofocus,
|
|
@@ -12592,7 +12592,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12592
12592
|
}, {
|
|
12593
12593
|
default: N(() => [
|
|
12594
12594
|
ee("ul", Bx, [
|
|
12595
|
-
(S(!0), le(
|
|
12595
|
+
(S(!0), le(Ge, null, et(n.value, (s) => (S(), le("li", {
|
|
12596
12596
|
key: s,
|
|
12597
12597
|
"data-testid": "ff-entity-check-item"
|
|
12598
12598
|
}, ue(s), 1))), 128))
|
|
@@ -12602,7 +12602,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12602
12602
|
})) : ye("", !0);
|
|
12603
12603
|
};
|
|
12604
12604
|
}
|
|
12605
|
-
}), Sc = /* @__PURE__ */
|
|
12605
|
+
}), Sc = /* @__PURE__ */ ze(Ux, [["__scopeId", "data-v-374c59bc"]]), Vx = ["data-testid"], zx = ["data-testid"], Gx = ["data-testid"], Hx = { class: "ff-object-field-header-toggle" }, Wx = ["aria-controls", "aria-expanded", "aria-label", "data-testid", "disabled"], Yx = ["innerHTML"], Jx = ["data-testid"], Xx = {
|
|
12606
12606
|
key: 0,
|
|
12607
12607
|
class: "indent-guide"
|
|
12608
12608
|
}, Zx = /* @__PURE__ */ Pe({
|
|
@@ -12676,7 +12676,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12676
12676
|
}), (k, w) => {
|
|
12677
12677
|
var q;
|
|
12678
12678
|
const T = xe("KAlert"), O = xe("KInputSwitch");
|
|
12679
|
-
return S(), le(
|
|
12679
|
+
return S(), le(Ge, null, [
|
|
12680
12680
|
(S(), Z(jt(k.$slots[u(Po)]))),
|
|
12681
12681
|
r.error ? (S(), Z(T, {
|
|
12682
12682
|
key: 0,
|
|
@@ -12695,7 +12695,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12695
12695
|
"entity-checks": (A = r.schema.value) == null ? void 0 : A.entity_checks,
|
|
12696
12696
|
"visible-fields": b.value
|
|
12697
12697
|
}, null, 8, ["entity-checks", "visible-fields"]),
|
|
12698
|
-
(S(!0), le(
|
|
12698
|
+
(S(!0), le(Ge, null, et(v.value, (I) => (S(), Z(st, {
|
|
12699
12699
|
key: Object.keys(I)[0],
|
|
12700
12700
|
name: Object.keys(I)[0]
|
|
12701
12701
|
}, null, 8, ["name"]))), 128))
|
|
@@ -12782,7 +12782,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12782
12782
|
"entity-checks": (A = r.schema.value) == null ? void 0 : A.entity_checks,
|
|
12783
12783
|
"visible-fields": b.value
|
|
12784
12784
|
}, null, 8, ["entity-checks", "visible-fields"]),
|
|
12785
|
-
(S(!0), le(
|
|
12785
|
+
(S(!0), le(Ge, null, et(v.value, (I) => (S(), Z(st, {
|
|
12786
12786
|
key: Object.keys(I)[0],
|
|
12787
12787
|
name: Object.keys(I)[0]
|
|
12788
12788
|
}, null, 8, ["name"]))), 128))
|
|
@@ -12799,7 +12799,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12799
12799
|
], 64);
|
|
12800
12800
|
};
|
|
12801
12801
|
}
|
|
12802
|
-
}), Gt = /* @__PURE__ */
|
|
12802
|
+
}), Gt = /* @__PURE__ */ ze(Zx, [["__scopeId", "data-v-7a5e2610"]]), Qx = { class: "ff-advanced-fields" }, eS = /* @__PURE__ */ Pe({
|
|
12803
12803
|
__name: "AdvancedFields",
|
|
12804
12804
|
props: {
|
|
12805
12805
|
hideGeneralFields: { type: Boolean }
|
|
@@ -12814,7 +12814,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12814
12814
|
}, {
|
|
12815
12815
|
default: N(() => [
|
|
12816
12816
|
ee("div", Qx, [
|
|
12817
|
-
e.hideGeneralFields ? ye("", !0) : (S(), le(
|
|
12817
|
+
e.hideGeneralFields ? ye("", !0) : (S(), le(Ge, { key: 0 }, [
|
|
12818
12818
|
u(n)("instance_name") ? (S(), Z(st, {
|
|
12819
12819
|
key: 0,
|
|
12820
12820
|
name: "instance_name"
|
|
@@ -12841,7 +12841,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12841
12841
|
_: 3
|
|
12842
12842
|
}, 8, ["modelValue", "trigger-label"]));
|
|
12843
12843
|
}
|
|
12844
|
-
}), Ra = /* @__PURE__ */
|
|
12844
|
+
}), Ra = /* @__PURE__ */ ze(eS, [["__scopeId", "data-v-baa317ec"]]), tS = /* @__PURE__ */ Pe({
|
|
12845
12845
|
__name: "ConfigForm",
|
|
12846
12846
|
setup(e) {
|
|
12847
12847
|
const { getSchema: t, createComputedRenderRules: n } = gt(), i = n("config"), o = L(() => {
|
|
@@ -12880,7 +12880,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12880
12880
|
}
|
|
12881
12881
|
return { defaultVisible: a, advanced: l };
|
|
12882
12882
|
}), r = L(() => o.value.defaultVisible.length === 0);
|
|
12883
|
-
return (a, l) => (S(), le(
|
|
12883
|
+
return (a, l) => (S(), le(Ge, null, [
|
|
12884
12884
|
C(Gt, {
|
|
12885
12885
|
"as-child": "",
|
|
12886
12886
|
class: "ff-default-visible-fields",
|
|
@@ -12906,7 +12906,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12906
12906
|
}))
|
|
12907
12907
|
], 64));
|
|
12908
12908
|
}
|
|
12909
|
-
}), af = /* @__PURE__ */
|
|
12909
|
+
}), af = /* @__PURE__ */ ze(tS, [["__scopeId", "data-v-bc82c9e9"]]), nS = ["data-testid"], iS = /* @__PURE__ */ Pe({
|
|
12910
12910
|
__name: "SwitchField",
|
|
12911
12911
|
props: {
|
|
12912
12912
|
labelAttributes: {},
|
|
@@ -12945,7 +12945,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
12945
12945
|
]);
|
|
12946
12946
|
};
|
|
12947
12947
|
}
|
|
12948
|
-
}), oS = /* @__PURE__ */
|
|
12948
|
+
}), oS = /* @__PURE__ */ ze(iS, [["__scopeId", "data-v-0b4c3942"]]), aS = ["data-testid"], rS = {
|
|
12949
12949
|
key: 1,
|
|
12950
12950
|
class: "ff-scope-entity-help"
|
|
12951
12951
|
}, sS = /* @__PURE__ */ Pe({
|
|
@@ -13033,7 +13033,7 @@ const Ro = /* @__PURE__ */ Pe({
|
|
|
13033
13033
|
]);
|
|
13034
13034
|
};
|
|
13035
13035
|
}
|
|
13036
|
-
}), lS = /* @__PURE__ */
|
|
13036
|
+
}), lS = /* @__PURE__ */ ze(sS, [["__scopeId", "data-v-10ff0d5c"]]);
|
|
13037
13037
|
/*! js-yaml 4.2.0 https://github.com/nodeca/js-yaml @license MIT */
|
|
13038
13038
|
var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDescriptor, dS = Object.getOwnPropertyNames, pS = Object.getPrototypeOf, fS = Object.prototype.hasOwnProperty, Mt = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), mS = (e, t, n, i) => {
|
|
13039
13039
|
if (t && typeof t == "object" || typeof t == "function") for (var o = dS(t), r = 0, a = o.length, l; r < a; r++)
|
|
@@ -13926,16 +13926,16 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
13926
13926
|
const Me = g.anchor;
|
|
13927
13927
|
let Ie, B, ne, V;
|
|
13928
13928
|
const Ee = /* @__PURE__ */ Object.create(null);
|
|
13929
|
-
let Se, Ne, De,
|
|
13930
|
-
if (
|
|
13929
|
+
let Se, Ne, De, Ve = g.input.charCodeAt(g.position);
|
|
13930
|
+
if (Ve === 91)
|
|
13931
13931
|
Ie = 93, V = !1, ke = [];
|
|
13932
|
-
else if (
|
|
13932
|
+
else if (Ve === 123)
|
|
13933
13933
|
Ie = 125, V = !0, ke = {};
|
|
13934
13934
|
else return !1;
|
|
13935
|
-
for (g.anchor !== null && M(g, g.anchor, ke),
|
|
13936
|
-
if (pe(g, !0, te),
|
|
13935
|
+
for (g.anchor !== null && M(g, g.anchor, ke), Ve = g.input.charCodeAt(++g.position); Ve !== 0; ) {
|
|
13936
|
+
if (pe(g, !0, te), Ve = g.input.charCodeAt(g.position), Ve === Ie)
|
|
13937
13937
|
return g.position++, g.tag = K, g.anchor = Me, g.kind = V ? "mapping" : "sequence", g.result = ke, !0;
|
|
13938
|
-
ce ?
|
|
13938
|
+
ce ? Ve === 44 && F(g, "expected the node content, but found ','") : F(g, "missed comma between flow collection entries"), Ne = Se = De = null, B = ne = !1, Ve === 63 && w(g.input.charCodeAt(g.position + 1)) && (B = ne = !0, g.position++, pe(g, !0, te)), ve = g.line, be = g.lineStart, Oe = g.position, de(g, te, l, !1, !0), Ne = g.tag, Se = g.result, pe(g, !0, te), Ve = g.input.charCodeAt(g.position), (ne || g.line === ve) && Ve === 58 && (B = !0, Ve = g.input.charCodeAt(++g.position), pe(g, !0, te), de(g, te, l, !1, !0), De = g.result), V ? we(g, ke, Ee, Ne, Se, De, ve, be, Oe) : B ? ke.push(we(g, null, Ee, Ne, Se, De, ve, be, Oe)) : ke.push(Se), pe(g, !0, te), Ve = g.input.charCodeAt(g.position), Ve === 44 ? (ce = !0, Ve = g.input.charCodeAt(++g.position)) : ce = !1;
|
|
13939
13939
|
}
|
|
13940
13940
|
F(g, "unexpected end of the stream within a flow collection");
|
|
13941
13941
|
}
|
|
@@ -14006,9 +14006,9 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14006
14006
|
let De = g.input.charCodeAt(g.position);
|
|
14007
14007
|
for (; De !== 0; ) {
|
|
14008
14008
|
!Se && g.firstTabInLine !== -1 && (g.position = g.firstTabInLine, F(g, "tab characters must not be used in indentation"));
|
|
14009
|
-
const
|
|
14010
|
-
if ((De === 63 || De === 58) && w(
|
|
14011
|
-
De === 63 ? (Se && (we(g, Ie, B, ne, V, null, be, Oe, K), ne = V = Ee = null), Ne = !0, Se = !0, ve = !0) : Se ? (Se = !1, ve = !0) : F(g, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), g.position += 1, De =
|
|
14009
|
+
const Ve = g.input.charCodeAt(g.position + 1), tt = g.line;
|
|
14010
|
+
if ((De === 63 || De === 58) && w(Ve))
|
|
14011
|
+
De === 63 ? (Se && (we(g, Ie, B, ne, V, null, be, Oe, K), ne = V = Ee = null), Ne = !0, Se = !0, ve = !0) : Se ? (Se = !1, ve = !0) : F(g, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), g.position += 1, De = Ve;
|
|
14012
14012
|
else {
|
|
14013
14013
|
if (be = g.line, Oe = g.lineStart, K = g.position, !de(g, ce, s, !1, !0)) break;
|
|
14014
14014
|
if (g.line === tt) {
|
|
@@ -14102,7 +14102,7 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14102
14102
|
else {
|
|
14103
14103
|
ne = null;
|
|
14104
14104
|
const Ne = g.typeMap.multi[g.kind || "fallback"];
|
|
14105
|
-
for (let De = 0,
|
|
14105
|
+
for (let De = 0, Ve = Ne.length; De < Ve; De += 1) if (g.tag.slice(0, Ne[De].tag.length) === Ne[De].tag) {
|
|
14106
14106
|
ne = Ne[De];
|
|
14107
14107
|
break;
|
|
14108
14108
|
}
|
|
@@ -14260,7 +14260,7 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14260
14260
|
}
|
|
14261
14261
|
var je = 1, He = 2, Ye = 3, rt = 4, ft = 5;
|
|
14262
14262
|
function qe(K, ke, Me, Ie, B, ne, V, Ee) {
|
|
14263
|
-
let Se, Ne = 0, De = null,
|
|
14263
|
+
let Se, Ne = 0, De = null, Ve = !1, tt = !1;
|
|
14264
14264
|
const Je = Ie !== -1;
|
|
14265
14265
|
let Fe = -1, $e = pe(Ke(K, 0)) && he(Ke(K, K.length - 1));
|
|
14266
14266
|
if (ke || V) for (Se = 0; Se < K.length; Ne >= 65536 ? Se += 2 : Se++) {
|
|
@@ -14270,13 +14270,13 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14270
14270
|
else {
|
|
14271
14271
|
for (Se = 0; Se < K.length; Ne >= 65536 ? Se += 2 : Se++) {
|
|
14272
14272
|
if (Ne = Ke(K, Se), Ne === d)
|
|
14273
|
-
|
|
14273
|
+
Ve = !0, Je && (tt = tt || Se - Fe - 1 > Ie && K[Fe + 1] !== " ", Fe = Se);
|
|
14274
14274
|
else if (!ae(Ne)) return ft;
|
|
14275
14275
|
$e = $e && _e(Ne, De, Ee), De = Ne;
|
|
14276
14276
|
}
|
|
14277
14277
|
tt = tt || Je && Se - Fe - 1 > Ie && K[Fe + 1] !== " ";
|
|
14278
14278
|
}
|
|
14279
|
-
return !
|
|
14279
|
+
return !Ve && !tt ? $e && !V && !B(K) ? je : ne === z ? ft : He : Me > 9 && Be(K) ? ft : V ? ne === z ? ft : He : tt ? rt : Ye;
|
|
14280
14280
|
}
|
|
14281
14281
|
function Ce(K, ke, Me, Ie, B) {
|
|
14282
14282
|
K.dump = function() {
|
|
@@ -14390,10 +14390,10 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14390
14390
|
let Ne = "";
|
|
14391
14391
|
(!Ie || B !== "") && (Ne += $(K, ke));
|
|
14392
14392
|
const De = V[Ee];
|
|
14393
|
-
let
|
|
14394
|
-
if (K.replacer && (
|
|
14393
|
+
let Ve = Me[De];
|
|
14394
|
+
if (K.replacer && (Ve = K.replacer.call(Me, De, Ve)), !ce(K, ke + 1, De, !0, !0, !0)) continue;
|
|
14395
14395
|
const tt = K.tag !== null && K.tag !== "?" || K.dump && K.dump.length > 1024;
|
|
14396
|
-
tt && (K.dump && d === K.dump.charCodeAt(0) ? Ne += "?" : Ne += "? "), Ne += K.dump, tt && (Ne += $(K, ke)), ce(K, ke + 1,
|
|
14396
|
+
tt && (K.dump && d === K.dump.charCodeAt(0) ? Ne += "?" : Ne += "? "), Ne += K.dump, tt && (Ne += $(K, ke)), ce(K, ke + 1, Ve, !0, tt) && (K.dump && d === K.dump.charCodeAt(0) ? Ne += ":" : Ne += ": ", Ne += K.dump, B += Ne);
|
|
14397
14397
|
}
|
|
14398
14398
|
K.tag = ne, K.dump = B || "{}";
|
|
14399
14399
|
}
|
|
@@ -14420,11 +14420,11 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14420
14420
|
const Ee = r.call(K.dump), Se = Ie;
|
|
14421
14421
|
Ie && (Ie = K.flowLevel < 0 || K.flowLevel > ke);
|
|
14422
14422
|
const Ne = Ee === "[object Object]" || Ee === "[object Array]";
|
|
14423
|
-
let De,
|
|
14424
|
-
if (Ne && (De = K.duplicates.indexOf(Me),
|
|
14423
|
+
let De, Ve;
|
|
14424
|
+
if (Ne && (De = K.duplicates.indexOf(Me), Ve = De !== -1), (K.tag !== null && K.tag !== "?" || Ve || K.indent !== 2 && ke > 0) && (B = !1), Ve && K.usedDuplicates[De]) K.dump = "*ref_" + De;
|
|
14425
14425
|
else {
|
|
14426
|
-
if (Ne &&
|
|
14427
|
-
else if (Ee === "[object Array]") Ie && K.dump.length !== 0 ? (K.noArrayIndent && !V && ke > 0 ? Te(K, ke - 1, K.dump, B) : Te(K, ke, K.dump, B),
|
|
14426
|
+
if (Ne && Ve && !K.usedDuplicates[De] && (K.usedDuplicates[De] = !0), Ee === "[object Object]") Ie && Object.keys(K.dump).length !== 0 ? (g(K, ke, K.dump, B), Ve && (K.dump = "&ref_" + De + K.dump)) : (Ae(K, ke, K.dump), Ve && (K.dump = "&ref_" + De + " " + K.dump));
|
|
14427
|
+
else if (Ee === "[object Array]") Ie && K.dump.length !== 0 ? (K.noArrayIndent && !V && ke > 0 ? Te(K, ke - 1, K.dump, B) : Te(K, ke, K.dump, B), Ve && (K.dump = "&ref_" + De + K.dump)) : (ge(K, ke, K.dump), Ve && (K.dump = "&ref_" + De + " " + K.dump));
|
|
14428
14428
|
else if (Ee === "[object String]")
|
|
14429
14429
|
K.tag !== "?" && Ce(K, K.dump, ke, ne, Se);
|
|
14430
14430
|
else {
|
|
@@ -14489,7 +14489,7 @@ var uS = Object.create, rf = Object.defineProperty, cS = Object.getOwnPropertyDe
|
|
|
14489
14489
|
seq: uf(),
|
|
14490
14490
|
str: lf()
|
|
14491
14491
|
}, t.exports.safeLoad = o("safeLoad", "load"), t.exports.safeLoadAll = o("safeLoadAll", "loadAll"), t.exports.safeDump = o("safeDump", "dump");
|
|
14492
|
-
}))()), { Type:
|
|
14492
|
+
}))()), { Type: pK, Schema: fK, FAILSAFE_SCHEMA: mK, JSON_SCHEMA: Fi, CORE_SCHEMA: gK, DEFAULT_SCHEMA: hK, load: yK, loadAll: vK, dump: _K, YAMLException: bK, types: wK, safeLoad: kK, safeLoadAll: CK, safeDump: EK } = Ef.default, On = Ef.default;
|
|
14493
14493
|
const _S = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|
|
14494
14494
|
function ci() {
|
|
14495
14495
|
return { lenses: [], dispose: () => {
|
|
@@ -14549,8 +14549,8 @@ async function xf(e) {
|
|
|
14549
14549
|
function ES(e) {
|
|
14550
14550
|
el.delete(e), tl.delete(e);
|
|
14551
14551
|
}
|
|
14552
|
-
const Wl = Symbol.for("yaml.alias"), nl = Symbol.for("yaml.document"), Ai = Symbol.for("yaml.map"), Sf = Symbol.for("yaml.pair"), ai = Symbol.for("yaml.scalar"), Mo = Symbol.for("yaml.seq"), Mn = Symbol.for("yaml.node.type"), Lo = (e) => !!e && typeof e == "object" && e[Mn] === Wl, Hr = (e) => !!e && typeof e == "object" && e[Mn] === nl, Fo = (e) => !!e && typeof e == "object" && e[Mn] === Ai,
|
|
14553
|
-
function
|
|
14552
|
+
const Wl = Symbol.for("yaml.alias"), nl = Symbol.for("yaml.document"), Ai = Symbol.for("yaml.map"), Sf = Symbol.for("yaml.pair"), ai = Symbol.for("yaml.scalar"), Mo = Symbol.for("yaml.seq"), Mn = Symbol.for("yaml.node.type"), Lo = (e) => !!e && typeof e == "object" && e[Mn] === Wl, Hr = (e) => !!e && typeof e == "object" && e[Mn] === nl, Fo = (e) => !!e && typeof e == "object" && e[Mn] === Ai, Bt = (e) => !!e && typeof e == "object" && e[Mn] === Sf, At = (e) => !!e && typeof e == "object" && e[Mn] === ai, Ko = (e) => !!e && typeof e == "object" && e[Mn] === Mo;
|
|
14553
|
+
function zt(e) {
|
|
14554
14554
|
if (e && typeof e == "object")
|
|
14555
14555
|
switch (e[Mn]) {
|
|
14556
14556
|
case Ai:
|
|
@@ -14570,7 +14570,7 @@ function Tt(e) {
|
|
|
14570
14570
|
}
|
|
14571
14571
|
return !1;
|
|
14572
14572
|
}
|
|
14573
|
-
const Af = (e) => (At(e) ||
|
|
14573
|
+
const Af = (e) => (At(e) || zt(e)) && !!e.anchor, Mi = Symbol("break visit"), xS = Symbol("skip children"), sa = Symbol("remove node");
|
|
14574
14574
|
function jo(e, t) {
|
|
14575
14575
|
const n = SS(t);
|
|
14576
14576
|
Hr(e) ? fo(null, e.contents, n, Object.freeze([e])) === sa && (e.contents = null) : fo(null, e, n, Object.freeze([]));
|
|
@@ -14580,10 +14580,10 @@ jo.SKIP = xS;
|
|
|
14580
14580
|
jo.REMOVE = sa;
|
|
14581
14581
|
function fo(e, t, n, i) {
|
|
14582
14582
|
const o = AS(e, t, n, i);
|
|
14583
|
-
if (Tt(o) ||
|
|
14583
|
+
if (Tt(o) || Bt(o))
|
|
14584
14584
|
return IS(e, i, o), fo(e, o, n, i);
|
|
14585
14585
|
if (typeof o != "symbol") {
|
|
14586
|
-
if (
|
|
14586
|
+
if (zt(t)) {
|
|
14587
14587
|
i = Object.freeze(i.concat(t));
|
|
14588
14588
|
for (let r = 0; r < t.items.length; ++r) {
|
|
14589
14589
|
const a = fo(r, t.items[r], n, i);
|
|
@@ -14595,7 +14595,7 @@ function fo(e, t, n, i) {
|
|
|
14595
14595
|
a === sa && (t.items.splice(r, 1), r -= 1);
|
|
14596
14596
|
}
|
|
14597
14597
|
}
|
|
14598
|
-
} else if (
|
|
14598
|
+
} else if (Bt(t)) {
|
|
14599
14599
|
i = Object.freeze(i.concat(t));
|
|
14600
14600
|
const r = fo("key", t.key, n, i);
|
|
14601
14601
|
if (r === Mi)
|
|
@@ -14632,7 +14632,7 @@ function AS(e, t, n, i) {
|
|
|
14632
14632
|
return (o = n.Map) == null ? void 0 : o.call(n, e, t, i);
|
|
14633
14633
|
if (Ko(t))
|
|
14634
14634
|
return (r = n.Seq) == null ? void 0 : r.call(n, e, t, i);
|
|
14635
|
-
if (
|
|
14635
|
+
if (Bt(t))
|
|
14636
14636
|
return (a = n.Pair) == null ? void 0 : a.call(n, e, t, i);
|
|
14637
14637
|
if (At(t))
|
|
14638
14638
|
return (l = n.Scalar) == null ? void 0 : l.call(n, e, t, i);
|
|
@@ -14641,9 +14641,9 @@ function AS(e, t, n, i) {
|
|
|
14641
14641
|
}
|
|
14642
14642
|
function IS(e, t, n) {
|
|
14643
14643
|
const i = t[t.length - 1];
|
|
14644
|
-
if (
|
|
14644
|
+
if (zt(i))
|
|
14645
14645
|
i.items[e] = n;
|
|
14646
|
-
else if (
|
|
14646
|
+
else if (Bt(i))
|
|
14647
14647
|
e === "key" ? i.key = n : i.value = n;
|
|
14648
14648
|
else if (Hr(i))
|
|
14649
14649
|
i.contents = n;
|
|
@@ -14809,7 +14809,7 @@ function OS(e, t) {
|
|
|
14809
14809
|
setAnchors: () => {
|
|
14810
14810
|
for (const r of n) {
|
|
14811
14811
|
const a = i.get(r);
|
|
14812
|
-
if (typeof a == "object" && a.anchor && (At(a.node) ||
|
|
14812
|
+
if (typeof a == "object" && a.anchor && (At(a.node) || zt(a.node)))
|
|
14813
14813
|
a.node.anchor = a.anchor;
|
|
14814
14814
|
else {
|
|
14815
14815
|
const l = new Error("Failed to resolve repeated object (this should not happen)");
|
|
@@ -14951,14 +14951,14 @@ function sr(e, t, n) {
|
|
|
14951
14951
|
if (Lo(t)) {
|
|
14952
14952
|
const i = t.resolve(e), o = n && i && n.get(i);
|
|
14953
14953
|
return o ? o.count * o.aliasCount : 0;
|
|
14954
|
-
} else if (
|
|
14954
|
+
} else if (zt(t)) {
|
|
14955
14955
|
let i = 0;
|
|
14956
14956
|
for (const o of t.items) {
|
|
14957
14957
|
const r = sr(e, o, n);
|
|
14958
14958
|
r > i && (i = r);
|
|
14959
14959
|
}
|
|
14960
14960
|
return i;
|
|
14961
|
-
} else if (
|
|
14961
|
+
} else if (Bt(t)) {
|
|
14962
14962
|
const i = sr(e, t.key, n), o = sr(e, t.value, n);
|
|
14963
14963
|
return Math.max(i, o);
|
|
14964
14964
|
}
|
|
@@ -14998,7 +14998,7 @@ function ba(e, t, n) {
|
|
|
14998
14998
|
var i, o, r;
|
|
14999
14999
|
if (Hr(e) && (e = e.contents), Tt(e))
|
|
15000
15000
|
return e;
|
|
15001
|
-
if (
|
|
15001
|
+
if (Bt(e)) {
|
|
15002
15002
|
const h = (o = (i = n.schema[Ai]).createNode) == null ? void 0 : o.call(i, n.schema, null, n);
|
|
15003
15003
|
return h.items.push(e), h;
|
|
15004
15004
|
}
|
|
@@ -15060,7 +15060,7 @@ class Pf extends Yl {
|
|
|
15060
15060
|
*/
|
|
15061
15061
|
clone(t) {
|
|
15062
15062
|
const n = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
|
|
15063
|
-
return t && (n.schema = t), n.items = n.items.map((i) => Tt(i) ||
|
|
15063
|
+
return t && (n.schema = t), n.items = n.items.map((i) => Tt(i) || Bt(i) ? i.clone(t) : i), this.range && (n.range = this.range.slice()), n;
|
|
15064
15064
|
}
|
|
15065
15065
|
/**
|
|
15066
15066
|
* Adds a value to the collection. For `!!map` and `!!omap` the value must
|
|
@@ -15072,7 +15072,7 @@ class Pf extends Yl {
|
|
|
15072
15072
|
this.add(n);
|
|
15073
15073
|
else {
|
|
15074
15074
|
const [i, ...o] = t, r = this.get(i, !0);
|
|
15075
|
-
if (
|
|
15075
|
+
if (zt(r))
|
|
15076
15076
|
r.addIn(o, n);
|
|
15077
15077
|
else if (r === void 0 && this.schema)
|
|
15078
15078
|
this.set(i, Cr(this.schema, o, n));
|
|
@@ -15089,7 +15089,7 @@ class Pf extends Yl {
|
|
|
15089
15089
|
if (i.length === 0)
|
|
15090
15090
|
return this.delete(n);
|
|
15091
15091
|
const o = this.get(n, !0);
|
|
15092
|
-
if (
|
|
15092
|
+
if (zt(o))
|
|
15093
15093
|
return o.deleteIn(i);
|
|
15094
15094
|
throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`);
|
|
15095
15095
|
}
|
|
@@ -15100,11 +15100,11 @@ class Pf extends Yl {
|
|
|
15100
15100
|
*/
|
|
15101
15101
|
getIn(t, n) {
|
|
15102
15102
|
const [i, ...o] = t, r = this.get(i, !0);
|
|
15103
|
-
return o.length === 0 ? !n && At(r) ? r.value : r :
|
|
15103
|
+
return o.length === 0 ? !n && At(r) ? r.value : r : zt(r) ? r.getIn(o, n) : void 0;
|
|
15104
15104
|
}
|
|
15105
15105
|
hasAllNullValues(t) {
|
|
15106
15106
|
return this.items.every((n) => {
|
|
15107
|
-
if (!
|
|
15107
|
+
if (!Bt(n))
|
|
15108
15108
|
return !1;
|
|
15109
15109
|
const i = n.value;
|
|
15110
15110
|
return i == null || t && At(i) && i.value == null && !i.commentBefore && !i.comment && !i.tag;
|
|
@@ -15118,7 +15118,7 @@ class Pf extends Yl {
|
|
|
15118
15118
|
if (i.length === 0)
|
|
15119
15119
|
return this.has(n);
|
|
15120
15120
|
const o = this.get(n, !0);
|
|
15121
|
-
return
|
|
15121
|
+
return zt(o) ? o.hasIn(i) : !1;
|
|
15122
15122
|
}
|
|
15123
15123
|
/**
|
|
15124
15124
|
* Sets a value in this collection. For `!!set`, `value` needs to be a
|
|
@@ -15130,7 +15130,7 @@ class Pf extends Yl {
|
|
|
15130
15130
|
this.set(i, n);
|
|
15131
15131
|
else {
|
|
15132
15132
|
const r = this.get(i, !0);
|
|
15133
|
-
if (
|
|
15133
|
+
if (zt(r))
|
|
15134
15134
|
r.setIn(o, n);
|
|
15135
15135
|
else if (r === void 0 && this.schema)
|
|
15136
15136
|
this.set(i, Cr(this.schema, o, n));
|
|
@@ -15516,14 +15516,14 @@ function FS(e, t) {
|
|
|
15516
15516
|
function KS(e, t, { anchors: n, doc: i }) {
|
|
15517
15517
|
if (!i.directives)
|
|
15518
15518
|
return "";
|
|
15519
|
-
const o = [], r = (At(e) ||
|
|
15519
|
+
const o = [], r = (At(e) || zt(e)) && e.anchor;
|
|
15520
15520
|
r && If(r) && (n.add(r), o.push(`&${r}`));
|
|
15521
15521
|
const a = e.tag ?? (t.default ? null : t.tag);
|
|
15522
15522
|
return a && o.push(i.directives.tagString(a)), o.join(" ");
|
|
15523
15523
|
}
|
|
15524
15524
|
function Eo(e, t, n, i) {
|
|
15525
15525
|
var o;
|
|
15526
|
-
if (
|
|
15526
|
+
if (Bt(e))
|
|
15527
15527
|
return e.toString(t, n, i);
|
|
15528
15528
|
if (Lo(e)) {
|
|
15529
15529
|
if (t.doc.directives)
|
|
@@ -15547,12 +15547,12 @@ function jS({ key: e, value: t }, n, i, o) {
|
|
|
15547
15547
|
if (c) {
|
|
15548
15548
|
if (p)
|
|
15549
15549
|
throw new Error("With simple keys, key nodes cannot have comments");
|
|
15550
|
-
if (
|
|
15550
|
+
if (zt(e) || !Tt(e) && typeof e == "object") {
|
|
15551
15551
|
const T = "With simple keys, collection cannot be used as a key value";
|
|
15552
15552
|
throw new Error(T);
|
|
15553
15553
|
}
|
|
15554
15554
|
}
|
|
15555
|
-
let m = !c && (!e || p && t == null && !n.inFlow ||
|
|
15555
|
+
let m = !c && (!e || p && t == null && !n.inFlow || zt(e) || (At(e) ? e.type === at.BLOCK_FOLDED || e.type === at.BLOCK_LITERAL : typeof e == "object"));
|
|
15556
15556
|
n = Object.assign({}, n, {
|
|
15557
15557
|
allNullValues: !1,
|
|
15558
15558
|
implicitKey: !m && (c || !r),
|
|
@@ -15588,7 +15588,7 @@ ${di(T, n.indent)}`;
|
|
|
15588
15588
|
|
|
15589
15589
|
`) : w += `
|
|
15590
15590
|
${n.indent}`;
|
|
15591
|
-
} else if (!m &&
|
|
15591
|
+
} else if (!m && zt(t)) {
|
|
15592
15592
|
const T = k[0], O = k.indexOf(`
|
|
15593
15593
|
`), q = O !== -1, A = n.inFlow ?? t.flow ?? t.items.length === 0;
|
|
15594
15594
|
if (q || !A) {
|
|
@@ -15720,7 +15720,7 @@ function US({ comment: e, items: t }, n, { blockItemPrefix: i, flowChars: o, ite
|
|
|
15720
15720
|
let _ = null;
|
|
15721
15721
|
if (Tt(y))
|
|
15722
15722
|
!c && y.spaceBefore && p.push(""), Er(n, p, y.commentBefore, c), y.comment && (_ = y.comment);
|
|
15723
|
-
else if (
|
|
15723
|
+
else if (Bt(y)) {
|
|
15724
15724
|
const b = Tt(y.key) ? y.key : null;
|
|
15725
15725
|
b && (!c && b.spaceBefore && p.push(""), Er(n, p, b.commentBefore, c));
|
|
15726
15726
|
}
|
|
@@ -15758,7 +15758,7 @@ function VS({ items: e }, t, { flowChars: n, itemIndent: i }) {
|
|
|
15758
15758
|
let _ = null;
|
|
15759
15759
|
if (Tt(y))
|
|
15760
15760
|
y.spaceBefore && c.push(""), Er(t, c, y.commentBefore, !1), y.comment && (_ = y.comment);
|
|
15761
|
-
else if (
|
|
15761
|
+
else if (Bt(y)) {
|
|
15762
15762
|
const b = Tt(y.key) ? y.key : null;
|
|
15763
15763
|
b && (b.spaceBefore && c.push(""), Er(t, c, b.commentBefore, !1), b.comment && (d = !0));
|
|
15764
15764
|
const x = Tt(y.value) ? y.value : null;
|
|
@@ -15796,7 +15796,7 @@ function Er({ indent: e, options: { commentString: t } }, n, i, o) {
|
|
|
15796
15796
|
function ji(e, t) {
|
|
15797
15797
|
const n = At(t) ? t.value : t;
|
|
15798
15798
|
for (const i of e)
|
|
15799
|
-
if (
|
|
15799
|
+
if (Bt(i) && (i.key === t || i.key === n || At(i.key) && i.key.value === n))
|
|
15800
15800
|
return i;
|
|
15801
15801
|
}
|
|
15802
15802
|
class $n extends Pf {
|
|
@@ -15835,7 +15835,7 @@ class $n extends Pf {
|
|
|
15835
15835
|
add(t, n) {
|
|
15836
15836
|
var i;
|
|
15837
15837
|
let o;
|
|
15838
|
-
|
|
15838
|
+
Bt(t) ? o = t : !t || typeof t != "object" || !("key" in t) ? o = new un(t, t == null ? void 0 : t.value) : o = new un(t.key, t.value);
|
|
15839
15839
|
const r = ji(this.items, o.key), a = (i = this.schema) == null ? void 0 : i.sortMapEntries;
|
|
15840
15840
|
if (r) {
|
|
15841
15841
|
if (!n)
|
|
@@ -15877,7 +15877,7 @@ class $n extends Pf {
|
|
|
15877
15877
|
if (!t)
|
|
15878
15878
|
return JSON.stringify(this);
|
|
15879
15879
|
for (const o of this.items)
|
|
15880
|
-
if (!
|
|
15880
|
+
if (!Bt(o))
|
|
15881
15881
|
throw new Error(`Map items must all be pairs; found ${JSON.stringify(o)} instead`);
|
|
15882
15882
|
return !t.allNullValues && this.hasAllNullValues(!1) && (t = Object.assign({}, t, { allNullValues: !0 })), Kf(this, t, {
|
|
15883
15883
|
blockItemPrefix: "",
|
|
@@ -16211,7 +16211,7 @@ function Gf(e, t) {
|
|
|
16211
16211
|
if (Ko(e))
|
|
16212
16212
|
for (let n = 0; n < e.items.length; ++n) {
|
|
16213
16213
|
let i = e.items[n];
|
|
16214
|
-
if (!
|
|
16214
|
+
if (!Bt(i)) {
|
|
16215
16215
|
if (Fo(i)) {
|
|
16216
16216
|
i.items.length > 1 && t("Each pair must have its own sequence indicator");
|
|
16217
16217
|
const o = i.items[0] || new un(new at(null));
|
|
@@ -16223,7 +16223,7 @@ ${r.comment}` : i.comment;
|
|
|
16223
16223
|
}
|
|
16224
16224
|
i = o;
|
|
16225
16225
|
}
|
|
16226
|
-
e.items[n] =
|
|
16226
|
+
e.items[n] = Bt(i) ? i : new un(i);
|
|
16227
16227
|
}
|
|
16228
16228
|
}
|
|
16229
16229
|
else
|
|
@@ -16277,7 +16277,7 @@ class vo extends zi {
|
|
|
16277
16277
|
n != null && n.onCreate && n.onCreate(i);
|
|
16278
16278
|
for (const o of this.items) {
|
|
16279
16279
|
let r, a;
|
|
16280
|
-
if (
|
|
16280
|
+
if (Bt(o) ? (r = Nn(o.key, "", n), a = Nn(o.value, r, n)) : r = Nn(o, "", n), i.has(r))
|
|
16281
16281
|
throw new Error("Ordered maps must not include duplicate keys");
|
|
16282
16282
|
i.set(r, a);
|
|
16283
16283
|
}
|
|
@@ -16419,7 +16419,7 @@ class _o extends $n {
|
|
|
16419
16419
|
}
|
|
16420
16420
|
add(t) {
|
|
16421
16421
|
let n;
|
|
16422
|
-
|
|
16422
|
+
Bt(t) ? n = t : t && typeof t == "object" && "key" in t && "value" in t && t.value === null ? n = new un(t.key, null) : n = new un(t, null), ji(this.items, n.key) || this.items.push(n);
|
|
16423
16423
|
}
|
|
16424
16424
|
/**
|
|
16425
16425
|
* If `keepPair` is `true`, returns the Pair matching `key`.
|
|
@@ -16427,7 +16427,7 @@ class _o extends $n {
|
|
|
16427
16427
|
*/
|
|
16428
16428
|
get(t, n) {
|
|
16429
16429
|
const i = ji(this.items, t);
|
|
16430
|
-
return !n &&
|
|
16430
|
+
return !n && Bt(i) ? At(i.key) ? i.key.value : i.key : i;
|
|
16431
16431
|
}
|
|
16432
16432
|
set(t, n) {
|
|
16433
16433
|
if (typeof n != "boolean")
|
|
@@ -16734,7 +16734,7 @@ class ns {
|
|
|
16734
16734
|
schema: this.schema,
|
|
16735
16735
|
sourceObjects: m
|
|
16736
16736
|
}, y = ba(t, f, h);
|
|
16737
|
-
return l &&
|
|
16737
|
+
return l && zt(y) && (y.flow = !0), p(), y;
|
|
16738
16738
|
}
|
|
16739
16739
|
/**
|
|
16740
16740
|
* Convert a key and a value into a `Pair` using the current schema,
|
|
@@ -16764,7 +16764,7 @@ class ns {
|
|
|
16764
16764
|
* `true` (collections are always returned intact).
|
|
16765
16765
|
*/
|
|
16766
16766
|
get(t, n) {
|
|
16767
|
-
return
|
|
16767
|
+
return zt(this.contents) ? this.contents.get(t, n) : void 0;
|
|
16768
16768
|
}
|
|
16769
16769
|
/**
|
|
16770
16770
|
* Returns item at `path`, or `undefined` if not found. By default unwraps
|
|
@@ -16772,19 +16772,19 @@ class ns {
|
|
|
16772
16772
|
* `true` (collections are always returned intact).
|
|
16773
16773
|
*/
|
|
16774
16774
|
getIn(t, n) {
|
|
16775
|
-
return Qo(t) ? !n && At(this.contents) ? this.contents.value : this.contents :
|
|
16775
|
+
return Qo(t) ? !n && At(this.contents) ? this.contents.value : this.contents : zt(this.contents) ? this.contents.getIn(t, n) : void 0;
|
|
16776
16776
|
}
|
|
16777
16777
|
/**
|
|
16778
16778
|
* Checks if the document includes a value with the key `key`.
|
|
16779
16779
|
*/
|
|
16780
16780
|
has(t) {
|
|
16781
|
-
return
|
|
16781
|
+
return zt(this.contents) ? this.contents.has(t) : !1;
|
|
16782
16782
|
}
|
|
16783
16783
|
/**
|
|
16784
16784
|
* Checks if the document includes a value at `path`.
|
|
16785
16785
|
*/
|
|
16786
16786
|
hasIn(t) {
|
|
16787
|
-
return Qo(t) ? this.contents !== void 0 :
|
|
16787
|
+
return Qo(t) ? this.contents !== void 0 : zt(this.contents) ? this.contents.hasIn(t) : !1;
|
|
16788
16788
|
}
|
|
16789
16789
|
/**
|
|
16790
16790
|
* Sets a value in this document. For `!!set`, `value` needs to be a
|
|
@@ -16869,7 +16869,7 @@ class ns {
|
|
|
16869
16869
|
}
|
|
16870
16870
|
}
|
|
16871
16871
|
function io(e) {
|
|
16872
|
-
if (
|
|
16872
|
+
if (zt(e))
|
|
16873
16873
|
return !0;
|
|
16874
16874
|
throw new Error("Expected a YAML collection as document contents");
|
|
16875
16875
|
}
|
|
@@ -17161,7 +17161,7 @@ function lA({ composeNode: e, composeEmptyNode: t }, n, i, o, r) {
|
|
|
17161
17161
|
}
|
|
17162
17162
|
if (O) {
|
|
17163
17163
|
let q = f.items[f.items.length - 1];
|
|
17164
|
-
|
|
17164
|
+
Bt(q) && (q = q.value ?? q.key), q.comment ? q.comment += `
|
|
17165
17165
|
` + O : q.comment = O, T.comment = T.comment.substring(O.length + 1);
|
|
17166
17166
|
}
|
|
17167
17167
|
}
|
|
@@ -17722,9 +17722,9 @@ class SA {
|
|
|
17722
17722
|
${i}` : i;
|
|
17723
17723
|
else if (o || t.directives.docStart || !r)
|
|
17724
17724
|
t.commentBefore = i;
|
|
17725
|
-
else if (
|
|
17725
|
+
else if (zt(r) && !r.flow && r.items.length > 0) {
|
|
17726
17726
|
let a = r.items[0];
|
|
17727
|
-
|
|
17727
|
+
Bt(a) && (a = a.key);
|
|
17728
17728
|
const l = a.commentBefore;
|
|
17729
17729
|
a.commentBefore = l ? `${i}
|
|
17730
17730
|
${l}` : i;
|
|
@@ -19056,7 +19056,7 @@ function FA(e, t) {
|
|
|
19056
19056
|
if (Ko(o))
|
|
19057
19057
|
for (let a = o.items.length - 1; a >= 0; a--) {
|
|
19058
19058
|
const l = o.items[a], s = [...r, a];
|
|
19059
|
-
if (
|
|
19059
|
+
if (Bt(l)) {
|
|
19060
19060
|
Tt(l.value) && n.push({
|
|
19061
19061
|
node: l.value,
|
|
19062
19062
|
keyPath: Kc(s, l.key)
|
|
@@ -19143,15 +19143,15 @@ let qA = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", BA
|
|
|
19143
19143
|
t += qA[n[e] & 63];
|
|
19144
19144
|
return t;
|
|
19145
19145
|
};
|
|
19146
|
-
const UA = "/v2/control-planes/{controlPlaneId}/core-entities/v1", wn = "/v2/control-planes/{controlPlaneId}/core-entities/{workspace}", Qn = "/v2/control-planes/{controlPlaneId}/core-entities",
|
|
19146
|
+
const UA = "/v2/control-planes/{controlPlaneId}/core-entities/v1", wn = "/v2/control-planes/{controlPlaneId}/core-entities/{workspace}", Qn = "/v2/control-planes/{controlPlaneId}/core-entities", Vt = "/{workspace}", ot = {
|
|
19147
19147
|
list: {
|
|
19148
19148
|
konnect: {
|
|
19149
19149
|
all: `${wn}/plugins`,
|
|
19150
19150
|
forEntity: `${wn}/{entityType}/{entityId}/plugins`
|
|
19151
19151
|
},
|
|
19152
19152
|
kongManager: {
|
|
19153
|
-
all: `${
|
|
19154
|
-
forEntity: `${
|
|
19153
|
+
all: `${Vt}/plugins`,
|
|
19154
|
+
forEntity: `${Vt}/{entityType}/{entityId}/plugins`
|
|
19155
19155
|
}
|
|
19156
19156
|
},
|
|
19157
19157
|
select: {
|
|
@@ -19163,10 +19163,10 @@ const UA = "/v2/control-planes/{controlPlaneId}/core-entities/v1", wn = "/v2/con
|
|
|
19163
19163
|
streamingCustomPluginItem: `${Qn}/custom-plugins/{pluginId}`
|
|
19164
19164
|
},
|
|
19165
19165
|
kongManager: {
|
|
19166
|
-
availablePlugins: `${
|
|
19166
|
+
availablePlugins: `${Vt}/kong`,
|
|
19167
19167
|
availablePluginsForOss: "/",
|
|
19168
|
-
streamingCustomPlugins: `${
|
|
19169
|
-
clonedPlugins: `${
|
|
19168
|
+
streamingCustomPlugins: `${Vt}/custom-plugins`,
|
|
19169
|
+
clonedPlugins: `${Vt}/cloned-plugins`
|
|
19170
19170
|
}
|
|
19171
19171
|
},
|
|
19172
19172
|
form: {
|
|
@@ -19192,22 +19192,22 @@ const UA = "/v2/control-planes/{controlPlaneId}/core-entities/v1", wn = "/v2/con
|
|
|
19192
19192
|
},
|
|
19193
19193
|
kongManager: {
|
|
19194
19194
|
create: {
|
|
19195
|
-
all: `${
|
|
19196
|
-
forEntity: `${
|
|
19195
|
+
all: `${Vt}/plugins`,
|
|
19196
|
+
forEntity: `${Vt}/{entityType}/{entityId}/plugins`
|
|
19197
19197
|
},
|
|
19198
19198
|
edit: {
|
|
19199
|
-
all: `${
|
|
19200
|
-
forEntity: `${
|
|
19199
|
+
all: `${Vt}/plugins/{id}`,
|
|
19200
|
+
forEntity: `${Vt}/{entityType}/{entityId}/plugins/{id}`
|
|
19201
19201
|
},
|
|
19202
|
-
pluginSchema: `${
|
|
19202
|
+
pluginSchema: `${Vt}/schemas/plugins/{plugin}`,
|
|
19203
19203
|
credential: {
|
|
19204
|
-
create: `${
|
|
19205
|
-
edit: `${
|
|
19204
|
+
create: `${Vt}/{resourceEndpoint}`,
|
|
19205
|
+
edit: `${Vt}/{resourceEndpoint}/{id}`
|
|
19206
19206
|
},
|
|
19207
|
-
credentialSchema: `${
|
|
19207
|
+
credentialSchema: `${Vt}/schemas/{plugin}`,
|
|
19208
19208
|
// VFG endpoints
|
|
19209
|
-
entityGetOne: `${
|
|
19210
|
-
entityGetAll: `${
|
|
19209
|
+
entityGetOne: `${Vt}/{entity}/{id}`,
|
|
19210
|
+
entityGetAll: `${Vt}/{entity}`
|
|
19211
19211
|
}
|
|
19212
19212
|
},
|
|
19213
19213
|
customPlugin: {
|
|
@@ -19227,12 +19227,12 @@ const UA = "/v2/control-planes/{controlPlaneId}/core-entities/v1", wn = "/v2/con
|
|
|
19227
19227
|
},
|
|
19228
19228
|
kongManager: {
|
|
19229
19229
|
streamed: {
|
|
19230
|
-
create: `${
|
|
19231
|
-
edit: `${
|
|
19230
|
+
create: `${Vt}/custom-plugins`,
|
|
19231
|
+
edit: `${Vt}/custom-plugins/{pluginId}`
|
|
19232
19232
|
},
|
|
19233
19233
|
cloned: {
|
|
19234
|
-
create: `${
|
|
19235
|
-
edit: `${
|
|
19234
|
+
create: `${Vt}/cloned-plugins`,
|
|
19235
|
+
edit: `${Vt}/cloned-plugins/{pluginId}`
|
|
19236
19236
|
}
|
|
19237
19237
|
}
|
|
19238
19238
|
},
|
|
@@ -19242,8 +19242,8 @@ const UA = "/v2/control-planes/{controlPlaneId}/core-entities/v1", wn = "/v2/con
|
|
|
19242
19242
|
forEntity: `${wn}/{entityType}/{entityId}/plugins/{id}`
|
|
19243
19243
|
},
|
|
19244
19244
|
kongManager: {
|
|
19245
|
-
all: `${
|
|
19246
|
-
forEntity: `${
|
|
19245
|
+
all: `${Vt}/plugins/{id}`,
|
|
19246
|
+
forEntity: `${Vt}/{entityType}/{entityId}/plugins/{id}`
|
|
19247
19247
|
}
|
|
19248
19248
|
}
|
|
19249
19249
|
}, ws = /* @__PURE__ */ new WeakMap(), VA = ["service", "route", "consumer", "consumer_group", "certificate"], jc = Object.fromEntries(VA.map((e) => [`${e}s`, e]));
|
|
@@ -19559,7 +19559,7 @@ const JA = {
|
|
|
19559
19559
|
}, null, 8, ["modelValue"])
|
|
19560
19560
|
]));
|
|
19561
19561
|
}
|
|
19562
|
-
}), QA = /* @__PURE__ */
|
|
19562
|
+
}), QA = /* @__PURE__ */ ze(ZA, [["__scopeId", "data-v-a076c960"]]), ka = {
|
|
19563
19563
|
jqlang: "https://jqlang.org/manual/",
|
|
19564
19564
|
/**
|
|
19565
19565
|
* Plugin conditional execution.
|
|
@@ -19634,7 +19634,7 @@ const JA = {
|
|
|
19634
19634
|
]);
|
|
19635
19635
|
};
|
|
19636
19636
|
}
|
|
19637
|
-
}), nI = /* @__PURE__ */
|
|
19637
|
+
}), nI = /* @__PURE__ */ ze(tI, [["__scopeId", "data-v-ebaf84a5"]]), rn = /* @__PURE__ */ Pe({
|
|
19638
19638
|
name: "SchemaForm",
|
|
19639
19639
|
__name: "Form",
|
|
19640
19640
|
props: {
|
|
@@ -19667,7 +19667,7 @@ const JA = {
|
|
|
19667
19667
|
default: N(() => [
|
|
19668
19668
|
(S(), Z(jt(u(o)[u(Po)]))),
|
|
19669
19669
|
Qe(c.$slots, "default", {}, () => [
|
|
19670
|
-
(S(!0), le(
|
|
19670
|
+
(S(!0), le(Ge, null, et(f.value, (m) => (S(), Z(st, {
|
|
19671
19671
|
key: Object.keys(m)[0],
|
|
19672
19672
|
name: Object.keys(m)[0],
|
|
19673
19673
|
onGlobalAction: p[0] || (p[0] = (h, y) => i("globalAction", h, y))
|
|
@@ -19739,7 +19739,7 @@ const JA = {
|
|
|
19739
19739
|
return (c, p) => {
|
|
19740
19740
|
const m = xe("KCopy");
|
|
19741
19741
|
return S(), le("div", oI, [
|
|
19742
|
-
(S(!0), le(
|
|
19742
|
+
(S(!0), le(Ge, null, et(f.value, ({ key: h, label: y, value: _, type: v }) => (S(), le("div", {
|
|
19743
19743
|
key: h,
|
|
19744
19744
|
class: "partial-config-card-row"
|
|
19745
19745
|
}, [
|
|
@@ -19772,7 +19772,7 @@ const JA = {
|
|
|
19772
19772
|
]);
|
|
19773
19773
|
};
|
|
19774
19774
|
}
|
|
19775
|
-
}), fI = /* @__PURE__ */
|
|
19775
|
+
}), fI = /* @__PURE__ */ ze(pI, [["__scopeId", "data-v-82dcdf99"]]), mI = {
|
|
19776
19776
|
class: "redis-config-radio-group",
|
|
19777
19777
|
"data-testid": "redis-config-radio-group"
|
|
19778
19778
|
}, gI = { class: "shared-redis-config" }, hI = { class: "shared-redis-config-title" }, yI = {
|
|
@@ -19971,7 +19971,7 @@ const JA = {
|
|
|
19971
19971
|
]);
|
|
19972
19972
|
};
|
|
19973
19973
|
}
|
|
19974
|
-
}), cu = /* @__PURE__ */
|
|
19974
|
+
}), cu = /* @__PURE__ */ ze(_I, [["__scopeId", "data-v-ad3044d7"]]), bI = /* @__PURE__ */ Pe({
|
|
19975
19975
|
inheritAttrs: !1,
|
|
19976
19976
|
__name: "PluginConfigurationForm",
|
|
19977
19977
|
props: {
|
|
@@ -20028,7 +20028,7 @@ const JA = {
|
|
|
20028
20028
|
onChange: h
|
|
20029
20029
|
}), vt({
|
|
20030
20030
|
[u(Po)]: N(() => [
|
|
20031
|
-
(S(!0), le(
|
|
20031
|
+
(S(!0), le(Ge, null, et(d.value, (v, b) => (S(), Z(Dt, {
|
|
20032
20032
|
key: `${e.pluginName}-${b}`,
|
|
20033
20033
|
match: u(UE)(v.match)
|
|
20034
20034
|
}, {
|
|
@@ -20289,7 +20289,7 @@ const JA = {
|
|
|
20289
20289
|
}), z;
|
|
20290
20290
|
}
|
|
20291
20291
|
const W = me(!0);
|
|
20292
|
-
return (z, H) => (S(), le(
|
|
20292
|
+
return (z, H) => (S(), le(Ge, null, [
|
|
20293
20293
|
d.value ? (S(), Z(Or, {
|
|
20294
20294
|
key: 0,
|
|
20295
20295
|
to: "#plugin-form-page-actions"
|
|
@@ -20364,7 +20364,7 @@ const JA = {
|
|
|
20364
20364
|
_: 1
|
|
20365
20365
|
}, 16)),
|
|
20366
20366
|
b.value ? Qt((S(), le("div", kI, [
|
|
20367
|
-
(S(!0), le(
|
|
20367
|
+
(S(!0), le(Ge, null, et(x.value, (D) => (S(), Z(lS, {
|
|
20368
20368
|
key: D.name,
|
|
20369
20369
|
developer: e.developer,
|
|
20370
20370
|
disabled: D.disabled,
|
|
@@ -20406,7 +20406,7 @@ const JA = {
|
|
|
20406
20406
|
key: "2"
|
|
20407
20407
|
} : void 0
|
|
20408
20408
|
]), 1032, ["description", "title"])) : ye("", !0),
|
|
20409
|
-
s.value === "form" && ((U = e.configSections) != null && U.length) ? (S(!0), le(
|
|
20409
|
+
s.value === "form" && ((U = e.configSections) != null && U.length) ? (S(!0), le(Ge, { key: 1 }, et(e.configSections, ($, D) => (S(), Z(u(Bn), {
|
|
20410
20410
|
key: $.name,
|
|
20411
20411
|
"data-testid": `form-section-${$.name}`,
|
|
20412
20412
|
description: $.description,
|
|
@@ -20515,8 +20515,8 @@ const JA = {
|
|
|
20515
20515
|
}, 16, ["field-renderers", "form-config", "is-konnect-managed-redis-enabled", "model", "on-form-change", "plugin-name", "render-rules", "schema"])
|
|
20516
20516
|
], 64));
|
|
20517
20517
|
}
|
|
20518
|
-
}), EI = /* @__PURE__ */
|
|
20519
|
-
function
|
|
20518
|
+
}), EI = /* @__PURE__ */ ze(CI, [["__scopeId", "data-v-e2f4cda4"]]), fm = Symbol.for("kong-ui-public.entities-plugins.free-form-plugin-layout");
|
|
20519
|
+
function xK(e) {
|
|
20520
20520
|
Ft(fm, e);
|
|
20521
20521
|
}
|
|
20522
20522
|
const li = /* @__PURE__ */ Pe({
|
|
@@ -20589,13 +20589,13 @@ const li = /* @__PURE__ */ Pe({
|
|
|
20589
20589
|
}, 16));
|
|
20590
20590
|
}
|
|
20591
20591
|
});
|
|
20592
|
-
function
|
|
20592
|
+
function Ue(e = {}) {
|
|
20593
20593
|
return {
|
|
20594
20594
|
...e,
|
|
20595
20595
|
component: e.component ?? mm
|
|
20596
20596
|
};
|
|
20597
20597
|
}
|
|
20598
|
-
const xI =
|
|
20598
|
+
const xI = Ue({
|
|
20599
20599
|
experimental: !0
|
|
20600
20600
|
}), SI = { class: "ff-acl-mode" }, AI = /* @__PURE__ */ Pe({
|
|
20601
20601
|
__name: "ACLModeCard",
|
|
@@ -20644,7 +20644,7 @@ const xI = Ge({
|
|
|
20644
20644
|
_: 1
|
|
20645
20645
|
}));
|
|
20646
20646
|
}
|
|
20647
|
-
}), II = /* @__PURE__ */
|
|
20647
|
+
}), II = /* @__PURE__ */ ze(AI, [["__scopeId", "data-v-fd5c7165"]]), TI = /* @__PURE__ */ Pe({
|
|
20648
20648
|
__name: "ACLForm",
|
|
20649
20649
|
props: {
|
|
20650
20650
|
schema: {},
|
|
@@ -20680,10 +20680,10 @@ const xI = Ge({
|
|
|
20680
20680
|
_: 1
|
|
20681
20681
|
}, 16));
|
|
20682
20682
|
}
|
|
20683
|
-
}), $I =
|
|
20683
|
+
}), $I = Ue({
|
|
20684
20684
|
experimental: !0,
|
|
20685
20685
|
component: TI
|
|
20686
|
-
}), OI =
|
|
20686
|
+
}), OI = Ue({
|
|
20687
20687
|
fieldRenderers: [
|
|
20688
20688
|
{
|
|
20689
20689
|
match: "config.functions",
|
|
@@ -20771,13 +20771,13 @@ const xI = Ge({
|
|
|
20771
20771
|
_: 1
|
|
20772
20772
|
}, 16));
|
|
20773
20773
|
}
|
|
20774
|
-
}), NI =
|
|
20774
|
+
}), NI = Ue({
|
|
20775
20775
|
component: PI
|
|
20776
|
-
}), RI =
|
|
20776
|
+
}), RI = Ue({
|
|
20777
20777
|
experimental: !0
|
|
20778
|
-
}), MI =
|
|
20778
|
+
}), MI = Ue({
|
|
20779
20779
|
experimental: !0
|
|
20780
|
-
}), LI =
|
|
20780
|
+
}), LI = Ue({
|
|
20781
20781
|
experimental: !0,
|
|
20782
20782
|
fieldRenderers: [
|
|
20783
20783
|
{
|
|
@@ -20797,7 +20797,7 @@ const xI = Ge({
|
|
|
20797
20797
|
}
|
|
20798
20798
|
}
|
|
20799
20799
|
]
|
|
20800
|
-
}), FI =
|
|
20800
|
+
}), FI = Ue({
|
|
20801
20801
|
experimental: !0,
|
|
20802
20802
|
fieldRenderers: [
|
|
20803
20803
|
{
|
|
@@ -20838,9 +20838,9 @@ const xI = Ge({
|
|
|
20838
20838
|
}
|
|
20839
20839
|
}
|
|
20840
20840
|
]
|
|
20841
|
-
}), KI =
|
|
20841
|
+
}), KI = Ue({
|
|
20842
20842
|
experimental: !0
|
|
20843
|
-
}), jI =
|
|
20843
|
+
}), jI = Ue({
|
|
20844
20844
|
experimental: !0,
|
|
20845
20845
|
renderRules: {
|
|
20846
20846
|
bundles: [
|
|
@@ -20850,7 +20850,7 @@ const xI = Ge({
|
|
|
20850
20850
|
"config.redis": ["config.strategy", "redis"]
|
|
20851
20851
|
}
|
|
20852
20852
|
}
|
|
20853
|
-
}), DI =
|
|
20853
|
+
}), DI = Ue({
|
|
20854
20854
|
experimental: !0,
|
|
20855
20855
|
fieldRenderers: [
|
|
20856
20856
|
{
|
|
@@ -20862,7 +20862,7 @@ const xI = Ge({
|
|
|
20862
20862
|
}
|
|
20863
20863
|
}
|
|
20864
20864
|
]
|
|
20865
|
-
}), qI =
|
|
20865
|
+
}), qI = Ue({
|
|
20866
20866
|
experimental: !0,
|
|
20867
20867
|
fieldRenderers: [
|
|
20868
20868
|
{
|
|
@@ -20910,17 +20910,17 @@ const xI = Ge({
|
|
|
20910
20910
|
"config.vectordb.redis.cloud_authentication.azure_client_secret": ["config.vectordb.redis.cloud_authentication.auth_provider", "azure"],
|
|
20911
20911
|
"config.vectordb.redis.cloud_authentication.azure_tenant_id": ["config.vectordb.redis.cloud_authentication.auth_provider", "azure"]
|
|
20912
20912
|
}
|
|
20913
|
-
}, BI =
|
|
20913
|
+
}, BI = Ue({
|
|
20914
20914
|
experimental: !0,
|
|
20915
20915
|
fieldRenderers: gm,
|
|
20916
20916
|
renderRules: hm
|
|
20917
|
-
}), UI =
|
|
20917
|
+
}), UI = Ue({
|
|
20918
20918
|
experimental: !0,
|
|
20919
20919
|
fieldRenderers: gm,
|
|
20920
20920
|
renderRules: hm
|
|
20921
|
-
}), VI =
|
|
20921
|
+
}), VI = Ue({
|
|
20922
20922
|
experimental: !0
|
|
20923
|
-
}), zI =
|
|
20923
|
+
}), zI = Ue({
|
|
20924
20924
|
experimental: !0
|
|
20925
20925
|
}), GI = {
|
|
20926
20926
|
class: "kong-identity-field",
|
|
@@ -20978,7 +20978,7 @@ const xI = Ge({
|
|
|
20978
20978
|
e.loadingRealms ? (S(), Z(u(Ug), {
|
|
20979
20979
|
key: 0,
|
|
20980
20980
|
class: "kong-identity-options-skeleton"
|
|
20981
|
-
})) : (S(), le(
|
|
20981
|
+
})) : (S(), le(Ge, { key: 1 }, [
|
|
20982
20982
|
C(u(ii), {
|
|
20983
20983
|
card: "",
|
|
20984
20984
|
"card-orientation": "horizontal",
|
|
@@ -21035,7 +21035,7 @@ const xI = Ge({
|
|
|
21035
21035
|
])
|
|
21036
21036
|
]));
|
|
21037
21037
|
}
|
|
21038
|
-
}), XI = /* @__PURE__ */
|
|
21038
|
+
}), XI = /* @__PURE__ */ ze(JI, [["__scopeId", "data-v-75509002"]]), ym = Symbol("fetched-realms"), ZI = { "data-testid": "ff-identity-realms-field" }, QI = ["innerHTML"], vm = /* @__PURE__ */ Pe({
|
|
21039
21039
|
__name: "IdentityRealmsField",
|
|
21040
21040
|
props: {
|
|
21041
21041
|
name: {},
|
|
@@ -21098,7 +21098,7 @@ const xI = Ge({
|
|
|
21098
21098
|
};
|
|
21099
21099
|
return (l, s) => {
|
|
21100
21100
|
const d = xe("KSkeleton");
|
|
21101
|
-
return S(), le(
|
|
21101
|
+
return S(), le(Ge, null, [
|
|
21102
21102
|
e.loading ? (S(), Z(d, {
|
|
21103
21103
|
key: 0,
|
|
21104
21104
|
class: "kong-identity-principals-skeleton",
|
|
@@ -21157,7 +21157,7 @@ const xI = Ge({
|
|
|
21157
21157
|
], 64);
|
|
21158
21158
|
};
|
|
21159
21159
|
}
|
|
21160
|
-
}), tT = /* @__PURE__ */
|
|
21160
|
+
}), tT = /* @__PURE__ */ ze(eT, [["__scopeId", "data-v-d86101ef"]]), _m = Symbol("before-save"), nT = {
|
|
21161
21161
|
key: 0,
|
|
21162
21162
|
class: "identity-realms-error",
|
|
21163
21163
|
"data-testid": "identity-realms-validation-error"
|
|
@@ -21268,7 +21268,7 @@ const xI = Ge({
|
|
|
21268
21268
|
const H = p("$.config"), U = ((D = H == null ? void 0 : H.fields) == null ? void 0 : D.map((re) => Object.keys(re)[0])) ?? [], $ = /* @__PURE__ */ new Set(["anonymous"]);
|
|
21269
21269
|
return !M.value && P.value !== "kong-identity" && $.add("realm"), d.value && w.value && !O.value && $.add("identity_realms"), U.filter((re) => !$.has(re));
|
|
21270
21270
|
});
|
|
21271
|
-
return (H, U) => (S(), le(
|
|
21271
|
+
return (H, U) => (S(), le(Ge, null, [
|
|
21272
21272
|
C(Gt, {
|
|
21273
21273
|
"as-child": "",
|
|
21274
21274
|
class: "ff-default-visible-fields",
|
|
@@ -21346,7 +21346,7 @@ const xI = Ge({
|
|
|
21346
21346
|
})
|
|
21347
21347
|
], 64));
|
|
21348
21348
|
}
|
|
21349
|
-
}), aT = /* @__PURE__ */
|
|
21349
|
+
}), aT = /* @__PURE__ */ ze(oT, [["__scopeId", "data-v-7dc8344d"]]), bm = /* @__PURE__ */ Pe({
|
|
21350
21350
|
__name: "ConfigFormWithIdentity",
|
|
21351
21351
|
props: {
|
|
21352
21352
|
schema: {},
|
|
@@ -21380,7 +21380,7 @@ const xI = Ge({
|
|
|
21380
21380
|
_: 1
|
|
21381
21381
|
}, 16));
|
|
21382
21382
|
}
|
|
21383
|
-
}), rT =
|
|
21383
|
+
}), rT = Ue({
|
|
21384
21384
|
experimental: !0,
|
|
21385
21385
|
component: bm,
|
|
21386
21386
|
renderRules: {
|
|
@@ -21397,11 +21397,11 @@ const xI = Ge({
|
|
|
21397
21397
|
}
|
|
21398
21398
|
}
|
|
21399
21399
|
]
|
|
21400
|
-
}), sT =
|
|
21400
|
+
}), sT = Ue({
|
|
21401
21401
|
experimental: !0
|
|
21402
|
-
}), lT =
|
|
21402
|
+
}), lT = Ue({
|
|
21403
21403
|
experimental: !0
|
|
21404
|
-
}), uT =
|
|
21404
|
+
}), uT = Ue({
|
|
21405
21405
|
experimental: !0,
|
|
21406
21406
|
fieldRenderers: [
|
|
21407
21407
|
{
|
|
@@ -21430,7 +21430,7 @@ const xI = Ge({
|
|
|
21430
21430
|
}
|
|
21431
21431
|
}
|
|
21432
21432
|
]
|
|
21433
|
-
}), cT =
|
|
21433
|
+
}), cT = Ue({
|
|
21434
21434
|
experimental: !0,
|
|
21435
21435
|
fieldRenderers: [
|
|
21436
21436
|
{
|
|
@@ -21442,18 +21442,18 @@ const xI = Ge({
|
|
|
21442
21442
|
}
|
|
21443
21443
|
}
|
|
21444
21444
|
]
|
|
21445
|
-
}), dT =
|
|
21445
|
+
}), dT = Ue({
|
|
21446
21446
|
experimental: !0
|
|
21447
|
-
}), pT =
|
|
21447
|
+
}), pT = Ue({
|
|
21448
21448
|
experimental: !0,
|
|
21449
21449
|
fieldRenderers: [
|
|
21450
21450
|
{
|
|
21451
21451
|
match: ({ path: e }) => e === "config.methods" || e === "config.request_method",
|
|
21452
|
-
component:
|
|
21452
|
+
component: qt,
|
|
21453
21453
|
propsOverrides: { multiple: !0 }
|
|
21454
21454
|
}
|
|
21455
21455
|
]
|
|
21456
|
-
}), fT =
|
|
21456
|
+
}), fT = Ue({
|
|
21457
21457
|
experimental: !0,
|
|
21458
21458
|
fieldRenderers: [
|
|
21459
21459
|
{
|
|
@@ -21906,7 +21906,7 @@ const xT = {
|
|
|
21906
21906
|
default: N(() => [
|
|
21907
21907
|
ee("div", $T, [
|
|
21908
21908
|
Le(ue(u(i)("plugins.free-form.datakit.description_example")) + " ", 1),
|
|
21909
|
-
(S(!0), le(
|
|
21909
|
+
(S(!0), le(Ge, null, et(u(wm), (O) => (S(), Z(u(Vn), {
|
|
21910
21910
|
key: O.id,
|
|
21911
21911
|
appearance: "secondary",
|
|
21912
21912
|
size: "small",
|
|
@@ -21946,7 +21946,7 @@ const xT = {
|
|
|
21946
21946
|
}, 8, ["action-button-text", "title", "visible"])
|
|
21947
21947
|
]));
|
|
21948
21948
|
}
|
|
21949
|
-
}), PT = /* @__PURE__ */
|
|
21949
|
+
}), PT = /* @__PURE__ */ ze(OT, [["__scopeId", "data-v-20217c6a"]]), { t: NT } = Jt("en-us", on), is = Qg(() => {
|
|
21950
21950
|
const e = ir("datakit-editor-mode", "flow"), t = ir(
|
|
21951
21951
|
"datakit-editor-sidebar-expanded",
|
|
21952
21952
|
!0
|
|
@@ -21972,7 +21972,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
21972
21972
|
resizable: { type: Boolean }
|
|
21973
21973
|
},
|
|
21974
21974
|
setup(e) {
|
|
21975
|
-
const { t } = Jt("en-us", on), n = me(!1), i = me(!1), { responsePanelCollapsed: o } = is(), { state: r, configNodeCounts: a, clearPendingLayout: l, setPendingFitView: s, commit: d, clear: f, portalSelection: c } =
|
|
21975
|
+
const { t } = Jt("en-us", on), n = me(!1), i = me(!1), { responsePanelCollapsed: o } = is(), { state: r, configNodeCounts: a, clearPendingLayout: l, setPendingFitView: s, commit: d, clear: f, portalSelection: c } = Ut(), p = Sa(), m = `${p}-request`, h = `${p}-response`, y = bo(m), _ = bo(h);
|
|
21976
21976
|
function v(pe, he) {
|
|
21977
21977
|
const { onPaneClick: Ke, onNodesChange: Be, onEdgesChange: je, getSelectedNodes: He, getSelectedEdges: Ye } = pe, { removeSelectedElements: rt } = he;
|
|
21978
21978
|
function ft(qe) {
|
|
@@ -22062,9 +22062,9 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22062
22062
|
ee("div", MT, [
|
|
22063
22063
|
Le(ue(u(t)("plugins.free-form.datakit.flow_editor.canvas_panel.request")) + " ", 1),
|
|
22064
22064
|
ee("span", LT, [
|
|
22065
|
-
u(a).request === 1 ? (S(), le(
|
|
22065
|
+
u(a).request === 1 ? (S(), le(Ge, { key: 0 }, [
|
|
22066
22066
|
Le(" (" + ue(u(t)("plugins.free-form.datakit.flow_editor.canvas_panel.node_count_singular")) + ") ", 1)
|
|
22067
|
-
], 64)) : (S(), le(
|
|
22067
|
+
], 64)) : (S(), le(Ge, { key: 1 }, [
|
|
22068
22068
|
Le(" (" + ue(u(t)("plugins.free-form.datakit.flow_editor.canvas_panel.node_count_plural", { count: u(a).request })) + ") ", 1)
|
|
22069
22069
|
], 64))
|
|
22070
22070
|
])
|
|
@@ -22104,9 +22104,9 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22104
22104
|
ee("div", FT, [
|
|
22105
22105
|
Le(ue(u(t)("plugins.free-form.datakit.flow_editor.canvas_panel.response")) + " ", 1),
|
|
22106
22106
|
ee("span", KT, [
|
|
22107
|
-
u(a).response === 1 ? (S(), le(
|
|
22107
|
+
u(a).response === 1 ? (S(), le(Ge, { key: 0 }, [
|
|
22108
22108
|
Le(" (" + ue(u(t)("plugins.free-form.datakit.flow_editor.canvas_panel.node_count_singular")) + ") ", 1)
|
|
22109
|
-
], 64)) : (S(), le(
|
|
22109
|
+
], 64)) : (S(), le(Ge, { key: 1 }, [
|
|
22110
22110
|
Le(" (" + ue(u(t)("plugins.free-form.datakit.flow_editor.canvas_panel.node_count_plural", { count: u(a).response })) + ") ", 1)
|
|
22111
22111
|
], 64))
|
|
22112
22112
|
])
|
|
@@ -22130,7 +22130,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22130
22130
|
], 6)
|
|
22131
22131
|
], 512));
|
|
22132
22132
|
}
|
|
22133
|
-
}), du = /* @__PURE__ */
|
|
22133
|
+
}), du = /* @__PURE__ */ ze(DT, [["__scopeId", "data-v-5a4fec80"]]), qT = { class: "dk-confirm-modal-body" }, BT = { class: "connections" }, UT = /* @__PURE__ */ Pe({
|
|
22134
22134
|
__name: "ConflictModal",
|
|
22135
22135
|
props: {
|
|
22136
22136
|
title: {},
|
|
@@ -22172,7 +22172,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22172
22172
|
ee("p", null, ue(a.value), 1),
|
|
22173
22173
|
ee("p", null, ue(u(i)("plugins.free-form.datakit.flow_editor.confirm.message.confirm")), 1),
|
|
22174
22174
|
ee("div", BT, [
|
|
22175
|
-
(S(!0), le(
|
|
22175
|
+
(S(!0), le(Ge, null, et(l.value ?? [], ([_, v]) => (S(), le("div", {
|
|
22176
22176
|
key: `${_}-${v}`,
|
|
22177
22177
|
class: "connection"
|
|
22178
22178
|
}, [
|
|
@@ -22181,7 +22181,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22181
22181
|
}, null, 8, ["color"]),
|
|
22182
22182
|
Le(" " + ue(_) + " → " + ue(v), 1)
|
|
22183
22183
|
]))), 128)),
|
|
22184
|
-
(S(!0), le(
|
|
22184
|
+
(S(!0), le(Ge, null, et(s.value ?? [], ([_, v]) => (S(), le("div", {
|
|
22185
22185
|
key: `${_}-${v}`,
|
|
22186
22186
|
class: "connection"
|
|
22187
22187
|
}, [
|
|
@@ -22197,7 +22197,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22197
22197
|
}, 8, ["action-button-text", "title", "visible"]);
|
|
22198
22198
|
};
|
|
22199
22199
|
}
|
|
22200
|
-
}), VT = /* @__PURE__ */
|
|
22200
|
+
}), VT = /* @__PURE__ */ ze(UT, [["__scopeId", "data-v-e6df03c2"]]), zT = { class: "dk-editor-nav" }, GT = { class: "top" }, HT = { class: "bottom" }, WT = /* @__PURE__ */ Pe({
|
|
22201
22201
|
__name: "EditorNav",
|
|
22202
22202
|
emits: ["back"],
|
|
22203
22203
|
setup(e, { emit: t }) {
|
|
@@ -22213,7 +22213,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22213
22213
|
}
|
|
22214
22214
|
return (d, f) => (S(), le("nav", zT, [
|
|
22215
22215
|
ee("div", GT, [
|
|
22216
|
-
(S(), le(
|
|
22216
|
+
(S(), le(Ge, null, et(o, ({ label: c, to: p, icon: m, onClick: h }) => C(u(Gn), {
|
|
22217
22217
|
key: c,
|
|
22218
22218
|
"kpop-attributes": { offset: "10px" },
|
|
22219
22219
|
label: c,
|
|
@@ -22278,13 +22278,13 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22278
22278
|
])
|
|
22279
22279
|
]));
|
|
22280
22280
|
}
|
|
22281
|
-
}), YT = /* @__PURE__ */
|
|
22281
|
+
}), YT = /* @__PURE__ */ ze(WT, [["__scopeId", "data-v-0dcd2605"]]), JT = { class: "dk-editor-main" }, XT = { class: "header" }, ZT = { class: "actions" }, QT = { class: "settings" }, e$ = {
|
|
22282
22282
|
ref: "canvasContainer",
|
|
22283
22283
|
class: "body"
|
|
22284
22284
|
}, t$ = /* @__PURE__ */ Pe({
|
|
22285
22285
|
__name: "EditorMain",
|
|
22286
22286
|
setup(e) {
|
|
22287
|
-
const { t } = Jt("en-us", on), { modalOpen: n, undo: i, redo: o, canUndo: r, canRedo: a, load: l } =
|
|
22287
|
+
const { t } = Jt("en-us", on), { modalOpen: n, undo: i, redo: o, canUndo: r, canRedo: a, load: l } = Ut();
|
|
22288
22288
|
function s(p) {
|
|
22289
22289
|
return t(`plugins.free-form.datakit.examples.${p}`);
|
|
22290
22290
|
}
|
|
@@ -22388,7 +22388,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22388
22388
|
width: 240
|
|
22389
22389
|
}, {
|
|
22390
22390
|
items: N(() => [
|
|
22391
|
-
(S(!0), le(
|
|
22391
|
+
(S(!0), le(Ge, null, et(u(wm), (h) => (S(), Z(u(nr), {
|
|
22392
22392
|
key: h.id,
|
|
22393
22393
|
onClick: (y) => d(h)
|
|
22394
22394
|
}, {
|
|
@@ -22427,7 +22427,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22427
22427
|
], 512)
|
|
22428
22428
|
]));
|
|
22429
22429
|
}
|
|
22430
|
-
}), n$ = /* @__PURE__ */
|
|
22430
|
+
}), n$ = /* @__PURE__ */ ze(t$, [["__scopeId", "data-v-1cf532ff"]]), i$ = ["draggable"], o$ = { class: "icon" }, a$ = { class: "content" }, r$ = { class: "title" }, s$ = { class: "description" }, l$ = /* @__PURE__ */ Pe({
|
|
22431
22431
|
__name: "NodePanelItem",
|
|
22432
22432
|
props: {
|
|
22433
22433
|
type: {},
|
|
@@ -22465,7 +22465,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22465
22465
|
])
|
|
22466
22466
|
], 42, i$));
|
|
22467
22467
|
}
|
|
22468
|
-
}), u$ = /* @__PURE__ */
|
|
22468
|
+
}), u$ = /* @__PURE__ */ ze(l$, [["__scopeId", "data-v-829422ff"]]), c$ = { class: "dk-node-panel" }, d$ = {
|
|
22469
22469
|
key: 0,
|
|
22470
22470
|
class: "title"
|
|
22471
22471
|
}, p$ = { class: "node-list" }, f$ = { class: "group-title" }, m$ = { class: "group-items" }, g$ = {
|
|
@@ -22478,7 +22478,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22478
22478
|
hideTitle: { type: Boolean }
|
|
22479
22479
|
},
|
|
22480
22480
|
setup(e) {
|
|
22481
|
-
const { t } = Jt("en-us", on), { createNode: n } =
|
|
22481
|
+
const { t } = Jt("en-us", on), { createNode: n } = Ut(), i = pt(mi.KM_2446_DATAKIT_JWT_NODES, !1), o = L(() => i ? ic : ic.filter(({ id: d }) => d !== "authentication")), r = `dk-drag-preview-${Sa()}`, a = pn(), l = L(() => a.value ? [
|
|
22482
22482
|
{
|
|
22483
22483
|
id: "preview",
|
|
22484
22484
|
type: "flow",
|
|
@@ -22529,13 +22529,13 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22529
22529
|
}, 8, ["info"])
|
|
22530
22530
|
])),
|
|
22531
22531
|
ee("div", p$, [
|
|
22532
|
-
(S(!0), le(
|
|
22532
|
+
(S(!0), le(Ge, null, et(o.value, (p) => (S(), le("section", {
|
|
22533
22533
|
key: p.id,
|
|
22534
22534
|
class: "node-group"
|
|
22535
22535
|
}, [
|
|
22536
22536
|
ee("h4", f$, ue(p.title), 1),
|
|
22537
22537
|
ee("div", m$, [
|
|
22538
|
-
(S(!0), le(
|
|
22538
|
+
(S(!0), le(Ge, null, et(p.nodes, (m) => (S(), Z(u$, {
|
|
22539
22539
|
key: m.type,
|
|
22540
22540
|
type: m.type,
|
|
22541
22541
|
onDragstart: s
|
|
@@ -22557,7 +22557,7 @@ const MT = { class: "label-content" }, LT = { class: "count" }, FT = { class: "l
|
|
|
22557
22557
|
]);
|
|
22558
22558
|
};
|
|
22559
22559
|
}
|
|
22560
|
-
}), y$ = /* @__PURE__ */
|
|
22560
|
+
}), y$ = /* @__PURE__ */ ze(h$, [["__scopeId", "data-v-f2040974"]]);
|
|
22561
22561
|
function v$() {
|
|
22562
22562
|
const {
|
|
22563
22563
|
addField: e,
|
|
@@ -22567,7 +22567,7 @@ function v$() {
|
|
|
22567
22567
|
renameField: o,
|
|
22568
22568
|
disconnectOutEdges: r,
|
|
22569
22569
|
nodeMapByName: a
|
|
22570
|
-
} =
|
|
22570
|
+
} = Ut(), l = t("vault");
|
|
22571
22571
|
if (!l) throw new Error("no vault node");
|
|
22572
22572
|
const s = L(() => {
|
|
22573
22573
|
var h;
|
|
@@ -22748,7 +22748,7 @@ const _$ = /* @__PURE__ */ Pe({
|
|
|
22748
22748
|
_: 1
|
|
22749
22749
|
}),
|
|
22750
22750
|
ee("div", k$, [
|
|
22751
|
-
(S(!0), le(
|
|
22751
|
+
(S(!0), le(Ge, null, et(u(o), ([P, R]) => (S(), le(Ge, { key: P }, [
|
|
22752
22752
|
R ? (S(), le("div", C$, [
|
|
22753
22753
|
ee("div", E$, [
|
|
22754
22754
|
C(u(dl), {
|
|
@@ -22806,7 +22806,7 @@ const _$ = /* @__PURE__ */ Pe({
|
|
|
22806
22806
|
]);
|
|
22807
22807
|
};
|
|
22808
22808
|
}
|
|
22809
|
-
}), A$ = /* @__PURE__ */
|
|
22809
|
+
}), A$ = /* @__PURE__ */ ze(S$, [["__scopeId", "data-v-a7726f48"]]);
|
|
22810
22810
|
function I$() {
|
|
22811
22811
|
const { getSchema: e } = gt();
|
|
22812
22812
|
return L(() => {
|
|
@@ -22875,7 +22875,7 @@ const T$ = { key: 1 }, $$ = ["innerHTML"], O$ = { class: "horizontal-container"
|
|
|
22875
22875
|
} : void 0
|
|
22876
22876
|
]), 1040),
|
|
22877
22877
|
ee("div", O$, [
|
|
22878
|
-
(S(!0), le(
|
|
22878
|
+
(S(!0), le(Ge, null, et(l.value, (h) => (S(), Z(u(ii), {
|
|
22879
22879
|
key: h.value,
|
|
22880
22880
|
"model-value": u(r).value.value,
|
|
22881
22881
|
"onUpdate:modelValue": [
|
|
@@ -22892,7 +22892,7 @@ const T$ = { key: 1 }, $$ = ["innerHTML"], O$ = { class: "horizontal-container"
|
|
|
22892
22892
|
]);
|
|
22893
22893
|
};
|
|
22894
22894
|
}
|
|
22895
|
-
}), pu = /* @__PURE__ */
|
|
22895
|
+
}), pu = /* @__PURE__ */ ze(P$, [["__scopeId", "data-v-7c0483f3"]]), N$ = { class: "dk-cache-panel" }, R$ = { class: "title" }, M$ = {
|
|
22896
22896
|
key: 0,
|
|
22897
22897
|
class: "cache-item"
|
|
22898
22898
|
}, L$ = { class: "cache-item-key" }, F$ = { class: "cache-item-key-text" }, K$ = { class: "dk-resource-cache-form" }, j$ = { key: 1 }, D$ = {
|
|
@@ -23091,7 +23091,7 @@ const T$ = { key: 1 }, $$ = ["innerHTML"], O$ = { class: "horizontal-container"
|
|
|
23091
23091
|
]);
|
|
23092
23092
|
};
|
|
23093
23093
|
}
|
|
23094
|
-
}), V$ = /* @__PURE__ */
|
|
23094
|
+
}), V$ = /* @__PURE__ */ ze(U$, [["__scopeId", "data-v-4ffd057c"]]), z$ = { class: "dk-resources-panel" }, G$ = /* @__PURE__ */ Pe({
|
|
23095
23095
|
__name: "ResourcesPanel",
|
|
23096
23096
|
setup(e) {
|
|
23097
23097
|
const t = I$(), n = me(0), {
|
|
@@ -23104,7 +23104,7 @@ const T$ = { key: 1 }, $$ = ["innerHTML"], O$ = { class: "horizontal-container"
|
|
|
23104
23104
|
function s(y, _, v) {
|
|
23105
23105
|
v && v !== y && a(v, y, !1), r(y, _);
|
|
23106
23106
|
}
|
|
23107
|
-
const { state: d, commit: f } =
|
|
23107
|
+
const { state: d, commit: f } = Ut(), c = L(() => ({ cache: d.value.cacheConfig }));
|
|
23108
23108
|
function p(y) {
|
|
23109
23109
|
d.value.cacheConfig = y.cache, f();
|
|
23110
23110
|
}
|
|
@@ -23150,10 +23150,10 @@ const T$ = { key: 1 }, $$ = ["innerHTML"], O$ = { class: "horizontal-container"
|
|
|
23150
23150
|
}, 8, ["data", "schema"]))
|
|
23151
23151
|
]));
|
|
23152
23152
|
}
|
|
23153
|
-
}), H$ = /* @__PURE__ */
|
|
23153
|
+
}), H$ = /* @__PURE__ */ ze(G$, [["__scopeId", "data-v-9093c001"]]), W$ = { class: "header" }, Y$ = { class: "title" }, J$ = { class: "body" }, X$ = { class: "panel" }, Z$ = /* @__PURE__ */ Pe({
|
|
23154
23154
|
__name: "SidePanel",
|
|
23155
23155
|
setup(e) {
|
|
23156
|
-
const { t } = Jt("en-us", on), { sidePanelExpanded: n } = is(), { propertiesPanelOpen: i, selectedNode: o } =
|
|
23156
|
+
const { t } = Jt("en-us", on), { sidePanelExpanded: n } = is(), { propertiesPanelOpen: i, selectedNode: o } = Ut(), r = me("nodes");
|
|
23157
23157
|
function a() {
|
|
23158
23158
|
i.value = !1;
|
|
23159
23159
|
}
|
|
@@ -23195,13 +23195,13 @@ const T$ = { key: 1 }, $$ = ["innerHTML"], O$ = { class: "horizontal-container"
|
|
|
23195
23195
|
], 2);
|
|
23196
23196
|
};
|
|
23197
23197
|
}
|
|
23198
|
-
}), Q$ = /* @__PURE__ */
|
|
23198
|
+
}), Q$ = /* @__PURE__ */ ze(Z$, [["__scopeId", "data-v-9e854e60"]]), eO = /* @__PURE__ */ Pe({
|
|
23199
23199
|
__name: "HttpMethodField",
|
|
23200
23200
|
props: {
|
|
23201
23201
|
name: {}
|
|
23202
23202
|
},
|
|
23203
23203
|
setup(e) {
|
|
23204
|
-
return (t, n) => (S(), Z(
|
|
23204
|
+
return (t, n) => (S(), Z(qt, {
|
|
23205
23205
|
items: u(ql)([...u(Np)]),
|
|
23206
23206
|
name: e.name
|
|
23207
23207
|
}, null, 8, ["items", "name"]));
|
|
@@ -23845,7 +23845,7 @@ const Kn = J.object({
|
|
|
23845
23845
|
"reset-label-path": "isolate"
|
|
23846
23846
|
}, {
|
|
23847
23847
|
default: N(() => [
|
|
23848
|
-
(S(!0), le(
|
|
23848
|
+
(S(!0), le(Ge, null, et(i.value, (a) => (S(), Z(qt, {
|
|
23849
23849
|
key: a,
|
|
23850
23850
|
clearable: "",
|
|
23851
23851
|
"enable-filtering": "",
|
|
@@ -23972,7 +23972,7 @@ const Kn = J.object({
|
|
|
23972
23972
|
ref: p,
|
|
23973
23973
|
class: "dk-inputs-map-field"
|
|
23974
23974
|
}, [
|
|
23975
|
-
(S(!0), le(
|
|
23975
|
+
(S(!0), le(Ge, null, et(v.value, ([F, X], M) => {
|
|
23976
23976
|
var W;
|
|
23977
23977
|
return S(), le("div", {
|
|
23978
23978
|
key: F,
|
|
@@ -24053,7 +24053,7 @@ const Kn = J.object({
|
|
|
24053
24053
|
], 512));
|
|
24054
24054
|
};
|
|
24055
24055
|
}
|
|
24056
|
-
}), rP = /* @__PURE__ */
|
|
24056
|
+
}), rP = /* @__PURE__ */ ze(aP, [["__scopeId", "data-v-43dcb370"]]), sP = { class: "dk-source-item" }, lP = /* @__PURE__ */ Pe({
|
|
24057
24057
|
__name: "SourceItem",
|
|
24058
24058
|
props: {
|
|
24059
24059
|
item: {}
|
|
@@ -24067,7 +24067,7 @@ const Kn = J.object({
|
|
|
24067
24067
|
Le(" " + ue(e.item.label), 1)
|
|
24068
24068
|
]));
|
|
24069
24069
|
}
|
|
24070
|
-
}), Ar = /* @__PURE__ */
|
|
24070
|
+
}), Ar = /* @__PURE__ */ ze(lP, [["__scopeId", "data-v-d9aa16eb"]]), uP = {
|
|
24071
24071
|
key: 1,
|
|
24072
24072
|
class: "dk-inputs-field-or"
|
|
24073
24073
|
}, cP = /* @__PURE__ */ Pe({
|
|
@@ -24096,7 +24096,7 @@ const Kn = J.object({
|
|
|
24096
24096
|
function c(p, m) {
|
|
24097
24097
|
n("rename:field", p, m);
|
|
24098
24098
|
}
|
|
24099
|
-
return (p, m) => (S(), le(
|
|
24099
|
+
return (p, m) => (S(), le(Ge, null, [
|
|
24100
24100
|
C(u(gn), {
|
|
24101
24101
|
class: "dk-inputs-field-h1",
|
|
24102
24102
|
info: u(o)("plugins.free-form.datakit.flow_editor.node_properties.input.tooltip")
|
|
@@ -24106,7 +24106,7 @@ const Kn = J.object({
|
|
|
24106
24106
|
]),
|
|
24107
24107
|
_: 1
|
|
24108
24108
|
}, 8, ["info"]),
|
|
24109
|
-
u(i)("input") ? (S(), Z(
|
|
24109
|
+
u(i)("input") ? (S(), Z(qt, {
|
|
24110
24110
|
key: 0,
|
|
24111
24111
|
class: "dk-inputs-field-h2",
|
|
24112
24112
|
clearable: "",
|
|
@@ -24157,11 +24157,11 @@ const Kn = J.object({
|
|
|
24157
24157
|
}, 16, ["items", "key-order"])) : ye("", !0)
|
|
24158
24158
|
], 64));
|
|
24159
24159
|
}
|
|
24160
|
-
}), Sn = /* @__PURE__ */
|
|
24160
|
+
}), Sn = /* @__PURE__ */ ze(cP, [["__scopeId", "data-v-4f1ce4e7"]]), dP = {}, pP = { class: "dk-node-form-divider" };
|
|
24161
24161
|
function fP(e, t) {
|
|
24162
24162
|
return S(), le("hr", pP);
|
|
24163
24163
|
}
|
|
24164
|
-
const Zn = /* @__PURE__ */
|
|
24164
|
+
const Zn = /* @__PURE__ */ ze(dP, [["render", fP], ["__scopeId", "data-v-35ed58be"]]), mP = {
|
|
24165
24165
|
fields: [
|
|
24166
24166
|
{
|
|
24167
24167
|
input: {
|
|
@@ -24396,7 +24396,7 @@ function Ao(e = -1 / 0, t = 1 / 0, n) {
|
|
|
24396
24396
|
};
|
|
24397
24397
|
}
|
|
24398
24398
|
function yP(e, t) {
|
|
24399
|
-
const { state: n } =
|
|
24399
|
+
const { state: n } = Ut(), { i18n: { t: i } } = it();
|
|
24400
24400
|
return function(r) {
|
|
24401
24401
|
if (n.value.nodes.some((a) => a.name === r && a.id !== e))
|
|
24402
24402
|
return t ? typeof t == "string" ? t : i("plugins.free-form.datakit.flow_editor.node_properties.errors.not_unique", t) : "Name must be unique.";
|
|
@@ -24429,7 +24429,7 @@ function Mm(e) {
|
|
|
24429
24429
|
);
|
|
24430
24430
|
}
|
|
24431
24431
|
function bP(e) {
|
|
24432
|
-
const { i18n: { t } } = it(), { getNodeById: n } =
|
|
24432
|
+
const { i18n: { t } } = it(), { getNodeById: n } = Ut();
|
|
24433
24433
|
return function(o, r, a) {
|
|
24434
24434
|
const l = {
|
|
24435
24435
|
fieldName: t(o === "input" ? "plugins.free-form.datakit.flow_editor.node_properties.input_name.label" : "plugins.free-form.datakit.flow_editor.node_properties.output_value.value_name")
|
|
@@ -24483,7 +24483,7 @@ function wi(e) {
|
|
|
24483
24483
|
validationConfig: t,
|
|
24484
24484
|
getValidationData: n,
|
|
24485
24485
|
toggleNodeValid: i
|
|
24486
|
-
} = e, { skipValidation: o } =
|
|
24486
|
+
} = e, { skipValidation: o } = Ut(), r = L(() => typeof t == "function" ? t() : t), a = L(() => wP(r.value)), l = L(() => a.value.fields), s = L(() => a.value.isValid.value);
|
|
24487
24487
|
function d() {
|
|
24488
24488
|
const c = n(), p = a.value.validate(c), m = {};
|
|
24489
24489
|
for (const h in r.value)
|
|
@@ -24538,7 +24538,7 @@ function vn(e, t) {
|
|
|
24538
24538
|
invalidConfigNodeIds: c,
|
|
24539
24539
|
commit: p,
|
|
24540
24540
|
revert: m
|
|
24541
|
-
} =
|
|
24541
|
+
} = Ut(), { i18n: { t: h } } = it(), y = Up(), _ = L(() => {
|
|
24542
24542
|
const F = o(e);
|
|
24543
24543
|
if (!F) throw new Error("Node not existed");
|
|
24544
24544
|
return F;
|
|
@@ -25150,7 +25150,7 @@ const jn = /* @__PURE__ */ Pe({
|
|
|
25150
25150
|
]),
|
|
25151
25151
|
_: 1
|
|
25152
25152
|
}),
|
|
25153
|
-
(S(!0), le(
|
|
25153
|
+
(S(!0), le(Ge, null, et(d.value, (oe, F) => (S(), Z(G, {
|
|
25154
25154
|
key: oe.id,
|
|
25155
25155
|
class: "dk-output-value-field-entry",
|
|
25156
25156
|
"data-testid": `ff-kv-container-${a.path.value}.${F}`
|
|
@@ -25212,7 +25212,7 @@ const jn = /* @__PURE__ */ Pe({
|
|
|
25212
25212
|
], 512));
|
|
25213
25213
|
};
|
|
25214
25214
|
}
|
|
25215
|
-
}), AP = /* @__PURE__ */
|
|
25215
|
+
}), AP = /* @__PURE__ */ ze(SP, [["__scopeId", "data-v-3970c2c0"]]);
|
|
25216
25216
|
function IP(e) {
|
|
25217
25217
|
const t = {};
|
|
25218
25218
|
for (const [n, i] of Object.entries(e))
|
|
@@ -25251,7 +25251,7 @@ const $P = /* @__PURE__ */ Pe({
|
|
|
25251
25251
|
removeField: r,
|
|
25252
25252
|
replaceConfig: a,
|
|
25253
25253
|
getNodeById: l
|
|
25254
|
-
} =
|
|
25254
|
+
} = Ut(), { fieldNameValidator: s } = vn(e.nodeId), d = _n("static"), f = Mm(e.nodeId), c = L(() => l(e.nodeId)), p = L(() => {
|
|
25255
25255
|
var x;
|
|
25256
25256
|
return ((x = c.value) == null ? void 0 : x.fields.output.map((E) => E.name)) || [];
|
|
25257
25257
|
});
|
|
@@ -25374,7 +25374,7 @@ const $P = /* @__PURE__ */ Pe({
|
|
|
25374
25374
|
s.value = qs(m), a.value = Zo(m);
|
|
25375
25375
|
}), (m, h) => {
|
|
25376
25376
|
const y = xe("KBadge"), _ = xe("KSelect"), v = xe("KInput");
|
|
25377
|
-
return S(), le(
|
|
25377
|
+
return S(), le(Ge, null, [
|
|
25378
25378
|
(S(), Z(_, {
|
|
25379
25379
|
key: d.value,
|
|
25380
25380
|
"enable-filtering": "",
|
|
@@ -25437,13 +25437,13 @@ const $P = /* @__PURE__ */ Pe({
|
|
|
25437
25437
|
], 64);
|
|
25438
25438
|
};
|
|
25439
25439
|
}
|
|
25440
|
-
}), MP = /* @__PURE__ */
|
|
25440
|
+
}), MP = /* @__PURE__ */ ze(RP, [["__scopeId", "data-v-3e7fee25"]]), LP = /* @__PURE__ */ Pe({
|
|
25441
25441
|
__name: "NodeFormProperty",
|
|
25442
25442
|
props: {
|
|
25443
25443
|
nodeId: {}
|
|
25444
25444
|
},
|
|
25445
25445
|
setup(e) {
|
|
25446
|
-
const t = xt("form"), { selectedNode: n, disconnectInEdges: i, disconnectOutEdges: o } =
|
|
25446
|
+
const t = xt("form"), { selectedNode: n, disconnectInEdges: i, disconnectOutEdges: o } = Ut(), r = _n("property"), {
|
|
25447
25447
|
formData: a,
|
|
25448
25448
|
setName: l,
|
|
25449
25449
|
setConfig: s,
|
|
@@ -25490,7 +25490,7 @@ const $P = /* @__PURE__ */ Pe({
|
|
|
25490
25490
|
validate: u(m),
|
|
25491
25491
|
onUpdate: u(l)
|
|
25492
25492
|
}, null, 8, ["name", "validate", "onUpdate"]),
|
|
25493
|
-
C(
|
|
25493
|
+
C(qt, {
|
|
25494
25494
|
name: "content_type",
|
|
25495
25495
|
onUpdate: E[0] || (E[0] = (k) => u(s)())
|
|
25496
25496
|
}),
|
|
@@ -25590,7 +25590,7 @@ function KP(e) {
|
|
|
25590
25590
|
getNodeById: i,
|
|
25591
25591
|
branchGroups: o,
|
|
25592
25592
|
commit: r
|
|
25593
|
-
} =
|
|
25593
|
+
} = Ut(), { i18n: { t: a } } = it(), l = Up(), s = Rl(), d = L(() => {
|
|
25594
25594
|
var x;
|
|
25595
25595
|
const v = { ...t.formData.value }, b = va(((x = t.currentNode.value) == null ? void 0 : x.type) || "branch");
|
|
25596
25596
|
for (const E of b)
|
|
@@ -25701,7 +25701,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
25701
25701
|
]),
|
|
25702
25702
|
_: 1
|
|
25703
25703
|
}),
|
|
25704
|
-
C(
|
|
25704
|
+
C(qt, {
|
|
25705
25705
|
"enable-filtering": "",
|
|
25706
25706
|
items: u(l),
|
|
25707
25707
|
multiple: "",
|
|
@@ -25713,7 +25713,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
25713
25713
|
]),
|
|
25714
25714
|
_: 1
|
|
25715
25715
|
}, 8, ["items"]),
|
|
25716
|
-
C(
|
|
25716
|
+
C(qt, {
|
|
25717
25717
|
"enable-filtering": "",
|
|
25718
25718
|
items: u(l),
|
|
25719
25719
|
multiple: "",
|
|
@@ -26148,7 +26148,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26148
26148
|
]),
|
|
26149
26149
|
_: 1
|
|
26150
26150
|
}),
|
|
26151
|
-
C(
|
|
26151
|
+
C(qt, {
|
|
26152
26152
|
"enable-filtering": "",
|
|
26153
26153
|
name: "algorithm",
|
|
26154
26154
|
onUpdate: u(y).update
|
|
@@ -26241,7 +26241,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26241
26241
|
]),
|
|
26242
26242
|
_: 1
|
|
26243
26243
|
}),
|
|
26244
|
-
C(
|
|
26244
|
+
C(qt, {
|
|
26245
26245
|
"enable-filtering": "",
|
|
26246
26246
|
multiple: "",
|
|
26247
26247
|
name: "allowed_algorithms",
|
|
@@ -26330,7 +26330,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26330
26330
|
},
|
|
26331
26331
|
emits: ["close"],
|
|
26332
26332
|
setup(e) {
|
|
26333
|
-
const { t } = Jt("en-us", on), { getNodeById: n, branchGroups: i } =
|
|
26333
|
+
const { t } = Jt("en-us", on), { getNodeById: n, branchGroups: i } = Ut(), o = L(() => e.nodeId && n(e.nodeId)), r = L(() => {
|
|
26334
26334
|
if (e.nodeId)
|
|
26335
26335
|
return i.findMembership(e.nodeId);
|
|
26336
26336
|
}), a = L(() => {
|
|
@@ -26441,10 +26441,10 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26441
26441
|
} : void 0
|
|
26442
26442
|
]), 1032, ["max-width", "offset-top", "visible", "z-index"]));
|
|
26443
26443
|
}
|
|
26444
|
-
}), XP = /* @__PURE__ */
|
|
26444
|
+
}), XP = /* @__PURE__ */ ze(JP, [["__scopeId", "data-v-32602117"]]), ZP = { class: "dk-editor-content" }, QP = { class: "main" }, eN = /* @__PURE__ */ Pe({
|
|
26445
26445
|
__name: "EditorContent",
|
|
26446
26446
|
setup(e) {
|
|
26447
|
-
const { propertiesPanelOpen: t, selectedNode: n } =
|
|
26447
|
+
const { propertiesPanelOpen: t, selectedNode: n } = Ut();
|
|
26448
26448
|
function i() {
|
|
26449
26449
|
t.value = !1;
|
|
26450
26450
|
}
|
|
@@ -26469,7 +26469,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26469
26469
|
]);
|
|
26470
26470
|
};
|
|
26471
26471
|
}
|
|
26472
|
-
}), tN = /* @__PURE__ */
|
|
26472
|
+
}), tN = /* @__PURE__ */ ze(eN, [["__scopeId", "data-v-66331c5c"]]), nN = {
|
|
26473
26473
|
key: 0,
|
|
26474
26474
|
class: "dk-editor-modal"
|
|
26475
26475
|
}, iN = /* @__PURE__ */ Pe({
|
|
@@ -26484,7 +26484,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26484
26484
|
v0a30a280: `${u(cy)}px`,
|
|
26485
26485
|
aee7cc1c: `${u(Ad)}px`
|
|
26486
26486
|
}));
|
|
26487
|
-
const t = hi(e, "open"), n = me(!1), i = xt("confirm-modal"), { clear: o } =
|
|
26487
|
+
const t = hi(e, "open"), n = me(!1), i = xt("confirm-modal"), { clear: o } = Ut();
|
|
26488
26488
|
Y1(async (...l) => {
|
|
26489
26489
|
n.value = !0;
|
|
26490
26490
|
const s = await i.value.open(...l);
|
|
@@ -26510,7 +26510,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26510
26510
|
C(VT, { ref: "confirm-modal" }, null, 512)
|
|
26511
26511
|
])) : ye("", !0);
|
|
26512
26512
|
}
|
|
26513
|
-
}), oN = /* @__PURE__ */
|
|
26513
|
+
}), oN = /* @__PURE__ */ ze(iN, [["__scopeId", "data-v-82b03578"]]), aN = { class: "dk-flow-editor" }, rN = { class: "flow-panels-container" }, sN = { class: "overlay" }, lN = /* @__PURE__ */ Pe({
|
|
26514
26514
|
__name: "FlowEditor",
|
|
26515
26515
|
props: {
|
|
26516
26516
|
isEditing: { type: Boolean }
|
|
@@ -26566,7 +26566,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26566
26566
|
]);
|
|
26567
26567
|
};
|
|
26568
26568
|
}
|
|
26569
|
-
}), uN = /* @__PURE__ */
|
|
26569
|
+
}), uN = /* @__PURE__ */ ze(lN, [["__scopeId", "data-v-575018ff"]]), cN = ["innerHTML"], dN = { class: "dk-option-label" }, pN = ["innerHTML"], fN = /* @__PURE__ */ Pe({
|
|
26570
26570
|
inheritAttrs: !1,
|
|
26571
26571
|
__name: "DatakitForm",
|
|
26572
26572
|
props: {
|
|
@@ -26663,7 +26663,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26663
26663
|
error: k
|
|
26664
26664
|
});
|
|
26665
26665
|
}
|
|
26666
|
-
return (k, w) => (S(), le(
|
|
26666
|
+
return (k, w) => (S(), le(Ge, null, [
|
|
26667
26667
|
u(o).app === "konnect" ? (S(), Z(Or, {
|
|
26668
26668
|
key: 0,
|
|
26669
26669
|
disabled: !r.value,
|
|
@@ -26724,9 +26724,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26724
26724
|
}, 16, ["editor-mode"])
|
|
26725
26725
|
], 64));
|
|
26726
26726
|
}
|
|
26727
|
-
}), mN = /* @__PURE__ */
|
|
26727
|
+
}), mN = /* @__PURE__ */ ze(fN, [["__scopeId", "data-v-99d4e7f0"]]), gN = Ue({
|
|
26728
26728
|
component: mN
|
|
26729
|
-
}), hN =
|
|
26729
|
+
}), hN = Ue({
|
|
26730
26730
|
experimental: !0,
|
|
26731
26731
|
fieldRenderers: [
|
|
26732
26732
|
{
|
|
@@ -26739,7 +26739,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26739
26739
|
})
|
|
26740
26740
|
}
|
|
26741
26741
|
]
|
|
26742
|
-
}), yN =
|
|
26742
|
+
}), yN = Ue({
|
|
26743
26743
|
experimental: !0,
|
|
26744
26744
|
fieldRenderers: [
|
|
26745
26745
|
{
|
|
@@ -26750,9 +26750,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26750
26750
|
}
|
|
26751
26751
|
}
|
|
26752
26752
|
]
|
|
26753
|
-
}), vN =
|
|
26753
|
+
}), vN = Ue({
|
|
26754
26754
|
experimental: !0
|
|
26755
|
-
}), _N =
|
|
26755
|
+
}), _N = Ue({
|
|
26756
26756
|
experimental: !0,
|
|
26757
26757
|
renderRules: {
|
|
26758
26758
|
bundles: [
|
|
@@ -26762,7 +26762,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26762
26762
|
"config.redis": ["config.strategy", "redis"]
|
|
26763
26763
|
}
|
|
26764
26764
|
}
|
|
26765
|
-
}), bN =
|
|
26765
|
+
}), bN = Ue({
|
|
26766
26766
|
experimental: !0,
|
|
26767
26767
|
renderRules: {
|
|
26768
26768
|
bundles: [
|
|
@@ -26772,16 +26772,18 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26772
26772
|
"config.redis": ["config.strategy", "redis"]
|
|
26773
26773
|
}
|
|
26774
26774
|
}
|
|
26775
|
-
}), wN =
|
|
26775
|
+
}), wN = Ue({
|
|
26776
26776
|
experimental: !0,
|
|
26777
26777
|
fieldRenderers: [
|
|
26778
26778
|
{
|
|
26779
26779
|
match: "config.consumer_by",
|
|
26780
|
-
component:
|
|
26780
|
+
component: qt,
|
|
26781
26781
|
propsOverrides: { multiple: !0 }
|
|
26782
26782
|
}
|
|
26783
26783
|
]
|
|
26784
|
-
}), kN =
|
|
26784
|
+
}), kN = Ue({
|
|
26785
|
+
experimental: !0
|
|
26786
|
+
}), CN = Ue({
|
|
26785
26787
|
experimental: !0,
|
|
26786
26788
|
fieldRenderers: [
|
|
26787
26789
|
{
|
|
@@ -26792,9 +26794,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26792
26794
|
}
|
|
26793
26795
|
}
|
|
26794
26796
|
]
|
|
26795
|
-
}),
|
|
26797
|
+
}), EN = Ue({
|
|
26796
26798
|
experimental: !0
|
|
26797
|
-
}),
|
|
26799
|
+
}), xN = Ue({
|
|
26798
26800
|
experimental: !0
|
|
26799
26801
|
}), Hc = /* @__PURE__ */ Pe({
|
|
26800
26802
|
inheritAttrs: !1,
|
|
@@ -26838,7 +26840,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26838
26840
|
name: e.name
|
|
26839
26841
|
}), null, 16, ["error", "error-message", "name"]));
|
|
26840
26842
|
}
|
|
26841
|
-
}),
|
|
26843
|
+
}), SN = /* @__PURE__ */ Pe({
|
|
26842
26844
|
__name: "JwtSignerForm",
|
|
26843
26845
|
props: {
|
|
26844
26846
|
schema: {},
|
|
@@ -26891,11 +26893,11 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26891
26893
|
_: 1
|
|
26892
26894
|
}, 16));
|
|
26893
26895
|
}
|
|
26894
|
-
}),
|
|
26895
|
-
component:
|
|
26896
|
-
}),
|
|
26896
|
+
}), AN = Ue({
|
|
26897
|
+
component: SN
|
|
26898
|
+
}), IN = Ue({
|
|
26897
26899
|
experimental: !0
|
|
26898
|
-
}),
|
|
26900
|
+
}), TN = Ue({
|
|
26899
26901
|
experimental: !0,
|
|
26900
26902
|
fieldRenderers: [
|
|
26901
26903
|
{
|
|
@@ -26924,7 +26926,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26924
26926
|
}
|
|
26925
26927
|
}
|
|
26926
26928
|
]
|
|
26927
|
-
}),
|
|
26929
|
+
}), $N = Ue({
|
|
26928
26930
|
experimental: !0,
|
|
26929
26931
|
fieldRenderers: [
|
|
26930
26932
|
{
|
|
@@ -26935,7 +26937,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26935
26937
|
}
|
|
26936
26938
|
}
|
|
26937
26939
|
]
|
|
26938
|
-
}),
|
|
26940
|
+
}), ON = Ue({
|
|
26939
26941
|
experimental: !0,
|
|
26940
26942
|
fieldRenderers: [
|
|
26941
26943
|
{
|
|
@@ -26947,7 +26949,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26947
26949
|
}
|
|
26948
26950
|
}
|
|
26949
26951
|
]
|
|
26950
|
-
}),
|
|
26952
|
+
}), PN = Ue({
|
|
26953
|
+
experimental: !0
|
|
26954
|
+
}), NN = Ue({
|
|
26951
26955
|
experimental: !0,
|
|
26952
26956
|
component: bm,
|
|
26953
26957
|
fieldRenderers: [
|
|
@@ -26970,13 +26974,24 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26970
26974
|
}
|
|
26971
26975
|
}
|
|
26972
26976
|
]
|
|
26973
|
-
}),
|
|
26977
|
+
}), RN = Ue({
|
|
26978
|
+
experimental: !0,
|
|
26979
|
+
fieldRenderers: [
|
|
26980
|
+
{
|
|
26981
|
+
match: "config.consumer_by",
|
|
26982
|
+
component: qt,
|
|
26983
|
+
propsOverrides: { multiple: !0 }
|
|
26984
|
+
}
|
|
26985
|
+
]
|
|
26986
|
+
}), MN = Ue({
|
|
26987
|
+
experimental: !0
|
|
26988
|
+
}), LN = { class: "ff-collapsible-section" }, FN = { class: "ff-collapsible-section-header" }, KN = { class: "ff-collapsible-section-header-toggle" }, jN = {
|
|
26974
26989
|
key: 0,
|
|
26975
26990
|
class: "ff-collapsible-section-content"
|
|
26976
|
-
},
|
|
26991
|
+
}, DN = {
|
|
26977
26992
|
key: 0,
|
|
26978
26993
|
class: "ff-collapsible-section-indent-guide"
|
|
26979
|
-
},
|
|
26994
|
+
}, qN = /* @__PURE__ */ Pe({
|
|
26980
26995
|
__name: "CollapsibleSection",
|
|
26981
26996
|
props: /* @__PURE__ */ yi({
|
|
26982
26997
|
label: {}
|
|
@@ -26987,9 +27002,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
26987
27002
|
emits: ["update:expanded"],
|
|
26988
27003
|
setup(e) {
|
|
26989
27004
|
const t = hi(e, "expanded");
|
|
26990
|
-
return (n, i) => (S(), le("div",
|
|
26991
|
-
ee("header",
|
|
26992
|
-
ee("div",
|
|
27005
|
+
return (n, i) => (S(), le("div", LN, [
|
|
27006
|
+
ee("header", FN, [
|
|
27007
|
+
ee("div", KN, [
|
|
26993
27008
|
ee("button", {
|
|
26994
27009
|
class: "ff-collapsible-section-toggle-btn",
|
|
26995
27010
|
type: "button",
|
|
@@ -27011,16 +27026,16 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27011
27026
|
]),
|
|
27012
27027
|
C(Ur, null, {
|
|
27013
27028
|
default: N(() => [
|
|
27014
|
-
t.value ? (S(), le("div",
|
|
27029
|
+
t.value ? (S(), le("div", jN, [
|
|
27015
27030
|
Qe(n.$slots, "default", {}, void 0, !0)
|
|
27016
27031
|
])) : ye("", !0)
|
|
27017
27032
|
]),
|
|
27018
27033
|
_: 3
|
|
27019
27034
|
}),
|
|
27020
|
-
t.value ? (S(), le("div",
|
|
27035
|
+
t.value ? (S(), le("div", DN)) : ye("", !0)
|
|
27021
27036
|
]));
|
|
27022
27037
|
}
|
|
27023
|
-
}), Es = /* @__PURE__ */
|
|
27038
|
+
}), Es = /* @__PURE__ */ ze(qN, [["__scopeId", "data-v-39f2a44b"]]), BN = { class: "ff-mb-subject" }, UN = { class: "ff-mb-attributes" }, VN = { class: "ff-metering-billing-inline-row" }, zN = { class: "ff-mb-queue" }, GN = /* @__PURE__ */ Pe({
|
|
27024
27039
|
__name: "MeteringAndBillingForm",
|
|
27025
27040
|
props: {
|
|
27026
27041
|
schema: {},
|
|
@@ -27097,7 +27112,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27097
27112
|
match: ({ path: p }) => p === "config.subject.look_up_value_in"
|
|
27098
27113
|
}, {
|
|
27099
27114
|
default: N((p) => [
|
|
27100
|
-
C(
|
|
27115
|
+
C(qt, We(p, {
|
|
27101
27116
|
help: u(i)("plugins.free-form.metering-and-billing.fields.look_up_value_in.help"),
|
|
27102
27117
|
label: u(i)("plugins.free-form.metering-and-billing.fields.look_up_value_in.label")
|
|
27103
27118
|
}), null, 16, ["help", "label"])
|
|
@@ -27209,7 +27224,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27209
27224
|
]),
|
|
27210
27225
|
_: 1
|
|
27211
27226
|
}, 8, ["expanded", "label"]),
|
|
27212
|
-
ee("div",
|
|
27227
|
+
ee("div", BN, [
|
|
27213
27228
|
C(Gt, {
|
|
27214
27229
|
label: u(i)("plugins.free-form.metering-and-billing.sections.subject.title"),
|
|
27215
27230
|
name: "config.subject",
|
|
@@ -27227,7 +27242,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27227
27242
|
label: u(i)("plugins.free-form.metering-and-billing.fields.attributes.title")
|
|
27228
27243
|
}, {
|
|
27229
27244
|
default: N(() => [
|
|
27230
|
-
ee("div",
|
|
27245
|
+
ee("div", UN, [
|
|
27231
27246
|
C(Rt, {
|
|
27232
27247
|
"hide-label": "",
|
|
27233
27248
|
name: "config.attributes"
|
|
@@ -27248,7 +27263,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27248
27263
|
}, null, 8, ["help"]),
|
|
27249
27264
|
C(st, { name: "config.api_token" }),
|
|
27250
27265
|
C(st, { name: "config.ssl_verify" }),
|
|
27251
|
-
ee("div",
|
|
27266
|
+
ee("div", VN, [
|
|
27252
27267
|
C(st, { name: "config.timeout" }),
|
|
27253
27268
|
C(st, { name: "config.keepalive" })
|
|
27254
27269
|
])
|
|
@@ -27261,7 +27276,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27261
27276
|
"hide-general-fields": ""
|
|
27262
27277
|
}, {
|
|
27263
27278
|
default: N(() => [
|
|
27264
|
-
ee("div",
|
|
27279
|
+
ee("div", zN, [
|
|
27265
27280
|
C(u(gn), { class: "ff-mb-queue-label" }, {
|
|
27266
27281
|
default: N(() => [
|
|
27267
27282
|
Le(ue(u(i)("plugins.free-form.metering-and-billing.sections.queue.title")), 1)
|
|
@@ -27281,10 +27296,10 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27281
27296
|
_: 1
|
|
27282
27297
|
}, 16, ["plugin-config-description"]));
|
|
27283
27298
|
}
|
|
27284
|
-
}),
|
|
27299
|
+
}), HN = /* @__PURE__ */ ze(GN, [["__scopeId", "data-v-78972733"]]), WN = Ue({
|
|
27285
27300
|
experimental: !0,
|
|
27286
|
-
component:
|
|
27287
|
-
}),
|
|
27301
|
+
component: HN
|
|
27302
|
+
}), YN = Ue({
|
|
27288
27303
|
experimental: !0,
|
|
27289
27304
|
fieldRenderers: [
|
|
27290
27305
|
{
|
|
@@ -27296,16 +27311,16 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27296
27311
|
}
|
|
27297
27312
|
}
|
|
27298
27313
|
]
|
|
27299
|
-
}),
|
|
27314
|
+
}), JN = Ue({
|
|
27300
27315
|
experimental: !0,
|
|
27301
27316
|
fieldRenderers: [
|
|
27302
27317
|
{
|
|
27303
27318
|
match: "config.consumer_by",
|
|
27304
|
-
component:
|
|
27319
|
+
component: qt,
|
|
27305
27320
|
propsOverrides: { multiple: !0 }
|
|
27306
27321
|
}
|
|
27307
27322
|
]
|
|
27308
|
-
}),
|
|
27323
|
+
}), XN = Ue({
|
|
27309
27324
|
experimental: !0,
|
|
27310
27325
|
fieldRenderers: [
|
|
27311
27326
|
{
|
|
@@ -27317,9 +27332,11 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27317
27332
|
}
|
|
27318
27333
|
}
|
|
27319
27334
|
]
|
|
27320
|
-
}),
|
|
27335
|
+
}), ZN = Ue({
|
|
27336
|
+
experimental: !0
|
|
27337
|
+
}), QN = Ue({
|
|
27321
27338
|
experimental: !0
|
|
27322
|
-
}),
|
|
27339
|
+
}), eR = Ue({
|
|
27323
27340
|
experimental: !0,
|
|
27324
27341
|
fieldRenderers: [
|
|
27325
27342
|
{
|
|
@@ -27330,7 +27347,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27330
27347
|
}
|
|
27331
27348
|
}
|
|
27332
27349
|
]
|
|
27333
|
-
}),
|
|
27350
|
+
}), tR = Ue({
|
|
27334
27351
|
experimental: !0,
|
|
27335
27352
|
fieldRenderers: [
|
|
27336
27353
|
{
|
|
@@ -27354,7 +27371,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27354
27371
|
}
|
|
27355
27372
|
}
|
|
27356
27373
|
]
|
|
27357
|
-
}),
|
|
27374
|
+
}), nR = Ue({
|
|
27358
27375
|
experimental: !0,
|
|
27359
27376
|
fieldRenderers: [
|
|
27360
27377
|
{
|
|
@@ -27378,9 +27395,9 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27378
27395
|
}
|
|
27379
27396
|
}
|
|
27380
27397
|
]
|
|
27381
|
-
}),
|
|
27398
|
+
}), iR = Ue({
|
|
27382
27399
|
experimental: !0
|
|
27383
|
-
}),
|
|
27400
|
+
}), oR = Ue({
|
|
27384
27401
|
experimental: !0,
|
|
27385
27402
|
renderRules: {
|
|
27386
27403
|
bundles: [
|
|
@@ -27393,23 +27410,23 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27393
27410
|
fieldRenderers: [
|
|
27394
27411
|
{
|
|
27395
27412
|
match: ({ path: e }) => e === "config.methods" || e === "config.request_method",
|
|
27396
|
-
component:
|
|
27413
|
+
component: qt,
|
|
27397
27414
|
propsOverrides: { multiple: !0 }
|
|
27398
27415
|
}
|
|
27399
27416
|
]
|
|
27400
|
-
}),
|
|
27417
|
+
}), aR = Ue({
|
|
27401
27418
|
experimental: !0,
|
|
27402
27419
|
fieldRenderers: [
|
|
27403
27420
|
{
|
|
27404
27421
|
match: ({ path: e }) => e === "config.methods" || e === "config.request_method",
|
|
27405
|
-
component:
|
|
27422
|
+
component: qt,
|
|
27406
27423
|
propsOverrides: { multiple: !0 }
|
|
27407
27424
|
}
|
|
27408
27425
|
]
|
|
27409
|
-
}),
|
|
27426
|
+
}), rR = { class: "rla-form-request-limits-subtitle" }, sR = { class: "rla-form-request-limits-content" }, lR = { class: "rla-form-window-type" }, uR = { class: "rla-form-request-limits-items" }, cR = { class: "rla-form-request-limits-row" }, dR = ["id"], pR = { class: "rla-form-request-limits-actions" }, fR = {
|
|
27410
27427
|
key: 0,
|
|
27411
27428
|
class: "rla-form-request-limits-examples"
|
|
27412
|
-
},
|
|
27429
|
+
}, mR = { class: "rla-form-request-limits-examples-badges" }, xs = "config.window_type", gR = /* @__PURE__ */ Pe({
|
|
27413
27430
|
__name: "RequestLimitsForm",
|
|
27414
27431
|
setup(e) {
|
|
27415
27432
|
var _;
|
|
@@ -27506,11 +27523,11 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27506
27523
|
]),
|
|
27507
27524
|
_: 1
|
|
27508
27525
|
}),
|
|
27509
|
-
ee("div",
|
|
27526
|
+
ee("div", rR, ue(u(t)("sp.request_limits.subtitle")), 1)
|
|
27510
27527
|
]),
|
|
27511
27528
|
default: N(() => [
|
|
27512
|
-
ee("div",
|
|
27513
|
-
ee("div",
|
|
27529
|
+
ee("div", sR, [
|
|
27530
|
+
ee("div", lR, [
|
|
27514
27531
|
C(pu, {
|
|
27515
27532
|
items: c.value,
|
|
27516
27533
|
label: u(t)("sp.window_type.label"),
|
|
@@ -27518,8 +27535,8 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27518
27535
|
"onUpdate:modelValue": b[0] || (b[0] = (O) => p.value = void 0)
|
|
27519
27536
|
}, null, 8, ["items", "label"])
|
|
27520
27537
|
]),
|
|
27521
|
-
ee("div",
|
|
27522
|
-
(S(!0), le(
|
|
27538
|
+
ee("div", uR, [
|
|
27539
|
+
(S(!0), le(Ge, null, et(r.value, (O, q) => (S(), le("div", {
|
|
27523
27540
|
key: u(a)(O, q)
|
|
27524
27541
|
}, [
|
|
27525
27542
|
C(x, {
|
|
@@ -27530,7 +27547,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27530
27547
|
]),
|
|
27531
27548
|
_: 2
|
|
27532
27549
|
}, 1032, ["for"]),
|
|
27533
|
-
ee("div",
|
|
27550
|
+
ee("div", cR, [
|
|
27534
27551
|
ee("legend", {
|
|
27535
27552
|
id: `rla-form-request-limits-item-${q}-legend`,
|
|
27536
27553
|
class: "rla-form-request-limits-inputs"
|
|
@@ -27545,8 +27562,8 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27545
27562
|
placeholder: u(t)("sp.request_limits.time_interval")
|
|
27546
27563
|
}, null, 8, ["name", "placeholder"]),
|
|
27547
27564
|
ee("div", null, ue(u(t)("sp.request_limits.seconds")), 1)
|
|
27548
|
-
], 8,
|
|
27549
|
-
ee("div",
|
|
27565
|
+
], 8, dR),
|
|
27566
|
+
ee("div", pR, [
|
|
27550
27567
|
C(E, {
|
|
27551
27568
|
appearance: "tertiary",
|
|
27552
27569
|
disabled: r.value.length <= 1,
|
|
@@ -27570,10 +27587,10 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27570
27587
|
])
|
|
27571
27588
|
]))), 128))
|
|
27572
27589
|
]),
|
|
27573
|
-
h.value.length > 0 ? (S(), le("div",
|
|
27590
|
+
h.value.length > 0 ? (S(), le("div", fR, [
|
|
27574
27591
|
ee("div", null, ue(u(t)("sp.start_with_a_use_case")), 1),
|
|
27575
|
-
ee("div",
|
|
27576
|
-
(S(!0), le(
|
|
27592
|
+
ee("div", mR, [
|
|
27593
|
+
(S(!0), le(Ge, null, et(h.value, (O, q) => (S(), Z(w, {
|
|
27577
27594
|
key: `use-case-${q}`,
|
|
27578
27595
|
"max-width": "300"
|
|
27579
27596
|
}, {
|
|
@@ -27605,10 +27622,10 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27605
27622
|
});
|
|
27606
27623
|
};
|
|
27607
27624
|
}
|
|
27608
|
-
}),
|
|
27625
|
+
}), hR = /* @__PURE__ */ ze(gR, [["__scopeId", "data-v-1fac872b"]]), yR = {
|
|
27609
27626
|
id: "rla-form-error-legend",
|
|
27610
27627
|
class: "rla-form-error-inputs"
|
|
27611
|
-
},
|
|
27628
|
+
}, vR = /* @__PURE__ */ Pe({
|
|
27612
27629
|
__name: "ErrorMessageForm",
|
|
27613
27630
|
setup(e) {
|
|
27614
27631
|
const { i18n: { t } } = it();
|
|
@@ -27629,7 +27646,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27629
27646
|
]),
|
|
27630
27647
|
_: 1
|
|
27631
27648
|
}, 8, ["info"]),
|
|
27632
|
-
ee("legend",
|
|
27649
|
+
ee("legend", yR, [
|
|
27633
27650
|
C(Yt, {
|
|
27634
27651
|
class: "input-error-code",
|
|
27635
27652
|
label: "",
|
|
@@ -27647,7 +27664,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27647
27664
|
]);
|
|
27648
27665
|
};
|
|
27649
27666
|
}
|
|
27650
|
-
}),
|
|
27667
|
+
}), _R = /* @__PURE__ */ ze(vR, [["__scopeId", "data-v-7b36f1f7"]]), bR = /* @__PURE__ */ Pe({
|
|
27651
27668
|
__name: "RedisField",
|
|
27652
27669
|
setup(e) {
|
|
27653
27670
|
const { formData: t } = gt(), n = pt(Yn), i = pt(Bo), o = (i == null ? void 0 : i.isEditing) || !1, r = L(() => {
|
|
@@ -27670,11 +27687,11 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27670
27687
|
_: 1
|
|
27671
27688
|
}));
|
|
27672
27689
|
}
|
|
27673
|
-
}),
|
|
27690
|
+
}), wR = /* @__PURE__ */ Pe({
|
|
27674
27691
|
__name: "ConfigForm",
|
|
27675
27692
|
setup(e) {
|
|
27676
27693
|
const { getSchema: t } = gt();
|
|
27677
|
-
return (n, i) => (S(), le(
|
|
27694
|
+
return (n, i) => (S(), le(Ge, null, [
|
|
27678
27695
|
C(Gt, {
|
|
27679
27696
|
"as-child": "",
|
|
27680
27697
|
name: "config",
|
|
@@ -27682,14 +27699,14 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27682
27699
|
}, {
|
|
27683
27700
|
default: N(() => [
|
|
27684
27701
|
C(st, { name: "identifier" }),
|
|
27685
|
-
C(
|
|
27686
|
-
C(
|
|
27702
|
+
C(hR),
|
|
27703
|
+
C(_R)
|
|
27687
27704
|
]),
|
|
27688
27705
|
_: 1
|
|
27689
27706
|
}),
|
|
27690
27707
|
C(Ra, { "hide-general-fields": "" }, {
|
|
27691
27708
|
default: N(() => [
|
|
27692
|
-
C(
|
|
27709
|
+
C(qt, {
|
|
27693
27710
|
multiple: !0,
|
|
27694
27711
|
name: "config.compound_identifier"
|
|
27695
27712
|
}),
|
|
@@ -27700,7 +27717,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27700
27717
|
C(st, { name: "config.sync_rate" }),
|
|
27701
27718
|
C(st, { name: "config.namespace" }),
|
|
27702
27719
|
C(st, { name: "config.strategy" }),
|
|
27703
|
-
C(
|
|
27720
|
+
C(bR),
|
|
27704
27721
|
C(st, { name: "config.dictionary_name" }),
|
|
27705
27722
|
C(st, { name: "config.lock_dictionary_name" }),
|
|
27706
27723
|
C(st, { name: "config.hide_client_headers" }),
|
|
@@ -27716,7 +27733,7 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27716
27733
|
})
|
|
27717
27734
|
], 64));
|
|
27718
27735
|
}
|
|
27719
|
-
}),
|
|
27736
|
+
}), kR = /* @__PURE__ */ Pe({
|
|
27720
27737
|
__name: "RateLimitingAdvancedForm",
|
|
27721
27738
|
props: {
|
|
27722
27739
|
schema: {},
|
|
@@ -27746,15 +27763,15 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27746
27763
|
}
|
|
27747
27764
|
return (o, r) => (S(), Z(li, We(t, { "on-form-change": i }), {
|
|
27748
27765
|
default: N(() => [
|
|
27749
|
-
C(
|
|
27766
|
+
C(wR)
|
|
27750
27767
|
]),
|
|
27751
27768
|
_: 1
|
|
27752
27769
|
}, 16));
|
|
27753
27770
|
}
|
|
27754
|
-
}),
|
|
27771
|
+
}), CR = Ue({
|
|
27755
27772
|
experimental: !0,
|
|
27756
|
-
component:
|
|
27757
|
-
}),
|
|
27773
|
+
component: kR
|
|
27774
|
+
}), ER = Ue({
|
|
27758
27775
|
experimental: !0,
|
|
27759
27776
|
renderRules: {
|
|
27760
27777
|
bundles: [
|
|
@@ -27764,13 +27781,13 @@ const jP = /* @__PURE__ */ Pe({
|
|
|
27764
27781
|
"config.redis": ["config.policy", "redis"]
|
|
27765
27782
|
}
|
|
27766
27783
|
}
|
|
27767
|
-
}),
|
|
27784
|
+
}), xR = Ue({
|
|
27768
27785
|
experimental: !0
|
|
27769
|
-
}),
|
|
27786
|
+
}), SR = "__request_callout_";
|
|
27770
27787
|
function Lm() {
|
|
27771
|
-
return jr(
|
|
27788
|
+
return jr(SR);
|
|
27772
27789
|
}
|
|
27773
|
-
const ua = "_callout_id",
|
|
27790
|
+
const ua = "_callout_id", AR = /* @__PURE__ */ Pe({
|
|
27774
27791
|
__name: "CalloutForm",
|
|
27775
27792
|
props: {
|
|
27776
27793
|
index: {},
|
|
@@ -27790,7 +27807,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
27790
27807
|
);
|
|
27791
27808
|
}), (a, l) => (S(), Z(Gt, { name: e.fieldName }, {
|
|
27792
27809
|
depends_on: N((s) => [
|
|
27793
|
-
C(
|
|
27810
|
+
C(qt, We(s, {
|
|
27794
27811
|
items: o.value,
|
|
27795
27812
|
multiple: "",
|
|
27796
27813
|
required: !1
|
|
@@ -27799,7 +27816,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
27799
27816
|
request: N((s) => [
|
|
27800
27817
|
C(Gt, We(s, { "fields-order": ["url", "method", "headers", "query", "body", "http_opts", "error", "by_lua"] }), {
|
|
27801
27818
|
method: N((d) => [
|
|
27802
|
-
C(
|
|
27819
|
+
C(qt, We(d, {
|
|
27803
27820
|
items: u(ql)([
|
|
27804
27821
|
"GET",
|
|
27805
27822
|
"POST",
|
|
@@ -27819,7 +27836,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
27819
27836
|
_: 1
|
|
27820
27837
|
}, 8, ["name"]));
|
|
27821
27838
|
}
|
|
27822
|
-
}),
|
|
27839
|
+
}), IR = /* @__PURE__ */ Pe({
|
|
27823
27840
|
__name: "CalloutsForm",
|
|
27824
27841
|
setup(e) {
|
|
27825
27842
|
const { formData: t } = gt();
|
|
@@ -27836,7 +27853,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
27836
27853
|
onAdd: n
|
|
27837
27854
|
}, {
|
|
27838
27855
|
item: N(({ index: r, fieldName: a }) => [
|
|
27839
|
-
C(
|
|
27856
|
+
C(AR, {
|
|
27840
27857
|
"field-name": a,
|
|
27841
27858
|
index: r
|
|
27842
27859
|
}, null, 8, ["field-name", "index"])
|
|
@@ -27844,7 +27861,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
27844
27861
|
_: 1
|
|
27845
27862
|
}, 8, ["item-label"]));
|
|
27846
27863
|
}
|
|
27847
|
-
}),
|
|
27864
|
+
}), TR = /* @__PURE__ */ Pe({
|
|
27848
27865
|
__name: "ConfigForm",
|
|
27849
27866
|
setup(e) {
|
|
27850
27867
|
return (t, n) => (S(), Z(Gt, {
|
|
@@ -27853,7 +27870,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
27853
27870
|
"reset-label-path": "reset"
|
|
27854
27871
|
}, {
|
|
27855
27872
|
default: N(() => [
|
|
27856
|
-
C(
|
|
27873
|
+
C(IR),
|
|
27857
27874
|
C(Gt, {
|
|
27858
27875
|
appearance: "card",
|
|
27859
27876
|
"fields-order": ["headers", "query", "body", "by_lua"],
|
|
@@ -27894,7 +27911,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
27894
27911
|
_: 1
|
|
27895
27912
|
}));
|
|
27896
27913
|
}
|
|
27897
|
-
}),
|
|
27914
|
+
}), $R = /* @__PURE__ */ Pe({
|
|
27898
27915
|
__name: "RequestCalloutForm",
|
|
27899
27916
|
props: {
|
|
27900
27917
|
schema: {},
|
|
@@ -27986,22 +28003,22 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
27986
28003
|
}, 8, ["match"])
|
|
27987
28004
|
]),
|
|
27988
28005
|
default: N(() => [
|
|
27989
|
-
C(
|
|
28006
|
+
C(TR)
|
|
27990
28007
|
]),
|
|
27991
28008
|
_: 1
|
|
27992
28009
|
}, 16));
|
|
27993
28010
|
}
|
|
27994
|
-
}),
|
|
27995
|
-
component:
|
|
27996
|
-
}),
|
|
28011
|
+
}), OR = /* @__PURE__ */ ze($R, [["__scopeId", "data-v-dc955662"]]), PR = Ue({
|
|
28012
|
+
component: OR
|
|
28013
|
+
}), NR = Ue({
|
|
27997
28014
|
experimental: !0
|
|
27998
|
-
}),
|
|
28015
|
+
}), RR = Ue({
|
|
27999
28016
|
experimental: !0
|
|
28000
|
-
}),
|
|
28017
|
+
}), MR = Ue({
|
|
28001
28018
|
experimental: !0
|
|
28002
|
-
}),
|
|
28019
|
+
}), LR = Ue({
|
|
28003
28020
|
experimental: !0
|
|
28004
|
-
}),
|
|
28021
|
+
}), FR = Ue({
|
|
28005
28022
|
experimental: !0,
|
|
28006
28023
|
fieldRenderers: [
|
|
28007
28024
|
{
|
|
@@ -28029,7 +28046,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28029
28046
|
}
|
|
28030
28047
|
}
|
|
28031
28048
|
]
|
|
28032
|
-
}),
|
|
28049
|
+
}), KR = Ue({
|
|
28033
28050
|
experimental: !0,
|
|
28034
28051
|
renderRules: {
|
|
28035
28052
|
bundles: [
|
|
@@ -28039,7 +28056,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28039
28056
|
"config.redis": ["config.policy", "redis"]
|
|
28040
28057
|
}
|
|
28041
28058
|
}
|
|
28042
|
-
}),
|
|
28059
|
+
}), jR = Ue({
|
|
28043
28060
|
experimental: !0,
|
|
28044
28061
|
fieldRenderers: [
|
|
28045
28062
|
{
|
|
@@ -28051,7 +28068,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28051
28068
|
}
|
|
28052
28069
|
}
|
|
28053
28070
|
]
|
|
28054
|
-
}),
|
|
28071
|
+
}), DR = Ue({
|
|
28055
28072
|
experimental: !0,
|
|
28056
28073
|
fieldRenderers: [
|
|
28057
28074
|
{
|
|
@@ -28063,7 +28080,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28063
28080
|
}
|
|
28064
28081
|
}
|
|
28065
28082
|
]
|
|
28066
|
-
}),
|
|
28083
|
+
}), qR = Ue({
|
|
28067
28084
|
experimental: !0,
|
|
28068
28085
|
fieldRenderers: [
|
|
28069
28086
|
{
|
|
@@ -28075,12 +28092,14 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28075
28092
|
}
|
|
28076
28093
|
}
|
|
28077
28094
|
]
|
|
28078
|
-
}),
|
|
28095
|
+
}), BR = Ue({
|
|
28079
28096
|
experimental: !0
|
|
28080
|
-
}),
|
|
28097
|
+
}), UR = Ue({
|
|
28098
|
+
experimental: !0
|
|
28099
|
+
}), VR = { class: "sp-form-request-limits-subtitle" }, zR = { class: "sp-form-request-limits-content" }, GR = { class: "sp-form-window-type" }, HR = { class: "sp-form-request-limits-items" }, WR = { class: "sp-form-request-limits-row" }, YR = ["id"], JR = { class: "sp-form-request-limits-actions" }, XR = {
|
|
28081
28100
|
key: 0,
|
|
28082
28101
|
class: "sp-form-request-limits-examples"
|
|
28083
|
-
},
|
|
28102
|
+
}, ZR = { class: "sp-form-request-limits-examples-badges" }, Ss = "config.window_type", QR = /* @__PURE__ */ Pe({
|
|
28084
28103
|
__name: "RequestLimitsForm",
|
|
28085
28104
|
setup(e) {
|
|
28086
28105
|
var _;
|
|
@@ -28178,11 +28197,11 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28178
28197
|
]),
|
|
28179
28198
|
_: 1
|
|
28180
28199
|
}),
|
|
28181
|
-
ee("div",
|
|
28200
|
+
ee("div", VR, ue(u(t)("sp.request_limits.subtitle")), 1)
|
|
28182
28201
|
]),
|
|
28183
28202
|
default: N(() => [
|
|
28184
|
-
ee("div",
|
|
28185
|
-
ee("div",
|
|
28203
|
+
ee("div", zR, [
|
|
28204
|
+
ee("div", GR, [
|
|
28186
28205
|
C(pu, {
|
|
28187
28206
|
items: c.value,
|
|
28188
28207
|
label: u(t)("sp.window_type.label"),
|
|
@@ -28190,8 +28209,8 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28190
28209
|
"onUpdate:modelValue": b[0] || (b[0] = (O) => p.value = void 0)
|
|
28191
28210
|
}, null, 8, ["items", "label"])
|
|
28192
28211
|
]),
|
|
28193
|
-
ee("div",
|
|
28194
|
-
(S(!0), le(
|
|
28212
|
+
ee("div", HR, [
|
|
28213
|
+
(S(!0), le(Ge, null, et(r.value, (O, q) => (S(), le("div", {
|
|
28195
28214
|
key: u(a)(O, q)
|
|
28196
28215
|
}, [
|
|
28197
28216
|
C(x, {
|
|
@@ -28202,7 +28221,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28202
28221
|
]),
|
|
28203
28222
|
_: 2
|
|
28204
28223
|
}, 1032, ["for"]),
|
|
28205
|
-
ee("div",
|
|
28224
|
+
ee("div", WR, [
|
|
28206
28225
|
ee("legend", {
|
|
28207
28226
|
id: `sp-form-request-limits-item-${q}-legend`,
|
|
28208
28227
|
class: "sp-form-request-limits-inputs"
|
|
@@ -28217,8 +28236,8 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28217
28236
|
placeholder: u(t)("sp.request_limits.time_interval")
|
|
28218
28237
|
}, null, 8, ["name", "placeholder"]),
|
|
28219
28238
|
ee("div", null, ue(u(t)("sp.request_limits.seconds")), 1)
|
|
28220
|
-
], 8,
|
|
28221
|
-
ee("div",
|
|
28239
|
+
], 8, YR),
|
|
28240
|
+
ee("div", JR, [
|
|
28222
28241
|
C(E, {
|
|
28223
28242
|
appearance: "tertiary",
|
|
28224
28243
|
disabled: r.value.length <= 1,
|
|
@@ -28242,10 +28261,10 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28242
28261
|
])
|
|
28243
28262
|
]))), 128))
|
|
28244
28263
|
]),
|
|
28245
|
-
h.value.length > 0 ? (S(), le("div",
|
|
28264
|
+
h.value.length > 0 ? (S(), le("div", XR, [
|
|
28246
28265
|
ee("div", null, ue(u(t)("sp.start_with_a_use_case")), 1),
|
|
28247
|
-
ee("div",
|
|
28248
|
-
(S(!0), le(
|
|
28266
|
+
ee("div", ZR, [
|
|
28267
|
+
(S(!0), le(Ge, null, et(h.value, (O, q) => (S(), Z(w, {
|
|
28249
28268
|
key: `use-case-${q}`,
|
|
28250
28269
|
"max-width": "300"
|
|
28251
28270
|
}, {
|
|
@@ -28277,10 +28296,10 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28277
28296
|
});
|
|
28278
28297
|
};
|
|
28279
28298
|
}
|
|
28280
|
-
}),
|
|
28299
|
+
}), e2 = /* @__PURE__ */ ze(QR, [["__scopeId", "data-v-e12d9c9f"]]), t2 = {
|
|
28281
28300
|
id: "sp-form-error-legend",
|
|
28282
28301
|
class: "sp-form-error-inputs"
|
|
28283
|
-
},
|
|
28302
|
+
}, n2 = /* @__PURE__ */ Pe({
|
|
28284
28303
|
__name: "ErrorMessageForm",
|
|
28285
28304
|
setup(e) {
|
|
28286
28305
|
const { t } = Jt("en-us", on);
|
|
@@ -28301,7 +28320,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28301
28320
|
]),
|
|
28302
28321
|
_: 1
|
|
28303
28322
|
}, 8, ["info"]),
|
|
28304
|
-
ee("legend",
|
|
28323
|
+
ee("legend", t2, [
|
|
28305
28324
|
C(Yt, {
|
|
28306
28325
|
class: "input-error-code",
|
|
28307
28326
|
label: "",
|
|
@@ -28319,7 +28338,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28319
28338
|
]);
|
|
28320
28339
|
};
|
|
28321
28340
|
}
|
|
28322
|
-
}),
|
|
28341
|
+
}), i2 = /* @__PURE__ */ ze(n2, [["__scopeId", "data-v-0796e152"]]), o2 = /* @__PURE__ */ Pe({
|
|
28323
28342
|
__name: "RedisField",
|
|
28324
28343
|
setup(e) {
|
|
28325
28344
|
const { formData: t } = gt(), n = pt(Yn), i = pt(Bo), o = (i == null ? void 0 : i.isEditing) || !1, r = L(() => {
|
|
@@ -28342,18 +28361,18 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28342
28361
|
_: 1
|
|
28343
28362
|
}));
|
|
28344
28363
|
}
|
|
28345
|
-
}),
|
|
28364
|
+
}), a2 = /* @__PURE__ */ Pe({
|
|
28346
28365
|
__name: "ConfigForm",
|
|
28347
28366
|
setup(e) {
|
|
28348
|
-
return (t, n) => (S(), le(
|
|
28367
|
+
return (t, n) => (S(), le(Ge, null, [
|
|
28349
28368
|
C(Gt, {
|
|
28350
28369
|
"as-child": "",
|
|
28351
28370
|
name: "config",
|
|
28352
28371
|
"reset-label-path": "reset"
|
|
28353
28372
|
}, {
|
|
28354
28373
|
default: N(() => [
|
|
28355
|
-
C(
|
|
28356
|
-
C(
|
|
28374
|
+
C(e2),
|
|
28375
|
+
C(i2)
|
|
28357
28376
|
]),
|
|
28358
28377
|
_: 1
|
|
28359
28378
|
}),
|
|
@@ -28362,7 +28381,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28362
28381
|
C(st, { name: "config.dictionary_name" }),
|
|
28363
28382
|
C(st, { name: "config.lock_dictionary_name" }),
|
|
28364
28383
|
C(st, { name: "config.strategy" }),
|
|
28365
|
-
C(
|
|
28384
|
+
C(o2),
|
|
28366
28385
|
C(st, { name: "config.namespace" }),
|
|
28367
28386
|
C(st, { name: "config.hide_client_headers" }),
|
|
28368
28387
|
C(st, { name: "config.disable_penalty" }),
|
|
@@ -28373,7 +28392,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28373
28392
|
})
|
|
28374
28393
|
], 64));
|
|
28375
28394
|
}
|
|
28376
|
-
}),
|
|
28395
|
+
}), r2 = /* @__PURE__ */ Pe({
|
|
28377
28396
|
__name: "ServiceProtectionForm",
|
|
28378
28397
|
props: {
|
|
28379
28398
|
schema: {},
|
|
@@ -28403,17 +28422,17 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28403
28422
|
}
|
|
28404
28423
|
return (o, r) => (S(), Z(li, We(t, { "on-form-change": i }), {
|
|
28405
28424
|
default: N(() => [
|
|
28406
|
-
C(
|
|
28425
|
+
C(a2)
|
|
28407
28426
|
]),
|
|
28408
28427
|
_: 1
|
|
28409
28428
|
}, 16));
|
|
28410
28429
|
}
|
|
28411
|
-
}),
|
|
28430
|
+
}), s2 = Ue({
|
|
28412
28431
|
experimental: !0,
|
|
28413
|
-
component:
|
|
28414
|
-
}),
|
|
28432
|
+
component: r2
|
|
28433
|
+
}), l2 = Ue({
|
|
28415
28434
|
experimental: !0
|
|
28416
|
-
}),
|
|
28435
|
+
}), u2 = Ue({
|
|
28417
28436
|
experimental: !0,
|
|
28418
28437
|
fieldRenderers: [
|
|
28419
28438
|
{
|
|
@@ -28425,7 +28444,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28425
28444
|
}
|
|
28426
28445
|
}
|
|
28427
28446
|
]
|
|
28428
|
-
}),
|
|
28447
|
+
}), c2 = Ue({
|
|
28429
28448
|
experimental: !0,
|
|
28430
28449
|
fieldRenderers: [
|
|
28431
28450
|
{
|
|
@@ -28436,7 +28455,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28436
28455
|
}
|
|
28437
28456
|
}
|
|
28438
28457
|
]
|
|
28439
|
-
}),
|
|
28458
|
+
}), d2 = Ue({
|
|
28440
28459
|
experimental: !0,
|
|
28441
28460
|
fieldRenderers: [
|
|
28442
28461
|
{
|
|
@@ -28448,9 +28467,9 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28448
28467
|
}
|
|
28449
28468
|
}
|
|
28450
28469
|
]
|
|
28451
|
-
}),
|
|
28470
|
+
}), p2 = Ue({
|
|
28452
28471
|
experimental: !0
|
|
28453
|
-
}),
|
|
28472
|
+
}), f2 = Ue({
|
|
28454
28473
|
experimental: !0,
|
|
28455
28474
|
fieldRenderers: [
|
|
28456
28475
|
{
|
|
@@ -28462,7 +28481,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28462
28481
|
}
|
|
28463
28482
|
}
|
|
28464
28483
|
]
|
|
28465
|
-
}),
|
|
28484
|
+
}), m2 = Ue({
|
|
28466
28485
|
experimental: !0,
|
|
28467
28486
|
renderRules: {
|
|
28468
28487
|
bundles: [
|
|
@@ -28482,11 +28501,13 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28482
28501
|
}
|
|
28483
28502
|
}
|
|
28484
28503
|
]
|
|
28485
|
-
}),
|
|
28504
|
+
}), g2 = Ue({
|
|
28505
|
+
experimental: !0
|
|
28506
|
+
}), h2 = Ue({
|
|
28486
28507
|
experimental: !0
|
|
28487
|
-
}),
|
|
28508
|
+
}), y2 = Ue({
|
|
28488
28509
|
experimental: !0
|
|
28489
|
-
}),
|
|
28510
|
+
}), v2 = Ue({
|
|
28490
28511
|
experimental: !0,
|
|
28491
28512
|
fieldRenderers: [
|
|
28492
28513
|
{
|
|
@@ -28498,9 +28519,9 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28498
28519
|
}
|
|
28499
28520
|
}
|
|
28500
28521
|
]
|
|
28501
|
-
}),
|
|
28522
|
+
}), _2 = Ue({
|
|
28502
28523
|
experimental: !0
|
|
28503
|
-
}),
|
|
28524
|
+
}), b2 = Ue({
|
|
28504
28525
|
experimental: !0,
|
|
28505
28526
|
fieldRenderers: [
|
|
28506
28527
|
{
|
|
@@ -28512,7 +28533,7 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28512
28533
|
}
|
|
28513
28534
|
}
|
|
28514
28535
|
]
|
|
28515
|
-
}),
|
|
28536
|
+
}), w2 = /* @__PURE__ */ Object.assign({
|
|
28516
28537
|
"../plugins/ace.ts": xI,
|
|
28517
28538
|
"../plugins/acl/index.ts": $I,
|
|
28518
28539
|
"../plugins/ai-custom-guardrail.ts": OI,
|
|
@@ -28544,65 +28565,72 @@ const ua = "_callout_id", kR = /* @__PURE__ */ Pe({
|
|
|
28544
28565
|
"../plugins/graphql-proxy-cache-advanced.ts": _N,
|
|
28545
28566
|
"../plugins/graphql-rate-limiting-advanced.ts": bN,
|
|
28546
28567
|
"../plugins/header-cert-auth.ts": wN,
|
|
28547
|
-
"../plugins/
|
|
28548
|
-
"../plugins/
|
|
28549
|
-
"../plugins/
|
|
28550
|
-
"../plugins/
|
|
28551
|
-
"../plugins/jwt.ts": AN,
|
|
28552
|
-
"../plugins/
|
|
28553
|
-
"../plugins/kafka-
|
|
28554
|
-
"../plugins/kafka-
|
|
28555
|
-
"../plugins/
|
|
28556
|
-
"../plugins/
|
|
28557
|
-
"../plugins/
|
|
28558
|
-
"../plugins/
|
|
28559
|
-
"../plugins/
|
|
28560
|
-
"../plugins/
|
|
28561
|
-
"../plugins/
|
|
28562
|
-
"../plugins/
|
|
28563
|
-
"../plugins/
|
|
28564
|
-
"../plugins/
|
|
28565
|
-
"../plugins/
|
|
28566
|
-
"../plugins/
|
|
28567
|
-
"../plugins/
|
|
28568
|
-
"../plugins/
|
|
28569
|
-
"../plugins/
|
|
28570
|
-
"../plugins/
|
|
28571
|
-
"../plugins/
|
|
28572
|
-
"../plugins/
|
|
28573
|
-
"../plugins/
|
|
28574
|
-
"../plugins/
|
|
28575
|
-
"../plugins/request-
|
|
28576
|
-
"../plugins/
|
|
28577
|
-
"../plugins/
|
|
28578
|
-
"../plugins/
|
|
28579
|
-
"../plugins/
|
|
28580
|
-
"../plugins/
|
|
28581
|
-
"../plugins/
|
|
28582
|
-
"../plugins/
|
|
28583
|
-
"../plugins/
|
|
28584
|
-
"../plugins/
|
|
28585
|
-
"../plugins/
|
|
28586
|
-
"../plugins/
|
|
28587
|
-
"../plugins/
|
|
28588
|
-
"../plugins/
|
|
28589
|
-
"../plugins/
|
|
28590
|
-
"../plugins/
|
|
28591
|
-
"../plugins/
|
|
28592
|
-
"../plugins/
|
|
28593
|
-
"../plugins/
|
|
28568
|
+
"../plugins/hmac-auth.ts": kN,
|
|
28569
|
+
"../plugins/http-log.ts": CN,
|
|
28570
|
+
"../plugins/ip-restriction.ts": EN,
|
|
28571
|
+
"../plugins/jwe-decrypt.ts": xN,
|
|
28572
|
+
"../plugins/jwt-signer/index.ts": AN,
|
|
28573
|
+
"../plugins/jwt.ts": IN,
|
|
28574
|
+
"../plugins/kafka-consume.ts": TN,
|
|
28575
|
+
"../plugins/kafka-log.ts": $N,
|
|
28576
|
+
"../plugins/kafka-upstream.ts": ON,
|
|
28577
|
+
"../plugins/key-auth-enc.ts": PN,
|
|
28578
|
+
"../plugins/key-auth/index.ts": NN,
|
|
28579
|
+
"../plugins/ldap-auth-advanced.ts": RN,
|
|
28580
|
+
"../plugins/ldap-auth.ts": MN,
|
|
28581
|
+
"../plugins/metering-and-billing/index.ts": WN,
|
|
28582
|
+
"../plugins/mocking.ts": YN,
|
|
28583
|
+
"../plugins/mtls-auth.ts": JN,
|
|
28584
|
+
"../plugins/oas-validation.ts": XN,
|
|
28585
|
+
"../plugins/oauth2-introspection.ts": ZN,
|
|
28586
|
+
"../plugins/oauth2.ts": QN,
|
|
28587
|
+
"../plugins/opentelemetry.ts": eR,
|
|
28588
|
+
"../plugins/post-function.ts": tR,
|
|
28589
|
+
"../plugins/pre-function.ts": nR,
|
|
28590
|
+
"../plugins/prometheus.ts": iR,
|
|
28591
|
+
"../plugins/proxy-cache-advanced.ts": oR,
|
|
28592
|
+
"../plugins/proxy-cache.ts": aR,
|
|
28593
|
+
"../plugins/rate-limiting-advanced/index.ts": CR,
|
|
28594
|
+
"../plugins/rate-limiting.ts": ER,
|
|
28595
|
+
"../plugins/redirect.ts": xR,
|
|
28596
|
+
"../plugins/request-callout/index.ts": PR,
|
|
28597
|
+
"../plugins/request-size-limiting.ts": NR,
|
|
28598
|
+
"../plugins/request-termination.ts": RR,
|
|
28599
|
+
"../plugins/request-transformer-advanced.ts": MR,
|
|
28600
|
+
"../plugins/request-transformer.ts": LR,
|
|
28601
|
+
"../plugins/request-validator.ts": FR,
|
|
28602
|
+
"../plugins/response-ratelimiting.ts": KR,
|
|
28603
|
+
"../plugins/response-transformer-advanced.ts": jR,
|
|
28604
|
+
"../plugins/response-transformer.ts": DR,
|
|
28605
|
+
"../plugins/route-by-header.ts": qR,
|
|
28606
|
+
"../plugins/route-transformer-advanced.ts": BR,
|
|
28607
|
+
"../plugins/saml.ts": UR,
|
|
28608
|
+
"../plugins/service-protection/index.ts": s2,
|
|
28609
|
+
"../plugins/session.ts": l2,
|
|
28610
|
+
"../plugins/solace-consume.ts": u2,
|
|
28611
|
+
"../plugins/solace-log.ts": c2,
|
|
28612
|
+
"../plugins/solace-upstream.ts": d2,
|
|
28613
|
+
"../plugins/standard-webhooks.ts": p2,
|
|
28614
|
+
"../plugins/statsd.ts": f2,
|
|
28615
|
+
"../plugins/upstream-oauth.ts": m2,
|
|
28616
|
+
"../plugins/upstream-timeout.ts": g2,
|
|
28617
|
+
"../plugins/vault-auth.ts": h2,
|
|
28618
|
+
"../plugins/websocket-size-limit.ts": y2,
|
|
28619
|
+
"../plugins/websocket-validator.ts": v2,
|
|
28620
|
+
"../plugins/xml-threat-protection.ts": _2,
|
|
28621
|
+
"../plugins/zipkin.ts": b2
|
|
28594
28622
|
});
|
|
28595
|
-
function
|
|
28623
|
+
function k2(e) {
|
|
28596
28624
|
const t = e.match(/\.\.\/plugins\/(.+?)(?:\/index)?\.ts$/);
|
|
28597
28625
|
if (!t)
|
|
28598
28626
|
throw new Error(`Unable to derive plugin name from path: ${e}`);
|
|
28599
28627
|
const [, n] = t;
|
|
28600
28628
|
return n;
|
|
28601
28629
|
}
|
|
28602
|
-
function
|
|
28630
|
+
function C2(e) {
|
|
28603
28631
|
const t = {}, n = /* @__PURE__ */ new Map();
|
|
28604
28632
|
for (const [i, o] of Object.entries(e)) {
|
|
28605
|
-
const r =
|
|
28633
|
+
const r = k2(i);
|
|
28606
28634
|
if (n.has(r))
|
|
28607
28635
|
throw new Error(`Duplicate plugin config for "${r}": ${n.get(r)} and ${i}`);
|
|
28608
28636
|
n.set(r, i), t[r] = {
|
|
@@ -28614,7 +28642,7 @@ function h2(e) {
|
|
|
28614
28642
|
}
|
|
28615
28643
|
return t;
|
|
28616
28644
|
}
|
|
28617
|
-
const Fm =
|
|
28645
|
+
const Fm = C2(w2);
|
|
28618
28646
|
function Km(e) {
|
|
28619
28647
|
return Fm[e];
|
|
28620
28648
|
}
|
|
@@ -28626,22 +28654,22 @@ function jm(e, t) {
|
|
|
28626
28654
|
function Dm(e, t, n) {
|
|
28627
28655
|
return n === "freeform" ? !0 : n === "vfg" ? !1 : !!jm(e, t);
|
|
28628
28656
|
}
|
|
28629
|
-
function
|
|
28657
|
+
function E2() {
|
|
28630
28658
|
return Object.entries(Fm).filter(([, e]) => e.experimental).map(([e]) => e).sort((e, t) => e.localeCompare(t));
|
|
28631
28659
|
}
|
|
28632
28660
|
function mu() {
|
|
28633
28661
|
return pt($p, []);
|
|
28634
28662
|
}
|
|
28635
|
-
function
|
|
28636
|
-
const t = new Set(
|
|
28663
|
+
function x2(e) {
|
|
28664
|
+
const t = new Set(E2()), n = e.filter((o) => t.has(o)), i = e.filter((o) => !t.has(o));
|
|
28637
28665
|
return i.length > 0 && console.warn(
|
|
28638
28666
|
`[entities-plugins] Ignoring unknown experimental free-form plugins: ${i.join(", ")}`
|
|
28639
28667
|
), n;
|
|
28640
28668
|
}
|
|
28641
|
-
function
|
|
28642
|
-
Ft($p,
|
|
28669
|
+
function S2(e) {
|
|
28670
|
+
Ft($p, x2(e));
|
|
28643
28671
|
}
|
|
28644
|
-
function
|
|
28672
|
+
function A2() {
|
|
28645
28673
|
const e = mu();
|
|
28646
28674
|
return {
|
|
28647
28675
|
shouldUseFreeForm: (t, n) => Dm(t, e, n),
|
|
@@ -28723,11 +28751,11 @@ const Bm = (e) => {
|
|
|
28723
28751
|
e.protected_resource_metadata = null;
|
|
28724
28752
|
return;
|
|
28725
28753
|
}
|
|
28726
|
-
},
|
|
28754
|
+
}, I2 = {
|
|
28727
28755
|
shamefullyTransformPayload(e) {
|
|
28728
28756
|
return qm(e.payload.config), Bm(e.payload.config), Um(e.payload.config), e;
|
|
28729
28757
|
}
|
|
28730
|
-
},
|
|
28758
|
+
}, T2 = {
|
|
28731
28759
|
shamefullyTransformPayload(e) {
|
|
28732
28760
|
var t, n, i, o, r;
|
|
28733
28761
|
if (!((n = (t = e.payload.config) == null ? void 0 : t.access_logs) != null && n.custom_attributes_by_lua))
|
|
@@ -28738,7 +28766,7 @@ const Bm = (e) => {
|
|
|
28738
28766
|
}
|
|
28739
28767
|
return e;
|
|
28740
28768
|
}
|
|
28741
|
-
},
|
|
28769
|
+
}, $2 = {
|
|
28742
28770
|
shamefullyTransformPayload(e) {
|
|
28743
28771
|
var n, i;
|
|
28744
28772
|
const t = (i = (n = e.payload.config) == null ? void 0 : n.v2_strategies) == null ? void 0 : i.openid_connect;
|
|
@@ -28746,7 +28774,7 @@ const Bm = (e) => {
|
|
|
28746
28774
|
qm(o.config), Bm(o.config), Um(o.config);
|
|
28747
28775
|
}), e;
|
|
28748
28776
|
}
|
|
28749
|
-
},
|
|
28777
|
+
}, O2 = {
|
|
28750
28778
|
shamefullyTransformPayload(e) {
|
|
28751
28779
|
var n;
|
|
28752
28780
|
return !e.payload.config || !((n = e.payload.config) != null && n.token_exchange) || [
|
|
@@ -28771,10 +28799,10 @@ const Bm = (e) => {
|
|
|
28771
28799
|
return tn((o = e.payload.config) == null ? void 0 : o.token_exchange, i);
|
|
28772
28800
|
}) && (e.payload.config.token_exchange = null), e;
|
|
28773
28801
|
}
|
|
28774
|
-
},
|
|
28802
|
+
}, P2 = (e, t) => {
|
|
28775
28803
|
const n = e.model.startsWith("config-"), i = t.model.startsWith("config-");
|
|
28776
28804
|
return n && !i ? 1 : !n && i ? -1 : 0;
|
|
28777
|
-
}, Vm = (e, t) => (e.order ?? 0) - (t.order ?? 0), Wc = (e, t) =>
|
|
28805
|
+
}, Vm = (e, t) => (e.order ?? 0) - (t.order ?? 0), Wc = (e, t) => P2(e, t) || Vm(e, t) || e.model.localeCompare(t.model), N2 = (e) => {
|
|
28778
28806
|
const { capitalize: t } = fl(), { convertToDotNotation: n } = Hp(), { i18n: { t: i } } = it(), o = mu(), r = {
|
|
28779
28807
|
"application-registration": {
|
|
28780
28808
|
overwriteDefault: !0,
|
|
@@ -28895,16 +28923,16 @@ const Bm = (e) => {
|
|
|
28895
28923
|
...FE
|
|
28896
28924
|
},
|
|
28897
28925
|
"openid-connect": {
|
|
28898
|
-
...
|
|
28926
|
+
...I2
|
|
28899
28927
|
},
|
|
28900
28928
|
opentelemetry: {
|
|
28901
|
-
...
|
|
28929
|
+
...T2
|
|
28902
28930
|
},
|
|
28903
28931
|
"konnect-application-auth": {
|
|
28904
|
-
|
|
28932
|
+
...$2
|
|
28905
28933
|
},
|
|
28906
28934
|
"ai-mcp-oauth2": {
|
|
28907
|
-
...
|
|
28935
|
+
...O2
|
|
28908
28936
|
}
|
|
28909
28937
|
}, a = () => ["created_at", "updated_at", "id", "_isCustomPlugin", "_sourcePlugin", "_supported_redis_partial_type", "_redis_partial_path"], l = (w, T, O, q) => {
|
|
28910
28938
|
let A = {};
|
|
@@ -29129,20 +29157,20 @@ const Bm = (e) => {
|
|
|
29129
29157
|
typedefs: Co,
|
|
29130
29158
|
pruneRecord: k
|
|
29131
29159
|
};
|
|
29132
|
-
}, tr = Symbol("customPluginType"),
|
|
29160
|
+
}, tr = Symbol("customPluginType"), R2 = 1e3, M2 = 20, Yc = 5e3, Jc = (e, t = R2) => {
|
|
29133
29161
|
const n = /^[a-z][a-z\d+.-]*:/i.test(e), i = new URL(e, "http://localhost");
|
|
29134
29162
|
return i.searchParams.has("size") || i.searchParams.set("size", `${t}`), n ? i.toString() : `${i.pathname}${i.search}${i.hash}`;
|
|
29135
29163
|
}, Ir = async (e, t, n) => {
|
|
29136
29164
|
const i = [];
|
|
29137
29165
|
let o = Jc(t), r = null, a = 0;
|
|
29138
|
-
for (; o && a <
|
|
29166
|
+
for (; o && a < M2 && i.length < Yc && o !== r; ) {
|
|
29139
29167
|
r = o;
|
|
29140
29168
|
const s = (await e.get(o, { signal: n })).data;
|
|
29141
29169
|
Array.isArray(s == null ? void 0 : s.data) && i.push(...s.data), o = s != null && s.next ? Jc(s.next) : null, a += 1;
|
|
29142
29170
|
}
|
|
29143
29171
|
return i.slice(0, Yc);
|
|
29144
29172
|
};
|
|
29145
|
-
function
|
|
29173
|
+
function L2(e) {
|
|
29146
29174
|
const { axiosInstance: t, apiBaseUrl: n } = e, i = () => {
|
|
29147
29175
|
if (e.app !== "konnect")
|
|
29148
29176
|
throw new Error("Installed custom plugin APIs are only available for Konnect");
|
|
@@ -29231,25 +29259,25 @@ const lt = {
|
|
|
29231
29259
|
useI18n: it,
|
|
29232
29260
|
usePluginMetaData: Yp,
|
|
29233
29261
|
usePluginHelpers: Hp,
|
|
29234
|
-
useSchemas:
|
|
29262
|
+
useSchemas: N2,
|
|
29235
29263
|
useExperimentalFreeForms: mu,
|
|
29236
|
-
useProvideExperimentalFreeForms:
|
|
29237
|
-
useFreeFormResolver:
|
|
29238
|
-
useCustomPluginApi:
|
|
29264
|
+
useProvideExperimentalFreeForms: S2,
|
|
29265
|
+
useFreeFormResolver: A2,
|
|
29266
|
+
useCustomPluginApi: L2
|
|
29239
29267
|
}, zm = (e) => {
|
|
29240
29268
|
var n, i, o, r;
|
|
29241
29269
|
const t = e == null ? void 0 : e.response;
|
|
29242
29270
|
return (t == null ? void 0 : t.status) === 400 && (((i = (n = t.data) == null ? void 0 : n.message) == null ? void 0 : i.includes("plugin schema is currently in use")) || ((o = t.data) == null ? void 0 : o.code) === 19 || ((r = t.data) == null ? void 0 : r.name) === "referenced by others");
|
|
29243
|
-
},
|
|
29271
|
+
}, F2 = { class: "kong-ui-entities-custom-plugin-form" }, K2 = { class: "plugin-type-radios" }, j2 = { class: "compare-table-wrapper" }, D2 = { class: "compare-table" }, q2 = {
|
|
29244
29272
|
key: 0,
|
|
29245
29273
|
scope: "col"
|
|
29246
|
-
},
|
|
29274
|
+
}, B2 = {
|
|
29247
29275
|
key: 1,
|
|
29248
29276
|
scope: "col"
|
|
29249
|
-
},
|
|
29277
|
+
}, U2 = {
|
|
29250
29278
|
key: 2,
|
|
29251
29279
|
scope: "col"
|
|
29252
|
-
},
|
|
29280
|
+
}, V2 = { scope: "row" }, z2 = { key: 0 }, G2 = { key: 1 }, H2 = { key: 2 }, W2 = { scope: "row" }, Y2 = { key: 0 }, J2 = { class: "compare-list" }, X2 = { key: 1 }, Z2 = { class: "compare-list" }, Q2 = { key: 2 }, eM = { scope: "row" }, tM = { key: 0 }, nM = { key: 1 }, iM = { key: 2 }, oM = { scope: "row" }, aM = { key: 0 }, rM = { key: 1 }, sM = { key: 2 }, lM = { scope: "row" }, uM = { key: 0 }, cM = { key: 1 }, dM = { key: 2 }, pM = { class: "plugin-modules-section" }, fM = { class: "plugin-select-item" }, mM = { class: "plugin-select-item" }, gM = { key: 1 }, hM = 1 * 1024 * 1024, yM = /* @__PURE__ */ Pe({
|
|
29253
29281
|
__name: "CustomPluginForm",
|
|
29254
29282
|
props: {
|
|
29255
29283
|
config: {
|
|
@@ -29417,7 +29445,7 @@ const lt = {
|
|
|
29417
29445
|
}), D = async (pe, he) => {
|
|
29418
29446
|
const Ke = he[0];
|
|
29419
29447
|
if (Ke) {
|
|
29420
|
-
if (Ke.size >
|
|
29448
|
+
if (Ke.size > hM) {
|
|
29421
29449
|
M.errorMessage = a("custom_plugin_form.errors.file_too_large");
|
|
29422
29450
|
return;
|
|
29423
29451
|
}
|
|
@@ -29502,7 +29530,7 @@ const lt = {
|
|
|
29502
29530
|
};
|
|
29503
29531
|
return (pe, he) => {
|
|
29504
29532
|
const Ke = xe("KSkeleton"), Be = xe("KEmptyState"), je = xe("KRadio"), He = xe("KCollapse"), Ye = xe("KFileUpload"), rt = xe("KLabel"), ft = xe("KAlert"), qe = xe("KSelect"), Ce = xe("KInput"), se = xe("KButton");
|
|
29505
|
-
return S(), le("div",
|
|
29533
|
+
return S(), le("div", F2, [
|
|
29506
29534
|
C(u(md), {
|
|
29507
29535
|
ref_key: "entityBaseFormRef",
|
|
29508
29536
|
ref: x,
|
|
@@ -29519,7 +29547,7 @@ const lt = {
|
|
|
29519
29547
|
onSubmit: we
|
|
29520
29548
|
}, {
|
|
29521
29549
|
"form-actions": N(() => [
|
|
29522
|
-
A.value || I.value || j.value ? (S(), le("span",
|
|
29550
|
+
A.value || I.value || j.value ? (S(), le("span", gM)) : (S(), le(Ge, { key: 0 }, [
|
|
29523
29551
|
C(se, {
|
|
29524
29552
|
appearance: "primary",
|
|
29525
29553
|
"data-testid": "custom-plugin-form-submit",
|
|
@@ -29581,7 +29609,7 @@ const lt = {
|
|
|
29581
29609
|
ee("h3", null, ue(u(a)("custom_plugin_form.errors.no_supported_types")), 1)
|
|
29582
29610
|
]),
|
|
29583
29611
|
_: 1
|
|
29584
|
-
})) : (S(), le(
|
|
29612
|
+
})) : (S(), le(Ge, { key: 3 }, [
|
|
29585
29613
|
Q.value ? (S(), Z(u(Bn), {
|
|
29586
29614
|
key: 0,
|
|
29587
29615
|
class: "custom-plugin-form-steps",
|
|
@@ -29589,7 +29617,7 @@ const lt = {
|
|
|
29589
29617
|
title: u(a)("custom_plugin_form.step1.title")
|
|
29590
29618
|
}, {
|
|
29591
29619
|
default: N(() => [
|
|
29592
|
-
ee("div",
|
|
29620
|
+
ee("div", K2, [
|
|
29593
29621
|
oe("installed") ? (S(), Z(je, {
|
|
29594
29622
|
key: 0,
|
|
29595
29623
|
modelValue: M.fields.pluginType,
|
|
@@ -29633,39 +29661,39 @@ const lt = {
|
|
|
29633
29661
|
"trigger-label": u(a)("custom_plugin_form.step1.compare_trigger")
|
|
29634
29662
|
}, {
|
|
29635
29663
|
default: N(() => [
|
|
29636
|
-
ee("div",
|
|
29637
|
-
ee("table",
|
|
29664
|
+
ee("div", j2, [
|
|
29665
|
+
ee("table", D2, [
|
|
29638
29666
|
ee("thead", null, [
|
|
29639
29667
|
ee("tr", null, [
|
|
29640
29668
|
he[15] || (he[15] = ee("th", { scope: "col" }, null, -1)),
|
|
29641
|
-
oe("installed") ? (S(), le("th",
|
|
29642
|
-
oe("streamed") ? (S(), le("th",
|
|
29643
|
-
oe("cloned") ? (S(), le("th",
|
|
29669
|
+
oe("installed") ? (S(), le("th", q2, ue(u(a)("custom_plugin_form.step1.compare_table.columns.installed")), 1)) : ye("", !0),
|
|
29670
|
+
oe("streamed") ? (S(), le("th", B2, ue(u(a)("custom_plugin_form.step1.compare_table.columns.streamed")), 1)) : ye("", !0),
|
|
29671
|
+
oe("cloned") ? (S(), le("th", U2, ue(u(a)("custom_plugin_form.step1.compare_table.columns.cloned")), 1)) : ye("", !0)
|
|
29644
29672
|
])
|
|
29645
29673
|
]),
|
|
29646
29674
|
ee("tbody", null, [
|
|
29647
29675
|
ee("tr", null, [
|
|
29648
|
-
ee("th",
|
|
29649
|
-
oe("installed") ? (S(), le("td",
|
|
29650
|
-
oe("streamed") ? (S(), le("td",
|
|
29651
|
-
oe("cloned") ? (S(), le("td",
|
|
29676
|
+
ee("th", V2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.header")), 1),
|
|
29677
|
+
oe("installed") ? (S(), le("td", z2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.installed")), 1)) : ye("", !0),
|
|
29678
|
+
oe("streamed") ? (S(), le("td", G2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.streamed")), 1)) : ye("", !0),
|
|
29679
|
+
oe("cloned") ? (S(), le("td", H2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.main_use_case.cloned")), 1)) : ye("", !0)
|
|
29652
29680
|
]),
|
|
29653
29681
|
ee("tr", null, [
|
|
29654
|
-
ee("th",
|
|
29655
|
-
oe("installed") ? (S(), le("td",
|
|
29656
|
-
ee("ul",
|
|
29682
|
+
ee("th", W2, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.header")), 1),
|
|
29683
|
+
oe("installed") ? (S(), le("td", Y2, [
|
|
29684
|
+
ee("ul", J2, [
|
|
29657
29685
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.handler")), 1),
|
|
29658
29686
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.schema")), 1),
|
|
29659
29687
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.installed.additional")), 1)
|
|
29660
29688
|
])
|
|
29661
29689
|
])) : ye("", !0),
|
|
29662
|
-
oe("streamed") ? (S(), le("td",
|
|
29663
|
-
ee("ul",
|
|
29690
|
+
oe("streamed") ? (S(), le("td", X2, [
|
|
29691
|
+
ee("ul", Z2, [
|
|
29664
29692
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.streamed.handler")), 1),
|
|
29665
29693
|
ee("li", null, ue(u(a)("custom_plugin_form.step1.compare_table.rows.file_supplied.streamed.schema")), 1)
|
|
29666
29694
|
])
|
|
29667
29695
|
])) : ye("", !0),
|
|
29668
|
-
oe("cloned") ? (S(), le("td",
|
|
29696
|
+
oe("cloned") ? (S(), le("td", Q2, [
|
|
29669
29697
|
C(u(Da), {
|
|
29670
29698
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29671
29699
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
@@ -29673,20 +29701,20 @@ const lt = {
|
|
|
29673
29701
|
])) : ye("", !0)
|
|
29674
29702
|
]),
|
|
29675
29703
|
ee("tr", null, [
|
|
29676
|
-
ee("th",
|
|
29677
|
-
oe("installed") ? (S(), le("td",
|
|
29678
|
-
oe("streamed") ? (S(), le("td",
|
|
29679
|
-
oe("cloned") ? (S(), le("td",
|
|
29704
|
+
ee("th", eM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.header")), 1),
|
|
29705
|
+
oe("installed") ? (S(), le("td", tM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.installed")), 1)) : ye("", !0),
|
|
29706
|
+
oe("streamed") ? (S(), le("td", nM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.streamed")), 1)) : ye("", !0),
|
|
29707
|
+
oe("cloned") ? (S(), le("td", iM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.how_installed.cloned")), 1)) : ye("", !0)
|
|
29680
29708
|
]),
|
|
29681
29709
|
ee("tr", null, [
|
|
29682
|
-
ee("th",
|
|
29683
|
-
oe("installed") ? (S(), le("td",
|
|
29710
|
+
ee("th", oM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.sandboxing.header")), 1),
|
|
29711
|
+
oe("installed") ? (S(), le("td", aM, [
|
|
29684
29712
|
C(u(Da), {
|
|
29685
29713
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29686
29714
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
29687
29715
|
}, null, 8, ["color", "size"])
|
|
29688
29716
|
])) : ye("", !0),
|
|
29689
|
-
oe("streamed") ? (S(), le("td",
|
|
29717
|
+
oe("streamed") ? (S(), le("td", rM, [
|
|
29690
29718
|
C(u(l), { keypath: "custom_plugin_form.step1.compare_table.rows.sandboxing.streamed" }, {
|
|
29691
29719
|
link: N(() => [
|
|
29692
29720
|
C(u(bu), {
|
|
@@ -29702,23 +29730,23 @@ const lt = {
|
|
|
29702
29730
|
_: 1
|
|
29703
29731
|
})
|
|
29704
29732
|
])) : ye("", !0),
|
|
29705
|
-
oe("cloned") ? (S(), le("td",
|
|
29733
|
+
oe("cloned") ? (S(), le("td", sM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.sandboxing.cloned")), 1)) : ye("", !0)
|
|
29706
29734
|
]),
|
|
29707
29735
|
ee("tr", null, [
|
|
29708
|
-
ee("th",
|
|
29709
|
-
oe("installed") ? (S(), le("td",
|
|
29736
|
+
ee("th", lM, ue(u(a)("custom_plugin_form.step1.compare_table.rows.data_plane_reload.header")), 1),
|
|
29737
|
+
oe("installed") ? (S(), le("td", uM, [
|
|
29710
29738
|
C(u(Cg), {
|
|
29711
29739
|
color: `var(--kui-color-text-success, ${u(xd)})`,
|
|
29712
29740
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
29713
29741
|
}, null, 8, ["color", "size"])
|
|
29714
29742
|
])) : ye("", !0),
|
|
29715
|
-
oe("streamed") ? (S(), le("td",
|
|
29743
|
+
oe("streamed") ? (S(), le("td", cM, [
|
|
29716
29744
|
C(u(Da), {
|
|
29717
29745
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29718
29746
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
29719
29747
|
}, null, 8, ["color", "size"])
|
|
29720
29748
|
])) : ye("", !0),
|
|
29721
|
-
oe("cloned") ? (S(), le("td",
|
|
29749
|
+
oe("cloned") ? (S(), le("td", dM, [
|
|
29722
29750
|
C(u(Da), {
|
|
29723
29751
|
color: `var(--kui-color-text-neutral, ${u(ni)})`,
|
|
29724
29752
|
size: `var(--kui-icon-size-30, ${u(Un)})`
|
|
@@ -29752,7 +29780,7 @@ const lt = {
|
|
|
29752
29780
|
onFileAdded: he[4] || (he[4] = (ie) => D("schema", ie)),
|
|
29753
29781
|
onFileRemoved: he[5] || (he[5] = (ie) => re("schema"))
|
|
29754
29782
|
}, null, 8, ["button-text", "help", "label", "placeholder", "required"]),
|
|
29755
|
-
ee("div",
|
|
29783
|
+
ee("div", pM, [
|
|
29756
29784
|
C(rt, null, {
|
|
29757
29785
|
default: N(() => [
|
|
29758
29786
|
Le(ue(u(a)("custom_plugin_form.step2_files.plugin_modules.label")), 1)
|
|
@@ -29817,7 +29845,7 @@ const lt = {
|
|
|
29817
29845
|
required: ""
|
|
29818
29846
|
}, {
|
|
29819
29847
|
"item-template": N(({ item: ie }) => [
|
|
29820
|
-
ee("div",
|
|
29848
|
+
ee("div", fM, [
|
|
29821
29849
|
C(u(qi), {
|
|
29822
29850
|
name: String(ie.value),
|
|
29823
29851
|
size: 20
|
|
@@ -29826,7 +29854,7 @@ const lt = {
|
|
|
29826
29854
|
])
|
|
29827
29855
|
]),
|
|
29828
29856
|
"selected-item-template": N(({ item: ie }) => [
|
|
29829
|
-
ee("div",
|
|
29857
|
+
ee("div", mM, [
|
|
29830
29858
|
C(u(qi), {
|
|
29831
29859
|
name: String(ie.value),
|
|
29832
29860
|
size: 20
|
|
@@ -29922,7 +29950,7 @@ const lt = {
|
|
|
29922
29950
|
]);
|
|
29923
29951
|
};
|
|
29924
29952
|
}
|
|
29925
|
-
}),
|
|
29953
|
+
}), SK = /* @__PURE__ */ ze(yM, [["__scopeId", "data-v-0c1e017a"]]), vM = (e, t) => ({
|
|
29926
29954
|
type: "array",
|
|
29927
29955
|
valueType: "string",
|
|
29928
29956
|
valueArrayType: "array",
|
|
@@ -29941,7 +29969,7 @@ const lt = {
|
|
|
29941
29969
|
},
|
|
29942
29970
|
...(t == null ? void 0 : t[0]) != null ? { default: t[0] } : {}
|
|
29943
29971
|
}
|
|
29944
|
-
}),
|
|
29972
|
+
}), _M = { class: "referable-field-item" }, bM = 24, wM = /* @__PURE__ */ Pe({
|
|
29945
29973
|
__name: "ReferableFieldItem",
|
|
29946
29974
|
props: {
|
|
29947
29975
|
field: {},
|
|
@@ -29958,25 +29986,25 @@ const lt = {
|
|
|
29958
29986
|
const a = `label[for="${i.value}"]`, l = document.querySelector(a) || document.getElementById(i.value);
|
|
29959
29987
|
if (!l)
|
|
29960
29988
|
return;
|
|
29961
|
-
const s = Math.max(0, l.getBoundingClientRect().top + window.scrollY -
|
|
29989
|
+
const s = Math.max(0, l.getBoundingClientRect().top + window.scrollY - bM), d = () => {
|
|
29962
29990
|
var f;
|
|
29963
29991
|
(f = l.click) == null || f.call(l);
|
|
29964
29992
|
};
|
|
29965
29993
|
window.addEventListener("scrollend", d, { once: !0 }), window.scrollTo({ top: s, behavior: "smooth" });
|
|
29966
29994
|
};
|
|
29967
|
-
return (a, l) => (S(), le("span",
|
|
29995
|
+
return (a, l) => (S(), le("span", _M, [
|
|
29968
29996
|
ee("span", {
|
|
29969
29997
|
class: "referable-field-link",
|
|
29970
29998
|
role: "button",
|
|
29971
29999
|
tabindex: "0",
|
|
29972
30000
|
onClick: r
|
|
29973
30001
|
}, ue(o.value), 1),
|
|
29974
|
-
e.isLast ? ye("", !0) : (S(), le(
|
|
30002
|
+
e.isLast ? ye("", !0) : (S(), le(Ge, { key: 0 }, [
|
|
29975
30003
|
Le(", ")
|
|
29976
30004
|
], 64))
|
|
29977
30005
|
]));
|
|
29978
30006
|
}
|
|
29979
|
-
}), Xc = /* @__PURE__ */
|
|
30007
|
+
}), Xc = /* @__PURE__ */ ze(wM, [["__scopeId", "data-v-949a9ea1"]]), kM = { key: 0 }, CM = /* @__PURE__ */ Pe({
|
|
29980
30008
|
__name: "PluginFieldRuleAlerts",
|
|
29981
30009
|
props: {
|
|
29982
30010
|
rules: {}
|
|
@@ -30000,12 +30028,12 @@ const lt = {
|
|
|
30000
30028
|
return S(), Z(l, { class: "plugin-field-rule-alerts" }, {
|
|
30001
30029
|
default: N(() => [
|
|
30002
30030
|
ee("ul", null, [
|
|
30003
|
-
(S(!0), le(
|
|
30031
|
+
(S(!0), le(Ge, null, et(o.value, ({ key: s, fields: d }, f) => (S(), le("li", {
|
|
30004
30032
|
key: `simple-alert-${f}`
|
|
30005
30033
|
}, [
|
|
30006
30034
|
C(u(i), { keypath: s }, {
|
|
30007
30035
|
parameters: N(() => [
|
|
30008
|
-
(S(!0), le(
|
|
30036
|
+
(S(!0), le(Ge, null, et(d, (c, p) => (S(), Z(Xc, {
|
|
30009
30037
|
key: `alert-field-${c}`,
|
|
30010
30038
|
field: c,
|
|
30011
30039
|
"is-last": p === d.length - 1
|
|
@@ -30014,16 +30042,16 @@ const lt = {
|
|
|
30014
30042
|
_: 2
|
|
30015
30043
|
}, 1032, ["keypath"])
|
|
30016
30044
|
]))), 128)),
|
|
30017
|
-
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (S(), le("li",
|
|
30018
|
-
(S(!0), le(
|
|
30045
|
+
t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (S(), le("li", kM, [
|
|
30046
|
+
(S(!0), le(Ge, null, et(t.rules.onlyOneOfMutuallyRequired, (s, d) => (S(), le("div", {
|
|
30019
30047
|
key: `only-one-mutually-alert-${d}`
|
|
30020
30048
|
}, [
|
|
30021
30049
|
ee("div", null, ue(u(n)("plugins.form.field_rules.only_one_of_mutually_required")), 1),
|
|
30022
30050
|
ee("ul", null, [
|
|
30023
|
-
(S(!0), le(
|
|
30051
|
+
(S(!0), le(Ge, null, et(s, (f, c) => (S(), le("li", {
|
|
30024
30052
|
key: `only-one-mutually-alert-${d}-combination-${c}`
|
|
30025
30053
|
}, [
|
|
30026
|
-
(S(!0), le(
|
|
30054
|
+
(S(!0), le(Ge, null, et(f, (p, m) => (S(), Z(Xc, {
|
|
30027
30055
|
key: `only-one-mutually-field-${p}`,
|
|
30028
30056
|
field: p,
|
|
30029
30057
|
"is-last": m === f.length - 1
|
|
@@ -30038,8 +30066,8 @@ const lt = {
|
|
|
30038
30066
|
});
|
|
30039
30067
|
};
|
|
30040
30068
|
}
|
|
30041
|
-
}),
|
|
30042
|
-
function
|
|
30069
|
+
}), EM = /* @__PURE__ */ ze(CM, [["__scopeId", "data-v-5f9ff453"]]);
|
|
30070
|
+
function xM(e) {
|
|
30043
30071
|
if (e.length === 0) return "";
|
|
30044
30072
|
if (e.length === 1) {
|
|
30045
30073
|
const o = fn(e[0]);
|
|
@@ -30058,18 +30086,18 @@ function vM(e) {
|
|
|
30058
30086
|
function gu(e) {
|
|
30059
30087
|
return "at_least_one_of" in e ? e.at_least_one_of : "mutually_required" in e ? e.mutually_required : "mutually_exclusive" in e ? e.mutually_exclusive : null;
|
|
30060
30088
|
}
|
|
30061
|
-
function
|
|
30089
|
+
function SM(e, t) {
|
|
30062
30090
|
if (!t) return e;
|
|
30063
30091
|
const n = t + Pa;
|
|
30064
30092
|
return e.map(
|
|
30065
30093
|
(i) => i.startsWith(n) ? i.slice(n.length) : i
|
|
30066
30094
|
);
|
|
30067
30095
|
}
|
|
30068
|
-
function
|
|
30069
|
-
const n = gu(e), i =
|
|
30096
|
+
function AM(e, t) {
|
|
30097
|
+
const n = gu(e), i = SM(n, t);
|
|
30070
30098
|
return "at_least_one_of" in e ? { at_least_one_of: i } : "mutually_required" in e ? { mutually_required: i } : { mutually_exclusive: i };
|
|
30071
30099
|
}
|
|
30072
|
-
function
|
|
30100
|
+
function IM(e) {
|
|
30073
30101
|
const t = [], n = /* @__PURE__ */ new Map();
|
|
30074
30102
|
for (const i of e) {
|
|
30075
30103
|
const o = gu(i);
|
|
@@ -30077,17 +30105,17 @@ function wM(e) {
|
|
|
30077
30105
|
t.push(i);
|
|
30078
30106
|
continue;
|
|
30079
30107
|
}
|
|
30080
|
-
const r =
|
|
30108
|
+
const r = xM(o);
|
|
30081
30109
|
if (!r) {
|
|
30082
30110
|
t.push(i);
|
|
30083
30111
|
continue;
|
|
30084
30112
|
}
|
|
30085
|
-
const a =
|
|
30113
|
+
const a = AM(i, r);
|
|
30086
30114
|
n.has(r) || n.set(r, []), n.get(r).push(a);
|
|
30087
30115
|
}
|
|
30088
30116
|
return { keep: t, move: n };
|
|
30089
30117
|
}
|
|
30090
|
-
function
|
|
30118
|
+
function TM(e, t, n) {
|
|
30091
30119
|
const i = fn(t);
|
|
30092
30120
|
let o = e;
|
|
30093
30121
|
for (const r of i) {
|
|
@@ -30105,27 +30133,27 @@ function kM(e, t, n) {
|
|
|
30105
30133
|
function Gm(e) {
|
|
30106
30134
|
var t;
|
|
30107
30135
|
if ((t = e.entity_checks) != null && t.length) {
|
|
30108
|
-
const { keep: n, move: i } =
|
|
30136
|
+
const { keep: n, move: i } = IM(e.entity_checks);
|
|
30109
30137
|
e.entity_checks = n.length ? n : void 0;
|
|
30110
30138
|
for (const [o, r] of i)
|
|
30111
|
-
|
|
30139
|
+
TM(e, o, r);
|
|
30112
30140
|
}
|
|
30113
30141
|
for (const n of e.fields) {
|
|
30114
30142
|
const i = Object.values(n)[0];
|
|
30115
30143
|
i.type === "record" && Gm(i);
|
|
30116
30144
|
}
|
|
30117
30145
|
}
|
|
30118
|
-
function
|
|
30146
|
+
function $M(e) {
|
|
30119
30147
|
const t = JSON.parse(JSON.stringify(e)), n = {
|
|
30120
30148
|
fields: t.fields
|
|
30121
30149
|
};
|
|
30122
30150
|
return Gm(n), t.fields = n.fields, t;
|
|
30123
30151
|
}
|
|
30124
|
-
function
|
|
30152
|
+
function OM(e, t) {
|
|
30125
30153
|
const n = Tn[e];
|
|
30126
30154
|
if (!n || !n.fieldRules)
|
|
30127
30155
|
return t;
|
|
30128
|
-
const i =
|
|
30156
|
+
const i = PM(n.fieldRules), o = { ...t };
|
|
30129
30157
|
return o.fields = o.fields.map((r) => {
|
|
30130
30158
|
if (Object.keys(r)[0] === "config") {
|
|
30131
30159
|
const l = r.config.entity_checks || [], s = (c) => {
|
|
@@ -30148,7 +30176,7 @@ function EM(e, t) {
|
|
|
30148
30176
|
return r;
|
|
30149
30177
|
}), o;
|
|
30150
30178
|
}
|
|
30151
|
-
function
|
|
30179
|
+
function PM(e) {
|
|
30152
30180
|
const t = [], n = (i) => i.startsWith("config.") ? i.substring(7) : i;
|
|
30153
30181
|
return e.atLeastOneOf && e.atLeastOneOf.forEach((i) => {
|
|
30154
30182
|
t.push({
|
|
@@ -30181,10 +30209,10 @@ function xM(e) {
|
|
|
30181
30209
|
}
|
|
30182
30210
|
}), t;
|
|
30183
30211
|
}
|
|
30184
|
-
const
|
|
30212
|
+
const NM = { class: "kong-ui-entities-plugin-form" }, RM = {
|
|
30185
30213
|
key: 1,
|
|
30186
30214
|
class: "entity-form"
|
|
30187
|
-
},
|
|
30215
|
+
}, MM = { class: "plugin-config-empty-state" }, LM = /* @__PURE__ */ Pe({
|
|
30188
30216
|
__name: "PluginEntityForm",
|
|
30189
30217
|
props: {
|
|
30190
30218
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -30355,11 +30383,11 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
30355
30383
|
var Ce;
|
|
30356
30384
|
return (Ce = Q.value) == null ? void 0 : Ce.options;
|
|
30357
30385
|
}), M = L(() => {
|
|
30358
|
-
const Ce =
|
|
30386
|
+
const Ce = OM(
|
|
30359
30387
|
F.name,
|
|
30360
30388
|
i.rawSchema
|
|
30361
30389
|
);
|
|
30362
|
-
return
|
|
30390
|
+
return $M(Ce);
|
|
30363
30391
|
}), W = me(!1), z = me(), H = (Ce, se) => {
|
|
30364
30392
|
W.value = Ce ?? "", z.value = se;
|
|
30365
30393
|
}, U = (Ce) => {
|
|
@@ -30599,12 +30627,12 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
30599
30627
|
}), (Ce, se) => {
|
|
30600
30628
|
var Y, de, fe;
|
|
30601
30629
|
const ie = xe("KSkeleton");
|
|
30602
|
-
return S(), le(
|
|
30603
|
-
ee("div",
|
|
30630
|
+
return S(), le(Ge, null, [
|
|
30631
|
+
ee("div", NM, [
|
|
30604
30632
|
Ye.value ? (S(), Z(ie, {
|
|
30605
30633
|
key: 0,
|
|
30606
30634
|
type: "form"
|
|
30607
|
-
})) : F.id && e.editing || !e.editing ? (S(), le("div",
|
|
30635
|
+
})) : F.id && e.editing || !e.editing ? (S(), le("div", RM, [
|
|
30608
30636
|
j.value ? (S(), Z(jt(j.value), {
|
|
30609
30637
|
key: 0,
|
|
30610
30638
|
developer: e.developer,
|
|
@@ -30666,14 +30694,14 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
30666
30694
|
onShowNewPartialModal: se[5] || (se[5] = (ge) => Ce.$emit("showNewPartialModal", ge))
|
|
30667
30695
|
}, vt({
|
|
30668
30696
|
"plugin-config-empty-state": N(() => [
|
|
30669
|
-
ee("div",
|
|
30697
|
+
ee("div", MM, ue(u(x)("plugins.form.grouping.plugin_configuration.empty")), 1)
|
|
30670
30698
|
]),
|
|
30671
30699
|
_: 2
|
|
30672
30700
|
}, [
|
|
30673
30701
|
(fe = u(Tn)[F.name]) != null && fe.fieldRules && (i.config.isNewOtelSchema || F.name !== "opentelemetry") ? {
|
|
30674
30702
|
name: "plugin-config-before-content",
|
|
30675
30703
|
fn: N(() => [
|
|
30676
|
-
C(
|
|
30704
|
+
C(EM, {
|
|
30677
30705
|
rules: u(Tn)[F.name].fieldRules
|
|
30678
30706
|
}, null, 8, ["rules"])
|
|
30679
30707
|
]),
|
|
@@ -30698,7 +30726,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
30698
30726
|
], 64);
|
|
30699
30727
|
};
|
|
30700
30728
|
}
|
|
30701
|
-
}),
|
|
30729
|
+
}), FM = /* @__PURE__ */ ze(LM, [["__scopeId", "data-v-7f30f062"]]), KM = { key: 1 }, jM = /* @__PURE__ */ Pe({
|
|
30702
30730
|
__name: "PluginFormActionsWrapper",
|
|
30703
30731
|
props: {
|
|
30704
30732
|
teleportTarget: {
|
|
@@ -30712,14 +30740,14 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
30712
30740
|
to: e.teleportTarget
|
|
30713
30741
|
}, [
|
|
30714
30742
|
Qe(t.$slots, "default")
|
|
30715
|
-
], 8, ["to"])) : (S(), le("div",
|
|
30743
|
+
], 8, ["to"])) : (S(), le("div", KM, [
|
|
30716
30744
|
Qe(t.$slots, "default")
|
|
30717
30745
|
]));
|
|
30718
30746
|
}
|
|
30719
|
-
}),
|
|
30747
|
+
}), DM = { key: 0 }, qM = { class: "plugin-form-actions" }, BM = {
|
|
30720
30748
|
key: 0,
|
|
30721
30749
|
class: "button-customize-deck-wrapper"
|
|
30722
|
-
},
|
|
30750
|
+
}, UM = /* @__PURE__ */ Pe({
|
|
30723
30751
|
__name: "PluginForm",
|
|
30724
30752
|
props: {
|
|
30725
30753
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -30904,8 +30932,8 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
30904
30932
|
}), _e = () => {
|
|
30905
30933
|
b.value = !b.value;
|
|
30906
30934
|
}, pe = L(() => {
|
|
30907
|
-
var Ne, De,
|
|
30908
|
-
const B = a.config.entityType === "consumers" && a.config.entityId || ((De = (Ne = O.value) == null ? void 0 : Ne.consumer) == null ? void 0 : De.id), ne = a.config.entityType === "consumer_groups" && a.config.entityId || ((tt = (
|
|
30935
|
+
var Ne, De, Ve, tt, Je, Fe, $e, _t;
|
|
30936
|
+
const B = a.config.entityType === "consumers" && a.config.entityId || ((De = (Ne = O.value) == null ? void 0 : Ne.consumer) == null ? void 0 : De.id), ne = a.config.entityType === "consumer_groups" && a.config.entityId || ((tt = (Ve = O.value) == null ? void 0 : Ve.consumer_group) == null ? void 0 : tt.id), V = a.config.entityType === "services" && a.config.entityId || ((Fe = (Je = O.value) == null ? void 0 : Je.service) == null ? void 0 : Fe.id), Ee = a.config.entityType === "routes" && a.config.entityId || ((_t = ($e = O.value) == null ? void 0 : $e.route) == null ? void 0 : _t.id);
|
|
30909
30937
|
if (!(B || ne || V || Ee))
|
|
30910
30938
|
return {
|
|
30911
30939
|
global: {
|
|
@@ -31022,9 +31050,9 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31022
31050
|
const ne = Array.from(new Set(B.map((V) => typeof V)));
|
|
31023
31051
|
return ne.length > 1 ? "string" : ne[0];
|
|
31024
31052
|
}, je = (B, ne, V, Ee) => {
|
|
31025
|
-
var
|
|
31053
|
+
var Ve, tt;
|
|
31026
31054
|
let Se = ne && ne.fields || [];
|
|
31027
|
-
const Ne = d[Q.value], De = (tt = (
|
|
31055
|
+
const Ne = d[Q.value], De = (tt = (Ve = po[a.pluginType]) == null ? void 0 : Ve.schema) == null ? void 0 : tt.fields;
|
|
31028
31056
|
return Array.isArray(Se) && (Se = Se.reduce((Je, Fe) => {
|
|
31029
31057
|
const $e = Object.keys(Fe)[0];
|
|
31030
31058
|
return $e.match(/-/g) ? Je[$e.replace(/-/g, "_")] = {
|
|
@@ -31111,7 +31139,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31111
31139
|
} else if (["string", "integer", "number"].includes(ct.type) && ct.one_of) {
|
|
31112
31140
|
if (Ee) {
|
|
31113
31141
|
const { id: Zt, help: Ot, label: ht, hint: ut, values: St, referenceable: Et, model: bn } = V[$e];
|
|
31114
|
-
V[$e] = { id: Zt, help: Ot, label: ht, hint: ut, values: St, referenceable: Et, model: bn, ...
|
|
31142
|
+
V[$e] = { id: Zt, help: Ot, label: ht, hint: ut, values: St, referenceable: Et, model: bn, ...vM(ct.one_of, Fe.default) };
|
|
31115
31143
|
}
|
|
31116
31144
|
} else if (ct.type === "array") {
|
|
31117
31145
|
const { id: Zt, help: Ot, label: ht, hint: ut, values: St, referenceable: Et, model: bn, elements: An } = V[$e], { inputAttributes: as, ...Wm } = JSON.parse(JSON.stringify(mt));
|
|
@@ -31202,12 +31230,12 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31202
31230
|
}), V;
|
|
31203
31231
|
}, He = () => {
|
|
31204
31232
|
var _t, Dn, $t, Xt, Uo, Vo, zo, Go, ct, Zt, Ot, ht;
|
|
31205
|
-
const B = j.value && R.value ? R.value : a.pluginType, ne = ((_t = Tn[B]) == null ? void 0 : _t.scope.includes(Lt.SERVICE)) ?? !0, V = ((Dn = Tn[B]) == null ? void 0 : Dn.scope.includes(Lt.ROUTE)) ?? !0, Ee = (($t = Tn[B]) == null ? void 0 : $t.scope.includes(Lt.CONSUMER)) ?? !0, Se = a.config.disableConsumerGroupScope ? !1 : ((Xt = Tn[B]) == null ? void 0 : Xt.scope.includes(Lt.CONSUMER_GROUP)) ?? !0, Ne = a.config.entityType === "consumers" && !!a.config.entityId || !!((Vo = (Uo = O.value) == null ? void 0 : Uo.consumer) != null && Vo.id), De = a.config.entityType === "consumer_groups" && !!a.config.entityId || !!((Go = (zo = O.value) == null ? void 0 : zo.consumer_group) != null && Go.id),
|
|
31233
|
+
const B = j.value && R.value ? R.value : a.pluginType, ne = ((_t = Tn[B]) == null ? void 0 : _t.scope.includes(Lt.SERVICE)) ?? !0, V = ((Dn = Tn[B]) == null ? void 0 : Dn.scope.includes(Lt.ROUTE)) ?? !0, Ee = (($t = Tn[B]) == null ? void 0 : $t.scope.includes(Lt.CONSUMER)) ?? !0, Se = a.config.disableConsumerGroupScope ? !1 : ((Xt = Tn[B]) == null ? void 0 : Xt.scope.includes(Lt.CONSUMER_GROUP)) ?? !0, Ne = a.config.entityType === "consumers" && !!a.config.entityId || !!((Vo = (Uo = O.value) == null ? void 0 : Uo.consumer) != null && Vo.id), De = a.config.entityType === "consumer_groups" && !!a.config.entityId || !!((Go = (zo = O.value) == null ? void 0 : zo.consumer_group) != null && Go.id), Ve = a.config.entityType === "services" && !!a.config.entityId || !!((Zt = (ct = O.value) == null ? void 0 : ct.service) != null && Zt.id), tt = a.config.entityType === "routes" && !!a.config.entityId || !!((ht = (Ot = O.value) == null ? void 0 : Ot.route) != null && ht.id), Je = [], Fe = (ut, St, Et) => ut ? s("plugins.form.disable_source_scope_change", { scope: Et }) : St ? s("plugins.form.disable_data_retrieving", { scope: Et }) : "", $e = (ut) => {
|
|
31206
31234
|
var St, Et;
|
|
31207
31235
|
return ((Et = (St = a.scopedEntitiesPermissions) == null ? void 0 : St[ut]) == null ? void 0 : Et.canRetrieve) === !1;
|
|
31208
31236
|
};
|
|
31209
31237
|
if (ne) {
|
|
31210
|
-
const ut = $e("service"), St = "services", Et =
|
|
31238
|
+
const ut = $e("service"), St = "services", Et = Ve && a.disableScopeSelection;
|
|
31211
31239
|
Je.push({
|
|
31212
31240
|
id: "service-id",
|
|
31213
31241
|
model: "service-id",
|
|
@@ -31373,7 +31401,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31373
31401
|
const Se = (B = po[a.pluginType]) == null ? void 0 : B.schemaEndpoint, Ne = nE[Se];
|
|
31374
31402
|
be.value = Se, w.value = je("", Ne, {}), Oe.value = !1;
|
|
31375
31403
|
} else {
|
|
31376
|
-
const Se = i && Ae.value, Ne = a.schema ? Promise.resolve(a.schema) : _.get(ve.value).then((
|
|
31404
|
+
const Se = i && Ae.value, Ne = a.schema ? Promise.resolve(a.schema) : _.get(ve.value).then((Ve) => Ve.data), [De] = await Promise.all([
|
|
31377
31405
|
Ne,
|
|
31378
31406
|
Se ? ke(a.pluginType) : Promise.resolve()
|
|
31379
31407
|
]);
|
|
@@ -31381,8 +31409,8 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31381
31409
|
if (T.value)
|
|
31382
31410
|
w.value = je("", De, {}), Oe.value = !1;
|
|
31383
31411
|
else {
|
|
31384
|
-
const
|
|
31385
|
-
q.value =
|
|
31412
|
+
const Ve = De.fields.find((Je) => Je.config);
|
|
31413
|
+
q.value = Ve ? Ve.config : De, De.supported_partials && (A.value = Object.keys(De.supported_partials).find((Je) => [Ws.REDIS_CE, Ws.REDIS_EE].includes(Je)), I.value = (ne = De.supported_partials[A.value]) == null ? void 0 : ne[0]), He();
|
|
31386
31414
|
const tt = (V = De.fields.find((Je) => Je.protocols)) == null ? void 0 : V.protocols;
|
|
31387
31415
|
if (tt) {
|
|
31388
31416
|
const { default: Je = [], elements: Fe = {} } = tt;
|
|
@@ -31444,22 +31472,22 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31444
31472
|
"no-validate": "",
|
|
31445
31473
|
"wrapper-component": e.noCardWrapper ? "div" : void 0,
|
|
31446
31474
|
onCancel: ge,
|
|
31447
|
-
"onFetch:error": ne[6] || (ne[6] = (
|
|
31475
|
+
"onFetch:error": ne[6] || (ne[6] = (Ve) => B.$emit("error", Ve)),
|
|
31448
31476
|
"onFetch:success": Ce,
|
|
31449
|
-
onLoading: ne[7] || (ne[7] = (
|
|
31477
|
+
onLoading: ne[7] || (ne[7] = (Ve) => B.$emit("loading", Ve))
|
|
31450
31478
|
}, {
|
|
31451
31479
|
"form-actions": N(() => [
|
|
31452
|
-
e.isWizardStep ? (S(), le("div",
|
|
31480
|
+
e.isWizardStep ? (S(), le("div", DM)) : (S(), Z(jM, {
|
|
31453
31481
|
key: 1,
|
|
31454
31482
|
"teleport-target": e.actionsTeleportTarget
|
|
31455
31483
|
}, {
|
|
31456
31484
|
default: N(() => [
|
|
31457
|
-
ee("div",
|
|
31485
|
+
ee("div", qM, [
|
|
31458
31486
|
e.hideViewConfigAction ? ye("", !0) : (S(), Z(Se, {
|
|
31459
31487
|
key: 0,
|
|
31460
31488
|
appearance: "tertiary",
|
|
31461
31489
|
"data-testid": `plugin-${x.value ? "edit" : "create"}-form-view-configuration`,
|
|
31462
|
-
onClick: ne[5] || (ne[5] = (
|
|
31490
|
+
onClick: ne[5] || (ne[5] = (Ve) => _e())
|
|
31463
31491
|
}, {
|
|
31464
31492
|
default: N(() => [
|
|
31465
31493
|
Le(ue(u(s)("actions.view_configuration")), 1)
|
|
@@ -31500,7 +31528,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31500
31528
|
hidden: "",
|
|
31501
31529
|
onSubmit: ce
|
|
31502
31530
|
}, null, 32),
|
|
31503
|
-
C(
|
|
31531
|
+
C(FM, {
|
|
31504
31532
|
config: e.config,
|
|
31505
31533
|
credential: T.value,
|
|
31506
31534
|
developer: e.developer,
|
|
@@ -31512,12 +31540,12 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31512
31540
|
"raw-schema": k.value,
|
|
31513
31541
|
record: O.value,
|
|
31514
31542
|
schema: w.value,
|
|
31515
|
-
"onClick:createEntity": ne[0] || (ne[0] = (
|
|
31516
|
-
"onClick:learnMore": ne[1] || (ne[1] = (
|
|
31517
|
-
onGlobalAction: ne[2] || (ne[2] = (
|
|
31518
|
-
onLoading: ne[3] || (ne[3] = (
|
|
31543
|
+
"onClick:createEntity": ne[0] || (ne[0] = (Ve) => B.$emit("click:create-entity", Ve)),
|
|
31544
|
+
"onClick:learnMore": ne[1] || (ne[1] = (Ve) => B.$emit("click:learn-more", Ve)),
|
|
31545
|
+
onGlobalAction: ne[2] || (ne[2] = (Ve, tt) => B.$emit("globalAction", Ve, tt)),
|
|
31546
|
+
onLoading: ne[3] || (ne[3] = (Ve) => H.value = Ve),
|
|
31519
31547
|
onModelUpdated: ie,
|
|
31520
|
-
onShowNewPartialModal: ne[4] || (ne[4] = (
|
|
31548
|
+
onShowNewPartialModal: ne[4] || (ne[4] = (Ve) => B.$emit("showNewPartialModal", Ve)),
|
|
31521
31549
|
onValidityChange: fe
|
|
31522
31550
|
}, null, 8, ["config", "credential", "developer", "editing", "enable-redis-partial", "enable-vault-secret-picker", "engine", "entity-map", "raw-schema", "record", "schema"])
|
|
31523
31551
|
]),
|
|
@@ -31536,7 +31564,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31536
31564
|
ee("div", null, ue(u(s)("view_configuration.message")), 1),
|
|
31537
31565
|
C(Ne, {
|
|
31538
31566
|
modelValue: re.value,
|
|
31539
|
-
"onUpdate:modelValue": ne[11] || (ne[11] = (
|
|
31567
|
+
"onUpdate:modelValue": ne[11] || (ne[11] = (Ve) => re.value = Ve),
|
|
31540
31568
|
"data-testid": "form-view-configuration-slideout-tabs",
|
|
31541
31569
|
tabs: D.value
|
|
31542
31570
|
}, {
|
|
@@ -31552,7 +31580,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31552
31580
|
C(u(ah), {
|
|
31553
31581
|
"deck-callout-preference-key": u(M) ? u(z) : void 0,
|
|
31554
31582
|
"entity-record": te.value,
|
|
31555
|
-
"onDeckCallout:clickCta": ne[8] || (ne[8] = (
|
|
31583
|
+
"onDeckCallout:clickCta": ne[8] || (ne[8] = (Ve) => re.value = "#deck")
|
|
31556
31584
|
}, null, 8, ["deck-callout-preference-key", "entity-record"])
|
|
31557
31585
|
]),
|
|
31558
31586
|
terraform: N(() => [
|
|
@@ -31563,11 +31591,11 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31563
31591
|
}, null, 8, ["credential-type", "entity-record", "entity-type"])
|
|
31564
31592
|
]),
|
|
31565
31593
|
deck: N(() => [
|
|
31566
|
-
u(W) ? (S(), le("div",
|
|
31594
|
+
u(W) ? (S(), le("div", BM, [
|
|
31567
31595
|
C(Se, {
|
|
31568
31596
|
appearance: "secondary",
|
|
31569
31597
|
class: "button-customize-deck",
|
|
31570
|
-
onClick: ne[9] || (ne[9] = (
|
|
31598
|
+
onClick: ne[9] || (ne[9] = (Ve) => X.value = !0)
|
|
31571
31599
|
}, {
|
|
31572
31600
|
default: N(() => [
|
|
31573
31601
|
Le(ue(u(s)("plugins.form.button_deck_customize")), 1)
|
|
@@ -31585,7 +31613,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31585
31613
|
"is-customization-modal-visible": X.value,
|
|
31586
31614
|
"kong-admin-api-url": e.config.app === "kongManager" ? e.config.apiBaseUrl : void 0,
|
|
31587
31615
|
workspace: e.config.workspace || void 0,
|
|
31588
|
-
onCustomizationClose: ne[10] || (ne[10] = (
|
|
31616
|
+
onCustomizationClose: ne[10] || (ne[10] = (Ve) => X.value = !1)
|
|
31589
31617
|
}, null, 8, ["app", "control-plane-name", "customization-options", "entity-record", "entity-type", "geo-api-server-url", "is-customization-modal-visible", "kong-admin-api-url", "workspace"])
|
|
31590
31618
|
]),
|
|
31591
31619
|
_: 1
|
|
@@ -31596,16 +31624,16 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31596
31624
|
], 2);
|
|
31597
31625
|
};
|
|
31598
31626
|
}
|
|
31599
|
-
}),
|
|
31627
|
+
}), AK = /* @__PURE__ */ ze(UM, [["__scopeId", "data-v-cd2d48f0"]]), VM = { class: "kong-ui-entities-plugins-list" }, zM = { class: "button-row" }, GM = { class: "name-cell-wrapper" }, HM = { class: "info-wrapper" }, WM = {
|
|
31600
31628
|
key: 0,
|
|
31601
31629
|
class: "info-name"
|
|
31602
|
-
},
|
|
31630
|
+
}, YM = {
|
|
31603
31631
|
key: 1,
|
|
31604
31632
|
class: "info-name"
|
|
31605
|
-
},
|
|
31633
|
+
}, JM = {
|
|
31606
31634
|
key: 2,
|
|
31607
31635
|
class: "info-type"
|
|
31608
|
-
},
|
|
31636
|
+
}, XM = { key: 1 }, ZM = /* @__PURE__ */ Pe({
|
|
31609
31637
|
__name: "PluginList",
|
|
31610
31638
|
props: {
|
|
31611
31639
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -31858,7 +31886,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31858
31886
|
Ye.value = await o.canCreate(), Ye.value && (He.value.title = r("plugins.list.empty_state.title"), He.value.ctaText = r("actions.create"));
|
|
31859
31887
|
}), (qe, Ce) => {
|
|
31860
31888
|
const se = xe("KButton"), ie = xe("KEmptyState"), Y = xe("KBadge"), de = xe("KTruncate"), fe = xe("KInputSwitch"), ge = xe("KDropdownItem"), Te = xe("KClipboardProvider");
|
|
31861
|
-
return S(), le("div",
|
|
31889
|
+
return S(), le("div", VM, [
|
|
31862
31890
|
C(u(ph), {
|
|
31863
31891
|
"cache-identifier": e.cacheIdentifier,
|
|
31864
31892
|
"disable-sorting": _.value,
|
|
@@ -31890,7 +31918,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31890
31918
|
disabled: !e.useActionOutside,
|
|
31891
31919
|
to: "#kong-ui-app-page-header-action-button"
|
|
31892
31920
|
}, [
|
|
31893
|
-
ee("div",
|
|
31921
|
+
ee("div", zM, [
|
|
31894
31922
|
!p.value && c.value ? (S(), Z(se, {
|
|
31895
31923
|
key: 0,
|
|
31896
31924
|
appearance: "secondary",
|
|
@@ -31927,22 +31955,22 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31927
31955
|
], 8, ["disabled"]))
|
|
31928
31956
|
]),
|
|
31929
31957
|
name: N(({ row: Ae }) => [
|
|
31930
|
-
ee("div",
|
|
31958
|
+
ee("div", GM, [
|
|
31931
31959
|
C(u(qi), {
|
|
31932
31960
|
class: "plugin-icon",
|
|
31933
31961
|
name: Ae.name,
|
|
31934
31962
|
size: 24
|
|
31935
31963
|
}, null, 8, ["name"]),
|
|
31936
|
-
ee("div",
|
|
31937
|
-
Ae.instance_name ? (S(), le("span",
|
|
31938
|
-
Ae.instance_name ? (S(), le("span",
|
|
31964
|
+
ee("div", HM, [
|
|
31965
|
+
Ae.instance_name ? (S(), le("span", WM, ue(Ae.instance_name), 1)) : (S(), le("span", YM, ue(u(n).getDisplayName(Ae.name)), 1)),
|
|
31966
|
+
Ae.instance_name ? (S(), le("span", JM, ue(u(n).getDisplayName(Ae.name)), 1)) : ye("", !0)
|
|
31939
31967
|
])
|
|
31940
31968
|
])
|
|
31941
31969
|
]),
|
|
31942
31970
|
appliedTo: N(({ row: Ae }) => [
|
|
31943
31971
|
P(Ae).length > 0 ? (S(), Z(de, { key: 0 }, {
|
|
31944
31972
|
default: N(() => [
|
|
31945
|
-
(S(!0), le(
|
|
31973
|
+
(S(!0), le(Ge, null, et(P(Ae), (g) => (S(), Z(u(Pi), {
|
|
31946
31974
|
key: g.badgeText,
|
|
31947
31975
|
"auth-function": () => R(g.type, Ae),
|
|
31948
31976
|
"force-show": ""
|
|
@@ -31962,7 +31990,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
31962
31990
|
}, 1032, ["auth-function"]))), 128))
|
|
31963
31991
|
]),
|
|
31964
31992
|
_: 2
|
|
31965
|
-
}, 1024)) : (S(), le("span",
|
|
31993
|
+
}, 1024)) : (S(), le("span", XM, "-"))
|
|
31966
31994
|
]),
|
|
31967
31995
|
enabled: N(({ row: Ae }) => [
|
|
31968
31996
|
C(u(Pi), {
|
|
@@ -32167,16 +32195,16 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32167
32195
|
]);
|
|
32168
32196
|
};
|
|
32169
32197
|
}
|
|
32170
|
-
}),
|
|
32198
|
+
}), IK = /* @__PURE__ */ ze(ZM, [["__scopeId", "data-v-bb7d2cdb"]]), QM = { class: "plugin-select-card-wrapper" }, eL = ["data-testid"], tL = { class: "plugin-card-header" }, nL = { class: "plugin-card-title" }, iL = {
|
|
32171
32199
|
key: 0,
|
|
32172
32200
|
class: "plugin-card-actions"
|
|
32173
|
-
},
|
|
32201
|
+
}, oL = ["data-testid", "title"], aL = {
|
|
32174
32202
|
key: 0,
|
|
32175
32203
|
class: "plugin-card-text"
|
|
32176
|
-
},
|
|
32204
|
+
}, rL = {
|
|
32177
32205
|
key: 0,
|
|
32178
32206
|
class: "custom-plugin-badges"
|
|
32179
|
-
},
|
|
32207
|
+
}, sL = ["title"], lL = /* @__PURE__ */ Pe({
|
|
32180
32208
|
__name: "PluginSelectCard",
|
|
32181
32209
|
props: {
|
|
32182
32210
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32243,7 +32271,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32243
32271
|
};
|
|
32244
32272
|
return (q, A) => {
|
|
32245
32273
|
const I = xe("KButton"), P = xe("KDropdownItem"), R = xe("KDropdownMenu"), j = xe("KBadge"), Q = xe("KTooltip");
|
|
32246
|
-
return S(), le("div",
|
|
32274
|
+
return S(), le("div", QM, [
|
|
32247
32275
|
C(Q, {
|
|
32248
32276
|
text: e.plugin.disabledMessage
|
|
32249
32277
|
}, {
|
|
@@ -32254,13 +32282,13 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32254
32282
|
role: "button",
|
|
32255
32283
|
onClick: A[1] || (A[1] = (G) => s.value || k.value ? void 0 : b())
|
|
32256
32284
|
}, [
|
|
32257
|
-
ee("div",
|
|
32258
|
-
ee("div",
|
|
32285
|
+
ee("div", tL, [
|
|
32286
|
+
ee("div", nL, [
|
|
32259
32287
|
ee("span", {
|
|
32260
32288
|
class: yt({ "non-custom-title": !k.value })
|
|
32261
32289
|
}, ue(e.plugin.name), 3)
|
|
32262
32290
|
]),
|
|
32263
|
-
_.value ? (S(), le("div",
|
|
32291
|
+
_.value ? (S(), le("div", iL, [
|
|
32264
32292
|
C(R, {
|
|
32265
32293
|
"data-testid": "custom-plugin-actions",
|
|
32266
32294
|
"kpop-attributes": { placement: "bottom-end" },
|
|
@@ -32322,9 +32350,9 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32322
32350
|
name: a.value,
|
|
32323
32351
|
size: 55
|
|
32324
32352
|
}, null, 8, ["alt", "name"]),
|
|
32325
|
-
e.plugin.description || l.value.length ? (S(), le("div",
|
|
32326
|
-
l.value.length ? (S(), le("div",
|
|
32327
|
-
(S(!0), le(
|
|
32353
|
+
e.plugin.description || l.value.length ? (S(), le("div", aL, [
|
|
32354
|
+
l.value.length ? (S(), le("div", rL, [
|
|
32355
|
+
(S(!0), le(Ge, null, et(l.value, (G) => (S(), Z(j, {
|
|
32328
32356
|
key: G,
|
|
32329
32357
|
appearance: "info"
|
|
32330
32358
|
}, {
|
|
@@ -32338,21 +32366,21 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32338
32366
|
key: 1,
|
|
32339
32367
|
class: "plugin-card-text",
|
|
32340
32368
|
title: e.plugin.description
|
|
32341
|
-
}, ue(e.plugin.description), 9,
|
|
32369
|
+
}, ue(e.plugin.description), 9, sL)) : ye("", !0)
|
|
32342
32370
|
])) : ye("", !0)
|
|
32343
|
-
], 10,
|
|
32371
|
+
], 10, oL),
|
|
32344
32372
|
ee("div", {
|
|
32345
32373
|
class: "plugin-card-footer",
|
|
32346
32374
|
onClick: O
|
|
32347
32375
|
}, ue(E.value ? u(r)("actions.create_custom") : e.plugin.exists ? u(r)("actions.enabled") : u(r)("actions.enable")), 1)
|
|
32348
|
-
], 10,
|
|
32376
|
+
], 10, eL)
|
|
32349
32377
|
]),
|
|
32350
32378
|
_: 1
|
|
32351
32379
|
}, 8, ["text"])
|
|
32352
32380
|
]);
|
|
32353
32381
|
};
|
|
32354
32382
|
}
|
|
32355
|
-
}), Hm = /* @__PURE__ */
|
|
32383
|
+
}), Hm = /* @__PURE__ */ ze(lL, [["__scopeId", "data-v-eb0977c9"]]), uL = /* @__PURE__ */ Pe({
|
|
32356
32384
|
__name: "DeleteCustomPluginSchemaModal",
|
|
32357
32385
|
props: {
|
|
32358
32386
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32447,7 +32475,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32447
32475
|
}, 8, ["action-button-disabled", "title"])) : ye("", !0);
|
|
32448
32476
|
};
|
|
32449
32477
|
}
|
|
32450
|
-
}), os = /* @__PURE__ */
|
|
32478
|
+
}), os = /* @__PURE__ */ ze(uL, [["__scopeId", "data-v-9514182c"]]), cL = { class: "custom-plugins-grid" }, dL = { class: "empty-state-title" }, pL = { class: "empty-state-description" }, As = 310, fL = /* @__PURE__ */ Pe({
|
|
32451
32479
|
__name: "PluginCustomGrid",
|
|
32452
32480
|
props: {
|
|
32453
32481
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32544,7 +32572,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32544
32572
|
window == null || window.removeEventListener("resize", x);
|
|
32545
32573
|
}), (k, w) => {
|
|
32546
32574
|
const T = xe("KEmptyState"), O = xe("KCollapse");
|
|
32547
|
-
return S(), le("div",
|
|
32575
|
+
return S(), le("div", cL, [
|
|
32548
32576
|
d.value.length ? (S(), Z(O, {
|
|
32549
32577
|
key: 1,
|
|
32550
32578
|
modelValue: l.value,
|
|
@@ -32561,7 +32589,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32561
32589
|
class: "plugin-card-container",
|
|
32562
32590
|
style: Di(v.value)
|
|
32563
32591
|
}, [
|
|
32564
|
-
(S(!0), le(
|
|
32592
|
+
(S(!0), le(Ge, null, et(d.value, (q, A) => (S(), Z(Hm, {
|
|
32565
32593
|
key: `plugin-card-${A}`,
|
|
32566
32594
|
ref_for: !0,
|
|
32567
32595
|
ref_key: "pluginCardRef",
|
|
@@ -32594,10 +32622,10 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32594
32622
|
"icon-variant": "kong"
|
|
32595
32623
|
}, {
|
|
32596
32624
|
title: N(() => [
|
|
32597
|
-
ee("span",
|
|
32625
|
+
ee("span", dL, ue(u(o)("plugins.select.tabs.custom.empty_title")), 1)
|
|
32598
32626
|
]),
|
|
32599
32627
|
default: N(() => [
|
|
32600
|
-
ee("span",
|
|
32628
|
+
ee("span", pL, ue(u(o)("plugins.select.tabs.custom.empty_description")), 1)
|
|
32601
32629
|
]),
|
|
32602
32630
|
_: 1
|
|
32603
32631
|
})),
|
|
@@ -32611,7 +32639,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32611
32639
|
]);
|
|
32612
32640
|
};
|
|
32613
32641
|
}
|
|
32614
|
-
}),
|
|
32642
|
+
}), mL = /* @__PURE__ */ ze(fL, [["__scopeId", "data-v-909f4d5f"]]), Is = 310, gL = /* @__PURE__ */ Pe({
|
|
32615
32643
|
__name: "PluginSelectGroup",
|
|
32616
32644
|
props: /* @__PURE__ */ yi({
|
|
32617
32645
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32688,7 +32716,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32688
32716
|
window == null || window.removeEventListener("resize", v);
|
|
32689
32717
|
}), (x, E) => {
|
|
32690
32718
|
const k = xe("KCollapse");
|
|
32691
|
-
return S(), le(
|
|
32719
|
+
return S(), le(Ge, null, [
|
|
32692
32720
|
C(k, {
|
|
32693
32721
|
modelValue: n.value,
|
|
32694
32722
|
"onUpdate:modelValue": E[0] || (E[0] = (w) => n.value = w),
|
|
@@ -32704,7 +32732,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32704
32732
|
class: "plugin-card-container",
|
|
32705
32733
|
style: Di(c.value)
|
|
32706
32734
|
}, [
|
|
32707
|
-
(S(!0), le(
|
|
32735
|
+
(S(!0), le(Ge, null, et(i.plugins, (w) => (S(), Z(Hm, {
|
|
32708
32736
|
key: `plugin-card-${w.id}`,
|
|
32709
32737
|
ref_for: !0,
|
|
32710
32738
|
ref_key: "pluginCardRef",
|
|
@@ -32741,7 +32769,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32741
32769
|
], 64);
|
|
32742
32770
|
};
|
|
32743
32771
|
}
|
|
32744
|
-
}), Zc = /* @__PURE__ */
|
|
32772
|
+
}), Zc = /* @__PURE__ */ ze(gL, [["__scopeId", "data-v-7f683497"]]), hL = { class: "plugin-select-grid" }, yL = { class: "empty-state-title" }, vL = { class: "empty-state-description" }, Qc = /* @__PURE__ */ Pe({
|
|
32745
32773
|
__name: "PluginSelectGrid",
|
|
32746
32774
|
props: {
|
|
32747
32775
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -32813,7 +32841,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32813
32841
|
});
|
|
32814
32842
|
return (d, f) => {
|
|
32815
32843
|
const c = xe("KEmptyState");
|
|
32816
|
-
return S(), le("div",
|
|
32844
|
+
return S(), le("div", hL, [
|
|
32817
32845
|
Object.keys(s.value).length ? ye("", !0) : (S(), Z(c, {
|
|
32818
32846
|
key: 0,
|
|
32819
32847
|
"action-button-visible": !1,
|
|
@@ -32822,10 +32850,10 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32822
32850
|
"icon-variant": "kong"
|
|
32823
32851
|
}, {
|
|
32824
32852
|
title: N(() => [
|
|
32825
|
-
ee("span",
|
|
32853
|
+
ee("span", yL, ue(u(o)("plugins.select.tabs.kong.empty_title")), 1)
|
|
32826
32854
|
]),
|
|
32827
32855
|
default: N(() => [
|
|
32828
|
-
ee("span",
|
|
32856
|
+
ee("span", vL, ue(u(o)("plugins.select.tabs.kong.empty_description")), 1)
|
|
32829
32857
|
]),
|
|
32830
32858
|
_: 1
|
|
32831
32859
|
})),
|
|
@@ -32844,7 +32872,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32844
32872
|
"onDelete:success": f[1] || (f[1] = (p) => i("delete:success", p)),
|
|
32845
32873
|
onPluginClicked: f[2] || (f[2] = (p) => l(p))
|
|
32846
32874
|
}, null, 8, ["modelValue", "can-delete-cloned-plugin", "can-delete-custom-plugin", "can-edit-cloned-plugin", "can-edit-custom-plugin", "config", "name", "navigate-on-click", "plugins"])) : ye("", !0),
|
|
32847
|
-
(S(!0), le(
|
|
32875
|
+
(S(!0), le(Ge, null, et(u(mc), (p) => (S(), le(Ge, null, [
|
|
32848
32876
|
s.value[p] ? (S(), le("div", { key: p }, [
|
|
32849
32877
|
C(Zc, {
|
|
32850
32878
|
modelValue: a.value[p],
|
|
@@ -32865,11 +32893,11 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
32865
32893
|
]);
|
|
32866
32894
|
};
|
|
32867
32895
|
}
|
|
32868
|
-
}),
|
|
32896
|
+
}), _L = { class: "kong-ui-entities-plugin-select-form" }, bL = { class: "plugins-filter-input-container" }, wL = { key: 0 }, kL = {
|
|
32869
32897
|
key: 3,
|
|
32870
32898
|
"aria-live": "polite",
|
|
32871
32899
|
class: "plugins-results-container"
|
|
32872
|
-
},
|
|
32900
|
+
}, CL = { "data-testid": "kong-tab" }, EL = { class: "tab-description" }, xL = { "data-testid": "custom-tab" }, SL = { class: "tab-description" }, AL = { key: 1 }, IL = /* @__PURE__ */ Pe({
|
|
32873
32901
|
__name: "PluginSelect",
|
|
32874
32902
|
props: {
|
|
32875
32903
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -33171,8 +33199,8 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33171
33199
|
(ie = k.value) == null || ie.abort();
|
|
33172
33200
|
}), (ie, Y) => {
|
|
33173
33201
|
const de = xe("KInput"), fe = xe("KSkeletonBox"), ge = xe("KSkeleton"), Te = xe("KEmptyState"), Ae = xe("KTooltip"), g = xe("KAlert"), te = xe("KTabs");
|
|
33174
|
-
return S(), le("div",
|
|
33175
|
-
ee("div",
|
|
33202
|
+
return S(), le("div", _L, [
|
|
33203
|
+
ee("div", bL, [
|
|
33176
33204
|
C(de, {
|
|
33177
33205
|
ref: "filter-input",
|
|
33178
33206
|
modelValue: c.value,
|
|
@@ -33184,7 +33212,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33184
33212
|
type: "search"
|
|
33185
33213
|
}, null, 8, ["modelValue", "placeholder"])
|
|
33186
33214
|
]),
|
|
33187
|
-
p.value ? (S(), le("section",
|
|
33215
|
+
p.value ? (S(), le("section", wL, [
|
|
33188
33216
|
C(fe, {
|
|
33189
33217
|
class: "plugins-skeleton-title",
|
|
33190
33218
|
width: "10"
|
|
@@ -33214,7 +33242,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33214
33242
|
ee("h5", null, ue(u(a)("search.no_results", { filter: c.value })), 1)
|
|
33215
33243
|
]),
|
|
33216
33244
|
_: 1
|
|
33217
|
-
})) : (S(), le("section",
|
|
33245
|
+
})) : (S(), le("section", kL, [
|
|
33218
33246
|
z.value.length ? (S(), Z(te, {
|
|
33219
33247
|
key: 0,
|
|
33220
33248
|
modelValue: H.value,
|
|
@@ -33224,8 +33252,8 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33224
33252
|
onChange: we
|
|
33225
33253
|
}, vt({
|
|
33226
33254
|
kong: N(() => [
|
|
33227
|
-
ee("div",
|
|
33228
|
-
ee("p",
|
|
33255
|
+
ee("div", CL, [
|
|
33256
|
+
ee("p", EL, ue(u(a)("plugins.select.tabs.kong.description")), 1),
|
|
33229
33257
|
C(Qc, {
|
|
33230
33258
|
"can-delete-cloned-plugin": rt.value,
|
|
33231
33259
|
"can-delete-custom-plugin": je.value,
|
|
@@ -33243,16 +33271,16 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33243
33271
|
])
|
|
33244
33272
|
]),
|
|
33245
33273
|
custom: N(() => [
|
|
33246
|
-
ee("div",
|
|
33274
|
+
ee("div", xL, [
|
|
33247
33275
|
Qe(ie.$slots, "before-custom-tab-content", {}, void 0, !0),
|
|
33248
|
-
ee("p",
|
|
33276
|
+
ee("p", SL, ue(u(a)("plugins.select.tabs.custom.description")), 1),
|
|
33249
33277
|
y.value ? (S(), Z(g, {
|
|
33250
33278
|
key: 0,
|
|
33251
33279
|
appearance: "warning",
|
|
33252
33280
|
class: "custom-plugins-warning",
|
|
33253
33281
|
message: y.value
|
|
33254
33282
|
}, null, 8, ["message"])) : ye("", !0),
|
|
33255
|
-
C(
|
|
33283
|
+
C(mL, {
|
|
33256
33284
|
"can-create-custom-plugin": Ke.value,
|
|
33257
33285
|
"can-delete-cloned-plugin": rt.value,
|
|
33258
33286
|
"can-delete-custom-plugin": je.value,
|
|
@@ -33283,7 +33311,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33283
33311
|
]),
|
|
33284
33312
|
key: "0"
|
|
33285
33313
|
} : void 0
|
|
33286
|
-
]), 1032, ["modelValue", "tabs"])) : (S(), le("div",
|
|
33314
|
+
]), 1032, ["modelValue", "tabs"])) : (S(), le("div", AL, [
|
|
33287
33315
|
y.value ? (S(), Z(g, {
|
|
33288
33316
|
key: 0,
|
|
33289
33317
|
appearance: "warning",
|
|
@@ -33309,16 +33337,16 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33309
33337
|
]);
|
|
33310
33338
|
};
|
|
33311
33339
|
}
|
|
33312
|
-
}),
|
|
33340
|
+
}), TK = /* @__PURE__ */ ze(IL, [["__scopeId", "data-v-40b228cd"]]), TL = {
|
|
33313
33341
|
class: "plugin-select-card-wrapper",
|
|
33314
33342
|
"data-testid": "plugin-catalog-card-wrapper"
|
|
33315
|
-
},
|
|
33343
|
+
}, $L = { class: "plugin-card-header" }, OL = { class: "plugin-card-title" }, PL = {
|
|
33316
33344
|
key: 0,
|
|
33317
33345
|
class: "plugin-card-actions"
|
|
33318
|
-
},
|
|
33346
|
+
}, NL = ["data-testid", "title"], RL = { key: 0 }, ML = ["title"], LL = { class: "plugin-card-footer" }, FL = { class: "plugin-card-footer-extra" }, KL = {
|
|
33319
33347
|
key: 0,
|
|
33320
33348
|
class: "custom-plugin-badges"
|
|
33321
|
-
},
|
|
33349
|
+
}, jL = /* @__PURE__ */ Pe({
|
|
33322
33350
|
__name: "PluginCatalogCard",
|
|
33323
33351
|
props: {
|
|
33324
33352
|
config: {},
|
|
@@ -33337,7 +33365,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33337
33365
|
};
|
|
33338
33366
|
return (w, T) => {
|
|
33339
33367
|
const O = xe("KButton"), q = xe("KDropdownItem"), A = xe("KDropdownMenu"), I = xe("KBadge"), P = xe("RouterLink"), R = xe("KTooltip");
|
|
33340
|
-
return S(), le("div",
|
|
33368
|
+
return S(), le("div", TL, [
|
|
33341
33369
|
C(R, {
|
|
33342
33370
|
text: e.plugin.disabledMessage
|
|
33343
33371
|
}, {
|
|
@@ -33348,8 +33376,8 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33348
33376
|
to: v.value
|
|
33349
33377
|
}, {
|
|
33350
33378
|
default: N(() => [
|
|
33351
|
-
ee("div",
|
|
33352
|
-
ee("div",
|
|
33379
|
+
ee("div", $L, [
|
|
33380
|
+
ee("div", OL, [
|
|
33353
33381
|
C(u(qi), {
|
|
33354
33382
|
alt: e.plugin.name,
|
|
33355
33383
|
class: "plugin-card-icon",
|
|
@@ -33360,7 +33388,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33360
33388
|
class: yt({ "non-custom-title": !x.value })
|
|
33361
33389
|
}, ue(e.plugin.name), 3)
|
|
33362
33390
|
]),
|
|
33363
|
-
_.value ? (S(), le("div",
|
|
33391
|
+
_.value ? (S(), le("div", PL, [
|
|
33364
33392
|
C(A, {
|
|
33365
33393
|
"data-testid": "custom-plugin-actions",
|
|
33366
33394
|
"kpop-attributes": { placement: "bottom-end" },
|
|
@@ -33417,17 +33445,17 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33417
33445
|
"data-testid": `${e.plugin.id}-card-body`,
|
|
33418
33446
|
title: e.plugin.available ? e.plugin.name : u(r)("plugins.select.unavailable_tooltip")
|
|
33419
33447
|
}, [
|
|
33420
|
-
e.plugin.description ? (S(), le("div",
|
|
33448
|
+
e.plugin.description ? (S(), le("div", RL, [
|
|
33421
33449
|
ee("div", {
|
|
33422
33450
|
title: e.plugin.description
|
|
33423
|
-
}, ue(e.plugin.description), 9,
|
|
33451
|
+
}, ue(e.plugin.description), 9, ML)
|
|
33424
33452
|
])) : ye("", !0)
|
|
33425
|
-
], 8,
|
|
33426
|
-
ee("div",
|
|
33453
|
+
], 8, NL),
|
|
33454
|
+
ee("div", LL, [
|
|
33427
33455
|
ee("div", null, ue(b.value ? u(r)("actions.create_custom") : u(r)("actions.configure")), 1),
|
|
33428
|
-
ee("div",
|
|
33429
|
-
l.value.length ? (S(), le("div",
|
|
33430
|
-
(S(!0), le(
|
|
33456
|
+
ee("div", FL, [
|
|
33457
|
+
l.value.length ? (S(), le("div", KL, [
|
|
33458
|
+
(S(!0), le(Ge, null, et(l.value, (j) => (S(), Z(I, {
|
|
33431
33459
|
key: j,
|
|
33432
33460
|
appearance: "info"
|
|
33433
33461
|
}, {
|
|
@@ -33449,7 +33477,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33449
33477
|
]);
|
|
33450
33478
|
};
|
|
33451
33479
|
}
|
|
33452
|
-
}),
|
|
33480
|
+
}), DL = /* @__PURE__ */ ze(jL, [["__scopeId", "data-v-cabcdb98"]]), qL = ["data-testid"], BL = { class: "group-icon-wrapper" }, UL = { class: "group-title-text" }, VL = ["data-testid"], zL = ["data-testid"], GL = /* @__PURE__ */ Pe({
|
|
33453
33481
|
__name: "PluginCatalogGroup",
|
|
33454
33482
|
props: {
|
|
33455
33483
|
config: {},
|
|
@@ -33511,24 +33539,24 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33511
33539
|
customPluginType: (v = c.value) == null ? void 0 : v.customPluginType
|
|
33512
33540
|
})), f.value = !1, c.value = null;
|
|
33513
33541
|
};
|
|
33514
|
-
return (h, y) => (S(), le(
|
|
33542
|
+
return (h, y) => (S(), le(Ge, null, [
|
|
33515
33543
|
e.name ? (S(), le("div", {
|
|
33516
33544
|
key: 0,
|
|
33517
33545
|
class: "group-title",
|
|
33518
33546
|
"data-testid": `plugin-group-${e.name}-title`
|
|
33519
33547
|
}, [
|
|
33520
|
-
ee("div",
|
|
33548
|
+
ee("div", BL, [
|
|
33521
33549
|
(S(), Z(jt(i.value), {
|
|
33522
33550
|
color: `var(--kui-color-text-decorative-purple, ${u(Ed)})`
|
|
33523
33551
|
}, null, 8, ["color"]))
|
|
33524
33552
|
]),
|
|
33525
|
-
ee("span",
|
|
33526
|
-
], 8,
|
|
33553
|
+
ee("span", UL, ue(e.name), 1)
|
|
33554
|
+
], 8, qL)) : ye("", !0),
|
|
33527
33555
|
ee("div", {
|
|
33528
33556
|
class: "plugin-card-container",
|
|
33529
33557
|
"data-testid": `plugin-group-${e.name}`
|
|
33530
33558
|
}, [
|
|
33531
|
-
(S(!0), le(
|
|
33559
|
+
(S(!0), le(Ge, null, et(l.value, (_) => (S(), Z(DL, {
|
|
33532
33560
|
key: `plugin-card-${_.id}`,
|
|
33533
33561
|
"can-delete-cloned-plugin": e.canDeleteClonedPlugin,
|
|
33534
33562
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
@@ -33545,7 +33573,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33545
33573
|
ee("span", {
|
|
33546
33574
|
class: "plugin-card-new-badge",
|
|
33547
33575
|
"data-testid": `plugin-card-${_.id}-new-badge`
|
|
33548
|
-
}, ue(u(r)("labels.new")), 9,
|
|
33576
|
+
}, ue(u(r)("labels.new")), 9, zL)
|
|
33549
33577
|
]),
|
|
33550
33578
|
key: "0"
|
|
33551
33579
|
} : void 0
|
|
@@ -33555,7 +33583,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33555
33583
|
class: "show-all-plugin-card",
|
|
33556
33584
|
onClick: d
|
|
33557
33585
|
}, ue(u(r)("plugins.select.show_all")), 1)) : ye("", !0)
|
|
33558
|
-
], 8,
|
|
33586
|
+
], 8, VL),
|
|
33559
33587
|
f.value && c.value ? (S(), Z(os, {
|
|
33560
33588
|
key: 1,
|
|
33561
33589
|
config: e.config,
|
|
@@ -33565,7 +33593,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33565
33593
|
}, null, 8, ["config", "plugin"])) : ye("", !0)
|
|
33566
33594
|
], 64));
|
|
33567
33595
|
}
|
|
33568
|
-
}), ed = /* @__PURE__ */
|
|
33596
|
+
}), ed = /* @__PURE__ */ ze(GL, [["__scopeId", "data-v-f9a9a47c"]]), HL = { class: "plugin-select-grid" }, WL = { class: "empty-state-title" }, YL = { class: "empty-state-description" }, JL = { key: 1 }, XL = /* @__PURE__ */ Pe({
|
|
33569
33597
|
__name: "PluginCatalogGrid",
|
|
33570
33598
|
props: {
|
|
33571
33599
|
config: {},
|
|
@@ -33583,7 +33611,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33583
33611
|
return (a, l) => {
|
|
33584
33612
|
var d;
|
|
33585
33613
|
const s = xe("KEmptyState");
|
|
33586
|
-
return S(), le("div",
|
|
33614
|
+
return S(), le("div", HL, [
|
|
33587
33615
|
Object.keys(e.pluginList || []).length ? ye("", !0) : (S(), Z(s, {
|
|
33588
33616
|
key: 0,
|
|
33589
33617
|
"action-button-visible": !1,
|
|
@@ -33592,16 +33620,16 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33592
33620
|
"icon-variant": "kong"
|
|
33593
33621
|
}, {
|
|
33594
33622
|
title: N(() => [
|
|
33595
|
-
ee("span",
|
|
33623
|
+
ee("span", WL, ue(u(o)("plugins.select.tabs.kong.empty_title")), 1)
|
|
33596
33624
|
]),
|
|
33597
33625
|
default: N(() => [
|
|
33598
|
-
ee("span",
|
|
33626
|
+
ee("span", YL, ue(u(o)("plugins.select.tabs.kong.empty_description")), 1)
|
|
33599
33627
|
]),
|
|
33600
33628
|
_: 1
|
|
33601
33629
|
})),
|
|
33602
|
-
(S(!0), le(
|
|
33630
|
+
(S(!0), le(Ge, null, et(u(n), (f) => {
|
|
33603
33631
|
var c;
|
|
33604
|
-
return S(), le(
|
|
33632
|
+
return S(), le(Ge, null, [
|
|
33605
33633
|
(c = e.pluginList) != null && c[f] ? (S(), le("div", { key: f }, [
|
|
33606
33634
|
C(ed, {
|
|
33607
33635
|
"can-delete-cloned-plugin": e.canDeleteClonedPlugin,
|
|
@@ -33617,7 +33645,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33617
33645
|
])) : ye("", !0)
|
|
33618
33646
|
], 64);
|
|
33619
33647
|
}), 256)),
|
|
33620
|
-
(d = e.pluginList) != null && d["Query Result"] ? (S(), le("div",
|
|
33648
|
+
(d = e.pluginList) != null && d["Query Result"] ? (S(), le("div", JL, [
|
|
33621
33649
|
C(ed, {
|
|
33622
33650
|
"can-delete-cloned-plugin": e.canDeleteClonedPlugin,
|
|
33623
33651
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
@@ -33633,17 +33661,17 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33633
33661
|
]);
|
|
33634
33662
|
};
|
|
33635
33663
|
}
|
|
33636
|
-
}),
|
|
33664
|
+
}), ZL = /* @__PURE__ */ ze(XL, [["__scopeId", "data-v-e3bf3819"]]), QL = {
|
|
33637
33665
|
class: "plugin-name-cell",
|
|
33638
33666
|
"data-testid": "plugin-catalog-list-view-name"
|
|
33639
|
-
},
|
|
33667
|
+
}, eF = ["title"], tF = ["title"], nF = {
|
|
33640
33668
|
class: "plugin-action-cell",
|
|
33641
33669
|
"data-testid": "plugin-catalog-list-view-action"
|
|
33642
|
-
},
|
|
33670
|
+
}, iF = {
|
|
33643
33671
|
key: 0,
|
|
33644
33672
|
class: "plugin-more-action-cell",
|
|
33645
33673
|
"data-testid": "plugin-catalog-list-view-more-actions"
|
|
33646
|
-
},
|
|
33674
|
+
}, oF = /* @__PURE__ */ Pe({
|
|
33647
33675
|
__name: "PluginCatalogListView",
|
|
33648
33676
|
props: {
|
|
33649
33677
|
config: {},
|
|
@@ -33708,7 +33736,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33708
33736
|
};
|
|
33709
33737
|
return (A, I) => {
|
|
33710
33738
|
const P = xe("KBadge"), R = xe("KButton"), j = xe("KDropdownItem"), Q = xe("KDropdown"), G = xe("KTableView"), oe = xe("KCard");
|
|
33711
|
-
return S(), le(
|
|
33739
|
+
return S(), le(Ge, null, [
|
|
33712
33740
|
C(oe, { "data-testid": "plugin-catalog-list-view-card" }, {
|
|
33713
33741
|
default: N(() => [
|
|
33714
33742
|
(S(), Z(G, {
|
|
@@ -33731,7 +33759,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33731
33759
|
onSort: q
|
|
33732
33760
|
}, {
|
|
33733
33761
|
name: N(({ row: F }) => [
|
|
33734
|
-
ee("span",
|
|
33762
|
+
ee("span", QL, [
|
|
33735
33763
|
C(u(qi), {
|
|
33736
33764
|
"data-testid": `plugin-catalog-list-view-${F.plugin.id}-icon`,
|
|
33737
33765
|
name: y(F.plugin),
|
|
@@ -33741,7 +33769,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33741
33769
|
class: "plugin-name-text",
|
|
33742
33770
|
"data-testid": "plugin-catalog-list-view-name-text",
|
|
33743
33771
|
title: F.name
|
|
33744
|
-
}, ue(F.name), 9,
|
|
33772
|
+
}, ue(F.name), 9, eF),
|
|
33745
33773
|
F.badge ? (S(), Z(P, {
|
|
33746
33774
|
key: 0,
|
|
33747
33775
|
appearance: "info",
|
|
@@ -33760,10 +33788,10 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33760
33788
|
class: "plugin-description-cell",
|
|
33761
33789
|
"data-testid": "plugin-catalog-list-view-description",
|
|
33762
33790
|
title: F.description
|
|
33763
|
-
}, ue(F.description), 9,
|
|
33791
|
+
}, ue(F.description), 9, tF)
|
|
33764
33792
|
]),
|
|
33765
33793
|
action: N(({ row: F }) => [
|
|
33766
|
-
ee("div",
|
|
33794
|
+
ee("div", nF, [
|
|
33767
33795
|
C(R, {
|
|
33768
33796
|
appearance: "tertiary",
|
|
33769
33797
|
"data-testid": "plugin-catalog-list-view-configure-btn",
|
|
@@ -33778,7 +33806,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33778
33806
|
])
|
|
33779
33807
|
]),
|
|
33780
33808
|
"more-actions": N(({ row: F }) => [
|
|
33781
|
-
x(F.plugin) ? (S(), le("div",
|
|
33809
|
+
x(F.plugin) ? (S(), le("div", iF, [
|
|
33782
33810
|
C(Q, {
|
|
33783
33811
|
appearance: "tertiary",
|
|
33784
33812
|
class: "actions-trigger",
|
|
@@ -33838,17 +33866,17 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
33838
33866
|
], 64);
|
|
33839
33867
|
};
|
|
33840
33868
|
}
|
|
33841
|
-
}),
|
|
33869
|
+
}), aF = /* @__PURE__ */ ze(oF, [["__scopeId", "data-v-986d34db"]]), rF = {
|
|
33842
33870
|
class: "plugin-catalog",
|
|
33843
33871
|
"data-testid": "plugin-catalog"
|
|
33844
|
-
},
|
|
33872
|
+
}, sF = {
|
|
33845
33873
|
class: "plugin-filter",
|
|
33846
33874
|
"data-testid": "plugin-filter"
|
|
33847
|
-
},
|
|
33875
|
+
}, lF = { class: "plugin-filter-title" }, uF = { class: "featured-title" }, cF = { class: "plugin-featured-filter" }, dF = ["data-testid"], pF = { class: "group-title" }, fF = { class: "plugin-type-filter" }, mF = ["data-testid"], gF = { class: "plugins-container" }, hF = { class: "plugins-filter-input-container" }, yF = { class: "icon-container" }, vF = { key: 0 }, _F = {
|
|
33848
33876
|
key: 3,
|
|
33849
33877
|
"aria-live": "polite",
|
|
33850
33878
|
class: "plugins-results-container"
|
|
33851
|
-
},
|
|
33879
|
+
}, bF = /* @__PURE__ */ Pe({
|
|
33852
33880
|
__name: "PluginCatalog",
|
|
33853
33881
|
props: {
|
|
33854
33882
|
config: {},
|
|
@@ -34070,9 +34098,9 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34070
34098
|
(se = q.value) == null || se.abort();
|
|
34071
34099
|
}), (se, ie) => {
|
|
34072
34100
|
const Y = xe("KButton"), de = xe("KCheckbox"), fe = xe("KBadge"), ge = xe("KCollapse"), Te = xe("KInput"), Ae = xe("KSkeletonBox"), g = xe("KSkeleton"), te = xe("KEmptyState"), ce = xe("KAlert");
|
|
34073
|
-
return S(), le("div",
|
|
34074
|
-
ee("div",
|
|
34075
|
-
ee("div",
|
|
34101
|
+
return S(), le("div", rF, [
|
|
34102
|
+
ee("div", sF, [
|
|
34103
|
+
ee("div", lF, [
|
|
34076
34104
|
Le(ue(u(i)("plugins.select.filter.title")) + " ", 1),
|
|
34077
34105
|
C(Y, {
|
|
34078
34106
|
appearance: "tertiary",
|
|
@@ -34092,11 +34120,11 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34092
34120
|
"onUpdate:modelValue": ie[0] || (ie[0] = (ve) => p.value = ve)
|
|
34093
34121
|
}, {
|
|
34094
34122
|
title: N(() => [
|
|
34095
|
-
ee("div",
|
|
34123
|
+
ee("div", uF, ue(u(i)("plugins.select.filter.featured")), 1)
|
|
34096
34124
|
]),
|
|
34097
34125
|
default: N(() => [
|
|
34098
|
-
ee("div",
|
|
34099
|
-
(S(!0), le(
|
|
34126
|
+
ee("div", cF, [
|
|
34127
|
+
(S(!0), le(Ge, null, et(u(Ys), (ve) => (S(), le("div", {
|
|
34100
34128
|
key: ve,
|
|
34101
34129
|
class: "plugin-filter-item",
|
|
34102
34130
|
"data-testid": `plugin-filter-item-${ve}`
|
|
@@ -34115,7 +34143,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34115
34143
|
}),
|
|
34116
34144
|
_: 2
|
|
34117
34145
|
}, 1024)
|
|
34118
|
-
], 8,
|
|
34146
|
+
], 8, dF))), 128))
|
|
34119
34147
|
])
|
|
34120
34148
|
]),
|
|
34121
34149
|
_: 1
|
|
@@ -34125,11 +34153,11 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34125
34153
|
"onUpdate:modelValue": ie[1] || (ie[1] = (ve) => m.value = ve)
|
|
34126
34154
|
}, {
|
|
34127
34155
|
title: N(() => [
|
|
34128
|
-
ee("div",
|
|
34156
|
+
ee("div", pF, ue(u(i)("plugins.select.filter.type")), 1)
|
|
34129
34157
|
]),
|
|
34130
34158
|
default: N(() => [
|
|
34131
|
-
ee("div",
|
|
34132
|
-
(S(!0), le(
|
|
34159
|
+
ee("div", fF, [
|
|
34160
|
+
(S(!0), le(Ge, null, et(u(Js), (ve) => (S(), le("div", {
|
|
34133
34161
|
key: ve,
|
|
34134
34162
|
class: "plugin-filter-item",
|
|
34135
34163
|
"data-testid": `plugin-filter-item-${ve}`
|
|
@@ -34152,14 +34180,14 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34152
34180
|
}),
|
|
34153
34181
|
_: 2
|
|
34154
34182
|
}, 1032, ["data-testid"])
|
|
34155
|
-
], 8,
|
|
34183
|
+
], 8, mF))), 128))
|
|
34156
34184
|
])
|
|
34157
34185
|
]),
|
|
34158
34186
|
_: 1
|
|
34159
34187
|
}, 8, ["modelValue"])
|
|
34160
34188
|
]),
|
|
34161
|
-
ee("div",
|
|
34162
|
-
ee("div",
|
|
34189
|
+
ee("div", gF, [
|
|
34190
|
+
ee("div", hF, [
|
|
34163
34191
|
C(Te, {
|
|
34164
34192
|
ref: "filter-input",
|
|
34165
34193
|
modelValue: c.value,
|
|
@@ -34170,7 +34198,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34170
34198
|
placeholder: u(i)("search.placeholder.search_plugins"),
|
|
34171
34199
|
type: "search"
|
|
34172
34200
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
34173
|
-
ee("div",
|
|
34201
|
+
ee("div", yF, [
|
|
34174
34202
|
(S(), Z(jt(I.value), {
|
|
34175
34203
|
class: "plugins-filter-icon",
|
|
34176
34204
|
color: `var(--kui-icon-color-primary, ${u(sy)})`,
|
|
@@ -34178,7 +34206,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34178
34206
|
}, null, 8, ["color"]))
|
|
34179
34207
|
])
|
|
34180
34208
|
]),
|
|
34181
|
-
y.value ? (S(), le("section",
|
|
34209
|
+
y.value ? (S(), le("section", vF, [
|
|
34182
34210
|
C(Ae, {
|
|
34183
34211
|
class: "plugins-skeleton-title",
|
|
34184
34212
|
width: "10"
|
|
@@ -34208,14 +34236,14 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34208
34236
|
ee("h5", null, ue(u(i)("search.no_results", { filter: c.value })), 1)
|
|
34209
34237
|
]),
|
|
34210
34238
|
_: 1
|
|
34211
|
-
})) : (S(), le("section",
|
|
34239
|
+
})) : (S(), le("section", _F, [
|
|
34212
34240
|
b.value ? (S(), Z(ce, {
|
|
34213
34241
|
key: 0,
|
|
34214
34242
|
appearance: "warning",
|
|
34215
34243
|
class: "custom-plugins-warning",
|
|
34216
34244
|
message: b.value
|
|
34217
34245
|
}, null, 8, ["message"])) : ye("", !0),
|
|
34218
|
-
O.value ? (S(), Z(
|
|
34246
|
+
O.value ? (S(), Z(aF, {
|
|
34219
34247
|
key: 1,
|
|
34220
34248
|
"can-delete-cloned-plugin": Be.value,
|
|
34221
34249
|
"can-delete-custom-plugin": pe.value,
|
|
@@ -34224,7 +34252,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34224
34252
|
config: e.config,
|
|
34225
34253
|
"plugin-list": $.value,
|
|
34226
34254
|
"onDelete:success": qe
|
|
34227
|
-
}, null, 8, ["can-delete-cloned-plugin", "can-delete-custom-plugin", "can-edit-cloned-plugin", "can-edit-custom-plugin", "config", "plugin-list"])) : (S(), Z(
|
|
34255
|
+
}, null, 8, ["can-delete-cloned-plugin", "can-delete-custom-plugin", "can-edit-cloned-plugin", "can-edit-custom-plugin", "config", "plugin-list"])) : (S(), Z(ZL, {
|
|
34228
34256
|
key: 2,
|
|
34229
34257
|
"can-delete-cloned-plugin": Be.value,
|
|
34230
34258
|
"can-delete-custom-plugin": pe.value,
|
|
@@ -34240,16 +34268,16 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34240
34268
|
]);
|
|
34241
34269
|
};
|
|
34242
34270
|
}
|
|
34243
|
-
}),
|
|
34271
|
+
}), $K = /* @__PURE__ */ ze(bF, [["__scopeId", "data-v-679e985d"]]), wF = {
|
|
34244
34272
|
key: 1,
|
|
34245
34273
|
class: "datakit-config-card-canvas"
|
|
34246
|
-
},
|
|
34274
|
+
}, kF = {
|
|
34247
34275
|
class: "config-card-details-label",
|
|
34248
34276
|
"data-testid": "datakit-configuration-label"
|
|
34249
|
-
},
|
|
34277
|
+
}, CF = {
|
|
34250
34278
|
class: "config-card-details-value datakit-canvas-container",
|
|
34251
34279
|
"data-testid": "datakit-configuration-canvas"
|
|
34252
|
-
},
|
|
34280
|
+
}, EF = { class: "canvas-wrapper" }, xF = /* @__PURE__ */ Pe({
|
|
34253
34281
|
__name: "DatakitConfigCardCanvas",
|
|
34254
34282
|
props: {
|
|
34255
34283
|
pluginData: {},
|
|
@@ -34262,8 +34290,8 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34262
34290
|
});
|
|
34263
34291
|
return qp(e.pluginData), (n, i) => {
|
|
34264
34292
|
const o = xe("KLabel");
|
|
34265
|
-
return t.value ? (S(), le("div",
|
|
34266
|
-
ee("div",
|
|
34293
|
+
return t.value ? (S(), le("div", wF, [
|
|
34294
|
+
ee("div", kF, [
|
|
34267
34295
|
C(o, null, {
|
|
34268
34296
|
default: N(() => [...i[0] || (i[0] = [
|
|
34269
34297
|
ee("span", { class: "label-content" }, " Nodes ", -1)
|
|
@@ -34271,8 +34299,8 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34271
34299
|
_: 1
|
|
34272
34300
|
})
|
|
34273
34301
|
]),
|
|
34274
|
-
ee("div",
|
|
34275
|
-
ee("div",
|
|
34302
|
+
ee("div", CF, [
|
|
34303
|
+
ee("div", EF, [
|
|
34276
34304
|
C(du, {
|
|
34277
34305
|
class: "datakit-flow-panels",
|
|
34278
34306
|
mode: "view",
|
|
@@ -34286,7 +34314,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34286
34314
|
}, null, 8, ["item"]));
|
|
34287
34315
|
};
|
|
34288
34316
|
}
|
|
34289
|
-
}),
|
|
34317
|
+
}), SF = /* @__PURE__ */ ze(xF, [["__scopeId", "data-v-9a3ef1ac"]]), AF = { class: "kong-ui-entity-plugin-config-card" }, IF = { class: "name-cell-wrapper" }, TF = { class: "info-name" }, $F = { key: 0 }, OF = { key: 0 }, PF = { key: 0 }, NF = { key: 0 }, RF = { key: 0 }, Ts = "config", MF = /* @__PURE__ */ Pe({
|
|
34290
34318
|
__name: "PluginConfigCard",
|
|
34291
34319
|
props: {
|
|
34292
34320
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -34426,7 +34454,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34426
34454
|
}
|
|
34427
34455
|
}), (k, w) => {
|
|
34428
34456
|
const T = xe("KSkeleton"), O = xe("KEmptyState"), q = xe("KCopy");
|
|
34429
|
-
return S(), le("div",
|
|
34457
|
+
return S(), le("div", AF, [
|
|
34430
34458
|
b.value ? (S(), Z(T, {
|
|
34431
34459
|
key: 0,
|
|
34432
34460
|
"data-testid": "plugin-config-card-loader",
|
|
@@ -34458,13 +34486,13 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34458
34486
|
onLoading: w[2] || (w[2] = (A) => k.$emit("loading", A))
|
|
34459
34487
|
}, vt({
|
|
34460
34488
|
name: N((A) => [
|
|
34461
|
-
ee("div",
|
|
34489
|
+
ee("div", IF, [
|
|
34462
34490
|
C(u(qi), {
|
|
34463
34491
|
class: "plugin-icon",
|
|
34464
34492
|
name: u(l)("rowValue", A),
|
|
34465
34493
|
size: 24
|
|
34466
34494
|
}, null, 8, ["name"]),
|
|
34467
|
-
ee("span",
|
|
34495
|
+
ee("span", TF, ue(u(r).getDisplayName(u(l)("rowValue", A))), 1)
|
|
34468
34496
|
])
|
|
34469
34497
|
]),
|
|
34470
34498
|
consumer: N((A) => [
|
|
@@ -34481,7 +34509,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34481
34509
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34482
34510
|
"data-testid": "consumer-copy-uuid",
|
|
34483
34511
|
text: u(l)("rowValue", A).id
|
|
34484
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34512
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", $F, "–"))
|
|
34485
34513
|
]),
|
|
34486
34514
|
route: N((A) => [
|
|
34487
34515
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34497,7 +34525,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34497
34525
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34498
34526
|
"data-testid": "route-copy-uuid",
|
|
34499
34527
|
text: u(l)("rowValue", A).id
|
|
34500
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34528
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", OF, "–"))
|
|
34501
34529
|
]),
|
|
34502
34530
|
service: N((A) => [
|
|
34503
34531
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34513,7 +34541,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34513
34541
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34514
34542
|
"data-testid": "service-copy-uuid",
|
|
34515
34543
|
text: u(l)("rowValue", A).id
|
|
34516
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34544
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", PF, "–"))
|
|
34517
34545
|
]),
|
|
34518
34546
|
consumer_group: N((A) => [
|
|
34519
34547
|
u(l)("rowValue", A) ? e.showIdAsLink ? (S(), Z(u(Ho), {
|
|
@@ -34529,7 +34557,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34529
34557
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34530
34558
|
"data-testid": "consumer-group-copy-uuid",
|
|
34531
34559
|
text: u(l)("rowValue", A).id
|
|
34532
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34560
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", NF, "–"))
|
|
34533
34561
|
]),
|
|
34534
34562
|
partials: N((A) => {
|
|
34535
34563
|
var I, P, R, j, Q, G, oe, F, X;
|
|
@@ -34550,7 +34578,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34550
34578
|
"copy-tooltip": u(o)("copy.tooltip", { label: u(l)("row", A).label }),
|
|
34551
34579
|
"data-testid": "partial-copy-uuid",
|
|
34552
34580
|
text: (X = u(l)("rowValue", A)) == null ? void 0 : X[0].id
|
|
34553
|
-
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span",
|
|
34581
|
+
}, null, 8, ["copy-tooltip", "text"])) : (S(), le("span", RF, "–"))
|
|
34554
34582
|
];
|
|
34555
34583
|
}),
|
|
34556
34584
|
_: 2
|
|
@@ -34558,7 +34586,7 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34558
34586
|
e.config.pluginType === "datakit" && e.config.app === "konnect" ? {
|
|
34559
34587
|
name: "config-card-item-nodes",
|
|
34560
34588
|
fn: N((A) => [
|
|
34561
|
-
C(
|
|
34589
|
+
C(SF, {
|
|
34562
34590
|
item: A.row,
|
|
34563
34591
|
"plugin-data": A.record
|
|
34564
34592
|
}, null, 8, ["item", "plugin-data"])
|
|
@@ -34569,16 +34597,16 @@ const SM = { class: "kong-ui-entities-plugin-form" }, AM = {
|
|
|
34569
34597
|
]);
|
|
34570
34598
|
};
|
|
34571
34599
|
}
|
|
34572
|
-
}),
|
|
34600
|
+
}), OK = /* @__PURE__ */ ze(MF, [["__scopeId", "data-v-03dcf2b4"]]), { usePluginMetaData: PK, useProvideExperimentalFreeForms: NK } = lt;
|
|
34573
34601
|
export {
|
|
34574
34602
|
Rt as ArrayField,
|
|
34575
34603
|
kn as BooleanField,
|
|
34576
34604
|
mm as CommonForm,
|
|
34577
|
-
|
|
34605
|
+
SK as CustomPluginForm,
|
|
34578
34606
|
li as DynamicLayout,
|
|
34579
34607
|
$p as EXPERIMENTAL_FREE_FORM_PROVIDER,
|
|
34580
34608
|
lo as EntityTypeIdField,
|
|
34581
|
-
|
|
34609
|
+
qt as EnumField,
|
|
34582
34610
|
mi as FEATURE_FLAGS,
|
|
34583
34611
|
Ec as FIELD_PATH_KEY,
|
|
34584
34612
|
Po as FIELD_RENDERERS,
|
|
@@ -34595,19 +34623,19 @@ export {
|
|
|
34595
34623
|
zp as NodeBadge,
|
|
34596
34624
|
Yt as NumberField,
|
|
34597
34625
|
Gt as ObjectField,
|
|
34598
|
-
|
|
34599
|
-
|
|
34626
|
+
$K as PluginCatalog,
|
|
34627
|
+
OK as PluginConfigCard,
|
|
34600
34628
|
bI as PluginConfigurationForm,
|
|
34601
34629
|
Ys as PluginFeaturedArray,
|
|
34602
|
-
|
|
34603
|
-
|
|
34630
|
+
AK as PluginForm,
|
|
34631
|
+
jK as PluginGroup,
|
|
34604
34632
|
mc as PluginGroupArray,
|
|
34605
34633
|
Js as PluginGroupArraySortedAlphabetically,
|
|
34606
|
-
|
|
34607
|
-
|
|
34634
|
+
LK as PluginIcon,
|
|
34635
|
+
IK as PluginList,
|
|
34608
34636
|
Ws as PluginPartialType,
|
|
34609
|
-
|
|
34610
|
-
|
|
34637
|
+
DK as PluginScope,
|
|
34638
|
+
TK as PluginSelect,
|
|
34611
34639
|
Hm as PluginSelectCard,
|
|
34612
34640
|
Qc as PluginSelectGrid,
|
|
34613
34641
|
Na as StringArrayField,
|
|
@@ -34621,15 +34649,15 @@ export {
|
|
|
34621
34649
|
GE as buildSchemaMap,
|
|
34622
34650
|
zl as defaultLabelFormatter,
|
|
34623
34651
|
ra as generalizePath,
|
|
34624
|
-
|
|
34652
|
+
FK as getPluginIconURL,
|
|
34625
34653
|
Fm as pluginConfigRegistry,
|
|
34626
34654
|
ot as pluginEndpoints,
|
|
34627
34655
|
qp as provideEditorStore,
|
|
34628
34656
|
tx as provideFormShared,
|
|
34629
|
-
|
|
34657
|
+
dK as renderRuleExactMatch,
|
|
34630
34658
|
nf as replaceByDictionary,
|
|
34631
34659
|
of as replaceByDictionaryInFieldName,
|
|
34632
|
-
|
|
34660
|
+
Ut as useEditorStore,
|
|
34633
34661
|
Wt as useField,
|
|
34634
34662
|
Qp as useFieldAncestors,
|
|
34635
34663
|
yn as useFieldAttrs,
|
|
@@ -34642,9 +34670,9 @@ export {
|
|
|
34642
34670
|
rx as useLabelPath,
|
|
34643
34671
|
Gl as useMapField,
|
|
34644
34672
|
nx as useOptionalFormShared,
|
|
34645
|
-
|
|
34646
|
-
|
|
34647
|
-
|
|
34673
|
+
PK as usePluginMetaData,
|
|
34674
|
+
NK as useProvideExperimentalFreeForms,
|
|
34675
|
+
xK as useProvideFreeFormPluginLayout,
|
|
34648
34676
|
ox as useSchemaExposer,
|
|
34649
34677
|
HE as useSchemaHelpers
|
|
34650
34678
|
};
|