@kong-ui-public/entities-consumer-groups 2.6.3 → 2.6.4-pr.1252.5bfaafa7.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,5 +1,5 @@
1
- import { defineComponent as X, ref as O, computed as A, watch as xe, renderSlot as te, createCommentVNode as W, unref as h, onBeforeMount as ut, resolveComponent as P, openBlock as f, createBlock as D, createSlots as Ke, withCtx as b, createElementVNode as B, createVNode as T, createTextVNode as Q, toDisplayString as N, renderList as he, createElementBlock as j, withModifiers as Ct, withDirectives as Se, vShow as $e, Fragment as ve, normalizeClass as Me, withKeys as vr, useSlots as St, useCssVars as gn, inject as br, onMounted as kr, onUnmounted as Cr, resolveDynamicComponent as Le, normalizeStyle as ct, normalizeProps as wr, guardReactiveProps as _r, mergeProps as Ir, pushScopeId as dt, popScopeId as pt, reactive as Vt } from "vue";
2
- import { useRouter as $t } from "vue-router";
1
+ import { defineComponent as X, ref as O, computed as A, watch as xe, renderSlot as te, createCommentVNode as W, unref as h, onBeforeMount as ut, resolveComponent as U, openBlock as f, createBlock as D, createSlots as Le, withCtx as b, createElementVNode as B, createVNode as $, createTextVNode as Z, toDisplayString as N, renderList as he, createElementBlock as M, withModifiers as Ct, withDirectives as Se, vShow as Te, Fragment as ve, normalizeClass as Me, withKeys as vr, useSlots as St, resolveDynamicComponent as Ne, useCssVars as gn, inject as br, onMounted as kr, onUnmounted as Cr, normalizeStyle as ct, normalizeProps as wr, guardReactiveProps as _r, mergeProps as Ir, pushScopeId as dt, popScopeId as pt, reactive as Vt } from "vue";
2
+ import { useRouter as Tt } from "vue-router";
3
3
  import { createI18n as yn, i18nTComponent as hn } from "@kong-ui-public/i18n";
4
4
  import Dt from "axios";
5
5
  import { BadgeMethodAppearances as xr } from "@kong/kongponents";
@@ -98,7 +98,7 @@ const Ar = {
98
98
  }, Sr = {
99
99
  consumer_groups: Ar
100
100
  };
