@kong-ui-public/entities-plugins 9.243.0 → 9.244.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/endpoints/plugins-endpoints.d.ts +5 -0
- package/dist/endpoints/plugins-endpoints.js +5 -0
- package/dist/entities-plugins.es.js +10560 -10222
- package/dist/entities-plugins.umd.js +124 -124
- package/dist/freeform/index.js +61 -53
- package/dist/style.css +1 -1
- package/dist/types/components/PluginFilter.vue.d.ts +27 -0
- package/dist/types/components/PluginFilter.vue.d.ts.map +1 -0
- package/dist/types/components/PluginList.vue.d.ts.map +1 -1
- package/dist/types/plugins-endpoints.d.ts +5 -0
- package/dist/types/plugins-endpoints.d.ts.map +1 -1
- package/dist/types/types/plugin-list.d.ts +11 -0
- package/dist/types/types/plugin-list.d.ts.map +1 -1
- package/package.json +13 -13
package/dist/freeform/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { toValue as K, computed as C, ref as le, readonly as _t, watch as X, onBeforeUnmount as At, reactive as tt, toRef as E, useSlots as ke, provide as Le, inject as Se, toRaw as at, onUnmounted as wt, defineComponent as N, useAttrs as ye, openBlock as w, createBlock as q, unref as r, mergeProps as W, createSlots as Y, renderList as se, withCtx as M, renderSlot as
|
|
1
|
+
import { toValue as K, computed as C, ref as le, readonly as _t, watch as X, onBeforeUnmount as At, reactive as tt, toRef as E, useSlots as ke, provide as Le, inject as Se, toRaw as at, onUnmounted as wt, defineComponent as N, useAttrs as ye, openBlock as w, createBlock as q, unref as r, mergeProps as W, createSlots as Y, renderList as se, withCtx as M, renderSlot as D, normalizeProps as Ne, guardReactiveProps as nt, createPropsRestProxy as ue, resolveComponent as F, withDirectives as Q, createElementBlock as j, createVNode as R, createElementVNode as U, resolveDynamicComponent as re, createCommentVNode as z, Fragment as ae, vShow as Z, useCssVars as kt, useTemplateRef as it, normalizeClass as Ie, createTextVNode as me, toDisplayString as de, withModifiers as qe, nextTick as Ve, Transition as St, useId as Tt, useModel as je, onBeforeMount as Ct, mergeModels as Ee, withKeys as Je } from "vue";
|
|
2
2
|
import { marked as Pt } from "marked";
|
|
3
3
|
import It from "dompurify";
|
|
4
4
|
import { get as ze, isEqual as he, omit as qt, cloneDeep as Ge, set as ot, isFunction as Xe, uniqueId as Lt, upperFirst as Mt } from "lodash-es";
|
|
@@ -6,7 +6,7 @@ import { createInjectionState as $t } from "@vueuse/core";
|
|
|
6
6
|
import { AUTOFILL_SLOT as rt } from "@kong-ui-public/forms";
|
|
7
7
|
import { createI18n as st, i18nTComponent as lt } from "@kong-ui-public/i18n";
|
|
8
8
|
import { KTextArea as xt, KInput as Rt, KCheckbox as Kt, KCard as Oe, KLabel as Vt, KMultiselect as jt, KSelect as Et, KInputSwitch as Ot } from "@kong/kongponents";
|
|
9
|
-
import { AddIcon as
|
|
9
|
+
import { AddIcon as De, CloseIcon as ut, TrashIcon as Dt, ChevronRightIcon as Ft } from "@kong/icons";
|
|
10
10
|
import { KUI_ICON_SIZE_30 as Bt } from "@kong/design-tokens";
|
|
11
11
|
function Ut(e) {
|
|
12
12
|
return e.map((c) => ({ value: c, label: `${c}` }));
|
|
@@ -15,7 +15,7 @@ const He = "*", We = "#", pe = "$", Me = ".";
|
|
|
15
15
|
function $(...e) {
|
|
16
16
|
return e.join(Me);
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Fe(...e) {
|
|
19
19
|
return $(pe, ...e);
|
|
20
20
|
}
|
|
21
21
|
function Ye(e) {
|
|
@@ -628,7 +628,7 @@ const mt = (e) => {
|
|
|
628
628
|
const c = Se(Qe, C(() => "")), t = C(() => {
|
|
629
629
|
const n = K(e);
|
|
630
630
|
let o = n;
|
|
631
|
-
return !Ye(n) && c.value && (o = $(c.value, n)), Ye(n) && (o = o.slice(
|
|
631
|
+
return !Ye(n) && c.value && (o = $(c.value, n)), Ye(n) && (o = o.slice(Fe("").length)), o;
|
|
632
632
|
});
|
|
633
633
|
return Le(Qe, t), t;
|
|
634
634
|
}, oa = (e) => {
|
|
@@ -922,7 +922,7 @@ const be = /* @__PURE__ */ N({
|
|
|
922
922
|
se(ke(), (s, u) => ({
|
|
923
923
|
name: u,
|
|
924
924
|
fn: M((m) => [
|
|
925
|
-
|
|
925
|
+
D(g.$slots, u, Ne(nt(m)))
|
|
926
926
|
])
|
|
927
927
|
}))
|
|
928
928
|
]), 1040, ["character-limit", "model-value", "resizable"]));
|
|
@@ -966,7 +966,7 @@ const be = /* @__PURE__ */ N({
|
|
|
966
966
|
}), m = C(() => ({ referenceable: u.value })), b = C(() => t["data-1p-ignore"] !== void 0 ? t["data-1p-ignore"] : fe(e.name) === "name");
|
|
967
967
|
return (y, v) => {
|
|
968
968
|
var I;
|
|
969
|
-
const A =
|
|
969
|
+
const A = F("KAlert");
|
|
970
970
|
return f.error ? (w(), q(A, {
|
|
971
971
|
key: 0,
|
|
972
972
|
appearance: "danger",
|
|
@@ -993,7 +993,7 @@ const be = /* @__PURE__ */ N({
|
|
|
993
993
|
(I = r(i).labelAttributes) != null && I.info ? {
|
|
994
994
|
name: "label-tooltip",
|
|
995
995
|
fn: M(() => [
|
|
996
|
-
|
|
996
|
+
D(y.$slots, "tooltip", {}, () => [
|
|
997
997
|
U("div", {
|
|
998
998
|
innerHTML: r(i).labelAttributes.info
|
|
999
999
|
}, null, 8, ha)
|
|
@@ -1004,7 +1004,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1004
1004
|
!(e.multiline && e.error) && y.$slots.help ? {
|
|
1005
1005
|
name: "help",
|
|
1006
1006
|
fn: M(() => [
|
|
1007
|
-
|
|
1007
|
+
D(y.$slots, "help", {}, void 0, !0)
|
|
1008
1008
|
]),
|
|
1009
1009
|
key: "1"
|
|
1010
1010
|
} : void 0,
|
|
@@ -1067,7 +1067,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1067
1067
|
}, i = oe(p.path, t);
|
|
1068
1068
|
return (h, g) => {
|
|
1069
1069
|
var s;
|
|
1070
|
-
const l =
|
|
1070
|
+
const l = F("KAlert");
|
|
1071
1071
|
return p.error ? (w(), q(l, {
|
|
1072
1072
|
key: 0,
|
|
1073
1073
|
appearance: "danger",
|
|
@@ -1082,7 +1082,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1082
1082
|
(s = r(i).labelAttributes) != null && s.info ? {
|
|
1083
1083
|
name: "tooltip",
|
|
1084
1084
|
fn: M(() => [
|
|
1085
|
-
|
|
1085
|
+
D(h.$slots, "tooltip", {}, () => [
|
|
1086
1086
|
U("div", {
|
|
1087
1087
|
innerHTML: r(i).labelAttributes.info
|
|
1088
1088
|
}, null, 8, ya)
|
|
@@ -1127,7 +1127,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1127
1127
|
g(l(h.value)) !== b && (h.value = b);
|
|
1128
1128
|
}, { immediate: !0 }), (m, b) => {
|
|
1129
1129
|
var v;
|
|
1130
|
-
const y =
|
|
1130
|
+
const y = F("KAlert");
|
|
1131
1131
|
return d.error ? (w(), q(y, {
|
|
1132
1132
|
key: 0,
|
|
1133
1133
|
appearance: "danger",
|
|
@@ -1147,7 +1147,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1147
1147
|
(v = r(f).labelAttributes) != null && v.info ? {
|
|
1148
1148
|
name: "label-tooltip",
|
|
1149
1149
|
fn: M(() => [
|
|
1150
|
-
|
|
1150
|
+
D(m.$slots, "tooltip", {}, () => [
|
|
1151
1151
|
U("div", {
|
|
1152
1152
|
innerHTML: r(f).labelAttributes.info
|
|
1153
1153
|
}, null, 8, Aa)
|
|
@@ -1223,7 +1223,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1223
1223
|
});
|
|
1224
1224
|
return (P, T) => {
|
|
1225
1225
|
var Ce;
|
|
1226
|
-
const x =
|
|
1226
|
+
const x = F("KAlert"), te = F("KLabel"), H = F("KButton"), J = F("KTooltip"), _e = F("KTabs");
|
|
1227
1227
|
return i.error ? (w(), q(x, {
|
|
1228
1228
|
key: 0,
|
|
1229
1229
|
appearance: "danger",
|
|
@@ -1256,7 +1256,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1256
1256
|
(Ce = r(h).labelAttributes) != null && Ce.info ? {
|
|
1257
1257
|
name: "tooltip",
|
|
1258
1258
|
fn: M(() => [
|
|
1259
|
-
|
|
1259
|
+
D(P.$slots, "tooltip", {}, () => [
|
|
1260
1260
|
U("div", {
|
|
1261
1261
|
innerHTML: r(h).labelAttributes.info
|
|
1262
1262
|
}, null, 8, Ta)
|
|
@@ -1274,7 +1274,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1274
1274
|
onClick: I
|
|
1275
1275
|
}, {
|
|
1276
1276
|
default: M(() => [
|
|
1277
|
-
R(r(
|
|
1277
|
+
R(r(De))
|
|
1278
1278
|
]),
|
|
1279
1279
|
_: 1
|
|
1280
1280
|
}, 8, ["aria-label", "data-testid"])) : z("", !0)
|
|
@@ -1292,7 +1292,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1292
1292
|
}, {
|
|
1293
1293
|
default: M(() => [
|
|
1294
1294
|
U("div", Pa, [
|
|
1295
|
-
P.$slots.item ?
|
|
1295
|
+
P.$slots.item ? D(P.$slots, "item", {
|
|
1296
1296
|
key: 0,
|
|
1297
1297
|
autofocus: !0,
|
|
1298
1298
|
fieldName: String(O),
|
|
@@ -1341,7 +1341,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1341
1341
|
onClick: I
|
|
1342
1342
|
}, {
|
|
1343
1343
|
default: M(() => [
|
|
1344
|
-
R(r(
|
|
1344
|
+
R(r(De)),
|
|
1345
1345
|
me(" " + de(r(o)("actions.add_entity", { entity: l.value })), 1)
|
|
1346
1346
|
]),
|
|
1347
1347
|
_: 1
|
|
@@ -1365,7 +1365,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1365
1365
|
"data-index": O,
|
|
1366
1366
|
"data-testid": `ff-array-item-${i.path.value}.${O}`
|
|
1367
1367
|
}, [
|
|
1368
|
-
P.$slots.item ?
|
|
1368
|
+
P.$slots.item ? D(P.$slots, "item", {
|
|
1369
1369
|
key: 0,
|
|
1370
1370
|
autofocus: !0,
|
|
1371
1371
|
fieldName: String(O),
|
|
@@ -1391,7 +1391,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1391
1391
|
onClick: qe((bt) => _(O), ["stop"])
|
|
1392
1392
|
}, {
|
|
1393
1393
|
default: M(() => [
|
|
1394
|
-
R(r(
|
|
1394
|
+
R(r(Dt))
|
|
1395
1395
|
]),
|
|
1396
1396
|
_: 1
|
|
1397
1397
|
}, 8, ["aria-label", "data-testid", "onClick"])
|
|
@@ -1473,7 +1473,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1473
1473
|
onLeave: h
|
|
1474
1474
|
}, {
|
|
1475
1475
|
default: M(() => [
|
|
1476
|
-
|
|
1476
|
+
D(l.$slots, "default", {}, void 0, !0)
|
|
1477
1477
|
]),
|
|
1478
1478
|
_: 3
|
|
1479
1479
|
}));
|
|
@@ -1514,7 +1514,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1514
1514
|
return Array.isArray(e.visibleFields) ? a.filter((p) => e.visibleFields.includes(p.split(".")[0])) : a;
|
|
1515
1515
|
}
|
|
1516
1516
|
return (a, p) => {
|
|
1517
|
-
const d =
|
|
1517
|
+
const d = F("KAlert");
|
|
1518
1518
|
return t.value ? (w(), q(d, {
|
|
1519
1519
|
key: 0,
|
|
1520
1520
|
"data-testid": "ff-entity-checks-alert"
|
|
@@ -1531,7 +1531,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1531
1531
|
})) : z("", !0);
|
|
1532
1532
|
};
|
|
1533
1533
|
}
|
|
1534
|
-
}), et = /* @__PURE__ */ G(Ra, [["__scopeId", "data-v-374c59bc"]]), Ka = ["data-testid"], Va = ["data-testid"], ja = ["data-testid"], Ea = { class: "ff-object-field-header-toggle" }, Oa = ["aria-controls", "aria-expanded", "aria-label", "data-testid", "disabled"],
|
|
1534
|
+
}), et = /* @__PURE__ */ G(Ra, [["__scopeId", "data-v-374c59bc"]]), Ka = ["data-testid"], Va = ["data-testid"], ja = ["data-testid"], Ea = { class: "ff-object-field-header-toggle" }, Oa = ["aria-controls", "aria-expanded", "aria-label", "data-testid", "disabled"], Da = ["innerHTML"], Fa = ["data-testid"], Ba = {
|
|
1535
1535
|
key: 0,
|
|
1536
1536
|
class: "indent-guide"
|
|
1537
1537
|
}, Ua = /* @__PURE__ */ N({
|
|
@@ -1604,7 +1604,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1604
1604
|
h.value = _, (u.value.required || _) && (g.value = !0);
|
|
1605
1605
|
}), (_, k) => {
|
|
1606
1606
|
var V;
|
|
1607
|
-
const S =
|
|
1607
|
+
const S = F("KAlert"), L = F("KInputSwitch");
|
|
1608
1608
|
return w(), j(ae, null, [
|
|
1609
1609
|
(w(), q(re(_.$slots[r(Te)]))),
|
|
1610
1610
|
a.error ? (w(), q(S, {
|
|
@@ -1617,7 +1617,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1617
1617
|
}, _.$attrs, {
|
|
1618
1618
|
"data-testid": `ff-object-${a.path.value}`
|
|
1619
1619
|
}), [
|
|
1620
|
-
|
|
1620
|
+
D(_.$slots, "default", {}, () => {
|
|
1621
1621
|
var B;
|
|
1622
1622
|
return [
|
|
1623
1623
|
R(et, {
|
|
@@ -1652,7 +1652,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1652
1652
|
type: "button",
|
|
1653
1653
|
onClick: qe(A, ["prevent", "stop"])
|
|
1654
1654
|
}, [
|
|
1655
|
-
R(r(
|
|
1655
|
+
R(r(Ft), {
|
|
1656
1656
|
class: Ie(["ff-object-field-toggle-btn-trigger-icon", { "collapse-expanded": g.value }]),
|
|
1657
1657
|
"data-testid": `ff-object-toggle-trigger-icon-${a.path.value}`,
|
|
1658
1658
|
decorative: "",
|
|
@@ -1677,10 +1677,10 @@ const be = /* @__PURE__ */ N({
|
|
|
1677
1677
|
(V = r(u).labelAttributes) != null && V.info ? {
|
|
1678
1678
|
name: "tooltip",
|
|
1679
1679
|
fn: M(() => [
|
|
1680
|
-
|
|
1680
|
+
D(_.$slots, "tooltip", {}, () => [
|
|
1681
1681
|
U("div", {
|
|
1682
1682
|
innerHTML: r(u).labelAttributes.info
|
|
1683
|
-
}, null, 8,
|
|
1683
|
+
}, null, 8, Da)
|
|
1684
1684
|
], !0)
|
|
1685
1685
|
]),
|
|
1686
1686
|
key: "0"
|
|
@@ -1704,7 +1704,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1704
1704
|
class: "ff-object-field-content",
|
|
1705
1705
|
"data-testid": `ff-object-content-${a.path.value}`
|
|
1706
1706
|
}, [
|
|
1707
|
-
|
|
1707
|
+
D(_.$slots, "default", {}, () => {
|
|
1708
1708
|
var B;
|
|
1709
1709
|
return [
|
|
1710
1710
|
R(et, {
|
|
@@ -1717,7 +1717,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1717
1717
|
}, null, 8, ["name"]))), 128))
|
|
1718
1718
|
];
|
|
1719
1719
|
}, !0)
|
|
1720
|
-
], 8,
|
|
1720
|
+
], 8, Fa)) : z("", !0)
|
|
1721
1721
|
]),
|
|
1722
1722
|
_: 3
|
|
1723
1723
|
}),
|
|
@@ -1787,7 +1787,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1787
1787
|
}), y = C(() => b.value ? "text" : "number");
|
|
1788
1788
|
return (v, A) => {
|
|
1789
1789
|
var _;
|
|
1790
|
-
const I =
|
|
1790
|
+
const I = F("KAlert");
|
|
1791
1791
|
return a.error ? (w(), q(I, {
|
|
1792
1792
|
key: 0,
|
|
1793
1793
|
appearance: "danger",
|
|
@@ -1807,7 +1807,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1807
1807
|
(_ = r(p).labelAttributes) != null && _.info ? {
|
|
1808
1808
|
name: "label-tooltip",
|
|
1809
1809
|
fn: M(() => [
|
|
1810
|
-
|
|
1810
|
+
D(v.$slots, "tooltip", {}, () => [
|
|
1811
1811
|
U("div", {
|
|
1812
1812
|
innerHTML: r(p).labelAttributes.info
|
|
1813
1813
|
}, null, 8, Ha)
|
|
@@ -1889,7 +1889,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1889
1889
|
}), s = C(() => l.value ? jt : Et);
|
|
1890
1890
|
return (u, m) => {
|
|
1891
1891
|
var y;
|
|
1892
|
-
const b =
|
|
1892
|
+
const b = F("KAlert");
|
|
1893
1893
|
return d.error ? (w(), q(b, {
|
|
1894
1894
|
key: 0,
|
|
1895
1895
|
appearance: "danger",
|
|
@@ -1910,7 +1910,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1910
1910
|
"tooltip" in u.$slots || (y = r(f).labelAttributes) != null && y.info ? {
|
|
1911
1911
|
name: "label-tooltip",
|
|
1912
1912
|
fn: M(() => [
|
|
1913
|
-
|
|
1913
|
+
D(u.$slots, "tooltip", {}, () => [
|
|
1914
1914
|
U("div", {
|
|
1915
1915
|
innerHTML: r(f).labelAttributes.info
|
|
1916
1916
|
}, null, 8, Ga)
|
|
@@ -1921,7 +1921,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1921
1921
|
u.$slots["item-label"] ? {
|
|
1922
1922
|
name: "item-template",
|
|
1923
1923
|
fn: M(({ item: v }) => [
|
|
1924
|
-
|
|
1924
|
+
D(u.$slots, "item-label", Ne(nt(v)), void 0, !0)
|
|
1925
1925
|
]),
|
|
1926
1926
|
key: "1"
|
|
1927
1927
|
} : void 0
|
|
@@ -1965,7 +1965,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1965
1965
|
i.value = l || "";
|
|
1966
1966
|
}, { immediate: !0 }), (l, s) => {
|
|
1967
1967
|
var m;
|
|
1968
|
-
const u =
|
|
1968
|
+
const u = F("KAlert");
|
|
1969
1969
|
return d.error ? (w(), q(u, {
|
|
1970
1970
|
key: 0,
|
|
1971
1971
|
appearance: "danger",
|
|
@@ -1986,7 +1986,7 @@ const be = /* @__PURE__ */ N({
|
|
|
1986
1986
|
(m = r(f).labelAttributes) != null && m.info ? {
|
|
1987
1987
|
name: "label-tooltip",
|
|
1988
1988
|
fn: M(() => [
|
|
1989
|
-
|
|
1989
|
+
D(l.$slots, "tooltip", {}, () => [
|
|
1990
1990
|
U("div", {
|
|
1991
1991
|
innerHTML: r(f).labelAttributes.info
|
|
1992
1992
|
}, null, 8, Qa)
|
|
@@ -2047,7 +2047,7 @@ const be = /* @__PURE__ */ N({
|
|
|
2047
2047
|
(y = r(i).labelAttributes) != null && y.info ? {
|
|
2048
2048
|
name: "label-tooltip",
|
|
2049
2049
|
fn: M(() => [
|
|
2050
|
-
|
|
2050
|
+
D(m.$slots, "tooltip", {}, () => [
|
|
2051
2051
|
U("div", {
|
|
2052
2052
|
innerHTML: r(i).labelAttributes.info
|
|
2053
2053
|
}, null, 8, tn)
|
|
@@ -2107,7 +2107,7 @@ const be = /* @__PURE__ */ N({
|
|
|
2107
2107
|
}
|
|
2108
2108
|
return (k, S) => {
|
|
2109
2109
|
var T;
|
|
2110
|
-
const L =
|
|
2110
|
+
const L = F("KAlert"), V = F("KLabel"), B = F("KButton"), P = F("KTooltip");
|
|
2111
2111
|
return r(i).error ? (w(), q(L, {
|
|
2112
2112
|
key: 0,
|
|
2113
2113
|
appearance: "danger",
|
|
@@ -2137,7 +2137,7 @@ const be = /* @__PURE__ */ N({
|
|
|
2137
2137
|
(T = r(g).labelAttributes) != null && T.info ? {
|
|
2138
2138
|
name: "tooltip",
|
|
2139
2139
|
fn: M(() => [
|
|
2140
|
-
|
|
2140
|
+
D(k.$slots, "tooltip", {}, () => [
|
|
2141
2141
|
U("div", {
|
|
2142
2142
|
innerHTML: r(g).labelAttributes.info
|
|
2143
2143
|
}, null, 8, sn)
|
|
@@ -2166,7 +2166,7 @@ const be = /* @__PURE__ */ N({
|
|
|
2166
2166
|
onKeydown: Je(qe((J) => A(H), ["prevent"]), ["enter"]),
|
|
2167
2167
|
"onUpdate:modelValue": (J) => r(p)(x, J)
|
|
2168
2168
|
}, null, 8, ["data-key-input", "data-testid", "model-value", "placeholder", "onKeydown", "onUpdate:modelValue"]),
|
|
2169
|
-
|
|
2169
|
+
D(k.$slots, "default", { keyId: x }, () => {
|
|
2170
2170
|
var J, _e;
|
|
2171
2171
|
return [
|
|
2172
2172
|
m.value ? (w(), q(yt, {
|
|
@@ -2212,7 +2212,7 @@ const be = /* @__PURE__ */ N({
|
|
|
2212
2212
|
onClick: I
|
|
2213
2213
|
}, {
|
|
2214
2214
|
default: M(() => [
|
|
2215
|
-
R(r(
|
|
2215
|
+
R(r(De)),
|
|
2216
2216
|
me(" " + de(r(t).t("actions.add_entity", { entity: r(h) })), 1)
|
|
2217
2217
|
]),
|
|
2218
2218
|
_: 1
|
|
@@ -2259,7 +2259,7 @@ const be = /* @__PURE__ */ N({
|
|
|
2259
2259
|
}
|
|
2260
2260
|
});
|
|
2261
2261
|
return (o, a) => {
|
|
2262
|
-
const p =
|
|
2262
|
+
const p = F("KAlert");
|
|
2263
2263
|
return w(), j(ae, null, [
|
|
2264
2264
|
(w(), q(re(o.$slots[r(Te)]))),
|
|
2265
2265
|
r(t).error ? (w(), q(p, {
|
|
@@ -2269,19 +2269,19 @@ const be = /* @__PURE__ */ N({
|
|
|
2269
2269
|
}, null, 8, ["message"])) : r(t).renderer.value ? (w(), q(re(r(t).renderer.value), {
|
|
2270
2270
|
key: 1,
|
|
2271
2271
|
autofocus: c.autofocus,
|
|
2272
|
-
name:
|
|
2272
|
+
name: Fe(r(t).path.value),
|
|
2273
2273
|
onGlobalAction: a[0] || (a[0] = (d, f) => o.$emit("globalAction", d, f))
|
|
2274
2274
|
}, null, 40, ["autofocus", "name"])) : (w(), j(ae, { key: 2 }, [
|
|
2275
2275
|
n.value ? (w(), q(re(n.value), {
|
|
2276
2276
|
key: 0,
|
|
2277
2277
|
autofocus: c.autofocus,
|
|
2278
|
-
name:
|
|
2278
|
+
name: Fe(r(t).path.value)
|
|
2279
2279
|
}, null, 8, ["autofocus", "name"])) : (w(), q(p, {
|
|
2280
2280
|
key: 1,
|
|
2281
2281
|
appearance: "warning",
|
|
2282
2282
|
message: `${r(t).path.value} ${r(t).schema.value.type} (no renderer yet)`
|
|
2283
2283
|
}, null, 8, ["message"])),
|
|
2284
|
-
|
|
2284
|
+
D(o.$slots, "default")
|
|
2285
2285
|
], 64))
|
|
2286
2286
|
], 64);
|
|
2287
2287
|
};
|
|
@@ -2318,7 +2318,7 @@ const be = /* @__PURE__ */ N({
|
|
|
2318
2318
|
}), (g, l) => (w(), q(re(e.tag), null, {
|
|
2319
2319
|
default: M(() => [
|
|
2320
2320
|
(w(), q(re(r(o)[r(Te)]))),
|
|
2321
|
-
|
|
2321
|
+
D(g.$slots, "default", {}, () => [
|
|
2322
2322
|
(w(!0), j(ae, null, se(h.value, (s) => (w(), q(ge, {
|
|
2323
2323
|
key: Object.keys(s)[0],
|
|
2324
2324
|
name: Object.keys(s)[0],
|
|
@@ -2329,7 +2329,7 @@ const be = /* @__PURE__ */ N({
|
|
|
2329
2329
|
_: 3
|
|
2330
2330
|
}));
|
|
2331
2331
|
}
|
|
2332
|
-
}),
|
|
2332
|
+
}), Dn = /* @__PURE__ */ N({
|
|
2333
2333
|
__name: "FieldRenderer",
|
|
2334
2334
|
props: {
|
|
2335
2335
|
match: { type: Function },
|
|
@@ -2350,6 +2350,7 @@ const be = /* @__PURE__ */ N({
|
|
|
2350
2350
|
edit: "Edit",
|
|
2351
2351
|
enable: "Enable",
|
|
2352
2352
|
enabled: "Enabled",
|
|
2353
|
+
disable: "Disable",
|
|
2353
2354
|
delete: "Delete",
|
|
2354
2355
|
disabled: "Disabled",
|
|
2355
2356
|
confirm_delete: "Yes, delete",
|
|
@@ -2384,12 +2385,16 @@ const be = /* @__PURE__ */ N({
|
|
|
2384
2385
|
exact: "Filter by exact instance name or ID",
|
|
2385
2386
|
kongManager: "Filter by exact instance name or ID",
|
|
2386
2387
|
select: "Filter plugins",
|
|
2387
|
-
search_plugins: "Search plugins"
|
|
2388
|
+
search_plugins: "Search plugins",
|
|
2389
|
+
search: "Search",
|
|
2390
|
+
tags_filter: "Type part of a tag and press Enter",
|
|
2391
|
+
scope_filter: "Select a scope"
|
|
2388
2392
|
},
|
|
2389
2393
|
filter: {
|
|
2390
2394
|
field: {
|
|
2391
2395
|
enabled: "Enabled"
|
|
2392
|
-
}
|
|
2396
|
+
},
|
|
2397
|
+
tags_invalid: "Tags can't contain commas, slashes, or leading/trailing spaces"
|
|
2393
2398
|
},
|
|
2394
2399
|
no_results: 'No results found for "{filter}"'
|
|
2395
2400
|
}, gn = {
|
|
@@ -2410,8 +2415,11 @@ const be = /* @__PURE__ */ N({
|
|
|
2410
2415
|
consumer_group: "Consumer group"
|
|
2411
2416
|
},
|
|
2412
2417
|
id: "ID",
|
|
2418
|
+
plugin: "Plugin",
|
|
2413
2419
|
name: "Name",
|
|
2414
2420
|
instance_name: "Instance name",
|
|
2421
|
+
scope: "Scope",
|
|
2422
|
+
status: "Status",
|
|
2415
2423
|
ordering: "Ordering",
|
|
2416
2424
|
ordering_badge: {
|
|
2417
2425
|
dynamic: "Dynamic",
|
|
@@ -3764,7 +3772,7 @@ const Tn = ["data-testid"], Cn = /* @__PURE__ */ N({
|
|
|
3764
3772
|
o.value = g, f("update:modelValue", g);
|
|
3765
3773
|
}, h = oe(d.path, n);
|
|
3766
3774
|
return (g, l) => {
|
|
3767
|
-
const s =
|
|
3775
|
+
const s = F("KAlert");
|
|
3768
3776
|
return d.error ? (w(), q(s, {
|
|
3769
3777
|
key: 0,
|
|
3770
3778
|
appearance: "danger",
|
|
@@ -3788,7 +3796,7 @@ const Tn = ["data-testid"], Cn = /* @__PURE__ */ N({
|
|
|
3788
3796
|
]);
|
|
3789
3797
|
};
|
|
3790
3798
|
}
|
|
3791
|
-
}),
|
|
3799
|
+
}), Fn = /* @__PURE__ */ G(Cn, [["__scopeId", "data-v-0b4c3942"]]);
|
|
3792
3800
|
export {
|
|
3793
3801
|
La as ArrayField,
|
|
3794
3802
|
ba as BooleanField,
|
|
@@ -3798,7 +3806,7 @@ export {
|
|
|
3798
3806
|
Be as FIELD_RENDERER_SLOTS,
|
|
3799
3807
|
Ze as FIELD_RESET_LABEL_PATH_SETTING,
|
|
3800
3808
|
ge as Field,
|
|
3801
|
-
|
|
3809
|
+
Dn as FieldRenderer,
|
|
3802
3810
|
nn as ForeignField,
|
|
3803
3811
|
On as Form,
|
|
3804
3812
|
en as JsonField,
|
|
@@ -3807,7 +3815,7 @@ export {
|
|
|
3807
3815
|
Na as ObjectField,
|
|
3808
3816
|
vt as StringArrayField,
|
|
3809
3817
|
yt as StringField,
|
|
3810
|
-
|
|
3818
|
+
Fn as SwitchField,
|
|
3811
3819
|
Ht as buildAncestor,
|
|
3812
3820
|
xe as buildArraySchemaMap,
|
|
3813
3821
|
Re as buildMapSchemaMap,
|