@kong-ui-public/forms 4.3.3-pr.1556.dd51da07.0 → 4.3.3

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,5 +1,5 @@
1
- import { resolveComponent as E, openBlock as d, createElementBlock as h, createElementVNode as f, toDisplayString as F, normalizeClass as J, createVNode as M, defineComponent as oe, computed as j, createBlock as I, resolveDynamicComponent as ee, normalizeStyle as Kt, withCtx as w, createCommentVNode as O, pushScopeId as _e, popScopeId as we, renderSlot as Ee, unref as L, createTextVNode as ne, Fragment as D, renderList as Z, ref as ve, toRefs as at, inject as Xr, onMounted as xn, onBeforeMount as Qr, mergeProps as Ue, Transition as ei, resolveDirective as gt, withDirectives as re, vModelText as Ve, vModelCheckbox as ti, vModelSelect as Yn, isRef as Dt, vModelDynamic as ni, vModelRadio as ri, vShow as ii, createSlots as Gn, normalizeProps as ai, guardReactiveProps as si, provide as vt, useSlots as yt, nextTick as rn } from "vue";
2
- import { createI18n as bt } from "@kong-ui-public/i18n";
1
+ import { resolveComponent as E, openBlock as d, createElementBlock as h, createElementVNode as m, toDisplayString as F, normalizeClass as W, createVNode as S, defineComponent as de, computed as j, createBlock as A, resolveDynamicComponent as ee, normalizeStyle as Dt, withCtx as w, createCommentVNode as O, pushScopeId as _e, popScopeId as we, renderSlot as Ce, unref as P, createTextVNode as te, Fragment as K, renderList as J, ref as ve, toRefs as ht, inject as Xr, onMounted as Hn, onBeforeMount as Qr, mergeProps as ke, Transition as ei, resolveDirective as pt, withDirectives as re, vModelText as Ne, vModelCheckbox as ti, vModelSelect as xn, vModelDynamic as ni, isRef as Yn, vModelRadio as ri, vShow as ii, createSlots as Gn, normalizeProps as ai, guardReactiveProps as si, provide as gt, useSlots as vt, nextTick as nn } from "vue";
2
+ import { createI18n as yt } from "@kong-ui-public/i18n";
3
3
  function Wn(e, t) {
4
4
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
5
5
  ;
@@ -22,79 +22,79 @@ function ui(e, t) {
22
22
  r[n] = t(n);
23
23
  return r;
24
24
  }
25
- var Zn = typeof global == "object" && global && global.Object === Object && global, ci = typeof self == "object" && self && self.Object === Object && self, pe = Zn || ci || Function("return this")(), ye = pe.Symbol, Jn = Object.prototype, fi = Jn.hasOwnProperty, mi = Jn.toString, Ze = ye ? ye.toStringTag : void 0;
25
+ var Zn = typeof global == "object" && global && global.Object === Object && global, ci = typeof self == "object" && self && self.Object === Object && self, pe = Zn || ci || Function("return this")(), ye = pe.Symbol, Jn = Object.prototype, mi = Jn.hasOwnProperty, fi = Jn.toString, Ze = ye ? ye.toStringTag : void 0;
26
26
  function hi(e) {
27
- var t = fi.call(e, Ze), n = e[Ze];
27
+ var t = mi.call(e, Ze), n = e[Ze];
28
28
  try {
29
29
  e[Ze] = void 0;
30
30
  var r = !0;
31
31
  } catch {
32
32
  }
33
- var a = mi.call(e);
33
+ var a = fi.call(e);
34
34
  return r && (t ? e[Ze] = n : delete e[Ze]), a;
35
35
  }
36
36
  var pi = Object.prototype, gi = pi.toString;
37
37
  function vi(e) {
38
38
  return gi.call(e);
39
39
  }
40
- var yi = "[object Null]", bi = "[object Undefined]", an = ye ? ye.toStringTag : void 0;
41
- function Ce(e) {
42
- return e == null ? e === void 0 ? bi : yi : an && an in Object(e) ? hi(e) : vi(e);
40
+ var yi = "[object Null]", bi = "[object Undefined]", rn = ye ? ye.toStringTag : void 0;
41
+ function Ee(e) {
42
+ return e == null ? e === void 0 ? bi : yi : rn && rn in Object(e) ? hi(e) : vi(e);
43
43
  }
44
44
  function be(e) {
45
45
  return e != null && typeof e == "object";
46
46
  }
47
47
  var _i = "[object Arguments]";
48
- function sn(e) {
49
- return be(e) && Ce(e) == _i;
48
+ function an(e) {
49
+ return be(e) && Ee(e) == _i;
50
50
  }
51
- var Xn = Object.prototype, wi = Xn.hasOwnProperty, Mi = Xn.propertyIsEnumerable, Qn = sn(/* @__PURE__ */ function() {
51
+ var Xn = Object.prototype, wi = Xn.hasOwnProperty, Si = Xn.propertyIsEnumerable, Qn = an(/* @__PURE__ */ function() {
52
52
  return arguments;
53
- }()) ? sn : function(e) {
54
- return be(e) && wi.call(e, "callee") && !Mi.call(e, "callee");
55
- }, me = Array.isArray;
56
- function Si() {
53
+ }()) ? an : function(e) {
54
+ return be(e) && wi.call(e, "callee") && !Si.call(e, "callee");
55
+ }, fe = Array.isArray;
56
+ function Mi() {
57
57
  return !1;
58
58
  }
59
- var er = typeof exports == "object" && exports && !exports.nodeType && exports, on = er && typeof module == "object" && module && !module.nodeType && module, Ti = on && on.exports === er, ln = Ti ? pe.Buffer : void 0, Ii = ln ? ln.isBuffer : void 0, ct = Ii || Si, Ai = 9007199254740991, Oi = /^(?:0|[1-9]\d*)$/;
60
- function Bt(e, t) {
59
+ var er = typeof exports == "object" && exports && !exports.nodeType && exports, sn = er && typeof module == "object" && module && !module.nodeType && module, Ti = sn && sn.exports === er, on = Ti ? pe.Buffer : void 0, Ii = on ? on.isBuffer : void 0, dt = Ii || Mi, Ai = 9007199254740991, Oi = /^(?:0|[1-9]\d*)$/;
60
+ function Kt(e, t) {
61
61
  var n = typeof e;
62
62
  return t = t ?? Ai, !!t && (n == "number" || n != "symbol" && Oi.test(e)) && e > -1 && e % 1 == 0 && e < t;
63
63
  }
64
- var Ei = 9007199254740991;
65
- function zt(e) {
66
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Ei;
64
+ var Ci = 9007199254740991;
65
+ function Bt(e) {
66
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Ci;
67
67
  }
68
- var Ci = "[object Arguments]", $i = "[object Array]", Fi = "[object Boolean]", Ui = "[object Date]", ki = "[object Error]", Vi = "[object Function]", Ni = "[object Map]", Li = "[object Number]", Pi = "[object Object]", qi = "[object RegExp]", ji = "[object Set]", Ri = "[object String]", Ki = "[object WeakMap]", Di = "[object ArrayBuffer]", Bi = "[object DataView]", zi = "[object Float32Array]", Hi = "[object Float64Array]", xi = "[object Int8Array]", Yi = "[object Int16Array]", Gi = "[object Int32Array]", Wi = "[object Uint8Array]", Zi = "[object Uint8ClampedArray]", Ji = "[object Uint16Array]", Xi = "[object Uint32Array]", x = {};
68
+ var Ei = "[object Arguments]", $i = "[object Array]", Fi = "[object Boolean]", ki = "[object Date]", Ui = "[object Error]", Ni = "[object Function]", Vi = "[object Map]", Li = "[object Number]", Pi = "[object Object]", qi = "[object RegExp]", ji = "[object Set]", Ri = "[object String]", Di = "[object WeakMap]", Ki = "[object ArrayBuffer]", Bi = "[object DataView]", zi = "[object Float32Array]", Hi = "[object Float64Array]", xi = "[object Int8Array]", Yi = "[object Int16Array]", Gi = "[object Int32Array]", Wi = "[object Uint8Array]", Zi = "[object Uint8ClampedArray]", Ji = "[object Uint16Array]", Xi = "[object Uint32Array]", x = {};
69
69
  x[zi] = x[Hi] = x[xi] = x[Yi] = x[Gi] = x[Wi] = x[Zi] = x[Ji] = x[Xi] = !0;
70
- x[Ci] = x[$i] = x[Di] = x[Fi] = x[Bi] = x[Ui] = x[ki] = x[Vi] = x[Ni] = x[Li] = x[Pi] = x[qi] = x[ji] = x[Ri] = x[Ki] = !1;
70
+ x[Ei] = x[$i] = x[Ki] = x[Fi] = x[Bi] = x[ki] = x[Ui] = x[Ni] = x[Vi] = x[Li] = x[Pi] = x[qi] = x[ji] = x[Ri] = x[Di] = !1;
71
71
  function Qi(e) {
72
- return be(e) && zt(e.length) && !!x[Ce(e)];
72
+ return be(e) && Bt(e.length) && !!x[Ee(e)];
73
73
  }
74
- function Ht(e) {
74
+ function zt(e) {
75
75
  return function(t) {
76
76
  return e(t);
77
77
  };
78
78
  }
79
- var tr = typeof exports == "object" && exports && !exports.nodeType && exports, Je = tr && typeof module == "object" && module && !module.nodeType && module, ea = Je && Je.exports === tr, Ct = ea && Zn.process, He = function() {
79
+ var tr = typeof exports == "object" && exports && !exports.nodeType && exports, Je = tr && typeof module == "object" && module && !module.nodeType && module, ea = Je && Je.exports === tr, Et = ea && Zn.process, He = function() {
80
80
  try {
81
81
  var e = Je && Je.require && Je.require("util").types;
82
- return e || Ct && Ct.binding && Ct.binding("util");
82
+ return e || Et && Et.binding && Et.binding("util");
83
83
  } catch {
84
84
  }
85
- }(), dn = He && He.isTypedArray, nr = dn ? Ht(dn) : Qi, ta = Object.prototype, na = ta.hasOwnProperty;
85
+ }(), ln = He && He.isTypedArray, nr = ln ? zt(ln) : Qi, ta = Object.prototype, na = ta.hasOwnProperty;
86
86
  function rr(e, t) {
87
- var n = me(e), r = !n && Qn(e), a = !n && !r && ct(e), i = !n && !r && !a && nr(e), l = n || r || a || i, s = l ? ui(e.length, String) : [], o = s.length;
87
+ var n = fe(e), r = !n && Qn(e), a = !n && !r && dt(e), i = !n && !r && !a && nr(e), l = n || r || a || i, s = l ? ui(e.length, String) : [], o = s.length;
88
88
  for (var u in e)
89
89
  (t || na.call(e, u)) && !(l && // Safari 9 has enumerable `arguments.length` in strict mode.
90
90
  (u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
91
91
  a && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
92
92
  i && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
93
- Bt(u, o))) && s.push(u);
93
+ Kt(u, o))) && s.push(u);
94
94
  return s;
95
95
  }
96
96
  var ra = Object.prototype;
97
- function xt(e) {
97
+ function Ht(e) {
98
98
  var t = e && e.constructor, n = typeof t == "function" && t.prototype || ra;
99
99
  return e === n;
100
100
  }
@@ -105,7 +105,7 @@ function ir(e, t) {
105
105
  }
106
106
  var ia = ir(Object.keys, Object), aa = Object.prototype, sa = aa.hasOwnProperty;
107
107
  function oa(e) {
108
- if (!xt(e))
108
+ if (!Ht(e))
109
109
  return ia(e);
110
110
  var t = [];
111
111
  for (var n in Object(e))
@@ -120,64 +120,64 @@ var la = "[object AsyncFunction]", da = "[object Function]", ua = "[object Gener
120
120
  function Y(e) {
121
121
  if (!se(e))
122
122
  return !1;
123
- var t = Ce(e);
123
+ var t = Ee(e);
124
124
  return t == da || t == ua || t == la || t == ca;
125
125
  }
126
- function st(e) {
127
- return e != null && zt(e.length) && !Y(e);
126
+ function at(e) {
127
+ return e != null && Bt(e.length) && !Y(e);
128
128
  }
129
129
  function Ye(e) {
130
- return st(e) ? rr(e) : oa(e);
130
+ return at(e) ? rr(e) : oa(e);
131
131
  }
132
- function fa(e, t) {
132
+ function ma(e, t) {
133
133
  return e && di(e, t, Ye);
134
134
  }
135
- function ma(e, t) {
135
+ function fa(e, t) {
136
136
  return function(n, r) {
137
137
  if (n == null)
138
138
  return n;
139
- if (!st(n))
139
+ if (!at(n))
140
140
  return e(n, r);
141
141
  for (var a = n.length, i = t ? a : -1, l = Object(n); (t ? i-- : ++i < a) && r(l[i], i, l) !== !1; )
142
142
  ;
143
143
  return n;
144
144
  };
145
145
  }
146
- var ha = ma(fa);
146
+ var ha = fa(ma);
147
147
  const pa = ha;
148
- function _t(e) {
148
+ function bt(e) {
149
149
  return e;
150
150
  }
151
151
  function ga(e) {
152
- return typeof e == "function" ? e : _t;
152
+ return typeof e == "function" ? e : bt;
153
153
  }
154
154
  function ae(e, t) {
155
- var n = me(e) ? Wn : pa;
155
+ var n = fe(e) ? Wn : pa;
156
156
  return n(e, ga(t));
157
157
  }
158
158
  var va = "[object Symbol]";
159
- function wt(e) {
160
- return typeof e == "symbol" || be(e) && Ce(e) == va;
159
+ function _t(e) {
160
+ return typeof e == "symbol" || be(e) && Ee(e) == va;
161
161
  }
162
162
  var ya = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ba = /^\w*$/;
163
- function Yt(e, t) {
164
- if (me(e))
163
+ function xt(e, t) {
164
+ if (fe(e))
165
165
  return !1;
166
166
  var n = typeof e;
167
- return n == "number" || n == "symbol" || n == "boolean" || e == null || wt(e) ? !0 : ba.test(e) || !ya.test(e) || t != null && e in Object(t);
167
+ return n == "number" || n == "symbol" || n == "boolean" || e == null || _t(e) ? !0 : ba.test(e) || !ya.test(e) || t != null && e in Object(t);
168
168
  }
169
- var $t = pe["__core-js_shared__"], un = function() {
169
+ var $t = pe["__core-js_shared__"], dn = function() {
170
170
  var e = /[^.]+$/.exec($t && $t.keys && $t.keys.IE_PROTO || "");
171
171
  return e ? "Symbol(src)_1." + e : "";
172
172
  }();
173
173
  function _a(e) {
174
- return !!un && un in e;
174
+ return !!dn && dn in e;
175
175
  }
176
- var wa = Function.prototype, Ma = wa.toString;
176
+ var wa = Function.prototype, Sa = wa.toString;
177
177
  function je(e) {
178
178
  if (e != null) {
179
179
  try {
180
- return Ma.call(e);
180
+ return Sa.call(e);
181
181
  } catch {
182
182
  }
183
183
  try {
@@ -187,13 +187,13 @@ function je(e) {
187
187
  }
188
188
  return "";
189
189
  }
190
- var Sa = /[\\^$.*+?()[\]{}|]/g, Ta = /^\[object .+?Constructor\]$/, Ia = Function.prototype, Aa = Object.prototype, Oa = Ia.toString, Ea = Aa.hasOwnProperty, Ca = RegExp(
191
- "^" + Oa.call(Ea).replace(Sa, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
190
+ var Ma = /[\\^$.*+?()[\]{}|]/g, Ta = /^\[object .+?Constructor\]$/, Ia = Function.prototype, Aa = Object.prototype, Oa = Ia.toString, Ca = Aa.hasOwnProperty, Ea = RegExp(
191
+ "^" + Oa.call(Ca).replace(Ma, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
192
192
  );
193
193
  function $a(e) {
194
194
  if (!se(e) || _a(e))
195
195
  return !1;
196
- var t = Y(e) ? Ca : Ta;
196
+ var t = Y(e) ? Ea : Ta;
197
197
  return t.test(je(e));
198
198
  }
199
199
  function Fa(e, t) {
@@ -204,19 +204,19 @@ function Re(e, t) {
204
204
  return $a(n) ? n : void 0;
205
205
  }
206
206
  var et = Re(Object, "create");
207
- function Ua() {
207
+ function ka() {
208
208
  this.__data__ = et ? et(null) : {}, this.size = 0;
209
209
  }
210
- function ka(e) {
210
+ function Ua(e) {
211
211
  var t = this.has(e) && delete this.__data__[e];
212
212
  return this.size -= t ? 1 : 0, t;
213
213
  }
214
- var Va = "__lodash_hash_undefined__", Na = Object.prototype, La = Na.hasOwnProperty;
214
+ var Na = "__lodash_hash_undefined__", Va = Object.prototype, La = Va.hasOwnProperty;
215
215
  function Pa(e) {
216
216
  var t = this.__data__;
217
217
  if (et) {
218
218
  var n = t[e];
219
- return n === Va ? void 0 : n;
219
+ return n === Na ? void 0 : n;
220
220
  }
221
221
  return La.call(t, e) ? t[e] : void 0;
222
222
  }
@@ -225,72 +225,72 @@ function Ra(e) {
225
225
  var t = this.__data__;
226
226
  return et ? t[e] !== void 0 : ja.call(t, e);
227
227
  }
228
- var Ka = "__lodash_hash_undefined__";
229
- function Da(e, t) {
228
+ var Da = "__lodash_hash_undefined__";
229
+ function Ka(e, t) {
230
230
  var n = this.__data__;
231
- return this.size += this.has(e) ? 0 : 1, n[e] = et && t === void 0 ? Ka : t, this;
231
+ return this.size += this.has(e) ? 0 : 1, n[e] = et && t === void 0 ? Da : t, this;
232
232
  }
233
- function Ne(e) {
233
+ function Ve(e) {
234
234
  var t = -1, n = e == null ? 0 : e.length;
235
235
  for (this.clear(); ++t < n; ) {
236
236
  var r = e[t];
237
237
  this.set(r[0], r[1]);
238
238
  }
239
239
  }
240
- Ne.prototype.clear = Ua;
241
- Ne.prototype.delete = ka;
242
- Ne.prototype.get = Pa;
243
- Ne.prototype.has = Ra;
244
- Ne.prototype.set = Da;
240
+ Ve.prototype.clear = ka;
241
+ Ve.prototype.delete = Ua;
242
+ Ve.prototype.get = Pa;
243
+ Ve.prototype.has = Ra;
244
+ Ve.prototype.set = Ka;
245
245
  function Ba() {
246
246
  this.__data__ = [], this.size = 0;
247
247
  }
248
- function ot(e, t) {
248
+ function st(e, t) {
249
249
  return e === t || e !== e && t !== t;
250
250
  }
251
- function Mt(e, t) {
251
+ function wt(e, t) {
252
252
  for (var n = e.length; n--; )
253
- if (ot(e[n][0], t))
253
+ if (st(e[n][0], t))
254
254
  return n;
255
255
  return -1;
256
256
  }
257
257
  var za = Array.prototype, Ha = za.splice;
258
258
  function xa(e) {
259
- var t = this.__data__, n = Mt(t, e);
259
+ var t = this.__data__, n = wt(t, e);
260
260
  if (n < 0)
261
261
  return !1;
262
262
  var r = t.length - 1;
263
263
  return n == r ? t.pop() : Ha.call(t, n, 1), --this.size, !0;
264
264
  }
265
265
  function Ya(e) {
266
- var t = this.__data__, n = Mt(t, e);
266
+ var t = this.__data__, n = wt(t, e);
267
267
  return n < 0 ? void 0 : t[n][1];
268
268
  }
269
269
  function Ga(e) {
270
- return Mt(this.__data__, e) > -1;
270
+ return wt(this.__data__, e) > -1;
271
271
  }
272
272
  function Wa(e, t) {
273
- var n = this.__data__, r = Mt(n, e);
273
+ var n = this.__data__, r = wt(n, e);
274
274
  return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
275
275
  }
276
- function Se(e) {
276
+ function Me(e) {
277
277
  var t = -1, n = e == null ? 0 : e.length;
278
278
  for (this.clear(); ++t < n; ) {
279
279
  var r = e[t];
280
280
  this.set(r[0], r[1]);
281
281
  }
282
282
  }
283
- Se.prototype.clear = Ba;
284
- Se.prototype.delete = xa;
285
- Se.prototype.get = Ya;
286
- Se.prototype.has = Ga;
287
- Se.prototype.set = Wa;
283
+ Me.prototype.clear = Ba;
284
+ Me.prototype.delete = xa;
285
+ Me.prototype.get = Ya;
286
+ Me.prototype.has = Ga;
287
+ Me.prototype.set = Wa;
288
288
  var tt = Re(pe, "Map");
289
289
  function Za() {
290
290
  this.size = 0, this.__data__ = {
291
- hash: new Ne(),
292
- map: new (tt || Se)(),
293
- string: new Ne()
291
+ hash: new Ve(),
292
+ map: new (tt || Me)(),
293
+ string: new Ve()
294
294
  };
295
295
  }
296
296
  function Ja(e) {
@@ -328,7 +328,7 @@ Te.prototype.get = Qa;
328
328
  Te.prototype.has = es;
329
329
  Te.prototype.set = ts;
330
330
  var ns = "Expected a function";
331
- function Gt(e, t) {
331
+ function Yt(e, t) {
332
332
  if (typeof e != "function" || t != null && typeof t != "function")
333
333
  throw new TypeError(ns);
334
334
  var n = function() {
@@ -338,12 +338,12 @@ function Gt(e, t) {
338
338
  var l = e.apply(this, r);
339
339
  return n.cache = i.set(a, l) || i, l;
340
340
  };
341
- return n.cache = new (Gt.Cache || Te)(), n;
341
+ return n.cache = new (Yt.Cache || Te)(), n;
342
342
  }
343
- Gt.Cache = Te;
343
+ Yt.Cache = Te;
344
344
  var rs = 500;
345
345
  function is(e) {
346
- var t = Gt(e, function(r) {
346
+ var t = Yt(e, function(r) {
347
347
  return n.size === rs && n.clear(), r;
348
348
  }), n = t.cache;
349
349
  return t;
@@ -359,14 +359,14 @@ function ls(e, t) {
359
359
  a[n] = t(e[n], n, e);
360
360
  return a;
361
361
  }
362
- var ds = 1 / 0, cn = ye ? ye.prototype : void 0, fn = cn ? cn.toString : void 0;
362
+ var ds = 1 / 0, un = ye ? ye.prototype : void 0, cn = un ? un.toString : void 0;
363
363
  function ar(e) {
364
364
  if (typeof e == "string")
365
365
  return e;
366
- if (me(e))
366
+ if (fe(e))
367
367
  return ls(e, ar) + "";
368
- if (wt(e))
369
- return fn ? fn.call(e) : "";
368
+ if (_t(e))
369
+ return cn ? cn.call(e) : "";
370
370
  var t = e + "";
371
371
  return t == "0" && 1 / e == -ds ? "-0" : t;
372
372
  }
@@ -374,11 +374,11 @@ function sr(e) {
374
374
  return e == null ? "" : ar(e);
375
375
  }
376
376
  function or(e, t) {
377
- return me(e) ? e : Yt(e, t) ? [e] : os(sr(e));
377
+ return fe(e) ? e : xt(e, t) ? [e] : os(sr(e));
378
378
  }
379
379
  var us = 1 / 0;
380
- function Tt(e) {
381
- if (typeof e == "string" || wt(e))
380
+ function Mt(e) {
381
+ if (typeof e == "string" || _t(e))
382
382
  return e;
383
383
  var t = e + "";
384
384
  return t == "0" && 1 / e == -us ? "-0" : t;
@@ -386,7 +386,7 @@ function Tt(e) {
386
386
  function lr(e, t) {
387
387
  t = or(t, e);
388
388
  for (var n = 0, r = t.length; e != null && n < r; )
389
- e = e[Tt(t[n++])];
389
+ e = e[Mt(t[n++])];
390
390
  return n && n == r ? e : void 0;
391
391
  }
392
392
  function B(e, t, n) {
@@ -398,13 +398,13 @@ function Q(e) {
398
398
  }
399
399
  const $e = "kong-ui-forms-api", Ge = "autofill", he = "autofillSlot";
400
400
  function cs() {
401
- this.__data__ = new Se(), this.size = 0;
401
+ this.__data__ = new Me(), this.size = 0;
402
402
  }
403
- function fs(e) {
403
+ function ms(e) {
404
404
  var t = this.__data__, n = t.delete(e);
405
405
  return this.size = t.size, n;
406
406
  }
407
- function ms(e) {
407
+ function fs(e) {
408
408
  return this.__data__.get(e);
409
409
  }
410
410
  function hs(e) {
@@ -413,7 +413,7 @@ function hs(e) {
413
413
  var ps = 200;
414
414
  function gs(e, t) {
415
415
  var n = this.__data__;
416
- if (n instanceof Se) {
416
+ if (n instanceof Me) {
417
417
  var r = n.__data__;
418
418
  if (!tt || r.length < ps - 1)
419
419
  return r.push([e, t]), this.size = ++n.size, this;
@@ -422,15 +422,15 @@ function gs(e, t) {
422
422
  return n.set(e, t), this.size = n.size, this;
423
423
  }
424
424
  function ge(e) {
425
- var t = this.__data__ = new Se(e);
425
+ var t = this.__data__ = new Me(e);
426
426
  this.size = t.size;
427
427
  }
428
428
  ge.prototype.clear = cs;
429
- ge.prototype.delete = fs;
430
- ge.prototype.get = ms;
429
+ ge.prototype.delete = ms;
430
+ ge.prototype.get = fs;
431
431
  ge.prototype.has = hs;
432
432
  ge.prototype.set = gs;
433
- var ft = function() {
433
+ var ut = function() {
434
434
  try {
435
435
  var e = Re(Object, "defineProperty");
436
436
  return e({}, "", {}), e;
@@ -438,7 +438,7 @@ var ft = function() {
438
438
  }
439
439
  }();
440
440
  function dr(e, t, n) {
441
- t == "__proto__" && ft ? ft(e, t, {
441
+ t == "__proto__" && ut ? ut(e, t, {
442
442
  configurable: !0,
443
443
  enumerable: !0,
444
444
  value: n,
@@ -448,9 +448,9 @@ function dr(e, t, n) {
448
448
  var vs = Object.prototype, ys = vs.hasOwnProperty;
449
449
  function ur(e, t, n) {
450
450
  var r = e[t];
451
- (!(ys.call(e, t) && ot(r, n)) || n === void 0 && !(t in e)) && dr(e, t, n);
451
+ (!(ys.call(e, t) && st(r, n)) || n === void 0 && !(t in e)) && dr(e, t, n);
452
452
  }
453
- function It(e, t, n, r) {
453
+ function Tt(e, t, n, r) {
454
454
  var a = !n;
455
455
  n || (n = {});
456
456
  for (var i = -1, l = t.length; ++i < l; ) {
@@ -460,7 +460,7 @@ function It(e, t, n, r) {
460
460
  return n;
461
461
  }
462
462
  function bs(e, t) {
463
- return e && It(t, Ye(t), e);
463
+ return e && Tt(t, Ye(t), e);
464
464
  }
465
465
  function _s(e) {
466
466
  var t = [];
@@ -469,26 +469,26 @@ function _s(e) {
469
469
  t.push(n);
470
470
  return t;
471
471
  }
472
- var ws = Object.prototype, Ms = ws.hasOwnProperty;
473
- function Ss(e) {
472
+ var ws = Object.prototype, Ss = ws.hasOwnProperty;
473
+ function Ms(e) {
474
474
  if (!se(e))
475
475
  return _s(e);
476
- var t = xt(e), n = [];
476
+ var t = Ht(e), n = [];
477
477
  for (var r in e)
478
- r == "constructor" && (t || !Ms.call(e, r)) || n.push(r);
478
+ r == "constructor" && (t || !Ss.call(e, r)) || n.push(r);
479
479
  return n;
480
480
  }
481
- function At(e) {
482
- return st(e) ? rr(e, !0) : Ss(e);
481
+ function It(e) {
482
+ return at(e) ? rr(e, !0) : Ms(e);
483
483
  }
484
484
  function Ts(e, t) {
485
- return e && It(t, At(t), e);
485
+ return e && Tt(t, It(t), e);
486
486
  }
487
- var cr = typeof exports == "object" && exports && !exports.nodeType && exports, mn = cr && typeof module == "object" && module && !module.nodeType && module, Is = mn && mn.exports === cr, hn = Is ? pe.Buffer : void 0, pn = hn ? hn.allocUnsafe : void 0;
487
+ var cr = typeof exports == "object" && exports && !exports.nodeType && exports, mn = cr && typeof module == "object" && module && !module.nodeType && module, Is = mn && mn.exports === cr, fn = Is ? pe.Buffer : void 0, hn = fn ? fn.allocUnsafe : void 0;
488
488
  function As(e, t) {
489
489
  if (t)
490
490
  return e.slice();
491
- var n = e.length, r = pn ? pn(n) : new e.constructor(n);
491
+ var n = e.length, r = hn ? hn(n) : new e.constructor(n);
492
492
  return e.copy(r), r;
493
493
  }
494
494
  function Os(e, t) {
@@ -497,80 +497,80 @@ function Os(e, t) {
497
497
  t[n] = e[n];
498
498
  return t;
499
499
  }
500
- function Es(e, t) {
500
+ function Cs(e, t) {
501
501
  for (var n = -1, r = e == null ? 0 : e.length, a = 0, i = []; ++n < r; ) {
502
502
  var l = e[n];
503
503
  t(l, n, e) && (i[a++] = l);
504
504
  }
505
505
  return i;
506
506
  }
507
- function fr() {
507
+ function mr() {
508
508
  return [];
509
509
  }
510
- var Cs = Object.prototype, $s = Cs.propertyIsEnumerable, gn = Object.getOwnPropertySymbols, Wt = gn ? function(e) {
511
- return e == null ? [] : (e = Object(e), Es(gn(e), function(t) {
510
+ var Es = Object.prototype, $s = Es.propertyIsEnumerable, pn = Object.getOwnPropertySymbols, Gt = pn ? function(e) {
511
+ return e == null ? [] : (e = Object(e), Cs(pn(e), function(t) {
512
512
  return $s.call(e, t);
513
513
  }));
514
- } : fr;
514
+ } : mr;
515
515
  function Fs(e, t) {
516
- return It(e, Wt(e), t);
516
+ return Tt(e, Gt(e), t);
517
517
  }
518
- function mr(e, t) {
518
+ function fr(e, t) {
519
519
  for (var n = -1, r = t.length, a = e.length; ++n < r; )
520
520
  e[a + n] = t[n];
521
521
  return e;
522
522
  }
523
- var Us = ir(Object.getPrototypeOf, Object);
524
- const hr = Us;
525
- var ks = Object.getOwnPropertySymbols, pr = ks ? function(e) {
523
+ var ks = ir(Object.getPrototypeOf, Object);
524
+ const hr = ks;
525
+ var Us = Object.getOwnPropertySymbols, pr = Us ? function(e) {
526
526
  for (var t = []; e; )
527
- mr(t, Wt(e)), e = hr(e);
527
+ fr(t, Gt(e)), e = hr(e);
528
528
  return t;
529
- } : fr;
530
- function Vs(e, t) {
531
- return It(e, pr(e), t);
529
+ } : mr;
530
+ function Ns(e, t) {
531
+ return Tt(e, pr(e), t);
532
532
  }
533
533
  function gr(e, t, n) {
534
534
  var r = t(e);
535
- return me(e) ? r : mr(r, n(e));
535
+ return fe(e) ? r : fr(r, n(e));
536
536
  }
537
- function Nt(e) {
538
- return gr(e, Ye, Wt);
537
+ function Vt(e) {
538
+ return gr(e, Ye, Gt);
539
539
  }
540
- function Ns(e) {
541
- return gr(e, At, pr);
540
+ function Vs(e) {
541
+ return gr(e, It, pr);
542
542
  }
543
- var Lt = Re(pe, "DataView"), Pt = Re(pe, "Promise"), ze = Re(pe, "Set"), qt = Re(pe, "WeakMap"), vn = "[object Map]", Ls = "[object Object]", yn = "[object Promise]", bn = "[object Set]", _n = "[object WeakMap]", wn = "[object DataView]", Ps = je(Lt), qs = je(tt), js = je(Pt), Rs = je(ze), Ks = je(qt), Fe = Ce;
544
- (Lt && Fe(new Lt(new ArrayBuffer(1))) != wn || tt && Fe(new tt()) != vn || Pt && Fe(Pt.resolve()) != yn || ze && Fe(new ze()) != bn || qt && Fe(new qt()) != _n) && (Fe = function(e) {
545
- var t = Ce(e), n = t == Ls ? e.constructor : void 0, r = n ? je(n) : "";
543
+ var Lt = Re(pe, "DataView"), Pt = Re(pe, "Promise"), ze = Re(pe, "Set"), qt = Re(pe, "WeakMap"), gn = "[object Map]", Ls = "[object Object]", vn = "[object Promise]", yn = "[object Set]", bn = "[object WeakMap]", _n = "[object DataView]", Ps = je(Lt), qs = je(tt), js = je(Pt), Rs = je(ze), Ds = je(qt), Fe = Ee;
544
+ (Lt && Fe(new Lt(new ArrayBuffer(1))) != _n || tt && Fe(new tt()) != gn || Pt && Fe(Pt.resolve()) != vn || ze && Fe(new ze()) != yn || qt && Fe(new qt()) != bn) && (Fe = function(e) {
545
+ var t = Ee(e), n = t == Ls ? e.constructor : void 0, r = n ? je(n) : "";
546
546
  if (r)
547
547
  switch (r) {
548
548
  case Ps:
549
- return wn;
549
+ return _n;
550
550
  case qs:
551
- return vn;
551
+ return gn;
552
552
  case js:
553
- return yn;
553
+ return vn;
554
554
  case Rs:
555
+ return yn;
556
+ case Ds:
555
557
  return bn;
556
- case Ks:
557
- return _n;
558
558
  }
559
559
  return t;
560
560
  });
561
561
  const nt = Fe;
562
- var Ds = Object.prototype, Bs = Ds.hasOwnProperty;
562
+ var Ks = Object.prototype, Bs = Ks.hasOwnProperty;
563
563
  function zs(e) {
564
564
  var t = e.length, n = new e.constructor(t);
565
565
  return t && typeof e[0] == "string" && Bs.call(e, "index") && (n.index = e.index, n.input = e.input), n;
566
566
  }
567
- var mt = pe.Uint8Array;
568
- function Zt(e) {
567
+ var ct = pe.Uint8Array;
568
+ function Wt(e) {
569
569
  var t = new e.constructor(e.byteLength);
570
- return new mt(t).set(new mt(e)), t;
570
+ return new ct(t).set(new ct(e)), t;
571
571
  }
572
572
  function Hs(e, t) {
573
- var n = t ? Zt(e.buffer) : e.buffer;
573
+ var n = t ? Wt(e.buffer) : e.buffer;
574
574
  return new e.constructor(n, e.byteOffset, e.byteLength);
575
575
  }
576
576
  var xs = /\w*$/;
@@ -578,20 +578,20 @@ function Ys(e) {
578
578
  var t = new e.constructor(e.source, xs.exec(e));
579
579
  return t.lastIndex = e.lastIndex, t;
580
580
  }
581
- var Mn = ye ? ye.prototype : void 0, Sn = Mn ? Mn.valueOf : void 0;
581
+ var wn = ye ? ye.prototype : void 0, Sn = wn ? wn.valueOf : void 0;
582
582
  function Gs(e) {
583
583
  return Sn ? Object(Sn.call(e)) : {};
584
584
  }
585
585
  function Ws(e, t) {
586
- var n = t ? Zt(e.buffer) : e.buffer;
586
+ var n = t ? Wt(e.buffer) : e.buffer;
587
587
  return new e.constructor(n, e.byteOffset, e.length);
588
588
  }
589
- var Zs = "[object Boolean]", Js = "[object Date]", Xs = "[object Map]", Qs = "[object Number]", eo = "[object RegExp]", to = "[object Set]", no = "[object String]", ro = "[object Symbol]", io = "[object ArrayBuffer]", ao = "[object DataView]", so = "[object Float32Array]", oo = "[object Float64Array]", lo = "[object Int8Array]", uo = "[object Int16Array]", co = "[object Int32Array]", fo = "[object Uint8Array]", mo = "[object Uint8ClampedArray]", ho = "[object Uint16Array]", po = "[object Uint32Array]";
589
+ var Zs = "[object Boolean]", Js = "[object Date]", Xs = "[object Map]", Qs = "[object Number]", eo = "[object RegExp]", to = "[object Set]", no = "[object String]", ro = "[object Symbol]", io = "[object ArrayBuffer]", ao = "[object DataView]", so = "[object Float32Array]", oo = "[object Float64Array]", lo = "[object Int8Array]", uo = "[object Int16Array]", co = "[object Int32Array]", mo = "[object Uint8Array]", fo = "[object Uint8ClampedArray]", ho = "[object Uint16Array]", po = "[object Uint32Array]";
590
590
  function go(e, t, n) {
591
591
  var r = e.constructor;
592
592
  switch (t) {
593
593
  case io:
594
- return Zt(e);
594
+ return Wt(e);
595
595
  case Zs:
596
596
  case Js:
597
597
  return new r(+e);
@@ -602,8 +602,8 @@ function go(e, t, n) {
602
602
  case lo:
603
603
  case uo:
604
604
  case co:
605
- case fo:
606
605
  case mo:
606
+ case fo:
607
607
  case ho:
608
608
  case po:
609
609
  return Ws(e, n);
@@ -620,32 +620,32 @@ function go(e, t, n) {
620
620
  return Gs(e);
621
621
  }
622
622
  }
623
- var Tn = Object.create, vo = /* @__PURE__ */ function() {
623
+ var Mn = Object.create, vo = /* @__PURE__ */ function() {
624
624
  function e() {
625
625
  }
626
626
  return function(t) {
627
627
  if (!se(t))
628
628
  return {};
629
- if (Tn)
630
- return Tn(t);
629
+ if (Mn)
630
+ return Mn(t);
631
631
  e.prototype = t;
632
632
  var n = new e();
633
633
  return e.prototype = void 0, n;
634
634
  };
635
635
  }();
636
636
  function yo(e) {
637
- return typeof e.constructor == "function" && !xt(e) ? vo(hr(e)) : {};
637
+ return typeof e.constructor == "function" && !Ht(e) ? vo(hr(e)) : {};
638
638
  }
639
639
  var bo = "[object Map]";
640
640
  function _o(e) {
641
641
  return be(e) && nt(e) == bo;
642
642
  }
643
- var In = He && He.isMap, wo = In ? Ht(In) : _o, Mo = "[object Set]";
644
- function So(e) {
645
- return be(e) && nt(e) == Mo;
643
+ var Tn = He && He.isMap, wo = Tn ? zt(Tn) : _o, So = "[object Set]";
644
+ function Mo(e) {
645
+ return be(e) && nt(e) == So;
646
646
  }
647
- var An = He && He.isSet, To = An ? Ht(An) : So, Io = 1, Ao = 2, Oo = 4, vr = "[object Arguments]", Eo = "[object Array]", Co = "[object Boolean]", $o = "[object Date]", Fo = "[object Error]", yr = "[object Function]", Uo = "[object GeneratorFunction]", ko = "[object Map]", Vo = "[object Number]", br = "[object Object]", No = "[object RegExp]", Lo = "[object Set]", Po = "[object String]", qo = "[object Symbol]", jo = "[object WeakMap]", Ro = "[object ArrayBuffer]", Ko = "[object DataView]", Do = "[object Float32Array]", Bo = "[object Float64Array]", zo = "[object Int8Array]", Ho = "[object Int16Array]", xo = "[object Int32Array]", Yo = "[object Uint8Array]", Go = "[object Uint8ClampedArray]", Wo = "[object Uint16Array]", Zo = "[object Uint32Array]", z = {};
648
- z[vr] = z[Eo] = z[Ro] = z[Ko] = z[Co] = z[$o] = z[Do] = z[Bo] = z[zo] = z[Ho] = z[xo] = z[ko] = z[Vo] = z[br] = z[No] = z[Lo] = z[Po] = z[qo] = z[Yo] = z[Go] = z[Wo] = z[Zo] = !0;
647
+ var In = He && He.isSet, To = In ? zt(In) : Mo, Io = 1, Ao = 2, Oo = 4, vr = "[object Arguments]", Co = "[object Array]", Eo = "[object Boolean]", $o = "[object Date]", Fo = "[object Error]", yr = "[object Function]", ko = "[object GeneratorFunction]", Uo = "[object Map]", No = "[object Number]", br = "[object Object]", Vo = "[object RegExp]", Lo = "[object Set]", Po = "[object String]", qo = "[object Symbol]", jo = "[object WeakMap]", Ro = "[object ArrayBuffer]", Do = "[object DataView]", Ko = "[object Float32Array]", Bo = "[object Float64Array]", zo = "[object Int8Array]", Ho = "[object Int16Array]", xo = "[object Int32Array]", Yo = "[object Uint8Array]", Go = "[object Uint8ClampedArray]", Wo = "[object Uint16Array]", Zo = "[object Uint32Array]", z = {};
648
+ z[vr] = z[Co] = z[Ro] = z[Do] = z[Eo] = z[$o] = z[Ko] = z[Bo] = z[zo] = z[Ho] = z[xo] = z[Uo] = z[No] = z[br] = z[Vo] = z[Lo] = z[Po] = z[qo] = z[Yo] = z[Go] = z[Wo] = z[Zo] = !0;
649
649
  z[Fo] = z[yr] = z[jo] = !1;
650
650
  function Xe(e, t, n, r, a, i) {
651
651
  var l, s = t & Io, o = t & Ao, u = t & Oo;
@@ -653,45 +653,45 @@ function Xe(e, t, n, r, a, i) {
653
653
  return l;
654
654
  if (!se(e))
655
655
  return e;
656
- var c = me(e);
656
+ var c = fe(e);
657
657
  if (c) {
658
658
  if (l = zs(e), !s)
659
659
  return Os(e, l);
660
660
  } else {
661
- var m = nt(e), p = m == yr || m == Uo;
662
- if (ct(e))
661
+ var f = nt(e), p = f == yr || f == ko;
662
+ if (dt(e))
663
663
  return As(e, s);
664
- if (m == br || m == vr || p && !a) {
664
+ if (f == br || f == vr || p && !a) {
665
665
  if (l = o || p ? {} : yo(e), !s)
666
- return o ? Vs(e, Ts(l, e)) : Fs(e, bs(l, e));
666
+ return o ? Ns(e, Ts(l, e)) : Fs(e, bs(l, e));
667
667
  } else {
668
- if (!z[m])
668
+ if (!z[f])
669
669
  return a ? e : {};
670
- l = go(e, m, s);
670
+ l = go(e, f, s);
671
671
  }
672
672
  }
673
673
  i || (i = new ge());
674
- var U = i.get(e);
675
- if (U)
676
- return U;
677
- i.set(e, l), To(e) ? e.forEach(function(A) {
678
- l.add(Xe(A, t, n, A, e, i));
679
- }) : wo(e) && e.forEach(function(A, T) {
680
- l.set(T, Xe(A, t, n, T, e, i));
674
+ var N = i.get(e);
675
+ if (N)
676
+ return N;
677
+ i.set(e, l), To(e) ? e.forEach(function(I) {
678
+ l.add(Xe(I, t, n, I, e, i));
679
+ }) : wo(e) && e.forEach(function(I, T) {
680
+ l.set(T, Xe(I, t, n, T, e, i));
681
681
  });
682
- var V = u ? o ? Ns : Nt : o ? At : Ye, y = c ? void 0 : V(e);
683
- return Wn(y || e, function(A, T) {
684
- y && (T = A, A = e[T]), ur(l, T, Xe(A, t, n, T, e, i));
682
+ var V = u ? o ? Vs : Vt : o ? It : Ye, y = c ? void 0 : V(e);
683
+ return Wn(y || e, function(I, T) {
684
+ y && (T = I, I = e[T]), ur(l, T, Xe(I, t, n, T, e, i));
685
685
  }), l;
686
686
  }
687
687
  var Jo = 1, Xo = 4;
688
- function Me(e) {
688
+ function Se(e) {
689
689
  return Xe(e, Jo | Xo);
690
690
  }
691
- const Jt = (e, t = "") => typeof e.id < "u" ? t + e.id : t + (e.inputName || e.label || e.model || "").toString().trim().toLowerCase().replace(/ |_/g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-]+)/g, ""), On = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
691
+ const Zt = (e, t = "") => typeof e.id < "u" ? t + e.id : t + (e.inputName || e.label || e.model || "").toString().trim().toLowerCase().replace(/ |_/g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-]+)/g, ""), An = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
692
692
  var Qo = "[object String]";
693
693
  function Le(e) {
694
- return typeof e == "string" || !me(e) && be(e) && Ce(e) == Qo;
694
+ return typeof e == "string" || !fe(e) && be(e) && Ee(e) == Qo;
695
695
  }
696
696
  const _r = {
697
697
  methods: {
@@ -740,12 +740,12 @@ var nl = /^\s+/;
740
740
  function rl(e) {
741
741
  return e && e.slice(0, tl(e) + 1).replace(nl, "");
742
742
  }
743
- var En = NaN, il = /^[-+]0x[0-9a-f]+$/i, al = /^0b[01]+$/i, sl = /^0o[0-7]+$/i, ol = parseInt;
743
+ var On = NaN, il = /^[-+]0x[0-9a-f]+$/i, al = /^0b[01]+$/i, sl = /^0o[0-7]+$/i, ol = parseInt;
744
744
  function jt(e) {
745
745
  if (typeof e == "number")
746
746
  return e;
747
- if (wt(e))
748
- return En;
747
+ if (_t(e))
748
+ return On;
749
749
  if (se(e)) {
750
750
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
751
751
  e = se(t) ? t + "" : t;
@@ -754,61 +754,61 @@ function jt(e) {
754
754
  return e === 0 ? e : +e;
755
755
  e = rl(e);
756
756
  var n = al.test(e);
757
- return n || sl.test(e) ? ol(e.slice(2), n ? 2 : 8) : il.test(e) ? En : +e;
757
+ return n || sl.test(e) ? ol(e.slice(2), n ? 2 : 8) : il.test(e) ? On : +e;
758
758
  }
759
759
  var ll = "Expected a function", dl = Math.max, ul = Math.min;
760
760
  function rt(e, t, n) {
761
- var r, a, i, l, s, o, u = 0, c = !1, m = !1, p = !0;
761
+ var r, a, i, l, s, o, u = 0, c = !1, f = !1, p = !0;
762
762
  if (typeof e != "function")
763
763
  throw new TypeError(ll);
764
- t = jt(t) || 0, se(n) && (c = !!n.leading, m = "maxWait" in n, i = m ? dl(jt(n.maxWait) || 0, t) : i, p = "trailing" in n ? !!n.trailing : p);
765
- function U(g) {
766
- var _ = r, N = a;
767
- return r = a = void 0, u = g, l = e.apply(N, _), l;
764
+ t = jt(t) || 0, se(n) && (c = !!n.leading, f = "maxWait" in n, i = f ? dl(jt(n.maxWait) || 0, t) : i, p = "trailing" in n ? !!n.trailing : p);
765
+ function N(g) {
766
+ var _ = r, U = a;
767
+ return r = a = void 0, u = g, l = e.apply(U, _), l;
768
768
  }
769
769
  function V(g) {
770
- return u = g, s = setTimeout(T, t), c ? U(g) : l;
770
+ return u = g, s = setTimeout(T, t), c ? N(g) : l;
771
771
  }
772
772
  function y(g) {
773
- var _ = g - o, N = g - u, R = t - _;
774
- return m ? ul(R, i - N) : R;
773
+ var _ = g - o, U = g - u, R = t - _;
774
+ return f ? ul(R, i - U) : R;
775
775
  }
776
- function A(g) {
777
- var _ = g - o, N = g - u;
778
- return o === void 0 || _ >= t || _ < 0 || m && N >= i;
776
+ function I(g) {
777
+ var _ = g - o, U = g - u;
778
+ return o === void 0 || _ >= t || _ < 0 || f && U >= i;
779
779
  }
780
780
  function T() {
781
781
  var g = Ft();
782
- if (A(g))
783
- return P(g);
782
+ if (I(g))
783
+ return L(g);
784
784
  s = setTimeout(T, y(g));
785
785
  }
786
- function P(g) {
787
- return s = void 0, p && r ? U(g) : (r = a = void 0, l);
786
+ function L(g) {
787
+ return s = void 0, p && r ? N(g) : (r = a = void 0, l);
788
788
  }
789
- function S() {
789
+ function M() {
790
790
  s !== void 0 && clearTimeout(s), u = 0, r = o = a = s = void 0;
791
791
  }
792
792
  function k() {
793
- return s === void 0 ? l : P(Ft());
793
+ return s === void 0 ? l : L(Ft());
794
794
  }
795
795
  function q() {
796
- var g = Ft(), _ = A(g);
796
+ var g = Ft(), _ = I(g);
797
797
  if (r = arguments, a = this, o = g, _) {
798
798
  if (s === void 0)
799
799
  return V(o);
800
- if (m)
801
- return clearTimeout(s), s = setTimeout(T, t), U(o);
800
+ if (f)
801
+ return clearTimeout(s), s = setTimeout(T, t), N(o);
802
802
  }
803
803
  return s === void 0 && (s = setTimeout(T, t)), l;
804
804
  }
805
- return q.cancel = S, q.flush = k, q;
805
+ return q.cancel = M, q.flush = k, q;
806
806
  }
807
807
  var cl = "__lodash_hash_undefined__";
808
- function fl(e) {
808
+ function ml(e) {
809
809
  return this.__data__.set(e, cl), this;
810
810
  }
811
- function ml(e) {
811
+ function fl(e) {
812
812
  return this.__data__.has(e);
813
813
  }
814
814
  function it(e) {
@@ -816,8 +816,8 @@ function it(e) {
816
816
  for (this.__data__ = new Te(); ++t < n; )
817
817
  this.add(e[t]);
818
818
  }
819
- it.prototype.add = it.prototype.push = fl;
820
- it.prototype.has = ml;
819
+ it.prototype.add = it.prototype.push = ml;
820
+ it.prototype.has = fl;
821
821
  function wr(e, t, n, r) {
822
822
  for (var a = e.length, i = n + (r ? 1 : -1); r ? i-- : ++i < a; )
823
823
  if (t(e[i], i, e))
@@ -846,45 +846,45 @@ function yl(e, t, n) {
846
846
  return !0;
847
847
  return !1;
848
848
  }
849
- function Mr(e, t) {
849
+ function Sr(e, t) {
850
850
  return e.has(t);
851
851
  }
852
852
  function bl() {
853
853
  }
854
- function Xt(e) {
854
+ function Jt(e) {
855
855
  var t = -1, n = Array(e.size);
856
856
  return e.forEach(function(r) {
857
857
  n[++t] = r;
858
858
  }), n;
859
859
  }
860
- var _l = 1 / 0, wl = ze && 1 / Xt(new ze([, -0]))[1] == _l ? function(e) {
860
+ var _l = 1 / 0, wl = ze && 1 / Jt(new ze([, -0]))[1] == _l ? function(e) {
861
861
  return new ze(e);
862
- } : bl, Ml = 200;
863
- function Sl(e, t, n) {
862
+ } : bl, Sl = 200;
863
+ function Ml(e, t, n) {
864
864
  var r = -1, a = vl, i = e.length, l = !0, s = [], o = s;
865
865
  if (n)
866
866
  l = !1, a = yl;
867
- else if (i >= Ml) {
867
+ else if (i >= Sl) {
868
868
  var u = t ? null : wl(e);
869
869
  if (u)
870
- return Xt(u);
871
- l = !1, a = Mr, o = new it();
870
+ return Jt(u);
871
+ l = !1, a = Sr, o = new it();
872
872
  } else
873
873
  o = t ? [] : s;
874
874
  e:
875
875
  for (; ++r < i; ) {
876
- var c = e[r], m = t ? t(c) : c;
877
- if (c = n || c !== 0 ? c : 0, l && m === m) {
876
+ var c = e[r], f = t ? t(c) : c;
877
+ if (c = n || c !== 0 ? c : 0, l && f === f) {
878
878
  for (var p = o.length; p--; )
879
- if (o[p] === m)
879
+ if (o[p] === f)
880
880
  continue e;
881
- t && o.push(m), s.push(c);
882
- } else a(o, m, n) || (o !== s && o.push(m), s.push(c));
881
+ t && o.push(f), s.push(c);
882
+ } else a(o, f, n) || (o !== s && o.push(f), s.push(c));
883
883
  }
884
884
  return s;
885
885
  }
886
- function Sr(e) {
887
- return e && e.length ? Sl(e) : [];
886
+ function Mr(e) {
887
+ return e && e.length ? Ml(e) : [];
888
888
  }
889
889
  var Tl = 0;
890
890
  function Tr(e) {
@@ -920,20 +920,20 @@ function Ol(e) {
920
920
  return e;
921
921
  };
922
922
  }
923
- var El = ft ? function(e, t) {
924
- return ft(e, "toString", {
923
+ var Cl = ut ? function(e, t) {
924
+ return ut(e, "toString", {
925
925
  configurable: !0,
926
926
  enumerable: !1,
927
927
  value: Ol(t),
928
928
  writable: !0
929
929
  });
930
- } : _t;
931
- const Cl = El;
932
- var $l = 800, Fl = 16, Ul = Date.now;
933
- function kl(e) {
930
+ } : bt;
931
+ const El = Cl;
932
+ var $l = 800, Fl = 16, kl = Date.now;
933
+ function Ul(e) {
934
934
  var t = 0, n = 0;
935
935
  return function() {
936
- var r = Ul(), a = Fl - (r - n);
936
+ var r = kl(), a = Fl - (r - n);
937
937
  if (n = r, a > 0) {
938
938
  if (++t >= $l)
939
939
  return arguments[0];
@@ -942,41 +942,41 @@ function kl(e) {
942
942
  return e.apply(void 0, arguments);
943
943
  };
944
944
  }
945
- var Vl = kl(Cl);
946
- function Nl(e, t) {
947
- return Vl(Al(e, t, _t), e + "");
945
+ var Nl = Ul(El);
946
+ function Vl(e, t) {
947
+ return Nl(Al(e, t, bt), e + "");
948
948
  }
949
949
  function Ll(e, t, n) {
950
950
  if (!se(n))
951
951
  return !1;
952
952
  var r = typeof t;
953
- return (r == "number" ? st(n) && Bt(t, n.length) : r == "string" && t in n) ? ot(n[t], e) : !1;
953
+ return (r == "number" ? at(n) && Kt(t, n.length) : r == "string" && t in n) ? st(n[t], e) : !1;
954
954
  }
955
- var Ir = Object.prototype, Pl = Ir.hasOwnProperty, ql = Nl(function(e, t) {
955
+ var Ir = Object.prototype, Pl = Ir.hasOwnProperty, ql = Vl(function(e, t) {
956
956
  e = Object(e);
957
957
  var n = -1, r = t.length, a = r > 2 ? t[2] : void 0;
958
958
  for (a && Ll(t[0], t[1], a) && (r = 1); ++n < r; )
959
- for (var i = t[n], l = At(i), s = -1, o = l.length; ++s < o; ) {
959
+ for (var i = t[n], l = It(i), s = -1, o = l.length; ++s < o; ) {
960
960
  var u = l[s], c = e[u];
961
- (c === void 0 || ot(c, Ir[u]) && !Pl.call(e, u)) && (e[u] = i[u]);
961
+ (c === void 0 || st(c, Ir[u]) && !Pl.call(e, u)) && (e[u] = i[u]);
962
962
  }
963
963
  return e;
964
964
  }), jl = pe.isFinite;
965
965
  function Rl(e) {
966
966
  return typeof e == "number" && jl(e);
967
967
  }
968
- var $n = 1 / 0, Kl = 17976931348623157e292;
969
- function Dl(e) {
968
+ var En = 1 / 0, Dl = 17976931348623157e292;
969
+ function Kl(e) {
970
970
  if (!e)
971
971
  return e === 0 ? e : 0;
972
- if (e = jt(e), e === $n || e === -$n) {
972
+ if (e = jt(e), e === En || e === -En) {
973
973
  var t = e < 0 ? -1 : 1;
974
- return t * Kl;
974
+ return t * Dl;
975
975
  }
976
976
  return e === e ? e : 0;
977
977
  }
978
978
  function Ar(e) {
979
- var t = Dl(e), n = t % 1;
979
+ var t = Kl(e), n = t % 1;
980
980
  return t === t ? n ? t - n : t : 0;
981
981
  }
982
982
  function Bl(e) {
@@ -984,15 +984,15 @@ function Bl(e) {
984
984
  }
985
985
  var zl = "[object Number]";
986
986
  function Rt(e) {
987
- return typeof e == "number" || be(e) && Ce(e) == zl;
987
+ return typeof e == "number" || be(e) && Ee(e) == zl;
988
988
  }
989
- var Or = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, Oe = "\\d\\d?", Ae = "\\d\\d", Hl = "\\d{3}", xl = "\\d{4}", Qe = "[^\\s]+", Er = /\[([^]*?)\]/gm;
990
- function Cr(e, t) {
989
+ var Or = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, Oe = "\\d\\d?", Ae = "\\d\\d", Hl = "\\d{3}", xl = "\\d{4}", Qe = "[^\\s]+", Cr = /\[([^]*?)\]/gm;
990
+ function Er(e, t) {
991
991
  for (var n = [], r = 0, a = e.length; r < a; r++)
992
992
  n.push(e[r].substr(0, t));
993
993
  return n;
994
994
  }
995
- var Fn = function(e) {
995
+ var $n = function(e) {
996
996
  return function(t, n) {
997
997
  var r = n[e].map(function(i) {
998
998
  return i.toLowerCase();
@@ -1031,7 +1031,7 @@ var $r = [
1031
1031
  "October",
1032
1032
  "November",
1033
1033
  "December"
1034
- ], Yl = Cr(Fr, 3), Gl = Cr($r, 3), Ur = {
1034
+ ], Yl = Er(Fr, 3), Gl = Er($r, 3), kr = {
1035
1035
  dayNamesShort: Gl,
1036
1036
  dayNames: $r,
1037
1037
  monthNamesShort: Yl,
@@ -1040,11 +1040,11 @@ var $r = [
1040
1040
  DoFn: function(e) {
1041
1041
  return e + ["th", "st", "nd", "rd"][e % 10 > 3 ? 0 : (e - e % 10 !== 10 ? 1 : 0) * e % 10];
1042
1042
  }
1043
- }, ht = Pe({}, Ur), Wl = function(e) {
1044
- return ht = Pe(ht, e);
1045
- }, Un = function(e) {
1043
+ }, mt = Pe({}, kr), Wl = function(e) {
1044
+ return mt = Pe(mt, e);
1045
+ }, Fn = function(e) {
1046
1046
  return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
1047
- }, le = function(e, t) {
1047
+ }, oe = function(e, t) {
1048
1048
  for (t === void 0 && (t = 2), e = String(e); e.length < t; )
1049
1049
  e = "0" + e;
1050
1050
  return e;
@@ -1053,7 +1053,7 @@ var $r = [
1053
1053
  return String(e.getDate());
1054
1054
  },
1055
1055
  DD: function(e) {
1056
- return le(e.getDate());
1056
+ return oe(e.getDate());
1057
1057
  },
1058
1058
  Do: function(e, t) {
1059
1059
  return t.DoFn(e.getDate());
@@ -1062,7 +1062,7 @@ var $r = [
1062
1062
  return String(e.getDay());
1063
1063
  },
1064
1064
  dd: function(e) {
1065
- return le(e.getDay());
1065
+ return oe(e.getDay());
1066
1066
  },
1067
1067
  ddd: function(e, t) {
1068
1068
  return t.dayNamesShort[e.getDay()];
@@ -1074,7 +1074,7 @@ var $r = [
1074
1074
  return String(e.getMonth() + 1);
1075
1075
  },
1076
1076
  MM: function(e) {
1077
- return le(e.getMonth() + 1);
1077
+ return oe(e.getMonth() + 1);
1078
1078
  },
1079
1079
  MMM: function(e, t) {
1080
1080
  return t.monthNamesShort[e.getMonth()];
@@ -1083,43 +1083,43 @@ var $r = [
1083
1083
  return t.monthNames[e.getMonth()];
1084
1084
  },
1085
1085
  YY: function(e) {
1086
- return le(String(e.getFullYear()), 4).substr(2);
1086
+ return oe(String(e.getFullYear()), 4).substr(2);
1087
1087
  },
1088
1088
  YYYY: function(e) {
1089
- return le(e.getFullYear(), 4);
1089
+ return oe(e.getFullYear(), 4);
1090
1090
  },
1091
1091
  h: function(e) {
1092
1092
  return String(e.getHours() % 12 || 12);
1093
1093
  },
1094
1094
  hh: function(e) {
1095
- return le(e.getHours() % 12 || 12);
1095
+ return oe(e.getHours() % 12 || 12);
1096
1096
  },
1097
1097
  H: function(e) {
1098
1098
  return String(e.getHours());
1099
1099
  },
1100
1100
  HH: function(e) {
1101
- return le(e.getHours());
1101
+ return oe(e.getHours());
1102
1102
  },
1103
1103
  m: function(e) {
1104
1104
  return String(e.getMinutes());
1105
1105
  },
1106
1106
  mm: function(e) {
1107
- return le(e.getMinutes());
1107
+ return oe(e.getMinutes());
1108
1108
  },
1109
1109
  s: function(e) {
1110
1110
  return String(e.getSeconds());
1111
1111
  },
1112
1112
  ss: function(e) {
1113
- return le(e.getSeconds());
1113
+ return oe(e.getSeconds());
1114
1114
  },
1115
1115
  S: function(e) {
1116
1116
  return String(Math.round(e.getMilliseconds() / 100));
1117
1117
  },
1118
1118
  SS: function(e) {
1119
- return le(Math.round(e.getMilliseconds() / 10), 2);
1119
+ return oe(Math.round(e.getMilliseconds() / 10), 2);
1120
1120
  },
1121
1121
  SSS: function(e) {
1122
- return le(e.getMilliseconds(), 3);
1122
+ return oe(e.getMilliseconds(), 3);
1123
1123
  },
1124
1124
  a: function(e, t) {
1125
1125
  return e.getHours() < 12 ? t.amPm[0] : t.amPm[1];
@@ -1129,22 +1129,22 @@ var $r = [
1129
1129
  },
1130
1130
  ZZ: function(e) {
1131
1131
  var t = e.getTimezoneOffset();
1132
- return (t > 0 ? "-" : "+") + le(Math.floor(Math.abs(t) / 60) * 100 + Math.abs(t) % 60, 4);
1132
+ return (t > 0 ? "-" : "+") + oe(Math.floor(Math.abs(t) / 60) * 100 + Math.abs(t) % 60, 4);
1133
1133
  },
1134
1134
  Z: function(e) {
1135
1135
  var t = e.getTimezoneOffset();
1136
- return (t > 0 ? "-" : "+") + le(Math.floor(Math.abs(t) / 60), 2) + ":" + le(Math.abs(t) % 60, 2);
1136
+ return (t > 0 ? "-" : "+") + oe(Math.floor(Math.abs(t) / 60), 2) + ":" + oe(Math.abs(t) % 60, 2);
1137
1137
  }
1138
1138
  }, kn = function(e) {
1139
1139
  return +e - 1;
1140
- }, Vn = [null, Oe], Nn = [null, Qe], Ln = [
1140
+ }, Un = [null, Oe], Nn = [null, Qe], Vn = [
1141
1141
  "isPm",
1142
1142
  Qe,
1143
1143
  function(e, t) {
1144
1144
  var n = e.toLowerCase();
1145
1145
  return n === t.amPm[0] ? 0 : n === t.amPm[1] ? 1 : null;
1146
1146
  }
1147
- ], Pn = [
1147
+ ], Ln = [
1148
1148
  "timezoneOffset",
1149
1149
  "[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",
1150
1150
  function(e) {
@@ -1187,17 +1187,17 @@ var $r = [
1187
1187
  return +e * 10;
1188
1188
  }],
1189
1189
  SSS: ["millisecond", Hl],
1190
- d: Vn,
1191
- dd: Vn,
1190
+ d: Un,
1191
+ dd: Un,
1192
1192
  ddd: Nn,
1193
1193
  dddd: Nn,
1194
- MMM: ["month", Qe, Fn("monthNamesShort")],
1195
- MMMM: ["month", Qe, Fn("monthNames")],
1196
- a: Ln,
1197
- A: Ln,
1198
- ZZ: Pn,
1199
- Z: Pn
1200
- }, pt = {
1194
+ MMM: ["month", Qe, $n("monthNamesShort")],
1195
+ MMMM: ["month", Qe, $n("monthNames")],
1196
+ a: Vn,
1197
+ A: Vn,
1198
+ ZZ: Ln,
1199
+ Z: Ln
1200
+ }, ft = {
1201
1201
  default: "ddd MMM DD YYYY HH:mm:ss",
1202
1202
  shortDate: "M/D/YY",
1203
1203
  mediumDate: "MMM D, YYYY",
@@ -1209,16 +1209,16 @@ var $r = [
1209
1209
  mediumTime: "HH:mm:ss",
1210
1210
  longTime: "HH:mm:ss.SSS"
1211
1211
  }, Xl = function(e) {
1212
- return Pe(pt, e);
1212
+ return Pe(ft, e);
1213
1213
  }, Ql = function(e, t, n) {
1214
- if (t === void 0 && (t = pt.default), n === void 0 && (n = {}), typeof e == "number" && (e = new Date(e)), Object.prototype.toString.call(e) !== "[object Date]" || isNaN(e.getTime()))
1214
+ if (t === void 0 && (t = ft.default), n === void 0 && (n = {}), typeof e == "number" && (e = new Date(e)), Object.prototype.toString.call(e) !== "[object Date]" || isNaN(e.getTime()))
1215
1215
  throw new Error("Invalid Date pass to format");
1216
- t = pt[t] || t;
1216
+ t = ft[t] || t;
1217
1217
  var r = [];
1218
- t = t.replace(Er, function(i, l) {
1218
+ t = t.replace(Cr, function(i, l) {
1219
1219
  return r.push(l), "@@@";
1220
1220
  });
1221
- var a = Pe(Pe({}, ht), n);
1221
+ var a = Pe(Pe({}, mt), n);
1222
1222
  return t = t.replace(Or, function(i) {
1223
1223
  return Zl[i](e, a);
1224
1224
  }), t.replace(/@@@/g, function() {
@@ -1228,7 +1228,7 @@ var $r = [
1228
1228
  function ed(e, t, n) {
1229
1229
  if (n === void 0 && (n = {}), typeof t != "string")
1230
1230
  throw new Error("Invalid format in fecha parse");
1231
- if (t = pt[t] || t, e.length > 1e3)
1231
+ if (t = ft[t] || t, e.length > 1e3)
1232
1232
  return null;
1233
1233
  var r = /* @__PURE__ */ new Date(), a = {
1234
1234
  year: r.getFullYear(),
@@ -1240,14 +1240,14 @@ function ed(e, t, n) {
1240
1240
  millisecond: 0,
1241
1241
  isPm: null,
1242
1242
  timezoneOffset: null
1243
- }, i = [], l = [], s = t.replace(Er, function(k, q) {
1244
- return l.push(Un(q)), "@@@";
1243
+ }, i = [], l = [], s = t.replace(Cr, function(k, q) {
1244
+ return l.push(Fn(q)), "@@@";
1245
1245
  }), o = {}, u = {};
1246
- s = Un(s).replace(Or, function(k) {
1247
- var q = Jl[k], g = q[0], _ = q[1], N = q[3];
1246
+ s = Fn(s).replace(Or, function(k) {
1247
+ var q = Jl[k], g = q[0], _ = q[1], U = q[3];
1248
1248
  if (o[g])
1249
1249
  throw new Error("Invalid format. " + g + " specified twice in format");
1250
- return o[g] = !0, N && (u[N] = !0), i.push(q), "(" + _ + ")";
1250
+ return o[g] = !0, U && (u[U] = !0), i.push(q), "(" + _ + ")";
1251
1251
  }), Object.keys(u).forEach(function(k) {
1252
1252
  if (!o[k])
1253
1253
  throw new Error("Invalid format. " + k + " is required in specified format");
@@ -1257,24 +1257,24 @@ function ed(e, t, n) {
1257
1257
  var c = e.match(new RegExp(s, "i"));
1258
1258
  if (!c)
1259
1259
  return null;
1260
- for (var m = Pe(Pe({}, ht), n), p = 1; p < c.length; p++) {
1261
- var U = i[p - 1], V = U[0], y = U[2], A = y ? y(c[p], m) : +c[p];
1262
- if (A == null)
1260
+ for (var f = Pe(Pe({}, mt), n), p = 1; p < c.length; p++) {
1261
+ var N = i[p - 1], V = N[0], y = N[2], I = y ? y(c[p], f) : +c[p];
1262
+ if (I == null)
1263
1263
  return null;
1264
- a[V] = A;
1264
+ a[V] = I;
1265
1265
  }
1266
1266
  a.isPm === 1 && a.hour != null && +a.hour != 12 ? a.hour = +a.hour + 12 : a.isPm === 0 && +a.hour == 12 && (a.hour = 0);
1267
1267
  var T;
1268
1268
  if (a.timezoneOffset == null) {
1269
1269
  T = new Date(a.year, a.month, a.day, a.hour, a.minute, a.second, a.millisecond);
1270
- for (var P = [
1270
+ for (var L = [
1271
1271
  ["month", "getMonth"],
1272
1272
  ["day", "getDate"],
1273
1273
  ["hour", "getHours"],
1274
1274
  ["minute", "getMinutes"],
1275
1275
  ["second", "getSeconds"]
1276
- ], p = 0, S = P.length; p < S; p++)
1277
- if (o[P[p][0]] && a[P[p][0]] !== T[P[p][1]]())
1276
+ ], p = 0, M = L.length; p < M; p++)
1277
+ if (o[L[p][0]] && a[L[p][0]] !== T[L[p][1]]())
1278
1278
  return null;
1279
1279
  } else if (T = 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)
1280
1280
  return null;
@@ -1283,7 +1283,7 @@ function ed(e, t, n) {
1283
1283
  var Be = {
1284
1284
  format: Ql,
1285
1285
  parse: ed,
1286
- defaultI18n: Ur,
1286
+ defaultI18n: kr,
1287
1287
  setGlobalDateI18n: Wl,
1288
1288
  setGlobalDateMasks: Xl
1289
1289
  };
@@ -1310,10 +1310,10 @@ const ie = {
1310
1310
  invalidTextContainNumber: "Invalid text! Cannot contains numbers or special characters",
1311
1311
  invalidTextContainSpec: "Invalid text! Cannot contains special characters"
1312
1312
  };
1313
- function fe(e, t, n = ie) {
1314
- return Q(e) || e === "" ? t ? [W(n.fieldIsRequired)] : [] : null;
1313
+ function me(e, t, n = ie) {
1314
+ return Q(e) || e === "" ? t ? [Z(n.fieldIsRequired)] : [] : null;
1315
1315
  }
1316
- function W(e, ...t) {
1316
+ function Z(e, ...t) {
1317
1317
  if (e != null && t.length > 0)
1318
1318
  for (let n = 0; n < t.length; n++)
1319
1319
  e = e.replace("{" + (n - 1) + "}", t[n]);
@@ -1322,121 +1322,121 @@ function W(e, ...t) {
1322
1322
  const qe = {
1323
1323
  resources: ie,
1324
1324
  required(e, t, n, r = ie) {
1325
- return fe(e, t.required, r);
1325
+ return me(e, t.required, r);
1326
1326
  },
1327
1327
  number(e, t, n, r = ie) {
1328
- const a = fe(e, t.required, r);
1328
+ const a = me(e, t.required, r);
1329
1329
  if (a != null) return a;
1330
1330
  const i = [];
1331
- return Rl(e) ? (!Q(t.min) && e < t.min && i.push(W(r.numberTooSmall, t.min)), !Q(t.max) && e > t.max && i.push(W(r.numberTooBig, t.max))) : i.push(W(r.invalidNumber)), i;
1331
+ return Rl(e) ? (!Q(t.min) && e < t.min && i.push(Z(r.numberTooSmall, t.min)), !Q(t.max) && e > t.max && i.push(Z(r.numberTooBig, t.max))) : i.push(Z(r.invalidNumber)), i;
1332
1332
  },
1333
1333
  integer(e, t, n, r = ie) {
1334
- const a = fe(e, t.required, r);
1334
+ const a = me(e, t.required, r);
1335
1335
  if (a != null) return a;
1336
1336
  const i = qe.number(e, t, n, r);
1337
- return Bl(e) || i.push(W(r.invalidInteger)), i;
1337
+ return Bl(e) || i.push(Z(r.invalidInteger)), i;
1338
1338
  },
1339
1339
  double(e, t, n, r = ie) {
1340
- const a = fe(e, t.required, r);
1340
+ const a = me(e, t.required, r);
1341
1341
  if (a != null) return a;
1342
1342
  if (!Rt(e) || isNaN(e))
1343
- return [W(r.invalidNumber)];
1343
+ return [Z(r.invalidNumber)];
1344
1344
  },
1345
1345
  string(e, t, n, r = ie) {
1346
- const a = fe(e, t.required, r);
1346
+ const a = me(e, t.required, r);
1347
1347
  if (a != null) return a;
1348
1348
  const i = [];
1349
- return Le(e) ? (!Q(t.min) && e.length < t.min && i.push(W(r.textTooSmall, e.length, t.min)), !Q(t.max) && e.length > t.max && i.push(W(r.textTooBig, e.length, t.max))) : i.push(W(r.thisNotText)), i;
1349
+ return Le(e) ? (!Q(t.min) && e.length < t.min && i.push(Z(r.textTooSmall, e.length, t.min)), !Q(t.max) && e.length > t.max && i.push(Z(r.textTooBig, e.length, t.max))) : i.push(Z(r.thisNotText)), i;
1350
1350
  },
1351
1351
  array(e, t, n, r = ie) {
1352
1352
  if (t.required) {
1353
1353
  if (!Array.isArray(e))
1354
- return [W(r.thisNotArray)];
1354
+ return [Z(r.thisNotArray)];
1355
1355
  if (e.length === 0)
1356
- return [W(r.fieldIsRequired)];
1356
+ return [Z(r.fieldIsRequired)];
1357
1357
  }
1358
1358
  if (!Q(e)) {
1359
1359
  if (!Q(t.min) && e.length < t.min)
1360
- return [W(r.selectMinItems, t.min)];
1360
+ return [Z(r.selectMinItems, t.min)];
1361
1361
  if (!Q(t.max) && e.length > t.max)
1362
- return [W(r.selectMaxItems, t.max)];
1362
+ return [Z(r.selectMaxItems, t.max)];
1363
1363
  }
1364
1364
  },
1365
1365
  date(e, t, n, r = ie) {
1366
- const a = fe(e, t.required, r);
1366
+ const a = me(e, t.required, r);
1367
1367
  if (a != null) return a;
1368
1368
  const i = new Date(e);
1369
1369
  if (isNaN(i.getDate()))
1370
- return [W(r.invalidDate)];
1370
+ return [Z(r.invalidDate)];
1371
1371
  const l = [];
1372
1372
  if (!Q(t.min)) {
1373
1373
  const s = new Date(t.min);
1374
- i.valueOf() < s.valueOf() && l.push(W(r.dateIsEarly, Be.format(i), Be.format(s)));
1374
+ i.valueOf() < s.valueOf() && l.push(Z(r.dateIsEarly, Be.format(i), Be.format(s)));
1375
1375
  }
1376
1376
  if (!Q(t.max)) {
1377
1377
  const s = new Date(t.max);
1378
- i.valueOf() > s.valueOf() && l.push(W(r.dateIsLate, Be.format(i), Be.format(s)));
1378
+ i.valueOf() > s.valueOf() && l.push(Z(r.dateIsLate, Be.format(i), Be.format(s)));
1379
1379
  }
1380
1380
  return l;
1381
1381
  },
1382
1382
  regexp(e, t, n, r = ie) {
1383
- const a = fe(e, t.required, r);
1383
+ const a = me(e, t.required, r);
1384
1384
  if (a != null) return a;
1385
1385
  if (!Q(t.pattern) && !new RegExp(t.pattern).test(e))
1386
- return [W(r.invalidFormat)];
1386
+ return [Z(r.invalidFormat)];
1387
1387
  },
1388
1388
  email(e, t, n, r = ie) {
1389
- const a = fe(e, t.required, r);
1389
+ const a = me(e, t.required, r);
1390
1390
  if (a != null) return a;
1391
1391
  if (!/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e))
1392
- return [W(r.invalidEmail)];
1392
+ return [Z(r.invalidEmail)];
1393
1393
  },
1394
1394
  url(e, t, n, r = ie) {
1395
- const a = fe(e, t.required, r);
1395
+ const a = me(e, t.required, r);
1396
1396
  if (a != null) return a;
1397
1397
  if (!/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g.test(e))
1398
- return [W(r.invalidURL)];
1398
+ return [Z(r.invalidURL)];
1399
1399
  },
1400
1400
  creditCard(e, t, n, r = ie) {
1401
- const a = fe(e, t.required, r);
1401
+ const a = me(e, t.required, r);
1402
1402
  if (a != null) return a;
1403
1403
  const i = /^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/, l = e.replace(/[^0-9]+/g, "");
1404
1404
  if (!i.test(l))
1405
- return [W(r.invalidCard)];
1405
+ return [Z(r.invalidCard)];
1406
1406
  let s = 0, o, u, c;
1407
- for (let m = l.length - 1; m >= 0; m--)
1408
- o = l.substring(m, m + 1), u = parseInt(o, 10), c ? (u *= 2, u >= 10 ? s += u % 10 + 1 : s += u) : s += u, c = !c;
1407
+ for (let f = l.length - 1; f >= 0; f--)
1408
+ o = l.substring(f, f + 1), u = parseInt(o, 10), c ? (u *= 2, u >= 10 ? s += u % 10 + 1 : s += u) : s += u, c = !c;
1409
1409
  if (!(s % 10 === 0 && l))
1410
- return [W(r.invalidCardNumber)];
1410
+ return [Z(r.invalidCardNumber)];
1411
1411
  },
1412
1412
  alpha(e, t, n, r = ie) {
1413
- const a = fe(e, t.required, r);
1413
+ const a = me(e, t.required, r);
1414
1414
  if (a != null) return a;
1415
1415
  if (!/^[a-zA-Z]*$/.test(e))
1416
- return [W(r.invalidTextContainNumber)];
1416
+ return [Z(r.invalidTextContainNumber)];
1417
1417
  },
1418
1418
  alphaNumeric(e, t, n, r = ie) {
1419
- const a = fe(e, t.required, r);
1419
+ const a = me(e, t.required, r);
1420
1420
  if (a != null) return a;
1421
1421
  if (!/^[a-zA-Z0-9]*$/.test(e))
1422
- return [W(r.invalidTextContainSpec)];
1422
+ return [Z(r.invalidTextContainSpec)];
1423
1423
  }
1424
1424
  };
1425
1425
  Object.keys(qe).forEach((e) => {
1426
1426
  const t = qe[e];
1427
1427
  Y(t) && (t.locale = (n) => (r, a, i) => t(r, a, i, ql(n, ie)));
1428
1428
  });
1429
- function qn(e) {
1429
+ function Pn(e) {
1430
1430
  return Le(e) ? qe[e] != null ? qe[e] : (console.warn(`'${e}' is not a validator function!`), null) : e;
1431
1431
  }
1432
- function Ut(e, t, n) {
1432
+ function kt(e, t, n) {
1433
1433
  let r = B(n.context, "schema.attributes", {});
1434
1434
  const a = t.value || "input";
1435
1435
  Le(a) && (r = B(r, a) || r), ae(r, (i, l) => {
1436
1436
  e.setAttribute(l, i);
1437
1437
  });
1438
1438
  }
1439
- const ce = {
1439
+ const ue = {
1440
1440
  name: "abstractField",
1441
1441
  props: ["vfg", "model", "schema", "formOptions", "disabled"],
1442
1442
  emits: ["validated", "modelUpdated"],
@@ -1449,9 +1449,9 @@ const ce = {
1449
1449
  },
1450
1450
  directives: {
1451
1451
  attributes: {
1452
- beforeMount: Ut,
1453
- updated: Ut,
1454
- componentUpdated: Ut
1452
+ beforeMount: kt,
1453
+ updated: kt,
1454
+ componentUpdated: kt
1455
1455
  }
1456
1456
  },
1457
1457
  computed: {
@@ -1475,8 +1475,8 @@ const ce = {
1475
1475
  if (this.schema.validator && this.schema.readonly !== !0 && this.disabled !== !0) {
1476
1476
  const a = [];
1477
1477
  Array.isArray(this.schema.validator) ? ae(this.schema.validator, (i) => {
1478
- a.push(qn(i).bind(this));
1479
- }) : a.push(qn(this.schema.validator).bind(this)), ae(a, (i) => {
1478
+ a.push(Pn(i).bind(this));
1479
+ }) : a.push(Pn(this.schema.validator).bind(this)), ae(a, (i) => {
1480
1480
  if (t)
1481
1481
  n.push(i(this.value, this.schema, this.model));
1482
1482
  else {
@@ -1491,7 +1491,7 @@ const ce = {
1491
1491
  }
1492
1492
  const r = (a) => {
1493
1493
  let i = [];
1494
- ae(Sr(a), (s) => {
1494
+ ae(Mr(a), (s) => {
1495
1495
  Array.isArray(s) && s.length > 0 ? i = i.concat(s) : Le(s) && i.push(s);
1496
1496
  }), Y(this.schema.onValidated) && this.schema.onValidated.call(this, this.model, i, this.schema);
1497
1497
  const l = i.length === 0;
@@ -1532,7 +1532,7 @@ const ce = {
1532
1532
  },
1533
1533
  getFieldID(e, t = !1) {
1534
1534
  const n = B(this.formOptions, "fieldIdPrefix", "");
1535
- return Jt(e, n) + (t ? "-" + Tr() : "");
1535
+ return Zt(e, n) + (t ? "-" + Tr() : "");
1536
1536
  },
1537
1537
  getLabelId(e) {
1538
1538
  return `${this.getFieldID(e)}-label`;
@@ -1547,16 +1547,16 @@ const ce = {
1547
1547
  return e;
1548
1548
  }
1549
1549
  }
1550
- }, Ym = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1550
+ }, Zf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1551
1551
  __proto__: null,
1552
- default: ce
1552
+ default: ue
1553
1553
  }, Symbol.toStringTag, { value: "Module" })), H = (e, t) => {
1554
1554
  const n = e.__vccOpts || e;
1555
1555
  for (const [r, a] of t)
1556
1556
  n[r] = a;
1557
1557
  return n;
1558
1558
  }, td = {
1559
- mixins: [ce],
1559
+ mixins: [ue],
1560
1560
  emits: ["model-updated"],
1561
1561
  data() {
1562
1562
  return {
@@ -1589,18 +1589,18 @@ const ce = {
1589
1589
  function id(e, t, n, r, a, i) {
1590
1590
  const l = E("vue-form-generator");
1591
1591
  return d(), h("div", nd, [
1592
- f("button", {
1592
+ m("button", {
1593
1593
  class: "advanced-field-title",
1594
1594
  type: "button",
1595
1595
  onClick: t[0] || (t[0] = (...s) => i.handleOpen && i.handleOpen(...s))
1596
1596
  }, [
1597
- f("i", rd, F(a.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
1598
- f("span", null, F(i.titleText), 1)
1597
+ m("i", rd, F(a.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
1598
+ m("span", null, F(i.titleText), 1)
1599
1599
  ]),
1600
- f("div", {
1601
- class: J(["advanced-field-dropdown", i.openClass])
1600
+ m("div", {
1601
+ class: W(["advanced-field-dropdown", i.openClass])
1602
1602
  }, [
1603
- M(l, {
1603
+ S(l, {
1604
1604
  model: e.model,
1605
1605
  options: { helpAsHtml: !0 },
1606
1606
  schema: e.schema,
@@ -1609,7 +1609,7 @@ function id(e, t, n, r, a, i) {
1609
1609
  ], 2)
1610
1610
  ]);
1611
1611
  }
1612
- const ad = /* @__PURE__ */ H(td, [["render", id], ["__scopeId", "data-v-6f4089bd"]]), xe = "24px", Qt = (e, t) => {
1612
+ const ad = /* @__PURE__ */ H(td, [["render", id], ["__scopeId", "data-v-6f4089bd"]]), xe = "24px", Xt = (e, t) => {
1613
1613
  const n = e.__vccOpts || e;
1614
1614
  for (const [r, a] of t)
1615
1615
  n[r] = a;
@@ -1617,10 +1617,10 @@ const ad = /* @__PURE__ */ H(td, [["render", id], ["__scopeId", "data-v-6f4089bd
1617
1617
  }, sd = (e) => (_e("data-v-c1f7c39c"), e = e(), we(), e), od = ["aria-hidden"], ld = {
1618
1618
  key: 0,
1619
1619
  "data-testid": "kui-icon-svg-title"
1620
- }, dd = /* @__PURE__ */ sd(() => /* @__PURE__ */ f("path", {
1620
+ }, dd = /* @__PURE__ */ sd(() => /* @__PURE__ */ m("path", {
1621
1621
  d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
1622
1622
  fill: "currentColor"
1623
- }, null, -1)), ud = /* @__PURE__ */ oe({
1623
+ }, null, -1)), ud = /* @__PURE__ */ de({
1624
1624
  __name: "AddIcon",
1625
1625
  props: {
1626
1626
  /** The accessibility text provided to screen readers */
@@ -1690,11 +1690,11 @@ const ad = /* @__PURE__ */ H(td, [["render", id], ["__scopeId", "data-v-6f4089bd
1690
1690
  lineHeight: "0",
1691
1691
  width: n.value
1692
1692
  }));
1693
- return (a, i) => (d(), I(ee(e.as), {
1693
+ return (a, i) => (d(), A(ee(e.as), {
1694
1694
  "aria-hidden": e.decorative ? "true" : void 0,
1695
1695
  class: "kui-icon add-icon",
1696
1696
  "data-testid": "kui-icon-wrapper-add-icon",
1697
- style: Kt(r.value)
1697
+ style: Dt(r.value)
1698
1698
  }, {
1699
1699
  default: w(() => [
1700
1700
  (d(), h("svg", {
@@ -1714,13 +1714,13 @@ const ad = /* @__PURE__ */ H(td, [["render", id], ["__scopeId", "data-v-6f4089bd
1714
1714
  _: 1
1715
1715
  }, 8, ["aria-hidden", "style"]));
1716
1716
  }
1717
- }), kr = /* @__PURE__ */ Qt(ud, [["__scopeId", "data-v-c1f7c39c"]]), cd = (e) => (_e("data-v-885f8053"), e = e(), we(), e), fd = ["aria-hidden"], md = {
1717
+ }), Ur = /* @__PURE__ */ Xt(ud, [["__scopeId", "data-v-c1f7c39c"]]), cd = (e) => (_e("data-v-885f8053"), e = e(), we(), e), md = ["aria-hidden"], fd = {
1718
1718
  key: 0,
1719
1719
  "data-testid": "kui-icon-svg-title"
1720
- }, hd = /* @__PURE__ */ cd(() => /* @__PURE__ */ f("path", {
1720
+ }, hd = /* @__PURE__ */ cd(() => /* @__PURE__ */ m("path", {
1721
1721
  d: "M5 13V11H19V13H5Z",
1722
1722
  fill: "currentColor"
1723
- }, null, -1)), pd = /* @__PURE__ */ oe({
1723
+ }, null, -1)), pd = /* @__PURE__ */ de({
1724
1724
  __name: "RemoveIcon",
1725
1725
  props: {
1726
1726
  /** The accessibility text provided to screen readers */
@@ -1790,11 +1790,11 @@ const ad = /* @__PURE__ */ H(td, [["render", id], ["__scopeId", "data-v-6f4089bd
1790
1790
  lineHeight: "0",
1791
1791
  width: n.value
1792
1792
  }));
1793
- return (a, i) => (d(), I(ee(e.as), {
1793
+ return (a, i) => (d(), A(ee(e.as), {
1794
1794
  "aria-hidden": e.decorative ? "true" : void 0,
1795
1795
  class: "kui-icon remove-icon",
1796
1796
  "data-testid": "kui-icon-wrapper-remove-icon",
1797
- style: Kt(r.value)
1797
+ style: Dt(r.value)
1798
1798
  }, {
1799
1799
  default: w(() => [
1800
1800
  (d(), h("svg", {
@@ -1807,20 +1807,20 @@ const ad = /* @__PURE__ */ H(td, [["render", id], ["__scopeId", "data-v-6f4089bd
1807
1807
  width: "100%",
1808
1808
  xmlns: "http://www.w3.org/2000/svg"
1809
1809
  }, [
1810
- e.title ? (d(), h("title", md, F(e.title), 1)) : O("", !0),
1810
+ e.title ? (d(), h("title", fd, F(e.title), 1)) : O("", !0),
1811
1811
  hd
1812
- ], 8, fd))
1812
+ ], 8, md))
1813
1813
  ]),
1814
1814
  _: 1
1815
1815
  }, 8, ["aria-hidden", "style"]));
1816
1816
  }
1817
- }), gd = /* @__PURE__ */ Qt(pd, [["__scopeId", "data-v-885f8053"]]), vd = (e) => (_e("data-v-c73ebbaa"), e = e(), we(), e), yd = ["aria-hidden"], bd = {
1817
+ }), gd = /* @__PURE__ */ Xt(pd, [["__scopeId", "data-v-885f8053"]]), vd = (e) => (_e("data-v-c73ebbaa"), e = e(), we(), e), yd = ["aria-hidden"], bd = {
1818
1818
  key: 0,
1819
1819
  "data-testid": "kui-icon-svg-title"
1820
- }, _d = /* @__PURE__ */ vd(() => /* @__PURE__ */ f("path", {
1820
+ }, _d = /* @__PURE__ */ vd(() => /* @__PURE__ */ m("path", {
1821
1821
  d: "M7 21C6.45 21 5.97917 20.8042 5.5875 20.4125C5.19583 20.0208 5 19.55 5 19V6H4V4H9V3H15V4H20V6H19V19C19 19.55 18.8042 20.0208 18.4125 20.4125C18.0208 20.8042 17.55 21 17 21H7ZM17 6H7V19H17V6ZM9 17H11V8H9V17ZM13 17H15V8H13V17Z",
1822
1822
  fill: "currentColor"
1823
- }, null, -1)), wd = /* @__PURE__ */ oe({
1823
+ }, null, -1)), wd = /* @__PURE__ */ de({
1824
1824
  __name: "TrashIcon",
1825
1825
  props: {
1826
1826
  /** The accessibility text provided to screen readers */
@@ -1890,11 +1890,11 @@ const ad = /* @__PURE__ */ H(td, [["render", id], ["__scopeId", "data-v-6f4089bd
1890
1890
  lineHeight: "0",
1891
1891
  width: n.value
1892
1892
  }));
1893
- return (a, i) => (d(), I(ee(e.as), {
1893
+ return (a, i) => (d(), A(ee(e.as), {
1894
1894
  "aria-hidden": e.decorative ? "true" : void 0,
1895
1895
  class: "kui-icon trash-icon",
1896
1896
  "data-testid": "kui-icon-wrapper-trash-icon",
1897
- style: Kt(r.value)
1897
+ style: Dt(r.value)
1898
1898
  }, {
1899
1899
  default: w(() => [
1900
1900
  (d(), h("svg", {
@@ -1914,7 +1914,7 @@ const ad = /* @__PURE__ */ H(td, [["render", id], ["__scopeId", "data-v-6f4089bd
1914
1914
  _: 1
1915
1915
  }, 8, ["aria-hidden", "style"]));
1916
1916
  }
1917
- }), lt = /* @__PURE__ */ Qt(wd, [["__scopeId", "data-v-c73ebbaa"]]), Md = { class: "array-card-container" }, Sd = /* @__PURE__ */ oe({
1917
+ }), ot = /* @__PURE__ */ Xt(wd, [["__scopeId", "data-v-c73ebbaa"]]), Sd = { class: "array-card-container" }, Md = /* @__PURE__ */ de({
1918
1918
  __name: "FieldArrayCardContainer",
1919
1919
  props: {
1920
1920
  model: {
@@ -1930,27 +1930,27 @@ const ad = /* @__PURE__ */ H(td, [["render", id], ["__scopeId", "data-v-6f4089bd
1930
1930
  setup(e) {
1931
1931
  return (t, n) => {
1932
1932
  const r = E("KCard"), a = E("KButton");
1933
- return d(), h("div", Md, [
1934
- M(r, { class: "card" }, {
1933
+ return d(), h("div", Sd, [
1934
+ S(r, { class: "card" }, {
1935
1935
  default: w(() => [
1936
- Ee(t.$slots, "default", {}, void 0, !0)
1936
+ Ce(t.$slots, "default", {}, void 0, !0)
1937
1937
  ]),
1938
1938
  _: 3
1939
1939
  }),
1940
- M(a, {
1940
+ S(a, {
1941
1941
  appearance: "tertiary",
1942
1942
  class: "array-card-remove-button",
1943
1943
  onClick: n[0] || (n[0] = (i) => t.$emit("remove-item"))
1944
1944
  }, {
1945
1945
  default: w(() => [
1946
- M(L(lt))
1946
+ S(P(ot))
1947
1947
  ]),
1948
1948
  _: 1
1949
1949
  })
1950
1950
  ]);
1951
1951
  };
1952
1952
  }
1953
- }), Vr = /* @__PURE__ */ H(Sd, [["__scopeId", "data-v-7fbbde2b"]]), Td = { class: "array-item-wrapper" }, Id = { class: "array-item" }, Ad = { class: "array-item-after" }, Od = /* @__PURE__ */ oe({
1953
+ }), Nr = /* @__PURE__ */ H(Md, [["__scopeId", "data-v-7fbbde2b"]]), Td = { class: "array-item-wrapper" }, Id = { class: "array-item" }, Ad = { class: "array-item-after" }, Od = /* @__PURE__ */ de({
1954
1954
  __name: "FieldArrayItem",
1955
1955
  props: {
1956
1956
  model: {
@@ -1963,40 +1963,40 @@ const ad = /* @__PURE__ */ H(td, [["render", id], ["__scopeId", "data-v-6f4089bd
1963
1963
  return (t, n) => {
1964
1964
  const r = E("KButton");
1965
1965
  return d(), h("div", Td, [
1966
- f("div", Id, [
1967
- Ee(t.$slots, "default", {}, void 0, !0),
1968
- M(r, {
1966
+ m("div", Id, [
1967
+ Ce(t.$slots, "default", {}, void 0, !0),
1968
+ S(r, {
1969
1969
  appearance: "tertiary",
1970
1970
  class: "delete",
1971
1971
  onClick: n[0] || (n[0] = (a) => t.$emit("remove-item"))
1972
1972
  }, {
1973
1973
  default: w(() => [
1974
- M(L(lt))
1974
+ S(P(ot))
1975
1975
  ]),
1976
1976
  _: 1
1977
1977
  })
1978
1978
  ]),
1979
- f("div", Ad, [
1980
- Ee(t.$slots, "after", {}, void 0, !0)
1979
+ m("div", Ad, [
1980
+ Ce(t.$slots, "after", {}, void 0, !0)
1981
1981
  ])
1982
1982
  ]);
1983
1983
  };
1984
1984
  }
1985
- }), Nr = /* @__PURE__ */ H(Od, [["__scopeId", "data-v-eb9975cc"]]), Ed = (e) => (_e("data-v-37458a0a"), e = e(), we(), e), Cd = { class: "multi-item-wrapper" }, $d = /* @__PURE__ */ Ed(() => /* @__PURE__ */ f("hr", null, null, -1)), Fd = /* @__PURE__ */ oe({
1985
+ }), Vr = /* @__PURE__ */ H(Od, [["__scopeId", "data-v-eb9975cc"]]), Cd = (e) => (_e("data-v-37458a0a"), e = e(), we(), e), Ed = { class: "multi-item-wrapper" }, $d = /* @__PURE__ */ Cd(() => /* @__PURE__ */ m("hr", null, null, -1)), Fd = /* @__PURE__ */ de({
1986
1986
  __name: "FieldArrayMultiItem",
1987
1987
  emits: ["remove-item"],
1988
1988
  setup(e) {
1989
1989
  return (t, n) => {
1990
1990
  const r = E("KButton");
1991
- return d(), h("div", Cd, [
1992
- Ee(t.$slots, "default", {}, void 0, !0),
1993
- M(r, {
1991
+ return d(), h("div", Ed, [
1992
+ Ce(t.$slots, "default", {}, void 0, !0),
1993
+ S(r, {
1994
1994
  appearance: "danger",
1995
1995
  class: "delete",
1996
1996
  onClick: n[0] || (n[0] = (a) => t.$emit("remove-item"))
1997
1997
  }, {
1998
1998
  default: w(() => [
1999
- ne(" - Remove Field ")
1999
+ te(" - Remove Field ")
2000
2000
  ]),
2001
2001
  _: 1
2002
2002
  }),
@@ -2004,21 +2004,21 @@ const ad = /* @__PURE__ */ H(td, [["render", id], ["__scopeId", "data-v-6f4089bd
2004
2004
  ]);
2005
2005
  };
2006
2006
  }
2007
- }), Lr = /* @__PURE__ */ H(Fd, [["__scopeId", "data-v-37458a0a"]]), Ud = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}";
2008
- function kd(e) {
2009
- return e ? e.length === 36 && new RegExp(`^${Ud}$`).test(e) : !1;
2007
+ }), Lr = /* @__PURE__ */ H(Fd, [["__scopeId", "data-v-37458a0a"]]), kd = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}";
2008
+ function Ud(e) {
2009
+ return e ? e.length === 36 && new RegExp(`^${kd}$`).test(e) : !1;
2010
2010
  }
2011
- const kt = 50, ke = {
2011
+ const Ut = 50, Ue = {
2012
2012
  CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
2013
2013
  CREATE_FROM_ENTITY: "CREATE_FROM_ENTITY",
2014
2014
  UPDATE_ENTITY: "UPDATE_ENTITY",
2015
2015
  SET_REFERRAL_VALUE: "SET_REFERRAL_VALUE"
2016
2016
  };
2017
- function Vd(e, t, n) {
2018
- return n ? ke.SET_REFERRAL_VALUE : e && !t || !e && t ? ke.UPDATE_ENTITY : e && t ? ke.CREATE_FROM_ENTITY : ke.CREATE_NOT_FROM_ENTITY;
2017
+ function Nd(e, t, n) {
2018
+ return n ? Ue.SET_REFERRAL_VALUE : e && !t || !e && t ? Ue.UPDATE_ENTITY : e && t ? Ue.CREATE_FROM_ENTITY : Ue.CREATE_NOT_FROM_ENTITY;
2019
2019
  }
2020
- const Nd = {
2021
- mixins: [ce],
2020
+ const Vd = {
2021
+ mixins: [ue],
2022
2022
  inject: [$e],
2023
2023
  emits: ["model-updated"],
2024
2024
  data() {
@@ -2033,7 +2033,7 @@ const Nd = {
2033
2033
  },
2034
2034
  computed: {
2035
2035
  fieldState() {
2036
- return Vd(this.model[this.schema.model], this.associatedEntity || this.entityId, this.bypassSearch);
2036
+ return Nd(this.model[this.schema.model], this.associatedEntity || this.entityId, this.bypassSearch);
2037
2037
  },
2038
2038
  associatedEntity() {
2039
2039
  return this.$route && this.$route.params[this.entity];
@@ -2049,17 +2049,17 @@ const Nd = {
2049
2049
  await this.$nextTick();
2050
2050
  let e, t;
2051
2051
  switch (this.fieldState) {
2052
- case ke.UPDATE_ENTITY:
2052
+ case Ue.UPDATE_ENTITY:
2053
2053
  if (!this[$e]) {
2054
2054
  console.warn("[@kong-ui-public/forms] No API service provided");
2055
2055
  break;
2056
2056
  }
2057
2057
  t = (await this[$e].getOne(this.entity, this.model[this.schema.model])).data, e = this.getItem(this.schema.entityDataKey ? t[this.schema.entityDataKey] : t), this.idValue = e.id;
2058
2058
  break;
2059
- case ke.CREATE_FROM_ENTITY:
2059
+ case Ue.CREATE_FROM_ENTITY:
2060
2060
  this.idValue = this.associatedEntity.id;
2061
2061
  break;
2062
- case ke.SET_REFERRAL_VALUE:
2062
+ case Ue.SET_REFERRAL_VALUE:
2063
2063
  this.idValue = this.value;
2064
2064
  }
2065
2065
  try {
@@ -2080,7 +2080,7 @@ const Nd = {
2080
2080
  return;
2081
2081
  this.loading = !0;
2082
2082
  const t = [], n = [], r = this.getInputFields(), a = /* @__PURE__ */ new Set();
2083
- kd(e) && r.includes("id") ? n.push((async () => {
2083
+ Ud(e) && r.includes("id") ? n.push((async () => {
2084
2084
  const i = await this.fetchExact(e);
2085
2085
  t.push({ ...i, label: this.getSuggestionLabel(i), value: i.id });
2086
2086
  })()) : n.push(...r.filter((i) => i !== "id").map(async (i) => {
@@ -2097,15 +2097,15 @@ const Nd = {
2097
2097
  let n = null;
2098
2098
  if (!this[$e])
2099
2099
  return console.warn("[@kong-ui-public/forms] No API service provided"), [];
2100
- for (; t.length < kt; ) {
2100
+ for (; t.length < Ut; ) {
2101
2101
  const r = await this[$e].getAll(this.entity, {
2102
- size: kt,
2102
+ size: Ut,
2103
2103
  offset: n,
2104
2104
  ...e
2105
2105
  });
2106
2106
  if (t.push(...r.data.data), n = r.data.offset, !n) break;
2107
2107
  }
2108
- return t.slice(0, kt);
2108
+ return t.slice(0, Ut);
2109
2109
  },
2110
2110
  async fetchSuggestions(e, t) {
2111
2111
  return this.fetchUntilLimit({ [t]: e });
@@ -2137,7 +2137,7 @@ const Nd = {
2137
2137
  function Rd(e, t, n, r, a, i) {
2138
2138
  const l = E("KSelect");
2139
2139
  return d(), h("div", Ld, [
2140
- M(l, {
2140
+ S(l, {
2141
2141
  id: e.schema.model,
2142
2142
  ref: "suggestion",
2143
2143
  modelValue: a.idValue,
@@ -2153,116 +2153,116 @@ function Rd(e, t, n, r, a, i) {
2153
2153
  onQueryChange: i.onQueryChange
2154
2154
  }, {
2155
2155
  "item-template": w(({ item: s }) => [
2156
- f("span", {
2156
+ m("span", {
2157
2157
  class: "first-part",
2158
2158
  "data-testid": s.id && `${s.id}-0`,
2159
2159
  "data-testlabel": s.label
2160
2160
  }, F(i.getSuggestionLabel(s).split(" - ")[0]), 9, Pd),
2161
- (d(!0), h(D, null, Z(i.getSuggestionLabel(s).split(" - ").slice(1), (o, u) => (d(), h("span", {
2161
+ (d(!0), h(K, null, J(i.getSuggestionLabel(s).split(" - ").slice(1), (o, u) => (d(), h("span", {
2162
2162
  key: u,
2163
2163
  class: "field-span",
2164
2164
  "data-testid": s.id && `${s.id}-${u + 1}` || u + 1
2165
2165
  }, F(o), 9, qd))), 128))
2166
2166
  ]),
2167
2167
  empty: w(() => [
2168
- f("div", jd, [
2169
- f("span", null, F(a.message), 1)
2168
+ m("div", jd, [
2169
+ m("span", null, F(a.message), 1)
2170
2170
  ])
2171
2171
  ]),
2172
2172
  _: 1
2173
2173
  }, 8, ["id", "modelValue", "items", "loading", "placeholder", "onChange", "onQueryChange"])
2174
2174
  ]);
2175
2175
  }
2176
- const Pr = /* @__PURE__ */ H(Nd, [["render", Rd], ["__scopeId", "data-v-dd2fda9e"]]);
2177
- function Kd(e) {
2176
+ const Pr = /* @__PURE__ */ H(Vd, [["render", Rd], ["__scopeId", "data-v-dd2fda9e"]]);
2177
+ function Dd(e) {
2178
2178
  const t = ve([]), n = ve(null), r = (y) => Le(y) ? qe[y] != null ? qe[y] : (console.warn(`'${y}' is not a validator function!`), null) : y, a = j({
2179
2179
  get() {
2180
- var A, T;
2180
+ var I, T;
2181
2181
  let y;
2182
- return Y(B(e.schema, "get")) ? y = e.schema.get((A = e.model) == null ? void 0 : A.value) : y = B((T = e.model) == null ? void 0 : T.value, e.schema.model), U(y);
2182
+ return Y(B(e.schema, "get")) ? y = e.schema.get((I = e.model) == null ? void 0 : I.value) : y = B((T = e.model) == null ? void 0 : T.value, e.schema.model), N(y);
2183
2183
  },
2184
2184
  set(y) {
2185
- const A = a;
2186
- y = V(y), Y(y) ? y(y, A) : s(y, A);
2185
+ const I = a;
2186
+ y = V(y), Y(y) ? y(y, I) : s(y, I);
2187
2187
  }
2188
2188
  }), i = (y) => {
2189
2189
  var k;
2190
2190
  o();
2191
- const A = (k = e.schema) == null ? void 0 : k.validator, T = B(e.formOptions, "validateAsync", !1);
2192
- let P = [];
2193
- if (A && e.schema.readonly !== !0 && e.disabled !== !0) {
2191
+ const I = (k = e.schema) == null ? void 0 : k.validator, T = B(e.formOptions, "validateAsync", !1);
2192
+ let L = [];
2193
+ if (I && e.schema.readonly !== !0 && e.disabled !== !0) {
2194
2194
  const q = [];
2195
- Array.isArray(A) ? ae(A, (g) => {
2195
+ Array.isArray(I) ? ae(I, (g) => {
2196
2196
  q.push(r(g));
2197
- }) : q.push(r(A)), ae(q, (g) => {
2198
- var _, N;
2197
+ }) : q.push(r(I)), ae(q, (g) => {
2198
+ var _, U;
2199
2199
  if (T)
2200
- P.push(g(a.value, e.schema, (_ = e.model) == null ? void 0 : _.value));
2200
+ L.push(g(a.value, e.schema, (_ = e.model) == null ? void 0 : _.value));
2201
2201
  else {
2202
- const R = g(a.value, e.schema, (N = e.model) == null ? void 0 : N.value);
2202
+ const R = g(a.value, e.schema, (U = e.model) == null ? void 0 : U.value);
2203
2203
  R && Y(R.then) ? R.then((v) => {
2204
2204
  v && (t.value = t.value.concat(v));
2205
2205
  const b = t.value.length === 0;
2206
2206
  e.emitValidated && e.emitValidated({ isValid: b, errors: t.value, field: e.schema });
2207
- }) : R && (P = P.concat(R));
2207
+ }) : R && (L = L.concat(R));
2208
2208
  }
2209
2209
  });
2210
2210
  }
2211
- const S = (q) => {
2212
- var _, N;
2211
+ const M = (q) => {
2212
+ var _, U;
2213
2213
  let g = [];
2214
- if (ae(Sr(q), (R) => {
2214
+ if (ae(Mr(q), (R) => {
2215
2215
  Array.isArray(R) && R.length > 0 ? g = g.concat(R) : Le(R) && g.push(R);
2216
- }), Y((_ = e.schema) == null ? void 0 : _.onValidated) && e.schema.onValidated((N = e.model) == null ? void 0 : N.value, g, e.schema), !y) {
2216
+ }), Y((_ = e.schema) == null ? void 0 : _.onValidated) && e.schema.onValidated((U = e.model) == null ? void 0 : U.value, g, e.schema), !y) {
2217
2217
  const R = g.length === 0;
2218
2218
  e.emitValidated && e.emitValidated({ isValid: R, errors: g, field: e.schema });
2219
2219
  }
2220
2220
  return q = g, g;
2221
2221
  };
2222
- return T ? Promise.all(P).then(S) : S(P);
2222
+ return T ? Promise.all(L).then(M) : M(L);
2223
2223
  }, l = () => {
2224
2224
  Y(n.value) ? n.value() : n.value = rt(
2225
2225
  i,
2226
2226
  B(e.schema, "validateDebounceTime", B(e.formOptions, "validateDebounceTime", 500))
2227
2227
  );
2228
- }, s = (y, A) => {
2229
- var P, S, k;
2228
+ }, s = (y, I) => {
2229
+ var L, M, k;
2230
2230
  let T = !1;
2231
- Y(e.schema.set) ? (e.schema.set((P = e.model) == null ? void 0 : P.value, y), T = !0) : e.schema.model && (u(e.schema.model, y), T = !0), T && (e.emitModelUpdated && ((S = e.model) != null && S.value) && e.emitModelUpdated({ value: y, model: e.schema.model }), Y(e.schema.onChanged) && e.schema.onChanged((k = e.model) == null ? void 0 : k.value, y, A, e.schema), B(e.formOptions, "validateAfterChanged", !1) === !0 && (B(e.schema, "validateDebounceTime", B(e.formOptions, "validateDebounceTime", 0)) > 0 ? l() : i()));
2231
+ Y(e.schema.set) ? (e.schema.set((L = e.model) == null ? void 0 : L.value, y), T = !0) : e.schema.model && (u(e.schema.model, y), T = !0), T && (e.emitModelUpdated && ((M = e.model) != null && M.value) && e.emitModelUpdated({ value: y, model: e.schema.model }), Y(e.schema.onChanged) && e.schema.onChanged((k = e.model) == null ? void 0 : k.value, y, I, e.schema), B(e.formOptions, "validateAfterChanged", !1) === !0 && (B(e.schema, "validateDebounceTime", B(e.formOptions, "validateDebounceTime", 0)) > 0 ? l() : i()));
2232
2232
  }, o = () => {
2233
2233
  t.value.splice(0);
2234
- }, u = (y, A) => {
2234
+ }, u = (y, I) => {
2235
2235
  var g;
2236
2236
  let T = y.replace(/\[(\w+)\]/g, ".$1");
2237
2237
  T = T.replace(/^\./, "");
2238
- let P = ((g = e.model) == null ? void 0 : g.value) || {}, S = 0;
2238
+ let L = ((g = e.model) == null ? void 0 : g.value) || {}, M = 0;
2239
2239
  const k = T.split("."), q = k.length;
2240
- for (; S < q; ) {
2241
- const _ = k[S];
2242
- if (S < q - 1)
2243
- P[_] !== void 0 || (P[_] = {}), P = P[_];
2240
+ for (; M < q; ) {
2241
+ const _ = k[M];
2242
+ if (M < q - 1)
2243
+ L[_] !== void 0 || (L[_] = {}), L = L[_];
2244
2244
  else {
2245
- P[_] = A;
2245
+ L[_] = I;
2246
2246
  return;
2247
2247
  }
2248
- ++S;
2248
+ ++M;
2249
2249
  }
2250
- }, c = (y, A = !1) => {
2250
+ }, c = (y, I = !1) => {
2251
2251
  const T = B(e.formOptions, "fieldIdPrefix", "");
2252
- return Jt(y, T) + (A ? "-" + Tr() : "");
2253
- }, m = (y) => `${c(y)}-label`, p = () => B(e.schema, "fieldClasses", []), U = (y) => e.formatValueToField && typeof e.formatValueToField == "function" ? e.formatValueToField(y) : y, V = (y) => e.formatValueToModel && typeof e.formatValueToModel == "function" ? e.formatValueToModel(y) : y;
2252
+ return Zt(y, T) + (I ? "-" + Tr() : "");
2253
+ }, f = (y) => `${c(y)}-label`, p = () => B(e.schema, "fieldClasses", []), N = (y) => e.formatValueToField && typeof e.formatValueToField == "function" ? e.formatValueToField(y) : y, V = (y) => e.formatValueToModel && typeof e.formatValueToModel == "function" ? e.formatValueToModel(y) : y;
2254
2254
  return {
2255
2255
  value: a,
2256
2256
  clearValidationErrors: o,
2257
2257
  getFieldID: c,
2258
- getLabelId: m,
2258
+ getLabelId: f,
2259
2259
  getFieldClasses: p,
2260
2260
  updateModelValue: s
2261
2261
  };
2262
2262
  }
2263
- const dt = {
2264
- useAbstractFields: Kd
2265
- }, Dd = { class: "form-field-wrapper" }, Bd = /* @__PURE__ */ oe({
2263
+ const At = {
2264
+ useAbstractFields: Dd
2265
+ }, Kd = { class: "form-field-wrapper" }, Bd = /* @__PURE__ */ de({
2266
2266
  __name: "FieldInput",
2267
2267
  props: {
2268
2268
  disabled: {
@@ -2302,54 +2302,54 @@ const dt = {
2302
2302
  },
2303
2303
  emits: ["modelUpdated"],
2304
2304
  setup(e, { expose: t, emit: n }) {
2305
- const r = e, a = n, i = at(r), l = Xr(he, void 0), { updateModelValue: s, getFieldID: o, clearValidationErrors: u, value: c } = dt.useAbstractFields({
2305
+ const r = e, a = n, i = ht(r), l = Xr(he, void 0), { updateModelValue: s, getFieldID: o, clearValidationErrors: u, value: c } = At.useAbstractFields({
2306
2306
  model: i.model,
2307
2307
  schema: r.schema,
2308
2308
  formOptions: r.formOptions,
2309
- emitModelUpdated: (S) => {
2310
- a("modelUpdated", S.value, S.model);
2309
+ emitModelUpdated: (M) => {
2310
+ a("modelUpdated", M.value, M.model);
2311
2311
  }
2312
2312
  });
2313
2313
  t({
2314
2314
  clearValidationErrors: u
2315
2315
  });
2316
- const m = j(() => {
2316
+ const f = j(() => {
2317
2317
  var k;
2318
- const S = (k = r.schema) == null ? void 0 : k.inputType.toLowerCase();
2319
- return S === "string" ? "text" : S === "datetime" ? "datetime-local" : S || "text";
2318
+ const M = (k = r.schema) == null ? void 0 : k.inputType.toLowerCase();
2319
+ return M === "string" ? "text" : M === "datetime" ? "datetime-local" : M || "text";
2320
2320
  }), p = {
2321
2321
  date: "YYYY-MM-DD",
2322
2322
  datetime: "YYYY-MM-DD HH:mm:ss",
2323
2323
  "datetime-local": "YYYY-MM-DDTHH:mm:ss"
2324
- }, U = (S, k) => {
2325
- var N, R;
2326
- let q = S;
2327
- const g = p[m.value] || "", _ = Be.parse(S, g);
2328
- _ && ((N = r.schema) != null && N.format ? q = Be.format(_, (R = r.schema) == null ? void 0 : R.format) : q = _.valueOf()), s(q, k);
2329
- }, V = (S, k) => {
2330
- Rt(S) || (S = NaN), s(S, k);
2331
- }, y = (S) => {
2332
- let k = S;
2333
- switch (m.value) {
2324
+ }, N = (M, k) => {
2325
+ var U, R;
2326
+ let q = M;
2327
+ const g = p[f.value] || "", _ = Be.parse(M, g);
2328
+ _ && ((U = r.schema) != null && U.format ? q = Be.format(_, (R = r.schema) == null ? void 0 : R.format) : q = _.valueOf()), s(q, k);
2329
+ }, V = (M, k) => {
2330
+ Rt(M) || (M = NaN), s(M, k);
2331
+ }, y = (M) => {
2332
+ let k = M;
2333
+ switch (f.value) {
2334
2334
  case "number":
2335
2335
  case "range":
2336
- Rt(parseFloat(S)) && (k = parseFloat(S));
2336
+ Rt(parseFloat(M)) && (k = parseFloat(M));
2337
2337
  break;
2338
2338
  }
2339
- c.value = k, s(k, S);
2340
- }, A = (S) => {
2341
- c.value = S, s(S, S);
2342
- }, T = ve(null), P = () => {
2343
- var S;
2344
- Y(T.value) && ((S = T.value) == null || S.flush());
2339
+ c.value = k, s(k, M);
2340
+ }, I = (M) => {
2341
+ c.value = M, s(M, M);
2342
+ }, T = ve(null), L = () => {
2343
+ var M;
2344
+ Y(T.value) && ((M = T.value) == null || M.flush());
2345
2345
  };
2346
- return xn(() => {
2347
- switch (m.value) {
2346
+ return Hn(() => {
2347
+ switch (f.value) {
2348
2348
  case "number":
2349
2349
  case "range":
2350
2350
  T.value = rt(
2351
- (S, k) => {
2352
- V(S, k);
2351
+ (M, k) => {
2352
+ V(M, k);
2353
2353
  },
2354
2354
  parseInt(B(r.schema, "debounceFormatTimeout", 1e3)),
2355
2355
  {
@@ -2362,8 +2362,8 @@ const dt = {
2362
2362
  case "datetime":
2363
2363
  case "datetime-local":
2364
2364
  T.value = rt(
2365
- (S, k) => {
2366
- U(S, k);
2365
+ (M, k) => {
2366
+ N(M, k);
2367
2367
  },
2368
2368
  parseInt(B(r.schema, "debounceFormatTimeout", 1e3)),
2369
2369
  {
@@ -2374,43 +2374,43 @@ const dt = {
2374
2374
  break;
2375
2375
  }
2376
2376
  }), Qr(() => {
2377
- 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.");
2378
- }), (S, k) => {
2377
+ f.value === "checkbox" ? console.warn("The use of 'checkbox' inputType with 'input' type fields is deprecated. Use 'checkbox' type instead.") : f.value === "radio" ? console.warn("The use of 'radio' inputType with 'input' type fields is deprecated. Use 'radio' type instead.") : f.value === "file" && console.warn("The 'file' type in input field is deprecated. Use 'file' field instead.");
2378
+ }), (M, k) => {
2379
2379
  const q = E("KInput");
2380
- return d(), h("div", Dd, [
2381
- M(q, Ue(S.$attrs, {
2382
- id: L(o)(e.schema),
2380
+ return d(), h("div", Kd, [
2381
+ S(q, ke(M.$attrs, {
2382
+ id: P(o)(e.schema),
2383
2383
  autocomplete: e.schema.autocomplete,
2384
2384
  class: e.schema.fieldClasses,
2385
2385
  disabled: e.disabled || void 0,
2386
- help: e.hint ? e.hint : m.value === "color" || m.value === "range" ? L(c) : void 0,
2386
+ help: e.hint ? e.hint : f.value === "color" || f.value === "range" ? P(c) : void 0,
2387
2387
  max: e.schema.max,
2388
2388
  maxlength: e.schema.maxlength,
2389
2389
  min: e.schema.min,
2390
2390
  minlength: e.schema.minlength,
2391
- "model-value": L(c),
2391
+ "model-value": P(c),
2392
2392
  name: e.schema.inputName,
2393
2393
  pattern: e.schema.pattern,
2394
2394
  placeholder: e.schema.placeholder,
2395
2395
  readonly: e.schema.readonly,
2396
2396
  required: e.schema.required,
2397
- type: m.value,
2397
+ type: f.value,
2398
2398
  width: e.schema.width,
2399
- onBlur: P,
2399
+ onBlur: L,
2400
2400
  "onUpdate:modelValue": y
2401
2401
  }), null, 16, ["id", "autocomplete", "class", "disabled", "help", "max", "maxlength", "min", "minlength", "model-value", "name", "pattern", "placeholder", "readonly", "required", "type", "width"]),
2402
- (d(), I(ee(L(l)), {
2402
+ (d(), A(ee(P(l)), {
2403
2403
  schema: e.schema,
2404
- update: A,
2405
- value: L(c)
2404
+ update: I,
2405
+ value: P(c)
2406
2406
  }, null, 8, ["schema", "value"]))
2407
2407
  ]);
2408
2408
  };
2409
2409
  }
2410
2410
  }), qr = /* @__PURE__ */ H(Bd, [["__scopeId", "data-v-324e0f47"]]), zd = {
2411
2411
  name: "FieldMetric",
2412
- components: { AddIcon: kr, TrashIcon: lt },
2413
- mixins: [ce],
2412
+ components: { AddIcon: Ur, TrashIcon: ot },
2413
+ mixins: [ue],
2414
2414
  emits: ["remove-item"],
2415
2415
  data() {
2416
2416
  return {
@@ -2424,26 +2424,26 @@ const dt = {
2424
2424
  function xd(e, t, n, r, a, i) {
2425
2425
  const l = E("AddIcon"), s = E("TrashIcon"), o = E("KButton");
2426
2426
  return d(), h("div", {
2427
- class: J(["field-dropdown", { active: a.contentVisible }])
2427
+ class: W(["field-dropdown", { active: a.contentVisible }])
2428
2428
  }, [
2429
- f("div", {
2429
+ m("div", {
2430
2430
  class: "title",
2431
2431
  onClick: t[0] || (t[0] = (u) => a.contentVisible = !a.contentVisible)
2432
2432
  }, [
2433
- ne(F(e.model.name ? e.model.name : "New Item") + " ", 1),
2434
- M(l, { class: "metric-add-icon" })
2433
+ te(F(e.model.name ? e.model.name : "New Item") + " ", 1),
2434
+ S(l, { class: "metric-add-icon" })
2435
2435
  ]),
2436
- M(ei, { name: "slide-fade" }, {
2436
+ S(ei, { name: "slide-fade" }, {
2437
2437
  default: w(() => [
2438
2438
  a.contentVisible ? (d(), h("div", Hd, [
2439
- Ee(e.$slots, "default"),
2440
- M(o, {
2439
+ Ce(e.$slots, "default"),
2440
+ S(o, {
2441
2441
  appearance: "tertiary",
2442
2442
  class: "metric-remove-button",
2443
2443
  onClick: t[1] || (t[1] = (u) => e.$emit("remove-item"))
2444
2444
  }, {
2445
2445
  default: w(() => [
2446
- M(s)
2446
+ S(s)
2447
2447
  ]),
2448
2448
  _: 1
2449
2449
  })
@@ -2454,7 +2454,7 @@ function xd(e, t, n, r, a, i) {
2454
2454
  ], 2);
2455
2455
  }
2456
2456
  const jr = /* @__PURE__ */ H(zd, [["render", xd]]), Yd = {
2457
- mixins: [ce],
2457
+ mixins: [ue],
2458
2458
  data() {
2459
2459
  return {
2460
2460
  attributes: this.schema ? this.schema.attributes : void 0,
@@ -2486,36 +2486,36 @@ const jr = /* @__PURE__ */ H(zd, [["render", xd]]), Yd = {
2486
2486
  this.value[this.newKeyName] = void 0, this.value = { ...this.value }, this.keyTypes[this.newKeyName] = this.newKeyType, this.keyTypes = { ...this.keyTypes }, this.newKeyName = "";
2487
2487
  }
2488
2488
  }
2489
- }, en = (e) => (_e("data-v-dfa59f5c"), e = e(), we(), e), Gd = { class: "field-object-container" }, Wd = { key: 1 }, Zd = ["id"], Jd = { key: 0 }, Xd = ["onUpdate:modelValue"], Qd = { key: 1 }, eu = ["onUpdate:modelValue"], tu = { key: 2 }, nu = ["onUpdate:modelValue"], ru = ["onClick"], iu = /* @__PURE__ */ en(() => /* @__PURE__ */ f("option", { value: "string" }, " String ", -1)), au = /* @__PURE__ */ en(() => /* @__PURE__ */ f("option", { value: "number" }, " Number ", -1)), su = /* @__PURE__ */ en(() => /* @__PURE__ */ f("option", { value: "boolean" }, " Boolean ", -1)), ou = [
2489
+ }, Qt = (e) => (_e("data-v-dfa59f5c"), e = e(), we(), e), Gd = { class: "field-object-container" }, Wd = { key: 1 }, Zd = ["id"], Jd = { key: 0 }, Xd = ["onUpdate:modelValue"], Qd = { key: 1 }, eu = ["onUpdate:modelValue"], tu = { key: 2 }, nu = ["onUpdate:modelValue"], ru = ["onClick"], iu = /* @__PURE__ */ Qt(() => /* @__PURE__ */ m("option", { value: "string" }, " String ", -1)), au = /* @__PURE__ */ Qt(() => /* @__PURE__ */ m("option", { value: "number" }, " Number ", -1)), su = /* @__PURE__ */ Qt(() => /* @__PURE__ */ m("option", { value: "boolean" }, " Boolean ", -1)), ou = [
2490
2490
  iu,
2491
2491
  au,
2492
2492
  su
2493
2493
  ];
2494
2494
  function lu(e, t, n, r, a, i) {
2495
- const l = E("vue-form-generator"), s = gt("attributes");
2495
+ const l = E("vue-form-generator"), s = pt("attributes");
2496
2496
  return re((d(), h("div", Gd, [
2497
- e.schema.schema ? (d(), I(l, {
2497
+ e.schema.schema ? (d(), A(l, {
2498
2498
  key: 0,
2499
2499
  model: e.value,
2500
2500
  options: e.formOptions,
2501
2501
  schema: e.schema.schema
2502
2502
  }, null, 8, ["model", "options", "schema"])) : (d(), h("div", Wd, [
2503
- f("table", {
2503
+ m("table", {
2504
2504
  id: e.getFieldID(e.schema),
2505
- class: J(e.schema.fieldClasses)
2505
+ class: W(e.schema.fieldClasses)
2506
2506
  }, [
2507
- (d(!0), h(D, null, Z(e.value, (o, u) => (d(), h("tr", { key: u }, [
2508
- f("td", null, F(u), 1),
2507
+ (d(!0), h(K, null, J(e.value, (o, u) => (d(), h("tr", { key: u }, [
2508
+ m("td", null, F(u), 1),
2509
2509
  a.keyTypes[u] === "string" ? (d(), h("td", Jd, [
2510
- re(f("input", {
2510
+ re(m("input", {
2511
2511
  "onUpdate:modelValue": (c) => e.value[u] = c,
2512
2512
  type: "text"
2513
2513
  }, null, 8, Xd), [
2514
- [Ve, e.value[u]]
2514
+ [Ne, e.value[u]]
2515
2515
  ])
2516
2516
  ])) : O("", !0),
2517
2517
  a.keyTypes[u] === "boolean" ? (d(), h("td", Qd, [
2518
- re(f("input", {
2518
+ re(m("input", {
2519
2519
  "onUpdate:modelValue": (c) => e.value[u] = c,
2520
2520
  type: "checkbox"
2521
2521
  }, null, 8, eu), [
@@ -2523,15 +2523,15 @@ function lu(e, t, n, r, a, i) {
2523
2523
  ])
2524
2524
  ])) : O("", !0),
2525
2525
  a.keyTypes[u] === "number" ? (d(), h("td", tu, [
2526
- re(f("input", {
2526
+ re(m("input", {
2527
2527
  "onUpdate:modelValue": (c) => e.value[u] = c,
2528
2528
  type: "number"
2529
2529
  }, null, 8, nu), [
2530
- [Ve, e.value[u]]
2530
+ [Ne, e.value[u]]
2531
2531
  ])
2532
2532
  ])) : O("", !0),
2533
- f("td", null, [
2534
- f("input", {
2533
+ m("td", null, [
2534
+ m("input", {
2535
2535
  type: "button",
2536
2536
  value: "x",
2537
2537
  onClick: (c) => i.removeElement(u)
@@ -2539,18 +2539,18 @@ function lu(e, t, n, r, a, i) {
2539
2539
  ])
2540
2540
  ]))), 128))
2541
2541
  ], 10, Zd),
2542
- re(f("select", {
2542
+ re(m("select", {
2543
2543
  "onUpdate:modelValue": t[0] || (t[0] = (o) => a.newKeyType = o)
2544
2544
  }, ou, 512), [
2545
- [Yn, a.newKeyType]
2545
+ [xn, a.newKeyType]
2546
2546
  ]),
2547
- re(f("input", {
2547
+ re(m("input", {
2548
2548
  "onUpdate:modelValue": t[1] || (t[1] = (o) => a.newKeyName = o),
2549
2549
  type: "text"
2550
2550
  }, null, 512), [
2551
- [Ve, a.newKeyName]
2551
+ [Ne, a.newKeyName]
2552
2552
  ]),
2553
- f("input", {
2553
+ m("input", {
2554
2554
  type: "button",
2555
2555
  value: "Add key",
2556
2556
  onClick: t[2] || (t[2] = (...o) => i.addKey && i.addKey(...o))
@@ -2562,9 +2562,9 @@ function lu(e, t, n, r, a, i) {
2562
2562
  }
2563
2563
  const Rr = /* @__PURE__ */ H(Yd, [["render", lu], ["__scopeId", "data-v-dfa59f5c"]]), du = {
2564
2564
  components: {
2565
- TrashIcon: lt
2565
+ TrashIcon: ot
2566
2566
  },
2567
- mixins: [ce],
2567
+ mixins: [ue],
2568
2568
  inject: {
2569
2569
  autofillSlot: {
2570
2570
  from: he,
@@ -2652,37 +2652,37 @@ const Rr = /* @__PURE__ */ H(Yd, [["render", lu], ["__scopeId", "data-v-dfa59f5c
2652
2652
  this.$emit("model-updated", this.model[this.schema.model], t);
2653
2653
  }
2654
2654
  }
2655
- }, Kr = (e) => (_e("data-v-3a00058c"), e = e(), we(), e), uu = ["id"], cu = ["data-testid"], fu = { class: "item-wrapper" }, mu = { class: "index-wrapper" }, hu = /* @__PURE__ */ Kr(() => /* @__PURE__ */ f("hr", { class: "divider" }, null, -1)), pu = { key: 0 }, gu = { key: 1 }, vu = ["onUpdate:modelValue", "placeholder", "onInput"], yu = {
2655
+ }, Dr = (e) => (_e("data-v-3a00058c"), e = e(), we(), e), uu = ["id"], cu = ["data-testid"], mu = { class: "item-wrapper" }, fu = { class: "index-wrapper" }, hu = /* @__PURE__ */ Dr(() => /* @__PURE__ */ m("hr", { class: "divider" }, null, -1)), pu = { key: 0 }, gu = { key: 1 }, vu = ["onUpdate:modelValue", "placeholder", "onInput"], yu = {
2656
2656
  key: 0,
2657
2657
  class: "hint"
2658
- }, bu = /* @__PURE__ */ Kr(() => /* @__PURE__ */ f("hr", { class: "wide-divider" }, null, -1)), _u = { class: "input-item" }, wu = ["placeholder"], Mu = {
2658
+ }, bu = /* @__PURE__ */ Dr(() => /* @__PURE__ */ m("hr", { class: "wide-divider" }, null, -1)), _u = { class: "input-item" }, wu = ["placeholder"], Su = {
2659
2659
  key: 0,
2660
2660
  class: "hint"
2661
2661
  };
2662
- function Su(e, t, n, r, a, i) {
2662
+ function Mu(e, t, n, r, a, i) {
2663
2663
  const l = E("TrashIcon"), s = E("KButton"), o = E("vue-form-generator");
2664
2664
  return d(), h("div", {
2665
2665
  id: e.getFieldID(e.schema),
2666
- class: J(["object-advanced-wrapper", e.schema.fieldClasses])
2666
+ class: W(["object-advanced-wrapper", e.schema.fieldClasses])
2667
2667
  }, [
2668
- (d(!0), h(D, null, Z(e.value, (u, c) => (d(), h("div", {
2668
+ (d(!0), h(K, null, J(e.value, (u, c) => (d(), h("div", {
2669
2669
  key: c,
2670
2670
  "data-testid": `field-object-key-${c}`
2671
2671
  }, [
2672
- f("div", null, [
2673
- f("div", fu, [
2674
- f("div", mu, [
2675
- f("strong", null, F(c), 1),
2676
- f("div", null, [
2677
- M(s, {
2672
+ m("div", null, [
2673
+ m("div", mu, [
2674
+ m("div", fu, [
2675
+ m("strong", null, F(c), 1),
2676
+ m("div", null, [
2677
+ S(s, {
2678
2678
  appearance: "tertiary",
2679
2679
  class: "delete",
2680
2680
  icon: "",
2681
2681
  type: "button",
2682
- onClick: (m) => i.removeElement(c)
2682
+ onClick: (f) => i.removeElement(c)
2683
2683
  }, {
2684
2684
  default: w(() => [
2685
- M(l)
2685
+ S(l)
2686
2686
  ]),
2687
2687
  _: 2
2688
2688
  }, 1032, ["onClick"])
@@ -2690,26 +2690,26 @@ function Su(e, t, n, r, a, i) {
2690
2690
  ]),
2691
2691
  hu,
2692
2692
  i.subSchema ? (d(), h("div", pu, [
2693
- M(o, {
2693
+ S(o, {
2694
2694
  model: i.transformedModel[c],
2695
2695
  options: { helpAsHtml: !0 },
2696
2696
  schema: i.subSchema,
2697
2697
  onModelUpdated: i.updateModel
2698
2698
  }, null, 8, ["model", "schema", "onModelUpdated"])
2699
2699
  ])) : (d(), h("div", gu, [
2700
- re(f("input", {
2701
- "onUpdate:modelValue": (m) => e.value[c] = m,
2700
+ re(m("input", {
2701
+ "onUpdate:modelValue": (f) => e.value[c] = f,
2702
2702
  class: "form-control",
2703
2703
  placeholder: e.schema.fields && e.schema.fields[0].schema.placeholder,
2704
2704
  type: "text",
2705
- onInput: (m) => i.updateModel(e.value[c], e.model[e.schema.model])
2705
+ onInput: (f) => i.updateModel(e.value[c], e.model[e.schema.model])
2706
2706
  }, null, 40, vu), [
2707
- [Ve, e.value[c]]
2707
+ [Ne, e.value[c]]
2708
2708
  ]),
2709
2709
  e.schema.fields && e.schema.fields[0].schema.hint ? (d(), h("p", yu, F(e.schema.fields[0].schema.hint), 1)) : O("", !0),
2710
- (d(), I(ee(i.autofillSlot), {
2710
+ (d(), A(ee(i.autofillSlot), {
2711
2711
  schema: e.schema.fields && e.schema.fields[0].schema || e.schema.values,
2712
- update: (m) => e.value[c] = m,
2712
+ update: (f) => e.value[c] = f,
2713
2713
  value: e.value[c]
2714
2714
  }, null, 8, ["schema", "update", "value"]))
2715
2715
  ])),
@@ -2717,136 +2717,106 @@ function Su(e, t, n, r, a, i) {
2717
2717
  ])
2718
2718
  ])
2719
2719
  ], 8, cu))), 128)),
2720
- f("div", {
2721
- class: J(["input-wrapper", { indent: i.hasObjectKeys }])
2720
+ m("div", {
2721
+ class: W(["input-wrapper", { indent: i.hasObjectKeys }])
2722
2722
  }, [
2723
- f("div", _u, [
2724
- re(f("input", {
2723
+ m("div", _u, [
2724
+ re(m("input", {
2725
2725
  "onUpdate:modelValue": t[0] || (t[0] = (u) => a.newKeyName = u),
2726
2726
  class: "form-control",
2727
2727
  "data-testid": "keyname-input",
2728
2728
  placeholder: e.schema.placeholder,
2729
2729
  type: "text"
2730
2730
  }, null, 8, wu), [
2731
- [Ve, a.newKeyName]
2731
+ [Ne, a.newKeyName]
2732
2732
  ]),
2733
- M(s, {
2733
+ S(s, {
2734
2734
  appearance: "tertiary",
2735
2735
  "data-testid": "add-key",
2736
2736
  disabled: !a.newKeyName,
2737
2737
  onClick: i.addKey
2738
2738
  }, {
2739
2739
  default: w(() => [
2740
- ne(" + Add " + F(e.schema.buttonLabel || e.schema.label), 1)
2740
+ te(" + Add " + F(e.schema.buttonLabel || e.schema.label), 1)
2741
2741
  ]),
2742
2742
  _: 1
2743
2743
  }, 8, ["disabled", "onClick"])
2744
2744
  ]),
2745
- e.schema.hintText ? (d(), h("p", Mu, F(e.schema.hintText), 1)) : O("", !0)
2745
+ e.schema.hintText ? (d(), h("p", Su, F(e.schema.hintText), 1)) : O("", !0)
2746
2746
  ], 2)
2747
2747
  ], 10, uu);
2748
2748
  }
2749
- const Dr = /* @__PURE__ */ H(du, [["render", Su], ["__scopeId", "data-v-3a00058c"]]), Tu = { class: "radio-selection-group" }, Iu = /* @__PURE__ */ oe({
2750
- __name: "FieldRadio",
2751
- props: {
2752
- disabled: {
2753
- type: Boolean,
2754
- default: !1
2755
- },
2756
- formOptions: {
2757
- type: Object,
2758
- default: () => {
2759
- }
2760
- },
2761
- model: {
2762
- type: Object,
2763
- default: () => {
2764
- }
2765
- },
2766
- schema: {
2767
- type: Object,
2768
- required: !0
2769
- },
2770
- vfg: {
2771
- type: Object,
2772
- required: !0
2749
+ const Kr = /* @__PURE__ */ H(du, [["render", Mu], ["__scopeId", "data-v-3a00058c"]]), Tu = {
2750
+ mixins: [ue],
2751
+ emits: ["model-updated"],
2752
+ methods: {
2753
+ updateModel(e) {
2754
+ this.$emit("model-updated", e, this.schema.model);
2773
2755
  },
2774
- /**
2775
- * TODO: stronger type
2776
- * TODO: pass this down to KInput error and errorMessage
2777
- */
2778
- errors: {
2779
- type: Array,
2780
- default: () => []
2756
+ checkOption(e) {
2757
+ return this.model[this.schema.model] ? e.value.toString() === this.model[this.schema.model].toString() : e.checked;
2781
2758
  },
2782
- hint: {
2783
- type: String,
2784
- default: ""
2759
+ onChange(e) {
2760
+ let t = e.target.value.split(",");
2761
+ this.schema.array || (t = t.toString()), this.updateModel(t);
2785
2762
  }
2786
- },
2787
- emits: ["modelUpdated"],
2788
- setup(e, { expose: t, emit: n }) {
2789
- const r = e, a = n, i = at(r), { updateModelValue: l, value: s, clearValidationErrors: o } = dt.useAbstractFields({
2790
- model: i.model,
2791
- schema: r.schema,
2792
- formOptions: r.formOptions,
2793
- emitModelUpdated: (c) => {
2794
- a("modelUpdated", c.value, c.model);
2795
- }
2796
- });
2797
- t({
2798
- clearValidationErrors: o
2799
- });
2800
- const u = (c) => {
2801
- let m = c;
2802
- typeof c == "string" && (m = c.split(","), r.schema.array || (m = m.toString())), l(m, c);
2803
- };
2804
- return (c, m) => {
2805
- const p = E("KRadio");
2806
- return d(), h("div", Tu, [
2807
- (d(!0), h(D, null, Z(e.schema.values, (U, V) => (d(), I(p, {
2808
- id: e.schema.name + "-" + V,
2809
- key: U.value,
2810
- modelValue: L(s),
2811
- "onUpdate:modelValue": m[0] || (m[0] = (y) => Dt(s) ? s.value = y : null),
2812
- label: U.name,
2813
- name: e.schema.name,
2814
- "selected-value": U.value,
2815
- onChange: u
2816
- }, null, 8, ["id", "modelValue", "label", "name", "selected-value"]))), 128))
2817
- ]);
2818
- };
2819
2763
  }
2820
- }), Br = /* @__PURE__ */ H(Iu, [["__scopeId", "data-v-6340d2ee"]]);
2821
- function Au(e, t) {
2764
+ }, Iu = { class: "selection-group" }, Au = { class: "form-group" }, Ou = ["id", "checked", "name", "value"];
2765
+ function Cu(e, t, n, r, a, i) {
2766
+ return d(), h("div", Iu, [
2767
+ (d(!0), h(K, null, J(e.schema.values, (l, s) => (d(), h("div", {
2768
+ key: s,
2769
+ class: "option-group"
2770
+ }, [
2771
+ m("div", Au, [
2772
+ m("label", {
2773
+ class: W(["k-label", l.name])
2774
+ }, [
2775
+ m("input", {
2776
+ id: e.schema.name + "-" + s,
2777
+ checked: i.checkOption(l),
2778
+ class: "k-input",
2779
+ name: e.schema.name,
2780
+ type: "radio",
2781
+ value: l.value,
2782
+ onChange: t[0] || (t[0] = (...o) => i.onChange && i.onChange(...o))
2783
+ }, null, 40, Ou),
2784
+ te(" " + F(l.name), 1)
2785
+ ], 2)
2786
+ ])
2787
+ ]))), 128))
2788
+ ]);
2789
+ }
2790
+ const Br = /* @__PURE__ */ H(Tu, [["render", Cu], ["__scopeId", "data-v-33d6c694"]]);
2791
+ function Eu(e, t) {
2822
2792
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r; )
2823
2793
  if (t(e[n], n, e))
2824
2794
  return !0;
2825
2795
  return !1;
2826
2796
  }
2827
- var Ou = 1, Eu = 2;
2797
+ var $u = 1, Fu = 2;
2828
2798
  function zr(e, t, n, r, a, i) {
2829
- var l = n & Ou, s = e.length, o = t.length;
2799
+ var l = n & $u, s = e.length, o = t.length;
2830
2800
  if (s != o && !(l && o > s))
2831
2801
  return !1;
2832
2802
  var u = i.get(e), c = i.get(t);
2833
2803
  if (u && c)
2834
2804
  return u == t && c == e;
2835
- var m = -1, p = !0, U = n & Eu ? new it() : void 0;
2836
- for (i.set(e, t), i.set(t, e); ++m < s; ) {
2837
- var V = e[m], y = t[m];
2805
+ var f = -1, p = !0, N = n & Fu ? new it() : void 0;
2806
+ for (i.set(e, t), i.set(t, e); ++f < s; ) {
2807
+ var V = e[f], y = t[f];
2838
2808
  if (r)
2839
- var A = l ? r(y, V, m, t, e, i) : r(V, y, m, e, t, i);
2840
- if (A !== void 0) {
2841
- if (A)
2809
+ var I = l ? r(y, V, f, t, e, i) : r(V, y, f, e, t, i);
2810
+ if (I !== void 0) {
2811
+ if (I)
2842
2812
  continue;
2843
2813
  p = !1;
2844
2814
  break;
2845
2815
  }
2846
- if (U) {
2847
- if (!Au(t, function(T, P) {
2848
- if (!Mr(U, P) && (V === T || a(V, T, n, r, i)))
2849
- return U.push(P);
2816
+ if (N) {
2817
+ if (!Eu(t, function(T, L) {
2818
+ if (!Sr(N, L) && (V === T || a(V, T, n, r, i)))
2819
+ return N.push(L);
2850
2820
  })) {
2851
2821
  p = !1;
2852
2822
  break;
@@ -2858,106 +2828,106 @@ function zr(e, t, n, r, a, i) {
2858
2828
  }
2859
2829
  return i.delete(e), i.delete(t), p;
2860
2830
  }
2861
- function Cu(e) {
2831
+ function ku(e) {
2862
2832
  var t = -1, n = Array(e.size);
2863
2833
  return e.forEach(function(r, a) {
2864
2834
  n[++t] = [a, r];
2865
2835
  }), n;
2866
2836
  }
2867
- var $u = 1, Fu = 2, Uu = "[object Boolean]", ku = "[object Date]", Vu = "[object Error]", Nu = "[object Map]", Lu = "[object Number]", Pu = "[object RegExp]", qu = "[object Set]", ju = "[object String]", Ru = "[object Symbol]", Ku = "[object ArrayBuffer]", Du = "[object DataView]", jn = ye ? ye.prototype : void 0, Vt = jn ? jn.valueOf : void 0;
2868
- function Bu(e, t, n, r, a, i, l) {
2837
+ var Uu = 1, Nu = 2, Vu = "[object Boolean]", Lu = "[object Date]", Pu = "[object Error]", qu = "[object Map]", ju = "[object Number]", Ru = "[object RegExp]", Du = "[object Set]", Ku = "[object String]", Bu = "[object Symbol]", zu = "[object ArrayBuffer]", Hu = "[object DataView]", qn = ye ? ye.prototype : void 0, Nt = qn ? qn.valueOf : void 0;
2838
+ function xu(e, t, n, r, a, i, l) {
2869
2839
  switch (n) {
2870
- case Du:
2840
+ case Hu:
2871
2841
  if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
2872
2842
  return !1;
2873
2843
  e = e.buffer, t = t.buffer;
2874
- case Ku:
2875
- return !(e.byteLength != t.byteLength || !i(new mt(e), new mt(t)));
2876
- case Uu:
2877
- case ku:
2878
- case Lu:
2879
- return ot(+e, +t);
2844
+ case zu:
2845
+ return !(e.byteLength != t.byteLength || !i(new ct(e), new ct(t)));
2880
2846
  case Vu:
2881
- return e.name == t.name && e.message == t.message;
2882
- case Pu:
2847
+ case Lu:
2883
2848
  case ju:
2849
+ return st(+e, +t);
2850
+ case Pu:
2851
+ return e.name == t.name && e.message == t.message;
2852
+ case Ru:
2853
+ case Ku:
2884
2854
  return e == t + "";
2885
- case Nu:
2886
- var s = Cu;
2887
2855
  case qu:
2888
- var o = r & $u;
2889
- if (s || (s = Xt), e.size != t.size && !o)
2856
+ var s = ku;
2857
+ case Du:
2858
+ var o = r & Uu;
2859
+ if (s || (s = Jt), e.size != t.size && !o)
2890
2860
  return !1;
2891
2861
  var u = l.get(e);
2892
2862
  if (u)
2893
2863
  return u == t;
2894
- r |= Fu, l.set(e, t);
2864
+ r |= Nu, l.set(e, t);
2895
2865
  var c = zr(s(e), s(t), r, a, i, l);
2896
2866
  return l.delete(e), c;
2897
- case Ru:
2898
- if (Vt)
2899
- return Vt.call(e) == Vt.call(t);
2867
+ case Bu:
2868
+ if (Nt)
2869
+ return Nt.call(e) == Nt.call(t);
2900
2870
  }
2901
2871
  return !1;
2902
2872
  }
2903
- var zu = 1, Hu = Object.prototype, xu = Hu.hasOwnProperty;
2904
- function Yu(e, t, n, r, a, i) {
2905
- var l = n & zu, s = Nt(e), o = s.length, u = Nt(t), c = u.length;
2873
+ var Yu = 1, Gu = Object.prototype, Wu = Gu.hasOwnProperty;
2874
+ function Zu(e, t, n, r, a, i) {
2875
+ var l = n & Yu, s = Vt(e), o = s.length, u = Vt(t), c = u.length;
2906
2876
  if (o != c && !l)
2907
2877
  return !1;
2908
- for (var m = o; m--; ) {
2909
- var p = s[m];
2910
- if (!(l ? p in t : xu.call(t, p)))
2878
+ for (var f = o; f--; ) {
2879
+ var p = s[f];
2880
+ if (!(l ? p in t : Wu.call(t, p)))
2911
2881
  return !1;
2912
2882
  }
2913
- var U = i.get(e), V = i.get(t);
2914
- if (U && V)
2915
- return U == t && V == e;
2883
+ var N = i.get(e), V = i.get(t);
2884
+ if (N && V)
2885
+ return N == t && V == e;
2916
2886
  var y = !0;
2917
2887
  i.set(e, t), i.set(t, e);
2918
- for (var A = l; ++m < o; ) {
2919
- p = s[m];
2920
- var T = e[p], P = t[p];
2888
+ for (var I = l; ++f < o; ) {
2889
+ p = s[f];
2890
+ var T = e[p], L = t[p];
2921
2891
  if (r)
2922
- var S = l ? r(P, T, p, t, e, i) : r(T, P, p, e, t, i);
2923
- if (!(S === void 0 ? T === P || a(T, P, n, r, i) : S)) {
2892
+ var M = l ? r(L, T, p, t, e, i) : r(T, L, p, e, t, i);
2893
+ if (!(M === void 0 ? T === L || a(T, L, n, r, i) : M)) {
2924
2894
  y = !1;
2925
2895
  break;
2926
2896
  }
2927
- A || (A = p == "constructor");
2897
+ I || (I = p == "constructor");
2928
2898
  }
2929
- if (y && !A) {
2899
+ if (y && !I) {
2930
2900
  var k = e.constructor, q = t.constructor;
2931
2901
  k != q && "constructor" in e && "constructor" in t && !(typeof k == "function" && k instanceof k && typeof q == "function" && q instanceof q) && (y = !1);
2932
2902
  }
2933
2903
  return i.delete(e), i.delete(t), y;
2934
2904
  }
2935
- var Gu = 1, Rn = "[object Arguments]", Kn = "[object Array]", ut = "[object Object]", Wu = Object.prototype, Dn = Wu.hasOwnProperty;
2936
- function Zu(e, t, n, r, a, i) {
2937
- var l = me(e), s = me(t), o = l ? Kn : nt(e), u = s ? Kn : nt(t);
2938
- o = o == Rn ? ut : o, u = u == Rn ? ut : u;
2939
- var c = o == ut, m = u == ut, p = o == u;
2940
- if (p && ct(e)) {
2941
- if (!ct(t))
2905
+ var Ju = 1, jn = "[object Arguments]", Rn = "[object Array]", lt = "[object Object]", Xu = Object.prototype, Dn = Xu.hasOwnProperty;
2906
+ function Qu(e, t, n, r, a, i) {
2907
+ var l = fe(e), s = fe(t), o = l ? Rn : nt(e), u = s ? Rn : nt(t);
2908
+ o = o == jn ? lt : o, u = u == jn ? lt : u;
2909
+ var c = o == lt, f = u == lt, p = o == u;
2910
+ if (p && dt(e)) {
2911
+ if (!dt(t))
2942
2912
  return !1;
2943
2913
  l = !0, c = !1;
2944
2914
  }
2945
2915
  if (p && !c)
2946
- return i || (i = new ge()), l || nr(e) ? zr(e, t, n, r, a, i) : Bu(e, t, o, n, r, a, i);
2947
- if (!(n & Gu)) {
2948
- var U = c && Dn.call(e, "__wrapped__"), V = m && Dn.call(t, "__wrapped__");
2949
- if (U || V) {
2950
- var y = U ? e.value() : e, A = V ? t.value() : t;
2951
- return i || (i = new ge()), a(y, A, n, r, i);
2916
+ return i || (i = new ge()), l || nr(e) ? zr(e, t, n, r, a, i) : xu(e, t, o, n, r, a, i);
2917
+ if (!(n & Ju)) {
2918
+ var N = c && Dn.call(e, "__wrapped__"), V = f && Dn.call(t, "__wrapped__");
2919
+ if (N || V) {
2920
+ var y = N ? e.value() : e, I = V ? t.value() : t;
2921
+ return i || (i = new ge()), a(y, I, n, r, i);
2952
2922
  }
2953
2923
  }
2954
- return p ? (i || (i = new ge()), Yu(e, t, n, r, a, i)) : !1;
2924
+ return p ? (i || (i = new ge()), Zu(e, t, n, r, a, i)) : !1;
2955
2925
  }
2956
- function tn(e, t, n, r, a) {
2957
- return e === t ? !0 : e == null || t == null || !be(e) && !be(t) ? e !== e && t !== t : Zu(e, t, n, r, tn, a);
2926
+ function en(e, t, n, r, a) {
2927
+ return e === t ? !0 : e == null || t == null || !be(e) && !be(t) ? e !== e && t !== t : Qu(e, t, n, r, en, a);
2958
2928
  }
2959
- var Ju = 1, Xu = 2;
2960
- function Qu(e, t, n, r) {
2929
+ var ec = 1, tc = 2;
2930
+ function nc(e, t, n, r) {
2961
2931
  var a = n.length, i = a, l = !r;
2962
2932
  if (e == null)
2963
2933
  return !i;
@@ -2973,10 +2943,10 @@ function Qu(e, t, n, r) {
2973
2943
  if (u === void 0 && !(o in e))
2974
2944
  return !1;
2975
2945
  } else {
2976
- var m = new ge();
2946
+ var f = new ge();
2977
2947
  if (r)
2978
- var p = r(u, c, o, e, t, m);
2979
- if (!(p === void 0 ? tn(c, u, Ju | Xu, r, m) : p))
2948
+ var p = r(u, c, o, e, t, f);
2949
+ if (!(p === void 0 ? en(c, u, ec | tc, r, f) : p))
2980
2950
  return !1;
2981
2951
  }
2982
2952
  }
@@ -2985,7 +2955,7 @@ function Qu(e, t, n, r) {
2985
2955
  function Hr(e) {
2986
2956
  return e === e && !se(e);
2987
2957
  }
2988
- function ec(e) {
2958
+ function rc(e) {
2989
2959
  for (var t = Ye(e), n = t.length; n--; ) {
2990
2960
  var r = t[n], a = e[r];
2991
2961
  t[n] = [r, a, Hr(a)];
@@ -2997,55 +2967,55 @@ function xr(e, t) {
2997
2967
  return n == null ? !1 : n[e] === t && (t !== void 0 || e in Object(n));
2998
2968
  };
2999
2969
  }
3000
- function tc(e) {
3001
- var t = ec(e);
2970
+ function ic(e) {
2971
+ var t = rc(e);
3002
2972
  return t.length == 1 && t[0][2] ? xr(t[0][0], t[0][1]) : function(n) {
3003
- return n === e || Qu(n, e, t);
2973
+ return n === e || nc(n, e, t);
3004
2974
  };
3005
2975
  }
3006
- function nc(e, t) {
2976
+ function ac(e, t) {
3007
2977
  return e != null && t in Object(e);
3008
2978
  }
3009
- function rc(e, t, n) {
2979
+ function sc(e, t, n) {
3010
2980
  t = or(t, e);
3011
2981
  for (var r = -1, a = t.length, i = !1; ++r < a; ) {
3012
- var l = Tt(t[r]);
2982
+ var l = Mt(t[r]);
3013
2983
  if (!(i = e != null && n(e, l)))
3014
2984
  break;
3015
2985
  e = e[l];
3016
2986
  }
3017
- return i || ++r != a ? i : (a = e == null ? 0 : e.length, !!a && zt(a) && Bt(l, a) && (me(e) || Qn(e)));
2987
+ return i || ++r != a ? i : (a = e == null ? 0 : e.length, !!a && Bt(a) && Kt(l, a) && (fe(e) || Qn(e)));
3018
2988
  }
3019
- function ic(e, t) {
3020
- return e != null && rc(e, t, nc);
3021
- }
3022
- var ac = 1, sc = 2;
3023
2989
  function oc(e, t) {
3024
- return Yt(e) && Hr(t) ? xr(Tt(e), t) : function(n) {
2990
+ return e != null && sc(e, t, ac);
2991
+ }
2992
+ var lc = 1, dc = 2;
2993
+ function uc(e, t) {
2994
+ return xt(e) && Hr(t) ? xr(Mt(e), t) : function(n) {
3025
2995
  var r = B(n, e);
3026
- return r === void 0 && r === t ? ic(n, e) : tn(t, r, ac | sc);
2996
+ return r === void 0 && r === t ? oc(n, e) : en(t, r, lc | dc);
3027
2997
  };
3028
2998
  }
3029
- function lc(e) {
2999
+ function cc(e) {
3030
3000
  return function(t) {
3031
3001
  return t == null ? void 0 : t[e];
3032
3002
  };
3033
3003
  }
3034
- function dc(e) {
3004
+ function mc(e) {
3035
3005
  return function(t) {
3036
3006
  return lr(t, e);
3037
3007
  };
3038
3008
  }
3039
- function uc(e) {
3040
- return Yt(e) ? lc(Tt(e)) : dc(e);
3009
+ function fc(e) {
3010
+ return xt(e) ? cc(Mt(e)) : mc(e);
3041
3011
  }
3042
3012
  function Yr(e) {
3043
- return typeof e == "function" ? e : e == null ? _t : typeof e == "object" ? me(e) ? oc(e[0], e[1]) : tc(e) : uc(e);
3013
+ return typeof e == "function" ? e : e == null ? bt : typeof e == "object" ? fe(e) ? uc(e[0], e[1]) : ic(e) : fc(e);
3044
3014
  }
3045
- function cc(e) {
3015
+ function hc(e) {
3046
3016
  return function(t, n, r) {
3047
3017
  var a = Object(t);
3048
- if (!st(t)) {
3018
+ if (!at(t)) {
3049
3019
  var i = Yr(n);
3050
3020
  t = Ye(t), n = function(s) {
3051
3021
  return i(a[s], s, a);
@@ -3055,20 +3025,20 @@ function cc(e) {
3055
3025
  return l > -1 ? a[i ? t[l] : l] : void 0;
3056
3026
  };
3057
3027
  }
3058
- var fc = Math.max;
3059
- function mc(e, t, n) {
3028
+ var pc = Math.max;
3029
+ function gc(e, t, n) {
3060
3030
  var r = e == null ? 0 : e.length;
3061
3031
  if (!r)
3062
3032
  return -1;
3063
3033
  var a = n == null ? 0 : Ar(n);
3064
- return a < 0 && (a = fc(r + a, 0)), wr(e, Yr(t), a);
3034
+ return a < 0 && (a = pc(r + a, 0)), wr(e, Yr(t), a);
3065
3035
  }
3066
- var hc = cc(mc);
3067
- const pc = ["disabled", "name", "id"], gc = ["disabled"], vc = ["label"], yc = ["value"], bc = ["value"];
3068
- function _c(e, t, n, r, a, i) {
3069
- const l = gt("attributes");
3036
+ var vc = hc(gc);
3037
+ const yc = ["disabled", "name", "id"], bc = ["disabled"], _c = ["label"], wc = ["value"], Sc = ["value"];
3038
+ function Mc(e, t, n, r, a, i) {
3039
+ const l = pt("attributes");
3070
3040
  return re((d(), h("select", {
3071
- class: J(["form-control", e.schema.fieldClasses]),
3041
+ class: W(["form-control", e.schema.fieldClasses]),
3072
3042
  "onUpdate:modelValue": t[0] || (t[0] = (s) => e.value = s),
3073
3043
  disabled: e.disabled || null,
3074
3044
  name: e.schema.inputName,
@@ -3078,28 +3048,28 @@ function _c(e, t, n, r, a, i) {
3078
3048
  key: 0,
3079
3049
  disabled: e.schema.required || null,
3080
3050
  value: null
3081
- }, F(i.selectOptions.noneSelectedText || "<Nothing selected>"), 9, gc)),
3082
- (d(!0), h(D, null, Z(i.items, (s) => (d(), h(D, null, [
3051
+ }, F(i.selectOptions.noneSelectedText || "<Nothing selected>"), 9, bc)),
3052
+ (d(!0), h(K, null, J(i.items, (s) => (d(), h(K, null, [
3083
3053
  s.group ? (d(), h("optgroup", {
3084
3054
  key: 0,
3085
3055
  label: i.getGroupName(s)
3086
3056
  }, [
3087
- s.ops ? (d(!0), h(D, { key: 0 }, Z(s.ops, (o) => (d(), h("option", {
3057
+ s.ops ? (d(!0), h(K, { key: 0 }, J(s.ops, (o) => (d(), h("option", {
3088
3058
  value: i.getItemValue(o)
3089
- }, F(i.getItemName(o)), 9, yc))), 256)) : O("", !0)
3090
- ], 8, vc)) : O("", !0),
3059
+ }, F(i.getItemName(o)), 9, wc))), 256)) : O("", !0)
3060
+ ], 8, _c)) : O("", !0),
3091
3061
  s.group ? O("", !0) : (d(), h("option", {
3092
3062
  key: 1,
3093
3063
  value: i.getItemValue(s)
3094
- }, F(i.getItemName(s)), 9, bc))
3064
+ }, F(i.getItemName(s)), 9, Sc))
3095
3065
  ], 64))), 256))
3096
- ], 10, pc)), [
3097
- [Yn, e.value],
3066
+ ], 10, yc)), [
3067
+ [xn, e.value],
3098
3068
  [l, "input"]
3099
3069
  ]);
3100
3070
  }
3101
- const wc = {
3102
- mixins: [ce],
3071
+ const Tc = {
3072
+ mixins: [ue],
3103
3073
  computed: {
3104
3074
  selectOptions() {
3105
3075
  return this.schema.selectOptions || {};
@@ -3117,7 +3087,7 @@ const wc = {
3117
3087
  const t = [];
3118
3088
  let n = {};
3119
3089
  return e.forEach((r) => {
3120
- n = null, r.group && se(r) ? (n = hc(t, (a) => a.group === r.group), n ? n.ops.push({
3090
+ n = null, r.group && se(r) ? (n = vc(t, (a) => a.group === r.group), n ? n.ops.push({
3121
3091
  id: r.id,
3122
3092
  name: r.name
3123
3093
  }) : (n = {
@@ -3155,21 +3125,21 @@ const wc = {
3155
3125
  return e;
3156
3126
  }
3157
3127
  }
3158
- }, Gr = /* @__PURE__ */ H(wc, [["render", _c]]), Mc = {
3128
+ }, Gr = /* @__PURE__ */ H(Tc, [["render", Mc]]), Ic = {
3159
3129
  name: "FieldArray",
3160
3130
  components: {
3161
- FieldArrayItem: Nr,
3131
+ FieldArrayItem: Vr,
3162
3132
  FieldArrayMultiItem: Lr,
3163
3133
  FieldSelect: Gr,
3164
3134
  FieldMetric: jr,
3165
3135
  FieldObject: Rr,
3166
- FieldObjectAdvanced: Dr,
3136
+ FieldObjectAdvanced: Kr,
3167
3137
  FieldAutoSuggest: Pr,
3168
3138
  FieldRadio: Br,
3169
- FieldArrayCardContainer: Vr,
3139
+ FieldArrayCardContainer: Nr,
3170
3140
  FieldInput: qr
3171
3141
  },
3172
- mixins: [ce],
3142
+ mixins: [ue],
3173
3143
  inject: {
3174
3144
  autofillSlot: {
3175
3145
  from: he,
@@ -3216,26 +3186,26 @@ const wc = {
3216
3186
  this.value = this.value.map((n, r) => r === t ? e : n);
3217
3187
  }
3218
3188
  }
3219
- }, Sc = ["id"], Tc = { key: 1 }, Ic = ["onUpdate:modelValue", "aria-labelledby", "type"], Ac = ["onUpdate:modelValue", "aria-labelledby"];
3220
- function Oc(e, t, n, r, a, i) {
3189
+ }, Ac = ["id"], Oc = { key: 1 }, Cc = ["onUpdate:modelValue", "aria-labelledby", "type"], Ec = ["onUpdate:modelValue", "aria-labelledby"];
3190
+ function $c(e, t, n, r, a, i) {
3221
3191
  const l = E("KTextArea"), s = E("KInput"), o = E("KButton");
3222
3192
  return e.schema ? (d(), h("div", {
3223
3193
  key: 0,
3224
3194
  id: e.getFieldID(e.schema),
3225
- class: J(e.schema.fieldClasses)
3195
+ class: W(e.schema.fieldClasses)
3226
3196
  }, [
3227
- (d(!0), h(D, null, Z(e.value, (u, c) => (d(), h("div", {
3197
+ (d(!0), h(K, null, J(e.value, (u, c) => (d(), h("div", {
3228
3198
  key: c,
3229
- class: J(e.schema.fieldItemsClasses)
3199
+ class: W(e.schema.fieldItemsClasses)
3230
3200
  }, [
3231
- e.schema.items && e.schema.itemContainerComponent ? (d(), I(ee(e.schema.itemContainerComponent), {
3201
+ e.schema.items && e.schema.itemContainerComponent ? (d(), A(ee(e.schema.itemContainerComponent), {
3232
3202
  key: 0,
3233
3203
  model: u,
3234
3204
  schema: i.generateSchema(e.value, e.schema.items, c),
3235
- onRemoveItem: (m) => i.removeElement(c)
3205
+ onRemoveItem: (f) => i.removeElement(c)
3236
3206
  }, {
3237
3207
  default: w(() => [
3238
- (d(), I(ee(i.getFieldType(e.schema.items)), {
3208
+ (d(), A(ee(i.getFieldType(e.schema.items)), {
3239
3209
  "form-options": e.formOptions,
3240
3210
  model: u,
3241
3211
  schema: i.generateSchema(e.value, e.schema.items, c),
@@ -3243,31 +3213,31 @@ function Oc(e, t, n, r, a, i) {
3243
3213
  }, null, 40, ["form-options", "model", "schema", "onModelUpdated"]))
3244
3214
  ]),
3245
3215
  _: 2
3246
- }, 1064, ["model", "schema", "onRemoveItem"])) : e.schema.items ? (d(), h("span", Tc, [
3247
- (d(), I(ee(i.getFieldType(e.schema.items)), {
3216
+ }, 1064, ["model", "schema", "onRemoveItem"])) : e.schema.items ? (d(), h("span", Oc, [
3217
+ (d(), A(ee(i.getFieldType(e.schema.items)), {
3248
3218
  "form-options": e.formOptions,
3249
3219
  model: u,
3250
3220
  schema: i.generateSchema(e.value, e.schema.items, c),
3251
3221
  onModelUpdated: i.modelUpdated
3252
3222
  }, null, 40, ["form-options", "model", "schema", "onModelUpdated"]))
3253
- ])) : e.schema.itemContainerComponent ? (d(), I(ee(e.schema.itemContainerComponent), {
3223
+ ])) : e.schema.itemContainerComponent ? (d(), A(ee(e.schema.itemContainerComponent), {
3254
3224
  key: 2,
3255
3225
  "data-testid": `${e.getFieldID(e.schema)}-item-${c}`,
3256
3226
  model: u,
3257
3227
  schema: i.generateSchema(e.value, e.schema.items, c),
3258
- onRemoveItem: (m) => i.removeElement(c)
3228
+ onRemoveItem: (f) => i.removeElement(c)
3259
3229
  }, {
3260
3230
  after: w(() => [
3261
- (d(), I(ee(i.autofillSlot), {
3231
+ (d(), A(ee(i.autofillSlot), {
3262
3232
  schema: e.schema,
3263
- update: (m) => e.value[c] = m,
3233
+ update: (f) => e.value[c] = f,
3264
3234
  value: e.value[c]
3265
3235
  }, null, 8, ["schema", "update", "value"]))
3266
3236
  ]),
3267
3237
  default: w(() => {
3268
- var m;
3238
+ var f;
3269
3239
  return [
3270
- e.schema.inputAttributes && e.schema.inputAttributes.type === "textarea" ? (d(), I(l, Ue({
3240
+ e.schema.inputAttributes && e.schema.inputAttributes.type === "textarea" ? (d(), A(l, ke({
3271
3241
  key: 0,
3272
3242
  ref_for: !0
3273
3243
  }, e.schema.inputAttributes, {
@@ -3283,7 +3253,7 @@ function Oc(e, t, n, r, a, i) {
3283
3253
  readonly: e.schema.readonly,
3284
3254
  required: e.schema.required,
3285
3255
  rows: e.schema.rows || 2
3286
- }), null, 16, ["id", "modelValue", "onUpdate:modelValue", "aria-labelledby", "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" ? (d(), I(s, Ue({
3256
+ }), null, 16, ["id", "modelValue", "onUpdate:modelValue", "aria-labelledby", "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" ? (d(), A(s, ke({
3287
3257
  key: 1,
3288
3258
  "aria-labelledby": e.getLabelId(e.schema),
3289
3259
  ref_for: !0
@@ -3293,49 +3263,49 @@ function Oc(e, t, n, r, a, i) {
3293
3263
  onInput: (p) => {
3294
3264
  i.handleInput(p, c);
3295
3265
  }
3296
- }), null, 16, ["aria-labelledby", "model-value", "type", "onInput"])) : re((d(), h("input", Ue({
3266
+ }), null, 16, ["aria-labelledby", "model-value", "type", "onInput"])) : re((d(), h("input", ke({
3297
3267
  key: 2,
3298
3268
  "onUpdate:modelValue": (p) => e.value[c] = p,
3299
3269
  "aria-labelledby": e.getLabelId(e.schema),
3300
3270
  ref_for: !0
3301
3271
  }, e.schema.inputAttributes, {
3302
- type: ((m = e.schema.inputAttributes) == null ? void 0 : m.type) || "text"
3303
- }), null, 16, Ic)), [
3272
+ type: ((f = e.schema.inputAttributes) == null ? void 0 : f.type) || "text"
3273
+ }), null, 16, Cc)), [
3304
3274
  [ni, e.value[c]]
3305
3275
  ])
3306
3276
  ];
3307
3277
  }),
3308
3278
  _: 2
3309
- }, 1064, ["data-testid", "model", "schema", "onRemoveItem"])) : (d(), h(D, { key: 3 }, [
3310
- re(f("input", Ue({ ref_for: !0 }, e.schema.inputAttributes, {
3311
- "onUpdate:modelValue": (m) => e.value[c] = m,
3279
+ }, 1064, ["data-testid", "model", "schema", "onRemoveItem"])) : (d(), h(K, { key: 3 }, [
3280
+ re(m("input", ke({ ref_for: !0 }, e.schema.inputAttributes, {
3281
+ "onUpdate:modelValue": (f) => e.value[c] = f,
3312
3282
  "aria-labelledby": e.getLabelId(e.schema),
3313
3283
  type: "text"
3314
- }), null, 16, Ac), [
3315
- [Ve, e.value[c]]
3284
+ }), null, 16, Ec), [
3285
+ [Ne, e.value[c]]
3316
3286
  ]),
3317
- (d(), I(ee(i.autofillSlot), {
3287
+ (d(), A(ee(i.autofillSlot), {
3318
3288
  schema: e.schema,
3319
- update: (m) => e.value[c] = m,
3289
+ update: (f) => e.value[c] = f,
3320
3290
  value: e.value[c]
3321
3291
  }, null, 8, ["schema", "update", "value"]))
3322
3292
  ], 64))
3323
3293
  ], 2))), 128)),
3324
- M(o, {
3294
+ S(o, {
3325
3295
  appearance: "tertiary",
3326
- class: J(e.schema.newElementButtonLabelClasses),
3296
+ class: W(e.schema.newElementButtonLabelClasses),
3327
3297
  "data-testid": `add-${e.getFieldID(e.schema)}`,
3328
3298
  type: "button",
3329
3299
  onClick: i.newElement
3330
3300
  }, {
3331
3301
  default: w(() => [
3332
- ne(F(e.schema.newElementButtonLabel || n.newElementButtonLabel), 1)
3302
+ te(F(e.schema.newElementButtonLabel || n.newElementButtonLabel), 1)
3333
3303
  ]),
3334
3304
  _: 1
3335
3305
  }, 8, ["class", "data-testid", "onClick"])
3336
- ], 10, Sc)) : O("", !0);
3306
+ ], 10, Ac)) : O("", !0);
3337
3307
  }
3338
- const Ec = /* @__PURE__ */ H(Mc, [["render", Oc], ["__scopeId", "data-v-fb8e1bc9"]]), Cc = { class: "form-field-wrapper field-checkbox" }, $c = /* @__PURE__ */ oe({
3308
+ const Fc = /* @__PURE__ */ H(Ic, [["render", $c], ["__scopeId", "data-v-fb8e1bc9"]]), kc = { class: "form-field-wrapper field-checkbox" }, Uc = /* @__PURE__ */ de({
3339
3309
  __name: "FieldCheckbox",
3340
3310
  props: {
3341
3311
  disabled: {
@@ -3375,7 +3345,7 @@ const Ec = /* @__PURE__ */ H(Mc, [["render", Oc], ["__scopeId", "data-v-fb8e1bc9
3375
3345
  },
3376
3346
  emits: ["modelUpdated"],
3377
3347
  setup(e, { expose: t, emit: n }) {
3378
- const r = e, a = n, i = at(r), { getFieldID: l, value: s, clearValidationErrors: o } = dt.useAbstractFields({
3348
+ const r = e, a = n, i = ht(r), { getFieldID: l, value: s, clearValidationErrors: o } = At.useAbstractFields({
3379
3349
  model: i.model,
3380
3350
  schema: r.schema,
3381
3351
  formOptions: r.formOptions,
@@ -3386,12 +3356,12 @@ const Ec = /* @__PURE__ */ H(Mc, [["render", Oc], ["__scopeId", "data-v-fb8e1bc9
3386
3356
  return t({
3387
3357
  clearValidationErrors: o
3388
3358
  }), (u, c) => {
3389
- const m = E("KCheckbox");
3390
- return d(), h("div", Cc, [
3391
- M(m, Ue(u.$attrs, {
3392
- id: L(l)(e.schema),
3393
- modelValue: L(s),
3394
- "onUpdate:modelValue": c[0] || (c[0] = (p) => Dt(s) ? s.value = p : null),
3359
+ const f = E("KCheckbox");
3360
+ return d(), h("div", kc, [
3361
+ S(f, ke(u.$attrs, {
3362
+ id: P(l)(e.schema),
3363
+ modelValue: P(s),
3364
+ "onUpdate:modelValue": c[0] || (c[0] = (p) => Yn(s) ? s.value = p : null),
3395
3365
  autocomplete: e.schema.autocomplete,
3396
3366
  class: e.schema.fieldClasses,
3397
3367
  disabled: e.disabled || void 0,
@@ -3404,76 +3374,76 @@ const Ec = /* @__PURE__ */ H(Mc, [["render", Oc], ["__scopeId", "data-v-fb8e1bc9
3404
3374
  ]);
3405
3375
  };
3406
3376
  }
3407
- }), Fc = /* @__PURE__ */ H($c, [["__scopeId", "data-v-6b4ee1cd"]]);
3408
- var Uc = 4;
3409
- function Bn(e) {
3410
- return Xe(e, Uc);
3411
- }
3412
- const kc = { class: "wrapper" }, Vc = ["disabled"], Nc = ["id", "checked", "disabled", "onChange", "name"], Lc = ["disabled"], Pc = { class: "info" }, qc = /* @__PURE__ */ f("div", { class: "arrow" }, null, -1), jc = { class: "dropList" }, Rc = ["id", "checked", "disabled", "onChange", "name"];
3413
- function Kc(e, t, n, r, a, i) {
3414
- const l = gt("attributes");
3415
- return re((d(), h("div", kc, [
3377
+ }), Nc = /* @__PURE__ */ H(Uc, [["__scopeId", "data-v-6b4ee1cd"]]);
3378
+ var Vc = 4;
3379
+ function Kn(e) {
3380
+ return Xe(e, Vc);
3381
+ }
3382
+ const Lc = { class: "wrapper" }, Pc = ["disabled"], qc = ["id", "checked", "disabled", "onChange", "name"], jc = ["disabled"], Rc = { class: "info" }, Dc = /* @__PURE__ */ m("div", { class: "arrow" }, null, -1), Kc = { class: "dropList" }, Bc = ["id", "checked", "disabled", "onChange", "name"];
3383
+ function zc(e, t, n, r, a, i) {
3384
+ const l = pt("attributes");
3385
+ return re((d(), h("div", Lc, [
3416
3386
  e.schema.listBox ? (d(), h("div", {
3417
3387
  key: 0,
3418
3388
  class: "listbox form-control",
3419
3389
  disabled: e.disabled || null
3420
3390
  }, [
3421
- (d(!0), h(D, null, Z(i.items, (s) => (d(), h("div", {
3422
- class: J(["list-row", { "is-checked": i.isItemChecked(s) }])
3391
+ (d(!0), h(K, null, J(i.items, (s) => (d(), h("div", {
3392
+ class: W(["list-row", { "is-checked": i.isItemChecked(s) }])
3423
3393
  }, [
3424
- f("label", null, [
3425
- re(f("input", {
3394
+ m("label", null, [
3395
+ re(m("input", {
3426
3396
  id: e.getFieldID(e.schema, !0),
3427
3397
  type: "checkbox",
3428
3398
  checked: i.isItemChecked(s) || null,
3429
3399
  disabled: e.disabled || null,
3430
3400
  onChange: (o) => i.onChanged(o, s),
3431
3401
  name: i.getInputName(s)
3432
- }, null, 40, Nc), [
3402
+ }, null, 40, qc), [
3433
3403
  [l, "input"]
3434
3404
  ]),
3435
- ne(F(i.getItemName(s)), 1)
3405
+ te(F(i.getItemName(s)), 1)
3436
3406
  ])
3437
3407
  ], 2))), 256))
3438
- ], 8, Vc)) : O("", !0),
3408
+ ], 8, Pc)) : O("", !0),
3439
3409
  e.schema.listBox ? O("", !0) : (d(), h("div", {
3440
3410
  key: 1,
3441
3411
  class: "combobox form-control",
3442
3412
  disabled: e.disabled || null
3443
3413
  }, [
3444
- f("div", {
3445
- class: J(["mainRow", { expanded: a.comboExpanded }]),
3414
+ m("div", {
3415
+ class: W(["mainRow", { expanded: a.comboExpanded }]),
3446
3416
  onClick: t[0] || (t[0] = (...s) => i.onExpandCombo && i.onExpandCombo(...s))
3447
3417
  }, [
3448
- f("div", Pc, F(i.selectedCount) + " selected", 1),
3449
- qc
3418
+ m("div", Rc, F(i.selectedCount) + " selected", 1),
3419
+ Dc
3450
3420
  ], 2),
3451
- f("div", jc, [
3452
- a.comboExpanded ? (d(!0), h(D, { key: 0 }, Z(i.items, (s) => (d(), h("div", {
3453
- class: J(["list-row", { "is-checked": i.isItemChecked(s) }])
3421
+ m("div", Kc, [
3422
+ a.comboExpanded ? (d(!0), h(K, { key: 0 }, J(i.items, (s) => (d(), h("div", {
3423
+ class: W(["list-row", { "is-checked": i.isItemChecked(s) }])
3454
3424
  }, [
3455
- f("label", null, [
3456
- re(f("input", {
3425
+ m("label", null, [
3426
+ re(m("input", {
3457
3427
  id: e.getFieldID(e.schema, !0),
3458
3428
  type: "checkbox",
3459
3429
  checked: i.isItemChecked(s) || null,
3460
3430
  disabled: e.disabled || null,
3461
3431
  onChange: (o) => i.onChanged(o, s),
3462
3432
  name: i.getInputName(s)
3463
- }, null, 40, Rc), [
3433
+ }, null, 40, Bc), [
3464
3434
  [l, "input"]
3465
3435
  ]),
3466
- ne(F(i.getItemName(s)), 1)
3436
+ te(F(i.getItemName(s)), 1)
3467
3437
  ])
3468
3438
  ], 2))), 256)) : O("", !0)
3469
3439
  ])
3470
- ], 8, Lc))
3440
+ ], 8, jc))
3471
3441
  ])), [
3472
3442
  [l, "wrapper"]
3473
3443
  ]);
3474
3444
  }
3475
- const Dc = {
3476
- mixins: [ce],
3445
+ const Hc = {
3446
+ mixins: [ue],
3477
3447
  data() {
3478
3448
  return {
3479
3449
  comboExpanded: !1
@@ -3490,7 +3460,7 @@ const Dc = {
3490
3460
  },
3491
3461
  methods: {
3492
3462
  getInputName(e) {
3493
- return this.schema && this.schema.inputName && this.schema.inputName.length > 0 ? On(this.schema.inputName + "_" + this.getItemValue(e)) : On(this.getItemValue(e));
3463
+ return this.schema && this.schema.inputName && this.schema.inputName.length > 0 ? An(this.schema.inputName + "_" + this.getItemValue(e)) : An(this.getItemValue(e));
3494
3464
  },
3495
3465
  getItemValue(e) {
3496
3466
  if (se(e)) {
@@ -3517,10 +3487,10 @@ const Dc = {
3517
3487
  },
3518
3488
  onChanged(e, t) {
3519
3489
  if ((Q(this.value) || !Array.isArray(this.value)) && (this.value = []), e.target.checked) {
3520
- const n = Bn(this.value);
3490
+ const n = Kn(this.value);
3521
3491
  n.push(this.getItemValue(t)), this.value = n;
3522
3492
  } else {
3523
- const n = Bn(this.value);
3493
+ const n = Kn(this.value);
3524
3494
  n.splice(this.value.indexOf(this.getItemValue(t)), 1), this.value = n;
3525
3495
  }
3526
3496
  },
@@ -3528,10 +3498,10 @@ const Dc = {
3528
3498
  this.comboExpanded = !this.comboExpanded;
3529
3499
  }
3530
3500
  }
3531
- }, Bc = /* @__PURE__ */ H(Dc, [["render", Kc]]), zc = {
3501
+ }, xc = /* @__PURE__ */ H(Hc, [["render", zc]]), Yc = {
3532
3502
  name: "FieldKeyValuePairs",
3533
- components: { TrashIcon: lt },
3534
- mixins: [ce],
3503
+ components: { TrashIcon: ot },
3504
+ mixins: [ue],
3535
3505
  inject: {
3536
3506
  autofillSlot: {
3537
3507
  from: he,
@@ -3582,16 +3552,16 @@ const Dc = {
3582
3552
  this.pairs.splice(e, 1);
3583
3553
  }
3584
3554
  }
3585
- }, Hc = { class: "key-value-pairs-editor" }, xc = { class: "pair-item-cell" }, Yc = ["data-testid", "placeholder", "value", "onInput"], Gc = { class: "pair-item-cell" }, Wc = ["data-testid", "placeholder", "value", "onInput"];
3586
- function Zc(e, t, n, r, a, i) {
3555
+ }, Gc = { class: "key-value-pairs-editor" }, Wc = { class: "pair-item-cell" }, Zc = ["data-testid", "placeholder", "value", "onInput"], Jc = { class: "pair-item-cell" }, Xc = ["data-testid", "placeholder", "value", "onInput"];
3556
+ function Qc(e, t, n, r, a, i) {
3587
3557
  const l = E("TrashIcon"), s = E("KButton");
3588
- return d(), h("div", Hc, [
3589
- (d(!0), h(D, null, Z(a.pairs, (o, u) => (d(), h("div", {
3558
+ return d(), h("div", Gc, [
3559
+ (d(!0), h(K, null, J(a.pairs, (o, u) => (d(), h("div", {
3590
3560
  key: u,
3591
3561
  class: "pair-item"
3592
3562
  }, [
3593
- f("div", xc, [
3594
- f("input", {
3563
+ m("div", Wc, [
3564
+ m("input", {
3595
3565
  class: "form-control",
3596
3566
  "data-testid": `${e.getFieldID(e.schema)}-pair-key-${u}`,
3597
3567
  placeholder: e.schema.keyInputPlaceholder ?? "Key",
@@ -3600,15 +3570,15 @@ function Zc(e, t, n, r, a, i) {
3600
3570
  onInput: (c) => {
3601
3571
  i.onInput(c, u, "key");
3602
3572
  }
3603
- }, null, 40, Yc),
3604
- (d(), I(ee(i.autofillSlot), {
3573
+ }, null, 40, Zc),
3574
+ (d(), A(ee(i.autofillSlot), {
3605
3575
  schema: e.schema,
3606
3576
  update: (c) => i.onInput({ target: { value: c } }, u, "key"),
3607
3577
  value: o.key
3608
3578
  }, null, 8, ["schema", "update", "value"]))
3609
3579
  ]),
3610
- f("div", Gc, [
3611
- f("input", {
3580
+ m("div", Jc, [
3581
+ m("input", {
3612
3582
  class: "form-control",
3613
3583
  "data-testid": `${e.getFieldID(e.schema)}-pair-value-${u}`,
3614
3584
  placeholder: e.schema.valueInputPlaceholder ?? "Value",
@@ -3617,14 +3587,14 @@ function Zc(e, t, n, r, a, i) {
3617
3587
  onInput: (c) => {
3618
3588
  i.onInput(c, u, "value");
3619
3589
  }
3620
- }, null, 40, Wc),
3621
- (d(), I(ee(i.autofillSlot), {
3590
+ }, null, 40, Xc),
3591
+ (d(), A(ee(i.autofillSlot), {
3622
3592
  schema: e.schema,
3623
3593
  update: (c) => i.onInput({ target: { value: c } }, u, "value"),
3624
3594
  value: o.value
3625
3595
  }, null, 8, ["schema", "update", "value"]))
3626
3596
  ]),
3627
- M(s, {
3597
+ S(s, {
3628
3598
  appearance: "tertiary",
3629
3599
  "data-testid": `${e.getFieldID(e.schema)}-remove-pair-${u}`,
3630
3600
  onClick: () => {
@@ -3632,26 +3602,26 @@ function Zc(e, t, n, r, a, i) {
3632
3602
  }
3633
3603
  }, {
3634
3604
  default: w(() => [
3635
- M(l)
3605
+ S(l)
3636
3606
  ]),
3637
3607
  _: 2
3638
3608
  }, 1032, ["data-testid", "onClick"])
3639
3609
  ]))), 128)),
3640
- M(s, {
3610
+ S(s, {
3641
3611
  appearance: "tertiary",
3642
- class: J(e.schema.newElementButtonLabelClasses),
3612
+ class: W(e.schema.newElementButtonLabelClasses),
3643
3613
  "data-testid": `${e.getFieldID(e.schema)}-add-pair`,
3644
3614
  type: "button",
3645
3615
  onClick: i.addPair
3646
3616
  }, {
3647
3617
  default: w(() => [
3648
- ne(F(e.schema.newElementButtonLabel ?? "+ Add Pair"), 1)
3618
+ te(F(e.schema.newElementButtonLabel ?? "+ Add Pair"), 1)
3649
3619
  ]),
3650
3620
  _: 1
3651
3621
  }, 8, ["class", "data-testid", "onClick"])
3652
3622
  ]);
3653
3623
  }
3654
- const Jc = /* @__PURE__ */ H(zc, [["render", Zc], ["__scopeId", "data-v-70998d5b"]]), Xc = /* @__PURE__ */ oe({
3624
+ const em = /* @__PURE__ */ H(Yc, [["render", Qc], ["__scopeId", "data-v-70998d5b"]]), tm = /* @__PURE__ */ de({
3655
3625
  __name: "FieldLabel",
3656
3626
  props: {
3657
3627
  disabled: {
@@ -3678,7 +3648,7 @@ const Jc = /* @__PURE__ */ H(zc, [["render", Zc], ["__scopeId", "data-v-70998d5b
3678
3648
  }
3679
3649
  },
3680
3650
  setup(e) {
3681
- const t = e, n = at(t), { getFieldID: r, value: a } = dt.useAbstractFields({
3651
+ const t = e, n = ht(t), { getFieldID: r, value: a } = At.useAbstractFields({
3682
3652
  model: n.model,
3683
3653
  schema: t.schema,
3684
3654
  formOptions: t.formOptions
@@ -3686,21 +3656,21 @@ const Jc = /* @__PURE__ */ H(zc, [["render", Zc], ["__scopeId", "data-v-70998d5b
3686
3656
  return (i, l) => {
3687
3657
  const s = E("KLabel");
3688
3658
  return d(), h("span", {
3689
- class: J(["field-label", e.schema.fieldClasses])
3659
+ class: W(["field-label", e.schema.fieldClasses])
3690
3660
  }, [
3691
- M(s, {
3692
- id: L(r)(e.schema)
3661
+ S(s, {
3662
+ id: P(r)(e.schema)
3693
3663
  }, {
3694
3664
  default: w(() => [
3695
- ne(F(L(a)), 1)
3665
+ te(F(P(a)), 1)
3696
3666
  ]),
3697
3667
  _: 1
3698
3668
  }, 8, ["id"])
3699
3669
  ], 2);
3700
3670
  };
3701
3671
  }
3702
- }), Qc = /* @__PURE__ */ H(Xc, [["__scopeId", "data-v-d046a15a"]]), ef = {
3703
- mixins: [ce],
3672
+ }), nm = /* @__PURE__ */ H(tm, [["__scopeId", "data-v-d046a15a"]]), rm = {
3673
+ mixins: [ue],
3704
3674
  emits: ["model-updated"],
3705
3675
  methods: {
3706
3676
  onUpdate(e) {
@@ -3708,9 +3678,9 @@ const Jc = /* @__PURE__ */ H(zc, [["render", Zc], ["__scopeId", "data-v-70998d5b
3708
3678
  }
3709
3679
  }
3710
3680
  };
3711
- function tf(e, t, n, r, a, i) {
3681
+ function im(e, t, n, r, a, i) {
3712
3682
  const l = E("KMultiselect");
3713
- return d(), I(l, {
3683
+ return d(), A(l, {
3714
3684
  "aria-labelledby": e.getLabelId(e.schema),
3715
3685
  "data-testid": "field-multiselect",
3716
3686
  items: e.schema.values,
@@ -3722,8 +3692,8 @@ function tf(e, t, n, r, a, i) {
3722
3692
  "onUpdate:modelValue": i.onUpdate
3723
3693
  }, null, 8, ["aria-labelledby", "items", "label-attributes", "model-value", "placeholder", "required", "onUpdate:modelValue"]);
3724
3694
  }
3725
- const nf = /* @__PURE__ */ H(ef, [["render", tf]]), rf = {
3726
- mixins: [ce],
3695
+ const am = /* @__PURE__ */ H(rm, [["render", im]]), sm = {
3696
+ mixins: [ue],
3727
3697
  emits: ["model-updated"],
3728
3698
  data() {
3729
3699
  return {
@@ -3757,40 +3727,40 @@ const nf = /* @__PURE__ */ H(ef, [["render", tf]]), rf = {
3757
3727
  this.$emit("model-updated", e, t);
3758
3728
  }
3759
3729
  }
3760
- }, af = { class: "selection-group" }, sf = { class: "form-group horizontal-radios" }, of = { class: "radio-group" }, lf = ["value"], df = { class: "control-help" }, uf = { class: "option-field" }, cf = { class: "option-field-container" };
3761
- function ff(e, t, n, r, a, i) {
3730
+ }, om = { class: "selection-group" }, lm = { class: "form-group horizontal-radios" }, dm = { class: "radio-group" }, um = ["value"], cm = { class: "control-help" }, mm = { class: "option-field" }, fm = { class: "option-field-container" };
3731
+ function hm(e, t, n, r, a, i) {
3762
3732
  const l = E("vue-form-generator");
3763
- return d(), h("div", af, [
3764
- f("div", sf, [
3765
- f("div", of, [
3766
- (d(!0), h(D, null, Z(e.schema.fields, (s, o) => (d(), h("div", {
3733
+ return d(), h("div", om, [
3734
+ m("div", lm, [
3735
+ m("div", dm, [
3736
+ (d(!0), h(K, null, J(e.schema.fields, (s, o) => (d(), h("div", {
3767
3737
  key: o,
3768
3738
  class: "option-group"
3769
3739
  }, [
3770
- f("label", {
3771
- class: J(["k-label", `${s.label}-check`])
3740
+ m("label", {
3741
+ class: W(["k-label", `${s.label}-check`])
3772
3742
  }, [
3773
- re(f("input", {
3743
+ re(m("input", {
3774
3744
  "onUpdate:modelValue": t[0] || (t[0] = (u) => a.checkedGroup = u),
3775
3745
  class: "k-input",
3776
3746
  type: "radio",
3777
3747
  value: o
3778
- }, null, 8, lf), [
3748
+ }, null, 8, um), [
3779
3749
  [ri, a.checkedGroup]
3780
3750
  ]),
3781
- ne(" " + F(s.label) + " ", 1),
3782
- f("div", df, F(s.description), 1)
3751
+ te(" " + F(s.label) + " ", 1),
3752
+ m("div", cm, F(s.description), 1)
3783
3753
  ], 2)
3784
3754
  ]))), 128))
3785
3755
  ])
3786
3756
  ]),
3787
- (d(!0), h(D, null, Z(e.schema.fields, (s, o) => (d(), h("div", {
3757
+ (d(!0), h(K, null, J(e.schema.fields, (s, o) => (d(), h("div", {
3788
3758
  key: o,
3789
3759
  class: "option-group"
3790
3760
  }, [
3791
- re(f("div", uf, [
3792
- f("div", cf, [
3793
- M(l, {
3761
+ re(m("div", mm, [
3762
+ m("div", fm, [
3763
+ S(l, {
3794
3764
  model: e.model,
3795
3765
  options: { helpAsHtml: !0 },
3796
3766
  schema: { fields: s.fields },
@@ -3803,9 +3773,9 @@ function ff(e, t, n, r, a, i) {
3803
3773
  ]))), 128))
3804
3774
  ]);
3805
3775
  }
3806
- const mf = /* @__PURE__ */ H(rf, [["render", ff], ["__scopeId", "data-v-0aaaf597"]]), hf = {
3776
+ const pm = /* @__PURE__ */ H(sm, [["render", hm], ["__scopeId", "data-v-0aaaf597"]]), gm = {
3807
3777
  packageName: "forms"
3808
- }, pf = {
3778
+ }, vm = {
3809
3779
  view_advanced_fields: "View Advanced Fields",
3810
3780
  window_type: {
3811
3781
  label: "Rate Limit Window Type",
@@ -3849,13 +3819,13 @@ const mf = /* @__PURE__ */ H(rf, [["render", ff], ["__scopeId", "data-v-0aaaf597
3849
3819
  title: "Configure your Redis",
3850
3820
  address_example: "e.g. localhost:6379"
3851
3821
  }
3852
- }, gf = {
3822
+ }, ym = {
3853
3823
  labels: {
3854
3824
  on: "On",
3855
3825
  off: "Off"
3856
3826
  }
3857
3827
  }, Ot = {
3858
- general: hf,
3828
+ general: gm,
3859
3829
  "post-function": {
3860
3830
  tags: {
3861
3831
  hint: "e.g. tag1, tag2, tag3",
@@ -3916,9 +3886,9 @@ const mf = /* @__PURE__ */ H(rf, [["render", ff], ["__scopeId", "data-v-0aaaf597
3916
3886
  newElementButtonLabel: "+ Add"
3917
3887
  }
3918
3888
  },
3919
- rla: pf,
3920
- vfg: gf
3921
- }, vf = { class: "form-field-wrapper" }, yf = /* @__PURE__ */ oe({
3889
+ rla: vm,
3890
+ vfg: ym
3891
+ }, bm = { class: "form-field-wrapper" }, _m = /* @__PURE__ */ de({
3922
3892
  __name: "FieldSwitch",
3923
3893
  props: {
3924
3894
  disabled: {
@@ -3958,7 +3928,7 @@ const mf = /* @__PURE__ */ H(rf, [["render", ff], ["__scopeId", "data-v-0aaaf597
3958
3928
  },
3959
3929
  emits: ["modelUpdated"],
3960
3930
  setup(e, { expose: t, emit: n }) {
3961
- const r = e, a = n, { t: i } = bt("en-us", Ot), l = (p) => p != null && r.schema.valueOn ? p === r.schema.valueOn : p, s = (p) => p != null && r.schema.valueOn ? p ? r.schema.valueOn : r.schema.valueOff : p, o = at(r), { getFieldID: u, value: c, clearValidationErrors: m } = dt.useAbstractFields({
3931
+ const r = e, a = n, { t: i } = yt("en-us", Ot), l = (p) => p != null && r.schema.valueOn ? p === r.schema.valueOn : p, s = (p) => p != null && r.schema.valueOn ? p ? r.schema.valueOn : r.schema.valueOff : p, o = ht(r), { getFieldID: u, value: c, clearValidationErrors: f } = At.useAbstractFields({
3962
3932
  model: o.model,
3963
3933
  schema: r.schema,
3964
3934
  formOptions: r.formOptions,
@@ -3969,39 +3939,39 @@ const mf = /* @__PURE__ */ H(rf, [["render", ff], ["__scopeId", "data-v-0aaaf597
3969
3939
  }
3970
3940
  });
3971
3941
  return t({
3972
- clearValidationErrors: m
3973
- }), (p, U) => {
3942
+ clearValidationErrors: f
3943
+ }), (p, N) => {
3974
3944
  const V = E("KInputSwitch");
3975
- return d(), h("div", vf, [
3976
- M(V, {
3977
- id: L(u)(e.schema),
3978
- modelValue: L(c),
3979
- "onUpdate:modelValue": U[0] || (U[0] = (y) => Dt(c) ? c.value = y : null),
3945
+ return d(), h("div", bm, [
3946
+ S(V, {
3947
+ id: P(u)(e.schema),
3948
+ modelValue: P(c),
3949
+ "onUpdate:modelValue": N[0] || (N[0] = (y) => Yn(c) ? c.value = y : null),
3980
3950
  autocomplete: e.schema.autocomplete,
3981
- class: J(e.schema.fieldClasses),
3951
+ class: W(e.schema.fieldClasses),
3982
3952
  disabled: e.disabled || void 0,
3983
- label: L(c) ? e.schema.textOn || L(i)("vfg.labels.on") : e.schema.textOff || L(i)("vfg.labels.off"),
3953
+ label: P(c) ? e.schema.textOn || P(i)("vfg.labels.on") : e.schema.textOff || P(i)("vfg.labels.off"),
3984
3954
  name: e.schema.inputName
3985
3955
  }, null, 8, ["id", "modelValue", "autocomplete", "class", "disabled", "label", "name"])
3986
3956
  ]);
3987
3957
  };
3988
3958
  }
3989
- }), bf = {
3990
- mixins: [ce],
3959
+ }), wm = {
3960
+ mixins: [ue],
3991
3961
  inject: {
3992
3962
  autofillSlot: {
3993
3963
  from: he,
3994
3964
  default: void 0
3995
3965
  }
3996
3966
  }
3997
- }, _f = { class: "field-textarea" }, wf = ["id", "disabled", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows"];
3998
- function Mf(e, t, n, r, a, i) {
3999
- const l = gt("attributes");
4000
- return d(), h("div", _f, [
4001
- re(f("textarea", {
3967
+ }, Sm = { class: "field-textarea" }, Mm = ["id", "disabled", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows"];
3968
+ function Tm(e, t, n, r, a, i) {
3969
+ const l = pt("attributes");
3970
+ return d(), h("div", Sm, [
3971
+ re(m("textarea", {
4002
3972
  id: e.getFieldID(e.schema),
4003
3973
  "onUpdate:modelValue": t[0] || (t[0] = (s) => e.value = s),
4004
- class: J(["form-control", e.schema.fieldClasses]),
3974
+ class: W(["form-control", e.schema.fieldClasses]),
4005
3975
  disabled: e.disabled || null,
4006
3976
  maxlength: e.schema.max,
4007
3977
  minlength: e.schema.min,
@@ -4010,42 +3980,42 @@ function Mf(e, t, n, r, a, i) {
4010
3980
  readonly: e.schema.readonly,
4011
3981
  required: e.schema.required,
4012
3982
  rows: e.schema.rows || 2
4013
- }, null, 10, wf), [
4014
- [Ve, e.value],
3983
+ }, null, 10, Mm), [
3984
+ [Ne, e.value],
4015
3985
  [l, "input"]
4016
3986
  ]),
4017
- (d(), I(ee(i.autofillSlot), {
3987
+ (d(), A(ee(i.autofillSlot), {
4018
3988
  schema: e.schema,
4019
3989
  update: (s) => e.value = s,
4020
3990
  value: e.value
4021
3991
  }, null, 8, ["schema", "update", "value"]))
4022
3992
  ]);
4023
3993
  }
4024
- const Sf = /* @__PURE__ */ H(bf, [["render", Mf], ["__scopeId", "data-v-9a62b6b0"]]), Tf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3994
+ const Im = /* @__PURE__ */ H(wm, [["render", Tm], ["__scopeId", "data-v-9a62b6b0"]]), Am = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4025
3995
  __proto__: null,
4026
3996
  FieldAdvanced: ad,
4027
- FieldArray: Ec,
4028
- FieldArrayCardContainer: Vr,
4029
- FieldArrayItem: Nr,
3997
+ FieldArray: Fc,
3998
+ FieldArrayCardContainer: Nr,
3999
+ FieldArrayItem: Vr,
4030
4000
  FieldArrayMultiItem: Lr,
4031
4001
  FieldAutoSuggest: Pr,
4032
- FieldCheckbox: Fc,
4033
- FieldChecklist: Bc,
4002
+ FieldCheckbox: Nc,
4003
+ FieldChecklist: xc,
4034
4004
  FieldInput: qr,
4035
- FieldKeyValuePairs: Jc,
4036
- FieldLabel: Qc,
4005
+ FieldKeyValuePairs: em,
4006
+ FieldLabel: nm,
4037
4007
  FieldMetric: jr,
4038
- FieldMultiselect: nf,
4008
+ FieldMultiselect: am,
4039
4009
  FieldObject: Rr,
4040
- FieldObjectAdvanced: Dr,
4010
+ FieldObjectAdvanced: Kr,
4041
4011
  FieldRadio: Br,
4042
4012
  FieldSelect: Gr,
4043
- FieldSelectionGroup: mf,
4044
- FieldSwitch: yf,
4045
- FieldTextArea: Sf
4046
- }, Symbol.toStringTag, { value: "Module" })), If = {
4013
+ FieldSelectionGroup: pm,
4014
+ FieldSwitch: _m,
4015
+ FieldTextArea: Im
4016
+ }, Symbol.toStringTag, { value: "Module" })), Om = {
4047
4017
  name: "FormGroup",
4048
- components: Tf,
4018
+ components: Am,
4049
4019
  mixins: [_r],
4050
4020
  props: {
4051
4021
  vfg: {
@@ -4095,7 +4065,7 @@ const Sf = /* @__PURE__ */ H(bf, [["render", Mf], ["__scopeId", "data-v-9a62b6b0
4095
4065
  },
4096
4066
  getFieldID(e) {
4097
4067
  const t = B(this.options, "fieldIdPrefix", "");
4098
- return Jt(e, t);
4068
+ return Zt(e, t);
4099
4069
  },
4100
4070
  getTooltipId(e) {
4101
4071
  return `${this.getFieldID(e)}-tooltip`;
@@ -4140,25 +4110,25 @@ const Sf = /* @__PURE__ */ H(bf, [["render", Mf], ["__scopeId", "data-v-9a62b6b0
4140
4110
  return e ? e.replace(/^[cC]onfig\./, "") : "";
4141
4111
  }
4142
4112
  }
4143
- }, Af = (e) => (_e("data-v-3cb920d4"), e = e(), we(), e), Of = ["innerHTML"], Ef = { class: "icon-wrapper" }, Cf = ["innerHTML"], $f = {
4113
+ }, Cm = (e) => (_e("data-v-3cb920d4"), e = e(), we(), e), Em = ["innerHTML"], $m = { class: "icon-wrapper" }, Fm = ["innerHTML"], km = {
4144
4114
  key: 0,
4145
4115
  class: "link-wrapper"
4146
- }, Ff = /* @__PURE__ */ Af(() => /* @__PURE__ */ f("span", { class: "section-header" }, "More info", -1)), Uf = { class: "field-wrap" }, kf = {
4116
+ }, Um = /* @__PURE__ */ Cm(() => /* @__PURE__ */ m("span", { class: "section-header" }, "More info", -1)), Nm = { class: "field-wrap" }, Vm = {
4147
4117
  key: 0,
4148
4118
  class: "buttons"
4149
- }, Vf = ["type", "onClick", "textContent"], Nf = ["innerHTML"], Lf = {
4119
+ }, Lm = ["type", "onClick", "textContent"], Pm = ["innerHTML"], qm = {
4150
4120
  key: 2,
4151
4121
  class: "errors help-block"
4152
- }, Pf = ["innerHTML"];
4153
- function qf(e, t, n, r, a, i) {
4122
+ }, jm = ["innerHTML"];
4123
+ function Rm(e, t, n, r, a, i) {
4154
4124
  const l = E("KExternalLink"), s = E("KLabel");
4155
4125
  return d(), h("div", {
4156
- class: J(["form-group", e.getFieldRowClasses(n.field)])
4126
+ class: W(["form-group", e.getFieldRowClasses(n.field)])
4157
4127
  }, [
4158
- i.fieldTypeHasLabel(n.field) ? (d(), I(s, {
4128
+ i.fieldTypeHasLabel(n.field) ? (d(), A(s, {
4159
4129
  key: 0,
4160
4130
  "aria-describedby": n.field.help ? i.getTooltipId(n.field) : void 0,
4161
- class: J([n.field.labelClasses, "form-group-label"]),
4131
+ class: W([n.field.labelClasses, "form-group-label"]),
4162
4132
  for: i.getFieldID(n.field),
4163
4133
  info: !n.options.helpAsHtml && n.field.help ? n.field.help : void 0,
4164
4134
  "tooltip-attributes": n.field.help ? {
@@ -4168,17 +4138,17 @@ function qf(e, t, n, r, a, i) {
4168
4138
  } : void 0
4169
4139
  }, Gn({
4170
4140
  default: w(() => [
4171
- f("div", Ef, [
4172
- f("span", {
4141
+ m("div", $m, [
4142
+ m("span", {
4173
4143
  innerHTML: i.formattedLabel(n.field.label)
4174
- }, null, 8, Cf)
4144
+ }, null, 8, Fm)
4175
4145
  ]),
4176
- n.field.link ? (d(), h("div", $f, [
4177
- M(l, {
4146
+ n.field.link ? (d(), h("div", km, [
4147
+ S(l, {
4178
4148
  href: n.field.link
4179
4149
  }, {
4180
4150
  default: w(() => [
4181
- Ff
4151
+ Um
4182
4152
  ]),
4183
4153
  _: 1
4184
4154
  }, 8, ["href"])
@@ -4189,15 +4159,15 @@ function qf(e, t, n, r, a, i) {
4189
4159
  n.options.helpAsHtml && n.field.help ? {
4190
4160
  name: "tooltip",
4191
4161
  fn: w(() => [
4192
- f("div", {
4162
+ m("div", {
4193
4163
  innerHTML: n.field.help
4194
- }, null, 8, Of)
4164
+ }, null, 8, Em)
4195
4165
  ]),
4196
4166
  key: "0"
4197
4167
  } : void 0
4198
4168
  ]), 1032, ["aria-describedby", "class", "for", "info", "tooltip-attributes"])) : O("", !0),
4199
- f("div", Uf, [
4200
- (d(), I(ee(i.getFieldType(n.field)), Ue(e.$attrs, {
4169
+ m("div", Nm, [
4170
+ (d(), A(ee(i.getFieldType(n.field)), ke(e.$attrs, {
4201
4171
  ref: "child",
4202
4172
  disabled: e.fieldDisabled(n.field) || null,
4203
4173
  "form-options": n.options,
@@ -4208,32 +4178,32 @@ function qf(e, t, n, r, a, i) {
4208
4178
  onModelUpdated: i.onModelUpdated,
4209
4179
  onValidated: i.onFieldValidated
4210
4180
  }), null, 16, ["disabled", "form-options", "hint", "model", "schema", "vfg", "onModelUpdated", "onValidated"])),
4211
- i.buttonVisibility(n.field) ? (d(), h("div", kf, [
4212
- (d(!0), h(D, null, Z(n.field.buttons, (o, u) => (d(), h("button", {
4181
+ i.buttonVisibility(n.field) ? (d(), h("div", Vm, [
4182
+ (d(!0), h(K, null, J(n.field.buttons, (o, u) => (d(), h("button", {
4213
4183
  key: u,
4214
- class: J(o.classes),
4184
+ class: W(o.classes),
4215
4185
  type: i.getButtonType(o),
4216
4186
  onClick: (c) => i.buttonClickHandler(o, n.field, c),
4217
4187
  textContent: F(o.label)
4218
- }, null, 10, Vf))), 128))
4188
+ }, null, 10, Lm))), 128))
4219
4189
  ])) : O("", !0)
4220
4190
  ]),
4221
4191
  n.field.hint && i.getFieldType(n.field) !== "field-input" ? (d(), h("div", {
4222
4192
  key: 1,
4223
4193
  class: "hint",
4224
4194
  innerHTML: i.fieldHint(n.field)
4225
- }, null, 8, Nf)) : O("", !0),
4226
- i.fieldErrors(n.field).length > 0 ? (d(), h("div", Lf, [
4227
- (d(!0), h(D, null, Z(i.fieldErrors(n.field), (o, u) => (d(), h("span", {
4195
+ }, null, 8, Pm)) : O("", !0),
4196
+ i.fieldErrors(n.field).length > 0 ? (d(), h("div", qm, [
4197
+ (d(!0), h(K, null, J(i.fieldErrors(n.field), (o, u) => (d(), h("span", {
4228
4198
  key: u,
4229
4199
  innerHTML: o
4230
- }, null, 8, Pf))), 128))
4200
+ }, null, 8, jm))), 128))
4231
4201
  ])) : O("", !0)
4232
4202
  ], 2);
4233
4203
  }
4234
- const jf = /* @__PURE__ */ H(If, [["render", qf], ["__scopeId", "data-v-3cb920d4"]]), Rf = {
4204
+ const Dm = /* @__PURE__ */ H(Om, [["render", Rm], ["__scopeId", "data-v-3cb920d4"]]), Km = {
4235
4205
  name: "FormGenerator",
4236
- components: { formGroup: jf },
4206
+ components: { formGroup: Dm },
4237
4207
  mixins: [_r],
4238
4208
  inject: {
4239
4209
  // Inject AUTOFILL_SLOT for provide()
@@ -4381,19 +4351,19 @@ const jf = /* @__PURE__ */ H(If, [["render", qf], ["__scopeId", "data-v-3cb920d4
4381
4351
  });
4382
4352
  }
4383
4353
  }
4384
- }, Kf = {
4354
+ }, Bm = {
4385
4355
  key: 0,
4386
4356
  class: "vue-form-generator"
4387
- }, Df = { key: 0 };
4388
- function Bf(e, t, n, r, a, i) {
4357
+ }, zm = { key: 0 };
4358
+ function Hm(e, t, n, r, a, i) {
4389
4359
  const l = E("form-group"), s = E("KCollapse");
4390
- return n.schema != null ? (d(), h("div", Kf, [
4391
- n.schema.fields ? (d(), I(ee(n.tag), { key: 0 }, {
4360
+ return n.schema != null ? (d(), h("div", Bm, [
4361
+ n.schema.fields ? (d(), A(ee(n.tag), { key: 0 }, {
4392
4362
  default: w(() => [
4393
- (d(!0), h(D, null, Z(i.fields, (o) => (d(), h(D, {
4363
+ (d(!0), h(K, null, J(i.fields, (o) => (d(), h(K, {
4394
4364
  key: o.model
4395
4365
  }, [
4396
- i.fieldVisible(o) ? (d(), I(l, {
4366
+ i.fieldVisible(o) ? (d(), A(l, {
4397
4367
  key: 0,
4398
4368
  ref_for: !0,
4399
4369
  ref: "children",
@@ -4409,28 +4379,28 @@ function Bf(e, t, n, r, a, i) {
4409
4379
  ]),
4410
4380
  _: 1
4411
4381
  })) : O("", !0),
4412
- (d(!0), h(D, null, Z(i.groups, (o, u) => (d(), h(D, {
4382
+ (d(!0), h(K, null, J(i.groups, (o, u) => (d(), h(K, {
4413
4383
  key: `group-${u}`
4414
4384
  }, [
4415
- o.collapsible !== void 0 && o.collapsible !== !1 ? (d(), I(s, {
4385
+ o.collapsible !== void 0 && o.collapsible !== !1 ? (d(), A(s, {
4416
4386
  key: 0,
4417
4387
  class: "root-level-collapse",
4418
4388
  "model-value": !1,
4419
4389
  title: o.collapsible.title
4420
4390
  }, Gn({
4421
4391
  default: w(() => {
4422
- var c, m, p, U;
4392
+ var c, f, p, N;
4423
4393
  return [
4424
- (c = o.slots) != null && c.beforeContent ? Ee(e.$slots, (m = o.slots) == null ? void 0 : m.beforeContent, { key: 0 }) : O("", !0),
4425
- o.fields.length === 0 && ((p = o.slots) != null && p.emptyState) ? Ee(e.$slots, (U = o.slots) == null ? void 0 : U.emptyState, { key: 1 }) : (d(), I(ee(n.tag), {
4394
+ (c = o.slots) != null && c.beforeContent ? Ce(e.$slots, (f = o.slots) == null ? void 0 : f.beforeContent, { key: 0 }) : O("", !0),
4395
+ o.fields.length === 0 && ((p = o.slots) != null && p.emptyState) ? Ce(e.$slots, (N = o.slots) == null ? void 0 : N.emptyState, { key: 1 }) : (d(), A(ee(n.tag), {
4426
4396
  key: 2,
4427
- class: J(e.getFieldRowClasses(o))
4397
+ class: W(e.getFieldRowClasses(o))
4428
4398
  }, {
4429
4399
  default: w(() => [
4430
- (d(!0), h(D, null, Z(o.fields, (V) => (d(), h(D, {
4400
+ (d(!0), h(K, null, J(o.fields, (V) => (d(), h(K, {
4431
4401
  key: V.model
4432
4402
  }, [
4433
- i.fieldVisible(V) ? (d(), I(l, {
4403
+ i.fieldVisible(V) ? (d(), A(l, {
4434
4404
  key: 0,
4435
4405
  ref_for: !0,
4436
4406
  ref: "children",
@@ -4446,7 +4416,7 @@ function Bf(e, t, n, r, a, i) {
4446
4416
  ]),
4447
4417
  _: 2
4448
4418
  }, 1032, ["class"])),
4449
- o.collapsible !== !0 && o.collapsible.nestedCollapsible && o.collapsible.nestedCollapsible.fields.length > 0 ? (d(), I(s, {
4419
+ o.collapsible !== !0 && o.collapsible.nestedCollapsible && o.collapsible.nestedCollapsible.fields.length > 0 ? (d(), A(s, {
4450
4420
  key: 3,
4451
4421
  class: "nested-collapse",
4452
4422
  "model-value": a.collapseStates[`group-${u}-nested`] ?? !0,
@@ -4455,14 +4425,14 @@ function Bf(e, t, n, r, a, i) {
4455
4425
  "onUpdate:modelValue": (V) => a.collapseStates[`group-${u}-nested`] = V
4456
4426
  }, {
4457
4427
  default: w(() => [
4458
- (d(), I(ee(n.tag), {
4459
- class: J(e.getFieldRowClasses(o))
4428
+ (d(), A(ee(n.tag), {
4429
+ class: W(e.getFieldRowClasses(o))
4460
4430
  }, {
4461
4431
  default: w(() => [
4462
- (d(!0), h(D, null, Z(o.collapsible.nestedCollapsible.fields, (V) => (d(), h(D, {
4432
+ (d(!0), h(K, null, J(o.collapsible.nestedCollapsible.fields, (V) => (d(), h(K, {
4463
4433
  key: V.model
4464
4434
  }, [
4465
- i.fieldVisible(V) ? (d(), I(l, {
4435
+ i.fieldVisible(V) ? (d(), A(l, {
4466
4436
  key: 0,
4467
4437
  ref_for: !0,
4468
4438
  ref: "children",
@@ -4488,20 +4458,20 @@ function Bf(e, t, n, r, a, i) {
4488
4458
  o.collapsible.description ? {
4489
4459
  name: "visible-content",
4490
4460
  fn: w(() => [
4491
- ne(F(o.collapsible.description), 1)
4461
+ te(F(o.collapsible.description), 1)
4492
4462
  ]),
4493
4463
  key: "0"
4494
4464
  } : void 0
4495
- ]), 1032, ["title"])) : (d(), I(ee(n.tag), {
4465
+ ]), 1032, ["title"])) : (d(), A(ee(n.tag), {
4496
4466
  key: 1,
4497
- class: J(e.getFieldRowClasses(o))
4467
+ class: W(e.getFieldRowClasses(o))
4498
4468
  }, {
4499
4469
  default: w(() => [
4500
- o.legend ? (d(), h("legend", Df, F(o.legend), 1)) : O("", !0),
4501
- (d(!0), h(D, null, Z(o.fields, (c) => (d(), h(D, {
4470
+ o.legend ? (d(), h("legend", zm, F(o.legend), 1)) : O("", !0),
4471
+ (d(!0), h(K, null, J(o.fields, (c) => (d(), h(K, {
4502
4472
  key: c.model
4503
4473
  }, [
4504
- i.fieldVisible(c) ? (d(), I(l, {
4474
+ i.fieldVisible(c) ? (d(), A(l, {
4505
4475
  key: 0,
4506
4476
  ref_for: !0,
4507
4477
  ref: "children",
@@ -4520,11 +4490,11 @@ function Bf(e, t, n, r, a, i) {
4520
4490
  ], 64))), 128))
4521
4491
  ])) : O("", !0);
4522
4492
  }
4523
- const de = /* @__PURE__ */ H(Rf, [["render", Bf]]), zn = /* @__PURE__ */ new Set([
4493
+ const le = /* @__PURE__ */ H(Km, [["render", Hm]]), Bn = /* @__PURE__ */ new Set([
4524
4494
  "config-client_id",
4525
4495
  "config-client_secret",
4526
4496
  "config-issuer"
4527
- ]), Hn = /* @__PURE__ */ new Set([
4497
+ ]), zn = /* @__PURE__ */ new Set([
4528
4498
  "config-scopes_claim",
4529
4499
  "config-scopes_required",
4530
4500
  "config-audience_claim",
@@ -4534,9 +4504,9 @@ const de = /* @__PURE__ */ H(Rf, [["render", Bf]]), zn = /* @__PURE__ */ new Set
4534
4504
  "config-groups_claim",
4535
4505
  "config-groups_required",
4536
4506
  "config-authenticated_groups_claim"
4537
- ]), zf = {
4507
+ ]), xm = {
4538
4508
  name: "OIDCForm",
4539
- components: { VueFormGenerator: de },
4509
+ components: { VueFormGenerator: le },
4540
4510
  provide() {
4541
4511
  var e;
4542
4512
  return {
@@ -4618,12 +4588,12 @@ const de = /* @__PURE__ */ H(Rf, [["render", Bf]]), zn = /* @__PURE__ */ new Set
4618
4588
  };
4619
4589
  const t = this.formSchema.fields.reduce((n, r) => (n[r.model] = r, n), {});
4620
4590
  this.commonFieldsSchema = {
4621
- fields: Array.from(zn).reduce((n, r) => (t[r] && n.push(t[r]), n), [])
4591
+ fields: Array.from(Bn).reduce((n, r) => (t[r] && n.push(t[r]), n), [])
4622
4592
  }, this.authFieldsSchema = {
4623
- fields: Array.from(Hn).reduce((n, r) => (t[r] && n.push(t[r]), n), [])
4593
+ fields: Array.from(zn).reduce((n, r) => (t[r] && n.push(t[r]), n), [])
4624
4594
  }, this.advancedFieldsSchema = {
4625
4595
  fields: this.formSchema.fields.filter(
4626
- (n) => n.model.startsWith("config") && n.model !== "config-auth_methods" && !zn.has(n.model) && !Hn.has(n.model) || n.model === "tags"
4596
+ (n) => n.model.startsWith("config") && n.model !== "config-auth_methods" && !Bn.has(n.model) && !zn.has(n.model) || n.model === "tags"
4627
4597
  ).reduce((n, r) => {
4628
4598
  var a, i, l, s;
4629
4599
  switch (r.model) {
@@ -4719,11 +4689,11 @@ const de = /* @__PURE__ */ H(Rf, [["render", Bf]]), zn = /* @__PURE__ */ new Set
4719
4689
  this.formModel["config-auth_methods"] = this.getAuthMethodsValue(t, e), this.onModelUpdated();
4720
4690
  }
4721
4691
  }
4722
- }, We = (e) => (_e("data-v-bb72c68e"), e = e(), we(), e), Hf = { class: "general-settings" }, xf = { class: "link-wrapper" }, Yf = /* @__PURE__ */ We(() => /* @__PURE__ */ f("span", { class: "section-header" }, "Common Configuration Settings", -1)), Gf = /* @__PURE__ */ We(() => /* @__PURE__ */ f("div", { class: "description" }, " Parameters for enabling the OpenID Connect plugin. Set these parameters before adding authorization, authentication, or other advanced configuration details. ", -1)), Wf = { class: "auth-method-container" }, Zf = { class: "general-settings" }, Jf = { class: "link-wrapper" }, Xf = /* @__PURE__ */ We(() => /* @__PURE__ */ f("span", { class: "section-header" }, "Authorization Configuration Settings", -1)), Qf = /* @__PURE__ */ We(() => /* @__PURE__ */ f("div", { class: "description" }, " Parameters for setting up claims-based authorization. ", -1)), em = { class: "general-settings" }, tm = { class: "link-wrapper" }, nm = /* @__PURE__ */ We(() => /* @__PURE__ */ f("span", { class: "section-header" }, "Advanced Configuration Settings", -1)), rm = /* @__PURE__ */ We(() => /* @__PURE__ */ f("div", { class: "description" }, " Advanced parameters for manually configuring the OpenID Connect plugin. ", -1));
4723
- function im(e, t, n, r, a, i) {
4724
- const l = E("VueFormGenerator"), s = E("KExternalLink"), o = E("KLabel"), u = E("KCheckbox"), c = E("KInputSwitch"), m = E("KTabs");
4692
+ }, We = (e) => (_e("data-v-bb72c68e"), e = e(), we(), e), Ym = { class: "general-settings" }, Gm = { class: "link-wrapper" }, Wm = /* @__PURE__ */ We(() => /* @__PURE__ */ m("span", { class: "section-header" }, "Common Configuration Settings", -1)), Zm = /* @__PURE__ */ We(() => /* @__PURE__ */ m("div", { class: "description" }, " Parameters for enabling the OpenID Connect plugin. Set these parameters before adding authorization, authentication, or other advanced configuration details. ", -1)), Jm = { class: "auth-method-container" }, Xm = { class: "general-settings" }, Qm = { class: "link-wrapper" }, ef = /* @__PURE__ */ We(() => /* @__PURE__ */ m("span", { class: "section-header" }, "Authorization Configuration Settings", -1)), tf = /* @__PURE__ */ We(() => /* @__PURE__ */ m("div", { class: "description" }, " Parameters for setting up claims-based authorization. ", -1)), nf = { class: "general-settings" }, rf = { class: "link-wrapper" }, af = /* @__PURE__ */ We(() => /* @__PURE__ */ m("span", { class: "section-header" }, "Advanced Configuration Settings", -1)), sf = /* @__PURE__ */ We(() => /* @__PURE__ */ m("div", { class: "description" }, " Advanced parameters for manually configuring the OpenID Connect plugin. ", -1));
4693
+ function of(e, t, n, r, a, i) {
4694
+ const l = E("VueFormGenerator"), s = E("KExternalLink"), o = E("KLabel"), u = E("KCheckbox"), c = E("KInputSwitch"), f = E("KTabs");
4725
4695
  return d(), h("div", null, [
4726
- n.formModel.id && n.isEditing || !n.isEditing ? (d(), I(l, {
4696
+ n.formModel.id && n.isEditing || !n.isEditing ? (d(), A(l, {
4727
4697
  key: 0,
4728
4698
  class: "global-fields",
4729
4699
  model: n.formModel,
@@ -4731,49 +4701,49 @@ function im(e, t, n, r, a, i) {
4731
4701
  schema: a.globalFields,
4732
4702
  onModelUpdated: n.onModelUpdated
4733
4703
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : O("", !0),
4734
- M(m, { tabs: a.tabs }, {
4704
+ S(f, { tabs: a.tabs }, {
4735
4705
  common: w(() => [
4736
- f("div", Hf, [
4737
- f("div", xf, [
4738
- M(s, { href: "https://docs.konghq.com/hub/kong-inc/openid-connect/#important-configuration-parameters" }, {
4706
+ m("div", Ym, [
4707
+ m("div", Gm, [
4708
+ S(s, { href: "https://docs.konghq.com/hub/kong-inc/openid-connect/#important-configuration-parameters" }, {
4739
4709
  default: w(() => [
4740
- Yf
4710
+ Wm
4741
4711
  ]),
4742
4712
  _: 1
4743
4713
  })
4744
4714
  ]),
4745
- Gf,
4746
- i.displayForm ? (d(), I(l, {
4715
+ Zm,
4716
+ i.displayForm ? (d(), A(l, {
4747
4717
  key: 0,
4748
4718
  model: n.formModel,
4749
4719
  options: n.formOptions,
4750
4720
  schema: a.commonFieldsSchema,
4751
4721
  onModelUpdated: n.onModelUpdated
4752
4722
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : O("", !0),
4753
- M(o, null, {
4723
+ S(o, null, {
4754
4724
  default: w(() => [
4755
- ne("Auth Methods")
4725
+ te("Auth Methods")
4756
4726
  ]),
4757
4727
  _: 1
4758
4728
  }),
4759
- f("div", Wf, [
4760
- (d(!0), h(D, null, Z(a.authMethods, (p) => (d(), h("div", {
4729
+ m("div", Jm, [
4730
+ (d(!0), h(K, null, J(a.authMethods, (p) => (d(), h("div", {
4761
4731
  key: p.value,
4762
4732
  class: "auth-method"
4763
4733
  }, [
4764
- M(u, {
4734
+ S(u, {
4765
4735
  modelValue: p.prop,
4766
- "onUpdate:modelValue": (U) => p.prop = U,
4767
- onChange: (U) => i.handleUpdate(U, p.value)
4736
+ "onUpdate:modelValue": (N) => p.prop = N,
4737
+ onChange: (N) => i.handleUpdate(N, p.value)
4768
4738
  }, {
4769
4739
  default: w(() => [
4770
- ne(F(p.label), 1)
4740
+ te(F(p.label), 1)
4771
4741
  ]),
4772
4742
  _: 2
4773
4743
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
4774
4744
  ]))), 128))
4775
4745
  ]),
4776
- M(c, {
4746
+ S(c, {
4777
4747
  modelValue: a.sessionManagement,
4778
4748
  "onUpdate:modelValue": t[0] || (t[0] = (p) => a.sessionManagement = p),
4779
4749
  label: "Enable Session Management",
@@ -4782,17 +4752,17 @@ function im(e, t, n, r, a, i) {
4782
4752
  ])
4783
4753
  ]),
4784
4754
  authorization: w(() => [
4785
- f("div", Zf, [
4786
- f("div", Jf, [
4787
- M(s, { href: "https://docs.konghq.com/hub/kong-inc/openid-connect/#authorization" }, {
4755
+ m("div", Xm, [
4756
+ m("div", Qm, [
4757
+ S(s, { href: "https://docs.konghq.com/hub/kong-inc/openid-connect/#authorization" }, {
4788
4758
  default: w(() => [
4789
- Xf
4759
+ ef
4790
4760
  ]),
4791
4761
  _: 1
4792
4762
  })
4793
4763
  ]),
4794
- Qf,
4795
- i.displayForm ? (d(), I(l, {
4764
+ tf,
4765
+ i.displayForm ? (d(), A(l, {
4796
4766
  key: 0,
4797
4767
  model: n.formModel,
4798
4768
  options: n.formOptions,
@@ -4800,24 +4770,24 @@ function im(e, t, n, r, a, i) {
4800
4770
  onModelUpdated: n.onModelUpdated
4801
4771
  }, {
4802
4772
  "autofill-provider": w((p) => [
4803
- Ee(e.$slots, "autofill-provider", ai(si(p)), void 0, !0)
4773
+ Ce(e.$slots, "autofill-provider", ai(si(p)), void 0, !0)
4804
4774
  ]),
4805
4775
  _: 3
4806
4776
  }, 8, ["model", "options", "schema", "onModelUpdated"])) : O("", !0)
4807
4777
  ])
4808
4778
  ]),
4809
4779
  advanced: w(() => [
4810
- f("div", em, [
4811
- f("div", tm, [
4812
- M(s, { href: "https://docs.konghq.com/hub/kong-inc/openid-connect/" }, {
4780
+ m("div", nf, [
4781
+ m("div", rf, [
4782
+ S(s, { href: "https://docs.konghq.com/hub/kong-inc/openid-connect/" }, {
4813
4783
  default: w(() => [
4814
- nm
4784
+ af
4815
4785
  ]),
4816
4786
  _: 1
4817
4787
  })
4818
4788
  ]),
4819
- rm,
4820
- i.displayForm ? (d(), I(l, {
4789
+ sf,
4790
+ i.displayForm ? (d(), A(l, {
4821
4791
  key: 0,
4822
4792
  model: n.formModel,
4823
4793
  options: n.formOptions,
@@ -4830,7 +4800,7 @@ function im(e, t, n, r, a, i) {
4830
4800
  }, 8, ["tabs"])
4831
4801
  ]);
4832
4802
  }
4833
- const am = /* @__PURE__ */ H(zf, [["render", im], ["__scopeId", "data-v-bb72c68e"]]), sm = /* @__PURE__ */ oe({
4803
+ const lf = /* @__PURE__ */ H(xm, [["render", of], ["__scopeId", "data-v-bb72c68e"]]), df = /* @__PURE__ */ de({
4834
4804
  __name: "PostFunction",
4835
4805
  props: {
4836
4806
  formModel: {
@@ -4857,15 +4827,15 @@ const am = /* @__PURE__ */ H(zf, [["render", im], ["__scopeId", "data-v-bb72c68e
4857
4827
  },
4858
4828
  setup(e) {
4859
4829
  var l;
4860
- vt(he, (l = yt()) == null ? void 0 : l[Ge]);
4861
- const { t, te: n } = bt("en-us", Ot), r = e, a = j(() => r.formModel.id && r.isEditing || !r.isEditing), i = j(() => {
4830
+ gt(he, (l = vt()) == null ? void 0 : l[Ge]);
4831
+ const { t, te: n } = yt("en-us", Ot), r = e, a = j(() => r.formModel.id && r.isEditing || !r.isEditing), i = j(() => {
4862
4832
  const s = r.formSchema;
4863
4833
  return s.fields.map((o) => {
4864
4834
  const u = `post-function.${o.model}`;
4865
4835
  return o.hint = n(`${u}.hint`) && t(`${u}.hint`) || o.hint, o.help = n(`${u}.help`) && t(`${u}.help`) || o.help, o.newElementButtonLabel = n(`${u}.newElementButtonLabel`) && t(`${u}.newElementButtonLabel`) || o.newElementButtonLabel, o.model !== "tags" && (o.valueType === "array" || o.type === "array") && (o.type = "array", o.valueArrayType = "array", o.itemContainerComponent = "FieldArrayItem", o.fieldClasses = "post-function-array-item-container", o.fieldItemsClasses = "post-function-array-item", o.inputAttributes = { ...o.inputAttributes, type: "textarea" }), o;
4866
4836
  }), s;
4867
4837
  });
4868
- return (s, o) => a.value ? (d(), I(de, {
4838
+ return (s, o) => a.value ? (d(), A(le, {
4869
4839
  key: 0,
4870
4840
  model: e.formModel,
4871
4841
  options: e.formOptions,
@@ -4873,7 +4843,7 @@ const am = /* @__PURE__ */ H(zf, [["render", im], ["__scopeId", "data-v-bb72c68e
4873
4843
  onModelUpdated: e.onModelUpdated
4874
4844
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : O("", !0);
4875
4845
  }
4876
- }), om = /* @__PURE__ */ H(sm, [["__scopeId", "data-v-f54f37ae"]]), lm = /* @__PURE__ */ oe({
4846
+ }), uf = /* @__PURE__ */ H(df, [["__scopeId", "data-v-f54f37ae"]]), cf = /* @__PURE__ */ de({
4877
4847
  __name: "ExitTransformer",
4878
4848
  props: {
4879
4849
  formModel: {
@@ -4900,15 +4870,15 @@ const am = /* @__PURE__ */ H(zf, [["render", im], ["__scopeId", "data-v-bb72c68e
4900
4870
  },
4901
4871
  setup(e) {
4902
4872
  var l;
4903
- vt(he, (l = yt()) == null ? void 0 : l[Ge]);
4904
- const { t, te: n } = bt("en-us", Ot), r = e, a = j(() => r.formModel.id && r.isEditing || !r.isEditing), i = j(() => {
4873
+ gt(he, (l = vt()) == null ? void 0 : l[Ge]);
4874
+ const { t, te: n } = yt("en-us", Ot), r = e, a = j(() => r.formModel.id && r.isEditing || !r.isEditing), i = j(() => {
4905
4875
  const s = r.formSchema;
4906
4876
  return s.fields.map((o) => {
4907
4877
  const u = `exit-transformer.${o.model}`;
4908
4878
  return o.hint = n(`${u}.hint`) && t(`${u}.hint`) || o.hint, o.help = n(`${u}.help`) && t(`${u}.help`) || o.help, o.newElementButtonLabel = n(`${u}.newElementButtonLabel`) && t(`${u}.newElementButtonLabel`) || o.newElementButtonLabel, o.model !== "tags" && (o.valueType === "array" || o.type === "array") && (o.type = "array", o.valueArrayType = "array", o.itemContainerComponent = "FieldArrayItem", o.fieldClasses = "exit-transformer-array-item-container", o.fieldItemsClasses = "exit-transformer-array-item", o.inputAttributes = { ...o.inputAttributes, type: "textarea" }), o;
4909
4879
  }), s;
4910
4880
  });
4911
- return (s, o) => a.value ? (d(), I(de, {
4881
+ return (s, o) => a.value ? (d(), A(le, {
4912
4882
  key: 0,
4913
4883
  model: e.formModel,
4914
4884
  options: e.formOptions,
@@ -4916,7 +4886,7 @@ const am = /* @__PURE__ */ H(zf, [["render", im], ["__scopeId", "data-v-bb72c68e
4916
4886
  onModelUpdated: e.onModelUpdated
4917
4887
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : O("", !0);
4918
4888
  }
4919
- }), dm = /* @__PURE__ */ H(lm, [["__scopeId", "data-v-0d5c541f"]]), um = {
4889
+ }), mf = /* @__PURE__ */ H(cf, [["__scopeId", "data-v-0d5c541f"]]), ff = {
4920
4890
  fields: [
4921
4891
  {
4922
4892
  inputType: "text",
@@ -4951,7 +4921,7 @@ const am = /* @__PURE__ */ H(zf, [["render", im], ["__scopeId", "data-v-bb72c68e
4951
4921
  disabled: !1
4952
4922
  }
4953
4923
  ]
4954
- }, cm = {
4924
+ }, hf = {
4955
4925
  fields: [
4956
4926
  {
4957
4927
  type: "input",
@@ -4973,7 +4943,7 @@ const am = /* @__PURE__ */ H(zf, [["render", im], ["__scopeId", "data-v-bb72c68e
4973
4943
  disabled: !1
4974
4944
  }
4975
4945
  ]
4976
- }, fm = {
4946
+ }, pf = {
4977
4947
  fields: [
4978
4948
  {
4979
4949
  type: "input",
@@ -5004,13 +4974,13 @@ const am = /* @__PURE__ */ H(zf, [["render", im], ["__scopeId", "data-v-bb72c68e
5004
4974
  disabled: !1
5005
4975
  }
5006
4976
  ]
5007
- }, Ke = (e) => (_e("data-v-bb5a3a33"), e = e(), we(), e), mm = { class: "general-settings" }, hm = /* @__PURE__ */ Ke(() => /* @__PURE__ */ f("div", { class: "header-wrapper" }, [
5008
- /* @__PURE__ */ f("span", { class: "section-header" }, "General Configuration Settings")
5009
- ], -1)), pm = /* @__PURE__ */ Ke(() => /* @__PURE__ */ f("div", { class: "description" }, " Parameters for enabling the ACME plugin. ", -1)), gm = /* @__PURE__ */ Ke(() => /* @__PURE__ */ f("hr", null, null, -1)), vm = { class: "sub-form" }, ym = { class: "general-settings" }, bm = /* @__PURE__ */ Ke(() => /* @__PURE__ */ f("div", { class: "header-wrapper" }, [
5010
- /* @__PURE__ */ f("span", { class: "section-header" }, "Storage Configuration Settings")
5011
- ], -1)), _m = /* @__PURE__ */ Ke(() => /* @__PURE__ */ f("div", { class: "description" }, " Parameters for setting up storage. ", -1)), wm = { class: "sub-form" }, Mm = { class: "general-settings" }, Sm = /* @__PURE__ */ Ke(() => /* @__PURE__ */ f("div", { class: "header-wrapper" }, [
5012
- /* @__PURE__ */ f("span", { class: "section-header" }, "Advanced Configuration Settings")
5013
- ], -1)), Tm = /* @__PURE__ */ Ke(() => /* @__PURE__ */ f("div", { class: "description" }, " Advanced parameters for manually configuring the ACME plugin. ", -1)), Im = /* @__PURE__ */ oe({
4977
+ }, De = (e) => (_e("data-v-bb5a3a33"), e = e(), we(), e), gf = { class: "general-settings" }, vf = /* @__PURE__ */ De(() => /* @__PURE__ */ m("div", { class: "header-wrapper" }, [
4978
+ /* @__PURE__ */ m("span", { class: "section-header" }, "General Configuration Settings")
4979
+ ], -1)), yf = /* @__PURE__ */ De(() => /* @__PURE__ */ m("div", { class: "description" }, " Parameters for enabling the ACME plugin. ", -1)), bf = /* @__PURE__ */ De(() => /* @__PURE__ */ m("hr", null, null, -1)), _f = { class: "sub-form" }, wf = { class: "general-settings" }, Sf = /* @__PURE__ */ De(() => /* @__PURE__ */ m("div", { class: "header-wrapper" }, [
4980
+ /* @__PURE__ */ m("span", { class: "section-header" }, "Storage Configuration Settings")
4981
+ ], -1)), Mf = /* @__PURE__ */ De(() => /* @__PURE__ */ m("div", { class: "description" }, " Parameters for setting up storage. ", -1)), Tf = { class: "sub-form" }, If = { class: "general-settings" }, Af = /* @__PURE__ */ De(() => /* @__PURE__ */ m("div", { class: "header-wrapper" }, [
4982
+ /* @__PURE__ */ m("span", { class: "section-header" }, "Advanced Configuration Settings")
4983
+ ], -1)), Of = /* @__PURE__ */ De(() => /* @__PURE__ */ m("div", { class: "description" }, " Advanced parameters for manually configuring the ACME plugin. ", -1)), Cf = /* @__PURE__ */ de({
5014
4984
  __name: "ACMEForm",
5015
4985
  props: {
5016
4986
  formModel: {
@@ -5037,57 +5007,57 @@ const am = /* @__PURE__ */ H(zf, [["render", im], ["__scopeId", "data-v-bb72c68e
5037
5007
  },
5038
5008
  setup(e) {
5039
5009
  var q;
5040
- vt(he, (q = yt()) == null ? void 0 : q[Ge]);
5010
+ gt(he, (q = vt()) == null ? void 0 : q[Ge]);
5041
5011
  const t = e, n = ve("zeroSsl"), r = ve("shm"), a = j(() => {
5042
5012
  var _;
5043
5013
  const g = {};
5044
5014
  if ((_ = t.formSchema) != null && _.fields)
5045
- for (const N of t.formSchema.fields)
5046
- g[N.model] = N;
5015
+ for (const U of t.formSchema.fields)
5016
+ g[U.model] = U;
5047
5017
  return g;
5048
5018
  }), i = j(() => {
5049
5019
  var _;
5050
- const g = Me(um);
5051
- for (const N of g.fields) {
5052
- const R = (_ = a.value[N.model]) == null ? void 0 : _.help;
5053
- N.help === void 0 && typeof R == "string" && (N.help = R);
5020
+ const g = Se(ff);
5021
+ for (const U of g.fields) {
5022
+ const R = (_ = a.value[U.model]) == null ? void 0 : _.help;
5023
+ U.help === void 0 && typeof R == "string" && (U.help = R);
5054
5024
  }
5055
5025
  return g;
5056
5026
  }), l = j(() => {
5057
5027
  var _;
5058
- const g = Me(cm);
5059
- for (const N of g.fields) {
5060
- const R = (_ = a.value[N.model]) == null ? void 0 : _.help;
5061
- N.help === void 0 && typeof R == "string" && (N.help = R);
5028
+ const g = Se(hf);
5029
+ for (const U of g.fields) {
5030
+ const R = (_ = a.value[U.model]) == null ? void 0 : _.help;
5031
+ U.help === void 0 && typeof R == "string" && (U.help = R);
5062
5032
  }
5063
5033
  return g;
5064
5034
  }), s = j(() => {
5065
5035
  var _;
5066
- const g = Me(fm);
5067
- for (const N of g.fields) {
5068
- const R = (_ = a.value[N.model]) == null ? void 0 : _.help;
5069
- N.help === void 0 && typeof R == "string" && (N.help = R);
5036
+ const g = Se(pf);
5037
+ for (const U of g.fields) {
5038
+ const R = (_ = a.value[U.model]) == null ? void 0 : _.help;
5039
+ U.help === void 0 && typeof R == "string" && (U.help = R);
5070
5040
  }
5071
5041
  return g;
5072
5042
  }), o = j(() => ({
5073
5043
  fields: t.formSchema.fields.filter((g) => !g.model.startsWith("config") && g.model !== "tags")
5074
5044
  })), u = j(() => ({
5075
5045
  fields: i.value.fields.filter(
5076
- (_) => !l.value.fields.some((N) => N.model === _.model) && !s.value.fields.some((N) => N.model === _.model)
5046
+ (_) => !l.value.fields.some((U) => U.model === _.model) && !s.value.fields.some((U) => U.model === _.model)
5077
5047
  )
5078
5048
  })), c = j(() => ({
5079
5049
  fields: t.formSchema.fields.filter((_) => _.model.startsWith("config-storage") && !_.model.startsWith("config-storage_config-consul") && !_.model.startsWith("config-storage_config-redis") && !_.model.startsWith("config-storage_config-shm") && !_.model.startsWith("config-storage_config-vault"))
5080
- })), m = j(() => ({
5050
+ })), f = j(() => ({
5081
5051
  fields: t.formSchema.fields.filter((_) => _.model.startsWith("config-storage_config-consul"))
5082
5052
  })), p = j(() => ({
5083
5053
  fields: t.formSchema.fields.filter((_) => _.model.startsWith("config-storage_config-redis"))
5084
- })), U = j(() => ({
5054
+ })), N = j(() => ({
5085
5055
  fields: t.formSchema.fields.filter((_) => _.model.startsWith("config-storage_config-shm"))
5086
5056
  })), V = j(() => ({
5087
5057
  fields: t.formSchema.fields.filter((_) => _.model.startsWith("config-storage_config-vault"))
5088
5058
  })), y = j(() => ({
5089
5059
  fields: t.formSchema.fields.filter((g) => g.model.startsWith("config") && !u.value.fields.filter((_) => _.model === g.model).length && !c.value.fields.filter((_) => _.model === g.model).length || g.model === "tags")
5090
- })), A = j(() => t.formModel.id && t.isEditing || !t.isEditing), T = [
5060
+ })), I = j(() => t.formModel.id && t.isEditing || !t.isEditing), T = [
5091
5061
  {
5092
5062
  hash: "#general",
5093
5063
  title: "General"
@@ -5100,7 +5070,7 @@ const am = /* @__PURE__ */ H(zf, [["render", im], ["__scopeId", "data-v-bb72c68e
5100
5070
  hash: "#advanced",
5101
5071
  title: "Advanced"
5102
5072
  }
5103
- ], P = [
5073
+ ], L = [
5104
5074
  {
5105
5075
  label: "Lets Encrypt",
5106
5076
  value: "letsEncrypt"
@@ -5115,18 +5085,18 @@ const am = /* @__PURE__ */ H(zf, [["render", im], ["__scopeId", "data-v-bb72c68e
5115
5085
  value: "other"
5116
5086
  }
5117
5087
  ];
5118
- xn(() => {
5088
+ Hn(() => {
5119
5089
  n.value === "zeroSsl" && (t.formModel["config-api_uri"] = "https://acme.zerossl.com/v2/DV90");
5120
5090
  });
5121
- const S = (g) => {
5091
+ const M = (g) => {
5122
5092
  n.value = g.value, (g.value === "zeroSsl" || g.value === "other") && (g.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), g.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();
5123
5093
  }, k = (g, _) => {
5124
5094
  _ === "config-storage" && (r.value = g), t.onModelUpdated();
5125
5095
  };
5126
5096
  return (g, _) => {
5127
- const N = E("KSelect"), R = E("KTabs");
5097
+ const U = E("KSelect"), R = E("KTabs");
5128
5098
  return d(), h("div", null, [
5129
- e.formModel.id && e.isEditing || !e.isEditing ? (d(), I(de, {
5099
+ e.formModel.id && e.isEditing || !e.isEditing ? (d(), A(le, {
5130
5100
  key: 0,
5131
5101
  class: "global-fields",
5132
5102
  model: e.formModel,
@@ -5134,34 +5104,34 @@ const am = /* @__PURE__ */ H(zf, [["render", im], ["__scopeId", "data-v-bb72c68e
5134
5104
  schema: o.value,
5135
5105
  onModelUpdated: e.onModelUpdated
5136
5106
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : O("", !0),
5137
- M(R, { tabs: T }, {
5107
+ S(R, { tabs: T }, {
5138
5108
  general: w(() => [
5139
- f("div", mm, [
5140
- hm,
5141
- pm,
5142
- A.value ? (d(), I(de, {
5109
+ m("div", gf, [
5110
+ vf,
5111
+ yf,
5112
+ I.value ? (d(), A(le, {
5143
5113
  key: 0,
5144
5114
  model: e.formModel,
5145
5115
  options: e.formOptions,
5146
5116
  schema: u.value,
5147
5117
  onModelUpdated: e.onModelUpdated
5148
5118
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : O("", !0),
5149
- gm,
5150
- M(N, {
5119
+ bf,
5120
+ S(U, {
5151
5121
  class: "issuer-select",
5152
- items: P,
5122
+ items: L,
5153
5123
  label: "Issuer",
5154
- onChange: S
5124
+ onChange: M
5155
5125
  }),
5156
- f("div", vm, [
5157
- n.value === "letsEncrypt" ? (d(), I(de, {
5126
+ m("div", _f, [
5127
+ n.value === "letsEncrypt" ? (d(), A(le, {
5158
5128
  key: 0,
5159
5129
  model: e.formModel,
5160
5130
  options: e.formOptions,
5161
5131
  schema: l.value,
5162
5132
  onModelUpdated: e.onModelUpdated
5163
5133
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : O("", !0),
5164
- n.value === "zeroSsl" || n.value === "other" ? (d(), I(de, {
5134
+ n.value === "zeroSsl" || n.value === "other" ? (d(), A(le, {
5165
5135
  key: 1,
5166
5136
  model: e.formModel,
5167
5137
  options: e.formOptions,
@@ -5172,39 +5142,39 @@ const am = /* @__PURE__ */ H(zf, [["render", im], ["__scopeId", "data-v-bb72c68e
5172
5142
  ])
5173
5143
  ]),
5174
5144
  storage: w(() => [
5175
- f("div", ym, [
5176
- bm,
5177
- _m,
5178
- A.value ? (d(), I(de, {
5145
+ m("div", wf, [
5146
+ Sf,
5147
+ Mf,
5148
+ I.value ? (d(), A(le, {
5179
5149
  key: 0,
5180
5150
  model: e.formModel,
5181
5151
  options: e.formOptions,
5182
5152
  schema: c.value,
5183
5153
  onModelUpdated: k
5184
5154
  }, null, 8, ["model", "options", "schema"])) : O("", !0),
5185
- f("div", wm, [
5186
- r.value === "consul" ? (d(), I(de, {
5155
+ m("div", Tf, [
5156
+ r.value === "consul" ? (d(), A(le, {
5187
5157
  key: 0,
5188
5158
  model: e.formModel,
5189
5159
  options: e.formOptions,
5190
- schema: m.value,
5160
+ schema: f.value,
5191
5161
  onModelUpdated: e.onModelUpdated
5192
5162
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : O("", !0),
5193
- r.value === "redis" ? (d(), I(de, {
5163
+ r.value === "redis" ? (d(), A(le, {
5194
5164
  key: 1,
5195
5165
  model: e.formModel,
5196
5166
  options: e.formOptions,
5197
5167
  schema: p.value,
5198
5168
  onModelUpdated: e.onModelUpdated
5199
5169
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : O("", !0),
5200
- r.value === "shm" ? (d(), I(de, {
5170
+ r.value === "shm" ? (d(), A(le, {
5201
5171
  key: 2,
5202
5172
  model: e.formModel,
5203
5173
  options: e.formOptions,
5204
- schema: U.value,
5174
+ schema: N.value,
5205
5175
  onModelUpdated: e.onModelUpdated
5206
5176
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : O("", !0),
5207
- r.value === "vault" ? (d(), I(de, {
5177
+ r.value === "vault" ? (d(), A(le, {
5208
5178
  key: 3,
5209
5179
  model: e.formModel,
5210
5180
  options: e.formOptions,
@@ -5215,10 +5185,10 @@ const am = /* @__PURE__ */ H(zf, [["render", im], ["__scopeId", "data-v-bb72c68e
5215
5185
  ])
5216
5186
  ]),
5217
5187
  advanced: w(() => [
5218
- f("div", Mm, [
5219
- Sm,
5220
- Tm,
5221
- A.value ? (d(), I(de, {
5188
+ m("div", If, [
5189
+ Af,
5190
+ Of,
5191
+ I.value ? (d(), A(le, {
5222
5192
  key: 0,
5223
5193
  model: e.formModel,
5224
5194
  options: e.formOptions,
@@ -5232,13 +5202,13 @@ const am = /* @__PURE__ */ H(zf, [["render", im], ["__scopeId", "data-v-bb72c68e
5232
5202
  ]);
5233
5203
  };
5234
5204
  }
5235
- }), Am = /* @__PURE__ */ H(Im, [["__scopeId", "data-v-bb5a3a33"]]), Wr = (e) => (_e("data-v-f53eec84"), e = e(), we(), e), Om = { class: "rla-form-basic-fields" }, Em = { class: "rla-form-request-limits-subtitle" }, Cm = { class: "rla-form-request-limits-content" }, $m = { class: "rla-form-window-type" }, Fm = ["innerHTML"], Um = { class: "rla-form-window-type-radios" }, km = { class: "rla-form-request-limits-items" }, Vm = { class: "rla-form-request-limits-row" }, Nm = ["id"], Lm = { class: "rla-form-request-limits-actions" }, Pm = {
5205
+ }), Ef = /* @__PURE__ */ H(Cf, [["__scopeId", "data-v-bb5a3a33"]]), Wr = (e) => (_e("data-v-f53eec84"), e = e(), we(), e), $f = { class: "rla-form-basic-fields" }, Ff = { class: "rla-form-request-limits-subtitle" }, kf = { class: "rla-form-request-limits-content" }, Uf = { class: "rla-form-window-type" }, Nf = ["innerHTML"], Vf = { class: "rla-form-window-type-radios" }, Lf = { class: "rla-form-request-limits-items" }, Pf = { class: "rla-form-request-limits-row" }, qf = ["id"], jf = { class: "rla-form-request-limits-actions" }, Rf = {
5236
5206
  key: 0,
5237
5207
  class: "rla-form-request-limits-examples"
5238
- }, qm = { class: "rla-form-request-limits-examples-badges" }, jm = /* @__PURE__ */ Wr(() => /* @__PURE__ */ f("br", null, null, -1)), Rm = ["innerHTML"], Km = {
5208
+ }, Df = { class: "rla-form-request-limits-examples-badges" }, Kf = /* @__PURE__ */ Wr(() => /* @__PURE__ */ m("br", null, null, -1)), Bf = ["innerHTML"], zf = {
5239
5209
  id: "rla-form-error-legend",
5240
5210
  class: "rla-form-error-inputs"
5241
- }, Dm = /* @__PURE__ */ Wr(() => /* @__PURE__ */ f("div", null, ":", -1)), Bm = /* @__PURE__ */ oe({
5211
+ }, Hf = /* @__PURE__ */ Wr(() => /* @__PURE__ */ m("div", null, ":", -1)), xf = /* @__PURE__ */ de({
5242
5212
  __name: "RLAForm",
5243
5213
  props: {
5244
5214
  formSchema: {},
@@ -5249,7 +5219,7 @@ const am = /* @__PURE__ */ H(zf, [["render", im], ["__scopeId", "data-v-bb72c68e
5249
5219
  },
5250
5220
  setup(e) {
5251
5221
  var R;
5252
- vt(he, (R = yt()) == null ? void 0 : R[Ge]);
5222
+ gt(he, (R = vt()) == null ? void 0 : R[Ge]);
5253
5223
  const t = {
5254
5224
  fixed: [
5255
5225
  {
@@ -5309,23 +5279,23 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5309
5279
  }, n = /* @__PURE__ */ new Set([
5310
5280
  "selectionGroup",
5311
5281
  ...["identifier", "limit", "window_size", "error_code", "error_message"].map((v) => `config-${v}`)
5312
- ]), r = (v) => v === void 0 ? !1 : n.has(v), { t: a } = bt("en-us", Ot), i = e, l = j(() => {
5282
+ ]), r = (v) => v === void 0 ? !1 : n.has(v), { t: a } = yt("en-us", Ot), i = e, l = j(() => {
5313
5283
  var b, C;
5314
5284
  const v = (C = (b = i.formSchema) == null ? void 0 : b.fields) == null ? void 0 : C.find(($) => $.type === "selectionGroup" && $.model === "selectionGroup");
5315
5285
  if (v)
5316
5286
  return { fields: [v] };
5317
5287
  }), s = j(() => {
5318
- var ue, Ie;
5319
- const v = ((Ie = (ue = i.formSchema) == null ? void 0 : ue.fields) == null ? void 0 : Ie.filter((te) => !r(te.model))) ?? [], b = [], C = [], $ = [];
5288
+ var ce, Ie;
5289
+ const v = ((Ie = (ce = i.formSchema) == null ? void 0 : ce.fields) == null ? void 0 : Ie.filter((ne) => !r(ne.model))) ?? [], b = [], C = [], $ = [];
5320
5290
  let G = !1;
5321
- for (const te of v) {
5322
- const De = te.model;
5323
- if (De !== void 0) {
5324
- if (De.startsWith("config-redis-")) {
5325
- (te.model === "config-redis-cluster_addresses" || te.model === "config-redis-sentinel_addresses") && (te.inputAttributes.help = a("rla.redis.address_example")), C.push(te);
5291
+ for (const ne of v) {
5292
+ const Ke = ne.model;
5293
+ if (Ke !== void 0) {
5294
+ if (Ke.startsWith("config-redis-")) {
5295
+ (ne.model === "config-redis-cluster_addresses" || ne.model === "config-redis-sentinel_addresses") && (ne.inputAttributes.help = a("rla.redis.address_example")), C.push(ne);
5326
5296
  continue;
5327
5297
  }
5328
- G ? $.push(te) : b.push(te), te.model === "config-strategy" && (G = !0);
5298
+ G ? $.push(ne) : b.push(ne), ne.model === "config-strategy" && (G = !0);
5329
5299
  }
5330
5300
  }
5331
5301
  return {
@@ -5347,26 +5317,26 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5347
5317
  value: $
5348
5318
  }));
5349
5319
  }
5350
- ), m = ve(), p = ve(!0), U = j(
5320
+ ), f = ve(), p = ve(!0), N = j(
5351
5321
  () => {
5352
5322
  var v, b, C;
5353
5323
  return i.formModel["config-window_type"] ?? ((C = (b = (v = i.formSchema) == null ? void 0 : v.fields) == null ? void 0 : b.find(($) => $.model === "config-window_type")) == null ? void 0 : C.default);
5354
5324
  }
5355
5325
  ), V = j(() => {
5356
- var b, C, $, G, ue, Ie;
5357
- const v = ($ = (C = (b = i.formSchema) == null ? void 0 : b.fields) == null ? void 0 : C.find((te) => te.model === "config-window_type")) == null ? void 0 : $.default;
5358
- return (((Ie = (ue = (G = i.formSchema) == null ? void 0 : G.fields) == null ? void 0 : ue.find((te) => te.model === "config-window_type")) == null ? void 0 : Ie.values) ?? []).sort((te, De) => te === v ? -1 : De === v ? 1 : 0);
5326
+ var b, C, $, G, ce, Ie;
5327
+ const v = ($ = (C = (b = i.formSchema) == null ? void 0 : b.fields) == null ? void 0 : C.find((ne) => ne.model === "config-window_type")) == null ? void 0 : $.default;
5328
+ return (((Ie = (ce = (G = i.formSchema) == null ? void 0 : G.fields) == null ? void 0 : ce.find((ne) => ne.model === "config-window_type")) == null ? void 0 : Ie.values) ?? []).sort((ne, Ke) => ne === v ? -1 : Ke === v ? 1 : 0);
5359
5329
  }), y = j(() => {
5360
5330
  var b;
5361
5331
  const v = (b = i.formModel["config-limit"]) == null ? void 0 : b.map((C, $) => {
5362
- var G, ue;
5332
+ var G, ce;
5363
5333
  return {
5364
5334
  limit: C,
5365
- windowSize: (ue = (G = i.formModel) == null ? void 0 : G["config-window_size"]) == null ? void 0 : ue[$]
5335
+ windowSize: (ce = (G = i.formModel) == null ? void 0 : G["config-window_size"]) == null ? void 0 : ce[$]
5366
5336
  };
5367
5337
  });
5368
5338
  return !Array.isArray(v) || v.length === 0 ? [{ limit: void 0, windowSize: void 0 }] : v;
5369
- }), A = j(
5339
+ }), I = j(
5370
5340
  () => {
5371
5341
  var v, b, C, $;
5372
5342
  return ((v = i.formModel) == null ? void 0 : v["config-identifier"]) ?? (($ = (C = (b = i.formSchema) == null ? void 0 : b.fields) == null ? void 0 : C.find((G) => G.model === "config-identifier")) == null ? void 0 : $.default);
@@ -5376,74 +5346,74 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5376
5346
  var v, b, C, $;
5377
5347
  return ((v = i.formModel) == null ? void 0 : v["config-error_code"]) ?? (($ = (C = (b = i.formSchema) == null ? void 0 : b.fields) == null ? void 0 : C.find((G) => G.model === "config-error_code")) == null ? void 0 : $.default);
5378
5348
  }
5379
- ), P = j(
5349
+ ), L = j(
5380
5350
  () => {
5381
5351
  var v, b, C, $;
5382
5352
  return ((v = i.formModel) == null ? void 0 : v["config-error_message"]) ?? (($ = (C = (b = i.formSchema) == null ? void 0 : b.fields) == null ? void 0 : C.find((G) => G.model === "config-error_message")) == null ? void 0 : $.default);
5383
5353
  }
5384
- ), S = (v, b) => {
5385
- if (b === m.value) {
5386
- i.onModelUpdated([], "config-limit"), i.onModelUpdated([], "config-window_size"), rn(() => {
5387
- m.value = void 0;
5354
+ ), M = (v, b) => {
5355
+ if (b === f.value) {
5356
+ i.onModelUpdated([], "config-limit"), i.onModelUpdated([], "config-window_size"), nn(() => {
5357
+ f.value = void 0;
5388
5358
  });
5389
5359
  return;
5390
5360
  }
5391
- i.onModelUpdated([v.config.limit], "config-limit"), i.onModelUpdated([v.config.window_size], "config-window_size"), rn(() => {
5392
- m.value = b;
5361
+ i.onModelUpdated([v.config.limit], "config-limit"), i.onModelUpdated([v.config.window_size], "config-window_size"), nn(() => {
5362
+ f.value = b;
5393
5363
  });
5394
5364
  }, k = (v) => {
5395
- m.value !== void 0 && (m.value = void 0), i.onModelUpdated(v.toString(), "config-window_type");
5365
+ f.value !== void 0 && (f.value = void 0), i.onModelUpdated(v.toString(), "config-window_type");
5396
5366
  }, q = (v, b) => {
5397
5367
  var $;
5398
- m.value !== void 0 && (m.value = void 0);
5399
- const C = Me((($ = i.formModel) == null ? void 0 : $["config-limit"]) ?? []);
5368
+ f.value !== void 0 && (f.value = void 0);
5369
+ const C = Se((($ = i.formModel) == null ? void 0 : $["config-limit"]) ?? []);
5400
5370
  C[v] = b, i.onModelUpdated(C, "config-limit");
5401
5371
  }, g = (v, b) => {
5402
5372
  var $;
5403
- m.value !== void 0 && (m.value = void 0);
5404
- const C = Me((($ = i.formModel) == null ? void 0 : $["config-window_size"]) ?? []);
5373
+ f.value !== void 0 && (f.value = void 0);
5374
+ const C = Se((($ = i.formModel) == null ? void 0 : $["config-window_size"]) ?? []);
5405
5375
  C[v] = b, i.onModelUpdated(C, "config-window_size");
5406
5376
  }, _ = (v) => {
5407
5377
  var $, G;
5408
- m.value !== void 0 && (m.value = void 0);
5409
- const b = Me((($ = i.formModel) == null ? void 0 : $["config-limit"]) ?? []), C = Me(((G = i.formModel) == null ? void 0 : G["config-window_size"]) ?? []);
5378
+ f.value !== void 0 && (f.value = void 0);
5379
+ const b = Se((($ = i.formModel) == null ? void 0 : $["config-limit"]) ?? []), C = Se(((G = i.formModel) == null ? void 0 : G["config-window_size"]) ?? []);
5410
5380
  b.length === 0 && b.push(void 0), C.length === 0 && C.push(void 0), b.splice(v + 1, 0, void 0), C.splice(v + 1, 0, void 0), i.onModelUpdated(b, "config-limit"), i.onModelUpdated(C, "config-window_size");
5411
- }, N = (v) => {
5381
+ }, U = (v) => {
5412
5382
  var b, C;
5413
5383
  if (y.value.length > 1) {
5414
- m.value !== void 0 && (m.value = void 0);
5415
- const $ = Me(((b = i.formModel) == null ? void 0 : b["config-limit"]) ?? []), G = Me(((C = i.formModel) == null ? void 0 : C["config-window_size"]) ?? []);
5384
+ f.value !== void 0 && (f.value = void 0);
5385
+ const $ = Se(((b = i.formModel) == null ? void 0 : b["config-limit"]) ?? []), G = Se(((C = i.formModel) == null ? void 0 : C["config-window_size"]) ?? []);
5416
5386
  $.length === 0 && $.push(void 0), G.length === 0 && G.push(void 0), $.splice(v, 1), G.splice(v, 1), i.onModelUpdated($, "config-limit"), i.onModelUpdated(G, "config-window_size");
5417
5387
  }
5418
5388
  };
5419
5389
  return (v, b) => {
5420
- const C = E("VueFormGenerator"), $ = E("KLabel"), G = E("KRadio"), ue = E("KInput"), Ie = E("KButton"), te = E("KBadge"), De = E("KTooltip"), nn = E("KCard"), Zr = E("KSelect"), Jr = E("KCollapse");
5421
- return d(), h(D, null, [
5422
- f("div", Om, [
5423
- M(C, {
5390
+ const C = E("VueFormGenerator"), $ = E("KLabel"), G = E("KRadio"), ce = E("KInput"), Ie = E("KButton"), ne = E("KBadge"), Ke = E("KTooltip"), tn = E("KCard"), Zr = E("KSelect"), Jr = E("KCollapse");
5391
+ return d(), h(K, null, [
5392
+ m("div", $f, [
5393
+ S(C, {
5424
5394
  model: v.formModel,
5425
5395
  options: v.formOptions,
5426
5396
  schema: l.value,
5427
- onModelUpdated: b[0] || (b[0] = (K, X) => v.onModelUpdated(K, X))
5397
+ onModelUpdated: b[0] || (b[0] = (D, X) => v.onModelUpdated(D, X))
5428
5398
  }, null, 8, ["model", "options", "schema"]),
5429
- M(nn, { class: "rla-form-request-limits" }, {
5399
+ S(tn, { class: "rla-form-request-limits" }, {
5430
5400
  title: w(() => [
5431
- M($, {
5401
+ S($, {
5432
5402
  class: "rla-form-request-limits-title",
5433
5403
  for: "rla-form-request-limits-legend",
5434
5404
  required: ""
5435
5405
  }, {
5436
5406
  default: w(() => [
5437
- ne(F(L(a)("rla.request_limits.title")), 1)
5407
+ te(F(P(a)("rla.request_limits.title")), 1)
5438
5408
  ]),
5439
5409
  _: 1
5440
5410
  }),
5441
- f("div", Em, F(L(a)("rla.request_limits.subtitle")), 1)
5411
+ m("div", Ff, F(P(a)("rla.request_limits.subtitle")), 1)
5442
5412
  ]),
5443
5413
  default: w(() => [
5444
- f("div", Cm, [
5445
- f("div", $m, [
5446
- M($, {
5414
+ m("div", kf, [
5415
+ m("div", Uf, [
5416
+ S($, {
5447
5417
  class: "rla-form-window-type-label",
5448
5418
  "tooltip-attributes": {
5449
5419
  maxWidth: "300",
@@ -5451,79 +5421,79 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5451
5421
  }
5452
5422
  }, {
5453
5423
  tooltip: w(() => [
5454
- f("div", {
5455
- innerHTML: L(a)("rla.window_type.help")
5456
- }, null, 8, Fm)
5424
+ m("div", {
5425
+ innerHTML: P(a)("rla.window_type.help")
5426
+ }, null, 8, Nf)
5457
5427
  ]),
5458
5428
  default: w(() => [
5459
- ne(F(L(a)("rla.window_type.label")) + " ", 1)
5429
+ te(F(P(a)("rla.window_type.label")) + " ", 1)
5460
5430
  ]),
5461
5431
  _: 1
5462
5432
  }),
5463
- f("div", Um, [
5464
- (d(!0), h(D, null, Z(V.value, (K) => (d(), I(G, {
5465
- key: `window-type-${K}`,
5466
- "model-value": U.value,
5467
- name: K,
5468
- "selected-value": K,
5433
+ m("div", Vf, [
5434
+ (d(!0), h(K, null, J(V.value, (D) => (d(), A(G, {
5435
+ key: `window-type-${D}`,
5436
+ "model-value": N.value,
5437
+ name: D,
5438
+ "selected-value": D,
5469
5439
  "onUpdate:modelValue": k
5470
5440
  }, {
5471
5441
  default: w(() => [
5472
- ne(F(L(a)(`rla.window_type.options.${K}`)), 1)
5442
+ te(F(P(a)(`rla.window_type.options.${D}`)), 1)
5473
5443
  ]),
5474
5444
  _: 2
5475
5445
  }, 1032, ["model-value", "name", "selected-value"]))), 128))
5476
5446
  ])
5477
5447
  ]),
5478
- f("div", km, [
5479
- (d(!0), h(D, null, Z(y.value, (K, X) => (d(), h("div", {
5448
+ m("div", Lf, [
5449
+ (d(!0), h(K, null, J(y.value, (D, X) => (d(), h("div", {
5480
5450
  key: X.toString()
5481
5451
  }, [
5482
- M($, {
5452
+ S($, {
5483
5453
  for: `rla-form-request-limits-item-${X}-legend`
5484
5454
  }, {
5485
5455
  default: w(() => [
5486
- ne(F(L(a)("rla.request_limits.label_index", { index: X + 1 })), 1)
5456
+ te(F(P(a)("rla.request_limits.label_index", { index: X + 1 })), 1)
5487
5457
  ]),
5488
5458
  _: 2
5489
5459
  }, 1032, ["for"]),
5490
- f("div", Vm, [
5491
- f("legend", {
5460
+ m("div", Pf, [
5461
+ m("legend", {
5492
5462
  id: `rla-form-request-limits-item-${X}-legend`,
5493
5463
  class: "rla-form-request-limits-inputs"
5494
5464
  }, [
5495
- M(ue, {
5496
- "model-value": K.limit && K.limit.toString(),
5497
- placeholder: L(a)("rla.request_limits.request_number"),
5465
+ S(ce, {
5466
+ "model-value": D.limit && D.limit.toString(),
5467
+ placeholder: P(a)("rla.request_limits.request_number"),
5498
5468
  type: "number",
5499
- "onUpdate:modelValue": (Et) => q(X, Number.parseInt(Et))
5469
+ "onUpdate:modelValue": (Ct) => q(X, Number.parseInt(Ct))
5500
5470
  }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
5501
- f("div", null, F(L(a)("rla.request_limits.interval_determiner")), 1),
5502
- M(ue, {
5503
- "model-value": K.windowSize && K.windowSize.toString(),
5504
- placeholder: L(a)("rla.request_limits.time_interval"),
5471
+ m("div", null, F(P(a)("rla.request_limits.interval_determiner")), 1),
5472
+ S(ce, {
5473
+ "model-value": D.windowSize && D.windowSize.toString(),
5474
+ placeholder: P(a)("rla.request_limits.time_interval"),
5505
5475
  type: "number",
5506
- "onUpdate:modelValue": (Et) => g(X, Number.parseInt(Et))
5476
+ "onUpdate:modelValue": (Ct) => g(X, Number.parseInt(Ct))
5507
5477
  }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
5508
- f("div", null, F(L(a)("rla.request_limits.seconds")), 1)
5509
- ], 8, Nm),
5510
- f("div", Lm, [
5511
- M(Ie, {
5478
+ m("div", null, F(P(a)("rla.request_limits.seconds")), 1)
5479
+ ], 8, qf),
5480
+ m("div", jf, [
5481
+ S(Ie, {
5512
5482
  appearance: "tertiary",
5513
5483
  disabled: y.value.length <= 1,
5514
- onClick: () => N(X)
5484
+ onClick: () => U(X)
5515
5485
  }, {
5516
5486
  default: w(() => [
5517
- M(L(gd))
5487
+ S(P(gd))
5518
5488
  ]),
5519
5489
  _: 2
5520
5490
  }, 1032, ["disabled", "onClick"]),
5521
- M(Ie, {
5491
+ S(Ie, {
5522
5492
  appearance: "tertiary",
5523
5493
  onClick: () => _(X)
5524
5494
  }, {
5525
5495
  default: w(() => [
5526
- M(L(kr))
5496
+ S(P(Ur))
5527
5497
  ]),
5528
5498
  _: 2
5529
5499
  }, 1032, ["onClick"])
@@ -5531,27 +5501,27 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5531
5501
  ])
5532
5502
  ]))), 128))
5533
5503
  ]),
5534
- o.value.length > 0 ? (d(), h("div", Pm, [
5535
- f("div", null, F(L(a)("rla.start_with_a_use_case")), 1),
5536
- f("div", qm, [
5537
- (d(!0), h(D, null, Z(o.value, (K, X) => (d(), I(De, {
5504
+ o.value.length > 0 ? (d(), h("div", Rf, [
5505
+ m("div", null, F(P(a)("rla.start_with_a_use_case")), 1),
5506
+ m("div", Df, [
5507
+ (d(!0), h(K, null, J(o.value, (D, X) => (d(), A(Ke, {
5538
5508
  key: `use-case-${X}`,
5539
5509
  "max-width": "300"
5540
5510
  }, {
5541
5511
  content: w(() => [
5542
- f("div", null, F(K.description), 1),
5543
- jm,
5544
- f("div", null, F(L(a)("rla.request_limits.label")) + ": " + F(K.config.limit), 1),
5545
- f("div", null, F(L(a)("rla.request_limits.time_interval")) + ": " + F(K.config.window_size), 1)
5512
+ m("div", null, F(D.description), 1),
5513
+ Kf,
5514
+ m("div", null, F(P(a)("rla.request_limits.label")) + ": " + F(D.config.limit), 1),
5515
+ m("div", null, F(P(a)("rla.request_limits.time_interval")) + ": " + F(D.config.window_size), 1)
5546
5516
  ]),
5547
5517
  default: w(() => [
5548
- M(te, {
5549
- appearance: m.value === `${U.value}-${X}` ? "info" : "decorative",
5518
+ S(ne, {
5519
+ appearance: f.value === `${N.value}-${X}` ? "info" : "decorative",
5550
5520
  class: "rla-form-request-limits-examples-badge",
5551
- onClick: () => S(K, `${U.value}-${X}`)
5521
+ onClick: () => M(D, `${N.value}-${X}`)
5552
5522
  }, {
5553
5523
  default: w(() => [
5554
- ne(F(K.label), 1)
5524
+ te(F(D.label), 1)
5555
5525
  ]),
5556
5526
  _: 2
5557
5527
  }, 1032, ["appearance", "onClick"])
@@ -5564,12 +5534,12 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5564
5534
  ]),
5565
5535
  _: 1
5566
5536
  }),
5567
- M(Zr, {
5568
- modelValue: A.value,
5569
- "onUpdate:modelValue": b[1] || (b[1] = (K) => A.value = K),
5537
+ S(Zr, {
5538
+ modelValue: I.value,
5539
+ "onUpdate:modelValue": b[1] || (b[1] = (D) => I.value = D),
5570
5540
  class: "rla-form-identifiers",
5571
5541
  items: c.value,
5572
- label: L(a)("rla.identifiers.label"),
5542
+ label: P(a)("rla.identifiers.label"),
5573
5543
  "label-attributes": {
5574
5544
  tooltipAttributes: {
5575
5545
  maxWidth: "300",
@@ -5577,19 +5547,19 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5577
5547
  }
5578
5548
  },
5579
5549
  required: "",
5580
- onSelected: b[2] || (b[2] = (K) => i.onModelUpdated(K.value, "config-identifier"))
5550
+ onSelected: b[2] || (b[2] = (D) => i.onModelUpdated(D.value, "config-identifier"))
5581
5551
  }, {
5582
5552
  "label-tooltip": w(() => [
5583
- f("div", {
5553
+ m("div", {
5584
5554
  innerHTML: u.value && u.value.help
5585
- }, null, 8, Rm)
5555
+ }, null, 8, Bf)
5586
5556
  ]),
5587
5557
  _: 1
5588
5558
  }, 8, ["modelValue", "items", "label"]),
5589
- f("div", null, [
5590
- M($, {
5559
+ m("div", null, [
5560
+ S($, {
5591
5561
  for: "rla-form-error-legend",
5592
- info: L(a)("rla.error_message.help"),
5562
+ info: P(a)("rla.error_message.help"),
5593
5563
  required: "",
5594
5564
  "tooltip-attributes": {
5595
5565
  maxWidth: "300",
@@ -5597,59 +5567,59 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5597
5567
  }
5598
5568
  }, {
5599
5569
  default: w(() => [
5600
- ne(F(L(a)("rla.error_message.label")), 1)
5570
+ te(F(P(a)("rla.error_message.label")), 1)
5601
5571
  ]),
5602
5572
  _: 1
5603
5573
  }, 8, ["info"]),
5604
- f("legend", Km, [
5605
- M(ue, {
5574
+ m("legend", zf, [
5575
+ S(ce, {
5606
5576
  class: "input-error-code",
5607
5577
  "model-value": T.value && T.value.toString(),
5608
- placeholder: L(a)("rla.error_message.code_placeholder"),
5578
+ placeholder: P(a)("rla.error_message.code_placeholder"),
5609
5579
  type: "number",
5610
- "onUpdate:modelValue": b[3] || (b[3] = (K) => v.onModelUpdated(Number.parseInt(K), "config-error_code"))
5580
+ "onUpdate:modelValue": b[3] || (b[3] = (D) => v.onModelUpdated(Number.parseInt(D), "config-error_code"))
5611
5581
  }, null, 8, ["model-value", "placeholder"]),
5612
- Dm,
5613
- M(ue, {
5614
- "model-value": P.value,
5615
- placeholder: L(a)("rla.error_message.message_placeholder"),
5616
- "onUpdate:modelValue": b[4] || (b[4] = (K) => v.onModelUpdated(K, "config-error_message"))
5582
+ Hf,
5583
+ S(ce, {
5584
+ "model-value": L.value,
5585
+ placeholder: P(a)("rla.error_message.message_placeholder"),
5586
+ "onUpdate:modelValue": b[4] || (b[4] = (D) => v.onModelUpdated(D, "config-error_message"))
5617
5587
  }, null, 8, ["model-value", "placeholder"])
5618
5588
  ])
5619
5589
  ])
5620
5590
  ]),
5621
- M(Jr, {
5591
+ S(Jr, {
5622
5592
  modelValue: p.value,
5623
- "onUpdate:modelValue": b[8] || (b[8] = (K) => p.value = K),
5624
- "trigger-label": L(a)("rla.view_advanced_fields")
5593
+ "onUpdate:modelValue": b[8] || (b[8] = (D) => p.value = D),
5594
+ "trigger-label": P(a)("rla.view_advanced_fields")
5625
5595
  }, {
5626
5596
  default: w(() => [
5627
- M(C, {
5597
+ S(C, {
5628
5598
  model: v.formModel,
5629
5599
  options: v.formOptions,
5630
5600
  schema: s.value.endsWithStrategy,
5631
- onModelUpdated: b[5] || (b[5] = (K, X) => v.onModelUpdated(K, X))
5601
+ onModelUpdated: b[5] || (b[5] = (D, X) => v.onModelUpdated(D, X))
5632
5602
  }, null, 8, ["model", "options", "schema"]),
5633
- v.formModel["config-strategy"] === "redis" ? (d(), I(nn, {
5603
+ v.formModel["config-strategy"] === "redis" ? (d(), A(tn, {
5634
5604
  key: 0,
5635
5605
  class: "rla-form-redis-card",
5636
- title: L(a)("rla.redis.title")
5606
+ title: P(a)("rla.redis.title")
5637
5607
  }, {
5638
5608
  default: w(() => [
5639
- M(C, {
5609
+ S(C, {
5640
5610
  model: v.formModel,
5641
5611
  options: v.formOptions,
5642
5612
  schema: s.value.redis,
5643
- onModelUpdated: b[6] || (b[6] = (K, X) => v.onModelUpdated(K, X))
5613
+ onModelUpdated: b[6] || (b[6] = (D, X) => v.onModelUpdated(D, X))
5644
5614
  }, null, 8, ["model", "options", "schema"])
5645
5615
  ]),
5646
5616
  _: 1
5647
5617
  }, 8, ["title"])) : O("", !0),
5648
- M(C, {
5618
+ S(C, {
5649
5619
  model: v.formModel,
5650
5620
  options: v.formOptions,
5651
5621
  schema: s.value.afterStrategy,
5652
- onModelUpdated: b[7] || (b[7] = (K, X) => v.onModelUpdated(K, X))
5622
+ onModelUpdated: b[7] || (b[7] = (D, X) => v.onModelUpdated(D, X))
5653
5623
  }, null, 8, ["model", "options", "schema"])
5654
5624
  ]),
5655
5625
  _: 1
@@ -5657,24 +5627,24 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5657
5627
  ], 64);
5658
5628
  };
5659
5629
  }
5660
- }), zm = /* @__PURE__ */ H(Bm, [["__scopeId", "data-v-f53eec84"]]), Gm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5630
+ }), Yf = /* @__PURE__ */ H(xf, [["__scopeId", "data-v-f53eec84"]]), Jf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5661
5631
  __proto__: null,
5662
- ACMEForm: Am,
5663
- ExitTransformer: dm,
5664
- OIDCForm: am,
5665
- PostFunction: om,
5666
- RLAForm: zm
5667
- }, Symbol.toStringTag, { value: "Module" })), Wm = [
5632
+ ACMEForm: Ef,
5633
+ ExitTransformer: mf,
5634
+ OIDCForm: lf,
5635
+ PostFunction: uf,
5636
+ RLAForm: Yf
5637
+ }, Symbol.toStringTag, { value: "Module" })), Xf = [
5668
5638
  "array",
5669
5639
  "metric",
5670
5640
  "advanced",
5671
5641
  "selectionGroup",
5672
5642
  "object-advanced"
5673
- ], Zm = {
5643
+ ], Qf = {
5674
5644
  install: (e) => {
5675
- e.component("VueFormGenerator", de);
5645
+ e.component("VueFormGenerator", le);
5676
5646
  }
5677
- }, Jm = (e) => ({
5647
+ }, eh = (e) => ({
5678
5648
  "openid-connect": "OIDCForm",
5679
5649
  "post-function": "PostFunction",
5680
5650
  // Pre and Post function plugins are using same component
@@ -5686,10 +5656,10 @@ export {
5686
5656
  he as AUTOFILL_SLOT,
5687
5657
  Ge as AUTOFILL_SLOT_NAME,
5688
5658
  $e as FORMS_API_KEY,
5689
- de as VueFormGenerator,
5690
- Ym as abstractField,
5691
- Wm as customFields,
5692
- Zm as default,
5693
- Jm as getSharedFormName,
5694
- Gm as sharedForms
5659
+ le as VueFormGenerator,
5660
+ Zf as abstractField,
5661
+ Xf as customFields,
5662
+ Qf as default,
5663
+ eh as getSharedFormName,
5664
+ Jf as sharedForms
5695
5665
  };