@kong-ui-public/entities-consumer-credentials 3.1.11 → 3.1.12

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,20 +1,20 @@
1
- import { defineComponent as X, computed as k, openBlock as C, createBlock as z, resolveDynamicComponent as se, normalizeStyle as ye, withCtx as l, createElementBlock as P, toDisplayString as I, createCommentVNode as H, pushScopeId as ge, popScopeId as he, createElementVNode as W, ref as w, watch as ce, renderSlot as G, unref as b, resolveComponent as R, createVNode as m, createSlots as $e, withDirectives as je, vShow as Ke, renderList as Fe, createTextVNode as L, inject as Ye, onMounted as Ze, onUnmounted as Ge, onBeforeMount as Xe, Fragment as Qe, withModifiers as et } from "vue";
1
+ import { defineComponent as X, computed as k, openBlock as C, createBlock as z, resolveDynamicComponent as fe, normalizeStyle as ye, withCtx as l, createElementBlock as P, toDisplayString as I, createCommentVNode as H, pushScopeId as ge, popScopeId as he, createElementVNode as W, ref as w, watch as se, renderSlot as G, unref as b, resolveComponent as R, createVNode as m, createSlots as $e, withDirectives as je, vShow as Ke, renderList as Fe, createTextVNode as L, inject as Ye, onMounted as Ze, onUnmounted as Ge, onBeforeMount as Xe, Teleport as Qe, Fragment as et, withModifiers as tt } from "vue";
2
2
  import { createI18n as qe, i18nTComponent as Me } from "@kong-ui-public/i18n";
3
3
  import ke from "axios";
4
4
  import "@kong/kongponents";
5
5
  import "vue-router";
6
- const _e = "24px", tt = (e, t) => {
6
+ const _e = "24px", rt = (e, t) => {
7
7
  const r = e.__vccOpts || e;
8
8
  for (const [a, n] of t)
9
9
  r[a] = n;
10
10
  return r;
11
- }, rt = (e) => (ge("data-v-1d2a8d30"), e = e(), he(), e), at = ["aria-hidden"], nt = {
11
+ }, at = (e) => (ge("data-v-1d2a8d30"), e = e(), he(), e), nt = ["aria-hidden"], it = {
12
12
  key: 0,
13
13
  "data-testid": "kui-icon-svg-title"
14
- }, it = /* @__PURE__ */ rt(() => /* @__PURE__ */ W("path", {
14
+ }, ot = /* @__PURE__ */ at(() => /* @__PURE__ */ W("path", {
15
15
  d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
16
16
  fill: "currentColor"
17
- }, null, -1)), ot = /* @__PURE__ */ X({
17
+ }, null, -1)), lt = /* @__PURE__ */ X({
18
18
  __name: "AddIcon",
19
19
  props: {
20
20
  /** The accessibility text provided to screen readers */
@@ -83,7 +83,7 @@ const _e = "24px", tt = (e, t) => {
83
83
  lineHeight: "0",
84
84
  width: r.value
85
85
  }));
86
- return (n, o) => (C(), z(se(e.as), {
86
+ return (n, o) => (C(), z(fe(e.as), {
87
87
  "aria-hidden": e.decorative ? "true" : void 0,
88
88
  class: "kui-icon add-icon",
89
89
  "data-testid": "kui-icon-wrapper-add-icon",
@@ -100,14 +100,14 @@ const _e = "24px", tt = (e, t) => {
100
100
  width: "100%",
101
101
  xmlns: "http://www.w3.org/2000/svg"
102
102
  }, [
103
- e.title ? (C(), P("title", nt, I(e.title), 1)) : H("", !0),
104
- it
105
- ], 8, at))
103
+ e.title ? (C(), P("title", it, I(e.title), 1)) : H("", !0),
104
+ ot
105
+ ], 8, nt))
106
106
  ]),
107
107
  _: 1
108
108
  }, 8, ["aria-hidden", "style"]));
109
109
  }
