@kong-ui-public/entities-plugins 3.0.7 → 3.0.9
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 +583 -589
- package/dist/entities-plugins.umd.js +52 -52
- package/dist/style.css +1 -1
- package/package.json +7 -7
|
@@ -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 je, useCssVars as jd, computed as J, resolveComponent as te, 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 Ye, withModifiers as Ai, withDirectives as Ue, 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";
|
|
@@ -260,7 +260,7 @@ function M1(e, a, n, r = {
|
|
|
260
260
|
}) {
|
|
261
261
|
n || (n = "1000");
|
|
262
262
|
const { axiosInstance: s } = Ko(e.axiosRequestConfig), { i18n: { t: l } } = as(), { debounce: u } = f1(), d = u(async (N) => {
|
|
263
|
-
await
|
|
263
|
+
await ee(N);
|
|
264
264
|
}, 200), p = le(!1), m = le(""), v = le(""), b = le([]), E = le([]), B = le(void 0), j = R(a);
|
|
265
265
|
let V = `${e.apiBaseUrl}${j}`;
|
|
266
266
|
e.app === "konnect" ? V = V.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (V = V.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
|
|
@@ -274,7 +274,7 @@ function M1(e, a, n, r = {
|
|
|
274
274
|
} finally {
|
|
275
275
|
p.value = !1;
|
|
276
276
|
}
|
|
277
|
-
}, Z = le(""),
|
|
277
|
+
}, Z = le(""), ee = async (N) => {
|
|
278
278
|
var I, C, U;
|
|
279
279
|
if (Z.value !== N)
|
|
280
280
|
if (Z.value = N || "", B.value === void 0)
|
|
@@ -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__ */ je({
|
|
538
538
|
__name: "JsonCardItem",
|
|
539
539
|
props: {
|
|
540
540
|
item: {
|
|
@@ -565,7 +565,7 @@ const xt = {
|
|
|
565
565
|
e.isArrayItem ? (y(), O("legend", H1, [
|
|
566
566
|
S("b", null, W(d.value), 1)
|
|
567
567
|
])) : se("", !0),
|
|
568
|
-
(y(!0), O(Re, null,
|
|
568
|
+
(y(!0), O(Re, null, Ye(Object.keys(u.value), (v, b) => (y(), K(zd, {
|
|
569
569
|
key: `${s.value}-property-${b}`,
|
|
570
570
|
item: {
|
|
571
571
|
key: v,
|
|
@@ -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__ */ je({
|
|
586
586
|
__name: "InternalLinkItem",
|
|
587
587
|
props: {
|
|
588
588
|
item: {
|
|
@@ -594,7 +594,7 @@ const xt = {
|
|
|
594
594
|
setup(e) {
|
|
595
595
|
const { i18n: { t: a } } = xt.useI18n();
|
|
596
596
|
return (n, r) => {
|
|
597
|
-
const s =
|
|
597
|
+
const s = te("KButton");
|
|
598
598
|
return y(), O("div", null, [
|
|
599
599
|
X(s, {
|
|
600
600
|
appearance: "tertiary",
|
|
@@ -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__ */ je({
|
|
613
613
|
__name: "StatusBadge",
|
|
614
614
|
props: {
|
|
615
615
|
status: {
|
|
@@ -620,7 +620,7 @@ const xt = {
|
|
|
620
620
|
setup(e) {
|
|
621
621
|
const { i18n: { t: a } } = xt.useI18n();
|
|
622
622
|
return (n, r) => {
|
|
623
|
-
const s =
|
|
623
|
+
const s = te("KBadge");
|
|
624
624
|
return y(), K(s, {
|
|
625
625
|
appearance: e.status ? "success" : "neutral"
|
|
626
626
|
}, {
|
|
@@ -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__ */ je({
|
|
638
638
|
...l0,
|
|
639
639
|
props: {
|
|
640
640
|
item: {
|
|
@@ -772,7 +772,7 @@ const xt = {
|
|
|
772
772
|
}
|
|
773
773
|
}), E = le(), { isTruncated: B } = xt.useTruncationDetector(E);
|
|
774
774
|
return (j, V) => {
|
|
775
|
-
const Y =
|
|
775
|
+
const Y = te("KLabel"), ie = te("KBadge"), Z = te("KCopy"), ee = te("KTooltip");
|
|
776
776
|
return y(), O("div", _1, [
|
|
777
777
|
S("div", {
|
|
778
778
|
class: "config-card-details-label",
|
|
@@ -815,7 +815,7 @@ const xt = {
|
|
|
815
815
|
key: 0,
|
|
816
816
|
"data-testid": `${e.item.key}-badge-tags`
|
|
817
817
|
}, [
|
|
818
|
-
(y(!0), O(Re, null,
|
|
818
|
+
(y(!0), O(Re, null, Ye(e.item.value, (N, I) => (y(), K(ie, {
|
|
819
819
|
key: `${e.item.key}-badge-tag-${I}`,
|
|
820
820
|
class: "config-badge",
|
|
821
821
|
"data-testid": `${e.item.key}-badge-tag-${I}`,
|
|
@@ -833,7 +833,7 @@ const xt = {
|
|
|
833
833
|
class: "copy-uuid-array",
|
|
834
834
|
"data-testid": `${e.item.key}-copy-uuid-array`
|
|
835
835
|
}, [
|
|
836
|
-
(y(!0), O(Re, null,
|
|
836
|
+
(y(!0), O(Re, null, Ye(e.item.value, (N, I) => (y(), K(Z, oa(b.value.childAttrs, {
|
|
837
837
|
key: `${e.item.key}-copy-uuid-${I}`,
|
|
838
838
|
"data-testid": `${e.item.key}-copy-uuid-${I}`,
|
|
839
839
|
text: N
|
|
@@ -843,7 +843,7 @@ const xt = {
|
|
|
843
843
|
class: "method-badge-array",
|
|
844
844
|
"data-testid": `${e.item.key}-badge-methods`
|
|
845
845
|
}, [
|
|
846
|
-
(y(!0), O(Re, null,
|
|
846
|
+
(y(!0), O(Re, null, Ye(e.item.value, (N, I) => (y(), K(ie, {
|
|
847
847
|
key: `${e.item.key}-badge-method-${I}`,
|
|
848
848
|
appearance: Object.values(R(d1)).includes(N.toLowerCase()) ? N.toLowerCase() : "custom",
|
|
849
849
|
class: "config-badge",
|
|
@@ -859,13 +859,13 @@ const xt = {
|
|
|
859
859
|
key: 3,
|
|
860
860
|
"data-testid": `${n.item.key}-json-array-content`
|
|
861
861
|
}, [
|
|
862
|
-
(y(!0), O(Re, null,
|
|
862
|
+
(y(!0), O(Re, null, Ye(e.item.value, (N, I) => (y(), K(Fd, {
|
|
863
863
|
key: `json-array-item-${I}`,
|
|
864
864
|
index: I,
|
|
865
865
|
"is-array-item": "",
|
|
866
866
|
item: N
|
|
867
867
|
}, null, 8, ["index", "item"]))), 128))
|
|
868
|
-
], 8, o0)) : (y(), K(
|
|
868
|
+
], 8, o0)) : (y(), K(ee, {
|
|
869
869
|
key: 4,
|
|
870
870
|
text: R(B) ? e.item.value : ""
|
|
871
871
|
}, {
|
|
@@ -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__ */ je({
|
|
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. */
|
|
@@ -932,7 +932,7 @@ const xt = {
|
|
|
932
932
|
return l.length < 2 ? 0 : 41 + (a.requestMethod === "post" ? l[l.length - 1] : l[l.length - 2]).length;
|
|
933
933
|
});
|
|
934
934
|
return (s, l) => {
|
|
935
|
-
const u =
|
|
935
|
+
const u = te("KBadge"), d = te("KCodeBlock");
|
|
936
936
|
return y(), O("div", c0, [
|
|
937
937
|
a.fetcherUrl ? (y(), O("div", d0, [
|
|
938
938
|
X(u, {
|
|
@@ -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__ */ je({
|
|
2334
2334
|
__name: "YamlCodeBlock",
|
|
2335
2335
|
props: {
|
|
2336
2336
|
/** A record to indicate the entity's configuration, used to populate the YAML code block */
|
|
@@ -2345,7 +2345,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
2345
2345
|
return Object.keys(r).length === 0 && r.constructor === Object ? "" : TC.dump(r).trim();
|
|
2346
2346
|
});
|
|
2347
2347
|
return (r, s) => {
|
|
2348
|
-
const l =
|
|
2348
|
+
const l = te("KCodeBlock");
|
|
2349
2349
|
return y(), O("div", RC, [
|
|
2350
2350
|
a.yamlRecord ? (y(), K(l, {
|
|
2351
2351
|
key: 0,
|
|
@@ -2363,7 +2363,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
2363
2363
|
}, NC = ["data-testid"], PC = {
|
|
2364
2364
|
key: 0,
|
|
2365
2365
|
class: "config-card-prop-section-title"
|
|
2366
|
-
}, jC = /* @__PURE__ */
|
|
2366
|
+
}, jC = /* @__PURE__ */ je({
|
|
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. */
|
|
@@ -2410,13 +2410,13 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
2410
2410
|
});
|
|
2411
2411
|
return (u, d) => (y(), O(Re, null, [
|
|
2412
2412
|
e.format === "structured" ? (y(), O("div", LC, [
|
|
2413
|
-
(y(!0), O(Re, null,
|
|
2413
|
+
(y(!0), O(Re, null, Ye(e.propListTypes, (p) => (y(), O("div", {
|
|
2414
2414
|
key: `config-card-details-${p}-props`,
|
|
2415
2415
|
class: Fe(`config-card-details-${p}-props`),
|
|
2416
2416
|
"data-testid": `config-card-details-${p}-props`
|
|
2417
2417
|
}, [
|
|
2418
2418
|
p !== "basic" ? (y(), O("div", PC, W(p === "advanced" ? R(r)("baseConfigCard.sections.advanced") : R(r)("baseConfigCard.sections.plugin")), 1)) : se("", !0),
|
|
2419
|
-
(y(!0), O(Re, null,
|
|
2419
|
+
(y(!0), O(Re, null, Ye(e.propertyCollections[p], (m) => (y(), K(zd, {
|
|
2420
2420
|
key: m.key,
|
|
2421
2421
|
item: m
|
|
2422
2422
|
}, Gn({
|
|
@@ -2465,7 +2465,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
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__ */ je({
|
|
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__ */ Ye({
|
|
|
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__ */ je({
|
|
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__ */ Ye({
|
|
|
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__ */ je({
|
|
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__ */ Ye({
|
|
|
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__ */ je({
|
|
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__ */ Ye({
|
|
|
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__ */ je({
|
|
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. */
|
|
@@ -3037,7 +3037,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3037
3037
|
section: Rt.Plugin
|
|
3038
3038
|
};
|
|
3039
3039
|
}).filter((me) => !me.hidden);
|
|
3040
|
-
}),
|
|
3040
|
+
}), ee = J(() => {
|
|
3041
3041
|
var C, U, P, ne;
|
|
3042
3042
|
return {
|
|
3043
3043
|
basic: (C = ie.value) == null ? void 0 : C.filter((Ae) => Ae.section === Rt.Basic),
|
|
@@ -3046,7 +3046,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3046
3046
|
};
|
|
3047
3047
|
}), N = J(() => {
|
|
3048
3048
|
const C = [];
|
|
3049
|
-
return
|
|
3049
|
+
return ee.value.basic.length && C.push("basic"), ee.value.advanced.length && C.push("advanced"), ee.value.plugin.length && C.push("plugin"), C;
|
|
3050
3050
|
}), I = J(() => {
|
|
3051
3051
|
var C, U;
|
|
3052
3052
|
let P = `${s.config.apiBaseUrl}${s.fetchUrl}`;
|
|
@@ -3075,7 +3075,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3075
3075
|
B.value = !1;
|
|
3076
3076
|
}
|
|
3077
3077
|
}), (C, U) => {
|
|
3078
|
-
const P =
|
|
3078
|
+
const P = te("KLabel"), ne = te("KSelect"), Ae = te("KButton"), me = te("KSkeleton"), be = te("KEmptyState"), oe = te("KCard");
|
|
3079
3079
|
return y(), K(oe, {
|
|
3080
3080
|
class: "kong-ui-entity-base-config-card",
|
|
3081
3081
|
"title-tag": e.titleTag
|
|
@@ -3138,10 +3138,10 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3138
3138
|
"fetcher-url": I.value,
|
|
3139
3139
|
format: v.value,
|
|
3140
3140
|
"prop-list-types": N.value,
|
|
3141
|
-
"property-collections":
|
|
3141
|
+
"property-collections": ee.value,
|
|
3142
3142
|
record: Y.value
|
|
3143
3143
|
}, Gn({ _: 2 }, [
|
|
3144
|
-
|
|
3144
|
+
Ye(Object.keys(C.$slots), (ce) => ({
|
|
3145
3145
|
name: ce,
|
|
3146
3146
|
fn: T(({ row: ke, rowValue: Ce }) => [
|
|
3147
3147
|
gt(C.$slots, ce, {
|
|
@@ -3172,7 +3172,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
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__ */ je({
|
|
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. */
|
|
@@ -3246,7 +3246,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3246
3246
|
r("cancel");
|
|
3247
3247
|
}, Z = () => {
|
|
3248
3248
|
E.value || r("submit");
|
|
3249
|
-
},
|
|
3249
|
+
}, ee = le([
|
|
3250
3250
|
{
|
|
3251
3251
|
title: u("baseForm.configuration.yaml"),
|
|
3252
3252
|
hash: "#yaml"
|
|
@@ -3271,7 +3271,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3271
3271
|
m.value = !1;
|
|
3272
3272
|
}
|
|
3273
3273
|
}), (N, I) => {
|
|
3274
|
-
const C =
|
|
3274
|
+
const C = te("KSkeleton"), U = te("KEmptyState"), P = te("KAlert"), ne = te("KButton"), Ae = te("KTabs"), me = te("KSlideout"), be = te("KCard");
|
|
3275
3275
|
return y(), K(be, { class: "kong-ui-entity-base-form" }, {
|
|
3276
3276
|
default: T(() => [
|
|
3277
3277
|
m.value ? (y(), K(C, {
|
|
@@ -3352,7 +3352,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3352
3352
|
S("div", null, W(R(u)("baseForm.configuration.message")), 1),
|
|
3353
3353
|
X(Ae, {
|
|
3354
3354
|
"data-testid": "form-view-configuration-slideout-tabs",
|
|
3355
|
-
tabs:
|
|
3355
|
+
tabs: ee.value
|
|
3356
3356
|
}, {
|
|
3357
3357
|
json: T(() => [
|
|
3358
3358
|
X(qo, {
|
|
@@ -3380,7 +3380,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
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__ */ je({
|
|
3384
3384
|
__name: "EntityBaseTableCell",
|
|
3385
3385
|
props: {
|
|
3386
3386
|
keyName: {
|
|
@@ -3430,7 +3430,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3430
3430
|
}), i1(() => {
|
|
3431
3431
|
B();
|
|
3432
3432
|
}), (V, Y) => {
|
|
3433
|
-
const ie =
|
|
3433
|
+
const ie = te("KTooltip");
|
|
3434
3434
|
return y(), O("span", {
|
|
3435
3435
|
ref_key: "contentRef",
|
|
3436
3436
|
ref: p,
|
|
@@ -3454,7 +3454,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
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__ */ je({
|
|
3458
3458
|
__name: "EntityBaseTable",
|
|
3459
3459
|
props: {
|
|
3460
3460
|
// table header configuration
|
|
@@ -3617,7 +3617,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3617
3617
|
r("click:row", C);
|
|
3618
3618
|
}), Y = (I) => {
|
|
3619
3619
|
r("sort", I);
|
|
3620
|
-
}, { setTablePreferences: ie, getTablePreferences: Z } = h1(),
|
|
3620
|
+
}, { setTablePreferences: ie, getTablePreferences: Z } = h1(), ee = J(() => {
|
|
3621
3621
|
const I = Z(n.preferencesStorageKey);
|
|
3622
3622
|
return {
|
|
3623
3623
|
...n.initialFetcherParams,
|
|
@@ -3627,7 +3627,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3627
3627
|
n.preferencesStorageKey && ie(n.preferencesStorageKey, I);
|
|
3628
3628
|
};
|
|
3629
3629
|
return (I, C) => {
|
|
3630
|
-
const U =
|
|
3630
|
+
const U = te("KIcon"), P = te("KButton"), ne = te("KDropdown"), Ae = te("KTable"), me = te("KCard");
|
|
3631
3631
|
return y(), K(me, {
|
|
3632
3632
|
class: "kong-ui-entity-base-table",
|
|
3633
3633
|
title: e.title,
|
|
@@ -3654,7 +3654,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3654
3654
|
"has-error": l.value.hasError,
|
|
3655
3655
|
headers: p.value,
|
|
3656
3656
|
"hide-pagination-when-optional": "",
|
|
3657
|
-
"initial-fetcher-params":
|
|
3657
|
+
"initial-fetcher-params": ee.value,
|
|
3658
3658
|
"is-loading": e.isLoading,
|
|
3659
3659
|
"pagination-type": e.paginationType,
|
|
3660
3660
|
"row-attrs": m,
|
|
@@ -3665,7 +3665,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3665
3665
|
"onUpdate:tablePreferences": N
|
|
3666
3666
|
}, Gn({
|
|
3667
3667
|
toolbar: T(({ state: be }) => [
|
|
3668
|
-
|
|
3668
|
+
Ue(S("div", wE, [
|
|
3669
3669
|
gt(I.$slots, "toolbar-filter", {}, void 0, !0),
|
|
3670
3670
|
I.$slots["toolbar-button"] ? (y(), O("div", CE, [
|
|
3671
3671
|
gt(I.$slots, "toolbar-button", {}, void 0, !0)
|
|
@@ -3712,7 +3712,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3712
3712
|
]),
|
|
3713
3713
|
_: 2
|
|
3714
3714
|
}, [
|
|
3715
|
-
|
|
3715
|
+
Ye(e.tableHeaders, (be, oe) => ({
|
|
3716
3716
|
name: oe,
|
|
3717
3717
|
fn: T(({ row: ce, rowKey: ke, rowValue: Ce }) => [
|
|
3718
3718
|
X(bE, {
|
|
@@ -3745,13 +3745,13 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3745
3745
|
}, 8, ["title", "title-tag"]);
|
|
3746
3746
|
};
|
|
3747
3747
|
}
|
|
3748
|
-
}), OE = /* @__PURE__ */ Hn(kE, [["__scopeId", "data-v-
|
|
3748
|
+
}), OE = /* @__PURE__ */ Hn(kE, [["__scopeId", "data-v-590c2d76"]]), IE = {
|
|
3749
3749
|
key: 0,
|
|
3750
3750
|
class: "kong-ui-entity-delete-error"
|
|
3751
3751
|
}, BE = {
|
|
3752
3752
|
key: 1,
|
|
3753
3753
|
class: "description"
|
|
3754
|
-
}, ME = /* @__PURE__ */
|
|
3754
|
+
}, ME = /* @__PURE__ */ je({
|
|
3755
3755
|
__name: "EntityDeleteModal",
|
|
3756
3756
|
props: {
|
|
3757
3757
|
visible: {
|
|
@@ -3796,7 +3796,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3796
3796
|
s("proceed");
|
|
3797
3797
|
};
|
|
3798
3798
|
return (p, m) => {
|
|
3799
|
-
const v =
|
|
3799
|
+
const v = te("KAlert"), b = te("KPrompt");
|
|
3800
3800
|
return y(), K(b, {
|
|
3801
3801
|
"action-button-appearance": "danger",
|
|
3802
3802
|
"action-button-disabled": e.actionPending,
|
|
@@ -3859,7 +3859,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
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__ */ je({
|
|
3863
3863
|
__name: "IconFilter",
|
|
3864
3864
|
props: {
|
|
3865
3865
|
color: {
|
|
@@ -3887,7 +3887,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
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__ */ je({
|
|
3891
3891
|
__name: "EntityFilter",
|
|
3892
3892
|
props: {
|
|
3893
3893
|
// filter config, either exact match or fuzzy match
|
|
@@ -3946,15 +3946,15 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3946
3946
|
u.value = {
|
|
3947
3947
|
...u.value,
|
|
3948
3948
|
[N]: ""
|
|
3949
|
-
},
|
|
3949
|
+
}, ee();
|
|
3950
3950
|
}, Z = () => {
|
|
3951
|
-
u.value = {},
|
|
3952
|
-
},
|
|
3951
|
+
u.value = {}, ee(!0);
|
|
3952
|
+
}, ee = (N = !1) => {
|
|
3953
3953
|
const I = Object.keys(u.value).reduce((C, U) => (u.value[U] && (C[U] = `${u.value[U]}`), C), {});
|
|
3954
3954
|
N && (l.value = !1), s("update:modelValue", new URLSearchParams(I).toString());
|
|
3955
3955
|
};
|
|
3956
3956
|
return (N, I) => {
|
|
3957
|
-
const C =
|
|
3957
|
+
const C = te("KInput"), U = te("KButton"), P = te("KSelect");
|
|
3958
3958
|
return e.config.isExactMatch ? (y(), K(C, {
|
|
3959
3959
|
key: 0,
|
|
3960
3960
|
autocomplete: "off",
|
|
@@ -3968,7 +3968,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3968
3968
|
X(od)
|
|
3969
3969
|
]),
|
|
3970
3970
|
after: T(() => [
|
|
3971
|
-
|
|
3971
|
+
Ue(X(R(oE), {
|
|
3972
3972
|
class: "kong-ui-entity-filter-clear",
|
|
3973
3973
|
onClick: B
|
|
3974
3974
|
}, null, 512), [
|
|
@@ -3988,14 +3988,14 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
3988
3988
|
]),
|
|
3989
3989
|
_: 1
|
|
3990
3990
|
}),
|
|
3991
|
-
|
|
3991
|
+
Ue(S("div", {
|
|
3992
3992
|
class: "kong-ui-entity-filter-backdrop",
|
|
3993
3993
|
onClick: v
|
|
3994
3994
|
}, null, 512), [
|
|
3995
3995
|
[Dn, l.value]
|
|
3996
3996
|
]),
|
|
3997
|
-
|
|
3998
|
-
(y(!0), O(Re, null,
|
|
3997
|
+
Ue(S("div", PE, [
|
|
3998
|
+
(y(!0), O(Re, null, Ye(m.value, (ne) => {
|
|
3999
3999
|
var Ae, me;
|
|
4000
4000
|
return y(), O("div", {
|
|
4001
4001
|
key: ne.value,
|
|
@@ -4010,7 +4010,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
4010
4010
|
onKeydown: t1((be) => b(ne.value), ["enter"])
|
|
4011
4011
|
}, [
|
|
4012
4012
|
Be(W(ne.label) + " ", 1),
|
|
4013
|
-
|
|
4013
|
+
Ue(S("span", UE, null, 512), [
|
|
4014
4014
|
[Dn, p.value.includes(ne.value)]
|
|
4015
4015
|
]),
|
|
4016
4016
|
X(R(tE), {
|
|
@@ -4018,7 +4018,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
4018
4018
|
color: R(W1)
|
|
4019
4019
|
}, null, 8, ["class", "color"])
|
|
4020
4020
|
], 42, DE),
|
|
4021
|
-
|
|
4021
|
+
Ue(S("div", YE, [
|
|
4022
4022
|
S("label", {
|
|
4023
4023
|
class: "menu-item-label",
|
|
4024
4024
|
for: j(ne.value)
|
|
@@ -4042,12 +4042,12 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
4042
4042
|
], 512), [
|
|
4043
4043
|
[Dn, d.value.has(ne.value)]
|
|
4044
4044
|
]),
|
|
4045
|
-
|
|
4045
|
+
Ue(S("div", GE, [
|
|
4046
4046
|
X(U, {
|
|
4047
4047
|
appearance: "tertiary",
|
|
4048
4048
|
"data-testid": "apply-filter",
|
|
4049
4049
|
size: "small",
|
|
4050
|
-
onClick: I[0] || (I[0] = (be) =>
|
|
4050
|
+
onClick: I[0] || (I[0] = (be) => ee(!0))
|
|
4051
4051
|
}, {
|
|
4052
4052
|
default: T(() => [
|
|
4053
4053
|
Be(W(R(n)("filter.applyButtonText")), 1)
|
|
@@ -4088,7 +4088,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
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__ */ je({
|
|
4092
4092
|
__name: "EntityToggleModal",
|
|
4093
4093
|
props: {
|
|
4094
4094
|
visible: {
|
|
@@ -4137,7 +4137,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
4137
4137
|
}
|
|
4138
4138
|
};
|
|
4139
4139
|
return (b, E) => {
|
|
4140
|
-
const B =
|
|
4140
|
+
const B = te("KPrompt");
|
|
4141
4141
|
return y(), K(e1, { to: "body" }, [
|
|
4142
4142
|
X(B, {
|
|
4143
4143
|
"action-button-disabled": u.value,
|
|
@@ -4167,7 +4167,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
4167
4167
|
]);
|
|
4168
4168
|
};
|
|
4169
4169
|
}
|
|
4170
|
-
}), Ri = /* @__PURE__ */
|
|
4170
|
+
}), Ri = /* @__PURE__ */ je({
|
|
4171
4171
|
__name: "PermissionsWrapper",
|
|
4172
4172
|
props: {
|
|
4173
4173
|
/**
|
|
@@ -4197,7 +4197,7 @@ const RC = { class: "yaml-config" }, $o = /* @__PURE__ */ Ye({
|
|
|
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: q2, useFetchUrlBuilder: X2, useFetcher: XE, useDebouncedFilter: J2, useStringHelpers: el, useHelpers: ls, useGatewayFeatureSupported: JE, useTruncationDetector: W2, useValidators: Z2 } = xt;
|
|
4201
4201
|
function tl() {
|
|
4202
4202
|
return {
|
|
4203
4203
|
async: !1,
|
|
@@ -4450,17 +4450,17 @@ class Jr {
|
|
|
4450
4450
|
let j = !1;
|
|
4451
4451
|
if (!b && /^ *$/.test(E) && (d += E + `
|
|
4452
4452
|
`, a = a.substring(E.length + 1), v = !0), !v) {
|
|
4453
|
-
const ie = new RegExp(`^ {0,${Math.min(3, B - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), Z = new RegExp(`^ {0,${Math.min(3, B - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),
|
|
4453
|
+
const ie = new RegExp(`^ {0,${Math.min(3, B - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), Z = new RegExp(`^ {0,${Math.min(3, B - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), ee = new RegExp(`^ {0,${Math.min(3, B - 1)}}(?:\`\`\`|~~~)`), N = new RegExp(`^ {0,${Math.min(3, B - 1)}}#`);
|
|
4454
4454
|
for (; a; ) {
|
|
4455
4455
|
const I = a.split(`
|
|
4456
4456
|
`, 1)[0];
|
|
4457
|
-
if (E = I, this.options.pedantic && (E = E.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ")),
|
|
4457
|
+
if (E = I, this.options.pedantic && (E = E.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ")), ee.test(E) || N.test(E) || ie.test(E) || Z.test(a))
|
|
4458
4458
|
break;
|
|
4459
4459
|
if (E.search(/[^ ]/) >= B || !E.trim())
|
|
4460
4460
|
p += `
|
|
4461
4461
|
` + E.slice(B);
|
|
4462
4462
|
else {
|
|
4463
|
-
if (j || b.search(/[^ ]/) >= 4 ||
|
|
4463
|
+
if (j || b.search(/[^ ]/) >= 4 || ee.test(b) || N.test(b) || Z.test(b))
|
|
4464
4464
|
break;
|
|
4465
4465
|
p += `
|
|
4466
4466
|
` + E;
|
|
@@ -7629,11 +7629,11 @@ var Ta = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
7629
7629
|
Qr.exports;
|
|
7630
7630
|
(function(e, a) {
|
|
7631
7631
|
(function() {
|
|
7632
|
-
var n, r = "4.17.21", s = 200, l = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", u = "Expected a function", d = "Invalid `variable` option passed into `_.template`", p = "__lodash_hash_undefined__", m = 500, v = "__lodash_placeholder__", b = 1, E = 2, B = 4, j = 1, V = 2, Y = 1, ie = 2, Z = 4,
|
|
7632
|
+
var n, r = "4.17.21", s = 200, l = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", u = "Expected a function", d = "Invalid `variable` option passed into `_.template`", p = "__lodash_hash_undefined__", m = 500, v = "__lodash_placeholder__", b = 1, E = 2, B = 4, j = 1, V = 2, Y = 1, ie = 2, Z = 4, ee = 8, N = 16, I = 32, C = 64, U = 128, P = 256, ne = 512, Ae = 30, me = "...", be = 800, oe = 16, ce = 1, ke = 2, Ce = 3, ye = 1 / 0, Me = 9007199254740991, de = 17976931348623157e292, ue = NaN, we = 4294967295, he = we - 1, Xe = we >>> 1, $e = [
|
|
7633
7633
|
["ary", U],
|
|
7634
7634
|
["bind", Y],
|
|
7635
7635
|
["bindKey", ie],
|
|
7636
|
-
["curry",
|
|
7636
|
+
["curry", ee],
|
|
7637
7637
|
["curryRight", N],
|
|
7638
7638
|
["flip", ne],
|
|
7639
7639
|
["partial", I],
|
|
@@ -8580,7 +8580,7 @@ Qr.exports;
|
|
|
8580
8580
|
}
|
|
8581
8581
|
function Gm(t, i, o, c) {
|
|
8582
8582
|
var g = t.length;
|
|
8583
|
-
for (o =
|
|
8583
|
+
for (o = De(o), o < 0 && (o = -o > g ? 0 : g + o), c = c === n || c > g ? g : De(c), c < 0 && (c += g), c = o > c ? 0 : Oc(c); o < c; )
|
|
8584
8584
|
t[o++] = i;
|
|
8585
8585
|
return t;
|
|
8586
8586
|
}
|
|
@@ -9271,7 +9271,7 @@ Qr.exports;
|
|
|
9271
9271
|
for (c = w ? c : o; ++c < o; ) {
|
|
9272
9272
|
A = i[c];
|
|
9273
9273
|
var k = Mr(A), x = k == "wrapper" ? no(A) : n;
|
|
9274
|
-
x && so(x[0]) && x[1] == (U |
|
|
9274
|
+
x && so(x[0]) && x[1] == (U | ee | I | P) && !x[4].length && x[9] == 1 ? w = w[Mr(x[0])].apply(w, x[3]) : w = A.length == 1 && so(A) ? w[k]() : w.thru(A);
|
|
9275
9275
|
}
|
|
9276
9276
|
return function() {
|
|
9277
9277
|
var z = arguments, q = z[0];
|
|
@@ -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 & (
|
|
9287
|
+
var q = i & U, _ = i & Y, ge = i & ie, Ee = i & (ee | 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];
|
|
@@ -9368,7 +9368,7 @@ Qr.exports;
|
|
|
9368
9368
|
};
|
|
9369
9369
|
}
|
|
9370
9370
|
function Gu(t, i, o, c, g, A, w, k, x, z) {
|
|
9371
|
-
var q = i &
|
|
9371
|
+
var q = i & ee, _ = 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
9373
|
var Ve = [
|
|
9374
9374
|
t,
|
|
@@ -9387,7 +9387,7 @@ Qr.exports;
|
|
|
9387
9387
|
function $s(t) {
|
|
9388
9388
|
var i = It[t];
|
|
9389
9389
|
return function(o, c) {
|
|
9390
|
-
if (o = En(o), c = c == null ? 0 : Ut(
|
|
9390
|
+
if (o = En(o), c = c == null ? 0 : Ut(De(c), 292), c && eu(o)) {
|
|
9391
9391
|
var g = (it(o) + "e").split("e"), A = i(g[0] + "e" + (+g[1] + c));
|
|
9392
9392
|
return g = (it(A) + "e").split("e"), +(g[0] + "e" + (+g[1] - c));
|
|
9393
9393
|
}
|
|
@@ -9408,7 +9408,7 @@ Qr.exports;
|
|
|
9408
9408
|
if (!x && typeof t != "function")
|
|
9409
9409
|
throw new yn(u);
|
|
9410
9410
|
var z = c ? c.length : 0;
|
|
9411
|
-
if (z || (i &= ~(I | C), c = g = n), w = w === n ? w : Bt(
|
|
9411
|
+
if (z || (i &= ~(I | C), c = g = n), w = w === n ? w : Bt(De(w), 0), k = k === n ? k : De(k), z -= g ? g.length : 0, i & C) {
|
|
9412
9412
|
var q = c, _ = g;
|
|
9413
9413
|
c = g = n;
|
|
9414
9414
|
}
|
|
@@ -9424,10 +9424,10 @@ Qr.exports;
|
|
|
9424
9424
|
w,
|
|
9425
9425
|
k
|
|
9426
9426
|
];
|
|
9427
|
-
if (ge && Nh(Ee, ge), t = Ee[0], i = Ee[1], o = Ee[2], c = Ee[3], g = Ee[4], k = Ee[9] = Ee[9] === n ? x ? 0 : t.length : Bt(Ee[9] - z, 0), !k && i & (
|
|
9427
|
+
if (ge && Nh(Ee, ge), t = Ee[0], i = Ee[1], o = Ee[2], c = Ee[3], g = Ee[4], k = Ee[9] = Ee[9] === n ? x ? 0 : t.length : Bt(Ee[9] - z, 0), !k && i & (ee | N) && (i &= ~(ee | N)), !i || i == Y)
|
|
9428
9428
|
var Se = hh(t, i, o);
|
|
9429
9429
|
else
|
|
9430
|
-
i ==
|
|
9430
|
+
i == ee || 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
9431
|
var Ve = ge ? Cu : $u;
|
|
9432
9432
|
return ec(Ve(Se, Ee), t, i);
|
|
9433
9433
|
}
|
|
@@ -9756,7 +9756,7 @@ Qr.exports;
|
|
|
9756
9756
|
return i;
|
|
9757
9757
|
}
|
|
9758
9758
|
function Nh(t, i) {
|
|
9759
|
-
var o = t[1], c = i[1], g = o | c, A = g < (Y | ie | U), w = c == U && o ==
|
|
9759
|
+
var o = t[1], c = i[1], g = o | c, A = g < (Y | ie | U), w = c == U && o == ee || c == U && o == P && t[7].length <= i[8] || c == (U | P) && i[7].length <= i[8] && o == ee;
|
|
9760
9760
|
if (!(A || w))
|
|
9761
9761
|
return t;
|
|
9762
9762
|
c & Y && (t[2] = i[2], g |= o & Y ? 0 : Z);
|
|
@@ -9866,7 +9866,7 @@ Qr.exports;
|
|
|
9866
9866
|
return i.__actions__ = Qt(t.__actions__), i.__index__ = t.__index__, i.__values__ = t.__values__, i;
|
|
9867
9867
|
}
|
|
9868
9868
|
function Yh(t, i, o) {
|
|
9869
|
-
(o ? Xt(t, i, o) : i === n) ? i = 1 : i = Bt(
|
|
9869
|
+
(o ? Xt(t, i, o) : i === n) ? i = 1 : i = Bt(De(i), 0);
|
|
9870
9870
|
var c = t == null ? 0 : t.length;
|
|
9871
9871
|
if (!c || i < 1)
|
|
9872
9872
|
return [];
|
|
@@ -9900,11 +9900,11 @@ Qr.exports;
|
|
|
9900
9900
|
});
|
|
9901
9901
|
function Kh(t, i, o) {
|
|
9902
9902
|
var c = t == null ? 0 : t.length;
|
|
9903
|
-
return c ? (i = o || i === n ? 1 :
|
|
9903
|
+
return c ? (i = o || i === n ? 1 : De(i), wn(t, i < 0 ? 0 : i, c)) : [];
|
|
9904
9904
|
}
|
|
9905
9905
|
function qh(t, i, o) {
|
|
9906
9906
|
var c = t == null ? 0 : t.length;
|
|
9907
|
-
return c ? (i = o || i === n ? 1 :
|
|
9907
|
+
return c ? (i = o || i === n ? 1 : De(i), i = c - i, wn(t, 0, i < 0 ? 0 : i)) : [];
|
|
9908
9908
|
}
|
|
9909
9909
|
function Xh(t, i) {
|
|
9910
9910
|
return t && t.length ? Cr(t, xe(i, 3), !0, !0) : [];
|
|
@@ -9920,7 +9920,7 @@ Qr.exports;
|
|
|
9920
9920
|
var c = t == null ? 0 : t.length;
|
|
9921
9921
|
if (!c)
|
|
9922
9922
|
return -1;
|
|
9923
|
-
var g = o == null ? 0 :
|
|
9923
|
+
var g = o == null ? 0 : De(o);
|
|
9924
9924
|
return g < 0 && (g = Bt(c + g, 0)), tr(t, xe(i, 3), g);
|
|
9925
9925
|
}
|
|
9926
9926
|
function rc(t, i, o) {
|
|
@@ -9928,7 +9928,7 @@ Qr.exports;
|
|
|
9928
9928
|
if (!c)
|
|
9929
9929
|
return -1;
|
|
9930
9930
|
var g = c - 1;
|
|
9931
|
-
return o !== n && (g =
|
|
9931
|
+
return o !== n && (g = De(o), g = o < 0 ? Bt(c + g, 0) : Ut(g, c - 1)), tr(t, xe(i, 3), g, !0);
|
|
9932
9932
|
}
|
|
9933
9933
|
function sc(t) {
|
|
9934
9934
|
var i = t == null ? 0 : t.length;
|
|
@@ -9940,7 +9940,7 @@ Qr.exports;
|
|
|
9940
9940
|
}
|
|
9941
9941
|
function Qh(t, i) {
|
|
9942
9942
|
var o = t == null ? 0 : t.length;
|
|
9943
|
-
return o ? (i = i === n ? 1 :
|
|
9943
|
+
return o ? (i = i === n ? 1 : De(i), jt(t, i)) : [];
|
|
9944
9944
|
}
|
|
9945
9945
|
function _h(t) {
|
|
9946
9946
|
for (var i = -1, o = t == null ? 0 : t.length, c = {}; ++i < o; ) {
|
|
@@ -9956,7 +9956,7 @@ Qr.exports;
|
|
|
9956
9956
|
var c = t == null ? 0 : t.length;
|
|
9957
9957
|
if (!c)
|
|
9958
9958
|
return -1;
|
|
9959
|
-
var g = o == null ? 0 :
|
|
9959
|
+
var g = o == null ? 0 : De(o);
|
|
9960
9960
|
return g < 0 && (g = Bt(c + g, 0)), Ki(t, i, g);
|
|
9961
9961
|
}
|
|
9962
9962
|
function eA(t) {
|
|
@@ -9985,10 +9985,10 @@ Qr.exports;
|
|
|
9985
9985
|
if (!c)
|
|
9986
9986
|
return -1;
|
|
9987
9987
|
var g = c;
|
|
9988
|
-
return o !== n && (g =
|
|
9988
|
+
return o !== n && (g = De(o), g = g < 0 ? Bt(c + g, 0) : Ut(g, c - 1)), i === i ? Uf(t, i, g) : tr(t, Gl, g, !0);
|
|
9989
9989
|
}
|
|
9990
9990
|
function sA(t, i) {
|
|
9991
|
-
return t && t.length ? yu(t,
|
|
9991
|
+
return t && t.length ? yu(t, De(i)) : n;
|
|
9992
9992
|
}
|
|
9993
9993
|
var oA = He(lc);
|
|
9994
9994
|
function lc(t, i) {
|
|
@@ -10022,7 +10022,7 @@ Qr.exports;
|
|
|
10022
10022
|
}
|
|
10023
10023
|
function pA(t, i, o) {
|
|
10024
10024
|
var c = t == null ? 0 : t.length;
|
|
10025
|
-
return c ? (o && typeof o != "number" && Xt(t, i, o) ? (i = 0, o = c) : (i = i == null ? 0 :
|
|
10025
|
+
return c ? (o && typeof o != "number" && Xt(t, i, o) ? (i = 0, o = c) : (i = i == null ? 0 : De(i), o = o === n ? c : De(o)), wn(t, i, o)) : [];
|
|
10026
10026
|
}
|
|
10027
10027
|
function gA(t, i) {
|
|
10028
10028
|
return wr(t, i);
|
|
@@ -10065,11 +10065,11 @@ Qr.exports;
|
|
|
10065
10065
|
return i ? wn(t, 1, i) : [];
|
|
10066
10066
|
}
|
|
10067
10067
|
function CA(t, i, o) {
|
|
10068
|
-
return t && t.length ? (i = o || i === n ? 1 :
|
|
10068
|
+
return t && t.length ? (i = o || i === n ? 1 : De(i), wn(t, 0, i < 0 ? 0 : i)) : [];
|
|
10069
10069
|
}
|
|
10070
10070
|
function EA(t, i, o) {
|
|
10071
10071
|
var c = t == null ? 0 : t.length;
|
|
10072
|
-
return c ? (i = o || i === n ? 1 :
|
|
10072
|
+
return c ? (i = o || i === n ? 1 : De(i), i = c - i, wn(t, i < 0 ? 0 : i, c)) : [];
|
|
10073
10073
|
}
|
|
10074
10074
|
function kA(t, i) {
|
|
10075
10075
|
return t && t.length ? Cr(t, xe(i, 3), !1, !0) : [];
|
|
@@ -10214,7 +10214,7 @@ Qr.exports;
|
|
|
10214
10214
|
return jt(Rr(t, i), ye);
|
|
10215
10215
|
}
|
|
10216
10216
|
function ny(t, i, o) {
|
|
10217
|
-
return o = o === n ? 1 :
|
|
10217
|
+
return o = o === n ? 1 : De(o), jt(Rr(t, i), o);
|
|
10218
10218
|
}
|
|
10219
10219
|
function dc(t, i) {
|
|
10220
10220
|
var o = Pe(t) ? An : ui;
|
|
@@ -10228,7 +10228,7 @@ Qr.exports;
|
|
|
10228
10228
|
rt.call(t, o) ? t[o].push(i) : Jn(t, o, [i]);
|
|
10229
10229
|
});
|
|
10230
10230
|
function ay(t, i, o, c) {
|
|
10231
|
-
t = _t(t) ? t : ia(t), o = o && !c ?
|
|
10231
|
+
t = _t(t) ? t : ia(t), o = o && !c ? De(o) : 0;
|
|
10232
10232
|
var g = t.length;
|
|
10233
10233
|
return o < 0 && (o = Bt(g + o, 0)), Dr(t) ? o <= g && t.indexOf(i, o) > -1 : !!g && Ki(t, i, o) > -1;
|
|
10234
10234
|
}
|
|
@@ -10269,7 +10269,7 @@ Qr.exports;
|
|
|
10269
10269
|
return i(t);
|
|
10270
10270
|
}
|
|
10271
10271
|
function gy(t, i, o) {
|
|
10272
|
-
(o ? Xt(t, i, o) : i === n) ? i = 1 : i =
|
|
10272
|
+
(o ? Xt(t, i, o) : i === n) ? i = 1 : i = De(i);
|
|
10273
10273
|
var c = Pe(t) ? Pm : rh;
|
|
10274
10274
|
return c(t, i);
|
|
10275
10275
|
}
|
|
@@ -10300,7 +10300,7 @@ Qr.exports;
|
|
|
10300
10300
|
function yy(t, i) {
|
|
10301
10301
|
if (typeof i != "function")
|
|
10302
10302
|
throw new yn(u);
|
|
10303
|
-
return t =
|
|
10303
|
+
return t = De(t), function() {
|
|
10304
10304
|
if (--t < 1)
|
|
10305
10305
|
return i.apply(this, arguments);
|
|
10306
10306
|
};
|
|
@@ -10312,7 +10312,7 @@ Qr.exports;
|
|
|
10312
10312
|
var o;
|
|
10313
10313
|
if (typeof i != "function")
|
|
10314
10314
|
throw new yn(u);
|
|
10315
|
-
return t =
|
|
10315
|
+
return t = De(t), function() {
|
|
10316
10316
|
return --t > 0 && (o = i.apply(this, arguments)), t <= 1 && (i = n), o;
|
|
10317
10317
|
};
|
|
10318
10318
|
}
|
|
@@ -10333,7 +10333,7 @@ Qr.exports;
|
|
|
10333
10333
|
});
|
|
10334
10334
|
function hc(t, i, o) {
|
|
10335
10335
|
i = o ? n : i;
|
|
10336
|
-
var c = Wn(t,
|
|
10336
|
+
var c = Wn(t, ee, n, n, n, n, n, i);
|
|
10337
10337
|
return c.placeholder = hc.placeholder, c;
|
|
10338
10338
|
}
|
|
10339
10339
|
function Ac(t, i, o) {
|
|
@@ -10450,12 +10450,12 @@ Qr.exports;
|
|
|
10450
10450
|
function Oy(t, i) {
|
|
10451
10451
|
if (typeof t != "function")
|
|
10452
10452
|
throw new yn(u);
|
|
10453
|
-
return i = i === n ? i :
|
|
10453
|
+
return i = i === n ? i : De(i), He(t, i);
|
|
10454
10454
|
}
|
|
10455
10455
|
function Iy(t, i) {
|
|
10456
10456
|
if (typeof t != "function")
|
|
10457
10457
|
throw new yn(u);
|
|
10458
|
-
return i = i == null ? 0 : Bt(
|
|
10458
|
+
return i = i == null ? 0 : Bt(De(i), 0), He(function(o) {
|
|
10459
10459
|
var c = o[i], g = pi(o, 0, i);
|
|
10460
10460
|
return c && si(g, c), rn(t, this, g);
|
|
10461
10461
|
});
|
|
@@ -10559,7 +10559,7 @@ Qr.exports;
|
|
|
10559
10559
|
return i == fe || i == Q || i == Fn || i == Je;
|
|
10560
10560
|
}
|
|
10561
10561
|
function bc(t) {
|
|
10562
|
-
return typeof t == "number" && t ==
|
|
10562
|
+
return typeof t == "number" && t == De(t);
|
|
10563
10563
|
}
|
|
10564
10564
|
function jr(t) {
|
|
10565
10565
|
return typeof t == "number" && t > -1 && t % 1 == 0 && t <= Me;
|
|
@@ -10647,12 +10647,12 @@ Qr.exports;
|
|
|
10647
10647
|
}
|
|
10648
10648
|
return t === t ? t : 0;
|
|
10649
10649
|
}
|
|
10650
|
-
function
|
|
10650
|
+
function De(t) {
|
|
10651
10651
|
var i = $n(t), o = i % 1;
|
|
10652
10652
|
return i === i ? o ? i - o : i : 0;
|
|
10653
10653
|
}
|
|
10654
10654
|
function Oc(t) {
|
|
10655
|
-
return t ? Bi(
|
|
10655
|
+
return t ? Bi(De(t), 0, we) : 0;
|
|
10656
10656
|
}
|
|
10657
10657
|
function En(t) {
|
|
10658
10658
|
if (typeof t == "number")
|
|
@@ -10673,7 +10673,7 @@ Qr.exports;
|
|
|
10673
10673
|
return Pn(t, $t(t));
|
|
10674
10674
|
}
|
|
10675
10675
|
function av(t) {
|
|
10676
|
-
return t ? Bi(
|
|
10676
|
+
return t ? Bi(De(t), -Me, Me) : t === 0 ? t : 0;
|
|
10677
10677
|
}
|
|
10678
10678
|
function it(t) {
|
|
10679
10679
|
return t == null ? "" : on(t);
|
|
@@ -10867,7 +10867,7 @@ Qr.exports;
|
|
|
10867
10867
|
function Gv(t, i, o) {
|
|
10868
10868
|
t = it(t), i = on(i);
|
|
10869
10869
|
var c = t.length;
|
|
10870
|
-
o = o === n ? c : Bi(
|
|
10870
|
+
o = o === n ? c : Bi(De(o), 0, c);
|
|
10871
10871
|
var g = o;
|
|
10872
10872
|
return o -= i.length, o >= 0 && t.slice(o, g) == i;
|
|
10873
10873
|
}
|
|
@@ -10883,7 +10883,7 @@ Qr.exports;
|
|
|
10883
10883
|
return t + (o ? " " : "") + i.toLowerCase();
|
|
10884
10884
|
}), qv = ju("toLowerCase");
|
|
10885
10885
|
function Xv(t, i, o) {
|
|
10886
|
-
t = it(t), i =
|
|
10886
|
+
t = it(t), i = De(i);
|
|
10887
10887
|
var c = i ? Xi(t) : 0;
|
|
10888
10888
|
if (!i || c >= i)
|
|
10889
10889
|
return t;
|
|
@@ -10891,12 +10891,12 @@ Qr.exports;
|
|
|
10891
10891
|
return Ir(gr(g), o) + t + Ir(pr(g), o);
|
|
10892
10892
|
}
|
|
10893
10893
|
function Jv(t, i, o) {
|
|
10894
|
-
t = it(t), i =
|
|
10894
|
+
t = it(t), i = De(i);
|
|
10895
10895
|
var c = i ? Xi(t) : 0;
|
|
10896
10896
|
return i && c < i ? t + Ir(i - c, o) : t;
|
|
10897
10897
|
}
|
|
10898
10898
|
function Wv(t, i, o) {
|
|
10899
|
-
t = it(t), i =
|
|
10899
|
+
t = it(t), i = De(i);
|
|
10900
10900
|
var c = i ? Xi(t) : 0;
|
|
10901
10901
|
return i && c < i ? Ir(i - c, o) + t : t;
|
|
10902
10902
|
}
|
|
@@ -10904,7 +10904,7 @@ Qr.exports;
|
|
|
10904
10904
|
return o || i == null ? i = 0 : i && (i = +i), im(it(t).replace(gs, ""), i || 0);
|
|
10905
10905
|
}
|
|
10906
10906
|
function Qv(t, i, o) {
|
|
10907
|
-
return (o ? Xt(t, i, o) : i === n) ? i = 1 : i =
|
|
10907
|
+
return (o ? Xt(t, i, o) : i === n) ? i = 1 : i = De(i), Ks(it(t), i);
|
|
10908
10908
|
}
|
|
10909
10909
|
function _v() {
|
|
10910
10910
|
var t = arguments, i = it(t[0]);
|
|
@@ -10920,7 +10920,7 @@ Qr.exports;
|
|
|
10920
10920
|
return t + (o ? " " : "") + yo(i);
|
|
10921
10921
|
});
|
|
10922
10922
|
function nb(t, i, o) {
|
|
10923
|
-
return t = it(t), o = o == null ? 0 : Bi(
|
|
10923
|
+
return t = it(t), o = o == null ? 0 : Bi(De(o), 0, t.length), i = on(i), t.slice(o, o + i.length) == i;
|
|
10924
10924
|
}
|
|
10925
10925
|
function ib(t, i, o) {
|
|
10926
10926
|
var c = f.templateSettings;
|
|
@@ -10996,7 +10996,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
10996
10996
|
var o = Ae, c = me;
|
|
10997
10997
|
if (ht(i)) {
|
|
10998
10998
|
var g = "separator" in i ? i.separator : g;
|
|
10999
|
-
o = "length" in i ?
|
|
10999
|
+
o = "length" in i ? De(i.length) : o, c = "omission" in i ? on(i.omission) : c;
|
|
11000
11000
|
}
|
|
11001
11001
|
t = it(t);
|
|
11002
11002
|
var A = t.length;
|
|
@@ -11114,7 +11114,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
11114
11114
|
function Co() {
|
|
11115
11115
|
}
|
|
11116
11116
|
function Eb(t) {
|
|
11117
|
-
return t =
|
|
11117
|
+
return t = De(t), He(function(i) {
|
|
11118
11118
|
return yu(i, t);
|
|
11119
11119
|
});
|
|
11120
11120
|
}
|
|
@@ -11144,7 +11144,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
11144
11144
|
return !0;
|
|
11145
11145
|
}
|
|
11146
11146
|
function Lb(t, i) {
|
|
11147
|
-
if (t =
|
|
11147
|
+
if (t = De(t), t < 1 || t > Me)
|
|
11148
11148
|
return [];
|
|
11149
11149
|
var o = we, c = Ut(t, we);
|
|
11150
11150
|
i = xe(i), t -= we;
|
|
@@ -11193,7 +11193,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
11193
11193
|
function Zb(t, i) {
|
|
11194
11194
|
return t && t.length ? Is(t, xe(i, 2)) : 0;
|
|
11195
11195
|
}
|
|
11196
|
-
return f.after = yy, f.ary = gc, f.assign = rv, f.assignIn = Bc, f.assignInWith = Ur, f.assignWith = sv, f.at = ov, f.before = fc, f.bind = po, f.bindAll = pb, f.bindKey = mc, f.castArray = Sy, f.chain = cc, f.chunk = Yh, f.compact = Vh, f.concat = Gh, f.cond = gb, f.conforms = fb, f.constant = vo, f.countBy = WA, f.create = lv, f.curry = hc, f.curryRight = Ac, f.debounce = yc, f.defaults = uv, f.defaultsDeep = cv, f.defer = vy, f.delay = by, f.difference = Hh, f.differenceBy = Fh, f.differenceWith = zh, f.drop = Kh, f.dropRight = qh, f.dropRightWhile = Xh, f.dropWhile = Jh, f.fill = Wh, f.filter = QA, f.flatMap = ey, f.flatMapDeep = ty, f.flatMapDepth = ny, f.flatten = sc, f.flattenDeep = Zh, f.flattenDepth = Qh, f.flip = wy, f.flow = hb, f.flowRight = Ab, f.fromPairs = _h, f.functions = Av, f.functionsIn = yv, f.groupBy = iy, f.initial = eA, f.intersection = tA, f.intersectionBy = nA, f.intersectionWith = iA, f.invert = bv, f.invertBy = wv, f.invokeMap = ry, f.iteratee = bo, f.keyBy = sy, f.keys = Tt, f.keysIn = $t, f.map = Rr, f.mapKeys = Ev, f.mapValues = kv, f.matches = yb, f.matchesProperty = vb, f.memoize = Nr, f.merge = Ov, f.mergeWith = Mc, f.method = bb, f.methodOf = wb, f.mixin = wo, f.negate = Pr, f.nthArg = Eb, f.omit = Iv, f.omitBy = Bv, f.once = Cy, f.orderBy = oy, f.over = kb, f.overArgs = Ey, f.overEvery = Ob, f.overSome = Ib, f.partial = go, f.partialRight = vc, f.partition = ly, f.pick = Mv, f.pickBy = xc, f.property = jc, f.propertyOf = Bb, f.pull = oA, f.pullAll = lc, f.pullAllBy = lA, f.pullAllWith = uA, f.pullAt = cA, f.range = Mb, f.rangeRight = xb, f.rearg = ky, f.reject = dy, f.remove = dA, f.rest = Oy, f.reverse = uo, f.sampleSize = gy, f.set = Sv, f.setWith = Tv, f.shuffle = fy, f.slice = pA, f.sortBy = Ay, f.sortedUniq = vA, f.sortedUniqBy = bA, f.split = eb, f.spread = Iy, f.tail = wA, f.take = CA, f.takeRight = EA, f.takeRightWhile = kA, f.takeWhile = OA, f.tap = VA, f.throttle = By, f.thru = Tr, f.toArray = kc, f.toPairs = Sc, f.toPairsIn = Tc, f.toPath = Nb, f.toPlainObject = Ic, f.transform = Rv, f.unary = My, f.union = IA, f.unionBy = BA, f.unionWith = MA, f.uniq = xA, f.uniqBy = SA, f.uniqWith = TA, f.unset = Lv, f.unzip = co, f.unzipWith = uc, f.update = Nv, f.updateWith = Pv, f.values = ia, f.valuesIn = jv, f.without = RA, f.words = Nc, f.wrap = xy, f.xor = LA, f.xorBy = NA, f.xorWith = PA, f.zip = jA, f.zipObject = DA, f.zipObjectDeep = UA, f.zipWith = YA, f.entries = Sc, f.entriesIn = Tc, f.extend = Bc, f.extendWith = Ur, wo(f, f), f.add = jb, f.attempt = Pc, f.camelCase = Vv, f.capitalize = Rc, f.ceil = Db, f.clamp = Dv, f.clone = Ty, f.cloneDeep = Ly, f.cloneDeepWith = Ny, f.cloneWith = Ry, f.conformsTo = Py, f.deburr = Lc, f.defaultTo = mb, f.divide = Ub, f.endsWith = Gv, f.eq = xn, f.escape = Hv, f.escapeRegExp = Fv, f.every = ZA, f.find = _A, f.findIndex = ac, f.findKey = dv, f.findLast = $A, f.findLastIndex = rc, f.findLastKey = pv, f.floor = Yb, f.forEach = dc, f.forEachRight = pc, f.forIn = gv, f.forInRight = fv, f.forOwn = mv, f.forOwnRight = hv, f.get = ho, f.gt = jy, f.gte = Dy, f.has = vv, f.hasIn = Ao, f.head = oc, f.identity = en, f.includes = ay, f.indexOf = $h, f.inRange = Uv, f.invoke = Cv, f.isArguments = Ti, f.isArray = Pe, f.isArrayBuffer = Uy, f.isArrayLike = _t, f.isArrayLikeObject = wt, f.isBoolean = Yy, f.isBuffer = gi, f.isDate = Vy, f.isElement = Gy, f.isEmpty = Hy, f.isEqual = Fy, f.isEqualWith = zy, f.isError = fo, f.isFinite = Ky, f.isFunction = _n, f.isInteger = bc, f.isLength = jr, f.isMap = wc, f.isMatch = qy, f.isMatchWith = Xy, f.isNaN = Jy, f.isNative = Wy, f.isNil = Qy, f.isNull = Zy, f.isNumber = Cc, f.isObject = ht, f.isObjectLike = vt, f.isPlainObject = xa, f.isRegExp = mo, f.isSafeInteger = _y, f.isSet = Ec, f.isString = Dr, f.isSymbol = ln, f.isTypedArray = na, f.isUndefined = $y, f.isWeakMap = ev, f.isWeakSet = tv, f.join = aA, f.kebabCase = zv, f.last = Cn, f.lastIndexOf = rA, f.lowerCase = Kv, f.lowerFirst = qv, f.lt = nv, f.lte = iv, f.max = Vb, f.maxBy = Gb, f.mean = Hb, f.meanBy = Fb, f.min = zb, f.minBy = Kb, f.stubArray = Eo, f.stubFalse = ko, f.stubObject = Sb, f.stubString = Tb, f.stubTrue = Rb, f.multiply = qb, f.nth = sA, f.noConflict = Cb, f.noop = Co, f.now = Lr, f.pad = Xv, f.padEnd = Jv, f.padStart = Wv, f.parseInt = Zv, f.random = Yv, f.reduce = uy, f.reduceRight = cy, f.repeat = Qv, f.replace = _v, f.result = xv, f.round = Xb, f.runInContext = M, f.sample = py, f.size = my, f.snakeCase = $v, f.some = hy, f.sortedIndex = gA, f.sortedIndexBy = fA, f.sortedIndexOf = mA, f.sortedLastIndex = hA, f.sortedLastIndexBy = AA, f.sortedLastIndexOf = yA, f.startCase = tb, f.startsWith = nb, f.subtract = Jb, f.sum = Wb, f.sumBy = Zb, f.template = ib, f.times = Lb, f.toFinite = $n, f.toInteger =
|
|
11196
|
+
return f.after = yy, f.ary = gc, f.assign = rv, f.assignIn = Bc, f.assignInWith = Ur, f.assignWith = sv, f.at = ov, f.before = fc, f.bind = po, f.bindAll = pb, f.bindKey = mc, f.castArray = Sy, f.chain = cc, f.chunk = Yh, f.compact = Vh, f.concat = Gh, f.cond = gb, f.conforms = fb, f.constant = vo, f.countBy = WA, f.create = lv, f.curry = hc, f.curryRight = Ac, f.debounce = yc, f.defaults = uv, f.defaultsDeep = cv, f.defer = vy, f.delay = by, f.difference = Hh, f.differenceBy = Fh, f.differenceWith = zh, f.drop = Kh, f.dropRight = qh, f.dropRightWhile = Xh, f.dropWhile = Jh, f.fill = Wh, f.filter = QA, f.flatMap = ey, f.flatMapDeep = ty, f.flatMapDepth = ny, f.flatten = sc, f.flattenDeep = Zh, f.flattenDepth = Qh, f.flip = wy, f.flow = hb, f.flowRight = Ab, f.fromPairs = _h, f.functions = Av, f.functionsIn = yv, f.groupBy = iy, f.initial = eA, f.intersection = tA, f.intersectionBy = nA, f.intersectionWith = iA, f.invert = bv, f.invertBy = wv, f.invokeMap = ry, f.iteratee = bo, f.keyBy = sy, f.keys = Tt, f.keysIn = $t, f.map = Rr, f.mapKeys = Ev, f.mapValues = kv, f.matches = yb, f.matchesProperty = vb, f.memoize = Nr, f.merge = Ov, f.mergeWith = Mc, f.method = bb, f.methodOf = wb, f.mixin = wo, f.negate = Pr, f.nthArg = Eb, f.omit = Iv, f.omitBy = Bv, f.once = Cy, f.orderBy = oy, f.over = kb, f.overArgs = Ey, f.overEvery = Ob, f.overSome = Ib, f.partial = go, f.partialRight = vc, f.partition = ly, f.pick = Mv, f.pickBy = xc, f.property = jc, f.propertyOf = Bb, f.pull = oA, f.pullAll = lc, f.pullAllBy = lA, f.pullAllWith = uA, f.pullAt = cA, f.range = Mb, f.rangeRight = xb, f.rearg = ky, f.reject = dy, f.remove = dA, f.rest = Oy, f.reverse = uo, f.sampleSize = gy, f.set = Sv, f.setWith = Tv, f.shuffle = fy, f.slice = pA, f.sortBy = Ay, f.sortedUniq = vA, f.sortedUniqBy = bA, f.split = eb, f.spread = Iy, f.tail = wA, f.take = CA, f.takeRight = EA, f.takeRightWhile = kA, f.takeWhile = OA, f.tap = VA, f.throttle = By, f.thru = Tr, f.toArray = kc, f.toPairs = Sc, f.toPairsIn = Tc, f.toPath = Nb, f.toPlainObject = Ic, f.transform = Rv, f.unary = My, f.union = IA, f.unionBy = BA, f.unionWith = MA, f.uniq = xA, f.uniqBy = SA, f.uniqWith = TA, f.unset = Lv, f.unzip = co, f.unzipWith = uc, f.update = Nv, f.updateWith = Pv, f.values = ia, f.valuesIn = jv, f.without = RA, f.words = Nc, f.wrap = xy, f.xor = LA, f.xorBy = NA, f.xorWith = PA, f.zip = jA, f.zipObject = DA, f.zipObjectDeep = UA, f.zipWith = YA, f.entries = Sc, f.entriesIn = Tc, f.extend = Bc, f.extendWith = Ur, wo(f, f), f.add = jb, f.attempt = Pc, f.camelCase = Vv, f.capitalize = Rc, f.ceil = Db, f.clamp = Dv, f.clone = Ty, f.cloneDeep = Ly, f.cloneDeepWith = Ny, f.cloneWith = Ry, f.conformsTo = Py, f.deburr = Lc, f.defaultTo = mb, f.divide = Ub, f.endsWith = Gv, f.eq = xn, f.escape = Hv, f.escapeRegExp = Fv, f.every = ZA, f.find = _A, f.findIndex = ac, f.findKey = dv, f.findLast = $A, f.findLastIndex = rc, f.findLastKey = pv, f.floor = Yb, f.forEach = dc, f.forEachRight = pc, f.forIn = gv, f.forInRight = fv, f.forOwn = mv, f.forOwnRight = hv, f.get = ho, f.gt = jy, f.gte = Dy, f.has = vv, f.hasIn = Ao, f.head = oc, f.identity = en, f.includes = ay, f.indexOf = $h, f.inRange = Uv, f.invoke = Cv, f.isArguments = Ti, f.isArray = Pe, f.isArrayBuffer = Uy, f.isArrayLike = _t, f.isArrayLikeObject = wt, f.isBoolean = Yy, f.isBuffer = gi, f.isDate = Vy, f.isElement = Gy, f.isEmpty = Hy, f.isEqual = Fy, f.isEqualWith = zy, f.isError = fo, f.isFinite = Ky, f.isFunction = _n, f.isInteger = bc, f.isLength = jr, f.isMap = wc, f.isMatch = qy, f.isMatchWith = Xy, f.isNaN = Jy, f.isNative = Wy, f.isNil = Qy, f.isNull = Zy, f.isNumber = Cc, f.isObject = ht, f.isObjectLike = vt, f.isPlainObject = xa, f.isRegExp = mo, f.isSafeInteger = _y, f.isSet = Ec, f.isString = Dr, f.isSymbol = ln, f.isTypedArray = na, f.isUndefined = $y, f.isWeakMap = ev, f.isWeakSet = tv, f.join = aA, f.kebabCase = zv, f.last = Cn, f.lastIndexOf = rA, f.lowerCase = Kv, f.lowerFirst = qv, f.lt = nv, f.lte = iv, f.max = Vb, f.maxBy = Gb, f.mean = Hb, f.meanBy = Fb, f.min = zb, f.minBy = Kb, f.stubArray = Eo, f.stubFalse = ko, f.stubObject = Sb, f.stubString = Tb, f.stubTrue = Rb, f.multiply = qb, f.nth = sA, f.noConflict = Cb, f.noop = Co, f.now = Lr, f.pad = Xv, f.padEnd = Jv, f.padStart = Wv, f.parseInt = Zv, f.random = Yv, f.reduce = uy, f.reduceRight = cy, f.repeat = Qv, f.replace = _v, f.result = xv, f.round = Xb, f.runInContext = M, f.sample = py, f.size = my, f.snakeCase = $v, f.some = hy, f.sortedIndex = gA, f.sortedIndexBy = fA, f.sortedIndexOf = mA, f.sortedLastIndex = hA, f.sortedLastIndexBy = AA, f.sortedLastIndexOf = yA, f.startCase = tb, f.startsWith = nb, f.subtract = Jb, f.sum = Wb, f.sumBy = Zb, f.template = ib, f.times = Lb, f.toFinite = $n, f.toInteger = De, f.toLength = Oc, f.toLower = ab, f.toNumber = En, f.toSafeInteger = av, f.toString = it, f.toUpper = rb, f.trim = sb, f.trimEnd = ob, f.trimStart = lb, f.truncate = ub, f.unescape = cb, f.uniqueId = Pb, f.upperCase = db, f.upperFirst = yo, f.each = dc, f.eachRight = pc, f.first = oc, wo(f, function() {
|
|
11197
11197
|
var t = {};
|
|
11198
11198
|
return Nn(f, function(i, o) {
|
|
11199
11199
|
rt.call(f.prototype, o) || (t[o] = i);
|
|
@@ -11202,7 +11202,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
11202
11202
|
f[t].placeholder = f;
|
|
11203
11203
|
}), An(["drop", "take"], function(t, i) {
|
|
11204
11204
|
We.prototype[t] = function(o) {
|
|
11205
|
-
o = o === n ? 1 : Bt(
|
|
11205
|
+
o = o === n ? 1 : Bt(De(o), 0);
|
|
11206
11206
|
var c = this.__filtered__ && !i ? new We(this) : this.clone();
|
|
11207
11207
|
return c.__filtered__ ? c.__takeCount__ = Ut(o, c.__takeCount__) : c.__views__.push({
|
|
11208
11208
|
size: Ut(o, we),
|
|
@@ -11243,9 +11243,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
11243
11243
|
}), We.prototype.reject = function(t) {
|
|
11244
11244
|
return this.filter(Pr(xe(t)));
|
|
11245
11245
|
}, We.prototype.slice = function(t, i) {
|
|
11246
|
-
t =
|
|
11246
|
+
t = De(t);
|
|
11247
11247
|
var o = this;
|
|
11248
|
-
return o.__filtered__ && (t > 0 || i < 0) ? new We(o) : (t < 0 ? o = o.takeRight(-t) : t && (o = o.drop(t)), i !== n && (i =
|
|
11248
|
+
return o.__filtered__ && (t > 0 || i < 0) ? new We(o) : (t < 0 ? o = o.takeRight(-t) : t && (o = o.drop(t)), i !== n && (i = De(i), o = i < 0 ? o.dropRight(-i) : o.take(i - t)), o);
|
|
11249
11249
|
}, We.prototype.takeRightWhile = function(t) {
|
|
11250
11250
|
return this.reverse().takeWhile(t).reverse();
|
|
11251
11251
|
}, We.prototype.toArray = function() {
|
|
@@ -11615,7 +11615,7 @@ function $I(e, a, n) {
|
|
|
11615
11615
|
["hour", "getHours"],
|
|
11616
11616
|
["minute", "getMinutes"],
|
|
11617
11617
|
["second", "getSeconds"]
|
|
11618
|
-
], E = 0,
|
|
11618
|
+
], E = 0, ee = Z.length; E < ee; E++)
|
|
11619
11619
|
if (p[Z[E][0]] && s[Z[E][0]] !== ie[Z[E][1]]())
|
|
11620
11620
|
return null;
|
|
11621
11621
|
} else if (ie = new Date(Date.UTC(s.year, s.month, s.day, s.hour, s.minute - s.timezoneOffset, s.second, s.millisecond)), s.month > 11 || s.month < 0 || s.day > 31 || s.day < 1 || s.hour > 23 || s.hour < 0 || s.minute > 59 || s.minute < 0 || s.second > 59 || s.second < 0)
|
|
@@ -11905,7 +11905,7 @@ const tt = {
|
|
|
11905
11905
|
}, tB = ["id", "autocomplete", "disabled", "name", "required"];
|
|
11906
11906
|
function nB(e, a, n, r, s, l) {
|
|
11907
11907
|
const u = ii("attributes");
|
|
11908
|
-
return
|
|
11908
|
+
return Ue((y(), O("input", {
|
|
11909
11909
|
id: e.getFieldID(e.schema),
|
|
11910
11910
|
type: "checkbox",
|
|
11911
11911
|
"onUpdate:modelValue": a[0] || (a[0] = (d) => e.value = d),
|
|
@@ -11927,17 +11927,17 @@ const Ge = (e, a) => {
|
|
|
11927
11927
|
}, iB = /* @__PURE__ */ Ge(eB, [["render", nB]]), aB = { class: "wrapper" }, rB = ["disabled"], sB = ["id", "checked", "disabled", "onChange", "name"], oB = ["disabled"], lB = { class: "info" }, uB = /* @__PURE__ */ S("div", { class: "arrow" }, null, -1), cB = { class: "dropList" }, dB = ["id", "checked", "disabled", "onChange", "name"];
|
|
11928
11928
|
function pB(e, a, n, r, s, l) {
|
|
11929
11929
|
const u = ii("attributes");
|
|
11930
|
-
return
|
|
11930
|
+
return Ue((y(), O("div", aB, [
|
|
11931
11931
|
e.schema.listBox ? (y(), O("div", {
|
|
11932
11932
|
key: 0,
|
|
11933
11933
|
class: "listbox form-control",
|
|
11934
11934
|
disabled: e.disabled || null
|
|
11935
11935
|
}, [
|
|
11936
|
-
(y(!0), O(Re, null,
|
|
11936
|
+
(y(!0), O(Re, null, Ye(l.items, (d) => (y(), O("div", {
|
|
11937
11937
|
class: Fe(["list-row", { "is-checked": l.isItemChecked(d) }])
|
|
11938
11938
|
}, [
|
|
11939
11939
|
S("label", null, [
|
|
11940
|
-
|
|
11940
|
+
Ue(S("input", {
|
|
11941
11941
|
id: e.getFieldID(e.schema, !0),
|
|
11942
11942
|
type: "checkbox",
|
|
11943
11943
|
checked: l.isItemChecked(d) || null,
|
|
@@ -11964,11 +11964,11 @@ function pB(e, a, n, r, s, l) {
|
|
|
11964
11964
|
uB
|
|
11965
11965
|
], 2),
|
|
11966
11966
|
S("div", cB, [
|
|
11967
|
-
s.comboExpanded ? (y(!0), O(Re, { key: 0 },
|
|
11967
|
+
s.comboExpanded ? (y(!0), O(Re, { key: 0 }, Ye(l.items, (d) => (y(), O("div", {
|
|
11968
11968
|
class: Fe(["list-row", { "is-checked": l.isItemChecked(d) }])
|
|
11969
11969
|
}, [
|
|
11970
11970
|
S("label", null, [
|
|
11971
|
-
|
|
11971
|
+
Ue(S("input", {
|
|
11972
11972
|
id: e.getFieldID(e.schema, !0),
|
|
11973
11973
|
type: "checkbox",
|
|
11974
11974
|
checked: l.isItemChecked(d) || null,
|
|
@@ -12049,8 +12049,8 @@ const gB = {
|
|
|
12049
12049
|
};
|
|
12050
12050
|
function yB(e, a, n, r, s, l) {
|
|
12051
12051
|
const u = ii("attributes");
|
|
12052
|
-
return
|
|
12053
|
-
|
|
12052
|
+
return Ue((y(), O("div", mB, [
|
|
12053
|
+
Ue(S("input", {
|
|
12054
12054
|
class: Fe(["form-control", e.schema.fieldClasses]),
|
|
12055
12055
|
id: e.getFieldID(e.schema),
|
|
12056
12056
|
type: l.inputType,
|
|
@@ -12194,7 +12194,7 @@ const Md = {
|
|
|
12194
12194
|
}, $p = /* @__PURE__ */ Ge(vB, [["render", yB]]), bB = ["id"];
|
|
12195
12195
|
function wB(e, a, n, r, s, l) {
|
|
12196
12196
|
const u = ii("attributes");
|
|
12197
|
-
return
|
|
12197
|
+
return Ue((y(), O("span", {
|
|
12198
12198
|
id: e.getFieldID(e.schema),
|
|
12199
12199
|
class: Fe(e.schema.fieldClasses)
|
|
12200
12200
|
}, [
|
|
@@ -12208,14 +12208,14 @@ const CB = {
|
|
|
12208
12208
|
}, EB = /* @__PURE__ */ Ge(CB, [["render", wB]]), kB = ["disabled"], OB = ["id", "disabled", "name", "onClick", "value", "checked", "required"];
|
|
12209
12209
|
function IB(e, a, n, r, s, l) {
|
|
12210
12210
|
const u = ii("attributes");
|
|
12211
|
-
return
|
|
12211
|
+
return Ue((y(), O("div", {
|
|
12212
12212
|
class: "radio-list",
|
|
12213
12213
|
disabled: e.disabled || null
|
|
12214
12214
|
}, [
|
|
12215
|
-
(y(!0), O(Re, null,
|
|
12215
|
+
(y(!0), O(Re, null, Ye(l.items, (d) => Ue((y(), O("label", {
|
|
12216
12216
|
class: Fe(l.getItemCssClasses(d))
|
|
12217
12217
|
}, [
|
|
12218
|
-
|
|
12218
|
+
Ue(S("input", {
|
|
12219
12219
|
id: e.getFieldID(e.schema, !0),
|
|
12220
12220
|
type: "radio",
|
|
12221
12221
|
disabled: l.isItemDisabled(d) || null,
|
|
@@ -12290,7 +12290,7 @@ const BB = {
|
|
|
12290
12290
|
}, MB = /* @__PURE__ */ Ge(BB, [["render", IB]]), xB = ["disabled", "name", "id"], SB = ["disabled"], TB = ["label"], RB = ["value"], LB = ["value"];
|
|
12291
12291
|
function NB(e, a, n, r, s, l) {
|
|
12292
12292
|
const u = ii("attributes");
|
|
12293
|
-
return
|
|
12293
|
+
return Ue((y(), O("select", {
|
|
12294
12294
|
class: Fe(["form-control", e.schema.fieldClasses]),
|
|
12295
12295
|
"onUpdate:modelValue": a[0] || (a[0] = (d) => e.value = d),
|
|
12296
12296
|
disabled: e.disabled || null,
|
|
@@ -12302,12 +12302,12 @@ function NB(e, a, n, r, s, l) {
|
|
|
12302
12302
|
disabled: e.schema.required || null,
|
|
12303
12303
|
value: null
|
|
12304
12304
|
}, W(l.selectOptions.noneSelectedText || "<Nothing selected>"), 9, SB)),
|
|
12305
|
-
(y(!0), O(Re, null,
|
|
12305
|
+
(y(!0), O(Re, null, Ye(l.items, (d) => (y(), O(Re, null, [
|
|
12306
12306
|
d.group ? (y(), O("optgroup", {
|
|
12307
12307
|
key: 0,
|
|
12308
12308
|
label: l.getGroupName(d)
|
|
12309
12309
|
}, [
|
|
12310
|
-
d.ops ? (y(!0), O(Re, { key: 0 },
|
|
12310
|
+
d.ops ? (y(!0), O(Re, { key: 0 }, Ye(d.ops, (p) => (y(), O("option", {
|
|
12311
12311
|
value: l.getItemValue(p)
|
|
12312
12312
|
}, W(l.getItemName(p)), 9, RB))), 256)) : se("", !0)
|
|
12313
12313
|
], 8, TB)) : se("", !0),
|
|
@@ -12407,7 +12407,7 @@ const UB = {
|
|
|
12407
12407
|
}, YB = /* @__PURE__ */ Ge(UB, [["render", DB]]), VB = ["id", "disabled", "maxlength", "minlength", "placeholder", "readonly", "required", "rows", "name"];
|
|
12408
12408
|
function GB(e, a, n, r, s, l) {
|
|
12409
12409
|
const u = ii("attributes");
|
|
12410
|
-
return
|
|
12410
|
+
return Ue((y(), O("textarea", {
|
|
12411
12411
|
class: Fe(["form-control", e.schema.fieldClasses]),
|
|
12412
12412
|
"onUpdate:modelValue": a[0] || (a[0] = (d) => e.value = d),
|
|
12413
12413
|
id: e.getFieldID(e.schema),
|
|
@@ -12429,8 +12429,8 @@ const HB = {
|
|
|
12429
12429
|
}, tg = /* @__PURE__ */ Ge(HB, [["render", GB]]), FB = { class: "wrapper" }, zB = ["id", "name", "accept", "multiple", "placeholder", "readonly", "required", "disabled"];
|
|
12430
12430
|
function KB(e, a, n, r, s, l) {
|
|
12431
12431
|
const u = ii("attributes");
|
|
12432
|
-
return
|
|
12433
|
-
|
|
12432
|
+
return Ue((y(), O("div", FB, [
|
|
12433
|
+
Ue(S("input", {
|
|
12434
12434
|
class: "form-control",
|
|
12435
12435
|
id: e.getFieldID(e.schema),
|
|
12436
12436
|
type: "file",
|
|
@@ -12538,7 +12538,7 @@ const ZB = {
|
|
|
12538
12538
|
], -1);
|
|
12539
12539
|
function tM(e, a, n, r, s, l) {
|
|
12540
12540
|
return y(), O("div", _B, [
|
|
12541
|
-
|
|
12541
|
+
Ue(S("input", {
|
|
12542
12542
|
class: "form-control",
|
|
12543
12543
|
type: "text",
|
|
12544
12544
|
"onUpdate:modelValue": a[0] || (a[0] = (u) => e.value = u),
|
|
@@ -12584,7 +12584,7 @@ const xd = "YYYY-MM-DD HH:mm:ss", nM = {
|
|
|
12584
12584
|
}
|
|
12585
12585
|
}, iM = /* @__PURE__ */ Ge(nM, [["render", tM]]), aM = ["autocomplete", "disabled", "placeholder", "readonly", "name", "id"];
|
|
12586
12586
|
function rM(e, a, n, r, s, l) {
|
|
12587
|
-
return
|
|
12587
|
+
return Ue((y(), O("input", {
|
|
12588
12588
|
class: "form-control",
|
|
12589
12589
|
type: "text",
|
|
12590
12590
|
"onUpdate:modelValue": a[0] || (a[0] = (u) => e.value = u),
|
|
@@ -12665,7 +12665,7 @@ const sM = {
|
|
|
12665
12665
|
}, oM = /* @__PURE__ */ Ge(sM, [["render", rM]]), lM = { class: "wrapper" }, uM = ["autocomplete", "disabled", "placeholder", "readonly"], cM = ["disabled", "name"];
|
|
12666
12666
|
function dM(e, a, n, r, s, l) {
|
|
12667
12667
|
return y(), O("div", lM, [
|
|
12668
|
-
|
|
12668
|
+
Ue(S("input", {
|
|
12669
12669
|
class: "form-control link",
|
|
12670
12670
|
type: "text",
|
|
12671
12671
|
"onUpdate:modelValue": a[0] || (a[0] = (u) => l.wrappedValue = u),
|
|
@@ -12739,7 +12739,7 @@ const pM = {
|
|
|
12739
12739
|
}
|
|
12740
12740
|
}, gM = /* @__PURE__ */ Ge(pM, [["render", dM]]), fM = ["autocomplete", "disabled", "placeholder", "readonly", "name", "id"];
|
|
12741
12741
|
function mM(e, a, n, r, s, l) {
|
|
12742
|
-
return
|
|
12742
|
+
return Ue((y(), O("input", {
|
|
12743
12743
|
class: "form-control",
|
|
12744
12744
|
type: "text",
|
|
12745
12745
|
"onUpdate:modelValue": a[0] || (a[0] = (u) => e.value = u),
|
|
@@ -12831,7 +12831,7 @@ function bM(e, a, n, r, s, l) {
|
|
|
12831
12831
|
}
|
|
12832
12832
|
const wM = /* @__PURE__ */ Ge(yM, [["render", bM]]), CM = ["autocomplete", "disabled", "placeholder", "readonly", "name"];
|
|
12833
12833
|
function EM(e, a, n, r, s, l) {
|
|
12834
|
-
return
|
|
12834
|
+
return Ue((y(), O("input", {
|
|
12835
12835
|
class: "form-control",
|
|
12836
12836
|
type: "text",
|
|
12837
12837
|
"onUpdate:modelValue": a[0] || (a[0] = (u) => e.value = u),
|
|
@@ -12940,7 +12940,7 @@ const xM = {
|
|
|
12940
12940
|
}
|
|
12941
12941
|
}, SM = /* @__PURE__ */ Ge(xM, [["render", MM]]), TM = ["disabled", "multiple", "title", "name"], RM = ["disabled", "selected"], LM = ["value"];
|
|
12942
12942
|
function NM(e, a, n, r, s, l) {
|
|
12943
|
-
return
|
|
12943
|
+
return Ue((y(), O("select", {
|
|
12944
12944
|
class: "selectpicker",
|
|
12945
12945
|
"onUpdate:modelValue": a[0] || (a[0] = (u) => e.value = u),
|
|
12946
12946
|
disabled: e.disabled || null,
|
|
@@ -12955,7 +12955,7 @@ function NM(e, a, n, r, s, l) {
|
|
|
12955
12955
|
value: null,
|
|
12956
12956
|
selected: e.value == null
|
|
12957
12957
|
}, null, 8, RM)) : se("", !0),
|
|
12958
|
-
(y(!0), O(Re, null,
|
|
12958
|
+
(y(!0), O(Re, null, Ye(l.items, (u) => (y(), O("option", {
|
|
12959
12959
|
value: l.getItemValue(u)
|
|
12960
12960
|
}, W(l.getItemName(u)), 9, LM))), 256))
|
|
12961
12961
|
], 8, TM)), [
|
|
@@ -13087,7 +13087,7 @@ const FM = {
|
|
|
13087
13087
|
}, zM = /* @__PURE__ */ Ge(FM, [["render", HM]]), KM = ["autocomplete", "disabled", "name", "id"], qM = ["data-on", "data-off", "for"], XM = /* @__PURE__ */ S("span", { class: "handle" }, null, -1);
|
|
13088
13088
|
function JM(e, a, n, r, s, l) {
|
|
13089
13089
|
return y(), O("label", null, [
|
|
13090
|
-
|
|
13090
|
+
Ue(S("input", {
|
|
13091
13091
|
type: "checkbox",
|
|
13092
13092
|
"onUpdate:modelValue": a[0] || (a[0] = (u) => e.value = u),
|
|
13093
13093
|
autocomplete: e.schema.autocomplete,
|
|
@@ -13156,8 +13156,8 @@ const WM = {
|
|
|
13156
13156
|
cx
|
|
13157
13157
|
];
|
|
13158
13158
|
function px(e, a, n, r, s, l) {
|
|
13159
|
-
const u =
|
|
13160
|
-
return
|
|
13159
|
+
const u = te("vue-form-generator"), d = ii("attributes");
|
|
13160
|
+
return Ue((y(), O("div", null, [
|
|
13161
13161
|
e.schema.schema ? (y(), O("div", _M, [
|
|
13162
13162
|
X(u, {
|
|
13163
13163
|
model: e.value,
|
|
@@ -13169,10 +13169,10 @@ function px(e, a, n, r, s, l) {
|
|
|
13169
13169
|
id: e.getFieldID(e.schema),
|
|
13170
13170
|
class: Fe(e.schema.fieldClasses)
|
|
13171
13171
|
}, [
|
|
13172
|
-
(y(!0), O(Re, null,
|
|
13172
|
+
(y(!0), O(Re, null, Ye(e.value, (p, m) => (y(), O("tr", { key: m }, [
|
|
13173
13173
|
S("td", null, W(m), 1),
|
|
13174
13174
|
s.keyTypes[m] === "string" ? (y(), O("td", tx, [
|
|
13175
|
-
|
|
13175
|
+
Ue(S("input", {
|
|
13176
13176
|
"onUpdate:modelValue": (v) => e.value[m] = v,
|
|
13177
13177
|
type: "text"
|
|
13178
13178
|
}, null, 8, nx), [
|
|
@@ -13180,7 +13180,7 @@ function px(e, a, n, r, s, l) {
|
|
|
13180
13180
|
])
|
|
13181
13181
|
])) : se("", !0),
|
|
13182
13182
|
s.keyTypes[m] === "boolean" ? (y(), O("td", ix, [
|
|
13183
|
-
|
|
13183
|
+
Ue(S("input", {
|
|
13184
13184
|
"onUpdate:modelValue": (v) => e.value[m] = v,
|
|
13185
13185
|
type: "checkbox"
|
|
13186
13186
|
}, null, 8, ax), [
|
|
@@ -13188,7 +13188,7 @@ function px(e, a, n, r, s, l) {
|
|
|
13188
13188
|
])
|
|
13189
13189
|
])) : se("", !0),
|
|
13190
13190
|
s.keyTypes[m] === "number" ? (y(), O("td", rx, [
|
|
13191
|
-
|
|
13191
|
+
Ue(S("input", {
|
|
13192
13192
|
"onUpdate:modelValue": (v) => e.value[m] = v,
|
|
13193
13193
|
type: "number"
|
|
13194
13194
|
}, null, 8, sx), [
|
|
@@ -13204,12 +13204,12 @@ function px(e, a, n, r, s, l) {
|
|
|
13204
13204
|
])
|
|
13205
13205
|
]))), 128))
|
|
13206
13206
|
], 10, ex),
|
|
13207
|
-
|
|
13207
|
+
Ue(S("select", {
|
|
13208
13208
|
"onUpdate:modelValue": a[0] || (a[0] = (p) => s.newKeyType = p)
|
|
13209
13209
|
}, dx, 512), [
|
|
13210
13210
|
[Fo, s.newKeyType]
|
|
13211
13211
|
]),
|
|
13212
|
-
|
|
13212
|
+
Ue(S("input", {
|
|
13213
13213
|
"onUpdate:modelValue": a[1] || (a[1] = (p) => s.newKeyName = p),
|
|
13214
13214
|
type: "text"
|
|
13215
13215
|
}, null, 512), [
|
|
@@ -13316,12 +13316,12 @@ const ig = /* @__PURE__ */ Ge(QM, [["render", px]]), gx = {
|
|
|
13316
13316
|
class: "hint"
|
|
13317
13317
|
};
|
|
13318
13318
|
function Bx(e, a, n, r, s, l) {
|
|
13319
|
-
const u =
|
|
13319
|
+
const u = te("KIcon"), d = te("KButton"), p = te("vue-form-generator");
|
|
13320
13320
|
return y(), O("div", {
|
|
13321
13321
|
id: e.getFieldID(e.schema),
|
|
13322
13322
|
class: Fe(["object-advanced-wrapper", e.schema.fieldClasses])
|
|
13323
13323
|
}, [
|
|
13324
|
-
(y(!0), O(Re, null,
|
|
13324
|
+
(y(!0), O(Re, null, Ye(e.value, (m, v) => (y(), O("div", {
|
|
13325
13325
|
key: v,
|
|
13326
13326
|
"data-testid": `field-object-key-${v}`
|
|
13327
13327
|
}, [
|
|
@@ -13355,7 +13355,7 @@ function Bx(e, a, n, r, s, l) {
|
|
|
13355
13355
|
onModelUpdated: l.updateModel
|
|
13356
13356
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
13357
13357
|
])) : (y(), O("div", bx, [
|
|
13358
|
-
|
|
13358
|
+
Ue(S("input", {
|
|
13359
13359
|
"onUpdate:modelValue": (b) => e.value[v] = b,
|
|
13360
13360
|
class: "form-control",
|
|
13361
13361
|
placeholder: e.schema.fields && e.schema.fields[0].schema.placeholder,
|
|
@@ -13374,7 +13374,7 @@ function Bx(e, a, n, r, s, l) {
|
|
|
13374
13374
|
class: Fe(["input-wrapper", { indent: l.hasObjectKeys }])
|
|
13375
13375
|
}, [
|
|
13376
13376
|
S("div", kx, [
|
|
13377
|
-
|
|
13377
|
+
Ue(S("input", {
|
|
13378
13378
|
"onUpdate:modelValue": a[0] || (a[0] = (m) => s.newKeyName = m),
|
|
13379
13379
|
class: "form-control",
|
|
13380
13380
|
"data-testid": "keyname-input",
|
|
@@ -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__ */ je({
|
|
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__ */ je({
|
|
13513
13513
|
__name: "TrashIcon",
|
|
13514
13514
|
props: {
|
|
13515
13515
|
/** The accessibility text provided to screen readers */
|
|
@@ -13602,46 +13602,40 @@ const rg = /* @__PURE__ */ Ge(gx, [["render", Bx], ["__scopeId", "data-v-22600a2
|
|
|
13602
13602
|
_: 1
|
|
13603
13603
|
}, 8, ["aria-hidden", "style"]));
|
|
13604
13604
|
}
|
|
13605
|
-
}), ds = /* @__PURE__ */ sg(Ux, [["__scopeId", "data-v-2674553b"]]), Yx = {
|
|
13606
|
-
|
|
13607
|
-
components: { TrashIcon: ds },
|
|
13605
|
+
}), ds = /* @__PURE__ */ sg(Ux, [["__scopeId", "data-v-2674553b"]]), Yx = { class: "array-item" }, Vx = /* @__PURE__ */ je({
|
|
13606
|
+
__name: "FieldArrayItem",
|
|
13608
13607
|
props: {
|
|
13609
13608
|
model: {
|
|
13610
13609
|
type: String,
|
|
13611
|
-
default:
|
|
13610
|
+
default: ""
|
|
13612
13611
|
}
|
|
13613
13612
|
},
|
|
13614
13613
|
emits: ["remove-item"],
|
|
13615
|
-
|
|
13616
|
-
return {
|
|
13617
|
-
|
|
13614
|
+
setup(e) {
|
|
13615
|
+
return (a, n) => {
|
|
13616
|
+
const r = te("KButton");
|
|
13617
|
+
return y(), O("div", Yx, [
|
|
13618
|
+
gt(a.$slots, "default", {}, void 0, !0),
|
|
13619
|
+
X(r, {
|
|
13620
|
+
appearance: "tertiary",
|
|
13621
|
+
class: "delete",
|
|
13622
|
+
onClick: n[0] || (n[0] = (s) => a.$emit("remove-item"))
|
|
13623
|
+
}, {
|
|
13624
|
+
default: T(() => [
|
|
13625
|
+
X(R(ds))
|
|
13626
|
+
]),
|
|
13627
|
+
_: 1
|
|
13628
|
+
})
|
|
13629
|
+
]);
|
|
13618
13630
|
};
|
|
13619
13631
|
}
|
|
13620
|
-
}, Vx = { class: "
|
|
13621
|
-
function Gx(e, a, n, r, s, l) {
|
|
13622
|
-
const u = ee("TrashIcon"), d = ee("KButton");
|
|
13623
|
-
return y(), O("div", Vx, [
|
|
13624
|
-
gt(e.$slots, "default", {}, void 0, !0),
|
|
13625
|
-
X(d, {
|
|
13626
|
-
appearance: "tertiary",
|
|
13627
|
-
class: "delete",
|
|
13628
|
-
type: "button",
|
|
13629
|
-
onClick: a[0] || (a[0] = (p) => e.$emit("remove-item"))
|
|
13630
|
-
}, {
|
|
13631
|
-
default: T(() => [
|
|
13632
|
-
X(u)
|
|
13633
|
-
]),
|
|
13634
|
-
_: 1
|
|
13635
|
-
})
|
|
13636
|
-
]);
|
|
13637
|
-
}
|
|
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({
|
|
13632
|
+
}), og = /* @__PURE__ */ Ge(Vx, [["__scopeId", "data-v-ec926551"]]), Gx = (e) => (fn("data-v-27d212bd"), e = e(), mn(), e), Hx = { class: "multi-item-wrapper" }, Fx = /* @__PURE__ */ Gx(() => /* @__PURE__ */ S("hr", null, null, -1)), zx = /* @__PURE__ */ je({
|
|
13639
13633
|
__name: "FieldArrayMultiItem",
|
|
13640
13634
|
emits: ["remove-item"],
|
|
13641
13635
|
setup(e) {
|
|
13642
13636
|
return (a, n) => {
|
|
13643
|
-
const r =
|
|
13644
|
-
return y(), O("div",
|
|
13637
|
+
const r = te("KButton");
|
|
13638
|
+
return y(), O("div", Hx, [
|
|
13645
13639
|
gt(a.$slots, "default", {}, void 0, !0),
|
|
13646
13640
|
X(r, {
|
|
13647
13641
|
appearance: "danger",
|
|
@@ -13653,11 +13647,11 @@ const og = /* @__PURE__ */ Ge(Yx, [["render", Gx], ["__scopeId", "data-v-d42daeb
|
|
|
13653
13647
|
]),
|
|
13654
13648
|
_: 1
|
|
13655
13649
|
}),
|
|
13656
|
-
|
|
13650
|
+
Fx
|
|
13657
13651
|
]);
|
|
13658
13652
|
};
|
|
13659
13653
|
}
|
|
13660
|
-
}), lg = /* @__PURE__ */ Ge(
|
|
13654
|
+
}), lg = /* @__PURE__ */ Ge(zx, [["__scopeId", "data-v-27d212bd"]]), Kx = {
|
|
13661
13655
|
name: "FieldMetric",
|
|
13662
13656
|
components: { AddIcon: Lx, TrashIcon: ds },
|
|
13663
13657
|
mixins: [tt],
|
|
@@ -13667,12 +13661,12 @@ const og = /* @__PURE__ */ Ge(Yx, [["render", Gx], ["__scopeId", "data-v-d42daeb
|
|
|
13667
13661
|
contentVisible: !1
|
|
13668
13662
|
};
|
|
13669
13663
|
}
|
|
13670
|
-
},
|
|
13664
|
+
}, qx = {
|
|
13671
13665
|
key: 0,
|
|
13672
13666
|
class: "content"
|
|
13673
13667
|
};
|
|
13674
|
-
function
|
|
13675
|
-
const u =
|
|
13668
|
+
function Xx(e, a, n, r, s, l) {
|
|
13669
|
+
const u = te("AddIcon"), d = te("TrashIcon"), p = te("KButton");
|
|
13676
13670
|
return y(), O("div", {
|
|
13677
13671
|
class: Fe(["field-dropdown", { active: s.contentVisible }])
|
|
13678
13672
|
}, [
|
|
@@ -13685,7 +13679,7 @@ function Jx(e, a, n, r, s, l) {
|
|
|
13685
13679
|
]),
|
|
13686
13680
|
X(s1, { name: "slide-fade" }, {
|
|
13687
13681
|
default: T(() => [
|
|
13688
|
-
s.contentVisible ? (y(), O("div",
|
|
13682
|
+
s.contentVisible ? (y(), O("div", qx, [
|
|
13689
13683
|
gt(e.$slots, "default"),
|
|
13690
13684
|
X(p, {
|
|
13691
13685
|
appearance: "tertiary",
|
|
@@ -13703,9 +13697,9 @@ function Jx(e, a, n, r, s, l) {
|
|
|
13703
13697
|
})
|
|
13704
13698
|
], 2);
|
|
13705
13699
|
}
|
|
13706
|
-
const ug = /* @__PURE__ */ Ge(
|
|
13707
|
-
function
|
|
13708
|
-
return e ? e.length === 36 && new RegExp(`^${
|
|
13700
|
+
const ug = /* @__PURE__ */ Ge(Kx, [["render", Xx]]), hi = "kong-ui-forms-api", Jx = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}";
|
|
13701
|
+
function Wx(e) {
|
|
13702
|
+
return e ? e.length === 36 && new RegExp(`^${Jx}$`).test(e) : !1;
|
|
13709
13703
|
}
|
|
13710
13704
|
const To = 50, Pi = {
|
|
13711
13705
|
CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
|
|
@@ -13713,10 +13707,10 @@ const To = 50, Pi = {
|
|
|
13713
13707
|
UPDATE_ENTITY: "UPDATE_ENTITY",
|
|
13714
13708
|
SET_REFERRAL_VALUE: "SET_REFERRAL_VALUE"
|
|
13715
13709
|
};
|
|
13716
|
-
function
|
|
13710
|
+
function Zx(e, a, n) {
|
|
13717
13711
|
return n ? Pi.SET_REFERRAL_VALUE : e && !a || !e && a ? Pi.UPDATE_ENTITY : e && a ? Pi.CREATE_FROM_ENTITY : Pi.CREATE_NOT_FROM_ENTITY;
|
|
13718
13712
|
}
|
|
13719
|
-
const
|
|
13713
|
+
const Qx = {
|
|
13720
13714
|
mixins: [tt],
|
|
13721
13715
|
inject: [hi],
|
|
13722
13716
|
emits: ["model-updated"],
|
|
@@ -13732,7 +13726,7 @@ const _x = {
|
|
|
13732
13726
|
},
|
|
13733
13727
|
computed: {
|
|
13734
13728
|
fieldState() {
|
|
13735
|
-
return
|
|
13729
|
+
return Zx(this.model[this.schema.model], this.associatedEntity || this.entityId, this.bypassSearch);
|
|
13736
13730
|
},
|
|
13737
13731
|
associatedEntity() {
|
|
13738
13732
|
return this.$route && this.$route.params[this.entity];
|
|
@@ -13786,7 +13780,7 @@ const _x = {
|
|
|
13786
13780
|
return;
|
|
13787
13781
|
this.loading = !0;
|
|
13788
13782
|
const a = [], n = [], r = this.getInputFields(), s = /* @__PURE__ */ new Set();
|
|
13789
|
-
|
|
13783
|
+
Wx(e) && r.includes("id") ? n.push((async () => {
|
|
13790
13784
|
const l = await this.fetchExact(e);
|
|
13791
13785
|
a.push({ ...l, label: this.getSuggestionLabel(l), value: l.id });
|
|
13792
13786
|
})()) : n.push(...r.filter((l) => l !== "id").map(async (l) => {
|
|
@@ -13840,10 +13834,10 @@ const _x = {
|
|
|
13840
13834
|
return n ? e[n] : e.id;
|
|
13841
13835
|
}
|
|
13842
13836
|
}
|
|
13843
|
-
},
|
|
13844
|
-
function
|
|
13845
|
-
const u =
|
|
13846
|
-
return y(), O("div",
|
|
13837
|
+
}, _x = { class: "field-wrap autosuggest" }, $x = ["data-testid", "data-testlabel"], eS = ["data-testid"], tS = { class: "autosuggest__results_message" };
|
|
13838
|
+
function nS(e, a, n, r, s, l) {
|
|
13839
|
+
const u = te("KSelect");
|
|
13840
|
+
return y(), O("div", _x, [
|
|
13847
13841
|
X(u, {
|
|
13848
13842
|
id: e.schema.model,
|
|
13849
13843
|
ref: "suggestion",
|
|
@@ -13864,15 +13858,15 @@ function iS(e, a, n, r, s, l) {
|
|
|
13864
13858
|
class: "first-part",
|
|
13865
13859
|
"data-testid": d.id && `${d.id}-0`,
|
|
13866
13860
|
"data-testlabel": d.label
|
|
13867
|
-
}, W(l.getSuggestionLabel(d).split(" - ")[0]), 9,
|
|
13868
|
-
(y(!0), O(Re, null,
|
|
13861
|
+
}, W(l.getSuggestionLabel(d).split(" - ")[0]), 9, $x),
|
|
13862
|
+
(y(!0), O(Re, null, Ye(l.getSuggestionLabel(d).split(" - ").slice(1), (p, m) => (y(), O("span", {
|
|
13869
13863
|
key: m,
|
|
13870
13864
|
class: "field-span",
|
|
13871
13865
|
"data-testid": d.id && `${d.id}-${m + 1}` || m + 1
|
|
13872
|
-
}, W(p), 9,
|
|
13866
|
+
}, W(p), 9, eS))), 128))
|
|
13873
13867
|
]),
|
|
13874
13868
|
empty: T(() => [
|
|
13875
|
-
S("div",
|
|
13869
|
+
S("div", tS, [
|
|
13876
13870
|
S("span", null, W(s.message), 1)
|
|
13877
13871
|
])
|
|
13878
13872
|
]),
|
|
@@ -13880,43 +13874,43 @@ function iS(e, a, n, r, s, l) {
|
|
|
13880
13874
|
}, 8, ["id", "modelValue", "items", "loading", "placeholder", "onChange", "onQueryChange"])
|
|
13881
13875
|
]);
|
|
13882
13876
|
}
|
|
13883
|
-
const cg = /* @__PURE__ */ Ge(
|
|
13884
|
-
|
|
13885
|
-
components: { TrashIcon: ds },
|
|
13877
|
+
const cg = /* @__PURE__ */ Ge(Qx, [["render", nS], ["__scopeId", "data-v-62760c9d"]]), iS = { class: "array-card-container" }, aS = /* @__PURE__ */ je({
|
|
13878
|
+
__name: "FieldArrayCardContainer",
|
|
13886
13879
|
props: {
|
|
13887
13880
|
model: {
|
|
13888
13881
|
type: Object,
|
|
13889
|
-
default: null
|
|
13882
|
+
default: () => null
|
|
13890
13883
|
},
|
|
13891
13884
|
schema: {
|
|
13892
13885
|
type: Object,
|
|
13893
|
-
default: null
|
|
13886
|
+
default: () => null
|
|
13894
13887
|
}
|
|
13895
13888
|
},
|
|
13896
|
-
emits: ["remove-item"]
|
|
13897
|
-
|
|
13898
|
-
|
|
13899
|
-
|
|
13900
|
-
|
|
13901
|
-
|
|
13902
|
-
|
|
13903
|
-
|
|
13904
|
-
|
|
13905
|
-
|
|
13906
|
-
|
|
13907
|
-
|
|
13908
|
-
|
|
13909
|
-
|
|
13910
|
-
|
|
13911
|
-
|
|
13912
|
-
|
|
13913
|
-
|
|
13914
|
-
|
|
13915
|
-
|
|
13916
|
-
|
|
13917
|
-
|
|
13918
|
-
}
|
|
13919
|
-
|
|
13889
|
+
emits: ["remove-item"],
|
|
13890
|
+
setup(e) {
|
|
13891
|
+
return (a, n) => {
|
|
13892
|
+
const r = te("KCard"), s = te("KButton");
|
|
13893
|
+
return y(), O("div", iS, [
|
|
13894
|
+
X(r, { class: "card" }, {
|
|
13895
|
+
default: T(() => [
|
|
13896
|
+
gt(a.$slots, "default", {}, void 0, !0)
|
|
13897
|
+
]),
|
|
13898
|
+
_: 3
|
|
13899
|
+
}),
|
|
13900
|
+
X(s, {
|
|
13901
|
+
appearance: "tertiary",
|
|
13902
|
+
class: "array-card-remove-button",
|
|
13903
|
+
onClick: n[0] || (n[0] = (l) => a.$emit("remove-item"))
|
|
13904
|
+
}, {
|
|
13905
|
+
default: T(() => [
|
|
13906
|
+
X(R(ds))
|
|
13907
|
+
]),
|
|
13908
|
+
_: 1
|
|
13909
|
+
})
|
|
13910
|
+
]);
|
|
13911
|
+
};
|
|
13912
|
+
}
|
|
13913
|
+
}), dg = /* @__PURE__ */ Ge(aS, [["__scopeId", "data-v-5fa27cb4"]]), rS = {
|
|
13920
13914
|
mixins: [tt],
|
|
13921
13915
|
emits: ["model-updated"],
|
|
13922
13916
|
methods: {
|
|
@@ -13931,14 +13925,14 @@ const dg = /* @__PURE__ */ Ge(aS, [["render", sS], ["__scopeId", "data-v-6870296
|
|
|
13931
13925
|
this.schema.array || (a = a.toString()), this.updateModel(a);
|
|
13932
13926
|
}
|
|
13933
13927
|
}
|
|
13934
|
-
},
|
|
13935
|
-
function
|
|
13936
|
-
return y(), O("div",
|
|
13937
|
-
(y(!0), O(Re, null,
|
|
13928
|
+
}, sS = { class: "selection-group" }, oS = { class: "form-group" }, lS = ["id", "checked", "name", "value"];
|
|
13929
|
+
function uS(e, a, n, r, s, l) {
|
|
13930
|
+
return y(), O("div", sS, [
|
|
13931
|
+
(y(!0), O(Re, null, Ye(e.schema.values, (u, d) => (y(), O("div", {
|
|
13938
13932
|
key: d,
|
|
13939
13933
|
class: "option-group"
|
|
13940
13934
|
}, [
|
|
13941
|
-
S("div",
|
|
13935
|
+
S("div", oS, [
|
|
13942
13936
|
S("label", {
|
|
13943
13937
|
class: Fe(["k-label", u.name])
|
|
13944
13938
|
}, [
|
|
@@ -13950,14 +13944,14 @@ function dS(e, a, n, r, s, l) {
|
|
|
13950
13944
|
type: "radio",
|
|
13951
13945
|
value: u.value,
|
|
13952
13946
|
onChange: a[0] || (a[0] = (...p) => l.onChange && l.onChange(...p))
|
|
13953
|
-
}, null, 40,
|
|
13947
|
+
}, null, 40, lS),
|
|
13954
13948
|
Be(" " + W(u.name), 1)
|
|
13955
13949
|
], 2)
|
|
13956
13950
|
])
|
|
13957
13951
|
]))), 128))
|
|
13958
13952
|
]);
|
|
13959
13953
|
}
|
|
13960
|
-
const pg = /* @__PURE__ */ Ge(
|
|
13954
|
+
const pg = /* @__PURE__ */ Ge(rS, [["render", uS], ["__scopeId", "data-v-7e49acd6"]]), cS = {
|
|
13961
13955
|
name: "FieldArray",
|
|
13962
13956
|
components: {
|
|
13963
13957
|
FieldArrayItem: og,
|
|
@@ -14010,15 +14004,15 @@ const pg = /* @__PURE__ */ Ge(oS, [["render", dS], ["__scopeId", "data-v-7e49acd
|
|
|
14010
14004
|
modelUpdated() {
|
|
14011
14005
|
}
|
|
14012
14006
|
}
|
|
14013
|
-
},
|
|
14014
|
-
function
|
|
14015
|
-
const u =
|
|
14007
|
+
}, dS = ["id"], pS = { key: 1 }, gS = ["onUpdate:modelValue", "aria-labelledby", "type"], fS = ["value", "onClick"], mS = ["onUpdate:modelValue", "aria-labelledby"], hS = ["value", "onClick"];
|
|
14008
|
+
function AS(e, a, n, r, s, l) {
|
|
14009
|
+
const u = te("FieldTextArea"), d = te("KButton");
|
|
14016
14010
|
return e.schema ? (y(), O("div", {
|
|
14017
14011
|
key: 0,
|
|
14018
14012
|
id: e.getFieldID(e.schema),
|
|
14019
14013
|
class: Fe(e.schema.fieldClasses)
|
|
14020
14014
|
}, [
|
|
14021
|
-
(y(!0), O(Re, null,
|
|
14015
|
+
(y(!0), O(Re, null, Ye(e.value, (p, m) => (y(), O("div", {
|
|
14022
14016
|
key: m,
|
|
14023
14017
|
class: Fe(e.schema.fieldItemsClasses)
|
|
14024
14018
|
}, [
|
|
@@ -14037,7 +14031,7 @@ function vS(e, a, n, r, s, l) {
|
|
|
14037
14031
|
}, null, 40, ["form-options", "model", "schema", "onModelUpdated"]))
|
|
14038
14032
|
]),
|
|
14039
14033
|
_: 2
|
|
14040
|
-
}, 1064, ["model", "schema", "onRemoveItem"])) : e.schema.items ? (y(), O("span",
|
|
14034
|
+
}, 1064, ["model", "schema", "onRemoveItem"])) : e.schema.items ? (y(), O("span", pS, [
|
|
14041
14035
|
(y(), K(Ot(l.getFieldType(e.schema.items)), {
|
|
14042
14036
|
"form-options": e.formOptions,
|
|
14043
14037
|
model: p,
|
|
@@ -14062,35 +14056,35 @@ function vS(e, a, n, r, s, l) {
|
|
|
14062
14056
|
model: p,
|
|
14063
14057
|
schema: l.generateSchema(e.value, e.schema.items, m),
|
|
14064
14058
|
onModelUpdated: l.modelUpdated
|
|
14065
|
-
}, null, 8, ["aria-labelledby", "form-options", "model", "schema", "onModelUpdated"])) :
|
|
14059
|
+
}, null, 8, ["aria-labelledby", "form-options", "model", "schema", "onModelUpdated"])) : Ue((y(), O("input", oa({
|
|
14066
14060
|
key: 1,
|
|
14067
14061
|
"onUpdate:modelValue": (E) => e.value[m] = E,
|
|
14068
14062
|
"aria-labelledby": e.getLabelId(e.schema)
|
|
14069
14063
|
}, e.schema.inputAttributes, {
|
|
14070
14064
|
type: ((b = e.schema.inputAttributes) == null ? void 0 : b.type) || "text"
|
|
14071
|
-
}), null, 16,
|
|
14065
|
+
}), null, 16, gS)), [
|
|
14072
14066
|
[o1, e.value[m]]
|
|
14073
14067
|
]),
|
|
14074
14068
|
e.schema.showRemoveButton ? (y(), O("input", oa({ key: 2 }, e.schema.removeElementButtonAttributes, {
|
|
14075
14069
|
type: "button",
|
|
14076
14070
|
value: e.schema.removeElementButtonLabel || n.removeElementButtonLabel,
|
|
14077
14071
|
onClick: (E) => l.removeElement(m)
|
|
14078
|
-
}), null, 16,
|
|
14072
|
+
}), null, 16, fS)) : se("", !0)
|
|
14079
14073
|
];
|
|
14080
14074
|
}),
|
|
14081
14075
|
_: 2
|
|
14082
|
-
}, 1064, ["data-testid", "model", "schema", "onRemoveItem"])) :
|
|
14076
|
+
}, 1064, ["data-testid", "model", "schema", "onRemoveItem"])) : Ue((y(), O("input", oa({ key: 3 }, e.schema.inputAttributes, {
|
|
14083
14077
|
"onUpdate:modelValue": (v) => e.value[m] = v,
|
|
14084
14078
|
"aria-labelledby": e.getLabelId(e.schema),
|
|
14085
14079
|
type: "text"
|
|
14086
|
-
}), null, 16,
|
|
14080
|
+
}), null, 16, mS)), [
|
|
14087
14081
|
[In, e.value[m]]
|
|
14088
14082
|
]),
|
|
14089
14083
|
e.schema.showRemoveButton ? (y(), O("input", oa({ key: 4 }, e.schema.removeElementButtonAttributes, {
|
|
14090
14084
|
type: "button",
|
|
14091
14085
|
value: e.schema.removeElementButtonLabel || n.removeElementButtonLabel,
|
|
14092
14086
|
onClick: (v) => l.removeElement(m)
|
|
14093
|
-
}), null, 16,
|
|
14087
|
+
}), null, 16, hS)) : se("", !0)
|
|
14094
14088
|
], 2))), 128)),
|
|
14095
14089
|
X(d, {
|
|
14096
14090
|
appearance: "tertiary",
|
|
@@ -14104,9 +14098,9 @@ function vS(e, a, n, r, s, l) {
|
|
|
14104
14098
|
]),
|
|
14105
14099
|
_: 1
|
|
14106
14100
|
}, 8, ["class", "data-testid", "onClick"])
|
|
14107
|
-
], 10,
|
|
14101
|
+
], 10, dS)) : se("", !0);
|
|
14108
14102
|
}
|
|
14109
|
-
const
|
|
14103
|
+
const yS = /* @__PURE__ */ Ge(cS, [["render", AS], ["__scopeId", "data-v-1c5fa392"]]), vS = {
|
|
14110
14104
|
mixins: [tt],
|
|
14111
14105
|
emits: ["model-updated"],
|
|
14112
14106
|
data() {
|
|
@@ -14133,19 +14127,19 @@ const bS = /* @__PURE__ */ Ge(pS, [["render", vS], ["__scopeId", "data-v-1c5fa39
|
|
|
14133
14127
|
this.$emit("model-updated", e, a);
|
|
14134
14128
|
}
|
|
14135
14129
|
}
|
|
14136
|
-
},
|
|
14130
|
+
}, bS = {
|
|
14137
14131
|
class: "advanced-field-dropdown-wrapper",
|
|
14138
14132
|
"data-testid": "advanced-field-dropdown-wrapper"
|
|
14139
|
-
},
|
|
14140
|
-
function
|
|
14141
|
-
const u =
|
|
14142
|
-
return y(), O("div",
|
|
14133
|
+
}, wS = { class: "material-icons" };
|
|
14134
|
+
function CS(e, a, n, r, s, l) {
|
|
14135
|
+
const u = te("vue-form-generator");
|
|
14136
|
+
return y(), O("div", bS, [
|
|
14143
14137
|
S("button", {
|
|
14144
14138
|
class: "advanced-field-title",
|
|
14145
14139
|
type: "button",
|
|
14146
14140
|
onClick: a[0] || (a[0] = (...d) => l.handleOpen && l.handleOpen(...d))
|
|
14147
14141
|
}, [
|
|
14148
|
-
S("i",
|
|
14142
|
+
S("i", wS, W(s.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
|
|
14149
14143
|
S("span", null, W(l.titleText), 1)
|
|
14150
14144
|
]),
|
|
14151
14145
|
S("div", {
|
|
@@ -14160,7 +14154,7 @@ function kS(e, a, n, r, s, l) {
|
|
|
14160
14154
|
], 2)
|
|
14161
14155
|
]);
|
|
14162
14156
|
}
|
|
14163
|
-
const
|
|
14157
|
+
const ES = /* @__PURE__ */ Ge(vS, [["render", CS], ["__scopeId", "data-v-2d8e71e1"]]), kS = {
|
|
14164
14158
|
mixins: [tt],
|
|
14165
14159
|
emits: ["model-updated"],
|
|
14166
14160
|
data() {
|
|
@@ -14195,32 +14189,32 @@ const OS = /* @__PURE__ */ Ge(wS, [["render", kS], ["__scopeId", "data-v-2d8e71e
|
|
|
14195
14189
|
this.$emit("model-updated", e, a);
|
|
14196
14190
|
}
|
|
14197
14191
|
}
|
|
14198
|
-
},
|
|
14199
|
-
function
|
|
14200
|
-
const u =
|
|
14201
|
-
return y(), O("div",
|
|
14202
|
-
(y(!0), O(Re, null,
|
|
14192
|
+
}, OS = { class: "selection-group" }, IS = { class: "form-group" }, BS = ["value"], MS = { class: "control-help" }, xS = { class: "option-field" }, SS = { class: "option-field-container" };
|
|
14193
|
+
function TS(e, a, n, r, s, l) {
|
|
14194
|
+
const u = te("vue-form-generator");
|
|
14195
|
+
return y(), O("div", OS, [
|
|
14196
|
+
(y(!0), O(Re, null, Ye(e.schema.fields, (d, p) => (y(), O("div", {
|
|
14203
14197
|
key: p,
|
|
14204
14198
|
class: "option-group"
|
|
14205
14199
|
}, [
|
|
14206
|
-
S("div",
|
|
14200
|
+
S("div", IS, [
|
|
14207
14201
|
S("label", {
|
|
14208
14202
|
class: Fe(["k-label", `${d.label}-check`])
|
|
14209
14203
|
}, [
|
|
14210
|
-
|
|
14204
|
+
Ue(S("input", {
|
|
14211
14205
|
"onUpdate:modelValue": a[0] || (a[0] = (m) => s.checkedGroup = m),
|
|
14212
14206
|
class: "k-input",
|
|
14213
14207
|
type: "radio",
|
|
14214
14208
|
value: p
|
|
14215
|
-
}, null, 8,
|
|
14209
|
+
}, null, 8, BS), [
|
|
14216
14210
|
[l1, s.checkedGroup]
|
|
14217
14211
|
]),
|
|
14218
14212
|
Be(" " + W(d.label) + " ", 1),
|
|
14219
|
-
S("div",
|
|
14213
|
+
S("div", MS, W(d.description), 1)
|
|
14220
14214
|
], 2)
|
|
14221
14215
|
]),
|
|
14222
|
-
|
|
14223
|
-
S("div",
|
|
14216
|
+
Ue(S("div", xS, [
|
|
14217
|
+
S("div", SS, [
|
|
14224
14218
|
X(u, {
|
|
14225
14219
|
model: e.model,
|
|
14226
14220
|
options: { helpAsHtml: !0 },
|
|
@@ -14234,7 +14228,7 @@ function LS(e, a, n, r, s, l) {
|
|
|
14234
14228
|
]))), 128))
|
|
14235
14229
|
]);
|
|
14236
14230
|
}
|
|
14237
|
-
const
|
|
14231
|
+
const RS = /* @__PURE__ */ Ge(kS, [["render", TS], ["__scopeId", "data-v-25fe24da"]]), LS = {
|
|
14238
14232
|
mixins: [tt],
|
|
14239
14233
|
emits: ["model-updated"],
|
|
14240
14234
|
methods: {
|
|
@@ -14243,8 +14237,8 @@ const NS = /* @__PURE__ */ Ge(IS, [["render", LS], ["__scopeId", "data-v-25fe24d
|
|
|
14243
14237
|
}
|
|
14244
14238
|
}
|
|
14245
14239
|
};
|
|
14246
|
-
function
|
|
14247
|
-
const u =
|
|
14240
|
+
function NS(e, a, n, r, s, l) {
|
|
14241
|
+
const u = te("KMultiselect");
|
|
14248
14242
|
return y(), K(u, {
|
|
14249
14243
|
"aria-labelledby": e.getLabelId(e.schema),
|
|
14250
14244
|
"data-testid": "field-multiselect",
|
|
@@ -14257,7 +14251,7 @@ function jS(e, a, n, r, s, l) {
|
|
|
14257
14251
|
"onUpdate:modelValue": l.onUpdate
|
|
14258
14252
|
}, null, 8, ["aria-labelledby", "items", "label-attributes", "model-value", "placeholder", "required", "onUpdate:modelValue"]);
|
|
14259
14253
|
}
|
|
14260
|
-
const
|
|
14254
|
+
const PS = /* @__PURE__ */ Ge(LS, [["render", NS]]), jS = {
|
|
14261
14255
|
name: "FieldKeyValuePairs",
|
|
14262
14256
|
components: { TrashIcon: ds },
|
|
14263
14257
|
mixins: [tt],
|
|
@@ -14305,11 +14299,11 @@ const DS = /* @__PURE__ */ Ge(PS, [["render", jS]]), US = {
|
|
|
14305
14299
|
this.pairs.splice(e, 1);
|
|
14306
14300
|
}
|
|
14307
14301
|
}
|
|
14308
|
-
},
|
|
14309
|
-
function
|
|
14310
|
-
const u =
|
|
14311
|
-
return y(), O("div",
|
|
14312
|
-
(y(!0), O(Re, null,
|
|
14302
|
+
}, DS = { class: "key-value-pairs-editor" }, US = ["data-testid", "placeholder", "value", "onInput"], YS = ["data-testid", "placeholder", "value", "onInput"];
|
|
14303
|
+
function VS(e, a, n, r, s, l) {
|
|
14304
|
+
const u = te("TrashIcon"), d = te("KButton");
|
|
14305
|
+
return y(), O("div", DS, [
|
|
14306
|
+
(y(!0), O(Re, null, Ye(s.pairs, (p, m) => (y(), O("div", {
|
|
14313
14307
|
key: m,
|
|
14314
14308
|
class: "pair-item"
|
|
14315
14309
|
}, [
|
|
@@ -14322,7 +14316,7 @@ function HS(e, a, n, r, s, l) {
|
|
|
14322
14316
|
onInput: (v) => {
|
|
14323
14317
|
l.onInput(v, m, "key");
|
|
14324
14318
|
}
|
|
14325
|
-
}, null, 40,
|
|
14319
|
+
}, null, 40, US),
|
|
14326
14320
|
S("input", {
|
|
14327
14321
|
class: "form-control",
|
|
14328
14322
|
"data-testid": `${e.getFieldID(e.schema)}-pair-value-${m}`,
|
|
@@ -14332,7 +14326,7 @@ function HS(e, a, n, r, s, l) {
|
|
|
14332
14326
|
onInput: (v) => {
|
|
14333
14327
|
l.onInput(v, m, "value");
|
|
14334
14328
|
}
|
|
14335
|
-
}, null, 40,
|
|
14329
|
+
}, null, 40, YS),
|
|
14336
14330
|
X(d, {
|
|
14337
14331
|
appearance: "tertiary",
|
|
14338
14332
|
"data-testid": `${e.getFieldID(e.schema)}-remove-pair-${m}`,
|
|
@@ -14360,10 +14354,10 @@ function HS(e, a, n, r, s, l) {
|
|
|
14360
14354
|
}, 8, ["class", "data-testid", "onClick"])
|
|
14361
14355
|
]);
|
|
14362
14356
|
}
|
|
14363
|
-
const
|
|
14357
|
+
const GS = /* @__PURE__ */ Ge(jS, [["render", VS], ["__scopeId", "data-v-29d15375"]]), HS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14364
14358
|
__proto__: null,
|
|
14365
|
-
FieldAdvanced:
|
|
14366
|
-
FieldArray:
|
|
14359
|
+
FieldAdvanced: ES,
|
|
14360
|
+
FieldArray: yS,
|
|
14367
14361
|
FieldArrayCardContainer: dg,
|
|
14368
14362
|
FieldArrayItem: og,
|
|
14369
14363
|
FieldArrayMultiItem: lg,
|
|
@@ -14375,11 +14369,11 @@ const FS = /* @__PURE__ */ Ge(US, [["render", HS], ["__scopeId", "data-v-29d1537
|
|
|
14375
14369
|
FieldGoogleAddress: oM,
|
|
14376
14370
|
FieldImage: gM,
|
|
14377
14371
|
FieldInput: $p,
|
|
14378
|
-
FieldKeyValuePairs:
|
|
14372
|
+
FieldKeyValuePairs: GS,
|
|
14379
14373
|
FieldLabel: EB,
|
|
14380
14374
|
FieldMasked: AM,
|
|
14381
14375
|
FieldMetric: ug,
|
|
14382
|
-
FieldMultiselect:
|
|
14376
|
+
FieldMultiselect: PS,
|
|
14383
14377
|
FieldNoUiSlider: wM,
|
|
14384
14378
|
FieldObject: ig,
|
|
14385
14379
|
FieldObjectAdvanced: rg,
|
|
@@ -14389,16 +14383,16 @@ const FS = /* @__PURE__ */ Ge(US, [["render", HS], ["__scopeId", "data-v-29d1537
|
|
|
14389
14383
|
FieldRangeSlider: SM,
|
|
14390
14384
|
FieldSelect: eg,
|
|
14391
14385
|
FieldSelectEx: jM,
|
|
14392
|
-
FieldSelectionGroup:
|
|
14386
|
+
FieldSelectionGroup: RS,
|
|
14393
14387
|
FieldSpectrum: VM,
|
|
14394
14388
|
FieldStaticMap: zM,
|
|
14395
14389
|
FieldSubmit: YB,
|
|
14396
14390
|
FieldTextArea: tg,
|
|
14397
14391
|
FieldUpload: XB,
|
|
14398
14392
|
fieldSwitch: ZM
|
|
14399
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
14393
|
+
}, Symbol.toStringTag, { value: "Module" })), FS = {
|
|
14400
14394
|
name: "FormGroup",
|
|
14401
|
-
components:
|
|
14395
|
+
components: HS,
|
|
14402
14396
|
mixins: [Kp],
|
|
14403
14397
|
props: {
|
|
14404
14398
|
vfg: {
|
|
@@ -14494,24 +14488,24 @@ const FS = /* @__PURE__ */ Ge(US, [["render", HS], ["__scopeId", "data-v-29d1537
|
|
|
14494
14488
|
return e ? e.replace(/^[cC]onfig\./, "") : "";
|
|
14495
14489
|
}
|
|
14496
14490
|
}
|
|
14497
|
-
}, gg = (e) => (fn("data-v-60b9a75a"), e = e(), mn(), e),
|
|
14491
|
+
}, gg = (e) => (fn("data-v-60b9a75a"), e = e(), mn(), e), zS = ["aria-describedby", "for"], KS = { class: "icon-wrapper" }, qS = ["innerHTML"], XS = /* @__PURE__ */ gg(() => /* @__PURE__ */ S("div", {
|
|
14498
14492
|
class: "help",
|
|
14499
14493
|
role: "button",
|
|
14500
14494
|
tabindex: "0"
|
|
14501
14495
|
}, [
|
|
14502
14496
|
/* @__PURE__ */ S("i", { class: "icon" })
|
|
14503
|
-
], -1)),
|
|
14497
|
+
], -1)), JS = ["innerHTML"], WS = {
|
|
14504
14498
|
key: 0,
|
|
14505
14499
|
class: "link-wrapper"
|
|
14506
|
-
},
|
|
14500
|
+
}, ZS = /* @__PURE__ */ gg(() => /* @__PURE__ */ S("span", { class: "section-header" }, "More info", -1)), QS = { class: "field-wrap" }, _S = {
|
|
14507
14501
|
key: 0,
|
|
14508
14502
|
class: "buttons"
|
|
14509
|
-
},
|
|
14503
|
+
}, $S = ["type", "onClick", "textContent"], eT = ["innerHTML"], tT = {
|
|
14510
14504
|
key: 2,
|
|
14511
14505
|
class: "errors help-block"
|
|
14512
|
-
},
|
|
14513
|
-
function
|
|
14514
|
-
const u =
|
|
14506
|
+
}, nT = ["innerHTML"];
|
|
14507
|
+
function iT(e, a, n, r, s, l) {
|
|
14508
|
+
const u = te("KTooltip"), d = te("KExternalLink");
|
|
14515
14509
|
return y(), O("div", {
|
|
14516
14510
|
class: Fe(["form-group", e.getFieldRowClasses(n.field)])
|
|
14517
14511
|
}, [
|
|
@@ -14521,10 +14515,10 @@ function rT(e, a, n, r, s, l) {
|
|
|
14521
14515
|
class: Fe(["form-group-label", n.field.labelClasses]),
|
|
14522
14516
|
for: l.getFieldID(n.field)
|
|
14523
14517
|
}, [
|
|
14524
|
-
S("div",
|
|
14518
|
+
S("div", KS, [
|
|
14525
14519
|
S("span", {
|
|
14526
14520
|
innerHTML: l.formattedLabel(n.field.label)
|
|
14527
|
-
}, null, 8,
|
|
14521
|
+
}, null, 8, qS),
|
|
14528
14522
|
n.field.help ? (y(), K(u, {
|
|
14529
14523
|
key: 0,
|
|
14530
14524
|
"max-width": "300",
|
|
@@ -14536,28 +14530,28 @@ function rT(e, a, n, r, s, l) {
|
|
|
14536
14530
|
n.options.helpAsHtml ? (y(), O("div", {
|
|
14537
14531
|
key: 0,
|
|
14538
14532
|
innerHTML: n.field.help
|
|
14539
|
-
}, null, 8,
|
|
14533
|
+
}, null, 8, JS)) : (y(), O(Re, { key: 1 }, [
|
|
14540
14534
|
Be(W(n.field.help), 1)
|
|
14541
14535
|
], 64))
|
|
14542
14536
|
]),
|
|
14543
14537
|
default: T(() => [
|
|
14544
|
-
|
|
14538
|
+
XS
|
|
14545
14539
|
]),
|
|
14546
14540
|
_: 1
|
|
14547
14541
|
}, 8, ["tooltip-id"])) : se("", !0)
|
|
14548
14542
|
]),
|
|
14549
|
-
n.field.link ? (y(), O("div",
|
|
14543
|
+
n.field.link ? (y(), O("div", WS, [
|
|
14550
14544
|
X(d, {
|
|
14551
14545
|
href: n.field.link
|
|
14552
14546
|
}, {
|
|
14553
14547
|
default: T(() => [
|
|
14554
|
-
|
|
14548
|
+
ZS
|
|
14555
14549
|
]),
|
|
14556
14550
|
_: 1
|
|
14557
14551
|
}, 8, ["href"])
|
|
14558
14552
|
])) : se("", !0)
|
|
14559
|
-
], 10,
|
|
14560
|
-
S("div",
|
|
14553
|
+
], 10, zS)) : se("", !0),
|
|
14554
|
+
S("div", QS, [
|
|
14561
14555
|
(y(), K(Ot(l.getFieldType(n.field)), oa(e.$attrs, {
|
|
14562
14556
|
ref: "child",
|
|
14563
14557
|
disabled: e.fieldDisabled(n.field) || null,
|
|
@@ -14568,32 +14562,32 @@ function rT(e, a, n, r, s, l) {
|
|
|
14568
14562
|
onModelUpdated: l.onModelUpdated,
|
|
14569
14563
|
onValidated: l.onFieldValidated
|
|
14570
14564
|
}), null, 16, ["disabled", "form-options", "model", "schema", "vfg", "onModelUpdated", "onValidated"])),
|
|
14571
|
-
l.buttonVisibility(n.field) ? (y(), O("div",
|
|
14572
|
-
(y(!0), O(Re, null,
|
|
14565
|
+
l.buttonVisibility(n.field) ? (y(), O("div", _S, [
|
|
14566
|
+
(y(!0), O(Re, null, Ye(n.field.buttons, (p, m) => (y(), O("button", {
|
|
14573
14567
|
key: m,
|
|
14574
14568
|
class: Fe(p.classes),
|
|
14575
14569
|
type: l.getButtonType(p),
|
|
14576
14570
|
onClick: (v) => l.buttonClickHandler(p, n.field, v),
|
|
14577
14571
|
textContent: W(p.label)
|
|
14578
|
-
}, null, 10,
|
|
14572
|
+
}, null, 10, $S))), 128))
|
|
14579
14573
|
])) : se("", !0)
|
|
14580
14574
|
]),
|
|
14581
14575
|
n.field.hint ? (y(), O("div", {
|
|
14582
14576
|
key: 1,
|
|
14583
14577
|
class: "hint",
|
|
14584
14578
|
innerHTML: l.fieldHint(n.field)
|
|
14585
|
-
}, null, 8,
|
|
14586
|
-
l.fieldErrors(n.field).length > 0 ? (y(), O("div",
|
|
14587
|
-
(y(!0), O(Re, null,
|
|
14579
|
+
}, null, 8, eT)) : se("", !0),
|
|
14580
|
+
l.fieldErrors(n.field).length > 0 ? (y(), O("div", tT, [
|
|
14581
|
+
(y(!0), O(Re, null, Ye(l.fieldErrors(n.field), (p, m) => (y(), O("span", {
|
|
14588
14582
|
key: m,
|
|
14589
14583
|
innerHTML: p
|
|
14590
|
-
}, null, 8,
|
|
14584
|
+
}, null, 8, nT))), 128))
|
|
14591
14585
|
])) : se("", !0)
|
|
14592
14586
|
], 2);
|
|
14593
14587
|
}
|
|
14594
|
-
const
|
|
14588
|
+
const aT = /* @__PURE__ */ Ge(FS, [["render", iT], ["__scopeId", "data-v-60b9a75a"]]), rT = {
|
|
14595
14589
|
name: "FormGenerator",
|
|
14596
|
-
components: { formGroup:
|
|
14590
|
+
components: { formGroup: aT },
|
|
14597
14591
|
mixins: [Kp],
|
|
14598
14592
|
props: {
|
|
14599
14593
|
schema: {
|
|
@@ -14725,16 +14719,16 @@ const sT = /* @__PURE__ */ Ge(KS, [["render", rT], ["__scopeId", "data-v-60b9a75
|
|
|
14725
14719
|
});
|
|
14726
14720
|
}
|
|
14727
14721
|
}
|
|
14728
|
-
},
|
|
14722
|
+
}, sT = {
|
|
14729
14723
|
key: 0,
|
|
14730
14724
|
class: "vue-form-generator"
|
|
14731
|
-
},
|
|
14732
|
-
function
|
|
14733
|
-
const u =
|
|
14734
|
-
return n.schema != null ? (y(), O("div",
|
|
14725
|
+
}, oT = { key: 0 };
|
|
14726
|
+
function lT(e, a, n, r, s, l) {
|
|
14727
|
+
const u = te("form-group"), d = te("KCollapse");
|
|
14728
|
+
return n.schema != null ? (y(), O("div", sT, [
|
|
14735
14729
|
n.schema.fields ? (y(), K(Ot(n.tag), { key: 0 }, {
|
|
14736
14730
|
default: T(() => [
|
|
14737
|
-
(y(!0), O(Re, null,
|
|
14731
|
+
(y(!0), O(Re, null, Ye(l.fields, (p) => (y(), O(Re, {
|
|
14738
14732
|
key: p.model
|
|
14739
14733
|
}, [
|
|
14740
14734
|
l.fieldVisible(p) ? (y(), K(u, {
|
|
@@ -14753,7 +14747,7 @@ function cT(e, a, n, r, s, l) {
|
|
|
14753
14747
|
]),
|
|
14754
14748
|
_: 1
|
|
14755
14749
|
})) : se("", !0),
|
|
14756
|
-
(y(!0), O(Re, null,
|
|
14750
|
+
(y(!0), O(Re, null, Ye(l.groups, (p, m) => (y(), O(Re, {
|
|
14757
14751
|
key: `group-${m}`
|
|
14758
14752
|
}, [
|
|
14759
14753
|
p.collapsible !== void 0 && p.collapsible !== !1 ? (y(), K(d, {
|
|
@@ -14771,7 +14765,7 @@ function cT(e, a, n, r, s, l) {
|
|
|
14771
14765
|
class: Fe(e.getFieldRowClasses(p))
|
|
14772
14766
|
}, {
|
|
14773
14767
|
default: T(() => [
|
|
14774
|
-
(y(!0), O(Re, null,
|
|
14768
|
+
(y(!0), O(Re, null, Ye(p.fields, (j) => (y(), O(Re, {
|
|
14775
14769
|
key: j.model
|
|
14776
14770
|
}, [
|
|
14777
14771
|
l.fieldVisible(j) ? (y(), K(u, {
|
|
@@ -14803,7 +14797,7 @@ function cT(e, a, n, r, s, l) {
|
|
|
14803
14797
|
class: Fe(e.getFieldRowClasses(p))
|
|
14804
14798
|
}, {
|
|
14805
14799
|
default: T(() => [
|
|
14806
|
-
(y(!0), O(Re, null,
|
|
14800
|
+
(y(!0), O(Re, null, Ye(p.collapsible.nestedCollapsible.fields, (j) => (y(), O(Re, {
|
|
14807
14801
|
key: j.model
|
|
14808
14802
|
}, [
|
|
14809
14803
|
l.fieldVisible(j) ? (y(), K(u, {
|
|
@@ -14841,8 +14835,8 @@ function cT(e, a, n, r, s, l) {
|
|
|
14841
14835
|
class: Fe(e.getFieldRowClasses(p))
|
|
14842
14836
|
}, {
|
|
14843
14837
|
default: T(() => [
|
|
14844
|
-
p.legend ? (y(), O("legend",
|
|
14845
|
-
(y(!0), O(Re, null,
|
|
14838
|
+
p.legend ? (y(), O("legend", oT, W(p.legend), 1)) : se("", !0),
|
|
14839
|
+
(y(!0), O(Re, null, Ye(p.fields, (v) => (y(), O(Re, {
|
|
14846
14840
|
key: v.model
|
|
14847
14841
|
}, [
|
|
14848
14842
|
l.fieldVisible(v) ? (y(), K(u, {
|
|
@@ -14864,7 +14858,7 @@ function cT(e, a, n, r, s, l) {
|
|
|
14864
14858
|
], 64))), 128))
|
|
14865
14859
|
])) : se("", !0);
|
|
14866
14860
|
}
|
|
14867
|
-
const dn = /* @__PURE__ */ Ge(
|
|
14861
|
+
const dn = /* @__PURE__ */ Ge(rT, [["render", lT]]), uT = {
|
|
14868
14862
|
fields: [{
|
|
14869
14863
|
inputType: "text",
|
|
14870
14864
|
label: "Config.Client Id",
|
|
@@ -14887,7 +14881,7 @@ const dn = /* @__PURE__ */ Ge(oT, [["render", cT]]), dT = {
|
|
|
14887
14881
|
model: "config-auth_methods",
|
|
14888
14882
|
type: "input"
|
|
14889
14883
|
}]
|
|
14890
|
-
},
|
|
14884
|
+
}, cT = {
|
|
14891
14885
|
fields: [{
|
|
14892
14886
|
inputType: "text",
|
|
14893
14887
|
label: "Config.Scopes Claim",
|
|
@@ -14961,7 +14955,7 @@ const dn = /* @__PURE__ */ Ge(oT, [["render", cT]]), dT = {
|
|
|
14961
14955
|
newElementButtonLabelClasses: "auth-array-item-new",
|
|
14962
14956
|
newElementButtonLabel: "+ Add"
|
|
14963
14957
|
}]
|
|
14964
|
-
},
|
|
14958
|
+
}, dT = {
|
|
14965
14959
|
fields: [
|
|
14966
14960
|
{
|
|
14967
14961
|
type: "array",
|
|
@@ -15175,7 +15169,7 @@ const dn = /* @__PURE__ */ Ge(oT, [["render", cT]]), dT = {
|
|
|
15175
15169
|
link: "https://docs.konghq.com/hub/kong-inc/openid-connect/#host-record"
|
|
15176
15170
|
}
|
|
15177
15171
|
]
|
|
15178
|
-
},
|
|
15172
|
+
}, pT = {
|
|
15179
15173
|
name: "OIDCForm",
|
|
15180
15174
|
components: { VueFormGenerator: dn },
|
|
15181
15175
|
props: {
|
|
@@ -15250,10 +15244,10 @@ const dn = /* @__PURE__ */ Ge(oT, [["render", cT]]), dT = {
|
|
|
15250
15244
|
this.init || (this.init = !0, this.globalFields = {
|
|
15251
15245
|
fields: this.formSchema.fields.filter((n) => !n.model.startsWith("config") && n.model !== "tags")
|
|
15252
15246
|
}, this.commonFieldsSchema = {
|
|
15253
|
-
...
|
|
15247
|
+
...uT
|
|
15254
15248
|
}, this.authFieldsSchema = {
|
|
15255
|
-
...
|
|
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) =>
|
|
15249
|
+
...cT
|
|
15250
|
+
}, 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) => dT.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 = [
|
|
15257
15251
|
{
|
|
15258
15252
|
label: "Authorization Code Flow",
|
|
15259
15253
|
value: "authorization_code",
|
|
@@ -15322,9 +15316,9 @@ const dn = /* @__PURE__ */ Ge(oT, [["render", cT]]), dT = {
|
|
|
15322
15316
|
this.formModel["config-auth_methods"] = this.getAuthMethodsValue(a, e), this.onModelUpdated();
|
|
15323
15317
|
}
|
|
15324
15318
|
}
|
|
15325
|
-
}, fa = (e) => (fn("data-v-e7395ff0"), e = e(), mn(), e),
|
|
15326
|
-
function
|
|
15327
|
-
const u =
|
|
15319
|
+
}, fa = (e) => (fn("data-v-e7395ff0"), e = e(), mn(), e), gT = { class: "general-settings" }, fT = { class: "link-wrapper" }, mT = /* @__PURE__ */ fa(() => /* @__PURE__ */ S("span", { class: "section-header" }, "Common Configuration Settings", -1)), hT = /* @__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)), AT = { class: "auth-method-container" }, yT = { class: "general-settings" }, vT = { class: "link-wrapper" }, bT = /* @__PURE__ */ fa(() => /* @__PURE__ */ S("span", { class: "section-header" }, "Authorization Configuration Settings", -1)), wT = /* @__PURE__ */ fa(() => /* @__PURE__ */ S("div", { class: "description" }, " Parameters for setting up claims-based authorization. ", -1)), CT = { class: "general-settings" }, ET = { class: "link-wrapper" }, kT = /* @__PURE__ */ fa(() => /* @__PURE__ */ S("span", { class: "section-header" }, "Advanced Configuration Settings", -1)), OT = /* @__PURE__ */ fa(() => /* @__PURE__ */ S("div", { class: "description" }, " Advanced parameters for manually configuring the OpenID Connect plugin. ", -1));
|
|
15320
|
+
function IT(e, a, n, r, s, l) {
|
|
15321
|
+
const u = te("VueFormGenerator"), d = te("KExternalLink"), p = te("KLabel"), m = te("KCheckbox"), v = te("KInputSwitch"), b = te("KTabs");
|
|
15328
15322
|
return y(), O("div", null, [
|
|
15329
15323
|
n.formModel.id && n.isEditing || !n.isEditing ? (y(), K(u, {
|
|
15330
15324
|
key: 0,
|
|
@@ -15336,16 +15330,16 @@ function MT(e, a, n, r, s, l) {
|
|
|
15336
15330
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : se("", !0),
|
|
15337
15331
|
X(b, { tabs: s.tabs }, {
|
|
15338
15332
|
common: T(() => [
|
|
15339
|
-
S("div",
|
|
15340
|
-
S("div",
|
|
15333
|
+
S("div", gT, [
|
|
15334
|
+
S("div", fT, [
|
|
15341
15335
|
X(d, { href: "https://docs.konghq.com/hub/kong-inc/openid-connect/#important-configuration-parameters" }, {
|
|
15342
15336
|
default: T(() => [
|
|
15343
|
-
|
|
15337
|
+
mT
|
|
15344
15338
|
]),
|
|
15345
15339
|
_: 1
|
|
15346
15340
|
})
|
|
15347
15341
|
]),
|
|
15348
|
-
|
|
15342
|
+
hT,
|
|
15349
15343
|
l.displayForm ? (y(), K(u, {
|
|
15350
15344
|
key: 0,
|
|
15351
15345
|
model: n.formModel,
|
|
@@ -15359,8 +15353,8 @@ function MT(e, a, n, r, s, l) {
|
|
|
15359
15353
|
]),
|
|
15360
15354
|
_: 1
|
|
15361
15355
|
}),
|
|
15362
|
-
S("div",
|
|
15363
|
-
(y(!0), O(Re, null,
|
|
15356
|
+
S("div", AT, [
|
|
15357
|
+
(y(!0), O(Re, null, Ye(s.authMethods, (E) => (y(), O("div", {
|
|
15364
15358
|
key: E.value,
|
|
15365
15359
|
class: "auth-method"
|
|
15366
15360
|
}, [
|
|
@@ -15385,16 +15379,16 @@ function MT(e, a, n, r, s, l) {
|
|
|
15385
15379
|
])
|
|
15386
15380
|
]),
|
|
15387
15381
|
authorization: T(() => [
|
|
15388
|
-
S("div",
|
|
15389
|
-
S("div",
|
|
15382
|
+
S("div", yT, [
|
|
15383
|
+
S("div", vT, [
|
|
15390
15384
|
X(d, { href: "https://docs.konghq.com/hub/kong-inc/openid-connect/#authorization" }, {
|
|
15391
15385
|
default: T(() => [
|
|
15392
|
-
|
|
15386
|
+
bT
|
|
15393
15387
|
]),
|
|
15394
15388
|
_: 1
|
|
15395
15389
|
})
|
|
15396
15390
|
]),
|
|
15397
|
-
|
|
15391
|
+
wT,
|
|
15398
15392
|
l.displayForm ? (y(), K(u, {
|
|
15399
15393
|
key: 0,
|
|
15400
15394
|
model: n.formModel,
|
|
@@ -15405,16 +15399,16 @@ function MT(e, a, n, r, s, l) {
|
|
|
15405
15399
|
])
|
|
15406
15400
|
]),
|
|
15407
15401
|
advanced: T(() => [
|
|
15408
|
-
S("div",
|
|
15409
|
-
S("div",
|
|
15402
|
+
S("div", CT, [
|
|
15403
|
+
S("div", ET, [
|
|
15410
15404
|
X(d, { href: "https://docs.konghq.com/hub/kong-inc/openid-connect/" }, {
|
|
15411
15405
|
default: T(() => [
|
|
15412
|
-
|
|
15406
|
+
kT
|
|
15413
15407
|
]),
|
|
15414
15408
|
_: 1
|
|
15415
15409
|
})
|
|
15416
15410
|
]),
|
|
15417
|
-
|
|
15411
|
+
OT,
|
|
15418
15412
|
l.displayForm ? (y(), K(u, {
|
|
15419
15413
|
key: 0,
|
|
15420
15414
|
model: n.formModel,
|
|
@@ -15428,10 +15422,10 @@ function MT(e, a, n, r, s, l) {
|
|
|
15428
15422
|
}, 8, ["tabs"])
|
|
15429
15423
|
]);
|
|
15430
15424
|
}
|
|
15431
|
-
const
|
|
15425
|
+
const BT = /* @__PURE__ */ Ge(pT, [["render", IT], ["__scopeId", "data-v-e7395ff0"]]), MT = {
|
|
15432
15426
|
packageName: "forms"
|
|
15433
15427
|
}, fg = {
|
|
15434
|
-
general:
|
|
15428
|
+
general: MT,
|
|
15435
15429
|
"post-function": {
|
|
15436
15430
|
tags: {
|
|
15437
15431
|
hint: "e.g. tag1, tag2, tag3",
|
|
@@ -15492,7 +15486,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15492
15486
|
newElementButtonLabel: "+ Add"
|
|
15493
15487
|
}
|
|
15494
15488
|
}
|
|
15495
|
-
},
|
|
15489
|
+
}, xT = /* @__PURE__ */ je({
|
|
15496
15490
|
__name: "PostFunction",
|
|
15497
15491
|
props: {
|
|
15498
15492
|
formModel: {
|
|
@@ -15533,7 +15527,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15533
15527
|
onModelUpdated: e.onModelUpdated
|
|
15534
15528
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : se("", !0);
|
|
15535
15529
|
}
|
|
15536
|
-
}),
|
|
15530
|
+
}), ST = /* @__PURE__ */ Ge(xT, [["__scopeId", "data-v-6706c68b"]]), TT = /* @__PURE__ */ je({
|
|
15537
15531
|
__name: "ExitTransformer",
|
|
15538
15532
|
props: {
|
|
15539
15533
|
formModel: {
|
|
@@ -15574,7 +15568,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15574
15568
|
onModelUpdated: e.onModelUpdated
|
|
15575
15569
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : se("", !0);
|
|
15576
15570
|
}
|
|
15577
|
-
}),
|
|
15571
|
+
}), RT = /* @__PURE__ */ Ge(TT, [["__scopeId", "data-v-0fc8ef29"]]), LT = {
|
|
15578
15572
|
fields: [
|
|
15579
15573
|
{
|
|
15580
15574
|
inputType: "text",
|
|
@@ -15609,7 +15603,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15609
15603
|
disabled: !1
|
|
15610
15604
|
}
|
|
15611
15605
|
]
|
|
15612
|
-
},
|
|
15606
|
+
}, NT = {
|
|
15613
15607
|
fields: [
|
|
15614
15608
|
{
|
|
15615
15609
|
type: "input",
|
|
@@ -15631,7 +15625,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15631
15625
|
disabled: !1
|
|
15632
15626
|
}
|
|
15633
15627
|
]
|
|
15634
|
-
},
|
|
15628
|
+
}, PT = {
|
|
15635
15629
|
fields: [
|
|
15636
15630
|
{
|
|
15637
15631
|
type: "input",
|
|
@@ -15662,13 +15656,13 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15662
15656
|
disabled: !1
|
|
15663
15657
|
}
|
|
15664
15658
|
]
|
|
15665
|
-
}, Gi = (e) => (fn("data-v-5b189366"), e = e(), mn(), e),
|
|
15659
|
+
}, Gi = (e) => (fn("data-v-5b189366"), e = e(), mn(), e), jT = { class: "general-settings" }, DT = /* @__PURE__ */ Gi(() => /* @__PURE__ */ S("div", { class: "header-wrapper" }, [
|
|
15666
15660
|
/* @__PURE__ */ S("span", { class: "section-header" }, "General Configuration Settings")
|
|
15667
|
-
], -1)),
|
|
15661
|
+
], -1)), UT = /* @__PURE__ */ Gi(() => /* @__PURE__ */ S("div", { class: "description" }, " Parameters for enabling the ACME plugin. ", -1)), YT = /* @__PURE__ */ Gi(() => /* @__PURE__ */ S("hr", null, null, -1)), VT = { class: "sub-form" }, GT = { class: "general-settings" }, HT = /* @__PURE__ */ Gi(() => /* @__PURE__ */ S("div", { class: "header-wrapper" }, [
|
|
15668
15662
|
/* @__PURE__ */ S("span", { class: "section-header" }, "Storage Configuration Settings")
|
|
15669
|
-
], -1)),
|
|
15663
|
+
], -1)), FT = /* @__PURE__ */ Gi(() => /* @__PURE__ */ S("div", { class: "description" }, " Parameters for setting up storage. ", -1)), zT = { class: "sub-form" }, KT = { class: "general-settings" }, qT = /* @__PURE__ */ Gi(() => /* @__PURE__ */ S("div", { class: "header-wrapper" }, [
|
|
15670
15664
|
/* @__PURE__ */ S("span", { class: "section-header" }, "Advanced Configuration Settings")
|
|
15671
|
-
], -1)),
|
|
15665
|
+
], -1)), XT = /* @__PURE__ */ Gi(() => /* @__PURE__ */ S("div", { class: "description" }, " Advanced parameters for manually configuring the ACME plugin. ", -1)), JT = /* @__PURE__ */ je({
|
|
15672
15666
|
__name: "ACMEForm",
|
|
15673
15667
|
props: {
|
|
15674
15668
|
formModel: {
|
|
@@ -15703,7 +15697,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15703
15697
|
return C;
|
|
15704
15698
|
}), l = J(() => {
|
|
15705
15699
|
var I;
|
|
15706
|
-
const C = H.cloneDeep(
|
|
15700
|
+
const C = H.cloneDeep(LT);
|
|
15707
15701
|
for (const U of C.fields) {
|
|
15708
15702
|
const P = (I = s.value[U.model]) == null ? void 0 : I.help;
|
|
15709
15703
|
U.help === void 0 && typeof P == "string" && (U.help = P);
|
|
@@ -15711,7 +15705,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15711
15705
|
return C;
|
|
15712
15706
|
}), u = J(() => {
|
|
15713
15707
|
var I;
|
|
15714
|
-
const C = H.cloneDeep(
|
|
15708
|
+
const C = H.cloneDeep(NT);
|
|
15715
15709
|
for (const U of C.fields) {
|
|
15716
15710
|
const P = (I = s.value[U.model]) == null ? void 0 : I.help;
|
|
15717
15711
|
U.help === void 0 && typeof P == "string" && (U.help = P);
|
|
@@ -15719,7 +15713,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15719
15713
|
return C;
|
|
15720
15714
|
}), d = J(() => {
|
|
15721
15715
|
var I;
|
|
15722
|
-
const C = H.cloneDeep(
|
|
15716
|
+
const C = H.cloneDeep(PT);
|
|
15723
15717
|
for (const U of C.fields) {
|
|
15724
15718
|
const P = (I = s.value[U.model]) == null ? void 0 : I.help;
|
|
15725
15719
|
U.help === void 0 && typeof P == "string" && (U.help = P);
|
|
@@ -15774,13 +15768,13 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15774
15768
|
Go(() => {
|
|
15775
15769
|
n.value === "zeroSsl" && (a.formModel["config-api_uri"] = "https://acme.zerossl.com/v2/DV90");
|
|
15776
15770
|
});
|
|
15777
|
-
const
|
|
15771
|
+
const ee = (I) => {
|
|
15778
15772
|
n.value = I.value, (I.value === "zeroSsl" || I.value === "other") && (I.value === "zeroSsl" ? a.formModel["config-api_uri"] = "https://acme.zerossl.com/v2/DV90" : a.formModel["config-api_uri"] = "https://acme.example.com/", a.formModel["config-tos_accepted"] = !1), I.value === "letsEncrypt" && (a.formModel["config-api_uri"] = "https://acme-v02.api.letsencrypt.org/directory", a.formModel["config-eab_hmac_key"] = "", a.formModel["config-eab_kid"] = ""), a.onModelUpdated();
|
|
15779
15773
|
}, N = (I, C) => {
|
|
15780
15774
|
C === "config-storage" && (r.value = I), a.onModelUpdated();
|
|
15781
15775
|
};
|
|
15782
15776
|
return (I, C) => {
|
|
15783
|
-
const U =
|
|
15777
|
+
const U = te("KSelect"), P = te("KTabs");
|
|
15784
15778
|
return y(), O("div", null, [
|
|
15785
15779
|
e.formModel.id && e.isEditing || !e.isEditing ? (y(), K(dn, {
|
|
15786
15780
|
key: 0,
|
|
@@ -15792,9 +15786,9 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15792
15786
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : se("", !0),
|
|
15793
15787
|
X(P, { tabs: ie }, {
|
|
15794
15788
|
general: T(() => [
|
|
15795
|
-
S("div",
|
|
15796
|
-
|
|
15797
|
-
|
|
15789
|
+
S("div", jT, [
|
|
15790
|
+
DT,
|
|
15791
|
+
UT,
|
|
15798
15792
|
Y.value ? (y(), K(dn, {
|
|
15799
15793
|
key: 0,
|
|
15800
15794
|
model: e.formModel,
|
|
@@ -15802,14 +15796,14 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15802
15796
|
schema: m.value,
|
|
15803
15797
|
onModelUpdated: e.onModelUpdated
|
|
15804
15798
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : se("", !0),
|
|
15805
|
-
|
|
15799
|
+
YT,
|
|
15806
15800
|
X(U, {
|
|
15807
15801
|
class: "issuer-select",
|
|
15808
15802
|
items: Z,
|
|
15809
15803
|
label: "Issuer",
|
|
15810
|
-
onChange:
|
|
15804
|
+
onChange: ee
|
|
15811
15805
|
}),
|
|
15812
|
-
S("div",
|
|
15806
|
+
S("div", VT, [
|
|
15813
15807
|
n.value === "letsEncrypt" ? (y(), K(dn, {
|
|
15814
15808
|
key: 0,
|
|
15815
15809
|
model: e.formModel,
|
|
@@ -15828,9 +15822,9 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15828
15822
|
])
|
|
15829
15823
|
]),
|
|
15830
15824
|
storage: T(() => [
|
|
15831
|
-
S("div",
|
|
15832
|
-
|
|
15833
|
-
|
|
15825
|
+
S("div", GT, [
|
|
15826
|
+
HT,
|
|
15827
|
+
FT,
|
|
15834
15828
|
Y.value ? (y(), K(dn, {
|
|
15835
15829
|
key: 0,
|
|
15836
15830
|
model: e.formModel,
|
|
@@ -15838,7 +15832,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15838
15832
|
schema: v.value,
|
|
15839
15833
|
onModelUpdated: N
|
|
15840
15834
|
}, null, 8, ["model", "options", "schema"])) : se("", !0),
|
|
15841
|
-
S("div",
|
|
15835
|
+
S("div", zT, [
|
|
15842
15836
|
r.value === "consul" ? (y(), K(dn, {
|
|
15843
15837
|
key: 0,
|
|
15844
15838
|
model: e.formModel,
|
|
@@ -15871,9 +15865,9 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15871
15865
|
])
|
|
15872
15866
|
]),
|
|
15873
15867
|
advanced: T(() => [
|
|
15874
|
-
S("div",
|
|
15875
|
-
|
|
15876
|
-
|
|
15868
|
+
S("div", KT, [
|
|
15869
|
+
qT,
|
|
15870
|
+
XT,
|
|
15877
15871
|
Y.value ? (y(), K(dn, {
|
|
15878
15872
|
key: 0,
|
|
15879
15873
|
model: e.formModel,
|
|
@@ -15888,12 +15882,12 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15888
15882
|
]);
|
|
15889
15883
|
};
|
|
15890
15884
|
}
|
|
15891
|
-
}),
|
|
15885
|
+
}), WT = /* @__PURE__ */ Ge(JT, [["__scopeId", "data-v-5b189366"]]), ZT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15892
15886
|
__proto__: null,
|
|
15893
|
-
ACMEForm:
|
|
15894
|
-
ExitTransformer:
|
|
15895
|
-
OIDCForm:
|
|
15896
|
-
PostFunction:
|
|
15887
|
+
ACMEForm: WT,
|
|
15888
|
+
ExitTransformer: RT,
|
|
15889
|
+
OIDCForm: BT,
|
|
15890
|
+
PostFunction: ST
|
|
15897
15891
|
}, Symbol.toStringTag, { value: "Module" })), Vo = [
|
|
15898
15892
|
"array",
|
|
15899
15893
|
"metric",
|
|
@@ -15913,7 +15907,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15913
15907
|
newElementButtonLabelClasses: "kong-form-new-element-button-label",
|
|
15914
15908
|
itemContainerComponent: "FieldArrayCardContainer",
|
|
15915
15909
|
fieldClasses: "array-card-container-wrapper"
|
|
15916
|
-
},
|
|
15910
|
+
}, QT = {
|
|
15917
15911
|
"config-prompts-prepend": {
|
|
15918
15912
|
...pa,
|
|
15919
15913
|
newElementButtonLabel: "+ Add Message",
|
|
@@ -15966,7 +15960,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15966
15960
|
}
|
|
15967
15961
|
}
|
|
15968
15962
|
}
|
|
15969
|
-
},
|
|
15963
|
+
}, _T = {
|
|
15970
15964
|
"config-templates": {
|
|
15971
15965
|
...pa,
|
|
15972
15966
|
newElementButtonLabel: "+ Add Template",
|
|
@@ -15989,7 +15983,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
15989
15983
|
}
|
|
15990
15984
|
}
|
|
15991
15985
|
}
|
|
15992
|
-
},
|
|
15986
|
+
}, $T = {
|
|
15993
15987
|
enabled: {
|
|
15994
15988
|
type: "switch",
|
|
15995
15989
|
model: "enabled",
|
|
@@ -16059,7 +16053,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16059
16053
|
newElementButtonLabelClasses: "kong-form-new-element-button-label",
|
|
16060
16054
|
itemContainerComponent: "FieldMetric",
|
|
16061
16055
|
fieldClasses: "metrics-wrapper"
|
|
16062
|
-
},
|
|
16056
|
+
}, eR = {
|
|
16063
16057
|
"config-metrics": {
|
|
16064
16058
|
...Wa,
|
|
16065
16059
|
items: {
|
|
@@ -16121,7 +16115,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16121
16115
|
}
|
|
16122
16116
|
}
|
|
16123
16117
|
}
|
|
16124
|
-
},
|
|
16118
|
+
}, tR = {
|
|
16125
16119
|
"config-strategy": {
|
|
16126
16120
|
label: "Config.Strategy",
|
|
16127
16121
|
type: "select",
|
|
@@ -16153,14 +16147,14 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16153
16147
|
}
|
|
16154
16148
|
}
|
|
16155
16149
|
}
|
|
16156
|
-
},
|
|
16150
|
+
}, nR = {
|
|
16157
16151
|
"config-api_specification": {
|
|
16158
16152
|
label: "Config.API Specification",
|
|
16159
16153
|
placeholder: "Enter an API spec",
|
|
16160
16154
|
type: "textArea",
|
|
16161
16155
|
rows: 10
|
|
16162
16156
|
}
|
|
16163
|
-
},
|
|
16157
|
+
}, iR = {
|
|
16164
16158
|
"config-access": {},
|
|
16165
16159
|
"config-body_filter": {},
|
|
16166
16160
|
"config-header_filter": {},
|
|
@@ -16181,7 +16175,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16181
16175
|
[a]: Ja.fields.arrayItems({
|
|
16182
16176
|
newElementButtonLabel: "Add"
|
|
16183
16177
|
})
|
|
16184
|
-
}),
|
|
16178
|
+
}), iR), Hr = {
|
|
16185
16179
|
"config-strategy": {
|
|
16186
16180
|
label: "Config.Strategy",
|
|
16187
16181
|
type: "select",
|
|
@@ -16194,7 +16188,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16194
16188
|
placeholder: "Enter list of consumer groups",
|
|
16195
16189
|
hint: "e.g. group1, group2"
|
|
16196
16190
|
}
|
|
16197
|
-
},
|
|
16191
|
+
}, aR = {
|
|
16198
16192
|
"config-remove-headers": {},
|
|
16199
16193
|
"config-remove.querystring": {},
|
|
16200
16194
|
"config-remove-body": {},
|
|
@@ -16211,7 +16205,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16211
16205
|
"config-append-querystring": {},
|
|
16212
16206
|
"config-append-body": {},
|
|
16213
16207
|
"config-allow-body": {}
|
|
16214
|
-
},
|
|
16208
|
+
}, rR = [
|
|
16215
16209
|
"config-remove-headers",
|
|
16216
16210
|
"config-remove.querystring",
|
|
16217
16211
|
"config-remove-body",
|
|
@@ -16233,7 +16227,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16233
16227
|
[a]: Ja.fields.arrayItems({
|
|
16234
16228
|
newElementButtonLabel: "Add"
|
|
16235
16229
|
})
|
|
16236
|
-
}),
|
|
16230
|
+
}), aR), sR = {
|
|
16237
16231
|
"config-parameter_schema": {
|
|
16238
16232
|
...Wa,
|
|
16239
16233
|
items: {
|
|
@@ -16294,7 +16288,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16294
16288
|
}
|
|
16295
16289
|
}
|
|
16296
16290
|
}
|
|
16297
|
-
},
|
|
16291
|
+
}, oR = {
|
|
16298
16292
|
"config-rules": {
|
|
16299
16293
|
...pa,
|
|
16300
16294
|
newElementButtonLabel: "+ Add Rule",
|
|
@@ -16321,7 +16315,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16321
16315
|
}
|
|
16322
16316
|
}
|
|
16323
16317
|
}
|
|
16324
|
-
},
|
|
16318
|
+
}, lR = {
|
|
16325
16319
|
"config-session_redis_cluster_nodes": {
|
|
16326
16320
|
...pa,
|
|
16327
16321
|
newElementButtonLabel: "+ Add Cluster Node",
|
|
@@ -16342,7 +16336,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16342
16336
|
}
|
|
16343
16337
|
}
|
|
16344
16338
|
}
|
|
16345
|
-
},
|
|
16339
|
+
}, uR = {
|
|
16346
16340
|
"config-metrics": {
|
|
16347
16341
|
...Wa,
|
|
16348
16342
|
items: {
|
|
@@ -16417,7 +16411,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16417
16411
|
}
|
|
16418
16412
|
}
|
|
16419
16413
|
}
|
|
16420
|
-
},
|
|
16414
|
+
}, cR = {
|
|
16421
16415
|
"config-allow_status_codes": {
|
|
16422
16416
|
type: "input",
|
|
16423
16417
|
inputType: "text",
|
|
@@ -16502,7 +16496,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16502
16496
|
}
|
|
16503
16497
|
}
|
|
16504
16498
|
}
|
|
16505
|
-
},
|
|
16499
|
+
}, dR = {
|
|
16506
16500
|
"config-vault": {
|
|
16507
16501
|
type: "AutoSuggest",
|
|
16508
16502
|
entity: "vaults",
|
|
@@ -16513,7 +16507,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16513
16507
|
modelTransformer: (e) => ({ id: e }),
|
|
16514
16508
|
keyFromObject: "id"
|
|
16515
16509
|
}
|
|
16516
|
-
},
|
|
16510
|
+
}, pR = {
|
|
16517
16511
|
"config-static_tags": {
|
|
16518
16512
|
...Wa,
|
|
16519
16513
|
items: {
|
|
@@ -16539,19 +16533,19 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16539
16533
|
}
|
|
16540
16534
|
}
|
|
16541
16535
|
}
|
|
16542
|
-
},
|
|
16536
|
+
}, gR = (e, a) => {
|
|
16543
16537
|
const n = e.model.startsWith("config-"), r = a.model.startsWith("config-");
|
|
16544
16538
|
return n && !r ? 1 : !n && r ? -1 : 0;
|
|
16545
|
-
}, hg = (e, a) => (e.order ?? 0) - (a.order ?? 0), Rd = (e, a) =>
|
|
16539
|
+
}, hg = (e, a) => (e.order ?? 0) - (a.order ?? 0), Rd = (e, a) => gR(e, a) || hg(e, a) || e.model.localeCompare(a.model), fR = (e, a) => {
|
|
16546
16540
|
const { capitalize: n } = el(), { convertToDotNotation: r } = zp(), { i18n: { t: s } } = cs(), l = {
|
|
16547
16541
|
"application-registration": {
|
|
16548
16542
|
overwriteDefault: !0,
|
|
16549
16543
|
formSchema: {
|
|
16550
|
-
|
|
16544
|
+
...$T
|
|
16551
16545
|
}
|
|
16552
16546
|
},
|
|
16553
16547
|
datadog: {
|
|
16554
|
-
...
|
|
16548
|
+
...eR
|
|
16555
16549
|
},
|
|
16556
16550
|
"upstream-tls": {
|
|
16557
16551
|
"config-trusted_certificates": {
|
|
@@ -16572,22 +16566,22 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16572
16566
|
...Sd
|
|
16573
16567
|
},
|
|
16574
16568
|
statsd: {
|
|
16575
|
-
...
|
|
16569
|
+
...uR
|
|
16576
16570
|
},
|
|
16577
16571
|
"statsd-advanced": {
|
|
16578
|
-
...
|
|
16572
|
+
...cR
|
|
16579
16573
|
},
|
|
16580
16574
|
"route-by-header": {
|
|
16581
|
-
...
|
|
16575
|
+
...oR
|
|
16582
16576
|
},
|
|
16583
16577
|
"ai-prompt-decorator": {
|
|
16584
|
-
|
|
16578
|
+
...QT
|
|
16585
16579
|
},
|
|
16586
16580
|
"ai-prompt-template": {
|
|
16587
|
-
...
|
|
16581
|
+
..._T
|
|
16588
16582
|
},
|
|
16589
16583
|
"vault-auth": {
|
|
16590
|
-
...
|
|
16584
|
+
...dR
|
|
16591
16585
|
},
|
|
16592
16586
|
"oas-validation": {
|
|
16593
16587
|
"config-api_spec": {
|
|
@@ -16596,7 +16590,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16596
16590
|
}
|
|
16597
16591
|
},
|
|
16598
16592
|
mocking: {
|
|
16599
|
-
...
|
|
16593
|
+
...nR
|
|
16600
16594
|
},
|
|
16601
16595
|
"rate-limiting": {
|
|
16602
16596
|
...Hr
|
|
@@ -16607,7 +16601,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16607
16601
|
...Hr
|
|
16608
16602
|
},
|
|
16609
16603
|
"graphql-rate-limiting-advanced": {
|
|
16610
|
-
...
|
|
16604
|
+
...tR
|
|
16611
16605
|
},
|
|
16612
16606
|
"response-ratelimiting": {
|
|
16613
16607
|
...Hr
|
|
@@ -16620,16 +16614,16 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16620
16614
|
...Td
|
|
16621
16615
|
},
|
|
16622
16616
|
"request-transformer-advanced": {
|
|
16623
|
-
...
|
|
16617
|
+
...rR
|
|
16624
16618
|
},
|
|
16625
16619
|
"request-validator": {
|
|
16626
|
-
...
|
|
16620
|
+
...sR
|
|
16627
16621
|
},
|
|
16628
16622
|
zipkin: {
|
|
16629
|
-
...
|
|
16623
|
+
...pR
|
|
16630
16624
|
},
|
|
16631
16625
|
saml: {
|
|
16632
|
-
...
|
|
16626
|
+
...lR
|
|
16633
16627
|
}
|
|
16634
16628
|
}, u = () => ["created_at", "updated_at", "id"], d = (C, U, P) => {
|
|
16635
16629
|
let ne = {};
|
|
@@ -16769,7 +16763,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16769
16763
|
});
|
|
16770
16764
|
}, Z = (C) => C.fields.reduce((U, P) => (P.fields && P.fields.forEach((ne) => {
|
|
16771
16765
|
U[ne.model] = ne;
|
|
16772
|
-
}), P.model && (U[P.model] = P), U), {}),
|
|
16766
|
+
}), P.model && (U[P.model] = P), U), {}), ee = (C, U) => {
|
|
16773
16767
|
if (!Vo.includes(C.model))
|
|
16774
16768
|
return;
|
|
16775
16769
|
const P = Z(C);
|
|
@@ -16780,7 +16774,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16780
16774
|
}), delete U[ne];
|
|
16781
16775
|
});
|
|
16782
16776
|
}, N = (C, U) => C.inputType === "hidden" ? "" : r(n(C.label || U.replace(/_/g, " "))), I = (C, U) => {
|
|
16783
|
-
switch (
|
|
16777
|
+
switch (ee(C, U), C.type) {
|
|
16784
16778
|
case "foreign":
|
|
16785
16779
|
E(C, U);
|
|
16786
16780
|
break;
|
|
@@ -16815,7 +16809,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16815
16809
|
useI18n: cs,
|
|
16816
16810
|
usePluginMetaData: FI,
|
|
16817
16811
|
usePluginHelpers: zp,
|
|
16818
|
-
useSchemas:
|
|
16812
|
+
useSchemas: fR
|
|
16819
16813
|
}, nn = "/v2/control-planes/{controlPlaneId}/core-entities", Vt = "/{workspace}", Lt = {
|
|
16820
16814
|
list: {
|
|
16821
16815
|
konnect: {
|
|
@@ -16888,7 +16882,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16888
16882
|
forEntity: `${Vt}/{entityType}/{entityId}/plugins/{id}`
|
|
16889
16883
|
}
|
|
16890
16884
|
}
|
|
16891
|
-
},
|
|
16885
|
+
}, mR = { key: 0 }, hR = /* @__PURE__ */ je({
|
|
16892
16886
|
__name: "PluginFieldRuleAlerts",
|
|
16893
16887
|
props: {
|
|
16894
16888
|
rules: {}
|
|
@@ -16910,20 +16904,20 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16910
16904
|
return d;
|
|
16911
16905
|
});
|
|
16912
16906
|
return (d, p) => {
|
|
16913
|
-
const m =
|
|
16907
|
+
const m = te("KAlert");
|
|
16914
16908
|
return y(), K(m, { class: "plugin-field-rule-alerts" }, {
|
|
16915
16909
|
default: T(() => [
|
|
16916
16910
|
S("ul", null, [
|
|
16917
|
-
(y(!0), O(Re, null,
|
|
16911
|
+
(y(!0), O(Re, null, Ye(u.value, (v, b) => (y(), O("li", {
|
|
16918
16912
|
key: `simple-alert-${b}`
|
|
16919
16913
|
}, W(v), 1))), 128)),
|
|
16920
|
-
a.rules.onlyOneOfMutuallyRequired && a.rules.onlyOneOfMutuallyRequired.length > 0 ? (y(), O("li",
|
|
16921
|
-
(y(!0), O(Re, null,
|
|
16914
|
+
a.rules.onlyOneOfMutuallyRequired && a.rules.onlyOneOfMutuallyRequired.length > 0 ? (y(), O("li", mR, [
|
|
16915
|
+
(y(!0), O(Re, null, Ye(a.rules.onlyOneOfMutuallyRequired, (v, b) => (y(), O("div", {
|
|
16922
16916
|
key: `only-one-mutually-alert-${b}`
|
|
16923
16917
|
}, [
|
|
16924
16918
|
S("div", null, W(R(r)("plugins.form.field_rules.only_one_of_mutually_required")), 1),
|
|
16925
16919
|
S("ul", null, [
|
|
16926
|
-
(y(!0), O(Re, null,
|
|
16920
|
+
(y(!0), O(Re, null, Ye(v, (E, B) => (y(), O("li", {
|
|
16927
16921
|
key: `only-one-mutually-alert-${b}-combination-${B}`
|
|
16928
16922
|
}, W(s(E)), 1))), 128))
|
|
16929
16923
|
])
|
|
@@ -16940,13 +16934,13 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
16940
16934
|
for (const [r, s] of a)
|
|
16941
16935
|
n[r] = s;
|
|
16942
16936
|
return n;
|
|
16943
|
-
},
|
|
16937
|
+
}, AR = /* @__PURE__ */ Rn(hR, [["__scopeId", "data-v-17c1f232"]]), yR = { class: "kong-ui-entities-plugin-form" }, vR = {
|
|
16944
16938
|
key: 1,
|
|
16945
16939
|
class: "entity-form"
|
|
16946
|
-
},
|
|
16947
|
-
components: { ...
|
|
16948
|
-
}),
|
|
16949
|
-
...
|
|
16940
|
+
}, bR = { class: "plugin-config-empty-state" }, wR = je({
|
|
16941
|
+
components: { ...ZT }
|
|
16942
|
+
}), CR = /* @__PURE__ */ je({
|
|
16943
|
+
...wR,
|
|
16950
16944
|
__name: "PluginEntityForm",
|
|
16951
16945
|
props: {
|
|
16952
16946
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17020,12 +17014,12 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
17020
17014
|
}) : s.get(ke, { params: ce });
|
|
17021
17015
|
}
|
|
17022
17016
|
});
|
|
17023
|
-
const Y = le(""), ie = le(null), Z = le({}),
|
|
17017
|
+
const Y = le(""), ie = le(null), Z = le({}), ee = Na({}), N = Na({}), I = J(() => {
|
|
17024
17018
|
var oe;
|
|
17025
17019
|
return (oe = ie.value) == null ? void 0 : oe.options;
|
|
17026
17020
|
}), C = () => {
|
|
17027
17021
|
var Me, de;
|
|
17028
|
-
const oe = { ...r.schema }, ce = N, ke =
|
|
17022
|
+
const oe = { ...r.schema }, ce = N, ke = ee, Ce = Object.keys(ce), ye = {};
|
|
17029
17023
|
if (!p(Z.value))
|
|
17030
17024
|
for (let ue = 0; ue < ((de = (Me = Z.value) == null ? void 0 : Me.fields) == null ? void 0 : de.length); ue++)
|
|
17031
17025
|
oe[Z.value.fields[ue].model] = Z.value.fields[ue];
|
|
@@ -17097,7 +17091,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
17097
17091
|
const Ce = Object.assign({}, N, ke);
|
|
17098
17092
|
Object.assign(N, Ce), n("model-updated", {
|
|
17099
17093
|
model: N,
|
|
17100
|
-
originalModel:
|
|
17094
|
+
originalModel: ee,
|
|
17101
17095
|
data: C()
|
|
17102
17096
|
});
|
|
17103
17097
|
}, P = (oe, ce) => {
|
|
@@ -17110,23 +17104,23 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
17110
17104
|
}
|
|
17111
17105
|
const Me = oe[ke], de = typeof Me;
|
|
17112
17106
|
if (ye && ye.type === "object-advanced" && !Me) {
|
|
17113
|
-
N[Ce] = {},
|
|
17107
|
+
N[Ce] = {}, ee[Ce] = {};
|
|
17114
17108
|
return;
|
|
17115
17109
|
}
|
|
17116
17110
|
if (Array.isArray(Me)) {
|
|
17117
|
-
N[Ce] = JSON.parse(JSON.stringify(Me)),
|
|
17111
|
+
N[Ce] = JSON.parse(JSON.stringify(Me)), ee[Ce] = JSON.parse(JSON.stringify(Me));
|
|
17118
17112
|
return;
|
|
17119
17113
|
}
|
|
17120
17114
|
if (de === "object" && Me && !Me.length)
|
|
17121
17115
|
return P(Me, Ce);
|
|
17122
17116
|
if (de === "object" && Me && Me.length && ye.type === "input") {
|
|
17123
|
-
N[Ce] = Me.join(", "),
|
|
17117
|
+
N[Ce] = Me.join(", "), ee[Ce] = Me.join(", ");
|
|
17124
17118
|
return;
|
|
17125
17119
|
}
|
|
17126
|
-
N[Ce] = Me,
|
|
17120
|
+
N[Ce] = Me, ee[Ce] = Me;
|
|
17127
17121
|
}), n("model-updated", {
|
|
17128
17122
|
model: N,
|
|
17129
|
-
originalModel:
|
|
17123
|
+
originalModel: ee,
|
|
17130
17124
|
data: C()
|
|
17131
17125
|
});
|
|
17132
17126
|
}, ne = le(!0), Ae = () => {
|
|
@@ -17164,17 +17158,17 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
17164
17158
|
if (v(oe || {}, ce || {}))
|
|
17165
17159
|
return;
|
|
17166
17160
|
const ke = l(oe);
|
|
17167
|
-
Object.assign(N, ke.model), Z.value = { fields: (ye = (Ce = Z.value) == null ? void 0 : Ce.fields) == null ? void 0 : ye.map((Me) => ({ ...Me, disabled: Me.disabled || !1 })) }, Object.assign(
|
|
17161
|
+
Object.assign(N, ke.model), Z.value = { fields: (ye = (Ce = Z.value) == null ? void 0 : Ce.fields) == null ? void 0 : ye.map((Me) => ({ ...Me, disabled: Me.disabled || !1 })) }, Object.assign(ee, JSON.parse(JSON.stringify(ke.model))), Y.value = mg(ke.model.name), Ae();
|
|
17168
17162
|
}, { immediate: !0, deep: !0 }), Yi(() => {
|
|
17169
17163
|
var oe, ce;
|
|
17170
17164
|
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();
|
|
17171
17165
|
}), (oe, ce) => {
|
|
17172
|
-
const ke =
|
|
17173
|
-
return y(), O("div",
|
|
17166
|
+
const ke = te("KSkeleton"), Ce = te("VueFormGenerator");
|
|
17167
|
+
return y(), O("div", yR, [
|
|
17174
17168
|
ne.value ? (y(), K(ke, {
|
|
17175
17169
|
key: 0,
|
|
17176
17170
|
type: "form"
|
|
17177
|
-
})) : (y(), O("div",
|
|
17171
|
+
})) : (y(), O("div", vR, [
|
|
17178
17172
|
Y.value && (N.id && e.editing || !e.editing) ? (y(), K(Ot(Y.value), {
|
|
17179
17173
|
key: 0,
|
|
17180
17174
|
"form-model": N,
|
|
@@ -17191,14 +17185,14 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
17191
17185
|
onModelUpdated: U
|
|
17192
17186
|
}, Gn({
|
|
17193
17187
|
"plugin-config-empty-state": T(() => [
|
|
17194
|
-
S("div",
|
|
17188
|
+
S("div", bR, W(R(b)("plugins.form.grouping.plugin_configuration.empty")), 1)
|
|
17195
17189
|
]),
|
|
17196
17190
|
_: 2
|
|
17197
17191
|
}, [
|
|
17198
17192
|
R(Tn)[N.name] && R(Tn)[N.name].fieldRules ? {
|
|
17199
17193
|
name: "plugin-config-before-content",
|
|
17200
17194
|
fn: T(() => [
|
|
17201
|
-
X(
|
|
17195
|
+
X(AR, {
|
|
17202
17196
|
rules: R(Tn)[N.name].fieldRules
|
|
17203
17197
|
}, null, 8, ["rules"])
|
|
17204
17198
|
]),
|
|
@@ -17209,10 +17203,10 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
17209
17203
|
]);
|
|
17210
17204
|
};
|
|
17211
17205
|
}
|
|
17212
|
-
}),
|
|
17206
|
+
}), ER = /* @__PURE__ */ Rn(CR, [["__scopeId", "data-v-9e3936be"]]), kR = { class: "kong-ui-entities-plugin-form-container" }, OR = { key: 0 }, IR = {
|
|
17213
17207
|
key: 1,
|
|
17214
17208
|
class: "plugin-form-actions"
|
|
17215
|
-
},
|
|
17209
|
+
}, BR = /* @__PURE__ */ je({
|
|
17216
17210
|
__name: "PluginForm",
|
|
17217
17211
|
props: {
|
|
17218
17212
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17265,7 +17259,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
17265
17259
|
emits: ["error:fetch-schema", "error", "loading", "update", "model-updated"],
|
|
17266
17260
|
setup(e, { emit: a }) {
|
|
17267
17261
|
var Ln;
|
|
17268
|
-
const n = a, r = e, s = Ka(), { i18n: { t: l } } = bt.useI18n(), { customSchemas: u, typedefs: d } = bt.useSchemas(void 0, { app: r.config.app }), { formatPluginFieldLabel: p } = bt.usePluginHelpers(), { getMessageFromError: m } = os(), { capitalize: v } = el(), { objectsAreEqual: b } = ls(), { axiosInstance: E } = ga((Ln = r.config) == null ? void 0 : Ln.axiosRequestConfig), B = le(!1), j = J(() => r.pluginId ? ti.Edit : ti.Create), V = le(null), Y = J(() => !!(r.credential && r.config.entityId)), ie = le(null), Z = le({}),
|
|
17262
|
+
const n = a, r = e, s = Ka(), { i18n: { t: l } } = bt.useI18n(), { customSchemas: u, typedefs: d } = bt.useSchemas(void 0, { app: r.config.app }), { formatPluginFieldLabel: p } = bt.usePluginHelpers(), { getMessageFromError: m } = os(), { capitalize: v } = el(), { objectsAreEqual: b } = ls(), { axiosInstance: E } = ga((Ln = r.config) == null ? void 0 : Ln.axiosRequestConfig), B = le(!1), j = J(() => r.pluginId ? ti.Edit : ti.Create), V = le(null), Y = J(() => !!(r.credential && r.config.entityId)), ie = le(null), Z = le({}), ee = le(!1), N = Na({
|
|
17269
17263
|
enabled: !0,
|
|
17270
17264
|
protocols: [],
|
|
17271
17265
|
tags: []
|
|
@@ -17603,7 +17597,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
17603
17597
|
}), Ae.selectionGroup.fields[1].fields = Oe;
|
|
17604
17598
|
}
|
|
17605
17599
|
u[r.pluginType] && u[r.pluginType].overwriteDefault && Object.hasOwnProperty.call(u[r.pluginType], "formSchema") && Object.assign(Ae, u[r.pluginType].formSchema);
|
|
17606
|
-
}, ke = J(() => !b(I.fields, N, !0)), Ce = J(() => !Ke.value && !
|
|
17600
|
+
}, ke = J(() => !b(I.fields, N, !0)), Ce = J(() => !Ke.value && !ee.value && (j.value === ti.Create || ke.value)), ye = le(!1), Me = (fe) => {
|
|
17607
17601
|
I.fields.id = (fe == null ? void 0 : fe.id) || void 0, Object.assign(N, I.fields), ie.value = fe, ye.value = !0;
|
|
17608
17602
|
}, de = le({}), ue = (fe) => {
|
|
17609
17603
|
var Q;
|
|
@@ -17684,8 +17678,8 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
17684
17678
|
Ke.value = !1;
|
|
17685
17679
|
}
|
|
17686
17680
|
}), (fe, Q) => {
|
|
17687
|
-
const L =
|
|
17688
|
-
return y(), O("div",
|
|
17681
|
+
const L = te("KSkeleton"), pe = te("KEmptyState"), Oe = te("KButton"), Ne = te("KTabs"), lt = te("KSlideout");
|
|
17682
|
+
return y(), O("div", kR, [
|
|
17689
17683
|
Ke.value ? (y(), K(L, {
|
|
17690
17684
|
key: 0,
|
|
17691
17685
|
type: "form"
|
|
@@ -17715,7 +17709,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
17715
17709
|
onLoading: Q[3] || (Q[3] = (Je) => fe.$emit("loading", Je))
|
|
17716
17710
|
}, {
|
|
17717
17711
|
"form-actions": T(() => [
|
|
17718
|
-
e.isWizardStep ? (y(), O("div",
|
|
17712
|
+
e.isWizardStep ? (y(), O("div", OR)) : (y(), O("div", IR, [
|
|
17719
17713
|
X(Oe, {
|
|
17720
17714
|
appearance: "tertiary",
|
|
17721
17715
|
"data-testid": "form-view-configuration",
|
|
@@ -17771,14 +17765,14 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
17771
17765
|
hidden: "",
|
|
17772
17766
|
onSubmit: Fn
|
|
17773
17767
|
}, null, 32),
|
|
17774
|
-
X(
|
|
17768
|
+
X(ER, {
|
|
17775
17769
|
config: e.config,
|
|
17776
17770
|
credential: Y.value,
|
|
17777
17771
|
editing: j.value === R(ti).Edit,
|
|
17778
17772
|
"entity-map": ne.value,
|
|
17779
17773
|
record: ie.value || void 0,
|
|
17780
17774
|
schema: V.value || {},
|
|
17781
|
-
onLoading: Q[0] || (Q[0] = (Je) =>
|
|
17775
|
+
onLoading: Q[0] || (Q[0] = (Je) => ee.value = Je),
|
|
17782
17776
|
onModelUpdated: ue
|
|
17783
17777
|
}, null, 8, ["config", "credential", "editing", "entity-map", "record", "schema"])
|
|
17784
17778
|
]),
|
|
@@ -17820,7 +17814,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
17820
17814
|
]);
|
|
17821
17815
|
};
|
|
17822
17816
|
}
|
|
17823
|
-
}),
|
|
17817
|
+
}), Q2 = /* @__PURE__ */ Rn(BR, [["__scopeId", "data-v-6d6aad4b"]]), MR = ["alt", "src", "width"], ll = /* @__PURE__ */ je({
|
|
17824
17818
|
__name: "PluginIcon",
|
|
17825
17819
|
props: {
|
|
17826
17820
|
name: {
|
|
@@ -17849,18 +17843,18 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
17849
17843
|
src: s.value || R(a),
|
|
17850
17844
|
width: e.size,
|
|
17851
17845
|
onError: l
|
|
17852
|
-
}, null, 40,
|
|
17846
|
+
}, null, 40, MR));
|
|
17853
17847
|
}
|
|
17854
|
-
}),
|
|
17848
|
+
}), xR = { class: "kong-ui-entities-plugins-list" }, SR = { class: "name-cell-wrapper" }, TR = { class: "info-wrapper" }, RR = {
|
|
17855
17849
|
key: 0,
|
|
17856
17850
|
class: "info-name"
|
|
17857
|
-
},
|
|
17851
|
+
}, LR = {
|
|
17858
17852
|
key: 1,
|
|
17859
17853
|
class: "info-name"
|
|
17860
|
-
},
|
|
17854
|
+
}, NR = {
|
|
17861
17855
|
key: 2,
|
|
17862
17856
|
class: "info-type"
|
|
17863
|
-
},
|
|
17857
|
+
}, PR = { key: 1 }, jR = { key: 1 }, DR = /* @__PURE__ */ je({
|
|
17864
17858
|
__name: "PluginList",
|
|
17865
17859
|
props: {
|
|
17866
17860
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17965,7 +17959,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
17965
17959
|
instance_name: { label: l("plugins.list.table_headers.instance_name"), searchable: !0 }
|
|
17966
17960
|
},
|
|
17967
17961
|
schema: s.config.filterSchema
|
|
17968
|
-
}), Y = le(1), { fetcher: ie, fetcherState: Z } = XE(s.config, B.value),
|
|
17962
|
+
}), Y = le(1), { fetcher: ie, fetcherState: Z } = XE(s.config, B.value), ee = () => {
|
|
17969
17963
|
j.value = "";
|
|
17970
17964
|
}, N = () => {
|
|
17971
17965
|
Y.value++;
|
|
@@ -18099,8 +18093,8 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18099
18093
|
return Yi(async () => {
|
|
18100
18094
|
await s.canCreate() && (Zt.value.title = l("plugins.list.empty_state.title"), Zt.value.ctaText = l("actions.create"));
|
|
18101
18095
|
}), (Q, L) => {
|
|
18102
|
-
const pe =
|
|
18103
|
-
return y(), O("div",
|
|
18096
|
+
const pe = te("KButton"), Oe = te("KBadge"), Ne = te("KTruncate"), lt = te("KInputSwitch"), Je = te("KDropdownItem"), Qe = te("KClipboardProvider");
|
|
18097
|
+
return y(), O("div", xR, [
|
|
18104
18098
|
X(R(OE), {
|
|
18105
18099
|
"cache-identifier": e.cacheIdentifier,
|
|
18106
18100
|
"disable-pagination-page-jump": "",
|
|
@@ -18118,7 +18112,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18118
18112
|
title: e.title,
|
|
18119
18113
|
"title-tag": e.titleTag,
|
|
18120
18114
|
"use-action-outside": e.useActionOutside,
|
|
18121
|
-
onClearSearchInput:
|
|
18115
|
+
onClearSearchInput: ee,
|
|
18122
18116
|
"onClick:row": L[3] || (L[3] = (G) => ye(G)),
|
|
18123
18117
|
onSort: N
|
|
18124
18118
|
}, {
|
|
@@ -18138,7 +18132,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18138
18132
|
"auth-function": () => e.canCreate()
|
|
18139
18133
|
}, {
|
|
18140
18134
|
default: T(() => [
|
|
18141
|
-
|
|
18135
|
+
Ue(X(pe, {
|
|
18142
18136
|
appearance: "primary",
|
|
18143
18137
|
"data-testid": "toolbar-add-plugin",
|
|
18144
18138
|
icon: "plus",
|
|
@@ -18160,22 +18154,22 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18160
18154
|
}, 8, ["to"]))
|
|
18161
18155
|
]),
|
|
18162
18156
|
name: T(({ row: G }) => [
|
|
18163
|
-
S("div",
|
|
18157
|
+
S("div", SR, [
|
|
18164
18158
|
X(ll, {
|
|
18165
18159
|
class: "plugin-icon",
|
|
18166
18160
|
name: G.name,
|
|
18167
18161
|
width: 24
|
|
18168
18162
|
}, null, 8, ["name"]),
|
|
18169
|
-
S("div",
|
|
18170
|
-
G.instance_name ? (y(), O("span",
|
|
18171
|
-
G.instance_name ? (y(), O("span",
|
|
18163
|
+
S("div", TR, [
|
|
18164
|
+
G.instance_name ? (y(), O("span", RR, W(G.instance_name), 1)) : (y(), O("span", LR, W(R(n).getDisplayName(G.name)), 1)),
|
|
18165
|
+
G.instance_name ? (y(), O("span", NR, W(R(n).getDisplayName(G.name)), 1)) : se("", !0)
|
|
18172
18166
|
])
|
|
18173
18167
|
])
|
|
18174
18168
|
]),
|
|
18175
18169
|
appliedTo: T(({ row: G }) => [
|
|
18176
18170
|
C(G).length > 0 ? (y(), K(Ne, { key: 0 }, {
|
|
18177
18171
|
default: T(() => [
|
|
18178
|
-
(y(!0), O(Re, null,
|
|
18172
|
+
(y(!0), O(Re, null, Ye(C(G), (re) => (y(), K(R(Ri), {
|
|
18179
18173
|
key: re.badgeText,
|
|
18180
18174
|
"auth-function": () => U(re.type, G),
|
|
18181
18175
|
"force-show": ""
|
|
@@ -18195,7 +18189,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18195
18189
|
}, 1032, ["auth-function"]))), 128))
|
|
18196
18190
|
]),
|
|
18197
18191
|
_: 2
|
|
18198
|
-
}, 1024)) : (y(), O("span",
|
|
18192
|
+
}, 1024)) : (y(), O("span", PR, "-"))
|
|
18199
18193
|
]),
|
|
18200
18194
|
enabled: T(({ row: G }) => [
|
|
18201
18195
|
X(R(Ri), {
|
|
@@ -18234,7 +18228,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18234
18228
|
tags: T(({ rowValue: G }) => [
|
|
18235
18229
|
(G == null ? void 0 : G.length) > 0 ? (y(), K(Ne, { key: 0 }, {
|
|
18236
18230
|
default: T(() => [
|
|
18237
|
-
(y(!0), O(Re, null,
|
|
18231
|
+
(y(!0), O(Re, null, Ye(G, (re) => (y(), K(Oe, {
|
|
18238
18232
|
key: re,
|
|
18239
18233
|
onClick: L[2] || (L[2] = Ai(() => {
|
|
18240
18234
|
}, ["stop"]))
|
|
@@ -18246,7 +18240,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18246
18240
|
}, 1024))), 128))
|
|
18247
18241
|
]),
|
|
18248
18242
|
_: 2
|
|
18249
|
-
}, 1024)) : (y(), O("span",
|
|
18243
|
+
}, 1024)) : (y(), O("span", jR, "-"))
|
|
18250
18244
|
]),
|
|
18251
18245
|
actions: T(({ row: G }) => [
|
|
18252
18246
|
X(Qe, null, {
|
|
@@ -18358,7 +18352,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18358
18352
|
]);
|
|
18359
18353
|
};
|
|
18360
18354
|
}
|
|
18361
|
-
}),
|
|
18355
|
+
}), _2 = /* @__PURE__ */ Rn(DR, [["__scopeId", "data-v-6bbe2d27"]]), UR = (e) => (fn("data-v-14bc032f"), e = e(), mn(), e), YR = { class: "plugin-card-header" }, VR = { class: "plugin-card-footer" }, GR = /* @__PURE__ */ UR(() => /* @__PURE__ */ S("hr", { class: "plugin-card-footer-divider" }, null, -1)), HR = { class: "footer-skeleton" }, FR = /* @__PURE__ */ je({
|
|
18362
18356
|
__name: "PluginCardSkeleton",
|
|
18363
18357
|
props: {
|
|
18364
18358
|
cardCount: {
|
|
@@ -18368,14 +18362,14 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18368
18362
|
},
|
|
18369
18363
|
setup(e) {
|
|
18370
18364
|
return (a, n) => {
|
|
18371
|
-
const r =
|
|
18365
|
+
const r = te("KSkeletonBox"), s = te("KSkeleton");
|
|
18372
18366
|
return y(), K(s, {
|
|
18373
18367
|
"card-count": e.cardCount,
|
|
18374
18368
|
class: "plugin-card-skeleton",
|
|
18375
18369
|
type: "card"
|
|
18376
18370
|
}, {
|
|
18377
18371
|
"card-header": T(() => [
|
|
18378
|
-
S("div",
|
|
18372
|
+
S("div", YR, [
|
|
18379
18373
|
X(r, { width: "5" })
|
|
18380
18374
|
])
|
|
18381
18375
|
]),
|
|
@@ -18383,9 +18377,9 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18383
18377
|
Be(" ")
|
|
18384
18378
|
]),
|
|
18385
18379
|
"card-footer": T(() => [
|
|
18386
|
-
S("div",
|
|
18387
|
-
|
|
18388
|
-
S("div",
|
|
18380
|
+
S("div", VR, [
|
|
18381
|
+
GR,
|
|
18382
|
+
S("div", HR, [
|
|
18389
18383
|
X(r, { width: "5" })
|
|
18390
18384
|
])
|
|
18391
18385
|
])
|
|
@@ -18394,18 +18388,18 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18394
18388
|
}, 8, ["card-count"]);
|
|
18395
18389
|
};
|
|
18396
18390
|
}
|
|
18397
|
-
}),
|
|
18391
|
+
}), zR = /* @__PURE__ */ Rn(FR, [["__scopeId", "data-v-14bc032f"]]), KR = "16px", Ld = "24px", qR = (e, a) => {
|
|
18398
18392
|
const n = e.__vccOpts || e;
|
|
18399
18393
|
for (const [r, s] of a)
|
|
18400
18394
|
n[r] = s;
|
|
18401
18395
|
return n;
|
|
18402
|
-
},
|
|
18396
|
+
}, XR = (e) => (fn("data-v-add92a5e"), e = e(), mn(), e), JR = ["aria-hidden"], WR = {
|
|
18403
18397
|
key: 0,
|
|
18404
18398
|
"data-testid": "kui-icon-svg-title"
|
|
18405
|
-
},
|
|
18399
|
+
}, ZR = /* @__PURE__ */ XR(() => /* @__PURE__ */ S("path", {
|
|
18406
18400
|
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",
|
|
18407
18401
|
fill: "currentColor"
|
|
18408
|
-
}, null, -1)),
|
|
18402
|
+
}, null, -1)), QR = /* @__PURE__ */ je({
|
|
18409
18403
|
__name: "MoreIcon",
|
|
18410
18404
|
props: {
|
|
18411
18405
|
/** The accessibility text provided to screen readers */
|
|
@@ -18491,20 +18485,20 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18491
18485
|
width: "100%",
|
|
18492
18486
|
xmlns: "http://www.w3.org/2000/svg"
|
|
18493
18487
|
}, [
|
|
18494
|
-
e.title ? (y(), O("title",
|
|
18495
|
-
|
|
18496
|
-
], 8,
|
|
18488
|
+
e.title ? (y(), O("title", WR, W(e.title), 1)) : se("", !0),
|
|
18489
|
+
ZR
|
|
18490
|
+
], 8, JR))
|
|
18497
18491
|
]),
|
|
18498
18492
|
_: 1
|
|
18499
18493
|
}, 8, ["aria-hidden", "style"]));
|
|
18500
18494
|
}
|
|
18501
|
-
}),
|
|
18495
|
+
}), _R = /* @__PURE__ */ qR(QR, [["__scopeId", "data-v-add92a5e"]]), $R = ["data-testid"], e2 = { class: "plugin-card-header" }, t2 = { class: "plugin-card-title" }, n2 = {
|
|
18502
18496
|
key: 0,
|
|
18503
18497
|
class: "plugin-card-actions"
|
|
18504
|
-
},
|
|
18498
|
+
}, i2 = ["data-testid", "title"], a2 = {
|
|
18505
18499
|
key: 0,
|
|
18506
18500
|
class: "plugin-card-text"
|
|
18507
|
-
},
|
|
18501
|
+
}, r2 = { key: 0 }, s2 = ["title"], o2 = /* @__PURE__ */ je({
|
|
18508
18502
|
__name: "PluginSelectCard",
|
|
18509
18503
|
props: {
|
|
18510
18504
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -18556,7 +18550,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18556
18550
|
}
|
|
18557
18551
|
};
|
|
18558
18552
|
return (ie, Z) => {
|
|
18559
|
-
const
|
|
18553
|
+
const ee = te("KButton"), N = te("KDropdownItem"), I = te("KDropdownMenu"), C = te("KTooltip");
|
|
18560
18554
|
return y(), K(C, {
|
|
18561
18555
|
"position-fixed": "",
|
|
18562
18556
|
text: e.plugin.disabledMessage
|
|
@@ -18568,27 +18562,27 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18568
18562
|
role: "button",
|
|
18569
18563
|
onClick: Z[1] || (Z[1] = (U) => d.value || B.value ? void 0 : v())
|
|
18570
18564
|
}, [
|
|
18571
|
-
S("div",
|
|
18572
|
-
S("div",
|
|
18565
|
+
S("div", e2, [
|
|
18566
|
+
S("div", t2, [
|
|
18573
18567
|
S("span", {
|
|
18574
18568
|
class: Fe({ "non-custom-title": !B.value })
|
|
18575
18569
|
}, W(e.plugin.name), 3)
|
|
18576
18570
|
]),
|
|
18577
|
-
p.value ? (y(), O("div",
|
|
18571
|
+
p.value ? (y(), O("div", n2, [
|
|
18578
18572
|
X(I, {
|
|
18579
18573
|
"data-testid": "custom-plugin-actions",
|
|
18580
18574
|
"kpop-attributes": { placement: "bottomEnd" },
|
|
18581
18575
|
width: "150"
|
|
18582
18576
|
}, {
|
|
18583
18577
|
default: T(() => [
|
|
18584
|
-
X(
|
|
18578
|
+
X(ee, {
|
|
18585
18579
|
appearance: "tertiary",
|
|
18586
18580
|
class: "actions-trigger",
|
|
18587
18581
|
"data-testid": "overflow-actions-button",
|
|
18588
18582
|
size: "small"
|
|
18589
18583
|
}, {
|
|
18590
18584
|
icon: T(() => [
|
|
18591
|
-
X(R(
|
|
18585
|
+
X(R(_R), { size: R(KR) }, null, 8, ["size"])
|
|
18592
18586
|
]),
|
|
18593
18587
|
_: 1
|
|
18594
18588
|
})
|
|
@@ -18633,26 +18627,26 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18633
18627
|
name: e.plugin.imageName || e.plugin.id,
|
|
18634
18628
|
size: 55
|
|
18635
18629
|
}, null, 8, ["alt", "name"]),
|
|
18636
|
-
e.plugin.description || B.value && !E.value ? (y(), O("div",
|
|
18637
|
-
B.value && !E.value ? (y(), O("p",
|
|
18630
|
+
e.plugin.description || B.value && !E.value ? (y(), O("div", a2, [
|
|
18631
|
+
B.value && !E.value ? (y(), O("p", r2, W(R(l)("plugins.select.custom_badge_text")), 1)) : se("", !0),
|
|
18638
18632
|
e.plugin.description ? (y(), O("p", {
|
|
18639
18633
|
key: 1,
|
|
18640
18634
|
class: "plugin-card-text",
|
|
18641
18635
|
title: e.plugin.description
|
|
18642
|
-
}, W(e.plugin.description), 9,
|
|
18636
|
+
}, W(e.plugin.description), 9, s2)) : se("", !0)
|
|
18643
18637
|
])) : se("", !0)
|
|
18644
|
-
], 10,
|
|
18638
|
+
], 10, i2),
|
|
18645
18639
|
S("div", {
|
|
18646
18640
|
class: "plugin-card-footer",
|
|
18647
18641
|
onClick: Y
|
|
18648
18642
|
}, W(E.value ? R(l)("actions.create_custom") : e.plugin.exists ? R(l)("actions.enabled") : R(l)("actions.enable")), 1)
|
|
18649
|
-
], 10,
|
|
18643
|
+
], 10, $R)
|
|
18650
18644
|
]),
|
|
18651
18645
|
_: 1
|
|
18652
18646
|
}, 8, ["text"]);
|
|
18653
18647
|
};
|
|
18654
18648
|
}
|
|
18655
|
-
}), ts = /* @__PURE__ */ Rn(
|
|
18649
|
+
}), ts = /* @__PURE__ */ Rn(o2, [["__scopeId", "data-v-3e933d10"]]), l2 = /* @__PURE__ */ je({
|
|
18656
18650
|
__name: "DeleteCustomPluginSchemaModal",
|
|
18657
18651
|
props: {
|
|
18658
18652
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -18676,17 +18670,17 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18676
18670
|
var j, V, Y, ie, Z;
|
|
18677
18671
|
if (m.value = !0, v.value = "", !(!((j = n.plugin) != null && j.name) || ((V = n.config) == null ? void 0 : V.app) !== "konnect"))
|
|
18678
18672
|
try {
|
|
18679
|
-
const
|
|
18680
|
-
await d.delete(
|
|
18681
|
-
} catch (
|
|
18682
|
-
const { response: N } =
|
|
18683
|
-
(N == null ? void 0 : N.status) === 400 && ((Z = (ie = N.data) == null ? void 0 : ie.message) != null && Z.includes("plugin schema is currently in use")) ? b.value = !0 : v.value = u(
|
|
18673
|
+
const ee = `${n.config.apiBaseUrl}/v2/control-planes/${n.config.controlPlaneId}/core-entities/plugin-schemas/${(Y = n.plugin) == null ? void 0 : Y.name}`;
|
|
18674
|
+
await d.delete(ee), r("proceed");
|
|
18675
|
+
} catch (ee) {
|
|
18676
|
+
const { response: N } = ee;
|
|
18677
|
+
(N == null ? void 0 : N.status) === 400 && ((Z = (ie = N.data) == null ? void 0 : ie.message) != null && Z.includes("plugin schema is currently in use")) ? b.value = !0 : v.value = u(ee);
|
|
18684
18678
|
} finally {
|
|
18685
18679
|
m.value = !1;
|
|
18686
18680
|
}
|
|
18687
18681
|
};
|
|
18688
18682
|
return (j, V) => {
|
|
18689
|
-
const Y =
|
|
18683
|
+
const Y = te("KButton"), ie = te("KModal");
|
|
18690
18684
|
return !b.value && e.plugin ? (y(), K(R(Rp), {
|
|
18691
18685
|
key: 0,
|
|
18692
18686
|
"action-pending": m.value,
|
|
@@ -18742,7 +18736,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18742
18736
|
}, 8, ["action-button-disabled", "title"])) : se("", !0);
|
|
18743
18737
|
};
|
|
18744
18738
|
}
|
|
18745
|
-
}),
|
|
18739
|
+
}), u2 = /* @__PURE__ */ Rn(l2, [["__scopeId", "data-v-4148beb9"]]), c2 = { class: "custom-plugins-grid" }, d2 = { class: "empty-state-title" }, p2 = { class: "empty-state-description" }, g2 = { class: "plugin-card-container" }, f2 = { class: "plugin-card-container" }, m2 = /* @__PURE__ */ je({
|
|
18746
18740
|
__name: "PluginCustomGrid",
|
|
18747
18741
|
props: {
|
|
18748
18742
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -18824,8 +18818,8 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18824
18818
|
j && (r("revalidate"), r("delete:success", ((V = b.value) == null ? void 0 : V.name) || "")), v.value = !1, b.value = null;
|
|
18825
18819
|
};
|
|
18826
18820
|
return (j, V) => {
|
|
18827
|
-
const Y =
|
|
18828
|
-
return y(), O("div",
|
|
18821
|
+
const Y = te("KEmptyState"), ie = te("KCollapse");
|
|
18822
|
+
return y(), O("div", c2, [
|
|
18829
18823
|
p.value.length ? (y(), K(ie, {
|
|
18830
18824
|
key: 1,
|
|
18831
18825
|
modelValue: u.value,
|
|
@@ -18836,9 +18830,9 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18836
18830
|
"trigger-label": m.value
|
|
18837
18831
|
}, Gn({
|
|
18838
18832
|
"visible-content": T(() => [
|
|
18839
|
-
S("div",
|
|
18840
|
-
(y(!0), O(Re, null,
|
|
18841
|
-
key: `plugin-card-${
|
|
18833
|
+
S("div", g2, [
|
|
18834
|
+
(y(!0), O(Re, null, Ye(R(l)("visible", p.value, e.pluginsPerRow), (Z, ee) => (y(), K(ts, {
|
|
18835
|
+
key: `plugin-card-${ee}`,
|
|
18842
18836
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
18843
18837
|
"can-edit-custom-plugin": e.canEditCustomPlugin,
|
|
18844
18838
|
config: e.config,
|
|
@@ -18850,9 +18844,9 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18850
18844
|
])
|
|
18851
18845
|
]),
|
|
18852
18846
|
default: T(() => [
|
|
18853
|
-
S("div",
|
|
18854
|
-
(y(!0), O(Re, null,
|
|
18855
|
-
key: `plugin-card-${
|
|
18847
|
+
S("div", f2, [
|
|
18848
|
+
(y(!0), O(Re, null, Ye(R(l)("hidden", p.value, e.pluginsPerRow), (Z, ee) => (y(), K(ts, {
|
|
18849
|
+
key: `plugin-card-${ee}`,
|
|
18856
18850
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
18857
18851
|
"can-edit-custom-plugin": e.canEditCustomPlugin,
|
|
18858
18852
|
config: e.config,
|
|
@@ -18878,14 +18872,14 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18878
18872
|
"icon-variant": "kong"
|
|
18879
18873
|
}, {
|
|
18880
18874
|
title: T(() => [
|
|
18881
|
-
S("span",
|
|
18875
|
+
S("span", d2, W(R(s)("plugins.select.tabs.custom.empty_title")), 1)
|
|
18882
18876
|
]),
|
|
18883
18877
|
default: T(() => [
|
|
18884
|
-
S("span",
|
|
18878
|
+
S("span", p2, W(R(s)("plugins.select.tabs.custom.empty_description")), 1)
|
|
18885
18879
|
]),
|
|
18886
18880
|
_: 1
|
|
18887
18881
|
})),
|
|
18888
|
-
v.value && b.value ? (y(), K(
|
|
18882
|
+
v.value && b.value ? (y(), K(u2, {
|
|
18889
18883
|
key: 2,
|
|
18890
18884
|
config: e.config,
|
|
18891
18885
|
plugin: b.value,
|
|
@@ -18895,7 +18889,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18895
18889
|
]);
|
|
18896
18890
|
};
|
|
18897
18891
|
}
|
|
18898
|
-
}),
|
|
18892
|
+
}), h2 = /* @__PURE__ */ Rn(m2, [["__scopeId", "data-v-acd8a972"]]), A2 = { class: "plugin-card-container" }, y2 = { class: "plugin-card-container" }, v2 = /* @__PURE__ */ je({
|
|
18899
18893
|
__name: "PluginSelectGroup",
|
|
18900
18894
|
props: /* @__PURE__ */ Uc({
|
|
18901
18895
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -18945,7 +18939,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18945
18939
|
return p > r.pluginsPerRow ? l("plugins.select.view_more", { count: m }) : void 0;
|
|
18946
18940
|
});
|
|
18947
18941
|
return (p, m) => {
|
|
18948
|
-
const v =
|
|
18942
|
+
const v = te("KCollapse");
|
|
18949
18943
|
return y(), K(v, {
|
|
18950
18944
|
modelValue: n.value,
|
|
18951
18945
|
"onUpdate:modelValue": m[0] || (m[0] = (b) => n.value = b),
|
|
@@ -18955,8 +18949,8 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18955
18949
|
"trigger-label": n.value ? d.value : R(l)("plugins.select.view_less")
|
|
18956
18950
|
}, Gn({
|
|
18957
18951
|
"visible-content": T(() => [
|
|
18958
|
-
S("div",
|
|
18959
|
-
(y(!0), O(Re, null,
|
|
18952
|
+
S("div", A2, [
|
|
18953
|
+
(y(!0), O(Re, null, Ye(R(u)("visible", r.plugins, r.pluginsPerRow), (b, E) => (y(), K(ts, {
|
|
18960
18954
|
key: `plugin-card-${E}`,
|
|
18961
18955
|
config: e.config,
|
|
18962
18956
|
"navigate-on-click": e.navigateOnClick,
|
|
@@ -18966,8 +18960,8 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18966
18960
|
])
|
|
18967
18961
|
]),
|
|
18968
18962
|
default: T(() => [
|
|
18969
|
-
S("div",
|
|
18970
|
-
(y(!0), O(Re, null,
|
|
18963
|
+
S("div", y2, [
|
|
18964
|
+
(y(!0), O(Re, null, Ye(R(u)("hidden", r.plugins, r.pluginsPerRow), (b, E) => (y(), K(ts, {
|
|
18971
18965
|
key: `plugin-card-${E}`,
|
|
18972
18966
|
config: e.config,
|
|
18973
18967
|
"navigate-on-click": e.navigateOnClick,
|
|
@@ -18988,7 +18982,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
18988
18982
|
]), 1032, ["modelValue", "data-testid", "title", "trigger-label"]);
|
|
18989
18983
|
};
|
|
18990
18984
|
}
|
|
18991
|
-
}), Nd = /* @__PURE__ */ Rn(
|
|
18985
|
+
}), Nd = /* @__PURE__ */ Rn(v2, [["__scopeId", "data-v-a2f6c6cd"]]), b2 = { class: "plugin-select-grid" }, w2 = { class: "empty-state-title" }, C2 = { class: "empty-state-description" }, Pd = /* @__PURE__ */ je({
|
|
18992
18986
|
__name: "PluginSelectGrid",
|
|
18993
18987
|
props: {
|
|
18994
18988
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -19050,8 +19044,8 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19050
19044
|
return n.config.app === "konnect" && delete m[ae.CUSTOM_PLUGINS], m;
|
|
19051
19045
|
});
|
|
19052
19046
|
return (m, v) => {
|
|
19053
|
-
const b =
|
|
19054
|
-
return y(), O("div",
|
|
19047
|
+
const b = te("KEmptyState");
|
|
19048
|
+
return y(), O("div", b2, [
|
|
19055
19049
|
Object.keys(p.value).length ? se("", !0) : (y(), K(b, {
|
|
19056
19050
|
key: 0,
|
|
19057
19051
|
"action-button-visible": !1,
|
|
@@ -19060,10 +19054,10 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19060
19054
|
"icon-variant": "kong"
|
|
19061
19055
|
}, {
|
|
19062
19056
|
title: T(() => [
|
|
19063
|
-
S("span",
|
|
19057
|
+
S("span", w2, W(R(s)("plugins.select.tabs.kong.empty_title")), 1)
|
|
19064
19058
|
]),
|
|
19065
19059
|
default: T(() => [
|
|
19066
|
-
S("span",
|
|
19060
|
+
S("span", C2, W(R(s)("plugins.select.tabs.kong.empty_description")), 1)
|
|
19067
19061
|
]),
|
|
19068
19062
|
_: 1
|
|
19069
19063
|
})),
|
|
@@ -19078,7 +19072,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19078
19072
|
"plugins-per-row": e.pluginsPerRow,
|
|
19079
19073
|
onPluginClicked: v[1] || (v[1] = (E) => d(E))
|
|
19080
19074
|
}, null, 8, ["modelValue", "config", "name", "navigate-on-click", "plugins", "plugins-per-row"])) : se("", !0),
|
|
19081
|
-
(y(!0), O(Re, null,
|
|
19075
|
+
(y(!0), O(Re, null, Ye(R(uI), (E, B) => (y(), O(Re, null, [
|
|
19082
19076
|
p.value[E] ? (y(), O("div", { key: B }, [
|
|
19083
19077
|
X(Nd, {
|
|
19084
19078
|
modelValue: u.value[E],
|
|
@@ -19095,11 +19089,11 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19095
19089
|
]);
|
|
19096
19090
|
};
|
|
19097
19091
|
}
|
|
19098
|
-
}),
|
|
19092
|
+
}), E2 = { class: "kong-ui-entities-plugin-select-form" }, k2 = { class: "plugins-filter-input-container" }, O2 = { key: 0 }, I2 = {
|
|
19099
19093
|
key: 3,
|
|
19100
19094
|
"aria-live": "polite",
|
|
19101
19095
|
class: "plugins-results-container"
|
|
19102
|
-
},
|
|
19096
|
+
}, B2 = { "data-testid": "kong-tab" }, M2 = { class: "tab-description" }, x2 = { "data-testid": "custom-tab" }, S2 = { class: "tab-description" }, T2 = /* @__PURE__ */ je({
|
|
19103
19097
|
__name: "PluginSelect",
|
|
19104
19098
|
props: {
|
|
19105
19099
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -19190,7 +19184,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19190
19184
|
emits: ["loading", "plugin-clicked", "delete-custom:success"],
|
|
19191
19185
|
setup(e, { emit: a }) {
|
|
19192
19186
|
var ye, Me;
|
|
19193
|
-
const n = e, r = a, s = p1(), l = Ka(), { i18n: { t: u } } = bt.useI18n(), { pluginMetaData: d } = bt.usePluginMetaData(), { getMessageFromError: p } = os(), { sortAlpha: m, objectsAreEqual: v } = ls(), b = le(""), E = le(!0), B = le(!1), j = le(""), V = le([]), Y = le({}), ie = le([]), { axiosInstance: Z } = ga((ye = n.config) == null ? void 0 : ye.axiosRequestConfig),
|
|
19187
|
+
const n = e, r = a, s = p1(), l = Ka(), { i18n: { t: u } } = bt.useI18n(), { pluginMetaData: d } = bt.usePluginMetaData(), { getMessageFromError: p } = os(), { sortAlpha: m, objectsAreEqual: v } = ls(), b = le(""), E = le(!0), B = le(!1), j = le(""), V = le([]), Y = le({}), ie = le([]), { axiosInstance: Z } = ga((ye = n.config) == null ? void 0 : ye.axiosRequestConfig), ee = J(() => Y.value ? Object.entries(Y.value).filter(([de]) => de !== ae.CUSTOM_PLUGINS).reduce((de, [, ue]) => {
|
|
19194
19188
|
for (const we of ue)
|
|
19195
19189
|
de[we.id] = we;
|
|
19196
19190
|
return de;
|
|
@@ -19205,7 +19199,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19205
19199
|
}
|
|
19206
19200
|
return ue;
|
|
19207
19201
|
}), I = J(() => n.highlightedPluginIds.reduce((de, ue) => {
|
|
19208
|
-
const we =
|
|
19202
|
+
const we = ee.value[ue];
|
|
19209
19203
|
return we && de.push(we), de;
|
|
19210
19204
|
}, [])), C = J(() => Object.keys(N.value).length > 0), U = J(() => Object.keys(Y.value).length > 0 && !C.value), P = n.config.app === "konnect" ? [
|
|
19211
19205
|
{
|
|
@@ -19282,9 +19276,9 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19282
19276
|
}
|
|
19283
19277
|
B.value || (Y.value = Ae()), E.value = !1;
|
|
19284
19278
|
}), (de, ue) => {
|
|
19285
|
-
const we =
|
|
19286
|
-
return y(), O("div",
|
|
19287
|
-
S("div",
|
|
19279
|
+
const we = te("KInput"), he = te("KSkeletonBox"), Xe = te("KSkeleton"), $e = te("KEmptyState"), ft = te("KTabs");
|
|
19280
|
+
return y(), O("div", E2, [
|
|
19281
|
+
S("div", k2, [
|
|
19288
19282
|
X(we, {
|
|
19289
19283
|
modelValue: b.value,
|
|
19290
19284
|
"onUpdate:modelValue": ue[0] || (ue[0] = (st) => b.value = st),
|
|
@@ -19295,7 +19289,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19295
19289
|
type: "search"
|
|
19296
19290
|
}, null, 8, ["modelValue", "placeholder"])
|
|
19297
19291
|
]),
|
|
19298
|
-
E.value ? (y(), O("section",
|
|
19292
|
+
E.value ? (y(), O("section", O2, [
|
|
19299
19293
|
X(Xe, {
|
|
19300
19294
|
"table-rows": 1,
|
|
19301
19295
|
type: "table"
|
|
@@ -19309,7 +19303,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19309
19303
|
]),
|
|
19310
19304
|
_: 1
|
|
19311
19305
|
}),
|
|
19312
|
-
X(
|
|
19306
|
+
X(zR, {
|
|
19313
19307
|
"card-count": 8,
|
|
19314
19308
|
type: "card"
|
|
19315
19309
|
})
|
|
@@ -19333,7 +19327,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19333
19327
|
S("h5", null, W(R(u)("search.no_results", { filter: b.value })), 1)
|
|
19334
19328
|
]),
|
|
19335
19329
|
_: 1
|
|
19336
|
-
})) : (y(), O("section",
|
|
19330
|
+
})) : (y(), O("section", I2, [
|
|
19337
19331
|
R(P).length && !e.disableCustomPlugins ? (y(), K(ft, {
|
|
19338
19332
|
key: 0,
|
|
19339
19333
|
modelValue: ne.value,
|
|
@@ -19343,8 +19337,8 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19343
19337
|
onChange: oe
|
|
19344
19338
|
}, {
|
|
19345
19339
|
kong: T(() => [
|
|
19346
|
-
S("div",
|
|
19347
|
-
S("p",
|
|
19340
|
+
S("div", B2, [
|
|
19341
|
+
S("p", M2, W(R(u)("plugins.select.tabs.kong.description")), 1),
|
|
19348
19342
|
X(Pd, {
|
|
19349
19343
|
config: e.config,
|
|
19350
19344
|
"hide-highlighted-plugins": b.value.length > 0,
|
|
@@ -19358,9 +19352,9 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19358
19352
|
])
|
|
19359
19353
|
]),
|
|
19360
19354
|
custom: T(() => [
|
|
19361
|
-
S("div",
|
|
19362
|
-
S("p",
|
|
19363
|
-
X(
|
|
19355
|
+
S("div", x2, [
|
|
19356
|
+
S("p", S2, W(R(u)("plugins.select.tabs.custom.description")), 1),
|
|
19357
|
+
X(h2, {
|
|
19364
19358
|
"can-create-custom-plugin": ce.value,
|
|
19365
19359
|
"can-delete-custom-plugin": Ce.value,
|
|
19366
19360
|
"can-edit-custom-plugin": ke.value,
|
|
@@ -19390,7 +19384,7 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19390
19384
|
]);
|
|
19391
19385
|
};
|
|
19392
19386
|
}
|
|
19393
|
-
}),
|
|
19387
|
+
}), $2 = /* @__PURE__ */ Rn(T2, [["__scopeId", "data-v-32dfb7b0"]]), R2 = { class: "kong-ui-entity-plugin-config-card" }, L2 = { class: "name-cell-wrapper" }, N2 = { class: "info-name" }, P2 = { key: 0 }, j2 = { key: 0 }, D2 = { key: 0 }, U2 = { key: 0 }, Ro = "config", Y2 = /* @__PURE__ */ je({
|
|
19394
19388
|
__name: "PluginConfigCard",
|
|
19395
19389
|
props: {
|
|
19396
19390
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -19436,18 +19430,18 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19436
19430
|
var Z;
|
|
19437
19431
|
const n = a, r = e, { i18n: { t: s } } = bt.useI18n(), l = bt.usePluginMetaData(), { setFieldType: u } = bt.usePluginHelpers(), { getPropValue: d } = ls(), p = J(
|
|
19438
19432
|
() => {
|
|
19439
|
-
var
|
|
19440
|
-
return (
|
|
19433
|
+
var ee;
|
|
19434
|
+
return (ee = Lt.item[r.config.app]) == null ? void 0 : ee[r.scopedEntityType ? "forEntity" : "all"].replace(/{entityType}/gi, r.scopedEntityType).replace(/{entityId}/gi, r.scopedEntityId);
|
|
19441
19435
|
}
|
|
19442
19436
|
), m = J(() => {
|
|
19443
19437
|
var I, C;
|
|
19444
|
-
const
|
|
19438
|
+
const ee = {}, N = ((I = V.value) == null ? void 0 : I.fields) || [];
|
|
19445
19439
|
for (let U = 0; U < N.length; U++) {
|
|
19446
19440
|
const P = V.value.fields[U], ne = (C = Object.keys(P)) == null ? void 0 : C[0];
|
|
19447
|
-
u(
|
|
19441
|
+
u(ee, ne, P[ne]);
|
|
19448
19442
|
}
|
|
19449
19443
|
return {
|
|
19450
|
-
...
|
|
19444
|
+
...ee,
|
|
19451
19445
|
instance_name: {
|
|
19452
19446
|
section: Rt.Basic,
|
|
19453
19447
|
order: 1.5
|
|
@@ -19482,41 +19476,41 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19482
19476
|
var N, I, C;
|
|
19483
19477
|
if (!((N = V.value) != null && N.fields))
|
|
19484
19478
|
return [];
|
|
19485
|
-
const
|
|
19479
|
+
const ee = (I = V.value.fields) == null ? void 0 : I.find((U) => {
|
|
19486
19480
|
var ne;
|
|
19487
19481
|
return ((ne = Object.keys(U)) == null ? void 0 : ne[0]) === Ro;
|
|
19488
19482
|
});
|
|
19489
|
-
return ((C =
|
|
19483
|
+
return ((C = ee == null ? void 0 : ee[Ro]) == null ? void 0 : C.fields) || [];
|
|
19490
19484
|
}), b = J(() => {
|
|
19491
19485
|
var N, I;
|
|
19492
|
-
const
|
|
19486
|
+
const ee = {};
|
|
19493
19487
|
if (!v.value)
|
|
19494
|
-
return
|
|
19488
|
+
return ee;
|
|
19495
19489
|
for (let C = 0; C < ((N = v.value) == null ? void 0 : N.length); C++) {
|
|
19496
19490
|
const U = v.value[C], P = (I = Object.keys(U)) == null ? void 0 : I[0], ne = U[P];
|
|
19497
|
-
ne.required && (
|
|
19491
|
+
ne.required && (ee[P] = {
|
|
19498
19492
|
order: 1
|
|
19499
|
-
}), u(
|
|
19493
|
+
}), u(ee, P, ne);
|
|
19500
19494
|
}
|
|
19501
|
-
return
|
|
19495
|
+
return ee;
|
|
19502
19496
|
}), { getMessageFromError: E } = os(), { axiosInstance: B } = ga((Z = r.config) == null ? void 0 : Z.axiosRequestConfig), j = J(() => {
|
|
19503
19497
|
var N, I;
|
|
19504
|
-
let
|
|
19505
|
-
return r.config.app === "konnect" ?
|
|
19498
|
+
let ee = `${r.config.apiBaseUrl}${Lt.form[r.config.app].pluginSchema}`;
|
|
19499
|
+
return r.config.app === "konnect" ? ee = ee.replace(/{controlPlaneId}/gi, ((N = r.config) == null ? void 0 : N.controlPlaneId) || "") : r.config.app === "kongManager" && (ee = ee.replace(/\/{workspace}/gi, (I = r.config) != null && I.workspace ? `/${r.config.workspace}` : "")), ee = ee.replace(/{plugin}/gi, r.config.pluginType), ee;
|
|
19506
19500
|
}), V = le({}), Y = le(!1), ie = le("");
|
|
19507
19501
|
return Yi(async () => {
|
|
19508
19502
|
Y.value = !0;
|
|
19509
19503
|
try {
|
|
19510
|
-
const { data:
|
|
19511
|
-
V.value =
|
|
19512
|
-
} catch (
|
|
19513
|
-
ie.value = E(
|
|
19504
|
+
const { data: ee } = await B.get(j.value);
|
|
19505
|
+
V.value = ee;
|
|
19506
|
+
} catch (ee) {
|
|
19507
|
+
ie.value = E(ee), n("error:fetch-schema", ee);
|
|
19514
19508
|
} finally {
|
|
19515
19509
|
Y.value = !1;
|
|
19516
19510
|
}
|
|
19517
|
-
}), (
|
|
19518
|
-
const I =
|
|
19519
|
-
return y(), O("div",
|
|
19511
|
+
}), (ee, N) => {
|
|
19512
|
+
const I = te("KSkeleton"), C = te("KEmptyState"), U = te("KCopy");
|
|
19513
|
+
return y(), O("div", R2, [
|
|
19520
19514
|
Y.value ? (y(), K(I, {
|
|
19521
19515
|
key: 0,
|
|
19522
19516
|
"data-testid": "plugin-config-card-loader",
|
|
@@ -19540,18 +19534,18 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19540
19534
|
"hide-title": e.hideTitle,
|
|
19541
19535
|
"plugin-config-key": Ro,
|
|
19542
19536
|
"plugin-config-schema": b.value,
|
|
19543
|
-
"onFetch:error": N[0] || (N[0] = (P) =>
|
|
19544
|
-
"onFetch:success": N[1] || (N[1] = (P) =>
|
|
19545
|
-
onLoading: N[2] || (N[2] = (P) =>
|
|
19537
|
+
"onFetch:error": N[0] || (N[0] = (P) => ee.$emit("fetch:error", P)),
|
|
19538
|
+
"onFetch:success": N[1] || (N[1] = (P) => ee.$emit("fetch:success", P)),
|
|
19539
|
+
onLoading: N[2] || (N[2] = (P) => ee.$emit("loading", P))
|
|
19546
19540
|
}, {
|
|
19547
19541
|
name: T((P) => [
|
|
19548
|
-
S("div",
|
|
19542
|
+
S("div", L2, [
|
|
19549
19543
|
X(ll, {
|
|
19550
19544
|
class: "plugin-icon",
|
|
19551
19545
|
name: R(d)("rowValue", P),
|
|
19552
19546
|
width: 24
|
|
19553
19547
|
}, null, 8, ["name"]),
|
|
19554
|
-
S("span",
|
|
19548
|
+
S("span", N2, W(R(l).getDisplayName(R(d)("rowValue", P))), 1)
|
|
19555
19549
|
])
|
|
19556
19550
|
]),
|
|
19557
19551
|
consumer: T((P) => [
|
|
@@ -19562,13 +19556,13 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19562
19556
|
value: R(d)("rowValue", P).id,
|
|
19563
19557
|
type: R(ze).LinkInternal
|
|
19564
19558
|
},
|
|
19565
|
-
onNavigationClick: () =>
|
|
19559
|
+
onNavigationClick: () => ee.$emit("navigation-click", R(d)("rowValue", P).id, "consumer")
|
|
19566
19560
|
}, null, 8, ["item", "onNavigationClick"])) : (y(), K(U, {
|
|
19567
19561
|
key: 2,
|
|
19568
19562
|
"copy-tooltip": R(s)("copy.tooltip", { label: R(d)("row", P).label }),
|
|
19569
19563
|
"data-testid": "consumer-copy-uuid",
|
|
19570
19564
|
text: R(d)("rowValue", P).id
|
|
19571
|
-
}, null, 8, ["copy-tooltip", "text"])) : (y(), O("span",
|
|
19565
|
+
}, null, 8, ["copy-tooltip", "text"])) : (y(), O("span", P2, "–"))
|
|
19572
19566
|
]),
|
|
19573
19567
|
route: T((P) => [
|
|
19574
19568
|
R(d)("rowValue", P) ? e.showIdAsLink ? (y(), K(R(Ra), {
|
|
@@ -19578,13 +19572,13 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19578
19572
|
value: R(d)("rowValue", P).id,
|
|
19579
19573
|
type: R(ze).LinkInternal
|
|
19580
19574
|
},
|
|
19581
|
-
onNavigationClick: () =>
|
|
19575
|
+
onNavigationClick: () => ee.$emit("navigation-click", R(d)("rowValue", P).id, "route")
|
|
19582
19576
|
}, null, 8, ["item", "onNavigationClick"])) : (y(), K(U, {
|
|
19583
19577
|
key: 2,
|
|
19584
19578
|
"copy-tooltip": R(s)("copy.tooltip", { label: R(d)("row", P).label }),
|
|
19585
19579
|
"data-testid": "route-copy-uuid",
|
|
19586
19580
|
text: R(d)("rowValue", P).id
|
|
19587
|
-
}, null, 8, ["copy-tooltip", "text"])) : (y(), O("span",
|
|
19581
|
+
}, null, 8, ["copy-tooltip", "text"])) : (y(), O("span", j2, "–"))
|
|
19588
19582
|
]),
|
|
19589
19583
|
service: T((P) => [
|
|
19590
19584
|
R(d)("rowValue", P) ? e.showIdAsLink ? (y(), K(R(Ra), {
|
|
@@ -19594,13 +19588,13 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19594
19588
|
value: R(d)("rowValue", P).id,
|
|
19595
19589
|
type: R(ze).LinkInternal
|
|
19596
19590
|
},
|
|
19597
|
-
onNavigationClick: () =>
|
|
19591
|
+
onNavigationClick: () => ee.$emit("navigation-click", R(d)("rowValue", P).id, "service")
|
|
19598
19592
|
}, null, 8, ["item", "onNavigationClick"])) : (y(), K(U, {
|
|
19599
19593
|
key: 2,
|
|
19600
19594
|
"copy-tooltip": R(s)("copy.tooltip", { label: R(d)("row", P).label }),
|
|
19601
19595
|
"data-testid": "service-copy-uuid",
|
|
19602
19596
|
text: R(d)("rowValue", P).id
|
|
19603
|
-
}, null, 8, ["copy-tooltip", "text"])) : (y(), O("span",
|
|
19597
|
+
}, null, 8, ["copy-tooltip", "text"])) : (y(), O("span", D2, "–"))
|
|
19604
19598
|
]),
|
|
19605
19599
|
consumer_group: T((P) => [
|
|
19606
19600
|
R(d)("rowValue", P) ? e.showIdAsLink ? (y(), K(R(Ra), {
|
|
@@ -19610,34 +19604,34 @@ const xT = /* @__PURE__ */ Ge(fT, [["render", MT], ["__scopeId", "data-v-e7395ff
|
|
|
19610
19604
|
value: R(d)("rowValue", P).id,
|
|
19611
19605
|
type: R(ze).LinkInternal
|
|
19612
19606
|
},
|
|
19613
|
-
onNavigationClick: () =>
|
|
19607
|
+
onNavigationClick: () => ee.$emit("navigation-click", R(d)("rowValue", P).id, "consumer_group")
|
|
19614
19608
|
}, null, 8, ["item", "onNavigationClick"])) : (y(), K(U, {
|
|
19615
19609
|
key: 2,
|
|
19616
19610
|
"copy-tooltip": R(s)("copy.tooltip", { label: R(d)("row", P).label }),
|
|
19617
19611
|
"data-testid": "consumer-group-copy-uuid",
|
|
19618
19612
|
text: R(d)("rowValue", P).id
|
|
19619
|
-
}, null, 8, ["copy-tooltip", "text"])) : (y(), O("span",
|
|
19613
|
+
}, null, 8, ["copy-tooltip", "text"])) : (y(), O("span", U2, "–"))
|
|
19620
19614
|
]),
|
|
19621
19615
|
_: 1
|
|
19622
19616
|
}, 8, ["config", "config-card-doc", "config-schema", "fetch-url", "hide-title", "plugin-config-schema"]))
|
|
19623
19617
|
]);
|
|
19624
19618
|
};
|
|
19625
19619
|
}
|
|
19626
|
-
}),
|
|
19620
|
+
}), eL = /* @__PURE__ */ Rn(Y2, [["__scopeId", "data-v-3e4f66ec"]]), { usePluginMetaData: tL } = bt;
|
|
19627
19621
|
export {
|
|
19628
19622
|
sa as EntityTypeIdField,
|
|
19629
19623
|
cI as PLUGIN_GROUPS_COLLAPSE_STATUS,
|
|
19630
|
-
|
|
19631
|
-
|
|
19624
|
+
eL as PluginConfigCard,
|
|
19625
|
+
Q2 as PluginForm,
|
|
19632
19626
|
ae as PluginGroup,
|
|
19633
19627
|
uI as PluginGroupArray,
|
|
19634
19628
|
ll as PluginIcon,
|
|
19635
|
-
|
|
19629
|
+
_2 as PluginList,
|
|
19636
19630
|
h as PluginScope,
|
|
19637
|
-
|
|
19631
|
+
$2 as PluginSelect,
|
|
19638
19632
|
Pd as PluginSelectGrid,
|
|
19639
19633
|
dn as VueFormGenerator,
|
|
19640
19634
|
HI as getPluginIconURL,
|
|
19641
19635
|
Lt as pluginEndpoints,
|
|
19642
|
-
|
|
19636
|
+
tL as usePluginMetaData
|
|
19643
19637
|
};
|