@kong-ui-public/entities-plugins 9.5.2 → 9.6.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,12 +1,12 @@
1
1
  var Xo = Object.defineProperty;
2
2
  var Qo = (e, t, n) => t in e ? Xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Be = (e, t, n) => Qo(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as Z, resolveComponent as V, openBlock as p, createElementBlock as I, createBlock as H, resolveDynamicComponent as Ye, withCtx as E, Fragment as Ae, renderList as Ee, createCommentVNode as ie, createSlots as Dt, renderSlot as ct, normalizeClass as Oe, createTextVNode as me, toDisplayString as N, createVNode as G, createElementVNode as y, normalizeProps as Zo, guardReactiveProps as Wo, defineComponent as ye, provide as on, useSlots as Xn, computed as F, onMounted as Rn, unref as g, nextTick as Bn, mergeProps as rt, toRefs as Ft, isRef as kn, inject as Es, onBeforeMount as rn, Transition as _o, resolveDirective as ws, withDirectives as Ke, vModelText as gn, vModelCheckbox as $o, vModelSelect as er, vModelDynamic as Cs, vModelRadio as tr, vShow as nr, watch as lt, reactive as mn, Teleport as Bs, withModifiers as fn, onUnmounted as Os, normalizeStyle as Is, mergeModels as ia, useModel as ir } from "vue";
5
- import { useStringHelpers as Pi, ConfigurationSchemaType as Ne, useAxios as Kt, useDebouncedFilter as aa, useHelpers as Qn, useErrors as Zn, EntityBaseFormType as xt, EntityBaseForm as ar, SupportedEntityType as Ei, JsonCodeBlock as sr, YamlCodeBlock as or, TerraformCodeBlock as rr, useGatewayFeatureSupported as lr, useFetcher as cr, useDeleteUrlBuilder as ur, FetcherStatus as dr, EntityBaseTable as pr, EntityFilter as Ar, PermissionsWrapper as Gt, TableTags as gr, EntityToggleModal as mr, EntityDeleteModal as Ms, EntityTypes as Rs, ConfigurationSchemaSection as Wt, useSchemaProvider as fr, EntityBaseConfigCard as hr, InternalLinkItem as Ln } from "@kong-ui-public/entities-shared";
4
+ import { ref as Z, resolveComponent as V, openBlock as p, createElementBlock as I, createBlock as H, resolveDynamicComponent as Ye, withCtx as E, Fragment as Ae, renderList as Ee, createCommentVNode as ie, createSlots as Dt, renderSlot as ct, normalizeClass as Oe, createTextVNode as me, toDisplayString as F, createVNode as G, createElementVNode as y, normalizeProps as Zo, guardReactiveProps as Wo, defineComponent as ye, provide as on, useSlots as Xn, computed as K, onMounted as Rn, unref as g, nextTick as Bn, mergeProps as rt, toRefs as Ft, isRef as kn, inject as ws, onBeforeMount as rn, Transition as _o, resolveDirective as Cs, withDirectives as Ke, vModelText as gn, vModelCheckbox as $o, vModelSelect as er, vModelDynamic as Bs, vModelRadio as tr, vShow as nr, watch as lt, reactive as mn, Teleport as Os, withModifiers as fn, onUnmounted as Is, normalizeStyle as Ms, mergeModels as aa, useModel as ir } from "vue";
5
+ import { useStringHelpers as Ui, ConfigurationSchemaType as Ne, useAxios as Kt, useDebouncedFilter as sa, useHelpers as Qn, useErrors as Zn, EntityBaseFormType as xt, EntityBaseForm as ar, SupportedEntityType as wi, JsonCodeBlock as sr, YamlCodeBlock as or, TerraformCodeBlock as rr, useGatewayFeatureSupported as lr, useFetcher as cr, useDeleteUrlBuilder as ur, FetcherStatus as dr, EntityBaseTable as pr, EntityFilter as Ar, PermissionsWrapper as Gt, TableTags as gr, EntityToggleModal as mr, EntityDeleteModal as Rs, EntityTypes as ks, ConfigurationSchemaSection as Wt, useSchemaProvider as fr, EntityBaseConfigCard as hr, InternalLinkItem as Ln } from "@kong-ui-public/entities-shared";
6
6
  import { useRouter as Wn, useRoute as vr } from "vue-router";
