@kong-ui-public/entities-consumer-credentials 1.1.64 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- import { defineComponent as re, ref as v, computed as A, watch as ne, renderSlot as W, createCommentVNode as H, unref as b, resolveComponent as U, openBlock as j, createBlock as z, withCtx as o, createVNode as m, createSlots as Ce, withDirectives as Ue, createElementVNode as Z, createElementBlock as J, vShow as Le, renderList as _e, createTextVNode as D, toDisplayString as I, onMounted as De, onUnmounted as Me, onBeforeMount as qe, Fragment as Be, withModifiers as Re } from "vue";
1
+ import { defineComponent as ae, ref as b, computed as I, watch as ne, renderSlot as z, createCommentVNode as H, unref as v, resolveComponent as U, openBlock as j, createBlock as W, withCtx as s, createVNode as m, createSlots as Ce, withDirectives as Ue, createElementVNode as Z, createElementBlock as J, vShow as Le, renderList as _e, createTextVNode as R, toDisplayString as N, onMounted as Re, onUnmounted as Be, onBeforeMount as Me, Fragment as qe, withModifiers as De } from "vue";
2
2
  import { createI18n as Se, i18nTComponent as Te } from "@kong-ui-public/i18n";
3
- import ze from "axios";
4
- import { ToastManager as We } from "@kong/kongponents";
3
+ import We from "axios";
4
+ import { ToastManager as ze } from "@kong/kongponents";
5
5
  import "vue-router";
6
6
  const He = {
7
7
  title: "Consumer Credentials",
@@ -163,10 +163,10 @@ const Ye = {
163
163
  kongManager: "/{workspace}/consumers/{consumerId}/{plugin}"
164
164
  }
165
165
  };
