@kong-ui-public/entities-plugins 2.1.1 → 2.1.2
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.
|
@@ -14270,8 +14270,8 @@ function ZS(e, a, n, r, s, l) {
|
|
|
14270
14270
|
const JS = /* @__PURE__ */ Ue(NS, [["render", ZS], ["__scopeId", "data-v-bee61052"]]), QS = {
|
|
14271
14271
|
key: 0,
|
|
14272
14272
|
class: "vue-form-generator"
|
|
14273
|
-
}, _S = ["is"], $S = ["is"],
|
|
14274
|
-
function
|
|
14273
|
+
}, _S = ["is"], $S = ["is"], ex = { key: 0 };
|
|
14274
|
+
function tx(e, a, n, r, s, l) {
|
|
14275
14275
|
const u = te("form-group");
|
|
14276
14276
|
return n.schema != null ? (v(), B("div", QS, [
|
|
14277
14277
|
n.schema.fields ? (v(), B("fieldset", {
|
|
@@ -14297,7 +14297,7 @@ function t2(e, a, n, r, s, l) {
|
|
|
14297
14297
|
is: n.tag,
|
|
14298
14298
|
class: Ge(e.getFieldRowClasses(d))
|
|
14299
14299
|
}, [
|
|
14300
|
-
d.legend ? (v(), B("legend",
|
|
14300
|
+
d.legend ? (v(), B("legend", ex, _(d.legend), 1)) : le("", !0),
|
|
14301
14301
|
(v(!0), B(De, null, Ye(d.fields, (p) => (v(), B(De, null, [
|
|
14302
14302
|
l.fieldVisible(p) ? (v(), X(u, {
|
|
14303
14303
|
key: 0,
|
|
@@ -14315,7 +14315,7 @@ function t2(e, a, n, r, s, l) {
|
|
|
14315
14315
|
], 10, $S))), 256))
|
|
14316
14316
|
])) : le("", !0);
|
|
14317
14317
|
}
|
|
14318
|
-
const
|
|
14318
|
+
const nx = {
|
|
14319
14319
|
name: "FormGenerator",
|
|
14320
14320
|
components: { formGroup: JS },
|
|
14321
14321
|
mixins: [bp],
|
|
@@ -14448,7 +14448,7 @@ const n2 = {
|
|
|
14448
14448
|
});
|
|
14449
14449
|
}
|
|
14450
14450
|
}
|
|
14451
|
-
}, nn = /* @__PURE__ */ Ue(
|
|
14451
|
+
}, nn = /* @__PURE__ */ Ue(nx, [["render", tx]]), ix = {
|
|
14452
14452
|
fields: [{
|
|
14453
14453
|
help: "The client id(s) that the plugin uses when it calls authenticated endpoints on the identity provider.",
|
|
14454
14454
|
inputType: "password",
|
|
@@ -14475,7 +14475,7 @@ const n2 = {
|
|
|
14475
14475
|
model: "config-auth_methods",
|
|
14476
14476
|
type: "input"
|
|
14477
14477
|
}]
|
|
14478
|
-
},
|
|
14478
|
+
}, ax = {
|
|
14479
14479
|
fields: [{
|
|
14480
14480
|
help: "The claim that contains the scopes.",
|
|
14481
14481
|
inputType: "text",
|
|
@@ -14558,7 +14558,7 @@ const n2 = {
|
|
|
14558
14558
|
styleClasses: "w-100",
|
|
14559
14559
|
newElementButtonLabel: "+ Add"
|
|
14560
14560
|
}]
|
|
14561
|
-
},
|
|
14561
|
+
}, rx = {
|
|
14562
14562
|
fields: [
|
|
14563
14563
|
{
|
|
14564
14564
|
help: "The input must be in JSON format.",
|
|
@@ -14587,7 +14587,7 @@ const n2 = {
|
|
|
14587
14587
|
link: "https://docs.konghq.com/hub/kong-inc/openid-connect/#host-record"
|
|
14588
14588
|
}
|
|
14589
14589
|
]
|
|
14590
|
-
},
|
|
14590
|
+
}, sx = {
|
|
14591
14591
|
name: "OIDCForm",
|
|
14592
14592
|
components: { VueFormGenerator: nn },
|
|
14593
14593
|
props: {
|
|
@@ -14661,10 +14661,10 @@ const n2 = {
|
|
|
14661
14661
|
this.init || (this.init = !0, this.globalFields = {
|
|
14662
14662
|
fields: this.formSchema.fields.filter((e) => !e.model.startsWith("config") && e.model !== "tags")
|
|
14663
14663
|
}, this.commonFieldsSchema = {
|
|
14664
|
-
...
|
|
14664
|
+
...ix
|
|
14665
14665
|
}, this.authFieldsSchema = {
|
|
14666
|
-
...
|
|
14667
|
-
}, this.advancedFieldsSchema.fields = this.formSchema.fields.filter((e) => e.model.startsWith("config") && !this.commonFieldsSchema.fields.filter((a) => a.model === e.model).length && !this.authFieldsSchema.fields.filter((a) => a.model === e.model).length || e.model === "tags"), this.advancedFieldsSchema.fields = this.advancedFieldsSchema.fields.map((e) =>
|
|
14666
|
+
...ax
|
|
14667
|
+
}, this.advancedFieldsSchema.fields = this.formSchema.fields.filter((e) => e.model.startsWith("config") && !this.commonFieldsSchema.fields.filter((a) => a.model === e.model).length && !this.authFieldsSchema.fields.filter((a) => a.model === e.model).length || e.model === "tags"), this.advancedFieldsSchema.fields = this.advancedFieldsSchema.fields.map((e) => rx.fields.find((n) => n.model === e.model) || e), this.commonFieldsSchema.fields = this.commonFieldsSchema.fields.filter((e) => e.model !== "config-auth_methods"), this.sessionManagement = this.isEditing ? this.formModel["config-auth_methods"].includes("session") : !1, this.authMethods = [
|
|
14668
14668
|
{
|
|
14669
14669
|
label: "Authorization Code Flow",
|
|
14670
14670
|
value: "authorization_code",
|
|
@@ -14725,8 +14725,8 @@ const n2 = {
|
|
|
14725
14725
|
this.formModel["config-auth_methods"] = this.getAuthMethodsValue(a, e), this.onModelUpdated();
|
|
14726
14726
|
}
|
|
14727
14727
|
}
|
|
14728
|
-
}, _i = (e) => (An("data-v-84760120"), e = e(), vn(), e),
|
|
14729
|
-
function
|
|
14728
|
+
}, _i = (e) => (An("data-v-84760120"), e = e(), vn(), e), ox = { class: "general-settings" }, lx = { class: "link-wrapper" }, ux = /* @__PURE__ */ _i(() => /* @__PURE__ */ T("span", { class: "section-header" }, "Common Configuration Settings", -1)), cx = /* @__PURE__ */ _i(() => /* @__PURE__ */ T("div", { class: "description" }, " Parameters for enabling the OpenID Connect plugin. Set these parameters before adding authorization, authentication, or other advanced configuration details. ", -1)), dx = { class: "auth-method-container" }, px = { class: "general-settings" }, gx = { class: "link-wrapper" }, fx = /* @__PURE__ */ _i(() => /* @__PURE__ */ T("span", { class: "section-header" }, "Authorization Configuration Settings", -1)), mx = /* @__PURE__ */ _i(() => /* @__PURE__ */ T("div", { class: "description" }, " Parameters for setting up claims-based authorization. ", -1)), hx = { class: "general-settings" }, Ax = { class: "link-wrapper" }, vx = /* @__PURE__ */ _i(() => /* @__PURE__ */ T("span", { class: "section-header" }, "Advanced Configuration Settings", -1)), yx = /* @__PURE__ */ _i(() => /* @__PURE__ */ T("div", { class: "description" }, " Advanced parameters for manually configuring the OpenID Connect plugin. ", -1));
|
|
14729
|
+
function bx(e, a, n, r, s, l) {
|
|
14730
14730
|
const u = te("VueFormGenerator"), d = te("KExternalLink"), p = te("KLabel"), A = te("KCheckbox"), y = te("KInputSwitch"), w = te("KTabs");
|
|
14731
14731
|
return v(), B("div", null, [
|
|
14732
14732
|
n.formModel.id && n.isEditing || !n.isEditing ? (v(), X(u, {
|
|
@@ -14739,16 +14739,16 @@ function b2(e, a, n, r, s, l) {
|
|
|
14739
14739
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : le("", !0),
|
|
14740
14740
|
Q(w, { tabs: s.tabs }, {
|
|
14741
14741
|
common: R(() => [
|
|
14742
|
-
T("div",
|
|
14743
|
-
T("div",
|
|
14742
|
+
T("div", ox, [
|
|
14743
|
+
T("div", lx, [
|
|
14744
14744
|
Q(d, { href: "https://docs.konghq.com/hub/kong-inc/openid-connect/#important-configuration-parameters" }, {
|
|
14745
14745
|
default: R(() => [
|
|
14746
|
-
|
|
14746
|
+
ux
|
|
14747
14747
|
]),
|
|
14748
14748
|
_: 1
|
|
14749
14749
|
})
|
|
14750
14750
|
]),
|
|
14751
|
-
|
|
14751
|
+
cx,
|
|
14752
14752
|
l.displayForm ? (v(), X(u, {
|
|
14753
14753
|
key: 0,
|
|
14754
14754
|
model: n.formModel,
|
|
@@ -14762,7 +14762,7 @@ function b2(e, a, n, r, s, l) {
|
|
|
14762
14762
|
]),
|
|
14763
14763
|
_: 1
|
|
14764
14764
|
}),
|
|
14765
|
-
T("div",
|
|
14765
|
+
T("div", dx, [
|
|
14766
14766
|
(v(!0), B(De, null, Ye(s.authMethods, (k) => (v(), B("div", {
|
|
14767
14767
|
key: k.value,
|
|
14768
14768
|
class: "auth-method"
|
|
@@ -14788,16 +14788,16 @@ function b2(e, a, n, r, s, l) {
|
|
|
14788
14788
|
])
|
|
14789
14789
|
]),
|
|
14790
14790
|
authorization: R(() => [
|
|
14791
|
-
T("div",
|
|
14792
|
-
T("div",
|
|
14791
|
+
T("div", px, [
|
|
14792
|
+
T("div", gx, [
|
|
14793
14793
|
Q(d, { href: "https://docs.konghq.com/hub/kong-inc/openid-connect/#authorization" }, {
|
|
14794
14794
|
default: R(() => [
|
|
14795
|
-
|
|
14795
|
+
fx
|
|
14796
14796
|
]),
|
|
14797
14797
|
_: 1
|
|
14798
14798
|
})
|
|
14799
14799
|
]),
|
|
14800
|
-
|
|
14800
|
+
mx,
|
|
14801
14801
|
l.displayForm ? (v(), X(u, {
|
|
14802
14802
|
key: 0,
|
|
14803
14803
|
model: n.formModel,
|
|
@@ -14808,16 +14808,16 @@ function b2(e, a, n, r, s, l) {
|
|
|
14808
14808
|
])
|
|
14809
14809
|
]),
|
|
14810
14810
|
advanced: R(() => [
|
|
14811
|
-
T("div",
|
|
14812
|
-
T("div",
|
|
14811
|
+
T("div", hx, [
|
|
14812
|
+
T("div", Ax, [
|
|
14813
14813
|
Q(d, { href: "https://docs.konghq.com/hub/kong-inc/openid-connect/" }, {
|
|
14814
14814
|
default: R(() => [
|
|
14815
|
-
|
|
14815
|
+
vx
|
|
14816
14816
|
]),
|
|
14817
14817
|
_: 1
|
|
14818
14818
|
})
|
|
14819
14819
|
]),
|
|
14820
|
-
|
|
14820
|
+
yx,
|
|
14821
14821
|
l.displayForm ? (v(), X(u, {
|
|
14822
14822
|
key: 0,
|
|
14823
14823
|
model: n.formModel,
|
|
@@ -14831,10 +14831,10 @@ function b2(e, a, n, r, s, l) {
|
|
|
14831
14831
|
}, 8, ["tabs"])
|
|
14832
14832
|
]);
|
|
14833
14833
|
}
|
|
14834
|
-
const
|
|
14834
|
+
const wx = /* @__PURE__ */ Ue(sx, [["render", bx], ["__scopeId", "data-v-84760120"]]), Cx = {
|
|
14835
14835
|
packageName: "forms"
|
|
14836
14836
|
}, Fp = {
|
|
14837
|
-
general:
|
|
14837
|
+
general: Cx,
|
|
14838
14838
|
"post-function": {
|
|
14839
14839
|
tags: {
|
|
14840
14840
|
hint: "e.g. tag1, tag2, tag3",
|
|
@@ -14895,7 +14895,7 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
14895
14895
|
newElementButtonLabel: "+ Add"
|
|
14896
14896
|
}
|
|
14897
14897
|
}
|
|
14898
|
-
},
|
|
14898
|
+
}, Ex = /* @__PURE__ */ ze({
|
|
14899
14899
|
__name: "PostFunction",
|
|
14900
14900
|
props: {
|
|
14901
14901
|
formModel: {
|
|
@@ -14936,7 +14936,7 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
14936
14936
|
onModelUpdated: e.onModelUpdated
|
|
14937
14937
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : le("", !0);
|
|
14938
14938
|
}
|
|
14939
|
-
}),
|
|
14939
|
+
}), kx = /* @__PURE__ */ ze({
|
|
14940
14940
|
__name: "ExitTransformer",
|
|
14941
14941
|
props: {
|
|
14942
14942
|
formModel: {
|
|
@@ -14977,7 +14977,7 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
14977
14977
|
onModelUpdated: e.onModelUpdated
|
|
14978
14978
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : le("", !0);
|
|
14979
14979
|
}
|
|
14980
|
-
}),
|
|
14980
|
+
}), Ox = {
|
|
14981
14981
|
fields: [
|
|
14982
14982
|
{
|
|
14983
14983
|
inputType: "text",
|
|
@@ -15065,13 +15065,13 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15065
15065
|
disabled: !1
|
|
15066
15066
|
}
|
|
15067
15067
|
]
|
|
15068
|
-
}, Bi = (e) => (An("data-v-bc6f1e04"), e = e(), vn(), e),
|
|
15068
|
+
}, Bi = (e) => (An("data-v-bc6f1e04"), e = e(), vn(), e), Bx = { class: "general-settings" }, Ix = /* @__PURE__ */ Bi(() => /* @__PURE__ */ T("div", { class: "header-wrapper" }, [
|
|
15069
15069
|
/* @__PURE__ */ T("span", { class: "section-header" }, "General Configuration Settings")
|
|
15070
|
-
], -1)),
|
|
15070
|
+
], -1)), Mx = /* @__PURE__ */ Bi(() => /* @__PURE__ */ T("div", { class: "description" }, " Parameters for enabling the ACME plugin. ", -1)), Sx = /* @__PURE__ */ Bi(() => /* @__PURE__ */ T("hr", null, null, -1)), xx = { class: "sub-form" }, Tx = { class: "general-settings" }, Rx = /* @__PURE__ */ Bi(() => /* @__PURE__ */ T("div", { class: "header-wrapper" }, [
|
|
15071
15071
|
/* @__PURE__ */ T("span", { class: "section-header" }, "Storage Configuration Settings")
|
|
15072
|
-
], -1)),
|
|
15072
|
+
], -1)), Lx = /* @__PURE__ */ Bi(() => /* @__PURE__ */ T("div", { class: "description" }, " Parameters for setting up storage. ", -1)), Dx = { class: "sub-form" }, Nx = { class: "general-settings" }, Px = /* @__PURE__ */ Bi(() => /* @__PURE__ */ T("div", { class: "header-wrapper" }, [
|
|
15073
15073
|
/* @__PURE__ */ T("span", { class: "section-header" }, "Advanced Configuration Settings")
|
|
15074
|
-
], -1)),
|
|
15074
|
+
], -1)), jx = /* @__PURE__ */ Bi(() => /* @__PURE__ */ T("div", { class: "description" }, " Advanced parameters for manually configuring the ACME plugin. ", -1)), Yx = /* @__PURE__ */ ze({
|
|
15075
15075
|
__name: "ACMEForm",
|
|
15076
15076
|
props: {
|
|
15077
15077
|
formModel: {
|
|
@@ -15100,7 +15100,7 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15100
15100
|
const a = e, n = ue("zeroSsl"), r = ue("shm"), s = q(() => ({
|
|
15101
15101
|
fields: a.formSchema.fields.filter((x) => !x.model.startsWith("config") && x.model !== "tags")
|
|
15102
15102
|
})), l = q(() => ({
|
|
15103
|
-
fields:
|
|
15103
|
+
fields: Ox.fields.filter(
|
|
15104
15104
|
(x) => !ud.fields.some((N) => N.model === x.model) && !cd.fields.some((N) => N.model === x.model)
|
|
15105
15105
|
)
|
|
15106
15106
|
})), u = q(() => ({
|
|
@@ -15164,9 +15164,9 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15164
15164
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : le("", !0),
|
|
15165
15165
|
Q(C, { tabs: O }, {
|
|
15166
15166
|
general: R(() => [
|
|
15167
|
-
T("div",
|
|
15168
|
-
|
|
15169
|
-
|
|
15167
|
+
T("div", Bx, [
|
|
15168
|
+
Ix,
|
|
15169
|
+
Mx,
|
|
15170
15170
|
k.value ? (v(), X(nn, {
|
|
15171
15171
|
key: 0,
|
|
15172
15172
|
model: e.formModel,
|
|
@@ -15174,7 +15174,7 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15174
15174
|
schema: l.value,
|
|
15175
15175
|
onModelUpdated: e.onModelUpdated
|
|
15176
15176
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : le("", !0),
|
|
15177
|
-
|
|
15177
|
+
Sx,
|
|
15178
15178
|
Q(ae, {
|
|
15179
15179
|
appearance: "select",
|
|
15180
15180
|
class: "issuer-select",
|
|
@@ -15182,7 +15182,7 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15182
15182
|
label: "Issuer",
|
|
15183
15183
|
onChange: D
|
|
15184
15184
|
}),
|
|
15185
|
-
T("div",
|
|
15185
|
+
T("div", xx, [
|
|
15186
15186
|
n.value === "letsEncrypt" ? (v(), X(nn, {
|
|
15187
15187
|
key: 0,
|
|
15188
15188
|
model: e.formModel,
|
|
@@ -15201,9 +15201,9 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15201
15201
|
])
|
|
15202
15202
|
]),
|
|
15203
15203
|
storage: R(() => [
|
|
15204
|
-
T("div",
|
|
15205
|
-
|
|
15206
|
-
|
|
15204
|
+
T("div", Tx, [
|
|
15205
|
+
Rx,
|
|
15206
|
+
Lx,
|
|
15207
15207
|
k.value ? (v(), X(nn, {
|
|
15208
15208
|
key: 0,
|
|
15209
15209
|
model: e.formModel,
|
|
@@ -15211,7 +15211,7 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15211
15211
|
schema: u.value,
|
|
15212
15212
|
onModelUpdated: M
|
|
15213
15213
|
}, null, 8, ["model", "options", "schema"])) : le("", !0),
|
|
15214
|
-
T("div",
|
|
15214
|
+
T("div", Dx, [
|
|
15215
15215
|
r.value === "consul" ? (v(), X(nn, {
|
|
15216
15216
|
key: 0,
|
|
15217
15217
|
model: e.formModel,
|
|
@@ -15244,9 +15244,9 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15244
15244
|
])
|
|
15245
15245
|
]),
|
|
15246
15246
|
advanced: R(() => [
|
|
15247
|
-
T("div",
|
|
15248
|
-
|
|
15249
|
-
|
|
15247
|
+
T("div", Nx, [
|
|
15248
|
+
Px,
|
|
15249
|
+
jx,
|
|
15250
15250
|
k.value ? (v(), X(nn, {
|
|
15251
15251
|
key: 0,
|
|
15252
15252
|
model: e.formModel,
|
|
@@ -15261,26 +15261,26 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15261
15261
|
]);
|
|
15262
15262
|
};
|
|
15263
15263
|
}
|
|
15264
|
-
}),
|
|
15264
|
+
}), Ux = /* @__PURE__ */ Ue(Yx, [["__scopeId", "data-v-bc6f1e04"]]), Hx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15265
15265
|
__proto__: null,
|
|
15266
|
-
ACMEForm:
|
|
15267
|
-
ExitTransformer:
|
|
15268
|
-
OIDCForm:
|
|
15269
|
-
PostFunction:
|
|
15266
|
+
ACMEForm: Ux,
|
|
15267
|
+
ExitTransformer: kx,
|
|
15268
|
+
OIDCForm: wx,
|
|
15269
|
+
PostFunction: Ex
|
|
15270
15270
|
}, Symbol.toStringTag, { value: "Module" })), Eo = [
|
|
15271
15271
|
"array",
|
|
15272
15272
|
"metric",
|
|
15273
15273
|
"advanced",
|
|
15274
15274
|
"selectionGroup",
|
|
15275
15275
|
"object-advanced"
|
|
15276
|
-
],
|
|
15276
|
+
], Vx = (e, a = !1) => ({
|
|
15277
15277
|
...a && { acme: "ACMEForm" },
|
|
15278
15278
|
"openid-connect": "OIDCForm",
|
|
15279
15279
|
"post-function": "PostFunction",
|
|
15280
15280
|
// Pre and Post function plugins are using same component
|
|
15281
15281
|
"pre-function": "PostFunction",
|
|
15282
15282
|
"exit-transformer": "ExitTransformer"
|
|
15283
|
-
})[e],
|
|
15283
|
+
})[e], Fx = {
|
|
15284
15284
|
enabled: {
|
|
15285
15285
|
type: "switch",
|
|
15286
15286
|
model: "enabled",
|
|
@@ -15337,7 +15337,7 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15337
15337
|
newElementButtonLabelClasses: "kong-form-new-element-button-label",
|
|
15338
15338
|
itemContainerComponent: "FieldMetric",
|
|
15339
15339
|
fieldClasses: "metrics-wrapper"
|
|
15340
|
-
},
|
|
15340
|
+
}, Gx = {
|
|
15341
15341
|
"config-metrics": {
|
|
15342
15342
|
...xa,
|
|
15343
15343
|
items: {
|
|
@@ -15395,7 +15395,7 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15395
15395
|
}
|
|
15396
15396
|
}
|
|
15397
15397
|
}
|
|
15398
|
-
},
|
|
15398
|
+
}, zx = {
|
|
15399
15399
|
"config-allow_status_codes": {
|
|
15400
15400
|
type: "input",
|
|
15401
15401
|
inputType: "text",
|
|
@@ -15510,14 +15510,14 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15510
15510
|
}
|
|
15511
15511
|
}
|
|
15512
15512
|
}
|
|
15513
|
-
},
|
|
15513
|
+
}, Kx = {
|
|
15514
15514
|
"config-api_specification": {
|
|
15515
15515
|
label: "Config.API Specification",
|
|
15516
15516
|
placeholder: "Enter an API spec",
|
|
15517
15517
|
type: "textArea",
|
|
15518
15518
|
rows: 10
|
|
15519
15519
|
}
|
|
15520
|
-
},
|
|
15520
|
+
}, qx = {
|
|
15521
15521
|
"config-access": {},
|
|
15522
15522
|
"config-body_filter": {},
|
|
15523
15523
|
"config-header_filter": {},
|
|
@@ -15538,7 +15538,7 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15538
15538
|
[a]: Sa.fields.arrayItems({
|
|
15539
15539
|
newElementButtonLabel: "Add"
|
|
15540
15540
|
})
|
|
15541
|
-
}),
|
|
15541
|
+
}), qx), mo = {
|
|
15542
15542
|
"config-policy": {
|
|
15543
15543
|
label: "Config.Policy",
|
|
15544
15544
|
type: "select",
|
|
@@ -15557,7 +15557,7 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15557
15557
|
placeholder: "Enter list of consumer groups",
|
|
15558
15558
|
hint: "e.g. group1, group2"
|
|
15559
15559
|
}
|
|
15560
|
-
},
|
|
15560
|
+
}, Xx = {
|
|
15561
15561
|
"config-remove-headers": {},
|
|
15562
15562
|
"config-remove.querystring": {},
|
|
15563
15563
|
"config-remove-body": {},
|
|
@@ -15574,7 +15574,7 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15574
15574
|
"config-append-querystring": {},
|
|
15575
15575
|
"config-append-body": {},
|
|
15576
15576
|
"config-allow-body": {}
|
|
15577
|
-
},
|
|
15577
|
+
}, Wx = [
|
|
15578
15578
|
"config-remove-headers",
|
|
15579
15579
|
"config-remove.querystring",
|
|
15580
15580
|
"config-remove-body",
|
|
@@ -15596,7 +15596,7 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15596
15596
|
[a]: Sa.fields.arrayItems({
|
|
15597
15597
|
newElementButtonLabel: "Add"
|
|
15598
15598
|
})
|
|
15599
|
-
}),
|
|
15599
|
+
}), Xx), Zx = {
|
|
15600
15600
|
"config-rules": {
|
|
15601
15601
|
...Gp,
|
|
15602
15602
|
newElementButtonLabel: "+ Add Rule",
|
|
@@ -15623,14 +15623,14 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15623
15623
|
}
|
|
15624
15624
|
}
|
|
15625
15625
|
}
|
|
15626
|
-
},
|
|
15626
|
+
}, Jx = {
|
|
15627
15627
|
"config-strategy": {
|
|
15628
15628
|
label: "Config.Strategy",
|
|
15629
15629
|
type: "select",
|
|
15630
15630
|
default: "cluster",
|
|
15631
15631
|
values: ["cluster", "redis"]
|
|
15632
15632
|
}
|
|
15633
|
-
},
|
|
15633
|
+
}, Qx = {
|
|
15634
15634
|
"config-metrics": {
|
|
15635
15635
|
...xa,
|
|
15636
15636
|
items: {
|
|
@@ -15722,7 +15722,7 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15722
15722
|
styleClasses: "kong-form-field-wrapper",
|
|
15723
15723
|
newElementButtonLabel: "+ Add",
|
|
15724
15724
|
newElementButtonLabelClasses: "kong-form-new-element-button-label"
|
|
15725
|
-
},
|
|
15725
|
+
}, _x = {
|
|
15726
15726
|
"config-parameter_schema": {
|
|
15727
15727
|
...xa,
|
|
15728
15728
|
items: {
|
|
@@ -15783,7 +15783,7 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15783
15783
|
}
|
|
15784
15784
|
}
|
|
15785
15785
|
}
|
|
15786
|
-
}, $
|
|
15786
|
+
}, $x = {
|
|
15787
15787
|
"config-static_tags": {
|
|
15788
15788
|
...xa,
|
|
15789
15789
|
items: {
|
|
@@ -15809,16 +15809,16 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15809
15809
|
}
|
|
15810
15810
|
}
|
|
15811
15811
|
}
|
|
15812
|
-
},
|
|
15812
|
+
}, e2 = (e) => {
|
|
15813
15813
|
const { capitalize: a } = Ap(), { convertToDotNotation: n } = yp(), r = {
|
|
15814
15814
|
"application-registration": {
|
|
15815
15815
|
overwriteDefault: !0,
|
|
15816
15816
|
formSchema: {
|
|
15817
|
-
...
|
|
15817
|
+
...Fx
|
|
15818
15818
|
}
|
|
15819
15819
|
},
|
|
15820
15820
|
datadog: {
|
|
15821
|
-
...
|
|
15821
|
+
...Gx
|
|
15822
15822
|
},
|
|
15823
15823
|
"upstream-tls": {
|
|
15824
15824
|
"config-trusted_certificates": {
|
|
@@ -15835,16 +15835,16 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15835
15835
|
...dd
|
|
15836
15836
|
},
|
|
15837
15837
|
statsd: {
|
|
15838
|
-
...
|
|
15838
|
+
...Qx
|
|
15839
15839
|
},
|
|
15840
15840
|
"statsd-advanced": {
|
|
15841
|
-
...
|
|
15841
|
+
...zx
|
|
15842
15842
|
},
|
|
15843
15843
|
"route-by-header": {
|
|
15844
|
-
...
|
|
15844
|
+
...Zx
|
|
15845
15845
|
},
|
|
15846
15846
|
mocking: {
|
|
15847
|
-
...
|
|
15847
|
+
...Kx
|
|
15848
15848
|
},
|
|
15849
15849
|
"rate-limiting": {
|
|
15850
15850
|
useKonnectSchema: !0,
|
|
@@ -15856,7 +15856,7 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15856
15856
|
},
|
|
15857
15857
|
"graphql-rate-limiting-advanced": {
|
|
15858
15858
|
useKonnectSchema: !0,
|
|
15859
|
-
...
|
|
15859
|
+
...Jx
|
|
15860
15860
|
},
|
|
15861
15861
|
"response-ratelimiting": {
|
|
15862
15862
|
useKonnectSchema: !0,
|
|
@@ -15870,13 +15870,13 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
15870
15870
|
...pd
|
|
15871
15871
|
},
|
|
15872
15872
|
"request-transformer-advanced": {
|
|
15873
|
-
...
|
|
15873
|
+
...Wx
|
|
15874
15874
|
},
|
|
15875
15875
|
"request-validator": {
|
|
15876
|
-
...
|
|
15876
|
+
..._x
|
|
15877
15877
|
},
|
|
15878
15878
|
zipkin: {
|
|
15879
|
-
...$
|
|
15879
|
+
...$x
|
|
15880
15880
|
}
|
|
15881
15881
|
}, s = () => ["created_at", "updated_at", "id"], l = (C, Y, W) => {
|
|
15882
15882
|
let he = {};
|
|
@@ -16007,15 +16007,15 @@ const w2 = /* @__PURE__ */ Ue(s2, [["render", b2], ["__scopeId", "data-v-8476012
|
|
|
16007
16007
|
getPluginIconURL: xO,
|
|
16008
16008
|
usePluginMetaData: TO,
|
|
16009
16009
|
usePluginHelpers: yp,
|
|
16010
|
-
useSchemas:
|
|
16010
|
+
useSchemas: e2
|
|
16011
16011
|
};
|
|
16012
|
-
const
|
|
16012
|
+
const t2 = { class: "kong-ui-entities-plugin-form" }, n2 = {
|
|
16013
16013
|
key: 1,
|
|
16014
16014
|
class: "entity-form"
|
|
16015
|
-
},
|
|
16016
|
-
components: { ...
|
|
16017
|
-
}),
|
|
16018
|
-
...
|
|
16015
|
+
}, i2 = ze({
|
|
16016
|
+
components: { ...Hx }
|
|
16017
|
+
}), a2 = /* @__PURE__ */ ze({
|
|
16018
|
+
...i2,
|
|
16019
16019
|
__name: "PluginEntityForm",
|
|
16020
16020
|
props: {
|
|
16021
16021
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -16228,17 +16228,17 @@ const tx = { class: "kong-ui-entities-plugin-form" }, nx = {
|
|
|
16228
16228
|
}), Wt(() => n.schema, (z) => {
|
|
16229
16229
|
var re, de;
|
|
16230
16230
|
const ie = s(z);
|
|
16231
|
-
Object.assign(x, ie.model), D.value = { fields: (de = (re = D.value) == null ? void 0 : re.fields) == null ? void 0 : de.map((U) => ({ ...U, disabled: U.disabled || !1 })) }, Object.assign(M, JSON.parse(JSON.stringify(ie.model))), O.value =
|
|
16231
|
+
Object.assign(x, ie.model), D.value = { fields: (de = (re = D.value) == null ? void 0 : re.fields) == null ? void 0 : de.map((U) => ({ ...U, disabled: U.disabled || !1 })) }, Object.assign(M, JSON.parse(JSON.stringify(ie.model))), O.value = Vx(ie.model.name), he();
|
|
16232
16232
|
}, { immediate: !0, deep: !0 }), Ei(() => {
|
|
16233
16233
|
var z, ie;
|
|
16234
16234
|
L.value = s(n.schema), Object.assign(x, ((z = L.value) == null ? void 0 : z.model) || {}), D.value = ((ie = L.value) == null ? void 0 : ie.schema) || {}, he();
|
|
16235
16235
|
}), (z, ie) => {
|
|
16236
16236
|
const re = te("KSkeleton"), de = te("VueFormGenerator");
|
|
16237
|
-
return v(), B("div",
|
|
16237
|
+
return v(), B("div", t2, [
|
|
16238
16238
|
W.value ? (v(), X(re, {
|
|
16239
16239
|
key: 0,
|
|
16240
16240
|
type: "form"
|
|
16241
|
-
})) : (v(), B("div",
|
|
16241
|
+
})) : (v(), B("div", n2, [
|
|
16242
16242
|
O.value && (x.id && e.editing || !e.editing) ? (v(), X(St(O.value), {
|
|
16243
16243
|
key: 0,
|
|
16244
16244
|
editing: e.editing,
|
|
@@ -16264,7 +16264,7 @@ const Dn = (e, a) => {
|
|
|
16264
16264
|
for (const [r, s] of a)
|
|
16265
16265
|
n[r] = s;
|
|
16266
16266
|
return n;
|
|
16267
|
-
},
|
|
16267
|
+
}, r2 = /* @__PURE__ */ Dn(a2, [["__scopeId", "data-v-d9c97dfa"]]), s2 = { class: "kong-ui-entities-plugin-form-container" }, o2 = { key: 0 }, l2 = { key: 1 }, u2 = /* @__PURE__ */ ze({
|
|
16268
16268
|
__name: "PluginForm",
|
|
16269
16269
|
props: {
|
|
16270
16270
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -16671,7 +16671,7 @@ const Dn = (e, a) => {
|
|
|
16671
16671
|
}
|
|
16672
16672
|
}), (fe, ke) => {
|
|
16673
16673
|
const Ae = te("KSkeleton"), ne = te("KEmptyState"), ce = te("KButton");
|
|
16674
|
-
return v(), B("div",
|
|
16674
|
+
return v(), B("div", s2, [
|
|
16675
16675
|
At.value ? (v(), X(Ae, {
|
|
16676
16676
|
key: 0,
|
|
16677
16677
|
type: "form"
|
|
@@ -16699,7 +16699,7 @@ const Dn = (e, a) => {
|
|
|
16699
16699
|
onSubmit: bt
|
|
16700
16700
|
}, {
|
|
16701
16701
|
"form-actions": R(() => [
|
|
16702
|
-
e.isWizardStep ? (v(), B("div",
|
|
16702
|
+
e.isWizardStep ? (v(), B("div", o2)) : (v(), B("div", l2, [
|
|
16703
16703
|
Q(ce, {
|
|
16704
16704
|
appearance: "secondary",
|
|
16705
16705
|
"data-testid": "form-cancel",
|
|
@@ -16744,7 +16744,7 @@ const Dn = (e, a) => {
|
|
|
16744
16744
|
hidden: "",
|
|
16745
16745
|
onSubmit: bt
|
|
16746
16746
|
}, null, 32),
|
|
16747
|
-
Q(
|
|
16747
|
+
Q(r2, {
|
|
16748
16748
|
config: e.config,
|
|
16749
16749
|
credential: M.value,
|
|
16750
16750
|
editing: L.value === P(zn).Edit,
|
|
@@ -16761,7 +16761,7 @@ const Dn = (e, a) => {
|
|
|
16761
16761
|
};
|
|
16762
16762
|
}
|
|
16763
16763
|
});
|
|
16764
|
-
const KT = /* @__PURE__ */ Dn(
|
|
16764
|
+
const KT = /* @__PURE__ */ Dn(u2, [["__scopeId", "data-v-ce846c38"]]), c2 = ["alt", "src", "width"], Vo = /* @__PURE__ */ ze({
|
|
16765
16765
|
__name: "PluginIcon",
|
|
16766
16766
|
props: {
|
|
16767
16767
|
name: {
|
|
@@ -16790,18 +16790,18 @@ const KT = /* @__PURE__ */ Dn(ux, [["__scopeId", "data-v-ce846c38"]]), cx = ["al
|
|
|
16790
16790
|
src: P(Ct).getPluginIconURL(e.name),
|
|
16791
16791
|
width: e.size,
|
|
16792
16792
|
onError: r
|
|
16793
|
-
}, null, 40,
|
|
16793
|
+
}, null, 40, c2));
|
|
16794
16794
|
}
|
|
16795
|
-
}),
|
|
16795
|
+
}), d2 = { class: "kong-ui-entities-plugins-list" }, p2 = { class: "name-cell-wrapper" }, g2 = { class: "info-wrapper" }, f2 = {
|
|
16796
16796
|
key: 0,
|
|
16797
16797
|
class: "info-name"
|
|
16798
|
-
},
|
|
16798
|
+
}, m2 = {
|
|
16799
16799
|
key: 1,
|
|
16800
16800
|
class: "info-name"
|
|
16801
|
-
},
|
|
16801
|
+
}, h2 = {
|
|
16802
16802
|
key: 2,
|
|
16803
16803
|
class: "info-type"
|
|
16804
|
-
},
|
|
16804
|
+
}, A2 = { key: 1 }, v2 = { class: "toggle-label" }, y2 = { key: 1 }, b2 = /* @__PURE__ */ ze({
|
|
16805
16805
|
__name: "PluginList",
|
|
16806
16806
|
props: {
|
|
16807
16807
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17034,7 +17034,7 @@ const KT = /* @__PURE__ */ Dn(ux, [["__scopeId", "data-v-ce846c38"]]), cx = ["al
|
|
|
17034
17034
|
await n.canCreate() && (fe.value.title = s("plugins.list.empty_state.title"), fe.value.ctaText = s("actions.create"));
|
|
17035
17035
|
}), (ne, ce) => {
|
|
17036
17036
|
const ve = te("KButton"), ee = te("KBadge"), pe = te("KTruncate"), it = te("KInputSwitch"), He = te("KDropdownItem"), Je = te("KClipboardProvider");
|
|
17037
|
-
return v(), B("div",
|
|
17037
|
+
return v(), B("div", d2, [
|
|
17038
17038
|
Q(P(sE), {
|
|
17039
17039
|
"cache-identifier": e.cacheIdentifier,
|
|
17040
17040
|
"disable-pagination-page-jump": "",
|
|
@@ -17082,15 +17082,15 @@ const KT = /* @__PURE__ */ Dn(ux, [["__scopeId", "data-v-ce846c38"]]), cx = ["al
|
|
|
17082
17082
|
}, 8, ["auth-function"])
|
|
17083
17083
|
]),
|
|
17084
17084
|
name: R(({ row: Ce }) => [
|
|
17085
|
-
T("div",
|
|
17085
|
+
T("div", p2, [
|
|
17086
17086
|
Q(Vo, {
|
|
17087
17087
|
class: "plugin-icon",
|
|
17088
17088
|
name: Ce.name,
|
|
17089
17089
|
width: 24
|
|
17090
17090
|
}, null, 8, ["name"]),
|
|
17091
|
-
T("div",
|
|
17092
|
-
Ce.instance_name ? (v(), B("span",
|
|
17093
|
-
Ce.instance_name ? (v(), B("span",
|
|
17091
|
+
T("div", g2, [
|
|
17092
|
+
Ce.instance_name ? (v(), B("span", f2, _(Ce.instance_name), 1)) : (v(), B("span", m2, _(P(r).getDisplayName(Ce.name)), 1)),
|
|
17093
|
+
Ce.instance_name ? (v(), B("span", h2, _(P(r).getDisplayName(Ce.name)), 1)) : le("", !0)
|
|
17094
17094
|
])
|
|
17095
17095
|
])
|
|
17096
17096
|
]),
|
|
@@ -17117,7 +17117,7 @@ const KT = /* @__PURE__ */ Dn(ux, [["__scopeId", "data-v-ce846c38"]]), cx = ["al
|
|
|
17117
17117
|
}, 1032, ["auth-function"]))), 128))
|
|
17118
17118
|
]),
|
|
17119
17119
|
_: 2
|
|
17120
|
-
}, 1024)) : (v(), B("span",
|
|
17120
|
+
}, 1024)) : (v(), B("span", A2, "-"))
|
|
17121
17121
|
]),
|
|
17122
17122
|
enabled: R(({ row: Ce }) => [
|
|
17123
17123
|
Q(P(hi), {
|
|
@@ -17139,7 +17139,7 @@ const KT = /* @__PURE__ */ Dn(ux, [["__scopeId", "data-v-ce846c38"]]), cx = ["al
|
|
|
17139
17139
|
onClick: In(($i) => Xe && re(Ce), ["stop", "prevent"])
|
|
17140
17140
|
}, {
|
|
17141
17141
|
label: R(() => [
|
|
17142
|
-
T("div",
|
|
17142
|
+
T("div", v2, _(Ce.enabled ? P(s)("plugins.list.table_headers.status_label.enabled") : P(s)("plugins.list.table_headers.status_label.disabled")), 1)
|
|
17143
17143
|
]),
|
|
17144
17144
|
_: 2
|
|
17145
17145
|
}, 1032, ["disabled", "disabled-tooltip-text", "model-value", "onClick"])
|
|
@@ -17174,7 +17174,7 @@ const KT = /* @__PURE__ */ Dn(ux, [["__scopeId", "data-v-ce846c38"]]), cx = ["al
|
|
|
17174
17174
|
}, 1024))), 128))
|
|
17175
17175
|
]),
|
|
17176
17176
|
_: 2
|
|
17177
|
-
}, 1024)) : (v(), B("span",
|
|
17177
|
+
}, 1024)) : (v(), B("span", y2, "-"))
|
|
17178
17178
|
]),
|
|
17179
17179
|
actions: R(({ row: Ce }) => [
|
|
17180
17180
|
Q(Je, null, {
|
|
@@ -17287,7 +17287,7 @@ const KT = /* @__PURE__ */ Dn(ux, [["__scopeId", "data-v-ce846c38"]]), cx = ["al
|
|
|
17287
17287
|
};
|
|
17288
17288
|
}
|
|
17289
17289
|
});
|
|
17290
|
-
const qT = /* @__PURE__ */ Dn(
|
|
17290
|
+
const qT = /* @__PURE__ */ Dn(b2, [["__scopeId", "data-v-0ea709f5"]]), w2 = (e) => (An("data-v-c64c9279"), e = e(), vn(), e), C2 = { class: "plugin-card-header" }, E2 = { class: "plugin-card-footer" }, k2 = /* @__PURE__ */ w2(() => /* @__PURE__ */ T("hr", { class: "plugin-card-footer-divider" }, null, -1)), O2 = { class: "footer-skeleton" }, B2 = /* @__PURE__ */ ze({
|
|
17291
17291
|
__name: "PluginCardSkeleton",
|
|
17292
17292
|
props: {
|
|
17293
17293
|
cardCount: {
|
|
@@ -17304,7 +17304,7 @@ const qT = /* @__PURE__ */ Dn(bx, [["__scopeId", "data-v-0ea709f5"]]), wx = (e)
|
|
|
17304
17304
|
type: "card"
|
|
17305
17305
|
}, {
|
|
17306
17306
|
"card-header": R(() => [
|
|
17307
|
-
T("div",
|
|
17307
|
+
T("div", C2, [
|
|
17308
17308
|
Q(r, { width: "5" })
|
|
17309
17309
|
])
|
|
17310
17310
|
]),
|
|
@@ -17312,9 +17312,9 @@ const qT = /* @__PURE__ */ Dn(bx, [["__scopeId", "data-v-0ea709f5"]]), wx = (e)
|
|
|
17312
17312
|
Me(" ")
|
|
17313
17313
|
]),
|
|
17314
17314
|
"card-footer": R(() => [
|
|
17315
|
-
T("div",
|
|
17316
|
-
|
|
17317
|
-
T("div",
|
|
17315
|
+
T("div", E2, [
|
|
17316
|
+
k2,
|
|
17317
|
+
T("div", O2, [
|
|
17318
17318
|
Q(r, { width: "5" })
|
|
17319
17319
|
])
|
|
17320
17320
|
])
|
|
@@ -17324,18 +17324,18 @@ const qT = /* @__PURE__ */ Dn(bx, [["__scopeId", "data-v-0ea709f5"]]), wx = (e)
|
|
|
17324
17324
|
};
|
|
17325
17325
|
}
|
|
17326
17326
|
});
|
|
17327
|
-
const
|
|
17327
|
+
const I2 = /* @__PURE__ */ Dn(B2, [["__scopeId", "data-v-c64c9279"]]), M2 = "16px", gd = "24px", S2 = (e, a) => {
|
|
17328
17328
|
const n = e.__vccOpts || e;
|
|
17329
17329
|
for (const [r, s] of a)
|
|
17330
17330
|
n[r] = s;
|
|
17331
17331
|
return n;
|
|
17332
|
-
},
|
|
17332
|
+
}, x2 = (e) => (An("data-v-c3612a37"), e = e(), vn(), e), T2 = ["aria-hidden"], R2 = {
|
|
17333
17333
|
key: 0,
|
|
17334
17334
|
"data-testid": "kui-icon-svg-title"
|
|
17335
|
-
},
|
|
17335
|
+
}, L2 = /* @__PURE__ */ x2(() => /* @__PURE__ */ T("path", {
|
|
17336
17336
|
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",
|
|
17337
17337
|
fill: "currentColor"
|
|
17338
|
-
}, null, -1)),
|
|
17338
|
+
}, null, -1)), D2 = /* @__PURE__ */ ze({
|
|
17339
17339
|
__name: "MoreIcon",
|
|
17340
17340
|
props: {
|
|
17341
17341
|
/** The accessibility text provided to screen readers */
|
|
@@ -17421,17 +17421,17 @@ const Ix = /* @__PURE__ */ Dn(Bx, [["__scopeId", "data-v-c64c9279"]]), Mx = "16p
|
|
|
17421
17421
|
width: "100%",
|
|
17422
17422
|
xmlns: "http://www.w3.org/2000/svg"
|
|
17423
17423
|
}, [
|
|
17424
|
-
e.title ? (v(), B("title",
|
|
17425
|
-
|
|
17426
|
-
], 8,
|
|
17424
|
+
e.title ? (v(), B("title", R2, _(e.title), 1)) : le("", !0),
|
|
17425
|
+
L2
|
|
17426
|
+
], 8, T2))
|
|
17427
17427
|
]),
|
|
17428
17428
|
_: 1
|
|
17429
17429
|
}, 8, ["aria-hidden", "style"]));
|
|
17430
17430
|
}
|
|
17431
|
-
}),
|
|
17431
|
+
}), N2 = /* @__PURE__ */ S2(D2, [["__scopeId", "data-v-c3612a37"]]), P2 = { class: "header-wrapper" }, j2 = ["data-testid", "title"], Y2 = { class: "plugin-card-title" }, U2 = {
|
|
17432
17432
|
key: 0,
|
|
17433
17433
|
class: "plugin-card-text"
|
|
17434
|
-
},
|
|
17434
|
+
}, H2 = /* @__PURE__ */ ze({
|
|
17435
17435
|
__name: "PluginSelectCard",
|
|
17436
17436
|
props: {
|
|
17437
17437
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17485,17 +17485,13 @@ const Ix = /* @__PURE__ */ Dn(Bx, [["__scopeId", "data-v-c64c9279"]]), Mx = "16p
|
|
|
17485
17485
|
return (M, x) => {
|
|
17486
17486
|
const N = te("KBadge"), ae = te("KButton"), C = te("KDropdownItem"), Y = te("KDropdownMenu"), W = te("KCard"), he = te("KTooltip");
|
|
17487
17487
|
return v(), X(he, {
|
|
17488
|
-
class: Ge(["plugin-card plugin-card-cursor-pointer", {
|
|
17489
|
-
disabled: u.value
|
|
17490
|
-
}]),
|
|
17491
17488
|
label: e.plugin.disabledMessage,
|
|
17492
17489
|
"position-fixed": ""
|
|
17493
17490
|
}, {
|
|
17494
17491
|
default: R(() => [
|
|
17495
17492
|
Q(W, {
|
|
17496
|
-
class: "plugin-card-content",
|
|
17493
|
+
class: Ge(["plugin-card-content", { disabled: u.value }]),
|
|
17497
17494
|
"data-testid": `${e.plugin.id}-card`,
|
|
17498
|
-
disabled: u.value,
|
|
17499
17495
|
"has-hover": "",
|
|
17500
17496
|
onClick: x[1] || (x[1] = (K) => u.value || k.value ? void 0 : A())
|
|
17501
17497
|
}, Tn({
|
|
@@ -17506,15 +17502,15 @@ const Ix = /* @__PURE__ */ Dn(Bx, [["__scopeId", "data-v-c64c9279"]]), Mx = "16p
|
|
|
17506
17502
|
title: e.plugin.available ? e.plugin.name : P(s)("plugins.select.unavailable_tooltip"),
|
|
17507
17503
|
onClick: D
|
|
17508
17504
|
}, [
|
|
17509
|
-
T("h4",
|
|
17505
|
+
T("h4", Y2, _(e.plugin.name), 1),
|
|
17510
17506
|
Q(Vo, {
|
|
17511
17507
|
alt: e.plugin.name,
|
|
17512
17508
|
class: "plugin-card-icon",
|
|
17513
17509
|
name: e.plugin.imageName || e.plugin.id,
|
|
17514
17510
|
size: 55
|
|
17515
17511
|
}, null, 8, ["alt", "name"]),
|
|
17516
|
-
e.plugin.description ? (v(), B("p",
|
|
17517
|
-
], 10,
|
|
17512
|
+
e.plugin.description ? (v(), B("p", U2, _(e.plugin.description), 1)) : le("", !0)
|
|
17513
|
+
], 10, j2),
|
|
17518
17514
|
T("div", {
|
|
17519
17515
|
class: Ge({
|
|
17520
17516
|
"plugin-card-create-footer": w.value,
|
|
@@ -17528,7 +17524,7 @@ const Ix = /* @__PURE__ */ Dn(Bx, [["__scopeId", "data-v-c64c9279"]]), Mx = "16p
|
|
|
17528
17524
|
k.value ? {
|
|
17529
17525
|
name: "statusHat",
|
|
17530
17526
|
fn: R(() => [
|
|
17531
|
-
T("div",
|
|
17527
|
+
T("div", P2, [
|
|
17532
17528
|
w.value ? le("", !0) : (v(), X(N, { key: 0 }, {
|
|
17533
17529
|
default: R(() => [
|
|
17534
17530
|
Me(_(P(s)("plugins.select.custom_badge_text")), 1)
|
|
@@ -17555,7 +17551,7 @@ const Ix = /* @__PURE__ */ Dn(Bx, [["__scopeId", "data-v-c64c9279"]]), Mx = "16p
|
|
|
17555
17551
|
size: "small"
|
|
17556
17552
|
}, {
|
|
17557
17553
|
icon: R(() => [
|
|
17558
|
-
Q(P(
|
|
17554
|
+
Q(P(N2), { size: P(M2) }, null, 8, ["size"])
|
|
17559
17555
|
]),
|
|
17560
17556
|
_: 1
|
|
17561
17557
|
})
|
|
@@ -17589,14 +17585,14 @@ const Ix = /* @__PURE__ */ Dn(Bx, [["__scopeId", "data-v-c64c9279"]]), Mx = "16p
|
|
|
17589
17585
|
]),
|
|
17590
17586
|
key: "1"
|
|
17591
17587
|
} : void 0
|
|
17592
|
-
]), 1032, ["
|
|
17588
|
+
]), 1032, ["class", "data-testid"])
|
|
17593
17589
|
]),
|
|
17594
17590
|
_: 1
|
|
17595
|
-
}, 8, ["
|
|
17591
|
+
}, 8, ["label"]);
|
|
17596
17592
|
};
|
|
17597
17593
|
}
|
|
17598
17594
|
});
|
|
17599
|
-
const Dr = /* @__PURE__ */ Dn(
|
|
17595
|
+
const Dr = /* @__PURE__ */ Dn(H2, [["__scopeId", "data-v-1758d4e5"]]), V2 = /* @__PURE__ */ ze({
|
|
17600
17596
|
__name: "DeleteCustomPluginSchemaModal",
|
|
17601
17597
|
props: {
|
|
17602
17598
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17690,7 +17686,7 @@ const Dr = /* @__PURE__ */ Dn(Hx, [["__scopeId", "data-v-62284439"]]), Vx = /* @
|
|
|
17690
17686
|
};
|
|
17691
17687
|
}
|
|
17692
17688
|
});
|
|
17693
|
-
const
|
|
17689
|
+
const F2 = /* @__PURE__ */ Dn(V2, [["__scopeId", "data-v-ba6336ac"]]), G2 = { class: "custom-plugins-grid" }, z2 = { class: "empty-state-title" }, K2 = { class: "empty-state-description" }, q2 = { class: "plugin-card-container" }, X2 = { class: "plugin-card-container" }, W2 = /* @__PURE__ */ ze({
|
|
17694
17690
|
__name: "PluginCustomGrid",
|
|
17695
17691
|
props: {
|
|
17696
17692
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17773,7 +17769,7 @@ const Fx = /* @__PURE__ */ Dn(Vx, [["__scopeId", "data-v-ba6336ac"]]), Gx = { cl
|
|
|
17773
17769
|
};
|
|
17774
17770
|
return (O, L) => {
|
|
17775
17771
|
const D = te("KEmptyState"), M = te("KCollapse");
|
|
17776
|
-
return v(), B("div",
|
|
17772
|
+
return v(), B("div", G2, [
|
|
17777
17773
|
d.value.length ? (v(), X(M, {
|
|
17778
17774
|
key: 1,
|
|
17779
17775
|
modelValue: l.value,
|
|
@@ -17784,7 +17780,7 @@ const Fx = /* @__PURE__ */ Dn(Vx, [["__scopeId", "data-v-ba6336ac"]]), Gx = { cl
|
|
|
17784
17780
|
"trigger-label": p.value
|
|
17785
17781
|
}, Tn({
|
|
17786
17782
|
"visible-content": R(() => [
|
|
17787
|
-
T("div",
|
|
17783
|
+
T("div", q2, [
|
|
17788
17784
|
(v(!0), B(De, null, Ye(P(s)("visible", d.value, e.pluginsPerRow), (x, N) => (v(), X(Dr, {
|
|
17789
17785
|
key: `plugin-card-${N}`,
|
|
17790
17786
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
@@ -17798,7 +17794,7 @@ const Fx = /* @__PURE__ */ Dn(Vx, [["__scopeId", "data-v-ba6336ac"]]), Gx = { cl
|
|
|
17798
17794
|
])
|
|
17799
17795
|
]),
|
|
17800
17796
|
default: R(() => [
|
|
17801
|
-
T("div",
|
|
17797
|
+
T("div", X2, [
|
|
17802
17798
|
(v(!0), B(De, null, Ye(P(s)("hidden", d.value, e.pluginsPerRow), (x, N) => (v(), X(Dr, {
|
|
17803
17799
|
key: `plugin-card-${N}`,
|
|
17804
17800
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
@@ -17827,14 +17823,14 @@ const Fx = /* @__PURE__ */ Dn(Vx, [["__scopeId", "data-v-ba6336ac"]]), Gx = { cl
|
|
|
17827
17823
|
"icon-size": "96"
|
|
17828
17824
|
}, {
|
|
17829
17825
|
title: R(() => [
|
|
17830
|
-
T("span",
|
|
17826
|
+
T("span", z2, _(P(r)("plugins.select.tabs.custom.empty_title")), 1)
|
|
17831
17827
|
]),
|
|
17832
17828
|
message: R(() => [
|
|
17833
|
-
T("span",
|
|
17829
|
+
T("span", K2, _(P(r)("plugins.select.tabs.custom.empty_description")), 1)
|
|
17834
17830
|
]),
|
|
17835
17831
|
_: 1
|
|
17836
17832
|
})),
|
|
17837
|
-
A.value && y.value ? (v(), X(
|
|
17833
|
+
A.value && y.value ? (v(), X(F2, {
|
|
17838
17834
|
key: 2,
|
|
17839
17835
|
config: e.config,
|
|
17840
17836
|
plugin: y.value,
|
|
@@ -17845,7 +17841,7 @@ const Fx = /* @__PURE__ */ Dn(Vx, [["__scopeId", "data-v-ba6336ac"]]), Gx = { cl
|
|
|
17845
17841
|
};
|
|
17846
17842
|
}
|
|
17847
17843
|
});
|
|
17848
|
-
const
|
|
17844
|
+
const Z2 = /* @__PURE__ */ Dn(W2, [["__scopeId", "data-v-7a74094f"]]), J2 = { class: "plugin-select-grid" }, Q2 = { class: "empty-state-title" }, _2 = { class: "empty-state-description" }, $2 = { class: "plugin-card-container" }, eT = { class: "plugin-card-container" }, tT = /* @__PURE__ */ ze({
|
|
17849
17845
|
__name: "PluginSelectGrid",
|
|
17850
17846
|
props: {
|
|
17851
17847
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17894,7 +17890,7 @@ const Zx = /* @__PURE__ */ Dn(Wx, [["__scopeId", "data-v-7a74094f"]]), Jx = { cl
|
|
|
17894
17890
|
}, {}));
|
|
17895
17891
|
return (y, w) => {
|
|
17896
17892
|
const k = te("KEmptyState"), O = te("KCollapse");
|
|
17897
|
-
return v(), B("div",
|
|
17893
|
+
return v(), B("div", J2, [
|
|
17898
17894
|
Object.keys(d.value).length ? le("", !0) : (v(), X(k, {
|
|
17899
17895
|
key: 0,
|
|
17900
17896
|
class: "plugins-empty-state",
|
|
@@ -17904,10 +17900,10 @@ const Zx = /* @__PURE__ */ Dn(Wx, [["__scopeId", "data-v-7a74094f"]]), Jx = { cl
|
|
|
17904
17900
|
"icon-size": "96"
|
|
17905
17901
|
}, {
|
|
17906
17902
|
title: R(() => [
|
|
17907
|
-
T("span",
|
|
17903
|
+
T("span", Q2, _(P(r)("plugins.select.tabs.kong.empty_title")), 1)
|
|
17908
17904
|
]),
|
|
17909
17905
|
message: R(() => [
|
|
17910
|
-
T("span",
|
|
17906
|
+
T("span", _2, _(P(r)("plugins.select.tabs.kong.empty_description")), 1)
|
|
17911
17907
|
]),
|
|
17912
17908
|
_: 1
|
|
17913
17909
|
})),
|
|
@@ -17922,7 +17918,7 @@ const Zx = /* @__PURE__ */ Dn(Wx, [["__scopeId", "data-v-7a74094f"]]), Jx = { cl
|
|
|
17922
17918
|
"trigger-label": l.value[D] ? P(r)("plugins.select.view_less") : A.value[L]
|
|
17923
17919
|
}, Tn({
|
|
17924
17920
|
"visible-content": R(() => [
|
|
17925
|
-
T("div", $
|
|
17921
|
+
T("div", $2, [
|
|
17926
17922
|
(v(!0), B(De, null, Ye(P(s)("visible", d.value[L] || [], e.pluginsPerRow), (M, x) => (v(), X(Dr, {
|
|
17927
17923
|
key: `plugin-card-${x}`,
|
|
17928
17924
|
config: e.config,
|
|
@@ -18061,11 +18057,11 @@ const fd = /* @__PURE__ */ Dn(tT, [["__scopeId", "data-v-35795414"]]), nT = { cl
|
|
|
18061
18057
|
hash: "#custom",
|
|
18062
18058
|
title: s("plugins.select.tabs.custom.title")
|
|
18063
18059
|
}
|
|
18064
|
-
] : [], Y = ue(C.length && ((r == null ? void 0 : r.hash) || ((de = C[0]) == null ? void 0 : de.hash)) || ""), W = () => [
|
|
18065
|
-
|
|
18066
|
-
Object.keys({ ...n.availableOnServer ? {} : l }),
|
|
18067
|
-
O.value
|
|
18068
|
-
|
|
18060
|
+
] : [], Y = ue(C.length && ((r == null ? void 0 : r.hash) || ((de = C[0]) == null ? void 0 : de.hash)) || ""), W = () => [.../* @__PURE__ */ new Set(
|
|
18061
|
+
[
|
|
18062
|
+
...Object.keys({ ...n.availableOnServer ? {} : l }),
|
|
18063
|
+
...O.value
|
|
18064
|
+
]
|
|
18069
18065
|
)].filter((U) => !n.ignoredPlugins.includes(U)).filter((U) => n.config.entityType && (n.config.entityType === "services" && l[U] && !l[U].scope.includes(h.SERVICE) || n.config.entityType === "routes" && l[U] && !l[U].scope.includes(h.ROUTE) || n.config.entityType === "consumer_groups" && l[U] && !l[U].scope.includes(h.CONSUMER_GROUP) || n.config.entityType === "consumers" && l[U] && !l[U].scope.includes(h.CONSUMER)) ? !1 : U).reduce((U, Z) => {
|
|
18070
18066
|
var st;
|
|
18071
18067
|
const Te = l[Z] && l[Z].name || Z, be = {
|
|
@@ -18151,7 +18147,7 @@ const fd = /* @__PURE__ */ Dn(tT, [["__scopeId", "data-v-35795414"]]), nT = { cl
|
|
|
18151
18147
|
]),
|
|
18152
18148
|
_: 1
|
|
18153
18149
|
}),
|
|
18154
|
-
Q(
|
|
18150
|
+
Q(I2, {
|
|
18155
18151
|
"card-count": 8,
|
|
18156
18152
|
type: "card"
|
|
18157
18153
|
})
|
|
@@ -18200,7 +18196,7 @@ const fd = /* @__PURE__ */ Dn(tT, [["__scopeId", "data-v-35795414"]]), nT = { cl
|
|
|
18200
18196
|
custom: R(() => [
|
|
18201
18197
|
T("div", lT, [
|
|
18202
18198
|
T("p", uT, _(P(s)("plugins.select.tabs.custom.description")), 1),
|
|
18203
|
-
Q(
|
|
18199
|
+
Q(Z2, {
|
|
18204
18200
|
"can-create-custom-plugin": z.value,
|
|
18205
18201
|
"can-delete-custom-plugin": re.value,
|
|
18206
18202
|
"can-edit-custom-plugin": ie.value,
|
|
@@ -18228,7 +18224,7 @@ const fd = /* @__PURE__ */ Dn(tT, [["__scopeId", "data-v-35795414"]]), nT = { cl
|
|
|
18228
18224
|
};
|
|
18229
18225
|
}
|
|
18230
18226
|
});
|
|
18231
|
-
const XT = /* @__PURE__ */ Dn(cT, [["__scopeId", "data-v-
|
|
18227
|
+
const XT = /* @__PURE__ */ Dn(cT, [["__scopeId", "data-v-3a2d8358"]]), dT = {
|
|
18232
18228
|
fail: "Failed to copy id to clipboard",
|
|
18233
18229
|
success: {
|
|
18234
18230
|
prefix: "Successfully",
|