@kong-ui-public/entities-key-sets 3.11.41 → 3.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities-key-sets.es.js +280 -363
- package/dist/entities-key-sets.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +7 -7
|
@@ -1,112 +1,44 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { BookIcon as
|
|
3
|
-
import { useRouter as
|
|
4
|
-
import { createI18n as
|
|
5
|
-
import { useAxios as
|
|
6
|
-
const Je = {
|
|
7
|
-
|
|
8
|
-
list: {
|
|
9
|
-
toolbar_actions: {
|
|
10
|
-
new_key_set: "New key set"
|
|
11
|
-
},
|
|
12
|
-
table_headers: {
|
|
13
|
-
name: "Name",
|
|
14
|
-
id: "ID",
|
|
15
|
-
tags: "Tags"
|
|
16
|
-
},
|
|
17
|
-
empty_state: {
|
|
18
|
-
title: "Configure a new key set",
|
|
19
|
-
description: "A key set object holds a collection of asymmetric key objects. This entity allows to logically group keys by their purpose."
|
|
20
|
-
},
|
|
21
|
-
empty_state_v2: {
|
|
22
|
-
title: "Configure your first key set",
|
|
23
|
-
group: "Key sets created in gateways within this group will automatically appear here.",
|
|
24
|
-
description: "Key sets centrally manage asymmetric keys for plugins like OpenID Connect and JWT, simplifying configuration and security across services.",
|
|
25
|
-
create_cta: "New key set",
|
|
26
|
-
learn_more: "Learn more"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
actions: {
|
|
30
|
-
create: "New key set",
|
|
31
|
-
copy_id: "Copy ID",
|
|
32
|
-
copy_json: "Copy JSON",
|
|
33
|
-
edit: "Edit",
|
|
34
|
-
delete: "Delete",
|
|
35
|
-
clear: "Clear",
|
|
36
|
-
view: "View details"
|
|
37
|
-
},
|
|
38
|
-
search: {
|
|
39
|
-
placeholder: "Filter by exact name or ID"
|
|
40
|
-
},
|
|
41
|
-
delete: {
|
|
42
|
-
title: "Delete a key set",
|
|
43
|
-
description: "Deleting this key set will also delete keys associated. This action cannot be reversed so make sure to check the key set usage before deleting."
|
|
44
|
-
},
|
|
45
|
-
errors: {
|
|
46
|
-
general: "Key sets could not be retrieved",
|
|
47
|
-
delete: "The key set could not be deleted at this time.",
|
|
48
|
-
copy: "Failed to copy to clipboard"
|
|
49
|
-
},
|
|
50
|
-
copy: {
|
|
51
|
-
success: "Copied {val} to clipboard",
|
|
52
|
-
success_brief: "Successfully copied to clipboard"
|
|
53
|
-
},
|
|
54
|
-
form: {
|
|
55
|
-
sections: {
|
|
56
|
-
general: {
|
|
57
|
-
title: "General information",
|
|
58
|
-
description: "General information will help identify and manage this key set."
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
fields: {
|
|
62
|
-
name: {
|
|
63
|
-
label: "Name",
|
|
64
|
-
placeholder: "Enter a unique name for this key set"
|
|
65
|
-
},
|
|
66
|
-
tags: {
|
|
67
|
-
label: "Tags",
|
|
68
|
-
placeholder: "Enter a list of tags separated by comma",
|
|
69
|
-
help: "e.g. tag1, tag2, tag3",
|
|
70
|
-
tooltip: "An optional set of strings for grouping and filtering, separated by commas."
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}, Le = {
|
|
75
|
-
keySets: Je
|
|
1
|
+
import { defineComponent as H, computed as g, ref as v, watch as _e, onBeforeMount as we, resolveComponent as $, openBlock as K, createElementBlock as W, createVNode as s, unref as a, createSlots as Y, withCtx as r, createTextVNode as _, toDisplayString as S, createElementVNode as Z, createBlock as J, Teleport as Ee, createCommentVNode as ee, reactive as te } from "vue";
|
|
2
|
+
import { BookIcon as ae, AddIcon as ne, KeyIcon as $e } from "@kong/icons";
|
|
3
|
+
import { useRouter as se } from "vue-router";
|
|
4
|
+
import { createI18n as Ke, i18nTComponent as Me } from "@kong-ui-public/i18n";
|
|
5
|
+
import { useAxios as ie, useTableState as Fe, useFetcher as De, useDeleteUrlBuilder as Re, FetcherStatus as Te, EntityBaseTable as Be, PermissionsWrapper as O, TableTags as Ve, EntityFilter as xe, EntityDeleteModal as Oe, EntityTypes as qe, useErrors as Pe, EntityBaseFormType as oe, EntityBaseForm as Ne, SupportedEntityType as re, EntityFormSection as Ue, EntityBaseConfigCard as je } from "@kong-ui-public/entities-shared";
|
|
6
|
+
const Ae = { title: "Key sets", list: { toolbar_actions: { new_key_set: "New key set" }, table_headers: { name: "Name", id: "ID", tags: "Tags" }, empty_state: { title: "Configure a new key set", description: "A key set object holds a collection of asymmetric key objects. This entity allows to logically group keys by their purpose." }, empty_state_v2: { title: "Configure your first key set", group: "Key sets created in gateways within this group will automatically appear here.", description: "Key sets centrally manage asymmetric keys for plugins like OpenID Connect and JWT, simplifying configuration and security across services.", create_cta: "New key set", learn_more: "Learn more" } }, actions: { create: "New key set", copy_id: "Copy ID", copy_json: "Copy JSON", edit: "Edit", delete: "Delete", clear: "Clear", view: "View details" }, search: { placeholder: "Filter by exact name or ID" }, delete: { title: "Delete a key set", description: "Deleting this key set will also delete keys associated. This action cannot be reversed so make sure to check the key set usage before deleting." }, errors: { general: "Key sets could not be retrieved", delete: "The key set 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" }, form: { sections: { general: { title: "General information", description: "General information will help identify and manage this key set." } }, fields: { name: { label: "Name", placeholder: "Enter a unique name for this key set" }, tags: { label: "Tags", placeholder: "Enter a list of tags separated by comma", help: "e.g. tag1, tag2, tag3", tooltip: "An optional set of strings for grouping and filtering, separated by commas." } } } }, Je = {
|
|
7
|
+
keySets: Ae
|
|
76
8
|
};
|
|
77
|
-
function
|
|
78
|
-
const e =
|
|
9
|
+
function Le() {
|
|
10
|
+
const e = Ke("en-us", Je);
|
|
79
11
|
return {
|
|
80
12
|
i18n: e,
|
|
81
|
-
i18nT:
|
|
13
|
+
i18nT: Me(e)
|
|
82
14
|
// Translation component <i18n-t>
|
|
83
15
|
};
|
|
84
16
|
}
|
|
85
|
-
const
|
|
86
|
-
useI18n:
|
|
87
|
-
},
|
|
17
|
+
const z = {
|
|
18
|
+
useI18n: Le
|
|
19
|
+
}, L = "/v2/control-planes/{controlPlaneId}/core-entities/{workspace}", G = "/{workspace}", q = {
|
|
88
20
|
list: {
|
|
89
|
-
konnect: `${
|
|
90
|
-
kongManager: `${
|
|
21
|
+
konnect: `${L}/key-sets`,
|
|
22
|
+
kongManager: `${G}/key-sets`
|
|
91
23
|
},
|
|
92
24
|
form: {
|
|
93
25
|
konnect: {
|
|
94
|
-
create: `${
|
|
95
|
-
edit: `${
|
|
26
|
+
create: `${L}/key-sets`,
|
|
27
|
+
edit: `${L}/key-sets/{id}`
|
|
96
28
|
},
|
|
97
29
|
kongManager: {
|
|
98
|
-
create: `${
|
|
99
|
-
edit: `${
|
|
30
|
+
create: `${G}/key-sets`,
|
|
31
|
+
edit: `${G}/key-sets/{id}`
|
|
100
32
|
}
|
|
101
33
|
}
|
|
102
|
-
},
|
|
34
|
+
}, Ge = { class: "kong-ui-entities-key-sets-list" }, He = { class: "button-row" }, We = /* @__PURE__ */ H({
|
|
103
35
|
__name: "KeySetList",
|
|
104
36
|
props: {
|
|
105
37
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
106
38
|
config: {
|
|
107
39
|
type: Object,
|
|
108
40
|
required: !0,
|
|
109
|
-
validator: (e) => !(!e || !["konnect", "kongManager"].includes(e
|
|
41
|
+
validator: (e) => !(!e || !["konnect", "kongManager"].includes(e?.app) || !e.createRoute || !e.getViewRoute || !e.getEditRoute || e.app === "kongManager" && !e.isExactMatch && !e.filterSchema)
|
|
110
42
|
},
|
|
111
43
|
// used to override the default identifier for the cache entry
|
|
112
44
|
cacheIdentifier: {
|
|
@@ -144,175 +76,170 @@ const X = {
|
|
|
144
76
|
}
|
|
145
77
|
},
|
|
146
78
|
emits: ["error", "click:learn-more", "copy:success", "copy:error", "delete:success"],
|
|
147
|
-
setup(e, { emit:
|
|
148
|
-
|
|
149
|
-
const m = _, t = e, { i18n: { t: s } } = X.useI18n(), g = le(), { axiosInstance: h } = ce((Z = t.config) == null ? void 0 : Z.axiosRequestConfig), { hasRecords: k, handleStateChange: U } = De(() => S.value), R = v(() => k.value && t.config.app === "konnect"), c = v(() => t.config.app !== "kongManager" || !!t.config.disableSorting), $ = {
|
|
79
|
+
setup(e, { emit: C }) {
|
|
80
|
+
const u = C, t = e, { i18n: { t: o } } = z.useI18n(), f = se(), { axiosInstance: k } = ie(t.config?.axiosRequestConfig), { hasRecords: m, handleStateChange: P } = Fe(() => h.value), M = g(() => m.value && t.config.app === "konnect"), l = g(() => t.config.app !== "kongManager" || !!t.config.disableSorting), w = {
|
|
150
81
|
// the Name column is non-hidable
|
|
151
|
-
name: { label:
|
|
152
|
-
tags: { label:
|
|
153
|
-
id: { label:
|
|
154
|
-
},
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}), S = b(""), T = v(() => {
|
|
82
|
+
name: { label: o("keySets.list.table_headers.name"), searchable: !0, sortable: !0, hidable: !1 },
|
|
83
|
+
tags: { label: o("keySets.list.table_headers.tags") },
|
|
84
|
+
id: { label: o("keySets.list.table_headers.id"), sortable: !0 }
|
|
85
|
+
}, N = w, R = g(() => {
|
|
86
|
+
let n = `${t.config.apiBaseUrl}${q.list[t.config.app]}`;
|
|
87
|
+
return t.config.app === "konnect" && (n = n.replace(/{controlPlaneId}/gi, t.config?.controlPlaneId || "")), n.replace(/\/{workspace}/gi, t.config?.workspace ? `/${t.config.workspace}` : "");
|
|
88
|
+
}), h = v(""), F = g(() => {
|
|
159
89
|
const n = t.config.app === "konnect" || t.config.isExactMatch;
|
|
160
90
|
if (n)
|
|
161
91
|
return {
|
|
162
92
|
isExactMatch: n,
|
|
163
|
-
placeholder:
|
|
93
|
+
placeholder: o("keySets.search.placeholder")
|
|
164
94
|
};
|
|
165
|
-
const
|
|
95
|
+
const c = { name: w.name };
|
|
166
96
|
return {
|
|
167
97
|
isExactMatch: n,
|
|
168
|
-
fields:
|
|
98
|
+
fields: c,
|
|
169
99
|
schema: t.config.filterSchema
|
|
170
100
|
};
|
|
171
101
|
}), {
|
|
172
|
-
fetcher:
|
|
173
|
-
fetcherState:
|
|
174
|
-
fetcherCacheKey:
|
|
175
|
-
} =
|
|
176
|
-
|
|
177
|
-
},
|
|
178
|
-
|
|
179
|
-
},
|
|
180
|
-
const
|
|
181
|
-
if (!await
|
|
182
|
-
|
|
102
|
+
fetcher: E,
|
|
103
|
+
fetcherState: U,
|
|
104
|
+
fetcherCacheKey: i
|
|
105
|
+
} = De(g(() => ({ ...t.config, cacheIdentifier: t.cacheIdentifier })), R), y = () => {
|
|
106
|
+
h.value = "";
|
|
107
|
+
}, T = () => {
|
|
108
|
+
i.value++;
|
|
109
|
+
}, p = v(null), ce = async (n, c) => {
|
|
110
|
+
const b = n.id;
|
|
111
|
+
if (!await c(b)) {
|
|
112
|
+
fe(n, "id");
|
|
183
113
|
return;
|
|
184
114
|
}
|
|
185
|
-
|
|
186
|
-
},
|
|
187
|
-
const
|
|
188
|
-
if (!await
|
|
189
|
-
|
|
115
|
+
ue(n, "id");
|
|
116
|
+
}, de = async (n, c) => {
|
|
117
|
+
const b = JSON.stringify(n);
|
|
118
|
+
if (!await c(b)) {
|
|
119
|
+
u("copy:error", {
|
|
190
120
|
entity: n,
|
|
191
|
-
message:
|
|
121
|
+
message: o("keySets.errors.copy")
|
|
192
122
|
});
|
|
193
123
|
return;
|
|
194
124
|
}
|
|
195
|
-
|
|
125
|
+
u("copy:success", {
|
|
196
126
|
entity: n,
|
|
197
|
-
message:
|
|
127
|
+
message: o("keySets.copy.success_brief")
|
|
198
128
|
});
|
|
199
|
-
},
|
|
200
|
-
|
|
129
|
+
}, ue = (n, c) => {
|
|
130
|
+
u("copy:success", {
|
|
201
131
|
entity: n,
|
|
202
|
-
field:
|
|
203
|
-
message:
|
|
132
|
+
field: c,
|
|
133
|
+
message: o("keySets.copy.success", { val: n[c] })
|
|
204
134
|
});
|
|
205
|
-
},
|
|
206
|
-
|
|
135
|
+
}, fe = (n, c) => {
|
|
136
|
+
u("copy:error", {
|
|
207
137
|
entity: n,
|
|
208
|
-
field:
|
|
209
|
-
message:
|
|
138
|
+
field: c,
|
|
139
|
+
message: o("keySets.errors.copy")
|
|
210
140
|
});
|
|
211
|
-
},
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
label: s("keySets.actions.view"),
|
|
141
|
+
}, ye = async (n) => {
|
|
142
|
+
await t.canRetrieve?.(n) && f.push(t.config.getViewRoute(n.id));
|
|
143
|
+
}, pe = (n) => ({
|
|
144
|
+
label: o("keySets.actions.view"),
|
|
216
145
|
to: t.config.getViewRoute(n)
|
|
217
|
-
}),
|
|
218
|
-
label:
|
|
146
|
+
}), me = (n) => ({
|
|
147
|
+
label: o("keySets.actions.edit"),
|
|
219
148
|
to: t.config.getEditRoute(n)
|
|
220
|
-
}),
|
|
221
|
-
|
|
222
|
-
},
|
|
223
|
-
|
|
224
|
-
},
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
q.value = !0;
|
|
149
|
+
}), I = v(void 0), B = v(!1), V = v(!1), Q = v(""), ge = Re(t.config, R.value), ke = (n) => {
|
|
150
|
+
I.value = n, B.value = !0;
|
|
151
|
+
}, ve = () => {
|
|
152
|
+
B.value = !1;
|
|
153
|
+
}, he = async () => {
|
|
154
|
+
if (I.value?.id) {
|
|
155
|
+
V.value = !0;
|
|
228
156
|
try {
|
|
229
|
-
await
|
|
230
|
-
} catch (
|
|
231
|
-
|
|
157
|
+
await k.delete(ge(I.value.id)), V.value = !1, B.value = !1, i.value++, u("delete:success", I.value);
|
|
158
|
+
} catch (n) {
|
|
159
|
+
Q.value = n.response?.data?.message || n.message || o("keySets.errors.delete"), u("error", n);
|
|
232
160
|
} finally {
|
|
233
|
-
|
|
161
|
+
V.value = !1;
|
|
234
162
|
}
|
|
235
163
|
}
|
|
236
|
-
},
|
|
237
|
-
|
|
164
|
+
}, be = () => {
|
|
165
|
+
f.push(t.config.createRoute);
|
|
238
166
|
};
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
}, (C = (p = (o = n.error) == null ? void 0 : o.response) == null ? void 0 : p.data) != null && C.message && (l.value.message = n.error.response.data.message), m("error", n.error);
|
|
167
|
+
_e(U, (n) => {
|
|
168
|
+
if (n.status === Te.Error) {
|
|
169
|
+
p.value = {
|
|
170
|
+
title: o("keySets.errors.general")
|
|
171
|
+
}, n.error?.response?.data?.message && (p.value.message = n.error.response.data.message), u("error", n.error);
|
|
245
172
|
return;
|
|
246
173
|
}
|
|
247
|
-
|
|
174
|
+
p.value = null;
|
|
248
175
|
});
|
|
249
|
-
const
|
|
176
|
+
const j = v({
|
|
250
177
|
ctaPath: t.config.createRoute,
|
|
251
178
|
ctaText: void 0,
|
|
252
|
-
message: `${
|
|
253
|
-
title:
|
|
254
|
-
}),
|
|
255
|
-
return
|
|
256
|
-
|
|
257
|
-
}), (n,
|
|
258
|
-
const
|
|
259
|
-
return
|
|
260
|
-
|
|
179
|
+
message: `${o("keySets.list.empty_state.description")}${t.config.additionMessageForEmptyState ? ` ${t.config.additionMessageForEmptyState}` : ""}`,
|
|
180
|
+
title: o("keySets.title")
|
|
181
|
+
}), A = v(!1);
|
|
182
|
+
return we(async () => {
|
|
183
|
+
A.value = await t.canCreate(), A.value && (j.value.title = o("keySets.list.empty_state.title"), j.value.ctaText = o("keySets.actions.create"));
|
|
184
|
+
}), (n, c) => {
|
|
185
|
+
const b = $("KButton"), Se = $("KEmptyState"), Ce = $("KCopy"), D = $("KDropdownItem"), X = $("KClipboardProvider");
|
|
186
|
+
return K(), W("div", Ge, [
|
|
187
|
+
s(a(Be), {
|
|
261
188
|
"cache-identifier": e.cacheIdentifier,
|
|
262
|
-
"disable-sorting":
|
|
263
|
-
"empty-state-options":
|
|
189
|
+
"disable-sorting": l.value,
|
|
190
|
+
"empty-state-options": j.value,
|
|
264
191
|
"enable-entity-actions": "",
|
|
265
|
-
"error-message":
|
|
266
|
-
fetcher: a(
|
|
267
|
-
"fetcher-cache-key": a(
|
|
192
|
+
"error-message": p.value,
|
|
193
|
+
fetcher: a(E),
|
|
194
|
+
"fetcher-cache-key": a(i),
|
|
268
195
|
"pagination-type": "offset",
|
|
269
196
|
"preferences-storage-key": "kong-ui-entities-key-sets-list",
|
|
270
|
-
query:
|
|
271
|
-
"table-headers": a(
|
|
197
|
+
query: h.value,
|
|
198
|
+
"table-headers": a(N),
|
|
272
199
|
onClearSearchInput: y,
|
|
273
|
-
"onClick:row":
|
|
274
|
-
onSort:
|
|
275
|
-
onState: a(
|
|
276
|
-
},
|
|
200
|
+
"onClick:row": c[3] || (c[3] = (d) => ye(d)),
|
|
201
|
+
onSort: T,
|
|
202
|
+
onState: a(P)
|
|
203
|
+
}, Y({
|
|
277
204
|
"toolbar-filter": r(() => [
|
|
278
|
-
|
|
279
|
-
modelValue:
|
|
280
|
-
"onUpdate:modelValue":
|
|
281
|
-
config:
|
|
205
|
+
s(a(xe), {
|
|
206
|
+
modelValue: h.value,
|
|
207
|
+
"onUpdate:modelValue": c[0] || (c[0] = (d) => h.value = d),
|
|
208
|
+
config: F.value
|
|
282
209
|
}, null, 8, ["modelValue", "config"])
|
|
283
210
|
]),
|
|
284
211
|
"toolbar-button": r(() => [
|
|
285
|
-
(
|
|
212
|
+
(K(), J(Ee, {
|
|
286
213
|
disabled: !e.useActionOutside,
|
|
287
214
|
to: "#kong-ui-app-page-header-action-button"
|
|
288
215
|
}, [
|
|
289
|
-
|
|
290
|
-
|
|
216
|
+
Z("div", He, [
|
|
217
|
+
M.value ? (K(), J(b, {
|
|
291
218
|
key: 0,
|
|
292
219
|
appearance: "secondary",
|
|
293
220
|
class: "open-learning-hub",
|
|
294
221
|
"data-testid": "keys-set-learn-more-button",
|
|
295
222
|
icon: "",
|
|
296
|
-
onClick:
|
|
223
|
+
onClick: c[1] || (c[1] = (d) => n.$emit("click:learn-more"))
|
|
297
224
|
}, {
|
|
298
225
|
default: r(() => [
|
|
299
|
-
|
|
226
|
+
s(a(ae), { decorative: "" })
|
|
300
227
|
]),
|
|
301
228
|
_: 1
|
|
302
|
-
})) :
|
|
303
|
-
|
|
229
|
+
})) : ee("", !0),
|
|
230
|
+
s(a(O), {
|
|
304
231
|
"auth-function": () => e.canCreate()
|
|
305
232
|
}, {
|
|
306
233
|
default: r(() => [
|
|
307
|
-
|
|
234
|
+
s(b, {
|
|
308
235
|
appearance: "primary",
|
|
309
236
|
"data-testid": "toolbar-add-key-set",
|
|
310
237
|
size: e.useActionOutside ? "medium" : "large",
|
|
311
238
|
to: e.config.createRoute
|
|
312
239
|
}, {
|
|
313
240
|
default: r(() => [
|
|
314
|
-
|
|
315
|
-
|
|
241
|
+
s(a(ne)),
|
|
242
|
+
_(" " + S(a(o)("keySets.list.toolbar_actions.new_key_set")), 1)
|
|
316
243
|
]),
|
|
317
244
|
_: 1
|
|
318
245
|
}, 8, ["size", "to"])
|
|
@@ -322,82 +249,82 @@ const X = {
|
|
|
322
249
|
])
|
|
323
250
|
], 8, ["disabled"]))
|
|
324
251
|
]),
|
|
325
|
-
name: r(({ rowValue:
|
|
326
|
-
|
|
252
|
+
name: r(({ rowValue: d }) => [
|
|
253
|
+
Z("b", null, S(d ?? "-"), 1)
|
|
327
254
|
]),
|
|
328
|
-
tags: r(({ rowValue:
|
|
329
|
-
|
|
255
|
+
tags: r(({ rowValue: d }) => [
|
|
256
|
+
s(a(Ve), { tags: d }, null, 8, ["tags"])
|
|
330
257
|
]),
|
|
331
|
-
id: r(({ rowValue:
|
|
332
|
-
|
|
333
|
-
text:
|
|
258
|
+
id: r(({ rowValue: d }) => [
|
|
259
|
+
s(Ce, {
|
|
260
|
+
text: d,
|
|
334
261
|
truncate: ""
|
|
335
262
|
}, null, 8, ["text"])
|
|
336
263
|
]),
|
|
337
|
-
actions: r(({ row:
|
|
338
|
-
|
|
339
|
-
default: r(({ copyToClipboard:
|
|
340
|
-
|
|
264
|
+
actions: r(({ row: d }) => [
|
|
265
|
+
s(X, null, {
|
|
266
|
+
default: r(({ copyToClipboard: x }) => [
|
|
267
|
+
s(D, {
|
|
341
268
|
"data-testid": "action-entity-copy-id",
|
|
342
|
-
onClick: (
|
|
269
|
+
onClick: (Ie) => ce(d, x)
|
|
343
270
|
}, {
|
|
344
271
|
default: r(() => [
|
|
345
|
-
|
|
272
|
+
_(S(a(o)("keySets.actions.copy_id")), 1)
|
|
346
273
|
]),
|
|
347
274
|
_: 1
|
|
348
275
|
}, 8, ["onClick"])
|
|
349
276
|
]),
|
|
350
277
|
_: 2
|
|
351
278
|
}, 1024),
|
|
352
|
-
|
|
353
|
-
default: r(({ copyToClipboard:
|
|
354
|
-
|
|
279
|
+
s(X, null, {
|
|
280
|
+
default: r(({ copyToClipboard: x }) => [
|
|
281
|
+
s(D, {
|
|
355
282
|
"data-testid": "action-entity-copy-json",
|
|
356
|
-
onClick: (
|
|
283
|
+
onClick: (Ie) => de(d, x)
|
|
357
284
|
}, {
|
|
358
285
|
default: r(() => [
|
|
359
|
-
|
|
286
|
+
_(S(a(o)("keySets.actions.copy_json")), 1)
|
|
360
287
|
]),
|
|
361
288
|
_: 1
|
|
362
289
|
}, 8, ["onClick"])
|
|
363
290
|
]),
|
|
364
291
|
_: 2
|
|
365
292
|
}, 1024),
|
|
366
|
-
|
|
367
|
-
"auth-function": () => e.canRetrieve(
|
|
293
|
+
s(a(O), {
|
|
294
|
+
"auth-function": () => e.canRetrieve(d)
|
|
368
295
|
}, {
|
|
369
296
|
default: r(() => [
|
|
370
|
-
|
|
297
|
+
s(D, {
|
|
371
298
|
"data-testid": "action-entity-view",
|
|
372
299
|
"has-divider": "",
|
|
373
|
-
item:
|
|
300
|
+
item: pe(d.id)
|
|
374
301
|
}, null, 8, ["item"])
|
|
375
302
|
]),
|
|
376
303
|
_: 2
|
|
377
304
|
}, 1032, ["auth-function"]),
|
|
378
|
-
|
|
379
|
-
"auth-function": () => e.canEdit(
|
|
305
|
+
s(a(O), {
|
|
306
|
+
"auth-function": () => e.canEdit(d)
|
|
380
307
|
}, {
|
|
381
308
|
default: r(() => [
|
|
382
|
-
|
|
309
|
+
s(D, {
|
|
383
310
|
"data-testid": "action-entity-edit",
|
|
384
|
-
item:
|
|
311
|
+
item: me(d.id)
|
|
385
312
|
}, null, 8, ["item"])
|
|
386
313
|
]),
|
|
387
314
|
_: 2
|
|
388
315
|
}, 1032, ["auth-function"]),
|
|
389
|
-
|
|
390
|
-
"auth-function": () => e.canDelete(
|
|
316
|
+
s(a(O), {
|
|
317
|
+
"auth-function": () => e.canDelete(d)
|
|
391
318
|
}, {
|
|
392
319
|
default: r(() => [
|
|
393
|
-
|
|
320
|
+
s(D, {
|
|
394
321
|
danger: "",
|
|
395
322
|
"data-testid": "action-entity-delete",
|
|
396
323
|
"has-divider": "",
|
|
397
|
-
onClick: (
|
|
324
|
+
onClick: (x) => ke(d)
|
|
398
325
|
}, {
|
|
399
326
|
default: r(() => [
|
|
400
|
-
|
|
327
|
+
_(S(a(o)("keySets.actions.delete")), 1)
|
|
401
328
|
]),
|
|
402
329
|
_: 1
|
|
403
330
|
}, 8, ["onClick"])
|
|
@@ -407,86 +334,83 @@ const X = {
|
|
|
407
334
|
]),
|
|
408
335
|
_: 2
|
|
409
336
|
}, [
|
|
410
|
-
!
|
|
337
|
+
!h.value && e.config.app === "konnect" ? {
|
|
411
338
|
name: "empty-state",
|
|
412
|
-
fn: r(() =>
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
i(a(ie), { decorative: "" }),
|
|
432
|
-
E(" " + I(a(s)("keySets.list.empty_state_v2.create_cta")), 1)
|
|
433
|
-
]),
|
|
434
|
-
_: 1
|
|
435
|
-
})) : ne("", !0),
|
|
436
|
-
i(p, {
|
|
437
|
-
appearance: "secondary",
|
|
438
|
-
"data-testid": "entity-learn-more-button",
|
|
439
|
-
onClick: o[2] || (o[2] = (V) => n.$emit("click:learn-more"))
|
|
440
|
-
}, {
|
|
441
|
-
default: r(() => [
|
|
442
|
-
i(a(oe), { decorative: "" }),
|
|
443
|
-
E(" " + I(a(s)("keySets.list.empty_state_v2.learn_more")), 1)
|
|
444
|
-
]),
|
|
445
|
-
_: 1
|
|
446
|
-
})
|
|
447
|
-
]),
|
|
448
|
-
_: 2
|
|
449
|
-
}, [
|
|
450
|
-
(u = e.config) != null && u.isControlPlaneGroup ? {
|
|
451
|
-
name: "default",
|
|
452
|
-
fn: r(() => [
|
|
453
|
-
E(I(a(s)("keySets.list.empty_state_v2.group")), 1)
|
|
339
|
+
fn: r(() => [
|
|
340
|
+
s(Se, {
|
|
341
|
+
"data-testid": "key-sets-entity-empty-state",
|
|
342
|
+
"icon-background": "",
|
|
343
|
+
message: a(o)("keySets.list.empty_state_v2.description"),
|
|
344
|
+
title: a(o)("keySets.list.empty_state_v2.title")
|
|
345
|
+
}, Y({
|
|
346
|
+
icon: r(() => [
|
|
347
|
+
s(a($e), { decorative: "" })
|
|
348
|
+
]),
|
|
349
|
+
action: r(() => [
|
|
350
|
+
A.value ? (K(), J(b, {
|
|
351
|
+
key: 0,
|
|
352
|
+
"data-testid": "entity-create-button",
|
|
353
|
+
onClick: be
|
|
354
|
+
}, {
|
|
355
|
+
default: r(() => [
|
|
356
|
+
s(a(ne), { decorative: "" }),
|
|
357
|
+
_(" " + S(a(o)("keySets.list.empty_state_v2.create_cta")), 1)
|
|
454
358
|
]),
|
|
455
|
-
|
|
456
|
-
} :
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
359
|
+
_: 1
|
|
360
|
+
})) : ee("", !0),
|
|
361
|
+
s(b, {
|
|
362
|
+
appearance: "secondary",
|
|
363
|
+
"data-testid": "entity-learn-more-button",
|
|
364
|
+
onClick: c[2] || (c[2] = (d) => n.$emit("click:learn-more"))
|
|
365
|
+
}, {
|
|
366
|
+
default: r(() => [
|
|
367
|
+
s(a(ae), { decorative: "" }),
|
|
368
|
+
_(" " + S(a(o)("keySets.list.empty_state_v2.learn_more")), 1)
|
|
369
|
+
]),
|
|
370
|
+
_: 1
|
|
371
|
+
})
|
|
372
|
+
]),
|
|
373
|
+
_: 2
|
|
374
|
+
}, [
|
|
375
|
+
e.config?.isControlPlaneGroup ? {
|
|
376
|
+
name: "default",
|
|
377
|
+
fn: r(() => [
|
|
378
|
+
_(S(a(o)("keySets.list.empty_state_v2.group")), 1)
|
|
379
|
+
]),
|
|
380
|
+
key: "0"
|
|
381
|
+
} : void 0
|
|
382
|
+
]), 1032, ["message", "title"])
|
|
383
|
+
]),
|
|
460
384
|
key: "0"
|
|
461
385
|
} : void 0
|
|
462
386
|
]), 1032, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "onState"]),
|
|
463
|
-
|
|
464
|
-
"action-pending":
|
|
465
|
-
description: a(
|
|
466
|
-
"entity-name":
|
|
467
|
-
"entity-type": a(
|
|
468
|
-
error:
|
|
469
|
-
title: a(
|
|
470
|
-
visible:
|
|
471
|
-
onCancel:
|
|
472
|
-
onProceed:
|
|
387
|
+
s(a(Oe), {
|
|
388
|
+
"action-pending": V.value,
|
|
389
|
+
description: a(o)("keySets.delete.description"),
|
|
390
|
+
"entity-name": I.value && (I.value.name || I.value.id),
|
|
391
|
+
"entity-type": a(qe).KeySet,
|
|
392
|
+
error: Q.value,
|
|
393
|
+
title: a(o)("keySets.delete.title"),
|
|
394
|
+
visible: B.value,
|
|
395
|
+
onCancel: ve,
|
|
396
|
+
onProceed: he
|
|
473
397
|
}, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"])
|
|
474
398
|
]);
|
|
475
399
|
};
|
|
476
400
|
}
|
|
477
|
-
}),
|
|
478
|
-
const
|
|
479
|
-
for (const [t,
|
|
480
|
-
|
|
481
|
-
return
|
|
482
|
-
},
|
|
401
|
+
}), le = (e, C) => {
|
|
402
|
+
const u = e.__vccOpts || e;
|
|
403
|
+
for (const [t, o] of C)
|
|
404
|
+
u[t] = o;
|
|
405
|
+
return u;
|
|
406
|
+
}, nt = /* @__PURE__ */ le(We, [["__scopeId", "data-v-b73f146e"]]), ze = { class: "kong-ui-entities-key-sets-form" }, Qe = /* @__PURE__ */ H({
|
|
483
407
|
__name: "KeySetForm",
|
|
484
408
|
props: {
|
|
485
409
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
486
410
|
config: {
|
|
487
411
|
type: Object,
|
|
488
412
|
required: !0,
|
|
489
|
-
validator: (e) => !(!e || !["konnect", "kongManager"].includes(e
|
|
413
|
+
validator: (e) => !(!e || !["konnect", "kongManager"].includes(e?.app) || e.app === "konnect" && !e.controlPlaneId || e.app === "kongManager" && typeof e.workspace != "string" || !e.cancelRoute)
|
|
490
414
|
},
|
|
491
415
|
/** If a valid Key Set ID is provided, it will put the form in Edit mode instead of Create */
|
|
492
416
|
keySetId: {
|
|
@@ -496,98 +420,91 @@ const X = {
|
|
|
496
420
|
}
|
|
497
421
|
},
|
|
498
422
|
emits: ["update", "error", "loading"],
|
|
499
|
-
setup(e, { emit:
|
|
500
|
-
|
|
501
|
-
const m = _, t = e, s = le(), { i18n: { t: g } } = X.useI18n(), { getMessageFromError: h } = Ne(), { axiosInstance: k } = ce((M = t.config) == null ? void 0 : M.axiosRequestConfig), U = v(() => N.form[t.config.app].edit), R = v(() => t.keySetId ? re.Edit : re.Create), c = se({
|
|
423
|
+
setup(e, { emit: C }) {
|
|
424
|
+
const u = C, t = e, o = se(), { i18n: { t: f } } = z.useI18n(), { getMessageFromError: k } = Pe(), { axiosInstance: m } = ie(t.config?.axiosRequestConfig), P = g(() => q.form[t.config.app].edit), M = g(() => t.keySetId ? oe.Edit : oe.Create), l = te({
|
|
502
425
|
fields: {
|
|
503
426
|
name: "",
|
|
504
427
|
tags: ""
|
|
505
428
|
},
|
|
506
429
|
isReadonly: !1,
|
|
507
430
|
errorMessage: ""
|
|
508
|
-
}),
|
|
431
|
+
}), w = te({
|
|
509
432
|
name: "",
|
|
510
433
|
tags: ""
|
|
511
|
-
}),
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
return {
|
|
523
|
-
name: c.fields.name,
|
|
524
|
-
tags: ((l = (d = (y = c.fields.tags) == null ? void 0 : y.split(",")) == null ? void 0 : d.map((f) => String(f || "").trim())) == null ? void 0 : l.filter((f) => f !== "")) || ""
|
|
525
|
-
};
|
|
526
|
-
}), A = async () => {
|
|
527
|
-
var y, d;
|
|
434
|
+
}), N = g(() => JSON.stringify(l.fields) !== JSON.stringify(w) && !!l.fields.name), R = (i) => {
|
|
435
|
+
l.fields.name = i?.name || "", l.fields.tags = i?.tags?.join(", ") || "", Object.assign(w, l.fields);
|
|
436
|
+
}, h = () => {
|
|
437
|
+
o.push(t.config.cancelRoute);
|
|
438
|
+
}, F = g(() => {
|
|
439
|
+
let i = `${t.config.apiBaseUrl}${q.form[t.config.app][M.value]}`;
|
|
440
|
+
return t.config.app === "konnect" && (i = i.replace(/{controlPlaneId}/gi, t.config?.controlPlaneId || "")), i.replace(/\/{workspace}/gi, t.config?.workspace ? `/${t.config.workspace}` : "").replace(/{id}/gi, t.keySetId ?? "");
|
|
441
|
+
}), E = g(() => ({
|
|
442
|
+
name: l.fields.name,
|
|
443
|
+
tags: l.fields.tags?.split(",")?.map((i) => String(i || "").trim())?.filter((i) => i !== "") || ""
|
|
444
|
+
})), U = async () => {
|
|
528
445
|
try {
|
|
529
|
-
|
|
530
|
-
let
|
|
531
|
-
if (
|
|
532
|
-
const { data:
|
|
533
|
-
|
|
446
|
+
l.isReadonly = !0;
|
|
447
|
+
let i;
|
|
448
|
+
if (M.value === "create" ? i = await m.post(F.value, E.value) : M.value === "edit" && (i = t.config?.app === "konnect" ? await m.put(F.value, E.value) : await m.patch(F.value, E.value)), i) {
|
|
449
|
+
const { data: y } = i;
|
|
450
|
+
l.fields.name = y?.name || "", l.fields.tags = y?.tags?.join(", ") || "", Object.assign(w, l.fields), u("update", i?.data);
|
|
534
451
|
}
|
|
535
|
-
} catch (
|
|
536
|
-
|
|
452
|
+
} catch (i) {
|
|
453
|
+
l.errorMessage = k(i), u("error", i);
|
|
537
454
|
} finally {
|
|
538
|
-
|
|
455
|
+
l.isReadonly = !1;
|
|
539
456
|
}
|
|
540
457
|
};
|
|
541
|
-
return (
|
|
542
|
-
const
|
|
543
|
-
return
|
|
544
|
-
|
|
545
|
-
"can-submit":
|
|
458
|
+
return (i, y) => {
|
|
459
|
+
const T = $("KInput");
|
|
460
|
+
return K(), W("div", ze, [
|
|
461
|
+
s(a(Ne), {
|
|
462
|
+
"can-submit": N.value,
|
|
546
463
|
config: e.config,
|
|
547
464
|
"edit-id": e.keySetId,
|
|
548
|
-
"entity-type": a(
|
|
549
|
-
"error-message":
|
|
550
|
-
"fetch-url":
|
|
551
|
-
"form-fields":
|
|
552
|
-
"is-readonly":
|
|
553
|
-
onCancel:
|
|
554
|
-
"onFetch:error":
|
|
555
|
-
"onFetch:success":
|
|
556
|
-
onLoading:
|
|
557
|
-
onSubmit:
|
|
465
|
+
"entity-type": a(re).KeySet,
|
|
466
|
+
"error-message": l.errorMessage,
|
|
467
|
+
"fetch-url": P.value,
|
|
468
|
+
"form-fields": E.value,
|
|
469
|
+
"is-readonly": l.isReadonly,
|
|
470
|
+
onCancel: h,
|
|
471
|
+
"onFetch:error": y[2] || (y[2] = (p) => i.$emit("error", p)),
|
|
472
|
+
"onFetch:success": R,
|
|
473
|
+
onLoading: y[3] || (y[3] = (p) => i.$emit("loading", p)),
|
|
474
|
+
onSubmit: U
|
|
558
475
|
}, {
|
|
559
476
|
default: r(() => [
|
|
560
|
-
|
|
561
|
-
description: a(
|
|
477
|
+
s(a(Ue), {
|
|
478
|
+
description: a(f)("keySets.form.sections.general.description"),
|
|
562
479
|
"has-divider": "",
|
|
563
|
-
title: a(
|
|
480
|
+
title: a(f)("keySets.form.sections.general.title")
|
|
564
481
|
}, {
|
|
565
482
|
default: r(() => [
|
|
566
|
-
|
|
567
|
-
modelValue:
|
|
568
|
-
"onUpdate:modelValue":
|
|
483
|
+
s(T, {
|
|
484
|
+
modelValue: l.fields.name,
|
|
485
|
+
"onUpdate:modelValue": y[0] || (y[0] = (p) => l.fields.name = p),
|
|
569
486
|
modelModifiers: { trim: !0 },
|
|
570
487
|
autocomplete: "off",
|
|
571
488
|
"data-testid": "key-set-form-name",
|
|
572
|
-
label: a(
|
|
573
|
-
placeholder: a(
|
|
574
|
-
readonly:
|
|
489
|
+
label: a(f)("keySets.form.fields.name.label"),
|
|
490
|
+
placeholder: a(f)("keySets.form.fields.name.placeholder"),
|
|
491
|
+
readonly: l.isReadonly,
|
|
575
492
|
type: "text"
|
|
576
493
|
}, null, 8, ["modelValue", "label", "placeholder", "readonly"]),
|
|
577
|
-
|
|
578
|
-
modelValue:
|
|
579
|
-
"onUpdate:modelValue":
|
|
494
|
+
s(T, {
|
|
495
|
+
modelValue: l.fields.tags,
|
|
496
|
+
"onUpdate:modelValue": y[1] || (y[1] = (p) => l.fields.tags = p),
|
|
580
497
|
modelModifiers: { trim: !0 },
|
|
581
498
|
autocomplete: "off",
|
|
582
499
|
"data-testid": "key-set-form-tags",
|
|
583
|
-
help: a(
|
|
584
|
-
label: a(
|
|
500
|
+
help: a(f)("keySets.form.fields.tags.help"),
|
|
501
|
+
label: a(f)("keySets.form.fields.tags.label"),
|
|
585
502
|
"label-attributes": {
|
|
586
|
-
info: a(
|
|
503
|
+
info: a(f)("keySets.form.fields.tags.tooltip"),
|
|
587
504
|
tooltipAttributes: { maxWidth: "400" }
|
|
588
505
|
},
|
|
589
|
-
placeholder: a(
|
|
590
|
-
readonly:
|
|
506
|
+
placeholder: a(f)("keySets.form.fields.tags.placeholder"),
|
|
507
|
+
readonly: l.isReadonly,
|
|
591
508
|
type: "text"
|
|
592
509
|
}, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"])
|
|
593
510
|
]),
|
|
@@ -599,14 +516,14 @@ const X = {
|
|
|
599
516
|
]);
|
|
600
517
|
};
|
|
601
518
|
}
|
|
602
|
-
}), ot = /* @__PURE__ */
|
|
519
|
+
}), ot = /* @__PURE__ */ le(Qe, [["__scopeId", "data-v-e66ae12a"]]), Xe = { class: "kong-ui-entities-keys-entity-config-card" }, st = /* @__PURE__ */ H({
|
|
603
520
|
__name: "KeySetConfigCard",
|
|
604
521
|
props: {
|
|
605
522
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
606
523
|
config: {
|
|
607
524
|
type: Object,
|
|
608
525
|
required: !0,
|
|
609
|
-
validator: (e) => !(!e || !["konnect", "kongManager"].includes(e
|
|
526
|
+
validator: (e) => !(!e || !["konnect", "kongManager"].includes(e?.app) || e.app === "konnect" && !e.controlPlaneId || e.app === "kongManager" && typeof e.workspace != "string" || !e.entityId)
|
|
610
527
|
},
|
|
611
528
|
/**
|
|
612
529
|
* External link for documentation that determines visibility of Documentation button
|
|
@@ -626,32 +543,32 @@ const X = {
|
|
|
626
543
|
},
|
|
627
544
|
emits: ["loading", "fetch:error", "fetch:success"],
|
|
628
545
|
setup(e) {
|
|
629
|
-
const
|
|
546
|
+
const C = e, { i18n: { t: u } } = z.useI18n(), t = g(() => q.form[C.config.app].edit), o = v({
|
|
630
547
|
id: {},
|
|
631
548
|
name: {},
|
|
632
549
|
last_updated: {},
|
|
633
550
|
created: {},
|
|
634
551
|
tags: {
|
|
635
|
-
tooltip:
|
|
552
|
+
tooltip: u("keySets.form.fields.tags.tooltip")
|
|
636
553
|
}
|
|
637
554
|
});
|
|
638
|
-
return (
|
|
639
|
-
|
|
555
|
+
return (f, k) => (K(), W("div", Xe, [
|
|
556
|
+
s(a(je), {
|
|
640
557
|
config: e.config,
|
|
641
558
|
"config-card-doc": e.configCardDoc,
|
|
642
|
-
"config-schema":
|
|
643
|
-
"entity-type": a(
|
|
559
|
+
"config-schema": o.value,
|
|
560
|
+
"entity-type": a(re).KeySet,
|
|
644
561
|
"fetch-url": t.value,
|
|
645
562
|
"hide-title": e.hideTitle,
|
|
646
|
-
"onFetch:error":
|
|
647
|
-
"onFetch:success":
|
|
648
|
-
onLoading:
|
|
563
|
+
"onFetch:error": k[0] || (k[0] = (m) => f.$emit("fetch:error", m)),
|
|
564
|
+
"onFetch:success": k[1] || (k[1] = (m) => f.$emit("fetch:success", m)),
|
|
565
|
+
onLoading: k[2] || (k[2] = (m) => f.$emit("loading", m))
|
|
649
566
|
}, null, 8, ["config", "config-card-doc", "config-schema", "entity-type", "fetch-url", "hide-title"])
|
|
650
567
|
]));
|
|
651
568
|
}
|
|
652
569
|
});
|
|
653
570
|
export {
|
|
654
|
-
|
|
571
|
+
st as KeySetConfigCard,
|
|
655
572
|
ot as KeySetForm,
|
|
656
|
-
|
|
573
|
+
nt as KeySetList
|
|
657
574
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(g,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@kong/icons"),require("vue-router"),require("@kong-ui-public/i18n"),require("@kong-ui-public/entities-shared")):typeof define=="function"&&define.amd?define(["exports","vue","@kong/icons","vue-router","@kong-ui-public/i18n","@kong-ui-public/entities-shared"],e):(g=typeof globalThis<"u"?globalThis:g||self,e(g["kong-ui-public-entities-key-sets"]={},g.Vue,g.KongIcons,g.VueRouter,g["kong-ui-public-i18n"],g["kong-ui-public-entities-shared"]))})(this,function(g,e,I,L,J,i){"use strict";const Q={keySets:{title:"Key sets",list:{toolbar_actions:{new_key_set:"New key set"},table_headers:{name:"Name",id:"ID",tags:"Tags"},empty_state:{title:"Configure a new key set",description:"A key set object holds a collection of asymmetric key objects. This entity allows to logically group keys by their purpose."},empty_state_v2:{title:"Configure your first key set",group:"Key sets created in gateways within this group will automatically appear here.",description:"Key sets centrally manage asymmetric keys for plugins like OpenID Connect and JWT, simplifying configuration and security across services.",create_cta:"New key set",learn_more:"Learn more"}},actions:{create:"New key set",copy_id:"Copy ID",copy_json:"Copy JSON",edit:"Edit",delete:"Delete",clear:"Clear",view:"View details"},search:{placeholder:"Filter by exact name or ID"},delete:{title:"Delete a key set",description:"Deleting this key set will also delete keys associated. This action cannot be reversed so make sure to check the key set usage before deleting."},errors:{general:"Key sets could not be retrieved",delete:"The key set 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"},form:{sections:{general:{title:"General information",description:"General information will help identify and manage this key set."}},fields:{name:{label:"Name",placeholder:"Enter a unique name for this key set"},tags:{label:"Tags",placeholder:"Enter a list of tags separated by comma",help:"e.g. tag1, tag2, tag3",tooltip:"An optional set of strings for grouping and filtering, separated by commas."}}}}};function X(){const t=J.createI18n("en-us",Q);return{i18n:t,i18nT:J.i18nTComponent(t)}}const M={useI18n:X},R="/v2/control-planes/{controlPlaneId}/core-entities/{workspace}",q="/{workspace}",$={list:{konnect:`${R}/key-sets`,kongManager:`${q}/key-sets`},form:{konnect:{create:`${R}/key-sets`,edit:`${R}/key-sets/{id}`},kongManager:{create:`${q}/key-sets`,edit:`${q}/key-sets/{id}`}}},Y={class:"kong-ui-entities-key-sets-list"},Z={class:"button-row"},v=e.defineComponent({__name:"KeySetList",props:{config:{type:Object,required:!0,validator:t=>!(!t||!["konnect","kongManager"].includes(t==null?void 0:t.app)||!t.createRoute||!t.getViewRoute||!t.getEditRoute||t.app==="kongManager"&&!t.isExactMatch&&!t.filterSchema)},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},canRetrieve:{type:Function,required:!1,default:async()=>!0},useActionOutside:{type:Boolean,default:!1}},emits:["error","click:learn-more","copy:success","copy:error","delete:success"],setup(t,{emit:S}){var H;const u=S,o=t,{i18n:{t:a}}=M.useI18n(),m=L.useRouter(),{axiosInstance:h}=i.useAxios((H=o.config)==null?void 0:H.axiosRequestConfig),{hasRecords:k,handleStateChange:P}=i.useTableState(()=>b.value),_=e.computed(()=>k.value&&o.config.app==="konnect"),l=e.computed(()=>o.config.app!=="kongManager"||!!o.config.disableSorting),V={name:{label:a("keySets.list.table_headers.name"),searchable:!0,sortable:!0,hidable:!1},tags:{label:a("keySets.list.table_headers.tags")},id:{label:a("keySets.list.table_headers.id"),sortable:!0}},O=V,D=e.computed(()=>{var r,y;let n=`${o.config.apiBaseUrl}${$.list[o.config.app]}`;return o.config.app==="konnect"&&(n=n.replace(/{controlPlaneId}/gi,((r=o.config)==null?void 0:r.controlPlaneId)||"")),n.replace(/\/{workspace}/gi,(y=o.config)!=null&&y.workspace?`/${o.config.workspace}`:"")}),b=e.ref(""),E=e.computed(()=>{const n=o.config.app==="konnect"||o.config.isExactMatch;if(n)return{isExactMatch:n,placeholder:a("keySets.search.placeholder")};const r={name:V.name};return{isExactMatch:n,fields:r,schema:o.config.filterSchema}}),{fetcher:N,fetcherState:j,fetcherCacheKey:x}=i.useFetcher(e.computed(()=>({...o.config,cacheIdentifier:o.cacheIdentifier})),D),f=()=>{b.value=""},c=()=>{x.value++},s=e.ref(null),p=async(n,r)=>{const y=n.id;if(!await r(y)){ie(n,"id");return}se(n,"id")},re=async(n,r)=>{const y=JSON.stringify(n);if(!await r(y)){u("copy:error",{entity:n,message:a("keySets.errors.copy")});return}u("copy:success",{entity:n,message:a("keySets.copy.success_brief")})},se=(n,r)=>{u("copy:success",{entity:n,field:r,message:a("keySets.copy.success",{val:n[r]})})},ie=(n,r)=>{u("copy:error",{entity:n,field:r,message:a("keySets.errors.copy")})},le=async n=>{var y;await((y=o.canRetrieve)==null?void 0:y.call(o,n))&&m.push(o.config.getViewRoute(n.id))},ce=n=>({label:a("keySets.actions.view"),to:o.config.getViewRoute(n)}),de=n=>({label:a("keySets.actions.edit"),to:o.config.getEditRoute(n)}),w=e.ref(void 0),K=e.ref(!1),F=e.ref(!1),G=e.ref(""),fe=i.useDeleteUrlBuilder(o.config,D.value),pe=n=>{w.value=n,K.value=!0},ye=()=>{K.value=!1},ue=async()=>{var n,r,y;if((n=w.value)!=null&&n.id){F.value=!0;try{await h.delete(fe(w.value.id)),F.value=!1,K.value=!1,x.value++,u("delete:success",w.value)}catch(C){G.value=((y=(r=C.response)==null?void 0:r.data)==null?void 0:y.message)||C.message||a("keySets.errors.delete"),u("error",C)}finally{F.value=!1}}},me=()=>{m.push(o.config.createRoute)};e.watch(j,n=>{var r,y,C;if(n.status===i.FetcherStatus.Error){s.value={title:a("keySets.errors.general")},(C=(y=(r=n.error)==null?void 0:r.response)==null?void 0:y.data)!=null&&C.message&&(s.value.message=n.error.response.data.message),u("error",n.error);return}s.value=null});const A=e.ref({ctaPath:o.config.createRoute,ctaText:void 0,message:`${a("keySets.list.empty_state.description")}${o.config.additionMessageForEmptyState?` ${o.config.additionMessageForEmptyState}`:""}`,title:a("keySets.title")}),U=e.ref(!1);return e.onBeforeMount(async()=>{U.value=await o.canCreate(),U.value&&(A.value.title=a("keySets.list.empty_state.title"),A.value.ctaText=a("keySets.actions.create"))}),(n,r)=>{const y=e.resolveComponent("KButton"),C=e.resolveComponent("KEmptyState"),ge=e.resolveComponent("KCopy"),T=e.resolveComponent("KDropdownItem"),z=e.resolveComponent("KClipboardProvider");return e.openBlock(),e.createElementBlock("div",Y,[e.createVNode(e.unref(i.EntityBaseTable),{"cache-identifier":t.cacheIdentifier,"disable-sorting":l.value,"empty-state-options":A.value,"enable-entity-actions":"","error-message":s.value,fetcher:e.unref(N),"fetcher-cache-key":e.unref(x),"pagination-type":"offset","preferences-storage-key":"kong-ui-entities-key-sets-list",query:b.value,"table-headers":e.unref(O),onClearSearchInput:f,"onClick:row":r[3]||(r[3]=d=>le(d)),onSort:c,onState:e.unref(P)},e.createSlots({"toolbar-filter":e.withCtx(()=>[e.createVNode(e.unref(i.EntityFilter),{modelValue:b.value,"onUpdate:modelValue":r[0]||(r[0]=d=>b.value=d),config:E.value},null,8,["modelValue","config"])]),"toolbar-button":e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!t.useActionOutside,to:"#kong-ui-app-page-header-action-button"},[e.createElementVNode("div",Z,[_.value?(e.openBlock(),e.createBlock(y,{key:0,appearance:"secondary",class:"open-learning-hub","data-testid":"keys-set-learn-more-button",icon:"",onClick:r[1]||(r[1]=d=>n.$emit("click:learn-more"))},{default:e.withCtx(()=>[e.createVNode(e.unref(I.BookIcon),{decorative:""})]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(i.PermissionsWrapper),{"auth-function":()=>t.canCreate()},{default:e.withCtx(()=>[e.createVNode(y,{appearance:"primary","data-testid":"toolbar-add-key-set",size:t.useActionOutside?"medium":"large",to:t.config.createRoute},{default:e.withCtx(()=>[e.createVNode(e.unref(I.AddIcon)),e.createTextVNode(" "+e.toDisplayString(e.unref(a)("keySets.list.toolbar_actions.new_key_set")),1)]),_:1},8,["size","to"])]),_:1},8,["auth-function"])])],8,["disabled"]))]),name:e.withCtx(({rowValue:d})=>[e.createElementVNode("b",null,e.toDisplayString(d??"-"),1)]),tags:e.withCtx(({rowValue:d})=>[e.createVNode(e.unref(i.TableTags),{tags:d},null,8,["tags"])]),id:e.withCtx(({rowValue:d})=>[e.createVNode(ge,{text:d,truncate:""},null,8,["text"])]),actions:e.withCtx(({row:d})=>[e.createVNode(z,null,{default:e.withCtx(({copyToClipboard:B})=>[e.createVNode(T,{"data-testid":"action-entity-copy-id",onClick:ke=>p(d,B)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.copy_id")),1)]),_:1},8,["onClick"])]),_:2},1024),e.createVNode(z,null,{default:e.withCtx(({copyToClipboard:B})=>[e.createVNode(T,{"data-testid":"action-entity-copy-json",onClick:ke=>re(d,B)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.copy_json")),1)]),_:1},8,["onClick"])]),_:2},1024),e.createVNode(e.unref(i.PermissionsWrapper),{"auth-function":()=>t.canRetrieve(d)},{default:e.withCtx(()=>[e.createVNode(T,{"data-testid":"action-entity-view","has-divider":"",item:ce(d.id)},null,8,["item"])]),_:2},1032,["auth-function"]),e.createVNode(e.unref(i.PermissionsWrapper),{"auth-function":()=>t.canEdit(d)},{default:e.withCtx(()=>[e.createVNode(T,{"data-testid":"action-entity-edit",item:de(d.id)},null,8,["item"])]),_:2},1032,["auth-function"]),e.createVNode(e.unref(i.PermissionsWrapper),{"auth-function":()=>t.canDelete(d)},{default:e.withCtx(()=>[e.createVNode(T,{danger:"","data-testid":"action-entity-delete","has-divider":"",onClick:B=>pe(d)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.delete")),1)]),_:1},8,["onClick"])]),_:2},1032,["auth-function"])]),_:2},[!b.value&&t.config.app==="konnect"?{name:"empty-state",fn:e.withCtx(()=>{var d;return[e.createVNode(C,{"data-testid":"key-sets-entity-empty-state","icon-background":"",message:e.unref(a)("keySets.list.empty_state_v2.description"),title:e.unref(a)("keySets.list.empty_state_v2.title")},e.createSlots({icon:e.withCtx(()=>[e.createVNode(e.unref(I.KeyIcon),{decorative:""})]),action:e.withCtx(()=>[U.value?(e.openBlock(),e.createBlock(y,{key:0,"data-testid":"entity-create-button",onClick:me},{default:e.withCtx(()=>[e.createVNode(e.unref(I.AddIcon),{decorative:""}),e.createTextVNode(" "+e.toDisplayString(e.unref(a)("keySets.list.empty_state_v2.create_cta")),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(y,{appearance:"secondary","data-testid":"entity-learn-more-button",onClick:r[2]||(r[2]=B=>n.$emit("click:learn-more"))},{default:e.withCtx(()=>[e.createVNode(e.unref(I.BookIcon),{decorative:""}),e.createTextVNode(" "+e.toDisplayString(e.unref(a)("keySets.list.empty_state_v2.learn_more")),1)]),_:1})]),_:2},[(d=t.config)!=null&&d.isControlPlaneGroup?{name:"default",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.list.empty_state_v2.group")),1)]),key:"0"}:void 0]),1032,["message","title"])]}),key:"0"}:void 0]),1032,["cache-identifier","disable-sorting","empty-state-options","error-message","fetcher","fetcher-cache-key","query","table-headers","onState"]),e.createVNode(e.unref(i.EntityDeleteModal),{"action-pending":F.value,description:e.unref(a)("keySets.delete.description"),"entity-name":w.value&&(w.value.name||w.value.id),"entity-type":e.unref(i.EntityTypes).KeySet,error:G.value,title:e.unref(a)("keySets.delete.title"),visible:K.value,onCancel:ye,onProceed:ue},null,8,["action-pending","description","entity-name","entity-type","error","title","visible"])])}}}),W=(t,S)=>{const u=t.__vccOpts||t;for(const[o,a]of S)u[o]=a;return u},ee=W(v,[["__scopeId","data-v-b73f146e"]]),te={class:"kong-ui-entities-key-sets-form"},oe=W(e.defineComponent({__name:"KeySetForm",props:{config:{type:Object,required:!0,validator:t=>!(!t||!["konnect","kongManager"].includes(t==null?void 0:t.app)||t.app==="konnect"&&!t.controlPlaneId||t.app==="kongManager"&&typeof t.workspace!="string"||!t.cancelRoute)},keySetId:{type:String,required:!1,default:null}},emits:["update","error","loading"],setup(t,{emit:S}){var x;const u=S,o=t,a=L.useRouter(),{i18n:{t:m}}=M.useI18n(),{getMessageFromError:h}=i.useErrors(),{axiosInstance:k}=i.useAxios((x=o.config)==null?void 0:x.axiosRequestConfig),P=e.computed(()=>$.form[o.config.app].edit),_=e.computed(()=>o.keySetId?i.EntityBaseFormType.Edit:i.EntityBaseFormType.Create),l=e.reactive({fields:{name:"",tags:""},isReadonly:!1,errorMessage:""}),V=e.reactive({name:"",tags:""}),O=e.computed(()=>JSON.stringify(l.fields)!==JSON.stringify(V)&&!!l.fields.name),D=f=>{var c;l.fields.name=(f==null?void 0:f.name)||"",l.fields.tags=((c=f==null?void 0:f.tags)==null?void 0:c.join(", "))||"",Object.assign(V,l.fields)},b=()=>{a.push(o.config.cancelRoute)},E=e.computed(()=>{var c,s;let f=`${o.config.apiBaseUrl}${$.form[o.config.app][_.value]}`;return o.config.app==="konnect"&&(f=f.replace(/{controlPlaneId}/gi,((c=o.config)==null?void 0:c.controlPlaneId)||"")),f.replace(/\/{workspace}/gi,(s=o.config)!=null&&s.workspace?`/${o.config.workspace}`:"").replace(/{id}/gi,o.keySetId??"")}),N=e.computed(()=>{var f,c,s;return{name:l.fields.name,tags:((s=(c=(f=l.fields.tags)==null?void 0:f.split(","))==null?void 0:c.map(p=>String(p||"").trim()))==null?void 0:s.filter(p=>p!==""))||""}}),j=async()=>{var f,c;try{l.isReadonly=!0;let s;if(_.value==="create"?s=await k.post(E.value,N.value):_.value==="edit"&&(s=((f=o.config)==null?void 0:f.app)==="konnect"?await k.put(E.value,N.value):await k.patch(E.value,N.value)),s){const{data:p}=s;l.fields.name=(p==null?void 0:p.name)||"",l.fields.tags=((c=p==null?void 0:p.tags)==null?void 0:c.join(", "))||"",Object.assign(V,l.fields),u("update",s==null?void 0:s.data)}}catch(s){l.errorMessage=h(s),u("error",s)}finally{l.isReadonly=!1}};return(f,c)=>{const s=e.resolveComponent("KInput");return e.openBlock(),e.createElementBlock("div",te,[e.createVNode(e.unref(i.EntityBaseForm),{"can-submit":O.value,config:t.config,"edit-id":t.keySetId,"entity-type":e.unref(i.SupportedEntityType).KeySet,"error-message":l.errorMessage,"fetch-url":P.value,"form-fields":N.value,"is-readonly":l.isReadonly,onCancel:b,"onFetch:error":c[2]||(c[2]=p=>f.$emit("error",p)),"onFetch:success":D,onLoading:c[3]||(c[3]=p=>f.$emit("loading",p)),onSubmit:j},{default:e.withCtx(()=>[e.createVNode(e.unref(i.EntityFormSection),{description:e.unref(m)("keySets.form.sections.general.description"),"has-divider":"",title:e.unref(m)("keySets.form.sections.general.title")},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:l.fields.name,"onUpdate:modelValue":c[0]||(c[0]=p=>l.fields.name=p),modelModifiers:{trim:!0},autocomplete:"off","data-testid":"key-set-form-name",label:e.unref(m)("keySets.form.fields.name.label"),placeholder:e.unref(m)("keySets.form.fields.name.placeholder"),readonly:l.isReadonly,type:"text"},null,8,["modelValue","label","placeholder","readonly"]),e.createVNode(s,{modelValue:l.fields.tags,"onUpdate:modelValue":c[1]||(c[1]=p=>l.fields.tags=p),modelModifiers:{trim:!0},autocomplete:"off","data-testid":"key-set-form-tags",help:e.unref(m)("keySets.form.fields.tags.help"),label:e.unref(m)("keySets.form.fields.tags.label"),"label-attributes":{info:e.unref(m)("keySets.form.fields.tags.tooltip"),tooltipAttributes:{maxWidth:"400"}},placeholder:e.unref(m)("keySets.form.fields.tags.placeholder"),readonly:l.isReadonly,type:"text"},null,8,["modelValue","help","label","label-attributes","placeholder","readonly"])]),_:1},8,["description","title"])]),_:1},8,["can-submit","config","edit-id","entity-type","error-message","fetch-url","form-fields","is-readonly"])])}}}),[["__scopeId","data-v-e66ae12a"]]),ne={class:"kong-ui-entities-keys-entity-config-card"},ae=e.defineComponent({__name:"KeySetConfigCard",props:{config:{type:Object,required:!0,validator:t=>!(!t||!["konnect","kongManager"].includes(t==null?void 0:t.app)||t.app==="konnect"&&!t.controlPlaneId||t.app==="kongManager"&&typeof t.workspace!="string"||!t.entityId)},configCardDoc:{type:String,default:"",required:!1},hideTitle:{type:Boolean,default:!1}},emits:["loading","fetch:error","fetch:success"],setup(t){const S=t,{i18n:{t:u}}=M.useI18n(),o=e.computed(()=>$.form[S.config.app].edit),a=e.ref({id:{},name:{},last_updated:{},created:{},tags:{tooltip:u("keySets.form.fields.tags.tooltip")}});return(m,h)=>(e.openBlock(),e.createElementBlock("div",ne,[e.createVNode(e.unref(i.EntityBaseConfigCard),{config:t.config,"config-card-doc":t.configCardDoc,"config-schema":a.value,"entity-type":e.unref(i.SupportedEntityType).KeySet,"fetch-url":o.value,"hide-title":t.hideTitle,"onFetch:error":h[0]||(h[0]=k=>m.$emit("fetch:error",k)),"onFetch:success":h[1]||(h[1]=k=>m.$emit("fetch:success",k)),onLoading:h[2]||(h[2]=k=>m.$emit("loading",k))},null,8,["config","config-card-doc","config-schema","entity-type","fetch-url","hide-title"])]))}});g.KeySetConfigCard=ae,g.KeySetForm=oe,g.KeySetList=ee,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(p,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@kong/icons"),require("vue-router"),require("@kong-ui-public/i18n"),require("@kong-ui-public/entities-shared")):typeof define=="function"&&define.amd?define(["exports","vue","@kong/icons","vue-router","@kong-ui-public/i18n","@kong-ui-public/entities-shared"],e):(p=typeof globalThis<"u"?globalThis:p||self,e(p["kong-ui-public-entities-key-sets"]={},p.Vue,p.KongIcons,p.VueRouter,p["kong-ui-public-i18n"],p["kong-ui-public-entities-shared"]))})(this,(function(p,e,V,A,U,s){"use strict";const G={keySets:{title:"Key sets",list:{toolbar_actions:{new_key_set:"New key set"},table_headers:{name:"Name",id:"ID",tags:"Tags"},empty_state:{title:"Configure a new key set",description:"A key set object holds a collection of asymmetric key objects. This entity allows to logically group keys by their purpose."},empty_state_v2:{title:"Configure your first key set",group:"Key sets created in gateways within this group will automatically appear here.",description:"Key sets centrally manage asymmetric keys for plugins like OpenID Connect and JWT, simplifying configuration and security across services.",create_cta:"New key set",learn_more:"Learn more"}},actions:{create:"New key set",copy_id:"Copy ID",copy_json:"Copy JSON",edit:"Edit",delete:"Delete",clear:"Clear",view:"View details"},search:{placeholder:"Filter by exact name or ID"},delete:{title:"Delete a key set",description:"Deleting this key set will also delete keys associated. This action cannot be reversed so make sure to check the key set usage before deleting."},errors:{general:"Key sets could not be retrieved",delete:"The key set 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"},form:{sections:{general:{title:"General information",description:"General information will help identify and manage this key set."}},fields:{name:{label:"Name",placeholder:"Enter a unique name for this key set"},tags:{label:"Tags",placeholder:"Enter a list of tags separated by comma",help:"e.g. tag1, tag2, tag3",tooltip:"An optional set of strings for grouping and filtering, separated by commas."}}}}};function H(){const t=U.createI18n("en-us",G);return{i18n:t,i18nT:U.i18nTComponent(t)}}const K={useI18n:H},F="/v2/control-planes/{controlPlaneId}/core-entities/{workspace}",M="/{workspace}",_={list:{konnect:`${F}/key-sets`,kongManager:`${M}/key-sets`},form:{konnect:{create:`${F}/key-sets`,edit:`${F}/key-sets/{id}`},kongManager:{create:`${M}/key-sets`,edit:`${M}/key-sets/{id}`}}},z={class:"kong-ui-entities-key-sets-list"},Q={class:"button-row"},X=e.defineComponent({__name:"KeySetList",props:{config:{type:Object,required:!0,validator:t=>!(!t||!["konnect","kongManager"].includes(t?.app)||!t.createRoute||!t.getViewRoute||!t.getEditRoute||t.app==="kongManager"&&!t.isExactMatch&&!t.filterSchema)},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},canRetrieve:{type:Function,required:!1,default:async()=>!0},useActionOutside:{type:Boolean,default:!1}},emits:["error","click:learn-more","copy:success","copy:error","delete:success"],setup(t,{emit:b}){const d=b,o=t,{i18n:{t:a}}=K.useI18n(),f=A.useRouter(),{axiosInstance:g}=s.useAxios(o.config?.axiosRequestConfig),{hasRecords:m,handleStateChange:R}=s.useTableState(()=>k.value),N=e.computed(()=>m.value&&o.config.app==="konnect"),i=e.computed(()=>o.config.app!=="kongManager"||!!o.config.disableSorting),S={name:{label:a("keySets.list.table_headers.name"),searchable:!0,sortable:!0,hidable:!1},tags:{label:a("keySets.list.table_headers.tags")},id:{label:a("keySets.list.table_headers.id"),sortable:!0}},q=S,E=e.computed(()=>{let n=`${o.config.apiBaseUrl}${_.list[o.config.app]}`;return o.config.app==="konnect"&&(n=n.replace(/{controlPlaneId}/gi,o.config?.controlPlaneId||"")),n.replace(/\/{workspace}/gi,o.config?.workspace?`/${o.config.workspace}`:"")}),k=e.ref(""),x=e.computed(()=>{const n=o.config.app==="konnect"||o.config.isExactMatch;if(n)return{isExactMatch:n,placeholder:a("keySets.search.placeholder")};const l={name:S.name};return{isExactMatch:n,fields:l,schema:o.config.filterSchema}}),{fetcher:w,fetcherState:P,fetcherCacheKey:r}=s.useFetcher(e.computed(()=>({...o.config,cacheIdentifier:o.cacheIdentifier})),E),y=()=>{k.value=""},T=()=>{r.value++},u=e.ref(null),oe=async(n,l)=>{const h=n.id;if(!await l(h)){re(n,"id");return}ae(n,"id")},ne=async(n,l)=>{const h=JSON.stringify(n);if(!await l(h)){d("copy:error",{entity:n,message:a("keySets.errors.copy")});return}d("copy:success",{entity:n,message:a("keySets.copy.success_brief")})},ae=(n,l)=>{d("copy:success",{entity:n,field:l,message:a("keySets.copy.success",{val:n[l]})})},re=(n,l)=>{d("copy:error",{entity:n,field:l,message:a("keySets.errors.copy")})},se=async n=>{await o.canRetrieve?.(n)&&f.push(o.config.getViewRoute(n.id))},ie=n=>({label:a("keySets.actions.view"),to:o.config.getViewRoute(n)}),le=n=>({label:a("keySets.actions.edit"),to:o.config.getEditRoute(n)}),C=e.ref(void 0),B=e.ref(!1),$=e.ref(!1),J=e.ref(""),ce=s.useDeleteUrlBuilder(o.config,E.value),de=n=>{C.value=n,B.value=!0},fe=()=>{B.value=!1},pe=async()=>{if(C.value?.id){$.value=!0;try{await g.delete(ce(C.value.id)),$.value=!1,B.value=!1,r.value++,d("delete:success",C.value)}catch(n){J.value=n.response?.data?.message||n.message||a("keySets.errors.delete"),d("error",n)}finally{$.value=!1}}},ye=()=>{f.push(o.config.createRoute)};e.watch(P,n=>{if(n.status===s.FetcherStatus.Error){u.value={title:a("keySets.errors.general")},n.error?.response?.data?.message&&(u.value.message=n.error.response.data.message),d("error",n.error);return}u.value=null});const O=e.ref({ctaPath:o.config.createRoute,ctaText:void 0,message:`${a("keySets.list.empty_state.description")}${o.config.additionMessageForEmptyState?` ${o.config.additionMessageForEmptyState}`:""}`,title:a("keySets.title")}),j=e.ref(!1);return e.onBeforeMount(async()=>{j.value=await o.canCreate(),j.value&&(O.value.title=a("keySets.list.empty_state.title"),O.value.ctaText=a("keySets.actions.create"))}),(n,l)=>{const h=e.resolveComponent("KButton"),ue=e.resolveComponent("KEmptyState"),me=e.resolveComponent("KCopy"),I=e.resolveComponent("KDropdownItem"),W=e.resolveComponent("KClipboardProvider");return e.openBlock(),e.createElementBlock("div",z,[e.createVNode(e.unref(s.EntityBaseTable),{"cache-identifier":t.cacheIdentifier,"disable-sorting":i.value,"empty-state-options":O.value,"enable-entity-actions":"","error-message":u.value,fetcher:e.unref(w),"fetcher-cache-key":e.unref(r),"pagination-type":"offset","preferences-storage-key":"kong-ui-entities-key-sets-list",query:k.value,"table-headers":e.unref(q),onClearSearchInput:y,"onClick:row":l[3]||(l[3]=c=>se(c)),onSort:T,onState:e.unref(R)},e.createSlots({"toolbar-filter":e.withCtx(()=>[e.createVNode(e.unref(s.EntityFilter),{modelValue:k.value,"onUpdate:modelValue":l[0]||(l[0]=c=>k.value=c),config:x.value},null,8,["modelValue","config"])]),"toolbar-button":e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!t.useActionOutside,to:"#kong-ui-app-page-header-action-button"},[e.createElementVNode("div",Q,[N.value?(e.openBlock(),e.createBlock(h,{key:0,appearance:"secondary",class:"open-learning-hub","data-testid":"keys-set-learn-more-button",icon:"",onClick:l[1]||(l[1]=c=>n.$emit("click:learn-more"))},{default:e.withCtx(()=>[e.createVNode(e.unref(V.BookIcon),{decorative:""})]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(s.PermissionsWrapper),{"auth-function":()=>t.canCreate()},{default:e.withCtx(()=>[e.createVNode(h,{appearance:"primary","data-testid":"toolbar-add-key-set",size:t.useActionOutside?"medium":"large",to:t.config.createRoute},{default:e.withCtx(()=>[e.createVNode(e.unref(V.AddIcon)),e.createTextVNode(" "+e.toDisplayString(e.unref(a)("keySets.list.toolbar_actions.new_key_set")),1)]),_:1},8,["size","to"])]),_:1},8,["auth-function"])])],8,["disabled"]))]),name:e.withCtx(({rowValue:c})=>[e.createElementVNode("b",null,e.toDisplayString(c??"-"),1)]),tags:e.withCtx(({rowValue:c})=>[e.createVNode(e.unref(s.TableTags),{tags:c},null,8,["tags"])]),id:e.withCtx(({rowValue:c})=>[e.createVNode(me,{text:c,truncate:""},null,8,["text"])]),actions:e.withCtx(({row:c})=>[e.createVNode(W,null,{default:e.withCtx(({copyToClipboard:D})=>[e.createVNode(I,{"data-testid":"action-entity-copy-id",onClick:ge=>oe(c,D)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.copy_id")),1)]),_:1},8,["onClick"])]),_:2},1024),e.createVNode(W,null,{default:e.withCtx(({copyToClipboard:D})=>[e.createVNode(I,{"data-testid":"action-entity-copy-json",onClick:ge=>ne(c,D)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.copy_json")),1)]),_:1},8,["onClick"])]),_:2},1024),e.createVNode(e.unref(s.PermissionsWrapper),{"auth-function":()=>t.canRetrieve(c)},{default:e.withCtx(()=>[e.createVNode(I,{"data-testid":"action-entity-view","has-divider":"",item:ie(c.id)},null,8,["item"])]),_:2},1032,["auth-function"]),e.createVNode(e.unref(s.PermissionsWrapper),{"auth-function":()=>t.canEdit(c)},{default:e.withCtx(()=>[e.createVNode(I,{"data-testid":"action-entity-edit",item:le(c.id)},null,8,["item"])]),_:2},1032,["auth-function"]),e.createVNode(e.unref(s.PermissionsWrapper),{"auth-function":()=>t.canDelete(c)},{default:e.withCtx(()=>[e.createVNode(I,{danger:"","data-testid":"action-entity-delete","has-divider":"",onClick:D=>de(c)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.delete")),1)]),_:1},8,["onClick"])]),_:2},1032,["auth-function"])]),_:2},[!k.value&&t.config.app==="konnect"?{name:"empty-state",fn:e.withCtx(()=>[e.createVNode(ue,{"data-testid":"key-sets-entity-empty-state","icon-background":"",message:e.unref(a)("keySets.list.empty_state_v2.description"),title:e.unref(a)("keySets.list.empty_state_v2.title")},e.createSlots({icon:e.withCtx(()=>[e.createVNode(e.unref(V.KeyIcon),{decorative:""})]),action:e.withCtx(()=>[j.value?(e.openBlock(),e.createBlock(h,{key:0,"data-testid":"entity-create-button",onClick:ye},{default:e.withCtx(()=>[e.createVNode(e.unref(V.AddIcon),{decorative:""}),e.createTextVNode(" "+e.toDisplayString(e.unref(a)("keySets.list.empty_state_v2.create_cta")),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(h,{appearance:"secondary","data-testid":"entity-learn-more-button",onClick:l[2]||(l[2]=c=>n.$emit("click:learn-more"))},{default:e.withCtx(()=>[e.createVNode(e.unref(V.BookIcon),{decorative:""}),e.createTextVNode(" "+e.toDisplayString(e.unref(a)("keySets.list.empty_state_v2.learn_more")),1)]),_:1})]),_:2},[t.config?.isControlPlaneGroup?{name:"default",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.list.empty_state_v2.group")),1)]),key:"0"}:void 0]),1032,["message","title"])]),key:"0"}:void 0]),1032,["cache-identifier","disable-sorting","empty-state-options","error-message","fetcher","fetcher-cache-key","query","table-headers","onState"]),e.createVNode(e.unref(s.EntityDeleteModal),{"action-pending":$.value,description:e.unref(a)("keySets.delete.description"),"entity-name":C.value&&(C.value.name||C.value.id),"entity-type":e.unref(s.EntityTypes).KeySet,error:J.value,title:e.unref(a)("keySets.delete.title"),visible:B.value,onCancel:fe,onProceed:pe},null,8,["action-pending","description","entity-name","entity-type","error","title","visible"])])}}}),L=(t,b)=>{const d=t.__vccOpts||t;for(const[o,a]of b)d[o]=a;return d},Y=L(X,[["__scopeId","data-v-b73f146e"]]),Z={class:"kong-ui-entities-key-sets-form"},v=L(e.defineComponent({__name:"KeySetForm",props:{config:{type:Object,required:!0,validator:t=>!(!t||!["konnect","kongManager"].includes(t?.app)||t.app==="konnect"&&!t.controlPlaneId||t.app==="kongManager"&&typeof t.workspace!="string"||!t.cancelRoute)},keySetId:{type:String,required:!1,default:null}},emits:["update","error","loading"],setup(t,{emit:b}){const d=b,o=t,a=A.useRouter(),{i18n:{t:f}}=K.useI18n(),{getMessageFromError:g}=s.useErrors(),{axiosInstance:m}=s.useAxios(o.config?.axiosRequestConfig),R=e.computed(()=>_.form[o.config.app].edit),N=e.computed(()=>o.keySetId?s.EntityBaseFormType.Edit:s.EntityBaseFormType.Create),i=e.reactive({fields:{name:"",tags:""},isReadonly:!1,errorMessage:""}),S=e.reactive({name:"",tags:""}),q=e.computed(()=>JSON.stringify(i.fields)!==JSON.stringify(S)&&!!i.fields.name),E=r=>{i.fields.name=r?.name||"",i.fields.tags=r?.tags?.join(", ")||"",Object.assign(S,i.fields)},k=()=>{a.push(o.config.cancelRoute)},x=e.computed(()=>{let r=`${o.config.apiBaseUrl}${_.form[o.config.app][N.value]}`;return o.config.app==="konnect"&&(r=r.replace(/{controlPlaneId}/gi,o.config?.controlPlaneId||"")),r.replace(/\/{workspace}/gi,o.config?.workspace?`/${o.config.workspace}`:"").replace(/{id}/gi,o.keySetId??"")}),w=e.computed(()=>({name:i.fields.name,tags:i.fields.tags?.split(",")?.map(r=>String(r||"").trim())?.filter(r=>r!=="")||""})),P=async()=>{try{i.isReadonly=!0;let r;if(N.value==="create"?r=await m.post(x.value,w.value):N.value==="edit"&&(r=o.config?.app==="konnect"?await m.put(x.value,w.value):await m.patch(x.value,w.value)),r){const{data:y}=r;i.fields.name=y?.name||"",i.fields.tags=y?.tags?.join(", ")||"",Object.assign(S,i.fields),d("update",r?.data)}}catch(r){i.errorMessage=g(r),d("error",r)}finally{i.isReadonly=!1}};return(r,y)=>{const T=e.resolveComponent("KInput");return e.openBlock(),e.createElementBlock("div",Z,[e.createVNode(e.unref(s.EntityBaseForm),{"can-submit":q.value,config:t.config,"edit-id":t.keySetId,"entity-type":e.unref(s.SupportedEntityType).KeySet,"error-message":i.errorMessage,"fetch-url":R.value,"form-fields":w.value,"is-readonly":i.isReadonly,onCancel:k,"onFetch:error":y[2]||(y[2]=u=>r.$emit("error",u)),"onFetch:success":E,onLoading:y[3]||(y[3]=u=>r.$emit("loading",u)),onSubmit:P},{default:e.withCtx(()=>[e.createVNode(e.unref(s.EntityFormSection),{description:e.unref(f)("keySets.form.sections.general.description"),"has-divider":"",title:e.unref(f)("keySets.form.sections.general.title")},{default:e.withCtx(()=>[e.createVNode(T,{modelValue:i.fields.name,"onUpdate:modelValue":y[0]||(y[0]=u=>i.fields.name=u),modelModifiers:{trim:!0},autocomplete:"off","data-testid":"key-set-form-name",label:e.unref(f)("keySets.form.fields.name.label"),placeholder:e.unref(f)("keySets.form.fields.name.placeholder"),readonly:i.isReadonly,type:"text"},null,8,["modelValue","label","placeholder","readonly"]),e.createVNode(T,{modelValue:i.fields.tags,"onUpdate:modelValue":y[1]||(y[1]=u=>i.fields.tags=u),modelModifiers:{trim:!0},autocomplete:"off","data-testid":"key-set-form-tags",help:e.unref(f)("keySets.form.fields.tags.help"),label:e.unref(f)("keySets.form.fields.tags.label"),"label-attributes":{info:e.unref(f)("keySets.form.fields.tags.tooltip"),tooltipAttributes:{maxWidth:"400"}},placeholder:e.unref(f)("keySets.form.fields.tags.placeholder"),readonly:i.isReadonly,type:"text"},null,8,["modelValue","help","label","label-attributes","placeholder","readonly"])]),_:1},8,["description","title"])]),_:1},8,["can-submit","config","edit-id","entity-type","error-message","fetch-url","form-fields","is-readonly"])])}}}),[["__scopeId","data-v-e66ae12a"]]),ee={class:"kong-ui-entities-keys-entity-config-card"},te=e.defineComponent({__name:"KeySetConfigCard",props:{config:{type:Object,required:!0,validator:t=>!(!t||!["konnect","kongManager"].includes(t?.app)||t.app==="konnect"&&!t.controlPlaneId||t.app==="kongManager"&&typeof t.workspace!="string"||!t.entityId)},configCardDoc:{type:String,default:"",required:!1},hideTitle:{type:Boolean,default:!1}},emits:["loading","fetch:error","fetch:success"],setup(t){const b=t,{i18n:{t:d}}=K.useI18n(),o=e.computed(()=>_.form[b.config.app].edit),a=e.ref({id:{},name:{},last_updated:{},created:{},tags:{tooltip:d("keySets.form.fields.tags.tooltip")}});return(f,g)=>(e.openBlock(),e.createElementBlock("div",ee,[e.createVNode(e.unref(s.EntityBaseConfigCard),{config:t.config,"config-card-doc":t.configCardDoc,"config-schema":a.value,"entity-type":e.unref(s.SupportedEntityType).KeySet,"fetch-url":o.value,"hide-title":t.hideTitle,"onFetch:error":g[0]||(g[0]=m=>f.$emit("fetch:error",m)),"onFetch:success":g[1]||(g[1]=m=>f.$emit("fetch:success",m)),onLoading:g[2]||(g[2]=m=>f.$emit("loading",m))},null,8,["config","config-card-doc","config-schema","entity-type","fetch-url","hide-title"])]))}});p.KeySetConfigCard=te,p.KeySetForm=v,p.KeySetList=Y,Object.defineProperty(p,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)}.button-row[data-v-b73f146e]{align-items:center;display:flex;gap:12px;gap:var(--kui-space-50, 12px)}.kong-ui-entities-key-sets-list[data-v-b73f146e]{width:100%}.kong-ui-entities-key-sets-list .kong-ui-entity-filter-input[data-v-b73f146e]{margin-right:12px;margin-right:var(--kui-space-50, 12px)}.kong-ui-entities-key-sets-form[data-v-e66ae12a]{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)}.button-row[data-v-b73f146e]{align-items:center;display:flex;gap:12px;gap:var(--kui-space-50, 12px)}.kong-ui-entities-key-sets-list[data-v-b73f146e]{width:100%}.kong-ui-entities-key-sets-list .kong-ui-entity-filter-input[data-v-b73f146e]{margin-right:12px;margin-right:var(--kui-space-50, 12px)}.kong-ui-entities-key-sets-form[data-v-e66ae12a]{width:100%}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kong-ui-public/entities-key-sets",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.13.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/entities-key-sets.umd.js",
|
|
6
6
|
"module": "./dist/entities-key-sets.es.js",
|
|
@@ -26,17 +26,17 @@
|
|
|
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/icons": "^1.
|
|
34
|
-
"@kong/kongponents": "9.
|
|
33
|
+
"@kong/icons": "^1.61.2",
|
|
34
|
+
"@kong/kongponents": "9.61.1",
|
|
35
35
|
"axios": "^1.17.0",
|
|
36
36
|
"vue": "^3.5.35",
|
|
37
37
|
"vue-router": "^5.1.0",
|
|
38
|
-
"@kong-ui-public/entities-shared": "^3.
|
|
39
|
-
"@kong-ui-public/i18n": "^2.
|
|
38
|
+
"@kong-ui-public/entities-shared": "^3.57.0",
|
|
39
|
+
"@kong-ui-public/i18n": "^2.5.0"
|
|
40
40
|
},
|
|
41
41
|
"repository": {
|
|
42
42
|
"type": "git",
|