110
- }), lt = /* @__PURE__ */ tt(ot, [["__scopeId", "data-v-1d2a8d30"]]), st = {
110
+ }), st = /* @__PURE__ */ rt(lt, [["__scopeId", "data-v-1d2a8d30"]]), ct = {
111
111
  title: "Consumer Credentials",
112
112
  list: {
113
113
  toolbar_actions: {
@@ -248,27 +248,27 @@ const _e = "24px", tt = (e, t) => {
248
248
  success: "Copied {val} to clipboard",
249
249
  success_brief: "Successfully copied to clipboard"
250
250
  }
251
- }, ct = {
252
- credentials: st
251
+ }, ut = {
252
+ credentials: ct
253
253
  };
254
- function ut() {
255
- const e = qe("en-us", ct);
254
+ function dt() {
255
+ const e = qe("en-us", ut);
256
256
  return {
257
257
  i18n: e,
258
258
  i18nT: Me(e)
259
259
  // Translation component <i18n-t>
260
260
  };
261
261
  }
262
- const dt = {
263
- useI18n: ut
264
- }, pt = {
262
+ const pt = {
263
+ useI18n: dt
264
+ }, ft = {
265
265
  list: {
266
266
  konnect: "/v2/control-planes/{controlPlaneId}/core-entities/consumers/{consumerId}/{plugin}",
267
267
  kongManager: "/{workspace}/consumers/{consumerId}/{plugin}"
268
268
  }
269
269
  };
270
270
  var Pe = /* @__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))(Pe || {}), ee = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(ee || {});
271
- function ft() {
271
+ function yt() {
272
272
  return {
273
273
  getAxiosInstance: (e = {}) => {
274
274
  try {
@@ -292,7 +292,7 @@ function ft() {
292
292
  }
293
293
  };
294
294
  }
295
- function yt() {
295
+ function gt() {
296
296
  return {
297
297
  debounce: (e, t) => {
298
298
  let r;
@@ -304,14 +304,14 @@ function yt() {
304
304
  }
305
305
  };
306
306
  }
307
- const de = "khcp-user-table-preferences", gt = {
307
+ const ue = "khcp-user-table-preferences", ht = {
308
308
  pageSize: 30,
309
309
  sortColumnKey: void 0,
310
310
  sortColumnOrder: void 0,
311
311
  columnWidths: {},
312
312
  columnVisibility: {}
313
313
  };
314
- function ht() {
314
+ function mt() {
315
315
  const e = (r) => {
316
316
  if (typeof r == "string")
317
317
  try {
@@ -321,44 +321,44 @@ function ht() {
321
321
  return;
322
322
  }
323
323
  }, t = () => {
324
- const r = e(localStorage.getItem(de));
324
+ const r = e(localStorage.getItem(ue));
325
325
  return !r || !Object.keys(r).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(r));
326
326
  };
327
327
  return {
328
328
  setTablePreferences: (r, a) => {
329
329
  try {
330
330
  const n = t();
331
- n.set(r, a), localStorage.setItem(de, JSON.stringify(Object.fromEntries(n.entries())));
331
+ n.set(r, a), localStorage.setItem(ue, JSON.stringify(Object.fromEntries(n.entries())));
332
332
  } catch (n) {
333
333
  console.error("useTablePreferences(setTablePreferences)", n);
334
334
  }
335
335
  },
336
336
  getTablePreferences: (r) => {
337
337
  const a = t();
338
- return (a == null ? void 0 : a.get(r)) || void 0 || gt;
338
+ return (a == null ? void 0 : a.get(r)) || void 0 || ht;
339
339
  },
340
340
  deleteAllTablePreferences: () => {
341
- localStorage.removeItem(de);
341
+ localStorage.removeItem(ue);
342
342
  }
343
343
  };
344
344
  }
345
345
  function me(e = {}) {
346
- const { getAxiosInstance: t } = ft();
346
+ const { getAxiosInstance: t } = yt();
347
347
  return {
348
348
  axiosInstance: t(e)
349
349
  };
350
350
  }
351
- const mt = {
351
+ const vt = {
352
352
  actions: {
353
353
  copyId: "Copy ID",
354
354
  copied_id: 'Copied "{id}" to the clipboard',
355
355
  copyToClipboard: "Copied successfully!",
356
356
  copyToClipboardFailed: "Failed to copy to the clipboard"
357
357
  }
358
- }, vt = {
358
+ }, bt = {
359
359
  message: "Are you sure you want to delete this {entityType}?",
360
360
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
361
- }, bt = {
361
+ }, wt = {
362
362
  actions: {
363
363
  viewConfiguration: "View Configuration",
364
364
  save: "Save",
@@ -374,13 +374,13 @@ const mt = {
374
374
  errors: {
375
375
  edit: "The entity could not be edited at this time."
376
376
  }
377
- }, wt = {
377
+ }, Ct = {
378
378
  emptyState: {
379
379
  noSearchResultsTitle: "No results found",
380
380
  noSearchResultsMessage: "Please adjust the criteria and try again.",
381
381
  noSearchResultsCtaText: "Clear"
382
382
  }
383
- }, Ct = {
383
+ }, kt = {
384
384
  title: "Configuration",
385
385
  actions: {
386
386
  copy: "Copy JSON"
@@ -415,7 +415,7 @@ const mt = {
415
415
  entryTitle: "Entry {index}",
416
416
  structuredFormat: "Structured"
417
417
  }
418
- }, kt = {
418
+ }, _t = {
419
419
  filterButtonText: "Filter",
420
420
  fieldLabel: "Filter by:",
421
421
  inputPlaceholder: "Enter a value",
@@ -423,17 +423,17 @@ const mt = {
423
423
  applyButtonText: "Apply",
424
424
  clearButtonText: "Clear",
425
425
  clearAllButtonText: "Clear all filters"
426
- }, _t = {
426
+ }, St = {
427
427
  errors: {
428
428
  fetch: "Could not fetch available items",
429
429
  invalid: "Please select a valid value"
430
430
  }
431
- }, St = {
431
+ }, xt = {
432
432
  unexpected: "An unexpected error has occurred",
433
433
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
434
- }, xt = {
435
- utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
436
434
  }, Nt = {
435
+ utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
436
+ }, At = {
437
437
  enable: {
438
438
  title: "Enable {entityType}",
439
439
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -444,20 +444,20 @@ const mt = {
444
444
  message: "Are you sure you want to disable the {entityType} {entityName}?",
445
445
  confirmText: "Yes, disable"
446
446
  }
447
- }, At = {
448
- global: mt,
449
- deleteModal: vt,
450
- baseForm: bt,
451
- baseTable: wt,
452
- baseConfigCard: Ct,
453
- filter: kt,
454
- debouncedFilter: _t,
455
- errors: St,
456
- validationErrors: xt,
457
- toggleModal: Nt
447
+ }, It = {
448
+ global: vt,
449
+ deleteModal: bt,
450
+ baseForm: wt,
451
+ baseTable: Ct,
452
+ baseConfigCard: kt,
453
+ filter: _t,
454
+ debouncedFilter: St,
455
+ errors: xt,
456
+ validationErrors: Nt,
457
+ toggleModal: At
458
458
  };
459
- function ue() {
460
- const e = qe("en-us", At);
459
+ function ce() {
460
+ const e = qe("en-us", It);
461
461
  return {
462
462
  i18n: e,
463
463
  i18nT: Me(e)
@@ -508,12 +508,12 @@ function Ue() {
508
508
  isValidUuid: (r) => r ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(r) : !1
509
509
  };
510
510
  }
511
- function It(e, t, r, a = {
511
+ function Tt(e, t, r, a = {
512
512
  fetchedItemsKey: "data",
513
513
  searchKeys: ["id"]
514
514
  }) {
515
515
  r || (r = "1000");
516
- const { axiosInstance: n } = me(e.axiosRequestConfig), { i18n: { t: o } } = ue(), { debounce: i } = yt(), s = i(async (v) => {
516
+ const { axiosInstance: n } = me(e.axiosRequestConfig), { i18n: { t: o } } = ce(), { debounce: i } = gt(), s = i(async (v) => {
517
517
  await D(v);
518
518
  }, 200), f = w(!1), d = w(""), y = w(""), c = w([]), _ = w([]), h = w(void 0), F = b(t);
519
519
  let A = `${e.apiBaseUrl}${F}`;
@@ -584,14 +584,14 @@ function It(e, t, r, a = {
584
584
  debouncedQueryChange: s
585
585
  };
586
586
  }
587
- function Tt(e, t) {
587
+ function Et(e, t) {
588
588
  const r = b(t), a = k(
589
589
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${r}`) : new URL(r)
590
590
  );
591
591
  return a.value.search = "", (n) => `${a.value.href}/${n}`;
592
592
  }
593
- function Et() {
594
- const { i18n: { t: e } } = ue();
593
+ function Ot() {
594
+ const { i18n: { t: e } } = ce();
595
595
  return {
596
596
  getMessageFromError: (t) => {
597
597
  var r, a, n, o;
@@ -620,7 +620,7 @@ function Et() {
620
620
  }
621
621
  };
622
622
  }
623
- function Ot(e) {
623
+ function $t(e) {
624
624
  const t = window.location.origin, r = t.endsWith("/") ? t : `${t}/`;
625
625
  try {
626
626
  const a = e.join("/"), n = `${r}${a}`, o = e.some((i) => i.trim() === "");
@@ -649,7 +649,7 @@ function Be(e, t) {
649
649
  }
650
650
  };
651
651
  }
652
- function $t(e, t, r = "data") {
652
+ function jt(e, t, r = "data") {
653
653
  const a = b(t), { axiosInstance: n } = me(e.axiosRequestConfig), o = Be(e, a), i = w({
654
654
  status: ee.Idle
655
655
  });
@@ -695,7 +695,7 @@ function $t(e, t, r = "data") {
695
695
  }
696
696
  }, fetcherState: i };
697
697
  }
698
- function jt() {
698
+ function Kt() {
699
699
  const e = (r, a = "_") => r ? r.split(a).map((n) => n.toLowerCase() === "id" ? n.toUpperCase() : n.charAt(0).toUpperCase() + n.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
700
700
  return {
701
701
  capitalize: (r) => r ? r.replace(t, (a) => a.toUpperCase()) : "",
@@ -712,24 +712,24 @@ const Le = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
712
712
  }, xe = (e) => e === "*" || e === "x" || e === "X", Ne = (e) => {
713
713
  const t = parseInt(e, 10);
714
714
  return isNaN(t) ? e : t;
715
- }, Kt = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], Ft = (e, t) => {
715
+ }, Ft = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], qt = (e, t) => {
716
716
  if (xe(e) || xe(t))
717
717
  return 0;
718
- const [r, a] = Kt(Ne(e), Ne(t));
718
+ const [r, a] = Ft(Ne(e), Ne(t));
719
719
  return r > a ? 1 : r < a ? -1 : 0;
720
720
  }, Ae = (e, t) => {
721
721
  for (let r = 0; r < Math.max(e.length, t.length); r++) {
722
- const a = Ft(e[r] || "0", t[r] || "0");
722
+ const a = qt(e[r] || "0", t[r] || "0");
723
723
  if (a !== 0)
724
724
  return a;
725
725
  }
726
726
  return 0;
727
- }, qt = (e, t) => {
727
+ }, Mt = (e, t) => {
728
728
  const r = Se(e), a = Se(t), n = r.pop(), o = a.pop(), i = Ae(r, a);
729
729
  return i !== 0 ? i : n && o ? Ae(n.split("."), o.split(".")) : n || o ? n ? -1 : 1 : 0;
730
730
  }, Ie = (e, t, r) => {
731
- Mt(r);
732
- const a = qt(e, t);
731
+ Pt(r);
732
+ const a = Mt(e, t);
733
733
  return Re[r].includes(a);
734
734
  }, Re = {
735
735
  ">": [1],
@@ -738,18 +738,18 @@ const Le = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
738
738
  "<=": [-1, 0],
739
739
  "<": [-1],
740
740
  "!=": [-1, 1]
741
- }, Te = Object.keys(Re), Mt = (e) => {
741
+ }, Te = Object.keys(Re), Pt = (e) => {
742
742
  if (typeof e != "string")
743
743
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
744
744
  if (Te.indexOf(e) === -1)
745
745
  throw new Error(`Invalid operator, expected one of ${Te.join("|")}`);
746
- }, Pt = (e) => typeof e == "string" && /^[v\d]/.test(e) && Le.test(e);
747
- function Ut(e) {
746
+ }, Ut = (e) => typeof e == "string" && /^[v\d]/.test(e) && Le.test(e);
747
+ function Bt(e) {
748
748
  const { gatewayInfo: t, supportedRange: r } = e;
749
749
  if (!t)
750
750
  return !0;
751
751
  const { edition: a, version: n } = t;
752
- if (!Pt(n))
752
+ if (!Ut(n))
753
753
  return console.error("Invalid version"), !1;
754
754
  const o = r[a];
755
755
  if (!o)
@@ -757,34 +757,34 @@ function Ut(e) {
757
757
  const [i, s] = o;
758
758
  return !(i && Ie(n, i, "<") || s && Ie(n, s, ">"));
759
759
  }
760
- function Bt(e) {
760
+ function Lt(e) {
761
761
  const t = w(0), r = w(0), a = w(!1);
762
- return ce(e, (n) => {
762
+ return se(e, (n) => {
763
763
  n && !a.value && (t.value = n.offsetWidth, r.value = n.scrollWidth, a.value = !0);
764
764
  }), {
765
765
  isTruncated: k(() => t.value < r.value)
766
766
  };
767
767
  }
768
- function Lt() {
769
- const { i18n: { t: e } } = ue();
768
+ function Rt() {
769
+ const { i18n: { t: e } } = ce();
770
770
  return {
771
771
  utf8Name: (t) => /^[\p{N}\p{L}.\-_~]*$/u.test(t) ? "" : e("validationErrors.utf8Name")
772
772
  };
773
773
  }
774
774
  const ve = {
775
775
  useAxios: me,
776
- useDebouncedFilter: It,
777
- useDeleteUrlBuilder: Tt,
778
- useErrors: Et,
779
- useExternalLinkCreator: Ot,
780
- useFetcher: $t,
776
+ useDebouncedFilter: Tt,
777
+ useDeleteUrlBuilder: Et,
778
+ useErrors: Ot,
779
+ useExternalLinkCreator: $t,
780
+ useFetcher: jt,
781
781
  useFetchUrlBuilder: Be,
782
782
  useHelpers: Ue,
783
- useStringHelpers: jt,
784
- useI18n: ue,
785
- useGatewayFeatureSupported: Ut,
786
- useTruncationDetector: Bt,
787
- useValidators: Lt
783
+ useStringHelpers: Kt,
784
+ useI18n: ce,
785
+ useGatewayFeatureSupported: Bt,
786
+ useTruncationDetector: Lt,
787
+ useValidators: Rt
788
788
  }, be = (e, t) => {
789
789
  const r = e.__vccOpts || e;
790
790
  for (const [a, n] of t)
@@ -795,35 +795,35 @@ const ve = {
795
795
  function De(e) {
796
796
  return typeof e > "u" || e === null;
797
797
  }
798
- function Rt(e) {
798
+ function Dt(e) {
799
799
  return typeof e == "object" && e !== null;
800
800
  }
801
- function Dt(e) {
801
+ function zt(e) {
802
802
  return Array.isArray(e) ? e : De(e) ? [] : [e];
803
803
  }
804
- function zt(e, t) {
804
+ function Ht(e, t) {
805
805
  var r, a, n, o;
806
806
  if (t)
807
807
  for (o = Object.keys(t), r = 0, a = o.length; r < a; r += 1)
808
808
  n = o[r], e[n] = t[n];
809
809
  return e;
810
810
  }
811
- function Ht(e, t) {
811
+ function Vt(e, t) {
812
812
  var r = "", a;
813
813
  for (a = 0; a < t; a += 1)
814
814
  r += e;
815
815
  return r;
816
816
  }
817
- function Vt(e) {
817
+ function Wt(e) {
818
818
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
819
819
  }
820
- var Wt = De, Jt = Rt, Yt = Dt, Zt = Ht, Gt = Vt, Xt = zt, we = {
821
- isNothing: Wt,
822
- isObject: Jt,
823
- toArray: Yt,
824
- repeat: Zt,
825
- isNegativeZero: Gt,
826
- extend: Xt
820
+ var Jt = De, Yt = Dt, Zt = zt, Gt = Vt, Xt = Wt, Qt = Ht, we = {
821
+ isNothing: Jt,
822
+ isObject: Yt,
823
+ toArray: Zt,
824
+ repeat: Gt,
825
+ isNegativeZero: Xt,
826
+ extend: Qt
827
827
  };
828
828
  function ze(e, t) {
829
829
  var r = "", a = e.reason || "(unknown reason)";
@@ -839,7 +839,7 @@ ie.prototype.constructor = ie;
839
839
  ie.prototype.toString = function(e) {
840
840
  return this.name + ": " + ze(this, e);
841
841
  };
842
- var te = ie, Qt = [
842
+ var te = ie, er = [
843
843
  "kind",
844
844
  "multi",
845
845
  "resolve",
@@ -850,12 +850,12 @@ var te = ie, Qt = [
850
850
  "representName",
851
851
  "defaultStyle",
852
852
  "styleAliases"
853
- ], er = [
853
+ ], tr = [
854
854
  "scalar",
855
855
  "sequence",
856
856
  "mapping"
857
857
  ];
858
- function tr(e) {
858
+ function rr(e) {
859
859
  var t = {};
860
860
  return e !== null && Object.keys(e).forEach(function(r) {
861
861
  e[r].forEach(function(a) {
@@ -863,18 +863,18 @@ function tr(e) {
863
863
  });
864
864
  }), t;
865
865
  }
866
- function rr(e, t) {
866
+ function ar(e, t) {
867
867
  if (t = t || {}, Object.keys(t).forEach(function(r) {
868
- if (Qt.indexOf(r) === -1)
868
+ if (er.indexOf(r) === -1)
869
869
  throw new te('Unknown option "' + r + '" is met in definition of "' + e + '" YAML type.');
870
870
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
871
871
  return !0;
872
872
  }, this.construct = t.construct || function(r) {
873
873
  return r;
874
- }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = tr(t.styleAliases || null), er.indexOf(this.kind) === -1)
874
+ }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = rr(t.styleAliases || null), tr.indexOf(this.kind) === -1)
875
875
  throw new te('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
876
876
  }
877
- var K = rr;
877
+ var K = ar;
878
878
  function Ee(e, t) {
879
879
  var r = [];
880
880
  return e[t].forEach(function(a) {
@@ -884,7 +884,7 @@ function Ee(e, t) {
884
884
  }), r[n] = a;
885
885
  }), r;
886
886
  }
887
- function ar() {
887
+ function nr() {
888
888
  var e = {
889
889
  scalar: {},
890
890
  sequence: {},
@@ -904,10 +904,10 @@ function ar() {
904
904
  arguments[t].forEach(a);
905
905
  return e;
906
906
  }
907
- function fe(e) {
907
+ function pe(e) {
908
908
  return this.extend(e);
909
909
  }
910
- fe.prototype.extend = function(e) {
910
+ pe.prototype.extend = function(e) {
911
911
  var t = [], r = [];
912
912
  if (e instanceof K)
913
913
  r.push(e);
@@ -928,48 +928,48 @@ fe.prototype.extend = function(e) {
928
928
  if (!(n instanceof K))
929
929
  throw new te("Specified list of YAML types (or a single Type object) contains a non-Type object.");
930
930
  });
931
- var a = Object.create(fe.prototype);
932
- return a.implicit = (this.implicit || []).concat(t), a.explicit = (this.explicit || []).concat(r), a.compiledImplicit = Ee(a, "implicit"), a.compiledExplicit = Ee(a, "explicit"), a.compiledTypeMap = ar(a.compiledImplicit, a.compiledExplicit), a;
931
+ var a = Object.create(pe.prototype);
932
+ return a.implicit = (this.implicit || []).concat(t), a.explicit = (this.explicit || []).concat(r), a.compiledImplicit = Ee(a, "implicit"), a.compiledExplicit = Ee(a, "explicit"), a.compiledTypeMap = nr(a.compiledImplicit, a.compiledExplicit), a;
933
933
  };
934
- var nr = fe, ir = new K("tag:yaml.org,2002:str", {
934
+ var ir = pe, or = new K("tag:yaml.org,2002:str", {
935
935
  kind: "scalar",
936
936
  construct: function(e) {
937
937
  return e !== null ? e : "";
938
938
  }
939
- }), or = new K("tag:yaml.org,2002:seq", {
939
+ }), lr = new K("tag:yaml.org,2002:seq", {
940
940
  kind: "sequence",
941
941
  construct: function(e) {
942
942
  return e !== null ? e : [];
943
943
  }
944
- }), lr = new K("tag:yaml.org,2002:map", {
944
+ }), sr = new K("tag:yaml.org,2002:map", {
945
945
  kind: "mapping",
946
946
  construct: function(e) {
947
947
  return e !== null ? e : {};
948
948
  }
949
- }), sr = new nr({
949
+ }), cr = new ir({
950
950
  explicit: [
951
- ir,
952
951
  or,
953
- lr
952
+ lr,
953
+ sr
954
954
  ]
955
955
  });
956
- function cr(e) {
956
+ function ur(e) {
957
957
  if (e === null)
958
958
  return !0;
959
959
  var t = e.length;
960
960
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
961
961
  }
962
- function ur() {
962
+ function dr() {
963
963
  return null;
964
964
  }
965
- function dr(e) {
965
+ function pr(e) {
966
966
  return e === null;
967
967
  }
968
- var pr = new K("tag:yaml.org,2002:null", {
968
+ var fr = new K("tag:yaml.org,2002:null", {
969
969
  kind: "scalar",
970
- resolve: cr,
971
- construct: ur,
972
- predicate: dr,
970
+ resolve: ur,
971
+ construct: dr,
972
+ predicate: pr,
973
973
  represent: {
974
974
  canonical: function() {
975
975
  return "~";
@@ -989,23 +989,23 @@ var pr = new K("tag:yaml.org,2002:null", {
989
989
  },
990
990
  defaultStyle: "lowercase"
991
991
  });
992
- function fr(e) {
992
+ function yr(e) {
993
993
  if (e === null)
994
994
  return !1;
995
995
  var t = e.length;
996
996
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
997
997
  }
998
- function yr(e) {
998
+ function gr(e) {
999
999
  return e === "true" || e === "True" || e === "TRUE";
1000
1000
  }
1001
- function gr(e) {
1001
+ function hr(e) {
1002
1002
  return Object.prototype.toString.call(e) === "[object Boolean]";
1003
1003
  }
1004
- var hr = new K("tag:yaml.org,2002:bool", {
1004
+ var mr = new K("tag:yaml.org,2002:bool", {
1005
1005
  kind: "scalar",
1006
- resolve: fr,
1007
- construct: yr,
1008
- predicate: gr,
1006
+ resolve: yr,
1007
+ construct: gr,
1008
+ predicate: hr,
1009
1009
  represent: {
1010
1010
  lowercase: function(e) {
1011
1011
  return e ? "true" : "false";
@@ -1019,16 +1019,16 @@ var hr = new K("tag:yaml.org,2002:bool", {
1019
1019
  },
1020
1020
  defaultStyle: "lowercase"
1021
1021
  });
1022
- function mr(e) {
1022
+ function vr(e) {
1023
1023
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1024
1024
  }
1025
- function vr(e) {
1025
+ function br(e) {
1026
1026
  return 48 <= e && e <= 55;
1027
1027
  }
1028
- function br(e) {
1028
+ function wr(e) {
1029
1029
  return 48 <= e && e <= 57;
1030
1030
  }
1031
- function wr(e) {
1031
+ function Cr(e) {
1032
1032
  if (e === null)
1033
1033
  return !1;
1034
1034
  var t = e.length, r = 0, a = !1, n;
@@ -1049,7 +1049,7 @@ function wr(e) {
1049
1049
  if (n === "x") {
1050
1050
  for (r++; r < t; r++)
1051
1051
  if (n = e[r], n !== "_") {
1052
- if (!mr(e.charCodeAt(r)))
1052
+ if (!vr(e.charCodeAt(r)))
1053
1053
  return !1;
1054
1054
  a = !0;
1055
1055
  }
@@ -1058,7 +1058,7 @@ function wr(e) {
1058
1058
  if (n === "o") {
1059
1059
  for (r++; r < t; r++)
1060
1060
  if (n = e[r], n !== "_") {
1061
- if (!vr(e.charCodeAt(r)))
1061
+ if (!br(e.charCodeAt(r)))
1062
1062
  return !1;
1063
1063
  a = !0;
1064
1064
  }
@@ -1069,13 +1069,13 @@ function wr(e) {
1069
1069
  return !1;
1070
1070
  for (; r < t; r++)
1071
1071
  if (n = e[r], n !== "_") {
1072
- if (!br(e.charCodeAt(r)))
1072
+ if (!wr(e.charCodeAt(r)))
1073
1073
  return !1;
1074
1074
  a = !0;
1075
1075
  }
1076
1076
  return !(!a || n === "_");
1077
1077
  }
1078
- function Cr(e) {
1078
+ function kr(e) {
1079
1079
  var t = e, r = 1, a;
1080
1080
  if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), a = t[0], (a === "-" || a === "+") && (a === "-" && (r = -1), t = t.slice(1), a = t[0]), t === "0")
1081
1081
  return 0;
@@ -1089,14 +1089,14 @@ function Cr(e) {
1089
1089
  }
1090
1090
  return r * parseInt(t, 10);
1091
1091
  }
1092
- function kr(e) {
1092
+ function _r(e) {
1093
1093
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !we.isNegativeZero(e);
1094
1094
  }
1095
- var _r = new K("tag:yaml.org,2002:int", {
1095
+ var Sr = new K("tag:yaml.org,2002:int", {
1096
1096
  kind: "scalar",
1097
- resolve: wr,
1098
- construct: Cr,
1099
- predicate: kr,
1097
+ resolve: Cr,
1098
+ construct: kr,
1099
+ predicate: _r,
1100
1100
  represent: {
1101
1101
  binary: function(e) {
1102
1102
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1119,21 +1119,21 @@ var _r = new K("tag:yaml.org,2002:int", {
1119
1119
  decimal: [10, "dec"],
1120
1120
  hexadecimal: [16, "hex"]
1121
1121
  }
1122
- }), Sr = new RegExp(
1122
+ }), xr = new RegExp(
1123
1123
  // 2.5e4, 2.5 and integers
1124
1124
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1125
1125
  );
1126
- function xr(e) {
1127
- return !(e === null || !Sr.test(e) || // Quick hack to not allow integers end with `_`
1126
+ function Nr(e) {
1127
+ return !(e === null || !xr.test(e) || // Quick hack to not allow integers end with `_`
1128
1128
  // Probably should update regexp & check speed
1129
1129
  e[e.length - 1] === "_");
1130
1130
  }
1131
- function Nr(e) {
1131
+ function Ar(e) {
1132
1132
  var t, r;
1133
1133
  return t = e.replace(/_/g, "").toLowerCase(), r = t[0] === "-" ? -1 : 1, "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? r === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : t === ".nan" ? NaN : r * parseFloat(t, 10);
1134
1134
  }
1135
- var Ar = /^[-+]?[0-9]+e/;
1136
- function Ir(e, t) {
1135
+ var Ir = /^[-+]?[0-9]+e/;
1136
+ function Tr(e, t) {
1137
1137
  var r;
1138
1138
  if (isNaN(e))
1139
1139
  switch (t) {
@@ -1164,34 +1164,34 @@ function Ir(e, t) {
1164
1164
  }
1165
1165
  else if (we.isNegativeZero(e))
1166
1166
  return "-0.0";
1167
- return r = e.toString(10), Ar.test(r) ? r.replace("e", ".e") : r;
1167
+ return r = e.toString(10), Ir.test(r) ? r.replace("e", ".e") : r;
1168
1168
  }
1169
- function Tr(e) {
1169
+ function Er(e) {
1170
1170
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || we.isNegativeZero(e));
1171
1171
  }
1172
- var Er = new K("tag:yaml.org,2002:float", {
1172
+ var Or = new K("tag:yaml.org,2002:float", {
1173
1173
  kind: "scalar",
1174
- resolve: xr,
1175
- construct: Nr,
1176
- predicate: Tr,
1177
- represent: Ir,
1174
+ resolve: Nr,
1175
+ construct: Ar,
1176
+ predicate: Er,
1177
+ represent: Tr,
1178
1178
  defaultStyle: "lowercase"
1179
- }), Or = sr.extend({
1179
+ }), $r = cr.extend({
1180
1180
  implicit: [
1181
- pr,
1182
- hr,
1183
- _r,
1184
- Er
1181
+ fr,
1182
+ mr,
1183
+ Sr,
1184
+ Or
1185
1185
  ]
1186
- }), $r = Or, He = new RegExp(
1186
+ }), jr = $r, He = new RegExp(
1187
1187
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1188
1188
  ), Ve = new RegExp(
1189
1189
  "^([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]))?))?$"
1190
1190
  );
1191
- function jr(e) {
1191
+ function Kr(e) {
1192
1192
  return e === null ? !1 : He.exec(e) !== null || Ve.exec(e) !== null;
1193
1193
  }
1194
- function Kr(e) {
1194
+ function Fr(e) {
1195
1195
  var t, r, a, n, o, i, s, f = 0, d = null, y, c, _;
1196
1196
  if (t = He.exec(e), t === null && (t = Ve.exec(e)), t === null)
1197
1197
  throw new Error("Date resolve error");
@@ -1204,25 +1204,25 @@ function Kr(e) {
1204
1204
  }
1205
1205
  return t[9] && (y = +t[10], c = +(t[11] || 0), d = (y * 60 + c) * 6e4, t[9] === "-" && (d = -d)), _ = new Date(Date.UTC(r, a, n, o, i, s, f)), d && _.setTime(_.getTime() - d), _;
1206
1206
  }
1207
- function Fr(e) {
1207
+ function qr(e) {
1208
1208
  return e.toISOString();
1209
1209
  }
1210
- var qr = new K("tag:yaml.org,2002:timestamp", {
1210
+ var Mr = new K("tag:yaml.org,2002:timestamp", {
1211
1211
  kind: "scalar",
1212
- resolve: jr,
1213
- construct: Kr,
1212
+ resolve: Kr,
1213
+ construct: Fr,
1214
1214
  instanceOf: Date,
1215
- represent: Fr
1215
+ represent: qr
1216
1216
  });
1217
- function Mr(e) {
1217
+ function Pr(e) {
1218
1218
  return e === "<<" || e === null;
1219
1219
  }
1220
- var Pr = new K("tag:yaml.org,2002:merge", {
1220
+ var Ur = new K("tag:yaml.org,2002:merge", {
1221
1221
  kind: "scalar",
1222
- resolve: Mr
1222
+ resolve: Pr
1223
1223
  }), Ce = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1224
1224
  \r`;
1225
- function Ur(e) {
1225
+ function Br(e) {
1226
1226
  if (e === null)
1227
1227
  return !1;
1228
1228
  var t, r, a = 0, n = e.length, o = Ce;
@@ -1234,37 +1234,37 @@ function Ur(e) {
1234
1234
  }
1235
1235
  return a % 8 === 0;
1236
1236
  }
1237
- function Br(e) {
1237
+ function Lr(e) {
1238
1238
  var t, r, a = e.replace(/[\r\n=]/g, ""), n = a.length, o = Ce, i = 0, s = [];
1239
1239
  for (t = 0; t < n; t++)
1240
1240
  t % 4 === 0 && t && (s.push(i >> 16 & 255), s.push(i >> 8 & 255), s.push(i & 255)), i = i << 6 | o.indexOf(a.charAt(t));
1241
1241
  return r = n % 4 * 6, r === 0 ? (s.push(i >> 16 & 255), s.push(i >> 8 & 255), s.push(i & 255)) : r === 18 ? (s.push(i >> 10 & 255), s.push(i >> 2 & 255)) : r === 12 && s.push(i >> 4 & 255), new Uint8Array(s);
1242
1242
  }
1243
- function Lr(e) {
1243
+ function Rr(e) {
1244
1244
  var t = "", r = 0, a, n, o = e.length, i = Ce;
1245
1245
  for (a = 0; a < o; a++)
1246
1246
  a % 3 === 0 && a && (t += i[r >> 18 & 63], t += i[r >> 12 & 63], t += i[r >> 6 & 63], t += i[r & 63]), r = (r << 8) + e[a];
1247
1247
  return n = o % 3, n === 0 ? (t += i[r >> 18 & 63], t += i[r >> 12 & 63], t += i[r >> 6 & 63], t += i[r & 63]) : n === 2 ? (t += i[r >> 10 & 63], t += i[r >> 4 & 63], t += i[r << 2 & 63], t += i[64]) : n === 1 && (t += i[r >> 2 & 63], t += i[r << 4 & 63], t += i[64], t += i[64]), t;
1248
1248
  }
1249
- function Rr(e) {
1249
+ function Dr(e) {
1250
1250
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1251
1251
  }
1252
- var Dr = new K("tag:yaml.org,2002:binary", {
1252
+ var zr = new K("tag:yaml.org,2002:binary", {
1253
1253
  kind: "scalar",
1254
- resolve: Ur,
1255
- construct: Br,
1256
- predicate: Rr,
1257
- represent: Lr
1258
- }), zr = Object.prototype.hasOwnProperty, Hr = Object.prototype.toString;
1259
- function Vr(e) {
1254
+ resolve: Br,
1255
+ construct: Lr,
1256
+ predicate: Dr,
1257
+ represent: Rr
1258
+ }), Hr = Object.prototype.hasOwnProperty, Vr = Object.prototype.toString;
1259
+ function Wr(e) {
1260
1260
  if (e === null)
1261
1261
  return !0;
1262
1262
  var t = [], r, a, n, o, i, s = e;
1263
1263
  for (r = 0, a = s.length; r < a; r += 1) {
1264
- if (n = s[r], i = !1, Hr.call(n) !== "[object Object]")
1264
+ if (n = s[r], i = !1, Vr.call(n) !== "[object Object]")
1265
1265
  return !1;
1266
1266
  for (o in n)
1267
- if (zr.call(n, o))
1267
+ if (Hr.call(n, o))
1268
1268
  if (!i)
1269
1269
  i = !0;
1270
1270
  else
@@ -1278,26 +1278,26 @@ function Vr(e) {
1278
1278
  }
1279
1279
  return !0;
1280
1280
  }
1281
- function Wr(e) {
1281
+ function Jr(e) {
1282
1282
  return e !== null ? e : [];
1283
1283
  }
1284
- var Jr = new K("tag:yaml.org,2002:omap", {
1284
+ var Yr = new K("tag:yaml.org,2002:omap", {
1285
1285
  kind: "sequence",
1286
- resolve: Vr,
1287
- construct: Wr
1288
- }), Yr = Object.prototype.toString;
1289
- function Zr(e) {
1286
+ resolve: Wr,
1287
+ construct: Jr
1288
+ }), Zr = Object.prototype.toString;
1289
+ function Gr(e) {
1290
1290
  if (e === null)
1291
1291
  return !0;
1292
1292
  var t, r, a, n, o, i = e;
1293
1293
  for (o = new Array(i.length), t = 0, r = i.length; t < r; t += 1) {
1294
- if (a = i[t], Yr.call(a) !== "[object Object]" || (n = Object.keys(a), n.length !== 1))
1294
+ if (a = i[t], Zr.call(a) !== "[object Object]" || (n = Object.keys(a), n.length !== 1))
1295
1295
  return !1;
1296
1296
  o[t] = [n[0], a[n[0]]];
1297
1297
  }
1298
1298
  return !0;
1299
1299
  }
1300
- function Gr(e) {
1300
+ function Xr(e) {
1301
1301
  if (e === null)
1302
1302
  return [];
1303
1303
  var t, r, a, n, o, i = e;
@@ -1305,59 +1305,59 @@ function Gr(e) {
1305
1305
  a = i[t], n = Object.keys(a), o[t] = [n[0], a[n[0]]];
1306
1306
  return o;
1307
1307
  }
1308
- var Xr = new K("tag:yaml.org,2002:pairs", {
1308
+ var Qr = new K("tag:yaml.org,2002:pairs", {
1309
1309
  kind: "sequence",
1310
- resolve: Zr,
1311
- construct: Gr
1312
- }), Qr = Object.prototype.hasOwnProperty;
1313
- function ea(e) {
1310
+ resolve: Gr,
1311
+ construct: Xr
1312
+ }), ea = Object.prototype.hasOwnProperty;
1313
+ function ta(e) {
1314
1314
  if (e === null)
1315
1315
  return !0;
1316
1316
  var t, r = e;
1317
1317
  for (t in r)
1318
- if (Qr.call(r, t) && r[t] !== null)
1318
+ if (ea.call(r, t) && r[t] !== null)
1319
1319
  return !1;
1320
1320
  return !0;
1321
1321
  }
1322
- function ta(e) {
1322
+ function ra(e) {
1323
1323
  return e !== null ? e : {};
1324
1324
  }
1325
- var ra = new K("tag:yaml.org,2002:set", {
1325
+ var aa = new K("tag:yaml.org,2002:set", {
1326
1326
  kind: "mapping",
1327
- resolve: ea,
1328
- construct: ta
1327
+ resolve: ta,
1328
+ construct: ra
1329
1329
  });
1330
- $r.extend({
1330
+ jr.extend({
1331
1331
  implicit: [
1332
- qr,
1333
- Pr
1332
+ Mr,
1333
+ Ur
1334
1334
  ],
1335
1335
  explicit: [
1336
- Dr,
1337
- Jr,
1338
- Xr,
1339
- ra
1336
+ zr,
1337
+ Yr,
1338
+ Qr,
1339
+ aa
1340
1340
  ]
1341
1341
  });
1342
1342
  function Oe(e) {
1343
1343
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1344
1344
  ` : 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" : "";
1345
1345
  }
1346
- var aa = new Array(256), na = new Array(256);
1346
+ var na = new Array(256), ia = new Array(256);
1347
1347
  for (var ae = 0; ae < 256; ae++)
1348
- aa[ae] = Oe(ae) ? 1 : 0, na[ae] = Oe(ae);
1348
+ na[ae] = Oe(ae) ? 1 : 0, ia[ae] = Oe(ae);
1349
1349
  const le = "24px", We = (e, t) => {
1350
1350
  const r = e.__vccOpts || e;
1351
1351
  for (const [a, n] of t)
1352
1352
  r[a] = n;
1353
1353
  return r;
1354
- }, ia = (e) => (ge("data-v-1d2a8d30"), e = e(), he(), e), oa = ["aria-hidden"], la = {
1354
+ }, oa = (e) => (ge("data-v-1d2a8d30"), e = e(), he(), e), la = ["aria-hidden"], sa = {
1355
1355
  key: 0,
1356
1356
  "data-testid": "kui-icon-svg-title"
1357
- }, sa = /* @__PURE__ */ ia(() => /* @__PURE__ */ W("path", {
1357
+ }, ca = /* @__PURE__ */ oa(() => /* @__PURE__ */ W("path", {
1358
1358
  d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
1359
1359
  fill: "currentColor"
1360
- }, null, -1)), ca = /* @__PURE__ */ X({
1360
+ }, null, -1)), ua = /* @__PURE__ */ X({
1361
1361
  __name: "AddIcon",
1362
1362
  props: {
1363
1363
  /** The accessibility text provided to screen readers */
@@ -1426,7 +1426,7 @@ const le = "24px", We = (e, t) => {
1426
1426
  lineHeight: "0",
1427
1427
  width: r.value
1428
1428
  }));
1429
- return (n, o) => (C(), z(se(e.as), {
1429
+ return (n, o) => (C(), z(fe(e.as), {
1430
1430
  "aria-hidden": e.decorative ? "true" : void 0,
1431
1431
  class: "kui-icon add-icon",
1432
1432
  "data-testid": "kui-icon-wrapper-add-icon",
@@ -1443,20 +1443,20 @@ const le = "24px", We = (e, t) => {
1443
1443
  width: "100%",
1444
1444
  xmlns: "http://www.w3.org/2000/svg"
1445
1445
  }, [
1446
- e.title ? (C(), P("title", la, I(e.title), 1)) : H("", !0),
1447
- sa
1448
- ], 8, oa))
1446
+ e.title ? (C(), P("title", sa, I(e.title), 1)) : H("", !0),
1447
+ ca
1448
+ ], 8, la))
1449
1449
  ]),
1450
1450
  _: 1
1451
1451
  }, 8, ["aria-hidden", "style"]));
1452
1452
  }
1453
- }), ua = /* @__PURE__ */ We(ca, [["__scopeId", "data-v-1d2a8d30"]]), da = (e) => (ge("data-v-cf4e7d0b"), e = e(), he(), e), pa = ["aria-hidden"], fa = {
1453
+ }), da = /* @__PURE__ */ We(ua, [["__scopeId", "data-v-1d2a8d30"]]), pa = (e) => (ge("data-v-cf4e7d0b"), e = e(), he(), e), fa = ["aria-hidden"], ya = {
1454
1454
  key: 0,
1455
1455
  "data-testid": "kui-icon-svg-title"
1456
- }, ya = /* @__PURE__ */ da(() => /* @__PURE__ */ W("path", {
1456
+ }, ga = /* @__PURE__ */ pa(() => /* @__PURE__ */ W("path", {
1457
1457
  d: "M12 20C11.45 20 10.9792 19.8042 10.5875 19.4125C10.1958 19.0208 10 18.55 10 18C10 17.45 10.1958 16.9792 10.5875 16.5875C10.9792 16.1958 11.45 16 12 16C12.55 16 13.0208 16.1958 13.4125 16.5875C13.8042 16.9792 14 17.45 14 18C14 18.55 13.8042 19.0208 13.4125 19.4125C13.0208 19.8042 12.55 20 12 20ZM12 14C11.45 14 10.9792 13.8042 10.5875 13.4125C10.1958 13.0208 10 12.55 10 12C10 11.45 10.1958 10.9792 10.5875 10.5875C10.9792 10.1958 11.45 10 12 10C12.55 10 13.0208 10.1958 13.4125 10.5875C13.8042 10.9792 14 11.45 14 12C14 12.55 13.8042 13.0208 13.4125 13.4125C13.0208 13.8042 12.55 14 12 14ZM12 8C11.45 8 10.9792 7.80417 10.5875 7.4125C10.1958 7.02083 10 6.55 10 6C10 5.45 10.1958 4.97917 10.5875 4.5875C10.9792 4.19583 11.45 4 12 4C12.55 4 13.0208 4.19583 13.4125 4.5875C13.8042 4.97917 14 5.45 14 6C14 6.55 13.8042 7.02083 13.4125 7.4125C13.0208 7.80417 12.55 8 12 8Z",
1458
1458
  fill: "currentColor"
1459
- }, null, -1)), ga = /* @__PURE__ */ X({
1459
+ }, null, -1)), ha = /* @__PURE__ */ X({
1460
1460
  __name: "MoreIcon",
1461
1461
  props: {
1462
1462
  /** The accessibility text provided to screen readers */
@@ -1525,7 +1525,7 @@ const le = "24px", We = (e, t) => {
1525
1525
  lineHeight: "0",
1526
1526
  width: r.value
1527
1527
  }));
1528
- return (n, o) => (C(), z(se(e.as), {
1528
+ return (n, o) => (C(), z(fe(e.as), {
1529
1529
  "aria-hidden": e.decorative ? "true" : void 0,
1530
1530
  class: "kui-icon more-icon",
1531
1531
  "data-testid": "kui-icon-wrapper-more-icon",
@@ -1542,14 +1542,14 @@ const le = "24px", We = (e, t) => {
1542
1542
  width: "100%",
1543
1543
  xmlns: "http://www.w3.org/2000/svg"
1544
1544
  }, [
1545
- e.title ? (C(), P("title", fa, I(e.title), 1)) : H("", !0),
1546
- ya
1547
- ], 8, pa))
1545
+ e.title ? (C(), P("title", ya, I(e.title), 1)) : H("", !0),
1546
+ ga
1547
+ ], 8, fa))
1548
1548
  ]),
1549
1549
  _: 1
1550
1550
  }, 8, ["aria-hidden", "style"]));
