@kong-ui-public/entities-key-sets 3.5.42 → 3.5.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { AddIcon as
|
|
3
|
-
import { useRouter as
|
|
4
|
-
import { createI18n as
|
|
5
|
-
import { useAxios as
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as G, ref as h, computed as b, watch as ge, onBeforeMount as ke, resolveComponent as R, openBlock as O, createElementBlock as W, createVNode as l, unref as o, withCtx as p, createBlock as he, Teleport as ve, withDirectives as be, createTextVNode as V, toDisplayString as _, vShow as Se, createElementVNode as Ce, reactive as ee } from "vue";
|
|
2
|
+
import { AddIcon as Ie } from "@kong/icons";
|
|
3
|
+
import { useRouter as oe } from "vue-router";
|
|
4
|
+
import { createI18n as we, i18nTComponent as Ee } from "@kong-ui-public/i18n";
|
|
5
|
+
import { useAxios as se, useFetcher as Me, useDeleteUrlBuilder as Ke, FetcherStatus as te, EntityBaseTable as De, EntityFilter as $e, PermissionsWrapper as q, TableTags as Fe, EntityDeleteModal as _e, EntityTypes as Re, useErrors as Te, EntityBaseFormType as ae, EntityBaseForm as Be, SupportedEntityType as ne, EntityFormSection as xe, EntityBaseConfigCard as Ve } from "@kong-ui-public/entities-shared";
|
|
6
|
+
const qe = {
|
|
7
7
|
title: "Key Sets",
|
|
8
8
|
list: {
|
|
9
9
|
toolbar_actions: {
|
|
@@ -64,35 +64,35 @@ const Ue = {
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
},
|
|
68
|
-
keySets:
|
|
67
|
+
}, Oe = {
|
|
68
|
+
keySets: qe
|
|
69
69
|
};
|
|
70
|
-
function
|
|
71
|
-
const e =
|
|
70
|
+
function Ae() {
|
|
71
|
+
const e = we("en-us", Oe);
|
|
72
72
|
return {
|
|
73
73
|
i18n: e,
|
|
74
|
-
i18nT:
|
|
74
|
+
i18nT: Ee(e)
|
|
75
75
|
// Translation component <i18n-t>
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
|
-
const
|
|
79
|
-
useI18n:
|
|
80
|
-
},
|
|
78
|
+
const H = {
|
|
79
|
+
useI18n: Ae
|
|
80
|
+
}, L = "/v2/control-planes/{controlPlaneId}/core-entities", z = "/{workspace}", A = {
|
|
81
81
|
list: {
|
|
82
|
-
konnect: `${
|
|
83
|
-
kongManager: `${
|
|
82
|
+
konnect: `${L}/key-sets`,
|
|
83
|
+
kongManager: `${z}/key-sets`
|
|
84
84
|
},
|
|
85
85
|
form: {
|
|
86
86
|
konnect: {
|
|
87
|
-
create: `${
|
|
88
|
-
edit: `${
|
|
87
|
+
create: `${L}/key-sets`,
|
|
88
|
+
edit: `${L}/key-sets/{id}`
|
|
89
89
|
},
|
|
90
90
|
kongManager: {
|
|
91
|
-
create: `${
|
|
92
|
-
edit: `${
|
|
91
|
+
create: `${z}/key-sets`,
|
|
92
|
+
edit: `${z}/key-sets/{id}`
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
},
|
|
95
|
+
}, Pe = { class: "kong-ui-entities-key-sets-list" }, Ne = /* @__PURE__ */ G({
|
|
96
96
|
__name: "KeySetList",
|
|
97
97
|
props: {
|
|
98
98
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -138,254 +138,240 @@ const X = {
|
|
|
138
138
|
},
|
|
139
139
|
emits: ["error", "copy:success", "copy:error", "delete:success"],
|
|
140
140
|
setup(e, { emit: I }) {
|
|
141
|
-
var
|
|
142
|
-
const m = I, a = e, { i18n: { t:
|
|
141
|
+
var Y;
|
|
142
|
+
const m = I, a = e, { i18n: { t: s } } = H.useI18n(), g = oe(), { axiosInstance: v } = se((Y = a.config) == null ? void 0 : Y.axiosRequestConfig), k = h(1), P = b(() => a.config.app !== "kongManager" || !!a.config.disableSorting), M = {
|
|
143
143
|
// the Name column is non-hidable
|
|
144
|
-
name: { label:
|
|
145
|
-
tags: { label:
|
|
146
|
-
id: { label:
|
|
147
|
-
}, r =
|
|
144
|
+
name: { label: s("keySets.list.table_headers.name"), searchable: !0, sortable: !0, hidable: !1 },
|
|
145
|
+
tags: { label: s("keySets.list.table_headers.tags") },
|
|
146
|
+
id: { label: s("keySets.list.table_headers.id"), sortable: !0 }
|
|
147
|
+
}, r = M, K = b(() => {
|
|
148
148
|
var i, y;
|
|
149
|
-
let t = `${a.config.apiBaseUrl}${
|
|
149
|
+
let t = `${a.config.apiBaseUrl}${A.list[a.config.app]}`;
|
|
150
150
|
return a.config.app === "konnect" ? t = t.replace(/{controlPlaneId}/gi, ((i = a.config) == null ? void 0 : i.controlPlaneId) || "") : a.config.app === "kongManager" && (t = t.replace(/\/{workspace}/gi, (y = a.config) != null && y.workspace ? `/${a.config.workspace}` : "")), t;
|
|
151
|
-
}),
|
|
151
|
+
}), D = h(""), N = b(() => {
|
|
152
152
|
const t = a.config.app === "konnect" || a.config.isExactMatch;
|
|
153
153
|
if (t)
|
|
154
154
|
return {
|
|
155
155
|
isExactMatch: t,
|
|
156
|
-
placeholder:
|
|
156
|
+
placeholder: s("keySets.search.placeholder")
|
|
157
157
|
};
|
|
158
|
-
const i = { name:
|
|
158
|
+
const i = { name: M.name };
|
|
159
159
|
return {
|
|
160
160
|
isExactMatch: t,
|
|
161
161
|
fields: i,
|
|
162
162
|
schema: a.config.filterSchema
|
|
163
163
|
};
|
|
164
|
-
}), { fetcher:
|
|
165
|
-
|
|
166
|
-
},
|
|
164
|
+
}), { fetcher: U, fetcherState: F } = Me(a.config, K.value), $ = () => {
|
|
165
|
+
D.value = "";
|
|
166
|
+
}, j = () => {
|
|
167
167
|
k.value++;
|
|
168
|
-
},
|
|
168
|
+
}, w = h(null), n = h(!1), c = (t, i) => {
|
|
169
169
|
const y = t.id;
|
|
170
170
|
if (!i(y)) {
|
|
171
|
-
|
|
171
|
+
re(t, "id");
|
|
172
172
|
return;
|
|
173
173
|
}
|
|
174
|
-
|
|
174
|
+
u(t, "id");
|
|
175
175
|
}, d = (t, i) => {
|
|
176
176
|
const y = JSON.stringify(t);
|
|
177
177
|
if (!i(y)) {
|
|
178
178
|
m("copy:error", {
|
|
179
179
|
entity: t,
|
|
180
|
-
message:
|
|
180
|
+
message: s("keySets.errors.copy")
|
|
181
181
|
});
|
|
182
182
|
return;
|
|
183
183
|
}
|
|
184
184
|
m("copy:success", {
|
|
185
185
|
entity: t,
|
|
186
|
-
message:
|
|
186
|
+
message: s("keySets.copy.success_brief")
|
|
187
187
|
});
|
|
188
|
-
},
|
|
188
|
+
}, u = (t, i) => {
|
|
189
189
|
m("copy:success", {
|
|
190
190
|
entity: t,
|
|
191
191
|
field: i,
|
|
192
|
-
message:
|
|
192
|
+
message: s("keySets.copy.success", { val: t[i] })
|
|
193
193
|
});
|
|
194
|
-
},
|
|
194
|
+
}, re = (t, i) => {
|
|
195
195
|
m("copy:error", {
|
|
196
196
|
entity: t,
|
|
197
197
|
field: i,
|
|
198
|
-
message:
|
|
198
|
+
message: s("keySets.errors.copy")
|
|
199
199
|
});
|
|
200
|
-
},
|
|
200
|
+
}, le = async (t) => {
|
|
201
201
|
var y;
|
|
202
202
|
await ((y = a.canRetrieve) == null ? void 0 : y.call(a, t)) && g.push(a.config.getViewRoute(t.id));
|
|
203
|
-
},
|
|
204
|
-
label:
|
|
203
|
+
}, ce = (t) => ({
|
|
204
|
+
label: s("keySets.actions.view"),
|
|
205
205
|
to: a.config.getViewRoute(t)
|
|
206
|
-
}),
|
|
207
|
-
label:
|
|
206
|
+
}), de = (t) => ({
|
|
207
|
+
label: s("keySets.actions.edit"),
|
|
208
208
|
to: a.config.getEditRoute(t)
|
|
209
|
-
}),
|
|
210
|
-
|
|
211
|
-
},
|
|
212
|
-
|
|
213
|
-
},
|
|
209
|
+
}), E = h(void 0), T = h(!1), B = h(!1), Q = h(""), ue = Ke(a.config, K.value), fe = (t) => {
|
|
210
|
+
E.value = t, T.value = !0;
|
|
211
|
+
}, pe = () => {
|
|
212
|
+
T.value = !1;
|
|
213
|
+
}, ye = async () => {
|
|
214
214
|
var t, i, y;
|
|
215
|
-
if ((t =
|
|
216
|
-
|
|
215
|
+
if ((t = E.value) != null && t.id) {
|
|
216
|
+
B.value = !0;
|
|
217
217
|
try {
|
|
218
|
-
await v.delete(
|
|
218
|
+
await v.delete(ue(E.value.id)), B.value = !1, T.value = !1, k.value++, m("delete:success", E.value);
|
|
219
219
|
} catch (S) {
|
|
220
|
-
|
|
220
|
+
Q.value = ((y = (i = S.response) == null ? void 0 : i.data) == null ? void 0 : y.message) || S.message || s("keySets.errors.delete"), m("error", S);
|
|
221
221
|
} finally {
|
|
222
|
-
|
|
222
|
+
B.value = !1;
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
-
},
|
|
226
|
-
|
|
227
|
-
var i, y, S,
|
|
228
|
-
if (Array.isArray((i = t == null ? void 0 : t.response) == null ? void 0 : i.data) && (
|
|
229
|
-
|
|
230
|
-
title:
|
|
231
|
-
}, (
|
|
225
|
+
}, X = h(!1);
|
|
226
|
+
ge(F, (t) => {
|
|
227
|
+
var i, y, S, C;
|
|
228
|
+
if (Array.isArray((i = t == null ? void 0 : t.response) == null ? void 0 : i.data) && (X.value = t.response.data.length > 0), t.status === te.NoRecords ? n.value = !0 : n.value = !1, t.status === te.Error) {
|
|
229
|
+
w.value = {
|
|
230
|
+
title: s("keySets.errors.general")
|
|
231
|
+
}, (C = (S = (y = t.error) == null ? void 0 : y.response) == null ? void 0 : S.data) != null && C.message && (w.value.message = t.error.response.data.message), m("error", t.error);
|
|
232
232
|
return;
|
|
233
233
|
}
|
|
234
|
-
|
|
234
|
+
w.value = null;
|
|
235
235
|
});
|
|
236
|
-
const
|
|
236
|
+
const J = h({
|
|
237
237
|
ctaPath: a.config.createRoute,
|
|
238
238
|
ctaText: void 0,
|
|
239
|
-
message: `${
|
|
240
|
-
title:
|
|
239
|
+
message: `${s("keySets.list.empty_state.description")}${a.config.additionMessageForEmptyState ? ` ${a.config.additionMessageForEmptyState}` : ""}`,
|
|
240
|
+
title: s("keySets.title")
|
|
241
241
|
});
|
|
242
|
-
return
|
|
243
|
-
await a.canCreate() && (
|
|
242
|
+
return ke(async () => {
|
|
243
|
+
await a.canCreate() && (J.value.title = s("keySets.list.empty_state.title"), J.value.ctaText = s("keySets.actions.create"));
|
|
244
244
|
}), (t, i) => {
|
|
245
|
-
const y =
|
|
246
|
-
return
|
|
247
|
-
|
|
245
|
+
const y = R("KButton"), S = R("KCopy"), C = R("KDropdownItem"), Z = R("KClipboardProvider");
|
|
246
|
+
return O(), W("div", Pe, [
|
|
247
|
+
l(o(De), {
|
|
248
248
|
"cache-identifier": e.cacheIdentifier,
|
|
249
|
-
"disable-sorting":
|
|
250
|
-
"empty-state-options":
|
|
249
|
+
"disable-sorting": P.value,
|
|
250
|
+
"empty-state-options": J.value,
|
|
251
251
|
"enable-entity-actions": "",
|
|
252
|
-
"error-message":
|
|
253
|
-
fetcher: o(
|
|
252
|
+
"error-message": w.value,
|
|
253
|
+
fetcher: o(U),
|
|
254
254
|
"fetcher-cache-key": k.value,
|
|
255
|
-
"hide-toollbar":
|
|
255
|
+
"hide-toollbar": n.value,
|
|
256
256
|
"pagination-type": "offset",
|
|
257
257
|
"preferences-storage-key": "kong-ui-entities-key-sets-list",
|
|
258
|
-
query:
|
|
258
|
+
query: D.value,
|
|
259
259
|
"table-headers": o(r),
|
|
260
260
|
onClearSearchInput: $,
|
|
261
|
-
"onClick:row": i[
|
|
262
|
-
onSort:
|
|
261
|
+
"onClick:row": i[1] || (i[1] = (f) => le(f)),
|
|
262
|
+
onSort: j
|
|
263
263
|
}, {
|
|
264
264
|
"toolbar-filter": p(() => [
|
|
265
|
-
|
|
266
|
-
modelValue:
|
|
267
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
268
|
-
config:
|
|
265
|
+
l(o($e), {
|
|
266
|
+
modelValue: D.value,
|
|
267
|
+
"onUpdate:modelValue": i[0] || (i[0] = (f) => D.value = f),
|
|
268
|
+
config: N.value
|
|
269
269
|
}, null, 8, ["modelValue", "config"])
|
|
270
270
|
]),
|
|
271
271
|
"toolbar-button": p(() => [
|
|
272
|
-
(
|
|
272
|
+
(O(), he(ve, {
|
|
273
273
|
disabled: !e.useActionOutside,
|
|
274
274
|
to: "#kong-ui-app-page-header-action-button"
|
|
275
275
|
}, [
|
|
276
|
-
|
|
276
|
+
l(o(q), {
|
|
277
277
|
"auth-function": () => e.canCreate()
|
|
278
278
|
}, {
|
|
279
279
|
default: p(() => [
|
|
280
|
-
|
|
280
|
+
be(l(y, {
|
|
281
281
|
appearance: "primary",
|
|
282
282
|
"data-testid": "toolbar-add-key-set",
|
|
283
283
|
size: e.useActionOutside ? "medium" : "large",
|
|
284
284
|
to: e.config.createRoute
|
|
285
285
|
}, {
|
|
286
286
|
default: p(() => [
|
|
287
|
-
|
|
288
|
-
|
|
287
|
+
l(o(Ie)),
|
|
288
|
+
V(" " + _(o(s)("keySets.list.toolbar_actions.new_key_set")), 1)
|
|
289
289
|
]),
|
|
290
290
|
_: 1
|
|
291
291
|
}, 8, ["size", "to"]), [
|
|
292
|
-
[
|
|
292
|
+
[Se, X.value]
|
|
293
293
|
])
|
|
294
294
|
]),
|
|
295
295
|
_: 1
|
|
296
296
|
}, 8, ["auth-function"])
|
|
297
297
|
], 8, ["disabled"]))
|
|
298
298
|
]),
|
|
299
|
-
name: p(({ rowValue:
|
|
300
|
-
|
|
299
|
+
name: p(({ rowValue: f }) => [
|
|
300
|
+
Ce("b", null, _(f ?? "-"), 1)
|
|
301
301
|
]),
|
|
302
|
-
tags: p(({ rowValue:
|
|
303
|
-
(
|
|
304
|
-
default: p(() => [
|
|
305
|
-
(C(!0), q(_e, null, Ee(u, (E) => (C(), G(S, {
|
|
306
|
-
key: E,
|
|
307
|
-
onClick: i[1] || (i[1] = Me(() => {
|
|
308
|
-
}, ["stop"]))
|
|
309
|
-
}, {
|
|
310
|
-
default: p(() => [
|
|
311
|
-
x(R(E), 1)
|
|
312
|
-
]),
|
|
313
|
-
_: 2
|
|
314
|
-
}, 1024))), 128))
|
|
315
|
-
]),
|
|
316
|
-
_: 2
|
|
317
|
-
}, 1024)) : (C(), q("span", Le, "-"))
|
|
302
|
+
tags: p(({ rowValue: f }) => [
|
|
303
|
+
l(o(Fe), { tags: f }, null, 8, ["tags"])
|
|
318
304
|
]),
|
|
319
|
-
id: p(({ rowValue:
|
|
320
|
-
|
|
321
|
-
text:
|
|
305
|
+
id: p(({ rowValue: f }) => [
|
|
306
|
+
l(S, {
|
|
307
|
+
text: f,
|
|
322
308
|
truncate: ""
|
|
323
309
|
}, null, 8, ["text"])
|
|
324
310
|
]),
|
|
325
|
-
actions: p(({ row:
|
|
326
|
-
|
|
327
|
-
default: p(({ copyToClipboard:
|
|
328
|
-
|
|
311
|
+
actions: p(({ row: f }) => [
|
|
312
|
+
l(Z, null, {
|
|
313
|
+
default: p(({ copyToClipboard: x }) => [
|
|
314
|
+
l(C, {
|
|
329
315
|
"data-testid": "action-entity-copy-id",
|
|
330
|
-
onClick: (
|
|
316
|
+
onClick: (me) => c(f, x)
|
|
331
317
|
}, {
|
|
332
318
|
default: p(() => [
|
|
333
|
-
|
|
319
|
+
V(_(o(s)("keySets.actions.copy_id")), 1)
|
|
334
320
|
]),
|
|
335
321
|
_: 2
|
|
336
322
|
}, 1032, ["onClick"])
|
|
337
323
|
]),
|
|
338
324
|
_: 2
|
|
339
325
|
}, 1024),
|
|
340
|
-
|
|
341
|
-
default: p(({ copyToClipboard:
|
|
342
|
-
|
|
326
|
+
l(Z, null, {
|
|
327
|
+
default: p(({ copyToClipboard: x }) => [
|
|
328
|
+
l(C, {
|
|
343
329
|
"data-testid": "action-entity-copy-json",
|
|
344
|
-
onClick: (
|
|
330
|
+
onClick: (me) => d(f, x)
|
|
345
331
|
}, {
|
|
346
332
|
default: p(() => [
|
|
347
|
-
|
|
333
|
+
V(_(o(s)("keySets.actions.copy_json")), 1)
|
|
348
334
|
]),
|
|
349
335
|
_: 2
|
|
350
336
|
}, 1032, ["onClick"])
|
|
351
337
|
]),
|
|
352
338
|
_: 2
|
|
353
339
|
}, 1024),
|
|
354
|
-
|
|
355
|
-
"auth-function": () => e.canRetrieve(
|
|
340
|
+
l(o(q), {
|
|
341
|
+
"auth-function": () => e.canRetrieve(f)
|
|
356
342
|
}, {
|
|
357
343
|
default: p(() => [
|
|
358
|
-
|
|
344
|
+
l(C, {
|
|
359
345
|
"data-testid": "action-entity-view",
|
|
360
346
|
"has-divider": "",
|
|
361
|
-
item:
|
|
347
|
+
item: ce(f.id)
|
|
362
348
|
}, null, 8, ["item"])
|
|
363
349
|
]),
|
|
364
350
|
_: 2
|
|
365
351
|
}, 1032, ["auth-function"]),
|
|
366
|
-
|
|
367
|
-
"auth-function": () => e.canEdit(
|
|
352
|
+
l(o(q), {
|
|
353
|
+
"auth-function": () => e.canEdit(f)
|
|
368
354
|
}, {
|
|
369
355
|
default: p(() => [
|
|
370
|
-
|
|
356
|
+
l(C, {
|
|
371
357
|
"data-testid": "action-entity-edit",
|
|
372
|
-
item:
|
|
358
|
+
item: de(f.id)
|
|
373
359
|
}, null, 8, ["item"])
|
|
374
360
|
]),
|
|
375
361
|
_: 2
|
|
376
362
|
}, 1032, ["auth-function"]),
|
|
377
|
-
|
|
378
|
-
"auth-function": () => e.canDelete(
|
|
363
|
+
l(o(q), {
|
|
364
|
+
"auth-function": () => e.canDelete(f)
|
|
379
365
|
}, {
|
|
380
366
|
default: p(() => [
|
|
381
|
-
|
|
367
|
+
l(C, {
|
|
382
368
|
danger: "",
|
|
383
369
|
"data-testid": "action-entity-delete",
|
|
384
370
|
"has-divider": "",
|
|
385
|
-
onClick: (
|
|
371
|
+
onClick: (x) => fe(f)
|
|
386
372
|
}, {
|
|
387
373
|
default: p(() => [
|
|
388
|
-
|
|
374
|
+
V(_(o(s)("keySets.actions.delete")), 1)
|
|
389
375
|
]),
|
|
390
376
|
_: 2
|
|
391
377
|
}, 1032, ["onClick"])
|
|
@@ -395,26 +381,26 @@ const X = {
|
|
|
395
381
|
]),
|
|
396
382
|
_: 1
|
|
397
383
|
}, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "hide-toollbar", "query", "table-headers"]),
|
|
398
|
-
|
|
399
|
-
"action-pending":
|
|
400
|
-
description: o(
|
|
401
|
-
"entity-name":
|
|
402
|
-
"entity-type": o(
|
|
403
|
-
error:
|
|
404
|
-
title: o(
|
|
405
|
-
visible:
|
|
406
|
-
onCancel:
|
|
407
|
-
onProceed:
|
|
384
|
+
l(o(_e), {
|
|
385
|
+
"action-pending": B.value,
|
|
386
|
+
description: o(s)("keySets.delete.description"),
|
|
387
|
+
"entity-name": E.value && (E.value.name || E.value.id),
|
|
388
|
+
"entity-type": o(Re).KeySet,
|
|
389
|
+
error: Q.value,
|
|
390
|
+
title: o(s)("keySets.delete.title"),
|
|
391
|
+
visible: T.value,
|
|
392
|
+
onCancel: pe,
|
|
393
|
+
onProceed: ye
|
|
408
394
|
}, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"])
|
|
409
395
|
]);
|
|
410
396
|
};
|
|
411
397
|
}
|
|
412
|
-
}),
|
|
398
|
+
}), ie = (e, I) => {
|
|
413
399
|
const m = e.__vccOpts || e;
|
|
414
|
-
for (const [a,
|
|
415
|
-
m[a] =
|
|
400
|
+
for (const [a, s] of I)
|
|
401
|
+
m[a] = s;
|
|
416
402
|
return m;
|
|
417
|
-
},
|
|
403
|
+
}, Qe = /* @__PURE__ */ ie(Ne, [["__scopeId", "data-v-4d6fc369"]]), Ue = { class: "kong-ui-entities-key-sets-form" }, je = /* @__PURE__ */ G({
|
|
418
404
|
__name: "KeySetForm",
|
|
419
405
|
props: {
|
|
420
406
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -432,40 +418,40 @@ const X = {
|
|
|
432
418
|
},
|
|
433
419
|
emits: ["update", "error", "loading"],
|
|
434
420
|
setup(e, { emit: I }) {
|
|
435
|
-
var
|
|
436
|
-
const m = I, a = e,
|
|
421
|
+
var w;
|
|
422
|
+
const m = I, a = e, s = oe(), { i18n: { t: g } } = H.useI18n(), { getMessageFromError: v } = Te(), { axiosInstance: k } = se((w = a.config) == null ? void 0 : w.axiosRequestConfig), P = b(() => A.form[a.config.app].edit), M = b(() => a.keySetId ? ae.Edit : ae.Create), r = ee({
|
|
437
423
|
fields: {
|
|
438
424
|
name: "",
|
|
439
425
|
tags: ""
|
|
440
426
|
},
|
|
441
427
|
isReadonly: !1,
|
|
442
428
|
errorMessage: ""
|
|
443
|
-
}),
|
|
429
|
+
}), K = ee({
|
|
444
430
|
name: "",
|
|
445
431
|
tags: ""
|
|
446
|
-
}),
|
|
447
|
-
var
|
|
448
|
-
r.fields.name = (
|
|
449
|
-
},
|
|
450
|
-
|
|
451
|
-
},
|
|
452
|
-
var
|
|
453
|
-
let
|
|
454
|
-
return a.config.app === "konnect" ?
|
|
432
|
+
}), D = b(() => JSON.stringify(r.fields) !== JSON.stringify(K) && !!r.fields.name), N = (n) => {
|
|
433
|
+
var c;
|
|
434
|
+
r.fields.name = (n == null ? void 0 : n.name) || "", r.fields.tags = ((c = n == null ? void 0 : n.tags) == null ? void 0 : c.join(", ")) || "", Object.assign(K, r.fields);
|
|
435
|
+
}, U = () => {
|
|
436
|
+
s.push(a.config.cancelRoute);
|
|
437
|
+
}, F = b(() => {
|
|
438
|
+
var c, d;
|
|
439
|
+
let n = `${a.config.apiBaseUrl}${A.form[a.config.app][M.value]}`;
|
|
440
|
+
return a.config.app === "konnect" ? n = n.replace(/{controlPlaneId}/gi, ((c = a.config) == null ? void 0 : c.controlPlaneId) || "") : a.config.app === "kongManager" && (n = n.replace(/\/{workspace}/gi, (d = a.config) != null && d.workspace ? `/${a.config.workspace}` : "")), n = n.replace(/{id}/gi, a.keySetId), n;
|
|
455
441
|
}), $ = b(() => {
|
|
456
|
-
var
|
|
442
|
+
var n, c, d;
|
|
457
443
|
return {
|
|
458
444
|
name: r.fields.name,
|
|
459
|
-
tags: ((d = (
|
|
445
|
+
tags: ((d = (c = (n = r.fields.tags) == null ? void 0 : n.split(",")) == null ? void 0 : c.map((u) => String(u || "").trim())) == null ? void 0 : d.filter((u) => u !== "")) || ""
|
|
460
446
|
};
|
|
461
|
-
}),
|
|
462
|
-
var
|
|
447
|
+
}), j = async () => {
|
|
448
|
+
var n, c;
|
|
463
449
|
try {
|
|
464
450
|
r.isReadonly = !0;
|
|
465
451
|
let d;
|
|
466
|
-
if (
|
|
467
|
-
const { data:
|
|
468
|
-
r.fields.name = (
|
|
452
|
+
if (M.value === "create" ? d = await k.post(F.value, $.value) : M.value === "edit" && (d = ((n = a.config) == null ? void 0 : n.app) === "konnect" ? await k.put(F.value, $.value) : await k.patch(F.value, $.value)), d) {
|
|
453
|
+
const { data: u } = d;
|
|
454
|
+
r.fields.name = (u == null ? void 0 : u.name) || "", r.fields.tags = ((c = u == null ? void 0 : u.tags) == null ? void 0 : c.join(", ")) || "", Object.assign(K, r.fields), m("update", d == null ? void 0 : d.data);
|
|
469
455
|
}
|
|
470
456
|
} catch (d) {
|
|
471
457
|
r.errorMessage = v(d), m("error", d);
|
|
@@ -473,34 +459,34 @@ const X = {
|
|
|
473
459
|
r.isReadonly = !1;
|
|
474
460
|
}
|
|
475
461
|
};
|
|
476
|
-
return (
|
|
477
|
-
const d =
|
|
478
|
-
return
|
|
479
|
-
|
|
480
|
-
"can-submit":
|
|
462
|
+
return (n, c) => {
|
|
463
|
+
const d = R("KInput");
|
|
464
|
+
return O(), W("div", Ue, [
|
|
465
|
+
l(o(Be), {
|
|
466
|
+
"can-submit": D.value,
|
|
481
467
|
config: e.config,
|
|
482
468
|
"edit-id": e.keySetId,
|
|
483
|
-
"entity-type": o(
|
|
469
|
+
"entity-type": o(ne).KeySet,
|
|
484
470
|
"error-message": r.errorMessage,
|
|
485
|
-
"fetch-url":
|
|
471
|
+
"fetch-url": P.value,
|
|
486
472
|
"form-fields": $.value,
|
|
487
473
|
"is-readonly": r.isReadonly,
|
|
488
|
-
onCancel:
|
|
489
|
-
"onFetch:error":
|
|
490
|
-
"onFetch:success":
|
|
491
|
-
onLoading:
|
|
492
|
-
onSubmit:
|
|
474
|
+
onCancel: U,
|
|
475
|
+
"onFetch:error": c[2] || (c[2] = (u) => n.$emit("error", u)),
|
|
476
|
+
"onFetch:success": N,
|
|
477
|
+
onLoading: c[3] || (c[3] = (u) => n.$emit("loading", u)),
|
|
478
|
+
onSubmit: j
|
|
493
479
|
}, {
|
|
494
480
|
default: p(() => [
|
|
495
|
-
|
|
481
|
+
l(o(xe), {
|
|
496
482
|
description: o(g)("keySets.form.sections.general.description"),
|
|
497
483
|
"has-divider": "",
|
|
498
484
|
title: o(g)("keySets.form.sections.general.title")
|
|
499
485
|
}, {
|
|
500
486
|
default: p(() => [
|
|
501
|
-
|
|
487
|
+
l(d, {
|
|
502
488
|
modelValue: r.fields.name,
|
|
503
|
-
"onUpdate:modelValue":
|
|
489
|
+
"onUpdate:modelValue": c[0] || (c[0] = (u) => r.fields.name = u),
|
|
504
490
|
modelModifiers: { trim: !0 },
|
|
505
491
|
autocomplete: "off",
|
|
506
492
|
"data-testid": "key-set-form-name",
|
|
@@ -509,9 +495,9 @@ const X = {
|
|
|
509
495
|
readonly: r.isReadonly,
|
|
510
496
|
type: "text"
|
|
511
497
|
}, null, 8, ["modelValue", "label", "placeholder", "readonly"]),
|
|
512
|
-
|
|
498
|
+
l(d, {
|
|
513
499
|
modelValue: r.fields.tags,
|
|
514
|
-
"onUpdate:modelValue":
|
|
500
|
+
"onUpdate:modelValue": c[1] || (c[1] = (u) => r.fields.tags = u),
|
|
515
501
|
modelModifiers: { trim: !0 },
|
|
516
502
|
autocomplete: "off",
|
|
517
503
|
"data-testid": "key-set-form-tags",
|
|
@@ -534,7 +520,7 @@ const X = {
|
|
|
534
520
|
]);
|
|
535
521
|
};
|
|
536
522
|
}
|
|
537
|
-
}),
|
|
523
|
+
}), Xe = /* @__PURE__ */ ie(je, [["__scopeId", "data-v-d1b94475"]]), Je = { class: "kong-ui-entities-keys-entity-config-card" }, Ye = /* @__PURE__ */ G({
|
|
538
524
|
__name: "KeySetConfigCard",
|
|
539
525
|
props: {
|
|
540
526
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -561,7 +547,7 @@ const X = {
|
|
|
561
547
|
},
|
|
562
548
|
emits: ["loading", "fetch:error", "fetch:success"],
|
|
563
549
|
setup(e) {
|
|
564
|
-
const I = e, { i18n: { t: m } } =
|
|
550
|
+
const I = e, { i18n: { t: m } } = H.useI18n(), a = b(() => A.form[I.config.app].edit), s = h({
|
|
565
551
|
id: {},
|
|
566
552
|
name: {},
|
|
567
553
|
last_updated: {},
|
|
@@ -570,12 +556,12 @@ const X = {
|
|
|
570
556
|
tooltip: m("keySets.form.fields.tags.tooltip")
|
|
571
557
|
}
|
|
572
558
|
});
|
|
573
|
-
return (g, v) => (
|
|
574
|
-
|
|
559
|
+
return (g, v) => (O(), W("div", Je, [
|
|
560
|
+
l(o(Ve), {
|
|
575
561
|
config: e.config,
|
|
576
562
|
"config-card-doc": e.configCardDoc,
|
|
577
|
-
"config-schema":
|
|
578
|
-
"entity-type": o(
|
|
563
|
+
"config-schema": s.value,
|
|
564
|
+
"entity-type": o(ne).KeySet,
|
|
579
565
|
"fetch-url": a.value,
|
|
580
566
|
"hide-title": e.hideTitle,
|
|
581
567
|
"onFetch:error": v[0] || (v[0] = (k) => g.$emit("fetch:error", k)),
|
|
@@ -586,7 +572,7 @@ const X = {
|
|
|
586
572
|
}
|
|
587
573
|
});
|
|
588
574
|
export {
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
575
|
+
Ye as KeySetConfigCard,
|
|
576
|
+
Xe as KeySetForm,
|
|
577
|
+
Qe as KeySetList
|
|
592
578
|
};
|
|
@@ -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,Q,U,L,l){"use strict";const X={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."}},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 Y(){const t=L.createI18n("en-us",X);return{i18n:t,i18nT:L.i18nTComponent(t)}}const F={useI18n:Y},$="/v2/control-planes/{controlPlaneId}/core-entities",R="/{workspace}",_={list:{konnect:`${$}/key-sets`,kongManager:`${R}/key-sets`},form:{konnect:{create:`${$}/key-sets`,edit:`${$}/key-sets/{id}`},kongManager:{create:`${R}/key-sets`,edit:`${R}/key-sets/{id}`}}},Z={class:"kong-ui-entities-key-sets-list"},v={key:1},ee=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","copy:success","copy:error","delete:success"],setup(t,{emit:C}){var G;const y=C,n=t,{i18n:{t:a}}=F.useI18n(),m=U.useRouter(),{axiosInstance:h}=l.useAxios((G=n.config)==null?void 0:G.axiosRequestConfig),k=e.ref(1),q=e.computed(()=>n.config.app!=="kongManager"||!!n.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}},i=V,N=e.computed(()=>{var r,u;let o=`${n.config.apiBaseUrl}${_.list[n.config.app]}`;return n.config.app==="konnect"?o=o.replace(/{controlPlaneId}/gi,((r=n.config)==null?void 0:r.controlPlaneId)||""):n.config.app==="kongManager"&&(o=o.replace(/\/{workspace}/gi,(u=n.config)!=null&&u.workspace?`/${n.config.workspace}`:"")),o}),I=e.ref(""),P=e.computed(()=>{const o=n.config.app==="konnect"||n.config.isExactMatch;if(o)return{isExactMatch:o,placeholder:a("keySets.search.placeholder")};const r={name:V.name};return{isExactMatch:o,fields:r,schema:n.config.filterSchema}}),{fetcher:O,fetcherState:E}=l.useFetcher(n.config,N.value),B=()=>{I.value=""},A=()=>{k.value++},S=e.ref(null),s=e.ref(!1),c=(o,r)=>{const u=o.id;if(!r(u)){re(o,"id");return}p(o,"id")},d=(o,r)=>{const u=JSON.stringify(o);if(!r(u)){y("copy:error",{entity:o,message:a("keySets.errors.copy")});return}y("copy:success",{entity:o,message:a("keySets.copy.success_brief")})},p=(o,r)=>{y("copy:success",{entity:o,field:r,message:a("keySets.copy.success",{val:o[r]})})},re=(o,r)=>{y("copy:error",{entity:o,field:r,message:a("keySets.errors.copy")})},ie=async o=>{var u;await((u=n.canRetrieve)==null?void 0:u.call(n,o))&&m.push(n.config.getViewRoute(o.id))},le=o=>({label:a("keySets.actions.view"),to:n.config.getViewRoute(o)}),ce=o=>({label:a("keySets.actions.edit"),to:n.config.getEditRoute(o)}),w=e.ref(void 0),D=e.ref(!1),T=e.ref(!1),W=e.ref(""),de=l.useDeleteUrlBuilder(n.config,N.value),fe=o=>{w.value=o,D.value=!0},pe=()=>{D.value=!1},ue=async()=>{var o,r,u;if((o=w.value)!=null&&o.id){T.value=!0;try{await h.delete(de(w.value.id)),T.value=!1,D.value=!1,k.value++,y("delete:success",w.value)}catch(b){W.value=((u=(r=b.response)==null?void 0:r.data)==null?void 0:u.message)||b.message||a("keySets.errors.delete"),y("error",b)}finally{T.value=!1}}},z=e.ref(!1);e.watch(E,o=>{var r,u,b,M;if(Array.isArray((r=o==null?void 0:o.response)==null?void 0:r.data)&&(z.value=o.response.data.length>0),o.status===l.FetcherStatus.NoRecords?s.value=!0:s.value=!1,o.status===l.FetcherStatus.Error){S.value={title:a("keySets.errors.general")},(M=(b=(u=o.error)==null?void 0:u.response)==null?void 0:b.data)!=null&&M.message&&(S.value.message=o.error.response.data.message),y("error",o.error);return}S.value=null});const j=e.ref({ctaPath:n.config.createRoute,ctaText:void 0,message:`${a("keySets.list.empty_state.description")}${n.config.additionMessageForEmptyState?` ${n.config.additionMessageForEmptyState}`:""}`,title:a("keySets.title")});return e.onBeforeMount(async()=>{await n.canCreate()&&(j.value.title=a("keySets.list.empty_state.title"),j.value.ctaText=a("keySets.actions.create"))}),(o,r)=>{const u=e.resolveComponent("KButton"),b=e.resolveComponent("KBadge"),M=e.resolveComponent("KTruncate"),ye=e.resolveComponent("KCopy"),K=e.resolveComponent("KDropdownItem"),H=e.resolveComponent("KClipboardProvider");return e.openBlock(),e.createElementBlock("div",Z,[e.createVNode(e.unref(l.EntityBaseTable),{"cache-identifier":t.cacheIdentifier,"disable-sorting":q.value,"empty-state-options":j.value,"enable-entity-actions":"","error-message":S.value,fetcher:e.unref(O),"fetcher-cache-key":k.value,"hide-toollbar":s.value,"pagination-type":"offset","preferences-storage-key":"kong-ui-entities-key-sets-list",query:I.value,"table-headers":e.unref(i),onClearSearchInput:B,"onClick:row":r[2]||(r[2]=f=>ie(f)),onSort:A},{"toolbar-filter":e.withCtx(()=>[e.createVNode(e.unref(l.EntityFilter),{modelValue:I.value,"onUpdate:modelValue":r[0]||(r[0]=f=>I.value=f),config:P.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.createVNode(e.unref(l.PermissionsWrapper),{"auth-function":()=>t.canCreate()},{default:e.withCtx(()=>[e.withDirectives(e.createVNode(u,{appearance:"primary","data-testid":"toolbar-add-key-set",size:t.useActionOutside?"medium":"large",to:t.config.createRoute},{default:e.withCtx(()=>[e.createVNode(e.unref(Q.AddIcon)),e.createTextVNode(" "+e.toDisplayString(e.unref(a)("keySets.list.toolbar_actions.new_key_set")),1)]),_:1},8,["size","to"]),[[e.vShow,z.value]])]),_:1},8,["auth-function"])],8,["disabled"]))]),name:e.withCtx(({rowValue:f})=>[e.createElementVNode("b",null,e.toDisplayString(f??"-"),1)]),tags:e.withCtx(({rowValue:f})=>[(f==null?void 0:f.length)>0?(e.openBlock(),e.createBlock(M,{key:0},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f,x=>(e.openBlock(),e.createBlock(b,{key:x,onClick:r[1]||(r[1]=e.withModifiers(()=>{},["stop"]))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x),1)]),_:2},1024))),128))]),_:2},1024)):(e.openBlock(),e.createElementBlock("span",v,"-"))]),id:e.withCtx(({rowValue:f})=>[e.createVNode(ye,{text:f,truncate:""},null,8,["text"])]),actions:e.withCtx(({row:f})=>[e.createVNode(H,null,{default:e.withCtx(({copyToClipboard:x})=>[e.createVNode(K,{"data-testid":"action-entity-copy-id",onClick:me=>c(f,x)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.copy_id")),1)]),_:2},1032,["onClick"])]),_:2},1024),e.createVNode(H,null,{default:e.withCtx(({copyToClipboard:x})=>[e.createVNode(K,{"data-testid":"action-entity-copy-json",onClick:me=>d(f,x)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.copy_json")),1)]),_:2},1032,["onClick"])]),_:2},1024),e.createVNode(e.unref(l.PermissionsWrapper),{"auth-function":()=>t.canRetrieve(f)},{default:e.withCtx(()=>[e.createVNode(K,{"data-testid":"action-entity-view","has-divider":"",item:le(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(K,{"data-testid":"action-entity-edit",item:ce(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(K,{danger:"","data-testid":"action-entity-delete","has-divider":"",onClick:x=>fe(f)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.delete")),1)]),_:2},1032,["onClick"])]),_:2},1032,["auth-function"])]),_:1},8,["cache-identifier","disable-sorting","empty-state-options","error-message","fetcher","fetcher-cache-key","hide-toollbar","query","table-headers"]),e.createVNode(e.unref(l.EntityDeleteModal),{"action-pending":T.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:W.value,title:e.unref(a)("keySets.delete.title"),visible:D.value,onCancel:pe,onProceed:ue},null,8,["action-pending","description","entity-name","entity-type","error","title","visible"])])}}}),J=(t,C)=>{const y=t.__vccOpts||t;for(const[n,a]of C)y[n]=a;return y},te=J(ee,[["__scopeId","data-v-b145c250"]]),oe={class:"kong-ui-entities-key-sets-form"},ne=J(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:C}){var S;const y=C,n=t,a=U.useRouter(),{i18n:{t:m}}=F.useI18n(),{getMessageFromError:h}=l.useErrors(),{axiosInstance:k}=l.useAxios((S=n.config)==null?void 0:S.axiosRequestConfig),q=e.computed(()=>_.form[n.config.app].edit),V=e.computed(()=>n.keySetId?l.EntityBaseFormType.Edit:l.EntityBaseFormType.Create),i=e.reactive({fields:{name:"",tags:""},isReadonly:!1,errorMessage:""}),N=e.reactive({name:"",tags:""}),I=e.computed(()=>JSON.stringify(i.fields)!==JSON.stringify(N)&&!!i.fields.name),P=s=>{var c;i.fields.name=(s==null?void 0:s.name)||"",i.fields.tags=((c=s==null?void 0:s.tags)==null?void 0:c.join(", "))||"",Object.assign(N,i.fields)},O=()=>{a.push(n.config.cancelRoute)},E=e.computed(()=>{var c,d;let s=`${n.config.apiBaseUrl}${_.form[n.config.app][V.value]}`;return n.config.app==="konnect"?s=s.replace(/{controlPlaneId}/gi,((c=n.config)==null?void 0:c.controlPlaneId)||""):n.config.app==="kongManager"&&(s=s.replace(/\/{workspace}/gi,(d=n.config)!=null&&d.workspace?`/${n.config.workspace}`:"")),s=s.replace(/{id}/gi,n.keySetId),s}),B=e.computed(()=>{var s,c,d;return{name:i.fields.name,tags:((d=(c=(s=i.fields.tags)==null?void 0:s.split(","))==null?void 0:c.map(p=>String(p||"").trim()))==null?void 0:d.filter(p=>p!==""))||""}}),A=async()=>{var s,c;try{i.isReadonly=!0;let d;if(V.value==="create"?d=await k.post(E.value,B.value):V.value==="edit"&&(d=((s=n.config)==null?void 0:s.app)==="konnect"?await k.put(E.value,B.value):await k.patch(E.value,B.value)),d){const{data:p}=d;i.fields.name=(p==null?void 0:p.name)||"",i.fields.tags=((c=p==null?void 0:p.tags)==null?void 0:c.join(", "))||"",Object.assign(N,i.fields),y("update",d==null?void 0:d.data)}}catch(d){i.errorMessage=h(d),y("error",d)}finally{i.isReadonly=!1}};return(s,c)=>{const d=e.resolveComponent("KInput");return e.openBlock(),e.createElementBlock("div",oe,[e.createVNode(e.unref(l.EntityBaseForm),{"can-submit":I.value,config:t.config,"edit-id":t.keySetId,"entity-type":e.unref(l.SupportedEntityType).KeySet,"error-message":i.errorMessage,"fetch-url":q.value,"form-fields":B.value,"is-readonly":i.isReadonly,onCancel:O,"onFetch:error":c[2]||(c[2]=p=>s.$emit("error",p)),"onFetch:success":P,onLoading:c[3]||(c[3]=p=>s.$emit("loading",p)),onSubmit:A},{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(d,{modelValue:i.fields.name,"onUpdate:modelValue":c[0]||(c[0]=p=>i.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:i.isReadonly,type:"text"},null,8,["modelValue","label","placeholder","readonly"]),e.createVNode(d,{modelValue:i.fields.tags,"onUpdate:modelValue":c[1]||(c[1]=p=>i.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:i.isReadonly,type:"text"},null,8,["modelValue","help","label","label-attributes","placeholder","readonly"])]),_:1},8,["description","title"])]),_:1},8,["can-submit","config","edit-id","entity-type","error-message","fetch-url","form-fields","is-readonly"])])}}}),[["__scopeId","data-v-d1b94475"]]),ae={class:"kong-ui-entities-keys-entity-config-card"},se=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 C=t,{i18n:{t:y}}=F.useI18n(),n=e.computed(()=>_.form[C.config.app].edit),a=e.ref({id:{},name:{},last_updated:{},created:{},tags:{tooltip:y("keySets.form.fields.tags.tooltip")}});return(m,h)=>(e.openBlock(),e.createElementBlock("div",ae,[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":n.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=se,g.KeySetForm=ne,g.KeySetList=te,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,H,j,U,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."}},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=U.createI18n("en-us",Q);return{i18n:t,i18nT:U.i18nTComponent(t)}}const $={useI18n:X},_="/v2/control-planes/{controlPlaneId}/core-entities",B="/{workspace}",K={list:{konnect:`${_}/key-sets`,kongManager:`${B}/key-sets`},form:{konnect:{create:`${_}/key-sets`,edit:`${_}/key-sets/{id}`},kongManager:{create:`${B}/key-sets`,edit:`${B}/key-sets/{id}`}}},Y={class:"kong-ui-entities-key-sets-list"},Z=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","copy:success","copy:error","delete:success"],setup(t,{emit:S}){var z;const y=S,n=t,{i18n:{t:a}}=$.useI18n(),m=j.useRouter(),{axiosInstance:h}=i.useAxios((z=n.config)==null?void 0:z.axiosRequestConfig),k=e.ref(1),R=e.computed(()=>n.config.app!=="kongManager"||!!n.config.disableSorting),x={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}},l=x,N=e.computed(()=>{var r,u;let o=`${n.config.apiBaseUrl}${K.list[n.config.app]}`;return n.config.app==="konnect"?o=o.replace(/{controlPlaneId}/gi,((r=n.config)==null?void 0:r.controlPlaneId)||""):n.config.app==="kongManager"&&(o=o.replace(/\/{workspace}/gi,(u=n.config)!=null&&u.workspace?`/${n.config.workspace}`:"")),o}),I=e.ref(""),q=e.computed(()=>{const o=n.config.app==="konnect"||n.config.isExactMatch;if(o)return{isExactMatch:o,placeholder:a("keySets.search.placeholder")};const r={name:x.name};return{isExactMatch:o,fields:r,schema:n.config.filterSchema}}),{fetcher:P,fetcherState:D}=i.useFetcher(n.config,N.value),E=()=>{I.value=""},O=()=>{k.value++},w=e.ref(null),s=e.ref(!1),c=(o,r)=>{const u=o.id;if(!r(u)){ae(o,"id");return}f(o,"id")},d=(o,r)=>{const u=JSON.stringify(o);if(!r(u)){y("copy:error",{entity:o,message:a("keySets.errors.copy")});return}y("copy:success",{entity:o,message:a("keySets.copy.success_brief")})},f=(o,r)=>{y("copy:success",{entity:o,field:r,message:a("keySets.copy.success",{val:o[r]})})},ae=(o,r)=>{y("copy:error",{entity:o,field:r,message:a("keySets.errors.copy")})},se=async o=>{var u;await((u=n.canRetrieve)==null?void 0:u.call(n,o))&&m.push(n.config.getViewRoute(o.id))},re=o=>({label:a("keySets.actions.view"),to:n.config.getViewRoute(o)}),ie=o=>({label:a("keySets.actions.edit"),to:n.config.getEditRoute(o)}),V=e.ref(void 0),T=e.ref(!1),M=e.ref(!1),L=e.ref(""),le=i.useDeleteUrlBuilder(n.config,N.value),ce=o=>{V.value=o,T.value=!0},de=()=>{T.value=!1},fe=async()=>{var o,r,u;if((o=V.value)!=null&&o.id){M.value=!0;try{await h.delete(le(V.value.id)),M.value=!1,T.value=!1,k.value++,y("delete:success",V.value)}catch(b){L.value=((u=(r=b.response)==null?void 0:r.data)==null?void 0:u.message)||b.message||a("keySets.errors.delete"),y("error",b)}finally{M.value=!1}}},W=e.ref(!1);e.watch(D,o=>{var r,u,b,C;if(Array.isArray((r=o==null?void 0:o.response)==null?void 0:r.data)&&(W.value=o.response.data.length>0),o.status===i.FetcherStatus.NoRecords?s.value=!0:s.value=!1,o.status===i.FetcherStatus.Error){w.value={title:a("keySets.errors.general")},(C=(b=(u=o.error)==null?void 0:u.response)==null?void 0:b.data)!=null&&C.message&&(w.value.message=o.error.response.data.message),y("error",o.error);return}w.value=null});const A=e.ref({ctaPath:n.config.createRoute,ctaText:void 0,message:`${a("keySets.list.empty_state.description")}${n.config.additionMessageForEmptyState?` ${n.config.additionMessageForEmptyState}`:""}`,title:a("keySets.title")});return e.onBeforeMount(async()=>{await n.canCreate()&&(A.value.title=a("keySets.list.empty_state.title"),A.value.ctaText=a("keySets.actions.create"))}),(o,r)=>{const u=e.resolveComponent("KButton"),b=e.resolveComponent("KCopy"),C=e.resolveComponent("KDropdownItem"),G=e.resolveComponent("KClipboardProvider");return e.openBlock(),e.createElementBlock("div",Y,[e.createVNode(e.unref(i.EntityBaseTable),{"cache-identifier":t.cacheIdentifier,"disable-sorting":R.value,"empty-state-options":A.value,"enable-entity-actions":"","error-message":w.value,fetcher:e.unref(P),"fetcher-cache-key":k.value,"hide-toollbar":s.value,"pagination-type":"offset","preferences-storage-key":"kong-ui-entities-key-sets-list",query:I.value,"table-headers":e.unref(l),onClearSearchInput:E,"onClick:row":r[1]||(r[1]=p=>se(p)),onSort:O},{"toolbar-filter":e.withCtx(()=>[e.createVNode(e.unref(i.EntityFilter),{modelValue:I.value,"onUpdate:modelValue":r[0]||(r[0]=p=>I.value=p),config:q.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.createVNode(e.unref(i.PermissionsWrapper),{"auth-function":()=>t.canCreate()},{default:e.withCtx(()=>[e.withDirectives(e.createVNode(u,{appearance:"primary","data-testid":"toolbar-add-key-set",size:t.useActionOutside?"medium":"large",to:t.config.createRoute},{default:e.withCtx(()=>[e.createVNode(e.unref(H.AddIcon)),e.createTextVNode(" "+e.toDisplayString(e.unref(a)("keySets.list.toolbar_actions.new_key_set")),1)]),_:1},8,["size","to"]),[[e.vShow,W.value]])]),_:1},8,["auth-function"])],8,["disabled"]))]),name:e.withCtx(({rowValue:p})=>[e.createElementVNode("b",null,e.toDisplayString(p??"-"),1)]),tags:e.withCtx(({rowValue:p})=>[e.createVNode(e.unref(i.TableTags),{tags:p},null,8,["tags"])]),id:e.withCtx(({rowValue:p})=>[e.createVNode(b,{text:p,truncate:""},null,8,["text"])]),actions:e.withCtx(({row:p})=>[e.createVNode(G,null,{default:e.withCtx(({copyToClipboard:F})=>[e.createVNode(C,{"data-testid":"action-entity-copy-id",onClick:pe=>c(p,F)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.copy_id")),1)]),_:2},1032,["onClick"])]),_:2},1024),e.createVNode(G,null,{default:e.withCtx(({copyToClipboard:F})=>[e.createVNode(C,{"data-testid":"action-entity-copy-json",onClick:pe=>d(p,F)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.copy_json")),1)]),_:2},1032,["onClick"])]),_:2},1024),e.createVNode(e.unref(i.PermissionsWrapper),{"auth-function":()=>t.canRetrieve(p)},{default:e.withCtx(()=>[e.createVNode(C,{"data-testid":"action-entity-view","has-divider":"",item:re(p.id)},null,8,["item"])]),_:2},1032,["auth-function"]),e.createVNode(e.unref(i.PermissionsWrapper),{"auth-function":()=>t.canEdit(p)},{default:e.withCtx(()=>[e.createVNode(C,{"data-testid":"action-entity-edit",item:ie(p.id)},null,8,["item"])]),_:2},1032,["auth-function"]),e.createVNode(e.unref(i.PermissionsWrapper),{"auth-function":()=>t.canDelete(p)},{default:e.withCtx(()=>[e.createVNode(C,{danger:"","data-testid":"action-entity-delete","has-divider":"",onClick:F=>ce(p)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("keySets.actions.delete")),1)]),_:2},1032,["onClick"])]),_:2},1032,["auth-function"])]),_:1},8,["cache-identifier","disable-sorting","empty-state-options","error-message","fetcher","fetcher-cache-key","hide-toollbar","query","table-headers"]),e.createVNode(e.unref(i.EntityDeleteModal),{"action-pending":M.value,description:e.unref(a)("keySets.delete.description"),"entity-name":V.value&&(V.value.name||V.value.id),"entity-type":e.unref(i.EntityTypes).KeySet,error:L.value,title:e.unref(a)("keySets.delete.title"),visible:T.value,onCancel:de,onProceed:fe},null,8,["action-pending","description","entity-name","entity-type","error","title","visible"])])}}}),J=(t,S)=>{const y=t.__vccOpts||t;for(const[n,a]of S)y[n]=a;return y},v=J(Z,[["__scopeId","data-v-4d6fc369"]]),ee={class:"kong-ui-entities-key-sets-form"},te=J(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 w;const y=S,n=t,a=j.useRouter(),{i18n:{t:m}}=$.useI18n(),{getMessageFromError:h}=i.useErrors(),{axiosInstance:k}=i.useAxios((w=n.config)==null?void 0:w.axiosRequestConfig),R=e.computed(()=>K.form[n.config.app].edit),x=e.computed(()=>n.keySetId?i.EntityBaseFormType.Edit:i.EntityBaseFormType.Create),l=e.reactive({fields:{name:"",tags:""},isReadonly:!1,errorMessage:""}),N=e.reactive({name:"",tags:""}),I=e.computed(()=>JSON.stringify(l.fields)!==JSON.stringify(N)&&!!l.fields.name),q=s=>{var c;l.fields.name=(s==null?void 0:s.name)||"",l.fields.tags=((c=s==null?void 0:s.tags)==null?void 0:c.join(", "))||"",Object.assign(N,l.fields)},P=()=>{a.push(n.config.cancelRoute)},D=e.computed(()=>{var c,d;let s=`${n.config.apiBaseUrl}${K.form[n.config.app][x.value]}`;return n.config.app==="konnect"?s=s.replace(/{controlPlaneId}/gi,((c=n.config)==null?void 0:c.controlPlaneId)||""):n.config.app==="kongManager"&&(s=s.replace(/\/{workspace}/gi,(d=n.config)!=null&&d.workspace?`/${n.config.workspace}`:"")),s=s.replace(/{id}/gi,n.keySetId),s}),E=e.computed(()=>{var s,c,d;return{name:l.fields.name,tags:((d=(c=(s=l.fields.tags)==null?void 0:s.split(","))==null?void 0:c.map(f=>String(f||"").trim()))==null?void 0:d.filter(f=>f!==""))||""}}),O=async()=>{var s,c;try{l.isReadonly=!0;let d;if(x.value==="create"?d=await k.post(D.value,E.value):x.value==="edit"&&(d=((s=n.config)==null?void 0:s.app)==="konnect"?await k.put(D.value,E.value):await k.patch(D.value,E.value)),d){const{data:f}=d;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(N,l.fields),y("update",d==null?void 0:d.data)}}catch(d){l.errorMessage=h(d),y("error",d)}finally{l.isReadonly=!1}};return(s,c)=>{const d=e.resolveComponent("KInput");return e.openBlock(),e.createElementBlock("div",ee,[e.createVNode(e.unref(i.EntityBaseForm),{"can-submit":I.value,config:t.config,"edit-id":t.keySetId,"entity-type":e.unref(i.SupportedEntityType).KeySet,"error-message":l.errorMessage,"fetch-url":R.value,"form-fields":E.value,"is-readonly":l.isReadonly,onCancel:P,"onFetch:error":c[2]||(c[2]=f=>s.$emit("error",f)),"onFetch:success":q,onLoading:c[3]||(c[3]=f=>s.$emit("loading",f)),onSubmit:O},{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(d,{modelValue:l.fields.name,"onUpdate:modelValue":c[0]||(c[0]=f=>l.fields.name=f),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(d,{modelValue:l.fields.tags,"onUpdate:modelValue":c[1]||(c[1]=f=>l.fields.tags=f),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-d1b94475"]]),oe={class:"kong-ui-entities-keys-entity-config-card"},ne=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:y}}=$.useI18n(),n=e.computed(()=>K.form[S.config.app].edit),a=e.ref({id:{},name:{},last_updated:{},created:{},tags:{tooltip:y("keySets.form.fields.tags.tooltip")}});return(m,h)=>(e.openBlock(),e.createElementBlock("div",oe,[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":n.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=ne,g.KeySetForm=te,g.KeySetList=v,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})});
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.config-card-fieldset[data-v-68ca83ec]{border:solid 1px #e0e4ea;border-radius:4px;margin-bottom:8px;margin-top:4px}.config-card-fieldset-title[data-v-68ca83ec]{font-size:14px;padding:0 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}.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-c96811e5] .k-button.navigation-button{font-size:14px;font-weight:400}.config-card-details-row[data-v-2fde1e51]{align-items:center;border-bottom:var(--445df5cd);display:var(--36146f00);padding:16px 16px 16px 0;width:100%}.config-card-details-row .config-card-details-label[data-v-2fde1e51]{width:var(--41377040)}.config-card-details-row .config-card-details-label label[data-v-2fde1e51]{color:#3a3f51}.config-card-details-row .config-card-details-value[data-v-2fde1e51]{width:var(--4132e48a)}.config-card-details-row .config-card-details-value .truncated[data-v-2fde1e51]{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-2fde1e51]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-2fde1e51] .k-copy:not(:last-of-type){margin-bottom:8px}.config-card-details-row .config-card-details-value .method-badge-array[data-v-2fde1e51]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-2fde1e51]{margin-right:4px}.config-card-details-row[data-v-2fde1e51] .k-label{margin-bottom:0}.config-card-details-row[data-v-2fde1e51] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-2fde1e51] .config-card-details-row{width:auto}.json-content.k-code-block{border-top-left-radius:0;border-top-right-radius:0}.json-endpoint{align-items:baseline;background-color:#000933;border-bottom:1px solid rgba(255,255,255,.2);border-top-left-radius:8px;border-top-right-radius:8px;display:flex;padding:8px 0 8px 12px}.json-endpoint .k-code-block{flex:auto;z-index:2}.json-endpoint .k-code-block .code-block-content{padding-bottom:0;padding-top:0}.json-endpoint .k-code-block .code-block-secondary-actions{margin-top:0!important}.json-endpoint code{direction:rtl;max-width:var(--454fa8c4);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.config-card-prop-section-title[data-v-d15be7fe]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card .config-card-actions[data-v-7ef5c755]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-7ef5c755]{margin-bottom:0;margin-right:8px}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-7ef5c755]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card[data-v-7ef5c755] .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .book-icon[data-v-7ef5c755]{margin-left:8px;padding:0}.kong-ui-entity-base-form[data-v-6210a67a]{box-sizing:border-box;max-width:1536px;width:100%}.kong-ui-entity-base-form .form-actions[data-v-6210a67a]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px}.kong-ui-entity-base-form .form-actions[data-v-6210a67a] .k-button:last-of-type,.kong-ui-entity-base-form .form-actions[data-v-6210a67a] .k-button:nth-last-of-type(2){margin-left:16px}.kong-ui-entity-base-form[data-v-6210a67a] .k-slideout-title{color:#000933!important;font-size:24px!important;font-weight:700!important;line-height:32px!important;margin-bottom:16px!important}.kong-ui-entity-base-form[data-v-6210a67a] .k-card.content-card{padding:0 16px!important}.kong-ui-entity-base-form[data-v-6210a67a] .tab-item>div.tab-link.has-panels{color:#6c7489!important;font-size:14px!important;font-weight:700!important;line-height:24px!important}.kong-ui-entity-base-form[data-v-6210a67a] .tab-item.active>div.tab-link.has-panels{color:#000933!important;font-weight:600!important}.content-wrapper[data-v-b252463e] .k-tooltip{word-break:break-all}.kong-ui-entity-base-table .toolbar-container[data-v-765e475b]{align-items:center;display:flex;width:100%}.kong-ui-entity-base-table .toolbar-button-container[data-v-765e475b]{margin-left:auto}.kong-ui-entity-base-table :deep(.k-table){table-layout:fixed}.kong-ui-entity-delete-modal .message[data-v-4361d622],.kong-ui-entity-delete-modal .description[data-v-4361d622]{line-height:24px;margin:0}.kong-ui-entity-delete-modal .message strong[data-v-4361d622]{font-weight:600}.kong-ui-entity-delete-modal .description[data-v-4361d622]{margin-top:32px}.kong-ui-entity-delete-error[data-v-4361d622]{margin-bottom:16px}.kong-ui-entity-filter-input[data-v-10fa27a5]{width:100%}.kong-ui-entity-filter-clear[data-v-10fa27a5]{cursor:pointer}.kong-ui-entity-filter[data-v-10fa27a5]{display:flex;position:relative}.kong-ui-entity-filter[data-v-10fa27a5] .menu-content{flex-direction:column}.kong-ui-entity-filter[data-v-10fa27a5] .k-menu-item-divider hr{margin:12px 0}.kong-ui-entity-filter-backdrop[data-v-10fa27a5]{bottom:0;left:0;position:fixed;right:0;top:0;z-index:1050}.kong-ui-entity-filter-menu[data-v-10fa27a5]{background-color:#fff;border:1px solid #afb7c5;border-radius:4px;box-shadow:0 4px 20px #e0e4ea;left:0;margin-top:16px;padding:8px 0 12px;position:absolute;top:100%;width:300px;z-index:1060}.kong-ui-entity-filter-menu-item[data-v-10fa27a5]{border-bottom:1px solid #e0e4ea;color:#6c7489;font-size:12px;font-weight:400;line-height:16px;list-style:none;margin:0 20px;padding:16px 0;position:relative;white-space:nowrap}.menu-item-title[data-v-10fa27a5]{align-items:center;cursor:pointer;display:flex;line-height:24px}.menu-item-title.expanded[data-v-10fa27a5]{color:#232633}.menu-item-expand-icon[data-v-10fa27a5]{margin-left:auto}.menu-item-expand-icon.expanded[data-v-10fa27a5]{transform:rotate(180deg)}.menu-item-indicator[data-v-10fa27a5]{background-color:#0044f4;border-radius:50%;height:4px;margin-left:4px;width:4px}.menu-item-body[data-v-10fa27a5]{align-items:center;display:flex;justify-content:space-between;margin-top:16px}.menu-item-body[data-v-10fa27a5] .input{padding-bottom:4px!important;padding-top:4px!important}.menu-item-body[data-v-10fa27a5] .k-input{width:100%}.menu-item-body[data-v-10fa27a5] .k-select-input .input{font-size:12px}.menu-item-body[data-v-10fa27a5] .k-select-input .input::placeholder{color:#00000073!important;font-size:12px}.menu-item-label[data-v-10fa27a5]{margin-bottom:0;margin-right:12px}.menu-item-buttons[data-v-10fa27a5]{display:flex;justify-content:space-between;margin:10px 0 6px}.filter-clear-button-container[data-v-10fa27a5]{padding:12px 20px 0}fieldset[data-v-b1f74200]{margin:0;min-width:0;padding:0}.kong-ui-entity-form-section[data-v-b1f74200]{border:0}.kong-ui-entity-form-section .form-section-wrapper[data-v-b1f74200]{column-gap:16px;display:flex;flex-direction:column;padding-bottom:64px;row-gap:12px;width:100%}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper[data-v-b1f74200]{flex-direction:row}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-b1f74200]{flex:1}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-b1f74200]{max-width:350px}.kong-ui-entity-form-section .form-section-wrapper .form-section-info.sticky[data-v-b1f74200]{height:fit-content;margin-bottom:16px;position:sticky;top:16px}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-title[data-v-b1f74200]{color:#000933;font-size:16px;font-weight:700;line-height:20px;margin-bottom:8px;margin-top:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-b1f74200],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description p[data-v-b1f74200],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-b1f74200] p{color:#000933;font-size: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-b1f74200]{margin-top:32px}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-b1f74200]{flex:1}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-b1f74200]>*:not(:first-child){margin-top:24px}.kong-ui-entity-form-section.has-divider .form-section-wrapper[data-v-b1f74200]{border-bottom:1px solid #e0e4ea}.kong-ui-public-entity-link[data-v-60e3ef7c]{align-items:center;display:flex}.kong-ui-public-entity-link .deleted-entity[data-v-60e3ef7c]{font-style:italic}.kong-ui-public-entity-link .entity-link[data-v-60e3ef7c]{display:flex}.kong-ui-public-entity-link .entity-link[data-v-60e3ef7c] .external-link-icon{color:#0044f4;margin-left:4px;padding:2px}.kong-ui-public-entity-link .entity-link-label[data-v-60e3ef7c]{display:inline-block;font-weight:400;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kong-ui-public-entity-link .copy-uuid-tooltip[data-v-60e3ef7c]{align-items:center;cursor:pointer;display:flex}.kong-ui-public-entity-link .copy-uuid-tooltip .entity-link-copy-id[data-v-60e3ef7c]{margin-left:2px}.kong-ui-entities-key-sets-list[data-v-
|
|
1
|
+
.config-card-fieldset[data-v-68ca83ec]{border:solid 1px #e0e4ea;border-radius:4px;margin-bottom:8px;margin-top:4px}.config-card-fieldset-title[data-v-68ca83ec]{font-size:14px;padding:0 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}.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-c96811e5] .k-button.navigation-button{font-size:14px;font-weight:400}.config-card-details-row[data-v-2fde1e51]{align-items:center;border-bottom:var(--445df5cd);display:var(--36146f00);padding:16px 16px 16px 0;width:100%}.config-card-details-row .config-card-details-label[data-v-2fde1e51]{width:var(--41377040)}.config-card-details-row .config-card-details-label label[data-v-2fde1e51]{color:#3a3f51}.config-card-details-row .config-card-details-value[data-v-2fde1e51]{width:var(--4132e48a)}.config-card-details-row .config-card-details-value .truncated[data-v-2fde1e51]{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-2fde1e51]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-2fde1e51] .k-copy:not(:last-of-type){margin-bottom:8px}.config-card-details-row .config-card-details-value .method-badge-array[data-v-2fde1e51]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-2fde1e51]{margin-right:4px}.config-card-details-row[data-v-2fde1e51] .k-label{margin-bottom:0}.config-card-details-row[data-v-2fde1e51] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-2fde1e51] .config-card-details-row{width:auto}.json-content.k-code-block{border-top-left-radius:0;border-top-right-radius:0}.json-endpoint{align-items:baseline;background-color:#000933;border-bottom:1px solid rgba(255,255,255,.2);border-top-left-radius:8px;border-top-right-radius:8px;display:flex;padding:8px 0 8px 12px}.json-endpoint .k-code-block{flex:auto;z-index:2}.json-endpoint .k-code-block .code-block-content{padding-bottom:0;padding-top:0}.json-endpoint .k-code-block .code-block-secondary-actions{margin-top:0!important}.json-endpoint code{direction:rtl;max-width:var(--454fa8c4);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.config-card-prop-section-title[data-v-d15be7fe]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card .config-card-actions[data-v-7ef5c755]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-7ef5c755]{margin-bottom:0;margin-right:8px}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-7ef5c755]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card[data-v-7ef5c755] .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .book-icon[data-v-7ef5c755]{margin-left:8px;padding:0}.kong-ui-entity-base-form[data-v-6210a67a]{box-sizing:border-box;max-width:1536px;width:100%}.kong-ui-entity-base-form .form-actions[data-v-6210a67a]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px}.kong-ui-entity-base-form .form-actions[data-v-6210a67a] .k-button:last-of-type,.kong-ui-entity-base-form .form-actions[data-v-6210a67a] .k-button:nth-last-of-type(2){margin-left:16px}.kong-ui-entity-base-form[data-v-6210a67a] .k-slideout-title{color:#000933!important;font-size:24px!important;font-weight:700!important;line-height:32px!important;margin-bottom:16px!important}.kong-ui-entity-base-form[data-v-6210a67a] .k-card.content-card{padding:0 16px!important}.kong-ui-entity-base-form[data-v-6210a67a] .tab-item>div.tab-link.has-panels{color:#6c7489!important;font-size:14px!important;font-weight:700!important;line-height:24px!important}.kong-ui-entity-base-form[data-v-6210a67a] .tab-item.active>div.tab-link.has-panels{color:#000933!important;font-weight:600!important}.content-wrapper[data-v-b252463e] .k-tooltip{word-break:break-all}.kong-ui-entity-base-table .toolbar-container[data-v-765e475b]{align-items:center;display:flex;width:100%}.kong-ui-entity-base-table .toolbar-button-container[data-v-765e475b]{margin-left:auto}.kong-ui-entity-base-table :deep(.k-table){table-layout:fixed}.kong-ui-entity-delete-modal .message[data-v-4361d622],.kong-ui-entity-delete-modal .description[data-v-4361d622]{line-height:24px;margin:0}.kong-ui-entity-delete-modal .message strong[data-v-4361d622]{font-weight:600}.kong-ui-entity-delete-modal .description[data-v-4361d622]{margin-top:32px}.kong-ui-entity-delete-error[data-v-4361d622]{margin-bottom:16px}.kong-ui-entity-filter-input[data-v-10fa27a5]{width:100%}.kong-ui-entity-filter-clear[data-v-10fa27a5]{cursor:pointer}.kong-ui-entity-filter[data-v-10fa27a5]{display:flex;position:relative}.kong-ui-entity-filter[data-v-10fa27a5] .menu-content{flex-direction:column}.kong-ui-entity-filter[data-v-10fa27a5] .k-menu-item-divider hr{margin:12px 0}.kong-ui-entity-filter-backdrop[data-v-10fa27a5]{bottom:0;left:0;position:fixed;right:0;top:0;z-index:1050}.kong-ui-entity-filter-menu[data-v-10fa27a5]{background-color:#fff;border:1px solid #afb7c5;border-radius:4px;box-shadow:0 4px 20px #e0e4ea;left:0;margin-top:16px;padding:8px 0 12px;position:absolute;top:100%;width:300px;z-index:1060}.kong-ui-entity-filter-menu-item[data-v-10fa27a5]{border-bottom:1px solid #e0e4ea;color:#6c7489;font-size:12px;font-weight:400;line-height:16px;list-style:none;margin:0 20px;padding:16px 0;position:relative;white-space:nowrap}.menu-item-title[data-v-10fa27a5]{align-items:center;cursor:pointer;display:flex;line-height:24px}.menu-item-title.expanded[data-v-10fa27a5]{color:#232633}.menu-item-expand-icon[data-v-10fa27a5]{margin-left:auto}.menu-item-expand-icon.expanded[data-v-10fa27a5]{transform:rotate(180deg)}.menu-item-indicator[data-v-10fa27a5]{background-color:#0044f4;border-radius:50%;height:4px;margin-left:4px;width:4px}.menu-item-body[data-v-10fa27a5]{align-items:center;display:flex;justify-content:space-between;margin-top:16px}.menu-item-body[data-v-10fa27a5] .input{padding-bottom:4px!important;padding-top:4px!important}.menu-item-body[data-v-10fa27a5] .k-input{width:100%}.menu-item-body[data-v-10fa27a5] .k-select-input .input{font-size:12px}.menu-item-body[data-v-10fa27a5] .k-select-input .input::placeholder{color:#00000073!important;font-size:12px}.menu-item-label[data-v-10fa27a5]{margin-bottom:0;margin-right:12px}.menu-item-buttons[data-v-10fa27a5]{display:flex;justify-content:space-between;margin:10px 0 6px}.filter-clear-button-container[data-v-10fa27a5]{padding:12px 20px 0}fieldset[data-v-b1f74200]{margin:0;min-width:0;padding:0}.kong-ui-entity-form-section[data-v-b1f74200]{border:0}.kong-ui-entity-form-section .form-section-wrapper[data-v-b1f74200]{column-gap:16px;display:flex;flex-direction:column;padding-bottom:64px;row-gap:12px;width:100%}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper[data-v-b1f74200]{flex-direction:row}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-b1f74200]{flex:1}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-b1f74200]{max-width:350px}.kong-ui-entity-form-section .form-section-wrapper .form-section-info.sticky[data-v-b1f74200]{height:fit-content;margin-bottom:16px;position:sticky;top:16px}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-title[data-v-b1f74200]{color:#000933;font-size:16px;font-weight:700;line-height:20px;margin-bottom:8px;margin-top:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-b1f74200],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description p[data-v-b1f74200],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-b1f74200] p{color:#000933;font-size: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-b1f74200]{margin-top:32px}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-b1f74200]{flex:1}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-b1f74200]>*:not(:first-child){margin-top:24px}.kong-ui-entity-form-section.has-divider .form-section-wrapper[data-v-b1f74200]{border-bottom:1px solid #e0e4ea}.kong-ui-public-entity-link[data-v-60e3ef7c]{align-items:center;display:flex}.kong-ui-public-entity-link .deleted-entity[data-v-60e3ef7c]{font-style:italic}.kong-ui-public-entity-link .entity-link[data-v-60e3ef7c]{display:flex}.kong-ui-public-entity-link .entity-link[data-v-60e3ef7c] .external-link-icon{color:#0044f4;margin-left:4px;padding:2px}.kong-ui-public-entity-link .entity-link-label[data-v-60e3ef7c]{display:inline-block;font-weight:400;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kong-ui-public-entity-link .copy-uuid-tooltip[data-v-60e3ef7c]{align-items:center;cursor:pointer;display:flex}.kong-ui-public-entity-link .copy-uuid-tooltip .entity-link-copy-id[data-v-60e3ef7c]{margin-left:2px}.kong-ui-entities-key-sets-list[data-v-4d6fc369]{width:100%}.kong-ui-entities-key-sets-list .kong-ui-entity-filter-input[data-v-4d6fc369]{margin-right:12px}.kong-ui-entities-key-sets-form[data-v-d1b94475]{width:100%}
|
|
@@ -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":"AAieA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAiBvC,OAAO,KAAK,EACV,2BAA2B,EAC3B,uBAAuB,EACvB,SAAS,EACT,gBAAgB,EACjB,MAAM,UAAU,CAAA;AASjB,OAAO,gDAAgD,CAAA;;IAqyBrD,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;;;AAhD7E,wBA0DG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kong-ui-public/entities-key-sets",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.44",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/entities-key-sets.umd.js",
|
|
6
6
|
"module": "./dist/entities-key-sets.es.js",
|
|
@@ -21,21 +21,21 @@
|
|
|
21
21
|
"access": "public"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@kong/icons": "^1.18.
|
|
25
|
-
"@kong/kongponents": "^9.14.
|
|
24
|
+
"@kong/icons": "^1.18.2",
|
|
25
|
+
"@kong/kongponents": "^9.14.8",
|
|
26
26
|
"axios": "^1.7.7",
|
|
27
27
|
"vue": ">= 3.3.13 < 4",
|
|
28
28
|
"vue-router": "^4.4.5",
|
|
29
|
-
"@kong-ui-public/entities-shared": "^3.10.
|
|
29
|
+
"@kong-ui-public/entities-shared": "^3.10.3",
|
|
30
30
|
"@kong-ui-public/i18n": "^2.2.7"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@kong/icons": "^1.18.
|
|
34
|
-
"@kong/kongponents": "9.14.
|
|
33
|
+
"@kong/icons": "^1.18.2",
|
|
34
|
+
"@kong/kongponents": "9.14.8",
|
|
35
35
|
"axios": "^1.7.7",
|
|
36
36
|
"vue": "^3.5.12",
|
|
37
37
|
"vue-router": "^4.4.5",
|
|
38
|
-
"@kong-ui-public/entities-shared": "^3.10.
|
|
38
|
+
"@kong-ui-public/entities-shared": "^3.10.3",
|
|
39
39
|
"@kong-ui-public/i18n": "^2.2.7"
|
|
40
40
|
},
|
|
41
41
|
"repository": {
|