@kong-ui-public/entities-shared 3.34.2-pr.2726.648af5c39.0 → 3.34.2-pr.2726.b353195fa.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { inject as qt, ref as M, computed as $, unref as A, toValue as ge, watch as be, toRef as zn, provide as Ht, defineComponent as z, createBlock as N, openBlock as g, resolveDynamicComponent as De, normalizeClass as fe, withCtx as _, createElementBlock as T, createCommentVNode as P, createElementVNode as L, toDisplayString as O, Fragment as ue, renderList as ce, resolveComponent as D, createVNode as K, createTextVNode as q, useCssVars as Vt, useId as Qn, useSlots as Ue, renderSlot as U, createSlots as $e, normalizeProps as Zn, guardReactiveProps as Xn, mergeProps as Yt, onMounted as it, onBeforeMount as rt, withModifiers as Re, Teleport as Wt, onUnmounted as ei, withDirectives as ke, vShow as Ce, withKeys as ti, warn as ni } from "vue";
1
+ import { inject as qt, ref as N, computed as S, unref as _, toValue as ge, watch as be, toRef as zn, provide as Ht, defineComponent as z, createBlock as K, openBlock as g, resolveDynamicComponent as je, normalizeClass as fe, withCtx as w, createElementBlock as $, createCommentVNode as D, createElementVNode as L, toDisplayString as I, Fragment as ue, renderList as ce, resolveComponent as j, createVNode as R, createTextVNode as q, useCssVars as Vt, useId as Qn, useSlots as Ue, renderSlot as U, createSlots as ke, normalizeProps as Zn, guardReactiveProps as Xn, mergeProps as Yt, onMounted as it, onBeforeMount as rt, withModifiers as Re, Teleport as Wt, onUnmounted as ei, withDirectives as Ce, vShow as xe, withKeys as ti, warn as ni } from "vue";
2
2
  import mt from "axios";
3
3
  import { createI18n as ii, i18nTComponent as ri } from "@kong-ui-public/i18n";
4
4
  import { BadgeMethodAppearances as ai, KExternalLink as oi, KButton as gt, KTruncate as li, KBadge as si } from "@kong/kongponents";
@@ -6,8 +6,8 @@ import { createdBundledHighlighter as ci, createSingletonShorthands as ui } from
6
6
  import { createJavaScriptRegexEngine as di } from "@shikijs/engine-javascript";
7
7
  import { BookIcon as Jt, LanguageShellIcon as ht, LanguageBashIcon as yt, AddIcon as Gt, CloseIcon as fi, ChevronDownIcon as pi, CopyIcon as mi } from "@kong/icons";
8
8
  import { useRouter as gi } from "vue-router";
