@kong-ui-public/forms 4.7.35-pr.1809.c71e2da9f.0 → 4.7.35
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 +152 -157
- package/dist/forms.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/fields/FieldArray.vue.d.ts +0 -1
- package/dist/types/components/fields/FieldObjectAdvanced.vue.d.ts +0 -1
- package/dist/types/components/fields/FieldObjectAdvanced.vue.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/forms.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { resolveComponent as A, openBlock as d, createElementBlock as p, createElementVNode as m, toDisplayString as V, normalizeClass as Z, createVNode as M, defineComponent as le, provide as Qe, withCtx as w, renderSlot as Te, unref as E, createTextVNode as te, Fragment as B, renderList as J, ref as pe, computed as P, toRefs as je, inject as wn, onMounted as Sn, onBeforeMount as
|
|
2
|
-
import { TrashIcon as tt, AddIcon as
|
|
1
|
+
import { resolveComponent as A, openBlock as d, createElementBlock as p, createElementVNode as m, toDisplayString as V, normalizeClass as Z, createVNode as M, defineComponent as le, provide as Qe, withCtx as w, renderSlot as Te, unref as E, createTextVNode as te, Fragment as B, renderList as J, ref as pe, computed as P, toRefs as je, inject as wn, onMounted as Sn, onBeforeMount as _r, mergeProps as Se, createBlock as I, resolveDynamicComponent as re, Transition as Mr, createCommentVNode as k, resolveDirective as Tn, withDirectives as ae, vModelText as Ke, vModelCheckbox as wr, vModelSelect as Sr, isRef as et, vModelDynamic as Tr, vModelRadio as Ar, vShow as Ir, createSlots as An, normalizeProps as Or, guardReactiveProps as Cr, useSlots as ot, nextTick as Lt } from "vue";
|
|
2
|
+
import { TrashIcon as tt, AddIcon as In, RemoveIcon as Er } from "@kong/icons";
|
|
3
3
|
import { createI18n as st } from "@kong-ui-public/i18n";
|
|
4
|
-
function
|
|
4
|
+
function On(e, t) {
|
|
5
5
|
for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
|
|
6
6
|
;
|
|
7
7
|
return e;
|
|
@@ -22,16 +22,16 @@ function Ur(e, t) {
|
|
|
22
22
|
r[n] = t(n);
|
|
23
23
|
return r;
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Cn = typeof global == "object" && global && global.Object === Object && global, $r = typeof self == "object" && self && self.Object === Object && self, he = Cn || $r || Function("return this")(), Ae = he.Symbol, En = Object.prototype, Vr = En.hasOwnProperty, jr = En.toString, He = Ae ? Ae.toStringTag : void 0;
|
|
26
26
|
function Lr(e) {
|
|
27
|
-
var t = Vr.call(e,
|
|
27
|
+
var t = Vr.call(e, He), n = e[He];
|
|
28
28
|
try {
|
|
29
|
-
e[
|
|
29
|
+
e[He] = void 0;
|
|
30
30
|
var r = !0;
|
|
31
31
|
} catch {
|
|
32
32
|
}
|
|
33
33
|
var a = jr.call(e);
|
|
34
|
-
return r && (t ? e[
|
|
34
|
+
return r && (t ? e[He] = n : delete e[He]), a;
|
|
35
35
|
}
|
|
36
36
|
var Nr = Object.prototype, qr = Nr.toString;
|
|
37
37
|
function Pr(e) {
|
|
@@ -48,7 +48,7 @@ var Dr = "[object Arguments]";
|
|
|
48
48
|
function qt(e) {
|
|
49
49
|
return Oe(e) && Ie(e) == Dr;
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Fn = Object.prototype, Br = Fn.hasOwnProperty, zr = Fn.propertyIsEnumerable, Yr = qt(/* @__PURE__ */ function() {
|
|
52
52
|
return arguments;
|
|
53
53
|
}()) ? qt : function(e) {
|
|
54
54
|
return Oe(e) && Br.call(e, "callee") && !zr.call(e, "callee");
|
|
@@ -56,41 +56,41 @@ var kn = Object.prototype, Br = kn.hasOwnProperty, zr = kn.propertyIsEnumerable,
|
|
|
56
56
|
function Hr() {
|
|
57
57
|
return !1;
|
|
58
58
|
}
|
|
59
|
-
var
|
|
60
|
-
function
|
|
59
|
+
var kn = typeof exports == "object" && exports && !exports.nodeType && exports, Pt = kn && typeof module == "object" && module && !module.nodeType && module, xr = Pt && Pt.exports === kn, Rt = xr ? he.Buffer : void 0, Gr = Rt ? Rt.isBuffer : void 0, Un = Gr || Hr, Wr = 9007199254740991, Zr = /^(?:0|[1-9]\d*)$/;
|
|
60
|
+
function $n(e, t) {
|
|
61
61
|
var n = typeof e;
|
|
62
62
|
return t = t ?? Wr, !!t && (n == "number" || n != "symbol" && Zr.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
63
63
|
}
|
|
64
64
|
var Jr = 9007199254740991;
|
|
65
|
-
function
|
|
65
|
+
function Vn(e) {
|
|
66
66
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Jr;
|
|
67
67
|
}
|
|
68
68
|
var Xr = "[object Arguments]", Qr = "[object Array]", ei = "[object Boolean]", ti = "[object Date]", ni = "[object Error]", ri = "[object Function]", ii = "[object Map]", ai = "[object Number]", oi = "[object Object]", si = "[object RegExp]", li = "[object Set]", di = "[object String]", ui = "[object WeakMap]", ci = "[object ArrayBuffer]", mi = "[object DataView]", hi = "[object Float32Array]", fi = "[object Float64Array]", pi = "[object Int8Array]", gi = "[object Int16Array]", vi = "[object Int32Array]", yi = "[object Uint8Array]", bi = "[object Uint8ClampedArray]", _i = "[object Uint16Array]", Mi = "[object Uint32Array]", Y = {};
|
|
69
69
|
Y[hi] = Y[fi] = Y[pi] = Y[gi] = Y[vi] = Y[yi] = Y[bi] = Y[_i] = Y[Mi] = !0;
|
|
70
70
|
Y[Xr] = Y[Qr] = Y[ci] = Y[ei] = Y[mi] = Y[ti] = Y[ni] = Y[ri] = Y[ii] = Y[ai] = Y[oi] = Y[si] = Y[li] = Y[di] = Y[ui] = !1;
|
|
71
71
|
function wi(e) {
|
|
72
|
-
return Oe(e) &&
|
|
72
|
+
return Oe(e) && Vn(e.length) && !!Y[Ie(e)];
|
|
73
73
|
}
|
|
74
74
|
function Ct(e) {
|
|
75
75
|
return function(t) {
|
|
76
76
|
return e(t);
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
|
-
var
|
|
79
|
+
var jn = typeof exports == "object" && exports && !exports.nodeType && exports, xe = jn && typeof module == "object" && module && !module.nodeType && module, Si = xe && xe.exports === jn, yt = Si && Cn.process, Be = function() {
|
|
80
80
|
try {
|
|
81
81
|
var e = xe && xe.require && xe.require("util").types;
|
|
82
82
|
return e || yt && yt.binding && yt.binding("util");
|
|
83
83
|
} catch {
|
|
84
84
|
}
|
|
85
|
-
}(), Kt =
|
|
86
|
-
function
|
|
87
|
-
var n = Ce(e), r = !n && Yr(e), a = !n && !r &&
|
|
85
|
+
}(), Kt = Be && Be.isTypedArray, Ti = Kt ? Ct(Kt) : wi, Ai = Object.prototype, Ii = Ai.hasOwnProperty;
|
|
86
|
+
function Ln(e, t) {
|
|
87
|
+
var n = Ce(e), r = !n && Yr(e), a = !n && !r && Un(e), i = !n && !r && !a && Ti(e), l = n || r || a || i, o = l ? Ur(e.length, String) : [], s = o.length;
|
|
88
88
|
for (var u in e)
|
|
89
89
|
(t || Ii.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
|
-
|
|
93
|
+
$n(u, s))) && o.push(u);
|
|
94
94
|
return o;
|
|
95
95
|
}
|
|
96
96
|
var Oi = Object.prototype;
|
|
@@ -98,12 +98,12 @@ function Et(e) {
|
|
|
98
98
|
var t = e && e.constructor, n = typeof t == "function" && t.prototype || Oi;
|
|
99
99
|
return e === n;
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function Nn(e, t) {
|
|
102
102
|
return function(n) {
|
|
103
103
|
return e(t(n));
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
|
-
var Ci =
|
|
106
|
+
var Ci = Nn(Object.keys, Object), Ei = Object.prototype, Fi = Ei.hasOwnProperty;
|
|
107
107
|
function ki(e) {
|
|
108
108
|
if (!Et(e))
|
|
109
109
|
return Ci(e);
|
|
@@ -124,10 +124,10 @@ function H(e) {
|
|
|
124
124
|
return t == $i || t == Vi || t == Ui || t == ji;
|
|
125
125
|
}
|
|
126
126
|
function lt(e) {
|
|
127
|
-
return e != null &&
|
|
127
|
+
return e != null && Vn(e.length) && !H(e);
|
|
128
128
|
}
|
|
129
129
|
function dt(e) {
|
|
130
|
-
return lt(e) ?
|
|
130
|
+
return lt(e) ? Ln(e) : ki(e);
|
|
131
131
|
}
|
|
132
132
|
function Li(e, t) {
|
|
133
133
|
return e && kr(e, t, dt);
|
|
@@ -151,7 +151,7 @@ function Pi(e) {
|
|
|
151
151
|
return typeof e == "function" ? e : Ft;
|
|
152
152
|
}
|
|
153
153
|
function ie(e, t) {
|
|
154
|
-
var n = Ce(e) ?
|
|
154
|
+
var n = Ce(e) ? On : qi;
|
|
155
155
|
return n(e, Pi(t));
|
|
156
156
|
}
|
|
157
157
|
var Ri = "[object Symbol]";
|
|
@@ -359,21 +359,21 @@ function Ua(e, t) {
|
|
|
359
359
|
return a;
|
|
360
360
|
}
|
|
361
361
|
var $a = 1 / 0, Bt = Ae ? Ae.prototype : void 0, zt = Bt ? Bt.toString : void 0;
|
|
362
|
-
function
|
|
362
|
+
function qn(e) {
|
|
363
363
|
if (typeof e == "string")
|
|
364
364
|
return e;
|
|
365
365
|
if (Ce(e))
|
|
366
|
-
return Ua(e,
|
|
366
|
+
return Ua(e, qn) + "";
|
|
367
367
|
if (ut(e))
|
|
368
368
|
return zt ? zt.call(e) : "";
|
|
369
369
|
var t = e + "";
|
|
370
370
|
return t == "0" && 1 / e == -$a ? "-0" : t;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
373
|
-
return e == null ? "" :
|
|
372
|
+
function Pn(e) {
|
|
373
|
+
return e == null ? "" : qn(e);
|
|
374
374
|
}
|
|
375
375
|
function Va(e, t) {
|
|
376
|
-
return Ce(e) ? e : Bi(e, t) ? [e] : ka(
|
|
376
|
+
return Ce(e) ? e : Bi(e, t) ? [e] : ka(Pn(e));
|
|
377
377
|
}
|
|
378
378
|
var ja = 1 / 0;
|
|
379
379
|
function La(e) {
|
|
@@ -395,7 +395,7 @@ function D(e, t, n) {
|
|
|
395
395
|
function Q(e) {
|
|
396
396
|
return e == null;
|
|
397
397
|
}
|
|
398
|
-
const Ee = "kong-ui-forms-api",
|
|
398
|
+
const Ee = "kong-ui-forms-api", ze = "autofill", me = "autofillSlot";
|
|
399
399
|
function qa() {
|
|
400
400
|
this.__data__ = new ye(), this.size = 0;
|
|
401
401
|
}
|
|
@@ -420,15 +420,15 @@ function Ba(e, t) {
|
|
|
420
420
|
}
|
|
421
421
|
return n.set(e, t), this.size = n.size, this;
|
|
422
422
|
}
|
|
423
|
-
function
|
|
423
|
+
function Ye(e) {
|
|
424
424
|
var t = this.__data__ = new ye(e);
|
|
425
425
|
this.size = t.size;
|
|
426
426
|
}
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
427
|
+
Ye.prototype.clear = qa;
|
|
428
|
+
Ye.prototype.delete = Pa;
|
|
429
|
+
Ye.prototype.get = Ra;
|
|
430
|
+
Ye.prototype.has = Ka;
|
|
431
|
+
Ye.prototype.set = Ba;
|
|
432
432
|
var nt = function() {
|
|
433
433
|
try {
|
|
434
434
|
var e = Ne(Object, "defineProperty");
|
|
@@ -436,7 +436,7 @@ var nt = function() {
|
|
|
436
436
|
} catch {
|
|
437
437
|
}
|
|
438
438
|
}();
|
|
439
|
-
function
|
|
439
|
+
function Rn(e, t, n) {
|
|
440
440
|
t == "__proto__" && nt ? nt(e, t, {
|
|
441
441
|
configurable: !0,
|
|
442
442
|
enumerable: !0,
|
|
@@ -445,16 +445,16 @@ function Kn(e, t, n) {
|
|
|
445
445
|
}) : e[t] = n;
|
|
446
446
|
}
|
|
447
447
|
var za = Object.prototype, Ya = za.hasOwnProperty;
|
|
448
|
-
function
|
|
448
|
+
function Kn(e, t, n) {
|
|
449
449
|
var r = e[t];
|
|
450
|
-
(!(Ya.call(e, t) && ct(r, n)) || n === void 0 && !(t in e)) &&
|
|
450
|
+
(!(Ya.call(e, t) && ct(r, n)) || n === void 0 && !(t in e)) && Rn(e, t, n);
|
|
451
451
|
}
|
|
452
452
|
function ft(e, t, n, r) {
|
|
453
453
|
var a = !n;
|
|
454
454
|
n || (n = {});
|
|
455
455
|
for (var i = -1, l = t.length; ++i < l; ) {
|
|
456
456
|
var o = t[i], s = void 0;
|
|
457
|
-
s === void 0 && (s = e[o]), a ?
|
|
457
|
+
s === void 0 && (s = e[o]), a ? Rn(n, o, s) : Kn(n, o, s);
|
|
458
458
|
}
|
|
459
459
|
return n;
|
|
460
460
|
}
|
|
@@ -478,12 +478,12 @@ function Za(e) {
|
|
|
478
478
|
return n;
|
|
479
479
|
}
|
|
480
480
|
function pt(e) {
|
|
481
|
-
return lt(e) ?
|
|
481
|
+
return lt(e) ? Ln(e, !0) : Za(e);
|
|
482
482
|
}
|
|
483
483
|
function Ja(e, t) {
|
|
484
484
|
return e && ft(t, pt(t), e);
|
|
485
485
|
}
|
|
486
|
-
var
|
|
486
|
+
var Dn = typeof exports == "object" && exports && !exports.nodeType && exports, Yt = Dn && typeof module == "object" && module && !module.nodeType && module, Xa = Yt && Yt.exports === Dn, Ht = Xa ? he.Buffer : void 0, xt = Ht ? Ht.allocUnsafe : void 0;
|
|
487
487
|
function Qa(e, t) {
|
|
488
488
|
if (t)
|
|
489
489
|
return e.slice();
|
|
@@ -503,42 +503,42 @@ function to(e, t) {
|
|
|
503
503
|
}
|
|
504
504
|
return i;
|
|
505
505
|
}
|
|
506
|
-
function
|
|
506
|
+
function Bn() {
|
|
507
507
|
return [];
|
|
508
508
|
}
|
|
509
509
|
var no = Object.prototype, ro = no.propertyIsEnumerable, Gt = Object.getOwnPropertySymbols, Ut = Gt ? function(e) {
|
|
510
510
|
return e == null ? [] : (e = Object(e), to(Gt(e), function(t) {
|
|
511
511
|
return ro.call(e, t);
|
|
512
512
|
}));
|
|
513
|
-
} :
|
|
513
|
+
} : Bn;
|
|
514
514
|
function io(e, t) {
|
|
515
515
|
return ft(e, Ut(e), t);
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function zn(e, t) {
|
|
518
518
|
for (var n = -1, r = t.length, a = e.length; ++n < r; )
|
|
519
519
|
e[a + n] = t[n];
|
|
520
520
|
return e;
|
|
521
521
|
}
|
|
522
|
-
var
|
|
522
|
+
var Yn = Nn(Object.getPrototypeOf, Object), ao = Object.getOwnPropertySymbols, Hn = ao ? function(e) {
|
|
523
523
|
for (var t = []; e; )
|
|
524
|
-
|
|
524
|
+
zn(t, Ut(e)), e = Yn(e);
|
|
525
525
|
return t;
|
|
526
|
-
} :
|
|
526
|
+
} : Bn;
|
|
527
527
|
function oo(e, t) {
|
|
528
|
-
return ft(e,
|
|
528
|
+
return ft(e, Hn(e), t);
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function xn(e, t, n) {
|
|
531
531
|
var r = t(e);
|
|
532
|
-
return Ce(e) ? r :
|
|
532
|
+
return Ce(e) ? r : zn(r, n(e));
|
|
533
533
|
}
|
|
534
534
|
function so(e) {
|
|
535
|
-
return
|
|
535
|
+
return xn(e, dt, Ut);
|
|
536
536
|
}
|
|
537
537
|
function lo(e) {
|
|
538
|
-
return
|
|
538
|
+
return xn(e, pt, Hn);
|
|
539
539
|
}
|
|
540
|
-
var St = Ne(he, "DataView"), Tt = Ne(he, "Promise"),
|
|
541
|
-
(St && ge(new St(new ArrayBuffer(1))) != Qt || Je && ge(new Je()) != Wt || Tt && ge(Tt.resolve()) != Zt ||
|
|
540
|
+
var St = Ne(he, "DataView"), Tt = Ne(he, "Promise"), De = Ne(he, "Set"), At = Ne(he, "WeakMap"), Wt = "[object Map]", uo = "[object Object]", Zt = "[object Promise]", Jt = "[object Set]", Xt = "[object WeakMap]", Qt = "[object DataView]", co = Le(St), mo = Le(Je), ho = Le(Tt), fo = Le(De), po = Le(At), ge = Ie;
|
|
541
|
+
(St && ge(new St(new ArrayBuffer(1))) != Qt || Je && ge(new Je()) != Wt || Tt && ge(Tt.resolve()) != Zt || De && ge(new De()) != Jt || At && ge(new At()) != Xt) && (ge = function(e) {
|
|
542
542
|
var t = Ie(e), n = t == uo ? e.constructor : void 0, r = n ? Le(n) : "";
|
|
543
543
|
if (r)
|
|
544
544
|
switch (r) {
|
|
@@ -630,19 +630,19 @@ var rn = Object.create, zo = /* @__PURE__ */ function() {
|
|
|
630
630
|
};
|
|
631
631
|
}();
|
|
632
632
|
function Yo(e) {
|
|
633
|
-
return typeof e.constructor == "function" && !Et(e) ? zo(
|
|
633
|
+
return typeof e.constructor == "function" && !Et(e) ? zo(Yn(e)) : {};
|
|
634
634
|
}
|
|
635
635
|
var Ho = "[object Map]";
|
|
636
636
|
function xo(e) {
|
|
637
637
|
return Oe(e) && ge(e) == Ho;
|
|
638
638
|
}
|
|
639
|
-
var an =
|
|
639
|
+
var an = Be && Be.isMap, Go = an ? Ct(an) : xo, Wo = "[object Set]";
|
|
640
640
|
function Zo(e) {
|
|
641
641
|
return Oe(e) && ge(e) == Wo;
|
|
642
642
|
}
|
|
643
|
-
var on =
|
|
644
|
-
z[
|
|
645
|
-
z[is] = z[
|
|
643
|
+
var on = Be && Be.isSet, Jo = on ? Ct(on) : Zo, Xo = 1, Qo = 2, es = 4, Gn = "[object Arguments]", ts = "[object Array]", ns = "[object Boolean]", rs = "[object Date]", is = "[object Error]", Wn = "[object Function]", as = "[object GeneratorFunction]", os = "[object Map]", ss = "[object Number]", Zn = "[object Object]", ls = "[object RegExp]", ds = "[object Set]", us = "[object String]", cs = "[object Symbol]", ms = "[object WeakMap]", hs = "[object ArrayBuffer]", fs = "[object DataView]", ps = "[object Float32Array]", gs = "[object Float64Array]", vs = "[object Int8Array]", ys = "[object Int16Array]", bs = "[object Int32Array]", _s = "[object Uint8Array]", Ms = "[object Uint8ClampedArray]", ws = "[object Uint16Array]", Ss = "[object Uint32Array]", z = {};
|
|
644
|
+
z[Gn] = z[ts] = z[hs] = z[fs] = z[ns] = z[rs] = z[ps] = z[gs] = z[vs] = z[ys] = z[bs] = z[os] = z[ss] = z[Zn] = z[ls] = z[ds] = z[us] = z[cs] = z[_s] = z[Ms] = z[ws] = z[Ss] = !0;
|
|
645
|
+
z[is] = z[Wn] = z[ms] = !1;
|
|
646
646
|
function Ge(e, t, n, r, a, i) {
|
|
647
647
|
var l, o = t & Xo, s = t & Qo, u = t & es;
|
|
648
648
|
if (l !== void 0)
|
|
@@ -654,10 +654,10 @@ function Ge(e, t, n, r, a, i) {
|
|
|
654
654
|
if (l = yo(e), !o)
|
|
655
655
|
return eo(e, l);
|
|
656
656
|
} else {
|
|
657
|
-
var h = ge(e), y = h ==
|
|
658
|
-
if (
|
|
657
|
+
var h = ge(e), y = h == Wn || h == as;
|
|
658
|
+
if (Un(e))
|
|
659
659
|
return Qa(e, o);
|
|
660
|
-
if (h ==
|
|
660
|
+
if (h == Zn || h == Gn || y && !a) {
|
|
661
661
|
if (l = s || y ? {} : Yo(e), !o)
|
|
662
662
|
return s ? oo(e, Ja(l, e)) : io(e, Ha(l, e));
|
|
663
663
|
} else {
|
|
@@ -666,7 +666,7 @@ function Ge(e, t, n, r, a, i) {
|
|
|
666
666
|
l = Bo(e, h, o);
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
|
-
i || (i = new
|
|
669
|
+
i || (i = new Ye());
|
|
670
670
|
var $ = i.get(e);
|
|
671
671
|
if ($)
|
|
672
672
|
return $;
|
|
@@ -676,8 +676,8 @@ function Ge(e, t, n, r, a, i) {
|
|
|
676
676
|
l.set(S, Ge(O, t, n, S, e, i));
|
|
677
677
|
});
|
|
678
678
|
var R = u ? s ? lo : so : s ? pt : dt, f = c ? void 0 : R(e);
|
|
679
|
-
return
|
|
680
|
-
f && (S = O, O = e[S]),
|
|
679
|
+
return On(f || e, function(O, S) {
|
|
680
|
+
f && (S = O, O = e[S]), Kn(l, S, Ge(O, t, n, S, e, i));
|
|
681
681
|
}), l;
|
|
682
682
|
}
|
|
683
683
|
var Ts = 1, As = 4;
|
|
@@ -689,7 +689,7 @@ var Is = "[object String]";
|
|
|
689
689
|
function Ue(e) {
|
|
690
690
|
return typeof e == "string" || !Ce(e) && Oe(e) && Ie(e) == Is;
|
|
691
691
|
}
|
|
692
|
-
const
|
|
692
|
+
const Jn = {
|
|
693
693
|
methods: {
|
|
694
694
|
// Get style classes of field
|
|
695
695
|
getFieldRowClasses(e) {
|
|
@@ -841,21 +841,21 @@ function Hs(e, t) {
|
|
|
841
841
|
}
|
|
842
842
|
function xs() {
|
|
843
843
|
}
|
|
844
|
-
function
|
|
844
|
+
function Xn(e) {
|
|
845
845
|
var t = -1, n = Array(e.size);
|
|
846
846
|
return e.forEach(function(r) {
|
|
847
847
|
n[++t] = r;
|
|
848
848
|
}), n;
|
|
849
849
|
}
|
|
850
|
-
var Gs = 1 / 0, Ws =
|
|
851
|
-
return new
|
|
850
|
+
var Gs = 1 / 0, Ws = De && 1 / Xn(new De([, -0]))[1] == Gs ? function(e) {
|
|
851
|
+
return new De(e);
|
|
852
852
|
} : xs, Zs = 200;
|
|
853
853
|
function Js(e, t, n) {
|
|
854
854
|
var r = -1, a = Ys, i = e.length, l = !0, o = [], s = o;
|
|
855
855
|
if (i >= Zs) {
|
|
856
856
|
var u = Ws(e);
|
|
857
857
|
if (u)
|
|
858
|
-
return
|
|
858
|
+
return Xn(u);
|
|
859
859
|
l = !1, a = Hs, s = new rt();
|
|
860
860
|
} else
|
|
861
861
|
s = o;
|
|
@@ -871,13 +871,13 @@ function Js(e, t, n) {
|
|
|
871
871
|
}
|
|
872
872
|
return o;
|
|
873
873
|
}
|
|
874
|
-
function
|
|
874
|
+
function Qn(e) {
|
|
875
875
|
return e && e.length ? Js(e) : [];
|
|
876
876
|
}
|
|
877
877
|
var Xs = 0;
|
|
878
|
-
function
|
|
878
|
+
function er(e) {
|
|
879
879
|
var t = ++Xs;
|
|
880
|
-
return
|
|
880
|
+
return Pn(e) + t;
|
|
881
881
|
}
|
|
882
882
|
function Qs(e, t, n) {
|
|
883
883
|
switch (n.length) {
|
|
@@ -936,15 +936,15 @@ function dl(e, t, n) {
|
|
|
936
936
|
if (!ue(n))
|
|
937
937
|
return !1;
|
|
938
938
|
var r = typeof t;
|
|
939
|
-
return (r == "number" ? lt(n) &&
|
|
939
|
+
return (r == "number" ? lt(n) && $n(t, n.length) : r == "string" && t in n) ? ct(n[t], e) : !1;
|
|
940
940
|
}
|
|
941
|
-
var
|
|
941
|
+
var tr = Object.prototype, ul = tr.hasOwnProperty, cl = ll(function(e, t) {
|
|
942
942
|
e = Object(e);
|
|
943
943
|
var n = -1, r = t.length, a = r > 2 ? t[2] : void 0;
|
|
944
944
|
for (a && dl(t[0], t[1], a) && (r = 1); ++n < r; )
|
|
945
945
|
for (var i = t[n], l = pt(i), o = -1, s = l.length; ++o < s; ) {
|
|
946
946
|
var u = l[o], c = e[u];
|
|
947
|
-
(c === void 0 || ct(c,
|
|
947
|
+
(c === void 0 || ct(c, tr[u]) && !ul.call(e, u)) && (e[u] = i[u]);
|
|
948
948
|
}
|
|
949
949
|
return e;
|
|
950
950
|
}), ml = he.isFinite;
|
|
@@ -972,8 +972,8 @@ var yl = "[object Number]";
|
|
|
972
972
|
function Ot(e) {
|
|
973
973
|
return typeof e == "number" || Oe(e) && Ie(e) == yl;
|
|
974
974
|
}
|
|
975
|
-
var
|
|
976
|
-
function
|
|
975
|
+
var nr = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, we = "\\d\\d?", Me = "\\d\\d", bl = "\\d{3}", _l = "\\d{4}", We = "[^\\s]+", rr = /\[([^]*?)\]/gm;
|
|
976
|
+
function ir(e, t) {
|
|
977
977
|
for (var n = [], r = 0, a = e.length; r < a; r++)
|
|
978
978
|
n.push(e[r].substr(0, t));
|
|
979
979
|
return n;
|
|
@@ -996,7 +996,7 @@ function $e(e) {
|
|
|
996
996
|
}
|
|
997
997
|
return e;
|
|
998
998
|
}
|
|
999
|
-
var
|
|
999
|
+
var ar = [
|
|
1000
1000
|
"Sunday",
|
|
1001
1001
|
"Monday",
|
|
1002
1002
|
"Tuesday",
|
|
@@ -1004,7 +1004,7 @@ var or = [
|
|
|
1004
1004
|
"Thursday",
|
|
1005
1005
|
"Friday",
|
|
1006
1006
|
"Saturday"
|
|
1007
|
-
],
|
|
1007
|
+
], or = [
|
|
1008
1008
|
"January",
|
|
1009
1009
|
"February",
|
|
1010
1010
|
"March",
|
|
@@ -1017,16 +1017,16 @@ var or = [
|
|
|
1017
1017
|
"October",
|
|
1018
1018
|
"November",
|
|
1019
1019
|
"December"
|
|
1020
|
-
], Ml =
|
|
1020
|
+
], Ml = ir(or, 3), wl = ir(ar, 3), sr = {
|
|
1021
1021
|
dayNamesShort: wl,
|
|
1022
|
-
dayNames:
|
|
1022
|
+
dayNames: ar,
|
|
1023
1023
|
monthNamesShort: Ml,
|
|
1024
|
-
monthNames:
|
|
1024
|
+
monthNames: or,
|
|
1025
1025
|
amPm: ["am", "pm"],
|
|
1026
1026
|
DoFn: function(e) {
|
|
1027
1027
|
return e + ["th", "st", "nd", "rd"][e % 10 > 3 ? 0 : (e - e % 10 !== 10 ? 1 : 0) * e % 10];
|
|
1028
1028
|
}
|
|
1029
|
-
}, it = $e({},
|
|
1029
|
+
}, it = $e({}, sr), Sl = function(e) {
|
|
1030
1030
|
return it = $e(it, e);
|
|
1031
1031
|
}, mn = function(e) {
|
|
1032
1032
|
return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
|
|
@@ -1201,11 +1201,11 @@ var or = [
|
|
|
1201
1201
|
throw new Error("Invalid Date pass to format");
|
|
1202
1202
|
t = at[t] || t;
|
|
1203
1203
|
var r = [];
|
|
1204
|
-
t = t.replace(
|
|
1204
|
+
t = t.replace(rr, function(i, l) {
|
|
1205
1205
|
return r.push(l), "@@@";
|
|
1206
1206
|
});
|
|
1207
1207
|
var a = $e($e({}, it), n);
|
|
1208
|
-
return t = t.replace(
|
|
1208
|
+
return t = t.replace(nr, function(i) {
|
|
1209
1209
|
return Tl[i](e, a);
|
|
1210
1210
|
}), t.replace(/@@@/g, function() {
|
|
1211
1211
|
return r.shift();
|
|
@@ -1226,10 +1226,10 @@ function Cl(e, t, n) {
|
|
|
1226
1226
|
millisecond: 0,
|
|
1227
1227
|
isPm: null,
|
|
1228
1228
|
timezoneOffset: null
|
|
1229
|
-
}, i = [], l = [], o = t.replace(
|
|
1229
|
+
}, i = [], l = [], o = t.replace(rr, function(j, K) {
|
|
1230
1230
|
return l.push(mn(K)), "@@@";
|
|
1231
1231
|
}), s = {}, u = {};
|
|
1232
|
-
o = mn(o).replace(
|
|
1232
|
+
o = mn(o).replace(nr, function(j) {
|
|
1233
1233
|
var K = Al[j], g = K[0], v = K[1], U = K[3];
|
|
1234
1234
|
if (s[g])
|
|
1235
1235
|
throw new Error("Invalid format. " + g + " specified twice in format");
|
|
@@ -1269,7 +1269,7 @@ function Cl(e, t, n) {
|
|
|
1269
1269
|
var Re = {
|
|
1270
1270
|
format: Ol,
|
|
1271
1271
|
parse: Cl,
|
|
1272
|
-
defaultI18n:
|
|
1272
|
+
defaultI18n: sr,
|
|
1273
1273
|
setGlobalDateI18n: Sl,
|
|
1274
1274
|
setGlobalDateMasks: Il
|
|
1275
1275
|
};
|
|
@@ -1477,7 +1477,7 @@ const fe = {
|
|
|
1477
1477
|
}
|
|
1478
1478
|
const r = (a) => {
|
|
1479
1479
|
let i = [];
|
|
1480
|
-
ie(
|
|
1480
|
+
ie(Qn(a), (o) => {
|
|
1481
1481
|
Array.isArray(o) && o.length > 0 ? i = i.concat(o) : Ue(o) && i.push(o);
|
|
1482
1482
|
}), H(this.schema.onValidated) && this.schema.onValidated.call(this, this.model, i, this.schema);
|
|
1483
1483
|
const l = i.length === 0;
|
|
@@ -1518,7 +1518,7 @@ const fe = {
|
|
|
1518
1518
|
},
|
|
1519
1519
|
getFieldID(e, t = !1) {
|
|
1520
1520
|
const n = D(this.formOptions, "fieldIdPrefix", "");
|
|
1521
|
-
return Vt(e, n) + (t ? "-" +
|
|
1521
|
+
return Vt(e, n) + (t ? "-" + er() : "");
|
|
1522
1522
|
},
|
|
1523
1523
|
getLabelId(e) {
|
|
1524
1524
|
return `${this.getFieldID(e)}-label`;
|
|
@@ -1635,7 +1635,7 @@ const $l = /* @__PURE__ */ x(El, [["render", Ul], ["__scopeId", "data-v-6f4089bd
|
|
|
1635
1635
|
]);
|
|
1636
1636
|
};
|
|
1637
1637
|
}
|
|
1638
|
-
}),
|
|
1638
|
+
}), lr = /* @__PURE__ */ x(jl, [["__scopeId", "data-v-96055692"]]), Ll = { class: "array-item-wrapper" }, Nl = { class: "array-item" }, ql = { class: "array-item-after" }, Pl = /* @__PURE__ */ le({
|
|
1639
1639
|
__name: "FieldArrayItem",
|
|
1640
1640
|
props: {
|
|
1641
1641
|
model: {
|
|
@@ -1667,7 +1667,7 @@ const $l = /* @__PURE__ */ x(El, [["render", Ul], ["__scopeId", "data-v-6f4089bd
|
|
|
1667
1667
|
]);
|
|
1668
1668
|
};
|
|
1669
1669
|
}
|
|
1670
|
-
}),
|
|
1670
|
+
}), dr = /* @__PURE__ */ x(Pl, [["__scopeId", "data-v-eb9975cc"]]), Rl = { class: "multi-item-wrapper" }, Kl = /* @__PURE__ */ le({
|
|
1671
1671
|
__name: "FieldArrayMultiItem",
|
|
1672
1672
|
emits: ["remove-item"],
|
|
1673
1673
|
setup(e) {
|
|
@@ -1689,7 +1689,7 @@ const $l = /* @__PURE__ */ x(El, [["render", Ul], ["__scopeId", "data-v-6f4089bd
|
|
|
1689
1689
|
]);
|
|
1690
1690
|
};
|
|
1691
1691
|
}
|
|
1692
|
-
}),
|
|
1692
|
+
}), ur = /* @__PURE__ */ x(Kl, [["__scopeId", "data-v-37458a0a"]]), Dl = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}";
|
|
1693
1693
|
function Bl(e) {
|
|
1694
1694
|
return e ? e.length === 36 && new RegExp(`^${Dl}$`).test(e) : !1;
|
|
1695
1695
|
}
|
|
@@ -1858,7 +1858,7 @@ function Zl(e, t, n, r, a, i) {
|
|
|
1858
1858
|
}, 8, ["id", "modelValue", "items", "loading", "placeholder", "onChange", "onQueryChange"])
|
|
1859
1859
|
]);
|
|
1860
1860
|
}
|
|
1861
|
-
const
|
|
1861
|
+
const cr = /* @__PURE__ */ x(Yl, [["render", Zl], ["__scopeId", "data-v-dd2fda9e"]]);
|
|
1862
1862
|
function Jl(e) {
|
|
1863
1863
|
const t = pe([]), n = pe(null), r = (f) => Ue(f) ? Ve[f] != null ? Ve[f] : (console.warn(`'${f}' is not a validator function!`), null) : f, a = P({
|
|
1864
1864
|
get() {
|
|
@@ -1896,7 +1896,7 @@ function Jl(e) {
|
|
|
1896
1896
|
const T = (K) => {
|
|
1897
1897
|
var v, U;
|
|
1898
1898
|
let g = [];
|
|
1899
|
-
if (ie(
|
|
1899
|
+
if (ie(Qn(K), (L) => {
|
|
1900
1900
|
Array.isArray(L) && L.length > 0 ? g = g.concat(L) : Ue(L) && g.push(L);
|
|
1901
1901
|
}), H((v = e.schema) == null ? void 0 : v.onValidated) && e.schema.onValidated((U = e.model) == null ? void 0 : U.value, g, e.schema), !f) {
|
|
1902
1902
|
const L = g.length === 0;
|
|
@@ -1934,7 +1934,7 @@ function Jl(e) {
|
|
|
1934
1934
|
}
|
|
1935
1935
|
}, c = (f, O = !1) => {
|
|
1936
1936
|
const S = D(e.formOptions, "fieldIdPrefix", "");
|
|
1937
|
-
return Vt(f, S) + (O ? "-" +
|
|
1937
|
+
return Vt(f, S) + (O ? "-" + er() : "");
|
|
1938
1938
|
}, h = (f) => `${c(f)}-label`, y = () => D(e.schema, "fieldClasses", []), $ = (f) => e.formatValueToField && typeof e.formatValueToField == "function" ? e.formatValueToField(f) : f, R = (f) => e.formatValueToModel && typeof e.formatValueToModel == "function" ? e.formatValueToModel(f) : f;
|
|
1939
1939
|
return {
|
|
1940
1940
|
value: a,
|
|
@@ -2065,7 +2065,7 @@ const qe = {
|
|
|
2065
2065
|
);
|
|
2066
2066
|
break;
|
|
2067
2067
|
}
|
|
2068
|
-
}),
|
|
2068
|
+
}), _r(() => {
|
|
2069
2069
|
h.value === "checkbox" ? console.warn("The use of 'checkbox' inputType with 'input' type fields is deprecated. Use 'checkbox' type instead.") : h.value === "radio" ? console.warn("The use of 'radio' inputType with 'input' type fields is deprecated. Use 'radio' type instead.") : h.value === "file" && console.warn("The 'file' type in input field is deprecated. Use 'file' field instead.");
|
|
2070
2070
|
}), (T, j) => {
|
|
2071
2071
|
const K = A("KInput");
|
|
@@ -2100,9 +2100,9 @@ const qe = {
|
|
|
2100
2100
|
]);
|
|
2101
2101
|
};
|
|
2102
2102
|
}
|
|
2103
|
-
}),
|
|
2103
|
+
}), mr = /* @__PURE__ */ x(Ql, [["__scopeId", "data-v-fe1132bb"]]), ed = {
|
|
2104
2104
|
name: "FieldMetric",
|
|
2105
|
-
components: { AddIcon:
|
|
2105
|
+
components: { AddIcon: In, TrashIcon: tt },
|
|
2106
2106
|
mixins: [fe],
|
|
2107
2107
|
emits: ["remove-item"],
|
|
2108
2108
|
data() {
|
|
@@ -2126,7 +2126,7 @@ function nd(e, t, n, r, a, i) {
|
|
|
2126
2126
|
te(V(e.model.name ? e.model.name : "New Item") + " ", 1),
|
|
2127
2127
|
M(l, { class: "metric-add-icon" })
|
|
2128
2128
|
]),
|
|
2129
|
-
M(
|
|
2129
|
+
M(Mr, { name: "slide-fade" }, {
|
|
2130
2130
|
default: w(() => [
|
|
2131
2131
|
a.contentVisible ? (d(), p("div", td, [
|
|
2132
2132
|
Te(e.$slots, "default"),
|
|
@@ -2146,7 +2146,7 @@ function nd(e, t, n, r, a, i) {
|
|
|
2146
2146
|
})
|
|
2147
2147
|
], 2);
|
|
2148
2148
|
}
|
|
2149
|
-
const
|
|
2149
|
+
const hr = /* @__PURE__ */ x(ed, [["render", nd]]), rd = {
|
|
2150
2150
|
mixins: [fe],
|
|
2151
2151
|
emits: ["modelUpdated"],
|
|
2152
2152
|
data() {
|
|
@@ -2205,7 +2205,7 @@ function fd(e, t, n, r, a, i) {
|
|
|
2205
2205
|
"onUpdate:modelValue": (c) => e.value[u] = c,
|
|
2206
2206
|
type: "text"
|
|
2207
2207
|
}, null, 8, ld), [
|
|
2208
|
-
[
|
|
2208
|
+
[Ke, e.value[u]]
|
|
2209
2209
|
])
|
|
2210
2210
|
])) : k("", !0),
|
|
2211
2211
|
a.keyTypes[u] === "boolean" ? (d(), p("td", dd, [
|
|
@@ -2213,7 +2213,7 @@ function fd(e, t, n, r, a, i) {
|
|
|
2213
2213
|
"onUpdate:modelValue": (c) => e.value[u] = c,
|
|
2214
2214
|
type: "checkbox"
|
|
2215
2215
|
}, null, 8, ud), [
|
|
2216
|
-
[
|
|
2216
|
+
[wr, e.value[u]]
|
|
2217
2217
|
])
|
|
2218
2218
|
])) : k("", !0),
|
|
2219
2219
|
a.keyTypes[u] === "number" ? (d(), p("td", cd, [
|
|
@@ -2221,7 +2221,7 @@ function fd(e, t, n, r, a, i) {
|
|
|
2221
2221
|
"onUpdate:modelValue": (c) => e.value[u] = c,
|
|
2222
2222
|
type: "number"
|
|
2223
2223
|
}, null, 8, md), [
|
|
2224
|
-
[
|
|
2224
|
+
[Ke, e.value[u]]
|
|
2225
2225
|
])
|
|
2226
2226
|
])) : k("", !0),
|
|
2227
2227
|
m("td", null, [
|
|
@@ -2240,13 +2240,13 @@ function fd(e, t, n, r, a, i) {
|
|
|
2240
2240
|
m("option", { value: "number" }, " Number ", -1),
|
|
2241
2241
|
m("option", { value: "boolean" }, " Boolean ", -1)
|
|
2242
2242
|
]), 512), [
|
|
2243
|
-
[
|
|
2243
|
+
[Sr, a.newKeyType]
|
|
2244
2244
|
]),
|
|
2245
2245
|
ae(m("input", {
|
|
2246
2246
|
"onUpdate:modelValue": t[1] || (t[1] = (s) => a.newKeyName = s),
|
|
2247
2247
|
type: "text"
|
|
2248
2248
|
}, null, 512), [
|
|
2249
|
-
[
|
|
2249
|
+
[Ke, a.newKeyName]
|
|
2250
2250
|
]),
|
|
2251
2251
|
m("input", {
|
|
2252
2252
|
type: "button",
|
|
@@ -2258,7 +2258,7 @@ function fd(e, t, n, r, a, i) {
|
|
|
2258
2258
|
[o, a.attributes]
|
|
2259
2259
|
]);
|
|
2260
2260
|
}
|
|
2261
|
-
const
|
|
2261
|
+
const fr = /* @__PURE__ */ x(rd, [["render", fd], ["__scopeId", "data-v-b7e3dcd7"]]), pd = {
|
|
2262
2262
|
components: {
|
|
2263
2263
|
TrashIcon: tt
|
|
2264
2264
|
},
|
|
@@ -2290,10 +2290,6 @@ const pr = /* @__PURE__ */ x(rd, [["render", fd], ["__scopeId", "data-v-b7e3dcd7
|
|
|
2290
2290
|
get: (e, t) => ({ [this.schema.model]: e[t] }),
|
|
2291
2291
|
set: (e, t, n) => e[t] = n[this.schema.model]
|
|
2292
2292
|
}) : this.model[this.schema.model];
|
|
2293
|
-
},
|
|
2294
|
-
valueInputType() {
|
|
2295
|
-
var e;
|
|
2296
|
-
return ["number", "integer"].includes((e = this.schema.values) == null ? void 0 : e.type) ? "number" : "text";
|
|
2297
2293
|
}
|
|
2298
2294
|
},
|
|
2299
2295
|
mounted() {
|
|
@@ -2347,15 +2343,14 @@ const pr = /* @__PURE__ */ x(rd, [["render", fd], ["__scopeId", "data-v-b7e3dcd7
|
|
|
2347
2343
|
}), r;
|
|
2348
2344
|
},
|
|
2349
2345
|
addKey() {
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
this.value[this.newKeyName] = n, this.newKeyName = "";
|
|
2346
|
+
const e = this.subSchema && Array.isArray(this.subSchema.fields) && this.subSchema.fields.length === 1 && this.subSchema.fields[0].type === "array", t = this.subSchema ? e ? [""] : {} : "";
|
|
2347
|
+
this.value[this.newKeyName] = t, this.newKeyName = "";
|
|
2353
2348
|
},
|
|
2354
2349
|
updateModel(e, t) {
|
|
2355
2350
|
this.$emit("model-updated", this.model[this.schema.model], t);
|
|
2356
2351
|
}
|
|
2357
2352
|
}
|
|
2358
|
-
}, gd = ["id"], vd = ["data-testid"], yd = { class: "item-wrapper" }, bd = { class: "index-wrapper" }, _d = { key: 0 }, Md = { key: 1 }, wd = ["onUpdate:modelValue", "placeholder", "
|
|
2353
|
+
}, gd = ["id"], vd = ["data-testid"], yd = { class: "item-wrapper" }, bd = { class: "index-wrapper" }, _d = { key: 0 }, Md = { key: 1 }, wd = ["onUpdate:modelValue", "placeholder", "onInput"], Sd = {
|
|
2359
2354
|
key: 0,
|
|
2360
2355
|
class: "hint"
|
|
2361
2356
|
}, Td = { class: "input-item" }, Ad = ["placeholder"], Id = {
|
|
@@ -2404,10 +2399,10 @@ function Od(e, t, n, r, a, i) {
|
|
|
2404
2399
|
"onUpdate:modelValue": (h) => e.value[c] = h,
|
|
2405
2400
|
class: "form-control",
|
|
2406
2401
|
placeholder: e.schema.fields && e.schema.fields[0].schema.placeholder,
|
|
2407
|
-
type:
|
|
2402
|
+
type: "text",
|
|
2408
2403
|
onInput: (h) => i.updateModel(e.value[c], e.model[e.schema.model])
|
|
2409
2404
|
}, null, 40, wd), [
|
|
2410
|
-
[
|
|
2405
|
+
[Ke, e.value[c]]
|
|
2411
2406
|
]),
|
|
2412
2407
|
e.schema.fields && e.schema.fields[0].schema.hint ? (d(), p("p", Sd, V(e.schema.fields[0].schema.hint), 1)) : k("", !0),
|
|
2413
2408
|
(d(), I(re(i.autofillSlot), {
|
|
@@ -2431,7 +2426,7 @@ function Od(e, t, n, r, a, i) {
|
|
|
2431
2426
|
placeholder: e.schema.placeholder,
|
|
2432
2427
|
type: "text"
|
|
2433
2428
|
}, null, 8, Ad), [
|
|
2434
|
-
[
|
|
2429
|
+
[Ke, a.newKeyName]
|
|
2435
2430
|
]),
|
|
2436
2431
|
M(o, {
|
|
2437
2432
|
appearance: "tertiary",
|
|
@@ -2449,7 +2444,7 @@ function Od(e, t, n, r, a, i) {
|
|
|
2449
2444
|
], 2)
|
|
2450
2445
|
], 10, gd);
|
|
2451
2446
|
}
|
|
2452
|
-
const
|
|
2447
|
+
const pr = /* @__PURE__ */ x(pd, [["render", Od], ["__scopeId", "data-v-3a00058c"]]), Cd = { class: "radio-selection-group" }, Ed = /* @__PURE__ */ le({
|
|
2453
2448
|
__name: "FieldRadio",
|
|
2454
2449
|
props: {
|
|
2455
2450
|
disabled: {
|
|
@@ -2522,7 +2517,7 @@ const gr = /* @__PURE__ */ x(pd, [["render", Od], ["__scopeId", "data-v-9a0290c4
|
|
|
2522
2517
|
]);
|
|
2523
2518
|
};
|
|
2524
2519
|
}
|
|
2525
|
-
}),
|
|
2520
|
+
}), gr = /* @__PURE__ */ x(Ed, [["__scopeId", "data-v-09b8afda"]]), vr = /* @__PURE__ */ le({
|
|
2526
2521
|
__name: "FieldSelect",
|
|
2527
2522
|
props: {
|
|
2528
2523
|
disabled: {
|
|
@@ -2628,16 +2623,16 @@ const gr = /* @__PURE__ */ x(pd, [["render", Od], ["__scopeId", "data-v-9a0290c4
|
|
|
2628
2623
|
}), Fd = {
|
|
2629
2624
|
name: "FieldArray",
|
|
2630
2625
|
components: {
|
|
2631
|
-
FieldArrayItem:
|
|
2632
|
-
FieldArrayMultiItem:
|
|
2633
|
-
FieldSelect:
|
|
2634
|
-
FieldMetric:
|
|
2635
|
-
FieldObject:
|
|
2636
|
-
FieldObjectAdvanced:
|
|
2637
|
-
FieldAutoSuggest:
|
|
2638
|
-
FieldRadio:
|
|
2639
|
-
FieldArrayCardContainer:
|
|
2640
|
-
FieldInput:
|
|
2626
|
+
FieldArrayItem: dr,
|
|
2627
|
+
FieldArrayMultiItem: ur,
|
|
2628
|
+
FieldSelect: vr,
|
|
2629
|
+
FieldMetric: hr,
|
|
2630
|
+
FieldObject: fr,
|
|
2631
|
+
FieldObjectAdvanced: pr,
|
|
2632
|
+
FieldAutoSuggest: cr,
|
|
2633
|
+
FieldRadio: gr,
|
|
2634
|
+
FieldArrayCardContainer: lr,
|
|
2635
|
+
FieldInput: mr
|
|
2641
2636
|
},
|
|
2642
2637
|
mixins: [fe],
|
|
2643
2638
|
inject: {
|
|
@@ -2774,7 +2769,7 @@ function jd(e, t, n, r, a, i) {
|
|
|
2774
2769
|
}, e.schema.inputAttributes, {
|
|
2775
2770
|
type: ((h = e.schema.inputAttributes) == null ? void 0 : h.type) || "text"
|
|
2776
2771
|
}), null, 16, $d)), [
|
|
2777
|
-
[
|
|
2772
|
+
[Tr, e.value[c]]
|
|
2778
2773
|
])
|
|
2779
2774
|
];
|
|
2780
2775
|
}),
|
|
@@ -2785,7 +2780,7 @@ function jd(e, t, n, r, a, i) {
|
|
|
2785
2780
|
"aria-labelledby": e.getLabelId(e.schema),
|
|
2786
2781
|
type: "text"
|
|
2787
2782
|
}), null, 16, Vd), [
|
|
2788
|
-
[
|
|
2783
|
+
[Ke, e.value[c]]
|
|
2789
2784
|
]),
|
|
2790
2785
|
(d(), I(re(i.autofillSlot), {
|
|
2791
2786
|
schema: e.schema,
|
|
@@ -3545,28 +3540,28 @@ const bu = /* @__PURE__ */ x(uu, [["render", yu], ["__scopeId", "data-v-0aaaf597
|
|
|
3545
3540
|
__proto__: null,
|
|
3546
3541
|
FieldAdvanced: $l,
|
|
3547
3542
|
FieldArray: Ld,
|
|
3548
|
-
FieldArrayCardContainer:
|
|
3549
|
-
FieldArrayItem:
|
|
3550
|
-
FieldArrayMultiItem:
|
|
3551
|
-
FieldAutoSuggest:
|
|
3543
|
+
FieldArrayCardContainer: lr,
|
|
3544
|
+
FieldArrayItem: dr,
|
|
3545
|
+
FieldArrayMultiItem: ur,
|
|
3546
|
+
FieldAutoSuggest: cr,
|
|
3552
3547
|
FieldCheckbox: Pd,
|
|
3553
3548
|
FieldChecklist: Zd,
|
|
3554
|
-
FieldInput:
|
|
3549
|
+
FieldInput: mr,
|
|
3555
3550
|
FieldKeyValuePairs: iu,
|
|
3556
3551
|
FieldLabel: ou,
|
|
3557
|
-
FieldMetric:
|
|
3552
|
+
FieldMetric: hr,
|
|
3558
3553
|
FieldMultiselect: du,
|
|
3559
|
-
FieldObject:
|
|
3560
|
-
FieldObjectAdvanced:
|
|
3561
|
-
FieldRadio:
|
|
3562
|
-
FieldSelect:
|
|
3554
|
+
FieldObject: fr,
|
|
3555
|
+
FieldObjectAdvanced: pr,
|
|
3556
|
+
FieldRadio: gr,
|
|
3557
|
+
FieldSelect: vr,
|
|
3563
3558
|
FieldSelectionGroup: bu,
|
|
3564
3559
|
FieldSwitch: Tu,
|
|
3565
3560
|
FieldTextArea: Ou
|
|
3566
3561
|
}, Symbol.toStringTag, { value: "Module" })), Eu = {
|
|
3567
3562
|
name: "FormGroup",
|
|
3568
3563
|
components: Cu,
|
|
3569
|
-
mixins: [
|
|
3564
|
+
mixins: [Jn],
|
|
3570
3565
|
inject: {
|
|
3571
3566
|
"vfg-array-item-index": {
|
|
3572
3567
|
default: void 0
|
|
@@ -3712,7 +3707,7 @@ function Ru(e, t, n, r, a, i) {
|
|
|
3712
3707
|
placement: "top",
|
|
3713
3708
|
tooltipId: i.getTooltipId(n.field)
|
|
3714
3709
|
} : void 0
|
|
3715
|
-
},
|
|
3710
|
+
}, An({
|
|
3716
3711
|
default: w(() => [
|
|
3717
3712
|
m("div", ku, [
|
|
3718
3713
|
m("span", {
|
|
@@ -3781,7 +3776,7 @@ function Ru(e, t, n, r, a, i) {
|
|
|
3781
3776
|
const Ku = /* @__PURE__ */ x(Eu, [["render", Ru], ["__scopeId", "data-v-49ca89d6"]]), Du = {
|
|
3782
3777
|
name: "FormGenerator",
|
|
3783
3778
|
components: { formGroup: Ku },
|
|
3784
|
-
mixins: [
|
|
3779
|
+
mixins: [Jn],
|
|
3785
3780
|
inject: {
|
|
3786
3781
|
// Inject AUTOFILL_SLOT for provide()
|
|
3787
3782
|
autofillSlot: {
|
|
@@ -3794,7 +3789,7 @@ const Ku = /* @__PURE__ */ x(Eu, [["render", Ru], ["__scopeId", "data-v-49ca89d6
|
|
|
3794
3789
|
return {
|
|
3795
3790
|
// Provide AUTOFILL_SLOT only if it is not already provided
|
|
3796
3791
|
...!this.autofillSlot && {
|
|
3797
|
-
[me]: (e = this.$slots) == null ? void 0 : e[
|
|
3792
|
+
[me]: (e = this.$slots) == null ? void 0 : e[ze]
|
|
3798
3793
|
}
|
|
3799
3794
|
};
|
|
3800
3795
|
},
|
|
@@ -3968,7 +3963,7 @@ function Yu(e, t, n, r, a, i) {
|
|
|
3968
3963
|
class: "root-level-collapse",
|
|
3969
3964
|
"model-value": !1,
|
|
3970
3965
|
title: s.collapsible.title
|
|
3971
|
-
},
|
|
3966
|
+
}, An({
|
|
3972
3967
|
default: w(() => {
|
|
3973
3968
|
var c, h, y, $;
|
|
3974
3969
|
return [
|
|
@@ -4094,7 +4089,7 @@ const se = /* @__PURE__ */ x(Du, [["render", Yu]]), _n = /* @__PURE__ */ new Set
|
|
|
4094
4089
|
provide() {
|
|
4095
4090
|
var e;
|
|
4096
4091
|
return {
|
|
4097
|
-
[me]: (e = this.$slots) == null ? void 0 : e[
|
|
4092
|
+
[me]: (e = this.$slots) == null ? void 0 : e[ze]
|
|
4098
4093
|
};
|
|
4099
4094
|
},
|
|
4100
4095
|
props: {
|
|
@@ -4411,7 +4406,7 @@ const tc = /* @__PURE__ */ x(Hu, [["render", ec], ["__scopeId", "data-v-bb72c68e
|
|
|
4411
4406
|
},
|
|
4412
4407
|
setup(e) {
|
|
4413
4408
|
var l;
|
|
4414
|
-
Qe(me, (l = ot()) == null ? void 0 : l[
|
|
4409
|
+
Qe(me, (l = ot()) == null ? void 0 : l[ze]);
|
|
4415
4410
|
const { t, te: n } = st("en-us", gt), r = e, a = P(() => r.formModel.id && r.isEditing || !r.isEditing), i = P(() => {
|
|
4416
4411
|
const o = r.formSchema;
|
|
4417
4412
|
return o.fields.map((s) => {
|
|
@@ -4454,7 +4449,7 @@ const tc = /* @__PURE__ */ x(Hu, [["render", ec], ["__scopeId", "data-v-bb72c68e
|
|
|
4454
4449
|
},
|
|
4455
4450
|
setup(e) {
|
|
4456
4451
|
var l;
|
|
4457
|
-
Qe(me, (l = ot()) == null ? void 0 : l[
|
|
4452
|
+
Qe(me, (l = ot()) == null ? void 0 : l[ze]);
|
|
4458
4453
|
const { t, te: n } = st("en-us", gt), r = e, a = P(() => r.formModel.id && r.isEditing || !r.isEditing), i = P(() => {
|
|
4459
4454
|
const o = r.formSchema;
|
|
4460
4455
|
return o.fields.map((s) => {
|
|
@@ -4585,7 +4580,7 @@ const tc = /* @__PURE__ */ x(Hu, [["render", ec], ["__scopeId", "data-v-bb72c68e
|
|
|
4585
4580
|
},
|
|
4586
4581
|
setup(e) {
|
|
4587
4582
|
var K;
|
|
4588
|
-
Qe(me, (K = ot()) == null ? void 0 : K[
|
|
4583
|
+
Qe(me, (K = ot()) == null ? void 0 : K[ze]);
|
|
4589
4584
|
const t = e, n = pe("zeroSsl"), r = pe("shm"), a = P(() => {
|
|
4590
4585
|
var v;
|
|
4591
4586
|
const g = {};
|
|
@@ -4803,7 +4798,7 @@ const tc = /* @__PURE__ */ x(Hu, [["render", ec], ["__scopeId", "data-v-bb72c68e
|
|
|
4803
4798
|
},
|
|
4804
4799
|
setup(e) {
|
|
4805
4800
|
var L;
|
|
4806
|
-
Qe(me, (L = ot()) == null ? void 0 : L[
|
|
4801
|
+
Qe(me, (L = ot()) == null ? void 0 : L[ze]);
|
|
4807
4802
|
const t = {
|
|
4808
4803
|
fixed: [
|
|
4809
4804
|
{
|
|
@@ -4971,7 +4966,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
4971
4966
|
}
|
|
4972
4967
|
};
|
|
4973
4968
|
return (b, _) => {
|
|
4974
|
-
const C = A("VueFormGenerator"), F = A("KLabel"), G = A("KRadio"), de = A("KInput"), _e = A("KButton"), ee = A("KBadge"), Pe = A("KTooltip"), jt = A("KCard"),
|
|
4969
|
+
const C = A("VueFormGenerator"), F = A("KLabel"), G = A("KRadio"), de = A("KInput"), _e = A("KButton"), ee = A("KBadge"), Pe = A("KTooltip"), jt = A("KCard"), yr = A("KSelect"), br = A("KCollapse");
|
|
4975
4970
|
return d(), p(B, null, [
|
|
4976
4971
|
m("div", gc, [
|
|
4977
4972
|
M(C, {
|
|
@@ -5077,7 +5072,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5077
5072
|
onClick: () => v(X)
|
|
5078
5073
|
}, {
|
|
5079
5074
|
default: w(() => [
|
|
5080
|
-
M(E(
|
|
5075
|
+
M(E(In))
|
|
5081
5076
|
]),
|
|
5082
5077
|
_: 2
|
|
5083
5078
|
}, 1032, ["onClick"])
|
|
@@ -5118,7 +5113,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5118
5113
|
]),
|
|
5119
5114
|
_: 1
|
|
5120
5115
|
}),
|
|
5121
|
-
M(
|
|
5116
|
+
M(yr, {
|
|
5122
5117
|
modelValue: O.value,
|
|
5123
5118
|
"onUpdate:modelValue": _[1] || (_[1] = (N) => O.value = N),
|
|
5124
5119
|
class: "rla-form-identifiers",
|
|
@@ -5172,7 +5167,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5172
5167
|
])
|
|
5173
5168
|
])
|
|
5174
5169
|
]),
|
|
5175
|
-
M(
|
|
5170
|
+
M(br, {
|
|
5176
5171
|
modelValue: y.value,
|
|
5177
5172
|
"onUpdate:modelValue": _[8] || (_[8] = (N) => y.value = N),
|
|
5178
5173
|
"trigger-label": E(a)("rla.view_advanced_fields")
|
|
@@ -5239,7 +5234,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5239
5234
|
})[e];
|
|
5240
5235
|
export {
|
|
5241
5236
|
me as AUTOFILL_SLOT,
|
|
5242
|
-
|
|
5237
|
+
ze as AUTOFILL_SLOT_NAME,
|
|
5243
5238
|
Ee as FORMS_API_KEY,
|
|
5244
5239
|
se as VueFormGenerator,
|
|
5245
5240
|
jc as abstractField,
|