@kong-ui-public/forms 4.13.12-pr.2204.4288e73ba.0 → 4.13.12-pr.2204.4d00970b7.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.
package/dist/forms.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { createElementBlock as v, openBlock as u, createElementVNode as c, toDisplayString as k, normalizeClass as W, createVNode as O, defineComponent as oe, provide as at, resolveComponent as U, withCtx as M, renderSlot as fe, unref as S, createTextVNode as ne, createBlock as E, resolveDynamicComponent as ie, Fragment as K, renderList as Q, mergeModels as Yt, useModel as Ui, createSlots as ft, ref as J, computed as L, onMounted as Vt, toRefs as Le, inject as rt, onBeforeMount as Rt, mergeProps as Ee, Transition as $i, createCommentVNode as P, resolveDirective as Vn, withDirectives as ce, vModelText as Qe, vModelCheckbox as Vi, vModelSelect as Ri, vModelDynamic as Rn, isRef as xe, toRef as Pi, vModelRadio as ji, vShow as Ni, watch as Pt, normalizeProps as Li, guardReactiveProps as qi, useSlots as ht, nextTick as Ht } from "vue";
1
+ import { createElementBlock as v, openBlock as u, createElementVNode as c, toDisplayString as k, normalizeClass as W, createVNode as A, defineComponent as oe, provide as at, resolveComponent as U, withCtx as w, renderSlot as fe, unref as S, createTextVNode as ne, createBlock as E, resolveDynamicComponent as ie, Fragment as K, renderList as Q, mergeModels as Yt, useModel as Ui, createSlots as ft, ref as J, computed as L, onMounted as Vt, toRefs as Le, inject as rt, onBeforeMount as Rt, mergeProps as Ee, Transition as $i, createCommentVNode as P, resolveDirective as Vn, withDirectives as ce, vModelText as Qe, vModelCheckbox as Vi, vModelSelect as Ri, vModelDynamic as Rn, isRef as xe, toRef as Pi, vModelRadio as ji, vShow as Ni, watch as Pt, normalizeProps as Li, guardReactiveProps as qi, useSlots as ht, nextTick as Ht } from "vue";
2
2
  import { createI18n as pe } from "@kong-ui-public/i18n";
3
3
  import { TrashIcon as ot, SearchIcon as Ki, AddIcon as jt, RemoveIcon as Di } from "@kong/icons";
4
4
  import { useStringHelpers as Bi, useErrors as zi, useDebouncedFilter as Yi, useAxios as Hi } from "@kong-ui-public/entities-shared";
