@kong-ui-public/entities-key-sets 3.10.34 → 3.11.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 +173 -173
- package/dist/entities-key-sets.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/KeySetForm.vue.d.ts +5 -5
- package/dist/types/components/KeySetForm.vue.d.ts.map +1 -1
- package/dist/types/components/KeySetList.vue.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as z, computed as v, ref as S, watch as we, onBeforeMount as Ee, resolveComponent as F, openBlock as D, createElementBlock as Q, createVNode as i, unref as
|
|
2
|
-
import { BookIcon as oe, AddIcon as ie, KeyIcon as
|
|
1
|
+
import { defineComponent as z, computed as v, ref as S, watch as we, onBeforeMount as Ee, resolveComponent as F, openBlock as D, createElementBlock as Q, createVNode as i, unref as a, createSlots as te, withCtx as r, createTextVNode as E, toDisplayString as I, createElementVNode as ae, createBlock as G, Teleport as $e, createCommentVNode as ne, reactive as se } from "vue";
|
|
2
|
+
import { BookIcon as oe, AddIcon as ie, KeyIcon as Ke } from "@kong/icons";
|
|
3
3
|
import { useRouter as le } from "vue-router";
|
|
4
|
-
import { createI18n as
|
|
4
|
+
import { createI18n as Me, i18nTComponent as Fe } from "@kong-ui-public/i18n";
|
|
5
5
|
import { useAxios as ce, useTableState as De, useFetcher as Re, useDeleteUrlBuilder as Te, FetcherStatus as Be, EntityBaseTable as Ve, PermissionsWrapper as P, TableTags as xe, EntityFilter as Oe, EntityDeleteModal as qe, EntityTypes as Pe, useErrors as Ne, EntityBaseFormType as re, EntityBaseForm as Ue, SupportedEntityType as de, EntityFormSection as je, EntityBaseConfigCard as Ae } from "@kong-ui-public/entities-shared";
|
|
6
6
|
const Je = {
|
|
7
7
|
title: "Key Sets",
|
|
@@ -75,7 +75,7 @@ const Je = {
|
|
|
75
75
|
keySets: Je
|
|
76
76
|
};
|
|
77
77
|
function Ge() {
|
|
78
|
-
const e =
|
|
78
|
+
const e = Me("en-us", Le);
|
|
79
79
|
return {
|
|
80
80
|
i18n: e,
|
|
81
81
|
i18nT: Fe(e)
|
|
@@ -84,7 +84,7 @@ function Ge() {
|
|
|
84
84
|
}
|
|
85
85
|
const X = {
|
|
86
86
|
useI18n: Ge
|
|
87
|
-
}, H = "/v2/control-planes/{controlPlaneId}/core-entities", W = "/{workspace}", N = {
|
|
87
|
+
}, H = "/v2/control-planes/{controlPlaneId}/core-entities/{workspace}", W = "/{workspace}", N = {
|
|
88
88
|
list: {
|
|
89
89
|
konnect: `${H}/key-sets`,
|
|
90
90
|
kongManager: `${W}/key-sets`
|
|
@@ -146,87 +146,87 @@ const X = {
|
|
|
146
146
|
emits: ["error", "click:learn-more", "copy:success", "copy:error", "delete:success"],
|
|
147
147
|
setup(e, { emit: _ }) {
|
|
148
148
|
var Z;
|
|
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(() => b.value), R = v(() => k.value && t.config.app === "konnect"),
|
|
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(() => b.value), R = v(() => k.value && t.config.app === "konnect"), c = v(() => t.config.app !== "kongManager" || !!t.config.disableSorting), $ = {
|
|
150
150
|
// the Name column is non-hidable
|
|
151
151
|
name: { label: s("keySets.list.table_headers.name"), searchable: !0, sortable: !0, hidable: !1 },
|
|
152
152
|
tags: { label: s("keySets.list.table_headers.tags") },
|
|
153
153
|
id: { label: s("keySets.list.table_headers.id"), sortable: !0 }
|
|
154
154
|
}, j = $, x = v(() => {
|
|
155
155
|
var o, p;
|
|
156
|
-
let
|
|
157
|
-
return t.config.app === "konnect"
|
|
156
|
+
let n = `${t.config.apiBaseUrl}${N.list[t.config.app]}`;
|
|
157
|
+
return t.config.app === "konnect" && (n = n.replace(/{controlPlaneId}/gi, ((o = t.config) == null ? void 0 : o.controlPlaneId) || "")), n.replace(/\/{workspace}/gi, (p = t.config) != null && p.workspace ? `/${t.config.workspace}` : "");
|
|
158
158
|
}), b = S(""), T = v(() => {
|
|
159
|
-
const
|
|
160
|
-
if (
|
|
159
|
+
const n = t.config.app === "konnect" || t.config.isExactMatch;
|
|
160
|
+
if (n)
|
|
161
161
|
return {
|
|
162
|
-
isExactMatch:
|
|
162
|
+
isExactMatch: n,
|
|
163
163
|
placeholder: s("keySets.search.placeholder")
|
|
164
164
|
};
|
|
165
165
|
const o = { name: $.name };
|
|
166
166
|
return {
|
|
167
|
-
isExactMatch:
|
|
167
|
+
isExactMatch: n,
|
|
168
168
|
fields: o,
|
|
169
169
|
schema: t.config.filterSchema
|
|
170
170
|
};
|
|
171
171
|
}), {
|
|
172
|
-
fetcher:
|
|
172
|
+
fetcher: K,
|
|
173
173
|
fetcherState: A,
|
|
174
|
-
fetcherCacheKey:
|
|
175
|
-
} = Re(v(() => ({ ...t.config, cacheIdentifier: t.cacheIdentifier })), x),
|
|
174
|
+
fetcherCacheKey: M
|
|
175
|
+
} = Re(v(() => ({ ...t.config, cacheIdentifier: t.cacheIdentifier })), x), y = () => {
|
|
176
176
|
b.value = "";
|
|
177
|
-
},
|
|
178
|
-
|
|
179
|
-
},
|
|
180
|
-
const p =
|
|
177
|
+
}, d = () => {
|
|
178
|
+
M.value++;
|
|
179
|
+
}, l = S(null), f = async (n, o) => {
|
|
180
|
+
const p = n.id;
|
|
181
181
|
if (!await o(p)) {
|
|
182
|
-
pe(
|
|
182
|
+
pe(n, "id");
|
|
183
183
|
return;
|
|
184
184
|
}
|
|
185
|
-
|
|
186
|
-
},
|
|
187
|
-
const p = JSON.stringify(
|
|
185
|
+
fe(n, "id");
|
|
186
|
+
}, ye = async (n, o) => {
|
|
187
|
+
const p = JSON.stringify(n);
|
|
188
188
|
if (!await o(p)) {
|
|
189
189
|
m("copy:error", {
|
|
190
|
-
entity:
|
|
190
|
+
entity: n,
|
|
191
191
|
message: s("keySets.errors.copy")
|
|
192
192
|
});
|
|
193
193
|
return;
|
|
194
194
|
}
|
|
195
195
|
m("copy:success", {
|
|
196
|
-
entity:
|
|
196
|
+
entity: n,
|
|
197
197
|
message: s("keySets.copy.success_brief")
|
|
198
198
|
});
|
|
199
|
-
},
|
|
199
|
+
}, fe = (n, o) => {
|
|
200
200
|
m("copy:success", {
|
|
201
|
-
entity:
|
|
201
|
+
entity: n,
|
|
202
202
|
field: o,
|
|
203
|
-
message: s("keySets.copy.success", { val:
|
|
203
|
+
message: s("keySets.copy.success", { val: n[o] })
|
|
204
204
|
});
|
|
205
|
-
}, pe = (
|
|
205
|
+
}, pe = (n, o) => {
|
|
206
206
|
m("copy:error", {
|
|
207
|
-
entity:
|
|
207
|
+
entity: n,
|
|
208
208
|
field: o,
|
|
209
209
|
message: s("keySets.errors.copy")
|
|
210
210
|
});
|
|
211
|
-
}, me = async (
|
|
211
|
+
}, me = async (n) => {
|
|
212
212
|
var p;
|
|
213
|
-
await ((p = t.canRetrieve) == null ? void 0 : p.call(t,
|
|
214
|
-
}, ge = (
|
|
213
|
+
await ((p = t.canRetrieve) == null ? void 0 : p.call(t, n)) && g.push(t.config.getViewRoute(n.id));
|
|
214
|
+
}, ge = (n) => ({
|
|
215
215
|
label: s("keySets.actions.view"),
|
|
216
|
-
to: t.config.getViewRoute(
|
|
217
|
-
}), ke = (
|
|
216
|
+
to: t.config.getViewRoute(n)
|
|
217
|
+
}), ke = (n) => ({
|
|
218
218
|
label: s("keySets.actions.edit"),
|
|
219
|
-
to: t.config.getEditRoute(
|
|
220
|
-
}), w = S(void 0), O = S(!1), q = S(!1), Y = S(""), ve = Te(t.config, x.value), he = (
|
|
221
|
-
w.value =
|
|
219
|
+
to: t.config.getEditRoute(n)
|
|
220
|
+
}), w = S(void 0), O = S(!1), q = S(!1), Y = S(""), ve = Te(t.config, x.value), he = (n) => {
|
|
221
|
+
w.value = n, O.value = !0;
|
|
222
222
|
}, Se = () => {
|
|
223
223
|
O.value = !1;
|
|
224
224
|
}, be = async () => {
|
|
225
|
-
var
|
|
226
|
-
if ((
|
|
225
|
+
var n, o, p;
|
|
226
|
+
if ((n = w.value) != null && n.id) {
|
|
227
227
|
q.value = !0;
|
|
228
228
|
try {
|
|
229
|
-
await h.delete(ve(w.value.id)), q.value = !1, O.value = !1,
|
|
229
|
+
await h.delete(ve(w.value.id)), q.value = !1, O.value = !1, M.value++, m("delete:success", w.value);
|
|
230
230
|
} catch (C) {
|
|
231
231
|
Y.value = ((p = (o = C.response) == null ? void 0 : o.data) == null ? void 0 : p.message) || C.message || s("keySets.errors.delete"), m("error", C);
|
|
232
232
|
} finally {
|
|
@@ -236,15 +236,15 @@ const X = {
|
|
|
236
236
|
}, Ce = () => {
|
|
237
237
|
g.push(t.config.createRoute);
|
|
238
238
|
};
|
|
239
|
-
we(A, (
|
|
239
|
+
we(A, (n) => {
|
|
240
240
|
var o, p, C;
|
|
241
|
-
if (
|
|
242
|
-
|
|
241
|
+
if (n.status === Be.Error) {
|
|
242
|
+
l.value = {
|
|
243
243
|
title: s("keySets.errors.general")
|
|
244
|
-
}, (C = (p = (o =
|
|
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);
|
|
245
245
|
return;
|
|
246
246
|
}
|
|
247
|
-
|
|
247
|
+
l.value = null;
|
|
248
248
|
});
|
|
249
249
|
const J = S({
|
|
250
250
|
ctaPath: t.config.createRoute,
|
|
@@ -254,34 +254,34 @@ const X = {
|
|
|
254
254
|
}), L = S(!1);
|
|
255
255
|
return Ee(async () => {
|
|
256
256
|
L.value = await t.canCreate(), L.value && (J.value.title = s("keySets.list.empty_state.title"), J.value.ctaText = s("keySets.actions.create"));
|
|
257
|
-
}), (
|
|
257
|
+
}), (n, o) => {
|
|
258
258
|
const p = F("KButton"), C = F("KEmptyState"), Ie = F("KCopy"), B = F("KDropdownItem"), ee = F("KClipboardProvider");
|
|
259
259
|
return D(), Q("div", He, [
|
|
260
|
-
i(
|
|
260
|
+
i(a(Ve), {
|
|
261
261
|
"cache-identifier": e.cacheIdentifier,
|
|
262
|
-
"disable-sorting":
|
|
262
|
+
"disable-sorting": c.value,
|
|
263
263
|
"empty-state-options": J.value,
|
|
264
264
|
"enable-entity-actions": "",
|
|
265
|
-
"error-message":
|
|
266
|
-
fetcher:
|
|
267
|
-
"fetcher-cache-key":
|
|
265
|
+
"error-message": l.value,
|
|
266
|
+
fetcher: a(K),
|
|
267
|
+
"fetcher-cache-key": a(M),
|
|
268
268
|
"pagination-type": "offset",
|
|
269
269
|
"preferences-storage-key": "kong-ui-entities-key-sets-list",
|
|
270
270
|
query: b.value,
|
|
271
|
-
"table-headers":
|
|
272
|
-
onClearSearchInput:
|
|
273
|
-
"onClick:row": o[3] || (o[3] = (
|
|
274
|
-
onSort:
|
|
275
|
-
onState:
|
|
271
|
+
"table-headers": a(j),
|
|
272
|
+
onClearSearchInput: y,
|
|
273
|
+
"onClick:row": o[3] || (o[3] = (u) => me(u)),
|
|
274
|
+
onSort: d,
|
|
275
|
+
onState: a(U)
|
|
276
276
|
}, te({
|
|
277
|
-
"toolbar-filter":
|
|
278
|
-
i(
|
|
277
|
+
"toolbar-filter": r(() => [
|
|
278
|
+
i(a(Oe), {
|
|
279
279
|
modelValue: b.value,
|
|
280
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
280
|
+
"onUpdate:modelValue": o[0] || (o[0] = (u) => b.value = u),
|
|
281
281
|
config: T.value
|
|
282
282
|
}, null, 8, ["modelValue", "config"])
|
|
283
283
|
]),
|
|
284
|
-
"toolbar-button":
|
|
284
|
+
"toolbar-button": r(() => [
|
|
285
285
|
(D(), G($e, {
|
|
286
286
|
disabled: !e.useActionOutside,
|
|
287
287
|
to: "#kong-ui-app-page-header-action-button"
|
|
@@ -293,26 +293,26 @@ const X = {
|
|
|
293
293
|
class: "open-learning-hub",
|
|
294
294
|
"data-testid": "keys-set-learn-more-button",
|
|
295
295
|
icon: "",
|
|
296
|
-
onClick: o[1] || (o[1] = (
|
|
296
|
+
onClick: o[1] || (o[1] = (u) => n.$emit("click:learn-more"))
|
|
297
297
|
}, {
|
|
298
|
-
default:
|
|
299
|
-
i(
|
|
298
|
+
default: r(() => [
|
|
299
|
+
i(a(oe), { decorative: "" })
|
|
300
300
|
]),
|
|
301
301
|
_: 1
|
|
302
302
|
})) : ne("", !0),
|
|
303
|
-
i(
|
|
303
|
+
i(a(P), {
|
|
304
304
|
"auth-function": () => e.canCreate()
|
|
305
305
|
}, {
|
|
306
|
-
default:
|
|
306
|
+
default: r(() => [
|
|
307
307
|
i(p, {
|
|
308
308
|
appearance: "primary",
|
|
309
309
|
"data-testid": "toolbar-add-key-set",
|
|
310
310
|
size: e.useActionOutside ? "medium" : "large",
|
|
311
311
|
to: e.config.createRoute
|
|
312
312
|
}, {
|
|
313
|
-
default:
|
|
314
|
-
i(
|
|
315
|
-
E(" " + I(
|
|
313
|
+
default: r(() => [
|
|
314
|
+
i(a(ie)),
|
|
315
|
+
E(" " + I(a(s)("keySets.list.toolbar_actions.new_key_set")), 1)
|
|
316
316
|
]),
|
|
317
317
|
_: 1
|
|
318
318
|
}, 8, ["size", "to"])
|
|
@@ -322,27 +322,27 @@ const X = {
|
|
|
322
322
|
])
|
|
323
323
|
], 8, ["disabled"]))
|
|
324
324
|
]),
|
|
325
|
-
name:
|
|
326
|
-
ae("b", null, I(
|
|
325
|
+
name: r(({ rowValue: u }) => [
|
|
326
|
+
ae("b", null, I(u ?? "-"), 1)
|
|
327
327
|
]),
|
|
328
|
-
tags:
|
|
329
|
-
i(
|
|
328
|
+
tags: r(({ rowValue: u }) => [
|
|
329
|
+
i(a(xe), { tags: u }, null, 8, ["tags"])
|
|
330
330
|
]),
|
|
331
|
-
id:
|
|
331
|
+
id: r(({ rowValue: u }) => [
|
|
332
332
|
i(Ie, {
|
|
333
|
-
text:
|
|
333
|
+
text: u,
|
|
334
334
|
truncate: ""
|
|
335
335
|
}, null, 8, ["text"])
|
|
336
336
|
]),
|
|
337
|
-
actions:
|
|
337
|
+
actions: r(({ row: u }) => [
|
|
338
338
|
i(ee, null, {
|
|
339
|
-
default:
|
|
339
|
+
default: r(({ copyToClipboard: V }) => [
|
|
340
340
|
i(B, {
|
|
341
341
|
"data-testid": "action-entity-copy-id",
|
|
342
|
-
onClick: (_e) =>
|
|
342
|
+
onClick: (_e) => f(u, V)
|
|
343
343
|
}, {
|
|
344
|
-
default:
|
|
345
|
-
E(I(
|
|
344
|
+
default: r(() => [
|
|
345
|
+
E(I(a(s)("keySets.actions.copy_id")), 1)
|
|
346
346
|
]),
|
|
347
347
|
_: 1
|
|
348
348
|
}, 8, ["onClick"])
|
|
@@ -350,54 +350,54 @@ const X = {
|
|
|
350
350
|
_: 2
|
|
351
351
|
}, 1024),
|
|
352
352
|
i(ee, null, {
|
|
353
|
-
default:
|
|
353
|
+
default: r(({ copyToClipboard: V }) => [
|
|
354
354
|
i(B, {
|
|
355
355
|
"data-testid": "action-entity-copy-json",
|
|
356
|
-
onClick: (_e) =>
|
|
356
|
+
onClick: (_e) => ye(u, V)
|
|
357
357
|
}, {
|
|
358
|
-
default:
|
|
359
|
-
E(I(
|
|
358
|
+
default: r(() => [
|
|
359
|
+
E(I(a(s)("keySets.actions.copy_json")), 1)
|
|
360
360
|
]),
|
|
361
361
|
_: 1
|
|
362
362
|
}, 8, ["onClick"])
|
|
363
363
|
]),
|
|
364
364
|
_: 2
|
|
365
365
|
}, 1024),
|
|
366
|
-
i(
|
|
367
|
-
"auth-function": () => e.canRetrieve(
|
|
366
|
+
i(a(P), {
|
|
367
|
+
"auth-function": () => e.canRetrieve(u)
|
|
368
368
|
}, {
|
|
369
|
-
default:
|
|
369
|
+
default: r(() => [
|
|
370
370
|
i(B, {
|
|
371
371
|
"data-testid": "action-entity-view",
|
|
372
372
|
"has-divider": "",
|
|
373
|
-
item: ge(
|
|
373
|
+
item: ge(u.id)
|
|
374
374
|
}, null, 8, ["item"])
|
|
375
375
|
]),
|
|
376
376
|
_: 2
|
|
377
377
|
}, 1032, ["auth-function"]),
|
|
378
|
-
i(
|
|
379
|
-
"auth-function": () => e.canEdit(
|
|
378
|
+
i(a(P), {
|
|
379
|
+
"auth-function": () => e.canEdit(u)
|
|
380
380
|
}, {
|
|
381
|
-
default:
|
|
381
|
+
default: r(() => [
|
|
382
382
|
i(B, {
|
|
383
383
|
"data-testid": "action-entity-edit",
|
|
384
|
-
item: ke(
|
|
384
|
+
item: ke(u.id)
|
|
385
385
|
}, null, 8, ["item"])
|
|
386
386
|
]),
|
|
387
387
|
_: 2
|
|
388
388
|
}, 1032, ["auth-function"]),
|
|
389
|
-
i(
|
|
390
|
-
"auth-function": () => e.canDelete(
|
|
389
|
+
i(a(P), {
|
|
390
|
+
"auth-function": () => e.canDelete(u)
|
|
391
391
|
}, {
|
|
392
|
-
default:
|
|
392
|
+
default: r(() => [
|
|
393
393
|
i(B, {
|
|
394
394
|
danger: "",
|
|
395
395
|
"data-testid": "action-entity-delete",
|
|
396
396
|
"has-divider": "",
|
|
397
|
-
onClick: (V) => he(
|
|
397
|
+
onClick: (V) => he(u)
|
|
398
398
|
}, {
|
|
399
|
-
default:
|
|
400
|
-
E(I(
|
|
399
|
+
default: r(() => [
|
|
400
|
+
E(I(a(s)("keySets.actions.delete")), 1)
|
|
401
401
|
]),
|
|
402
402
|
_: 1
|
|
403
403
|
}, 8, ["onClick"])
|
|
@@ -409,48 +409,48 @@ const X = {
|
|
|
409
409
|
}, [
|
|
410
410
|
!b.value && e.config.app === "konnect" ? {
|
|
411
411
|
name: "empty-state",
|
|
412
|
-
fn:
|
|
413
|
-
var
|
|
412
|
+
fn: r(() => {
|
|
413
|
+
var u;
|
|
414
414
|
return [
|
|
415
415
|
i(C, {
|
|
416
416
|
"data-testid": "key-sets-entity-empty-state",
|
|
417
417
|
"icon-background": "",
|
|
418
|
-
message:
|
|
419
|
-
title:
|
|
418
|
+
message: a(s)("keySets.list.empty_state_v2.description"),
|
|
419
|
+
title: a(s)("keySets.list.empty_state_v2.title")
|
|
420
420
|
}, te({
|
|
421
|
-
icon:
|
|
422
|
-
i(
|
|
421
|
+
icon: r(() => [
|
|
422
|
+
i(a(Ke), { decorative: "" })
|
|
423
423
|
]),
|
|
424
|
-
action:
|
|
424
|
+
action: r(() => [
|
|
425
425
|
L.value ? (D(), G(p, {
|
|
426
426
|
key: 0,
|
|
427
427
|
"data-testid": "entity-create-button",
|
|
428
428
|
onClick: Ce
|
|
429
429
|
}, {
|
|
430
|
-
default:
|
|
431
|
-
i(
|
|
432
|
-
E(" " + I(
|
|
430
|
+
default: r(() => [
|
|
431
|
+
i(a(ie), { decorative: "" }),
|
|
432
|
+
E(" " + I(a(s)("keySets.list.empty_state_v2.create_cta")), 1)
|
|
433
433
|
]),
|
|
434
434
|
_: 1
|
|
435
435
|
})) : ne("", !0),
|
|
436
436
|
i(p, {
|
|
437
437
|
appearance: "secondary",
|
|
438
438
|
"data-testid": "entity-learn-more-button",
|
|
439
|
-
onClick: o[2] || (o[2] = (V) =>
|
|
439
|
+
onClick: o[2] || (o[2] = (V) => n.$emit("click:learn-more"))
|
|
440
440
|
}, {
|
|
441
|
-
default:
|
|
442
|
-
i(
|
|
443
|
-
E(" " + I(
|
|
441
|
+
default: r(() => [
|
|
442
|
+
i(a(oe), { decorative: "" }),
|
|
443
|
+
E(" " + I(a(s)("keySets.list.empty_state_v2.learn_more")), 1)
|
|
444
444
|
]),
|
|
445
445
|
_: 1
|
|
446
446
|
})
|
|
447
447
|
]),
|
|
448
448
|
_: 2
|
|
449
449
|
}, [
|
|
450
|
-
(
|
|
450
|
+
(u = e.config) != null && u.isControlPlaneGroup ? {
|
|
451
451
|
name: "default",
|
|
452
|
-
fn:
|
|
453
|
-
E(I(
|
|
452
|
+
fn: r(() => [
|
|
453
|
+
E(I(a(s)("keySets.list.empty_state_v2.group")), 1)
|
|
454
454
|
]),
|
|
455
455
|
key: "0"
|
|
456
456
|
} : void 0
|
|
@@ -460,13 +460,13 @@ const X = {
|
|
|
460
460
|
key: "0"
|
|
461
461
|
} : void 0
|
|
462
462
|
]), 1032, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "onState"]),
|
|
463
|
-
i(
|
|
463
|
+
i(a(qe), {
|
|
464
464
|
"action-pending": q.value,
|
|
465
|
-
description:
|
|
465
|
+
description: a(s)("keySets.delete.description"),
|
|
466
466
|
"entity-name": w.value && (w.value.name || w.value.id),
|
|
467
|
-
"entity-type":
|
|
467
|
+
"entity-type": a(Pe).KeySet,
|
|
468
468
|
error: Y.value,
|
|
469
|
-
title:
|
|
469
|
+
title: a(s)("keySets.delete.title"),
|
|
470
470
|
visible: O.value,
|
|
471
471
|
onCancel: Se,
|
|
472
472
|
onProceed: be
|
|
@@ -479,7 +479,7 @@ const X = {
|
|
|
479
479
|
for (const [t, s] of _)
|
|
480
480
|
m[t] = s;
|
|
481
481
|
return m;
|
|
482
|
-
}, st = /* @__PURE__ */ ue(ze, [["__scopeId", "data-v-
|
|
482
|
+
}, st = /* @__PURE__ */ ue(ze, [["__scopeId", "data-v-b73f146e"]]), Qe = { class: "kong-ui-entities-key-sets-form" }, Xe = /* @__PURE__ */ z({
|
|
483
483
|
__name: "KeySetForm",
|
|
484
484
|
props: {
|
|
485
485
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -492,13 +492,13 @@ const X = {
|
|
|
492
492
|
keySetId: {
|
|
493
493
|
type: String,
|
|
494
494
|
required: !1,
|
|
495
|
-
default:
|
|
495
|
+
default: null
|
|
496
496
|
}
|
|
497
497
|
},
|
|
498
498
|
emits: ["update", "error", "loading"],
|
|
499
499
|
setup(e, { emit: _ }) {
|
|
500
|
-
var
|
|
501
|
-
const m = _, t = e, s = le(), { i18n: { t: g } } = X.useI18n(), { getMessageFromError: h } = Ne(), { axiosInstance: k } = ce((
|
|
500
|
+
var M;
|
|
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({
|
|
502
502
|
fields: {
|
|
503
503
|
name: "",
|
|
504
504
|
tags: ""
|
|
@@ -508,86 +508,86 @@ const X = {
|
|
|
508
508
|
}), $ = se({
|
|
509
509
|
name: "",
|
|
510
510
|
tags: ""
|
|
511
|
-
}), j = v(() => JSON.stringify(
|
|
512
|
-
var
|
|
513
|
-
|
|
511
|
+
}), j = v(() => JSON.stringify(c.fields) !== JSON.stringify($) && !!c.fields.name), x = (y) => {
|
|
512
|
+
var d;
|
|
513
|
+
c.fields.name = (y == null ? void 0 : y.name) || "", c.fields.tags = ((d = y == null ? void 0 : y.tags) == null ? void 0 : d.join(", ")) || "", Object.assign($, c.fields);
|
|
514
514
|
}, b = () => {
|
|
515
515
|
s.push(t.config.cancelRoute);
|
|
516
516
|
}, T = v(() => {
|
|
517
|
-
var
|
|
518
|
-
let
|
|
519
|
-
return t.config.app === "konnect"
|
|
520
|
-
}),
|
|
521
|
-
var
|
|
517
|
+
var d, l;
|
|
518
|
+
let y = `${t.config.apiBaseUrl}${N.form[t.config.app][R.value]}`;
|
|
519
|
+
return t.config.app === "konnect" && (y = y.replace(/{controlPlaneId}/gi, ((d = t.config) == null ? void 0 : d.controlPlaneId) || "")), y.replace(/\/{workspace}/gi, (l = t.config) != null && l.workspace ? `/${t.config.workspace}` : "").replace(/{id}/gi, t.keySetId ?? "");
|
|
520
|
+
}), K = v(() => {
|
|
521
|
+
var y, d, l;
|
|
522
522
|
return {
|
|
523
|
-
name:
|
|
524
|
-
tags: ((
|
|
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
525
|
};
|
|
526
526
|
}), A = async () => {
|
|
527
|
-
var
|
|
527
|
+
var y, d;
|
|
528
528
|
try {
|
|
529
|
-
|
|
530
|
-
let
|
|
531
|
-
if (R.value === "create" ?
|
|
532
|
-
const { data:
|
|
533
|
-
|
|
529
|
+
c.isReadonly = !0;
|
|
530
|
+
let l;
|
|
531
|
+
if (R.value === "create" ? l = await k.post(T.value, K.value) : R.value === "edit" && (l = ((y = t.config) == null ? void 0 : y.app) === "konnect" ? await k.put(T.value, K.value) : await k.patch(T.value, K.value)), l) {
|
|
532
|
+
const { data: f } = l;
|
|
533
|
+
c.fields.name = (f == null ? void 0 : f.name) || "", c.fields.tags = ((d = f == null ? void 0 : f.tags) == null ? void 0 : d.join(", ")) || "", Object.assign($, c.fields), m("update", l == null ? void 0 : l.data);
|
|
534
534
|
}
|
|
535
|
-
} catch (
|
|
536
|
-
|
|
535
|
+
} catch (l) {
|
|
536
|
+
c.errorMessage = h(l), m("error", l);
|
|
537
537
|
} finally {
|
|
538
|
-
|
|
538
|
+
c.isReadonly = !1;
|
|
539
539
|
}
|
|
540
540
|
};
|
|
541
|
-
return (
|
|
542
|
-
const
|
|
541
|
+
return (y, d) => {
|
|
542
|
+
const l = F("KInput");
|
|
543
543
|
return D(), Q("div", Qe, [
|
|
544
|
-
i(
|
|
544
|
+
i(a(Ue), {
|
|
545
545
|
"can-submit": j.value,
|
|
546
546
|
config: e.config,
|
|
547
547
|
"edit-id": e.keySetId,
|
|
548
|
-
"entity-type":
|
|
549
|
-
"error-message":
|
|
548
|
+
"entity-type": a(de).KeySet,
|
|
549
|
+
"error-message": c.errorMessage,
|
|
550
550
|
"fetch-url": U.value,
|
|
551
|
-
"form-fields":
|
|
552
|
-
"is-readonly":
|
|
551
|
+
"form-fields": K.value,
|
|
552
|
+
"is-readonly": c.isReadonly,
|
|
553
553
|
onCancel: b,
|
|
554
|
-
"onFetch:error":
|
|
554
|
+
"onFetch:error": d[2] || (d[2] = (f) => y.$emit("error", f)),
|
|
555
555
|
"onFetch:success": x,
|
|
556
|
-
onLoading:
|
|
556
|
+
onLoading: d[3] || (d[3] = (f) => y.$emit("loading", f)),
|
|
557
557
|
onSubmit: A
|
|
558
558
|
}, {
|
|
559
|
-
default:
|
|
560
|
-
i(
|
|
561
|
-
description:
|
|
559
|
+
default: r(() => [
|
|
560
|
+
i(a(je), {
|
|
561
|
+
description: a(g)("keySets.form.sections.general.description"),
|
|
562
562
|
"has-divider": "",
|
|
563
|
-
title:
|
|
563
|
+
title: a(g)("keySets.form.sections.general.title")
|
|
564
564
|
}, {
|
|
565
|
-
default:
|
|
566
|
-
i(
|
|
567
|
-
modelValue:
|
|
568
|
-
"onUpdate:modelValue":
|
|
565
|
+
default: r(() => [
|
|
566
|
+
i(l, {
|
|
567
|
+
modelValue: c.fields.name,
|
|
568
|
+
"onUpdate:modelValue": d[0] || (d[0] = (f) => c.fields.name = f),
|
|
569
569
|
modelModifiers: { trim: !0 },
|
|
570
570
|
autocomplete: "off",
|
|
571
571
|
"data-testid": "key-set-form-name",
|
|
572
|
-
label:
|
|
573
|
-
placeholder:
|
|
574
|
-
readonly:
|
|
572
|
+
label: a(g)("keySets.form.fields.name.label"),
|
|
573
|
+
placeholder: a(g)("keySets.form.fields.name.placeholder"),
|
|
574
|
+
readonly: c.isReadonly,
|
|
575
575
|
type: "text"
|
|
576
576
|
}, null, 8, ["modelValue", "label", "placeholder", "readonly"]),
|
|
577
|
-
i(
|
|
578
|
-
modelValue:
|
|
579
|
-
"onUpdate:modelValue":
|
|
577
|
+
i(l, {
|
|
578
|
+
modelValue: c.fields.tags,
|
|
579
|
+
"onUpdate:modelValue": d[1] || (d[1] = (f) => c.fields.tags = f),
|
|
580
580
|
modelModifiers: { trim: !0 },
|
|
581
581
|
autocomplete: "off",
|
|
582
582
|
"data-testid": "key-set-form-tags",
|
|
583
|
-
help:
|
|
584
|
-
label:
|
|
583
|
+
help: a(g)("keySets.form.fields.tags.help"),
|
|
584
|
+
label: a(g)("keySets.form.fields.tags.label"),
|
|
585
585
|
"label-attributes": {
|
|
586
|
-
info:
|
|
586
|
+
info: a(g)("keySets.form.fields.tags.tooltip"),
|
|
587
587
|
tooltipAttributes: { maxWidth: "400" }
|
|
588
588
|
},
|
|
589
|
-
placeholder:
|
|
590
|
-
readonly:
|
|
589
|
+
placeholder: a(g)("keySets.form.fields.tags.placeholder"),
|
|
590
|
+
readonly: c.isReadonly,
|
|
591
591
|
type: "text"
|
|
592
592
|
}, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"])
|
|
593
593
|
]),
|
|
@@ -599,7 +599,7 @@ const X = {
|
|
|
599
599
|
]);
|
|
600
600
|
};
|
|
601
601
|
}
|
|
602
|
-
}), ot = /* @__PURE__ */ ue(Xe, [["__scopeId", "data-v-
|
|
602
|
+
}), ot = /* @__PURE__ */ ue(Xe, [["__scopeId", "data-v-e66ae12a"]]), Ye = { class: "kong-ui-entities-keys-entity-config-card" }, it = /* @__PURE__ */ z({
|
|
603
603
|
__name: "KeySetConfigCard",
|
|
604
604
|
props: {
|
|
605
605
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -636,11 +636,11 @@ const X = {
|
|
|
636
636
|
}
|
|
637
637
|
});
|
|
638
638
|
return (g, h) => (D(), Q("div", Ye, [
|
|
639
|
-
i(
|
|
639
|
+
i(a(Ae), {
|
|
640
640
|
config: e.config,
|
|
641
641
|
"config-card-doc": e.configCardDoc,
|
|
642
642
|
"config-schema": s.value,
|
|
643
|
-
"entity-type":
|
|
643
|
+
"entity-type": a(de).KeySet,
|
|
644
644
|
"fetch-url": t.value,
|
|
645
645
|
"hide-title": e.hideTitle,
|
|
646
646
|
"onFetch:error": h[0] || (h[0] = (k) => g.$emit("fetch:error", k)),
|
|
@@ -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,l){"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 F={useI18n:X},R="/v2/control-planes/{controlPlaneId}/core-entities",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}}=F.useI18n(),m=L.useRouter(),{axiosInstance:h}=l.useAxios((H=o.config)==null?void 0:H.axiosRequestConfig),{hasRecords:k,handleStateChange:P}=l.useTableState(()=>b.value),_=e.computed(()=>k.value&&o.config.app==="konnect"),c=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)||""):o.config.app==="kongManager"&&(n=n.replace(/\/{workspace}/gi,(y=o.config)!=null&&y.workspace?`/${o.config.workspace}`:"")),n}),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}=l.useFetcher(e.computed(()=>({...o.config,cacheIdentifier:o.cacheIdentifier})),D),s=()=>{b.value=""},d=()=>{x.value++},i=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),M=e.ref(!1),G=e.ref(""),fe=l.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){M.value=!0;try{await h.delete(fe(w.value.id)),M.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{M.value=!1}}},me=()=>{m.push(o.config.createRoute)};e.watch(j,n=>{var r,y,C;if(n.status===l.FetcherStatus.Error){i.value={title:a("keySets.errors.general")},(C=(y=(r=n.error)==null?void 0:r.response)==null?void 0:y.data)!=null&&C.message&&(i.value.message=n.error.response.data.message),u("error",n.error);return}i.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(l.EntityBaseTable),{"cache-identifier":t.cacheIdentifier,"disable-sorting":c.value,"empty-state-options":A.value,"enable-entity-actions":"","error-message":i.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:s,"onClick:row":r[3]||(r[3]=f=>le(f)),onSort:d,onState:e.unref(P)},e.createSlots({"toolbar-filter":e.withCtx(()=>[e.createVNode(e.unref(l.EntityFilter),{modelValue:b.value,"onUpdate:modelValue":r[0]||(r[0]=f=>b.value=f),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]=f=>n.$emit("click:learn-more"))},{default:e.withCtx(()=>[e.createVNode(e.unref(I.BookIcon),{decorative:""})]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(l.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:f})=>[e.createElementVNode("b",null,e.toDisplayString(f??"-"),1)]),tags:e.withCtx(({rowValue:f})=>[e.createVNode(e.unref(l.TableTags),{tags:f},null,8,["tags"])]),id:e.withCtx(({rowValue:f})=>[e.createVNode(ge,{text:f,truncate:""},null,8,["text"])]),actions:e.withCtx(({row:f})=>[e.createVNode(z,null,{default:e.withCtx(({copyToClipboard:B})=>[e.createVNode(T,{"data-testid":"action-entity-copy-id",onClick:ke=>p(f,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(f,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(l.PermissionsWrapper),{"auth-function":()=>t.canRetrieve(f)},{default:e.withCtx(()=>[e.createVNode(T,{"data-testid":"action-entity-view","has-divider":"",item:ce(f.id)},null,8,["item"])]),_:2},1032,["auth-function"]),e.createVNode(e.unref(l.PermissionsWrapper),{"auth-function":()=>t.canEdit(f)},{default:e.withCtx(()=>[e.createVNode(T,{"data-testid":"action-entity-edit",item:de(f.id)},null,8,["item"])]),_:2},1032,["auth-function"]),e.createVNode(e.unref(l.PermissionsWrapper),{"auth-function":()=>t.canDelete(f)},{default:e.withCtx(()=>[e.createVNode(T,{danger:"","data-testid":"action-entity-delete","has-divider":"",onClick:B=>pe(f)},{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 f;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},[(f=t.config)!=null&&f.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(l.EntityDeleteModal),{"action-pending":M.value,description:e.unref(a)("keySets.delete.description"),"entity-name":w.value&&(w.value.name||w.value.id),"entity-type":e.unref(l.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-45a30a02"]]),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:""}},emits:["update","error","loading"],setup(t,{emit:S}){var x;const u=S,o=t,a=L.useRouter(),{i18n:{t:m}}=F.useI18n(),{getMessageFromError:h}=l.useErrors(),{axiosInstance:k}=l.useAxios((x=o.config)==null?void 0:x.axiosRequestConfig),P=e.computed(()=>$.form[o.config.app].edit),_=e.computed(()=>o.keySetId?l.EntityBaseFormType.Edit:l.EntityBaseFormType.Create),c=e.reactive({fields:{name:"",tags:""},isReadonly:!1,errorMessage:""}),V=e.reactive({name:"",tags:""}),O=e.computed(()=>JSON.stringify(c.fields)!==JSON.stringify(V)&&!!c.fields.name),D=s=>{var d;c.fields.name=(s==null?void 0:s.name)||"",c.fields.tags=((d=s==null?void 0:s.tags)==null?void 0:d.join(", "))||"",Object.assign(V,c.fields)},b=()=>{a.push(o.config.cancelRoute)},E=e.computed(()=>{var d,i;let s=`${o.config.apiBaseUrl}${$.form[o.config.app][_.value]}`;return o.config.app==="konnect"?s=s.replace(/{controlPlaneId}/gi,((d=o.config)==null?void 0:d.controlPlaneId)||""):o.config.app==="kongManager"&&(s=s.replace(/\/{workspace}/gi,(i=o.config)!=null&&i.workspace?`/${o.config.workspace}`:"")),s=s.replace(/{id}/gi,o.keySetId),s}),N=e.computed(()=>{var s,d,i;return{name:c.fields.name,tags:((i=(d=(s=c.fields.tags)==null?void 0:s.split(","))==null?void 0:d.map(p=>String(p||"").trim()))==null?void 0:i.filter(p=>p!==""))||""}}),j=async()=>{var s,d;try{c.isReadonly=!0;let i;if(_.value==="create"?i=await k.post(E.value,N.value):_.value==="edit"&&(i=((s=o.config)==null?void 0:s.app)==="konnect"?await k.put(E.value,N.value):await k.patch(E.value,N.value)),i){const{data:p}=i;c.fields.name=(p==null?void 0:p.name)||"",c.fields.tags=((d=p==null?void 0:p.tags)==null?void 0:d.join(", "))||"",Object.assign(V,c.fields),u("update",i==null?void 0:i.data)}}catch(i){c.errorMessage=h(i),u("error",i)}finally{c.isReadonly=!1}};return(s,d)=>{const i=e.resolveComponent("KInput");return e.openBlock(),e.createElementBlock("div",te,[e.createVNode(e.unref(l.EntityBaseForm),{"can-submit":O.value,config:t.config,"edit-id":t.keySetId,"entity-type":e.unref(l.SupportedEntityType).KeySet,"error-message":c.errorMessage,"fetch-url":P.value,"form-fields":N.value,"is-readonly":c.isReadonly,onCancel:b,"onFetch:error":d[2]||(d[2]=p=>s.$emit("error",p)),"onFetch:success":D,onLoading:d[3]||(d[3]=p=>s.$emit("loading",p)),onSubmit:j},{default:e.withCtx(()=>[e.createVNode(e.unref(l.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(i,{modelValue:c.fields.name,"onUpdate:modelValue":d[0]||(d[0]=p=>c.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:c.isReadonly,type:"text"},null,8,["modelValue","label","placeholder","readonly"]),e.createVNode(i,{modelValue:c.fields.tags,"onUpdate:modelValue":d[1]||(d[1]=p=>c.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:c.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-a4b01cc5"]]),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}}=F.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(l.EntityBaseConfigCard),{config:t.config,"config-card-doc":t.configCardDoc,"config-schema":a.value,"entity-type":e.unref(l.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(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"})});
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.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-b6987b3c]{align-items:center;border-bottom:var(--v25a763c4);box-sizing:border-box;display:var(--v1ac90e12);padding:16px;padding:var(--kui-space-60, 16px);padding-left:0;width:100%}.config-card-details-row .config-card-details-label[data-v-b6987b3c]{box-sizing:border-box;padding-right:16px;padding-right:var(--kui-space-60, 16px);width:var(--v45a716ee)}.config-card-details-row .config-card-details-label label[data-v-b6987b3c]{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-b6987b3c]{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-b6987b3c]{min-width:0}.config-card-details-row .config-card-details-value[data-v-b6987b3c]{box-sizing:border-box;width:var(--v45a28b38)}.config-card-details-row .config-card-details-value .truncated[data-v-b6987b3c]{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-b6987b3c]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-b6987b3c] .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-b6987b3c]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-b6987b3c]{margin-right:4px;margin-right:var(--kui-space-20, 4px)}.config-card-details-row[data-v-b6987b3c] .k-label{margin-bottom:0}.config-card-details-row[data-v-b6987b3c] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-b6987b3c] .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-f9989a30]{margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px)}.deck-config .k-code-block[data-v-f9989a30]{margin-top:12px;margin-top:var(--kui-space-50, 12px)}.deck-config .k-code-block.customization[data-v-f9989a30]{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-f9989a30]{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-f9989a30]:not(:first-child){margin-top:16px;margin-top:var(--kui-space-60, 16px)}.deck-config .konnect-pat-actions[data-v-f9989a30]{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-f9989a30]{margin-top:8px;margin-top:var(--kui-space-40, 8px)}.deck-config .customization-footer-reminder[data-v-f9989a30]{margin-top:16px;margin-top:var(--kui-space-60, 16px)}.config-card-prop-section-title[data-v-d530ff19]{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-4e8b39ce]{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-4e8b39ce]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-4e8b39ce]{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-4e8b39ce]{align-items:center}.kong-ui-entity-base-config-card .config-card-actions .sensitive-fields-checkbox[data-v-4e8b39ce] .checkbox-label{width:max-content}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-4e8b39ce]{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-4e8b39ce]:not(:has(.config-card-details-after)) .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .config-card-details-after[data-v-4e8b39ce]{padding-top:16px;padding-top:var(--kui-space-60, 16px)}.kong-ui-entity-base-config-card .book-icon[data-v-4e8b39ce]{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-32b5ebdc]{box-sizing:border-box;max-width:1536px;max-width:var(--kui-breakpoint-desktop, 1536px);width:100%}.kong-ui-entity-base-form[data-v-32b5ebdc] .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-32b5ebdc] .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-32b5ebdc] .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-32b5ebdc] .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-32b5ebdc] .slideout-content{overflow-y:unset!important}.kong-ui-entity-base-form.new-form-layout[data-v-32b5ebdc]{border:none;padding:0}.kong-ui-entity-base-form.new-form-layout[data-v-32b5ebdc]>.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-32b5ebdc]{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-32b5ebdc]{display:flex;flex-direction:row;justify-content:flex-end;margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px)}.form-actions[data-v-32b5ebdc]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px;margin-top:var(--kui-space-80, 24px)}.form-actions[data-v-32b5ebdc] .k-button:last-of-type,.form-actions[data-v-32b5ebdc] .k-button:nth-last-of-type(2){margin-inline-start:16px;margin-inline-start:var(--kui-space-60, 16px)}.form-actions-reverted[data-v-32b5ebdc]{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-d3d2bd8b]{width:100%}.kong-ui-entity-filter-clear[data-v-d3d2bd8b]{cursor:pointer}.kong-ui-entity-filter[data-v-d3d2bd8b]{display:flex;position:relative}.kong-ui-entity-filter[data-v-d3d2bd8b] .menu-content{flex-direction:column}.kong-ui-entity-filter[data-v-d3d2bd8b] .k-menu-item-divider hr{margin:12px 0}.kong-ui-entity-filter-backdrop[data-v-d3d2bd8b]{bottom:0;left:0;position:fixed;right:0;top:0;z-index:1050}.kong-ui-entity-filter-menu[data-v-d3d2bd8b]{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-d3d2bd8b]{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-d3d2bd8b]{align-items:center;cursor:pointer;display:flex;line-height:24px;line-height:var(--kui-line-height-40, 24px)}.menu-item-title.expanded[data-v-d3d2bd8b]{color:#232633;color:var(--kui-color-text-neutral-strongest, #232633)}.menu-item-expand-icon[data-v-d3d2bd8b]{margin-left:auto}.menu-item-expand-icon.expanded[data-v-d3d2bd8b]{transform:rotate(180deg)}.menu-item-indicator[data-v-d3d2bd8b]{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-d3d2bd8b]{align-items:center;display:flex;justify-content:space-between;margin-top:16px;margin-top:var(--kui-space-60, 16px)}.menu-item-body[data-v-d3d2bd8b] .input{padding-bottom:4px!important;padding-top:4px!important}.menu-item-body[data-v-d3d2bd8b] .k-input{width:100%}.menu-item-body[data-v-d3d2bd8b] .k-select-input .input{font-size:12px}.menu-item-body[data-v-d3d2bd8b] .k-select-input .input::placeholder{color:#00000073!important;font-size:12px}.menu-item-label[data-v-d3d2bd8b]{margin-bottom:0;margin-right:12px}.menu-item-buttons[data-v-d3d2bd8b]{display:flex;justify-content:space-between;margin:10px 0 6px}.filter-clear-button-container[data-v-d3d2bd8b]{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-8e48a559]{align-items:flex-start;display:flex;gap:8px;gap:var(--kui-space-40, 8px)}.kong-ui-entity-form-block .step[data-v-8e48a559]{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-8e48a559]{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-8e48a559]{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-8e48a559]{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-8e48a559]{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-8e48a559]{background:#f9fafb;background: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);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-8e48a559]{margin-left:16px;margin-left:var(--kui-space-60, 16px)}.kong-ui-public-entity-link[data-v-a18d7efa]{align-items:center;display:flex}.kong-ui-public-entity-link .deleted-entity[data-v-a18d7efa]{font-style:italic}.kong-ui-public-entity-link .entity-link[data-v-a18d7efa]{display:flex;flex:1}.kong-ui-public-entity-link .entity-link[data-v-a18d7efa] .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-a18d7efa]{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-a18d7efa]{align-items:center;cursor:pointer;display:flex}.kong-ui-public-entity-link .copy-uuid-tooltip .entity-link-copy-id[data-v-a18d7efa]{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))}}.deck-command-editor-wrapper[data-v-c024a8eb]{position:relative}.deck-command-editor-wrapper .deck-command-editor[data-v-c024a8eb]{height:300px;margin-top:12px;margin-top:var(--kui-space-50, 12px);width:100%}.deck-command-editor-wrapper .deck-command-copy-button[data-v-c024a8eb]{opacity:0;position:absolute;right:10px;top:10px;transition:opacity linear .2s;transition:opacity linear var(--kui-animation-duration-20, .2s)}.deck-command-editor-wrapper:hover .deck-command-copy-button[data-v-c024a8eb]{opacity:1}.editor-skeleton[data-v-ec59bbd1]{margin-top:4px;margin-top:var(--kui-space-20, 4px)}.button-row[data-v-45a30a02]{align-items:center;display:flex;gap:12px;gap:var(--kui-space-50, 12px)}.kong-ui-entities-key-sets-list[data-v-45a30a02]{width:100%}.kong-ui-entities-key-sets-list .kong-ui-entity-filter-input[data-v-45a30a02]{margin-right:12px;margin-right:var(--kui-space-50, 12px)}.kong-ui-entities-key-sets-form[data-v-a4b01cc5]{width:100%}
|
|
1
|
+
@charset "UTF-8";.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-b6987b3c]{align-items:center;border-bottom:var(--v25a763c4);box-sizing:border-box;display:var(--v1ac90e12);padding:16px;padding:var(--kui-space-60, 16px);padding-left:0;width:100%}.config-card-details-row .config-card-details-label[data-v-b6987b3c]{box-sizing:border-box;padding-right:16px;padding-right:var(--kui-space-60, 16px);width:var(--v45a716ee)}.config-card-details-row .config-card-details-label label[data-v-b6987b3c]{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-b6987b3c]{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-b6987b3c]{min-width:0}.config-card-details-row .config-card-details-value[data-v-b6987b3c]{box-sizing:border-box;width:var(--v45a28b38)}.config-card-details-row .config-card-details-value .truncated[data-v-b6987b3c]{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-b6987b3c]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-b6987b3c] .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-b6987b3c]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-b6987b3c]{margin-right:4px;margin-right:var(--kui-space-20, 4px)}.config-card-details-row[data-v-b6987b3c] .k-label{margin-bottom:0}.config-card-details-row[data-v-b6987b3c] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-b6987b3c] .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-f9989a30]{margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px)}.deck-config .k-code-block[data-v-f9989a30]{margin-top:12px;margin-top:var(--kui-space-50, 12px)}.deck-config .k-code-block.customization[data-v-f9989a30]{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-f9989a30]{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-f9989a30]:not(:first-child){margin-top:16px;margin-top:var(--kui-space-60, 16px)}.deck-config .konnect-pat-actions[data-v-f9989a30]{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-f9989a30]{margin-top:8px;margin-top:var(--kui-space-40, 8px)}.deck-config .customization-footer-reminder[data-v-f9989a30]{margin-top:16px;margin-top:var(--kui-space-60, 16px)}.config-card-prop-section-title[data-v-d530ff19]{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-4e8b39ce]{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-4e8b39ce]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-4e8b39ce]{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-4e8b39ce]{align-items:center}.kong-ui-entity-base-config-card .config-card-actions .sensitive-fields-checkbox[data-v-4e8b39ce] .checkbox-label{width:max-content}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-4e8b39ce]{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-4e8b39ce]:not(:has(.config-card-details-after)) .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .config-card-details-after[data-v-4e8b39ce]{padding-top:16px;padding-top:var(--kui-space-60, 16px)}.kong-ui-entity-base-config-card .book-icon[data-v-4e8b39ce]{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-32b5ebdc]{box-sizing:border-box;max-width:1536px;max-width:var(--kui-breakpoint-desktop, 1536px);width:100%}.kong-ui-entity-base-form[data-v-32b5ebdc] .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-32b5ebdc] .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-32b5ebdc] .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-32b5ebdc] .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-32b5ebdc] .slideout-content{overflow-y:unset!important}.kong-ui-entity-base-form.new-form-layout[data-v-32b5ebdc]{border:none;padding:0}.kong-ui-entity-base-form.new-form-layout[data-v-32b5ebdc]>.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-32b5ebdc]{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-32b5ebdc]{display:flex;flex-direction:row;justify-content:flex-end;margin-bottom:16px;margin-bottom:var(--kui-space-60, 16px)}.form-actions[data-v-32b5ebdc]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px;margin-top:var(--kui-space-80, 24px)}.form-actions[data-v-32b5ebdc] .k-button:last-of-type,.form-actions[data-v-32b5ebdc] .k-button:nth-last-of-type(2){margin-inline-start:16px;margin-inline-start:var(--kui-space-60, 16px)}.form-actions-reverted[data-v-32b5ebdc]{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-d3d2bd8b]{width:100%}.kong-ui-entity-filter-clear[data-v-d3d2bd8b]{cursor:pointer}.kong-ui-entity-filter[data-v-d3d2bd8b]{display:flex;position:relative}.kong-ui-entity-filter[data-v-d3d2bd8b] .menu-content{flex-direction:column}.kong-ui-entity-filter[data-v-d3d2bd8b] .k-menu-item-divider hr{margin:12px 0}.kong-ui-entity-filter-backdrop[data-v-d3d2bd8b]{bottom:0;left:0;position:fixed;right:0;top:0;z-index:1050}.kong-ui-entity-filter-menu[data-v-d3d2bd8b]{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-d3d2bd8b]{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-d3d2bd8b]{align-items:center;cursor:pointer;display:flex;line-height:24px;line-height:var(--kui-line-height-40, 24px)}.menu-item-title.expanded[data-v-d3d2bd8b]{color:#232633;color:var(--kui-color-text-neutral-strongest, #232633)}.menu-item-expand-icon[data-v-d3d2bd8b]{margin-left:auto}.menu-item-expand-icon.expanded[data-v-d3d2bd8b]{transform:rotate(180deg)}.menu-item-indicator[data-v-d3d2bd8b]{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-d3d2bd8b]{align-items:center;display:flex;justify-content:space-between;margin-top:16px;margin-top:var(--kui-space-60, 16px)}.menu-item-body[data-v-d3d2bd8b] .input{padding-bottom:4px!important;padding-top:4px!important}.menu-item-body[data-v-d3d2bd8b] .k-input{width:100%}.menu-item-body[data-v-d3d2bd8b] .k-select-input .input{font-size:12px}.menu-item-body[data-v-d3d2bd8b] .k-select-input .input::placeholder{color:#00000073!important;font-size:12px}.menu-item-label[data-v-d3d2bd8b]{margin-bottom:0;margin-right:12px}.menu-item-buttons[data-v-d3d2bd8b]{display:flex;justify-content:space-between;margin:10px 0 6px}.filter-clear-button-container[data-v-d3d2bd8b]{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-8e48a559]{align-items:flex-start;display:flex;gap:8px;gap:var(--kui-space-40, 8px)}.kong-ui-entity-form-block .step[data-v-8e48a559]{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-8e48a559]{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-8e48a559]{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-8e48a559]{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-8e48a559]{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-8e48a559]{background:#f9fafb;background: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);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-8e48a559]{margin-left:16px;margin-left:var(--kui-space-60, 16px)}.kong-ui-public-entity-link[data-v-a18d7efa]{align-items:center;display:flex}.kong-ui-public-entity-link .deleted-entity[data-v-a18d7efa]{font-style:italic}.kong-ui-public-entity-link .entity-link[data-v-a18d7efa]{display:flex;flex:1}.kong-ui-public-entity-link .entity-link[data-v-a18d7efa] .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-a18d7efa]{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-a18d7efa]{align-items:center;cursor:pointer;display:flex}.kong-ui-public-entity-link .copy-uuid-tooltip .entity-link-copy-id[data-v-a18d7efa]{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))}}.deck-command-editor-wrapper[data-v-c024a8eb]{position:relative}.deck-command-editor-wrapper .deck-command-editor[data-v-c024a8eb]{height:300px;margin-top:12px;margin-top:var(--kui-space-50, 12px);width:100%}.deck-command-editor-wrapper .deck-command-copy-button[data-v-c024a8eb]{opacity:0;position:absolute;right:10px;top:10px;transition:opacity linear .2s;transition:opacity linear var(--kui-animation-duration-20, .2s)}.deck-command-editor-wrapper:hover .deck-command-copy-button[data-v-c024a8eb]{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%}
|
|
@@ -11,9 +11,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
11
11
|
};
|
|
12
12
|
/** If a valid Key Set ID is provided, it will put the form in Edit mode instead of Create */
|
|
13
13
|
keySetId: {
|
|
14
|
-
type:
|
|
14
|
+
type: PropType<string | null>;
|
|
15
15
|
required: false;
|
|
16
|
-
default:
|
|
16
|
+
default: null;
|
|
17
17
|
};
|
|
18
18
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
19
19
|
error: (error: AxiosError<unknown, any>) => any;
|
|
@@ -28,16 +28,16 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
28
28
|
};
|
|
29
29
|
/** If a valid Key Set ID is provided, it will put the form in Edit mode instead of Create */
|
|
30
30
|
keySetId: {
|
|
31
|
-
type:
|
|
31
|
+
type: PropType<string | null>;
|
|
32
32
|
required: false;
|
|
33
|
-
default:
|
|
33
|
+
default: null;
|
|
34
34
|
};
|
|
35
35
|
}>> & Readonly<{
|
|
36
36
|
onError?: ((error: AxiosError<unknown, any>) => any) | undefined;
|
|
37
37
|
onUpdate?: ((data: Record<string, any>) => any) | undefined;
|
|
38
38
|
onLoading?: ((isLoading: boolean) => any) | undefined;
|
|
39
39
|
}>, {
|
|
40
|
-
keySetId: string;
|
|
40
|
+
keySetId: string | null;
|
|
41
41
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
42
|
declare const _default: typeof __VLS_export;
|
|
43
43
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeySetForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/KeySetForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KeySetForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/KeySetForm.vue"],"names":[],"mappings":"AA0NA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAGnC,OAAO,KAAK,EAAE,UAAU,EAAiB,MAAM,OAAO,CAAA;AAUtD,OAAO,KAAK,EACV,uBAAuB,EACvB,2BAA2B,EAG5B,MAAM,UAAU,CAAA;AAIjB,OAAO,gDAAgD,CAAA;AAiTvD,QAAA,MAAM,YAAY;IAGhB,oHAAoH;;cAElG,QAAQ,CAAC,uBAAuB,GAAG,2BAA2B,CAAC;;4BAE3D,uBAAuB,GAAG,2BAA2B,KAAG,OAAO;;IAQrF,6FAA6F;;cAE3E,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC;;;;;;;;;IAdzC,oHAAoH;;cAElG,QAAQ,CAAC,uBAAuB,GAAG,2BAA2B,CAAC;;4BAE3D,uBAAuB,GAAG,2BAA2B,KAAG,OAAO;;IAQrF,6FAA6F;;cAE3E,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC;;;;;;;;;;4EAKzC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeySetList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/KeySetList.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KeySetList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/KeySetList.vue"],"names":[],"mappings":"AA+hBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAkBvC,OAAO,KAAK,EACV,2BAA2B,EAC3B,uBAAuB,EACvB,SAAS,EACT,gBAAgB,EACjB,MAAM,UAAU,CAAA;AASjB,OAAO,gDAAgD,CAAA;AAi8BvD,QAAA,MAAM,YAAY;IAGhB,oHAAoH;;cAElG,QAAQ,CAAC,uBAAuB,GAAG,2BAA2B,CAAC;;4BAE3D,uBAAuB,GAAG,2BAA2B,KAAG,OAAO;;;;;;IAYrF,yHAAyH;;cAErG,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI9D,2HAA2H;;cAEvG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,yHAAyH;;cAErG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,4IAA4I;;cAExH,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,iHAAiH;;;;;;;;;;;;IAxCjH,oHAAoH;;cAElG,QAAQ,CAAC,uBAAuB,GAAG,2BAA2B,CAAC;;4BAE3D,uBAAuB,GAAG,2BAA2B,KAAG,OAAO;;;;;;IAYrF,yHAAyH;;cAErG,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI9D,2HAA2H;;cAEvG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,yHAAyH;;cAErG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,4IAA4I;;cAExH,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,iHAAiH;;;;;;;;;;;;;qBAtB9E,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;qBAM1B,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;mBAMxC,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;uBAMxC,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;;4EAU3E,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
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.11.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/entities-key-sets.umd.js",
|
|
6
6
|
"module": "./dist/entities-key-sets.es.js",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"axios": "^1.15.2",
|
|
27
27
|
"vue": ">= 3.3.13 < 4",
|
|
28
28
|
"vue-router": "^4.6.4 || ^5.0.6",
|
|
29
|
-
"@kong-ui-public/
|
|
30
|
-
"@kong-ui-public/
|
|
29
|
+
"@kong-ui-public/i18n": "^2.4.6",
|
|
30
|
+
"@kong-ui-public/entities-shared": "^3.45.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@kong/icons": "^1.52.0",
|