@kong-ui-public/forms 4.13.13-pr.2283.c51c4303b.0 → 4.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/forms.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { createElementBlock as g, openBlock as u, createElementVNode as f, toDisplayString as $, normalizeClass as W, createVNode as C, defineComponent as re, provide as at, resolveComponent as F, withCtx as I, renderSlot as Oe, unref as w, createTextVNode as te, createBlock as A, resolveDynamicComponent as ie, Fragment as K, renderList as J, ref as ue, computed as L, toRefs as Le, inject as ot, onMounted as Fn, onBeforeMount as Ut, mergeProps as Ie, Transition as Ai, createCommentVNode as R, resolveDirective as kn, withDirectives as de, vModelText as Je, vModelCheckbox as Ei, vModelSelect as Fi, vModelDynamic as Un, isRef as Ye, toRef as ki, vModelRadio as Ui, vShow as $i, createSlots as $n, watch as $t, normalizeProps as Vi, guardReactiveProps as ji, useSlots as ft, nextTick as Dt } from "vue";
1
+ import { createElementBlock as g, openBlock as u, createElementVNode as f, toDisplayString as U, normalizeClass as W, createVNode as C, defineComponent as re, provide as at, resolveComponent as E, withCtx as I, renderSlot as Oe, unref as w, createTextVNode as te, createBlock as O, resolveDynamicComponent as ie, Fragment as K, renderList as J, ref as ue, computed as L, toRefs as Le, inject as ot, onMounted as Fn, onBeforeMount as Ut, mergeProps as Ie, Transition as Ai, createCommentVNode as R, resolveDirective as kn, withDirectives as de, vModelText as Je, vModelCheckbox as Ei, vModelSelect as Fi, vModelDynamic as Un, isRef as Ye, toRef as ki, vModelRadio as Ui, vShow as $i, createSlots as $n, watch as $t, normalizeProps as Vi, guardReactiveProps as ji, useSlots as ft, nextTick as Dt } from "vue";
2
2
  import { createI18n as ge } from "@kong-ui-public/i18n";
3
3
  import { TrashIcon as rt, AddIcon as Vt, RemoveIcon as Ri } from "@kong/icons";
4
4
  import { useStringHelpers as Pi, useErrors as Ni, useDebouncedFilter as Li, useAxios as qi } from "@kong-ui-public/entities-shared";
@@ -667,9 +667,9 @@ function Xe(e, t, n, a, i, r) {
667
667
  }
668
668
  }
669
669
  r || (r = new Ge());
