@kong-ui-public/entities-consumer-credentials 2.1.12 → 2.1.13

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,4 +1,4 @@
1
- import { defineComponent as ie, ref as v, computed as N, watch as se, renderSlot as Y, createCommentVNode as G, unref as m, resolveComponent as M, openBlock as j, createBlock as H, withCtx as s, createVNode as g, createSlots as Ae, withDirectives as Te, createElementVNode as ee, createElementBlock as V, vShow as Ne, renderList as Ie, createTextVNode as L, toDisplayString as x, onMounted as Re, onUnmounted as Be, onBeforeMount as qe, Teleport as ze, Fragment as He, withModifiers as We } from "vue";
1
+ import { defineComponent as ie, ref as v, computed as N, watch as se, renderSlot as Y, createCommentVNode as G, unref as m, resolveComponent as F, openBlock as j, createBlock as z, withCtx as s, createVNode as g, createSlots as Te, withDirectives as Ae, createElementVNode as ee, createElementBlock as V, vShow as Ne, renderList as Ie, createTextVNode as U, toDisplayString as x, onMounted as Re, onUnmounted as qe, onBeforeMount as Be, Teleport as We, Fragment as ze, withModifiers as He } from "vue";
2
2
  import { createI18n as xe, i18nTComponent as Ee } from "@kong-ui-public/i18n";
3
3
  import Je from "axios";
4
4
  import "@kong/kongponents";
@@ -269,6 +269,9 @@ const rt = {
269
269
  enabledLabel: "Enabled",
270
270
  disabledLabel: "Disabled"
271
271
  },