7
- import { createI18n as ln, i18nTComponent as ks } from "@kong-ui-public/i18n";
8
- import { RemoveIcon as yr, AddIcon as Ui, TrashIcon as Tn, MoreIcon as br } from "@kong/icons";
9
- function Li() {
7
+ import { createI18n as ln, i18nTComponent as Ts } from "@kong-ui-public/i18n";
8
+ import { RemoveIcon as yr, AddIcon as Li, TrashIcon as Tn, MoreIcon as br } from "@kong/icons";
9
+ function Di() {
10
10
  return {
11
11
  async: !1,
12
12
  breaks: !1,
@@ -20,23 +20,23 @@ function Li() {
20
20
  walkTokens: null
21
21
  };
22
22
  }
23
- let zt = Li();
24
- function Ts(e) {
23
+ let zt = Di();
24
+ function Ss(e) {
25
25
  zt = e;
26
26
  }
27
- const Ss = /[&<>"']/, Er = new RegExp(Ss.source, "g"), xs = /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, wr = new RegExp(xs.source, "g"), Cr = {
27
+ const xs = /[&<>"']/, Er = new RegExp(xs.source, "g"), Gs = /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, wr = new RegExp(Gs.source, "g"), Cr = {
28
28
  "&": "&amp;",
29
29
  "<": "&lt;",
30
30
  ">": "&gt;",
31
31
  '"': "&quot;",
32
32
  "'": "&#39;"
33
- }, sa = (e) => Cr[e];
33
+ }, oa = (e) => Cr[e];
34
34
  function Ze(e, t) {
35
35
  if (t) {
36
- if (Ss.test(e))
37
- return e.replace(Er, sa);
38
- } else if (xs.test(e))
39
- return e.replace(wr, sa);
36
+ if (xs.test(e))
37
+ return e.replace(Er, oa);
38
+ } else if (Gs.test(e))
39
+ return e.replace(wr, oa);
40
40
  return e;
41
41
  }
42
42
  const Br = /(^|[^\[])\^/g;
@@ -52,7 +52,7 @@ function we(e, t) {
52
52
  };
53
53
  return i;
54
54
  }
55
- function oa(e) {
55
+ function ra(e) {
56
56
  try {
57
57
  e = encodeURI(e).replace(/%25/g, "%");
58
58
  } catch {
@@ -61,7 +61,7 @@ function oa(e) {
61
61
  return e;
62
62
  }
63
63
  const hn = { exec: () => null };
64
- function ra(e, t) {
64
+ function la(e, t) {
65
65
  const n = e.replace(/\|/g, (s, o, r) => {
66
66
  let c = !1, d = o;
67
67
  for (; --d >= 0 && r[d] === "\\"; )
@@ -108,7 +108,7 @@ function Or(e, t) {
108
108
  return i;
109
109
  return -1;
110
110
  }
111
- function la(e, t, n, i) {
111
+ function ca(e, t, n, i) {
112
112
  const a = t.href, s = t.title ? Ze(t.title) : null, o = e[1].replace(/\\([\[\]])/g, "$1");
113
113
  if (e[0].charAt(0) !== "!") {
114
114
  i.state.inLink = !0;
@@ -292,18 +292,18 @@ ${A}` : A;
292
292
  `, 1)[0], k = !A.trim(), L = 0;
293
293
  if (this.options.pedantic ? (L = 2, u = A.trimStart()) : k ? L = n[1].length + 1 : (L = n[2].search(/[^ ]/), L = L > 4 ? 1 : L, u = A.slice(L), L += n[1].length), k && /^[ \t]*$/.test(m) && (d += m + `
294
294
  `, t = t.substring(m.length + 1), c = !0), !c) {
295
- const P = new RegExp(`^ {0,${Math.min(3, L - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), K = new RegExp(`^ {0,${Math.min(3, L - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), B = new RegExp(`^ {0,${Math.min(3, L - 1)}}(?:\`\`\`|~~~)`), f = new RegExp(`^ {0,${Math.min(3, L - 1)}}#`), M = new RegExp(`^ {0,${Math.min(3, L - 1)}}<[a-z].*>`, "i");
295
+ const P = new RegExp(`^ {0,${Math.min(3, L - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), z = new RegExp(`^ {0,${Math.min(3, L - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), B = new RegExp(`^ {0,${Math.min(3, L - 1)}}(?:\`\`\`|~~~)`), f = new RegExp(`^ {0,${Math.min(3, L - 1)}}#`), M = new RegExp(`^ {0,${Math.min(3, L - 1)}}<[a-z].*>`, "i");
296
296
  for (; t; ) {
297
297
  const h = t.split(`
298
298
  `, 1)[0];
299
299
  let R;
300
- if (m = h, this.options.pedantic ? (m = m.replace(/^ {1,4}(?=( {4})*[^ ])/g, " "), R = m) : R = m.replace(/\t/g, " "), B.test(m) || f.test(m) || M.test(m) || P.test(m) || K.test(m))
300
+ if (m = h, this.options.pedantic ? (m = m.replace(/^ {1,4}(?=( {4})*[^ ])/g, " "), R = m) : R = m.replace(/\t/g, " "), B.test(m) || f.test(m) || M.test(m) || P.test(m) || z.test(m))
301
301
  break;
302
302
  if (R.search(/[^ ]/) >= L || !m.trim())
303
303
  u += `
304
304
  ` + R.slice(L);
305
305
  else {
306
- if (k || A.replace(/\t/g, " ").search(/[^ ]/) >= 4 || B.test(A) || f.test(A) || K.test(A))
306
+ if (k || A.replace(/\t/g, " ").search(/[^ ]/) >= 4 || B.test(A) || f.test(A) || z.test(A))
307
307
  break;
308
308
  u += `
309
309
  ` + m;
@@ -364,7 +364,7 @@ ${A}` : A;
364
364
  const n = this.rules.block.table.exec(t);
365
365
  if (!n || !/[:|]/.test(n[2]))
366
366
  return;
367
- const i = ra(n[1]), a = n[2].replace(/^\||\| *$/g, "").split("|"), s = n[3] && n[3].trim() ? n[3].replace(/\n[ \t]*$/, "").split(`
367
+ const i = la(n[1]), a = n[2].replace(/^\||\| *$/g, "").split("|"), s = n[3] && n[3].trim() ? n[3].replace(/\n[ \t]*$/, "").split(`
368
368
  `) : [], o = {
369
369
  type: "table",
370
370
  raw: n[0],
@@ -383,7 +383,7 @@ ${A}` : A;
383
383
  align: o.align[r]
384
384
  });
385
385
  for (const r of s)
386
- o.rows.push(ra(r, o.header.length).map((c, d) => ({
386
+ o.rows.push(la(r, o.header.length).map((c, d) => ({
387
387
  text: c,
388
388
  tokens: this.lexer.inline(c),
389
389
  header: !1,
@@ -470,7 +470,7 @@ ${A}` : A;
470
470
  o && (a = o[1], s = o[3]);
471
471
  } else
472
472
  s = n[3] ? n[3].slice(1, -1) : "";
473
- return a = a.trim(), /^</.test(a) && (this.options.pedantic && !/>$/.test(i) ? a = a.slice(1) : a = a.slice(1, -1)), la(n, {
473
+ return a = a.trim(), /^</.test(a) && (this.options.pedantic && !/>$/.test(i) ? a = a.slice(1) : a = a.slice(1, -1)), ca(n, {
474
474
  href: a && a.replace(this.rules.inline.anyPunctuation, "$1"),
475
475
  title: s && s.replace(this.rules.inline.anyPunctuation, "$1")
476
476
  }, n[0], this.lexer);
@@ -488,7 +488,7 @@ ${A}` : A;
488
488
  text: o
489
489
  };
490
490
  }
491
- return la(i, s, i[0], this.lexer);
491
+ return ca(i, s, i[0], this.lexer);
492
492
  }
493
493
  }
494
494
  emStrong(t, n, i = "") {
@@ -622,7 +622,7 @@ ${A}` : A;
622
622
  }
623
623
  }
624
624
  }
625
- const Mr = /^(?:[ \t]*(?:\n|$))+/, Rr = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, kr = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Sn = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Tr = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Gs = /(?:[*+-]|\d{1,9}[.)])/, Ps = we(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Gs).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), Di = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Sr = /^[^\n]+/, ji = /(?!\s*\])(?:\\.|[^\[\]\\])+/, xr = we(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", ji).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Gr = we(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Gs).getRegex(), _n = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Yi = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Pr = we("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Yi).replace("tag", _n).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Us = we(Di).replace("hr", Sn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", _n).getRegex(), Ur = we(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Us).getRegex(), Hi = {
625
+ const Mr = /^(?:[ \t]*(?:\n|$))+/, Rr = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, kr = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Sn = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Tr = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Ps = /(?:[*+-]|\d{1,9}[.)])/, Us = we(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Ps).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), ji = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Sr = /^[^\n]+/, Yi = /(?!\s*\])(?:\\.|[^\[\]\\])+/, xr = we(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Yi).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Gr = we(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Ps).getRegex(), _n = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Hi = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Pr = we("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Hi).replace("tag", _n).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Ls = we(ji).replace("hr", Sn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", _n).getRegex(), Ur = we(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Ls).getRegex(), Vi = {
626
626
  blockquote: Ur,
627
627
  code: Rr,
628
628
  def: xr,
@@ -630,69 +630,69 @@ const Mr = /^(?:[ \t]*(?:\n|$))+/, Rr = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*
630
630
  heading: Tr,
631
631
  hr: Sn,
632
632
  html: Pr,
633
- lheading: Ps,
633
+ lheading: Us,
634
634
  list: Gr,
635
635
  newline: Mr,
636
- paragraph: Us,
636
+ paragraph: Ls,
637
637
  table: hn,
638
638
  text: Sr
639
- }, ca = we("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Sn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", _n).getRegex(), Lr = {
640
- ...Hi,
641
- table: ca,
642
- paragraph: we(Di).replace("hr", Sn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", ca).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", _n).getRegex()
639
+ }, ua = we("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Sn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", _n).getRegex(), Lr = {
640
+ ...Vi,
641
+ table: ua,
642
+ paragraph: we(ji).replace("hr", Sn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", ua).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", _n).getRegex()
643
643
  }, Dr = {
644
- ...Hi,
645
- html: we(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", Yi).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
644
+ ...Vi,
645
+ html: we(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", Hi).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
646
646
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
647
647
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
648
648
  fences: hn,
649
649
  // fences not supported
650
650
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
651
- paragraph: we(Di).replace("hr", Sn).replace("heading", ` *#{1,6} *[^
652
- ]`).replace("lheading", Ps).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
653
- }, Ls = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, jr = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Ds = /^( {2,}|\\)\n(?!\s*$)/, Yr = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, xn = "\\p{P}\\p{S}", Hr = we(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, xn).getRegex(), Vr = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Nr = we(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, xn).getRegex(), Fr = we("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, xn).getRegex(), Kr = we("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, xn).getRegex(), zr = we(/\\([punct])/, "gu").replace(/punct/g, xn).getRegex(), qr = we(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Jr = we(Yi).replace("(?:-->|$)", "-->").getRegex(), Xr = we("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", Jr).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Vn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Qr = we(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", Vn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), js = we(/^!?\[(label)\]\[(ref)\]/).replace("label", Vn).replace("ref", ji).getRegex(), Ys = we(/^!?\[(ref)\](?:\[\])?/).replace("ref", ji).getRegex(), Zr = we("reflink|nolink(?!\\()", "g").replace("reflink", js).replace("nolink", Ys).getRegex(), Vi = {
651
+ paragraph: we(ji).replace("hr", Sn).replace("heading", ` *#{1,6} *[^
652
+ ]`).replace("lheading", Us).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
653
+ }, Ds = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, jr = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, js = /^( {2,}|\\)\n(?!\s*$)/, Yr = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, xn = "\\p{P}\\p{S}", Hr = we(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, xn).getRegex(), Vr = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Nr = we(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, xn).getRegex(), Fr = we("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, xn).getRegex(), Kr = we("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, xn).getRegex(), zr = we(/\\([punct])/, "gu").replace(/punct/g, xn).getRegex(), qr = we(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Jr = we(Hi).replace("(?:-->|$)", "-->").getRegex(), Xr = we("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", Jr).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Vn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Qr = we(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", Vn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Ys = we(/^!?\[(label)\]\[(ref)\]/).replace("label", Vn).replace("ref", Yi).getRegex(), Hs = we(/^!?\[(ref)\](?:\[\])?/).replace("ref", Yi).getRegex(), Zr = we("reflink|nolink(?!\\()", "g").replace("reflink", Ys).replace("nolink", Hs).getRegex(), Ni = {
654
654
  _backpedal: hn,
655
655
  // only used for GFM url
656
656
  anyPunctuation: zr,
657
657
  autolink: qr,
658
658
  blockSkip: Vr,
659
- br: Ds,
659
+ br: js,
660
660
  code: jr,
661
661
  del: hn,
662
662
  emStrongLDelim: Nr,
663
663
  emStrongRDelimAst: Fr,
664
664
  emStrongRDelimUnd: Kr,
665
- escape: Ls,
665
+ escape: Ds,
666
666
  link: Qr,
667
- nolink: Ys,
667
+ nolink: Hs,
668
668
  punctuation: Hr,
669
- reflink: js,
669
+ reflink: Ys,
670
670
  reflinkSearch: Zr,
671
671
  tag: Xr,
672
672
  text: Yr,
673
673
  url: hn
674
674
  }, Wr = {
675
- ...Vi,
675
+ ...Ni,
676
676
  link: we(/^!?\[(label)\]\((.*?)\)/).replace("label", Vn).getRegex(),
677
677
  reflink: we(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", Vn).getRegex()
678
- }, wi = {
679
- ...Vi,
680
- escape: we(Ls).replace("])", "~|])").getRegex(),
678
+ }, Ci = {
679
+ ...Ni,
680
+ escape: we(Ds).replace("])", "~|])").getRegex(),
681
681
  url: we(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
682
682
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
683
683
  del: /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,
684
684
  text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
685
685
  }, _r = {
686
- ...wi,
687
- br: we(Ds).replace("{2,}", "*").getRegex(),
688
- text: we(wi.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
686
+ ...Ci,
687
+ br: we(js).replace("{2,}", "*").getRegex(),
688
+ text: we(Ci.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
689
689
  }, Dn = {
690
- normal: Hi,
690
+ normal: Vi,
691
691
  gfm: Lr,
692
692
  pedantic: Dr
693
693
  }, dn = {
694
- normal: Vi,
695
- gfm: wi,
694
+ normal: Ni,
695
+ gfm: Ci,
696
696
  breaks: _r,
697
697
  pedantic: Wr
698
698
  };
@@ -1033,7 +1033,7 @@ ${t}</tr>
1033
1033
  return `<del>${this.parser.parseInline(t)}</del>`;
1034
1034
  }
1035
1035
  link({ href: t, title: n, tokens: i }) {
1036
- const a = this.parser.parseInline(i), s = oa(t);
1036
+ const a = this.parser.parseInline(i), s = ra(t);
1037
1037
  if (s === null)
1038
1038
  return a;
1039
1039
  t = s;
@@ -1041,7 +1041,7 @@ ${t}</tr>
1041
1041
  return n && (o += ' title="' + n + '"'), o += ">" + a + "</a>", o;
1042
1042
  }
1043
1043
  image({ href: t, title: n, text: i }) {
1044
- const a = oa(t);
1044
+ const a = ra(t);
1045
1045
  if (a === null)
1046
1046
  return i;
1047
1047
  t = a;
@@ -1052,7 +1052,7 @@ ${t}</tr>
1052
1052
  return "tokens" in t && t.tokens ? this.parser.parseInline(t.tokens) : t.text;
1053
1053
  }
1054
1054
  }
1055
- class Ni {
1055
+ class Fi {
1056
1056
  // no need for block level renderers
1057
1057
  strong({ text: t }) {
1058
1058
  return t;
@@ -1087,7 +1087,7 @@ class tt {
1087
1087
  Be(this, "options");
1088
1088
  Be(this, "renderer");
1089
1089
  Be(this, "textRenderer");
1090
- this.options = t || zt, this.options.renderer = this.options.renderer || new Nn(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Ni();
1090
+ this.options = t || zt, this.options.renderer = this.options.renderer || new Nn(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Fi();
1091
1091
  }
1092
1092
  /**
1093
1093
  * Static Parse Method
@@ -1288,13 +1288,13 @@ Be(vn, "passThroughHooks", /* @__PURE__ */ new Set([
1288
1288
  ]));
1289
1289
  class $r {
1290
1290
  constructor(...t) {
1291
- Be(this, "defaults", Li());
1291
+ Be(this, "defaults", Di());
1292
1292
  Be(this, "options", this.setOptions);
1293
1293
  Be(this, "parse", this.parseMarkdown(!0));
1294
1294
  Be(this, "parseInline", this.parseMarkdown(!1));
1295
1295
  Be(this, "Parser", tt);
1296
1296
  Be(this, "Renderer", Nn);
1297
- Be(this, "TextRenderer", Ni);
1297
+ Be(this, "TextRenderer", Fi);
1298
1298
  Be(this, "Lexer", et);
1299
1299
  Be(this, "Tokenizer", Hn);
1300
1300
  Be(this, "Hooks", vn);
@@ -1460,35 +1460,35 @@ Please report this to https://github.com/markedjs/marked.`, t) {
1460
1460
  }
1461
1461
  }
1462
1462
  const jt = new $r();
1463
- function he(e, t) {
1463
+ function ve(e, t) {
1464
1464
  return jt.parse(e, t);
1465
1465
  }
1466
- he.options = he.setOptions = function(e) {
1467
- return jt.setOptions(e), he.defaults = jt.defaults, Ts(he.defaults), he;
1466
+ ve.options = ve.setOptions = function(e) {
1467
+ return jt.setOptions(e), ve.defaults = jt.defaults, Ss(ve.defaults), ve;
1468
1468
  };
1469
- he.getDefaults = Li;
1470
- he.defaults = zt;
1471
- he.use = function(...e) {
1472
- return jt.use(...e), he.defaults = jt.defaults, Ts(he.defaults), he;
1469
+ ve.getDefaults = Di;
1470
+ ve.defaults = zt;
1471
+ ve.use = function(...e) {
1472
+ return jt.use(...e), ve.defaults = jt.defaults, Ss(ve.defaults), ve;
1473
1473
  };
1474
- he.walkTokens = function(e, t) {
1474
+ ve.walkTokens = function(e, t) {
1475
1475
  return jt.walkTokens(e, t);
1476
1476
  };
1477
- he.parseInline = jt.parseInline;
1478
- he.Parser = tt;
1479
- he.parser = tt.parse;
1480
- he.Renderer = Nn;
1481
- he.TextRenderer = Ni;
1482
- he.Lexer = et;
1483
- he.lexer = et.lex;
1484
- he.Tokenizer = Hn;
1485
- he.Hooks = vn;
1486
- he.parse = he;
1487
- he.options;
1488
- he.setOptions;
1489
- he.use;
1490
- he.walkTokens;
1491
- he.parseInline;
1477
+ ve.parseInline = jt.parseInline;
1478
+ ve.Parser = tt;
1479
+ ve.parser = tt.parse;
1480
+ ve.Renderer = Nn;
1481
+ ve.TextRenderer = Fi;
1482
+ ve.Lexer = et;
1483
+ ve.lexer = et.lex;
1484
+ ve.Tokenizer = Hn;
1485
+ ve.Hooks = vn;
1486
+ ve.parse = ve;
1487
+ ve.options;
1488
+ ve.setOptions;
1489
+ ve.use;
1490
+ ve.walkTokens;
1491
+ ve.parseInline;
1492
1492
  tt.parse;
1493
1493
  et.lex;
1494
1494
  const el = {
@@ -2097,12 +2097,12 @@ function $n() {
2097
2097
  const e = ln("en-us", rl);
2098
2098
  return {
2099
2099
  i18n: e,
2100
- i18nT: ks(e)
2100
+ i18nT: Ts(e)
2101
2101
  // Translation component <i18n-t>
2102
2102
  };
2103
2103
  }
2104
- function Hs() {
2105
- const { capitalize: e } = Pi(), t = ["methods", "logout_methods"];
2104
+ function Vs() {
2105
+ const { capitalize: e } = Ui(), t = ["methods", "logout_methods"];
2106
2106
  return {
2107
2107
  setFieldType: (u, A, m) => {
2108
2108
  var k, L, b;
@@ -2271,7 +2271,7 @@ const Pt = (e) => {
2271
2271
  created_at: tu,
2272
2272
  updated_at: nu,
2273
2273
  fields: iu
2274
- }, ua = {
2274
+ }, da = {
2275
2275
  fields: [
2276
2276
  {
2277
2277
  group: {
@@ -2323,7 +2323,7 @@ const Pt = (e) => {
2323
2323
  }
2324
2324
  ], su = {
2325
2325
  fields: au
2326
- }, da = {
2326
+ }, pa = {
2327
2327
  fields: [
2328
2328
  {
2329
2329
  username: {}
@@ -2385,7 +2385,7 @@ const Pt = (e) => {
2385
2385
  }
2386
2386
  ], ru = {
2387
2387
  fields: ou
2388
- }, pa = {
2388
+ }, Aa = {
2389
2389
  fields: [
2390
2390
  {
2391
2391
  key: {
@@ -2441,7 +2441,7 @@ const Pt = (e) => {
2441
2441
  }
2442
2442
  ], cu = {
2443
2443
  fields: lu
2444
- }, Aa = {
2444
+ }, ga = {
2445
2445
  fields: [
2446
2446
  {
2447
2447
  username: {
@@ -2618,7 +2618,7 @@ const Pt = (e) => {
2618
2618
  }
2619
2619
  ], gu = {
2620
2620
  fields: Au
2621
- }, ga = {
2621
+ }, ma = {
2622
2622
  fields: [
2623
2623
  { name: {} },
2624
2624
  {
@@ -2744,7 +2744,7 @@ const Pt = (e) => {
2744
2744
  }
2745
2745
  ], fu = {
2746
2746
  fields: mu
2747
- }, ma = {
2747
+ }, fa = {
2748
2748
  fields: [
2749
2749
  {
2750
2750
  key: {
@@ -3557,57 +3557,57 @@ const Pt = (e) => {
3557
3557
  acl: {
3558
3558
  titleKey: "plugins.meta.acl.name",
3559
3559
  plugin: "acl",
3560
- schema: ua,
3560
+ schema: da,
3561
3561
  nameKey: "plugins.meta.acl.credential_name",
3562
3562
  endpoint: "/acls",
3563
3563
  schemaEndpoint: "acls",
3564
- fields: Pt(ua),
3564
+ fields: Pt(da),
3565
3565
  applyCredentialButtonText: "Add group to consumer"
3566
3566
  },
3567
3567
  "basic-auth": {
3568
3568
  titleKey: "plugins.meta.basic-auth.name",
3569
3569
  plugin: "basic-auth",
3570
- schema: da,
3570
+ schema: pa,
3571
3571
  nameKey: "plugins.meta.basic-auth.credential_name",
3572
3572
  endpoint: "/basic-auth",
3573
3573
  schemaEndpoint: "basicauth_credentials",
3574
- fields: Pt(da)
3574
+ fields: Pt(pa)
3575
3575
  },
3576
3576
  "key-auth": {
3577
3577
  titleKey: "plugins.meta.key-auth.name",
3578
3578
  plugin: "key-auth",
3579
- schema: pa,
3579
+ schema: Aa,
3580
3580
  nameKey: "plugins.meta.key-auth.credential_name",
3581
3581
  endpoint: "/key-auth",
3582
3582
  schemaEndpoint: "keyauth_credentials",
3583
- fields: Pt(pa)
3583
+ fields: Pt(Aa)
3584
3584
  },
3585
3585
  "key-auth-enc": {
3586
3586
  titleKey: "plugins.meta.key-auth-enc.name",
3587
3587
  plugin: "key-auth-enc",
3588
- schema: ma,
3588
+ schema: fa,
3589
3589
  nameKey: "plugins.meta.key-auth-enc.credential_name",
3590
3590
  endpoint: "/key-auth-enc",
3591
3591
  schemaEndpoint: "keyauth_enc_credentials",
3592
- fields: Pt(ma)
3592
+ fields: Pt(fa)
3593
3593
  },
3594
3594
  oauth2: {
3595
3595
  titleKey: "plugins.meta.oauth2.name",
3596
3596
  plugin: "oauth2",
3597
- schema: ga,
3597
+ schema: ma,
3598
3598
  nameKey: "plugins.meta.oauth2.credential_name",
3599
3599
  endpoint: "/oauth2",
3600
3600
  schemaEndpoint: "oauth2_credentials",
3601
- fields: Pt(ga)
3601
+ fields: Pt(ma)
3602
3602
  },
3603
3603
  "hmac-auth": {
3604
3604
  titleKey: "plugins.meta.hmac-auth.name",
3605
3605
  plugin: "hmac-auth",
3606
- schema: Aa,
3606
+ schema: ga,
3607
3607
  nameKey: "plugins.meta.hmac-auth.credential_name",
3608
3608
  endpoint: "/hmac-auth",
3609
3609
  schemaEndpoint: "hmacauth_credentials",
3610
- fields: Pt(Aa)
3610
+ fields: Pt(ga)
3611
3611
  },
3612
3612
  jwt: {
3613
3613
  titleKey: "plugins.meta.jwt.name",
@@ -3653,7 +3653,7 @@ const Pt = (e) => {
3653
3653
  return ((s = t[a]) == null ? void 0 : s.name) || a;
3654
3654
  } };
3655
3655
  };
3656
- function Vs(e, t) {
3656
+ function Ns(e, t) {
3657
3657
  for (var n = -1, i = e == null ? 0 : e.length; ++n < i && t(e[n], n, e) !== !1; )
3658
3658
  ;
3659
3659
  return e;
@@ -3674,7 +3674,7 @@ function Bu(e, t) {
3674
3674
  i[n] = t(n);
3675
3675
  return i;
3676
3676
  }
3677
- var Ns = typeof global == "object" && global && global.Object === Object && global, Ou = typeof self == "object" && self && self.Object === Object && self, it = Ns || Ou || Function("return this")(), Ct = it.Symbol, Fs = Object.prototype, Iu = Fs.hasOwnProperty, Mu = Fs.toString, pn = Ct ? Ct.toStringTag : void 0;
3677
+ var Fs = typeof global == "object" && global && global.Object === Object && global, Ou = typeof self == "object" && self && self.Object === Object && self, it = Fs || Ou || Function("return this")(), Ct = it.Symbol, Ks = Object.prototype, Iu = Ks.hasOwnProperty, Mu = Ks.toString, pn = Ct ? Ct.toStringTag : void 0;
3678
3678
  function Ru(e) {
3679
3679
  var t = Iu.call(e, pn), n = e[pn];
3680
3680
  try {
@@ -3689,75 +3689,75 @@ var ku = Object.prototype, Tu = ku.toString;
3689
3689
  function Su(e) {
3690
3690
  return Tu.call(e);
3691
3691
  }
3692
- var xu = "[object Null]", Gu = "[object Undefined]", fa = Ct ? Ct.toStringTag : void 0;
3692
+ var xu = "[object Null]", Gu = "[object Undefined]", ha = Ct ? Ct.toStringTag : void 0;
3693
3693
  function Ot(e) {
3694
- return e == null ? e === void 0 ? Gu : xu : fa && fa in Object(e) ? Ru(e) : Su(e);
3694
+ return e == null ? e === void 0 ? Gu : xu : ha && ha in Object(e) ? Ru(e) : Su(e);
3695
3695
  }
3696
3696
  function It(e) {
3697
3697
  return e != null && typeof e == "object";
3698
3698
  }
3699
3699
  var Pu = "[object Arguments]";
3700
- function ha(e) {
3700
+ function va(e) {
3701
3701
  return It(e) && Ot(e) == Pu;
3702
3702
  }
3703
- var Ks = Object.prototype, Uu = Ks.hasOwnProperty, Lu = Ks.propertyIsEnumerable, Du = ha(/* @__PURE__ */ function() {
3703
+ var zs = Object.prototype, Uu = zs.hasOwnProperty, Lu = zs.propertyIsEnumerable, Du = va(/* @__PURE__ */ function() {
3704
3704
  return arguments;
3705
- }()) ? ha : function(e) {
3705
+ }()) ? va : function(e) {
3706
3706
  return It(e) && Uu.call(e, "callee") && !Lu.call(e, "callee");
3707
3707
  }, Mt = Array.isArray;
3708
3708
  function ju() {
3709
3709
  return !1;
3710
3710
  }
3711
- var zs = typeof exports == "object" && exports && !exports.nodeType && exports, va = zs && typeof module == "object" && module && !module.nodeType && module, Yu = va && va.exports === zs, ya = Yu ? it.Buffer : void 0, Hu = ya ? ya.isBuffer : void 0, qs = Hu || ju, Vu = 9007199254740991, Nu = /^(?:0|[1-9]\d*)$/;
3712
- function Js(e, t) {
3711
+ var qs = typeof exports == "object" && exports && !exports.nodeType && exports, ya = qs && typeof module == "object" && module && !module.nodeType && module, Yu = ya && ya.exports === qs, ba = Yu ? it.Buffer : void 0, Hu = ba ? ba.isBuffer : void 0, Js = Hu || ju, Vu = 9007199254740991, Nu = /^(?:0|[1-9]\d*)$/;
3712
+ function Xs(e, t) {
3713
3713
  var n = typeof e;
3714
3714
  return t = t ?? Vu, !!t && (n == "number" || n != "symbol" && Nu.test(e)) && e > -1 && e % 1 == 0 && e < t;
3715
3715
  }
3716
3716
  var Fu = 9007199254740991;
3717
- function Xs(e) {
3717
+ function Qs(e) {
3718
3718
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Fu;
3719
3719
  }
3720
3720
  var Ku = "[object Arguments]", zu = "[object Array]", qu = "[object Boolean]", Ju = "[object Date]", Xu = "[object Error]", Qu = "[object Function]", Zu = "[object Map]", Wu = "[object Number]", _u = "[object Object]", $u = "[object RegExp]", ed = "[object Set]", td = "[object String]", nd = "[object WeakMap]", id = "[object ArrayBuffer]", ad = "[object DataView]", sd = "[object Float32Array]", od = "[object Float64Array]", rd = "[object Int8Array]", ld = "[object Int16Array]", cd = "[object Int32Array]", ud = "[object Uint8Array]", dd = "[object Uint8ClampedArray]", pd = "[object Uint16Array]", Ad = "[object Uint32Array]", Me = {};
3721
3721
  Me[sd] = Me[od] = Me[rd] = Me[ld] = Me[cd] = Me[ud] = Me[dd] = Me[pd] = Me[Ad] = !0;
3722
3722
  Me[Ku] = Me[zu] = Me[id] = Me[qu] = Me[ad] = Me[Ju] = Me[Xu] = Me[Qu] = Me[Zu] = Me[Wu] = Me[_u] = Me[$u] = Me[ed] = Me[td] = Me[nd] = !1;
3723
3723
  function gd(e) {
3724
- return It(e) && Xs(e.length) && !!Me[Ot(e)];
3724
+ return It(e) && Qs(e.length) && !!Me[Ot(e)];
3725
3725
  }
3726
- function Fi(e) {
3726
+ function Ki(e) {
3727
3727
  return function(t) {
3728
3728
  return e(t);
3729
3729
  };
3730
3730
  }
3731
- var Qs = typeof exports == "object" && exports && !exports.nodeType && exports, yn = Qs && typeof module == "object" && module && !module.nodeType && module, md = yn && yn.exports === Qs, ci = md && Ns.process, an = function() {
3731
+ var Zs = typeof exports == "object" && exports && !exports.nodeType && exports, yn = Zs && typeof module == "object" && module && !module.nodeType && module, md = yn && yn.exports === Zs, ui = md && Fs.process, an = function() {
3732
3732
  try {
3733
3733
  var e = yn && yn.require && yn.require("util").types;
3734
- return e || ci && ci.binding && ci.binding("util");
3734
+ return e || ui && ui.binding && ui.binding("util");
3735
3735
  } catch {
3736
3736
  }
3737
- }(), ba = an && an.isTypedArray, fd = ba ? Fi(ba) : gd, hd = Object.prototype, vd = hd.hasOwnProperty;
3738
- function Zs(e, t) {
3739
- var n = Mt(e), i = !n && Du(e), a = !n && !i && qs(e), s = !n && !i && !a && fd(e), o = n || i || a || s, r = o ? Bu(e.length, String) : [], c = r.length;
3737
+ }(), Ea = an && an.isTypedArray, fd = Ea ? Ki(Ea) : gd, hd = Object.prototype, vd = hd.hasOwnProperty;
3738
+ function Ws(e, t) {
3739
+ var n = Mt(e), i = !n && Du(e), a = !n && !i && Js(e), s = !n && !i && !a && fd(e), o = n || i || a || s, r = o ? Bu(e.length, String) : [], c = r.length;
3740
3740
  for (var d in e)
3741
3741
  (t || vd.call(e, d)) && !(o && // Safari 9 has enumerable `arguments.length` in strict mode.
3742
3742
  (d == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
3743
3743
  a && (d == "offset" || d == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
3744
3744
  s && (d == "buffer" || d == "byteLength" || d == "byteOffset") || // Skip index properties.
3745
- Js(d, c))) && r.push(d);
3745
+ Xs(d, c))) && r.push(d);
3746
3746
  return r;
3747
3747
  }
3748
3748
  var yd = Object.prototype;
3749
- function Ki(e) {
3749
+ function zi(e) {
3750
3750
  var t = e && e.constructor, n = typeof t == "function" && t.prototype || yd;
3751
3751
  return e === n;
3752
3752
  }
3753
- function Ws(e, t) {
3753
+ function _s(e, t) {
3754
3754
  return function(n) {
3755
3755
  return e(t(n));
3756
3756
  };
3757
3757
  }
3758
- var bd = Ws(Object.keys, Object), Ed = Object.prototype, wd = Ed.hasOwnProperty;
3758
+ var bd = _s(Object.keys, Object), Ed = Object.prototype, wd = Ed.hasOwnProperty;
3759
3759
  function Cd(e) {
3760
- if (!Ki(e))
3760
+ if (!zi(e))
3761
3761
  return bd(e);
3762
3762
  var t = [];
3763
3763
  for (var n in Object(e))
@@ -3776,10 +3776,10 @@ function ke(e) {
3776
3776
  return t == Od || t == Id || t == Bd || t == Md;
3777
3777
  }
3778
3778
  function ei(e) {
3779
- return e != null && Xs(e.length) && !ke(e);
3779
+ return e != null && Qs(e.length) && !ke(e);
3780
3780
  }
3781
3781
  function ti(e) {
3782
- return ei(e) ? Zs(e) : Cd(e);
3782
+ return ei(e) ? Ws(e) : Cd(e);
3783
3783
  }
3784
3784
  function Rd(e, t) {
3785
3785
  return e && Cu(e, t, ti);
@@ -3796,14 +3796,14 @@ function kd(e, t) {
3796
3796
  };
3797
3797
  }
3798
3798
  var Td = kd(Rd);
3799
- function zi(e) {
3799
+ function qi(e) {
3800
3800
  return e;
3801
3801
  }
3802
3802
  function Sd(e) {
3803
- return typeof e == "function" ? e : zi;
3803
+ return typeof e == "function" ? e : qi;
3804
3804
  }
3805
3805
  function Fe(e, t) {
3806
- var n = Mt(e) ? Vs : Td;
3806
+ var n = Mt(e) ? Ns : Td;
3807
3807
  return n(e, Sd(t));
3808
3808
  }
3809
3809
  var xd = "[object Symbol]";
@@ -3817,12 +3817,12 @@ function Ud(e, t) {
3817
3817
  var n = typeof e;
3818
3818
  return n == "number" || n == "symbol" || n == "boolean" || e == null || ni(e) ? !0 : Pd.test(e) || !Gd.test(e) || t != null && e in Object(t);
3819
3819
  }
3820
- var ui = it["__core-js_shared__"], Ea = function() {
3821
- var e = /[^.]+$/.exec(ui && ui.keys && ui.keys.IE_PROTO || "");
3820
+ var di = it["__core-js_shared__"], wa = function() {
3821
+ var e = /[^.]+$/.exec(di && di.keys && di.keys.IE_PROTO || "");
3822
3822
  return e ? "Symbol(src)_1." + e : "";
3823
3823
  }();
3824
3824
  function Ld(e) {
3825
- return !!Ea && Ea in e;
3825
+ return !!wa && wa in e;
3826
3826
  }
3827
3827
  var Dd = Function.prototype, jd = Dd.toString;
3828
3828
  function Jt(e) {
@@ -3979,7 +3979,7 @@ ft.prototype.get = mp;
3979
3979
  ft.prototype.has = fp;
3980
3980
  ft.prototype.set = hp;
3981
3981
  var vp = "Expected a function";
3982
- function qi(e, t) {
3982
+ function Ji(e, t) {
3983
3983
  if (typeof e != "function" || t != null && typeof t != "function")
3984
3984
  throw new TypeError(vp);
3985
3985
  var n = function() {
@@ -3989,12 +3989,12 @@ function qi(e, t) {
3989
3989
  var o = e.apply(this, i);
3990
3990
  return n.cache = s.set(a, o) || s, o;
3991
3991
  };
3992
- return n.cache = new (qi.Cache || ft)(), n;
3992
+ return n.cache = new (Ji.Cache || ft)(), n;
3993
3993
  }
3994
- qi.Cache = ft;
3994
+ Ji.Cache = ft;
3995
3995
  var yp = 500;
3996
3996
  function bp(e) {
3997
- var t = qi(e, function(i) {
3997
+ var t = Ji(e, function(i) {
3998
3998
  return n.size === yp && n.clear(), i;
3999
3999
  }), n = t.cache;
4000
4000
  return t;
@@ -4010,22 +4010,22 @@ function Bp(e, t) {
4010
4010
  a[n] = t(e[n], n, e);
4011
4011
  return a;
4012
4012
  }
4013
- var Op = 1 / 0, wa = Ct ? Ct.prototype : void 0, Ca = wa ? wa.toString : void 0;
4014
- function _s(e) {
4013
+ var Op = 1 / 0, Ca = Ct ? Ct.prototype : void 0, Ba = Ca ? Ca.toString : void 0;
4014
+ function $s(e) {
4015
4015
  if (typeof e == "string")
4016
4016
  return e;
4017
4017
  if (Mt(e))
4018
- return Bp(e, _s) + "";
4018
+ return Bp(e, $s) + "";
4019
4019
  if (ni(e))
4020
- return Ca ? Ca.call(e) : "";
4020
+ return Ba ? Ba.call(e) : "";
4021
4021
  var t = e + "";
4022
4022
  return t == "0" && 1 / e == -Op ? "-0" : t;
4023
4023
  }
4024
- function $s(e) {
4025
- return e == null ? "" : _s(e);
4024
+ function eo(e) {
4025
+ return e == null ? "" : $s(e);
4026
4026
  }
4027
4027
  function Ip(e, t) {
4028
- return Mt(e) ? e : Ud(e, t) ? [e] : Cp($s(e));
4028
+ return Mt(e) ? e : Ud(e, t) ? [e] : Cp(eo(e));
4029
4029
  }
4030
4030
  var Mp = 1 / 0;
4031
4031
  function Rp(e) {
@@ -4088,7 +4088,7 @@ var Fn = function() {
4088
4088
  } catch {
4089
4089
  }
4090
4090
  }();
4091
- function eo(e, t, n) {
4091
+ function to(e, t, n) {
4092
4092
  t == "__proto__" && Fn ? Fn(e, t, {
4093
4093
  configurable: !0,
4094
4094
  enumerable: !0,
@@ -4097,16 +4097,16 @@ function eo(e, t, n) {
4097
4097
  }) : e[t] = n;
4098
4098
  }
4099
4099
  var Lp = Object.prototype, Dp = Lp.hasOwnProperty;
4100
- function to(e, t, n) {
4100
+ function no(e, t, n) {
4101
4101
  var i = e[t];
4102
- (!(Dp.call(e, t) && ii(i, n)) || n === void 0 && !(t in e)) && eo(e, t, n);
4102
+ (!(Dp.call(e, t) && ii(i, n)) || n === void 0 && !(t in e)) && to(e, t, n);
4103
4103
  }
4104
4104
  function oi(e, t, n, i) {
4105
4105
  var a = !n;
4106
4106
  n || (n = {});
4107
4107
  for (var s = -1, o = t.length; ++s < o; ) {
4108
4108
  var r = t[s], c = void 0;
4109
- c === void 0 && (c = e[r]), a ? eo(n, r, c) : to(n, r, c);
4109
+ c === void 0 && (c = e[r]), a ? to(n, r, c) : no(n, r, c);
4110
4110
  }
4111
4111
  return n;
4112
4112
  }
@@ -4124,22 +4124,22 @@ var Hp = Object.prototype, Vp = Hp.hasOwnProperty;
4124
4124
  function Np(e) {
4125
4125
  if (!We(e))
4126
4126
  return Yp(e);
4127
- var t = Ki(e), n = [];
4127
+ var t = zi(e), n = [];
4128
4128
  for (var i in e)
4129
4129
  i == "constructor" && (t || !Vp.call(e, i)) || n.push(i);
4130
4130
  return n;
4131
4131
  }
4132
4132
  function ri(e) {
4133
- return ei(e) ? Zs(e, !0) : Np(e);
4133
+ return ei(e) ? Ws(e, !0) : Np(e);
4134
4134
  }
4135
4135
  function Fp(e, t) {
4136
4136
  return e && oi(t, ri(t), e);
4137
4137
  }
4138
- var no = typeof exports == "object" && exports && !exports.nodeType && exports, Ba = no && typeof module == "object" && module && !module.nodeType && module, Kp = Ba && Ba.exports === no, Oa = Kp ? it.Buffer : void 0, Ia = Oa ? Oa.allocUnsafe : void 0;
4138
+ var io = typeof exports == "object" && exports && !exports.nodeType && exports, Oa = io && typeof module == "object" && module && !module.nodeType && module, Kp = Oa && Oa.exports === io, Ia = Kp ? it.Buffer : void 0, Ma = Ia ? Ia.allocUnsafe : void 0;
4139
4139
  function zp(e, t) {
4140
4140
  if (t)
4141
4141
  return e.slice();
4142
- var n = e.length, i = Ia ? Ia(n) : new e.constructor(n);
4142
+ var n = e.length, i = Ma ? Ma(n) : new e.constructor(n);
4143
4143
  return e.copy(i), i;
4144
4144
  }
4145
4145
  function qp(e, t) {
@@ -4155,55 +4155,55 @@ function Jp(e, t) {
4155
4155
  }
4156
4156
  return s;
4157
4157
  }
4158
- function io() {
4158
+ function ao() {
4159
4159
  return [];
4160
4160
  }
4161
- var Xp = Object.prototype, Qp = Xp.propertyIsEnumerable, Ma = Object.getOwnPropertySymbols, Ji = Ma ? function(e) {
4162
- return e == null ? [] : (e = Object(e), Jp(Ma(e), function(t) {
4161
+ var Xp = Object.prototype, Qp = Xp.propertyIsEnumerable, Ra = Object.getOwnPropertySymbols, Xi = Ra ? function(e) {
4162
+ return e == null ? [] : (e = Object(e), Jp(Ra(e), function(t) {
4163
4163
  return Qp.call(e, t);
4164
4164
  }));
4165
- } : io;
4165
+ } : ao;
4166
4166
  function Zp(e, t) {
4167
- return oi(e, Ji(e), t);
4167
+ return oi(e, Xi(e), t);
4168
4168
  }
4169
- function ao(e, t) {
4169
+ function so(e, t) {
4170
4170
  for (var n = -1, i = t.length, a = e.length; ++n < i; )
4171
4171
  e[a + n] = t[n];
4172
4172
  return e;
4173
4173
  }
4174
- var so = Ws(Object.getPrototypeOf, Object), Wp = Object.getOwnPropertySymbols, oo = Wp ? function(e) {
4174
+ var oo = _s(Object.getPrototypeOf, Object), Wp = Object.getOwnPropertySymbols, ro = Wp ? function(e) {
4175
4175
  for (var t = []; e; )
4176
- ao(t, Ji(e)), e = so(e);
4176
+ so(t, Xi(e)), e = oo(e);
4177
4177
  return t;
4178
- } : io;
4178
+ } : ao;
4179
4179
  function _p(e, t) {
4180
- return oi(e, oo(e), t);
4180
+ return oi(e, ro(e), t);
4181
4181
  }
4182
- function ro(e, t, n) {
4182
+ function lo(e, t, n) {
4183
4183
  var i = t(e);
4184
- return Mt(e) ? i : ao(i, n(e));
4184
+ return Mt(e) ? i : so(i, n(e));
4185
4185
  }
4186
4186
  function $p(e) {
4187
- return ro(e, ti, Ji);
4187
+ return lo(e, ti, Xi);
4188
4188
  }
4189
4189
  function eA(e) {
4190
- return ro(e, ri, oo);
4190
+ return lo(e, ri, ro);
4191
4191
  }
4192
- var Ci = Xt(it, "DataView"), Bi = Xt(it, "Promise"), tn = Xt(it, "Set"), Oi = Xt(it, "WeakMap"), Ra = "[object Map]", tA = "[object Object]", ka = "[object Promise]", Ta = "[object Set]", Sa = "[object WeakMap]", xa = "[object DataView]", nA = Jt(Ci), iA = Jt(In), aA = Jt(Bi), sA = Jt(tn), oA = Jt(Oi), At = Ot;
4193
- (Ci && At(new Ci(new ArrayBuffer(1))) != xa || In && At(new In()) != Ra || Bi && At(Bi.resolve()) != ka || tn && At(new tn()) != Ta || Oi && At(new Oi()) != Sa) && (At = function(e) {
4192
+ var Bi = Xt(it, "DataView"), Oi = Xt(it, "Promise"), tn = Xt(it, "Set"), Ii = Xt(it, "WeakMap"), ka = "[object Map]", tA = "[object Object]", Ta = "[object Promise]", Sa = "[object Set]", xa = "[object WeakMap]", Ga = "[object DataView]", nA = Jt(Bi), iA = Jt(In), aA = Jt(Oi), sA = Jt(tn), oA = Jt(Ii), At = Ot;
4193
+ (Bi && At(new Bi(new ArrayBuffer(1))) != Ga || In && At(new In()) != ka || Oi && At(Oi.resolve()) != Ta || tn && At(new tn()) != Sa || Ii && At(new Ii()) != xa) && (At = function(e) {
4194
4194
  var t = Ot(e), n = t == tA ? e.constructor : void 0, i = n ? Jt(n) : "";
4195
4195
  if (i)
4196
4196
  switch (i) {
4197
4197
  case nA:
4198
- return xa;
4198
+ return Ga;
4199
4199
  case iA:
4200
- return Ra;
4201
- case aA:
4202
4200
  return ka;
4203
- case sA:
4201
+ case aA:
4204
4202
  return Ta;
4205
- case oA:
4203
+ case sA:
4206
4204
  return Sa;
4205
+ case oA:
4206
+ return xa;
4207
4207
  }
4208
4208
  return t;
4209
4209
  });
@@ -4212,13 +4212,13 @@ function cA(e) {
4212
4212
  var t = e.length, n = new e.constructor(t);
4213
4213
  return t && typeof e[0] == "string" && lA.call(e, "index") && (n.index = e.index, n.input = e.input), n;
4214
4214
  }
4215
- var Ga = it.Uint8Array;
4216
- function Xi(e) {
4215
+ var Pa = it.Uint8Array;
4216
+ function Qi(e) {
4217
4217
  var t = new e.constructor(e.byteLength);
4218
- return new Ga(t).set(new Ga(e)), t;
4218
+ return new Pa(t).set(new Pa(e)), t;
4219
4219
  }
4220
4220
  function uA(e, t) {
4221
- var n = t ? Xi(e.buffer) : e.buffer;
4221
+ var n = t ? Qi(e.buffer) : e.buffer;
4222
4222
  return new e.constructor(n, e.byteOffset, e.byteLength);
4223
4223
  }
4224
4224
  var dA = /\w*$/;
@@ -4226,12 +4226,12 @@ function pA(e) {
4226
4226
  var t = new e.constructor(e.source, dA.exec(e));
4227
4227
  return t.lastIndex = e.lastIndex, t;
4228
4228
  }
4229
- var Pa = Ct ? Ct.prototype : void 0, Ua = Pa ? Pa.valueOf : void 0;
4229
+ var Ua = Ct ? Ct.prototype : void 0, La = Ua ? Ua.valueOf : void 0;
4230
4230
  function AA(e) {
4231
- return Ua ? Object(Ua.call(e)) : {};
4231
+ return La ? Object(La.call(e)) : {};
4232
4232
  }
4233
4233
  function gA(e, t) {
4234
- var n = t ? Xi(e.buffer) : e.buffer;
4234
+ var n = t ? Qi(e.buffer) : e.buffer;
4235
4235
  return new e.constructor(n, e.byteOffset, e.length);
4236
4236
  }
4237
4237
  var mA = "[object Boolean]", fA = "[object Date]", hA = "[object Map]", vA = "[object Number]", yA = "[object RegExp]", bA = "[object Set]", EA = "[object String]", wA = "[object Symbol]", CA = "[object ArrayBuffer]", BA = "[object DataView]", OA = "[object Float32Array]", IA = "[object Float64Array]", MA = "[object Int8Array]", RA = "[object Int16Array]", kA = "[object Int32Array]", TA = "[object Uint8Array]", SA = "[object Uint8ClampedArray]", xA = "[object Uint16Array]", GA = "[object Uint32Array]";
@@ -4239,7 +4239,7 @@ function PA(e, t, n) {
4239
4239
  var i = e.constructor;
4240
4240
  switch (t) {
4241
4241
  case CA:
4242
- return Xi(e);
4242
+ return Qi(e);
4243
4243
  case mA:
4244
4244
  case fA:
4245
4245
  return new i(+e);
@@ -4268,33 +4268,33 @@ function PA(e, t, n) {
4268
4268
  return AA(e);
4269
4269
  }
4270
4270
  }
4271
- var La = Object.create, UA = /* @__PURE__ */ function() {
4271
+ var Da = Object.create, UA = /* @__PURE__ */ function() {
4272
4272
  function e() {
4273
4273
  }
4274
4274
  return function(t) {
4275
4275
  if (!We(t))
4276
4276
  return {};
4277
- if (La)
4278
- return La(t);
4277
+ if (Da)
4278
+ return Da(t);
4279
4279
  e.prototype = t;
4280
4280
  var n = new e();
4281
4281
  return e.prototype = void 0, n;
4282
4282
  };
4283
4283
  }();
4284
4284
  function LA(e) {
4285
- return typeof e.constructor == "function" && !Ki(e) ? UA(so(e)) : {};
4285
+ return typeof e.constructor == "function" && !zi(e) ? UA(oo(e)) : {};
4286
4286
  }
4287
4287
  var DA = "[object Map]";
4288
4288
  function jA(e) {
4289
4289
  return It(e) && At(e) == DA;
4290
4290
  }
4291
- var Da = an && an.isMap, YA = Da ? Fi(Da) : jA, HA = "[object Set]";
4291
+ var ja = an && an.isMap, YA = ja ? Ki(ja) : jA, HA = "[object Set]";
4292
4292
  function VA(e) {
4293
4293
  return It(e) && At(e) == HA;
4294
4294
  }
4295
- var ja = an && an.isSet, NA = ja ? Fi(ja) : VA, FA = 1, KA = 2, zA = 4, lo = "[object Arguments]", qA = "[object Array]", JA = "[object Boolean]", XA = "[object Date]", QA = "[object Error]", co = "[object Function]", ZA = "[object GeneratorFunction]", WA = "[object Map]", _A = "[object Number]", uo = "[object Object]", $A = "[object RegExp]", eg = "[object Set]", tg = "[object String]", ng = "[object Symbol]", ig = "[object WeakMap]", ag = "[object ArrayBuffer]", sg = "[object DataView]", og = "[object Float32Array]", rg = "[object Float64Array]", lg = "[object Int8Array]", cg = "[object Int16Array]", ug = "[object Int32Array]", dg = "[object Uint8Array]", pg = "[object Uint8ClampedArray]", Ag = "[object Uint16Array]", gg = "[object Uint32Array]", Ie = {};
4296
- Ie[lo] = Ie[qA] = Ie[ag] = Ie[sg] = Ie[JA] = Ie[XA] = Ie[og] = Ie[rg] = Ie[lg] = Ie[cg] = Ie[ug] = Ie[WA] = Ie[_A] = Ie[uo] = Ie[$A] = Ie[eg] = Ie[tg] = Ie[ng] = Ie[dg] = Ie[pg] = Ie[Ag] = Ie[gg] = !0;
4297
- Ie[QA] = Ie[co] = Ie[ig] = !1;
4295
+ var Ya = an && an.isSet, NA = Ya ? Ki(Ya) : VA, FA = 1, KA = 2, zA = 4, co = "[object Arguments]", qA = "[object Array]", JA = "[object Boolean]", XA = "[object Date]", QA = "[object Error]", uo = "[object Function]", ZA = "[object GeneratorFunction]", WA = "[object Map]", _A = "[object Number]", po = "[object Object]", $A = "[object RegExp]", eg = "[object Set]", tg = "[object String]", ng = "[object Symbol]", ig = "[object WeakMap]", ag = "[object ArrayBuffer]", sg = "[object DataView]", og = "[object Float32Array]", rg = "[object Float64Array]", lg = "[object Int8Array]", cg = "[object Int16Array]", ug = "[object Int32Array]", dg = "[object Uint8Array]", pg = "[object Uint8ClampedArray]", Ag = "[object Uint16Array]", gg = "[object Uint32Array]", Ie = {};
4296
+ Ie[co] = Ie[qA] = Ie[ag] = Ie[sg] = Ie[JA] = Ie[XA] = Ie[og] = Ie[rg] = Ie[lg] = Ie[cg] = Ie[ug] = Ie[WA] = Ie[_A] = Ie[po] = Ie[$A] = Ie[eg] = Ie[tg] = Ie[ng] = Ie[dg] = Ie[pg] = Ie[Ag] = Ie[gg] = !0;
4297
+ Ie[QA] = Ie[uo] = Ie[ig] = !1;
4298
4298
  function bn(e, t, n, i, a, s) {
4299
4299
  var o, r = t & FA, c = t & KA, d = t & zA;
4300
4300
  if (o !== void 0)
@@ -4306,10 +4306,10 @@ function bn(e, t, n, i, a, s) {
4306
4306
  if (o = cA(e), !r)
4307
4307
  return qp(e, o);
4308
4308
  } else {
4309
- var A = At(e), m = A == co || A == ZA;
4310
- if (qs(e))
4309
+ var A = At(e), m = A == uo || A == ZA;
4310
+ if (Js(e))
4311
4311
  return zp(e, r);
4312
- if (A == uo || A == lo || m && !a) {
4312
+ if (A == po || A == co || m && !a) {
4313
4313
  if (o = c || m ? {} : LA(e), !r)
4314
4314
  return c ? _p(e, Fp(o, e)) : Zp(e, jp(o, e));
4315
4315
  } else {
@@ -4328,20 +4328,20 @@ function bn(e, t, n, i, a, s) {
4328
4328
  o.set(P, bn(S, t, n, P, e, s));
4329
4329
  });
4330
4330
  var L = d ? c ? eA : $p : c ? ri : ti, b = u ? void 0 : L(e);
4331
- return Vs(b || e, function(S, P) {
4332
- b && (P = S, S = e[P]), to(o, P, bn(S, t, n, P, e, s));
4331
+ return Ns(b || e, function(S, P) {
4332
+ b && (P = S, S = e[P]), no(o, P, bn(S, t, n, P, e, s));
4333
4333
  }), o;
4334
4334
  }
4335
4335
  var mg = 1, fg = 4;
4336
4336
  function gt(e) {
4337
4337
  return bn(e, mg | fg);
4338
4338
  }
4339
- const Qi = (e, t = "") => typeof e.id < "u" ? t + e.id : t + (e.inputName || e.label || e.model || "").toString().trim().toLowerCase().replace(/ |_/g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-]+)/g, ""), Ya = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
4339
+ const Zi = (e, t = "") => typeof e.id < "u" ? t + e.id : t + (e.inputName || e.label || e.model || "").toString().trim().toLowerCase().replace(/ |_/g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-]+)/g, ""), Ha = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
4340
4340
  var hg = "[object String]";
4341
4341
  function Ht(e) {
4342
4342
  return typeof e == "string" || !Mt(e) && It(e) && Ot(e) == hg;
4343
4343
  }
4344
- const po = {
4344
+ const Ao = {
4345
4345
  methods: {
4346
4346
  // Get style classes of field
4347
4347
  getFieldRowClasses(e) {
@@ -4376,7 +4376,7 @@ const po = {
4376
4376
  }
4377
4377
  }
4378
4378
  };
4379
- var di = function() {
4379
+ var pi = function() {
4380
4380
  return it.Date.now();
4381
4381
  }, vg = /\s/;
4382
4382
  function yg(e) {
@@ -4388,12 +4388,12 @@ var bg = /^\s+/;
4388
4388
  function Eg(e) {
4389
4389
  return e && e.slice(0, yg(e) + 1).replace(bg, "");
4390
4390
  }
4391
- var Ha = NaN, wg = /^[-+]0x[0-9a-f]+$/i, Cg = /^0b[01]+$/i, Bg = /^0o[0-7]+$/i, Og = parseInt;
4392
- function Ii(e) {
4391
+ var Va = NaN, wg = /^[-+]0x[0-9a-f]+$/i, Cg = /^0b[01]+$/i, Bg = /^0o[0-7]+$/i, Og = parseInt;
4392
+ function Mi(e) {
4393
4393
  if (typeof e == "number")
4394
4394
  return e;
4395
4395
  if (ni(e))
4396
- return Ha;
4396
+ return Va;
4397
4397
  if (We(e)) {
4398
4398
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
4399
4399
  e = We(t) ? t + "" : t;
@@ -4402,14 +4402,14 @@ function Ii(e) {
4402
4402
  return e === 0 ? e : +e;
4403
4403
  e = Eg(e);
4404
4404
  var n = Cg.test(e);
4405
- return n || Bg.test(e) ? Og(e.slice(2), n ? 2 : 8) : wg.test(e) ? Ha : +e;
4405
+ return n || Bg.test(e) ? Og(e.slice(2), n ? 2 : 8) : wg.test(e) ? Va : +e;
4406
4406
  }
4407
4407
  var Ig = "Expected a function", Mg = Math.max, Rg = Math.min;
4408
4408
  function Mn(e, t, n) {
4409
4409
  var i, a, s, o, r, c, d = 0, u = !1, A = !1, m = !0;
4410
4410
  if (typeof e != "function")
4411
4411
  throw new TypeError(Ig);
4412
- t = Ii(t) || 0, We(n) && (u = !!n.leading, A = "maxWait" in n, s = A ? Mg(Ii(n.maxWait) || 0, t) : s, m = "trailing" in n ? !!n.trailing : m);
4412
+ t = Mi(t) || 0, We(n) && (u = !!n.leading, A = "maxWait" in n, s = A ? Mg(Mi(n.maxWait) || 0, t) : s, m = "trailing" in n ? !!n.trailing : m);
4413
4413
  function k(h) {
4414
4414
  var R = i, T = a;
4415
4415
  return i = a = void 0, d = h, o = e.apply(T, R), o;
@@ -4426,22 +4426,22 @@ function Mn(e, t, n) {
4426
4426
  return c === void 0 || R >= t || R < 0 || A && T >= s;
4427
4427
  }
4428
4428
  function P() {
4429
- var h = di();
4429
+ var h = pi();
4430
4430
  if (S(h))
4431
- return K(h);
4431
+ return z(h);
4432
4432
  r = setTimeout(P, b(h));
4433
4433
  }
4434
- function K(h) {
4434
+ function z(h) {
4435
4435
  return r = void 0, m && i ? k(h) : (i = a = void 0, o);
4436
4436
  }
4437
4437
  function B() {
4438
4438
  r !== void 0 && clearTimeout(r), d = 0, i = c = a = r = void 0;
4439
4439
  }
4440
4440
  function f() {
4441
- return r === void 0 ? o : K(di());
4441
+ return r === void 0 ? o : z(pi());
4442
4442
  }
4443
4443
  function M() {
4444
- var h = di(), R = S(h);
4444
+ var h = pi(), R = S(h);
4445
4445
  if (i = arguments, a = this, c = h, R) {
4446
4446
  if (r === void 0)
4447
4447
  return L(c);
@@ -4493,13 +4493,13 @@ function Dg(e, t) {
4493
4493
  }
4494
4494
  function jg() {
4495
4495
  }
4496
- function Ao(e) {
4496
+ function go(e) {
4497
4497
  var t = -1, n = Array(e.size);
4498
4498
  return e.forEach(function(i) {
4499
4499
  n[++t] = i;
4500
4500
  }), n;
4501
4501
  }
4502
- var Yg = 1 / 0, Hg = tn && 1 / Ao(new tn([, -0]))[1] == Yg ? function(e) {
4502
+ var Yg = 1 / 0, Hg = tn && 1 / go(new tn([, -0]))[1] == Yg ? function(e) {
4503
4503
  return new tn(e);
4504
4504
  } : jg, Vg = 200;
4505
4505
  function Ng(e, t, n) {
@@ -4507,7 +4507,7 @@ function Ng(e, t, n) {
4507
4507
  if (s >= Vg) {
4508
4508
  var d = Hg(e);
4509
4509
  if (d)
4510
- return Ao(d);
4510
+ return go(d);
4511
4511
  o = !1, a = Dg, c = new Kn();
4512
4512
  } else
4513
4513
  c = r;
@@ -4523,13 +4523,13 @@ function Ng(e, t, n) {
4523
4523
  }
4524
4524
  return r;
4525
4525
  }
4526
- function go(e) {
4526
+ function mo(e) {
4527
4527
  return e && e.length ? Ng(e) : [];
4528
4528
  }
4529
4529
  var Fg = 0;
4530
- function mo(e) {
4530
+ function fo(e) {
4531
4531
  var t = ++Fg;
4532
- return $s(e) + t;
4532
+ return eo(e) + t;
4533
4533
  }
4534
4534
  function Kg(e, t, n) {
4535
4535
  switch (n.length) {
@@ -4544,10 +4544,10 @@ function Kg(e, t, n) {
4544
4544
  }
4545
4545
  return e.apply(t, n);
4546
4546
  }
4547
- var Va = Math.max;
4547
+ var Na = Math.max;
4548
4548
  function zg(e, t, n) {
4549
- return t = Va(t === void 0 ? e.length - 1 : t, 0), function() {
4550
- for (var i = arguments, a = -1, s = Va(i.length - t, 0), o = Array(s); ++a < s; )
4549
+ return t = Na(t === void 0 ? e.length - 1 : t, 0), function() {
4550
+ for (var i = arguments, a = -1, s = Na(i.length - t, 0), o = Array(s); ++a < s; )
4551
4551
  o[a] = i[t + a];
4552
4552
  a = -1;
4553
4553
  for (var r = Array(t + 1); ++a < t; )
@@ -4567,7 +4567,7 @@ var Jg = Fn ? function(e, t) {
4567
4567
  value: qg(t),
4568
4568
  writable: !0
4569
4569
  });
4570
- } : zi, Xg = 800, Qg = 16, Zg = Date.now;
4570
+ } : qi, Xg = 800, Qg = 16, Zg = Date.now;
4571
4571
  function Wg(e) {
4572
4572
  var t = 0, n = 0;
4573
4573
  return function() {
@@ -4582,32 +4582,32 @@ function Wg(e) {
4582
4582
  }
4583
4583
  var _g = Wg(Jg);
4584
4584
  function $g(e, t) {
4585
- return _g(zg(e, t, zi), e + "");
4585
+ return _g(zg(e, t, qi), e + "");
4586
4586
  }
4587
4587
  function em(e, t, n) {
4588
4588
  if (!We(n))
4589
4589
  return !1;
4590
4590
  var i = typeof t;
4591
- return (i == "number" ? ei(n) && Js(t, n.length) : i == "string" && t in n) ? ii(n[t], e) : !1;
4591
+ return (i == "number" ? ei(n) && Xs(t, n.length) : i == "string" && t in n) ? ii(n[t], e) : !1;
4592
4592
  }
4593
- var fo = Object.prototype, tm = fo.hasOwnProperty, nm = $g(function(e, t) {
4593
+ var ho = Object.prototype, tm = ho.hasOwnProperty, nm = $g(function(e, t) {
4594
4594
  e = Object(e);
4595
4595
  var n = -1, i = t.length, a = i > 2 ? t[2] : void 0;
4596
4596
  for (a && em(t[0], t[1], a) && (i = 1); ++n < i; )
4597
4597
  for (var s = t[n], o = ri(s), r = -1, c = o.length; ++r < c; ) {
4598
4598
  var d = o[r], u = e[d];
4599
- (u === void 0 || ii(u, fo[d]) && !tm.call(e, d)) && (e[d] = s[d]);
4599
+ (u === void 0 || ii(u, ho[d]) && !tm.call(e, d)) && (e[d] = s[d]);
4600
4600
  }
4601
4601
  return e;
4602
4602
  }), im = it.isFinite;
4603
4603
  function am(e) {
4604
4604
  return typeof e == "number" && im(e);
4605
4605
  }
4606
- var Na = 1 / 0, sm = 17976931348623157e292;
4606
+ var Fa = 1 / 0, sm = 17976931348623157e292;
4607
4607
  function om(e) {
4608
4608
  if (!e)
4609
4609
  return e === 0 ? e : 0;
4610
- if (e = Ii(e), e === Na || e === -Na) {
4610
+ if (e = Mi(e), e === Fa || e === -Fa) {
4611
4611
  var t = e < 0 ? -1 : 1;
4612
4612
  return t * sm;
4613
4613
  }
@@ -4621,16 +4621,16 @@ function lm(e) {
4621
4621
  return typeof e == "number" && e == rm(e);
4622
4622
  }
4623
4623
  var cm = "[object Number]";
4624
- function Mi(e) {
4624
+ function Ri(e) {
4625
4625
  return typeof e == "number" || It(e) && Ot(e) == cm;
4626
4626
  }
4627
- var ho = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, wt = "\\d\\d?", bt = "\\d\\d", um = "\\d{3}", dm = "\\d{4}", En = "[^\\s]+", vo = /\[([^]*?)\]/gm;
4628
- function yo(e, t) {
4627
+ var vo = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, wt = "\\d\\d?", bt = "\\d\\d", um = "\\d{3}", dm = "\\d{4}", En = "[^\\s]+", yo = /\[([^]*?)\]/gm;
4628
+ function bo(e, t) {
4629
4629
  for (var n = [], i = 0, a = e.length; i < a; i++)
4630
4630
  n.push(e[i].substr(0, t));
4631
4631
  return n;
4632
4632
  }
4633
- var Fa = function(e) {
4633
+ var Ka = function(e) {
4634
4634
  return function(t, n) {
4635
4635
  var i = n[e].map(function(s) {
4636
4636
  return s.toLowerCase();
@@ -4648,7 +4648,7 @@ function Vt(e) {
4648
4648
  }
4649
4649
  return e;
4650
4650
  }
4651
- var bo = [
4651
+ var Eo = [
4652
4652
  "Sunday",
4653
4653
  "Monday",
4654
4654
  "Tuesday",
@@ -4656,7 +4656,7 @@ var bo = [
4656
4656
  "Thursday",
4657
4657
  "Friday",
4658
4658
  "Saturday"
4659
- ], Eo = [
4659
+ ], wo = [
4660
4660
  "January",
4661
4661
  "February",
4662
4662
  "March",
@@ -4669,18 +4669,18 @@ var bo = [
4669
4669
  "October",
4670
4670
  "November",
4671
4671
  "December"
4672
- ], pm = yo(Eo, 3), Am = yo(bo, 3), wo = {
4672
+ ], pm = bo(wo, 3), Am = bo(Eo, 3), Co = {
4673
4673
  dayNamesShort: Am,
4674
- dayNames: bo,
4674
+ dayNames: Eo,
4675
4675
  monthNamesShort: pm,
4676
- monthNames: Eo,
4676
+ monthNames: wo,
4677
4677
  amPm: ["am", "pm"],
4678
4678
  DoFn: function(e) {
4679
4679
  return e + ["th", "st", "nd", "rd"][e % 10 > 3 ? 0 : (e - e % 10 !== 10 ? 1 : 0) * e % 10];
4680
4680
  }
4681
- }, zn = Vt({}, wo), gm = function(e) {
4681
+ }, zn = Vt({}, Co), gm = function(e) {
4682
4682
  return zn = Vt(zn, e);
4683
- }, Ka = function(e) {
4683
+ }, za = function(e) {
4684
4684
  return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
4685
4685
  }, qe = function(e, t) {
4686
4686
  for (t === void 0 && (t = 2), e = String(e); e.length < t; )
@@ -4773,16 +4773,16 @@ var bo = [
4773
4773
  var t = e.getTimezoneOffset();
4774
4774
  return (t > 0 ? "-" : "+") + qe(Math.floor(Math.abs(t) / 60), 2) + ":" + qe(Math.abs(t) % 60, 2);
4775
4775
  }
4776
- }, za = function(e) {
4776
+ }, qa = function(e) {
4777
4777
  return +e - 1;
4778
- }, qa = [null, wt], Ja = [null, En], Xa = [
4778
+ }, Ja = [null, wt], Xa = [null, En], Qa = [
4779
4779
  "isPm",
4780
4780
  En,
4781
4781
  function(e, t) {
4782
4782
  var n = e.toLowerCase();
4783
4783
  return n === t.amPm[0] ? 0 : n === t.amPm[1] ? 1 : null;
4784
4784
  }
4785
- ], Qa = [
4785
+ ], Za = [
4786
4786
  "timezoneOffset",
4787
4787
  "[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",
4788
4788
  function(e) {
@@ -4799,8 +4799,8 @@ var bo = [
4799
4799
  Do: ["day", wt + En, function(e) {
4800
4800
  return parseInt(e, 10);
4801
4801
  }],
4802
- M: ["month", wt, za],
4803
- MM: ["month", bt, za],
4802
+ M: ["month", wt, qa],
4803
+ MM: ["month", bt, qa],
4804
4804
  YY: [
4805
4805
  "year",
4806
4806
  bt,
@@ -4825,16 +4825,16 @@ var bo = [
4825
4825
  return +e * 10;
4826
4826
  }],
4827
4827
  SSS: ["millisecond", um],
4828
- d: qa,
4829
- dd: qa,
4830
- ddd: Ja,
4831
- dddd: Ja,
4832
- MMM: ["month", En, Fa("monthNamesShort")],
4833
- MMMM: ["month", En, Fa("monthNames")],
4834
- a: Xa,
4835
- A: Xa,
4836
- ZZ: Qa,
4837
- Z: Qa
4828
+ d: Ja,
4829
+ dd: Ja,
4830
+ ddd: Xa,
4831
+ dddd: Xa,
4832
+ MMM: ["month", En, Ka("monthNamesShort")],
4833
+ MMMM: ["month", En, Ka("monthNames")],
4834
+ a: Qa,
4835
+ A: Qa,
4836
+ ZZ: Za,
4837
+ Z: Za
4838
4838
  }, qn = {
4839
4839
  default: "ddd MMM DD YYYY HH:mm:ss",
4840
4840
  shortDate: "M/D/YY",
@@ -4853,11 +4853,11 @@ var bo = [
4853
4853
  throw new Error("Invalid Date pass to format");
4854
4854
  t = qn[t] || t;
4855
4855
  var i = [];
4856
- t = t.replace(vo, function(s, o) {
4856
+ t = t.replace(yo, function(s, o) {
4857
4857
  return i.push(o), "@@@";
4858
4858
  });
4859
4859
  var a = Vt(Vt({}, zn), n);
4860
- return t = t.replace(ho, function(s) {
4860
+ return t = t.replace(vo, function(s) {
4861
4861
  return mm[s](e, a);
4862
4862
  }), t.replace(/@@@/g, function() {
4863
4863
  return i.shift();
@@ -4878,10 +4878,10 @@ function ym(e, t, n) {
4878
4878
  millisecond: 0,
4879
4879
  isPm: null,
4880
4880
  timezoneOffset: null
4881
- }, s = [], o = [], r = t.replace(vo, function(f, M) {
4882
- return o.push(Ka(M)), "@@@";
4881
+ }, s = [], o = [], r = t.replace(yo, function(f, M) {
4882
+ return o.push(za(M)), "@@@";
4883
4883
  }), c = {}, d = {};
4884
- r = Ka(r).replace(ho, function(f) {
4884
+ r = za(r).replace(vo, function(f) {
4885
4885
  var M = fm[f], h = M[0], R = M[1], T = M[3];
4886
4886
  if (c[h])
4887
4887
  throw new Error("Invalid format. " + h + " specified twice in format");
@@ -4905,14 +4905,14 @@ function ym(e, t, n) {
4905
4905
  var P;
4906
4906
  if (a.timezoneOffset == null) {
4907
4907
  P = new Date(a.year, a.month, a.day, a.hour, a.minute, a.second, a.millisecond);
4908
- for (var K = [
4908
+ for (var z = [
4909
4909
  ["month", "getMonth"],
4910
4910
  ["day", "getDate"],
4911
4911
  ["hour", "getHours"],
4912
4912
  ["minute", "getMinutes"],
4913
4913
  ["second", "getSeconds"]
4914
- ], m = 0, B = K.length; m < B; m++)
4915
- if (c[K[m][0]] && a[K[m][0]] !== P[K[m][1]]())
4914
+ ], m = 0, B = z.length; m < B; m++)
4915
+ if (c[z[m][0]] && a[z[m][0]] !== P[z[m][1]]())
4916
4916
  return null;
4917
4917
  } else if (P = new Date(Date.UTC(a.year, a.month, a.day, a.hour, a.minute - a.timezoneOffset, a.second, a.millisecond)), a.month > 11 || a.month < 0 || a.day > 31 || a.day < 1 || a.hour > 23 || a.hour < 0 || a.minute > 59 || a.minute < 0 || a.second > 59 || a.second < 0)
4918
4918
  return null;
@@ -4921,7 +4921,7 @@ function ym(e, t, n) {
4921
4921
  var en = {
4922
4922
  format: vm,
4923
4923
  parse: ym,
4924
- defaultI18n: wo,
4924
+ defaultI18n: Co,
4925
4925
  setGlobalDateI18n: gm,
4926
4926
  setGlobalDateMasks: hm
4927
4927
  };
@@ -4977,7 +4977,7 @@ const Nt = {
4977
4977
  double(e, t, n, i = Ve) {
4978
4978
  const a = $e(e, t.required, i);
4979
4979
  if (a != null) return a;
4980
- if (!Mi(e) || isNaN(e))
4980
+ if (!Ri(e) || isNaN(e))
4981
4981
  return [Ge(i.invalidNumber)];
4982
4982
  },
4983
4983
  string(e, t, n, i = Ve) {
@@ -5064,10 +5064,10 @@ Object.keys(Nt).forEach((e) => {
5064
5064
  const t = Nt[e];
5065
5065
  ke(t) && (t.locale = (n) => (i, a, s) => t(i, a, s, nm(n, Ve)));
5066
5066
  });
5067
- function Za(e) {
5067
+ function Wa(e) {
5068
5068
  return Ht(e) ? Nt[e] != null ? Nt[e] : (console.warn(`'${e}' is not a validator function!`), null) : e;
5069
5069
  }
5070
- function pi(e, t, n) {
5070
+ function Ai(e, t, n) {
5071
5071
  let i = be(n.context, "schema.attributes", {});
5072
5072
  const a = t.value || "input";
5073
5073
  Ht(a) && (i = be(i, a) || i), Fe(i, (s, o) => {
@@ -5087,9 +5087,9 @@ const ut = {
5087
5087
  },
5088
5088
  directives: {
5089
5089
  attributes: {
5090
- beforeMount: pi,
5091
- updated: pi,
5092
- componentUpdated: pi
5090
+ beforeMount: Ai,
5091
+ updated: Ai,
5092
+ componentUpdated: Ai
5093
5093
  }
5094
5094
  },
5095
5095
  computed: {
@@ -5113,8 +5113,8 @@ const ut = {
5113
5113
  if (this.schema.validator && this.schema.readonly !== !0 && this.disabled !== !0) {
5114
5114
  const a = [];
5115
5115
  Array.isArray(this.schema.validator) ? Fe(this.schema.validator, (s) => {
5116
- a.push(Za(s).bind(this));
5117
- }) : a.push(Za(this.schema.validator).bind(this)), Fe(a, (s) => {
5116
+ a.push(Wa(s).bind(this));
5117
+ }) : a.push(Wa(this.schema.validator).bind(this)), Fe(a, (s) => {
5118
5118
  if (t)
5119
5119
  n.push(s(this.value, this.schema, this.model));
5120
5120
  else {
@@ -5129,7 +5129,7 @@ const ut = {
5129
5129
  }
5130
5130
  const i = (a) => {
5131
5131
  let s = [];
5132
- Fe(go(a), (r) => {
5132
+ Fe(mo(a), (r) => {
5133
5133
  Array.isArray(r) && r.length > 0 ? s = s.concat(r) : Ht(r) && s.push(r);
5134
5134
  }), ke(this.schema.onValidated) && this.schema.onValidated.call(this, this.model, s, this.schema);
5135
5135
  const o = s.length === 0;
@@ -5170,7 +5170,7 @@ const ut = {
5170
5170
  },
5171
5171
  getFieldID(e, t = !1) {
5172
5172
  const n = be(this.formOptions, "fieldIdPrefix", "");
5173
- return Qi(e, n) + (t ? "-" + mo() : "");
5173
+ return Zi(e, n) + (t ? "-" + fo() : "");
5174
5174
  },
5175
5175
  getLabelId(e) {
5176
5176
  return `${this.getFieldID(e)}-label`;
@@ -5229,8 +5229,8 @@ function Cm(e, t, n, i, a, s) {
5229
5229
  type: "button",
5230
5230
  onClick: t[0] || (t[0] = (...r) => s.handleOpen && s.handleOpen(...r))
5231
5231
  }, [
5232
- y("i", wm, N(a.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
5233
- y("span", null, N(s.titleText), 1)
5232
+ y("i", wm, F(a.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
5233
+ y("span", null, F(s.titleText), 1)
5234
5234
  ]),
5235
5235
  y("div", {
5236
5236
  class: Oe(["advanced-field-dropdown", s.openClass])
@@ -5284,7 +5284,7 @@ const Bm = /* @__PURE__ */ Te(bm, [["render", Cm], ["__scopeId", "data-v-6f4089b
5284
5284
  ]);
5285
5285
  };
5286
5286
  }
5287
- }), Co = /* @__PURE__ */ Te(Im, [["__scopeId", "data-v-96055692"]]), Mm = { class: "array-item-wrapper" }, Rm = { class: "array-item" }, km = { class: "array-item-after" }, Tm = /* @__PURE__ */ ye({
5287
+ }), Bo = /* @__PURE__ */ Te(Im, [["__scopeId", "data-v-96055692"]]), Mm = { class: "array-item-wrapper" }, Rm = { class: "array-item" }, km = { class: "array-item-after" }, Tm = /* @__PURE__ */ ye({
5288
5288
  __name: "FieldArrayItem",
5289
5289
  props: {
5290
5290
  model: {
@@ -5316,7 +5316,7 @@ const Bm = /* @__PURE__ */ Te(bm, [["render", Cm], ["__scopeId", "data-v-6f4089b
5316
5316
  ]);
5317
5317
  };
5318
5318
  }
5319
- }), Bo = /* @__PURE__ */ Te(Tm, [["__scopeId", "data-v-eb9975cc"]]), Sm = { class: "multi-item-wrapper" }, xm = /* @__PURE__ */ ye({
5319
+ }), Oo = /* @__PURE__ */ Te(Tm, [["__scopeId", "data-v-eb9975cc"]]), Sm = { class: "multi-item-wrapper" }, xm = /* @__PURE__ */ ye({
5320
5320
  __name: "FieldArrayMultiItem",
5321
5321
  emits: ["remove-item"],
5322
5322
  setup(e) {
@@ -5338,11 +5338,11 @@ const Bm = /* @__PURE__ */ Te(bm, [["render", Cm], ["__scopeId", "data-v-6f4089b
5338
5338
  ]);
5339
5339
  };
5340
5340
  }
5341
- }), Oo = /* @__PURE__ */ Te(xm, [["__scopeId", "data-v-37458a0a"]]), Gm = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}";
5341
+ }), Io = /* @__PURE__ */ Te(xm, [["__scopeId", "data-v-37458a0a"]]), Gm = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}";
5342
5342
  function Pm(e) {
5343
5343
  return e ? e.length === 36 && new RegExp(`^${Gm}$`).test(e) : !1;
5344
5344
  }
5345
- const Ai = 50, Lt = {
5345
+ const gi = 50, Lt = {
5346
5346
  CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
5347
5347
  CREATE_FROM_ENTITY: "CREATE_FROM_ENTITY",
5348
5348
  UPDATE_ENTITY: "UPDATE_ENTITY",
@@ -5431,15 +5431,15 @@ const Lm = {
5431
5431
  let n = null;
5432
5432
  if (!this[Et])
5433
5433
  return console.warn("[@kong-ui-public/forms] No API service provided"), [];
5434
- for (; t.length < Ai; ) {
5434
+ for (; t.length < gi; ) {
5435
5435
  const i = await this[Et].getAll(this.entity, {
5436
- size: Ai,
5436
+ size: gi,
5437
5437
  offset: n,
5438
5438
  ...e
5439
5439
  });
5440
5440
  if (t.push(...i.data.data), n = i.data.offset, !n) break;
5441
5441
  }
5442
- return t.slice(0, Ai);
5442
+ return t.slice(0, gi);
5443
5443
  },
5444
5444
  async fetchSuggestions(e, t) {
5445
5445
  return this.fetchUntilLimit({ [t]: e });
@@ -5491,25 +5491,25 @@ function Vm(e, t, n, i, a, s) {
5491
5491
  class: "first-part",
5492
5492
  "data-testid": r.id && `${r.id}-0`,
5493
5493
  "data-testlabel": r.label
5494
- }, N(s.getSuggestionLabel(r).split(" - ")[0]), 9, jm),
5494
+ }, F(s.getSuggestionLabel(r).split(" - ")[0]), 9, jm),
5495
5495
  (p(!0), I(Ae, null, Ee(s.getSuggestionLabel(r).split(" - ").slice(1), (c, d) => (p(), I("span", {
5496
5496
  key: d,
5497
5497
  class: "field-span",
5498
5498
  "data-testid": r.id && `${r.id}-${d + 1}` || d + 1
5499
- }, N(c), 9, Ym))), 128))
5499
+ }, F(c), 9, Ym))), 128))
5500
5500
  ]),
5501
5501
  empty: E(() => [
5502
5502
  y("div", Hm, [
5503
- y("span", null, N(a.message), 1)
5503
+ y("span", null, F(a.message), 1)
5504
5504
  ])
5505
5505
  ]),
5506
5506
  _: 1
5507
5507
  }, 8, ["id", "modelValue", "items", "loading", "placeholder", "onChange", "onQueryChange"])
5508
5508
  ]);
5509
5509
  }
5510
- const Io = /* @__PURE__ */ Te(Lm, [["render", Vm], ["__scopeId", "data-v-dd2fda9e"]]);
5510
+ const Mo = /* @__PURE__ */ Te(Lm, [["render", Vm], ["__scopeId", "data-v-dd2fda9e"]]);
5511
5511
  function Nm(e) {
5512
- const t = Z([]), n = Z(null), i = (b) => Ht(b) ? Nt[b] != null ? Nt[b] : (console.warn(`'${b}' is not a validator function!`), null) : b, a = F({
5512
+ const t = Z([]), n = Z(null), i = (b) => Ht(b) ? Nt[b] != null ? Nt[b] : (console.warn(`'${b}' is not a validator function!`), null) : b, a = K({
5513
5513
  get() {
5514
5514
  var b, S;
5515
5515
  let P;
@@ -5522,7 +5522,7 @@ function Nm(e) {
5522
5522
  }), s = (b) => {
5523
5523
  var S;
5524
5524
  c();
5525
- const P = (S = e.schema) == null ? void 0 : S.validator, K = be(e.formOptions, "validateAsync", !1);
5525
+ const P = (S = e.schema) == null ? void 0 : S.validator, z = be(e.formOptions, "validateAsync", !1);
5526
5526
  let B = [];
5527
5527
  if (P && e.schema.readonly !== !0 && e.disabled !== !0) {
5528
5528
  const M = [];
@@ -5530,7 +5530,7 @@ function Nm(e) {
5530
5530
  M.push(i(h));
5531
5531
  }) : M.push(i(P)), Fe(M, (h) => {
5532
5532
  var R, T;
5533
- if (K)
5533
+ if (z)
5534
5534
  B.push(h(a.value, e.schema, (R = e.model) == null ? void 0 : R.value));
5535
5535
  else {
5536
5536
  const W = h(a.value, e.schema, (T = e.model) == null ? void 0 : T.value);
@@ -5545,7 +5545,7 @@ function Nm(e) {
5545
5545
  const f = (M) => {
5546
5546
  var h, R;
5547
5547
  let T = [];
5548
- if (Fe(go(M), (W) => {
5548
+ if (Fe(mo(M), (W) => {
5549
5549
  Array.isArray(W) && W.length > 0 ? T = T.concat(W) : Ht(W) && T.push(W);
5550
5550
  }), ke((h = e.schema) == null ? void 0 : h.onValidated) && e.schema.onValidated((R = e.model) == null ? void 0 : R.value, T, e.schema), !b) {
5551
5551
  const W = T.length === 0;
@@ -5553,24 +5553,24 @@ function Nm(e) {
5553
5553
  }
5554
5554
  return M = T, T;
5555
5555
  };
5556
- return K ? Promise.all(B).then(f) : f(B);
5556
+ return z ? Promise.all(B).then(f) : f(B);
5557
5557
  }, o = () => {
5558
5558
  ke(n.value) ? n.value() : n.value = Mn(
5559
5559
  s,
5560
5560
  be(e.schema, "validateDebounceTime", be(e.formOptions, "validateDebounceTime", 500))
5561
5561
  );
5562
5562
  }, r = (b, S) => {
5563
- var P, K, B;
5563
+ var P, z, B;
5564
5564
  let f = !1;
5565
- ke(e.schema.set) ? (e.schema.set((P = e.model) == null ? void 0 : P.value, b), f = !0) : e.schema.model && (d(e.schema.model, b), f = !0), f && (e.emitModelUpdated && (K = e.model) != null && K.value && e.emitModelUpdated({ value: b, model: e.schema.model }), ke(e.schema.onChanged) && e.schema.onChanged((B = e.model) == null ? void 0 : B.value, b, S, e.schema), be(e.formOptions, "validateAfterChanged", !1) === !0 && (be(e.schema, "validateDebounceTime", be(e.formOptions, "validateDebounceTime", 0)) > 0 ? o() : s()));
5565
+ ke(e.schema.set) ? (e.schema.set((P = e.model) == null ? void 0 : P.value, b), f = !0) : e.schema.model && (d(e.schema.model, b), f = !0), f && (e.emitModelUpdated && (z = e.model) != null && z.value && e.emitModelUpdated({ value: b, model: e.schema.model }), ke(e.schema.onChanged) && e.schema.onChanged((B = e.model) == null ? void 0 : B.value, b, S, e.schema), be(e.formOptions, "validateAfterChanged", !1) === !0 && (be(e.schema, "validateDebounceTime", be(e.formOptions, "validateDebounceTime", 0)) > 0 ? o() : s()));
5566
5566
  }, c = () => {
5567
5567
  t.value.splice(0);
5568
5568
  }, d = (b, S) => {
5569
5569
  var P;
5570
- let K = b.replace(/\[(\w+)\]/g, ".$1");
5571
- K = K.replace(/^\./, "");
5570
+ let z = b.replace(/\[(\w+)\]/g, ".$1");
5571
+ z = z.replace(/^\./, "");
5572
5572
  let B = ((P = e.model) == null ? void 0 : P.value) || {}, f = 0;
5573
- const M = K.split("."), h = M.length;
5573
+ const M = z.split("."), h = M.length;
5574
5574
  for (; f < h; ) {
5575
5575
  const R = M[f];
5576
5576
  if (f < h - 1)
@@ -5583,7 +5583,7 @@ function Nm(e) {
5583
5583
  }
5584
5584
  }, u = (b, S = !1) => {
5585
5585
  const P = be(e.formOptions, "fieldIdPrefix", "");
5586
- return Qi(b, P) + (S ? "-" + mo() : "");
5586
+ return Zi(b, P) + (S ? "-" + fo() : "");
5587
5587
  }, A = (b) => `${u(b)}-label`, m = () => be(e.schema, "fieldClasses", []), k = (b) => e.formatValueToField && typeof e.formatValueToField == "function" ? e.formatValueToField(b) : b, L = (b) => e.formatValueToModel && typeof e.formatValueToModel == "function" ? e.formatValueToModel(b) : b;
5588
5588
  return {
5589
5589
  value: a,
@@ -5636,7 +5636,7 @@ const Qt = {
5636
5636
  },
5637
5637
  emits: ["modelUpdated"],
5638
5638
  setup(e, { expose: t, emit: n }) {
5639
- const i = e, a = n, s = Ft(i), o = Es(nt, void 0), { updateModelValue: r, getFieldID: c, clearValidationErrors: d, value: u } = Qt.useAbstractFields({
5639
+ const i = e, a = n, s = Ft(i), o = ws(nt, void 0), { updateModelValue: r, getFieldID: c, clearValidationErrors: d, value: u } = Qt.useAbstractFields({
5640
5640
  model: s.model,
5641
5641
  schema: i.schema,
5642
5642
  formOptions: i.formOptions,
@@ -5647,7 +5647,7 @@ const Qt = {
5647
5647
  t({
5648
5648
  clearValidationErrors: d
5649
5649
  });
5650
- const A = F(() => {
5650
+ const A = K(() => {
5651
5651
  var B;
5652
5652
  const f = (B = i.schema) == null ? void 0 : B.inputType.toLowerCase();
5653
5653
  switch (f) {
@@ -5668,19 +5668,19 @@ const Qt = {
5668
5668
  const T = m[A.value] || "", W = en.parse(B, T);
5669
5669
  W && ((M = i.schema) != null && M.format ? R = en.format(W, (h = i.schema) == null ? void 0 : h.format) : R = W.valueOf()), r(R, f);
5670
5670
  }, L = (B, f) => {
5671
- Mi(B) || (B = NaN), r(B, f);
5671
+ Ri(B) || (B = NaN), r(B, f);
5672
5672
  }, b = (B) => {
5673
5673
  let f = B;
5674
5674
  switch (A.value) {
5675
5675
  case "number":
5676
5676
  case "range":
5677
- Mi(parseFloat(B)) && (f = parseFloat(B));
5677
+ Ri(parseFloat(B)) && (f = parseFloat(B));
5678
5678
  break;
5679
5679
  }
5680
5680
  u.value = f, r(f, B);
5681
5681
  }, S = (B) => {
5682
5682
  u.value = B, r(B, B);
5683
- }, P = Z(null), K = () => {
5683
+ }, P = Z(null), z = () => {
5684
5684
  var B;
5685
5685
  ke(P.value) && ((B = P.value) == null || B.flush());
5686
5686
  };
@@ -5738,7 +5738,7 @@ const Qt = {
5738
5738
  "show-password-mask-toggle": A.value === "password",
5739
5739
  type: A.value,
5740
5740
  width: e.schema.width,
5741
- onBlur: K,
5741
+ onBlur: z,
5742
5742
  "onUpdate:modelValue": b
5743
5743
  }), null, 16, ["id", "autocomplete", "class", "disabled", "help", "max", "maxlength", "min", "minlength", "model-value", "name", "pattern", "placeholder", "readonly", "required", "show-password-mask-toggle", "type", "width"]),
5744
5744
  (p(), H(Ye(g(o)), {
@@ -5749,9 +5749,9 @@ const Qt = {
5749
5749
  ]);
5750
5750
  };
5751
5751
  }
5752
- }), Mo = /* @__PURE__ */ Te(Km, [["__scopeId", "data-v-fe1132bb"]]), zm = {
5752
+ }), Ro = /* @__PURE__ */ Te(Km, [["__scopeId", "data-v-fe1132bb"]]), zm = {
5753
5753
  name: "FieldMetric",
5754
- components: { AddIcon: Ui, TrashIcon: Tn },
5754
+ components: { AddIcon: Li, TrashIcon: Tn },
5755
5755
  mixins: [ut],
5756
5756
  emits: ["remove-item"],
5757
5757
  data() {
@@ -5772,7 +5772,7 @@ function Jm(e, t, n, i, a, s) {
5772
5772
  class: "title",
5773
5773
  onClick: t[0] || (t[0] = (d) => a.contentVisible = !a.contentVisible)
5774
5774
  }, [
5775
- me(N(e.model.name ? e.model.name : "New Item") + " ", 1),
5775
+ me(F(e.model.name ? e.model.name : "New Item") + " ", 1),
5776
5776
  G(o, { class: "metric-add-icon" })
5777
5777
  ]),
5778
5778
  G(_o, { name: "slide-fade" }, {
@@ -5795,7 +5795,7 @@ function Jm(e, t, n, i, a, s) {
5795
5795
  })
5796
5796
  ], 2);
5797
5797
  }
5798
- const Ro = /* @__PURE__ */ Te(zm, [["render", Jm]]), Xm = {
5798
+ const ko = /* @__PURE__ */ Te(zm, [["render", Jm]]), Xm = {
5799
5799
  mixins: [ut],
5800
5800
  emits: ["modelUpdated"],
5801
5801
  data() {
@@ -5834,7 +5834,7 @@ const Ro = /* @__PURE__ */ Te(zm, [["render", Jm]]), Xm = {
5834
5834
  }
5835
5835
  }, Qm = { class: "field-object-container" }, Zm = { key: 1 }, Wm = ["id"], _m = { key: 0 }, $m = ["onUpdate:modelValue"], ef = { key: 1 }, tf = ["onUpdate:modelValue"], nf = { key: 2 }, af = ["onUpdate:modelValue"], sf = ["onClick"];
5836
5836
  function of(e, t, n, i, a, s) {
5837
- const o = V("vue-form-generator"), r = ws("attributes");
5837
+ const o = V("vue-form-generator"), r = Cs("attributes");
5838
5838
  return Ke((p(), I("div", Qm, [
5839
5839
  e.schema.schema ? (p(), H(o, {
5840
5840
  key: 0,
@@ -5848,7 +5848,7 @@ function of(e, t, n, i, a, s) {
5848
5848
  class: Oe(e.schema.fieldClasses)
5849
5849
  }, [
5850
5850
  (p(!0), I(Ae, null, Ee(e.value, (c, d) => (p(), I("tr", { key: d }, [
5851
- y("td", null, N(d), 1),
5851
+ y("td", null, F(d), 1),
5852
5852
  a.keyTypes[d] === "string" ? (p(), I("td", _m, [
5853
5853
  Ke(y("input", {
5854
5854
  "onUpdate:modelValue": (u) => e.value[d] = u,
@@ -5907,7 +5907,7 @@ function of(e, t, n, i, a, s) {
5907
5907
  [r, a.attributes]
5908
5908
  ]);
5909
5909
  }
5910
- const ko = /* @__PURE__ */ Te(Xm, [["render", of], ["__scopeId", "data-v-b7e3dcd7"]]), rf = {
5910
+ const To = /* @__PURE__ */ Te(Xm, [["render", of], ["__scopeId", "data-v-b7e3dcd7"]]), rf = {
5911
5911
  components: {
5912
5912
  TrashIcon: Tn
5913
5913
  },
@@ -6024,7 +6024,7 @@ function yf(e, t, n, i, a, s) {
6024
6024
  y("div", null, [
6025
6025
  y("div", uf, [
6026
6026
  y("div", df, [
6027
- y("strong", null, N(u), 1),
6027
+ y("strong", null, F(u), 1),
6028
6028
  y("div", null, [
6029
6029
  G(r, {
6030
6030
  appearance: "tertiary",
@@ -6056,9 +6056,9 @@ function yf(e, t, n, i, a, s) {
6056
6056
  type: s.valueInputType,
6057
6057
  onInput: (A) => s.updateModel(e.value[u], e.model[e.schema.model])
6058
6058
  }, null, 40, gf), [
6059
- [Cs, e.value[u]]
6059
+ [Bs, e.value[u]]
6060
6060
  ]),
6061
- e.schema.fields && e.schema.fields[0].schema.hint ? (p(), I("p", mf, N(e.schema.fields[0].schema.hint), 1)) : ie("", !0),
6061
+ e.schema.fields && e.schema.fields[0].schema.hint ? (p(), I("p", mf, F(e.schema.fields[0].schema.hint), 1)) : ie("", !0),
6062
6062
  (p(), H(Ye(s.autofillSlot), {
6063
6063
  schema: e.schema.fields && e.schema.fields[0].schema || e.schema.values,
6064
6064
  update: (A) => e.value[u] = A,
@@ -6089,16 +6089,16 @@ function yf(e, t, n, i, a, s) {
6089
6089
  onClick: s.addKey
6090
6090
  }, {
6091
6091
  default: E(() => [
6092
- me(" + Add " + N(e.schema.buttonLabel || e.schema.label), 1)
6092
+ me(" + Add " + F(e.schema.buttonLabel || e.schema.label), 1)
6093
6093
  ]),
6094
6094
  _: 1
6095
6095
  }, 8, ["disabled", "onClick"])
6096
6096
  ]),
6097
- e.schema.hintText ? (p(), I("p", vf, N(e.schema.hintText), 1)) : ie("", !0)
6097
+ e.schema.hintText ? (p(), I("p", vf, F(e.schema.hintText), 1)) : ie("", !0)
6098
6098
  ], 2)
6099
6099
  ], 10, lf);
6100
6100
  }
6101
- const To = /* @__PURE__ */ Te(rf, [["render", yf], ["__scopeId", "data-v-9a0290c4"]]), bf = { class: "radio-selection-group" }, Ef = /* @__PURE__ */ ye({
6101
+ const So = /* @__PURE__ */ Te(rf, [["render", yf], ["__scopeId", "data-v-9a0290c4"]]), bf = { class: "radio-selection-group" }, Ef = /* @__PURE__ */ ye({
6102
6102
  __name: "FieldRadio",
6103
6103
  props: {
6104
6104
  disabled: {
@@ -6171,7 +6171,7 @@ const To = /* @__PURE__ */ Te(rf, [["render", yf], ["__scopeId", "data-v-9a0290c
6171
6171
  ]);
6172
6172
  };
6173
6173
  }
6174
- }), So = /* @__PURE__ */ Te(Ef, [["__scopeId", "data-v-09b8afda"]]), xo = /* @__PURE__ */ ye({
6174
+ }), xo = /* @__PURE__ */ Te(Ef, [["__scopeId", "data-v-09b8afda"]]), Go = /* @__PURE__ */ ye({
6175
6175
  __name: "FieldSelect",
6176
6176
  props: {
6177
6177
  disabled: {
@@ -6211,7 +6211,7 @@ const To = /* @__PURE__ */ Te(rf, [["render", yf], ["__scopeId", "data-v-9a0290c
6211
6211
  },
6212
6212
  emits: ["modelUpdated"],
6213
6213
  setup(e, { expose: t, emit: n }) {
6214
- const i = e, a = n, s = F(() => i.schema.selectOptions || {}), o = (b) => Le(b) ? null : b, r = Ft(i), { getFieldID: c, clearValidationErrors: d, value: u } = Qt.useAbstractFields({
6214
+ const i = e, a = n, s = K(() => i.schema.selectOptions || {}), o = (b) => Le(b) ? null : b, r = Ft(i), { getFieldID: c, clearValidationErrors: d, value: u } = Qt.useAbstractFields({
6215
6215
  model: r.model,
6216
6216
  schema: i.schema,
6217
6217
  formOptions: i.formOptions,
@@ -6223,7 +6223,7 @@ const To = /* @__PURE__ */ Te(rf, [["render", yf], ["__scopeId", "data-v-9a0290c
6223
6223
  t({
6224
6224
  clearValidationErrors: d
6225
6225
  });
6226
- const A = F(() => {
6226
+ const A = K(() => {
6227
6227
  const b = i.schema.values;
6228
6228
  return m(typeof b == "function" ? b.apply(this, [i.model, i.schema]) : b);
6229
6229
  }), m = (b) => {
@@ -6260,7 +6260,7 @@ const To = /* @__PURE__ */ Te(rf, [["render", yf], ["__scopeId", "data-v-9a0290c
6260
6260
  return p(), H(P, {
6261
6261
  id: g(c)(e.schema),
6262
6262
  modelValue: g(u),
6263
- "onUpdate:modelValue": S[0] || (S[0] = (K) => kn(u) ? u.value = K : null),
6263
+ "onUpdate:modelValue": S[0] || (S[0] = (z) => kn(u) ? u.value = z : null),
6264
6264
  class: Oe(e.schema.fieldClasses),
6265
6265
  clearable: !e.schema.required,
6266
6266
  disabled: e.disabled || void 0,
@@ -6277,16 +6277,16 @@ const To = /* @__PURE__ */ Te(rf, [["render", yf], ["__scopeId", "data-v-9a0290c
6277
6277
  }), wf = {
6278
6278
  name: "FieldArray",
6279
6279
  components: {
6280
- FieldArrayItem: Bo,
6281
- FieldArrayMultiItem: Oo,
6282
- FieldSelect: xo,
6283
- FieldMetric: Ro,
6284
- FieldObject: ko,
6285
- FieldObjectAdvanced: To,
6286
- FieldAutoSuggest: Io,
6287
- FieldRadio: So,
6288
- FieldArrayCardContainer: Co,
6289
- FieldInput: Mo
6280
+ FieldArrayItem: Oo,
6281
+ FieldArrayMultiItem: Io,
6282
+ FieldSelect: Go,
6283
+ FieldMetric: ko,
6284
+ FieldObject: To,
6285
+ FieldObjectAdvanced: So,
6286
+ FieldAutoSuggest: Mo,
6287
+ FieldRadio: xo,
6288
+ FieldArrayCardContainer: Bo,
6289
+ FieldInput: Ro
6290
6290
  },
6291
6291
  mixins: [ut],
6292
6292
  inject: {
@@ -6423,7 +6423,7 @@ function Mf(e, t, n, i, a, s) {
6423
6423
  }, e.schema.inputAttributes, {
6424
6424
  type: ((A = e.schema.inputAttributes) == null ? void 0 : A.type) || "text"
6425
6425
  }), null, 16, Of)), [
6426
- [Cs, e.value[u]]
6426
+ [Bs, e.value[u]]
6427
6427
  ])
6428
6428
  ];
6429
6429
  }),
@@ -6451,7 +6451,7 @@ function Mf(e, t, n, i, a, s) {
6451
6451
  onClick: s.newElement
6452
6452
  }, {
6453
6453
  default: E(() => [
6454
- me(N(e.schema.newElementButtonLabel || n.newElementButtonLabel), 1)
6454
+ me(F(e.schema.newElementButtonLabel || n.newElementButtonLabel), 1)
6455
6455
  ]),
6456
6456
  _: 1
6457
6457
  }, 8, ["class", "data-testid", "onClick"])
@@ -6528,12 +6528,12 @@ const Rf = /* @__PURE__ */ Te(wf, [["render", Mf], ["__scopeId", "data-v-367d2ee
6528
6528
  }
6529
6529
  }), Sf = /* @__PURE__ */ Te(Tf, [["__scopeId", "data-v-6b4ee1cd"]]);
6530
6530
  var xf = 4;
6531
- function Wa(e) {
6531
+ function _a(e) {
6532
6532
  return bn(e, xf);
6533
6533
  }
6534
6534
  const Gf = { class: "wrapper" }, Pf = ["disabled"], Uf = ["id", "checked", "disabled", "onChange", "name"], Lf = ["disabled"], Df = { class: "info" }, jf = { class: "dropList" }, Yf = ["id", "checked", "disabled", "onChange", "name"];
6535
6535
  function Hf(e, t, n, i, a, s) {
6536
- const o = ws("attributes");
6536
+ const o = Cs("attributes");
6537
6537
  return Ke((p(), I("div", Gf, [
6538
6538
  e.schema.listBox ? (p(), I("div", {
6539
6539
  key: 0,
@@ -6554,7 +6554,7 @@ function Hf(e, t, n, i, a, s) {
6554
6554
  }, null, 40, Uf), [
6555
6555
  [o, "input"]
6556
6556
  ]),
6557
- me(N(s.getItemName(r)), 1)
6557
+ me(F(s.getItemName(r)), 1)
6558
6558
  ])
6559
6559
  ], 2))), 256))
6560
6560
  ], 8, Pf)) : ie("", !0),
@@ -6567,7 +6567,7 @@ function Hf(e, t, n, i, a, s) {
6567
6567
  class: Oe(["mainRow", { expanded: a.comboExpanded }]),
6568
6568
  onClick: t[0] || (t[0] = (...r) => s.onExpandCombo && s.onExpandCombo(...r))
6569
6569
  }, [
6570
- y("div", Df, N(s.selectedCount) + " selected", 1),
6570
+ y("div", Df, F(s.selectedCount) + " selected", 1),
6571
6571
  t[1] || (t[1] = y("div", { class: "arrow" }, null, -1))
6572
6572
  ], 2),
6573
6573
  y("div", jf, [
@@ -6585,7 +6585,7 @@ function Hf(e, t, n, i, a, s) {
6585
6585
  }, null, 40, Yf), [
6586
6586
  [o, "input"]
6587
6587
  ]),
6588
- me(N(s.getItemName(r)), 1)
6588
+ me(F(s.getItemName(r)), 1)
6589
6589
  ])
6590
6590
  ], 2))), 256)) : ie("", !0)
6591
6591
  ])
@@ -6612,7 +6612,7 @@ const Vf = {
6612
6612
  },
6613
6613
  methods: {
6614
6614
  getInputName(e) {
6615
- return this.schema && this.schema.inputName && this.schema.inputName.length > 0 ? Ya(this.schema.inputName + "_" + this.getItemValue(e)) : Ya(this.getItemValue(e));
6615
+ return this.schema && this.schema.inputName && this.schema.inputName.length > 0 ? Ha(this.schema.inputName + "_" + this.getItemValue(e)) : Ha(this.getItemValue(e));
6616
6616
  },
6617
6617
  getItemValue(e) {
6618
6618
  if (We(e)) {
@@ -6639,10 +6639,10 @@ const Vf = {
6639
6639
  },
6640
6640
  onChanged(e, t) {
6641
6641
  if ((Le(this.value) || !Array.isArray(this.value)) && (this.value = []), e.target.checked) {
6642
- const n = Wa(this.value);
6642
+ const n = _a(this.value);
6643
6643
  n.push(this.getItemValue(t)), this.value = n;
6644
6644
  } else {
6645
- const n = Wa(this.value);
6645
+ const n = _a(this.value);
6646
6646
  n.splice(this.value.indexOf(this.getItemValue(t)), 1), this.value = n;
6647
6647
  }
6648
6648
  },
@@ -6767,7 +6767,7 @@ function Qf(e, t, n, i, a, s) {
6767
6767
  onClick: s.addPair
6768
6768
  }, {
6769
6769
  default: E(() => [
6770
- me(N(e.schema.newElementButtonLabel ?? "+ Add Pair"), 1)
6770
+ me(F(e.schema.newElementButtonLabel ?? "+ Add Pair"), 1)
6771
6771
  ]),
6772
6772
  _: 1
6773
6773
  }, 8, ["class", "data-testid", "onClick"])
@@ -6814,7 +6814,7 @@ const Zf = /* @__PURE__ */ Te(Ff, [["render", Qf], ["__scopeId", "data-v-70998d5
6814
6814
  id: g(i)(e.schema)
6815
6815
  }, {
6816
6816
  default: E(() => [
6817
- me(N(g(a)), 1)
6817
+ me(F(g(a)), 1)
6818
6818
  ]),
6819
6819
  _: 1
6820
6820
  }, 8, ["id"])
@@ -6824,6 +6824,12 @@ const Zf = /* @__PURE__ */ Te(Ff, [["render", Qf], ["__scopeId", "data-v-70998d5
6824
6824
  }), _f = /* @__PURE__ */ Te(Wf, [["__scopeId", "data-v-d046a15a"]]), $f = {
6825
6825
  mixins: [ut],
6826
6826
  emits: ["model-updated"],
6827
+ computed: {
6828
+ items() {
6829
+ var e, t;
6830
+ return this.schema.values ? this.schema.values : (t = (e = this.schema.elements) == null ? void 0 : e.one_of) != null && t.length ? this.schema.elements.one_of.map((n) => ({ label: n, value: n })) : [];
6831
+ }
6832
+ },
6827
6833
  methods: {
6828
6834
  onUpdate(e) {
6829
6835
  this.$emit("model-updated", e, this.schema.model);
@@ -6835,7 +6841,7 @@ function eh(e, t, n, i, a, s) {
6835
6841
  return p(), H(o, {
6836
6842
  "aria-labelledby": e.getLabelId(e.schema),
6837
6843
  "data-testid": "field-multiselect",
6838
- items: e.schema.values,
6844
+ items: s.items,
6839
6845
  "label-attributes": { info: e.schema.help },
6840
6846
  "model-value": e.value,
6841
6847
  placeholder: e.schema.placeholder,
@@ -6900,8 +6906,8 @@ function uh(e, t, n, i, a, s) {
6900
6906
  }, null, 8, oh), [
6901
6907
  [tr, a.checkedGroup]
6902
6908
  ]),
6903
- me(" " + N(r.label) + " ", 1),
6904
- y("div", rh, N(r.description), 1)
6909
+ me(" " + F(r.label) + " ", 1),
6910
+ y("div", rh, F(r.description), 1)
6905
6911
  ], 2)
6906
6912
  ]))), 128))
6907
6913
  ])
@@ -7150,7 +7156,7 @@ const dh = /* @__PURE__ */ Te(nh, [["render", uh], ["__scopeId", "data-v-0aaaf59
7150
7156
  },
7151
7157
  emits: ["modelUpdated"],
7152
7158
  setup(e, { expose: t, emit: n }) {
7153
- const i = e, a = n, s = Ft(i), o = Es(nt, void 0), { updateModelValue: r, getFieldID: c, clearValidationErrors: d, value: u } = Qt.useAbstractFields({
7159
+ const i = e, a = n, s = Ft(i), o = ws(nt, void 0), { updateModelValue: r, getFieldID: c, clearValidationErrors: d, value: u } = Qt.useAbstractFields({
7154
7160
  model: s.model,
7155
7161
  schema: i.schema,
7156
7162
  formOptions: i.formOptions,
@@ -7194,28 +7200,28 @@ const dh = /* @__PURE__ */ Te(nh, [["render", uh], ["__scopeId", "data-v-0aaaf59
7194
7200
  __proto__: null,
7195
7201
  FieldAdvanced: Bm,
7196
7202
  FieldArray: Rf,
7197
- FieldArrayCardContainer: Co,
7198
- FieldArrayItem: Bo,
7199
- FieldArrayMultiItem: Oo,
7200
- FieldAutoSuggest: Io,
7203
+ FieldArrayCardContainer: Bo,
7204
+ FieldArrayItem: Oo,
7205
+ FieldArrayMultiItem: Io,
7206
+ FieldAutoSuggest: Mo,
7201
7207
  FieldCheckbox: Sf,
7202
7208
  FieldChecklist: Nf,
7203
- FieldInput: Mo,
7209
+ FieldInput: Ro,
7204
7210
  FieldKeyValuePairs: Zf,
7205
7211
  FieldLabel: _f,
7206
- FieldMetric: Ro,
7212
+ FieldMetric: ko,
7207
7213
  FieldMultiselect: th,
7208
- FieldObject: ko,
7209
- FieldObjectAdvanced: To,
7210
- FieldRadio: So,
7211
- FieldSelect: xo,
7214
+ FieldObject: To,
7215
+ FieldObjectAdvanced: So,
7216
+ FieldRadio: xo,
7217
+ FieldSelect: Go,
7212
7218
  FieldSelectionGroup: dh,
7213
7219
  FieldSwitch: fh,
7214
7220
  FieldTextArea: yh
7215
7221
  }, Symbol.toStringTag, { value: "Module" })), Eh = {
7216
7222
  name: "FormGroup",
7217
7223
  components: bh,
7218
- mixins: [po],
7224
+ mixins: [Ao],
7219
7225
  inject: {
7220
7226
  "vfg-array-item-index": {
7221
7227
  default: void 0
@@ -7287,7 +7293,7 @@ const dh = /* @__PURE__ */ Te(nh, [["render", uh], ["__scopeId", "data-v-0aaaf59
7287
7293
  },
7288
7294
  getFieldID(e) {
7289
7295
  const t = be(this.options, "fieldIdPrefix", "");
7290
- return Qi(e, t);
7296
+ return Zi(e, t);
7291
7297
  },
7292
7298
  getTooltipId(e) {
7293
7299
  return `${this.getFieldID(e)}-tooltip`;
@@ -7410,7 +7416,7 @@ function xh(e, t, n, i, a, s) {
7410
7416
  class: Oe(c.classes),
7411
7417
  type: s.getButtonType(c),
7412
7418
  onClick: (u) => s.buttonClickHandler(c, n.field, u),
7413
- textContent: N(c.label)
7419
+ textContent: F(c.label)
7414
7420
  }, null, 10, Rh))), 128))
7415
7421
  ])) : ie("", !0)
7416
7422
  ]),
@@ -7430,7 +7436,7 @@ function xh(e, t, n, i, a, s) {
7430
7436
  const Gh = /* @__PURE__ */ Te(Eh, [["render", xh], ["__scopeId", "data-v-49ca89d6"]]), Ph = {
7431
7437
  name: "FormGenerator",
7432
7438
  components: { formGroup: Gh },
7433
- mixins: [po],
7439
+ mixins: [Ao],
7434
7440
  inject: {
7435
7441
  // Inject AUTOFILL_SLOT for provide()
7436
7442
  autofillSlot: {
@@ -7690,7 +7696,7 @@ function Dh(e, t, n, i, a, s) {
7690
7696
  c.collapsible.description ? {
7691
7697
  name: "visible-content",
7692
7698
  fn: E(() => [
7693
- me(N(c.collapsible.description), 1)
7699
+ me(F(c.collapsible.description), 1)
7694
7700
  ]),
7695
7701
  key: "0"
7696
7702
  } : void 0
@@ -7699,7 +7705,7 @@ function Dh(e, t, n, i, a, s) {
7699
7705
  class: Oe(e.getFieldRowClasses(c))
7700
7706
  }, {
7701
7707
  default: E(() => [
7702
- c.legend ? (p(), I("legend", Lh, N(c.legend), 1)) : ie("", !0),
7708
+ c.legend ? (p(), I("legend", Lh, F(c.legend), 1)) : ie("", !0),
7703
7709
  (p(!0), I(Ae, null, Ee(c.fields, (u) => (p(), I(Ae, {
7704
7710
  key: u.model
7705
7711
  }, [
@@ -7723,11 +7729,11 @@ function Dh(e, t, n, i, a, s) {
7723
7729
  ], 64))), 128))
7724
7730
  ])) : ie("", !0);
7725
7731
  }
7726
- const Qe = /* @__PURE__ */ Te(Ph, [["render", Dh]]), _a = /* @__PURE__ */ new Set([
7732
+ const Qe = /* @__PURE__ */ Te(Ph, [["render", Dh]]), $a = /* @__PURE__ */ new Set([
7727
7733
  "config-client_id",
7728
7734
  "config-client_secret",
7729
7735
  "config-issuer"
7730
- ]), $a = /* @__PURE__ */ new Set([
7736
+ ]), es = /* @__PURE__ */ new Set([
7731
7737
  "config-scopes_claim",
7732
7738
  "config-scopes_required",
7733
7739
  "config-audience_claim",
@@ -7821,12 +7827,12 @@ const Qe = /* @__PURE__ */ Te(Ph, [["render", Dh]]), _a = /* @__PURE__ */ new Se
7821
7827
  };
7822
7828
  const t = this.formSchema.fields.reduce((n, i) => (n[i.model] = i, n), {});
7823
7829
  this.commonFieldsSchema = {
7824
- fields: Array.from(_a).reduce((n, i) => (t[i] && n.push(t[i]), n), [])
7825
- }, this.authFieldsSchema = {
7826
7830
  fields: Array.from($a).reduce((n, i) => (t[i] && n.push(t[i]), n), [])
7831
+ }, this.authFieldsSchema = {
7832
+ fields: Array.from(es).reduce((n, i) => (t[i] && n.push(t[i]), n), [])
7827
7833
  }, this.advancedFieldsSchema = {
7828
7834
  fields: this.formSchema.fields.filter(
7829
- (n) => n.model.startsWith("config") && n.model !== "config-auth_methods" && !_a.has(n.model) && !$a.has(n.model) || n.model === "tags"
7835
+ (n) => n.model.startsWith("config") && n.model !== "config-auth_methods" && !$a.has(n.model) && !es.has(n.model) || n.model === "tags"
7830
7836
  ).reduce((n, i) => {
7831
7837
  var a, s, o, r;
7832
7838
  switch (i.model) {
@@ -7970,7 +7976,7 @@ function qh(e, t, n, i, a, s) {
7970
7976
  onChange: (k) => s.handleUpdate(k, m.value)
7971
7977
  }, {
7972
7978
  default: E(() => [
7973
- me(N(m.label), 1)
7979
+ me(F(m.label), 1)
7974
7980
  ]),
7975
7981
  _: 2
7976
7982
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
@@ -8061,7 +8067,7 @@ const Jh = /* @__PURE__ */ Te(jh, [["render", qh], ["__scopeId", "data-v-bb72c68
8061
8067
  setup(e) {
8062
8068
  var t;
8063
8069
  on(nt, (t = Xn()) == null ? void 0 : t[Bt]);
8064
- const { t: n, te: i } = ln("en-us", li), a = e, s = F(() => a.formModel.id && a.isEditing || !a.isEditing), o = F(() => {
8070
+ const { t: n, te: i } = ln("en-us", li), a = e, s = K(() => a.formModel.id && a.isEditing || !a.isEditing), o = K(() => {
8065
8071
  const r = a.formSchema;
8066
8072
  return r.fields.map((c) => {
8067
8073
  const d = `post-function.${c.model}`;
@@ -8104,7 +8110,7 @@ const Jh = /* @__PURE__ */ Te(jh, [["render", qh], ["__scopeId", "data-v-bb72c68
8104
8110
  setup(e) {
8105
8111
  var t;
8106
8112
  on(nt, (t = Xn()) == null ? void 0 : t[Bt]);
8107
- const { t: n, te: i } = ln("en-us", li), a = e, s = F(() => a.formModel.id && a.isEditing || !a.isEditing), o = F(() => {
8113
+ const { t: n, te: i } = ln("en-us", li), a = e, s = K(() => a.formModel.id && a.isEditing || !a.isEditing), o = K(() => {
8108
8114
  const r = a.formSchema;
8109
8115
  return r.fields.map((c) => {
8110
8116
  const d = `exit-transformer.${c.model}`;
@@ -8235,14 +8241,14 @@ const Jh = /* @__PURE__ */ Te(jh, [["render", qh], ["__scopeId", "data-v-bb72c68
8235
8241
  setup(e) {
8236
8242
  var t;
8237
8243
  on(nt, (t = Xn()) == null ? void 0 : t[Bt]);
8238
- const n = e, i = Z("zeroSsl"), a = Z("shm"), s = F(() => {
8244
+ const n = e, i = Z("zeroSsl"), a = Z("shm"), s = K(() => {
8239
8245
  var h;
8240
8246
  const R = {};
8241
8247
  if ((h = n.formSchema) != null && h.fields)
8242
8248
  for (const T of n.formSchema.fields)
8243
8249
  R[T.model] = T;
8244
8250
  return R;
8245
- }), o = F(() => {
8251
+ }), o = K(() => {
8246
8252
  var h;
8247
8253
  const R = gt(_h);
8248
8254
  for (const T of R.fields) {
@@ -8250,7 +8256,7 @@ const Jh = /* @__PURE__ */ Te(jh, [["render", qh], ["__scopeId", "data-v-bb72c68
8250
8256
  T.help === void 0 && typeof W == "string" && (T.help = W);
8251
8257
  }
8252
8258
  return R;
8253
- }), r = F(() => {
8259
+ }), r = K(() => {
8254
8260
  var h;
8255
8261
  const R = gt($h);
8256
8262
  for (const T of R.fields) {
@@ -8258,7 +8264,7 @@ const Jh = /* @__PURE__ */ Te(jh, [["render", qh], ["__scopeId", "data-v-bb72c68
8258
8264
  T.help === void 0 && typeof W == "string" && (T.help = W);
8259
8265
  }
8260
8266
  return R;
8261
- }), c = F(() => {
8267
+ }), c = K(() => {
8262
8268
  var h;
8263
8269
  const R = gt(ev);
8264
8270
  for (const T of R.fields) {
@@ -8266,25 +8272,25 @@ const Jh = /* @__PURE__ */ Te(jh, [["render", qh], ["__scopeId", "data-v-bb72c68
8266
8272
  T.help === void 0 && typeof W == "string" && (T.help = W);
8267
8273
  }
8268
8274
  return R;
8269
- }), d = F(() => ({
8275
+ }), d = K(() => ({
8270
8276
  fields: n.formSchema.fields.filter((h) => !h.model.startsWith("config") && h.model !== "tags")
8271
- })), u = F(() => ({
8277
+ })), u = K(() => ({
8272
8278
  fields: o.value.fields.filter(
8273
8279
  (h) => !r.value.fields.some((R) => R.model === h.model) && !c.value.fields.some((R) => R.model === h.model)
8274
8280
  )
8275
- })), A = F(() => ({
8281
+ })), A = K(() => ({
8276
8282
  fields: n.formSchema.fields.filter((h) => h.model.startsWith("config-storage") && !h.model.startsWith("config-storage_config-consul") && !h.model.startsWith("config-storage_config-redis") && !h.model.startsWith("config-storage_config-shm") && !h.model.startsWith("config-storage_config-vault"))
8277
- })), m = F(() => ({
8283
+ })), m = K(() => ({
8278
8284
  fields: n.formSchema.fields.filter((h) => h.model.startsWith("config-storage_config-consul"))
8279
- })), k = F(() => ({
8285
+ })), k = K(() => ({
8280
8286
  fields: n.formSchema.fields.filter((h) => h.model.startsWith("config-storage_config-redis"))
8281
- })), L = F(() => ({
8287
+ })), L = K(() => ({
8282
8288
  fields: n.formSchema.fields.filter((h) => h.model.startsWith("config-storage_config-shm"))
8283
- })), b = F(() => ({
8289
+ })), b = K(() => ({
8284
8290
  fields: n.formSchema.fields.filter((h) => h.model.startsWith("config-storage_config-vault"))
8285
- })), S = F(() => ({
8291
+ })), S = K(() => ({
8286
8292
  fields: n.formSchema.fields.filter((h) => h.model.startsWith("config") && !u.value.fields.filter((R) => R.model === h.model).length && !A.value.fields.filter((R) => R.model === h.model).length || h.model === "tags")
8287
- })), P = F(() => n.formModel.id && n.isEditing || !n.isEditing), K = [
8293
+ })), P = K(() => n.formModel.id && n.isEditing || !n.isEditing), z = [
8288
8294
  {
8289
8295
  hash: "#general",
8290
8296
  title: "General"
@@ -8331,7 +8337,7 @@ const Jh = /* @__PURE__ */ Te(jh, [["render", qh], ["__scopeId", "data-v-bb72c68
8331
8337
  schema: d.value,
8332
8338
  onModelUpdated: e.onModelUpdated
8333
8339
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : ie("", !0),
8334
- G(W, { tabs: K }, {
8340
+ G(W, { tabs: z }, {
8335
8341
  general: E(() => [
8336
8342
  y("div", tv, [
8337
8343
  R[0] || (R[0] = y("div", { class: "header-wrapper" }, [
@@ -8512,12 +8518,12 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8512
8518
  }, i = /* @__PURE__ */ new Set([
8513
8519
  "selectionGroup",
8514
8520
  ...["identifier", "limit", "window_size", "error_code", "error_message"].map((j) => `config-${j}`)
8515
- ]), a = (j) => j === void 0 ? !1 : i.has(j), { t: s } = ln("en-us", li), o = e, r = F(() => {
8521
+ ]), a = (j) => j === void 0 ? !1 : i.has(j), { t: s } = ln("en-us", li), o = e, r = K(() => {
8516
8522
  var j, Y;
8517
8523
  const Q = (Y = (j = o.formSchema) == null ? void 0 : j.fields) == null ? void 0 : Y.find((te) => te.type === "selectionGroup" && te.model === "selectionGroup");
8518
8524
  if (Q)
8519
8525
  return { fields: [Q] };
8520
- }), c = F(() => {
8526
+ }), c = K(() => {
8521
8527
  var j, Y;
8522
8528
  const Q = ((Y = (j = o.formSchema) == null ? void 0 : j.fields) == null ? void 0 : Y.filter((D) => !a(D.model))) ?? [], te = [], re = [], ce = [];
8523
8529
  let ae = !1;
@@ -8536,13 +8542,13 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8536
8542
  redis: { fields: re },
8537
8543
  afterStrategy: { fields: ce }
8538
8544
  };
8539
- }), d = F(() => {
8545
+ }), d = K(() => {
8540
8546
  const j = o.formModel["config-window_type"];
8541
8547
  return Object.prototype.hasOwnProperty.call(n, j) ? n[j] : [];
8542
- }), u = F(() => {
8548
+ }), u = K(() => {
8543
8549
  var j, Y;
8544
8550
  return (Y = (j = o.formSchema) == null ? void 0 : j.fields) == null ? void 0 : Y.find((Q) => Q.model === "config-identifier");
8545
- }), A = F(
8551
+ }), A = K(
8546
8552
  () => {
8547
8553
  var j, Y, Q;
8548
8554
  return (((Q = (Y = (j = o.formSchema) == null ? void 0 : j.fields) == null ? void 0 : Y.find((te) => te.model === "config-identifier")) == null ? void 0 : Q.values) ?? []).map((te) => ({
@@ -8550,16 +8556,16 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8550
8556
  value: te
8551
8557
  }));
8552
8558
  }
8553
- ), m = Z(), k = Z(!0), L = F(
8559
+ ), m = Z(), k = Z(!0), L = K(
8554
8560
  () => {
8555
8561
  var j, Y, Q;
8556
8562
  return o.formModel["config-window_type"] ?? ((Q = (Y = (j = o.formSchema) == null ? void 0 : j.fields) == null ? void 0 : Y.find((te) => te.model === "config-window_type")) == null ? void 0 : Q.default);
8557
8563
  }
8558
- ), b = F(() => {
8564
+ ), b = K(() => {
8559
8565
  var j, Y, Q, te, re, ce;
8560
8566
  const ae = (Q = (Y = (j = o.formSchema) == null ? void 0 : j.fields) == null ? void 0 : Y.find((D) => D.model === "config-window_type")) == null ? void 0 : Q.default;
8561
8567
  return (((ce = (re = (te = o.formSchema) == null ? void 0 : te.fields) == null ? void 0 : re.find((D) => D.model === "config-window_type")) == null ? void 0 : ce.values) ?? []).sort((D, v) => D === ae ? -1 : v === ae ? 1 : 0);
8562
- }), S = F(() => {
8568
+ }), S = K(() => {
8563
8569
  var j;
8564
8570
  const Y = (j = o.formModel["config-limit"]) == null ? void 0 : j.map((Q, te) => {
8565
8571
  var re, ce;
@@ -8569,17 +8575,17 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8569
8575
  };
8570
8576
  });
8571
8577
  return !Array.isArray(Y) || Y.length === 0 ? [{ limit: void 0, windowSize: void 0 }] : Y;
8572
- }), P = F(
8578
+ }), P = K(
8573
8579
  () => {
8574
8580
  var j, Y, Q, te;
8575
8581
  return ((j = o.formModel) == null ? void 0 : j["config-identifier"]) ?? ((te = (Q = (Y = o.formSchema) == null ? void 0 : Y.fields) == null ? void 0 : Q.find((re) => re.model === "config-identifier")) == null ? void 0 : te.default);
8576
8582
  }
8577
- ), K = F(
8583
+ ), z = K(
8578
8584
  () => {
8579
8585
  var j, Y, Q, te;
8580
8586
  return ((j = o.formModel) == null ? void 0 : j["config-error_code"]) ?? ((te = (Q = (Y = o.formSchema) == null ? void 0 : Y.fields) == null ? void 0 : Q.find((re) => re.model === "config-error_code")) == null ? void 0 : te.default);
8581
8587
  }
8582
- ), B = F(
8588
+ ), B = K(
8583
8589
  () => {
8584
8590
  var j, Y, Q, te;
8585
8591
  return ((j = o.formModel) == null ? void 0 : j["config-error_message"]) ?? ((te = (Q = (Y = o.formSchema) == null ? void 0 : Y.fields) == null ? void 0 : Q.find((re) => re.model === "config-error_message")) == null ? void 0 : te.default);
@@ -8637,11 +8643,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8637
8643
  required: ""
8638
8644
  }, {
8639
8645
  default: E(() => [
8640
- me(N(g(s)("rla.request_limits.title")), 1)
8646
+ me(F(g(s)("rla.request_limits.title")), 1)
8641
8647
  ]),
8642
8648
  _: 1
8643
8649
  }),
8644
- y("div", cv, N(g(s)("rla.request_limits.subtitle")), 1)
8650
+ y("div", cv, F(g(s)("rla.request_limits.subtitle")), 1)
8645
8651
  ]),
8646
8652
  default: E(() => [
8647
8653
  y("div", uv, [
@@ -8659,7 +8665,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8659
8665
  }, null, 8, pv)
8660
8666
  ]),
8661
8667
  default: E(() => [
8662
- me(N(g(s)("rla.window_type.label")) + " ", 1)
8668
+ me(F(g(s)("rla.window_type.label")) + " ", 1)
8663
8669
  ]),
8664
8670
  _: 1
8665
8671
  }),
@@ -8672,7 +8678,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8672
8678
  "onUpdate:modelValue": M
8673
8679
  }, {
8674
8680
  default: E(() => [
8675
- me(N(g(s)(`rla.window_type.options.${x}`)), 1)
8681
+ me(F(g(s)(`rla.window_type.options.${x}`)), 1)
8676
8682
  ]),
8677
8683
  _: 2
8678
8684
  }, 1032, ["model-value", "name", "selected-value"]))), 128))
@@ -8686,7 +8692,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8686
8692
  for: `rla-form-request-limits-item-${oe}-legend`
8687
8693
  }, {
8688
8694
  default: E(() => [
8689
- me(N(g(s)("rla.request_limits.label_index", { index: oe + 1 })), 1)
8695
+ me(F(g(s)("rla.request_limits.label_index", { index: oe + 1 })), 1)
8690
8696
  ]),
8691
8697
  _: 2
8692
8698
  }, 1032, ["for"]),
@@ -8701,14 +8707,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8701
8707
  type: "number",
8702
8708
  "onUpdate:modelValue": (ue) => h(oe, Number.parseInt(ue))
8703
8709
  }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
8704
- y("div", null, N(g(s)("rla.request_limits.interval_determiner")), 1),
8710
+ y("div", null, F(g(s)("rla.request_limits.interval_determiner")), 1),
8705
8711
  G(ce, {
8706
8712
  "model-value": x.windowSize && x.windowSize.toString(),
8707
8713
  placeholder: g(s)("rla.request_limits.time_interval"),
8708
8714
  type: "number",
8709
8715
  "onUpdate:modelValue": (ue) => R(oe, Number.parseInt(ue))
8710
8716
  }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
8711
- y("div", null, N(g(s)("rla.request_limits.seconds")), 1)
8717
+ y("div", null, F(g(s)("rla.request_limits.seconds")), 1)
8712
8718
  ], 8, fv),
8713
8719
  y("div", hv, [
8714
8720
  G(ae, {
@@ -8726,7 +8732,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8726
8732
  onClick: () => T(oe)
8727
8733
  }, {
8728
8734
  default: E(() => [
8729
- G(g(Ui))
8735
+ G(g(Li))
8730
8736
  ]),
8731
8737
  _: 2
8732
8738
  }, 1032, ["onClick"])
@@ -8735,17 +8741,17 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8735
8741
  ]))), 128))
8736
8742
  ]),
8737
8743
  d.value.length > 0 ? (p(), I("div", vv, [
8738
- y("div", null, N(g(s)("rla.start_with_a_use_case")), 1),
8744
+ y("div", null, F(g(s)("rla.start_with_a_use_case")), 1),
8739
8745
  y("div", yv, [
8740
8746
  (p(!0), I(Ae, null, Ee(d.value, (x, oe) => (p(), H(v, {
8741
8747
  key: `use-case-${oe}`,
8742
8748
  "max-width": "300"
8743
8749
  }, {
8744
8750
  content: E(() => [
8745
- y("div", null, N(x.description), 1),
8751
+ y("div", null, F(x.description), 1),
8746
8752
  Y[9] || (Y[9] = y("br", null, null, -1)),
8747
- y("div", null, N(g(s)("rla.request_limits.label")) + ": " + N(x.config.limit), 1),
8748
- y("div", null, N(g(s)("rla.request_limits.time_interval")) + ": " + N(x.config.window_size), 1)
8753
+ y("div", null, F(g(s)("rla.request_limits.label")) + ": " + F(x.config.limit), 1),
8754
+ y("div", null, F(g(s)("rla.request_limits.time_interval")) + ": " + F(x.config.window_size), 1)
8749
8755
  ]),
8750
8756
  default: E(() => [
8751
8757
  G(D, {
@@ -8754,7 +8760,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8754
8760
  onClick: () => f(x, `${L.value}-${oe}`)
8755
8761
  }, {
8756
8762
  default: E(() => [
8757
- me(N(x.label), 1)
8763
+ me(F(x.label), 1)
8758
8764
  ]),
8759
8765
  _: 2
8760
8766
  }, 1032, ["appearance", "onClick"])
@@ -8800,14 +8806,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8800
8806
  }
8801
8807
  }, {
8802
8808
  default: E(() => [
8803
- me(N(g(s)("rla.error_message.label")), 1)
8809
+ me(F(g(s)("rla.error_message.label")), 1)
8804
8810
  ]),
8805
8811
  _: 1
8806
8812
  }, 8, ["info"]),
8807
8813
  y("legend", Ev, [
8808
8814
  G(ce, {
8809
8815
  class: "input-error-code",
8810
- "model-value": K.value && K.value.toString(),
8816
+ "model-value": z.value && z.value.toString(),
8811
8817
  placeholder: g(s)("rla.error_message.code_placeholder"),
8812
8818
  type: "number",
8813
8819
  "onUpdate:modelValue": Y[3] || (Y[3] = (x) => j.onModelUpdated(Number.parseInt(x), "config-error_code"))
@@ -8868,13 +8874,13 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8868
8874
  OIDCForm: Jh,
8869
8875
  PostFunction: Qh,
8870
8876
  RLAForm: Cv
8871
- }, Symbol.toStringTag, { value: "Module" })), Ri = [
8877
+ }, Symbol.toStringTag, { value: "Module" })), ki = [
8872
8878
  "array",
8873
8879
  "metric",
8874
8880
  "advanced",
8875
8881
  "selectionGroup",
8876
8882
  "object-advanced"
8877
- ], Go = (e) => ({
8883
+ ], Po = (e) => ({
8878
8884
  "openid-connect": "OIDCForm",
8879
8885
  "post-function": "PostFunction",
8880
8886
  // Pre and Post function plugins are using same component
@@ -9159,13 +9165,20 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9159
9165
  values: ["cluster", "redis"]
9160
9166
  }
9161
9167
  }, xv = {
9168
+ "config-injection_types": {
9169
+ type: "multiselect"
9170
+ },
9171
+ "config-locations": {
9172
+ type: "multiselect"
9173
+ }
9174
+ }, Gv = {
9162
9175
  "config-api_specification": {
9163
9176
  label: "Config.API Specification",
9164
9177
  placeholder: "Enter an API spec",
9165
9178
  type: "textArea",
9166
9179
  rows: 10
9167
9180
  }
9168
- }, Gv = {
9181
+ }, Pv = {
9169
9182
  "config-access": {},
9170
9183
  "config-body_filter": {},
9171
9184
  "config-header_filter": {},
@@ -9173,7 +9186,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9173
9186
  "config-functions": {},
9174
9187
  "config-log": {},
9175
9188
  "config-rewrite": {}
9176
- }, es = [
9189
+ }, ts = [
9177
9190
  "config-access",
9178
9191
  "config-body_filter",
9179
9192
  "config-header_filter",
@@ -9186,7 +9199,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9186
9199
  [t]: nn.fields.arrayItems({
9187
9200
  newElementButtonLabel: "Add"
9188
9201
  })
9189
- }), Gv), jn = {
9202
+ }), Pv), jn = {
9190
9203
  "config-strategy": {
9191
9204
  label: "Config.Strategy",
9192
9205
  type: "select",
@@ -9199,7 +9212,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9199
9212
  placeholder: "Enter list of consumer groups",
9200
9213
  hint: "e.g. group1, group2"
9201
9214
  }
9202
- }, Pv = {
9215
+ }, Uv = {
9203
9216
  "config-remove-headers": {},
9204
9217
  "config-remove.querystring": {},
9205
9218
  "config-remove-body": {},
@@ -9216,7 +9229,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9216
9229
  "config-append-querystring": {},
9217
9230
  "config-append-body": {},
9218
9231
  "config-allow-body": {}
9219
- }, Uv = [
9232
+ }, Lv = [
9220
9233
  "config-remove-headers",
9221
9234
  "config-remove.querystring",
9222
9235
  "config-remove-body",
@@ -9238,7 +9251,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9238
9251
  [t]: nn.fields.arrayItems({
9239
9252
  newElementButtonLabel: "Add"
9240
9253
  })
9241
- }), Pv), Lv = {
9254
+ }), Uv), Dv = {
9242
9255
  "config-parameter_schema": {
9243
9256
  ...Gn,
9244
9257
  items: {
@@ -9299,7 +9312,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9299
9312
  }
9300
9313
  }
9301
9314
  }
9302
- }, Dv = {
9315
+ }, jv = {
9303
9316
  "config-rules": {
9304
9317
  ...sn,
9305
9318
  newElementButtonLabel: "+ Add Rule",
@@ -9326,7 +9339,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9326
9339
  }
9327
9340
  }
9328
9341
  }
9329
- }, jv = {
9342
+ }, Yv = {
9330
9343
  "config-session_redis_cluster_nodes": {
9331
9344
  ...sn,
9332
9345
  newElementButtonLabel: "+ Add Cluster Node",
@@ -9347,7 +9360,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9347
9360
  }
9348
9361
  }
9349
9362
  }
9350
- }, Yv = {
9363
+ }, Hv = {
9351
9364
  "config-metrics": {
9352
9365
  ...Gn,
9353
9366
  items: {
@@ -9422,7 +9435,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9422
9435
  }
9423
9436
  }
9424
9437
  }
9425
- }, Hv = {
9438
+ }, Vv = {
9426
9439
  "config-metrics": {
9427
9440
  ...Gn,
9428
9441
  items: {
@@ -9499,12 +9512,12 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9499
9512
  }
9500
9513
  }
9501
9514
  }
9502
- }, Vv = {
9515
+ }, Nv = {
9503
9516
  "config-behavior-idp_error_response_body_template": {
9504
9517
  type: "textArea",
9505
9518
  rows: 4
9506
9519
  }
9507
- }, Nv = {
9520
+ }, Fv = {
9508
9521
  "config-vault": {
9509
9522
  type: "AutoSuggest",
9510
9523
  entity: "vaults",
@@ -9515,7 +9528,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9515
9528
  modelTransformer: (e) => ({ id: e }),
9516
9529
  keyFromObject: "id"
9517
9530
  }
9518
- }, Fv = {
9531
+ }, Kv = {
9519
9532
  "config-static_tags": {
9520
9533
  ...Gn,
9521
9534
  items: {
@@ -9541,11 +9554,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9541
9554
  }
9542
9555
  }
9543
9556
  }
9544
- }, Kv = (e, t) => {
9557
+ }, zv = (e, t) => {
9545
9558
  const n = e.model.startsWith("config-"), i = t.model.startsWith("config-");
9546
9559
  return n && !i ? 1 : !n && i ? -1 : 0;
9547
- }, Po = (e, t) => (e.order ?? 0) - (t.order ?? 0), ts = (e, t) => Kv(e, t) || Po(e, t) || e.model.localeCompare(t.model), zv = (e) => {
9548
- const { capitalize: t } = Pi(), { convertToDotNotation: n } = Hs(), { i18n: { t: i } } = $n(), a = {
9560
+ }, Uo = (e, t) => (e.order ?? 0) - (t.order ?? 0), ns = (e, t) => zv(e, t) || Uo(e, t) || e.model.localeCompare(t.model), qv = (e) => {
9561
+ const { capitalize: t } = Ui(), { convertToDotNotation: n } = Vs(), { i18n: { t: i } } = $n(), a = {
9549
9562
  "application-registration": {
9550
9563
  overwriteDefault: !0,
9551
9564
  formSchema: {
@@ -9564,13 +9577,13 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9564
9577
  }
9565
9578
  },
9566
9579
  statsd: {
9567
- ...Yv
9580
+ ...Hv
9568
9581
  },
9569
9582
  "statsd-advanced": {
9570
- ...Hv
9583
+ ...Vv
9571
9584
  },
9572
9585
  "route-by-header": {
9573
- ...Dv
9586
+ ...jv
9574
9587
  },
9575
9588
  "ai-prompt-decorator": {
9576
9589
  ...Ov
@@ -9585,7 +9598,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9585
9598
  ...Rv
9586
9599
  },
9587
9600
  "vault-auth": {
9588
- ...Nv
9601
+ ...Fv
9589
9602
  },
9590
9603
  "oas-validation": {
9591
9604
  "config-api_spec": {
@@ -9594,7 +9607,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9594
9607
  }
9595
9608
  },
9596
9609
  mocking: {
9597
- ...xv
9610
+ ...Gv
9598
9611
  },
9599
9612
  "rate-limiting": {
9600
9613
  ...jn
@@ -9607,30 +9620,33 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9607
9620
  "graphql-rate-limiting-advanced": {
9608
9621
  ...Sv
9609
9622
  },
9623
+ "injection-protection": {
9624
+ ...xv
9625
+ },
9610
9626
  "response-ratelimiting": {
9611
9627
  ...jn
9612
9628
  },
9613
9629
  "pre-function": {
9614
- ...es
9630
+ ...ts
9615
9631
  },
9616
9632
  // both post and pre function plugin forms need identical schema overrides, so we use PreFunction for both
9617
9633
  "post-function": {
9618
- ...es
9634
+ ...ts
9619
9635
  },
9620
9636
  "request-transformer-advanced": {
9621
- ...Uv
9637
+ ...Lv
9622
9638
  },
9623
9639
  "request-validator": {
9624
- ...Lv
9640
+ ...Dv
9625
9641
  },
9626
9642
  zipkin: {
9627
- ...Fv
9643
+ ...Kv
9628
9644
  },
9629
9645
  "upstream-oauth": {
9630
- ...Vv
9646
+ ...Nv
9631
9647
  },
9632
9648
  saml: {
9633
- ...jv
9649
+ ...Yv
9634
9650
  }
9635
9651
  }, s = () => ["created_at", "updated_at", "id"], o = (f, M, h) => {
9636
9652
  let R = {};
@@ -9643,7 +9659,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9643
9659
  c(R[ce], ce, R, Q, Y, h);
9644
9660
  });
9645
9661
  const te = Q.name, re = ot[te];
9646
- if (Go(te) || re != null && re.useLegacyForm || e != null && e.credential)
9662
+ if (Po(te) || re != null && re.useLegacyForm || e != null && e.credential)
9647
9663
  Y.fields.sort((ce, ae) => (ce.order = ce.order || 0, ae.order = ae.order || 0, ce.order - ae.order));
9648
9664
  else {
9649
9665
  const ce = [], ae = [], D = [], v = {};
@@ -9675,14 +9691,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9675
9691
  O.length > 0 && console.warn(`Unknown checked fields for plugin ${te}: ${O.join(", ")}`);
9676
9692
  const ne = [];
9677
9693
  ce.length > 0 && ne.push({
9678
- fields: ce.sort(Po)
9694
+ fields: ce.sort(Uo)
9679
9695
  }), (ae.length > 0 || D.length > 0) && ne.push({
9680
- fields: ae.sort(ts),
9696
+ fields: ae.sort(ns),
9681
9697
  collapsible: {
9682
9698
  title: i("plugins.form.grouping.plugin_configuration.title"),
9683
9699
  description: i("plugins.form.grouping.plugin_configuration.description"),
9684
9700
  nestedCollapsible: {
9685
- fields: D.sort(ts),
9701
+ fields: D.sort(ns),
9686
9702
  triggerLabel: {
9687
9703
  expand: i("plugins.form.grouping.advanced_parameters.view"),
9688
9704
  collapse: i("plugins.form.grouping.advanced_parameters.hide")
@@ -9769,16 +9785,16 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9769
9785
  }, S = (f) => f.fields.reduce((M, h) => (h.fields && h.fields.forEach((R) => {
9770
9786
  M[R.model] = R;
9771
9787
  }), h.model && (M[h.model] = h), M), {}), P = (f, M) => {
9772
- if (!Ri.includes(f.model))
9788
+ if (!ki.includes(f.model))
9773
9789
  return;
9774
9790
  const h = S(f);
9775
- Ri.forEach((R) => {
9791
+ ki.forEach((R) => {
9776
9792
  Object.keys(h).forEach((T) => {
9777
9793
  const W = r(h[T]);
9778
9794
  M[T] = W ? h[T].default : null;
9779
9795
  }), delete M[R];
9780
9796
  });
9781
- }, K = (f, M) => f.inputType === "hidden" ? "" : n(t(f.label || M.replace(/_/g, " "))), B = (f, M) => {
9797
+ }, z = (f, M) => f.inputType === "hidden" ? "" : n(t(f.label || M.replace(/_/g, " "))), B = (f, M) => {
9782
9798
  switch (P(f, M), f.type) {
9783
9799
  case "foreign":
9784
9800
  A(f, M);
@@ -9799,7 +9815,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9799
9815
  b(f);
9800
9816
  break;
9801
9817
  }
9802
- f.inputType === "foreign" && A(f, M), f.label = K(f, f.model);
9818
+ f.inputType === "foreign" && A(f, M), f.label = z(f, f.model);
9803
9819
  };
9804
9820
  return {
9805
9821
  buildFormSchema: c,
@@ -9810,8 +9826,8 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9810
9826
  }, Ue = {
9811
9827
  useI18n: $n,
9812
9828
  usePluginMetaData: Eu,
9813
- usePluginHelpers: Hs,
9814
- useSchemas: zv
9829
+ usePluginHelpers: Vs,
9830
+ useSchemas: qv
9815
9831
  }, Je = "/v2/control-planes/{controlPlaneId}/core-entities", He = "/{workspace}", je = {
9816
9832
  list: {
9817
9833
  konnect: {
@@ -9884,7 +9900,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9884
9900
  forEntity: `${He}/{entityType}/{entityId}/plugins/{id}`
9885
9901
  }
9886
9902
  }
9887
- }, qv = {
9903
+ }, Jv = {
9888
9904
  create: "New Vault",
9889
9905
  copy_id: "Copy ID",
9890
9906
  copy_json: "Copy JSON",
@@ -9892,18 +9908,18 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9892
9908
  delete: "Delete",
9893
9909
  view: "View Details",
9894
9910
  loading: "Loading..."
9895
- }, Jv = {
9911
+ }, Xv = {
9896
9912
  general: "Vaults could not be retrieved",
9897
9913
  delete: "The vault could not be deleted at this time.",
9898
9914
  copy: "Failed to copy to clipboard"
9899
- }, Xv = {
9915
+ }, Qv = {
9900
9916
  placeholder_for_vaults: {
9901
9917
  konnect: "Filter by exact prefix or ID"
9902
9918
  },
9903
9919
  placeholder_for_secrets: {
9904
9920
  konnect: "Filter by exact key"
9905
9921
  }
9906
- }, Qv = {
9922
+ }, Zv = {
9907
9923
  title: "Vaults",
9908
9924
  list: {
9909
9925
  toolbar_actions: {
@@ -9921,7 +9937,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9921
9937
  description: "Improve the security of your Kong Gateway deployment with centralized secrets."
9922
9938
  }
9923
9939
  }
9924
- }, Zv = {
9940
+ }, Wv = {
9925
9941
  title: "Secrets",
9926
9942
  list: {
9927
9943
  toolbar_actions: {
@@ -9953,12 +9969,12 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
9953
9969
  },
9954
9970
  hint: "Once saved, the secret value will not be visible"
9955
9971
  }
9956
- }, Wv = {
9972
+ }, _v = {
9957
9973
  success: "Copied {val} to clipboard",
9958
9974
  success_brief: "Successfully copied to clipboard"
9959
- }, _v = {
9960
- vault_type: "Vault Type"
9961
9975
  }, $v = {
9976
+ vault_type: "Vault Type"
9977
+ }, ey = {
9962
9978
  sections: {
9963
9979
  general: {
9964
9980
  title: "General Information",
@@ -10207,7 +10223,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
10207
10223
  }
10208
10224
  },
10209
10225
  unavailable: "This vault provider is available on Enterprise."
10210
- }, ey = {
10226
+ }, ty = {
10211
10227
  title: "Look up Key in Vault",
10212
10228
  vault: {
10213
10229
  label: "Vault",
@@ -10236,59 +10252,59 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
10236
10252
  complete_action: "Look up {cta}",
10237
10253
  cta: "Key in Vault"
10238
10254
  }
10239
- }, ty = {
10240
- actions: qv,
10255
+ }, ny = {
10256
+ actions: Jv,
10241
10257
  delete: {
10242
10258
  title: "Delete a Vault",
10243
10259
  title_for_secret: "Delete a Secret",
10244
10260
  description: "This action cannot be reversed."
10245
10261
  },
10246
- errors: Jv,
10247
- search: Xv,
10248
- vaults: Qv,
10249
- secrets: Zv,
10250
- copy: Wv,
10251
- labels: _v,
10252
- form: $v,
10253
- vault_secret_picker: ey
10262
+ errors: Xv,
10263
+ search: Qv,
10264
+ vaults: Zv,
10265
+ secrets: Wv,
10266
+ copy: _v,
10267
+ labels: $v,
10268
+ form: ey,
10269
+ vault_secret_picker: ty
10254
10270
  };
10255
- function ny() {
10256
- const e = ln("en-us", ty);
10271
+ function iy() {
10272
+ const e = ln("en-us", ny);
10257
10273
  return {
10258
10274
  i18n: e,
10259
- i18nT: ks(e)
10275
+ i18nT: Ts(e)
10260
10276
  // Translation component <i18n-t>
10261
10277
  };
10262
10278
  }
10263
- const Uo = {
10264
- useI18n: ny
10265
- }, gi = "/v2/control-planes/{controlPlaneId}/core-entities", ns = "/v2/control-planes/{controlPlaneId}/config-stores", mi = "/{workspace}", is = {
10279
+ const Lo = {
10280
+ useI18n: iy
10281
+ }, mi = "/v2/control-planes/{controlPlaneId}/core-entities", is = "/v2/control-planes/{controlPlaneId}/config-stores", fi = "/{workspace}", as = {
10266
10282
  list: {
10267
10283
  konnect: {
10268
- getAll: `${gi}/vaults`,
10269
- deleteConfigStore: `${ns}/{id}?force=true`
10284
+ getAll: `${mi}/vaults`,
10285
+ deleteConfigStore: `${is}/{id}?force=true`
10270
10286
  },
10271
10287
  kongManager: {
10272
- getAll: `${mi}/vaults`
10288
+ getAll: `${fi}/vaults`
10273
10289
  }
10274
10290
  },
10275
10291
  form: {
10276
10292
  konnect: {
10277
- create: `${gi}/vaults`,
10278
- createConfigStore: ns,
10279
- edit: `${gi}/vaults/{id}`
10280
- },
10281
- kongManager: {
10282
10293
  create: `${mi}/vaults`,
10294
+ createConfigStore: is,
10283
10295
  edit: `${mi}/vaults/{id}`
10296
+ },
10297
+ kongManager: {
10298
+ create: `${fi}/vaults`,
10299
+ edit: `${fi}/vaults/{id}`
10284
10300
  }
10285
10301
  }
10286
- }, Lo = (e, t) => {
10302
+ }, Do = (e, t) => {
10287
10303
  const n = e.__vccOpts || e;
10288
10304
  for (const [i, a] of t)
10289
10305
  n[i] = a;
10290
10306
  return n;
10291
- }, Yn = "/v2/control-planes/{controlPlaneId}", as = {
10307
+ }, Yn = "/v2/control-planes/{controlPlaneId}", ss = {
10292
10308
  getVault: {
10293
10309
  konnect: `${Yn}/core-entities/vaults/{id}`
10294
10310
  },
@@ -10301,9 +10317,9 @@ const Uo = {
10301
10317
  edit: `${Yn}/config-stores/{id}/secrets/{secretId}`
10302
10318
  }
10303
10319
  }
10304
- }, iy = {
10320
+ }, ay = {
10305
10321
  class: "vault-secret-picker-provider"
10306
- }, ay = /* @__PURE__ */ ye({
10322
+ }, sy = /* @__PURE__ */ ye({
10307
10323
  __name: "VaultSecretPickerProvider",
10308
10324
  props: {
10309
10325
  value: {},
@@ -10320,19 +10336,19 @@ const Uo = {
10320
10336
  t: a
10321
10337
  },
10322
10338
  i18nT: s
10323
- } = Uo.useI18n();
10324
- return (o, r) => (p(), I("div", iy, [G(g(s), {
10339
+ } = Lo.useI18n();
10340
+ return (o, r) => (p(), I("div", ay, [G(g(s), {
10325
10341
  keypath: "vault_secret_picker.provider.complete_action",
10326
10342
  scope: "global"
10327
10343
  }, {
10328
10344
  cta: E(() => [y("span", {
10329
10345
  class: "vault-secret-picker-provider-action",
10330
10346
  onClick: r[0] || (r[0] = () => i("open", n.value, n.update))
10331
- }, N(g(a)("vault_secret_picker.provider.cta")), 1)]),
10347
+ }, F(g(a)("vault_secret_picker.provider.cta")), 1)]),
10332
10348
  _: 1
10333
10349
  })]));
10334
10350
  }
10335
- }), ss = /* @__PURE__ */ Lo(ay, [["__scopeId", "data-v-200e7f4d"]]), sy = (e) => {
10351
+ }), os = /* @__PURE__ */ Do(sy, [["__scopeId", "data-v-200e7f4d"]]), oy = (e) => {
10336
10352
  let t = e.trim();
10337
10353
  if (!t.startsWith("{") || !t.endsWith("}"))
10338
10354
  throw new Error("Invalid secret reference: must be enclosed in curly braces");
@@ -10351,15 +10367,15 @@ const Uo = {
10351
10367
  optionalSecretKey: s == null ? void 0 : s.join("/")
10352
10368
  // Non-empty string or undefined
10353
10369
  };
10354
- }, oy = (e) => {
10370
+ }, ry = (e) => {
10355
10371
  if (!e.vaultPrefix)
10356
10372
  throw new Error("Invalid secret reference: must have a vault prefix");
10357
10373
  let t = `vault://${e.vaultPrefix}`;
10358
10374
  return e.secretId && (t = `${t}/${e.secretId}`), e.optionalSecretKey && (t = `${t}/${e.optionalSecretKey}`), `{${t}}`;
10359
- }, ry = {
10375
+ }, ly = {
10360
10376
  key: 1,
10361
10377
  class: "inputs-wrapper"
10362
- }, ly = { "data-testid": "no-search-results" }, cy = { class: "k-select-selected-item-label" }, uy = { class: "vault-secret-picker-vault-dropdown-item" }, dy = { class: "select-item-label" }, py = { class: "select-item-description" }, Ay = { class: "select-item-description" }, gy = { "data-testid": "no-search-results" }, my = /* @__PURE__ */ ye({
10378
+ }, cy = { "data-testid": "no-search-results" }, uy = { class: "k-select-selected-item-label" }, dy = { class: "vault-secret-picker-vault-dropdown-item" }, py = { class: "select-item-label" }, Ay = { class: "select-item-description" }, gy = { class: "select-item-description" }, my = { "data-testid": "no-search-results" }, fy = /* @__PURE__ */ ye({
10363
10379
  __name: "VaultSecretPicker",
10364
10380
  props: {
10365
10381
  config: {
@@ -10376,15 +10392,15 @@ const Uo = {
10376
10392
  emits: ["proceed", "cancel"],
10377
10393
  setup(e, { emit: t }) {
10378
10394
  var n;
10379
- const { i18n: { t: i } } = Uo.useI18n(), a = e, s = t, { axiosInstance: o } = Kt({
10395
+ const { i18n: { t: i } } = Lo.useI18n(), a = e, s = t, { axiosInstance: o } = Kt({
10380
10396
  // 404 errors are allowed in this components
10381
10397
  validateStatus: (ae) => ae === 404 || ae >= 200 && ae < 300,
10382
10398
  // Spread the passed-in config later to allow overriding
10383
10399
  ...(n = a.config) == null ? void 0 : n.axiosRequestConfig
10384
- }), r = Z(!1), c = Z(""), d = Z(""), u = Z(""), A = Z(), m = F(() => {
10400
+ }), r = Z(!1), c = Z(""), d = Z(""), u = Z(""), A = Z(), m = K(() => {
10385
10401
  var ae, D;
10386
- return a.config.app === "konnect" ? as.list[a.config.app].replace(/{id}/gi, ((D = (ae = A.value) == null ? void 0 : ae.config) == null ? void 0 : D.config_store_id) ?? "") : "<not_applicable>";
10387
- }), k = F(() => {
10402
+ return a.config.app === "konnect" ? ss.list[a.config.app].replace(/{id}/gi, ((D = (ae = A.value) == null ? void 0 : ae.config) == null ? void 0 : D.config_store_id) ?? "") : "<not_applicable>";
10403
+ }), k = K(() => {
10388
10404
  if (S && M)
10389
10405
  return i("vault_secret_picker.fetch_error.vaults_and_secrets");
10390
10406
  if (S)
@@ -10396,8 +10412,8 @@ const Uo = {
10396
10412
  loading: b,
10397
10413
  error: S,
10398
10414
  loadItems: P,
10399
- results: K
10400
- } = aa(a.config, is.list[a.config.app].getAll, void 0, {
10415
+ results: z
10416
+ } = sa(a.config, as.list[a.config.app].getAll, void 0, {
10401
10417
  fetchedItemsKey: "data",
10402
10418
  searchKeys: ["prefix"]
10403
10419
  }), {
@@ -10406,36 +10422,36 @@ const Uo = {
10406
10422
  error: M,
10407
10423
  loadItems: h,
10408
10424
  results: R
10409
- } = aa(a.config, m, void 0, {
10425
+ } = sa(a.config, m, void 0, {
10410
10426
  fetchedItemsKey: "data",
10411
10427
  searchKeys: ["key"],
10412
10428
  exactMatchKey: "key"
10413
- }), T = F(() => {
10429
+ }), T = K(() => {
10414
10430
  var ae;
10415
10431
  let D = !1;
10416
- const v = ((ae = K.value) == null ? void 0 : ae.map((O) => (O.prefix === c.value && (D = !0), { label: O.prefix, value: O.prefix, vault: O }))) ?? [];
10432
+ const v = ((ae = z.value) == null ? void 0 : ae.map((O) => (O.prefix === c.value && (D = !0), { label: O.prefix, value: O.prefix, vault: O }))) ?? [];
10417
10433
  return !D && A.value && v.push({
10418
10434
  label: A.value.prefix,
10419
10435
  value: A.value.prefix,
10420
10436
  vault: A.value
10421
10437
  }), v;
10422
- }), W = F(() => {
10438
+ }), W = K(() => {
10423
10439
  var ae;
10424
10440
  let D = !1;
10425
10441
  const v = ((ae = R.value) == null ? void 0 : ae.map((O) => (O.key === d.value && (D = !0), { label: O.key, value: O.key }))) ?? [];
10426
10442
  return !D && d.value && v.push({ label: d.value, value: d.value }), v;
10427
- }), j = F(() => {
10443
+ }), j = K(() => {
10428
10444
  var ae;
10429
10445
  return ((ae = A == null ? void 0 : A.value) == null ? void 0 : ae.name) === "konnect";
10430
- }), Y = F(() => !!A.value && !!d.value), Q = (ae) => ae.label ? `${ae.label} - (${ae.vault.name} - ${ae.vault.id})` : ae.value, te = (ae) => {
10446
+ }), Y = K(() => !!A.value && !!d.value), Q = (ae) => ae.label ? `${ae.label} - (${ae.vault.name} - ${ae.vault.id})` : ae.value, te = (ae) => {
10431
10447
  var D, v;
10432
- let O = `${a.config.apiBaseUrl}${is.form[a.config.app].edit}`;
10448
+ let O = `${a.config.apiBaseUrl}${as.form[a.config.app].edit}`;
10433
10449
  return a.config.app === "konnect" ? O = O.replace(/{controlPlaneId}/gi, ((D = a.config) == null ? void 0 : D.controlPlaneId) || "") : a.config.app === "kongManager" && (O = O.replace(/\/{workspace}/gi, (v = a.config) != null && v.workspace ? `/${a.config.workspace}` : "")), O.replace(/{id}/gi, ae);
10434
10450
  }, re = (ae, D) => {
10435
10451
  var v;
10436
- return a.config.app !== "konnect" ? "<not_applicable>" : `${a.config.apiBaseUrl}${as.form[a.config.app].edit}`.replace(/{controlPlaneId}/gi, ((v = a.config) == null ? void 0 : v.controlPlaneId) || "").replace(/{id}/gi, D).replace(/{secretId}/gi, ae);
10452
+ return a.config.app !== "konnect" ? "<not_applicable>" : `${a.config.apiBaseUrl}${ss.form[a.config.app].edit}`.replace(/{controlPlaneId}/gi, ((v = a.config) == null ? void 0 : v.controlPlaneId) || "").replace(/{id}/gi, D).replace(/{secretId}/gi, ae);
10437
10453
  }, ce = () => {
10438
- s("proceed", oy({
10454
+ s("proceed", ry({
10439
10455
  vaultPrefix: c.value,
10440
10456
  secretId: d.value || void 0,
10441
10457
  // Either a non-empty string or undefined
@@ -10448,7 +10464,7 @@ const Uo = {
10448
10464
  if (r.value = !0, c.value = "", A.value = void 0, d.value = "", u.value = "", typeof ae == "string" && ae.trim().length > 0)
10449
10465
  try {
10450
10466
  let D, v = "", O = "", ne = "";
10451
- const J = sy(ae), { data: x } = await o.get(te(J.vaultPrefix));
10467
+ const J = oy(ae), { data: x } = await o.get(te(J.vaultPrefix));
10452
10468
  if (x != null && x.name)
10453
10469
  if (D = x, v = J.vaultPrefix, D.name === "konnect") {
10454
10470
  if (J.secretId) {
@@ -10488,7 +10504,7 @@ const Uo = {
10488
10504
  "data-testid": "vault-secret-picker-fetch-error",
10489
10505
  "icon-variant": "error",
10490
10506
  message: k.value
10491
- }, null, 8, ["message"])) : (p(), I("div", ry, [
10507
+ }, null, 8, ["message"])) : (p(), I("div", ly, [
10492
10508
  G(O, {
10493
10509
  modelValue: c.value,
10494
10510
  "onUpdate:modelValue": D[0] || (D[0] = (x) => c.value = x),
@@ -10508,19 +10524,19 @@ const Uo = {
10508
10524
  onQueryChange: g(L)
10509
10525
  }, {
10510
10526
  loading: E(() => [
10511
- y("div", null, N(g(i)("actions.loading")), 1)
10527
+ y("div", null, F(g(i)("actions.loading")), 1)
10512
10528
  ]),
10513
10529
  empty: E(() => [
10514
- y("div", ly, N(g(i)("vault_secret_picker.no_results")), 1)
10530
+ y("div", cy, F(g(i)("vault_secret_picker.no_results")), 1)
10515
10531
  ]),
10516
10532
  "selected-item-template": E(({ item: x }) => [
10517
- y("span", cy, N(Q(x)), 1)
10533
+ y("span", uy, F(Q(x)), 1)
10518
10534
  ]),
10519
10535
  "item-template": E(({ item: x }) => [
10520
- y("div", uy, [
10521
- y("span", dy, N(x.label), 1),
10522
- y("span", py, N(x.vault.name), 1),
10523
- y("span", Ay, N(x.vault.id), 1)
10536
+ y("div", dy, [
10537
+ y("span", py, F(x.label), 1),
10538
+ y("span", Ay, F(x.vault.name), 1),
10539
+ y("span", gy, F(x.vault.id), 1)
10524
10540
  ])
10525
10541
  ]),
10526
10542
  _: 1
@@ -10545,10 +10561,10 @@ const Uo = {
10545
10561
  onQueryChange: g(B)
10546
10562
  }, {
10547
10563
  loading: E(() => [
10548
- y("div", null, N(g(i)("actions.loading")), 1)
10564
+ y("div", null, F(g(i)("actions.loading")), 1)
10549
10565
  ]),
10550
10566
  empty: E(() => [
10551
- y("div", gy, N(g(i)("vault_secret_picker.no_results")), 1)
10567
+ y("div", my, F(g(i)("vault_secret_picker.no_results")), 1)
10552
10568
  ]),
10553
10569
  _: 1
10554
10570
  }, 8, ["modelValue", "disabled", "items", "label", "loading", "placeholder", "onQueryChange"])) : (p(), H(ne, {
@@ -10582,7 +10598,7 @@ const Uo = {
10582
10598
  }, 8, ["action-button-disabled", "action-button-text", "title", "visible"]);
10583
10599
  };
10584
10600
  }
10585
- }), fy = /* @__PURE__ */ Lo(my, [["__scopeId", "data-v-df8552cc"]]), hy = { key: 0 }, vy = /* @__PURE__ */ ye({
10601
+ }), hy = /* @__PURE__ */ Do(fy, [["__scopeId", "data-v-df8552cc"]]), vy = { key: 0 }, yy = /* @__PURE__ */ ye({
10586
10602
  __name: "PluginFieldRuleAlerts",
10587
10603
  props: {
10588
10604
  rules: {}
@@ -10590,7 +10606,7 @@ const Uo = {
10590
10606
  setup(e) {
10591
10607
  const t = e, { formatPluginFieldLabel: n } = Ue.usePluginHelpers(), { i18n: { t: i } } = Ue.useI18n(), a = (r) => r.map(
10592
10608
  (c) => c.replace(/^[cC]onfig\./, "").split(".").map((d) => n(d)).join(".")
10593
- ).join(", "), s = (r, c) => i(r, { parameters: a(c) }), o = F(() => {
10609
+ ).join(", "), s = (r, c) => i(r, { parameters: a(c) }), o = K(() => {
10594
10610
  const r = [];
10595
10611
  if (t.rules.atLeastOneOf)
10596
10612
  for (const c of t.rules.atLeastOneOf)
@@ -10610,16 +10626,16 @@ const Uo = {
10610
10626
  y("ul", null, [
10611
10627
  (p(!0), I(Ae, null, Ee(o.value, (u, A) => (p(), I("li", {
10612
10628
  key: `simple-alert-${A}`
10613
- }, N(u), 1))), 128)),
10614
- t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (p(), I("li", hy, [
10629
+ }, F(u), 1))), 128)),
10630
+ t.rules.onlyOneOfMutuallyRequired && t.rules.onlyOneOfMutuallyRequired.length > 0 ? (p(), I("li", vy, [
10615
10631
  (p(!0), I(Ae, null, Ee(t.rules.onlyOneOfMutuallyRequired, (u, A) => (p(), I("div", {
10616
10632
  key: `only-one-mutually-alert-${A}`
10617
10633
  }, [
10618
- y("div", null, N(g(i)("plugins.form.field_rules.only_one_of_mutually_required")), 1),
10634
+ y("div", null, F(g(i)("plugins.form.field_rules.only_one_of_mutually_required")), 1),
10619
10635
  y("ul", null, [
10620
10636
  (p(!0), I(Ae, null, Ee(u, (m, k) => (p(), I("li", {
10621
10637
  key: `only-one-mutually-alert-${A}-combination-${k}`
10622
- }, N(a(m)), 1))), 128))
10638
+ }, F(a(m)), 1))), 128))
10623
10639
  ])
10624
10640
  ]))), 128))
10625
10641
  ])) : ie("", !0)
@@ -10634,13 +10650,13 @@ const Uo = {
10634
10650
  for (const [i, a] of t)
10635
10651
  n[i] = a;
10636
10652
  return n;
10637
- }, yy = /* @__PURE__ */ dt(vy, [["__scopeId", "data-v-d8eb79cf"]]), by = { class: "kong-ui-entities-plugin-form" }, Ey = {
10653
+ }, by = /* @__PURE__ */ dt(yy, [["__scopeId", "data-v-d8eb79cf"]]), Ey = { class: "kong-ui-entities-plugin-form" }, wy = {
10638
10654
  key: 1,
10639
10655
  class: "entity-form"
10640
- }, wy = { class: "plugin-config-empty-state" }, Cy = ye({
10656
+ }, Cy = { class: "plugin-config-empty-state" }, By = ye({
10641
10657
  components: { ...Bv }
10642
- }), By = /* @__PURE__ */ ye({
10643
- ...Cy,
10658
+ }), Oy = /* @__PURE__ */ ye({
10659
+ ...By,
10644
10660
  __name: "PluginEntityForm",
10645
10661
  props: {
10646
10662
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -10722,7 +10738,7 @@ const Uo = {
10722
10738
  }) : a.get(O, { params: v });
10723
10739
  }
10724
10740
  });
10725
- const S = Z(""), P = Z(null), K = Z({}), B = mn({}), f = mn({}), M = F(() => {
10741
+ const S = Z(""), P = Z(null), z = Z({}), B = mn({}), f = mn({}), M = K(() => {
10726
10742
  var D;
10727
10743
  return (D = P.value) == null ? void 0 : D.options;
10728
10744
  }), h = Z(!1), R = Z(), T = (D, v) => {
@@ -10733,10 +10749,10 @@ const Uo = {
10733
10749
  }, j = () => {
10734
10750
  var x, oe;
10735
10751
  const D = { ...i.schema }, v = f, O = B, ne = Object.keys(v), J = {};
10736
- if (!c(K.value))
10737
- for (let ue = 0; ue < ((oe = (x = K.value) == null ? void 0 : x.fields) == null ? void 0 : oe.length); ue++)
10738
- D[K.value.fields[ue].model] = K.value.fields[ue];
10739
- return Ri.forEach((ue) => {
10752
+ if (!c(z.value))
10753
+ for (let ue = 0; ue < ((oe = (x = z.value) == null ? void 0 : x.fields) == null ? void 0 : oe.length); ue++)
10754
+ D[z.value.fields[ue].model] = z.value.fields[ue];
10755
+ return ki.forEach((ue) => {
10740
10756
  D[ue] && (D[ue].fields.forEach((ge) => {
10741
10757
  ge.fields && ge.fields.forEach((ee) => {
10742
10758
  D[ee.model] = ee;
@@ -10879,33 +10895,33 @@ const Uo = {
10879
10895
  if (u(D || {}, v || {}))
10880
10896
  return;
10881
10897
  const O = s(D);
10882
- Object.assign(f, O.model), K.value = {
10883
- fields: (J = (ne = K.value) == null ? void 0 : ne.fields) == null ? void 0 : J.map((x) => ({ ...x, disabled: x.disabled || !1 }))
10884
- }, Object.assign(B, JSON.parse(JSON.stringify(O.model))), S.value = Go(O.model.name), re();
10898
+ Object.assign(f, O.model), z.value = {
10899
+ fields: (J = (ne = z.value) == null ? void 0 : ne.fields) == null ? void 0 : J.map((x) => ({ ...x, disabled: x.disabled || !1 }))
10900
+ }, Object.assign(B, JSON.parse(JSON.stringify(O.model))), S.value = Po(O.model.name), re();
10885
10901
  }, { immediate: !0, deep: !0 }), rn(() => {
10886
10902
  var D, v;
10887
- P.value = s(i.schema), Object.assign(f, ((D = P.value) == null ? void 0 : D.model) || {}), K.value = ((v = P.value) == null ? void 0 : v.schema) || {}, re();
10903
+ P.value = s(i.schema), Object.assign(f, ((D = P.value) == null ? void 0 : D.model) || {}), z.value = ((v = P.value) == null ? void 0 : v.schema) || {}, re();
10888
10904
  }), (D, v) => {
10889
10905
  var J;
10890
10906
  const O = V("KSkeleton"), ne = V("VueFormGenerator");
10891
10907
  return p(), I(Ae, null, [
10892
- y("div", by, [
10908
+ y("div", Ey, [
10893
10909
  te.value ? (p(), H(O, {
10894
10910
  key: 0,
10895
10911
  type: "form"
10896
- })) : (p(), I("div", Ey, [
10912
+ })) : (p(), I("div", wy, [
10897
10913
  S.value && (f.id && e.editing || !e.editing) ? (p(), H(Ye(S.value), {
10898
10914
  key: 0,
10899
10915
  "form-model": f,
10900
10916
  "form-options": M.value,
10901
- "form-schema": K.value,
10917
+ "form-schema": z.value,
10902
10918
  "is-editing": e.editing,
10903
10919
  "on-model-updated": Y
10904
10920
  }, Dt({ _: 2 }, [
10905
10921
  e.enableVaultSecretPicker ? {
10906
10922
  name: g(Bt),
10907
10923
  fn: E((x) => [
10908
- x.schema.referenceable ? (p(), H(g(ss), rt({ key: 0 }, x, {
10924
+ x.schema.referenceable ? (p(), H(g(os), rt({ key: 0 }, x, {
10909
10925
  onOpen: v[0] || (v[0] = (oe, ue) => T(oe, ue))
10910
10926
  }), null, 16)) : ie("", !0)
10911
10927
  ]),
@@ -10916,19 +10932,19 @@ const Uo = {
10916
10932
  key: 1,
10917
10933
  model: f,
10918
10934
  options: M.value,
10919
- schema: K.value,
10935
+ schema: z.value,
10920
10936
  onModelUpdated: Y,
10921
10937
  onRefreshModel: j
10922
10938
  }, Dt({
10923
10939
  "plugin-config-empty-state": E(() => [
10924
- y("div", wy, N(g(A)("plugins.form.grouping.plugin_configuration.empty")), 1)
10940
+ y("div", Cy, F(g(A)("plugins.form.grouping.plugin_configuration.empty")), 1)
10925
10941
  ]),
10926
10942
  _: 2
10927
10943
  }, [
10928
10944
  (J = g(ot)[f.name]) != null && J.fieldRules && (i.config.isNewOtelSchema || f.name !== "opentelemetry") ? {
10929
10945
  name: "plugin-config-before-content",
10930
10946
  fn: E(() => [
10931
- G(yy, {
10947
+ G(by, {
10932
10948
  rules: g(ot)[f.name].fieldRules
10933
10949
  }, null, 8, ["rules"])
10934
10950
  ]),
@@ -10937,7 +10953,7 @@ const Uo = {
10937
10953
  e.enableVaultSecretPicker ? {
10938
10954
  name: g(Bt),
10939
10955
  fn: E((x) => [
10940
- x.schema.referenceable ? (p(), H(g(ss), rt({ key: 0 }, x, {
10956
+ x.schema.referenceable ? (p(), H(g(os), rt({ key: 0 }, x, {
10941
10957
  onOpen: v[1] || (v[1] = (oe, ue) => T(oe, ue))
10942
10958
  }), null, 16)) : ie("", !0)
10943
10959
  ]),
@@ -10946,7 +10962,7 @@ const Uo = {
10946
10962
  ]), 1032, ["model", "options", "schema"])) : ie("", !0)
10947
10963
  ]))
10948
10964
  ]),
10949
- G(g(fy), {
10965
+ G(g(hy), {
10950
10966
  config: i.config,
10951
10967
  setup: h.value,
10952
10968
  onCancel: v[2] || (v[2] = () => h.value = !1),
@@ -10955,7 +10971,7 @@ const Uo = {
10955
10971
  ], 64);
10956
10972
  };
10957
10973
  }
10958
- }), Oy = /* @__PURE__ */ dt(By, [["__scopeId", "data-v-0f5311b2"]]), Iy = { key: 1 }, My = /* @__PURE__ */ ye({
10974
+ }), Iy = /* @__PURE__ */ dt(Oy, [["__scopeId", "data-v-0f5311b2"]]), My = { key: 1 }, Ry = /* @__PURE__ */ ye({
10959
10975
  __name: "PluginFormActionsWrapper",
10960
10976
  props: {
10961
10977
  teleportTarget: {
@@ -10964,16 +10980,16 @@ const Uo = {
10964
10980
  }
10965
10981
  },
10966
10982
  setup(e) {
10967
- return (t, n) => e.teleportTarget ? (p(), H(Bs, {
10983
+ return (t, n) => e.teleportTarget ? (p(), H(Os, {
10968
10984
  key: 0,
10969
10985
  to: e.teleportTarget
10970
10986
  }, [
10971
10987
  ct(t.$slots, "default")
10972
- ], 8, ["to"])) : (p(), I("div", Iy, [
10988
+ ], 8, ["to"])) : (p(), I("div", My, [
10973
10989
  ct(t.$slots, "default")
10974
10990
  ]));
10975
10991
  }
10976
- }), Ry = { class: "kong-ui-entities-plugin-form-container" }, ky = { key: 0 }, Ty = { class: "plugin-form-actions" }, Sy = /* @__PURE__ */ ye({
10992
+ }), ky = { class: "kong-ui-entities-plugin-form-container" }, Ty = { key: 0 }, Sy = { class: "plugin-form-actions" }, xy = /* @__PURE__ */ ye({
10977
10993
  __name: "PluginForm",
10978
10994
  props: {
10979
10995
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -11046,7 +11062,7 @@ const Uo = {
11046
11062
  emits: ["cancel", "error:fetch-schema", "error", "loading", "update", "model-updated"],
11047
11063
  setup(e, { emit: t }) {
11048
11064
  var _;
11049
- const n = t, i = e, a = Wn(), { i18n: { t: s } } = Ue.useI18n(), { customSchemas: o, typedefs: r } = Ue.useSchemas({ app: i.config.app, credential: i.credential }), { formatPluginFieldLabel: c } = Ue.usePluginHelpers(), { getMessageFromError: d } = Zn(), { capitalize: u } = Pi(), { objectsAreEqual: A } = Qn(), { axiosInstance: m } = Kt((_ = i.config) == null ? void 0 : _.axiosRequestConfig), k = Z(!1), L = F(() => !!i.pluginId), b = F(() => i.pluginId ? xt.Edit : xt.Create), S = Z(null), P = F(() => !!(i.credential && i.config.entityId)), K = Z(null), B = Z({}), f = Z(!1), M = mn({
11065
+ const n = t, i = e, a = Wn(), { i18n: { t: s } } = Ue.useI18n(), { customSchemas: o, typedefs: r } = Ue.useSchemas({ app: i.config.app, credential: i.credential }), { formatPluginFieldLabel: c } = Ue.usePluginHelpers(), { getMessageFromError: d } = Zn(), { capitalize: u } = Ui(), { objectsAreEqual: A } = Qn(), { axiosInstance: m } = Kt((_ = i.config) == null ? void 0 : _.axiosRequestConfig), k = Z(!1), L = K(() => !!i.pluginId), b = K(() => i.pluginId ? xt.Edit : xt.Create), S = Z(null), P = K(() => !!(i.credential && i.config.entityId)), z = Z(null), B = Z({}), f = Z(!1), M = mn({
11050
11066
  enabled: !0,
11051
11067
  protocols: [],
11052
11068
  tags: []
@@ -11072,7 +11088,7 @@ const Uo = {
11072
11088
  title: s("view_configuration.terraform"),
11073
11089
  hash: "#terraform"
11074
11090
  });
11075
- const T = Z(""), W = F(() => {
11091
+ const T = Z(""), W = K(() => {
11076
11092
  if (P.value) {
11077
11093
  let w = je.form[i.config.app].credential[b.value];
11078
11094
  return w = w.replace(/{resourceEndpoint}/gi, te.value), w;
@@ -11080,9 +11096,9 @@ const Uo = {
11080
11096
  return i.config.entityType && i.config.entityId ? je.form[i.config.app].edit.forEntity.replace(/{entityType}/gi, i.config.entityType).replace(/{entityId}/gi, i.config.entityId) : je.form[i.config.app].edit.all;
11081
11097
  }), j = () => {
11082
11098
  k.value = !k.value;
11083
- }, Y = F(() => {
11084
- var xe, se, de, Pe, fe, X, z, Xe;
11085
- const w = i.config.entityType === "consumers" && i.config.entityId || ((se = (xe = K.value) == null ? void 0 : xe.consumer) == null ? void 0 : se.id), q = i.config.entityType === "consumer_groups" && i.config.entityId || ((Pe = (de = K.value) == null ? void 0 : de.consumer_group) == null ? void 0 : Pe.id), C = i.config.entityType === "services" && i.config.entityId || ((X = (fe = K.value) == null ? void 0 : fe.service) == null ? void 0 : X.id), pe = i.config.entityType === "routes" && i.config.entityId || ((Xe = (z = K.value) == null ? void 0 : z.route) == null ? void 0 : Xe.id);
11099
+ }, Y = K(() => {
11100
+ var xe, se, de, Pe, fe, X, N, Xe;
11101
+ const w = i.config.entityType === "consumers" && i.config.entityId || ((se = (xe = z.value) == null ? void 0 : xe.consumer) == null ? void 0 : se.id), q = i.config.entityType === "consumer_groups" && i.config.entityId || ((Pe = (de = z.value) == null ? void 0 : de.consumer_group) == null ? void 0 : Pe.id), C = i.config.entityType === "services" && i.config.entityId || ((X = (fe = z.value) == null ? void 0 : fe.service) == null ? void 0 : X.id), pe = i.config.entityType === "routes" && i.config.entityId || ((Xe = (N = z.value) == null ? void 0 : N.route) == null ? void 0 : Xe.id);
11086
11102
  if (!(w || q || C || pe))
11087
11103
  return {
11088
11104
  global: {
@@ -11180,7 +11196,7 @@ const Uo = {
11180
11196
  help: s("plugins.form.fields.instance_name.help")
11181
11197
  },
11182
11198
  tags: r.tags
11183
- }), te = F(() => {
11199
+ }), te = K(() => {
11184
11200
  var C;
11185
11201
  const w = i.developer ? "developers" : "consumers", q = ((C = $t[i.pluginType]) == null ? void 0 : C.endpoint) || "/plugins";
11186
11202
  return `${w}/${i.config.entityId}${i.developer ? "/credentials" : ""}${q}`;
@@ -11192,69 +11208,69 @@ const Uo = {
11192
11208
  let le = q && q.fields || [];
11193
11209
  const xe = o[i.pluginType], se = (Pe = (de = $t[i.pluginType]) == null ? void 0 : de.schema) == null ? void 0 : Pe.fields;
11194
11210
  return Array.isArray(le) && (le = le.reduce((fe, X) => {
11195
- const z = Object.keys(X)[0];
11196
- return z.match(/-/g) ? fe[z.replace(/-/g, "_")] = {
11197
- ...X[z],
11211
+ const N = Object.keys(X)[0];
11212
+ return N.match(/-/g) ? fe[N.replace(/-/g, "_")] = {
11213
+ ...X[N],
11198
11214
  // A flag to indicate the field name has dashes originally and they are replaced with underscores.
11199
11215
  // When submitting the form, the underscores should be replaced with dashes again
11200
11216
  fieldNameHasDashes: !0
11201
- } : fe[z] = X[z], fe;
11217
+ } : fe[N] = X[N], fe;
11202
11218
  }, {})), Object.keys(le).sort().forEach((fe) => {
11203
- var vt, _i, $i, ea, ta, na;
11219
+ var vt, $i, ea, ta, na, ia;
11204
11220
  const X = le[fe];
11205
11221
  X.type === "set" && (X.type = "array");
11206
- const z = w ? `${w}-${fe}` : `${fe}`;
11222
+ const N = w ? `${w}-${fe}` : `${fe}`;
11207
11223
  if (Object.prototype.hasOwnProperty.call(X, "overwrite") || X.hidden)
11208
11224
  return;
11209
11225
  if (X.type === "table")
11210
- return ce(z, X.schema, C);
11226
+ return ce(N, X.schema, C);
11211
11227
  if (X.fields)
11212
- return pe && X.type === "record" ? (C[z] = {
11228
+ return pe && X.type === "record" ? (C[N] = {
11213
11229
  type: "object",
11214
11230
  model: fe,
11215
11231
  schema: {
11216
- fields: Object.values(ce(z, X, {}, !0))
11232
+ fields: Object.values(ce(N, X, {}, !0))
11217
11233
  }
11218
- }, C) : ce(z, X, C);
11219
- if (C[z] = { id: z, model: fe }, C[z].type = X.type === "boolean" ? "checkbox" : "input", C[z].required = X.required, C[z].referenceable = X.referenceable, z.startsWith("config-"))
11220
- if (!pe && X.type === "array" && (T.value = z), pe && T.value && z.startsWith(T.value)) {
11221
- const ve = z.slice(T.value.length + 1);
11222
- C[z].label = ve.split("-").map(c).join(".");
11234
+ }, C) : ce(N, X, C);
11235
+ if (C[N] = { id: N, model: fe }, C[N].type = X.type === "boolean" ? "checkbox" : "input", C[N].required = X.required, C[N].referenceable = X.referenceable, N.startsWith("config-"))
11236
+ if (!pe && X.type === "array" && (T.value = N), pe && T.value && N.startsWith(T.value)) {
11237
+ const he = N.slice(T.value.length + 1);
11238
+ C[N].label = he.split("-").map(c).join(".");
11223
11239
  } else
11224
- C[z].label = c(z);
11225
- if ((w === "config" || w.startsWith("config-")) && (vt = le[fe]) != null && vt.description && (C[z].help = he.parse(le[fe].description, { mangle: !1, headerIds: !1 })), X.type === "map") {
11226
- if (C[z].type = "object-advanced", C[z].values = X.values, X.values.type === "array") {
11227
- const { type: ve } = X.values.elements || {};
11228
- C[z].schema = {
11240
+ C[N].label = c(N);
11241
+ if ((w === "config" || w.startsWith("config-")) && (vt = le[fe]) != null && vt.description && (C[N].help = ve.parse(le[fe].description, { mangle: !1, headerIds: !1 })), X.type === "map") {
11242
+ if (C[N].type = "object-advanced", C[N].values = X.values, X.values.type === "array") {
11243
+ const { type: he } = X.values.elements || {};
11244
+ C[N].schema = {
11229
11245
  fields: [{
11230
11246
  schema: {
11231
11247
  fields: [{
11232
11248
  ...wn,
11233
- model: z,
11234
- valueArrayType: ve === "integer" ? "number" : ve || "string",
11249
+ model: N,
11250
+ valueArrayType: he === "integer" ? "number" : he || "string",
11235
11251
  inputAttributes: {
11236
11252
  ...wn.inputAttributes,
11237
- type: ve === "integer" ? "number" : "text",
11238
- inputMode: ve === "integer" ? "numeric" : "text"
11253
+ type: he === "integer" ? "number" : "text",
11254
+ inputMode: he === "integer" ? "numeric" : "text"
11239
11255
  }
11240
11256
  }]
11241
11257
  }
11242
11258
  }]
11243
11259
  };
11244
- } else X.values.fields && (C[z].schema = {
11260
+ } else X.values.fields && (C[N].schema = {
11245
11261
  fields: [
11246
11262
  {
11247
11263
  type: "object",
11248
11264
  model: "object",
11249
11265
  schema: {
11250
- fields: X.values.fields.map((ve) => {
11251
- const st = Object.keys(ve)[0];
11266
+ fields: X.values.fields.map((he) => {
11267
+ const st = Object.keys(he)[0];
11252
11268
  return {
11253
11269
  model: st,
11254
11270
  type: "input",
11255
11271
  label: u(st),
11256
11272
  placeholder: st,
11257
- inputType: ve[st].type
11273
+ inputType: he[st].type
11258
11274
  };
11259
11275
  })
11260
11276
  }
@@ -11263,48 +11279,48 @@ const Uo = {
11263
11279
  });
11264
11280
  return C;
11265
11281
  }
11266
- if (X.enum && X.type === "array" && (C[z].type = "checklist", C[z].values = X.enum, C[z].multi = !0, C[z].multiSelect = !0), X.one_of && X.type !== "array" && (C[z].type = "select", C[z].values = X.one_of, C[z].selectOptions = {
11282
+ if (X.enum && X.type === "array" && (C[N].type = "checklist", C[N].values = X.enum, C[N].multi = !0, C[N].multiSelect = !0), X.one_of && X.type !== "array" && (C[N].type = "select", C[N].values = X.one_of, C[N].selectOptions = {
11267
11283
  noneSelectedText: s("plugins.form.no_selection")
11268
11284
  }), X.elements && X.type === "array") {
11269
- const ve = X.elements;
11270
- if (C[z].referenceable = ve.referenceable, ["string", "integer", "number"].includes(ve.type) && !ve.one_of) {
11271
- const { id: st, help: De, label: Ce, hint: ze, values: Tt, referenceable: yt } = C[z], { inputAttributes: St, ...Jo } = JSON.parse(JSON.stringify(wn));
11272
- St.type = ve.type === "string" ? "text" : "number", C[z] = { id: st, help: De, label: Ce, hint: ze, values: Tt, referenceable: yt, inputAttributes: St, ...Jo };
11285
+ const he = X.elements;
11286
+ if (C[N].referenceable = he.referenceable, C[N].elements = he, ["string", "integer", "number"].includes(he.type) && !he.one_of) {
11287
+ const { id: st, help: De, label: Ce, hint: ze, values: Tt, referenceable: St } = C[N], { inputAttributes: yt, ...ci } = JSON.parse(JSON.stringify(wn));
11288
+ yt.type = he.type === "string" ? "text" : "number", C[N] = { id: st, help: De, label: Ce, hint: ze, values: Tt, referenceable: St, inputAttributes: yt, ...ci };
11273
11289
  }
11274
11290
  }
11275
- if (X.hint && (C[z].hint = X.hint), xe && !xe.overwriteDefault && Object.keys(xe).forEach((ve) => {
11276
- if (ve === z) {
11277
- const { help: st, label: De, hint: Ce, values: ze, referenceable: Tt } = C[z], { help: yt, ...St } = xe[ve];
11278
- C[z] = { help: st, label: De, hint: Ce, values: ze, referenceable: Tt, ...St }, typeof yt == "string" && (C[z].help = he.parse(yt, { mangle: !1, headerIds: !1 }));
11291
+ if (X.hint && (C[N].hint = X.hint), xe && !xe.overwriteDefault && Object.keys(xe).forEach((he) => {
11292
+ if (he === N) {
11293
+ const { help: st, label: De, hint: Ce, values: ze, referenceable: Tt, elements: St } = C[N], { help: yt, ...ci } = xe[he];
11294
+ C[N] = { help: st, label: De, hint: Ce, values: ze, referenceable: Tt, elements: St, ...ci }, typeof yt == "string" && (C[N].help = ve.parse(yt, { mangle: !1, headerIds: !1 }));
11279
11295
  }
11280
- }), X.type === "array" && ((_i = X.elements) == null ? void 0 : _i.type) === "record" && Array.isArray(X.elements.fields)) {
11281
- let ve = {};
11296
+ }), X.type === "array" && (($i = X.elements) == null ? void 0 : $i.type) === "record" && Array.isArray(X.elements.fields)) {
11297
+ let he = {};
11282
11298
  for (const De of X.elements.fields)
11283
- ve = { ...ve, ...De };
11284
- const st = (ta = (ea = ($i = C[z]) == null ? void 0 : $i.items) == null ? void 0 : ea.schema) == null ? void 0 : ta.fields;
11299
+ he = { ...he, ...De };
11300
+ const st = (na = (ta = (ea = C[N]) == null ? void 0 : ea.items) == null ? void 0 : ta.schema) == null ? void 0 : na.fields;
11285
11301
  if (Array.isArray(st))
11286
- for (const De of C[z].items.schema.fields) {
11287
- const Ce = (na = ve[De.model]) == null ? void 0 : na.description;
11288
- De.help === void 0 && typeof Ce == "string" && (De.help = he.parse(Ce, { mangle: !1, headerIds: !1 }));
11302
+ for (const De of C[N].items.schema.fields) {
11303
+ const Ce = (ia = he[De.model]) == null ? void 0 : ia.description;
11304
+ De.help === void 0 && typeof Ce == "string" && (De.help = ve.parse(Ce, { mangle: !1, headerIds: !1 }));
11289
11305
  }
11290
- if (st || (C[z].type = "array", C[z].newElementButtonLabelClasses = "kong-form-new-element-button-label", C[z].fieldClasses = "array-card-container-wrapper", C[z].itemContainerComponent = "FieldArrayCardContainer", C[z].items = {
11306
+ if (st || (C[N].type = "array", C[N].newElementButtonLabelClasses = "kong-form-new-element-button-label", C[N].fieldClasses = "array-card-container-wrapper", C[N].itemContainerComponent = "FieldArrayCardContainer", C[N].items = {
11291
11307
  type: "object",
11292
11308
  schema: {
11293
- fields: Object.values(ce(z, X.elements, {}, !0))
11309
+ fields: Object.values(ce(N, X.elements, {}, !0))
11294
11310
  }
11295
- }, C[z].items.schema.fields.forEach(
11311
+ }, C[N].items.schema.fields.forEach(
11296
11312
  (De) => {
11297
11313
  var Ce, ze;
11298
11314
  for (const Tt of X.elements.fields) {
11299
- const yt = Object.keys(Tt)[0], St = ((ze = (Ce = De.id) == null ? void 0 : Ce.split) == null ? void 0 : ze.call(Ce, "-")) ?? [];
11300
- if (St[St.length - 1] === yt) {
11301
- De.model = yt, De.label = c(yt);
11315
+ const St = Object.keys(Tt)[0], yt = ((ze = (Ce = De.id) == null ? void 0 : Ce.split) == null ? void 0 : ze.call(Ce, "-")) ?? [];
11316
+ if (yt[yt.length - 1] === St) {
11317
+ De.model = St, De.label = c(St);
11302
11318
  break;
11303
11319
  }
11304
11320
  }
11305
11321
  }
11306
- ), X.elements.type === "record" && (C[z].nestedFields = !0)), !C[z].nestedFields)
11307
- C[z].items.default = () => X.elements.fields.reduce((De, Ce) => {
11322
+ ), X.elements.type === "record" && (C[N].nestedFields = !0)), !C[N].nestedFields)
11323
+ C[N].items.default = () => X.elements.fields.reduce((De, Ce) => {
11308
11324
  const ze = Object.keys(Ce)[0];
11309
11325
  return De[ze] = Ce[ze].default, De;
11310
11326
  }, {});
@@ -11316,31 +11332,31 @@ const Uo = {
11316
11332
  De(Tt, Ce.model ? ze[Ce.model] : ze);
11317
11333
  } else Ce.model && (ze[Ce.model] = Ce.default);
11318
11334
  };
11319
- C[z].items.default = () => {
11335
+ C[N].items.default = () => {
11320
11336
  const Ce = {};
11321
- return De(C[z].items, Ce), Ce;
11337
+ return De(C[N].items, Ce), Ce;
11322
11338
  };
11323
11339
  }
11324
11340
  }
11325
11341
  if (P.value && se) {
11326
- for (let ve = 0; ve < se.length; ve++)
11327
- if (se[ve][z]) {
11328
- C[z] = {
11329
- ...C[z],
11330
- ...se[ve][z]
11342
+ for (let he = 0; he < se.length; he++)
11343
+ if (se[he][N]) {
11344
+ C[N] = {
11345
+ ...C[N],
11346
+ ...se[he][N]
11331
11347
  };
11332
11348
  break;
11333
11349
  }
11334
11350
  }
11335
- if (X.required && X.type !== "boolean" && (C[z].required = !0, C[z].selectOptions = {
11351
+ if (X.required && X.type !== "boolean" && (C[N].required = !0, C[N].selectOptions = {
11336
11352
  hideNoneSelectedText: !0
11337
- }), X.required && X.type === "boolean" && (C[z].default = X.default ?? !1), X.default != null && typeof X.default != "object" && X.default !== "function" && (C[z].default = X.default), C[z].type === "input") {
11338
- ["string", "number"].includes(typeof C[z].default) && i.config.app === "konnect" && (C[z].placeholder = `Default: ${C[z].default === "" ? "<empty string>" : C[z].default}`);
11339
- const { type: ve } = X.elements || {};
11340
- ve && (C[z].valueArrayType = ve === "integer" ? "number" : ve), C[z].inputType = X.type === "array" || X.type === "string" ? X.encrypted ? "password" : "text" : X.type;
11353
+ }), X.required && X.type === "boolean" && (C[N].default = X.default ?? !1), X.default != null && typeof X.default != "object" && X.default !== "function" && (C[N].default = X.default), C[N].type === "input") {
11354
+ ["string", "number"].includes(typeof C[N].default) && i.config.app === "konnect" && (C[N].placeholder = `Default: ${C[N].default === "" ? "<empty string>" : C[N].default}`);
11355
+ const { type: he } = X.elements || {};
11356
+ he && (C[N].valueArrayType = he === "integer" ? "number" : he), C[N].inputType = X.type === "array" || X.type === "string" ? X.encrypted ? "password" : "text" : X.type;
11341
11357
  }
11342
11358
  let Xe = "string";
11343
- X.enum ? Xe = re(X.enum) : X.type === "boolean" ? Xe = "boolean" : X.type === "number" || X.type === "integer" ? (Xe = "number", C[z].inputType = "number") : X.type === "array" ? (Xe = "array", C[z].default = X.default, X.len_min > 0 && (C[z].submitWhenNull = !0)) : X.type === "foreign" ? Xe = "object" : X.default && Array.isArray(X.default) ? (Xe = "array", C[z].valueArrayType = re(X.default)) : X.default && (Xe = typeof X.default), C[z].valueType = Xe, X.fieldNameHasDashes && (C[z].fieldNameHasDashes = !0);
11359
+ X.enum ? Xe = re(X.enum) : X.type === "boolean" ? Xe = "boolean" : X.type === "number" || X.type === "integer" ? (Xe = "number", C[N].inputType = "number") : X.type === "array" ? (Xe = "array", C[N].default = X.default, X.len_min > 0 && (C[N].submitWhenNull = !0)) : X.type === "foreign" ? Xe = "object" : X.default && Array.isArray(X.default) ? (Xe = "array", C[N].valueArrayType = re(X.default)) : X.default && (Xe = typeof X.default), C[N].valueType = Xe, X.fieldNameHasDashes && (C[N].fieldNameHasDashes = !0);
11344
11360
  }), C;
11345
11361
  }, ae = () => {
11346
11362
  var xe, se, de, Pe;
@@ -11397,13 +11413,13 @@ const Uo = {
11397
11413
  ...q ? ["route"] : [],
11398
11414
  ...C ? ["consumer"] : [],
11399
11415
  ...pe ? ["consumer_group"] : []
11400
- ], z = fe.splice(fe.length - 2, 2).map((vt) => s(vt === "service" ? "plugins.form.scoping.gateway_service.plural" : `plugins.form.scoping.${vt}.plural`)).join(`${fe.length > 0 ? "," : ""} and/or `), Xe = [
11416
+ ], N = fe.splice(fe.length - 2, 2).map((vt) => s(vt === "service" ? "plugins.form.scoping.gateway_service.plural" : `plugins.form.scoping.${vt}.plural`)).join(`${fe.length > 0 ? "," : ""} and/or `), Xe = [
11401
11417
  "Specific",
11402
11418
  [
11403
11419
  ...fe.length > 0 ? [fe.map(
11404
11420
  (vt) => s(vt === "service" ? "plugins.form.scoping.gateway_service.plural" : `plugins.form.scoping.${vt}.plural`)
11405
11421
  ).join(", ")] : [],
11406
- z
11422
+ N
11407
11423
  ].join(", ")
11408
11424
  ].join(" ");
11409
11425
  Q.selectionGroup.fields.push({
@@ -11413,11 +11429,11 @@ const Uo = {
11413
11429
  }), Q.selectionGroup.fields[1].fields = le;
11414
11430
  }
11415
11431
  o[i.pluginType] && o[i.pluginType].overwriteDefault && Object.hasOwnProperty.call(o[i.pluginType], "formSchema") && Object.assign(Q, o[i.pluginType].formSchema);
11416
- }, D = F(() => !A(h.fields, M, !0)), v = F(() => !Se.value && !f.value && (b.value === xt.Create || D.value)), O = Z(!1), ne = Z(), J = (w) => {
11417
- i.credential && w.password && (w.password = ""), h.fields.id = (w == null ? void 0 : w.id) || void 0, ne.value = w == null ? void 0 : w.ordering, Object.assign(M, h.fields), K.value = w, O.value = !0;
11432
+ }, D = K(() => !A(h.fields, M, !0)), v = K(() => !Se.value && !f.value && (b.value === xt.Create || D.value)), O = Z(!1), ne = Z(), J = (w) => {
11433
+ i.credential && w.password && (w.password = ""), h.fields.id = (w == null ? void 0 : w.id) || void 0, ne.value = w == null ? void 0 : w.ordering, Object.assign(M, h.fields), z.value = w, O.value = !0;
11418
11434
  }, x = Z({}), oe = (w) => {
11419
11435
  var q;
11420
- h.fields = w.model, h.fields.id = ((q = K.value) == null ? void 0 : q.id) || void 0, Object.assign(M, w.originalModel), x.value = w.data, i.isWizardStep && n("model-updated", {
11436
+ h.fields = w.model, h.fields.id = ((q = z.value) == null ? void 0 : q.id) || void 0, Object.assign(M, w.originalModel), x.value = w.data, i.isWizardStep && n("model-updated", {
11421
11437
  model: h.fields,
11422
11438
  data: w.data,
11423
11439
  resourceEndpoint: te.value
@@ -11429,14 +11445,14 @@ const Uo = {
11429
11445
  }, { deep: !0 });
11430
11446
  const ue = () => {
11431
11447
  i.config.cancelRoute ? a.push(i.config.cancelRoute) : n("cancel");
11432
- }, ge = F(() => {
11448
+ }, ge = K(() => {
11433
11449
  let w = `${i.config.apiBaseUrl}${je.form[i.config.app].validate}`;
11434
11450
  return i.config.app === "konnect" ? w = w.replace(/{controlPlaneId}/gi, i.config.controlPlaneId || "") : i.config.app === "kongManager" && (w = w.replace(/\/{workspace}/gi, i.config.workspace ? `/${i.config.workspace}` : "")), w = w.replace(/{id}/gi, i.pluginId), w;
11435
- }), ee = F(() => {
11451
+ }), ee = K(() => {
11436
11452
  const w = i.config.entityType && i.config.entityId && !i.developer, q = P.value ? je.form[i.config.app].credential[b.value] : je.form[i.config.app][b.value][w ? "forEntity" : "all"];
11437
11453
  let C = `${i.config.apiBaseUrl}${q}`;
11438
11454
  return i.config.app === "konnect" ? C = C.replace(/{controlPlaneId}/gi, i.config.controlPlaneId || "") : i.config.app === "kongManager" && (C = C.replace(/\/{workspace}/gi, i.config.workspace ? `/${i.config.workspace}` : "")), C = C.replace(/{resourceEndpoint}/gi, te.value), C = C.replace(/{id}/gi, i.pluginId), C = C.replace(/{entityType}/gi, i.config.entityType || ""), C = C.replace(/{entityId}/gi, i.config.entityId || ""), C;
11439
- }), kt = F(() => !Object.keys(ot).includes(i.pluginType)), _e = F(() => {
11455
+ }), kt = K(() => !Object.keys(ot).includes(i.pluginType)), _e = K(() => {
11440
11456
  const w = x.value;
11441
11457
  if (P.value) {
11442
11458
  for (const q in l) {
@@ -11462,7 +11478,7 @@ const Uo = {
11462
11478
  } finally {
11463
11479
  h.isReadonly = !1;
11464
11480
  }
11465
- }, pt = F(() => {
11481
+ }, pt = K(() => {
11466
11482
  var pe;
11467
11483
  const w = P.value ? (pe = $t[i.pluginType]) == null ? void 0 : pe.schemaEndpoint : i.pluginType, q = P.value ? je.form[i.config.app].credentialSchema : je.form[i.config.app].pluginSchema;
11468
11484
  let C = `${i.config.apiBaseUrl}${q}`;
@@ -11500,7 +11516,7 @@ const Uo = {
11500
11516
  }
11501
11517
  }), (w, q) => {
11502
11518
  const C = V("KSkeleton"), pe = V("KEmptyState"), le = V("KButton"), xe = V("KTabs"), se = V("KSlideout");
11503
- return p(), I("div", Ry, [
11519
+ return p(), I("div", ky, [
11504
11520
  Se.value ? (p(), H(C, {
11505
11521
  key: 0,
11506
11522
  type: "form"
@@ -11511,7 +11527,7 @@ const Uo = {
11511
11527
  "icon-variant": "error"
11512
11528
  }, {
11513
11529
  default: E(() => [
11514
- y("h3", null, N(g(s)("errors.load_schema")), 1)
11530
+ y("h3", null, F(g(s)("errors.load_schema")), 1)
11515
11531
  ]),
11516
11532
  _: 1
11517
11533
  })) : (p(), H(g(ar), {
@@ -11519,7 +11535,7 @@ const Uo = {
11519
11535
  "can-submit": v.value,
11520
11536
  config: e.config,
11521
11537
  "edit-id": e.pluginId,
11522
- "entity-type": g(Ei).Plugin,
11538
+ "entity-type": g(wi).Plugin,
11523
11539
  "error-message": h.errorMessage,
11524
11540
  "fetch-url": W.value,
11525
11541
  "form-fields": _e.value,
@@ -11532,12 +11548,12 @@ const Uo = {
11532
11548
  onLoading: q[3] || (q[3] = (de) => w.$emit("loading", de))
11533
11549
  }, {
11534
11550
  "form-actions": E(() => [
11535
- e.isWizardStep ? (p(), I("div", ky)) : (p(), H(My, {
11551
+ e.isWizardStep ? (p(), I("div", Ty)) : (p(), H(Ry, {
11536
11552
  key: 1,
11537
11553
  "teleport-target": e.actionsTeleportTarget
11538
11554
  }, {
11539
11555
  default: E(() => [
11540
- y("div", Ty, [
11556
+ y("div", Sy, [
11541
11557
  e.hideViewConfigAction ? ie("", !0) : (p(), H(le, {
11542
11558
  key: 0,
11543
11559
  appearance: "tertiary",
@@ -11545,7 +11561,7 @@ const Uo = {
11545
11561
  onClick: q[1] || (q[1] = (de) => j())
11546
11562
  }, {
11547
11563
  default: E(() => [
11548
- me(N(g(s)("actions.view_configuration")), 1)
11564
+ me(F(g(s)("actions.view_configuration")), 1)
11549
11565
  ]),
11550
11566
  _: 1
11551
11567
  }, 8, ["data-testid"])),
@@ -11558,7 +11574,7 @@ const Uo = {
11558
11574
  onClick: ue
11559
11575
  }, {
11560
11576
  default: E(() => [
11561
- me(N(g(s)("actions.cancel")), 1)
11577
+ me(F(g(s)("actions.cancel")), 1)
11562
11578
  ]),
11563
11579
  _: 1
11564
11580
  }, 8, ["data-testid", "disabled"]),
@@ -11570,7 +11586,7 @@ const Uo = {
11570
11586
  onClick: at
11571
11587
  }, {
11572
11588
  default: E(() => [
11573
- me(N(g(s)("actions.save")), 1)
11589
+ me(F(g(s)("actions.save")), 1)
11574
11590
  ]),
11575
11591
  _: 1
11576
11592
  }, 8, ["data-testid", "disabled"])
@@ -11584,13 +11600,13 @@ const Uo = {
11584
11600
  hidden: "",
11585
11601
  onSubmit: at
11586
11602
  }, null, 32),
11587
- G(Oy, {
11603
+ G(Iy, {
11588
11604
  config: e.config,
11589
11605
  credential: P.value,
11590
11606
  editing: b.value === g(xt).Edit,
11591
11607
  "enable-vault-secret-picker": i.enableVaultSecretPicker,
11592
11608
  "entity-map": Y.value,
11593
- record: K.value || void 0,
11609
+ record: z.value || void 0,
11594
11610
  schema: S.value || {},
11595
11611
  onLoading: q[0] || (q[0] = (de) => f.value = de),
11596
11612
  onModelUpdated: oe
@@ -11608,7 +11624,7 @@ const Uo = {
11608
11624
  onClose: j
11609
11625
  }, {
11610
11626
  default: E(() => [
11611
- y("div", null, N(g(s)("view_configuration.message")), 1),
11627
+ y("div", null, F(g(s)("view_configuration.message")), 1),
11612
11628
  G(xe, {
11613
11629
  "data-testid": "form-view-configuration-slideout-tabs",
11614
11630
  tabs: R.value
@@ -11628,7 +11644,7 @@ const Uo = {
11628
11644
  G(g(rr), {
11629
11645
  "credential-type": ht.value,
11630
11646
  "entity-record": _e.value,
11631
- "entity-type": g(Ei).Plugin
11647
+ "entity-type": g(wi).Plugin
11632
11648
  }, null, 8, ["credential-type", "entity-record", "entity-type"])
11633
11649
  ]),
11634
11650
  _: 1
@@ -11639,7 +11655,7 @@ const Uo = {
11639
11655
  ]);
11640
11656
  };
11641
11657
  }
11642
- }), aw = /* @__PURE__ */ dt(Sy, [["__scopeId", "data-v-acc87541"]]), xy = ["alt", "height", "src", "width"], Zi = /* @__PURE__ */ ye({
11658
+ }), sw = /* @__PURE__ */ dt(xy, [["__scopeId", "data-v-db65f279"]]), Gy = ["alt", "height", "src", "width"], Wi = /* @__PURE__ */ ye({
11643
11659
  __name: "PluginIcon",
11644
11660
  props: {
11645
11661
  name: {
@@ -11658,7 +11674,7 @@ const Uo = {
11658
11674
  }
11659
11675
  },
11660
11676
  setup(e) {
11661
- const t = e, n = Z(), i = F(() => bu(t.name)), a = () => {
11677
+ const t = e, n = Z(), i = K(() => bu(t.name)), a = () => {
11662
11678
  const s = new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAHgCAMAAABKCk6nAAAAhFBMVEUAAADs+fnr8PTo7fLm7PDl6e7j6+7j6O3i6Ozh5+vp9PTm7PDj6e319fXn7PHj6O739/fn7PDi6e3////o7fLj6Ozt8fbj6u7r7vPi6ezo7fL////n7PHm6/Dl6+/q8PTs8vbu9Pjv9frw9vri6ezv9fnp7/Pt8vfk6u6cpar////e4ePLpSv+AAAAHnRSTlMAKIq93/T6/f7/W8z3GbL4Hr/9AZ39OPFo/Z4FzOeuk05oAAAFJklEQVR4Ae3ThZLjyhWA4SNdWJ9BMy/KA3n/twoXBafWWYb2QPi6Vd9XKGz4q5t4QPNZHDP2n8W/4uT0bJBUZHB2ehL/pPOLy6wQlxfn8bThaJxUajwaxuMm01lSsdl0Eo+YL5LKLebxoOUqqd5qGQ9YD7IHGKzjPptt9gTbzT19n2dv8Pyw8DZ7hG0U1tkrrOM7y0H2CoNlfGO+yp5hNY8vJovsHRaT+GyaPcQ03mkiYvjnNu4za94Ljtn+vd/Efc7+/sf4YJT32L286qjE1ctd3mMUH5yP89D1m46KvLnOQ+PzeO8iD+xuOipzs8sDF/HeZZZuX3dU5/Vtli7jnZMs7fSts/AuSycRcZqlm44q3WTpNCLOsnDdUanrLJxF29zF9zZ3QaXuNuWNJtosvOyo1ssstG0ThZ+Dah3Ea+LHIvmLjoq9KHL+2DYHyanYQc6jDYzACCxwZKGjallog177DwIjMAIjMAIjsMAIjMAIjMAIjMAILDACIzACIzACI7DACIzACIzACIzAAiMwAiMwAiMwAiOwwAiMwAiMwAiMwAIjMAIjMAIjMAILjMAIjMAIjMAIjMACIzACIzACIzACC4zACIzACIzACIzAAiMwAiMwAiMwAguMwAiMwAiMwAgsMAIjMAIjMAIjMAILjMAIjMAIjMAILDACIzACI/DP/6GjGENgBEZgBBYYgREYgREYgRGYJwMjMAIjMAI3TziCMQTmaAIjMAIjMAIjMAILjMAIjMAIjMAITBa6X9CveqD7hWWhDXpNYIERGIERGIERGIEFRmAERmAERuBKCdw2R68VGIERGIERWGAERmAERmAERmCBERiBERiBERiBEVhgBEZgBEZgBEZggREYgREYgREYgRFYYARGYARGYARGYIERGIERGIERGIEFRmAERmAERuB+EPjt/ui9FRiBERiBEVhgBEZgBEZgBEZggREYgREYgREYgWshcNscvVZgBEZgBEZggREYgREYgREYgQVGYARGYARGYARGYIERGIERGIERGIEFRmAERmAERmAERmCBERiBERiBERiBBUZgBEZgBEZgBBYYgREYgREYgftB4Lf7o/dWYARGYARGYIERGIERGIERGIEFRmAE5kj9GEfkb/EfwwkWGIERGIERGIERWGAERmAERmAERmAEFhiBERiBERiBEVhgBEZgBEZgBEZggREYgREYgREYgRFYYARGYARGYARGYIERGIERGIERGIERWGAERmAERmAERmCBERiBERiBERiBBUZgBEZgBEZgBEZggREYgREYgREYgQVGYARGYARGYAQWGIERGIERGIERGIEFRmAERmAERmAEFhiBERiBERiBEZh2r3iflPn2B4HvgordPRl4H1RsL7DAfSJw/JCFq45qXWXhh3Yfhb8F1TqIt2/3ZeGf9kGl9j/F997XPcvCdUelrrNwFhGnWbrpqNJNlk4j4iRLu9cdFXq9y9JJvHOZpVuFa+x7m6XLeO8iD+xuOipzs8sDF/He+TgPXb/pqMib6zw0Po8PRnmP3curjkpcvdzlPUYR0UTE8M9t3GfWvBfHjP17v4n7nP39j/HRNOmhaXw2WSS9s5jEF/NV0jOreXxjOUh6ZbCM76yTXllHYZv0yDZKm+dJbzzfxGHhbdIT203cZz1IemCwjgcsV0n1Vst40HyRVG4xj0dMprOkYrPpJB43HI2TSo1Hw3ja+cVlUqHLi/P4J52cng2SigzOTk/iPk08oPksjhn7z+J+/wBSUhUZLUGZBgAAAABJRU5ErkJggg==", import.meta.url).href;
11663
11679
  n.value && n.value.src !== s && (n.value.src = s);
11664
11680
  };
@@ -11670,70 +11686,70 @@ const Uo = {
11670
11686
  src: i.value,
11671
11687
  width: e.size,
11672
11688
  onError: a
11673
- }, null, 40, xy));
11689
+ }, null, 40, Gy));
11674
11690
  }
11675
11691
  });
11676
- var Gy = Object.prototype;
11677
- function Do(e) {
11678
- var t = e && e.constructor, n = typeof t == "function" && t.prototype || Gy;
11692
+ var Py = Object.prototype;
11693
+ function jo(e) {
11694
+ var t = e && e.constructor, n = typeof t == "function" && t.prototype || Py;
11679
11695
  return e === n;
11680
11696
  }
11681
- function Py(e, t) {
11697
+ function Uy(e, t) {
11682
11698
  return function(n) {
11683
11699
  return e(t(n));
11684
11700
  };
11685
11701
  }
11686
- var Uy = Py(Object.keys, Object), Ly = Object.prototype, Dy = Ly.hasOwnProperty;
11687
- function jy(e) {
11688
- if (!Do(e))
11689
- return Uy(e);
11702
+ var Ly = Uy(Object.keys, Object), Dy = Object.prototype, jy = Dy.hasOwnProperty;
11703
+ function Yy(e) {
11704
+ if (!jo(e))
11705
+ return Ly(e);
11690
11706
  var t = [];
11691
11707
  for (var n in Object(e))
11692
- Dy.call(e, n) && n != "constructor" && t.push(n);
11708
+ jy.call(e, n) && n != "constructor" && t.push(n);
11693
11709
  return t;
11694
11710
  }
11695
- var jo = typeof global == "object" && global && global.Object === Object && global, Yy = typeof self == "object" && self && self.Object === Object && self, Rt = jo || Yy || Function("return this")(), Jn = Rt.Symbol, Yo = Object.prototype, Hy = Yo.hasOwnProperty, Vy = Yo.toString, An = Jn ? Jn.toStringTag : void 0;
11696
- function Ny(e) {
11697
- var t = Hy.call(e, An), n = e[An];
11711
+ var Yo = typeof global == "object" && global && global.Object === Object && global, Hy = typeof self == "object" && self && self.Object === Object && self, Rt = Yo || Hy || Function("return this")(), Jn = Rt.Symbol, Ho = Object.prototype, Vy = Ho.hasOwnProperty, Ny = Ho.toString, An = Jn ? Jn.toStringTag : void 0;
11712
+ function Fy(e) {
11713
+ var t = Vy.call(e, An), n = e[An];
11698
11714
  try {
11699
11715
  e[An] = void 0;
11700
11716
  var i = !0;
11701
11717
  } catch {
11702
11718
  }
11703
- var a = Vy.call(e);
11719
+ var a = Ny.call(e);
11704
11720
  return i && (t ? e[An] = n : delete e[An]), a;
11705
11721
  }
11706
- var Fy = Object.prototype, Ky = Fy.toString;
11707
- function zy(e) {
11708
- return Ky.call(e);
11722
+ var Ky = Object.prototype, zy = Ky.toString;
11723
+ function qy(e) {
11724
+ return zy.call(e);
11709
11725
  }
11710
- var qy = "[object Null]", Jy = "[object Undefined]", os = Jn ? Jn.toStringTag : void 0;
11726
+ var Jy = "[object Null]", Xy = "[object Undefined]", rs = Jn ? Jn.toStringTag : void 0;
11711
11727
  function Pn(e) {
11712
- return e == null ? e === void 0 ? Jy : qy : os && os in Object(e) ? Ny(e) : zy(e);
11728
+ return e == null ? e === void 0 ? Xy : Jy : rs && rs in Object(e) ? Fy(e) : qy(e);
11713
11729
  }
11714
- function Ho(e) {
11730
+ function Vo(e) {
11715
11731
  var t = typeof e;
11716
11732
  return e != null && (t == "object" || t == "function");
11717
11733
  }
11718
- var Xy = "[object AsyncFunction]", Qy = "[object Function]", Zy = "[object GeneratorFunction]", Wy = "[object Proxy]";
11719
- function Vo(e) {
11720
- if (!Ho(e))
11734
+ var Qy = "[object AsyncFunction]", Zy = "[object Function]", Wy = "[object GeneratorFunction]", _y = "[object Proxy]";
11735
+ function No(e) {
11736
+ if (!Vo(e))
11721
11737
  return !1;
11722
11738
  var t = Pn(e);
11723
- return t == Qy || t == Zy || t == Xy || t == Wy;
11739
+ return t == Zy || t == Wy || t == Qy || t == _y;
11724
11740
  }
11725
- var fi = Rt["__core-js_shared__"], rs = function() {
11726
- var e = /[^.]+$/.exec(fi && fi.keys && fi.keys.IE_PROTO || "");
11741
+ var hi = Rt["__core-js_shared__"], ls = function() {
11742
+ var e = /[^.]+$/.exec(hi && hi.keys && hi.keys.IE_PROTO || "");
11727
11743
  return e ? "Symbol(src)_1." + e : "";
11728
11744
  }();
11729
- function _y(e) {
11730
- return !!rs && rs in e;
11745
+ function $y(e) {
11746
+ return !!ls && ls in e;
11731
11747
  }
11732
- var $y = Function.prototype, eb = $y.toString;
11748
+ var eb = Function.prototype, tb = eb.toString;
11733
11749
  function Zt(e) {
11734
11750
  if (e != null) {
11735
11751
  try {
11736
- return eb.call(e);
11752
+ return tb.call(e);
11737
11753
  } catch {
11738
11754
  }
11739
11755
  try {
@@ -11743,104 +11759,104 @@ function Zt(e) {
11743
11759
  }
11744
11760
  return "";
11745
11761
  }
11746
- var tb = /[\\^$.*+?()[\]{}|]/g, nb = /^\[object .+?Constructor\]$/, ib = Function.prototype, ab = Object.prototype, sb = ib.toString, ob = ab.hasOwnProperty, rb = RegExp(
11747
- "^" + sb.call(ob).replace(tb, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
11762
+ var nb = /[\\^$.*+?()[\]{}|]/g, ib = /^\[object .+?Constructor\]$/, ab = Function.prototype, sb = Object.prototype, ob = ab.toString, rb = sb.hasOwnProperty, lb = RegExp(
11763
+ "^" + ob.call(rb).replace(nb, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
11748
11764
  );
11749
- function lb(e) {
11750
- if (!Ho(e) || _y(e))
11765
+ function cb(e) {
11766
+ if (!Vo(e) || $y(e))
11751
11767
  return !1;
11752
- var t = Vo(e) ? rb : nb;
11768
+ var t = No(e) ? lb : ib;
11753
11769
  return t.test(Zt(e));
11754
11770
  }
11755
- function cb(e, t) {
11771
+ function ub(e, t) {
11756
11772
  return e == null ? void 0 : e[t];
11757
11773
  }
11758
11774
  function Un(e, t) {
11759
- var n = cb(e, t);
11760
- return lb(n) ? n : void 0;
11775
+ var n = ub(e, t);
11776
+ return cb(n) ? n : void 0;
11761
11777
  }
11762
- var ki = Un(Rt, "DataView"), Ti = Un(Rt, "Map"), Si = Un(Rt, "Promise"), xi = Un(Rt, "Set"), Gi = Un(Rt, "WeakMap"), ls = "[object Map]", ub = "[object Object]", cs = "[object Promise]", us = "[object Set]", ds = "[object WeakMap]", ps = "[object DataView]", db = Zt(ki), pb = Zt(Ti), Ab = Zt(Si), gb = Zt(xi), mb = Zt(Gi), Ut = Pn;
11763
- (ki && Ut(new ki(new ArrayBuffer(1))) != ps || Ti && Ut(new Ti()) != ls || Si && Ut(Si.resolve()) != cs || xi && Ut(new xi()) != us || Gi && Ut(new Gi()) != ds) && (Ut = function(e) {
11764
- var t = Pn(e), n = t == ub ? e.constructor : void 0, i = n ? Zt(n) : "";
11778
+ var Ti = Un(Rt, "DataView"), Si = Un(Rt, "Map"), xi = Un(Rt, "Promise"), Gi = Un(Rt, "Set"), Pi = Un(Rt, "WeakMap"), cs = "[object Map]", db = "[object Object]", us = "[object Promise]", ds = "[object Set]", ps = "[object WeakMap]", As = "[object DataView]", pb = Zt(Ti), Ab = Zt(Si), gb = Zt(xi), mb = Zt(Gi), fb = Zt(Pi), Ut = Pn;
11779
+ (Ti && Ut(new Ti(new ArrayBuffer(1))) != As || Si && Ut(new Si()) != cs || xi && Ut(xi.resolve()) != us || Gi && Ut(new Gi()) != ds || Pi && Ut(new Pi()) != ps) && (Ut = function(e) {
11780
+ var t = Pn(e), n = t == db ? e.constructor : void 0, i = n ? Zt(n) : "";
11765
11781
  if (i)
11766
11782
  switch (i) {
11767
- case db:
11768
- return ps;
11769
11783
  case pb:
11770
- return ls;
11784
+ return As;
11771
11785
  case Ab:
11772
11786
  return cs;
11773
11787
  case gb:
11774
11788
  return us;
11775
11789
  case mb:
11776
11790
  return ds;
11791
+ case fb:
11792
+ return ps;
11777
11793
  }
11778
11794
  return t;
11779
11795
  });
11780
- function Wi(e) {
11796
+ function _i(e) {
11781
11797
  return e != null && typeof e == "object";
11782
11798
  }
11783
- var fb = "[object Arguments]";
11784
- function As(e) {
11785
- return Wi(e) && Pn(e) == fb;
11799
+ var hb = "[object Arguments]";
11800
+ function gs(e) {
11801
+ return _i(e) && Pn(e) == hb;
11786
11802
  }
11787
- var No = Object.prototype, hb = No.hasOwnProperty, vb = No.propertyIsEnumerable, yb = As(/* @__PURE__ */ function() {
11803
+ var Fo = Object.prototype, vb = Fo.hasOwnProperty, yb = Fo.propertyIsEnumerable, bb = gs(/* @__PURE__ */ function() {
11788
11804
  return arguments;
11789
- }()) ? As : function(e) {
11790
- return Wi(e) && hb.call(e, "callee") && !vb.call(e, "callee");
11791
- }, bb = Array.isArray, Eb = 9007199254740991;
11792
- function Fo(e) {
11793
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Eb;
11805
+ }()) ? gs : function(e) {
11806
+ return _i(e) && vb.call(e, "callee") && !yb.call(e, "callee");
11807
+ }, Eb = Array.isArray, wb = 9007199254740991;
11808
+ function Ko(e) {
11809
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= wb;
11794
11810
  }
11795
- function wb(e) {
11796
- return e != null && Fo(e.length) && !Vo(e);
11811
+ function Cb(e) {
11812
+ return e != null && Ko(e.length) && !No(e);
11797
11813
  }
11798
- function Cb() {
11814
+ function Bb() {
11799
11815
  return !1;
11800
11816
  }
11801
- var Ko = typeof exports == "object" && exports && !exports.nodeType && exports, gs = Ko && typeof module == "object" && module && !module.nodeType && module, Bb = gs && gs.exports === Ko, ms = Bb ? Rt.Buffer : void 0, Ob = ms ? ms.isBuffer : void 0, Ib = Ob || Cb, Mb = "[object Arguments]", Rb = "[object Array]", kb = "[object Boolean]", Tb = "[object Date]", Sb = "[object Error]", xb = "[object Function]", Gb = "[object Map]", Pb = "[object Number]", Ub = "[object Object]", Lb = "[object RegExp]", Db = "[object Set]", jb = "[object String]", Yb = "[object WeakMap]", Hb = "[object ArrayBuffer]", Vb = "[object DataView]", Nb = "[object Float32Array]", Fb = "[object Float64Array]", Kb = "[object Int8Array]", zb = "[object Int16Array]", qb = "[object Int32Array]", Jb = "[object Uint8Array]", Xb = "[object Uint8ClampedArray]", Qb = "[object Uint16Array]", Zb = "[object Uint32Array]", Re = {};
11802
- Re[Nb] = Re[Fb] = Re[Kb] = Re[zb] = Re[qb] = Re[Jb] = Re[Xb] = Re[Qb] = Re[Zb] = !0;
11803
- Re[Mb] = Re[Rb] = Re[Hb] = Re[kb] = Re[Vb] = Re[Tb] = Re[Sb] = Re[xb] = Re[Gb] = Re[Pb] = Re[Ub] = Re[Lb] = Re[Db] = Re[jb] = Re[Yb] = !1;
11804
- function Wb(e) {
11805
- return Wi(e) && Fo(e.length) && !!Re[Pn(e)];
11806
- }
11817
+ var zo = typeof exports == "object" && exports && !exports.nodeType && exports, ms = zo && typeof module == "object" && module && !module.nodeType && module, Ob = ms && ms.exports === zo, fs = Ob ? Rt.Buffer : void 0, Ib = fs ? fs.isBuffer : void 0, Mb = Ib || Bb, Rb = "[object Arguments]", kb = "[object Array]", Tb = "[object Boolean]", Sb = "[object Date]", xb = "[object Error]", Gb = "[object Function]", Pb = "[object Map]", Ub = "[object Number]", Lb = "[object Object]", Db = "[object RegExp]", jb = "[object Set]", Yb = "[object String]", Hb = "[object WeakMap]", Vb = "[object ArrayBuffer]", Nb = "[object DataView]", Fb = "[object Float32Array]", Kb = "[object Float64Array]", zb = "[object Int8Array]", qb = "[object Int16Array]", Jb = "[object Int32Array]", Xb = "[object Uint8Array]", Qb = "[object Uint8ClampedArray]", Zb = "[object Uint16Array]", Wb = "[object Uint32Array]", Re = {};
11818
+ Re[Fb] = Re[Kb] = Re[zb] = Re[qb] = Re[Jb] = Re[Xb] = Re[Qb] = Re[Zb] = Re[Wb] = !0;
11819
+ Re[Rb] = Re[kb] = Re[Vb] = Re[Tb] = Re[Nb] = Re[Sb] = Re[xb] = Re[Gb] = Re[Pb] = Re[Ub] = Re[Lb] = Re[Db] = Re[jb] = Re[Yb] = Re[Hb] = !1;
11807
11820
  function _b(e) {
11821
+ return _i(e) && Ko(e.length) && !!Re[Pn(e)];
11822
+ }
11823
+ function $b(e) {
11808
11824
  return function(t) {
11809
11825
  return e(t);
11810
11826
  };
11811
11827
  }
11812
- var zo = typeof exports == "object" && exports && !exports.nodeType && exports, Cn = zo && typeof module == "object" && module && !module.nodeType && module, $b = Cn && Cn.exports === zo, hi = $b && jo.process, fs = function() {
11828
+ var qo = typeof exports == "object" && exports && !exports.nodeType && exports, Cn = qo && typeof module == "object" && module && !module.nodeType && module, eE = Cn && Cn.exports === qo, vi = eE && Yo.process, hs = function() {
11813
11829
  try {
11814
11830
  var e = Cn && Cn.require && Cn.require("util").types;
11815
- return e || hi && hi.binding && hi.binding("util");
11831
+ return e || vi && vi.binding && vi.binding("util");
11816
11832
  } catch {
11817
11833
  }
11818
- }(), hs = fs && fs.isTypedArray, eE = hs ? _b(hs) : Wb, tE = "[object Map]", nE = "[object Set]", iE = Object.prototype, aE = iE.hasOwnProperty;
11819
- function vs(e) {
11834
+ }(), vs = hs && hs.isTypedArray, tE = vs ? $b(vs) : _b, nE = "[object Map]", iE = "[object Set]", aE = Object.prototype, sE = aE.hasOwnProperty;
11835
+ function ys(e) {
11820
11836
  if (e == null)
11821
11837
  return !0;
11822
- if (wb(e) && (bb(e) || typeof e == "string" || typeof e.splice == "function" || Ib(e) || eE(e) || yb(e)))
11838
+ if (Cb(e) && (Eb(e) || typeof e == "string" || typeof e.splice == "function" || Mb(e) || tE(e) || bb(e)))
11823
11839
  return !e.length;
11824
11840
  var t = Ut(e);
11825
- if (t == tE || t == nE)
11841
+ if (t == nE || t == iE)
11826
11842
  return !e.size;
11827
- if (Do(e))
11828
- return !jy(e).length;
11843
+ if (jo(e))
11844
+ return !Yy(e).length;
11829
11845
  for (var n in e)
11830
- if (aE.call(e, n))
11846
+ if (sE.call(e, n))
11831
11847
  return !1;
11832
11848
  return !0;
11833
11849
  }
11834
- const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-wrapper" }, rE = { class: "info-wrapper" }, lE = {
11850
+ const oE = { class: "kong-ui-entities-plugins-list" }, rE = { class: "name-cell-wrapper" }, lE = { class: "info-wrapper" }, cE = {
11835
11851
  key: 0,
11836
11852
  class: "info-name"
11837
- }, cE = {
11853
+ }, uE = {
11838
11854
  key: 1,
11839
11855
  class: "info-name"
11840
- }, uE = {
11856
+ }, dE = {
11841
11857
  key: 2,
11842
11858
  class: "info-type"
11843
- }, dE = { key: 1 }, pE = /* @__PURE__ */ ye({
11859
+ }, pE = { key: 1 }, AE = /* @__PURE__ */ ye({
11844
11860
  __name: "PluginList",
11845
11861
  props: {
11846
11862
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -11913,10 +11929,10 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
11913
11929
  emits: ["error", "copy:success", "copy:error", "delete:success", "toggle-enabled"],
11914
11930
  setup(e, { emit: t }) {
11915
11931
  var ht, Se;
11916
- const n = Ue.usePluginMetaData(), i = t, a = e, { i18n: { t: s } } = Ue.useI18n(), o = Wn(), { axiosInstance: r } = Kt((ht = a.config) == null ? void 0 : ht.axiosRequestConfig), c = F(() => {
11932
+ const n = Ue.usePluginMetaData(), i = t, a = e, { i18n: { t: s } } = Ue.useI18n(), o = Wn(), { axiosInstance: r } = Kt((ht = a.config) == null ? void 0 : ht.axiosRequestConfig), c = K(() => {
11917
11933
  var $;
11918
11934
  return (($ = a.config) == null ? void 0 : $.entityType) === "consumers";
11919
- }), d = F(() => {
11935
+ }), d = K(() => {
11920
11936
  var $;
11921
11937
  return (($ = a.config) == null ? void 0 : $.entityType) === "consumer_groups";
11922
11938
  }), u = a.config.app === "konnect" || lr({
@@ -11925,16 +11941,16 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
11925
11941
  supportedRange: {
11926
11942
  enterprise: ["3.0"]
11927
11943
  }
11928
- }), A = F(() => a.config.app !== "kongManager" || !!a.config.disableSorting), m = {
11944
+ }), A = K(() => a.config.app !== "kongManager" || !!a.config.disableSorting), m = {
11929
11945
  // the Name column is non-hidable
11930
11946
  name: { label: s("plugins.list.table_headers.name"), searchable: !0, sortable: !0, hidable: !1 }
11931
11947
  };
11932
11948
  (Se = a.config) != null && Se.entityId || (m.appliedTo = { label: s("plugins.list.table_headers.applied_to"), sortable: !1 }), m.enabled = { label: s("plugins.list.table_headers.enabled"), searchable: !0, sortable: !0 }, u && (m.ordering = { label: s("plugins.list.table_headers.ordering"), sortable: !0 }), m.tags = { label: s("plugins.list.table_headers.tags"), sortable: !1 };
11933
- const k = m, L = F(() => {
11949
+ const k = m, L = K(() => {
11934
11950
  var _, w, q, C;
11935
11951
  let $ = a.config.entityType ? `${a.config.apiBaseUrl}${je.list[a.config.app].forEntity}` : `${a.config.apiBaseUrl}${je.list[a.config.app].all}`;
11936
11952
  return a.config.app === "konnect" ? $ = $.replace(/{controlPlaneId}/gi, ((_ = a.config) == null ? void 0 : _.controlPlaneId) || "") : a.config.app === "kongManager" && ($ = $.replace(/\/{workspace}/gi, (w = a.config) != null && w.workspace ? `/${a.config.workspace}` : "")), $.replace(/{entityType}/gi, ((q = a.config) == null ? void 0 : q.entityType) || "").replace(/{entityId}/gi, ((C = a.config) == null ? void 0 : C.entityId) || "");
11937
- }), b = Z(""), S = F(() => a.config.app === "konnect" || a.config.isExactMatch ? {
11953
+ }), b = Z(""), S = K(() => a.config.app === "konnect" || a.config.isExactMatch ? {
11938
11954
  isExactMatch: !0,
11939
11955
  fields: {
11940
11956
  name: m.name,
@@ -11950,7 +11966,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
11950
11966
  instance_name: { label: s("plugins.list.table_headers.instance_name"), searchable: !0 }
11951
11967
  },
11952
11968
  schema: a.config.filterSchema
11953
- }), P = Z(1), { fetcher: K, fetcherState: B } = cr(a.config, L.value), f = () => {
11969
+ }), P = Z(1), { fetcher: z, fetcherState: B } = cr(a.config, L.value), f = () => {
11954
11970
  b.value = "";
11955
11971
  }, M = () => {
11956
11972
  P.value++;
@@ -11979,7 +11995,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
11979
11995
  break;
11980
11996
  }
11981
11997
  w && ((xe = a.config) != null && xe.getScopedEntityViewRoute) && o.push(a.config.getScopedEntityViewRoute($, w));
11982
- }, j = Z(!1), Y = Z(null), Q = F(() => {
11998
+ }, j = Z(!1), Y = Z(null), Q = K(() => {
11983
11999
  const $ = {
11984
12000
  action: "disable",
11985
12001
  id: "",
@@ -12084,14 +12100,14 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12084
12100
  await a.canCreate() && (pt.value.title = s("plugins.list.empty_state.title"), pt.value.ctaText = s("actions.create"));
12085
12101
  }), ($, _) => {
12086
12102
  const w = V("KButton"), q = V("KBadge"), C = V("KTruncate"), pe = V("KInputSwitch"), le = V("KDropdownItem"), xe = V("KClipboardProvider");
12087
- return p(), I("div", sE, [
12103
+ return p(), I("div", oE, [
12088
12104
  G(g(pr), {
12089
12105
  "cache-identifier": e.cacheIdentifier,
12090
12106
  "disable-sorting": A.value,
12091
12107
  "empty-state-options": pt.value,
12092
12108
  "enable-entity-actions": "",
12093
12109
  "error-message": h.value,
12094
- fetcher: g(K),
12110
+ fetcher: g(z),
12095
12111
  "fetcher-cache-key": P.value,
12096
12112
  "pagination-type": "offset",
12097
12113
  "preferences-storage-key": "kong-ui-entities-plugins-list",
@@ -12111,7 +12127,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12111
12127
  }, null, 8, ["modelValue", "config"])
12112
12128
  ]),
12113
12129
  "toolbar-button": E(() => [
12114
- (p(), H(Bs, {
12130
+ (p(), H(Os, {
12115
12131
  disabled: !e.useActionOutside,
12116
12132
  to: "#kong-ui-app-page-header-action-button"
12117
12133
  }, [
@@ -12126,8 +12142,8 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12126
12142
  to: e.config.createRoute
12127
12143
  }, {
12128
12144
  default: E(() => [
12129
- G(g(Ui)),
12130
- me(" " + N(g(s)("plugins.list.toolbar_actions.new_plugin")), 1)
12145
+ G(g(Li)),
12146
+ me(" " + F(g(s)("plugins.list.toolbar_actions.new_plugin")), 1)
12131
12147
  ]),
12132
12148
  _: 1
12133
12149
  }, 8, ["size", "to"])
@@ -12137,15 +12153,15 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12137
12153
  ], 8, ["disabled"]))
12138
12154
  ]),
12139
12155
  name: E(({ row: se }) => [
12140
- y("div", oE, [
12141
- G(Zi, {
12156
+ y("div", rE, [
12157
+ G(Wi, {
12142
12158
  class: "plugin-icon",
12143
12159
  name: se.name,
12144
12160
  size: 24
12145
12161
  }, null, 8, ["name"]),
12146
- y("div", rE, [
12147
- se.instance_name ? (p(), I("span", lE, N(se.instance_name), 1)) : (p(), I("span", cE, N(g(n).getDisplayName(se.name)), 1)),
12148
- se.instance_name ? (p(), I("span", uE, N(g(n).getDisplayName(se.name)), 1)) : ie("", !0)
12162
+ y("div", lE, [
12163
+ se.instance_name ? (p(), I("span", cE, F(se.instance_name), 1)) : (p(), I("span", uE, F(g(n).getDisplayName(se.name)), 1)),
12164
+ se.instance_name ? (p(), I("span", dE, F(g(n).getDisplayName(se.name)), 1)) : ie("", !0)
12149
12165
  ])
12150
12166
  ])
12151
12167
  ]),
@@ -12163,7 +12179,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12163
12179
  onClick: fn((fe) => Pe && de.type && W(de.type, se), ["stop"])
12164
12180
  }, {
12165
12181
  default: E(() => [
12166
- me(N(de.badgeText), 1)
12182
+ me(F(de.badgeText), 1)
12167
12183
  ]),
12168
12184
  _: 2
12169
12185
  }, 1032, ["class", "onClick"])
@@ -12172,7 +12188,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12172
12188
  }, 1032, ["auth-function"]))), 128))
12173
12189
  ]),
12174
12190
  _: 2
12175
- }, 1024)) : (p(), I("span", dE, "-"))
12191
+ }, 1024)) : (p(), I("span", pE, "-"))
12176
12192
  ]),
12177
12193
  enabled: E(({ row: se }) => [
12178
12194
  G(g(Gt), {
@@ -12200,10 +12216,10 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12200
12216
  ]),
12201
12217
  ordering: E(({ rowValue: se }) => [
12202
12218
  G(q, {
12203
- appearance: g(vs)(se) ? "info" : "warning"
12219
+ appearance: g(ys)(se) ? "info" : "warning"
12204
12220
  }, {
12205
12221
  default: E(() => [
12206
- me(N(g(vs)(se) ? g(s)("plugins.list.table_headers.ordering_badge.static") : g(s)("plugins.list.table_headers.ordering_badge.dynamic")), 1)
12222
+ me(F(g(ys)(se) ? g(s)("plugins.list.table_headers.ordering_badge.static") : g(s)("plugins.list.table_headers.ordering_badge.dynamic")), 1)
12207
12223
  ]),
12208
12224
  _: 2
12209
12225
  }, 1032, ["appearance"])
@@ -12219,7 +12235,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12219
12235
  onClick: (Pe) => ae(se, de)
12220
12236
  }, {
12221
12237
  default: E(() => [
12222
- me(N(g(s)("actions.copy_id")), 1)
12238
+ me(F(g(s)("actions.copy_id")), 1)
12223
12239
  ]),
12224
12240
  _: 2
12225
12241
  }, 1032, ["onClick"])
@@ -12233,7 +12249,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12233
12249
  onClick: (Pe) => D(se, de)
12234
12250
  }, {
12235
12251
  default: E(() => [
12236
- me(N(g(s)("actions.copy_json")), 1)
12252
+ me(F(g(s)("actions.copy_json")), 1)
12237
12253
  ]),
12238
12254
  _: 2
12239
12255
  }, 1032, ["onClick"])
@@ -12287,7 +12303,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12287
12303
  onClick: (de) => kt(se)
12288
12304
  }, {
12289
12305
  default: E(() => [
12290
- me(N(g(s)("actions.delete")), 1)
12306
+ me(F(g(s)("actions.delete")), 1)
12291
12307
  ]),
12292
12308
  _: 2
12293
12309
  }, 1032, ["onClick"])
@@ -12307,11 +12323,11 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12307
12323
  onCancel: re,
12308
12324
  onProceed: re
12309
12325
  }, null, 8, ["action", "entity-id", "entity-name", "entity-type", "visible"]),
12310
- G(g(Ms), {
12326
+ G(g(Rs), {
12311
12327
  "action-pending": ue.value,
12312
12328
  description: g(s)("delete.description"),
12313
12329
  "entity-name": x.value && (x.value.instance_name || x.value.name || x.value.id),
12314
- "entity-type": g(Rs).Plugin,
12330
+ "entity-type": g(ks).Plugin,
12315
12331
  error: ge.value,
12316
12332
  title: g(s)("delete.title"),
12317
12333
  visible: oe.value,
@@ -12321,13 +12337,13 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12321
12337
  ]);
12322
12338
  };
12323
12339
  }
12324
- }), sw = /* @__PURE__ */ dt(pE, [["__scopeId", "data-v-18cc9774"]]), AE = "16px", gE = { class: "plugin-select-card-wrapper" }, mE = ["data-testid"], fE = { class: "plugin-card-header" }, hE = { class: "plugin-card-title" }, vE = {
12340
+ }), ow = /* @__PURE__ */ dt(AE, [["__scopeId", "data-v-18cc9774"]]), gE = "16px", mE = { class: "plugin-select-card-wrapper" }, fE = ["data-testid"], hE = { class: "plugin-card-header" }, vE = { class: "plugin-card-title" }, yE = {
12325
12341
  key: 0,
12326
12342
  class: "plugin-card-actions"
12327
- }, yE = ["data-testid", "title"], bE = {
12343
+ }, bE = ["data-testid", "title"], EE = {
12328
12344
  key: 0,
12329
12345
  class: "plugin-card-text"
12330
- }, EE = { key: 0 }, wE = ["title"], CE = /* @__PURE__ */ ye({
12346
+ }, wE = { key: 0 }, CE = ["title"], BE = /* @__PURE__ */ ye({
12331
12347
  __name: "PluginSelectCard",
12332
12348
  props: {
12333
12349
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -12361,26 +12377,26 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12361
12377
  },
12362
12378
  emits: ["plugin-clicked", "custom-plugin-delete"],
12363
12379
  setup(e, { emit: t }) {
12364
- const n = t, i = e, a = Wn(), { i18n: { t: s } } = Ue.useI18n(), o = F(() => i.config.app === "konnect" ? i.config.controlPlaneId : ""), r = F(() => !!(!i.plugin.available || i.plugin.disabledMessage)), c = F(() => !!(k.value && !m.value && i.navigateOnClick && o.value && (i.canDeleteCustomPlugin || i.canEditCustomPlugin))), d = () => {
12380
+ const n = t, i = e, a = Wn(), { i18n: { t: s } } = Ue.useI18n(), o = K(() => i.config.app === "konnect" ? i.config.controlPlaneId : ""), r = K(() => !!(!i.plugin.available || i.plugin.disabledMessage)), c = K(() => !!(k.value && !m.value && i.navigateOnClick && o.value && (i.canDeleteCustomPlugin || i.canEditCustomPlugin))), d = () => {
12365
12381
  a.push(i.config.getCreateRoute(i.plugin.id));
12366
12382
  }, u = () => {
12367
12383
  i.navigateOnClick ? d() : A();
12368
12384
  }, A = () => {
12369
12385
  n("plugin-clicked", i.plugin);
12370
- }, m = F(() => i.plugin.id === "custom-plugin-create"), k = F(() => i.config.app === "konnect" && i.plugin.group === U.CUSTOM_PLUGINS), L = () => {
12386
+ }, m = K(() => i.plugin.id === "custom-plugin-create"), k = K(() => i.config.app === "konnect" && i.plugin.group === U.CUSTOM_PLUGINS), L = () => {
12371
12387
  i.config.app === "konnect" && n("custom-plugin-delete");
12372
12388
  }, b = (P) => {
12373
- const K = i.config;
12374
- i.config.app === "konnect" && typeof K.getCustomEditRoute == "function" && K.getCustomEditRoute && a.push(K.getCustomEditRoute(P));
12389
+ const z = i.config;
12390
+ i.config.app === "konnect" && typeof z.getCustomEditRoute == "function" && z.getCustomEditRoute && a.push(z.getCustomEditRoute(P));
12375
12391
  }, S = () => {
12376
12392
  if (!r.value && i.config.app === "konnect") {
12377
12393
  const P = i.config;
12378
12394
  m.value && P.createCustomRoute ? a.push(P.createCustomRoute) : k.value && d();
12379
12395
  }
12380
12396
  };
12381
- return (P, K) => {
12397
+ return (P, z) => {
12382
12398
  const B = V("KButton"), f = V("KDropdownItem"), M = V("KDropdownMenu"), h = V("KTooltip");
12383
- return p(), I("div", gE, [
12399
+ return p(), I("div", mE, [
12384
12400
  G(h, {
12385
12401
  text: e.plugin.disabledMessage
12386
12402
  }, {
@@ -12389,15 +12405,15 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12389
12405
  class: Oe(["plugin-select-card", { disabled: r.value }]),
12390
12406
  "data-testid": `${e.plugin.id}-card`,
12391
12407
  role: "button",
12392
- onClick: K[1] || (K[1] = (R) => r.value || k.value ? void 0 : u())
12408
+ onClick: z[1] || (z[1] = (R) => r.value || k.value ? void 0 : u())
12393
12409
  }, [
12394
- y("div", fE, [
12395
- y("div", hE, [
12410
+ y("div", hE, [
12411
+ y("div", vE, [
12396
12412
  y("span", {
12397
12413
  class: Oe({ "non-custom-title": !k.value })
12398
- }, N(e.plugin.name), 3)
12414
+ }, F(e.plugin.name), 3)
12399
12415
  ]),
12400
- c.value ? (p(), I("div", vE, [
12416
+ c.value ? (p(), I("div", yE, [
12401
12417
  G(M, {
12402
12418
  "data-testid": "custom-plugin-actions",
12403
12419
  "kpop-attributes": { placement: "bottom-end" },
@@ -12412,7 +12428,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12412
12428
  size: "small"
12413
12429
  }, {
12414
12430
  default: E(() => [
12415
- G(g(br), { size: g(AE) }, null, 8, ["size"])
12431
+ G(g(br), { size: g(gE) }, null, 8, ["size"])
12416
12432
  ]),
12417
12433
  _: 1
12418
12434
  })
@@ -12421,10 +12437,10 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12421
12437
  e.canDeleteCustomPlugin ? (p(), H(f, {
12422
12438
  key: 0,
12423
12439
  "data-testid": "edit-plugin-schema",
12424
- onClick: K[0] || (K[0] = fn((R) => b(e.plugin.name), ["stop"]))
12440
+ onClick: z[0] || (z[0] = fn((R) => b(e.plugin.name), ["stop"]))
12425
12441
  }, {
12426
12442
  default: E(() => [
12427
- me(N(g(s)("actions.edit")), 1)
12443
+ me(F(g(s)("actions.edit")), 1)
12428
12444
  ]),
12429
12445
  _: 1
12430
12446
  })) : ie("", !0),
@@ -12436,7 +12452,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12436
12452
  onClick: fn(L, ["stop"])
12437
12453
  }, {
12438
12454
  default: E(() => [
12439
- me(N(g(s)("actions.delete")), 1)
12455
+ me(F(g(s)("actions.delete")), 1)
12440
12456
  ]),
12441
12457
  _: 1
12442
12458
  })) : ie("", !0)
@@ -12451,33 +12467,33 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12451
12467
  title: e.plugin.available ? e.plugin.name : g(s)("plugins.select.unavailable_tooltip"),
12452
12468
  onClick: S
12453
12469
  }, [
12454
- G(Zi, {
12470
+ G(Wi, {
12455
12471
  alt: e.plugin.name,
12456
12472
  class: "plugin-card-icon",
12457
12473
  name: e.plugin.imageName || e.plugin.id,
12458
12474
  size: 55
12459
12475
  }, null, 8, ["alt", "name"]),
12460
- e.plugin.description || k.value && !m.value ? (p(), I("div", bE, [
12461
- k.value && !m.value ? (p(), I("p", EE, N(g(s)("plugins.select.custom_badge_text")), 1)) : ie("", !0),
12476
+ e.plugin.description || k.value && !m.value ? (p(), I("div", EE, [
12477
+ k.value && !m.value ? (p(), I("p", wE, F(g(s)("plugins.select.custom_badge_text")), 1)) : ie("", !0),
12462
12478
  e.plugin.description ? (p(), I("p", {
12463
12479
  key: 1,
12464
12480
  class: "plugin-card-text",
12465
12481
  title: e.plugin.description
12466
- }, N(e.plugin.description), 9, wE)) : ie("", !0)
12482
+ }, F(e.plugin.description), 9, CE)) : ie("", !0)
12467
12483
  ])) : ie("", !0)
12468
- ], 10, yE),
12484
+ ], 10, bE),
12469
12485
  y("div", {
12470
12486
  class: "plugin-card-footer",
12471
12487
  onClick: S
12472
- }, N(m.value ? g(s)("actions.create_custom") : e.plugin.exists ? g(s)("actions.enabled") : g(s)("actions.enable")), 1)
12473
- ], 10, mE)
12488
+ }, F(m.value ? g(s)("actions.create_custom") : e.plugin.exists ? g(s)("actions.enabled") : g(s)("actions.enable")), 1)
12489
+ ], 10, fE)
12474
12490
  ]),
12475
12491
  _: 1
12476
12492
  }, 8, ["text"])
12477
12493
  ]);
12478
12494
  };
12479
12495
  }
12480
- }), qo = /* @__PURE__ */ dt(CE, [["__scopeId", "data-v-f975176b"]]), BE = /* @__PURE__ */ ye({
12496
+ }), Jo = /* @__PURE__ */ dt(BE, [["__scopeId", "data-v-f975176b"]]), OE = /* @__PURE__ */ ye({
12481
12497
  __name: "DeleteCustomPluginSchemaModal",
12482
12498
  props: {
12483
12499
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -12494,37 +12510,37 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12494
12510
  emits: ["closed", "proceed"],
12495
12511
  setup(e, { emit: t }) {
12496
12512
  var k;
12497
- const n = e, i = t, { i18nT: a, i18n: { t: s } } = Ue.useI18n(), { getMessageFromError: o } = Zn(), { axiosInstance: r } = Kt((k = n.config) == null ? void 0 : k.axiosRequestConfig), c = F(() => {
12513
+ const n = e, i = t, { i18nT: a, i18n: { t: s } } = Ue.useI18n(), { getMessageFromError: o } = Zn(), { axiosInstance: r } = Kt((k = n.config) == null ? void 0 : k.axiosRequestConfig), c = K(() => {
12498
12514
  var L;
12499
12515
  return A.value ? s("delete.plugin_schema_in_use_title") : s("delete.title", { name: ((L = n.plugin) == null ? void 0 : L.name) || s("delete.custom_plugin") });
12500
12516
  }), d = Z(!1), u = Z(""), A = Z(!1), m = async () => {
12501
- var L, b, S, P, K;
12517
+ var L, b, S, P, z;
12502
12518
  if (d.value = !0, u.value = "", !(!((L = n.plugin) != null && L.name) || ((b = n.config) == null ? void 0 : b.app) !== "konnect"))
12503
12519
  try {
12504
12520
  const B = `${n.config.apiBaseUrl}/v2/control-planes/${n.config.controlPlaneId}/core-entities/plugin-schemas/${(S = n.plugin) == null ? void 0 : S.name}`;
12505
12521
  await r.delete(B), i("proceed");
12506
12522
  } catch (B) {
12507
12523
  const { response: f } = B;
12508
- (f == null ? void 0 : f.status) === 400 && ((K = (P = f.data) == null ? void 0 : P.message) != null && K.includes("plugin schema is currently in use")) ? A.value = !0 : u.value = o(B);
12524
+ (f == null ? void 0 : f.status) === 400 && ((z = (P = f.data) == null ? void 0 : P.message) != null && z.includes("plugin schema is currently in use")) ? A.value = !0 : u.value = o(B);
12509
12525
  } finally {
12510
12526
  d.value = !1;
12511
12527
  }
12512
12528
  };
12513
12529
  return (L, b) => {
12514
12530
  const S = V("KButton"), P = V("KModal");
12515
- return !A.value && e.plugin ? (p(), H(g(Ms), {
12531
+ return !A.value && e.plugin ? (p(), H(g(Rs), {
12516
12532
  key: 0,
12517
12533
  "action-pending": d.value,
12518
12534
  class: "delete-custom-plugin-schema-modal",
12519
12535
  "data-testid": "delete-custom-plugin-schema-modal",
12520
12536
  description: g(s)("delete.description_custom"),
12521
12537
  "entity-name": e.plugin.name,
12522
- "entity-type": g(Rs).Plugin,
12538
+ "entity-type": g(ks).Plugin,
12523
12539
  error: u.value,
12524
12540
  "need-confirm": "",
12525
12541
  title: c.value,
12526
12542
  visible: "",
12527
- onCancel: b[0] || (b[0] = (K) => L.$emit("closed")),
12543
+ onCancel: b[0] || (b[0] = (z) => L.$emit("closed")),
12528
12544
  onProceed: m
12529
12545
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title"])) : e.plugin ? (p(), H(P, {
12530
12546
  key: 1,
@@ -12533,7 +12549,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12533
12549
  "data-testid": "delete-custom-plugin-schema-modal",
12534
12550
  title: c.value,
12535
12551
  visible: "",
12536
- onCancel: b[2] || (b[2] = (K) => L.$emit("closed"))
12552
+ onCancel: b[2] || (b[2] = (z) => L.$emit("closed"))
12537
12553
  }, {
12538
12554
  default: E(() => [
12539
12555
  y("div", null, [
@@ -12542,7 +12558,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12542
12558
  tag: "p"
12543
12559
  }, {
12544
12560
  name: E(() => [
12545
- y("strong", null, N(e.plugin.name), 1)
12561
+ y("strong", null, F(e.plugin.name), 1)
12546
12562
  ]),
12547
12563
  _: 1
12548
12564
  })
@@ -12554,10 +12570,10 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12554
12570
  appearance: "tertiary",
12555
12571
  class: "cancel-button",
12556
12572
  "data-testid": "delete-custom-plugin-form-cancel",
12557
- onClick: b[1] || (b[1] = (K) => L.$emit("closed"))
12573
+ onClick: b[1] || (b[1] = (z) => L.$emit("closed"))
12558
12574
  }, {
12559
12575
  default: E(() => [
12560
- me(N(g(s)("actions.cancel")), 1)
12576
+ me(F(g(s)("actions.cancel")), 1)
12561
12577
  ]),
12562
12578
  _: 1
12563
12579
  })
@@ -12567,7 +12583,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12567
12583
  }, 8, ["action-button-disabled", "title"])) : ie("", !0);
12568
12584
  };
12569
12585
  }
12570
- }), OE = /* @__PURE__ */ dt(BE, [["__scopeId", "data-v-4148beb9"]]), IE = { class: "custom-plugins-grid" }, ME = { class: "empty-state-title" }, RE = { class: "empty-state-description" }, vi = 310, kE = /* @__PURE__ */ ye({
12586
+ }), IE = /* @__PURE__ */ dt(OE, [["__scopeId", "data-v-4148beb9"]]), ME = { class: "custom-plugins-grid" }, RE = { class: "empty-state-title" }, kE = { class: "empty-state-description" }, yi = 310, TE = /* @__PURE__ */ ye({
12571
12587
  __name: "PluginCustomGrid",
12572
12588
  props: {
12573
12589
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -12617,7 +12633,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12617
12633
  setup(e, { emit: t }) {
12618
12634
  const n = e, i = t, { i18n: { t: a } } = Ue.useI18n(), { getTallestPluginCardHeight: s, getToggleVisibility: o } = Ue.usePluginHelpers(), r = Z(!0), c = (M) => {
12619
12635
  i("plugin-clicked", M);
12620
- }, d = F(() => {
12636
+ }, d = K(() => {
12621
12637
  if (n.config.app === "kongManager")
12622
12638
  return [];
12623
12639
  const M = JSON.parse(JSON.stringify(n.pluginList))[U.CUSTOM_PLUGINS] || [];
@@ -12636,22 +12652,22 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12636
12652
  }, k = (M) => {
12637
12653
  var h;
12638
12654
  M && (i("revalidate"), i("delete:success", ((h = A.value) == null ? void 0 : h.name) || "")), u.value = !1, A.value = null;
12639
- }, L = Z(vi), b = Z(null), S = Z(null), P = F(() => r.value ? {
12655
+ }, L = Z(yi), b = Z(null), S = Z(null), P = K(() => r.value ? {
12640
12656
  overflowY: "hidden",
12641
12657
  maxHeight: `${L.value}px`
12642
- } : {}), K = Z(!1), B = () => {
12643
- L.value = Math.max(s(S.value), vi), f();
12658
+ } : {}), z = Z(!1), B = () => {
12659
+ L.value = Math.max(s(S.value), yi), f();
12644
12660
  }, f = () => {
12645
12661
  var M, h;
12646
- (M = S.value) != null && M.length && (K.value = o(b.value, (h = S.value) == null ? void 0 : h.length));
12662
+ (M = S.value) != null && M.length && (z.value = o(b.value, (h = S.value) == null ? void 0 : h.length));
12647
12663
  };
12648
12664
  return Rn(async () => {
12649
- await Bn(), L.value = Math.max(s(S.value), vi), f(), window == null || window.addEventListener("resize", B);
12650
- }), Os(() => {
12665
+ await Bn(), L.value = Math.max(s(S.value), yi), f(), window == null || window.addEventListener("resize", B);
12666
+ }), Is(() => {
12651
12667
  window == null || window.removeEventListener("resize", B);
12652
12668
  }), (M, h) => {
12653
12669
  const R = V("KEmptyState"), T = V("KCollapse");
12654
- return p(), I("div", IE, [
12670
+ return p(), I("div", ME, [
12655
12671
  d.value.length ? (p(), H(T, {
12656
12672
  key: 1,
12657
12673
  modelValue: r.value,
@@ -12666,9 +12682,9 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12666
12682
  ref_key: "pluginCardContainerRef",
12667
12683
  ref: b,
12668
12684
  class: "plugin-card-container",
12669
- style: Is(P.value)
12685
+ style: Ms(P.value)
12670
12686
  }, [
12671
- (p(!0), I(Ae, null, Ee(d.value, (W, j) => (p(), H(qo, {
12687
+ (p(!0), I(Ae, null, Ee(d.value, (W, j) => (p(), H(Jo, {
12672
12688
  key: `plugin-card-${j}`,
12673
12689
  ref_for: !0,
12674
12690
  ref_key: "pluginCardRef",
@@ -12685,7 +12701,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12685
12701
  ]),
12686
12702
  _: 2
12687
12703
  }, [
12688
- K.value ? void 0 : {
12704
+ z.value ? void 0 : {
12689
12705
  name: "trigger",
12690
12706
  fn: E(() => [
12691
12707
  h[2] || (h[2] = me("   "))
@@ -12699,14 +12715,14 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12699
12715
  "icon-variant": "kong"
12700
12716
  }, {
12701
12717
  title: E(() => [
12702
- y("span", ME, N(g(a)("plugins.select.tabs.custom.empty_title")), 1)
12718
+ y("span", RE, F(g(a)("plugins.select.tabs.custom.empty_title")), 1)
12703
12719
  ]),
12704
12720
  default: E(() => [
12705
- y("span", RE, N(g(a)("plugins.select.tabs.custom.empty_description")), 1)
12721
+ y("span", kE, F(g(a)("plugins.select.tabs.custom.empty_description")), 1)
12706
12722
  ]),
12707
12723
  _: 1
12708
12724
  })),
12709
- u.value && A.value ? (p(), H(OE, {
12725
+ u.value && A.value ? (p(), H(IE, {
12710
12726
  key: 2,
12711
12727
  config: e.config,
12712
12728
  plugin: A.value,
@@ -12716,9 +12732,9 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12716
12732
  ]);
12717
12733
  };
12718
12734
  }
12719
- }), TE = /* @__PURE__ */ dt(kE, [["__scopeId", "data-v-7a78ac82"]]), yi = 310, SE = /* @__PURE__ */ ye({
12735
+ }), SE = /* @__PURE__ */ dt(TE, [["__scopeId", "data-v-7a78ac82"]]), bi = 310, xE = /* @__PURE__ */ ye({
12720
12736
  __name: "PluginSelectGroup",
12721
- props: /* @__PURE__ */ ia({
12737
+ props: /* @__PURE__ */ aa({
12722
12738
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
12723
12739
  config: {
12724
12740
  type: Object,
@@ -12751,26 +12767,26 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12751
12767
  modelValue: { type: Boolean, required: !0 },
12752
12768
  modelModifiers: {}
12753
12769
  }),
12754
- emits: /* @__PURE__ */ ia(["plugin-clicked"], ["update:modelValue"]),
12770
+ emits: /* @__PURE__ */ aa(["plugin-clicked"], ["update:modelValue"]),
12755
12771
  setup(e, { emit: t }) {
12756
- const n = ir(e, "modelValue"), i = e, a = t, { i18n: { t: s } } = Ue.useI18n(), { getTallestPluginCardHeight: o, getToggleVisibility: r } = Ue.usePluginHelpers(), c = Z(yi), d = Z(null), u = Z(null), A = F(() => n.value ? {
12772
+ const n = ir(e, "modelValue"), i = e, a = t, { i18n: { t: s } } = Ue.useI18n(), { getTallestPluginCardHeight: o, getToggleVisibility: r } = Ue.usePluginHelpers(), c = Z(bi), d = Z(null), u = Z(null), A = K(() => n.value ? {
12757
12773
  overflowY: "hidden",
12758
12774
  maxHeight: `${c.value}px`
12759
12775
  } : {}), m = Z(!1), k = () => {
12760
- c.value = Math.max(o(u.value), yi), L();
12776
+ c.value = Math.max(o(u.value), bi), L();
12761
12777
  }, L = () => {
12762
12778
  var b, S;
12763
12779
  (b = u.value) != null && b.length && (m.value = r(d.value, (S = u.value) == null ? void 0 : S.length));
12764
12780
  };
12765
12781
  return Rn(async () => {
12766
- await Bn(), c.value = Math.max(o(u.value), yi), L(), window == null || window.addEventListener("resize", k);
12767
- }), Os(() => {
12782
+ await Bn(), c.value = Math.max(o(u.value), bi), L(), window == null || window.addEventListener("resize", k);
12783
+ }), Is(() => {
12768
12784
  window == null || window.removeEventListener("resize", k);
12769
12785
  }), (b, S) => {
12770
12786
  const P = V("KCollapse");
12771
12787
  return p(), H(P, {
12772
12788
  modelValue: n.value,
12773
- "onUpdate:modelValue": S[0] || (S[0] = (K) => n.value = K),
12789
+ "onUpdate:modelValue": S[0] || (S[0] = (z) => n.value = z),
12774
12790
  class: "plugins-collapse",
12775
12791
  "data-testid": `${i.name}-collapse`,
12776
12792
  title: i.name,
@@ -12781,17 +12797,17 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12781
12797
  ref_key: "pluginCardContainerRef",
12782
12798
  ref: d,
12783
12799
  class: "plugin-card-container",
12784
- style: Is(A.value)
12800
+ style: Ms(A.value)
12785
12801
  }, [
12786
- (p(!0), I(Ae, null, Ee(i.plugins, (K) => (p(), H(qo, {
12787
- key: `plugin-card-${K.id}`,
12802
+ (p(!0), I(Ae, null, Ee(i.plugins, (z) => (p(), H(Jo, {
12803
+ key: `plugin-card-${z.id}`,
12788
12804
  ref_for: !0,
12789
12805
  ref_key: "pluginCardRef",
12790
12806
  ref: u,
12791
12807
  config: e.config,
12792
12808
  "navigate-on-click": e.navigateOnClick,
12793
- plugin: K,
12794
- onPluginClicked: (B) => a("plugin-clicked", K)
12809
+ plugin: z,
12810
+ onPluginClicked: (B) => a("plugin-clicked", z)
12795
12811
  }, null, 8, ["config", "navigate-on-click", "plugin", "onPluginClicked"]))), 128))
12796
12812
  ], 4)
12797
12813
  ]),
@@ -12807,7 +12823,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12807
12823
  ]), 1032, ["modelValue", "data-testid", "title", "trigger-label"]);
12808
12824
  };
12809
12825
  }
12810
- }), ys = /* @__PURE__ */ dt(SE, [["__scopeId", "data-v-a1074120"]]), xE = { class: "plugin-select-grid" }, GE = { class: "empty-state-title" }, PE = { class: "empty-state-description" }, bs = /* @__PURE__ */ ye({
12826
+ }), bs = /* @__PURE__ */ dt(xE, [["__scopeId", "data-v-a1074120"]]), GE = { class: "plugin-select-grid" }, PE = { class: "empty-state-title" }, UE = { class: "empty-state-description" }, Es = /* @__PURE__ */ ye({
12811
12827
  __name: "PluginSelectGrid",
12812
12828
  props: {
12813
12829
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -12857,13 +12873,13 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12857
12873
  setup(e, { emit: t }) {
12858
12874
  const n = e, i = t, { i18n: { t: a } } = Ue.useI18n(), s = Z(!1), o = Z(_c), r = (d) => {
12859
12875
  i("plugin-clicked", d);
12860
- }, c = F(() => {
12876
+ }, c = K(() => {
12861
12877
  const d = JSON.parse(JSON.stringify(n.pluginList));
12862
12878
  return n.config.app === "konnect" && delete d[U.CUSTOM_PLUGINS], d;
12863
12879
  });
12864
12880
  return (d, u) => {
12865
12881
  const A = V("KEmptyState");
12866
- return p(), I("div", xE, [
12882
+ return p(), I("div", GE, [
12867
12883
  Object.keys(c.value).length ? ie("", !0) : (p(), H(A, {
12868
12884
  key: 0,
12869
12885
  "action-button-visible": !1,
@@ -12872,14 +12888,14 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12872
12888
  "icon-variant": "kong"
12873
12889
  }, {
12874
12890
  title: E(() => [
12875
- y("span", GE, N(g(a)("plugins.select.tabs.kong.empty_title")), 1)
12891
+ y("span", PE, F(g(a)("plugins.select.tabs.kong.empty_title")), 1)
12876
12892
  ]),
12877
12893
  default: E(() => [
12878
- y("span", PE, N(g(a)("plugins.select.tabs.kong.empty_description")), 1)
12894
+ y("span", UE, F(g(a)("plugins.select.tabs.kong.empty_description")), 1)
12879
12895
  ]),
12880
12896
  _: 1
12881
12897
  })),
12882
- !n.hideHighlightedPlugins && n.highlightedPlugins.length > 0 ? (p(), H(ys, {
12898
+ !n.hideHighlightedPlugins && n.highlightedPlugins.length > 0 ? (p(), H(bs, {
12883
12899
  key: 1,
12884
12900
  modelValue: s.value,
12885
12901
  "onUpdate:modelValue": u[0] || (u[0] = (m) => s.value = m),
@@ -12891,7 +12907,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12891
12907
  }, null, 8, ["modelValue", "config", "name", "navigate-on-click", "plugins"])) : ie("", !0),
12892
12908
  (p(!0), I(Ae, null, Ee(g(Wc), (m) => (p(), I(Ae, null, [
12893
12909
  c.value[m] ? (p(), I("div", { key: m }, [
12894
- G(ys, {
12910
+ G(bs, {
12895
12911
  modelValue: o.value[m],
12896
12912
  "onUpdate:modelValue": (k) => o.value[m] = k,
12897
12913
  config: e.config,
@@ -12905,11 +12921,11 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12905
12921
  ]);
12906
12922
  };
12907
12923
  }
12908
- }), UE = { class: "kong-ui-entities-plugin-select-form" }, LE = { class: "plugins-filter-input-container" }, DE = { key: 0 }, jE = {
12924
+ }), LE = { class: "kong-ui-entities-plugin-select-form" }, DE = { class: "plugins-filter-input-container" }, jE = { key: 0 }, YE = {
12909
12925
  key: 3,
12910
12926
  "aria-live": "polite",
12911
12927
  class: "plugins-results-container"
12912
- }, YE = { "data-testid": "kong-tab" }, HE = { class: "tab-description" }, VE = { "data-testid": "custom-tab" }, NE = { class: "tab-description" }, FE = /* @__PURE__ */ ye({
12928
+ }, HE = { "data-testid": "kong-tab" }, VE = { class: "tab-description" }, NE = { "data-testid": "custom-tab" }, FE = { class: "tab-description" }, KE = /* @__PURE__ */ ye({
12913
12929
  __name: "PluginSelect",
12914
12930
  props: {
12915
12931
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -12998,11 +13014,11 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
12998
13014
  emits: ["loading", "plugin-clicked", "delete-custom:success"],
12999
13015
  setup(e, { emit: t }) {
13000
13016
  var D;
13001
- const n = e, i = t, a = vr(), s = Wn(), { i18n: { t: o } } = Ue.useI18n(), { pluginMetaData: r } = Ue.usePluginMetaData(), { getMessageFromError: c } = Zn(), { sortAlpha: d, objectsAreEqual: u } = Qn(), A = Z(""), m = Z(!0), k = Z(!1), L = Z(""), b = Z([]), S = Z({}), P = Z([]), { axiosInstance: K } = Kt((D = n.config) == null ? void 0 : D.axiosRequestConfig), B = F(() => S.value ? Object.entries(S.value).filter(([v]) => v !== U.CUSTOM_PLUGINS).reduce((v, [, O]) => {
13017
+ const n = e, i = t, a = vr(), s = Wn(), { i18n: { t: o } } = Ue.useI18n(), { pluginMetaData: r } = Ue.usePluginMetaData(), { getMessageFromError: c } = Zn(), { sortAlpha: d, objectsAreEqual: u } = Qn(), A = Z(""), m = Z(!0), k = Z(!1), L = Z(""), b = Z([]), S = Z({}), P = Z([]), { axiosInstance: z } = Kt((D = n.config) == null ? void 0 : D.axiosRequestConfig), B = K(() => S.value ? Object.entries(S.value).filter(([v]) => v !== U.CUSTOM_PLUGINS).reduce((v, [, O]) => {
13002
13018
  for (const ne of O)
13003
13019
  v[ne.id] = ne;
13004
13020
  return v;
13005
- }, {}) : {}), f = F(() => {
13021
+ }, {}) : {}), f = K(() => {
13006
13022
  var ne;
13007
13023
  if (!S.value)
13008
13024
  return {};
@@ -13012,10 +13028,10 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13012
13028
  x.length ? O[J] = x : delete O[J];
13013
13029
  }
13014
13030
  return O;
13015
- }), M = F(() => n.highlightedPluginIds.reduce((v, O) => {
13031
+ }), M = K(() => n.highlightedPluginIds.reduce((v, O) => {
13016
13032
  const ne = B.value[O];
13017
13033
  return ne && v.push(ne), v;
13018
- }, [])), h = F(() => Object.keys(f.value).length > 0), R = F(() => Object.keys(S.value).length > 0 && !h.value), T = F(() => n.config.app === "konnect" ? [
13034
+ }, [])), h = K(() => Object.keys(f.value).length > 0), R = K(() => Object.keys(S.value).length > 0 && !h.value), T = K(() => n.config.app === "konnect" ? [
13019
13035
  {
13020
13036
  hash: "#kong",
13021
13037
  title: o("plugins.select.tabs.kong.title")
@@ -13025,7 +13041,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13025
13041
  title: o("plugins.select.tabs.custom.title"),
13026
13042
  disabled: n.disableCustomPlugins
13027
13043
  }
13028
- ] : []), W = F(() => {
13044
+ ] : []), W = K(() => {
13029
13045
  var O;
13030
13046
  let v = T.value.length && ((a == null ? void 0 : a.hash) || ((O = T.value[0]) == null ? void 0 : O.hash)) || "";
13031
13047
  return v === "#custom" && n.disableCustomPlugins && (v = "#kong"), v;
@@ -13048,11 +13064,11 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13048
13064
  const x = J.group || o("plugins.select.misc_plugins");
13049
13065
  let oe = v[x];
13050
13066
  return oe || (oe = []), oe.push(J), oe.sort(d("name")), v[x] = oe, v;
13051
- }, {}), Y = F(() => {
13067
+ }, {}), Y = K(() => {
13052
13068
  var O;
13053
13069
  let v = `${n.config.apiBaseUrl}${je.select[n.config.app].availablePlugins}`;
13054
13070
  return n.config.app === "konnect" ? v = v.replace(/{controlPlaneId}/gi, n.config.controlPlaneId || "") : n.config.app === "kongManager" && (v = ((O = n.config.gatewayInfo) == null ? void 0 : O.edition) === "community" ? `${n.config.apiBaseUrl}${je.select[n.config.app].availablePluginsForOss}` : v.replace(/\/{workspace}/gi, n.config.workspace ? `/${n.config.workspace}` : "")), v;
13055
- }), Q = F(() => {
13071
+ }), Q = K(() => {
13056
13072
  if (n.config.entityType && n.config.entityId) {
13057
13073
  let v = `${n.config.apiBaseUrl}${je.list[n.config.app].forEntity}`;
13058
13074
  return n.config.app === "konnect" ? v = v.replace(/{controlPlaneId}/gi, n.config.controlPlaneId || "") : n.config.app === "kongManager" && (v = v.replace(/\/{workspace}/gi, n.config.workspace ? `/${n.config.workspace}` : "")), v.replace(/{entityType}/gi, n.config.entityType || "").replace(/{entityId}/gi, n.config.entityId || "");
@@ -13073,7 +13089,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13073
13089
  re.value = await n.canCreateCustomPlugin(), ce.value = await n.canEditCustomPlugin(), ae.value = await n.canDeleteCustomPlugin();
13074
13090
  }), Rn(async () => {
13075
13091
  try {
13076
- const { data: v } = await K.get(Y.value);
13092
+ const { data: v } = await z.get(Y.value);
13077
13093
  if (n.config.app === "konnect") {
13078
13094
  const { names: O } = v;
13079
13095
  b.value = O || [];
@@ -13086,7 +13102,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13086
13102
  }
13087
13103
  if (Q.value)
13088
13104
  try {
13089
- const { data: { data: v } } = await K.get(Q.value);
13105
+ const { data: { data: v } } = await z.get(Q.value);
13090
13106
  if (v != null && v.length) {
13091
13107
  const O = v.reduce((ne, J) => (J.name && ne.push(J.name), ne), []);
13092
13108
  P.value = P.value.concat(O);
@@ -13096,8 +13112,8 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13096
13112
  k.value || (S.value = j()), m.value = !1;
13097
13113
  }), (v, O) => {
13098
13114
  const ne = V("KInput"), J = V("KSkeletonBox"), x = V("KSkeleton"), oe = V("KEmptyState"), ue = V("KTooltip"), ge = V("KTabs");
13099
- return p(), I("div", UE, [
13100
- y("div", LE, [
13115
+ return p(), I("div", LE, [
13116
+ y("div", DE, [
13101
13117
  G(ne, {
13102
13118
  modelValue: A.value,
13103
13119
  "onUpdate:modelValue": O[0] || (O[0] = (ee) => A.value = ee),
@@ -13108,7 +13124,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13108
13124
  type: "search"
13109
13125
  }, null, 8, ["modelValue", "placeholder"])
13110
13126
  ]),
13111
- m.value ? (p(), I("section", DE, [
13127
+ m.value ? (p(), I("section", jE, [
13112
13128
  G(J, {
13113
13129
  class: "plugins-skeleton-title",
13114
13130
  width: "10"
@@ -13125,7 +13141,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13125
13141
  "icon-variant": "error"
13126
13142
  }, {
13127
13143
  default: E(() => [
13128
- y("h3", null, N(L.value), 1)
13144
+ y("h3", null, F(L.value), 1)
13129
13145
  ]),
13130
13146
  _: 1
13131
13147
  })) : R.value && A.value ? (p(), H(oe, {
@@ -13135,10 +13151,10 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13135
13151
  "icon-variant": "search"
13136
13152
  }, {
13137
13153
  default: E(() => [
13138
- y("h5", null, N(g(o)("search.no_results", { filter: A.value })), 1)
13154
+ y("h5", null, F(g(o)("search.no_results", { filter: A.value })), 1)
13139
13155
  ]),
13140
13156
  _: 1
13141
- })) : (p(), I("section", jE, [
13157
+ })) : (p(), I("section", YE, [
13142
13158
  T.value.length && !e.hideCustomPlugins ? (p(), H(ge, {
13143
13159
  key: 0,
13144
13160
  modelValue: W.value,
@@ -13148,9 +13164,9 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13148
13164
  onChange: te
13149
13165
  }, Dt({
13150
13166
  kong: E(() => [
13151
- y("div", YE, [
13152
- y("p", HE, N(g(o)("plugins.select.tabs.kong.description")), 1),
13153
- G(bs, {
13167
+ y("div", HE, [
13168
+ y("p", VE, F(g(o)("plugins.select.tabs.kong.description")), 1),
13169
+ G(Es, {
13154
13170
  config: e.config,
13155
13171
  "hide-highlighted-plugins": A.value.length > 0,
13156
13172
  "highlighted-plugins": M.value,
@@ -13162,9 +13178,9 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13162
13178
  ])
13163
13179
  ]),
13164
13180
  custom: E(() => [
13165
- y("div", VE, [
13166
- y("p", NE, N(g(o)("plugins.select.tabs.custom.description")), 1),
13167
- G(TE, {
13181
+ y("div", NE, [
13182
+ y("p", FE, F(g(o)("plugins.select.tabs.custom.description")), 1),
13183
+ G(SE, {
13168
13184
  "can-create-custom-plugin": re.value,
13169
13185
  "can-delete-custom-plugin": ae.value,
13170
13186
  "can-edit-custom-plugin": ce.value,
@@ -13187,14 +13203,14 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13187
13203
  text: g(o)("plugins.select.tabs.custom.disabled_tooltip")
13188
13204
  }, {
13189
13205
  default: E(() => [
13190
- y("div", null, N(g(o)("plugins.select.tabs.custom.title")), 1)
13206
+ y("div", null, F(g(o)("plugins.select.tabs.custom.title")), 1)
13191
13207
  ]),
13192
13208
  _: 1
13193
13209
  }, 8, ["text"])
13194
13210
  ]),
13195
13211
  key: "0"
13196
13212
  } : void 0
13197
- ]), 1032, ["modelValue", "tabs"])) : (p(), H(bs, {
13213
+ ]), 1032, ["modelValue", "tabs"])) : (p(), H(Es, {
13198
13214
  key: 1,
13199
13215
  config: e.config,
13200
13216
  "hide-highlighted-plugins": A.value.length > 0,
@@ -13208,7 +13224,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13208
13224
  ]);
13209
13225
  };
13210
13226
  }
13211
- }), ow = /* @__PURE__ */ dt(FE, [["__scopeId", "data-v-03f4df60"]]), KE = { class: "kong-ui-entity-plugin-config-card" }, zE = { class: "name-cell-wrapper" }, qE = { class: "info-name" }, JE = { key: 0 }, XE = { key: 0 }, QE = { key: 0 }, ZE = { key: 0 }, bi = "config", WE = /* @__PURE__ */ ye({
13227
+ }), rw = /* @__PURE__ */ dt(KE, [["__scopeId", "data-v-03f4df60"]]), zE = { class: "kong-ui-entity-plugin-config-card" }, qE = { class: "name-cell-wrapper" }, JE = { class: "info-name" }, XE = { key: 0 }, QE = { key: 0 }, ZE = { key: 0 }, WE = { key: 0 }, Ei = "config", _E = /* @__PURE__ */ ye({
13212
13228
  __name: "PluginConfigCard",
13213
13229
  props: {
13214
13230
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -13251,13 +13267,13 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13251
13267
  },
13252
13268
  emits: ["loading", "fetch:error", "error:fetch-schema", "fetch:success", "navigation-click"],
13253
13269
  setup(e, { emit: t }) {
13254
- var K;
13255
- const n = t, i = e, { i18n: { t: a } } = Ue.useI18n(), s = Ue.usePluginMetaData(), { setFieldType: o } = Ue.usePluginHelpers(), { getPropValue: r } = Qn(), c = F(
13270
+ var z;
13271
+ const n = t, i = e, { i18n: { t: a } } = Ue.useI18n(), s = Ue.usePluginMetaData(), { setFieldType: o } = Ue.usePluginHelpers(), { getPropValue: r } = Qn(), c = K(
13256
13272
  () => {
13257
13273
  var B;
13258
13274
  return (B = je.item[i.config.app]) == null ? void 0 : B[i.scopedEntityType ? "forEntity" : "all"].replace(/{entityType}/gi, i.scopedEntityType).replace(/{entityId}/gi, i.scopedEntityId);
13259
13275
  }
13260
- ), d = F(() => {
13276
+ ), d = K(() => {
13261
13277
  var M, h;
13262
13278
  const B = {}, f = ((M = b.value) == null ? void 0 : M.fields) || [];
13263
13279
  for (let R = 0; R < f.length; R++) {
@@ -13296,16 +13312,16 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13296
13312
  order: 7
13297
13313
  }
13298
13314
  };
13299
- }), u = F(() => {
13315
+ }), u = K(() => {
13300
13316
  var f, M, h;
13301
13317
  if (!((f = b.value) != null && f.fields))
13302
13318
  return [];
13303
13319
  const B = (M = b.value.fields) == null ? void 0 : M.find((R) => {
13304
13320
  var W;
13305
- return ((W = Object.keys(R)) == null ? void 0 : W[0]) === bi;
13321
+ return ((W = Object.keys(R)) == null ? void 0 : W[0]) === Ei;
13306
13322
  });
13307
- return ((h = B == null ? void 0 : B[bi]) == null ? void 0 : h.fields) || [];
13308
- }), A = F(() => {
13323
+ return ((h = B == null ? void 0 : B[Ei]) == null ? void 0 : h.fields) || [];
13324
+ }), A = K(() => {
13309
13325
  var f, M;
13310
13326
  const B = {};
13311
13327
  if (!u.value)
@@ -13317,7 +13333,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13317
13333
  }), o(B, T, W);
13318
13334
  }
13319
13335
  return B;
13320
- }), { getMessageFromError: m } = Zn(), { axiosInstance: k } = Kt((K = i.config) == null ? void 0 : K.axiosRequestConfig), L = F(() => {
13336
+ }), { getMessageFromError: m } = Zn(), { axiosInstance: k } = Kt((z = i.config) == null ? void 0 : z.axiosRequestConfig), L = K(() => {
13321
13337
  var f, M;
13322
13338
  let B = `${i.config.apiBaseUrl}${je.form[i.config.app].pluginSchema}`;
13323
13339
  return i.config.app === "konnect" ? B = B.replace(/{controlPlaneId}/gi, ((f = i.config) == null ? void 0 : f.controlPlaneId) || "") : i.config.app === "kongManager" && (B = B.replace(/\/{workspace}/gi, (M = i.config) != null && M.workspace ? `/${i.config.workspace}` : "")), B = B.replace(/{plugin}/gi, i.config.pluginType), B;
@@ -13336,7 +13352,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13336
13352
  }
13337
13353
  }), (B, f) => {
13338
13354
  const M = V("KSkeleton"), h = V("KEmptyState"), R = V("KCopy");
13339
- return p(), I("div", KE, [
13355
+ return p(), I("div", zE, [
13340
13356
  S.value ? (p(), H(M, {
13341
13357
  key: 0,
13342
13358
  "data-testid": "plugin-config-card-loader",
@@ -13348,7 +13364,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13348
13364
  "icon-variant": "error"
13349
13365
  }, {
13350
13366
  default: E(() => [
13351
- y("h3", null, N(P.value), 1)
13367
+ y("h3", null, F(P.value), 1)
13352
13368
  ]),
13353
13369
  _: 1
13354
13370
  })) : (p(), H(g(hr), {
@@ -13356,23 +13372,23 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13356
13372
  config: e.config,
13357
13373
  "config-card-doc": e.configCardDoc,
13358
13374
  "config-schema": d.value,
13359
- "entity-type": g(Ei).Plugin,
13375
+ "entity-type": g(wi).Plugin,
13360
13376
  "fetch-url": c.value,
13361
13377
  "hide-title": e.hideTitle,
13362
- "plugin-config-key": bi,
13378
+ "plugin-config-key": Ei,
13363
13379
  "plugin-config-schema": A.value,
13364
13380
  "onFetch:error": f[0] || (f[0] = (T) => B.$emit("fetch:error", T)),
13365
13381
  "onFetch:success": f[1] || (f[1] = (T) => B.$emit("fetch:success", T)),
13366
13382
  onLoading: f[2] || (f[2] = (T) => B.$emit("loading", T))
13367
13383
  }, {
13368
13384
  name: E((T) => [
13369
- y("div", zE, [
13370
- G(Zi, {
13385
+ y("div", qE, [
13386
+ G(Wi, {
13371
13387
  class: "plugin-icon",
13372
13388
  name: g(r)("rowValue", T),
13373
13389
  size: 24
13374
13390
  }, null, 8, ["name"]),
13375
- y("span", qE, N(g(s).getDisplayName(g(r)("rowValue", T))), 1)
13391
+ y("span", JE, F(g(s).getDisplayName(g(r)("rowValue", T))), 1)
13376
13392
  ])
13377
13393
  ]),
13378
13394
  consumer: E((T) => [
@@ -13389,7 +13405,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13389
13405
  "copy-tooltip": g(a)("copy.tooltip", { label: g(r)("row", T).label }),
13390
13406
  "data-testid": "consumer-copy-uuid",
13391
13407
  text: g(r)("rowValue", T).id
13392
- }, null, 8, ["copy-tooltip", "text"])) : (p(), I("span", JE, "–"))
13408
+ }, null, 8, ["copy-tooltip", "text"])) : (p(), I("span", XE, "–"))
13393
13409
  ]),
13394
13410
  route: E((T) => [
13395
13411
  g(r)("rowValue", T) ? e.showIdAsLink ? (p(), H(g(Ln), {
@@ -13405,7 +13421,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13405
13421
  "copy-tooltip": g(a)("copy.tooltip", { label: g(r)("row", T).label }),
13406
13422
  "data-testid": "route-copy-uuid",
13407
13423
  text: g(r)("rowValue", T).id
13408
- }, null, 8, ["copy-tooltip", "text"])) : (p(), I("span", XE, "–"))
13424
+ }, null, 8, ["copy-tooltip", "text"])) : (p(), I("span", QE, "–"))
13409
13425
  ]),
13410
13426
  service: E((T) => [
13411
13427
  g(r)("rowValue", T) ? e.showIdAsLink ? (p(), H(g(Ln), {
@@ -13421,7 +13437,7 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13421
13437
  "copy-tooltip": g(a)("copy.tooltip", { label: g(r)("row", T).label }),
13422
13438
  "data-testid": "service-copy-uuid",
13423
13439
  text: g(r)("rowValue", T).id
13424
- }, null, 8, ["copy-tooltip", "text"])) : (p(), I("span", QE, "–"))
13440
+ }, null, 8, ["copy-tooltip", "text"])) : (p(), I("span", ZE, "–"))
13425
13441
  ]),
13426
13442
  consumer_group: E((T) => [
13427
13443
  g(r)("rowValue", T) ? e.showIdAsLink ? (p(), H(g(Ln), {
@@ -13437,29 +13453,29 @@ const sE = { class: "kong-ui-entities-plugins-list" }, oE = { class: "name-cell-
13437
13453
  "copy-tooltip": g(a)("copy.tooltip", { label: g(r)("row", T).label }),
13438
13454
  "data-testid": "consumer-group-copy-uuid",
13439
13455
  text: g(r)("rowValue", T).id
13440
- }, null, 8, ["copy-tooltip", "text"])) : (p(), I("span", ZE, "–"))
13456
+ }, null, 8, ["copy-tooltip", "text"])) : (p(), I("span", WE, "–"))
13441
13457
  ]),
13442
13458
  _: 1
13443
13459
  }, 8, ["config", "config-card-doc", "config-schema", "entity-type", "fetch-url", "hide-title", "plugin-config-schema"]))
13444
13460
  ]);
13445
13461
  };
13446
13462
  }
13447
- }), rw = /* @__PURE__ */ dt(WE, [["__scopeId", "data-v-f27734d2"]]), { usePluginMetaData: lw } = Ue;
13463
+ }), lw = /* @__PURE__ */ dt(_E, [["__scopeId", "data-v-f27734d2"]]), { usePluginMetaData: cw } = Ue;
13448
13464
  export {
13449
13465
  _t as EntityTypeIdField,
13450
13466
  _c as PLUGIN_GROUPS_COLLAPSE_STATUS,
13451
- rw as PluginConfigCard,
13452
- aw as PluginForm,
13467
+ lw as PluginConfigCard,
13468
+ sw as PluginForm,
13453
13469
  U as PluginGroup,
13454
13470
  Wc as PluginGroupArray,
13455
- Zi as PluginIcon,
13456
- sw as PluginList,
13471
+ Wi as PluginIcon,
13472
+ ow as PluginList,
13457
13473
  l as PluginScope,
13458
- ow as PluginSelect,
13459
- qo as PluginSelectCard,
13460
- bs as PluginSelectGrid,
13474
+ rw as PluginSelect,
13475
+ Jo as PluginSelectCard,
13476
+ Es as PluginSelectGrid,
13461
13477
  Qe as VueFormGenerator,
13462
13478
  bu as getPluginIconURL,
13463
13479
  je as pluginEndpoints,
13464
- lw as usePluginMetaData
13480
+ cw as usePluginMetaData
13465
13481
  };