@kong-ui-public/entities-vaults 3.9.2 → 3.9.3

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,7 +1,7 @@
1
- import { defineComponent as G, computed as S, openBlock as m, createBlock as P, resolveDynamicComponent as ce, normalizeStyle as ke, withCtx as y, createElementBlock as I, toDisplayString as M, createCommentVNode as W, pushScopeId as _e, popScopeId as we, createElementVNode as A, ref as F, watch as Re, renderSlot as re, unref as l, onBeforeMount as dt, resolveComponent as D, createSlots as We, createVNode as h, createTextVNode as Y, renderList as xe, withModifiers as St, withDirectives as $e, vShow as Te, Fragment as Ae, normalizeClass as qe, withKeys as wi, useSlots as Et, useCssVars as va, inject as xi, onMounted as Si, onUnmounted as Ai, normalizeProps as Ii, guardReactiveProps as Vi, mergeProps as Ni, Teleport as $i, reactive as Pe, TransitionGroup as Ti } from "vue";
1
+ import { defineComponent as G, computed as S, openBlock as m, createBlock as P, resolveDynamicComponent as ce, normalizeStyle as ke, withCtx as h, createElementBlock as I, toDisplayString as M, createCommentVNode as W, pushScopeId as _e, popScopeId as we, createElementVNode as A, ref as U, watch as Re, renderSlot as re, unref as l, onBeforeMount as dt, resolveComponent as D, createSlots as We, createVNode as y, createTextVNode as Y, renderList as xe, withModifiers as St, withDirectives as $e, vShow as Te, Fragment as Ae, normalizeClass as qe, withKeys as wi, useSlots as Et, useCssVars as va, inject as xi, onMounted as Si, onUnmounted as Ai, normalizeProps as Ii, guardReactiveProps as Vi, mergeProps as Ni, Teleport as $i, reactive as Pe, TransitionGroup as Ti } from "vue";
2
2
  import { useRouter as pt } from "vue-router";
3
3
  import Dt from "axios";
4
- import { createI18n as ha, i18nTComponent as ya } from "@kong-ui-public/i18n";
4
+ import { createI18n as ya, i18nTComponent as ha } from "@kong-ui-public/i18n";
5
5
  import { BadgeMethodAppearances as Li } from "@kong/kongponents";