1551
1551
  }
1552
- }), ha = /* @__PURE__ */ We(ga, [["__scopeId", "data-v-cf4e7d0b"]]), ma = ["data-truncate"], va = /* @__PURE__ */ X({
1552
+ }), ma = /* @__PURE__ */ We(ha, [["__scopeId", "data-v-cf4e7d0b"]]), va = ["data-truncate"], ba = /* @__PURE__ */ X({
1553
1553
  __name: "EntityBaseTableCell",
1554
1554
  props: {
1555
1555
  keyName: {
@@ -1588,7 +1588,7 @@ const le = "24px", We = (e, t) => {
1588
1588
  D -= (parseFloat(v.paddingLeft) || 0) + (parseFloat(v.paddingRight) || 0);
1589
1589
  }
1590
1590
  y.value = ((O = a.value) == null ? void 0 : O.getBoundingClientRect().width) || 0, c.value = D, _.value = ((q = d.value) == null ? void 0 : q.innerText) || "";
1591
- }, d = w({}), y = w(0), c = w(0), _ = w(""), h = k(() => [a.value, r.value]), F = ce(
1591
+ }, d = w({}), y = w(0), c = w(0), _ = w(""), h = k(() => [a.value, r.value]), F = se(
1592
1592
  h,
1593
1593
  (x) => {
1594
1594
  if (o.value && (s(), "ResizeObserver" in window && window)) {
@@ -1628,14 +1628,14 @@ const le = "24px", We = (e, t) => {
1628
1628
  ]),
1629
1629
  _: 3
1630
1630
  }, 8, ["text"])
1631
- ], 8, ma)) : G(x.$slots, "default", { key: 1 }, void 0, !0)
1631
+ ], 8, va)) : G(x.$slots, "default", { key: 1 }, void 0, !0)
1632
1632
  ], 512);
