@kong-ui-public/entities-plugins 9.24.2 → 9.25.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.
|
@@ -15986,7 +15986,32 @@ const Mx = { class: "ff-form-section" }, Sx = { class: "header" }, kx = {
|
|
|
15986
15986
|
}), Yx = /* @__PURE__ */ Ve(Hx, [["__scopeId", "data-v-c35fb0e2"]]), Nx = {
|
|
15987
15987
|
ref: "editor-root",
|
|
15988
15988
|
class: "editor"
|
|
15989
|
-
}, er = "YAML Syntax", Vx =
|
|
15989
|
+
}, er = "YAML Syntax", Vx = `# Example YAML configuration
|
|
15990
|
+
|
|
15991
|
+
# debug: true
|
|
15992
|
+
# nodes:
|
|
15993
|
+
# - name: API1
|
|
15994
|
+
# type: call
|
|
15995
|
+
# url: https://example.com/api1
|
|
15996
|
+
# - name: API2
|
|
15997
|
+
# type: call
|
|
15998
|
+
# url: https://example.com/api2
|
|
15999
|
+
# - name: JOIN
|
|
16000
|
+
# inputs:
|
|
16001
|
+
# api1: API1.body
|
|
16002
|
+
# api2: API2.body
|
|
16003
|
+
# jq: |
|
|
16004
|
+
# {
|
|
16005
|
+
# "api1_fact": .api1.fact,
|
|
16006
|
+
# "api2_fact": .api2.fact,
|
|
16007
|
+
# }
|
|
16008
|
+
# type: jq
|
|
16009
|
+
# - name: EXIT
|
|
16010
|
+
# type: exit
|
|
16011
|
+
# inputs:
|
|
16012
|
+
# body: JOIN
|
|
16013
|
+
# status: 200
|
|
16014
|
+
`, Kx = /* @__PURE__ */ de({
|
|
15990
16015
|
__name: "DatakitForm",
|
|
15991
16016
|
props: {
|
|
15992
16017
|
schema: {},
|
|
@@ -16012,10 +16037,12 @@ const Mx = { class: "ff-form-section" }, Sx = { class: "header" }, kx = {
|
|
|
16012
16037
|
tabSize: 2,
|
|
16013
16038
|
scrollbar: {
|
|
16014
16039
|
alwaysConsumeMouseWheel: !1
|
|
16015
|
-
}
|
|
16016
|
-
|
|
16017
|
-
|
|
16018
|
-
|
|
16040
|
+
},
|
|
16041
|
+
autoIndent: "keep"
|
|
16042
|
+
}), t.isEditing ? i.value.setValue(Sl.dump(zd(t.model.config), {
|
|
16043
|
+
schema: Ur,
|
|
16044
|
+
noArrayIndent: !0
|
|
16045
|
+
})) : i.value.setValue(Vx), i.value.onDidChangeModelContent(() => {
|
|
16019
16046
|
var o, s;
|
|
16020
16047
|
const a = i.value.getModel(), r = i.value.getValue() || "";
|
|
16021
16048
|
try {
|
|
@@ -16059,23 +16086,23 @@ const Mx = { class: "ff-form-section" }, Sx = { class: "header" }, kx = {
|
|
|
16059
16086
|
_: 1
|
|
16060
16087
|
}, 16));
|
|
16061
16088
|
}
|
|
16062
|
-
}),
|
|
16089
|
+
}), zx = /* @__PURE__ */ Ve(Kx, [["__scopeId", "data-v-5a23c07d"]]), Ud = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16063
16090
|
__proto__: null,
|
|
16064
|
-
DatakitForm:
|
|
16091
|
+
DatakitForm: zx,
|
|
16065
16092
|
RequestCalloutForm: ok,
|
|
16066
16093
|
ServiceProtectionForm: ck
|
|
16067
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
16094
|
+
}, Symbol.toStringTag, { value: "Module" })), Qx = { class: "kong-ui-entities-plugin-form" }, Xx = {
|
|
16068
16095
|
key: 1,
|
|
16069
16096
|
class: "entity-form"
|
|
16070
|
-
},
|
|
16097
|
+
}, qx = { class: "plugin-config-empty-state" }, Tl = Object.keys(qc), xl = Object.keys(Ud);
|
|
16071
16098
|
if ((/* @__PURE__ */ new Set([...Tl, ...xl])).size !== Tl.length + xl.length)
|
|
16072
16099
|
throw new Error(
|
|
16073
16100
|
"Duplicate form component names found in `sharedForms` and `freeForm`"
|
|
16074
16101
|
);
|
|
16075
|
-
const
|
|
16102
|
+
const Jx = de({
|
|
16076
16103
|
components: { ...qc, ...Ud }
|
|
16077
|
-
}),
|
|
16078
|
-
...
|
|
16104
|
+
}), Wx = /* @__PURE__ */ de({
|
|
16105
|
+
...Jx,
|
|
16079
16106
|
__name: "PluginEntityForm",
|
|
16080
16107
|
props: {
|
|
16081
16108
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -16360,11 +16387,11 @@ const qx = de({
|
|
|
16360
16387
|
var pe;
|
|
16361
16388
|
const se = Y("KSkeleton"), he = Y("VueFormGenerator");
|
|
16362
16389
|
return f(), S(fe, null, [
|
|
16363
|
-
I("div",
|
|
16390
|
+
I("div", Qx, [
|
|
16364
16391
|
K.value ? (f(), T(se, {
|
|
16365
16392
|
key: 0,
|
|
16366
16393
|
type: "form"
|
|
16367
|
-
})) : b.id && e.editing || !e.editing ? (f(), S("div",
|
|
16394
|
+
})) : b.id && e.editing || !e.editing ? (f(), S("div", Xx, [
|
|
16368
16395
|
B.value ? (f(), T(Se(B.value), {
|
|
16369
16396
|
key: 0,
|
|
16370
16397
|
"form-model": b,
|
|
@@ -16415,7 +16442,7 @@ const qx = de({
|
|
|
16415
16442
|
onShowNewPartialModal: W[0] || (W[0] = (ye) => oe.$emit("showNewPartialModal", ye))
|
|
16416
16443
|
}, it({
|
|
16417
16444
|
"plugin-config-empty-state": C(() => [
|
|
16418
|
-
I("div",
|
|
16445
|
+
I("div", qx, V(g(m)("plugins.form.grouping.plugin_configuration.empty")), 1)
|
|
16419
16446
|
]),
|
|
16420
16447
|
_: 2
|
|
16421
16448
|
}, [
|
|
@@ -16447,7 +16474,7 @@ const qx = de({
|
|
|
16447
16474
|
], 64);
|
|
16448
16475
|
};
|
|
16449
16476
|
}
|
|
16450
|
-
}),
|
|
16477
|
+
}), Zx = /* @__PURE__ */ Ve(Wx, [["__scopeId", "data-v-0288919d"]]), _x = { key: 1 }, $x = /* @__PURE__ */ de({
|
|
16451
16478
|
__name: "PluginFormActionsWrapper",
|
|
16452
16479
|
props: {
|
|
16453
16480
|
teleportTarget: {
|
|
@@ -16461,11 +16488,11 @@ const qx = de({
|
|
|
16461
16488
|
to: e.teleportTarget
|
|
16462
16489
|
}, [
|
|
16463
16490
|
xe(t.$slots, "default")
|
|
16464
|
-
], 8, ["to"])) : (f(), S("div",
|
|
16491
|
+
], 8, ["to"])) : (f(), S("div", _x, [
|
|
16465
16492
|
xe(t.$slots, "default")
|
|
16466
16493
|
]));
|
|
16467
16494
|
}
|
|
16468
|
-
}),
|
|
16495
|
+
}), e1 = Symbol("redis-partial-info"), t1 = { class: "kong-ui-entities-plugin-form-container" }, n1 = { key: 0 }, i1 = { class: "plugin-form-actions" }, a1 = /* @__PURE__ */ de({
|
|
16469
16496
|
__name: "PluginForm",
|
|
16470
16497
|
props: {
|
|
16471
16498
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -16562,7 +16589,7 @@ const qx = de({
|
|
|
16562
16589
|
credential: i.credential,
|
|
16563
16590
|
experimentalRenders: i.config.app === "konnect" ? i.config.experimentalRenders : void 0
|
|
16564
16591
|
}), { formatPluginFieldLabel: l } = Xe.usePluginHelpers(), { getMessageFromError: u } = Ji(), { capitalize: d } = wa(), { objectsAreEqual: c } = Ea(), { axiosInstance: A } = _t((re = i.config) == null ? void 0 : re.axiosRequestConfig), m = Q(!1), w = x(() => !!i.pluginId), v = x(() => i.pluginId ? En.Edit : En.Create), y = Q(void 0), E = Q(void 0), R = x(() => !!(i.credential && i.config.entityId)), B = Q(void 0), P = Q({}), F = Q(), h = Q();
|
|
16565
|
-
tt(
|
|
16592
|
+
tt(e1, {
|
|
16566
16593
|
redisType: F,
|
|
16567
16594
|
redisPath: h,
|
|
16568
16595
|
isEditing: w.value
|
|
@@ -17041,7 +17068,7 @@ const qx = de({
|
|
|
17041
17068
|
}
|
|
17042
17069
|
}), (G, z) => {
|
|
17043
17070
|
const k = Y("KSkeleton"), be = Y("KEmptyState"), ge = Y("KButton"), Re = Y("KTabs"), le = Y("KSlideout");
|
|
17044
|
-
return f(), S("div",
|
|
17071
|
+
return f(), S("div", t1, [
|
|
17045
17072
|
Ot.value ? (f(), T(k, {
|
|
17046
17073
|
key: 0,
|
|
17047
17074
|
type: "form"
|
|
@@ -17073,12 +17100,12 @@ const qx = de({
|
|
|
17073
17100
|
onLoading: z[4] || (z[4] = (ve) => G.$emit("loading", ve))
|
|
17074
17101
|
}, {
|
|
17075
17102
|
"form-actions": C(() => [
|
|
17076
|
-
e.isWizardStep ? (f(), S("div",
|
|
17103
|
+
e.isWizardStep ? (f(), S("div", n1)) : (f(), T($x, {
|
|
17077
17104
|
key: 1,
|
|
17078
17105
|
"teleport-target": e.actionsTeleportTarget
|
|
17079
17106
|
}, {
|
|
17080
17107
|
default: C(() => [
|
|
17081
|
-
I("div",
|
|
17108
|
+
I("div", i1, [
|
|
17082
17109
|
e.hideViewConfigAction ? _("", !0) : (f(), T(ge, {
|
|
17083
17110
|
key: 0,
|
|
17084
17111
|
appearance: "tertiary",
|
|
@@ -17124,7 +17151,7 @@ const qx = de({
|
|
|
17124
17151
|
hidden: "",
|
|
17125
17152
|
onSubmit: on
|
|
17126
17153
|
}, null, 32),
|
|
17127
|
-
M(
|
|
17154
|
+
M(Zx, {
|
|
17128
17155
|
config: e.config,
|
|
17129
17156
|
credential: R.value,
|
|
17130
17157
|
editing: v.value === g(En).Edit,
|
|
@@ -17183,7 +17210,7 @@ const qx = de({
|
|
|
17183
17210
|
]);
|
|
17184
17211
|
};
|
|
17185
17212
|
}
|
|
17186
|
-
}),
|
|
17213
|
+
}), dP = /* @__PURE__ */ Ve(a1, [["__scopeId", "data-v-db714491"]]), r1 = ["alt", "height", "src", "width"], Ro = /* @__PURE__ */ de({
|
|
17187
17214
|
__name: "PluginIcon",
|
|
17188
17215
|
props: {
|
|
17189
17216
|
name: {
|
|
@@ -17214,18 +17241,18 @@ const qx = de({
|
|
|
17214
17241
|
src: i.value,
|
|
17215
17242
|
width: e.size,
|
|
17216
17243
|
onError: a
|
|
17217
|
-
}, null, 40,
|
|
17244
|
+
}, null, 40, r1));
|
|
17218
17245
|
}
|
|
17219
|
-
}),
|
|
17246
|
+
}), o1 = "#00abd2", s1 = "16px", l1 = "24px", c1 = { class: "kong-ui-entities-plugins-list" }, u1 = { class: "button-row" }, d1 = { class: "empty-state-icon-gateway" }, p1 = { class: "name-cell-wrapper" }, A1 = { class: "info-wrapper" }, g1 = {
|
|
17220
17247
|
key: 0,
|
|
17221
17248
|
class: "info-name"
|
|
17222
|
-
},
|
|
17249
|
+
}, f1 = {
|
|
17223
17250
|
key: 1,
|
|
17224
17251
|
class: "info-name"
|
|
17225
|
-
},
|
|
17252
|
+
}, m1 = {
|
|
17226
17253
|
key: 2,
|
|
17227
17254
|
class: "info-type"
|
|
17228
|
-
},
|
|
17255
|
+
}, h1 = { key: 1 }, v1 = /* @__PURE__ */ de({
|
|
17229
17256
|
__name: "PluginList",
|
|
17230
17257
|
props: {
|
|
17231
17258
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17483,7 +17510,7 @@ const qx = de({
|
|
|
17483
17510
|
await a.canCreate() && (jt.value.title = r("plugins.list.empty_state.title"), jt.value.ctaText = r("actions.create"));
|
|
17484
17511
|
}), (te, re) => {
|
|
17485
17512
|
const G = Y("KButton"), z = Y("KBadge"), k = Y("KTruncate"), be = Y("KInputSwitch"), ge = Y("KDropdownItem"), Re = Y("KClipboardProvider");
|
|
17486
|
-
return f(), S("div",
|
|
17513
|
+
return f(), S("div", c1, [
|
|
17487
17514
|
M(g(np), {
|
|
17488
17515
|
"cache-identifier": e.cacheIdentifier,
|
|
17489
17516
|
"disable-sorting": y.value,
|
|
@@ -17515,7 +17542,7 @@ const qx = de({
|
|
|
17515
17542
|
disabled: !e.useActionOutside,
|
|
17516
17543
|
to: "#kong-ui-app-page-header-action-button"
|
|
17517
17544
|
}, [
|
|
17518
|
-
I("div",
|
|
17545
|
+
I("div", u1, [
|
|
17519
17546
|
!A.value && d.value ? (f(), T(G, {
|
|
17520
17547
|
key: 0,
|
|
17521
17548
|
appearance: "secondary",
|
|
@@ -17552,15 +17579,15 @@ const qx = de({
|
|
|
17552
17579
|
], 8, ["disabled"]))
|
|
17553
17580
|
]),
|
|
17554
17581
|
name: C(({ row: le }) => [
|
|
17555
|
-
I("div",
|
|
17582
|
+
I("div", p1, [
|
|
17556
17583
|
M(Ro, {
|
|
17557
17584
|
class: "plugin-icon",
|
|
17558
17585
|
name: le.name,
|
|
17559
17586
|
size: 24
|
|
17560
17587
|
}, null, 8, ["name"]),
|
|
17561
|
-
I("div",
|
|
17562
|
-
le.instance_name ? (f(), S("span",
|
|
17563
|
-
le.instance_name ? (f(), S("span",
|
|
17588
|
+
I("div", A1, [
|
|
17589
|
+
le.instance_name ? (f(), S("span", g1, V(le.instance_name), 1)) : (f(), S("span", f1, V(g(n).getDisplayName(le.name)), 1)),
|
|
17590
|
+
le.instance_name ? (f(), S("span", m1, V(g(n).getDisplayName(le.name)), 1)) : _("", !0)
|
|
17564
17591
|
])
|
|
17565
17592
|
])
|
|
17566
17593
|
]),
|
|
@@ -17587,7 +17614,7 @@ const qx = de({
|
|
|
17587
17614
|
}, 1032, ["auth-function"]))), 128))
|
|
17588
17615
|
]),
|
|
17589
17616
|
_: 2
|
|
17590
|
-
}, 1024)) : (f(), S("span",
|
|
17617
|
+
}, 1024)) : (f(), S("span", h1, "-"))
|
|
17591
17618
|
]),
|
|
17592
17619
|
enabled: C(({ row: le }) => [
|
|
17593
17620
|
M(g(Cn), {
|
|
@@ -17752,10 +17779,10 @@ const qx = de({
|
|
|
17752
17779
|
"onClick:learnMore": re[3] || (re[3] = (ve) => te.$emit("click:learn-more"))
|
|
17753
17780
|
}, it({
|
|
17754
17781
|
image: C(() => [
|
|
17755
|
-
I("div",
|
|
17782
|
+
I("div", d1, [
|
|
17756
17783
|
M(g(pp), {
|
|
17757
|
-
color: g(
|
|
17758
|
-
size: g(
|
|
17784
|
+
color: g(o1),
|
|
17785
|
+
size: g(l1)
|
|
17759
17786
|
}, null, 8, ["color", "size"])
|
|
17760
17787
|
])
|
|
17761
17788
|
]),
|
|
@@ -17798,13 +17825,13 @@ const qx = de({
|
|
|
17798
17825
|
]);
|
|
17799
17826
|
};
|
|
17800
17827
|
}
|
|
17801
|
-
}),
|
|
17828
|
+
}), pP = /* @__PURE__ */ Ve(v1, [["__scopeId", "data-v-149ffaa5"]]), y1 = { class: "plugin-select-card-wrapper" }, b1 = ["data-testid"], w1 = { class: "plugin-card-header" }, E1 = { class: "plugin-card-title" }, C1 = {
|
|
17802
17829
|
key: 0,
|
|
17803
17830
|
class: "plugin-card-actions"
|
|
17804
|
-
},
|
|
17831
|
+
}, I1 = ["data-testid", "title"], O1 = {
|
|
17805
17832
|
key: 0,
|
|
17806
17833
|
class: "plugin-card-text"
|
|
17807
|
-
},
|
|
17834
|
+
}, B1 = { key: 0 }, R1 = ["title"], M1 = /* @__PURE__ */ de({
|
|
17808
17835
|
__name: "PluginSelectCard",
|
|
17809
17836
|
props: {
|
|
17810
17837
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17857,7 +17884,7 @@ const qx = de({
|
|
|
17857
17884
|
};
|
|
17858
17885
|
return (E, R) => {
|
|
17859
17886
|
const B = Y("KButton"), P = Y("KDropdownItem"), F = Y("KDropdownMenu"), h = Y("KTooltip");
|
|
17860
|
-
return f(), S("div",
|
|
17887
|
+
return f(), S("div", y1, [
|
|
17861
17888
|
M(h, {
|
|
17862
17889
|
text: e.plugin.disabledMessage
|
|
17863
17890
|
}, {
|
|
@@ -17868,13 +17895,13 @@ const qx = de({
|
|
|
17868
17895
|
role: "button",
|
|
17869
17896
|
onClick: R[1] || (R[1] = (b) => s.value || m.value ? void 0 : d())
|
|
17870
17897
|
}, [
|
|
17871
|
-
I("div",
|
|
17872
|
-
I("div",
|
|
17898
|
+
I("div", w1, [
|
|
17899
|
+
I("div", E1, [
|
|
17873
17900
|
I("span", {
|
|
17874
17901
|
class: Oe({ "non-custom-title": !m.value })
|
|
17875
17902
|
}, V(e.plugin.name), 3)
|
|
17876
17903
|
]),
|
|
17877
|
-
l.value ? (f(), S("div",
|
|
17904
|
+
l.value ? (f(), S("div", C1, [
|
|
17878
17905
|
M(F, {
|
|
17879
17906
|
"data-testid": "custom-plugin-actions",
|
|
17880
17907
|
"kpop-attributes": { placement: "bottom-end" },
|
|
@@ -17889,7 +17916,7 @@ const qx = de({
|
|
|
17889
17916
|
size: "small"
|
|
17890
17917
|
}, {
|
|
17891
17918
|
default: C(() => [
|
|
17892
|
-
M(g(Ap), { size: g(
|
|
17919
|
+
M(g(Ap), { size: g(s1) }, null, 8, ["size"])
|
|
17893
17920
|
]),
|
|
17894
17921
|
_: 1
|
|
17895
17922
|
})
|
|
@@ -17934,27 +17961,27 @@ const qx = de({
|
|
|
17934
17961
|
name: e.plugin.imageName || e.plugin.id,
|
|
17935
17962
|
size: 55
|
|
17936
17963
|
}, null, 8, ["alt", "name"]),
|
|
17937
|
-
e.plugin.description || m.value && !A.value ? (f(), S("div",
|
|
17938
|
-
m.value && !A.value ? (f(), S("p",
|
|
17964
|
+
e.plugin.description || m.value && !A.value ? (f(), S("div", O1, [
|
|
17965
|
+
m.value && !A.value ? (f(), S("p", B1, V(g(r)("plugins.select.custom_badge_text")), 1)) : _("", !0),
|
|
17939
17966
|
e.plugin.description ? (f(), S("p", {
|
|
17940
17967
|
key: 1,
|
|
17941
17968
|
class: "plugin-card-text",
|
|
17942
17969
|
title: e.plugin.description
|
|
17943
|
-
}, V(e.plugin.description), 9,
|
|
17970
|
+
}, V(e.plugin.description), 9, R1)) : _("", !0)
|
|
17944
17971
|
])) : _("", !0)
|
|
17945
|
-
], 10,
|
|
17972
|
+
], 10, I1),
|
|
17946
17973
|
I("div", {
|
|
17947
17974
|
class: "plugin-card-footer",
|
|
17948
17975
|
onClick: y
|
|
17949
17976
|
}, V(A.value ? g(r)("actions.create_custom") : e.plugin.exists ? g(r)("actions.enabled") : g(r)("actions.enable")), 1)
|
|
17950
|
-
], 10,
|
|
17977
|
+
], 10, b1)
|
|
17951
17978
|
]),
|
|
17952
17979
|
_: 1
|
|
17953
17980
|
}, 8, ["text"])
|
|
17954
17981
|
]);
|
|
17955
17982
|
};
|
|
17956
17983
|
}
|
|
17957
|
-
}), Ld = /* @__PURE__ */ Ve(
|
|
17984
|
+
}), Ld = /* @__PURE__ */ Ve(M1, [["__scopeId", "data-v-28728a65"]]), S1 = /* @__PURE__ */ de({
|
|
17958
17985
|
__name: "DeleteCustomPluginSchemaModal",
|
|
17959
17986
|
props: {
|
|
17960
17987
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -18050,7 +18077,7 @@ const qx = de({
|
|
|
18050
18077
|
}, 8, ["action-button-disabled", "title"])) : _("", !0);
|
|
18051
18078
|
};
|
|
18052
18079
|
}
|
|
18053
|
-
}),
|
|
18080
|
+
}), k1 = /* @__PURE__ */ Ve(S1, [["__scopeId", "data-v-9e0dee7f"]]), T1 = { class: "custom-plugins-grid" }, x1 = { class: "empty-state-title" }, P1 = { class: "empty-state-description" }, tr = 310, U1 = /* @__PURE__ */ de({
|
|
18054
18081
|
__name: "PluginCustomGrid",
|
|
18055
18082
|
props: {
|
|
18056
18083
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -18135,7 +18162,7 @@ const qx = de({
|
|
|
18135
18162
|
window == null || window.removeEventListener("resize", B);
|
|
18136
18163
|
}), (F, h) => {
|
|
18137
18164
|
const b = Y("KEmptyState"), O = Y("KCollapse");
|
|
18138
|
-
return f(), S("div",
|
|
18165
|
+
return f(), S("div", T1, [
|
|
18139
18166
|
u.value.length ? (f(), T(O, {
|
|
18140
18167
|
key: 1,
|
|
18141
18168
|
modelValue: s.value,
|
|
@@ -18183,14 +18210,14 @@ const qx = de({
|
|
|
18183
18210
|
"icon-variant": "kong"
|
|
18184
18211
|
}, {
|
|
18185
18212
|
title: C(() => [
|
|
18186
|
-
I("span",
|
|
18213
|
+
I("span", x1, V(g(a)("plugins.select.tabs.custom.empty_title")), 1)
|
|
18187
18214
|
]),
|
|
18188
18215
|
default: C(() => [
|
|
18189
|
-
I("span",
|
|
18216
|
+
I("span", P1, V(g(a)("plugins.select.tabs.custom.empty_description")), 1)
|
|
18190
18217
|
]),
|
|
18191
18218
|
_: 1
|
|
18192
18219
|
})),
|
|
18193
|
-
d.value && c.value ? (f(), T(
|
|
18220
|
+
d.value && c.value ? (f(), T(k1, {
|
|
18194
18221
|
key: 2,
|
|
18195
18222
|
config: e.config,
|
|
18196
18223
|
plugin: c.value,
|
|
@@ -18200,7 +18227,7 @@ const qx = de({
|
|
|
18200
18227
|
]);
|
|
18201
18228
|
};
|
|
18202
18229
|
}
|
|
18203
|
-
}),
|
|
18230
|
+
}), L1 = /* @__PURE__ */ Ve(U1, [["__scopeId", "data-v-f4b90f47"]]), nr = 310, D1 = /* @__PURE__ */ de({
|
|
18204
18231
|
__name: "PluginSelectGroup",
|
|
18205
18232
|
props: /* @__PURE__ */ or({
|
|
18206
18233
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -18291,7 +18318,7 @@ const qx = de({
|
|
|
18291
18318
|
]), 1032, ["modelValue", "data-testid", "title", "trigger-label"]);
|
|
18292
18319
|
};
|
|
18293
18320
|
}
|
|
18294
|
-
}), Pl = /* @__PURE__ */ Ve(
|
|
18321
|
+
}), Pl = /* @__PURE__ */ Ve(D1, [["__scopeId", "data-v-a1074120"]]), F1 = { class: "plugin-select-grid" }, G1 = { class: "empty-state-title" }, j1 = { class: "empty-state-description" }, Ul = /* @__PURE__ */ de({
|
|
18295
18322
|
__name: "PluginSelectGrid",
|
|
18296
18323
|
props: {
|
|
18297
18324
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -18347,7 +18374,7 @@ const qx = de({
|
|
|
18347
18374
|
});
|
|
18348
18375
|
return (u, d) => {
|
|
18349
18376
|
const c = Y("KEmptyState");
|
|
18350
|
-
return f(), S("div",
|
|
18377
|
+
return f(), S("div", F1, [
|
|
18351
18378
|
Object.keys(l.value).length ? _("", !0) : (f(), T(c, {
|
|
18352
18379
|
key: 0,
|
|
18353
18380
|
"action-button-visible": !1,
|
|
@@ -18356,10 +18383,10 @@ const qx = de({
|
|
|
18356
18383
|
"icon-variant": "kong"
|
|
18357
18384
|
}, {
|
|
18358
18385
|
title: C(() => [
|
|
18359
|
-
I("span",
|
|
18386
|
+
I("span", G1, V(g(a)("plugins.select.tabs.kong.empty_title")), 1)
|
|
18360
18387
|
]),
|
|
18361
18388
|
default: C(() => [
|
|
18362
|
-
I("span",
|
|
18389
|
+
I("span", j1, V(g(a)("plugins.select.tabs.kong.empty_description")), 1)
|
|
18363
18390
|
]),
|
|
18364
18391
|
_: 1
|
|
18365
18392
|
})),
|
|
@@ -18389,11 +18416,11 @@ const qx = de({
|
|
|
18389
18416
|
]);
|
|
18390
18417
|
};
|
|
18391
18418
|
}
|
|
18392
|
-
}),
|
|
18419
|
+
}), H1 = { class: "kong-ui-entities-plugin-select-form" }, Y1 = { class: "plugins-filter-input-container" }, N1 = { key: 0 }, V1 = {
|
|
18393
18420
|
key: 3,
|
|
18394
18421
|
"aria-live": "polite",
|
|
18395
18422
|
class: "plugins-results-container"
|
|
18396
|
-
},
|
|
18423
|
+
}, K1 = { "data-testid": "kong-tab" }, z1 = { class: "tab-description" }, Q1 = { "data-testid": "custom-tab" }, X1 = { class: "tab-description" }, q1 = /* @__PURE__ */ de({
|
|
18397
18424
|
__name: "PluginSelect",
|
|
18398
18425
|
props: {
|
|
18399
18426
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -18584,8 +18611,8 @@ const qx = de({
|
|
|
18584
18611
|
m.value || (E.value = j()), A.value = !1;
|
|
18585
18612
|
}), (K, H) => {
|
|
18586
18613
|
const ae = Y("KInput"), Ce = Y("KSkeletonBox"), oe = Y("KSkeleton"), W = Y("KEmptyState"), se = Y("KTooltip"), he = Y("KTabs");
|
|
18587
|
-
return f(), S("div",
|
|
18588
|
-
I("div",
|
|
18614
|
+
return f(), S("div", H1, [
|
|
18615
|
+
I("div", Y1, [
|
|
18589
18616
|
M(ae, {
|
|
18590
18617
|
modelValue: c.value,
|
|
18591
18618
|
"onUpdate:modelValue": H[0] || (H[0] = (pe) => c.value = pe),
|
|
@@ -18596,7 +18623,7 @@ const qx = de({
|
|
|
18596
18623
|
type: "search"
|
|
18597
18624
|
}, null, 8, ["modelValue", "placeholder"])
|
|
18598
18625
|
]),
|
|
18599
|
-
A.value ? (f(), S("section",
|
|
18626
|
+
A.value ? (f(), S("section", N1, [
|
|
18600
18627
|
M(Ce, {
|
|
18601
18628
|
class: "plugins-skeleton-title",
|
|
18602
18629
|
width: "10"
|
|
@@ -18626,7 +18653,7 @@ const qx = de({
|
|
|
18626
18653
|
I("h5", null, V(g(o)("search.no_results", { filter: c.value })), 1)
|
|
18627
18654
|
]),
|
|
18628
18655
|
_: 1
|
|
18629
|
-
})) : (f(), S("section",
|
|
18656
|
+
})) : (f(), S("section", V1, [
|
|
18630
18657
|
D.value.length && e.customPluginSupport !== "none" ? (f(), T(he, {
|
|
18631
18658
|
key: 0,
|
|
18632
18659
|
modelValue: L.value,
|
|
@@ -18636,8 +18663,8 @@ const qx = de({
|
|
|
18636
18663
|
onChange: ie
|
|
18637
18664
|
}, it({
|
|
18638
18665
|
kong: C(() => [
|
|
18639
|
-
I("div",
|
|
18640
|
-
I("p",
|
|
18666
|
+
I("div", K1, [
|
|
18667
|
+
I("p", z1, V(g(o)("plugins.select.tabs.kong.description")), 1),
|
|
18641
18668
|
M(Ul, {
|
|
18642
18669
|
config: e.config,
|
|
18643
18670
|
"hide-highlighted-plugins": c.value.length > 0,
|
|
@@ -18650,9 +18677,9 @@ const qx = de({
|
|
|
18650
18677
|
])
|
|
18651
18678
|
]),
|
|
18652
18679
|
custom: C(() => [
|
|
18653
|
-
I("div",
|
|
18654
|
-
I("p",
|
|
18655
|
-
M(
|
|
18680
|
+
I("div", Q1, [
|
|
18681
|
+
I("p", X1, V(g(o)("plugins.select.tabs.custom.description")), 1),
|
|
18682
|
+
M(L1, {
|
|
18656
18683
|
"can-create-custom-plugin": J.value,
|
|
18657
18684
|
"can-delete-custom-plugin": me.value,
|
|
18658
18685
|
"can-edit-custom-plugin": $.value,
|
|
@@ -18696,7 +18723,7 @@ const qx = de({
|
|
|
18696
18723
|
]);
|
|
18697
18724
|
};
|
|
18698
18725
|
}
|
|
18699
|
-
}),
|
|
18726
|
+
}), AP = /* @__PURE__ */ Ve(q1, [["__scopeId", "data-v-d2065987"]]), J1 = { class: "kong-ui-entity-plugin-config-card" }, W1 = { class: "name-cell-wrapper" }, Z1 = { class: "info-name" }, _1 = { key: 0 }, $1 = { key: 0 }, eP = { key: 0 }, tP = { key: 0 }, nP = { key: 0 }, ir = "config", iP = /* @__PURE__ */ de({
|
|
18700
18727
|
__name: "PluginConfigCard",
|
|
18701
18728
|
props: {
|
|
18702
18729
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -18829,7 +18856,7 @@ const qx = de({
|
|
|
18829
18856
|
}
|
|
18830
18857
|
}), (B, P) => {
|
|
18831
18858
|
const F = Y("KSkeleton"), h = Y("KEmptyState"), b = Y("KCopy");
|
|
18832
|
-
return f(), S("div",
|
|
18859
|
+
return f(), S("div", J1, [
|
|
18833
18860
|
y.value ? (f(), T(F, {
|
|
18834
18861
|
key: 0,
|
|
18835
18862
|
"data-testid": "plugin-config-card-loader",
|
|
@@ -18859,13 +18886,13 @@ const qx = de({
|
|
|
18859
18886
|
onLoading: P[2] || (P[2] = (O) => B.$emit("loading", O))
|
|
18860
18887
|
}, {
|
|
18861
18888
|
name: C((O) => [
|
|
18862
|
-
I("div",
|
|
18889
|
+
I("div", W1, [
|
|
18863
18890
|
M(Ro, {
|
|
18864
18891
|
class: "plugin-icon",
|
|
18865
18892
|
name: g(s)("rowValue", O),
|
|
18866
18893
|
size: 24
|
|
18867
18894
|
}, null, 8, ["name"]),
|
|
18868
|
-
I("span",
|
|
18895
|
+
I("span", Z1, V(g(r).getDisplayName(g(s)("rowValue", O))), 1)
|
|
18869
18896
|
])
|
|
18870
18897
|
]),
|
|
18871
18898
|
consumer: C((O) => [
|
|
@@ -18882,7 +18909,7 @@ const qx = de({
|
|
|
18882
18909
|
"copy-tooltip": g(a)("copy.tooltip", { label: g(s)("row", O).label }),
|
|
18883
18910
|
"data-testid": "consumer-copy-uuid",
|
|
18884
18911
|
text: g(s)("rowValue", O).id
|
|
18885
|
-
}, null, 8, ["copy-tooltip", "text"])) : (f(), S("span",
|
|
18912
|
+
}, null, 8, ["copy-tooltip", "text"])) : (f(), S("span", _1, "–"))
|
|
18886
18913
|
]),
|
|
18887
18914
|
route: C((O) => [
|
|
18888
18915
|
g(s)("rowValue", O) ? e.showIdAsLink ? (f(), T(g(Ii), {
|
|
@@ -18898,7 +18925,7 @@ const qx = de({
|
|
|
18898
18925
|
"copy-tooltip": g(a)("copy.tooltip", { label: g(s)("row", O).label }),
|
|
18899
18926
|
"data-testid": "route-copy-uuid",
|
|
18900
18927
|
text: g(s)("rowValue", O).id
|
|
18901
|
-
}, null, 8, ["copy-tooltip", "text"])) : (f(), S("span",
|
|
18928
|
+
}, null, 8, ["copy-tooltip", "text"])) : (f(), S("span", $1, "–"))
|
|
18902
18929
|
]),
|
|
18903
18930
|
service: C((O) => [
|
|
18904
18931
|
g(s)("rowValue", O) ? e.showIdAsLink ? (f(), T(g(Ii), {
|
|
@@ -18914,7 +18941,7 @@ const qx = de({
|
|
|
18914
18941
|
"copy-tooltip": g(a)("copy.tooltip", { label: g(s)("row", O).label }),
|
|
18915
18942
|
"data-testid": "service-copy-uuid",
|
|
18916
18943
|
text: g(s)("rowValue", O).id
|
|
18917
|
-
}, null, 8, ["copy-tooltip", "text"])) : (f(), S("span",
|
|
18944
|
+
}, null, 8, ["copy-tooltip", "text"])) : (f(), S("span", eP, "–"))
|
|
18918
18945
|
]),
|
|
18919
18946
|
consumer_group: C((O) => [
|
|
18920
18947
|
g(s)("rowValue", O) ? e.showIdAsLink ? (f(), T(g(Ii), {
|
|
@@ -18930,7 +18957,7 @@ const qx = de({
|
|
|
18930
18957
|
"copy-tooltip": g(a)("copy.tooltip", { label: g(s)("row", O).label }),
|
|
18931
18958
|
"data-testid": "consumer-group-copy-uuid",
|
|
18932
18959
|
text: g(s)("rowValue", O).id
|
|
18933
|
-
}, null, 8, ["copy-tooltip", "text"])) : (f(), S("span",
|
|
18960
|
+
}, null, 8, ["copy-tooltip", "text"])) : (f(), S("span", tP, "–"))
|
|
18934
18961
|
]),
|
|
18935
18962
|
partials: C((O) => {
|
|
18936
18963
|
var D, L, j, ne, X, ee, ie, J, $;
|
|
@@ -18951,7 +18978,7 @@ const qx = de({
|
|
|
18951
18978
|
"copy-tooltip": g(a)("copy.tooltip", { label: g(s)("row", O).label }),
|
|
18952
18979
|
"data-testid": "partial-copy-uuid",
|
|
18953
18980
|
text: ($ = g(s)("rowValue", O)) == null ? void 0 : $[0].id
|
|
18954
|
-
}, null, 8, ["copy-tooltip", "text"])) : (f(), S("span",
|
|
18981
|
+
}, null, 8, ["copy-tooltip", "text"])) : (f(), S("span", nP, "–"))
|
|
18955
18982
|
];
|
|
18956
18983
|
}),
|
|
18957
18984
|
_: 1
|
|
@@ -18959,25 +18986,25 @@ const qx = de({
|
|
|
18959
18986
|
]);
|
|
18960
18987
|
};
|
|
18961
18988
|
}
|
|
18962
|
-
}),
|
|
18989
|
+
}), gP = /* @__PURE__ */ Ve(iP, [["__scopeId", "data-v-949f887c"]]), { usePluginMetaData: fP, useProvideExperimentalFreeForms: mP } = Xe;
|
|
18963
18990
|
export {
|
|
18964
18991
|
_c as EXPERIMENTAL_FREE_FORM_PROVIDER,
|
|
18965
18992
|
$n as EntityTypeIdField,
|
|
18966
18993
|
lf as PLUGIN_GROUPS_COLLAPSE_STATUS,
|
|
18967
|
-
|
|
18968
|
-
|
|
18994
|
+
gP as PluginConfigCard,
|
|
18995
|
+
dP as PluginForm,
|
|
18969
18996
|
U as PluginGroup,
|
|
18970
18997
|
sf as PluginGroupArray,
|
|
18971
18998
|
Ro as PluginIcon,
|
|
18972
|
-
|
|
18999
|
+
pP as PluginList,
|
|
18973
19000
|
pr as PluginPartialType,
|
|
18974
19001
|
p as PluginScope,
|
|
18975
|
-
|
|
19002
|
+
AP as PluginSelect,
|
|
18976
19003
|
Ld as PluginSelectCard,
|
|
18977
19004
|
Ul as PluginSelectGrid,
|
|
18978
19005
|
at as VueFormGenerator,
|
|
18979
19006
|
c0 as getPluginIconURL,
|
|
18980
19007
|
Ze as pluginEndpoints,
|
|
18981
|
-
|
|
18982
|
-
|
|
19008
|
+
fP as usePluginMetaData,
|
|
19009
|
+
mP as useProvideExperimentalFreeForms
|
|
18983
19010
|
};
|