@kong-ui-public/entities-consumer-credentials 3.8.43 → 3.10.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.
|
@@ -1,174 +1,33 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { AddIcon as
|
|
3
|
-
import { createI18n as
|
|
4
|
-
import { useAxios as
|
|
5
|
-
const pe = {
|
|
6
|
-
|
|
7
|
-
list: {
|
|
8
|
-
toolbar_actions: {
|
|
9
|
-
acls: {
|
|
10
|
-
new: "New ACL credential"
|
|
11
|
-
},
|
|
12
|
-
"basic-auth": {
|
|
13
|
-
new: "New Basic Auth credential"
|
|
14
|
-
},
|
|
15
|
-
"key-auth": {
|
|
16
|
-
new: "New Key Auth credential"
|
|
17
|
-
},
|
|
18
|
-
"key-auth-enc": {
|
|
19
|
-
new: "New Key Auth encrypted credential"
|
|
20
|
-
},
|
|
21
|
-
oauth2: {
|
|
22
|
-
new: "New OAuth 2.0 credential"
|
|
23
|
-
},
|
|
24
|
-
"hmac-auth": {
|
|
25
|
-
new: "New HMAC credential"
|
|
26
|
-
},
|
|
27
|
-
jwt: {
|
|
28
|
-
new: "New JWT credential"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
table_headers: {
|
|
32
|
-
acls: {
|
|
33
|
-
group: "Group",
|
|
34
|
-
created_at: "Created at",
|
|
35
|
-
tags: "Tags"
|
|
36
|
-
},
|
|
37
|
-
"basic-auth": {
|
|
38
|
-
password: "Credential",
|
|
39
|
-
username: "Username",
|
|
40
|
-
created_at: "Created at",
|
|
41
|
-
tags: "Tags"
|
|
42
|
-
},
|
|
43
|
-
"key-auth": {
|
|
44
|
-
key: "Key",
|
|
45
|
-
created_at: "Created at",
|
|
46
|
-
tags: "Tags"
|
|
47
|
-
},
|
|
48
|
-
"key-auth-enc": {
|
|
49
|
-
key: "Key",
|
|
50
|
-
created_at: "Created at",
|
|
51
|
-
tags: "Tags"
|
|
52
|
-
},
|
|
53
|
-
oauth2: {
|
|
54
|
-
name: "Name",
|
|
55
|
-
client_id: "Client ID",
|
|
56
|
-
client_secret: "Client secret",
|
|
57
|
-
created_at: "Created at",
|
|
58
|
-
tags: "Tags"
|
|
59
|
-
},
|
|
60
|
-
"hmac-auth": {
|
|
61
|
-
username: "Username",
|
|
62
|
-
secret: "Secret",
|
|
63
|
-
created_at: "Created at",
|
|
64
|
-
tags: "Tags"
|
|
65
|
-
},
|
|
66
|
-
jwt: {
|
|
67
|
-
key: "Key",
|
|
68
|
-
algorithm: "Algorithm",
|
|
69
|
-
created_at: "Created at",
|
|
70
|
-
tags: "Tags"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
empty_state: {
|
|
74
|
-
acls: {
|
|
75
|
-
title: "Configure a new ACL credential",
|
|
76
|
-
cta: "New ACL credential"
|
|
77
|
-
},
|
|
78
|
-
"basic-auth": {
|
|
79
|
-
title: "Configure a new Basic Auth credential",
|
|
80
|
-
cta: "New Basic Auth credential"
|
|
81
|
-
},
|
|
82
|
-
"key-auth": {
|
|
83
|
-
title: "Configure a new Key Auth credential",
|
|
84
|
-
cta: "New Key Auth credential"
|
|
85
|
-
},
|
|
86
|
-
"key-auth-enc": {
|
|
87
|
-
title: "Configure a new Key Auth Encrypted credential",
|
|
88
|
-
cta: "New Key Auth Encrypted credential"
|
|
89
|
-
},
|
|
90
|
-
oauth2: {
|
|
91
|
-
title: "Configure a new OAuth 2.0 credential",
|
|
92
|
-
cta: "New OAuth 2.0 credential"
|
|
93
|
-
},
|
|
94
|
-
"hmac-auth": {
|
|
95
|
-
title: "Configure a new HMAC credential",
|
|
96
|
-
cta: "New HMAC credential"
|
|
97
|
-
},
|
|
98
|
-
jwt: {
|
|
99
|
-
title: "Configure a new JWT credential",
|
|
100
|
-
cta: "New JWT credential"
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
actions: {
|
|
105
|
-
copy_id: "Copy ID",
|
|
106
|
-
copy_credential: "Copy credential",
|
|
107
|
-
copy_key: "Copy key",
|
|
108
|
-
copy_secret: "Copy secret",
|
|
109
|
-
copy_json: "Copy JSON",
|
|
110
|
-
edit: "Edit",
|
|
111
|
-
delete: "Delete"
|
|
112
|
-
},
|
|
113
|
-
delete: {
|
|
114
|
-
acls: {
|
|
115
|
-
title: "Delete an ACL credential"
|
|
116
|
-
},
|
|
117
|
-
"basic-auth": {
|
|
118
|
-
title: "Delete a Basic Auth credential"
|
|
119
|
-
},
|
|
120
|
-
"key-auth": {
|
|
121
|
-
title: "Delete a Key Auth credential"
|
|
122
|
-
},
|
|
123
|
-
"key-auth-enc": {
|
|
124
|
-
title: "Delete a Key Auth encrypted credential"
|
|
125
|
-
},
|
|
126
|
-
oauth2: {
|
|
127
|
-
title: "Delete an OAuth 2.0 credential"
|
|
128
|
-
},
|
|
129
|
-
"hmac-auth": {
|
|
130
|
-
title: "Delete an HMAC credential"
|
|
131
|
-
},
|
|
132
|
-
jwt: {
|
|
133
|
-
title: "Delete a JWT credential"
|
|
134
|
-
},
|
|
135
|
-
description: "This action cannot be reversed."
|
|
136
|
-
},
|
|
137
|
-
error: {
|
|
138
|
-
general: "Credentials could not be retrieved",
|
|
139
|
-
delete: "The credential could not be deleted at this time.",
|
|
140
|
-
copy: "Failed to copy to clipboard"
|
|
141
|
-
},
|
|
142
|
-
copy: {
|
|
143
|
-
success: "Copied {val} to clipboard",
|
|
144
|
-
success_brief: "Successfully copied to clipboard"
|
|
145
|
-
}
|
|
146
|
-
}, ge = {
|
|
147
|
-
credentials: pe
|
|
1
|
+
import { defineComponent as X, computed as D, ref as m, watch as Y, onBeforeMount as Z, resolveComponent as I, openBlock as b, createElementBlock as ee, createVNode as l, unref as r, withCtx as n, createTextVNode as u, toDisplayString as d, createBlock as k, createCommentVNode as N, createElementVNode as B, Teleport as te } from "vue";
|
|
2
|
+
import { AddIcon as ae } from "@kong/icons";
|
|
3
|
+
import { createI18n as ne, i18nTComponent as ce } from "@kong-ui-public/i18n";
|
|
4
|
+
import { useAxios as le, useFetcher as ie, useDeleteUrlBuilder as re, EntityTypes as se, FetcherStatus as oe, EntityBaseTable as de, PermissionsWrapper as j, TableTags as ue, EntityDeleteModal as he } from "@kong-ui-public/entities-shared";
|
|
5
|
+
const ye = { title: "Consumer credentials", list: { toolbar_actions: { acls: { new: "New ACL credential" }, "basic-auth": { new: "New Basic Auth credential" }, "key-auth": { new: "New Key Auth credential" }, "key-auth-enc": { new: "New Key Auth encrypted credential" }, oauth2: { new: "New OAuth 2.0 credential" }, "hmac-auth": { new: "New HMAC credential" }, jwt: { new: "New JWT credential" } }, table_headers: { acls: { group: "Group", created_at: "Created at", tags: "Tags" }, "basic-auth": { password: "Credential", username: "Username", created_at: "Created at", tags: "Tags" }, "key-auth": { key: "Key", created_at: "Created at", tags: "Tags" }, "key-auth-enc": { key: "Key", created_at: "Created at", tags: "Tags" }, oauth2: { name: "Name", client_id: "Client ID", client_secret: "Client secret", created_at: "Created at", tags: "Tags" }, "hmac-auth": { username: "Username", secret: "Secret", created_at: "Created at", tags: "Tags" }, jwt: { key: "Key", algorithm: "Algorithm", created_at: "Created at", tags: "Tags" } }, empty_state: { acls: { title: "Configure a new ACL credential", cta: "New ACL credential" }, "basic-auth": { title: "Configure a new Basic Auth credential", cta: "New Basic Auth credential" }, "key-auth": { title: "Configure a new Key Auth credential", cta: "New Key Auth credential" }, "key-auth-enc": { title: "Configure a new Key Auth Encrypted credential", cta: "New Key Auth Encrypted credential" }, oauth2: { title: "Configure a new OAuth 2.0 credential", cta: "New OAuth 2.0 credential" }, "hmac-auth": { title: "Configure a new HMAC credential", cta: "New HMAC credential" }, jwt: { title: "Configure a new JWT credential", cta: "New JWT credential" } } }, actions: { copy_id: "Copy ID", copy_credential: "Copy credential", copy_key: "Copy key", copy_secret: "Copy secret", copy_json: "Copy JSON", edit: "Edit", delete: "Delete" }, delete: { acls: { title: "Delete an ACL credential" }, "basic-auth": { title: "Delete a Basic Auth credential" }, "key-auth": { title: "Delete a Key Auth credential" }, "key-auth-enc": { title: "Delete a Key Auth encrypted credential" }, oauth2: { title: "Delete an OAuth 2.0 credential" }, "hmac-auth": { title: "Delete an HMAC credential" }, jwt: { title: "Delete a JWT credential" }, description: "This action cannot be reversed." }, error: { general: "Credentials could not be retrieved", delete: "The credential could not be deleted at this time.", copy: "Failed to copy to clipboard" }, copy: { success: "Copied {val} to clipboard", success_brief: "Successfully copied to clipboard" } }, pe = {
|
|
6
|
+
credentials: ye
|
|
148
7
|
};
|
|
149
|
-
function
|
|
150
|
-
const
|
|
8
|
+
function ge() {
|
|
9
|
+
const c = ne("en-us", pe);
|
|
151
10
|
return {
|
|
152
|
-
i18n:
|
|
153
|
-
i18nT:
|
|
11
|
+
i18n: c,
|
|
12
|
+
i18nT: ce(c)
|
|
154
13
|
// Translation component <i18n-t>
|
|
155
14
|
};
|
|
156
15
|
}
|
|
157
|
-
const
|
|
158
|
-
useI18n:
|
|
159
|
-
},
|
|
16
|
+
const fe = {
|
|
17
|
+
useI18n: ge
|
|
18
|
+
}, me = {
|
|
160
19
|
list: {
|
|
161
20
|
konnect: "/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumers/{consumerId}/{plugin}",
|
|
162
21
|
kongManager: "/{workspace}/consumers/{consumerId}/{plugin}"
|
|
163
22
|
}
|
|
164
|
-
},
|
|
23
|
+
}, be = { class: "kong-ui-entities-consumer-credentials-list" }, _e = /* @__PURE__ */ X({
|
|
165
24
|
__name: "ConsumerCredentialList",
|
|
166
25
|
props: {
|
|
167
26
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
168
27
|
config: {
|
|
169
28
|
type: Object,
|
|
170
29
|
required: !0,
|
|
171
|
-
validator: (
|
|
30
|
+
validator: (c) => !(!c || !["konnect", "kongManager"].includes(c?.app) || !c.createRoute || !c.getEditRoute)
|
|
172
31
|
},
|
|
173
32
|
// used to override the default identifier for the cache entry
|
|
174
33
|
cacheIdentifier: {
|
|
@@ -200,9 +59,8 @@ const me = {
|
|
|
200
59
|
}
|
|
201
60
|
},
|
|
202
61
|
emits: ["error", "copy:success", "copy:error", "delete:success"],
|
|
203
|
-
setup(
|
|
204
|
-
|
|
205
|
-
const p = K, i = n, { i18n: { t: e, formatUnixTimeStamp: S } } = me.useI18n(), { axiosInstance: P } = ie((O = i.config) == null ? void 0 : O.axiosRequestConfig), F = {
|
|
62
|
+
setup(c, { emit: K }) {
|
|
63
|
+
const h = K, i = c, { i18n: { t: e, formatUnixTimeStamp: O } } = fe.useI18n(), { axiosInstance: S } = le(i.config?.axiosRequestConfig), P = {
|
|
206
64
|
acls: {
|
|
207
65
|
group: { label: e("credentials.list.table_headers.acls.group") },
|
|
208
66
|
created_at: { label: e("credentials.list.table_headers.acls.created_at") },
|
|
@@ -242,107 +100,105 @@ const me = {
|
|
|
242
100
|
created_at: { label: e("credentials.list.table_headers.jwt.created_at") },
|
|
243
101
|
tags: { label: e("credentials.list.table_headers.jwt.tags") }
|
|
244
102
|
}
|
|
245
|
-
},
|
|
246
|
-
let
|
|
247
|
-
return i.config.app === "konnect" && (
|
|
103
|
+
}, F = D(() => P[i.config.plugin]), $ = D(() => {
|
|
104
|
+
let t = `${i.config.apiBaseUrl}${me.list[i.config.app]}`;
|
|
105
|
+
return i.config.app === "konnect" && (t = t.replace(/{controlPlaneId}/gi, i.config.controlPlaneId || "")), t.replace(/\/{workspace}/gi, i.config.workspace ? `/${i.config.workspace}` : "").replace(/{consumerId}/gi, i.config.consumerId || "").replace(/{plugin}/gi, i.config.plugin || "");
|
|
248
106
|
}), {
|
|
249
|
-
fetcher:
|
|
250
|
-
fetcherState:
|
|
107
|
+
fetcher: R,
|
|
108
|
+
fetcherState: U,
|
|
251
109
|
fetcherCacheKey: x
|
|
252
|
-
} =
|
|
110
|
+
} = ie(D(() => ({ ...i.config, cacheIdentifier: i.cacheIdentifier })), $), J = () => {
|
|
253
111
|
x.value++;
|
|
254
|
-
},
|
|
255
|
-
const
|
|
256
|
-
if (!await
|
|
257
|
-
|
|
112
|
+
}, C = m(null), p = async (t, s, T) => {
|
|
113
|
+
const g = s ? t[s] : JSON.stringify(t);
|
|
114
|
+
if (!await T(g)) {
|
|
115
|
+
q(t, s);
|
|
258
116
|
return;
|
|
259
117
|
}
|
|
260
|
-
|
|
261
|
-
},
|
|
262
|
-
|
|
263
|
-
entity:
|
|
118
|
+
L(t, s);
|
|
119
|
+
}, L = (t, s) => {
|
|
120
|
+
h("copy:success", {
|
|
121
|
+
entity: t,
|
|
264
122
|
field: s,
|
|
265
|
-
message: s && !["password", "key", "client_secret", "secret"].includes(s) ? e("credentials.copy.success", { val:
|
|
123
|
+
message: s && !["password", "key", "client_secret", "secret"].includes(s) ? e("credentials.copy.success", { val: t[s] }) : e("credentials.copy.success_brief")
|
|
266
124
|
});
|
|
267
|
-
},
|
|
268
|
-
|
|
269
|
-
entity:
|
|
125
|
+
}, q = (t, s) => {
|
|
126
|
+
h("copy:error", {
|
|
127
|
+
entity: t,
|
|
270
128
|
field: s,
|
|
271
129
|
message: e("credentials.error.copy")
|
|
272
130
|
});
|
|
273
|
-
},
|
|
131
|
+
}, H = (t) => ({
|
|
274
132
|
label: e("credentials.actions.edit"),
|
|
275
|
-
to: i.config.getEditRoute(
|
|
276
|
-
}),
|
|
277
|
-
|
|
278
|
-
},
|
|
279
|
-
|
|
280
|
-
},
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
T.value = !0;
|
|
133
|
+
to: i.config.getEditRoute(t)
|
|
134
|
+
}), v = m(void 0), w = m(!1), A = m(!1), M = m(""), V = re(i.config, $.value), W = D(() => se[i.config.plugin]), z = (t) => {
|
|
135
|
+
v.value = t, w.value = !0;
|
|
136
|
+
}, G = () => {
|
|
137
|
+
w.value = !1;
|
|
138
|
+
}, Q = async () => {
|
|
139
|
+
if (v.value?.id) {
|
|
140
|
+
A.value = !0;
|
|
284
141
|
try {
|
|
285
|
-
await
|
|
286
|
-
} catch (
|
|
287
|
-
M.value =
|
|
142
|
+
await S.delete(V(v.value.id)), A.value = !1, w.value = !1, x.value++, h("delete:success", v.value);
|
|
143
|
+
} catch (t) {
|
|
144
|
+
M.value = t.response?.data?.message || t.message || e("credentials.error.delete"), h("error", t);
|
|
288
145
|
} finally {
|
|
289
|
-
|
|
146
|
+
A.value = !1;
|
|
290
147
|
}
|
|
291
148
|
}
|
|
292
149
|
};
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
v.value = {
|
|
150
|
+
Y(U, (t) => {
|
|
151
|
+
if (t.status === oe.Error) {
|
|
152
|
+
C.value = {
|
|
297
153
|
title: e("credentials.error.general")
|
|
298
|
-
},
|
|
154
|
+
}, t.error?.response?.data?.message && (C.value.message = t.error.response.data.message), h("error", t.error);
|
|
299
155
|
return;
|
|
300
156
|
}
|
|
301
|
-
|
|
157
|
+
C.value = null;
|
|
302
158
|
});
|
|
303
|
-
const E =
|
|
159
|
+
const E = m({
|
|
304
160
|
ctaPath: i.config.createRoute,
|
|
305
161
|
ctaText: void 0,
|
|
306
162
|
message: "",
|
|
307
163
|
title: e("credentials.title")
|
|
308
164
|
});
|
|
309
|
-
return
|
|
165
|
+
return Z(async () => {
|
|
310
166
|
await i.canCreate() && (E.value.title = e(`credentials.list.empty_state.${i.config.plugin}.title`), E.value.ctaText = e(`credentials.list.empty_state.${i.config.plugin}.cta`));
|
|
311
|
-
}), (
|
|
312
|
-
const
|
|
313
|
-
return
|
|
314
|
-
l(r(
|
|
315
|
-
"cache-identifier":
|
|
167
|
+
}), (t, s) => {
|
|
168
|
+
const T = I("KButton"), g = I("KCopy"), y = I("KDropdownItem"), f = I("KClipboardProvider");
|
|
169
|
+
return b(), ee("div", be, [
|
|
170
|
+
l(r(de), {
|
|
171
|
+
"cache-identifier": c.cacheIdentifier,
|
|
316
172
|
"disable-row-click": "",
|
|
317
173
|
"disable-sorting": "",
|
|
318
174
|
"empty-state-options": E.value,
|
|
319
175
|
"enable-entity-actions": "",
|
|
320
|
-
"error-message":
|
|
321
|
-
fetcher: r(
|
|
176
|
+
"error-message": C.value,
|
|
177
|
+
fetcher: r(R),
|
|
322
178
|
"fetcher-cache-key": r(x),
|
|
323
179
|
"pagination-type": "offset",
|
|
324
180
|
"preferences-storage-key": "kong-ui-entities-consumer-credentials-list",
|
|
325
|
-
"table-headers":
|
|
326
|
-
onSort:
|
|
181
|
+
"table-headers": F.value,
|
|
182
|
+
onSort: J
|
|
327
183
|
}, {
|
|
328
|
-
"toolbar-button":
|
|
329
|
-
(
|
|
330
|
-
disabled: !
|
|
184
|
+
"toolbar-button": n(() => [
|
|
185
|
+
(b(), k(te, {
|
|
186
|
+
disabled: !c.useActionOutside,
|
|
331
187
|
to: "#kong-ui-app-page-header-action-button"
|
|
332
188
|
}, [
|
|
333
189
|
l(r(j), {
|
|
334
|
-
"auth-function": () =>
|
|
190
|
+
"auth-function": () => c.canCreate()
|
|
335
191
|
}, {
|
|
336
|
-
default:
|
|
337
|
-
l(
|
|
192
|
+
default: n(() => [
|
|
193
|
+
l(T, {
|
|
338
194
|
appearance: "primary",
|
|
339
195
|
"data-testid": "toolbar-add-credential",
|
|
340
|
-
size:
|
|
341
|
-
to:
|
|
196
|
+
size: c.useActionOutside ? "medium" : "large",
|
|
197
|
+
to: c.config.createRoute
|
|
342
198
|
}, {
|
|
343
|
-
default:
|
|
344
|
-
l(r(
|
|
345
|
-
|
|
199
|
+
default: n(() => [
|
|
200
|
+
l(r(ae)),
|
|
201
|
+
u(" " + d(r(e)(`credentials.list.toolbar_actions.${c.config.plugin}.new`)), 1)
|
|
346
202
|
]),
|
|
347
203
|
_: 1
|
|
348
204
|
}, 8, ["size", "to"])
|
|
@@ -351,128 +207,128 @@ const me = {
|
|
|
351
207
|
}, 8, ["auth-function"])
|
|
352
208
|
], 8, ["disabled"]))
|
|
353
209
|
]),
|
|
354
|
-
group:
|
|
355
|
-
B("b", null,
|
|
210
|
+
group: n(({ rowValue: a }) => [
|
|
211
|
+
B("b", null, d(a ?? "-"), 1)
|
|
356
212
|
]),
|
|
357
|
-
name:
|
|
358
|
-
B("b", null,
|
|
213
|
+
name: n(({ rowValue: a }) => [
|
|
214
|
+
B("b", null, d(a ?? "-"), 1)
|
|
359
215
|
]),
|
|
360
|
-
username:
|
|
361
|
-
B("span", null,
|
|
216
|
+
username: n(({ rowValue: a }) => [
|
|
217
|
+
B("span", null, d(a ?? "-"), 1)
|
|
362
218
|
]),
|
|
363
|
-
password:
|
|
364
|
-
l(
|
|
219
|
+
password: n(({ rowValue: a }) => [
|
|
220
|
+
l(g, {
|
|
365
221
|
format: "redacted",
|
|
366
|
-
text:
|
|
222
|
+
text: a,
|
|
367
223
|
truncate: ""
|
|
368
224
|
}, null, 8, ["text"])
|
|
369
225
|
]),
|
|
370
|
-
key:
|
|
371
|
-
l(
|
|
226
|
+
key: n(({ rowValue: a }) => [
|
|
227
|
+
l(g, {
|
|
372
228
|
format: "redacted",
|
|
373
|
-
text:
|
|
229
|
+
text: a,
|
|
374
230
|
truncate: ""
|
|
375
231
|
}, null, 8, ["text"])
|
|
376
232
|
]),
|
|
377
|
-
client_secret:
|
|
378
|
-
l(
|
|
233
|
+
client_secret: n(({ rowValue: a }) => [
|
|
234
|
+
l(g, {
|
|
379
235
|
format: "redacted",
|
|
380
|
-
text:
|
|
236
|
+
text: a,
|
|
381
237
|
truncate: ""
|
|
382
238
|
}, null, 8, ["text"])
|
|
383
239
|
]),
|
|
384
|
-
secret:
|
|
385
|
-
l(
|
|
240
|
+
secret: n(({ rowValue: a }) => [
|
|
241
|
+
l(g, {
|
|
386
242
|
format: "redacted",
|
|
387
|
-
text:
|
|
243
|
+
text: a,
|
|
388
244
|
truncate: ""
|
|
389
245
|
}, null, 8, ["text"])
|
|
390
246
|
]),
|
|
391
|
-
created_at:
|
|
392
|
-
|
|
247
|
+
created_at: n(({ rowValue: a }) => [
|
|
248
|
+
u(d(r(O)(a)), 1)
|
|
393
249
|
]),
|
|
394
|
-
tags:
|
|
395
|
-
l(r(
|
|
250
|
+
tags: n(({ rowValue: a }) => [
|
|
251
|
+
l(r(ue), { tags: a }, null, 8, ["tags"])
|
|
396
252
|
]),
|
|
397
|
-
actions:
|
|
398
|
-
l(
|
|
399
|
-
default:
|
|
400
|
-
l(
|
|
253
|
+
actions: n(({ row: a }) => [
|
|
254
|
+
l(f, null, {
|
|
255
|
+
default: n(({ copyToClipboard: o }) => [
|
|
256
|
+
l(y, {
|
|
401
257
|
"data-testid": "action-entity-copy-id",
|
|
402
|
-
onClick: (
|
|
258
|
+
onClick: (_) => p(a, "id", o)
|
|
403
259
|
}, {
|
|
404
|
-
default:
|
|
405
|
-
|
|
260
|
+
default: n(() => [
|
|
261
|
+
u(d(r(e)("credentials.actions.copy_id")), 1)
|
|
406
262
|
]),
|
|
407
263
|
_: 1
|
|
408
264
|
}, 8, ["onClick"])
|
|
409
265
|
]),
|
|
410
266
|
_: 2
|
|
411
267
|
}, 1024),
|
|
412
|
-
|
|
413
|
-
default:
|
|
414
|
-
l(
|
|
268
|
+
c.config.plugin === "basic-auth" ? (b(), k(f, { key: 0 }, {
|
|
269
|
+
default: n(({ copyToClipboard: o }) => [
|
|
270
|
+
l(y, {
|
|
415
271
|
"data-testid": "action-entity-copy-credential",
|
|
416
|
-
onClick: (
|
|
272
|
+
onClick: (_) => p(a, "password", o)
|
|
417
273
|
}, {
|
|
418
|
-
default:
|
|
419
|
-
|
|
274
|
+
default: n(() => [
|
|
275
|
+
u(d(r(e)("credentials.actions.copy_credential")), 1)
|
|
420
276
|
]),
|
|
421
277
|
_: 1
|
|
422
278
|
}, 8, ["onClick"])
|
|
423
279
|
]),
|
|
424
280
|
_: 2
|
|
425
281
|
}, 1024)) : N("", !0),
|
|
426
|
-
["key-auth", "key-auth-enc", "jwt"].includes(
|
|
427
|
-
default:
|
|
428
|
-
l(
|
|
282
|
+
["key-auth", "key-auth-enc", "jwt"].includes(c.config.plugin) ? (b(), k(f, { key: 1 }, {
|
|
283
|
+
default: n(({ copyToClipboard: o }) => [
|
|
284
|
+
l(y, {
|
|
429
285
|
"data-testid": "action-entity-copy-key",
|
|
430
|
-
onClick: (
|
|
286
|
+
onClick: (_) => p(a, "key", o)
|
|
431
287
|
}, {
|
|
432
|
-
default:
|
|
433
|
-
|
|
288
|
+
default: n(() => [
|
|
289
|
+
u(d(r(e)("credentials.actions.copy_key")), 1)
|
|
434
290
|
]),
|
|
435
291
|
_: 1
|
|
436
292
|
}, 8, ["onClick"])
|
|
437
293
|
]),
|
|
438
294
|
_: 2
|
|
439
295
|
}, 1024)) : N("", !0),
|
|
440
|
-
|
|
441
|
-
default:
|
|
442
|
-
l(
|
|
296
|
+
c.config.plugin === "oauth2" ? (b(), k(f, { key: 2 }, {
|
|
297
|
+
default: n(({ copyToClipboard: o }) => [
|
|
298
|
+
l(y, {
|
|
443
299
|
"data-testid": "action-entity-copy-secret",
|
|
444
|
-
onClick: (
|
|
300
|
+
onClick: (_) => p(a, "client_secret", o)
|
|
445
301
|
}, {
|
|
446
|
-
default:
|
|
447
|
-
|
|
302
|
+
default: n(() => [
|
|
303
|
+
u(d(r(e)("credentials.actions.copy_secret")), 1)
|
|
448
304
|
]),
|
|
449
305
|
_: 1
|
|
450
306
|
}, 8, ["onClick"])
|
|
451
307
|
]),
|
|
452
308
|
_: 2
|
|
453
309
|
}, 1024)) : N("", !0),
|
|
454
|
-
|
|
455
|
-
default:
|
|
456
|
-
l(
|
|
310
|
+
c.config.plugin === "hmac-auth" ? (b(), k(f, { key: 3 }, {
|
|
311
|
+
default: n(({ copyToClipboard: o }) => [
|
|
312
|
+
l(y, {
|
|
457
313
|
"data-testid": "action-entity-copy-secret",
|
|
458
|
-
onClick: (
|
|
314
|
+
onClick: (_) => p(a, "secret", o)
|
|
459
315
|
}, {
|
|
460
|
-
default:
|
|
461
|
-
|
|
316
|
+
default: n(() => [
|
|
317
|
+
u(d(r(e)("credentials.actions.copy_secret")), 1)
|
|
462
318
|
]),
|
|
463
319
|
_: 1
|
|
464
320
|
}, 8, ["onClick"])
|
|
465
321
|
]),
|
|
466
322
|
_: 2
|
|
467
323
|
}, 1024)) : N("", !0),
|
|
468
|
-
l(
|
|
469
|
-
default:
|
|
470
|
-
l(
|
|
324
|
+
l(f, null, {
|
|
325
|
+
default: n(({ copyToClipboard: o }) => [
|
|
326
|
+
l(y, {
|
|
471
327
|
"data-testid": "action-entity-copy-json",
|
|
472
|
-
onClick: (
|
|
328
|
+
onClick: (_) => p(a, void 0, o)
|
|
473
329
|
}, {
|
|
474
|
-
default:
|
|
475
|
-
|
|
330
|
+
default: n(() => [
|
|
331
|
+
u(d(r(e)("credentials.actions.copy_json")), 1)
|
|
476
332
|
]),
|
|
477
333
|
_: 1
|
|
478
334
|
}, 8, ["onClick"])
|
|
@@ -480,29 +336,29 @@ const me = {
|
|
|
480
336
|
_: 2
|
|
481
337
|
}, 1024),
|
|
482
338
|
l(r(j), {
|
|
483
|
-
"auth-function": () =>
|
|
339
|
+
"auth-function": () => c.canEdit(a)
|
|
484
340
|
}, {
|
|
485
|
-
default:
|
|
486
|
-
l(
|
|
341
|
+
default: n(() => [
|
|
342
|
+
l(y, {
|
|
487
343
|
"data-testid": "action-entity-edit",
|
|
488
344
|
"has-divider": "",
|
|
489
|
-
item:
|
|
345
|
+
item: H(a.id)
|
|
490
346
|
}, null, 8, ["item"])
|
|
491
347
|
]),
|
|
492
348
|
_: 2
|
|
493
349
|
}, 1032, ["auth-function"]),
|
|
494
350
|
l(r(j), {
|
|
495
|
-
"auth-function": () =>
|
|
351
|
+
"auth-function": () => c.canDelete(a)
|
|
496
352
|
}, {
|
|
497
|
-
default:
|
|
498
|
-
l(
|
|
353
|
+
default: n(() => [
|
|
354
|
+
l(y, {
|
|
499
355
|
danger: "",
|
|
500
356
|
"data-testid": "action-entity-delete",
|
|
501
357
|
"has-divider": "",
|
|
502
|
-
onClick: (
|
|
358
|
+
onClick: (o) => z(a)
|
|
503
359
|
}, {
|
|
504
|
-
default:
|
|
505
|
-
|
|
360
|
+
default: n(() => [
|
|
361
|
+
u(d(r(e)("credentials.actions.delete")), 1)
|
|
506
362
|
]),
|
|
507
363
|
_: 1
|
|
508
364
|
}, 8, ["onClick"])
|
|
@@ -512,25 +368,25 @@ const me = {
|
|
|
512
368
|
]),
|
|
513
369
|
_: 1
|
|
514
370
|
}, 8, ["cache-identifier", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "table-headers"]),
|
|
515
|
-
l(r(
|
|
516
|
-
"action-pending":
|
|
371
|
+
l(r(he), {
|
|
372
|
+
"action-pending": A.value,
|
|
517
373
|
description: r(e)("credentials.delete.description"),
|
|
518
|
-
"entity-type":
|
|
374
|
+
"entity-type": W.value,
|
|
519
375
|
error: M.value,
|
|
520
|
-
title: r(e)(`credentials.delete.${
|
|
521
|
-
visible:
|
|
522
|
-
onCancel:
|
|
523
|
-
onProceed:
|
|
376
|
+
title: r(e)(`credentials.delete.${c.config.plugin}.title`),
|
|
377
|
+
visible: w.value,
|
|
378
|
+
onCancel: G,
|
|
379
|
+
onProceed: Q
|
|
524
380
|
}, null, 8, ["action-pending", "description", "entity-type", "error", "title", "visible"])
|
|
525
381
|
]);
|
|
526
382
|
};
|
|
527
383
|
}
|
|
528
|
-
}),
|
|
529
|
-
const
|
|
384
|
+
}), ke = (c, K) => {
|
|
385
|
+
const h = c.__vccOpts || c;
|
|
530
386
|
for (const [i, e] of K)
|
|
531
|
-
|
|
532
|
-
return
|
|
533
|
-
},
|
|
387
|
+
h[i] = e;
|
|
388
|
+
return h;
|
|
389
|
+
}, Te = /* @__PURE__ */ ke(_e, [["__scopeId", "data-v-a8e45434"]]);
|
|
534
390
|
export {
|
|
535
|
-
|
|
391
|
+
Te as ConsumerCredentialList
|
|
536
392
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(d,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@kong/icons"),require("@kong-ui-public/i18n"),require("@kong-ui-public/entities-shared")):typeof define=="function"&&define.amd?define(["exports","vue","@kong/icons","@kong-ui-public/i18n","@kong-ui-public/entities-shared"],e):(d=typeof globalThis<"u"?globalThis:d||self,e(d["kong-ui-public-entities-consumer-credentials"]={},d.Vue,d.KongIcons,d["kong-ui-public-i18n"],d["kong-ui-public-entities-shared"]))})(this,function(d,e,A,N,o){"use strict";const B={credentials:{title:"Consumer credentials",list:{toolbar_actions:{acls:{new:"New ACL credential"},"basic-auth":{new:"New Basic Auth credential"},"key-auth":{new:"New Key Auth credential"},"key-auth-enc":{new:"New Key Auth encrypted credential"},oauth2:{new:"New OAuth 2.0 credential"},"hmac-auth":{new:"New HMAC credential"},jwt:{new:"New JWT credential"}},table_headers:{acls:{group:"Group",created_at:"Created at",tags:"Tags"},"basic-auth":{password:"Credential",username:"Username",created_at:"Created at",tags:"Tags"},"key-auth":{key:"Key",created_at:"Created at",tags:"Tags"},"key-auth-enc":{key:"Key",created_at:"Created at",tags:"Tags"},oauth2:{name:"Name",client_id:"Client ID",client_secret:"Client secret",created_at:"Created at",tags:"Tags"},"hmac-auth":{username:"Username",secret:"Secret",created_at:"Created at",tags:"Tags"},jwt:{key:"Key",algorithm:"Algorithm",created_at:"Created at",tags:"Tags"}},empty_state:{acls:{title:"Configure a new ACL credential",cta:"New ACL credential"},"basic-auth":{title:"Configure a new Basic Auth credential",cta:"New Basic Auth credential"},"key-auth":{title:"Configure a new Key Auth credential",cta:"New Key Auth credential"},"key-auth-enc":{title:"Configure a new Key Auth Encrypted credential",cta:"New Key Auth Encrypted credential"},oauth2:{title:"Configure a new OAuth 2.0 credential",cta:"New OAuth 2.0 credential"},"hmac-auth":{title:"Configure a new HMAC credential",cta:"New HMAC credential"},jwt:{title:"Configure a new JWT credential",cta:"New JWT credential"}}},actions:{copy_id:"Copy ID",copy_credential:"Copy credential",copy_key:"Copy key",copy_secret:"Copy secret",copy_json:"Copy JSON",edit:"Edit",delete:"Delete"},delete:{acls:{title:"Delete an ACL credential"},"basic-auth":{title:"Delete a Basic Auth credential"},"key-auth":{title:"Delete a Key Auth credential"},"key-auth-enc":{title:"Delete a Key Auth encrypted credential"},oauth2:{title:"Delete an OAuth 2.0 credential"},"hmac-auth":{title:"Delete an HMAC credential"},jwt:{title:"Delete a JWT credential"},description:"This action cannot be reversed."},error:{general:"Credentials could not be retrieved",delete:"The credential could not be deleted at this time.",copy:"Failed to copy to clipboard"},copy:{success:"Copied {val} to clipboard",success_brief:"Successfully copied to clipboard"}}};function I(){const n=N.createI18n("en-us",B);return{i18n:n,i18nT:N.i18nTComponent(n)}}const K={useI18n:I},E={list:{konnect:"/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumers/{consumerId}/{plugin}",kongManager:"/{workspace}/consumers/{consumerId}/{plugin}"}},j={class:"kong-ui-entities-consumer-credentials-list"},S=((n,k)=>{const p=n.__vccOpts||n;for(const[i,t]of k)p[i]=t;return p})(e.defineComponent({__name:"ConsumerCredentialList",props:{config:{type:Object,required:!0,validator:n=>!(!n||!["konnect","kongManager"].includes(n==null?void 0:n.app)||!n.createRoute||!n.getEditRoute)},cacheIdentifier:{type:String,default:""},canCreate:{type:Function,required:!1,default:async()=>!0},canDelete:{type:Function,required:!1,default:async()=>!0},canEdit:{type:Function,required:!1,default:async()=>!0},useActionOutside:{type:Boolean,default:!1}},emits:["error","copy:success","copy:error","delete:success"],setup(n,{emit:k}){var D;const p=k,i=n,{i18n:{t,formatUnixTimeStamp:$}}=K.useI18n(),{axiosInstance:M}=o.useAxios((D=i.config)==null?void 0:D.axiosRequestConfig),O={acls:{group:{label:t("credentials.list.table_headers.acls.group")},created_at:{label:t("credentials.list.table_headers.acls.created_at")},tags:{label:t("credentials.list.table_headers.acls.tags")}},"basic-auth":{username:{label:t("credentials.list.table_headers.basic-auth.username")},created_at:{label:t("credentials.list.table_headers.basic-auth.created_at")},tags:{label:t("credentials.list.table_headers.basic-auth.tags")}},"key-auth":{key:{label:t("credentials.list.table_headers.key-auth.key")},created_at:{label:t("credentials.list.table_headers.key-auth.created_at")},tags:{label:t("credentials.list.table_headers.key-auth.tags")}},"key-auth-enc":{key:{label:t("credentials.list.table_headers.key-auth-enc.key")},created_at:{label:t("credentials.list.table_headers.key-auth-enc.created_at")},tags:{label:t("credentials.list.table_headers.key-auth-enc.tags")}},oauth2:{name:{label:t("credentials.list.table_headers.oauth2.name")},client_id:{label:t("credentials.list.table_headers.oauth2.client_id")},client_secret:{label:t("credentials.list.table_headers.oauth2.client_secret")},created_at:{label:t("credentials.list.table_headers.oauth2.created_at")},tags:{label:t("credentials.list.table_headers.oauth2.tags")}},"hmac-auth":{username:{label:t("credentials.list.table_headers.hmac-auth.username")},secret:{label:t("credentials.list.table_headers.hmac-auth.secret")},created_at:{label:t("credentials.list.table_headers.hmac-auth.created_at")},tags:{label:t("credentials.list.table_headers.hmac-auth.tags")}},jwt:{key:{label:t("credentials.list.table_headers.jwt.key")},algorithm:{label:t("credentials.list.table_headers.jwt.algorithm")},created_at:{label:t("credentials.list.table_headers.jwt.created_at")},tags:{label:t("credentials.list.table_headers.jwt.tags")}}},P=e.computed(()=>O[i.config.plugin]),V=e.computed(()=>{let c=`${i.config.apiBaseUrl}${E.list[i.config.app]}`;return i.config.app==="konnect"&&(c=c.replace(/{controlPlaneId}/gi,i.config.controlPlaneId||"")),c.replace(/\/{workspace}/gi,i.config.workspace?`/${i.config.workspace}`:"").replace(/{consumerId}/gi,i.config.consumerId||"").replace(/{plugin}/gi,i.config.plugin||"")}),{fetcher:q,fetcherState:F,fetcherCacheKey:w}=o.useFetcher(e.computed(()=>({...i.config,cacheIdentifier:i.cacheIdentifier})),V),L=()=>{w.value++},m=e.ref(null),y=async(c,r,u)=>{const l=r?c[r]:JSON.stringify(c);if(!await u(l)){U(c,r);return}R(c,r)},R=(c,r)=>{p("copy:success",{entity:c,field:r,message:r&&!["password","key","client_secret","secret"].includes(r)?t("credentials.copy.success",{val:c[r]}):t("credentials.copy.success_brief")})},U=(c,r)=>{p("copy:error",{entity:c,field:r,message:t("credentials.error.copy")})},W=c=>({label:t("credentials.actions.edit"),to:i.config.getEditRoute(c)}),C=e.ref(void 0),b=e.ref(!1),_=e.ref(!1),T=e.ref(""),J=o.useDeleteUrlBuilder(i.config,V.value),H=e.computed(()=>o.EntityTypes[i.config.plugin]),z=c=>{C.value=c,b.value=!0},G=()=>{b.value=!1},Q=async()=>{var c,r,u;if((c=C.value)!=null&&c.id){_.value=!0;try{await M.delete(J(C.value.id)),_.value=!1,b.value=!1,w.value++,p("delete:success",C.value)}catch(l){T.value=((u=(r=l.response)==null?void 0:r.data)==null?void 0:u.message)||l.message||t("credentials.error.delete"),p("error",l)}finally{_.value=!1}}};e.watch(F,c=>{var r,u,l;if(c.status===o.FetcherStatus.Error){m.value={title:t("credentials.error.general")},(l=(u=(r=c.error)==null?void 0:r.response)==null?void 0:u.data)!=null&&l.message&&(m.value.message=c.error.response.data.message),p("error",c.error);return}m.value=null});const x=e.ref({ctaPath:i.config.createRoute,ctaText:void 0,message:"",title:t("credentials.title")});return e.onBeforeMount(async()=>{await i.canCreate()&&(x.value.title=t(`credentials.list.empty_state.${i.config.plugin}.title`),x.value.ctaText=t(`credentials.list.empty_state.${i.config.plugin}.cta`))}),(c,r)=>{const u=e.resolveComponent("KButton"),l=e.resolveComponent("KCopy"),h=e.resolveComponent("KDropdownItem"),f=e.resolveComponent("KClipboardProvider");return e.openBlock(),e.createElementBlock("div",j,[e.createVNode(e.unref(o.EntityBaseTable),{"cache-identifier":n.cacheIdentifier,"disable-row-click":"","disable-sorting":"","empty-state-options":x.value,"enable-entity-actions":"","error-message":m.value,fetcher:e.unref(q),"fetcher-cache-key":e.unref(w),"pagination-type":"offset","preferences-storage-key":"kong-ui-entities-consumer-credentials-list","table-headers":P.value,onSort:L},{"toolbar-button":e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!n.useActionOutside,to:"#kong-ui-app-page-header-action-button"},[e.createVNode(e.unref(o.PermissionsWrapper),{"auth-function":()=>n.canCreate()},{default:e.withCtx(()=>[e.createVNode(u,{appearance:"primary","data-testid":"toolbar-add-credential",size:n.useActionOutside?"medium":"large",to:n.config.createRoute},{default:e.withCtx(()=>[e.createVNode(e.unref(A.AddIcon)),e.createTextVNode(" "+e.toDisplayString(e.unref(t)(`credentials.list.toolbar_actions.${n.config.plugin}.new`)),1)]),_:1},8,["size","to"])]),_:1},8,["auth-function"])],8,["disabled"]))]),group:e.withCtx(({rowValue:a})=>[e.createElementVNode("b",null,e.toDisplayString(a??"-"),1)]),name:e.withCtx(({rowValue:a})=>[e.createElementVNode("b",null,e.toDisplayString(a??"-"),1)]),username:e.withCtx(({rowValue:a})=>[e.createElementVNode("span",null,e.toDisplayString(a??"-"),1)]),password:e.withCtx(({rowValue:a})=>[e.createVNode(l,{format:"redacted",text:a,truncate:""},null,8,["text"])]),key:e.withCtx(({rowValue:a})=>[e.createVNode(l,{format:"redacted",text:a,truncate:""},null,8,["text"])]),client_secret:e.withCtx(({rowValue:a})=>[e.createVNode(l,{format:"redacted",text:a,truncate:""},null,8,["text"])]),secret:e.withCtx(({rowValue:a})=>[e.createVNode(l,{format:"redacted",text:a,truncate:""},null,8,["text"])]),created_at:e.withCtx(({rowValue:a})=>[e.createTextVNode(e.toDisplayString(e.unref($)(a)),1)]),tags:e.withCtx(({rowValue:a})=>[e.createVNode(e.unref(o.TableTags),{tags:a},null,8,["tags"])]),actions:e.withCtx(({row:a})=>[e.createVNode(f,null,{default:e.withCtx(({copyToClipboard:s})=>[e.createVNode(h,{"data-testid":"action-entity-copy-id",onClick:g=>y(a,"id",s)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("credentials.actions.copy_id")),1)]),_:1},8,["onClick"])]),_:2},1024),n.config.plugin==="basic-auth"?(e.openBlock(),e.createBlock(f,{key:0},{default:e.withCtx(({copyToClipboard:s})=>[e.createVNode(h,{"data-testid":"action-entity-copy-credential",onClick:g=>y(a,"password",s)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("credentials.actions.copy_credential")),1)]),_:1},8,["onClick"])]),_:2},1024)):e.createCommentVNode("",!0),["key-auth","key-auth-enc","jwt"].includes(n.config.plugin)?(e.openBlock(),e.createBlock(f,{key:1},{default:e.withCtx(({copyToClipboard:s})=>[e.createVNode(h,{"data-testid":"action-entity-copy-key",onClick:g=>y(a,"key",s)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("credentials.actions.copy_key")),1)]),_:1},8,["onClick"])]),_:2},1024)):e.createCommentVNode("",!0),n.config.plugin==="oauth2"?(e.openBlock(),e.createBlock(f,{key:2},{default:e.withCtx(({copyToClipboard:s})=>[e.createVNode(h,{"data-testid":"action-entity-copy-secret",onClick:g=>y(a,"client_secret",s)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("credentials.actions.copy_secret")),1)]),_:1},8,["onClick"])]),_:2},1024)):e.createCommentVNode("",!0),n.config.plugin==="hmac-auth"?(e.openBlock(),e.createBlock(f,{key:3},{default:e.withCtx(({copyToClipboard:s})=>[e.createVNode(h,{"data-testid":"action-entity-copy-secret",onClick:g=>y(a,"secret",s)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("credentials.actions.copy_secret")),1)]),_:1},8,["onClick"])]),_:2},1024)):e.createCommentVNode("",!0),e.createVNode(f,null,{default:e.withCtx(({copyToClipboard:s})=>[e.createVNode(h,{"data-testid":"action-entity-copy-json",onClick:g=>y(a,void 0,s)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("credentials.actions.copy_json")),1)]),_:1},8,["onClick"])]),_:2},1024),e.createVNode(e.unref(o.PermissionsWrapper),{"auth-function":()=>n.canEdit(a)},{default:e.withCtx(()=>[e.createVNode(h,{"data-testid":"action-entity-edit","has-divider":"",item:W(a.id)},null,8,["item"])]),_:2},1032,["auth-function"]),e.createVNode(e.unref(o.PermissionsWrapper),{"auth-function":()=>n.canDelete(a)},{default:e.withCtx(()=>[e.createVNode(h,{danger:"","data-testid":"action-entity-delete","has-divider":"",onClick:s=>z(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("credentials.actions.delete")),1)]),_:1},8,["onClick"])]),_:2},1032,["auth-function"])]),_:1},8,["cache-identifier","empty-state-options","error-message","fetcher","fetcher-cache-key","table-headers"]),e.createVNode(e.unref(o.EntityDeleteModal),{"action-pending":_.value,description:e.unref(t)("credentials.delete.description"),"entity-type":H.value,error:T.value,title:e.unref(t)(`credentials.delete.${n.config.plugin}.title`),visible:b.value,onCancel:G,onProceed:Q},null,8,["action-pending","description","entity-type","error","title","visible"])])}}}),[["__scopeId","data-v-a8e45434"]]);d.ConsumerCredentialList=S,Object.defineProperty(d,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(o,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@kong/icons"),require("@kong-ui-public/i18n"),require("@kong-ui-public/entities-shared")):typeof define=="function"&&define.amd?define(["exports","vue","@kong/icons","@kong-ui-public/i18n","@kong-ui-public/entities-shared"],e):(o=typeof globalThis<"u"?globalThis:o||self,e(o["kong-ui-public-entities-consumer-credentials"]={},o.Vue,o.KongIcons,o["kong-ui-public-i18n"],o["kong-ui-public-entities-shared"]))})(this,(function(o,e,D,N,s){"use strict";const A={credentials:{title:"Consumer credentials",list:{toolbar_actions:{acls:{new:"New ACL credential"},"basic-auth":{new:"New Basic Auth credential"},"key-auth":{new:"New Key Auth credential"},"key-auth-enc":{new:"New Key Auth encrypted credential"},oauth2:{new:"New OAuth 2.0 credential"},"hmac-auth":{new:"New HMAC credential"},jwt:{new:"New JWT credential"}},table_headers:{acls:{group:"Group",created_at:"Created at",tags:"Tags"},"basic-auth":{password:"Credential",username:"Username",created_at:"Created at",tags:"Tags"},"key-auth":{key:"Key",created_at:"Created at",tags:"Tags"},"key-auth-enc":{key:"Key",created_at:"Created at",tags:"Tags"},oauth2:{name:"Name",client_id:"Client ID",client_secret:"Client secret",created_at:"Created at",tags:"Tags"},"hmac-auth":{username:"Username",secret:"Secret",created_at:"Created at",tags:"Tags"},jwt:{key:"Key",algorithm:"Algorithm",created_at:"Created at",tags:"Tags"}},empty_state:{acls:{title:"Configure a new ACL credential",cta:"New ACL credential"},"basic-auth":{title:"Configure a new Basic Auth credential",cta:"New Basic Auth credential"},"key-auth":{title:"Configure a new Key Auth credential",cta:"New Key Auth credential"},"key-auth-enc":{title:"Configure a new Key Auth Encrypted credential",cta:"New Key Auth Encrypted credential"},oauth2:{title:"Configure a new OAuth 2.0 credential",cta:"New OAuth 2.0 credential"},"hmac-auth":{title:"Configure a new HMAC credential",cta:"New HMAC credential"},jwt:{title:"Configure a new JWT credential",cta:"New JWT credential"}}},actions:{copy_id:"Copy ID",copy_credential:"Copy credential",copy_key:"Copy key",copy_secret:"Copy secret",copy_json:"Copy JSON",edit:"Edit",delete:"Delete"},delete:{acls:{title:"Delete an ACL credential"},"basic-auth":{title:"Delete a Basic Auth credential"},"key-auth":{title:"Delete a Key Auth credential"},"key-auth-enc":{title:"Delete a Key Auth encrypted credential"},oauth2:{title:"Delete an OAuth 2.0 credential"},"hmac-auth":{title:"Delete an HMAC credential"},jwt:{title:"Delete a JWT credential"},description:"This action cannot be reversed."},error:{general:"Credentials could not be retrieved",delete:"The credential could not be deleted at this time.",copy:"Failed to copy to clipboard"},copy:{success:"Copied {val} to clipboard",success_brief:"Successfully copied to clipboard"}}};function B(){const c=N.createI18n("en-us",A);return{i18n:c,i18nT:N.i18nTComponent(c)}}const I={useI18n:B},K={list:{konnect:"/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumers/{consumerId}/{plugin}",kongManager:"/{workspace}/consumers/{consumerId}/{plugin}"}},E={class:"kong-ui-entities-consumer-credentials-list"},j=((c,k)=>{const d=c.__vccOpts||c;for(const[i,t]of k)d[i]=t;return d})(e.defineComponent({__name:"ConsumerCredentialList",props:{config:{type:Object,required:!0,validator:c=>!(!c||!["konnect","kongManager"].includes(c?.app)||!c.createRoute||!c.getEditRoute)},cacheIdentifier:{type:String,default:""},canCreate:{type:Function,required:!1,default:async()=>!0},canDelete:{type:Function,required:!1,default:async()=>!0},canEdit:{type:Function,required:!1,default:async()=>!0},useActionOutside:{type:Boolean,default:!1}},emits:["error","copy:success","copy:error","delete:success"],setup(c,{emit:k}){const d=k,i=c,{i18n:{t,formatUnixTimeStamp:S}}=I.useI18n(),{axiosInstance:$}=s.useAxios(i.config?.axiosRequestConfig),M={acls:{group:{label:t("credentials.list.table_headers.acls.group")},created_at:{label:t("credentials.list.table_headers.acls.created_at")},tags:{label:t("credentials.list.table_headers.acls.tags")}},"basic-auth":{username:{label:t("credentials.list.table_headers.basic-auth.username")},created_at:{label:t("credentials.list.table_headers.basic-auth.created_at")},tags:{label:t("credentials.list.table_headers.basic-auth.tags")}},"key-auth":{key:{label:t("credentials.list.table_headers.key-auth.key")},created_at:{label:t("credentials.list.table_headers.key-auth.created_at")},tags:{label:t("credentials.list.table_headers.key-auth.tags")}},"key-auth-enc":{key:{label:t("credentials.list.table_headers.key-auth-enc.key")},created_at:{label:t("credentials.list.table_headers.key-auth-enc.created_at")},tags:{label:t("credentials.list.table_headers.key-auth-enc.tags")}},oauth2:{name:{label:t("credentials.list.table_headers.oauth2.name")},client_id:{label:t("credentials.list.table_headers.oauth2.client_id")},client_secret:{label:t("credentials.list.table_headers.oauth2.client_secret")},created_at:{label:t("credentials.list.table_headers.oauth2.created_at")},tags:{label:t("credentials.list.table_headers.oauth2.tags")}},"hmac-auth":{username:{label:t("credentials.list.table_headers.hmac-auth.username")},secret:{label:t("credentials.list.table_headers.hmac-auth.secret")},created_at:{label:t("credentials.list.table_headers.hmac-auth.created_at")},tags:{label:t("credentials.list.table_headers.hmac-auth.tags")}},jwt:{key:{label:t("credentials.list.table_headers.jwt.key")},algorithm:{label:t("credentials.list.table_headers.jwt.algorithm")},created_at:{label:t("credentials.list.table_headers.jwt.created_at")},tags:{label:t("credentials.list.table_headers.jwt.tags")}}},O=e.computed(()=>M[i.config.plugin]),V=e.computed(()=>{let a=`${i.config.apiBaseUrl}${K.list[i.config.app]}`;return i.config.app==="konnect"&&(a=a.replace(/{controlPlaneId}/gi,i.config.controlPlaneId||"")),a.replace(/\/{workspace}/gi,i.config.workspace?`/${i.config.workspace}`:"").replace(/{consumerId}/gi,i.config.consumerId||"").replace(/{plugin}/gi,i.config.plugin||"")}),{fetcher:P,fetcherState:q,fetcherCacheKey:w}=s.useFetcher(e.computed(()=>({...i.config,cacheIdentifier:i.cacheIdentifier})),V),F=()=>{w.value++},g=e.ref(null),p=async(a,r,_)=>{const h=r?a[r]:JSON.stringify(a);if(!await _(h)){R(a,r);return}L(a,r)},L=(a,r)=>{d("copy:success",{entity:a,field:r,message:r&&!["password","key","client_secret","secret"].includes(r)?t("credentials.copy.success",{val:a[r]}):t("credentials.copy.success_brief")})},R=(a,r)=>{d("copy:error",{entity:a,field:r,message:t("credentials.error.copy")})},U=a=>({label:t("credentials.actions.edit"),to:i.config.getEditRoute(a)}),m=e.ref(void 0),C=e.ref(!1),b=e.ref(!1),T=e.ref(""),W=s.useDeleteUrlBuilder(i.config,V.value),J=e.computed(()=>s.EntityTypes[i.config.plugin]),H=a=>{m.value=a,C.value=!0},z=()=>{C.value=!1},G=async()=>{if(m.value?.id){b.value=!0;try{await $.delete(W(m.value.id)),b.value=!1,C.value=!1,w.value++,d("delete:success",m.value)}catch(a){T.value=a.response?.data?.message||a.message||t("credentials.error.delete"),d("error",a)}finally{b.value=!1}}};e.watch(q,a=>{if(a.status===s.FetcherStatus.Error){g.value={title:t("credentials.error.general")},a.error?.response?.data?.message&&(g.value.message=a.error.response.data.message),d("error",a.error);return}g.value=null});const x=e.ref({ctaPath:i.config.createRoute,ctaText:void 0,message:"",title:t("credentials.title")});return e.onBeforeMount(async()=>{await i.canCreate()&&(x.value.title=t(`credentials.list.empty_state.${i.config.plugin}.title`),x.value.ctaText=t(`credentials.list.empty_state.${i.config.plugin}.cta`))}),(a,r)=>{const _=e.resolveComponent("KButton"),h=e.resolveComponent("KCopy"),u=e.resolveComponent("KDropdownItem"),y=e.resolveComponent("KClipboardProvider");return e.openBlock(),e.createElementBlock("div",E,[e.createVNode(e.unref(s.EntityBaseTable),{"cache-identifier":c.cacheIdentifier,"disable-row-click":"","disable-sorting":"","empty-state-options":x.value,"enable-entity-actions":"","error-message":g.value,fetcher:e.unref(P),"fetcher-cache-key":e.unref(w),"pagination-type":"offset","preferences-storage-key":"kong-ui-entities-consumer-credentials-list","table-headers":O.value,onSort:F},{"toolbar-button":e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!c.useActionOutside,to:"#kong-ui-app-page-header-action-button"},[e.createVNode(e.unref(s.PermissionsWrapper),{"auth-function":()=>c.canCreate()},{default:e.withCtx(()=>[e.createVNode(_,{appearance:"primary","data-testid":"toolbar-add-credential",size:c.useActionOutside?"medium":"large",to:c.config.createRoute},{default:e.withCtx(()=>[e.createVNode(e.unref(D.AddIcon)),e.createTextVNode(" "+e.toDisplayString(e.unref(t)(`credentials.list.toolbar_actions.${c.config.plugin}.new`)),1)]),_:1},8,["size","to"])]),_:1},8,["auth-function"])],8,["disabled"]))]),group:e.withCtx(({rowValue:n})=>[e.createElementVNode("b",null,e.toDisplayString(n??"-"),1)]),name:e.withCtx(({rowValue:n})=>[e.createElementVNode("b",null,e.toDisplayString(n??"-"),1)]),username:e.withCtx(({rowValue:n})=>[e.createElementVNode("span",null,e.toDisplayString(n??"-"),1)]),password:e.withCtx(({rowValue:n})=>[e.createVNode(h,{format:"redacted",text:n,truncate:""},null,8,["text"])]),key:e.withCtx(({rowValue:n})=>[e.createVNode(h,{format:"redacted",text:n,truncate:""},null,8,["text"])]),client_secret:e.withCtx(({rowValue:n})=>[e.createVNode(h,{format:"redacted",text:n,truncate:""},null,8,["text"])]),secret:e.withCtx(({rowValue:n})=>[e.createVNode(h,{format:"redacted",text:n,truncate:""},null,8,["text"])]),created_at:e.withCtx(({rowValue:n})=>[e.createTextVNode(e.toDisplayString(e.unref(S)(n)),1)]),tags:e.withCtx(({rowValue:n})=>[e.createVNode(e.unref(s.TableTags),{tags:n},null,8,["tags"])]),actions:e.withCtx(({row:n})=>[e.createVNode(y,null,{default:e.withCtx(({copyToClipboard:l})=>[e.createVNode(u,{"data-testid":"action-entity-copy-id",onClick:f=>p(n,"id",l)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("credentials.actions.copy_id")),1)]),_:1},8,["onClick"])]),_:2},1024),c.config.plugin==="basic-auth"?(e.openBlock(),e.createBlock(y,{key:0},{default:e.withCtx(({copyToClipboard:l})=>[e.createVNode(u,{"data-testid":"action-entity-copy-credential",onClick:f=>p(n,"password",l)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("credentials.actions.copy_credential")),1)]),_:1},8,["onClick"])]),_:2},1024)):e.createCommentVNode("",!0),["key-auth","key-auth-enc","jwt"].includes(c.config.plugin)?(e.openBlock(),e.createBlock(y,{key:1},{default:e.withCtx(({copyToClipboard:l})=>[e.createVNode(u,{"data-testid":"action-entity-copy-key",onClick:f=>p(n,"key",l)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("credentials.actions.copy_key")),1)]),_:1},8,["onClick"])]),_:2},1024)):e.createCommentVNode("",!0),c.config.plugin==="oauth2"?(e.openBlock(),e.createBlock(y,{key:2},{default:e.withCtx(({copyToClipboard:l})=>[e.createVNode(u,{"data-testid":"action-entity-copy-secret",onClick:f=>p(n,"client_secret",l)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("credentials.actions.copy_secret")),1)]),_:1},8,["onClick"])]),_:2},1024)):e.createCommentVNode("",!0),c.config.plugin==="hmac-auth"?(e.openBlock(),e.createBlock(y,{key:3},{default:e.withCtx(({copyToClipboard:l})=>[e.createVNode(u,{"data-testid":"action-entity-copy-secret",onClick:f=>p(n,"secret",l)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("credentials.actions.copy_secret")),1)]),_:1},8,["onClick"])]),_:2},1024)):e.createCommentVNode("",!0),e.createVNode(y,null,{default:e.withCtx(({copyToClipboard:l})=>[e.createVNode(u,{"data-testid":"action-entity-copy-json",onClick:f=>p(n,void 0,l)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("credentials.actions.copy_json")),1)]),_:1},8,["onClick"])]),_:2},1024),e.createVNode(e.unref(s.PermissionsWrapper),{"auth-function":()=>c.canEdit(n)},{default:e.withCtx(()=>[e.createVNode(u,{"data-testid":"action-entity-edit","has-divider":"",item:U(n.id)},null,8,["item"])]),_:2},1032,["auth-function"]),e.createVNode(e.unref(s.PermissionsWrapper),{"auth-function":()=>c.canDelete(n)},{default:e.withCtx(()=>[e.createVNode(u,{danger:"","data-testid":"action-entity-delete","has-divider":"",onClick:l=>H(n)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("credentials.actions.delete")),1)]),_:1},8,["onClick"])]),_:2},1032,["auth-function"])]),_:1},8,["cache-identifier","empty-state-options","error-message","fetcher","fetcher-cache-key","table-headers"]),e.createVNode(e.unref(s.EntityDeleteModal),{"action-pending":b.value,description:e.unref(t)("credentials.delete.description"),"entity-type":J.value,error:T.value,title:e.unref(t)(`credentials.delete.${c.config.plugin}.title`),visible:C.value,onCancel:z,onProceed:G},null,8,["action-pending","description","entity-type","error","title","visible"])])}}}),[["__scopeId","data-v-a8e45434"]]);o.ConsumerCredentialList=j,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})}));
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.config-card-fieldset[data-v-5baf64ca]{border:solid 1px #e0e4ea;border:solid var(--kui-border-width-10, 1px) var(--kui-color-border, #e0e4ea);border-radius:4px;margin-bottom:8px;margin-bottom:var(--kui-space-40, 8px);margin-top:4px}.config-card-fieldset-title[data-v-5baf64ca]{font-size:14px;font-size:var(--kui-font-size-30, 14px);padding:0 8px;padding:0 var(--kui-space-40, 8px);width:auto}fieldset.config-card-fieldset .config-card-details-row{width:unset}.config-card-json-item .config-card-details-row,fieldset.config-card-fieldset .config-card-details-row{margin:0 16px;margin:var(--kui-space-0, 0px) var(--kui-space-60, 16px)}.config-card-json-item .config-card-details-row:last-of-type,fieldset.config-card-fieldset .config-card-details-row:last-of-type{border-bottom:none}[data-v-2feb8c2e] .k-button.navigation-button{font-size:14px;font-weight:400}.config-card-details-row[data-v-b63235ac]{align-items:center;border-bottom:var(--v59b22fe4);box-sizing:border-box;display:var(--v5ca198ae);padding:16px;padding:var(--kui-space-60, 16px);padding-left:0;width:100%}.config-card-details-row .config-card-details-label[data-v-b63235ac]{box-sizing:border-box;padding-right:16px;padding-right:var(--kui-space-60, 16px);width:var(--v670c3372)}.config-card-details-row .config-card-details-label label[data-v-b63235ac]{color:#3a3f51;color:var(--kui-color-text-neutral-stronger, #3a3f51);display:inline-flex;max-width:100%}.config-card-details-row .config-card-details-label label .label-content[data-v-b63235ac]{line-height:initial;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-card-details-row .config-card-details-label label .k-popover[data-v-b63235ac]{min-width:0}.config-card-details-row .config-card-details-value[data-v-b63235ac]{box-sizing:border-box;width:var(--v670e794d)}.config-card-details-row .config-card-details-value .truncated[data-v-b63235ac]{display:inline-block;line-height:initial;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-card-details-row .config-card-details-value span.attrs-data-text[data-v-b63235ac]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-b63235ac] .k-copy:not(:last-of-type){margin-bottom:8px;margin-bottom:var(--kui-space-40, 8px)}.config-card-details-row .config-card-details-value .method-badge-array[data-v-b63235ac]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-b63235ac]{margin-right:4px;margin-right:var(--kui-space-20, 4px)}.config-card-details-row[data-v-b63235ac] .k-label{margin-bottom:0}.config-card-details-row[data-v-b63235ac] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-b63235ac] .config-card-details-row{width:auto}.json-content.k-code-block{border-top-left-radius:0;border-top-left-radius:var(--kui-border-radius-0, 0px);border-top-right-radius:0;border-top-right-radius:var(--kui-border-radius-0, 0px)}.json-endpoint{align-items:baseline;background-color:#000933;background-color:var(--kui-color-background-inverse, #000933);border-bottom:1px solid rgba(255,255,255,.2);border-bottom:var(--kui-border-width-10, 1px) solid var(--kui-color-border-inverse, rgba(255, 255, 255, .2));border-top-left-radius:8px;border-top-left-radius:var(--kui-border-radius-40, 8px);border-top-right-radius:8px;border-top-right-radius:var(--kui-border-radius-40, 8px);display:flex;padding:8px 0 8px 12px;padding:var(--kui-space-40, 8px) var(--kui-space-0, 0px) var(--kui-space-40, 8px) var(--kui-space-50, 12px)}.json-endpoint .k-code-block{flex:auto;z-index:2}.json-endpoint .k-code-block .code-block-content{padding-bottom:0;padding-bottom:var(--kui-space-0, 0px);padding-top:0;padding-top:var(--kui-space-0, 0px)}.json-endpoint .k-code-block .code-block-secondary-actions{margin-top:0!important}.json-endpoint code{direction:rtl;max-width:var(--c7479fcc);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.deck-callout[data-v-0bf1334c]{margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px)}.deck-callout .cta[data-v-0bf1334c]{background:none;border:none;color:inherit;cursor:pointer;font:inherit;font-weight:600;font-weight:var(--kui-font-weight-semibold, 600);padding:0;text-decoration:underline}.generate-pat-modal[data-v-be3cd315] .modal-content{display:flex;flex-direction:column;gap:20px;gap:var(--kui-space-70, 20px)}.deck-config .k-select[data-v-991fe861]{margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px)}.deck-config .k-code-block[data-v-991fe861]{margin-top:12px;margin-top:var(--kui-space-50, 12px)}.deck-config .k-code-block.customization[data-v-991fe861]{background-color:#fff;background-color:var(--kui-color-background, #ffffff);border:1px solid #e0e4ea;border:1px solid var(--kui-color-border, #e0e4ea);border-radius:8px;border-radius:var(--kui-border-radius-40, 8px)}.deck-config .step-title[data-v-991fe861]{align-items:center;align-self:stretch;font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:700;font-weight:var(--kui-font-weight-bold, 700);gap:16px}.deck-config .step-title[data-v-991fe861]:not(:first-child){margin-top:16px;margin-top:var(--kui-space-60, 16px)}.deck-config .konnect-pat-actions[data-v-991fe861]{align-items:center;display:flex;flex-direction:row;gap:8px;gap:var(--kui-space-40, 8px);margin-top:8px;margin-top:var(--kui-space-40, 8px)}.deck-config .copy-konnect-pat-alert[data-v-991fe861]{margin-top:8px;margin-top:var(--kui-space-40, 8px)}.deck-config .customization-secret-advise[data-v-991fe861]{font-size:14px;font-size:var(--kui-font-size-30, 14px);opacity:.7}.deck-config .customization-footer-reminder[data-v-991fe861]{margin-top:16px;margin-top:var(--kui-space-60, 16px)}.config-card-prop-section-title[data-v-83075649]{color:#000933;color:var(--kui-color-text, #000933);font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600);margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px);margin-top:48px;margin-top:var(--kui-space-110, 48px)}.kong-ui-entity-base-config-card .config-card-actions[data-v-fcf2efdc]{align-items:center;display:flex;gap:16px;gap:var(--kui-space-60, 16px)}.kong-ui-entity-base-config-card .config-card-actions .row[data-v-fcf2efdc]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-fcf2efdc]{margin-bottom:0;margin-bottom:var(--kui-space-0, 0px);margin-right:8px;margin-right:var(--kui-space-40, 8px)}.kong-ui-entity-base-config-card .config-card-actions .sensitive-fields-checkbox[data-v-fcf2efdc]{align-items:center}.kong-ui-entity-base-config-card .config-card-actions .sensitive-fields-checkbox[data-v-fcf2efdc] .checkbox-label{width:max-content}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-fcf2efdc]{color:#000933;color:var(--kui-color-text, #000933);font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:600;margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px);margin-top:48px;margin-top:var(--kui-space-110, 48px)}.kong-ui-entity-base-config-card[data-v-fcf2efdc] .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .book-icon[data-v-fcf2efdc]{margin-left:8px;margin-left:var(--kui-space-40, 8px);padding:0;padding:var(--kui-space-0, 0px)}.kong-ui-entity-base-form[data-v-b3590221]{box-sizing:border-box;max-width:1536px;max-width:var(--kui-breakpoint-desktop, 1536px);width:100%}.kong-ui-entity-base-form[data-v-b3590221] .k-slideout-title{color:#000933!important;color:var(--kui-color-text, #000933)!important;font-size:24px!important;font-size:var(--kui-font-size-70, 24px)!important;font-weight:700!important;font-weight:var(--kui-font-weight-bold, 700)!important;line-height:32px!important;line-height:var(--kui-line-height-60, 32px)!important;margin-bottom:16px!important;margin-bottom:var(--kui-space-60, 16px)!important}.kong-ui-entity-base-form[data-v-b3590221] .k-card.content-card{padding:0 16px!important;padding:var(--kui-space-0, 0px) var(--kui-space-60, 16px)!important}.kong-ui-entity-base-form[data-v-b3590221] .tab-item>div.tab-link.has-panels{color:#6c7489!important;color:var(--kui-color-text-neutral, #6c7489)!important;font-size:14px!important;font-size:var(--kui-font-size-30, 14px)!important;font-weight:700!important;font-weight:var(--kui-font-weight-bold, 700)!important;line-height:24px!important;line-height:var(--kui-line-height-40, 24px)!important}.kong-ui-entity-base-form[data-v-b3590221] .tab-item.active>div.tab-link.has-panels{color:#000933!important;color:var(--kui-color-text, #000933)!important;font-weight:600!important;font-weight:var(--kui-font-weight-semibold, 600)!important}.kong-ui-entity-base-form[data-v-b3590221] .slideout-content{overflow-y:unset!important}.kong-ui-entity-base-form.new-form-layout[data-v-b3590221]{background-color:transparent;background-color:var(--kui-color-background-transparent, transparent);border:none;padding:0}.kong-ui-entity-base-form.new-form-layout[data-v-b3590221]>.card-content>form>.form-actions{justify-content:flex-start;margin-top:20px;margin-top:var(--kui-space-70, 20px)}.kong-ui-entity-base-form.new-form-layout .form-error[data-v-b3590221]{margin:20px 0 0 16px;margin:var(--kui-space-70, 20px) 0 0 var(--kui-space-60, 16px)}.kong-ui-entity-base-form .button-customize-deck-wrapper[data-v-b3590221]{display:flex;flex-direction:row;justify-content:flex-end;margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px)}.form-actions[data-v-b3590221]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px;margin-top:var(--kui-space-80, 24px)}.form-actions[data-v-b3590221] .k-button:last-of-type,.form-actions[data-v-b3590221] .k-button:nth-last-of-type(2){margin-inline-start:16px;margin-inline-start:var(--kui-space-60, 16px)}.form-actions-reverted[data-v-b3590221]{direction:rtl}.content-wrapper[data-v-a3a65cac] .k-tooltip{word-break:break-all}.kong-ui-entity-base-table .toolbar-container[data-v-09e101d4]{align-items:center;display:flex;width:100%}.kong-ui-entity-base-table .toolbar-button-container[data-v-09e101d4]{margin-left:auto}.kong-ui-entity-base-table .hidden[data-v-09e101d4]{display:none}.kong-ui-entity-delete-modal .message[data-v-fc366e0c],.kong-ui-entity-delete-modal .description[data-v-fc366e0c]{line-height:20px;line-height:var(--kui-line-height-30, 20px);margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal .message strong[data-v-fc366e0c]{font-weight:600;font-weight:var(--kui-font-weight-semibold, 600)}.kong-ui-entity-delete-modal .description[data-v-fc366e0c]{margin-top:32px;margin-top:var(--kui-space-90, 32px)}.kong-ui-entity-delete-modal .body-stacked-copy .description[data-v-fc366e0c]{margin-top:0;margin-top:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal .body-stacked-copy .description>p[data-v-fc366e0c]{margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal .body-stacked-copy .message[data-v-fc366e0c]{margin-bottom:0;margin-bottom:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal[data-v-fc366e0c] .prompt-confirmation-text{line-height:20px;line-height:var(--kui-line-height-30, 20px);margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal-stacked-copy[data-v-fc366e0c] .prompt-content+.prompt-confirmation-container{margin-top:32px;margin-top:var(--kui-space-90, 32px)}.kong-ui-entity-delete-error[data-v-fc366e0c]{margin-bottom:12px;margin-bottom:var(--kui-space-50, 12px)}.kong-ui-entity-filter-input[data-v-10015be6]{width:100%}.kong-ui-entity-filter-clear[data-v-10015be6]{cursor:pointer}.kong-ui-entity-filter[data-v-10015be6]{display:flex;position:relative}.kong-ui-entity-filter[data-v-10015be6] .menu-content{flex-direction:column}.kong-ui-entity-filter[data-v-10015be6] .k-menu-item-divider hr{margin:12px 0}.kong-ui-entity-filter-backdrop[data-v-10015be6]{bottom:0;left:0;position:fixed;right:0;top:0;z-index:1050}.kong-ui-entity-filter-menu[data-v-10015be6]{background-color:#fff;background-color:var(--kui-color-background, #ffffff);border:1px solid #afb7c5;border:var(--kui-border-width-10, 1px) solid var(--kui-color-border-neutral-weak, #afb7c5);border-radius:4px;border-radius:var(--kui-border-radius-20, 4px);box-shadow:0 4px 20px #e0e4ea;box-shadow:0 4px 20px var(--kui-color-border, #e0e4ea);left:0;margin-top:16px;padding:8px 0 12px;padding:var(--kui-space-40, 8px) 0 var(--kui-space-50, 12px);position:absolute;top:100%;width:300px;z-index:1060}.kong-ui-entity-filter-menu-item[data-v-10015be6]{border-bottom:1px solid #e0e4ea;border-bottom:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);color:#6c7489;color:var(--kui-color-text-neutral, #6c7489);font-size:12px;font-size:var(--kui-font-size-20, 12px);font-weight:400;font-weight:var(--kui-font-weight-regular, 400);line-height:16px;line-height:var(--kui-line-height-20, 16px);list-style:none;margin:0 20px;margin:var(--kui-space-0, 0px) var(--kui-space-70, 20px);padding:16px 0;padding:var(--kui-space-60, 16px) 0;position:relative;white-space:nowrap}.menu-item-title[data-v-10015be6]{align-items:center;cursor:pointer;display:flex;line-height:24px;line-height:var(--kui-line-height-40, 24px)}.menu-item-title.expanded[data-v-10015be6]{color:#232633;color:var(--kui-color-text-neutral-strongest, #232633)}.menu-item-expand-icon[data-v-10015be6]{margin-left:auto}.menu-item-expand-icon.expanded[data-v-10015be6]{transform:rotate(180deg)}.menu-item-indicator[data-v-10015be6]{background-color:#0044f4;background-color:var(--kui-color-background-primary, #0044f4);border-radius:50%;height:4px;margin-left:4px;width:4px}.menu-item-body[data-v-10015be6]{align-items:center;display:flex;justify-content:space-between;margin-top:16px;margin-top:var(--kui-space-60, 16px)}.menu-item-body[data-v-10015be6] .input{padding-bottom:4px!important;padding-top:4px!important}.menu-item-body[data-v-10015be6] .k-input{width:100%}.menu-item-body[data-v-10015be6] .k-select-input .input{font-size:12px}.menu-item-body[data-v-10015be6] .k-select-input .input::placeholder{color:#00000073!important;font-size:12px}.menu-item-label[data-v-10015be6]{margin-bottom:0;margin-right:12px}.menu-item-buttons[data-v-10015be6]{display:flex;justify-content:space-between;margin:10px 0 6px}.filter-clear-button-container[data-v-10015be6]{padding:12px 20px 0;padding:var(--kui-space-50, 12px) var(--kui-space-70, 20px) 0}fieldset[data-v-ccd29028]{margin:0;min-width:0;padding:0}.kong-ui-entity-form-section[data-v-ccd29028]{border:0}.kong-ui-entity-form-section .form-section-wrapper[data-v-ccd29028]{column-gap:16px;column-gap:var(--kui-space-60, 16px);display:flex;flex-direction:column;padding-bottom:64px;padding-bottom:var(--kui-space-130, 64px);row-gap:12px;row-gap:var(--kui-space-50, 12px);width:100%}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper[data-v-ccd29028]{flex-direction:row}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-ccd29028]{flex:1}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-ccd29028]{max-width:350px}.kong-ui-entity-form-section .form-section-wrapper .form-section-info.sticky[data-v-ccd29028]{height:fit-content;margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px);position:sticky;top:16px}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-title[data-v-ccd29028]{color:#000933;color:var(--kui-color-text, #000933);font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:700;font-weight:var(--kui-font-weight-bold, 700);line-height:20px;line-height:var(--kui-line-height-30, 20px);margin-bottom:8px;margin-bottom:var(--kui-space-40, 8px);margin-top:0;margin-top:var(--kui-space-0, 0px)}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-ccd29028],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description p[data-v-ccd29028],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-ccd29028] p{color:#000933;color:var(--kui-color-text, #000933);font-size:14px;font-size:var(--kui-font-size-30, 14px);font-weight:400;line-height:20px;margin:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-footer[data-v-ccd29028]{margin-top:32px;margin-top:var(--kui-space-90, 32px)}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-ccd29028]{flex:1}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-ccd29028]>*:not(:first-child){margin-top:24px;margin-top:var(--kui-space-80, 24px)}.kong-ui-entity-form-section.has-divider .form-section-wrapper[data-v-ccd29028]{border-bottom:1px solid #e0e4ea;border-bottom:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea)}.kong-ui-entity-form-block .header[data-v-7dd2f21d]{align-items:flex-start;display:flex;gap:8px;gap:var(--kui-space-40, 8px)}.kong-ui-entity-form-block .step[data-v-7dd2f21d]{align-items:center;background:#fff;background:var(--kui-color-background, #ffffff);border:1px solid #afb7c5;border:1px solid var(--kui-color-border-neutral-weak, #afb7c5);border-radius:100px;border-radius:var(--kui-border-radius-round, 100px);display:flex;flex:0 0 auto;height:32px;justify-content:center;padding:4px;padding:var(--kui-space-20, 4px);width:32px}.kong-ui-entity-form-block .header-content[data-v-7dd2f21d]{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;gap:8px;gap:var(--kui-space-40, 8px);padding-top:4px;padding-top:var(--kui-space-20, 4px)}.kong-ui-entity-form-block .header-title[data-v-7dd2f21d]{color:#000933;color:var(--kui-color-text, #000933);font-size:18px;font-size:var(--kui-font-size-50, 18px);font-weight:700;font-weight:var(--kui-font-weight-bold, 700);line-height:24px;line-height:var(--kui-line-height-40, 24px);margin:0}.kong-ui-entity-form-block .header-description[data-v-7dd2f21d]{color:#52596e;color:var(--kui-color-text-neutral-strong, #52596e);font-size:14px;font-size:var(--kui-font-size-30, 14px);line-height:20px;line-height:var(--kui-line-height-30, 20px);margin:0}.kong-ui-entity-form-block .header-extra[data-v-7dd2f21d]{align-items:center;display:flex;flex:0 0 auto;gap:8px;gap:var(--kui-space-40, 8px);justify-content:flex-end}.kong-ui-entity-form-block .content[data-v-7dd2f21d]{background:#fff;background:var(--kui-color-background, #ffffff);border:1px solid #e0e4ea;border:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);border-radius:6px;border-radius:var(--kui-border-radius-30, 6px);display:flex;flex-direction:column;gap:20px;gap:var(--kui-space-70, 20px);margin-top:20px;margin-top:var(--kui-space-70, 20px);padding:20px 24px;padding:var(--kui-space-70, 20px) var(--kui-space-80, 24px)}.kong-ui-entity-form-block.stepped .content[data-v-7dd2f21d]{margin-left:16px;margin-left:var(--kui-space-60, 16px)}.kong-ui-public-entity-link[data-v-6668aea9]{align-items:center;display:flex}.kong-ui-public-entity-link .deleted-entity[data-v-6668aea9]{font-style:italic}.kong-ui-public-entity-link .entity-link[data-v-6668aea9]{display:flex;flex:1}.kong-ui-public-entity-link .entity-link[data-v-6668aea9] .external-link-icon{color:#0044f4;color:var(--kui-color-text-primary, #0044f4);margin-left:4px;margin-left:var(--kui-space-20, 4px);padding:2px;padding:var(--kui-space-10, 2px)}.kong-ui-public-entity-link .entity-link-label[data-v-6668aea9]{display:inline-block;font-weight:400;font-weight:var(--kui-font-weight-regular, 400);max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kong-ui-public-entity-link .copy-uuid-tooltip[data-v-6668aea9]{align-items:center;cursor:pointer;display:flex}.kong-ui-public-entity-link .copy-uuid-tooltip .entity-link-copy-id[data-v-6668aea9]{margin-left:2px;margin-left:var(--kui-space-10, 2px)}.kong-ui-public-entity-empty-state[data-v-0b2e9081]{align-items:center;background-color:#fff;background-color:var(--kui-color-background, #ffffff);box-sizing:border-box;display:flex;flex-direction:column;font-family:Inter,Roboto,Helvetica,sans-serif;font-family:var(--kui-font-family-text, "Inter", Roboto, Helvetica, sans-serif);gap:24px;gap:var(--kui-space-80, 24px);padding:64px 0;padding:var(--kui-space-130, 64px) var(--kui-space-0, 0px);width:100%}@media (min-width: 640px){.kong-ui-public-entity-empty-state[data-v-0b2e9081]{padding:64px 96px;padding:var(--kui-space-130, 64px) var(--kui-space-150, 96px)}}.kong-ui-public-entity-empty-state .empty-state-image[data-v-0b2e9081]{margin-bottom:8px;margin-bottom:var(--kui-space-40, 8px)}.kong-ui-public-entity-empty-state .entity-empty-state-content[data-v-0b2e9081]{align-items:center;display:flex;flex-direction:column;gap:8px;gap:var(--kui-space-40, 8px);text-align:center;width:100%}.kong-ui-public-entity-empty-state .entity-empty-state-content .entity-empty-state-title h1[data-v-0b2e9081]{align-items:center;color:#000933;color:var(--kui-color-text, #000933);display:flex;font-size:24px;font-size:var(--kui-font-size-70, 24px);font-weight:700;font-weight:var(--kui-font-weight-bold, 700);gap:8px;gap:var(--kui-space-40, 8px);line-height:32px;line-height:var(--kui-line-height-60, 32px);margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-public-entity-empty-state .entity-empty-state-content .entity-empty-state-title h1.secondary[data-v-0b2e9081]{font-size:18px;font-size:var(--kui-font-size-50, 18px)}.kong-ui-public-entity-empty-state .entity-empty-state-description[data-v-0b2e9081],.kong-ui-public-entity-empty-state .entity-empty-state-pricing[data-v-0b2e9081]{color:#52596e;color:var(--kui-color-text-neutral-strong, #52596e);font-size:14px;font-size:var(--kui-font-size-30, 14px);font-weight:400;font-weight:var(--kui-font-weight-regular, 400);line-height:20px;line-height:var(--kui-line-height-30, 20px);max-width:640px}.kong-ui-public-entity-empty-state .entity-empty-state-description p[data-v-0b2e9081],.kong-ui-public-entity-empty-state .entity-empty-state-pricing p[data-v-0b2e9081]{margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-public-entity-empty-state .entity-empty-state-pricing[data-v-0b2e9081]{margin-top:16px;margin-top:var(--kui-space-60, 16px)}.kong-ui-public-entity-empty-state .entity-empty-state-message[data-v-0b2e9081]{color:#52596e;color:var(--kui-color-text-neutral-strong, #52596e)}.kong-ui-public-entity-empty-state .entity-empty-state-action[data-v-0b2e9081]{align-items:center;display:flex;gap:12px;gap:var(--kui-space-50, 12px)}.kong-ui-public-entity-empty-state .entity-empty-state-card-container[data-v-0b2e9081]{display:flex;flex-wrap:wrap;gap:16px;gap:var(--kui-space-60, 16px);justify-content:space-around;margin-top:8px;margin-top:var(--kui-space-40, 8px);width:312px}@media (min-width: 640px){.kong-ui-public-entity-empty-state .entity-empty-state-card-container[data-v-0b2e9081]{width:calc(624px + kui-space-60);width:calc(2 * 312px + var(--kui-space-60, kui-space-60))}}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card[data-v-0b2e9081]{background-color:#f9fafb;background-color:var(--kui-color-background-neutral-weakest, #f9fafb);border:1px solid #e0e4ea;border:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);border-radius:6px;border-radius:var(--kui-border-radius-30, 6px);color:#afb7c5;color:var(--kui-color-text-neutral-weak, #afb7c5);gap:8px;gap:var(--kui-space-40, 8px);height:160px;padding:20px;padding:var(--kui-space-70, 20px);width:312px}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card .feature-icon[data-v-0b2e9081]{color:#3a3f51;color:var(--kui-color-text-neutral-stronger, #3a3f51);display:flex;margin-bottom:12px;margin-bottom:var(--kui-space-50, 12px)}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card .feature-icon[data-v-0b2e9081] .kui-icon{height:20px!important;height:var(--kui-icon-size-40, 20px)!important;width:20px!important;width:var(--kui-icon-size-40, 20px)!important}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card[data-v-0b2e9081] .card-title{font-size:14px;font-size:var(--kui-font-size-30, 14px);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600)}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card[data-v-0b2e9081] .card-content{-webkit-box-orient:vertical;color:#6c7489;color:var(--kui-color-text-neutral, #6c7489);display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}.kong-ui-public-entity-empty-state .entity-empty-state-bottom-container[data-v-0b2e9081]{border-top:1px solid #e0e4ea;border-top:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);display:flex;flex-direction:column;gap:16px;gap:var(--kui-space-60, 16px);padding-top:48px;padding-top:var(--kui-space-110, 48px);width:100%}@media (min-width: 640px){.kong-ui-public-entity-empty-state .entity-empty-state-bottom-container[data-v-0b2e9081]{width:calc(624px + kui-space-60);width:calc(2 * 312px + var(--kui-space-60, kui-space-60))}}.kong-ui-public-sensitive-input[data-v-ae0726c4]{display:flex;flex-direction:column;gap:8px;gap:var(--kui-space-40, 8px)}.kong-ui-public-sensitive-input[data-v-ae0726c4] .after-content-wrapper{align-items:center;gap:4px!important;gap:var(--kui-space-20, 4px)!important}.kong-ui-public-sensitive-input[data-v-ae0726c4] .input{padding-right:var(--v41f8c11f)!important}.kong-ui-public-sensitive-input .sensitive-input-action[data-v-ae0726c4]{color:#0044f4;color:var(--kui-color-text-primary, #0044f4);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600);white-space:nowrap}.kong-ui-public-sensitive-input .sensitive-input-toggle[data-v-ae0726c4]{color:#6c7489;color:var(--kui-color-text-neutral, #6c7489);cursor:pointer}.kong-ui-public-sensitive-input .sensitive-input-error-message[data-v-ae0726c4]{color:#d60027;color:var(--kui-color-text-danger, #d60027);font-size:12px;font-size:var(--kui-font-size-20, 12px);margin-top:-4px;margin-top:calc(-1 * var(--kui-space-20, 4px))}.kong-ui-public-sensitive-input .sensitive-input-textarea-actions[data-v-ae0726c4]{display:flex;justify-content:flex-end}.kong-ui-public-sensitive-input .sensitive-input-hint[data-v-ae0726c4]{align-items:center;background-color:#eefaff;background-color:var(--kui-color-background-info-weakest, #eefaff);border-radius:6px;border-radius:var(--kui-border-radius-30, 6px);color:#0044f4;color:var(--kui-color-text-info, #0044f4);display:flex;gap:8px;gap:var(--kui-space-40, 8px);padding:8px 12px;padding:var(--kui-space-40, 8px) var(--kui-space-50, 12px)}.kong-ui-public-sensitive-input .sensitive-input-hint .sensitive-input-hint-icon[data-v-ae0726c4]{flex-shrink:0}.kong-ui-public-sensitive-input .sensitive-input-hint .sensitive-input-hint-text[data-v-ae0726c4]{flex:1;font-size:14px;font-size:var(--kui-font-size-30, 14px)}.kong-ui-public-sensitive-input .sensitive-input-hint .sensitive-input-copy[data-v-ae0726c4]{display:inline-flex;font-size:12px;font-size:var(--kui-font-size-20, 12px);gap:4px;gap:var(--kui-space-20, 4px)}.deck-command-editor-wrapper[data-v-55ffc70c]{isolation:isolate;position:relative}.deck-command-editor-wrapper .deck-command-editor[data-v-55ffc70c]{height:300px;margin-top:12px;margin-top:var(--kui-space-50, 12px);width:100%}.deck-command-editor-wrapper .deck-command-copy-button[data-v-55ffc70c]{opacity:0;position:absolute;right:10px;top:10px;transition:opacity linear .2s;transition:opacity linear var(--kui-animation-duration-20, .2s);z-index:10000}.deck-command-editor-wrapper:hover .deck-command-copy-button[data-v-55ffc70c]{opacity:1}.editor-skeleton[data-v-ec59bbd1]{margin-top:4px;margin-top:var(--kui-space-20, 4px)}.kong-ui-entities-consumer-credentials-list[data-v-a8e45434]{width:100%}
|
|
1
|
+
.deck-command-editor-wrapper[data-v-55ffc70c]{isolation:isolate;position:relative}.deck-command-editor-wrapper .deck-command-editor[data-v-55ffc70c]{height:300px;margin-top:12px;margin-top:var(--kui-space-50, 12px);width:100%}.deck-command-editor-wrapper .deck-command-copy-button[data-v-55ffc70c]{opacity:0;position:absolute;right:10px;top:10px;transition:opacity linear .2s;transition:opacity linear var(--kui-animation-duration-20, .2s);z-index:10000}.deck-command-editor-wrapper:hover .deck-command-copy-button[data-v-55ffc70c]{opacity:1}.editor-skeleton[data-v-ec59bbd1]{margin-top:4px;margin-top:var(--kui-space-20, 4px)}.config-card-fieldset[data-v-5baf64ca]{border:solid 1px #e0e4ea;border:solid var(--kui-border-width-10, 1px) var(--kui-color-border, #e0e4ea);border-radius:4px;margin-bottom:8px;margin-bottom:var(--kui-space-40, 8px);margin-top:4px}.config-card-fieldset-title[data-v-5baf64ca]{font-size:14px;font-size:var(--kui-font-size-30, 14px);padding:0 8px;padding:0 var(--kui-space-40, 8px);width:auto}fieldset.config-card-fieldset .config-card-details-row{width:unset}.config-card-json-item .config-card-details-row,fieldset.config-card-fieldset .config-card-details-row{margin:0 16px;margin:var(--kui-space-0, 0px) var(--kui-space-60, 16px)}.config-card-json-item .config-card-details-row:last-of-type,fieldset.config-card-fieldset .config-card-details-row:last-of-type{border-bottom:none}[data-v-2feb8c2e] .k-button.navigation-button{font-size:14px;font-weight:400}.config-card-details-row[data-v-b63235ac]{align-items:center;border-bottom:var(--v59b22fe4);box-sizing:border-box;display:var(--v5ca198ae);padding:16px;padding:var(--kui-space-60, 16px);padding-left:0;width:100%}.config-card-details-row .config-card-details-label[data-v-b63235ac]{box-sizing:border-box;padding-right:16px;padding-right:var(--kui-space-60, 16px);width:var(--v670c3372)}.config-card-details-row .config-card-details-label label[data-v-b63235ac]{color:#3a3f51;color:var(--kui-color-text-neutral-stronger, #3a3f51);display:inline-flex;max-width:100%}.config-card-details-row .config-card-details-label label .label-content[data-v-b63235ac]{line-height:initial;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-card-details-row .config-card-details-label label .k-popover[data-v-b63235ac]{min-width:0}.config-card-details-row .config-card-details-value[data-v-b63235ac]{box-sizing:border-box;width:var(--v670e794d)}.config-card-details-row .config-card-details-value .truncated[data-v-b63235ac]{display:inline-block;line-height:initial;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-card-details-row .config-card-details-value span.attrs-data-text[data-v-b63235ac]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-b63235ac] .k-copy:not(:last-of-type){margin-bottom:8px;margin-bottom:var(--kui-space-40, 8px)}.config-card-details-row .config-card-details-value .method-badge-array[data-v-b63235ac]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-b63235ac]{margin-right:4px;margin-right:var(--kui-space-20, 4px)}.config-card-details-row[data-v-b63235ac] .k-label{margin-bottom:0}.config-card-details-row[data-v-b63235ac] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-b63235ac] .config-card-details-row{width:auto}.json-content.k-code-block{border-top-left-radius:0;border-top-left-radius:var(--kui-border-radius-0, 0px);border-top-right-radius:0;border-top-right-radius:var(--kui-border-radius-0, 0px)}.json-endpoint{align-items:baseline;background-color:#000933;background-color:var(--kui-color-background-inverse, #000933);border-bottom:1px solid rgba(255,255,255,.2);border-bottom:var(--kui-border-width-10, 1px) solid var(--kui-color-border-inverse, rgba(255, 255, 255, .2));border-top-left-radius:8px;border-top-left-radius:var(--kui-border-radius-40, 8px);border-top-right-radius:8px;border-top-right-radius:var(--kui-border-radius-40, 8px);display:flex;padding:8px 0 8px 12px;padding:var(--kui-space-40, 8px) var(--kui-space-0, 0px) var(--kui-space-40, 8px) var(--kui-space-50, 12px)}.json-endpoint .k-code-block{flex:auto;z-index:2}.json-endpoint .k-code-block .code-block-content{padding-bottom:0;padding-bottom:var(--kui-space-0, 0px);padding-top:0;padding-top:var(--kui-space-0, 0px)}.json-endpoint .k-code-block .code-block-secondary-actions{margin-top:0!important}.json-endpoint code{direction:rtl;max-width:var(--c7479fcc);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.deck-callout[data-v-0bf1334c]{margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px)}.deck-callout .cta[data-v-0bf1334c]{background:none;border:none;color:inherit;cursor:pointer;font:inherit;font-weight:600;font-weight:var(--kui-font-weight-semibold, 600);padding:0;text-decoration:underline}.generate-pat-modal[data-v-be3cd315] .modal-content{display:flex;flex-direction:column;gap:20px;gap:var(--kui-space-70, 20px)}.deck-config .k-select[data-v-991fe861]{margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px)}.deck-config .k-code-block[data-v-991fe861]{margin-top:12px;margin-top:var(--kui-space-50, 12px)}.deck-config .k-code-block.customization[data-v-991fe861]{background-color:#fff;background-color:var(--kui-color-background, #ffffff);border:1px solid #e0e4ea;border:1px solid var(--kui-color-border, #e0e4ea);border-radius:8px;border-radius:var(--kui-border-radius-40, 8px)}.deck-config .step-title[data-v-991fe861]{align-items:center;align-self:stretch;font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:700;font-weight:var(--kui-font-weight-bold, 700);gap:16px}.deck-config .step-title[data-v-991fe861]:not(:first-child){margin-top:16px;margin-top:var(--kui-space-60, 16px)}.deck-config .konnect-pat-actions[data-v-991fe861]{align-items:center;display:flex;flex-direction:row;gap:8px;gap:var(--kui-space-40, 8px);margin-top:8px;margin-top:var(--kui-space-40, 8px)}.deck-config .copy-konnect-pat-alert[data-v-991fe861]{margin-top:8px;margin-top:var(--kui-space-40, 8px)}.deck-config .customization-secret-advise[data-v-991fe861]{font-size:14px;font-size:var(--kui-font-size-30, 14px);opacity:.7}.deck-config .customization-footer-reminder[data-v-991fe861]{margin-top:16px;margin-top:var(--kui-space-60, 16px)}.config-card-prop-section-title[data-v-83075649]{color:#000933;color:var(--kui-color-text, #000933);font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600);margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px);margin-top:48px;margin-top:var(--kui-space-110, 48px)}.kong-ui-entity-base-config-card .config-card-actions[data-v-fcf2efdc]{align-items:center;display:flex;gap:16px;gap:var(--kui-space-60, 16px)}.kong-ui-entity-base-config-card .config-card-actions .row[data-v-fcf2efdc]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-fcf2efdc]{margin-bottom:0;margin-bottom:var(--kui-space-0, 0px);margin-right:8px;margin-right:var(--kui-space-40, 8px)}.kong-ui-entity-base-config-card .config-card-actions .sensitive-fields-checkbox[data-v-fcf2efdc]{align-items:center}.kong-ui-entity-base-config-card .config-card-actions .sensitive-fields-checkbox[data-v-fcf2efdc] .checkbox-label{width:max-content}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-fcf2efdc]{color:#000933;color:var(--kui-color-text, #000933);font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:600;margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px);margin-top:48px;margin-top:var(--kui-space-110, 48px)}.kong-ui-entity-base-config-card[data-v-fcf2efdc] .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .book-icon[data-v-fcf2efdc]{margin-left:8px;margin-left:var(--kui-space-40, 8px);padding:0;padding:var(--kui-space-0, 0px)}.kong-ui-entity-base-form[data-v-b3590221]{box-sizing:border-box;max-width:1536px;max-width:var(--kui-breakpoint-desktop, 1536px);width:100%}.kong-ui-entity-base-form[data-v-b3590221] .k-slideout-title{color:#000933!important;color:var(--kui-color-text, #000933)!important;font-size:24px!important;font-size:var(--kui-font-size-70, 24px)!important;font-weight:700!important;font-weight:var(--kui-font-weight-bold, 700)!important;line-height:32px!important;line-height:var(--kui-line-height-60, 32px)!important;margin-bottom:16px!important;margin-bottom:var(--kui-space-60, 16px)!important}.kong-ui-entity-base-form[data-v-b3590221] .k-card.content-card{padding:0 16px!important;padding:var(--kui-space-0, 0px) var(--kui-space-60, 16px)!important}.kong-ui-entity-base-form[data-v-b3590221] .tab-item>div.tab-link.has-panels{color:#6c7489!important;color:var(--kui-color-text-neutral, #6c7489)!important;font-size:14px!important;font-size:var(--kui-font-size-30, 14px)!important;font-weight:700!important;font-weight:var(--kui-font-weight-bold, 700)!important;line-height:24px!important;line-height:var(--kui-line-height-40, 24px)!important}.kong-ui-entity-base-form[data-v-b3590221] .tab-item.active>div.tab-link.has-panels{color:#000933!important;color:var(--kui-color-text, #000933)!important;font-weight:600!important;font-weight:var(--kui-font-weight-semibold, 600)!important}.kong-ui-entity-base-form[data-v-b3590221] .slideout-content{overflow-y:unset!important}.kong-ui-entity-base-form.new-form-layout[data-v-b3590221]{background-color:#0000;background-color:var(--kui-color-background-transparent, rgba(0, 0, 0, 0));border:none;padding:0}.kong-ui-entity-base-form.new-form-layout[data-v-b3590221]>.card-content>form>.form-actions{justify-content:flex-start;margin-top:20px;margin-top:var(--kui-space-70, 20px)}.kong-ui-entity-base-form.new-form-layout .form-error[data-v-b3590221]{margin:20px 0 0 16px;margin:var(--kui-space-70, 20px) 0 0 var(--kui-space-60, 16px)}.kong-ui-entity-base-form .button-customize-deck-wrapper[data-v-b3590221]{display:flex;flex-direction:row;justify-content:flex-end;margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px)}.form-actions[data-v-b3590221]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px;margin-top:var(--kui-space-80, 24px)}.form-actions[data-v-b3590221] .k-button:last-of-type,.form-actions[data-v-b3590221] .k-button:nth-last-of-type(2){margin-inline-start:16px;margin-inline-start:var(--kui-space-60, 16px)}.form-actions-reverted[data-v-b3590221]{direction:rtl}.content-wrapper[data-v-a3a65cac] .k-tooltip{word-break:break-all}.kong-ui-entity-base-table .toolbar-container[data-v-09e101d4]{align-items:center;display:flex;width:100%}.kong-ui-entity-base-table .toolbar-button-container[data-v-09e101d4]{margin-left:auto}.kong-ui-entity-base-table .hidden[data-v-09e101d4]{display:none}.kong-ui-entity-delete-modal .message[data-v-fc366e0c],.kong-ui-entity-delete-modal .description[data-v-fc366e0c]{line-height:20px;line-height:var(--kui-line-height-30, 20px);margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal .message strong[data-v-fc366e0c]{font-weight:600;font-weight:var(--kui-font-weight-semibold, 600)}.kong-ui-entity-delete-modal .description[data-v-fc366e0c]{margin-top:32px;margin-top:var(--kui-space-90, 32px)}.kong-ui-entity-delete-modal .body-stacked-copy .description[data-v-fc366e0c]{margin-top:0;margin-top:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal .body-stacked-copy .description>p[data-v-fc366e0c]{margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal .body-stacked-copy .message[data-v-fc366e0c]{margin-bottom:0;margin-bottom:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal[data-v-fc366e0c] .prompt-confirmation-text{line-height:20px;line-height:var(--kui-line-height-30, 20px);margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-entity-delete-modal-stacked-copy[data-v-fc366e0c] .prompt-content+.prompt-confirmation-container{margin-top:32px;margin-top:var(--kui-space-90, 32px)}.kong-ui-entity-delete-error[data-v-fc366e0c]{margin-bottom:12px;margin-bottom:var(--kui-space-50, 12px)}.kong-ui-entity-filter-input[data-v-10015be6]{width:100%}.kong-ui-entity-filter-clear[data-v-10015be6]{cursor:pointer}.kong-ui-entity-filter[data-v-10015be6]{display:flex;position:relative}.kong-ui-entity-filter[data-v-10015be6] .menu-content{flex-direction:column}.kong-ui-entity-filter[data-v-10015be6] .k-menu-item-divider hr{margin:12px 0}.kong-ui-entity-filter-backdrop[data-v-10015be6]{inset:0;position:fixed;z-index:1050}.kong-ui-entity-filter-menu[data-v-10015be6]{background-color:#fff;background-color:var(--kui-color-background, #ffffff);border:1px solid #afb7c5;border:var(--kui-border-width-10, 1px) solid var(--kui-color-border-neutral-weak, #afb7c5);border-radius:4px;border-radius:var(--kui-border-radius-20, 4px);box-shadow:0 4px 20px #e0e4ea;box-shadow:0 4px 20px var(--kui-color-border, #e0e4ea);left:0;margin-top:16px;padding:8px 0 12px;padding:var(--kui-space-40, 8px) 0 var(--kui-space-50, 12px);position:absolute;top:100%;width:300px;z-index:1060}.kong-ui-entity-filter-menu-item[data-v-10015be6]{border-bottom:1px solid #e0e4ea;border-bottom:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);color:#6c7489;color:var(--kui-color-text-neutral, #6c7489);font-size:12px;font-size:var(--kui-font-size-20, 12px);font-weight:400;font-weight:var(--kui-font-weight-regular, 400);line-height:16px;line-height:var(--kui-line-height-20, 16px);list-style:none;margin:0 20px;margin:var(--kui-space-0, 0px) var(--kui-space-70, 20px);padding:16px 0;padding:var(--kui-space-60, 16px) 0;position:relative;white-space:nowrap}.menu-item-title[data-v-10015be6]{align-items:center;cursor:pointer;display:flex;line-height:24px;line-height:var(--kui-line-height-40, 24px)}.menu-item-title.expanded[data-v-10015be6]{color:#232633;color:var(--kui-color-text-neutral-strongest, #232633)}.menu-item-expand-icon[data-v-10015be6]{margin-left:auto}.menu-item-expand-icon.expanded[data-v-10015be6]{transform:rotate(180deg)}.menu-item-indicator[data-v-10015be6]{background-color:#0044f4;background-color:var(--kui-color-background-primary, #0044f4);border-radius:50%;height:4px;margin-left:4px;width:4px}.menu-item-body[data-v-10015be6]{align-items:center;display:flex;justify-content:space-between;margin-top:16px;margin-top:var(--kui-space-60, 16px)}.menu-item-body[data-v-10015be6] .input{padding-bottom:4px!important;padding-top:4px!important}.menu-item-body[data-v-10015be6] .k-input{width:100%}.menu-item-body[data-v-10015be6] .k-select-input .input{font-size:12px}.menu-item-body[data-v-10015be6] .k-select-input .input::placeholder{color:#00000073!important;font-size:12px}.menu-item-label[data-v-10015be6]{margin-bottom:0;margin-right:12px}.menu-item-buttons[data-v-10015be6]{display:flex;justify-content:space-between;margin:10px 0 6px}.filter-clear-button-container[data-v-10015be6]{padding:12px 20px 0;padding:var(--kui-space-50, 12px) var(--kui-space-70, 20px) 0}fieldset[data-v-ccd29028]{margin:0;min-width:0;padding:0}.kong-ui-entity-form-section[data-v-ccd29028]{border:0}.kong-ui-entity-form-section .form-section-wrapper[data-v-ccd29028]{column-gap:16px;column-gap:var(--kui-space-60, 16px);display:flex;flex-direction:column;padding-bottom:64px;padding-bottom:var(--kui-space-130, 64px);row-gap:12px;row-gap:var(--kui-space-50, 12px);width:100%}@media(min-width:1024px){.kong-ui-entity-form-section .form-section-wrapper[data-v-ccd29028]{flex-direction:row}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-ccd29028]{flex:1}@media(min-width:1024px){.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-ccd29028]{max-width:350px}.kong-ui-entity-form-section .form-section-wrapper .form-section-info.sticky[data-v-ccd29028]{height:fit-content;margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px);position:sticky;top:16px}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-title[data-v-ccd29028]{color:#000933;color:var(--kui-color-text, #000933);font-size:16px;font-size:var(--kui-font-size-40, 16px);font-weight:700;font-weight:var(--kui-font-weight-bold, 700);line-height:20px;line-height:var(--kui-line-height-30, 20px);margin-bottom:8px;margin-bottom:var(--kui-space-40, 8px);margin-top:0;margin-top:var(--kui-space-0, 0px)}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-ccd29028],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description p[data-v-ccd29028],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-ccd29028] p{color:#000933;color:var(--kui-color-text, #000933);font-size:14px;font-size:var(--kui-font-size-30, 14px);font-weight:400;line-height:20px;margin:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-footer[data-v-ccd29028]{margin-top:32px;margin-top:var(--kui-space-90, 32px)}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-ccd29028]{flex:1}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-ccd29028]>*:not(:first-child){margin-top:24px;margin-top:var(--kui-space-80, 24px)}.kong-ui-entity-form-section.has-divider .form-section-wrapper[data-v-ccd29028]{border-bottom:1px solid #e0e4ea;border-bottom:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea)}.kong-ui-entity-form-block .header[data-v-7dd2f21d]{align-items:flex-start;display:flex;gap:8px;gap:var(--kui-space-40, 8px)}.kong-ui-entity-form-block .step[data-v-7dd2f21d]{align-items:center;background:#fff;background:var(--kui-color-background, #ffffff);border:1px solid #afb7c5;border:1px solid var(--kui-color-border-neutral-weak, #afb7c5);border-radius:100px;border-radius:var(--kui-border-radius-round, 100px);display:flex;flex:0 0 auto;height:32px;justify-content:center;padding:4px;padding:var(--kui-space-20, 4px);width:32px}.kong-ui-entity-form-block .header-content[data-v-7dd2f21d]{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;gap:8px;gap:var(--kui-space-40, 8px);padding-top:4px;padding-top:var(--kui-space-20, 4px)}.kong-ui-entity-form-block .header-title[data-v-7dd2f21d]{color:#000933;color:var(--kui-color-text, #000933);font-size:18px;font-size:var(--kui-font-size-50, 18px);font-weight:700;font-weight:var(--kui-font-weight-bold, 700);line-height:24px;line-height:var(--kui-line-height-40, 24px);margin:0}.kong-ui-entity-form-block .header-description[data-v-7dd2f21d]{color:#52596e;color:var(--kui-color-text-neutral-strong, #52596e);font-size:14px;font-size:var(--kui-font-size-30, 14px);line-height:20px;line-height:var(--kui-line-height-30, 20px);margin:0}.kong-ui-entity-form-block .header-extra[data-v-7dd2f21d]{align-items:center;display:flex;flex:0 0 auto;gap:8px;gap:var(--kui-space-40, 8px);justify-content:flex-end}.kong-ui-entity-form-block .content[data-v-7dd2f21d]{background:#fff;background:var(--kui-color-background, #ffffff);border:1px solid #e0e4ea;border:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);border-radius:6px;border-radius:var(--kui-border-radius-30, 6px);display:flex;flex-direction:column;gap:20px;gap:var(--kui-space-70, 20px);margin-top:20px;margin-top:var(--kui-space-70, 20px);padding:20px 24px;padding:var(--kui-space-70, 20px) var(--kui-space-80, 24px)}.kong-ui-entity-form-block.stepped .content[data-v-7dd2f21d]{margin-left:16px;margin-left:var(--kui-space-60, 16px)}.kong-ui-public-entity-link[data-v-6668aea9]{align-items:center;display:flex}.kong-ui-public-entity-link .deleted-entity[data-v-6668aea9]{font-style:italic}.kong-ui-public-entity-link .entity-link[data-v-6668aea9]{display:flex;flex:1}.kong-ui-public-entity-link .entity-link[data-v-6668aea9] .external-link-icon{color:#0044f4;color:var(--kui-color-text-primary, #0044f4);margin-left:4px;margin-left:var(--kui-space-20, 4px);padding:2px;padding:var(--kui-space-10, 2px)}.kong-ui-public-entity-link .entity-link-label[data-v-6668aea9]{display:inline-block;font-weight:400;font-weight:var(--kui-font-weight-regular, 400);max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kong-ui-public-entity-link .copy-uuid-tooltip[data-v-6668aea9]{align-items:center;cursor:pointer;display:flex}.kong-ui-public-entity-link .copy-uuid-tooltip .entity-link-copy-id[data-v-6668aea9]{margin-left:2px;margin-left:var(--kui-space-10, 2px)}.kong-ui-public-entity-empty-state[data-v-0b2e9081]{align-items:center;background-color:#fff;background-color:var(--kui-color-background, #ffffff);box-sizing:border-box;display:flex;flex-direction:column;font-family:Inter,Roboto,Helvetica,sans-serif;font-family:var(--kui-font-family-text, "Inter", Roboto, Helvetica, sans-serif);gap:24px;gap:var(--kui-space-80, 24px);padding:64px 0;padding:var(--kui-space-130, 64px) var(--kui-space-0, 0px);width:100%}@media(min-width:640px){.kong-ui-public-entity-empty-state[data-v-0b2e9081]{padding:64px 96px;padding:var(--kui-space-130, 64px) var(--kui-space-150, 96px)}}.kong-ui-public-entity-empty-state .empty-state-image[data-v-0b2e9081]{margin-bottom:8px;margin-bottom:var(--kui-space-40, 8px)}.kong-ui-public-entity-empty-state .entity-empty-state-content[data-v-0b2e9081]{align-items:center;display:flex;flex-direction:column;gap:8px;gap:var(--kui-space-40, 8px);text-align:center;width:100%}.kong-ui-public-entity-empty-state .entity-empty-state-content .entity-empty-state-title h1[data-v-0b2e9081]{align-items:center;color:#000933;color:var(--kui-color-text, #000933);display:flex;font-size:24px;font-size:var(--kui-font-size-70, 24px);font-weight:700;font-weight:var(--kui-font-weight-bold, 700);gap:8px;gap:var(--kui-space-40, 8px);line-height:32px;line-height:var(--kui-line-height-60, 32px);margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-public-entity-empty-state .entity-empty-state-content .entity-empty-state-title h1.secondary[data-v-0b2e9081]{font-size:18px;font-size:var(--kui-font-size-50, 18px)}.kong-ui-public-entity-empty-state .entity-empty-state-description[data-v-0b2e9081],.kong-ui-public-entity-empty-state .entity-empty-state-pricing[data-v-0b2e9081]{color:#52596e;color:var(--kui-color-text-neutral-strong, #52596e);font-size:14px;font-size:var(--kui-font-size-30, 14px);font-weight:400;font-weight:var(--kui-font-weight-regular, 400);line-height:20px;line-height:var(--kui-line-height-30, 20px);max-width:640px}.kong-ui-public-entity-empty-state .entity-empty-state-description p[data-v-0b2e9081],.kong-ui-public-entity-empty-state .entity-empty-state-pricing p[data-v-0b2e9081]{margin:0;margin:var(--kui-space-0, 0px)}.kong-ui-public-entity-empty-state .entity-empty-state-pricing[data-v-0b2e9081]{margin-top:16px;margin-top:var(--kui-space-60, 16px)}.kong-ui-public-entity-empty-state .entity-empty-state-message[data-v-0b2e9081]{color:#52596e;color:var(--kui-color-text-neutral-strong, #52596e)}.kong-ui-public-entity-empty-state .entity-empty-state-action[data-v-0b2e9081]{align-items:center;display:flex;gap:12px;gap:var(--kui-space-50, 12px)}.kong-ui-public-entity-empty-state .entity-empty-state-card-container[data-v-0b2e9081]{display:flex;flex-wrap:wrap;gap:16px;gap:var(--kui-space-60, 16px);justify-content:space-around;margin-top:8px;margin-top:var(--kui-space-40, 8px);width:312px}@media(min-width:640px){.kong-ui-public-entity-empty-state .entity-empty-state-card-container[data-v-0b2e9081]{width:calc(624px + kui-space-60);width:calc(2 * 312px + var(--kui-space-60, kui-space-60))}}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card[data-v-0b2e9081]{background-color:#f9fafb;background-color:var(--kui-color-background-neutral-weakest, #f9fafb);border:1px solid #e0e4ea;border:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);border-radius:6px;border-radius:var(--kui-border-radius-30, 6px);color:#afb7c5;color:var(--kui-color-text-neutral-weak, #afb7c5);gap:8px;gap:var(--kui-space-40, 8px);height:160px;padding:20px;padding:var(--kui-space-70, 20px);width:312px}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card .feature-icon[data-v-0b2e9081]{color:#3a3f51;color:var(--kui-color-text-neutral-stronger, #3a3f51);display:flex;margin-bottom:12px;margin-bottom:var(--kui-space-50, 12px)}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card .feature-icon[data-v-0b2e9081] .kui-icon{height:20px!important;height:var(--kui-icon-size-40, 20px)!important;width:20px!important;width:var(--kui-icon-size-40, 20px)!important}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card[data-v-0b2e9081] .card-title{font-size:14px;font-size:var(--kui-font-size-30, 14px);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600)}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card[data-v-0b2e9081] .card-content{-webkit-box-orient:vertical;color:#6c7489;color:var(--kui-color-text-neutral, #6c7489);display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}.kong-ui-public-entity-empty-state .entity-empty-state-bottom-container[data-v-0b2e9081]{border-top:1px solid #e0e4ea;border-top:var(--kui-border-width-10, 1px) solid var(--kui-color-border, #e0e4ea);display:flex;flex-direction:column;gap:16px;gap:var(--kui-space-60, 16px);padding-top:48px;padding-top:var(--kui-space-110, 48px);width:100%}@media(min-width:640px){.kong-ui-public-entity-empty-state .entity-empty-state-bottom-container[data-v-0b2e9081]{width:calc(624px + kui-space-60);width:calc(2 * 312px + var(--kui-space-60, kui-space-60))}}.kong-ui-public-sensitive-input[data-v-ae0726c4]{display:flex;flex-direction:column;gap:8px;gap:var(--kui-space-40, 8px)}.kong-ui-public-sensitive-input[data-v-ae0726c4] .after-content-wrapper{align-items:center;gap:4px!important;gap:var(--kui-space-20, 4px)!important}.kong-ui-public-sensitive-input[data-v-ae0726c4] .input{padding-right:var(--v41f8c11f)!important}.kong-ui-public-sensitive-input .sensitive-input-action[data-v-ae0726c4]{color:#0044f4;color:var(--kui-color-text-primary, #0044f4);font-weight:600;font-weight:var(--kui-font-weight-semibold, 600);white-space:nowrap}.kong-ui-public-sensitive-input .sensitive-input-toggle[data-v-ae0726c4]{color:#6c7489;color:var(--kui-color-text-neutral, #6c7489);cursor:pointer}.kong-ui-public-sensitive-input .sensitive-input-error-message[data-v-ae0726c4]{color:#d60027;color:var(--kui-color-text-danger, #d60027);font-size:12px;font-size:var(--kui-font-size-20, 12px);margin-top:-4px;margin-top:calc(-1 * var(--kui-space-20, 4px))}.kong-ui-public-sensitive-input .sensitive-input-textarea-actions[data-v-ae0726c4]{display:flex;justify-content:flex-end}.kong-ui-public-sensitive-input .sensitive-input-hint[data-v-ae0726c4]{align-items:center;background-color:#eefaff;background-color:var(--kui-color-background-info-weakest, #eefaff);border-radius:6px;border-radius:var(--kui-border-radius-30, 6px);color:#0044f4;color:var(--kui-color-text-info, #0044f4);display:flex;gap:8px;gap:var(--kui-space-40, 8px);padding:8px 12px;padding:var(--kui-space-40, 8px) var(--kui-space-50, 12px)}.kong-ui-public-sensitive-input .sensitive-input-hint .sensitive-input-hint-icon[data-v-ae0726c4]{flex-shrink:0}.kong-ui-public-sensitive-input .sensitive-input-hint .sensitive-input-hint-text[data-v-ae0726c4]{flex:1;font-size:14px;font-size:var(--kui-font-size-30, 14px)}.kong-ui-public-sensitive-input .sensitive-input-hint .sensitive-input-copy[data-v-ae0726c4]{display:inline-flex;font-size:12px;font-size:var(--kui-font-size-20, 12px);gap:4px;gap:var(--kui-space-20, 4px)}.kong-ui-entities-consumer-credentials-list[data-v-a8e45434]{width:100%}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kong-ui-public/entities-consumer-credentials",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.10.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/entities-consumer-credentials.umd.js",
|
|
6
6
|
"module": "./dist/entities-consumer-credentials.es.js",
|
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
"axios": "^1.16.1",
|
|
27
27
|
"vue": ">= 3.3.13 < 4",
|
|
28
28
|
"vue-router": "^4.6.4 || ^5.0.6",
|
|
29
|
-
"@kong-ui-public/entities-shared": "^3.
|
|
30
|
-
"@kong-ui-public/i18n": "^2.
|
|
29
|
+
"@kong-ui-public/entities-shared": "^3.57.0",
|
|
30
|
+
"@kong-ui-public/i18n": "^2.5.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@kong/design-tokens": "
|
|
34
|
-
"@kong/icons": "^1.
|
|
35
|
-
"@kong/kongponents": "9.
|
|
33
|
+
"@kong/design-tokens": "3.0.1",
|
|
34
|
+
"@kong/icons": "^1.61.2",
|
|
35
|
+
"@kong/kongponents": "9.61.1",
|
|
36
36
|
"axios": "^1.17.0",
|
|
37
37
|
"vue": "^3.5.35",
|
|
38
38
|
"vue-router": "^5.1.0",
|
|
39
|
-
"@kong-ui-public/
|
|
40
|
-
"@kong-ui-public/
|
|
39
|
+
"@kong-ui-public/entities-shared": "^3.57.0",
|
|
40
|
+
"@kong-ui-public/i18n": "^2.5.0"
|
|
41
41
|
},
|
|
42
42
|
"repository": {
|
|
43
43
|
"type": "git",
|