@kong-ui-public/entities-shared 3.13.0 → 3.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
- import { inject as Bt, ref as N, computed as E, unref as k, toValue as Dn, watch as _e, provide as Kt, toRef as jn, defineComponent as G, openBlock as p, createBlock as D, resolveDynamicComponent as Me, normalizeClass as fe, withCtx as C, createElementBlock as T, createElementVNode as B, toDisplayString as O, createCommentVNode as U, Fragment as le, renderList as oe, resolveComponent as j, createVNode as M, createTextVNode as H, useCssVars as Nt, useSlots as Xe, renderSlot as P, createSlots as ke, normalizeProps as Un, guardReactiveProps as Pn, mergeProps as qn, onBeforeMount as Mt, withModifiers as Oe, onMounted as Hn, onUnmounted as Yn, withDirectives as ge, vShow as ye, withKeys as Vn, Teleport as Wn } from "vue";
1
+ import { inject as Bt, ref as B, computed as T, unref as A, toValue as Ve, watch as Ae, provide as Kt, toRef as Dn, defineComponent as W, openBlock as p, createBlock as D, resolveDynamicComponent as Ne, normalizeClass as fe, withCtx as k, createElementBlock as S, createElementVNode as L, toDisplayString as F, createCommentVNode as U, Fragment as le, renderList as oe, resolveComponent as j, createVNode as M, createTextVNode as q, useCssVars as Nt, useSlots as Xe, renderSlot as P, createSlots as Ce, normalizeProps as jn, guardReactiveProps as Un, mergeProps as Pn, onBeforeMount as Mt, withModifiers as Fe, onMounted as qn, onUnmounted as Hn, withDirectives as he, vShow as ge, withKeys as Yn, Teleport as Vn } from "vue";
2
2
  import ct from "axios";
3
- import { createI18n as Jn, i18nTComponent as Gn } from "@kong-ui-public/i18n";
4
- import { BadgeMethodAppearances as zn, KButton as ut, KTruncate as Qn, KBadge as Zn } from "@kong/kongponents";
5
- import { BookIcon as Dt, AddIcon as jt, CloseIcon as Xn, ChevronDownIcon as er, CopyIcon as tr } from "@kong/icons";
6
- import { useRouter as nr } from "vue-router";
7
- var rr = /* @__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))(rr || {}), ir = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(ir || {}), ue = /* @__PURE__ */ ((e) => (e[e.InitialLoad = 0] = "InitialLoad", e[e.Loading = 1] = "Loading", e[e.Idle = 2] = "Idle", e[e.NoResults = 3] = "NoResults", e[e.NoRecords = 4] = "NoRecords", e[e.Error = 5] = "Error", e))(ue || {}), et = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e.Other = "other", e))(et || {});
8
- const De = Object.values(et);
3
+ import { createI18n as Wn, i18nTComponent as Jn } from "@kong-ui-public/i18n";
4
+ import { BadgeMethodAppearances as Gn, KButton as ut, KTruncate as zn, KBadge as Qn } from "@kong/kongponents";
5
+ import { BookIcon as Dt, AddIcon as jt, CloseIcon as Zn, ChevronDownIcon as Xn, CopyIcon as er } from "@kong/icons";
6
+ import { useRouter as tr } from "vue-router";
7
+ var nr = /* @__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))(nr || {}), rr = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(rr || {}), ue = /* @__PURE__ */ ((e) => (e[e.InitialLoad = 0] = "InitialLoad", e[e.Loading = 1] = "Loading", e[e.Idle = 2] = "Idle", e[e.NoResults = 3] = "NoResults", e[e.NoRecords = 4] = "NoRecords", e[e.Error = 5] = "Error", e))(ue || {}), et = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e.Other = "other", e))(et || {});
8
+ const Me = Object.values(et);
9
9
  var Y = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.CopyBadge = "copy-badge", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(Y || {}), ae = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ae || {});