1633
1633
  };
1634
1634
  }
1635
- }), ba = /* @__PURE__ */ be(va, [["__scopeId", "data-v-471ce76e"]]), wa = { class: "toolbar-container" }, Ca = {
1635
+ }), wa = /* @__PURE__ */ be(ba, [["__scopeId", "data-v-471ce76e"]]), Ca = { class: "toolbar-container" }, ka = {
1636
1636
  key: 0,
1637
1637
  class: "toolbar-button-container"
1638
- }, ka = ["data-testid"], _a = /* @__PURE__ */ X({
1638
+ }, _a = ["data-testid"], Sa = /* @__PURE__ */ X({
1639
1639
  __name: "EntityBaseTable",
1640
1640
  props: {
1641
1641
  // table header configuration
@@ -1803,7 +1803,7 @@ const le = "24px", We = (e, t) => {
1803
1803
  a("click:row", N);
1804
1804
  }), x = (u) => {
1805
1805
  a("sort", u);
1806
- }, { setTablePreferences: O, getTablePreferences: q } = ht(), D = w(q(i.value)), v = k(() => {
1806
+ }, { setTablePreferences: O, getTablePreferences: q } = mt(), D = w(q(i.value)), v = k(() => {
1807
1807
  const u = q(i.value);
1808
1808
  return {
1809
1809
  ...r.initialFetcherParams,
@@ -1854,9 +1854,9 @@ const le = "24px", We = (e, t) => {
1854
1854
  "onUpdate:tablePreferences": J
1855
1855
  }, $e({
1856
1856
  toolbar: l(({ state: E }) => [
1857
- je(W("div", wa, [
1857
+ je(W("div", Ca, [
1858
1858
  G(u.$slots, "toolbar-filter", {}, void 0, !0),
1859
- u.$slots["toolbar-button"] ? (C(), P("div", Ca, [
1859
+ u.$slots["toolbar-button"] ? (C(), P("div", ka, [
1860
1860
  G(u.$slots, "toolbar-button", {}, void 0, !0)
1861
1861
  ])) : H("", !0)
1862
1862
  ], 512), [
@@ -1888,21 +1888,21 @@ const le = "24px", We = (e, t) => {
1888
1888
  size: "small"
1889
1889
  }, {
1890
1890
  default: l(() => [
1891
- m(b(ha))
1891
+ m(b(ma))
1892
1892
  ]),
1893
1893
  _: 1
1894
1894
  })
1895
1895
  ]),
1896
1896
  _: 2
1897
1897
  }, 1032, ["width"])
1898
- ], 8, ka)
1898
+ ], 8, _a)
1899
1899
  ]),
1900
1900
  _: 2
1901
1901
  }, [
1902
1902
  Fe(e.tableHeaders, (E, U) => ({
1903
1903
  name: U,
1904
1904
  fn: l(({ row: Q, rowKey: p, rowValue: S }) => [
1905
- m(ba, {
1905
+ m(wa, {
1906
1906
  "key-name": String(U),
1907
1907
  "row-el": c(Q),
1908
1908
  tooltip: E.tooltip
@@ -1923,7 +1923,7 @@ const le = "24px", We = (e, t) => {
1923
1923
  e.query ? void 0 : {
1924
1924
  name: "empty-state-action-icon",
1925
1925
  fn: l(() => [
1926
- m(b(ua))
1926
+ m(b(da))
1927
1927
  ]),
1928
1928
  key: "0"
1929
1929
  }
@@ -1933,13 +1933,13 @@ const le = "24px", We = (e, t) => {
1933
1933
  }, 8, ["title", "title-tag"]);
1934
1934
  };
1935
1935
  }
1936
- }), Sa = /* @__PURE__ */ be(_a, [["__scopeId", "data-v-0496d9a7"]]), xa = {
1936
+ }), xa = /* @__PURE__ */ be(Sa, [["__scopeId", "data-v-0496d9a7"]]), Na = {
1937
1937
  key: 0,
1938
1938
  class: "kong-ui-entity-delete-error"
1939
- }, Na = {
1939
+ }, Aa = {
1940
1940
  key: 1,
1941
1941
  class: "description"
1942
- }, Aa = /* @__PURE__ */ X({
1942
+ }, Ia = /* @__PURE__ */ X({
1943
1943
  __name: "EntityDeleteModal",
1944
1944
  props: {
1945
1945
  visible: {
@@ -1997,7 +1997,7 @@ const le = "24px", We = (e, t) => {
1997
1997
  onProceed: s
1998
1998
  }, {
1999
1999
  default: l(() => [
2000
- e.error ? (C(), P("div", xa, [
2000
+ e.error ? (C(), P("div", Na, [
2001
2001
  m(y, { appearance: "danger" }, {
2002
2002
  default: l(() => [
2003
2003
  L(I(e.error), 1)
@@ -2023,7 +2023,7 @@ const le = "24px", We = (e, t) => {
2023
2023
  key: "0"
2024
2024
  } : void 0
2025
2025
  ]), 1032, ["keypath"]),
2026
- a.description || f.$slots.description ? (C(), P("div", Na, [
2026
+ a.description || f.$slots.description ? (C(), P("div", Aa, [
2027
2027
  G(f.$slots, "description", {}, () => [
2028
2028
  W("p", null, I(a.description), 1)
2029
2029
  ], !0)
@@ -2033,7 +2033,7 @@ const le = "24px", We = (e, t) => {
2033
2033
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
2034
2034
  };
2035
2035
  }
2036
- }), Ia = /* @__PURE__ */ be(Aa, [["__scopeId", "data-v-4361d622"]]), pe = /* @__PURE__ */ X({
2036
+ }), Ta = /* @__PURE__ */ be(Ia, [["__scopeId", "data-v-4361d622"]]), de = /* @__PURE__ */ X({
2037
2037
  __name: "PermissionsWrapper",
2038
2038
  props: {
2039
2039
  /**
@@ -2056,18 +2056,18 @@ const le = "24px", We = (e, t) => {
2056
2056
  },
2057
2057
  setup(e) {
2058
2058
  const t = e, r = w(void 0), a = k(() => r.value === !0 || r.value !== void 0 && t.forceShow === !0);
2059
- return ce(() => t.authFunction, async () => {
2059
+ return se(() => t.authFunction, async () => {
2060
2060
  r.value = await t.authFunction();
2061
2061
  }, { immediate: !0 }), (n, o) => a.value ? G(n.$slots, "default", {
2062
2062
  key: 0,
2063
2063
  isAllowed: r.value
2064
2064
  }) : H("", !0);
2065
2065
  }
2066
- }), Ta = [];
2066
+ }), Ea = [];
2067
2067
  for (let e = 0; e < 256; ++e)
2068
- Ta.push((e + 256).toString(16).slice(1));
2068
+ Ea.push((e + 256).toString(16).slice(1));
2069
2069
  typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
2070
- const { useAxios: Ea, useDeleteUrlBuilder: Oa, useErrors: Ra, useExternalLinkCreator: Da, useFetchUrlBuilder: za, useFetcher: $a, useDebouncedFilter: Ha, useStringHelpers: Va, useHelpers: Wa, useGatewayFeatureSupported: Ja, useTruncationDetector: Ya, useValidators: Za } = ve, ja = { class: "kong-ui-entities-consumer-credentials-list" }, Ka = { key: 1 }, Fa = /* @__PURE__ */ X({
2070
+ const { useAxios: Oa, useDeleteUrlBuilder: $a, useErrors: Da, useExternalLinkCreator: za, useFetchUrlBuilder: Ha, useFetcher: ja, useDebouncedFilter: Va, useStringHelpers: Wa, useHelpers: Ja, useGatewayFeatureSupported: Ya, useTruncationDetector: Za, useValidators: Ga } = ve, Ka = { class: "kong-ui-entities-consumer-credentials-list" }, Fa = { key: 1 }, qa = /* @__PURE__ */ X({
2071
2071
  __name: "ConsumerCredentialList",
2072
2072
  props: {
2073
2073
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2108,7 +2108,7 @@ const { useAxios: Ea, useDeleteUrlBuilder: Oa, useErrors: Ra, useExternalLinkCre
2108
2108
  emits: ["error", "copy:success", "copy:error", "delete:success"],
2109
2109
  setup(e, { emit: t }) {
2110
2110
  var Q;
2111
- const r = t, a = e, { i18n: { t: n, formatUnixTimeStamp: o } } = dt.useI18n(), { axiosInstance: i } = Ea((Q = a.config) == null ? void 0 : Q.axiosRequestConfig), s = w(1), f = {
2111
+ const r = t, a = e, { i18n: { t: n, formatUnixTimeStamp: o } } = pt.useI18n(), { axiosInstance: i } = Oa((Q = a.config) == null ? void 0 : Q.axiosRequestConfig), s = w(1), f = {
2112
2112
  acls: {
2113
2113
  group: { label: n("credentials.list.table_headers.acls.group") },
2114
2114
  created_at: { label: n("credentials.list.table_headers.acls.created_at") },
@@ -2150,9 +2150,9 @@ const { useAxios: Ea, useDeleteUrlBuilder: Oa, useErrors: Ra, useExternalLinkCre
2150
2150
  tags: { label: n("credentials.list.table_headers.jwt.tags") }
2151
2151
  }
2152
2152
  }, d = k(() => f[a.config.plugin]), y = k(() => {
2153
- let p = `${a.config.apiBaseUrl}${pt.list[a.config.app]}`;
2153
+ let p = `${a.config.apiBaseUrl}${ft.list[a.config.app]}`;
2154
2154
  return a.config.app === "konnect" ? p = p.replace(/{controlPlaneId}/gi, a.config.controlPlaneId || "").replace(/{consumerId}/gi, a.config.consumerId || "").replace(/{plugin}/gi, a.config.plugin || "") : a.config.app === "kongManager" && (p = p.replace(/\/{workspace}/gi, a.config.workspace ? `/${a.config.workspace}` : "").replace(/{consumerId}/gi, a.config.consumerId || "").replace(/{plugin}/gi, a.config.plugin || "")), p;
2155
- }), { fetcher: c, fetcherState: _ } = $a(a.config, y), h = () => {
2155
+ }), { fetcher: c, fetcherState: _ } = ja(a.config, y), h = () => {
2156
2156
  s.value++;
2157
2157
  }, F = w(null), A = (p, S, V) => {
2158
2158
  const B = S ? p[S] : JSON.stringify(p);
@@ -2176,7 +2176,7 @@ const { useAxios: Ea, useDeleteUrlBuilder: Oa, useErrors: Ra, useExternalLinkCre
2176
2176
  }, q = (p) => ({
2177
2177
  label: n("credentials.actions.edit"),
2178
2178
  to: a.config.getEditRoute(p)
2179
- }), D = w(void 0), v = w(!1), J = w(!1), u = w(""), N = Oa(a.config, y.value), T = k(() => Pe[a.config.plugin]), j = (p) => {
2179
+ }), D = w(void 0), v = w(!1), J = w(!1), u = w(""), N = $a(a.config, y.value), T = k(() => Pe[a.config.plugin]), j = (p) => {
2180
2180
  D.value = p, v.value = !0;
2181
2181
  }, Y = () => {
2182
2182
  v.value = !1;
@@ -2193,7 +2193,7 @@ const { useAxios: Ea, useDeleteUrlBuilder: Oa, useErrors: Ra, useExternalLinkCre
2193
2193
  }
2194
2194
  }
2195
2195
  }, E = w(!0);
2196
- ce(_, (p) => {
2196
+ se(_, (p) => {
2197
2197
  var S, V, B, oe;
2198
2198
  if (Array.isArray((S = p == null ? void 0 : p.response) == null ? void 0 : S.data) && (E.value = p.response.data.length > 0), p.status === ee.Error) {
2199
2199
  F.value = {
@@ -2213,8 +2213,8 @@ const { useAxios: Ea, useDeleteUrlBuilder: Oa, useErrors: Ra, useExternalLinkCre
2213
2213
  await a.canCreate() && (U.value.title = n(`credentials.list.empty_state.${a.config.plugin}.title`), U.value.ctaText = n(`credentials.list.empty_state.${a.config.plugin}.cta`));
2214
2214
  }), (p, S) => {
2215
2215
  const V = R("KButton"), B = R("KCopy"), oe = R("KBadge"), Je = R("KTruncate"), Z = R("KDropdownItem"), re = R("KClipboardProvider");
2216
- return C(), P("div", ja, [
2217
- m(b(Sa), {
2216
+ return C(), P("div", Ka, [
2217
+ m(b(xa), {
2218
2218
  "cache-identifier": e.cacheIdentifier,
2219
2219
  "disable-pagination-page-jump": "",
2220
2220
  "disable-row-click": "",
@@ -2231,34 +2231,32 @@ const { useAxios: Ea, useDeleteUrlBuilder: Oa, useErrors: Ra, useExternalLinkCre
2231
2231
  onSort: h
2232
2232
  }, {
2233
2233
  "toolbar-button": l(() => [
2234
- (C(), z(se(e.useActionOutside ? "Teleport" : "div"), {
2235
- to: e.useActionOutside ? "#kong-ui-app-page-header-action-button" : void 0
2236
- }, {
2237
- default: l(() => [
2238
- m(b(pe), {
2239
- "auth-function": () => e.canCreate()
2240
- }, {
2241
- default: l(() => [
2242
- je(m(V, {
2243
- appearance: "primary",
2244
- "data-testid": "toolbar-add-credential",
2245
- size: "large",
2246
- to: e.config.createRoute
2247
- }, {
2248
- default: l(() => [
2249
- m(b(lt)),
2250
- L(" " + I(b(n)(`credentials.list.toolbar_actions.${e.config.plugin}.new`)), 1)
2251
- ]),
2252
- _: 1
2253
- }, 8, ["to"]), [
2254
- [Ke, E.value]
2255
- ])
2256
- ]),
2257
- _: 1
2258
- }, 8, ["auth-function"])
2259
- ]),
2260
- _: 1
2261
- }, 8, ["to"]))
2234
+ (C(), z(Qe, {
2235
+ disabled: !e.useActionOutside,
2236
+ to: "#kong-ui-app-page-header-action-button"
2237
+ }, [
2238
+ m(b(de), {
2239
+ "auth-function": () => e.canCreate()
2240
+ }, {
2241
+ default: l(() => [
2242
+ je(m(V, {
2243
+ appearance: "primary",
2244
+ "data-testid": "toolbar-add-credential",
2245
+ size: "large",
2246
+ to: e.config.createRoute
2247
+ }, {
2248
+ default: l(() => [
2249
+ m(b(st)),
2250
+ L(" " + I(b(n)(`credentials.list.toolbar_actions.${e.config.plugin}.new`)), 1)
2251
+ ]),
2252
+ _: 1
2253
+ }, 8, ["to"]), [
2254
+ [Ke, E.value]
2255
+ ])
2256
+ ]),
2257
+ _: 1
2258
+ }, 8, ["auth-function"])
2259
+ ], 8, ["disabled"]))
2262
2260
  ]),
2263
2261
  group: l(({ rowValue: g }) => [
2264
2262
  W("b", null, I(g ?? "-"), 1)
@@ -2303,9 +2301,9 @@ const { useAxios: Ea, useDeleteUrlBuilder: Oa, useErrors: Ra, useExternalLinkCre
2303
2301
  tags: l(({ rowValue: g }) => [
2304
2302
  (g == null ? void 0 : g.length) > 0 ? (C(), z(Je, { key: 0 }, {
2305
2303
  default: l(() => [
2306
- (C(!0), P(Qe, null, Fe(g, (M) => (C(), z(oe, {
2304
+ (C(!0), P(et, null, Fe(g, (M) => (C(), z(oe, {
2307
2305
  key: M,
2308
- onClick: S[0] || (S[0] = et(() => {
2306
+ onClick: S[0] || (S[0] = tt(() => {
2309
2307
  }, ["stop"]))
2310
2308
  }, {
2311
2309
  default: l(() => [
@@ -2315,7 +2313,7 @@ const { useAxios: Ea, useDeleteUrlBuilder: Oa, useErrors: Ra, useExternalLinkCre
2315
2313
  }, 1024))), 128))
2316
2314
  ]),
2317
2315
  _: 2
2318
- }, 1024)) : (C(), P("span", Ka, "-"))
2316
+ }, 1024)) : (C(), P("span", Fa, "-"))
2319
2317
  ]),
2320
2318
  actions: l(({ row: g }) => [
2321
2319
  m(re, null, {
@@ -2402,7 +2400,7 @@ const { useAxios: Ea, useDeleteUrlBuilder: Oa, useErrors: Ra, useExternalLinkCre
2402
2400
  ]),
2403
2401
  _: 2
2404
2402
  }, 1024),
2405
- m(b(pe), {
2403
+ m(b(de), {
2406
2404
  "auth-function": () => e.canEdit(g)
2407
2405
  }, {
2408
2406
  default: l(() => [
@@ -2414,7 +2412,7 @@ const { useAxios: Ea, useDeleteUrlBuilder: Oa, useErrors: Ra, useExternalLinkCre
2414
2412
  ]),
2415
2413
  _: 2
2416
2414
  }, 1032, ["auth-function"]),
2417
- m(b(pe), {
2415
+ m(b(de), {
2418
2416
  "auth-function": () => e.canDelete(g)
2419
2417
  }, {
2420
2418
  default: l(() => [
@@ -2435,7 +2433,7 @@ const { useAxios: Ea, useDeleteUrlBuilder: Oa, useErrors: Ra, useExternalLinkCre
2435
2433
  ]),
2436
2434
  _: 1
2437
2435
  }, 8, ["cache-identifier", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "table-headers", "use-action-outside"]),
2438
- m(b(Ia), {
2436
+ m(b(Ta), {
2439
2437
  "action-pending": J.value,
2440
2438
  description: b(n)("credentials.delete.description"),
2441
2439
  "entity-type": T.value,
@@ -2448,12 +2446,12 @@ const { useAxios: Ea, useDeleteUrlBuilder: Oa, useErrors: Ra, useExternalLinkCre
2448
2446
  ]);
2449
2447
  };
2450
2448
  }
2451
- }), qa = (e, t) => {
2449
+ }), Ma = (e, t) => {
2452
2450
  const r = e.__vccOpts || e;
2453
2451
  for (const [a, n] of t)
2454
2452
  r[a] = n;
2455
2453
  return r;
2456
- }, Ga = /* @__PURE__ */ qa(Fa, [["__scopeId", "data-v-97533854"]]);
2454
+ }, Xa = /* @__PURE__ */ Ma(qa, [["__scopeId", "data-v-533f6d09"]]);
2457
2455
  export {
2458
- Ga as ConsumerCredentialList
2456
+ Xa as ConsumerCredentialList
2459
2457
  };