9
- var hi = /* @__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.Secret = "secret", e.RedisConfiguration = "redis configuration", e))(hi || {}), yi = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(yi || {}), me = /* @__PURE__ */ ((e) => (e[e.InitialLoad = 0] = "InitialLoad", e[e.Loading = 1] = "Loading", e[e.Idle = 2] = "Idle", e[e.NoResults = 3] = "NoResults", e[e.NoRecords = 4] = "NoRecords", e[e.Error = 5] = "Error", e))(me || {}), Se = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e.Partial = "partial", e.BackendCluster = "backend_cluster", e.VirtualCluster = "virtual_cluster", e.Listener = "listener", e.ProducePolicy = "produce_policy", e.ConsumePolicy = "consume_policy", e.ClusterPolicy = "cluster_policy", e.ListenerPolicy = "listener_policy", e.SchemaRegistry = "schema_registry", e.StaticKey = "static_key", e.AuthServer = "auth_server", e.AuthServerScopes = "auth_server_scopes", e.AuthServerClaims = "auth_server_claims", e.AuthServerClients = "auth_server_clients", e.Other = "other", e))(Se || {});
10
- const qe = Object.values(Se), vi = [
9
+ var hi = /* @__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.Secret = "secret", e.RedisConfiguration = "redis configuration", e))(hi || {}), yi = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(yi || {}), me = /* @__PURE__ */ ((e) => (e[e.InitialLoad = 0] = "InitialLoad", e[e.Loading = 1] = "Loading", e[e.Idle = 2] = "Idle", e[e.NoResults = 3] = "NoResults", e[e.NoRecords = 4] = "NoRecords", e[e.Error = 5] = "Error", e))(me || {}), $e = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e.Partial = "partial", e.BackendCluster = "backend_cluster", e.VirtualCluster = "virtual_cluster", e.Listener = "listener", e.ProducePolicy = "produce_policy", e.ConsumePolicy = "consume_policy", e.ClusterPolicy = "cluster_policy", e.ListenerPolicy = "listener_policy", e.SchemaRegistry = "schema_registry", e.StaticKey = "static_key", e.AuthServer = "auth_server", e.AuthServerScopes = "auth_server_scopes", e.AuthServerClaims = "auth_server_claims", e.AuthServerClients = "auth_server_clients", e.Other = "other", e))($e || {});
10
+ const qe = Object.values($e), vi = [
11
11
  "ca_certificate",
12
12
  "certificate",
13
13
  "consumer",
@@ -23,7 +23,7 @@ const qe = Object.values(Se), vi = [
23
23
  "partial"
24
24
  /* Partial */
25
25
  ], bi = ["backend_cluster", "virtual_cluster", "listener", "produce_policy", "consume_policy", "cluster_policy", "listener_policy", "schema_registry", "static_key"], ki = ["auth_server", "auth_server_scopes", "auth_server_claims", "auth_server_clients"];
26
- var Y = /* @__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.CopyBadge = "copy-badge", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(Y || {}), ae = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e.Policy = "policy", e))(ae || {});
26
+ var W = /* @__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.CopyBadge = "copy-badge", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(W || {}), ae = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e.Policy = "policy", e))(ae || {});
27
27
  const vt = [
28
28
  "primary",
29
29
  "secondary"
@@ -286,11 +286,11 @@ function Mi(e, t, n, i = {
286
286
  }) {
287
287
  n || (n = "1000");
288
288
  const { axiosInstance: r } = at(e.axiosRequestConfig), { i18n: { t: o } } = He(), { debounce: a } = xi(), l = a(async (B) => {
289
- await x(B);
290
- }, 200), s = M(!1), c = M(""), d = M(""), u = M([]), p = M([]), m = M(void 0), y = $(() => {
291
- const B = `${e.apiBaseUrl}${A(t)}`;
289
+ await A(B);
290
+ }, 200), s = N(!1), c = N(""), d = N(""), u = N([]), p = N([]), m = N(void 0), y = S(() => {
291
+ const B = `${e.apiBaseUrl}${_(t)}`;
292
292
  return e.app === "konnect" ? B.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" ? B.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "") : B;
293
- }), { isValidUuid: h } = zt(), k = async () => {
293
+ }), { isValidUuid: h } = zt(), b = async () => {
294
294
  try {
295
295
  s.value = !0;
296
296
  const { data: B } = await r.get(`${y.value}?size=${n}`);
@@ -300,51 +300,51 @@ function Mi(e, t, n, i = {
300
300
  } finally {
301
301
  s.value = !1;
302
302
  }
303
- }, C = M(""), x = async (B) => {
304
- var j, X, S;
305
- if (C.value !== B) {
306
- if (C.value = B ?? "", !B) {
303
+ }, k = N(""), A = async (B) => {
304
+ var P, ee, M;
305
+ if (k.value !== B) {
306
+ if (k.value = B ?? "", !B) {
307
307
  u.value = p.value;
308
308
  return;
309
309
  }
310
310
  if (m.value === void 0)
311
311
  try {
312
312
  if (s.value = !0, c.value = "", d.value = "", e.app === "konnect") {
313
- const w = `${y.value}/${B}`, { data: F } = await r.get(`${w}?size=${n}`);
314
- i.fetchedItemsKey in F ? u.value = F[i.fetchedItemsKey] : F != null && F[i.exactMatchKey ?? "id"] ? u.value = [F] : u.value = [];
313
+ const F = `${y.value}/${B}`, { data: x } = await r.get(`${F}?size=${n}`);
314
+ i.fetchedItemsKey in x ? u.value = x[i.fetchedItemsKey] : x != null && x[i.exactMatchKey ?? "id"] ? u.value = [x] : u.value = [];
315
315
  } else {
316
- const w = [];
317
- h(B) && i.searchKeys.includes("id") ? w.push((async () => {
316
+ const F = [];
317
+ h(B) && i.searchKeys.includes("id") ? F.push((async () => {
318
318
  const { data: v } = await r.get(`${y.value}/${B}`);
319
319
  return [v[i.fetchedItemsKey] ?? v];
320
- })()) : w.push(
320
+ })()) : F.push(
321
321
  ...i.searchKeys.filter((v) => v !== "id").map(async (v) => {
322
- const { data: b } = await r.get(`${y.value}?${v}=${B}`);
323
- return b[i.fetchedItemsKey];
322
+ const { data: C } = await r.get(`${y.value}?${v}=${B}`);
323
+ return C[i.fetchedItemsKey];
324
324
  })
325
325
  );
326
- const F = await Promise.all(w), f = /* @__PURE__ */ new Set();
327
- u.value = [], (j = F == null ? void 0 : F.forEach) == null || j.call(F, (v) => {
328
- var b;
329
- (b = v == null ? void 0 : v.forEach) == null || b.call(v, (V) => {
330
- f.has(V.id) || (f.add(V.id), u.value.push(V));
326
+ const x = await Promise.all(F), f = /* @__PURE__ */ new Set();
327
+ u.value = [], (P = x == null ? void 0 : x.forEach) == null || P.call(x, (v) => {
328
+ var C;
329
+ (C = v == null ? void 0 : v.forEach) == null || C.call(v, (Y) => {
330
+ f.has(Y.id) || (f.add(Y.id), u.value.push(Y));
331
331
  });
332
332
  });
333
333
  }
334
- } catch (w) {
335
- ((X = w == null ? void 0 : w.response) == null ? void 0 : X.status) === 404 ? d.value = o("debouncedFilter.errors.invalid") : (u.value = [], c.value = o("debouncedFilter.errors.fetch"));
334
+ } catch (F) {
335
+ ((ee = F == null ? void 0 : F.response) == null ? void 0 : ee.status) === 404 ? d.value = o("debouncedFilter.errors.invalid") : (u.value = [], c.value = o("debouncedFilter.errors.fetch"));
336
336
  } finally {
337
337
  s.value = !1;
338
338
  }
339
339
  else
340
- s.value = !0, d.value = "", u.value = (S = m.value) == null ? void 0 : S.filter((w) => {
340
+ s.value = !0, d.value = "", u.value = (M = m.value) == null ? void 0 : M.filter((F) => {
341
341
  var f;
342
- let F = !1;
342
+ let x = !1;
343
343
  for (const v of i.searchKeys) {
344
- const b = typeof w[v] == "string" ? (f = w[v]) == null ? void 0 : f.toLowerCase() : w[v];
345
- b != null && b.includes(B.toLowerCase()) && (F = !0);
344
+ const C = typeof F[v] == "string" ? (f = F[v]) == null ? void 0 : f.toLowerCase() : F[v];
345
+ C != null && C.includes(B.toLowerCase()) && (x = !0);
346
346
  }
347
- return F;
347
+ return x;
348
348
  }), (!u.value || !u.value.length) && (d.value = o("debouncedFilter.errors.invalid")), s.value = !1;
349
349
  }
350
350
  };
@@ -354,17 +354,17 @@ function Mi(e, t, n, i = {
354
354
  validationError: d,
355
355
  results: u,
356
356
  allRecords: m,
357
- loadItems: k,
357
+ loadItems: b,
358
358
  debouncedQueryChange: l
359
359
  };
360
360
  }
361
- function Pi(e, t) {
362
- const n = A(t), i = $(
361
+ function Di(e, t) {
362
+ const n = _(t), i = S(
363
363
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
364
364
  );
365
365
  return i.value.search = "", (r) => `${i.value.href}/${r}`;
366
366
  }
367
- function ji() {
367
+ function Pi() {
368
368
  const { i18n: { t: e } } = He();
369
369
  return {
370
370
  getErrorFieldsFromError: (i) => {
@@ -436,7 +436,7 @@ function ji() {
436
436
  }
437
437
  };
438
438
  }
439
- function Di(e) {
439
+ function ji(e) {
440
440
  const t = window.location.origin, n = t.endsWith("/") ? t : `${t}/`;
441
441
  try {
442
442
  const i = e.join("/"), r = `${n}${i}`, o = e.some((l) => l.trim() === "");
@@ -448,10 +448,10 @@ function Di(e) {
448
448
  }
449
449
  }
450
450
  function Qt(e, t) {
451
- const n = $(() => {
451
+ const n = S(() => {
452
452
  const r = ge(e);
453
453
  return r.app === "konnect" || !!r.isExactMatch;
454
- }), i = $(() => {
454
+ }), i = S(() => {
455
455
  const r = ge(t);
456
456
  return r.startsWith("/") ? new URL(`${window.location.origin}${r}`) : new URL(r);
457
457
  });
@@ -469,7 +469,7 @@ function Qt(e, t) {
469
469
  }
470
470
  const bt = /* @__PURE__ */ new Map();
471
471
  function Ui(e, t, n) {
472
- const i = M(!0), r = ge(e), { axiosInstance: o } = at(r.axiosRequestConfig), a = Qt(e, t), l = M({
472
+ const i = N(!0), r = ge(e), { axiosInstance: o } = at(r.axiosRequestConfig), a = Qt(e, t), l = N({
473
473
  status: me.Idle
474
474
  }), s = async (u) => {
475
475
  var m;
@@ -481,15 +481,15 @@ function Ui(e, t, n) {
481
481
  const h = await o.get(y);
482
482
  if (h.status >= 400)
483
483
  throw h;
484
- const k = h.data, C = p && p.replace(/[^\w-_]/gi, "");
485
- let x;
486
- k[C] ? x = Array.isArray(k[C]) ? k[C] : [k[C]] : Array.isArray(k) ? x = k : x = Object.keys(k).length ? [k] : [];
484
+ const b = h.data, k = p && p.replace(/[^\w-_]/gi, "");
485
+ let A;
486
+ b[k] ? A = Array.isArray(b[k]) ? b[k] : [b[k]] : Array.isArray(b) ? A = b : A = Object.keys(b).length ? [b] : [];
487
487
  const B = {
488
- data: x,
489
- total: x.length,
490
- ...k.offset ? {
488
+ data: A,
489
+ total: A.length,
490
+ ...b.offset ? {
491
491
  pagination: {
492
- offset: k.offset
492
+ offset: b.offset
493
493
  }
494
494
  } : null
495
495
  };
@@ -521,9 +521,9 @@ function Ui(e, t, n) {
521
521
  function Zt(e) {
522
522
  if (e) {
523
523
  let t = bt.get(e);
524
- return t || (t = M(1), bt.set(e, t)), t;
524
+ return t || (t = N(1), bt.set(e, t)), t;
525
525
  }
526
- return M(1);
526
+ return N(1);
527
527
  }
528
528
  function qi() {
529
529
  const e = (i, r = "_") => i ? i.split(r).map((o) => o.toLowerCase() === "id" ? o.toUpperCase() : o.charAt(0).toUpperCase() + o.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
@@ -588,11 +588,11 @@ function Gi(e) {
588
588
  return !(a && _t(r, a, "<") || l && _t(r, l, ">"));
589
589
  }
590
590
  function zi(e) {
591
- const t = M(0), n = M(0), i = M(!1);
591
+ const t = N(0), n = N(0), i = N(!1);
592
592
  return be(e, (o) => {
593
593
  o && !i.value && (t.value = o.offsetWidth, n.value = o.scrollWidth, i.value = !0);
594
594
  }), {
595
- isTruncated: $(() => t.value < n.value)
595
+ isTruncated: S(() => t.value < n.value)
596
596
  };
597
597
  }
598
598
  function Qi() {
@@ -610,7 +610,7 @@ const Qe = Symbol("schema"), Zi = (e) => {
610
610
  };
611
611
  function er(e) {
612
612
  let t = "";
613
- const n = M(!1), i = M(null), r = $(() => {
613
+ const n = N(!1), i = N(null), r = S(() => {
614
614
  let a;
615
615
  return n.value ? a = !0 : i.value ? a = i.value.hasData || e && ge(e) : a = !1, !a;
616
616
  });
@@ -623,12 +623,12 @@ function er(e) {
623
623
  }
624
624
  };
625
625
  }
626
- const W = {
626
+ const J = {
627
627
  useAxios: at,
628
628
  useDebouncedFilter: Mi,
629
- useDeleteUrlBuilder: Pi,
630
- useErrors: ji,
631
- useExternalLinkCreator: Di,
629
+ useDeleteUrlBuilder: Di,
630
+ useErrors: Pi,
631
+ useExternalLinkCreator: ji,
632
632
  useFetcher: Ui,
633
633
  useFetcherCacheKey: Zt,
634
634
  useFetchUrlBuilder: Qt,
@@ -661,25 +661,25 @@ const W = {
661
661
  }
662
662
  },
663
663
  setup(e) {
664
- const t = e, { i18n: { t: n } } = W.useI18n(), { convertKeyToTitle: i } = W.useStringHelpers(), r = $(() => t.item.key ?? "json-array-item"), o = $(() => t.item.value ?? t.item), a = $(() => {
664
+ const t = e, { i18n: { t: n } } = J.useI18n(), { convertKeyToTitle: i } = J.useStringHelpers(), r = S(() => t.item.key ?? "json-array-item"), o = S(() => t.item.value ?? t.item), a = S(() => {
665
665
  const s = JSON.parse(JSON.stringify(o.value));
666
666
  return t.isArrayItem && delete s.name, s;
667
- }), l = $(() => {
667
+ }), l = S(() => {
668
668
  var s;
669
669
  return t.isArrayItem ? (s = o.value) != null && s.name ? i(o.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
670
670
  });
671
- return (s, c) => (g(), N(De(e.isArrayItem ? "fieldset" : "div"), {
671
+ return (s, c) => (g(), K(je(e.isArrayItem ? "fieldset" : "div"), {
672
672
  class: fe(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
673
673
  }, {
674
- default: _(() => [
675
- e.isArrayItem ? (g(), T("legend", tr, [
676
- L("b", null, O(l.value), 1)
677
- ])) : P("", !0),
678
- (g(!0), T(ue, null, ce(Object.keys(a.value), (d, u) => (g(), N(nn, {
674
+ default: w(() => [
675
+ e.isArrayItem ? (g(), $("legend", tr, [
676
+ L("b", null, I(l.value), 1)
677
+ ])) : D("", !0),
678
+ (g(!0), $(ue, null, ce(Object.keys(a.value), (d, u) => (g(), K(nn, {
679
679
  key: `${r.value}-property-${u}`,
680
680
  item: {
681
681
  key: d,
682
- label: A(i)(d),
682
+ label: _(i)(d),
683
683
  value: a.value[d]
684
684
  }
685
685
  }, null, 8, ["item"]))), 128))
@@ -702,17 +702,17 @@ const W = {
702
702
  },
703
703
  emits: ["navigation-click"],
704
704
  setup(e) {
705
- const { i18n: { t } } = W.useI18n();
705
+ const { i18n: { t } } = J.useI18n();
706
706
  return (n, i) => {
707
- const r = D("KButton");
708
- return g(), T("div", null, [
709
- K(r, {
707
+ const r = j("KButton");
708
+ return g(), $("div", null, [
709
+ R(r, {
710
710
  appearance: "tertiary",
711
711
  class: "navigation-button",
712
712
  onClick: i[0] || (i[0] = (o) => n.$emit("navigation-click", e.item))
713
713
  }, {
714
- default: _(() => [
715
- q(O(e.item.value || A(t)("baseConfigCard.commonFields.link")), 1)
714
+ default: w(() => [
715
+ q(I(e.item.value || _(t)("baseConfigCard.commonFields.link")), 1)
716
716
  ]),
717
717
  _: 1
718
718
  })
@@ -728,14 +728,14 @@ const W = {
728
728
  }
729
729
  },
730
730
  setup(e) {
731
- const { i18n: { t } } = W.useI18n();
731
+ const { i18n: { t } } = J.useI18n();
732
732
  return (n, i) => {
733
- const r = D("KBadge");
734
- return g(), N(r, {
733
+ const r = j("KBadge");
734
+ return g(), K(r, {
735
735
  appearance: e.status ? "success" : "neutral"
736
736
  }, {
737
- default: _(() => [
738
- q(O(e.status ? A(t)("baseConfigCard.statusBadge.enabledLabel") : A(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
737
+ default: w(() => [
738
+ q(I(e.status ? _(t)("baseConfigCard.statusBadge.enabledLabel") : _(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
739
739
  ]),
740
740
  _: 1
741
741
  }, 8, ["appearance"]);
@@ -785,18 +785,18 @@ const gr = { class: "config-card-details-row" }, hr = ["data-testid"], yr = ["da
785
785
  },
786
786
  emits: ["navigation-click"],
787
787
  setup(e, { emit: t }) {
788
- Vt((j) => ({
789
- v0b2cd434: p.value ? "none" : `solid ${A(ur)} ${A(lr)}`,
788
+ Vt((P) => ({
789
+ v0b2cd434: p.value ? "none" : `solid ${_(ur)} ${_(lr)}`,
790
790
  bb02ad32: u.value && c.value ? "block" : "flex",
791
791
  d92de3ce: u.value && c.value ? "100%" : n.slim ? "50%" : "25%",
792
792
  d9295818: u.value && c.value ? "100%" : n.slim ? "50%" : "75%"
793
793
  }));
794
- const n = e, i = t, r = Qn(), o = Ue(), { i18n: { t: a, formatIsoDate: l, formatUnixTimeStamp: s } } = W.useI18n(), c = $(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), d = $(() => !!(n.item.tooltip || o["label-tooltip"])), u = $(() => n.item.type === Y.Json || n.item.type === Y.JsonArray), p = $(() => n.item.type === Y.JsonArray), m = W.useSubSchema(n.item.key), y = $(() => {
795
- var j;
796
- return n.item.type ? n.item.type : (j = m == null ? void 0 : m.value) != null && j.encrypted ? Y.Redacted : void 0;
797
- }), h = $(() => {
794
+ const n = e, i = t, r = Qn(), o = Ue(), { i18n: { t: a, formatIsoDate: l, formatUnixTimeStamp: s } } = J.useI18n(), c = S(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), d = S(() => !!(n.item.tooltip || o["label-tooltip"])), u = S(() => n.item.type === W.Json || n.item.type === W.JsonArray), p = S(() => n.item.type === W.JsonArray), m = J.useSubSchema(n.item.key), y = S(() => {
795
+ var P;
796
+ return n.item.type ? n.item.type : (P = m == null ? void 0 : m.value) != null && P.encrypted ? W.Redacted : void 0;
797
+ }), h = S(() => {
798
798
  switch (y.value) {
799
- case Y.ID:
799
+ case W.ID:
800
800
  return {
801
801
  tag: "KCopy",
802
802
  attrs: {
@@ -805,7 +805,7 @@ const gr = { class: "config-card-details-row" }, hr = ["data-testid"], yr = ["da
805
805
  text: n.item.value
806
806
  }
807
807
  };
808
- case Y.IdArray:
808
+ case W.IdArray:
809
809
  return {
810
810
  tag: "div",
811
811
  additionalComponent: "KCopy",
@@ -813,7 +813,7 @@ const gr = { class: "config-card-details-row" }, hr = ["data-testid"], yr = ["da
813
813
  "copy-tooltip": a("baseConfigCard.copy.tooltip", { label: n.item.label })
814
814
  }
815
815
  };
816
- case Y.Redacted:
816
+ case W.Redacted:
817
817
  return {
818
818
  tag: "KCopy",
819
819
  attrs: {
@@ -823,7 +823,7 @@ const gr = { class: "config-card-details-row" }, hr = ["data-testid"], yr = ["da
823
823
  text: n.item.value
824
824
  }
825
825
  };
826
- case Y.RedactedArray:
826
+ case W.RedactedArray:
827
827
  return {
828
828
  tag: "div",
829
829
  additionalComponent: "KCopy",
@@ -832,7 +832,7 @@ const gr = { class: "config-card-details-row" }, hr = ["data-testid"], yr = ["da
832
832
  "copy-tooltip": a("baseConfigCard.copy.tooltip", { label: n.item.label })
833
833
  }
834
834
  };
835
- case Y.Date:
835
+ case W.Date:
836
836
  return {
837
837
  tag: "div",
838
838
  attrs: {
@@ -840,7 +840,7 @@ const gr = { class: "config-card-details-row" }, hr = ["data-testid"], yr = ["da
840
840
  },
841
841
  text: isNaN(Number(n.item.value)) ? l(n.item.value) : s(n.item.value)
842
842
  };
843
- case Y.BadgeStatus:
843
+ case W.BadgeStatus:
844
844
  return {
845
845
  tag: "StatusBadge",
846
846
  attrs: {
@@ -848,12 +848,12 @@ const gr = { class: "config-card-details-row" }, hr = ["data-testid"], yr = ["da
848
848
  status: n.item.value
849
849
  }
850
850
  };
851
- case Y.BadgeTag:
851
+ case W.BadgeTag:
852
852
  return {
853
853
  tag: "div",
854
854
  additionalComponent: "KBadge"
855
855
  };
856
- case Y.CopyBadge:
856
+ case W.CopyBadge:
857
857
  return {
858
858
  tag: "div",
859
859
  additionalComponent: "KCopy",
@@ -864,23 +864,23 @@ const gr = { class: "config-card-details-row" }, hr = ["data-testid"], yr = ["da
864
864
  text: n.item.value
865
865
  }
866
866
  };
867
- case Y.BadgeMethod:
867
+ case W.BadgeMethod:
868
868
  return {
869
869
  tag: "div",
870
870
  additionalComponent: "KMethodBadge"
871
871
  };
872
- case Y.LinkInternal:
872
+ case W.LinkInternal:
873
873
  return {
874
874
  tag: "InternalLinkItem",
875
875
  attrs: {
876
876
  "data-testid": `${n.item.key}-internal-link`,
877
877
  item: n.item,
878
- onNavigationClick: (j) => {
879
- i("navigation-click", j);
878
+ onNavigationClick: (P) => {
879
+ i("navigation-click", P);
880
880
  }
881
881
  }
882
882
  };
883
- case Y.LinkExternal:
883
+ case W.LinkExternal:
884
884
  return {
885
885
  tag: "KExternalLink",
886
886
  attrs: {
@@ -889,7 +889,7 @@ const gr = { class: "config-card-details-row" }, hr = ["data-testid"], yr = ["da
889
889
  },
890
890
  text: n.item.value
891
891
  };
892
- case Y.Json:
892
+ case W.Json:
893
893
  return {
894
894
  tag: "JsonCardItem",
895
895
  attrs: {
@@ -897,7 +897,7 @@ const gr = { class: "config-card-details-row" }, hr = ["data-testid"], yr = ["da
897
897
  item: n.item
898
898
  }
899
899
  };
900
- case Y.JsonArray:
900
+ case W.JsonArray:
901
901
  return {
902
902
  tag: "div",
903
903
  additionalComponent: "JsonCardItem",
@@ -926,26 +926,26 @@ const gr = { class: "config-card-details-row" }, hr = ["data-testid"], yr = ["da
926
926
  text: n.item.value
927
927
  };
928
928
  }
929
- }), k = M(), C = M(), { isTruncated: x } = W.useTruncationDetector(k), { isTruncated: B } = W.useTruncationDetector(C);
930
- return (j, X) => {
931
- const S = D("KTooltip"), w = D("KLabel"), F = D("KBadge"), f = D("KCopy");
932
- return g(), T("div", gr, [
929
+ }), b = N(), k = N(), { isTruncated: A } = J.useTruncationDetector(b), { isTruncated: B } = J.useTruncationDetector(k);
930
+ return (P, ee) => {
931
+ const M = j("KTooltip"), F = j("KLabel"), x = j("KBadge"), f = j("KCopy");
932
+ return g(), $("div", gr, [
933
933
  L("div", {
934
934
  class: "config-card-details-label",
935
935
  "data-testid": `${e.item.key}-label`
936
936
  }, [
937
- U(j.$slots, "label", { item: e.item }, () => [
938
- K(w, { "tooltip-attributes": { maxWidth: "500px" } }, $e({
939
- default: _(() => [
940
- K(S, {
941
- text: A(x) ? e.item.label : ""
937
+ U(P.$slots, "label", { item: e.item }, () => [
938
+ R(F, { "tooltip-attributes": { maxWidth: "500px" } }, ke({
939
+ default: w(() => [
940
+ R(M, {
941
+ text: _(A) ? e.item.label : ""
942
942
  }, {
943
- default: _(() => [
943
+ default: w(() => [
944
944
  L("span", {
945
945
  ref_key: "labelContent",
946
- ref: k,
946
+ ref: b,
947
947
  class: "label-content"
948
- }, O(e.item.label), 513)
948
+ }, I(e.item.label), 513)
949
949
  ]),
950
950
  _: 1
951
951
  }, 8, ["text"])
@@ -954,12 +954,12 @@ const gr = { class: "config-card-details-row" }, hr = ["data-testid"], yr = ["da
954
954
  }, [
955
955
  d.value ? {
956
956
  name: "tooltip",
957
- fn: _(() => [
957
+ fn: w(() => [
958
958
  L("div", {
959
959
  "data-testid": `${e.item.key}-label-tooltip`
960
960
  }, [
961
- U(j.$slots, "label-tooltip", {}, () => [
962
- q(O(e.item.tooltip), 1)
961
+ U(P.$slots, "label-tooltip", {}, () => [
962
+ q(I(e.item.tooltip), 1)
963
963
  ], !0)
964
964
  ], 8, yr)
965
965
  ]),
@@ -972,81 +972,81 @@ const gr = { class: "config-card-details-row" }, hr = ["data-testid"], yr = ["da
972
972
  class: "config-card-details-value",
973
973
  "data-testid": `${e.item.key}-property-value`
974
974
  }, [
975
- U(j.$slots, e.item.key, {
975
+ U(P.$slots, e.item.key, {
976
976
  rowValue: e.item.value
977
977
  }, () => [
978
- c.value ? (g(), T("div", kr, [
979
- (g(), N(De(h.value.tag), Zn(Xn(h.value.attrs)), {
980
- default: _(() => [
981
- h.value.additionalComponent === "KBadge" ? (g(), T("div", {
978
+ c.value ? (g(), $("div", kr, [
979
+ (g(), K(je(h.value.tag), Zn(Xn(h.value.attrs)), {
980
+ default: w(() => [
981
+ h.value.additionalComponent === "KBadge" ? (g(), $("div", {
982
982
  key: 0,
983
983
  "data-testid": `${e.item.key}-badge-tags`
984
984
  }, [
985
- (g(!0), T(ue, null, ce(e.item.value, (v, b) => (g(), N(F, {
986
- key: `${e.item.key}-badge-tag-${b}`,
985
+ (g(!0), $(ue, null, ce(e.item.value, (v, C) => (g(), K(x, {
986
+ key: `${e.item.key}-badge-tag-${C}`,
987
987
  class: "config-badge",
988
- "data-testid": `${e.item.key}-badge-tag-${b}`,
988
+ "data-testid": `${e.item.key}-badge-tag-${C}`,
989
989
  tooltip: v,
990
990
  "truncation-tooltip": ""
991
991
  }, {
992
- default: _(() => [
993
- q(O(v), 1)
992
+ default: w(() => [
993
+ q(I(v), 1)
994
994
  ]),
995
995
  _: 2
996
996
  }, 1032, ["data-testid", "tooltip"]))), 128))
997
- ], 8, Cr)) : h.value.additionalComponent === "KCopy" ? (g(), T("div", {
997
+ ], 8, Cr)) : h.value.additionalComponent === "KCopy" ? (g(), $("div", {
998
998
  key: 1,
999
999
  class: "copy-uuid-array",
1000
1000
  "data-testid": `${e.item.key}-copy-uuid-array`
1001
1001
  }, [
1002
- (g(!0), T(ue, null, ce(e.item.value, (v, b) => (g(), N(f, Yt({ ref_for: !0 }, h.value.childAttrs, {
1003
- key: `${e.item.key}-copy-uuid-${b}`,
1004
- "data-testid": `${e.item.key}-copy-uuid-${b}`,
1002
+ (g(!0), $(ue, null, ce(e.item.value, (v, C) => (g(), K(f, Yt({ ref_for: !0 }, h.value.childAttrs, {
1003
+ key: `${e.item.key}-copy-uuid-${C}`,
1004
+ "data-testid": `${e.item.key}-copy-uuid-${C}`,
1005
1005
  text: v
1006
1006
  }), null, 16, ["data-testid", "text"]))), 128))
1007
- ], 8, xr)) : h.value.additionalComponent === "KMethodBadge" ? (g(), T("div", {
1007
+ ], 8, xr)) : h.value.additionalComponent === "KMethodBadge" ? (g(), $("div", {
1008
1008
  key: 2,
1009
1009
  class: "method-badge-array",
1010
1010
  "data-testid": `${e.item.key}-badge-methods`
1011
1011
  }, [
1012
- (g(!0), T(ue, null, ce(e.item.value, (v, b) => (g(), N(F, {
1013
- key: `${e.item.key}-badge-method-${b}`,
1014
- appearance: Object.values(A(ai)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
1012
+ (g(!0), $(ue, null, ce(e.item.value, (v, C) => (g(), K(x, {
1013
+ key: `${e.item.key}-badge-method-${C}`,
1014
+ appearance: Object.values(_(ai)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
1015
1015
  class: "config-badge",
1016
- "data-testid": `${e.item.key}-badge-method-${b}`
1016
+ "data-testid": `${e.item.key}-badge-method-${C}`
1017
1017
  }, {
1018
- default: _(() => [
1019
- q(O(v), 1)
1018
+ default: w(() => [
1019
+ q(I(v), 1)
1020
1020
  ]),
1021
1021
  _: 2
1022
1022
  }, 1032, ["appearance", "data-testid"]))), 128))
1023
- ], 8, Ar)) : h.value.additionalComponent === "JsonCardItem" ? (g(), T("div", {
1023
+ ], 8, Ar)) : h.value.additionalComponent === "JsonCardItem" ? (g(), $("div", {
1024
1024
  key: 3,
1025
1025
  "data-testid": `${n.item.key}-json-array-content`
1026
1026
  }, [
1027
- (g(!0), T(ue, null, ce(e.item.value, (v, b) => (g(), N(tn, {
1028
- key: `json-array-item-${b}`,
1029
- index: b,
1027
+ (g(!0), $(ue, null, ce(e.item.value, (v, C) => (g(), K(tn, {
1028
+ key: `json-array-item-${C}`,
1029
+ index: C,
1030
1030
  "is-array-item": "",
1031
1031
  item: v
1032
1032
  }, null, 8, ["index", "item"]))), 128))
1033
- ], 8, _r)) : (g(), N(S, {
1033
+ ], 8, _r)) : (g(), K(M, {
1034
1034
  key: 4,
1035
- text: A(B) ? e.item.value : ""
1035
+ text: _(B) ? e.item.value : ""
1036
1036
  }, {
1037
- default: _(() => [
1037
+ default: w(() => [
1038
1038
  L("span", {
1039
1039
  ref_key: "textContent",
1040
- ref: C,
1040
+ ref: k,
1041
1041
  class: fe(["attrs-data-text", { truncated: e.truncated }])
1042
- }, O(h.value.text), 3)
1042
+ }, I(h.value.text), 3)
1043
1043
  ]),
1044
1044
  _: 1
1045
1045
  }, 8, ["text"]))
1046
1046
  ]),
1047
1047
  _: 1
1048
1048
  }, 16))
1049
- ])) : (g(), T("div", {
1049
+ ])) : (g(), $("div", {
1050
1050
  key: 0,
1051
1051
  "data-testid": `${e.item.key}-no-value`
1052
1052
  }, " – ", 8, br))
@@ -1089,7 +1089,7 @@ const gr = { class: "config-card-details-row" }, hr = ["data-testid"], yr = ["da
1089
1089
  Vt((r) => ({
1090
1090
  v58418ff6: `${i.value}ch`
1091
1091
  }));
1092
- const t = e, n = $(() => t.entityRecord), i = $(() => {
1092
+ const t = e, n = S(() => t.entityRecord), i = S(() => {
1093
1093
  var a;
1094
1094
  if (!t.fetcherUrl)
1095
1095
  return 0;
@@ -1097,34 +1097,34 @@ const gr = { class: "config-card-details-row" }, hr = ["data-testid"], yr = ["da
1097
1097
  return r.length < 2 ? 0 : 41 + (t.requestMethod === "post" ? r[r.length - 1] : r[r.length - 2]).length;
1098
1098
  });
1099
1099
  return (r, o) => {
1100
- const a = D("KBadge"), l = D("KCodeBlock");
1101
- return g(), T("div", $r, [
1102
- t.fetcherUrl ? (g(), T("div", Tr, [
1103
- K(a, {
1100
+ const a = j("KBadge"), l = j("KCodeBlock");
1101
+ return g(), $("div", $r, [
1102
+ t.fetcherUrl ? (g(), $("div", Tr, [
1103
+ R(a, {
1104
1104
  appearance: t.requestMethod
1105
1105
  }, {
1106
- default: _(() => [
1107
- q(O(t.requestMethod), 1)
1106
+ default: w(() => [
1107
+ q(I(t.requestMethod), 1)
1108
1108
  ]),
1109
1109
  _: 1
1110
1110
  }, 8, ["appearance"]),
1111
- K(l, {
1111
+ R(l, {
1112
1112
  id: "json-endpoint-codeblock",
1113
1113
  code: t.fetcherUrl,
1114
1114
  language: "plaintext",
1115
1115
  "single-line": "",
1116
1116
  theme: "dark"
1117
1117
  }, null, 8, ["code"])
1118
- ])) : P("", !0),
1119
- t.entityRecord ? (g(), N(l, {
1118
+ ])) : D("", !0),
1119
+ t.entityRecord ? (g(), K(l, {
1120
1120
  key: 1,
1121
1121
  id: "json-codeblock",
1122
1122
  class: fe({ "json-content": t.fetcherUrl }),
1123
1123
  code: JSON.stringify(n.value, null, 2),
1124
1124
  language: "json",
1125
1125
  theme: "dark",
1126
- onCodeBlockRender: A(Te)
1127
- }, null, 8, ["class", "code", "onCodeBlockRender"])) : P("", !0)
1126
+ onCodeBlockRender: _(Te)
1127
+ }, null, 8, ["class", "code", "onCodeBlockRender"])) : D("", !0)
1128
1128
  ]);
1129
1129
  };
1130
1130
  }
@@ -1155,13 +1155,13 @@ function Or(e, t) {
1155
1155
  function Br(e) {
1156
1156
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1157
1157
  }
1158
- var Lr = an, Rr = Er, Kr = Ir, Nr = Or, Mr = Br, Pr = Fr, ee = {
1158
+ var Lr = an, Rr = Er, Kr = Ir, Nr = Or, Mr = Br, Dr = Fr, X = {
1159
1159
  isNothing: Lr,
1160
1160
  isObject: Rr,
1161
1161
  toArray: Kr,
1162
1162
  repeat: Nr,
1163
1163
  isNegativeZero: Mr,
1164
- extend: Pr
1164
+ extend: Dr
1165
1165
  };
1166
1166
  function on(e, t) {
1167
1167
  var n = "", i = e.reason || "(unknown reason)";
@@ -1187,9 +1187,9 @@ function We(e, t, n, i, r) {
1187
1187
  };
1188
1188
  }
1189
1189
  function Je(e, t) {
1190
- return ee.repeat(" ", t - e.length) + e;
1190
+ return X.repeat(" ", t - e.length) + e;
1191
1191
  }
1192
- function jr(e, t) {
1192
+ function Pr(e, t) {
1193
1193
  if (t = Object.create(t || null), !e.buffer) return null;
1194
1194
  t.maxLength || (t.maxLength = 79), typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
1195
1195
  for (var n = /\r?\n|\r|\0/g, i = [0], r = [], o, a = -1; o = n.exec(e.buffer); )
@@ -1203,10 +1203,10 @@ function jr(e, t) {
1203
1203
  r[a - s],
1204
1204
  e.position - (i[a] - i[a - s]),
1205
1205
  u
1206
- ), l = ee.repeat(" ", t.indent) + Je((e.line - s + 1).toString(), d) + " | " + c.str + `
1206
+ ), l = X.repeat(" ", t.indent) + Je((e.line - s + 1).toString(), d) + " | " + c.str + `
1207
1207
  ` + l;
1208
- for (c = We(e.buffer, i[a], r[a], e.position, u), l += ee.repeat(" ", t.indent) + Je((e.line + 1).toString(), d) + " | " + c.str + `
1209
- `, l += ee.repeat("-", t.indent + d + 3 + c.pos) + `^
1208
+ for (c = We(e.buffer, i[a], r[a], e.position, u), l += X.repeat(" ", t.indent) + Je((e.line + 1).toString(), d) + " | " + c.str + `
1209
+ `, l += X.repeat("-", t.indent + d + 3 + c.pos) + `^
1210
1210
  `, s = 1; s <= t.linesAfter && !(a + s >= r.length); s++)
1211
1211
  c = We(
1212
1212
  e.buffer,
@@ -1214,11 +1214,11 @@ function jr(e, t) {
1214
1214
  r[a + s],
1215
1215
  e.position - (i[a] - i[a + s]),
1216
1216
  u
1217
- ), l += ee.repeat(" ", t.indent) + Je((e.line + s + 1).toString(), d) + " | " + c.str + `
1217
+ ), l += X.repeat(" ", t.indent) + Je((e.line + s + 1).toString(), d) + " | " + c.str + `
1218
1218
  `;
1219
1219
  return l.replace(/\n$/, "");
1220
1220
  }
1221
- var Dr = jr, Ur = [
1221
+ var jr = Pr, Ur = [
1222
1222
  "kind",
1223
1223
  "multi",
1224
1224
  "resolve",
@@ -1456,7 +1456,7 @@ function ia(e) {
1456
1456
  return n * parseInt(t, 10);
1457
1457
  }
1458
1458
  function ra(e) {
1459
- return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ee.isNegativeZero(e);
1459
+ return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !X.isNegativeZero(e);
1460
1460
  }
1461
1461
  var mn = new ie("tag:yaml.org,2002:int", {
1462
1462
  kind: "scalar",
@@ -1528,12 +1528,12 @@ function ca(e, t) {
1528
1528
  case "camelcase":
1529
1529
  return "-.Inf";
1530
1530
  }
1531
- else if (ee.isNegativeZero(e))
1531
+ else if (X.isNegativeZero(e))
1532
1532
  return "-0.0";
1533
1533
  return n = e.toString(10), sa.test(n) ? n.replace("e", ".e") : n;
1534
1534
  }
1535
1535
  function ua(e) {
1536
- return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ee.isNegativeZero(e));
1536
+ return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || X.isNegativeZero(e));
1537
1537
  }
1538
1538
  var gn = new ie("tag:yaml.org,2002:float", {
1539
1539
  kind: "scalar",
@@ -1702,7 +1702,7 @@ function ve(e) {
1702
1702
  function se(e) {
1703
1703
  return e === 9 || e === 32 || e === 10 || e === 13;
1704
1704
  }
1705
- function _e(e) {
1705
+ function we(e) {
1706
1706
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1707
1707
  }
1708
1708
  function Ba(e) {
@@ -1734,8 +1734,8 @@ function In(e, t, n) {
1734
1734
  }) : e[t] = n;
1735
1735
  }
1736
1736
  var Fn = new Array(256), On = new Array(256);
1737
- for (var xe = 0; xe < 256; xe++)
1738
- Fn[xe] = Et(xe) ? 1 : 0, On[xe] = Et(xe);
1737
+ for (var Ae = 0; Ae < 256; Ae++)
1738
+ Fn[Ae] = Et(Ae) ? 1 : 0, On[Ae] = Et(Ae);
1739
1739
  function Na(e, t) {
1740
1740
  this.input = e, this.filename = t.filename || null, this.schema = t.schema || lt, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1741
1741
  }
@@ -1748,9 +1748,9 @@ function Bn(e, t) {
1748
1748
  line: e.line,
1749
1749
  column: e.position - e.lineStart
1750
1750
  };
1751
- return n.snippet = Dr(n), new oe(t, n);
1751
+ return n.snippet = jr(n), new oe(t, n);
1752
1752
  }
1753
- function I(e, t) {
1753
+ function T(e, t) {
1754
1754
  throw Bn(e, t);
1755
1755
  }
1756
1756
  function Me(e, t) {
@@ -1759,15 +1759,15 @@ function Me(e, t) {
1759
1759
  var It = {
1760
1760
  YAML: function(t, n, i) {
1761
1761
  var r, o, a;
1762
- t.version !== null && I(t, "duplication of %YAML directive"), i.length !== 1 && I(t, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(i[0]), r === null && I(t, "ill-formed argument of the YAML directive"), o = parseInt(r[1], 10), a = parseInt(r[2], 10), o !== 1 && I(t, "unacceptable YAML version of the document"), t.version = i[0], t.checkLineBreaks = a < 2, a !== 1 && a !== 2 && Me(t, "unsupported YAML version of the document");
1762
+ t.version !== null && T(t, "duplication of %YAML directive"), i.length !== 1 && T(t, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(i[0]), r === null && T(t, "ill-formed argument of the YAML directive"), o = parseInt(r[1], 10), a = parseInt(r[2], 10), o !== 1 && T(t, "unacceptable YAML version of the document"), t.version = i[0], t.checkLineBreaks = a < 2, a !== 1 && a !== 2 && Me(t, "unsupported YAML version of the document");
1763
1763
  },
1764
1764
  TAG: function(t, n, i) {
1765
1765
  var r, o;
1766
- i.length !== 2 && I(t, "TAG directive accepts exactly two arguments"), r = i[0], o = i[1], Tn.test(r) || I(t, "ill-formed tag handle (first argument) of the TAG directive"), ye.call(t.tagMap, r) && I(t, 'there is a previously declared suffix for "' + r + '" tag handle'), En.test(o) || I(t, "ill-formed tag prefix (second argument) of the TAG directive");
1766
+ i.length !== 2 && T(t, "TAG directive accepts exactly two arguments"), r = i[0], o = i[1], Tn.test(r) || T(t, "ill-formed tag handle (first argument) of the TAG directive"), ye.call(t.tagMap, r) && T(t, 'there is a previously declared suffix for "' + r + '" tag handle'), En.test(o) || T(t, "ill-formed tag prefix (second argument) of the TAG directive");
1767
1767
  try {
1768
1768
  o = decodeURIComponent(o);
1769
1769
  } catch {
1770
- I(t, "tag prefix is malformed: " + o);
1770
+ T(t, "tag prefix is malformed: " + o);
1771
1771
  }
1772
1772
  t.tagMap[r] = o;
1773
1773
  }
@@ -1777,21 +1777,21 @@ function he(e, t, n, i) {
1777
1777
  if (t < n) {
1778
1778
  if (l = e.input.slice(t, n), i)
1779
1779
  for (r = 0, o = l.length; r < o; r += 1)
1780
- a = l.charCodeAt(r), a === 9 || 32 <= a && a <= 1114111 || I(e, "expected valid JSON character");
1781
- else Ia.test(l) && I(e, "the stream contains non-printable characters");
1780
+ a = l.charCodeAt(r), a === 9 || 32 <= a && a <= 1114111 || T(e, "expected valid JSON character");
1781
+ else Ia.test(l) && T(e, "the stream contains non-printable characters");
1782
1782
  e.result += l;
1783
1783
  }
1784
1784
  }
1785
1785
  function Ft(e, t, n, i) {
1786
1786
  var r, o, a, l;
1787
- for (ee.isObject(n) || I(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(n), a = 0, l = r.length; a < l; a += 1)
1787
+ for (X.isObject(n) || T(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(n), a = 0, l = r.length; a < l; a += 1)
1788
1788
  o = r[a], ye.call(t, o) || (In(t, o, n[o]), i[o] = !0);
1789
1789
  }
1790
- function we(e, t, n, i, r, o, a, l, s) {
1790
+ function Se(e, t, n, i, r, o, a, l, s) {
1791
1791
  var c, d;
1792
1792
  if (Array.isArray(r))
1793
1793
  for (r = Array.prototype.slice.call(r), c = 0, d = r.length; c < d; c += 1)
1794
- Array.isArray(r[c]) && I(e, "nested arrays are not supported inside keys"), typeof r == "object" && Tt(r[c]) === "[object Object]" && (r[c] = "[object Object]");
1794
+ Array.isArray(r[c]) && T(e, "nested arrays are not supported inside keys"), typeof r == "object" && Tt(r[c]) === "[object Object]" && (r[c] = "[object Object]");
1795
1795
  if (typeof r == "object" && Tt(r) === "[object Object]" && (r = "[object Object]"), r = String(r), t === null && (t = {}), i === "tag:yaml.org,2002:merge")
1796
1796
  if (Array.isArray(o))
1797
1797
  for (c = 0, d = o.length; c < d; c += 1)
@@ -1799,12 +1799,12 @@ function we(e, t, n, i, r, o, a, l, s) {
1799
1799
  else
1800
1800
  Ft(e, t, o, n);
1801
1801
  else
1802
- !e.json && !ye.call(n, r) && ye.call(t, r) && (e.line = a || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, I(e, "duplicated mapping key")), In(t, r, o), delete n[r];
1802
+ !e.json && !ye.call(n, r) && ye.call(t, r) && (e.line = a || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, T(e, "duplicated mapping key")), In(t, r, o), delete n[r];
1803
1803
  return t;
1804
1804
  }
1805
1805
  function st(e) {
1806
1806
  var t;
1807
- t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : I(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1807
+ t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : T(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1808
1808
  }
1809
1809
  function Z(e, t, n) {
1810
1810
  for (var i = 0, r = e.input.charCodeAt(e.position); r !== 0; ) {
@@ -1827,22 +1827,22 @@ function Ve(e) {
1827
1827
  return n = e.input.charCodeAt(t), !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || se(n)));
1828
1828
  }
1829
1829
  function ct(e, t) {
1830
- t === 1 ? e.result += " " : t > 1 && (e.result += ee.repeat(`
1830
+ t === 1 ? e.result += " " : t > 1 && (e.result += X.repeat(`
1831
1831
  `, t - 1));
1832
1832
  }
1833
1833
  function Ma(e, t, n) {
1834
1834
  var i, r, o, a, l, s, c, d, u = e.kind, p = e.result, m;
1835
- if (m = e.input.charCodeAt(e.position), se(m) || _e(m) || m === 35 || m === 38 || m === 42 || m === 33 || m === 124 || m === 62 || m === 39 || m === 34 || m === 37 || m === 64 || m === 96 || (m === 63 || m === 45) && (r = e.input.charCodeAt(e.position + 1), se(r) || n && _e(r)))
1835
+ if (m = e.input.charCodeAt(e.position), se(m) || we(m) || m === 35 || m === 38 || m === 42 || m === 33 || m === 124 || m === 62 || m === 39 || m === 34 || m === 37 || m === 64 || m === 96 || (m === 63 || m === 45) && (r = e.input.charCodeAt(e.position + 1), se(r) || n && we(r)))
1836
1836
  return !1;
1837
1837
  for (e.kind = "scalar", e.result = "", o = a = e.position, l = !1; m !== 0; ) {
1838
1838
  if (m === 58) {
1839
- if (r = e.input.charCodeAt(e.position + 1), se(r) || n && _e(r))
1839
+ if (r = e.input.charCodeAt(e.position + 1), se(r) || n && we(r))
1840
1840
  break;
1841
1841
  } else if (m === 35) {
1842
1842
  if (i = e.input.charCodeAt(e.position - 1), se(i))
1843
1843
  break;
1844
1844
  } else {
1845
- if (e.position === e.lineStart && Ve(e) || n && _e(m))
1845
+ if (e.position === e.lineStart && Ve(e) || n && we(m))
1846
1846
  break;
1847
1847
  if (de(m))
1848
1848
  if (s = e.line, c = e.lineStart, d = e.lineIndent, Z(e, !1, -1), e.lineIndent >= t) {
@@ -1857,7 +1857,7 @@ function Ma(e, t, n) {
1857
1857
  }
1858
1858
  return he(e, o, a, !1), e.result ? !0 : (e.kind = u, e.result = p, !1);
1859
1859
  }
1860
- function Pa(e, t) {
1860
+ function Da(e, t) {
1861
1861
  var n, i, r;
1862
1862
  if (n = e.input.charCodeAt(e.position), n !== 39)
1863
1863
  return !1;
@@ -1867,10 +1867,10 @@ function Pa(e, t) {
1867
1867
  i = e.position, e.position++, r = e.position;
1868
1868
  else
1869
1869
  return !0;
1870
- else de(n) ? (he(e, i, r, !0), ct(e, Z(e, !1, t)), i = r = e.position) : e.position === e.lineStart && Ve(e) ? I(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
1871
- I(e, "unexpected end of the stream within a single quoted scalar");
1870
+ else de(n) ? (he(e, i, r, !0), ct(e, Z(e, !1, t)), i = r = e.position) : e.position === e.lineStart && Ve(e) ? T(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
1871
+ T(e, "unexpected end of the stream within a single quoted scalar");
1872
1872
  }
1873
- function ja(e, t) {
1873
+ function Pa(e, t) {
1874
1874
  var n, i, r, o, a, l;
1875
1875
  if (l = e.input.charCodeAt(e.position), l !== 34)
1876
1876
  return !1;
@@ -1884,29 +1884,29 @@ function ja(e, t) {
1884
1884
  e.result += On[l], e.position++;
1885
1885
  else if ((a = La(l)) > 0) {
1886
1886
  for (r = a, o = 0; r > 0; r--)
1887
- l = e.input.charCodeAt(++e.position), (a = Ba(l)) >= 0 ? o = (o << 4) + a : I(e, "expected hexadecimal character");
1887
+ l = e.input.charCodeAt(++e.position), (a = Ba(l)) >= 0 ? o = (o << 4) + a : T(e, "expected hexadecimal character");
1888
1888
  e.result += Ka(o), e.position++;
1889
1889
  } else
1890
- I(e, "unknown escape sequence");
1890
+ T(e, "unknown escape sequence");
1891
1891
  n = i = e.position;
1892
- } else de(l) ? (he(e, n, i, !0), ct(e, Z(e, !1, t)), n = i = e.position) : e.position === e.lineStart && Ve(e) ? I(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
1892
+ } else de(l) ? (he(e, n, i, !0), ct(e, Z(e, !1, t)), n = i = e.position) : e.position === e.lineStart && Ve(e) ? T(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
1893
1893
  }
1894
- I(e, "unexpected end of the stream within a double quoted scalar");
1894
+ T(e, "unexpected end of the stream within a double quoted scalar");
1895
1895
  }
1896
- function Da(e, t) {
1897
- var n = !0, i, r, o, a = e.tag, l, s = e.anchor, c, d, u, p, m, y = /* @__PURE__ */ Object.create(null), h, k, C, x;
1898
- if (x = e.input.charCodeAt(e.position), x === 91)
1896
+ function ja(e, t) {
1897
+ var n = !0, i, r, o, a = e.tag, l, s = e.anchor, c, d, u, p, m, y = /* @__PURE__ */ Object.create(null), h, b, k, A;
1898
+ if (A = e.input.charCodeAt(e.position), A === 91)
1899
1899
  d = 93, m = !1, l = [];
1900
- else if (x === 123)
1900
+ else if (A === 123)
1901
1901
  d = 125, m = !0, l = {};
1902
1902
  else
1903
1903
  return !1;
1904
- for (e.anchor !== null && (e.anchorMap[e.anchor] = l), x = e.input.charCodeAt(++e.position); x !== 0; ) {
1905
- if (Z(e, !0, t), x = e.input.charCodeAt(e.position), x === d)
1904
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = l), A = e.input.charCodeAt(++e.position); A !== 0; ) {
1905
+ if (Z(e, !0, t), A = e.input.charCodeAt(e.position), A === d)
1906
1906
  return e.position++, e.tag = a, e.anchor = s, e.kind = m ? "mapping" : "sequence", e.result = l, !0;
1907
- n ? x === 44 && I(e, "expected the node content, but found ','") : I(e, "missed comma between flow collection entries"), k = h = C = null, u = p = !1, x === 63 && (c = e.input.charCodeAt(e.position + 1), se(c) && (u = p = !0, e.position++, Z(e, !0, t))), i = e.line, r = e.lineStart, o = e.position, Ee(e, t, Ke, !1, !0), k = e.tag, h = e.result, Z(e, !0, t), x = e.input.charCodeAt(e.position), (p || e.line === i) && x === 58 && (u = !0, x = e.input.charCodeAt(++e.position), Z(e, !0, t), Ee(e, t, Ke, !1, !0), C = e.result), m ? we(e, l, y, k, h, C, i, r, o) : u ? l.push(we(e, null, y, k, h, C, i, r, o)) : l.push(h), Z(e, !0, t), x = e.input.charCodeAt(e.position), x === 44 ? (n = !0, x = e.input.charCodeAt(++e.position)) : n = !1;
1907
+ n ? A === 44 && T(e, "expected the node content, but found ','") : T(e, "missed comma between flow collection entries"), b = h = k = null, u = p = !1, A === 63 && (c = e.input.charCodeAt(e.position + 1), se(c) && (u = p = !0, e.position++, Z(e, !0, t))), i = e.line, r = e.lineStart, o = e.position, Ee(e, t, Ke, !1, !0), b = e.tag, h = e.result, Z(e, !0, t), A = e.input.charCodeAt(e.position), (p || e.line === i) && A === 58 && (u = !0, A = e.input.charCodeAt(++e.position), Z(e, !0, t), Ee(e, t, Ke, !1, !0), k = e.result), m ? Se(e, l, y, b, h, k, i, r, o) : u ? l.push(Se(e, null, y, b, h, k, i, r, o)) : l.push(h), Z(e, !0, t), A = e.input.charCodeAt(e.position), A === 44 ? (n = !0, A = e.input.charCodeAt(++e.position)) : n = !1;
1908
1908
  }
1909
- I(e, "unexpected end of the stream within a flow collection");
1909
+ T(e, "unexpected end of the stream within a flow collection");
1910
1910
  }
1911
1911
  function Ua(e, t) {
1912
1912
  var n, i, r = Ge, o = !1, a = !1, l = t, s = 0, c = !1, d, u;
@@ -1918,9 +1918,9 @@ function Ua(e, t) {
1918
1918
  return !1;
1919
1919
  for (e.kind = "scalar", e.result = ""; u !== 0; )
1920
1920
  if (u = e.input.charCodeAt(++e.position), u === 43 || u === 45)
1921
- Ge === r ? r = u === 43 ? $t : Ea : I(e, "repeat of a chomping mode identifier");
1921
+ Ge === r ? r = u === 43 ? $t : Ea : T(e, "repeat of a chomping mode identifier");
1922
1922
  else if ((d = Ra(u)) >= 0)
1923
- d === 0 ? I(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : a ? I(e, "repeat of an indentation width identifier") : (l = t + d - 1, a = !0);
1923
+ d === 0 ? T(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : a ? T(e, "repeat of an indentation width identifier") : (l = t + d - 1, a = !0);
1924
1924
  else
1925
1925
  break;
1926
1926
  if (ve(u)) {
@@ -1940,15 +1940,15 @@ function Ua(e, t) {
1940
1940
  continue;
1941
1941
  }
1942
1942
  if (e.lineIndent < l) {
1943
- r === $t ? e.result += ee.repeat(`
1943
+ r === $t ? e.result += X.repeat(`
1944
1944
  `, o ? 1 + s : s) : r === Ge && o && (e.result += `
1945
1945
  `);
1946
1946
  break;
1947
1947
  }
1948
- for (i ? ve(u) ? (c = !0, e.result += ee.repeat(`
1949
- `, o ? 1 + s : s)) : c ? (c = !1, e.result += ee.repeat(`
1950
- `, s + 1)) : s === 0 ? o && (e.result += " ") : e.result += ee.repeat(`
1951
- `, s) : e.result += ee.repeat(`
1948
+ for (i ? ve(u) ? (c = !0, e.result += X.repeat(`
1949
+ `, o ? 1 + s : s)) : c ? (c = !1, e.result += X.repeat(`
1950
+ `, s + 1)) : s === 0 ? o && (e.result += " ") : e.result += X.repeat(`
1951
+ `, s) : e.result += X.repeat(`
1952
1952
  `, o ? 1 + s : s), o = !0, a = !0, s = 0, n = e.position; !de(u) && u !== 0; )
1953
1953
  u = e.input.charCodeAt(++e.position);
1954
1954
  he(e, n, e.position, !1);
@@ -1958,92 +1958,92 @@ function Ua(e, t) {
1958
1958
  function Ot(e, t) {
1959
1959
  var n, i = e.tag, r = e.anchor, o = [], a, l = !1, s;
1960
1960
  if (e.firstTabInLine !== -1) return !1;
1961
- for (e.anchor !== null && (e.anchorMap[e.anchor] = o), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, I(e, "tab characters must not be used in indentation")), !(s !== 45 || (a = e.input.charCodeAt(e.position + 1), !se(a)))); ) {
1961
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = o), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, T(e, "tab characters must not be used in indentation")), !(s !== 45 || (a = e.input.charCodeAt(e.position + 1), !se(a)))); ) {
1962
1962
  if (l = !0, e.position++, Z(e, !0, -1) && e.lineIndent <= t) {
1963
1963
  o.push(null), s = e.input.charCodeAt(e.position);
1964
1964
  continue;
1965
1965
  }
1966
1966
  if (n = e.line, Ee(e, t, $n, !1, !0), o.push(e.result), Z(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && s !== 0)
1967
- I(e, "bad indentation of a sequence entry");
1967
+ T(e, "bad indentation of a sequence entry");
1968
1968
  else if (e.lineIndent < t)
1969
1969
  break;
1970
1970
  }
1971
1971
  return l ? (e.tag = i, e.anchor = r, e.kind = "sequence", e.result = o, !0) : !1;
1972
1972
  }
1973
1973
  function qa(e, t, n) {
1974
- var i, r, o, a, l, s, c = e.tag, d = e.anchor, u = {}, p = /* @__PURE__ */ Object.create(null), m = null, y = null, h = null, k = !1, C = !1, x;
1974
+ var i, r, o, a, l, s, c = e.tag, d = e.anchor, u = {}, p = /* @__PURE__ */ Object.create(null), m = null, y = null, h = null, b = !1, k = !1, A;
1975
1975
  if (e.firstTabInLine !== -1) return !1;
1976
- for (e.anchor !== null && (e.anchorMap[e.anchor] = u), x = e.input.charCodeAt(e.position); x !== 0; ) {
1977
- if (!k && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, I(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), o = e.line, (x === 63 || x === 58) && se(i))
1978
- x === 63 ? (k && (we(e, u, p, m, y, null, a, l, s), m = y = h = null), C = !0, k = !0, r = !0) : k ? (k = !1, r = !0) : I(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, x = i;
1976
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = u), A = e.input.charCodeAt(e.position); A !== 0; ) {
1977
+ if (!b && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, T(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), o = e.line, (A === 63 || A === 58) && se(i))
1978
+ A === 63 ? (b && (Se(e, u, p, m, y, null, a, l, s), m = y = h = null), k = !0, b = !0, r = !0) : b ? (b = !1, r = !0) : T(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, A = i;
1979
1979
  else {
1980
1980
  if (a = e.line, l = e.lineStart, s = e.position, !Ee(e, n, Sn, !1, !0))
1981
1981
  break;
1982
1982
  if (e.line === o) {
1983
- for (x = e.input.charCodeAt(e.position); ve(x); )
1984
- x = e.input.charCodeAt(++e.position);
1985
- if (x === 58)
1986
- x = e.input.charCodeAt(++e.position), se(x) || I(e, "a whitespace character is expected after the key-value separator within a block mapping"), k && (we(e, u, p, m, y, null, a, l, s), m = y = h = null), C = !0, k = !1, r = !1, m = e.tag, y = e.result;
1987
- else if (C)
1988
- I(e, "can not read an implicit mapping pair; a colon is missed");
1983
+ for (A = e.input.charCodeAt(e.position); ve(A); )
1984
+ A = e.input.charCodeAt(++e.position);
1985
+ if (A === 58)
1986
+ A = e.input.charCodeAt(++e.position), se(A) || T(e, "a whitespace character is expected after the key-value separator within a block mapping"), b && (Se(e, u, p, m, y, null, a, l, s), m = y = h = null), k = !0, b = !1, r = !1, m = e.tag, y = e.result;
1987
+ else if (k)
1988
+ T(e, "can not read an implicit mapping pair; a colon is missed");
1989
1989
  else
1990
1990
  return e.tag = c, e.anchor = d, !0;
1991
- } else if (C)
1992
- I(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1991
+ } else if (k)
1992
+ T(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1993
1993
  else
1994
1994
  return e.tag = c, e.anchor = d, !0;
1995
1995
  }
1996
- if ((e.line === o || e.lineIndent > t) && (k && (a = e.line, l = e.lineStart, s = e.position), Ee(e, t, Ne, !0, r) && (k ? y = e.result : h = e.result), k || (we(e, u, p, m, y, h, a, l, s), m = y = h = null), Z(e, !0, -1), x = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && x !== 0)
1997
- I(e, "bad indentation of a mapping entry");
1996
+ if ((e.line === o || e.lineIndent > t) && (b && (a = e.line, l = e.lineStart, s = e.position), Ee(e, t, Ne, !0, r) && (b ? y = e.result : h = e.result), b || (Se(e, u, p, m, y, h, a, l, s), m = y = h = null), Z(e, !0, -1), A = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && A !== 0)
1997
+ T(e, "bad indentation of a mapping entry");
1998
1998
  else if (e.lineIndent < t)
1999
1999
  break;
2000
2000
  }
2001
- return k && we(e, u, p, m, y, null, a, l, s), C && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), C;
2001
+ return b && Se(e, u, p, m, y, null, a, l, s), k && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), k;
2002
2002
  }
2003
2003
  function Ha(e) {
2004
2004
  var t, n = !1, i = !1, r, o, a;
2005
2005
  if (a = e.input.charCodeAt(e.position), a !== 33) return !1;
2006
- if (e.tag !== null && I(e, "duplication of a tag property"), a = e.input.charCodeAt(++e.position), a === 60 ? (n = !0, a = e.input.charCodeAt(++e.position)) : a === 33 ? (i = !0, r = "!!", a = e.input.charCodeAt(++e.position)) : r = "!", t = e.position, n) {
2006
+ if (e.tag !== null && T(e, "duplication of a tag property"), a = e.input.charCodeAt(++e.position), a === 60 ? (n = !0, a = e.input.charCodeAt(++e.position)) : a === 33 ? (i = !0, r = "!!", a = e.input.charCodeAt(++e.position)) : r = "!", t = e.position, n) {
2007
2007
  do
2008
2008
  a = e.input.charCodeAt(++e.position);
2009
2009
  while (a !== 0 && a !== 62);
2010
- e.position < e.length ? (o = e.input.slice(t, e.position), a = e.input.charCodeAt(++e.position)) : I(e, "unexpected end of the stream within a verbatim tag");
2010
+ e.position < e.length ? (o = e.input.slice(t, e.position), a = e.input.charCodeAt(++e.position)) : T(e, "unexpected end of the stream within a verbatim tag");
2011
2011
  } else {
2012
2012
  for (; a !== 0 && !se(a); )
2013
- a === 33 && (i ? I(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(t - 1, e.position + 1), Tn.test(r) || I(e, "named tag handle cannot contain such characters"), i = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
2014
- o = e.input.slice(t, e.position), Oa.test(o) && I(e, "tag suffix cannot contain flow indicator characters");
2013
+ a === 33 && (i ? T(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(t - 1, e.position + 1), Tn.test(r) || T(e, "named tag handle cannot contain such characters"), i = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
2014
+ o = e.input.slice(t, e.position), Oa.test(o) && T(e, "tag suffix cannot contain flow indicator characters");
2015
2015
  }
2016
- o && !En.test(o) && I(e, "tag name cannot contain such characters: " + o);
2016
+ o && !En.test(o) && T(e, "tag name cannot contain such characters: " + o);
2017
2017
  try {
2018
2018
  o = decodeURIComponent(o);
2019
2019
  } catch {
2020
- I(e, "tag name is malformed: " + o);
2020
+ T(e, "tag name is malformed: " + o);
2021
2021
  }
2022
- return n ? e.tag = o : ye.call(e.tagMap, r) ? e.tag = e.tagMap[r] + o : r === "!" ? e.tag = "!" + o : r === "!!" ? e.tag = "tag:yaml.org,2002:" + o : I(e, 'undeclared tag handle "' + r + '"'), !0;
2022
+ return n ? e.tag = o : ye.call(e.tagMap, r) ? e.tag = e.tagMap[r] + o : r === "!" ? e.tag = "!" + o : r === "!!" ? e.tag = "tag:yaml.org,2002:" + o : T(e, 'undeclared tag handle "' + r + '"'), !0;
2023
2023
  }
2024
2024
  function Va(e) {
2025
2025
  var t, n;
2026
2026
  if (n = e.input.charCodeAt(e.position), n !== 38) return !1;
2027
- for (e.anchor !== null && I(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !se(n) && !_e(n); )
2027
+ for (e.anchor !== null && T(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !se(n) && !we(n); )
2028
2028
  n = e.input.charCodeAt(++e.position);
2029
- return e.position === t && I(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
2029
+ return e.position === t && T(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
2030
2030
  }
2031
2031
  function Ya(e) {
2032
2032
  var t, n, i;
2033
2033
  if (i = e.input.charCodeAt(e.position), i !== 42) return !1;
2034
- for (i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !se(i) && !_e(i); )
2034
+ for (i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !se(i) && !we(i); )
2035
2035
  i = e.input.charCodeAt(++e.position);
2036
- return e.position === t && I(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), ye.call(e.anchorMap, n) || I(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], Z(e, !0, -1), !0;
2036
+ return e.position === t && T(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), ye.call(e.anchorMap, n) || T(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], Z(e, !0, -1), !0;
2037
2037
  }
2038
2038
  function Ee(e, t, n, i, r) {
2039
- var o, a, l, s = 1, c = !1, d = !1, u, p, m, y, h, k;
2039
+ var o, a, l, s = 1, c = !1, d = !1, u, p, m, y, h, b;
2040
2040
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Ne === n || $n === n, i && Z(e, !0, -1) && (c = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
2041
2041
  for (; Ha(e) || Va(e); )
2042
2042
  Z(e, !0, -1) ? (c = !0, l = o, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
2043
- if (l && (l = c || r), (s === 1 || Ne === n) && (Ke === n || Sn === n ? h = t : h = t + 1, k = e.position - e.lineStart, s === 1 ? l && (Ot(e, k) || qa(e, k, h)) || Da(e, h) ? d = !0 : (a && Ua(e, h) || Pa(e, h) || ja(e, h) ? d = !0 : Ya(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && I(e, "alias node should not have any properties")) : Ma(e, h, Ke === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Ot(e, k))), e.tag === null)
2043
+ if (l && (l = c || r), (s === 1 || Ne === n) && (Ke === n || Sn === n ? h = t : h = t + 1, b = e.position - e.lineStart, s === 1 ? l && (Ot(e, b) || qa(e, b, h)) || ja(e, h) ? d = !0 : (a && Ua(e, h) || Da(e, h) || Pa(e, h) ? d = !0 : Ya(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && T(e, "alias node should not have any properties")) : Ma(e, h, Ke === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Ot(e, b))), e.tag === null)
2044
2044
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2045
2045
  else if (e.tag === "?") {
2046
- for (e.result !== null && e.kind !== "scalar" && I(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, p = e.implicitTypes.length; u < p; u += 1)
2046
+ for (e.result !== null && e.kind !== "scalar" && T(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, p = e.implicitTypes.length; u < p; u += 1)
2047
2047
  if (y = e.implicitTypes[u], y.resolve(e.result)) {
2048
2048
  e.result = y.construct(e.result), e.tag = y.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2049
2049
  break;
@@ -2057,7 +2057,7 @@ function Ee(e, t, n, i, r) {
2057
2057
  y = m[u];
2058
2058
  break;
2059
2059
  }
2060
- y || I(e, "unknown tag !<" + e.tag + ">"), e.result !== null && y.kind !== e.kind && I(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + y.kind + '", not "' + e.kind + '"'), y.resolve(e.result, e.tag) ? (e.result = y.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : I(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2060
+ y || T(e, "unknown tag !<" + e.tag + ">"), e.result !== null && y.kind !== e.kind && T(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + y.kind + '", not "' + e.kind + '"'), y.resolve(e.result, e.tag) ? (e.result = y.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : T(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2061
2061
  }
2062
2062
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2063
2063
  }
@@ -2066,7 +2066,7 @@ function Wa(e) {
2066
2066
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (a = e.input.charCodeAt(e.position)) !== 0 && (Z(e, !0, -1), a = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || a !== 37)); ) {
2067
2067
  for (o = !0, a = e.input.charCodeAt(++e.position), n = e.position; a !== 0 && !se(a); )
2068
2068
  a = e.input.charCodeAt(++e.position);
2069
- for (i = e.input.slice(n, e.position), r = [], i.length < 1 && I(e, "directive name must not be less than one character in length"); a !== 0; ) {
2069
+ for (i = e.input.slice(n, e.position), r = [], i.length < 1 && T(e, "directive name must not be less than one character in length"); a !== 0; ) {
2070
2070
  for (; ve(a); )
2071
2071
  a = e.input.charCodeAt(++e.position);
2072
2072
  if (a === 35) {
@@ -2082,12 +2082,12 @@ function Wa(e) {
2082
2082
  }
2083
2083
  a !== 0 && st(e), ye.call(It, i) ? It[i](e, i, r) : Me(e, 'unknown document directive "' + i + '"');
2084
2084
  }
2085
- if (Z(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, Z(e, !0, -1)) : o && I(e, "directives end mark is expected"), Ee(e, e.lineIndent - 1, Ne, !1, !0), Z(e, !0, -1), e.checkLineBreaks && Fa.test(e.input.slice(t, e.position)) && Me(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ve(e)) {
2085
+ if (Z(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, Z(e, !0, -1)) : o && T(e, "directives end mark is expected"), Ee(e, e.lineIndent - 1, Ne, !1, !0), Z(e, !0, -1), e.checkLineBreaks && Fa.test(e.input.slice(t, e.position)) && Me(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ve(e)) {
2086
2086
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, Z(e, !0, -1));
2087
2087
  return;
2088
2088
  }
2089
2089
  if (e.position < e.length - 1)
2090
- I(e, "end of the stream or a document separator is expected");
2090
+ T(e, "end of the stream or a document separator is expected");
2091
2091
  else
2092
2092
  return;
2093
2093
  }
@@ -2095,7 +2095,7 @@ function Ln(e, t) {
2095
2095
  e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2096
2096
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2097
2097
  var n = new Na(e, t), i = e.indexOf("\0");
2098
- for (i !== -1 && (n.position = i, I(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
2098
+ for (i !== -1 && (n.position = i, T(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
2099
2099
  n.lineIndent += 1, n.position += 1;
2100
2100
  for (; n.position < n.length - 1; )
2101
2101
  Wa(n);
@@ -2120,7 +2120,7 @@ function Ga(e, t) {
2120
2120
  var za = Ja, Qa = Ga, Rn = {
2121
2121
  loadAll: za,
2122
2122
  load: Qa
2123
- }, Kn = Object.prototype.toString, Nn = Object.prototype.hasOwnProperty, ut = 65279, Za = 9, Oe = 10, Xa = 13, eo = 32, to = 33, no = 34, Xe = 35, io = 37, ro = 38, ao = 39, oo = 42, Mn = 44, lo = 45, Pe = 58, so = 61, co = 62, uo = 63, fo = 64, Pn = 91, jn = 93, po = 96, Dn = 123, mo = 124, Un = 125, re = {};
2123
+ }, Kn = Object.prototype.toString, Nn = Object.prototype.hasOwnProperty, ut = 65279, Za = 9, Oe = 10, Xa = 13, eo = 32, to = 33, no = 34, Xe = 35, io = 37, ro = 38, ao = 39, oo = 42, Mn = 44, lo = 45, De = 58, so = 61, co = 62, uo = 63, fo = 64, Dn = 91, Pn = 93, po = 96, jn = 123, mo = 124, Un = 125, re = {};
2124
2124
  re[0] = "\\0";
2125
2125
  re[7] = "\\a";
2126
2126
  re[8] = "\\b";
@@ -2171,14 +2171,14 @@ function vo(e) {
2171
2171
  n = "U", i = 8;
2172
2172
  else
2173
2173
  throw new oe("code point within a string may not be greater than 0xFFFFFFFF");
2174
- return "\\" + n + ee.repeat("0", i - t.length) + t;
2174
+ return "\\" + n + X.repeat("0", i - t.length) + t;
2175
2175
  }
2176
2176
  var bo = 1, Be = 2;
2177
2177
  function ko(e) {
2178
- this.schema = e.schema || lt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ee.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = yo(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Be : bo, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
2178
+ this.schema = e.schema || lt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = X.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = yo(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Be : bo, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
2179
2179
  }
2180
2180
  function Bt(e, t) {
2181
- for (var n = ee.repeat(" ", t), i = 0, r = -1, o = "", a, l = e.length; i < l; )
2181
+ for (var n = X.repeat(" ", t), i = 0, r = -1, o = "", a, l = e.length; i < l; )
2182
2182
  r = e.indexOf(`
2183
2183
  `, i), r === -1 ? (a = e.slice(i), i = l) : (a = e.slice(i, r + 1), i = r + 1), a.length && a !== `
2184
2184
  ` && (o += n), o += a;
@@ -2186,7 +2186,7 @@ function Bt(e, t) {
2186
2186
  }
2187
2187
  function et(e, t) {
2188
2188
  return `
2189
- ` + ee.repeat(" ", e.indent * t);
2189
+ ` + X.repeat(" ", e.indent * t);
2190
2190
  }
2191
2191
  function Co(e, t) {
2192
2192
  var n, i, r;
@@ -2195,7 +2195,7 @@ function Co(e, t) {
2195
2195
  return !0;
2196
2196
  return !1;
2197
2197
  }
2198
- function je(e) {
2198
+ function Pe(e) {
2199
2199
  return e === eo || e === Za;
2200
2200
  }
2201
2201
  function Le(e) {
@@ -2205,20 +2205,20 @@ function Lt(e) {
2205
2205
  return Le(e) && e !== ut && e !== Xa && e !== Oe;
2206
2206
  }
2207
2207
  function Rt(e, t, n) {
2208
- var i = Lt(e), r = i && !je(e);
2208
+ var i = Lt(e), r = i && !Pe(e);
2209
2209
  return (
2210
2210
  // ns-plain-safe
2211
2211
  (n ? (
2212
2212
  // c = flow-in
2213
2213
  i
2214
- ) : i && e !== Mn && e !== Pn && e !== jn && e !== Dn && e !== Un) && e !== Xe && !(t === Pe && !r) || Lt(t) && !je(t) && e === Xe || t === Pe && r
2214
+ ) : i && e !== Mn && e !== Dn && e !== Pn && e !== jn && e !== Un) && e !== Xe && !(t === De && !r) || Lt(t) && !Pe(t) && e === Xe || t === De && r
2215
2215
  );
2216
2216
  }
2217
2217
  function xo(e) {
2218
- return Le(e) && e !== ut && !je(e) && e !== lo && e !== uo && e !== Pe && e !== Mn && e !== Pn && e !== jn && e !== Dn && e !== Un && e !== Xe && e !== ro && e !== oo && e !== to && e !== mo && e !== so && e !== co && e !== ao && e !== no && e !== io && e !== fo && e !== po;
2218
+ return Le(e) && e !== ut && !Pe(e) && e !== lo && e !== uo && e !== De && e !== Mn && e !== Dn && e !== Pn && e !== jn && e !== Un && e !== Xe && e !== ro && e !== oo && e !== to && e !== mo && e !== so && e !== co && e !== ao && e !== no && e !== io && e !== fo && e !== po;
2219
2219
  }
2220
2220
  function Ao(e) {
2221
- return !je(e) && e !== Pe;
2221
+ return !Pe(e) && e !== De;
2222
2222
  }
2223
2223
  function Ie(e, t) {
2224
2224
  var n = e.charCodeAt(t), i;
@@ -2228,13 +2228,13 @@ function qn(e) {
2228
2228
  var t = /^\n* /;
2229
2229
  return t.test(e);
2230
2230
  }
2231
- var Hn = 1, tt = 2, Vn = 3, Yn = 4, Ae = 5;
2231
+ var Hn = 1, tt = 2, Vn = 3, Yn = 4, _e = 5;
2232
2232
  function _o(e, t, n, i, r, o, a, l) {
2233
2233
  var s, c = 0, d = null, u = !1, p = !1, m = i !== -1, y = -1, h = xo(Ie(e, 0)) && Ao(Ie(e, e.length - 1));
2234
2234
  if (t || a)
2235
2235
  for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
2236
2236
  if (c = Ie(e, s), !Le(c))
2237
- return Ae;
2237
+ return _e;
2238
2238
  h = h && Rt(c, d, l), d = c;
2239
2239
  }
2240
2240
  else {
@@ -2243,12 +2243,12 @@ function _o(e, t, n, i, r, o, a, l) {
2243
2243
  u = !0, m && (p = p || // Foldable line = too long, and not more-indented.
2244
2244
  s - y - 1 > i && e[y + 1] !== " ", y = s);
2245
2245
  else if (!Le(c))
2246
- return Ae;
2246
+ return _e;
2247
2247
  h = h && Rt(c, d, l), d = c;
2248
2248
  }
2249
2249
  p = p || m && s - y - 1 > i && e[y + 1] !== " ";
2250
2250
  }
2251
- return !u && !p ? h && !a && !r(e) ? Hn : o === Be ? Ae : tt : n > 9 && qn(e) ? Ae : a ? o === Be ? Ae : tt : p ? Yn : Vn;
2251
+ return !u && !p ? h && !a && !r(e) ? Hn : o === Be ? _e : tt : n > 9 && qn(e) ? _e : a ? o === Be ? _e : tt : p ? Yn : Vn;
2252
2252
  }
2253
2253
  function wo(e, t, n, i, r) {
2254
2254
  e.dump = function() {
@@ -2278,7 +2278,7 @@ function wo(e, t, n, i, r) {
2278
2278
  return "|" + Kt(t, e.indent) + Nt(Bt(t, o));
2279
2279
  case Yn:
2280
2280
  return ">" + Kt(t, e.indent) + Nt(Bt(So(t, a), o));
2281
- case Ae:
2281
+ case _e:
2282
2282
  return '"' + $o(t) + '"';
2283
2283
  default:
2284
2284
  throw new oe("impossible error: invalid scalar style");
@@ -2330,7 +2330,7 @@ function To(e, t, n) {
2330
2330
  l = n[o], e.replacer && (l = e.replacer.call(n, String(o), l)), (pe(e, t, l, !1, !1) || typeof l > "u" && pe(e, t, null, !1, !1)) && (i !== "" && (i += "," + (e.condenseFlow ? "" : " ")), i += e.dump);
2331
2331
  e.tag = r, e.dump = "[" + i + "]";
2332
2332
  }
2333
- function Pt(e, t, n, i) {
2333
+ function Dt(e, t, n, i) {
2334
2334
  var r = "", o = e.tag, a, l, s;
2335
2335
  for (a = 0, l = n.length; a < l; a += 1)
2336
2336
  s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (pe(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && pe(e, t + 1, null, !0, !0, !1, !0)) && ((!i || r !== "") && (r += et(e, t)), e.dump && Oe === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
@@ -2354,7 +2354,7 @@ function Io(e, t, n, i) {
2354
2354
  p = "", (!i || r !== "") && (p += et(e, t)), c = a[l], d = n[c], e.replacer && (d = e.replacer.call(n, c, d)), pe(e, t + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Oe === e.dump.charCodeAt(0) ? p += "?" : p += "? "), p += e.dump, u && (p += et(e, t)), pe(e, t + 1, d, !0, u) && (e.dump && Oe === e.dump.charCodeAt(0) ? p += ":" : p += ": ", p += e.dump, r += p));
2355
2355
  e.tag = o, e.dump = r || "{}";
2356
2356
  }
2357
- function jt(e, t, n) {
2357
+ function Pt(e, t, n) {
2358
2358
  var i, r, o, a, l, s;
2359
2359
  for (r = n ? e.explicitTypes : e.implicitTypes, o = 0, a = r.length; o < a; o += 1)
2360
2360
  if (l = r[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof t == "object" && t instanceof l.instanceOf) && (!l.predicate || l.predicate(t))) {
@@ -2372,7 +2372,7 @@ function jt(e, t, n) {
2372
2372
  return !1;
2373
2373
  }
2374
2374
  function pe(e, t, n, i, r, o, a) {
2375
- e.tag = null, e.dump = n, jt(e, n, !1) || jt(e, n, !0);
2375
+ e.tag = null, e.dump = n, Pt(e, n, !1) || Pt(e, n, !0);
2376
2376
  var l = Kn.call(e.dump), s = i, c;
2377
2377
  i && (i = e.flowLevel < 0 || e.flowLevel > t);
2378
2378
  var d = l === "[object Object]" || l === "[object Array]", u, p;
@@ -2382,7 +2382,7 @@ function pe(e, t, n, i, r, o, a) {
2382
2382
  if (d && p && !e.usedDuplicates[u] && (e.usedDuplicates[u] = !0), l === "[object Object]")
2383
2383
  i && Object.keys(e.dump).length !== 0 ? (Io(e, t, e.dump, r), p && (e.dump = "&ref_" + u + e.dump)) : (Eo(e, t, e.dump), p && (e.dump = "&ref_" + u + " " + e.dump));
2384
2384
  else if (l === "[object Array]")
2385
- i && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? Pt(e, t - 1, e.dump, r) : Pt(e, t, e.dump, r), p && (e.dump = "&ref_" + u + e.dump)) : (To(e, t, e.dump), p && (e.dump = "&ref_" + u + " " + e.dump));
2385
+ i && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? Dt(e, t - 1, e.dump, r) : Dt(e, t, e.dump, r), p && (e.dump = "&ref_" + u + e.dump)) : (To(e, t, e.dump), p && (e.dump = "&ref_" + u + " " + e.dump));
2386
2386
  else if (l === "[object String]")
2387
2387
  e.tag !== "?" && wo(e, e.dump, t, o, s);
2388
2388
  else {
@@ -2431,7 +2431,7 @@ function dt(e, t) {
2431
2431
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2432
2432
  };
2433
2433
  }
2434
- var Ro = ie, Ko = ln, No = dn, Mo = hn, Po = yn, jo = lt, Do = Rn.load, Uo = Rn.loadAll, qo = Lo.dump, Ho = oe, Vo = {
2434
+ var Ro = ie, Ko = ln, No = dn, Mo = hn, Do = yn, Po = lt, jo = Rn.load, Uo = Rn.loadAll, qo = Lo.dump, Ho = oe, Vo = {
2435
2435
  binary: xn,
2436
2436
  float: gn,
2437
2437
  map: un,
@@ -2450,9 +2450,9 @@ var Ro = ie, Ko = ln, No = dn, Mo = hn, Po = yn, jo = lt, Do = Rn.load, Uo = Rn.
2450
2450
  Schema: Ko,
2451
2451
  FAILSAFE_SCHEMA: No,
2452
2452
  JSON_SCHEMA: Mo,
2453
- CORE_SCHEMA: Po,
2454
- DEFAULT_SCHEMA: jo,
2455
- load: Do,
2453
+ CORE_SCHEMA: Do,
2454
+ DEFAULT_SCHEMA: Po,
2455
+ load: jo,
2456
2456
  loadAll: Uo,
2457
2457
  dump: qo,
2458
2458
  YAMLException: Ho,
@@ -2471,21 +2471,21 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2471
2471
  }
2472
2472
  },
2473
2473
  setup(e) {
2474
- const t = e, n = $(() => {
2474
+ const t = e, n = S(() => {
2475
2475
  const i = Object.fromEntries(Object.entries(t.entityRecord).filter(([, r]) => r !== null && r !== "" && (Array.isArray(r) ? r.length !== 0 : !0)));
2476
2476
  return Object.keys(i).length === 0 && i.constructor === Object ? "" : Wn.dump(i).trim();
2477
2477
  });
2478
2478
  return (i, r) => {
2479
- const o = D("KCodeBlock");
2480
- return g(), T("div", Go, [
2481
- t.entityRecord ? (g(), N(o, {
2479
+ const o = j("KCodeBlock");
2480
+ return g(), $("div", Go, [
2481
+ t.entityRecord ? (g(), K(o, {
2482
2482
  key: 0,
2483
2483
  id: "yaml-codeblock",
2484
2484
  code: n.value,
2485
2485
  language: "yaml",
2486
2486
  theme: "dark",
2487
- onCodeBlockRender: A(Te)
2488
- }, null, 8, ["code", "onCodeBlockRender"])) : P("", !0)
2487
+ onCodeBlockRender: _(Te)
2488
+ }, null, 8, ["code", "onCodeBlockRender"])) : D("", !0)
2489
2489
  ]);
2490
2490
  };
2491
2491
  }
@@ -2513,7 +2513,7 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2513
2513
  }
2514
2514
  },
2515
2515
  setup(e) {
2516
- const t = e, n = $(() => bi.includes(t.entityType)), i = $(() => ki.includes(t.entityType)), r = (c, d) => {
2516
+ const t = e, n = S(() => bi.includes(t.entityType)), i = S(() => ki.includes(t.entityType)), r = (c, d) => {
2517
2517
  const u = te;
2518
2518
  let p = "";
2519
2519
  return typeof c == "string" ? p += `${u}${d} = "${c}"
@@ -2527,12 +2527,12 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2527
2527
  if (d && (m += `${p}${d} = {
2528
2528
  `), c === null)
2529
2529
  return d ? m += `${p}}` : m = "{}", m;
2530
- const y = Object.fromEntries(Object.entries(c).filter(([, k]) => k !== null));
2530
+ const y = Object.fromEntries(Object.entries(c).filter(([, b]) => b !== null));
2531
2531
  let h = "";
2532
- for (const [k, C] of Object.entries(y))
2533
- Array.isArray(C) ? C.length === 0 ? h = "[]" : (h = `[
2534
- `, h += a(C, void 0, p), h += `${p}${te}]`) : C && typeof C == "object" ? (h = `{
2535
- `, h += o(C, void 0, p), h += `${p}${te}}`) : h = String(C ?? ""), typeof C == "string" && (h = `"${h}"`), m += `${p}${te}${k} = ${h}
2532
+ for (const [b, k] of Object.entries(y))
2533
+ Array.isArray(k) ? k.length === 0 ? h = "[]" : (h = `[
2534
+ `, h += a(k, void 0, p), h += `${p}${te}]`) : k && typeof k == "object" ? (h = `{
2535
+ `, h += o(k, void 0, p), h += `${p}${te}}`) : h = String(k ?? ""), typeof k == "string" && (h = `"${h}"`), m += `${p}${te}${b} = ${h}
2536
2536
  `;
2537
2537
  return d ? m += `${p}}
2538
2538
  ` : m;
@@ -2557,21 +2557,21 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2557
2557
  for (const [u, p] of Object.entries(c))
2558
2558
  Array.isArray(p) ? d += a(p, u) : typeof p == "object" ? d += o(p, u) : d += r(p, u);
2559
2559
  return d;
2560
- }, s = $(() => {
2561
- var m, y, h, k, C, x, B;
2562
- const c = Object.fromEntries(Object.entries(t.entityRecord).filter(([, j]) => j != null)), d = t.entityRecord.config ? Object.fromEntries(Object.entries((m = t.entityRecord) == null ? void 0 : m.config).filter(([, j]) => j != null)) : void 0;
2560
+ }, s = S(() => {
2561
+ var m, y, h, b, k, A, B;
2562
+ const c = Object.fromEntries(Object.entries(t.entityRecord).filter(([, P]) => P != null)), d = t.entityRecord.config ? Object.fromEntries(Object.entries((m = t.entityRecord) == null ? void 0 : m.config).filter(([, P]) => P != null)) : void 0;
2563
2563
  if (d && (c.config = d), Object.keys(c).length === 0)
2564
2564
  return "";
2565
2565
  delete c.id;
2566
2566
  let u = "", p = "";
2567
- if ((y = c.service) != null && y.id ? (p = "service", delete c.service) : (h = c.route) != null && h.id ? (p = "route", delete c.route) : (k = c.consumer) != null && k.id ? (p = "consumer", delete c.consumer) : (C = c.consumer_group) != null && C.id ? (p = "consumer_group", delete c.consumer_group) : (x = c.certificate) != null && x.id ? (p = "certificate", delete c.certificate) : (B = c.set) != null && B.id && (p = "set", delete c.set), n.value) {
2568
- const j = t.subEntityType ? `${t.entityType}_${t.subEntityType}` : t.entityType;
2569
- u += `resource "konnect_event_gateway_${j}" "my_eventgateway${j.replaceAll("_", "")}" {
2567
+ if ((y = c.service) != null && y.id ? (p = "service", delete c.service) : (h = c.route) != null && h.id ? (p = "route", delete c.route) : (b = c.consumer) != null && b.id ? (p = "consumer", delete c.consumer) : (k = c.consumer_group) != null && k.id ? (p = "consumer_group", delete c.consumer_group) : (A = c.certificate) != null && A.id ? (p = "certificate", delete c.certificate) : (B = c.set) != null && B.id && (p = "set", delete c.set), n.value) {
2568
+ const P = t.subEntityType ? `${t.entityType}_${t.subEntityType}` : t.entityType;
2569
+ u += `resource "konnect_event_gateway_${P}" "my_eventgateway${P.replaceAll("_", "")}" {
2570
2570
  `, u += `${te}provider = konnect-beta
2571
2571
  `;
2572
2572
  } else if (t.entityType === "plugin") {
2573
- const j = t.credentialType.replace(/-/g, "_") || (c.name + "").replace(/-/g, "_");
2574
- delete c.name, u += `resource "konnect_gateway_plugin_${j}" "my_${j}" {
2573
+ const P = t.credentialType.replace(/-/g, "_") || (c.name + "").replace(/-/g, "_");
2574
+ delete c.name, u += `resource "konnect_gateway_plugin_${P}" "my_${P}" {
2575
2575
  `;
2576
2576
  } else i.value ? (u += `resource "konnect_${t.entityType}" "my_${t.entityType}" {
2577
2577
  `, u += `${te}provider = konnect-beta
@@ -2585,16 +2585,16 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2585
2585
  `, u;
2586
2586
  });
2587
2587
  return (c, d) => {
2588
- const u = D("KCodeBlock");
2589
- return g(), T("div", zo, [
2590
- t.entityRecord ? (g(), N(u, {
2588
+ const u = j("KCodeBlock");
2589
+ return g(), $("div", zo, [
2590
+ t.entityRecord ? (g(), K(u, {
2591
2591
  key: 0,
2592
2592
  id: "terraform-codeblock",
2593
2593
  code: s.value,
2594
2594
  language: "terraform",
2595
2595
  theme: "dark",
2596
- onCodeBlockRender: A(Te)
2597
- }, null, 8, ["code", "onCodeBlockRender"])) : P("", !0)
2596
+ onCodeBlockRender: _(Te)
2597
+ }, null, 8, ["code", "onCodeBlockRender"])) : D("", !0)
2598
2598
  ]);
2599
2599
  };
2600
2600
  }
@@ -2661,31 +2661,31 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2661
2661
  }
2662
2662
  },
2663
2663
  setup(e) {
2664
- const t = e, n = Ue(), { i18n: { t: i } } = W.useI18n(), r = (l) => !!(l.tooltip || n[`${l.key}-label-tooltip`]), o = $(() => {
2664
+ const t = e, n = Ue(), { i18n: { t: i } } = J.useI18n(), r = (l) => !!(l.tooltip || n[`${l.key}-label-tooltip`]), o = S(() => {
2665
2665
  if (!t.record)
2666
2666
  return t.record;
2667
2667
  let l = t.record;
2668
2668
  t.codeBlockRecordFormatter && (l = t.codeBlockRecordFormatter(l, t.format));
2669
2669
  const s = JSON.parse(JSON.stringify(l));
2670
2670
  return delete s.created_at, delete s.updated_at, s;
2671
- }), a = $(() => t.fetcherUrl.replace(/(\?|&)__ui_data=true/, ""));
2672
- return (l, s) => (g(), T(ue, null, [
2673
- e.format === "structured" ? (g(), T("div", Qo, [
2674
- (g(!0), T(ue, null, ce(e.propListTypes, (c) => (g(), T("div", {
2671
+ }), a = S(() => t.fetcherUrl.replace(/(\?|&)__ui_data=true/, ""));
2672
+ return (l, s) => (g(), $(ue, null, [
2673
+ e.format === "structured" ? (g(), $("div", Qo, [
2674
+ (g(!0), $(ue, null, ce(e.propListTypes, (c) => (g(), $("div", {
2675
2675
  key: `config-card-details-${c}-props`,
2676
2676
  class: fe(`config-card-details-${c}-props`),
2677
2677
  "data-testid": `config-card-details-${c}-props`
2678
2678
  }, [
2679
- c !== "basic" ? (g(), T("div", Xo, O(c === "advanced" ? A(i)("baseConfigCard.sections.advanced") : c === "plugin" ? A(i)("baseConfigCard.sections.plugin") : A(i)("baseConfigCard.sections.policy")), 1)) : P("", !0),
2680
- (g(!0), T(ue, null, ce(e.propertyCollections[c], (d) => U(l.$slots, `config-card-item-${d.key}`, {
2679
+ c !== "basic" ? (g(), $("div", Xo, I(c === "advanced" ? _(i)("baseConfigCard.sections.advanced") : c === "plugin" ? _(i)("baseConfigCard.sections.plugin") : _(i)("baseConfigCard.sections.policy")), 1)) : D("", !0),
2680
+ (g(!0), $(ue, null, ce(e.propertyCollections[c], (d) => U(l.$slots, `config-card-item-${d.key}`, {
2681
2681
  key: d.key,
2682
2682
  item: d
2683
2683
  }, () => [
2684
- K(nn, { item: d }, $e({
2685
- label: _(() => [
2684
+ R(nn, { item: d }, ke({
2685
+ label: w(() => [
2686
2686
  U(l.$slots, `${d.key}-label`, { row: d }, void 0, !0)
2687
2687
  ]),
2688
- [d.key]: _(({ rowValue: u }) => [
2688
+ [d.key]: w(({ rowValue: u }) => [
2689
2689
  U(l.$slots, d.key, {
2690
2690
  row: d,
2691
2691
  rowValue: u
@@ -2695,7 +2695,7 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2695
2695
  }, [
2696
2696
  r(d) ? {
2697
2697
  name: "label-tooltip",
2698
- fn: _(() => [
2698
+ fn: w(() => [
2699
2699
  U(l.$slots, `${d.key}-label-tooltip`, { row: d }, void 0, !0)
2700
2700
  ]),
2701
2701
  key: "0"
@@ -2703,24 +2703,24 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2703
2703
  ]), 1032, ["item"])
2704
2704
  ], !0)), 128))
2705
2705
  ], 10, Zo))), 128))
2706
- ])) : P("", !0),
2707
- e.format === "json" && o.value ? (g(), N(rn, {
2706
+ ])) : D("", !0),
2707
+ e.format === "json" && o.value ? (g(), K(rn, {
2708
2708
  key: 1,
2709
2709
  config: t.config,
2710
2710
  "entity-record": o.value,
2711
2711
  "fetcher-url": a.value,
2712
2712
  "request-method": "get"
2713
- }, null, 8, ["config", "entity-record", "fetcher-url"])) : P("", !0),
2714
- e.format === "yaml" && o.value ? (g(), N(Jn, {
2713
+ }, null, 8, ["config", "entity-record", "fetcher-url"])) : D("", !0),
2714
+ e.format === "yaml" && o.value ? (g(), K(Jn, {
2715
2715
  key: 2,
2716
2716
  "entity-record": o.value
2717
- }, null, 8, ["entity-record"])) : P("", !0),
2718
- e.format === "terraform" && o.value ? (g(), N(Gn, {
2717
+ }, null, 8, ["entity-record"])) : D("", !0),
2718
+ e.format === "terraform" && o.value ? (g(), K(Gn, {
2719
2719
  key: 3,
2720
2720
  "entity-record": o.value,
2721
2721
  "entity-type": t.entityType,
2722
2722
  "sub-entity-type": t.subEntityType
2723
- }, null, 8, ["entity-record", "entity-type", "sub-entity-type"])) : P("", !0)
2723
+ }, null, 8, ["entity-record", "entity-type", "sub-entity-type"])) : D("", !0)
2724
2724
  ], 64));
2725
2725
  }
2726
2726
  }), tl = /* @__PURE__ */ le(el, [["__scopeId", "data-v-a7689049"]]), nl = {
@@ -2848,10 +2848,10 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2848
2848
  },
2849
2849
  emits: ["loading", "fetch:success", "fetch:error", "configFormatChange"],
2850
2850
  setup(e, { emit: t }) {
2851
- var F;
2852
- const n = t, i = e, { i18n: { t: r } } = W.useI18n(), { getMessageFromError: o } = W.useErrors(), { convertKeyToTitle: a } = W.useStringHelpers();
2853
- W.useSubSchema(i.pluginConfigKey);
2854
- const { axiosInstance: l } = W.useAxios((F = i.config) == null ? void 0 : F.axiosRequestConfig), s = [
2851
+ var x;
2852
+ const n = t, i = e, { i18n: { t: r } } = J.useI18n(), { getMessageFromError: o } = J.useErrors(), { convertKeyToTitle: a } = J.useStringHelpers();
2853
+ J.useSubSchema(i.pluginConfigKey);
2854
+ const { axiosInstance: l } = J.useAxios((x = i.config) == null ? void 0 : x.axiosRequestConfig), s = [
2855
2855
  {
2856
2856
  label: r("baseConfigCard.general.structuredFormat"),
2857
2857
  value: "structured",
@@ -2870,7 +2870,7 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2870
2870
  label: r("baseForm.configuration.terraform"),
2871
2871
  value: "terraform"
2872
2872
  });
2873
- const c = s[0].value, d = M(c), u = (f) => {
2873
+ const c = s[0].value, d = N(c), u = (f) => {
2874
2874
  d.value = f == null ? void 0 : f.value, n("configFormatChange", d.value);
2875
2875
  }, p = (f, v) => {
2876
2876
  localStorage.setItem(f, v);
@@ -2885,7 +2885,7 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2885
2885
  });
2886
2886
  const m = {
2887
2887
  id: {
2888
- type: Y.ID,
2888
+ type: W.ID,
2889
2889
  label: r("baseConfigCard.commonFields.id_label"),
2890
2890
  order: 0,
2891
2891
  section: ae.Basic
@@ -2895,224 +2895,224 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2895
2895
  section: ae.Basic
2896
2896
  },
2897
2897
  enabled: {
2898
- type: Y.BadgeStatus,
2898
+ type: W.BadgeStatus,
2899
2899
  order: 2,
2900
2900
  section: ae.Basic
2901
2901
  },
2902
2902
  updated_at: {
2903
- type: Y.Date,
2903
+ type: W.Date,
2904
2904
  label: r("baseConfigCard.commonFields.updated_at_label"),
2905
2905
  order: 3,
2906
2906
  section: ae.Basic
2907
2907
  },
2908
2908
  created_at: {
2909
- type: Y.Date,
2909
+ type: W.Date,
2910
2910
  label: r("baseConfigCard.commonFields.created_at_label"),
2911
2911
  order: 4,
2912
2912
  section: ae.Basic
2913
2913
  },
2914
2914
  tags: {
2915
- type: Y.BadgeTag,
2915
+ type: W.BadgeTag,
2916
2916
  order: -1,
2917
2917
  // the last property displayed
2918
2918
  section: ae.Basic
2919
2919
  },
2920
2920
  partials: {
2921
- type: Y.LinkInternal,
2921
+ type: W.LinkInternal,
2922
2922
  label: r("baseConfigCard.commonFields.partial_label"),
2923
2923
  order: -1,
2924
2924
  // the last property displayed
2925
2925
  section: ae.Basic
2926
2926
  }
2927
- }, y = M(!1), h = M(!1), k = M(""), C = M({}), x = $(() => {
2928
- var b, V, J;
2929
- if (!C.value)
2927
+ }, y = N(!1), h = N(!1), b = N(""), k = N({}), A = S(() => {
2928
+ var C, Y, G;
2929
+ if (!k.value)
2930
2930
  return [];
2931
- const f = [], v = Object.keys(C.value).length;
2932
- for (const E in C.value) {
2931
+ const f = [], v = Object.keys(k.value).length;
2932
+ for (const E in k.value) {
2933
2933
  if (E === "__ui_data") continue;
2934
- const R = (V = (b = i.configSchema) == null ? void 0 : b[E]) == null ? void 0 : V.order, G = (J = m[E]) == null ? void 0 : J.order;
2934
+ const O = (Y = (C = i.configSchema) == null ? void 0 : C[E]) == null ? void 0 : Y.order, V = (G = m[E]) == null ? void 0 : G.order;
2935
2935
  let H = v;
2936
- (G || G === 0) && (H = G === -1 ? v + 1 : G), R && (H = R === -1 ? v + 1 : R), f.push([E, H]);
2936
+ (V || V === 0) && (H = V === -1 ? v + 1 : V), O && (H = O === -1 ? v + 1 : O), f.push([E, H]);
2937
2937
  }
2938
- return f.sort(function(E, R) {
2939
- return E[1] - R[1];
2938
+ return f.sort(function(E, O) {
2939
+ return E[1] - O[1];
2940
2940
  }), f.map((E) => {
2941
2941
  var ft, pt;
2942
- const R = E[0], G = (ft = C.value) == null ? void 0 : ft[R], H = ((pt = i.configSchema) == null ? void 0 : pt[R]) || {}, Q = m[R];
2942
+ const O = E[0], V = (ft = k.value) == null ? void 0 : ft[O], H = ((pt = i.configSchema) == null ? void 0 : pt[O]) || {}, Q = m[O];
2943
2943
  return {
2944
- key: R,
2945
- value: G,
2944
+ key: O,
2945
+ value: V,
2946
2946
  hidden: H.hidden || !1,
2947
- type: H.type ?? ((Q == null ? void 0 : Q.type) || Y.Text),
2948
- label: H.label ?? ((Q == null ? void 0 : Q.label) || a(R)),
2947
+ type: H.type ?? ((Q == null ? void 0 : Q.type) || W.Text),
2948
+ label: H.label ?? ((Q == null ? void 0 : Q.label) || a(O)),
2949
2949
  tooltip: H.tooltip ?? ((Q == null ? void 0 : Q.tooltip) || void 0),
2950
2950
  section: H.section ?? ((Q == null ? void 0 : Q.section) || ae.Advanced)
2951
2951
  };
2952
2952
  }).filter((E) => !E.hidden && E.key !== i.pluginConfigKey);
2953
- }), B = $(() => {
2954
- var V, J;
2955
- if (!C.value || !i.pluginConfigKey)
2953
+ }), B = S(() => {
2954
+ var Y, G;
2955
+ if (!k.value || !i.pluginConfigKey)
2956
2956
  return [];
2957
- const f = C.value[i.pluginConfigKey] || {}, v = Object.keys(f).length, b = [];
2957
+ const f = k.value[i.pluginConfigKey] || {}, v = Object.keys(f).length, C = [];
2958
2958
  for (const E in f) {
2959
- const R = (J = (V = i.pluginConfigSchema) == null ? void 0 : V[E]) == null ? void 0 : J.order, G = f[E];
2960
- let H = G != null && G !== "" ? v - 1 : v;
2961
- R && (H = R === -1 ? v + 1 : R), b.push([E, H]);
2959
+ const O = (G = (Y = i.pluginConfigSchema) == null ? void 0 : Y[E]) == null ? void 0 : G.order, V = f[E];
2960
+ let H = V != null && V !== "" ? v - 1 : v;
2961
+ O && (H = O === -1 ? v + 1 : O), C.push([E, H]);
2962
2962
  }
2963
- return b.sort(function(E, R) {
2964
- return E[1] - R[1];
2965
- }), b.map((E) => {
2963
+ return C.sort(function(E, O) {
2964
+ return E[1] - O[1];
2965
+ }), C.map((E) => {
2966
2966
  var Q;
2967
- const R = E[0], G = f[R], H = ((Q = i.pluginConfigSchema) == null ? void 0 : Q[R]) || {};
2967
+ const O = E[0], V = f[O], H = ((Q = i.pluginConfigSchema) == null ? void 0 : Q[O]) || {};
2968
2968
  return {
2969
- key: R,
2970
- value: G,
2969
+ key: O,
2970
+ value: V,
2971
2971
  hidden: H.hidden || !1,
2972
- type: H.type ?? Y.Text,
2973
- label: H.label ?? a(R),
2972
+ type: H.type ?? W.Text,
2973
+ label: H.label ?? a(O),
2974
2974
  tooltip: H.tooltip ?? void 0,
2975
2975
  section: ae.Plugin
2976
2976
  };
2977
2977
  }).filter((E) => !E.hidden);
2978
- }), j = $(() => {
2979
- var V, J;
2980
- if (!C.value || !i.policyConfigKey)
2978
+ }), P = S(() => {
2979
+ var Y, G;
2980
+ if (!k.value || !i.policyConfigKey)
2981
2981
  return [];
2982
- const f = C.value[i.policyConfigKey] || {}, v = Object.keys(f).length, b = [];
2982
+ const f = k.value[i.policyConfigKey] || {}, v = Object.keys(f).length, C = [];
2983
2983
  for (const E in f) {
2984
- const R = (J = (V = i.policyConfigSchema) == null ? void 0 : V[E]) == null ? void 0 : J.order, G = f[E];
2985
- let H = G != null && G !== "" ? v - 1 : v;
2986
- R && (H = R === -1 ? v + 1 : R), b.push([E, H]);
2984
+ const O = (G = (Y = i.policyConfigSchema) == null ? void 0 : Y[E]) == null ? void 0 : G.order, V = f[E];
2985
+ let H = V != null && V !== "" ? v - 1 : v;
2986
+ O && (H = O === -1 ? v + 1 : O), C.push([E, H]);
2987
2987
  }
2988
- return b.sort(function(E, R) {
2989
- return E[1] - R[1];
2990
- }), b.map((E) => {
2988
+ return C.sort(function(E, O) {
2989
+ return E[1] - O[1];
2990
+ }), C.map((E) => {
2991
2991
  var Q;
2992
- const R = E[0], G = f[R], H = ((Q = i.policyConfigSchema) == null ? void 0 : Q[R]) || {};
2992
+ const O = E[0], V = f[O], H = ((Q = i.policyConfigSchema) == null ? void 0 : Q[O]) || {};
2993
2993
  return {
2994
- key: R,
2995
- value: G,
2994
+ key: O,
2995
+ value: V,
2996
2996
  hidden: H.hidden || !1,
2997
- type: H.type ?? Y.Text,
2998
- label: H.label ?? a(R),
2997
+ type: H.type ?? W.Text,
2998
+ label: H.label ?? a(O),
2999
2999
  tooltip: H.tooltip ?? void 0,
3000
3000
  section: ae.Policy
3001
3001
  };
3002
3002
  }).filter((E) => !E.hidden);
3003
- }), X = $(() => {
3004
- var f, v, b, V, J, E;
3003
+ }), ee = S(() => {
3004
+ var f, v, C, Y, G, E;
3005
3005
  return {
3006
- basic: (f = x.value) == null ? void 0 : f.filter((R) => R.section === ae.Basic),
3007
- advanced: (v = x.value) == null ? void 0 : v.filter((R) => R.section === ae.Advanced),
3008
- plugin: (V = B.value) == null ? void 0 : V.concat((b = x.value) == null ? void 0 : b.filter((R) => R.section === ae.Plugin)),
3009
- policy: (E = j.value) == null ? void 0 : E.concat((J = x.value) == null ? void 0 : J.filter((R) => R.section === ae.Policy))
3006
+ basic: (f = A.value) == null ? void 0 : f.filter((O) => O.section === ae.Basic),
3007
+ advanced: (v = A.value) == null ? void 0 : v.filter((O) => O.section === ae.Advanced),
3008
+ plugin: (Y = B.value) == null ? void 0 : Y.concat((C = A.value) == null ? void 0 : C.filter((O) => O.section === ae.Plugin)),
3009
+ policy: (E = P.value) == null ? void 0 : E.concat((G = A.value) == null ? void 0 : G.filter((O) => O.section === ae.Policy))
3010
3010
  };
3011
- }), S = $(() => {
3011
+ }), M = S(() => {
3012
3012
  const f = [];
3013
- return X.value.basic.length && f.push("basic"), X.value.advanced.length && f.push("advanced"), X.value.plugin.length && f.push("plugin"), X.value.policy.length && f.push("policy"), f;
3014
- }), w = $(() => {
3015
- var v, b;
3013
+ return ee.value.basic.length && f.push("basic"), ee.value.advanced.length && f.push("advanced"), ee.value.plugin.length && f.push("plugin"), ee.value.policy.length && f.push("policy"), f;
3014
+ }), F = S(() => {
3015
+ var v, C;
3016
3016
  let f = `${i.config.apiBaseUrl}${i.fetchUrl}`;
3017
- return i.config.app === "konnect" ? f = f.replace(/{controlPlaneId}/gi, ((v = i.config) == null ? void 0 : v.controlPlaneId) || "") : i.config.app === "kongManager" && (f = f.replace(/\/{workspace}/gi, (b = i.config) != null && b.workspace ? `/${i.config.workspace}` : "")), f = f.replace(/{id}/gi, i.config.entityId), f;
3017
+ return i.config.app === "konnect" ? f = f.replace(/{controlPlaneId}/gi, ((v = i.config) == null ? void 0 : v.controlPlaneId) || "") : i.config.app === "kongManager" && (f = f.replace(/\/{workspace}/gi, (C = i.config) != null && C.workspace ? `/${i.config.workspace}` : "")), f = f.replace(/{id}/gi, i.config.entityId), f;
3018
3018
  });
3019
3019
  return be(y, (f) => {
3020
3020
  n("loading", f);
3021
3021
  }, { immediate: !0 }), rt(async () => {
3022
3022
  h.value = !1, y.value = !0;
3023
3023
  try {
3024
- const { data: f } = await l.get(w.value);
3024
+ const { data: f } = await l.get(F.value);
3025
3025
  if (i.dataKey)
3026
3026
  if (typeof f[i.dataKey] < "u")
3027
- C.value = { ...f[i.dataKey] };
3027
+ k.value = { ...f[i.dataKey] };
3028
3028
  else
3029
3029
  throw new Error(r("errors.dataKeyUndefined", { dataKey: i.dataKey }));
3030
- else i.recordResolver ? C.value = { ...i.recordResolver(f) } : C.value = { ...f };
3031
- Object.keys(i.configSchema).filter((b) => i.configSchema[b].forceShow).forEach((b) => {
3032
- C.value && typeof C.value[b] > "u" && (C.value[b] = null);
3030
+ else i.recordResolver ? k.value = { ...i.recordResolver(f) } : k.value = { ...f };
3031
+ Object.keys(i.configSchema).filter((C) => i.configSchema[C].forceShow).forEach((C) => {
3032
+ k.value && typeof k.value[C] > "u" && (k.value[C] = null);
3033
3033
  }), n("fetch:success", f);
3034
3034
  } catch (f) {
3035
3035
  const v = o(f);
3036
- k.value = v.startsWith("code") ? r("baseConfigCard.errors.load") : v, h.value = !0, n("fetch:error", f);
3036
+ b.value = v.startsWith("code") ? r("baseConfigCard.errors.load") : v, h.value = !0, n("fetch:error", f);
3037
3037
  } finally {
3038
3038
  y.value = !1;
3039
3039
  }
3040
3040
  }), (f, v) => {
3041
- const b = D("KLabel"), V = D("KSelect"), J = D("KButton"), E = D("KSkeleton"), R = D("KEmptyState"), G = D("KCard");
3042
- return g(), N(G, {
3041
+ const C = j("KLabel"), Y = j("KSelect"), G = j("KButton"), E = j("KSkeleton"), O = j("KEmptyState"), V = j("KCard");
3042
+ return g(), K(V, {
3043
3043
  class: "kong-ui-entity-base-config-card",
3044
3044
  "title-tag": e.titleTag
3045
- }, $e({
3046
- actions: _(() => [
3045
+ }, ke({
3046
+ actions: w(() => [
3047
3047
  L("div", il, [
3048
3048
  U(f.$slots, "actions", {}, void 0, !0),
3049
- K(b, {
3049
+ R(C, {
3050
3050
  class: "config-format-select-label",
3051
3051
  "data-testid": "config-format-select-label"
3052
3052
  }, {
3053
- default: _(() => [
3054
- q(O(e.label), 1)
3053
+ default: w(() => [
3054
+ q(I(e.label), 1)
3055
3055
  ]),
3056
3056
  _: 1
3057
3057
  }),
3058
- K(V, {
3058
+ R(Y, {
3059
3059
  modelValue: d.value,
3060
3060
  "onUpdate:modelValue": v[0] || (v[0] = (H) => d.value = H),
3061
3061
  "data-testid": "select-config-format",
3062
3062
  items: s,
3063
3063
  onChange: u
3064
3064
  }, null, 8, ["modelValue"]),
3065
- e.configCardDoc ? (g(), N(J, {
3065
+ e.configCardDoc ? (g(), K(G, {
3066
3066
  key: 0,
3067
3067
  appearance: "tertiary",
3068
3068
  class: "book-icon",
3069
3069
  "data-testid": "book-icon"
3070
3070
  }, {
3071
- default: _(() => [
3071
+ default: w(() => [
3072
3072
  L("a", {
3073
3073
  href: e.configCardDoc,
3074
3074
  rel: "noopener",
3075
3075
  target: "_blank"
3076
3076
  }, [
3077
- K(A(Jt), { size: A(fr) }, null, 8, ["size"])
3077
+ R(_(Jt), { size: _(fr) }, null, 8, ["size"])
3078
3078
  ], 8, rl)
3079
3079
  ]),
3080
3080
  _: 1
3081
- })) : P("", !0)
3081
+ })) : D("", !0)
3082
3082
  ])
3083
3083
  ]),
3084
- default: _(() => [
3085
- y.value ? (g(), N(E, {
3084
+ default: w(() => [
3085
+ y.value ? (g(), K(E, {
3086
3086
  key: 0,
3087
3087
  "data-testid": "config-card-loader",
3088
3088
  "table-columns": 2,
3089
3089
  type: "table"
3090
- })) : h.value ? (g(), N(R, {
3090
+ })) : h.value ? (g(), K(O, {
3091
3091
  key: 1,
3092
3092
  "data-testid": "config-card-fetch-error",
3093
3093
  "icon-variant": "error"
3094
3094
  }, {
3095
- default: _(() => [
3096
- L("h3", null, O(k.value), 1)
3095
+ default: w(() => [
3096
+ L("h3", null, I(b.value), 1)
3097
3097
  ]),
3098
3098
  _: 1
3099
- })) : P("", !0),
3099
+ })) : D("", !0),
3100
3100
  L("div", al, [
3101
- K(tl, {
3101
+ R(tl, {
3102
3102
  "code-block-record-formatter": e.codeBlockRecordFormatter,
3103
3103
  config: e.config,
3104
3104
  "entity-type": e.entityType,
3105
- "fetcher-url": w.value,
3105
+ "fetcher-url": F.value,
3106
3106
  format: d.value,
3107
- "prop-list-types": S.value,
3108
- "property-collections": X.value,
3109
- record: C.value,
3107
+ "prop-list-types": M.value,
3108
+ "property-collections": ee.value,
3109
+ record: k.value,
3110
3110
  "sub-entity-type": e.subEntityType
3111
- }, $e({ _: 2 }, [
3111
+ }, ke({ _: 2 }, [
3112
3112
  ce(Object.keys(f.$slots), (H) => ({
3113
3113
  name: H,
3114
- fn: _((Q) => [
3115
- U(f.$slots, H, Yt({ record: C.value }, Q), void 0, !0)
3114
+ fn: w((Q) => [
3115
+ U(f.$slots, H, Yt({ record: k.value }, Q), void 0, !0)
3116
3116
  ])
3117
3117
  }))
3118
3118
  ]), 1032, ["code-block-record-formatter", "config", "entity-type", "fetcher-url", "format", "prop-list-types", "property-collections", "record", "sub-entity-type"])
@@ -3122,10 +3122,10 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
3122
3122
  }, [
3123
3123
  e.hideTitle ? void 0 : {
3124
3124
  name: "title",
3125
- fn: _(() => [
3125
+ fn: w(() => [
3126
3126
  L("span", nl, [
3127
3127
  U(f.$slots, "title", {}, () => [
3128
- q(O(A(r)("baseConfigCard.title")), 1)
3128
+ q(I(_(r)("baseConfigCard.title")), 1)
3129
3129
  ], !0)
3130
3130
  ])
3131
3131
  ]),
@@ -3146,26 +3146,26 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
3146
3146
  workspace: {}
3147
3147
  },
3148
3148
  setup(e) {
3149
- const t = e, { i18n: n, i18nT: i } = W.useI18n(), r = [
3149
+ const t = e, { i18n: n, i18nT: i } = J.useI18n(), r = [
3150
3150
  { value: "bash", label: "Linux / macOS Bash" },
3151
3151
  { value: "powershell", label: "Windows PowerShell" }
3152
- ], o = M(navigator.userAgent.toLowerCase().includes("windows") ? "powershell" : "bash"), a = $(() => {
3152
+ ], o = N(navigator.userAgent.toLowerCase().includes("windows") ? "powershell" : "bash"), a = S(() => {
3153
3153
  const d = {
3154
3154
  _format_version: "3.0"
3155
3155
  };
3156
3156
  return t.controlPlaneName ? d._konnect = {
3157
3157
  control_plane_name: t.controlPlaneName
3158
3158
  } : t.workspace && (d._workspace = t.workspace), d;
3159
- }), l = $(() => {
3160
- var m, y, h, k, C;
3161
- const d = Object.fromEntries(Object.entries(t.entityRecord).filter(([, x]) => x !== null && x !== "" && (Array.isArray(x) ? x.length !== 0 : !0)));
3162
- t.entityType === Se.Plugin ? ((m = d.service) != null && m.id && (d.service = d.service.id), (y = d.route) != null && y.id && (d.route = d.route.id), (h = d.consumer) != null && h.id && (d.consumer = d.consumer.id), (k = d.consumer_group) != null && k.id && (d.consumer_group = d.consumer_group.id)) : t.entityType === Se.Key && (C = d.key_set) != null && C.id && (d.key_set = d.key_set.id);
3163
- const u = t.entityType === Se.KeySet ? "key_sets" : t.entityType + "s", p = {
3159
+ }), l = S(() => {
3160
+ var m, y, h, b, k;
3161
+ const d = Object.fromEntries(Object.entries(t.entityRecord).filter(([, A]) => A !== null && A !== "" && (Array.isArray(A) ? A.length !== 0 : !0)));
3162
+ t.entityType === $e.Plugin ? ((m = d.service) != null && m.id && (d.service = d.service.id), (y = d.route) != null && y.id && (d.route = d.route.id), (h = d.consumer) != null && h.id && (d.consumer = d.consumer.id), (b = d.consumer_group) != null && b.id && (d.consumer_group = d.consumer_group.id)) : t.entityType === $e.Key && (k = d.key_set) != null && k.id && (d.key_set = d.key_set.id);
3163
+ const u = t.entityType === $e.KeySet ? "key_sets" : t.entityType + "s", p = {
3164
3164
  ...a.value,
3165
3165
  [u]: [d]
3166
3166
  };
3167
3167
  return Wn.dump(p, { quotingType: '"' }).trim();
3168
- }), s = $(() => o.value === "bash" ? "export DECK_KONNECT_TOKEN='YOUR_KONNECT_PAT'" : '$env:DECK_KONNECT_TOKEN = "YOUR_KONNECT_PAT"'), c = $(() => {
3168
+ }), s = S(() => o.value === "bash" ? "export DECK_KONNECT_TOKEN='YOUR_KONNECT_PAT'" : '$env:DECK_KONNECT_TOKEN = "YOUR_KONNECT_PAT"'), c = S(() => {
3169
3169
  let d = "deck gateway apply -";
3170
3170
  return t.geoApiServerUrl ? d += ` --konnect-addr ${t.geoApiServerUrl}` : t.kongAdminApiUrl && (d += ` --kong-addr ${t.kongAdminApiUrl}`), o.value === "bash" ? `echo '
3171
3171
  ${l.value}
@@ -3174,69 +3174,74 @@ ${l.value}
3174
3174
  '@ | ${d}`;
3175
3175
  });
3176
3176
  return (d, u) => {
3177
- const p = D("KSelect"), m = D("KBadge"), y = D("KCodeBlock");
3178
- return g(), T("div", ll, [
3179
- K(p, {
3177
+ const p = j("KSelect"), m = j("KBadge"), y = j("KCodeBlock");
3178
+ return g(), $("div", ll, [
3179
+ R(p, {
3180
3180
  modelValue: o.value,
3181
3181
  "onUpdate:modelValue": u[0] || (u[0] = (h) => o.value = h),
3182
3182
  items: r
3183
3183
  }, {
3184
- "item-template": _(({ item: h }) => [
3185
- h.value === "powershell" ? (g(), N(A(ht), { key: 0 })) : (g(), N(A(yt), { key: 1 })),
3186
- q(" " + O(h.label), 1)
3184
+ "item-template": w(({ item: h }) => [
3185
+ h.value === "powershell" ? (g(), K(_(ht), { key: 0 })) : (g(), K(_(yt), { key: 1 })),
3186
+ q(" " + I(h.label), 1)
3187
3187
  ]),
3188
- "selected-item-template": _(({ item: h }) => [
3189
- h.value === "powershell" ? (g(), N(A(ht), { key: 0 })) : (g(), N(A(yt), { key: 1 })),
3190
- q(" " + O(h.label), 1)
3188
+ "selected-item-template": w(({ item: h }) => [
3189
+ h.value === "powershell" ? (g(), K(_(ht), { key: 0 })) : (g(), K(_(yt), { key: 1 })),
3190
+ q(" " + I(h.label), 1)
3191
3191
  ]),
3192
3192
  _: 1
3193
3193
  }, 8, ["modelValue"]),
3194
- L("p", null, [
3195
- K(A(i), {
3196
- keypath: `deckCodeBlock.hint.${e.app}`
3197
- }, {
3198
- token: _(() => [
3199
- K(m, null, {
3200
- default: _(() => [...u[1] || (u[1] = [
3194
+ R(_(i), {
3195
+ "data-testid": `deck-hint-${e.app}`,
3196
+ keypath: `deckCodeBlock.hint.${e.app}`,
3197
+ tag: "p"
3198
+ }, ke({
3199
+ link: w(() => [
3200
+ R(_(oi), {
3201
+ href: e.app === "konnect" ? "https://developer.konghq.com/deck/get-started/" : "https://developer.konghq.com/deck/gateway/configuration/"
3202
+ }, {
3203
+ default: w(() => [
3204
+ q(I(_(n).t("deckCodeBlock.documentation")), 1)
3205
+ ]),
3206
+ _: 1
3207
+ }, 8, ["href"])
3208
+ ]),
3209
+ _: 2
3210
+ }, [
3211
+ e.app === "konnect" ? {
3212
+ name: "token",
3213
+ fn: w(() => [
3214
+ R(m, null, {
3215
+ default: w(() => [...u[1] || (u[1] = [
3201
3216
  q("DECK_KONNECT_TOKEN", -1)
3202
3217
  ])]),
3203
3218
  _: 1
3204
3219
  })
3205
3220
  ]),
3206
- link: _(() => [
3207
- K(A(oi), {
3208
- href: e.app === "konnect" ? "https://developer.konghq.com/deck/get-started/" : "https://developer.konghq.com/deck/gateway/configuration/"
3209
- }, {
3210
- default: _(() => [
3211
- q(O(A(n).t("deckCodeBlock.documentation")), 1)
3212
- ]),
3213
- _: 1
3214
- }, 8, ["href"])
3215
- ]),
3216
- _: 1
3217
- }, 8, ["keypath"])
3218
- ]),
3219
- e.app === "konnect" ? (g(), N(y, {
3221
+ key: "0"
3222
+ } : void 0
3223
+ ]), 1032, ["data-testid", "keypath"]),
3224
+ e.app === "konnect" ? (g(), K(y, {
3220
3225
  key: 0,
3221
3226
  id: "deck-env-codeblock",
3222
3227
  code: s.value,
3223
3228
  language: o.value,
3224
3229
  "single-line": "",
3225
3230
  theme: "dark",
3226
- onCodeBlockRender: A(Te)
3227
- }, null, 8, ["code", "language", "onCodeBlockRender"])) : P("", !0),
3228
- t.entityRecord ? (g(), N(y, {
3231
+ onCodeBlockRender: _(Te)
3232
+ }, null, 8, ["code", "language", "onCodeBlockRender"])) : D("", !0),
3233
+ t.entityRecord ? (g(), K(y, {
3229
3234
  key: 1,
3230
3235
  id: "deck-codeblock",
3231
3236
  code: c.value,
3232
3237
  language: o.value,
3233
3238
  theme: "dark",
3234
- onCodeBlockRender: A(Te)
3235
- }, null, 8, ["code", "language", "onCodeBlockRender"])) : P("", !0)
3239
+ onCodeBlockRender: _(Te)
3240
+ }, null, 8, ["code", "language", "onCodeBlockRender"])) : D("", !0)
3236
3241
  ]);
3237
3242
  };
3238
3243
  }
3239
- }), cl = /* @__PURE__ */ le(sl, [["__scopeId", "data-v-a014ea37"]]), ul = ["novalidate"], dl = /* @__PURE__ */ z({
3244
+ }), cl = /* @__PURE__ */ le(sl, [["__scopeId", "data-v-04c956bc"]]), ul = ["novalidate"], dl = /* @__PURE__ */ z({
3240
3245
  __name: "EntityBaseForm",
3241
3246
  props: {
3242
3247
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3359,20 +3364,20 @@ ${l.value}
3359
3364
  },
3360
3365
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel", "codeBlockTabChange"],
3361
3366
  setup(e, { expose: t, emit: n }) {
3362
- var X;
3363
- const i = n, r = e, o = gi(), { i18n: { t: a } } = W.useI18n(), { getMessageFromError: l } = W.useErrors(), { axiosInstance: s } = W.useAxios((X = r.config) == null ? void 0 : X.axiosRequestConfig), c = M(!1), d = $(() => !!r.editId), u = M(!1), p = M(""), m = $(() => r.canSubmit === !1 || r.isReadonly), y = M(!1), h = $(() => {
3364
- var w, F;
3365
- let S = `${r.config.apiBaseUrl}${r.fetchUrl}`;
3366
- return r.config.app === "konnect" ? S = S.replace(/{controlPlaneId}/gi, ((w = r.config) == null ? void 0 : w.controlPlaneId) || "") : r.config.app === "kongManager" && (S = S.replace(/\/{workspace}/gi, (F = r.config) != null && F.workspace ? `/${r.config.workspace}` : "")), r.editId ? (S = S.replace(/{id}/gi, r.editId), S) : (S = S.replace(/\/{id}/gi, ""), S);
3367
- }), k = () => {
3367
+ var F;
3368
+ const i = n, r = e, o = gi(), { i18n: { t: a } } = J.useI18n(), { getMessageFromError: l } = J.useErrors(), { axiosInstance: s } = J.useAxios((F = r.config) == null ? void 0 : F.axiosRequestConfig), c = N(!1), d = S(() => !!r.editId), u = N(!1), p = N(""), m = S(() => r.canSubmit === !1 || r.isReadonly), y = N(!1), h = S(() => {
3369
+ var f, v;
3370
+ let x = `${r.config.apiBaseUrl}${r.fetchUrl}`;
3371
+ return r.config.app === "konnect" ? x = x.replace(/{controlPlaneId}/gi, ((f = r.config) == null ? void 0 : f.controlPlaneId) || "") : r.config.app === "kongManager" && (x = x.replace(/\/{workspace}/gi, (v = r.config) != null && v.workspace ? `/${r.config.workspace}` : "")), r.editId ? (x = x.replace(/{id}/gi, r.editId), x) : (x = x.replace(/\/{id}/gi, ""), x);
3372
+ }), b = () => {
3368
3373
  y.value = !y.value;
3369
- }, C = () => {
3370
- r.config.cancelRoute ? o.push(r.config.cancelRoute) : x();
3371
- }, x = () => {
3374
+ }, k = () => {
3375
+ r.config.cancelRoute ? o.push(r.config.cancelRoute) : A();
3376
+ }, A = () => {
3372
3377
  i("cancel");
3373
3378
  }, B = () => {
3374
3379
  m.value || i("submit");
3375
- }, j = M([
3380
+ }, P = N([
3376
3381
  {
3377
3382
  title: a("baseForm.configuration.json"),
3378
3383
  hash: "#json"
@@ -3382,63 +3387,65 @@ ${l.value}
3382
3387
  hash: "#yaml"
3383
3388
  }
3384
3389
  ]);
3385
- return r.config.app === "konnect" && r.entityType !== Se.Other && j.value.splice(1, 0, {
3390
+ r.config.app === "konnect" && r.entityType !== $e.Other && P.value.splice(1, 0, {
3386
3391
  title: a("baseForm.configuration.terraform"),
3387
3392
  hash: "#terraform"
3388
- }), r.config.app === "konnect" && r.config.enableDeckTab && vi.includes(r.entityType) && j.value.push({
3393
+ });
3394
+ const ee = vi.includes(r.entityType);
3395
+ return (r.config.app === "kongManager" || r.config.enableDeckTab) && ee && P.value.push({
3389
3396
  title: a("baseForm.configuration.deck"),
3390
3397
  hash: "#deck"
3391
- }), be(() => c.value, (S) => {
3392
- i("loading", S);
3398
+ }), be(() => c.value, (x) => {
3399
+ i("loading", x);
3393
3400
  }, { immediate: !0 }), rt(async () => {
3394
3401
  if (r.editId)
3395
3402
  try {
3396
3403
  u.value = !1, c.value = !0;
3397
- const { data: S } = await s.get(h.value);
3398
- i("fetch:success", S);
3399
- } catch (S) {
3400
- const w = l(S);
3401
- p.value = w.startsWith("code") ? a("baseForm.errors.edit") : w, u.value = !0, i("fetch:error", S);
3404
+ const { data: x } = await s.get(h.value);
3405
+ i("fetch:success", x);
3406
+ } catch (x) {
3407
+ const f = l(x);
3408
+ p.value = f.startsWith("code") ? a("baseForm.errors.edit") : f, u.value = !0, i("fetch:error", x);
3402
3409
  } finally {
3403
3410
  c.value = !1;
3404
3411
  }
3405
3412
  }), t({
3406
- viewConfig: k,
3407
- formCancel: x,
3413
+ viewConfig: b,
3414
+ formCancel: A,
3408
3415
  formSubmit: B
3409
- }), (S, w) => {
3410
- const F = D("KSkeleton"), f = D("KEmptyState"), v = D("KAlert"), b = D("KButton"), V = D("KTabs"), J = D("KSlideout");
3411
- return g(), N(De(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3412
- default: _(() => [
3413
- c.value ? (g(), N(F, {
3416
+ }), (x, f) => {
3417
+ const v = j("KSkeleton"), C = j("KEmptyState"), Y = j("KAlert"), G = j("KButton"), E = j("KTabs"), O = j("KSlideout");
3418
+ return g(), K(je(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3419
+ default: w(() => [
3420
+ c.value ? (g(), K(v, {
3414
3421
  key: 0,
3415
3422
  type: "form"
3416
- })) : u.value ? (g(), N(f, {
3423
+ })) : u.value ? (g(), K(C, {
3417
3424
  key: 1,
3418
- "action-button-text": A(a)("baseForm.actions.back"),
3425
+ "action-button-text": _(a)("baseForm.actions.back"),
3419
3426
  "data-testid": "form-fetch-error",
3420
3427
  "icon-variant": "error",
3421
- onClickAction: C
3428
+ onClickAction: k
3422
3429
  }, {
3423
- default: _(() => [
3424
- L("h3", null, O(p.value), 1)
3430
+ default: w(() => [
3431
+ L("h3", null, I(p.value), 1)
3425
3432
  ]),
3426
3433
  _: 1
3427
- }, 8, ["action-button-text"])) : (g(), T("form", {
3434
+ }, 8, ["action-button-text"])) : (g(), $("form", {
3428
3435
  key: 2,
3429
3436
  "data-testid": "form-content",
3430
3437
  novalidate: r.noValidate,
3431
- onReset: Re(x, ["prevent"]),
3438
+ onReset: Re(A, ["prevent"]),
3432
3439
  onSubmit: Re(B, ["prevent"])
3433
3440
  }, [
3434
- U(S.$slots, "default", {}, void 0, !0),
3435
- e.errorMessage ? (g(), N(v, {
3441
+ U(x.$slots, "default", {}, void 0, !0),
3442
+ e.errorMessage ? (g(), K(Y, {
3436
3443
  key: 0,
3437
3444
  appearance: "danger",
3438
3445
  "data-testid": "form-error",
3439
3446
  message: e.errorMessage
3440
- }, null, 8, ["message"])) : P("", !0),
3441
- e.hideActions ? P("", !0) : (g(), N(Wt, {
3447
+ }, null, 8, ["message"])) : D("", !0),
3448
+ e.hideActions ? D("", !0) : (g(), K(Wt, {
3442
3449
  key: 1,
3443
3450
  disabled: !e.actionTeleportTarget,
3444
3451
  to: e.actionTeleportTarget
@@ -3447,38 +3454,38 @@ ${l.value}
3447
3454
  class: fe(["form-actions", { "form-actions-reverted": e.alignActionButtonToLeft }]),
3448
3455
  "data-testid": "form-actions"
3449
3456
  }, [
3450
- U(S.$slots, "form-actions", {}, () => [
3451
- K(b, {
3457
+ U(x.$slots, "form-actions", {}, () => [
3458
+ R(G, {
3452
3459
  appearance: "tertiary",
3453
3460
  "data-testid": `${e.entityType}-${d.value ? "edit" : "create"}-form-view-configuration`,
3454
- onClick: w[0] || (w[0] = (E) => k())
3461
+ onClick: f[0] || (f[0] = (V) => b())
3455
3462
  }, {
3456
- default: _(() => [
3457
- q(O(A(a)("baseForm.actions.viewConfiguration")), 1)
3463
+ default: w(() => [
3464
+ q(I(_(a)("baseForm.actions.viewConfiguration")), 1)
3458
3465
  ]),
3459
3466
  _: 1
3460
3467
  }, 8, ["data-testid"]),
3461
- K(b, {
3468
+ R(G, {
3462
3469
  appearance: "secondary",
3463
3470
  "data-testid": `${e.entityType}-${d.value ? "edit" : "create"}-form-cancel`,
3464
3471
  disabled: e.isReadonly,
3465
3472
  type: "reset",
3466
- onClick: w[1] || (w[1] = (E) => !!e.actionTeleportTarget && x())
3473
+ onClick: f[1] || (f[1] = (V) => !!e.actionTeleportTarget && A())
3467
3474
  }, {
3468
- default: _(() => [
3469
- q(O(e.cancelButtonText ?? A(a)("baseForm.actions.cancel")), 1)
3475
+ default: w(() => [
3476
+ q(I(e.cancelButtonText ?? _(a)("baseForm.actions.cancel")), 1)
3470
3477
  ]),
3471
3478
  _: 1
3472
3479
  }, 8, ["data-testid", "disabled"]),
3473
- K(b, {
3480
+ R(G, {
3474
3481
  appearance: "primary",
3475
3482
  "data-testid": `${e.entityType}-${d.value ? "edit" : "create"}-form-submit`,
3476
3483
  disabled: m.value,
3477
3484
  type: "submit",
3478
- onClick: w[2] || (w[2] = (E) => !!e.actionTeleportTarget && B())
3485
+ onClick: f[2] || (f[2] = (V) => !!e.actionTeleportTarget && B())
3479
3486
  }, {
3480
- default: _(() => [
3481
- q(O(e.saveButtonText ?? A(a)("baseForm.actions.save")), 1)
3487
+ default: w(() => [
3488
+ q(I(e.saveButtonText ?? _(a)("baseForm.actions.save")), 1)
3482
3489
  ]),
3483
3490
  _: 1
3484
3491
  }, 8, ["data-testid", "disabled"])
@@ -3486,50 +3493,50 @@ ${l.value}
3486
3493
  ], 2)
3487
3494
  ], 8, ["disabled", "to"]))
3488
3495
  ], 40, ul)),
3489
- K(J, {
3496
+ R(O, {
3490
3497
  "close-on-blur": !1,
3491
3498
  "data-testid": "form-view-configuration-slideout",
3492
3499
  "has-overlay": !1,
3493
3500
  "offset-top": e.slidoutTopOffset,
3494
- title: A(a)("baseForm.configuration.title"),
3501
+ title: _(a)("baseForm.configuration.title"),
3495
3502
  visible: y.value,
3496
- onClose: w[4] || (w[4] = (E) => k())
3503
+ onClose: f[4] || (f[4] = (V) => b())
3497
3504
  }, {
3498
- default: _(() => [
3499
- L("div", null, O(A(a)("baseForm.configuration.message")), 1),
3500
- K(V, {
3505
+ default: w(() => [
3506
+ L("div", null, I(_(a)("baseForm.configuration.message")), 1),
3507
+ R(E, {
3501
3508
  "data-testid": "form-view-configuration-slideout-tabs",
3502
- tabs: j.value,
3503
- onChange: w[3] || (w[3] = (E) => i("codeBlockTabChange", E.replace("#", "")))
3509
+ tabs: P.value,
3510
+ onChange: f[3] || (f[3] = (V) => i("codeBlockTabChange", V.replace("#", "")))
3504
3511
  }, {
3505
- json: _(() => [
3506
- K(rn, {
3512
+ json: w(() => [
3513
+ R(rn, {
3507
3514
  config: e.config,
3508
3515
  "entity-record": r.formFields,
3509
3516
  "fetcher-url": h.value,
3510
3517
  "request-method": r.editId ? "put" : "post"
3511
3518
  }, null, 8, ["config", "entity-record", "fetcher-url", "request-method"])
3512
3519
  ]),
3513
- yaml: _(() => [
3514
- K(Jn, {
3520
+ yaml: w(() => [
3521
+ R(Jn, {
3515
3522
  "entity-record": r.formFields
3516
3523
  }, null, 8, ["entity-record"])
3517
3524
  ]),
3518
- terraform: _(() => [
3519
- K(Gn, {
3525
+ terraform: w(() => [
3526
+ R(Gn, {
3520
3527
  "entity-record": r.formFields,
3521
3528
  "entity-type": e.entityType,
3522
3529
  "sub-entity-type": e.subEntityType
3523
3530
  }, null, 8, ["entity-record", "entity-type", "sub-entity-type"])
3524
3531
  ]),
3525
- deck: _(() => [
3526
- K(cl, {
3532
+ deck: w(() => [
3533
+ R(cl, {
3527
3534
  app: e.config.app,
3528
3535
  "control-plane-name": e.config.app === "konnect" ? e.config.controlPlaneName : void 0,
3529
3536
  "entity-record": r.formFields,
3530
3537
  "entity-type": e.entityType,
3531
3538
  "geo-api-server-url": e.config.app === "konnect" ? e.config.geoApiServerUrl : void 0,
3532
- "kong-admin-api-url": e.config.app === "kongManager" ? e.config.kongAdminApiUrl : void 0,
3539
+ "kong-admin-api-url": e.config.app === "kongManager" ? e.config.apiBaseUrl : void 0,
3533
3540
  workspace: e.config.app === "kongManager" ? e.config.workspace : void 0
3534
3541
  }, null, 8, ["app", "control-plane-name", "entity-record", "entity-type", "geo-api-server-url", "kong-admin-api-url", "workspace"])
3535
3542
  ]),
@@ -3543,7 +3550,7 @@ ${l.value}
3543
3550
  });
3544
3551
  };
3545
3552
  }
3546
- }), Os = /* @__PURE__ */ le(dl, [["__scopeId", "data-v-f38ef70b"]]), fl = ["data-truncate"], pl = /* @__PURE__ */ z({
3553
+ }), Os = /* @__PURE__ */ le(dl, [["__scopeId", "data-v-1db7c290"]]), fl = ["data-truncate"], pl = /* @__PURE__ */ z({
3547
3554
  __name: "EntityBaseTableCell",
3548
3555
  props: {
3549
3556
  keyName: {
@@ -3560,69 +3567,69 @@ ${l.value}
3560
3567
  }
3561
3568
  },
3562
3569
  setup(e) {
3563
- const t = e, n = $(() => {
3564
- var k;
3565
- return ((k = t.rowEl) == null ? void 0 : k.querySelector(`[data-testid="${t.keyName}"]`)) || null;
3566
- }), i = $(() => {
3567
- var k;
3568
- return ((k = n.value) == null ? void 0 : k.querySelector('[data-truncate="true"]')) || null;
3569
- }), r = $(() => {
3570
- var C, x;
3571
- const k = (C = t.rowEl) == null ? void 0 : C.querySelectorAll("td");
3572
- return k ? ((x = k[0]) == null ? void 0 : x.getAttribute("data-testid")) === t.keyName : !0;
3573
- }), o = $(() => r.value || t.tooltip);
3570
+ const t = e, n = S(() => {
3571
+ var b;
3572
+ return ((b = t.rowEl) == null ? void 0 : b.querySelector(`[data-testid="${t.keyName}"]`)) || null;
3573
+ }), i = S(() => {
3574
+ var b;
3575
+ return ((b = n.value) == null ? void 0 : b.querySelector('[data-truncate="true"]')) || null;
3576
+ }), r = S(() => {
3577
+ var k, A;
3578
+ const b = (k = t.rowEl) == null ? void 0 : k.querySelectorAll("td");
3579
+ return b ? ((A = b[0]) == null ? void 0 : A.getAttribute("data-testid")) === t.keyName : !0;
3580
+ }), o = S(() => r.value || t.tooltip);
3574
3581
  let a;
3575
3582
  const l = () => {
3576
3583
  a && (a.disconnect(), a = void 0);
3577
3584
  }, s = () => {
3578
- var C, x, B;
3579
- let k = ((C = n.value) == null ? void 0 : C.clientWidth) || 0;
3585
+ var k, A, B;
3586
+ let b = ((k = n.value) == null ? void 0 : k.clientWidth) || 0;
3580
3587
  if (n.value && "getComputedStyle" in window) {
3581
- const j = window.getComputedStyle(n.value);
3582
- k -= (parseFloat(j.paddingLeft) || 0) + (parseFloat(j.paddingRight) || 0);
3588
+ const P = window.getComputedStyle(n.value);
3589
+ b -= (parseFloat(P.paddingLeft) || 0) + (parseFloat(P.paddingRight) || 0);
3583
3590
  }
3584
- d.value = ((x = i.value) == null ? void 0 : x.getBoundingClientRect().width) || 0, u.value = k, p.value = ((B = c.value) == null ? void 0 : B.innerText) || "";
3585
- }, c = M({}), d = M(0), u = M(0), p = M(""), m = $(() => [i.value, n.value]), y = be(
3591
+ d.value = ((A = i.value) == null ? void 0 : A.getBoundingClientRect().width) || 0, u.value = b, p.value = ((B = c.value) == null ? void 0 : B.innerText) || "";
3592
+ }, c = N({}), d = N(0), u = N(0), p = N(""), m = S(() => [i.value, n.value]), y = be(
3586
3593
  m,
3587
- (k) => {
3594
+ (b) => {
3588
3595
  if (o.value && (l(), "ResizeObserver" in window && window)) {
3589
- a = new ResizeObserver((C) => {
3596
+ a = new ResizeObserver((k) => {
3590
3597
  window.requestAnimationFrame(() => {
3591
- !Array.isArray(C) || !C.length || s();
3598
+ !Array.isArray(k) || !k.length || s();
3592
3599
  });
3593
3600
  });
3594
- for (const C of k)
3595
- C && a.observe(C);
3601
+ for (const k of b)
3602
+ k && a.observe(k);
3596
3603
  }
3597
3604
  },
3598
3605
  { immediate: !0, flush: "post", deep: !0 }
3599
- ), h = $(() => o.value ? d.value > u.value : !1);
3606
+ ), h = S(() => o.value ? d.value > u.value : !1);
3600
3607
  return it(() => {
3601
3608
  s();
3602
3609
  }), ei(() => {
3603
3610
  y();
3604
- }), (k, C) => {
3605
- const x = D("KTooltip");
3606
- return g(), T("span", {
3611
+ }), (b, k) => {
3612
+ const A = j("KTooltip");
3613
+ return g(), $("span", {
3607
3614
  ref_key: "contentRef",
3608
3615
  ref: c,
3609
3616
  class: "content-wrapper"
3610
3617
  }, [
3611
- o.value ? (g(), T("span", {
3618
+ o.value ? (g(), $("span", {
3612
3619
  key: 0,
3613
3620
  "data-truncate": o.value || void 0
3614
3621
  }, [
3615
- K(x, {
3622
+ R(A, {
3616
3623
  "max-width": "300",
3617
3624
  placement: "bottom-start",
3618
3625
  text: h.value ? p.value : ""
3619
3626
  }, {
3620
- default: _(() => [
3621
- U(k.$slots, "default", {}, void 0, !0)
3627
+ default: w(() => [
3628
+ U(b.$slots, "default", {}, void 0, !0)
3622
3629
  ]),
3623
3630
  _: 3
3624
3631
  }, 8, ["text"])
3625
- ], 8, fl)) : U(k.$slots, "default", { key: 1 }, void 0, !0)
3632
+ ], 8, fl)) : U(b.$slots, "default", { key: 1 }, void 0, !0)
3626
3633
  ], 512);
3627
3634
  };
3628
3635
  }
@@ -3777,7 +3784,7 @@ ${l.value}
3777
3784
  },
3778
3785
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked", "state"],
3779
3786
  setup(e, { emit: t }) {
3780
- const n = e, i = t, { i18n: { t: r } } = W.useI18n(), o = $(() => {
3787
+ const n = e, i = t, { i18n: { t: r } } = J.useI18n(), o = S(() => {
3781
3788
  var f, v;
3782
3789
  return typeof n.errorMessage == "string" ? {
3783
3790
  hasError: !!n.errorMessage,
@@ -3788,15 +3795,15 @@ ${l.value}
3788
3795
  title: (f = n.errorMessage) == null ? void 0 : f.title,
3789
3796
  message: (v = n.errorMessage) == null ? void 0 : v.message
3790
3797
  };
3791
- }), a = $(() => n.cacheIdentifier || n.preferencesStorageKey), l = $(() => {
3798
+ }), a = S(() => n.cacheIdentifier || n.preferencesStorageKey), l = S(() => {
3792
3799
  const f = [];
3793
- return Object.keys(n.tableHeaders).forEach((b) => {
3794
- const V = n.tableHeaders[b];
3800
+ return Object.keys(n.tableHeaders).forEach((C) => {
3801
+ const Y = n.tableHeaders[C];
3795
3802
  f.push({
3796
- label: V.label ?? b,
3797
- key: b,
3798
- sortable: V.sortable ?? !1,
3799
- hidable: V.hidable ?? !0
3803
+ label: Y.label ?? C,
3804
+ key: C,
3805
+ sortable: Y.sortable ?? !1,
3806
+ hidable: Y.hidable ?? !0
3800
3807
  });
3801
3808
  }), n.enableEntityActions && f.push({
3802
3809
  key: "actions",
@@ -3806,7 +3813,7 @@ ${l.value}
3806
3813
  "data-rowid": f.id,
3807
3814
  "data-testid": f.name,
3808
3815
  ...n.rowAttributes(f)
3809
- }), c = M({}), d = (f) => {
3816
+ }), c = N({}), d = (f) => {
3810
3817
  var v;
3811
3818
  return (v = c.value) == null ? void 0 : v.$el.querySelector(`[data-rowid="${f.id}"]`);
3812
3819
  }, u = (f) => {
@@ -3820,49 +3827,49 @@ ${l.value}
3820
3827
  textOverflow: "ellipsis"
3821
3828
  }), v;
3822
3829
  }, p = (f) => {
3823
- x(f), i("state", f);
3830
+ A(f), i("state", f);
3824
3831
  }, m = () => {
3825
3832
  i("empty-state-cta-clicked"), y();
3826
3833
  }, y = () => {
3827
3834
  i("clear-search-input");
3828
- }, h = $(() => n.disableRowClick ? void 0 : (f, v) => {
3835
+ }, h = S(() => n.disableRowClick ? void 0 : (f, v) => {
3829
3836
  i("click:row", v);
3830
- }), k = (f) => {
3837
+ }), b = (f) => {
3831
3838
  i("sort", f);
3832
- }, { hideTableToolbar: C, handleStateChange: x } = W.useTableState(() => n.query), { setTablePreferences: B, getTablePreferences: j } = _i(), X = M(j(a.value, n.defaultTablePreferences)), S = $(() => {
3833
- const f = j(a.value);
3839
+ }, { hideTableToolbar: k, handleStateChange: A } = J.useTableState(() => n.query), { setTablePreferences: B, getTablePreferences: P } = _i(), ee = N(P(a.value, n.defaultTablePreferences)), M = S(() => {
3840
+ const f = P(a.value);
3834
3841
  return {
3835
3842
  ...n.initialFetcherParams,
3836
3843
  ...f
3837
3844
  };
3838
- }), w = (f) => {
3839
- X.value = f, l.value.forEach((v) => {
3840
- !("hidable" in v) || !X.value.columnVisibility || v.hidable === !1 && (X.value.columnVisibility[v.key] = !0);
3845
+ }), F = (f) => {
3846
+ ee.value = f, l.value.forEach((v) => {
3847
+ !("hidable" in v) || !ee.value.columnVisibility || v.hidable === !1 && (ee.value.columnVisibility[v.key] = !0);
3841
3848
  }), a.value && B(a.value, f);
3842
- }, F = $(() => ({
3849
+ }, x = S(() => ({
3843
3850
  disablePageJump: n.disablePaginationPageJump,
3844
3851
  offset: n.paginationType === "offset",
3845
3852
  ...n.paginationAttributes
3846
3853
  }));
3847
3854
  return (f, v) => {
3848
- const b = D("KTableData"), V = D("KCard");
3849
- return g(), N(V, {
3855
+ const C = j("KTableData"), Y = j("KCard");
3856
+ return g(), K(Y, {
3850
3857
  class: "kong-ui-entity-base-table",
3851
3858
  title: e.title,
3852
3859
  "title-tag": e.titleTag
3853
3860
  }, {
3854
- default: _(() => [
3855
- K(b, {
3861
+ default: w(() => [
3862
+ R(C, {
3856
3863
  ref_key: "tableRefs",
3857
3864
  ref: c,
3858
3865
  "cache-identifier": a.value,
3859
3866
  "cell-attrs": u,
3860
3867
  "client-sort": e.enableClientSort,
3861
- "empty-state-action-message": e.query ? A(r)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3868
+ "empty-state-action-message": e.query ? _(r)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3862
3869
  "empty-state-action-route": e.query ? void 0 : e.emptyStateOptions.ctaPath,
3863
3870
  "empty-state-icon-variant": e.query ? "search" : "kong",
3864
- "empty-state-message": e.query ? A(r)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3865
- "empty-state-title": e.query ? A(r)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3871
+ "empty-state-message": e.query ? _(r)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3872
+ "empty-state-title": e.query ? _(r)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3866
3873
  error: o.value.hasError,
3867
3874
  "error-state-message": o.value.message,
3868
3875
  "error-state-title": o.value.title,
@@ -3871,58 +3878,58 @@ ${l.value}
3871
3878
  headers: l.value,
3872
3879
  "hide-pagination": e.hidePagination,
3873
3880
  "hide-pagination-when-optional": e.hidePaginationWhenOptional,
3874
- "hide-toolbar": e.hideToolbar ?? A(C),
3875
- "initial-fetcher-params": S.value,
3881
+ "hide-toolbar": e.hideToolbar ?? _(k),
3882
+ "initial-fetcher-params": M.value,
3876
3883
  loading: e.isLoading,
3877
- "pagination-attributes": F.value,
3884
+ "pagination-attributes": x.value,
3878
3885
  "resize-columns": "",
3879
3886
  "row-attrs": s,
3880
3887
  "row-key": e.rowKey,
3881
3888
  "search-input": e.query,
3882
3889
  "sort-handler-function": e.enableClientSort ? e.sortHandlerFunction : void 0,
3883
3890
  sortable: !e.disableSorting,
3884
- "table-preferences": X.value,
3891
+ "table-preferences": ee.value,
3885
3892
  onEmptyStateActionClick: m,
3886
3893
  "onRow:click": h.value,
3887
- onSort: v[0] || (v[0] = (J) => k(J)),
3894
+ onSort: v[0] || (v[0] = (G) => b(G)),
3888
3895
  onState: p,
3889
- "onUpdate:tablePreferences": w
3890
- }, $e({
3891
- toolbar: _(() => [
3896
+ "onUpdate:tablePreferences": F
3897
+ }, ke({
3898
+ toolbar: w(() => [
3892
3899
  L("div", gl, [
3893
3900
  U(f.$slots, "toolbar-filter", {}, void 0, !0),
3894
- f.$slots["toolbar-button"] ? (g(), T("div", hl, [
3901
+ f.$slots["toolbar-button"] ? (g(), $("div", hl, [
3895
3902
  U(f.$slots, "toolbar-button", {}, void 0, !0)
3896
- ])) : P("", !0)
3903
+ ])) : D("", !0)
3897
3904
  ])
3898
3905
  ]),
3899
- "action-items": _(({ row: J }) => [
3900
- U(f.$slots, "actions", { row: J }, void 0, !0)
3906
+ "action-items": w(({ row: G }) => [
3907
+ U(f.$slots, "actions", { row: G }, void 0, !0)
3901
3908
  ]),
3902
3909
  _: 2
3903
3910
  }, [
3904
3911
  f.$slots["empty-state"] ? {
3905
3912
  name: "empty-state",
3906
- fn: _(() => [
3913
+ fn: w(() => [
3907
3914
  U(f.$slots, "empty-state", {}, void 0, !0)
3908
3915
  ]),
3909
3916
  key: "0"
3910
3917
  } : void 0,
3911
- ce(e.tableHeaders, (J, E) => ({
3918
+ ce(e.tableHeaders, (G, E) => ({
3912
3919
  name: E,
3913
- fn: _(({ row: R, rowValue: G }) => [
3914
- K(ml, {
3920
+ fn: w(({ row: O, rowValue: V }) => [
3921
+ R(ml, {
3915
3922
  "key-name": String(E),
3916
- "row-el": d(R),
3917
- tooltip: J.tooltip
3923
+ "row-el": d(O),
3924
+ tooltip: G.tooltip
3918
3925
  }, {
3919
- default: _(() => [
3926
+ default: w(() => [
3920
3927
  U(f.$slots, E, {
3921
- row: R,
3928
+ row: O,
3922
3929
  rowKey: e.rowKey,
3923
- rowValue: G
3930
+ rowValue: V
3924
3931
  }, () => [
3925
- q(O(G), 1)
3932
+ q(I(V), 1)
3926
3933
  ], !0)
3927
3934
  ]),
3928
3935
  _: 2
@@ -3931,15 +3938,15 @@ ${l.value}
3931
3938
  })),
3932
3939
  e.query ? void 0 : {
3933
3940
  name: "empty-state-action-icon",
3934
- fn: _(() => [
3935
- K(A(Gt))
3941
+ fn: w(() => [
3942
+ R(_(Gt))
3936
3943
  ]),
3937
3944
  key: "1"
3938
3945
  }
3939
3946
  ]), 1032, ["cache-identifier", "client-sort", "empty-state-action-message", "empty-state-action-route", "empty-state-icon-variant", "empty-state-message", "empty-state-title", "error", "error-state-message", "error-state-title", "fetcher", "fetcher-cache-key", "headers", "hide-pagination", "hide-pagination-when-optional", "hide-toolbar", "initial-fetcher-params", "loading", "pagination-attributes", "row-key", "search-input", "sort-handler-function", "sortable", "table-preferences", "onRow:click"]),
3940
- f.$slots["outside-actions"] && A(C) ? (g(), T("div", yl, [
3947
+ f.$slots["outside-actions"] && _(k) ? (g(), $("div", yl, [
3941
3948
  U(f.$slots, "outside-actions", {}, void 0, !0)
3942
- ])) : P("", !0)
3949
+ ])) : D("", !0)
3943
3950
  ]),
3944
3951
  _: 3
3945
3952
  }, 8, ["title", "title-tag"]);
@@ -3990,14 +3997,14 @@ ${l.value}
3990
3997
  },
3991
3998
  emits: ["cancel", "proceed"],
3992
3999
  setup(e, { emit: t }) {
3993
- const { i18nT: n } = W.useI18n(), i = e, r = t, o = $(() => i.needConfirm ? i.entityName : ""), a = () => {
4000
+ const { i18nT: n } = J.useI18n(), i = e, r = t, o = S(() => i.needConfirm ? i.entityName : ""), a = () => {
3994
4001
  r("cancel");
3995
4002
  }, l = () => {
3996
4003
  r("proceed");
3997
4004
  };
3998
4005
  return (s, c) => {
3999
- const d = D("KAlert"), u = D("KPrompt");
4000
- return g(), N(u, {
4006
+ const d = j("KAlert"), u = j("KPrompt");
4007
+ return g(), K(u, {
4001
4008
  "action-button-appearance": "danger",
4002
4009
  "action-button-disabled": e.actionPending,
4003
4010
  "action-button-text": "Yes, delete",
@@ -4008,38 +4015,38 @@ ${l.value}
4008
4015
  onCancel: a,
4009
4016
  onProceed: l
4010
4017
  }, {
4011
- default: _(() => [
4012
- e.error ? (g(), T("div", bl, [
4013
- K(d, { appearance: "danger" }, {
4014
- default: _(() => [
4015
- q(O(e.error), 1)
4018
+ default: w(() => [
4019
+ e.error ? (g(), $("div", bl, [
4020
+ R(d, { appearance: "danger" }, {
4021
+ default: w(() => [
4022
+ q(I(e.error), 1)
4016
4023
  ]),
4017
4024
  _: 1
4018
4025
  })
4019
- ])) : P("", !0),
4020
- K(A(n), {
4026
+ ])) : D("", !0),
4027
+ R(_(n), {
4021
4028
  class: "message",
4022
4029
  keypath: i.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
4023
4030
  tag: "p"
4024
- }, $e({
4025
- entityType: _(() => [
4026
- q(O(i.entityType), 1)
4031
+ }, ke({
4032
+ entityType: w(() => [
4033
+ q(I(i.entityType), 1)
4027
4034
  ]),
4028
4035
  _: 2
4029
4036
  }, [
4030
4037
  i.entityName ? {
4031
4038
  name: "entityName",
4032
- fn: _(() => [
4033
- L("strong", null, O(i.entityName), 1)
4039
+ fn: w(() => [
4040
+ L("strong", null, I(i.entityName), 1)
4034
4041
  ]),
4035
4042
  key: "0"
4036
4043
  } : void 0
4037
4044
  ]), 1032, ["keypath"]),
4038
- i.description || s.$slots.description ? (g(), T("div", kl, [
4045
+ i.description || s.$slots.description ? (g(), $("div", kl, [
4039
4046
  U(s.$slots, "description", {}, () => [
4040
- L("p", null, O(i.description), 1)
4047
+ L("p", null, I(i.description), 1)
4041
4048
  ], !0)
4042
- ])) : P("", !0)
4049
+ ])) : D("", !0)
4043
4050
  ]),
4044
4051
  _: 3
4045
4052
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
@@ -4059,7 +4066,7 @@ ${l.value}
4059
4066
  width: "20",
4060
4067
  x: "0",
4061
4068
  y: "0"
4062
- }, _l = ["fill"], wl = { mask: "url(#mask0_180_20349)" }, Sl = ["fill"], Dt = /* @__PURE__ */ z({
4069
+ }, _l = ["fill"], wl = { mask: "url(#mask0_180_20349)" }, Sl = ["fill"], jt = /* @__PURE__ */ z({
4063
4070
  __name: "IconFilter",
4064
4071
  props: {
4065
4072
  color: {
@@ -4068,7 +4075,7 @@ ${l.value}
4068
4075
  }
4069
4076
  },
4070
4077
  setup(e) {
4071
- return (t, n) => (g(), T("svg", xl, [
4078
+ return (t, n) => (g(), $("svg", xl, [
4072
4079
  L("mask", Al, [
4073
4080
  L("rect", {
4074
4081
  fill: e.color,
@@ -4107,62 +4114,62 @@ ${l.value}
4107
4114
  },
4108
4115
  emits: ["update:modelValue"],
4109
4116
  setup(e, { emit: t }) {
4110
- const { i18n: { t: n } } = W.useI18n(), i = e, r = t, o = M(!1), a = M({}), l = M(/* @__PURE__ */ new Set()), s = $(() => {
4111
- const S = [];
4112
- return new URLSearchParams(i.modelValue).forEach((w, F) => {
4113
- w !== "" && S.push(F);
4114
- }), S;
4115
- }), c = $(() => {
4116
- const S = i.config.fields;
4117
- return Object.keys(S).filter((w) => {
4118
- var F;
4119
- return (F = S == null ? void 0 : S[w]) == null ? void 0 : F.searchable;
4120
- }).map((w) => ({
4121
- label: S[w].label || w,
4122
- value: w,
4117
+ const { i18n: { t: n } } = J.useI18n(), i = e, r = t, o = N(!1), a = N({}), l = N(/* @__PURE__ */ new Set()), s = S(() => {
4118
+ const M = [];
4119
+ return new URLSearchParams(i.modelValue).forEach((F, x) => {
4120
+ F !== "" && M.push(x);
4121
+ }), M;
4122
+ }), c = S(() => {
4123
+ const M = i.config.fields;
4124
+ return Object.keys(M).filter((F) => {
4125
+ var x;
4126
+ return (x = M == null ? void 0 : M[F]) == null ? void 0 : x.searchable;
4127
+ }).map((F) => ({
4128
+ label: M[F].label || F,
4129
+ value: F,
4123
4130
  expanded: !1
4124
4131
  }));
4125
4132
  });
4126
- be(() => i.modelValue, (S) => {
4127
- a.value = {}, new URLSearchParams(S).forEach((w, F) => {
4128
- a.value[F] = w;
4133
+ be(() => i.modelValue, (M) => {
4134
+ a.value = {}, new URLSearchParams(M).forEach((F, x) => {
4135
+ a.value[x] = F;
4129
4136
  });
4130
4137
  });
4131
4138
  const d = () => {
4132
4139
  o.value = !o.value;
4133
- }, u = (S) => {
4134
- l.value.has(S) ? l.value.delete(S) : l.value.add(S);
4135
- }, p = (S) => {
4136
- r("update:modelValue", S);
4140
+ }, u = (M) => {
4141
+ l.value.has(M) ? l.value.delete(M) : l.value.add(M);
4142
+ }, p = (M) => {
4143
+ r("update:modelValue", M);
4137
4144
  }, m = () => {
4138
4145
  p("");
4139
- }, y = (S) => `filter-${S}`, h = (S) => {
4140
- var w, F;
4141
- return (((F = (w = i.config.schema) == null ? void 0 : w[S]) == null ? void 0 : F.values) ?? []).map((f) => typeof f == "string" ? { value: f, label: f } : f);
4142
- }, k = (S) => {
4143
- var w, F;
4144
- return ((F = (w = i.config.schema) == null ? void 0 : w[S]) == null ? void 0 : F.type) ?? "text";
4145
- }, C = (S) => {
4146
+ }, y = (M) => `filter-${M}`, h = (M) => {
4147
+ var F, x;
4148
+ return (((x = (F = i.config.schema) == null ? void 0 : F[M]) == null ? void 0 : x.values) ?? []).map((f) => typeof f == "string" ? { value: f, label: f } : f);
4149
+ }, b = (M) => {
4150
+ var F, x;
4151
+ return ((x = (F = i.config.schema) == null ? void 0 : F[M]) == null ? void 0 : x.type) ?? "text";
4152
+ }, k = (M) => {
4146
4153
  a.value = {
4147
4154
  ...a.value,
4148
- [S]: ""
4155
+ [M]: ""
4149
4156
  }, B();
4150
- }, x = () => {
4157
+ }, A = () => {
4151
4158
  a.value = {}, B(!0);
4152
- }, B = (S = !1) => {
4153
- const w = Object.keys(a.value).reduce((F, f) => (a.value[f] && (F[f] = `${a.value[f]}`), F), {});
4154
- S && (o.value = !1), r("update:modelValue", new URLSearchParams(w).toString());
4155
- }, j = (S) => {
4156
- var w, F;
4157
- return !!((F = (w = i.config.schema) == null ? void 0 : w[S]) != null && F.filterFunction);
4158
- }, X = (S, w) => {
4159
+ }, B = (M = !1) => {
4160
+ const F = Object.keys(a.value).reduce((x, f) => (a.value[f] && (x[f] = `${a.value[f]}`), x), {});
4161
+ M && (o.value = !1), r("update:modelValue", new URLSearchParams(F).toString());
4162
+ }, P = (M) => {
4163
+ var F, x;
4164
+ return !!((x = (F = i.config.schema) == null ? void 0 : F[M]) != null && x.filterFunction);
4165
+ }, ee = (M, F) => {
4159
4166
  var f;
4160
- const F = (f = i.config.schema) == null ? void 0 : f[S];
4161
- return (F == null ? void 0 : F.filterFunction) === void 0 ? !0 : F.filterFunction(w);
4167
+ const x = (f = i.config.schema) == null ? void 0 : f[M];
4168
+ return (x == null ? void 0 : x.filterFunction) === void 0 ? !0 : x.filterFunction(F);
4162
4169
  };
4163
- return (S, w) => {
4164
- const F = D("KInput"), f = D("KButton"), v = D("KSelect");
4165
- return e.config.isExactMatch ? (g(), N(F, {
4170
+ return (M, F) => {
4171
+ const x = j("KInput"), f = j("KButton"), v = j("KSelect");
4172
+ return e.config.isExactMatch ? (g(), K(x, {
4166
4173
  key: 0,
4167
4174
  autocomplete: "off",
4168
4175
  class: "kong-ui-entity-filter-input",
@@ -4171,130 +4178,130 @@ ${l.value}
4171
4178
  placeholder: e.config.placeholder,
4172
4179
  "onUpdate:modelValue": p
4173
4180
  }, {
4174
- before: _(() => [
4175
- K(Dt)
4181
+ before: w(() => [
4182
+ R(jt)
4176
4183
  ]),
4177
- after: _(() => [
4178
- ke(K(A(fi), {
4184
+ after: w(() => [
4185
+ Ce(R(_(fi), {
4179
4186
  class: "kong-ui-entity-filter-clear",
4180
4187
  role: "button",
4181
4188
  tabindex: "0",
4182
4189
  onClick: m
4183
4190
  }, null, 512), [
4184
- [Ce, e.modelValue !== ""]
4191
+ [xe, e.modelValue !== ""]
4185
4192
  ])
4186
4193
  ]),
4187
4194
  _: 1
4188
- }, 8, ["model-value", "placeholder"])) : (g(), T("div", $l, [
4189
- K(f, {
4195
+ }, 8, ["model-value", "placeholder"])) : (g(), $("div", $l, [
4196
+ R(f, {
4190
4197
  appearance: "tertiary",
4191
4198
  "data-testid": "filter-button",
4192
4199
  onClick: d
4193
4200
  }, {
4194
- default: _(() => [
4195
- K(Dt),
4196
- q(" " + O(A(n)("filter.filterButtonText")) + " " + O(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4201
+ default: w(() => [
4202
+ R(jt),
4203
+ q(" " + I(_(n)("filter.filterButtonText")) + " " + I(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4197
4204
  ]),
4198
4205
  _: 1
4199
4206
  }),
4200
- ke(L("div", {
4207
+ Ce(L("div", {
4201
4208
  class: "kong-ui-entity-filter-backdrop",
4202
4209
  onClick: d
4203
4210
  }, null, 512), [
4204
- [Ce, o.value]
4211
+ [xe, o.value]
4205
4212
  ]),
4206
- ke(L("div", Tl, [
4207
- (g(!0), T(ue, null, ce(c.value, (b) => {
4208
- var V, J;
4209
- return g(), T("div", {
4210
- key: b.value,
4213
+ Ce(L("div", Tl, [
4214
+ (g(!0), $(ue, null, ce(c.value, (C) => {
4215
+ var Y, G;
4216
+ return g(), $("div", {
4217
+ key: C.value,
4211
4218
  class: "kong-ui-entity-filter-menu-item",
4212
- "data-testid": b.value
4219
+ "data-testid": C.value
4213
4220
  }, [
4214
4221
  L("span", {
4215
- class: fe(["menu-item-title", { expanded: l.value.has(b.value) }]),
4222
+ class: fe(["menu-item-title", { expanded: l.value.has(C.value) }]),
4216
4223
  role: "button",
4217
4224
  tabindex: "0",
4218
- onClick: (E) => u(b.value),
4219
- onKeydown: ti((E) => u(b.value), ["enter"])
4225
+ onClick: (E) => u(C.value),
4226
+ onKeydown: ti((E) => u(C.value), ["enter"])
4220
4227
  }, [
4221
- q(O(b.label) + " ", 1),
4222
- ke(L("span", Fl, null, 512), [
4223
- [Ce, s.value.includes(b.value)]
4228
+ q(I(C.label) + " ", 1),
4229
+ Ce(L("span", Fl, null, 512), [
4230
+ [xe, s.value.includes(C.value)]
4224
4231
  ]),
4225
- K(A(pi), {
4226
- class: fe(["menu-item-expand-icon", { expanded: l.value.has(b.value) }]),
4227
- color: A(sr)
4232
+ R(_(pi), {
4233
+ class: fe(["menu-item-expand-icon", { expanded: l.value.has(C.value) }]),
4234
+ color: _(sr)
4228
4235
  }, null, 8, ["class", "color"])
4229
4236
  ], 42, Il),
4230
- ke(L("div", Ol, [
4237
+ Ce(L("div", Ol, [
4231
4238
  L("label", {
4232
4239
  class: "menu-item-label",
4233
- for: y(b.value)
4234
- }, O(A(n)("filter.fieldLabel")), 9, Bl),
4235
- ((J = (V = e.config.schema) == null ? void 0 : V[b.value]) == null ? void 0 : J.type) === "select" ? (g(), N(v, {
4240
+ for: y(C.value)
4241
+ }, I(_(n)("filter.fieldLabel")), 9, Bl),
4242
+ ((G = (Y = e.config.schema) == null ? void 0 : Y[C.value]) == null ? void 0 : G.type) === "select" ? (g(), K(v, {
4236
4243
  key: 0,
4237
- id: y(b.value),
4238
- modelValue: a.value[b.value],
4239
- "onUpdate:modelValue": (E) => a.value[b.value] = E,
4240
- "enable-filtering": j(b.value),
4241
- "filter-function": (E) => X(b.value, E),
4242
- items: h(b.value),
4243
- placeholder: A(n)("filter.selectPlaceholder")
4244
- }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "enable-filtering", "filter-function", "items", "placeholder"])) : (g(), N(F, {
4244
+ id: y(C.value),
4245
+ modelValue: a.value[C.value],
4246
+ "onUpdate:modelValue": (E) => a.value[C.value] = E,
4247
+ "enable-filtering": P(C.value),
4248
+ "filter-function": (E) => ee(C.value, E),
4249
+ items: h(C.value),
4250
+ placeholder: _(n)("filter.selectPlaceholder")
4251
+ }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "enable-filtering", "filter-function", "items", "placeholder"])) : (g(), K(x, {
4245
4252
  key: 1,
4246
- id: y(b.value),
4247
- modelValue: a.value[b.value],
4248
- "onUpdate:modelValue": (E) => a.value[b.value] = E,
4253
+ id: y(C.value),
4254
+ modelValue: a.value[C.value],
4255
+ "onUpdate:modelValue": (E) => a.value[C.value] = E,
4249
4256
  autocomplete: "off",
4250
- placeholder: A(n)("filter.inputPlaceholder"),
4251
- type: k(b.value)
4257
+ placeholder: _(n)("filter.inputPlaceholder"),
4258
+ type: b(C.value)
4252
4259
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4253
4260
  ], 512), [
4254
- [Ce, l.value.has(b.value)]
4261
+ [xe, l.value.has(C.value)]
4255
4262
  ]),
4256
- ke(L("div", Ll, [
4257
- K(f, {
4263
+ Ce(L("div", Ll, [
4264
+ R(f, {
4258
4265
  appearance: "tertiary",
4259
4266
  "data-testid": "apply-filter",
4260
4267
  size: "small",
4261
- onClick: w[0] || (w[0] = (E) => B(!0))
4268
+ onClick: F[0] || (F[0] = (E) => B(!0))
4262
4269
  }, {
4263
- default: _(() => [
4264
- q(O(A(n)("filter.applyButtonText")), 1)
4270
+ default: w(() => [
4271
+ q(I(_(n)("filter.applyButtonText")), 1)
4265
4272
  ]),
4266
4273
  _: 1
4267
4274
  }),
4268
- K(f, {
4275
+ R(f, {
4269
4276
  appearance: "tertiary",
4270
4277
  "data-testid": "clear-filter",
4271
4278
  size: "small",
4272
- onClick: (E) => C(b.value)
4279
+ onClick: (E) => k(C.value)
4273
4280
  }, {
4274
- default: _(() => [
4275
- q(O(A(n)("filter.clearButtonText")), 1)
4281
+ default: w(() => [
4282
+ q(I(_(n)("filter.clearButtonText")), 1)
4276
4283
  ]),
4277
4284
  _: 1
4278
4285
  }, 8, ["onClick"])
4279
4286
  ], 512), [
4280
- [Ce, l.value.has(b.value)]
4287
+ [xe, l.value.has(C.value)]
4281
4288
  ])
4282
4289
  ], 8, El);
4283
4290
  }), 128)),
4284
4291
  L("div", Rl, [
4285
- K(f, {
4292
+ R(f, {
4286
4293
  appearance: "tertiary",
4287
4294
  size: "small",
4288
- onClick: x
4295
+ onClick: A
4289
4296
  }, {
4290
- default: _(() => [
4291
- q(O(A(n)("filter.clearAllButtonText")), 1)
4297
+ default: w(() => [
4298
+ q(I(_(n)("filter.clearAllButtonText")), 1)
4292
4299
  ]),
4293
4300
  _: 1
4294
4301
  })
4295
4302
  ])
4296
4303
  ], 512), [
4297
- [Ce, o.value]
4304
+ [xe, o.value]
4298
4305
  ])
4299
4306
  ]));
4300
4307
  };
@@ -4331,9 +4338,9 @@ ${l.value}
4331
4338
  },
4332
4339
  emits: ["cancel", "proceed"],
4333
4340
  setup(e, { emit: t }) {
4334
- const { i18n: { t: n }, i18nT: i } = W.useI18n(), r = e, o = t, a = M(!1), l = $(
4341
+ const { i18n: { t: n }, i18nT: i } = J.useI18n(), r = e, o = t, a = N(!1), l = S(
4335
4342
  () => r.action === "enable" ? n("toggleModal.enable.title", { entityType: r.entityType }) : n("toggleModal.disable.title", { entityType: r.entityType })
4336
- ), s = $(
4343
+ ), s = S(
4337
4344
  () => r.action === "enable" ? n("toggleModal.enable.confirmText") : n("toggleModal.disable.confirmText")
4338
4345
  ), c = () => o("cancel"), d = async () => {
4339
4346
  if (r.onConfirm) {
@@ -4348,9 +4355,9 @@ ${l.value}
4348
4355
  }
4349
4356
  };
4350
4357
  return (u, p) => {
4351
- const m = D("KPrompt");
4352
- return g(), N(Wt, { to: "body" }, [
4353
- K(m, {
4358
+ const m = j("KPrompt");
4359
+ return g(), K(Wt, { to: "body" }, [
4360
+ R(m, {
4354
4361
  "action-button-disabled": a.value,
4355
4362
  "action-button-text": s.value,
4356
4363
  "data-testid": `${e.entityType}-${e.entityId}-toggle-prompt`,
@@ -4359,16 +4366,16 @@ ${l.value}
4359
4366
  onCancel: c,
4360
4367
  onProceed: d
4361
4368
  }, {
4362
- default: _(() => [
4363
- K(A(i), {
4369
+ default: w(() => [
4370
+ R(_(i), {
4364
4371
  keypath: `toggleModal.${r.action}.message`,
4365
4372
  scope: "global"
4366
4373
  }, {
4367
- entityType: _(() => [
4368
- q(O(e.entityType), 1)
4374
+ entityType: w(() => [
4375
+ q(I(e.entityType), 1)
4369
4376
  ]),
4370
- entityName: _(() => [
4371
- L("strong", null, O(e.entityName), 1)
4377
+ entityName: w(() => [
4378
+ L("strong", null, I(e.entityName), 1)
4372
4379
  ]),
4373
4380
  _: 1
4374
4381
  }, 8, ["keypath"])
@@ -4400,13 +4407,13 @@ ${l.value}
4400
4407
  }
4401
4408
  },
4402
4409
  setup(e) {
4403
- const t = e, n = M(void 0), i = $(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4410
+ const t = e, n = N(void 0), i = S(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4404
4411
  return be(() => t.authFunction, async () => {
4405
4412
  n.value = await t.authFunction();
4406
4413
  }, { immediate: !0 }), (r, o) => i.value ? U(r.$slots, "default", {
4407
4414
  key: 0,
4408
4415
  isAllowed: n.value
4409
- }) : P("", !0);
4416
+ }) : D("", !0);
4410
4417
  }
4411
4418
  }), ne = [];
4412
4419
  for (let e = 0; e < 256; ++e)
@@ -4416,7 +4423,7 @@ function Nl(e, t = 0) {
4416
4423
  }
4417
4424
  let ze;
4418
4425
  const Ml = new Uint8Array(16);
4419
- function Pl() {
4426
+ function Dl() {
4420
4427
  if (!ze) {
4421
4428
  if (typeof crypto > "u" || !crypto.getRandomValues)
4422
4429
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
@@ -4424,13 +4431,13 @@ function Pl() {
4424
4431
  }
4425
4432
  return ze(Ml);
4426
4433
  }
4427
- const jl = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ut = { randomUUID: jl };
4428
- function Dl(e, t, n) {
4434
+ const Pl = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ut = { randomUUID: Pl };
4435
+ function jl(e, t, n) {
4429
4436
  var r;
4430
4437
  if (Ut.randomUUID && !e)
4431
4438
  return Ut.randomUUID();
4432
4439
  e = e || {};
4433
- const i = e.random ?? ((r = e.rng) == null ? void 0 : r.call(e)) ?? Pl();
4440
+ const i = e.random ?? ((r = e.rng) == null ? void 0 : r.call(e)) ?? Dl();
4434
4441
  if (i.length < 16)
4435
4442
  throw new Error("Random bytes length must be >= 16");
4436
4443
  return i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, Nl(i);
@@ -4470,35 +4477,35 @@ const Ul = ["aria-labelledby"], ql = { class: "form-section-wrapper" }, Hl = {
4470
4477
  }
4471
4478
  },
4472
4479
  setup(e) {
4473
- const t = Ue(), n = Dl();
4474
- return (i, r) => (g(), T("div", {
4475
- "aria-labelledby": e.title ? A(n) : void 0,
4480
+ const t = Ue(), n = jl();
4481
+ return (i, r) => (g(), $("div", {
4482
+ "aria-labelledby": e.title ? _(n) : void 0,
4476
4483
  class: fe(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4477
4484
  role: "group"
4478
4485
  }, [
4479
4486
  L("div", ql, [
4480
- e.hideInfoHeader ? P("", !0) : (g(), T("div", {
4487
+ e.hideInfoHeader ? D("", !0) : (g(), $("div", {
4481
4488
  key: 0,
4482
4489
  class: fe(["form-section-info", { sticky: e.stickyInfoHeader }])
4483
4490
  }, [
4484
- e.title ? (g(), N(De(e.titleTag), {
4491
+ e.title ? (g(), K(je(e.titleTag), {
4485
4492
  key: 0,
4486
- id: A(n),
4493
+ id: _(n),
4487
4494
  class: "form-section-title"
4488
4495
  }, {
4489
- default: _(() => [
4490
- q(O(e.title), 1)
4496
+ default: w(() => [
4497
+ q(I(e.title), 1)
4491
4498
  ]),
4492
4499
  _: 1
4493
- }, 8, ["id"])) : P("", !0),
4494
- e.description || A(t).description ? (g(), T("div", Hl, [
4500
+ }, 8, ["id"])) : D("", !0),
4501
+ e.description || _(t).description ? (g(), $("div", Hl, [
4495
4502
  U(i.$slots, "description", {}, () => [
4496
- L("p", null, O(e.description), 1)
4503
+ L("p", null, I(e.description), 1)
4497
4504
  ], !0)
4498
- ])) : P("", !0),
4499
- A(t).footer ? (g(), T("div", Vl, [
4505
+ ])) : D("", !0),
4506
+ _(t).footer ? (g(), $("div", Vl, [
4500
4507
  U(i.$slots, "footer", {}, void 0, !0)
4501
- ])) : P("", !0)
4508
+ ])) : D("", !0)
4502
4509
  ], 2)),
4503
4510
  L("div", Yl, [
4504
4511
  U(i.$slots, "default", {}, void 0, !0)
@@ -4524,31 +4531,31 @@ const Ul = ["aria-labelledby"], ql = { class: "form-section-wrapper" }, Hl = {
4524
4531
  },
4525
4532
  setup(e) {
4526
4533
  const t = Ue();
4527
- return (n, i) => (g(), T("div", Jl, [
4534
+ return (n, i) => (g(), $("div", Jl, [
4528
4535
  L("header", Gl, [
4529
- e.step != null ? (g(), T("div", zl, O(e.step), 1)) : P("", !0),
4536
+ e.step != null ? (g(), $("div", zl, I(e.step), 1)) : D("", !0),
4530
4537
  L("div", Ql, [
4531
4538
  L("h2", Zl, [
4532
4539
  U(n.$slots, "title", {}, () => [
4533
- q(O(e.title), 1)
4540
+ q(I(e.title), 1)
4534
4541
  ], !0)
4535
4542
  ]),
4536
- e.description || t.description ? (g(), T("div", Xl, [
4543
+ e.description || t.description ? (g(), $("div", Xl, [
4537
4544
  U(n.$slots, "description", {}, () => [
4538
- q(O(e.description), 1)
4545
+ q(I(e.description), 1)
4539
4546
  ], !0)
4540
- ])) : P("", !0)
4547
+ ])) : D("", !0)
4541
4548
  ]),
4542
- t.extra ? (g(), T("div", es, [
4549
+ t.extra ? (g(), $("div", es, [
4543
4550
  U(n.$slots, "extra", {}, void 0, !0)
4544
- ])) : P("", !0)
4551
+ ])) : D("", !0)
4545
4552
  ]),
4546
4553
  L("div", ts, [
4547
4554
  U(n.$slots, "default", {}, void 0, !0)
4548
4555
  ])
4549
4556
  ]));
4550
4557
  }
4551
- }), Ps = /* @__PURE__ */ le(ns, [["__scopeId", "data-v-cb6d2e95"]]), is = {
4558
+ }), Ds = /* @__PURE__ */ le(ns, [["__scopeId", "data-v-cb6d2e95"]]), is = {
4552
4559
  class: "kong-ui-public-entity-link",
4553
4560
  "data-testid": "entity-link-parent"
4554
4561
  }, rs = {
@@ -4578,10 +4585,10 @@ const Ul = ["aria-labelledby"], ql = { class: "form-section-wrapper" }, Hl = {
4578
4585
  }
4579
4586
  },
4580
4587
  setup(e) {
4581
- const t = e, n = M(), { isTruncated: i } = W.useTruncationDetector(n), { i18n: { t: r } } = W.useI18n(), o = r("global.actions.copyId"), a = M(o), l = $(() => t.entityLinkData.deleted ?? !1), s = $(() => {
4588
+ const t = e, n = N(), { isTruncated: i } = J.useTruncationDetector(n), { i18n: { t: r } } = J.useI18n(), o = r("global.actions.copyId"), a = N(o), l = S(() => t.entityLinkData.deleted ?? !1), s = S(() => {
4582
4589
  var u;
4583
4590
  return (u = t.entityLinkData.id) != null && u.toString().includes(":") ? t.entityLinkData.id.toString().split(":")[1] : t.entityLinkData.id;
4584
- }), c = $(() => {
4591
+ }), c = S(() => {
4585
4592
  var u;
4586
4593
  return `${(u = s.value) == null ? void 0 : u.toString().slice(0, 5)} (deleted)`;
4587
4594
  }), d = async (u) => {
@@ -4590,50 +4597,50 @@ const Ul = ["aria-labelledby"], ql = { class: "form-section-wrapper" }, Hl = {
4590
4597
  }, 1800));
4591
4598
  };
4592
4599
  return (u, p) => {
4593
- const m = D("KTooltip"), y = D("KExternalLink"), h = D("KClipboardProvider");
4594
- return g(), T("div", is, [
4595
- l.value ? (g(), T("div", rs, O(c.value), 1)) : s.value ? s.value ? (g(), N(y, {
4600
+ const m = j("KTooltip"), y = j("KExternalLink"), h = j("KClipboardProvider");
4601
+ return g(), $("div", is, [
4602
+ l.value ? (g(), $("div", rs, I(c.value), 1)) : s.value ? s.value ? (g(), K(y, {
4596
4603
  key: 2,
4597
4604
  class: "entity-link",
4598
4605
  "hide-icon": !e.newWindow,
4599
4606
  href: e.externalLink,
4600
4607
  target: e.newWindow ? "_blank" : "_self"
4601
4608
  }, {
4602
- default: _(() => [
4603
- K(m, {
4604
- text: A(i) && e.entityLinkData.label || ""
4609
+ default: w(() => [
4610
+ R(m, {
4611
+ text: _(i) && e.entityLinkData.label || ""
4605
4612
  }, {
4606
- default: _(() => [
4613
+ default: w(() => [
4607
4614
  L("span", {
4608
4615
  ref_key: "textContent",
4609
4616
  ref: n,
4610
4617
  class: "entity-link-label"
4611
- }, O(e.entityLinkData.label), 513)
4618
+ }, I(e.entityLinkData.label), 513)
4612
4619
  ]),
4613
4620
  _: 1
4614
4621
  }, 8, ["text"])
4615
4622
  ]),
4616
4623
  _: 1
4617
- }, 8, ["hide-icon", "href", "target"])) : P("", !0) : (g(), T("div", as, O(" – "))),
4618
- s.value && e.allowCopy ? (g(), N(m, {
4624
+ }, 8, ["hide-icon", "href", "target"])) : D("", !0) : (g(), $("div", as, I(" – "))),
4625
+ s.value && e.allowCopy ? (g(), K(m, {
4619
4626
  key: a.value,
4620
4627
  class: "copy-uuid-tooltip",
4621
4628
  "max-width": "160",
4622
4629
  placement: "bottom-end",
4623
4630
  text: a.value
4624
4631
  }, {
4625
- default: _(() => [
4626
- K(h, null, {
4627
- default: _(({ copyToClipboard: k }) => [
4632
+ default: w(() => [
4633
+ R(h, null, {
4634
+ default: w(({ copyToClipboard: b }) => [
4628
4635
  L("span", {
4629
4636
  class: "entity-link-copy-id",
4630
- onClick: Re((C) => d(k), ["stop"])
4637
+ onClick: Re((k) => d(b), ["stop"])
4631
4638
  }, [
4632
- K(A(mi), {
4639
+ R(_(mi), {
4633
4640
  class: "copy-icon",
4634
- color: A(cr),
4641
+ color: _(cr),
4635
4642
  "data-testid": "copy-id",
4636
- size: A(dr)
4643
+ size: _(dr)
4637
4644
  }, null, 8, ["color", "size"])
4638
4645
  ], 8, os)
4639
4646
  ]),
@@ -4641,11 +4648,11 @@ const Ul = ["aria-labelledby"], ql = { class: "form-section-wrapper" }, Hl = {
4641
4648
  })
4642
4649
  ]),
4643
4650
  _: 1
4644
- }, 8, ["text"])) : P("", !0)
4651
+ }, 8, ["text"])) : D("", !0)
4645
4652
  ]);
4646
4653
  };
4647
4654
  }
4648
- }), js = /* @__PURE__ */ le(ls, [["__scopeId", "data-v-96efdfa5"]]), ss = { class: "kong-ui-public-entity-empty-state" }, cs = { class: "entity-empty-state-content" }, us = {
4655
+ }), Ps = /* @__PURE__ */ le(ls, [["__scopeId", "data-v-96efdfa5"]]), ss = { class: "kong-ui-public-entity-empty-state" }, cs = { class: "entity-empty-state-content" }, us = {
4649
4656
  key: 0,
4650
4657
  class: "empty-state-image"
4651
4658
  }, ds = {
@@ -4713,100 +4720,100 @@ const Ul = ["aria-labelledby"], ql = { class: "form-section-wrapper" }, Hl = {
4713
4720
  },
4714
4721
  emits: ["click:create", "click:learn-more"],
4715
4722
  setup(e) {
4716
- const t = e, { i18n: { t: n } } = W.useI18n(), i = M(!1), r = $(() => i.value && !!t.actionButtonText), o = $(() => vt.includes(t.appearance) ? t.appearance : ["primary", t.appearance]);
4723
+ const t = e, { i18n: { t: n } } = J.useI18n(), i = N(!1), r = S(() => i.value && !!t.actionButtonText), o = S(() => vt.includes(t.appearance) ? t.appearance : ["primary", t.appearance]);
4717
4724
  return rt(async () => {
4718
4725
  i.value = await t.canCreate();
4719
4726
  }), it(() => ni(`EntityEmptyState is deprecated and will be removed in future releases. Please use the KEmptyState component instead.
4720
4727
  Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) => {
4721
- const s = D("KCard");
4722
- return g(), T("div", ss, [
4728
+ const s = j("KCard");
4729
+ return g(), $("div", ss, [
4723
4730
  L("div", cs, [
4724
- a.$slots.image ? (g(), T("div", us, [
4731
+ a.$slots.image ? (g(), $("div", us, [
4725
4732
  U(a.$slots, "image", {}, void 0, !0)
4726
- ])) : P("", !0),
4727
- e.title || a.$slots.title ? (g(), T("div", ds, [
4733
+ ])) : D("", !0),
4734
+ e.title || a.$slots.title ? (g(), $("div", ds, [
4728
4735
  L("h1", {
4729
4736
  class: fe(o.value)
4730
4737
  }, [
4731
4738
  U(a.$slots, "title", {}, () => [
4732
- q(O(e.title), 1)
4739
+ q(I(e.title), 1)
4733
4740
  ], !0)
4734
4741
  ], 2)
4735
- ])) : P("", !0),
4736
- e.description || a.$slots.default ? (g(), T("div", fs, [
4742
+ ])) : D("", !0),
4743
+ e.description || a.$slots.default ? (g(), $("div", fs, [
4737
4744
  U(a.$slots, "default", {}, () => [
4738
- L("p", null, O(e.description), 1)
4745
+ L("p", null, I(e.description), 1)
4739
4746
  ], !0)
4740
- ])) : P("", !0),
4741
- e.pricing || a.$slots.pricing ? (g(), T("div", ps, [
4747
+ ])) : D("", !0),
4748
+ e.pricing || a.$slots.pricing ? (g(), $("div", ps, [
4742
4749
  L("p", null, [
4743
- L("b", null, O(A(n)("emptyState.pricingTitle")), 1),
4750
+ L("b", null, I(_(n)("emptyState.pricingTitle")), 1),
4744
4751
  l[2] || (l[2] = q()),
4745
4752
  U(a.$slots, "pricing", {}, () => [
4746
- q(O(e.pricing), 1)
4753
+ q(I(e.pricing), 1)
4747
4754
  ], !0)
4748
4755
  ])
4749
- ])) : P("", !0)
4756
+ ])) : D("", !0)
4750
4757
  ]),
4751
- a.$slots.message ? (g(), T("div", ms, [
4758
+ a.$slots.message ? (g(), $("div", ms, [
4752
4759
  U(a.$slots, "message", {}, void 0, !0)
4753
- ])) : P("", !0),
4754
- r.value || e.learnMore || a.$slots.actions ? (g(), T("div", gs, [
4760
+ ])) : D("", !0),
4761
+ r.value || e.learnMore || a.$slots.actions ? (g(), $("div", gs, [
4755
4762
  U(a.$slots, "actions", {}, () => [
4756
- r.value ? (g(), N(A(gt), {
4763
+ r.value ? (g(), K(_(gt), {
4757
4764
  key: 0,
4758
4765
  appearance: "primary",
4759
4766
  "data-testid": "entity-create-button",
4760
4767
  size: e.appearance === "secondary" ? "medium" : "large",
4761
4768
  onClick: l[0] || (l[0] = (c) => a.$emit("click:create"))
4762
4769
  }, {
4763
- default: _(() => [
4764
- K(A(Gt)),
4765
- q(" " + O(e.actionButtonText), 1)
4770
+ default: w(() => [
4771
+ R(_(Gt)),
4772
+ q(" " + I(e.actionButtonText), 1)
4766
4773
  ]),
4767
4774
  _: 1
4768
- }, 8, ["size"])) : P("", !0),
4769
- e.learnMore ? (g(), N(A(gt), {
4775
+ }, 8, ["size"])) : D("", !0),
4776
+ e.learnMore ? (g(), K(_(gt), {
4770
4777
  key: 1,
4771
4778
  appearance: "secondary",
4772
4779
  "data-testid": "entity-learn-more-button",
4773
4780
  size: e.appearance === "secondary" ? "medium" : "large",
4774
4781
  onClick: l[1] || (l[1] = (c) => a.$emit("click:learn-more"))
4775
4782
  }, {
4776
- default: _(() => [
4777
- K(A(Jt), { decorative: "" }),
4778
- q(" " + O(A(n)("emptyState.learnMore")), 1)
4783
+ default: w(() => [
4784
+ R(_(Jt), { decorative: "" }),
4785
+ q(" " + I(_(n)("emptyState.learnMore")), 1)
4779
4786
  ]),
4780
4787
  _: 1
4781
- }, 8, ["size"])) : P("", !0)
4788
+ }, 8, ["size"])) : D("", !0)
4782
4789
  ], !0)
4783
- ])) : P("", !0),
4784
- e.features.length ? (g(), T("div", hs, [
4785
- (g(!0), T(ue, null, ce(e.features, (c, d) => (g(), N(s, {
4790
+ ])) : D("", !0),
4791
+ e.features.length ? (g(), $("div", hs, [
4792
+ (g(!0), $(ue, null, ce(e.features, (c, d) => (g(), K(s, {
4786
4793
  key: c,
4787
4794
  class: "entity-empty-state-card"
4788
4795
  }, {
4789
- title: _(() => [
4790
- a.$slots[`feature-${d}-icon`] ? (g(), T("div", ys, [
4796
+ title: w(() => [
4797
+ a.$slots[`feature-${d}-icon`] ? (g(), $("div", ys, [
4791
4798
  U(a.$slots, `feature-${d}-icon`, {}, void 0, !0)
4792
- ])) : P("", !0),
4793
- L("div", vs, O(c.title), 1)
4799
+ ])) : D("", !0),
4800
+ L("div", vs, I(c.title), 1)
4794
4801
  ]),
4795
- default: _(() => [
4802
+ default: w(() => [
4796
4803
  L("div", {
4797
4804
  title: c.description
4798
- }, O(c.description), 9, bs)
4805
+ }, I(c.description), 9, bs)
4799
4806
  ]),
4800
4807
  _: 2
4801
4808
  }, 1024))), 128))
4802
- ])) : P("", !0),
4803
- a.$slots.bottom ? (g(), T("div", ks, [
4809
+ ])) : D("", !0),
4810
+ a.$slots.bottom ? (g(), $("div", ks, [
4804
4811
  U(a.$slots, "bottom", {}, void 0, !0)
4805
- ])) : P("", !0)
4812
+ ])) : D("", !0)
4806
4813
  ]);
4807
4814
  };
4808
4815
  }
4809
- }), Ds = /* @__PURE__ */ le(Cs, [["__scopeId", "data-v-645aae54"]]), xs = { key: 1 }, Us = /* @__PURE__ */ z({
4816
+ }), js = /* @__PURE__ */ le(Cs, [["__scopeId", "data-v-645aae54"]]), xs = { key: 1 }, Us = /* @__PURE__ */ z({
4810
4817
  __name: "TableTags",
4811
4818
  props: {
4812
4819
  /** The tags to display in the table */
@@ -4820,7 +4827,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4820
4827
  }
4821
4828
  },
4822
4829
  setup(e) {
4823
- const t = e, n = $(() => {
4830
+ const t = e, n = S(() => {
4824
4831
  if (Array.isArray(t.tags))
4825
4832
  return t.tags;
4826
4833
  if (typeof t.tags == "string")
@@ -4834,42 +4841,42 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4834
4841
  });
4835
4842
  return (i, r) => {
4836
4843
  var o;
4837
- return ((o = n.value) == null ? void 0 : o.length) > 0 ? (g(), N(A(li), { key: 0 }, {
4838
- default: _(() => [
4839
- (g(!0), T(ue, null, ce(n.value, (a) => (g(), N(A(si), {
4844
+ return ((o = n.value) == null ? void 0 : o.length) > 0 ? (g(), K(_(li), { key: 0 }, {
4845
+ default: w(() => [
4846
+ (g(!0), $(ue, null, ce(n.value, (a) => (g(), K(_(si), {
4840
4847
  key: a,
4841
4848
  "max-width": e.tagMaxWidth,
4842
4849
  onClick: r[0] || (r[0] = Re(() => {
4843
4850
  }, ["stop"]))
4844
4851
  }, {
4845
- default: _(() => [
4846
- q(O(a), 1)
4852
+ default: w(() => [
4853
+ q(I(a), 1)
4847
4854
  ]),
4848
4855
  _: 2
4849
4856
  }, 1032, ["max-width"]))), 128))
4850
4857
  ]),
4851
4858
  _: 1
4852
- })) : (g(), T("span", xs, "-"));
4859
+ })) : (g(), $("span", xs, "-"));
4853
4860
  };
4854
4861
  }
4855
- }), { useAxios: qs, useDeleteUrlBuilder: Hs, useErrors: Vs, useExternalLinkCreator: Ys, useFetchUrlBuilder: Ws, useFetcher: Js, useFetcherCacheKey: Gs, useDebouncedFilter: zs, useStringHelpers: Qs, useHelpers: Zs, useGatewayFeatureSupported: Xs, useTruncationDetector: ec, useValidators: tc, useSchemaProvider: nc, useTableState: ic } = W;
4862
+ }), { useAxios: qs, useDeleteUrlBuilder: Hs, useErrors: Vs, useExternalLinkCreator: Ys, useFetchUrlBuilder: Ws, useFetcher: Js, useFetcherCacheKey: Gs, useDebouncedFilter: zs, useStringHelpers: Qs, useHelpers: Zs, useGatewayFeatureSupported: Xs, useTruncationDetector: ec, useValidators: tc, useSchemaProvider: nc, useTableState: ic } = J;
4856
4863
  export {
4857
4864
  vt as Appearances,
4858
4865
  tl as ConfigCardDisplay,
4859
4866
  nn as ConfigCardItem,
4860
4867
  ae as ConfigurationSchemaSection,
4861
- Y as ConfigurationSchemaType,
4868
+ W as ConfigurationSchemaType,
4862
4869
  cl as DeckCodeBlock,
4863
4870
  Fs as EntityBaseConfigCard,
4864
4871
  Os as EntityBaseForm,
4865
4872
  yi as EntityBaseFormType,
4866
4873
  Bs as EntityBaseTable,
4867
4874
  Ls as EntityDeleteModal,
4868
- Ds as EntityEmptyState,
4875
+ js as EntityEmptyState,
4869
4876
  Rs as EntityFilter,
4870
- Ps as EntityFormBlock,
4877
+ Ds as EntityFormBlock,
4871
4878
  Ms as EntityFormSection,
4872
- js as EntityLink,
4879
+ Ps as EntityLink,
4873
4880
  Ks as EntityToggleModal,
4874
4881
  hi as EntityTypes,
4875
4882
  bi as EventGatewayTypesArray,
@@ -4879,7 +4886,7 @@ export {
4879
4886
  rn as JsonCodeBlock,
4880
4887
  Ns as PermissionsWrapper,
4881
4888
  vi as SupportedEntityDeckArray,
4882
- Se as SupportedEntityType,
4889
+ $e as SupportedEntityType,
4883
4890
  qe as SupportedEntityTypesArray,
4884
4891
  Us as TableTags,
4885
4892
  Gn as TerraformCodeBlock,