10
- function ar() {
10
+ function ir() {
11
11
  return {
12
12
  getAxiosInstance: (e = {}) => {
13
13
  try {
@@ -31,7 +31,7 @@ function ar() {
31
31
  }
32
32
  };
33
33
  }
34
- function or() {
34
+ function ar() {
35
35
  return {
36
36
  debounce: (e, t) => {
37
37
  let n;
@@ -43,13 +43,13 @@ function or() {
43
43
  }
44
44
  };
45
45
  }
46
- const Pe = "khcp-user-table-preferences", lr = {
46
+ const Ue = "khcp-user-table-preferences", or = {
47
47
  pageSize: 30,
48
48
  sortColumnKey: void 0,
49
49
  sortColumnOrder: void 0,
50
50
  columnVisibility: {}
51
51
  };
52
- function sr() {
52
+ function lr() {
53
53
  const e = (n) => {
54
54
  if (typeof n == "string")
55
55
  try {
@@ -59,44 +59,44 @@ function sr() {
59
59
  return;
60
60
  }
61
61
  }, t = () => {
62
- const n = e(localStorage.getItem(Pe));
62
+ const n = e(localStorage.getItem(Ue));
63
63
  return !n || !Object.keys(n).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(n));
64
64
  };
65
65
  return {
66
66
  setTablePreferences: (n, r) => {
67
67
  try {
68
68
  const i = t();
69
- i.set(n, r), localStorage.setItem(Pe, JSON.stringify(Object.fromEntries(i.entries())));
69
+ i.set(n, r), localStorage.setItem(Ue, JSON.stringify(Object.fromEntries(i.entries())));
70
70
  } catch (i) {
71
71
  console.error("useTablePreferences(setTablePreferences)", i);
72
72
  }
73
73
  },
74
74
  getTablePreferences: (n, r) => {
75
75
  const i = t();
76
- return (i == null ? void 0 : i.get(n)) || void 0 || r || lr;
76
+ return (i == null ? void 0 : i.get(n)) || void 0 || r || or;
77
77
  },
78
78
  deleteAllTablePreferences: () => {
79
- localStorage.removeItem(Pe);
79
+ localStorage.removeItem(Ue);
80
80
  }
81
81
  };
82
82
  }
83
83
  function tt(e = {}) {
84
- const { getAxiosInstance: t } = ar();
84
+ const { getAxiosInstance: t } = ir();
85
85
  return {
86
86
  axiosInstance: t(e)
87
87
  };
88
88
  }
89
- const cr = {
89
+ const sr = {
90
90
  actions: {
91
91
  copyId: "Copy ID",
92
92
  copied_id: 'Copied "{id}" to the clipboard',
93
93
  copyToClipboard: "Copied successfully!",
94
94
  copyToClipboardFailed: "Failed to copy to the clipboard"
95
95
  }
96
- }, ur = {
96
+ }, cr = {
97
97
  message: "Are you sure you want to delete this {entityType}?",
98
98
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
99
- }, dr = {
99
+ }, ur = {
100
100
  actions: {
101
101
  viewConfiguration: "View Configuration",
102
102
  save: "Save",
@@ -113,13 +113,13 @@ const cr = {
113
113
  errors: {
114
114
  edit: "The entity could not be edited at this time."
115
115
  }
116
- }, fr = {
116
+ }, dr = {
117
117
  emptyState: {
118
118
  noSearchResultsTitle: "No results found",
119
119
  noSearchResultsMessage: "Please adjust the criteria and try again.",
120
120
  noSearchResultsCtaText: "Clear"
121
121
  }
122
- }, pr = {
122
+ }, fr = {
123
123
  title: "Configuration",
124
124
  actions: {
125
125
  copy: "Copy JSON"
@@ -154,10 +154,10 @@ const cr = {
154
154
  entryTitle: "Entry {index}",
155
155
  structuredFormat: "Structured"
156
156
  }
157
- }, mr = {
157
+ }, pr = {
158
158
  learnMore: "Learn more",
159
159
  pricingTitle: "Pricing: "
160
- }, hr = {
160
+ }, mr = {
161
161
  filterButtonText: "Filter",
162
162
  fieldLabel: "Filter by:",
163
163
  inputPlaceholder: "Enter a value",
@@ -165,17 +165,17 @@ const cr = {
165
165
  applyButtonText: "Apply",
166
166
  clearButtonText: "Clear",
167
167
  clearAllButtonText: "Clear all filters"
168
- }, gr = {
168
+ }, hr = {
169
169
  errors: {
170
170
  fetch: "Could not fetch available items",
171
171
  invalid: "Please select a valid value"
172
172
  }
173
- }, yr = {
173
+ }, gr = {
174
174
  unexpected: "An unexpected error has occurred",
175
175
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
176
- }, vr = {
176
+ }, yr = {
177
177
  utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
178
- }, br = {
178
+ }, vr = {
179
179
  enable: {
180
180
  title: "Enable {entityType}",
181
181
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -186,24 +186,24 @@ const cr = {
186
186
  message: "Are you sure you want to disable the {entityType} {entityName}?",
187
187
  confirmText: "Yes, disable"
188
188
  }
189
- }, xr = {
190
- global: cr,
191
- deleteModal: ur,
192
- baseForm: dr,
193
- baseTable: fr,
194
- baseConfigCard: pr,
195
- emptyState: mr,
196
- filter: hr,
197
- debouncedFilter: gr,
198
- errors: yr,
199
- validationErrors: vr,
200
- toggleModal: br
189
+ }, br = {
190
+ global: sr,
191
+ deleteModal: cr,
192
+ baseForm: ur,
193
+ baseTable: dr,
194
+ baseConfigCard: fr,
195
+ emptyState: pr,
196
+ filter: mr,
197
+ debouncedFilter: hr,
198
+ errors: gr,
199
+ validationErrors: yr,
200
+ toggleModal: vr
201
201
  };
202
- function je() {
203
- const e = Jn("en-us", xr);
202
+ function De() {
203
+ const e = Wn("en-us", br);
204
204
  return {
205
205
  i18n: e,
206
- i18nT: Gn(e)
206
+ i18nT: Jn(e)
207
207
  // Translation component <i18n-t>
208
208
  };
209
209
  }
@@ -249,71 +249,71 @@ function Ut() {
249
249
  isValidUuid: (o) => o ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(o) : !1
250
250
  };
251
251
  }
252
- function Cr(e, t, n, r = {
252
+ function xr(e, t, n, r = {
253
253
  fetchedItemsKey: "data",
254
254
  searchKeys: ["id"]
255
255
  }) {
256
256
  n || (n = "1000");
257
- const { axiosInstance: i } = tt(e.axiosRequestConfig), { i18n: { t: o } } = je(), { debounce: a } = or(), l = a(async (K) => {
258
- await v(K);
259
- }, 200), s = N(!1), u = N(""), d = N(""), c = N([]), m = N([]), f = N(void 0), y = E(() => {
260
- const K = `${e.apiBaseUrl}${k(t)}`;
261
- return e.app === "konnect" ? K.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" ? K.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "") : K;
262
- }), { isValidUuid: g } = Ut(), x = async () => {
257
+ const { axiosInstance: i } = tt(e.axiosRequestConfig), { i18n: { t: o } } = De(), { debounce: a } = ar(), l = a(async (O) => {
258
+ await b(O);
259
+ }, 200), s = B(!1), u = B(""), d = B(""), c = B([]), m = B([]), f = B(void 0), v = T(() => {
260
+ const O = `${e.apiBaseUrl}${A(t)}`;
261
+ return e.app === "konnect" ? O.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" ? O.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "") : O;
262
+ }), { isValidUuid: y } = Ut(), C = async () => {
263
263
  try {
264
264
  s.value = !0;
265
- const { data: K } = await i.get(`${y.value}?size=${n}`);
266
- K != null && K.next || (f.value = r.fetchedItemsKey in K ? K[r.fetchedItemsKey] : []), m.value = r.fetchedItemsKey in K ? K[r.fetchedItemsKey] : [], c.value = m.value;
265
+ const { data: O } = await i.get(`${v.value}?size=${n}`);
266
+ O != null && O.next || (f.value = r.fetchedItemsKey in O ? O[r.fetchedItemsKey] : []), m.value = r.fetchedItemsKey in O ? O[r.fetchedItemsKey] : [], c.value = m.value;
267
267
  } catch {
268
268
  c.value = [], u.value = o("debouncedFilter.errors.fetch");
269
269
  } finally {
270
270
  s.value = !1;
271
271
  }
272
- }, F = N(""), v = async (K) => {
273
- var L, I, h;
274
- if (F.value !== K) {
275
- if (F.value = K ?? "", !K) {
272
+ }, I = B(""), b = async (O) => {
273
+ var E, $, g;
274
+ if (I.value !== O) {
275
+ if (I.value = O ?? "", !O) {
276
276
  c.value = m.value;
277
277
  return;
278
278
  }
279
279
  if (f.value === void 0)
280
280
  try {
281
281
  if (s.value = !0, u.value = "", d.value = "", e.app === "konnect") {
282
- const A = `${y.value}/${K}`, { data: $ } = await i.get(`${A}?size=${n}`);
283
- r.fetchedItemsKey in $ ? c.value = $[r.fetchedItemsKey] : $ != null && $[r.exactMatchKey ?? "id"] ? c.value = [$] : c.value = [];
282
+ const h = `${v.value}/${O}`, { data: x } = await i.get(`${h}?size=${n}`);
283
+ r.fetchedItemsKey in x ? c.value = x[r.fetchedItemsKey] : x != null && x[r.exactMatchKey ?? "id"] ? c.value = [x] : c.value = [];
284
284
  } else {
285
- const A = [];
286
- g(K) && r.searchKeys.includes("id") ? A.push((async () => {
287
- const { data: b } = await i.get(`${y.value}/${K}`);
288
- return [b[r.fetchedItemsKey] ?? b];
289
- })()) : A.push(
290
- ...r.searchKeys.filter((b) => b !== "id").map(async (b) => {
291
- const { data: w } = await i.get(`${y.value}?${b}=${K}`);
292
- return w[r.fetchedItemsKey];
285
+ const h = [];
286
+ y(O) && r.searchKeys.includes("id") ? h.push((async () => {
287
+ const { data: R } = await i.get(`${v.value}/${O}`);
288
+ return [R[r.fetchedItemsKey] ?? R];
289
+ })()) : h.push(
290
+ ...r.searchKeys.filter((R) => R !== "id").map(async (R) => {
291
+ const { data: K } = await i.get(`${v.value}?${R}=${O}`);
292
+ return K[r.fetchedItemsKey];
293
293
  })
294
294
  );
295
- const $ = await Promise.all(A), S = /* @__PURE__ */ new Set();
296
- c.value = [], (L = $ == null ? void 0 : $.forEach) == null || L.call($, (b) => {
297
- var w;
298
- (w = b == null ? void 0 : b.forEach) == null || w.call(b, (R) => {
299
- S.has(R.id) || (S.add(R.id), c.value.push(R));
295
+ const x = await Promise.all(h), _ = /* @__PURE__ */ new Set();
296
+ c.value = [], (E = x == null ? void 0 : x.forEach) == null || E.call(x, (R) => {
297
+ var K;
298
+ (K = R == null ? void 0 : R.forEach) == null || K.call(R, (N) => {
299
+ _.has(N.id) || (_.add(N.id), c.value.push(N));
300
300
  });
301
301
  });
302
302
  }
303
- } catch (A) {
304
- ((I = A == null ? void 0 : A.response) == null ? void 0 : I.status) === 404 ? d.value = o("debouncedFilter.errors.invalid") : (c.value = [], u.value = o("debouncedFilter.errors.fetch"));
303
+ } catch (h) {
304
+ (($ = h == null ? void 0 : h.response) == null ? void 0 : $.status) === 404 ? d.value = o("debouncedFilter.errors.invalid") : (c.value = [], u.value = o("debouncedFilter.errors.fetch"));
305
305
  } finally {
306
306
  s.value = !1;
307
307
  }
308
308
  else
309
- s.value = !0, d.value = "", c.value = (h = f.value) == null ? void 0 : h.filter((A) => {
310
- var S;
311
- let $ = !1;
312
- for (const b of r.searchKeys) {
313
- const w = typeof A[b] == "string" ? (S = A[b]) == null ? void 0 : S.toLowerCase() : A[b];
314
- w != null && w.includes(K.toLowerCase()) && ($ = !0);
309
+ s.value = !0, d.value = "", c.value = (g = f.value) == null ? void 0 : g.filter((h) => {
310
+ var _;
311
+ let x = !1;
312
+ for (const R of r.searchKeys) {
313
+ const K = typeof h[R] == "string" ? (_ = h[R]) == null ? void 0 : _.toLowerCase() : h[R];
314
+ K != null && K.includes(O.toLowerCase()) && (x = !0);
315
315
  }
316
- return $;
316
+ return x;
317
317
  }), (!c.value || !c.value.length) && (d.value = o("debouncedFilter.errors.invalid")), s.value = !1;
318
318
  }
319
319
  };
@@ -323,18 +323,18 @@ function Cr(e, t, n, r = {
323
323
  validationError: d,
324
324
  results: c,
325
325
  allRecords: f,
326
- loadItems: x,
326
+ loadItems: C,
327
327
  debouncedQueryChange: l
328
328
  };
329
329
  }
330
- function kr(e, t) {
331
- const n = k(t), r = E(
330
+ function Cr(e, t) {
331
+ const n = A(t), r = T(
332
332
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
333
333
  );
334
334
  return r.value.search = "", (i) => `${r.value.href}/${i}`;
335
335
  }
336
- function Ar() {
337
- const { i18n: { t: e } } = je();
336
+ function kr() {
337
+ const { i18n: { t: e } } = De();
338
338
  return {
339
339
  getMessageFromError: (n) => {
340
340
  var r, i, o, a;
@@ -363,7 +363,7 @@ function Ar() {
363
363
  }
364
364
  };
365
365
  }
366
- function _r(e) {
366
+ function Ar(e) {
367
367
  const t = window.location.origin, n = t.endsWith("/") ? t : `${t}/`;
368
368
  try {
369
369
  const r = e.join("/"), i = `${n}${r}`, o = e.some((l) => l.trim() === "");
@@ -375,17 +375,17 @@ function _r(e) {
375
375
  }
376
376
  }
377
377
  function Pt(e, t) {
378
- const n = N(k(e)), r = N(k(t)), i = E(
378
+ const n = B(A(e)), r = B(A(t)), i = T(
379
379
  () => !!(n.value.app === "konnect" || n.value.isExactMatch)
380
- ), o = E(
380
+ ), o = T(
381
381
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
382
382
  );
383
383
  return (a) => {
384
384
  const { page: l, pageSize: s, offset: u, sortColumnKey: d, sortColumnOrder: c, query: m } = a;
385
385
  try {
386
386
  let f = new URL(o.value.href);
387
- return i.value && m ? (f.search = "", f = n.value.isExactMatch ? new URL(`${f.href}/${m}`) : new URL(`${f.href}?filter[name][contains]=${m}`)) : (i.value || new URLSearchParams(m).forEach((y, g) => {
388
- f.searchParams.append(g, y);
387
+ return i.value && m ? (f.search = "", f = n.value.isExactMatch ? new URL(`${f.href}/${m}`) : new URL(`${f.href}?filter[name][contains]=${m}`)) : (i.value || new URLSearchParams(m).forEach((v, y) => {
388
+ f.searchParams.append(y, v);
389
389
  }), d && f.searchParams.append("sort_by", d), c === "desc" && f.searchParams.append("sort_desc", "1"), f.searchParams.append("size", String(s))), u && l !== 1 && f.searchParams.append("offset", String(u)), f.href;
390
390
  } catch (f) {
391
391
  return console.error("RouteList(fetcher)", f), r.value;
@@ -393,52 +393,52 @@ function Pt(e, t) {
393
393
  };
394
394
  }
395
395
  const dt = /* @__PURE__ */ new Map();
396
- function wr(e, t, n) {
397
- const r = N(!0), i = k(t), { axiosInstance: o } = tt(e.axiosRequestConfig), a = Pt(e, i), l = N({
396
+ function _r(e, t, n) {
397
+ const r = B(!0), i = A(t), { axiosInstance: o } = tt(e.axiosRequestConfig), a = Pt(e, i), l = B({
398
398
  status: ue.Idle
399
399
  }), s = async (c) => {
400
400
  var f;
401
- const m = Dn(n) || "data";
401
+ const m = Ve(n) || "data";
402
402
  try {
403
403
  l.value = r.value ? { status: ue.InitialLoad } : { status: ue.Loading }, r.value = !1;
404
- let y = a(c);
405
- y.includes("filter[name]") && (y = `${y}&page[size]=${c.pageSize}&page[number]=${c.page}`);
406
- const g = await o.get(y);
407
- if (g.status >= 400)
408
- throw g;
409
- const x = g.data, F = m && m.replace(/[^\w-_]/gi, "");
410
- let v;
411
- x[F] ? v = Array.isArray(x[F]) ? x[F] : [x[F]] : Array.isArray(x) ? v = x : v = Object.keys(x).length ? [x] : [];
412
- const K = {
413
- data: v,
414
- total: v.length,
415
- ...x.offset ? {
404
+ let v = a(c);
405
+ v.includes("filter[name]") && (v = `${v}&page[size]=${c.pageSize}&page[number]=${c.page}`);
406
+ const y = await o.get(v);
407
+ if (y.status >= 400)
408
+ throw y;
409
+ const C = y.data, I = m && m.replace(/[^\w-_]/gi, "");
410
+ let b;
411
+ C[I] ? b = Array.isArray(C[I]) ? C[I] : [C[I]] : Array.isArray(C) ? b = C : b = Object.keys(C).length ? [C] : [];
412
+ const O = {
413
+ data: b,
414
+ total: b.length,
415
+ ...C.offset ? {
416
416
  pagination: {
417
- offset: x.offset
417
+ offset: C.offset
418
418
  }
419
419
  } : null
420
420
  };
421
- return K.data.length === 0 && !c.query ? l.value = {
421
+ return O.data.length === 0 && !c.query ? l.value = {
422
422
  status: ue.NoRecords,
423
- response: K
423
+ response: O
424
424
  } : l.value = {
425
425
  status: ue.Idle,
426
- response: K
427
- }, K;
428
- } catch (y) {
429
- const g = {
426
+ response: O
427
+ }, O;
428
+ } catch (v) {
429
+ const y = {
430
430
  data: [],
431
431
  total: 0
432
432
  };
433
- return c.query && (((f = y.response) == null ? void 0 : f.status) === 404 || y.status === 404) ? (l.value = {
433
+ return c.query && (((f = v.response) == null ? void 0 : f.status) === 404 || v.status === 404) ? (l.value = {
434
434
  status: ue.NoResults,
435
- response: g,
436
- error: y.response ? y : { response: y }
437
- }, g) : (l.value = {
435
+ response: y,
436
+ error: v.response ? v : { response: v }
437
+ }, y) : (l.value = {
438
438
  status: ue.Error,
439
- response: g,
440
- error: y.response ? y : { response: y }
441
- }, g);
439
+ response: y,
440
+ error: v.response ? v : { response: v }
441
+ }, y);
442
442
  }
443
443
  }, u = e.cacheIdentifier, d = qt(u);
444
444
  return { fetcher: s, fetcherState: l, fetcherCacheKey: d };
@@ -446,11 +446,11 @@ function wr(e, t, n) {
446
446
  function qt(e) {
447
447
  if (e) {
448
448
  let t = dt.get(e);
449
- return t || (t = N(1), dt.set(e, t)), t;
449
+ return t || (t = B(1), dt.set(e, t)), t;
450
450
  }
451
- return N(1);
451
+ return B(1);
452
452
  }
453
- function Sr() {
453
+ function wr() {
454
454
  const e = (r, i = "_") => r ? r.split(i).map((o) => o.toLowerCase() === "id" ? o.toUpperCase() : o.charAt(0).toUpperCase() + o.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
455
455
  return {
456
456
  capitalize: (r) => r ? r.replace(t, (i) => i.toUpperCase()) : "",
@@ -467,24 +467,24 @@ const Ht = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
467
467
  }, pt = (e) => e === "*" || e === "x" || e === "X", mt = (e) => {
468
468
  const t = parseInt(e, 10);
469
469
  return isNaN(t) ? e : t;
470
- }, $r = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], Tr = (e, t) => {
470
+ }, Sr = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], $r = (e, t) => {
471
471
  if (pt(e) || pt(t))
472
472
  return 0;
473
- const [n, r] = $r(mt(e), mt(t));
473
+ const [n, r] = Sr(mt(e), mt(t));
474
474
  return n > r ? 1 : n < r ? -1 : 0;
475
475
  }, ht = (e, t) => {
476
476
  for (let n = 0; n < Math.max(e.length, t.length); n++) {
477
- const r = Tr(e[n] || "0", t[n] || "0");
477
+ const r = $r(e[n] || "0", t[n] || "0");
478
478
  if (r !== 0)
479
479
  return r;
480
480
  }
481
481
  return 0;
482
- }, Ir = (e, t) => {
482
+ }, Tr = (e, t) => {
483
483
  const n = ft(e), r = ft(t), i = n.pop(), o = r.pop(), a = ht(n, r);
484
484
  return a !== 0 ? a : i && o ? ht(i.split("."), o.split(".")) : i || o ? i ? -1 : 1 : 0;
485
485
  }, gt = (e, t, n) => {
486
- Er(n);
487
- const r = Ir(e, t);
486
+ Ir(n);
487
+ const r = Tr(e, t);
488
488
  return Yt[n].includes(r);
489
489
  }, Yt = {
490
490
  ">": [1],
@@ -493,18 +493,18 @@ const Ht = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
493
493
  "<=": [-1, 0],
494
494
  "<": [-1],
495
495
  "!=": [-1, 1]
496
- }, yt = Object.keys(Yt), Er = (e) => {
496
+ }, yt = Object.keys(Yt), Ir = (e) => {
497
497
  if (typeof e != "string")
498
498
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
499
499
  if (yt.indexOf(e) === -1)
500
500
  throw new Error(`Invalid operator, expected one of ${yt.join("|")}`);
501
- }, Fr = (e) => typeof e == "string" && /^[v\d]/.test(e) && Ht.test(e);
502
- function Or(e) {
501
+ }, Er = (e) => typeof e == "string" && /^[v\d]/.test(e) && Ht.test(e);
502
+ function Fr(e) {
503
503
  const { gatewayInfo: t, supportedRange: n } = e;
504
504
  if (!t)
505
505
  return !0;
506
506
  const { edition: r, version: i } = t;
507
- if (!Fr(i))
507
+ if (!Er(i))
508
508
  return console.error("Invalid version"), !1;
509
509
  const o = n[r];
510
510
  if (!o)
@@ -512,47 +512,64 @@ function Or(e) {
512
512
  const [a, l] = o;
513
513
  return !(a && gt(i, a, "<") || l && gt(i, l, ">"));
514
514
  }
515
- function Lr(e) {
516
- const t = N(0), n = N(0), r = N(!1);
517
- return _e(e, (o) => {
515
+ function Or(e) {
516
+ const t = B(0), n = B(0), r = B(!1);
517
+ return Ae(e, (o) => {
518
518
  o && !r.value && (t.value = o.offsetWidth, n.value = o.scrollWidth, r.value = !0);
519
519
  }), {
520
- isTruncated: E(() => t.value < n.value)
520
+ isTruncated: T(() => t.value < n.value)
521
521
  };
522
522
  }
523
- function Rr() {
524
- const { i18n: { t: e } } = je();
523
+ function Lr() {
524
+ const { i18n: { t: e } } = De();
525
525
  return {
526
526
  utf8Name: (n) => /^[\p{N}\p{L}.\-_~]*$/u.test(n) ? "" : e("validationErrors.utf8Name")
527
527
  };
528
528
  }
529
- const We = Symbol("schema"), Br = (e) => {
529
+ const We = Symbol("schema"), Rr = (e) => {
530
530
  Kt(We, e);
531
- }, Kr = (e) => {
531
+ }, Br = (e) => {
532
532
  var i, o;
533
- const t = Bt(We, void 0), n = (o = (i = t == null ? void 0 : t.value) == null ? void 0 : i.fields) == null ? void 0 : o.find((a) => Object.keys(a)[0] === e), r = jn(n == null ? void 0 : n[e]);
533
+ const t = Bt(We, void 0), n = (o = (i = t == null ? void 0 : t.value) == null ? void 0 : i.fields) == null ? void 0 : o.find((a) => Object.keys(a)[0] === e), r = Dn(n == null ? void 0 : n[e]);
534
534
  return Kt(We, r), r;
535
- }, V = {
535
+ };
536
+ function Kr(e) {
537
+ let t = "";
538
+ const n = B(!1), r = B(null), i = T(() => {
539
+ let a;
540
+ return n.value ? a = !0 : r.value ? a = r.value.hasData || e && Ve(e) : a = !1, !a;
541
+ });
542
+ return {
543
+ tableState: r,
544
+ hasRecords: n,
545
+ hideTableToolbar: i,
546
+ handleStateChange: (a) => {
547
+ a.hasData ? n.value = !0 : a.state === "success" && !a.hasData && (!e || !t) && (n.value = !1), e && (t = Ve(e)), r.value = { ...a };
548
+ }
549
+ };
550
+ }
551
+ const H = {
536
552
  useAxios: tt,
537
- useDebouncedFilter: Cr,
538
- useDeleteUrlBuilder: kr,
539
- useErrors: Ar,
540
- useExternalLinkCreator: _r,
541
- useFetcher: wr,
553
+ useDebouncedFilter: xr,
554
+ useDeleteUrlBuilder: Cr,
555
+ useErrors: kr,
556
+ useExternalLinkCreator: Ar,
557
+ useFetcher: _r,
542
558
  useFetcherCacheKey: qt,
543
559
  useFetchUrlBuilder: Pt,
544
560
  useHelpers: Ut,
545
- useStringHelpers: Sr,
546
- useI18n: je,
547
- useGatewayFeatureSupported: Or,
548
- useTruncationDetector: Lr,
549
- useValidators: Rr,
550
- useSchemaProvider: Br,
551
- useSubSchema: Kr
561
+ useStringHelpers: wr,
562
+ useI18n: De,
563
+ useGatewayFeatureSupported: Fr,
564
+ useTruncationDetector: Or,
565
+ useValidators: Lr,
566
+ useSchemaProvider: Rr,
567
+ useSubSchema: Br,
568
+ useTableState: Kr
552
569
  }, Nr = {
553
570
  key: 0,
554
571
  class: "config-card-fieldset-title"
555
- }, Mr = /* @__PURE__ */ G({
572
+ }, Mr = /* @__PURE__ */ W({
556
573
  __name: "JsonCardItem",
557
574
  props: {
558
575
  item: {
@@ -569,25 +586,25 @@ const We = Symbol("schema"), Br = (e) => {
569
586
  }
570
587
  },
571
588
  setup(e) {
572
- const t = e, { i18n: { t: n } } = V.useI18n(), { convertKeyToTitle: r } = V.useStringHelpers(), i = E(() => t.item.key ?? "json-array-item"), o = E(() => t.item.value ?? t.item), a = E(() => {
589
+ const t = e, { i18n: { t: n } } = H.useI18n(), { convertKeyToTitle: r } = H.useStringHelpers(), i = T(() => t.item.key ?? "json-array-item"), o = T(() => t.item.value ?? t.item), a = T(() => {
573
590
  const s = JSON.parse(JSON.stringify(o.value));
574
591
  return t.isArrayItem && delete s.name, s;
575
- }), l = E(() => {
592
+ }), l = T(() => {
576
593
  var s;
577
594
  return t.isArrayItem ? (s = o.value) != null && s.name ? r(o.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
578
595
  });
579
- return (s, u) => (p(), D(Me(e.isArrayItem ? "fieldset" : "div"), {
596
+ return (s, u) => (p(), D(Ne(e.isArrayItem ? "fieldset" : "div"), {
580
597
  class: fe(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
581
598
  }, {
582
- default: C(() => [
583
- e.isArrayItem ? (p(), T("legend", Nr, [
584
- B("b", null, O(l.value), 1)
599
+ default: k(() => [
600
+ e.isArrayItem ? (p(), S("legend", Nr, [
601
+ L("b", null, F(l.value), 1)
585
602
  ])) : U("", !0),
586
- (p(!0), T(le, null, oe(Object.keys(a.value), (d, c) => (p(), D(Wt, {
603
+ (p(!0), S(le, null, oe(Object.keys(a.value), (d, c) => (p(), D(Wt, {
587
604
  key: `${i.value}-property-${c}`,
588
605
  item: {
589
606
  key: d,
590
- label: k(r)(d),
607
+ label: A(r)(d),
591
608
  value: a.value[d]
592
609
  }
593
610
  }, null, 8, ["item"]))), 128))
@@ -600,7 +617,7 @@ const We = Symbol("schema"), Br = (e) => {
600
617
  for (const [r, i] of t)
601
618
  n[r] = i;
602
619
  return n;
603
- }, Vt = /* @__PURE__ */ ie(Mr, [["__scopeId", "data-v-68ca83ec"]]), Dr = /* @__PURE__ */ G({
620
+ }, Vt = /* @__PURE__ */ ie(Mr, [["__scopeId", "data-v-68ca83ec"]]), Dr = /* @__PURE__ */ W({
604
621
  __name: "InternalLinkItem",
605
622
  props: {
606
623
  item: {
@@ -610,24 +627,24 @@ const We = Symbol("schema"), Br = (e) => {
610
627
  },
611
628
  emits: ["navigation-click"],
612
629
  setup(e) {
613
- const { i18n: { t } } = V.useI18n();
630
+ const { i18n: { t } } = H.useI18n();
614
631
  return (n, r) => {
615
632
  const i = j("KButton");
616
- return p(), T("div", null, [
633
+ return p(), S("div", null, [
617
634
  M(i, {
618
635
  appearance: "tertiary",
619
636
  class: "navigation-button",
620
637
  onClick: r[0] || (r[0] = (o) => n.$emit("navigation-click", e.item))
621
638
  }, {
622
- default: C(() => [
623
- H(O(e.item.value || k(t)("baseConfigCard.commonFields.link")), 1)
639
+ default: k(() => [
640
+ q(F(e.item.value || A(t)("baseConfigCard.commonFields.link")), 1)
624
641
  ]),
625
642
  _: 1
626
643
  })
627
644
  ]);
628
645
  };
629
646
  }
630
- }), jr = /* @__PURE__ */ ie(Dr, [["__scopeId", "data-v-c96811e5"]]), Ur = /* @__PURE__ */ G({
647
+ }), jr = /* @__PURE__ */ ie(Dr, [["__scopeId", "data-v-c96811e5"]]), Ur = /* @__PURE__ */ W({
631
648
  __name: "StatusBadge",
632
649
  props: {
633
650
  status: {
@@ -636,14 +653,14 @@ const We = Symbol("schema"), Br = (e) => {
636
653
  }
637
654
  },
638
655
  setup(e) {
639
- const { i18n: { t } } = V.useI18n();
656
+ const { i18n: { t } } = H.useI18n();
640
657
  return (n, r) => {
641
658
  const i = j("KBadge");
642
659
  return p(), D(i, {
643
660
  appearance: e.status ? "success" : "neutral"
644
661
  }, {
645
- default: C(() => [
646
- H(O(e.status ? k(t)("baseConfigCard.statusBadge.enabledLabel") : k(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
662
+ default: k(() => [
663
+ q(F(e.status ? A(t)("baseConfigCard.statusBadge.enabledLabel") : A(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
647
664
  ]),
648
665
  _: 1
649
666
  }, 8, ["appearance"]);
@@ -652,7 +669,7 @@ const We = Symbol("schema"), Br = (e) => {
652
669
  }), Pr = "#0044f4", qr = "#e0e4ea", Hr = "#afb7c5", Yr = "#0044f4", Vr = "1px", Wr = "16px", Jr = "20px", Gr = { class: "config-card-details-row" }, zr = ["data-testid"], Qr = ["data-testid"], Zr = ["data-testid"], Xr = ["data-testid"], ei = { key: 1 }, ti = ["data-testid"], ni = ["data-testid"], ri = ["data-testid"], ii = ["data-testid"], ai = {
653
670
  name: "ConfigCardItem",
654
671
  components: { JsonCardItem: Vt, StatusBadge: Ur, InternalLinkItem: jr }
655
- }, oi = /* @__PURE__ */ G({
672
+ }, oi = /* @__PURE__ */ W({
656
673
  ...ai,
657
674
  props: {
658
675
  item: {
@@ -672,16 +689,16 @@ const We = Symbol("schema"), Br = (e) => {
672
689
  },
673
690
  emits: ["navigation-click"],
674
691
  setup(e, { emit: t }) {
675
- Nt((v) => ({
676
- "3ccdd5d2": d.value ? "none" : `solid ${k(Vr)} ${k(qr)}`,
692
+ Nt((b) => ({
693
+ "3ccdd5d2": d.value ? "none" : `solid ${A(Vr)} ${A(qr)}`,
677
694
  "4b1da305": u.value && l.value ? "block" : "flex",
678
695
  cd20788a: u.value && l.value ? "100%" : n.slim ? "50%" : "25%",
679
696
  cd1becd4: u.value && l.value ? "100%" : n.slim ? "50%" : "75%"
680
697
  }));
681
- const n = e, r = t, i = Xe(), { i18n: { t: o, formatUnixTimeStamp: a } } = V.useI18n(), l = E(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = E(() => !!(n.item.tooltip || i["label-tooltip"])), u = E(() => n.item.type === Y.Json || n.item.type === Y.JsonArray), d = E(() => n.item.type === Y.JsonArray), c = V.useSubSchema(n.item.key), m = E(() => {
682
- var v;
683
- return n.item.type ? n.item.type : (v = c == null ? void 0 : c.value) != null && v.encrypted ? Y.Redacted : void 0;
684
- }), f = E(() => {
698
+ const n = e, r = t, i = Xe(), { i18n: { t: o, formatUnixTimeStamp: a } } = H.useI18n(), l = T(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = T(() => !!(n.item.tooltip || i["label-tooltip"])), u = T(() => n.item.type === Y.Json || n.item.type === Y.JsonArray), d = T(() => n.item.type === Y.JsonArray), c = H.useSubSchema(n.item.key), m = T(() => {
699
+ var b;
700
+ return n.item.type ? n.item.type : (b = c == null ? void 0 : c.value) != null && b.encrypted ? Y.Redacted : void 0;
701
+ }), f = T(() => {
685
702
  switch (m.value) {
686
703
  case Y.ID:
687
704
  return {
@@ -762,8 +779,8 @@ const We = Symbol("schema"), Br = (e) => {
762
779
  attrs: {
763
780
  "data-testid": `${n.item.key}-internal-link`,
764
781
  item: n.item,
765
- onNavigationClick: (v) => {
766
- r("navigation-click", v);
782
+ onNavigationClick: (b) => {
783
+ r("navigation-click", b);
767
784
  }
768
785
  }
769
786
  };
@@ -802,26 +819,26 @@ const We = Symbol("schema"), Br = (e) => {
802
819
  text: n.item.value
803
820
  };
804
821
  }
805
- }), y = N(), g = N(), { isTruncated: x } = V.useTruncationDetector(y), { isTruncated: F } = V.useTruncationDetector(g);
806
- return (v, K) => {
807
- const L = j("KTooltip"), I = j("KLabel"), h = j("KBadge"), A = j("KCopy");
808
- return p(), T("div", Gr, [
809
- B("div", {
822
+ }), v = B(), y = B(), { isTruncated: C } = H.useTruncationDetector(v), { isTruncated: I } = H.useTruncationDetector(y);
823
+ return (b, O) => {
824
+ const E = j("KTooltip"), $ = j("KLabel"), g = j("KBadge"), h = j("KCopy");
825
+ return p(), S("div", Gr, [
826
+ L("div", {
810
827
  class: "config-card-details-label",
811
828
  "data-testid": `${e.item.key}-label`
812
829
  }, [
813
- P(v.$slots, "label", { item: e.item }, () => [
814
- M(I, { "tooltip-attributes": { maxWidth: "500px" } }, ke({
815
- default: C(() => [
816
- M(L, {
817
- text: k(x) ? e.item.label : ""
830
+ P(b.$slots, "label", { item: e.item }, () => [
831
+ M($, { "tooltip-attributes": { maxWidth: "500px" } }, Ce({
832
+ default: k(() => [
833
+ M(E, {
834
+ text: A(C) ? e.item.label : ""
818
835
  }, {
819
- default: C(() => [
820
- B("span", {
836
+ default: k(() => [
837
+ L("span", {
821
838
  ref_key: "labelContent",
822
- ref: y,
839
+ ref: v,
823
840
  class: "label-content"
824
- }, O(e.item.label), 513)
841
+ }, F(e.item.label), 513)
825
842
  ]),
826
843
  _: 1
827
844
  }, 8, ["text"])
@@ -830,12 +847,12 @@ const We = Symbol("schema"), Br = (e) => {
830
847
  }, [
831
848
  s.value ? {
832
849
  name: "tooltip",
833
- fn: C(() => [
834
- B("div", {
850
+ fn: k(() => [
851
+ L("div", {
835
852
  "data-testid": `${e.item.key}-label-tooltip`
836
853
  }, [
837
- P(v.$slots, "label-tooltip", {}, () => [
838
- H(O(e.item.tooltip), 1)
854
+ P(b.$slots, "label-tooltip", {}, () => [
855
+ q(F(e.item.tooltip), 1)
839
856
  ], !0)
840
857
  ], 8, Qr)
841
858
  ]),
@@ -844,87 +861,87 @@ const We = Symbol("schema"), Br = (e) => {
844
861
  ]), 1024)
845
862
  ], !0)
846
863
  ], 8, zr),
847
- B("div", {
864
+ L("div", {
848
865
  class: "config-card-details-value",
849
866
  "data-testid": `${e.item.key}-property-value`
850
867
  }, [
851
- P(v.$slots, e.item.key, {
868
+ P(b.$slots, e.item.key, {
852
869
  rowValue: e.item.value
853
870
  }, () => [
854
- l.value ? (p(), T("div", ei, [
855
- (p(), D(Me(f.value.tag), Un(Pn(f.value.attrs)), {
856
- default: C(() => [
857
- f.value.additionalComponent === "KBadge" ? (p(), T("div", {
871
+ l.value ? (p(), S("div", ei, [
872
+ (p(), D(Ne(f.value.tag), jn(Un(f.value.attrs)), {
873
+ default: k(() => [
874
+ f.value.additionalComponent === "KBadge" ? (p(), S("div", {
858
875
  key: 0,
859
876
  "data-testid": `${e.item.key}-badge-tags`
860
877
  }, [
861
- (p(!0), T(le, null, oe(e.item.value, ($, S) => (p(), D(h, {
862
- key: `${e.item.key}-badge-tag-${S}`,
878
+ (p(!0), S(le, null, oe(e.item.value, (x, _) => (p(), D(g, {
879
+ key: `${e.item.key}-badge-tag-${_}`,
863
880
  class: "config-badge",
864
- "data-testid": `${e.item.key}-badge-tag-${S}`,
865
- tooltip: $,
881
+ "data-testid": `${e.item.key}-badge-tag-${_}`,
882
+ tooltip: x,
866
883
  "truncation-tooltip": ""
867
884
  }, {
868
- default: C(() => [
869
- H(O($), 1)
885
+ default: k(() => [
886
+ q(F(x), 1)
870
887
  ]),
871
888
  _: 2
872
889
  }, 1032, ["data-testid", "tooltip"]))), 128))
873
890
  ], 8, ti)) : U("", !0),
874
- f.value.additionalComponent === "KCopy" ? (p(), T("div", {
891
+ f.value.additionalComponent === "KCopy" ? (p(), S("div", {
875
892
  key: 1,
876
893
  class: "copy-uuid-array",
877
894
  "data-testid": `${e.item.key}-copy-uuid-array`
878
895
  }, [
879
- (p(!0), T(le, null, oe(e.item.value, ($, S) => (p(), D(A, qn({ ref_for: !0 }, f.value.childAttrs, {
880
- key: `${e.item.key}-copy-uuid-${S}`,
881
- "data-testid": `${e.item.key}-copy-uuid-${S}`,
882
- text: $
896
+ (p(!0), S(le, null, oe(e.item.value, (x, _) => (p(), D(h, Pn({ ref_for: !0 }, f.value.childAttrs, {
897
+ key: `${e.item.key}-copy-uuid-${_}`,
898
+ "data-testid": `${e.item.key}-copy-uuid-${_}`,
899
+ text: x
883
900
  }), null, 16, ["data-testid", "text"]))), 128))
884
- ], 8, ni)) : f.value.additionalComponent === "KMethodBadge" ? (p(), T("div", {
901
+ ], 8, ni)) : f.value.additionalComponent === "KMethodBadge" ? (p(), S("div", {
885
902
  key: 2,
886
903
  class: "method-badge-array",
887
904
  "data-testid": `${e.item.key}-badge-methods`
888
905
  }, [
889
- (p(!0), T(le, null, oe(e.item.value, ($, S) => (p(), D(h, {
890
- key: `${e.item.key}-badge-method-${S}`,
891
- appearance: Object.values(k(zn)).includes($.toLowerCase()) ? $.toLowerCase() : "custom",
906
+ (p(!0), S(le, null, oe(e.item.value, (x, _) => (p(), D(g, {
907
+ key: `${e.item.key}-badge-method-${_}`,
908
+ appearance: Object.values(A(Gn)).includes(x.toLowerCase()) ? x.toLowerCase() : "custom",
892
909
  class: "config-badge",
893
- "data-testid": `${e.item.key}-badge-method-${S}`
910
+ "data-testid": `${e.item.key}-badge-method-${_}`
894
911
  }, {
895
- default: C(() => [
896
- H(O($), 1)
912
+ default: k(() => [
913
+ q(F(x), 1)
897
914
  ]),
898
915
  _: 2
899
916
  }, 1032, ["appearance", "data-testid"]))), 128))
900
917
  ], 8, ri)) : U("", !0),
901
- f.value.additionalComponent === "JsonCardItem" ? (p(), T("div", {
918
+ f.value.additionalComponent === "JsonCardItem" ? (p(), S("div", {
902
919
  key: 3,
903
920
  "data-testid": `${n.item.key}-json-array-content`
904
921
  }, [
905
- (p(!0), T(le, null, oe(e.item.value, ($, S) => (p(), D(Vt, {
906
- key: `json-array-item-${S}`,
907
- index: S,
922
+ (p(!0), S(le, null, oe(e.item.value, (x, _) => (p(), D(Vt, {
923
+ key: `json-array-item-${_}`,
924
+ index: _,
908
925
  "is-array-item": "",
909
- item: $
926
+ item: x
910
927
  }, null, 8, ["index", "item"]))), 128))
911
- ], 8, ii)) : (p(), D(L, {
928
+ ], 8, ii)) : (p(), D(E, {
912
929
  key: 4,
913
- text: k(F) ? e.item.value : ""
930
+ text: A(I) ? e.item.value : ""
914
931
  }, {
915
- default: C(() => [
916
- B("span", {
932
+ default: k(() => [
933
+ L("span", {
917
934
  ref_key: "textContent",
918
- ref: g,
935
+ ref: y,
919
936
  class: fe(["attrs-data-text", { truncated: e.truncated }])
920
- }, O(f.value.text), 3)
937
+ }, F(f.value.text), 3)
921
938
  ]),
922
939
  _: 1
923
940
  }, 8, ["text"]))
924
941
  ]),
925
942
  _: 1
926
943
  }, 16))
927
- ])) : (p(), T("div", {
944
+ ])) : (p(), S("div", {
928
945
  key: 0,
929
946
  "data-testid": `${e.item.key}-no-value`
930
947
  }, " – ", 8, Xr))
@@ -936,7 +953,7 @@ const We = Symbol("schema"), Br = (e) => {
936
953
  }), Wt = /* @__PURE__ */ ie(oi, [["__scopeId", "data-v-761f7e64"]]), li = { class: "json-config" }, si = {
937
954
  key: 0,
938
955
  class: "json-endpoint"
939
- }, Jt = /* @__PURE__ */ G({
956
+ }, Jt = /* @__PURE__ */ W({
940
957
  __name: "JsonCodeBlock",
941
958
  props: {
942
959
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -967,7 +984,7 @@ const We = Symbol("schema"), Br = (e) => {
967
984
  Nt((i) => ({
968
985
  "454fa8c4": `${r.value}ch`
969
986
  }));
970
- const t = e, n = E(() => t.entityRecord), r = E(() => {
987
+ const t = e, n = T(() => t.entityRecord), r = T(() => {
971
988
  var a;
972
989
  if (!t.fetcherUrl)
973
990
  return 0;
@@ -976,13 +993,13 @@ const We = Symbol("schema"), Br = (e) => {
976
993
  });
977
994
  return (i, o) => {
978
995
  const a = j("KBadge"), l = j("KCodeBlock");
979
- return p(), T("div", li, [
980
- t.fetcherUrl ? (p(), T("div", si, [
996
+ return p(), S("div", li, [
997
+ t.fetcherUrl ? (p(), S("div", si, [
981
998
  M(a, {
982
999
  appearance: t.requestMethod
983
1000
  }, {
984
- default: C(() => [
985
- H(O(t.requestMethod), 1)
1001
+ default: k(() => [
1002
+ q(F(t.requestMethod), 1)
986
1003
  ]),
987
1004
  _: 1
988
1005
  }, 8, ["appearance"]),
@@ -1046,16 +1063,16 @@ function zt(e, t) {
1046
1063
 
1047
1064
  ` + e.mark.snippet), r + " " + n) : r;
1048
1065
  }
1049
- function Se(e, t) {
1066
+ function we(e, t) {
1050
1067
  Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = zt(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1051
1068
  }
1052
- Se.prototype = Object.create(Error.prototype);
1053
- Se.prototype.constructor = Se;
1054
- Se.prototype.toString = function(t) {
1069
+ we.prototype = Object.create(Error.prototype);
1070
+ we.prototype.constructor = we;
1071
+ we.prototype.toString = function(t) {
1055
1072
  return this.name + ": " + zt(this, t);
1056
1073
  };
1057
- var ne = Se;
1058
- function qe(e, t, n, r, i) {
1074
+ var ne = we;
1075
+ function Pe(e, t, n, r, i) {
1059
1076
  var o = "", a = "", l = Math.floor(i / 2) - 1;
1060
1077
  return r - t > l && (o = " ... ", t = r - l + o.length), n - r > l && (a = " ...", n = r + l - a.length), {
1061
1078
  str: o + e.slice(t, n).replace(/\t/g, "→") + a,
@@ -1063,7 +1080,7 @@ function qe(e, t, n, r, i) {
1063
1080
  // relative position
1064
1081
  };
1065
1082
  }
1066
- function He(e, t) {
1083
+ function qe(e, t) {
1067
1084
  return Q.repeat(" ", t - e.length) + e;
1068
1085
  }
1069
1086
  function xi(e, t) {
@@ -1074,24 +1091,24 @@ function xi(e, t) {
1074
1091
  a < 0 && (a = r.length - 1);
1075
1092
  var l = "", s, u, d = Math.min(e.line + t.linesAfter, i.length).toString().length, c = t.maxLength - (t.indent + d + 3);
1076
1093
  for (s = 1; s <= t.linesBefore && !(a - s < 0); s++)
1077
- u = qe(
1094
+ u = Pe(
1078
1095
  e.buffer,
1079
1096
  r[a - s],
1080
1097
  i[a - s],
1081
1098
  e.position - (r[a] - r[a - s]),
1082
1099
  c
1083
- ), l = Q.repeat(" ", t.indent) + He((e.line - s + 1).toString(), d) + " | " + u.str + `
1100
+ ), l = Q.repeat(" ", t.indent) + qe((e.line - s + 1).toString(), d) + " | " + u.str + `
1084
1101
  ` + l;
1085
- for (u = qe(e.buffer, r[a], i[a], e.position, c), l += Q.repeat(" ", t.indent) + He((e.line + 1).toString(), d) + " | " + u.str + `
1102
+ for (u = Pe(e.buffer, r[a], i[a], e.position, c), l += Q.repeat(" ", t.indent) + qe((e.line + 1).toString(), d) + " | " + u.str + `
1086
1103
  `, l += Q.repeat("-", t.indent + d + 3 + u.pos) + `^
1087
1104
  `, s = 1; s <= t.linesAfter && !(a + s >= i.length); s++)
1088
- u = qe(
1105
+ u = Pe(
1089
1106
  e.buffer,
1090
1107
  r[a + s],
1091
1108
  i[a + s],
1092
1109
  e.position - (r[a] - r[a + s]),
1093
1110
  c
1094
- ), l += Q.repeat(" ", t.indent) + He((e.line + s + 1).toString(), d) + " | " + u.str + `
1111
+ ), l += Q.repeat(" ", t.indent) + qe((e.line + s + 1).toString(), d) + " | " + u.str + `
1095
1112
  `;
1096
1113
  return l.replace(/\n$/, "");
1097
1114
  }
@@ -1566,20 +1583,20 @@ var gn = new X("tag:yaml.org,2002:set", {
1566
1583
  hn,
1567
1584
  gn
1568
1585
  ]
1569
- }), pe = Object.prototype.hasOwnProperty, Le = 1, yn = 2, vn = 3, Re = 4, Ye = 1, ca = 2, bt = 3, ua = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, da = /[\x85\u2028\u2029]/, fa = /[,\[\]\{\}]/, bn = /^(?:!|!!|![a-z\-]+!)$/i, xn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1586
+ }), pe = Object.prototype.hasOwnProperty, Oe = 1, yn = 2, vn = 3, Le = 4, He = 1, ca = 2, bt = 3, ua = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, da = /[\x85\u2028\u2029]/, fa = /[,\[\]\{\}]/, bn = /^(?:!|!!|![a-z\-]+!)$/i, xn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1570
1587
  function xt(e) {
1571
1588
  return Object.prototype.toString.call(e);
1572
1589
  }
1573
1590
  function se(e) {
1574
1591
  return e === 10 || e === 13;
1575
1592
  }
1576
- function he(e) {
1593
+ function me(e) {
1577
1594
  return e === 9 || e === 32;
1578
1595
  }
1579
1596
  function re(e) {
1580
1597
  return e === 9 || e === 32 || e === 10 || e === 13;
1581
1598
  }
1582
- function xe(e) {
1599
+ function be(e) {
1583
1600
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1584
1601
  }
1585
1602
  function pa(e) {
@@ -1603,8 +1620,8 @@ function ga(e) {
1603
1620
  );
1604
1621
  }
1605
1622
  var Cn = new Array(256), kn = new Array(256);
1606
- for (var ve = 0; ve < 256; ve++)
1607
- Cn[ve] = Ct(ve) ? 1 : 0, kn[ve] = Ct(ve);
1623
+ for (var ye = 0; ye < 256; ye++)
1624
+ Cn[ye] = Ct(ye) ? 1 : 0, kn[ye] = Ct(ye);
1608
1625
  function ya(e, t) {
1609
1626
  this.input = e, this.filename = t.filename || null, this.schema = t.schema || rt, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1610
1627
  }
@@ -1619,24 +1636,24 @@ function An(e, t) {
1619
1636
  };
1620
1637
  return n.snippet = Ci(n), new ne(t, n);
1621
1638
  }
1622
- function _(e, t) {
1639
+ function w(e, t) {
1623
1640
  throw An(e, t);
1624
1641
  }
1625
- function Be(e, t) {
1642
+ function Re(e, t) {
1626
1643
  e.onWarning && e.onWarning.call(null, An(e, t));
1627
1644
  }
1628
1645
  var kt = {
1629
1646
  YAML: function(t, n, r) {
1630
1647
  var i, o, a;
1631
- t.version !== null && _(t, "duplication of %YAML directive"), r.length !== 1 && _(t, "YAML directive accepts exactly one argument"), i = /^([0-9]+)\.([0-9]+)$/.exec(r[0]), i === null && _(t, "ill-formed argument of the YAML directive"), o = parseInt(i[1], 10), a = parseInt(i[2], 10), o !== 1 && _(t, "unacceptable YAML version of the document"), t.version = r[0], t.checkLineBreaks = a < 2, a !== 1 && a !== 2 && Be(t, "unsupported YAML version of the document");
1648
+ t.version !== null && w(t, "duplication of %YAML directive"), r.length !== 1 && w(t, "YAML directive accepts exactly one argument"), i = /^([0-9]+)\.([0-9]+)$/.exec(r[0]), i === null && w(t, "ill-formed argument of the YAML directive"), o = parseInt(i[1], 10), a = parseInt(i[2], 10), o !== 1 && w(t, "unacceptable YAML version of the document"), t.version = r[0], t.checkLineBreaks = a < 2, a !== 1 && a !== 2 && Re(t, "unsupported YAML version of the document");
1632
1649
  },
1633
1650
  TAG: function(t, n, r) {
1634
1651
  var i, o;
1635
- r.length !== 2 && _(t, "TAG directive accepts exactly two arguments"), i = r[0], o = r[1], bn.test(i) || _(t, "ill-formed tag handle (first argument) of the TAG directive"), pe.call(t.tagMap, i) && _(t, 'there is a previously declared suffix for "' + i + '" tag handle'), xn.test(o) || _(t, "ill-formed tag prefix (second argument) of the TAG directive");
1652
+ r.length !== 2 && w(t, "TAG directive accepts exactly two arguments"), i = r[0], o = r[1], bn.test(i) || w(t, "ill-formed tag handle (first argument) of the TAG directive"), pe.call(t.tagMap, i) && w(t, 'there is a previously declared suffix for "' + i + '" tag handle'), xn.test(o) || w(t, "ill-formed tag prefix (second argument) of the TAG directive");
1636
1653
  try {
1637
1654
  o = decodeURIComponent(o);
1638
1655
  } catch {
1639
- _(t, "tag prefix is malformed: " + o);
1656
+ w(t, "tag prefix is malformed: " + o);
1640
1657
  }
1641
1658
  t.tagMap[i] = o;
1642
1659
  }
@@ -1646,21 +1663,21 @@ function de(e, t, n, r) {
1646
1663
  if (t < n) {
1647
1664
  if (l = e.input.slice(t, n), r)
1648
1665
  for (i = 0, o = l.length; i < o; i += 1)
1649
- a = l.charCodeAt(i), a === 9 || 32 <= a && a <= 1114111 || _(e, "expected valid JSON character");
1650
- else ua.test(l) && _(e, "the stream contains non-printable characters");
1666
+ a = l.charCodeAt(i), a === 9 || 32 <= a && a <= 1114111 || w(e, "expected valid JSON character");
1667
+ else ua.test(l) && w(e, "the stream contains non-printable characters");
1651
1668
  e.result += l;
1652
1669
  }
1653
1670
  }
1654
1671
  function At(e, t, n, r) {
1655
1672
  var i, o, a, l;
1656
- for (Q.isObject(n) || _(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), a = 0, l = i.length; a < l; a += 1)
1673
+ for (Q.isObject(n) || w(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), a = 0, l = i.length; a < l; a += 1)
1657
1674
  o = i[a], pe.call(t, o) || (t[o] = n[o], r[o] = !0);
1658
1675
  }
1659
- function Ce(e, t, n, r, i, o, a, l, s) {
1676
+ function xe(e, t, n, r, i, o, a, l, s) {
1660
1677
  var u, d;
1661
1678
  if (Array.isArray(i))
1662
1679
  for (i = Array.prototype.slice.call(i), u = 0, d = i.length; u < d; u += 1)
1663
- Array.isArray(i[u]) && _(e, "nested arrays are not supported inside keys"), typeof i == "object" && xt(i[u]) === "[object Object]" && (i[u] = "[object Object]");
1680
+ Array.isArray(i[u]) && w(e, "nested arrays are not supported inside keys"), typeof i == "object" && xt(i[u]) === "[object Object]" && (i[u] = "[object Object]");
1664
1681
  if (typeof i == "object" && xt(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), r === "tag:yaml.org,2002:merge")
1665
1682
  if (Array.isArray(o))
1666
1683
  for (u = 0, d = o.length; u < d; u += 1)
@@ -1668,7 +1685,7 @@ function Ce(e, t, n, r, i, o, a, l, s) {
1668
1685
  else
1669
1686
  At(e, t, o, n);
1670
1687
  else
1671
- !e.json && !pe.call(n, i) && pe.call(t, i) && (e.line = a || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, _(e, "duplicated mapping key")), i === "__proto__" ? Object.defineProperty(t, i, {
1688
+ !e.json && !pe.call(n, i) && pe.call(t, i) && (e.line = a || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, w(e, "duplicated mapping key")), i === "__proto__" ? Object.defineProperty(t, i, {
1672
1689
  configurable: !0,
1673
1690
  enumerable: !0,
1674
1691
  writable: !0,
@@ -1678,11 +1695,11 @@ function Ce(e, t, n, r, i, o, a, l, s) {
1678
1695
  }
1679
1696
  function it(e) {
1680
1697
  var t;
1681
- t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : _(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1698
+ t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : w(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1682
1699
  }
1683
- function z(e, t, n) {
1700
+ function G(e, t, n) {
1684
1701
  for (var r = 0, i = e.input.charCodeAt(e.position); i !== 0; ) {
1685
- for (; he(i); )
1702
+ for (; me(i); )
1686
1703
  i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
1687
1704
  if (t && i === 35)
1688
1705
  do
@@ -1694,9 +1711,9 @@ function z(e, t, n) {
1694
1711
  else
1695
1712
  break;
1696
1713
  }
1697
- return n !== -1 && r !== 0 && e.lineIndent < n && Be(e, "deficient indentation"), r;
1714
+ return n !== -1 && r !== 0 && e.lineIndent < n && Re(e, "deficient indentation"), r;
1698
1715
  }
1699
- function Ue(e) {
1716
+ function je(e) {
1700
1717
  var t = e.position, n;
1701
1718
  return n = e.input.charCodeAt(t), !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || re(n)));
1702
1719
  }
@@ -1706,20 +1723,20 @@ function at(e, t) {
1706
1723
  }
1707
1724
  function va(e, t, n) {
1708
1725
  var r, i, o, a, l, s, u, d, c = e.kind, m = e.result, f;
1709
- if (f = e.input.charCodeAt(e.position), re(f) || xe(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (i = e.input.charCodeAt(e.position + 1), re(i) || n && xe(i)))
1726
+ if (f = e.input.charCodeAt(e.position), re(f) || be(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (i = e.input.charCodeAt(e.position + 1), re(i) || n && be(i)))
1710
1727
  return !1;
1711
1728
  for (e.kind = "scalar", e.result = "", o = a = e.position, l = !1; f !== 0; ) {
1712
1729
  if (f === 58) {
1713
- if (i = e.input.charCodeAt(e.position + 1), re(i) || n && xe(i))
1730
+ if (i = e.input.charCodeAt(e.position + 1), re(i) || n && be(i))
1714
1731
  break;
1715
1732
  } else if (f === 35) {
1716
1733
  if (r = e.input.charCodeAt(e.position - 1), re(r))
1717
1734
  break;
1718
1735
  } else {
1719
- if (e.position === e.lineStart && Ue(e) || n && xe(f))
1736
+ if (e.position === e.lineStart && je(e) || n && be(f))
1720
1737
  break;
1721
1738
  if (se(f))
1722
- if (s = e.line, u = e.lineStart, d = e.lineIndent, z(e, !1, -1), e.lineIndent >= t) {
1739
+ if (s = e.line, u = e.lineStart, d = e.lineIndent, G(e, !1, -1), e.lineIndent >= t) {
1723
1740
  l = !0, f = e.input.charCodeAt(e.position);
1724
1741
  continue;
1725
1742
  } else {
@@ -1727,7 +1744,7 @@ function va(e, t, n) {
1727
1744
  break;
1728
1745
  }
1729
1746
  }
1730
- l && (de(e, o, a, !1), at(e, e.line - s), o = a = e.position, l = !1), he(f) || (a = e.position + 1), f = e.input.charCodeAt(++e.position);
1747
+ l && (de(e, o, a, !1), at(e, e.line - s), o = a = e.position, l = !1), me(f) || (a = e.position + 1), f = e.input.charCodeAt(++e.position);
1731
1748
  }
1732
1749
  return de(e, o, a, !1), e.result ? !0 : (e.kind = c, e.result = m, !1);
1733
1750
  }
@@ -1741,8 +1758,8 @@ function ba(e, t) {
1741
1758
  r = e.position, e.position++, i = e.position;
1742
1759
  else
1743
1760
  return !0;
1744
- else se(n) ? (de(e, r, i, !0), at(e, z(e, !1, t)), r = i = e.position) : e.position === e.lineStart && Ue(e) ? _(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1745
- _(e, "unexpected end of the stream within a single quoted scalar");
1761
+ else se(n) ? (de(e, r, i, !0), at(e, G(e, !1, t)), r = i = e.position) : e.position === e.lineStart && je(e) ? w(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1762
+ w(e, "unexpected end of the stream within a single quoted scalar");
1746
1763
  }
1747
1764
  function xa(e, t) {
1748
1765
  var n, r, i, o, a, l;
@@ -1753,37 +1770,37 @@ function xa(e, t) {
1753
1770
  return de(e, n, e.position, !0), e.position++, !0;
1754
1771
  if (l === 92) {
1755
1772
  if (de(e, n, e.position, !0), l = e.input.charCodeAt(++e.position), se(l))
1756
- z(e, !1, t);
1773
+ G(e, !1, t);
1757
1774
  else if (l < 256 && Cn[l])
1758
1775
  e.result += kn[l], e.position++;
1759
1776
  else if ((a = ma(l)) > 0) {
1760
1777
  for (i = a, o = 0; i > 0; i--)
1761
- l = e.input.charCodeAt(++e.position), (a = pa(l)) >= 0 ? o = (o << 4) + a : _(e, "expected hexadecimal character");
1778
+ l = e.input.charCodeAt(++e.position), (a = pa(l)) >= 0 ? o = (o << 4) + a : w(e, "expected hexadecimal character");
1762
1779
  e.result += ga(o), e.position++;
1763
1780
  } else
1764
- _(e, "unknown escape sequence");
1781
+ w(e, "unknown escape sequence");
1765
1782
  n = r = e.position;
1766
- } else se(l) ? (de(e, n, r, !0), at(e, z(e, !1, t)), n = r = e.position) : e.position === e.lineStart && Ue(e) ? _(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1783
+ } else se(l) ? (de(e, n, r, !0), at(e, G(e, !1, t)), n = r = e.position) : e.position === e.lineStart && je(e) ? w(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1767
1784
  }
1768
- _(e, "unexpected end of the stream within a double quoted scalar");
1785
+ w(e, "unexpected end of the stream within a double quoted scalar");
1769
1786
  }
1770
1787
  function Ca(e, t) {
1771
- var n = !0, r, i, o, a = e.tag, l, s = e.anchor, u, d, c, m, f, y = /* @__PURE__ */ Object.create(null), g, x, F, v;
1772
- if (v = e.input.charCodeAt(e.position), v === 91)
1788
+ var n = !0, r, i, o, a = e.tag, l, s = e.anchor, u, d, c, m, f, v = /* @__PURE__ */ Object.create(null), y, C, I, b;
1789
+ if (b = e.input.charCodeAt(e.position), b === 91)
1773
1790
  d = 93, f = !1, l = [];
1774
- else if (v === 123)
1791
+ else if (b === 123)
1775
1792
  d = 125, f = !0, l = {};
1776
1793
  else
1777
1794
  return !1;
1778
- for (e.anchor !== null && (e.anchorMap[e.anchor] = l), v = e.input.charCodeAt(++e.position); v !== 0; ) {
1779
- if (z(e, !0, t), v = e.input.charCodeAt(e.position), v === d)
1795
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = l), b = e.input.charCodeAt(++e.position); b !== 0; ) {
1796
+ if (G(e, !0, t), b = e.input.charCodeAt(e.position), b === d)
1780
1797
  return e.position++, e.tag = a, e.anchor = s, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
1781
- n ? v === 44 && _(e, "expected the node content, but found ','") : _(e, "missed comma between flow collection entries"), x = g = F = null, c = m = !1, v === 63 && (u = e.input.charCodeAt(e.position + 1), re(u) && (c = m = !0, e.position++, z(e, !0, t))), r = e.line, i = e.lineStart, o = e.position, Ae(e, t, Le, !1, !0), x = e.tag, g = e.result, z(e, !0, t), v = e.input.charCodeAt(e.position), (m || e.line === r) && v === 58 && (c = !0, v = e.input.charCodeAt(++e.position), z(e, !0, t), Ae(e, t, Le, !1, !0), F = e.result), f ? Ce(e, l, y, x, g, F, r, i, o) : c ? l.push(Ce(e, null, y, x, g, F, r, i, o)) : l.push(g), z(e, !0, t), v = e.input.charCodeAt(e.position), v === 44 ? (n = !0, v = e.input.charCodeAt(++e.position)) : n = !1;
1798
+ n ? b === 44 && w(e, "expected the node content, but found ','") : w(e, "missed comma between flow collection entries"), C = y = I = null, c = m = !1, b === 63 && (u = e.input.charCodeAt(e.position + 1), re(u) && (c = m = !0, e.position++, G(e, !0, t))), r = e.line, i = e.lineStart, o = e.position, ke(e, t, Oe, !1, !0), C = e.tag, y = e.result, G(e, !0, t), b = e.input.charCodeAt(e.position), (m || e.line === r) && b === 58 && (c = !0, b = e.input.charCodeAt(++e.position), G(e, !0, t), ke(e, t, Oe, !1, !0), I = e.result), f ? xe(e, l, v, C, y, I, r, i, o) : c ? l.push(xe(e, null, v, C, y, I, r, i, o)) : l.push(y), G(e, !0, t), b = e.input.charCodeAt(e.position), b === 44 ? (n = !0, b = e.input.charCodeAt(++e.position)) : n = !1;
1782
1799
  }
1783
- _(e, "unexpected end of the stream within a flow collection");
1800
+ w(e, "unexpected end of the stream within a flow collection");
1784
1801
  }
1785
1802
  function ka(e, t) {
1786
- var n, r, i = Ye, o = !1, a = !1, l = t, s = 0, u = !1, d, c;
1803
+ var n, r, i = He, o = !1, a = !1, l = t, s = 0, u = !1, d, c;
1787
1804
  if (c = e.input.charCodeAt(e.position), c === 124)
1788
1805
  r = !1;
1789
1806
  else if (c === 62)
@@ -1792,15 +1809,15 @@ function ka(e, t) {
1792
1809
  return !1;
1793
1810
  for (e.kind = "scalar", e.result = ""; c !== 0; )
1794
1811
  if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
1795
- Ye === i ? i = c === 43 ? bt : ca : _(e, "repeat of a chomping mode identifier");
1812
+ He === i ? i = c === 43 ? bt : ca : w(e, "repeat of a chomping mode identifier");
1796
1813
  else if ((d = ha(c)) >= 0)
1797
- d === 0 ? _(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : a ? _(e, "repeat of an indentation width identifier") : (l = t + d - 1, a = !0);
1814
+ d === 0 ? w(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : a ? w(e, "repeat of an indentation width identifier") : (l = t + d - 1, a = !0);
1798
1815
  else
1799
1816
  break;
1800
- if (he(c)) {
1817
+ if (me(c)) {
1801
1818
  do
1802
1819
  c = e.input.charCodeAt(++e.position);
1803
- while (he(c));
1820
+ while (me(c));
1804
1821
  if (c === 35)
1805
1822
  do
1806
1823
  c = e.input.charCodeAt(++e.position);
@@ -1815,11 +1832,11 @@ function ka(e, t) {
1815
1832
  }
1816
1833
  if (e.lineIndent < l) {
1817
1834
  i === bt ? e.result += Q.repeat(`
1818
- `, o ? 1 + s : s) : i === Ye && o && (e.result += `
1835
+ `, o ? 1 + s : s) : i === He && o && (e.result += `
1819
1836
  `);
1820
1837
  break;
1821
1838
  }
1822
- for (r ? he(c) ? (u = !0, e.result += Q.repeat(`
1839
+ for (r ? me(c) ? (u = !0, e.result += Q.repeat(`
1823
1840
  `, o ? 1 + s : s)) : u ? (u = !1, e.result += Q.repeat(`
1824
1841
  `, s + 1)) : s === 0 ? o && (e.result += " ") : e.result += Q.repeat(`
1825
1842
  `, s) : e.result += Q.repeat(`
@@ -1832,116 +1849,116 @@ function ka(e, t) {
1832
1849
  function _t(e, t) {
1833
1850
  var n, r = e.tag, i = e.anchor, o = [], a, l = !1, s;
1834
1851
  if (e.firstTabInLine !== -1) return !1;
1835
- for (e.anchor !== null && (e.anchorMap[e.anchor] = o), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, _(e, "tab characters must not be used in indentation")), !(s !== 45 || (a = e.input.charCodeAt(e.position + 1), !re(a)))); ) {
1836
- if (l = !0, e.position++, z(e, !0, -1) && e.lineIndent <= t) {
1852
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = o), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, w(e, "tab characters must not be used in indentation")), !(s !== 45 || (a = e.input.charCodeAt(e.position + 1), !re(a)))); ) {
1853
+ if (l = !0, e.position++, G(e, !0, -1) && e.lineIndent <= t) {
1837
1854
  o.push(null), s = e.input.charCodeAt(e.position);
1838
1855
  continue;
1839
1856
  }
1840
- if (n = e.line, Ae(e, t, vn, !1, !0), o.push(e.result), z(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && s !== 0)
1841
- _(e, "bad indentation of a sequence entry");
1857
+ if (n = e.line, ke(e, t, vn, !1, !0), o.push(e.result), G(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && s !== 0)
1858
+ w(e, "bad indentation of a sequence entry");
1842
1859
  else if (e.lineIndent < t)
1843
1860
  break;
1844
1861
  }
1845
1862
  return l ? (e.tag = r, e.anchor = i, e.kind = "sequence", e.result = o, !0) : !1;
1846
1863
  }
1847
1864
  function Aa(e, t, n) {
1848
- var r, i, o, a, l, s, u = e.tag, d = e.anchor, c = {}, m = /* @__PURE__ */ Object.create(null), f = null, y = null, g = null, x = !1, F = !1, v;
1865
+ var r, i, o, a, l, s, u = e.tag, d = e.anchor, c = {}, m = /* @__PURE__ */ Object.create(null), f = null, v = null, y = null, C = !1, I = !1, b;
1849
1866
  if (e.firstTabInLine !== -1) return !1;
1850
- for (e.anchor !== null && (e.anchorMap[e.anchor] = c), v = e.input.charCodeAt(e.position); v !== 0; ) {
1851
- if (!x && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, _(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), o = e.line, (v === 63 || v === 58) && re(r))
1852
- v === 63 ? (x && (Ce(e, c, m, f, y, null, a, l, s), f = y = g = null), F = !0, x = !0, i = !0) : x ? (x = !1, i = !0) : _(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, v = r;
1867
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = c), b = e.input.charCodeAt(e.position); b !== 0; ) {
1868
+ if (!C && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, w(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), o = e.line, (b === 63 || b === 58) && re(r))
1869
+ b === 63 ? (C && (xe(e, c, m, f, v, null, a, l, s), f = v = y = null), I = !0, C = !0, i = !0) : C ? (C = !1, i = !0) : w(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, b = r;
1853
1870
  else {
1854
- if (a = e.line, l = e.lineStart, s = e.position, !Ae(e, n, yn, !1, !0))
1871
+ if (a = e.line, l = e.lineStart, s = e.position, !ke(e, n, yn, !1, !0))
1855
1872
  break;
1856
1873
  if (e.line === o) {
1857
- for (v = e.input.charCodeAt(e.position); he(v); )
1858
- v = e.input.charCodeAt(++e.position);
1859
- if (v === 58)
1860
- v = e.input.charCodeAt(++e.position), re(v) || _(e, "a whitespace character is expected after the key-value separator within a block mapping"), x && (Ce(e, c, m, f, y, null, a, l, s), f = y = g = null), F = !0, x = !1, i = !1, f = e.tag, y = e.result;
1861
- else if (F)
1862
- _(e, "can not read an implicit mapping pair; a colon is missed");
1874
+ for (b = e.input.charCodeAt(e.position); me(b); )
1875
+ b = e.input.charCodeAt(++e.position);
1876
+ if (b === 58)
1877
+ b = e.input.charCodeAt(++e.position), re(b) || w(e, "a whitespace character is expected after the key-value separator within a block mapping"), C && (xe(e, c, m, f, v, null, a, l, s), f = v = y = null), I = !0, C = !1, i = !1, f = e.tag, v = e.result;
1878
+ else if (I)
1879
+ w(e, "can not read an implicit mapping pair; a colon is missed");
1863
1880
  else
1864
1881
  return e.tag = u, e.anchor = d, !0;
1865
- } else if (F)
1866
- _(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1882
+ } else if (I)
1883
+ w(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1867
1884
  else
1868
1885
  return e.tag = u, e.anchor = d, !0;
1869
1886
  }
1870
- if ((e.line === o || e.lineIndent > t) && (x && (a = e.line, l = e.lineStart, s = e.position), Ae(e, t, Re, !0, i) && (x ? y = e.result : g = e.result), x || (Ce(e, c, m, f, y, g, a, l, s), f = y = g = null), z(e, !0, -1), v = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && v !== 0)
1871
- _(e, "bad indentation of a mapping entry");
1887
+ if ((e.line === o || e.lineIndent > t) && (C && (a = e.line, l = e.lineStart, s = e.position), ke(e, t, Le, !0, i) && (C ? v = e.result : y = e.result), C || (xe(e, c, m, f, v, y, a, l, s), f = v = y = null), G(e, !0, -1), b = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && b !== 0)
1888
+ w(e, "bad indentation of a mapping entry");
1872
1889
  else if (e.lineIndent < t)
1873
1890
  break;
1874
1891
  }
1875
- return x && Ce(e, c, m, f, y, null, a, l, s), F && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), F;
1892
+ return C && xe(e, c, m, f, v, null, a, l, s), I && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), I;
1876
1893
  }
1877
1894
  function _a(e) {
1878
1895
  var t, n = !1, r = !1, i, o, a;
1879
1896
  if (a = e.input.charCodeAt(e.position), a !== 33) return !1;
1880
- if (e.tag !== null && _(e, "duplication of a tag property"), a = e.input.charCodeAt(++e.position), a === 60 ? (n = !0, a = e.input.charCodeAt(++e.position)) : a === 33 ? (r = !0, i = "!!", a = e.input.charCodeAt(++e.position)) : i = "!", t = e.position, n) {
1897
+ if (e.tag !== null && w(e, "duplication of a tag property"), a = e.input.charCodeAt(++e.position), a === 60 ? (n = !0, a = e.input.charCodeAt(++e.position)) : a === 33 ? (r = !0, i = "!!", a = e.input.charCodeAt(++e.position)) : i = "!", t = e.position, n) {
1881
1898
  do
1882
1899
  a = e.input.charCodeAt(++e.position);
1883
1900
  while (a !== 0 && a !== 62);
1884
- e.position < e.length ? (o = e.input.slice(t, e.position), a = e.input.charCodeAt(++e.position)) : _(e, "unexpected end of the stream within a verbatim tag");
1901
+ e.position < e.length ? (o = e.input.slice(t, e.position), a = e.input.charCodeAt(++e.position)) : w(e, "unexpected end of the stream within a verbatim tag");
1885
1902
  } else {
1886
1903
  for (; a !== 0 && !re(a); )
1887
- a === 33 && (r ? _(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), bn.test(i) || _(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
1888
- o = e.input.slice(t, e.position), fa.test(o) && _(e, "tag suffix cannot contain flow indicator characters");
1904
+ a === 33 && (r ? w(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), bn.test(i) || w(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
1905
+ o = e.input.slice(t, e.position), fa.test(o) && w(e, "tag suffix cannot contain flow indicator characters");
1889
1906
  }
1890
- o && !xn.test(o) && _(e, "tag name cannot contain such characters: " + o);
1907
+ o && !xn.test(o) && w(e, "tag name cannot contain such characters: " + o);
1891
1908
  try {
1892
1909
  o = decodeURIComponent(o);
1893
1910
  } catch {
1894
- _(e, "tag name is malformed: " + o);
1911
+ w(e, "tag name is malformed: " + o);
1895
1912
  }
1896
- return n ? e.tag = o : pe.call(e.tagMap, i) ? e.tag = e.tagMap[i] + o : i === "!" ? e.tag = "!" + o : i === "!!" ? e.tag = "tag:yaml.org,2002:" + o : _(e, 'undeclared tag handle "' + i + '"'), !0;
1913
+ return n ? e.tag = o : pe.call(e.tagMap, i) ? e.tag = e.tagMap[i] + o : i === "!" ? e.tag = "!" + o : i === "!!" ? e.tag = "tag:yaml.org,2002:" + o : w(e, 'undeclared tag handle "' + i + '"'), !0;
1897
1914
  }
1898
1915
  function wa(e) {
1899
1916
  var t, n;
1900
1917
  if (n = e.input.charCodeAt(e.position), n !== 38) return !1;
1901
- for (e.anchor !== null && _(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !re(n) && !xe(n); )
1918
+ for (e.anchor !== null && w(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !re(n) && !be(n); )
1902
1919
  n = e.input.charCodeAt(++e.position);
1903
- return e.position === t && _(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
1920
+ return e.position === t && w(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
1904
1921
  }
1905
1922
  function Sa(e) {
1906
1923
  var t, n, r;
1907
1924
  if (r = e.input.charCodeAt(e.position), r !== 42) return !1;
1908
- for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !re(r) && !xe(r); )
1925
+ for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !re(r) && !be(r); )
1909
1926
  r = e.input.charCodeAt(++e.position);
1910
- return e.position === t && _(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), pe.call(e.anchorMap, n) || _(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], z(e, !0, -1), !0;
1927
+ return e.position === t && w(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), pe.call(e.anchorMap, n) || w(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], G(e, !0, -1), !0;
1911
1928
  }
1912
- function Ae(e, t, n, r, i) {
1913
- var o, a, l, s = 1, u = !1, d = !1, c, m, f, y, g, x;
1914
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Re === n || vn === n, r && z(e, !0, -1) && (u = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
1929
+ function ke(e, t, n, r, i) {
1930
+ var o, a, l, s = 1, u = !1, d = !1, c, m, f, v, y, C;
1931
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Le === n || vn === n, r && G(e, !0, -1) && (u = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
1915
1932
  for (; _a(e) || wa(e); )
1916
- z(e, !0, -1) ? (u = !0, l = o, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
1917
- if (l && (l = u || i), (s === 1 || Re === n) && (Le === n || yn === n ? g = t : g = t + 1, x = e.position - e.lineStart, s === 1 ? l && (_t(e, x) || Aa(e, x, g)) || Ca(e, g) ? d = !0 : (a && ka(e, g) || ba(e, g) || xa(e, g) ? d = !0 : Sa(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && _(e, "alias node should not have any properties")) : va(e, g, Le === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && _t(e, x))), e.tag === null)
1933
+ G(e, !0, -1) ? (u = !0, l = o, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
1934
+ if (l && (l = u || i), (s === 1 || Le === n) && (Oe === n || yn === n ? y = t : y = t + 1, C = e.position - e.lineStart, s === 1 ? l && (_t(e, C) || Aa(e, C, y)) || Ca(e, y) ? d = !0 : (a && ka(e, y) || ba(e, y) || xa(e, y) ? d = !0 : Sa(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && w(e, "alias node should not have any properties")) : va(e, y, Oe === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && _t(e, C))), e.tag === null)
1918
1935
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1919
1936
  else if (e.tag === "?") {
1920
- for (e.result !== null && e.kind !== "scalar" && _(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, m = e.implicitTypes.length; c < m; c += 1)
1921
- if (y = e.implicitTypes[c], y.resolve(e.result)) {
1922
- e.result = y.construct(e.result), e.tag = y.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1937
+ for (e.result !== null && e.kind !== "scalar" && w(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, m = e.implicitTypes.length; c < m; c += 1)
1938
+ if (v = e.implicitTypes[c], v.resolve(e.result)) {
1939
+ e.result = v.construct(e.result), e.tag = v.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1923
1940
  break;
1924
1941
  }
1925
1942
  } else if (e.tag !== "!") {
1926
1943
  if (pe.call(e.typeMap[e.kind || "fallback"], e.tag))
1927
- y = e.typeMap[e.kind || "fallback"][e.tag];
1944
+ v = e.typeMap[e.kind || "fallback"][e.tag];
1928
1945
  else
1929
- for (y = null, f = e.typeMap.multi[e.kind || "fallback"], c = 0, m = f.length; c < m; c += 1)
1946
+ for (v = null, f = e.typeMap.multi[e.kind || "fallback"], c = 0, m = f.length; c < m; c += 1)
1930
1947
  if (e.tag.slice(0, f[c].tag.length) === f[c].tag) {
1931
- y = f[c];
1948
+ v = f[c];
1932
1949
  break;
1933
1950
  }
1934
- y || _(e, "unknown tag !<" + e.tag + ">"), e.result !== null && y.kind !== e.kind && _(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + y.kind + '", not "' + e.kind + '"'), y.resolve(e.result, e.tag) ? (e.result = y.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : _(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
1951
+ v || w(e, "unknown tag !<" + e.tag + ">"), e.result !== null && v.kind !== e.kind && w(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + v.kind + '", not "' + e.kind + '"'), v.resolve(e.result, e.tag) ? (e.result = v.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : w(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
1935
1952
  }
1936
1953
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
1937
1954
  }
1938
1955
  function $a(e) {
1939
1956
  var t = e.position, n, r, i, o = !1, a;
1940
- for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (a = e.input.charCodeAt(e.position)) !== 0 && (z(e, !0, -1), a = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || a !== 37)); ) {
1957
+ for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (a = e.input.charCodeAt(e.position)) !== 0 && (G(e, !0, -1), a = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || a !== 37)); ) {
1941
1958
  for (o = !0, a = e.input.charCodeAt(++e.position), n = e.position; a !== 0 && !re(a); )
1942
1959
  a = e.input.charCodeAt(++e.position);
1943
- for (r = e.input.slice(n, e.position), i = [], r.length < 1 && _(e, "directive name must not be less than one character in length"); a !== 0; ) {
1944
- for (; he(a); )
1960
+ for (r = e.input.slice(n, e.position), i = [], r.length < 1 && w(e, "directive name must not be less than one character in length"); a !== 0; ) {
1961
+ for (; me(a); )
1945
1962
  a = e.input.charCodeAt(++e.position);
1946
1963
  if (a === 35) {
1947
1964
  do
@@ -1954,14 +1971,14 @@ function $a(e) {
1954
1971
  a = e.input.charCodeAt(++e.position);
1955
1972
  i.push(e.input.slice(n, e.position));
1956
1973
  }
1957
- a !== 0 && it(e), pe.call(kt, r) ? kt[r](e, r, i) : Be(e, 'unknown document directive "' + r + '"');
1974
+ a !== 0 && it(e), pe.call(kt, r) ? kt[r](e, r, i) : Re(e, 'unknown document directive "' + r + '"');
1958
1975
  }
1959
- if (z(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, z(e, !0, -1)) : o && _(e, "directives end mark is expected"), Ae(e, e.lineIndent - 1, Re, !1, !0), z(e, !0, -1), e.checkLineBreaks && da.test(e.input.slice(t, e.position)) && Be(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ue(e)) {
1960
- e.input.charCodeAt(e.position) === 46 && (e.position += 3, z(e, !0, -1));
1976
+ if (G(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, G(e, !0, -1)) : o && w(e, "directives end mark is expected"), ke(e, e.lineIndent - 1, Le, !1, !0), G(e, !0, -1), e.checkLineBreaks && da.test(e.input.slice(t, e.position)) && Re(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && je(e)) {
1977
+ e.input.charCodeAt(e.position) === 46 && (e.position += 3, G(e, !0, -1));
1961
1978
  return;
1962
1979
  }
1963
1980
  if (e.position < e.length - 1)
1964
- _(e, "end of the stream or a document separator is expected");
1981
+ w(e, "end of the stream or a document separator is expected");
1965
1982
  else
1966
1983
  return;
1967
1984
  }
@@ -1969,7 +1986,7 @@ function _n(e, t) {
1969
1986
  e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
1970
1987
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
1971
1988
  var n = new ya(e, t), r = e.indexOf("\0");
1972
- for (r !== -1 && (n.position = r, _(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
1989
+ for (r !== -1 && (n.position = r, w(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
1973
1990
  n.lineIndent += 1, n.position += 1;
1974
1991
  for (; n.position < n.length - 1; )
1975
1992
  $a(n);
@@ -1994,7 +2011,7 @@ function Ia(e, t) {
1994
2011
  var Ea = Ta, Fa = Ia, wn = {
1995
2012
  loadAll: Ea,
1996
2013
  load: Fa
1997
- }, Sn = Object.prototype.toString, $n = Object.prototype.hasOwnProperty, ot = 65279, Oa = 9, $e = 10, La = 13, Ra = 32, Ba = 33, Ka = 34, Ge = 35, Na = 37, Ma = 38, Da = 39, ja = 42, Tn = 44, Ua = 45, Ke = 58, Pa = 61, qa = 62, Ha = 63, Ya = 64, In = 91, En = 93, Va = 96, Fn = 123, Wa = 124, On = 125, ee = {};
2014
+ }, Sn = Object.prototype.toString, $n = Object.prototype.hasOwnProperty, ot = 65279, Oa = 9, Se = 10, La = 13, Ra = 32, Ba = 33, Ka = 34, Ge = 35, Na = 37, Ma = 38, Da = 39, ja = 42, Tn = 44, Ua = 45, Be = 58, Pa = 61, qa = 62, Ha = 63, Ya = 64, In = 91, En = 93, Va = 96, Fn = 123, Wa = 124, On = 125, ee = {};
1998
2015
  ee[0] = "\\0";
1999
2016
  ee[7] = "\\a";
2000
2017
  ee[8] = "\\b";
@@ -2047,9 +2064,9 @@ function Qa(e) {
2047
2064
  throw new ne("code point within a string may not be greater than 0xFFFFFFFF");
2048
2065
  return "\\" + n + Q.repeat("0", r - t.length) + t;
2049
2066
  }
2050
- var Za = 1, Te = 2;
2067
+ var Za = 1, $e = 2;
2051
2068
  function Xa(e) {
2052
- this.schema = e.schema || rt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = Q.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = za(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 === '"' ? Te : Za, 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;
2069
+ this.schema = e.schema || rt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = Q.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = za(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 === '"' ? $e : Za, 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;
2053
2070
  }
2054
2071
  function wt(e, t) {
2055
2072
  for (var n = Q.repeat(" ", t), r = 0, i = -1, o = "", a, l = e.length; r < l; )
@@ -2069,32 +2086,32 @@ function eo(e, t) {
2069
2086
  return !0;
2070
2087
  return !1;
2071
2088
  }
2072
- function Ne(e) {
2089
+ function Ke(e) {
2073
2090
  return e === Ra || e === Oa;
2074
2091
  }
2075
- function Ie(e) {
2092
+ function Te(e) {
2076
2093
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== ot || 65536 <= e && e <= 1114111;
2077
2094
  }
2078
2095
  function St(e) {
2079
- return Ie(e) && e !== ot && e !== La && e !== $e;
2096
+ return Te(e) && e !== ot && e !== La && e !== Se;
2080
2097
  }
2081
2098
  function $t(e, t, n) {
2082
- var r = St(e), i = r && !Ne(e);
2099
+ var r = St(e), i = r && !Ke(e);
2083
2100
  return (
2084
2101
  // ns-plain-safe
2085
2102
  (n ? (
2086
2103
  // c = flow-in
2087
2104
  r
2088
- ) : r && e !== Tn && e !== In && e !== En && e !== Fn && e !== On) && e !== Ge && !(t === Ke && !i) || St(t) && !Ne(t) && e === Ge || t === Ke && i
2105
+ ) : r && e !== Tn && e !== In && e !== En && e !== Fn && e !== On) && e !== Ge && !(t === Be && !i) || St(t) && !Ke(t) && e === Ge || t === Be && i
2089
2106
  );
2090
2107
  }
2091
2108
  function to(e) {
2092
- return Ie(e) && e !== ot && !Ne(e) && e !== Ua && e !== Ha && e !== Ke && e !== Tn && e !== In && e !== En && e !== Fn && e !== On && e !== Ge && e !== Ma && e !== ja && e !== Ba && e !== Wa && e !== Pa && e !== qa && e !== Da && e !== Ka && e !== Na && e !== Ya && e !== Va;
2109
+ return Te(e) && e !== ot && !Ke(e) && e !== Ua && e !== Ha && e !== Be && e !== Tn && e !== In && e !== En && e !== Fn && e !== On && e !== Ge && e !== Ma && e !== ja && e !== Ba && e !== Wa && e !== Pa && e !== qa && e !== Da && e !== Ka && e !== Na && e !== Ya && e !== Va;
2093
2110
  }
2094
2111
  function no(e) {
2095
- return !Ne(e) && e !== Ke;
2112
+ return !Ke(e) && e !== Be;
2096
2113
  }
2097
- function we(e, t) {
2114
+ function _e(e, t) {
2098
2115
  var n = e.charCodeAt(t), r;
2099
2116
  return n >= 55296 && n <= 56319 && t + 1 < e.length && (r = e.charCodeAt(t + 1), r >= 56320 && r <= 57343) ? (n - 55296) * 1024 + r - 56320 + 65536 : n;
2100
2117
  }
@@ -2102,34 +2119,34 @@ function Ln(e) {
2102
2119
  var t = /^\n* /;
2103
2120
  return t.test(e);
2104
2121
  }
2105
- var Rn = 1, Qe = 2, Bn = 3, Kn = 4, be = 5;
2122
+ var Rn = 1, Qe = 2, Bn = 3, Kn = 4, ve = 5;
2106
2123
  function ro(e, t, n, r, i, o, a, l) {
2107
- var s, u = 0, d = null, c = !1, m = !1, f = r !== -1, y = -1, g = to(we(e, 0)) && no(we(e, e.length - 1));
2124
+ var s, u = 0, d = null, c = !1, m = !1, f = r !== -1, v = -1, y = to(_e(e, 0)) && no(_e(e, e.length - 1));
2108
2125
  if (t || a)
2109
2126
  for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
2110
- if (u = we(e, s), !Ie(u))
2111
- return be;
2112
- g = g && $t(u, d, l), d = u;
2127
+ if (u = _e(e, s), !Te(u))
2128
+ return ve;
2129
+ y = y && $t(u, d, l), d = u;
2113
2130
  }
2114
2131
  else {
2115
2132
  for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
2116
- if (u = we(e, s), u === $e)
2133
+ if (u = _e(e, s), u === Se)
2117
2134
  c = !0, f && (m = m || // Foldable line = too long, and not more-indented.
2118
- s - y - 1 > r && e[y + 1] !== " ", y = s);
2119
- else if (!Ie(u))
2120
- return be;
2121
- g = g && $t(u, d, l), d = u;
2135
+ s - v - 1 > r && e[v + 1] !== " ", v = s);
2136
+ else if (!Te(u))
2137
+ return ve;
2138
+ y = y && $t(u, d, l), d = u;
2122
2139
  }
2123
- m = m || f && s - y - 1 > r && e[y + 1] !== " ";
2140
+ m = m || f && s - v - 1 > r && e[v + 1] !== " ";
2124
2141
  }
2125
- return !c && !m ? g && !a && !i(e) ? Rn : o === Te ? be : Qe : n > 9 && Ln(e) ? be : a ? o === Te ? be : Qe : m ? Kn : Bn;
2142
+ return !c && !m ? y && !a && !i(e) ? Rn : o === $e ? ve : Qe : n > 9 && Ln(e) ? ve : a ? o === $e ? ve : Qe : m ? Kn : Bn;
2126
2143
  }
2127
2144
  function io(e, t, n, r, i) {
2128
2145
  e.dump = function() {
2129
2146
  if (t.length === 0)
2130
- return e.quotingType === Te ? '""' : "''";
2147
+ return e.quotingType === $e ? '""' : "''";
2131
2148
  if (!e.noCompatMode && (Ja.indexOf(t) !== -1 || Ga.test(t)))
2132
- return e.quotingType === Te ? '"' + t + '"' : "'" + t + "'";
2149
+ return e.quotingType === $e ? '"' + t + '"' : "'" + t + "'";
2133
2150
  var o = e.indent * Math.max(1, n), a = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), l = r || e.flowLevel > -1 && n >= e.flowLevel;
2134
2151
  function s(u) {
2135
2152
  return eo(e, u);
@@ -2152,7 +2169,7 @@ function io(e, t, n, r, i) {
2152
2169
  return "|" + Tt(t, e.indent) + It(wt(t, o));
2153
2170
  case Kn:
2154
2171
  return ">" + Tt(t, e.indent) + It(wt(ao(t, a), o));
2155
- case be:
2172
+ case ve:
2156
2173
  return '"' + oo(t) + '"';
2157
2174
  default:
2158
2175
  throw new ne("impossible error: invalid scalar style");
@@ -2195,7 +2212,7 @@ function Et(e, t) {
2195
2212
  }
2196
2213
  function oo(e) {
2197
2214
  for (var t = "", n = 0, r, i = 0; i < e.length; n >= 65536 ? i += 2 : i++)
2198
- n = we(e, i), r = ee[n], !r && Ie(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || Qa(n);
2215
+ n = _e(e, i), r = ee[n], !r && Te(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || Qa(n);
2199
2216
  return t;
2200
2217
  }
2201
2218
  function lo(e, t, n) {
@@ -2207,7 +2224,7 @@ function lo(e, t, n) {
2207
2224
  function Ft(e, t, n, r) {
2208
2225
  var i = "", o = e.tag, a, l, s;
2209
2226
  for (a = 0, l = n.length; a < l; a += 1)
2210
- s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (ce(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && ce(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += ze(e, t)), e.dump && $e === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2227
+ s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (ce(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && ce(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += ze(e, t)), e.dump && Se === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2211
2228
  e.tag = o, e.dump = i || "[]";
2212
2229
  }
2213
2230
  function so(e, t, n) {
@@ -2225,7 +2242,7 @@ function co(e, t, n, r) {
2225
2242
  else if (e.sortKeys)
2226
2243
  throw new ne("sortKeys must be a boolean or a function");
2227
2244
  for (l = 0, s = a.length; l < s; l += 1)
2228
- m = "", (!r || i !== "") && (m += ze(e, t)), u = a[l], d = n[u], e.replacer && (d = e.replacer.call(n, u, d)), ce(e, t + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && $e === e.dump.charCodeAt(0) ? m += "?" : m += "? "), m += e.dump, c && (m += ze(e, t)), ce(e, t + 1, d, !0, c) && (e.dump && $e === e.dump.charCodeAt(0) ? m += ":" : m += ": ", m += e.dump, i += m));
2245
+ m = "", (!r || i !== "") && (m += ze(e, t)), u = a[l], d = n[u], e.replacer && (d = e.replacer.call(n, u, d)), ce(e, t + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Se === e.dump.charCodeAt(0) ? m += "?" : m += "? "), m += e.dump, c && (m += ze(e, t)), ce(e, t + 1, d, !0, c) && (e.dump && Se === e.dump.charCodeAt(0) ? m += ":" : m += ": ", m += e.dump, i += m));
2229
2246
  e.tag = o, e.dump = i || "{}";
2230
2247
  }
2231
2248
  function Ot(e, t, n) {
@@ -2335,7 +2352,7 @@ var ho = X, go = Qt, yo = tn, vo = ln, bo = sn, xo = rt, Co = wn.load, ko = wn.l
2335
2352
  safeLoadAll: $o,
2336
2353
  safeDump: To
2337
2354
  };
2338
- const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2355
+ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ W({
2339
2356
  __name: "YamlCodeBlock",
2340
2357
  props: {
2341
2358
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
@@ -2345,13 +2362,13 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2345
2362
  }
2346
2363
  },
2347
2364
  setup(e) {
2348
- const t = e, n = E(() => {
2365
+ const t = e, n = T(() => {
2349
2366
  const r = Object.fromEntries(Object.entries(t.entityRecord).filter(([, i]) => i !== null && i !== "" && (Array.isArray(i) ? i.length !== 0 : !0)));
2350
2367
  return Object.keys(r).length === 0 && r.constructor === Object ? "" : Io.dump(r).trim();
2351
2368
  });
2352
2369
  return (r, i) => {
2353
2370
  const o = j("KCodeBlock");
2354
- return p(), T("div", Eo, [
2371
+ return p(), S("div", Eo, [
2355
2372
  t.entityRecord ? (p(), D(o, {
2356
2373
  key: 0,
2357
2374
  id: "yaml-codeblock",
@@ -2362,7 +2379,7 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2362
2379
  ]);
2363
2380
  };
2364
2381
  }
2365
- }), Fo = { class: "terraform-config" }, te = " ", Mn = /* @__PURE__ */ G({
2382
+ }), Fo = { class: "terraform-config" }, te = " ", Mn = /* @__PURE__ */ W({
2366
2383
  __name: "TerraformCodeBlock",
2367
2384
  props: {
2368
2385
  /** A record to indicate the entity's configuration, used to populate the Terraform code block */
@@ -2373,7 +2390,7 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2373
2390
  entityType: {
2374
2391
  type: String,
2375
2392
  required: !0,
2376
- validator: (e) => De.includes(e)
2393
+ validator: (e) => Me.includes(e)
2377
2394
  },
2378
2395
  credentialType: {
2379
2396
  type: String,
@@ -2395,12 +2412,12 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2395
2412
  if (s && (c += `${d}${s} = {
2396
2413
  `), l === null)
2397
2414
  return s ? c += `${d}}` : c = "{}", c;
2398
- const m = Object.fromEntries(Object.entries(l).filter(([, y]) => y !== null));
2415
+ const m = Object.fromEntries(Object.entries(l).filter(([, v]) => v !== null));
2399
2416
  let f = "";
2400
- for (const [y, g] of Object.entries(m))
2401
- Array.isArray(g) ? g.length === 0 ? f = "[]" : (f = `[
2402
- `, f += i(g, void 0, d), f += `${d}${te}]`) : g && typeof g == "object" ? (f = `{
2403
- `, f += r(g, void 0, d), f += `${d}${te}}`) : f = String(g ?? ""), typeof g == "string" && (f = `"${f}"`), c += `${d}${te}${y} = ${f}
2417
+ for (const [v, y] of Object.entries(m))
2418
+ Array.isArray(y) ? y.length === 0 ? f = "[]" : (f = `[
2419
+ `, f += i(y, void 0, d), f += `${d}${te}]`) : y && typeof y == "object" ? (f = `{
2420
+ `, f += r(y, void 0, d), f += `${d}${te}}`) : f = String(y ?? ""), typeof y == "string" && (f = `"${f}"`), c += `${d}${te}${v} = ${f}
2404
2421
  `;
2405
2422
  return s ? c += `${d}}
2406
2423
  ` : c;
@@ -2425,16 +2442,16 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2425
2442
  for (const [u, d] of Object.entries(l))
2426
2443
  Array.isArray(d) ? s += i(d, u) : typeof d == "object" ? s += r(d, u) : s += n(d, u);
2427
2444
  return s;
2428
- }, a = E(() => {
2429
- var c, m, f, y, g, x, F;
2430
- const l = Object.fromEntries(Object.entries(t.entityRecord).filter(([, v]) => v != null)), s = t.entityRecord.config ? Object.fromEntries(Object.entries((c = t.entityRecord) == null ? void 0 : c.config).filter(([, v]) => v != null)) : void 0;
2445
+ }, a = T(() => {
2446
+ var c, m, f, v, y, C, I;
2447
+ const l = Object.fromEntries(Object.entries(t.entityRecord).filter(([, b]) => b != null)), s = t.entityRecord.config ? Object.fromEntries(Object.entries((c = t.entityRecord) == null ? void 0 : c.config).filter(([, b]) => b != null)) : void 0;
2431
2448
  if (s && (l.config = s), Object.keys(l).length === 0)
2432
2449
  return "";
2433
2450
  delete l.id;
2434
2451
  let u = "", d = "";
2435
- if ((m = l.service) != null && m.id ? (d = "service", delete l.service) : (f = l.route) != null && f.id ? (d = "route", delete l.route) : (y = l.consumer) != null && y.id ? (d = "consumer", delete l.consumer) : (g = l.consumer_group) != null && g.id ? (d = "consumer_group", delete l.consumer_group) : (x = l.certificate) != null && x.id ? (d = "certificate", delete l.certificate) : (F = l.set) != null && F.id && (d = "set", delete l.set), t.entityType === "plugin") {
2436
- const v = t.credentialType.replace(/-/g, "_") || (l.name + "").replace(/-/g, "_");
2437
- delete l.name, u += `resource "konnect_gateway_plugin_${v}" "my_${v}" {
2452
+ if ((m = l.service) != null && m.id ? (d = "service", delete l.service) : (f = l.route) != null && f.id ? (d = "route", delete l.route) : (v = l.consumer) != null && v.id ? (d = "consumer", delete l.consumer) : (y = l.consumer_group) != null && y.id ? (d = "consumer_group", delete l.consumer_group) : (C = l.certificate) != null && C.id ? (d = "certificate", delete l.certificate) : (I = l.set) != null && I.id && (d = "set", delete l.set), t.entityType === "plugin") {
2453
+ const b = t.credentialType.replace(/-/g, "_") || (l.name + "").replace(/-/g, "_");
2454
+ delete l.name, u += `resource "konnect_gateway_plugin_${b}" "my_${b}" {
2438
2455
  `;
2439
2456
  } else
2440
2457
  u += `resource "konnect_gateway_${t.entityType}" "my_${t.entityType}" {
@@ -2448,7 +2465,7 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2448
2465
  });
2449
2466
  return (l, s) => {
2450
2467
  const u = j("KCodeBlock");
2451
- return p(), T("div", Fo, [
2468
+ return p(), S("div", Fo, [
2452
2469
  t.entityRecord ? (p(), D(u, {
2453
2470
  key: 0,
2454
2471
  id: "terraform-codeblock",
@@ -2465,7 +2482,7 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2465
2482
  }, Lo = ["data-testid"], Ro = {
2466
2483
  key: 0,
2467
2484
  class: "config-card-prop-section-title"
2468
- }, Bo = /* @__PURE__ */ G({
2485
+ }, Bo = /* @__PURE__ */ W({
2469
2486
  __name: "ConfigCardDisplay",
2470
2487
  props: {
2471
2488
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2477,7 +2494,7 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2477
2494
  entityType: {
2478
2495
  type: String,
2479
2496
  required: !0,
2480
- validator: (e) => De.includes(e)
2497
+ validator: (e) => Me.includes(e)
2481
2498
  },
2482
2499
  propertyCollections: {
2483
2500
  type: Object,
@@ -2509,28 +2526,28 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2509
2526
  }
2510
2527
  },
2511
2528
  setup(e) {
2512
- const t = e, n = Xe(), { i18n: { t: r } } = V.useI18n(), i = (a) => !!(a.tooltip || n[`${a.key}-label-tooltip`]), o = E(() => {
2529
+ const t = e, n = Xe(), { i18n: { t: r } } = H.useI18n(), i = (a) => !!(a.tooltip || n[`${a.key}-label-tooltip`]), o = T(() => {
2513
2530
  if (!t.record)
2514
2531
  return t.record;
2515
2532
  const a = JSON.parse(JSON.stringify(t.record));
2516
2533
  return delete a.created_at, delete a.updated_at, a;
2517
2534
  });
2518
- return (a, l) => (p(), T(le, null, [
2519
- e.format === "structured" ? (p(), T("div", Oo, [
2520
- (p(!0), T(le, null, oe(e.propListTypes, (s) => (p(), T("div", {
2535
+ return (a, l) => (p(), S(le, null, [
2536
+ e.format === "structured" ? (p(), S("div", Oo, [
2537
+ (p(!0), S(le, null, oe(e.propListTypes, (s) => (p(), S("div", {
2521
2538
  key: `config-card-details-${s}-props`,
2522
2539
  class: fe(`config-card-details-${s}-props`),
2523
2540
  "data-testid": `config-card-details-${s}-props`
2524
2541
  }, [
2525
- s !== "basic" ? (p(), T("div", Ro, O(s === "advanced" ? k(r)("baseConfigCard.sections.advanced") : k(r)("baseConfigCard.sections.plugin")), 1)) : U("", !0),
2526
- (p(!0), T(le, null, oe(e.propertyCollections[s], (u) => (p(), D(Wt, {
2542
+ s !== "basic" ? (p(), S("div", Ro, F(s === "advanced" ? A(r)("baseConfigCard.sections.advanced") : A(r)("baseConfigCard.sections.plugin")), 1)) : U("", !0),
2543
+ (p(!0), S(le, null, oe(e.propertyCollections[s], (u) => (p(), D(Wt, {
2527
2544
  key: u.key,
2528
2545
  item: u
2529
- }, ke({
2530
- label: C(() => [
2546
+ }, Ce({
2547
+ label: k(() => [
2531
2548
  P(a.$slots, `${u.key}-label`, { row: u }, void 0, !0)
2532
2549
  ]),
2533
- [u.key]: C(({ rowValue: d }) => [
2550
+ [u.key]: k(({ rowValue: d }) => [
2534
2551
  P(a.$slots, u.key, {
2535
2552
  row: u,
2536
2553
  rowValue: d
@@ -2540,7 +2557,7 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2540
2557
  }, [
2541
2558
  i(u) ? {
2542
2559
  name: "label-tooltip",
2543
- fn: C(() => [
2560
+ fn: k(() => [
2544
2561
  P(a.$slots, `${u.key}-label-tooltip`, { row: u }, void 0, !0)
2545
2562
  ]),
2546
2563
  key: "0"
@@ -2569,7 +2586,7 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2569
2586
  }), Ko = /* @__PURE__ */ ie(Bo, [["__scopeId", "data-v-d15be7fe"]]), No = {
2570
2587
  class: "config-card-title",
2571
2588
  "data-testid": "config-card-title"
2572
- }, Mo = { class: "config-card-actions" }, Do = ["href"], jo = { class: "config-card-details-section" }, Uo = /* @__PURE__ */ G({
2589
+ }, Mo = { class: "config-card-actions" }, Do = ["href"], jo = { class: "config-card-details-section" }, Uo = /* @__PURE__ */ W({
2573
2590
  __name: "EntityBaseConfigCard",
2574
2591
  props: {
2575
2592
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2590,7 +2607,7 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2590
2607
  entityType: {
2591
2608
  type: String,
2592
2609
  required: !0,
2593
- validator: (e) => De.includes(e)
2610
+ validator: (e) => Me.includes(e)
2594
2611
  },
2595
2612
  /** Record key that contains the plugin configuration */
2596
2613
  pluginConfigKey: {
@@ -2655,10 +2672,10 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2655
2672
  },
2656
2673
  emits: ["loading", "fetch:success", "fetch:error"],
2657
2674
  setup(e, { emit: t }) {
2658
- var I;
2659
- const n = t, r = e, { i18n: { t: i } } = V.useI18n(), { getMessageFromError: o } = V.useErrors(), { convertKeyToTitle: a } = V.useStringHelpers();
2660
- V.useSubSchema(r.pluginConfigKey);
2661
- const { axiosInstance: l } = V.useAxios((I = r.config) == null ? void 0 : I.axiosRequestConfig), s = [
2675
+ var $;
2676
+ const n = t, r = e, { i18n: { t: i } } = H.useI18n(), { getMessageFromError: o } = H.useErrors(), { convertKeyToTitle: a } = H.useStringHelpers();
2677
+ H.useSubSchema(r.pluginConfigKey);
2678
+ const { axiosInstance: l } = H.useAxios(($ = r.config) == null ? void 0 : $.axiosRequestConfig), s = [
2662
2679
  {
2663
2680
  label: i("baseConfigCard.general.structuredFormat"),
2664
2681
  value: "structured",
@@ -2677,8 +2694,8 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2677
2694
  label: i("baseForm.configuration.terraform"),
2678
2695
  value: "terraform"
2679
2696
  });
2680
- const u = N("structured"), d = (h) => {
2681
- u.value = h == null ? void 0 : h.value;
2697
+ const u = B("structured"), d = (g) => {
2698
+ u.value = g == null ? void 0 : g.value;
2682
2699
  }, c = {
2683
2700
  id: {
2684
2701
  type: Y.ID,
@@ -2713,167 +2730,167 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2713
2730
  // the last property displayed
2714
2731
  section: ae.Basic
2715
2732
  }
2716
- }, m = N(!1), f = N(!1), y = N(""), g = N({}), x = E(() => {
2717
- var $, S, b;
2718
- if (!g.value)
2733
+ }, m = B(!1), f = B(!1), v = B(""), y = B({}), C = T(() => {
2734
+ var x, _, R;
2735
+ if (!y.value)
2719
2736
  return [];
2720
- const h = [], A = Object.keys(g.value).length;
2721
- for (const w in g.value) {
2722
- const R = (S = ($ = r.configSchema) == null ? void 0 : $[w]) == null ? void 0 : S.order, W = (b = c[w]) == null ? void 0 : b.order;
2723
- let q = A;
2724
- (W || W === 0) && (q = W === -1 ? A + 1 : W), R && (q = R === -1 ? A + 1 : R), h.push([w, q]);
2737
+ const g = [], h = Object.keys(y.value).length;
2738
+ for (const K in y.value) {
2739
+ const N = (_ = (x = r.configSchema) == null ? void 0 : x[K]) == null ? void 0 : _.order, z = (R = c[K]) == null ? void 0 : R.order;
2740
+ let V = h;
2741
+ (z || z === 0) && (V = z === -1 ? h + 1 : z), N && (V = N === -1 ? h + 1 : N), g.push([K, V]);
2725
2742
  }
2726
- return h.sort(function(w, R) {
2727
- return w[1] - R[1];
2728
- }), h.map((w) => {
2729
- var me, Ee;
2730
- const R = w[0], W = (me = g.value) == null ? void 0 : me[R], q = ((Ee = r.configSchema) == null ? void 0 : Ee[R]) || {}, J = c[R];
2743
+ return g.sort(function(K, N) {
2744
+ return K[1] - N[1];
2745
+ }), g.map((K) => {
2746
+ var Ie, st;
2747
+ const N = K[0], z = (Ie = y.value) == null ? void 0 : Ie[N], V = ((st = r.configSchema) == null ? void 0 : st[N]) || {}, J = c[N];
2731
2748
  return {
2732
- key: R,
2733
- value: W,
2734
- hidden: q.hidden || !1,
2735
- type: q.type ?? ((J == null ? void 0 : J.type) || Y.Text),
2736
- label: q.label ?? ((J == null ? void 0 : J.label) || a(R)),
2737
- tooltip: q.tooltip ?? ((J == null ? void 0 : J.tooltip) || void 0),
2738
- section: q.section ?? ((J == null ? void 0 : J.section) || ae.Advanced)
2749
+ key: N,
2750
+ value: z,
2751
+ hidden: V.hidden || !1,
2752
+ type: V.type ?? ((J == null ? void 0 : J.type) || Y.Text),
2753
+ label: V.label ?? ((J == null ? void 0 : J.label) || a(N)),
2754
+ tooltip: V.tooltip ?? ((J == null ? void 0 : J.tooltip) || void 0),
2755
+ section: V.section ?? ((J == null ? void 0 : J.section) || ae.Advanced)
2739
2756
  };
2740
- }).filter((w) => !w.hidden && w.key !== r.pluginConfigKey);
2741
- }), F = E(() => {
2742
- var S, b;
2743
- if (!g.value || !r.pluginConfigKey)
2757
+ }).filter((K) => !K.hidden && K.key !== r.pluginConfigKey);
2758
+ }), I = T(() => {
2759
+ var _, R;
2760
+ if (!y.value || !r.pluginConfigKey)
2744
2761
  return [];
2745
- const h = g.value[r.pluginConfigKey] || {}, A = Object.keys(h).length, $ = [];
2746
- for (const w in h) {
2747
- const R = (b = (S = r.pluginConfigSchema) == null ? void 0 : S[w]) == null ? void 0 : b.order, W = h[w];
2748
- let q = W != null && W !== "" ? A - 1 : A;
2749
- R && (q = R === -1 ? A + 1 : R), $.push([w, q]);
2762
+ const g = y.value[r.pluginConfigKey] || {}, h = Object.keys(g).length, x = [];
2763
+ for (const K in g) {
2764
+ const N = (R = (_ = r.pluginConfigSchema) == null ? void 0 : _[K]) == null ? void 0 : R.order, z = g[K];
2765
+ let V = z != null && z !== "" ? h - 1 : h;
2766
+ N && (V = N === -1 ? h + 1 : N), x.push([K, V]);
2750
2767
  }
2751
- return $.sort(function(w, R) {
2752
- return w[1] - R[1];
2753
- }), $.map((w) => {
2768
+ return x.sort(function(K, N) {
2769
+ return K[1] - N[1];
2770
+ }), x.map((K) => {
2754
2771
  var J;
2755
- const R = w[0], W = h[R], q = ((J = r.pluginConfigSchema) == null ? void 0 : J[R]) || {};
2772
+ const N = K[0], z = g[N], V = ((J = r.pluginConfigSchema) == null ? void 0 : J[N]) || {};
2756
2773
  return {
2757
- key: R,
2758
- value: W,
2759
- hidden: q.hidden || !1,
2760
- type: q.type ?? Y.Text,
2761
- label: q.label ?? a(R),
2762
- tooltip: q.tooltip ?? void 0,
2774
+ key: N,
2775
+ value: z,
2776
+ hidden: V.hidden || !1,
2777
+ type: V.type ?? Y.Text,
2778
+ label: V.label ?? a(N),
2779
+ tooltip: V.tooltip ?? void 0,
2763
2780
  section: ae.Plugin
2764
2781
  };
2765
- }).filter((w) => !w.hidden);
2766
- }), v = E(() => {
2767
- var h, A, $, S;
2782
+ }).filter((K) => !K.hidden);
2783
+ }), b = T(() => {
2784
+ var g, h, x, _;
2768
2785
  return {
2769
- basic: (h = x.value) == null ? void 0 : h.filter((b) => b.section === ae.Basic),
2770
- advanced: (A = x.value) == null ? void 0 : A.filter((b) => b.section === ae.Advanced),
2771
- plugin: (S = F.value) == null ? void 0 : S.concat(($ = x.value) == null ? void 0 : $.filter((b) => b.section === ae.Plugin))
2786
+ basic: (g = C.value) == null ? void 0 : g.filter((R) => R.section === ae.Basic),
2787
+ advanced: (h = C.value) == null ? void 0 : h.filter((R) => R.section === ae.Advanced),
2788
+ plugin: (_ = I.value) == null ? void 0 : _.concat((x = C.value) == null ? void 0 : x.filter((R) => R.section === ae.Plugin))
2772
2789
  };
2773
- }), K = E(() => {
2774
- const h = [];
2775
- return v.value.basic.length && h.push("basic"), v.value.advanced.length && h.push("advanced"), v.value.plugin.length && h.push("plugin"), h;
2776
- }), L = E(() => {
2777
- var A, $;
2778
- let h = `${r.config.apiBaseUrl}${r.fetchUrl}`;
2779
- return r.config.app === "konnect" ? h = h.replace(/{controlPlaneId}/gi, ((A = r.config) == null ? void 0 : A.controlPlaneId) || "") : r.config.app === "kongManager" && (h = h.replace(/\/{workspace}/gi, ($ = r.config) != null && $.workspace ? `/${r.config.workspace}` : "")), h = h.replace(/{id}/gi, r.config.entityId), h;
2790
+ }), O = T(() => {
2791
+ const g = [];
2792
+ return b.value.basic.length && g.push("basic"), b.value.advanced.length && g.push("advanced"), b.value.plugin.length && g.push("plugin"), g;
2793
+ }), E = T(() => {
2794
+ var h, x;
2795
+ let g = `${r.config.apiBaseUrl}${r.fetchUrl}`;
2796
+ return r.config.app === "konnect" ? g = g.replace(/{controlPlaneId}/gi, ((h = r.config) == null ? void 0 : h.controlPlaneId) || "") : r.config.app === "kongManager" && (g = g.replace(/\/{workspace}/gi, (x = r.config) != null && x.workspace ? `/${r.config.workspace}` : "")), g = g.replace(/{id}/gi, r.config.entityId), g;
2780
2797
  });
2781
- return _e(m, (h) => {
2782
- n("loading", h);
2798
+ return Ae(m, (g) => {
2799
+ n("loading", g);
2783
2800
  }, { immediate: !0 }), Mt(async () => {
2784
2801
  f.value = !1, m.value = !0;
2785
2802
  try {
2786
- const { data: h } = await l.get(L.value);
2803
+ const { data: g } = await l.get(E.value);
2787
2804
  if (r.dataKey)
2788
- if (typeof h[r.dataKey] < "u")
2789
- g.value = { ...h[r.dataKey] };
2805
+ if (typeof g[r.dataKey] < "u")
2806
+ y.value = { ...g[r.dataKey] };
2790
2807
  else
2791
2808
  throw new Error(i("errors.dataKeyUndefined", { dataKey: r.dataKey }));
2792
2809
  else
2793
- g.value = { ...h };
2794
- Object.keys(r.configSchema).filter(($) => r.configSchema[$].forceShow).forEach(($) => {
2795
- g.value && typeof g.value[$] > "u" && (g.value[$] = null);
2796
- }), n("fetch:success", h);
2797
- } catch (h) {
2798
- const A = o(h);
2799
- y.value = A.startsWith("code") ? i("baseConfigCard.errors.load") : A, f.value = !0, n("fetch:error", h);
2810
+ y.value = { ...g };
2811
+ Object.keys(r.configSchema).filter((x) => r.configSchema[x].forceShow).forEach((x) => {
2812
+ y.value && typeof y.value[x] > "u" && (y.value[x] = null);
2813
+ }), n("fetch:success", g);
2814
+ } catch (g) {
2815
+ const h = o(g);
2816
+ v.value = h.startsWith("code") ? i("baseConfigCard.errors.load") : h, f.value = !0, n("fetch:error", g);
2800
2817
  } finally {
2801
2818
  m.value = !1;
2802
2819
  }
2803
- }), (h, A) => {
2804
- const $ = j("KLabel"), S = j("KSelect"), b = j("KButton"), w = j("KSkeleton"), R = j("KEmptyState"), W = j("KCard");
2805
- return p(), D(W, {
2820
+ }), (g, h) => {
2821
+ const x = j("KLabel"), _ = j("KSelect"), R = j("KButton"), K = j("KSkeleton"), N = j("KEmptyState"), z = j("KCard");
2822
+ return p(), D(z, {
2806
2823
  class: "kong-ui-entity-base-config-card",
2807
2824
  "title-tag": e.titleTag
2808
- }, ke({
2809
- actions: C(() => [
2810
- B("div", Mo, [
2811
- P(h.$slots, "actions", {}, void 0, !0),
2812
- M($, {
2825
+ }, Ce({
2826
+ actions: k(() => [
2827
+ L("div", Mo, [
2828
+ P(g.$slots, "actions", {}, void 0, !0),
2829
+ M(x, {
2813
2830
  class: "config-format-select-label",
2814
2831
  "data-testid": "config-format-select-label"
2815
2832
  }, {
2816
- default: C(() => [
2817
- H(O(e.label), 1)
2833
+ default: k(() => [
2834
+ q(F(e.label), 1)
2818
2835
  ]),
2819
2836
  _: 1
2820
2837
  }),
2821
- M(S, {
2838
+ M(_, {
2822
2839
  "data-testid": "select-config-format",
2823
2840
  items: s,
2824
2841
  onChange: d
2825
2842
  }),
2826
- e.configCardDoc ? (p(), D(b, {
2843
+ e.configCardDoc ? (p(), D(R, {
2827
2844
  key: 0,
2828
2845
  appearance: "tertiary",
2829
2846
  class: "book-icon",
2830
2847
  "data-testid": "book-icon"
2831
2848
  }, {
2832
- default: C(() => [
2833
- B("a", {
2849
+ default: k(() => [
2850
+ L("a", {
2834
2851
  href: e.configCardDoc,
2835
2852
  rel: "noopener",
2836
2853
  target: "_blank"
2837
2854
  }, [
2838
- M(k(Dt), { size: k(Jr) }, null, 8, ["size"])
2855
+ M(A(Dt), { size: A(Jr) }, null, 8, ["size"])
2839
2856
  ], 8, Do)
2840
2857
  ]),
2841
2858
  _: 1
2842
2859
  })) : U("", !0)
2843
2860
  ])
2844
2861
  ]),
2845
- default: C(() => [
2846
- m.value ? (p(), D(w, {
2862
+ default: k(() => [
2863
+ m.value ? (p(), D(K, {
2847
2864
  key: 0,
2848
2865
  "data-testid": "config-card-loader",
2849
2866
  "table-columns": 2,
2850
2867
  type: "table"
2851
- })) : f.value ? (p(), D(R, {
2868
+ })) : f.value ? (p(), D(N, {
2852
2869
  key: 1,
2853
2870
  "data-testid": "config-card-fetch-error",
2854
2871
  "icon-variant": "error"
2855
2872
  }, {
2856
- default: C(() => [
2857
- B("h3", null, O(y.value), 1)
2873
+ default: k(() => [
2874
+ L("h3", null, F(v.value), 1)
2858
2875
  ]),
2859
2876
  _: 1
2860
2877
  })) : U("", !0),
2861
- B("div", jo, [
2878
+ L("div", jo, [
2862
2879
  M(Ko, {
2863
2880
  config: e.config,
2864
2881
  "entity-type": e.entityType,
2865
- "fetcher-url": L.value,
2882
+ "fetcher-url": E.value,
2866
2883
  format: u.value,
2867
- "prop-list-types": K.value,
2868
- "property-collections": v.value,
2869
- record: g.value
2870
- }, ke({ _: 2 }, [
2871
- oe(Object.keys(h.$slots), (q) => ({
2872
- name: q,
2873
- fn: C(({ row: J, rowValue: me }) => [
2874
- P(h.$slots, q, {
2884
+ "prop-list-types": O.value,
2885
+ "property-collections": b.value,
2886
+ record: y.value
2887
+ }, Ce({ _: 2 }, [
2888
+ oe(Object.keys(g.$slots), (V) => ({
2889
+ name: V,
2890
+ fn: k(({ row: J, rowValue: Ie }) => [
2891
+ P(g.$slots, V, {
2875
2892
  row: J,
2876
- rowValue: me
2893
+ rowValue: Ie
2877
2894
  }, void 0, !0)
2878
2895
  ])
2879
2896
  }))
@@ -2884,10 +2901,10 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2884
2901
  }, [
2885
2902
  e.hideTitle ? void 0 : {
2886
2903
  name: "title",
2887
- fn: C(() => [
2888
- B("span", No, [
2889
- P(h.$slots, "title", {}, () => [
2890
- H(O(k(i)("baseConfigCard.title")), 1)
2904
+ fn: k(() => [
2905
+ L("span", No, [
2906
+ P(g.$slots, "title", {}, () => [
2907
+ q(F(A(i)("baseConfigCard.title")), 1)
2891
2908
  ], !0)
2892
2909
  ])
2893
2910
  ]),
@@ -2899,7 +2916,7 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2899
2916
  }), Xl = /* @__PURE__ */ ie(Uo, [["__scopeId", "data-v-7ef5c755"]]), Po = ["novalidate"], qo = {
2900
2917
  class: "form-actions",
2901
2918
  "data-testid": "form-actions"
2902
- }, Ho = /* @__PURE__ */ G({
2919
+ }, Ho = /* @__PURE__ */ W({
2903
2920
  __name: "EntityBaseForm",
2904
2921
  props: {
2905
2922
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2920,7 +2937,7 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2920
2937
  entityType: {
2921
2938
  type: String,
2922
2939
  required: !0,
2923
- validator: (e) => De.includes(e)
2940
+ validator: (e) => Me.includes(e)
2924
2941
  },
2925
2942
  /**
2926
2943
  * Fetch url for the item to edit. We will handle the replacement of {controlPlaneId}, {workspace}, and {id}.
@@ -2975,20 +2992,20 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2975
2992
  },
2976
2993
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
2977
2994
  setup(e, { emit: t }) {
2978
- var L;
2979
- const n = t, r = e, i = nr(), { i18n: { t: o } } = V.useI18n(), { getMessageFromError: a } = V.useErrors(), { axiosInstance: l } = V.useAxios((L = r.config) == null ? void 0 : L.axiosRequestConfig), s = N(!1), u = E(() => !!r.editId), d = N(!1), c = N(""), m = E(() => r.canSubmit === !1 || r.isReadonly), f = N(!1), y = E(() => {
2980
- var h, A;
2981
- let I = `${r.config.apiBaseUrl}${r.fetchUrl}`;
2982
- return r.config.app === "konnect" ? I = I.replace(/{controlPlaneId}/gi, ((h = r.config) == null ? void 0 : h.controlPlaneId) || "") : r.config.app === "kongManager" && (I = I.replace(/\/{workspace}/gi, (A = r.config) != null && A.workspace ? `/${r.config.workspace}` : "")), r.editId ? (I = I.replace(/{id}/gi, r.editId), I) : (I = I.replace(/\/{id}/gi, ""), I);
2983
- }), g = () => {
2995
+ var E;
2996
+ const n = t, r = e, i = tr(), { i18n: { t: o } } = H.useI18n(), { getMessageFromError: a } = H.useErrors(), { axiosInstance: l } = H.useAxios((E = r.config) == null ? void 0 : E.axiosRequestConfig), s = B(!1), u = T(() => !!r.editId), d = B(!1), c = B(""), m = T(() => r.canSubmit === !1 || r.isReadonly), f = B(!1), v = T(() => {
2997
+ var g, h;
2998
+ let $ = `${r.config.apiBaseUrl}${r.fetchUrl}`;
2999
+ return r.config.app === "konnect" ? $ = $.replace(/{controlPlaneId}/gi, ((g = r.config) == null ? void 0 : g.controlPlaneId) || "") : r.config.app === "kongManager" && ($ = $.replace(/\/{workspace}/gi, (h = r.config) != null && h.workspace ? `/${r.config.workspace}` : "")), r.editId ? ($ = $.replace(/{id}/gi, r.editId), $) : ($ = $.replace(/\/{id}/gi, ""), $);
3000
+ }), y = () => {
2984
3001
  f.value = !f.value;
2985
- }, x = () => {
2986
- r.config.cancelRoute ? i.push(r.config.cancelRoute) : F();
2987
- }, F = () => {
3002
+ }, C = () => {
3003
+ r.config.cancelRoute ? i.push(r.config.cancelRoute) : I();
3004
+ }, I = () => {
2988
3005
  n("cancel");
2989
- }, v = () => {
3006
+ }, b = () => {
2990
3007
  m.value || n("submit");
2991
- }, K = N([
3008
+ }, O = B([
2992
3009
  {
2993
3010
  title: o("baseForm.configuration.json"),
2994
3011
  hash: "#json"
@@ -2998,121 +3015,121 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
2998
3015
  hash: "#yaml"
2999
3016
  }
3000
3017
  ]);
3001
- return r.config.app === "konnect" && r.entityType !== et.Other && K.value.splice(1, 0, {
3018
+ return r.config.app === "konnect" && r.entityType !== et.Other && O.value.splice(1, 0, {
3002
3019
  title: o("baseForm.configuration.terraform"),
3003
3020
  hash: "#terraform"
3004
- }), _e(() => s.value, (I) => {
3005
- n("loading", I);
3021
+ }), Ae(() => s.value, ($) => {
3022
+ n("loading", $);
3006
3023
  }, { immediate: !0 }), Mt(async () => {
3007
3024
  if (r.editId)
3008
3025
  try {
3009
3026
  d.value = !1, s.value = !0;
3010
- const { data: I } = await l.get(y.value);
3011
- n("fetch:success", I);
3012
- } catch (I) {
3013
- const h = a(I);
3014
- c.value = h.startsWith("code") ? o("baseForm.errors.edit") : h, d.value = !0, n("fetch:error", I);
3027
+ const { data: $ } = await l.get(v.value);
3028
+ n("fetch:success", $);
3029
+ } catch ($) {
3030
+ const g = a($);
3031
+ c.value = g.startsWith("code") ? o("baseForm.errors.edit") : g, d.value = !0, n("fetch:error", $);
3015
3032
  } finally {
3016
3033
  s.value = !1;
3017
3034
  }
3018
- }), (I, h) => {
3019
- const A = j("KSkeleton"), $ = j("KEmptyState"), S = j("KAlert"), b = j("KButton"), w = j("KTabs"), R = j("KSlideout");
3020
- return p(), D(Me(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3021
- default: C(() => [
3022
- s.value ? (p(), D(A, {
3035
+ }), ($, g) => {
3036
+ const h = j("KSkeleton"), x = j("KEmptyState"), _ = j("KAlert"), R = j("KButton"), K = j("KTabs"), N = j("KSlideout");
3037
+ return p(), D(Ne(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3038
+ default: k(() => [
3039
+ s.value ? (p(), D(h, {
3023
3040
  key: 0,
3024
3041
  type: "form"
3025
- })) : d.value ? (p(), D($, {
3042
+ })) : d.value ? (p(), D(x, {
3026
3043
  key: 1,
3027
- "action-button-text": k(o)("baseForm.actions.back"),
3044
+ "action-button-text": A(o)("baseForm.actions.back"),
3028
3045
  "data-testid": "form-fetch-error",
3029
3046
  "icon-variant": "error",
3030
- onClickAction: x
3047
+ onClickAction: C
3031
3048
  }, {
3032
- default: C(() => [
3033
- B("h3", null, O(c.value), 1)
3049
+ default: k(() => [
3050
+ L("h3", null, F(c.value), 1)
3034
3051
  ]),
3035
3052
  _: 1
3036
- }, 8, ["action-button-text"])) : (p(), T("form", {
3053
+ }, 8, ["action-button-text"])) : (p(), S("form", {
3037
3054
  key: 2,
3038
3055
  "data-testid": "form-content",
3039
3056
  novalidate: r.noValidate,
3040
- onReset: Oe(F, ["prevent"]),
3041
- onSubmit: Oe(v, ["prevent"])
3057
+ onReset: Fe(I, ["prevent"]),
3058
+ onSubmit: Fe(b, ["prevent"])
3042
3059
  }, [
3043
- P(I.$slots, "default", {}, void 0, !0),
3044
- e.errorMessage ? (p(), D(S, {
3060
+ P($.$slots, "default", {}, void 0, !0),
3061
+ e.errorMessage ? (p(), D(_, {
3045
3062
  key: 0,
3046
3063
  appearance: "danger",
3047
3064
  "data-testid": "form-error",
3048
3065
  message: e.errorMessage
3049
3066
  }, null, 8, ["message"])) : U("", !0),
3050
- B("div", qo, [
3051
- P(I.$slots, "form-actions", {}, () => [
3052
- M(b, {
3067
+ L("div", qo, [
3068
+ P($.$slots, "form-actions", {}, () => [
3069
+ M(R, {
3053
3070
  appearance: "tertiary",
3054
3071
  "data-testid": `${e.entityType}-${u.value ? "edit" : "create"}-form-view-configuration`,
3055
- onClick: h[0] || (h[0] = (W) => g())
3072
+ onClick: g[0] || (g[0] = (z) => y())
3056
3073
  }, {
3057
- default: C(() => [
3058
- H(O(k(o)("baseForm.actions.viewConfiguration")), 1)
3074
+ default: k(() => [
3075
+ q(F(A(o)("baseForm.actions.viewConfiguration")), 1)
3059
3076
  ]),
3060
3077
  _: 1
3061
3078
  }, 8, ["data-testid"]),
3062
- M(b, {
3079
+ M(R, {
3063
3080
  appearance: "secondary",
3064
3081
  "data-testid": `${e.entityType}-${u.value ? "edit" : "create"}-form-cancel`,
3065
3082
  disabled: e.isReadonly,
3066
3083
  type: "reset"
3067
3084
  }, {
3068
- default: C(() => [
3069
- H(O(k(o)("baseForm.actions.cancel")), 1)
3085
+ default: k(() => [
3086
+ q(F(A(o)("baseForm.actions.cancel")), 1)
3070
3087
  ]),
3071
3088
  _: 1
3072
3089
  }, 8, ["data-testid", "disabled"]),
3073
- M(b, {
3090
+ M(R, {
3074
3091
  appearance: "primary",
3075
3092
  "data-testid": `${e.entityType}-${u.value ? "edit" : "create"}-form-submit`,
3076
3093
  disabled: m.value,
3077
3094
  type: "submit"
3078
3095
  }, {
3079
- default: C(() => [
3080
- H(O(k(o)("baseForm.actions.save")), 1)
3096
+ default: k(() => [
3097
+ q(F(A(o)("baseForm.actions.save")), 1)
3081
3098
  ]),
3082
3099
  _: 1
3083
3100
  }, 8, ["data-testid", "disabled"])
3084
3101
  ], !0)
3085
3102
  ])
3086
3103
  ], 40, Po)),
3087
- M(R, {
3104
+ M(N, {
3088
3105
  "close-on-blur": !1,
3089
3106
  "data-testid": "form-view-configuration-slideout",
3090
3107
  "has-overlay": !1,
3091
3108
  "offset-top": 60,
3092
- title: k(o)("baseForm.configuration.title"),
3109
+ title: A(o)("baseForm.configuration.title"),
3093
3110
  visible: f.value,
3094
- onClose: h[1] || (h[1] = (W) => g())
3111
+ onClose: g[1] || (g[1] = (z) => y())
3095
3112
  }, {
3096
- default: C(() => [
3097
- B("div", null, O(k(o)("baseForm.configuration.message")), 1),
3098
- M(w, {
3113
+ default: k(() => [
3114
+ L("div", null, F(A(o)("baseForm.configuration.message")), 1),
3115
+ M(K, {
3099
3116
  "data-testid": "form-view-configuration-slideout-tabs",
3100
- tabs: K.value
3117
+ tabs: O.value
3101
3118
  }, {
3102
- json: C(() => [
3119
+ json: k(() => [
3103
3120
  M(Jt, {
3104
3121
  config: e.config,
3105
3122
  "entity-record": r.formFields,
3106
- "fetcher-url": y.value,
3123
+ "fetcher-url": v.value,
3107
3124
  "request-method": r.editId ? "put" : "post"
3108
3125
  }, null, 8, ["config", "entity-record", "fetcher-url", "request-method"])
3109
3126
  ]),
3110
- yaml: C(() => [
3127
+ yaml: k(() => [
3111
3128
  M(Nn, {
3112
3129
  "entity-record": r.formFields
3113
3130
  }, null, 8, ["entity-record"])
3114
3131
  ]),
3115
- terraform: C(() => [
3132
+ terraform: k(() => [
3116
3133
  M(Mn, {
3117
3134
  "entity-record": r.formFields,
3118
3135
  "entity-type": e.entityType
@@ -3128,7 +3145,7 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3128
3145
  });
3129
3146
  };
3130
3147
  }
3131
- }), es = /* @__PURE__ */ ie(Ho, [["__scopeId", "data-v-6210a67a"]]), Yo = ["data-truncate"], Vo = /* @__PURE__ */ G({
3148
+ }), es = /* @__PURE__ */ ie(Ho, [["__scopeId", "data-v-6210a67a"]]), Yo = ["data-truncate"], Vo = /* @__PURE__ */ W({
3132
3149
  __name: "EntityBaseTableCell",
3133
3150
  props: {
3134
3151
  keyName: {
@@ -3145,76 +3162,76 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3145
3162
  }
3146
3163
  },
3147
3164
  setup(e) {
3148
- const t = e, n = E(() => {
3149
- var x;
3150
- return ((x = t.rowEl) == null ? void 0 : x.querySelector(`[data-testid="${t.keyName}"]`)) || null;
3151
- }), r = E(() => {
3152
- var x;
3153
- return ((x = n.value) == null ? void 0 : x.querySelector('[data-truncate="true"]')) || null;
3154
- }), i = E(() => {
3155
- var F, v;
3156
- const x = (F = t.rowEl) == null ? void 0 : F.querySelectorAll("td");
3157
- return x ? ((v = x[0]) == null ? void 0 : v.getAttribute("data-testid")) === t.keyName : !0;
3158
- }), o = E(() => i.value || t.tooltip);
3165
+ const t = e, n = T(() => {
3166
+ var C;
3167
+ return ((C = t.rowEl) == null ? void 0 : C.querySelector(`[data-testid="${t.keyName}"]`)) || null;
3168
+ }), r = T(() => {
3169
+ var C;
3170
+ return ((C = n.value) == null ? void 0 : C.querySelector('[data-truncate="true"]')) || null;
3171
+ }), i = T(() => {
3172
+ var I, b;
3173
+ const C = (I = t.rowEl) == null ? void 0 : I.querySelectorAll("td");
3174
+ return C ? ((b = C[0]) == null ? void 0 : b.getAttribute("data-testid")) === t.keyName : !0;
3175
+ }), o = T(() => i.value || t.tooltip);
3159
3176
  let a;
3160
3177
  const l = () => {
3161
3178
  a && (a.disconnect(), a = void 0);
3162
3179
  }, s = () => {
3163
- var F, v, K;
3164
- let x = ((F = n.value) == null ? void 0 : F.clientWidth) || 0;
3180
+ var I, b, O;
3181
+ let C = ((I = n.value) == null ? void 0 : I.clientWidth) || 0;
3165
3182
  if (n.value && "getComputedStyle" in window) {
3166
- const L = window.getComputedStyle(n.value);
3167
- x -= (parseFloat(L.paddingLeft) || 0) + (parseFloat(L.paddingRight) || 0);
3183
+ const E = window.getComputedStyle(n.value);
3184
+ C -= (parseFloat(E.paddingLeft) || 0) + (parseFloat(E.paddingRight) || 0);
3168
3185
  }
3169
- d.value = ((v = r.value) == null ? void 0 : v.getBoundingClientRect().width) || 0, c.value = x, m.value = ((K = u.value) == null ? void 0 : K.innerText) || "";
3170
- }, u = N({}), d = N(0), c = N(0), m = N(""), f = E(() => [r.value, n.value]), y = _e(
3186
+ d.value = ((b = r.value) == null ? void 0 : b.getBoundingClientRect().width) || 0, c.value = C, m.value = ((O = u.value) == null ? void 0 : O.innerText) || "";
3187
+ }, u = B({}), d = B(0), c = B(0), m = B(""), f = T(() => [r.value, n.value]), v = Ae(
3171
3188
  f,
3172
- (x) => {
3189
+ (C) => {
3173
3190
  if (o.value && (l(), "ResizeObserver" in window && window)) {
3174
- a = new ResizeObserver((F) => {
3191
+ a = new ResizeObserver((I) => {
3175
3192
  window.requestAnimationFrame(() => {
3176
- !Array.isArray(F) || !F.length || s();
3193
+ !Array.isArray(I) || !I.length || s();
3177
3194
  });
3178
3195
  });
3179
- for (const F of x)
3180
- F && a.observe(F);
3196
+ for (const I of C)
3197
+ I && a.observe(I);
3181
3198
  }
3182
3199
  },
3183
3200
  { immediate: !0, flush: "post", deep: !0 }
3184
- ), g = E(() => o.value ? d.value > c.value : !1);
3185
- return Hn(() => {
3201
+ ), y = T(() => o.value ? d.value > c.value : !1);
3202
+ return qn(() => {
3186
3203
  s();
3187
- }), Yn(() => {
3188
- y();
3189
- }), (x, F) => {
3190
- const v = j("KTooltip");
3191
- return p(), T("span", {
3204
+ }), Hn(() => {
3205
+ v();
3206
+ }), (C, I) => {
3207
+ const b = j("KTooltip");
3208
+ return p(), S("span", {
3192
3209
  ref_key: "contentRef",
3193
3210
  ref: u,
3194
3211
  class: "content-wrapper"
3195
3212
  }, [
3196
- o.value ? (p(), T("span", {
3213
+ o.value ? (p(), S("span", {
3197
3214
  key: 0,
3198
3215
  "data-truncate": o.value || void 0
3199
3216
  }, [
3200
- M(v, {
3217
+ M(b, {
3201
3218
  "max-width": "300",
3202
3219
  placement: "bottom-start",
3203
- text: g.value ? m.value : ""
3220
+ text: y.value ? m.value : ""
3204
3221
  }, {
3205
- default: C(() => [
3206
- P(x.$slots, "default", {}, void 0, !0)
3222
+ default: k(() => [
3223
+ P(C.$slots, "default", {}, void 0, !0)
3207
3224
  ]),
3208
3225
  _: 3
3209
3226
  }, 8, ["text"])
3210
- ], 8, Yo)) : P(x.$slots, "default", { key: 1 }, void 0, !0)
3227
+ ], 8, Yo)) : P(C.$slots, "default", { key: 1 }, void 0, !0)
3211
3228
  ], 512);
3212
3229
  };
3213
3230
  }
3214
3231
  }), Wo = /* @__PURE__ */ ie(Vo, [["__scopeId", "data-v-b252463e"]]), Jo = { class: "toolbar-container" }, Go = {
3215
3232
  key: 0,
3216
3233
  class: "toolbar-button-container"
3217
- }, zo = /* @__PURE__ */ G({
3234
+ }, zo = /* @__PURE__ */ W({
3218
3235
  __name: "EntityBaseTable",
3219
3236
  props: {
3220
3237
  // table header configuration
@@ -3344,90 +3361,86 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3344
3361
  },
3345
3362
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3346
3363
  setup(e, { emit: t }) {
3347
- const n = e, r = t, { i18n: { t: i } } = V.useI18n(), o = E(() => {
3348
- var b, w;
3364
+ const n = e, r = t, { i18n: { t: i } } = H.useI18n(), o = T(() => {
3365
+ var h, x;
3349
3366
  return typeof n.errorMessage == "string" ? {
3350
3367
  hasError: !!n.errorMessage,
3351
3368
  title: n.errorMessage,
3352
3369
  message: void 0
3353
3370
  } : {
3354
3371
  hasError: !!n.errorMessage,
3355
- title: (b = n.errorMessage) == null ? void 0 : b.title,
3356
- message: (w = n.errorMessage) == null ? void 0 : w.message
3372
+ title: (h = n.errorMessage) == null ? void 0 : h.title,
3373
+ message: (x = n.errorMessage) == null ? void 0 : x.message
3357
3374
  };
3358
- }), a = E(() => n.cacheIdentifier || n.preferencesStorageKey), l = E(() => {
3359
- const b = [];
3360
- return Object.keys(n.tableHeaders).forEach((R) => {
3361
- const W = n.tableHeaders[R];
3362
- b.push({
3363
- label: W.label ?? R,
3364
- key: R,
3365
- sortable: W.sortable ?? !1,
3366
- hidable: W.hidable ?? !0
3375
+ }), a = T(() => n.cacheIdentifier || n.preferencesStorageKey), l = T(() => {
3376
+ const h = [];
3377
+ return Object.keys(n.tableHeaders).forEach((_) => {
3378
+ const R = n.tableHeaders[_];
3379
+ h.push({
3380
+ label: R.label ?? _,
3381
+ key: _,
3382
+ sortable: R.sortable ?? !1,
3383
+ hidable: R.hidable ?? !0
3367
3384
  });
3368
- }), n.enableEntityActions && b.push({
3385
+ }), n.enableEntityActions && h.push({
3369
3386
  key: "actions",
3370
3387
  hideLabel: !0
3371
- }), b;
3372
- }), s = (b) => ({
3373
- "data-rowid": b.id,
3374
- "data-testid": b.name,
3375
- ...n.rowAttributes(b)
3376
- }), u = N({}), d = (b) => {
3377
- var w;
3378
- return (w = u.value) == null ? void 0 : w.$el.querySelector(`[data-rowid="${b.id}"]`);
3379
- }, c = (b) => {
3380
- const w = {
3381
- "data-testid": b.headerKey,
3382
- ...n.cellAttributes(b)
3388
+ }), h;
3389
+ }), s = (h) => ({
3390
+ "data-rowid": h.id,
3391
+ "data-testid": h.name,
3392
+ ...n.rowAttributes(h)
3393
+ }), u = B({}), d = (h) => {
3394
+ var x;
3395
+ return (x = u.value) == null ? void 0 : x.$el.querySelector(`[data-rowid="${h.id}"]`);
3396
+ }, c = (h) => {
3397
+ const x = {
3398
+ "data-testid": h.headerKey,
3399
+ ...n.cellAttributes(h)
3383
3400
  };
3384
- return b.colIndex === 0 && (w.style = {
3401
+ return h.colIndex === 0 && (x.style = {
3385
3402
  maxWidth: "250px",
3386
3403
  overflowX: "hidden",
3387
3404
  textOverflow: "ellipsis"
3388
- }), w;
3405
+ }), x;
3389
3406
  }, m = () => {
3390
3407
  r("empty-state-cta-clicked"), f();
3391
3408
  }, f = () => {
3392
3409
  r("clear-search-input");
3393
- }, y = E(() => n.disableRowClick ? void 0 : (b, w) => {
3394
- r("click:row", w);
3395
- }), g = (b) => {
3396
- r("sort", b);
3397
- };
3398
- let x = "";
3399
- const F = N(!1), v = N(null), K = E(() => F.value ? !1 : v.value ? !v.value.hasData && !n.query : !0), L = (b) => {
3400
- b.hasData ? F.value = !0 : b.state === "success" && !b.hasData && !x && (F.value = !1), x = n.query, v.value = { ...b };
3401
- }, { setTablePreferences: I, getTablePreferences: h } = sr(), A = N(h(a.value, n.defaultTablePreferences)), $ = E(() => {
3402
- const b = h(a.value);
3410
+ }, v = T(() => n.disableRowClick ? void 0 : (h, x) => {
3411
+ r("click:row", x);
3412
+ }), y = (h) => {
3413
+ r("sort", h);
3414
+ }, { hideTableToolbar: C, handleStateChange: I } = H.useTableState(() => n.query), { setTablePreferences: b, getTablePreferences: O } = lr(), E = B(O(a.value, n.defaultTablePreferences)), $ = T(() => {
3415
+ const h = O(a.value);
3403
3416
  return {
3404
3417
  ...n.initialFetcherParams,
3405
- ...b
3418
+ ...h
3406
3419
  };
3407
- }), S = (b) => {
3408
- A.value = b, l.value.forEach((w) => {
3409
- !("hidable" in w) || !A.value.columnVisibility || w.hidable === !1 && (A.value.columnVisibility[w.key] = !0);
3410
- }), a.value && I(a.value, b);
3420
+ }), g = (h) => {
3421
+ E.value = h, l.value.forEach((x) => {
3422
+ !("hidable" in x) || !E.value.columnVisibility || x.hidable === !1 && (E.value.columnVisibility[x.key] = !0);
3423
+ }), a.value && b(a.value, h);
3411
3424
  };
3412
- return (b, w) => {
3413
- const R = j("KTableData"), W = j("KCard");
3414
- return p(), D(W, {
3425
+ return (h, x) => {
3426
+ const _ = j("KTableData"), R = j("KCard");
3427
+ return p(), D(R, {
3415
3428
  class: "kong-ui-entity-base-table",
3416
3429
  title: e.title,
3417
3430
  "title-tag": e.titleTag
3418
3431
  }, {
3419
- default: C(() => [
3420
- M(R, {
3432
+ default: k(() => [
3433
+ M(_, {
3421
3434
  ref_key: "tableRefs",
3422
3435
  ref: u,
3423
3436
  "cache-identifier": a.value,
3424
3437
  "cell-attrs": c,
3425
3438
  "client-sort": e.enableClientSort,
3426
- "empty-state-action-message": e.query ? k(i)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3439
+ "empty-state-action-message": e.query ? A(i)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3427
3440
  "empty-state-action-route": e.query ? void 0 : e.emptyStateOptions.ctaPath,
3428
3441
  "empty-state-icon-variant": e.query ? "search" : "kong",
3429
- "empty-state-message": e.query ? k(i)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3430
- "empty-state-title": e.query ? k(i)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3442
+ "empty-state-message": e.query ? A(i)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3443
+ "empty-state-title": e.query ? A(i)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3431
3444
  error: o.value.hasError,
3432
3445
  "error-state-message": o.value.message,
3433
3446
  "error-state-title": o.value.title,
@@ -3436,7 +3449,7 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3436
3449
  headers: l.value,
3437
3450
  "hide-pagination": e.hidePagination,
3438
3451
  "hide-pagination-when-optional": "",
3439
- "hide-toolbar": e.hideToolbar ?? K.value,
3452
+ "hide-toolbar": e.hideToolbar ?? A(C),
3440
3453
  "initial-fetcher-params": $.value,
3441
3454
  loading: e.isLoading,
3442
3455
  "pagination-attributes": { disablePageJump: e.disablePaginationPageJump, offset: e.paginationType === "offset" },
@@ -3446,41 +3459,41 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3446
3459
  "search-input": e.query,
3447
3460
  "sort-handler-function": e.enableClientSort ? e.sortHandlerFunction : void 0,
3448
3461
  sortable: !e.disableSorting,
3449
- "table-preferences": A.value,
3462
+ "table-preferences": E.value,
3450
3463
  onEmptyStateActionClick: m,
3451
- "onRow:click": y.value,
3452
- onSort: w[0] || (w[0] = (q) => g(q)),
3453
- onState: L,
3454
- "onUpdate:tablePreferences": S
3455
- }, ke({
3456
- toolbar: C(() => [
3457
- B("div", Jo, [
3458
- P(b.$slots, "toolbar-filter", {}, void 0, !0),
3459
- b.$slots["toolbar-button"] ? (p(), T("div", Go, [
3460
- P(b.$slots, "toolbar-button", {}, void 0, !0)
3464
+ "onRow:click": v.value,
3465
+ onSort: x[0] || (x[0] = (K) => y(K)),
3466
+ onState: A(I),
3467
+ "onUpdate:tablePreferences": g
3468
+ }, Ce({
3469
+ toolbar: k(() => [
3470
+ L("div", Jo, [
3471
+ P(h.$slots, "toolbar-filter", {}, void 0, !0),
3472
+ h.$slots["toolbar-button"] ? (p(), S("div", Go, [
3473
+ P(h.$slots, "toolbar-button", {}, void 0, !0)
3461
3474
  ])) : U("", !0)
3462
3475
  ])
3463
3476
  ]),
3464
- "action-items": C(({ row: q }) => [
3465
- P(b.$slots, "actions", { row: q }, void 0, !0)
3477
+ "action-items": k(({ row: K }) => [
3478
+ P(h.$slots, "actions", { row: K }, void 0, !0)
3466
3479
  ]),
3467
3480
  _: 2
3468
3481
  }, [
3469
- oe(e.tableHeaders, (q, J) => ({
3470
- name: J,
3471
- fn: C(({ row: me, rowKey: Ee, rowValue: st }) => [
3482
+ oe(e.tableHeaders, (K, N) => ({
3483
+ name: N,
3484
+ fn: k(({ row: z, rowKey: V, rowValue: J }) => [
3472
3485
  M(Wo, {
3473
- "key-name": String(J),
3474
- "row-el": d(me),
3475
- tooltip: q.tooltip
3486
+ "key-name": String(N),
3487
+ "row-el": d(z),
3488
+ tooltip: K.tooltip
3476
3489
  }, {
3477
- default: C(() => [
3478
- P(b.$slots, J, {
3479
- row: me,
3480
- rowKey: Ee,
3481
- rowValue: st
3490
+ default: k(() => [
3491
+ P(h.$slots, N, {
3492
+ row: z,
3493
+ rowKey: V,
3494
+ rowValue: J
3482
3495
  }, () => [
3483
- H(O(st), 1)
3496
+ q(F(J), 1)
3484
3497
  ], !0)
3485
3498
  ]),
3486
3499
  _: 2
@@ -3489,24 +3502,24 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3489
3502
  })),
3490
3503
  e.query ? void 0 : {
3491
3504
  name: "empty-state-action-icon",
3492
- fn: C(() => [
3493
- M(k(jt))
3505
+ fn: k(() => [
3506
+ M(A(jt))
3494
3507
  ]),
3495
3508
  key: "0"
3496
3509
  }
3497
- ]), 1032, ["cache-identifier", "client-sort", "empty-state-action-message", "empty-state-action-route", "empty-state-icon-variant", "empty-state-message", "empty-state-title", "error", "error-state-message", "error-state-title", "fetcher", "fetcher-cache-key", "headers", "hide-pagination", "hide-toolbar", "initial-fetcher-params", "loading", "pagination-attributes", "row-key", "search-input", "sort-handler-function", "sortable", "table-preferences", "onRow:click"])
3510
+ ]), 1032, ["cache-identifier", "client-sort", "empty-state-action-message", "empty-state-action-route", "empty-state-icon-variant", "empty-state-message", "empty-state-title", "error", "error-state-message", "error-state-title", "fetcher", "fetcher-cache-key", "headers", "hide-pagination", "hide-toolbar", "initial-fetcher-params", "loading", "pagination-attributes", "row-key", "search-input", "sort-handler-function", "sortable", "table-preferences", "onRow:click", "onState"])
3498
3511
  ]),
3499
3512
  _: 3
3500
3513
  }, 8, ["title", "title-tag"]);
3501
3514
  };
3502
3515
  }
3503
- }), ts = /* @__PURE__ */ ie(zo, [["__scopeId", "data-v-6f28b73b"]]), Qo = {
3516
+ }), ts = /* @__PURE__ */ ie(zo, [["__scopeId", "data-v-0998625e"]]), Qo = {
3504
3517
  key: 0,
3505
3518
  class: "kong-ui-entity-delete-error"
3506
3519
  }, Zo = {
3507
3520
  key: 1,
3508
3521
  class: "description"
3509
- }, Xo = /* @__PURE__ */ G({
3522
+ }, Xo = /* @__PURE__ */ W({
3510
3523
  __name: "EntityDeleteModal",
3511
3524
  props: {
3512
3525
  visible: {
@@ -3545,7 +3558,7 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3545
3558
  },
3546
3559
  emits: ["cancel", "proceed"],
3547
3560
  setup(e, { emit: t }) {
3548
- const { i18nT: n } = V.useI18n(), r = e, i = t, o = E(() => r.needConfirm ? r.entityName : ""), a = () => {
3561
+ const { i18nT: n } = H.useI18n(), r = e, i = t, o = T(() => r.needConfirm ? r.entityName : ""), a = () => {
3549
3562
  i("cancel");
3550
3563
  }, l = () => {
3551
3564
  i("proceed");
@@ -3563,36 +3576,36 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3563
3576
  onCancel: a,
3564
3577
  onProceed: l
3565
3578
  }, {
3566
- default: C(() => [
3567
- e.error ? (p(), T("div", Qo, [
3579
+ default: k(() => [
3580
+ e.error ? (p(), S("div", Qo, [
3568
3581
  M(d, { appearance: "danger" }, {
3569
- default: C(() => [
3570
- H(O(e.error), 1)
3582
+ default: k(() => [
3583
+ q(F(e.error), 1)
3571
3584
  ]),
3572
3585
  _: 1
3573
3586
  })
3574
3587
  ])) : U("", !0),
3575
- M(k(n), {
3588
+ M(A(n), {
3576
3589
  class: "message",
3577
3590
  keypath: r.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3578
3591
  tag: "p"
3579
- }, ke({
3580
- entityType: C(() => [
3581
- H(O(r.entityType), 1)
3592
+ }, Ce({
3593
+ entityType: k(() => [
3594
+ q(F(r.entityType), 1)
3582
3595
  ]),
3583
3596
  _: 2
3584
3597
  }, [
3585
3598
  r.entityName ? {
3586
3599
  name: "entityName",
3587
- fn: C(() => [
3588
- B("strong", null, O(r.entityName), 1)
3600
+ fn: k(() => [
3601
+ L("strong", null, F(r.entityName), 1)
3589
3602
  ]),
3590
3603
  key: "0"
3591
3604
  } : void 0
3592
3605
  ]), 1032, ["keypath"]),
3593
- r.description || s.$slots.description ? (p(), T("div", Zo, [
3606
+ r.description || s.$slots.description ? (p(), S("div", Zo, [
3594
3607
  P(s.$slots, "description", {}, () => [
3595
- B("p", null, O(r.description), 1)
3608
+ L("p", null, F(r.description), 1)
3596
3609
  ], !0)
3597
3610
  ])) : U("", !0)
3598
3611
  ]),
@@ -3614,7 +3627,7 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3614
3627
  width: "20",
3615
3628
  x: "0",
3616
3629
  y: "0"
3617
- }, nl = ["fill"], rl = { mask: "url(#mask0_180_20349)" }, il = ["fill"], Lt = /* @__PURE__ */ G({
3630
+ }, nl = ["fill"], rl = { mask: "url(#mask0_180_20349)" }, il = ["fill"], Lt = /* @__PURE__ */ W({
3618
3631
  __name: "IconFilter",
3619
3632
  props: {
3620
3633
  color: {
@@ -3623,16 +3636,16 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3623
3636
  }
3624
3637
  },
3625
3638
  setup(e) {
3626
- return (t, n) => (p(), T("svg", el, [
3627
- B("mask", tl, [
3628
- B("rect", {
3639
+ return (t, n) => (p(), S("svg", el, [
3640
+ L("mask", tl, [
3641
+ L("rect", {
3629
3642
  fill: e.color,
3630
3643
  height: "20",
3631
3644
  width: "20"
3632
3645
  }, null, 8, nl)
3633
3646
  ]),
3634
- B("g", rl, [
3635
- B("path", {
3647
+ L("g", rl, [
3648
+ L("path", {
3636
3649
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3637
3650
  fill: e.color
3638
3651
  }, null, 8, il)
@@ -3642,7 +3655,7 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3642
3655
  }), al = {
3643
3656
  key: 1,
3644
3657
  class: "kong-ui-entity-filter"
3645
- }, ol = { class: "kong-ui-entity-filter-menu" }, ll = ["data-testid"], sl = ["onClick", "onKeydown"], cl = { class: "menu-item-indicator" }, ul = { class: "menu-item-body" }, dl = ["for"], fl = { class: "menu-item-buttons" }, pl = { class: "filter-clear-button-container" }, ml = /* @__PURE__ */ G({
3658
+ }, ol = { class: "kong-ui-entity-filter-menu" }, ll = ["data-testid"], sl = ["onClick", "onKeydown"], cl = { class: "menu-item-indicator" }, ul = { class: "menu-item-body" }, dl = ["for"], fl = { class: "menu-item-buttons" }, pl = { class: "filter-clear-button-container" }, ml = /* @__PURE__ */ W({
3646
3659
  __name: "EntityFilter",
3647
3660
  props: {
3648
3661
  // filter config, either exact match or fuzzy match
@@ -3662,58 +3675,58 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3662
3675
  },
3663
3676
  emits: ["update:modelValue"],
3664
3677
  setup(e, { emit: t }) {
3665
- const { i18n: { t: n } } = V.useI18n(), r = e, i = t, o = N(!1), a = N({}), l = N(/* @__PURE__ */ new Set()), s = E(() => {
3666
- const L = [];
3667
- return new URLSearchParams(r.modelValue).forEach((I, h) => {
3668
- I !== "" && L.push(h);
3669
- }), L;
3670
- }), u = E(() => {
3671
- const L = r.config.fields;
3672
- return Object.keys(L).filter((I) => {
3673
- var h;
3674
- return (h = L == null ? void 0 : L[I]) == null ? void 0 : h.searchable;
3675
- }).map((I) => ({
3676
- label: L[I].label || I,
3677
- value: I,
3678
+ const { i18n: { t: n } } = H.useI18n(), r = e, i = t, o = B(!1), a = B({}), l = B(/* @__PURE__ */ new Set()), s = T(() => {
3679
+ const E = [];
3680
+ return new URLSearchParams(r.modelValue).forEach(($, g) => {
3681
+ $ !== "" && E.push(g);
3682
+ }), E;
3683
+ }), u = T(() => {
3684
+ const E = r.config.fields;
3685
+ return Object.keys(E).filter(($) => {
3686
+ var g;
3687
+ return (g = E == null ? void 0 : E[$]) == null ? void 0 : g.searchable;
3688
+ }).map(($) => ({
3689
+ label: E[$].label || $,
3690
+ value: $,
3678
3691
  expanded: !1
3679
3692
  }));
3680
3693
  });
3681
- _e(() => r.modelValue, (L) => {
3682
- a.value = {}, new URLSearchParams(L).forEach((I, h) => {
3683
- a.value[h] = I;
3694
+ Ae(() => r.modelValue, (E) => {
3695
+ a.value = {}, new URLSearchParams(E).forEach(($, g) => {
3696
+ a.value[g] = $;
3684
3697
  });
3685
3698
  });
3686
3699
  const d = () => {
3687
3700
  o.value = !o.value;
3688
- }, c = (L) => {
3689
- l.value.has(L) ? l.value.delete(L) : l.value.add(L);
3690
- }, m = (L) => {
3691
- i("update:modelValue", L);
3701
+ }, c = (E) => {
3702
+ l.value.has(E) ? l.value.delete(E) : l.value.add(E);
3703
+ }, m = (E) => {
3704
+ i("update:modelValue", E);
3692
3705
  }, f = () => {
3693
3706
  m("");
3694
- }, y = (L) => `filter-${L}`, g = (L) => {
3695
- var I, h;
3696
- return (((h = (I = r.config.schema) == null ? void 0 : I[L]) == null ? void 0 : h.values) ?? []).map((A) => ({
3697
- value: A,
3698
- label: A
3707
+ }, v = (E) => `filter-${E}`, y = (E) => {
3708
+ var $, g;
3709
+ return (((g = ($ = r.config.schema) == null ? void 0 : $[E]) == null ? void 0 : g.values) ?? []).map((h) => ({
3710
+ value: h,
3711
+ label: h
3699
3712
  }));
3700
- }, x = (L) => {
3701
- var I, h;
3702
- return ((h = (I = r.config.schema) == null ? void 0 : I[L]) == null ? void 0 : h.type) ?? "text";
3703
- }, F = (L) => {
3713
+ }, C = (E) => {
3714
+ var $, g;
3715
+ return ((g = ($ = r.config.schema) == null ? void 0 : $[E]) == null ? void 0 : g.type) ?? "text";
3716
+ }, I = (E) => {
3704
3717
  a.value = {
3705
3718
  ...a.value,
3706
- [L]: ""
3707
- }, K();
3708
- }, v = () => {
3709
- a.value = {}, K(!0);
3710
- }, K = (L = !1) => {
3711
- const I = Object.keys(a.value).reduce((h, A) => (a.value[A] && (h[A] = `${a.value[A]}`), h), {});
3712
- L && (o.value = !1), i("update:modelValue", new URLSearchParams(I).toString());
3719
+ [E]: ""
3720
+ }, O();
3721
+ }, b = () => {
3722
+ a.value = {}, O(!0);
3723
+ }, O = (E = !1) => {
3724
+ const $ = Object.keys(a.value).reduce((g, h) => (a.value[h] && (g[h] = `${a.value[h]}`), g), {});
3725
+ E && (o.value = !1), i("update:modelValue", new URLSearchParams($).toString());
3713
3726
  };
3714
- return (L, I) => {
3715
- const h = j("KInput"), A = j("KButton"), $ = j("KSelect");
3716
- return e.config.isExactMatch ? (p(), D(h, {
3727
+ return (E, $) => {
3728
+ const g = j("KInput"), h = j("KButton"), x = j("KSelect");
3729
+ return e.config.isExactMatch ? (p(), D(g, {
3717
3730
  key: 0,
3718
3731
  autocomplete: "off",
3719
3732
  class: "kong-ui-entity-filter-input",
@@ -3722,133 +3735,133 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3722
3735
  placeholder: e.config.placeholder,
3723
3736
  "onUpdate:modelValue": m
3724
3737
  }, {
3725
- before: C(() => [
3738
+ before: k(() => [
3726
3739
  M(Lt)
3727
3740
  ]),
3728
- after: C(() => [
3729
- ge(M(k(Xn), {
3741
+ after: k(() => [
3742
+ he(M(A(Zn), {
3730
3743
  class: "kong-ui-entity-filter-clear",
3731
3744
  role: "button",
3732
3745
  tabindex: "0",
3733
3746
  onClick: f
3734
3747
  }, null, 512), [
3735
- [ye, e.modelValue !== ""]
3748
+ [ge, e.modelValue !== ""]
3736
3749
  ])
3737
3750
  ]),
3738
3751
  _: 1
3739
- }, 8, ["model-value", "placeholder"])) : (p(), T("div", al, [
3740
- M(A, {
3752
+ }, 8, ["model-value", "placeholder"])) : (p(), S("div", al, [
3753
+ M(h, {
3741
3754
  appearance: "tertiary",
3742
3755
  "data-testid": "filter-button",
3743
3756
  onClick: d
3744
3757
  }, {
3745
- default: C(() => [
3758
+ default: k(() => [
3746
3759
  M(Lt),
3747
- H(" " + O(k(n)("filter.filterButtonText")) + " " + O(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
3760
+ q(" " + F(A(n)("filter.filterButtonText")) + " " + F(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
3748
3761
  ]),
3749
3762
  _: 1
3750
3763
  }),
3751
- ge(B("div", {
3764
+ he(L("div", {
3752
3765
  class: "kong-ui-entity-filter-backdrop",
3753
3766
  onClick: d
3754
3767
  }, null, 512), [
3755
- [ye, o.value]
3768
+ [ge, o.value]
3756
3769
  ]),
3757
- ge(B("div", ol, [
3758
- (p(!0), T(le, null, oe(u.value, (S) => {
3759
- var b, w;
3760
- return p(), T("div", {
3761
- key: S.value,
3770
+ he(L("div", ol, [
3771
+ (p(!0), S(le, null, oe(u.value, (_) => {
3772
+ var R, K;
3773
+ return p(), S("div", {
3774
+ key: _.value,
3762
3775
  class: "kong-ui-entity-filter-menu-item",
3763
- "data-testid": S.value
3776
+ "data-testid": _.value
3764
3777
  }, [
3765
- B("span", {
3766
- class: fe(["menu-item-title", { expanded: l.value.has(S.value) }]),
3778
+ L("span", {
3779
+ class: fe(["menu-item-title", { expanded: l.value.has(_.value) }]),
3767
3780
  role: "button",
3768
3781
  tabindex: "0",
3769
- onClick: (R) => c(S.value),
3770
- onKeydown: Vn((R) => c(S.value), ["enter"])
3782
+ onClick: (N) => c(_.value),
3783
+ onKeydown: Yn((N) => c(_.value), ["enter"])
3771
3784
  }, [
3772
- H(O(S.label) + " ", 1),
3773
- ge(B("span", cl, null, 512), [
3774
- [ye, s.value.includes(S.value)]
3785
+ q(F(_.label) + " ", 1),
3786
+ he(L("span", cl, null, 512), [
3787
+ [ge, s.value.includes(_.value)]
3775
3788
  ]),
3776
- M(k(er), {
3777
- class: fe(["menu-item-expand-icon", { expanded: l.value.has(S.value) }]),
3778
- color: k(Hr)
3789
+ M(A(Xn), {
3790
+ class: fe(["menu-item-expand-icon", { expanded: l.value.has(_.value) }]),
3791
+ color: A(Hr)
3779
3792
  }, null, 8, ["class", "color"])
3780
3793
  ], 42, sl),
3781
- ge(B("div", ul, [
3782
- B("label", {
3794
+ he(L("div", ul, [
3795
+ L("label", {
3783
3796
  class: "menu-item-label",
3784
- for: y(S.value)
3785
- }, O(k(n)("filter.fieldLabel")), 9, dl),
3786
- ((w = (b = e.config.schema) == null ? void 0 : b[S.value]) == null ? void 0 : w.type) === "select" ? (p(), D($, {
3797
+ for: v(_.value)
3798
+ }, F(A(n)("filter.fieldLabel")), 9, dl),
3799
+ ((K = (R = e.config.schema) == null ? void 0 : R[_.value]) == null ? void 0 : K.type) === "select" ? (p(), D(x, {
3787
3800
  key: 0,
3788
- id: y(S.value),
3789
- modelValue: a.value[S.value],
3790
- "onUpdate:modelValue": (R) => a.value[S.value] = R,
3791
- items: g(S.value),
3792
- placeholder: k(n)("filter.selectPlaceholder")
3793
- }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (p(), D(h, {
3801
+ id: v(_.value),
3802
+ modelValue: a.value[_.value],
3803
+ "onUpdate:modelValue": (N) => a.value[_.value] = N,
3804
+ items: y(_.value),
3805
+ placeholder: A(n)("filter.selectPlaceholder")
3806
+ }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (p(), D(g, {
3794
3807
  key: 1,
3795
- id: y(S.value),
3796
- modelValue: a.value[S.value],
3797
- "onUpdate:modelValue": (R) => a.value[S.value] = R,
3808
+ id: v(_.value),
3809
+ modelValue: a.value[_.value],
3810
+ "onUpdate:modelValue": (N) => a.value[_.value] = N,
3798
3811
  autocomplete: "off",
3799
- placeholder: k(n)("filter.inputPlaceholder"),
3800
- type: x(S.value)
3812
+ placeholder: A(n)("filter.inputPlaceholder"),
3813
+ type: C(_.value)
3801
3814
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
3802
3815
  ], 512), [
3803
- [ye, l.value.has(S.value)]
3816
+ [ge, l.value.has(_.value)]
3804
3817
  ]),
3805
- ge(B("div", fl, [
3806
- M(A, {
3818
+ he(L("div", fl, [
3819
+ M(h, {
3807
3820
  appearance: "tertiary",
3808
3821
  "data-testid": "apply-filter",
3809
3822
  size: "small",
3810
- onClick: I[0] || (I[0] = (R) => K(!0))
3823
+ onClick: $[0] || ($[0] = (N) => O(!0))
3811
3824
  }, {
3812
- default: C(() => [
3813
- H(O(k(n)("filter.applyButtonText")), 1)
3825
+ default: k(() => [
3826
+ q(F(A(n)("filter.applyButtonText")), 1)
3814
3827
  ]),
3815
3828
  _: 1
3816
3829
  }),
3817
- M(A, {
3830
+ M(h, {
3818
3831
  appearance: "tertiary",
3819
3832
  "data-testid": "clear-filter",
3820
3833
  size: "small",
3821
- onClick: (R) => F(S.value)
3834
+ onClick: (N) => I(_.value)
3822
3835
  }, {
3823
- default: C(() => [
3824
- H(O(k(n)("filter.clearButtonText")), 1)
3836
+ default: k(() => [
3837
+ q(F(A(n)("filter.clearButtonText")), 1)
3825
3838
  ]),
3826
3839
  _: 2
3827
3840
  }, 1032, ["onClick"])
3828
3841
  ], 512), [
3829
- [ye, l.value.has(S.value)]
3842
+ [ge, l.value.has(_.value)]
3830
3843
  ])
3831
3844
  ], 8, ll);
3832
3845
  }), 128)),
3833
- B("div", pl, [
3834
- M(A, {
3846
+ L("div", pl, [
3847
+ M(h, {
3835
3848
  appearance: "tertiary",
3836
3849
  size: "small",
3837
- onClick: v
3850
+ onClick: b
3838
3851
  }, {
3839
- default: C(() => [
3840
- H(O(k(n)("filter.clearAllButtonText")), 1)
3852
+ default: k(() => [
3853
+ q(F(A(n)("filter.clearAllButtonText")), 1)
3841
3854
  ]),
3842
3855
  _: 1
3843
3856
  })
3844
3857
  ])
3845
3858
  ], 512), [
3846
- [ye, o.value]
3859
+ [ge, o.value]
3847
3860
  ])
3848
3861
  ]));
3849
3862
  };
3850
3863
  }
3851
- }), rs = /* @__PURE__ */ ie(ml, [["__scopeId", "data-v-10fa27a5"]]), is = /* @__PURE__ */ G({
3864
+ }), rs = /* @__PURE__ */ ie(ml, [["__scopeId", "data-v-10fa27a5"]]), is = /* @__PURE__ */ W({
3852
3865
  __name: "EntityToggleModal",
3853
3866
  props: {
3854
3867
  visible: {
@@ -3880,9 +3893,9 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3880
3893
  },
3881
3894
  emits: ["cancel", "proceed"],
3882
3895
  setup(e, { emit: t }) {
3883
- const { i18n: { t: n }, i18nT: r } = V.useI18n(), i = e, o = t, a = N(!1), l = E(
3896
+ const { i18n: { t: n }, i18nT: r } = H.useI18n(), i = e, o = t, a = B(!1), l = T(
3884
3897
  () => i.action === "enable" ? n("toggleModal.enable.title", { entityType: i.entityType }) : n("toggleModal.disable.title", { entityType: i.entityType })
3885
- ), s = E(
3898
+ ), s = T(
3886
3899
  () => i.action === "enable" ? n("toggleModal.enable.confirmText") : n("toggleModal.disable.confirmText")
3887
3900
  ), u = () => o("cancel"), d = async () => {
3888
3901
  if (i.onConfirm) {
@@ -3898,7 +3911,7 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3898
3911
  };
3899
3912
  return (c, m) => {
3900
3913
  const f = j("KPrompt");
3901
- return p(), D(Wn, { to: "body" }, [
3914
+ return p(), D(Vn, { to: "body" }, [
3902
3915
  M(f, {
3903
3916
  "action-button-disabled": a.value,
3904
3917
  "action-button-text": s.value,
@@ -3908,16 +3921,16 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3908
3921
  onCancel: u,
3909
3922
  onProceed: d
3910
3923
  }, {
3911
- default: C(() => [
3912
- M(k(r), {
3924
+ default: k(() => [
3925
+ M(A(r), {
3913
3926
  keypath: `toggleModal.${i.action}.message`,
3914
3927
  scope: "global"
3915
3928
  }, {
3916
- entityType: C(() => [
3917
- H(O(e.entityType), 1)
3929
+ entityType: k(() => [
3930
+ q(F(e.entityType), 1)
3918
3931
  ]),
3919
- entityName: C(() => [
3920
- B("strong", null, O(e.entityName), 1)
3932
+ entityName: k(() => [
3933
+ L("strong", null, F(e.entityName), 1)
3921
3934
  ]),
3922
3935
  _: 1
3923
3936
  }, 8, ["keypath"])
@@ -3927,7 +3940,7 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3927
3940
  ]);
3928
3941
  };
3929
3942
  }
3930
- }), as = /* @__PURE__ */ G({
3943
+ }), as = /* @__PURE__ */ W({
3931
3944
  __name: "PermissionsWrapper",
3932
3945
  props: {
3933
3946
  /**
@@ -3949,8 +3962,8 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3949
3962
  }
3950
3963
  },
3951
3964
  setup(e) {
3952
- const t = e, n = N(void 0), r = E(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
3953
- return _e(() => t.authFunction, async () => {
3965
+ const t = e, n = B(void 0), r = T(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
3966
+ return Ae(() => t.authFunction, async () => {
3954
3967
  n.value = await t.authFunction();
3955
3968
  }, { immediate: !0 }), (i, o) => r.value ? P(i.$slots, "default", {
3956
3969
  key: 0,
@@ -3959,16 +3972,16 @@ const Eo = { class: "yaml-config" }, Nn = /* @__PURE__ */ G({
3959
3972
  }
3960
3973
  });
3961
3974
  var Z = [];
3962
- for (var Ve = 0; Ve < 256; ++Ve)
3963
- Z.push((Ve + 256).toString(16).slice(1));
3975
+ for (var Ye = 0; Ye < 256; ++Ye)
3976
+ Z.push((Ye + 256).toString(16).slice(1));
3964
3977
  function hl(e, t = 0) {
3965
3978
  return (Z[e[t + 0]] + Z[e[t + 1]] + Z[e[t + 2]] + Z[e[t + 3]] + "-" + Z[e[t + 4]] + Z[e[t + 5]] + "-" + Z[e[t + 6]] + Z[e[t + 7]] + "-" + Z[e[t + 8]] + Z[e[t + 9]] + "-" + Z[e[t + 10]] + Z[e[t + 11]] + Z[e[t + 12]] + Z[e[t + 13]] + Z[e[t + 14]] + Z[e[t + 15]]).toLowerCase();
3966
3979
  }
3967
- var Fe, gl = new Uint8Array(16);
3980
+ var Ee, gl = new Uint8Array(16);
3968
3981
  function yl() {
3969
- if (!Fe && (Fe = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Fe))
3982
+ if (!Ee && (Ee = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Ee))
3970
3983
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
3971
- return Fe(gl);
3984
+ return Ee(gl);
3972
3985
  }
3973
3986
  var vl = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
3974
3987
  const Rt = {
@@ -3987,7 +4000,7 @@ const xl = ["aria-labelledby"], Cl = { class: "form-section-wrapper" }, kl = {
3987
4000
  }, Al = {
3988
4001
  key: 2,
3989
4002
  class: "form-section-footer"
3990
- }, _l = { class: "form-section-content" }, wl = /* @__PURE__ */ G({
4003
+ }, _l = { class: "form-section-content" }, wl = /* @__PURE__ */ W({
3991
4004
  __name: "EntityFormSection",
3992
4005
  props: {
3993
4006
  title: {
@@ -4017,36 +4030,36 @@ const xl = ["aria-labelledby"], Cl = { class: "form-section-wrapper" }, kl = {
4017
4030
  },
4018
4031
  setup(e) {
4019
4032
  const t = Xe(), n = bl();
4020
- return (r, i) => (p(), T("div", {
4021
- "aria-labelledby": e.title ? k(n) : void 0,
4033
+ return (r, i) => (p(), S("div", {
4034
+ "aria-labelledby": e.title ? A(n) : void 0,
4022
4035
  class: fe(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4023
4036
  role: "group"
4024
4037
  }, [
4025
- B("div", Cl, [
4026
- e.hideInfoHeader ? U("", !0) : (p(), T("div", {
4038
+ L("div", Cl, [
4039
+ e.hideInfoHeader ? U("", !0) : (p(), S("div", {
4027
4040
  key: 0,
4028
4041
  class: fe(["form-section-info", { sticky: e.stickyInfoHeader }])
4029
4042
  }, [
4030
- e.title ? (p(), D(Me(e.titleTag), {
4043
+ e.title ? (p(), D(Ne(e.titleTag), {
4031
4044
  key: 0,
4032
- id: k(n),
4045
+ id: A(n),
4033
4046
  class: "form-section-title"
4034
4047
  }, {
4035
- default: C(() => [
4036
- H(O(e.title), 1)
4048
+ default: k(() => [
4049
+ q(F(e.title), 1)
4037
4050
  ]),
4038
4051
  _: 1
4039
4052
  }, 8, ["id"])) : U("", !0),
4040
- e.description || k(t).description ? (p(), T("div", kl, [
4053
+ e.description || A(t).description ? (p(), S("div", kl, [
4041
4054
  P(r.$slots, "description", {}, () => [
4042
- B("p", null, O(e.description), 1)
4055
+ L("p", null, F(e.description), 1)
4043
4056
  ], !0)
4044
4057
  ])) : U("", !0),
4045
- k(t).footer ? (p(), T("div", Al, [
4058
+ A(t).footer ? (p(), S("div", Al, [
4046
4059
  P(r.$slots, "footer", {}, void 0, !0)
4047
4060
  ])) : U("", !0)
4048
4061
  ], 2)),
4049
- B("div", _l, [
4062
+ L("div", _l, [
4050
4063
  P(r.$slots, "default", {}, void 0, !0)
4051
4064
  ])
4052
4065
  ])
@@ -4058,7 +4071,7 @@ const xl = ["aria-labelledby"], Cl = { class: "form-section-wrapper" }, kl = {
4058
4071
  }, $l = {
4059
4072
  key: 0,
4060
4073
  class: "deleted-entity"
4061
- }, Tl = { key: 1 }, Il = ["onClick"], El = /* @__PURE__ */ G({
4074
+ }, Tl = { key: 1 }, Il = ["onClick"], El = /* @__PURE__ */ W({
4062
4075
  __name: "EntityLink",
4063
4076
  props: {
4064
4077
  entityLinkData: {
@@ -4082,10 +4095,10 @@ const xl = ["aria-labelledby"], Cl = { class: "form-section-wrapper" }, kl = {
4082
4095
  }
4083
4096
  },
4084
4097
  setup(e) {
4085
- const t = e, n = N(), { isTruncated: r } = V.useTruncationDetector(n), { i18n: { t: i } } = V.useI18n(), o = i("global.actions.copyId"), a = N(o), l = E(() => t.entityLinkData.deleted ?? !1), s = E(() => {
4098
+ const t = e, n = B(), { isTruncated: r } = H.useTruncationDetector(n), { i18n: { t: i } } = H.useI18n(), o = i("global.actions.copyId"), a = B(o), l = T(() => t.entityLinkData.deleted ?? !1), s = T(() => {
4086
4099
  var c;
4087
4100
  return (c = t.entityLinkData.id) != null && c.toString().includes(":") ? t.entityLinkData.id.toString().split(":")[1] : t.entityLinkData.id;
4088
- }), u = E(() => {
4101
+ }), u = T(() => {
4089
4102
  var c;
4090
4103
  return `${(c = s.value) == null ? void 0 : c.toString().slice(0, 5)} (deleted)`;
4091
4104
  }), d = async (c) => {
@@ -4094,31 +4107,31 @@ const xl = ["aria-labelledby"], Cl = { class: "form-section-wrapper" }, kl = {
4094
4107
  }, 1800));
4095
4108
  };
4096
4109
  return (c, m) => {
4097
- const f = j("KTooltip"), y = j("KExternalLink"), g = j("KClipboardProvider");
4098
- return p(), T("div", Sl, [
4099
- l.value ? (p(), T("div", $l, O(u.value), 1)) : s.value ? s.value ? (p(), D(y, {
4110
+ const f = j("KTooltip"), v = j("KExternalLink"), y = j("KClipboardProvider");
4111
+ return p(), S("div", Sl, [
4112
+ l.value ? (p(), S("div", $l, F(u.value), 1)) : s.value ? s.value ? (p(), D(v, {
4100
4113
  key: 2,
4101
4114
  class: "entity-link",
4102
4115
  "hide-icon": !e.newWindow,
4103
4116
  href: e.externalLink,
4104
4117
  target: e.newWindow ? "_blank" : "_self"
4105
4118
  }, {
4106
- default: C(() => [
4119
+ default: k(() => [
4107
4120
  M(f, {
4108
- text: k(r) && e.entityLinkData.label || ""
4121
+ text: A(r) && e.entityLinkData.label || ""
4109
4122
  }, {
4110
- default: C(() => [
4111
- B("span", {
4123
+ default: k(() => [
4124
+ L("span", {
4112
4125
  ref_key: "textContent",
4113
4126
  ref: n,
4114
4127
  class: "entity-link-label"
4115
- }, O(e.entityLinkData.label), 513)
4128
+ }, F(e.entityLinkData.label), 513)
4116
4129
  ]),
4117
4130
  _: 1
4118
4131
  }, 8, ["text"])
4119
4132
  ]),
4120
4133
  _: 1
4121
- }, 8, ["hide-icon", "href", "target"])) : U("", !0) : (p(), T("div", Tl, O(" – "))),
4134
+ }, 8, ["hide-icon", "href", "target"])) : U("", !0) : (p(), S("div", Tl, F(" – "))),
4122
4135
  s.value && e.allowCopy ? (p(), D(f, {
4123
4136
  key: a.value,
4124
4137
  class: "copy-uuid-tooltip",
@@ -4126,18 +4139,18 @@ const xl = ["aria-labelledby"], Cl = { class: "form-section-wrapper" }, kl = {
4126
4139
  placement: "bottom-end",
4127
4140
  text: a.value
4128
4141
  }, {
4129
- default: C(() => [
4130
- M(g, null, {
4131
- default: C(({ copyToClipboard: x }) => [
4132
- B("span", {
4142
+ default: k(() => [
4143
+ M(y, null, {
4144
+ default: k(({ copyToClipboard: C }) => [
4145
+ L("span", {
4133
4146
  class: "entity-link-copy-id",
4134
- onClick: Oe((F) => d(x), ["stop"])
4147
+ onClick: Fe((I) => d(C), ["stop"])
4135
4148
  }, [
4136
- M(k(tr), {
4149
+ M(A(er), {
4137
4150
  class: "copy-icon",
4138
- color: k(Yr),
4151
+ color: A(Yr),
4139
4152
  "data-testid": "copy-id",
4140
- size: k(Wr)
4153
+ size: A(Wr)
4141
4154
  }, null, 8, ["color", "size"])
4142
4155
  ], 8, Il)
4143
4156
  ]),
@@ -4167,7 +4180,7 @@ const xl = ["aria-labelledby"], Cl = { class: "form-section-wrapper" }, kl = {
4167
4180
  }, jl = { class: "entity-empty-state-action" }, Ul = { class: "entity-empty-state-card-container" }, Pl = {
4168
4181
  key: 0,
4169
4182
  class: "feature-icon"
4170
- }, ql = { class: "card-header" }, Hl = ["title"], Yl = /* @__PURE__ */ G({
4183
+ }, ql = { class: "card-header" }, Hl = ["title"], Yl = /* @__PURE__ */ W({
4171
4184
  __name: "EntityEmptyState",
4172
4185
  props: {
4173
4186
  title: {
@@ -4197,80 +4210,80 @@ const xl = ["aria-labelledby"], Cl = { class: "form-section-wrapper" }, kl = {
4197
4210
  },
4198
4211
  emits: ["create-button-clicked", "learning-hub-button-clicked"],
4199
4212
  setup(e) {
4200
- const { i18n: { t } } = V.useI18n();
4213
+ const { i18n: { t } } = H.useI18n();
4201
4214
  return (n, r) => {
4202
4215
  const i = j("KCard");
4203
- return p(), T("div", Fl, [
4204
- B("div", Ol, [
4205
- n.$slots.image ? (p(), T("div", Ll, [
4216
+ return p(), S("div", Fl, [
4217
+ L("div", Ol, [
4218
+ n.$slots.image ? (p(), S("div", Ll, [
4206
4219
  P(n.$slots, "image", {}, void 0, !0)
4207
4220
  ])) : U("", !0),
4208
- e.title || n.$slots.title || n.$slots["title-after"] ? (p(), T("div", Rl, [
4221
+ e.title || n.$slots.title || n.$slots["title-after"] ? (p(), S("div", Rl, [
4209
4222
  P(n.$slots, "title", {}, void 0, !0),
4210
- B("div", { title: e.title }, O(e.title), 9, Bl),
4211
- n.$slots["title-after"] ? (p(), T("span", Kl, [
4223
+ L("div", { title: e.title }, F(e.title), 9, Bl),
4224
+ n.$slots["title-after"] ? (p(), S("span", Kl, [
4212
4225
  P(n.$slots, "title-after", {}, void 0, !0)
4213
4226
  ])) : U("", !0)
4214
4227
  ])) : U("", !0),
4215
- e.description || n.$slots.default ? (p(), T("div", Nl, [
4228
+ e.description || n.$slots.default ? (p(), S("div", Nl, [
4216
4229
  P(n.$slots, "default", {}, () => [
4217
- B("p", null, O(e.description), 1)
4230
+ L("p", null, F(e.description), 1)
4218
4231
  ], !0)
4219
4232
  ])) : U("", !0),
4220
- e.pricing ? (p(), T("div", Ml, [
4221
- B("p", null, [
4222
- B("b", null, O(k(t)("emptyState.pricingTitle")), 1),
4223
- r[2] || (r[2] = H()),
4233
+ e.pricing ? (p(), S("div", Ml, [
4234
+ L("p", null, [
4235
+ L("b", null, F(A(t)("emptyState.pricingTitle")), 1),
4236
+ r[2] || (r[2] = q()),
4224
4237
  P(n.$slots, "pricing", {}, () => [
4225
- H(O(e.pricing), 1)
4238
+ q(F(e.pricing), 1)
4226
4239
  ], !0)
4227
4240
  ])
4228
4241
  ])) : U("", !0)
4229
4242
  ]),
4230
- n.$slots.message ? (p(), T("div", Dl, [
4243
+ n.$slots.message ? (p(), S("div", Dl, [
4231
4244
  P(n.$slots, "message", {}, void 0, !0)
4232
4245
  ])) : U("", !0),
4233
- B("div", jl, [
4234
- e.actionButtonText || n.$slots.action ? (p(), D(k(ut), {
4246
+ L("div", jl, [
4247
+ e.actionButtonText || n.$slots.action ? (p(), D(A(ut), {
4235
4248
  key: 0,
4236
4249
  appearance: "primary",
4237
4250
  size: "large",
4238
4251
  onClick: r[0] || (r[0] = (o) => n.$emit("create-button-clicked"))
4239
4252
  }, {
4240
- default: C(() => [
4241
- M(k(jt)),
4242
- H(" " + O(e.actionButtonText), 1)
4253
+ default: k(() => [
4254
+ M(A(jt)),
4255
+ q(" " + F(e.actionButtonText), 1)
4243
4256
  ]),
4244
4257
  _: 1
4245
4258
  })) : U("", !0),
4246
- e.learnMoreLink ? (p(), D(k(ut), {
4259
+ e.learnMoreLink ? (p(), D(A(ut), {
4247
4260
  key: 1,
4248
4261
  appearance: "secondary",
4249
4262
  size: "large",
4250
4263
  onClick: r[1] || (r[1] = (o) => n.$emit("learning-hub-button-clicked"))
4251
4264
  }, {
4252
- default: C(() => [
4253
- M(k(Dt), { decorative: "" }),
4254
- H(" " + O(k(t)("emptyState.learnMore")), 1)
4265
+ default: k(() => [
4266
+ M(A(Dt), { decorative: "" }),
4267
+ q(" " + F(A(t)("emptyState.learnMore")), 1)
4255
4268
  ]),
4256
4269
  _: 1
4257
4270
  })) : U("", !0)
4258
4271
  ]),
4259
- B("div", Ul, [
4260
- (p(!0), T(le, null, oe(e.features, (o, a) => (p(), D(i, {
4272
+ L("div", Ul, [
4273
+ (p(!0), S(le, null, oe(e.features, (o, a) => (p(), D(i, {
4261
4274
  key: o,
4262
4275
  class: "entity-empty-state-card"
4263
4276
  }, {
4264
- title: C(() => [
4265
- n.$slots[`feature-${a}-icon`] ? (p(), T("div", Pl, [
4277
+ title: k(() => [
4278
+ n.$slots[`feature-${a}-icon`] ? (p(), S("div", Pl, [
4266
4279
  P(n.$slots, `feature-${a}-icon`, {}, void 0, !0)
4267
4280
  ])) : U("", !0),
4268
- B("div", ql, O(o.title), 1)
4281
+ L("div", ql, F(o.title), 1)
4269
4282
  ]),
4270
- default: C(() => [
4271
- B("div", {
4283
+ default: k(() => [
4284
+ L("div", {
4272
4285
  title: o.description
4273
- }, O(o.description), 9, Hl)
4286
+ }, F(o.description), 9, Hl)
4274
4287
  ]),
4275
4288
  _: 2
4276
4289
  }, 1024))), 128))
@@ -4278,7 +4291,7 @@ const xl = ["aria-labelledby"], Cl = { class: "form-section-wrapper" }, kl = {
4278
4291
  ]);
4279
4292
  };
4280
4293
  }
4281
- }), ss = /* @__PURE__ */ ie(Yl, [["__scopeId", "data-v-f04470ed"]]), Vl = { key: 1 }, cs = /* @__PURE__ */ G({
4294
+ }), ss = /* @__PURE__ */ ie(Yl, [["__scopeId", "data-v-f04470ed"]]), Vl = { key: 1 }, cs = /* @__PURE__ */ W({
4282
4295
  __name: "TableTags",
4283
4296
  props: {
4284
4297
  /** The tags to display in the table */
@@ -4292,7 +4305,7 @@ const xl = ["aria-labelledby"], Cl = { class: "form-section-wrapper" }, kl = {
4292
4305
  }
4293
4306
  },
4294
4307
  setup(e) {
4295
- const t = e, n = E(() => {
4308
+ const t = e, n = T(() => {
4296
4309
  if (Array.isArray(t.tags))
4297
4310
  return t.tags;
4298
4311
  if (typeof t.tags == "string")
@@ -4306,25 +4319,25 @@ const xl = ["aria-labelledby"], Cl = { class: "form-section-wrapper" }, kl = {
4306
4319
  });
4307
4320
  return (r, i) => {
4308
4321
  var o;
4309
- return ((o = n.value) == null ? void 0 : o.length) > 0 ? (p(), D(k(Qn), { key: 0 }, {
4310
- default: C(() => [
4311
- (p(!0), T(le, null, oe(n.value, (a) => (p(), D(k(Zn), {
4322
+ return ((o = n.value) == null ? void 0 : o.length) > 0 ? (p(), D(A(zn), { key: 0 }, {
4323
+ default: k(() => [
4324
+ (p(!0), S(le, null, oe(n.value, (a) => (p(), D(A(Qn), {
4312
4325
  key: a,
4313
4326
  "max-width": e.tagMaxWidth,
4314
- onClick: i[0] || (i[0] = Oe(() => {
4327
+ onClick: i[0] || (i[0] = Fe(() => {
4315
4328
  }, ["stop"]))
4316
4329
  }, {
4317
- default: C(() => [
4318
- H(O(a), 1)
4330
+ default: k(() => [
4331
+ q(F(a), 1)
4319
4332
  ]),
4320
4333
  _: 2
4321
4334
  }, 1032, ["max-width"]))), 128))
4322
4335
  ]),
4323
4336
  _: 1
4324
- })) : (p(), T("span", Vl, "-"));
4337
+ })) : (p(), S("span", Vl, "-"));
4325
4338
  };
4326
4339
  }
4327
- }), { useAxios: us, useDeleteUrlBuilder: ds, useErrors: fs, useExternalLinkCreator: ps, useFetchUrlBuilder: ms, useFetcher: hs, useFetcherCacheKey: gs, useDebouncedFilter: ys, useStringHelpers: vs, useHelpers: bs, useGatewayFeatureSupported: xs, useTruncationDetector: Cs, useValidators: ks, useSchemaProvider: As } = V;
4340
+ }), { useAxios: us, useDeleteUrlBuilder: ds, useErrors: fs, useExternalLinkCreator: ps, useFetchUrlBuilder: ms, useFetcher: hs, useFetcherCacheKey: gs, useDebouncedFilter: ys, useStringHelpers: vs, useHelpers: bs, useGatewayFeatureSupported: xs, useTruncationDetector: Cs, useValidators: ks, useSchemaProvider: As, useTableState: _s } = H;
4328
4341
  export {
4329
4342
  Ko as ConfigCardDisplay,
4330
4343
  Wt as ConfigCardItem,
@@ -4332,7 +4345,7 @@ export {
4332
4345
  Y as ConfigurationSchemaType,
4333
4346
  Xl as EntityBaseConfigCard,
4334
4347
  es as EntityBaseForm,
4335
- ir as EntityBaseFormType,
4348
+ rr as EntityBaseFormType,
4336
4349
  ts as EntityBaseTable,
4337
4350
  ns as EntityDeleteModal,
4338
4351
  ss as EntityEmptyState,
@@ -4340,13 +4353,13 @@ export {
4340
4353
  os as EntityFormSection,
4341
4354
  ls as EntityLink,
4342
4355
  is as EntityToggleModal,
4343
- rr as EntityTypes,
4356
+ nr as EntityTypes,
4344
4357
  ue as FetcherStatus,
4345
4358
  jr as InternalLinkItem,
4346
4359
  Jt as JsonCodeBlock,
4347
4360
  as as PermissionsWrapper,
4348
4361
  et as SupportedEntityType,
4349
- De as SupportedEntityTypesArray,
4362
+ Me as SupportedEntityTypesArray,
4350
4363
  cs as TableTags,
4351
4364
  Mn as TerraformCodeBlock,
4352
4365
  Nn as YamlCodeBlock,
@@ -4362,6 +4375,7 @@ export {
4362
4375
  bs as useHelpers,
4363
4376
  As as useSchemaProvider,
4364
4377
  vs as useStringHelpers,
4378
+ _s as useTableState,
4365
4379
  Cs as useTruncationDetector,
4366
4380
  ks as useValidators
4367
4381
  };