@kong-ui-public/entities-plugins 3.0.6 → 3.0.7
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 +349 -354
- package/dist/entities-plugins.umd.js +7 -7
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -10,7 +10,7 @@ var Oo = (e, a, n) => {
|
|
|
10
10
|
a instanceof WeakSet ? a.add(e) : a.set(e, n);
|
|
11
11
|
};
|
|
12
12
|
var Yr = (e, a, n) => ($b(e, a, "access private method"), n);
|
|
13
|
-
import { defineComponent as
|
|
13
|
+
import { defineComponent as Ye, useCssVars as jd, computed as J, resolveComponent as ee, openBlock as y, createElementBlock as O, createVNode as X, withCtx as T, createTextVNode as Be, toDisplayString as W, createCommentVNode as se, createBlock as K, normalizeClass as Fe, ref as le, Teleport as e1, unref as R, createElementVNode as S, watch as gn, renderSlot as gt, onBeforeMount as Yi, createSlots as Gn, renderList as Ue, withModifiers as Ai, withDirectives as De, vShow as Dn, Fragment as Re, withKeys as t1, inject as n1, useSlots as Dd, onMounted as Go, onUnmounted as i1, resolveDynamicComponent as Ot, normalizeStyle as wi, normalizeProps as a1, guardReactiveProps as r1, mergeProps as oa, pushScopeId as fn, popScopeId as mn, resolveDirective as ii, vModelCheckbox as Ho, vModelSelect as Fo, vModelText as In, Transition as s1, vModelDynamic as o1, vModelRadio as l1, provide as u1, reactive as Na, mergeModels as Uc, useModel as c1 } from "vue";
|
|
14
14
|
import Yc from "axios";
|
|
15
15
|
import { createI18n as is, i18nTComponent as Ud } from "@kong-ui-public/i18n";
|
|
16
16
|
import { BadgeMethodAppearances as d1 } from "@kong/kongponents";
|
|
@@ -534,7 +534,7 @@ const xt = {
|
|
|
534
534
|
}, H1 = {
|
|
535
535
|
key: 0,
|
|
536
536
|
class: "config-card-fieldset-title"
|
|
537
|
-
}, F1 = /* @__PURE__ */
|
|
537
|
+
}, F1 = /* @__PURE__ */ Ye({
|
|
538
538
|
__name: "JsonCardItem",
|
|
539
539
|
props: {
|
|
540
540
|
item: {
|
|
@@ -582,7 +582,7 @@ const xt = {
|
|
|
582
582
|
for (const [r, s] of a)
|
|
583
583
|
n[r] = s;
|
|
584
584
|
return n;
|
|
585
|
-
}, Fd = /* @__PURE__ */ Hn(F1, [["__scopeId", "data-v-68ca83ec"]]), z1 = /* @__PURE__ */
|
|
585
|
+
}, Fd = /* @__PURE__ */ Hn(F1, [["__scopeId", "data-v-68ca83ec"]]), z1 = /* @__PURE__ */ Ye({
|
|
586
586
|
__name: "InternalLinkItem",
|
|
587
587
|
props: {
|
|
588
588
|
item: {
|
|
@@ -609,7 +609,7 @@ const xt = {
|
|
|
609
609
|
]);
|
|
610
610
|
};
|
|
611
611
|
}
|
|
612
|
-
}), Ra = /* @__PURE__ */ Hn(z1, [["__scopeId", "data-v-c96811e5"]]), K1 = /* @__PURE__ */
|
|
612
|
+
}), Ra = /* @__PURE__ */ Hn(z1, [["__scopeId", "data-v-c96811e5"]]), K1 = /* @__PURE__ */ Ye({
|
|
613
613
|
__name: "StatusBadge",
|
|
614
614
|
props: {
|
|
615
615
|
status: {
|
|
@@ -634,7 +634,7 @@ const xt = {
|
|
|
634
634
|
}), q1 = "#0044f4", X1 = "#e0e4ea", J1 = "#3a3f51", W1 = "#afb7c5", Z1 = "1px", Q1 = "20px", _1 = { class: "config-card-details-row" }, $1 = ["data-testid"], e0 = ["data-testid"], t0 = ["data-testid"], n0 = ["data-testid"], i0 = { key: 1 }, a0 = ["data-testid"], r0 = ["data-testid"], s0 = ["data-testid"], o0 = ["data-testid"], l0 = {
|
|
635
635
|
name: "ConfigCardItem",
|
|
636
636
|
components: { JsonCardItem: Fd, StatusBadge: K1, InternalLinkItem: Ra }
|
|
637
|
-
}, u0 = /* @__PURE__ */
|
|
637
|
+
}, u0 = /* @__PURE__ */ Ye({
|
|
638
638
|
...l0,
|
|
639
639
|
props: {
|
|
640
640
|
item: {
|
|
@@ -893,7 +893,7 @@ const xt = {
|
|
|
893
893
|
}), zd = /* @__PURE__ */ Hn(u0, [["__scopeId", "data-v-d056663c"]]), c0 = { class: "json-config" }, d0 = {
|
|
894
894
|
key: 0,
|
|
895
895
|
class: "json-endpoint"
|
|
896
|
-
}, qo = /* @__PURE__ */
|
|
896
|
+
}, qo = /* @__PURE__ */ Ye({
|
|
897
897
|
__name: "JsonCodeBlock",
|
|
898
898
|
props: {
|
|
899
899
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -2330,7 +2330,7 @@ var AC = Dt, yC = Xd, vC = Qd, bC = np, wC = ip, CC = Jo, EC = bp.load, kC = bp.
|
|
|
2330
2330
|
safeLoadAll: xC,
|
|
2331
2331
|
safeDump: SC
|
|
2332
2332
|
};
|
|
2333
|
-
const RC = { class: "yaml-config" }, $o = /* @__PURE__ */
|
|
2333
|
+
const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
2334
2334
|
__name: "YamlCodeBlock",
|
|
2335
2335
|
props: {
|
|
2336
2336
|
/** A record to indicate the entity's configuration, used to populate the YAML code block */
|
|
@@ -2363,7 +2363,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ve({
|
|
|
2363
2363
|
}, NC = ["data-testid"], PC = {
|
|
2364
2364
|
key: 0,
|
|
2365
2365
|
class: "config-card-prop-section-title"
|
|
2366
|
-
}, jC = /* @__PURE__ */
|
|
2366
|
+
}, jC = /* @__PURE__ */ Ye({
|
|
2367
2367
|
__name: "ConfigCardDisplay",
|
|
2368
2368
|
props: {
|
|
2369
2369
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -2465,7 +2465,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ve({
|
|
|
2465
2465
|
}, GC = /* @__PURE__ */ UC(() => /* @__PURE__ */ S("path", {
|
|
2466
2466
|
d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
|
|
2467
2467
|
fill: "currentColor"
|
|
2468
|
-
}, null, -1)), HC = /* @__PURE__ */
|
|
2468
|
+
}, null, -1)), HC = /* @__PURE__ */ Ye({
|
|
2469
2469
|
__name: "AddIcon",
|
|
2470
2470
|
props: {
|
|
2471
2471
|
/** The accessibility text provided to screen readers */
|
|
@@ -2564,7 +2564,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ve({
|
|
|
2564
2564
|
}, XC = /* @__PURE__ */ zC(() => /* @__PURE__ */ S("path", {
|
|
2565
2565
|
d: "M14 9.9V8.2C14.55 7.96667 15.1125 7.79167 15.6875 7.675C16.2625 7.55833 16.8667 7.5 17.5 7.5C17.9333 7.5 18.3583 7.53333 18.775 7.6C19.1917 7.66667 19.6 7.75 20 7.85V9.45C19.6 9.3 19.1958 9.1875 18.7875 9.1125C18.3792 9.0375 17.95 9 17.5 9C16.8667 9 16.2583 9.07917 15.675 9.2375C15.0917 9.39583 14.5333 9.61667 14 9.9ZM14 15.4V13.7C14.55 13.4667 15.1125 13.2917 15.6875 13.175C16.2625 13.0583 16.8667 13 17.5 13C17.9333 13 18.3583 13.0333 18.775 13.1C19.1917 13.1667 19.6 13.25 20 13.35V14.95C19.6 14.8 19.1958 14.6875 18.7875 14.6125C18.3792 14.5375 17.95 14.5 17.5 14.5C16.8667 14.5 16.2583 14.575 15.675 14.725C15.0917 14.875 14.5333 15.1 14 15.4ZM14 12.65V10.95C14.55 10.7167 15.1125 10.5417 15.6875 10.425C16.2625 10.3083 16.8667 10.25 17.5 10.25C17.9333 10.25 18.3583 10.2833 18.775 10.35C19.1917 10.4167 19.6 10.5 20 10.6V12.2C19.6 12.05 19.1958 11.9375 18.7875 11.8625C18.3792 11.7875 17.95 11.75 17.5 11.75C16.8667 11.75 16.2583 11.8292 15.675 11.9875C15.0917 12.1458 14.5333 12.3667 14 12.65ZM6.5 16C7.28333 16 8.04583 16.0875 8.7875 16.2625C9.52917 16.4375 10.2667 16.7 11 17.05V7.2C10.3167 6.8 9.59167 6.5 8.825 6.3C8.05833 6.1 7.28333 6 6.5 6C5.9 6 5.30417 6.05833 4.7125 6.175C4.12083 6.29167 3.55 6.46667 3 6.7V16.6C3.58333 16.4 4.1625 16.25 4.7375 16.15C5.3125 16.05 5.9 16 6.5 16ZM13 17.05C13.7333 16.7 14.4708 16.4375 15.2125 16.2625C15.9542 16.0875 16.7167 16 17.5 16C18.1 16 18.6875 16.05 19.2625 16.15C19.8375 16.25 20.4167 16.4 21 16.6V6.7C20.45 6.46667 19.8792 6.29167 19.2875 6.175C18.6958 6.05833 18.1 6 17.5 6C16.7167 6 15.9417 6.1 15.175 6.3C14.4083 6.5 13.6833 6.8 13 7.2V17.05ZM12 20C11.2 19.3667 10.3333 18.875 9.4 18.525C8.46667 18.175 7.5 18 6.5 18C5.8 18 5.1125 18.0917 4.4375 18.275C3.7625 18.4583 3.11667 18.7167 2.5 19.05C2.15 19.2333 1.8125 19.225 1.4875 19.025C1.1625 18.825 1 18.5333 1 18.15V6.1C1 5.91667 1.04583 5.74167 1.1375 5.575C1.22917 5.40833 1.36667 5.28333 1.55 5.2C2.31667 4.8 3.11667 4.5 3.95 4.3C4.78333 4.1 5.63333 4 6.5 4C7.46667 4 8.4125 4.125 9.3375 4.375C10.2625 4.625 11.15 5 12 5.5C12.85 5 13.7375 4.625 14.6625 4.375C15.5875 4.125 16.5333 4 17.5 4C18.3667 4 19.2167 4.1 20.05 4.3C20.8833 4.5 21.6833 4.8 22.45 5.2C22.6333 5.28333 22.7708 5.40833 22.8625 5.575C22.9542 5.74167 23 5.91667 23 6.1V18.15C23 18.5333 22.8375 18.825 22.5125 19.025C22.1875 19.225 21.85 19.2333 21.5 19.05C20.8833 18.7167 20.2375 18.4583 19.5625 18.275C18.8875 18.0917 18.2 18 17.5 18C16.5 18 15.5333 18.175 14.6 18.525C13.6667 18.875 12.8 19.3667 12 20Z",
|
|
2566
2566
|
fill: "currentColor"
|
|
2567
|
-
}, null, -1)), JC = /* @__PURE__ */
|
|
2567
|
+
}, null, -1)), JC = /* @__PURE__ */ Ye({
|
|
2568
2568
|
__name: "BookIcon",
|
|
2569
2569
|
props: {
|
|
2570
2570
|
/** The accessibility text provided to screen readers */
|
|
@@ -2663,7 +2663,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ve({
|
|
|
2663
2663
|
}, $C = /* @__PURE__ */ ZC(() => /* @__PURE__ */ S("path", {
|
|
2664
2664
|
d: "M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",
|
|
2665
2665
|
fill: "currentColor"
|
|
2666
|
-
}, null, -1)), eE = /* @__PURE__ */
|
|
2666
|
+
}, null, -1)), eE = /* @__PURE__ */ Ye({
|
|
2667
2667
|
__name: "ChevronDownIcon",
|
|
2668
2668
|
props: {
|
|
2669
2669
|
/** The accessibility text provided to screen readers */
|
|
@@ -2762,7 +2762,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ve({
|
|
|
2762
2762
|
}, rE = /* @__PURE__ */ nE(() => /* @__PURE__ */ S("path", {
|
|
2763
2763
|
d: "M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z",
|
|
2764
2764
|
fill: "currentColor"
|
|
2765
|
-
}, null, -1)), sE = /* @__PURE__ */
|
|
2765
|
+
}, null, -1)), sE = /* @__PURE__ */ Ye({
|
|
2766
2766
|
__name: "CloseIcon",
|
|
2767
2767
|
props: {
|
|
2768
2768
|
/** The accessibility text provided to screen readers */
|
|
@@ -2858,7 +2858,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ve({
|
|
|
2858
2858
|
}), oE = /* @__PURE__ */ ss(sE, [["__scopeId", "data-v-79c90e9e"]]), lE = {
|
|
2859
2859
|
class: "config-card-title",
|
|
2860
2860
|
"data-testid": "config-card-title"
|
|
2861
|
-
}, uE = { class: "config-card-actions" }, cE = ["href"], dE = { class: "config-card-details-section" }, pE = /* @__PURE__ */
|
|
2861
|
+
}, uE = { class: "config-card-actions" }, cE = ["href"], dE = { class: "config-card-details-section" }, pE = /* @__PURE__ */ Ye({
|
|
2862
2862
|
__name: "EntityBaseConfigCard",
|
|
2863
2863
|
props: {
|
|
2864
2864
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -3172,7 +3172,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ve({
|
|
|
3172
3172
|
}), gE = /* @__PURE__ */ Hn(pE, [["__scopeId", "data-v-f40a683b"]]), fE = ["novalidate"], mE = {
|
|
3173
3173
|
class: "form-actions",
|
|
3174
3174
|
"data-testid": "form-actions"
|
|
3175
|
-
}, hE = /* @__PURE__ */
|
|
3175
|
+
}, hE = /* @__PURE__ */ Ye({
|
|
3176
3176
|
__name: "EntityBaseForm",
|
|
3177
3177
|
props: {
|
|
3178
3178
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -3380,7 +3380,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ve({
|
|
|
3380
3380
|
}), AE = /* @__PURE__ */ Hn(hE, [["__scopeId", "data-v-3def74fe"]]), yE = {
|
|
3381
3381
|
key: 0,
|
|
3382
3382
|
"data-testid": "first-col"
|
|
3383
|
-
}, vE = /* @__PURE__ */
|
|
3383
|
+
}, vE = /* @__PURE__ */ Ye({
|
|
3384
3384
|
__name: "EntityBaseTableCell",
|
|
3385
3385
|
props: {
|
|
3386
3386
|
keyName: {
|
|
@@ -3454,7 +3454,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ve({
|
|
|
3454
3454
|
}), bE = /* @__PURE__ */ Hn(vE, [["__scopeId", "data-v-c4379fd4"]]), wE = { class: "toolbar-container" }, CE = {
|
|
3455
3455
|
key: 0,
|
|
3456
3456
|
class: "toolbar-button-container"
|
|
3457
|
-
}, EE = ["data-testid"], kE = /* @__PURE__ */
|
|
3457
|
+
}, EE = ["data-testid"], kE = /* @__PURE__ */ Ye({
|
|
3458
3458
|
__name: "EntityBaseTable",
|
|
3459
3459
|
props: {
|
|
3460
3460
|
// table header configuration
|
|
@@ -3751,7 +3751,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ve({
|
|
|
3751
3751
|
}, BE = {
|
|
3752
3752
|
key: 1,
|
|
3753
3753
|
class: "description"
|
|
3754
|
-
}, ME = /* @__PURE__ */
|
|
3754
|
+
}, ME = /* @__PURE__ */ Ye({
|
|
3755
3755
|
__name: "EntityDeleteModal",
|
|
3756
3756
|
props: {
|
|
3757
3757
|
visible: {
|
|
@@ -3859,7 +3859,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ve({
|
|
|
3859
3859
|
width: "20",
|
|
3860
3860
|
x: "0",
|
|
3861
3861
|
y: "0"
|
|
3862
|
-
}, TE = ["fill"], RE = { mask: "url(#mask0_180_20349)" }, LE = ["fill"], od = /* @__PURE__ */
|
|
3862
|
+
}, TE = ["fill"], RE = { mask: "url(#mask0_180_20349)" }, LE = ["fill"], od = /* @__PURE__ */ Ye({
|
|
3863
3863
|
__name: "IconFilter",
|
|
3864
3864
|
props: {
|
|
3865
3865
|
color: {
|
|
@@ -3887,7 +3887,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ve({
|
|
|
3887
3887
|
}), NE = {
|
|
3888
3888
|
key: 1,
|
|
3889
3889
|
class: "kong-ui-entity-filter"
|
|
3890
|
-
}, PE = { class: "kong-ui-entity-filter-menu" }, jE = ["data-testid"], DE = ["onClick", "onKeydown"], UE = { class: "menu-item-indicator" }, YE = { class: "menu-item-body" }, VE = ["for"], GE = { class: "menu-item-buttons" }, HE = { class: "filter-clear-button-container" }, FE = /* @__PURE__ */
|
|
3890
|
+
}, PE = { class: "kong-ui-entity-filter-menu" }, jE = ["data-testid"], DE = ["onClick", "onKeydown"], UE = { class: "menu-item-indicator" }, YE = { class: "menu-item-body" }, VE = ["for"], GE = { class: "menu-item-buttons" }, HE = { class: "filter-clear-button-container" }, FE = /* @__PURE__ */ Ye({
|
|
3891
3891
|
__name: "EntityFilter",
|
|
3892
3892
|
props: {
|
|
3893
3893
|
// filter config, either exact match or fuzzy match
|
|
@@ -4088,7 +4088,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ve({
|
|
|
4088
4088
|
]));
|
|
4089
4089
|
};
|
|
4090
4090
|
}
|
|
4091
|
-
}), zE = /* @__PURE__ */ Hn(FE, [["__scopeId", "data-v-8cfadde3"]]), KE = /* @__PURE__ */
|
|
4091
|
+
}), zE = /* @__PURE__ */ Hn(FE, [["__scopeId", "data-v-8cfadde3"]]), KE = /* @__PURE__ */ Ye({
|
|
4092
4092
|
__name: "EntityToggleModal",
|
|
4093
4093
|
props: {
|
|
4094
4094
|
visible: {
|
|
@@ -4167,7 +4167,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ve({
|
|
|
4167
4167
|
]);
|
|
4168
4168
|
};
|
|
4169
4169
|
}
|
|
4170
|
-
}), Ri = /* @__PURE__ */
|
|
4170
|
+
}), Ri = /* @__PURE__ */ Ye({
|
|
4171
4171
|
__name: "PermissionsWrapper",
|
|
4172
4172
|
props: {
|
|
4173
4173
|
/**
|
|
@@ -4197,7 +4197,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ve({
|
|
|
4197
4197
|
isAllowed: n.value
|
|
4198
4198
|
}) : se("", !0);
|
|
4199
4199
|
}
|
|
4200
|
-
}), { useAxios: ga, useDeleteUrlBuilder: qE, useErrors: os, useExternalLinkCreator:
|
|
4200
|
+
}), { useAxios: ga, useDeleteUrlBuilder: qE, useErrors: os, useExternalLinkCreator: J2, useFetchUrlBuilder: W2, useFetcher: XE, useDebouncedFilter: Z2, useStringHelpers: el, useHelpers: ls, useGatewayFeatureSupported: JE, useTruncationDetector: Q2, useValidators: _2 } = xt;
|
|
4201
4201
|
function tl() {
|
|
4202
4202
|
return {
|
|
4203
4203
|
async: !1,
|
|
@@ -8280,8 +8280,8 @@ Qr.exports;
|
|
|
8280
8280
|
e:
|
|
8281
8281
|
for (; x-- && ge < Ee; ) {
|
|
8282
8282
|
z += i;
|
|
8283
|
-
for (var
|
|
8284
|
-
var qe = q[
|
|
8283
|
+
for (var Ve = -1, Te = t[z]; ++Ve < _; ) {
|
|
8284
|
+
var qe = q[Ve], Ze = qe.iteratee, un = qe.type, Jt = Ze(Te);
|
|
8285
8285
|
if (un == ke)
|
|
8286
8286
|
Te = Jt;
|
|
8287
8287
|
else if (!Jt) {
|
|
@@ -8516,9 +8516,9 @@ Qr.exports;
|
|
|
8516
8516
|
}) : wc(t) && t.forEach(function(Te, qe) {
|
|
8517
8517
|
w.set(qe, bn(Te, i, o, qe, t, A));
|
|
8518
8518
|
});
|
|
8519
|
-
var Se = z ? x ? to : eo : x ? $t : Tt,
|
|
8520
|
-
return An(
|
|
8521
|
-
|
|
8519
|
+
var Se = z ? x ? to : eo : x ? $t : Tt, Ve = q ? n : Se(t);
|
|
8520
|
+
return An(Ve || t, function(Te, qe) {
|
|
8521
|
+
Ve && (qe = Te, Te = t[qe]), wa(w, qe, bn(Te, i, o, qe, t, A));
|
|
8522
8522
|
}), w;
|
|
8523
8523
|
}
|
|
8524
8524
|
function Ym(t) {
|
|
@@ -8647,8 +8647,8 @@ Qr.exports;
|
|
|
8647
8647
|
var Ee = q[_], Se = i ? i(Ee) : Ee;
|
|
8648
8648
|
if (Ee = o || Ee !== 0 ? Ee : 0, !(ge ? ma(ge, Se) : c(z, Se, o))) {
|
|
8649
8649
|
for (w = A; --w; ) {
|
|
8650
|
-
var
|
|
8651
|
-
if (!(
|
|
8650
|
+
var Ve = k[w];
|
|
8651
|
+
if (!(Ve ? ma(Ve, Se) : c(t[w], Se, o)))
|
|
8652
8652
|
continue e;
|
|
8653
8653
|
}
|
|
8654
8654
|
ge && ge.push(Se), z.push(Ee);
|
|
@@ -8692,8 +8692,8 @@ Qr.exports;
|
|
|
8692
8692
|
if (!(o & j)) {
|
|
8693
8693
|
var Ee = q && rt.call(t, "__wrapped__"), Se = _ && rt.call(i, "__wrapped__");
|
|
8694
8694
|
if (Ee || Se) {
|
|
8695
|
-
var
|
|
8696
|
-
return A || (A = new Mn()), g(
|
|
8695
|
+
var Ve = Ee ? t.value() : t, Te = Se ? i.value() : i;
|
|
8696
|
+
return A || (A = new Mn()), g(Ve, Te, o, c, A);
|
|
8697
8697
|
}
|
|
8698
8698
|
}
|
|
8699
8699
|
return ge ? (A || (A = new Mn()), Ch(t, i, o, c, g, A)) : !1;
|
|
@@ -8947,11 +8947,11 @@ Qr.exports;
|
|
|
8947
8947
|
return 0;
|
|
8948
8948
|
i = o(i);
|
|
8949
8949
|
for (var w = i !== i, k = i === null, x = ln(i), z = i === n; g < A; ) {
|
|
8950
|
-
var q = gr((g + A) / 2), _ = o(t[q]), ge = _ !== n, Ee = _ === null, Se = _ === _,
|
|
8950
|
+
var q = gr((g + A) / 2), _ = o(t[q]), ge = _ !== n, Ee = _ === null, Se = _ === _, Ve = ln(_);
|
|
8951
8951
|
if (w)
|
|
8952
8952
|
var Te = c || Se;
|
|
8953
8953
|
else
|
|
8954
|
-
z ? Te = Se && (c || ge) : k ? Te = Se && ge && (c || !Ee) : x ? Te = Se && ge && !Ee && (c || !
|
|
8954
|
+
z ? Te = Se && (c || ge) : k ? Te = Se && ge && (c || !Ee) : x ? Te = Se && ge && !Ee && (c || !Ve) : Ee || Ve ? Te = !1 : Te = c ? _ <= i : _ < i;
|
|
8955
8955
|
Te ? g = q + 1 : A = q;
|
|
8956
8956
|
}
|
|
8957
8957
|
return Ut(A, he);
|
|
@@ -9284,7 +9284,7 @@ Qr.exports;
|
|
|
9284
9284
|
});
|
|
9285
9285
|
}
|
|
9286
9286
|
function kr(t, i, o, c, g, A, w, k, x, z) {
|
|
9287
|
-
var q = i & U, _ = i & Y, ge = i & ie, Ee = i & (te | N), Se = i & ne,
|
|
9287
|
+
var q = i & U, _ = i & Y, ge = i & ie, Ee = i & (te | N), Se = i & ne, Ve = ge ? n : Ia(t);
|
|
9288
9288
|
function Te() {
|
|
9289
9289
|
for (var qe = arguments.length, Ze = D(qe), un = qe; un--; )
|
|
9290
9290
|
Ze[un] = arguments[un];
|
|
@@ -9306,7 +9306,7 @@ Qr.exports;
|
|
|
9306
9306
|
);
|
|
9307
9307
|
}
|
|
9308
9308
|
var Sn = _ ? o : this, ei = ge ? Sn[t] : t;
|
|
9309
|
-
return qe = Ze.length, k ? Ze = Dh(Ze, k) : Se && qe > 1 && Ze.reverse(), q && x < qe && (Ze.length = x), this && this !== Pt && this instanceof Te && (ei =
|
|
9309
|
+
return qe = Ze.length, k ? Ze = Dh(Ze, k) : Se && qe > 1 && Ze.reverse(), q && x < qe && (Ze.length = x), this && this !== Pt && this instanceof Te && (ei = Ve || Ia(ei)), ei.apply(Sn, Ze);
|
|
9310
9310
|
}
|
|
9311
9311
|
return Te;
|
|
9312
9312
|
}
|
|
@@ -9370,7 +9370,7 @@ Qr.exports;
|
|
|
9370
9370
|
function Gu(t, i, o, c, g, A, w, k, x, z) {
|
|
9371
9371
|
var q = i & te, _ = q ? w : n, ge = q ? n : w, Ee = q ? A : n, Se = q ? n : A;
|
|
9372
9372
|
i |= q ? I : C, i &= ~(q ? C : I), i & Z || (i &= ~(Y | ie));
|
|
9373
|
-
var
|
|
9373
|
+
var Ve = [
|
|
9374
9374
|
t,
|
|
9375
9375
|
i,
|
|
9376
9376
|
g,
|
|
@@ -9381,8 +9381,8 @@ Qr.exports;
|
|
|
9381
9381
|
k,
|
|
9382
9382
|
x,
|
|
9383
9383
|
z
|
|
9384
|
-
], Te = o.apply(n,
|
|
9385
|
-
return so(t) && $u(Te,
|
|
9384
|
+
], Te = o.apply(n, Ve);
|
|
9385
|
+
return so(t) && $u(Te, Ve), Te.placeholder = c, ec(Te, t, i);
|
|
9386
9386
|
}
|
|
9387
9387
|
function $s(t) {
|
|
9388
9388
|
var i = It[t];
|
|
@@ -9428,8 +9428,8 @@ Qr.exports;
|
|
|
9428
9428
|
var Se = hh(t, i, o);
|
|
9429
9429
|
else
|
|
9430
9430
|
i == te || i == N ? Se = Ah(t, i, k) : (i == I || i == (Y | I)) && !g.length ? Se = yh(t, i, o, c) : Se = kr.apply(n, Ee);
|
|
9431
|
-
var
|
|
9432
|
-
return ec(
|
|
9431
|
+
var Ve = ge ? Cu : $u;
|
|
9432
|
+
return ec(Ve(Se, Ee), t, i);
|
|
9433
9433
|
}
|
|
9434
9434
|
function Fu(t, i, o, c) {
|
|
9435
9435
|
return t === n || xn(t, Wi[o]) && !rt.call(c, o) ? i : t;
|
|
@@ -9449,9 +9449,9 @@ Qr.exports;
|
|
|
9449
9449
|
return z == i && q == t;
|
|
9450
9450
|
var _ = -1, ge = !0, Ee = o & V ? new Ii() : n;
|
|
9451
9451
|
for (A.set(t, i), A.set(i, t); ++_ < k; ) {
|
|
9452
|
-
var Se = t[_],
|
|
9452
|
+
var Se = t[_], Ve = i[_];
|
|
9453
9453
|
if (c)
|
|
9454
|
-
var Te = w ? c(
|
|
9454
|
+
var Te = w ? c(Ve, Se, _, i, t, A) : c(Se, Ve, _, t, i, A);
|
|
9455
9455
|
if (Te !== n) {
|
|
9456
9456
|
if (Te)
|
|
9457
9457
|
continue;
|
|
@@ -9466,7 +9466,7 @@ Qr.exports;
|
|
|
9466
9466
|
ge = !1;
|
|
9467
9467
|
break;
|
|
9468
9468
|
}
|
|
9469
|
-
} else if (!(Se ===
|
|
9469
|
+
} else if (!(Se === Ve || g(Se, Ve, o, c, A))) {
|
|
9470
9470
|
ge = !1;
|
|
9471
9471
|
break;
|
|
9472
9472
|
}
|
|
@@ -9520,7 +9520,7 @@ Qr.exports;
|
|
|
9520
9520
|
var Ee = A.get(t), Se = A.get(i);
|
|
9521
9521
|
if (Ee && Se)
|
|
9522
9522
|
return Ee == i && Se == t;
|
|
9523
|
-
var
|
|
9523
|
+
var Ve = !0;
|
|
9524
9524
|
A.set(t, i), A.set(i, t);
|
|
9525
9525
|
for (var Te = w; ++_ < x; ) {
|
|
9526
9526
|
ge = k[_];
|
|
@@ -9528,16 +9528,16 @@ Qr.exports;
|
|
|
9528
9528
|
if (c)
|
|
9529
9529
|
var un = w ? c(Ze, qe, ge, i, t, A) : c(qe, Ze, ge, t, i, A);
|
|
9530
9530
|
if (!(un === n ? qe === Ze || g(qe, Ze, o, c, A) : un)) {
|
|
9531
|
-
|
|
9531
|
+
Ve = !1;
|
|
9532
9532
|
break;
|
|
9533
9533
|
}
|
|
9534
9534
|
Te || (Te = ge == "constructor");
|
|
9535
9535
|
}
|
|
9536
|
-
if (
|
|
9536
|
+
if (Ve && !Te) {
|
|
9537
9537
|
var Jt = t.constructor, cn = i.constructor;
|
|
9538
|
-
Jt != cn && "constructor" in t && "constructor" in i && !(typeof Jt == "function" && Jt instanceof Jt && typeof cn == "function" && cn instanceof cn) && (
|
|
9538
|
+
Jt != cn && "constructor" in t && "constructor" in i && !(typeof Jt == "function" && Jt instanceof Jt && typeof cn == "function" && cn instanceof cn) && (Ve = !1);
|
|
9539
9539
|
}
|
|
9540
|
-
return A.delete(t), A.delete(i),
|
|
9540
|
+
return A.delete(t), A.delete(i), Ve;
|
|
9541
9541
|
}
|
|
9542
9542
|
function Zn(t) {
|
|
9543
9543
|
return lo(Qu(t, n, sc), t + "");
|
|
@@ -10353,7 +10353,7 @@ Qr.exports;
|
|
|
10353
10353
|
function Se(Ct) {
|
|
10354
10354
|
return z = Ct, k = Ma(qe, i), q ? Ee(Ct) : w;
|
|
10355
10355
|
}
|
|
10356
|
-
function
|
|
10356
|
+
function Ve(Ct) {
|
|
10357
10357
|
var Sn = Ct - x, ei = Ct - z, Dc = i - Sn;
|
|
10358
10358
|
return _ ? Ut(Dc, A - ei) : Dc;
|
|
10359
10359
|
}
|
|
@@ -10365,7 +10365,7 @@ Qr.exports;
|
|
|
10365
10365
|
var Ct = Lr();
|
|
10366
10366
|
if (Te(Ct))
|
|
10367
10367
|
return Ze(Ct);
|
|
10368
|
-
k = Ma(qe,
|
|
10368
|
+
k = Ma(qe, Ve(Ct));
|
|
10369
10369
|
}
|
|
10370
10370
|
function Ze(Ct) {
|
|
10371
10371
|
return k = n, ge && c ? Ee(Ct) : (c = g = n, w);
|
|
@@ -10955,12 +10955,12 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
10955
10955
|
` : `;
|
|
10956
10956
|
`) + _ + `return __p
|
|
10957
10957
|
}`;
|
|
10958
|
-
var
|
|
10958
|
+
var Ve = Pc(function() {
|
|
10959
10959
|
return et(A, Ee + "return " + _).apply(n, w);
|
|
10960
10960
|
});
|
|
10961
|
-
if (
|
|
10962
|
-
throw
|
|
10963
|
-
return
|
|
10961
|
+
if (Ve.source = _, fo(Ve))
|
|
10962
|
+
throw Ve;
|
|
10963
|
+
return Ve;
|
|
10964
10964
|
}
|
|
10965
10965
|
function ab(t) {
|
|
10966
10966
|
return it(t).toLowerCase();
|
|
@@ -11258,13 +11258,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
11258
11258
|
return c && ge ? Ze[0] : Ze;
|
|
11259
11259
|
};
|
|
11260
11260
|
q && o && typeof z == "function" && z.length != 1 && (x = q = !1);
|
|
11261
|
-
var ge = this.__chain__, Ee = !!this.__actions__.length, Se = A && !ge,
|
|
11261
|
+
var ge = this.__chain__, Ee = !!this.__actions__.length, Se = A && !ge, Ve = x && !Ee;
|
|
11262
11262
|
if (!A && q) {
|
|
11263
|
-
w =
|
|
11263
|
+
w = Ve ? w : new We(this);
|
|
11264
11264
|
var Te = t.apply(w, k);
|
|
11265
11265
|
return Te.__actions__.push({ func: Tr, args: [_], thisArg: n }), new vn(Te, ge);
|
|
11266
11266
|
}
|
|
11267
|
-
return Se &&
|
|
11267
|
+
return Se && Ve ? t.apply(this, k) : (Te = this.thru(_), Se ? c ? Te.value()[0] : Te.value() : Te);
|
|
11268
11268
|
});
|
|
11269
11269
|
}), An(["pop", "push", "shift", "sort", "splice", "unshift"], function(t) {
|
|
11270
11270
|
var i = ir[t], o = /^(?:push|sort|unshift)$/.test(t) ? "tap" : "thru", c = /^(?:pop|shift)$/.test(t);
|
|
@@ -13410,7 +13410,7 @@ const rg = /* @__PURE__ */ Ge(gx, [["render", Bx], ["__scopeId", "data-v-22600a2
|
|
|
13410
13410
|
}, Tx = /* @__PURE__ */ Mx(() => /* @__PURE__ */ S("path", {
|
|
13411
13411
|
d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
|
|
13412
13412
|
fill: "currentColor"
|
|
13413
|
-
}, null, -1)), Rx = /* @__PURE__ */
|
|
13413
|
+
}, null, -1)), Rx = /* @__PURE__ */ Ye({
|
|
13414
13414
|
__name: "AddIcon",
|
|
13415
13415
|
props: {
|
|
13416
13416
|
/** The accessibility text provided to screen readers */
|
|
@@ -13509,7 +13509,7 @@ const rg = /* @__PURE__ */ Ge(gx, [["render", Bx], ["__scopeId", "data-v-22600a2
|
|
|
13509
13509
|
}, Dx = /* @__PURE__ */ Nx(() => /* @__PURE__ */ S("path", {
|
|
13510
13510
|
d: "M7 21C6.45 21 5.97917 20.8042 5.5875 20.4125C5.19583 20.0208 5 19.55 5 19V6H4V4H9V3H15V4H20V6H19V19C19 19.55 18.8042 20.0208 18.4125 20.4125C18.0208 20.8042 17.55 21 17 21H7ZM17 6H7V19H17V6ZM9 17H11V8H9V17ZM13 17H15V8H13V17Z",
|
|
13511
13511
|
fill: "currentColor"
|
|
13512
|
-
}, null, -1)), Ux = /* @__PURE__ */
|
|
13512
|
+
}, null, -1)), Ux = /* @__PURE__ */ Ye({
|
|
13513
13513
|
__name: "TrashIcon",
|
|
13514
13514
|
props: {
|
|
13515
13515
|
/** The accessibility text provided to screen readers */
|
|
@@ -13635,34 +13635,29 @@ function Gx(e, a, n, r, s, l) {
|
|
|
13635
13635
|
})
|
|
13636
13636
|
]);
|
|
13637
13637
|
}
|
|
13638
|
-
const og = /* @__PURE__ */ Ge(Yx, [["render", Gx], ["__scopeId", "data-v-d42daeb2"]]), Hx = {
|
|
13639
|
-
|
|
13638
|
+
const og = /* @__PURE__ */ Ge(Yx, [["render", Gx], ["__scopeId", "data-v-d42daeb2"]]), Hx = (e) => (fn("data-v-27d212bd"), e = e(), mn(), e), Fx = { class: "multi-item-wrapper" }, zx = /* @__PURE__ */ Hx(() => /* @__PURE__ */ S("hr", null, null, -1)), Kx = /* @__PURE__ */ Ye({
|
|
13639
|
+
__name: "FieldArrayMultiItem",
|
|
13640
13640
|
emits: ["remove-item"],
|
|
13641
|
-
|
|
13642
|
-
return {
|
|
13643
|
-
|
|
13641
|
+
setup(e) {
|
|
13642
|
+
return (a, n) => {
|
|
13643
|
+
const r = ee("KButton");
|
|
13644
|
+
return y(), O("div", Fx, [
|
|
13645
|
+
gt(a.$slots, "default", {}, void 0, !0),
|
|
13646
|
+
X(r, {
|
|
13647
|
+
appearance: "danger",
|
|
13648
|
+
class: "delete",
|
|
13649
|
+
onClick: n[0] || (n[0] = (s) => a.$emit("remove-item"))
|
|
13650
|
+
}, {
|
|
13651
|
+
default: T(() => [
|
|
13652
|
+
Be(" - Remove Field ")
|
|
13653
|
+
]),
|
|
13654
|
+
_: 1
|
|
13655
|
+
}),
|
|
13656
|
+
zx
|
|
13657
|
+
]);
|
|
13644
13658
|
};
|
|
13645
13659
|
}
|
|
13646
|
-
},
|
|
13647
|
-
function qx(e, a, n, r, s, l) {
|
|
13648
|
-
const u = ee("KButton");
|
|
13649
|
-
return y(), O("div", zx, [
|
|
13650
|
-
gt(e.$slots, "default", {}, void 0, !0),
|
|
13651
|
-
X(u, {
|
|
13652
|
-
appearance: "danger",
|
|
13653
|
-
class: "delete",
|
|
13654
|
-
type: "input",
|
|
13655
|
-
onClick: a[0] || (a[0] = (d) => e.$emit("remove-item"))
|
|
13656
|
-
}, {
|
|
13657
|
-
default: T(() => [
|
|
13658
|
-
Be(" - Remove Field ")
|
|
13659
|
-
]),
|
|
13660
|
-
_: 1
|
|
13661
|
-
}),
|
|
13662
|
-
Kx
|
|
13663
|
-
]);
|
|
13664
|
-
}
|
|
13665
|
-
const lg = /* @__PURE__ */ Ge(Hx, [["render", qx], ["__scopeId", "data-v-47ff1f9a"]]), Xx = {
|
|
13660
|
+
}), lg = /* @__PURE__ */ Ge(Kx, [["__scopeId", "data-v-27d212bd"]]), qx = {
|
|
13666
13661
|
name: "FieldMetric",
|
|
13667
13662
|
components: { AddIcon: Lx, TrashIcon: ds },
|
|
13668
13663
|
mixins: [tt],
|
|
@@ -13672,11 +13667,11 @@ const lg = /* @__PURE__ */ Ge(Hx, [["render", qx], ["__scopeId", "data-v-47ff1f9
|
|
|
13672
13667
|
contentVisible: !1
|
|
13673
13668
|
};
|
|
13674
13669
|
}
|
|
13675
|
-
},
|
|
13670
|
+
}, Xx = {
|
|
13676
13671
|
key: 0,
|
|
13677
13672
|
class: "content"
|
|
13678
13673
|
};
|
|
13679
|
-
function
|
|
13674
|
+
function Jx(e, a, n, r, s, l) {
|
|
13680
13675
|
const u = ee("AddIcon"), d = ee("TrashIcon"), p = ee("KButton");
|
|
13681
13676
|
return y(), O("div", {
|
|
13682
13677
|
class: Fe(["field-dropdown", { active: s.contentVisible }])
|
|
@@ -13690,7 +13685,7 @@ function Wx(e, a, n, r, s, l) {
|
|
|
13690
13685
|
]),
|
|
13691
13686
|
X(s1, { name: "slide-fade" }, {
|
|
13692
13687
|
default: T(() => [
|
|
13693
|
-
s.contentVisible ? (y(), O("div",
|
|
13688
|
+
s.contentVisible ? (y(), O("div", Xx, [
|
|
13694
13689
|
gt(e.$slots, "default"),
|
|
13695
13690
|
X(p, {
|
|
13696
13691
|
appearance: "tertiary",
|
|
@@ -13708,9 +13703,9 @@ function Wx(e, a, n, r, s, l) {
|
|
|
13708
13703
|
})
|
|
13709
13704
|
], 2);
|
|
13710
13705
|
}
|
|
13711
|
-
const ug = /* @__PURE__ */ Ge(
|
|
13712
|
-
function
|
|
13713
|
-
return e ? e.length === 36 && new RegExp(`^${
|
|
13706
|
+
const ug = /* @__PURE__ */ Ge(qx, [["render", Jx]]), hi = "kong-ui-forms-api", Wx = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}";
|
|
13707
|
+
function Zx(e) {
|
|
13708
|
+
return e ? e.length === 36 && new RegExp(`^${Wx}$`).test(e) : !1;
|
|
13714
13709
|
}
|
|
13715
13710
|
const To = 50, Pi = {
|
|
13716
13711
|
CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
|
|
@@ -13718,10 +13713,10 @@ const To = 50, Pi = {
|
|
|
13718
13713
|
UPDATE_ENTITY: "UPDATE_ENTITY",
|
|
13719
13714
|
SET_REFERRAL_VALUE: "SET_REFERRAL_VALUE"
|
|
13720
13715
|
};
|
|
13721
|
-
function
|
|
13716
|
+
function Qx(e, a, n) {
|
|
13722
13717
|
return n ? Pi.SET_REFERRAL_VALUE : e && !a || !e && a ? Pi.UPDATE_ENTITY : e && a ? Pi.CREATE_FROM_ENTITY : Pi.CREATE_NOT_FROM_ENTITY;
|
|
13723
13718
|
}
|
|
13724
|
-
const
|
|
13719
|
+
const _x = {
|
|
13725
13720
|
mixins: [tt],
|
|
13726
13721
|
inject: [hi],
|
|
13727
13722
|
emits: ["model-updated"],
|
|
@@ -13737,7 +13732,7 @@ const $x = {
|
|
|
13737
13732
|
},
|
|
13738
13733
|
computed: {
|
|
13739
13734
|
fieldState() {
|
|
13740
|
-
return
|
|
13735
|
+
return Qx(this.model[this.schema.model], this.associatedEntity || this.entityId, this.bypassSearch);
|
|
13741
13736
|
},
|
|
13742
13737
|
associatedEntity() {
|
|
13743
13738
|
return this.$route && this.$route.params[this.entity];
|
|
@@ -13791,7 +13786,7 @@ const $x = {
|
|
|
13791
13786
|
return;
|
|
13792
13787
|
this.loading = !0;
|
|
13793
13788
|
const a = [], n = [], r = this.getInputFields(), s = /* @__PURE__ */ new Set();
|
|
13794
|
-
|
|
13789
|
+
Zx(e) && r.includes("id") ? n.push((async () => {
|
|
13795
13790
|
const l = await this.fetchExact(e);
|
|
13796
13791
|
a.push({ ...l, label: this.getSuggestionLabel(l), value: l.id });
|
|
13797
13792
|
})()) : n.push(...r.filter((l) => l !== "id").map(async (l) => {
|
|
@@ -13845,10 +13840,10 @@ const $x = {
|
|
|
13845
13840
|
return n ? e[n] : e.id;
|
|
13846
13841
|
}
|
|
13847
13842
|
}
|
|
13848
|
-
},
|
|
13849
|
-
function
|
|
13843
|
+
}, $x = { class: "field-wrap autosuggest" }, eS = ["data-testid", "data-testlabel"], tS = ["data-testid"], nS = { class: "autosuggest__results_message" };
|
|
13844
|
+
function iS(e, a, n, r, s, l) {
|
|
13850
13845
|
const u = ee("KSelect");
|
|
13851
|
-
return y(), O("div",
|
|
13846
|
+
return y(), O("div", $x, [
|
|
13852
13847
|
X(u, {
|
|
13853
13848
|
id: e.schema.model,
|
|
13854
13849
|
ref: "suggestion",
|
|
@@ -13869,15 +13864,15 @@ function aS(e, a, n, r, s, l) {
|
|
|
13869
13864
|
class: "first-part",
|
|
13870
13865
|
"data-testid": d.id && `${d.id}-0`,
|
|
13871
13866
|
"data-testlabel": d.label
|
|
13872
|
-
}, W(l.getSuggestionLabel(d).split(" - ")[0]), 9,
|
|
13867
|
+
}, W(l.getSuggestionLabel(d).split(" - ")[0]), 9, eS),
|
|
13873
13868
|
(y(!0), O(Re, null, Ue(l.getSuggestionLabel(d).split(" - ").slice(1), (p, m) => (y(), O("span", {
|
|
13874
13869
|
key: m,
|
|
13875
13870
|
class: "field-span",
|
|
13876
13871
|
"data-testid": d.id && `${d.id}-${m + 1}` || m + 1
|
|
13877
|
-
}, W(p), 9,
|
|
13872
|
+
}, W(p), 9, tS))), 128))
|
|
13878
13873
|
]),
|
|
13879
13874
|
empty: T(() => [
|
|
13880
|
-
S("div",
|
|
13875
|
+
S("div", nS, [
|
|
13881
13876
|
S("span", null, W(s.message), 1)
|
|
13882
13877
|
])
|
|
13883
13878
|
]),
|
|
@@ -13885,7 +13880,7 @@ function aS(e, a, n, r, s, l) {
|
|
|
13885
13880
|
}, 8, ["id", "modelValue", "items", "loading", "placeholder", "onChange", "onQueryChange"])
|
|
13886
13881
|
]);
|
|
13887
13882
|
}
|
|
13888
|
-
const cg = /* @__PURE__ */ Ge(
|
|
13883
|
+
const cg = /* @__PURE__ */ Ge(_x, [["render", iS], ["__scopeId", "data-v-62760c9d"]]), aS = {
|
|
13889
13884
|
name: "FieldArrayCardContainer",
|
|
13890
13885
|
components: { TrashIcon: ds },
|
|
13891
13886
|
props: {
|
|
@@ -13899,10 +13894,10 @@ const cg = /* @__PURE__ */ Ge($x, [["render", aS], ["__scopeId", "data-v-62760c9
|
|
|
13899
13894
|
}
|
|
13900
13895
|
},
|
|
13901
13896
|
emits: ["remove-item"]
|
|
13902
|
-
},
|
|
13903
|
-
function
|
|
13897
|
+
}, rS = { class: "array-card-container" };
|
|
13898
|
+
function sS(e, a, n, r, s, l) {
|
|
13904
13899
|
const u = ee("KCard"), d = ee("TrashIcon"), p = ee("KButton");
|
|
13905
|
-
return y(), O("div",
|
|
13900
|
+
return y(), O("div", rS, [
|
|
13906
13901
|
X(u, { class: "card" }, {
|
|
13907
13902
|
default: T(() => [
|
|
13908
13903
|
gt(e.$slots, "default", {}, void 0, !0)
|
|
@@ -13921,7 +13916,7 @@ function oS(e, a, n, r, s, l) {
|
|
|
13921
13916
|
})
|
|
13922
13917
|
]);
|
|
13923
13918
|
}
|
|
13924
|
-
const dg = /* @__PURE__ */ Ge(
|
|
13919
|
+
const dg = /* @__PURE__ */ Ge(aS, [["render", sS], ["__scopeId", "data-v-68702965"]]), oS = {
|
|
13925
13920
|
mixins: [tt],
|
|
13926
13921
|
emits: ["model-updated"],
|
|
13927
13922
|
methods: {
|
|
@@ -13936,14 +13931,14 @@ const dg = /* @__PURE__ */ Ge(rS, [["render", oS], ["__scopeId", "data-v-6870296
|
|
|
13936
13931
|
this.schema.array || (a = a.toString()), this.updateModel(a);
|
|
13937
13932
|
}
|
|
13938
13933
|
}
|
|
13939
|
-
},
|
|
13940
|
-
function
|
|
13941
|
-
return y(), O("div",
|
|
13934
|
+
}, lS = { class: "selection-group" }, uS = { class: "form-group" }, cS = ["id", "checked", "name", "value"];
|
|
13935
|
+
function dS(e, a, n, r, s, l) {
|
|
13936
|
+
return y(), O("div", lS, [
|
|
13942
13937
|
(y(!0), O(Re, null, Ue(e.schema.values, (u, d) => (y(), O("div", {
|
|
13943
13938
|
key: d,
|
|
13944
13939
|
class: "option-group"
|
|
13945
13940
|
}, [
|
|
13946
|
-
S("div",
|
|
13941
|
+
S("div", uS, [
|
|
13947
13942
|
S("label", {
|
|
13948
13943
|
class: Fe(["k-label", u.name])
|
|
13949
13944
|
}, [
|
|
@@ -13955,14 +13950,14 @@ function pS(e, a, n, r, s, l) {
|
|
|
13955
13950
|
type: "radio",
|
|
13956
13951
|
value: u.value,
|
|
13957
13952
|
onChange: a[0] || (a[0] = (...p) => l.onChange && l.onChange(...p))
|
|
13958
|
-
}, null, 40,
|
|
13953
|
+
}, null, 40, cS),
|
|
13959
13954
|
Be(" " + W(u.name), 1)
|
|
13960
13955
|
], 2)
|
|
13961
13956
|
])
|
|
13962
13957
|
]))), 128))
|
|
13963
13958
|
]);
|
|
13964
13959
|
}
|
|
13965
|
-
const pg = /* @__PURE__ */ Ge(
|
|
13960
|
+
const pg = /* @__PURE__ */ Ge(oS, [["render", dS], ["__scopeId", "data-v-7e49acd6"]]), pS = {
|
|
13966
13961
|
name: "FieldArray",
|
|
13967
13962
|
components: {
|
|
13968
13963
|
FieldArrayItem: og,
|
|
@@ -14015,8 +14010,8 @@ const pg = /* @__PURE__ */ Ge(lS, [["render", pS], ["__scopeId", "data-v-7e49acd
|
|
|
14015
14010
|
modelUpdated() {
|
|
14016
14011
|
}
|
|
14017
14012
|
}
|
|
14018
|
-
},
|
|
14019
|
-
function
|
|
14013
|
+
}, gS = ["id"], fS = { key: 1 }, mS = ["onUpdate:modelValue", "aria-labelledby", "type"], hS = ["value", "onClick"], AS = ["onUpdate:modelValue", "aria-labelledby"], yS = ["value", "onClick"];
|
|
14014
|
+
function vS(e, a, n, r, s, l) {
|
|
14020
14015
|
const u = ee("FieldTextArea"), d = ee("KButton");
|
|
14021
14016
|
return e.schema ? (y(), O("div", {
|
|
14022
14017
|
key: 0,
|
|
@@ -14042,7 +14037,7 @@ function bS(e, a, n, r, s, l) {
|
|
|
14042
14037
|
}, null, 40, ["form-options", "model", "schema", "onModelUpdated"]))
|
|
14043
14038
|
]),
|
|
14044
14039
|
_: 2
|
|
14045
|
-
}, 1064, ["model", "schema", "onRemoveItem"])) : e.schema.items ? (y(), O("span",
|
|
14040
|
+
}, 1064, ["model", "schema", "onRemoveItem"])) : e.schema.items ? (y(), O("span", fS, [
|
|
14046
14041
|
(y(), K(Ot(l.getFieldType(e.schema.items)), {
|
|
14047
14042
|
"form-options": e.formOptions,
|
|
14048
14043
|
model: p,
|
|
@@ -14073,14 +14068,14 @@ function bS(e, a, n, r, s, l) {
|
|
|
14073
14068
|
"aria-labelledby": e.getLabelId(e.schema)
|
|
14074
14069
|
}, e.schema.inputAttributes, {
|
|
14075
14070
|
type: ((b = e.schema.inputAttributes) == null ? void 0 : b.type) || "text"
|
|
14076
|
-
}), null, 16,
|
|
14071
|
+
}), null, 16, mS)), [
|
|
14077
14072
|
[o1, e.value[m]]
|
|
14078
14073
|
]),
|
|
14079
14074
|
e.schema.showRemoveButton ? (y(), O("input", oa({ key: 2 }, e.schema.removeElementButtonAttributes, {
|
|
14080
14075
|
type: "button",
|
|
14081
14076
|
value: e.schema.removeElementButtonLabel || n.removeElementButtonLabel,
|
|
14082
14077
|
onClick: (E) => l.removeElement(m)
|
|
14083
|
-
}), null, 16,
|
|
14078
|
+
}), null, 16, hS)) : se("", !0)
|
|
14084
14079
|
];
|
|
14085
14080
|
}),
|
|
14086
14081
|
_: 2
|
|
@@ -14088,14 +14083,14 @@ function bS(e, a, n, r, s, l) {
|
|
|
14088
14083
|
"onUpdate:modelValue": (v) => e.value[m] = v,
|
|
14089
14084
|
"aria-labelledby": e.getLabelId(e.schema),
|
|
14090
14085
|
type: "text"
|
|
14091
|
-
}), null, 16,
|
|
14086
|
+
}), null, 16, AS)), [
|
|
14092
14087
|
[In, e.value[m]]
|
|
14093
14088
|
]),
|
|
14094
14089
|
e.schema.showRemoveButton ? (y(), O("input", oa({ key: 4 }, e.schema.removeElementButtonAttributes, {
|
|
14095
14090
|
type: "button",
|
|
14096
14091
|
value: e.schema.removeElementButtonLabel || n.removeElementButtonLabel,
|
|
14097
14092
|
onClick: (v) => l.removeElement(m)
|
|
14098
|
-
}), null, 16,
|
|
14093
|
+
}), null, 16, yS)) : se("", !0)
|
|
14099
14094
|
], 2))), 128)),
|
|
14100
14095
|
X(d, {
|
|
14101
14096
|
appearance: "tertiary",
|
|
@@ -14109,9 +14104,9 @@ function bS(e, a, n, r, s, l) {
|
|
|
14109
14104
|
]),
|
|
14110
14105
|
_: 1
|
|
14111
14106
|
}, 8, ["class", "data-testid", "onClick"])
|
|
14112
|
-
], 10,
|
|
14107
|
+
], 10, gS)) : se("", !0);
|
|
14113
14108
|
}
|
|
14114
|
-
const
|
|
14109
|
+
const bS = /* @__PURE__ */ Ge(pS, [["render", vS], ["__scopeId", "data-v-1c5fa392"]]), wS = {
|
|
14115
14110
|
mixins: [tt],
|
|
14116
14111
|
emits: ["model-updated"],
|
|
14117
14112
|
data() {
|
|
@@ -14138,19 +14133,19 @@ const wS = /* @__PURE__ */ Ge(gS, [["render", bS], ["__scopeId", "data-v-1c5fa39
|
|
|
14138
14133
|
this.$emit("model-updated", e, a);
|
|
14139
14134
|
}
|
|
14140
14135
|
}
|
|
14141
|
-
},
|
|
14136
|
+
}, CS = {
|
|
14142
14137
|
class: "advanced-field-dropdown-wrapper",
|
|
14143
14138
|
"data-testid": "advanced-field-dropdown-wrapper"
|
|
14144
|
-
},
|
|
14145
|
-
function
|
|
14139
|
+
}, ES = { class: "material-icons" };
|
|
14140
|
+
function kS(e, a, n, r, s, l) {
|
|
14146
14141
|
const u = ee("vue-form-generator");
|
|
14147
|
-
return y(), O("div",
|
|
14142
|
+
return y(), O("div", CS, [
|
|
14148
14143
|
S("button", {
|
|
14149
14144
|
class: "advanced-field-title",
|
|
14150
14145
|
type: "button",
|
|
14151
14146
|
onClick: a[0] || (a[0] = (...d) => l.handleOpen && l.handleOpen(...d))
|
|
14152
14147
|
}, [
|
|
14153
|
-
S("i",
|
|
14148
|
+
S("i", ES, W(s.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
|
|
14154
14149
|
S("span", null, W(l.titleText), 1)
|
|
14155
14150
|
]),
|
|
14156
14151
|
S("div", {
|
|
@@ -14165,7 +14160,7 @@ function OS(e, a, n, r, s, l) {
|
|
|
14165
14160
|
], 2)
|
|
14166
14161
|
]);
|
|
14167
14162
|
}
|
|
14168
|
-
const
|
|
14163
|
+
const OS = /* @__PURE__ */ Ge(wS, [["render", kS], ["__scopeId", "data-v-2d8e71e1"]]), IS = {
|
|
14169
14164
|
mixins: [tt],
|
|
14170
14165
|
emits: ["model-updated"],
|
|
14171
14166
|
data() {
|
|
@@ -14200,15 +14195,15 @@ const IS = /* @__PURE__ */ Ge(CS, [["render", OS], ["__scopeId", "data-v-2d8e71e
|
|
|
14200
14195
|
this.$emit("model-updated", e, a);
|
|
14201
14196
|
}
|
|
14202
14197
|
}
|
|
14203
|
-
},
|
|
14204
|
-
function
|
|
14198
|
+
}, BS = { class: "selection-group" }, MS = { class: "form-group" }, xS = ["value"], SS = { class: "control-help" }, TS = { class: "option-field" }, RS = { class: "option-field-container" };
|
|
14199
|
+
function LS(e, a, n, r, s, l) {
|
|
14205
14200
|
const u = ee("vue-form-generator");
|
|
14206
|
-
return y(), O("div",
|
|
14201
|
+
return y(), O("div", BS, [
|
|
14207
14202
|
(y(!0), O(Re, null, Ue(e.schema.fields, (d, p) => (y(), O("div", {
|
|
14208
14203
|
key: p,
|
|
14209
14204
|
class: "option-group"
|
|
14210
14205
|
}, [
|
|
14211
|
-
S("div",
|
|
14206
|
+
S("div", MS, [
|
|
14212
14207
|
S("label", {
|
|
14213
14208
|
class: Fe(["k-label", `${d.label}-check`])
|
|
14214
14209
|
}, [
|
|
@@ -14217,15 +14212,15 @@ function NS(e, a, n, r, s, l) {
|
|
|
14217
14212
|
class: "k-input",
|
|
14218
14213
|
type: "radio",
|
|
14219
14214
|
value: p
|
|
14220
|
-
}, null, 8,
|
|
14215
|
+
}, null, 8, xS), [
|
|
14221
14216
|
[l1, s.checkedGroup]
|
|
14222
14217
|
]),
|
|
14223
14218
|
Be(" " + W(d.label) + " ", 1),
|
|
14224
|
-
S("div",
|
|
14219
|
+
S("div", SS, W(d.description), 1)
|
|
14225
14220
|
], 2)
|
|
14226
14221
|
]),
|
|
14227
|
-
De(S("div",
|
|
14228
|
-
S("div",
|
|
14222
|
+
De(S("div", TS, [
|
|
14223
|
+
S("div", RS, [
|
|
14229
14224
|
X(u, {
|
|
14230
14225
|
model: e.model,
|
|
14231
14226
|
options: { helpAsHtml: !0 },
|
|
@@ -14239,7 +14234,7 @@ function NS(e, a, n, r, s, l) {
|
|
|
14239
14234
|
]))), 128))
|
|
14240
14235
|
]);
|
|
14241
14236
|
}
|
|
14242
|
-
const
|
|
14237
|
+
const NS = /* @__PURE__ */ Ge(IS, [["render", LS], ["__scopeId", "data-v-25fe24da"]]), PS = {
|
|
14243
14238
|
mixins: [tt],
|
|
14244
14239
|
emits: ["model-updated"],
|
|
14245
14240
|
methods: {
|
|
@@ -14248,7 +14243,7 @@ const PS = /* @__PURE__ */ Ge(BS, [["render", NS], ["__scopeId", "data-v-25fe24d
|
|
|
14248
14243
|
}
|
|
14249
14244
|
}
|
|
14250
14245
|
};
|
|
14251
|
-
function
|
|
14246
|
+
function jS(e, a, n, r, s, l) {
|
|
14252
14247
|
const u = ee("KMultiselect");
|
|
14253
14248
|
return y(), K(u, {
|
|
14254
14249
|
"aria-labelledby": e.getLabelId(e.schema),
|
|
@@ -14262,7 +14257,7 @@ function DS(e, a, n, r, s, l) {
|
|
|
14262
14257
|
"onUpdate:modelValue": l.onUpdate
|
|
14263
14258
|
}, null, 8, ["aria-labelledby", "items", "label-attributes", "model-value", "placeholder", "required", "onUpdate:modelValue"]);
|
|
14264
14259
|
}
|
|
14265
|
-
const
|
|
14260
|
+
const DS = /* @__PURE__ */ Ge(PS, [["render", jS]]), US = {
|
|
14266
14261
|
name: "FieldKeyValuePairs",
|
|
14267
14262
|
components: { TrashIcon: ds },
|
|
14268
14263
|
mixins: [tt],
|
|
@@ -14310,10 +14305,10 @@ const US = /* @__PURE__ */ Ge(jS, [["render", DS]]), YS = {
|
|
|
14310
14305
|
this.pairs.splice(e, 1);
|
|
14311
14306
|
}
|
|
14312
14307
|
}
|
|
14313
|
-
},
|
|
14314
|
-
function
|
|
14308
|
+
}, YS = { class: "key-value-pairs-editor" }, VS = ["data-testid", "placeholder", "value", "onInput"], GS = ["data-testid", "placeholder", "value", "onInput"];
|
|
14309
|
+
function HS(e, a, n, r, s, l) {
|
|
14315
14310
|
const u = ee("TrashIcon"), d = ee("KButton");
|
|
14316
|
-
return y(), O("div",
|
|
14311
|
+
return y(), O("div", YS, [
|
|
14317
14312
|
(y(!0), O(Re, null, Ue(s.pairs, (p, m) => (y(), O("div", {
|
|
14318
14313
|
key: m,
|
|
14319
14314
|
class: "pair-item"
|
|
@@ -14327,7 +14322,7 @@ function FS(e, a, n, r, s, l) {
|
|
|
14327
14322
|
onInput: (v) => {
|
|
14328
14323
|
l.onInput(v, m, "key");
|
|
14329
14324
|
}
|
|
14330
|
-
}, null, 40,
|
|
14325
|
+
}, null, 40, VS),
|
|
14331
14326
|
S("input", {
|
|
14332
14327
|
class: "form-control",
|
|
14333
14328
|
"data-testid": `${e.getFieldID(e.schema)}-pair-value-${m}`,
|
|
@@ -14337,7 +14332,7 @@ function FS(e, a, n, r, s, l) {
|
|
|
14337
14332
|
onInput: (v) => {
|
|
14338
14333
|
l.onInput(v, m, "value");
|
|
14339
14334
|
}
|
|
14340
|
-
}, null, 40,
|
|
14335
|
+
}, null, 40, GS),
|
|
14341
14336
|
X(d, {
|
|
14342
14337
|
appearance: "tertiary",
|
|
14343
14338
|
"data-testid": `${e.getFieldID(e.schema)}-remove-pair-${m}`,
|
|
@@ -14365,10 +14360,10 @@ function FS(e, a, n, r, s, l) {
|
|
|
14365
14360
|
}, 8, ["class", "data-testid", "onClick"])
|
|
14366
14361
|
]);
|
|
14367
14362
|
}
|
|
14368
|
-
const
|
|
14363
|
+
const FS = /* @__PURE__ */ Ge(US, [["render", HS], ["__scopeId", "data-v-29d15375"]]), zS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14369
14364
|
__proto__: null,
|
|
14370
|
-
FieldAdvanced:
|
|
14371
|
-
FieldArray:
|
|
14365
|
+
FieldAdvanced: OS,
|
|
14366
|
+
FieldArray: bS,
|
|
14372
14367
|
FieldArrayCardContainer: dg,
|
|
14373
14368
|
FieldArrayItem: og,
|
|
14374
14369
|
FieldArrayMultiItem: lg,
|
|
@@ -14380,11 +14375,11 @@ const zS = /* @__PURE__ */ Ge(YS, [["render", FS], ["__scopeId", "data-v-29d1537
|
|
|
14380
14375
|
FieldGoogleAddress: oM,
|
|
14381
14376
|
FieldImage: gM,
|
|
14382
14377
|
FieldInput: $p,
|
|
14383
|
-
FieldKeyValuePairs:
|
|
14378
|
+
FieldKeyValuePairs: FS,
|
|
14384
14379
|
FieldLabel: EB,
|
|
14385
14380
|
FieldMasked: AM,
|
|
14386
14381
|
FieldMetric: ug,
|
|
14387
|
-
FieldMultiselect:
|
|
14382
|
+
FieldMultiselect: DS,
|
|
14388
14383
|
FieldNoUiSlider: wM,
|
|
14389
14384
|
FieldObject: ig,
|
|
14390
14385
|
FieldObjectAdvanced: rg,
|
|
@@ -14394,16 +14389,16 @@ const zS = /* @__PURE__ */ Ge(YS, [["render", FS], ["__scopeId", "data-v-29d1537
|
|
|
14394
14389
|
FieldRangeSlider: SM,
|
|
14395
14390
|
FieldSelect: eg,
|
|
14396
14391
|
FieldSelectEx: jM,
|
|
14397
|
-
FieldSelectionGroup:
|
|
14392
|
+
FieldSelectionGroup: NS,
|
|
14398
14393
|
FieldSpectrum: VM,
|
|
14399
14394
|
FieldStaticMap: zM,
|
|
14400
14395
|
FieldSubmit: YB,
|
|
14401
14396
|
FieldTextArea: tg,
|
|
14402
14397
|
FieldUpload: XB,
|
|
14403
14398
|
fieldSwitch: ZM
|
|
14404
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
14399
|
+
}, Symbol.toStringTag, { value: "Module" })), KS = {
|
|
14405
14400
|
name: "FormGroup",
|
|
14406
|
-
components:
|
|
14401
|
+
components: zS,
|
|
14407
14402
|
mixins: [Kp],
|
|
14408
14403
|
props: {
|
|
14409
14404
|
vfg: {
|
|
@@ -14499,23 +14494,23 @@ const zS = /* @__PURE__ */ Ge(YS, [["render", FS], ["__scopeId", "data-v-29d1537
|
|
|
14499
14494
|
return e ? e.replace(/^[cC]onfig\./, "") : "";
|
|
14500
14495
|
}
|
|
14501
14496
|
}
|
|
14502
|
-
}, gg = (e) => (fn("data-v-60b9a75a"), e = e(), mn(), e),
|
|
14497
|
+
}, gg = (e) => (fn("data-v-60b9a75a"), e = e(), mn(), e), qS = ["aria-describedby", "for"], XS = { class: "icon-wrapper" }, JS = ["innerHTML"], WS = /* @__PURE__ */ gg(() => /* @__PURE__ */ S("div", {
|
|
14503
14498
|
class: "help",
|
|
14504
14499
|
role: "button",
|
|
14505
14500
|
tabindex: "0"
|
|
14506
14501
|
}, [
|
|
14507
14502
|
/* @__PURE__ */ S("i", { class: "icon" })
|
|
14508
|
-
], -1)),
|
|
14503
|
+
], -1)), ZS = ["innerHTML"], QS = {
|
|
14509
14504
|
key: 0,
|
|
14510
14505
|
class: "link-wrapper"
|
|
14511
|
-
},
|
|
14506
|
+
}, _S = /* @__PURE__ */ gg(() => /* @__PURE__ */ S("span", { class: "section-header" }, "More info", -1)), $S = { class: "field-wrap" }, eT = {
|
|
14512
14507
|
key: 0,
|
|
14513
14508
|
class: "buttons"
|
|
14514
|
-
},
|
|
14509
|
+
}, tT = ["type", "onClick", "textContent"], nT = ["innerHTML"], iT = {
|
|
14515
14510
|
key: 2,
|
|
14516
14511
|
class: "errors help-block"
|
|
14517
|
-
},
|
|
14518
|
-
function
|
|
14512
|
+
}, aT = ["innerHTML"];
|
|
14513
|
+
function rT(e, a, n, r, s, l) {
|
|
14519
14514
|
const u = ee("KTooltip"), d = ee("KExternalLink");
|
|
14520
14515
|
return y(), O("div", {
|
|
14521
14516
|
class: Fe(["form-group", e.getFieldRowClasses(n.field)])
|
|
@@ -14526,10 +14521,10 @@ function sT(e, a, n, r, s, l) {
|
|
|
14526
14521
|
class: Fe(["form-group-label", n.field.labelClasses]),
|
|
14527
14522
|
for: l.getFieldID(n.field)
|
|
14528
14523
|
}, [
|
|
14529
|
-
S("div",
|
|
14524
|
+
S("div", XS, [
|
|
14530
14525
|
S("span", {
|
|
14531
14526
|
innerHTML: l.formattedLabel(n.field.label)
|
|
14532
|
-
}, null, 8,
|
|
14527
|
+
}, null, 8, JS),
|
|
14533
14528
|
n.field.help ? (y(), K(u, {
|
|
14534
14529
|
key: 0,
|
|
14535
14530
|
"max-width": "300",
|
|
@@ -14541,28 +14536,28 @@ function sT(e, a, n, r, s, l) {
|
|
|
14541
14536
|
n.options.helpAsHtml ? (y(), O("div", {
|
|
14542
14537
|
key: 0,
|
|
14543
14538
|
innerHTML: n.field.help
|
|
14544
|
-
}, null, 8,
|
|
14539
|
+
}, null, 8, ZS)) : (y(), O(Re, { key: 1 }, [
|
|
14545
14540
|
Be(W(n.field.help), 1)
|
|
14546
14541
|
], 64))
|
|
14547
14542
|
]),
|
|
14548
14543
|
default: T(() => [
|
|
14549
|
-
|
|
14544
|
+
WS
|
|
14550
14545
|
]),
|
|
14551
14546
|
_: 1
|
|
14552
14547
|
}, 8, ["tooltip-id"])) : se("", !0)
|
|
14553
14548
|
]),
|
|
14554
|
-
n.field.link ? (y(), O("div",
|
|
14549
|
+
n.field.link ? (y(), O("div", QS, [
|
|
14555
14550
|
X(d, {
|
|
14556
14551
|
href: n.field.link
|
|
14557
14552
|
}, {
|
|
14558
14553
|
default: T(() => [
|
|
14559
|
-
|
|
14554
|
+
_S
|
|
14560
14555
|
]),
|
|
14561
14556
|
_: 1
|
|
14562
14557
|
}, 8, ["href"])
|
|
14563
14558
|
])) : se("", !0)
|
|
14564
|
-
], 10,
|
|
14565
|
-
S("div",
|
|
14559
|
+
], 10, qS)) : se("", !0),
|
|
14560
|
+
S("div", $S, [
|
|
14566
14561
|
(y(), K(Ot(l.getFieldType(n.field)), oa(e.$attrs, {
|
|
14567
14562
|
ref: "child",
|
|
14568
14563
|
disabled: e.fieldDisabled(n.field) || null,
|
|
@@ -14573,32 +14568,32 @@ function sT(e, a, n, r, s, l) {
|
|
|
14573
14568
|
onModelUpdated: l.onModelUpdated,
|
|
14574
14569
|
onValidated: l.onFieldValidated
|
|
14575
14570
|
}), null, 16, ["disabled", "form-options", "model", "schema", "vfg", "onModelUpdated", "onValidated"])),
|
|
14576
|
-
l.buttonVisibility(n.field) ? (y(), O("div",
|
|
14571
|
+
l.buttonVisibility(n.field) ? (y(), O("div", eT, [
|
|
14577
14572
|
(y(!0), O(Re, null, Ue(n.field.buttons, (p, m) => (y(), O("button", {
|
|
14578
14573
|
key: m,
|
|
14579
14574
|
class: Fe(p.classes),
|
|
14580
14575
|
type: l.getButtonType(p),
|
|
14581
14576
|
onClick: (v) => l.buttonClickHandler(p, n.field, v),
|
|
14582
14577
|
textContent: W(p.label)
|
|
14583
|
-
}, null, 10,
|
|
14578
|
+
}, null, 10, tT))), 128))
|
|
14584
14579
|
])) : se("", !0)
|
|
14585
14580
|
]),
|
|
14586
14581
|
n.field.hint ? (y(), O("div", {
|
|
14587
14582
|
key: 1,
|
|
14588
14583
|
class: "hint",
|
|
14589
14584
|
innerHTML: l.fieldHint(n.field)
|
|
14590
|
-
}, null, 8,
|
|
14591
|
-
l.fieldErrors(n.field).length > 0 ? (y(), O("div",
|
|
14585
|
+
}, null, 8, nT)) : se("", !0),
|
|
14586
|
+
l.fieldErrors(n.field).length > 0 ? (y(), O("div", iT, [
|
|
14592
14587
|
(y(!0), O(Re, null, Ue(l.fieldErrors(n.field), (p, m) => (y(), O("span", {
|
|
14593
14588
|
key: m,
|
|
14594
14589
|
innerHTML: p
|
|
14595
|
-
}, null, 8,
|
|
14590
|
+
}, null, 8, aT))), 128))
|
|
14596
14591
|
])) : se("", !0)
|
|
14597
14592
|
], 2);
|
|
14598
14593
|
}
|
|
14599
|
-
const
|
|
14594
|
+
const sT = /* @__PURE__ */ Ge(KS, [["render", rT], ["__scopeId", "data-v-60b9a75a"]]), oT = {
|
|
14600
14595
|
name: "FormGenerator",
|
|
14601
|
-
components: { formGroup:
|
|
14596
|
+
components: { formGroup: sT },
|
|
14602
14597
|
mixins: [Kp],
|
|
14603
14598
|
props: {
|
|
14604
14599
|
schema: {
|
|
@@ -14730,13 +14725,13 @@ const oT = /* @__PURE__ */ Ge(qS, [["render", sT], ["__scopeId", "data-v-60b9a75
|
|
|
14730
14725
|
});
|
|
14731
14726
|
}
|
|
14732
14727
|
}
|
|
14733
|
-
},
|
|
14728
|
+
}, lT = {
|
|
14734
14729
|
key: 0,
|
|
14735
14730
|
class: "vue-form-generator"
|
|
14736
|
-
},
|
|
14737
|
-
function
|
|
14731
|
+
}, uT = { key: 0 };
|
|
14732
|
+
function cT(e, a, n, r, s, l) {
|
|
14738
14733
|
const u = ee("form-group"), d = ee("KCollapse");
|
|
14739
|
-
return n.schema != null ? (y(), O("div",
|
|
14734
|
+
return n.schema != null ? (y(), O("div", lT, [
|
|
14740
14735
|
n.schema.fields ? (y(), K(Ot(n.tag), { key: 0 }, {
|
|
14741
14736
|
default: T(() => [
|
|
14742
14737
|
(y(!0), O(Re, null, Ue(l.fields, (p) => (y(), O(Re, {
|
|
@@ -14846,7 +14841,7 @@ function dT(e, a, n, r, s, l) {
|
|
|
14846
14841
|
class: Fe(e.getFieldRowClasses(p))
|
|
14847
14842
|
}, {
|
|
14848
14843
|
default: T(() => [
|
|
14849
|
-
p.legend ? (y(), O("legend",
|
|
14844
|
+
p.legend ? (y(), O("legend", uT, W(p.legend), 1)) : se("", !0),
|
|
14850
14845
|
(y(!0), O(Re, null, Ue(p.fields, (v) => (y(), O(Re, {
|
|
14851
14846
|
key: v.model
|
|
14852
14847
|
}, [
|
|
@@ -14869,7 +14864,7 @@ function dT(e, a, n, r, s, l) {
|
|
|
14869
14864
|
], 64))), 128))
|
|
14870
14865
|
])) : se("", !0);
|
|
14871
14866
|
}
|
|
14872
|
-
const dn = /* @__PURE__ */ Ge(
|
|
14867
|
+
const dn = /* @__PURE__ */ Ge(oT, [["render", cT]]), dT = {
|
|
14873
14868
|
fields: [{
|
|
14874
14869
|
inputType: "text",
|
|
14875
14870
|
label: "Config.Client Id",
|
|
@@ -14892,7 +14887,7 @@ const dn = /* @__PURE__ */ Ge(lT, [["render", dT]]), pT = {
|
|
|
14892
14887
|
model: "config-auth_methods",
|
|
14893
14888
|
type: "input"
|
|
14894
14889
|
}]
|
|
14895
|
-
},
|
|
14890
|
+
}, pT = {
|
|
14896
14891
|
fields: [{
|
|
14897
14892
|
inputType: "text",
|
|
14898
14893
|
label: "Config.Scopes Claim",
|
|
@@ -14966,7 +14961,7 @@ const dn = /* @__PURE__ */ Ge(lT, [["render", dT]]), pT = {
|
|
|
14966
14961
|
newElementButtonLabelClasses: "auth-array-item-new",
|
|
14967
14962
|
newElementButtonLabel: "+ Add"
|
|
14968
14963
|
}]
|
|
14969
|
-
},
|
|
14964
|
+
}, gT = {
|
|
14970
14965
|
fields: [
|
|
14971
14966
|
{
|
|
14972
14967
|
type: "array",
|
|
@@ -15180,7 +15175,7 @@ const dn = /* @__PURE__ */ Ge(lT, [["render", dT]]), pT = {
|
|
|
15180
15175
|
link: "https://docs.konghq.com/hub/kong-inc/openid-connect/#host-record"
|
|
15181
15176
|
}
|
|
15182
15177
|
]
|
|
15183
|
-
},
|
|
15178
|
+
}, fT = {
|
|
15184
15179
|
name: "OIDCForm",
|
|
15185
15180
|
components: { VueFormGenerator: dn },
|
|
15186
15181
|
props: {
|
|
@@ -15255,10 +15250,10 @@ const dn = /* @__PURE__ */ Ge(lT, [["render", dT]]), pT = {
|
|
|
15255
15250
|
this.init || (this.init = !0, this.globalFields = {
|
|
15256
15251
|
fields: this.formSchema.fields.filter((n) => !n.model.startsWith("config") && n.model !== "tags")
|
|
15257
15252
|
}, this.commonFieldsSchema = {
|
|
15258
|
-
...
|
|
15253
|
+
...dT
|
|
15259
15254
|
}, this.authFieldsSchema = {
|
|
15260
|
-
...
|
|
15261
|
-
}, this.advancedFieldsSchema.fields = this.formSchema.fields.filter((n) => n.model.startsWith("config") && !this.commonFieldsSchema.fields.filter((r) => r.model === n.model).length && !this.authFieldsSchema.fields.filter((r) => r.model === n.model).length || n.model === "tags"), this.advancedFieldsSchema.fields = this.advancedFieldsSchema.fields.map((n) =>
|
|
15255
|
+
...pT
|
|
15256
|
+
}, this.advancedFieldsSchema.fields = this.formSchema.fields.filter((n) => n.model.startsWith("config") && !this.commonFieldsSchema.fields.filter((r) => r.model === n.model).length && !this.authFieldsSchema.fields.filter((r) => r.model === n.model).length || n.model === "tags"), this.advancedFieldsSchema.fields = this.advancedFieldsSchema.fields.map((n) => gT.fields.find((s) => s.model === n.model) || n), this.commonFieldsSchema.fields = this.commonFieldsSchema.fields.filter((n) => n.model !== "config-auth_methods"), this.sessionManagement = this.isEditing ? this.formModel["config-auth_methods"].includes("session") : !1, this.authMethods = [
|
|
15262
15257
|
{
|
|
15263
15258
|
label: "Authorization Code Flow",
|
|
15264
15259
|
value: "authorization_code",
|
|
@@ -15327,8 +15322,8 @@ const dn = /* @__PURE__ */ Ge(lT, [["render", dT]]), pT = {
|
|
|
15327
15322
|
this.formModel["config-auth_methods"] = this.getAuthMethodsValue(a, e), this.onModelUpdated();
|
|
15328
15323
|
}
|
|
15329
15324
|
}
|
|
15330
|
-
}, fa = (e) => (fn("data-v-e7395ff0"), e = e(), mn(), e),
|
|
15331
|
-
function
|
|
15325
|
+
}, fa = (e) => (fn("data-v-e7395ff0"), e = e(), mn(), e), mT = { class: "general-settings" }, hT = { class: "link-wrapper" }, AT = /* @__PURE__ */ fa(() => /* @__PURE__ */ S("span", { class: "section-header" }, "Common Configuration Settings", -1)), yT = /* @__PURE__ */ fa(() => /* @__PURE__ */ S("div", { class: "description" }, " Parameters for enabling the OpenID Connect plugin. Set these parameters before adding authorization, authentication, or other advanced configuration details. ", -1)), vT = { class: "auth-method-container" }, bT = { class: "general-settings" }, wT = { class: "link-wrapper" }, CT = /* @__PURE__ */ fa(() => /* @__PURE__ */ S("span", { class: "section-header" }, "Authorization Configuration Settings", -1)), ET = /* @__PURE__ */ fa(() => /* @__PURE__ */ S("div", { class: "description" }, " Parameters for setting up claims-based authorization. ", -1)), kT = { class: "general-settings" }, OT = { class: "link-wrapper" }, IT = /* @__PURE__ */ fa(() => /* @__PURE__ */ S("span", { class: "section-header" }, "Advanced Configuration Settings", -1)), BT = /* @__PURE__ */ fa(() => /* @__PURE__ */ S("div", { class: "description" }, " Advanced parameters for manually configuring the OpenID Connect plugin. ", -1));
|
|
15326
|
+
function MT(e, a, n, r, s, l) {
|
|
15332
15327
|
const u = ee("VueFormGenerator"), d = ee("KExternalLink"), p = ee("KLabel"), m = ee("KCheckbox"), v = ee("KInputSwitch"), b = ee("KTabs");
|
|
15333
15328
|
return y(), O("div", null, [
|
|
15334
15329
|
n.formModel.id && n.isEditing || !n.isEditing ? (y(), K(u, {
|
|
@@ -15341,16 +15336,16 @@ function xT(e, a, n, r, s, l) {
|
|
|
15341
15336
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : se("", !0),
|
|
15342
15337
|
X(b, { tabs: s.tabs }, {
|
|
15343
15338
|
common: T(() => [
|
|
15344
|
-
S("div",
|
|
15345
|
-
S("div",
|
|
15339
|
+
S("div", mT, [
|
|
15340
|
+
S("div", hT, [
|
|
15346
15341
|
X(d, { href: "https://docs.konghq.com/hub/kong-inc/openid-connect/#important-configuration-parameters" }, {
|
|
15347
15342
|
default: T(() => [
|
|
15348
|
-
|
|
15343
|
+
AT
|
|
15349
15344
|
]),
|
|
15350
15345
|
_: 1
|
|
15351
15346
|
})
|
|
15352
15347
|
]),
|
|
15353
|
-
|
|
15348
|
+
yT,
|
|
15354
15349
|
l.displayForm ? (y(), K(u, {
|
|
15355
15350
|
key: 0,
|
|
15356
15351
|
model: n.formModel,
|
|
@@ -15364,7 +15359,7 @@ function xT(e, a, n, r, s, l) {
|
|
|
15364
15359
|
]),
|
|
15365
15360
|
_: 1
|
|
15366
15361
|
}),
|
|
15367
|
-
S("div",
|
|
15362
|
+
S("div", vT, [
|
|
15368
15363
|
(y(!0), O(Re, null, Ue(s.authMethods, (E) => (y(), O("div", {
|
|
15369
15364
|
key: E.value,
|
|
15370
15365
|
class: "auth-method"
|
|
@@ -15390,16 +15385,16 @@ function xT(e, a, n, r, s, l) {
|
|
|
15390
15385
|
])
|
|
15391
15386
|
]),
|
|
15392
15387
|
authorization: T(() => [
|
|
15393
|
-
S("div",
|
|
15394
|
-
S("div",
|
|
15388
|
+
S("div", bT, [
|
|
15389
|
+
S("div", wT, [
|
|
15395
15390
|
X(d, { href: "https://docs.konghq.com/hub/kong-inc/openid-connect/#authorization" }, {
|
|
15396
15391
|
default: T(() => [
|
|
15397
|
-
|
|
15392
|
+
CT
|
|
15398
15393
|
]),
|
|
15399
15394
|
_: 1
|
|
15400
15395
|
})
|
|
15401
15396
|
]),
|
|
15402
|
-
|
|
15397
|
+
ET,
|
|
15403
15398
|
l.displayForm ? (y(), K(u, {
|
|
15404
15399
|
key: 0,
|
|
15405
15400
|
model: n.formModel,
|
|
@@ -15410,16 +15405,16 @@ function xT(e, a, n, r, s, l) {
|
|
|
15410
15405
|
])
|
|
15411
15406
|
]),
|
|
15412
15407
|
advanced: T(() => [
|
|
15413
|
-
S("div",
|
|
15414
|
-
S("div",
|
|
15408
|
+
S("div", kT, [
|
|
15409
|
+
S("div", OT, [
|
|
15415
15410
|
X(d, { href: "https://docs.konghq.com/hub/kong-inc/openid-connect/" }, {
|
|
15416
15411
|
default: T(() => [
|
|
15417
|
-
|
|
15412
|
+
IT
|
|
15418
15413
|
]),
|
|
15419
15414
|
_: 1
|
|
15420
15415
|
})
|
|
15421
15416
|
]),
|
|
15422
|
-
|
|
15417
|
+
BT,
|
|
15423
15418
|
l.displayForm ? (y(), K(u, {
|
|
15424
15419
|
key: 0,
|
|
15425
15420
|
model: n.formModel,
|
|
@@ -15433,10 +15428,10 @@ function xT(e, a, n, r, s, l) {
|
|
|
15433
15428
|
}, 8, ["tabs"])
|
|
15434
15429
|
]);
|
|
15435
15430
|
}
|
|
15436
|
-
const
|
|
15431
|
+
const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff0"]]), ST = {
|
|
15437
15432
|
packageName: "forms"
|
|
15438
15433
|
}, fg = {
|
|
15439
|
-
general:
|
|
15434
|
+
general: ST,
|
|
15440
15435
|
"post-function": {
|
|
15441
15436
|
tags: {
|
|
15442
15437
|
hint: "e.g. tag1, tag2, tag3",
|
|
@@ -15497,7 +15492,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15497
15492
|
newElementButtonLabel: "+ Add"
|
|
15498
15493
|
}
|
|
15499
15494
|
}
|
|
15500
|
-
},
|
|
15495
|
+
}, TT = /* @__PURE__ */ Ye({
|
|
15501
15496
|
__name: "PostFunction",
|
|
15502
15497
|
props: {
|
|
15503
15498
|
formModel: {
|
|
@@ -15538,7 +15533,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15538
15533
|
onModelUpdated: e.onModelUpdated
|
|
15539
15534
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : se("", !0);
|
|
15540
15535
|
}
|
|
15541
|
-
}),
|
|
15536
|
+
}), RT = /* @__PURE__ */ Ge(TT, [["__scopeId", "data-v-6706c68b"]]), LT = /* @__PURE__ */ Ye({
|
|
15542
15537
|
__name: "ExitTransformer",
|
|
15543
15538
|
props: {
|
|
15544
15539
|
formModel: {
|
|
@@ -15579,7 +15574,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15579
15574
|
onModelUpdated: e.onModelUpdated
|
|
15580
15575
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : se("", !0);
|
|
15581
15576
|
}
|
|
15582
|
-
}),
|
|
15577
|
+
}), NT = /* @__PURE__ */ Ge(LT, [["__scopeId", "data-v-0fc8ef29"]]), PT = {
|
|
15583
15578
|
fields: [
|
|
15584
15579
|
{
|
|
15585
15580
|
inputType: "text",
|
|
@@ -15614,7 +15609,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15614
15609
|
disabled: !1
|
|
15615
15610
|
}
|
|
15616
15611
|
]
|
|
15617
|
-
},
|
|
15612
|
+
}, jT = {
|
|
15618
15613
|
fields: [
|
|
15619
15614
|
{
|
|
15620
15615
|
type: "input",
|
|
@@ -15636,7 +15631,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15636
15631
|
disabled: !1
|
|
15637
15632
|
}
|
|
15638
15633
|
]
|
|
15639
|
-
},
|
|
15634
|
+
}, DT = {
|
|
15640
15635
|
fields: [
|
|
15641
15636
|
{
|
|
15642
15637
|
type: "input",
|
|
@@ -15667,13 +15662,13 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15667
15662
|
disabled: !1
|
|
15668
15663
|
}
|
|
15669
15664
|
]
|
|
15670
|
-
}, Gi = (e) => (fn("data-v-5b189366"), e = e(), mn(), e),
|
|
15665
|
+
}, Gi = (e) => (fn("data-v-5b189366"), e = e(), mn(), e), UT = { class: "general-settings" }, YT = /* @__PURE__ */ Gi(() => /* @__PURE__ */ S("div", { class: "header-wrapper" }, [
|
|
15671
15666
|
/* @__PURE__ */ S("span", { class: "section-header" }, "General Configuration Settings")
|
|
15672
|
-
], -1)),
|
|
15667
|
+
], -1)), VT = /* @__PURE__ */ Gi(() => /* @__PURE__ */ S("div", { class: "description" }, " Parameters for enabling the ACME plugin. ", -1)), GT = /* @__PURE__ */ Gi(() => /* @__PURE__ */ S("hr", null, null, -1)), HT = { class: "sub-form" }, FT = { class: "general-settings" }, zT = /* @__PURE__ */ Gi(() => /* @__PURE__ */ S("div", { class: "header-wrapper" }, [
|
|
15673
15668
|
/* @__PURE__ */ S("span", { class: "section-header" }, "Storage Configuration Settings")
|
|
15674
|
-
], -1)),
|
|
15669
|
+
], -1)), KT = /* @__PURE__ */ Gi(() => /* @__PURE__ */ S("div", { class: "description" }, " Parameters for setting up storage. ", -1)), qT = { class: "sub-form" }, XT = { class: "general-settings" }, JT = /* @__PURE__ */ Gi(() => /* @__PURE__ */ S("div", { class: "header-wrapper" }, [
|
|
15675
15670
|
/* @__PURE__ */ S("span", { class: "section-header" }, "Advanced Configuration Settings")
|
|
15676
|
-
], -1)),
|
|
15671
|
+
], -1)), WT = /* @__PURE__ */ Gi(() => /* @__PURE__ */ S("div", { class: "description" }, " Advanced parameters for manually configuring the ACME plugin. ", -1)), ZT = /* @__PURE__ */ Ye({
|
|
15677
15672
|
__name: "ACMEForm",
|
|
15678
15673
|
props: {
|
|
15679
15674
|
formModel: {
|
|
@@ -15708,7 +15703,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15708
15703
|
return C;
|
|
15709
15704
|
}), l = J(() => {
|
|
15710
15705
|
var I;
|
|
15711
|
-
const C = H.cloneDeep(
|
|
15706
|
+
const C = H.cloneDeep(PT);
|
|
15712
15707
|
for (const U of C.fields) {
|
|
15713
15708
|
const P = (I = s.value[U.model]) == null ? void 0 : I.help;
|
|
15714
15709
|
U.help === void 0 && typeof P == "string" && (U.help = P);
|
|
@@ -15716,7 +15711,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15716
15711
|
return C;
|
|
15717
15712
|
}), u = J(() => {
|
|
15718
15713
|
var I;
|
|
15719
|
-
const C = H.cloneDeep(
|
|
15714
|
+
const C = H.cloneDeep(jT);
|
|
15720
15715
|
for (const U of C.fields) {
|
|
15721
15716
|
const P = (I = s.value[U.model]) == null ? void 0 : I.help;
|
|
15722
15717
|
U.help === void 0 && typeof P == "string" && (U.help = P);
|
|
@@ -15724,7 +15719,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15724
15719
|
return C;
|
|
15725
15720
|
}), d = J(() => {
|
|
15726
15721
|
var I;
|
|
15727
|
-
const C = H.cloneDeep(
|
|
15722
|
+
const C = H.cloneDeep(DT);
|
|
15728
15723
|
for (const U of C.fields) {
|
|
15729
15724
|
const P = (I = s.value[U.model]) == null ? void 0 : I.help;
|
|
15730
15725
|
U.help === void 0 && typeof P == "string" && (U.help = P);
|
|
@@ -15797,9 +15792,9 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15797
15792
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : se("", !0),
|
|
15798
15793
|
X(P, { tabs: ie }, {
|
|
15799
15794
|
general: T(() => [
|
|
15800
|
-
S("div",
|
|
15795
|
+
S("div", UT, [
|
|
15796
|
+
YT,
|
|
15801
15797
|
VT,
|
|
15802
|
-
GT,
|
|
15803
15798
|
Y.value ? (y(), K(dn, {
|
|
15804
15799
|
key: 0,
|
|
15805
15800
|
model: e.formModel,
|
|
@@ -15807,14 +15802,14 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15807
15802
|
schema: m.value,
|
|
15808
15803
|
onModelUpdated: e.onModelUpdated
|
|
15809
15804
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : se("", !0),
|
|
15810
|
-
|
|
15805
|
+
GT,
|
|
15811
15806
|
X(U, {
|
|
15812
15807
|
class: "issuer-select",
|
|
15813
15808
|
items: Z,
|
|
15814
15809
|
label: "Issuer",
|
|
15815
15810
|
onChange: te
|
|
15816
15811
|
}),
|
|
15817
|
-
S("div",
|
|
15812
|
+
S("div", HT, [
|
|
15818
15813
|
n.value === "letsEncrypt" ? (y(), K(dn, {
|
|
15819
15814
|
key: 0,
|
|
15820
15815
|
model: e.formModel,
|
|
@@ -15833,9 +15828,9 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15833
15828
|
])
|
|
15834
15829
|
]),
|
|
15835
15830
|
storage: T(() => [
|
|
15836
|
-
S("div",
|
|
15831
|
+
S("div", FT, [
|
|
15832
|
+
zT,
|
|
15837
15833
|
KT,
|
|
15838
|
-
qT,
|
|
15839
15834
|
Y.value ? (y(), K(dn, {
|
|
15840
15835
|
key: 0,
|
|
15841
15836
|
model: e.formModel,
|
|
@@ -15843,7 +15838,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15843
15838
|
schema: v.value,
|
|
15844
15839
|
onModelUpdated: N
|
|
15845
15840
|
}, null, 8, ["model", "options", "schema"])) : se("", !0),
|
|
15846
|
-
S("div",
|
|
15841
|
+
S("div", qT, [
|
|
15847
15842
|
r.value === "consul" ? (y(), K(dn, {
|
|
15848
15843
|
key: 0,
|
|
15849
15844
|
model: e.formModel,
|
|
@@ -15876,9 +15871,9 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15876
15871
|
])
|
|
15877
15872
|
]),
|
|
15878
15873
|
advanced: T(() => [
|
|
15879
|
-
S("div",
|
|
15874
|
+
S("div", XT, [
|
|
15875
|
+
JT,
|
|
15880
15876
|
WT,
|
|
15881
|
-
ZT,
|
|
15882
15877
|
Y.value ? (y(), K(dn, {
|
|
15883
15878
|
key: 0,
|
|
15884
15879
|
model: e.formModel,
|
|
@@ -15893,12 +15888,12 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15893
15888
|
]);
|
|
15894
15889
|
};
|
|
15895
15890
|
}
|
|
15896
|
-
}),
|
|
15891
|
+
}), QT = /* @__PURE__ */ Ge(ZT, [["__scopeId", "data-v-5b189366"]]), _T = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15897
15892
|
__proto__: null,
|
|
15898
|
-
ACMEForm:
|
|
15899
|
-
ExitTransformer:
|
|
15900
|
-
OIDCForm:
|
|
15901
|
-
PostFunction:
|
|
15893
|
+
ACMEForm: QT,
|
|
15894
|
+
ExitTransformer: NT,
|
|
15895
|
+
OIDCForm: xT,
|
|
15896
|
+
PostFunction: RT
|
|
15902
15897
|
}, Symbol.toStringTag, { value: "Module" })), Vo = [
|
|
15903
15898
|
"array",
|
|
15904
15899
|
"metric",
|
|
@@ -15918,7 +15913,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15918
15913
|
newElementButtonLabelClasses: "kong-form-new-element-button-label",
|
|
15919
15914
|
itemContainerComponent: "FieldArrayCardContainer",
|
|
15920
15915
|
fieldClasses: "array-card-container-wrapper"
|
|
15921
|
-
},
|
|
15916
|
+
}, $T = {
|
|
15922
15917
|
"config-prompts-prepend": {
|
|
15923
15918
|
...pa,
|
|
15924
15919
|
newElementButtonLabel: "+ Add Message",
|
|
@@ -15971,7 +15966,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15971
15966
|
}
|
|
15972
15967
|
}
|
|
15973
15968
|
}
|
|
15974
|
-
},
|
|
15969
|
+
}, eR = {
|
|
15975
15970
|
"config-templates": {
|
|
15976
15971
|
...pa,
|
|
15977
15972
|
newElementButtonLabel: "+ Add Template",
|
|
@@ -15994,7 +15989,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
15994
15989
|
}
|
|
15995
15990
|
}
|
|
15996
15991
|
}
|
|
15997
|
-
},
|
|
15992
|
+
}, tR = {
|
|
15998
15993
|
enabled: {
|
|
15999
15994
|
type: "switch",
|
|
16000
15995
|
model: "enabled",
|
|
@@ -16064,7 +16059,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16064
16059
|
newElementButtonLabelClasses: "kong-form-new-element-button-label",
|
|
16065
16060
|
itemContainerComponent: "FieldMetric",
|
|
16066
16061
|
fieldClasses: "metrics-wrapper"
|
|
16067
|
-
},
|
|
16062
|
+
}, nR = {
|
|
16068
16063
|
"config-metrics": {
|
|
16069
16064
|
...Wa,
|
|
16070
16065
|
items: {
|
|
@@ -16126,7 +16121,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16126
16121
|
}
|
|
16127
16122
|
}
|
|
16128
16123
|
}
|
|
16129
|
-
},
|
|
16124
|
+
}, iR = {
|
|
16130
16125
|
"config-strategy": {
|
|
16131
16126
|
label: "Config.Strategy",
|
|
16132
16127
|
type: "select",
|
|
@@ -16158,14 +16153,14 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16158
16153
|
}
|
|
16159
16154
|
}
|
|
16160
16155
|
}
|
|
16161
|
-
},
|
|
16156
|
+
}, aR = {
|
|
16162
16157
|
"config-api_specification": {
|
|
16163
16158
|
label: "Config.API Specification",
|
|
16164
16159
|
placeholder: "Enter an API spec",
|
|
16165
16160
|
type: "textArea",
|
|
16166
16161
|
rows: 10
|
|
16167
16162
|
}
|
|
16168
|
-
},
|
|
16163
|
+
}, rR = {
|
|
16169
16164
|
"config-access": {},
|
|
16170
16165
|
"config-body_filter": {},
|
|
16171
16166
|
"config-header_filter": {},
|
|
@@ -16186,7 +16181,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16186
16181
|
[a]: Ja.fields.arrayItems({
|
|
16187
16182
|
newElementButtonLabel: "Add"
|
|
16188
16183
|
})
|
|
16189
|
-
}),
|
|
16184
|
+
}), rR), Hr = {
|
|
16190
16185
|
"config-strategy": {
|
|
16191
16186
|
label: "Config.Strategy",
|
|
16192
16187
|
type: "select",
|
|
@@ -16199,7 +16194,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16199
16194
|
placeholder: "Enter list of consumer groups",
|
|
16200
16195
|
hint: "e.g. group1, group2"
|
|
16201
16196
|
}
|
|
16202
|
-
},
|
|
16197
|
+
}, sR = {
|
|
16203
16198
|
"config-remove-headers": {},
|
|
16204
16199
|
"config-remove.querystring": {},
|
|
16205
16200
|
"config-remove-body": {},
|
|
@@ -16216,7 +16211,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16216
16211
|
"config-append-querystring": {},
|
|
16217
16212
|
"config-append-body": {},
|
|
16218
16213
|
"config-allow-body": {}
|
|
16219
|
-
},
|
|
16214
|
+
}, oR = [
|
|
16220
16215
|
"config-remove-headers",
|
|
16221
16216
|
"config-remove.querystring",
|
|
16222
16217
|
"config-remove-body",
|
|
@@ -16238,7 +16233,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16238
16233
|
[a]: Ja.fields.arrayItems({
|
|
16239
16234
|
newElementButtonLabel: "Add"
|
|
16240
16235
|
})
|
|
16241
|
-
}),
|
|
16236
|
+
}), sR), lR = {
|
|
16242
16237
|
"config-parameter_schema": {
|
|
16243
16238
|
...Wa,
|
|
16244
16239
|
items: {
|
|
@@ -16299,7 +16294,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16299
16294
|
}
|
|
16300
16295
|
}
|
|
16301
16296
|
}
|
|
16302
|
-
},
|
|
16297
|
+
}, uR = {
|
|
16303
16298
|
"config-rules": {
|
|
16304
16299
|
...pa,
|
|
16305
16300
|
newElementButtonLabel: "+ Add Rule",
|
|
@@ -16326,7 +16321,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16326
16321
|
}
|
|
16327
16322
|
}
|
|
16328
16323
|
}
|
|
16329
|
-
},
|
|
16324
|
+
}, cR = {
|
|
16330
16325
|
"config-session_redis_cluster_nodes": {
|
|
16331
16326
|
...pa,
|
|
16332
16327
|
newElementButtonLabel: "+ Add Cluster Node",
|
|
@@ -16347,7 +16342,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16347
16342
|
}
|
|
16348
16343
|
}
|
|
16349
16344
|
}
|
|
16350
|
-
},
|
|
16345
|
+
}, dR = {
|
|
16351
16346
|
"config-metrics": {
|
|
16352
16347
|
...Wa,
|
|
16353
16348
|
items: {
|
|
@@ -16422,7 +16417,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16422
16417
|
}
|
|
16423
16418
|
}
|
|
16424
16419
|
}
|
|
16425
|
-
},
|
|
16420
|
+
}, pR = {
|
|
16426
16421
|
"config-allow_status_codes": {
|
|
16427
16422
|
type: "input",
|
|
16428
16423
|
inputType: "text",
|
|
@@ -16507,7 +16502,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16507
16502
|
}
|
|
16508
16503
|
}
|
|
16509
16504
|
}
|
|
16510
|
-
},
|
|
16505
|
+
}, gR = {
|
|
16511
16506
|
"config-vault": {
|
|
16512
16507
|
type: "AutoSuggest",
|
|
16513
16508
|
entity: "vaults",
|
|
@@ -16518,7 +16513,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16518
16513
|
modelTransformer: (e) => ({ id: e }),
|
|
16519
16514
|
keyFromObject: "id"
|
|
16520
16515
|
}
|
|
16521
|
-
},
|
|
16516
|
+
}, fR = {
|
|
16522
16517
|
"config-static_tags": {
|
|
16523
16518
|
...Wa,
|
|
16524
16519
|
items: {
|
|
@@ -16544,19 +16539,19 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16544
16539
|
}
|
|
16545
16540
|
}
|
|
16546
16541
|
}
|
|
16547
|
-
},
|
|
16542
|
+
}, mR = (e, a) => {
|
|
16548
16543
|
const n = e.model.startsWith("config-"), r = a.model.startsWith("config-");
|
|
16549
16544
|
return n && !r ? 1 : !n && r ? -1 : 0;
|
|
16550
|
-
}, hg = (e, a) => (e.order ?? 0) - (a.order ?? 0), Rd = (e, a) =>
|
|
16545
|
+
}, hg = (e, a) => (e.order ?? 0) - (a.order ?? 0), Rd = (e, a) => mR(e, a) || hg(e, a) || e.model.localeCompare(a.model), hR = (e, a) => {
|
|
16551
16546
|
const { capitalize: n } = el(), { convertToDotNotation: r } = zp(), { i18n: { t: s } } = cs(), l = {
|
|
16552
16547
|
"application-registration": {
|
|
16553
16548
|
overwriteDefault: !0,
|
|
16554
16549
|
formSchema: {
|
|
16555
|
-
...
|
|
16550
|
+
...tR
|
|
16556
16551
|
}
|
|
16557
16552
|
},
|
|
16558
16553
|
datadog: {
|
|
16559
|
-
...
|
|
16554
|
+
...nR
|
|
16560
16555
|
},
|
|
16561
16556
|
"upstream-tls": {
|
|
16562
16557
|
"config-trusted_certificates": {
|
|
@@ -16577,22 +16572,22 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16577
16572
|
...Sd
|
|
16578
16573
|
},
|
|
16579
16574
|
statsd: {
|
|
16580
|
-
...
|
|
16575
|
+
...dR
|
|
16581
16576
|
},
|
|
16582
16577
|
"statsd-advanced": {
|
|
16583
|
-
...
|
|
16578
|
+
...pR
|
|
16584
16579
|
},
|
|
16585
16580
|
"route-by-header": {
|
|
16586
|
-
...
|
|
16581
|
+
...uR
|
|
16587
16582
|
},
|
|
16588
16583
|
"ai-prompt-decorator": {
|
|
16589
|
-
|
|
16584
|
+
...$T
|
|
16590
16585
|
},
|
|
16591
16586
|
"ai-prompt-template": {
|
|
16592
|
-
...
|
|
16587
|
+
...eR
|
|
16593
16588
|
},
|
|
16594
16589
|
"vault-auth": {
|
|
16595
|
-
...
|
|
16590
|
+
...gR
|
|
16596
16591
|
},
|
|
16597
16592
|
"oas-validation": {
|
|
16598
16593
|
"config-api_spec": {
|
|
@@ -16601,7 +16596,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16601
16596
|
}
|
|
16602
16597
|
},
|
|
16603
16598
|
mocking: {
|
|
16604
|
-
...
|
|
16599
|
+
...aR
|
|
16605
16600
|
},
|
|
16606
16601
|
"rate-limiting": {
|
|
16607
16602
|
...Hr
|
|
@@ -16612,7 +16607,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16612
16607
|
...Hr
|
|
16613
16608
|
},
|
|
16614
16609
|
"graphql-rate-limiting-advanced": {
|
|
16615
|
-
...
|
|
16610
|
+
...iR
|
|
16616
16611
|
},
|
|
16617
16612
|
"response-ratelimiting": {
|
|
16618
16613
|
...Hr
|
|
@@ -16625,16 +16620,16 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16625
16620
|
...Td
|
|
16626
16621
|
},
|
|
16627
16622
|
"request-transformer-advanced": {
|
|
16628
|
-
...
|
|
16623
|
+
...oR
|
|
16629
16624
|
},
|
|
16630
16625
|
"request-validator": {
|
|
16631
|
-
...
|
|
16626
|
+
...lR
|
|
16632
16627
|
},
|
|
16633
16628
|
zipkin: {
|
|
16634
|
-
...
|
|
16629
|
+
...fR
|
|
16635
16630
|
},
|
|
16636
16631
|
saml: {
|
|
16637
|
-
...
|
|
16632
|
+
...cR
|
|
16638
16633
|
}
|
|
16639
16634
|
}, u = () => ["created_at", "updated_at", "id"], d = (C, U, P) => {
|
|
16640
16635
|
let ne = {};
|
|
@@ -16820,7 +16815,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16820
16815
|
useI18n: cs,
|
|
16821
16816
|
usePluginMetaData: FI,
|
|
16822
16817
|
usePluginHelpers: zp,
|
|
16823
|
-
useSchemas:
|
|
16818
|
+
useSchemas: hR
|
|
16824
16819
|
}, nn = "/v2/control-planes/{controlPlaneId}/core-entities", Vt = "/{workspace}", Lt = {
|
|
16825
16820
|
list: {
|
|
16826
16821
|
konnect: {
|
|
@@ -16893,7 +16888,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16893
16888
|
forEntity: `${Vt}/{entityType}/{entityId}/plugins/{id}`
|
|
16894
16889
|
}
|
|
16895
16890
|
}
|
|
16896
|
-
},
|
|
16891
|
+
}, AR = { key: 0 }, yR = /* @__PURE__ */ Ye({
|
|
16897
16892
|
__name: "PluginFieldRuleAlerts",
|
|
16898
16893
|
props: {
|
|
16899
16894
|
rules: {}
|
|
@@ -16922,7 +16917,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16922
16917
|
(y(!0), O(Re, null, Ue(u.value, (v, b) => (y(), O("li", {
|
|
16923
16918
|
key: `simple-alert-${b}`
|
|
16924
16919
|
}, W(v), 1))), 128)),
|
|
16925
|
-
a.rules.onlyOneOfMutuallyRequired && a.rules.onlyOneOfMutuallyRequired.length > 0 ? (y(), O("li",
|
|
16920
|
+
a.rules.onlyOneOfMutuallyRequired && a.rules.onlyOneOfMutuallyRequired.length > 0 ? (y(), O("li", AR, [
|
|
16926
16921
|
(y(!0), O(Re, null, Ue(a.rules.onlyOneOfMutuallyRequired, (v, b) => (y(), O("div", {
|
|
16927
16922
|
key: `only-one-mutually-alert-${b}`
|
|
16928
16923
|
}, [
|
|
@@ -16945,13 +16940,13 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
16945
16940
|
for (const [r, s] of a)
|
|
16946
16941
|
n[r] = s;
|
|
16947
16942
|
return n;
|
|
16948
|
-
},
|
|
16943
|
+
}, vR = /* @__PURE__ */ Rn(yR, [["__scopeId", "data-v-17c1f232"]]), bR = { class: "kong-ui-entities-plugin-form" }, wR = {
|
|
16949
16944
|
key: 1,
|
|
16950
16945
|
class: "entity-form"
|
|
16951
|
-
},
|
|
16952
|
-
components: {
|
|
16953
|
-
}),
|
|
16954
|
-
...
|
|
16946
|
+
}, CR = { class: "plugin-config-empty-state" }, ER = Ye({
|
|
16947
|
+
components: { ..._T }
|
|
16948
|
+
}), kR = /* @__PURE__ */ Ye({
|
|
16949
|
+
...ER,
|
|
16955
16950
|
__name: "PluginEntityForm",
|
|
16956
16951
|
props: {
|
|
16957
16952
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17175,11 +17170,11 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
17175
17170
|
ie.value = l(r.schema), Object.assign(N, ((oe = ie.value) == null ? void 0 : oe.model) || {}), Z.value = ((ce = ie.value) == null ? void 0 : ce.schema) || {}, Ae();
|
|
17176
17171
|
}), (oe, ce) => {
|
|
17177
17172
|
const ke = ee("KSkeleton"), Ce = ee("VueFormGenerator");
|
|
17178
|
-
return y(), O("div",
|
|
17173
|
+
return y(), O("div", bR, [
|
|
17179
17174
|
ne.value ? (y(), K(ke, {
|
|
17180
17175
|
key: 0,
|
|
17181
17176
|
type: "form"
|
|
17182
|
-
})) : (y(), O("div",
|
|
17177
|
+
})) : (y(), O("div", wR, [
|
|
17183
17178
|
Y.value && (N.id && e.editing || !e.editing) ? (y(), K(Ot(Y.value), {
|
|
17184
17179
|
key: 0,
|
|
17185
17180
|
"form-model": N,
|
|
@@ -17196,14 +17191,14 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
17196
17191
|
onModelUpdated: U
|
|
17197
17192
|
}, Gn({
|
|
17198
17193
|
"plugin-config-empty-state": T(() => [
|
|
17199
|
-
S("div",
|
|
17194
|
+
S("div", CR, W(R(b)("plugins.form.grouping.plugin_configuration.empty")), 1)
|
|
17200
17195
|
]),
|
|
17201
17196
|
_: 2
|
|
17202
17197
|
}, [
|
|
17203
17198
|
R(Tn)[N.name] && R(Tn)[N.name].fieldRules ? {
|
|
17204
17199
|
name: "plugin-config-before-content",
|
|
17205
17200
|
fn: T(() => [
|
|
17206
|
-
X(
|
|
17201
|
+
X(vR, {
|
|
17207
17202
|
rules: R(Tn)[N.name].fieldRules
|
|
17208
17203
|
}, null, 8, ["rules"])
|
|
17209
17204
|
]),
|
|
@@ -17214,10 +17209,10 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
17214
17209
|
]);
|
|
17215
17210
|
};
|
|
17216
17211
|
}
|
|
17217
|
-
}),
|
|
17212
|
+
}), OR = /* @__PURE__ */ Rn(kR, [["__scopeId", "data-v-9e3936be"]]), IR = { class: "kong-ui-entities-plugin-form-container" }, BR = { key: 0 }, MR = {
|
|
17218
17213
|
key: 1,
|
|
17219
17214
|
class: "plugin-form-actions"
|
|
17220
|
-
},
|
|
17215
|
+
}, xR = /* @__PURE__ */ Ye({
|
|
17221
17216
|
__name: "PluginForm",
|
|
17222
17217
|
props: {
|
|
17223
17218
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17690,7 +17685,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
17690
17685
|
}
|
|
17691
17686
|
}), (fe, Q) => {
|
|
17692
17687
|
const L = ee("KSkeleton"), pe = ee("KEmptyState"), Oe = ee("KButton"), Ne = ee("KTabs"), lt = ee("KSlideout");
|
|
17693
|
-
return y(), O("div",
|
|
17688
|
+
return y(), O("div", IR, [
|
|
17694
17689
|
Ke.value ? (y(), K(L, {
|
|
17695
17690
|
key: 0,
|
|
17696
17691
|
type: "form"
|
|
@@ -17720,7 +17715,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
17720
17715
|
onLoading: Q[3] || (Q[3] = (Je) => fe.$emit("loading", Je))
|
|
17721
17716
|
}, {
|
|
17722
17717
|
"form-actions": T(() => [
|
|
17723
|
-
e.isWizardStep ? (y(), O("div",
|
|
17718
|
+
e.isWizardStep ? (y(), O("div", BR)) : (y(), O("div", MR, [
|
|
17724
17719
|
X(Oe, {
|
|
17725
17720
|
appearance: "tertiary",
|
|
17726
17721
|
"data-testid": "form-view-configuration",
|
|
@@ -17776,7 +17771,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
17776
17771
|
hidden: "",
|
|
17777
17772
|
onSubmit: Fn
|
|
17778
17773
|
}, null, 32),
|
|
17779
|
-
X(
|
|
17774
|
+
X(OR, {
|
|
17780
17775
|
config: e.config,
|
|
17781
17776
|
credential: Y.value,
|
|
17782
17777
|
editing: j.value === R(ti).Edit,
|
|
@@ -17825,7 +17820,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
17825
17820
|
]);
|
|
17826
17821
|
};
|
|
17827
17822
|
}
|
|
17828
|
-
}),
|
|
17823
|
+
}), $2 = /* @__PURE__ */ Rn(xR, [["__scopeId", "data-v-6d6aad4b"]]), SR = ["alt", "src", "width"], ll = /* @__PURE__ */ Ye({
|
|
17829
17824
|
__name: "PluginIcon",
|
|
17830
17825
|
props: {
|
|
17831
17826
|
name: {
|
|
@@ -17854,18 +17849,18 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
17854
17849
|
src: s.value || R(a),
|
|
17855
17850
|
width: e.size,
|
|
17856
17851
|
onError: l
|
|
17857
|
-
}, null, 40,
|
|
17852
|
+
}, null, 40, SR));
|
|
17858
17853
|
}
|
|
17859
|
-
}),
|
|
17854
|
+
}), TR = { class: "kong-ui-entities-plugins-list" }, RR = { class: "name-cell-wrapper" }, LR = { class: "info-wrapper" }, NR = {
|
|
17860
17855
|
key: 0,
|
|
17861
17856
|
class: "info-name"
|
|
17862
|
-
},
|
|
17857
|
+
}, PR = {
|
|
17863
17858
|
key: 1,
|
|
17864
17859
|
class: "info-name"
|
|
17865
|
-
},
|
|
17860
|
+
}, jR = {
|
|
17866
17861
|
key: 2,
|
|
17867
17862
|
class: "info-type"
|
|
17868
|
-
},
|
|
17863
|
+
}, DR = { key: 1 }, UR = { key: 1 }, YR = /* @__PURE__ */ Ye({
|
|
17869
17864
|
__name: "PluginList",
|
|
17870
17865
|
props: {
|
|
17871
17866
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -18105,7 +18100,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18105
18100
|
await s.canCreate() && (Zt.value.title = l("plugins.list.empty_state.title"), Zt.value.ctaText = l("actions.create"));
|
|
18106
18101
|
}), (Q, L) => {
|
|
18107
18102
|
const pe = ee("KButton"), Oe = ee("KBadge"), Ne = ee("KTruncate"), lt = ee("KInputSwitch"), Je = ee("KDropdownItem"), Qe = ee("KClipboardProvider");
|
|
18108
|
-
return y(), O("div",
|
|
18103
|
+
return y(), O("div", TR, [
|
|
18109
18104
|
X(R(OE), {
|
|
18110
18105
|
"cache-identifier": e.cacheIdentifier,
|
|
18111
18106
|
"disable-pagination-page-jump": "",
|
|
@@ -18165,15 +18160,15 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18165
18160
|
}, 8, ["to"]))
|
|
18166
18161
|
]),
|
|
18167
18162
|
name: T(({ row: G }) => [
|
|
18168
|
-
S("div",
|
|
18163
|
+
S("div", RR, [
|
|
18169
18164
|
X(ll, {
|
|
18170
18165
|
class: "plugin-icon",
|
|
18171
18166
|
name: G.name,
|
|
18172
18167
|
width: 24
|
|
18173
18168
|
}, null, 8, ["name"]),
|
|
18174
|
-
S("div",
|
|
18175
|
-
G.instance_name ? (y(), O("span",
|
|
18176
|
-
G.instance_name ? (y(), O("span",
|
|
18169
|
+
S("div", LR, [
|
|
18170
|
+
G.instance_name ? (y(), O("span", NR, W(G.instance_name), 1)) : (y(), O("span", PR, W(R(n).getDisplayName(G.name)), 1)),
|
|
18171
|
+
G.instance_name ? (y(), O("span", jR, W(R(n).getDisplayName(G.name)), 1)) : se("", !0)
|
|
18177
18172
|
])
|
|
18178
18173
|
])
|
|
18179
18174
|
]),
|
|
@@ -18200,7 +18195,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18200
18195
|
}, 1032, ["auth-function"]))), 128))
|
|
18201
18196
|
]),
|
|
18202
18197
|
_: 2
|
|
18203
|
-
}, 1024)) : (y(), O("span",
|
|
18198
|
+
}, 1024)) : (y(), O("span", DR, "-"))
|
|
18204
18199
|
]),
|
|
18205
18200
|
enabled: T(({ row: G }) => [
|
|
18206
18201
|
X(R(Ri), {
|
|
@@ -18251,7 +18246,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18251
18246
|
}, 1024))), 128))
|
|
18252
18247
|
]),
|
|
18253
18248
|
_: 2
|
|
18254
|
-
}, 1024)) : (y(), O("span",
|
|
18249
|
+
}, 1024)) : (y(), O("span", UR, "-"))
|
|
18255
18250
|
]),
|
|
18256
18251
|
actions: T(({ row: G }) => [
|
|
18257
18252
|
X(Qe, null, {
|
|
@@ -18363,7 +18358,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18363
18358
|
]);
|
|
18364
18359
|
};
|
|
18365
18360
|
}
|
|
18366
|
-
}),
|
|
18361
|
+
}), eL = /* @__PURE__ */ Rn(YR, [["__scopeId", "data-v-6bbe2d27"]]), VR = (e) => (fn("data-v-14bc032f"), e = e(), mn(), e), GR = { class: "plugin-card-header" }, HR = { class: "plugin-card-footer" }, FR = /* @__PURE__ */ VR(() => /* @__PURE__ */ S("hr", { class: "plugin-card-footer-divider" }, null, -1)), zR = { class: "footer-skeleton" }, KR = /* @__PURE__ */ Ye({
|
|
18367
18362
|
__name: "PluginCardSkeleton",
|
|
18368
18363
|
props: {
|
|
18369
18364
|
cardCount: {
|
|
@@ -18380,7 +18375,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18380
18375
|
type: "card"
|
|
18381
18376
|
}, {
|
|
18382
18377
|
"card-header": T(() => [
|
|
18383
|
-
S("div",
|
|
18378
|
+
S("div", GR, [
|
|
18384
18379
|
X(r, { width: "5" })
|
|
18385
18380
|
])
|
|
18386
18381
|
]),
|
|
@@ -18388,9 +18383,9 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18388
18383
|
Be(" ")
|
|
18389
18384
|
]),
|
|
18390
18385
|
"card-footer": T(() => [
|
|
18391
|
-
S("div",
|
|
18392
|
-
|
|
18393
|
-
S("div",
|
|
18386
|
+
S("div", HR, [
|
|
18387
|
+
FR,
|
|
18388
|
+
S("div", zR, [
|
|
18394
18389
|
X(r, { width: "5" })
|
|
18395
18390
|
])
|
|
18396
18391
|
])
|
|
@@ -18399,18 +18394,18 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18399
18394
|
}, 8, ["card-count"]);
|
|
18400
18395
|
};
|
|
18401
18396
|
}
|
|
18402
|
-
}),
|
|
18397
|
+
}), qR = /* @__PURE__ */ Rn(KR, [["__scopeId", "data-v-14bc032f"]]), XR = "16px", Ld = "24px", JR = (e, a) => {
|
|
18403
18398
|
const n = e.__vccOpts || e;
|
|
18404
18399
|
for (const [r, s] of a)
|
|
18405
18400
|
n[r] = s;
|
|
18406
18401
|
return n;
|
|
18407
|
-
},
|
|
18402
|
+
}, WR = (e) => (fn("data-v-add92a5e"), e = e(), mn(), e), ZR = ["aria-hidden"], QR = {
|
|
18408
18403
|
key: 0,
|
|
18409
18404
|
"data-testid": "kui-icon-svg-title"
|
|
18410
|
-
},
|
|
18405
|
+
}, _R = /* @__PURE__ */ WR(() => /* @__PURE__ */ S("path", {
|
|
18411
18406
|
d: "M12 20C11.45 20 10.9792 19.8042 10.5875 19.4125C10.1958 19.0208 10 18.55 10 18C10 17.45 10.1958 16.9792 10.5875 16.5875C10.9792 16.1958 11.45 16 12 16C12.55 16 13.0208 16.1958 13.4125 16.5875C13.8042 16.9792 14 17.45 14 18C14 18.55 13.8042 19.0208 13.4125 19.4125C13.0208 19.8042 12.55 20 12 20ZM12 14C11.45 14 10.9792 13.8042 10.5875 13.4125C10.1958 13.0208 10 12.55 10 12C10 11.45 10.1958 10.9792 10.5875 10.5875C10.9792 10.1958 11.45 10 12 10C12.55 10 13.0208 10.1958 13.4125 10.5875C13.8042 10.9792 14 11.45 14 12C14 12.55 13.8042 13.0208 13.4125 13.4125C13.0208 13.8042 12.55 14 12 14ZM12 8C11.45 8 10.9792 7.80417 10.5875 7.4125C10.1958 7.02083 10 6.55 10 6C10 5.45 10.1958 4.97917 10.5875 4.5875C10.9792 4.19583 11.45 4 12 4C12.55 4 13.0208 4.19583 13.4125 4.5875C13.8042 4.97917 14 5.45 14 6C14 6.55 13.8042 7.02083 13.4125 7.4125C13.0208 7.80417 12.55 8 12 8Z",
|
|
18412
18407
|
fill: "currentColor"
|
|
18413
|
-
}, null, -1)),
|
|
18408
|
+
}, null, -1)), $R = /* @__PURE__ */ Ye({
|
|
18414
18409
|
__name: "MoreIcon",
|
|
18415
18410
|
props: {
|
|
18416
18411
|
/** The accessibility text provided to screen readers */
|
|
@@ -18496,20 +18491,20 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18496
18491
|
width: "100%",
|
|
18497
18492
|
xmlns: "http://www.w3.org/2000/svg"
|
|
18498
18493
|
}, [
|
|
18499
|
-
e.title ? (y(), O("title",
|
|
18500
|
-
|
|
18501
|
-
], 8,
|
|
18494
|
+
e.title ? (y(), O("title", QR, W(e.title), 1)) : se("", !0),
|
|
18495
|
+
_R
|
|
18496
|
+
], 8, ZR))
|
|
18502
18497
|
]),
|
|
18503
18498
|
_: 1
|
|
18504
18499
|
}, 8, ["aria-hidden", "style"]));
|
|
18505
18500
|
}
|
|
18506
|
-
}),
|
|
18501
|
+
}), e2 = /* @__PURE__ */ JR($R, [["__scopeId", "data-v-add92a5e"]]), t2 = ["data-testid"], n2 = { class: "plugin-card-header" }, i2 = { class: "plugin-card-title" }, a2 = {
|
|
18507
18502
|
key: 0,
|
|
18508
18503
|
class: "plugin-card-actions"
|
|
18509
|
-
},
|
|
18504
|
+
}, r2 = ["data-testid", "title"], s2 = {
|
|
18510
18505
|
key: 0,
|
|
18511
18506
|
class: "plugin-card-text"
|
|
18512
|
-
},
|
|
18507
|
+
}, o2 = { key: 0 }, l2 = ["title"], u2 = /* @__PURE__ */ Ye({
|
|
18513
18508
|
__name: "PluginSelectCard",
|
|
18514
18509
|
props: {
|
|
18515
18510
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -18573,13 +18568,13 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18573
18568
|
role: "button",
|
|
18574
18569
|
onClick: Z[1] || (Z[1] = (U) => d.value || B.value ? void 0 : v())
|
|
18575
18570
|
}, [
|
|
18576
|
-
S("div",
|
|
18577
|
-
S("div",
|
|
18571
|
+
S("div", n2, [
|
|
18572
|
+
S("div", i2, [
|
|
18578
18573
|
S("span", {
|
|
18579
18574
|
class: Fe({ "non-custom-title": !B.value })
|
|
18580
18575
|
}, W(e.plugin.name), 3)
|
|
18581
18576
|
]),
|
|
18582
|
-
p.value ? (y(), O("div",
|
|
18577
|
+
p.value ? (y(), O("div", a2, [
|
|
18583
18578
|
X(I, {
|
|
18584
18579
|
"data-testid": "custom-plugin-actions",
|
|
18585
18580
|
"kpop-attributes": { placement: "bottomEnd" },
|
|
@@ -18593,7 +18588,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18593
18588
|
size: "small"
|
|
18594
18589
|
}, {
|
|
18595
18590
|
icon: T(() => [
|
|
18596
|
-
X(R(
|
|
18591
|
+
X(R(e2), { size: R(XR) }, null, 8, ["size"])
|
|
18597
18592
|
]),
|
|
18598
18593
|
_: 1
|
|
18599
18594
|
})
|
|
@@ -18638,26 +18633,26 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18638
18633
|
name: e.plugin.imageName || e.plugin.id,
|
|
18639
18634
|
size: 55
|
|
18640
18635
|
}, null, 8, ["alt", "name"]),
|
|
18641
|
-
e.plugin.description || B.value && !E.value ? (y(), O("div",
|
|
18642
|
-
B.value && !E.value ? (y(), O("p",
|
|
18636
|
+
e.plugin.description || B.value && !E.value ? (y(), O("div", s2, [
|
|
18637
|
+
B.value && !E.value ? (y(), O("p", o2, W(R(l)("plugins.select.custom_badge_text")), 1)) : se("", !0),
|
|
18643
18638
|
e.plugin.description ? (y(), O("p", {
|
|
18644
18639
|
key: 1,
|
|
18645
18640
|
class: "plugin-card-text",
|
|
18646
18641
|
title: e.plugin.description
|
|
18647
|
-
}, W(e.plugin.description), 9,
|
|
18642
|
+
}, W(e.plugin.description), 9, l2)) : se("", !0)
|
|
18648
18643
|
])) : se("", !0)
|
|
18649
|
-
], 10,
|
|
18644
|
+
], 10, r2),
|
|
18650
18645
|
S("div", {
|
|
18651
18646
|
class: "plugin-card-footer",
|
|
18652
18647
|
onClick: Y
|
|
18653
18648
|
}, W(E.value ? R(l)("actions.create_custom") : e.plugin.exists ? R(l)("actions.enabled") : R(l)("actions.enable")), 1)
|
|
18654
|
-
], 10,
|
|
18649
|
+
], 10, t2)
|
|
18655
18650
|
]),
|
|
18656
18651
|
_: 1
|
|
18657
18652
|
}, 8, ["text"]);
|
|
18658
18653
|
};
|
|
18659
18654
|
}
|
|
18660
|
-
}), ts = /* @__PURE__ */ Rn(
|
|
18655
|
+
}), ts = /* @__PURE__ */ Rn(u2, [["__scopeId", "data-v-3e933d10"]]), c2 = /* @__PURE__ */ Ye({
|
|
18661
18656
|
__name: "DeleteCustomPluginSchemaModal",
|
|
18662
18657
|
props: {
|
|
18663
18658
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -18747,7 +18742,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18747
18742
|
}, 8, ["action-button-disabled", "title"])) : se("", !0);
|
|
18748
18743
|
};
|
|
18749
18744
|
}
|
|
18750
|
-
}),
|
|
18745
|
+
}), d2 = /* @__PURE__ */ Rn(c2, [["__scopeId", "data-v-4148beb9"]]), p2 = { class: "custom-plugins-grid" }, g2 = { class: "empty-state-title" }, f2 = { class: "empty-state-description" }, m2 = { class: "plugin-card-container" }, h2 = { class: "plugin-card-container" }, A2 = /* @__PURE__ */ Ye({
|
|
18751
18746
|
__name: "PluginCustomGrid",
|
|
18752
18747
|
props: {
|
|
18753
18748
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -18830,7 +18825,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18830
18825
|
};
|
|
18831
18826
|
return (j, V) => {
|
|
18832
18827
|
const Y = ee("KEmptyState"), ie = ee("KCollapse");
|
|
18833
|
-
return y(), O("div",
|
|
18828
|
+
return y(), O("div", p2, [
|
|
18834
18829
|
p.value.length ? (y(), K(ie, {
|
|
18835
18830
|
key: 1,
|
|
18836
18831
|
modelValue: u.value,
|
|
@@ -18841,7 +18836,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18841
18836
|
"trigger-label": m.value
|
|
18842
18837
|
}, Gn({
|
|
18843
18838
|
"visible-content": T(() => [
|
|
18844
|
-
S("div",
|
|
18839
|
+
S("div", m2, [
|
|
18845
18840
|
(y(!0), O(Re, null, Ue(R(l)("visible", p.value, e.pluginsPerRow), (Z, te) => (y(), K(ts, {
|
|
18846
18841
|
key: `plugin-card-${te}`,
|
|
18847
18842
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
@@ -18855,7 +18850,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18855
18850
|
])
|
|
18856
18851
|
]),
|
|
18857
18852
|
default: T(() => [
|
|
18858
|
-
S("div",
|
|
18853
|
+
S("div", h2, [
|
|
18859
18854
|
(y(!0), O(Re, null, Ue(R(l)("hidden", p.value, e.pluginsPerRow), (Z, te) => (y(), K(ts, {
|
|
18860
18855
|
key: `plugin-card-${te}`,
|
|
18861
18856
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
@@ -18883,14 +18878,14 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18883
18878
|
"icon-variant": "kong"
|
|
18884
18879
|
}, {
|
|
18885
18880
|
title: T(() => [
|
|
18886
|
-
S("span",
|
|
18881
|
+
S("span", g2, W(R(s)("plugins.select.tabs.custom.empty_title")), 1)
|
|
18887
18882
|
]),
|
|
18888
18883
|
default: T(() => [
|
|
18889
|
-
S("span",
|
|
18884
|
+
S("span", f2, W(R(s)("plugins.select.tabs.custom.empty_description")), 1)
|
|
18890
18885
|
]),
|
|
18891
18886
|
_: 1
|
|
18892
18887
|
})),
|
|
18893
|
-
v.value && b.value ? (y(), K(
|
|
18888
|
+
v.value && b.value ? (y(), K(d2, {
|
|
18894
18889
|
key: 2,
|
|
18895
18890
|
config: e.config,
|
|
18896
18891
|
plugin: b.value,
|
|
@@ -18900,7 +18895,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18900
18895
|
]);
|
|
18901
18896
|
};
|
|
18902
18897
|
}
|
|
18903
|
-
}),
|
|
18898
|
+
}), y2 = /* @__PURE__ */ Rn(A2, [["__scopeId", "data-v-acd8a972"]]), v2 = { class: "plugin-card-container" }, b2 = { class: "plugin-card-container" }, w2 = /* @__PURE__ */ Ye({
|
|
18904
18899
|
__name: "PluginSelectGroup",
|
|
18905
18900
|
props: /* @__PURE__ */ Uc({
|
|
18906
18901
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -18960,7 +18955,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18960
18955
|
"trigger-label": n.value ? d.value : R(l)("plugins.select.view_less")
|
|
18961
18956
|
}, Gn({
|
|
18962
18957
|
"visible-content": T(() => [
|
|
18963
|
-
S("div",
|
|
18958
|
+
S("div", v2, [
|
|
18964
18959
|
(y(!0), O(Re, null, Ue(R(u)("visible", r.plugins, r.pluginsPerRow), (b, E) => (y(), K(ts, {
|
|
18965
18960
|
key: `plugin-card-${E}`,
|
|
18966
18961
|
config: e.config,
|
|
@@ -18971,7 +18966,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18971
18966
|
])
|
|
18972
18967
|
]),
|
|
18973
18968
|
default: T(() => [
|
|
18974
|
-
S("div",
|
|
18969
|
+
S("div", b2, [
|
|
18975
18970
|
(y(!0), O(Re, null, Ue(R(u)("hidden", r.plugins, r.pluginsPerRow), (b, E) => (y(), K(ts, {
|
|
18976
18971
|
key: `plugin-card-${E}`,
|
|
18977
18972
|
config: e.config,
|
|
@@ -18993,7 +18988,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
18993
18988
|
]), 1032, ["modelValue", "data-testid", "title", "trigger-label"]);
|
|
18994
18989
|
};
|
|
18995
18990
|
}
|
|
18996
|
-
}), Nd = /* @__PURE__ */ Rn(
|
|
18991
|
+
}), Nd = /* @__PURE__ */ Rn(w2, [["__scopeId", "data-v-a2f6c6cd"]]), C2 = { class: "plugin-select-grid" }, E2 = { class: "empty-state-title" }, k2 = { class: "empty-state-description" }, Pd = /* @__PURE__ */ Ye({
|
|
18997
18992
|
__name: "PluginSelectGrid",
|
|
18998
18993
|
props: {
|
|
18999
18994
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -19056,7 +19051,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
19056
19051
|
});
|
|
19057
19052
|
return (m, v) => {
|
|
19058
19053
|
const b = ee("KEmptyState");
|
|
19059
|
-
return y(), O("div",
|
|
19054
|
+
return y(), O("div", C2, [
|
|
19060
19055
|
Object.keys(p.value).length ? se("", !0) : (y(), K(b, {
|
|
19061
19056
|
key: 0,
|
|
19062
19057
|
"action-button-visible": !1,
|
|
@@ -19065,10 +19060,10 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
19065
19060
|
"icon-variant": "kong"
|
|
19066
19061
|
}, {
|
|
19067
19062
|
title: T(() => [
|
|
19068
|
-
S("span",
|
|
19063
|
+
S("span", E2, W(R(s)("plugins.select.tabs.kong.empty_title")), 1)
|
|
19069
19064
|
]),
|
|
19070
19065
|
default: T(() => [
|
|
19071
|
-
S("span",
|
|
19066
|
+
S("span", k2, W(R(s)("plugins.select.tabs.kong.empty_description")), 1)
|
|
19072
19067
|
]),
|
|
19073
19068
|
_: 1
|
|
19074
19069
|
})),
|
|
@@ -19100,11 +19095,11 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
19100
19095
|
]);
|
|
19101
19096
|
};
|
|
19102
19097
|
}
|
|
19103
|
-
}),
|
|
19098
|
+
}), O2 = { class: "kong-ui-entities-plugin-select-form" }, I2 = { class: "plugins-filter-input-container" }, B2 = { key: 0 }, M2 = {
|
|
19104
19099
|
key: 3,
|
|
19105
19100
|
"aria-live": "polite",
|
|
19106
19101
|
class: "plugins-results-container"
|
|
19107
|
-
},
|
|
19102
|
+
}, x2 = { "data-testid": "kong-tab" }, S2 = { class: "tab-description" }, T2 = { "data-testid": "custom-tab" }, R2 = { class: "tab-description" }, L2 = /* @__PURE__ */ Ye({
|
|
19108
19103
|
__name: "PluginSelect",
|
|
19109
19104
|
props: {
|
|
19110
19105
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -19288,8 +19283,8 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
19288
19283
|
B.value || (Y.value = Ae()), E.value = !1;
|
|
19289
19284
|
}), (de, ue) => {
|
|
19290
19285
|
const we = ee("KInput"), he = ee("KSkeletonBox"), Xe = ee("KSkeleton"), $e = ee("KEmptyState"), ft = ee("KTabs");
|
|
19291
|
-
return y(), O("div",
|
|
19292
|
-
S("div",
|
|
19286
|
+
return y(), O("div", O2, [
|
|
19287
|
+
S("div", I2, [
|
|
19293
19288
|
X(we, {
|
|
19294
19289
|
modelValue: b.value,
|
|
19295
19290
|
"onUpdate:modelValue": ue[0] || (ue[0] = (st) => b.value = st),
|
|
@@ -19300,7 +19295,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
19300
19295
|
type: "search"
|
|
19301
19296
|
}, null, 8, ["modelValue", "placeholder"])
|
|
19302
19297
|
]),
|
|
19303
|
-
E.value ? (y(), O("section",
|
|
19298
|
+
E.value ? (y(), O("section", B2, [
|
|
19304
19299
|
X(Xe, {
|
|
19305
19300
|
"table-rows": 1,
|
|
19306
19301
|
type: "table"
|
|
@@ -19314,7 +19309,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
19314
19309
|
]),
|
|
19315
19310
|
_: 1
|
|
19316
19311
|
}),
|
|
19317
|
-
X(
|
|
19312
|
+
X(qR, {
|
|
19318
19313
|
"card-count": 8,
|
|
19319
19314
|
type: "card"
|
|
19320
19315
|
})
|
|
@@ -19338,7 +19333,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
19338
19333
|
S("h5", null, W(R(u)("search.no_results", { filter: b.value })), 1)
|
|
19339
19334
|
]),
|
|
19340
19335
|
_: 1
|
|
19341
|
-
})) : (y(), O("section",
|
|
19336
|
+
})) : (y(), O("section", M2, [
|
|
19342
19337
|
R(P).length && !e.disableCustomPlugins ? (y(), K(ft, {
|
|
19343
19338
|
key: 0,
|
|
19344
19339
|
modelValue: ne.value,
|
|
@@ -19348,8 +19343,8 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
19348
19343
|
onChange: oe
|
|
19349
19344
|
}, {
|
|
19350
19345
|
kong: T(() => [
|
|
19351
|
-
S("div",
|
|
19352
|
-
S("p",
|
|
19346
|
+
S("div", x2, [
|
|
19347
|
+
S("p", S2, W(R(u)("plugins.select.tabs.kong.description")), 1),
|
|
19353
19348
|
X(Pd, {
|
|
19354
19349
|
config: e.config,
|
|
19355
19350
|
"hide-highlighted-plugins": b.value.length > 0,
|
|
@@ -19363,9 +19358,9 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
19363
19358
|
])
|
|
19364
19359
|
]),
|
|
19365
19360
|
custom: T(() => [
|
|
19366
|
-
S("div",
|
|
19367
|
-
S("p",
|
|
19368
|
-
X(
|
|
19361
|
+
S("div", T2, [
|
|
19362
|
+
S("p", R2, W(R(u)("plugins.select.tabs.custom.description")), 1),
|
|
19363
|
+
X(y2, {
|
|
19369
19364
|
"can-create-custom-plugin": ce.value,
|
|
19370
19365
|
"can-delete-custom-plugin": Ce.value,
|
|
19371
19366
|
"can-edit-custom-plugin": ke.value,
|
|
@@ -19395,7 +19390,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
19395
19390
|
]);
|
|
19396
19391
|
};
|
|
19397
19392
|
}
|
|
19398
|
-
}),
|
|
19393
|
+
}), tL = /* @__PURE__ */ Rn(L2, [["__scopeId", "data-v-32dfb7b0"]]), N2 = { class: "kong-ui-entity-plugin-config-card" }, P2 = { class: "name-cell-wrapper" }, j2 = { class: "info-name" }, D2 = { key: 0 }, U2 = { key: 0 }, Y2 = { key: 0 }, V2 = { key: 0 }, Ro = "config", G2 = /* @__PURE__ */ Ye({
|
|
19399
19394
|
__name: "PluginConfigCard",
|
|
19400
19395
|
props: {
|
|
19401
19396
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -19521,7 +19516,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
19521
19516
|
}
|
|
19522
19517
|
}), (te, N) => {
|
|
19523
19518
|
const I = ee("KSkeleton"), C = ee("KEmptyState"), U = ee("KCopy");
|
|
19524
|
-
return y(), O("div",
|
|
19519
|
+
return y(), O("div", N2, [
|
|
19525
19520
|
Y.value ? (y(), K(I, {
|
|
19526
19521
|
key: 0,
|
|
19527
19522
|
"data-testid": "plugin-config-card-loader",
|
|
@@ -19550,13 +19545,13 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
19550
19545
|
onLoading: N[2] || (N[2] = (P) => te.$emit("loading", P))
|
|
19551
19546
|
}, {
|
|
19552
19547
|
name: T((P) => [
|
|
19553
|
-
S("div",
|
|
19548
|
+
S("div", P2, [
|
|
19554
19549
|
X(ll, {
|
|
19555
19550
|
class: "plugin-icon",
|
|
19556
19551
|
name: R(d)("rowValue", P),
|
|
19557
19552
|
width: 24
|
|
19558
19553
|
}, null, 8, ["name"]),
|
|
19559
|
-
S("span",
|
|
19554
|
+
S("span", j2, W(R(l).getDisplayName(R(d)("rowValue", P))), 1)
|
|
19560
19555
|
])
|
|
19561
19556
|
]),
|
|
19562
19557
|
consumer: T((P) => [
|
|
@@ -19573,7 +19568,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
19573
19568
|
"copy-tooltip": R(s)("copy.tooltip", { label: R(d)("row", P).label }),
|
|
19574
19569
|
"data-testid": "consumer-copy-uuid",
|
|
19575
19570
|
text: R(d)("rowValue", P).id
|
|
19576
|
-
}, null, 8, ["copy-tooltip", "text"])) : (y(), O("span",
|
|
19571
|
+
}, null, 8, ["copy-tooltip", "text"])) : (y(), O("span", D2, "–"))
|
|
19577
19572
|
]),
|
|
19578
19573
|
route: T((P) => [
|
|
19579
19574
|
R(d)("rowValue", P) ? e.showIdAsLink ? (y(), K(R(Ra), {
|
|
@@ -19589,7 +19584,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
19589
19584
|
"copy-tooltip": R(s)("copy.tooltip", { label: R(d)("row", P).label }),
|
|
19590
19585
|
"data-testid": "route-copy-uuid",
|
|
19591
19586
|
text: R(d)("rowValue", P).id
|
|
19592
|
-
}, null, 8, ["copy-tooltip", "text"])) : (y(), O("span",
|
|
19587
|
+
}, null, 8, ["copy-tooltip", "text"])) : (y(), O("span", U2, "–"))
|
|
19593
19588
|
]),
|
|
19594
19589
|
service: T((P) => [
|
|
19595
19590
|
R(d)("rowValue", P) ? e.showIdAsLink ? (y(), K(R(Ra), {
|
|
@@ -19605,7 +19600,7 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
19605
19600
|
"copy-tooltip": R(s)("copy.tooltip", { label: R(d)("row", P).label }),
|
|
19606
19601
|
"data-testid": "service-copy-uuid",
|
|
19607
19602
|
text: R(d)("rowValue", P).id
|
|
19608
|
-
}, null, 8, ["copy-tooltip", "text"])) : (y(), O("span",
|
|
19603
|
+
}, null, 8, ["copy-tooltip", "text"])) : (y(), O("span", Y2, "–"))
|
|
19609
19604
|
]),
|
|
19610
19605
|
consumer_group: T((P) => [
|
|
19611
19606
|
R(d)("rowValue", P) ? e.showIdAsLink ? (y(), K(R(Ra), {
|
|
@@ -19621,28 +19616,28 @@ const ST = /* @__PURE__ */ Ge(mT, [["render", xT], ["__scopeId", "data-v-e7395ff
|
|
|
19621
19616
|
"copy-tooltip": R(s)("copy.tooltip", { label: R(d)("row", P).label }),
|
|
19622
19617
|
"data-testid": "consumer-group-copy-uuid",
|
|
19623
19618
|
text: R(d)("rowValue", P).id
|
|
19624
|
-
}, null, 8, ["copy-tooltip", "text"])) : (y(), O("span",
|
|
19619
|
+
}, null, 8, ["copy-tooltip", "text"])) : (y(), O("span", V2, "–"))
|
|
19625
19620
|
]),
|
|
19626
19621
|
_: 1
|
|
19627
19622
|
}, 8, ["config", "config-card-doc", "config-schema", "fetch-url", "hide-title", "plugin-config-schema"]))
|
|
19628
19623
|
]);
|
|
19629
19624
|
};
|
|
19630
19625
|
}
|
|
19631
|
-
}),
|
|
19626
|
+
}), nL = /* @__PURE__ */ Rn(G2, [["__scopeId", "data-v-3e4f66ec"]]), { usePluginMetaData: iL } = bt;
|
|
19632
19627
|
export {
|
|
19633
19628
|
sa as EntityTypeIdField,
|
|
19634
19629
|
cI as PLUGIN_GROUPS_COLLAPSE_STATUS,
|
|
19635
|
-
|
|
19636
|
-
|
|
19630
|
+
nL as PluginConfigCard,
|
|
19631
|
+
$2 as PluginForm,
|
|
19637
19632
|
ae as PluginGroup,
|
|
19638
19633
|
uI as PluginGroupArray,
|
|
19639
19634
|
ll as PluginIcon,
|
|
19640
|
-
|
|
19635
|
+
eL as PluginList,
|
|
19641
19636
|
h as PluginScope,
|
|
19642
|
-
|
|
19637
|
+
tL as PluginSelect,
|
|
19643
19638
|
Pd as PluginSelectGrid,
|
|
19644
19639
|
dn as VueFormGenerator,
|
|
19645
19640
|
HI as getPluginIconURL,
|
|
19646
19641
|
Lt as pluginEndpoints,
|
|
19647
|
-
|
|
19642
|
+
iL as usePluginMetaData
|
|
19648
19643
|
};
|