166
- var Ne = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e))(Ne || {}), Y = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Y || {});
167
- function se(e = {}) {
166
+ var Ae = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e))(Ae || {}), Y = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Y || {});
167
+ function oe(e = {}) {
168
168
  return {
169
- axiosInstance: ze.create({
169
+ axiosInstance: We.create({
170
170
  withCredentials: !0,
171
171
  timeout: 3e4,
172
172
  ...e
@@ -175,46 +175,46 @@ function se(e = {}) {
175
175
  }
176
176
  function Ze() {
177
177
  return {
178
- debounce: (e, a) => {
178
+ debounce: (e, r) => {
179
179
  let t;
180
- return (...r) => {
180
+ return (...a) => {
181
181
  clearTimeout(t), t = window == null ? void 0 : window.setTimeout(() => {
182
- e(...r);
183
- }, a);
182
+ e(...a);
183
+ }, r);
184
184
  };
185
185
  }
186
186
  };
187
187
  }
188
- const ie = "khcp-user-table-preferences", Qe = {
188
+ const ie = "khcp-user-table-preferences", Xe = {
189
189
  pageSize: 30,
190
190
  sortColumnKey: void 0,
191
191
  sortColumnOrder: void 0
192
192
  };
193
- function Xe() {
193
+ function Qe() {
194
194
  const e = (t) => {
195
195
  if (typeof t == "string")
196
196
  try {
197
197
  return JSON.parse(t);
198
- } catch (r) {
199
- console.error("useTablePreferences(tryParseJson)", r);
198
+ } catch (a) {
199
+ console.error("useTablePreferences(tryParseJson)", a);
200
200
  return;
201
201
  }
202
- }, a = () => {
202
+ }, r = () => {
203
203
  const t = e(localStorage.getItem(ie));
204
204
  return !t || !Object.keys(t).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(t));
205
205
  };
206
206
  return {
207
- setTablePreferences: (t, r) => {
207
+ setTablePreferences: (t, a) => {
208
208
  try {
209
- const n = a();
210
- n.set(t, r), localStorage.setItem(ie, JSON.stringify(Object.fromEntries(n.entries())));
209
+ const n = r();
210
+ n.set(t, a), localStorage.setItem(ie, JSON.stringify(Object.fromEntries(n.entries())));
211
211
  } catch (n) {
212
212
  console.error("useTablePreferences(setTablePreferences)", n);
213
213
  }
214
214
  },
215
215
  getTablePreferences: (t) => {
216
- const r = a();
217
- return (r == null ? void 0 : r.get(t)) || void 0 || Qe;
216
+ const a = r();
217
+ return (a == null ? void 0 : a.get(t)) || void 0 || Xe;
218
218
  },
219
219
  deleteAllTablePreferences: () => {
220
220
  localStorage.removeItem(ie);
@@ -231,7 +231,7 @@ const et = {
231
231
  }, tt = {
232
232
  message: "Are you sure you want to delete this {entityType}?",
233
233
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
234
- }, at = {
234
+ }, rt = {
235
235
  actions: {
236
236
  save: "Save",
237
237
  cancel: "Cancel",
@@ -240,7 +240,7 @@ const et = {
240
240
  errors: {
241
241
  edit: "The entity could not be edited at this time."
242
242
  }
243
- }, rt = {
243
+ }, at = {
244
244
  emptyState: {
245
245
  noSearchResultsTitle: "No results found",
246
246
  noSearchResultsMessage: "Please adjust the criteria and try again.",
@@ -294,10 +294,10 @@ const et = {
294
294
  fetch: "Could not fetch available items",
295
295
  invalid: "Please select a valid value"
296
296
  }
297
- }, ot = {
297
+ }, st = {
298
298
  unexpected: "An unexpected error has occurred",
299
299
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
300
- }, st = {
300
+ }, ot = {
301
301
  enable: {
302
302
  title: "Enable {entityType}",
303
303
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -311,13 +311,13 @@ const et = {
311
311
  }, ct = {
312
312
  global: et,
313
313
  deleteModal: tt,
314
- baseForm: at,
315
- baseTable: rt,
314
+ baseForm: rt,
315
+ baseTable: at,
316
316
  baseConfigCard: nt,
317
317
  filter: it,
318
318
  debouncedFilter: lt,
319
- errors: ot,
320
- toggleModal: st
319
+ errors: st,
320
+ toggleModal: ot
321
321
  };
322
322
  function ce() {
323
323
  const e = Se("en-us", ct);
@@ -327,13 +327,13 @@ function ce() {
327
327
  // Translation component <i18n-t>
328
328
  };
329
329
  }
330
- function Ie() {
331
- const e = (t, r) => (r == null ? void 0 : r[t]) ?? void 0, a = (t, r) => {
332
- if (t.length !== r.length)
330
+ function Ne() {
331
+ const e = (t, a) => (a == null ? void 0 : a[t]) ?? void 0, r = (t, a) => {
332
+ if (t.length !== a.length)
333
333
  return !1;
334
- const n = /* @__PURE__ */ new Set([...t, ...r]);
334
+ const n = /* @__PURE__ */ new Set([...t, ...a]);
335
335
  for (const i of n) {
336
- const l = t.filter((d) => d === i).length, c = r.filter((d) => d === i).length;
336
+ const l = t.filter((d) => d === i).length, c = a.filter((d) => d === i).length;
337
337
  if (l !== c)
338
338
  return !1;
339
339
  }
@@ -341,16 +341,16 @@ function Ie() {
341
341
  };
342
342
  return {
343
343
  getPropValue: e,
344
- objectsAreEqual: (t, r, n) => {
344
+ objectsAreEqual: (t, a, n) => {
345
345
  if (n) {
346
- if (Object.keys(t).length === Object.keys(r).length)
346
+ if (Object.keys(t).length === Object.keys(a).length)
347
347
  for (const i in t)
348
- if (Array.isArray(t[i]) && Array.isArray(r[i])) {
349
- if (a(t[i], r[i]))
348
+ if (Array.isArray(t[i]) && Array.isArray(a[i])) {
349
+ if (r(t[i], a[i]))
350
350
  continue;
351
351
  return !1;
352
352
  } else {
353
- if (t[i] === r[i])
353
+ if (t[i] === a[i])
354
354
  continue;
355
355
  return !1;
356
356
  }
@@ -359,63 +359,63 @@ function Ie() {
359
359
  return !0;
360
360
  }
361
361
  try {
362
- return JSON.stringify(t) === JSON.stringify(r);
362
+ return JSON.stringify(t) === JSON.stringify(a);
363
363
  } catch {
364
364
  return !1;
365
365
  }
366
366
  },
367
- sortAlpha: (t) => (r, n) => {
368
- let i = r[t] === void 0 || r[t] === null ? "" : r[t], l = n[t] === void 0 || n[t] === null ? "" : n[t];
369
- return Array.isArray(r[t]) && (i = r[t][0]), Array.isArray(n[t]) && (l = n[t][0]), i.localeCompare(l);
367
+ sortAlpha: (t) => (a, n) => {
368
+ let i = a[t] === void 0 || a[t] === null ? "" : a[t], l = n[t] === void 0 || n[t] === null ? "" : n[t];
369
+ return Array.isArray(a[t]) && (i = a[t][0]), Array.isArray(n[t]) && (l = n[t][0]), i.localeCompare(l);
370
370
  },
371
371
  isValidUuid: (t) => t ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(t) : !1
372
372
  };
373
373
  }
374
- function ut(e, a, t, r = {
374
+ function ut(e, r, t, a = {
375
375
  fetchedItemsKey: "data",
376
376
  searchKeys: ["id"]
377
377
  }) {
378
378
  t || (t = "100");
379
- const { axiosInstance: n } = se({
379
+ const { axiosInstance: n } = oe({
380
380
  headers: e.requestHeaders
381
- }), { i18n: { t: i } } = ce(), { debounce: l } = Ze(), c = l(async (s) => {
382
- await p(s);
383
- }, 200), d = v(!1), u = v(""), k = v(""), h = v([]), T = v([]), w = v(void 0), P = b(a);
381
+ }), { i18n: { t: i } } = ce(), { debounce: l } = Ze(), c = l(async (o) => {
382
+ await p(o);
383
+ }, 200), d = b(!1), u = b(""), k = b(""), h = b([]), T = b([]), w = b(void 0), P = v(r);
384
384
  let y = `${e.apiBaseUrl}${P}`;
385
385
  e.app === "konnect" ? y = y.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (y = y.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
386
- const { isValidUuid: N } = Ie(), F = async () => {
386
+ const { isValidUuid: A } = Ne(), F = async () => {
387
387
  try {
388
388
  d.value = !0;
389
- const { data: s } = await n.get(`${y}?size=${t}`);
390
- s != null && s.next || (w.value = r.fetchedItemsKey in s ? s[r.fetchedItemsKey] : []), T.value = r.fetchedItemsKey in s ? s[r.fetchedItemsKey] : [], h.value = T.value;
389
+ const { data: o } = await n.get(`${y}?size=${t}`);
390
+ o != null && o.next || (w.value = a.fetchedItemsKey in o ? o[a.fetchedItemsKey] : []), T.value = a.fetchedItemsKey in o ? o[a.fetchedItemsKey] : [], h.value = T.value;
391
391
  } catch {
392
392
  h.value = [], u.value = i("debouncedFilter.errors.fetch");
393
393
  } finally {
394
394
  d.value = !1;
395
395
  }
396
- }, Q = v(""), p = async (s) => {
397
- var M, V, X;
398
- if (Q.value !== s)
399
- if (Q.value = s || "", w.value === void 0)
396
+ }, X = b(""), p = async (o) => {
397
+ var B, V, Q;
398
+ if (X.value !== o)
399
+ if (X.value = o || "", w.value === void 0)
400
400
  try {
401
401
  if (d.value = !0, u.value = "", k.value = "", e.app === "konnect") {
402
402
  let x = y + "";
403
- s && (x += `/${s}`);
403
+ o && (x += `/${o}`);
404
404
  const { data: E } = await n.get(`${x}?size=${t}`);
405
- r.fetchedItemsKey in E ? h.value = E[r.fetchedItemsKey] : E != null && E.id ? h.value = [E] : h.value = [];
406
- } else if (s) {
405
+ a.fetchedItemsKey in E ? h.value = E[a.fetchedItemsKey] : E != null && E.id ? h.value = [E] : h.value = [];
406
+ } else if (o) {
407
407
  const x = [];
408
- N(s) && r.searchKeys.includes("id") ? x.push((async () => {
409
- const { data: _ } = await n.get(`${y}/${s}`);
410
- return [_[r.fetchedItemsKey] ?? _];
408
+ A(o) && a.searchKeys.includes("id") ? x.push((async () => {
409
+ const { data: _ } = await n.get(`${y}/${o}`);
410
+ return [_[a.fetchedItemsKey] ?? _];
411
411
  })()) : x.push(
412
- ...r.searchKeys.filter((_) => _ !== "id").map(async (_) => {
413
- const { data: O } = await n.get(`${y}?${_}=${s}`);
414
- return O[r.fetchedItemsKey];
412
+ ...a.searchKeys.filter((_) => _ !== "id").map(async (_) => {
413
+ const { data: O } = await n.get(`${y}?${_}=${o}`);
414
+ return O[a.fetchedItemsKey];
415
415
  })
416
416
  );
417
417
  const E = await Promise.all(x), $ = /* @__PURE__ */ new Set();
418
- h.value = [], (M = E == null ? void 0 : E.forEach) == null || M.call(E, (_) => {
418
+ h.value = [], (B = E == null ? void 0 : E.forEach) == null || B.call(E, (_) => {
419
419
  var O;
420
420
  (O = _ == null ? void 0 : _.forEach) == null || O.call(_, (f) => {
421
421
  $.has(f.id) || ($.add(f.id), h.value.push(f));
@@ -429,12 +429,12 @@ function ut(e, a, t, r = {
429
429
  d.value = !1;
430
430
  }
431
431
  else
432
- d.value = !0, k.value = "", s ? (h.value = (X = w.value) == null ? void 0 : X.filter((x) => {
432
+ d.value = !0, k.value = "", o ? (h.value = (Q = w.value) == null ? void 0 : Q.filter((x) => {
433
433
  var E;
434
434
  let $ = !1;
435
- for (const _ of r.searchKeys) {
435
+ for (const _ of a.searchKeys) {
436
436
  const O = typeof x[_] == "string" ? (E = x[_]) == null ? void 0 : E.toLowerCase() : x[_];
437
- O != null && O.includes(s.toLowerCase()) && ($ = !0);
437
+ O != null && O.includes(o.toLowerCase()) && ($ = !0);
438
438
  }
439
439
  return $;
440
440
  }), (!h.value || !h.value.length) && (k.value = i("debouncedFilter.errors.invalid"))) : h.value = w.value, d.value = !1;
@@ -449,56 +449,56 @@ function ut(e, a, t, r = {
449
449
  debouncedQueryChange: c
450
450
  };
451
451
  }
452
- function dt(e, a) {
453
- const t = b(a), r = A(
452
+ function dt(e, r) {
453
+ const t = v(r), a = I(
454
454
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
455
455
  );
456
- return r.value.search = "", (n) => `${r.value.href}/${n}`;
456
+ return a.value.search = "", (n) => `${a.value.href}/${n}`;
457
457
  }
458
458
  function pt() {
459
459
  const { i18n: { t: e } } = ce();
460
460
  return {
461
- getMessageFromError: (a) => {
462
- var t, r, n;
463
- if (!a)
461
+ getMessageFromError: (r) => {
462
+ var t, a, n;
463
+ if (!r)
464
464
  return e("errors.unexpected");
465
- if ((t = a == null ? void 0 : a.response) != null && t.data) {
466
- if (a.response.data.detail)
467
- return a.response.data.detail;
468
- if ((r = a.response.data.details) != null && r.length)
469
- return a.response.data.details.map((i) => {
465
+ if ((t = r == null ? void 0 : r.response) != null && t.data) {
466
+ if (r.response.data.detail)
467
+ return r.response.data.detail;
468
+ if ((a = r.response.data.details) != null && a.length)
469
+ return r.response.data.details.map((i) => {
470
470
  let l = e("errors.unexpected");
471
471
  return i.messages && typeof i.messages == "object" && i.messages.length && (l = i.messages.join(", ")), i.field ? `${i.field} - ${l}` : l;
472
472
  }).join("; ");
473
- if (a.response.data.message) {
474
- const { message: i } = a.response.data;
473
+ if (r.response.data.message) {
474
+ const { message: i } = r.response.data;
475
475
  return Array.isArray(i) ? (n = i[0]) != null && n.constraints ? Object.values(i[0].constraints)[0] : i[0] : i;
476
476
  }
477
- if (typeof a.response.data == "string")
478
- return a.response.data;
479
- if (typeof a.response.data == "object")
480
- return Object.keys(a.response.data).map((i) => `${i} ${a.response.data[i]}`).join(", ");
477
+ if (typeof r.response.data == "string")
478
+ return r.response.data;
479
+ if (typeof r.response.data == "object")
480
+ return Object.keys(r.response.data).map((i) => `${i} ${r.response.data[i]}`).join(", ");
481
481
  }
482
- return a.message || e("errors.unexpected");
482
+ return r.message || e("errors.unexpected");
483
483
  }
484
484
  };
485
485
  }
486
486
  function ft(e) {
487
- const a = window.location.origin, t = a.endsWith("/") ? a : `${a}/`;
487
+ const r = window.location.origin, t = r.endsWith("/") ? r : `${r}/`;
488
488
  try {
489
- const r = e.join("/"), n = `${t}${r}`, i = e.some((l) => l.trim() === "");
489
+ const a = e.join("/"), n = `${t}${a}`, i = e.some((l) => l.trim() === "");
490
490
  if (!/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g.test(n) && !i && new URL(n))
491
- return `${t}${r}`;
491
+ return `${t}${a}`;
492
492
  throw new Error("Invalid url");
493
- } catch (r) {
494
- return console.warn("Failed to build valid URL:", r), "";
493
+ } catch (a) {
494
+ return console.warn("Failed to build valid URL:", a), "";
495
495
  }
496
496
  }
497
- function Ae(e, a) {
498
- const t = v(b(e)), r = v(b(a)), n = A(
497
+ function Ie(e, r) {
498
+ const t = b(v(e)), a = b(v(r)), n = I(
499
499
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
500
- ), i = A(
501
- () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
500
+ ), i = I(
501
+ () => a.value.startsWith("/") ? new URL(`${window.location.origin}${a.value}`) : new URL(a.value)
502
502
  );
503
503
  return (l) => {
504
504
  const { page: c, pageSize: d, offset: u, sortColumnKey: k, sortColumnOrder: h, query: T } = l;
@@ -508,14 +508,14 @@ function Ae(e, a) {
508
508
  w.searchParams.append(y, P);
509
509
  }), k && w.searchParams.append("sort_by", k), h === "desc" && w.searchParams.append("sort_desc", "1"), w.searchParams.append("size", String(d))), u && c !== 1 && w.searchParams.append("offset", String(u)), w.href;
510
510
  } catch (w) {
511
- return console.error("RouteList(fetcher)", w), r.value;
511
+ return console.error("RouteList(fetcher)", w), a.value;
512
512
  }
513
513
  };
514
514
  }
515
- function yt(e, a, t = "data") {
516
- const r = b(a), { axiosInstance: n } = se({
515
+ function yt(e, r, t = "data") {
516
+ const a = v(r), { axiosInstance: n } = oe({
517
517
  headers: e.requestHeaders
518
- }), i = Ae(e, r), l = v({
518
+ }), i = Ie(e, a), l = b({
519
519
  status: Y.Idle
520
520
  });
521
521
  return { fetcher: async (c) => {
@@ -555,41 +555,41 @@ function yt(e, a, t = "data") {
555
555
  }, fetcherState: l };
556
556
  }
557
557
  function ht() {
558
- const e = (t, r = "_") => t ? t.split(r).map((n) => n.toLowerCase() === "id" ? n.toUpperCase() : n.charAt(0).toUpperCase() + n.substring(1)).join(" ") : "", a = /(?:^|[\s-:'"])\w/g;
558
+ const e = (t, a = "_") => t ? t.split(a).map((n) => n.toLowerCase() === "id" ? n.toUpperCase() : n.charAt(0).toUpperCase() + n.substring(1)).join(" ") : "", r = /(?:^|[\s-:'"])\w/g;
559
559
  return {
560
- capitalize: (t) => t ? t.replace(a, (r) => r.toUpperCase()) : "",
560
+ capitalize: (t) => t ? t.replace(r, (a) => a.toUpperCase()) : "",
561
561
  convertKeyToTitle: e
562
562
  };
563
563
  }
564
564
  const xe = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, ye = (e) => {
565
565
  if (typeof e != "string")
566
566
  throw new TypeError("Invalid argument expected string");
567
- const a = e.match(xe);
568
- if (!a)
567
+ const r = e.match(xe);
568
+ if (!r)
569
569
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
570
- return a.shift(), a;
570
+ return r.shift(), r;
571
571
  }, he = (e) => e === "*" || e === "x" || e === "X", ge = (e) => {
572
- const a = parseInt(e, 10);
573
- return isNaN(a) ? e : a;
574
- }, gt = (e, a) => typeof e != typeof a ? [String(e), String(a)] : [e, a], mt = (e, a) => {
575
- if (he(e) || he(a))
572
+ const r = parseInt(e, 10);
573
+ return isNaN(r) ? e : r;
574
+ }, gt = (e, r) => typeof e != typeof r ? [String(e), String(r)] : [e, r], mt = (e, r) => {
575
+ if (he(e) || he(r))
576
576
  return 0;
577
- const [t, r] = gt(ge(e), ge(a));
578
- return t > r ? 1 : t < r ? -1 : 0;
579
- }, me = (e, a) => {
580
- for (let t = 0; t < Math.max(e.length, a.length); t++) {
581
- const r = mt(e[t] || "0", a[t] || "0");
582
- if (r !== 0)
583
- return r;
577
+ const [t, a] = gt(ge(e), ge(r));
578
+ return t > a ? 1 : t < a ? -1 : 0;
579
+ }, me = (e, r) => {
580
+ for (let t = 0; t < Math.max(e.length, r.length); t++) {
581
+ const a = mt(e[t] || "0", r[t] || "0");
582
+ if (a !== 0)
583
+ return a;
584
584
  }
585
585
  return 0;
586
- }, bt = (e, a) => {
587
- const t = ye(e), r = ye(a), n = t.pop(), i = r.pop(), l = me(t, r);
586
+ }, vt = (e, r) => {
587
+ const t = ye(e), a = ye(r), n = t.pop(), i = a.pop(), l = me(t, a);
588
588
  return l !== 0 ? l : n && i ? me(n.split("."), i.split(".")) : n || i ? n ? -1 : 1 : 0;
589
- }, be = (e, a, t) => {
590
- vt(t);
591
- const r = bt(e, a);
592
- return Ee[t].includes(r);
589
+ }, ve = (e, r, t) => {
590
+ bt(t);
591
+ const a = vt(e, r);
592
+ return Ee[t].includes(a);
593
593
  }, Ee = {
594
594
  ">": [1],
595
595
  ">=": [0, 1],
@@ -597,96 +597,96 @@ const xe = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
597
597
  "<=": [-1, 0],
598
598
  "<": [-1],
599
599
  "!=": [-1, 1]
600
- }, ve = Object.keys(Ee), vt = (e) => {
600
+ }, be = Object.keys(Ee), bt = (e) => {
601
601
  if (typeof e != "string")
602
602
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
603
- if (ve.indexOf(e) === -1)
604
- throw new Error(`Invalid operator, expected one of ${ve.join("|")}`);
603
+ if (be.indexOf(e) === -1)
604
+ throw new Error(`Invalid operator, expected one of ${be.join("|")}`);
605
605
  }, wt = (e) => typeof e == "string" && /^[v\d]/.test(e) && xe.test(e);
606
606
  function kt(e) {
607
- const { gatewayInfo: a, supportedRange: t } = e;
608
- if (!a)
607
+ const { gatewayInfo: r, supportedRange: t } = e;
608
+ if (!r)
609
609
  return !0;
610
- const { edition: r, version: n } = a;
610
+ const { edition: a, version: n } = r;
611
611
  if (!wt(n))
612
612
  return console.error("Invalid version"), !1;
613
- const i = t[r];
613
+ const i = t[a];
614
614
  if (!i)
615
615
  return !1;
616
616
  const [l, c] = i;
617
- return !(l && be(n, l, "<") || c && be(n, c, ">"));
617
+ return !(l && ve(n, l, "<") || c && ve(n, c, ">"));
618
618
  }
619
619
  function Ct(e) {
620
- const a = v(0), t = v(0), r = v(!1);
620
+ const r = b(0), t = b(0), a = b(!1);
621
621
  return ne(e, (n) => {
622
- n && !r.value && (a.value = n.offsetWidth, t.value = n.scrollWidth, r.value = !0);
622
+ n && !a.value && (r.value = n.offsetWidth, t.value = n.scrollWidth, a.value = !0);
623
623
  }), {
624
- isTruncated: A(() => a.value < t.value)
624
+ isTruncated: I(() => r.value < t.value)
625
625
  };
626
626
  }
627
- const _t = new We();
627
+ const _t = new ze();
628
628
  function St() {
629
629
  return {
630
630
  notify: async (e) => {
631
- const a = {
631
+ const r = {
632
632
  appearance: "success",
633
633
  message: "Success",
634
634
  timeoutMilliseconds: 3e3
635
635
  };
636
636
  _t.open({
637
- ...a,
637
+ ...r,
638
638
  ...e
639
639
  });
640
640
  }
641
641
  };
642
642
  }
643
643
  const ue = {
644
- useAxios: se,
644
+ useAxios: oe,
645
645
  useDebouncedFilter: ut,
646
646
  useDeleteUrlBuilder: dt,
647
647
  useErrors: pt,
648
648
  useExternalLinkCreator: ft,
649
649
  useFetcher: yt,
650
- useFetchUrlBuilder: Ae,
651
- useHelpers: Ie,
650
+ useFetchUrlBuilder: Ie,
651
+ useHelpers: Ne,
652
652
  useStringHelpers: ht,
653
653
  useI18n: ce,
654
654
  useGatewayFeatureSupported: kt,
655
655
  useTruncationDetector: Ct,
656
656
  useToaster: St
657
- }, de = (e, a) => {
657
+ }, de = (e, r) => {
658
658
  const t = e.__vccOpts || e;
659
- for (const [r, n] of a)
660
- t[r] = n;
659
+ for (const [a, n] of r)
660
+ t[a] = n;
661
661
  return t;
662
662
  }, Tt = "#3a3f51";
663
663
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
664
664
  function Oe(e) {
665
665
  return typeof e > "u" || e === null;
666
666
  }
667
- function Nt(e) {
667
+ function At(e) {
668
668
  return typeof e == "object" && e !== null;
669
669
  }
670
- function It(e) {
670
+ function Nt(e) {
671
671
  return Array.isArray(e) ? e : Oe(e) ? [] : [e];
672
672
  }
673
- function At(e, a) {
674
- var t, r, n, i;
675
- if (a)
676
- for (i = Object.keys(a), t = 0, r = i.length; t < r; t += 1)
677
- n = i[t], e[n] = a[n];
673
+ function It(e, r) {
674
+ var t, a, n, i;
675
+ if (r)
676
+ for (i = Object.keys(r), t = 0, a = i.length; t < a; t += 1)
677
+ n = i[t], e[n] = r[n];
678
678
  return e;
679
679
  }
680
- function xt(e, a) {
681
- var t = "", r;
682
- for (r = 0; r < a; r += 1)
680
+ function xt(e, r) {
681
+ var t = "", a;
682
+ for (a = 0; a < r; a += 1)
683
683
  t += e;
684
684
  return t;
685
685
  }
686
686
  function Et(e) {
687
687
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
688
688
  }
689
- var Ot = Oe, jt = Nt, Kt = It, $t = xt, Pt = Et, Ft = At, pe = {
689
+ var Ot = Oe, jt = At, Kt = Nt, $t = xt, Pt = Et, Ft = It, pe = {
690
690
  isNothing: Ot,
691
691
  isObject: jt,
692
692
  toArray: Kt,
@@ -694,21 +694,21 @@ var Ot = Oe, jt = Nt, Kt = It, $t = xt, Pt = Et, Ft = At, pe = {
694
694
  isNegativeZero: Pt,
695
695
  extend: Ft
696
696
  };
697
- function je(e, a) {
698
- var t = "", r = e.reason || "(unknown reason)";
699
- return e.mark ? (e.mark.name && (t += 'in "' + e.mark.name + '" '), t += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !a && e.mark.snippet && (t += `
697
+ function je(e, r) {
698
+ var t = "", a = e.reason || "(unknown reason)";
699
+ return e.mark ? (e.mark.name && (t += 'in "' + e.mark.name + '" '), t += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !r && e.mark.snippet && (t += `
700
700
 
701
- ` + e.mark.snippet), r + " " + t) : r;
701
+ ` + e.mark.snippet), a + " " + t) : a;
702
702
  }
703
- function ae(e, a) {
704
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = a, this.message = je(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
703
+ function re(e, r) {
704
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = r, this.message = je(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
705
705
  }
706
- ae.prototype = Object.create(Error.prototype);
707
- ae.prototype.constructor = ae;
708
- ae.prototype.toString = function(e) {
706
+ re.prototype = Object.create(Error.prototype);
707
+ re.prototype.constructor = re;
708
+ re.prototype.toString = function(e) {
709
709
  return this.name + ": " + je(this, e);
710
710
  };
711
- var G = ae, Ut = [
711
+ var G = re, Ut = [
712
712
  "kind",
713
713
  "multi",
714
714
  "resolve",
@@ -724,36 +724,36 @@ var G = ae, Ut = [
724
724
  "sequence",
725
725
  "mapping"
726
726
  ];
727
- function Dt(e) {
728
- var a = {};
727
+ function Rt(e) {
728
+ var r = {};
729
729
  return e !== null && Object.keys(e).forEach(function(t) {
730
- e[t].forEach(function(r) {
731
- a[String(r)] = t;
730
+ e[t].forEach(function(a) {
731
+ r[String(a)] = t;
732
732
  });
733
- }), a;
733
+ }), r;
734
734
  }
735
- function Mt(e, a) {
736
- if (a = a || {}, Object.keys(a).forEach(function(t) {
735
+ function Bt(e, r) {
736
+ if (r = r || {}, Object.keys(r).forEach(function(t) {
737
737
  if (Ut.indexOf(t) === -1)
738
738
  throw new G('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
739
- }), this.options = a, this.tag = e, this.kind = a.kind || null, this.resolve = a.resolve || function() {
739
+ }), this.options = r, this.tag = e, this.kind = r.kind || null, this.resolve = r.resolve || function() {
740
740
  return !0;
741
- }, this.construct = a.construct || function(t) {
741
+ }, this.construct = r.construct || function(t) {
742
742
  return t;
743
- }, this.instanceOf = a.instanceOf || null, this.predicate = a.predicate || null, this.represent = a.represent || null, this.representName = a.representName || null, this.defaultStyle = a.defaultStyle || null, this.multi = a.multi || !1, this.styleAliases = Dt(a.styleAliases || null), Lt.indexOf(this.kind) === -1)
743
+ }, this.instanceOf = r.instanceOf || null, this.predicate = r.predicate || null, this.represent = r.represent || null, this.representName = r.representName || null, this.defaultStyle = r.defaultStyle || null, this.multi = r.multi || !1, this.styleAliases = Rt(r.styleAliases || null), Lt.indexOf(this.kind) === -1)
744
744
  throw new G('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
745
745
  }
746
- var K = Mt;
747
- function we(e, a) {
746
+ var K = Bt;
747
+ function we(e, r) {
748
748
  var t = [];
749
- return e[a].forEach(function(r) {
749
+ return e[r].forEach(function(a) {
750
750
  var n = t.length;
751
751
  t.forEach(function(i, l) {
752
- i.tag === r.tag && i.kind === r.kind && i.multi === r.multi && (n = l);
753
- }), t[n] = r;
752
+ i.tag === a.tag && i.kind === a.kind && i.multi === a.multi && (n = l);
753
+ }), t[n] = a;
754
754
  }), t;
755
755
  }
756
- function qt() {
756
+ function Mt() {
757
757
  var e = {
758
758
  scalar: {},
759
759
  sequence: {},
@@ -765,28 +765,28 @@ function qt() {
765
765
  mapping: [],
766
766
  fallback: []
767
767
  }
768
- }, a, t;
769
- function r(n) {
768
+ }, r, t;
769
+ function a(n) {
770
770
  n.multi ? (e.multi[n.kind].push(n), e.multi.fallback.push(n)) : e[n.kind][n.tag] = e.fallback[n.tag] = n;
771
771
  }
772
- for (a = 0, t = arguments.length; a < t; a += 1)
773
- arguments[a].forEach(r);
772
+ for (r = 0, t = arguments.length; r < t; r += 1)
773
+ arguments[r].forEach(a);
774
774
  return e;
775
775
  }
776
- function oe(e) {
776
+ function se(e) {
777
777
  return this.extend(e);
778
778
  }
779
- oe.prototype.extend = function(e) {
780
- var a = [], t = [];
779
+ se.prototype.extend = function(e) {
780
+ var r = [], t = [];
781
781
  if (e instanceof K)
782
782
  t.push(e);
783
783
  else if (Array.isArray(e))
784
784
  t = t.concat(e);
785
785
  else if (e && (Array.isArray(e.implicit) || Array.isArray(e.explicit)))
786
- e.implicit && (a = a.concat(e.implicit)), e.explicit && (t = t.concat(e.explicit));
786
+ e.implicit && (r = r.concat(e.implicit)), e.explicit && (t = t.concat(e.explicit));
787
787
  else
788
788
  throw new G("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
789
- a.forEach(function(n) {
789
+ r.forEach(function(n) {
790
790
  if (!(n instanceof K))
791
791
  throw new G("Specified list of YAML types (or a single Type object) contains a non-Type object.");
792
792
  if (n.loadKind && n.loadKind !== "scalar")
@@ -797,36 +797,36 @@ oe.prototype.extend = function(e) {
797
797
  if (!(n instanceof K))
798
798
  throw new G("Specified list of YAML types (or a single Type object) contains a non-Type object.");
799
799
  });
800
- var r = Object.create(oe.prototype);
801
- return r.implicit = (this.implicit || []).concat(a), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = we(r, "implicit"), r.compiledExplicit = we(r, "explicit"), r.compiledTypeMap = qt(r.compiledImplicit, r.compiledExplicit), r;
800
+ var a = Object.create(se.prototype);
801
+ return a.implicit = (this.implicit || []).concat(r), a.explicit = (this.explicit || []).concat(t), a.compiledImplicit = we(a, "implicit"), a.compiledExplicit = we(a, "explicit"), a.compiledTypeMap = Mt(a.compiledImplicit, a.compiledExplicit), a;
802
802
  };
803
- var Bt = oe, Rt = new K("tag:yaml.org,2002:str", {
803
+ var qt = se, Dt = new K("tag:yaml.org,2002:str", {
804
804
  kind: "scalar",
805
805
  construct: function(e) {
806
806
  return e !== null ? e : "";
807
807
  }
808
- }), zt = new K("tag:yaml.org,2002:seq", {
808
+ }), Wt = new K("tag:yaml.org,2002:seq", {
809
809
  kind: "sequence",
810
810
  construct: function(e) {
811
811
  return e !== null ? e : [];
812
812
  }
813
- }), Wt = new K("tag:yaml.org,2002:map", {
813
+ }), zt = new K("tag:yaml.org,2002:map", {
814
814
  kind: "mapping",
815
815
  construct: function(e) {
816
816
  return e !== null ? e : {};
817
817
  }
818
- }), Ht = new Bt({
818
+ }), Ht = new qt({
819
819
  explicit: [
820
- Rt,
821
- zt,
822
- Wt
820
+ Dt,
821
+ Wt,
822
+ zt
823
823
  ]
824
824
  });
825
825
  function Jt(e) {
826
826
  if (e === null)
827
827
  return !0;
828
- var a = e.length;
829
- return a === 1 && e === "~" || a === 4 && (e === "null" || e === "Null" || e === "NULL");
828
+ var r = e.length;
829
+ return r === 1 && e === "~" || r === 4 && (e === "null" || e === "Null" || e === "NULL");
830
830
  }
831
831
  function Vt() {
832
832
  return null;
@@ -861,20 +861,20 @@ var Gt = new K("tag:yaml.org,2002:null", {
861
861
  function Zt(e) {
862
862
  if (e === null)
863
863
  return !1;
864
- var a = e.length;
865
- return a === 4 && (e === "true" || e === "True" || e === "TRUE") || a === 5 && (e === "false" || e === "False" || e === "FALSE");
864
+ var r = e.length;
865
+ return r === 4 && (e === "true" || e === "True" || e === "TRUE") || r === 5 && (e === "false" || e === "False" || e === "FALSE");
866
866
  }
867
- function Qt(e) {
867
+ function Xt(e) {
868
868
  return e === "true" || e === "True" || e === "TRUE";
869
869
  }
870
- function Xt(e) {
870
+ function Qt(e) {
871
871
  return Object.prototype.toString.call(e) === "[object Boolean]";
872
872
  }
873
- var ea = new K("tag:yaml.org,2002:bool", {
873
+ var er = new K("tag:yaml.org,2002:bool", {
874
874
  kind: "scalar",
875
875
  resolve: Zt,
876
- construct: Qt,
877
- predicate: Xt,
876
+ construct: Xt,
877
+ predicate: Qt,
878
878
  represent: {
879
879
  lowercase: function(e) {
880
880
  return e ? "true" : "false";
@@ -888,84 +888,84 @@ var ea = new K("tag:yaml.org,2002:bool", {
888
888
  },
889
889
  defaultStyle: "lowercase"
890
890
  });
891
- function ta(e) {
891
+ function tr(e) {
892
892
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
893
893
  }
894
- function aa(e) {
894
+ function rr(e) {
895
895
  return 48 <= e && e <= 55;
896
896
  }
897
- function ra(e) {
897
+ function ar(e) {
898
898
  return 48 <= e && e <= 57;
899
899
  }
900
- function na(e) {
900
+ function nr(e) {
901
901
  if (e === null)
902
902
  return !1;
903
- var a = e.length, t = 0, r = !1, n;
904
- if (!a)
903
+ var r = e.length, t = 0, a = !1, n;
904
+ if (!r)
905
905
  return !1;
906
906
  if (n = e[t], (n === "-" || n === "+") && (n = e[++t]), n === "0") {
907
- if (t + 1 === a)
907
+ if (t + 1 === r)
908
908
  return !0;
909
909
  if (n = e[++t], n === "b") {
910
- for (t++; t < a; t++)
910
+ for (t++; t < r; t++)
911
911
  if (n = e[t], n !== "_") {
912
912
  if (n !== "0" && n !== "1")
913
913
  return !1;
914
- r = !0;
914
+ a = !0;
915
915
  }
916
- return r && n !== "_";
916
+ return a && n !== "_";
917
917
  }
918
918
  if (n === "x") {
919
- for (t++; t < a; t++)
919
+ for (t++; t < r; t++)
920
920
  if (n = e[t], n !== "_") {
921
- if (!ta(e.charCodeAt(t)))
921
+ if (!tr(e.charCodeAt(t)))
922
922
  return !1;
923
- r = !0;
923
+ a = !0;
924
924
  }
925
- return r && n !== "_";
925
+ return a && n !== "_";
926
926
  }
927
927
  if (n === "o") {
928
- for (t++; t < a; t++)
928
+ for (t++; t < r; t++)
929
929
  if (n = e[t], n !== "_") {
930
- if (!aa(e.charCodeAt(t)))
930
+ if (!rr(e.charCodeAt(t)))
931
931
  return !1;
932
- r = !0;
932
+ a = !0;
933
933
  }
934
- return r && n !== "_";
934
+ return a && n !== "_";
935
935
  }
936
936
  }
937
937
  if (n === "_")
938
938
  return !1;
939
- for (; t < a; t++)
939
+ for (; t < r; t++)
940
940
  if (n = e[t], n !== "_") {
941
- if (!ra(e.charCodeAt(t)))
941
+ if (!ar(e.charCodeAt(t)))
942
942
  return !1;
943
- r = !0;
943
+ a = !0;
944
944
  }
945
- return !(!r || n === "_");
945
+ return !(!a || n === "_");
946
946
  }
947
- function ia(e) {
948
- var a = e, t = 1, r;
949
- if (a.indexOf("_") !== -1 && (a = a.replace(/_/g, "")), r = a[0], (r === "-" || r === "+") && (r === "-" && (t = -1), a = a.slice(1), r = a[0]), a === "0")
947
+ function ir(e) {
948
+ var r = e, t = 1, a;
949
+ if (r.indexOf("_") !== -1 && (r = r.replace(/_/g, "")), a = r[0], (a === "-" || a === "+") && (a === "-" && (t = -1), r = r.slice(1), a = r[0]), r === "0")
950
950
  return 0;
951
- if (r === "0") {
952
- if (a[1] === "b")
953
- return t * parseInt(a.slice(2), 2);
954
- if (a[1] === "x")
955
- return t * parseInt(a.slice(2), 16);
956
- if (a[1] === "o")
957
- return t * parseInt(a.slice(2), 8);
951
+ if (a === "0") {
952
+ if (r[1] === "b")
953
+ return t * parseInt(r.slice(2), 2);
954
+ if (r[1] === "x")
955
+ return t * parseInt(r.slice(2), 16);
956
+ if (r[1] === "o")
957
+ return t * parseInt(r.slice(2), 8);
958
958
  }
959
- return t * parseInt(a, 10);
959
+ return t * parseInt(r, 10);
960
960
  }
961
- function la(e) {
961
+ function lr(e) {
962
962
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !pe.isNegativeZero(e);
963
963
  }
964
- var oa = new K("tag:yaml.org,2002:int", {
964
+ var sr = new K("tag:yaml.org,2002:int", {
965
965
  kind: "scalar",
966
- resolve: na,
967
- construct: ia,
968
- predicate: la,
966
+ resolve: nr,
967
+ construct: ir,
968
+ predicate: lr,
969
969
  represent: {
970
970
  binary: function(e) {
971
971
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -988,24 +988,24 @@ var oa = new K("tag:yaml.org,2002:int", {
988
988
  decimal: [10, "dec"],
989
989
  hexadecimal: [16, "hex"]
990
990
  }
991
- }), sa = new RegExp(
991
+ }), or = new RegExp(
992
992
  // 2.5e4, 2.5 and integers
993
993
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
994
994
  );
995
- function ca(e) {
996
- return !(e === null || !sa.test(e) || // Quick hack to not allow integers end with `_`
995
+ function cr(e) {
996
+ return !(e === null || !or.test(e) || // Quick hack to not allow integers end with `_`
997
997
  // Probably should update regexp & check speed
998
998
  e[e.length - 1] === "_");
999
999
  }
1000
- function ua(e) {
1001
- var a, t;
1002
- return a = e.replace(/_/g, "").toLowerCase(), t = a[0] === "-" ? -1 : 1, "+-".indexOf(a[0]) >= 0 && (a = a.slice(1)), a === ".inf" ? t === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : a === ".nan" ? NaN : t * parseFloat(a, 10);
1000
+ function ur(e) {
1001
+ var r, t;
1002
+ return r = e.replace(/_/g, "").toLowerCase(), t = r[0] === "-" ? -1 : 1, "+-".indexOf(r[0]) >= 0 && (r = r.slice(1)), r === ".inf" ? t === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : r === ".nan" ? NaN : t * parseFloat(r, 10);
1003
1003
  }
1004
- var da = /^[-+]?[0-9]+e/;
1005
- function pa(e, a) {
1004
+ var dr = /^[-+]?[0-9]+e/;
1005
+ function pr(e, r) {
1006
1006
  var t;
1007
1007
  if (isNaN(e))
1008
- switch (a) {
1008
+ switch (r) {
1009
1009
  case "lowercase":
1010
1010
  return ".nan";
1011
1011
  case "uppercase":
@@ -1014,7 +1014,7 @@ function pa(e, a) {
1014
1014
  return ".NaN";
1015
1015
  }
1016
1016
  else if (Number.POSITIVE_INFINITY === e)
1017
- switch (a) {
1017
+ switch (r) {
1018
1018
  case "lowercase":
1019
1019
  return ".inf";
1020
1020
  case "uppercase":
@@ -1023,7 +1023,7 @@ function pa(e, a) {
1023
1023
  return ".Inf";
1024
1024
  }
1025
1025
  else if (Number.NEGATIVE_INFINITY === e)
1026
- switch (a) {
1026
+ switch (r) {
1027
1027
  case "lowercase":
1028
1028
  return "-.inf";
1029
1029
  case "uppercase":
@@ -1033,192 +1033,192 @@ function pa(e, a) {
1033
1033
  }
1034
1034
  else if (pe.isNegativeZero(e))
1035
1035
  return "-0.0";
1036
- return t = e.toString(10), da.test(t) ? t.replace("e", ".e") : t;
1036
+ return t = e.toString(10), dr.test(t) ? t.replace("e", ".e") : t;
1037
1037
  }
1038
- function fa(e) {
1038
+ function fr(e) {
1039
1039
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || pe.isNegativeZero(e));
1040
1040
  }
1041
- var ya = new K("tag:yaml.org,2002:float", {
1041
+ var yr = new K("tag:yaml.org,2002:float", {
1042
1042
  kind: "scalar",
1043
- resolve: ca,
1044
- construct: ua,
1045
- predicate: fa,
1046
- represent: pa,
1043
+ resolve: cr,
1044
+ construct: ur,
1045
+ predicate: fr,
1046
+ represent: pr,
1047
1047
  defaultStyle: "lowercase"
1048
- }), ha = Ht.extend({
1048
+ }), hr = Ht.extend({
1049
1049
  implicit: [
1050
1050
  Gt,
1051
- ea,
1052
- oa,
1053
- ya
1051
+ er,
1052
+ sr,
1053
+ yr
1054
1054
  ]
1055
- }), ga = ha, Ke = new RegExp(
1055
+ }), gr = hr, Ke = new RegExp(
1056
1056
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1057
1057
  ), $e = new RegExp(
1058
1058
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
1059
1059
  );
1060
- function ma(e) {
1060
+ function mr(e) {
1061
1061
  return e === null ? !1 : Ke.exec(e) !== null || $e.exec(e) !== null;
1062
1062
  }
1063
- function ba(e) {
1064
- var a, t, r, n, i, l, c, d = 0, u = null, k, h, T;
1065
- if (a = Ke.exec(e), a === null && (a = $e.exec(e)), a === null)
1063
+ function vr(e) {
1064
+ var r, t, a, n, i, l, c, d = 0, u = null, k, h, T;
1065
+ if (r = Ke.exec(e), r === null && (r = $e.exec(e)), r === null)
1066
1066
  throw new Error("Date resolve error");
1067
- if (t = +a[1], r = +a[2] - 1, n = +a[3], !a[4])
1068
- return new Date(Date.UTC(t, r, n));
1069
- if (i = +a[4], l = +a[5], c = +a[6], a[7]) {
1070
- for (d = a[7].slice(0, 3); d.length < 3; )
1067
+ if (t = +r[1], a = +r[2] - 1, n = +r[3], !r[4])
1068
+ return new Date(Date.UTC(t, a, n));
1069
+ if (i = +r[4], l = +r[5], c = +r[6], r[7]) {
1070
+ for (d = r[7].slice(0, 3); d.length < 3; )
1071
1071
  d += "0";
1072
1072
  d = +d;
1073
1073
  }
1074
- return a[9] && (k = +a[10], h = +(a[11] || 0), u = (k * 60 + h) * 6e4, a[9] === "-" && (u = -u)), T = new Date(Date.UTC(t, r, n, i, l, c, d)), u && T.setTime(T.getTime() - u), T;
1074
+ return r[9] && (k = +r[10], h = +(r[11] || 0), u = (k * 60 + h) * 6e4, r[9] === "-" && (u = -u)), T = new Date(Date.UTC(t, a, n, i, l, c, d)), u && T.setTime(T.getTime() - u), T;
1075
1075
  }
1076
- function va(e) {
1076
+ function br(e) {
1077
1077
  return e.toISOString();
1078
1078
  }
1079
- var wa = new K("tag:yaml.org,2002:timestamp", {
1079
+ var wr = new K("tag:yaml.org,2002:timestamp", {
1080
1080
  kind: "scalar",
1081
- resolve: ma,
1082
- construct: ba,
1081
+ resolve: mr,
1082
+ construct: vr,
1083
1083
  instanceOf: Date,
1084
- represent: va
1084
+ represent: br
1085
1085
  });
1086
- function ka(e) {
1086
+ function kr(e) {
1087
1087
  return e === "<<" || e === null;
1088
1088
  }
1089
- var Ca = new K("tag:yaml.org,2002:merge", {
1089
+ var Cr = new K("tag:yaml.org,2002:merge", {
1090
1090
  kind: "scalar",
1091
- resolve: ka
1091
+ resolve: kr
1092
1092
  }), fe = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1093
1093
  \r`;
1094
- function _a(e) {
1094
+ function _r(e) {
1095
1095
  if (e === null)
1096
1096
  return !1;
1097
- var a, t, r = 0, n = e.length, i = fe;
1097
+ var r, t, a = 0, n = e.length, i = fe;
1098
1098
  for (t = 0; t < n; t++)
1099
- if (a = i.indexOf(e.charAt(t)), !(a > 64)) {
1100
- if (a < 0)
1099
+ if (r = i.indexOf(e.charAt(t)), !(r > 64)) {
1100
+ if (r < 0)
1101
1101
  return !1;
1102
- r += 6;
1102
+ a += 6;
1103
1103
  }
1104
- return r % 8 === 0;
1104
+ return a % 8 === 0;
1105
1105
  }
1106
- function Sa(e) {
1107
- var a, t, r = e.replace(/[\r\n=]/g, ""), n = r.length, i = fe, l = 0, c = [];
1108
- for (a = 0; a < n; a++)
1109
- a % 4 === 0 && a && (c.push(l >> 16 & 255), c.push(l >> 8 & 255), c.push(l & 255)), l = l << 6 | i.indexOf(r.charAt(a));
1106
+ function Sr(e) {
1107
+ var r, t, a = e.replace(/[\r\n=]/g, ""), n = a.length, i = fe, l = 0, c = [];
1108
+ for (r = 0; r < n; r++)
1109
+ r % 4 === 0 && r && (c.push(l >> 16 & 255), c.push(l >> 8 & 255), c.push(l & 255)), l = l << 6 | i.indexOf(a.charAt(r));
1110
1110
  return t = n % 4 * 6, t === 0 ? (c.push(l >> 16 & 255), c.push(l >> 8 & 255), c.push(l & 255)) : t === 18 ? (c.push(l >> 10 & 255), c.push(l >> 2 & 255)) : t === 12 && c.push(l >> 4 & 255), new Uint8Array(c);
1111
1111
  }
1112
- function Ta(e) {
1113
- var a = "", t = 0, r, n, i = e.length, l = fe;
1114
- for (r = 0; r < i; r++)
1115
- r % 3 === 0 && r && (a += l[t >> 18 & 63], a += l[t >> 12 & 63], a += l[t >> 6 & 63], a += l[t & 63]), t = (t << 8) + e[r];
1116
- return n = i % 3, n === 0 ? (a += l[t >> 18 & 63], a += l[t >> 12 & 63], a += l[t >> 6 & 63], a += l[t & 63]) : n === 2 ? (a += l[t >> 10 & 63], a += l[t >> 4 & 63], a += l[t << 2 & 63], a += l[64]) : n === 1 && (a += l[t >> 2 & 63], a += l[t << 4 & 63], a += l[64], a += l[64]), a;
1112
+ function Tr(e) {
1113
+ var r = "", t = 0, a, n, i = e.length, l = fe;
1114
+ for (a = 0; a < i; a++)
1115
+ a % 3 === 0 && a && (r += l[t >> 18 & 63], r += l[t >> 12 & 63], r += l[t >> 6 & 63], r += l[t & 63]), t = (t << 8) + e[a];
1116
+ return n = i % 3, n === 0 ? (r += l[t >> 18 & 63], r += l[t >> 12 & 63], r += l[t >> 6 & 63], r += l[t & 63]) : n === 2 ? (r += l[t >> 10 & 63], r += l[t >> 4 & 63], r += l[t << 2 & 63], r += l[64]) : n === 1 && (r += l[t >> 2 & 63], r += l[t << 4 & 63], r += l[64], r += l[64]), r;
1117
1117
  }
1118
- function Na(e) {
1118
+ function Ar(e) {
1119
1119
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1120
1120
  }
1121
- var Ia = new K("tag:yaml.org,2002:binary", {
1121
+ var Nr = new K("tag:yaml.org,2002:binary", {
1122
1122
  kind: "scalar",
1123
- resolve: _a,
1124
- construct: Sa,
1125
- predicate: Na,
1126
- represent: Ta
1127
- }), Aa = Object.prototype.hasOwnProperty, xa = Object.prototype.toString;
1128
- function Ea(e) {
1123
+ resolve: _r,
1124
+ construct: Sr,
1125
+ predicate: Ar,
1126
+ represent: Tr
1127
+ }), Ir = Object.prototype.hasOwnProperty, xr = Object.prototype.toString;
1128
+ function Er(e) {
1129
1129
  if (e === null)
1130
1130
  return !0;
1131
- var a = [], t, r, n, i, l, c = e;
1132
- for (t = 0, r = c.length; t < r; t += 1) {
1133
- if (n = c[t], l = !1, xa.call(n) !== "[object Object]")
1131
+ var r = [], t, a, n, i, l, c = e;
1132
+ for (t = 0, a = c.length; t < a; t += 1) {
1133
+ if (n = c[t], l = !1, xr.call(n) !== "[object Object]")
1134
1134
  return !1;
1135
1135
  for (i in n)
1136
- if (Aa.call(n, i))
1136
+ if (Ir.call(n, i))
1137
1137
  if (!l)
1138
1138
  l = !0;
1139
1139
  else
1140
1140
  return !1;
1141
1141
  if (!l)
1142
1142
  return !1;
1143
- if (a.indexOf(i) === -1)
1144
- a.push(i);
1143
+ if (r.indexOf(i) === -1)
1144
+ r.push(i);
1145
1145
  else
1146
1146
  return !1;
1147
1147
  }
1148
1148
  return !0;
1149
1149
  }
1150
- function Oa(e) {
1150
+ function Or(e) {
1151
1151
  return e !== null ? e : [];
1152
1152
  }
1153
- var ja = new K("tag:yaml.org,2002:omap", {
1153
+ var jr = new K("tag:yaml.org,2002:omap", {
1154
1154
  kind: "sequence",
1155
- resolve: Ea,
1156
- construct: Oa
1157
- }), Ka = Object.prototype.toString;
1158
- function $a(e) {
1155
+ resolve: Er,
1156
+ construct: Or
1157
+ }), Kr = Object.prototype.toString;
1158
+ function $r(e) {
1159
1159
  if (e === null)
1160
1160
  return !0;
1161
- var a, t, r, n, i, l = e;
1162
- for (i = new Array(l.length), a = 0, t = l.length; a < t; a += 1) {
1163
- if (r = l[a], Ka.call(r) !== "[object Object]" || (n = Object.keys(r), n.length !== 1))
1161
+ var r, t, a, n, i, l = e;
1162
+ for (i = new Array(l.length), r = 0, t = l.length; r < t; r += 1) {
1163
+ if (a = l[r], Kr.call(a) !== "[object Object]" || (n = Object.keys(a), n.length !== 1))
1164
1164
  return !1;
1165
- i[a] = [n[0], r[n[0]]];
1165
+ i[r] = [n[0], a[n[0]]];
1166
1166
  }
1167
1167
  return !0;
1168
1168
  }
1169
- function Pa(e) {
1169
+ function Pr(e) {
1170
1170
  if (e === null)
1171
1171
  return [];
1172
- var a, t, r, n, i, l = e;
1173
- for (i = new Array(l.length), a = 0, t = l.length; a < t; a += 1)
1174
- r = l[a], n = Object.keys(r), i[a] = [n[0], r[n[0]]];
1172
+ var r, t, a, n, i, l = e;
1173
+ for (i = new Array(l.length), r = 0, t = l.length; r < t; r += 1)
1174
+ a = l[r], n = Object.keys(a), i[r] = [n[0], a[n[0]]];
1175
1175
  return i;
1176
1176
  }
1177
- var Fa = new K("tag:yaml.org,2002:pairs", {
1177
+ var Fr = new K("tag:yaml.org,2002:pairs", {
1178
1178
  kind: "sequence",
1179
- resolve: $a,
1180
- construct: Pa
1181
- }), Ua = Object.prototype.hasOwnProperty;
1182
- function La(e) {
1179
+ resolve: $r,
1180
+ construct: Pr
1181
+ }), Ur = Object.prototype.hasOwnProperty;
1182
+ function Lr(e) {
1183
1183
  if (e === null)
1184
1184
  return !0;
1185
- var a, t = e;
1186
- for (a in t)
1187
- if (Ua.call(t, a) && t[a] !== null)
1185
+ var r, t = e;
1186
+ for (r in t)
1187
+ if (Ur.call(t, r) && t[r] !== null)
1188
1188
  return !1;
1189
1189
  return !0;
1190
1190
  }
1191
- function Da(e) {
1191
+ function Rr(e) {
1192
1192
  return e !== null ? e : {};
1193
1193
  }
1194
- var Ma = new K("tag:yaml.org,2002:set", {
1194
+ var Br = new K("tag:yaml.org,2002:set", {
1195
1195
  kind: "mapping",
1196
- resolve: La,
1197
- construct: Da
1196
+ resolve: Lr,
1197
+ construct: Rr
1198
1198
  });
1199
- ga.extend({
1199
+ gr.extend({
1200
1200
  implicit: [
1201
- wa,
1202
- Ca
1201
+ wr,
1202
+ Cr
1203
1203
  ],
1204
1204
  explicit: [
1205
- Ia,
1206
- ja,
1207
- Fa,
1208
- Ma
1205
+ Nr,
1206
+ jr,
1207
+ Fr,
1208
+ Br
1209
1209
  ]
1210
1210
  });
1211
1211
  function ke(e) {
1212
1212
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1213
1213
  ` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "…" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
1214
1214
  }
1215
- var qa = new Array(256), Ba = new Array(256);
1215
+ var Mr = new Array(256), qr = new Array(256);
1216
1216
  for (var te = 0; te < 256; te++)
1217
- qa[te] = ke(te) ? 1 : 0, Ba[te] = ke(te);
1218
- const Ra = {
1217
+ Mr[te] = ke(te) ? 1 : 0, qr[te] = ke(te);
1218
+ const Dr = {
1219
1219
  key: 0,
1220
1220
  "data-testid": "first-col"
1221
- }, za = /* @__PURE__ */ re({
1221
+ }, Wr = /* @__PURE__ */ ae({
1222
1222
  __name: "EntityBaseTableCell",
1223
1223
  props: {
1224
1224
  keyName: {
@@ -1231,68 +1231,68 @@ const Ra = {
1231
1231
  }
1232
1232
  },
1233
1233
  setup(e) {
1234
- const a = e, t = A(() => {
1234
+ const r = e, t = I(() => {
1235
1235
  var y;
1236
- return ((y = a.rowEl) == null ? void 0 : y.querySelector(`[data-testid="${a.keyName}"]`)) || null;
1237
- }), r = A(() => {
1236
+ return ((y = r.rowEl) == null ? void 0 : y.querySelector(`[data-testid="${r.keyName}"]`)) || null;
1237
+ }), a = I(() => {
1238
1238
  var y;
1239
1239
  return ((y = t.value) == null ? void 0 : y.querySelector('[data-testid="first-col"]')) || null;
1240
- }), n = A(() => {
1241
- var y, N;
1242
- const F = (y = a.rowEl) == null ? void 0 : y.querySelectorAll("td");
1243
- return F ? ((N = F[0]) == null ? void 0 : N.getAttribute("data-testid")) === a.keyName : !1;
1240
+ }), n = I(() => {
1241
+ var y, A;
1242
+ const F = (y = r.rowEl) == null ? void 0 : y.querySelectorAll("td");
1243
+ return F ? ((A = F[0]) == null ? void 0 : A.getAttribute("data-testid")) === r.keyName : !1;
1244
1244
  });
1245
1245
  let i;
1246
1246
  const l = () => {
1247
1247
  i && (i.disconnect(), i = void 0);
1248
1248
  }, c = () => {
1249
- var y, N, F;
1250
- u.value = ((y = r.value) == null ? void 0 : y.getBoundingClientRect().width) || 0, k.value = ((N = t.value) == null ? void 0 : N.clientWidth) || 0, h.value = ((F = d.value) == null ? void 0 : F.innerText) || "";
1251
- }, d = v({}), u = v(0), k = v(0), h = v(""), T = A(() => [r.value, t.value]), w = ne(
1249
+ var y, A, F;
1250
+ u.value = ((y = a.value) == null ? void 0 : y.getBoundingClientRect().width) || 0, k.value = ((A = t.value) == null ? void 0 : A.clientWidth) || 0, h.value = ((F = d.value) == null ? void 0 : F.innerText) || "";
1251
+ }, d = b({}), u = b(0), k = b(0), h = b(""), T = I(() => [a.value, t.value]), w = ne(
1252
1252
  T,
1253
1253
  (y) => {
1254
1254
  if (n.value && (l(), "ResizeObserver" in window && window)) {
1255
- i = new ResizeObserver((N) => {
1255
+ i = new ResizeObserver((A) => {
1256
1256
  window.requestAnimationFrame(() => {
1257
- !Array.isArray(N) || !N.length || c();
1257
+ !Array.isArray(A) || !A.length || c();
1258
1258
  });
1259
1259
  });
1260
- for (const N of y)
1261
- N && i.observe(N);
1260
+ for (const A of y)
1261
+ A && i.observe(A);
1262
1262
  }
1263
1263
  },
1264
1264
  { immediate: !0, flush: "post", deep: !0 }
1265
- ), P = A(() => n.value ? u.value > k.value : !1);
1266
- return De(() => {
1265
+ ), P = I(() => n.value ? u.value > k.value : !1);
1266
+ return Re(() => {
1267
1267
  c();
1268
- }), Me(() => {
1268
+ }), Be(() => {
1269
1269
  w();
1270
- }), (y, N) => {
1270
+ }), (y, A) => {
1271
1271
  const F = U("KTooltip");
1272
1272
  return j(), J("span", {
1273
1273
  ref_key: "contentRef",
1274
1274
  ref: d,
1275
1275
  class: "content-wrapper"
1276
1276
  }, [
1277
- n.value ? (j(), J("span", Ra, [
1277
+ n.value ? (j(), J("span", Dr, [
1278
1278
  m(F, {
1279
1279
  label: P.value ? h.value : "",
1280
1280
  "max-width": "300",
1281
1281
  placement: "bottomStart"
1282
1282
  }, {
1283
- default: o(() => [
1284
- W(y.$slots, "default", {}, void 0, !0)
1283
+ default: s(() => [
1284
+ z(y.$slots, "default", {}, void 0, !0)
1285
1285
  ]),
1286
1286
  _: 3
1287
1287
  }, 8, ["label"])
1288
- ])) : W(y.$slots, "default", { key: 1 }, void 0, !0)
1288
+ ])) : z(y.$slots, "default", { key: 1 }, void 0, !0)
1289
1289
  ], 512);
1290
1290
  };
1291
1291
  }
1292
- }), Wa = /* @__PURE__ */ de(za, [["__scopeId", "data-v-e42a20c9"]]), Ha = { class: "toolbar-container" }, Ja = {
1292
+ }), zr = /* @__PURE__ */ de(Wr, [["__scopeId", "data-v-e42a20c9"]]), Hr = { class: "toolbar-container" }, Jr = {
1293
1293
  key: 0,
1294
1294
  class: "toolbar-button-container"
1295
- }, Va = ["data-testid"], Ya = /* @__PURE__ */ re({
1295
+ }, Vr = ["data-testid"], Yr = /* @__PURE__ */ ae({
1296
1296
  __name: "EntityBaseTable",
1297
1297
  props: {
1298
1298
  // table header configuration
@@ -1400,15 +1400,15 @@ const Ra = {
1400
1400
  }
1401
1401
  },
1402
1402
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
1403
- setup(e, { emit: a }) {
1404
- const t = e, { i18n: { t: r } } = ue.useI18n(), n = A(() => t.cacheIdentifier || t.preferencesStorageKey), i = (p) => p.hasData || !!t.query, l = A(() => {
1403
+ setup(e, { emit: r }) {
1404
+ const t = e, { i18n: { t: a } } = ue.useI18n(), n = I(() => t.cacheIdentifier || t.preferencesStorageKey), i = (p) => p.hasData || !!t.query, l = I(() => {
1405
1405
  const p = [];
1406
- return Object.keys(t.tableHeaders).forEach((s) => {
1407
- const M = t.tableHeaders[s];
1406
+ return Object.keys(t.tableHeaders).forEach((o) => {
1407
+ const B = t.tableHeaders[o];
1408
1408
  p.push({
1409
- label: M.label ?? s,
1410
- key: s,
1411
- sortable: M.sortable ?? !1
1409
+ label: B.label ?? o,
1410
+ key: o,
1411
+ sortable: B.sortable ?? !1
1412
1412
  });
1413
1413
  }), t.enableEntityActions && p.push({
1414
1414
  key: "actions",
@@ -1418,43 +1418,43 @@ const Ra = {
1418
1418
  "data-rowid": p.id,
1419
1419
  "data-testid": p.name,
1420
1420
  ...t.rowAttributes(p)
1421
- }), d = v({}), u = (p) => {
1422
- var s;
1423
- return (s = d.value) == null ? void 0 : s.$el.querySelector(`[data-rowid="${p.id}"]`);
1421
+ }), d = b({}), u = (p) => {
1422
+ var o;
1423
+ return (o = d.value) == null ? void 0 : o.$el.querySelector(`[data-rowid="${p.id}"]`);
1424
1424
  }, k = (p) => {
1425
- const s = {
1425
+ const o = {
1426
1426
  "data-testid": p.headerKey,
1427
1427
  ...t.cellAttributes(p)
1428
1428
  };
1429
- return p.colIndex === 0 && (s.style = {
1429
+ return p.colIndex === 0 && (o.style = {
1430
1430
  maxWidth: "250px",
1431
1431
  overflowX: "hidden",
1432
1432
  textOverflow: "ellipsis"
1433
- }), s;
1433
+ }), o;
1434
1434
  }, h = () => {
1435
- a("empty-state-cta-clicked"), T();
1435
+ r("empty-state-cta-clicked"), T();
1436
1436
  }, T = () => {
1437
- a("clear-search-input");
1438
- }, w = A(() => t.disableRowClick ? void 0 : (p, s) => {
1439
- a("click:row", s);
1437
+ r("clear-search-input");
1438
+ }, w = I(() => t.disableRowClick ? void 0 : (p, o) => {
1439
+ r("click:row", o);
1440
1440
  }), P = (p) => {
1441
- a("sort", p);
1442
- }, { setTablePreferences: y, getTablePreferences: N } = Xe(), F = A(() => {
1443
- const p = N(t.preferencesStorageKey);
1441
+ r("sort", p);
1442
+ }, { setTablePreferences: y, getTablePreferences: A } = Qe(), F = I(() => {
1443
+ const p = A(t.preferencesStorageKey);
1444
1444
  return {
1445
1445
  ...t.initialFetcherParams,
1446
1446
  ...p
1447
1447
  };
1448
- }), Q = (p) => {
1448
+ }), X = (p) => {
1449
1449
  t.preferencesStorageKey && y(t.preferencesStorageKey, p);
1450
1450
  };
1451
- return (p, s) => {
1452
- const M = U("KIcon"), V = U("KButton"), X = U("KDropdownMenu"), x = U("KTable"), E = U("KCard");
1453
- return j(), z(E, {
1451
+ return (p, o) => {
1452
+ const B = U("KIcon"), V = U("KButton"), Q = U("KDropdown"), x = U("KTable"), E = U("KCard");
1453
+ return j(), W(E, {
1454
1454
  class: "kong-ui-entity-base-table",
1455
1455
  title: e.title
1456
1456
  }, {
1457
- body: o(() => [
1457
+ body: s(() => [
1458
1458
  m(x, {
1459
1459
  ref_key: "tableRefs",
1460
1460
  ref: d,
@@ -1463,12 +1463,12 @@ const Ra = {
1463
1463
  "disable-pagination-page-jump": e.disablePaginationPageJump,
1464
1464
  "disable-sorting": e.disableSorting,
1465
1465
  "empty-state-action-button-icon": e.query ? "" : "plus",
1466
- "empty-state-action-message": e.query ? b(r)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
1466
+ "empty-state-action-message": e.query ? v(a)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
1467
1467
  "empty-state-action-route": e.query ? "" : e.emptyStateOptions.ctaPath,
1468
1468
  "empty-state-icon": e.query ? "stateNoSearchResults" : "stateGruceo",
1469
1469
  "empty-state-icon-size": "96",
1470
- "empty-state-message": e.query ? b(r)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
1471
- "empty-state-title": e.query ? b(r)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
1470
+ "empty-state-message": e.query ? v(a)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
1471
+ "empty-state-title": e.query ? v(a)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
1472
1472
  "enable-client-sort": e.enableClientSort,
1473
1473
  "error-state-title": e.errorMessage,
1474
1474
  fetcher: e.fetcher,
@@ -1483,44 +1483,44 @@ const Ra = {
1483
1483
  "search-input": e.query,
1484
1484
  onKtableEmptyStateCtaClicked: h,
1485
1485
  "onRow:click": w.value,
1486
- onSort: s[0] || (s[0] = ($) => P($)),
1487
- "onUpdate:tablePreferences": Q
1486
+ onSort: o[0] || (o[0] = ($) => P($)),
1487
+ "onUpdate:tablePreferences": X
1488
1488
  }, Ce({
1489
- toolbar: o(({ state: $ }) => [
1490
- Ue(Z("div", Ha, [
1491
- W(p.$slots, "toolbar-filter", {}, void 0, !0),
1492
- p.$slots["toolbar-button"] ? (j(), J("div", Ja, [
1493
- W(p.$slots, "toolbar-button", {}, void 0, !0)
1489
+ toolbar: s(({ state: $ }) => [
1490
+ Ue(Z("div", Hr, [
1491
+ z(p.$slots, "toolbar-filter", {}, void 0, !0),
1492
+ p.$slots["toolbar-button"] ? (j(), J("div", Jr, [
1493
+ z(p.$slots, "toolbar-button", {}, void 0, !0)
1494
1494
  ])) : H("", !0)
1495
1495
  ], 512), [
1496
1496
  [Le, i($)]
1497
1497
  ])
1498
1498
  ]),
1499
- actions: o(({ row: $, rowKey: _, rowValue: O }) => [
1499
+ actions: s(({ row: $, rowKey: _, rowValue: O }) => [
1500
1500
  Z("div", {
1501
1501
  class: "actions-container",
1502
1502
  "data-testid": $.name
1503
1503
  }, [
1504
- m(X, {
1504
+ m(Q, {
1505
1505
  "kpop-attributes": { placement: "bottomEnd" },
1506
1506
  width: e.dropdownMenuWidth
1507
1507
  }, {
1508
- items: o(() => [
1509
- W(p.$slots, "actions", {
1508
+ items: s(() => [
1509
+ z(p.$slots, "actions", {
1510
1510
  row: $,
1511
1511
  rowKey: _,
1512
1512
  rowValue: O
1513
1513
  }, void 0, !0)
1514
1514
  ]),
1515
- default: o(() => [
1515
+ default: s(() => [
1516
1516
  m(V, {
1517
1517
  class: "actions-trigger",
1518
1518
  "data-testid": "overflow-actions-button",
1519
1519
  size: "small"
1520
1520
  }, {
1521
- icon: o(() => [
1522
- m(M, {
1523
- color: b(Tt),
1521
+ icon: s(() => [
1522
+ m(B, {
1523
+ color: v(Tt),
1524
1524
  icon: "more",
1525
1525
  size: "16"
1526
1526
  }, null, 8, ["color"])
@@ -1530,24 +1530,24 @@ const Ra = {
1530
1530
  ]),
1531
1531
  _: 2
1532
1532
  }, 1032, ["width"])
1533
- ], 8, Va)
1533
+ ], 8, Vr)
1534
1534
  ]),
1535
1535
  _: 2
1536
1536
  }, [
1537
1537
  _e(e.tableHeaders, ($, _) => ({
1538
1538
  name: _,
1539
- fn: o(({ row: O, rowKey: f, rowValue: S }) => [
1540
- m(Wa, {
1539
+ fn: s(({ row: O, rowKey: f, rowValue: S }) => [
1540
+ m(zr, {
1541
1541
  "key-name": String(_),
1542
1542
  "row-el": u(O)
1543
1543
  }, {
1544
- default: o(() => [
1545
- W(p.$slots, _, {
1544
+ default: s(() => [
1545
+ z(p.$slots, _, {
1546
1546
  row: O,
1547
1547
  rowKey: f,
1548
1548
  rowValue: S
1549
1549
  }, () => [
1550
- D(I(S), 1)
1550
+ R(N(S), 1)
1551
1551
  ], !0)
1552
1552
  ]),
1553
1553
  _: 2
@@ -1560,13 +1560,13 @@ const Ra = {
1560
1560
  }, 8, ["title"]);
1561
1561
  };
1562
1562
  }
1563
- }), Ga = /* @__PURE__ */ de(Ya, [["__scopeId", "data-v-6bf92df6"]]), Za = {
1563
+ }), Gr = /* @__PURE__ */ de(Yr, [["__scopeId", "data-v-86d2d2a3"]]), Zr = {
1564
1564
  key: 0,
1565
1565
  class: "kong-ui-entity-delete-error"
1566
- }, Qa = {
1566
+ }, Xr = {
1567
1567
  key: 1,
1568
1568
  class: "description"
1569
- }, Xa = /* @__PURE__ */ re({
1569
+ }, Qr = /* @__PURE__ */ ae({
1570
1570
  __name: "EntityDeleteModal",
1571
1571
  props: {
1572
1572
  visible: {
@@ -1604,15 +1604,15 @@ const Ra = {
1604
1604
  }
1605
1605
  },
1606
1606
  emits: ["cancel", "proceed"],
1607
- setup(e, { emit: a }) {
1608
- const t = e, { i18nT: r } = ue.useI18n(), n = A(() => t.needConfirm ? t.entityName : ""), i = () => {
1609
- a("cancel");
1607
+ setup(e, { emit: r }) {
1608
+ const t = e, { i18nT: a } = ue.useI18n(), n = I(() => t.needConfirm ? t.entityName : ""), i = () => {
1609
+ r("cancel");
1610
1610
  }, l = () => {
1611
- a("proceed");
1611
+ r("proceed");
1612
1612
  };
1613
1613
  return (c, d) => {
1614
1614
  const u = U("KAlert"), k = U("KPrompt");
1615
- return j(), z(k, {
1615
+ return j(), W(k, {
1616
1616
  "action-button-text": "Yes, delete",
1617
1617
  "action-pending": e.actionPending,
1618
1618
  class: "kong-ui-entity-delete-modal",
@@ -1623,36 +1623,36 @@ const Ra = {
1623
1623
  onCanceled: i,
1624
1624
  onProceed: l
1625
1625
  }, {
1626
- "body-content": o(() => [
1627
- e.error ? (j(), J("div", Za, [
1626
+ "body-content": s(() => [
1627
+ e.error ? (j(), J("div", Zr, [
1628
1628
  m(u, { appearance: "danger" }, {
1629
- alertMessage: o(() => [
1630
- D(I(e.error), 1)
1629
+ alertMessage: s(() => [
1630
+ R(N(e.error), 1)
1631
1631
  ]),
1632
1632
  _: 1
1633
1633
  })
1634
1634
  ])) : H("", !0),
1635
- m(b(r), {
1635
+ m(v(a), {
1636
1636
  class: "message",
1637
1637
  keypath: t.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
1638
1638
  tag: "p"
1639
1639
  }, Ce({
1640
- entityType: o(() => [
1641
- D(I(t.entityType), 1)
1640
+ entityType: s(() => [
1641
+ R(N(t.entityType), 1)
1642
1642
  ]),
1643
1643
  _: 2
1644
1644
  }, [
1645
1645
  t.entityName ? {
1646
1646
  name: "entityName",
1647
- fn: o(() => [
1648
- Z("strong", null, I(t.entityName), 1)
1647
+ fn: s(() => [
1648
+ Z("strong", null, N(t.entityName), 1)
1649
1649
  ]),
1650
1650
  key: "0"
1651
1651
  } : void 0
1652
1652
  ]), 1032, ["keypath"]),
1653
- t.description || c.$slots.description ? (j(), J("div", Qa, [
1654
- W(c.$slots, "description", {}, () => [
1655
- Z("p", null, I(t.description), 1)
1653
+ t.description || c.$slots.description ? (j(), J("div", Xr, [
1654
+ z(c.$slots, "description", {}, () => [
1655
+ Z("p", null, N(t.description), 1)
1656
1656
  ], !0)
1657
1657
  ])) : H("", !0)
1658
1658
  ]),
@@ -1660,7 +1660,7 @@ const Ra = {
1660
1660
  }, 8, ["action-pending", "confirmation-text", "is-visible", "title"]);
1661
1661
  };
1662
1662
  }
1663
- }), er = /* @__PURE__ */ de(Xa, [["__scopeId", "data-v-1c9a2a07"]]), le = /* @__PURE__ */ re({
1663
+ }), ea = /* @__PURE__ */ de(Qr, [["__scopeId", "data-v-1c9a2a07"]]), le = /* @__PURE__ */ ae({
1664
1664
  __name: "PermissionsWrapper",
1665
1665
  props: {
1666
1666
  /**
@@ -1682,16 +1682,16 @@ const Ra = {
1682
1682
  }
1683
1683
  },
1684
1684
  setup(e) {
1685
- const a = e, t = v(void 0), r = A(() => t.value === !0 || t.value !== void 0 && a.forceShow === !0);
1686
- return ne(() => a.authFunction, async () => {
1687
- t.value = await a.authFunction();
1688
- }, { immediate: !0 }), (n, i) => r.value ? W(n.$slots, "default", {
1685
+ const r = e, t = b(void 0), a = I(() => t.value === !0 || t.value !== void 0 && r.forceShow === !0);
1686
+ return ne(() => r.authFunction, async () => {
1687
+ t.value = await r.authFunction();
1688
+ }, { immediate: !0 }), (n, i) => a.value ? z(n.$slots, "default", {
1689
1689
  key: 0,
1690
1690
  isAllowed: t.value
1691
1691
  }) : H("", !0);
1692
1692
  }
1693
- }), { useAxios: tr, useDeleteUrlBuilder: ar, useErrors: fr, useExternalLinkCreator: yr, useFetchUrlBuilder: hr, useFetcher: rr, useDebouncedFilter: gr, useStringHelpers: mr, useHelpers: br, useGatewayFeatureSupported: vr, useTruncationDetector: wr } = ue;
1694
- const nr = { class: "kong-ui-entities-consumer-credentials-list" }, ir = { key: 1 }, lr = /* @__PURE__ */ re({
1693
+ }), { useAxios: ta, useDeleteUrlBuilder: ra, useErrors: fa, useExternalLinkCreator: ya, useFetchUrlBuilder: ha, useFetcher: aa, useDebouncedFilter: ga, useStringHelpers: ma, useHelpers: va, useGatewayFeatureSupported: ba, useTruncationDetector: wa } = ue;
1694
+ const na = { class: "kong-ui-entities-consumer-credentials-list" }, ia = { key: 1 }, la = /* @__PURE__ */ ae({
1695
1695
  __name: "ConsumerCredentialList",
1696
1696
  props: {
1697
1697
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -1725,116 +1725,116 @@ const nr = { class: "kong-ui-entities-consumer-credentials-list" }, ir = { key:
1725
1725
  }
1726
1726
  },
1727
1727
  emits: ["error", "copy:success", "copy:error", "delete:success"],
1728
- setup(e, { emit: a }) {
1729
- const t = e, { i18n: { t: r, formatUnixTimeStamp: n } } = Ye.useI18n(), { axiosInstance: i } = tr({
1728
+ setup(e, { emit: r }) {
1729
+ const t = e, { i18n: { t: a, formatUnixTimeStamp: n } } = Ye.useI18n(), { axiosInstance: i } = ta({
1730
1730
  headers: t.config.requestHeaders
1731
- }), l = v(1), c = {
1731
+ }), l = b(1), c = {
1732
1732
  acls: {
1733
- group: { label: r("credentials.list.table_headers.acls.group") },
1734
- created_at: { label: r("credentials.list.table_headers.acls.created_at") },
1735
- tags: { label: r("credentials.list.table_headers.acls.tags") }
1733
+ group: { label: a("credentials.list.table_headers.acls.group") },
1734
+ created_at: { label: a("credentials.list.table_headers.acls.created_at") },
1735
+ tags: { label: a("credentials.list.table_headers.acls.tags") }
1736
1736
  },
1737
1737
  "basic-auth": {
1738
- password: { label: r("credentials.list.table_headers.basic-auth.password") },
1739
- username: { label: r("credentials.list.table_headers.basic-auth.username") },
1740
- created_at: { label: r("credentials.list.table_headers.basic-auth.created_at") },
1741
- tags: { label: r("credentials.list.table_headers.basic-auth.tags") }
1738
+ password: { label: a("credentials.list.table_headers.basic-auth.password") },
1739
+ username: { label: a("credentials.list.table_headers.basic-auth.username") },
1740
+ created_at: { label: a("credentials.list.table_headers.basic-auth.created_at") },
1741
+ tags: { label: a("credentials.list.table_headers.basic-auth.tags") }
1742
1742
  },
1743
1743
  "key-auth": {
1744
- key: { label: r("credentials.list.table_headers.key-auth.key") },
1745
- created_at: { label: r("credentials.list.table_headers.key-auth.created_at") },
1746
- tags: { label: r("credentials.list.table_headers.key-auth.tags") }
1744
+ key: { label: a("credentials.list.table_headers.key-auth.key") },
1745
+ created_at: { label: a("credentials.list.table_headers.key-auth.created_at") },
1746
+ tags: { label: a("credentials.list.table_headers.key-auth.tags") }
1747
1747
  },
1748
1748
  "key-auth-enc": {
1749
- key: { label: r("credentials.list.table_headers.key-auth-enc.key") },
1750
- created_at: { label: r("credentials.list.table_headers.key-auth-enc.created_at") },
1751
- tags: { label: r("credentials.list.table_headers.key-auth-enc.tags") }
1749
+ key: { label: a("credentials.list.table_headers.key-auth-enc.key") },
1750
+ created_at: { label: a("credentials.list.table_headers.key-auth-enc.created_at") },
1751
+ tags: { label: a("credentials.list.table_headers.key-auth-enc.tags") }
1752
1752
  },
1753
1753
  oauth2: {
1754
- name: { label: r("credentials.list.table_headers.oauth2.name") },
1755
- client_id: { label: r("credentials.list.table_headers.oauth2.client_id") },
1756
- client_secret: { label: r("credentials.list.table_headers.oauth2.client_secret") },
1757
- created_at: { label: r("credentials.list.table_headers.oauth2.created_at") },
1758
- tags: { label: r("credentials.list.table_headers.oauth2.tags") }
1754
+ name: { label: a("credentials.list.table_headers.oauth2.name") },
1755
+ client_id: { label: a("credentials.list.table_headers.oauth2.client_id") },
1756
+ client_secret: { label: a("credentials.list.table_headers.oauth2.client_secret") },
1757
+ created_at: { label: a("credentials.list.table_headers.oauth2.created_at") },
1758
+ tags: { label: a("credentials.list.table_headers.oauth2.tags") }
1759
1759
  },
1760
1760
  "hmac-auth": {
1761
- username: { label: r("credentials.list.table_headers.hmac-auth.username") },
1762
- secret: { label: r("credentials.list.table_headers.hmac-auth.secret") },
1763
- created_at: { label: r("credentials.list.table_headers.hmac-auth.created_at") },
1764
- tags: { label: r("credentials.list.table_headers.hmac-auth.tags") }
1761
+ username: { label: a("credentials.list.table_headers.hmac-auth.username") },
1762
+ secret: { label: a("credentials.list.table_headers.hmac-auth.secret") },
1763
+ created_at: { label: a("credentials.list.table_headers.hmac-auth.created_at") },
1764
+ tags: { label: a("credentials.list.table_headers.hmac-auth.tags") }
1765
1765
  },
1766
1766
  jwt: {
1767
- key: { label: r("credentials.list.table_headers.jwt.key") },
1768
- algorithm: { label: r("credentials.list.table_headers.jwt.algorithm") },
1769
- created_at: { label: r("credentials.list.table_headers.jwt.created_at") },
1770
- tags: { label: r("credentials.list.table_headers.jwt.tags") }
1767
+ key: { label: a("credentials.list.table_headers.jwt.key") },
1768
+ algorithm: { label: a("credentials.list.table_headers.jwt.algorithm") },
1769
+ created_at: { label: a("credentials.list.table_headers.jwt.created_at") },
1770
+ tags: { label: a("credentials.list.table_headers.jwt.tags") }
1771
1771
  }
1772
- }, d = A(() => c[t.config.plugin]), u = A(() => {
1772
+ }, d = I(() => c[t.config.plugin]), u = I(() => {
1773
1773
  let f = `${t.config.apiBaseUrl}${Ge.list[t.config.app]}`;
1774
1774
  return t.config.app === "konnect" ? f = f.replace(/{controlPlaneId}/gi, t.config.controlPlaneId || "").replace(/{consumerId}/gi, t.config.consumerId || "").replace(/{plugin}/gi, t.config.plugin || "") : t.config.app === "kongManager" && (f = f.replace(/\/{workspace}/gi, t.config.workspace ? `/${t.config.workspace}` : "").replace(/{consumerId}/gi, t.config.consumerId || "").replace(/{plugin}/gi, t.config.plugin || "")), f;
1775
- }), { fetcher: k, fetcherState: h } = rr(t.config, u), T = () => {
1775
+ }), { fetcher: k, fetcherState: h } = aa(t.config, u), T = () => {
1776
1776
  l.value++;
1777
- }, w = v(""), P = (f, S, B) => {
1778
- const q = S ? f[S] : JSON.stringify(f);
1779
- if (!B(q)) {
1777
+ }, w = b(""), P = (f, S, q) => {
1778
+ const M = S ? f[S] : JSON.stringify(f);
1779
+ if (!q(M)) {
1780
1780
  F(f, S);
1781
1781
  return;
1782
1782
  }
1783
- N(f, S);
1784
- }, y = (f, S, B) => {
1785
- const { type: q } = f;
1786
- q === "success" ? N(S, B) : F(S, B);
1787
- }, N = (f, S) => {
1788
- a("copy:success", {
1783
+ A(f, S);
1784
+ }, y = (f, S, q) => {
1785
+ const { type: M } = f;
1786
+ M === "success" ? A(S, q) : F(S, q);
1787
+ }, A = (f, S) => {
1788
+ r("copy:success", {
1789
1789
  entity: f,
1790
1790
  field: S,
1791
- message: S ? r("credentials.copy.success", { val: f[S] }) : r("credentials.copy.success_brief")
1791
+ message: S ? a("credentials.copy.success", { val: f[S] }) : a("credentials.copy.success_brief")
1792
1792
  });
1793
1793
  }, F = (f, S) => {
1794
- a("copy:error", {
1794
+ r("copy:error", {
1795
1795
  entity: f,
1796
1796
  field: S,
1797
- message: r("credentials.error.copy")
1797
+ message: a("credentials.error.copy")
1798
1798
  });
1799
- }, Q = (f) => ({
1800
- label: r("credentials.actions.edit"),
1799
+ }, X = (f) => ({
1800
+ label: a("credentials.actions.edit"),
1801
1801
  to: t.config.getEditRoute(f)
1802
- }), p = v(void 0), s = v(!1), M = v(!1), V = v(""), X = ar(t.config, u.value), x = A(() => Ne[t.config.plugin]), E = (f) => {
1803
- p.value = f, s.value = !0;
1802
+ }), p = b(void 0), o = b(!1), B = b(!1), V = b(""), Q = ra(t.config, u.value), x = I(() => Ae[t.config.plugin]), E = (f) => {
1803
+ p.value = f, o.value = !0;
1804
1804
  }, $ = () => {
1805
- s.value = !1;
1805
+ o.value = !1;
1806
1806
  }, _ = async () => {
1807
- var f, S, B;
1807
+ var f, S, q;
1808
1808
  if ((f = p.value) != null && f.id) {
1809
- M.value = !0;
1809
+ B.value = !0;
1810
1810
  try {
1811
- await i.delete(X(p.value.id)), M.value = !1, s.value = !1, l.value++, a("delete:success", p.value);
1812
- } catch (q) {
1813
- V.value = ((B = (S = q.response) == null ? void 0 : S.data) == null ? void 0 : B.message) || q.message || r("credentials.error.delete"), a("error", q);
1811
+ await i.delete(Q(p.value.id)), B.value = !1, o.value = !1, l.value++, r("delete:success", p.value);
1812
+ } catch (M) {
1813
+ V.value = ((q = (S = M.response) == null ? void 0 : S.data) == null ? void 0 : q.message) || M.message || a("credentials.error.delete"), r("error", M);
1814
1814
  } finally {
1815
- M.value = !1;
1815
+ B.value = !1;
1816
1816
  }
1817
1817
  }
1818
1818
  };
1819
1819
  ne(h, (f) => {
1820
1820
  if (f.status === Y.Error) {
1821
- w.value = r("credentials.error.general"), a("error", f.error);
1821
+ w.value = a("credentials.error.general"), r("error", f.error);
1822
1822
  return;
1823
1823
  }
1824
1824
  w.value = "";
1825
1825
  });
1826
- const O = v({
1826
+ const O = b({
1827
1827
  ctaPath: t.config.createRoute,
1828
1828
  ctaText: void 0,
1829
1829
  message: "",
1830
- title: r("credentials.title")
1830
+ title: a("credentials.title")
1831
1831
  });
1832
- return qe(async () => {
1833
- await t.canCreate() && (O.value.title = r(`credentials.list.empty_state.${t.config.plugin}.title`), O.value.ctaText = r(`credentials.list.empty_state.${t.config.plugin}.cta`));
1832
+ return Me(async () => {
1833
+ await t.canCreate() && (O.value.title = a(`credentials.list.empty_state.${t.config.plugin}.title`), O.value.ctaText = a(`credentials.list.empty_state.${t.config.plugin}.cta`));
1834
1834
  }), (f, S) => {
1835
- const B = U("KButton"), q = U("CopyUuid"), Pe = U("KBadge"), Fe = U("KTruncate"), R = U("KDropdownItem"), ee = U("KClipboardProvider");
1836
- return j(), J("div", nr, [
1837
- m(b(Ga), {
1835
+ const q = U("KButton"), M = U("CopyUuid"), Pe = U("KBadge"), Fe = U("KTruncate"), D = U("KDropdownItem"), ee = U("KClipboardProvider");
1836
+ return j(), J("div", na, [
1837
+ m(v(Gr), {
1838
1838
  "cache-identifier": e.cacheIdentifier,
1839
1839
  "disable-pagination-page-jump": "",
1840
1840
  "disable-row-click": "",
@@ -1842,26 +1842,26 @@ const nr = { class: "kong-ui-entities-consumer-credentials-list" }, ir = { key:
1842
1842
  "empty-state-options": O.value,
1843
1843
  "enable-entity-actions": "",
1844
1844
  "error-message": w.value,
1845
- fetcher: b(k),
1845
+ fetcher: v(k),
1846
1846
  "fetcher-cache-key": l.value,
1847
1847
  "pagination-type": "offset",
1848
1848
  "preferences-storage-key": "kong-ui-entities-consumer-credentials-list",
1849
1849
  "table-headers": d.value,
1850
1850
  onSort: T
1851
1851
  }, {
1852
- "toolbar-button": o(() => [
1853
- m(b(le), {
1852
+ "toolbar-button": s(() => [
1853
+ m(v(le), {
1854
1854
  "auth-function": () => e.canCreate()
1855
1855
  }, {
1856
- default: o(() => [
1857
- m(B, {
1856
+ default: s(() => [
1857
+ m(q, {
1858
1858
  appearance: "primary",
1859
1859
  "data-testid": "toolbar-add-credential",
1860
1860
  icon: "plus",
1861
1861
  to: e.config.createRoute
1862
1862
  }, {
1863
- default: o(() => [
1864
- D(I(b(r)(`credentials.list.toolbar_actions.${e.config.plugin}.new`)), 1)
1863
+ default: s(() => [
1864
+ R(N(v(a)(`credentials.list.toolbar_actions.${e.config.plugin}.new`)), 1)
1865
1865
  ]),
1866
1866
  _: 1
1867
1867
  }, 8, ["to"])
@@ -1869,128 +1869,128 @@ const nr = { class: "kong-ui-entities-consumer-credentials-list" }, ir = { key:
1869
1869
  _: 1
1870
1870
  }, 8, ["auth-function"])
1871
1871
  ]),
1872
- group: o(({ rowValue: g }) => [
1873
- Z("b", null, I(g ?? "-"), 1)
1872
+ group: s(({ rowValue: g }) => [
1873
+ Z("b", null, N(g ?? "-"), 1)
1874
1874
  ]),
1875
- name: o(({ rowValue: g }) => [
1876
- Z("b", null, I(g ?? "-"), 1)
1875
+ name: s(({ rowValue: g }) => [
1876
+ Z("b", null, N(g ?? "-"), 1)
1877
1877
  ]),
1878
- username: o(({ rowValue: g }) => [
1879
- Z("span", null, I(g ?? "-"), 1)
1878
+ username: s(({ rowValue: g }) => [
1879
+ Z("span", null, N(g ?? "-"), 1)
1880
1880
  ]),
1881
- password: o(({ row: g, rowValue: C }) => [
1882
- m(q, {
1881
+ password: s(({ row: g, rowValue: C }) => [
1882
+ m(M, {
1883
1883
  format: "redacted",
1884
1884
  notify: (L) => y(L, g, "password"),
1885
1885
  uuid: C
1886
1886
  }, null, 8, ["notify", "uuid"])
1887
1887
  ]),
1888
- key: o(({ row: g, rowValue: C }) => [
1889
- m(q, {
1888
+ key: s(({ row: g, rowValue: C }) => [
1889
+ m(M, {
1890
1890
  format: "redacted",
1891
1891
  notify: (L) => y(L, g, "key"),
1892
1892
  uuid: C
1893
1893
  }, null, 8, ["notify", "uuid"])
1894
1894
  ]),
1895
- client_secret: o(({ row: g, rowValue: C }) => [
1896
- m(q, {
1895
+ client_secret: s(({ row: g, rowValue: C }) => [
1896
+ m(M, {
1897
1897
  format: "redacted",
1898
1898
  notify: (L) => y(L, g, "client_secret"),
1899
1899
  uuid: C
1900
1900
  }, null, 8, ["notify", "uuid"])
1901
1901
  ]),
1902
- secret: o(({ row: g, rowValue: C }) => [
1903
- m(q, {
1902
+ secret: s(({ row: g, rowValue: C }) => [
1903
+ m(M, {
1904
1904
  format: "redacted",
1905
1905
  notify: (L) => y(L, g, "secret"),
1906
1906
  uuid: C
1907
1907
  }, null, 8, ["notify", "uuid"])
1908
1908
  ]),
1909
- created_at: o(({ rowValue: g }) => [
1910
- D(I(b(n)(g)), 1)
1909
+ created_at: s(({ rowValue: g }) => [
1910
+ R(N(v(n)(g)), 1)
1911
1911
  ]),
1912
- tags: o(({ rowValue: g }) => [
1913
- (g == null ? void 0 : g.length) > 0 ? (j(), z(Fe, { key: 0 }, {
1914
- default: o(() => [
1915
- (j(!0), J(Be, null, _e(g, (C) => (j(), z(Pe, {
1912
+ tags: s(({ rowValue: g }) => [
1913
+ (g == null ? void 0 : g.length) > 0 ? (j(), W(Fe, { key: 0 }, {
1914
+ default: s(() => [
1915
+ (j(!0), J(qe, null, _e(g, (C) => (j(), W(Pe, {
1916
1916
  key: C,
1917
- onClick: S[0] || (S[0] = Re(() => {
1917
+ onClick: S[0] || (S[0] = De(() => {
1918
1918
  }, ["stop"]))
1919
1919
  }, {
1920
- default: o(() => [
1921
- D(I(C), 1)
1920
+ default: s(() => [
1921
+ R(N(C), 1)
1922
1922
  ]),
1923
1923
  _: 2
1924
1924
  }, 1024))), 128))
1925
1925
  ]),
1926
1926
  _: 2
1927
- }, 1024)) : (j(), J("span", ir, "-"))
1927
+ }, 1024)) : (j(), J("span", ia, "-"))
1928
1928
  ]),
1929
- actions: o(({ row: g }) => [
1929
+ actions: s(({ row: g }) => [
1930
1930
  m(ee, null, {
1931
- default: o(({ copyToClipboard: C }) => [
1932
- m(R, {
1931
+ default: s(({ copyToClipboard: C }) => [
1932
+ m(D, {
1933
1933
  "data-testid": "action-entity-copy-id",
1934
1934
  onClick: (L) => P(g, "id", C)
1935
1935
  }, {
1936
- default: o(() => [
1937
- D(I(b(r)("credentials.actions.copy_id")), 1)
1936
+ default: s(() => [
1937
+ R(N(v(a)("credentials.actions.copy_id")), 1)
1938
1938
  ]),
1939
1939
  _: 2
1940
1940
  }, 1032, ["onClick"])
1941
1941
  ]),
1942
1942
  _: 2
1943
1943
  }, 1024),
1944
- e.config.plugin === "basic-auth" ? (j(), z(ee, { key: 0 }, {
1945
- default: o(({ copyToClipboard: C }) => [
1946
- m(R, {
1944
+ e.config.plugin === "basic-auth" ? (j(), W(ee, { key: 0 }, {
1945
+ default: s(({ copyToClipboard: C }) => [
1946
+ m(D, {
1947
1947
  "data-testid": "action-entity-copy-credential",
1948
1948
  onClick: (L) => P(g, "password", C)
1949
1949
  }, {
1950
- default: o(() => [
1951
- D(I(b(r)("credentials.actions.copy_credential")), 1)
1950
+ default: s(() => [
1951
+ R(N(v(a)("credentials.actions.copy_credential")), 1)
1952
1952
  ]),
1953
1953
  _: 2
1954
1954
  }, 1032, ["onClick"])
1955
1955
  ]),
1956
1956
  _: 2
1957
1957
  }, 1024)) : H("", !0),
1958
- ["key-auth", "key-auth-enc", "jwt"].includes(e.config.plugin) ? (j(), z(ee, { key: 1 }, {
1959
- default: o(({ copyToClipboard: C }) => [
1960
- m(R, {
1958
+ ["key-auth", "key-auth-enc", "jwt"].includes(e.config.plugin) ? (j(), W(ee, { key: 1 }, {
1959
+ default: s(({ copyToClipboard: C }) => [
1960
+ m(D, {
1961
1961
  "data-testid": "action-entity-copy-key",
1962
1962
  onClick: (L) => P(g, "key", C)
1963
1963
  }, {
1964
- default: o(() => [
1965
- D(I(b(r)("credentials.actions.copy_key")), 1)
1964
+ default: s(() => [
1965
+ R(N(v(a)("credentials.actions.copy_key")), 1)
1966
1966
  ]),
1967
1967
  _: 2
1968
1968
  }, 1032, ["onClick"])
1969
1969
  ]),
1970
1970
  _: 2
1971
1971
  }, 1024)) : H("", !0),
1972
- e.config.plugin === "oauth2" ? (j(), z(ee, { key: 2 }, {
1973
- default: o(({ copyToClipboard: C }) => [
1974
- m(R, {
1972
+ e.config.plugin === "oauth2" ? (j(), W(ee, { key: 2 }, {
1973
+ default: s(({ copyToClipboard: C }) => [
1974
+ m(D, {
1975
1975
  "data-testid": "action-entity-copy-secret",
1976
1976
  onClick: (L) => P(g, "client_secret", C)
1977
1977
  }, {
1978
- default: o(() => [
1979
- D(I(b(r)("credentials.actions.copy_secret")), 1)
1978
+ default: s(() => [
1979
+ R(N(v(a)("credentials.actions.copy_secret")), 1)
1980
1980
  ]),
1981
1981
  _: 2
1982
1982
  }, 1032, ["onClick"])
1983
1983
  ]),
1984
1984
  _: 2
1985
1985
  }, 1024)) : H("", !0),
1986
- e.config.plugin === "hmac-auth" ? (j(), z(ee, { key: 3 }, {
1987
- default: o(({ copyToClipboard: C }) => [
1988
- m(R, {
1986
+ e.config.plugin === "hmac-auth" ? (j(), W(ee, { key: 3 }, {
1987
+ default: s(({ copyToClipboard: C }) => [
1988
+ m(D, {
1989
1989
  "data-testid": "action-entity-copy-secret",
1990
1990
  onClick: (L) => P(g, "secret", C)
1991
1991
  }, {
1992
- default: o(() => [
1993
- D(I(b(r)("credentials.actions.copy_secret")), 1)
1992
+ default: s(() => [
1993
+ R(N(v(a)("credentials.actions.copy_secret")), 1)
1994
1994
  ]),
1995
1995
  _: 2
1996
1996
  }, 1032, ["onClick"])
@@ -1998,43 +1998,43 @@ const nr = { class: "kong-ui-entities-consumer-credentials-list" }, ir = { key:
1998
1998
  _: 2
1999
1999
  }, 1024)) : H("", !0),
2000
2000
  m(ee, null, {
2001
- default: o(({ copyToClipboard: C }) => [
2002
- m(R, {
2001
+ default: s(({ copyToClipboard: C }) => [
2002
+ m(D, {
2003
2003
  "data-testid": "action-entity-copy-json",
2004
2004
  onClick: (L) => P(g, void 0, C)
2005
2005
  }, {
2006
- default: o(() => [
2007
- D(I(b(r)("credentials.actions.copy_json")), 1)
2006
+ default: s(() => [
2007
+ R(N(v(a)("credentials.actions.copy_json")), 1)
2008
2008
  ]),
2009
2009
  _: 2
2010
2010
  }, 1032, ["onClick"])
2011
2011
  ]),
2012
2012
  _: 2
2013
2013
  }, 1024),
2014
- m(b(le), {
2014
+ m(v(le), {
2015
2015
  "auth-function": () => e.canEdit(g)
2016
2016
  }, {
2017
- default: o(() => [
2018
- m(R, {
2017
+ default: s(() => [
2018
+ m(D, {
2019
2019
  "data-testid": "action-entity-edit",
2020
2020
  "has-divider": "",
2021
- item: Q(g.id)
2021
+ item: X(g.id)
2022
2022
  }, null, 8, ["item"])
2023
2023
  ]),
2024
2024
  _: 2
2025
2025
  }, 1032, ["auth-function"]),
2026
- m(b(le), {
2026
+ m(v(le), {
2027
2027
  "auth-function": () => e.canDelete(g)
2028
2028
  }, {
2029
- default: o(() => [
2030
- m(R, {
2029
+ default: s(() => [
2030
+ m(D, {
2031
+ danger: "",
2031
2032
  "data-testid": "action-entity-delete",
2032
2033
  "has-divider": "",
2033
- "is-dangerous": "",
2034
2034
  onClick: (C) => E(g)
2035
2035
  }, {
2036
- default: o(() => [
2037
- D(I(b(r)("credentials.actions.delete")), 1)
2036
+ default: s(() => [
2037
+ R(N(v(a)("credentials.actions.delete")), 1)
2038
2038
  ]),
2039
2039
  _: 2
2040
2040
  }, 1032, ["onClick"])
@@ -2044,13 +2044,13 @@ const nr = { class: "kong-ui-entities-consumer-credentials-list" }, ir = { key:
2044
2044
  ]),
2045
2045
  _: 1
2046
2046
  }, 8, ["cache-identifier", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "table-headers"]),
2047
- m(b(er), {
2048
- "action-pending": M.value,
2049
- description: b(r)("credentials.delete.description"),
2047
+ m(v(ea), {
2048
+ "action-pending": B.value,
2049
+ description: v(a)("credentials.delete.description"),
2050
2050
  "entity-type": x.value,
2051
2051
  error: V.value,
2052
- title: b(r)(`credentials.delete.${e.config.plugin}.title`),
2053
- visible: s.value,
2052
+ title: v(a)(`credentials.delete.${e.config.plugin}.title`),
2053
+ visible: o.value,
2054
2054
  onCancel: $,
2055
2055
  onProceed: _
2056
2056
  }, null, 8, ["action-pending", "description", "entity-type", "error", "title", "visible"])
@@ -2058,12 +2058,12 @@ const nr = { class: "kong-ui-entities-consumer-credentials-list" }, ir = { key:
2058
2058
  };
2059
2059
  }
2060
2060
  });
2061
- const or = (e, a) => {
2061
+ const sa = (e, r) => {
2062
2062
  const t = e.__vccOpts || e;
2063
- for (const [r, n] of a)
2064
- t[r] = n;
2063
+ for (const [a, n] of r)
2064
+ t[a] = n;
2065
2065
  return t;
2066
- }, kr = /* @__PURE__ */ or(lr, [["__scopeId", "data-v-86d6bf77"]]);
2066
+ }, ka = /* @__PURE__ */ sa(la, [["__scopeId", "data-v-4a1ad610"]]);
2067
2067
  export {
2068
- kr as ConsumerCredentialList
2068
+ ka as ConsumerCredentialList
2069
2069
  };