@@ -677,12 +677,12 @@ function et(e, t, n, i, a, o) {
677
677
  return F;
678
678
  o.set(e, r), hs(e) ? e.forEach(function(T) {
679
679
  r.add(et(T, t, n, T, e, o));
680
- }) : cs(e) && e.forEach(function(T, C) {
681
- r.set(C, et(T, t, n, C, e, o));
680
+ }) : cs(e) && e.forEach(function(T, I) {
681
+ r.set(I, et(T, t, n, I, e, o));
682
682
  });
683
683
  var N = d ? l ? Cr : Ir : l ? Mt : gt, f = h ? void 0 : N(e);
684
- return Pn(f || e, function(T, C) {
685
- f && (C = T, T = e[C]), Zn(r, C, et(T, t, n, C, e, o));
684
+ return Pn(f || e, function(T, I) {
685
+ f && (I = T, T = e[I]), Zn(r, I, et(T, t, n, I, e, o));
686
686
  }), r;
687
687
  }
688
688
  var Ks = 1, Ds = 4;
@@ -763,47 +763,47 @@ function He(e, t, n) {
763
763
  if (typeof e != "function")
764
764
  throw new TypeError(Qs);
765
765
  t = Ut(t) || 0, he(n) && (h = !!n.leading, m = "maxWait" in n, o = m ? Xs(Ut(n.maxWait) || 0, t) : o, g = "trailing" in n ? !!n.trailing : g);
766
- function F(_) {
766
+ function F(M) {
767
767
  var y = i, R = a;
768
- return i = a = void 0, d = _, r = e.apply(R, y), r;
768
+ return i = a = void 0, d = M, r = e.apply(R, y), r;
769
769
  }
770
- function N(_) {
771
- return d = _, s = setTimeout(C, t), h ? F(_) : r;
770
+ function N(M) {
771
+ return d = M, s = setTimeout(I, t), h ? F(M) : r;
772
772
  }
773
- function f(_) {
774
- var y = _ - l, R = _ - d, x = t - y;
773
+ function f(M) {
774
+ var y = M - l, R = M - d, x = t - y;
775
775
  return m ? el(x, o - R) : x;
776
776
  }
777
- function T(_) {
778
- var y = _ - l, R = _ - d;
777
+ function T(M) {
778
+ var y = M - l, R = M - d;
779
779
  return l === void 0 || y >= t || y < 0 || m && R >= o;
780
780
  }
781
- function C() {
782
- var _ = Ct();
783
- if (T(_))
784
- return $(_);
785
- s = setTimeout(C, f(_));
781
+ function I() {
782
+ var M = Ct();
783
+ if (T(M))
784
+ return $(M);
785
+ s = setTimeout(I, f(M));
786
786
  }
787
- function $(_) {
788
- return s = void 0, g && i ? F(_) : (i = a = void 0, r);
787
+ function $(M) {
788
+ return s = void 0, g && i ? F(M) : (i = a = void 0, r);
789
789
  }
790
790
  function p() {
791
791
  s !== void 0 && clearTimeout(s), d = 0, i = l = a = s = void 0;
792
792
  }
793
- function b() {
793
+ function _() {
794
794
  return s === void 0 ? r : $(Ct());
795
795
  }
796
- function I() {
797
- var _ = Ct(), y = T(_);
798
- if (i = arguments, a = this, l = _, y) {
796
+ function O() {
797
+ var M = Ct(), y = T(M);
798
+ if (i = arguments, a = this, l = M, y) {
799
799
  if (s === void 0)
800
800
  return N(l);
801
801
  if (m)
802
- return clearTimeout(s), s = setTimeout(C, t), F(l);
802
+ return clearTimeout(s), s = setTimeout(I, t), F(l);
803
803
  }
804
- return s === void 0 && (s = setTimeout(C, t)), r;
804
+ return s === void 0 && (s = setTimeout(I, t)), r;
805
805
  }
806
- return I.cancel = p, I.flush = b, I;
806
+ return O.cancel = p, O.flush = _, O;
807
807
  }
808
808
  var tl = "__lodash_hash_undefined__";
809
809
  function nl(e) {
@@ -1138,17 +1138,17 @@ function Il(e, t, n) {
1138
1138
  millisecond: 0,
1139
1139
  isPm: null,
1140
1140
  timezoneOffset: null
1141
- }, o = [], r = [], s = t.replace(ci, function(b, I) {
1142
- return r.push(_n(I)), "@@@";
1141
+ }, o = [], r = [], s = t.replace(ci, function(_, O) {
1142
+ return r.push(_n(O)), "@@@";
1143
1143
  }), l = {}, d = {};
1144
- s = _n(s).replace(ui, function(b) {
1145
- var I = Ml[b], _ = I[0], y = I[1], R = I[3];
1146
- if (l[_])
1147
- throw new Error("Invalid format. " + _ + " specified twice in format");
1148
- return l[_] = !0, R && (d[R] = !0), o.push(I), "(" + y + ")";
1149
- }), Object.keys(d).forEach(function(b) {
1150
- if (!l[b])
1151
- throw new Error("Invalid format. " + b + " is required in specified format");
1144
+ s = _n(s).replace(ui, function(_) {
1145
+ var O = Ml[_], M = O[0], y = O[1], R = O[3];
1146
+ if (l[M])
1147
+ throw new Error("Invalid format. " + M + " specified twice in format");
1148
+ return l[M] = !0, R && (d[R] = !0), o.push(O), "(" + y + ")";
1149
+ }), Object.keys(d).forEach(function(_) {
1150
+ if (!l[_])
1151
+ throw new Error("Invalid format. " + _ + " is required in specified format");
1152
1152
  }), s = s.replace(/@@@/g, function() {
1153
1153
  return r.shift();
1154
1154
  });
@@ -1162,9 +1162,9 @@ function Il(e, t, n) {
1162
1162
  a[N] = T;
1163
1163
  }
1164
1164
  a.isPm === 1 && a.hour != null && +a.hour != 12 ? a.hour = +a.hour + 12 : a.isPm === 0 && +a.hour == 12 && (a.hour = 0);
1165
- var C;
1165
+ var I;
1166
1166
  if (a.timezoneOffset == null) {
1167
- C = new Date(a.year, a.month, a.day, a.hour, a.minute, a.second, a.millisecond);
1167
+ I = new Date(a.year, a.month, a.day, a.hour, a.minute, a.second, a.millisecond);
1168
1168
  for (var $ = [
1169
1169
  ["month", "getMonth"],
1170
1170
  ["day", "getDate"],
@@ -1172,11 +1172,11 @@ function Il(e, t, n) {
1172
1172
  ["minute", "getMinutes"],
1173
1173
  ["second", "getSeconds"]
1174
1174
  ], g = 0, p = $.length; g < p; g++)
1175
- if (l[$[g][0]] && a[$[g][0]] !== C[$[g][1]]())
1175
+ if (l[$[g][0]] && a[$[g][0]] !== I[$[g][1]]())
1176
1176
  return null;
1177
- } else if (C = 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)
1177
+ } else if (I = 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)
1178
1178
  return null;
1179
- return C;
1179
+ return I;
1180
1180
  }
1181
1181
  var Be = {
1182
1182
  format: Tl,
@@ -1753,7 +1753,7 @@ const _e = {
1753
1753
  c("div", {
1754
1754
  class: W(["advanced-field-dropdown", t.openClass])
1755
1755
  }, [
1756
- O(te, {
1756
+ A(te, {
1757
1757
  model: t.model,
1758
1758
  options: { helpAsHtml: !0 },
1759
1759
  schema: t.schema,
@@ -1783,19 +1783,19 @@ const _e = {
1783
1783
  return at("vfg-array-item-index", e.index), (n, i) => {
1784
1784
  const a = U("KCard"), o = U("KButton");
1785
1785
  return u(), v("div", id, [
1786
- O(a, { class: "card" }, {
1787
- default: M(() => [
1786
+ A(a, { class: "card" }, {
1787
+ default: w(() => [
1788
1788
  fe(n.$slots, "default", {}, void 0, !0)
1789
1789
  ]),
1790
1790
  _: 3
1791
1791
  }),
1792
- O(o, {
1792
+ A(o, {
1793
1793
  appearance: "tertiary",
1794
1794
  class: "array-card-remove-button",
1795
1795
  onClick: i[0] || (i[0] = (r) => n.$emit("remove-item"))
1796
1796
  }, {
1797
- default: M(() => [
1798
- O(S(ot))
1797
+ default: w(() => [
1798
+ A(S(ot))
1799
1799
  ]),
1800
1800
  _: 1
1801
1801
  })
@@ -1817,13 +1817,13 @@ const _e = {
1817
1817
  return u(), v("div", od, [
1818
1818
  c("div", rd, [
1819
1819
  fe(t.$slots, "default", {}, void 0, !0),
1820
- O(i, {
1820
+ A(i, {
1821
1821
  appearance: "tertiary",
1822
1822
  class: "delete",
1823
1823
  onClick: n[0] || (n[0] = (a) => t.$emit("remove-item"))
1824
1824
  }, {
1825
- default: M(() => [
1826
- O(S(ot))
1825
+ default: w(() => [
1826
+ A(S(ot))
1827
1827
  ]),
1828
1828
  _: 1
1829
1829
  })
@@ -1842,12 +1842,12 @@ const _e = {
1842
1842
  const i = U("KButton");
1843
1843
  return u(), v("div", dd, [
1844
1844
  fe(t.$slots, "default", {}, void 0, !0),
1845
- O(i, {
1845
+ A(i, {
1846
1846
  appearance: "danger",
1847
1847
  class: "delete",
1848
1848
  onClick: n[0] || (n[0] = (a) => t.$emit("remove-item"))
1849
1849
  }, {
1850
- default: M(() => n[1] || (n[1] = [
1850
+ default: w(() => n[1] || (n[1] = [
1851
1851
  ne(" - Remove Field ")
1852
1852
  ])),
1853
1853
  _: 1
@@ -1997,8 +1997,8 @@ function vd(e, t, n, i, a, o) {
1997
1997
  "max-width": "300",
1998
1998
  text: i.t("general.disable_source_scope_change", { scope: o.scope })
1999
1999
  }, {
2000
- default: M(() => [
2001
- O(r, {
2000
+ default: w(() => [
2001
+ A(r, {
2002
2002
  id: e.schema.model,
2003
2003
  ref: "suggestion",
2004
2004
  modelValue: a.idValue,
@@ -2014,7 +2014,7 @@ function vd(e, t, n, i, a, o) {
2014
2014
  onChange: o.onSelected,
2015
2015
  onQueryChange: o.onQueryChange
2016
2016
  }, {
2017
- "item-template": M(({ item: s }) => [
2017
+ "item-template": w(({ item: s }) => [
2018
2018
  c("span", {
2019
2019
  class: "first-part",
2020
2020
  "data-testid": s.id && `${s.id}-0`,
@@ -2026,7 +2026,7 @@ function vd(e, t, n, i, a, o) {
2026
2026
  "data-testid": s.id && `${s.id}-${d + 1}` || d + 1
2027
2027
  }, k(l), 9, pd))), 128))
2028
2028
  ]),
2029
- empty: M(() => [
2029
+ empty: w(() => [
2030
2030
  c("div", gd, [
2031
2031
  c("span", null, k(a.message), 1)
2032
2032
  ])
@@ -2076,7 +2076,7 @@ const Md = ["data-testid", "data-testlabel"], Sd = { class: "item-label" }, Td =
2076
2076
  onChange: a[1] || (a[1] = (r) => i.$emit("change", r)),
2077
2077
  onQueryChange: a[2] || (a[2] = (r) => i.$emit("query-change", r))
2078
2078
  }, ft({
2079
- "item-template": M(({ item: r }) => [
2079
+ "item-template": w(({ item: r }) => [
2080
2080
  fe(i.$slots, "item", { item: r }, () => [
2081
2081
  c("span", {
2082
2082
  class: "item-label",
@@ -2085,12 +2085,12 @@ const Md = ["data-testid", "data-testlabel"], Sd = { class: "item-label" }, Td =
2085
2085
  }, k(r.label), 9, Md)
2086
2086
  ], !0)
2087
2087
  ]),
2088
- "selected-item-template": M(({ item: r }) => [
2088
+ "selected-item-template": w(({ item: r }) => [
2089
2089
  fe(i.$slots, "selected-item", { item: r }, () => [
2090
2090
  c("span", Sd, k(r.label), 1)
2091
2091
  ], !0)
2092
2092
  ]),
2093
- empty: M(() => [
2093
+ empty: w(() => [
2094
2094
  c("div", Td, [
2095
2095
  c("span", null, k(i.emptyMessage || S(t)("fields.auto_suggest.no_results")), 1)
2096
2096
  ])
@@ -2099,7 +2099,7 @@ const Md = ["data-testid", "data-testlabel"], Sd = { class: "item-label" }, Td =
2099
2099
  }, [
2100
2100
  i.$slots.before ? {
2101
2101
  name: "before",
2102
- fn: M(() => [
2102
+ fn: w(() => [
2103
2103
  fe(i.$slots, "before", {}, void 0, !0)
2104
2104
  ]),
2105
2105
  key: "0"
@@ -2129,17 +2129,17 @@ const Md = ["data-testid", "data-testlabel"], Sd = { class: "item-label" }, Td =
2129
2129
  setup(e) {
2130
2130
  const t = J(""), n = J(!1), i = J(!1), a = J(""), o = J([]), r = J([]), s = J([]), { t: l } = pe("en-us", ge), d = J(null);
2131
2131
  let h = null;
2132
- const m = async (p, b) => {
2132
+ const m = async (p, _) => {
2133
2133
  clearTimeout(h), h = setTimeout(() => {
2134
2134
  n.value = !0;
2135
2135
  }, 1500);
2136
2136
  try {
2137
- const I = await p();
2138
- r.value = I, o.value = r.value.map(e.transformItem);
2139
- } catch (I) {
2140
- if (b != null && b.aborted)
2137
+ const O = await p();
2138
+ r.value = O, o.value = r.value.map(e.transformItem);
2139
+ } catch (O) {
2140
+ if (_ != null && _.aborted)
2141
2141
  return;
2142
- o.value = [], t.value = I.message;
2142
+ o.value = [], t.value = O.message;
2143
2143
  } finally {
2144
2144
  clearTimeout(h), n.value = !1;
2145
2145
  }
@@ -2147,43 +2147,35 @@ const Md = ["data-testid", "data-testlabel"], Sd = { class: "item-label" }, Td =
2147
2147
  if (a.value = p, !p.trim())
2148
2148
  return;
2149
2149
  d.value && d.value.abort();
2150
- const b = new AbortController();
2151
- if (d.value = b, i.value) {
2152
- $t(p) && e.allowUuidSearch ? C(p) : T(p);
2150
+ const _ = new AbortController();
2151
+ if (d.value = _, i.value) {
2152
+ $t(p) && e.allowUuidSearch ? I(p) : T(p);
2153
2153
  return;
2154
2154
  }
2155
- $t(p) && e.allowUuidSearch ? m(async () => await f(p)) : m(async () => await F(p, b.signal), b.signal);
2156
- }, Ad, { leading: !0 }), F = async (p, b) => await e.getAll(p, b), N = async () => {
2157
- const { data: { data: p, next: b, offset: I } } = await e.getPartial(Od);
2158
- return (!b || !I) && (i.value = !0), r.value = p, s.value = p.map((_) => ({
2159
- ...e.transformItem(_),
2155
+ $t(p) && e.allowUuidSearch ? m(async () => await f(p)) : m(async () => await F(p, _.signal), _.signal);
2156
+ }, Ad, { leading: !0 }), F = async (p, _) => await e.getAll(p, _), N = async () => {
2157
+ const { data: { data: p, next: _, offset: O } } = await e.getPartial(Od);
2158
+ return (!_ || !O) && (i.value = !0), r.value = p, s.value = p.map((M) => ({
2159
+ ...e.transformItem(M),
2160
2160
  group: l("fields.auto_suggest.recently_created", { entity: e.entity })
2161
2161
  })), p;
2162
2162
  }, f = async (p) => {
2163
- const { data: b } = await e.getOne(p);
2164
- return [b];
2163
+ const { data: _ } = await e.getOne(p);
2164
+ return [_];
2165
2165
  }, T = (p) => {
2166
- p.trim() || (o.value = r.value.map(e.transformItem)), o.value = r.value.filter((b) => e.fields.some((I) => (b[I] || "").includes(p))).map(e.transformItem);
2167
- }, C = (p) => {
2168
- o.value = r.value.filter((b) => b.id === p).map(e.transformItem);
2166
+ p.trim() || (o.value = r.value.map(e.transformItem)), o.value = r.value.filter((_) => e.fields.some((O) => (_[O] || "").includes(p))).map(e.transformItem);
2167
+ }, I = (p) => {
2168
+ o.value = r.value.filter((_) => _.id === p).map(e.transformItem);
2169
2169
  }, $ = L(() => {
2170
- if (e.initialItemSelected) {
2171
- if (o.value.some((p) => {
2172
- var b;
2173
- return p.value === ((b = e.initialItem) == null ? void 0 : b.value);
2174
- }))
2175
- return o.value;
2176
- if (e.fields.some((p) => {
2177
- var b, I, _;
2178
- return (_ = (I = (b = e.initialItem) == null ? void 0 : b[p]) == null ? void 0 : I.includes) == null ? void 0 : _.call(I, a.value);
2179
- }))
2180
- return [e.initialItem, ...o.value];
2181
- }
2182
- return o.value;
2170
+ const p = a.value.trim() ? o.value : s.value;
2171
+ return e.initialItemSelected ? p.some((_) => {
2172
+ var O;
2173
+ return _.value !== ((O = e.initialItem) == null ? void 0 : O.value);
2174
+ }) ? p : [e.initialItem, ...p] : p;
2183
2175
  });
2184
2176
  return Vt(async () => {
2185
2177
  await m(N);
2186
- }), (p, b) => (u(), E(Cd, {
2178
+ }), (p, _) => (u(), E(Cd, {
2187
2179
  id: p.id,
2188
2180
  disabled: p.fieldDisabled,
2189
2181
  "dom-id": p.domId,
@@ -2191,21 +2183,21 @@ const Md = ["data-testid", "data-testlabel"], Sd = { class: "item-label" }, Td =
2191
2183
  loading: n.value,
2192
2184
  placeholder: p.placeholder,
2193
2185
  readonly: p.disabled,
2194
- suggestions: a.value ? $.value : s.value,
2195
- onChange: b[0] || (b[0] = (I) => p.$emit("change", I)),
2186
+ suggestions: $.value,
2187
+ onChange: _[0] || (_[0] = (O) => p.$emit("change", O)),
2196
2188
  onQueryChange: S(g)
2197
2189
  }, ft({
2198
- "selected-item": M(({ item: I }) => [
2199
- fe(p.$slots, "selected-item", { item: I })
2190
+ "selected-item": w(({ item: O }) => [
2191
+ fe(p.$slots, "selected-item", { item: O })
2200
2192
  ]),
2201
- item: M(({ item: I }) => [
2202
- fe(p.$slots, "item", { item: I })
2193
+ item: w(({ item: O }) => [
2194
+ fe(p.$slots, "item", { item: O })
2203
2195
  ]),
2204
2196
  _: 2
2205
2197
  }, [
2206
2198
  p.$slots.before ? {
2207
2199
  name: "before",
2208
- fn: M(() => [
2200
+ fn: w(() => [
2209
2201
  fe(p.$slots, "before")
2210
2202
  ]),
2211
2203
  key: "0"
@@ -2360,8 +2352,8 @@ function jd(e, t, n, i, a, o) {
2360
2352
  "max-width": "300",
2361
2353
  text: i.t("general.disable_source_scope_change", { scope: o.scope })
2362
2354
  }, {
2363
- default: M(() => [
2364
- O(s, {
2355
+ default: w(() => [
2356
+ A(s, {
2365
2357
  id: a.idValue,
2366
2358
  "allow-uuid-search": o.allowUuidSearch,
2367
2359
  disabled: a.loading,
@@ -2378,19 +2370,19 @@ function jd(e, t, n, i, a, o) {
2378
2370
  "transform-item": o.transformItem,
2379
2371
  onChange: o.onSelected
2380
2372
  }, {
2381
- before: M(() => [
2382
- O(r, {
2373
+ before: w(() => [
2374
+ A(r, {
2383
2375
  color: i.KUI_COLOR_TEXT_NEUTRAL,
2384
2376
  size: i.KUI_ICON_SIZE_40
2385
2377
  }, null, 8, ["color", "size"])
2386
2378
  ]),
2387
- item: M(({ item: l }) => [
2379
+ item: w(({ item: l }) => [
2388
2380
  c("div", Ud, [
2389
2381
  c("span", $d, k(l.label || "–"), 1),
2390
2382
  c("span", Vd, k(l.id), 1)
2391
2383
  ])
2392
2384
  ]),
2393
- "selected-item": M(({ item: l }) => [
2385
+ "selected-item": w(({ item: l }) => [
2394
2386
  c("span", Rd, [
2395
2387
  c("span", Pd, k(l.label || "–"), 1)
2396
2388
  ])
@@ -2405,9 +2397,9 @@ const Mi = /* @__PURE__ */ z(kd, [["render", jd], ["__scopeId", "data-v-774c16ea
2405
2397
  function Nd(e) {
2406
2398
  const t = J([]), n = J(null), i = (f) => Pe(f) ? Ne[f] != null ? Ne[f] : (console.warn(`'${f}' is not a validator function!`), null) : f, a = L({
2407
2399
  get() {
2408
- var T, C;
2400
+ var T, I;
2409
2401
  let f;
2410
- return Y(B(e.schema, "get")) ? f = e.schema.get((T = e.model) == null ? void 0 : T.value) : f = B((C = e.model) == null ? void 0 : C.value, e.schema.model), F(f);
2402
+ return Y(B(e.schema, "get")) ? f = e.schema.get((T = e.model) == null ? void 0 : T.value) : f = B((I = e.model) == null ? void 0 : I.value, e.schema.model), F(f);
2411
2403
  },
2412
2404
  set(f) {
2413
2405
  const T = a;
@@ -2417,57 +2409,57 @@ function Nd(e) {
2417
2409
  var p;
2418
2410
  l();
2419
2411
  const T = B(e.formOptions, "validateAsync", !1);
2420
- let C = [];
2412
+ let I = [];
2421
2413
  if (e.schema.readonly !== !0 && e.disabled !== !0) {
2422
- const b = [], I = (p = e.schema) == null ? void 0 : p.validator;
2423
- I && (Array.isArray(I) ? ue(I, (_) => {
2424
- b.push(i(_));
2425
- }) : b.push(i(I))), Y(e.externalValidator) && b.push(e.externalValidator), ue(b, (_) => {
2414
+ const _ = [], O = (p = e.schema) == null ? void 0 : p.validator;
2415
+ O && (Array.isArray(O) ? ue(O, (M) => {
2416
+ _.push(i(M));
2417
+ }) : _.push(i(O))), Y(e.externalValidator) && _.push(e.externalValidator), ue(_, (M) => {
2426
2418
  var y, R;
2427
2419
  if (T)
2428
- C.push(_(a.value, e.schema, (y = e.model) == null ? void 0 : y.value));
2420
+ I.push(M(a.value, e.schema, (y = e.model) == null ? void 0 : y.value));
2429
2421
  else {
2430
- const x = _(a.value, e.schema, (R = e.model) == null ? void 0 : R.value);
2431
- x && Y(x.then) ? x.then((w) => {
2432
- w && (t.value = t.value.concat(w));
2433
- const A = t.value.length === 0;
2434
- e.emitValidated && e.emitValidated({ isValid: A, errors: t.value, field: e.schema });
2435
- }) : x && (C = C.concat(x));
2422
+ const x = M(a.value, e.schema, (R = e.model) == null ? void 0 : R.value);
2423
+ x && Y(x.then) ? x.then((b) => {
2424
+ b && (t.value = t.value.concat(b));
2425
+ const C = t.value.length === 0;
2426
+ e.emitValidated && e.emitValidated({ isValid: C, errors: t.value, field: e.schema });
2427
+ }) : x && (I = I.concat(x));
2436
2428
  }
2437
2429
  });
2438
2430
  }
2439
- const $ = (b) => {
2440
- var _, y;
2441
- let I = [];
2442
- if (ue(li(b), (R) => {
2443
- Array.isArray(R) && R.length > 0 ? I = I.concat(R) : Pe(R) && I.push(R);
2444
- }), Y((_ = e.schema) == null ? void 0 : _.onValidated) && e.schema.onValidated((y = e.model) == null ? void 0 : y.value, I, e.schema), !f) {
2445
- const R = I.length === 0;
2446
- e.emitValidated && e.emitValidated({ isValid: R, errors: I, field: e.schema });
2431
+ const $ = (_) => {
2432
+ var M, y;
2433
+ let O = [];
2434
+ if (ue(li(_), (R) => {
2435
+ Array.isArray(R) && R.length > 0 ? O = O.concat(R) : Pe(R) && O.push(R);
2436
+ }), Y((M = e.schema) == null ? void 0 : M.onValidated) && e.schema.onValidated((y = e.model) == null ? void 0 : y.value, O, e.schema), !f) {
2437
+ const R = O.length === 0;
2438
+ e.emitValidated && e.emitValidated({ isValid: R, errors: O, field: e.schema });
2447
2439
  }
2448
- return b = I, I;
2440
+ return _ = O, O;
2449
2441
  };
2450
- return T ? Promise.all(C).then($) : $(C);
2442
+ return T ? Promise.all(I).then($) : $(I);
2451
2443
  }, r = () => {
2452
2444
  Y(n.value) ? n.value() : n.value = He(
2453
2445
  o,
2454
2446
  B(e.schema, "validateDebounceTime", B(e.formOptions, "validateDebounceTime", 500))
2455
2447
  );
2456
2448
  }, s = (f, T) => {
2457
- var $, p, b;
2458
- let C = !1;
2459
- Y(e.schema.set) ? (e.schema.set(($ = e.model) == null ? void 0 : $.value, f), C = !0) : e.schema.model && (d(e.schema.model, f), C = !0), C && (e.emitModelUpdated && ((p = e.model) != null && p.value) && e.emitModelUpdated({ value: f, model: e.schema.model }), Y(e.schema.onChanged) && e.schema.onChanged((b = e.model) == null ? void 0 : b.value, f, T, e.schema), B(e.formOptions, "validateAfterChanged", !1) === !0 && (B(e.schema, "validateDebounceTime", B(e.formOptions, "validateDebounceTime", 0)) > 0 ? r() : o()));
2449
+ var $, p, _;
2450
+ let I = !1;
2451
+ Y(e.schema.set) ? (e.schema.set(($ = e.model) == null ? void 0 : $.value, f), I = !0) : e.schema.model && (d(e.schema.model, f), I = !0), I && (e.emitModelUpdated && ((p = e.model) != null && p.value) && e.emitModelUpdated({ value: f, model: e.schema.model }), Y(e.schema.onChanged) && e.schema.onChanged((_ = e.model) == null ? void 0 : _.value, f, T, e.schema), B(e.formOptions, "validateAfterChanged", !1) === !0 && (B(e.schema, "validateDebounceTime", B(e.formOptions, "validateDebounceTime", 0)) > 0 ? r() : o()));
2460
2452
  }, l = () => {
2461
2453
  t.value.splice(0);
2462
2454
  }, d = (f, T) => {
2463
- var _;
2464
- let C = f.replace(/\[(\w+)\]/g, ".$1");
2465
- C = C.replace(/^\./, "");
2466
- let $ = ((_ = e.model) == null ? void 0 : _.value) || {}, p = 0;
2467
- const b = C.split("."), I = b.length;
2468
- for (; p < I; ) {
2469
- const y = b[p];
2470
- if (p < I - 1)
2455
+ var M;
2456
+ let I = f.replace(/\[(\w+)\]/g, ".$1");
2457
+ I = I.replace(/^\./, "");
2458
+ let $ = ((M = e.model) == null ? void 0 : M.value) || {}, p = 0;
2459
+ const _ = I.split("."), O = _.length;
2460
+ for (; p < O; ) {
2461
+ const y = _[p];
2462
+ if (p < O - 1)
2471
2463
  $[y] !== void 0 || ($[y] = {}), $ = $[y];
2472
2464
  else {
2473
2465
  $[y] = T;
@@ -2476,8 +2468,8 @@ function Nd(e) {
2476
2468
  ++p;
2477
2469
  }
2478
2470
  }, h = (f, T = !1) => {
2479
- const C = B(e.formOptions, "fieldIdPrefix", "");
2480
- return zt(f, C) + (T ? "-" + di() : "");
2471
+ const I = B(e.formOptions, "fieldIdPrefix", "");
2472
+ return zt(f, I) + (T ? "-" + di() : "");
2481
2473
  }, m = (f) => `${h(f)}-label`, g = () => B(e.schema, "fieldClasses", []), F = (f) => e.formatValueToField && typeof e.formatValueToField == "function" ? e.formatValueToField(f) : f, N = (f) => e.formatValueToModel && typeof e.formatValueToModel == "function" ? e.formatValueToModel(f) : f;
2482
2474
  return {
2483
2475
  value: a,
@@ -2580,8 +2572,8 @@ const Me = {
2580
2572
  clearValidationErrors: d
2581
2573
  });
2582
2574
  const m = L(() => {
2583
- var b;
2584
- const p = (b = i.schema) == null ? void 0 : b.inputType.toLowerCase();
2575
+ var _;
2576
+ const p = (_ = i.schema) == null ? void 0 : _.inputType.toLowerCase();
2585
2577
  switch (p) {
2586
2578
  case "string":
2587
2579
  return "text";
@@ -2594,35 +2586,35 @@ const Me = {
2594
2586
  date: "YYYY-MM-DD",
2595
2587
  datetime: "YYYY-MM-DD HH:mm:ss",
2596
2588
  "datetime-local": "YYYY-MM-DDTHH:mm:ss"
2597
- }, F = (p, b) => {
2589
+ }, F = (p, _) => {
2598
2590
  var R, x;
2599
- let I = p;
2600
- const _ = g[m.value] || "", y = Be.parse(p, _);
2601
- y && ((R = i.schema) != null && R.format ? I = Be.format(y, (x = i.schema) == null ? void 0 : x.format) : I = y.valueOf()), s(I, b);
2602
- }, N = (p, b) => {
2603
- ct(p) || (p = NaN), s(p, b);
2591
+ let O = p;
2592
+ const M = g[m.value] || "", y = Be.parse(p, M);
2593
+ y && ((R = i.schema) != null && R.format ? O = Be.format(y, (x = i.schema) == null ? void 0 : x.format) : O = y.valueOf()), s(O, _);
2594
+ }, N = (p, _) => {
2595
+ ct(p) || (p = NaN), s(p, _);
2604
2596
  }, f = (p) => {
2605
- let b = p;
2597
+ let _ = p;
2606
2598
  switch (m.value) {
2607
2599
  case "number":
2608
2600
  case "range":
2609
- ct(parseFloat(p)) && (b = parseFloat(p));
2601
+ ct(parseFloat(p)) && (_ = parseFloat(p));
2610
2602
  break;
2611
2603
  }
2612
- h.value = b, s(b, p);
2604
+ h.value = _, s(_, p);
2613
2605
  }, T = (p) => {
2614
2606
  h.value = p, s(p, p);
2615
- }, C = J(null), $ = () => {
2607
+ }, I = J(null), $ = () => {
2616
2608
  var p;
2617
- Y(C.value) && ((p = C.value) == null || p.flush());
2609
+ Y(I.value) && ((p = I.value) == null || p.flush());
2618
2610
  };
2619
2611
  return Vt(() => {
2620
2612
  switch (m.value) {
2621
2613
  case "number":
2622
2614
  case "range":
2623
- C.value = He(
2624
- (p, b) => {
2625
- N(p, b);
2615
+ I.value = He(
2616
+ (p, _) => {
2617
+ N(p, _);
2626
2618
  },
2627
2619
  parseInt(B(i.schema, "debounceFormatTimeout", 1e3)),
2628
2620
  {
@@ -2634,9 +2626,9 @@ const Me = {
2634
2626
  case "date":
2635
2627
  case "datetime":
2636
2628
  case "datetime-local":
2637
- C.value = He(
2638
- (p, b) => {
2639
- F(p, b);
2629
+ I.value = He(
2630
+ (p, _) => {
2631
+ F(p, _);
2640
2632
  },
2641
2633
  parseInt(B(i.schema, "debounceFormatTimeout", 1e3)),
2642
2634
  {
@@ -2648,10 +2640,10 @@ const Me = {
2648
2640
  }
2649
2641
  }), Rt(() => {
2650
2642
  m.value === "checkbox" ? console.warn("The use of 'checkbox' inputType with 'input' type fields is deprecated. Use 'checkbox' type instead.") : m.value === "radio" ? console.warn("The use of 'radio' inputType with 'input' type fields is deprecated. Use 'radio' type instead.") : m.value === "file" && console.warn("The 'file' type in input field is deprecated. Use 'file' field instead.");
2651
- }), (p, b) => {
2652
- const I = U("KInput");
2643
+ }), (p, _) => {
2644
+ const O = U("KInput");
2653
2645
  return u(), v("div", Kd, [
2654
- O(I, Ee(p.$attrs, {
2646
+ A(O, Ee(p.$attrs, {
2655
2647
  id: S(l)(e.schema),
2656
2648
  autocomplete: e.schema.autocomplete,
2657
2649
  class: e.schema.fieldClasses,
@@ -2705,19 +2697,19 @@ function Yd(e, t, n, i, a, o) {
2705
2697
  onClick: t[0] || (t[0] = (d) => a.contentVisible = !a.contentVisible)
2706
2698
  }, [
2707
2699
  ne(k(e.model.name ? e.model.name : "New Item") + " ", 1),
2708
- O(r, { class: "metric-add-icon" })
2700
+ A(r, { class: "metric-add-icon" })
2709
2701
  ]),
2710
- O($i, { name: "slide-fade" }, {
2711
- default: M(() => [
2702
+ A($i, { name: "slide-fade" }, {
2703
+ default: w(() => [
2712
2704
  a.contentVisible ? (u(), v("div", zd, [
2713
2705
  fe(e.$slots, "default"),
2714
- O(l, {
2706
+ A(l, {
2715
2707
  appearance: "tertiary",
2716
2708
  class: "metric-remove-button",
2717
2709
  onClick: t[1] || (t[1] = (d) => e.$emit("remove-item"))
2718
2710
  }, {
2719
- default: M(() => [
2720
- O(s)
2711
+ default: w(() => [
2712
+ A(s)
2721
2713
  ]),
2722
2714
  _: 1
2723
2715
  })
@@ -2966,15 +2958,15 @@ const Ti = /* @__PURE__ */ z(Bd, [["render", Yd]]), Hd = { class: "field-object-
2966
2958
  c("div", su, [
2967
2959
  c("strong", null, k(o), 1),
2968
2960
  c("div", null, [
2969
- O(i, {
2961
+ A(i, {
2970
2962
  appearance: "tertiary",
2971
2963
  class: "delete",
2972
2964
  icon: "",
2973
2965
  type: "button",
2974
2966
  onClick: (r) => t.removeElement(o)
2975
2967
  }, {
2976
- default: M(() => [
2977
- O(S(ot))
2968
+ default: w(() => [
2969
+ A(S(ot))
2978
2970
  ]),
2979
2971
  _: 2
2980
2972
  }, 1032, ["onClick"])
@@ -2982,7 +2974,7 @@ const Ti = /* @__PURE__ */ z(Bd, [["render", Yd]]), Hd = { class: "field-object-
2982
2974
  ]),
2983
2975
  n[1] || (n[1] = c("hr", { class: "divider" }, null, -1)),
2984
2976
  t.subSchema ? (u(), v("div", lu, [
2985
- O(te, {
2977
+ A(te, {
2986
2978
  model: t.transformedModel[o],
2987
2979
  options: { helpAsHtml: !0 },
2988
2980
  schema: t.subSchema,
@@ -3022,13 +3014,13 @@ const Ti = /* @__PURE__ */ z(Bd, [["render", Yd]]), Hd = { class: "field-object-
3022
3014
  }, null, 8, fu), [
3023
3015
  [Qe, t.newKeyName]
3024
3016
  ]),
3025
- O(i, {
3017
+ A(i, {
3026
3018
  appearance: "tertiary",
3027
3019
  "data-testid": "add-key",
3028
3020
  disabled: !t.newKeyName,
3029
3021
  onClick: t.addKey
3030
3022
  }, {
3031
- default: M(() => [
3023
+ default: w(() => [
3032
3024
  ne(" + Add " + k(t.schema.buttonLabel || t.schema.label), 1)
3033
3025
  ]),
3034
3026
  _: 1
@@ -3169,12 +3161,12 @@ const Ti = /* @__PURE__ */ z(Bd, [["render", Yd]]), Hd = { class: "field-object-
3169
3161
  return g(typeof f == "function" ? f.apply(this, [i.model, i.schema]) : f);
3170
3162
  }), g = (f) => {
3171
3163
  const T = [];
3172
- return f.forEach((C) => {
3164
+ return f.forEach((I) => {
3173
3165
  T.push({
3174
- label: N(C),
3175
- value: F(C),
3176
- disabled: typeof C == "object" && C.disabled || void 0,
3177
- group: typeof C == "object" && String(C.group || "").toUpperCase() || void 0
3166
+ label: N(I),
3167
+ value: F(I),
3168
+ disabled: typeof I == "object" && I.disabled || void 0,
3169
+ group: typeof I == "object" && String(I.group || "").toUpperCase() || void 0
3178
3170
  });
3179
3171
  }), T;
3180
3172
  }, F = (f) => {
@@ -3197,8 +3189,8 @@ const Ti = /* @__PURE__ */ z(Bd, [["render", Yd]]), Hd = { class: "field-object-
3197
3189
  return String(f);
3198
3190
  };
3199
3191
  return (f, T) => {
3200
- const C = U("KSelect");
3201
- return u(), E(C, {
3192
+ const I = U("KSelect");
3193
+ return u(), E(I, {
3202
3194
  id: S(l)(e.schema),
3203
3195
  modelValue: S(h),
3204
3196
  "onUpdate:modelValue": T[0] || (T[0] = ($) => xe(h) ? h.value = $ : null),
@@ -3300,7 +3292,7 @@ function Tu(e, t, n, i, a, o) {
3300
3292
  schema: o.generateSchema(e.value, e.schema.items, h),
3301
3293
  onRemoveItem: (m) => o.removeElement(h)
3302
3294
  }, {
3303
- default: M(() => [
3295
+ default: w(() => [
3304
3296
  (u(), E(ie(o.getFieldComponent(e.schema.items)), {
3305
3297
  "form-options": e.formOptions,
3306
3298
  model: d,
@@ -3323,14 +3315,14 @@ function Tu(e, t, n, i, a, o) {
3323
3315
  schema: o.generateSchema(e.value, e.schema.items, h),
3324
3316
  onRemoveItem: (m) => o.removeElement(h)
3325
3317
  }, {
3326
- after: M(() => [
3318
+ after: w(() => [
3327
3319
  (u(), E(ie(o.autofillSlot), {
3328
3320
  schema: e.schema,
3329
3321
  update: (m) => e.value[h] = m,
3330
3322
  value: e.value[h]
3331
3323
  }, null, 8, ["schema", "update", "value"]))
3332
3324
  ]),
3333
- default: M(() => {
3325
+ default: w(() => {
3334
3326
  var m;
3335
3327
  return [
3336
3328
  e.schema.inputAttributes && e.schema.inputAttributes.type === "textarea" ? (u(), E(r, Ee({
@@ -3390,14 +3382,14 @@ function Tu(e, t, n, i, a, o) {
3390
3382
  }, null, 8, ["schema", "update", "value"]))
3391
3383
  ], 64))
3392
3384
  ], 2))), 128)),
3393
- O(l, {
3385
+ A(l, {
3394
3386
  appearance: "tertiary",
3395
3387
  class: W(e.schema.newElementButtonLabelClasses),
3396
3388
  "data-testid": `add-${e.getFieldID(e.schema)}`,
3397
3389
  type: "button",
3398
3390
  onClick: o.newElement
3399
3391
  }, {
3400
- default: M(() => [
3392
+ default: w(() => [
3401
3393
  ne(k(e.schema.newElementButtonLabel || n.newElementButtonLabel), 1)
3402
3394
  ]),
3403
3395
  _: 1
@@ -3457,7 +3449,7 @@ const Iu = /* @__PURE__ */ z(bu, [["render", Tu], ["__scopeId", "data-v-ae802bb2
3457
3449
  }), (d, h) => {
3458
3450
  const m = U("KCheckbox");
3459
3451
  return u(), v("div", Cu, [
3460
- O(m, Ee(d.$attrs, {
3452
+ A(m, Ee(d.$attrs, {
3461
3453
  id: S(r)(e.schema),
3462
3454
  modelValue: S(s),
3463
3455
  "onUpdate:modelValue": h[0] || (h[0] = (g) => xe(s) ? s.value = g : null),
@@ -3688,27 +3680,27 @@ function Yu(e, t, n, i, a, o) {
3688
3680
  value: l.value
3689
3681
  }, null, 8, ["schema", "update", "value"]))
3690
3682
  ]),
3691
- O(s, {
3683
+ A(s, {
3692
3684
  appearance: "tertiary",
3693
3685
  "data-testid": `${e.getFieldID(e.schema)}-remove-pair-${d}`,
3694
3686
  onClick: () => {
3695
3687
  o.removePair(d);
3696
3688
  }
3697
3689
  }, {
3698
- default: M(() => [
3699
- O(r)
3690
+ default: w(() => [
3691
+ A(r)
3700
3692
  ]),
3701
3693
  _: 2
3702
3694
  }, 1032, ["data-testid", "onClick"])
3703
3695
  ]))), 128)),
3704
- O(s, {
3696
+ A(s, {
3705
3697
  appearance: "tertiary",
3706
3698
  class: W(e.schema.newElementButtonLabelClasses),
3707
3699
  "data-testid": `${e.getFieldID(e.schema)}-add-pair`,
3708
3700
  type: "button",
3709
3701
  onClick: o.addPair
3710
3702
  }, {
3711
- default: M(() => [
3703
+ default: w(() => [
3712
3704
  ne(k(e.schema.newElementButtonLabel ?? "+ Add Pair"), 1)
3713
3705
  ]),
3714
3706
  _: 1
@@ -3752,10 +3744,10 @@ const Hu = /* @__PURE__ */ z(Lu, [["render", Yu], ["__scopeId", "data-v-70998d5b
3752
3744
  return u(), v("span", {
3753
3745
  class: W(["field-label", e.schema.fieldClasses])
3754
3746
  }, [
3755
- O(s, {
3747
+ A(s, {
3756
3748
  id: S(i)(e.schema)
3757
3749
  }, {
3758
- default: M(() => [
3750
+ default: w(() => [
3759
3751
  ne(k(S(a)), 1)
3760
3752
  ]),
3761
3753
  _: 1
@@ -3885,7 +3877,7 @@ const Hu = /* @__PURE__ */ z(Lu, [["render", Yu], ["__scopeId", "data-v-70998d5b
3885
3877
  "max-width": "300",
3886
3878
  text: S(t)("general.disable_global_radio", { scope: n.scope })
3887
3879
  }, {
3888
- default: M(() => [
3880
+ default: w(() => [
3889
3881
  c("div", Ju, [
3890
3882
  c("div", Qu, [
3891
3883
  (u(!0), v(K, null, Q(n.schema.fields, (a, o) => (u(), v("div", {
@@ -3919,7 +3911,7 @@ const Hu = /* @__PURE__ */ z(Lu, [["render", Yu], ["__scopeId", "data-v-70998d5b
3919
3911
  }, [
3920
3912
  ce(c("div", tc, [
3921
3913
  c("div", nc, [
3922
- O(te, {
3914
+ A(te, {
3923
3915
  model: n.model,
3924
3916
  options: { helpAsHtml: !0 },
3925
3917
  schema: { fields: a.fields },
@@ -3987,7 +3979,7 @@ const Hu = /* @__PURE__ */ z(Lu, [["render", Yu], ["__scopeId", "data-v-70998d5b
3987
3979
  }), (g, F) => {
3988
3980
  const N = U("KInputSwitch");
3989
3981
  return u(), v("div", rc, [
3990
- O(N, {
3982
+ A(N, {
3991
3983
  id: S(d)(e.schema),
3992
3984
  modelValue: S(h),
3993
3985
  "onUpdate:modelValue": F[0] || (F[0] = (f) => xe(h) ? h.value = f : null),
@@ -4059,7 +4051,7 @@ const Hu = /* @__PURE__ */ z(Lu, [["render", Yu], ["__scopeId", "data-v-70998d5b
4059
4051
  return (g, F) => {
4060
4052
  const N = U("KTextArea");
4061
4053
  return u(), v("div", lc, [
4062
- O(N, Ee(g.$attrs, {
4054
+ A(N, Ee(g.$attrs, {
4063
4055
  id: S(l)(e.schema),
4064
4056
  modelValue: S(h),
4065
4057
  "onUpdate:modelValue": F[0] || (F[0] = (f) => xe(h) ? h.value = f : null),
@@ -4258,17 +4250,17 @@ function Sc(e, t, n, i, a, o) {
4258
4250
  tooltipId: o.getTooltipId(n.field)
4259
4251
  } : void 0
4260
4252
  }, ft({
4261
- default: M(() => [
4253
+ default: w(() => [
4262
4254
  c("div", hc, [
4263
4255
  c("span", {
4264
4256
  innerHTML: o.formattedLabel(n.field.label)
4265
4257
  }, null, 8, pc)
4266
4258
  ]),
4267
4259
  n.field.link ? (u(), v("div", gc, [
4268
- O(r, {
4260
+ A(r, {
4269
4261
  href: n.field.link
4270
4262
  }, {
4271
- default: M(() => t[0] || (t[0] = [
4263
+ default: w(() => t[0] || (t[0] = [
4272
4264
  c("span", { class: "section-header" }, "More info", -1)
4273
4265
  ])),
4274
4266
  _: 1
@@ -4279,7 +4271,7 @@ function Sc(e, t, n, i, a, o) {
4279
4271
  }, [
4280
4272
  n.options.helpAsHtml && n.field.help ? {
4281
4273
  name: "tooltip",
4282
- fn: M(() => [
4274
+ fn: w(() => [
4283
4275
  c("div", {
4284
4276
  innerHTML: n.field.help
4285
4277
  }, null, 8, fc)
@@ -4380,7 +4372,7 @@ const Tc = (e) => {
4380
4372
  return (m, g) => {
4381
4373
  const F = U("KCopy");
4382
4374
  return u(), v("div", Cc, [
4383
- (u(!0), v(K, null, Q(h.value, ({ key: N, label: f, value: T, type: C }) => (u(), v("div", {
4375
+ (u(!0), v(K, null, Q(h.value, ({ key: N, label: f, value: T, type: I }) => (u(), v("div", {
4384
4376
  key: N,
4385
4377
  class: "partial-config-card-row"
4386
4378
  }, [
@@ -4392,11 +4384,11 @@ const Tc = (e) => {
4392
4384
  "data-testid": `${N}-property-value`
4393
4385
  }, [
4394
4386
  o(T) ? (u(), v("div", kc, [
4395
- C === "password" ? (u(), v("div", {
4387
+ I === "password" ? (u(), v("div", {
4396
4388
  key: 0,
4397
4389
  "data-testid": `${N}-copy-password`
4398
4390
  }, [
4399
- O(F, {
4391
+ A(F, {
4400
4392
  format: "redacted",
4401
4393
  text: String(T)
4402
4394
  }, null, 8, ["text"])
@@ -4476,16 +4468,16 @@ const Tc = (e) => {
4476
4468
  return s.app === "konnect" ? p = p.replace(/{controlPlaneId}/gi, (s == null ? void 0 : s.controlPlaneId) || "") : s.app === "kongManager" && (p = p.replace(/\/{workspace}/gi, s != null && s.workspace ? `/${s.workspace}` : "")), p = p.replace(/{id}/gi, String($)), p;
4477
4469
  }, f = L(() => {
4478
4470
  var p;
4479
- const $ = ((p = g.value) == null ? void 0 : p.map((b) => ({ label: b.id, name: b.name, value: b.id, type: b.type, tag: Tc(b) }))) || [];
4480
- return a.redisType !== "all" ? $.filter((b) => b.type === a.redisType) : $;
4481
- }), { axiosInstance: T } = Hi(s == null ? void 0 : s.axiosRequestConfig), C = async ($) => {
4471
+ const $ = ((p = g.value) == null ? void 0 : p.map((_) => ({ label: _.id, name: _.name, value: _.id, type: _.type, tag: Tc(_) }))) || [];
4472
+ return a.redisType !== "all" ? $.filter((_) => _.type === a.redisType) : $;
4473
+ }), { axiosInstance: T } = Hi(s == null ? void 0 : s.axiosRequestConfig), I = async ($) => {
4482
4474
  if ($) {
4483
4475
  a.updateRedisModel($);
4484
4476
  try {
4485
4477
  const p = await T.get(N($));
4486
4478
  if (p.data.config) {
4487
- const b = Object.assign(p.data, p.data.config);
4488
- delete b.config, o.value = b;
4479
+ const _ = Object.assign(p.data, p.data.config);
4480
+ delete _.config, o.value = _;
4489
4481
  }
4490
4482
  } catch (p) {
4491
4483
  console.error(p);
@@ -4495,25 +4487,25 @@ const Tc = (e) => {
4495
4487
  return Pt(() => n == null ? void 0 : n.value, async ($) => {
4496
4488
  $ && await m();
4497
4489
  }), Rt(() => {
4498
- m(), a.defaultRedisConfigItem && C(a.defaultRedisConfigItem);
4490
+ m(), a.defaultRedisConfigItem && I(a.defaultRedisConfigItem);
4499
4491
  }), ($, p) => {
4500
- const b = U("KLabel"), I = U("KBadge"), _ = U("KSelect");
4492
+ const _ = U("KLabel"), O = U("KBadge"), M = U("KSelect");
4501
4493
  return u(), v(K, null, [
4502
4494
  c("div", Pc, [
4503
- O(b, {
4495
+ A(_, {
4504
4496
  info: e.isCustomPlugin ? S(t)("redis.custom_plugin.tooltip") : S(t)("redis.shared_configuration.tooltip", { type: S(Fn)(e.redisType) }),
4505
4497
  "tooltip-attributes": {
4506
4498
  maxWidth: "300",
4507
4499
  placement: "top"
4508
4500
  }
4509
4501
  }, {
4510
- default: M(() => [
4502
+ default: w(() => [
4511
4503
  ne(k(S(t)("redis.shared_configuration.title")), 1)
4512
4504
  ]),
4513
4505
  _: 1
4514
4506
  }, 8, ["info"]),
4515
4507
  p[2] || (p[2] = c("div", { class: "shared-redis-config-title" }, null, -1)),
4516
- O(_, {
4508
+ A(M, {
4517
4509
  class: "redis-config-select-trigger",
4518
4510
  "data-testid": "redis-config-select-trigger",
4519
4511
  "enable-filtering": "",
@@ -4522,39 +4514,39 @@ const Tc = (e) => {
4522
4514
  loading: S(d),
4523
4515
  "model-value": e.defaultRedisConfigItem,
4524
4516
  placeholder: S(t)("redis.shared_configuration.selector.placeholder"),
4525
- onChange: p[1] || (p[1] = (y) => C(y == null ? void 0 : y.value)),
4517
+ onChange: p[1] || (p[1] = (y) => I(y == null ? void 0 : y.value)),
4526
4518
  onQueryChange: S(l)
4527
4519
  }, {
4528
- "selected-item-template": M(({ item: y }) => [
4520
+ "selected-item-template": w(({ item: y }) => [
4529
4521
  c("div", jc, k(y.name), 1)
4530
4522
  ]),
4531
- "item-template": M(({ item: y }) => [
4523
+ "item-template": w(({ item: y }) => [
4532
4524
  c("div", {
4533
4525
  class: "plugin-form-redis-configuration-dropdown-item",
4534
4526
  "data-testid": `redis-configuration-dropdown-item-${y.name}`
4535
4527
  }, [
4536
4528
  c("span", Lc, k(y.name), 1),
4537
- O(I, {
4529
+ A(O, {
4538
4530
  appearance: "info",
4539
4531
  class: "select-item-label"
4540
4532
  }, {
4541
- default: M(() => [
4533
+ default: w(() => [
4542
4534
  ne(k(y.tag), 1)
4543
4535
  ]),
4544
4536
  _: 2
4545
4537
  }, 1024)
4546
4538
  ], 8, Nc)
4547
4539
  ]),
4548
- empty: M(() => [
4540
+ empty: w(() => [
4549
4541
  c("div", qc, k(S(t)("redis.shared_configuration.empty_state")), 1)
4550
4542
  ]),
4551
- "dropdown-footer-text": M(() => [
4543
+ "dropdown-footer-text": w(() => [
4552
4544
  c("div", {
4553
4545
  class: "new-redis-config-area",
4554
4546
  "data-testid": "new-redis-config-area",
4555
4547
  onClick: p[0] || (p[0] = (y) => $.$emit("showNewPartialModal"))
4556
4548
  }, [
4557
- O(S(jt), { size: S(bd) }, null, 8, ["size"]),
4549
+ A(S(jt), { size: S(bd) }, null, 8, ["size"]),
4558
4550
  c("span", null, k(S(t)("redis.shared_configuration.create_new_configuration", { type: S(Fn)(e.redisType) })), 1)
4559
4551
  ])
4560
4552
  ]),
@@ -4633,43 +4625,43 @@ const Tc = (e) => {
4633
4625
  l.value = { ...l.value, [T]: f }, i("modelUpdated", f, T);
4634
4626
  }, F = () => {
4635
4627
  i("refreshModel");
4636
- }, N = (f, T, C) => {
4637
- i("validated", f, T, C);
4628
+ }, N = (f, T, I) => {
4629
+ i("validated", f, T, I);
4638
4630
  };
4639
4631
  return Pt(() => r.value, (f) => {
4640
4632
  f ? d.value && i("partialToggled", "redis", { partials: d.value }) : i("partialToggled", "partials", l.value);
4641
4633
  }), Rt(() => {
4642
- var f, T, C;
4643
- if (n.model && (l.value = n.field.fields.reduce(($, p) => (Object.keys(n.model).includes(p.model) && ($[p.model] = n.model[p.model]), $), {})), (C = (T = (f = n == null ? void 0 : n.model) == null ? void 0 : f.partials) == null ? void 0 : T[0]) != null && C.id) {
4634
+ var f, T, I;
4635
+ if (n.model && (l.value = n.field.fields.reduce(($, p) => (Object.keys(n.model).includes(p.model) && ($[p.model] = n.model[p.model]), $), {})), (I = (T = (f = n == null ? void 0 : n.model) == null ? void 0 : f.partials) == null ? void 0 : T[0]) != null && I.id) {
4644
4636
  const $ = n.model.partials[0].id;
4645
4637
  r.value = !0, s.value = $;
4646
4638
  }
4647
4639
  }), (f, T) => {
4648
- const C = U("KAlert"), $ = U("KBadge"), p = U("KRadio"), b = U("KCard");
4640
+ const I = U("KAlert"), $ = U("KBadge"), p = U("KRadio"), _ = U("KCard");
4649
4641
  return u(), v("div", null, [
4650
4642
  o.value ? (u(), v("div", Bc, [
4651
- O(C, {
4643
+ A(I, {
4652
4644
  "data-testid": "custom-plugin-redis-config-note",
4653
4645
  message: S(a)("redis.custom_plugin.alert")
4654
4646
  }, null, 8, ["message"]),
4655
- O(kn, {
4647
+ A(kn, {
4656
4648
  "default-redis-config-item": s.value,
4657
4649
  "is-custom-plugin": "",
4658
4650
  "plugin-redis-fields": e.field.fields,
4659
4651
  "update-redis-model": m,
4660
- onShowNewPartialModal: T[0] || (T[0] = (I) => f.$emit("showNewPartialModal"))
4652
+ onShowNewPartialModal: T[0] || (T[0] = (O) => f.$emit("showNewPartialModal"))
4661
4653
  }, null, 8, ["default-redis-config-item", "plugin-redis-fields"])
4662
- ])) : (u(), E(b, {
4654
+ ])) : (u(), E(_, {
4663
4655
  key: 1,
4664
4656
  class: "redis-config-card",
4665
4657
  "data-testid": "redis-config-card",
4666
4658
  title: S(a)("redis.title")
4667
4659
  }, {
4668
- default: M(() => [
4660
+ default: w(() => [
4669
4661
  c("div", zc, [
4670
- O(p, {
4662
+ A(p, {
4671
4663
  modelValue: r.value,
4672
- "onUpdate:modelValue": T[1] || (T[1] = (I) => r.value = I),
4664
+ "onUpdate:modelValue": T[1] || (T[1] = (O) => r.value = O),
4673
4665
  card: "",
4674
4666
  "card-orientation": "horizontal",
4675
4667
  "data-testid": "shared-redis-config-radio",
@@ -4677,9 +4669,9 @@ const Tc = (e) => {
4677
4669
  label: S(a)("redis.shared_configuration.label"),
4678
4670
  "selected-value": !0
4679
4671
  }, {
4680
- default: M(() => [
4681
- O($, { appearance: "success" }, {
4682
- default: M(() => [
4672
+ default: w(() => [
4673
+ A($, { appearance: "success" }, {
4674
+ default: w(() => [
4683
4675
  ne(k(S(a)("redis.shared_configuration.badge")), 1)
4684
4676
  ]),
4685
4677
  _: 1
@@ -4687,9 +4679,9 @@ const Tc = (e) => {
4687
4679
  ]),
4688
4680
  _: 1
4689
4681
  }, 8, ["modelValue", "description", "label"]),
4690
- O(p, {
4682
+ A(p, {
4691
4683
  modelValue: r.value,
4692
- "onUpdate:modelValue": T[2] || (T[2] = (I) => r.value = I),
4684
+ "onUpdate:modelValue": T[2] || (T[2] = (O) => r.value = O),
4693
4685
  card: "",
4694
4686
  "card-orientation": "horizontal",
4695
4687
  "data-testid": "dedicated-redis-config-radio",
@@ -4699,26 +4691,26 @@ const Tc = (e) => {
4699
4691
  }, null, 8, ["modelValue", "description", "label"])
4700
4692
  ]),
4701
4693
  r.value ? (u(), v("div", Yc, [
4702
- O(kn, {
4694
+ A(kn, {
4703
4695
  "default-redis-config-item": s.value,
4704
4696
  "plugin-redis-fields": e.field.fields,
4705
4697
  "redis-type": e.field.redisType,
4706
4698
  "update-redis-model": m,
4707
- onShowNewPartialModal: T[3] || (T[3] = (I) => f.$emit("showNewPartialModal"))
4699
+ onShowNewPartialModal: T[3] || (T[3] = (O) => f.$emit("showNewPartialModal"))
4708
4700
  }, null, 8, ["default-redis-config-item", "plugin-redis-fields", "redis-type"])
4709
4701
  ])) : (u(), v("div", Hc, [
4710
4702
  c("div", xc, k(S(a)("redis.dedicated_configuration.title")), 1),
4711
4703
  (u(), E(ie(e.tag), null, {
4712
- default: M(() => [
4713
- (u(!0), v(K, null, Q(e.field.fields, (I) => (u(), v(K, {
4714
- key: I.model
4704
+ default: w(() => [
4705
+ (u(!0), v(K, null, Q(e.field.fields, (O) => (u(), v(K, {
4706
+ key: O.model
4715
4707
  }, [
4716
- h(I) ? (u(), E(Ei, {
4708
+ h(O) ? (u(), E(Ei, {
4717
4709
  key: 0,
4718
4710
  ref_for: !0,
4719
4711
  ref: "children",
4720
4712
  errors: e.errors,
4721
- field: I,
4713
+ field: O,
4722
4714
  model: e.model,
4723
4715
  options: e.options,
4724
4716
  vfg: e.vfg,
@@ -4909,7 +4901,7 @@ function Xc(e, t, n, i, a, o) {
4909
4901
  const r = U("form-redis"), s = U("form-group"), l = U("KCollapse");
4910
4902
  return n.schema != null ? (u(), v("div", Jc, [
4911
4903
  n.schema.fields ? (u(), E(ie(n.tag), { key: 0 }, {
4912
- default: M(() => [
4904
+ default: w(() => [
4913
4905
  (u(!0), v(K, null, Q(o.fields, (d) => (u(), v(K, {
4914
4906
  key: d.model
4915
4907
  }, [
@@ -4952,7 +4944,7 @@ function Xc(e, t, n, i, a, o) {
4952
4944
  "model-value": !1,
4953
4945
  title: d.collapsible.title
4954
4946
  }, ft({
4955
- default: M(() => {
4947
+ default: w(() => {
4956
4948
  var m, g, F, N;
4957
4949
  return [
4958
4950
  (m = d.slots) != null && m.beforeContent ? fe(e.$slots, (g = d.slots) == null ? void 0 : g.beforeContent, { key: 0 }) : P("", !0),
@@ -4960,7 +4952,7 @@ function Xc(e, t, n, i, a, o) {
4960
4952
  key: 2,
4961
4953
  class: W(e.getFieldRowClasses(d))
4962
4954
  }, {
4963
- default: M(() => [
4955
+ default: w(() => [
4964
4956
  (u(!0), v(K, null, Q(d.fields, (f) => (u(), v(K, {
4965
4957
  key: f.model
4966
4958
  }, [
@@ -4989,11 +4981,11 @@ function Xc(e, t, n, i, a, o) {
4989
4981
  "trigger-label": a.collapseStates[`group-${h}-nested`] ?? !0 ? d.collapsible.nestedCollapsible.triggerLabel.expand : d.collapsible.nestedCollapsible.triggerLabel.collapse,
4990
4982
  "onUpdate:modelValue": (f) => a.collapseStates[`group-${h}-nested`] = f
4991
4983
  }, {
4992
- default: M(() => [
4984
+ default: w(() => [
4993
4985
  (u(), E(ie(n.tag), {
4994
4986
  class: W(e.getFieldRowClasses(d))
4995
4987
  }, {
4996
- default: M(() => [
4988
+ default: w(() => [
4997
4989
  (u(!0), v(K, null, Q(d.collapsible.nestedCollapsible.fields, (f) => (u(), v(K, {
4998
4990
  key: f.model
4999
4991
  }, [
@@ -5036,7 +5028,7 @@ function Xc(e, t, n, i, a, o) {
5036
5028
  }, [
5037
5029
  d.collapsible.description ? {
5038
5030
  name: "visible-content",
5039
- fn: M(() => [
5031
+ fn: w(() => [
5040
5032
  ne(k(d.collapsible.description), 1)
5041
5033
  ]),
5042
5034
  key: "0"
@@ -5045,7 +5037,7 @@ function Xc(e, t, n, i, a, o) {
5045
5037
  key: 1,
5046
5038
  class: W(e.getFieldRowClasses(d))
5047
5039
  }, {
5048
- default: M(() => [
5040
+ default: w(() => [
5049
5041
  d.legend ? (u(), v("legend", Qc, k(d.legend), 1)) : P("", !0),
5050
5042
  (u(!0), v(K, null, Q(d.fields, (m) => (u(), v(K, {
5051
5043
  key: m.model
@@ -5307,12 +5299,12 @@ function lm(e, t, n, i, a, o) {
5307
5299
  schema: a.globalFields,
5308
5300
  onModelUpdated: n.onModelUpdated
5309
5301
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : P("", !0),
5310
- O(m, { tabs: a.tabs }, {
5311
- common: M(() => [
5302
+ A(m, { tabs: a.tabs }, {
5303
+ common: w(() => [
5312
5304
  c("div", tm, [
5313
5305
  c("div", nm, [
5314
- O(s, { href: a.openIdConfigurationDocs }, {
5315
- default: M(() => t[2] || (t[2] = [
5306
+ A(s, { href: a.openIdConfigurationDocs }, {
5307
+ default: w(() => t[2] || (t[2] = [
5316
5308
  c("span", { class: "section-header" }, "Common Configuration Settings", -1)
5317
5309
  ])),
5318
5310
  _: 1
@@ -5326,8 +5318,8 @@ function lm(e, t, n, i, a, o) {
5326
5318
  schema: a.commonFieldsSchema,
5327
5319
  onModelUpdated: n.onModelUpdated
5328
5320
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : P("", !0),
5329
- O(l, null, {
5330
- default: M(() => t[3] || (t[3] = [
5321
+ A(l, null, {
5322
+ default: w(() => t[3] || (t[3] = [
5331
5323
  ne("Auth Methods")
5332
5324
  ])),
5333
5325
  _: 1
@@ -5337,19 +5329,19 @@ function lm(e, t, n, i, a, o) {
5337
5329
  key: g.value,
5338
5330
  class: "auth-method"
5339
5331
  }, [
5340
- O(d, {
5332
+ A(d, {
5341
5333
  modelValue: g.prop,
5342
5334
  "onUpdate:modelValue": (F) => g.prop = F,
5343
5335
  onChange: (F) => o.handleUpdate(F, g.value)
5344
5336
  }, {
5345
- default: M(() => [
5337
+ default: w(() => [
5346
5338
  ne(k(g.label), 1)
5347
5339
  ]),
5348
5340
  _: 2
5349
5341
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
5350
5342
  ]))), 128))
5351
5343
  ]),
5352
- O(h, {
5344
+ A(h, {
5353
5345
  modelValue: a.sessionManagement,
5354
5346
  "onUpdate:modelValue": t[0] || (t[0] = (g) => a.sessionManagement = g),
5355
5347
  label: "Enable Session Management",
@@ -5357,11 +5349,11 @@ function lm(e, t, n, i, a, o) {
5357
5349
  }, null, 8, ["modelValue", "onChange"])
5358
5350
  ])
5359
5351
  ]),
5360
- authorization: M(() => [
5352
+ authorization: w(() => [
5361
5353
  c("div", am, [
5362
5354
  c("div", om, [
5363
- O(s, { href: a.openIdAuthorizationDocs }, {
5364
- default: M(() => t[5] || (t[5] = [
5355
+ A(s, { href: a.openIdAuthorizationDocs }, {
5356
+ default: w(() => t[5] || (t[5] = [
5365
5357
  c("span", { class: "section-header" }, "Authorization Configuration Settings", -1)
5366
5358
  ])),
5367
5359
  _: 1
@@ -5375,18 +5367,18 @@ function lm(e, t, n, i, a, o) {
5375
5367
  schema: a.authFieldsSchema,
5376
5368
  onModelUpdated: n.onModelUpdated
5377
5369
  }, {
5378
- "autofill-provider": M((g) => [
5370
+ "autofill-provider": w((g) => [
5379
5371
  fe(e.$slots, "autofill-provider", Li(qi(g)), void 0, !0)
5380
5372
  ]),
5381
5373
  _: 3
5382
5374
  }, 8, ["model", "options", "schema", "onModelUpdated"])) : P("", !0)
5383
5375
  ])
5384
5376
  ]),
5385
- advanced: M(() => [
5377
+ advanced: w(() => [
5386
5378
  c("div", rm, [
5387
5379
  c("div", sm, [
5388
- O(s, { href: a.openIdConnectLink }, {
5389
- default: M(() => t[7] || (t[7] = [
5380
+ A(s, { href: a.openIdConnectLink }, {
5381
+ default: w(() => t[7] || (t[7] = [
5390
5382
  c("span", { class: "section-header" }, "Advanced Configuration Settings", -1)
5391
5383
  ])),
5392
5384
  _: 1
@@ -5610,41 +5602,41 @@ const dm = /* @__PURE__ */ z(em, [["render", lm], ["__scopeId", "data-v-741bf3cb
5610
5602
  }
5611
5603
  },
5612
5604
  setup(e) {
5613
- var I;
5614
- at(ye, (I = ht()) == null ? void 0 : I[Ge]);
5605
+ var O;
5606
+ at(ye, (O = ht()) == null ? void 0 : O[Ge]);
5615
5607
  const t = e, n = J("zeroSsl"), i = J("shm"), a = L(() => {
5616
5608
  var y;
5617
- const _ = {};
5609
+ const M = {};
5618
5610
  if ((y = t.formSchema) != null && y.fields)
5619
5611
  for (const R of t.formSchema.fields)
5620
- _[R.model] = R;
5621
- return _;
5612
+ M[R.model] = R;
5613
+ return M;
5622
5614
  }), o = L(() => {
5623
5615
  var y;
5624
- const _ = Te(hm);
5625
- for (const R of _.fields) {
5616
+ const M = Te(hm);
5617
+ for (const R of M.fields) {
5626
5618
  const x = (y = a.value[R.model]) == null ? void 0 : y.help;
5627
5619
  R.help === void 0 && typeof x == "string" && (R.help = x);
5628
5620
  }
5629
- return _;
5621
+ return M;
5630
5622
  }), r = L(() => {
5631
5623
  var y;
5632
- const _ = Te(pm);
5633
- for (const R of _.fields) {
5624
+ const M = Te(pm);
5625
+ for (const R of M.fields) {
5634
5626
  const x = (y = a.value[R.model]) == null ? void 0 : y.help;
5635
5627
  R.help === void 0 && typeof x == "string" && (R.help = x);
5636
5628
  }
5637
- return _;
5629
+ return M;
5638
5630
  }), s = L(() => {
5639
5631
  var y;
5640
- const _ = Te(gm);
5641
- for (const R of _.fields) {
5632
+ const M = Te(gm);
5633
+ for (const R of M.fields) {
5642
5634
  const x = (y = a.value[R.model]) == null ? void 0 : y.help;
5643
5635
  R.help === void 0 && typeof x == "string" && (R.help = x);
5644
5636
  }
5645
- return _;
5637
+ return M;
5646
5638
  }), l = L(() => ({
5647
- fields: t.formSchema.fields.filter((_) => !_.model.startsWith("config") && _.model !== "tags")
5639
+ fields: t.formSchema.fields.filter((M) => !M.model.startsWith("config") && M.model !== "tags")
5648
5640
  })), d = L(() => ({
5649
5641
  fields: o.value.fields.filter(
5650
5642
  (y) => !r.value.fields.some((R) => R.model === y.model) && !s.value.fields.some((R) => R.model === y.model)
@@ -5660,8 +5652,8 @@ const dm = /* @__PURE__ */ z(em, [["render", lm], ["__scopeId", "data-v-741bf3cb
5660
5652
  })), N = L(() => ({
5661
5653
  fields: t.formSchema.fields.filter((y) => y.model.startsWith("config-storage_config-vault"))
5662
5654
  })), f = L(() => ({
5663
- fields: t.formSchema.fields.filter((_) => _.model.startsWith("config") && !d.value.fields.filter((y) => y.model === _.model).length && !h.value.fields.filter((y) => y.model === _.model).length || _.model === "tags")
5664
- })), T = L(() => t.formModel.id && t.isEditing || !t.isEditing), C = [
5655
+ fields: t.formSchema.fields.filter((M) => M.model.startsWith("config") && !d.value.fields.filter((y) => y.model === M.model).length && !h.value.fields.filter((y) => y.model === M.model).length || M.model === "tags")
5656
+ })), T = L(() => t.formModel.id && t.isEditing || !t.isEditing), I = [
5665
5657
  {
5666
5658
  hash: "#general",
5667
5659
  title: "General"
@@ -5692,12 +5684,12 @@ const dm = /* @__PURE__ */ z(em, [["render", lm], ["__scopeId", "data-v-741bf3cb
5692
5684
  Vt(() => {
5693
5685
  n.value === "zeroSsl" && (t.formModel["config-api_uri"] = "https://acme.zerossl.com/v2/DV90");
5694
5686
  });
5695
- const p = (_) => {
5696
- n.value = _.value, (_.value === "zeroSsl" || _.value === "other") && (_.value === "zeroSsl" ? t.formModel["config-api_uri"] = "https://acme.zerossl.com/v2/DV90" : t.formModel["config-api_uri"] = "https://acme.example.com/", t.formModel["config-tos_accepted"] = !1), _.value === "letsEncrypt" && (t.formModel["config-api_uri"] = "https://acme-v02.api.letsencrypt.org/directory", t.formModel["config-eab_hmac_key"] = "", t.formModel["config-eab_kid"] = ""), t.onModelUpdated();
5697
- }, b = (_, y) => {
5698
- y === "config-storage" && (i.value = _), t.onModelUpdated();
5687
+ const p = (M) => {
5688
+ n.value = M.value, (M.value === "zeroSsl" || M.value === "other") && (M.value === "zeroSsl" ? t.formModel["config-api_uri"] = "https://acme.zerossl.com/v2/DV90" : t.formModel["config-api_uri"] = "https://acme.example.com/", t.formModel["config-tos_accepted"] = !1), M.value === "letsEncrypt" && (t.formModel["config-api_uri"] = "https://acme-v02.api.letsencrypt.org/directory", t.formModel["config-eab_hmac_key"] = "", t.formModel["config-eab_kid"] = ""), t.onModelUpdated();
5689
+ }, _ = (M, y) => {
5690
+ y === "config-storage" && (i.value = M), t.onModelUpdated();
5699
5691
  };
5700
- return (_, y) => {
5692
+ return (M, y) => {
5701
5693
  const R = U("KSelect"), x = U("KTabs");
5702
5694
  return u(), v("div", null, [
5703
5695
  e.formModel.id && e.isEditing || !e.isEditing ? (u(), E(te, {
@@ -5708,8 +5700,8 @@ const dm = /* @__PURE__ */ z(em, [["render", lm], ["__scopeId", "data-v-741bf3cb
5708
5700
  schema: l.value,
5709
5701
  onModelUpdated: e.onModelUpdated
5710
5702
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : P("", !0),
5711
- O(x, { tabs: C }, {
5712
- general: M(() => [
5703
+ A(x, { tabs: I }, {
5704
+ general: w(() => [
5713
5705
  c("div", vm, [
5714
5706
  y[0] || (y[0] = c("div", { class: "header-wrapper" }, [
5715
5707
  c("span", { class: "section-header" }, "General Configuration Settings")
@@ -5723,7 +5715,7 @@ const dm = /* @__PURE__ */ z(em, [["render", lm], ["__scopeId", "data-v-741bf3cb
5723
5715
  onModelUpdated: e.onModelUpdated
5724
5716
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : P("", !0),
5725
5717
  y[2] || (y[2] = c("hr", null, null, -1)),
5726
- O(R, {
5718
+ A(R, {
5727
5719
  class: "issuer-select",
5728
5720
  items: $,
5729
5721
  label: "Issuer",
@@ -5747,7 +5739,7 @@ const dm = /* @__PURE__ */ z(em, [["render", lm], ["__scopeId", "data-v-741bf3cb
5747
5739
  ])
5748
5740
  ])
5749
5741
  ]),
5750
- storage: M(() => [
5742
+ storage: w(() => [
5751
5743
  c("div", bm, [
5752
5744
  y[3] || (y[3] = c("div", { class: "header-wrapper" }, [
5753
5745
  c("span", { class: "section-header" }, "Storage Configuration Settings")
@@ -5758,7 +5750,7 @@ const dm = /* @__PURE__ */ z(em, [["render", lm], ["__scopeId", "data-v-741bf3cb
5758
5750
  model: e.formModel,
5759
5751
  options: e.formOptions,
5760
5752
  schema: h.value,
5761
- onModelUpdated: b
5753
+ onModelUpdated: _
5762
5754
  }, null, 8, ["model", "options", "schema"])) : P("", !0),
5763
5755
  c("div", _m, [
5764
5756
  i.value === "consul" ? (u(), E(te, {
@@ -5792,7 +5784,7 @@ const dm = /* @__PURE__ */ z(em, [["render", lm], ["__scopeId", "data-v-741bf3cb
5792
5784
  ])
5793
5785
  ])
5794
5786
  ]),
5795
- advanced: M(() => [
5787
+ advanced: w(() => [
5796
5788
  c("div", wm, [
5797
5789
  y[5] || (y[5] = c("div", { class: "header-wrapper" }, [
5798
5790
  c("span", { class: "section-header" }, "Advanced Configuration Settings")
@@ -5892,155 +5884,155 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5892
5884
  }, n = /* @__PURE__ */ new Set([
5893
5885
  "selectionGroup",
5894
5886
  "enabled",
5895
- ...["identifier", "limit", "window_size", "error_code", "error_message"].map((w) => `config-${w}`)
5896
- ]), i = (w) => w === void 0 ? !1 : n.has(w), { t: a } = pe("en-us", ge), o = e, r = L(() => {
5887
+ ...["identifier", "limit", "window_size", "error_code", "error_message"].map((b) => `config-${b}`)
5888
+ ]), i = (b) => b === void 0 ? !1 : n.has(b), { t: a } = pe("en-us", ge), o = e, r = L(() => {
5897
5889
  var V, j, D;
5898
- const w = (j = (V = o.formSchema) == null ? void 0 : V.fields) == null ? void 0 : j.find((le) => le.type === "selectionGroup" && le.model === "selectionGroup");
5899
- return { fields: [(D = o.formSchema) == null ? void 0 : D.fields.find((le) => le.model === "enabled"), w].filter(Boolean) };
5890
+ const b = (j = (V = o.formSchema) == null ? void 0 : V.fields) == null ? void 0 : j.find((le) => le.type === "selectionGroup" && le.model === "selectionGroup");
5891
+ return { fields: [(D = o.formSchema) == null ? void 0 : D.fields.find((le) => le.model === "enabled"), b].filter(Boolean) };
5900
5892
  }), s = L(() => {
5901
5893
  var le, Ve;
5902
- const w = ((Ve = (le = o.formSchema) == null ? void 0 : le.fields) == null ? void 0 : Ve.filter((re) => !i(re.model))) ?? [], A = [], V = [], j = [];
5894
+ const b = ((Ve = (le = o.formSchema) == null ? void 0 : le.fields) == null ? void 0 : Ve.filter((re) => !i(re.model))) ?? [], C = [], V = [], j = [];
5903
5895
  let D = !1;
5904
- for (const re of w) {
5896
+ for (const re of b) {
5905
5897
  const De = re.model;
5906
5898
  if (De !== void 0) {
5907
5899
  if (De.startsWith("config-redis-")) {
5908
5900
  (re.model === "config-redis-cluster_addresses" || re.model === "config-redis-sentinel_addresses") && (re.inputAttributes.help = a("rla.redis.address_example")), V.push(re);
5909
5901
  continue;
5910
5902
  }
5911
- D ? j.push(re) : A.push(re), re.model === "config-strategy" && (D = !0);
5903
+ D ? j.push(re) : C.push(re), re.model === "config-strategy" && (D = !0);
5912
5904
  }
5913
5905
  }
5914
5906
  return {
5915
- endsWithStrategy: { fields: A },
5907
+ endsWithStrategy: { fields: C },
5916
5908
  redis: o.enableRedisPartial ? { fields: [{ fields: V, id: "_redis", model: "__redis_partial", redisType: o.formSchema._supported_redis_partial_type }] } : { fields: V },
5917
5909
  afterStrategy: { fields: j }
5918
5910
  };
5919
5911
  }), l = L(() => {
5920
- const w = o.formModel["config-window_type"];
5921
- return Object.prototype.hasOwnProperty.call(t, w) ? t[w] : [];
5912
+ const b = o.formModel["config-window_type"];
5913
+ return Object.prototype.hasOwnProperty.call(t, b) ? t[b] : [];
5922
5914
  }), d = L(() => {
5923
- var w, A;
5924
- return (A = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : A.find((V) => V.model === "config-identifier");
5915
+ var b, C;
5916
+ return (C = (b = o.formSchema) == null ? void 0 : b.fields) == null ? void 0 : C.find((V) => V.model === "config-identifier");
5925
5917
  }), h = L(
5926
5918
  () => {
5927
- var w, A, V;
5928
- return (((V = (A = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : A.find((j) => j.model === "config-identifier")) == null ? void 0 : V.values) ?? []).map((j) => ({
5919
+ var b, C, V;
5920
+ return (((V = (C = (b = o.formSchema) == null ? void 0 : b.fields) == null ? void 0 : C.find((j) => j.model === "config-identifier")) == null ? void 0 : V.values) ?? []).map((j) => ({
5929
5921
  label: a(`rla.identifiers.options.${j}`),
5930
5922
  value: j
5931
5923
  }));
5932
5924
  }
5933
5925
  ), m = J(), g = J(!0), F = L(
5934
5926
  () => {
5935
- var w, A, V;
5936
- return o.formModel["config-window_type"] ?? ((V = (A = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : A.find((j) => j.model === "config-window_type")) == null ? void 0 : V.default);
5927
+ var b, C, V;
5928
+ return o.formModel["config-window_type"] ?? ((V = (C = (b = o.formSchema) == null ? void 0 : b.fields) == null ? void 0 : C.find((j) => j.model === "config-window_type")) == null ? void 0 : V.default);
5937
5929
  }
5938
5930
  ), N = L(() => {
5939
- var A, V, j, D, le, Ve;
5940
- const w = (j = (V = (A = o.formSchema) == null ? void 0 : A.fields) == null ? void 0 : V.find((re) => re.model === "config-window_type")) == null ? void 0 : j.default;
5941
- return (((Ve = (le = (D = o.formSchema) == null ? void 0 : D.fields) == null ? void 0 : le.find((re) => re.model === "config-window_type")) == null ? void 0 : Ve.values) ?? []).sort((re, De) => re === w ? -1 : De === w ? 1 : 0);
5931
+ var C, V, j, D, le, Ve;
5932
+ const b = (j = (V = (C = o.formSchema) == null ? void 0 : C.fields) == null ? void 0 : V.find((re) => re.model === "config-window_type")) == null ? void 0 : j.default;
5933
+ return (((Ve = (le = (D = o.formSchema) == null ? void 0 : D.fields) == null ? void 0 : le.find((re) => re.model === "config-window_type")) == null ? void 0 : Ve.values) ?? []).sort((re, De) => re === b ? -1 : De === b ? 1 : 0);
5942
5934
  }), f = L(() => {
5943
- var A;
5944
- const w = (A = o.formModel["config-limit"]) == null ? void 0 : A.map((V, j) => {
5935
+ var C;
5936
+ const b = (C = o.formModel["config-limit"]) == null ? void 0 : C.map((V, j) => {
5945
5937
  var D, le;
5946
5938
  return {
5947
5939
  limit: V,
5948
5940
  windowSize: (le = (D = o.formModel) == null ? void 0 : D["config-window_size"]) == null ? void 0 : le[j]
5949
5941
  };
5950
5942
  });
5951
- return !Array.isArray(w) || w.length === 0 ? [{ limit: void 0, windowSize: void 0 }] : w;
5943
+ return !Array.isArray(b) || b.length === 0 ? [{ limit: void 0, windowSize: void 0 }] : b;
5952
5944
  }), T = L(
5953
5945
  () => {
5954
- var w, A, V, j;
5955
- return ((w = o.formModel) == null ? void 0 : w["config-identifier"]) ?? ((j = (V = (A = o.formSchema) == null ? void 0 : A.fields) == null ? void 0 : V.find((D) => D.model === "config-identifier")) == null ? void 0 : j.default);
5946
+ var b, C, V, j;
5947
+ return ((b = o.formModel) == null ? void 0 : b["config-identifier"]) ?? ((j = (V = (C = o.formSchema) == null ? void 0 : C.fields) == null ? void 0 : V.find((D) => D.model === "config-identifier")) == null ? void 0 : j.default);
5956
5948
  }
5957
- ), C = L(
5949
+ ), I = L(
5958
5950
  () => {
5959
- var w, A, V, j;
5960
- return ((w = o.formModel) == null ? void 0 : w["config-error_code"]) ?? ((j = (V = (A = o.formSchema) == null ? void 0 : A.fields) == null ? void 0 : V.find((D) => D.model === "config-error_code")) == null ? void 0 : j.default);
5951
+ var b, C, V, j;
5952
+ return ((b = o.formModel) == null ? void 0 : b["config-error_code"]) ?? ((j = (V = (C = o.formSchema) == null ? void 0 : C.fields) == null ? void 0 : V.find((D) => D.model === "config-error_code")) == null ? void 0 : j.default);
5961
5953
  }
5962
5954
  ), $ = L(
5963
5955
  () => {
5964
- var w, A, V, j;
5965
- return ((w = o.formModel) == null ? void 0 : w["config-error_message"]) ?? ((j = (V = (A = o.formSchema) == null ? void 0 : A.fields) == null ? void 0 : V.find((D) => D.model === "config-error_message")) == null ? void 0 : j.default);
5956
+ var b, C, V, j;
5957
+ return ((b = o.formModel) == null ? void 0 : b["config-error_message"]) ?? ((j = (V = (C = o.formSchema) == null ? void 0 : C.fields) == null ? void 0 : V.find((D) => D.model === "config-error_message")) == null ? void 0 : j.default);
5966
5958
  }
5967
- ), p = (w, A) => {
5968
- if (A === m.value) {
5959
+ ), p = (b, C) => {
5960
+ if (C === m.value) {
5969
5961
  o.onModelUpdated([], "config-limit"), o.onModelUpdated([], "config-window_size"), Ht(() => {
5970
5962
  m.value = void 0;
5971
5963
  });
5972
5964
  return;
5973
5965
  }
5974
- o.onModelUpdated([w.config.limit], "config-limit"), o.onModelUpdated([w.config.window_size], "config-window_size"), Ht(() => {
5975
- m.value = A;
5966
+ o.onModelUpdated([b.config.limit], "config-limit"), o.onModelUpdated([b.config.window_size], "config-window_size"), Ht(() => {
5967
+ m.value = C;
5976
5968
  });
5977
- }, b = (w) => {
5978
- m.value !== void 0 && (m.value = void 0), w !== null && o.onModelUpdated(w.toString(), "config-window_type");
5979
- }, I = (w, A) => {
5969
+ }, _ = (b) => {
5970
+ m.value !== void 0 && (m.value = void 0), b !== null && o.onModelUpdated(b.toString(), "config-window_type");
5971
+ }, O = (b, C) => {
5980
5972
  var j;
5981
5973
  m.value !== void 0 && (m.value = void 0);
5982
5974
  const V = Te(((j = o.formModel) == null ? void 0 : j["config-limit"]) ?? []);
5983
- V[w] = A, o.onModelUpdated(V, "config-limit");
5984
- }, _ = (w, A) => {
5975
+ V[b] = C, o.onModelUpdated(V, "config-limit");
5976
+ }, M = (b, C) => {
5985
5977
  var j;
5986
5978
  m.value !== void 0 && (m.value = void 0);
5987
5979
  const V = Te(((j = o.formModel) == null ? void 0 : j["config-window_size"]) ?? []);
5988
- V[w] = A, o.onModelUpdated(V, "config-window_size");
5989
- }, y = (w) => {
5980
+ V[b] = C, o.onModelUpdated(V, "config-window_size");
5981
+ }, y = (b) => {
5990
5982
  var j, D;
5991
5983
  m.value !== void 0 && (m.value = void 0);
5992
- const A = Te(((j = o.formModel) == null ? void 0 : j["config-limit"]) ?? []), V = Te(((D = o.formModel) == null ? void 0 : D["config-window_size"]) ?? []);
5993
- A.length === 0 && A.push(void 0), V.length === 0 && V.push(void 0), A.splice(w + 1, 0, void 0), V.splice(w + 1, 0, void 0), o.onModelUpdated(A, "config-limit"), o.onModelUpdated(V, "config-window_size");
5994
- }, R = (w) => {
5995
- var A, V;
5984
+ const C = Te(((j = o.formModel) == null ? void 0 : j["config-limit"]) ?? []), V = Te(((D = o.formModel) == null ? void 0 : D["config-window_size"]) ?? []);
5985
+ C.length === 0 && C.push(void 0), V.length === 0 && V.push(void 0), C.splice(b + 1, 0, void 0), V.splice(b + 1, 0, void 0), o.onModelUpdated(C, "config-limit"), o.onModelUpdated(V, "config-window_size");
5986
+ }, R = (b) => {
5987
+ var C, V;
5996
5988
  if (f.value.length > 1) {
5997
5989
  m.value !== void 0 && (m.value = void 0);
5998
- const j = Te(((A = o.formModel) == null ? void 0 : A["config-limit"]) ?? []), D = Te(((V = o.formModel) == null ? void 0 : V["config-window_size"]) ?? []);
5999
- j.length === 0 && j.push(void 0), D.length === 0 && D.push(void 0), j.splice(w, 1), D.splice(w, 1), o.onModelUpdated(j, "config-limit"), o.onModelUpdated(D, "config-window_size");
5990
+ const j = Te(((C = o.formModel) == null ? void 0 : C["config-limit"]) ?? []), D = Te(((V = o.formModel) == null ? void 0 : V["config-window_size"]) ?? []);
5991
+ j.length === 0 && j.push(void 0), D.length === 0 && D.push(void 0), j.splice(b, 1), D.splice(b, 1), o.onModelUpdated(j, "config-limit"), o.onModelUpdated(D, "config-window_size");
6000
5992
  }
6001
5993
  };
6002
- return Pt(() => o.formModel["config-strategy"], (w) => {
6003
- w !== "redis" && o.formModel.partials && o.onModelUpdated(void 0, "partials");
6004
- }), (w, A) => {
5994
+ return Pt(() => o.formModel["config-strategy"], (b) => {
5995
+ b !== "redis" && o.formModel.partials && o.onModelUpdated(void 0, "partials");
5996
+ }), (b, C) => {
6005
5997
  const V = U("KLabel"), j = U("KRadio"), D = U("KInput"), le = U("KButton"), Ve = U("KBadge"), re = U("KTooltip"), De = U("KCard"), Fi = U("KSelect"), ki = U("KCollapse");
6006
5998
  return u(), v(K, null, [
6007
5999
  c("div", Tm, [
6008
- O(te, {
6009
- model: w.formModel,
6010
- options: w.formOptions,
6000
+ A(te, {
6001
+ model: b.formModel,
6002
+ options: b.formOptions,
6011
6003
  schema: r.value,
6012
- onModelUpdated: A[0] || (A[0] = (q, ae) => w.onModelUpdated(q, ae))
6004
+ onModelUpdated: C[0] || (C[0] = (q, ae) => b.onModelUpdated(q, ae))
6013
6005
  }, null, 8, ["model", "options", "schema"]),
6014
- O(De, { class: "rla-form-request-limits" }, {
6015
- title: M(() => [
6016
- O(V, {
6006
+ A(De, { class: "rla-form-request-limits" }, {
6007
+ title: w(() => [
6008
+ A(V, {
6017
6009
  class: "rla-form-request-limits-title",
6018
6010
  for: "rla-form-request-limits-legend",
6019
6011
  required: ""
6020
6012
  }, {
6021
- default: M(() => [
6013
+ default: w(() => [
6022
6014
  ne(k(S(a)("rla.request_limits.title")), 1)
6023
6015
  ]),
6024
6016
  _: 1
6025
6017
  }),
6026
6018
  c("div", Im, k(S(a)("rla.request_limits.subtitle")), 1)
6027
6019
  ]),
6028
- default: M(() => [
6020
+ default: w(() => [
6029
6021
  c("div", Cm, [
6030
6022
  c("div", Am, [
6031
- O(V, {
6023
+ A(V, {
6032
6024
  class: "rla-form-window-type-label",
6033
6025
  "tooltip-attributes": {
6034
6026
  maxWidth: "300",
6035
6027
  placement: "top"
6036
6028
  }
6037
6029
  }, {
6038
- tooltip: M(() => [
6030
+ tooltip: w(() => [
6039
6031
  c("div", {
6040
6032
  innerHTML: S(a)("rla.window_type.help")
6041
6033
  }, null, 8, Om)
6042
6034
  ]),
6043
- default: M(() => [
6035
+ default: w(() => [
6044
6036
  ne(k(S(a)("rla.window_type.label")) + " ", 1)
6045
6037
  ]),
6046
6038
  _: 1
@@ -6051,9 +6043,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6051
6043
  "model-value": F.value,
6052
6044
  name: q,
6053
6045
  "selected-value": q,
6054
- "onUpdate:modelValue": b
6046
+ "onUpdate:modelValue": _
6055
6047
  }, {
6056
- default: M(() => [
6048
+ default: w(() => [
6057
6049
  ne(k(S(a)(`rla.window_type.options.${q}`)), 1)
6058
6050
  ]),
6059
6051
  _: 2
@@ -6064,10 +6056,10 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6064
6056
  (u(!0), v(K, null, Q(f.value, (q, ae) => (u(), v("div", {
6065
6057
  key: ae.toString()
6066
6058
  }, [
6067
- O(V, {
6059
+ A(V, {
6068
6060
  for: `rla-form-request-limits-item-${ae}-legend`
6069
6061
  }, {
6070
- default: M(() => [
6062
+ default: w(() => [
6071
6063
  ne(k(S(a)("rla.request_limits.label_index", { index: ae + 1 })), 1)
6072
6064
  ]),
6073
6065
  _: 2
@@ -6077,38 +6069,38 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6077
6069
  id: `rla-form-request-limits-item-${ae}-legend`,
6078
6070
  class: "rla-form-request-limits-inputs"
6079
6071
  }, [
6080
- O(D, {
6072
+ A(D, {
6081
6073
  "model-value": q.limit && q.limit.toString(),
6082
6074
  placeholder: S(a)("rla.request_limits.request_number"),
6083
6075
  type: "number",
6084
- "onUpdate:modelValue": (St) => I(ae, Number.parseInt(St))
6076
+ "onUpdate:modelValue": (St) => O(ae, Number.parseInt(St))
6085
6077
  }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
6086
6078
  c("div", null, k(S(a)("rla.request_limits.interval_determiner")), 1),
6087
- O(D, {
6079
+ A(D, {
6088
6080
  "model-value": q.windowSize && q.windowSize.toString(),
6089
6081
  placeholder: S(a)("rla.request_limits.time_interval"),
6090
6082
  type: "number",
6091
- "onUpdate:modelValue": (St) => _(ae, Number.parseInt(St))
6083
+ "onUpdate:modelValue": (St) => M(ae, Number.parseInt(St))
6092
6084
  }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
6093
6085
  c("div", null, k(S(a)("rla.request_limits.seconds")), 1)
6094
6086
  ], 8, Um),
6095
6087
  c("div", $m, [
6096
- O(le, {
6088
+ A(le, {
6097
6089
  appearance: "tertiary",
6098
6090
  disabled: f.value.length <= 1,
6099
6091
  onClick: () => R(ae)
6100
6092
  }, {
6101
- default: M(() => [
6102
- O(S(Di))
6093
+ default: w(() => [
6094
+ A(S(Di))
6103
6095
  ]),
6104
6096
  _: 2
6105
6097
  }, 1032, ["disabled", "onClick"]),
6106
- O(le, {
6098
+ A(le, {
6107
6099
  appearance: "tertiary",
6108
6100
  onClick: () => y(ae)
6109
6101
  }, {
6110
- default: M(() => [
6111
- O(S(jt))
6102
+ default: w(() => [
6103
+ A(S(jt))
6112
6104
  ]),
6113
6105
  _: 2
6114
6106
  }, 1032, ["onClick"])
@@ -6123,19 +6115,19 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6123
6115
  key: `use-case-${ae}`,
6124
6116
  "max-width": "300"
6125
6117
  }, {
6126
- content: M(() => [
6118
+ content: w(() => [
6127
6119
  c("div", null, k(q.description), 1),
6128
- A[10] || (A[10] = c("br", null, null, -1)),
6120
+ C[10] || (C[10] = c("br", null, null, -1)),
6129
6121
  c("div", null, k(S(a)("rla.request_limits.label")) + ": " + k(q.config.limit), 1),
6130
6122
  c("div", null, k(S(a)("rla.request_limits.time_interval")) + ": " + k(q.config.window_size), 1)
6131
6123
  ]),
6132
- default: M(() => [
6133
- O(Ve, {
6124
+ default: w(() => [
6125
+ A(Ve, {
6134
6126
  appearance: m.value === `${F.value}-${ae}` ? "info" : "decorative",
6135
6127
  class: "rla-form-request-limits-examples-badge",
6136
6128
  onClick: () => p(q, `${F.value}-${ae}`)
6137
6129
  }, {
6138
- default: M(() => [
6130
+ default: w(() => [
6139
6131
  ne(k(q.label), 1)
6140
6132
  ]),
6141
6133
  _: 2
@@ -6149,9 +6141,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6149
6141
  ]),
6150
6142
  _: 1
6151
6143
  }),
6152
- O(Fi, {
6144
+ A(Fi, {
6153
6145
  modelValue: T.value,
6154
- "onUpdate:modelValue": A[1] || (A[1] = (q) => T.value = q),
6146
+ "onUpdate:modelValue": C[1] || (C[1] = (q) => T.value = q),
6155
6147
  class: "rla-form-identifiers",
6156
6148
  items: h.value,
6157
6149
  label: S(a)("rla.identifiers.label"),
@@ -6162,9 +6154,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6162
6154
  }
6163
6155
  },
6164
6156
  required: "",
6165
- onSelected: A[2] || (A[2] = (q) => o.onModelUpdated(q.value, "config-identifier"))
6157
+ onSelected: C[2] || (C[2] = (q) => o.onModelUpdated(q.value, "config-identifier"))
6166
6158
  }, {
6167
- "label-tooltip": M(() => [
6159
+ "label-tooltip": w(() => [
6168
6160
  c("div", {
6169
6161
  innerHTML: d.value && d.value.help
6170
6162
  }, null, 8, Pm)
@@ -6172,7 +6164,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6172
6164
  _: 1
6173
6165
  }, 8, ["modelValue", "items", "label"]),
6174
6166
  c("div", null, [
6175
- O(V, {
6167
+ A(V, {
6176
6168
  for: "rla-form-error-legend",
6177
6169
  info: S(a)("rla.error_message.help"),
6178
6170
  required: "",
@@ -6181,65 +6173,65 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6181
6173
  placement: "top"
6182
6174
  }
6183
6175
  }, {
6184
- default: M(() => [
6176
+ default: w(() => [
6185
6177
  ne(k(S(a)("rla.error_message.label")), 1)
6186
6178
  ]),
6187
6179
  _: 1
6188
6180
  }, 8, ["info"]),
6189
6181
  c("legend", jm, [
6190
- O(D, {
6182
+ A(D, {
6191
6183
  class: "input-error-code",
6192
- "model-value": C.value && C.value.toString(),
6184
+ "model-value": I.value && I.value.toString(),
6193
6185
  placeholder: S(a)("rla.error_message.code_placeholder"),
6194
6186
  type: "number",
6195
- "onUpdate:modelValue": A[3] || (A[3] = (q) => w.onModelUpdated(Number.parseInt(q), "config-error_code"))
6187
+ "onUpdate:modelValue": C[3] || (C[3] = (q) => b.onModelUpdated(Number.parseInt(q), "config-error_code"))
6196
6188
  }, null, 8, ["model-value", "placeholder"]),
6197
- A[11] || (A[11] = c("div", null, ":", -1)),
6198
- O(D, {
6189
+ C[11] || (C[11] = c("div", null, ":", -1)),
6190
+ A(D, {
6199
6191
  "model-value": $.value,
6200
6192
  placeholder: S(a)("rla.error_message.message_placeholder"),
6201
- "onUpdate:modelValue": A[4] || (A[4] = (q) => w.onModelUpdated(q, "config-error_message"))
6193
+ "onUpdate:modelValue": C[4] || (C[4] = (q) => b.onModelUpdated(q, "config-error_message"))
6202
6194
  }, null, 8, ["model-value", "placeholder"])
6203
6195
  ])
6204
6196
  ])
6205
6197
  ]),
6206
- O(ki, {
6198
+ A(ki, {
6207
6199
  modelValue: g.value,
6208
- "onUpdate:modelValue": A[9] || (A[9] = (q) => g.value = q),
6200
+ "onUpdate:modelValue": C[9] || (C[9] = (q) => g.value = q),
6209
6201
  "trigger-label": S(a)("rla.view_advanced_fields")
6210
6202
  }, {
6211
- default: M(() => [
6212
- O(te, {
6213
- model: w.formModel,
6214
- options: w.formOptions,
6203
+ default: w(() => [
6204
+ A(te, {
6205
+ model: b.formModel,
6206
+ options: b.formOptions,
6215
6207
  schema: s.value.endsWithStrategy,
6216
- onModelUpdated: A[5] || (A[5] = (q, ae) => w.onModelUpdated(q, ae))
6208
+ onModelUpdated: C[5] || (C[5] = (q, ae) => b.onModelUpdated(q, ae))
6217
6209
  }, null, 8, ["model", "options", "schema"]),
6218
- w.formModel["config-strategy"] === "redis" ? (u(), E(ie(w.enableRedisPartial ? "div" : "KCard"), {
6210
+ b.formModel["config-strategy"] === "redis" ? (u(), E(ie(b.enableRedisPartial ? "div" : "KCard"), {
6219
6211
  key: 0,
6220
6212
  class: "rla-form-redis-card",
6221
6213
  title: S(a)("rla.redis.title")
6222
6214
  }, {
6223
- default: M(() => [
6224
- O(te, {
6225
- "enable-redis-partial": w.enableRedisPartial,
6226
- "is-editing": w.isEditing,
6227
- model: w.formModel,
6228
- options: w.formOptions,
6215
+ default: w(() => [
6216
+ A(te, {
6217
+ "enable-redis-partial": b.enableRedisPartial,
6218
+ "is-editing": b.isEditing,
6219
+ model: b.formModel,
6220
+ options: b.formOptions,
6229
6221
  schema: s.value.redis,
6230
- onModelUpdated: A[6] || (A[6] = (q, ae) => w.onModelUpdated(q, ae)),
6231
- onPartialToggled: w.onPartialToggled,
6232
- onShowNewPartialModal: A[7] || (A[7] = () => w.showNewPartialModal(w.formSchema._supported_redis_partial_type))
6222
+ onModelUpdated: C[6] || (C[6] = (q, ae) => b.onModelUpdated(q, ae)),
6223
+ onPartialToggled: b.onPartialToggled,
6224
+ onShowNewPartialModal: C[7] || (C[7] = () => b.showNewPartialModal(b.formSchema._supported_redis_partial_type))
6233
6225
  }, null, 8, ["enable-redis-partial", "is-editing", "model", "options", "schema", "onPartialToggled"])
6234
6226
  ]),
6235
6227
  _: 1
6236
6228
  }, 8, ["title"])) : P("", !0),
6237
- O(te, {
6238
- class: W({ "rla-last-vfg": w.formModel["config-strategy"] !== "redis" }),
6239
- model: w.formModel,
6240
- options: w.formOptions,
6229
+ A(te, {
6230
+ class: W({ "rla-last-vfg": b.formModel["config-strategy"] !== "redis" }),
6231
+ model: b.formModel,
6232
+ options: b.formOptions,
6241
6233
  schema: s.value.afterStrategy,
6242
- onModelUpdated: A[8] || (A[8] = (q, ae) => w.onModelUpdated(q, ae))
6234
+ onModelUpdated: C[8] || (C[8] = (q, ae) => b.onModelUpdated(q, ae))
6243
6235
  }, null, 8, ["class", "model", "options", "schema"])
6244
6236
  ]),
6245
6237
  _: 1