6
6
  const be = "24px", He = (e, t) => {
7
7
  const a = e.__vccOpts || e;
@@ -100,7 +100,7 @@ const be = "24px", He = (e, t) => {
100
100
  "data-testid": "kui-icon-wrapper-aws-icon",
101
101
  style: ke(r.value)
102
102
  }, {
103
- default: y(() => [
103
+ default: h(() => [
104
104
  (m(), I("svg", {
105
105
  "aria-hidden": e.decorative ? "true" : void 0,
106
106
  "data-testid": "kui-icon-svg-aws-icon",
@@ -120,7 +120,7 @@ const be = "24px", He = (e, t) => {
120
120
  _: 1
121
121
  }, 8, ["aria-hidden", "style"]));
122
122
  }
123
- }), Fi = /* @__PURE__ */ He(ji, [["__scopeId", "data-v-fe07f124"]]), tt = (e) => (_e("data-v-f18dbb66"), e = e(), we(), e), Ui = ["aria-hidden"], Ki = {
123
+ }), Ui = /* @__PURE__ */ He(ji, [["__scopeId", "data-v-fe07f124"]]), tt = (e) => (_e("data-v-f18dbb66"), e = e(), we(), e), Ki = ["aria-hidden"], Fi = {
124
124
  key: 0,
125
125
  "data-testid": "kui-icon-svg-title"
126
126
  }, Hi = /* @__PURE__ */ tt(() => /* @__PURE__ */ A("path", {
@@ -266,7 +266,7 @@ const be = "24px", He = (e, t) => {
266
266
  "data-testid": "kui-icon-wrapper-azure-icon",
267
267
  style: ke(r.value)
268
268
  }, {
269
- default: y(() => [
269
+ default: h(() => [
270
270
  (m(), I("svg", {
271
271
  "aria-hidden": e.decorative ? "true" : void 0,
272
272
  "data-testid": "kui-icon-svg-azure-icon",
@@ -277,13 +277,13 @@ const be = "24px", He = (e, t) => {
277
277
  width: "100%",
278
278
  xmlns: "http://www.w3.org/2000/svg"
279
279
  }, [
280
- e.title ? (m(), I("title", Ki, M(e.title), 1)) : W("", !0),
280
+ e.title ? (m(), I("title", Fi, M(e.title), 1)) : W("", !0),
281
281
  Hi,
282
282
  Bi,
283
283
  zi,
284
284
  Pi,
285
285
  Di
286
- ], 8, Ui))
286
+ ], 8, Ki))
287
287
  ]),
288
288
  _: 1
289
289
  }, 8, ["aria-hidden", "style"]));
@@ -379,7 +379,7 @@ const be = "24px", He = (e, t) => {
379
379
  "data-testid": "kui-icon-wrapper-google-cloud-icon",
380
380
  style: ke(r.value)
381
381
  }, {
382
- default: y(() => [
382
+ default: h(() => [
383
383
  (m(), I("svg", {
384
384
  "aria-hidden": e.decorative ? "true" : void 0,
385
385
  "data-testid": "kui-icon-svg-google-cloud-icon",
@@ -485,7 +485,7 @@ const be = "24px", He = (e, t) => {
485
485
  "data-testid": "kui-icon-wrapper-hashicorp-icon",
486
486
  style: ke(r.value)
487
487
  }, {
488
- default: y(() => [
488
+ default: h(() => [
489
489
  (m(), I("svg", {
490
490
  "aria-hidden": e.decorative ? "true" : void 0,
491
491
  "data-testid": "kui-icon-svg-hashicorp-icon",
@@ -586,7 +586,7 @@ const be = "24px", He = (e, t) => {
586
586
  "data-testid": "kui-icon-wrapper-add-icon",
587
587
  style: ke(r.value)
588
588
  }, {
589
- default: y(() => [
589
+ default: h(() => [
590
590
  (m(), I("svg", {
591
591
  "aria-hidden": e.decorative ? "true" : void 0,
592
592
  "data-testid": "kui-icon-svg-add-icon",
@@ -607,10 +607,10 @@ const be = "24px", He = (e, t) => {
607
607
  }), Ca = /* @__PURE__ */ He(fr, [["__scopeId", "data-v-c1f7c39c"]]), gr = (e) => (_e("data-v-0576deba"), e = e(), we(), e), mr = ["aria-hidden"], vr = {
608
608
  key: 0,
609
609
  "data-testid": "kui-icon-svg-title"
610
- }, hr = /* @__PURE__ */ gr(() => /* @__PURE__ */ A("path", {
610
+ }, yr = /* @__PURE__ */ gr(() => /* @__PURE__ */ A("path", {
611
611
  d: "M4.82499 12.025L8.69999 15.9C8.88332 16.0833 8.97499 16.3167 8.97499 16.6C8.97499 16.8833 8.88332 17.1167 8.69999 17.3C8.51665 17.4833 8.28332 17.575 7.99999 17.575C7.71665 17.575 7.48332 17.4833 7.29999 17.3L2.69999 12.7C2.59999 12.6 2.52915 12.4917 2.48749 12.375C2.44582 12.2583 2.42499 12.1333 2.42499 12C2.42499 11.8667 2.44582 11.7417 2.48749 11.625C2.52915 11.5083 2.59999 11.4 2.69999 11.3L7.29999 6.7C7.49999 6.5 7.73749 6.4 8.01249 6.4C8.28749 6.4 8.52499 6.5 8.72499 6.7C8.92499 6.9 9.02499 7.1375 9.02499 7.4125C9.02499 7.6875 8.92499 7.925 8.72499 8.125L4.82499 12.025ZM19.175 11.975L15.3 8.1C15.1167 7.91667 15.025 7.68333 15.025 7.4C15.025 7.11667 15.1167 6.88333 15.3 6.7C15.4833 6.51667 15.7167 6.425 16 6.425C16.2833 6.425 16.5167 6.51667 16.7 6.7L21.3 11.3C21.4 11.4 21.4708 11.5083 21.5125 11.625C21.5542 11.7417 21.575 11.8667 21.575 12C21.575 12.1333 21.5542 12.2583 21.5125 12.375C21.4708 12.4917 21.4 12.6 21.3 12.7L16.7 17.3C16.5 17.5 16.2667 17.5958 16 17.5875C15.7333 17.5792 15.5 17.475 15.3 17.275C15.1 17.075 15 16.8375 15 16.5625C15 16.2875 15.1 16.05 15.3 15.85L19.175 11.975Z",
612
612
  fill: "currentColor"
613
- }, null, -1)), yr = /* @__PURE__ */ G({
613
+ }, null, -1)), hr = /* @__PURE__ */ G({
614
614
  __name: "CodeIcon",
615
615
  props: {
616
616
  /** The accessibility text provided to screen readers */
@@ -686,7 +686,7 @@ const be = "24px", He = (e, t) => {
686
686
  "data-testid": "kui-icon-wrapper-code-icon",
687
687
  style: ke(r.value)
688
688
  }, {
689
- default: y(() => [
689
+ default: h(() => [
690
690
  (m(), I("svg", {
691
691
  "aria-hidden": e.decorative ? "true" : void 0,
692
692
  "data-testid": "kui-icon-svg-code-icon",
@@ -698,13 +698,13 @@ const be = "24px", He = (e, t) => {
698
698
  xmlns: "http://www.w3.org/2000/svg"
699
699
  }, [
700
700
  e.title ? (m(), I("title", vr, M(e.title), 1)) : W("", !0),
701
- hr
701
+ yr
702
702
  ], 8, mr))
703
703
  ]),
704
704
  _: 1
705
705
  }, 8, ["aria-hidden", "style"]));
706
706
  }
707
- }), br = /* @__PURE__ */ He(yr, [["__scopeId", "data-v-0576deba"]]), Cr = (e) => (_e("data-v-aaee2e85"), e = e(), we(), e), kr = ["aria-hidden"], _r = {
707
+ }), br = /* @__PURE__ */ He(hr, [["__scopeId", "data-v-0576deba"]]), Cr = (e) => (_e("data-v-aaee2e85"), e = e(), we(), e), kr = ["aria-hidden"], _r = {
708
708
  key: 0,
709
709
  "data-testid": "kui-icon-svg-title"
710
710
  }, wr = /* @__PURE__ */ Cr(() => /* @__PURE__ */ A("path", {
@@ -788,7 +788,7 @@ const be = "24px", He = (e, t) => {
788
788
  "data-testid": "kui-icon-wrapper-kong-icon",
789
789
  style: ke(r.value)
790
790
  }, {
791
- default: y(() => [
791
+ default: h(() => [
792
792
  (m(), I("svg", {
793
793
  "aria-hidden": e.decorative ? "true" : void 0,
794
794
  "data-testid": "kui-icon-svg-kong-icon",
@@ -807,7 +807,7 @@ const be = "24px", He = (e, t) => {
807
807
  }, 8, ["aria-hidden", "style"]));
808
808
  }
809
809
  }), Sr = /* @__PURE__ */ He(xr, [["__scopeId", "data-v-aaee2e85"]]);
810
- var qt = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e.Secret = "secret", e))(qt || {}), Ue = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(Ue || {}), Ee = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ee || {}), Q = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.CopyBadge = "copy-badge", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(Q || {}), he = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(he || {});
810
+ var qt = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e.Secret = "secret", e))(qt || {}), Ke = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(Ke || {}), Ee = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ee || {}), Q = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.CopyBadge = "copy-badge", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(Q || {}), ye = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ye || {});
811
811
  function Ar() {
812
812
  return {
813
813
  getAxiosInstance: (e = {}) => {
@@ -844,7 +844,7 @@ function Ir() {
844
844
  }
845
845
  };
846
846
  }
847
- const yt = "khcp-user-table-preferences", Vr = {
847
+ const ht = "khcp-user-table-preferences", Vr = {
848
848
  pageSize: 30,
849
849
  sortColumnKey: void 0,
850
850
  sortColumnOrder: void 0,
@@ -861,14 +861,14 @@ function Nr() {
861
861
  return;
862
862
  }
863
863
  }, t = () => {
864
- const a = e(localStorage.getItem(yt));
864
+ const a = e(localStorage.getItem(ht));
865
865
  return !a || !Object.keys(a).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(a));
866
866
  };
867
867
  return {
868
868
  setTablePreferences: (a, r) => {
869
869
  try {
870
870
  const i = t();
871
- i.set(a, r), localStorage.setItem(yt, JSON.stringify(Object.fromEntries(i.entries())));
871
+ i.set(a, r), localStorage.setItem(ht, JSON.stringify(Object.fromEntries(i.entries())));
872
872
  } catch (i) {
873
873
  console.error("useTablePreferences(setTablePreferences)", i);
874
874
  }
@@ -878,7 +878,7 @@ function Nr() {
878
878
  return (r == null ? void 0 : r.get(a)) || void 0 || Vr;
879
879
  },
880
880
  deleteAllTablePreferences: () => {
881
- localStorage.removeItem(yt);
881
+ localStorage.removeItem(ht);
882
882
  }
883
883
  };
884
884
  }
@@ -973,7 +973,7 @@ const $r = {
973
973
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
974
974
  }, jr = {
975
975
  utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
976
- }, Fr = {
976
+ }, Ur = {
977
977
  enable: {
978
978
  title: "Enable {entityType}",
979
979
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -984,7 +984,7 @@ const $r = {
984
984
  message: "Are you sure you want to disable the {entityType} {entityName}?",
985
985
  confirmText: "Yes, disable"
986
986
  }
987
- }, Ur = {
987
+ }, Kr = {
988
988
  global: $r,
989
989
  deleteModal: Tr,
990
990
  baseForm: Lr,
@@ -994,13 +994,13 @@ const $r = {
994
994
  debouncedFilter: Or,
995
995
  errors: Rr,
996
996
  validationErrors: jr,
997
- toggleModal: Fr
997
+ toggleModal: Ur
998
998
  };
999
999
  function gt() {
1000
- const e = ha("en-us", Ur);
1000
+ const e = ya("en-us", Kr);
1001
1001
  return {
1002
1002
  i18n: e,
1003
- i18nT: ya(e)
1003
+ i18nT: ha(e)
1004
1004
  // Translation component <i18n-t>
1005
1005
  };
1006
1006
  }
@@ -1046,76 +1046,72 @@ function ka() {
1046
1046
  isValidUuid: (a) => a ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(a) : !1
1047
1047
  };
1048
1048
  }
1049
- function Kr(e, t, a, r = {
1049
+ function Fr(e, t, a, r = {
1050
1050
  fetchedItemsKey: "data",
1051
1051
  searchKeys: ["id"]
1052
1052
  }) {
1053
1053
  a || (a = "1000");
1054
- const { axiosInstance: i } = Ot(e.axiosRequestConfig), { i18n: { t: n } } = gt(), { debounce: o } = Ir(), s = o(async (q) => {
1055
- await E(q);
1056
- }, 200), u = F(!1), c = F(""), v = F(""), d = F([]), x = F([]), C = F(void 0), V = S(() => {
1057
- const q = `${e.apiBaseUrl}${l(t)}`;
1058
- return e.app === "konnect" ? q.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" ? q.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "") : q;
1054
+ const { axiosInstance: i } = Ot(e.axiosRequestConfig), { i18n: { t: n } } = gt(), { debounce: o } = Ir(), s = o(async (R) => {
1055
+ await E(R);
1056
+ }, 200), u = U(!1), c = U(""), v = U(""), d = U([]), x = U([]), C = U(void 0), V = S(() => {
1057
+ const R = `${e.apiBaseUrl}${l(t)}`;
1058
+ return e.app === "konnect" ? R.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" ? R.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "") : R;
1059
1059
  }), { isValidUuid: p } = ka(), N = async () => {
1060
1060
  try {
1061
1061
  u.value = !0;
1062
- const { data: q } = await i.get(`${V.value}?size=${a}`);
1063
- q != null && q.next || (C.value = r.fetchedItemsKey in q ? q[r.fetchedItemsKey] : []), x.value = r.fetchedItemsKey in q ? q[r.fetchedItemsKey] : [], d.value = x.value;
1062
+ const { data: R } = await i.get(`${V.value}?size=${a}`);
1063
+ R != null && R.next || (C.value = r.fetchedItemsKey in R ? R[r.fetchedItemsKey] : []), x.value = r.fetchedItemsKey in R ? R[r.fetchedItemsKey] : [], d.value = x.value;
1064
1064
  } catch {
1065
1065
  d.value = [], c.value = n("debouncedFilter.errors.fetch");
1066
1066
  } finally {
1067
1067
  u.value = !1;
1068
1068
  }
1069
- }, U = F(""), E = async (q) => {
1069
+ }, K = U(""), E = async (R) => {
1070
1070
  var $, T, f;
1071
- if (U.value !== q) {
1072
- if (q === "") {
1071
+ if (K.value !== R) {
1072
+ if (K.value = R ?? "", !R) {
1073
1073
  d.value = x.value;
1074
1074
  return;
1075
- } else
1076
- U.value = q || "";
1075
+ }
1077
1076
  if (C.value === void 0)
1078
1077
  try {
1079
1078
  if (u.value = !0, c.value = "", v.value = "", e.app === "konnect") {
1080
- let _ = V.value + "";
1081
- q && (_ += `/${q}`);
1082
- const { data: L } = await i.get(`${_}?size=${a}`);
1079
+ const w = `${V.value}/${R}`, { data: L } = await i.get(`${w}?size=${a}`);
1083
1080
  r.fetchedItemsKey in L ? d.value = L[r.fetchedItemsKey] : L != null && L[r.exactMatchKey ?? "id"] ? d.value = [L] : d.value = [];
1084
- } else if (q) {
1085
- const _ = [];
1086
- p(q) && r.searchKeys.includes("id") ? _.push((async () => {
1087
- const { data: z } = await i.get(`${V.value}/${q}`);
1081
+ } else {
1082
+ const w = [];
1083
+ p(R) && r.searchKeys.includes("id") ? w.push((async () => {
1084
+ const { data: z } = await i.get(`${V.value}/${R}`);
1088
1085
  return [z[r.fetchedItemsKey] ?? z];
1089
- })()) : _.push(
1086
+ })()) : w.push(
1090
1087
  ...r.searchKeys.filter((z) => z !== "id").map(async (z) => {
1091
- const { data: B } = await i.get(`${V.value}?${z}=${q}`);
1088
+ const { data: B } = await i.get(`${V.value}?${z}=${R}`);
1092
1089
  return B[r.fetchedItemsKey];
1093
1090
  })
1094
1091
  );
1095
- const L = await Promise.all(_), R = /* @__PURE__ */ new Set();
1092
+ const L = await Promise.all(w), O = /* @__PURE__ */ new Set();
1096
1093
  d.value = [], ($ = L == null ? void 0 : L.forEach) == null || $.call(L, (z) => {
1097
1094
  var B;
1098
- (B = z == null ? void 0 : z.forEach) == null || B.call(z, (K) => {
1099
- R.has(K.id) || (R.add(K.id), d.value.push(K));
1095
+ (B = z == null ? void 0 : z.forEach) == null || B.call(z, (F) => {
1096
+ O.has(F.id) || (O.add(F.id), d.value.push(F));
1100
1097
  });
1101
1098
  });
1102
- } else
1103
- d.value = x.value;
1104
- } catch (_) {
1105
- ((T = _ == null ? void 0 : _.response) == null ? void 0 : T.status) === 404 ? v.value = n("debouncedFilter.errors.invalid") : (d.value = [], c.value = n("debouncedFilter.errors.fetch"));
1099
+ }
1100
+ } catch (w) {
1101
+ ((T = w == null ? void 0 : w.response) == null ? void 0 : T.status) === 404 ? v.value = n("debouncedFilter.errors.invalid") : (d.value = [], c.value = n("debouncedFilter.errors.fetch"));
1106
1102
  } finally {
1107
1103
  u.value = !1;
1108
1104
  }
1109
1105
  else
1110
- u.value = !0, v.value = "", q ? (d.value = (f = C.value) == null ? void 0 : f.filter((_) => {
1106
+ u.value = !0, v.value = "", d.value = (f = C.value) == null ? void 0 : f.filter((w) => {
1111
1107
  var L;
1112
- let R = !1;
1108
+ let O = !1;
1113
1109
  for (const z of r.searchKeys) {
1114
- const B = typeof _[z] == "string" ? (L = _[z]) == null ? void 0 : L.toLowerCase() : _[z];
1115
- B != null && B.includes(q.toLowerCase()) && (R = !0);
1110
+ const B = typeof w[z] == "string" ? (L = w[z]) == null ? void 0 : L.toLowerCase() : w[z];
1111
+ B != null && B.includes(R.toLowerCase()) && (O = !0);
1116
1112
  }
1117
- return R;
1118
- }), (!d.value || !d.value.length) && (v.value = n("debouncedFilter.errors.invalid"))) : d.value = C.value, u.value = !1;
1113
+ return O;
1114
+ }), (!d.value || !d.value.length) && (v.value = n("debouncedFilter.errors.invalid")), u.value = !1;
1119
1115
  }
1120
1116
  };
1121
1117
  return {
@@ -1176,7 +1172,7 @@ function zr(e) {
1176
1172
  }
1177
1173
  }
1178
1174
  function _a(e, t) {
1179
- const a = F(l(e)), r = F(l(t)), i = S(
1175
+ const a = U(l(e)), r = U(l(t)), i = S(
1180
1176
  () => !!(a.value.app === "konnect" || a.value.isExactMatch)
1181
1177
  ), n = S(
1182
1178
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
@@ -1194,7 +1190,7 @@ function _a(e, t) {
1194
1190
  };
1195
1191
  }
1196
1192
  function Pr(e, t, a = "data") {
1197
- const r = l(t), { axiosInstance: i } = Ot(e.axiosRequestConfig), n = _a(e, r), o = F({
1193
+ const r = l(t), { axiosInstance: i } = Ot(e.axiosRequestConfig), n = _a(e, r), o = U({
1198
1194
  status: Ee.Idle
1199
1195
  });
1200
1196
  return { fetcher: async (s) => {
@@ -1302,7 +1298,7 @@ function Qr(e) {
1302
1298
  return !(o && Yt(i, o, "<") || s && Yt(i, s, ">"));
1303
1299
  }
1304
1300
  function Xr(e) {
1305
- const t = F(0), a = F(0), r = F(!1);
1301
+ const t = U(0), a = U(0), r = U(!1);
1306
1302
  return Re(e, (i) => {
1307
1303
  i && !r.value && (t.value = i.offsetWidth, a.value = i.scrollWidth, r.value = !0);
1308
1304
  }), {
@@ -1317,7 +1313,7 @@ function en() {
1317
1313
  }
1318
1314
  const ue = {
1319
1315
  useAxios: Ot,
1320
- useDebouncedFilter: Kr,
1316
+ useDebouncedFilter: Fr,
1321
1317
  useDeleteUrlBuilder: Hr,
1322
1318
  useErrors: Br,
1323
1319
  useExternalLinkCreator: zr,
@@ -1359,7 +1355,7 @@ const ue = {
1359
1355
  return (u, c) => (m(), P(ce(e.isArrayItem ? "fieldset" : "div"), {
1360
1356
  class: qe(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
1361
1357
  }, {
1362
- default: y(() => [
1358
+ default: h(() => [
1363
1359
  e.isArrayItem ? (m(), I("legend", tn, [
1364
1360
  A("b", null, M(s.value), 1)
1365
1361
  ])) : W("", !0),
@@ -1394,12 +1390,12 @@ const ue = {
1394
1390
  return (a, r) => {
1395
1391
  const i = D("KButton");
1396
1392
  return m(), I("div", null, [
1397
- h(i, {
1393
+ y(i, {
1398
1394
  appearance: "tertiary",
1399
1395
  class: "navigation-button",
1400
1396
  onClick: r[0] || (r[0] = (n) => a.$emit("navigation-click", e.item))
1401
1397
  }, {
1402
- default: y(() => [
1398
+ default: h(() => [
1403
1399
  Y(M(e.item.value || l(t)("baseConfigCard.commonFields.link")), 1)
1404
1400
  ]),
1405
1401
  _: 1
@@ -1422,14 +1418,14 @@ const ue = {
1422
1418
  return m(), P(i, {
1423
1419
  appearance: e.status ? "success" : "neutral"
1424
1420
  }, {
1425
- default: y(() => [
1421
+ default: h(() => [
1426
1422
  Y(M(e.status ? l(t)("baseConfigCard.statusBadge.enabledLabel") : l(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
1427
1423
  ]),
1428
1424
  _: 1
1429
1425
  }, 8, ["appearance"]);
1430
1426
  };
1431
1427
  }
1432
- }), ln = "#0044f4", sn = "#e0e4ea", un = "#afb7c5", cn = "1px", dn = "20px", pn = { class: "config-card-details-row" }, fn = ["data-testid"], gn = ["data-testid"], mn = ["data-testid"], vn = ["data-testid"], hn = { key: 1 }, yn = ["data-testid"], bn = ["data-testid"], Cn = ["data-testid"], kn = ["data-testid"], _n = {
1428
+ }), ln = "#0044f4", sn = "#e0e4ea", un = "#afb7c5", cn = "1px", dn = "20px", pn = { class: "config-card-details-row" }, fn = ["data-testid"], gn = ["data-testid"], mn = ["data-testid"], vn = ["data-testid"], yn = { key: 1 }, hn = ["data-testid"], bn = ["data-testid"], Cn = ["data-testid"], kn = ["data-testid"], _n = {
1433
1429
  name: "ConfigCardItem",
1434
1430
  components: { JsonCardItem: Sa, StatusBadge: on, InternalLinkItem: nn }
1435
1431
  }, wn = /* @__PURE__ */ G({
@@ -1579,24 +1575,24 @@ const ue = {
1579
1575
  text: a.item.value
1580
1576
  };
1581
1577
  }
1582
- }), x = F(), { isTruncated: C } = ue.useTruncationDetector(x);
1578
+ }), x = U(), { isTruncated: C } = ue.useTruncationDetector(x);
1583
1579
  return (V, p) => {
1584
- const N = D("KLabel"), U = D("KBadge"), E = D("KCopy"), q = D("KTooltip");
1580
+ const N = D("KLabel"), K = D("KBadge"), E = D("KCopy"), R = D("KTooltip");
1585
1581
  return m(), I("div", pn, [
1586
1582
  A("div", {
1587
1583
  class: "config-card-details-label",
1588
1584
  "data-testid": `${e.item.key}-label`
1589
1585
  }, [
1590
1586
  re(V.$slots, "label", { item: e.item }, () => [
1591
- h(N, { "tooltip-attributes": { maxWidth: "500px" } }, We({
1592
- default: y(() => [
1587
+ y(N, { "tooltip-attributes": { maxWidth: "500px" } }, We({
1588
+ default: h(() => [
1593
1589
  Y(M(e.item.label) + " ", 1)
1594
1590
  ]),
1595
1591
  _: 2
1596
1592
  }, [
1597
1593
  u.value ? {
1598
1594
  name: "tooltip",
1599
- fn: y(() => [
1595
+ fn: h(() => [
1600
1596
  A("div", {
1601
1597
  "data-testid": `${e.item.key}-label-tooltip`
1602
1598
  }, [
@@ -1617,26 +1613,26 @@ const ue = {
1617
1613
  re(V.$slots, e.item.key, {
1618
1614
  rowValue: e.item.value
1619
1615
  }, () => [
1620
- s.value ? (m(), I("div", hn, [
1616
+ s.value ? (m(), I("div", yn, [
1621
1617
  (m(), P(ce(d.value.tag), Ii(Vi(d.value.attrs)), {
1622
- default: y(() => [
1618
+ default: h(() => [
1623
1619
  d.value.additionalComponent === "KBadge" ? (m(), I("div", {
1624
1620
  key: 0,
1625
1621
  "data-testid": `${e.item.key}-badge-tags`
1626
1622
  }, [
1627
- (m(!0), I(Ae, null, xe(e.item.value, ($, T) => (m(), P(U, {
1623
+ (m(!0), I(Ae, null, xe(e.item.value, ($, T) => (m(), P(K, {
1628
1624
  key: `${e.item.key}-badge-tag-${T}`,
1629
1625
  class: "config-badge",
1630
1626
  "data-testid": `${e.item.key}-badge-tag-${T}`,
1631
1627
  tooltip: $,
1632
1628
  "truncation-tooltip": ""
1633
1629
  }, {
1634
- default: y(() => [
1630
+ default: h(() => [
1635
1631
  Y(M($), 1)
1636
1632
  ]),
1637
1633
  _: 2
1638
1634
  }, 1032, ["data-testid", "tooltip"]))), 128))
1639
- ], 8, yn)) : W("", !0),
1635
+ ], 8, hn)) : W("", !0),
1640
1636
  d.value.additionalComponent === "KCopy" ? (m(), I("div", {
1641
1637
  key: 1,
1642
1638
  class: "copy-uuid-array",
@@ -1652,13 +1648,13 @@ const ue = {
1652
1648
  class: "method-badge-array",
1653
1649
  "data-testid": `${e.item.key}-badge-methods`
1654
1650
  }, [
1655
- (m(!0), I(Ae, null, xe(e.item.value, ($, T) => (m(), P(U, {
1651
+ (m(!0), I(Ae, null, xe(e.item.value, ($, T) => (m(), P(K, {
1656
1652
  key: `${e.item.key}-badge-method-${T}`,
1657
1653
  appearance: Object.values(l(Li)).includes($.toLowerCase()) ? $.toLowerCase() : "custom",
1658
1654
  class: "config-badge",
1659
1655
  "data-testid": `${e.item.key}-badge-method-${T}`
1660
1656
  }, {
1661
- default: y(() => [
1657
+ default: h(() => [
1662
1658
  Y(M($), 1)
1663
1659
  ]),
1664
1660
  _: 2
@@ -1674,11 +1670,11 @@ const ue = {
1674
1670
  "is-array-item": "",
1675
1671
  item: $
1676
1672
  }, null, 8, ["index", "item"]))), 128))
1677
- ], 8, kn)) : (m(), P(q, {
1673
+ ], 8, kn)) : (m(), P(R, {
1678
1674
  key: 4,
1679
1675
  text: l(C) ? e.item.value : ""
1680
1676
  }, {
1681
- default: y(() => [
1677
+ default: h(() => [
1682
1678
  A("span", {
1683
1679
  ref_key: "textContent",
1684
1680
  ref: x,
@@ -1744,15 +1740,15 @@ const ue = {
1744
1740
  const o = D("KBadge"), s = D("KCodeBlock");
1745
1741
  return m(), I("div", xn, [
1746
1742
  t.fetcherUrl ? (m(), I("div", Sn, [
1747
- h(o, {
1743
+ y(o, {
1748
1744
  appearance: t.requestMethod
1749
1745
  }, {
1750
- default: y(() => [
1746
+ default: h(() => [
1751
1747
  Y(M(t.requestMethod), 1)
1752
1748
  ]),
1753
1749
  _: 1
1754
1750
  }, 8, ["appearance"]),
1755
- h(s, {
1751
+ y(s, {
1756
1752
  id: "json-endpoint-codeblock",
1757
1753
  code: t.fetcherUrl,
1758
1754
  language: "json",
@@ -1861,7 +1857,7 @@ function Rn(e, t) {
1861
1857
  `;
1862
1858
  return s.replace(/\n$/, "");
1863
1859
  }
1864
- var jn = Rn, Fn = [
1860
+ var jn = Rn, Un = [
1865
1861
  "kind",
1866
1862
  "multi",
1867
1863
  "resolve",
@@ -1872,12 +1868,12 @@ var jn = Rn, Fn = [
1872
1868
  "representName",
1873
1869
  "defaultStyle",
1874
1870
  "styleAliases"
1875
- ], Un = [
1871
+ ], Kn = [
1876
1872
  "scalar",
1877
1873
  "sequence",
1878
1874
  "mapping"
1879
1875
  ];
1880
- function Kn(e) {
1876
+ function Fn(e) {
1881
1877
  var t = {};
1882
1878
  return e !== null && Object.keys(e).forEach(function(a) {
1883
1879
  e[a].forEach(function(r) {
@@ -1887,13 +1883,13 @@ function Kn(e) {
1887
1883
  }
1888
1884
  function Hn(e, t) {
1889
1885
  if (t = t || {}, Object.keys(t).forEach(function(a) {
1890
- if (Fn.indexOf(a) === -1)
1886
+ if (Un.indexOf(a) === -1)
1891
1887
  throw new ve('Unknown option "' + a + '" is met in definition of "' + e + '" YAML type.');
1892
1888
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
1893
1889
  return !0;
1894
1890
  }, this.construct = t.construct || function(a) {
1895
1891
  return a;
1896
- }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = Kn(t.styleAliases || null), Un.indexOf(this.kind) === -1)
1892
+ }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = Fn(t.styleAliases || null), Kn.indexOf(this.kind) === -1)
1897
1893
  throw new ve('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1898
1894
  }
1899
1895
  var ge = Hn;
@@ -2185,24 +2181,24 @@ var ja = new ge("tag:yaml.org,2002:float", {
2185
2181
  predicate: lo,
2186
2182
  represent: oo,
2187
2183
  defaultStyle: "lowercase"
2188
- }), Fa = Ma.extend({
2184
+ }), Ua = Ma.extend({
2189
2185
  implicit: [
2190
2186
  qa,
2191
2187
  Oa,
2192
2188
  Ra,
2193
2189
  ja
2194
2190
  ]
2195
- }), Ua = Fa, Ka = new RegExp(
2191
+ }), Ka = Ua, Fa = new RegExp(
2196
2192
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
2197
2193
  ), Ha = new RegExp(
2198
2194
  "^([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]))?))?$"
2199
2195
  );
2200
2196
  function so(e) {
2201
- return e === null ? !1 : Ka.exec(e) !== null || Ha.exec(e) !== null;
2197
+ return e === null ? !1 : Fa.exec(e) !== null || Ha.exec(e) !== null;
2202
2198
  }
2203
2199
  function uo(e) {
2204
2200
  var t, a, r, i, n, o, s, u = 0, c = null, v, d, x;
2205
- if (t = Ka.exec(e), t === null && (t = Ha.exec(e)), t === null) throw new Error("Date resolve error");
2201
+ if (t = Fa.exec(e), t === null && (t = Ha.exec(e)), t === null) throw new Error("Date resolve error");
2206
2202
  if (a = +t[1], r = +t[2] - 1, i = +t[3], !t[4])
2207
2203
  return new Date(Date.UTC(a, r, i));
2208
2204
  if (n = +t[4], o = +t[5], s = +t[6], t[7]) {
@@ -2261,14 +2257,14 @@ var Pa = new ge("tag:yaml.org,2002:binary", {
2261
2257
  construct: go,
2262
2258
  predicate: vo,
2263
2259
  represent: mo
2264
- }), ho = Object.prototype.hasOwnProperty, yo = Object.prototype.toString;
2260
+ }), yo = Object.prototype.hasOwnProperty, ho = Object.prototype.toString;
2265
2261
  function bo(e) {
2266
2262
  if (e === null) return !0;
2267
2263
  var t = [], a, r, i, n, o, s = e;
2268
2264
  for (a = 0, r = s.length; a < r; a += 1) {
2269
- if (i = s[a], o = !1, yo.call(i) !== "[object Object]") return !1;
2265
+ if (i = s[a], o = !1, ho.call(i) !== "[object Object]") return !1;
2270
2266
  for (n in i)
2271
- if (ho.call(i, n))
2267
+ if (yo.call(i, n))
2272
2268
  if (!o) o = !0;
2273
2269
  else return !1;
2274
2270
  if (!o) return !1;
@@ -2321,7 +2317,7 @@ var Wa = new ge("tag:yaml.org,2002:set", {
2321
2317
  kind: "mapping",
2322
2318
  resolve: So,
2323
2319
  construct: Ao
2324
- }), jt = Ua.extend({
2320
+ }), jt = Ka.extend({
2325
2321
  implicit: [
2326
2322
  Ba,
2327
2323
  za
@@ -2339,10 +2335,10 @@ function ta(e) {
2339
2335
  function Ie(e) {
2340
2336
  return e === 10 || e === 13;
2341
2337
  }
2342
- function Ke(e) {
2338
+ function Fe(e) {
2343
2339
  return e === 9 || e === 32;
2344
2340
  }
2345
- function ye(e) {
2341
+ function he(e) {
2346
2342
  return e === 9 || e === 32 || e === 10 || e === 13;
2347
2343
  }
2348
2344
  function De(e) {
@@ -2442,20 +2438,20 @@ function Ze(e, t, a, r, i, n, o, s, u) {
2442
2438
  }) : t[i] = n, delete a[i];
2443
2439
  return t;
2444
2440
  }
2445
- function Ft(e) {
2441
+ function Ut(e) {
2446
2442
  var t;
2447
2443
  t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 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;
2448
2444
  }
2449
2445
  function oe(e, t, a) {
2450
2446
  for (var r = 0, i = e.input.charCodeAt(e.position); i !== 0; ) {
2451
- for (; Ke(i); )
2447
+ for (; Fe(i); )
2452
2448
  i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
2453
2449
  if (t && i === 35)
2454
2450
  do
2455
2451
  i = e.input.charCodeAt(++e.position);
2456
2452
  while (i !== 10 && i !== 13 && i !== 0);
2457
2453
  if (Ie(i))
2458
- for (Ft(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32; )
2454
+ for (Ut(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32; )
2459
2455
  e.lineIndent++, i = e.input.charCodeAt(++e.position);
2460
2456
  else
2461
2457
  break;
@@ -2464,22 +2460,22 @@ function oe(e, t, a) {
2464
2460
  }
2465
2461
  function mt(e) {
2466
2462
  var t = e.position, a;
2467
- return a = e.input.charCodeAt(t), !!((a === 45 || a === 46) && a === e.input.charCodeAt(t + 1) && a === e.input.charCodeAt(t + 2) && (t += 3, a = e.input.charCodeAt(t), a === 0 || ye(a)));
2463
+ return a = e.input.charCodeAt(t), !!((a === 45 || a === 46) && a === e.input.charCodeAt(t + 1) && a === e.input.charCodeAt(t + 2) && (t += 3, a = e.input.charCodeAt(t), a === 0 || he(a)));
2468
2464
  }
2469
- function Ut(e, t) {
2465
+ function Kt(e, t) {
2470
2466
  t === 1 ? e.result += " " : t > 1 && (e.result += se.repeat(`
2471
2467
  `, t - 1));
2472
2468
  }
2473
2469
  function Oo(e, t, a) {
2474
2470
  var r, i, n, o, s, u, c, v, d = e.kind, x = e.result, C;
2475
- if (C = e.input.charCodeAt(e.position), ye(C) || De(C) || C === 35 || C === 38 || C === 42 || C === 33 || C === 124 || C === 62 || C === 39 || C === 34 || C === 37 || C === 64 || C === 96 || (C === 63 || C === 45) && (i = e.input.charCodeAt(e.position + 1), ye(i) || a && De(i)))
2471
+ if (C = e.input.charCodeAt(e.position), he(C) || De(C) || C === 35 || C === 38 || C === 42 || C === 33 || C === 124 || C === 62 || C === 39 || C === 34 || C === 37 || C === 64 || C === 96 || (C === 63 || C === 45) && (i = e.input.charCodeAt(e.position + 1), he(i) || a && De(i)))
2476
2472
  return !1;
2477
2473
  for (e.kind = "scalar", e.result = "", n = o = e.position, s = !1; C !== 0; ) {
2478
2474
  if (C === 58) {
2479
- if (i = e.input.charCodeAt(e.position + 1), ye(i) || a && De(i))
2475
+ if (i = e.input.charCodeAt(e.position + 1), he(i) || a && De(i))
2480
2476
  break;
2481
2477
  } else if (C === 35) {
2482
- if (r = e.input.charCodeAt(e.position - 1), ye(r))
2478
+ if (r = e.input.charCodeAt(e.position - 1), he(r))
2483
2479
  break;
2484
2480
  } else {
2485
2481
  if (e.position === e.lineStart && mt(e) || a && De(C))
@@ -2493,7 +2489,7 @@ function Oo(e, t, a) {
2493
2489
  break;
2494
2490
  }
2495
2491
  }
2496
- s && (Me(e, n, o, !1), Ut(e, e.line - u), n = o = e.position, s = !1), Ke(C) || (o = e.position + 1), C = e.input.charCodeAt(++e.position);
2492
+ s && (Me(e, n, o, !1), Kt(e, e.line - u), n = o = e.position, s = !1), Fe(C) || (o = e.position + 1), C = e.input.charCodeAt(++e.position);
2497
2493
  }
2498
2494
  return Me(e, n, o, !1), e.result ? !0 : (e.kind = d, e.result = x, !1);
2499
2495
  }
@@ -2507,7 +2503,7 @@ function Ro(e, t) {
2507
2503
  r = e.position, e.position++, i = e.position;
2508
2504
  else
2509
2505
  return !0;
2510
- else Ie(a) ? (Me(e, r, i, !0), Ut(e, oe(e, !1, t)), r = i = e.position) : e.position === e.lineStart && mt(e) ? j(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
2506
+ else Ie(a) ? (Me(e, r, i, !0), Kt(e, oe(e, !1, t)), r = i = e.position) : e.position === e.lineStart && mt(e) ? j(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
2511
2507
  j(e, "unexpected end of the stream within a single quoted scalar");
2512
2508
  }
2513
2509
  function jo(e, t) {
@@ -2529,12 +2525,12 @@ function jo(e, t) {
2529
2525
  } else
2530
2526
  j(e, "unknown escape sequence");
2531
2527
  a = r = e.position;
2532
- } else Ie(s) ? (Me(e, a, r, !0), Ut(e, oe(e, !1, t)), a = 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);
2528
+ } else Ie(s) ? (Me(e, a, r, !0), Kt(e, oe(e, !1, t)), a = 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);
2533
2529
  }
2534
2530
  j(e, "unexpected end of the stream within a double quoted scalar");
2535
2531
  }
2536
- function Fo(e, t) {
2537
- var a = !0, r, i, n, o = e.tag, s, u = e.anchor, c, v, d, x, C, V = /* @__PURE__ */ Object.create(null), p, N, U, E;
2532
+ function Uo(e, t) {
2533
+ var a = !0, r, i, n, o = e.tag, s, u = e.anchor, c, v, d, x, C, V = /* @__PURE__ */ Object.create(null), p, N, K, E;
2538
2534
  if (E = e.input.charCodeAt(e.position), E === 91)
2539
2535
  v = 93, C = !1, s = [];
2540
2536
  else if (E === 123)
@@ -2544,11 +2540,11 @@ function Fo(e, t) {
2544
2540
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), E = e.input.charCodeAt(++e.position); E !== 0; ) {
2545
2541
  if (oe(e, !0, t), E = e.input.charCodeAt(e.position), E === v)
2546
2542
  return e.position++, e.tag = o, e.anchor = u, e.kind = C ? "mapping" : "sequence", e.result = s, !0;
2547
- a ? E === 44 && j(e, "expected the node content, but found ','") : j(e, "missed comma between flow collection entries"), N = p = U = null, d = x = !1, E === 63 && (c = e.input.charCodeAt(e.position + 1), ye(c) && (d = x = !0, e.position++, oe(e, !0, t))), r = e.line, i = e.lineStart, n = e.position, Ge(e, t, nt, !1, !0), N = e.tag, p = e.result, oe(e, !0, t), E = e.input.charCodeAt(e.position), (x || e.line === r) && E === 58 && (d = !0, E = e.input.charCodeAt(++e.position), oe(e, !0, t), Ge(e, t, nt, !1, !0), U = e.result), C ? Ze(e, s, V, N, p, U, r, i, n) : d ? s.push(Ze(e, null, V, N, p, U, r, i, n)) : s.push(p), oe(e, !0, t), E = e.input.charCodeAt(e.position), E === 44 ? (a = !0, E = e.input.charCodeAt(++e.position)) : a = !1;
2543
+ a ? E === 44 && j(e, "expected the node content, but found ','") : j(e, "missed comma between flow collection entries"), N = p = K = null, d = x = !1, E === 63 && (c = e.input.charCodeAt(e.position + 1), he(c) && (d = x = !0, e.position++, oe(e, !0, t))), r = e.line, i = e.lineStart, n = e.position, Ge(e, t, nt, !1, !0), N = e.tag, p = e.result, oe(e, !0, t), E = e.input.charCodeAt(e.position), (x || e.line === r) && E === 58 && (d = !0, E = e.input.charCodeAt(++e.position), oe(e, !0, t), Ge(e, t, nt, !1, !0), K = e.result), C ? Ze(e, s, V, N, p, K, r, i, n) : d ? s.push(Ze(e, null, V, N, p, K, r, i, n)) : s.push(p), oe(e, !0, t), E = e.input.charCodeAt(e.position), E === 44 ? (a = !0, E = e.input.charCodeAt(++e.position)) : a = !1;
2548
2544
  }
2549
2545
  j(e, "unexpected end of the stream within a flow collection");
2550
2546
  }
2551
- function Uo(e, t) {
2547
+ function Ko(e, t) {
2552
2548
  var a, r, i = kt, n = !1, o = !1, s = t, u = 0, c = !1, v, d;
2553
2549
  if (d = e.input.charCodeAt(e.position), d === 124)
2554
2550
  r = !1;
@@ -2563,17 +2559,17 @@ function Uo(e, t) {
2563
2559
  v === 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 = t + v - 1, o = !0);
2564
2560
  else
2565
2561
  break;
2566
- if (Ke(d)) {
2562
+ if (Fe(d)) {
2567
2563
  do
2568
2564
  d = e.input.charCodeAt(++e.position);
2569
- while (Ke(d));
2565
+ while (Fe(d));
2570
2566
  if (d === 35)
2571
2567
  do
2572
2568
  d = e.input.charCodeAt(++e.position);
2573
2569
  while (!Ie(d) && d !== 0);
2574
2570
  }
2575
2571
  for (; d !== 0; ) {
2576
- for (Ft(e), e.lineIndent = 0, d = e.input.charCodeAt(e.position); (!o || e.lineIndent < s) && d === 32; )
2572
+ for (Ut(e), e.lineIndent = 0, d = e.input.charCodeAt(e.position); (!o || e.lineIndent < s) && d === 32; )
2577
2573
  e.lineIndent++, d = e.input.charCodeAt(++e.position);
2578
2574
  if (!o && e.lineIndent > s && (s = e.lineIndent), Ie(d)) {
2579
2575
  u++;
@@ -2585,7 +2581,7 @@ function Uo(e, t) {
2585
2581
  `);
2586
2582
  break;
2587
2583
  }
2588
- for (r ? Ke(d) ? (c = !0, e.result += se.repeat(`
2584
+ for (r ? Fe(d) ? (c = !0, e.result += se.repeat(`
2589
2585
  `, n ? 1 + u : u)) : c ? (c = !1, e.result += se.repeat(`
2590
2586
  `, u + 1)) : u === 0 ? n && (e.result += " ") : e.result += se.repeat(`
2591
2587
  `, u) : e.result += se.repeat(`
@@ -2598,7 +2594,7 @@ function Uo(e, t) {
2598
2594
  function na(e, t) {
2599
2595
  var a, r = e.tag, i = e.anchor, n = [], o, s = !1, u;
2600
2596
  if (e.firstTabInLine !== -1) return !1;
2601
- for (e.anchor !== null && (e.anchorMap[e.anchor] = n), u = e.input.charCodeAt(e.position); u !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), !(u !== 45 || (o = e.input.charCodeAt(e.position + 1), !ye(o)))); ) {
2597
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = n), u = e.input.charCodeAt(e.position); u !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), !(u !== 45 || (o = e.input.charCodeAt(e.position + 1), !he(o)))); ) {
2602
2598
  if (s = !0, e.position++, oe(e, !0, -1) && e.lineIndent <= t) {
2603
2599
  n.push(null), u = e.input.charCodeAt(e.position);
2604
2600
  continue;
@@ -2610,25 +2606,25 @@ function na(e, t) {
2610
2606
  }
2611
2607
  return s ? (e.tag = r, e.anchor = i, e.kind = "sequence", e.result = n, !0) : !1;
2612
2608
  }
2613
- function Ko(e, t, a) {
2614
- var r, i, n, o, s, u, c = e.tag, v = e.anchor, d = {}, x = /* @__PURE__ */ Object.create(null), C = null, V = null, p = null, N = !1, U = !1, E;
2609
+ function Fo(e, t, a) {
2610
+ var r, i, n, o, s, u, c = e.tag, v = e.anchor, d = {}, x = /* @__PURE__ */ Object.create(null), C = null, V = null, p = null, N = !1, K = !1, E;
2615
2611
  if (e.firstTabInLine !== -1) return !1;
2616
2612
  for (e.anchor !== null && (e.anchorMap[e.anchor] = d), E = e.input.charCodeAt(e.position); E !== 0; ) {
2617
- if (!N && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), n = e.line, (E === 63 || E === 58) && ye(r))
2618
- E === 63 ? (N && (Ze(e, d, x, C, V, null, o, s, u), C = V = p = null), U = !0, N = !0, i = !0) : N ? (N = !1, i = !0) : j(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, E = r;
2613
+ if (!N && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), n = e.line, (E === 63 || E === 58) && he(r))
2614
+ E === 63 ? (N && (Ze(e, d, x, C, V, null, o, s, u), C = V = p = null), K = !0, N = !0, i = !0) : N ? (N = !1, i = !0) : j(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, E = r;
2619
2615
  else {
2620
2616
  if (o = e.line, s = e.lineStart, u = e.position, !Ge(e, a, Ga, !1, !0))
2621
2617
  break;
2622
2618
  if (e.line === n) {
2623
- for (E = e.input.charCodeAt(e.position); Ke(E); )
2619
+ for (E = e.input.charCodeAt(e.position); Fe(E); )
2624
2620
  E = e.input.charCodeAt(++e.position);
2625
2621
  if (E === 58)
2626
- E = e.input.charCodeAt(++e.position), ye(E) || j(e, "a whitespace character is expected after the key-value separator within a block mapping"), N && (Ze(e, d, x, C, V, null, o, s, u), C = V = p = null), U = !0, N = !1, i = !1, C = e.tag, V = e.result;
2627
- else if (U)
2622
+ E = e.input.charCodeAt(++e.position), he(E) || j(e, "a whitespace character is expected after the key-value separator within a block mapping"), N && (Ze(e, d, x, C, V, null, o, s, u), C = V = p = null), K = !0, N = !1, i = !1, C = e.tag, V = e.result;
2623
+ else if (K)
2628
2624
  j(e, "can not read an implicit mapping pair; a colon is missed");
2629
2625
  else
2630
2626
  return e.tag = c, e.anchor = v, !0;
2631
- } else if (U)
2627
+ } else if (K)
2632
2628
  j(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2633
2629
  else
2634
2630
  return e.tag = c, e.anchor = v, !0;
@@ -2638,7 +2634,7 @@ function Ko(e, t, a) {
2638
2634
  else if (e.lineIndent < t)
2639
2635
  break;
2640
2636
  }
2641
- return N && Ze(e, d, x, C, V, null, o, s, u), U && (e.tag = c, e.anchor = v, e.kind = "mapping", e.result = d), U;
2637
+ return N && Ze(e, d, x, C, V, null, o, s, u), K && (e.tag = c, e.anchor = v, e.kind = "mapping", e.result = d), K;
2642
2638
  }
2643
2639
  function Ho(e) {
2644
2640
  var t, a = !1, r = !1, i, n, o;
@@ -2649,7 +2645,7 @@ function Ho(e) {
2649
2645
  while (o !== 0 && o !== 62);
2650
2646
  e.position < e.length ? (n = e.input.slice(t, e.position), o = e.input.charCodeAt(++e.position)) : j(e, "unexpected end of the stream within a verbatim tag");
2651
2647
  } else {
2652
- for (; o !== 0 && !ye(o); )
2648
+ for (; o !== 0 && !he(o); )
2653
2649
  o === 33 && (r ? j(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), Ya.test(i) || j(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
2654
2650
  n = e.input.slice(t, e.position), $o.test(n) && j(e, "tag suffix cannot contain flow indicator characters");
2655
2651
  }
@@ -2664,14 +2660,14 @@ function Ho(e) {
2664
2660
  function Bo(e) {
2665
2661
  var t, a;
2666
2662
  if (a = e.input.charCodeAt(e.position), a !== 38) return !1;
2667
- for (e.anchor !== null && j(e, "duplication of an anchor property"), a = e.input.charCodeAt(++e.position), t = e.position; a !== 0 && !ye(a) && !De(a); )
2663
+ for (e.anchor !== null && j(e, "duplication of an anchor property"), a = e.input.charCodeAt(++e.position), t = e.position; a !== 0 && !he(a) && !De(a); )
2668
2664
  a = e.input.charCodeAt(++e.position);
2669
2665
  return e.position === t && j(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
2670
2666
  }
2671
2667
  function zo(e) {
2672
2668
  var t, a, r;
2673
2669
  if (r = e.input.charCodeAt(e.position), r !== 42) return !1;
2674
- for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !ye(r) && !De(r); )
2670
+ for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !he(r) && !De(r); )
2675
2671
  r = e.input.charCodeAt(++e.position);
2676
2672
  return e.position === t && j(e, "name of an alias node must contain at least one character"), a = e.input.slice(t, e.position), Oe.call(e.anchorMap, a) || j(e, 'unidentified alias "' + a + '"'), e.result = e.anchorMap[a], oe(e, !0, -1), !0;
2677
2673
  }
@@ -2680,7 +2676,7 @@ function Ge(e, t, a, r, i) {
2680
2676
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, n = o = s = ot === a || Ja === a, r && oe(e, !0, -1) && (c = !0, e.lineIndent > t ? u = 1 : e.lineIndent === t ? u = 0 : e.lineIndent < t && (u = -1)), u === 1)
2681
2677
  for (; Ho(e) || Bo(e); )
2682
2678
  oe(e, !0, -1) ? (c = !0, s = n, e.lineIndent > t ? u = 1 : e.lineIndent === t ? u = 0 : e.lineIndent < t && (u = -1)) : s = !1;
2683
- if (s && (s = c || i), (u === 1 || ot === a) && (nt === a || Ga === a ? p = t : p = t + 1, N = e.position - e.lineStart, u === 1 ? s && (na(e, N) || Ko(e, N, p)) || Fo(e, p) ? v = !0 : (o && Uo(e, p) || Ro(e, p) || jo(e, p) ? v = !0 : zo(e) ? (v = !0, (e.tag !== null || e.anchor !== null) && j(e, "alias node should not have any properties")) : Oo(e, p, nt === a) && (v = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : u === 0 && (v = s && na(e, N))), e.tag === null)
2679
+ if (s && (s = c || i), (u === 1 || ot === a) && (nt === a || Ga === a ? p = t : p = t + 1, N = e.position - e.lineStart, u === 1 ? s && (na(e, N) || Fo(e, N, p)) || Uo(e, p) ? v = !0 : (o && Ko(e, p) || Ro(e, p) || jo(e, p) ? v = !0 : zo(e) ? (v = !0, (e.tag !== null || e.anchor !== null) && j(e, "alias node should not have any properties")) : Oo(e, p, nt === a) && (v = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : u === 0 && (v = s && na(e, N))), e.tag === null)
2684
2680
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2685
2681
  else if (e.tag === "?") {
2686
2682
  for (e.result !== null && e.kind !== "scalar" && j(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), d = 0, x = e.implicitTypes.length; d < x; d += 1)
@@ -2704,10 +2700,10 @@ function Ge(e, t, a, r, i) {
2704
2700
  function Po(e) {
2705
2701
  var t = e.position, a, r, i, n = !1, o;
2706
2702
  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)); ) {
2707
- for (n = !0, o = e.input.charCodeAt(++e.position), a = e.position; o !== 0 && !ye(o); )
2703
+ for (n = !0, o = e.input.charCodeAt(++e.position), a = e.position; o !== 0 && !he(o); )
2708
2704
  o = e.input.charCodeAt(++e.position);
2709
2705
  for (r = e.input.slice(a, e.position), i = [], r.length < 1 && j(e, "directive name must not be less than one character in length"); o !== 0; ) {
2710
- for (; Ke(o); )
2706
+ for (; Fe(o); )
2711
2707
  o = e.input.charCodeAt(++e.position);
2712
2708
  if (o === 35) {
2713
2709
  do
@@ -2716,11 +2712,11 @@ function Po(e) {
2716
2712
  break;
2717
2713
  }
2718
2714
  if (Ie(o)) break;
2719
- for (a = e.position; o !== 0 && !ye(o); )
2715
+ for (a = e.position; o !== 0 && !he(o); )
2720
2716
  o = e.input.charCodeAt(++e.position);
2721
2717
  i.push(e.input.slice(a, e.position));
2722
2718
  }
2723
- o !== 0 && Ft(e), Oe.call(ia, r) ? ia[r](e, r, i) : lt(e, 'unknown document directive "' + r + '"');
2719
+ o !== 0 && Ut(e), Oe.call(ia, r) ? ia[r](e, r, i) : lt(e, 'unknown document directive "' + r + '"');
2724
2720
  }
2725
2721
  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)) : n && j(e, "directives end mark is expected"), Ge(e, e.lineIndent - 1, ot, !1, !0), oe(e, !0, -1), e.checkLineBreaks && No.test(e.input.slice(t, e.position)) && lt(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && mt(e)) {
2726
2722
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, oe(e, !0, -1));
@@ -2760,7 +2756,7 @@ function Zo(e, t) {
2760
2756
  var Wo = Do, Go = Zo, ii = {
2761
2757
  loadAll: Wo,
2762
2758
  load: Go
2763
- }, ri = Object.prototype.toString, ni = Object.prototype.hasOwnProperty, Kt = 65279, Jo = 9, Qe = 10, Yo = 13, Qo = 32, Xo = 33, el = 34, It = 35, tl = 37, al = 38, il = 39, rl = 42, oi = 44, nl = 45, st = 58, ol = 61, ll = 62, sl = 63, ul = 64, li = 91, si = 93, cl = 96, ui = 123, dl = 124, ci = 125, me = {};
2759
+ }, ri = Object.prototype.toString, ni = Object.prototype.hasOwnProperty, Ft = 65279, Jo = 9, Qe = 10, Yo = 13, Qo = 32, Xo = 33, el = 34, It = 35, tl = 37, al = 38, il = 39, rl = 42, oi = 44, nl = 45, st = 58, ol = 61, ll = 62, sl = 63, ul = 64, li = 91, si = 93, cl = 96, ui = 123, dl = 124, ci = 125, me = {};
2764
2760
  me[0] = "\\0";
2765
2761
  me[7] = "\\a";
2766
2762
  me[8] = "\\b";
@@ -2814,7 +2810,7 @@ function ml(e) {
2814
2810
  return "\\" + a + se.repeat("0", r - t.length) + t;
2815
2811
  }
2816
2812
  var vl = 1, Xe = 2;
2817
- function hl(e) {
2813
+ function yl(e) {
2818
2814
  this.schema = e.schema || jt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = se.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = gl(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Xe : vl, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
2819
2815
  }
2820
2816
  function oa(e, t) {
@@ -2828,7 +2824,7 @@ function Vt(e, t) {
2828
2824
  return `
2829
2825
  ` + se.repeat(" ", e.indent * t);
2830
2826
  }
2831
- function yl(e, t) {
2827
+ function hl(e, t) {
2832
2828
  var a, r, i;
2833
2829
  for (a = 0, r = e.implicitTypes.length; a < r; a += 1)
2834
2830
  if (i = e.implicitTypes[a], i.resolve(t))
@@ -2839,10 +2835,10 @@ function ut(e) {
2839
2835
  return e === Qo || e === Jo;
2840
2836
  }
2841
2837
  function et(e) {
2842
- return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Kt || 65536 <= e && e <= 1114111;
2838
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Ft || 65536 <= e && e <= 1114111;
2843
2839
  }
2844
2840
  function la(e) {
2845
- return et(e) && e !== Kt && e !== Yo && e !== Qe;
2841
+ return et(e) && e !== Ft && e !== Yo && e !== Qe;
2846
2842
  }
2847
2843
  function sa(e, t, a) {
2848
2844
  var r = la(e), i = r && !ut(e);
@@ -2855,7 +2851,7 @@ function sa(e, t, a) {
2855
2851
  );
2856
2852
  }
2857
2853
  function bl(e) {
2858
- return et(e) && e !== Kt && !ut(e) && e !== nl && e !== sl && e !== st && e !== oi && e !== li && e !== si && e !== ui && e !== ci && e !== It && e !== al && e !== rl && e !== Xo && e !== dl && e !== ol && e !== ll && e !== il && e !== el && e !== tl && e !== ul && e !== cl;
2854
+ return et(e) && e !== Ft && !ut(e) && e !== nl && e !== sl && e !== st && e !== oi && e !== li && e !== si && e !== ui && e !== ci && e !== It && e !== al && e !== rl && e !== Xo && e !== dl && e !== ol && e !== ll && e !== il && e !== el && e !== tl && e !== ul && e !== cl;
2859
2855
  }
2860
2856
  function Cl(e) {
2861
2857
  return !ut(e) && e !== st;
@@ -2898,7 +2894,7 @@ function _l(e, t, a, r, i) {
2898
2894
  return e.quotingType === Xe ? '"' + t + '"' : "'" + t + "'";
2899
2895
  var n = e.indent * Math.max(1, a), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - n), s = r || e.flowLevel > -1 && a >= e.flowLevel;
2900
2896
  function u(c) {
2901
- return yl(e, c);
2897
+ return hl(e, c);
2902
2898
  }
2903
2899
  switch (kl(
2904
2900
  t,
@@ -3055,7 +3051,7 @@ function $t(e, t, a) {
3055
3051
  }
3056
3052
  function Nl(e, t) {
3057
3053
  t = t || {};
3058
- var a = new hl(t);
3054
+ var a = new yl(t);
3059
3055
  a.noRefs || Vl(e, a);
3060
3056
  var r = e;
3061
3057
  return a.replacer && (r = a.replacer.call({ "": r }, "", r)), Le(a, 0, r, !0, !0) ? a.dump + `
@@ -3069,7 +3065,7 @@ function Ht(e, t) {
3069
3065
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
3070
3066
  };
3071
3067
  }
3072
- var Ll = ge, El = $a, Ml = Ma, ql = Fa, Ol = Ua, Rl = jt, jl = ii.load, Fl = ii.loadAll, Ul = Tl.dump, Kl = ve, Hl = {
3068
+ var Ll = ge, El = $a, Ml = Ma, ql = Ua, Ol = Ka, Rl = jt, jl = ii.load, Ul = ii.loadAll, Kl = Tl.dump, Fl = ve, Hl = {
3073
3069
  binary: Pa,
3074
3070
  float: ja,
3075
3071
  map: Ea,
@@ -3091,9 +3087,9 @@ var Ll = ge, El = $a, Ml = Ma, ql = Fa, Ol = Ua, Rl = jt, jl = ii.load, Fl = ii.
3091
3087
  CORE_SCHEMA: Ol,
3092
3088
  DEFAULT_SCHEMA: Rl,
3093
3089
  load: jl,
3094
- loadAll: Fl,
3095
- dump: Ul,
3096
- YAMLException: Kl,
3090
+ loadAll: Ul,
3091
+ dump: Kl,
3092
+ YAMLException: Fl,
3097
3093
  types: Hl,
3098
3094
  safeLoad: Bl,
3099
3095
  safeLoadAll: zl,
@@ -3189,10 +3185,10 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
3189
3185
  key: c.key,
3190
3186
  item: c
3191
3187
  }, We({
3192
- label: y(() => [
3188
+ label: h(() => [
3193
3189
  re(o.$slots, `${c.key}-label`, { row: c }, void 0, !0)
3194
3190
  ]),
3195
- [c.key]: y(({ rowValue: v }) => [
3191
+ [c.key]: h(({ rowValue: v }) => [
3196
3192
  re(o.$slots, c.key, {
3197
3193
  row: c,
3198
3194
  rowValue: v
@@ -3202,7 +3198,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
3202
3198
  }, [
3203
3199
  i(c) ? {
3204
3200
  name: "label-tooltip",
3205
- fn: y(() => [
3201
+ fn: h(() => [
3206
3202
  re(o.$slots, `${c.key}-label-tooltip`, { row: c }, void 0, !0)
3207
3203
  ]),
3208
3204
  key: "0"
@@ -3310,7 +3306,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
3310
3306
  "data-testid": "kui-icon-wrapper-add-icon",
3311
3307
  style: ke(r.value)
3312
3308
  }, {
3313
- default: y(() => [
3309
+ default: h(() => [
3314
3310
  (m(), I("svg", {
3315
3311
  "aria-hidden": e.decorative ? "true" : void 0,
3316
3312
  "data-testid": "kui-icon-svg-add-icon",
@@ -3410,7 +3406,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
3410
3406
  "data-testid": "kui-icon-wrapper-book-icon",
3411
3407
  style: ke(r.value)
3412
3408
  }, {
3413
- default: y(() => [
3409
+ default: h(() => [
3414
3410
  (m(), I("svg", {
3415
3411
  "aria-hidden": e.decorative ? "true" : void 0,
3416
3412
  "data-testid": "kui-icon-svg-book-icon",
@@ -3510,7 +3506,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
3510
3506
  "data-testid": "kui-icon-wrapper-chevron-down-icon",
3511
3507
  style: ke(r.value)
3512
3508
  }, {
3513
- default: y(() => [
3509
+ default: h(() => [
3514
3510
  (m(), I("svg", {
3515
3511
  "aria-hidden": e.decorative ? "true" : void 0,
3516
3512
  "data-testid": "kui-icon-svg-chevron-down-icon",
@@ -3528,10 +3524,10 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
3528
3524
  _: 1
3529
3525
  }, 8, ["aria-hidden", "style"]));
3530
3526
  }
3531
- }), vs = /* @__PURE__ */ at(ms, [["__scopeId", "data-v-745761f6"]]), hs = (e) => (_e("data-v-863d10eb"), e = e(), we(), e), ys = ["aria-hidden"], bs = {
3527
+ }), vs = /* @__PURE__ */ at(ms, [["__scopeId", "data-v-745761f6"]]), ys = (e) => (_e("data-v-863d10eb"), e = e(), we(), e), hs = ["aria-hidden"], bs = {
3532
3528
  key: 0,
3533
3529
  "data-testid": "kui-icon-svg-title"
3534
- }, Cs = /* @__PURE__ */ hs(() => /* @__PURE__ */ A("path", {
3530
+ }, Cs = /* @__PURE__ */ ys(() => /* @__PURE__ */ A("path", {
3535
3531
  d: "M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z",
3536
3532
  fill: "currentColor"
3537
3533
  }, null, -1)), ks = /* @__PURE__ */ G({
@@ -3610,7 +3606,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
3610
3606
  "data-testid": "kui-icon-wrapper-close-icon",
3611
3607
  style: ke(r.value)
3612
3608
  }, {
3613
- default: y(() => [
3609
+ default: h(() => [
3614
3610
  (m(), I("svg", {
3615
3611
  "aria-hidden": e.decorative ? "true" : void 0,
3616
3612
  "data-testid": "kui-icon-svg-close-icon",
@@ -3623,7 +3619,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
3623
3619
  }, [
3624
3620
  e.title ? (m(), I("title", bs, M(e.title), 1)) : W("", !0),
3625
3621
  Cs
3626
- ], 8, ys))
3622
+ ], 8, hs))
3627
3623
  ]),
3628
3624
  _: 1
3629
3625
  }, 8, ["aria-hidden", "style"]));
@@ -3710,7 +3706,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
3710
3706
  "data-testid": "kui-icon-wrapper-more-icon",
3711
3707
  style: ke(r.value)
3712
3708
  }, {
3713
- default: y(() => [
3709
+ default: h(() => [
3714
3710
  (m(), I("svg", {
3715
3711
  "aria-hidden": e.decorative ? "true" : void 0,
3716
3712
  "data-testid": "kui-icon-svg-more-icon",
@@ -3824,57 +3820,57 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
3824
3820
  label: "YAML",
3825
3821
  value: "yaml"
3826
3822
  }
3827
- ], v = F("structured"), d = (f) => {
3823
+ ], v = U("structured"), d = (f) => {
3828
3824
  v.value = f == null ? void 0 : f.value;
3829
3825
  }, x = {
3830
3826
  id: {
3831
3827
  type: Q.ID,
3832
3828
  label: n("baseConfigCard.commonFields.id_label"),
3833
3829
  order: 0,
3834
- section: he.Basic
3830
+ section: ye.Basic
3835
3831
  },
3836
3832
  name: {
3837
3833
  order: 1,
3838
- section: he.Basic
3834
+ section: ye.Basic
3839
3835
  },
3840
3836
  enabled: {
3841
3837
  type: Q.BadgeStatus,
3842
3838
  order: 2,
3843
- section: he.Basic
3839
+ section: ye.Basic
3844
3840
  },
3845
3841
  updated_at: {
3846
3842
  type: Q.Date,
3847
3843
  label: n("baseConfigCard.commonFields.updated_at_label"),
3848
3844
  order: 3,
3849
- section: he.Basic
3845
+ section: ye.Basic
3850
3846
  },
3851
3847
  created_at: {
3852
3848
  type: Q.Date,
3853
3849
  label: n("baseConfigCard.commonFields.created_at_label"),
3854
3850
  order: 4,
3855
- section: he.Basic
3851
+ section: ye.Basic
3856
3852
  },
3857
3853
  tags: {
3858
3854
  type: Q.BadgeTag,
3859
3855
  order: -1,
3860
3856
  // the last property displayed
3861
- section: he.Basic
3857
+ section: ye.Basic
3862
3858
  }
3863
- }, C = F(!1), V = F(!1), p = F(""), N = F({}), U = S(() => {
3864
- var f, _, L;
3859
+ }, C = U(!1), V = U(!1), p = U(""), N = U({}), K = S(() => {
3860
+ var f, w, L;
3865
3861
  if (!N.value)
3866
3862
  return [];
3867
- const R = [], z = Object.keys(N.value).length;
3863
+ const O = [], z = Object.keys(N.value).length;
3868
3864
  for (const B in N.value) {
3869
- const K = (_ = (f = i.configSchema) == null ? void 0 : f[B]) == null ? void 0 : _.order, J = (L = x[B]) == null ? void 0 : L.order;
3865
+ const F = (w = (f = i.configSchema) == null ? void 0 : f[B]) == null ? void 0 : w.order, J = (L = x[B]) == null ? void 0 : L.order;
3870
3866
  let H = z;
3871
- (J || J === 0) && (H = J === -1 ? z + 1 : J), K && (H = K === -1 ? z + 1 : K), R.push([B, H]);
3867
+ (J || J === 0) && (H = J === -1 ? z + 1 : J), F && (H = F === -1 ? z + 1 : F), O.push([B, H]);
3872
3868
  }
3873
- return R.sort(function(B, K) {
3874
- return B[1] - K[1];
3875
- }), R.map((B) => {
3876
- var K, J;
3877
- const H = B[0], te = (K = N.value) == null ? void 0 : K[H], ae = ((J = i.configSchema) == null ? void 0 : J[H]) || {}, X = x[H];
3869
+ return O.sort(function(B, F) {
3870
+ return B[1] - F[1];
3871
+ }), O.map((B) => {
3872
+ var F, J;
3873
+ const H = B[0], te = (F = N.value) == null ? void 0 : F[H], ae = ((J = i.configSchema) == null ? void 0 : J[H]) || {}, X = x[H];
3878
3874
  return {
3879
3875
  key: H,
3880
3876
  value: te,
@@ -3882,24 +3878,24 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
3882
3878
  type: ae.type ?? ((X == null ? void 0 : X.type) || Q.Text),
3883
3879
  label: ae.label ?? ((X == null ? void 0 : X.label) || s(H)),
3884
3880
  tooltip: ae.tooltip ?? ((X == null ? void 0 : X.tooltip) || void 0),
3885
- section: ae.section ?? ((X == null ? void 0 : X.section) || he.Advanced)
3881
+ section: ae.section ?? ((X == null ? void 0 : X.section) || ye.Advanced)
3886
3882
  };
3887
3883
  }).filter((B) => !B.hidden && B.key !== i.pluginConfigKey);
3888
3884
  }), E = S(() => {
3889
- var f, _;
3885
+ var f, w;
3890
3886
  if (!N.value || !i.pluginConfigKey)
3891
3887
  return [];
3892
- const L = N.value[i.pluginConfigKey] || {}, R = Object.keys(L).length, z = [];
3888
+ const L = N.value[i.pluginConfigKey] || {}, O = Object.keys(L).length, z = [];
3893
3889
  for (const B in L) {
3894
- const K = (_ = (f = i.pluginConfigSchema) == null ? void 0 : f[B]) == null ? void 0 : _.order, J = L[B];
3895
- let H = J != null && J !== "" ? R - 1 : R;
3896
- K && (H = K === -1 ? R + 1 : K), z.push([B, H]);
3890
+ const F = (w = (f = i.pluginConfigSchema) == null ? void 0 : f[B]) == null ? void 0 : w.order, J = L[B];
3891
+ let H = J != null && J !== "" ? O - 1 : O;
3892
+ F && (H = F === -1 ? O + 1 : F), z.push([B, H]);
3897
3893
  }
3898
- return z.sort(function(B, K) {
3899
- return B[1] - K[1];
3894
+ return z.sort(function(B, F) {
3895
+ return B[1] - F[1];
3900
3896
  }), z.map((B) => {
3901
- var K;
3902
- const J = B[0], H = L[J], te = ((K = i.pluginConfigSchema) == null ? void 0 : K[J]) || {};
3897
+ var F;
3898
+ const J = B[0], H = L[J], te = ((F = i.pluginConfigSchema) == null ? void 0 : F[J]) || {};
3903
3899
  return {
3904
3900
  key: J,
3905
3901
  value: H,
@@ -3907,23 +3903,23 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
3907
3903
  type: te.type ?? Q.Text,
3908
3904
  label: te.label ?? s(J),
3909
3905
  tooltip: te.tooltip ?? void 0,
3910
- section: he.Plugin
3906
+ section: ye.Plugin
3911
3907
  };
3912
3908
  }).filter((B) => !B.hidden);
3913
- }), q = S(() => {
3914
- var f, _, L, R;
3909
+ }), R = S(() => {
3910
+ var f, w, L, O;
3915
3911
  return {
3916
- basic: (f = U.value) == null ? void 0 : f.filter((z) => z.section === he.Basic),
3917
- advanced: (_ = U.value) == null ? void 0 : _.filter((z) => z.section === he.Advanced),
3918
- plugin: (R = E.value) == null ? void 0 : R.concat((L = U.value) == null ? void 0 : L.filter((z) => z.section === he.Plugin))
3912
+ basic: (f = K.value) == null ? void 0 : f.filter((z) => z.section === ye.Basic),
3913
+ advanced: (w = K.value) == null ? void 0 : w.filter((z) => z.section === ye.Advanced),
3914
+ plugin: (O = E.value) == null ? void 0 : O.concat((L = K.value) == null ? void 0 : L.filter((z) => z.section === ye.Plugin))
3919
3915
  };
3920
3916
  }), $ = S(() => {
3921
3917
  const f = [];
3922
- return q.value.basic.length && f.push("basic"), q.value.advanced.length && f.push("advanced"), q.value.plugin.length && f.push("plugin"), f;
3918
+ return R.value.basic.length && f.push("basic"), R.value.advanced.length && f.push("advanced"), R.value.plugin.length && f.push("plugin"), f;
3923
3919
  }), T = S(() => {
3924
- var f, _;
3920
+ var f, w;
3925
3921
  let L = `${i.config.apiBaseUrl}${i.fetchUrl}`;
3926
- return i.config.app === "konnect" ? L = L.replace(/{controlPlaneId}/gi, ((f = i.config) == null ? void 0 : f.controlPlaneId) || "") : i.config.app === "kongManager" && (L = L.replace(/\/{workspace}/gi, (_ = i.config) != null && _.workspace ? `/${i.config.workspace}` : "")), L = L.replace(/{id}/gi, i.config.entityId), L;
3922
+ return i.config.app === "konnect" ? L = L.replace(/{controlPlaneId}/gi, ((f = i.config) == null ? void 0 : f.controlPlaneId) || "") : i.config.app === "kongManager" && (L = L.replace(/\/{workspace}/gi, (w = i.config) != null && w.workspace ? `/${i.config.workspace}` : "")), L = L.replace(/{id}/gi, i.config.entityId), L;
3927
3923
  });
3928
3924
  return Re(C, (f) => {
3929
3925
  r("loading", f);
@@ -3938,34 +3934,34 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
3938
3934
  throw new Error(n("errors.dataKeyUndefined", { dataKey: i.dataKey }));
3939
3935
  else
3940
3936
  N.value = { ...f };
3941
- Object.keys(i.configSchema).filter((_) => i.configSchema[_].forceShow).forEach((_) => {
3942
- N.value && typeof N.value[_] > "u" && (N.value[_] = null);
3937
+ Object.keys(i.configSchema).filter((w) => i.configSchema[w].forceShow).forEach((w) => {
3938
+ N.value && typeof N.value[w] > "u" && (N.value[w] = null);
3943
3939
  }), r("fetch:success", f);
3944
3940
  } catch (f) {
3945
- const _ = o(f);
3946
- p.value = _.startsWith("code") ? n("baseConfigCard.errors.load") : _, V.value = !0, r("fetch:error", f);
3941
+ const w = o(f);
3942
+ p.value = w.startsWith("code") ? n("baseConfigCard.errors.load") : w, V.value = !0, r("fetch:error", f);
3947
3943
  } finally {
3948
3944
  C.value = !1;
3949
3945
  }
3950
- }), (f, _) => {
3951
- const L = D("KLabel"), R = D("KSelect"), z = D("KButton"), B = D("KSkeleton"), K = D("KEmptyState"), J = D("KCard");
3946
+ }), (f, w) => {
3947
+ const L = D("KLabel"), O = D("KSelect"), z = D("KButton"), B = D("KSkeleton"), F = D("KEmptyState"), J = D("KCard");
3952
3948
  return m(), P(J, {
3953
3949
  class: "kong-ui-entity-base-config-card",
3954
3950
  "title-tag": e.titleTag
3955
3951
  }, We({
3956
- actions: y(() => [
3952
+ actions: h(() => [
3957
3953
  A("div", $s, [
3958
3954
  re(f.$slots, "actions", {}, void 0, !0),
3959
- h(L, {
3955
+ y(L, {
3960
3956
  class: "config-format-select-label",
3961
3957
  "data-testid": "config-format-select-label"
3962
3958
  }, {
3963
- default: y(() => [
3959
+ default: h(() => [
3964
3960
  Y(M(e.label), 1)
3965
3961
  ]),
3966
3962
  _: 1
3967
3963
  }),
3968
- h(R, {
3964
+ y(O, {
3969
3965
  "data-testid": "select-config-format",
3970
3966
  items: c,
3971
3967
  onChange: d
@@ -3976,47 +3972,47 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
3976
3972
  class: "book-icon",
3977
3973
  "data-testid": "book-icon"
3978
3974
  }, {
3979
- default: y(() => [
3975
+ default: h(() => [
3980
3976
  A("a", {
3981
3977
  href: e.configCardDoc,
3982
3978
  rel: "noopener",
3983
3979
  target: "_blank"
3984
3980
  }, [
3985
- h(l(cs), { size: l(dn) }, null, 8, ["size"])
3981
+ y(l(cs), { size: l(dn) }, null, 8, ["size"])
3986
3982
  ], 8, Ts)
3987
3983
  ]),
3988
3984
  _: 1
3989
3985
  })) : W("", !0)
3990
3986
  ])
3991
3987
  ]),
3992
- default: y(() => [
3988
+ default: h(() => [
3993
3989
  C.value ? (m(), P(B, {
3994
3990
  key: 0,
3995
3991
  "data-testid": "config-card-loader",
3996
3992
  "table-columns": 2,
3997
3993
  type: "table"
3998
- })) : V.value ? (m(), P(K, {
3994
+ })) : V.value ? (m(), P(F, {
3999
3995
  key: 1,
4000
3996
  "data-testid": "config-card-fetch-error",
4001
3997
  "icon-variant": "error"
4002
3998
  }, {
4003
- default: y(() => [
3999
+ default: h(() => [
4004
4000
  A("h3", null, M(p.value), 1)
4005
4001
  ]),
4006
4002
  _: 1
4007
4003
  })) : W("", !0),
4008
4004
  A("div", Ls, [
4009
- h(Ql, {
4005
+ y(Ql, {
4010
4006
  config: e.config,
4011
4007
  "fetcher-url": T.value,
4012
4008
  format: v.value,
4013
4009
  "prop-list-types": $.value,
4014
- "property-collections": q.value,
4010
+ "property-collections": R.value,
4015
4011
  record: N.value
4016
4012
  }, We({ _: 2 }, [
4017
4013
  xe(Object.keys(f.$slots), (H) => ({
4018
4014
  name: H,
4019
- fn: y(({ row: te, rowValue: ae }) => [
4015
+ fn: h(({ row: te, rowValue: ae }) => [
4020
4016
  re(f.$slots, H, {
4021
4017
  row: te,
4022
4018
  rowValue: ae
@@ -4030,7 +4026,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4030
4026
  }, [
4031
4027
  e.hideTitle ? void 0 : {
4032
4028
  name: "title",
4033
- fn: y(() => [
4029
+ fn: h(() => [
4034
4030
  A("span", Ns, [
4035
4031
  re(f.$slots, "title", {}, () => [
4036
4032
  Y(M(l(n)("baseConfigCard.title")), 1)
@@ -4114,19 +4110,19 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4114
4110
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
4115
4111
  setup(e, { emit: t }) {
4116
4112
  var a;
4117
- const r = t, i = e, n = pt(), { i18n: { t: o } } = ue.useI18n(), { getMessageFromError: s } = ue.useErrors(), { axiosInstance: u } = ue.useAxios((a = i.config) == null ? void 0 : a.axiosRequestConfig), c = F(!1), v = F(!1), d = F(""), x = S(() => i.canSubmit === !1 || i.isReadonly), C = F(!1), V = S(() => {
4113
+ const r = t, i = e, n = pt(), { i18n: { t: o } } = ue.useI18n(), { getMessageFromError: s } = ue.useErrors(), { axiosInstance: u } = ue.useAxios((a = i.config) == null ? void 0 : a.axiosRequestConfig), c = U(!1), v = U(!1), d = U(""), x = S(() => i.canSubmit === !1 || i.isReadonly), C = U(!1), V = S(() => {
4118
4114
  var $, T;
4119
4115
  let f = `${i.config.apiBaseUrl}${i.fetchUrl}`;
4120
4116
  return i.config.app === "konnect" ? f = f.replace(/{controlPlaneId}/gi, (($ = i.config) == null ? void 0 : $.controlPlaneId) || "") : i.config.app === "kongManager" && (f = f.replace(/\/{workspace}/gi, (T = i.config) != null && T.workspace ? `/${i.config.workspace}` : "")), i.editId ? (f = f.replace(/{id}/gi, i.editId), f) : (f = f.replace(/\/{id}/gi, ""), f);
4121
4117
  }), p = () => {
4122
4118
  C.value = !C.value;
4123
4119
  }, N = () => {
4124
- i.config.cancelRoute ? n.push(i.config.cancelRoute) : U();
4125
- }, U = () => {
4120
+ i.config.cancelRoute ? n.push(i.config.cancelRoute) : K();
4121
+ }, K = () => {
4126
4122
  r("cancel");
4127
4123
  }, E = () => {
4128
4124
  x.value || r("submit");
4129
- }, q = F([
4125
+ }, R = U([
4130
4126
  {
4131
4127
  title: o("baseForm.configuration.yaml"),
4132
4128
  hash: "#yaml"
@@ -4151,20 +4147,20 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4151
4147
  c.value = !1;
4152
4148
  }
4153
4149
  }), ($, T) => {
4154
- const f = D("KSkeleton"), _ = D("KEmptyState"), L = D("KAlert"), R = D("KButton"), z = D("KTabs"), B = D("KSlideout");
4150
+ const f = D("KSkeleton"), w = D("KEmptyState"), L = D("KAlert"), O = D("KButton"), z = D("KTabs"), B = D("KSlideout");
4155
4151
  return m(), P(ce(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
4156
- default: y(() => [
4152
+ default: h(() => [
4157
4153
  c.value ? (m(), P(f, {
4158
4154
  key: 0,
4159
4155
  type: "form"
4160
- })) : v.value ? (m(), P(_, {
4156
+ })) : v.value ? (m(), P(w, {
4161
4157
  key: 1,
4162
4158
  "action-button-text": l(o)("baseForm.actions.back"),
4163
4159
  "data-testid": "form-fetch-error",
4164
4160
  "icon-variant": "error",
4165
4161
  onClickAction: N
4166
4162
  }, {
4167
- default: y(() => [
4163
+ default: h(() => [
4168
4164
  A("h3", null, M(d.value), 1)
4169
4165
  ]),
4170
4166
  _: 1
@@ -4172,7 +4168,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4172
4168
  key: 2,
4173
4169
  "data-testid": "form-content",
4174
4170
  novalidate: i.noValidate,
4175
- onReset: St(U, ["prevent"]),
4171
+ onReset: St(K, ["prevent"]),
4176
4172
  onSubmit: St(E, ["prevent"])
4177
4173
  }, [
4178
4174
  re($.$slots, "default", {}, void 0, !0),
@@ -4184,34 +4180,34 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4184
4180
  }, null, 8, ["message"])) : W("", !0),
4185
4181
  A("div", Os, [
4186
4182
  re($.$slots, "form-actions", {}, () => [
4187
- h(R, {
4183
+ y(O, {
4188
4184
  appearance: "tertiary",
4189
4185
  "data-testid": "form-view-configuration",
4190
- onClick: T[0] || (T[0] = (K) => p())
4186
+ onClick: T[0] || (T[0] = (F) => p())
4191
4187
  }, {
4192
- default: y(() => [
4188
+ default: h(() => [
4193
4189
  Y(M(l(o)("baseForm.actions.viewConfiguration")), 1)
4194
4190
  ]),
4195
4191
  _: 1
4196
4192
  }),
4197
- h(R, {
4193
+ y(O, {
4198
4194
  appearance: "secondary",
4199
4195
  "data-testid": "form-cancel",
4200
4196
  disabled: e.isReadonly,
4201
4197
  type: "reset"
4202
4198
  }, {
4203
- default: y(() => [
4199
+ default: h(() => [
4204
4200
  Y(M(l(o)("baseForm.actions.cancel")), 1)
4205
4201
  ]),
4206
4202
  _: 1
4207
4203
  }, 8, ["disabled"]),
4208
- h(R, {
4204
+ y(O, {
4209
4205
  appearance: "primary",
4210
4206
  "data-testid": "form-submit",
4211
4207
  disabled: x.value,
4212
4208
  type: "submit"
4213
4209
  }, {
4214
- default: y(() => [
4210
+ default: h(() => [
4215
4211
  Y(M(l(o)("baseForm.actions.save")), 1)
4216
4212
  ]),
4217
4213
  _: 1
@@ -4219,31 +4215,31 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4219
4215
  ], !0)
4220
4216
  ])
4221
4217
  ], 40, qs)),
4222
- h(B, {
4218
+ y(B, {
4223
4219
  "close-on-blur": !1,
4224
4220
  "data-testid": "form-view-configuration-slideout",
4225
4221
  "has-overlay": !1,
4226
4222
  "offset-top": 60,
4227
4223
  title: l(o)("baseForm.configuration.title"),
4228
4224
  visible: C.value,
4229
- onClose: T[1] || (T[1] = (K) => p())
4225
+ onClose: T[1] || (T[1] = (F) => p())
4230
4226
  }, {
4231
- default: y(() => [
4227
+ default: h(() => [
4232
4228
  A("div", null, M(l(o)("baseForm.configuration.message")), 1),
4233
- h(z, {
4229
+ y(z, {
4234
4230
  "data-testid": "form-view-configuration-slideout-tabs",
4235
- tabs: q.value
4231
+ tabs: R.value
4236
4232
  }, {
4237
- json: y(() => [
4238
- h(Ia, {
4233
+ json: h(() => [
4234
+ y(Ia, {
4239
4235
  config: e.config,
4240
4236
  "fetcher-url": V.value,
4241
4237
  "json-record": i.formFields,
4242
4238
  "request-method": i.editId ? "put" : "post"
4243
4239
  }, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
4244
4240
  ]),
4245
- yaml: y(() => [
4246
- h(mi, {
4241
+ yaml: h(() => [
4242
+ y(mi, {
4247
4243
  "yaml-record": i.formFields
4248
4244
  }, null, 8, ["yaml-record"])
4249
4245
  ]),
@@ -4257,7 +4253,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4257
4253
  });
4258
4254
  };
4259
4255
  }
4260
- }), vi = /* @__PURE__ */ Se(Rs, [["__scopeId", "data-v-fd05df8e"]]), js = ["data-truncate"], Fs = /* @__PURE__ */ G({
4256
+ }), vi = /* @__PURE__ */ Se(Rs, [["__scopeId", "data-v-fd05df8e"]]), js = ["data-truncate"], Us = /* @__PURE__ */ G({
4261
4257
  __name: "EntityBaseTableCell",
4262
4258
  props: {
4263
4259
  keyName: {
@@ -4281,32 +4277,32 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4281
4277
  var N;
4282
4278
  return ((N = a.value) == null ? void 0 : N.querySelector('[data-truncate="true"]')) || null;
4283
4279
  }), i = S(() => {
4284
- var N, U;
4280
+ var N, K;
4285
4281
  const E = (N = t.rowEl) == null ? void 0 : N.querySelectorAll("td");
4286
- return E ? ((U = E[0]) == null ? void 0 : U.getAttribute("data-testid")) === t.keyName : !0;
4282
+ return E ? ((K = E[0]) == null ? void 0 : K.getAttribute("data-testid")) === t.keyName : !0;
4287
4283
  }), n = S(() => i.value || t.tooltip);
4288
4284
  let o;
4289
4285
  const s = () => {
4290
4286
  o && (o.disconnect(), o = void 0);
4291
4287
  }, u = () => {
4292
- var N, U, E;
4293
- let q = ((N = a.value) == null ? void 0 : N.clientWidth) || 0;
4288
+ var N, K, E;
4289
+ let R = ((N = a.value) == null ? void 0 : N.clientWidth) || 0;
4294
4290
  if (a.value && "getComputedStyle" in window) {
4295
4291
  const $ = window.getComputedStyle(a.value);
4296
- q -= (parseFloat($.paddingLeft) || 0) + (parseFloat($.paddingRight) || 0);
4292
+ R -= (parseFloat($.paddingLeft) || 0) + (parseFloat($.paddingRight) || 0);
4297
4293
  }
4298
- v.value = ((U = r.value) == null ? void 0 : U.getBoundingClientRect().width) || 0, d.value = q, x.value = ((E = c.value) == null ? void 0 : E.innerText) || "";
4299
- }, c = F({}), v = F(0), d = F(0), x = F(""), C = S(() => [r.value, a.value]), V = Re(
4294
+ v.value = ((K = r.value) == null ? void 0 : K.getBoundingClientRect().width) || 0, d.value = R, x.value = ((E = c.value) == null ? void 0 : E.innerText) || "";
4295
+ }, c = U({}), v = U(0), d = U(0), x = U(""), C = S(() => [r.value, a.value]), V = Re(
4300
4296
  C,
4301
4297
  (N) => {
4302
4298
  if (n.value && (s(), "ResizeObserver" in window && window)) {
4303
- o = new ResizeObserver((U) => {
4299
+ o = new ResizeObserver((K) => {
4304
4300
  window.requestAnimationFrame(() => {
4305
- !Array.isArray(U) || !U.length || u();
4301
+ !Array.isArray(K) || !K.length || u();
4306
4302
  });
4307
4303
  });
4308
- for (const U of N)
4309
- U && o.observe(U);
4304
+ for (const K of N)
4305
+ K && o.observe(K);
4310
4306
  }
4311
4307
  },
4312
4308
  { immediate: !0, flush: "post", deep: !0 }
@@ -4315,7 +4311,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4315
4311
  u();
4316
4312
  }), Ai(() => {
4317
4313
  V();
4318
- }), (N, U) => {
4314
+ }), (N, K) => {
4319
4315
  const E = D("KTooltip");
4320
4316
  return m(), I("span", {
4321
4317
  ref_key: "contentRef",
@@ -4326,12 +4322,12 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4326
4322
  key: 0,
4327
4323
  "data-truncate": n.value || void 0
4328
4324
  }, [
4329
- h(E, {
4325
+ y(E, {
4330
4326
  "max-width": "300",
4331
4327
  placement: "bottom-start",
4332
4328
  text: p.value ? x.value : ""
4333
4329
  }, {
4334
- default: y(() => [
4330
+ default: h(() => [
4335
4331
  re(N.$slots, "default", {}, void 0, !0)
4336
4332
  ]),
4337
4333
  _: 3
@@ -4340,7 +4336,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4340
4336
  ], 512);
4341
4337
  };
4342
4338
  }
4343
- }), Us = /* @__PURE__ */ Se(Fs, [["__scopeId", "data-v-b252463e"]]), Ks = { class: "toolbar-container" }, Hs = {
4339
+ }), Ks = /* @__PURE__ */ Se(Us, [["__scopeId", "data-v-b252463e"]]), Fs = { class: "toolbar-container" }, Hs = {
4344
4340
  key: 0,
4345
4341
  class: "toolbar-button-container"
4346
4342
  }, Bs = ["data-testid"], zs = /* @__PURE__ */ G({
@@ -4462,7 +4458,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4462
4458
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
4463
4459
  setup(e, { emit: t }) {
4464
4460
  const a = e, r = t, { i18n: { t: i } } = ue.useI18n(), n = S(() => {
4465
- var f, _;
4461
+ var f, w;
4466
4462
  return typeof a.errorMessage == "string" ? {
4467
4463
  hasError: !!a.errorMessage,
4468
4464
  title: a.errorMessage,
@@ -4470,15 +4466,15 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4470
4466
  } : {
4471
4467
  hasError: !!a.errorMessage,
4472
4468
  title: (f = a.errorMessage) == null ? void 0 : f.title,
4473
- message: (_ = a.errorMessage) == null ? void 0 : _.message
4469
+ message: (w = a.errorMessage) == null ? void 0 : w.message
4474
4470
  };
4475
4471
  }), o = S(() => a.cacheIdentifier || a.preferencesStorageKey), s = (f) => f.hasData || !!a.query, u = S(() => {
4476
4472
  const f = [];
4477
- return Object.keys(a.tableHeaders).forEach((_) => {
4478
- const L = a.tableHeaders[_];
4473
+ return Object.keys(a.tableHeaders).forEach((w) => {
4474
+ const L = a.tableHeaders[w];
4479
4475
  f.push({
4480
- label: L.label ?? _,
4481
- key: _,
4476
+ label: L.label ?? w,
4477
+ key: w,
4482
4478
  sortable: L.sortable ?? !1,
4483
4479
  hidable: L.hidable ?? !0
4484
4480
  });
@@ -4490,47 +4486,47 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4490
4486
  "data-rowid": f.id,
4491
4487
  "data-testid": f.name,
4492
4488
  ...a.rowAttributes(f)
4493
- }), v = F({}), d = (f) => {
4494
- var _;
4495
- return (_ = v.value) == null ? void 0 : _.$el.querySelector(`[data-rowid="${f.id}"]`);
4489
+ }), v = U({}), d = (f) => {
4490
+ var w;
4491
+ return (w = v.value) == null ? void 0 : w.$el.querySelector(`[data-rowid="${f.id}"]`);
4496
4492
  }, x = (f) => {
4497
- const _ = {
4493
+ const w = {
4498
4494
  "data-testid": f.headerKey,
4499
4495
  ...a.cellAttributes(f)
4500
4496
  };
4501
- return f.colIndex === 0 && (_.style = {
4497
+ return f.colIndex === 0 && (w.style = {
4502
4498
  maxWidth: "250px",
4503
4499
  overflowX: "hidden",
4504
4500
  textOverflow: "ellipsis"
4505
- }), _;
4501
+ }), w;
4506
4502
  }, C = () => {
4507
4503
  r("empty-state-cta-clicked"), V();
4508
4504
  }, V = () => {
4509
4505
  r("clear-search-input");
4510
- }, p = S(() => a.disableRowClick ? void 0 : (f, _) => {
4511
- r("click:row", _);
4506
+ }, p = S(() => a.disableRowClick ? void 0 : (f, w) => {
4507
+ r("click:row", w);
4512
4508
  }), N = (f) => {
4513
4509
  r("sort", f);
4514
- }, { setTablePreferences: U, getTablePreferences: E } = Nr(), q = F(E(o.value)), $ = S(() => {
4510
+ }, { setTablePreferences: K, getTablePreferences: E } = Nr(), R = U(E(o.value)), $ = S(() => {
4515
4511
  const f = E(o.value);
4516
4512
  return {
4517
4513
  ...a.initialFetcherParams,
4518
4514
  ...f
4519
4515
  };
4520
4516
  }), T = (f) => {
4521
- q.value = f, u.value.forEach((_) => {
4522
- !("hidable" in _) || !q.value.columnVisibility || _.hidable === !1 && (q.value.columnVisibility[_.key] = !0);
4523
- }), o.value && U(o.value, f);
4517
+ R.value = f, u.value.forEach((w) => {
4518
+ !("hidable" in w) || !R.value.columnVisibility || w.hidable === !1 && (R.value.columnVisibility[w.key] = !0);
4519
+ }), o.value && K(o.value, f);
4524
4520
  };
4525
- return (f, _) => {
4526
- const L = D("KButton"), R = D("KDropdown"), z = D("KTable"), B = D("KCard");
4521
+ return (f, w) => {
4522
+ const L = D("KButton"), O = D("KDropdown"), z = D("KTable"), B = D("KCard");
4527
4523
  return m(), P(B, {
4528
4524
  class: "kong-ui-entity-base-table",
4529
4525
  title: e.title,
4530
4526
  "title-tag": e.titleTag
4531
4527
  }, {
4532
- default: y(() => [
4533
- h(z, {
4528
+ default: h(() => [
4529
+ y(z, {
4534
4530
  ref_key: "tableRefs",
4535
4531
  ref: v,
4536
4532
  "cache-identifier": o.value,
@@ -4557,48 +4553,48 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4557
4553
  "search-input": e.query,
4558
4554
  "sort-handler-function": e.enableClientSort ? e.sortHandlerFunction : void 0,
4559
4555
  sortable: !e.disableSorting,
4560
- "table-preferences": q.value,
4556
+ "table-preferences": R.value,
4561
4557
  onEmptyStateActionClick: C,
4562
4558
  "onRow:click": p.value,
4563
- onSort: _[0] || (_[0] = (K) => N(K)),
4559
+ onSort: w[0] || (w[0] = (F) => N(F)),
4564
4560
  "onUpdate:tablePreferences": T
4565
4561
  }, We({
4566
- toolbar: y(({ state: K }) => [
4567
- $e(A("div", Ks, [
4562
+ toolbar: h(({ state: F }) => [
4563
+ $e(A("div", Fs, [
4568
4564
  re(f.$slots, "toolbar-filter", {}, void 0, !0),
4569
4565
  f.$slots["toolbar-button"] ? (m(), I("div", Hs, [
4570
4566
  re(f.$slots, "toolbar-button", {}, void 0, !0)
4571
4567
  ])) : W("", !0)
4572
4568
  ], 512), [
4573
- [Te, s(K)]
4569
+ [Te, s(F)]
4574
4570
  ])
4575
4571
  ]),
4576
- actions: y(({ row: K, rowKey: J, rowValue: H }) => [
4572
+ actions: h(({ row: F, rowKey: J, rowValue: H }) => [
4577
4573
  A("div", {
4578
4574
  class: "actions-container",
4579
- "data-testid": K.name
4575
+ "data-testid": F.name
4580
4576
  }, [
4581
- h(R, {
4577
+ y(O, {
4582
4578
  "kpop-attributes": { placement: "bottom-end" },
4583
4579
  width: e.dropdownMenuWidth
4584
4580
  }, {
4585
- items: y(() => [
4581
+ items: h(() => [
4586
4582
  re(f.$slots, "actions", {
4587
- row: K,
4583
+ row: F,
4588
4584
  rowKey: J,
4589
4585
  rowValue: H
4590
4586
  }, void 0, !0)
4591
4587
  ]),
4592
- default: y(() => [
4593
- h(L, {
4588
+ default: h(() => [
4589
+ y(L, {
4594
4590
  appearance: "tertiary",
4595
4591
  class: "actions-trigger",
4596
4592
  "data-testid": "overflow-actions-button",
4597
4593
  icon: "",
4598
4594
  size: "small"
4599
4595
  }, {
4600
- default: y(() => [
4601
- h(l(Vs))
4596
+ default: h(() => [
4597
+ y(l(Vs))
4602
4598
  ]),
4603
4599
  _: 1
4604
4600
  })
@@ -4609,15 +4605,15 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4609
4605
  ]),
4610
4606
  _: 2
4611
4607
  }, [
4612
- xe(e.tableHeaders, (K, J) => ({
4608
+ xe(e.tableHeaders, (F, J) => ({
4613
4609
  name: J,
4614
- fn: y(({ row: H, rowKey: te, rowValue: ae }) => [
4615
- h(Us, {
4610
+ fn: h(({ row: H, rowKey: te, rowValue: ae }) => [
4611
+ y(Ks, {
4616
4612
  "key-name": String(J),
4617
4613
  "row-el": d(H),
4618
- tooltip: K.tooltip
4614
+ tooltip: F.tooltip
4619
4615
  }, {
4620
- default: y(() => [
4616
+ default: h(() => [
4621
4617
  re(f.$slots, J, {
4622
4618
  row: H,
4623
4619
  rowKey: te,
@@ -4632,8 +4628,8 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4632
4628
  })),
4633
4629
  e.query ? void 0 : {
4634
4630
  name: "empty-state-action-icon",
4635
- fn: y(() => [
4636
- h(l(rs))
4631
+ fn: h(() => [
4632
+ y(l(rs))
4637
4633
  ]),
4638
4634
  key: "0"
4639
4635
  }
@@ -4643,7 +4639,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4643
4639
  }, 8, ["title", "title-tag"]);
4644
4640
  };
4645
4641
  }
4646
- }), hi = /* @__PURE__ */ Se(zs, [["__scopeId", "data-v-71b4425a"]]), Ps = {
4642
+ }), yi = /* @__PURE__ */ Se(zs, [["__scopeId", "data-v-71b4425a"]]), Ps = {
4647
4643
  key: 0,
4648
4644
  class: "kong-ui-entity-delete-error"
4649
4645
  }, Ds = {
@@ -4706,28 +4702,28 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4706
4702
  onCancel: o,
4707
4703
  onProceed: s
4708
4704
  }, {
4709
- default: y(() => [
4705
+ default: h(() => [
4710
4706
  e.error ? (m(), I("div", Ps, [
4711
- h(v, { appearance: "danger" }, {
4712
- default: y(() => [
4707
+ y(v, { appearance: "danger" }, {
4708
+ default: h(() => [
4713
4709
  Y(M(e.error), 1)
4714
4710
  ]),
4715
4711
  _: 1
4716
4712
  })
4717
4713
  ])) : W("", !0),
4718
- h(l(a), {
4714
+ y(l(a), {
4719
4715
  class: "message",
4720
4716
  keypath: r.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
4721
4717
  tag: "p"
4722
4718
  }, We({
4723
- entityType: y(() => [
4719
+ entityType: h(() => [
4724
4720
  Y(M(r.entityType), 1)
4725
4721
  ]),
4726
4722
  _: 2
4727
4723
  }, [
4728
4724
  r.entityName ? {
4729
4725
  name: "entityName",
4730
- fn: y(() => [
4726
+ fn: h(() => [
4731
4727
  A("strong", null, M(r.entityName), 1)
4732
4728
  ]),
4733
4729
  key: "0"
@@ -4743,7 +4739,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4743
4739
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
4744
4740
  };
4745
4741
  }
4746
- }), yi = /* @__PURE__ */ Se(Zs, [["__scopeId", "data-v-4361d622"]]), Ws = {
4742
+ }), hi = /* @__PURE__ */ Se(Zs, [["__scopeId", "data-v-4361d622"]]), Ws = {
4747
4743
  fill: "none",
4748
4744
  height: "20",
4749
4745
  viewBox: "0 0 20 20",
@@ -4805,7 +4801,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4805
4801
  },
4806
4802
  emits: ["update:modelValue"],
4807
4803
  setup(e, { emit: t }) {
4808
- const { i18n: { t: a } } = ue.useI18n(), r = e, i = t, n = F(!1), o = F({}), s = F(/* @__PURE__ */ new Set()), u = S(() => {
4804
+ const { i18n: { t: a } } = ue.useI18n(), r = e, i = t, n = U(!1), o = U({}), s = U(/* @__PURE__ */ new Set()), u = S(() => {
4809
4805
  const $ = [];
4810
4806
  return new URLSearchParams(r.modelValue).forEach((T, f) => {
4811
4807
  T !== "" && $.push(f);
@@ -4836,26 +4832,26 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4836
4832
  x("");
4837
4833
  }, V = ($) => `filter-${$}`, p = ($) => {
4838
4834
  var T, f;
4839
- return (((f = (T = r.config.schema) == null ? void 0 : T[$]) == null ? void 0 : f.values) ?? []).map((_) => ({
4840
- value: _,
4841
- label: _
4835
+ return (((f = (T = r.config.schema) == null ? void 0 : T[$]) == null ? void 0 : f.values) ?? []).map((w) => ({
4836
+ value: w,
4837
+ label: w
4842
4838
  }));
4843
4839
  }, N = ($) => {
4844
4840
  var T, f;
4845
4841
  return ((f = (T = r.config.schema) == null ? void 0 : T[$]) == null ? void 0 : f.type) ?? "text";
4846
- }, U = ($) => {
4842
+ }, K = ($) => {
4847
4843
  o.value = {
4848
4844
  ...o.value,
4849
4845
  [$]: ""
4850
- }, q();
4846
+ }, R();
4851
4847
  }, E = () => {
4852
- o.value = {}, q(!0);
4853
- }, q = ($ = !1) => {
4854
- const T = Object.keys(o.value).reduce((f, _) => (o.value[_] && (f[_] = `${o.value[_]}`), f), {});
4848
+ o.value = {}, R(!0);
4849
+ }, R = ($ = !1) => {
4850
+ const T = Object.keys(o.value).reduce((f, w) => (o.value[w] && (f[w] = `${o.value[w]}`), f), {});
4855
4851
  $ && (n.value = !1), i("update:modelValue", new URLSearchParams(T).toString());
4856
4852
  };
4857
4853
  return ($, T) => {
4858
- const f = D("KInput"), _ = D("KButton"), L = D("KSelect");
4854
+ const f = D("KInput"), w = D("KButton"), L = D("KSelect");
4859
4855
  return e.config.isExactMatch ? (m(), P(f, {
4860
4856
  key: 0,
4861
4857
  autocomplete: "off",
@@ -4865,11 +4861,11 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4865
4861
  placeholder: e.config.placeholder,
4866
4862
  "onUpdate:modelValue": x
4867
4863
  }, {
4868
- before: y(() => [
4869
- h(ga)
4864
+ before: h(() => [
4865
+ y(ga)
4870
4866
  ]),
4871
- after: y(() => [
4872
- $e(h(l(_s), {
4867
+ after: h(() => [
4868
+ $e(y(l(_s), {
4873
4869
  class: "kong-ui-entity-filter-clear",
4874
4870
  onClick: C
4875
4871
  }, null, 512), [
@@ -4878,13 +4874,13 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4878
4874
  ]),
4879
4875
  _: 1
4880
4876
  }, 8, ["model-value", "placeholder"])) : (m(), I("div", Xs, [
4881
- h(_, {
4877
+ y(w, {
4882
4878
  appearance: "tertiary",
4883
4879
  "data-testid": "filter-button",
4884
4880
  onClick: v
4885
4881
  }, {
4886
- default: y(() => [
4887
- h(ga),
4882
+ default: h(() => [
4883
+ y(ga),
4888
4884
  Y(" " + M(l(a)("filter.filterButtonText")) + " " + M(u.value.length > 0 ? `(${u.value.length})` : ""), 1)
4889
4885
  ]),
4890
4886
  _: 1
@@ -4896,88 +4892,88 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4896
4892
  [Te, n.value]
4897
4893
  ]),
4898
4894
  $e(A("div", eu, [
4899
- (m(!0), I(Ae, null, xe(c.value, (R) => {
4895
+ (m(!0), I(Ae, null, xe(c.value, (O) => {
4900
4896
  var z, B;
4901
4897
  return m(), I("div", {
4902
- key: R.value,
4898
+ key: O.value,
4903
4899
  class: "kong-ui-entity-filter-menu-item",
4904
- "data-testid": R.value
4900
+ "data-testid": O.value
4905
4901
  }, [
4906
4902
  A("span", {
4907
- class: qe(["menu-item-title", { expanded: s.value.has(R.value) }]),
4903
+ class: qe(["menu-item-title", { expanded: s.value.has(O.value) }]),
4908
4904
  role: "button",
4909
4905
  tabindex: "0",
4910
- onClick: (K) => d(R.value),
4911
- onKeydown: wi((K) => d(R.value), ["enter"])
4906
+ onClick: (F) => d(O.value),
4907
+ onKeydown: wi((F) => d(O.value), ["enter"])
4912
4908
  }, [
4913
- Y(M(R.label) + " ", 1),
4909
+ Y(M(O.label) + " ", 1),
4914
4910
  $e(A("span", iu, null, 512), [
4915
- [Te, u.value.includes(R.value)]
4911
+ [Te, u.value.includes(O.value)]
4916
4912
  ]),
4917
- h(l(vs), {
4918
- class: qe(["menu-item-expand-icon", { expanded: s.value.has(R.value) }]),
4913
+ y(l(vs), {
4914
+ class: qe(["menu-item-expand-icon", { expanded: s.value.has(O.value) }]),
4919
4915
  color: l(un)
4920
4916
  }, null, 8, ["class", "color"])
4921
4917
  ], 42, au),
4922
4918
  $e(A("div", ru, [
4923
4919
  A("label", {
4924
4920
  class: "menu-item-label",
4925
- for: V(R.value)
4921
+ for: V(O.value)
4926
4922
  }, M(l(a)("filter.fieldLabel")), 9, nu),
4927
- ((B = (z = e.config.schema) == null ? void 0 : z[R.value]) == null ? void 0 : B.type) === "select" ? (m(), P(L, {
4923
+ ((B = (z = e.config.schema) == null ? void 0 : z[O.value]) == null ? void 0 : B.type) === "select" ? (m(), P(L, {
4928
4924
  key: 0,
4929
- id: V(R.value),
4930
- modelValue: o.value[R.value],
4931
- "onUpdate:modelValue": (K) => o.value[R.value] = K,
4932
- items: p(R.value),
4925
+ id: V(O.value),
4926
+ modelValue: o.value[O.value],
4927
+ "onUpdate:modelValue": (F) => o.value[O.value] = F,
4928
+ items: p(O.value),
4933
4929
  placeholder: l(a)("filter.selectPlaceholder")
4934
4930
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (m(), P(f, {
4935
4931
  key: 1,
4936
- id: V(R.value),
4937
- modelValue: o.value[R.value],
4938
- "onUpdate:modelValue": (K) => o.value[R.value] = K,
4932
+ id: V(O.value),
4933
+ modelValue: o.value[O.value],
4934
+ "onUpdate:modelValue": (F) => o.value[O.value] = F,
4939
4935
  autocomplete: "off",
4940
4936
  placeholder: l(a)("filter.inputPlaceholder"),
4941
- type: N(R.value)
4937
+ type: N(O.value)
4942
4938
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4943
4939
  ], 512), [
4944
- [Te, s.value.has(R.value)]
4940
+ [Te, s.value.has(O.value)]
4945
4941
  ]),
4946
4942
  $e(A("div", ou, [
4947
- h(_, {
4943
+ y(w, {
4948
4944
  appearance: "tertiary",
4949
4945
  "data-testid": "apply-filter",
4950
4946
  size: "small",
4951
- onClick: T[0] || (T[0] = (K) => q(!0))
4947
+ onClick: T[0] || (T[0] = (F) => R(!0))
4952
4948
  }, {
4953
- default: y(() => [
4949
+ default: h(() => [
4954
4950
  Y(M(l(a)("filter.applyButtonText")), 1)
4955
4951
  ]),
4956
4952
  _: 1
4957
4953
  }),
4958
- h(_, {
4954
+ y(w, {
4959
4955
  appearance: "tertiary",
4960
4956
  "data-testid": "clear-filter",
4961
4957
  size: "small",
4962
- onClick: (K) => U(R.value)
4958
+ onClick: (F) => K(O.value)
4963
4959
  }, {
4964
- default: y(() => [
4960
+ default: h(() => [
4965
4961
  Y(M(l(a)("filter.clearButtonText")), 1)
4966
4962
  ]),
4967
4963
  _: 2
4968
4964
  }, 1032, ["onClick"])
4969
4965
  ], 512), [
4970
- [Te, s.value.has(R.value)]
4966
+ [Te, s.value.has(O.value)]
4971
4967
  ])
4972
4968
  ], 8, tu);
4973
4969
  }), 128)),
4974
4970
  A("div", lu, [
4975
- h(_, {
4971
+ y(w, {
4976
4972
  appearance: "tertiary",
4977
4973
  size: "small",
4978
4974
  onClick: E
4979
4975
  }, {
4980
- default: y(() => [
4976
+ default: h(() => [
4981
4977
  Y(M(l(a)("filter.clearAllButtonText")), 1)
4982
4978
  ]),
4983
4979
  _: 1
@@ -4989,7 +4985,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
4989
4985
  ]));
4990
4986
  };
4991
4987
  }
4992
- }), bi = /* @__PURE__ */ Se(su, [["__scopeId", "data-v-94990087"]]), Fe = /* @__PURE__ */ G({
4988
+ }), bi = /* @__PURE__ */ Se(su, [["__scopeId", "data-v-94990087"]]), Ue = /* @__PURE__ */ G({
4993
4989
  __name: "PermissionsWrapper",
4994
4990
  props: {
4995
4991
  /**
@@ -5011,7 +5007,7 @@ const Zl = { class: "yaml-config" }, mi = /* @__PURE__ */ G({
5011
5007
  }
5012
5008
  },
5013
5009
  setup(e) {
5014
- const t = e, a = F(void 0), r = S(() => a.value === !0 || a.value !== void 0 && t.forceShow === !0);
5010
+ const t = e, a = U(void 0), r = S(() => a.value === !0 || a.value !== void 0 && t.forceShow === !0);
5015
5011
  return Re(() => t.authFunction, async () => {
5016
5012
  a.value = await t.authFunction();
5017
5013
  }, { immediate: !0 }), (i, n) => r.value ? re(i.$slots, "default", {
@@ -5052,10 +5048,10 @@ function fu(e, t, a) {
5052
5048
  const gu = ["aria-labelledby"], mu = { class: "form-section-wrapper" }, vu = {
5053
5049
  key: 1,
5054
5050
  class: "form-section-description"
5055
- }, hu = {
5051
+ }, yu = {
5056
5052
  key: 2,
5057
5053
  class: "form-section-footer"
5058
- }, yu = { class: "form-section-content" }, bu = /* @__PURE__ */ G({
5054
+ }, hu = { class: "form-section-content" }, bu = /* @__PURE__ */ G({
5059
5055
  __name: "EntityFormSection",
5060
5056
  props: {
5061
5057
  title: {
@@ -5100,7 +5096,7 @@ const gu = ["aria-labelledby"], mu = { class: "form-section-wrapper" }, vu = {
5100
5096
  id: l(a),
5101
5097
  class: "form-section-title"
5102
5098
  }, {
5103
- default: y(() => [
5099
+ default: h(() => [
5104
5100
  Y(M(e.title), 1)
5105
5101
  ]),
5106
5102
  _: 1
@@ -5110,11 +5106,11 @@ const gu = ["aria-labelledby"], mu = { class: "form-section-wrapper" }, vu = {
5110
5106
  A("p", null, M(e.description), 1)
5111
5107
  ], !0)
5112
5108
  ])) : W("", !0),
5113
- l(t).footer ? (m(), I("div", hu, [
5109
+ l(t).footer ? (m(), I("div", yu, [
5114
5110
  re(r.$slots, "footer", {}, void 0, !0)
5115
5111
  ])) : W("", !0)
5116
5112
  ], 2)),
5117
- A("div", yu, [
5113
+ A("div", hu, [
5118
5114
  re(r.$slots, "default", {}, void 0, !0)
5119
5115
  ])
5120
5116
  ])
@@ -5455,10 +5451,10 @@ const gu = ["aria-labelledby"], mu = { class: "form-section-wrapper" }, vu = {
5455
5451
  form: Vu
5456
5452
  };
5457
5453
  function $u() {
5458
- const e = ha("en-us", Nu);
5454
+ const e = ya("en-us", Nu);
5459
5455
  return {
5460
5456
  i18n: e,
5461
- i18nT: ya(e)
5457
+ i18nT: ha(e)
5462
5458
  // Translation component <i18n-t>
5463
5459
  };
5464
5460
  }
@@ -5537,7 +5533,7 @@ const it = {
5537
5533
  var ee, ie;
5538
5534
  let Z = `${r.config.apiBaseUrl}${ct.list[r.config.app]}`;
5539
5535
  return r.config.app === "konnect" ? Z = Z.replace(/{controlPlaneId}/gi, ((ee = r.config) == null ? void 0 : ee.controlPlaneId) || "") : r.config.app === "kongManager" && (Z = Z.replace(/\/{workspace}/gi, (ie = r.config) != null && ie.workspace ? `/${r.config.workspace}` : "")), Z;
5540
- }), d = F(""), x = S(() => {
5536
+ }), d = U(""), x = S(() => {
5541
5537
  if (r.config.app === "konnect" || r.config.isExactMatch)
5542
5538
  return {
5543
5539
  isExactMatch: !0,
@@ -5549,11 +5545,11 @@ const it = {
5549
5545
  fields: { name: ie, prefix: ee },
5550
5546
  schema: r.config.filterSchema
5551
5547
  };
5552
- }), C = F(1), { fetcher: V, fetcherState: p } = _i(r.config, v.value), N = () => {
5548
+ }), C = U(1), { fetcher: V, fetcherState: p } = _i(r.config, v.value), N = () => {
5553
5549
  d.value = "";
5554
- }, U = () => {
5550
+ }, K = () => {
5555
5551
  C.value++;
5556
- }, E = F(null), q = (Z, ee) => {
5552
+ }, E = U(null), R = (Z, ee) => {
5557
5553
  const ie = Z.id;
5558
5554
  if (!ee(ie)) {
5559
5555
  a("copy:error", {
@@ -5587,37 +5583,37 @@ const it = {
5587
5583
  }, f = (Z) => ({
5588
5584
  label: i("actions.view"),
5589
5585
  to: r.config.getViewRoute(Z)
5590
- }), _ = (Z) => ({
5586
+ }), w = (Z) => ({
5591
5587
  label: i("actions.edit"),
5592
5588
  to: r.config.getEditRoute(Z)
5593
- }), L = F(void 0), R = F(!1), z = F(!1), B = F(""), K = Ci(r.config, v.value), J = (Z) => {
5594
- L.value = Z, R.value = !0;
5589
+ }), L = U(void 0), O = U(!1), z = U(!1), B = U(""), F = Ci(r.config, v.value), J = (Z) => {
5590
+ L.value = Z, O.value = !0;
5595
5591
  }, H = () => {
5596
- R.value = !1;
5592
+ O.value = !1;
5597
5593
  }, te = async () => {
5598
5594
  var Z, ee, ie;
5599
5595
  if ((Z = L.value) != null && Z.id) {
5600
5596
  z.value = !0;
5601
5597
  try {
5602
- await o.delete(K(L.value.id)), z.value = !1, R.value = !1, C.value++, a("delete:success", L.value);
5603
- } catch (w) {
5604
- B.value = ((ie = (ee = w.response) == null ? void 0 : ee.data) == null ? void 0 : ie.message) || w.message || i("errors.delete"), a("error", w);
5598
+ await o.delete(F(L.value.id)), z.value = !1, O.value = !1, C.value++, a("delete:success", L.value);
5599
+ } catch (_) {
5600
+ B.value = ((ie = (ee = _.response) == null ? void 0 : ee.data) == null ? void 0 : ie.message) || _.message || i("errors.delete"), a("error", _);
5605
5601
  } finally {
5606
5602
  z.value = !1;
5607
5603
  }
5608
5604
  }
5609
- }, ae = F(!1);
5605
+ }, ae = U(!1);
5610
5606
  Re(p, (Z) => {
5611
- var ee, ie, w, b;
5607
+ var ee, ie, _, b;
5612
5608
  if (Array.isArray((ee = Z == null ? void 0 : Z.response) == null ? void 0 : ee.data) && (ae.value = Z.response.data.length > 0), Z.status === Ee.Error) {
5613
5609
  E.value = {
5614
5610
  title: i("errors.general")
5615
- }, (b = (w = (ie = Z.error) == null ? void 0 : ie.response) == null ? void 0 : w.data) != null && b.message && (E.value.message = Z.error.response.data.message), a("error", Z.error);
5611
+ }, (b = (_ = (ie = Z.error) == null ? void 0 : ie.response) == null ? void 0 : _.data) != null && b.message && (E.value.message = Z.error.response.data.message), a("error", Z.error);
5616
5612
  return;
5617
5613
  }
5618
5614
  E.value = null;
5619
5615
  });
5620
- const X = F({
5616
+ const X = U({
5621
5617
  ctaPath: r.config.createRoute,
5622
5618
  ctaText: void 0,
5623
5619
  message: `${i("vaults.list.empty_state.description")}${r.config.additionMessageForEmptyState ? ` ${r.config.additionMessageForEmptyState}` : ""}`,
@@ -5626,9 +5622,9 @@ const it = {
5626
5622
  return dt(async () => {
5627
5623
  await r.canCreate() && (X.value.title = i("vaults.list.empty_state.title"), X.value.ctaText = i("actions.create"));
5628
5624
  }), (Z, ee) => {
5629
- const ie = D("KButton"), w = D("KBadge"), b = D("KTruncate"), de = D("KDropdownItem"), pe = D("KClipboardProvider");
5625
+ const ie = D("KButton"), _ = D("KBadge"), b = D("KTruncate"), de = D("KDropdownItem"), pe = D("KClipboardProvider");
5630
5626
  return m(), I("div", Tu, [
5631
- h(l(hi), {
5627
+ y(l(yi), {
5632
5628
  "cache-identifier": e.cacheIdentifier,
5633
5629
  "disable-pagination-page-jump": "",
5634
5630
  "disable-sorting": s.value,
@@ -5643,33 +5639,33 @@ const it = {
5643
5639
  "table-headers": l(c),
5644
5640
  "use-action-outside": e.useActionOutside,
5645
5641
  onClearSearchInput: N,
5646
- "onClick:row": ee[2] || (ee[2] = (O) => T(O)),
5647
- onSort: U
5642
+ "onClick:row": ee[2] || (ee[2] = (q) => T(q)),
5643
+ onSort: K
5648
5644
  }, {
5649
- "toolbar-filter": y(() => [
5650
- h(l(bi), {
5645
+ "toolbar-filter": h(() => [
5646
+ y(l(bi), {
5651
5647
  modelValue: d.value,
5652
- "onUpdate:modelValue": ee[0] || (ee[0] = (O) => d.value = O),
5648
+ "onUpdate:modelValue": ee[0] || (ee[0] = (q) => d.value = q),
5653
5649
  config: x.value
5654
5650
  }, null, 8, ["modelValue", "config"])
5655
5651
  ]),
5656
- "toolbar-button": y(() => [
5652
+ "toolbar-button": h(() => [
5657
5653
  (m(), P($i, {
5658
5654
  disabled: !e.useActionOutside,
5659
5655
  to: "#kong-ui-app-page-header-action-button"
5660
5656
  }, [
5661
- h(l(Fe), {
5657
+ y(l(Ue), {
5662
5658
  "auth-function": () => e.canCreate()
5663
5659
  }, {
5664
- default: y(() => [
5665
- $e(h(ie, {
5660
+ default: h(() => [
5661
+ $e(y(ie, {
5666
5662
  appearance: "primary",
5667
5663
  "data-testid": "toolbar-add-vault",
5668
5664
  size: "large",
5669
5665
  to: e.config.createRoute
5670
5666
  }, {
5671
- default: y(() => [
5672
- h(l(Ca)),
5667
+ default: h(() => [
5668
+ y(l(Ca)),
5673
5669
  Y(" " + M(l(i)("vaults.list.toolbar_actions.new_vault")), 1)
5674
5670
  ]),
5675
5671
  _: 1
@@ -5681,26 +5677,26 @@ const it = {
5681
5677
  }, 8, ["auth-function"])
5682
5678
  ], 8, ["disabled"]))
5683
5679
  ]),
5684
- prefix: y(({ rowValue: O }) => [
5680
+ prefix: h(({ rowValue: q }) => [
5685
5681
  A("div", Lu, [
5686
- A("b", null, M(O ?? "-"), 1)
5682
+ A("b", null, M(q ?? "-"), 1)
5687
5683
  ])
5688
5684
  ]),
5689
- name: y(({ rowValue: O }) => [
5690
- A("b", null, M(O ?? "-"), 1)
5685
+ name: h(({ rowValue: q }) => [
5686
+ A("b", null, M(q ?? "-"), 1)
5691
5687
  ]),
5692
- description: y(({ rowValue: O }) => [
5693
- A("div", Eu, M(O ?? "-"), 1)
5688
+ description: h(({ rowValue: q }) => [
5689
+ A("div", Eu, M(q ?? "-"), 1)
5694
5690
  ]),
5695
- tags: y(({ rowValue: O }) => [
5696
- (O == null ? void 0 : O.length) > 0 ? (m(), P(b, { key: 0 }, {
5697
- default: y(() => [
5698
- (m(!0), I(Ae, null, xe(O, (Ce) => (m(), P(w, {
5691
+ tags: h(({ rowValue: q }) => [
5692
+ (q == null ? void 0 : q.length) > 0 ? (m(), P(b, { key: 0 }, {
5693
+ default: h(() => [
5694
+ (m(!0), I(Ae, null, xe(q, (Ce) => (m(), P(_, {
5699
5695
  key: Ce,
5700
5696
  onClick: ee[1] || (ee[1] = St(() => {
5701
5697
  }, ["stop"]))
5702
5698
  }, {
5703
- default: y(() => [
5699
+ default: h(() => [
5704
5700
  Y(M(Ce), 1)
5705
5701
  ]),
5706
5702
  _: 2
@@ -5709,14 +5705,14 @@ const it = {
5709
5705
  _: 2
5710
5706
  }, 1024)) : (m(), I("span", Mu, "-"))
5711
5707
  ]),
5712
- actions: y(({ row: O }) => [
5713
- h(pe, null, {
5714
- default: y(({ copyToClipboard: Ce }) => [
5715
- h(de, {
5708
+ actions: h(({ row: q }) => [
5709
+ y(pe, null, {
5710
+ default: h(({ copyToClipboard: Ce }) => [
5711
+ y(de, {
5716
5712
  "data-testid": "action-entity-copy-id",
5717
- onClick: (Ne) => q(O, Ce)
5713
+ onClick: (Ne) => R(q, Ce)
5718
5714
  }, {
5719
- default: y(() => [
5715
+ default: h(() => [
5720
5716
  Y(M(l(i)("actions.copy_id")), 1)
5721
5717
  ]),
5722
5718
  _: 2
@@ -5724,13 +5720,13 @@ const it = {
5724
5720
  ]),
5725
5721
  _: 2
5726
5722
  }, 1024),
5727
- h(pe, null, {
5728
- default: y(({ copyToClipboard: Ce }) => [
5729
- h(de, {
5723
+ y(pe, null, {
5724
+ default: h(({ copyToClipboard: Ce }) => [
5725
+ y(de, {
5730
5726
  "data-testid": "action-entity-copy-json",
5731
- onClick: (Ne) => $(O, Ce)
5727
+ onClick: (Ne) => $(q, Ce)
5732
5728
  }, {
5733
- default: y(() => [
5729
+ default: h(() => [
5734
5730
  Y(M(l(i)("actions.copy_json")), 1)
5735
5731
  ]),
5736
5732
  _: 2
@@ -5738,40 +5734,40 @@ const it = {
5738
5734
  ]),
5739
5735
  _: 2
5740
5736
  }, 1024),
5741
- h(l(Fe), {
5742
- "auth-function": () => e.canRetrieve(O)
5737
+ y(l(Ue), {
5738
+ "auth-function": () => e.canRetrieve(q)
5743
5739
  }, {
5744
- default: y(() => [
5745
- h(de, {
5740
+ default: h(() => [
5741
+ y(de, {
5746
5742
  "data-testid": "action-entity-view",
5747
5743
  "has-divider": "",
5748
- item: f(O.id)
5744
+ item: f(q.id)
5749
5745
  }, null, 8, ["item"])
5750
5746
  ]),
5751
5747
  _: 2
5752
5748
  }, 1032, ["auth-function"]),
5753
- h(l(Fe), {
5754
- "auth-function": () => e.canEdit(O)
5749
+ y(l(Ue), {
5750
+ "auth-function": () => e.canEdit(q)
5755
5751
  }, {
5756
- default: y(() => [
5757
- h(de, {
5752
+ default: h(() => [
5753
+ y(de, {
5758
5754
  "data-testid": "action-entity-edit",
5759
- item: _(O.id)
5755
+ item: w(q.id)
5760
5756
  }, null, 8, ["item"])
5761
5757
  ]),
5762
5758
  _: 2
5763
5759
  }, 1032, ["auth-function"]),
5764
- h(l(Fe), {
5765
- "auth-function": () => e.canDelete(O)
5760
+ y(l(Ue), {
5761
+ "auth-function": () => e.canDelete(q)
5766
5762
  }, {
5767
- default: y(() => [
5768
- h(de, {
5763
+ default: h(() => [
5764
+ y(de, {
5769
5765
  danger: "",
5770
5766
  "data-testid": "action-entity-delete",
5771
5767
  "has-divider": "",
5772
- onClick: (Ce) => J(O)
5768
+ onClick: (Ce) => J(q)
5773
5769
  }, {
5774
- default: y(() => [
5770
+ default: h(() => [
5775
5771
  Y(M(l(i)("actions.delete")), 1)
5776
5772
  ]),
5777
5773
  _: 2
@@ -5782,28 +5778,28 @@ const it = {
5782
5778
  ]),
5783
5779
  _: 1
5784
5780
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
5785
- h(l(yi), {
5781
+ y(l(hi), {
5786
5782
  "action-pending": z.value,
5787
5783
  description: l(i)("delete.description"),
5788
5784
  "entity-name": L.value && (L.value.prefix || L.value.id),
5789
5785
  "entity-type": l(qt).Vault,
5790
5786
  error: B.value,
5791
5787
  title: l(i)("delete.title"),
5792
- visible: R.value,
5788
+ visible: O.value,
5793
5789
  onCancel: H,
5794
5790
  onProceed: te
5795
5791
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"])
5796
5792
  ]);
5797
5793
  };
5798
5794
  }
5799
- }), ht = (e, t) => {
5795
+ }), yt = (e, t) => {
5800
5796
  const a = e.__vccOpts || e;
5801
5797
  for (const [r, i] of t)
5802
5798
  a[r] = i;
5803
5799
  return a;
5804
- }, hc = /* @__PURE__ */ ht(qu, [["__scopeId", "data-v-6516e0a1"]]);
5800
+ }, yc = /* @__PURE__ */ yt(qu, [["__scopeId", "data-v-6516e0a1"]]);
5805
5801
  var g = /* @__PURE__ */ ((e) => (e.AWS = "aws", e.GCP = "gcp", e.HCV = "hcv", e.ENV = "env", e.AZURE = "azure", e.KONNECT = "konnect", e))(g || {}), le = /* @__PURE__ */ ((e) => (e.TOKEN = "token", e.K8S = "kubernetes", e.APP_ROLE = "approle", e))(le || {});
5806
- const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-provider-cards-container" }, ju = ["data-testid"], Fu = { class: "provider-item-title-container" }, Uu = { class: "provider-item-title" }, Ku = { class: "provider-item-description" }, Hu = {
5802
+ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-provider-cards-container" }, ju = ["data-testid"], Uu = { class: "provider-item-title-container" }, Ku = { class: "provider-item-title" }, Fu = { class: "provider-item-description" }, Hu = {
5807
5803
  key: "kong-vault-config-fields",
5808
5804
  class: "vault-form-config-fields-container"
5809
5805
  }, Bu = {
@@ -5846,7 +5842,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
5846
5842
  prefix: "",
5847
5843
  description: "",
5848
5844
  tags: ""
5849
- }), d = F(a.config.konnectConfigStoreAvailable ? g.KONNECT : g.ENV), x = F(null), C = S(() => [g.AWS, g.GCP, g.HCV, g.AZURE].includes(d.value)), V = S(() => [
5845
+ }), d = U(a.config.konnectConfigStoreAvailable ? g.KONNECT : g.ENV), x = U(null), C = S(() => [g.AWS, g.GCP, g.HCV, g.AZURE].includes(d.value)), V = S(() => [
5850
5846
  ...a.config.konnectConfigStoreAvailable ? [{
5851
5847
  label: n("form.config.konnect.label"),
5852
5848
  value: g.KONNECT
@@ -5955,7 +5951,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
5955
5951
  client_id: "",
5956
5952
  tenant_id: ""
5957
5953
  }
5958
- }), U = [
5954
+ }), K = [
5959
5955
  { label: `${n("form.config.aws.fields.region.locations.us-east-1.location")} (us-east-1)`, value: "us-east-1" },
5960
5956
  { label: `${n("form.config.aws.fields.region.locations.us-east-2.location")} (us-east-2)`, value: "us-east-2" },
5961
5957
  { label: `${n("form.config.aws.fields.region.locations.us-west-1.location")} (us-west-1)`, value: "us-west-1" },
@@ -5980,30 +5976,30 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
5980
5976
  { label: `${n("form.config.aws.fields.region.locations.sa-east-1.location")} (sa-east-1)`, value: "sa-east-1" },
5981
5977
  { label: `${n("form.config.aws.fields.region.locations.us-gov-east-1.location")} (us-gov-east-1)`, value: "us-gov-east-1" },
5982
5978
  { label: `${n("form.config.aws.fields.region.locations.us-gov-west-1.location")} (us-gov-west-1)`, value: "us-gov-west-1" }
5983
- ], E = [{ label: "secrets", value: "secrets" }], q = [{ label: "http", value: "http" }, { label: "https", value: "https" }], $ = [{ label: "v1", value: "v1" }, { label: "v2", value: "v2" }], T = S(() => a.vaultId ? Ue.Edit : Ue.Create), f = S(() => {
5984
- var w, b;
5985
- return (b = ct.form[(w = a.config) == null ? void 0 : w.app]) == null ? void 0 : b.edit;
5986
- }), _ = S(() => T.value === Ue.Edit && a.config.app === "kongManager"), L = S(() => a.config.app === "konnect" || Cu({
5979
+ ], E = [{ label: "secrets", value: "secrets" }], R = [{ label: "http", value: "http" }, { label: "https", value: "https" }], $ = [{ label: "v1", value: "v1" }, { label: "v2", value: "v2" }], T = S(() => a.vaultId ? Ke.Edit : Ke.Create), f = S(() => {
5980
+ var _, b;
5981
+ return (b = ct.form[(_ = a.config) == null ? void 0 : _.app]) == null ? void 0 : b.edit;
5982
+ }), w = S(() => T.value === Ke.Edit && a.config.app === "kongManager"), L = S(() => a.config.app === "konnect" || Cu({
5987
5983
  gatewayInfo: a.config.gatewayInfo,
5988
5984
  // vault name can only be `env` in Gateway Community Edition
5989
5985
  supportedRange: {
5990
5986
  enterprise: []
5991
5987
  }
5992
- })), R = () => {
5993
- var w;
5994
- o.push(((w = a.config) == null ? void 0 : w.cancelRoute) || { name: "vault-list" });
5995
- }, z = (w) => {
5996
- r("loading", w);
5997
- }, B = (w) => {
5998
- r("error", w);
5999
- }, K = (w) => {
6000
- switch (w) {
5988
+ })), O = () => {
5989
+ var _;
5990
+ o.push(((_ = a.config) == null ? void 0 : _.cancelRoute) || { name: "vault-list" });
5991
+ }, z = (_) => {
5992
+ r("loading", _);
5993
+ }, B = (_) => {
5994
+ r("error", _);
5995
+ }, F = (_) => {
5996
+ switch (_) {
6001
5997
  case g.KONNECT:
6002
5998
  return Sr;
6003
5999
  case g.ENV:
6004
6000
  return br;
6005
6001
  case g.AWS:
6006
- return Fi;
6002
+ return Ui;
6007
6003
  case g.GCP:
6008
6004
  return ar;
6009
6005
  case g.HCV:
@@ -6011,8 +6007,8 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6011
6007
  case g.AZURE:
6012
6008
  return Wi;
6013
6009
  }
6014
- }, J = (w) => {
6015
- switch (w) {
6010
+ }, J = (_) => {
6011
+ switch (_) {
6016
6012
  case g.KONNECT:
6017
6013
  return n("form.config.konnect.description");
6018
6014
  case g.ENV:
@@ -6026,14 +6022,14 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6026
6022
  case g.AZURE:
6027
6023
  return n("form.config.azure.description");
6028
6024
  }
6029
- }, H = (w) => {
6030
- var pe, O, Ce, Ne, je;
6031
- c.fields.prefix = ((pe = w == null ? void 0 : w.item) == null ? void 0 : pe.prefix) || (w == null ? void 0 : w.prefix) || "", c.fields.description = ((O = w == null ? void 0 : w.item) == null ? void 0 : O.description) || (w == null ? void 0 : w.description) || "";
6032
- const b = ((Ce = w == null ? void 0 : w.item) == null ? void 0 : Ce.tags) || (w == null ? void 0 : w.tags) || [];
6025
+ }, H = (_) => {
6026
+ var pe, q, Ce, Ne, je;
6027
+ c.fields.prefix = ((pe = _ == null ? void 0 : _.item) == null ? void 0 : pe.prefix) || (_ == null ? void 0 : _.prefix) || "", c.fields.description = ((q = _ == null ? void 0 : _.item) == null ? void 0 : q.description) || (_ == null ? void 0 : _.description) || "";
6028
+ const b = ((Ce = _ == null ? void 0 : _.item) == null ? void 0 : Ce.tags) || (_ == null ? void 0 : _.tags) || [];
6033
6029
  c.fields.tags = (b == null ? void 0 : b.join(", ")) || "", Object.assign(v, c.fields);
6034
- const de = ((Ne = w == null ? void 0 : w.item) == null ? void 0 : Ne.config) || (w == null ? void 0 : w.config) || null;
6035
- de && (Object.keys(de).length || (w == null ? void 0 : w.name) === g.KONNECT) ? (d.value = ((je = w == null ? void 0 : w.item) == null ? void 0 : je.name) || (w == null ? void 0 : w.name) || "", x.value = d.value, Object.assign(p[d.value], de), Object.assign(N[d.value], de)) : c.errorMessage = "Error loading vault config";
6036
- }, te = S(() => d.value === g.HCV ? !Object.keys(p[g.HCV]).filter((w) => [
6030
+ const de = ((Ne = _ == null ? void 0 : _.item) == null ? void 0 : Ne.config) || (_ == null ? void 0 : _.config) || null;
6031
+ de && (Object.keys(de).length || (_ == null ? void 0 : _.name) === g.KONNECT) ? (d.value = ((je = _ == null ? void 0 : _.item) == null ? void 0 : je.name) || (_ == null ? void 0 : _.name) || "", x.value = d.value, Object.assign(p[d.value], de), Object.assign(N[d.value], de)) : c.errorMessage = "Error loading vault config";
6032
+ }, te = S(() => d.value === g.HCV ? !Object.keys(p[g.HCV]).filter((_) => [
6037
6033
  "namespace",
6038
6034
  "ttl",
6039
6035
  "neg_ttl",
@@ -6042,13 +6038,13 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6042
6038
  "approle_auth_path",
6043
6039
  "approle_secret_id",
6044
6040
  "approle_secret_id_file"
6045
- ].includes(w) || p[g.HCV].auth_method !== le.K8S && (w === "kube_role" || w === "kube_api_token_file") || p[g.HCV].auth_method !== le.TOKEN && w === "token" || p[g.HCV].auth_method !== le.APP_ROLE && (w === "approle_role_id" || w === "approle_response_wrapping") || p[g.HCV].auth_method === le.APP_ROLE && w === "approle_response_wrapping" && typeof p[d.value][w] == "boolean" ? !1 : !p[d.value][w]).length : d.value === g.AZURE ? !Object.keys(p[g.AZURE]).filter((w) => ["client_id", "tenant_id", "ttl", "neg_ttl", "resurrect_ttl"].includes(w) ? !1 : !p[d.value][w]).length : d.value === g.AWS ? !Object.keys(p[g.AWS]).filter((w) => ["endpoint_url", "assume_role_arn", "ttl", "neg_ttl", "resurrect_ttl", "sts_endpoint_url"].includes(w) ? !1 : !p[d.value][w]).length : !Object.keys(p[d.value]).filter((w) => ["ttl", "neg_ttl", "resurrect_ttl"].includes(w) ? !1 : !p[d.value][w]).length), ae = S(() => !!c.fields.prefix && te.value), X = S(() => JSON.stringify(c.fields) !== JSON.stringify(v) || d.value !== x.value || JSON.stringify(p[d.value]) !== JSON.stringify(N[d.value])), ne = S(() => {
6041
+ ].includes(_) || p[g.HCV].auth_method !== le.K8S && (_ === "kube_role" || _ === "kube_api_token_file") || p[g.HCV].auth_method !== le.TOKEN && _ === "token" || p[g.HCV].auth_method !== le.APP_ROLE && (_ === "approle_role_id" || _ === "approle_response_wrapping") || p[g.HCV].auth_method === le.APP_ROLE && _ === "approle_response_wrapping" && typeof p[d.value][_] == "boolean" ? !1 : !p[d.value][_]).length : d.value === g.AZURE ? !Object.keys(p[g.AZURE]).filter((_) => ["client_id", "tenant_id", "ttl", "neg_ttl", "resurrect_ttl"].includes(_) ? !1 : !p[d.value][_]).length : d.value === g.AWS ? !Object.keys(p[g.AWS]).filter((_) => ["endpoint_url", "assume_role_arn", "ttl", "neg_ttl", "resurrect_ttl", "sts_endpoint_url"].includes(_) ? !1 : !p[d.value][_]).length : !Object.keys(p[d.value]).filter((_) => ["ttl", "neg_ttl", "resurrect_ttl"].includes(_) ? !1 : !p[d.value][_]).length), ae = S(() => !!c.fields.prefix && te.value), X = S(() => JSON.stringify(c.fields) !== JSON.stringify(v) || d.value !== x.value || JSON.stringify(p[d.value]) !== JSON.stringify(N[d.value])), ne = S(() => {
6046
6042
  var b, de;
6047
- let w = `${a.config.apiBaseUrl}${ct.form[a.config.app][T.value]}`;
6048
- return a.config.app === "konnect" ? w = w.replace(/{controlPlaneId}/gi, ((b = a.config) == null ? void 0 : b.controlPlaneId) || "") : a.config.app === "kongManager" && (w = w.replace(/\/{workspace}/gi, (de = a.config) != null && de.workspace ? `/${a.config.workspace}` : "")), w = w.replace(/{id}/gi, a.vaultId), w;
6043
+ let _ = `${a.config.apiBaseUrl}${ct.form[a.config.app][T.value]}`;
6044
+ return a.config.app === "konnect" ? _ = _.replace(/{controlPlaneId}/gi, ((b = a.config) == null ? void 0 : b.controlPlaneId) || "") : a.config.app === "kongManager" && (_ = _.replace(/\/{workspace}/gi, (de = a.config) != null && de.workspace ? `/${a.config.workspace}` : "")), _ = _.replace(/{id}/gi, a.vaultId), _;
6049
6045
  }), Z = S(() => {
6050
6046
  var Ne, je;
6051
- const w = {
6047
+ const _ = {
6052
6048
  protocol: p[g.HCV].protocol,
6053
6049
  host: p[g.HCV].host,
6054
6050
  port: parseInt(p[g.HCV].port.toString()),
@@ -6082,11 +6078,11 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6082
6078
  ...a.config.awsStsEndpointUrlAvailable ? { sts_endpoint_url: p[d.value].sts_endpoint_url || null } : {}
6083
6079
  };
6084
6080
  let pe = p[d.value];
6085
- d.value === g.HCV ? pe = w : d.value === g.AZURE ? pe = b : d.value === g.AWS && (pe = de);
6086
- let O = {};
6081
+ d.value === g.HCV ? pe = _ : d.value === g.AZURE ? pe = b : d.value === g.AWS && (pe = de);
6082
+ let q = {};
6087
6083
  if (![g.KONNECT, g.ENV].includes(d.value)) {
6088
6084
  const k = p[d.value], Bt = k.ttl, zt = k.neg_ttl, Pt = k.resurrect_ttl;
6089
- O = {
6085
+ q = {
6090
6086
  ttl: Bt ? parseInt(Bt.toString(), 10) : null,
6091
6087
  neg_ttl: zt ? parseInt(zt.toString(), 10) : null,
6092
6088
  resurrect_ttl: Pt ? parseInt(Pt.toString(), 10) : null
@@ -6099,25 +6095,25 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6099
6095
  name: d.value,
6100
6096
  config: {
6101
6097
  ...pe,
6102
- ...O
6098
+ ...q
6103
6099
  }
6104
6100
  };
6105
6101
  }), ee = async () => {
6106
- var w;
6102
+ var _;
6107
6103
  try {
6108
6104
  c.isReadonly = !0;
6109
6105
  let b;
6110
- T.value === "create" ? b = await s.post(ne.value, Z.value) : T.value === "edit" && (b = ((w = a.config) == null ? void 0 : w.app) === "konnect" ? await s.put(ne.value, Z.value) : await s.patch(ne.value, Z.value)), H(b == null ? void 0 : b.data), r("update", b == null ? void 0 : b.data);
6106
+ T.value === "create" ? b = await s.post(ne.value, Z.value) : T.value === "edit" && (b = ((_ = a.config) == null ? void 0 : _.app) === "konnect" ? await s.put(ne.value, Z.value) : await s.patch(ne.value, Z.value)), H(b == null ? void 0 : b.data), r("update", b == null ? void 0 : b.data);
6111
6107
  } catch (b) {
6112
6108
  c.errorMessage = u(b), r("error", b);
6113
6109
  } finally {
6114
6110
  c.isReadonly = !1;
6115
6111
  }
6116
6112
  };
6117
- return (w, b) => {
6118
- const de = D("KTooltip"), pe = D("KSelect"), O = D("KInput"), Ce = D("KCheckbox"), Ne = D("KCollapse"), je = D("KTextArea");
6113
+ return (_, b) => {
6114
+ const de = D("KTooltip"), pe = D("KSelect"), q = D("KInput"), Ce = D("KCheckbox"), Ne = D("KCollapse"), je = D("KTextArea");
6119
6115
  return m(), I("div", Ou, [
6120
- h(l(vi), {
6116
+ y(l(vi), {
6121
6117
  "can-submit": ae.value && X.value,
6122
6118
  config: e.config,
6123
6119
  "edit-id": e.vaultId,
@@ -6125,45 +6121,45 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6125
6121
  "fetch-url": f.value,
6126
6122
  "form-fields": Z.value,
6127
6123
  "is-readonly": c.isReadonly,
6128
- onCancel: R,
6124
+ onCancel: O,
6129
6125
  "onFetch:error": B,
6130
6126
  "onFetch:success": H,
6131
6127
  onLoading: z,
6132
6128
  onSubmit: ee
6133
6129
  }, {
6134
- default: y(() => [
6135
- h(l(Tt), {
6130
+ default: h(() => [
6131
+ y(l(Tt), {
6136
6132
  description: l(n)("form.sections.config.description"),
6137
6133
  title: l(n)("form.sections.config.title")
6138
6134
  }, {
6139
- default: y(() => [
6135
+ default: h(() => [
6140
6136
  A("div", Ru, [
6141
- h(pe, {
6137
+ y(pe, {
6142
6138
  modelValue: d.value,
6143
6139
  "onUpdate:modelValue": b[0] || (b[0] = (k) => d.value = k),
6144
6140
  "data-testid": "provider-select",
6145
- disabled: _.value,
6141
+ disabled: w.value,
6146
6142
  "dropdown-max-height": "500",
6147
6143
  items: V.value
6148
6144
  }, {
6149
- "selected-item-template": y(({ item: k }) => [
6150
- (m(), P(ce(K(k.value)))),
6145
+ "selected-item-template": h(({ item: k }) => [
6146
+ (m(), P(ce(F(k.value)))),
6151
6147
  Y(" " + M(k == null ? void 0 : k.label), 1)
6152
6148
  ]),
6153
- "item-template": y(({ item: k }) => [
6154
- h(de, {
6149
+ "item-template": h(({ item: k }) => [
6150
+ y(de, {
6155
6151
  placement: "top",
6156
6152
  text: k.disabled ? l(n)("form.unavailable") : ""
6157
6153
  }, {
6158
- default: y(() => [
6154
+ default: h(() => [
6159
6155
  A("div", {
6160
6156
  class: "provider-item",
6161
6157
  "data-testid": `vault-form-provider-${k.value}`
6162
6158
  }, [
6163
- (m(), P(ce(K(k.value)))),
6164
- A("div", Fu, [
6165
- A("span", Uu, M(k == null ? void 0 : k.label), 1),
6166
- A("span", Ku, M(J(k.value)), 1)
6159
+ (m(), P(ce(F(k.value)))),
6160
+ A("div", Uu, [
6161
+ A("span", Ku, M(k == null ? void 0 : k.label), 1),
6162
+ A("span", Fu, M(J(k.value)), 1)
6167
6163
  ])
6168
6164
  ], 8, ju)
6169
6165
  ]),
@@ -6173,10 +6169,10 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6173
6169
  _: 1
6174
6170
  }, 8, ["modelValue", "disabled", "items"])
6175
6171
  ]),
6176
- h(Ti, { name: "appear" }, {
6177
- default: y(() => [
6172
+ y(Ti, { name: "appear" }, {
6173
+ default: h(() => [
6178
6174
  d.value === l(g).ENV ? (m(), I("div", Hu, [
6179
- h(O, {
6175
+ y(q, {
6180
6176
  modelValue: p[l(g).ENV].prefix,
6181
6177
  "onUpdate:modelValue": b[1] || (b[1] = (k) => p[l(g).ENV].prefix = k),
6182
6178
  modelModifiers: { trim: !0 },
@@ -6194,11 +6190,11 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6194
6190
  key: `${l(g).AWS}-vault-config-fields`,
6195
6191
  class: "vault-form-config-fields-container"
6196
6192
  }, [
6197
- h(pe, {
6193
+ y(pe, {
6198
6194
  modelValue: p[l(g).AWS].region,
6199
6195
  "onUpdate:modelValue": b[2] || (b[2] = (k) => p[l(g).AWS].region = k),
6200
6196
  "data-testid": "vault-form-config-aws-region",
6201
- items: U,
6197
+ items: K,
6202
6198
  label: l(n)("form.config.aws.fields.region.label"),
6203
6199
  "label-attributes": { info: l(n)("form.config.aws.fields.region.tooltip") },
6204
6200
  placeholder: l(n)("form.config.aws.fields.region.placeholder"),
@@ -6206,7 +6202,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6206
6202
  required: "",
6207
6203
  width: "100%"
6208
6204
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder", "readonly"]),
6209
- h(O, {
6205
+ y(q, {
6210
6206
  modelValue: p[l(g).AWS].endpoint_url,
6211
6207
  "onUpdate:modelValue": b[3] || (b[3] = (k) => p[l(g).AWS].endpoint_url = k),
6212
6208
  modelModifiers: { trim: !0 },
@@ -6220,7 +6216,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6220
6216
  },
6221
6217
  type: "text"
6222
6218
  }, null, 8, ["modelValue", "is-readonly", "label", "label-attributes"]),
6223
- h(O, {
6219
+ y(q, {
6224
6220
  modelValue: p[l(g).AWS].assume_role_arn,
6225
6221
  "onUpdate:modelValue": b[4] || (b[4] = (k) => p[l(g).AWS].assume_role_arn = k),
6226
6222
  modelModifiers: { trim: !0 },
@@ -6234,7 +6230,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6234
6230
  },
6235
6231
  type: "text"
6236
6232
  }, null, 8, ["modelValue", "is-readonly", "label", "label-attributes"]),
6237
- h(O, {
6233
+ y(q, {
6238
6234
  modelValue: p[l(g).AWS].role_session_name,
6239
6235
  "onUpdate:modelValue": b[5] || (b[5] = (k) => p[l(g).AWS].role_session_name = k),
6240
6236
  modelModifiers: { trim: !0 },
@@ -6249,7 +6245,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6249
6245
  required: "",
6250
6246
  type: "text"
6251
6247
  }, null, 8, ["modelValue", "is-readonly", "label", "label-attributes"]),
6252
- e.config.awsStsEndpointUrlAvailable ? (m(), P(O, {
6248
+ e.config.awsStsEndpointUrlAvailable ? (m(), P(q, {
6253
6249
  key: 0,
6254
6250
  modelValue: p[l(g).AWS].sts_endpoint_url,
6255
6251
  "onUpdate:modelValue": b[6] || (b[6] = (k) => p[l(g).AWS].sts_endpoint_url = k),
@@ -6269,7 +6265,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6269
6265
  key: `${l(g).GCP}-vault-config-fields`,
6270
6266
  class: "vault-form-config-fields-container"
6271
6267
  }, [
6272
- h(O, {
6268
+ y(q, {
6273
6269
  modelValue: p[l(g).GCP].project_id,
6274
6270
  "onUpdate:modelValue": b[7] || (b[7] = (k) => p[l(g).GCP].project_id = k),
6275
6271
  modelModifiers: { trim: !0 },
@@ -6281,12 +6277,12 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6281
6277
  required: "",
6282
6278
  type: "text"
6283
6279
  }, {
6284
- "label-tooltip": y(() => [
6285
- h(l(i), {
6280
+ "label-tooltip": h(() => [
6281
+ y(l(i), {
6286
6282
  keypath: "form.config.gcp.fields.project_id.tooltip.text",
6287
6283
  scope: "global"
6288
6284
  }, {
6289
- "italic-text": y(() => [
6285
+ "italic-text": h(() => [
6290
6286
  A("em", null, M(l(n)("form.config.gcp.fields.project_id.tooltip.italicText")), 1)
6291
6287
  ]),
6292
6288
  _: 1
@@ -6299,17 +6295,17 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6299
6295
  key: `${l(g).HCV}-vault-config-fields`,
6300
6296
  class: "vault-form-config-fields-container"
6301
6297
  }, [
6302
- h(pe, {
6298
+ y(pe, {
6303
6299
  modelValue: p[l(g).HCV].protocol,
6304
6300
  "onUpdate:modelValue": b[8] || (b[8] = (k) => p[l(g).HCV].protocol = k),
6305
6301
  "data-testid": "vault-form-config-hcv-protocol",
6306
- items: q,
6302
+ items: R,
6307
6303
  label: l(n)("form.config.hcv.fields.protocol.label"),
6308
6304
  readonly: c.isReadonly,
6309
6305
  required: "",
6310
6306
  width: "100%"
6311
6307
  }, null, 8, ["modelValue", "label", "readonly"]),
6312
- h(O, {
6308
+ y(q, {
6313
6309
  modelValue: p[l(g).HCV].host,
6314
6310
  "onUpdate:modelValue": b[9] || (b[9] = (k) => p[l(g).HCV].host = k),
6315
6311
  modelModifiers: { trim: !0 },
@@ -6320,7 +6316,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6320
6316
  required: "",
6321
6317
  type: "text"
6322
6318
  }, null, 8, ["modelValue", "is-readonly", "label"]),
6323
- h(O, {
6319
+ y(q, {
6324
6320
  modelValue: p[l(g).HCV].port,
6325
6321
  "onUpdate:modelValue": b[10] || (b[10] = (k) => p[l(g).HCV].port = k),
6326
6322
  autocomplete: "off",
@@ -6331,7 +6327,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6331
6327
  required: "",
6332
6328
  type: "number"
6333
6329
  }, null, 8, ["modelValue", "is-readonly", "label"]),
6334
- h(O, {
6330
+ y(q, {
6335
6331
  modelValue: p[l(g).HCV].mount,
6336
6332
  "onUpdate:modelValue": b[11] || (b[11] = (k) => p[l(g).HCV].mount = k),
6337
6333
  modelModifiers: { trim: !0 },
@@ -6342,7 +6338,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6342
6338
  required: "",
6343
6339
  type: "text"
6344
6340
  }, null, 8, ["modelValue", "is-readonly", "label"]),
6345
- h(pe, {
6341
+ y(pe, {
6346
6342
  modelValue: p[l(g).HCV].kv,
6347
6343
  "onUpdate:modelValue": b[12] || (b[12] = (k) => p[l(g).HCV].kv = k),
6348
6344
  "data-testid": "vault-form-config-hcv-kv",
@@ -6352,7 +6348,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6352
6348
  required: "",
6353
6349
  width: "100%"
6354
6350
  }, null, 8, ["modelValue", "label", "readonly"]),
6355
- h(O, {
6351
+ y(q, {
6356
6352
  modelValue: p[l(g).HCV].namespace,
6357
6353
  "onUpdate:modelValue": b[13] || (b[13] = (k) => p[l(g).HCV].namespace = k),
6358
6354
  modelModifiers: { trim: !0 },
@@ -6362,7 +6358,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6362
6358
  label: l(n)("form.config.hcv.fields.namespace.label"),
6363
6359
  type: "text"
6364
6360
  }, null, 8, ["modelValue", "is-readonly", "label"]),
6365
- h(pe, {
6361
+ y(pe, {
6366
6362
  modelValue: p[l(g).HCV].auth_method,
6367
6363
  "onUpdate:modelValue": b[14] || (b[14] = (k) => p[l(g).HCV].auth_method = k),
6368
6364
  "data-testid": "vault-form-config-hcv-auth_method",
@@ -6377,7 +6373,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6377
6373
  width: "100%"
6378
6374
  }, null, 8, ["modelValue", "items", "label", "readonly"]),
6379
6375
  p[l(g).HCV].auth_method === l(le).TOKEN ? (m(), I("div", Bu, [
6380
- h(O, {
6376
+ y(q, {
6381
6377
  modelValue: p[l(g).HCV].token,
6382
6378
  "onUpdate:modelValue": b[15] || (b[15] = (k) => p[l(g).HCV].token = k),
6383
6379
  modelModifiers: { trim: !0 },
@@ -6389,7 +6385,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6389
6385
  type: "text"
6390
6386
  }, null, 8, ["modelValue", "is-readonly", "label"])
6391
6387
  ])) : p[l(g).HCV].auth_method === l(le).K8S ? (m(), I("div", zu, [
6392
- h(O, {
6388
+ y(q, {
6393
6389
  modelValue: p[l(g).HCV].kube_role,
6394
6390
  "onUpdate:modelValue": b[16] || (b[16] = (k) => p[l(g).HCV].kube_role = k),
6395
6391
  modelModifiers: { trim: !0 },
@@ -6400,7 +6396,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6400
6396
  required: "",
6401
6397
  type: "text"
6402
6398
  }, null, 8, ["modelValue", "is-readonly", "label"]),
6403
- h(O, {
6399
+ y(q, {
6404
6400
  modelValue: p[l(g).HCV].kube_auth_path,
6405
6401
  "onUpdate:modelValue": b[17] || (b[17] = (k) => p[l(g).HCV].kube_auth_path = k),
6406
6402
  modelModifiers: { trim: !0 },
@@ -6410,7 +6406,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6410
6406
  label: l(n)("form.config.hcv.fields.kube_auth_path.label"),
6411
6407
  type: "text"
6412
6408
  }, null, 8, ["modelValue", "is-readonly", "label"]),
6413
- h(O, {
6409
+ y(q, {
6414
6410
  modelValue: p[l(g).HCV].kube_api_token_file,
6415
6411
  "onUpdate:modelValue": b[18] || (b[18] = (k) => p[l(g).HCV].kube_api_token_file = k),
6416
6412
  modelModifiers: { trim: !0 },
@@ -6422,7 +6418,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6422
6418
  type: "text"
6423
6419
  }, null, 8, ["modelValue", "is-readonly", "label"])
6424
6420
  ])) : p[l(g).HCV].auth_method === l(le).APP_ROLE ? (m(), I("div", Pu, [
6425
- h(O, {
6421
+ y(q, {
6426
6422
  modelValue: p[l(g).HCV].approle_auth_path,
6427
6423
  "onUpdate:modelValue": b[19] || (b[19] = (k) => p[l(g).HCV].approle_auth_path = k),
6428
6424
  modelModifiers: { trim: !0 },
@@ -6432,7 +6428,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6432
6428
  label: l(n)("form.config.hcv.fields.approle_auth_path.label"),
6433
6429
  type: "text"
6434
6430
  }, null, 8, ["modelValue", "is-readonly", "label"]),
6435
- h(O, {
6431
+ y(q, {
6436
6432
  modelValue: p[l(g).HCV].approle_role_id,
6437
6433
  "onUpdate:modelValue": b[20] || (b[20] = (k) => p[l(g).HCV].approle_role_id = k),
6438
6434
  modelModifiers: { trim: !0 },
@@ -6443,7 +6439,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6443
6439
  required: "",
6444
6440
  type: "text"
6445
6441
  }, null, 8, ["modelValue", "is-readonly", "label"]),
6446
- h(O, {
6442
+ y(q, {
6447
6443
  modelValue: p[l(g).HCV].approle_secret_id,
6448
6444
  "onUpdate:modelValue": b[21] || (b[21] = (k) => p[l(g).HCV].approle_secret_id = k),
6449
6445
  modelModifiers: { trim: !0 },
@@ -6453,7 +6449,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6453
6449
  label: l(n)("form.config.hcv.fields.approle_secret_id.label"),
6454
6450
  type: "text"
6455
6451
  }, null, 8, ["modelValue", "is-readonly", "label"]),
6456
- h(O, {
6452
+ y(q, {
6457
6453
  modelValue: p[l(g).HCV].approle_secret_id_file,
6458
6454
  "onUpdate:modelValue": b[22] || (b[22] = (k) => p[l(g).HCV].approle_secret_id_file = k),
6459
6455
  modelModifiers: { trim: !0 },
@@ -6463,7 +6459,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6463
6459
  label: l(n)("form.config.hcv.fields.approle_secret_id_file.label"),
6464
6460
  type: "text"
6465
6461
  }, null, 8, ["modelValue", "is-readonly", "label"]),
6466
- h(Ce, {
6462
+ y(Ce, {
6467
6463
  modelValue: p[l(g).HCV].approle_response_wrapping,
6468
6464
  "onUpdate:modelValue": b[23] || (b[23] = (k) => p[l(g).HCV].approle_response_wrapping = k),
6469
6465
  "data-testid": "vault-form-config-hcv-approle_response_wrapping",
@@ -6475,7 +6471,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6475
6471
  key: `${l(g).HCV}-vault-config-fields`,
6476
6472
  class: "vault-form-config-fields-container"
6477
6473
  }, [
6478
- h(O, {
6474
+ y(q, {
6479
6475
  modelValue: p[l(g).AZURE].location,
6480
6476
  "onUpdate:modelValue": b[24] || (b[24] = (k) => p[l(g).AZURE].location = k),
6481
6477
  modelModifiers: { trim: !0 },
@@ -6486,7 +6482,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6486
6482
  required: "",
6487
6483
  type: "text"
6488
6484
  }, null, 8, ["modelValue", "is-readonly", "label"]),
6489
- h(O, {
6485
+ y(q, {
6490
6486
  modelValue: p[l(g).AZURE].vault_uri,
6491
6487
  "onUpdate:modelValue": b[25] || (b[25] = (k) => p[l(g).AZURE].vault_uri = k),
6492
6488
  modelModifiers: { trim: !0 },
@@ -6497,7 +6493,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6497
6493
  required: "",
6498
6494
  type: "text"
6499
6495
  }, null, 8, ["modelValue", "is-readonly", "label"]),
6500
- h(O, {
6496
+ y(q, {
6501
6497
  modelValue: p[l(g).AZURE].credentials_prefix,
6502
6498
  "onUpdate:modelValue": b[26] || (b[26] = (k) => p[l(g).AZURE].credentials_prefix = k),
6503
6499
  modelModifiers: { trim: !0 },
@@ -6508,7 +6504,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6508
6504
  required: "",
6509
6505
  type: "text"
6510
6506
  }, null, 8, ["modelValue", "is-readonly", "label"]),
6511
- h(pe, {
6507
+ y(pe, {
6512
6508
  modelValue: p[l(g).AZURE].type,
6513
6509
  "onUpdate:modelValue": b[27] || (b[27] = (k) => p[l(g).AZURE].type = k),
6514
6510
  "data-testid": "vault-form-config-azure-type",
@@ -6519,7 +6515,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6519
6515
  required: "",
6520
6516
  width: "100%"
6521
6517
  }, null, 8, ["modelValue", "label", "placeholder", "readonly"]),
6522
- h(O, {
6518
+ y(q, {
6523
6519
  modelValue: p[l(g).AZURE].client_id,
6524
6520
  "onUpdate:modelValue": b[28] || (b[28] = (k) => p[l(g).AZURE].client_id = k),
6525
6521
  modelModifiers: { trim: !0 },
@@ -6529,7 +6525,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6529
6525
  label: l(n)("form.config.azure.fields.client_id.label"),
6530
6526
  type: "text"
6531
6527
  }, null, 8, ["modelValue", "is-readonly", "label"]),
6532
- h(O, {
6528
+ y(q, {
6533
6529
  modelValue: p[l(g).AZURE].tenant_id,
6534
6530
  "onUpdate:modelValue": b[29] || (b[29] = (k) => p[l(g).AZURE].tenant_id = k),
6535
6531
  modelModifiers: { trim: !0 },
@@ -6548,10 +6544,10 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6548
6544
  "trigger-alignment": "leading",
6549
6545
  "trigger-label": l(n)("form.config.advancedFields.title")
6550
6546
  }, {
6551
- default: y(() => [
6547
+ default: h(() => [
6552
6548
  A("div", Zu, [
6553
6549
  A("div", Wu, [
6554
- h(O, {
6550
+ y(q, {
6555
6551
  modelValue: p[d.value].ttl,
6556
6552
  "onUpdate:modelValue": b[30] || (b[30] = (k) => p[d.value].ttl = k),
6557
6553
  "data-testid": "vault-ttl-input",
@@ -6561,7 +6557,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6561
6557
  }, null, 8, ["modelValue", "label", "label-attributes"])
6562
6558
  ]),
6563
6559
  A("div", Gu, [
6564
- h(O, {
6560
+ y(q, {
6565
6561
  modelValue: p[d.value].neg_ttl,
6566
6562
  "onUpdate:modelValue": b[31] || (b[31] = (k) => p[d.value].neg_ttl = k),
6567
6563
  "data-testid": "vault-neg-ttl-input",
@@ -6573,7 +6569,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6573
6569
  ]),
6574
6570
  A("div", Ju, [
6575
6571
  A("div", Yu, [
6576
- h(O, {
6572
+ y(q, {
6577
6573
  modelValue: p[d.value].resurrect_ttl,
6578
6574
  "onUpdate:modelValue": b[32] || (b[32] = (k) => p[d.value].resurrect_ttl = k),
6579
6575
  "data-testid": "vault-resurrect-ttl-input",
@@ -6593,12 +6589,12 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6593
6589
  ]),
6594
6590
  _: 1
6595
6591
  }, 8, ["description", "title"]),
6596
- h(l(Tt), {
6592
+ y(l(Tt), {
6597
6593
  description: l(n)("form.sections.general.description"),
6598
6594
  title: l(n)("form.sections.general.title")
6599
6595
  }, {
6600
- default: y(() => [
6601
- h(O, {
6596
+ default: h(() => [
6597
+ y(q, {
6602
6598
  modelValue: c.fields.prefix,
6603
6599
  "onUpdate:modelValue": b[33] || (b[33] = (k) => c.fields.prefix = k),
6604
6600
  modelModifiers: { trim: !0 },
@@ -6612,7 +6608,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6612
6608
  required: "",
6613
6609
  type: "text"
6614
6610
  }, null, 8, ["modelValue", "help", "is-readonly", "label", "label-attributes", "placeholder"]),
6615
- h(je, {
6611
+ y(je, {
6616
6612
  modelValue: c.fields.description,
6617
6613
  "onUpdate:modelValue": b[34] || (b[34] = (k) => c.fields.description = k),
6618
6614
  modelModifiers: { trim: !0 },
@@ -6623,7 +6619,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6623
6619
  placeholder: l(n)("form.fields.description.placeholder"),
6624
6620
  readonly: c.isReadonly
6625
6621
  }, null, 8, ["modelValue", "label", "placeholder", "readonly"]),
6626
- h(O, {
6622
+ y(q, {
6627
6623
  modelValue: c.fields.tags,
6628
6624
  "onUpdate:modelValue": b[35] || (b[35] = (k) => c.fields.tags = k),
6629
6625
  modelModifiers: { trim: !0 },
@@ -6644,7 +6640,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6644
6640
  ]);
6645
6641
  };
6646
6642
  }
6647
- }), yc = /* @__PURE__ */ ht(Qu, [["__scopeId", "data-v-9d4a7225"]]), Xu = { class: "kong-ui-vault-entity-config-card" }, bc = /* @__PURE__ */ G({
6643
+ }), hc = /* @__PURE__ */ yt(Qu, [["__scopeId", "data-v-9d4a7225"]]), Xu = { class: "kong-ui-vault-entity-config-card" }, bc = /* @__PURE__ */ G({
6648
6644
  __name: "VaultConfigCard",
6649
6645
  props: {
6650
6646
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -6674,7 +6670,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6674
6670
  const t = e, a = S(() => {
6675
6671
  var n, o;
6676
6672
  return (o = ct.form[(n = t.config) == null ? void 0 : n.app]) == null ? void 0 : o.edit;
6677
- }), { i18n: { t: r } } = it.useI18n(), i = F({
6673
+ }), { i18n: { t: r } } = it.useI18n(), i = U({
6678
6674
  id: {},
6679
6675
  name: {
6680
6676
  label: r("labels.vault_type")
@@ -6683,11 +6679,11 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6683
6679
  created_at: {},
6684
6680
  prefix: {
6685
6681
  order: 5,
6686
- section: he.Basic
6682
+ section: ye.Basic
6687
6683
  },
6688
6684
  description: {
6689
6685
  order: 6,
6690
- section: he.Basic
6686
+ section: ye.Basic
6691
6687
  },
6692
6688
  tags: {
6693
6689
  order: 7
@@ -6698,7 +6694,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6698
6694
  }
6699
6695
  });
6700
6696
  return (n, o) => (m(), I("div", Xu, [
6701
- h(l(Ms), {
6697
+ y(l(Ms), {
6702
6698
  config: e.config,
6703
6699
  "config-card-doc": e.configCardDoc,
6704
6700
  "config-schema": i.value,
@@ -6770,59 +6766,59 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6770
6766
  }), v = S(() => {
6771
6767
  var H;
6772
6768
  return `${r.config.apiBaseUrl}${Lt.list[r.config.app]}`.replace(/{controlPlaneId}/gi, ((H = r.config) == null ? void 0 : H.controlPlaneId) || "").replace(/{id}/gi, r.vaultId || "");
6773
- }), d = F(""), x = {
6769
+ }), d = U(""), x = {
6774
6770
  isExactMatch: !0,
6775
6771
  placeholder: i("search.placeholder.konnect")
6776
- }, C = F(1), { fetcher: V, fetcherState: p } = _i(r.config, v.value), N = () => {
6772
+ }, C = U(1), { fetcher: V, fetcherState: p } = _i(r.config, v.value), N = () => {
6777
6773
  d.value = "";
6778
- }, U = F(null), E = (H) => ({
6774
+ }, K = U(null), E = (H) => ({
6779
6775
  label: i("actions.edit"),
6780
6776
  to: r.config.getEditRoute(H)
6781
- }), q = F(void 0), $ = F(!1), T = F(!1), f = F(""), _ = Ci(r.config, v.value), L = (H) => {
6782
- q.value = H, $.value = !0;
6783
- }, R = () => {
6777
+ }), R = U(void 0), $ = U(!1), T = U(!1), f = U(""), w = Ci(r.config, v.value), L = (H) => {
6778
+ R.value = H, $.value = !0;
6779
+ }, O = () => {
6784
6780
  $.value = !1;
6785
6781
  }, z = async () => {
6786
6782
  var H, te, ae;
6787
- if ((H = q.value) != null && H.key) {
6783
+ if ((H = R.value) != null && H.key) {
6788
6784
  T.value = !0;
6789
6785
  try {
6790
- await o.delete(_(q.value.key)), T.value = !1, $.value = !1, C.value++, a("delete:success", q.value);
6786
+ await o.delete(w(R.value.key)), T.value = !1, $.value = !1, C.value++, a("delete:success", R.value);
6791
6787
  } catch (X) {
6792
6788
  f.value = ((ae = (te = X.response) == null ? void 0 : te.data) == null ? void 0 : ae.message) || X.message || i("errors.delete"), a("error", X);
6793
6789
  } finally {
6794
6790
  T.value = !1;
6795
6791
  }
6796
6792
  }
6797
- }, B = F(!1);
6793
+ }, B = U(!1);
6798
6794
  Re(p, (H) => {
6799
6795
  var te, ae, X, ne;
6800
6796
  if (Array.isArray((te = H == null ? void 0 : H.response) == null ? void 0 : te.data) && (B.value = H.response.data.length > 0), H.status === Ee.Error) {
6801
- U.value = {
6797
+ K.value = {
6802
6798
  title: i("errors.general")
6803
- }, (ne = (X = (ae = H.error) == null ? void 0 : ae.response) == null ? void 0 : X.data) != null && ne.message && (U.value.message = H.error.response.data.message), a("error", H.error);
6799
+ }, (ne = (X = (ae = H.error) == null ? void 0 : ae.response) == null ? void 0 : X.data) != null && ne.message && (K.value.message = H.error.response.data.message), a("error", H.error);
6804
6800
  return;
6805
6801
  }
6806
- U.value = null;
6802
+ K.value = null;
6807
6803
  });
6808
- const K = F({
6804
+ const F = U({
6809
6805
  ctaPath: r.config.createRoute,
6810
6806
  ctaText: void 0,
6811
6807
  message: `${i("secrets.list.empty_state.description")}${r.config.additionMessageForEmptyState ? ` ${r.config.additionMessageForEmptyState}` : ""}`,
6812
6808
  title: i("secrets.title")
6813
6809
  });
6814
6810
  return dt(async () => {
6815
- await r.canCreate() && (K.value.title = i("secrets.list.empty_state.title"), K.value.ctaText = i("secrets.list.toolbar_actions.new_secret"));
6811
+ await r.canCreate() && (F.value.title = i("secrets.list.empty_state.title"), F.value.ctaText = i("secrets.list.toolbar_actions.new_secret"));
6816
6812
  }), (H, te) => {
6817
6813
  const ae = D("KButton"), X = D("KDropdownItem");
6818
6814
  return m(), I("div", ec, [
6819
- h(l(hi), {
6815
+ y(l(yi), {
6820
6816
  "cache-identifier": e.cacheIdentifier,
6821
6817
  "disable-pagination-page-jump": "",
6822
6818
  "disable-sorting": "",
6823
- "empty-state-options": K.value,
6819
+ "empty-state-options": F.value,
6824
6820
  "enable-entity-actions": "",
6825
- "error-message": U.value,
6821
+ "error-message": K.value,
6826
6822
  fetcher: l(V),
6827
6823
  "fetcher-cache-key": C.value,
6828
6824
  "pagination-type": "offset",
@@ -6832,26 +6828,26 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6832
6828
  "table-headers": l(u),
6833
6829
  onClearSearchInput: N
6834
6830
  }, {
6835
- "toolbar-filter": y(() => [
6836
- h(l(bi), {
6831
+ "toolbar-filter": h(() => [
6832
+ y(l(bi), {
6837
6833
  modelValue: d.value,
6838
6834
  "onUpdate:modelValue": te[0] || (te[0] = (ne) => d.value = ne),
6839
6835
  config: x
6840
6836
  }, null, 8, ["modelValue"])
6841
6837
  ]),
6842
- "toolbar-button": y(() => [
6843
- h(l(Fe), {
6838
+ "toolbar-button": h(() => [
6839
+ y(l(Ue), {
6844
6840
  "auth-function": () => e.canCreate()
6845
6841
  }, {
6846
- default: y(() => [
6847
- $e(h(ae, {
6842
+ default: h(() => [
6843
+ $e(y(ae, {
6848
6844
  appearance: "primary",
6849
6845
  "data-testid": "toolbar-add-secret",
6850
6846
  size: "large",
6851
6847
  to: e.config.createRoute
6852
6848
  }, {
6853
- default: y(() => [
6854
- h(l(Ca)),
6849
+ default: h(() => [
6850
+ y(l(Ca)),
6855
6851
  Y(" " + M(l(i)("secrets.list.toolbar_actions.new_secret")), 1)
6856
6852
  ]),
6857
6853
  _: 1
@@ -6862,37 +6858,37 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6862
6858
  _: 1
6863
6859
  }, 8, ["auth-function"])
6864
6860
  ]),
6865
- key: y(({ rowValue: ne }) => [
6861
+ key: h(({ rowValue: ne }) => [
6866
6862
  A("div", tc, [
6867
6863
  A("b", null, M(ne ?? "-"), 1)
6868
6864
  ])
6869
6865
  ]),
6870
- updated_at: y(({ rowValue: ne }) => [
6866
+ updated_at: h(({ rowValue: ne }) => [
6871
6867
  A("span", null, M(ne ? l(n)(ne) : "-"), 1)
6872
6868
  ]),
6873
- actions: y(({ row: ne }) => [
6874
- h(l(Fe), {
6869
+ actions: h(({ row: ne }) => [
6870
+ y(l(Ue), {
6875
6871
  "auth-function": () => e.canEdit(ne)
6876
6872
  }, {
6877
- default: y(() => [
6878
- h(X, {
6873
+ default: h(() => [
6874
+ y(X, {
6879
6875
  "data-testid": "action-entity-edit",
6880
6876
  item: E(ne.key)
6881
6877
  }, null, 8, ["item"])
6882
6878
  ]),
6883
6879
  _: 2
6884
6880
  }, 1032, ["auth-function"]),
6885
- h(l(Fe), {
6881
+ y(l(Ue), {
6886
6882
  "auth-function": () => e.canDelete(ne)
6887
6883
  }, {
6888
- default: y(() => [
6889
- h(X, {
6884
+ default: h(() => [
6885
+ y(X, {
6890
6886
  danger: "",
6891
6887
  "data-testid": "action-entity-delete",
6892
6888
  "has-divider": "",
6893
6889
  onClick: (Z) => L(ne)
6894
6890
  }, {
6895
- default: y(() => [
6891
+ default: h(() => [
6896
6892
  Y(M(l(i)("actions.delete")), 1)
6897
6893
  ]),
6898
6894
  _: 2
@@ -6903,21 +6899,21 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6903
6899
  ]),
6904
6900
  _: 1
6905
6901
  }, 8, ["cache-identifier", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers"]),
6906
- h(l(yi), {
6902
+ y(l(hi), {
6907
6903
  "action-pending": T.value,
6908
6904
  description: l(i)("delete.description"),
6909
- "entity-name": q.value && q.value.key,
6905
+ "entity-name": R.value && R.value.key,
6910
6906
  "entity-type": l(qt).Secret,
6911
6907
  error: f.value,
6912
6908
  title: l(i)("delete.title_for_secret"),
6913
6909
  visible: $.value,
6914
- onCancel: R,
6910
+ onCancel: O,
6915
6911
  onProceed: z
6916
6912
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"])
6917
6913
  ]);
6918
6914
  };
6919
6915
  }
6920
- }), Cc = /* @__PURE__ */ ht(ac, [["__scopeId", "data-v-e59d34f3"]]), ic = { class: "kong-ui-entities-secret-form" }, rc = /* @__PURE__ */ G({
6916
+ }), Cc = /* @__PURE__ */ yt(ac, [["__scopeId", "data-v-e59d34f3"]]), ic = { class: "kong-ui-entities-secret-form" }, rc = /* @__PURE__ */ G({
6921
6917
  __name: "SecretForm",
6922
6918
  props: {
6923
6919
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -6953,8 +6949,8 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6953
6949
  value: ""
6954
6950
  }), v = S(
6955
6951
  () => {
6956
- var f, _;
6957
- return (_ = Lt.form[(f = a.config) == null ? void 0 : f.app]) == null ? void 0 : _.edit.replace(/{id}/gi, a.vaultId).replace(/{secretId}/gi, a.secretId);
6952
+ var f, w;
6953
+ return (w = Lt.form[(f = a.config) == null ? void 0 : f.app]) == null ? void 0 : w.edit.replace(/{id}/gi, a.vaultId).replace(/{secretId}/gi, a.secretId);
6958
6954
  }
6959
6955
  ), d = () => {
6960
6956
  var f;
@@ -6964,40 +6960,40 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
6964
6960
  }, C = (f) => {
6965
6961
  r("error", f);
6966
6962
  }, V = (f) => {
6967
- var _, L;
6968
- u.fields.key = ((_ = f == null ? void 0 : f.item) == null ? void 0 : _.key) || (f == null ? void 0 : f.key) || "", u.fields.value = ((L = f == null ? void 0 : f.item) == null ? void 0 : L.value) || (f == null ? void 0 : f.value) || "", Object.assign(c, u.fields);
6969
- }, p = S(() => a.secretId ? Ue.Edit : Ue.Create), N = S(() => {
6963
+ var w, L;
6964
+ u.fields.key = ((w = f == null ? void 0 : f.item) == null ? void 0 : w.key) || (f == null ? void 0 : f.key) || "", u.fields.value = ((L = f == null ? void 0 : f.item) == null ? void 0 : L.value) || (f == null ? void 0 : f.value) || "", Object.assign(c, u.fields);
6965
+ }, p = S(() => a.secretId ? Ke.Edit : Ke.Create), N = S(() => {
6970
6966
  var f;
6971
6967
  return `${a.config.apiBaseUrl}${Lt.form[a.config.app][p.value]}`.replace(/{controlPlaneId}/gi, ((f = a.config) == null ? void 0 : f.controlPlaneId) || "").replace(/{id}/gi, a.vaultId).replace(/{secretId}/gi, a.secretId);
6972
- }), U = S(() => !!u.fields.key && !!u.fields.value), E = S(() => JSON.stringify(u.fields) !== JSON.stringify(c)), q = S(() => ({
6968
+ }), K = S(() => !!u.fields.key && !!u.fields.value), E = S(() => JSON.stringify(u.fields) !== JSON.stringify(c)), R = S(() => ({
6973
6969
  key: u.fields.key,
6974
6970
  value: u.fields.value
6975
6971
  })), $ = async () => {
6976
6972
  try {
6977
6973
  u.readonly = !0;
6978
6974
  let f;
6979
- const _ = {
6980
- ...q.value,
6975
+ const w = {
6976
+ ...R.value,
6981
6977
  // Indicate that the secret is sensitive
6982
6978
  is_sensitive: !0
6983
6979
  };
6984
- p.value === "create" ? f = await o.post(N.value, _) : p.value === "edit" && (f = await o.put(N.value, _)), V(f == null ? void 0 : f.data), r("update", f == null ? void 0 : f.data);
6980
+ p.value === "create" ? f = await o.post(N.value, w) : p.value === "edit" && (f = await o.put(N.value, w)), V(f == null ? void 0 : f.data), r("update", f == null ? void 0 : f.data);
6985
6981
  } catch (f) {
6986
6982
  u.errorMessage = s(f), r("error", f);
6987
6983
  } finally {
6988
6984
  u.readonly = !1;
6989
6985
  }
6990
6986
  };
6991
- return (f, _) => {
6992
- const L = D("KInput"), R = D("KTextArea"), z = D("KAlert");
6987
+ return (f, w) => {
6988
+ const L = D("KInput"), O = D("KTextArea"), z = D("KAlert");
6993
6989
  return m(), I("div", ic, [
6994
- h(l(vi), {
6995
- "can-submit": U.value && E.value,
6990
+ y(l(vi), {
6991
+ "can-submit": K.value && E.value,
6996
6992
  config: e.config,
6997
6993
  "edit-id": e.secretId,
6998
6994
  "error-message": u.errorMessage,
6999
6995
  "fetch-url": v.value,
7000
- "form-fields": q.value,
6996
+ "form-fields": R.value,
7001
6997
  "is-readonly": u.readonly,
7002
6998
  onCancel: d,
7003
6999
  "onFetch:error": C,
@@ -7005,31 +7001,31 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
7005
7001
  onLoading: x,
7006
7002
  onSubmit: $
7007
7003
  }, {
7008
- default: y(() => [
7004
+ default: h(() => [
7009
7005
  A("div", null, [
7010
- h(l(Tt), {
7006
+ y(l(Tt), {
7011
7007
  description: l(i)("secrets.form.info.description"),
7012
7008
  "has-divider": "",
7013
7009
  title: l(i)("secrets.form.info.title")
7014
7010
  }, {
7015
- default: y(() => [
7016
- h(L, {
7011
+ default: h(() => [
7012
+ y(L, {
7017
7013
  modelValue: u.fields.key,
7018
- "onUpdate:modelValue": _[0] || (_[0] = (B) => u.fields.key = B),
7014
+ "onUpdate:modelValue": w[0] || (w[0] = (B) => u.fields.key = B),
7019
7015
  modelModifiers: { trim: !0 },
7020
7016
  autocomplete: "off",
7021
7017
  class: "key-field",
7022
7018
  "data-testid": "secret-form-key",
7023
- disabled: p.value === l(Ue).Edit,
7019
+ disabled: p.value === l(Ke).Edit,
7024
7020
  label: l(i)("secrets.form.fields.key.label"),
7025
7021
  placeholder: l(i)("secrets.form.fields.key.placeholder"),
7026
7022
  readonly: u.readonly,
7027
7023
  required: "",
7028
7024
  type: "text"
7029
7025
  }, null, 8, ["modelValue", "disabled", "label", "placeholder", "readonly"]),
7030
- h(R, {
7026
+ y(O, {
7031
7027
  modelValue: u.fields.value,
7032
- "onUpdate:modelValue": _[1] || (_[1] = (B) => u.fields.value = B),
7028
+ "onUpdate:modelValue": w[1] || (w[1] = (B) => u.fields.value = B),
7033
7029
  modelModifiers: { trim: !0 },
7034
7030
  autocomplete: "off",
7035
7031
  "data-testid": "secret-form-value",
@@ -7040,7 +7036,7 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
7040
7036
  resizable: "",
7041
7037
  type: "text"
7042
7038
  }, null, 8, ["modelValue", "label", "placeholder", "readonly"]),
7043
- h(z, {
7039
+ y(z, {
7044
7040
  appearance: "warning",
7045
7041
  message: l(i)("secrets.form.hint")
7046
7042
  }, null, 8, ["message"])
@@ -7054,14 +7050,14 @@ const Ou = { class: "kong-ui-entities-vault-form" }, Ru = { class: "vault-form-p
7054
7050
  ]);
7055
7051
  };
7056
7052
  }
7057
- }), kc = /* @__PURE__ */ ht(rc, [["__scopeId", "data-v-56088ff8"]]);
7053
+ }), kc = /* @__PURE__ */ yt(rc, [["__scopeId", "data-v-56088ff8"]]);
7058
7054
  export {
7059
7055
  kc as SecretForm,
7060
7056
  Cc as SecretList,
7061
7057
  le as VaultAuthMethods,
7062
7058
  bc as VaultConfigCard,
7063
- yc as VaultForm,
7064
- hc as VaultList,
7059
+ hc as VaultForm,
7060
+ yc as VaultList,
7065
7061
  g as VaultProviders,
7066
7062
  Lt as secretsEndpoints,
7067
7063
  ct as vaultsEndpoints