101
- function $r() {
101
+ function Tr() {
102
102
  const e = yn("en-us", Sr);
103
103
  return {
104
104
  i18n: e,
@@ -107,8 +107,8 @@ function $r() {
107
107
  };
108
108
  }
109
109
  const ft = {
110
- useI18n: $r
111
- }, _e = "/api/runtime_groups/{controlPlaneId}", Ie = "/{workspace}", Te = {
110
+ useI18n: Tr
111
+ }, _e = "/api/runtime_groups/{controlPlaneId}", Ie = "/{workspace}", $e = {
112
112
  list: {
113
113
  konnect: {
114
114
  all: `${_e}/consumer_groups`,
@@ -140,8 +140,8 @@ const ft = {
140
140
  }
141
141
  }
142
142
  };
143
- var vn = /* @__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))(vn || {}), rt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(rt || {}), Fe = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Fe || {}), ee = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(ee || {}), ye = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ye || {});
144
- function Tr() {
143
+ var vn = /* @__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))(vn || {}), rt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(rt || {}), qe = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(qe || {}), ee = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(ee || {}), ye = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ye || {});
144
+ function $r() {
145
145
  return {
146
146
  getAxiosInstance: (e = {}) => {
147
147
  try {
@@ -213,8 +213,8 @@ function Or() {
213
213
  }
214
214
  };
215
215
  }
216
- function Tt(e = {}) {
217
- const { getAxiosInstance: n } = Tr();
216
+ function $t(e = {}) {
217
+ const { getAxiosInstance: n } = $r();
218
218
  return {
219
219
  axiosInstance: n(e)
220
220
  };
@@ -299,10 +299,10 @@ const Er = {
299
299
  fetch: "Could not fetch available items",
300
300
  invalid: "Please select a valid value"
301
301
  }
302
- }, Ur = {
302
+ }, Pr = {
303
303
  unexpected: "An unexpected error has occurred",
304
304
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
305
- }, Pr = {
305
+ }, Ur = {
306
306
  enable: {
307
307
  title: "Enable {entityType}",
308
308
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -321,8 +321,8 @@ const Er = {
321
321
  baseConfigCard: Kr,
322
322
  filter: Lr,
323
323
  debouncedFilter: Br,
324
- errors: Ur,
325
- toggleModal: Pr
324
+ errors: Pr,
325
+ toggleModal: Ur
326
326
  };
327
327
  function jt() {
328
328
  const e = yn("en-us", Rr);
@@ -381,7 +381,7 @@ function Vr(e, n, t, r = {
381
381
  searchKeys: ["id"]
382
382
  }) {
383
383
  t || (t = "1000");
384
- const { axiosInstance: a } = Tt({
384
+ const { axiosInstance: a } = $t({
385
385
  headers: e.requestHeaders
386
386
  }), { i18n: { t: i } } = jt(), { debounce: o } = jr(), s = o(async (v) => {
387
387
  await Y(v);
@@ -521,16 +521,16 @@ function kn(e, n) {
521
521
  }
522
522
  function Hr(e, n, t = "data") {
523
523
  var r;
524
- const a = h(n), { axiosInstance: i } = Tt({
524
+ const a = h(n), { axiosInstance: i } = $t({
525
525
  ...e.axiosRequestConfig,
526
526
  headers: { ...(r = e.axiosRequestConfig) == null ? void 0 : r.headers, ...e.requestHeaders }
527
527
  }), o = kn(e, a), s = O({
528
- status: Fe.Idle
528
+ status: qe.Idle
529
529
  });
530
530
  return { fetcher: async (l) => {
531
531
  var u;
532
532
  try {
533
- s.value = { status: Fe.Loading };
533
+ s.value = { status: qe.Loading };
534
534
  let d = o(l);
535
535
  d.includes("filter[name]") && (d = `${d}&page[size]=${l.pageSize}&page[number]=${l.page}`);
536
536
  const c = await i.get(d);
@@ -549,7 +549,7 @@ function Hr(e, n, t = "data") {
549
549
  } : null
550
550
  };
551
551
  return s.value = {
552
- status: Fe.Idle,
552
+ status: qe.Idle,
553
553
  response: k
554
554
  }, k;
555
555
  } catch (d) {
@@ -558,11 +558,11 @@ function Hr(e, n, t = "data") {
558
558
  total: 0
559
559
  };
560
560
  return l.query && (((u = d.response) == null ? void 0 : u.status) === 404 || d.status === 404) ? (s.value = {
561
- status: Fe.NoResults,
561
+ status: qe.NoResults,
562
562
  response: c,
563
563
  error: d.response ? d : { response: d }
564
564
  }, c) : (s.value = {
565
- status: Fe.Error,
565
+ status: qe.Error,
566
566
  response: c,
567
567
  error: d.response ? d : { response: d }
568
568
  }, c);
@@ -640,7 +640,7 @@ function ta(e) {
640
640
  };
641
641
  }
642
642
  const se = {
643
- useAxios: Tt,
643
+ useAxios: $t,
644
644
  useDebouncedFilter: Vr,
645
645
  useDeleteUrlBuilder: Dr,
646
646
  useErrors: zr,
@@ -679,14 +679,14 @@ const se = {
679
679
  var l;
680
680
  return n.isArrayItem ? (l = i.value) != null && l.name ? r(i.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
681
681
  });
682
- return (l, u) => (f(), D(Le(e.isArrayItem ? "fieldset" : "div"), {
682
+ return (l, u) => (f(), D(Ne(e.isArrayItem ? "fieldset" : "div"), {
683
683
  class: Me(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
684
684
  }, {
685
685
  default: b(() => [
686
- e.isArrayItem ? (f(), j("legend", na, [
686
+ e.isArrayItem ? (f(), M("legend", na, [
687
687
  B("b", null, N(s.value), 1)
688
688
  ])) : W("", !0),
689
- (f(!0), j(ve, null, he(Object.keys(o.value), (d, c) => (f(), D(In, {
689
+ (f(!0), M(ve, null, he(Object.keys(o.value), (d, c) => (f(), D(In, {
690
690
  key: `${a.value}-property-${c}`,
691
691
  item: {
692
692
  key: d,
@@ -715,15 +715,15 @@ const se = {
715
715
  setup(e) {
716
716
  const { i18n: { t: n } } = se.useI18n();
717
717
  return (t, r) => {
718
- const a = P("KButton");
719
- return f(), j("div", null, [
720
- T(a, {
718
+ const a = U("KButton");
719
+ return f(), M("div", null, [
720
+ $(a, {
721
721
  appearance: "tertiary",
722
722
  class: "navigation-button",
723
723
  onClick: r[0] || (r[0] = (i) => t.$emit("navigation-click", e.item))
724
724
  }, {
725
725
  default: b(() => [
726
- Q(N(e.item.value || h(n)("baseConfigCard.commonFields.link")), 1)
726
+ Z(N(e.item.value || h(n)("baseConfigCard.commonFields.link")), 1)
727
727
  ]),
728
728
  _: 1
729
729
  })
@@ -741,12 +741,12 @@ const se = {
741
741
  setup(e) {
742
742
  const { i18n: { t: n } } = se.useI18n();
743
743
  return (t, r) => {
744
- const a = P("KBadge");
744
+ const a = U("KBadge");
745
745
  return f(), D(a, {
746
746
  appearance: e.status ? "success" : "neutral"
747
747
  }, {
748
748
  default: b(() => [
749
- Q(N(e.status ? h(n)("baseConfigCard.statusBadge.enabledLabel") : h(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
749
+ Z(N(e.status ? h(n)("baseConfigCard.statusBadge.enabledLabel") : h(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
750
750
  ]),
751
751
  _: 1
752
752
  }, 8, ["appearance"]);
@@ -893,16 +893,16 @@ const se = {
893
893
  }
894
894
  }), m = O(), { isTruncated: p } = se.useTruncationDetector(m);
895
895
  return (_, k) => {
896
- const I = P("KLabel"), R = P("KBadge"), K = P("KCopy"), Y = P("KTooltip");
897
- return f(), j("div", fa, [
896
+ const I = U("KLabel"), R = U("KBadge"), K = U("KCopy"), Y = U("KTooltip");
897
+ return f(), M("div", fa, [
898
898
  B("div", {
899
899
  class: "config-card-details-label",
900
900
  "data-testid": `${e.item.key}-label`
901
901
  }, [
902
902
  te(_.$slots, "label", { item: e.item }, () => [
903
- T(I, { "tooltip-attributes": { maxWidth: "500px" } }, Ke({
903
+ $(I, { "tooltip-attributes": { maxWidth: "500px" } }, Le({
904
904
  default: b(() => [
905
- Q(N(e.item.label) + " ", 1)
905
+ Z(N(e.item.label) + " ", 1)
906
906
  ]),
907
907
  _: 2
908
908
  }, [
@@ -913,7 +913,7 @@ const se = {
913
913
  "data-testid": `${e.item.key}-label-tooltip`
914
914
  }, [
915
915
  te(_.$slots, "label-tooltip", {}, () => [
916
- Q(N(e.item.tooltip), 1)
916
+ Z(N(e.item.tooltip), 1)
917
917
  ], !0)
918
918
  ], 8, ga)
919
919
  ]),
@@ -929,14 +929,14 @@ const se = {
929
929
  te(_.$slots, e.item.key, {
930
930
  rowValue: e.item.value
931
931
  }, () => [
932
- s.value ? (f(), j("div", va, [
933
- (f(), D(Le(c.value.tag), wr(_r(c.value.attrs)), {
932
+ s.value ? (f(), M("div", va, [
933
+ (f(), D(Ne(c.value.tag), wr(_r(c.value.attrs)), {
934
934
  default: b(() => [
935
- c.value.additionalComponent === "KBadge" ? (f(), j("div", {
935
+ c.value.additionalComponent === "KBadge" ? (f(), M("div", {
936
936
  key: 0,
937
937
  "data-testid": `${e.item.key}-badge-tags`
938
938
  }, [
939
- (f(!0), j(ve, null, he(e.item.value, (v, g) => (f(), D(R, {
939
+ (f(!0), M(ve, null, he(e.item.value, (v, g) => (f(), D(R, {
940
940
  key: `${e.item.key}-badge-tag-${g}`,
941
941
  class: "config-badge",
942
942
  "data-testid": `${e.item.key}-badge-tag-${g}`,
@@ -944,43 +944,43 @@ const se = {
944
944
  "truncation-tooltip": ""
945
945
  }, {
946
946
  default: b(() => [
947
- Q(N(v), 1)
947
+ Z(N(v), 1)
948
948
  ]),
949
949
  _: 2
950
950
  }, 1032, ["data-testid", "tooltip"]))), 128))
951
951
  ], 8, ba)) : W("", !0),
952
- c.value.additionalComponent === "KCopy" ? (f(), j("div", {
952
+ c.value.additionalComponent === "KCopy" ? (f(), M("div", {
953
953
  key: 1,
954
954
  class: "copy-uuid-array",
955
955
  "data-testid": `${e.item.key}-copy-uuid-array`
956
956
  }, [
957
- (f(!0), j(ve, null, he(e.item.value, (v, g) => (f(), D(K, Ir(c.value.childAttrs, {
957
+ (f(!0), M(ve, null, he(e.item.value, (v, g) => (f(), D(K, Ir(c.value.childAttrs, {
958
958
  key: `${e.item.key}-copy-uuid-${g}`,
959
959
  "data-testid": `${e.item.key}-copy-uuid-${g}`,
960
960
  text: v
961
961
  }), null, 16, ["data-testid", "text"]))), 128))
962
- ], 8, ka)) : c.value.additionalComponent === "KMethodBadge" ? (f(), j("div", {
962
+ ], 8, ka)) : c.value.additionalComponent === "KMethodBadge" ? (f(), M("div", {
963
963
  key: 2,
964
964
  class: "method-badge-array",
965
965
  "data-testid": `${e.item.key}-badge-methods`
966
966
  }, [
967
- (f(!0), j(ve, null, he(e.item.value, (v, g) => (f(), D(R, {
967
+ (f(!0), M(ve, null, he(e.item.value, (v, g) => (f(), D(R, {
968
968
  key: `${e.item.key}-badge-method-${g}`,
969
969
  appearance: Object.values(h(xr)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
970
970
  class: "config-badge",
971
971
  "data-testid": `${e.item.key}-badge-method-${g}`
972
972
  }, {
973
973
  default: b(() => [
974
- Q(N(v), 1)
974
+ Z(N(v), 1)
975
975
  ]),
976
976
  _: 2
977
977
  }, 1032, ["appearance", "data-testid"]))), 128))
978
978
  ], 8, Ca)) : W("", !0),
979
- c.value.additionalComponent === "JsonCardItem" ? (f(), j("div", {
979
+ c.value.additionalComponent === "JsonCardItem" ? (f(), M("div", {
980
980
  key: 3,
981
981
  "data-testid": `${t.item.key}-json-array-content`
982
982
  }, [
983
- (f(!0), j(ve, null, he(e.item.value, (v, g) => (f(), D(_n, {
983
+ (f(!0), M(ve, null, he(e.item.value, (v, g) => (f(), D(_n, {
984
984
  key: `json-array-item-${g}`,
985
985
  index: g,
986
986
  "is-array-item": "",
@@ -1002,7 +1002,7 @@ const se = {
1002
1002
  ]),
1003
1003
  _: 1
1004
1004
  }, 16))
1005
- ])) : (f(), j("div", {
1005
+ ])) : (f(), M("div", {
1006
1006
  key: 0,
1007
1007
  "data-testid": `${e.item.key}-no-value`
1008
1008
  }, " – ", 8, ha))
@@ -1053,18 +1053,18 @@ const se = {
1053
1053
  return i.length < 2 ? 0 : 41 + (n.requestMethod === "post" ? i[i.length - 1] : i[i.length - 2]).length;
1054
1054
  });
1055
1055
  return (a, i) => {
1056
- const o = P("KBadge"), s = P("KCodeBlock");
1057
- return f(), j("div", xa, [
1058
- n.fetcherUrl ? (f(), j("div", Aa, [
1059
- T(o, {
1056
+ const o = U("KBadge"), s = U("KCodeBlock");
1057
+ return f(), M("div", xa, [
1058
+ n.fetcherUrl ? (f(), M("div", Aa, [
1059
+ $(o, {
1060
1060
  appearance: n.requestMethod
1061
1061
  }, {
1062
1062
  default: b(() => [
1063
- Q(N(n.requestMethod), 1)
1063
+ Z(N(n.requestMethod), 1)
1064
1064
  ]),
1065
1065
  _: 1
1066
1066
  }, 8, ["appearance"]),
1067
- T(s, {
1067
+ $(s, {
1068
1068
  id: "json-endpoint-codeblock",
1069
1069
  code: n.fetcherUrl,
1070
1070
  "is-single-line": "",
@@ -1091,10 +1091,10 @@ function An(e) {
1091
1091
  function Sa(e) {
1092
1092
  return typeof e == "object" && e !== null;
1093
1093
  }
1094
- function $a(e) {
1094
+ function Ta(e) {
1095
1095
  return Array.isArray(e) ? e : An(e) ? [] : [e];
1096
1096
  }
1097
- function Ta(e, n) {
1097
+ function $a(e, n) {
1098
1098
  var t, r, a, i;
1099
1099
  if (n)
1100
1100
  for (i = Object.keys(n), t = 0, r = i.length; t < r; t += 1)
@@ -1110,7 +1110,7 @@ function ja(e, n) {
1110
1110
  function Ma(e) {
1111
1111
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1112
1112
  }
1113
- var Oa = An, Ea = Sa, Na = $a, Fa = ja, qa = Ma, Ka = Ta, ie = {
1113
+ var Oa = An, Ea = Sa, Na = Ta, Fa = ja, qa = Ma, Ka = $a, ie = {
1114
1114
  isNothing: Oa,
1115
1115
  isObject: Ea,
1116
1116
  toArray: Na,
@@ -1174,7 +1174,7 @@ function La(e, n) {
1174
1174
  `;
1175
1175
  return s.replace(/\n$/, "");
1176
1176
  }
1177
- var Ba = La, Ua = [
1177
+ var Ba = La, Pa = [
1178
1178
  "kind",
1179
1179
  "multi",
1180
1180
  "resolve",
@@ -1185,7 +1185,7 @@ var Ba = La, Ua = [
1185
1185
  "representName",
1186
1186
  "defaultStyle",
1187
1187
  "styleAliases"
1188
- ], Pa = [
1188
+ ], Ua = [
1189
1189
  "scalar",
1190
1190
  "sequence",
1191
1191
  "mapping"
@@ -1200,13 +1200,13 @@ function Ra(e) {
1200
1200
  }
1201
1201
  function Va(e, n) {
1202
1202
  if (n = n || {}, Object.keys(n).forEach(function(t) {
1203
- if (Ua.indexOf(t) === -1)
1203
+ if (Pa.indexOf(t) === -1)
1204
1204
  throw new fe('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1205
1205
  }), this.options = n, this.tag = e, this.kind = n.kind || null, this.resolve = n.resolve || function() {
1206
1206
  return !0;
1207
1207
  }, this.construct = n.construct || function(t) {
1208
1208
  return t;
1209
- }, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = Ra(n.styleAliases || null), Pa.indexOf(this.kind) === -1)
1209
+ }, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = Ra(n.styleAliases || null), Ua.indexOf(this.kind) === -1)
1210
1210
  throw new fe('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1211
1211
  }
1212
1212
  var le = Va;
@@ -1266,7 +1266,7 @@ wt.prototype.extend = function(e) {
1266
1266
  var r = Object.create(wt.prototype);
1267
1267
  return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = Zt(r, "implicit"), r.compiledExplicit = Zt(r, "explicit"), r.compiledTypeMap = Da(r.compiledImplicit, r.compiledExplicit), r;
1268
1268
  };
1269
- var $n = wt, Tn = new le("tag:yaml.org,2002:str", {
1269
+ var Tn = wt, $n = new le("tag:yaml.org,2002:str", {
1270
1270
  kind: "scalar",
1271
1271
  construct: function(e) {
1272
1272
  return e !== null ? e : "";
@@ -1281,9 +1281,9 @@ var $n = wt, Tn = new le("tag:yaml.org,2002:str", {
1281
1281
  construct: function(e) {
1282
1282
  return e !== null ? e : {};
1283
1283
  }
1284
- }), On = new $n({
1284
+ }), On = new Tn({
1285
1285
  explicit: [
1286
- Tn,
1286
+ $n,
1287
1287
  jn,
1288
1288
  Mn
1289
1289
  ]
@@ -1520,15 +1520,15 @@ var qn = new le("tag:yaml.org,2002:float", {
1520
1520
  ]
1521
1521
  }), Ln = Kn, Bn = new RegExp(
1522
1522
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1523
- ), Un = new RegExp(
1523
+ ), Pn = new RegExp(
1524
1524
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
1525
1525
  );
1526
1526
  function uo(e) {
1527
- return e === null ? !1 : Bn.exec(e) !== null || Un.exec(e) !== null;
1527
+ return e === null ? !1 : Bn.exec(e) !== null || Pn.exec(e) !== null;
1528
1528
  }
1529
1529
  function co(e) {
1530
1530
  var n, t, r, a, i, o, s, l = 0, u = null, d, c, m;
1531
- if (n = Bn.exec(e), n === null && (n = Un.exec(e)), n === null)
1531
+ if (n = Bn.exec(e), n === null && (n = Pn.exec(e)), n === null)
1532
1532
  throw new Error("Date resolve error");
1533
1533
  if (t = +n[1], r = +n[2] - 1, a = +n[3], !n[4])
1534
1534
  return new Date(Date.UTC(t, r, a));
@@ -1542,7 +1542,7 @@ function co(e) {
1542
1542
  function po(e) {
1543
1543
  return e.toISOString();
1544
1544
  }
1545
- var Pn = new le("tag:yaml.org,2002:timestamp", {
1545
+ var Un = new le("tag:yaml.org,2002:timestamp", {
1546
1546
  kind: "scalar",
1547
1547
  resolve: uo,
1548
1548
  construct: co,
@@ -1663,7 +1663,7 @@ var Gn = new le("tag:yaml.org,2002:set", {
1663
1663
  construct: So
1664
1664
  }), Ot = Ln.extend({
1665
1665
  implicit: [
1666
- Pn,
1666
+ Un,
1667
1667
  Rn
1668
1668
  ],
1669
1669
  explicit: [
@@ -1672,14 +1672,14 @@ var Gn = new le("tag:yaml.org,2002:set", {
1672
1672
  zn,
1673
1673
  Gn
1674
1674
  ]
1675
- }), Oe = Object.prototype.hasOwnProperty, at = 1, Hn = 2, Jn = 3, ot = 4, kt = 1, $o = 2, Qt = 3, To = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, jo = /[\x85\u2028\u2029]/, Mo = /[,\[\]\{\}]/, Wn = /^(?:!|!!|![a-z\-]+!)$/i, Yn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1675
+ }), Oe = Object.prototype.hasOwnProperty, at = 1, Hn = 2, Jn = 3, ot = 4, kt = 1, To = 2, Qt = 3, $o = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, jo = /[\x85\u2028\u2029]/, Mo = /[,\[\]\{\}]/, Wn = /^(?:!|!!|![a-z\-]+!)$/i, Yn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1676
1676
  function Xt(e) {
1677
1677
  return Object.prototype.toString.call(e);
1678
1678
  }
1679
1679
  function we(e) {
1680
1680
  return e === 10 || e === 13;
1681
1681
  }
1682
- function qe(e) {
1682
+ function Ke(e) {
1683
1683
  return e === 9 || e === 32;
1684
1684
  }
1685
1685
  function ge(e) {
@@ -1709,8 +1709,8 @@ function Fo(e) {
1709
1709
  );
1710
1710
  }
1711
1711
  var Zn = new Array(256), Qn = new Array(256);
1712
- for (var Pe = 0; Pe < 256; Pe++)
1713
- Zn[Pe] = en(Pe) ? 1 : 0, Qn[Pe] = en(Pe);
1712
+ for (var Ue = 0; Ue < 256; Ue++)
1713
+ Zn[Ue] = en(Ue) ? 1 : 0, Qn[Ue] = en(Ue);
1714
1714
  function qo(e, n) {
1715
1715
  this.input = e, this.filename = n.filename || null, this.schema = n.schema || Ot, this.onWarning = n.onWarning || null, this.legacy = n.legacy || !1, this.json = n.json || !1, this.listener = n.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 = [];
1716
1716
  }
@@ -1725,7 +1725,7 @@ function Xn(e, n) {
1725
1725
  };
1726
1726
  return t.snippet = Ba(t), new fe(n, t);
1727
1727
  }
1728
- function M(e, n) {
1728
+ function j(e, n) {
1729
1729
  throw Xn(e, n);
1730
1730
  }
1731
1731
  function it(e, n) {
@@ -1734,15 +1734,15 @@ function it(e, n) {
1734
1734
  var tn = {
1735
1735
  YAML: function(e, n, t) {
1736
1736
  var r, a, i;
1737
- e.version !== null && M(e, "duplication of %YAML directive"), t.length !== 1 && M(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), r === null && M(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), i = parseInt(r[2], 10), a !== 1 && M(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = i < 2, i !== 1 && i !== 2 && it(e, "unsupported YAML version of the document");
1737
+ e.version !== null && j(e, "duplication of %YAML directive"), t.length !== 1 && j(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), r === null && j(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), i = parseInt(r[2], 10), a !== 1 && j(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = i < 2, i !== 1 && i !== 2 && it(e, "unsupported YAML version of the document");
1738
1738
  },
1739
1739
  TAG: function(e, n, t) {
1740
1740
  var r, a;
1741
- t.length !== 2 && M(e, "TAG directive accepts exactly two arguments"), r = t[0], a = t[1], Wn.test(r) || M(e, "ill-formed tag handle (first argument) of the TAG directive"), Oe.call(e.tagMap, r) && M(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Yn.test(a) || M(e, "ill-formed tag prefix (second argument) of the TAG directive");
1741
+ t.length !== 2 && j(e, "TAG directive accepts exactly two arguments"), r = t[0], a = t[1], Wn.test(r) || j(e, "ill-formed tag handle (first argument) of the TAG directive"), Oe.call(e.tagMap, r) && j(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Yn.test(a) || j(e, "ill-formed tag prefix (second argument) of the TAG directive");
1742
1742
  try {
1743
1743
  a = decodeURIComponent(a);
1744
1744
  } catch {
1745
- M(e, "tag prefix is malformed: " + a);
1745
+ j(e, "tag prefix is malformed: " + a);
1746
1746
  }
1747
1747
  e.tagMap[r] = a;
1748
1748
  }
@@ -1752,22 +1752,22 @@ function je(e, n, t, r) {
1752
1752
  if (n < t) {
1753
1753
  if (s = e.input.slice(n, t), r)
1754
1754
  for (a = 0, i = s.length; a < i; a += 1)
1755
- o = s.charCodeAt(a), o === 9 || 32 <= o && o <= 1114111 || M(e, "expected valid JSON character");
1755
+ o = s.charCodeAt(a), o === 9 || 32 <= o && o <= 1114111 || j(e, "expected valid JSON character");
1756
1756
  else
1757
- To.test(s) && M(e, "the stream contains non-printable characters");
1757
+ $o.test(s) && j(e, "the stream contains non-printable characters");
1758
1758
  e.result += s;
1759
1759
  }
1760
1760
  }
1761
1761
  function nn(e, n, t, r) {
1762
1762
  var a, i, o, s;
1763
- for (ie.isObject(t) || M(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(t), o = 0, s = a.length; o < s; o += 1)
1763
+ for (ie.isObject(t) || j(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(t), o = 0, s = a.length; o < s; o += 1)
1764
1764
  i = a[o], Oe.call(n, i) || (n[i] = t[i], r[i] = !0);
1765
1765
  }
1766
1766
  function De(e, n, t, r, a, i, o, s, l) {
1767
1767
  var u, d;
1768
1768
  if (Array.isArray(a))
1769
1769
  for (a = Array.prototype.slice.call(a), u = 0, d = a.length; u < d; u += 1)
1770
- Array.isArray(a[u]) && M(e, "nested arrays are not supported inside keys"), typeof a == "object" && Xt(a[u]) === "[object Object]" && (a[u] = "[object Object]");
1770
+ Array.isArray(a[u]) && j(e, "nested arrays are not supported inside keys"), typeof a == "object" && Xt(a[u]) === "[object Object]" && (a[u] = "[object Object]");
1771
1771
  if (typeof a == "object" && Xt(a) === "[object Object]" && (a = "[object Object]"), a = String(a), n === null && (n = {}), r === "tag:yaml.org,2002:merge")
1772
1772
  if (Array.isArray(i))
1773
1773
  for (u = 0, d = i.length; u < d; u += 1)
@@ -1775,7 +1775,7 @@ function De(e, n, t, r, a, i, o, s, l) {
1775
1775
  else
1776
1776
  nn(e, n, i, t);
1777
1777
  else
1778
- !e.json && !Oe.call(t, a) && Oe.call(n, a) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, M(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(n, a, {
1778
+ !e.json && !Oe.call(t, a) && Oe.call(n, a) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, j(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(n, a, {
1779
1779
  configurable: !0,
1780
1780
  enumerable: !0,
1781
1781
  writable: !0,
@@ -1785,11 +1785,11 @@ function De(e, n, t, r, a, i, o, s, l) {
1785
1785
  }
1786
1786
  function Et(e) {
1787
1787
  var n;
1788
- n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : M(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1788
+ n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : j(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1789
1789
  }
1790
1790
  function oe(e, n, t) {
1791
1791
  for (var r = 0, a = e.input.charCodeAt(e.position); a !== 0; ) {
1792
- for (; qe(a); )
1792
+ for (; Ke(a); )
1793
1793
  a === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), a = e.input.charCodeAt(++e.position);
1794
1794
  if (n && a === 35)
1795
1795
  do
@@ -1834,7 +1834,7 @@ function Ko(e, n, t) {
1834
1834
  break;
1835
1835
  }
1836
1836
  }
1837
- s && (je(e, i, o, !1), Nt(e, e.line - l), i = o = e.position, s = !1), qe(p) || (o = e.position + 1), p = e.input.charCodeAt(++e.position);
1837
+ s && (je(e, i, o, !1), Nt(e, e.line - l), i = o = e.position, s = !1), Ke(p) || (o = e.position + 1), p = e.input.charCodeAt(++e.position);
1838
1838
  }
1839
1839
  return je(e, i, o, !1), e.result ? !0 : (e.kind = c, e.result = m, !1);
1840
1840
  }
@@ -1849,8 +1849,8 @@ function Lo(e, n) {
1849
1849
  else
1850
1850
  return !0;
1851
1851
  else
1852
- we(t) ? (je(e, r, a, !0), Nt(e, oe(e, !1, n)), r = a = e.position) : e.position === e.lineStart && mt(e) ? M(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1853
- M(e, "unexpected end of the stream within a single quoted scalar");
1852
+ we(t) ? (je(e, r, a, !0), Nt(e, oe(e, !1, n)), r = a = e.position) : e.position === e.lineStart && mt(e) ? j(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1853
+ j(e, "unexpected end of the stream within a single quoted scalar");
1854
1854
  }
1855
1855
  function Bo(e, n) {
1856
1856
  var t, r, a, i, o, s;
@@ -1866,17 +1866,17 @@ function Bo(e, n) {
1866
1866
  e.result += Qn[s], e.position++;
1867
1867
  else if ((o = Eo(s)) > 0) {
1868
1868
  for (a = o, i = 0; a > 0; a--)
1869
- s = e.input.charCodeAt(++e.position), (o = Oo(s)) >= 0 ? i = (i << 4) + o : M(e, "expected hexadecimal character");
1869
+ s = e.input.charCodeAt(++e.position), (o = Oo(s)) >= 0 ? i = (i << 4) + o : j(e, "expected hexadecimal character");
1870
1870
  e.result += Fo(i), e.position++;
1871
1871
  } else
1872
- M(e, "unknown escape sequence");
1872
+ j(e, "unknown escape sequence");
1873
1873
  t = r = e.position;
1874
1874
  } else
1875
- we(s) ? (je(e, t, r, !0), Nt(e, oe(e, !1, n)), t = r = e.position) : e.position === e.lineStart && mt(e) ? M(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1875
+ we(s) ? (je(e, t, r, !0), Nt(e, oe(e, !1, n)), t = r = e.position) : e.position === e.lineStart && mt(e) ? j(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1876
1876
  }
1877
- M(e, "unexpected end of the stream within a double quoted scalar");
1877
+ j(e, "unexpected end of the stream within a double quoted scalar");
1878
1878
  }
1879
- function Uo(e, n) {
1879
+ function Po(e, n) {
1880
1880
  var t = !0, r, a, i, o = e.tag, s, l = e.anchor, u, d, c, m, p, _ = /* @__PURE__ */ Object.create(null), k, I, R, K;
1881
1881
  if (K = e.input.charCodeAt(e.position), K === 91)
1882
1882
  d = 93, p = !1, s = [];
@@ -1887,11 +1887,11 @@ function Uo(e, n) {
1887
1887
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), K = e.input.charCodeAt(++e.position); K !== 0; ) {
1888
1888
  if (oe(e, !0, n), K = e.input.charCodeAt(e.position), K === d)
1889
1889
  return e.position++, e.tag = o, e.anchor = l, e.kind = p ? "mapping" : "sequence", e.result = s, !0;
1890
- t ? K === 44 && M(e, "expected the node content, but found ','") : M(e, "missed comma between flow collection entries"), I = k = R = null, c = m = !1, K === 63 && (u = e.input.charCodeAt(e.position + 1), ge(u) && (c = m = !0, e.position++, oe(e, !0, n))), r = e.line, a = e.lineStart, i = e.position, ze(e, n, at, !1, !0), I = e.tag, k = e.result, oe(e, !0, n), K = e.input.charCodeAt(e.position), (m || e.line === r) && K === 58 && (c = !0, K = e.input.charCodeAt(++e.position), oe(e, !0, n), ze(e, n, at, !1, !0), R = e.result), p ? De(e, s, _, I, k, R, r, a, i) : c ? s.push(De(e, null, _, I, k, R, r, a, i)) : s.push(k), oe(e, !0, n), K = e.input.charCodeAt(e.position), K === 44 ? (t = !0, K = e.input.charCodeAt(++e.position)) : t = !1;
1890
+ t ? K === 44 && j(e, "expected the node content, but found ','") : j(e, "missed comma between flow collection entries"), I = k = R = null, c = m = !1, K === 63 && (u = e.input.charCodeAt(e.position + 1), ge(u) && (c = m = !0, e.position++, oe(e, !0, n))), r = e.line, a = e.lineStart, i = e.position, ze(e, n, at, !1, !0), I = e.tag, k = e.result, oe(e, !0, n), K = e.input.charCodeAt(e.position), (m || e.line === r) && K === 58 && (c = !0, K = e.input.charCodeAt(++e.position), oe(e, !0, n), ze(e, n, at, !1, !0), R = e.result), p ? De(e, s, _, I, k, R, r, a, i) : c ? s.push(De(e, null, _, I, k, R, r, a, i)) : s.push(k), oe(e, !0, n), K = e.input.charCodeAt(e.position), K === 44 ? (t = !0, K = e.input.charCodeAt(++e.position)) : t = !1;
1891
1891
  }
1892
- M(e, "unexpected end of the stream within a flow collection");
1892
+ j(e, "unexpected end of the stream within a flow collection");
1893
1893
  }
1894
- function Po(e, n) {
1894
+ function Uo(e, n) {
1895
1895
  var t, r, a = kt, i = !1, o = !1, s = n, l = 0, u = !1, d, c;
1896
1896
  if (c = e.input.charCodeAt(e.position), c === 124)
1897
1897
  r = !1;
@@ -1901,15 +1901,15 @@ function Po(e, n) {
1901
1901
  return !1;
1902
1902
  for (e.kind = "scalar", e.result = ""; c !== 0; )
1903
1903
  if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
1904
- kt === a ? a = c === 43 ? Qt : $o : M(e, "repeat of a chomping mode identifier");
1904
+ kt === a ? a = c === 43 ? Qt : To : j(e, "repeat of a chomping mode identifier");
1905
1905
  else if ((d = No(c)) >= 0)
1906
- d === 0 ? M(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? M(e, "repeat of an indentation width identifier") : (s = n + d - 1, o = !0);
1906
+ d === 0 ? j(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? j(e, "repeat of an indentation width identifier") : (s = n + d - 1, o = !0);
1907
1907
  else
1908
1908
  break;
1909
- if (qe(c)) {
1909
+ if (Ke(c)) {
1910
1910
  do
1911
1911
  c = e.input.charCodeAt(++e.position);
1912
- while (qe(c));
1912
+ while (Ke(c));
1913
1913
  if (c === 35)
1914
1914
  do
1915
1915
  c = e.input.charCodeAt(++e.position);
@@ -1928,7 +1928,7 @@ function Po(e, n) {
1928
1928
  `);
1929
1929
  break;
1930
1930
  }
1931
- for (r ? qe(c) ? (u = !0, e.result += ie.repeat(`
1931
+ for (r ? Ke(c) ? (u = !0, e.result += ie.repeat(`
1932
1932
  `, i ? 1 + l : l)) : u ? (u = !1, e.result += ie.repeat(`
1933
1933
  `, l + 1)) : l === 0 ? i && (e.result += " ") : e.result += ie.repeat(`
1934
1934
  `, l) : e.result += ie.repeat(`
@@ -1942,13 +1942,13 @@ function rn(e, n) {
1942
1942
  var t, r = e.tag, a = e.anchor, i = [], o, s = !1, l;
1943
1943
  if (e.firstTabInLine !== -1)
1944
1944
  return !1;
1945
- for (e.anchor !== null && (e.anchorMap[e.anchor] = i), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, M(e, "tab characters must not be used in indentation")), !(l !== 45 || (o = e.input.charCodeAt(e.position + 1), !ge(o)))); ) {
1945
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = i), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), !(l !== 45 || (o = e.input.charCodeAt(e.position + 1), !ge(o)))); ) {
1946
1946
  if (s = !0, e.position++, oe(e, !0, -1) && e.lineIndent <= n) {
1947
1947
  i.push(null), l = e.input.charCodeAt(e.position);
1948
1948
  continue;
1949
1949
  }
1950
1950
  if (t = e.line, ze(e, n, Jn, !1, !0), i.push(e.result), oe(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && l !== 0)
1951
- M(e, "bad indentation of a sequence entry");
1951
+ j(e, "bad indentation of a sequence entry");
1952
1952
  else if (e.lineIndent < n)
1953
1953
  break;
1954
1954
  }
@@ -1959,27 +1959,27 @@ function Ro(e, n, t) {
1959
1959
  if (e.firstTabInLine !== -1)
1960
1960
  return !1;
1961
1961
  for (e.anchor !== null && (e.anchorMap[e.anchor] = c), K = e.input.charCodeAt(e.position); K !== 0; ) {
1962
- if (!I && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, M(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), i = e.line, (K === 63 || K === 58) && ge(r))
1963
- K === 63 ? (I && (De(e, c, m, p, _, null, o, s, l), p = _ = k = null), R = !0, I = !0, a = !0) : I ? (I = !1, a = !0) : M(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, K = r;
1962
+ if (!I && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), i = e.line, (K === 63 || K === 58) && ge(r))
1963
+ K === 63 ? (I && (De(e, c, m, p, _, null, o, s, l), p = _ = k = null), R = !0, I = !0, a = !0) : I ? (I = !1, a = !0) : j(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, K = r;
1964
1964
  else {
1965
1965
  if (o = e.line, s = e.lineStart, l = e.position, !ze(e, t, Hn, !1, !0))
1966
1966
  break;
1967
1967
  if (e.line === i) {
1968
- for (K = e.input.charCodeAt(e.position); qe(K); )
1968
+ for (K = e.input.charCodeAt(e.position); Ke(K); )
1969
1969
  K = e.input.charCodeAt(++e.position);
1970
1970
  if (K === 58)
1971
- K = e.input.charCodeAt(++e.position), ge(K) || M(e, "a whitespace character is expected after the key-value separator within a block mapping"), I && (De(e, c, m, p, _, null, o, s, l), p = _ = k = null), R = !0, I = !1, a = !1, p = e.tag, _ = e.result;
1971
+ K = e.input.charCodeAt(++e.position), ge(K) || j(e, "a whitespace character is expected after the key-value separator within a block mapping"), I && (De(e, c, m, p, _, null, o, s, l), p = _ = k = null), R = !0, I = !1, a = !1, p = e.tag, _ = e.result;
1972
1972
  else if (R)
1973
- M(e, "can not read an implicit mapping pair; a colon is missed");
1973
+ j(e, "can not read an implicit mapping pair; a colon is missed");
1974
1974
  else
1975
1975
  return e.tag = u, e.anchor = d, !0;
1976
1976
  } else if (R)
1977
- M(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1977
+ j(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1978
1978
  else
1979
1979
  return e.tag = u, e.anchor = d, !0;
1980
1980
  }
1981
1981
  if ((e.line === i || e.lineIndent > n) && (I && (o = e.line, s = e.lineStart, l = e.position), ze(e, n, ot, !0, a) && (I ? _ = e.result : k = e.result), I || (De(e, c, m, p, _, k, o, s, l), p = _ = k = null), oe(e, !0, -1), K = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > n) && K !== 0)
1982
- M(e, "bad indentation of a mapping entry");
1982
+ j(e, "bad indentation of a mapping entry");
1983
1983
  else if (e.lineIndent < n)
1984
1984
  break;
1985
1985
  }
@@ -1989,31 +1989,31 @@ function Vo(e) {
1989
1989
  var n, t = !1, r = !1, a, i, o;
1990
1990
  if (o = e.input.charCodeAt(e.position), o !== 33)
1991
1991
  return !1;
1992
- if (e.tag !== null && M(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (t = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (r = !0, a = "!!", o = e.input.charCodeAt(++e.position)) : a = "!", n = e.position, t) {
1992
+ if (e.tag !== null && j(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (t = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (r = !0, a = "!!", o = e.input.charCodeAt(++e.position)) : a = "!", n = e.position, t) {
1993
1993
  do
1994
1994
  o = e.input.charCodeAt(++e.position);
1995
1995
  while (o !== 0 && o !== 62);
1996
- e.position < e.length ? (i = e.input.slice(n, e.position), o = e.input.charCodeAt(++e.position)) : M(e, "unexpected end of the stream within a verbatim tag");
1996
+ e.position < e.length ? (i = e.input.slice(n, e.position), o = e.input.charCodeAt(++e.position)) : j(e, "unexpected end of the stream within a verbatim tag");
1997
1997
  } else {
1998
1998
  for (; o !== 0 && !ge(o); )
1999
- o === 33 && (r ? M(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(n - 1, e.position + 1), Wn.test(a) || M(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), o = e.input.charCodeAt(++e.position);
2000
- i = e.input.slice(n, e.position), Mo.test(i) && M(e, "tag suffix cannot contain flow indicator characters");
1999
+ o === 33 && (r ? j(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(n - 1, e.position + 1), Wn.test(a) || j(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), o = e.input.charCodeAt(++e.position);
2000
+ i = e.input.slice(n, e.position), Mo.test(i) && j(e, "tag suffix cannot contain flow indicator characters");
2001
2001
  }
2002
- i && !Yn.test(i) && M(e, "tag name cannot contain such characters: " + i);
2002
+ i && !Yn.test(i) && j(e, "tag name cannot contain such characters: " + i);
2003
2003
  try {
2004
2004
  i = decodeURIComponent(i);
2005
2005
  } catch {
2006
- M(e, "tag name is malformed: " + i);
2006
+ j(e, "tag name is malformed: " + i);
2007
2007
  }
2008
- return t ? e.tag = i : Oe.call(e.tagMap, a) ? e.tag = e.tagMap[a] + i : a === "!" ? e.tag = "!" + i : a === "!!" ? e.tag = "tag:yaml.org,2002:" + i : M(e, 'undeclared tag handle "' + a + '"'), !0;
2008
+ return t ? e.tag = i : Oe.call(e.tagMap, a) ? e.tag = e.tagMap[a] + i : a === "!" ? e.tag = "!" + i : a === "!!" ? e.tag = "tag:yaml.org,2002:" + i : j(e, 'undeclared tag handle "' + a + '"'), !0;
2009
2009
  }
2010
2010
  function Do(e) {
2011
2011
  var n, t;
2012
2012
  if (t = e.input.charCodeAt(e.position), t !== 38)
2013
2013
  return !1;
2014
- for (e.anchor !== null && M(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !ge(t) && !Ve(t); )
2014
+ for (e.anchor !== null && j(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !ge(t) && !Ve(t); )
2015
2015
  t = e.input.charCodeAt(++e.position);
2016
- return e.position === n && M(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2016
+ return e.position === n && j(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2017
2017
  }
2018
2018
  function zo(e) {
2019
2019
  var n, t, r;
@@ -2021,17 +2021,17 @@ function zo(e) {
2021
2021
  return !1;
2022
2022
  for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !ge(r) && !Ve(r); )
2023
2023
  r = e.input.charCodeAt(++e.position);
2024
- return e.position === n && M(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), Oe.call(e.anchorMap, t) || M(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], oe(e, !0, -1), !0;
2024
+ return e.position === n && j(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), Oe.call(e.anchorMap, t) || j(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], oe(e, !0, -1), !0;
2025
2025
  }
2026
2026
  function ze(e, n, t, r, a) {
2027
2027
  var i, o, s, l = 1, u = !1, d = !1, c, m, p, _, k, I;
2028
2028
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, i = o = s = ot === t || Jn === t, r && oe(e, !0, -1) && (u = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2029
2029
  for (; Vo(e) || Do(e); )
2030
2030
  oe(e, !0, -1) ? (u = !0, s = i, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)) : s = !1;
2031
- if (s && (s = u || a), (l === 1 || ot === t) && (at === t || Hn === t ? k = n : k = n + 1, I = e.position - e.lineStart, l === 1 ? s && (rn(e, I) || Ro(e, I, k)) || Uo(e, k) ? d = !0 : (o && Po(e, k) || Lo(e, k) || Bo(e, k) ? d = !0 : zo(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && M(e, "alias node should not have any properties")) : Ko(e, k, at === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && rn(e, I))), e.tag === null)
2031
+ if (s && (s = u || a), (l === 1 || ot === t) && (at === t || Hn === t ? k = n : k = n + 1, I = e.position - e.lineStart, l === 1 ? s && (rn(e, I) || Ro(e, I, k)) || Po(e, k) ? d = !0 : (o && Uo(e, k) || Lo(e, k) || Bo(e, k) ? d = !0 : zo(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && j(e, "alias node should not have any properties")) : Ko(e, k, at === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && rn(e, I))), e.tag === null)
2032
2032
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2033
2033
  else if (e.tag === "?") {
2034
- for (e.result !== null && e.kind !== "scalar" && M(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, m = e.implicitTypes.length; c < m; c += 1)
2034
+ for (e.result !== null && e.kind !== "scalar" && j(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, m = e.implicitTypes.length; c < m; c += 1)
2035
2035
  if (_ = e.implicitTypes[c], _.resolve(e.result)) {
2036
2036
  e.result = _.construct(e.result), e.tag = _.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2037
2037
  break;
@@ -2045,7 +2045,7 @@ function ze(e, n, t, r, a) {
2045
2045
  _ = p[c];
2046
2046
  break;
2047
2047
  }
2048
- _ || M(e, "unknown tag !<" + e.tag + ">"), e.result !== null && _.kind !== e.kind && M(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + _.kind + '", not "' + e.kind + '"'), _.resolve(e.result, e.tag) ? (e.result = _.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : M(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2048
+ _ || j(e, "unknown tag !<" + e.tag + ">"), e.result !== null && _.kind !== e.kind && j(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + _.kind + '", not "' + e.kind + '"'), _.resolve(e.result, e.tag) ? (e.result = _.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : j(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2049
2049
  }
2050
2050
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2051
2051
  }
@@ -2054,8 +2054,8 @@ function Go(e) {
2054
2054
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (oe(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37)); ) {
2055
2055
  for (i = !0, o = e.input.charCodeAt(++e.position), t = e.position; o !== 0 && !ge(o); )
2056
2056
  o = e.input.charCodeAt(++e.position);
2057
- for (r = e.input.slice(t, e.position), a = [], r.length < 1 && M(e, "directive name must not be less than one character in length"); o !== 0; ) {
2058
- for (; qe(o); )
2057
+ for (r = e.input.slice(t, e.position), a = [], r.length < 1 && j(e, "directive name must not be less than one character in length"); o !== 0; ) {
2058
+ for (; Ke(o); )
2059
2059
  o = e.input.charCodeAt(++e.position);
2060
2060
  if (o === 35) {
2061
2061
  do
@@ -2071,12 +2071,12 @@ function Go(e) {
2071
2071
  }
2072
2072
  o !== 0 && Et(e), Oe.call(tn, r) ? tn[r](e, r, a) : it(e, 'unknown document directive "' + r + '"');
2073
2073
  }
2074
- if (oe(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, oe(e, !0, -1)) : i && M(e, "directives end mark is expected"), ze(e, e.lineIndent - 1, ot, !1, !0), oe(e, !0, -1), e.checkLineBreaks && jo.test(e.input.slice(n, e.position)) && it(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && mt(e)) {
2074
+ if (oe(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, oe(e, !0, -1)) : i && j(e, "directives end mark is expected"), ze(e, e.lineIndent - 1, ot, !1, !0), oe(e, !0, -1), e.checkLineBreaks && jo.test(e.input.slice(n, e.position)) && it(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && mt(e)) {
2075
2075
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, oe(e, !0, -1));
2076
2076
  return;
2077
2077
  }
2078
2078
  if (e.position < e.length - 1)
2079
- M(e, "end of the stream or a document separator is expected");
2079
+ j(e, "end of the stream or a document separator is expected");
2080
2080
  else
2081
2081
  return;
2082
2082
  }
@@ -2084,7 +2084,7 @@ function er(e, n) {
2084
2084
  e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2085
2085
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2086
2086
  var t = new qo(e, n), r = e.indexOf("\0");
2087
- for (r !== -1 && (t.position = r, M(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2087
+ for (r !== -1 && (t.position = r, j(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2088
2088
  t.lineIndent += 1, t.position += 1;
2089
2089
  for (; t.position < t.length - 1; )
2090
2090
  Go(t);
@@ -2333,7 +2333,7 @@ function Si(e, n, t) {
2333
2333
  d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), l = i[o], u = t[l], e.replacer && (u = e.replacer.call(t, l, u)), Ae(e, n, l, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Ae(e, n, u, !1, !1) && (d += e.dump, r += d));
2334
2334
  e.tag = a, e.dump = "{" + r + "}";
2335
2335
  }
2336
- function $i(e, n, t, r) {
2336
+ function Ti(e, n, t, r) {
2337
2337
  var a = "", i = e.tag, o = Object.keys(t), s, l, u, d, c, m;
2338
2338
  if (e.sortKeys === !0)
2339
2339
  o.sort();
@@ -2371,7 +2371,7 @@ function Ae(e, n, t, r, a, i, o) {
2371
2371
  e.dump = "*ref_" + c;
2372
2372
  else {
2373
2373
  if (d && m && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), s === "[object Object]")
2374
- r && Object.keys(e.dump).length !== 0 ? ($i(e, n, e.dump, a), m && (e.dump = "&ref_" + c + e.dump)) : (Si(e, n, e.dump), m && (e.dump = "&ref_" + c + " " + e.dump));
2374
+ r && Object.keys(e.dump).length !== 0 ? (Ti(e, n, e.dump, a), m && (e.dump = "&ref_" + c + e.dump)) : (Si(e, n, e.dump), m && (e.dump = "&ref_" + c + " " + e.dump));
2375
2375
  else if (s === "[object Array]")
2376
2376
  r && e.dump.length !== 0 ? (e.noArrayIndent && !o && n > 0 ? dn(e, n - 1, e.dump, a) : dn(e, n, e.dump, a), m && (e.dump = "&ref_" + c + e.dump)) : (Ai(e, n, e.dump), m && (e.dump = "&ref_" + c + " " + e.dump));
2377
2377
  else if (s === "[object String]")
@@ -2387,7 +2387,7 @@ function Ae(e, n, t, r, a, i, o) {
2387
2387
  }
2388
2388
  return !0;
2389
2389
  }
2390
- function Ti(e, n) {
2390
+ function $i(e, n) {
2391
2391
  var t = [], r = [], a, i;
2392
2392
  for (At(e, t, r), a = 0, i = r.length; a < i; a += 1)
2393
2393
  n.duplicates.push(t[r[a]]);
@@ -2408,7 +2408,7 @@ function At(e, n, t) {
2408
2408
  function ji(e, n) {
2409
2409
  n = n || {};
2410
2410
  var t = new vi(n);
2411
- t.noRefs || Ti(e, t);
2411
+ t.noRefs || $i(e, t);
2412
2412
  var r = e;
2413
2413
  return t.replacer && (r = t.replacer.call({ "": r }, "", r)), Ae(t, 0, r, !0, !0) ? t.dump + `
2414
2414
  ` : "";
@@ -2421,20 +2421,20 @@ function qt(e, n) {
2421
2421
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
2422
2422
  };
2423
2423
  }
2424
- var Ei = le, Ni = $n, Fi = On, qi = Kn, Ki = Ln, Li = Ot, Bi = tr.load, Ui = tr.loadAll, Pi = Oi.dump, Ri = fe, Vi = {
2424
+ var Ei = le, Ni = Tn, Fi = On, qi = Kn, Ki = Ln, Li = Ot, Bi = tr.load, Pi = tr.loadAll, Ui = Oi.dump, Ri = fe, Vi = {
2425
2425
  binary: Vn,
2426
2426
  float: qn,
2427
2427
  map: Mn,
2428
2428
  null: En,
2429
2429
  pairs: zn,
2430
2430
  set: Gn,
2431
- timestamp: Pn,
2431
+ timestamp: Un,
2432
2432
  bool: Nn,
2433
2433
  int: Fn,
2434
2434
  merge: Rn,
2435
2435
  omap: Dn,
2436
2436
  seq: jn,
2437
- str: Tn
2437
+ str: $n
2438
2438
  }, Di = qt("safeLoad", "load"), zi = qt("safeLoadAll", "loadAll"), Gi = qt("safeDump", "dump"), Hi = {
2439
2439
  Type: Ei,
2440
2440
  Schema: Ni,
@@ -2443,8 +2443,8 @@ var Ei = le, Ni = $n, Fi = On, qi = Kn, Ki = Ln, Li = Ot, Bi = tr.load, Ui = tr.
2443
2443
  CORE_SCHEMA: Ki,
2444
2444
  DEFAULT_SCHEMA: Li,
2445
2445
  load: Bi,
2446
- loadAll: Ui,
2447
- dump: Pi,
2446
+ loadAll: Pi,
2447
+ dump: Ui,
2448
2448
  YAMLException: Ri,
2449
2449
  types: Vi,
2450
2450
  safeLoad: Di,
@@ -2466,8 +2466,8 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
2466
2466
  return Object.keys(r).length === 0 && r.constructor === Object ? "" : Hi.dump(r).trim();
2467
2467
  });
2468
2468
  return (r, a) => {
2469
- const i = P("KCodeBlock");
2470
- return f(), j("div", Ji, [
2469
+ const i = U("KCodeBlock");
2470
+ return f(), M("div", Ji, [
2471
2471
  n.yamlRecord ? (f(), D(i, {
2472
2472
  key: 0,
2473
2473
  id: "yaml-codeblock",
@@ -2529,18 +2529,18 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
2529
2529
  const o = JSON.parse(JSON.stringify(n.record));
2530
2530
  return delete o.created_at, delete o.updated_at, o;
2531
2531
  });
2532
- return (o, s) => (f(), j(ve, null, [
2533
- e.format === "structured" ? (f(), j("div", Wi, [
2534
- (f(!0), j(ve, null, he(e.propListTypes, (l) => (f(), j("div", {
2532
+ return (o, s) => (f(), M(ve, null, [
2533
+ e.format === "structured" ? (f(), M("div", Wi, [
2534
+ (f(!0), M(ve, null, he(e.propListTypes, (l) => (f(), M("div", {
2535
2535
  key: `config-card-details-${l}-props`,
2536
2536
  class: Me(`config-card-details-${l}-props`),
2537
2537
  "data-testid": `config-card-details-${l}-props`
2538
2538
  }, [
2539
- l !== "basic" ? (f(), j("div", Zi, N(l === "advanced" ? h(r)("baseConfigCard.sections.advanced") : h(r)("baseConfigCard.sections.plugin")), 1)) : W("", !0),
2540
- (f(!0), j(ve, null, he(e.propertyCollections[l], (u) => (f(), D(In, {
2539
+ l !== "basic" ? (f(), M("div", Zi, N(l === "advanced" ? h(r)("baseConfigCard.sections.advanced") : h(r)("baseConfigCard.sections.plugin")), 1)) : W("", !0),
2540
+ (f(!0), M(ve, null, he(e.propertyCollections[l], (u) => (f(), D(In, {
2541
2541
  key: u.key,
2542
2542
  item: u
2543
- }, Ke({
2543
+ }, Le({
2544
2544
  label: b(() => [
2545
2545
  te(o.$slots, `${u.key}-label`, { row: u }, void 0, !0)
2546
2546
  ]),
@@ -2655,14 +2655,14 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
2655
2655
  lineHeight: "0",
2656
2656
  width: t.value
2657
2657
  }));
2658
- return (a, i) => (f(), D(Le(e.as), {
2658
+ return (a, i) => (f(), D(Ne(e.as), {
2659
2659
  "aria-hidden": e.decorative ? "true" : void 0,
2660
2660
  class: "kui-icon add-icon",
2661
2661
  "data-testid": "kui-icon-wrapper-add-icon",
2662
2662
  style: ct(r.value)
2663
2663
  }, {
2664
2664
  default: b(() => [
2665
- (f(), j("svg", {
2665
+ (f(), M("svg", {
2666
2666
  "aria-hidden": e.decorative ? "true" : void 0,
2667
2667
  "data-testid": "kui-icon-svg-add-icon",
2668
2668
  fill: "none",
@@ -2672,7 +2672,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
2672
2672
  width: "100%",
2673
2673
  xmlns: "http://www.w3.org/2000/svg"
2674
2674
  }, [
2675
- e.title ? (f(), j("title", ns, N(e.title), 1)) : W("", !0),
2675
+ e.title ? (f(), M("title", ns, N(e.title), 1)) : W("", !0),
2676
2676
  rs
2677
2677
  ], 8, ts))
2678
2678
  ]),
@@ -2754,14 +2754,14 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
2754
2754
  lineHeight: "0",
2755
2755
  width: t.value
2756
2756
  }));
2757
- return (a, i) => (f(), D(Le(e.as), {
2757
+ return (a, i) => (f(), D(Ne(e.as), {
2758
2758
  "aria-hidden": e.decorative ? "true" : void 0,
2759
2759
  class: "kui-icon book-icon",
2760
2760
  "data-testid": "kui-icon-wrapper-book-icon",
2761
2761
  style: ct(r.value)
2762
2762
  }, {
2763
2763
  default: b(() => [
2764
- (f(), j("svg", {
2764
+ (f(), M("svg", {
2765
2765
  "aria-hidden": e.decorative ? "true" : void 0,
2766
2766
  "data-testid": "kui-icon-svg-book-icon",
2767
2767
  fill: "none",
@@ -2771,7 +2771,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
2771
2771
  width: "100%",
2772
2772
  xmlns: "http://www.w3.org/2000/svg"
2773
2773
  }, [
2774
- e.title ? (f(), j("title", ls, N(e.title), 1)) : W("", !0),
2774
+ e.title ? (f(), M("title", ls, N(e.title), 1)) : W("", !0),
2775
2775
  us
2776
2776
  ], 8, ss))
2777
2777
  ]),
@@ -2853,14 +2853,14 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
2853
2853
  lineHeight: "0",
2854
2854
  width: t.value
2855
2855
  }));
2856
- return (a, i) => (f(), D(Le(e.as), {
2856
+ return (a, i) => (f(), D(Ne(e.as), {
2857
2857
  "aria-hidden": e.decorative ? "true" : void 0,
2858
2858
  class: "kui-icon chevron-down-icon",
2859
2859
  "data-testid": "kui-icon-wrapper-chevron-down-icon",
2860
2860
  style: ct(r.value)
2861
2861
  }, {
2862
2862
  default: b(() => [
2863
- (f(), j("svg", {
2863
+ (f(), M("svg", {
2864
2864
  "aria-hidden": e.decorative ? "true" : void 0,
2865
2865
  "data-testid": "kui-icon-svg-chevron-down-icon",
2866
2866
  fill: "none",
@@ -2870,7 +2870,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
2870
2870
  width: "100%",
2871
2871
  xmlns: "http://www.w3.org/2000/svg"
2872
2872
  }, [
2873
- e.title ? (f(), j("title", ms, N(e.title), 1)) : W("", !0),
2873
+ e.title ? (f(), M("title", ms, N(e.title), 1)) : W("", !0),
2874
2874
  gs
2875
2875
  ], 8, fs))
2876
2876
  ]),
@@ -2952,14 +2952,14 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
2952
2952
  lineHeight: "0",
2953
2953
  width: t.value
2954
2954
  }));
2955
- return (a, i) => (f(), D(Le(e.as), {
2955
+ return (a, i) => (f(), D(Ne(e.as), {
2956
2956
  "aria-hidden": e.decorative ? "true" : void 0,
2957
2957
  class: "kui-icon close-icon",
2958
2958
  "data-testid": "kui-icon-wrapper-close-icon",
2959
2959
  style: ct(r.value)
2960
2960
  }, {
2961
2961
  default: b(() => [
2962
- (f(), j("svg", {
2962
+ (f(), M("svg", {
2963
2963
  "aria-hidden": e.decorative ? "true" : void 0,
2964
2964
  "data-testid": "kui-icon-svg-close-icon",
2965
2965
  fill: "none",
@@ -2969,14 +2969,17 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
2969
2969
  width: "100%",
2970
2970
  xmlns: "http://www.w3.org/2000/svg"
2971
2971
  }, [
2972
- e.title ? (f(), j("title", ks, N(e.title), 1)) : W("", !0),
2972
+ e.title ? (f(), M("title", ks, N(e.title), 1)) : W("", !0),
2973
2973
  Cs
2974
2974
  ], 8, bs))
2975
2975
  ]),
2976
2976
  _: 1
2977
2977
  }, 8, ["aria-hidden", "style"]));
2978
2978
  }
2979
- }), _s = /* @__PURE__ */ gt(ws, [["__scopeId", "data-v-19f4cbbe"]]), Is = { "data-testid": "config-card-title" }, xs = { class: "config-card-actions" }, As = ["href"], Ss = { class: "config-card-details-section" }, $s = /* @__PURE__ */ X({
2979
+ }), _s = /* @__PURE__ */ gt(ws, [["__scopeId", "data-v-19f4cbbe"]]), Is = {
2980
+ class: "config-card-title",
2981
+ "data-testid": "config-card-title"
2982
+ }, xs = { class: "config-card-actions" }, As = ["href"], Ss = { class: "config-card-details-section" }, Ts = /* @__PURE__ */ X({
2980
2983
  __name: "EntityBaseConfigCard",
2981
2984
  props: {
2982
2985
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3046,6 +3049,10 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3046
3049
  type: String,
3047
3050
  default: "",
3048
3051
  required: !1
3052
+ },
3053
+ titleTag: {
3054
+ type: String,
3055
+ default: "h2"
3049
3056
  }
3050
3057
  },
3051
3058
  emits: ["loading", "fetch:success", "fetch:error"],
@@ -3191,21 +3198,24 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3191
3198
  p.value = !1;
3192
3199
  }
3193
3200
  }), (y, F) => {
3194
- const L = P("KLabel"), x = P("KSelect"), z = P("KButton"), E = P("KSkeleton"), C = P("KEmptyState"), S = P("KCard");
3195
- return f(), D(S, { class: "kong-ui-entity-base-config-card" }, Ke({
3201
+ const L = U("KLabel"), x = U("KSelect"), z = U("KButton"), E = U("KSkeleton"), C = U("KEmptyState"), S = U("KCard");
3202
+ return f(), D(S, {
3203
+ class: "kong-ui-entity-base-config-card",
3204
+ "title-tag": e.titleTag
3205
+ }, Le({
3196
3206
  actions: b(() => [
3197
3207
  B("div", xs, [
3198
3208
  te(y.$slots, "actions", {}, void 0, !0),
3199
- T(L, {
3209
+ $(L, {
3200
3210
  class: "config-format-select-label",
3201
3211
  "data-testid": "config-format-select-label"
3202
3212
  }, {
3203
3213
  default: b(() => [
3204
- Q(N(e.label), 1)
3214
+ Z(N(e.label), 1)
3205
3215
  ]),
3206
3216
  _: 1
3207
3217
  }),
3208
- T(x, {
3218
+ $(x, {
3209
3219
  "data-testid": "select-config-format",
3210
3220
  items: u,
3211
3221
  onChange: c
@@ -3222,7 +3232,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3222
3232
  rel: "noopener",
3223
3233
  target: "_blank"
3224
3234
  }, [
3225
- T(h(ds), { size: h(pa) }, null, 8, ["size"])
3235
+ $(h(ds), { size: h(pa) }, null, 8, ["size"])
3226
3236
  ], 8, As)
3227
3237
  ]),
3228
3238
  _: 1
@@ -3246,14 +3256,14 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3246
3256
  _: 1
3247
3257
  })) : W("", !0),
3248
3258
  B("div", Ss, [
3249
- T(Xi, {
3259
+ $(Xi, {
3250
3260
  config: e.config,
3251
3261
  "fetcher-url": g.value,
3252
3262
  format: d.value,
3253
3263
  "prop-list-types": v.value,
3254
3264
  "property-collections": Y.value,
3255
3265
  record: I.value
3256
- }, Ke({ _: 2 }, [
3266
+ }, Le({ _: 2 }, [
3257
3267
  he(Object.keys(y.$slots), (q) => ({
3258
3268
  name: q,
3259
3269
  fn: b(({ row: G, rowValue: ae }) => [
@@ -3271,18 +3281,18 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3271
3281
  e.hideTitle ? void 0 : {
3272
3282
  name: "title",
3273
3283
  fn: b(() => [
3274
- B("div", Is, [
3284
+ B("span", Is, [
3275
3285
  te(y.$slots, "title", {}, () => [
3276
- Q(N(h(i)("baseConfigCard.title")), 1)
3286
+ Z(N(h(i)("baseConfigCard.title")), 1)
3277
3287
  ], !0)
3278
3288
  ])
3279
3289
  ]),
3280
3290
  key: "0"
3281
3291
  }
3282
- ]), 1024);
3292
+ ]), 1032, ["title-tag"]);
3283
3293
  };
3284
3294
  }
3285
- }), Ts = /* @__PURE__ */ be($s, [["__scopeId", "data-v-491f1797"]]), js = {
3295
+ }), $s = /* @__PURE__ */ be(Ts, [["__scopeId", "data-v-7c5b607d"]]), js = {
3286
3296
  class: "form-actions",
3287
3297
  "data-testid": "form-actions"
3288
3298
  }, Ms = /* @__PURE__ */ X({
@@ -3340,7 +3350,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3340
3350
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3341
3351
  setup(e, { emit: n }) {
3342
3352
  var t;
3343
- const r = n, a = e, i = $t(), { i18n: { t: o } } = se.useI18n(), { getMessageFromError: s } = se.useErrors(), { axiosInstance: l } = se.useAxios({
3353
+ const r = n, a = e, i = Tt(), { i18n: { t: o } } = se.useI18n(), { getMessageFromError: s } = se.useErrors(), { axiosInstance: l } = se.useAxios({
3344
3354
  headers: (t = a.config) == null ? void 0 : t.requestHeaders
3345
3355
  }), u = O(!1), d = O(!1), c = O(""), m = A(() => a.canSubmit === !1 || a.isReadonly), p = O(!1), _ = A(() => {
3346
3356
  var v, g;
@@ -3379,7 +3389,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3379
3389
  u.value = !1;
3380
3390
  }
3381
3391
  }), (v, g) => {
3382
- const y = P("KSkeleton"), F = P("KEmptyState"), L = P("KAlert"), x = P("KButton"), z = P("KTabs"), E = P("KSlideout"), C = P("KCard");
3392
+ const y = U("KSkeleton"), F = U("KEmptyState"), L = U("KAlert"), x = U("KButton"), z = U("KTabs"), E = U("KSlideout"), C = U("KCard");
3383
3393
  return f(), D(C, { class: "kong-ui-entity-base-form" }, {
3384
3394
  default: b(() => [
3385
3395
  u.value ? (f(), D(y, {
@@ -3396,7 +3406,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3396
3406
  B("h3", null, N(c.value), 1)
3397
3407
  ]),
3398
3408
  _: 1
3399
- }, 8, ["action-button-text"])) : (f(), j("form", {
3409
+ }, 8, ["action-button-text"])) : (f(), M("form", {
3400
3410
  key: 2,
3401
3411
  "data-testid": "form-content",
3402
3412
  onReset: Ct(R, ["prevent"]),
@@ -3411,42 +3421,42 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3411
3421
  }, null, 8, ["message"])) : W("", !0),
3412
3422
  B("div", js, [
3413
3423
  te(v.$slots, "form-actions", {}, () => [
3414
- T(x, {
3424
+ $(x, {
3415
3425
  appearance: "tertiary",
3416
3426
  "data-testid": "form-view-configuration",
3417
3427
  onClick: g[0] || (g[0] = (S) => k())
3418
3428
  }, {
3419
3429
  default: b(() => [
3420
- Q(N(h(o)("baseForm.actions.viewConfiguration")), 1)
3430
+ Z(N(h(o)("baseForm.actions.viewConfiguration")), 1)
3421
3431
  ]),
3422
3432
  _: 1
3423
3433
  }),
3424
- T(x, {
3434
+ $(x, {
3425
3435
  appearance: "secondary",
3426
3436
  "data-testid": "form-cancel",
3427
3437
  disabled: e.isReadonly,
3428
3438
  type: "reset"
3429
3439
  }, {
3430
3440
  default: b(() => [
3431
- Q(N(h(o)("baseForm.actions.cancel")), 1)
3441
+ Z(N(h(o)("baseForm.actions.cancel")), 1)
3432
3442
  ]),
3433
3443
  _: 1
3434
3444
  }, 8, ["disabled"]),
3435
- T(x, {
3445
+ $(x, {
3436
3446
  appearance: "primary",
3437
3447
  "data-testid": "form-submit",
3438
3448
  disabled: m.value,
3439
3449
  type: "submit"
3440
3450
  }, {
3441
3451
  default: b(() => [
3442
- Q(N(h(o)("baseForm.actions.save")), 1)
3452
+ Z(N(h(o)("baseForm.actions.save")), 1)
3443
3453
  ]),
3444
3454
  _: 1
3445
3455
  }, 8, ["disabled"])
3446
3456
  ], !0)
3447
3457
  ])
3448
3458
  ], 32)),
3449
- T(E, {
3459
+ $(E, {
3450
3460
  "close-on-blur": !1,
3451
3461
  "data-testid": "form-view-configuration-slideout",
3452
3462
  "has-overlay": !1,
@@ -3457,12 +3467,12 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3457
3467
  }, {
3458
3468
  default: b(() => [
3459
3469
  B("div", null, N(h(o)("baseForm.configuration.message")), 1),
3460
- T(z, {
3470
+ $(z, {
3461
3471
  "data-testid": "form-view-configuration-slideout-tabs",
3462
3472
  tabs: Y.value
3463
3473
  }, {
3464
3474
  json: b(() => [
3465
- T(xn, {
3475
+ $(xn, {
3466
3476
  config: e.config,
3467
3477
  "fetcher-url": _.value,
3468
3478
  "json-record": a.formFields,
@@ -3470,7 +3480,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3470
3480
  }, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
3471
3481
  ]),
3472
3482
  yaml: b(() => [
3473
- T(fr, {
3483
+ $(fr, {
3474
3484
  "yaml-record": a.formFields
3475
3485
  }, null, 8, ["yaml-record"])
3476
3486
  ]),
@@ -3537,14 +3547,14 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3537
3547
  }), Cr(() => {
3538
3548
  p();
3539
3549
  }), (k, I) => {
3540
- const R = P("KTooltip");
3541
- return f(), j("span", {
3550
+ const R = U("KTooltip");
3551
+ return f(), M("span", {
3542
3552
  ref_key: "contentRef",
3543
3553
  ref: l,
3544
3554
  class: "content-wrapper"
3545
3555
  }, [
3546
- a.value ? (f(), j("span", Es, [
3547
- T(R, {
3556
+ a.value ? (f(), M("span", Es, [
3557
+ $(R, {
3548
3558
  "max-width": "300",
3549
3559
  placement: "bottomStart",
3550
3560
  text: _.value ? c.value : ""
@@ -3663,6 +3673,10 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3663
3673
  type: String,
3664
3674
  default: ""
3665
3675
  },
3676
+ titleTag: {
3677
+ type: String,
3678
+ default: "h2"
3679
+ },
3666
3680
  /** default to false, setting to true will suppress the row click event even if "@click:row" is attached */
3667
3681
  disableRowClick: {
3668
3682
  type: Boolean,
@@ -3730,13 +3744,14 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3730
3744
  t.preferencesStorageKey && R(t.preferencesStorageKey, g);
3731
3745
  };
3732
3746
  return (g, y) => {
3733
- const F = P("KIcon"), L = P("KButton"), x = P("KDropdown"), z = P("KTable"), E = P("KCard");
3747
+ const F = U("KIcon"), L = U("KButton"), x = U("KDropdown"), z = U("KTable"), E = U("KCard");
3734
3748
  return f(), D(E, {
3735
3749
  class: "kong-ui-entity-base-table",
3736
- title: e.title
3750
+ title: e.title,
3751
+ "title-tag": e.titleTag
3737
3752
  }, {
3738
3753
  default: b(() => [
3739
- T(z, {
3754
+ $(z, {
3740
3755
  ref_key: "tableRefs",
3741
3756
  ref: d,
3742
3757
  "cache-identifier": o.value,
@@ -3765,15 +3780,15 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3765
3780
  "onRow:click": k.value,
3766
3781
  onSort: y[0] || (y[0] = (C) => I(C)),
3767
3782
  "onUpdate:tablePreferences": v
3768
- }, Ke({
3783
+ }, Le({
3769
3784
  toolbar: b(({ state: C }) => [
3770
3785
  Se(B("div", qs, [
3771
3786
  te(g.$slots, "toolbar-filter", {}, void 0, !0),
3772
- g.$slots["toolbar-button"] ? (f(), j("div", Ks, [
3787
+ g.$slots["toolbar-button"] ? (f(), M("div", Ks, [
3773
3788
  te(g.$slots, "toolbar-button", {}, void 0, !0)
3774
3789
  ])) : W("", !0)
3775
3790
  ], 512), [
3776
- [$e, s(C)]
3791
+ [Te, s(C)]
3777
3792
  ])
3778
3793
  ]),
3779
3794
  actions: b(({ row: C, rowKey: S, rowValue: q }) => [
@@ -3781,7 +3796,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3781
3796
  class: "actions-container",
3782
3797
  "data-testid": C.name
3783
3798
  }, [
3784
- T(x, {
3799
+ $(x, {
3785
3800
  "kpop-attributes": { placement: "bottomEnd" },
3786
3801
  width: e.dropdownMenuWidth
3787
3802
  }, {
@@ -3793,13 +3808,13 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3793
3808
  }, void 0, !0)
3794
3809
  ]),
3795
3810
  default: b(() => [
3796
- T(L, {
3811
+ $(L, {
3797
3812
  class: "actions-trigger",
3798
3813
  "data-testid": "overflow-actions-button",
3799
3814
  size: "small"
3800
3815
  }, {
3801
3816
  icon: b(() => [
3802
- T(F, {
3817
+ $(F, {
3803
3818
  color: h(ua),
3804
3819
  icon: "more",
3805
3820
  size: "16"
@@ -3817,7 +3832,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3817
3832
  he(e.tableHeaders, (C, S) => ({
3818
3833
  name: S,
3819
3834
  fn: b(({ row: q, rowKey: G, rowValue: ae }) => [
3820
- T(Fs, {
3835
+ $(Fs, {
3821
3836
  "key-name": String(S),
3822
3837
  "row-el": c(q)
3823
3838
  }, {
@@ -3827,7 +3842,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3827
3842
  rowKey: G,
3828
3843
  rowValue: ae
3829
3844
  }, () => [
3830
- Q(N(ae), 1)
3845
+ Z(N(ae), 1)
3831
3846
  ], !0)
3832
3847
  ]),
3833
3848
  _: 2
@@ -3837,17 +3852,17 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3837
3852
  e.query ? void 0 : {
3838
3853
  name: "empty-state-action-icon",
3839
3854
  fn: b(() => [
3840
- T(h(os))
3855
+ $(h(os))
3841
3856
  ]),
3842
3857
  key: "0"
3843
3858
  }
3844
3859
  ]), 1032, ["cache-identifier", "disable-pagination-page-jump", "disable-sorting", "empty-state-action-message", "empty-state-action-route", "empty-state-icon-variant", "empty-state-message", "empty-state-title", "enable-client-sort", "error-state-message", "error-state-title", "fetcher", "fetcher-cache-key", "has-error", "headers", "initial-fetcher-params", "is-loading", "pagination-type", "search-input", "onRow:click"])
3845
3860
  ]),
3846
3861
  _: 3
3847
- }, 8, ["title"]);
3862
+ }, 8, ["title", "title-tag"]);
3848
3863
  };
3849
3864
  }
3850
- }), Us = /* @__PURE__ */ be(Bs, [["__scopeId", "data-v-273124cf"]]), Ps = {
3865
+ }), Ps = /* @__PURE__ */ be(Bs, [["__scopeId", "data-v-99908c24"]]), Us = {
3851
3866
  key: 0,
3852
3867
  class: "kong-ui-entity-delete-error"
3853
3868
  }, Rs = {
@@ -3898,7 +3913,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3898
3913
  a("proceed");
3899
3914
  };
3900
3915
  return (l, u) => {
3901
- const d = P("KAlert"), c = P("KPrompt");
3916
+ const d = U("KAlert"), c = U("KPrompt");
3902
3917
  return f(), D(c, {
3903
3918
  "action-button-appearance": "danger",
3904
3919
  "action-button-disabled": e.actionPending,
@@ -3911,21 +3926,21 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3911
3926
  onProceed: s
3912
3927
  }, {
3913
3928
  default: b(() => [
3914
- e.error ? (f(), j("div", Ps, [
3915
- T(d, { appearance: "danger" }, {
3929
+ e.error ? (f(), M("div", Us, [
3930
+ $(d, { appearance: "danger" }, {
3916
3931
  default: b(() => [
3917
- Q(N(e.error), 1)
3932
+ Z(N(e.error), 1)
3918
3933
  ]),
3919
3934
  _: 1
3920
3935
  })
3921
3936
  ])) : W("", !0),
3922
- T(h(t), {
3937
+ $(h(t), {
3923
3938
  class: "message",
3924
3939
  keypath: r.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3925
3940
  tag: "p"
3926
- }, Ke({
3941
+ }, Le({
3927
3942
  entityType: b(() => [
3928
- Q(N(r.entityType), 1)
3943
+ Z(N(r.entityType), 1)
3929
3944
  ]),
3930
3945
  _: 2
3931
3946
  }, [
@@ -3937,7 +3952,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3937
3952
  key: "0"
3938
3953
  } : void 0
3939
3954
  ]), 1032, ["keypath"]),
3940
- r.description || l.$slots.description ? (f(), j("div", Rs, [
3955
+ r.description || l.$slots.description ? (f(), M("div", Rs, [
3941
3956
  te(l.$slots, "description", {}, () => [
3942
3957
  B("p", null, N(r.description), 1)
3943
3958
  ], !0)
@@ -3970,7 +3985,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
3970
3985
  }
3971
3986
  },
3972
3987
  setup(e) {
3973
- return (n, t) => (f(), j("svg", zs, [
3988
+ return (n, t) => (f(), M("svg", zs, [
3974
3989
  B("mask", Gs, [
3975
3990
  B("rect", {
3976
3991
  fill: e.color,
@@ -4056,7 +4071,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4056
4071
  v && (i.value = !1), a("update:modelValue", new URLSearchParams(g).toString());
4057
4072
  };
4058
4073
  return (v, g) => {
4059
- const y = P("KInput"), F = P("KButton"), L = P("KSelect");
4074
+ const y = U("KInput"), F = U("KButton"), L = U("KSelect");
4060
4075
  return e.config.isExactMatch ? (f(), D(y, {
4061
4076
  key: 0,
4062
4077
  autocomplete: "off",
@@ -4067,26 +4082,26 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4067
4082
  "onUpdate:modelValue": m
4068
4083
  }, {
4069
4084
  before: b(() => [
4070
- T(fn)
4085
+ $(fn)
4071
4086
  ]),
4072
4087
  after: b(() => [
4073
- Se(T(h(_s), {
4088
+ Se($(h(_s), {
4074
4089
  class: "kong-ui-entity-filter-clear",
4075
4090
  onClick: p
4076
4091
  }, null, 512), [
4077
- [$e, e.modelValue !== ""]
4092
+ [Te, e.modelValue !== ""]
4078
4093
  ])
4079
4094
  ]),
4080
4095
  _: 1
4081
- }, 8, ["model-value", "placeholder"])) : (f(), j("div", Ys, [
4082
- T(F, {
4096
+ }, 8, ["model-value", "placeholder"])) : (f(), M("div", Ys, [
4097
+ $(F, {
4083
4098
  appearance: "tertiary",
4084
4099
  "data-testid": "filter-button",
4085
4100
  onClick: d
4086
4101
  }, {
4087
4102
  default: b(() => [
4088
- T(fn),
4089
- Q(" " + N(h(t)("filter.filterButtonText")) + " " + N(l.value.length > 0 ? `(${l.value.length})` : ""), 1)
4103
+ $(fn),
4104
+ Z(" " + N(h(t)("filter.filterButtonText")) + " " + N(l.value.length > 0 ? `(${l.value.length})` : ""), 1)
4090
4105
  ]),
4091
4106
  _: 1
4092
4107
  }),
@@ -4094,12 +4109,12 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4094
4109
  class: "kong-ui-entity-filter-backdrop",
4095
4110
  onClick: d
4096
4111
  }, null, 512), [
4097
- [$e, i.value]
4112
+ [Te, i.value]
4098
4113
  ]),
4099
4114
  Se(B("div", Zs, [
4100
- (f(!0), j(ve, null, he(u.value, (x) => {
4115
+ (f(!0), M(ve, null, he(u.value, (x) => {
4101
4116
  var z, E;
4102
- return f(), j("div", {
4117
+ return f(), M("div", {
4103
4118
  key: x.value,
4104
4119
  class: "kong-ui-entity-filter-menu-item",
4105
4120
  "data-testid": x.value
@@ -4111,11 +4126,11 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4111
4126
  onClick: (C) => c(x.value),
4112
4127
  onKeydown: vr((C) => c(x.value), ["enter"])
4113
4128
  }, [
4114
- Q(N(x.label) + " ", 1),
4129
+ Z(N(x.label) + " ", 1),
4115
4130
  Se(B("span", el, null, 512), [
4116
- [$e, l.value.includes(x.value)]
4131
+ [Te, l.value.includes(x.value)]
4117
4132
  ]),
4118
- T(h(hs), {
4133
+ $(h(hs), {
4119
4134
  class: Me(["menu-item-expand-icon", { expanded: s.value.has(x.value) }]),
4120
4135
  color: h(ca)
4121
4136
  }, null, 8, ["class", "color"])
@@ -4142,50 +4157,50 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4142
4157
  type: I(x.value)
4143
4158
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4144
4159
  ], 512), [
4145
- [$e, s.value.has(x.value)]
4160
+ [Te, s.value.has(x.value)]
4146
4161
  ]),
4147
4162
  Se(B("div", rl, [
4148
- T(F, {
4163
+ $(F, {
4149
4164
  appearance: "tertiary",
4150
4165
  "data-testid": "apply-filter",
4151
4166
  size: "small",
4152
4167
  onClick: g[0] || (g[0] = (C) => Y(!0))
4153
4168
  }, {
4154
4169
  default: b(() => [
4155
- Q(N(h(t)("filter.applyButtonText")), 1)
4170
+ Z(N(h(t)("filter.applyButtonText")), 1)
4156
4171
  ]),
4157
4172
  _: 1
4158
4173
  }),
4159
- T(F, {
4174
+ $(F, {
4160
4175
  appearance: "tertiary",
4161
4176
  "data-testid": "clear-filter",
4162
4177
  size: "small",
4163
4178
  onClick: (C) => R(x.value)
4164
4179
  }, {
4165
4180
  default: b(() => [
4166
- Q(N(h(t)("filter.clearButtonText")), 1)
4181
+ Z(N(h(t)("filter.clearButtonText")), 1)
4167
4182
  ]),
4168
4183
  _: 2
4169
4184
  }, 1032, ["onClick"])
4170
4185
  ], 512), [
4171
- [$e, s.value.has(x.value)]
4186
+ [Te, s.value.has(x.value)]
4172
4187
  ])
4173
4188
  ], 8, Qs);
4174
4189
  }), 128)),
4175
4190
  B("div", al, [
4176
- T(F, {
4191
+ $(F, {
4177
4192
  appearance: "tertiary",
4178
4193
  size: "small",
4179
4194
  onClick: K
4180
4195
  }, {
4181
4196
  default: b(() => [
4182
- Q(N(h(t)("filter.clearAllButtonText")), 1)
4197
+ Z(N(h(t)("filter.clearAllButtonText")), 1)
4183
4198
  ]),
4184
4199
  _: 1
4185
4200
  })
4186
4201
  ])
4187
4202
  ], 512), [
4188
- [$e, i.value]
4203
+ [Te, i.value]
4189
4204
  ])
4190
4205
  ]));
4191
4206
  };
@@ -4221,15 +4236,12 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4221
4236
  }) : W("", !0);
4222
4237
  }
4223
4238
  }), sl = { class: "form-section-wrapper" }, ll = {
4224
- key: 0,
4225
- class: "form-section-title"
4226
- }, ul = {
4227
4239
  key: 1,
4228
4240
  class: "form-section-description"
4229
- }, cl = {
4241
+ }, ul = {
4230
4242
  key: 2,
4231
4243
  class: "form-section-footer"
4232
- }, dl = { class: "form-section-content" }, pl = /* @__PURE__ */ X({
4244
+ }, cl = { class: "form-section-content" }, dl = /* @__PURE__ */ X({
4233
4245
  __name: "EntityFormSection",
4234
4246
  props: {
4235
4247
  title: {
@@ -4251,38 +4263,50 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4251
4263
  hideInfoHeader: {
4252
4264
  type: Boolean,
4253
4265
  default: !1
4266
+ },
4267
+ titleTag: {
4268
+ type: String,
4269
+ default: "h2"
4254
4270
  }
4255
4271
  },
4256
4272
  setup(e) {
4257
4273
  const n = St();
4258
- return (t, r) => (f(), j("fieldset", {
4274
+ return (t, r) => (f(), M("fieldset", {
4259
4275
  class: Me(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4260
4276
  }, [
4261
4277
  B("div", sl, [
4262
- e.hideInfoHeader ? W("", !0) : (f(), j("div", {
4278
+ e.hideInfoHeader ? W("", !0) : (f(), M("div", {
4263
4279
  key: 0,
4264
4280
  class: Me(["form-section-info", { sticky: e.stickyInfoHeader }])
4265
4281
  }, [
4266
- e.title ? (f(), j("h4", ll, N(e.title), 1)) : W("", !0),
4267
- e.description || h(n).description ? (f(), j("div", ul, [
4282
+ e.title ? (f(), D(Ne(e.titleTag), {
4283
+ key: 0,
4284
+ class: "form-section-title"
4285
+ }, {
4286
+ default: b(() => [
4287
+ Z(N(e.title), 1)
4288
+ ]),
4289
+ _: 1
4290
+ })) : W("", !0),
4291
+ e.description || h(n).description ? (f(), M("div", ll, [
4268
4292
  te(t.$slots, "description", {}, () => [
4269
4293
  B("p", null, N(e.description), 1)
4270
4294
  ], !0)
4271
4295
  ])) : W("", !0),
4272
- h(n).footer ? (f(), j("div", cl, [
4296
+ h(n).footer ? (f(), M("div", ul, [
4273
4297
  te(t.$slots, "footer", {}, void 0, !0)
4274
4298
  ])) : W("", !0)
4275
4299
  ], 2)),
4276
- B("div", dl, [
4300
+ B("div", cl, [
4277
4301
  te(t.$slots, "default", {}, void 0, !0)
4278
4302
  ])
4279
4303
  ])
4280
4304
  ], 2));
4281
4305
  }
4282
- }), mn = /* @__PURE__ */ be(pl, [["__scopeId", "data-v-3565daa7"]]), { useAxios: Kt, useDeleteUrlBuilder: fl, useErrors: ml, useExternalLinkCreator: ql, useFetchUrlBuilder: Kl, useFetcher: gl, useDebouncedFilter: mr, useStringHelpers: Ll, useHelpers: Bl, useGatewayFeatureSupported: Ul, useTruncationDetector: Pl } = se, yl = { class: "add-to-group-form-container" }, hl = { class: "add-to-group-cta-text" }, vl = {
4306
+ }), mn = /* @__PURE__ */ be(dl, [["__scopeId", "data-v-4bb31634"]]), { useAxios: Kt, useDeleteUrlBuilder: pl, useErrors: fl, useExternalLinkCreator: Fl, useFetchUrlBuilder: ql, useFetcher: ml, useDebouncedFilter: mr, useStringHelpers: Kl, useHelpers: Ll, useGatewayFeatureSupported: Bl, useTruncationDetector: Pl } = se, gl = { class: "add-to-group-form-container" }, yl = { class: "add-to-group-cta-text" }, hl = {
4283
4307
  key: 0,
4284
4308
  class: "kong-ui-entity-add-to-groups-error"
4285
- }, bl = { key: 0 }, kl = /* @__PURE__ */ X({
4309
+ }, vl = { key: 0 }, bl = /* @__PURE__ */ X({
4286
4310
  __name: "AddToGroupModal",
4287
4311
  props: {
4288
4312
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4311,7 +4335,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4311
4335
  results: m
4312
4336
  } = mr(
4313
4337
  r.config,
4314
- Te.list[r.config.app].all,
4338
+ $e.list[r.config.app].all,
4315
4339
  "",
4316
4340
  {
4317
4341
  fetchedItemsKey: "data",
@@ -4348,7 +4372,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4348
4372
  }
4349
4373
  }, F = A(() => {
4350
4374
  var S, q, G, ae;
4351
- let C = `${r.config.apiBaseUrl}${Te.list[r.config.app].forConsumer}`;
4375
+ let C = `${r.config.apiBaseUrl}${$e.list[r.config.app].forConsumer}`;
4352
4376
  return r.config.app === "konnect" ? C = C.replace(/{controlPlaneId}/gi, ((S = r.config) == null ? void 0 : S.controlPlaneId) || "").replace(/{consumerId}/gi, ((q = r.config) == null ? void 0 : q.consumerId) || "") : r.config.app === "kongManager" && (C = C.replace(/\/{workspace}/gi, (G = r.config) != null && G.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((ae = r.config) == null ? void 0 : ae.consumerId) || "")), C;
4353
4377
  }), L = async (C) => {
4354
4378
  const S = {
@@ -4372,7 +4396,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4372
4396
  }, { immediate: !0, deep: !0 }), xe(() => r.visible, () => {
4373
4397
  r.visible && c();
4374
4398
  }, { immediate: !0 }), (C, S) => {
4375
- const q = P("KMultiselect"), G = P("KAlert"), ae = P("KPrompt");
4399
+ const q = U("KMultiselect"), G = U("KAlert"), ae = U("KPrompt");
4376
4400
  return f(), D(ae, {
4377
4401
  "action-button-disabled": v.value,
4378
4402
  class: "kong-ui-entities-add-to-groups-modal",
@@ -4383,9 +4407,9 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4383
4407
  onProceed: y
4384
4408
  }, {
4385
4409
  default: b(() => [
4386
- B("div", yl, [
4387
- B("p", hl, N(h(t)("consumer_groups.consumers.add.ctaText")), 1),
4388
- T(q, {
4410
+ B("div", gl, [
4411
+ B("p", yl, N(h(t)("consumer_groups.consumers.add.ctaText")), 1),
4412
+ $(q, {
4389
4413
  modelValue: o.value,
4390
4414
  "onUpdate:modelValue": S[0] || (S[0] = (ue) => o.value = ue),
4391
4415
  autosuggest: "",
@@ -4400,12 +4424,12 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4400
4424
  width: "100%",
4401
4425
  onQueryChange: h(s)
4402
4426
  }, null, 8, ["modelValue", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly", "onQueryChange"]),
4403
- g.value || p.value || x.value.length ? (f(), j("div", vl, [
4404
- T(G, { appearance: "danger" }, {
4427
+ g.value || p.value || x.value.length ? (f(), M("div", hl, [
4428
+ $(G, { appearance: "danger" }, {
4405
4429
  default: b(() => [
4406
4430
  B("p", null, N(h(t)("consumer_groups.errors.add")), 1),
4407
- x.value.length ? (f(), j("ul", bl, [
4408
- (f(!0), j(ve, null, he(x.value, (ue, Ge) => (f(), j("li", { key: Ge }, N(ue), 1))), 128))
4431
+ x.value.length ? (f(), M("ul", vl, [
4432
+ (f(!0), M(ve, null, he(x.value, (ue, Ge) => (f(), M("li", { key: Ge }, N(ue), 1))), 128))
4409
4433
  ])) : W("", !0),
4410
4434
  B("div", null, N(g.value || p.value), 1)
4411
4435
  ]),
@@ -4423,7 +4447,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4423
4447
  for (const [r, a] of n)
4424
4448
  t[r] = a;
4425
4449
  return t;
4426
- }, Cl = /* @__PURE__ */ Lt(kl, [["__scopeId", "data-v-303b382c"]]), wl = { class: "kong-ui-entities-consumer-groups-list" }, _l = { key: 1 }, Il = /* @__PURE__ */ X({
4450
+ }, kl = /* @__PURE__ */ Lt(bl, [["__scopeId", "data-v-303b382c"]]), Cl = { class: "kong-ui-entities-consumer-groups-list" }, wl = { key: 1 }, _l = /* @__PURE__ */ X({
4427
4451
  __name: "ConsumerGroupList",
4428
4452
  props: {
4429
4453
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4469,85 +4493,85 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4469
4493
  },
4470
4494
  emits: ["error", "copy:success", "copy:error", "delete:success", "add:success", "remove:success"],
4471
4495
  setup(e, { emit: n }) {
4472
- var Pt;
4473
- const t = n, r = e, { i18nT: a, i18n: { t: i } } = ft.useI18n(), o = $t(), { axiosInstance: s } = Kt({
4474
- headers: (Pt = r.config) == null ? void 0 : Pt.requestHeaders
4496
+ var Ut;
4497
+ const t = n, r = e, { i18nT: a, i18n: { t: i } } = ft.useI18n(), o = Tt(), { axiosInstance: s } = Kt({
4498
+ headers: (Ut = r.config) == null ? void 0 : Ut.requestHeaders
4475
4499
  }), l = O(1), u = A(() => !!r.config.consumerId), d = A(
4476
4500
  () => u.value ? "kong-ui-entities-consumer-groups-list-in-consumer-page" : "kong-ui-entities-consumer-groups-list"
4477
4501
  ), c = A(() => r.config.app !== "kongManager" || !!r.config.disableSorting), m = {
4478
4502
  name: { label: i("consumer_groups.list.table_headers.name"), searchable: !0, sortable: !0 }
4479
4503
  };
4480
4504
  r.config.app === "kongManager" && (m.consumers_count = { label: i("consumer_groups.list.table_headers.consumers_count"), searchable: !1, sortable: !1 }), m.tags = { label: i("consumer_groups.list.table_headers.tags"), sortable: !1 };
4481
- const p = m, _ = ($) => ({
4482
- "data-testid": $.username ?? $.custom_id ?? $.id
4505
+ const p = m, _ = (T) => ({
4506
+ "data-testid": T.username ?? T.custom_id ?? T.id
4483
4507
  }), k = A(() => {
4484
4508
  var J, re, me, Ce;
4485
- let $ = `${r.config.apiBaseUrl}${Te.list[r.config.app][u.value ? "forConsumer" : "all"]}`;
4486
- return r.config.app === "konnect" ? $ = $.replace(/{controlPlaneId}/gi, ((J = r.config) == null ? void 0 : J.controlPlaneId) || "").replace(/{consumerId}/gi, ((re = r.config) == null ? void 0 : re.consumerId) || "") : r.config.app === "kongManager" && ($ = $.replace(/\/{workspace}/gi, (me = r.config) != null && me.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((Ce = r.config) == null ? void 0 : Ce.consumerId) || "")), $;
4509
+ let T = `${r.config.apiBaseUrl}${$e.list[r.config.app][u.value ? "forConsumer" : "all"]}`;
4510
+ return r.config.app === "konnect" ? T = T.replace(/{controlPlaneId}/gi, ((J = r.config) == null ? void 0 : J.controlPlaneId) || "").replace(/{consumerId}/gi, ((re = r.config) == null ? void 0 : re.consumerId) || "") : r.config.app === "kongManager" && (T = T.replace(/\/{workspace}/gi, (me = r.config) != null && me.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((Ce = r.config) == null ? void 0 : Ce.consumerId) || "")), T;
4487
4511
  }), I = O(""), R = A(() => {
4488
- const $ = r.config.app === "konnect" || r.config.isExactMatch;
4489
- return $ ? {
4490
- isExactMatch: $,
4512
+ const T = r.config.app === "konnect" || r.config.isExactMatch;
4513
+ return T ? {
4514
+ isExactMatch: T,
4491
4515
  fields: {
4492
4516
  username: m.name,
4493
4517
  id: { label: i("consumer_groups.list.table_headers.id") }
4494
4518
  },
4495
4519
  placeholder: i("consumer_groups.search.placeholder")
4496
4520
  } : {
4497
- isExactMatch: $,
4521
+ isExactMatch: T,
4498
4522
  fields: {
4499
4523
  name: m.name
4500
4524
  },
4501
4525
  schema: r.config.filterSchema
4502
4526
  };
4503
- }), K = A(() => u.value && !r.config.paginatedEndpoint ? "consumer_groups" : void 0), { fetcher: Y, fetcherState: v } = gl(r.config, k.value, K.value), g = () => {
4527
+ }), K = A(() => u.value && !r.config.paginatedEndpoint ? "consumer_groups" : void 0), { fetcher: Y, fetcherState: v } = ml(r.config, k.value, K.value), g = () => {
4504
4528
  I.value = "";
4505
4529
  }, y = () => {
4506
4530
  l.value++;
4507
- }, F = O(null), L = ($, J) => {
4508
- const re = $.id;
4531
+ }, F = O(null), L = (T, J) => {
4532
+ const re = T.id;
4509
4533
  if (!J(re)) {
4510
4534
  t("copy:error", {
4511
- entity: $,
4535
+ entity: T,
4512
4536
  field: "id",
4513
4537
  message: i("consumer_groups.errors.copy")
4514
4538
  });
4515
4539
  return;
4516
4540
  }
4517
4541
  t("copy:success", {
4518
- entity: $,
4542
+ entity: T,
4519
4543
  field: "id",
4520
4544
  message: i("consumer_groups.copy.success", { val: re })
4521
4545
  });
4522
- }, x = ($, J) => {
4523
- const re = JSON.stringify($);
4546
+ }, x = (T, J) => {
4547
+ const re = JSON.stringify(T);
4524
4548
  if (!J(re)) {
4525
4549
  t("copy:error", {
4526
- entity: $,
4550
+ entity: T,
4527
4551
  message: i("consumer_groups.errors.copy")
4528
4552
  });
4529
4553
  return;
4530
4554
  }
4531
4555
  t("copy:success", {
4532
- entity: $,
4556
+ entity: T,
4533
4557
  message: i("consumer_groups.copy.success_brief")
4534
4558
  });
4535
- }, z = async ($) => {
4559
+ }, z = async (T) => {
4536
4560
  var re;
4537
- await ((re = r.canRetrieve) == null ? void 0 : re.call(r, $)) && o.push(r.config.getViewRoute($.id));
4538
- }, E = ($) => ({
4561
+ await ((re = r.canRetrieve) == null ? void 0 : re.call(r, T)) && o.push(r.config.getViewRoute(T.id));
4562
+ }, E = (T) => ({
4539
4563
  label: i("consumer_groups.actions.view"),
4540
- to: r.config.getViewRoute($)
4541
- }), C = ($) => ({
4564
+ to: r.config.getViewRoute(T)
4565
+ }), C = (T) => ({
4542
4566
  label: i("consumer_groups.actions.edit"),
4543
- to: r.config.getEditRoute($)
4544
- }), S = O(void 0), q = O(!1), G = O(!1), ae = O(""), ue = fl(r.config, k.value), Ge = ($) => {
4545
- S.value = $, q.value = !0;
4567
+ to: r.config.getEditRoute(T)
4568
+ }), S = O(void 0), q = O(!1), G = O(!1), ae = O(""), ue = pl(r.config, k.value), Ge = (T) => {
4569
+ S.value = T, q.value = !0;
4546
4570
  }, Xe = () => {
4547
4571
  q.value = !1;
4548
4572
  }, et = async () => {
4549
- var $, J, re;
4550
- if (($ = S.value) != null && $.id) {
4573
+ var T, J, re;
4574
+ if ((T = S.value) != null && T.id) {
4551
4575
  G.value = !0;
4552
4576
  try {
4553
4577
  await s.delete(ue(S.value.id)), G.value = !1, q.value = !1, l.value++, t("delete:success", S.value);
@@ -4559,39 +4583,39 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4559
4583
  }
4560
4584
  }, Be = O(!1), w = () => {
4561
4585
  Be.value = !0;
4562
- }, U = () => {
4586
+ }, P = () => {
4563
4587
  Be.value = !1;
4564
- }, ne = ($, J) => {
4565
- J || U(), l.value++, t("add:success", $);
4588
+ }, ne = (T, J) => {
4589
+ J || P(), l.value++, t("add:success", T);
4566
4590
  }, H = () => {
4567
4591
  u.value && w();
4568
- }, V = O(void 0), ce = O(!1), ke = O(""), de = ($) => {
4569
- V.value = $, ce.value = !0;
4570
- }, Ne = () => {
4592
+ }, V = O(void 0), ce = O(!1), ke = O(""), de = (T) => {
4593
+ V.value = T, ce.value = !0;
4594
+ }, Fe = () => {
4571
4595
  ce.value = !1, V.value = void 0;
4572
4596
  }, tt = A(() => {
4573
4597
  var J, re, me, Ce;
4574
- let $ = `${r.config.apiBaseUrl}${Te.list[r.config.app].oneForConsumer}`;
4575
- return r.config.app === "konnect" ? $ = $.replace(/{controlPlaneId}/gi, ((J = r.config) == null ? void 0 : J.controlPlaneId) || "").replace(/{consumerId}/gi, ((re = r.config) == null ? void 0 : re.consumerId) || "") : r.config.app === "kongManager" && ($ = $.replace(/\/{workspace}/gi, (me = r.config) != null && me.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((Ce = r.config) == null ? void 0 : Ce.consumerId) || "")), $;
4598
+ let T = `${r.config.apiBaseUrl}${$e.list[r.config.app].oneForConsumer}`;
4599
+ return r.config.app === "konnect" ? T = T.replace(/{controlPlaneId}/gi, ((J = r.config) == null ? void 0 : J.controlPlaneId) || "").replace(/{consumerId}/gi, ((re = r.config) == null ? void 0 : re.consumerId) || "") : r.config.app === "kongManager" && (T = T.replace(/\/{workspace}/gi, (me = r.config) != null && me.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((Ce = r.config) == null ? void 0 : Ce.consumerId) || "")), T;
4576
4600
  }), Bt = O(!1), gr = async () => {
4577
4601
  if (V.value) {
4578
4602
  Bt.value = !0;
4579
4603
  try {
4580
- const $ = tt.value.replace(/{consumerGroupId}/gi, V.value.id);
4581
- await s.delete($), t("remove:success", V.value), Ne(), l.value++;
4582
- } catch ($) {
4583
- ke.value = $.message || i("consumer_groups.errors.delete"), t("error", $);
4604
+ const T = tt.value.replace(/{consumerGroupId}/gi, V.value.id);
4605
+ await s.delete(T), t("remove:success", V.value), Fe(), l.value++;
4606
+ } catch (T) {
4607
+ ke.value = T.message || i("consumer_groups.errors.delete"), t("error", T);
4584
4608
  } finally {
4585
4609
  Bt.value = !1;
4586
4610
  }
4587
4611
  }
4588
- }, Ut = O(!0);
4589
- xe(v, ($) => {
4612
+ }, Pt = O(!0);
4613
+ xe(v, (T) => {
4590
4614
  var J, re, me, Ce;
4591
- if (Array.isArray((J = $ == null ? void 0 : $.response) == null ? void 0 : J.data) && (Ut.value = $.response.data.length > 0), $.status === Fe.Error) {
4615
+ if (Array.isArray((J = T == null ? void 0 : T.response) == null ? void 0 : J.data) && (Pt.value = T.response.data.length > 0), T.status === qe.Error) {
4592
4616
  F.value = {
4593
4617
  title: i("consumer_groups.errors.general")
4594
- }, (Ce = (me = (re = $.error) == null ? void 0 : re.response) == null ? void 0 : me.data) != null && Ce.message && (F.value.message = $.error.response.data.message), t("error", $.error);
4618
+ }, (Ce = (me = (re = T.error) == null ? void 0 : re.response) == null ? void 0 : me.data) != null && Ce.message && (F.value.message = T.error.response.data.message), t("error", T.error);
4595
4619
  return;
4596
4620
  }
4597
4621
  F.value = null;
@@ -4604,10 +4628,10 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4604
4628
  });
4605
4629
  return ut(async () => {
4606
4630
  await r.canCreate() && (yt.value.title = u.value ? i("consumer_groups.list.empty_state.title_for_consumer") : i("consumer_groups.list.empty_state.title"), yt.value.ctaText = u.value ? i("consumer_groups.actions.add_to_group") : i("consumer_groups.actions.create"));
4607
- }), ($, J) => {
4608
- const re = P("KButton"), me = P("KBadge"), Ce = P("KTruncate"), He = P("KDropdownItem"), Rt = P("KClipboardProvider"), yr = P("KPrompt");
4609
- return f(), j("div", wl, [
4610
- T(h(Us), {
4631
+ }), (T, J) => {
4632
+ const re = U("KButton"), me = U("KBadge"), Ce = U("KTruncate"), He = U("KDropdownItem"), Rt = U("KClipboardProvider"), yr = U("KPrompt");
4633
+ return f(), M("div", Cl, [
4634
+ $(h(Ps), {
4611
4635
  "cache-identifier": e.cacheIdentifier,
4612
4636
  "disable-pagination": u.value && !e.config.paginatedEndpoint,
4613
4637
  "disable-pagination-page-jump": "",
@@ -4624,7 +4648,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4624
4648
  "table-headers": h(p),
4625
4649
  "use-action-outside": e.useActionOutside,
4626
4650
  onClearSearchInput: g,
4627
- "onClick:row": J[3] || (J[3] = (Z) => z(Z)),
4651
+ "onClick:row": J[3] || (J[3] = (Q) => z(Q)),
4628
4652
  onEmptyStateCtaClicked: H,
4629
4653
  onSort: y
4630
4654
  }, {
@@ -4632,20 +4656,20 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4632
4656
  u.value ? W("", !0) : (f(), D(h(il), {
4633
4657
  key: 0,
4634
4658
  modelValue: I.value,
4635
- "onUpdate:modelValue": J[0] || (J[0] = (Z) => I.value = Z),
4659
+ "onUpdate:modelValue": J[0] || (J[0] = (Q) => I.value = Q),
4636
4660
  config: R.value
4637
4661
  }, null, 8, ["modelValue", "config"]))
4638
4662
  ]),
4639
4663
  "toolbar-button": b(() => [
4640
- (f(), D(Le(e.useActionOutside ? "Teleport" : "div"), {
4664
+ (f(), D(Ne(e.useActionOutside ? "Teleport" : "div"), {
4641
4665
  to: e.useActionOutside ? "#kong-ui-app-page-header-action-button" : void 0
4642
4666
  }, {
4643
4667
  default: b(() => [
4644
- T(h(nt), {
4668
+ $(h(nt), {
4645
4669
  "auth-function": () => e.canCreate()
4646
4670
  }, {
4647
4671
  default: b(() => [
4648
- Se(T(re, {
4672
+ Se($(re, {
4649
4673
  appearance: "primary",
4650
4674
  "data-testid": "toolbar-add-consumer-group",
4651
4675
  icon: "plus",
@@ -4654,11 +4678,11 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4654
4678
  onClick: J[1] || (J[1] = () => e.config.consumerId ? w() : void 0)
4655
4679
  }, {
4656
4680
  default: b(() => [
4657
- Q(N(e.config.consumerId ? h(i)("consumer_groups.actions.add_to_group") : h(i)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4681
+ Z(N(e.config.consumerId ? h(i)("consumer_groups.actions.add_to_group") : h(i)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4658
4682
  ]),
4659
4683
  _: 1
4660
4684
  }, 8, ["to"]), [
4661
- [$e, Ut.value]
4685
+ [Te, Pt.value]
4662
4686
  ])
4663
4687
  ]),
4664
4688
  _: 1
@@ -4667,93 +4691,93 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4667
4691
  _: 1
4668
4692
  }, 8, ["to"]))
4669
4693
  ]),
4670
- name: b(({ rowValue: Z }) => [
4671
- B("b", null, N(Z ?? "-"), 1)
4694
+ name: b(({ rowValue: Q }) => [
4695
+ B("b", null, N(Q ?? "-"), 1)
4672
4696
  ]),
4673
- consumers_count: b(({ rowValue: Z }) => [
4674
- Q(N(Z ?? "-"), 1)
4697
+ consumers_count: b(({ rowValue: Q }) => [
4698
+ Z(N(Q ?? "-"), 1)
4675
4699
  ]),
4676
- tags: b(({ rowValue: Z }) => [
4677
- (Z == null ? void 0 : Z.length) > 0 ? (f(), D(Ce, { key: 0 }, {
4700
+ tags: b(({ rowValue: Q }) => [
4701
+ (Q == null ? void 0 : Q.length) > 0 ? (f(), D(Ce, { key: 0 }, {
4678
4702
  default: b(() => [
4679
- (f(!0), j(ve, null, he(Z, (Ue) => (f(), D(me, {
4680
- key: Ue,
4703
+ (f(!0), M(ve, null, he(Q, (Pe) => (f(), D(me, {
4704
+ key: Pe,
4681
4705
  onClick: J[2] || (J[2] = Ct(() => {
4682
4706
  }, ["stop"]))
4683
4707
  }, {
4684
4708
  default: b(() => [
4685
- Q(N(Ue), 1)
4709
+ Z(N(Pe), 1)
4686
4710
  ]),
4687
4711
  _: 2
4688
4712
  }, 1024))), 128))
4689
4713
  ]),
4690
4714
  _: 2
4691
- }, 1024)) : (f(), j("span", _l, "-"))
4715
+ }, 1024)) : (f(), M("span", wl, "-"))
4692
4716
  ]),
4693
- actions: b(({ row: Z }) => [
4694
- T(Rt, null, {
4695
- default: b(({ copyToClipboard: Ue }) => [
4696
- T(He, {
4717
+ actions: b(({ row: Q }) => [
4718
+ $(Rt, null, {
4719
+ default: b(({ copyToClipboard: Pe }) => [
4720
+ $(He, {
4697
4721
  "data-testid": "action-entity-copy-id",
4698
- onClick: (hr) => L(Z, Ue)
4722
+ onClick: (hr) => L(Q, Pe)
4699
4723
  }, {
4700
4724
  default: b(() => [
4701
- Q(N(h(i)("consumer_groups.actions.copy_id")), 1)
4725
+ Z(N(h(i)("consumer_groups.actions.copy_id")), 1)
4702
4726
  ]),
4703
4727
  _: 2
4704
4728
  }, 1032, ["onClick"])
4705
4729
  ]),
4706
4730
  _: 2
4707
4731
  }, 1024),
4708
- T(Rt, null, {
4709
- default: b(({ copyToClipboard: Ue }) => [
4710
- T(He, {
4732
+ $(Rt, null, {
4733
+ default: b(({ copyToClipboard: Pe }) => [
4734
+ $(He, {
4711
4735
  "data-testid": "action-entity-copy-json",
4712
- onClick: (hr) => x(Z, Ue)
4736
+ onClick: (hr) => x(Q, Pe)
4713
4737
  }, {
4714
4738
  default: b(() => [
4715
- Q(N(h(i)("consumer_groups.actions.copy_json")), 1)
4739
+ Z(N(h(i)("consumer_groups.actions.copy_json")), 1)
4716
4740
  ]),
4717
4741
  _: 2
4718
4742
  }, 1032, ["onClick"])
4719
4743
  ]),
4720
4744
  _: 2
4721
4745
  }, 1024),
4722
- T(h(nt), {
4723
- "auth-function": () => e.canRetrieve(Z)
4746
+ $(h(nt), {
4747
+ "auth-function": () => e.canRetrieve(Q)
4724
4748
  }, {
4725
4749
  default: b(() => [
4726
- T(He, {
4750
+ $(He, {
4727
4751
  "data-testid": "action-entity-view",
4728
4752
  "has-divider": "",
4729
- item: E(Z.id)
4753
+ item: E(Q.id)
4730
4754
  }, null, 8, ["item"])
4731
4755
  ]),
4732
4756
  _: 2
4733
4757
  }, 1032, ["auth-function"]),
4734
- T(h(nt), {
4735
- "auth-function": () => e.canEdit(Z)
4758
+ $(h(nt), {
4759
+ "auth-function": () => e.canEdit(Q)
4736
4760
  }, {
4737
4761
  default: b(() => [
4738
- T(He, {
4762
+ $(He, {
4739
4763
  "data-testid": "action-entity-edit",
4740
- item: C(Z.id)
4764
+ item: C(Q.id)
4741
4765
  }, null, 8, ["item"])
4742
4766
  ]),
4743
4767
  _: 2
4744
4768
  }, 1032, ["auth-function"]),
4745
- T(h(nt), {
4746
- "auth-function": () => e.canDelete(Z)
4769
+ $(h(nt), {
4770
+ "auth-function": () => e.canDelete(Q)
4747
4771
  }, {
4748
4772
  default: b(() => [
4749
- T(He, {
4773
+ $(He, {
4750
4774
  danger: "",
4751
4775
  "data-testid": "action-entity-delete",
4752
4776
  "has-divider": "",
4753
- onClick: () => e.config.consumerId ? de(Z) : Ge(Z)
4777
+ onClick: () => e.config.consumerId ? de(Q) : Ge(Q)
4754
4778
  }, {
4755
4779
  default: b(() => [
4756
- Q(N(e.config.consumerId ? h(i)("consumer_groups.actions.exit") : h(i)("consumer_groups.actions.delete")), 1)
4780
+ Z(N(e.config.consumerId ? h(i)("consumer_groups.actions.exit") : h(i)("consumer_groups.actions.delete")), 1)
4757
4781
  ]),
4758
4782
  _: 2
4759
4783
  }, 1032, ["onClick"])
@@ -4763,7 +4787,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4763
4787
  ]),
4764
4788
  _: 1
4765
4789
  }, 8, ["cache-identifier", "disable-pagination", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "preferences-storage-key", "query", "table-headers", "use-action-outside"]),
4766
- T(h(Ds), {
4790
+ $(h(Ds), {
4767
4791
  "action-pending": G.value,
4768
4792
  "data-testid": "delete-consumer-group-modal",
4769
4793
  description: h(i)("consumer_groups.delete.description"),
@@ -4775,14 +4799,14 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4775
4799
  onCancel: Xe,
4776
4800
  onProceed: et
4777
4801
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"]),
4778
- e.config.consumerId ? (f(), D(Cl, {
4802
+ e.config.consumerId ? (f(), D(kl, {
4779
4803
  key: 0,
4780
4804
  config: e.config,
4781
4805
  "data-testid": "add-to-group-modal",
4782
4806
  visible: Be.value,
4783
- "onAdd:partialSuccess": J[4] || (J[4] = (Z) => ne(Z, !0)),
4784
- "onAdd:success": J[5] || (J[5] = (Z) => ne(Z)),
4785
- onCancel: U
4807
+ "onAdd:partialSuccess": J[4] || (J[4] = (Q) => ne(Q, !0)),
4808
+ "onAdd:success": J[5] || (J[5] = (Q) => ne(Q)),
4809
+ onCancel: P
4786
4810
  }, null, 8, ["config", "visible"])) : W("", !0),
4787
4811
  e.config.consumerId && V.value ? (f(), D(yr, {
4788
4812
  key: 1,
@@ -4790,15 +4814,15 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4790
4814
  "data-testid": "exit-group-modal",
4791
4815
  title: h(i)("consumer_groups.consumers.exit.title"),
4792
4816
  visible: ce.value,
4793
- onCancel: Ne,
4817
+ onCancel: Fe,
4794
4818
  onProceed: gr
4795
4819
  }, {
4796
4820
  default: b(() => [
4797
- T(h(a), {
4821
+ $(h(a), {
4798
4822
  class: "exit-modal-message",
4799
4823
  keypath: e.config.consumerUsername ? "consumer_groups.consumers.exit.confirmation" : "consumer_groups.consumers.exit.confirmationNoUsername",
4800
4824
  tag: "p"
4801
- }, Ke({
4825
+ }, Le({
4802
4826
  consumerGroup: b(() => [
4803
4827
  B("strong", null, N(V.value.name || V.value.id), 1)
4804
4828
  ]),
@@ -4819,7 +4843,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4819
4843
  ]);
4820
4844
  };
4821
4845
  }
4822
- }), Rl = /* @__PURE__ */ Lt(Il, [["__scopeId", "data-v-31674321"]]), xl = { class: "kong-ui-entities-consumer-group-form" }, Al = { class: "select-item-container" }, Sl = { class: "select-item-label" }, $l = {
4846
+ }), Ul = /* @__PURE__ */ Lt(_l, [["__scopeId", "data-v-31674321"]]), Il = { class: "kong-ui-entities-consumer-group-form" }, xl = { class: "select-item-container" }, Al = { class: "select-item-label" }, Sl = {
4823
4847
  key: 0,
4824
4848
  class: "select-item-description"
4825
4849
  }, Tl = /* @__PURE__ */ X({
@@ -4841,7 +4865,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4841
4865
  emits: ["update", "error", "loading"],
4842
4866
  setup(e, { emit: n }) {
4843
4867
  var Xe, et, Be;
4844
- const t = e, r = n, { i18n: { t: a } } = ft.useI18n(), i = $t(), o = Vt({
4868
+ const t = e, r = n, { i18n: { t: a } } = ft.useI18n(), i = Tt(), o = Vt({
4845
4869
  fields: {
4846
4870
  name: "",
4847
4871
  tags: "",
@@ -4859,24 +4883,24 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4859
4883
  error: d,
4860
4884
  loadItems: c,
4861
4885
  results: m
4862
- } = mr(t.config, (et = Te.form[(Xe = t.config) == null ? void 0 : Xe.app]) == null ? void 0 : et.consumersList, "", {
4886
+ } = mr(t.config, (et = $e.form[(Xe = t.config) == null ? void 0 : Xe.app]) == null ? void 0 : et.consumersList, "", {
4863
4887
  fetchedItemsKey: "data",
4864
4888
  searchKeys: ["username", "custom_id", "id"]
4865
4889
  }), { axiosInstance: p } = Kt({
4866
4890
  headers: (Be = t.config) == null ? void 0 : Be.requestHeaders
4867
- }), { getMessageFromError: _ } = ml(), k = A(() => m.value.map((w) => ({
4891
+ }), { getMessageFromError: _ } = fl(), k = A(() => m.value.map((w) => ({
4868
4892
  label: w.username || w.custom_id,
4869
4893
  value: w.id,
4870
4894
  selected: o.fields.consumers.includes(w.id),
4871
4895
  data: w
4872
4896
  // we need this to determine whether or not to show the description text
4873
4897
  }))), I = A(() => {
4874
- var w, U;
4875
- return (U = Te.form[(w = t.config) == null ? void 0 : w.app]) == null ? void 0 : U.edit;
4876
- }), R = A(() => t.consumerGroupId ? rt.Edit : rt.Create), K = A(() => !!o.fields.name && !x.value), Y = A(() => JSON.stringify(o.fields) !== JSON.stringify(s)), v = (w, U = "", ne = "") => {
4877
- var V, ce, ke, de, Ne, tt;
4878
- let H = `${(V = t.config) == null ? void 0 : V.apiBaseUrl}${Te.form[(ce = t.config) == null ? void 0 : ce.app][w]}`;
4879
- return ((ke = t.config) == null ? void 0 : ke.app) === "konnect" ? H = H.replace(/{controlPlaneId}/gi, ((de = t.config) == null ? void 0 : de.controlPlaneId) || "") : ((Ne = t.config) == null ? void 0 : Ne.app) === "kongManager" && (H = H.replace(/\/{workspace}/gi, (tt = t.config) != null && tt.workspace ? `/${t.config.workspace}` : "")), H = H.replace(/{id}/gi, U || t.consumerGroupId), (w === "addConsumer" || w === "removeConsumer") && (H = H.replace(/{consumerId}/gi, ne)), H;
4898
+ var w, P;
4899
+ return (P = $e.form[(w = t.config) == null ? void 0 : w.app]) == null ? void 0 : P.edit;
4900
+ }), R = A(() => t.consumerGroupId ? rt.Edit : rt.Create), K = A(() => !!o.fields.name && !x.value), Y = A(() => JSON.stringify(o.fields) !== JSON.stringify(s)), v = (w, P = "", ne = "") => {
4901
+ var V, ce, ke, de, Fe, tt;
4902
+ let H = `${(V = t.config) == null ? void 0 : V.apiBaseUrl}${$e.form[(ce = t.config) == null ? void 0 : ce.app][w]}`;
4903
+ return ((ke = t.config) == null ? void 0 : ke.app) === "konnect" ? H = H.replace(/{controlPlaneId}/gi, ((de = t.config) == null ? void 0 : de.controlPlaneId) || "") : ((Fe = t.config) == null ? void 0 : Fe.app) === "kongManager" && (H = H.replace(/\/{workspace}/gi, (tt = t.config) != null && tt.workspace ? `/${t.config.workspace}` : "")), H = H.replace(/{id}/gi, P || t.consumerGroupId), (w === "addConsumer" || w === "removeConsumer") && (H = H.replace(/{consumerId}/gi, ne)), H;
4880
4904
  }, g = () => {
4881
4905
  var w;
4882
4906
  i.push(((w = t.config) == null ? void 0 : w.cancelRoute) || { name: "consumer-group-list" });
@@ -4887,47 +4911,47 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4887
4911
  }, L = async (w) => {
4888
4912
  var ne, H, V, ce, ke;
4889
4913
  o.fields.name = ((ne = w == null ? void 0 : w.item) == null ? void 0 : ne.name) || ((H = w == null ? void 0 : w.consumer_group) == null ? void 0 : H.name) || (w == null ? void 0 : w.name) || "";
4890
- const U = ((V = w == null ? void 0 : w.item) == null ? void 0 : V.tags) || (w == null ? void 0 : w.consumer_group.tags) || (w == null ? void 0 : w.tags) || [];
4891
- if (o.fields.tags = (U == null ? void 0 : U.join(", ")) || "", "consumers" in w)
4914
+ const P = ((V = w == null ? void 0 : w.item) == null ? void 0 : V.tags) || (w == null ? void 0 : w.consumer_group.tags) || (w == null ? void 0 : w.tags) || [];
4915
+ if (o.fields.tags = (P == null ? void 0 : P.join(", ")) || "", "consumers" in w)
4892
4916
  o.fields.consumers = ((ce = w == null ? void 0 : w.consumers) == null ? void 0 : ce.map((de) => de.id)) || [];
4893
4917
  else
4894
4918
  try {
4895
4919
  const { data: de } = await p.get(v("getConsumers"));
4896
- o.fields.consumers = "consumers" in de ? (ke = de == null ? void 0 : de.consumers) == null ? void 0 : ke.map((Ne) => Ne.id) : [];
4920
+ o.fields.consumers = "consumers" in de ? (ke = de == null ? void 0 : de.consumers) == null ? void 0 : ke.map((Fe) => Fe.id) : [];
4897
4921
  } catch (de) {
4898
4922
  S(de);
4899
4923
  }
4900
4924
  Object.assign(s, o.fields);
4901
4925
  }, x = A(() => /^[0-9a-zA-Z.\-_~]*$/.test(o.fields.name) ? "" : a("consumer_groups.form.validation_errors.name")), z = A(() => {
4902
- var w, U;
4926
+ var w, P;
4903
4927
  return {
4904
4928
  name: o.fields.name,
4905
- tags: (U = (w = o.fields.tags.split(",")) == null ? void 0 : w.map((ne) => String(ne || "").trim())) == null ? void 0 : U.filter((ne) => ne !== "")
4929
+ tags: (P = (w = o.fields.tags.split(",")) == null ? void 0 : w.map((ne) => String(ne || "").trim())) == null ? void 0 : P.filter((ne) => ne !== "")
4906
4930
  };
4907
- }), E = async (w, U = "") => await p.post(v("addConsumer", U, w), { consumer: w }), C = async (w, U = "") => await p.delete(v("removeConsumer", U, w)), S = (w) => {
4931
+ }), E = async (w, P = "") => await p.post(v("addConsumer", P, w), { consumer: w }), C = async (w, P = "") => await p.delete(v("removeConsumer", P, w)), S = (w) => {
4908
4932
  o.errorMessage = _(w), r("error", w);
4909
4933
  }, q = (w = t.consumerGroupId) => {
4910
4934
  Object.assign(s, o.fields), r("update", { ...o.fields, id: w });
4911
- }, G = (w, U, ne = t.consumerGroupId) => {
4935
+ }, G = (w, P, ne = t.consumerGroupId) => {
4912
4936
  const H = w == null ? void 0 : w.find((V) => V.status !== "fulfilled");
4913
4937
  H ? S({
4914
4938
  code: H.status,
4915
- message: U
4939
+ message: P
4916
4940
  }) : q(ne);
4917
4941
  }, ae = async () => {
4918
4942
  let w = "";
4919
4943
  try {
4920
- const { data: U } = await p.post(v("create"), z.value);
4921
- w = "item" in U ? U.item.id : U.id;
4922
- } catch (U) {
4923
- S(U);
4944
+ const { data: P } = await p.post(v("create"), z.value);
4945
+ w = "item" in P ? P.item.id : P.id;
4946
+ } catch (P) {
4947
+ S(P);
4924
4948
  }
4925
4949
  if (o.fields.consumers.length > 0 && w)
4926
4950
  try {
4927
- const U = o.fields.consumers.map((H) => E(H, w)), ne = await Promise.allSettled(U);
4951
+ const P = o.fields.consumers.map((H) => E(H, w)), ne = await Promise.allSettled(P);
4928
4952
  G(ne, a("consumer_groups.errors.add_consumer"), w);
4929
- } catch (U) {
4930
- S(U);
4953
+ } catch (P) {
4954
+ S(P);
4931
4955
  }
4932
4956
  else
4933
4957
  o.fields.consumers.length === 0 && w && q(w);
@@ -4938,13 +4962,13 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4938
4962
  } catch (H) {
4939
4963
  S(H);
4940
4964
  }
4941
- const w = o.fields.consumers.filter((H) => !s.consumers.includes(H)), U = s.consumers.filter((H) => !o.fields.consumers.includes(H));
4942
- if (U.length === 0 && w.length === 0)
4965
+ const w = o.fields.consumers.filter((H) => !s.consumers.includes(H)), P = s.consumers.filter((H) => !o.fields.consumers.includes(H));
4966
+ if (P.length === 0 && w.length === 0)
4943
4967
  q();
4944
4968
  else {
4945
- if (U.length > 0)
4969
+ if (P.length > 0)
4946
4970
  try {
4947
- const H = U.map((ce) => C(ce)), V = await Promise.allSettled(H);
4971
+ const H = P.map((ce) => C(ce)), V = await Promise.allSettled(H);
4948
4972
  G(V, a("consumer_groups.errors.remove_consumer"));
4949
4973
  } catch (H) {
4950
4974
  S(H);
@@ -4966,10 +4990,10 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4966
4990
  };
4967
4991
  return ut(async () => {
4968
4992
  await c();
4969
- }), (w, U) => {
4970
- const ne = P("KInput"), H = P("KMultiselect");
4971
- return f(), j("div", xl, [
4972
- T(h(Os), {
4993
+ }), (w, P) => {
4994
+ const ne = U("KInput"), H = U("KMultiselect");
4995
+ return f(), M("div", Il, [
4996
+ $(h(Os), {
4973
4997
  "can-submit": K.value && Y.value,
4974
4998
  config: e.config,
4975
4999
  "edit-id": e.consumerGroupId,
@@ -4978,20 +5002,20 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
4978
5002
  "form-fields": z.value,
4979
5003
  "is-readonly": o.readonly,
4980
5004
  onCancel: g,
4981
- "onFetch:error": U[3] || (U[3] = (V) => y(V)),
5005
+ "onFetch:error": P[3] || (P[3] = (V) => y(V)),
4982
5006
  "onFetch:success": L,
4983
- onLoading: U[4] || (U[4] = (V) => F(V)),
5007
+ onLoading: P[4] || (P[4] = (V) => F(V)),
4984
5008
  onSubmit: Ge
4985
5009
  }, {
4986
5010
  default: b(() => [
4987
- T(h(mn), {
5011
+ $(h(mn), {
4988
5012
  description: h(a)("consumer_groups.form.general_info.description"),
4989
5013
  title: h(a)("consumer_groups.form.general_info.title")
4990
5014
  }, {
4991
5015
  default: b(() => [
4992
- T(ne, {
5016
+ $(ne, {
4993
5017
  modelValue: o.fields.name,
4994
- "onUpdate:modelValue": U[0] || (U[0] = (V) => o.fields.name = V),
5018
+ "onUpdate:modelValue": P[0] || (P[0] = (V) => o.fields.name = V),
4995
5019
  modelModifiers: { trim: !0 },
4996
5020
  autocomplete: "off",
4997
5021
  "data-testid": "consumer-group-form-name",
@@ -5000,9 +5024,9 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
5000
5024
  required: "",
5001
5025
  type: "text"
5002
5026
  }, null, 8, ["modelValue", "label", "placeholder"]),
5003
- T(ne, {
5027
+ $(ne, {
5004
5028
  modelValue: o.fields.tags,
5005
- "onUpdate:modelValue": U[1] || (U[1] = (V) => o.fields.tags = V),
5029
+ "onUpdate:modelValue": P[1] || (P[1] = (V) => o.fields.tags = V),
5006
5030
  modelModifiers: { trim: !0 },
5007
5031
  autocomplete: "off",
5008
5032
  "data-testid": "consumer-group-form-tags",
@@ -5018,15 +5042,15 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
5018
5042
  ]),
5019
5043
  _: 1
5020
5044
  }, 8, ["description", "title"]),
5021
- T(h(mn), {
5045
+ $(h(mn), {
5022
5046
  description: h(a)("consumer_groups.form.consumers.description"),
5023
5047
  "has-divider": "",
5024
5048
  title: h(a)("consumer_groups.form.consumers.title")
5025
5049
  }, {
5026
5050
  default: b(() => [
5027
- T(H, {
5051
+ $(H, {
5028
5052
  modelValue: o.fields.consumers,
5029
- "onUpdate:modelValue": U[2] || (U[2] = (V) => o.fields.consumers = V),
5053
+ "onUpdate:modelValue": P[2] || (P[2] = (V) => o.fields.consumers = V),
5030
5054
  appearance: "select",
5031
5055
  autosuggest: "",
5032
5056
  items: k.value,
@@ -5039,9 +5063,9 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
5039
5063
  "item-template": b(({ item: V }) => {
5040
5064
  var ce, ke, de;
5041
5065
  return [
5042
- B("div", Al, [
5043
- B("div", Sl, N(V.label), 1),
5044
- (ce = V == null ? void 0 : V.data) != null && ce.username && ((ke = V == null ? void 0 : V.data) != null && ke.custom_id) ? (f(), j("div", $l, N((de = V == null ? void 0 : V.data) == null ? void 0 : de.custom_id), 1)) : W("", !0)
5066
+ B("div", xl, [
5067
+ B("div", Al, N(V.label), 1),
5068
+ (ce = V == null ? void 0 : V.data) != null && ce.username && ((ke = V == null ? void 0 : V.data) != null && ke.custom_id) ? (f(), M("div", Sl, N((de = V == null ? void 0 : V.data) == null ? void 0 : de.custom_id), 1)) : W("", !0)
5045
5069
  ])
5046
5070
  ];
5047
5071
  }),
@@ -5056,7 +5080,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
5056
5080
  ]);
5057
5081
  };
5058
5082
  }
5059
- }), Vl = /* @__PURE__ */ Lt(Tl, [["__scopeId", "data-v-89ee41dd"]]), jl = { class: "kong-ui-consumer-group-entity-config-card" }, Dl = /* @__PURE__ */ X({
5083
+ }), Rl = /* @__PURE__ */ Lt(Tl, [["__scopeId", "data-v-89ee41dd"]]), $l = { class: "kong-ui-consumer-group-entity-config-card" }, Vl = /* @__PURE__ */ X({
5060
5084
  __name: "ConsumerGroupConfigCard",
5061
5085
  props: {
5062
5086
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -5083,7 +5107,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
5083
5107
  },
5084
5108
  emits: ["loading", "fetch:error", "fetch:success"],
5085
5109
  setup(e) {
5086
- const n = e, { i18n: { t } } = ft.useI18n(), r = A(() => Te.form[n.config.app].edit), a = O({
5110
+ const n = e, { i18n: { t } } = ft.useI18n(), r = A(() => $e.form[n.config.app].edit), a = O({
5087
5111
  id: {},
5088
5112
  name: {},
5089
5113
  created_at: {},
@@ -5092,8 +5116,8 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
5092
5116
  tooltip: t("consumer_groups.form.fields.tags.tooltip")
5093
5117
  }
5094
5118
  });
5095
- return (i, o) => (f(), j("div", jl, [
5096
- T(h(Ts), {
5119
+ return (i, o) => (f(), M("div", $l, [
5120
+ $(h($s), {
5097
5121
  config: e.config,
5098
5122
  "config-card-doc": e.configCardDoc,
5099
5123
  "config-schema": a.value,
@@ -5108,7 +5132,7 @@ const Ji = { class: "yaml-config" }, fr = /* @__PURE__ */ X({
5108
5132
  }
5109
5133
  });
5110
5134
  export {
5111
- Dl as ConsumerGroupConfigCard,
5112
- Vl as ConsumerGroupForm,
5113
- Rl as ConsumerGroupList
5135
+ Vl as ConsumerGroupConfigCard,
5136
+ Rl as ConsumerGroupForm,
5137
+ Ul as ConsumerGroupList
5114
5138
  };