@kong-ui-public/entities-consumers 1.2.9-pr.852.f575e5cc.0 → 1.2.9

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.
@@ -134,7 +134,7 @@ const Xe = {
134
134
  }
135
135
  }
136
136
  };
137
- var sn = /* @__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))(sn || {}), ut = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(ut || {}), _e = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(_e || {}), X = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(X || {}), ue = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ue || {});
137
+ var sn = /* @__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))(sn || {}), ut = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(ut || {}), we = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(we || {}), X = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(X || {}), ue = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ue || {});
138
138
  function ht(e = {}) {
139
139
  return {
140
140
  axiosInstance: ya.create({
@@ -156,12 +156,12 @@ function ka() {
156
156
  }
157
157
  };
158
158
  }
159
- const ot = "khcp-user-table-preferences", wa = {
159
+ const ot = "khcp-user-table-preferences", _a = {
160
160
  pageSize: 30,
161
161
  sortColumnKey: void 0,
162
162
  sortColumnOrder: void 0
163
163
  };
164
- function _a() {
164
+ function wa() {
165
165
  const e = (t) => {
166
166
  if (typeof t == "string")
167
167
  try {
@@ -185,7 +185,7 @@ function _a() {
185
185
  },
186
186
  getTablePreferences: (t) => {
187
187
  const a = n();
188
- return (a == null ? void 0 : a.get(t)) || void 0 || wa;
188
+ return (a == null ? void 0 : a.get(t)) || void 0 || _a;
189
189
  },
190
190
  deleteAllTablePreferences: () => {
191
191
  localStorage.removeItem(ot);
@@ -300,12 +300,12 @@ function Ea(e, n, t, a = {
300
300
  }), { i18n: { t: r } } = vt(), { debounce: i } = ka(), s = i(async (v) => {
301
301
  await I(v);
302
302
  }, 200), l = E(!1), u = E(""), d = E(""), c = E([]), h = E(void 0), f = g(n);
303
- let w = `${e.apiBaseUrl}${f}`;
304
- e.app === "konnect" ? w = w.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (w = w.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
303
+ let _ = `${e.apiBaseUrl}${f}`;
304
+ e.app === "konnect" ? _ = _.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (_ = _.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
305
305
  const C = async () => {
306
306
  try {
307
307
  l.value = !0;
308
- const { data: v } = await o.get(`${w}?size=${t}`);
308
+ const { data: v } = await o.get(`${_}?size=${t}`);
309
309
  v != null && v.next || (h.value = a.fetchedItemsKey in v ? v[a.fetchedItemsKey] : []), c.value = a.fetchedItemsKey in v ? v[a.fetchedItemsKey] : [];
310
310
  } catch {
311
311
  c.value = [], u.value = r("debouncedFilter.errors.fetch");
@@ -318,21 +318,21 @@ function Ea(e, n, t, a = {
318
318
  if (p.value = v || "", h.value === void 0)
319
319
  try {
320
320
  l.value = !0, u.value = "", d.value = "";
321
- let _ = w + "";
322
- v && (_ += `/${v}`);
323
- const { data: B } = await o.get(`${_}?size=${t}`);
321
+ let w = _ + "";
322
+ v && (w += `/${v}`);
323
+ const { data: B } = await o.get(`${w}?size=${t}`);
324
324
  a.fetchedItemsKey in B ? c.value = B[a.fetchedItemsKey] : B != null && B.id ? c.value = [B] : c.value = [];
325
- } catch (_) {
326
- ((b = _ == null ? void 0 : _.response) == null ? void 0 : b.status) === 404 ? d.value = r("debouncedFilter.errors.invalid") : (c.value = [], u.value = r("debouncedFilter.errors.fetch"));
325
+ } catch (w) {
326
+ ((b = w == null ? void 0 : w.response) == null ? void 0 : b.status) === 404 ? d.value = r("debouncedFilter.errors.invalid") : (c.value = [], u.value = r("debouncedFilter.errors.fetch"));
327
327
  } finally {
328
328
  l.value = !1;
329
329
  }
330
330
  else
331
- l.value = !0, d.value = "", v ? (c.value = (K = h.value) == null ? void 0 : K.filter((_) => {
331
+ l.value = !0, d.value = "", v ? (c.value = (K = h.value) == null ? void 0 : K.filter((w) => {
332
332
  var B;
333
333
  let R = !1;
334
334
  for (const k of a.searchKeys) {
335
- const A = typeof _[k] == "string" ? (B = _[k]) == null ? void 0 : B.toLowerCase() : _[k];
335
+ const A = typeof w[k] == "string" ? (B = w[k]) == null ? void 0 : B.toLowerCase() : w[k];
336
336
  A != null && A.includes(v.toLowerCase()) && (R = !0);
337
337
  }
338
338
  return R;
@@ -392,8 +392,8 @@ function ln(e, n) {
392
392
  const { page: s, pageSize: l, offset: u, sortColumnKey: d, sortColumnOrder: c, query: h } = i;
393
393
  try {
394
394
  let f = new URL(r.value.href);
395
- return o.value && h ? (f.search = "", f = new URL(`${f.href}/${h}/`)) : (o.value || new URLSearchParams(h).forEach((w, C) => {
396
- f.searchParams.append(C, w);
395
+ return o.value && h ? (f.search = "", f = new URL(`${f.href}/${h}/`)) : (o.value || new URLSearchParams(h).forEach((_, C) => {
396
+ f.searchParams.append(C, _);
397
397
  }), d && f.searchParams.append("sort_by", d), c === "desc" && f.searchParams.append("sort_desc", "1"), f.searchParams.append("size", String(l))), u && s !== 1 && f.searchParams.append("offset", String(u)), f.href;
398
398
  } catch (f) {
399
399
  return console.error("RouteList(fetcher)", f), a.value;
@@ -404,11 +404,11 @@ function Ka(e, n, t = "data") {
404
404
  const a = g(n), { axiosInstance: o } = ht({
405
405
  headers: e.requestHeaders
406
406
  }), r = ln(e, a), i = E({
407
- status: _e.Idle
407
+ status: we.Idle
408
408
  });
409
409
  return { fetcher: async (s) => {
410
410
  try {
411
- i.value = { status: _e.Loading };
411
+ i.value = { status: we.Loading };
412
412
  const l = r(s), { data: u } = await o.get(l), d = t && t.replace(/[^\w-_]/gi, "");
413
413
  let c;
414
414
  u[d] && Array.isArray(u[d]) ? c = u[d] : c = Object.keys(u).length ? [u] : [];
@@ -422,7 +422,7 @@ function Ka(e, n, t = "data") {
422
422
  } : null
423
423
  };
424
424
  return i.value = {
425
- status: _e.Idle,
425
+ status: we.Idle,
426
426
  response: h
427
427
  }, h;
428
428
  } catch (l) {
@@ -431,11 +431,11 @@ function Ka(e, n, t = "data") {
431
431
  total: 0
432
432
  };
433
433
  return s.query && l.response.status === 404 ? (i.value = {
434
- status: _e.NoResults,
434
+ status: we.NoResults,
435
435
  response: u,
436
436
  error: l
437
437
  }, u) : (i.value = {
438
- status: _e.Error,
438
+ status: we.Error,
439
439
  response: u,
440
440
  error: l
441
441
  }, u);
@@ -509,8 +509,8 @@ function Ua(e) {
509
509
  }
510
510
  function Ga(e) {
511
511
  const n = E(0), t = E(0), a = E(!1);
512
- return ve(e, () => {
513
- e.value && !a.value && (n.value = e.value.offsetWidth, t.value = e.value.scrollWidth, a.value = !0);
512
+ return ve(e, (o) => {
513
+ o && !a.value && (n.value = o.offsetWidth, t.value = o.scrollWidth, a.value = !0);
514
514
  }), {
515
515
  isTruncated: M(() => n.value < t.value)
516
516
  };
@@ -604,14 +604,14 @@ const oe = {
604
604
  }), i.value ? d(a("message.fail")) : n("error", t.uuid);
605
605
  return;
606
606
  }
607
- const f = t.uuid.length > Dt, w = t.format === "hidden" || t.format === "redacted" ? a("message.success.prefix") : `"${t.uuid.substring(0, Dt) + (f ? "..." : "")}"`;
607
+ const f = t.uuid.length > Dt, _ = t.format === "hidden" || t.format === "redacted" ? a("message.success.prefix") : `"${t.uuid.substring(0, Dt) + (f ? "..." : "")}"`;
608
608
  typeof o == "function" && o({
609
609
  type: "success",
610
- message: `${w}${a("message.success.content")}`
610
+ message: `${_}${a("message.success.content")}`
611
611
  }), i.value ? d(t.successTooltip) : n("success", t.uuid);
612
612
  };
613
613
  return (h, f) => {
614
- const w = L("KIcon"), C = L("KClipboardProvider");
614
+ const _ = L("KIcon"), C = L("KClipboardProvider");
615
615
  return m(), $("div", Wa, [
616
616
  e.format !== "hidden" ? (m(), D(Ne(e.idTooltip ? "KTooltip" : "div"), lt({ key: 0 }, r.value, { "data-testid": "copy-id" }), {
617
617
  default: y(() => [
@@ -635,7 +635,7 @@ const oe = {
635
635
  tabindex: "0",
636
636
  onClick: Ge((I) => c(p), ["stop"])
637
637
  }, [
638
- O(w, {
638
+ O(_, {
639
639
  class: "uuid-icon",
640
640
  color: e.iconColor,
641
641
  "hide-title": !!e.tooltip || void 0,
@@ -761,7 +761,7 @@ const oe = {
761
761
  }), ro = "#0044f4", io = "#e0e4ea", so = "#3a3f51", lo = "1px", uo = "20px", co = { class: "config-card-details-row" }, po = ["data-testid"], fo = ["data-testid"], mo = ["data-testid"], go = ["data-testid"], yo = { key: 1 }, ho = ["data-testid"], vo = ["data-testid"], bo = ["data-testid"], Co = ["data-testid"], ko = {
762
762
  name: "ConfigCardItem",
763
763
  components: { CopyUuid: dn, JsonCardItem: pn, StatusBadge: oo, InternalLinkItem: ao }
764
- }, wo = /* @__PURE__ */ te({
764
+ }, _o = /* @__PURE__ */ te({
765
765
  ...ko,
766
766
  props: {
767
767
  item: {
@@ -915,7 +915,7 @@ const oe = {
915
915
  };
916
916
  }
917
917
  }), c = E(), { isTruncated: h } = oe.useTruncationDetector(c);
918
- return (f, w) => {
918
+ return (f, _) => {
919
919
  const C = L("KLabel"), p = L("KBadge"), I = L("KMethodBadge"), v = L("KTooltip");
920
920
  return m(), $("div", co, [
921
921
  F("div", {
@@ -1035,12 +1035,12 @@ const oe = {
1035
1035
  ]);
1036
1036
  };
1037
1037
  }
1038
- }), bt = /* @__PURE__ */ me(wo, [["__scopeId", "data-v-f68d4fa1"]]);
1038
+ }), bt = /* @__PURE__ */ me(_o, [["__scopeId", "data-v-f68d4fa1"]]);
1039
1039
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1040
1040
  function fn(e) {
1041
1041
  return typeof e > "u" || e === null;
1042
1042
  }
1043
- function _o(e) {
1043
+ function wo(e) {
1044
1044
  return typeof e == "object" && e !== null;
1045
1045
  }
1046
1046
  function Io(e) {
@@ -1062,7 +1062,7 @@ function So(e, n) {
1062
1062
  function xo(e) {
1063
1063
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1064
1064
  }
1065
- var To = fn, $o = _o, jo = Io, Mo = So, Oo = xo, Eo = Ao, ne = {
1065
+ var To = fn, $o = wo, jo = Io, Mo = So, Oo = xo, Eo = Ao, ne = {
1066
1066
  isNothing: To,
1067
1067
  isObject: $o,
1068
1068
  toArray: jo,
@@ -1379,7 +1379,7 @@ function Zo(e) {
1379
1379
  function Qo(e) {
1380
1380
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ne.isNegativeZero(e);
1381
1381
  }
1382
- var wn = new re("tag:yaml.org,2002:int", {
1382
+ var _n = new re("tag:yaml.org,2002:int", {
1383
1383
  kind: "scalar",
1384
1384
  resolve: Wo,
1385
1385
  construct: Zo,
@@ -1456,7 +1456,7 @@ function ar(e, n) {
1456
1456
  function or(e) {
1457
1457
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ne.isNegativeZero(e));
1458
1458
  }
1459
- var _n = new re("tag:yaml.org,2002:float", {
1459
+ var wn = new re("tag:yaml.org,2002:float", {
1460
1460
  kind: "scalar",
1461
1461
  resolve: er,
1462
1462
  construct: tr,
@@ -1467,8 +1467,8 @@ var _n = new re("tag:yaml.org,2002:float", {
1467
1467
  implicit: [
1468
1468
  Cn,
1469
1469
  kn,
1470
- wn,
1471
- _n
1470
+ _n,
1471
+ wn
1472
1472
  ]
1473
1473
  }), An = In, Sn = new RegExp(
1474
1474
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
@@ -1606,13 +1606,13 @@ function kr(e) {
1606
1606
  return !1;
1607
1607
  return !0;
1608
1608
  }
1609
- function wr(e) {
1609
+ function _r(e) {
1610
1610
  return e !== null ? e : {};
1611
1611
  }
1612
1612
  var En = new re("tag:yaml.org,2002:set", {
1613
1613
  kind: "mapping",
1614
1614
  resolve: kr,
1615
- construct: wr
1615
+ construct: _r
1616
1616
  }), kt = An.extend({
1617
1617
  implicit: [
1618
1618
  Tn,
@@ -1624,7 +1624,7 @@ var En = new re("tag:yaml.org,2002:set", {
1624
1624
  On,
1625
1625
  En
1626
1626
  ]
1627
- }), ke = Object.prototype.hasOwnProperty, He = 1, Bn = 2, Fn = 3, Ye = 4, st = 1, _r = 2, Ut = 3, Ir = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ar = /[\x85\u2028\u2029]/, Sr = /[,\[\]\{\}]/, Kn = /^(?:!|!!|![a-z\-]+!)$/i, Nn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1627
+ }), ke = Object.prototype.hasOwnProperty, He = 1, Bn = 2, Fn = 3, Ye = 4, st = 1, wr = 2, Ut = 3, Ir = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ar = /[\x85\u2028\u2029]/, Sr = /[,\[\]\{\}]/, Kn = /^(?:!|!!|![a-z\-]+!)$/i, Nn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1628
1628
  function Gt(e) {
1629
1629
  return Object.prototype.toString.call(e);
1630
1630
  }
@@ -1735,7 +1735,7 @@ function Ee(e, n, t, a, o, r, i, s, l) {
1735
1735
  }) : n[o] = r, delete t[o];
1736
1736
  return n;
1737
1737
  }
1738
- function wt(e) {
1738
+ function _t(e) {
1739
1739
  var n;
1740
1740
  n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : x(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1741
1741
  }
@@ -1748,7 +1748,7 @@ function ee(e, n, t) {
1748
1748
  o = e.input.charCodeAt(++e.position);
1749
1749
  while (o !== 10 && o !== 13 && o !== 0);
1750
1750
  if (ge(o))
1751
- for (wt(e), o = e.input.charCodeAt(e.position), a++, e.lineIndent = 0; o === 32; )
1751
+ for (_t(e), o = e.input.charCodeAt(e.position), a++, e.lineIndent = 0; o === 32; )
1752
1752
  e.lineIndent++, o = e.input.charCodeAt(++e.position);
1753
1753
  else
1754
1754
  break;
@@ -1759,7 +1759,7 @@ function et(e) {
1759
1759
  var n = e.position, t;
1760
1760
  return t = e.input.charCodeAt(n), !!((t === 45 || t === 46) && t === e.input.charCodeAt(n + 1) && t === e.input.charCodeAt(n + 2) && (n += 3, t = e.input.charCodeAt(n), t === 0 || de(t)));
1761
1761
  }
1762
- function _t(e, n) {
1762
+ function wt(e, n) {
1763
1763
  n === 1 ? e.result += " " : n > 1 && (e.result += ne.repeat(`
1764
1764
  `, n - 1));
1765
1765
  }
@@ -1786,7 +1786,7 @@ function Or(e, n, t) {
1786
1786
  break;
1787
1787
  }
1788
1788
  }
1789
- s && (Ce(e, r, i, !1), _t(e, e.line - l), r = i = e.position, s = !1), Ie(f) || (i = e.position + 1), f = e.input.charCodeAt(++e.position);
1789
+ s && (Ce(e, r, i, !1), wt(e, e.line - l), r = i = e.position, s = !1), Ie(f) || (i = e.position + 1), f = e.input.charCodeAt(++e.position);
1790
1790
  }
1791
1791
  return Ce(e, r, i, !1), e.result ? !0 : (e.kind = c, e.result = h, !1);
1792
1792
  }
@@ -1801,7 +1801,7 @@ function Er(e, n) {
1801
1801
  else
1802
1802
  return !0;
1803
1803
  else
1804
- ge(t) ? (Ce(e, a, o, !0), _t(e, ee(e, !1, n)), a = o = e.position) : e.position === e.lineStart && et(e) ? x(e, "unexpected end of the document within a single quoted scalar") : (e.position++, o = e.position);
1804
+ ge(t) ? (Ce(e, a, o, !0), wt(e, ee(e, !1, n)), a = o = e.position) : e.position === e.lineStart && et(e) ? x(e, "unexpected end of the document within a single quoted scalar") : (e.position++, o = e.position);
1805
1805
  x(e, "unexpected end of the stream within a single quoted scalar");
1806
1806
  }
1807
1807
  function Br(e, n) {
@@ -1824,12 +1824,12 @@ function Br(e, n) {
1824
1824
  x(e, "unknown escape sequence");
1825
1825
  t = a = e.position;
1826
1826
  } else
1827
- ge(s) ? (Ce(e, t, a, !0), _t(e, ee(e, !1, n)), t = a = e.position) : e.position === e.lineStart && et(e) ? x(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
1827
+ ge(s) ? (Ce(e, t, a, !0), wt(e, ee(e, !1, n)), t = a = e.position) : e.position === e.lineStart && et(e) ? x(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
1828
1828
  }
1829
1829
  x(e, "unexpected end of the stream within a double quoted scalar");
1830
1830
  }
1831
1831
  function Fr(e, n) {
1832
- var t = !0, a, o, r, i = e.tag, s, l = e.anchor, u, d, c, h, f, w = /* @__PURE__ */ Object.create(null), C, p, I, v;
1832
+ var t = !0, a, o, r, i = e.tag, s, l = e.anchor, u, d, c, h, f, _ = /* @__PURE__ */ Object.create(null), C, p, I, v;
1833
1833
  if (v = e.input.charCodeAt(e.position), v === 91)
1834
1834
  d = 93, f = !1, s = [];
1835
1835
  else if (v === 123)
@@ -1839,7 +1839,7 @@ function Fr(e, n) {
1839
1839
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), v = e.input.charCodeAt(++e.position); v !== 0; ) {
1840
1840
  if (ee(e, !0, n), v = e.input.charCodeAt(e.position), v === d)
1841
1841
  return e.position++, e.tag = i, e.anchor = l, e.kind = f ? "mapping" : "sequence", e.result = s, !0;
1842
- t ? v === 44 && x(e, "expected the node content, but found ','") : x(e, "missed comma between flow collection entries"), p = C = I = null, c = h = !1, v === 63 && (u = e.input.charCodeAt(e.position + 1), de(u) && (c = h = !0, e.position++, ee(e, !0, n))), a = e.line, o = e.lineStart, r = e.position, Be(e, n, He, !1, !0), p = e.tag, C = e.result, ee(e, !0, n), v = e.input.charCodeAt(e.position), (h || e.line === a) && v === 58 && (c = !0, v = e.input.charCodeAt(++e.position), ee(e, !0, n), Be(e, n, He, !1, !0), I = e.result), f ? Ee(e, s, w, p, C, I, a, o, r) : c ? s.push(Ee(e, null, w, p, C, I, a, o, r)) : s.push(C), ee(e, !0, n), v = e.input.charCodeAt(e.position), v === 44 ? (t = !0, v = e.input.charCodeAt(++e.position)) : t = !1;
1842
+ t ? v === 44 && x(e, "expected the node content, but found ','") : x(e, "missed comma between flow collection entries"), p = C = I = null, c = h = !1, v === 63 && (u = e.input.charCodeAt(e.position + 1), de(u) && (c = h = !0, e.position++, ee(e, !0, n))), a = e.line, o = e.lineStart, r = e.position, Be(e, n, He, !1, !0), p = e.tag, C = e.result, ee(e, !0, n), v = e.input.charCodeAt(e.position), (h || e.line === a) && v === 58 && (c = !0, v = e.input.charCodeAt(++e.position), ee(e, !0, n), Be(e, n, He, !1, !0), I = e.result), f ? Ee(e, s, _, p, C, I, a, o, r) : c ? s.push(Ee(e, null, _, p, C, I, a, o, r)) : s.push(C), ee(e, !0, n), v = e.input.charCodeAt(e.position), v === 44 ? (t = !0, v = e.input.charCodeAt(++e.position)) : t = !1;
1843
1843
  }
1844
1844
  x(e, "unexpected end of the stream within a flow collection");
1845
1845
  }
@@ -1853,7 +1853,7 @@ function Kr(e, n) {
1853
1853
  return !1;
1854
1854
  for (e.kind = "scalar", e.result = ""; c !== 0; )
1855
1855
  if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
1856
- st === o ? o = c === 43 ? Ut : _r : x(e, "repeat of a chomping mode identifier");
1856
+ st === o ? o = c === 43 ? Ut : wr : x(e, "repeat of a chomping mode identifier");
1857
1857
  else if ((d = $r(c)) >= 0)
1858
1858
  d === 0 ? x(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : i ? x(e, "repeat of an indentation width identifier") : (s = n + d - 1, i = !0);
1859
1859
  else
@@ -1868,7 +1868,7 @@ function Kr(e, n) {
1868
1868
  while (!ge(c) && c !== 0);
1869
1869
  }
1870
1870
  for (; c !== 0; ) {
1871
- for (wt(e), e.lineIndent = 0, c = e.input.charCodeAt(e.position); (!i || e.lineIndent < s) && c === 32; )
1871
+ for (_t(e), e.lineIndent = 0, c = e.input.charCodeAt(e.position); (!i || e.lineIndent < s) && c === 32; )
1872
1872
  e.lineIndent++, c = e.input.charCodeAt(++e.position);
1873
1873
  if (!i && e.lineIndent > s && (s = e.lineIndent), ge(c)) {
1874
1874
  l++;
@@ -1907,12 +1907,12 @@ function Jt(e, n) {
1907
1907
  return s ? (e.tag = a, e.anchor = o, e.kind = "sequence", e.result = r, !0) : !1;
1908
1908
  }
1909
1909
  function Nr(e, n, t) {
1910
- var a, o, r, i, s, l, u = e.tag, d = e.anchor, c = {}, h = /* @__PURE__ */ Object.create(null), f = null, w = null, C = null, p = !1, I = !1, v;
1910
+ var a, o, r, i, s, l, u = e.tag, d = e.anchor, c = {}, h = /* @__PURE__ */ Object.create(null), f = null, _ = null, C = null, p = !1, I = !1, v;
1911
1911
  if (e.firstTabInLine !== -1)
1912
1912
  return !1;
1913
1913
  for (e.anchor !== null && (e.anchorMap[e.anchor] = c), v = e.input.charCodeAt(e.position); v !== 0; ) {
1914
1914
  if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, x(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), r = e.line, (v === 63 || v === 58) && de(a))
1915
- v === 63 ? (p && (Ee(e, c, h, f, w, null, i, s, l), f = w = C = null), I = !0, p = !0, o = !0) : p ? (p = !1, o = !0) : x(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, v = a;
1915
+ v === 63 ? (p && (Ee(e, c, h, f, _, null, i, s, l), f = _ = C = null), I = !0, p = !0, o = !0) : p ? (p = !1, o = !0) : x(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, v = a;
1916
1916
  else {
1917
1917
  if (i = e.line, s = e.lineStart, l = e.position, !Be(e, t, Bn, !1, !0))
1918
1918
  break;
@@ -1920,7 +1920,7 @@ function Nr(e, n, t) {
1920
1920
  for (v = e.input.charCodeAt(e.position); Ie(v); )
1921
1921
  v = e.input.charCodeAt(++e.position);
1922
1922
  if (v === 58)
1923
- v = e.input.charCodeAt(++e.position), de(v) || x(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Ee(e, c, h, f, w, null, i, s, l), f = w = C = null), I = !0, p = !1, o = !1, f = e.tag, w = e.result;
1923
+ v = e.input.charCodeAt(++e.position), de(v) || x(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Ee(e, c, h, f, _, null, i, s, l), f = _ = C = null), I = !0, p = !1, o = !1, f = e.tag, _ = e.result;
1924
1924
  else if (I)
1925
1925
  x(e, "can not read an implicit mapping pair; a colon is missed");
1926
1926
  else
@@ -1930,12 +1930,12 @@ function Nr(e, n, t) {
1930
1930
  else
1931
1931
  return e.tag = u, e.anchor = d, !0;
1932
1932
  }
1933
- if ((e.line === r || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Be(e, n, Ye, !0, o) && (p ? w = e.result : C = e.result), p || (Ee(e, c, h, f, w, C, i, s, l), f = w = C = null), ee(e, !0, -1), v = e.input.charCodeAt(e.position)), (e.line === r || e.lineIndent > n) && v !== 0)
1933
+ if ((e.line === r || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Be(e, n, Ye, !0, o) && (p ? _ = e.result : C = e.result), p || (Ee(e, c, h, f, _, C, i, s, l), f = _ = C = null), ee(e, !0, -1), v = e.input.charCodeAt(e.position)), (e.line === r || e.lineIndent > n) && v !== 0)
1934
1934
  x(e, "bad indentation of a mapping entry");
1935
1935
  else if (e.lineIndent < n)
1936
1936
  break;
1937
1937
  }
1938
- return p && Ee(e, c, h, f, w, null, i, s, l), I && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), I;
1938
+ return p && Ee(e, c, h, f, _, null, i, s, l), I && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), I;
1939
1939
  }
1940
1940
  function qr(e) {
1941
1941
  var n, t = !1, a = !1, o, r, i;
@@ -1976,7 +1976,7 @@ function Pr(e) {
1976
1976
  return e.position === n && x(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), ke.call(e.anchorMap, t) || x(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ee(e, !0, -1), !0;
1977
1977
  }
1978
1978
  function Be(e, n, t, a, o) {
1979
- var r, i, s, l = 1, u = !1, d = !1, c, h, f, w, C, p;
1979
+ var r, i, s, l = 1, u = !1, d = !1, c, h, f, _, C, p;
1980
1980
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, r = i = s = Ye === t || Fn === t, a && ee(e, !0, -1) && (u = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
1981
1981
  for (; qr(e) || Lr(e); )
1982
1982
  ee(e, !0, -1) ? (u = !0, s = r, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)) : s = !1;
@@ -1984,20 +1984,20 @@ function Be(e, n, t, a, o) {
1984
1984
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1985
1985
  else if (e.tag === "?") {
1986
1986
  for (e.result !== null && e.kind !== "scalar" && x(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, h = e.implicitTypes.length; c < h; c += 1)
1987
- if (w = e.implicitTypes[c], w.resolve(e.result)) {
1988
- e.result = w.construct(e.result), e.tag = w.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1987
+ if (_ = e.implicitTypes[c], _.resolve(e.result)) {
1988
+ e.result = _.construct(e.result), e.tag = _.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1989
1989
  break;
1990
1990
  }
1991
1991
  } else if (e.tag !== "!") {
1992
1992
  if (ke.call(e.typeMap[e.kind || "fallback"], e.tag))
1993
- w = e.typeMap[e.kind || "fallback"][e.tag];
1993
+ _ = e.typeMap[e.kind || "fallback"][e.tag];
1994
1994
  else
1995
- for (w = null, f = e.typeMap.multi[e.kind || "fallback"], c = 0, h = f.length; c < h; c += 1)
1995
+ for (_ = null, f = e.typeMap.multi[e.kind || "fallback"], c = 0, h = f.length; c < h; c += 1)
1996
1996
  if (e.tag.slice(0, f[c].tag.length) === f[c].tag) {
1997
- w = f[c];
1997
+ _ = f[c];
1998
1998
  break;
1999
1999
  }
2000
- w || x(e, "unknown tag !<" + e.tag + ">"), e.result !== null && w.kind !== e.kind && x(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + w.kind + '", not "' + e.kind + '"'), w.resolve(e.result, e.tag) ? (e.result = w.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : x(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2000
+ _ || x(e, "unknown tag !<" + e.tag + ">"), e.result !== null && _.kind !== e.kind && x(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + _.kind + '", not "' + e.kind + '"'), _.resolve(e.result, e.tag) ? (e.result = _.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : x(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2001
2001
  }
2002
2002
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2003
2003
  }
@@ -2021,7 +2021,7 @@ function Rr(e) {
2021
2021
  i = e.input.charCodeAt(++e.position);
2022
2022
  o.push(e.input.slice(t, e.position));
2023
2023
  }
2024
- i !== 0 && wt(e), ke.call(Yt, a) ? Yt[a](e, a, o) : ze(e, 'unknown document directive "' + a + '"');
2024
+ i !== 0 && _t(e), ke.call(Yt, a) ? Yt[a](e, a, o) : ze(e, 'unknown document directive "' + a + '"');
2025
2025
  }
2026
2026
  if (ee(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ee(e, !0, -1)) : r && x(e, "directives end mark is expected"), Be(e, e.lineIndent - 1, Ye, !1, !0), ee(e, !0, -1), e.checkLineBreaks && Ar.test(e.input.slice(n, e.position)) && ze(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && et(e)) {
2027
2027
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, ee(e, !0, -1));
@@ -2172,7 +2172,7 @@ function Wn(e) {
2172
2172
  }
2173
2173
  var Zn = 1, ft = 2, Qn = 3, Xn = 4, Me = 5;
2174
2174
  function hi(e, n, t, a, o, r, i, s) {
2175
- var l, u = 0, d = null, c = !1, h = !1, f = a !== -1, w = -1, C = gi(Ke(e, 0)) && yi(Ke(e, e.length - 1));
2175
+ var l, u = 0, d = null, c = !1, h = !1, f = a !== -1, _ = -1, C = gi(Ke(e, 0)) && yi(Ke(e, e.length - 1));
2176
2176
  if (n || i)
2177
2177
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2178
2178
  if (u = Ke(e, l), !Re(u))
@@ -2183,12 +2183,12 @@ function hi(e, n, t, a, o, r, i, s) {
2183
2183
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2184
2184
  if (u = Ke(e, l), u === Le)
2185
2185
  c = !0, f && (h = h || // Foldable line = too long, and not more-indented.
2186
- l - w - 1 > a && e[w + 1] !== " ", w = l);
2186
+ l - _ - 1 > a && e[_ + 1] !== " ", _ = l);
2187
2187
  else if (!Re(u))
2188
2188
  return Me;
2189
2189
  C = C && Qt(u, d, s), d = u;
2190
2190
  }
2191
- h = h || f && l - w - 1 > a && e[w + 1] !== " ";
2191
+ h = h || f && l - _ - 1 > a && e[_ + 1] !== " ";
2192
2192
  }
2193
2193
  return !c && !h ? C && !i && !o(e) ? Zn : r === Pe ? Me : ft : t > 9 && Wn(e) ? Me : i ? r === Pe ? Me : ft : h ? Xn : Qn;
2194
2194
  }
@@ -2279,13 +2279,13 @@ function nn(e, n, t, a) {
2279
2279
  l = t[i], e.replacer && (l = e.replacer.call(t, String(i), l)), (he(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && he(e, n + 1, null, !0, !0, !1, !0)) && ((!a || o !== "") && (o += pt(e, n)), e.dump && Le === e.dump.charCodeAt(0) ? o += "-" : o += "- ", o += e.dump);
2280
2280
  e.tag = r, e.dump = o || "[]";
2281
2281
  }
2282
- function wi(e, n, t) {
2282
+ function _i(e, n, t) {
2283
2283
  var a = "", o = e.tag, r = Object.keys(t), i, s, l, u, d;
2284
2284
  for (i = 0, s = r.length; i < s; i += 1)
2285
2285
  d = "", a !== "" && (d += ", "), e.condenseFlow && (d += '"'), l = r[i], u = t[l], e.replacer && (u = e.replacer.call(t, l, u)), he(e, n, l, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), he(e, n, u, !1, !1) && (d += e.dump, a += d));
2286
2286
  e.tag = o, e.dump = "{" + a + "}";
2287
2287
  }
2288
- function _i(e, n, t, a) {
2288
+ function wi(e, n, t, a) {
2289
2289
  var o = "", r = e.tag, i = Object.keys(t), s, l, u, d, c, h;
2290
2290
  if (e.sortKeys === !0)
2291
2291
  i.sort();
@@ -2323,7 +2323,7 @@ function he(e, n, t, a, o, r, i) {
2323
2323
  e.dump = "*ref_" + c;
2324
2324
  else {
2325
2325
  if (d && h && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), s === "[object Object]")
2326
- a && Object.keys(e.dump).length !== 0 ? (_i(e, n, e.dump, o), h && (e.dump = "&ref_" + c + e.dump)) : (wi(e, n, e.dump), h && (e.dump = "&ref_" + c + " " + e.dump));
2326
+ a && Object.keys(e.dump).length !== 0 ? (wi(e, n, e.dump, o), h && (e.dump = "&ref_" + c + e.dump)) : (_i(e, n, e.dump), h && (e.dump = "&ref_" + c + " " + e.dump));
2327
2327
  else if (s === "[object Array]")
2328
2328
  a && e.dump.length !== 0 ? (e.noArrayIndent && !i && n > 0 ? nn(e, n - 1, e.dump, o) : nn(e, n, e.dump, o), h && (e.dump = "&ref_" + c + e.dump)) : (ki(e, n, e.dump), h && (e.dump = "&ref_" + c + " " + e.dump));
2329
2329
  else if (s === "[object String]")
@@ -2375,14 +2375,14 @@ function At(e, n) {
2375
2375
  }
2376
2376
  var Ti = re, $i = gn, ji = bn, Mi = In, Oi = An, Ei = kt, Bi = Dn.load, Fi = Dn.loadAll, Ki = xi.dump, Ni = se, qi = {
2377
2377
  binary: jn,
2378
- float: _n,
2378
+ float: wn,
2379
2379
  map: vn,
2380
2380
  null: Cn,
2381
2381
  pairs: On,
2382
2382
  set: En,
2383
2383
  timestamp: Tn,
2384
2384
  bool: kn,
2385
- int: wn,
2385
+ int: _n,
2386
2386
  merge: $n,
2387
2387
  omap: Mn,
2388
2388
  seq: hn,
@@ -2738,7 +2738,7 @@ const Vi = {
2738
2738
  // the last property displayed
2739
2739
  section: ue.Basic
2740
2740
  }
2741
- }, f = E(!1), w = E(!1), C = E(""), p = E(), I = M(() => {
2741
+ }, f = E(!1), _ = E(!1), C = E(""), p = E(), I = M(() => {
2742
2742
  var k, A, P;
2743
2743
  if (!p.value)
2744
2744
  return [];
@@ -2798,7 +2798,7 @@ const Vi = {
2798
2798
  }), K = M(() => {
2799
2799
  const k = [];
2800
2800
  return b.value.basic.length && k.push("basic"), b.value.advanced.length && k.push("advanced"), b.value.plugin.length && k.push("plugin"), k;
2801
- }), _ = (k) => !!(k.tooltip || o[`${k.key}-label-tooltip`]), B = M(() => {
2801
+ }), w = (k) => !!(k.tooltip || o[`${k.key}-label-tooltip`]), B = M(() => {
2802
2802
  var k, A;
2803
2803
  let P = `${a.config.apiBaseUrl}${a.fetchUrl}`;
2804
2804
  return a.config.app === "konnect" ? P = P.replace(/{controlPlaneId}/gi, ((k = a.config) == null ? void 0 : k.controlPlaneId) || "") : a.config.app === "kongManager" && (P = P.replace(/\/{workspace}/gi, (A = a.config) != null && A.workspace ? `/${a.config.workspace}` : "")), P = P.replace(/{id}/gi, a.config.entityId), P;
@@ -2808,7 +2808,7 @@ const Vi = {
2808
2808
  return ve(f, (k) => {
2809
2809
  n("loading", k);
2810
2810
  }, { immediate: !0 }), Qe(async () => {
2811
- w.value = !1, f.value = !0;
2811
+ _.value = !1, f.value = !0;
2812
2812
  try {
2813
2813
  const { data: k } = await l.get(B.value);
2814
2814
  if (a.dataKey)
@@ -2823,7 +2823,7 @@ const Vi = {
2823
2823
  }), n("fetch:success", k);
2824
2824
  } catch (k) {
2825
2825
  const A = i(k);
2826
- C.value = A.startsWith("code") ? r("baseConfigCard.errors.load") : A, w.value = !0, n("fetch:error", k);
2826
+ C.value = A.startsWith("code") ? r("baseConfigCard.errors.load") : A, _.value = !0, n("fetch:error", k);
2827
2827
  } finally {
2828
2828
  f.value = !1;
2829
2829
  }
@@ -2869,7 +2869,7 @@ const Vi = {
2869
2869
  })) : G("", !0),
2870
2870
  e.config.jsonYamlEnabled ? G("", !0) : (m(), D(N, { key: 3 }, {
2871
2871
  default: y(({ copyToClipboard: H }) => [
2872
- !f.value && !w.value ? (m(), D(S, {
2872
+ !f.value && !_.value ? (m(), D(S, {
2873
2873
  key: 0,
2874
2874
  appearance: "btn-link",
2875
2875
  "data-testid": "json-copy-button",
@@ -2891,7 +2891,7 @@ const Vi = {
2891
2891
  "data-testid": "config-card-loader",
2892
2892
  "table-columns": 2,
2893
2893
  type: "table"
2894
- })) : w.value ? (m(), D(V, {
2894
+ })) : _.value ? (m(), D(V, {
2895
2895
  key: 1,
2896
2896
  "data-testid": "config-card-fetch-error",
2897
2897
  "is-error": ""
@@ -2940,7 +2940,7 @@ const Vi = {
2940
2940
  ]),
2941
2941
  _: 2
2942
2942
  }, [
2943
- _(Q) ? {
2943
+ w(Q) ? {
2944
2944
  name: "label-tooltip",
2945
2945
  fn: y(() => [
2946
2946
  J(k.$slots, `${Q.key}-label-tooltip`, { row: Q }, void 0, !0)
@@ -3029,8 +3029,8 @@ const Vi = {
3029
3029
  let v = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3030
3030
  return a.config.app === "konnect" ? v = v.replace(/{controlPlaneId}/gi, ((p = a.config) == null ? void 0 : p.controlPlaneId) || "") : a.config.app === "kongManager" && (v = v.replace(/\/{workspace}/gi, (I = a.config) != null && I.workspace ? `/${a.config.workspace}` : "")), v = v.replace(/{id}/gi, a.editId), v;
3031
3031
  }), f = () => {
3032
- a.config.cancelRoute ? o.push(a.config.cancelRoute) : w();
3033
- }, w = () => {
3032
+ a.config.cancelRoute ? o.push(a.config.cancelRoute) : _();
3033
+ }, _ = () => {
3034
3034
  n("cancel");
3035
3035
  }, C = () => {
3036
3036
  c.value || n("submit");
@@ -3050,7 +3050,7 @@ const Vi = {
3050
3050
  l.value = !1;
3051
3051
  }
3052
3052
  }), (p, I) => {
3053
- const v = L("KSkeleton"), b = L("KEmptyState"), K = L("KAlert"), _ = L("KButton"), B = L("KCard");
3053
+ const v = L("KSkeleton"), b = L("KEmptyState"), K = L("KAlert"), w = L("KButton"), B = L("KCard");
3054
3054
  return m(), D(B, { class: "kong-ui-entity-base-form" }, {
3055
3055
  body: y(() => [
3056
3056
  l.value ? (m(), D(v, {
@@ -3070,7 +3070,7 @@ const Vi = {
3070
3070
  }, 8, ["cta-text"])) : (m(), $("form", {
3071
3071
  key: 2,
3072
3072
  "data-testid": "form-content",
3073
- onReset: Ge(w, ["prevent"]),
3073
+ onReset: Ge(_, ["prevent"]),
3074
3074
  onSubmit: Ge(C, ["prevent"])
3075
3075
  }, [
3076
3076
  J(p.$slots, "default", {}, void 0, !0),
@@ -3082,7 +3082,7 @@ const Vi = {
3082
3082
  }, null, 8, ["alert-message"])) : G("", !0),
3083
3083
  F("div", fs, [
3084
3084
  J(p.$slots, "form-actions", {}, () => [
3085
- O(_, {
3085
+ O(w, {
3086
3086
  appearance: "outline",
3087
3087
  "data-testid": "form-cancel",
3088
3088
  disabled: e.isReadonly,
@@ -3093,7 +3093,7 @@ const Vi = {
3093
3093
  ]),
3094
3094
  _: 1
3095
3095
  }, 8, ["disabled"]),
3096
- O(_, {
3096
+ O(w, {
3097
3097
  appearance: "primary",
3098
3098
  "data-testid": "form-submit",
3099
3099
  disabled: c.value,
@@ -3156,7 +3156,7 @@ const Vi = {
3156
3156
  }
3157
3157
  },
3158
3158
  { immediate: !0, flush: "post", deep: !0 }
3159
- ), w = M(() => o.value ? u.value > d.value : !1);
3159
+ ), _ = M(() => o.value ? u.value > d.value : !1);
3160
3160
  return ca(() => {
3161
3161
  s();
3162
3162
  }), da(() => {
@@ -3170,7 +3170,7 @@ const Vi = {
3170
3170
  }, [
3171
3171
  o.value ? (m(), $("span", ys, [
3172
3172
  O(I, {
3173
- disabled: !w.value,
3173
+ disabled: !_.value,
3174
3174
  label: c.value,
3175
3175
  "max-width": "300",
3176
3176
  placement: "bottomStart"
@@ -3187,7 +3187,7 @@ const Vi = {
3187
3187
  }), vs = /* @__PURE__ */ me(hs, [["__scopeId", "data-v-f8a220e9"]]), bs = { class: "toolbar-container" }, Cs = {
3188
3188
  key: 0,
3189
3189
  class: "toolbar-button-container"
3190
- }, ks = ["data-testid"], ws = /* @__PURE__ */ te({
3190
+ }, ks = ["data-testid"], _s = /* @__PURE__ */ te({
3191
3191
  __name: "EntityBaseTable",
3192
3192
  props: {
3193
3193
  // table header configuration
@@ -3299,11 +3299,11 @@ const Vi = {
3299
3299
  const t = e, { i18n: { t: a } } = oe.useI18n(), o = M(() => t.cacheIdentifier || t.preferencesStorageKey), r = (b) => b.hasData || !!t.query, i = M(() => {
3300
3300
  const b = [];
3301
3301
  return Object.keys(t.tableHeaders).forEach((K) => {
3302
- const _ = t.tableHeaders[K];
3302
+ const w = t.tableHeaders[K];
3303
3303
  b.push({
3304
- label: _.label ?? K,
3304
+ label: w.label ?? K,
3305
3305
  key: K,
3306
- sortable: _.sortable ?? !1
3306
+ sortable: w.sortable ?? !1
3307
3307
  });
3308
3308
  }), t.enableEntityActions && b.push({
3309
3309
  key: "actions",
@@ -3332,9 +3332,9 @@ const Vi = {
3332
3332
  n("clear-search-input");
3333
3333
  }, f = M(() => t.disableRowClick ? void 0 : (b, K) => {
3334
3334
  n("click:row", K);
3335
- }), w = (b) => {
3335
+ }), _ = (b) => {
3336
3336
  n("sort", b);
3337
- }, { setTablePreferences: C, getTablePreferences: p } = _a(), I = M(() => {
3337
+ }, { setTablePreferences: C, getTablePreferences: p } = wa(), I = M(() => {
3338
3338
  const b = p(t.preferencesStorageKey);
3339
3339
  return {
3340
3340
  ...t.initialFetcherParams,
@@ -3344,7 +3344,7 @@ const Vi = {
3344
3344
  t.preferencesStorageKey && C(t.preferencesStorageKey, b);
3345
3345
  };
3346
3346
  return (b, K) => {
3347
- const _ = L("KIcon"), B = L("KButton"), R = L("KDropdownMenu"), k = L("KTable"), A = L("KCard");
3347
+ const w = L("KIcon"), B = L("KButton"), R = L("KDropdownMenu"), k = L("KTable"), A = L("KCard");
3348
3348
  return m(), D(A, {
3349
3349
  class: "kong-ui-entity-base-table",
3350
3350
  title: e.title
@@ -3378,7 +3378,7 @@ const Vi = {
3378
3378
  "search-input": e.query,
3379
3379
  onKtableEmptyStateCtaClicked: c,
3380
3380
  "onRow:click": f.value,
3381
- onSort: K[0] || (K[0] = (P) => w(P)),
3381
+ onSort: K[0] || (K[0] = (P) => _(P)),
3382
3382
  "onUpdate:tablePreferences": v
3383
3383
  }, be({
3384
3384
  toolbar: y(({ state: P }) => [
@@ -3414,7 +3414,7 @@ const Vi = {
3414
3414
  size: "small"
3415
3415
  }, {
3416
3416
  icon: y(() => [
3417
- O(_, {
3417
+ O(w, {
3418
3418
  color: g(so),
3419
3419
  icon: "more",
3420
3420
  size: "16"
@@ -3455,7 +3455,7 @@ const Vi = {
3455
3455
  }, 8, ["title"]);
3456
3456
  };
3457
3457
  }
3458
- }), _s = /* @__PURE__ */ me(ws, [["__scopeId", "data-v-6bf92df6"]]), Is = {
3458
+ }), ws = /* @__PURE__ */ me(_s, [["__scopeId", "data-v-6bf92df6"]]), Is = {
3459
3459
  key: 0,
3460
3460
  class: "kong-ui-entity-delete-error"
3461
3461
  }, As = {
@@ -3652,14 +3652,14 @@ const Vi = {
3652
3652
  ...r.value,
3653
3653
  [p]: ""
3654
3654
  }, C();
3655
- }, w = () => {
3655
+ }, _ = () => {
3656
3656
  r.value = {}, C(!0);
3657
3657
  }, C = (p = !1) => {
3658
3658
  const I = Object.keys(r.value).reduce((v, b) => (r.value[b] && (v[b] = `${r.value[b]}`), v), {});
3659
3659
  p && (o.value = !1), n("update:modelValue", new URLSearchParams(I).toString());
3660
3660
  };
3661
3661
  return (p, I) => {
3662
- const v = L("KInput"), b = L("KButton"), K = L("KSelect"), _ = L("KMenuItem"), B = L("KMenu");
3662
+ const v = L("KInput"), b = L("KButton"), K = L("KSelect"), w = L("KMenuItem"), B = L("KMenu");
3663
3663
  return e.config.isExactMatch ? (m(), D(v, {
3664
3664
  key: 0,
3665
3665
  autocomplete: "off",
@@ -3693,7 +3693,7 @@ const Vi = {
3693
3693
  ]),
3694
3694
  Ve(O(B, { class: "kong-ui-entity-filter-menu" }, {
3695
3695
  body: y(() => [
3696
- (m(!0), $(pe, null, ce(s.value, (R, k) => (m(), D(_, {
3696
+ (m(!0), $(pe, null, ce(s.value, (R, k) => (m(), D(w, {
3697
3697
  key: R.value,
3698
3698
  "data-testid": R.value,
3699
3699
  expandable: "",
@@ -3764,7 +3764,7 @@ const Vi = {
3764
3764
  }, 1032, ["data-testid", "last-menu-item"]))), 128))
3765
3765
  ]),
3766
3766
  actionButton: y(() => [
3767
- O(b, { onClick: w }, {
3767
+ O(b, { onClick: _ }, {
3768
3768
  default: y(() => [
3769
3769
  W(j(g(a)("filter.clearAllButtonText")), 1)
3770
3770
  ]),
@@ -3867,7 +3867,7 @@ const Vi = {
3867
3867
  ])
3868
3868
  ], 2));
3869
3869
  }
3870
- }), zs = /* @__PURE__ */ me(Ys, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: St, useDeleteUrlBuilder: Js, useErrors: Ws, useFetchUrlBuilder: Cl, useFetcher: Zs, useDebouncedFilter: Qs, useStringHelpers: kl, useHelpers: wl, useGatewayFeatureSupported: _l, useTruncationDetector: Il } = oe;
3870
+ }), zs = /* @__PURE__ */ me(Ys, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: St, useDeleteUrlBuilder: Js, useErrors: Ws, useFetchUrlBuilder: Cl, useFetcher: Zs, useDebouncedFilter: Qs, useStringHelpers: kl, useHelpers: _l, useGatewayFeatureSupported: wl, useTruncationDetector: Il } = oe;
3871
3871
  const Xs = { class: "add-consumer-form-container" }, el = { class: "add-consumer-form-cta" }, tl = { class: "select-item-label" }, nl = {
3872
3872
  key: 0,
3873
3873
  class: "select-item-desc"
@@ -3909,7 +3909,7 @@ const Xs = { class: "add-consumer-form-container" }, el = { class: "add-consumer
3909
3909
  fetchedItemsKey: "data",
3910
3910
  searchKeys: ["username", "id"]
3911
3911
  }
3912
- ), h = (S) => S, f = M(() => u.value ? a("consumers.errors.general") : ""), w = E(0), C = M(() => l.value === void 0), p = M(() => c.value.map((S) => ({
3912
+ ), h = (S) => S, f = M(() => u.value ? a("consumers.errors.general") : ""), _ = E(0), C = M(() => l.value === void 0), p = M(() => c.value.map((S) => ({
3913
3913
  label: S.username || S.customId,
3914
3914
  value: S.id,
3915
3915
  selected: r.value.includes(S.id),
@@ -3920,13 +3920,13 @@ const Xs = { class: "add-consumer-form-container" }, el = { class: "add-consumer
3920
3920
  const N = C.value ? c.value.find((V) => V.id === S) : (q = l.value) == null ? void 0 : q.find((V) => V.id === S);
3921
3921
  return N ? N.username || N.custom_id : S;
3922
3922
  }, v = () => {
3923
- _.value = "", b.value = [], A.value = [], n("cancel");
3924
- }, b = E([]), K = E(!1), _ = E(""), B = async () => {
3923
+ w.value = "", b.value = [], A.value = [], n("cancel");
3924
+ }, b = E([]), K = E(!1), w = E(""), B = async () => {
3925
3925
  if (!r.value.length) {
3926
- _.value = "", A.value = [], n("cancel");
3926
+ w.value = "", A.value = [], n("cancel");
3927
3927
  return;
3928
3928
  }
3929
- K.value = !0, _.value = "", b.value = [], A.value = [];
3929
+ K.value = !0, w.value = "", b.value = [], A.value = [];
3930
3930
  try {
3931
3931
  const S = r.value.map((V) => k(V)), N = await Promise.allSettled(S);
3932
3932
  let q = !0;
@@ -3934,7 +3934,7 @@ const Xs = { class: "add-consumer-form-container" }, el = { class: "add-consumer
3934
3934
  V.status !== "fulfilled" && (q = !1);
3935
3935
  }), q ? (b.value = [], A.value = [], n("add:success", r.value), r.value = []) : (b.value.length && n("add:partial-success", b.value), r.value = [], P(N));
3936
3936
  } catch {
3937
- _.value = a("consumers.errors.add"), n("error", _.value);
3937
+ w.value = a("consumers.errors.add"), n("error", w.value);
3938
3938
  } finally {
3939
3939
  K.value = !1;
3940
3940
  }
@@ -3960,7 +3960,7 @@ const Xs = { class: "add-consumer-form-container" }, el = { class: "add-consumer
3960
3960
  }).filter(Boolean);
3961
3961
  };
3962
3962
  return ve(p, () => {
3963
- w.value++;
3963
+ _.value++;
3964
3964
  }, { immediate: !0, deep: !0 }), Qe(async () => {
3965
3965
  await d();
3966
3966
  }), (S, N) => {
@@ -3998,14 +3998,14 @@ const Xs = { class: "add-consumer-form-container" }, el = { class: "add-consumer
3998
3998
  ]),
3999
3999
  _: 1
4000
4000
  }, 8, ["modelValue", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly", "onQueryChange"]),
4001
- _.value || f.value || A.value.length ? (m(), $("div", al, [
4001
+ w.value || f.value || A.value.length ? (m(), $("div", al, [
4002
4002
  O(V, { appearance: "danger" }, {
4003
4003
  alertMessage: y(() => [
4004
4004
  F("p", null, j(g(a)("consumers.errors.add")), 1),
4005
4005
  A.value.length ? (m(), $("ul", ol, [
4006
4006
  (m(!0), $(pe, null, ce(A.value, (H, Q) => (m(), $("li", { key: Q }, j(H), 1))), 128))
4007
4007
  ])) : G("", !0),
4008
- F("div", null, j(_.value || f.value), 1)
4008
+ F("div", null, j(w.value || f.value), 1)
4009
4009
  ]),
4010
4010
  _: 1
4011
4011
  })
@@ -4073,10 +4073,10 @@ const xt = (e, n) => {
4073
4073
  }, c = d, h = (T) => ({
4074
4074
  "data-testid": T.username ?? T.custom_id ?? T.id
4075
4075
  }), f = M(() => {
4076
- var Y, ae, fe, we;
4076
+ var Y, ae, fe, _e;
4077
4077
  let T = `${t.config.apiBaseUrl}${Se.list[t.config.app][l.value ? "forConsumerGroup" : "all"]}`;
4078
- return t.config.app === "konnect" ? T = T.replace(/{controlPlaneId}/gi, ((Y = t.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((ae = t.config) == null ? void 0 : ae.consumerGroupId) || "") : t.config.app === "kongManager" && (T = T.replace(/\/{workspace}/gi, (fe = t.config) != null && fe.workspace ? `/${t.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((we = t.config) == null ? void 0 : we.consumerGroupId) || "")), T;
4079
- }), w = E(""), C = M(() => {
4078
+ return t.config.app === "konnect" ? T = T.replace(/{controlPlaneId}/gi, ((Y = t.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((ae = t.config) == null ? void 0 : ae.consumerGroupId) || "") : t.config.app === "kongManager" && (T = T.replace(/\/{workspace}/gi, (fe = t.config) != null && fe.workspace ? `/${t.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((_e = t.config) == null ? void 0 : _e.consumerGroupId) || "")), T;
4079
+ }), _ = E(""), C = M(() => {
4080
4080
  const T = t.config.app === "konnect" || t.config.isExactMatch;
4081
4081
  return T ? {
4082
4082
  isExactMatch: T,
@@ -4090,10 +4090,10 @@ const xt = (e, n) => {
4090
4090
  schema: t.config.filterSchema
4091
4091
  };
4092
4092
  }), p = M(() => l.value ? "consumers" : void 0), { fetcher: I, fetcherState: v } = Zs(t.config, f.value, p.value), b = () => {
4093
- w.value = "";
4093
+ _.value = "";
4094
4094
  }, K = () => {
4095
4095
  s.value++;
4096
- }, _ = (T) => T ?? "-", B = E(""), R = (T, Y) => {
4096
+ }, w = (T) => T ?? "-", B = E(""), R = (T, Y) => {
4097
4097
  const ae = T.id;
4098
4098
  if (!Y(ae)) {
4099
4099
  n("copy:error", {
@@ -4159,9 +4159,9 @@ const xt = (e, n) => {
4159
4159
  }, Mt = () => {
4160
4160
  nt.value = !1, ye.value = void 0;
4161
4161
  }, aa = M(() => {
4162
- var Y, ae, fe, we;
4162
+ var Y, ae, fe, _e;
4163
4163
  let T = `${t.config.apiBaseUrl}${Se.list[t.config.app].oneForConsumerGroup}`;
4164
- return t.config.app === "konnect" ? T = T.replace(/{controlPlaneId}/gi, ((Y = t.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((ae = t.config) == null ? void 0 : ae.consumerGroupId) || "") : t.config.app === "kongManager" && (T = T.replace(/\/{workspace}/gi, (fe = t.config) != null && fe.workspace ? `/${t.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((we = t.config) == null ? void 0 : we.consumerGroupId) || "")), T;
4164
+ return t.config.app === "konnect" ? T = T.replace(/{controlPlaneId}/gi, ((Y = t.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((ae = t.config) == null ? void 0 : ae.consumerGroupId) || "") : t.config.app === "kongManager" && (T = T.replace(/\/{workspace}/gi, (fe = t.config) != null && fe.workspace ? `/${t.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((_e = t.config) == null ? void 0 : _e.consumerGroupId) || "")), T;
4165
4165
  }), Ot = E(!1), oa = async () => {
4166
4166
  if (ye.value) {
4167
4167
  Ot.value = !0;
@@ -4176,7 +4176,7 @@ const xt = (e, n) => {
4176
4176
  }
4177
4177
  };
4178
4178
  ve(v, (T) => {
4179
- if (T.status === _e.Error) {
4179
+ if (T.status === we.Error) {
4180
4180
  B.value = o("consumers.errors.general"), n("error", T.error);
4181
4181
  return;
4182
4182
  }
@@ -4191,9 +4191,9 @@ const xt = (e, n) => {
4191
4191
  return Qe(async () => {
4192
4192
  await t.canCreate() && (at.value.title = l.value ? o("consumers.list.empty_state.title_for_consumer_group") : o("consumers.list.empty_state.title"), at.value.ctaText = l.value ? o("consumers.actions.add_consumer") : o("consumers.actions.create"));
4193
4193
  }), (T, Y) => {
4194
- const ae = L("KButton"), fe = L("KBadge"), we = L("KTruncate"), Fe = L("KDropdownItem"), Bt = L("KClipboardProvider"), ra = L("KPrompt");
4194
+ const ae = L("KButton"), fe = L("KBadge"), _e = L("KTruncate"), Fe = L("KDropdownItem"), Bt = L("KClipboardProvider"), ra = L("KPrompt");
4195
4195
  return m(), $("div", sl, [
4196
- O(g(_s), {
4196
+ O(g(ws), {
4197
4197
  "cache-identifier": e.cacheIdentifier,
4198
4198
  "disable-pagination": l.value,
4199
4199
  "disable-pagination-page-jump": "",
@@ -4205,7 +4205,7 @@ const xt = (e, n) => {
4205
4205
  "fetcher-cache-key": s.value,
4206
4206
  "pagination-type": "offset",
4207
4207
  "preferences-storage-key": "kong-ui-entities-consumers-list",
4208
- query: w.value,
4208
+ query: _.value,
4209
4209
  "row-attributes": h,
4210
4210
  "table-headers": g(c),
4211
4211
  onClearSearchInput: b,
@@ -4216,8 +4216,8 @@ const xt = (e, n) => {
4216
4216
  "toolbar-filter": y(() => [
4217
4217
  l.value ? G("", !0) : (m(), D(g(Rs), {
4218
4218
  key: 0,
4219
- modelValue: w.value,
4220
- "onUpdate:modelValue": Y[0] || (Y[0] = (z) => w.value = z),
4219
+ modelValue: _.value,
4220
+ "onUpdate:modelValue": Y[0] || (Y[0] = (z) => _.value = z),
4221
4221
  config: C.value
4222
4222
  }, null, 8, ["modelValue", "config"]))
4223
4223
  ]),
@@ -4243,13 +4243,13 @@ const xt = (e, n) => {
4243
4243
  }, 8, ["auth-function"])
4244
4244
  ]),
4245
4245
  username: y(({ rowValue: z }) => [
4246
- F("b", null, j(_(z)), 1)
4246
+ F("b", null, j(w(z)), 1)
4247
4247
  ]),
4248
4248
  custom_id: y(({ rowValue: z }) => [
4249
- W(j(_(z)), 1)
4249
+ W(j(w(z)), 1)
4250
4250
  ]),
4251
4251
  tags: y(({ rowValue: z }) => [
4252
- z && z.length > 0 ? (m(), D(we, { key: 0 }, {
4252
+ z && z.length > 0 ? (m(), D(_e, { key: 0 }, {
4253
4253
  default: y(() => [
4254
4254
  (m(!0), $(pe, null, ce(z, (xe) => (m(), D(fe, {
4255
4255
  key: xe,
@@ -4429,42 +4429,42 @@ const Al = /* @__PURE__ */ xt(ul, [["__scopeId", "data-v-45929bbf"]]), cl = { cl
4429
4429
  customId: "",
4430
4430
  tags: ""
4431
4431
  }), d = M(() => {
4432
- var _, B;
4433
- return (B = Se.form[(_ = t.config) == null ? void 0 : _.app]) == null ? void 0 : B.edit;
4432
+ var w, B;
4433
+ return (B = Se.form[(w = t.config) == null ? void 0 : w.app]) == null ? void 0 : B.edit;
4434
4434
  }), c = () => {
4435
- var _;
4436
- r.push(((_ = t.config) == null ? void 0 : _.cancelRoute) || { name: "consumer-list" });
4437
- }, h = (_) => {
4438
- n("loading", _);
4439
- }, f = (_) => {
4440
- n("error", _);
4441
- }, w = (_) => {
4435
+ var w;
4436
+ r.push(((w = t.config) == null ? void 0 : w.cancelRoute) || { name: "consumer-list" });
4437
+ }, h = (w) => {
4438
+ n("loading", w);
4439
+ }, f = (w) => {
4440
+ n("error", w);
4441
+ }, _ = (w) => {
4442
4442
  var R, k, A;
4443
- l.fields.username = ((R = _ == null ? void 0 : _.item) == null ? void 0 : R.username) || (_ == null ? void 0 : _.username) || "", l.fields.customId = ((k = _ == null ? void 0 : _.item) == null ? void 0 : k.custom_id) || (_ == null ? void 0 : _.custom_id) || "";
4444
- const B = ((A = _ == null ? void 0 : _.item) == null ? void 0 : A.tags) || (_ == null ? void 0 : _.tags) || [];
4443
+ l.fields.username = ((R = w == null ? void 0 : w.item) == null ? void 0 : R.username) || (w == null ? void 0 : w.username) || "", l.fields.customId = ((k = w == null ? void 0 : w.item) == null ? void 0 : k.custom_id) || (w == null ? void 0 : w.custom_id) || "";
4444
+ const B = ((A = w == null ? void 0 : w.item) == null ? void 0 : A.tags) || (w == null ? void 0 : w.tags) || [];
4445
4445
  l.fields.tags = (B == null ? void 0 : B.join(", ")) || "", Object.assign(u, l.fields);
4446
- }, C = M(() => t.consumerId ? ut.Edit : ut.Create), p = (_) => {
4446
+ }, C = M(() => t.consumerId ? ut.Edit : ut.Create), p = (w) => {
4447
4447
  var R, k, A, P, U, S;
4448
- let B = `${(R = t.config) == null ? void 0 : R.apiBaseUrl}${Se.form[(k = t.config) == null ? void 0 : k.app][_]}`;
4448
+ let B = `${(R = t.config) == null ? void 0 : R.apiBaseUrl}${Se.form[(k = t.config) == null ? void 0 : k.app][w]}`;
4449
4449
  return ((A = t.config) == null ? void 0 : A.app) === "konnect" ? B = B.replace(/{controlPlaneId}/gi, ((P = t.config) == null ? void 0 : P.controlPlaneId) || "") : ((U = t.config) == null ? void 0 : U.app) === "kongManager" && (B = B.replace(/\/{workspace}/gi, (S = t.config) != null && S.workspace ? `/${t.config.workspace}` : "")), B = B.replace(/{id}/gi, t.consumerId), B;
4450
4450
  }, I = M(() => !!l.fields.username || !!l.fields.customId), v = M(() => JSON.stringify(l.fields) !== JSON.stringify(u)), b = async () => {
4451
- var _, B, R;
4451
+ var w, B, R;
4452
4452
  try {
4453
4453
  l.readonly = !0;
4454
4454
  const k = {
4455
4455
  username: l.fields.username || null,
4456
4456
  custom_id: l.fields.customId || null,
4457
- tags: (B = (_ = l.fields.tags.split(",")) == null ? void 0 : _.map((P) => String(P || "").trim())) == null ? void 0 : B.filter((P) => P !== "")
4457
+ tags: (B = (w = l.fields.tags.split(",")) == null ? void 0 : w.map((P) => String(P || "").trim())) == null ? void 0 : B.filter((P) => P !== "")
4458
4458
  };
4459
4459
  let A;
4460
- await i.post(p("validate"), k), C.value === "create" ? A = await i.post(p("create"), k) : C.value === "edit" && (A = ((R = t.config) == null ? void 0 : R.app) === "konnect" ? await i.put(p("edit"), k) : await i.patch(p("edit"), k)), w(A == null ? void 0 : A.data), n("update", A == null ? void 0 : A.data);
4460
+ await i.post(p("validate"), k), C.value === "create" ? A = await i.post(p("create"), k) : C.value === "edit" && (A = ((R = t.config) == null ? void 0 : R.app) === "konnect" ? await i.put(p("edit"), k) : await i.patch(p("edit"), k)), _(A == null ? void 0 : A.data), n("update", A == null ? void 0 : A.data);
4461
4461
  } catch (k) {
4462
4462
  l.errorMessage = s(k), n("error", k);
4463
4463
  } finally {
4464
4464
  l.readonly = !1;
4465
4465
  }
4466
4466
  };
4467
- return (_, B) => {
4467
+ return (w, B) => {
4468
4468
  const R = L("KInput"), k = L("KCard");
4469
4469
  return m(), $("div", cl, [
4470
4470
  O(g(gs), {
@@ -4476,7 +4476,7 @@ const Al = /* @__PURE__ */ xt(ul, [["__scopeId", "data-v-45929bbf"]]), cl = { cl
4476
4476
  "is-readonly": l.readonly,
4477
4477
  onCancel: c,
4478
4478
  "onFetch:error": B[3] || (B[3] = (A) => f(A)),
4479
- "onFetch:success": w,
4479
+ "onFetch:success": _,
4480
4480
  onLoading: B[4] || (B[4] = (A) => h(A)),
4481
4481
  onSubmit: b
4482
4482
  }, {