272
+ endpoints: {
273
+ get: "Get"
274
+ },
272
275
  copy: {
273
276
  tooltip: "Copy {label}",
274
277
  success: "Copied!"
@@ -380,21 +383,21 @@ function pt(e, r, t, a = {
380
383
  headers: e.requestHeaders
381
384
  }), { i18n: { t: i } } = pe(), { debounce: l } = Xe(), o = l(async (w) => {
382
385
  await ae(w);
383
- }, 200), d = v(!1), p = v(""), b = v(""), y = v([]), A = v([]), _ = v(void 0), U = m(r);
384
- let f = `${e.apiBaseUrl}${U}`;
386
+ }, 200), d = v(!1), p = v(""), b = v(""), y = v([]), T = v([]), _ = v(void 0), L = m(r);
387
+ let f = `${e.apiBaseUrl}${L}`;
385
388
  e.app === "konnect" ? f = f.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (f = f.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
386
- const { isValidUuid: T } = je(), P = async () => {
389
+ const { isValidUuid: A } = je(), D = async () => {
387
390
  try {
388
391
  d.value = !0;
389
392
  const { data: w } = await n.get(`${f}?size=${t}`);
390
- w != null && w.next || (_.value = a.fetchedItemsKey in w ? w[a.fetchedItemsKey] : []), A.value = a.fetchedItemsKey in w ? w[a.fetchedItemsKey] : [], y.value = A.value;
393
+ w != null && w.next || (_.value = a.fetchedItemsKey in w ? w[a.fetchedItemsKey] : []), T.value = a.fetchedItemsKey in w ? w[a.fetchedItemsKey] : [], y.value = T.value;
391
394
  } catch {
392
395
  y.value = [], p.value = i("debouncedFilter.errors.fetch");
393
396
  } finally {
394
397
  d.value = !1;
395
398
  }
396
399
  }, Z = v(""), ae = async (w) => {
397
- var c, k, q;
400
+ var c, k, B;
398
401
  if (Z.value !== w)
399
402
  if (Z.value = w || "", _.value === void 0)
400
403
  try {
@@ -405,7 +408,7 @@ function pt(e, r, t, a = {
405
408
  a.fetchedItemsKey in K ? y.value = K[a.fetchedItemsKey] : K != null && K.id ? y.value = [K] : y.value = [];
406
409
  } else if (w) {
407
410
  const E = [];
408
- T(w) && a.searchKeys.includes("id") ? E.push((async () => {
411
+ A(w) && a.searchKeys.includes("id") ? E.push((async () => {
409
412
  const { data: I } = await n.get(`${f}/${w}`);
410
413
  return [I[a.fetchedItemsKey] ?? I];
411
414
  })()) : E.push(
@@ -414,29 +417,29 @@ function pt(e, r, t, a = {
414
417
  return O[a.fetchedItemsKey];
415
418
  })
416
419
  );
417
- const K = await Promise.all(E), z = /* @__PURE__ */ new Set();
420
+ const K = await Promise.all(E), W = /* @__PURE__ */ new Set();
418
421
  y.value = [], (c = K == null ? void 0 : K.forEach) == null || c.call(K, (I) => {
419
422
  var O;
420
423
  (O = I == null ? void 0 : I.forEach) == null || O.call(I, (R) => {
421
- z.has(R.id) || (z.add(R.id), y.value.push(R));
424
+ W.has(R.id) || (W.add(R.id), y.value.push(R));
422
425
  });
423
426
  });
424
427
  } else
425
- y.value = A.value;
428
+ y.value = T.value;
426
429
  } catch (E) {
427
430
  ((k = E == null ? void 0 : E.response) == null ? void 0 : k.status) === 404 ? b.value = i("debouncedFilter.errors.invalid") : (y.value = [], p.value = i("debouncedFilter.errors.fetch"));
428
431
  } finally {
429
432
  d.value = !1;
430
433
  }
431
434
  else
432
- d.value = !0, b.value = "", w ? (y.value = (q = _.value) == null ? void 0 : q.filter((E) => {
435
+ d.value = !0, b.value = "", w ? (y.value = (B = _.value) == null ? void 0 : B.filter((E) => {
433
436
  var K;
434
- let z = !1;
437
+ let W = !1;
435
438
  for (const I of a.searchKeys) {
436
439
  const O = typeof E[I] == "string" ? (K = E[I]) == null ? void 0 : K.toLowerCase() : E[I];
437
- O != null && O.includes(w.toLowerCase()) && (z = !0);
440
+ O != null && O.includes(w.toLowerCase()) && (W = !0);
438
441
  }
439
- return z;
442
+ return W;
440
443
  }), (!y.value || !y.value.length) && (b.value = i("debouncedFilter.errors.invalid"))) : y.value = _.value, d.value = !1;
441
444
  };
442
445
  return {
@@ -445,7 +448,7 @@ function pt(e, r, t, a = {
445
448
  validationError: b,
446
449
  results: y,
447
450
  allRecords: _,
448
- loadItems: P,
451
+ loadItems: D,
449
452
  debouncedQueryChange: o
450
453
  };
451
454
  }
@@ -501,11 +504,11 @@ function Ke(e, r) {
501
504
  () => a.value.startsWith("/") ? new URL(`${window.location.origin}${a.value}`) : new URL(a.value)
502
505
  );
503
506
  return (l) => {
504
- const { page: o, pageSize: d, offset: p, sortColumnKey: b, sortColumnOrder: y, query: A } = l;
507
+ const { page: o, pageSize: d, offset: p, sortColumnKey: b, sortColumnOrder: y, query: T } = l;
505
508
  try {
506
509
  let _ = new URL(i.value.href);
507
- return n.value && A ? (_.search = "", _ = t.value.app === "konnect" ? new URL(`${_.href}?filter[name][contains]=${A}`) : new URL(`${_.href}/${A}/`)) : (n.value || new URLSearchParams(A).forEach((U, f) => {
508
- _.searchParams.append(f, U);
510
+ return n.value && T ? (_.search = "", _ = t.value.app === "konnect" ? new URL(`${_.href}?filter[name][contains]=${T}`) : new URL(`${_.href}/${T}/`)) : (n.value || new URLSearchParams(T).forEach((L, f) => {
511
+ _.searchParams.append(f, L);
509
512
  }), b && _.searchParams.append("sort_by", b), y === "desc" && _.searchParams.append("sort_desc", "1"), _.searchParams.append("size", String(d))), p && o !== 1 && _.searchParams.append("offset", String(p)), _.href;
510
513
  } catch (_) {
511
514
  return console.error("RouteList(fetcher)", _), a.value;
@@ -524,7 +527,7 @@ function gt(e, r, t = "data") {
524
527
  const d = i(o), { data: p } = await n.get(d), b = t && t.replace(/[^\w-_]/gi, "");
525
528
  let y;
526
529
  p[b] && Array.isArray(p[b]) ? y = p[b] : Array.isArray(p) ? y = p : y = Object.keys(p).length ? [p] : [];
527
- const A = {
530
+ const T = {
528
531
  data: y,
529
532
  total: y.length,
530
533
  ...p.offset ? {
@@ -535,8 +538,8 @@ function gt(e, r, t = "data") {
535
538
  };
536
539
  return l.value = {
537
540
  status: Q.Idle,
538
- response: A
539
- }, A;
541
+ response: T
542
+ }, T;
540
543
  } catch (d) {
541
544
  const p = {
542
545
  data: [],
@@ -589,15 +592,15 @@ const $e = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
589
592
  }, ke = (e, r, t) => {
590
593
  kt(t);
591
594
  const a = wt(e, r);
592
- return Fe[t].includes(a);
593
- }, Fe = {
595
+ return Pe[t].includes(a);
596
+ }, Pe = {
594
597
  ">": [1],
595
598
  ">=": [0, 1],
596
599
  "=": [0],
597
600
  "<=": [-1, 0],
598
601
  "<": [-1],
599
602
  "!=": [-1, 1]
600
- }, Ce = Object.keys(Fe), kt = (e) => {
603
+ }, Ce = Object.keys(Pe), kt = (e) => {
601
604
  if (typeof e != "string")
602
605
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
603
606
  if (Ce.indexOf(e) === -1)
@@ -642,16 +645,16 @@ const fe = {
642
645
  for (const [a, n] of r)
643
646
  t[a] = n;
644
647
  return t;
645
- }, At = "#3a3f51";
648
+ }, Tt = "#3a3f51";
646
649
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
647
- function Pe(e) {
650
+ function De(e) {
648
651
  return typeof e > "u" || e === null;
649
652
  }
650
- function Tt(e) {
653
+ function At(e) {
651
654
  return typeof e == "object" && e !== null;
652
655
  }
653
656
  function Nt(e) {
654
- return Array.isArray(e) ? e : Pe(e) ? [] : [e];
657
+ return Array.isArray(e) ? e : De(e) ? [] : [e];
655
658
  }
656
659
  function It(e, r) {
657
660
  var t, a, n, i;
@@ -669,29 +672,29 @@ function xt(e, r) {
669
672
  function Et(e) {
670
673
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
671
674
  }
672
- var Ot = Pe, jt = Tt, Kt = Nt, $t = xt, Ft = Et, Pt = It, he = {
675
+ var Ot = De, jt = At, Kt = Nt, $t = xt, Pt = Et, Dt = It, he = {
673
676
  isNothing: Ot,
674
677
  isObject: jt,
675
678
  toArray: Kt,
676
679
  repeat: $t,
677
- isNegativeZero: Ft,
678
- extend: Pt
680
+ isNegativeZero: Pt,
681
+ extend: Dt
679
682
  };
680
- function Me(e, r) {
683
+ function Fe(e, r) {
681
684
  var t = "", a = e.reason || "(unknown reason)";
682
685
  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 += `
683
686
 
684
687
  ` + e.mark.snippet), a + " " + t) : a;
685
688
  }
686
689
  function ne(e, r) {
687
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = r, this.message = Me(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
690
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = r, this.message = Fe(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
688
691
  }
689
692
  ne.prototype = Object.create(Error.prototype);
690
693
  ne.prototype.constructor = ne;
691
694
  ne.prototype.toString = function(e) {
692
- return this.name + ": " + Me(this, e);
695
+ return this.name + ": " + Fe(this, e);
693
696
  };
694
- var X = ne, Mt = [
697
+ var X = ne, Ft = [
695
698
  "kind",
696
699
  "multi",
697
700
  "resolve",
@@ -702,12 +705,12 @@ var X = ne, Mt = [
702
705
  "representName",
703
706
  "defaultStyle",
704
707
  "styleAliases"
705
- ], Dt = [
708
+ ], Mt = [
706
709
  "scalar",
707
710
  "sequence",
708
711
  "mapping"
709
712
  ];
710
- function Lt(e) {
713
+ function Ut(e) {
711
714
  var r = {};
712
715
  return e !== null && Object.keys(e).forEach(function(t) {
713
716
  e[t].forEach(function(a) {
@@ -715,18 +718,18 @@ function Lt(e) {
715
718
  });
716
719
  }), r;
717
720
  }
718
- function Ut(e, r) {
721
+ function Lt(e, r) {
719
722
  if (r = r || {}, Object.keys(r).forEach(function(t) {
720
- if (Mt.indexOf(t) === -1)
723
+ if (Ft.indexOf(t) === -1)
721
724
  throw new X('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
722
725
  }), this.options = r, this.tag = e, this.kind = r.kind || null, this.resolve = r.resolve || function() {
723
726
  return !0;
724
727
  }, this.construct = r.construct || function(t) {
725
728
  return t;
726
- }, 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 = Lt(r.styleAliases || null), Dt.indexOf(this.kind) === -1)
729
+ }, 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 = Ut(r.styleAliases || null), Mt.indexOf(this.kind) === -1)
727
730
  throw new X('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
728
731
  }
729
- var $ = Ut;
732
+ var $ = Lt;
730
733
  function _e(e, r) {
731
734
  var t = [];
732
735
  return e[r].forEach(function(a) {
@@ -783,26 +786,26 @@ ue.prototype.extend = function(e) {
783
786
  var a = Object.create(ue.prototype);
784
787
  return a.implicit = (this.implicit || []).concat(r), a.explicit = (this.explicit || []).concat(t), a.compiledImplicit = _e(a, "implicit"), a.compiledExplicit = _e(a, "explicit"), a.compiledTypeMap = Rt(a.compiledImplicit, a.compiledExplicit), a;
785
788
  };
786
- var Bt = ue, qt = new $("tag:yaml.org,2002:str", {
789
+ var qt = ue, Bt = new $("tag:yaml.org,2002:str", {
787
790
  kind: "scalar",
788
791
  construct: function(e) {
789
792
  return e !== null ? e : "";
790
793
  }
791
- }), zt = new $("tag:yaml.org,2002:seq", {
794
+ }), Wt = new $("tag:yaml.org,2002:seq", {
792
795
  kind: "sequence",
793
796
  construct: function(e) {
794
797
  return e !== null ? e : [];
795
798
  }
796
- }), Ht = new $("tag:yaml.org,2002:map", {
799
+ }), zt = new $("tag:yaml.org,2002:map", {
797
800
  kind: "mapping",
798
801
  construct: function(e) {
799
802
  return e !== null ? e : {};
800
803
  }
801
- }), Wt = new Bt({
804
+ }), Ht = new qt({
802
805
  explicit: [
803
- qt,
804
- zt,
805
- Ht
806
+ Bt,
807
+ Wt,
808
+ zt
806
809
  ]
807
810
  });
808
811
  function Jt(e) {
@@ -1028,24 +1031,24 @@ var yr = new $("tag:yaml.org,2002:float", {
1028
1031
  predicate: fr,
1029
1032
  represent: pr,
1030
1033
  defaultStyle: "lowercase"
1031
- }), hr = Wt.extend({
1034
+ }), hr = Ht.extend({
1032
1035
  implicit: [
1033
1036
  Vt,
1034
1037
  er,
1035
1038
  sr,
1036
1039
  yr
1037
1040
  ]
1038
- }), gr = hr, De = new RegExp(
1041
+ }), gr = hr, Me = new RegExp(
1039
1042
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1040
- ), Le = new RegExp(
1043
+ ), Ue = new RegExp(
1041
1044
  "^([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]))?))?$"
1042
1045
  );
1043
1046
  function mr(e) {
1044
- return e === null ? !1 : De.exec(e) !== null || Le.exec(e) !== null;
1047
+ return e === null ? !1 : Me.exec(e) !== null || Ue.exec(e) !== null;
1045
1048
  }
1046
1049
  function vr(e) {
1047
- var r, t, a, n, i, l, o, d = 0, p = null, b, y, A;
1048
- if (r = De.exec(e), r === null && (r = Le.exec(e)), r === null)
1050
+ var r, t, a, n, i, l, o, d = 0, p = null, b, y, T;
1051
+ if (r = Me.exec(e), r === null && (r = Ue.exec(e)), r === null)
1049
1052
  throw new Error("Date resolve error");
1050
1053
  if (t = +r[1], a = +r[2] - 1, n = +r[3], !r[4])
1051
1054
  return new Date(Date.UTC(t, a, n));
@@ -1054,7 +1057,7 @@ function vr(e) {
1054
1057
  d += "0";
1055
1058
  d = +d;
1056
1059
  }
1057
- return r[9] && (b = +r[10], y = +(r[11] || 0), p = (b * 60 + y) * 6e4, r[9] === "-" && (p = -p)), A = new Date(Date.UTC(t, a, n, i, l, o, d)), p && A.setTime(A.getTime() - p), A;
1060
+ return r[9] && (b = +r[10], y = +(r[11] || 0), p = (b * 60 + y) * 6e4, r[9] === "-" && (p = -p)), T = new Date(Date.UTC(t, a, n, i, l, o, d)), p && T.setTime(T.getTime() - p), T;
1058
1061
  }
1059
1062
  function br(e) {
1060
1063
  return e.toISOString();
@@ -1092,21 +1095,21 @@ function Sr(e) {
1092
1095
  r % 4 === 0 && r && (o.push(l >> 16 & 255), o.push(l >> 8 & 255), o.push(l & 255)), l = l << 6 | i.indexOf(a.charAt(r));
1093
1096
  return t = n % 4 * 6, t === 0 ? (o.push(l >> 16 & 255), o.push(l >> 8 & 255), o.push(l & 255)) : t === 18 ? (o.push(l >> 10 & 255), o.push(l >> 2 & 255)) : t === 12 && o.push(l >> 4 & 255), new Uint8Array(o);
1094
1097
  }
1095
- function Ar(e) {
1098
+ function Tr(e) {
1096
1099
  var r = "", t = 0, a, n, i = e.length, l = ge;
1097
1100
  for (a = 0; a < i; a++)
1098
1101
  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];
1099
1102
  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;
1100
1103
  }
1101
- function Tr(e) {
1104
+ function Ar(e) {
1102
1105
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1103
1106
  }
1104
1107
  var Nr = new $("tag:yaml.org,2002:binary", {
1105
1108
  kind: "scalar",
1106
1109
  resolve: _r,
1107
1110
  construct: Sr,
1108
- predicate: Tr,
1109
- represent: Ar
1111
+ predicate: Ar,
1112
+ represent: Tr
1110
1113
  }), Ir = Object.prototype.hasOwnProperty, xr = Object.prototype.toString;
1111
1114
  function Er(e) {
1112
1115
  if (e === null)
@@ -1149,7 +1152,7 @@ function $r(e) {
1149
1152
  }
1150
1153
  return !0;
1151
1154
  }
1152
- function Fr(e) {
1155
+ function Pr(e) {
1153
1156
  if (e === null)
1154
1157
  return [];
1155
1158
  var r, t, a, n, i, l = e;
@@ -1157,27 +1160,27 @@ function Fr(e) {
1157
1160
  a = l[r], n = Object.keys(a), i[r] = [n[0], a[n[0]]];
1158
1161
  return i;
1159
1162
  }
1160
- var Pr = new $("tag:yaml.org,2002:pairs", {
1163
+ var Dr = new $("tag:yaml.org,2002:pairs", {
1161
1164
  kind: "sequence",
1162
1165
  resolve: $r,
1163
- construct: Fr
1164
- }), Mr = Object.prototype.hasOwnProperty;
1165
- function Dr(e) {
1166
+ construct: Pr
1167
+ }), Fr = Object.prototype.hasOwnProperty;
1168
+ function Mr(e) {
1166
1169
  if (e === null)
1167
1170
  return !0;
1168
1171
  var r, t = e;
1169
1172
  for (r in t)
1170
- if (Mr.call(t, r) && t[r] !== null)
1173
+ if (Fr.call(t, r) && t[r] !== null)
1171
1174
  return !1;
1172
1175
  return !0;
1173
1176
  }
1174
- function Lr(e) {
1177
+ function Ur(e) {
1175
1178
  return e !== null ? e : {};
1176
1179
  }
1177
- var Ur = new $("tag:yaml.org,2002:set", {
1180
+ var Lr = new $("tag:yaml.org,2002:set", {
1178
1181
  kind: "mapping",
1179
- resolve: Dr,
1180
- construct: Lr
1182
+ resolve: Mr,
1183
+ construct: Ur
1181
1184
  });
1182
1185
  gr.extend({
1183
1186
  implicit: [
@@ -1187,21 +1190,21 @@ gr.extend({
1187
1190
  explicit: [
1188
1191
  Nr,
1189
1192
  jr,
1190
- Pr,
1191
- Ur
1193
+ Dr,
1194
+ Lr
1192
1195
  ]
1193
1196
  });
1194
1197
  function Se(e) {
1195
1198
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1196
1199
  ` : 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" : "";
1197
1200
  }
1198
- var Rr = new Array(256), Br = new Array(256);
1201
+ var Rr = new Array(256), qr = new Array(256);
1199
1202
  for (var re = 0; re < 256; re++)
1200
- Rr[re] = Se(re) ? 1 : 0, Br[re] = Se(re);
1201
- const qr = {
1203
+ Rr[re] = Se(re) ? 1 : 0, qr[re] = Se(re);
1204
+ const Br = {
1202
1205
  key: 0,
1203
1206
  "data-testid": "first-col"
1204
- }, zr = /* @__PURE__ */ ie({
1207
+ }, Wr = /* @__PURE__ */ ie({
1205
1208
  __name: "EntityBaseTableCell",
1206
1209
  props: {
1207
1210
  keyName: {
@@ -1221,45 +1224,45 @@ const qr = {
1221
1224
  var f;
1222
1225
  return ((f = t.value) == null ? void 0 : f.querySelector('[data-testid="first-col"]')) || null;
1223
1226
  }), n = N(() => {
1224
- var f, T;
1225
- const P = (f = r.rowEl) == null ? void 0 : f.querySelectorAll("td");
1226
- return P ? ((T = P[0]) == null ? void 0 : T.getAttribute("data-testid")) === r.keyName : !1;
1227
+ var f, A;
1228
+ const D = (f = r.rowEl) == null ? void 0 : f.querySelectorAll("td");
1229
+ return D ? ((A = D[0]) == null ? void 0 : A.getAttribute("data-testid")) === r.keyName : !1;
1227
1230
  });
1228
1231
  let i;
1229
1232
  const l = () => {
1230
1233
  i && (i.disconnect(), i = void 0);
1231
1234
  }, o = () => {
1232
- var f, T, P;
1233
- p.value = ((f = a.value) == null ? void 0 : f.getBoundingClientRect().width) || 0, b.value = ((T = t.value) == null ? void 0 : T.clientWidth) || 0, y.value = ((P = d.value) == null ? void 0 : P.innerText) || "";
1234
- }, d = v({}), p = v(0), b = v(0), y = v(""), A = N(() => [a.value, t.value]), _ = se(
1235
- A,
1235
+ var f, A, D;
1236
+ p.value = ((f = a.value) == null ? void 0 : f.getBoundingClientRect().width) || 0, b.value = ((A = t.value) == null ? void 0 : A.clientWidth) || 0, y.value = ((D = d.value) == null ? void 0 : D.innerText) || "";
1237
+ }, d = v({}), p = v(0), b = v(0), y = v(""), T = N(() => [a.value, t.value]), _ = se(
1238
+ T,
1236
1239
  (f) => {
1237
1240
  if (n.value && (l(), "ResizeObserver" in window && window)) {
1238
- i = new ResizeObserver((T) => {
1241
+ i = new ResizeObserver((A) => {
1239
1242
  window.requestAnimationFrame(() => {
1240
- !Array.isArray(T) || !T.length || o();
1243
+ !Array.isArray(A) || !A.length || o();
1241
1244
  });
1242
1245
  });
1243
- for (const T of f)
1244
- T && i.observe(T);
1246
+ for (const A of f)
1247
+ A && i.observe(A);
1245
1248
  }
1246
1249
  },
1247
1250
  { immediate: !0, flush: "post", deep: !0 }
1248
- ), U = N(() => n.value ? p.value > b.value : !1);
1251
+ ), L = N(() => n.value ? p.value > b.value : !1);
1249
1252
  return Re(() => {
1250
1253
  o();
1251
- }), Be(() => {
1254
+ }), qe(() => {
1252
1255
  _();
1253
- }), (f, T) => {
1254
- const P = M("KTooltip");
1256
+ }), (f, A) => {
1257
+ const D = F("KTooltip");
1255
1258
  return j(), V("span", {
1256
1259
  ref_key: "contentRef",
1257
1260
  ref: d,
1258
1261
  class: "content-wrapper"
1259
1262
  }, [
1260
- n.value ? (j(), V("span", qr, [
1261
- g(P, {
1262
- label: U.value ? y.value : "",
1263
+ n.value ? (j(), V("span", Br, [
1264
+ g(D, {
1265
+ label: L.value ? y.value : "",
1263
1266
  "max-width": "300",
1264
1267
  placement: "bottomStart"
1265
1268
  }, {
@@ -1272,7 +1275,7 @@ const qr = {
1272
1275
  ], 512);
1273
1276
  };
1274
1277
  }
1275
- }), Hr = /* @__PURE__ */ ye(zr, [["__scopeId", "data-v-e42a20c9"]]), Wr = { class: "toolbar-container" }, Jr = {
1278
+ }), zr = /* @__PURE__ */ ye(Wr, [["__scopeId", "data-v-e42a20c9"]]), Hr = { class: "toolbar-container" }, Jr = {
1276
1279
  key: 0,
1277
1280
  class: "toolbar-button-container"
1278
1281
  }, Yr = ["data-testid"], Gr = /* @__PURE__ */ ie({
@@ -1399,11 +1402,11 @@ const qr = {
1399
1402
  }), l = N(() => t.cacheIdentifier || t.preferencesStorageKey), o = (c) => c.hasData || !!t.query, d = N(() => {
1400
1403
  const c = [];
1401
1404
  return Object.keys(t.tableHeaders).forEach((k) => {
1402
- const q = t.tableHeaders[k];
1405
+ const B = t.tableHeaders[k];
1403
1406
  c.push({
1404
- label: q.label ?? k,
1407
+ label: B.label ?? k,
1405
1408
  key: k,
1406
- sortable: q.sortable ?? !1
1409
+ sortable: B.sortable ?? !1
1407
1410
  });
1408
1411
  }), t.enableEntityActions && c.push({
1409
1412
  key: "actions",
@@ -1416,7 +1419,7 @@ const qr = {
1416
1419
  }), b = v({}), y = (c) => {
1417
1420
  var k;
1418
1421
  return (k = b.value) == null ? void 0 : k.$el.querySelector(`[data-rowid="${c.id}"]`);
1419
- }, A = (c) => {
1422
+ }, T = (c) => {
1420
1423
  const k = {
1421
1424
  "data-testid": c.headerKey,
1422
1425
  ...t.cellAttributes(c)
@@ -1427,34 +1430,34 @@ const qr = {
1427
1430
  textOverflow: "ellipsis"
1428
1431
  }), k;
1429
1432
  }, _ = () => {
1430
- a("empty-state-cta-clicked"), U();
1431
- }, U = () => {
1433
+ a("empty-state-cta-clicked"), L();
1434
+ }, L = () => {
1432
1435
  a("clear-search-input");
1433
1436
  }, f = N(() => t.disableRowClick ? void 0 : (c, k) => {
1434
1437
  a("click:row", k);
1435
- }), T = (c) => {
1438
+ }), A = (c) => {
1436
1439
  a("sort", c);
1437
- }, { setTablePreferences: P, getTablePreferences: Z } = tt(), ae = N(() => {
1440
+ }, { setTablePreferences: D, getTablePreferences: Z } = tt(), ae = N(() => {
1438
1441
  const c = Z(t.preferencesStorageKey);
1439
1442
  return {
1440
1443
  ...t.initialFetcherParams,
1441
1444
  ...c
1442
1445
  };
1443
1446
  }), w = (c) => {
1444
- t.preferencesStorageKey && P(t.preferencesStorageKey, c);
1447
+ t.preferencesStorageKey && D(t.preferencesStorageKey, c);
1445
1448
  };
1446
1449
  return (c, k) => {
1447
- const q = M("KIcon"), E = M("KButton"), K = M("KDropdown"), z = M("KTable"), I = M("KCard");
1448
- return j(), H(I, {
1450
+ const B = F("KIcon"), E = F("KButton"), K = F("KDropdown"), W = F("KTable"), I = F("KCard");
1451
+ return j(), z(I, {
1449
1452
  class: "kong-ui-entity-base-table",
1450
1453
  title: e.title
1451
1454
  }, {
1452
1455
  default: s(() => [
1453
- g(z, {
1456
+ g(W, {
1454
1457
  ref_key: "tableRefs",
1455
1458
  ref: b,
1456
1459
  "cache-identifier": l.value,
1457
- "cell-attrs": A,
1460
+ "cell-attrs": T,
1458
1461
  "disable-pagination-page-jump": e.disablePaginationPageJump,
1459
1462
  "disable-sorting": e.disableSorting,
1460
1463
  "empty-state-action-button-icon": e.query ? "" : "plus",
@@ -1479,11 +1482,11 @@ const qr = {
1479
1482
  "search-input": e.query,
1480
1483
  onKtableEmptyStateCtaClicked: _,
1481
1484
  "onRow:click": f.value,
1482
- onSort: k[0] || (k[0] = (O) => T(O)),
1485
+ onSort: k[0] || (k[0] = (O) => A(O)),
1483
1486
  "onUpdate:tablePreferences": w
1484
- }, Ae({
1487
+ }, Te({
1485
1488
  toolbar: s(({ state: O }) => [
1486
- Te(ee("div", Wr, [
1489
+ Ae(ee("div", Hr, [
1487
1490
  Y(c.$slots, "toolbar-filter", {}, void 0, !0),
1488
1491
  c.$slots["toolbar-button"] ? (j(), V("div", Jr, [
1489
1492
  Y(c.$slots, "toolbar-button", {}, void 0, !0)
@@ -1492,7 +1495,7 @@ const qr = {
1492
1495
  [Ne, o(O)]
1493
1496
  ])
1494
1497
  ]),
1495
- actions: s(({ row: O, rowKey: R, rowValue: W }) => [
1498
+ actions: s(({ row: O, rowKey: R, rowValue: H }) => [
1496
1499
  ee("div", {
1497
1500
  class: "actions-container",
1498
1501
  "data-testid": O.name
@@ -1505,7 +1508,7 @@ const qr = {
1505
1508
  Y(c.$slots, "actions", {
1506
1509
  row: O,
1507
1510
  rowKey: R,
1508
- rowValue: W
1511
+ rowValue: H
1509
1512
  }, void 0, !0)
1510
1513
  ]),
1511
1514
  default: s(() => [
@@ -1515,8 +1518,8 @@ const qr = {
1515
1518
  size: "small"
1516
1519
  }, {
1517
1520
  icon: s(() => [
1518
- g(q, {
1519
- color: m(At),
1521
+ g(B, {
1522
+ color: m(Tt),
1520
1523
  icon: "more",
1521
1524
  size: "16"
1522
1525
  }, null, 8, ["color"])
@@ -1532,18 +1535,18 @@ const qr = {
1532
1535
  }, [
1533
1536
  Ie(e.tableHeaders, (O, R) => ({
1534
1537
  name: R,
1535
- fn: s(({ row: W, rowKey: u, rowValue: C }) => [
1536
- g(Hr, {
1538
+ fn: s(({ row: H, rowKey: u, rowValue: C }) => [
1539
+ g(zr, {
1537
1540
  "key-name": String(R),
1538
- "row-el": y(W)
1541
+ "row-el": y(H)
1539
1542
  }, {
1540
1543
  default: s(() => [
1541
1544
  Y(c.$slots, R, {
1542
- row: W,
1545
+ row: H,
1543
1546
  rowKey: u,
1544
1547
  rowValue: C
1545
1548
  }, () => [
1546
- L(x(C), 1)
1549
+ U(x(C), 1)
1547
1550
  ], !0)
1548
1551
  ]),
1549
1552
  _: 2
@@ -1607,8 +1610,8 @@ const qr = {
1607
1610
  n("proceed");
1608
1611
  };
1609
1612
  return (d, p) => {
1610
- const b = M("KAlert"), y = M("KPrompt");
1611
- return j(), H(y, {
1613
+ const b = F("KAlert"), y = F("KPrompt");
1614
+ return j(), z(y, {
1612
1615
  "action-button-text": "Yes, delete",
1613
1616
  "action-pending": e.actionPending,
1614
1617
  class: "kong-ui-entity-delete-modal",
@@ -1623,7 +1626,7 @@ const qr = {
1623
1626
  e.error ? (j(), V("div", Zr, [
1624
1627
  g(b, { appearance: "danger" }, {
1625
1628
  alertMessage: s(() => [
1626
- L(x(e.error), 1)
1629
+ U(x(e.error), 1)
1627
1630
  ]),
1628
1631
  _: 1
1629
1632
  })
@@ -1632,9 +1635,9 @@ const qr = {
1632
1635
  class: "message",
1633
1636
  keypath: a.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
1634
1637
  tag: "p"
1635
- }, Ae({
1638
+ }, Te({
1636
1639
  entityType: s(() => [
1637
- L(x(a.entityType), 1)
1640
+ U(x(a.entityType), 1)
1638
1641
  ]),
1639
1642
  _: 2
1640
1643
  }, [
@@ -1772,19 +1775,19 @@ const qr = {
1772
1775
  }, p = N(() => d[a.config.plugin]), b = N(() => {
1773
1776
  let u = `${a.config.apiBaseUrl}${Qe.list[a.config.app]}`;
1774
1777
  return a.config.app === "konnect" ? u = u.replace(/{controlPlaneId}/gi, a.config.controlPlaneId || "").replace(/{consumerId}/gi, a.config.consumerId || "").replace(/{plugin}/gi, a.config.plugin || "") : a.config.app === "kongManager" && (u = u.replace(/\/{workspace}/gi, a.config.workspace ? `/${a.config.workspace}` : "").replace(/{consumerId}/gi, a.config.consumerId || "").replace(/{plugin}/gi, a.config.plugin || "")), u;
1775
- }), { fetcher: y, fetcherState: A } = aa(a.config, b), _ = () => {
1778
+ }), { fetcher: y, fetcherState: T } = aa(a.config, b), _ = () => {
1776
1779
  o.value++;
1777
- }, U = v(null), f = (u, C, B) => {
1778
- const F = C ? u[C] : JSON.stringify(u);
1779
- if (!B(F)) {
1780
+ }, L = v(null), f = (u, C, q) => {
1781
+ const P = C ? u[C] : JSON.stringify(u);
1782
+ if (!q(P)) {
1780
1783
  Z(u, C);
1781
1784
  return;
1782
1785
  }
1783
- P(u, C);
1784
- }, T = (u, C, B) => {
1785
- const { type: F } = u;
1786
- F === "success" ? P(C, B) : Z(C, B);
1787
- }, P = (u, C) => {
1786
+ D(u, C);
1787
+ }, A = (u, C, q) => {
1788
+ const { type: P } = u;
1789
+ P === "success" ? D(C, q) : Z(C, q);
1790
+ }, D = (u, C) => {
1788
1791
  t("copy:success", {
1789
1792
  entity: u,
1790
1793
  field: C,
@@ -1799,52 +1802,52 @@ const qr = {
1799
1802
  }, ae = (u) => ({
1800
1803
  label: n("credentials.actions.edit"),
1801
1804
  to: a.config.getEditRoute(u)
1802
- }), w = v(void 0), c = v(!1), k = v(!1), q = v(""), E = ra(a.config, b.value), K = N(() => Oe[a.config.plugin]), z = (u) => {
1805
+ }), w = v(void 0), c = v(!1), k = v(!1), B = v(""), E = ra(a.config, b.value), K = N(() => Oe[a.config.plugin]), W = (u) => {
1803
1806
  w.value = u, c.value = !0;
1804
1807
  }, I = () => {
1805
1808
  c.value = !1;
1806
1809
  }, O = async () => {
1807
- var u, C, B;
1810
+ var u, C, q;
1808
1811
  if ((u = w.value) != null && u.id) {
1809
1812
  k.value = !0;
1810
1813
  try {
1811
1814
  await l.delete(E(w.value.id)), k.value = !1, c.value = !1, o.value++, t("delete:success", w.value);
1812
- } catch (F) {
1813
- q.value = ((B = (C = F.response) == null ? void 0 : C.data) == null ? void 0 : B.message) || F.message || n("credentials.error.delete"), t("error", F);
1815
+ } catch (P) {
1816
+ B.value = ((q = (C = P.response) == null ? void 0 : C.data) == null ? void 0 : q.message) || P.message || n("credentials.error.delete"), t("error", P);
1814
1817
  } finally {
1815
1818
  k.value = !1;
1816
1819
  }
1817
1820
  }
1818
1821
  }, R = v(!0);
1819
- se(A, (u) => {
1820
- var C, B, F, le;
1822
+ se(T, (u) => {
1823
+ var C, q, P, le;
1821
1824
  if (Array.isArray((C = u == null ? void 0 : u.response) == null ? void 0 : C.data) && (R.value = u.response.data.length > 0), u.status === Q.Error) {
1822
- U.value = {
1825
+ L.value = {
1823
1826
  title: n("credentials.error.general")
1824
- }, (le = (F = (B = u.error) == null ? void 0 : B.response) == null ? void 0 : F.data) != null && le.message && (U.value.message = u.error.response.data.message), t("error", u.error);
1827
+ }, (le = (P = (q = u.error) == null ? void 0 : q.response) == null ? void 0 : P.data) != null && le.message && (L.value.message = u.error.response.data.message), t("error", u.error);
1825
1828
  return;
1826
1829
  }
1827
- U.value = null;
1830
+ L.value = null;
1828
1831
  });
1829
- const W = v({
1832
+ const H = v({
1830
1833
  ctaPath: a.config.createRoute,
1831
1834
  ctaText: void 0,
1832
1835
  message: "",
1833
1836
  title: n("credentials.title")
1834
1837
  });
1835
- return qe(async () => {
1836
- await a.canCreate() && (W.value.title = n(`credentials.list.empty_state.${a.config.plugin}.title`), W.value.ctaText = n(`credentials.list.empty_state.${a.config.plugin}.cta`));
1838
+ return Be(async () => {
1839
+ await a.canCreate() && (H.value.title = n(`credentials.list.empty_state.${a.config.plugin}.title`), H.value.ctaText = n(`credentials.list.empty_state.${a.config.plugin}.cta`));
1837
1840
  }), (u, C) => {
1838
- const B = M("KButton"), F = M("CopyUuid"), le = M("KBadge"), Ue = M("KTruncate"), J = M("KDropdownItem"), te = M("KClipboardProvider");
1841
+ const q = F("KButton"), P = F("CopyUuid"), le = F("KBadge"), Le = F("KTruncate"), J = F("KDropdownItem"), te = F("KClipboardProvider");
1839
1842
  return j(), V("div", na, [
1840
1843
  g(m(Vr), {
1841
1844
  "cache-identifier": e.cacheIdentifier,
1842
1845
  "disable-pagination-page-jump": "",
1843
1846
  "disable-row-click": "",
1844
1847
  "disable-sorting": "",
1845
- "empty-state-options": W.value,
1848
+ "empty-state-options": H.value,
1846
1849
  "enable-entity-actions": "",
1847
- "error-message": U.value,
1850
+ "error-message": L.value,
1848
1851
  fetcher: m(y),
1849
1852
  "fetcher-cache-key": o.value,
1850
1853
  "pagination-type": "offset",
@@ -1854,7 +1857,7 @@ const qr = {
1854
1857
  onSort: _
1855
1858
  }, {
1856
1859
  "toolbar-button": s(() => [
1857
- (j(), H(ze, {
1860
+ (j(), z(We, {
1858
1861
  disabled: !e.useActionOutside,
1859
1862
  to: "#kong-ui-app-page-header-action-button"
1860
1863
  }, [
@@ -1862,14 +1865,14 @@ const qr = {
1862
1865
  "auth-function": () => e.canCreate()
1863
1866
  }, {
1864
1867
  default: s(() => [
1865
- Te(g(B, {
1868
+ Ae(g(q, {
1866
1869
  appearance: "primary",
1867
1870
  "data-testid": "toolbar-add-credential",
1868
1871
  icon: "plus",
1869
1872
  to: e.config.createRoute
1870
1873
  }, {
1871
1874
  default: s(() => [
1872
- L(x(m(n)(`credentials.list.toolbar_actions.${e.config.plugin}.new`)), 1)
1875
+ U(x(m(n)(`credentials.list.toolbar_actions.${e.config.plugin}.new`)), 1)
1873
1876
  ]),
1874
1877
  _: 1
1875
1878
  }, 8, ["to"]), [
@@ -1890,46 +1893,46 @@ const qr = {
1890
1893
  ee("span", null, x(h ?? "-"), 1)
1891
1894
  ]),
1892
1895
  password: s(({ row: h, rowValue: S }) => [
1893
- g(F, {
1896
+ g(P, {
1894
1897
  format: "redacted",
1895
- notify: (D) => T(D, h, "password"),
1898
+ notify: (M) => A(M, h, "password"),
1896
1899
  uuid: S
1897
1900
  }, null, 8, ["notify", "uuid"])
1898
1901
  ]),
1899
1902
  key: s(({ row: h, rowValue: S }) => [
1900
- g(F, {
1903
+ g(P, {
1901
1904
  format: "redacted",
1902
- notify: (D) => T(D, h, "key"),
1905
+ notify: (M) => A(M, h, "key"),
1903
1906
  uuid: S
1904
1907
  }, null, 8, ["notify", "uuid"])
1905
1908
  ]),
1906
1909
  client_secret: s(({ row: h, rowValue: S }) => [
1907
- g(F, {
1910
+ g(P, {
1908
1911
  format: "redacted",
1909
- notify: (D) => T(D, h, "client_secret"),
1912
+ notify: (M) => A(M, h, "client_secret"),
1910
1913
  uuid: S
1911
1914
  }, null, 8, ["notify", "uuid"])
1912
1915
  ]),
1913
1916
  secret: s(({ row: h, rowValue: S }) => [
1914
- g(F, {
1917
+ g(P, {
1915
1918
  format: "redacted",
1916
- notify: (D) => T(D, h, "secret"),
1919
+ notify: (M) => A(M, h, "secret"),
1917
1920
  uuid: S
1918
1921
  }, null, 8, ["notify", "uuid"])
1919
1922
  ]),
1920
1923
  created_at: s(({ rowValue: h }) => [
1921
- L(x(m(i)(h)), 1)
1924
+ U(x(m(i)(h)), 1)
1922
1925
  ]),
1923
1926
  tags: s(({ rowValue: h }) => [
1924
- (h == null ? void 0 : h.length) > 0 ? (j(), H(Ue, { key: 0 }, {
1927
+ (h == null ? void 0 : h.length) > 0 ? (j(), z(Le, { key: 0 }, {
1925
1928
  default: s(() => [
1926
- (j(!0), V(He, null, Ie(h, (S) => (j(), H(le, {
1929
+ (j(!0), V(ze, null, Ie(h, (S) => (j(), z(le, {
1927
1930
  key: S,
1928
- onClick: C[0] || (C[0] = We(() => {
1931
+ onClick: C[0] || (C[0] = He(() => {
1929
1932
  }, ["stop"]))
1930
1933
  }, {
1931
1934
  default: s(() => [
1932
- L(x(S), 1)
1935
+ U(x(S), 1)
1933
1936
  ]),
1934
1937
  _: 2
1935
1938
  }, 1024))), 128))
@@ -1942,66 +1945,66 @@ const qr = {
1942
1945
  default: s(({ copyToClipboard: S }) => [
1943
1946
  g(J, {
1944
1947
  "data-testid": "action-entity-copy-id",
1945
- onClick: (D) => f(h, "id", S)
1948
+ onClick: (M) => f(h, "id", S)
1946
1949
  }, {
1947
1950
  default: s(() => [
1948
- L(x(m(n)("credentials.actions.copy_id")), 1)
1951
+ U(x(m(n)("credentials.actions.copy_id")), 1)
1949
1952
  ]),
1950
1953
  _: 2
1951
1954
  }, 1032, ["onClick"])
1952
1955
  ]),
1953
1956
  _: 2
1954
1957
  }, 1024),
1955
- e.config.plugin === "basic-auth" ? (j(), H(te, { key: 0 }, {
1958
+ e.config.plugin === "basic-auth" ? (j(), z(te, { key: 0 }, {
1956
1959
  default: s(({ copyToClipboard: S }) => [
1957
1960
  g(J, {
1958
1961
  "data-testid": "action-entity-copy-credential",
1959
- onClick: (D) => f(h, "password", S)
1962
+ onClick: (M) => f(h, "password", S)
1960
1963
  }, {
1961
1964
  default: s(() => [
1962
- L(x(m(n)("credentials.actions.copy_credential")), 1)
1965
+ U(x(m(n)("credentials.actions.copy_credential")), 1)
1963
1966
  ]),
1964
1967
  _: 2
1965
1968
  }, 1032, ["onClick"])
1966
1969
  ]),
1967
1970
  _: 2
1968
1971
  }, 1024)) : G("", !0),
1969
- ["key-auth", "key-auth-enc", "jwt"].includes(e.config.plugin) ? (j(), H(te, { key: 1 }, {
1972
+ ["key-auth", "key-auth-enc", "jwt"].includes(e.config.plugin) ? (j(), z(te, { key: 1 }, {
1970
1973
  default: s(({ copyToClipboard: S }) => [
1971
1974
  g(J, {
1972
1975
  "data-testid": "action-entity-copy-key",
1973
- onClick: (D) => f(h, "key", S)
1976
+ onClick: (M) => f(h, "key", S)
1974
1977
  }, {
1975
1978
  default: s(() => [
1976
- L(x(m(n)("credentials.actions.copy_key")), 1)
1979
+ U(x(m(n)("credentials.actions.copy_key")), 1)
1977
1980
  ]),
1978
1981
  _: 2
1979
1982
  }, 1032, ["onClick"])
1980
1983
  ]),
1981
1984
  _: 2
1982
1985
  }, 1024)) : G("", !0),
1983
- e.config.plugin === "oauth2" ? (j(), H(te, { key: 2 }, {
1986
+ e.config.plugin === "oauth2" ? (j(), z(te, { key: 2 }, {
1984
1987
  default: s(({ copyToClipboard: S }) => [
1985
1988
  g(J, {
1986
1989
  "data-testid": "action-entity-copy-secret",
1987
- onClick: (D) => f(h, "client_secret", S)
1990
+ onClick: (M) => f(h, "client_secret", S)
1988
1991
  }, {
1989
1992
  default: s(() => [
1990
- L(x(m(n)("credentials.actions.copy_secret")), 1)
1993
+ U(x(m(n)("credentials.actions.copy_secret")), 1)
1991
1994
  ]),
1992
1995
  _: 2
1993
1996
  }, 1032, ["onClick"])
1994
1997
  ]),
1995
1998
  _: 2
1996
1999
  }, 1024)) : G("", !0),
1997
- e.config.plugin === "hmac-auth" ? (j(), H(te, { key: 3 }, {
2000
+ e.config.plugin === "hmac-auth" ? (j(), z(te, { key: 3 }, {
1998
2001
  default: s(({ copyToClipboard: S }) => [
1999
2002
  g(J, {
2000
2003
  "data-testid": "action-entity-copy-secret",
2001
- onClick: (D) => f(h, "secret", S)
2004
+ onClick: (M) => f(h, "secret", S)
2002
2005
  }, {
2003
2006
  default: s(() => [
2004
- L(x(m(n)("credentials.actions.copy_secret")), 1)
2007
+ U(x(m(n)("credentials.actions.copy_secret")), 1)
2005
2008
  ]),
2006
2009
  _: 2
2007
2010
  }, 1032, ["onClick"])
@@ -2012,10 +2015,10 @@ const qr = {
2012
2015
  default: s(({ copyToClipboard: S }) => [
2013
2016
  g(J, {
2014
2017
  "data-testid": "action-entity-copy-json",
2015
- onClick: (D) => f(h, void 0, S)
2018
+ onClick: (M) => f(h, void 0, S)
2016
2019
  }, {
2017
2020
  default: s(() => [
2018
- L(x(m(n)("credentials.actions.copy_json")), 1)
2021
+ U(x(m(n)("credentials.actions.copy_json")), 1)
2019
2022
  ]),
2020
2023
  _: 2
2021
2024
  }, 1032, ["onClick"])
@@ -2042,10 +2045,10 @@ const qr = {
2042
2045
  danger: "",
2043
2046
  "data-testid": "action-entity-delete",
2044
2047
  "has-divider": "",
2045
- onClick: (S) => z(h)
2048
+ onClick: (S) => W(h)
2046
2049
  }, {
2047
2050
  default: s(() => [
2048
- L(x(m(n)("credentials.actions.delete")), 1)
2051
+ U(x(m(n)("credentials.actions.delete")), 1)
2049
2052
  ]),
2050
2053
  _: 2
2051
2054
  }, 1032, ["onClick"])
@@ -2059,7 +2062,7 @@ const qr = {
2059
2062
  "action-pending": k.value,
2060
2063
  description: m(n)("credentials.delete.description"),
2061
2064
  "entity-type": K.value,
2062
- error: q.value,
2065
+ error: B.value,
2063
2066
  title: m(n)(`credentials.delete.${e.config.plugin}.title`),
2064
2067
  visible: c.value,
2065
2068
  onCancel: I,