670
- var E = r.get(e);
671
- if (E)
672
- return E;
670
+ var A = r.get(e);
671
+ if (A)
672
+ return A;
673
673
  r.set(e, s), ls(e) ? e.forEach(function(M) {
674
674
  s.add(Xe(M, t, n, M, e, r));
675
675
  }) : rs(e) && e.forEach(function(M, T) {
@@ -758,12 +758,12 @@ function it(e, t, n) {
758
758
  if (typeof e != "function")
759
759
  throw new TypeError(Ys);
760
760
  t = kt(t) || 0, me(n) && (h = !!n.leading, m = "maxWait" in n, r = m ? xs(kt(n.maxWait) || 0, t) : r, p = "trailing" in n ? !!n.trailing : p);
761
- function E(_) {
761
+ function A(_) {
762
762
  var v = a, j = i;
763
763
  return a = i = void 0, d = _, s = e.apply(j, v), s;
764
764
  }
765
765
  function N(_) {
766
- return d = _, o = setTimeout(T, t), h ? E(_) : s;
766
+ return d = _, o = setTimeout(T, t), h ? A(_) : s;
767
767
  }
768
768
  function c(_) {
769
769
  var v = _ - l, j = _ - d, x = t - v;
@@ -780,25 +780,25 @@ function it(e, t, n) {
780
780
  o = setTimeout(T, c(_));
781
781
  }
782
782
  function k(_) {
783
- return o = void 0, p && a ? E(_) : (a = i = void 0, s);
783
+ return o = void 0, p && a ? A(_) : (a = i = void 0, s);
784
784
  }
785
785
  function y() {
786
786
  o !== void 0 && clearTimeout(o), d = 0, a = l = i = o = void 0;
787
787
  }
788
- function O() {
788
+ function $() {
789
789
  return o === void 0 ? s : k(Ct());
790
790
  }
791
- function U() {
791
+ function F() {
792
792
  var _ = Ct(), v = M(_);
793
793
  if (a = arguments, i = this, l = _, v) {
794
794
  if (o === void 0)
795
795
  return N(l);
796
796
  if (m)
797
- return clearTimeout(o), o = setTimeout(T, t), E(l);
797
+ return clearTimeout(o), o = setTimeout(T, t), A(l);
798
798
  }
799
799
  return o === void 0 && (o = setTimeout(T, t)), s;
800
800
  }
801
- return U.cancel = y, U.flush = O, U;
801
+ return F.cancel = y, F.flush = $, F;
802
802
  }
803
803
  var Ws = "__lodash_hash_undefined__";
804
804
  function Zs(e) {
@@ -1133,17 +1133,17 @@ function bl(e, t, n) {
1133
1133
  millisecond: 0,
1134
1134
  isPm: null,
1135
1135
  timezoneOffset: null
1136
- }, r = [], s = [], o = t.replace(di, function(O, U) {
1137
- return s.push(gn(U)), "@@@";
1136
+ }, r = [], s = [], o = t.replace(di, function($, F) {
1137
+ return s.push(gn(F)), "@@@";
1138
1138
  }), l = {}, d = {};
1139
- o = gn(o).replace(li, function(O) {
1140
- var U = gl[O], _ = U[0], v = U[1], j = U[3];
1139
+ o = gn(o).replace(li, function($) {
1140
+ var F = gl[$], _ = F[0], v = F[1], j = F[3];
1141
1141
  if (l[_])
1142
1142
  throw new Error("Invalid format. " + _ + " specified twice in format");
1143
- return l[_] = !0, j && (d[j] = !0), r.push(U), "(" + v + ")";
1144
- }), Object.keys(d).forEach(function(O) {
1145
- if (!l[O])
1146
- throw new Error("Invalid format. " + O + " is required in specified format");
1143
+ return l[_] = !0, j && (d[j] = !0), r.push(F), "(" + v + ")";
1144
+ }), Object.keys(d).forEach(function($) {
1145
+ if (!l[$])
1146
+ throw new Error("Invalid format. " + $ + " is required in specified format");
1147
1147
  }), o = o.replace(/@@@/g, function() {
1148
1148
  return s.shift();
1149
1149
  });
@@ -1151,7 +1151,7 @@ function bl(e, t, n) {
1151
1151
  if (!h)
1152
1152
  return null;
1153
1153
  for (var m = Pe(Pe({}, dt), n), p = 1; p < h.length; p++) {
1154
- var E = r[p - 1], N = E[0], c = E[2], M = c ? c(h[p], m) : +h[p];
1154
+ var A = r[p - 1], N = A[0], c = A[2], M = c ? c(h[p], m) : +h[p];
1155
1155
  if (M == null)
1156
1156
  return null;
1157
1157
  i[N] = M;
@@ -1731,8 +1731,8 @@ const ye = {
1731
1731
  type: "button",
1732
1732
  onClick: n[0] || (n[0] = (...a) => t.handleOpen && t.handleOpen(...a))
1733
1733
  }, [
1734
- f("i", Yl, $(t.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
1735
- f("span", null, $(t.titleText), 1)
1734
+ f("i", Yl, U(t.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
1735
+ f("span", null, U(t.titleText), 1)
1736
1736
  ]),
1737
1737
  f("div", {
1738
1738
  class: W(["advanced-field-dropdown", t.openClass])
@@ -1765,7 +1765,7 @@ const ye = {
1765
1765
  emits: ["remove-item"],
1766
1766
  setup(e) {
1767
1767
  return at("vfg-array-item-index", e.index), (n, a) => {
1768
- const i = F("KCard"), r = F("KButton");
1768
+ const i = E("KCard"), r = E("KButton");
1769
1769
  return u(), g("div", Zl, [
1770
1770
  C(i, { class: "card" }, {
1771
1771
  default: I(() => [
@@ -1797,7 +1797,7 @@ const ye = {
1797
1797
  emits: ["remove-item"],
1798
1798
  setup(e) {
1799
1799
  return (t, n) => {
1800
- const a = F("KButton");
1800
+ const a = E("KButton");
1801
1801
  return u(), g("div", Ql, [
1802
1802
  f("div", Xl, [
1803
1803
  Oe(t.$slots, "default", {}, void 0, !0),
@@ -1823,7 +1823,7 @@ const ye = {
1823
1823
  emits: ["remove-item"],
1824
1824
  setup(e) {
1825
1825
  return (t, n) => {
1826
- const a = F("KButton");
1826
+ const a = E("KButton");
1827
1827
  return u(), g("div", nd, [
1828
1828
  Oe(t.$slots, "default", {}, void 0, !0),
1829
1829
  C(a, {
@@ -1976,8 +1976,8 @@ const sd = {
1976
1976
  }
1977
1977
  }, ld = ["data-testid", "data-testlabel"], dd = ["data-testid"], ud = { class: "autosuggest__results_message" };
1978
1978
  function cd(e, t, n, a, i, r) {
1979
- const s = F("KSelect");
1980
- return u(), A(ie(e.schema.disabled ? "k-tooltip" : "div"), {
1979
+ const s = E("KSelect");
1980
+ return u(), O(ie(e.schema.disabled ? "k-tooltip" : "div"), {
1981
1981
  class: "field-wrap autosuggest",
1982
1982
  "max-width": "300",
1983
1983
  text: a.t("general.disable_source_scope_change", { scope: r.scope })
@@ -2004,16 +2004,16 @@ function cd(e, t, n, a, i, r) {
2004
2004
  class: "first-part",
2005
2005
  "data-testid": o.id && `${o.id}-0`,
2006
2006
  "data-testlabel": o.label
2007
- }, $(r.getSuggestionLabel(o).split(" - ")[0]), 9, ld),
2007
+ }, U(r.getSuggestionLabel(o).split(" - ")[0]), 9, ld),
2008
2008
  (u(!0), g(K, null, J(r.getSuggestionLabel(o).split(" - ").slice(1), (l, d) => (u(), g("span", {
2009
2009
  key: d,
2010
2010
  class: "field-span",
2011
2011
  "data-testid": o.id && `${o.id}-${d + 1}` || d + 1
2012
- }, $(l), 9, dd))), 128))
2012
+ }, U(l), 9, dd))), 128))
2013
2013
  ]),
2014
2014
  empty: I(() => [
2015
2015
  f("div", ud, [
2016
- f("span", null, $(i.message), 1)
2016
+ f("span", null, U(i.message), 1)
2017
2017
  ])
2018
2018
  ]),
2019
2019
  _: 1
@@ -2028,7 +2028,7 @@ function md(e) {
2028
2028
  get() {
2029
2029
  var M, T;
2030
2030
  let c;
2031
- return z(B(e.schema, "get")) ? c = e.schema.get((M = e.model) == null ? void 0 : M.value) : c = B((T = e.model) == null ? void 0 : T.value, e.schema.model), E(c);
2031
+ return z(B(e.schema, "get")) ? c = e.schema.get((M = e.model) == null ? void 0 : M.value) : c = B((T = e.model) == null ? void 0 : T.value, e.schema.model), A(c);
2032
2032
  },
2033
2033
  set(c) {
2034
2034
  const M = i;
@@ -2040,10 +2040,10 @@ function md(e) {
2040
2040
  const M = B(e.formOptions, "validateAsync", !1);
2041
2041
  let T = [];
2042
2042
  if (e.schema.readonly !== !0 && e.disabled !== !0) {
2043
- const O = [], U = (y = e.schema) == null ? void 0 : y.validator;
2044
- U && (Array.isArray(U) ? le(U, (_) => {
2045
- O.push(a(_));
2046
- }) : O.push(a(U))), z(e.externalValidator) && O.push(e.externalValidator), le(O, (_) => {
2043
+ const $ = [], F = (y = e.schema) == null ? void 0 : y.validator;
2044
+ F && (Array.isArray(F) ? le(F, (_) => {
2045
+ $.push(a(_));
2046
+ }) : $.push(a(F))), z(e.externalValidator) && $.push(e.externalValidator), le($, (_) => {
2047
2047
  var v, j;
2048
2048
  if (M)
2049
2049
  T.push(_(i.value, e.schema, (v = e.model) == null ? void 0 : v.value));
@@ -2057,16 +2057,16 @@ function md(e) {
2057
2057
  }
2058
2058
  });
2059
2059
  }
2060
- const k = (O) => {
2060
+ const k = ($) => {
2061
2061
  var _, v;
2062
- let U = [];
2063
- if (le(oi(O), (j) => {
2064
- Array.isArray(j) && j.length > 0 ? U = U.concat(j) : Re(j) && U.push(j);
2065
- }), z((_ = e.schema) == null ? void 0 : _.onValidated) && e.schema.onValidated((v = e.model) == null ? void 0 : v.value, U, e.schema), !c) {
2066
- const j = U.length === 0;
2067
- e.emitValidated && e.emitValidated({ isValid: j, errors: U, field: e.schema });
2062
+ let F = [];
2063
+ if (le(oi($), (j) => {
2064
+ Array.isArray(j) && j.length > 0 ? F = F.concat(j) : Re(j) && F.push(j);
2065
+ }), z((_ = e.schema) == null ? void 0 : _.onValidated) && e.schema.onValidated((v = e.model) == null ? void 0 : v.value, F, e.schema), !c) {
2066
+ const j = F.length === 0;
2067
+ e.emitValidated && e.emitValidated({ isValid: j, errors: F, field: e.schema });
2068
2068
  }
2069
- return O = U, U;
2069
+ return $ = F, F;
2070
2070
  };
2071
2071
  return M ? Promise.all(T).then(k) : k(T);
2072
2072
  }, s = () => {
@@ -2075,9 +2075,9 @@ function md(e) {
2075
2075
  B(e.schema, "validateDebounceTime", B(e.formOptions, "validateDebounceTime", 500))
2076
2076
  );
2077
2077
  }, o = (c, M) => {
2078
- var k, y, O;
2078
+ var k, y, $;
2079
2079
  let T = !1;
2080
- z(e.schema.set) ? (e.schema.set((k = e.model) == null ? void 0 : k.value, c), T = !0) : e.schema.model && (d(e.schema.model, c), T = !0), T && (e.emitModelUpdated && ((y = e.model) != null && y.value) && e.emitModelUpdated({ value: c, model: e.schema.model }), z(e.schema.onChanged) && e.schema.onChanged((O = e.model) == null ? void 0 : O.value, c, M, e.schema), B(e.formOptions, "validateAfterChanged", !1) === !0 && (B(e.schema, "validateDebounceTime", B(e.formOptions, "validateDebounceTime", 0)) > 0 ? s() : r()));
2080
+ z(e.schema.set) ? (e.schema.set((k = e.model) == null ? void 0 : k.value, c), T = !0) : e.schema.model && (d(e.schema.model, c), T = !0), T && (e.emitModelUpdated && ((y = e.model) != null && y.value) && e.emitModelUpdated({ value: c, model: e.schema.model }), z(e.schema.onChanged) && e.schema.onChanged(($ = e.model) == null ? void 0 : $.value, c, M, e.schema), B(e.formOptions, "validateAfterChanged", !1) === !0 && (B(e.schema, "validateDebounceTime", B(e.formOptions, "validateDebounceTime", 0)) > 0 ? s() : r()));
2081
2081
  }, l = () => {
2082
2082
  t.value.splice(0);
2083
2083
  }, d = (c, M) => {
@@ -2085,10 +2085,10 @@ function md(e) {
2085
2085
  let T = c.replace(/\[(\w+)\]/g, ".$1");
2086
2086
  T = T.replace(/^\./, "");
2087
2087
  let k = ((_ = e.model) == null ? void 0 : _.value) || {}, y = 0;
2088
- const O = T.split("."), U = O.length;
2089
- for (; y < U; ) {
2090
- const v = O[y];
2091
- if (y < U - 1)
2088
+ const $ = T.split("."), F = $.length;
2089
+ for (; y < F; ) {
2090
+ const v = $[y];
2091
+ if (y < F - 1)
2092
2092
  k[v] !== void 0 || (k[v] = {}), k = k[v];
2093
2093
  else {
2094
2094
  k[v] = M;
@@ -2099,7 +2099,7 @@ function md(e) {
2099
2099
  }, h = (c, M = !1) => {
2100
2100
  const T = B(e.formOptions, "fieldIdPrefix", "");
2101
2101
  return Kt(c, T) + (M ? "-" + si() : "");
2102
- }, m = (c) => `${h(c)}-label`, p = () => B(e.schema, "fieldClasses", []), E = (c) => e.formatValueToField && typeof e.formatValueToField == "function" ? e.formatValueToField(c) : c, N = (c) => e.formatValueToModel && typeof e.formatValueToModel == "function" ? e.formatValueToModel(c) : c;
2102
+ }, m = (c) => `${h(c)}-label`, p = () => B(e.schema, "fieldClasses", []), A = (c) => e.formatValueToField && typeof e.formatValueToField == "function" ? e.formatValueToField(c) : c, N = (c) => e.formatValueToModel && typeof e.formatValueToModel == "function" ? e.formatValueToModel(c) : c;
2103
2103
  return {
2104
2104
  value: i,
2105
2105
  clearValidationErrors: l,
@@ -2201,8 +2201,8 @@ const be = {
2201
2201
  clearValidationErrors: d
2202
2202
  });
2203
2203
  const m = L(() => {
2204
- var O;
2205
- const y = (O = a.schema) == null ? void 0 : O.inputType.toLowerCase();
2204
+ var $;
2205
+ const y = ($ = a.schema) == null ? void 0 : $.inputType.toLowerCase();
2206
2206
  switch (y) {
2207
2207
  case "string":
2208
2208
  return "text";
@@ -2215,22 +2215,22 @@ const be = {
2215
2215
  date: "YYYY-MM-DD",
2216
2216
  datetime: "YYYY-MM-DD HH:mm:ss",
2217
2217
  "datetime-local": "YYYY-MM-DDTHH:mm:ss"
2218
- }, E = (y, O) => {
2218
+ }, A = (y, $) => {
2219
2219
  var j, x;
2220
- let U = y;
2220
+ let F = y;
2221
2221
  const _ = p[m.value] || "", v = Be.parse(y, _);
2222
- v && ((j = a.schema) != null && j.format ? U = Be.format(v, (x = a.schema) == null ? void 0 : x.format) : U = v.valueOf()), o(U, O);
2223
- }, N = (y, O) => {
2224
- ct(y) || (y = NaN), o(y, O);
2222
+ v && ((j = a.schema) != null && j.format ? F = Be.format(v, (x = a.schema) == null ? void 0 : x.format) : F = v.valueOf()), o(F, $);
2223
+ }, N = (y, $) => {
2224
+ ct(y) || (y = NaN), o(y, $);
2225
2225
  }, c = (y) => {
2226
- let O = y;
2226
+ let $ = y;
2227
2227
  switch (m.value) {
2228
2228
  case "number":
2229
2229
  case "range":
2230
- ct(parseFloat(y)) && (O = parseFloat(y));
2230
+ ct(parseFloat(y)) && ($ = parseFloat(y));
2231
2231
  break;
2232
2232
  }
2233
- h.value = O, o(O, y);
2233
+ h.value = $, o($, y);
2234
2234
  }, M = (y) => {
2235
2235
  h.value = y, o(y, y);
2236
2236
  }, T = ue(null), k = () => {
@@ -2242,8 +2242,8 @@ const be = {
2242
2242
  case "number":
2243
2243
  case "range":
2244
2244
  T.value = it(
2245
- (y, O) => {
2246
- N(y, O);
2245
+ (y, $) => {
2246
+ N(y, $);
2247
2247
  },
2248
2248
  parseInt(B(a.schema, "debounceFormatTimeout", 1e3)),
2249
2249
  {
@@ -2256,8 +2256,8 @@ const be = {
2256
2256
  case "datetime":
2257
2257
  case "datetime-local":
2258
2258
  T.value = it(
2259
- (y, O) => {
2260
- E(y, O);
2259
+ (y, $) => {
2260
+ A(y, $);
2261
2261
  },
2262
2262
  parseInt(B(a.schema, "debounceFormatTimeout", 1e3)),
2263
2263
  {
@@ -2269,10 +2269,10 @@ const be = {
2269
2269
  }
2270
2270
  }), Ut(() => {
2271
2271
  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.");
2272
- }), (y, O) => {
2273
- const U = F("KInput");
2272
+ }), (y, $) => {
2273
+ const F = E("KInput");
2274
2274
  return u(), g("div", pd, [
2275
- C(U, Ie(y.$attrs, {
2275
+ C(F, Ie(y.$attrs, {
2276
2276
  id: w(l)(e.schema),
2277
2277
  autocomplete: e.schema.autocomplete,
2278
2278
  class: e.schema.fieldClasses,
@@ -2294,7 +2294,7 @@ const be = {
2294
2294
  onBlur: k,
2295
2295
  "onUpdate:modelValue": c
2296
2296
  }), null, 16, ["id", "autocomplete", "class", "disabled", "help", "max", "maxlength", "min", "minlength", "model-value", "name", "pattern", "placeholder", "readonly", "required", "show-password-mask-toggle", "type", "width"]),
2297
- (u(), A(ie(w(s)), {
2297
+ (u(), O(ie(w(s)), {
2298
2298
  schema: e.schema,
2299
2299
  update: M,
2300
2300
  value: w(h)
@@ -2317,7 +2317,7 @@ const be = {
2317
2317
  class: "content"
2318
2318
  };
2319
2319
  function bd(e, t, n, a, i, r) {
2320
- const s = F("AddIcon"), o = F("TrashIcon"), l = F("KButton");
2320
+ const s = E("AddIcon"), o = E("TrashIcon"), l = E("KButton");
2321
2321
  return u(), g("div", {
2322
2322
  class: W(["field-dropdown", { active: i.contentVisible }])
2323
2323
  }, [
@@ -2325,7 +2325,7 @@ function bd(e, t, n, a, i, r) {
2325
2325
  class: "title",
2326
2326
  onClick: t[0] || (t[0] = (d) => i.contentVisible = !i.contentVisible)
2327
2327
  }, [
2328
- te($(e.model.name ? e.model.name : "New Item") + " ", 1),
2328
+ te(U(e.model.name ? e.model.name : "New Item") + " ", 1),
2329
2329
  C(s, { class: "metric-add-icon" })
2330
2330
  ]),
2331
2331
  C(Ai, { name: "slide-fade" }, {
@@ -2392,7 +2392,7 @@ const _i = /* @__PURE__ */ H(vd, [["render", bd]]), _d = { class: "field-object-
2392
2392
  return (t, n) => {
2393
2393
  const a = kn("attributes");
2394
2394
  return de((u(), g("div", _d, [
2395
- t.schema.schema ? (u(), A(ee, {
2395
+ t.schema.schema ? (u(), O(ee, {
2396
2396
  key: 0,
2397
2397
  model: t.value,
2398
2398
  options: t.formOptions,
@@ -2404,7 +2404,7 @@ const _i = /* @__PURE__ */ H(vd, [["render", bd]]), _d = { class: "field-object-
2404
2404
  class: W(t.schema.fieldClasses)
2405
2405
  }, [
2406
2406
  (u(!0), g(K, null, J(t.value, (i, r) => (u(), g("tr", { key: r }, [
2407
- f("td", null, $(r), 1),
2407
+ f("td", null, U(r), 1),
2408
2408
  t.keyTypes[r] === "string" ? (u(), g("td", Sd, [
2409
2409
  de(f("input", {
2410
2410
  "onUpdate:modelValue": (s) => t.value[r] = s,
@@ -2573,7 +2573,7 @@ const _i = /* @__PURE__ */ H(vd, [["render", bd]]), _d = { class: "field-object-
2573
2573
  __name: "FieldObjectAdvanced",
2574
2574
  setup(e) {
2575
2575
  return (t, n) => {
2576
- const a = F("KButton");
2576
+ const a = E("KButton");
2577
2577
  return u(), g("div", {
2578
2578
  id: t.getFieldID(t.schema),
2579
2579
  class: W(["object-advanced-wrapper", t.schema.fieldClasses])
@@ -2585,7 +2585,7 @@ const _i = /* @__PURE__ */ H(vd, [["render", bd]]), _d = { class: "field-object-
2585
2585
  f("div", null, [
2586
2586
  f("div", Vd, [
2587
2587
  f("div", jd, [
2588
- f("strong", null, $(r), 1),
2588
+ f("strong", null, U(r), 1),
2589
2589
  f("div", null, [
2590
2590
  C(a, {
2591
2591
  appearance: "tertiary",
@@ -2619,8 +2619,8 @@ const _i = /* @__PURE__ */ H(vd, [["render", bd]]), _d = { class: "field-object-
2619
2619
  }, null, 40, Nd), [
2620
2620
  [Un, t.value[r]]
2621
2621
  ]),
2622
- t.schema.fields && t.schema.fields[0].schema.hint ? (u(), g("p", Ld, $(t.schema.fields[0].schema.hint), 1)) : R("", !0),
2623
- (u(), A(ie(t.autofillSlot), {
2622
+ t.schema.fields && t.schema.fields[0].schema.hint ? (u(), g("p", Ld, U(t.schema.fields[0].schema.hint), 1)) : R("", !0),
2623
+ (u(), O(ie(t.autofillSlot), {
2624
2624
  schema: t.schema.fields && t.schema.fields[0].schema || t.schema.values,
2625
2625
  update: (s) => t.value[r] = s,
2626
2626
  value: t.value[r]
@@ -2650,12 +2650,12 @@ const _i = /* @__PURE__ */ H(vd, [["render", bd]]), _d = { class: "field-object-
2650
2650
  onClick: t.addKey
2651
2651
  }, {
2652
2652
  default: I(() => [
2653
- te(" + Add " + $(t.schema.buttonLabel || t.schema.label), 1)
2653
+ te(" + Add " + U(t.schema.buttonLabel || t.schema.label), 1)
2654
2654
  ]),
2655
2655
  _: 1
2656
2656
  }, 8, ["disabled", "onClick"])
2657
2657
  ]),
2658
- t.schema.hintText ? (u(), g("p", Dd, $(t.schema.hintText), 1)) : R("", !0)
2658
+ t.schema.hintText ? (u(), g("p", Dd, U(t.schema.hintText), 1)) : R("", !0)
2659
2659
  ], 2)
2660
2660
  ], 10, Ud);
2661
2661
  };
@@ -2716,18 +2716,18 @@ const _i = /* @__PURE__ */ H(vd, [["render", bd]]), _d = { class: "field-object-
2716
2716
  typeof h == "string" && (m = h.split(","), a.schema.array || (m = m.toString())), s(m, h);
2717
2717
  };
2718
2718
  return (h, m) => {
2719
- const p = F("KRadio");
2719
+ const p = E("KRadio");
2720
2720
  return u(), g("div", Hd, [
2721
- (u(!0), g(K, null, J(e.schema.values, (E, N) => (u(), A(p, {
2721
+ (u(!0), g(K, null, J(e.schema.values, (A, N) => (u(), O(p, {
2722
2722
  id: e.schema.name + "-" + N,
2723
- key: E.value,
2723
+ key: A.value,
2724
2724
  modelValue: w(o),
2725
2725
  "onUpdate:modelValue": m[0] || (m[0] = (c) => Ye(o) ? o.value = c : null),
2726
- label: E.name,
2726
+ label: A.name,
2727
2727
  "label-attributes": { info: e.schema.help },
2728
2728
  name: e.schema.name,
2729
2729
  required: e.schema.required || void 0,
2730
- "selected-value": E.value,
2730
+ "selected-value": A.value,
2731
2731
  onChange: d
2732
2732
  }, null, 8, ["id", "modelValue", "label", "label-attributes", "name", "required", "selected-value"]))), 128))
2733
2733
  ]);
@@ -2793,12 +2793,12 @@ const _i = /* @__PURE__ */ H(vd, [["render", bd]]), _d = { class: "field-object-
2793
2793
  return c.forEach((T) => {
2794
2794
  M.push({
2795
2795
  label: N(T),
2796
- value: E(T),
2796
+ value: A(T),
2797
2797
  disabled: typeof T == "object" && T.disabled || void 0,
2798
2798
  group: typeof T == "object" && String(T.group || "").toUpperCase() || void 0
2799
2799
  });
2800
2800
  }), M;
2801
- }, E = (c) => {
2801
+ }, A = (c) => {
2802
2802
  if (me(c)) {
2803
2803
  if (r.value && typeof r.value.value < "u")
2804
2804
  return c[r.value.value];
@@ -2818,8 +2818,8 @@ const _i = /* @__PURE__ */ H(vd, [["render", bd]]), _d = { class: "field-object-
2818
2818
  return String(c);
2819
2819
  };
2820
2820
  return (c, M) => {
2821
- const T = F("KSelect");
2822
- return u(), A(T, {
2821
+ const T = E("KSelect");
2822
+ return u(), O(T, {
2823
2823
  id: w(l)(e.schema),
2824
2824
  modelValue: w(h),
2825
2825
  "onUpdate:modelValue": M[0] || (M[0] = (k) => Ye(h) ? h.value = k : null),
@@ -2903,7 +2903,7 @@ const _i = /* @__PURE__ */ H(vd, [["render", bd]]), _d = { class: "field-object-
2903
2903
  }
2904
2904
  }, Gd = ["id"], Wd = { key: 1 }, Zd = ["onUpdate:modelValue", "aria-labelledby", "type"], Jd = ["onUpdate:modelValue", "aria-labelledby"];
2905
2905
  function Qd(e, t, n, a, i, r) {
2906
- const s = F("KTextArea"), o = F("KInput"), l = F("KButton");
2906
+ const s = E("KTextArea"), o = E("KInput"), l = E("KButton");
2907
2907
  return e.schema ? (u(), g("div", {
2908
2908
  key: 0,
2909
2909
  id: e.getFieldID(e.schema),
@@ -2913,7 +2913,7 @@ function Qd(e, t, n, a, i, r) {
2913
2913
  key: h,
2914
2914
  class: W(e.schema.fieldItemsClasses)
2915
2915
  }, [
2916
- e.schema.items && e.schema.itemContainerComponent ? (u(), A(ie(e.schema.itemContainerComponent), {
2916
+ e.schema.items && e.schema.itemContainerComponent ? (u(), O(ie(e.schema.itemContainerComponent), {
2917
2917
  key: 0,
2918
2918
  index: h,
2919
2919
  model: d,
@@ -2921,7 +2921,7 @@ function Qd(e, t, n, a, i, r) {
2921
2921
  onRemoveItem: (m) => r.removeElement(h)
2922
2922
  }, {
2923
2923
  default: I(() => [
2924
- (u(), A(ie(r.getFieldComponent(e.schema.items)), {
2924
+ (u(), O(ie(r.getFieldComponent(e.schema.items)), {
2925
2925
  "form-options": e.formOptions,
2926
2926
  model: d,
2927
2927
  schema: r.generateSchema(e.value, e.schema.items, h),
@@ -2930,13 +2930,13 @@ function Qd(e, t, n, a, i, r) {
2930
2930
  ]),
2931
2931
  _: 2
2932
2932
  }, 1064, ["index", "model", "schema", "onRemoveItem"])) : e.schema.items ? (u(), g("span", Wd, [
2933
- (u(), A(ie(r.getFieldComponent(e.schema.items)), {
2933
+ (u(), O(ie(r.getFieldComponent(e.schema.items)), {
2934
2934
  "form-options": e.formOptions,
2935
2935
  model: d,
2936
2936
  schema: r.generateSchema(e.value, e.schema.items, h),
2937
2937
  onModelUpdated: r.modelUpdated
2938
2938
  }, null, 40, ["form-options", "model", "schema", "onModelUpdated"]))
2939
- ])) : e.schema.itemContainerComponent ? (u(), A(ie(e.schema.itemContainerComponent), {
2939
+ ])) : e.schema.itemContainerComponent ? (u(), O(ie(e.schema.itemContainerComponent), {
2940
2940
  key: 2,
2941
2941
  "data-testid": `${e.getFieldID(e.schema)}-item-${h}`,
2942
2942
  model: d,
@@ -2944,7 +2944,7 @@ function Qd(e, t, n, a, i, r) {
2944
2944
  onRemoveItem: (m) => r.removeElement(h)
2945
2945
  }, {
2946
2946
  after: I(() => [
2947
- (u(), A(ie(r.autofillSlot), {
2947
+ (u(), O(ie(r.autofillSlot), {
2948
2948
  schema: e.schema,
2949
2949
  update: (m) => e.value[h] = m,
2950
2950
  value: e.value[h]
@@ -2953,7 +2953,7 @@ function Qd(e, t, n, a, i, r) {
2953
2953
  default: I(() => {
2954
2954
  var m;
2955
2955
  return [
2956
- e.schema.inputAttributes && e.schema.inputAttributes.type === "textarea" ? (u(), A(s, Ie({
2956
+ e.schema.inputAttributes && e.schema.inputAttributes.type === "textarea" ? (u(), O(s, Ie({
2957
2957
  key: 0,
2958
2958
  ref_for: !0
2959
2959
  }, e.schema.inputAttributes, {
@@ -2972,7 +2972,7 @@ function Qd(e, t, n, a, i, r) {
2972
2972
  required: e.schema.required,
2973
2973
  resizable: "",
2974
2974
  rows: e.schema.rows || 3
2975
- }), null, 16, ["id", "modelValue", "onUpdate:modelValue", "aria-labelledby", "character-limit", "class", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows"])) : !e.schema.inputAttributes || !e.schema.inputAttributes.type || e.schema.inputAttributes.type === "text" || e.schema.inputAttributes.type === "number" ? (u(), A(o, Ie({
2975
+ }), null, 16, ["id", "modelValue", "onUpdate:modelValue", "aria-labelledby", "character-limit", "class", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows"])) : !e.schema.inputAttributes || !e.schema.inputAttributes.type || e.schema.inputAttributes.type === "text" || e.schema.inputAttributes.type === "number" ? (u(), O(o, Ie({
2976
2976
  key: 1,
2977
2977
  "aria-labelledby": e.getLabelId(e.schema),
2978
2978
  ref_for: !0
@@ -3003,7 +3003,7 @@ function Qd(e, t, n, a, i, r) {
3003
3003
  }), null, 16, Jd), [
3004
3004
  [Je, e.value[h]]
3005
3005
  ]),
3006
- (u(), A(ie(r.autofillSlot), {
3006
+ (u(), O(ie(r.autofillSlot), {
3007
3007
  schema: e.schema,
3008
3008
  update: (m) => e.value[h] = m,
3009
3009
  value: e.value[h]
@@ -3018,7 +3018,7 @@ function Qd(e, t, n, a, i, r) {
3018
3018
  onClick: r.newElement
3019
3019
  }, {
3020
3020
  default: I(() => [
3021
- te($(e.schema.newElementButtonLabel || n.newElementButtonLabel), 1)
3021
+ te(U(e.schema.newElementButtonLabel || n.newElementButtonLabel), 1)
3022
3022
  ]),
3023
3023
  _: 1
3024
3024
  }, 8, ["class", "data-testid", "onClick"])
@@ -3075,7 +3075,7 @@ const Xd = /* @__PURE__ */ H(xd, [["render", Qd], ["__scopeId", "data-v-27efd618
3075
3075
  return t({
3076
3076
  clearValidationErrors: l
3077
3077
  }), (d, h) => {
3078
- const m = F("KCheckbox");
3078
+ const m = E("KCheckbox");
3079
3079
  return u(), g("div", eu, [
3080
3080
  C(m, Ie(d.$attrs, {
3081
3081
  id: w(s)(e.schema),
@@ -3121,7 +3121,7 @@ function cu(e, t, n, a, i, r) {
3121
3121
  }, null, 40, ou), [
3122
3122
  [s, "input"]
3123
3123
  ]),
3124
- te($(r.getItemName(o)), 1)
3124
+ te(U(r.getItemName(o)), 1)
3125
3125
  ])
3126
3126
  ], 2))), 256))
3127
3127
  ], 8, ru)) : R("", !0),
@@ -3134,7 +3134,7 @@ function cu(e, t, n, a, i, r) {
3134
3134
  class: W(["mainRow", { expanded: i.comboExpanded }]),
3135
3135
  onClick: t[0] || (t[0] = (...o) => r.onExpandCombo && r.onExpandCombo(...o))
3136
3136
  }, [
3137
- f("div", lu, $(r.selectedCount) + " selected", 1),
3137
+ f("div", lu, U(r.selectedCount) + " selected", 1),
3138
3138
  t[1] || (t[1] = f("div", { class: "arrow" }, null, -1))
3139
3139
  ], 2),
3140
3140
  f("div", du, [
@@ -3152,7 +3152,7 @@ function cu(e, t, n, a, i, r) {
3152
3152
  }, null, 40, uu), [
3153
3153
  [s, "input"]
3154
3154
  ]),
3155
- te($(r.getItemName(o)), 1)
3155
+ te(U(r.getItemName(o)), 1)
3156
3156
  ])
3157
3157
  ], 2))), 256)) : R("", !0)
3158
3158
  ])
@@ -3273,7 +3273,7 @@ const mu = {
3273
3273
  }
3274
3274
  }, pu = { class: "key-value-pairs-editor" }, gu = { class: "pair-item-cell" }, vu = ["data-testid", "placeholder", "value", "onInput"], yu = { class: "pair-item-cell" }, bu = ["data-testid", "placeholder", "value", "onInput"];
3275
3275
  function _u(e, t, n, a, i, r) {
3276
- const s = F("TrashIcon"), o = F("KButton");
3276
+ const s = E("TrashIcon"), o = E("KButton");
3277
3277
  return u(), g("div", pu, [
3278
3278
  (u(!0), g(K, null, J(i.pairs, (l, d) => (u(), g("div", {
3279
3279
  key: d,
@@ -3290,7 +3290,7 @@ function _u(e, t, n, a, i, r) {
3290
3290
  r.onInput(h, d, "key");
3291
3291
  }
3292
3292
  }, null, 40, vu),
3293
- (u(), A(ie(r.autofillSlot), {
3293
+ (u(), O(ie(r.autofillSlot), {
3294
3294
  schema: e.schema,
3295
3295
  update: (h) => r.onInput({ target: { value: h } }, d, "key"),
3296
3296
  value: l.key
@@ -3307,7 +3307,7 @@ function _u(e, t, n, a, i, r) {
3307
3307
  r.onInput(h, d, "value");
3308
3308
  }
3309
3309
  }, null, 40, bu),
3310
- (u(), A(ie(r.autofillSlot), {
3310
+ (u(), O(ie(r.autofillSlot), {
3311
3311
  schema: e.schema,
3312
3312
  update: (h) => r.onInput({ target: { value: h } }, d, "value"),
3313
3313
  value: l.value
@@ -3334,7 +3334,7 @@ function _u(e, t, n, a, i, r) {
3334
3334
  onClick: r.addPair
3335
3335
  }, {
3336
3336
  default: I(() => [
3337
- te($(e.schema.newElementButtonLabel ?? "+ Add Pair"), 1)
3337
+ te(U(e.schema.newElementButtonLabel ?? "+ Add Pair"), 1)
3338
3338
  ]),
3339
3339
  _: 1
3340
3340
  }, 8, ["class", "data-testid", "onClick"])
@@ -3373,7 +3373,7 @@ const wu = /* @__PURE__ */ H(hu, [["render", _u], ["__scopeId", "data-v-70998d5b
3373
3373
  formOptions: t.formOptions
3374
3374
  });
3375
3375
  return (r, s) => {
3376
- const o = F("KLabel");
3376
+ const o = E("KLabel");
3377
3377
  return u(), g("span", {
3378
3378
  class: W(["field-label", e.schema.fieldClasses])
3379
3379
  }, [
@@ -3381,7 +3381,7 @@ const wu = /* @__PURE__ */ H(hu, [["render", _u], ["__scopeId", "data-v-70998d5b
3381
3381
  id: w(a)(e.schema)
3382
3382
  }, {
3383
3383
  default: I(() => [
3384
- te($(w(i)), 1)
3384
+ te(U(w(i)), 1)
3385
3385
  ]),
3386
3386
  _: 1
3387
3387
  }, 8, ["id"])
@@ -3441,11 +3441,11 @@ const wu = /* @__PURE__ */ H(hu, [["render", _u], ["__scopeId", "data-v-70998d5b
3441
3441
  });
3442
3442
  const h = L(() => {
3443
3443
  var m, p;
3444
- return a.schema.values ? a.schema.values : (p = (m = a.schema.elements) == null ? void 0 : m.one_of) != null && p.length ? a.schema.elements.one_of.map((E) => ({ label: String(E), value: String(E) })) : [];
3444
+ return a.schema.values ? a.schema.values : (p = (m = a.schema.elements) == null ? void 0 : m.one_of) != null && p.length ? a.schema.elements.one_of.map((A) => ({ label: String(A), value: String(A) })) : [];
3445
3445
  });
3446
3446
  return (m, p) => {
3447
- const E = F("KMultiselect");
3448
- return u(), A(E, {
3447
+ const A = E("KMultiselect");
3448
+ return u(), O(A, {
3449
3449
  id: w(o)(e.schema),
3450
3450
  modelValue: w(d),
3451
3451
  "onUpdate:modelValue": p[0] || (p[0] = (N) => Ye(d) ? d.value = N : null),
@@ -3506,7 +3506,7 @@ const wu = /* @__PURE__ */ H(hu, [["render", _u], ["__scopeId", "data-v-70998d5b
3506
3506
  setup(e) {
3507
3507
  const { t } = ge("en-us", ve);
3508
3508
  return (n, a) => (u(), g("div", Cu, [
3509
- (u(), A(ie(n.$props.disabled ? "k-tooltip" : "div"), {
3509
+ (u(), O(ie(n.$props.disabled ? "k-tooltip" : "div"), {
3510
3510
  "max-width": "300",
3511
3511
  text: w(t)("general.disable_global_radio", { scope: n.scope })
3512
3512
  }, {
@@ -3529,8 +3529,8 @@ const wu = /* @__PURE__ */ H(hu, [["render", _u], ["__scopeId", "data-v-70998d5b
3529
3529
  }, null, 8, Au), [
3530
3530
  [Ui, n.checkedGroup]
3531
3531
  ]),
3532
- te(" " + $(i.label) + " ", 1),
3533
- f("div", Eu, $(i.description), 1)
3532
+ te(" " + U(i.label) + " ", 1),
3533
+ f("div", Eu, U(i.description), 1)
3534
3534
  ], 2)
3535
3535
  ], 2))), 128))
3536
3536
  ])
@@ -3609,13 +3609,13 @@ const wu = /* @__PURE__ */ H(hu, [["render", _u], ["__scopeId", "data-v-70998d5b
3609
3609
  });
3610
3610
  return t({
3611
3611
  clearValidationErrors: m
3612
- }), (p, E) => {
3613
- const N = F("KInputSwitch");
3612
+ }), (p, A) => {
3613
+ const N = E("KInputSwitch");
3614
3614
  return u(), g("div", ju, [
3615
3615
  C(N, {
3616
3616
  id: w(d)(e.schema),
3617
3617
  modelValue: w(h),
3618
- "onUpdate:modelValue": E[0] || (E[0] = (c) => Ye(h) ? h.value = c : null),
3618
+ "onUpdate:modelValue": A[0] || (A[0] = (c) => Ye(h) ? h.value = c : null),
3619
3619
  autocomplete: e.schema.autocomplete,
3620
3620
  class: W(e.schema.fieldClasses),
3621
3621
  disabled: e.disabled || void 0,
@@ -3681,13 +3681,13 @@ const wu = /* @__PURE__ */ H(hu, [["render", _u], ["__scopeId", "data-v-70998d5b
3681
3681
  const m = (p) => {
3682
3682
  h.value = p, o(p, p);
3683
3683
  };
3684
- return (p, E) => {
3685
- const N = F("KTextArea");
3684
+ return (p, A) => {
3685
+ const N = E("KTextArea");
3686
3686
  return u(), g("div", Pu, [
3687
3687
  C(N, Ie(p.$attrs, {
3688
3688
  id: w(l)(e.schema),
3689
3689
  modelValue: w(h),
3690
- "onUpdate:modelValue": E[0] || (E[0] = (c) => Ye(h) ? h.value = c : null),
3690
+ "onUpdate:modelValue": A[0] || (A[0] = (c) => Ye(h) ? h.value = c : null),
3691
3691
  autosize: "",
3692
3692
  "character-limit": e.schema.max,
3693
3693
  class: e.schema.fieldClasses,
@@ -3701,7 +3701,7 @@ const wu = /* @__PURE__ */ H(hu, [["render", _u], ["__scopeId", "data-v-70998d5b
3701
3701
  resizable: "",
3702
3702
  rows: e.schema.rows || 3
3703
3703
  }), null, 16, ["id", "modelValue", "character-limit", "class", "disabled", "help", "minlength", "name", "placeholder", "readonly", "required", "rows"]),
3704
- (u(), A(ie(w(s)), {
3704
+ (u(), O(ie(w(s)), {
3705
3705
  schema: e.schema,
3706
3706
  update: m,
3707
3707
  value: w(h)
@@ -3866,11 +3866,11 @@ const wu = /* @__PURE__ */ H(hu, [["render", _u], ["__scopeId", "data-v-70998d5b
3866
3866
  class: "errors help-block"
3867
3867
  }, Ju = ["innerHTML"];
3868
3868
  function Qu(e, t, n, a, i, r) {
3869
- const s = F("KExternalLink"), o = F("KLabel");
3869
+ const s = E("KExternalLink"), o = E("KLabel");
3870
3870
  return u(), g("div", {
3871
3871
  class: W(["form-group", e.getFieldRowClasses(n.field)])
3872
3872
  }, [
3873
- r.fieldTypeHasLabel(n.field) ? (u(), A(o, {
3873
+ r.fieldTypeHasLabel(n.field) ? (u(), O(o, {
3874
3874
  key: 0,
3875
3875
  "aria-describedby": n.field.help ? r.getTooltipId(n.field) : void 0,
3876
3876
  class: W([n.field.labelClasses, "form-group-label"]),
@@ -3912,7 +3912,7 @@ function Qu(e, t, n, a, i, r) {
3912
3912
  } : void 0
3913
3913
  ]), 1032, ["aria-describedby", "class", "for", "info", "tooltip-attributes"])) : R("", !0),
3914
3914
  f("div", Yu, [
3915
- (u(), A(ie(r.getFieldComponent(n.field)), Ie(e.$attrs, {
3915
+ (u(), O(ie(r.getFieldComponent(n.field)), Ie(e.$attrs, {
3916
3916
  ref: "child",
3917
3917
  disabled: e.fieldDisabled(n.field) || null,
3918
3918
  "form-options": n.options,
@@ -3930,7 +3930,7 @@ function Qu(e, t, n, a, i, r) {
3930
3930
  class: W(l.classes),
3931
3931
  type: r.getButtonType(l),
3932
3932
  onClick: (h) => r.buttonClickHandler(l, n.field, h),
3933
- textContent: $(l.label)
3933
+ textContent: U(l.label)
3934
3934
  }, null, 10, Gu))), 128))
3935
3935
  ])) : R("", !0)
3936
3936
  ]),
@@ -3991,10 +3991,10 @@ const ec = (e) => {
3991
3991
  order: 3
3992
3992
  }
3993
3993
  }, i = e, r = (m) => m != null, s = (m, p) => r(p) && ["password", "sentinel_password"].includes(m) ? "password" : "text", { convertKeyToTitle: o } = Pi(), l = L(() => Object.entries(i.configFields).map(([m, p]) => {
3994
- var E, N, c, M;
3994
+ var A, N, c, M;
3995
3995
  return {
3996
3996
  key: m,
3997
- label: ((E = a[m]) == null ? void 0 : E.label) ?? o(m),
3997
+ label: ((A = a[m]) == null ? void 0 : A.label) ?? o(m),
3998
3998
  value: (N = a[m]) != null && N.formatter ? a[m].formatter(p) : p,
3999
3999
  type: ((c = a[m]) == null ? void 0 : c.type) ?? s(m, p),
4000
4000
  order: ((M = a[m]) == null ? void 0 : M.order) ?? 100
@@ -4002,14 +4002,14 @@ const ec = (e) => {
4002
4002
  };
4003
4003
  }).sort((m, p) => m.order - p.order).filter((m) => m.type !== "hidden")), d = be.useRedisNonStandardFields(i.configFields, i.pluginRedisFields), h = L(() => l.value.concat(d));
4004
4004
  return (m, p) => {
4005
- const E = F("KCopy");
4005
+ const A = E("KCopy");
4006
4006
  return u(), g("div", nc, [
4007
4007
  (u(!0), g(K, null, J(h.value, ({ key: N, label: c, value: M, type: T }) => (u(), g("div", {
4008
4008
  key: N,
4009
4009
  class: "partial-config-card-row"
4010
4010
  }, [
4011
4011
  f("div", ic, [
4012
- f("div", ac, $(c), 1)
4012
+ f("div", ac, U(c), 1)
4013
4013
  ]),
4014
4014
  f("div", {
4015
4015
  class: "config-card-row-value",
@@ -4020,14 +4020,14 @@ const ec = (e) => {
4020
4020
  key: 0,
4021
4021
  "data-testid": `${N}-copy-password`
4022
4022
  }, [
4023
- C(E, {
4023
+ C(A, {
4024
4024
  format: "redacted",
4025
4025
  text: String(M)
4026
4026
  }, null, 8, ["text"])
4027
4027
  ], 8, lc)) : (u(), g("div", {
4028
4028
  key: 1,
4029
4029
  "data-testid": `${N}-plain-text`
4030
- }, $(M), 9, dc))
4030
+ }, U(M), 9, dc))
4031
4031
  ])) : (u(), g("div", {
4032
4032
  key: 0,
4033
4033
  "data-testid": `${N}-no-value`
@@ -4095,21 +4095,20 @@ const ec = (e) => {
4095
4095
  } = Li(o, a[o.app].getAll, yc, {
4096
4096
  fetchedItemsKey: "data",
4097
4097
  searchKeys: ["id", "name"]
4098
- }), E = L(() => h.value ? s(h.value) : ""), N = (k) => {
4098
+ }), A = L(() => h.value ? s(h.value) : ""), N = (k) => {
4099
4099
  let y = `${o.apiBaseUrl}${a[o.app].getOne}`;
4100
4100
  return o.app === "konnect" ? y = y.replace(/{controlPlaneId}/gi, (o == null ? void 0 : o.controlPlaneId) || "") : o.app === "kongManager" && (y = y.replace(/\/{workspace}/gi, o != null && o.workspace ? `/${o.workspace}` : "")), y = y.replace(/{id}/gi, String(k)), y;
4101
4101
  }, c = L(() => {
4102
- var y;
4103
- let k = ((y = p.value) == null ? void 0 : y.map((O) => ({ label: O.id, name: O.name, value: O.id, type: O.type, tag: ec(O) }))) || [];
4104
- return k = k.filter((O) => O.type === "redis-ce" || O.type === "redis-ee"), i.redisType !== "all" ? k.filter((O) => O.type === i.redisType) : k;
4102
+ const k = (p.value || []).map((y) => ({ label: y.id, name: y.name, value: y.id, type: y.type, tag: ec(y) })).filter((y) => y.type === "redis-ce" || y.type === "redis-ee");
4103
+ return i.redisType !== "all" ? k.filter((y) => y.type === i.redisType) : k;
4105
4104
  }), { axiosInstance: M } = qi(o == null ? void 0 : o.axiosRequestConfig), T = async (k) => {
4106
4105
  if (k) {
4107
4106
  i.updateRedisModel(k);
4108
4107
  try {
4109
4108
  const y = await M.get(N(k));
4110
4109
  if (y.data.config) {
4111
- const O = Object.assign(y.data, y.data.config);
4112
- delete O.config, r.value = O;
4110
+ const $ = Object.assign(y.data, y.data.config);
4111
+ delete $.config, r.value = $;
4113
4112
  }
4114
4113
  } catch (y) {
4115
4114
  console.error(y);
@@ -4121,10 +4120,10 @@ const ec = (e) => {
4121
4120
  }), Ut(() => {
4122
4121
  m(), i.defaultRedisConfigItem && T(i.defaultRedisConfigItem);
4123
4122
  }), (k, y) => {
4124
- const O = F("KLabel"), U = F("KBadge"), _ = F("KSelect");
4123
+ const $ = E("KLabel"), F = E("KBadge"), _ = E("KSelect");
4125
4124
  return u(), g(K, null, [
4126
4125
  f("div", mc, [
4127
- C(O, {
4126
+ C($, {
4128
4127
  info: e.isCustomPlugin ? w(t)("redis.custom_plugin.tooltip") : w(t)("redis.shared_configuration.tooltip", { type: w(In)(e.redisType) }),
4129
4128
  "tooltip-attributes": {
4130
4129
  maxWidth: "300",
@@ -4132,7 +4131,7 @@ const ec = (e) => {
4132
4131
  }
4133
4132
  }, {
4134
4133
  default: I(() => [
4135
- te($(w(t)("redis.shared_configuration.title")), 1)
4134
+ te(U(w(t)("redis.shared_configuration.title")), 1)
4136
4135
  ]),
4137
4136
  _: 1
4138
4137
  }, 8, ["info"]),
@@ -4150,27 +4149,27 @@ const ec = (e) => {
4150
4149
  onQueryChange: w(l)
4151
4150
  }, {
4152
4151
  "selected-item-template": I(({ item: v }) => [
4153
- f("div", fc, $(v.name), 1)
4152
+ f("div", fc, U(v.name), 1)
4154
4153
  ]),
4155
4154
  "item-template": I(({ item: v }) => [
4156
4155
  f("div", {
4157
4156
  class: "plugin-form-redis-configuration-dropdown-item",
4158
4157
  "data-testid": `redis-configuration-dropdown-item-${v.name}`
4159
4158
  }, [
4160
- f("span", pc, $(v.name), 1),
4161
- C(U, {
4159
+ f("span", pc, U(v.name), 1),
4160
+ C(F, {
4162
4161
  appearance: "info",
4163
4162
  class: "select-item-label"
4164
4163
  }, {
4165
4164
  default: I(() => [
4166
- te($(v.tag), 1)
4165
+ te(U(v.tag), 1)
4167
4166
  ]),
4168
4167
  _: 2
4169
4168
  }, 1024)
4170
4169
  ], 8, hc)
4171
4170
  ]),
4172
4171
  empty: I(() => [
4173
- f("div", gc, $(w(t)("redis.shared_configuration.empty_state")), 1)
4172
+ f("div", gc, U(w(t)("redis.shared_configuration.empty_state")), 1)
4174
4173
  ]),
4175
4174
  "dropdown-footer-text": I(() => [
4176
4175
  f("div", {
@@ -4179,22 +4178,22 @@ const ec = (e) => {
4179
4178
  onClick: y[0] || (y[0] = (v) => k.$emit("showNewPartialModal"))
4180
4179
  }, [
4181
4180
  C(w(Vt), { size: w(Xu) }, null, 8, ["size"]),
4182
- f("span", null, $(w(t)("redis.shared_configuration.create_new_configuration", { type: w(In)(e.redisType) })), 1)
4181
+ f("span", null, U(w(t)("redis.shared_configuration.create_new_configuration", { type: w(In)(e.redisType) })), 1)
4183
4182
  ])
4184
4183
  ]),
4185
4184
  _: 1
4186
4185
  }, 8, ["items", "loading", "model-value", "placeholder", "onQueryChange"])
4187
4186
  ]),
4188
- r.value ? (u(), A(cc, {
4187
+ r.value ? (u(), O(cc, {
4189
4188
  key: 0,
4190
4189
  "config-fields": r.value,
4191
4190
  "plugin-redis-fields": e.pluginRedisFields
4192
4191
  }, null, 8, ["config-fields", "plugin-redis-fields"])) : R("", !0),
4193
- E.value ? (u(), g("p", vc, $(E.value || w(t)("redis.shared_configuration.error")), 1)) : R("", !0)
4192
+ A.value ? (u(), g("p", vc, U(A.value || w(t)("redis.shared_configuration.error")), 1)) : R("", !0)
4194
4193
  ], 64);
4195
4194
  };
4196
4195
  }
4197
- }), On = /* @__PURE__ */ H(bc, [["__scopeId", "data-v-009961cb"]]), _c = { key: 0 }, wc = {
4196
+ }), On = /* @__PURE__ */ H(bc, [["__scopeId", "data-v-0001f209"]]), _c = { key: 0 }, wc = {
4198
4197
  class: "redis-config-radio-group",
4199
4198
  "data-testid": "redis-config-radio-group"
4200
4199
  }, Mc = {
@@ -4255,7 +4254,7 @@ const ec = (e) => {
4255
4254
  a("modelUpdated", [{ id: c, path: n.redisPath }], "partials"), d.value = [{ id: c, path: n.redisPath }], o.value = c;
4256
4255
  }, p = (c, M) => {
4257
4256
  l.value = { ...l.value, [M]: c }, a("modelUpdated", c, M);
4258
- }, E = () => {
4257
+ }, A = () => {
4259
4258
  a("refreshModel");
4260
4259
  }, N = (c, M, T) => {
4261
4260
  a("validated", c, M, T);
@@ -4269,7 +4268,7 @@ const ec = (e) => {
4269
4268
  s.value = !0, o.value = k;
4270
4269
  }
4271
4270
  }), (c, M) => {
4272
- const T = F("KAlert"), k = F("KBadge"), y = F("KRadio"), O = F("KCard");
4271
+ const T = E("KAlert"), k = E("KBadge"), y = E("KRadio"), $ = E("KCard");
4273
4272
  return u(), g("div", null, [
4274
4273
  r.value ? (u(), g("div", _c, [
4275
4274
  C(T, {
@@ -4281,9 +4280,9 @@ const ec = (e) => {
4281
4280
  "is-custom-plugin": "",
4282
4281
  "plugin-redis-fields": e.field.fields,
4283
4282
  "update-redis-model": m,
4284
- onShowNewPartialModal: M[0] || (M[0] = (U) => c.$emit("showNewPartialModal"))
4283
+ onShowNewPartialModal: M[0] || (M[0] = (F) => c.$emit("showNewPartialModal"))
4285
4284
  }, null, 8, ["default-redis-config-item", "plugin-redis-fields"])
4286
- ])) : (u(), A(O, {
4285
+ ])) : (u(), O($, {
4287
4286
  key: 1,
4288
4287
  class: "redis-config-card",
4289
4288
  "data-testid": "redis-config-card",
@@ -4293,7 +4292,7 @@ const ec = (e) => {
4293
4292
  f("div", wc, [
4294
4293
  C(y, {
4295
4294
  modelValue: s.value,
4296
- "onUpdate:modelValue": M[1] || (M[1] = (U) => s.value = U),
4295
+ "onUpdate:modelValue": M[1] || (M[1] = (F) => s.value = F),
4297
4296
  card: "",
4298
4297
  "card-orientation": "horizontal",
4299
4298
  "data-testid": "shared-redis-config-radio",
@@ -4304,7 +4303,7 @@ const ec = (e) => {
4304
4303
  default: I(() => [
4305
4304
  C(k, { appearance: "success" }, {
4306
4305
  default: I(() => [
4307
- te($(w(i)("redis.shared_configuration.badge")), 1)
4306
+ te(U(w(i)("redis.shared_configuration.badge")), 1)
4308
4307
  ]),
4309
4308
  _: 1
4310
4309
  })
@@ -4313,7 +4312,7 @@ const ec = (e) => {
4313
4312
  }, 8, ["modelValue", "description", "label"]),
4314
4313
  C(y, {
4315
4314
  modelValue: s.value,
4316
- "onUpdate:modelValue": M[2] || (M[2] = (U) => s.value = U),
4315
+ "onUpdate:modelValue": M[2] || (M[2] = (F) => s.value = F),
4317
4316
  card: "",
4318
4317
  "card-orientation": "horizontal",
4319
4318
  "data-testid": "dedicated-redis-config-radio",
@@ -4328,26 +4327,26 @@ const ec = (e) => {
4328
4327
  "plugin-redis-fields": e.field.fields,
4329
4328
  "redis-type": e.field.redisType,
4330
4329
  "update-redis-model": m,
4331
- onShowNewPartialModal: M[3] || (M[3] = (U) => c.$emit("showNewPartialModal"))
4330
+ onShowNewPartialModal: M[3] || (M[3] = (F) => c.$emit("showNewPartialModal"))
4332
4331
  }, null, 8, ["default-redis-config-item", "plugin-redis-fields", "redis-type"])
4333
4332
  ])) : (u(), g("div", Sc, [
4334
- f("div", Tc, $(w(i)("redis.dedicated_configuration.title")), 1),
4335
- (u(), A(ie(e.tag), null, {
4333
+ f("div", Tc, U(w(i)("redis.dedicated_configuration.title")), 1),
4334
+ (u(), O(ie(e.tag), null, {
4336
4335
  default: I(() => [
4337
- (u(!0), g(K, null, J(e.field.fields, (U) => (u(), g(K, {
4338
- key: U.model
4336
+ (u(!0), g(K, null, J(e.field.fields, (F) => (u(), g(K, {
4337
+ key: F.model
4339
4338
  }, [
4340
- h(U) ? (u(), A(Ci, {
4339
+ h(F) ? (u(), O(Ci, {
4341
4340
  key: 0,
4342
4341
  ref_for: !0,
4343
4342
  ref: "children",
4344
4343
  errors: e.errors,
4345
- field: U,
4344
+ field: F,
4346
4345
  model: e.model,
4347
4346
  options: e.options,
4348
4347
  vfg: e.vfg,
4349
4348
  onModelUpdated: p,
4350
- onRefreshModel: E,
4349
+ onRefreshModel: A,
4351
4350
  onValidated: N
4352
4351
  }, null, 8, ["errors", "field", "model", "options", "vfg"])) : R("", !0)
4353
4352
  ], 64))), 128))
@@ -4530,14 +4529,14 @@ const ec = (e) => {
4530
4529
  class: "vue-form-generator"
4531
4530
  }, Ec = { key: 0 };
4532
4531
  function Fc(e, t, n, a, i, r) {
4533
- const s = F("form-redis"), o = F("form-group"), l = F("KCollapse");
4532
+ const s = E("form-redis"), o = E("form-group"), l = E("KCollapse");
4534
4533
  return n.schema != null ? (u(), g("div", Ac, [
4535
- n.schema.fields ? (u(), A(ie(n.tag), { key: 0 }, {
4534
+ n.schema.fields ? (u(), O(ie(n.tag), { key: 0 }, {
4536
4535
  default: I(() => [
4537
4536
  (u(!0), g(K, null, J(r.fields, (d) => (u(), g(K, {
4538
4537
  key: d.model
4539
4538
  }, [
4540
- d.model === "__redis_partial" && n.enableRedisPartial ? (u(), A(s, {
4539
+ d.model === "__redis_partial" && n.enableRedisPartial ? (u(), O(s, {
4541
4540
  key: 0,
4542
4541
  errors: i.errors,
4543
4542
  field: d,
@@ -4550,7 +4549,7 @@ function Fc(e, t, n, a, i, r) {
4550
4549
  onPartialToggled: r.onPartialToggled,
4551
4550
  onShowNewPartialModal: (h) => e.$emit("showNewPartialModal", d.redisType),
4552
4551
  onValidated: r.onFieldValidated
4553
- }, null, 8, ["errors", "field", "is-editing", "model", "options", "tag", "vfg", "onModelUpdated", "onPartialToggled", "onShowNewPartialModal", "onValidated"])) : r.fieldVisible(d) ? (u(), A(o, {
4552
+ }, null, 8, ["errors", "field", "is-editing", "model", "options", "tag", "vfg", "onModelUpdated", "onPartialToggled", "onShowNewPartialModal", "onValidated"])) : r.fieldVisible(d) ? (u(), O(o, {
4554
4553
  key: 1,
4555
4554
  ref_for: !0,
4556
4555
  ref: "children",
@@ -4570,17 +4569,17 @@ function Fc(e, t, n, a, i, r) {
4570
4569
  (u(!0), g(K, null, J(r.groups, (d, h) => (u(), g(K, {
4571
4570
  key: `group-${h}`
4572
4571
  }, [
4573
- d.collapsible !== void 0 && d.collapsible !== !1 ? (u(), A(l, {
4572
+ d.collapsible !== void 0 && d.collapsible !== !1 ? (u(), O(l, {
4574
4573
  key: 0,
4575
4574
  class: "root-level-collapse",
4576
4575
  "model-value": !1,
4577
4576
  title: d.collapsible.title
4578
4577
  }, $n({
4579
4578
  default: I(() => {
4580
- var m, p, E, N;
4579
+ var m, p, A, N;
4581
4580
  return [
4582
4581
  (m = d.slots) != null && m.beforeContent ? Oe(e.$slots, (p = d.slots) == null ? void 0 : p.beforeContent, { key: 0 }) : R("", !0),
4583
- d.fields.length === 0 && ((E = d.slots) != null && E.emptyState) ? Oe(e.$slots, (N = d.slots) == null ? void 0 : N.emptyState, { key: 1 }) : (u(), A(ie(n.tag), {
4582
+ d.fields.length === 0 && ((A = d.slots) != null && A.emptyState) ? Oe(e.$slots, (N = d.slots) == null ? void 0 : N.emptyState, { key: 1 }) : (u(), O(ie(n.tag), {
4584
4583
  key: 2,
4585
4584
  class: W(e.getFieldRowClasses(d))
4586
4585
  }, {
@@ -4588,7 +4587,7 @@ function Fc(e, t, n, a, i, r) {
4588
4587
  (u(!0), g(K, null, J(d.fields, (c) => (u(), g(K, {
4589
4588
  key: c.model
4590
4589
  }, [
4591
- r.fieldVisible(c) ? (u(), A(o, {
4590
+ r.fieldVisible(c) ? (u(), O(o, {
4592
4591
  key: 0,
4593
4592
  ref_for: !0,
4594
4593
  ref: "children",
@@ -4605,7 +4604,7 @@ function Fc(e, t, n, a, i, r) {
4605
4604
  ]),
4606
4605
  _: 2
4607
4606
  }, 1032, ["class"])),
4608
- d.collapsible !== !0 && d.collapsible.nestedCollapsible && d.collapsible.nestedCollapsible.fields.length > 0 ? (u(), A(l, {
4607
+ d.collapsible !== !0 && d.collapsible.nestedCollapsible && d.collapsible.nestedCollapsible.fields.length > 0 ? (u(), O(l, {
4609
4608
  key: 3,
4610
4609
  class: "nested-collapse",
4611
4610
  "model-value": i.collapseStates[`group-${h}-nested`] ?? !0,
@@ -4614,14 +4613,14 @@ function Fc(e, t, n, a, i, r) {
4614
4613
  "onUpdate:modelValue": (c) => i.collapseStates[`group-${h}-nested`] = c
4615
4614
  }, {
4616
4615
  default: I(() => [
4617
- (u(), A(ie(n.tag), {
4616
+ (u(), O(ie(n.tag), {
4618
4617
  class: W(e.getFieldRowClasses(d))
4619
4618
  }, {
4620
4619
  default: I(() => [
4621
4620
  (u(!0), g(K, null, J(d.collapsible.nestedCollapsible.fields, (c) => (u(), g(K, {
4622
4621
  key: c.model
4623
4622
  }, [
4624
- c.model === "__redis_partial" && n.enableRedisPartial ? (u(), A(s, {
4623
+ c.model === "__redis_partial" && n.enableRedisPartial ? (u(), O(s, {
4625
4624
  key: 0,
4626
4625
  errors: i.errors,
4627
4626
  field: c,
@@ -4634,7 +4633,7 @@ function Fc(e, t, n, a, i, r) {
4634
4633
  onPartialToggled: r.onPartialToggled,
4635
4634
  onShowNewPartialModal: (M) => e.$emit("showNewPartialModal", c.redisType),
4636
4635
  onValidated: r.onFieldValidated
4637
- }, null, 8, ["errors", "field", "is-editing", "model", "options", "tag", "vfg", "onModelUpdated", "onPartialToggled", "onShowNewPartialModal", "onValidated"])) : r.fieldVisible(c) ? (u(), A(o, {
4636
+ }, null, 8, ["errors", "field", "is-editing", "model", "options", "tag", "vfg", "onModelUpdated", "onPartialToggled", "onShowNewPartialModal", "onValidated"])) : r.fieldVisible(c) ? (u(), O(o, {
4638
4637
  key: 1,
4639
4638
  ref_for: !0,
4640
4639
  ref: "children",
@@ -4661,20 +4660,20 @@ function Fc(e, t, n, a, i, r) {
4661
4660
  d.collapsible.description ? {
4662
4661
  name: "visible-content",
4663
4662
  fn: I(() => [
4664
- te($(d.collapsible.description), 1)
4663
+ te(U(d.collapsible.description), 1)
4665
4664
  ]),
4666
4665
  key: "0"
4667
4666
  } : void 0
4668
- ]), 1032, ["title"])) : (u(), A(ie(n.tag), {
4667
+ ]), 1032, ["title"])) : (u(), O(ie(n.tag), {
4669
4668
  key: 1,
4670
4669
  class: W(e.getFieldRowClasses(d))
4671
4670
  }, {
4672
4671
  default: I(() => [
4673
- d.legend ? (u(), g("legend", Ec, $(d.legend), 1)) : R("", !0),
4672
+ d.legend ? (u(), g("legend", Ec, U(d.legend), 1)) : R("", !0),
4674
4673
  (u(!0), g(K, null, J(d.fields, (m) => (u(), g(K, {
4675
4674
  key: m.model
4676
4675
  }, [
4677
- r.fieldVisible(m) ? (u(), A(o, {
4676
+ r.fieldVisible(m) ? (u(), O(o, {
4678
4677
  key: 0,
4679
4678
  ref_for: !0,
4680
4679
  ref: "children",
@@ -4921,9 +4920,9 @@ const ee = /* @__PURE__ */ H(Oc, [["render", Fc]]), Ze = {
4921
4920
  }
4922
4921
  }, Uc = { class: "general-settings" }, $c = { class: "link-wrapper" }, Vc = { class: "auth-method-container" }, jc = { class: "general-settings" }, Rc = { class: "link-wrapper" }, Pc = { class: "general-settings" }, Nc = { class: "link-wrapper" };
4923
4922
  function Lc(e, t, n, a, i, r) {
4924
- const s = F("VueFormGenerator"), o = F("KExternalLink"), l = F("KLabel"), d = F("KCheckbox"), h = F("KInputSwitch"), m = F("KTabs");
4923
+ const s = E("VueFormGenerator"), o = E("KExternalLink"), l = E("KLabel"), d = E("KCheckbox"), h = E("KInputSwitch"), m = E("KTabs");
4925
4924
  return u(), g("div", null, [
4926
- n.formModel.id && n.isEditing || !n.isEditing ? (u(), A(s, {
4925
+ n.formModel.id && n.isEditing || !n.isEditing ? (u(), O(s, {
4927
4926
  key: 0,
4928
4927
  class: "global-fields",
4929
4928
  model: n.formModel,
@@ -4943,7 +4942,7 @@ function Lc(e, t, n, a, i, r) {
4943
4942
  }, 8, ["href"])
4944
4943
  ]),
4945
4944
  t[4] || (t[4] = f("div", { class: "description" }, " Parameters for enabling the OpenID Connect plugin. Set these parameters before adding authorization, authentication, or other advanced configuration details. ", -1)),
4946
- r.displayForm ? (u(), A(s, {
4945
+ r.displayForm ? (u(), O(s, {
4947
4946
  key: 0,
4948
4947
  model: n.formModel,
4949
4948
  options: n.formOptions,
@@ -4963,11 +4962,11 @@ function Lc(e, t, n, a, i, r) {
4963
4962
  }, [
4964
4963
  C(d, {
4965
4964
  modelValue: p.prop,
4966
- "onUpdate:modelValue": (E) => p.prop = E,
4967
- onChange: (E) => r.handleUpdate(E, p.value)
4965
+ "onUpdate:modelValue": (A) => p.prop = A,
4966
+ onChange: (A) => r.handleUpdate(A, p.value)
4968
4967
  }, {
4969
4968
  default: I(() => [
4970
- te($(p.label), 1)
4969
+ te(U(p.label), 1)
4971
4970
  ]),
4972
4971
  _: 2
4973
4972
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
@@ -4992,7 +4991,7 @@ function Lc(e, t, n, a, i, r) {
4992
4991
  }, 8, ["href"])
4993
4992
  ]),
4994
4993
  t[6] || (t[6] = f("div", { class: "description" }, " Parameters for setting up claims-based authorization. ", -1)),
4995
- r.displayForm ? (u(), A(s, {
4994
+ r.displayForm ? (u(), O(s, {
4996
4995
  key: 0,
4997
4996
  model: n.formModel,
4998
4997
  options: n.formOptions,
@@ -5017,7 +5016,7 @@ function Lc(e, t, n, a, i, r) {
5017
5016
  }, 8, ["href"])
5018
5017
  ]),
5019
5018
  t[8] || (t[8] = f("div", { class: "description" }, " Advanced parameters for manually configuring the OpenID Connect plugin. ", -1)),
5020
- r.displayForm ? (u(), A(s, {
5019
+ r.displayForm ? (u(), O(s, {
5021
5020
  key: 0,
5022
5021
  "enable-redis-partial": n.enableRedisPartial,
5023
5022
  "is-editing": n.isEditing,
@@ -5069,7 +5068,7 @@ const qc = /* @__PURE__ */ H(kc, [["render", Lc], ["__scopeId", "data-v-741bf3cb
5069
5068
  return l.hint = n(`${d}.hint`) && t(`${d}.hint`) || l.hint, l.help = n(`${d}.help`) && t(`${d}.help`) || l.help, l.newElementButtonLabel = n(`${d}.newElementButtonLabel`) && t(`${d}.newElementButtonLabel`) || l.newElementButtonLabel, l.model !== "tags" && (l.valueType === "array" || l.type === "array") && (l.type = "array", l.valueArrayType = "array", l.itemContainerComponent = "FieldArrayItem", l.fieldClasses = "post-function-array-item-container", l.fieldItemsClasses = "post-function-array-item", l.inputAttributes = { ...l.inputAttributes, type: "textarea" }), l;
5070
5069
  }), o;
5071
5070
  });
5072
- return (o, l) => i.value ? (u(), A(ee, {
5071
+ return (o, l) => i.value ? (u(), O(ee, {
5073
5072
  key: 0,
5074
5073
  model: e.formModel,
5075
5074
  options: e.formOptions,
@@ -5112,7 +5111,7 @@ const qc = /* @__PURE__ */ H(kc, [["render", Lc], ["__scopeId", "data-v-741bf3cb
5112
5111
  return l.hint = n(`${d}.hint`) && t(`${d}.hint`) || l.hint, l.help = n(`${d}.help`) && t(`${d}.help`) || l.help, l.newElementButtonLabel = n(`${d}.newElementButtonLabel`) && t(`${d}.newElementButtonLabel`) || l.newElementButtonLabel, l.model !== "tags" && (l.valueType === "array" || l.type === "array") && (l.type = "array", l.valueArrayType = "array", l.itemContainerComponent = "FieldArrayItem", l.fieldClasses = "exit-transformer-array-item-container", l.fieldItemsClasses = "exit-transformer-array-item", l.inputAttributes = { ...l.inputAttributes, type: "textarea" }), l;
5113
5112
  }), o;
5114
5113
  });
5115
- return (o, l) => i.value ? (u(), A(ee, {
5114
+ return (o, l) => i.value ? (u(), O(ee, {
5116
5115
  key: 0,
5117
5116
  model: e.formModel,
5118
5117
  options: e.formOptions,
@@ -5234,8 +5233,8 @@ const qc = /* @__PURE__ */ H(kc, [["render", Lc], ["__scopeId", "data-v-741bf3cb
5234
5233
  }
5235
5234
  },
5236
5235
  setup(e) {
5237
- var U;
5238
- at(he, (U = ft()) == null ? void 0 : U[xe]);
5236
+ var F;
5237
+ at(he, (F = ft()) == null ? void 0 : F[xe]);
5239
5238
  const t = e, n = ue("zeroSsl"), a = ue("shm"), i = L(() => {
5240
5239
  var v;
5241
5240
  const _ = {};
@@ -5279,7 +5278,7 @@ const qc = /* @__PURE__ */ H(kc, [["render", Lc], ["__scopeId", "data-v-741bf3cb
5279
5278
  fields: t.formSchema.fields.filter((v) => v.model.startsWith("config-storage_config-consul"))
5280
5279
  })), p = L(() => ({
5281
5280
  fields: t.formSchema.fields.filter((v) => v.model.startsWith("config-storage_config-redis"))
5282
- })), E = L(() => ({
5281
+ })), A = L(() => ({
5283
5282
  fields: t.formSchema.fields.filter((v) => v.model.startsWith("config-storage_config-shm"))
5284
5283
  })), N = L(() => ({
5285
5284
  fields: t.formSchema.fields.filter((v) => v.model.startsWith("config-storage_config-vault"))
@@ -5318,13 +5317,13 @@ const qc = /* @__PURE__ */ H(kc, [["render", Lc], ["__scopeId", "data-v-741bf3cb
5318
5317
  });
5319
5318
  const y = (_) => {
5320
5319
  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();
5321
- }, O = (_, v) => {
5320
+ }, $ = (_, v) => {
5322
5321
  v === "config-storage" && (a.value = _), t.onModelUpdated();
5323
5322
  };
5324
5323
  return (_, v) => {
5325
- const j = F("KSelect"), x = F("KTabs");
5324
+ const j = E("KSelect"), x = E("KTabs");
5326
5325
  return u(), g("div", null, [
5327
- e.formModel.id && e.isEditing || !e.isEditing ? (u(), A(ee, {
5326
+ e.formModel.id && e.isEditing || !e.isEditing ? (u(), O(ee, {
5328
5327
  key: 0,
5329
5328
  class: "global-fields",
5330
5329
  model: e.formModel,
@@ -5339,7 +5338,7 @@ const qc = /* @__PURE__ */ H(kc, [["render", Lc], ["__scopeId", "data-v-741bf3cb
5339
5338
  f("span", { class: "section-header" }, "General Configuration Settings")
5340
5339
  ], -1)),
5341
5340
  v[1] || (v[1] = f("div", { class: "description" }, " Parameters for enabling the ACME plugin. ", -1)),
5342
- M.value ? (u(), A(ee, {
5341
+ M.value ? (u(), O(ee, {
5343
5342
  key: 0,
5344
5343
  model: e.formModel,
5345
5344
  options: e.formOptions,
@@ -5354,14 +5353,14 @@ const qc = /* @__PURE__ */ H(kc, [["render", Lc], ["__scopeId", "data-v-741bf3cb
5354
5353
  onChange: y
5355
5354
  }),
5356
5355
  f("div", Wc, [
5357
- n.value === "letsEncrypt" ? (u(), A(ee, {
5356
+ n.value === "letsEncrypt" ? (u(), O(ee, {
5358
5357
  key: 0,
5359
5358
  model: e.formModel,
5360
5359
  options: e.formOptions,
5361
5360
  schema: s.value,
5362
5361
  onModelUpdated: e.onModelUpdated
5363
5362
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : R("", !0),
5364
- n.value === "zeroSsl" || n.value === "other" ? (u(), A(ee, {
5363
+ n.value === "zeroSsl" || n.value === "other" ? (u(), O(ee, {
5365
5364
  key: 1,
5366
5365
  model: e.formModel,
5367
5366
  options: e.formOptions,
@@ -5377,36 +5376,36 @@ const qc = /* @__PURE__ */ H(kc, [["render", Lc], ["__scopeId", "data-v-741bf3cb
5377
5376
  f("span", { class: "section-header" }, "Storage Configuration Settings")
5378
5377
  ], -1)),
5379
5378
  v[4] || (v[4] = f("div", { class: "description" }, " Parameters for setting up storage. ", -1)),
5380
- M.value ? (u(), A(ee, {
5379
+ M.value ? (u(), O(ee, {
5381
5380
  key: 0,
5382
5381
  model: e.formModel,
5383
5382
  options: e.formOptions,
5384
5383
  schema: h.value,
5385
- onModelUpdated: O
5384
+ onModelUpdated: $
5386
5385
  }, null, 8, ["model", "options", "schema"])) : R("", !0),
5387
5386
  f("div", Jc, [
5388
- a.value === "consul" ? (u(), A(ee, {
5387
+ a.value === "consul" ? (u(), O(ee, {
5389
5388
  key: 0,
5390
5389
  model: e.formModel,
5391
5390
  options: e.formOptions,
5392
5391
  schema: m.value,
5393
5392
  onModelUpdated: e.onModelUpdated
5394
5393
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : R("", !0),
5395
- a.value === "redis" ? (u(), A(ee, {
5394
+ a.value === "redis" ? (u(), O(ee, {
5396
5395
  key: 1,
5397
5396
  model: e.formModel,
5398
5397
  options: e.formOptions,
5399
5398
  schema: p.value,
5400
5399
  onModelUpdated: e.onModelUpdated
5401
5400
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : R("", !0),
5402
- a.value === "shm" ? (u(), A(ee, {
5401
+ a.value === "shm" ? (u(), O(ee, {
5403
5402
  key: 2,
5404
5403
  model: e.formModel,
5405
5404
  options: e.formOptions,
5406
- schema: E.value,
5405
+ schema: A.value,
5407
5406
  onModelUpdated: e.onModelUpdated
5408
5407
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : R("", !0),
5409
- a.value === "vault" ? (u(), A(ee, {
5408
+ a.value === "vault" ? (u(), O(ee, {
5410
5409
  key: 3,
5411
5410
  model: e.formModel,
5412
5411
  options: e.formOptions,
@@ -5422,7 +5421,7 @@ const qc = /* @__PURE__ */ H(kc, [["render", Lc], ["__scopeId", "data-v-741bf3cb
5422
5421
  f("span", { class: "section-header" }, "Advanced Configuration Settings")
5423
5422
  ], -1)),
5424
5423
  v[6] || (v[6] = f("div", { class: "description" }, " Advanced parameters for manually configuring the ACME plugin. ", -1)),
5425
- M.value ? (u(), A(ee, {
5424
+ M.value ? (u(), O(ee, {
5426
5425
  key: 0,
5427
5426
  model: e.formModel,
5428
5427
  options: e.formOptions,
@@ -5554,7 +5553,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5554
5553
  value: P
5555
5554
  }));
5556
5555
  }
5557
- ), m = ue(), p = ue(!0), E = L(
5556
+ ), m = ue(), p = ue(!0), A = L(
5558
5557
  () => {
5559
5558
  var b, S, V;
5560
5559
  return r.formModel["config-window_type"] ?? ((V = (S = (b = r.formSchema) == null ? void 0 : b.fields) == null ? void 0 : S.find((P) => P.model === "config-window_type")) == null ? void 0 : V.default);
@@ -5598,9 +5597,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5598
5597
  r.onModelUpdated([b.config.limit], "config-limit"), r.onModelUpdated([b.config.window_size], "config-window_size"), Dt(() => {
5599
5598
  m.value = S;
5600
5599
  });
5601
- }, O = (b) => {
5600
+ }, $ = (b) => {
5602
5601
  m.value !== void 0 && (m.value = void 0), b !== null && r.onModelUpdated(b.toString(), "config-window_type");
5603
- }, U = (b, S) => {
5602
+ }, F = (b, S) => {
5604
5603
  var P;
5605
5604
  m.value !== void 0 && (m.value = void 0);
5606
5605
  const V = we(((P = r.formModel) == null ? void 0 : P["config-limit"]) ?? []);
@@ -5626,7 +5625,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5626
5625
  return $t(() => r.formModel["config-strategy"], (b) => {
5627
5626
  b !== "redis" && r.formModel.partials && r.onModelUpdated(void 0, "partials");
5628
5627
  }), (b, S) => {
5629
- const V = F("KLabel"), P = F("KRadio"), D = F("KInput"), se = F("KButton"), Ue = F("KBadge"), ae = F("KTooltip"), De = F("KCard"), Ii = F("KSelect"), Oi = F("KCollapse");
5628
+ const V = E("KLabel"), P = E("KRadio"), D = E("KInput"), se = E("KButton"), Ue = E("KBadge"), ae = E("KTooltip"), De = E("KCard"), Ii = E("KSelect"), Oi = E("KCollapse");
5630
5629
  return u(), g(K, null, [
5631
5630
  f("div", tm, [
5632
5631
  C(ee, {
@@ -5643,11 +5642,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5643
5642
  required: ""
5644
5643
  }, {
5645
5644
  default: I(() => [
5646
- te($(w(i)("rla.request_limits.title")), 1)
5645
+ te(U(w(i)("rla.request_limits.title")), 1)
5647
5646
  ]),
5648
5647
  _: 1
5649
5648
  }),
5650
- f("div", nm, $(w(i)("rla.request_limits.subtitle")), 1)
5649
+ f("div", nm, U(w(i)("rla.request_limits.subtitle")), 1)
5651
5650
  ]),
5652
5651
  default: I(() => [
5653
5652
  f("div", im, [
@@ -5665,20 +5664,20 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5665
5664
  }, null, 8, rm)
5666
5665
  ]),
5667
5666
  default: I(() => [
5668
- te($(w(i)("rla.window_type.label")) + " ", 1)
5667
+ te(U(w(i)("rla.window_type.label")) + " ", 1)
5669
5668
  ]),
5670
5669
  _: 1
5671
5670
  }),
5672
5671
  f("div", om, [
5673
- (u(!0), g(K, null, J(N.value, (q) => (u(), A(P, {
5672
+ (u(!0), g(K, null, J(N.value, (q) => (u(), O(P, {
5674
5673
  key: `window-type-${q}`,
5675
- "model-value": E.value,
5674
+ "model-value": A.value,
5676
5675
  name: q,
5677
5676
  "selected-value": q,
5678
- "onUpdate:modelValue": O
5677
+ "onUpdate:modelValue": $
5679
5678
  }, {
5680
5679
  default: I(() => [
5681
- te($(w(i)(`rla.window_type.options.${q}`)), 1)
5680
+ te(U(w(i)(`rla.window_type.options.${q}`)), 1)
5682
5681
  ]),
5683
5682
  _: 2
5684
5683
  }, 1032, ["model-value", "name", "selected-value"]))), 128))
@@ -5692,7 +5691,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5692
5691
  for: `rla-form-request-limits-item-${ne}-legend`
5693
5692
  }, {
5694
5693
  default: I(() => [
5695
- te($(w(i)("rla.request_limits.label_index", { index: ne + 1 })), 1)
5694
+ te(U(w(i)("rla.request_limits.label_index", { index: ne + 1 })), 1)
5696
5695
  ]),
5697
5696
  _: 2
5698
5697
  }, 1032, ["for"]),
@@ -5705,16 +5704,16 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5705
5704
  "model-value": q.limit && q.limit.toString(),
5706
5705
  placeholder: w(i)("rla.request_limits.request_number"),
5707
5706
  type: "number",
5708
- "onUpdate:modelValue": (Mt) => U(ne, Number.parseInt(Mt))
5707
+ "onUpdate:modelValue": (Mt) => F(ne, Number.parseInt(Mt))
5709
5708
  }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
5710
- f("div", null, $(w(i)("rla.request_limits.interval_determiner")), 1),
5709
+ f("div", null, U(w(i)("rla.request_limits.interval_determiner")), 1),
5711
5710
  C(D, {
5712
5711
  "model-value": q.windowSize && q.windowSize.toString(),
5713
5712
  placeholder: w(i)("rla.request_limits.time_interval"),
5714
5713
  type: "number",
5715
5714
  "onUpdate:modelValue": (Mt) => _(ne, Number.parseInt(Mt))
5716
5715
  }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
5717
- f("div", null, $(w(i)("rla.request_limits.seconds")), 1)
5716
+ f("div", null, U(w(i)("rla.request_limits.seconds")), 1)
5718
5717
  ], 8, dm),
5719
5718
  f("div", um, [
5720
5719
  C(se, {
@@ -5741,26 +5740,26 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5741
5740
  ]))), 128))
5742
5741
  ]),
5743
5742
  l.value.length > 0 ? (u(), g("div", cm, [
5744
- f("div", null, $(w(i)("rla.start_with_a_use_case")), 1),
5743
+ f("div", null, U(w(i)("rla.start_with_a_use_case")), 1),
5745
5744
  f("div", mm, [
5746
- (u(!0), g(K, null, J(l.value, (q, ne) => (u(), A(ae, {
5745
+ (u(!0), g(K, null, J(l.value, (q, ne) => (u(), O(ae, {
5747
5746
  key: `use-case-${ne}`,
5748
5747
  "max-width": "300"
5749
5748
  }, {
5750
5749
  content: I(() => [
5751
- f("div", null, $(q.description), 1),
5750
+ f("div", null, U(q.description), 1),
5752
5751
  S[10] || (S[10] = f("br", null, null, -1)),
5753
- f("div", null, $(w(i)("rla.request_limits.label")) + ": " + $(q.config.limit), 1),
5754
- f("div", null, $(w(i)("rla.request_limits.time_interval")) + ": " + $(q.config.window_size), 1)
5752
+ f("div", null, U(w(i)("rla.request_limits.label")) + ": " + U(q.config.limit), 1),
5753
+ f("div", null, U(w(i)("rla.request_limits.time_interval")) + ": " + U(q.config.window_size), 1)
5755
5754
  ]),
5756
5755
  default: I(() => [
5757
5756
  C(Ue, {
5758
- appearance: m.value === `${E.value}-${ne}` ? "info" : "decorative",
5757
+ appearance: m.value === `${A.value}-${ne}` ? "info" : "decorative",
5759
5758
  class: "rla-form-request-limits-examples-badge",
5760
- onClick: () => y(q, `${E.value}-${ne}`)
5759
+ onClick: () => y(q, `${A.value}-${ne}`)
5761
5760
  }, {
5762
5761
  default: I(() => [
5763
- te($(q.label), 1)
5762
+ te(U(q.label), 1)
5764
5763
  ]),
5765
5764
  _: 2
5766
5765
  }, 1032, ["appearance", "onClick"])
@@ -5806,7 +5805,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5806
5805
  }
5807
5806
  }, {
5808
5807
  default: I(() => [
5809
- te($(w(i)("rla.error_message.label")), 1)
5808
+ te(U(w(i)("rla.error_message.label")), 1)
5810
5809
  ]),
5811
5810
  _: 1
5812
5811
  }, 8, ["info"]),
@@ -5839,7 +5838,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5839
5838
  schema: o.value.endsWithStrategy,
5840
5839
  onModelUpdated: S[5] || (S[5] = (q, ne) => b.onModelUpdated(q, ne))
5841
5840
  }, null, 8, ["model", "options", "schema"]),
5842
- b.formModel["config-strategy"] === "redis" ? (u(), A(ie(b.enableRedisPartial ? "div" : "KCard"), {
5841
+ b.formModel["config-strategy"] === "redis" ? (u(), O(ie(b.enableRedisPartial ? "div" : "KCard"), {
5843
5842
  key: 0,
5844
5843
  class: "rla-form-redis-card",
5845
5844
  title: w(i)("rla.redis.title")