@kong-ui-public/entities-data-plane-nodes 0.2.29 → 0.2.31

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,12 +1,12 @@
1
- var Be = Object.defineProperty;
2
- var Fe = (e, t, r) => t in e ? Be(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var P = (e, t, r) => Fe(e, typeof t != "symbol" ? t + "" : t, r);
4
- import { ref as w, computed as m, unref as g, toValue as R, watch as ke, inject as Ue, defineComponent as H, openBlock as h, createBlock as T, resolveDynamicComponent as V, normalizeStyle as X, withCtx as A, createElementBlock as N, toDisplayString as k, createCommentVNode as F, pushScopeId as ee, popScopeId as te, createElementVNode as b, resolveComponent as B, Fragment as xe, createTextVNode as Z, createVNode as G, mergeModels as Pe, useModel as De, renderList as Ke } from "vue";
1
+ var Ue = Object.defineProperty;
2
+ var Be = (e, t, r) => t in e ? Ue(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var P = (e, t, r) => Be(e, typeof t != "symbol" ? t + "" : t, r);
4
+ import { ref as w, computed as m, unref as g, toValue as R, watch as ke, inject as Pe, defineComponent as H, openBlock as h, createBlock as T, resolveDynamicComponent as V, normalizeStyle as X, withCtx as A, createElementBlock as N, toDisplayString as k, createCommentVNode as U, pushScopeId as ee, popScopeId as te, createElementVNode as b, resolveComponent as F, Fragment as xe, createTextVNode as Z, createVNode as Q, mergeModels as De, useModel as Ke, renderList as Re } from "vue";
5
5
  import { createI18n as Ce, i18nTComponent as Le } from "@kong-ui-public/i18n";
6
6
  import fe from "axios";
7
7
  import "@kong/kongponents";
8
8
  import "vue-router";
9
- const Re = {
9
+ const Ve = {
10
10
  action_button: {
11
11
  confirm: "Confirm",
12
12
  submitting: "Submitting...",
@@ -47,7 +47,7 @@ const Re = {
47
47
  seconds: "seconds"
48
48
  },
49
49
  select_log_level_title: "Select Log Level"
50
- }, Ve = {
50
+ }, He = {
51
51
  debug: "Debug",
52
52
  info: "Info",
53
53
  notice: "Notice",
@@ -55,24 +55,25 @@ const Re = {
55
55
  error: "Error",
56
56
  crit: "Critical",
57
57
  not_applicable: "N/A"
58
- }, He = {
59
- modal: Re,
60
- log_level: Ve
58
+ }, Ye = {
59
+ modal: Ve,
60
+ log_level: He
61
61
  };
62
62
  function re() {
63
- const e = Ce("en-us", He);
63
+ const e = Ce("en-us", Ye);
64
64
  return {
65
65
  i18n: e,
66
66
  i18nT: Le(e)
67
67
  // Translation component <i18n-t>
68
68
  };
69
69
  }
70
- var K = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(K || {});
71
- function Ye() {
70
+ var K = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(K || {}), Se = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "key_set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e))(Se || {});
71
+ Object.values(Se);
72
+ function Ze() {
72
73
  return {
73
74
  getAxiosInstance: (e = {}) => {
74
75
  try {
75
- const t = Ue("get-axios-instance", void 0);
76
+ const t = Pe("get-axios-instance", void 0);
76
77
  return typeof t == "function" ? t(e) : fe.create({
77
78
  withCredentials: !0,
78
79
  timeout: 3e4,
@@ -92,7 +93,7 @@ function Ye() {
92
93
  }
93
94
  };
94
95
  }
95
- function Ze() {
96
+ function We() {
96
97
  return {
97
98
  debounce: (e, t) => {
98
99
  let r;
@@ -105,12 +106,12 @@ function Ze() {
105
106
  };
106
107
  }
107
108
  function le(e = {}) {
108
- const { getAxiosInstance: t } = Ye();
109
+ const { getAxiosInstance: t } = Ze();
109
110
  return {
110
111
  axiosInstance: t(e)
111
112
  };
112
113
  }
113
- const We = {
114
+ const Ge = {
114
115
  actions: {
115
116
  copyId: "Copy ID",
116
117
  copied_id: 'Copied "{id}" to the clipboard',
@@ -120,7 +121,7 @@ const We = {
120
121
  }, Qe = {
121
122
  message: "Are you sure you want to delete this {entityType}?",
122
123
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
123
- }, Ge = {
124
+ }, Je = {
124
125
  actions: {
125
126
  viewConfiguration: "View Configuration",
126
127
  save: "Save",
@@ -131,18 +132,19 @@ const We = {
131
132
  title: "Configuration",
132
133
  message: "Export configurations for core Kong Gateway objects, like services, routes, and plugins, to either YAML or JSON. This allows for straightforward importing into APIOps tools like decK with YAML, or Insomnia and cURL with JSON.",
133
134
  yaml: "YAML",
134
- json: "JSON"
135
+ json: "JSON",
136
+ terraform: "Terraform"
135
137
  },
136
138
  errors: {
137
139
  edit: "The entity could not be edited at this time."
138
140
  }
139
- }, Je = {
141
+ }, Xe = {
140
142
  emptyState: {
141
143
  noSearchResultsTitle: "No results found",
142
144
  noSearchResultsMessage: "Please adjust the criteria and try again.",
143
145
  noSearchResultsCtaText: "Clear"
144
146
  }
145
- }, Xe = {
147
+ }, et = {
146
148
  title: "Configuration",
147
149
  actions: {
148
150
  copy: "Copy JSON"
@@ -177,7 +179,7 @@ const We = {
177
179
  entryTitle: "Entry {index}",
178
180
  structuredFormat: "Structured"
179
181
  }
180
- }, et = {
182
+ }, tt = {
181
183
  filterButtonText: "Filter",
182
184
  fieldLabel: "Filter by:",
183
185
  inputPlaceholder: "Enter a value",
@@ -185,17 +187,17 @@ const We = {
185
187
  applyButtonText: "Apply",
186
188
  clearButtonText: "Clear",
187
189
  clearAllButtonText: "Clear all filters"
188
- }, tt = {
190
+ }, rt = {
189
191
  errors: {
190
192
  fetch: "Could not fetch available items",
191
193
  invalid: "Please select a valid value"
192
194
  }
193
- }, rt = {
195
+ }, nt = {
194
196
  unexpected: "An unexpected error has occurred",
195
197
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
196
- }, nt = {
197
- utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
198
198
  }, at = {
199
+ utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
200
+ }, it = {
199
201
  enable: {
200
202
  title: "Enable {entityType}",
201
203
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -206,27 +208,27 @@ const We = {
206
208
  message: "Are you sure you want to disable the {entityType} {entityName}?",
207
209
  confirmText: "Yes, disable"
208
210
  }
209
- }, it = {
210
- global: We,
211
+ }, ot = {
212
+ global: Ge,
211
213
  deleteModal: Qe,
212
- baseForm: Ge,
213
- baseTable: Je,
214
- baseConfigCard: Xe,
215
- filter: et,
216
- debouncedFilter: tt,
217
- errors: rt,
218
- validationErrors: nt,
219
- toggleModal: at
214
+ baseForm: Je,
215
+ baseTable: Xe,
216
+ baseConfigCard: et,
217
+ filter: tt,
218
+ debouncedFilter: rt,
219
+ errors: nt,
220
+ validationErrors: at,
221
+ toggleModal: it
220
222
  };
221
223
  function ne() {
222
- const e = Ce("en-us", it);
224
+ const e = Ce("en-us", ot);
223
225
  return {
224
226
  i18n: e,
225
227
  i18nT: Le(e)
226
228
  // Translation component <i18n-t>
227
229
  };
228
230
  }
229
- function Se() {
231
+ function Ne() {
230
232
  const e = (r, n) => (n == null ? void 0 : n[r]) ?? void 0, t = (r, n) => {
231
233
  if (r.length !== n.length) return !1;
232
234
  const a = /* @__PURE__ */ new Set([...r, ...n]);
@@ -268,17 +270,17 @@ function Se() {
268
270
  isValidUuid: (r) => r ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(r) : !1
269
271
  };
270
272
  }
271
- function ot(e, t, r, n = {
273
+ function st(e, t, r, n = {
272
274
  fetchedItemsKey: "data",
273
275
  searchKeys: ["id"]
274
276
  }) {
275
277
  r || (r = "1000");
276
- const { axiosInstance: a } = le(e.axiosRequestConfig), { i18n: { t: i } } = ne(), { debounce: o } = Ze(), s = o(async (y) => {
278
+ const { axiosInstance: a } = le(e.axiosRequestConfig), { i18n: { t: i } } = ne(), { debounce: o } = We(), s = o(async (y) => {
277
279
  await oe(y);
278
280
  }, 200), l = w(!1), f = w(""), c = w(""), d = w([]), u = w([]), p = w(void 0), _ = m(() => {
279
281
  const y = `${e.apiBaseUrl}${g(t)}`;
280
282
  return e.app === "konnect" ? y.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" ? y.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "") : y;
281
- }), { isValidUuid: E } = Se(), ie = async () => {
283
+ }), { isValidUuid: $ } = Ne(), ie = async () => {
282
284
  try {
283
285
  l.value = !0;
284
286
  const { data: y } = await a.get(`${_.value}?size=${r}`);
@@ -288,10 +290,10 @@ function ot(e, t, r, n = {
288
290
  } finally {
289
291
  l.value = !1;
290
292
  }
291
- }, U = w(""), oe = async (y) => {
292
- var Y, Q, I;
293
- if (U.value !== y) {
294
- if (U.value = y ?? "", !y) {
293
+ }, B = w(""), oe = async (y) => {
294
+ var Y, G, I;
295
+ if (B.value !== y) {
296
+ if (B.value = y ?? "", !y) {
295
297
  d.value = u.value;
296
298
  return;
297
299
  }
@@ -302,37 +304,37 @@ function ot(e, t, r, n = {
302
304
  n.fetchedItemsKey in S ? d.value = S[n.fetchedItemsKey] : S != null && S[n.exactMatchKey ?? "id"] ? d.value = [S] : d.value = [];
303
305
  } else {
304
306
  const v = [];
305
- E(y) && n.searchKeys.includes("id") ? v.push((async () => {
307
+ $(y) && n.searchKeys.includes("id") ? v.push((async () => {
306
308
  const { data: x } = await a.get(`${_.value}/${y}`);
307
309
  return [x[n.fetchedItemsKey] ?? x];
308
310
  })()) : v.push(
309
311
  ...n.searchKeys.filter((x) => x !== "id").map(async (x) => {
310
- const { data: $ } = await a.get(`${_.value}?${x}=${y}`);
311
- return $[n.fetchedItemsKey];
312
+ const { data: E } = await a.get(`${_.value}?${x}=${y}`);
313
+ return E[n.fetchedItemsKey];
312
314
  })
313
315
  );
314
- const S = await Promise.all(v), q = /* @__PURE__ */ new Set();
316
+ const S = await Promise.all(v), j = /* @__PURE__ */ new Set();
315
317
  d.value = [], (Y = S == null ? void 0 : S.forEach) == null || Y.call(S, (x) => {
316
- var $;
317
- ($ = x == null ? void 0 : x.forEach) == null || $.call(x, (L) => {
318
- q.has(L.id) || (q.add(L.id), d.value.push(L));
318
+ var E;
319
+ (E = x == null ? void 0 : x.forEach) == null || E.call(x, (L) => {
320
+ j.has(L.id) || (j.add(L.id), d.value.push(L));
319
321
  });
320
322
  });
321
323
  }
322
324
  } catch (v) {
323
- ((Q = v == null ? void 0 : v.response) == null ? void 0 : Q.status) === 404 ? c.value = i("debouncedFilter.errors.invalid") : (d.value = [], f.value = i("debouncedFilter.errors.fetch"));
325
+ ((G = v == null ? void 0 : v.response) == null ? void 0 : G.status) === 404 ? c.value = i("debouncedFilter.errors.invalid") : (d.value = [], f.value = i("debouncedFilter.errors.fetch"));
324
326
  } finally {
325
327
  l.value = !1;
326
328
  }
327
329
  else
328
330
  l.value = !0, c.value = "", d.value = (I = p.value) == null ? void 0 : I.filter((v) => {
329
331
  var S;
330
- let q = !1;
332
+ let j = !1;
331
333
  for (const x of n.searchKeys) {
332
- const $ = typeof v[x] == "string" ? (S = v[x]) == null ? void 0 : S.toLowerCase() : v[x];
333
- $ != null && $.includes(y.toLowerCase()) && (q = !0);
334
+ const E = typeof v[x] == "string" ? (S = v[x]) == null ? void 0 : S.toLowerCase() : v[x];
335
+ E != null && E.includes(y.toLowerCase()) && (j = !0);
334
336
  }
335
- return q;
337
+ return j;
336
338
  }), (!d.value || !d.value.length) && (c.value = i("debouncedFilter.errors.invalid")), l.value = !1;
337
339
  }
338
340
  };
@@ -346,13 +348,13 @@ function ot(e, t, r, n = {
346
348
  debouncedQueryChange: s
347
349
  };
348
350
  }
349
- function st(e, t) {
351
+ function lt(e, t) {
350
352
  const r = g(t), n = m(
351
353
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${r}`) : new URL(r)
352
354
  );
353
355
  return n.value.search = "", (a) => `${n.value.href}/${a}`;
354
356
  }
355
- function lt() {
357
+ function ut() {
356
358
  const { i18n: { t: e } } = ne();
357
359
  return {
358
360
  getMessageFromError: (t) => {
@@ -382,7 +384,7 @@ function lt() {
382
384
  }
383
385
  };
384
386
  }
385
- function ut(e) {
387
+ function ct(e) {
386
388
  const t = window.location.origin, r = t.endsWith("/") ? t : `${t}/`;
387
389
  try {
388
390
  const n = e.join("/"), a = `${r}${n}`, i = e.some((o) => o.trim() === "");
@@ -393,7 +395,7 @@ function ut(e) {
393
395
  return console.warn("Failed to build valid URL:", n), "";
394
396
  }
395
397
  }
396
- function Ne(e, t) {
398
+ function Ie(e, t) {
397
399
  const r = w(g(e)), n = w(g(t)), a = m(
398
400
  () => !!(r.value.app === "konnect" || r.value.isExactMatch)
399
401
  ), i = m(
@@ -403,16 +405,16 @@ function Ne(e, t) {
403
405
  const { page: s, pageSize: l, offset: f, sortColumnKey: c, sortColumnOrder: d, query: u } = o;
404
406
  try {
405
407
  let p = new URL(i.value.href);
406
- return a.value && u ? (p.search = "", p = r.value.isExactMatch ? new URL(`${p.href}/${u}/`) : new URL(`${p.href}?filter[name][contains]=${u}`)) : (a.value || new URLSearchParams(u).forEach((_, E) => {
407
- p.searchParams.append(E, _);
408
+ return a.value && u ? (p.search = "", p = r.value.isExactMatch ? new URL(`${p.href}/${u}/`) : new URL(`${p.href}?filter[name][contains]=${u}`)) : (a.value || new URLSearchParams(u).forEach((_, $) => {
409
+ p.searchParams.append($, _);
408
410
  }), c && p.searchParams.append("sort_by", c), d === "desc" && p.searchParams.append("sort_desc", "1"), p.searchParams.append("size", String(l))), f && s !== 1 && p.searchParams.append("offset", String(f)), p.href;
409
411
  } catch (p) {
410
412
  return console.error("RouteList(fetcher)", p), n.value;
411
413
  }
412
414
  };
413
415
  }
414
- function ct(e, t, r) {
415
- const n = g(t), { axiosInstance: a } = le(e.axiosRequestConfig), i = Ne(e, n), o = w({
416
+ function dt(e, t, r) {
417
+ const n = g(t), { axiosInstance: a } = le(e.axiosRequestConfig), i = Ie(e, n), o = w({
416
418
  status: K.Idle
417
419
  });
418
420
  return { fetcher: async (s) => {
@@ -428,7 +430,7 @@ function ct(e, t, r) {
428
430
  const u = d.data, p = f && f.replace(/[^\w-_]/gi, "");
429
431
  let _;
430
432
  u[p] ? _ = Array.isArray(u[p]) ? u[p] : [u[p]] : Array.isArray(u) ? _ = u : _ = Object.keys(u).length ? [u] : [];
431
- const E = {
433
+ const $ = {
432
434
  data: _,
433
435
  total: _.length,
434
436
  ...u.offset ? {
@@ -439,8 +441,8 @@ function ct(e, t, r) {
439
441
  };
440
442
  return o.value = {
441
443
  status: K.Idle,
442
- response: E
443
- }, E;
444
+ response: $
445
+ }, $;
444
446
  } catch (c) {
445
447
  const d = {
446
448
  data: [],
@@ -458,61 +460,61 @@ function ct(e, t, r) {
458
460
  }
459
461
  }, fetcherState: o };
460
462
  }
461
- function dt() {
463
+ function pt() {
462
464
  const e = (r, n = "_") => r ? r.split(n).map((a) => a.toLowerCase() === "id" ? a.toUpperCase() : a.charAt(0).toUpperCase() + a.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
463
465
  return {
464
466
  capitalize: (r) => r ? r.replace(t, (n) => n.toUpperCase()) : "",
465
467
  convertKeyToTitle: e
466
468
  };
467
469
  }
468
- const Ie = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, ge = (e) => {
470
+ const Te = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, ge = (e) => {
469
471
  if (typeof e != "string")
470
472
  throw new TypeError("Invalid argument expected string");
471
- const t = e.match(Ie);
473
+ const t = e.match(Te);
472
474
  if (!t)
473
475
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
474
476
  return t.shift(), t;
475
477
  }, he = (e) => e === "*" || e === "x" || e === "X", ve = (e) => {
476
478
  const t = parseInt(e, 10);
477
479
  return isNaN(t) ? e : t;
478
- }, pt = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], ft = (e, t) => {
480
+ }, ft = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], gt = (e, t) => {
479
481
  if (he(e) || he(t))
480
482
  return 0;
481
- const [r, n] = pt(ve(e), ve(t));
483
+ const [r, n] = ft(ve(e), ve(t));
482
484
  return r > n ? 1 : r < n ? -1 : 0;
483
485
  }, me = (e, t) => {
484
486
  for (let r = 0; r < Math.max(e.length, t.length); r++) {
485
- const n = ft(e[r] || "0", t[r] || "0");
487
+ const n = gt(e[r] || "0", t[r] || "0");
486
488
  if (n !== 0)
487
489
  return n;
488
490
  }
489
491
  return 0;
490
- }, gt = (e, t) => {
492
+ }, ht = (e, t) => {
491
493
  const r = ge(e), n = ge(t), a = r.pop(), i = n.pop(), o = me(r, n);
492
494
  return o !== 0 ? o : a && i ? me(a.split("."), i.split(".")) : a || i ? a ? -1 : 1 : 0;
493
495
  }, ye = (e, t, r) => {
494
- ht(r);
495
- const n = gt(e, t);
496
- return Te[r].includes(n);
497
- }, Te = {
496
+ vt(r);
497
+ const n = ht(e, t);
498
+ return Ae[r].includes(n);
499
+ }, Ae = {
498
500
  ">": [1],
499
501
  ">=": [0, 1],
500
502
  "=": [0],
501
503
  "<=": [-1, 0],
502
504
  "<": [-1],
503
505
  "!=": [-1, 1]
504
- }, be = Object.keys(Te), ht = (e) => {
506
+ }, be = Object.keys(Ae), vt = (e) => {
505
507
  if (typeof e != "string")
506
508
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
507
509
  if (be.indexOf(e) === -1)
508
510
  throw new Error(`Invalid operator, expected one of ${be.join("|")}`);
509
- }, vt = (e) => typeof e == "string" && /^[v\d]/.test(e) && Ie.test(e);
510
- function mt(e) {
511
+ }, mt = (e) => typeof e == "string" && /^[v\d]/.test(e) && Te.test(e);
512
+ function yt(e) {
511
513
  const { gatewayInfo: t, supportedRange: r } = e;
512
514
  if (!t)
513
515
  return !0;
514
516
  const { edition: n, version: a } = t;
515
- if (!vt(a))
517
+ if (!mt(a))
516
518
  return console.error("Invalid version"), !1;
517
519
  const i = r[n];
518
520
  if (!i)
@@ -520,7 +522,7 @@ function mt(e) {
520
522
  const [o, s] = i;
521
523
  return !(o && ye(a, o, "<") || s && ye(a, s, ">"));
522
524
  }
523
- function yt(e) {
525
+ function bt(e) {
524
526
  const t = w(0), r = w(0), n = w(!1);
525
527
  return ke(e, (a) => {
526
528
  a && !n.value && (t.value = a.offsetWidth, r.value = a.scrollWidth, n.value = !0);
@@ -528,59 +530,59 @@ function yt(e) {
528
530
  isTruncated: m(() => t.value < r.value)
529
531
  };
530
532
  }
531
- function bt() {
533
+ function wt() {
532
534
  const { i18n: { t: e } } = ne();
533
535
  return {
534
536
  utf8Name: (t) => /^[\p{N}\p{L}.\-_~]*$/u.test(t) ? "" : e("validationErrors.utf8Name")
535
537
  };
536
538
  }
537
- const wt = {
539
+ const _t = {
538
540
  useAxios: le,
539
- useDebouncedFilter: ot,
540
- useDeleteUrlBuilder: st,
541
- useErrors: lt,
542
- useExternalLinkCreator: ut,
543
- useFetcher: ct,
544
- useFetchUrlBuilder: Ne,
545
- useHelpers: Se,
546
- useStringHelpers: dt,
541
+ useDebouncedFilter: st,
542
+ useDeleteUrlBuilder: lt,
543
+ useErrors: ut,
544
+ useExternalLinkCreator: ct,
545
+ useFetcher: dt,
546
+ useFetchUrlBuilder: Ie,
547
+ useHelpers: Ne,
548
+ useStringHelpers: pt,
547
549
  useI18n: ne,
548
- useGatewayFeatureSupported: mt,
549
- useTruncationDetector: yt,
550
- useValidators: bt
550
+ useGatewayFeatureSupported: yt,
551
+ useTruncationDetector: bt,
552
+ useValidators: wt
551
553
  };
552
554
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
553
- function Ae(e) {
555
+ function $e(e) {
554
556
  return typeof e > "u" || e === null;
555
557
  }
556
- function _t(e) {
558
+ function kt(e) {
557
559
  return typeof e == "object" && e !== null;
558
560
  }
559
- function kt(e) {
560
- return Array.isArray(e) ? e : Ae(e) ? [] : [e];
561
+ function xt(e) {
562
+ return Array.isArray(e) ? e : $e(e) ? [] : [e];
561
563
  }
562
- function xt(e, t) {
564
+ function Ct(e, t) {
563
565
  var r, n, a, i;
564
566
  if (t)
565
567
  for (i = Object.keys(t), r = 0, n = i.length; r < n; r += 1)
566
568
  a = i[r], e[a] = t[a];
567
569
  return e;
568
570
  }
569
- function Ct(e, t) {
571
+ function Lt(e, t) {
570
572
  var r = "", n;
571
573
  for (n = 0; n < t; n += 1)
572
574
  r += e;
573
575
  return r;
574
576
  }
575
- function Lt(e) {
577
+ function St(e) {
576
578
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
577
579
  }
578
- var St = Ae, Nt = _t, It = kt, Tt = Ct, At = Lt, Et = xt, ue = {
579
- isNothing: St,
580
- isObject: Nt,
581
- toArray: It,
582
- repeat: Tt,
583
- isNegativeZero: At,
580
+ var Nt = $e, It = kt, Tt = xt, At = Lt, $t = St, Et = Ct, ue = {
581
+ isNothing: Nt,
582
+ isObject: It,
583
+ toArray: Tt,
584
+ repeat: At,
585
+ isNegativeZero: $t,
584
586
  extend: Et
585
587
  };
586
588
  function Ee(e, t) {
@@ -597,7 +599,7 @@ W.prototype.constructor = W;
597
599
  W.prototype.toString = function(e) {
598
600
  return this.name + ": " + Ee(this, e);
599
601
  };
600
- var M = W, $t = [
602
+ var M = W, Ot = [
601
603
  "kind",
602
604
  "multi",
603
605
  "resolve",
@@ -621,9 +623,9 @@ function qt(e) {
621
623
  });
622
624
  }), t;
623
625
  }
624
- function Ot(e, t) {
626
+ function zt(e, t) {
625
627
  if (t = t || {}, Object.keys(t).forEach(function(r) {
626
- if ($t.indexOf(r) === -1)
628
+ if (Ot.indexOf(r) === -1)
627
629
  throw new M('Unknown option "' + r + '" is met in definition of "' + e + '" YAML type.');
628
630
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
629
631
  return !0;
@@ -632,7 +634,7 @@ function Ot(e, t) {
632
634
  }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = qt(t.styleAliases || null), jt.indexOf(this.kind) === -1)
633
635
  throw new M('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
634
636
  }
635
- var C = Ot;
637
+ var C = zt;
636
638
  function we(e, t) {
637
639
  var r = [];
638
640
  return e[t].forEach(function(n) {
@@ -642,7 +644,7 @@ function we(e, t) {
642
644
  }), r[a] = n;
643
645
  }), r;
644
646
  }
645
- function zt() {
647
+ function Mt() {
646
648
  var e = {
647
649
  scalar: {},
648
650
  sequence: {},
@@ -687,46 +689,46 @@ se.prototype.extend = function(e) {
687
689
  throw new M("Specified list of YAML types (or a single Type object) contains a non-Type object.");
688
690
  });
689
691
  var n = Object.create(se.prototype);
690
- return n.implicit = (this.implicit || []).concat(t), n.explicit = (this.explicit || []).concat(r), n.compiledImplicit = we(n, "implicit"), n.compiledExplicit = we(n, "explicit"), n.compiledTypeMap = zt(n.compiledImplicit, n.compiledExplicit), n;
692
+ return n.implicit = (this.implicit || []).concat(t), n.explicit = (this.explicit || []).concat(r), n.compiledImplicit = we(n, "implicit"), n.compiledExplicit = we(n, "explicit"), n.compiledTypeMap = Mt(n.compiledImplicit, n.compiledExplicit), n;
691
693
  };
692
- var Mt = se, Bt = new C("tag:yaml.org,2002:str", {
694
+ var Ft = se, Ut = new C("tag:yaml.org,2002:str", {
693
695
  kind: "scalar",
694
696
  construct: function(e) {
695
697
  return e !== null ? e : "";
696
698
  }
697
- }), Ft = new C("tag:yaml.org,2002:seq", {
699
+ }), Bt = new C("tag:yaml.org,2002:seq", {
698
700
  kind: "sequence",
699
701
  construct: function(e) {
700
702
  return e !== null ? e : [];
701
703
  }
702
- }), Ut = new C("tag:yaml.org,2002:map", {
704
+ }), Pt = new C("tag:yaml.org,2002:map", {
703
705
  kind: "mapping",
704
706
  construct: function(e) {
705
707
  return e !== null ? e : {};
706
708
  }
707
- }), Pt = new Mt({
709
+ }), Dt = new Ft({
708
710
  explicit: [
711
+ Ut,
709
712
  Bt,
710
- Ft,
711
- Ut
713
+ Pt
712
714
  ]
713
715
  });
714
- function Dt(e) {
716
+ function Kt(e) {
715
717
  if (e === null) return !0;
716
718
  var t = e.length;
717
719
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
718
720
  }
719
- function Kt() {
721
+ function Rt() {
720
722
  return null;
721
723
  }
722
- function Rt(e) {
724
+ function Vt(e) {
723
725
  return e === null;
724
726
  }
725
- var Vt = new C("tag:yaml.org,2002:null", {
727
+ var Ht = new C("tag:yaml.org,2002:null", {
726
728
  kind: "scalar",
727
- resolve: Dt,
728
- construct: Kt,
729
- predicate: Rt,
729
+ resolve: Kt,
730
+ construct: Rt,
731
+ predicate: Vt,
730
732
  represent: {
731
733
  canonical: function() {
732
734
  return "~";
@@ -746,22 +748,22 @@ var Vt = new C("tag:yaml.org,2002:null", {
746
748
  },
747
749
  defaultStyle: "lowercase"
748
750
  });
749
- function Ht(e) {
751
+ function Yt(e) {
750
752
  if (e === null) return !1;
751
753
  var t = e.length;
752
754
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
753
755
  }
754
- function Yt(e) {
756
+ function Zt(e) {
755
757
  return e === "true" || e === "True" || e === "TRUE";
756
758
  }
757
- function Zt(e) {
759
+ function Wt(e) {
758
760
  return Object.prototype.toString.call(e) === "[object Boolean]";
759
761
  }
760
- var Wt = new C("tag:yaml.org,2002:bool", {
762
+ var Gt = new C("tag:yaml.org,2002:bool", {
761
763
  kind: "scalar",
762
- resolve: Ht,
763
- construct: Yt,
764
- predicate: Zt,
764
+ resolve: Yt,
765
+ construct: Zt,
766
+ predicate: Wt,
765
767
  represent: {
766
768
  lowercase: function(e) {
767
769
  return e ? "true" : "false";
@@ -778,13 +780,13 @@ var Wt = new C("tag:yaml.org,2002:bool", {
778
780
  function Qt(e) {
779
781
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
780
782
  }
781
- function Gt(e) {
783
+ function Jt(e) {
782
784
  return 48 <= e && e <= 55;
783
785
  }
784
- function Jt(e) {
786
+ function Xt(e) {
785
787
  return 48 <= e && e <= 57;
786
788
  }
787
- function Xt(e) {
789
+ function er(e) {
788
790
  if (e === null) return !1;
789
791
  var t = e.length, r = 0, n = !1, a;
790
792
  if (!t) return !1;
@@ -809,7 +811,7 @@ function Xt(e) {
809
811
  if (a === "o") {
810
812
  for (r++; r < t; r++)
811
813
  if (a = e[r], a !== "_") {
812
- if (!Gt(e.charCodeAt(r))) return !1;
814
+ if (!Jt(e.charCodeAt(r))) return !1;
813
815
  n = !0;
814
816
  }
815
817
  return n && a !== "_";
@@ -818,13 +820,13 @@ function Xt(e) {
818
820
  if (a === "_") return !1;
819
821
  for (; r < t; r++)
820
822
  if (a = e[r], a !== "_") {
821
- if (!Jt(e.charCodeAt(r)))
823
+ if (!Xt(e.charCodeAt(r)))
822
824
  return !1;
823
825
  n = !0;
824
826
  }
825
827
  return !(!n || a === "_");
826
828
  }
827
- function er(e) {
829
+ function tr(e) {
828
830
  var t = e, r = 1, n;
829
831
  if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), n = t[0], (n === "-" || n === "+") && (n === "-" && (r = -1), t = t.slice(1), n = t[0]), t === "0") return 0;
830
832
  if (n === "0") {
@@ -834,14 +836,14 @@ function er(e) {
834
836
  }
835
837
  return r * parseInt(t, 10);
836
838
  }
837
- function tr(e) {
839
+ function rr(e) {
838
840
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ue.isNegativeZero(e);
839
841
  }
840
- var rr = new C("tag:yaml.org,2002:int", {
842
+ var nr = new C("tag:yaml.org,2002:int", {
841
843
  kind: "scalar",
842
- resolve: Xt,
843
- construct: er,
844
- predicate: tr,
844
+ resolve: er,
845
+ construct: tr,
846
+ predicate: rr,
845
847
  represent: {
846
848
  binary: function(e) {
847
849
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -864,21 +866,21 @@ var rr = new C("tag:yaml.org,2002:int", {
864
866
  decimal: [10, "dec"],
865
867
  hexadecimal: [16, "hex"]
866
868
  }
867
- }), nr = new RegExp(
869
+ }), ar = new RegExp(
868
870
  // 2.5e4, 2.5 and integers
869
871
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
870
872
  );
871
- function ar(e) {
872
- return !(e === null || !nr.test(e) || // Quick hack to not allow integers end with `_`
873
+ function ir(e) {
874
+ return !(e === null || !ar.test(e) || // Quick hack to not allow integers end with `_`
873
875
  // Probably should update regexp & check speed
874
876
  e[e.length - 1] === "_");
875
877
  }
876
- function ir(e) {
878
+ function or(e) {
877
879
  var t, r;
878
880
  return t = e.replace(/_/g, "").toLowerCase(), r = t[0] === "-" ? -1 : 1, "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? r === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : t === ".nan" ? NaN : r * parseFloat(t, 10);
879
881
  }
880
- var or = /^[-+]?[0-9]+e/;
881
- function sr(e, t) {
882
+ var sr = /^[-+]?[0-9]+e/;
883
+ function lr(e, t) {
882
884
  var r;
883
885
  if (isNaN(e))
884
886
  switch (t) {
@@ -909,36 +911,36 @@ function sr(e, t) {
909
911
  }
910
912
  else if (ue.isNegativeZero(e))
911
913
  return "-0.0";
912
- return r = e.toString(10), or.test(r) ? r.replace("e", ".e") : r;
914
+ return r = e.toString(10), sr.test(r) ? r.replace("e", ".e") : r;
913
915
  }
914
- function lr(e) {
916
+ function ur(e) {
915
917
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ue.isNegativeZero(e));
916
918
  }
917
- var ur = new C("tag:yaml.org,2002:float", {
919
+ var cr = new C("tag:yaml.org,2002:float", {
918
920
  kind: "scalar",
919
- resolve: ar,
920
- construct: ir,
921
- predicate: lr,
922
- represent: sr,
921
+ resolve: ir,
922
+ construct: or,
923
+ predicate: ur,
924
+ represent: lr,
923
925
  defaultStyle: "lowercase"
924
- }), cr = Pt.extend({
926
+ }), dr = Dt.extend({
925
927
  implicit: [
926
- Vt,
927
- Wt,
928
- rr,
929
- ur
928
+ Ht,
929
+ Gt,
930
+ nr,
931
+ cr
930
932
  ]
931
- }), dr = cr, $e = new RegExp(
933
+ }), pr = dr, Oe = new RegExp(
932
934
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
933
935
  ), je = new RegExp(
934
936
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
935
937
  );
936
- function pr(e) {
937
- return e === null ? !1 : $e.exec(e) !== null || je.exec(e) !== null;
938
- }
939
938
  function fr(e) {
939
+ return e === null ? !1 : Oe.exec(e) !== null || je.exec(e) !== null;
940
+ }
941
+ function gr(e) {
940
942
  var t, r, n, a, i, o, s, l = 0, f = null, c, d, u;
941
- if (t = $e.exec(e), t === null && (t = je.exec(e)), t === null) throw new Error("Date resolve error");
943
+ if (t = Oe.exec(e), t === null && (t = je.exec(e)), t === null) throw new Error("Date resolve error");
942
944
  if (r = +t[1], n = +t[2] - 1, a = +t[3], !t[4])
943
945
  return new Date(Date.UTC(r, n, a));
944
946
  if (i = +t[4], o = +t[5], s = +t[6], t[7]) {
@@ -948,25 +950,25 @@ function fr(e) {
948
950
  }
949
951
  return t[9] && (c = +t[10], d = +(t[11] || 0), f = (c * 60 + d) * 6e4, t[9] === "-" && (f = -f)), u = new Date(Date.UTC(r, n, a, i, o, s, l)), f && u.setTime(u.getTime() - f), u;
950
952
  }
951
- function gr(e) {
953
+ function hr(e) {
952
954
  return e.toISOString();
953
955
  }
954
- var hr = new C("tag:yaml.org,2002:timestamp", {
956
+ var vr = new C("tag:yaml.org,2002:timestamp", {
955
957
  kind: "scalar",
956
- resolve: pr,
957
- construct: fr,
958
+ resolve: fr,
959
+ construct: gr,
958
960
  instanceOf: Date,
959
- represent: gr
961
+ represent: hr
960
962
  });
961
- function vr(e) {
963
+ function mr(e) {
962
964
  return e === "<<" || e === null;
963
965
  }
964
- var mr = new C("tag:yaml.org,2002:merge", {
966
+ var yr = new C("tag:yaml.org,2002:merge", {
965
967
  kind: "scalar",
966
- resolve: vr
968
+ resolve: mr
967
969
  }), ce = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
968
970
  \r`;
969
- function yr(e) {
971
+ function br(e) {
970
972
  if (e === null) return !1;
971
973
  var t, r, n = 0, a = e.length, i = ce;
972
974
  for (r = 0; r < a; r++)
@@ -976,35 +978,35 @@ function yr(e) {
976
978
  }
977
979
  return n % 8 === 0;
978
980
  }
979
- function br(e) {
981
+ function wr(e) {
980
982
  var t, r, n = e.replace(/[\r\n=]/g, ""), a = n.length, i = ce, o = 0, s = [];
981
983
  for (t = 0; t < a; t++)
982
984
  t % 4 === 0 && t && (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)), o = o << 6 | i.indexOf(n.charAt(t));
983
985
  return r = a % 4 * 6, r === 0 ? (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)) : r === 18 ? (s.push(o >> 10 & 255), s.push(o >> 2 & 255)) : r === 12 && s.push(o >> 4 & 255), new Uint8Array(s);
984
986
  }
985
- function wr(e) {
987
+ function _r(e) {
986
988
  var t = "", r = 0, n, a, i = e.length, o = ce;
987
989
  for (n = 0; n < i; n++)
988
990
  n % 3 === 0 && n && (t += o[r >> 18 & 63], t += o[r >> 12 & 63], t += o[r >> 6 & 63], t += o[r & 63]), r = (r << 8) + e[n];
989
991
  return a = i % 3, a === 0 ? (t += o[r >> 18 & 63], t += o[r >> 12 & 63], t += o[r >> 6 & 63], t += o[r & 63]) : a === 2 ? (t += o[r >> 10 & 63], t += o[r >> 4 & 63], t += o[r << 2 & 63], t += o[64]) : a === 1 && (t += o[r >> 2 & 63], t += o[r << 4 & 63], t += o[64], t += o[64]), t;
990
992
  }
991
- function _r(e) {
993
+ function kr(e) {
992
994
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
993
995
  }
994
- var kr = new C("tag:yaml.org,2002:binary", {
996
+ var xr = new C("tag:yaml.org,2002:binary", {
995
997
  kind: "scalar",
996
- resolve: yr,
997
- construct: br,
998
- predicate: _r,
999
- represent: wr
1000
- }), xr = Object.prototype.hasOwnProperty, Cr = Object.prototype.toString;
1001
- function Lr(e) {
998
+ resolve: br,
999
+ construct: wr,
1000
+ predicate: kr,
1001
+ represent: _r
1002
+ }), Cr = Object.prototype.hasOwnProperty, Lr = Object.prototype.toString;
1003
+ function Sr(e) {
1002
1004
  if (e === null) return !0;
1003
1005
  var t = [], r, n, a, i, o, s = e;
1004
1006
  for (r = 0, n = s.length; r < n; r += 1) {
1005
- if (a = s[r], o = !1, Cr.call(a) !== "[object Object]") return !1;
1007
+ if (a = s[r], o = !1, Lr.call(a) !== "[object Object]") return !1;
1006
1008
  for (i in a)
1007
- if (xr.call(a, i))
1009
+ if (Cr.call(a, i))
1008
1010
  if (!o) o = !0;
1009
1011
  else return !1;
1010
1012
  if (!o) return !1;
@@ -1013,24 +1015,24 @@ function Lr(e) {
1013
1015
  }
1014
1016
  return !0;
1015
1017
  }
1016
- function Sr(e) {
1018
+ function Nr(e) {
1017
1019
  return e !== null ? e : [];
1018
1020
  }
1019
- var Nr = new C("tag:yaml.org,2002:omap", {
1021
+ var Ir = new C("tag:yaml.org,2002:omap", {
1020
1022
  kind: "sequence",
1021
- resolve: Lr,
1022
- construct: Sr
1023
- }), Ir = Object.prototype.toString;
1024
- function Tr(e) {
1023
+ resolve: Sr,
1024
+ construct: Nr
1025
+ }), Tr = Object.prototype.toString;
1026
+ function Ar(e) {
1025
1027
  if (e === null) return !0;
1026
1028
  var t, r, n, a, i, o = e;
1027
1029
  for (i = new Array(o.length), t = 0, r = o.length; t < r; t += 1) {
1028
- if (n = o[t], Ir.call(n) !== "[object Object]" || (a = Object.keys(n), a.length !== 1)) return !1;
1030
+ if (n = o[t], Tr.call(n) !== "[object Object]" || (a = Object.keys(n), a.length !== 1)) return !1;
1029
1031
  i[t] = [a[0], n[a[0]]];
1030
1032
  }
1031
1033
  return !0;
1032
1034
  }
1033
- function Ar(e) {
1035
+ function $r(e) {
1034
1036
  if (e === null) return [];
1035
1037
  var t, r, n, a, i, o = e;
1036
1038
  for (i = new Array(o.length), t = 0, r = o.length; t < r; t += 1)
@@ -1039,51 +1041,51 @@ function Ar(e) {
1039
1041
  }
1040
1042
  var Er = new C("tag:yaml.org,2002:pairs", {
1041
1043
  kind: "sequence",
1042
- resolve: Tr,
1043
- construct: Ar
1044
- }), $r = Object.prototype.hasOwnProperty;
1044
+ resolve: Ar,
1045
+ construct: $r
1046
+ }), Or = Object.prototype.hasOwnProperty;
1045
1047
  function jr(e) {
1046
1048
  if (e === null) return !0;
1047
1049
  var t, r = e;
1048
1050
  for (t in r)
1049
- if ($r.call(r, t) && r[t] !== null)
1051
+ if (Or.call(r, t) && r[t] !== null)
1050
1052
  return !1;
1051
1053
  return !0;
1052
1054
  }
1053
1055
  function qr(e) {
1054
1056
  return e !== null ? e : {};
1055
1057
  }
1056
- var Or = new C("tag:yaml.org,2002:set", {
1058
+ var zr = new C("tag:yaml.org,2002:set", {
1057
1059
  kind: "mapping",
1058
1060
  resolve: jr,
1059
1061
  construct: qr
1060
1062
  });
1061
- dr.extend({
1063
+ pr.extend({
1062
1064
  implicit: [
1063
- hr,
1064
- mr
1065
+ vr,
1066
+ yr
1065
1067
  ],
1066
1068
  explicit: [
1067
- kr,
1068
- Nr,
1069
+ xr,
1070
+ Ir,
1069
1071
  Er,
1070
- Or
1072
+ zr
1071
1073
  ]
1072
1074
  });
1073
1075
  function _e(e) {
1074
1076
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1075
1077
  ` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "…" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
1076
1078
  }
1077
- var zr = new Array(256), Mr = new Array(256);
1079
+ var Mr = new Array(256), Fr = new Array(256);
1078
1080
  for (var D = 0; D < 256; D++)
1079
- zr[D] = _e(D) ? 1 : 0, Mr[D] = _e(D);
1080
- const Br = [];
1081
+ Mr[D] = _e(D) ? 1 : 0, Fr[D] = _e(D);
1082
+ const Ur = [];
1081
1083
  for (let e = 0; e < 256; ++e)
1082
- Br.push((e + 256).toString(16).slice(1));
1084
+ Ur.push((e + 256).toString(16).slice(1));
1083
1085
  typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
1084
- const { useAxios: Kn, useDeleteUrlBuilder: Rn, useErrors: Fr, useExternalLinkCreator: Vn, useFetchUrlBuilder: Hn, useFetcher: Yn, useDebouncedFilter: Zn, useStringHelpers: Wn, useHelpers: Qn, useGatewayFeatureSupported: Gn, useTruncationDetector: Jn, useValidators: Xn } = wt;
1085
- var j = /* @__PURE__ */ ((e) => (e.Debug = "debug", e.Info = "info", e.Notice = "notice", e.Warn = "warn", e.Error = "error", e.Critical = "crit", e))(j || {});
1086
- class Ur {
1086
+ const { useAxios: Rn, useDeleteUrlBuilder: Vn, useErrors: Br, useExternalLinkCreator: Hn, useFetchUrlBuilder: Yn, useFetcher: Zn, useDebouncedFilter: Wn, useStringHelpers: Gn, useHelpers: Qn, useGatewayFeatureSupported: Jn, useTruncationDetector: Xn, useValidators: ea } = _t;
1087
+ var O = /* @__PURE__ */ ((e) => (e.Debug = "debug", e.Info = "info", e.Notice = "notice", e.Warn = "warn", e.Error = "error", e.Critical = "crit", e))(O || {});
1088
+ class Pr {
1087
1089
  constructor(t) {
1088
1090
  P(this, "concurrentTokenSet", /* @__PURE__ */ new Set());
1089
1091
  P(this, "concurrentTokenBorrowQueue", []);
@@ -1142,22 +1144,22 @@ class J {
1142
1144
  var n;
1143
1145
  (n = this.tokenBucket) == null || n.clearWaitingQueue(new de(t, r));
1144
1146
  });
1145
- t.maxConcurrentAsyncs > 0 && (this.tokenBucket = new Ur(t.maxConcurrentAsyncs));
1147
+ t.maxConcurrentAsyncs > 0 && (this.tokenBucket = new Pr(t.maxConcurrentAsyncs));
1146
1148
  }
1147
1149
  }
1148
- const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs: 0 }) : new J(e), Dr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1150
+ const Dr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs: 0 }) : new J(e), Kr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1149
1151
  __proto__: null,
1150
1152
  AsyncAbortException: de,
1151
1153
  AsyncScheduler: J,
1152
- useAsyncScheduler: Pr
1154
+ useAsyncScheduler: Dr
1153
1155
  }, Symbol.toStringTag, { value: "Module" })), qe = [
1154
- j.Debug,
1155
- j.Info,
1156
- j.Notice,
1157
- j.Warn,
1158
- j.Error,
1159
- j.Critical
1160
- ], Kr = (e) => {
1156
+ O.Debug,
1157
+ O.Info,
1158
+ O.Notice,
1159
+ O.Warn,
1160
+ O.Error,
1161
+ O.Critical
1162
+ ], Rr = (e) => {
1161
1163
  const { i18n: t } = re();
1162
1164
  return m(() => {
1163
1165
  const r = R(e == null ? void 0 : e.disabled) ?? [];
@@ -1168,8 +1170,8 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1168
1170
  disabled: r.includes(n)
1169
1171
  }));
1170
1172
  });
1171
- }, Rr = (e) => {
1172
- const t = [j.Debug], { i18n: r } = re();
1173
+ }, Vr = (e) => {
1174
+ const t = [O.Debug], { i18n: r } = re();
1173
1175
  return m(() => {
1174
1176
  const n = R(e);
1175
1177
  return {
@@ -1177,7 +1179,7 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1177
1179
  warning: t.includes(n) ? r.t("modal.log_level_disk_space_warning") : void 0
1178
1180
  };
1179
1181
  });
1180
- }, Vr = (e) => {
1182
+ }, Hr = (e) => {
1181
1183
  const { i18n: t } = re();
1182
1184
  return m(() => {
1183
1185
  const r = R(e);
@@ -1191,8 +1193,8 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1191
1193
  const o = Math.floor(r / 3600);
1192
1194
  return o !== 0 && (n = `${o} ${t.t("modal.revert_to_default_after.hours")} ${n}`), n;
1193
1195
  });
1194
- }, Hr = (e) => {
1195
- const t = e.requestExecutor ?? ((o) => o()), { getDataPlaneLogLevel: r, setDataPlaneLogLevel: n } = e, { getMessageFromError: a } = Fr();
1196
+ }, Yr = (e) => {
1197
+ const t = e.requestExecutor ?? ((o) => o()), { getDataPlaneLogLevel: r, setDataPlaneLogLevel: n } = e, { getMessageFromError: a } = Br();
1196
1198
  return { checkDataPlaneLogLevel: (o, s) => {
1197
1199
  const l = w(R(s == null ? void 0 : s.currentLogLevelHint) ?? null);
1198
1200
  l.value === null && t(async () => {
@@ -1217,29 +1219,29 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1217
1219
  }
1218
1220
  };
1219
1221
  } };
1220
- }, Yr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1222
+ }, Zr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1221
1223
  __proto__: null,
1222
1224
  supportedLevels: qe,
1223
- useDataPlaneLogLevelChecker: Hr,
1224
- useFriendlyRevertTime: Vr,
1225
- useLogLevelCandidateSelectItems: Kr,
1226
- useLogLevelExplanation: Rr
1225
+ useDataPlaneLogLevelChecker: Yr,
1226
+ useFriendlyRevertTime: Hr,
1227
+ useLogLevelCandidateSelectItems: Rr,
1228
+ useLogLevelExplanation: Vr
1227
1229
  }, Symbol.toStringTag, { value: "Module" })), z = {
1228
1230
  useI18n: re,
1229
- ...Yr,
1230
- ...Dr
1231
- }, O = "24px", ae = (e, t) => {
1231
+ ...Zr,
1232
+ ...Kr
1233
+ }, q = "24px", ae = (e, t) => {
1232
1234
  const r = e.__vccOpts || e;
1233
1235
  for (const [n, a] of t)
1234
1236
  r[n] = a;
1235
1237
  return r;
1236
- }, Zr = (e) => (ee("data-v-6921da37"), e = e(), te(), e), Wr = ["aria-hidden"], Qr = {
1238
+ }, Wr = (e) => (ee("data-v-6921da37"), e = e(), te(), e), Gr = ["aria-hidden"], Qr = {
1237
1239
  key: 0,
1238
1240
  "data-testid": "kui-icon-svg-title"
1239
- }, Gr = /* @__PURE__ */ Zr(() => /* @__PURE__ */ b("path", {
1241
+ }, Jr = /* @__PURE__ */ Wr(() => /* @__PURE__ */ b("path", {
1240
1242
  d: "M10.6 16.6L17.65 9.55L16.25 8.15L10.6 13.8L7.75 10.95L6.35 12.35L10.6 16.6ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22Z",
1241
1243
  fill: "currentColor"
1242
- }, null, -1)), Jr = /* @__PURE__ */ H({
1244
+ }, null, -1)), Xr = /* @__PURE__ */ H({
1243
1245
  __name: "CheckCircleIcon",
1244
1246
  props: {
1245
1247
  /** The accessibility text provided to screen readers */
@@ -1270,7 +1272,7 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1270
1272
  size: {
1271
1273
  type: [Number, String],
1272
1274
  required: !1,
1273
- default: O,
1275
+ default: q,
1274
1276
  // if setting to the imported const fails, just pass a number of 24 as the default.
1275
1277
  validator: (e) => {
1276
1278
  if (typeof e == "number" && e > 0)
@@ -1299,7 +1301,7 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1299
1301
  if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
1300
1302
  return `${i}px`;
1301
1303
  }
1302
- return O;
1304
+ return q;
1303
1305
  }), n = m(() => ({
1304
1306
  boxSizing: "border-box",
1305
1307
  color: t.color,
@@ -1326,20 +1328,20 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1326
1328
  width: "100%",
1327
1329
  xmlns: "http://www.w3.org/2000/svg"
1328
1330
  }, [
1329
- e.title ? (h(), N("title", Qr, k(e.title), 1)) : F("", !0),
1330
- Gr
1331
- ], 8, Wr))
1331
+ e.title ? (h(), N("title", Qr, k(e.title), 1)) : U("", !0),
1332
+ Jr
1333
+ ], 8, Gr))
1332
1334
  ]),
1333
1335
  _: 1
1334
1336
  }, 8, ["aria-hidden", "style"]));
1335
1337
  }
1336
- }), Xr = /* @__PURE__ */ ae(Jr, [["__scopeId", "data-v-6921da37"]]), en = (e) => (ee("data-v-c4cddd09"), e = e(), te(), e), tn = ["aria-hidden"], rn = {
1338
+ }), en = /* @__PURE__ */ ae(Xr, [["__scopeId", "data-v-6921da37"]]), tn = (e) => (ee("data-v-c4cddd09"), e = e(), te(), e), rn = ["aria-hidden"], nn = {
1337
1339
  key: 0,
1338
1340
  "data-testid": "kui-icon-svg-title"
1339
- }, nn = /* @__PURE__ */ en(() => /* @__PURE__ */ b("path", {
1341
+ }, an = /* @__PURE__ */ tn(() => /* @__PURE__ */ b("path", {
1340
1342
  d: "M8.4 17L12 13.4L15.6 17L17 15.6L13.4 12L17 8.4L15.6 7L12 10.6L8.4 7L7 8.4L10.6 12L7 15.6L8.4 17ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22Z",
1341
1343
  fill: "currentColor"
1342
- }, null, -1)), an = /* @__PURE__ */ H({
1344
+ }, null, -1)), on = /* @__PURE__ */ H({
1343
1345
  __name: "ClearIcon",
1344
1346
  props: {
1345
1347
  /** The accessibility text provided to screen readers */
@@ -1370,7 +1372,7 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1370
1372
  size: {
1371
1373
  type: [Number, String],
1372
1374
  required: !1,
1373
- default: O,
1375
+ default: q,
1374
1376
  // if setting to the imported const fails, just pass a number of 24 as the default.
1375
1377
  validator: (e) => {
1376
1378
  if (typeof e == "number" && e > 0)
@@ -1399,7 +1401,7 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1399
1401
  if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
1400
1402
  return `${i}px`;
1401
1403
  }
1402
- return O;
1404
+ return q;
1403
1405
  }), n = m(() => ({
1404
1406
  boxSizing: "border-box",
1405
1407
  color: t.color,
@@ -1426,20 +1428,20 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1426
1428
  width: "100%",
1427
1429
  xmlns: "http://www.w3.org/2000/svg"
1428
1430
  }, [
1429
- e.title ? (h(), N("title", rn, k(e.title), 1)) : F("", !0),
1430
- nn
1431
- ], 8, tn))
1431
+ e.title ? (h(), N("title", nn, k(e.title), 1)) : U("", !0),
1432
+ an
1433
+ ], 8, rn))
1432
1434
  ]),
1433
1435
  _: 1
1434
1436
  }, 8, ["aria-hidden", "style"]));
1435
1437
  }
1436
- }), on = /* @__PURE__ */ ae(an, [["__scopeId", "data-v-c4cddd09"]]), sn = (e) => (ee("data-v-68742da1"), e = e(), te(), e), ln = ["aria-hidden"], un = {
1438
+ }), sn = /* @__PURE__ */ ae(on, [["__scopeId", "data-v-c4cddd09"]]), ln = (e) => (ee("data-v-68742da1"), e = e(), te(), e), un = ["aria-hidden"], cn = {
1437
1439
  key: 0,
1438
1440
  "data-testid": "kui-icon-svg-title"
1439
- }, cn = /* @__PURE__ */ sn(() => /* @__PURE__ */ b("path", {
1441
+ }, dn = /* @__PURE__ */ ln(() => /* @__PURE__ */ b("path", {
1440
1442
  d: "M4 17V14H20V17H4ZM4 10V7H20V10H4Z",
1441
1443
  fill: "currentColor"
1442
- }, null, -1)), dn = /* @__PURE__ */ H({
1444
+ }, null, -1)), pn = /* @__PURE__ */ H({
1443
1445
  __name: "EqualIcon",
1444
1446
  props: {
1445
1447
  /** The accessibility text provided to screen readers */
@@ -1470,7 +1472,7 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1470
1472
  size: {
1471
1473
  type: [Number, String],
1472
1474
  required: !1,
1473
- default: O,
1475
+ default: q,
1474
1476
  // if setting to the imported const fails, just pass a number of 24 as the default.
1475
1477
  validator: (e) => {
1476
1478
  if (typeof e == "number" && e > 0)
@@ -1499,7 +1501,7 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1499
1501
  if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
1500
1502
  return `${i}px`;
1501
1503
  }
1502
- return O;
1504
+ return q;
1503
1505
  }), n = m(() => ({
1504
1506
  boxSizing: "border-box",
1505
1507
  color: t.color,
@@ -1526,21 +1528,21 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1526
1528
  width: "100%",
1527
1529
  xmlns: "http://www.w3.org/2000/svg"
1528
1530
  }, [
1529
- e.title ? (h(), N("title", un, k(e.title), 1)) : F("", !0),
1530
- cn
1531
- ], 8, ln))
1531
+ e.title ? (h(), N("title", cn, k(e.title), 1)) : U("", !0),
1532
+ dn
1533
+ ], 8, un))
1532
1534
  ]),
1533
1535
  _: 1
1534
1536
  }, 8, ["aria-hidden", "style"]));
1535
1537
  }
1536
- }), pn = /* @__PURE__ */ ae(dn, [["__scopeId", "data-v-68742da1"]]), Oe = (e) => (ee("data-v-ae02d9ee"), e = e(), te(), e), fn = ["aria-hidden"], gn = {
1538
+ }), fn = /* @__PURE__ */ ae(pn, [["__scopeId", "data-v-68742da1"]]), ze = (e) => (ee("data-v-ae02d9ee"), e = e(), te(), e), gn = ["aria-hidden"], hn = {
1537
1539
  key: 0,
1538
1540
  "data-testid": "kui-icon-svg-title"
1539
- }, hn = /* @__PURE__ */ Oe(() => /* @__PURE__ */ b("path", {
1541
+ }, vn = /* @__PURE__ */ ze(() => /* @__PURE__ */ b("path", {
1540
1542
  d: "M12 22C10.6333 22 9.34167 21.7375 8.125 21.2125C6.90833 20.6875 5.84583 19.9708 4.9375 19.0625C4.02917 18.1542 3.3125 17.0917 2.7875 15.875C2.2625 14.6583 2 13.3667 2 12C2 10.6167 2.2625 9.32083 2.7875 8.1125C3.3125 6.90417 4.02917 5.84583 4.9375 4.9375C5.84583 4.02917 6.90833 3.3125 8.125 2.7875C9.34167 2.2625 10.6333 2 12 2C12.2833 2 12.5208 2.09583 12.7125 2.2875C12.9042 2.47917 13 2.71667 13 3C13 3.28333 12.9042 3.52083 12.7125 3.7125C12.5208 3.90417 12.2833 4 12 4C9.78333 4 7.89583 4.77917 6.3375 6.3375C4.77917 7.89583 4 9.78333 4 12C4 14.2167 4.77917 16.1042 6.3375 17.6625C7.89583 19.2208 9.78333 20 12 20C14.2167 20 16.1042 19.2208 17.6625 17.6625C19.2208 16.1042 20 14.2167 20 12C20 11.7167 20.0958 11.4792 20.2875 11.2875C20.4792 11.0958 20.7167 11 21 11C21.2833 11 21.5208 11.0958 21.7125 11.2875C21.9042 11.4792 22 11.7167 22 12C22 13.3667 21.7375 14.6583 21.2125 15.875C20.6875 17.0917 19.9708 18.1542 19.0625 19.0625C18.1542 19.9708 17.0958 20.6875 15.8875 21.2125C14.6792 21.7375 13.3833 22 12 22Z",
1541
1543
  fill: "currentColor",
1542
1544
  "transform-origin": "center"
1543
- }, null, -1)), vn = /* @__PURE__ */ Oe(() => /* @__PURE__ */ b("animateTransform", {
1545
+ }, null, -1)), mn = /* @__PURE__ */ ze(() => /* @__PURE__ */ b("animateTransform", {
1544
1546
  attributeName: "transform",
1545
1547
  attributeType: "XML",
1546
1548
  dur: "1.5s",
@@ -1548,7 +1550,7 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1548
1550
  repeatCount: "indefinite",
1549
1551
  to: "360",
1550
1552
  type: "rotate"
1551
- }, null, -1)), mn = /* @__PURE__ */ H({
1553
+ }, null, -1)), yn = /* @__PURE__ */ H({
1552
1554
  __name: "ProgressIcon",
1553
1555
  props: {
1554
1556
  /** The accessibility text provided to screen readers */
@@ -1579,7 +1581,7 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1579
1581
  size: {
1580
1582
  type: [Number, String],
1581
1583
  required: !1,
1582
- default: O,
1584
+ default: q,
1583
1585
  // if setting to the imported const fails, just pass a number of 24 as the default.
1584
1586
  validator: (e) => {
1585
1587
  if (typeof e == "number" && e > 0)
@@ -1608,7 +1610,7 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1608
1610
  if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
1609
1611
  return `${i}px`;
1610
1612
  }
1611
- return O;
1613
+ return q;
1612
1614
  }), n = m(() => ({
1613
1615
  boxSizing: "border-box",
1614
1616
  color: t.color,
@@ -1635,15 +1637,15 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1635
1637
  width: "100%",
1636
1638
  xmlns: "http://www.w3.org/2000/svg"
1637
1639
  }, [
1638
- e.title ? (h(), N("title", gn, k(e.title), 1)) : F("", !0),
1639
- hn,
1640
- vn
1641
- ], 8, fn))
1640
+ e.title ? (h(), N("title", hn, k(e.title), 1)) : U("", !0),
1641
+ vn,
1642
+ mn
1643
+ ], 8, gn))
1642
1644
  ]),
1643
1645
  _: 1
1644
1646
  }, 8, ["aria-hidden", "style"]));
1645
1647
  }
1646
- }), yn = /* @__PURE__ */ ae(mn, [["__scopeId", "data-v-ae02d9ee"]]), bn = { "data-testid": "log-change-action" }, wn = { key: 0 }, _n = { "data-testid": "log-change-action-current-level" }, kn = { key: 0 }, xn = { "data-testid": "log-change-action-target-level" }, Cn = { "data-testid": "log-change-status" }, Ln = /* @__PURE__ */ H({
1648
+ }), bn = /* @__PURE__ */ ae(yn, [["__scopeId", "data-v-ae02d9ee"]]), wn = { "data-testid": "log-change-action" }, _n = { key: 0 }, kn = { "data-testid": "log-change-action-current-level" }, xn = { key: 0 }, Cn = { "data-testid": "log-change-action-target-level" }, Ln = { "data-testid": "log-change-status" }, Sn = /* @__PURE__ */ H({
1647
1649
  __name: "CLLModalNodeRow",
1648
1650
  props: {
1649
1651
  dataPlaneId: {},
@@ -1695,39 +1697,39 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1695
1697
  }), c = m(() => {
1696
1698
  switch (i.value) {
1697
1699
  case "success":
1698
- return Xr;
1700
+ return en;
1699
1701
  case "error":
1700
1702
  case "not_supported":
1701
- return on;
1703
+ return sn;
1702
1704
  case "loading":
1703
- return yn;
1705
+ return bn;
1704
1706
  default:
1705
- return pn;
1707
+ return fn;
1706
1708
  }
1707
1709
  });
1708
1710
  return (d, u) => {
1709
- const p = B("KSkeleton"), _ = B("KBadge"), E = B("KTooltip");
1711
+ const p = F("KSkeleton"), _ = F("KBadge"), $ = F("KTooltip");
1710
1712
  return h(), N("tr", null, [
1711
1713
  b("td", null, k(d.hostname), 1),
1712
- b("td", bn, [
1713
- g(a) === "not_supported" ? (h(), N("span", wn, k(g(n).t("log_level.not_applicable")), 1)) : g(a) ? (h(), N(xe, { key: 2 }, [
1714
- b("span", _n, k(g(n).t(`log_level.${g(a)}`)), 1),
1715
- g(a) !== d.targetLogLevel ? (h(), N("span", kn, [
1714
+ b("td", wn, [
1715
+ g(a) === "not_supported" ? (h(), N("span", _n, k(g(n).t("log_level.not_applicable")), 1)) : g(a) ? (h(), N(xe, { key: 2 }, [
1716
+ b("span", kn, k(g(n).t(`log_level.${g(a)}`)), 1),
1717
+ g(a) !== d.targetLogLevel ? (h(), N("span", xn, [
1716
1718
  Z(" → "),
1717
- b("span", xn, k(g(n).t(`log_level.${d.targetLogLevel}`)), 1)
1718
- ])) : F("", !0)
1719
+ b("span", Cn, k(g(n).t(`log_level.${d.targetLogLevel}`)), 1)
1720
+ ])) : U("", !0)
1719
1721
  ], 64)) : (h(), T(p, {
1720
1722
  key: 1,
1721
1723
  type: "spinner"
1722
1724
  }))
1723
1725
  ]),
1724
- b("td", Cn, [
1725
- g(o) ? (h(), T(E, {
1726
+ b("td", Ln, [
1727
+ g(o) ? (h(), T($, {
1726
1728
  key: 0,
1727
1729
  text: g(o)
1728
1730
  }, {
1729
1731
  default: A(() => [
1730
- G(_, {
1732
+ Q(_, {
1731
1733
  appearance: l.value,
1732
1734
  class: "badge-cell"
1733
1735
  }, {
@@ -1758,25 +1760,25 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1758
1760
  ]);
1759
1761
  };
1760
1762
  }
1761
- }), ze = (e, t) => {
1763
+ }), Me = (e, t) => {
1762
1764
  const r = e.__vccOpts || e;
1763
1765
  for (const [n, a] of t)
1764
1766
  r[n] = a;
1765
1767
  return r;
1766
- }, Sn = /* @__PURE__ */ ze(Ln, [["__scopeId", "data-v-ac7205dd"]]), Nn = { class: "explanation-wrapper" }, In = {
1768
+ }, Nn = /* @__PURE__ */ Me(Sn, [["__scopeId", "data-v-ac7205dd"]]), In = { class: "explanation-wrapper" }, Tn = {
1767
1769
  key: 0,
1768
1770
  class: "warning-message",
1769
1771
  "data-testid": "log-level-warning-message"
1770
- }, Tn = { class: "revert-after-wrapper" }, An = { class: "time" }, En = { class: "seconds" }, $n = {
1772
+ }, An = { class: "revert-after-wrapper" }, $n = { class: "time" }, En = { class: "seconds" }, On = {
1771
1773
  class: "formatted-time",
1772
1774
  "data-testid": "log-level-timeout-formatted"
1773
1775
  }, jn = {
1774
1776
  class: "data-plane-node-list",
1775
1777
  "data-testid": "data-plane-node-list"
1776
- }, qn = { style: { width: "40%" } }, On = { style: { width: "40%" } }, zn = /* @__PURE__ */ H({
1778
+ }, qn = { style: { width: "40%" } }, zn = { style: { width: "40%" } }, Mn = /* @__PURE__ */ H({
1777
1779
  name: "ChangeLogLevelModal",
1778
1780
  __name: "ChangeLogLevelModal",
1779
- props: /* @__PURE__ */ Pe({
1781
+ props: /* @__PURE__ */ De({
1780
1782
  instanceList: {},
1781
1783
  instanceLogLevel: {},
1782
1784
  requests: {}
@@ -1786,26 +1788,26 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1786
1788
  }),
1787
1789
  emits: ["update:visible"],
1788
1790
  setup(e) {
1789
- const t = e, r = De(e, "visible"), n = j.Notice, { i18n: a } = z.useI18n(), i = w("edit"), o = w(n), s = w("60"), l = m(() => Math.floor(Number(s.value))), f = m(() => t.instanceList.filter((I) => I.hasDLLCapability !== !1)), c = m(() => {
1791
+ const t = e, r = Ke(e, "visible"), n = O.Notice, { i18n: a } = z.useI18n(), i = w("edit"), o = w(n), s = w("60"), l = m(() => Math.floor(Number(s.value))), f = m(() => t.instanceList.filter((I) => I.hasDLLCapability !== !1)), c = m(() => {
1790
1792
  const I = f.value.length === 1 ? a.t("modal.change_log_level.summary_with_name", { name: f.value[0].hostname }) : a.t("modal.change_log_level.summary_with_number", { number: `${f.value.length}` });
1791
1793
  return a.t("modal.change_log_level.title", { summary: I });
1792
1794
  }), d = m(() => i.value === "submitting" || isNaN(l.value) || l.value <= 0 || f.value.length === 0), u = z.useLogLevelCandidateSelectItems({
1793
1795
  initialSelected: n
1794
- }), p = z.useLogLevelExplanation(o), _ = z.useFriendlyRevertTime(l), E = z.useAsyncScheduler(
1796
+ }), p = z.useLogLevelExplanation(o), _ = z.useFriendlyRevertTime(l), $ = z.useAsyncScheduler(
1795
1797
  t.requests.scheduler === void 0 ? { maxConcurrentAsyncs: 10 } : t.requests.scheduler
1796
1798
  ), { checkDataPlaneLogLevel: ie } = z.useDataPlaneLogLevelChecker({
1797
1799
  getDataPlaneLogLevel: t.requests.getDataPlaneLogLevel,
1798
1800
  setDataPlaneLogLevel: t.requests.setDataPlaneLogLevel,
1799
- requestExecutor: E.schedule
1800
- }), U = /* @__PURE__ */ new Map(), oe = (I, v) => {
1801
- v === null ? U.delete(I) : U.set(I, v);
1801
+ requestExecutor: $.schedule
1802
+ }), B = /* @__PURE__ */ new Map(), oe = (I, v) => {
1803
+ v === null ? B.delete(I) : B.set(I, v);
1802
1804
  }, y = async () => {
1803
1805
  if (i.value !== "edit") {
1804
1806
  Y();
1805
1807
  return;
1806
1808
  }
1807
1809
  i.value = "submitting";
1808
- const I = Array.from(U.values()).map((v) => v.updateLogLevel(o.value, l.value));
1810
+ const I = Array.from(B.values()).map((v) => v.updateLogLevel(o.value, l.value));
1809
1811
  try {
1810
1812
  await Promise.all(I);
1811
1813
  } catch (v) {
@@ -1815,7 +1817,7 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1815
1817
  }
1816
1818
  }, Y = () => {
1817
1819
  r.value = !1, s.value = "60", i.value = "edit", o.value = n;
1818
- }, Q = m(() => {
1820
+ }, G = m(() => {
1819
1821
  switch (i.value) {
1820
1822
  case "submitting":
1821
1823
  return a.t("modal.action_button.submitting");
@@ -1826,10 +1828,10 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1826
1828
  }
1827
1829
  });
1828
1830
  return (I, v) => {
1829
- const S = B("KSelect"), q = B("KLabel"), x = B("KInput"), $ = B("KModal");
1830
- return h(), T($, {
1831
+ const S = F("KSelect"), j = F("KLabel"), x = F("KInput"), E = F("KModal");
1832
+ return h(), T(E, {
1831
1833
  "action-button-disabled": d.value,
1832
- "action-button-text": Q.value,
1834
+ "action-button-text": G.value,
1833
1835
  "data-testid": "change-log-level-modal",
1834
1836
  "hide-cancel-button": !0,
1835
1837
  "hide-close-icon": i.value === "submitting",
@@ -1848,26 +1850,26 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1848
1850
  "data-testid": "log-level-select",
1849
1851
  items: g(u),
1850
1852
  label: g(a).t("modal.select_log_level_title")
1851
- }, null, 8, ["modelValue", "items", "label"])) : F("", !0),
1852
- b("div", Nn, [
1853
- G(q, null, {
1853
+ }, null, 8, ["modelValue", "items", "label"])) : U("", !0),
1854
+ b("div", In, [
1855
+ Q(j, null, {
1854
1856
  default: A(() => [
1855
1857
  Z(k(g(a).t(`log_level.${o.value}`)), 1)
1856
1858
  ]),
1857
1859
  _: 1
1858
1860
  }),
1859
1861
  b("div", null, k(g(p).explanation), 1),
1860
- g(p).warning ? (h(), N("div", In, k(g(p).warning), 1)) : F("", !0)
1862
+ g(p).warning ? (h(), N("div", Tn, k(g(p).warning), 1)) : U("", !0)
1861
1863
  ]),
1862
- b("div", Tn, [
1863
- G(q, null, {
1864
+ b("div", An, [
1865
+ Q(j, null, {
1864
1866
  default: A(() => [
1865
1867
  Z(k(g(a).t("modal.revert_to_default_after.label")), 1)
1866
1868
  ]),
1867
1869
  _: 1
1868
1870
  }),
1869
- b("div", An, [
1870
- G(x, {
1871
+ b("div", $n, [
1872
+ Q(x, {
1871
1873
  modelValue: s.value,
1872
1874
  "onUpdate:modelValue": v[1] || (v[1] = (L) => s.value = L),
1873
1875
  class: "time-input",
@@ -1878,22 +1880,22 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1878
1880
  type: "number"
1879
1881
  }, null, 8, ["modelValue", "disabled", "error"]),
1880
1882
  b("span", En, k(g(a).t("modal.revert_to_default_after.seconds")), 1),
1881
- b("span", $n, k(g(_)), 1)
1883
+ b("span", On, k(g(_)), 1)
1882
1884
  ])
1883
1885
  ]),
1884
1886
  b("table", jn, [
1885
1887
  b("thead", null, [
1886
1888
  b("th", qn, k(g(a).t("modal.dp_list.header.host")), 1),
1887
- b("th", On, k(g(a).t("modal.dp_list.header.action")), 1),
1889
+ b("th", zn, k(g(a).t("modal.dp_list.header.action")), 1),
1888
1890
  b("th", null, k(g(a).t("modal.dp_list.header.status")), 1)
1889
1891
  ]),
1890
1892
  b("tbody", null, [
1891
- (h(!0), N(xe, null, Ke(t.instanceList, (L) => {
1893
+ (h(!0), N(xe, null, Re(t.instanceList, (L) => {
1892
1894
  var pe;
1893
- return h(), T(Sn, {
1895
+ return h(), T(Nn, {
1894
1896
  key: L.id,
1895
1897
  ref_for: !0,
1896
- ref: (Me) => oe(L.id, Me),
1898
+ ref: (Fe) => oe(L.id, Fe),
1897
1899
  "check-log-level": g(ie),
1898
1900
  "data-plane-id": L.id,
1899
1901
  "data-testid": `data-plane-node-list-row-${L.id}`,
@@ -1910,9 +1912,9 @@ const Pr = (e) => e instanceof J ? e : e === null ? new J({ maxConcurrentAsyncs:
1910
1912
  }, 8, ["action-button-disabled", "action-button-text", "hide-close-icon", "title", "visible"]);
1911
1913
  };
1912
1914
  }
1913
- }), ea = /* @__PURE__ */ ze(zn, [["__scopeId", "data-v-983a59ac"]]);
1915
+ }), ta = /* @__PURE__ */ Me(Mn, [["__scopeId", "data-v-983a59ac"]]);
1914
1916
  export {
1915
- ea as ChangeLogLevelModal,
1916
- j as LogLevel,
1917
+ ta as ChangeLogLevelModal,
1918
+ O as LogLevel,
1917
1919
  z as composables
1918
1920
  };