@kong-ui-public/forms 3.4.2 → 3.4.4
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 +128 -128
- package/dist/forms.umd.js +2 -2
- package/package.json +3 -3
package/dist/forms.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveDirective as De, withDirectives as j, openBlock as d, createElementBlock as m, normalizeClass as H, vModelCheckbox as Pt, Fragment as q, renderList as Z, createElementVNode as u, createTextVNode as ee, toDisplayString as A, createCommentVNode as M, ref as ve, computed as P, defineComponent as fe, toRefs as
|
|
1
|
+
import { resolveDirective as De, withDirectives as j, openBlock as d, createElementBlock as m, normalizeClass as H, vModelCheckbox as Pt, Fragment as q, renderList as Z, createElementVNode as u, createTextVNode as ee, toDisplayString as A, createCommentVNode as M, ref as ve, computed as P, defineComponent as fe, toRefs as Kn, onMounted as Hn, onBeforeMount as Xi, resolveComponent as F, createVNode as T, mergeProps as Ue, unref as K, withCtx as S, vModelSelect as qt, vModelText as he, vShow as kt, normalizeStyle as ft, createBlock as U, resolveDynamicComponent as me, pushScopeId as Se, popScopeId as Te, renderSlot as He, Transition as Qi, vModelDynamic as er, vModelRadio as tn, createSlots as Yn, nextTick as nn } from "vue";
|
|
2
2
|
import { createI18n as Dt } from "@kong-ui-public/i18n";
|
|
3
3
|
function Gn(e, t) {
|
|
4
4
|
for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
|
|
@@ -65,13 +65,13 @@ var Sr = 9007199254740991;
|
|
|
65
65
|
function jt(e) {
|
|
66
66
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Sr;
|
|
67
67
|
}
|
|
68
|
-
var Tr = "[object Arguments]", $r = "[object Array]", Mr = "[object Boolean]", Cr = "[object Date]", Ir = "[object Error]", Ar = "[object Function]", Or = "[object Map]", kr = "[object Number]", Er = "[object Object]", Fr = "[object RegExp]", Ur = "[object Set]", Nr = "[object String]", Lr = "[object WeakMap]", Vr = "[object ArrayBuffer]", Pr = "[object DataView]", qr = "[object Float32Array]", Dr = "[object Float64Array]", Rr = "[object Int8Array]", Br = "[object Int16Array]", jr = "[object Int32Array]",
|
|
69
|
-
J[qr] = J[Dr] = J[Rr] = J[Br] = J[jr] = J[
|
|
68
|
+
var Tr = "[object Arguments]", $r = "[object Array]", Mr = "[object Boolean]", Cr = "[object Date]", Ir = "[object Error]", Ar = "[object Function]", Or = "[object Map]", kr = "[object Number]", Er = "[object Object]", Fr = "[object RegExp]", Ur = "[object Set]", Nr = "[object String]", Lr = "[object WeakMap]", Vr = "[object ArrayBuffer]", Pr = "[object DataView]", qr = "[object Float32Array]", Dr = "[object Float64Array]", Rr = "[object Int8Array]", Br = "[object Int16Array]", jr = "[object Int32Array]", zr = "[object Uint8Array]", Kr = "[object Uint8ClampedArray]", Hr = "[object Uint16Array]", Yr = "[object Uint32Array]", J = {};
|
|
69
|
+
J[qr] = J[Dr] = J[Rr] = J[Br] = J[jr] = J[zr] = J[Kr] = J[Hr] = J[Yr] = !0;
|
|
70
70
|
J[Tr] = J[$r] = J[Vr] = J[Mr] = J[Pr] = J[Cr] = J[Ir] = J[Ar] = J[Or] = J[kr] = J[Er] = J[Fr] = J[Ur] = J[Nr] = J[Lr] = !1;
|
|
71
71
|
function Gr(e) {
|
|
72
72
|
return _e(e) && jt(e.length) && !!J[Oe(e)];
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function zt(e) {
|
|
75
75
|
return function(t) {
|
|
76
76
|
return e(t);
|
|
77
77
|
};
|
|
@@ -82,9 +82,9 @@ var Xn = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
82
82
|
return e || $t && $t.binding && $t.binding("util");
|
|
83
83
|
} catch {
|
|
84
84
|
}
|
|
85
|
-
}(), ln = Ye && Ye.isTypedArray,
|
|
85
|
+
}(), ln = Ye && Ye.isTypedArray, Kt = ln ? zt(ln) : Gr, Wr = Object.prototype, Zr = Wr.hasOwnProperty;
|
|
86
86
|
function Qn(e, t) {
|
|
87
|
-
var n = ue(e), r = !n && Rt(e), s = !n && !r && nt(e), i = !n && !r && !s &&
|
|
87
|
+
var n = ue(e), r = !n && Rt(e), s = !n && !r && nt(e), i = !n && !r && !s && Kt(e), o = n || r || s || i, a = o ? rr(e.length, String) : [], l = a.length;
|
|
88
88
|
for (var c in e)
|
|
89
89
|
(t || Zr.call(e, c)) && !(o && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
90
90
|
(c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -286,20 +286,20 @@ $e.prototype.get = Rs;
|
|
|
286
286
|
$e.prototype.has = Bs;
|
|
287
287
|
$e.prototype.set = js;
|
|
288
288
|
var rt = Be(pe, "Map");
|
|
289
|
-
function
|
|
289
|
+
function zs() {
|
|
290
290
|
this.size = 0, this.__data__ = {
|
|
291
291
|
hash: new Le(),
|
|
292
292
|
map: new (rt || $e)(),
|
|
293
293
|
string: new Le()
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function Ks(e) {
|
|
297
297
|
var t = typeof e;
|
|
298
298
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
299
299
|
}
|
|
300
300
|
function bt(e, t) {
|
|
301
301
|
var n = e.__data__;
|
|
302
|
-
return
|
|
302
|
+
return Ks(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
303
303
|
}
|
|
304
304
|
function Hs(e) {
|
|
305
305
|
var t = bt(this, e).delete(e);
|
|
@@ -322,7 +322,7 @@ function Me(e) {
|
|
|
322
322
|
this.set(r[0], r[1]);
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
-
Me.prototype.clear =
|
|
325
|
+
Me.prototype.clear = zs;
|
|
326
326
|
Me.prototype.delete = Hs;
|
|
327
327
|
Me.prototype.get = Ys;
|
|
328
328
|
Me.prototype.has = Gs;
|
|
@@ -578,8 +578,8 @@ function Et(e) {
|
|
|
578
578
|
function Oa(e) {
|
|
579
579
|
return fi(e, St, hi);
|
|
580
580
|
}
|
|
581
|
-
var Ft = Be(pe, "DataView"), Ut = Be(pe, "Promise"),
|
|
582
|
-
(Ft && Fe(new Ft(new ArrayBuffer(1))) != _n || rt && Fe(new rt()) != gn || Ut && Fe(Ut.resolve()) != yn ||
|
|
581
|
+
var Ft = Be(pe, "DataView"), Ut = Be(pe, "Promise"), Ke = Be(pe, "Set"), Nt = Be(pe, "WeakMap"), gn = "[object Map]", ka = "[object Object]", yn = "[object Promise]", vn = "[object Set]", bn = "[object WeakMap]", _n = "[object DataView]", Ea = Re(Ft), Fa = Re(rt), Ua = Re(Ut), Na = Re(Ke), La = Re(Nt), Fe = Oe;
|
|
582
|
+
(Ft && Fe(new Ft(new ArrayBuffer(1))) != _n || rt && Fe(new rt()) != gn || Ut && Fe(Ut.resolve()) != yn || Ke && Fe(new Ke()) != vn || Nt && Fe(new Nt()) != bn) && (Fe = function(e) {
|
|
583
583
|
var t = Oe(e), n = t == ka ? e.constructor : void 0, r = n ? Re(n) : "";
|
|
584
584
|
if (r)
|
|
585
585
|
switch (r) {
|
|
@@ -620,17 +620,17 @@ var wn = be ? be.prototype : void 0, Sn = wn ? wn.valueOf : void 0;
|
|
|
620
620
|
function ja(e) {
|
|
621
621
|
return Sn ? Object(Sn.call(e)) : {};
|
|
622
622
|
}
|
|
623
|
-
function
|
|
623
|
+
function za(e, t) {
|
|
624
624
|
var n = t ? xt(e.buffer) : e.buffer;
|
|
625
625
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
626
626
|
}
|
|
627
|
-
var
|
|
627
|
+
var Ka = "[object Boolean]", Ha = "[object Date]", Ya = "[object Map]", Ga = "[object Number]", xa = "[object RegExp]", Wa = "[object Set]", Za = "[object String]", Ja = "[object Symbol]", Xa = "[object ArrayBuffer]", Qa = "[object DataView]", eo = "[object Float32Array]", to = "[object Float64Array]", no = "[object Int8Array]", io = "[object Int16Array]", ro = "[object Int32Array]", so = "[object Uint8Array]", ao = "[object Uint8ClampedArray]", oo = "[object Uint16Array]", lo = "[object Uint32Array]";
|
|
628
628
|
function uo(e, t, n) {
|
|
629
629
|
var r = e.constructor;
|
|
630
630
|
switch (t) {
|
|
631
631
|
case Xa:
|
|
632
632
|
return xt(e);
|
|
633
|
-
case
|
|
633
|
+
case Ka:
|
|
634
634
|
case Ha:
|
|
635
635
|
return new r(+e);
|
|
636
636
|
case Qa:
|
|
@@ -644,7 +644,7 @@ function uo(e, t, n) {
|
|
|
644
644
|
case ao:
|
|
645
645
|
case oo:
|
|
646
646
|
case lo:
|
|
647
|
-
return
|
|
647
|
+
return za(e, n);
|
|
648
648
|
case Ya:
|
|
649
649
|
return new r();
|
|
650
650
|
case Ga:
|
|
@@ -678,12 +678,12 @@ var ho = "[object Map]";
|
|
|
678
678
|
function fo(e) {
|
|
679
679
|
return _e(e) && Ge(e) == ho;
|
|
680
680
|
}
|
|
681
|
-
var $n = Ye && Ye.isMap, po = $n ?
|
|
681
|
+
var $n = Ye && Ye.isMap, po = $n ? zt($n) : fo, go = "[object Set]";
|
|
682
682
|
function yo(e) {
|
|
683
683
|
return _e(e) && Ge(e) == go;
|
|
684
684
|
}
|
|
685
|
-
var Mn = Ye && Ye.isSet, vo = Mn ?
|
|
686
|
-
W[pi] = W[So] = W[No] = W[Lo] = W[To] = W[$o] = W[Vo] = W[Po] = W[qo] = W[Do] = W[Ro] = W[Io] = W[Ao] = W[yi] = W[Oo] = W[ko] = W[Eo] = W[Fo] = W[Bo] = W[jo] = W[
|
|
685
|
+
var Mn = Ye && Ye.isSet, vo = Mn ? zt(Mn) : yo, bo = 1, _o = 2, wo = 4, pi = "[object Arguments]", So = "[object Array]", To = "[object Boolean]", $o = "[object Date]", Mo = "[object Error]", gi = "[object Function]", Co = "[object GeneratorFunction]", Io = "[object Map]", Ao = "[object Number]", yi = "[object Object]", Oo = "[object RegExp]", ko = "[object Set]", Eo = "[object String]", Fo = "[object Symbol]", Uo = "[object WeakMap]", No = "[object ArrayBuffer]", Lo = "[object DataView]", Vo = "[object Float32Array]", Po = "[object Float64Array]", qo = "[object Int8Array]", Do = "[object Int16Array]", Ro = "[object Int32Array]", Bo = "[object Uint8Array]", jo = "[object Uint8ClampedArray]", zo = "[object Uint16Array]", Ko = "[object Uint32Array]", W = {};
|
|
686
|
+
W[pi] = W[So] = W[No] = W[Lo] = W[To] = W[$o] = W[Vo] = W[Po] = W[qo] = W[Do] = W[Ro] = W[Io] = W[Ao] = W[yi] = W[Oo] = W[ko] = W[Eo] = W[Fo] = W[Bo] = W[jo] = W[zo] = W[Ko] = !0;
|
|
687
687
|
W[Mo] = W[gi] = W[Uo] = !1;
|
|
688
688
|
function et(e, t, n, r, s, i) {
|
|
689
689
|
var o, a = t & bo, l = t & _o, c = t & wo;
|
|
@@ -856,8 +856,8 @@ function Zt(e) {
|
|
|
856
856
|
n[++t] = r;
|
|
857
857
|
}), n;
|
|
858
858
|
}
|
|
859
|
-
var hl = 1 / 0, fl =
|
|
860
|
-
return new
|
|
859
|
+
var hl = 1 / 0, fl = Ke && 1 / Zt(new Ke([, -0]))[1] == hl ? function(e) {
|
|
860
|
+
return new Ke(e);
|
|
861
861
|
} : ml, pl = 200;
|
|
862
862
|
function gl(e, t, n) {
|
|
863
863
|
var r = -1, s = ul, i = e.length, o = !0, a = [], l = a;
|
|
@@ -1155,7 +1155,7 @@ var Ii = [
|
|
|
1155
1155
|
}
|
|
1156
1156
|
return 0;
|
|
1157
1157
|
}
|
|
1158
|
-
],
|
|
1158
|
+
], zl = {
|
|
1159
1159
|
D: ["day", Ae],
|
|
1160
1160
|
DD: ["day", Ie],
|
|
1161
1161
|
Do: ["day", Ae + tt, function(e) {
|
|
@@ -1208,7 +1208,7 @@ var Ii = [
|
|
|
1208
1208
|
shortTime: "HH:mm",
|
|
1209
1209
|
mediumTime: "HH:mm:ss",
|
|
1210
1210
|
longTime: "HH:mm:ss.SSS"
|
|
1211
|
-
},
|
|
1211
|
+
}, Kl = function(e) {
|
|
1212
1212
|
return Pe(ht, e);
|
|
1213
1213
|
}, Hl = function(e, t, n) {
|
|
1214
1214
|
if (t === void 0 && (t = ht.default), n === void 0 && (n = {}), typeof e == "number" && (e = new Date(e)), Object.prototype.toString.call(e) !== "[object Date]" || isNaN(e.getTime()))
|
|
@@ -1244,7 +1244,7 @@ function Yl(e, t, n) {
|
|
|
1244
1244
|
return o.push(En(b)), "@@@";
|
|
1245
1245
|
}), l = {}, c = {};
|
|
1246
1246
|
a = En(a).replace($i, function(G) {
|
|
1247
|
-
var b =
|
|
1247
|
+
var b = zl[G], p = b[0], O = b[1], x = b[3];
|
|
1248
1248
|
if (l[p])
|
|
1249
1249
|
throw new Error("Invalid format. " + p + " specified twice in format");
|
|
1250
1250
|
return l[p] = !0, x && (c[x] = !0), i.push(b), "(" + O + ")";
|
|
@@ -1285,7 +1285,7 @@ var ge = {
|
|
|
1285
1285
|
parse: Yl,
|
|
1286
1286
|
defaultI18n: Oi,
|
|
1287
1287
|
setGlobalDateI18n: Bl,
|
|
1288
|
-
setGlobalDateMasks:
|
|
1288
|
+
setGlobalDateMasks: Kl
|
|
1289
1289
|
};
|
|
1290
1290
|
const se = {
|
|
1291
1291
|
fieldIsRequired: "This field is required!",
|
|
@@ -1447,7 +1447,7 @@ function It(e, t, n) {
|
|
|
1447
1447
|
e.setAttribute(o, i);
|
|
1448
1448
|
});
|
|
1449
1449
|
}
|
|
1450
|
-
const
|
|
1450
|
+
const z = {
|
|
1451
1451
|
name: "abstractField",
|
|
1452
1452
|
props: ["vfg", "model", "schema", "formOptions", "disabled"],
|
|
1453
1453
|
emits: ["validated", "modelUpdated"],
|
|
@@ -1560,9 +1560,9 @@ const K = {
|
|
|
1560
1560
|
}
|
|
1561
1561
|
}, mp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1562
1562
|
__proto__: null,
|
|
1563
|
-
default:
|
|
1563
|
+
default: z
|
|
1564
1564
|
}, Symbol.toStringTag, { value: "Module" })), Gl = {
|
|
1565
|
-
mixins: [
|
|
1565
|
+
mixins: [z]
|
|
1566
1566
|
}, xl = ["id", "autocomplete", "disabled", "name", "required"];
|
|
1567
1567
|
function Wl(e, t, n, r, s, i) {
|
|
1568
1568
|
const o = De("attributes");
|
|
@@ -1654,7 +1654,7 @@ function ad(e, t, n, r, s, i) {
|
|
|
1654
1654
|
]);
|
|
1655
1655
|
}
|
|
1656
1656
|
const od = {
|
|
1657
|
-
mixins: [
|
|
1657
|
+
mixins: [z],
|
|
1658
1658
|
data() {
|
|
1659
1659
|
return {
|
|
1660
1660
|
comboExpanded: !1
|
|
@@ -1838,7 +1838,7 @@ const ki = {
|
|
|
1838
1838
|
},
|
|
1839
1839
|
emits: ["modelUpdated"],
|
|
1840
1840
|
setup(e, { expose: t, emit: n }) {
|
|
1841
|
-
const r = e, s = n, i =
|
|
1841
|
+
const r = e, s = n, i = Kn(r), { updateModelValue: o, getFieldID: a, clearValidationErrors: l, value: c } = ki.useAbstractFields({
|
|
1842
1842
|
model: i.model,
|
|
1843
1843
|
schema: r.schema,
|
|
1844
1844
|
formOptions: r.formOptions,
|
|
@@ -1913,16 +1913,16 @@ const ki = {
|
|
|
1913
1913
|
const Y = F("KInput");
|
|
1914
1914
|
return d(), m("div", ud, [
|
|
1915
1915
|
T(Y, Ue(y.$attrs, {
|
|
1916
|
-
id:
|
|
1916
|
+
id: K(a)(e.schema),
|
|
1917
1917
|
autocomplete: e.schema.autocomplete,
|
|
1918
1918
|
class: e.schema.fieldClasses,
|
|
1919
1919
|
disabled: e.disabled || null,
|
|
1920
|
-
help: e.hint ? e.hint : h.value === "color" || h.value === "range" ?
|
|
1920
|
+
help: e.hint ? e.hint : h.value === "color" || h.value === "range" ? K(c) : void 0,
|
|
1921
1921
|
max: e.schema.max,
|
|
1922
1922
|
maxlength: e.schema.maxlength,
|
|
1923
1923
|
min: e.schema.min,
|
|
1924
1924
|
minlength: e.schema.minlength,
|
|
1925
|
-
"model-value":
|
|
1925
|
+
"model-value": K(c),
|
|
1926
1926
|
name: e.schema.inputName,
|
|
1927
1927
|
pattern: e.schema.pattern,
|
|
1928
1928
|
placeholder: e.schema.placeholder,
|
|
@@ -1963,7 +1963,7 @@ const ki = {
|
|
|
1963
1963
|
}
|
|
1964
1964
|
},
|
|
1965
1965
|
setup(e) {
|
|
1966
|
-
const t = e, n =
|
|
1966
|
+
const t = e, n = Kn(t), { getFieldID: r, value: s } = ki.useAbstractFields({
|
|
1967
1967
|
model: n.model,
|
|
1968
1968
|
schema: t.schema,
|
|
1969
1969
|
formOptions: t.formOptions
|
|
@@ -1974,10 +1974,10 @@ const ki = {
|
|
|
1974
1974
|
class: H(["field-label", e.schema.fieldClasses])
|
|
1975
1975
|
}, [
|
|
1976
1976
|
T(a, {
|
|
1977
|
-
id:
|
|
1977
|
+
id: K(r)(e.schema)
|
|
1978
1978
|
}, {
|
|
1979
1979
|
default: S(() => [
|
|
1980
|
-
ee(A(
|
|
1980
|
+
ee(A(K(s)), 1)
|
|
1981
1981
|
]),
|
|
1982
1982
|
_: 1
|
|
1983
1983
|
}, 8, ["id"])
|
|
@@ -2016,7 +2016,7 @@ function gd(e, t, n, r, s, i) {
|
|
|
2016
2016
|
]);
|
|
2017
2017
|
}
|
|
2018
2018
|
const yd = {
|
|
2019
|
-
mixins: [
|
|
2019
|
+
mixins: [z],
|
|
2020
2020
|
computed: {
|
|
2021
2021
|
items() {
|
|
2022
2022
|
const e = this.schema.values;
|
|
@@ -2182,7 +2182,7 @@ function Rd(e, t, n, r, s, i) {
|
|
|
2182
2182
|
return i.delete(e), i.delete(t), w;
|
|
2183
2183
|
}
|
|
2184
2184
|
var Bd = 1, Rn = "[object Arguments]", Bn = "[object Array]", dt = "[object Object]", jd = Object.prototype, jn = jd.hasOwnProperty;
|
|
2185
|
-
function
|
|
2185
|
+
function zd(e, t, n, r, s, i) {
|
|
2186
2186
|
var o = ue(e), a = ue(t), l = o ? Bn : Ge(e), c = a ? Bn : Ge(t);
|
|
2187
2187
|
l = l == Rn ? dt : l, c = c == Rn ? dt : c;
|
|
2188
2188
|
var h = l == dt, g = c == dt, v = l == c;
|
|
@@ -2192,7 +2192,7 @@ function Kd(e, t, n, r, s, i) {
|
|
|
2192
2192
|
o = !0, h = !1;
|
|
2193
2193
|
}
|
|
2194
2194
|
if (v && !h)
|
|
2195
|
-
return i || (i = new ye()), o ||
|
|
2195
|
+
return i || (i = new ye()), o || Kt(e) ? Fi(e, t, n, r, s, i) : Vd(e, t, l, n, r, s, i);
|
|
2196
2196
|
if (!(n & Bd)) {
|
|
2197
2197
|
var L = h && jn.call(e, "__wrapped__"), V = g && jn.call(t, "__wrapped__");
|
|
2198
2198
|
if (L || V) {
|
|
@@ -2203,9 +2203,9 @@ function Kd(e, t, n, r, s, i) {
|
|
|
2203
2203
|
return v ? (i || (i = new ye()), Rd(e, t, n, r, s, i)) : !1;
|
|
2204
2204
|
}
|
|
2205
2205
|
function Jt(e, t, n, r, s) {
|
|
2206
|
-
return e === t ? !0 : e == null || t == null || !_e(e) && !_e(t) ? e !== e && t !== t :
|
|
2206
|
+
return e === t ? !0 : e == null || t == null || !_e(e) && !_e(t) ? e !== e && t !== t : zd(e, t, n, r, Jt, s);
|
|
2207
2207
|
}
|
|
2208
|
-
var
|
|
2208
|
+
var Kd = 1, Hd = 2;
|
|
2209
2209
|
function Yd(e, t, n, r) {
|
|
2210
2210
|
var s = n.length, i = s, o = !r;
|
|
2211
2211
|
if (e == null)
|
|
@@ -2225,7 +2225,7 @@ function Yd(e, t, n, r) {
|
|
|
2225
2225
|
var g = new ye();
|
|
2226
2226
|
if (r)
|
|
2227
2227
|
var v = r(c, h, l, e, t, g);
|
|
2228
|
-
if (!(v === void 0 ? Jt(h, c,
|
|
2228
|
+
if (!(v === void 0 ? Jt(h, c, Kd | Hd, r, g) : v))
|
|
2229
2229
|
return !1;
|
|
2230
2230
|
}
|
|
2231
2231
|
}
|
|
@@ -2348,7 +2348,7 @@ function hu(e, t, n, r, s, i) {
|
|
|
2348
2348
|
]);
|
|
2349
2349
|
}
|
|
2350
2350
|
const fu = {
|
|
2351
|
-
mixins: [
|
|
2351
|
+
mixins: [z],
|
|
2352
2352
|
computed: {
|
|
2353
2353
|
selectOptions() {
|
|
2354
2354
|
return this.schema.selectOptions || {};
|
|
@@ -2409,7 +2409,7 @@ var pu = "[object Map]", gu = "[object Set]", yu = Object.prototype, vu = yu.has
|
|
|
2409
2409
|
function bu(e) {
|
|
2410
2410
|
if (e == null)
|
|
2411
2411
|
return !0;
|
|
2412
|
-
if (We(e) && (ue(e) || typeof e == "string" || typeof e.splice == "function" || nt(e) ||
|
|
2412
|
+
if (We(e) && (ue(e) || typeof e == "string" || typeof e.splice == "function" || nt(e) || Kt(e) || Rt(e)))
|
|
2413
2413
|
return !e.length;
|
|
2414
2414
|
var t = Ge(e);
|
|
2415
2415
|
if (t == pu || t == gu)
|
|
@@ -2434,7 +2434,7 @@ function wu(e, t, n, r, s, i) {
|
|
|
2434
2434
|
}, null, 10, _u);
|
|
2435
2435
|
}
|
|
2436
2436
|
const Su = {
|
|
2437
|
-
mixins: [
|
|
2437
|
+
mixins: [z],
|
|
2438
2438
|
methods: {
|
|
2439
2439
|
onClick(e) {
|
|
2440
2440
|
if (this.schema.validateBeforeSubmit === !0) {
|
|
@@ -2468,7 +2468,7 @@ function Mu(e, t, n, r, s, i) {
|
|
|
2468
2468
|
]);
|
|
2469
2469
|
}
|
|
2470
2470
|
const Cu = {
|
|
2471
|
-
mixins: [
|
|
2471
|
+
mixins: [z]
|
|
2472
2472
|
}, Pi = /* @__PURE__ */ N(Cu, [["render", Mu]]), Iu = { class: "wrapper" }, Au = ["id", "name", "accept", "multiple", "placeholder", "readonly", "required", "disabled"];
|
|
2473
2473
|
function Ou(e, t, n, r, s, i) {
|
|
2474
2474
|
const o = De("attributes");
|
|
@@ -2493,7 +2493,7 @@ function Ou(e, t, n, r, s, i) {
|
|
|
2493
2493
|
]);
|
|
2494
2494
|
}
|
|
2495
2495
|
const ku = {
|
|
2496
|
-
mixins: [
|
|
2496
|
+
mixins: [z],
|
|
2497
2497
|
methods: {
|
|
2498
2498
|
onChange(e) {
|
|
2499
2499
|
B(this.schema.onChanged) && this.schema.onChanged.call(this, this.model, this.schema, e, this);
|
|
@@ -2514,7 +2514,7 @@ function Uu(e, t, n, r, s, i) {
|
|
|
2514
2514
|
}, null, 8, Fu);
|
|
2515
2515
|
}
|
|
2516
2516
|
const Nu = {
|
|
2517
|
-
mixins: [
|
|
2517
|
+
mixins: [z],
|
|
2518
2518
|
data() {
|
|
2519
2519
|
return {
|
|
2520
2520
|
cleave: null
|
|
@@ -2597,15 +2597,15 @@ function Du(e, t, n, r, s, i) {
|
|
|
2597
2597
|
qu
|
|
2598
2598
|
]);
|
|
2599
2599
|
}
|
|
2600
|
-
const
|
|
2601
|
-
mixins: [
|
|
2600
|
+
const zn = "YYYY-MM-DD HH:mm:ss", Ru = {
|
|
2601
|
+
mixins: [z],
|
|
2602
2602
|
mounted() {
|
|
2603
2603
|
this.$nextTick(function() {
|
|
2604
2604
|
if (window.$ && window.$.fn.datetimepicker) {
|
|
2605
2605
|
const e = this.$el.querySelector(".form-control");
|
|
2606
2606
|
$(this.$el).datetimepicker(
|
|
2607
2607
|
ke(this.schema.dateTimePickerOptions || {}, {
|
|
2608
|
-
format:
|
|
2608
|
+
format: zn
|
|
2609
2609
|
})
|
|
2610
2610
|
).on("dp.change", () => {
|
|
2611
2611
|
this.value = e.value;
|
|
@@ -2621,12 +2621,12 @@ const Kn = "YYYY-MM-DD HH:mm:ss", Ru = {
|
|
|
2621
2621
|
},
|
|
2622
2622
|
methods: {
|
|
2623
2623
|
getDateFormat() {
|
|
2624
|
-
return this.schema.dateTimePickerOptions && this.schema.dateTimePickerOptions.format ? this.schema.dateTimePickerOptions.format :
|
|
2624
|
+
return this.schema.dateTimePickerOptions && this.schema.dateTimePickerOptions.format ? this.schema.dateTimePickerOptions.format : zn;
|
|
2625
2625
|
},
|
|
2626
2626
|
...qi
|
|
2627
2627
|
}
|
|
2628
2628
|
}, Bu = /* @__PURE__ */ N(Ru, [["render", Du]]), ju = ["autocomplete", "disabled", "placeholder", "readonly", "name", "id"];
|
|
2629
|
-
function
|
|
2629
|
+
function zu(e, t, n, r, s, i) {
|
|
2630
2630
|
return j((d(), m("input", {
|
|
2631
2631
|
class: "form-control",
|
|
2632
2632
|
type: "text",
|
|
@@ -2643,8 +2643,8 @@ function Ku(e, t, n, r, s, i) {
|
|
|
2643
2643
|
[he, e.value]
|
|
2644
2644
|
]);
|
|
2645
2645
|
}
|
|
2646
|
-
const
|
|
2647
|
-
mixins: [
|
|
2646
|
+
const Ku = {
|
|
2647
|
+
mixins: [z],
|
|
2648
2648
|
data() {
|
|
2649
2649
|
return {
|
|
2650
2650
|
// google autocomplete object
|
|
@@ -2705,7 +2705,7 @@ const zu = {
|
|
|
2705
2705
|
});
|
|
2706
2706
|
}
|
|
2707
2707
|
}
|
|
2708
|
-
}, Hu = /* @__PURE__ */ N(
|
|
2708
|
+
}, Hu = /* @__PURE__ */ N(Ku, [["render", zu]]), Yu = { class: "wrapper" }, Gu = ["autocomplete", "disabled", "placeholder", "readonly"], xu = ["disabled", "name"];
|
|
2709
2709
|
function Wu(e, t, n, r, s, i) {
|
|
2710
2710
|
return d(), m("div", Yu, [
|
|
2711
2711
|
j(u("input", {
|
|
@@ -2741,7 +2741,7 @@ function Wu(e, t, n, r, s, i) {
|
|
|
2741
2741
|
]);
|
|
2742
2742
|
}
|
|
2743
2743
|
const Zu = {
|
|
2744
|
-
mixins: [
|
|
2744
|
+
mixins: [z],
|
|
2745
2745
|
computed: {
|
|
2746
2746
|
previewStyle() {
|
|
2747
2747
|
return this.schema.preview !== !1 ? {
|
|
@@ -2797,7 +2797,7 @@ function Qu(e, t, n, r, s, i) {
|
|
|
2797
2797
|
]);
|
|
2798
2798
|
}
|
|
2799
2799
|
const ec = {
|
|
2800
|
-
mixins: [
|
|
2800
|
+
mixins: [z],
|
|
2801
2801
|
mounted() {
|
|
2802
2802
|
this.$nextTick(function() {
|
|
2803
2803
|
window.$ && window.$.fn.mask ? $(this.$el).unmask().mask(this.schema.mask, this.schema.maskOptions) : console.warn(
|
|
@@ -2809,7 +2809,7 @@ const ec = {
|
|
|
2809
2809
|
window.$ && window.$.fn.mask && $(this.$el).unmask();
|
|
2810
2810
|
}
|
|
2811
2811
|
}, tc = /* @__PURE__ */ N(ec, [["render", Qu]]), nc = {
|
|
2812
|
-
mixins: [
|
|
2812
|
+
mixins: [z],
|
|
2813
2813
|
data() {
|
|
2814
2814
|
return {
|
|
2815
2815
|
slider: null
|
|
@@ -2888,7 +2888,7 @@ function oc(e, t, n, r, s, i) {
|
|
|
2888
2888
|
]);
|
|
2889
2889
|
}
|
|
2890
2890
|
const lc = "YYYY-MM-DD", dc = {
|
|
2891
|
-
mixins: [
|
|
2891
|
+
mixins: [z],
|
|
2892
2892
|
data() {
|
|
2893
2893
|
return {
|
|
2894
2894
|
picker: null,
|
|
@@ -2934,7 +2934,7 @@ function mc(e, t, n, r, s, i) {
|
|
|
2934
2934
|
}, null, 8, cc);
|
|
2935
2935
|
}
|
|
2936
2936
|
const hc = {
|
|
2937
|
-
mixins: [
|
|
2937
|
+
mixins: [z],
|
|
2938
2938
|
data() {
|
|
2939
2939
|
return {
|
|
2940
2940
|
slider: null
|
|
@@ -3006,7 +3006,7 @@ function vc(e, t, n, r, s, i) {
|
|
|
3006
3006
|
]);
|
|
3007
3007
|
}
|
|
3008
3008
|
const bc = {
|
|
3009
|
-
mixins: [
|
|
3009
|
+
mixins: [z],
|
|
3010
3010
|
computed: {
|
|
3011
3011
|
items() {
|
|
3012
3012
|
const e = this.schema.values;
|
|
@@ -3066,7 +3066,7 @@ function Sc(e, t, n, r, s, i) {
|
|
|
3066
3066
|
}, null, 8, wc);
|
|
3067
3067
|
}
|
|
3068
3068
|
const Tc = {
|
|
3069
|
-
mixins: [
|
|
3069
|
+
mixins: [z],
|
|
3070
3070
|
data() {
|
|
3071
3071
|
return {
|
|
3072
3072
|
picker: null
|
|
@@ -3107,7 +3107,7 @@ function Cc(e, t, n, r, s, i) {
|
|
|
3107
3107
|
return d(), m("img", { src: i.mapLink }, null, 8, Mc);
|
|
3108
3108
|
}
|
|
3109
3109
|
const Ic = {
|
|
3110
|
-
mixins: [
|
|
3110
|
+
mixins: [z],
|
|
3111
3111
|
computed: {
|
|
3112
3112
|
mapLink() {
|
|
3113
3113
|
let e, t, n;
|
|
@@ -3150,7 +3150,7 @@ function Fc(e, t, n, r, s, i) {
|
|
|
3150
3150
|
]);
|
|
3151
3151
|
}
|
|
3152
3152
|
const Uc = {
|
|
3153
|
-
mixins: [
|
|
3153
|
+
mixins: [z],
|
|
3154
3154
|
methods: {
|
|
3155
3155
|
formatValueToField(e) {
|
|
3156
3156
|
return e != null && this.schema.valueOn ? e === this.schema.valueOn : e;
|
|
@@ -3160,7 +3160,7 @@ const Uc = {
|
|
|
3160
3160
|
}
|
|
3161
3161
|
}
|
|
3162
3162
|
}, Nc = /* @__PURE__ */ N(Uc, [["render", Fc]]), Lc = {
|
|
3163
|
-
mixins: [
|
|
3163
|
+
mixins: [z],
|
|
3164
3164
|
data() {
|
|
3165
3165
|
return {
|
|
3166
3166
|
attributes: this.schema ? this.schema.attributes : void 0,
|
|
@@ -3193,7 +3193,7 @@ const Uc = {
|
|
|
3193
3193
|
this.value[this.newKeyName] = void 0, this.value = { ...this.value }, this.keyTypes[this.newKeyName] = this.newKeyType, this.keyTypes = { ...this.keyTypes }, this.newKeyName = "";
|
|
3194
3194
|
}
|
|
3195
3195
|
}
|
|
3196
|
-
}, Vc = { key: 0 }, Pc = { key: 1 }, qc = ["id"], Dc = { key: 0 }, Rc = ["onUpdate:modelValue"], Bc = { key: 1 }, jc = ["onUpdate:modelValue"],
|
|
3196
|
+
}, Vc = { key: 0 }, Pc = { key: 1 }, qc = ["id"], Dc = { key: 0 }, Rc = ["onUpdate:modelValue"], Bc = { key: 1 }, jc = ["onUpdate:modelValue"], zc = { key: 2 }, Kc = ["onUpdate:modelValue"], Hc = ["onClick"], Yc = /* @__PURE__ */ u("option", { value: "string" }, " String ", -1), Gc = /* @__PURE__ */ u("option", { value: "number" }, " Number ", -1), xc = /* @__PURE__ */ u("option", { value: "boolean" }, " Boolean ", -1), Wc = [
|
|
3197
3197
|
Yc,
|
|
3198
3198
|
Gc,
|
|
3199
3199
|
xc
|
|
@@ -3230,11 +3230,11 @@ function Zc(e, t, n, r, s, i) {
|
|
|
3230
3230
|
[Pt, e.value[c]]
|
|
3231
3231
|
])
|
|
3232
3232
|
])) : M("", !0),
|
|
3233
|
-
s.keyTypes[c] === "number" ? (d(), m("td",
|
|
3233
|
+
s.keyTypes[c] === "number" ? (d(), m("td", zc, [
|
|
3234
3234
|
j(u("input", {
|
|
3235
3235
|
"onUpdate:modelValue": (h) => e.value[c] = h,
|
|
3236
3236
|
type: "number"
|
|
3237
|
-
}, null, 8,
|
|
3237
|
+
}, null, 8, Kc), [
|
|
3238
3238
|
[he, e.value[c]]
|
|
3239
3239
|
])
|
|
3240
3240
|
])) : M("", !0),
|
|
@@ -3273,7 +3273,7 @@ const Di = /* @__PURE__ */ N(Lc, [["render", Zc]]), xe = "24px", Xt = (e, t) =>
|
|
|
3273
3273
|
for (const [r, s] of t)
|
|
3274
3274
|
n[r] = s;
|
|
3275
3275
|
return n;
|
|
3276
|
-
}, Jc = (e) => (Se("data-v-
|
|
3276
|
+
}, Jc = (e) => (Se("data-v-f68c7837"), e = e(), Te(), e), Xc = ["aria-hidden"], Qc = {
|
|
3277
3277
|
key: 0,
|
|
3278
3278
|
"data-testid": "kui-icon-svg-title"
|
|
3279
3279
|
}, em = /* @__PURE__ */ Jc(() => /* @__PURE__ */ u("path", {
|
|
@@ -3372,7 +3372,7 @@ const Di = /* @__PURE__ */ N(Lc, [["render", Zc]]), xe = "24px", Xt = (e, t) =>
|
|
|
3372
3372
|
_: 1
|
|
3373
3373
|
}, 8, ["aria-hidden", "style"]));
|
|
3374
3374
|
}
|
|
3375
|
-
}), Ri = /* @__PURE__ */ Xt(tm, [["__scopeId", "data-v-
|
|
3375
|
+
}), Ri = /* @__PURE__ */ Xt(tm, [["__scopeId", "data-v-f68c7837"]]), nm = (e) => (Se("data-v-02e6441f"), e = e(), Te(), e), im = ["aria-hidden"], rm = {
|
|
3376
3376
|
key: 0,
|
|
3377
3377
|
"data-testid": "kui-icon-svg-title"
|
|
3378
3378
|
}, sm = /* @__PURE__ */ nm(() => /* @__PURE__ */ u("path", {
|
|
@@ -3471,7 +3471,7 @@ const Di = /* @__PURE__ */ N(Lc, [["render", Zc]]), xe = "24px", Xt = (e, t) =>
|
|
|
3471
3471
|
_: 1
|
|
3472
3472
|
}, 8, ["aria-hidden", "style"]));
|
|
3473
3473
|
}
|
|
3474
|
-
}), om = /* @__PURE__ */ Xt(am, [["__scopeId", "data-v-
|
|
3474
|
+
}), om = /* @__PURE__ */ Xt(am, [["__scopeId", "data-v-02e6441f"]]), lm = (e) => (Se("data-v-61f7c481"), e = e(), Te(), e), dm = ["aria-hidden"], um = {
|
|
3475
3475
|
key: 0,
|
|
3476
3476
|
"data-testid": "kui-icon-svg-title"
|
|
3477
3477
|
}, cm = /* @__PURE__ */ lm(() => /* @__PURE__ */ u("path", {
|
|
@@ -3570,11 +3570,11 @@ const Di = /* @__PURE__ */ N(Lc, [["render", Zc]]), xe = "24px", Xt = (e, t) =>
|
|
|
3570
3570
|
_: 1
|
|
3571
3571
|
}, 8, ["aria-hidden", "style"]));
|
|
3572
3572
|
}
|
|
3573
|
-
}), lt = /* @__PURE__ */ Xt(mm, [["__scopeId", "data-v-
|
|
3573
|
+
}), lt = /* @__PURE__ */ Xt(mm, [["__scopeId", "data-v-61f7c481"]]), hm = {
|
|
3574
3574
|
components: {
|
|
3575
3575
|
TrashIcon: lt
|
|
3576
3576
|
},
|
|
3577
|
-
mixins: [
|
|
3577
|
+
mixins: [z],
|
|
3578
3578
|
emits: ["model-updated"],
|
|
3579
3579
|
data() {
|
|
3580
3580
|
return {
|
|
@@ -3765,14 +3765,14 @@ const ji = /* @__PURE__ */ N(hm, [["render", Im], ["__scopeId", "data-v-b35063fd
|
|
|
3765
3765
|
onClick: n[0] || (n[0] = (s) => t.$emit("remove-item"))
|
|
3766
3766
|
}, {
|
|
3767
3767
|
default: S(() => [
|
|
3768
|
-
T(
|
|
3768
|
+
T(K(lt))
|
|
3769
3769
|
]),
|
|
3770
3770
|
_: 1
|
|
3771
3771
|
})
|
|
3772
3772
|
]);
|
|
3773
3773
|
};
|
|
3774
3774
|
}
|
|
3775
|
-
}),
|
|
3775
|
+
}), zi = /* @__PURE__ */ N(Om, [["__scopeId", "data-v-ec926551"]]), km = (e) => (Se("data-v-27d212bd"), e = e(), Te(), e), Em = { class: "multi-item-wrapper" }, Fm = /* @__PURE__ */ km(() => /* @__PURE__ */ u("hr", null, null, -1)), Um = /* @__PURE__ */ fe({
|
|
3776
3776
|
__name: "FieldArrayMultiItem",
|
|
3777
3777
|
emits: ["remove-item"],
|
|
3778
3778
|
setup(e) {
|
|
@@ -3794,10 +3794,10 @@ const ji = /* @__PURE__ */ N(hm, [["render", Im], ["__scopeId", "data-v-b35063fd
|
|
|
3794
3794
|
]);
|
|
3795
3795
|
};
|
|
3796
3796
|
}
|
|
3797
|
-
}),
|
|
3797
|
+
}), Ki = /* @__PURE__ */ N(Um, [["__scopeId", "data-v-27d212bd"]]), Nm = {
|
|
3798
3798
|
name: "FieldMetric",
|
|
3799
3799
|
components: { AddIcon: Ri, TrashIcon: lt },
|
|
3800
|
-
mixins: [
|
|
3800
|
+
mixins: [z],
|
|
3801
3801
|
emits: ["remove-item"],
|
|
3802
3802
|
data() {
|
|
3803
3803
|
return {
|
|
@@ -3854,7 +3854,7 @@ function Dm(e, t, n) {
|
|
|
3854
3854
|
return n ? Ne.SET_REFERRAL_VALUE : e && !t || !e && t ? Ne.UPDATE_ENTITY : e && t ? Ne.CREATE_FROM_ENTITY : Ne.CREATE_NOT_FROM_ENTITY;
|
|
3855
3855
|
}
|
|
3856
3856
|
const Rm = {
|
|
3857
|
-
mixins: [
|
|
3857
|
+
mixins: [z],
|
|
3858
3858
|
inject: [Ee],
|
|
3859
3859
|
emits: ["model-updated"],
|
|
3860
3860
|
data() {
|
|
@@ -3970,7 +3970,7 @@ const Rm = {
|
|
|
3970
3970
|
return t ? e[t] : e.id;
|
|
3971
3971
|
}
|
|
3972
3972
|
}
|
|
3973
|
-
}, Bm = { class: "field-wrap autosuggest" }, jm = ["data-testid", "data-testlabel"],
|
|
3973
|
+
}, Bm = { class: "field-wrap autosuggest" }, jm = ["data-testid", "data-testlabel"], zm = ["data-testid"], Km = { class: "autosuggest__results_message" };
|
|
3974
3974
|
function Hm(e, t, n, r, s, i) {
|
|
3975
3975
|
const o = F("KSelect");
|
|
3976
3976
|
return d(), m("div", Bm, [
|
|
@@ -3999,10 +3999,10 @@ function Hm(e, t, n, r, s, i) {
|
|
|
3999
3999
|
key: c,
|
|
4000
4000
|
class: "field-span",
|
|
4001
4001
|
"data-testid": a.id && `${a.id}-${c + 1}` || c + 1
|
|
4002
|
-
}, A(l), 9,
|
|
4002
|
+
}, A(l), 9, zm))), 128))
|
|
4003
4003
|
]),
|
|
4004
4004
|
empty: S(() => [
|
|
4005
|
-
u("div",
|
|
4005
|
+
u("div", Km, [
|
|
4006
4006
|
u("span", null, A(s.message), 1)
|
|
4007
4007
|
])
|
|
4008
4008
|
]),
|
|
@@ -4039,7 +4039,7 @@ const Yi = /* @__PURE__ */ N(Rm, [["render", Hm], ["__scopeId", "data-v-647bb712
|
|
|
4039
4039
|
onClick: n[0] || (n[0] = (i) => t.$emit("remove-item"))
|
|
4040
4040
|
}, {
|
|
4041
4041
|
default: S(() => [
|
|
4042
|
-
T(
|
|
4042
|
+
T(K(lt))
|
|
4043
4043
|
]),
|
|
4044
4044
|
_: 1
|
|
4045
4045
|
})
|
|
@@ -4047,7 +4047,7 @@ const Yi = /* @__PURE__ */ N(Rm, [["render", Hm], ["__scopeId", "data-v-647bb712
|
|
|
4047
4047
|
};
|
|
4048
4048
|
}
|
|
4049
4049
|
}), Gi = /* @__PURE__ */ N(Gm, [["__scopeId", "data-v-5fa27cb4"]]), xm = {
|
|
4050
|
-
mixins: [
|
|
4050
|
+
mixins: [z],
|
|
4051
4051
|
emits: ["model-updated"],
|
|
4052
4052
|
methods: {
|
|
4053
4053
|
updateModel(e) {
|
|
@@ -4090,8 +4090,8 @@ function Xm(e, t, n, r, s, i) {
|
|
|
4090
4090
|
const xi = /* @__PURE__ */ N(xm, [["render", Xm], ["__scopeId", "data-v-7e49acd6"]]), Qm = {
|
|
4091
4091
|
name: "FieldArray",
|
|
4092
4092
|
components: {
|
|
4093
|
-
FieldArrayItem:
|
|
4094
|
-
FieldArrayMultiItem:
|
|
4093
|
+
FieldArrayItem: zi,
|
|
4094
|
+
FieldArrayMultiItem: Ki,
|
|
4095
4095
|
FieldSelect: Vi,
|
|
4096
4096
|
FieldMetric: Hi,
|
|
4097
4097
|
FieldObject: Di,
|
|
@@ -4102,7 +4102,7 @@ const xi = /* @__PURE__ */ N(xm, [["render", Xm], ["__scopeId", "data-v-7e49acd6
|
|
|
4102
4102
|
FieldTextArea: Pi,
|
|
4103
4103
|
FieldInput: Ei
|
|
4104
4104
|
},
|
|
4105
|
-
mixins: [
|
|
4105
|
+
mixins: [z],
|
|
4106
4106
|
props: {
|
|
4107
4107
|
newElementButtonLabel: {
|
|
4108
4108
|
type: String,
|
|
@@ -4255,7 +4255,7 @@ function ah(e, t, n, r, s, i) {
|
|
|
4255
4255
|
], 10, eh)) : M("", !0);
|
|
4256
4256
|
}
|
|
4257
4257
|
const oh = /* @__PURE__ */ N(Qm, [["render", ah], ["__scopeId", "data-v-13233543"]]), lh = {
|
|
4258
|
-
mixins: [
|
|
4258
|
+
mixins: [z],
|
|
4259
4259
|
emits: ["model-updated"],
|
|
4260
4260
|
data() {
|
|
4261
4261
|
return {
|
|
@@ -4309,7 +4309,7 @@ function ch(e, t, n, r, s, i) {
|
|
|
4309
4309
|
]);
|
|
4310
4310
|
}
|
|
4311
4311
|
const mh = /* @__PURE__ */ N(lh, [["render", ch], ["__scopeId", "data-v-2d8e71e1"]]), hh = {
|
|
4312
|
-
mixins: [
|
|
4312
|
+
mixins: [z],
|
|
4313
4313
|
emits: ["model-updated"],
|
|
4314
4314
|
data() {
|
|
4315
4315
|
return {
|
|
@@ -4424,7 +4424,7 @@ function Ch(e, t, n, r, s, i) {
|
|
|
4424
4424
|
]);
|
|
4425
4425
|
}
|
|
4426
4426
|
const Ih = /* @__PURE__ */ N(hh, [["render", Ch], ["__scopeId", "data-v-22882f4c"]]), Ah = {
|
|
4427
|
-
mixins: [
|
|
4427
|
+
mixins: [z],
|
|
4428
4428
|
emits: ["model-updated"],
|
|
4429
4429
|
methods: {
|
|
4430
4430
|
onUpdate(e) {
|
|
@@ -4449,7 +4449,7 @@ function Oh(e, t, n, r, s, i) {
|
|
|
4449
4449
|
const kh = /* @__PURE__ */ N(Ah, [["render", Oh]]), Eh = {
|
|
4450
4450
|
name: "FieldKeyValuePairs",
|
|
4451
4451
|
components: { TrashIcon: lt },
|
|
4452
|
-
mixins: [
|
|
4452
|
+
mixins: [z],
|
|
4453
4453
|
data() {
|
|
4454
4454
|
return {
|
|
4455
4455
|
pairs: []
|
|
@@ -4554,8 +4554,8 @@ const Vh = /* @__PURE__ */ N(Eh, [["render", Lh], ["__scopeId", "data-v-29d15375
|
|
|
4554
4554
|
FieldAdvanced: mh,
|
|
4555
4555
|
FieldArray: oh,
|
|
4556
4556
|
FieldArrayCardContainer: Gi,
|
|
4557
|
-
FieldArrayItem:
|
|
4558
|
-
FieldArrayMultiItem:
|
|
4557
|
+
FieldArrayItem: zi,
|
|
4558
|
+
FieldArrayMultiItem: Ki,
|
|
4559
4559
|
FieldAutoSuggest: Yi,
|
|
4560
4560
|
FieldCheckbox: Zl,
|
|
4561
4561
|
FieldChecklist: ld,
|
|
@@ -4683,10 +4683,10 @@ const Vh = /* @__PURE__ */ N(Eh, [["render", Lh], ["__scopeId", "data-v-29d15375
|
|
|
4683
4683
|
return e ? e.replace(/^[cC]onfig\./, "") : "";
|
|
4684
4684
|
}
|
|
4685
4685
|
}
|
|
4686
|
-
}, Dh = (e) => (Se("data-v-02e656fb"), e = e(), Te(), e), Rh = ["innerHTML"], Bh = { class: "icon-wrapper" }, jh = ["innerHTML"],
|
|
4686
|
+
}, Dh = (e) => (Se("data-v-02e656fb"), e = e(), Te(), e), Rh = ["innerHTML"], Bh = { class: "icon-wrapper" }, jh = ["innerHTML"], zh = {
|
|
4687
4687
|
key: 0,
|
|
4688
4688
|
class: "link-wrapper"
|
|
4689
|
-
},
|
|
4689
|
+
}, Kh = /* @__PURE__ */ Dh(() => /* @__PURE__ */ u("span", { class: "section-header" }, "More info", -1)), Hh = { class: "field-wrap" }, Yh = {
|
|
4690
4690
|
key: 0,
|
|
4691
4691
|
class: "buttons"
|
|
4692
4692
|
}, Gh = ["type", "onClick", "textContent"], xh = ["innerHTML"], Wh = {
|
|
@@ -4716,12 +4716,12 @@ function Jh(e, t, n, r, s, i) {
|
|
|
4716
4716
|
innerHTML: i.formattedLabel(n.field.label)
|
|
4717
4717
|
}, null, 8, jh)
|
|
4718
4718
|
]),
|
|
4719
|
-
n.field.link ? (d(), m("div",
|
|
4719
|
+
n.field.link ? (d(), m("div", zh, [
|
|
4720
4720
|
T(o, {
|
|
4721
4721
|
href: n.field.link
|
|
4722
4722
|
}, {
|
|
4723
4723
|
default: S(() => [
|
|
4724
|
-
|
|
4724
|
+
Kh
|
|
4725
4725
|
]),
|
|
4726
4726
|
_: 1
|
|
4727
4727
|
}, 8, ["href"])
|
|
@@ -5899,7 +5899,7 @@ const Sf = /* @__PURE__ */ N(of, [["render", wf], ["__scopeId", "data-v-e7395ff0
|
|
|
5899
5899
|
/* @__PURE__ */ u("span", { class: "section-header" }, "Storage Configuration Settings")
|
|
5900
5900
|
], -1)), Df = /* @__PURE__ */ je(() => /* @__PURE__ */ u("div", { class: "description" }, " Parameters for setting up storage. ", -1)), Rf = { class: "sub-form" }, Bf = { class: "general-settings" }, jf = /* @__PURE__ */ je(() => /* @__PURE__ */ u("div", { class: "header-wrapper" }, [
|
|
5901
5901
|
/* @__PURE__ */ u("span", { class: "section-header" }, "Advanced Configuration Settings")
|
|
5902
|
-
], -1)),
|
|
5902
|
+
], -1)), zf = /* @__PURE__ */ je(() => /* @__PURE__ */ u("div", { class: "description" }, " Advanced parameters for manually configuring the ACME plugin. ", -1)), Kf = /* @__PURE__ */ fe({
|
|
5903
5903
|
__name: "ACMEForm",
|
|
5904
5904
|
props: {
|
|
5905
5905
|
formModel: {
|
|
@@ -6104,7 +6104,7 @@ const Sf = /* @__PURE__ */ N(of, [["render", wf], ["__scopeId", "data-v-e7395ff0
|
|
|
6104
6104
|
advanced: S(() => [
|
|
6105
6105
|
u("div", Bf, [
|
|
6106
6106
|
jf,
|
|
6107
|
-
|
|
6107
|
+
zf,
|
|
6108
6108
|
I.value ? (d(), U(le, {
|
|
6109
6109
|
key: 0,
|
|
6110
6110
|
model: e.formModel,
|
|
@@ -6119,7 +6119,7 @@ const Sf = /* @__PURE__ */ N(of, [["render", wf], ["__scopeId", "data-v-e7395ff0
|
|
|
6119
6119
|
]);
|
|
6120
6120
|
};
|
|
6121
6121
|
}
|
|
6122
|
-
}), Hf = /* @__PURE__ */ N(
|
|
6122
|
+
}), Hf = /* @__PURE__ */ N(Kf, [["__scopeId", "data-v-136dc132"]]), Wi = (e) => (Se("data-v-672119f6"), e = e(), Te(), e), Yf = { class: "rla-form-basic-fields" }, Gf = { class: "rla-form-request-limits-subtitle" }, xf = { class: "rla-form-request-limits-content" }, Wf = { class: "rla-form-window-type" }, Zf = ["innerHTML"], Jf = { class: "rla-form-window-type-radios" }, Xf = { class: "rla-form-request-limits-items" }, Qf = { class: "rla-form-request-limits-row" }, ep = ["id"], tp = { class: "rla-form-request-limits-actions" }, np = {
|
|
6123
6123
|
key: 0,
|
|
6124
6124
|
class: "rla-form-request-limits-examples"
|
|
6125
6125
|
}, ip = { class: "rla-form-request-limits-examples-badges" }, rp = /* @__PURE__ */ Wi(() => /* @__PURE__ */ u("br", null, null, -1)), sp = ["innerHTML"], ap = {
|
|
@@ -6209,9 +6209,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6209
6209
|
const f = ((Ce = (de = i.formSchema) == null ? void 0 : de.fields) == null ? void 0 : Ce.filter((re) => !r(re.model))) ?? [], _ = [], k = [], E = [];
|
|
6210
6210
|
let X = !1;
|
|
6211
6211
|
for (const re of f) {
|
|
6212
|
-
const
|
|
6213
|
-
if (
|
|
6214
|
-
if (
|
|
6212
|
+
const ze = re.model;
|
|
6213
|
+
if (ze !== void 0) {
|
|
6214
|
+
if (ze.startsWith("config-redis-")) {
|
|
6215
6215
|
(re.model === "config-redis-cluster_addresses" || re.model === "config-redis-sentinel_addresses") && (re.inputAttributes.help = s("rla.redis.address_example")), k.push(re);
|
|
6216
6216
|
continue;
|
|
6217
6217
|
}
|
|
@@ -6245,7 +6245,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6245
6245
|
), V = P(() => {
|
|
6246
6246
|
var _, k, E, X, de, Ce;
|
|
6247
6247
|
const f = (E = (k = (_ = i.formSchema) == null ? void 0 : _.fields) == null ? void 0 : k.find((re) => re.model === "config-window_type")) == null ? void 0 : E.default;
|
|
6248
|
-
return (((Ce = (de = (X = i.formSchema) == null ? void 0 : X.fields) == null ? void 0 : de.find((re) => re.model === "config-window_type")) == null ? void 0 : Ce.values) ?? []).sort((re,
|
|
6248
|
+
return (((Ce = (de = (X = i.formSchema) == null ? void 0 : X.fields) == null ? void 0 : de.find((re) => re.model === "config-window_type")) == null ? void 0 : Ce.values) ?? []).sort((re, ze) => re === f ? -1 : ze === f ? 1 : 0);
|
|
6249
6249
|
}), w = P(() => {
|
|
6250
6250
|
var _;
|
|
6251
6251
|
const f = (_ = i.formModel["config-limit"]) == null ? void 0 : _.map((k, E) => {
|
|
@@ -6307,7 +6307,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6307
6307
|
}
|
|
6308
6308
|
};
|
|
6309
6309
|
return (f, _) => {
|
|
6310
|
-
const k = F("VueFormGenerator"), E = F("KLabel"), X = F("KRadio"), de = F("KInput"), Ce = F("KButton"), re = F("KBadge"),
|
|
6310
|
+
const k = F("VueFormGenerator"), E = F("KLabel"), X = F("KRadio"), de = F("KInput"), Ce = F("KButton"), re = F("KBadge"), ze = F("KTooltip"), en = F("KCard"), Zi = F("KSelect"), Ji = F("KCollapse");
|
|
6311
6311
|
return d(), m(q, null, [
|
|
6312
6312
|
u("div", Yf, [
|
|
6313
6313
|
T(k, {
|
|
@@ -6324,11 +6324,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6324
6324
|
required: ""
|
|
6325
6325
|
}, {
|
|
6326
6326
|
default: S(() => [
|
|
6327
|
-
ee(A(
|
|
6327
|
+
ee(A(K(s)("rla.request_limits.title")), 1)
|
|
6328
6328
|
]),
|
|
6329
6329
|
_: 1
|
|
6330
6330
|
}),
|
|
6331
|
-
u("div", Gf, A(
|
|
6331
|
+
u("div", Gf, A(K(s)("rla.request_limits.subtitle")), 1)
|
|
6332
6332
|
]),
|
|
6333
6333
|
default: S(() => [
|
|
6334
6334
|
u("div", xf, [
|
|
@@ -6342,11 +6342,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6342
6342
|
}, {
|
|
6343
6343
|
tooltip: S(() => [
|
|
6344
6344
|
u("div", {
|
|
6345
|
-
innerHTML:
|
|
6345
|
+
innerHTML: K(s)("rla.window_type.help")
|
|
6346
6346
|
}, null, 8, Zf)
|
|
6347
6347
|
]),
|
|
6348
6348
|
default: S(() => [
|
|
6349
|
-
ee(A(
|
|
6349
|
+
ee(A(K(s)("rla.window_type.label")) + " ", 1)
|
|
6350
6350
|
]),
|
|
6351
6351
|
_: 1
|
|
6352
6352
|
}),
|
|
@@ -6359,7 +6359,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6359
6359
|
"onUpdate:modelValue": G
|
|
6360
6360
|
}, {
|
|
6361
6361
|
default: S(() => [
|
|
6362
|
-
ee(A(
|
|
6362
|
+
ee(A(K(s)(`rla.window_type.options.${R}`)), 1)
|
|
6363
6363
|
]),
|
|
6364
6364
|
_: 2
|
|
6365
6365
|
}, 1032, ["model-value", "name", "selected-value"]))), 128))
|
|
@@ -6373,7 +6373,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6373
6373
|
for: `rla-form-request-limits-item-${te}-legend`
|
|
6374
6374
|
}, {
|
|
6375
6375
|
default: S(() => [
|
|
6376
|
-
ee(A(
|
|
6376
|
+
ee(A(K(s)("rla.request_limits.label_index", { index: te + 1 })), 1)
|
|
6377
6377
|
]),
|
|
6378
6378
|
_: 2
|
|
6379
6379
|
}, 1032, ["for"]),
|
|
@@ -6384,18 +6384,18 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6384
6384
|
}, [
|
|
6385
6385
|
T(de, {
|
|
6386
6386
|
"model-value": R.limit && R.limit.toString(),
|
|
6387
|
-
placeholder:
|
|
6387
|
+
placeholder: K(s)("rla.request_limits.request_number"),
|
|
6388
6388
|
type: "number",
|
|
6389
6389
|
"onUpdate:modelValue": (Tt) => b(te, Number.parseInt(Tt))
|
|
6390
6390
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
6391
|
-
u("div", null, A(
|
|
6391
|
+
u("div", null, A(K(s)("rla.request_limits.interval_determiner")), 1),
|
|
6392
6392
|
T(de, {
|
|
6393
6393
|
"model-value": R.windowSize && R.windowSize.toString(),
|
|
6394
|
-
placeholder:
|
|
6394
|
+
placeholder: K(s)("rla.request_limits.time_interval"),
|
|
6395
6395
|
type: "number",
|
|
6396
6396
|
"onUpdate:modelValue": (Tt) => p(te, Number.parseInt(Tt))
|
|
6397
6397
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
6398
|
-
u("div", null, A(
|
|
6398
|
+
u("div", null, A(K(s)("rla.request_limits.seconds")), 1)
|
|
6399
6399
|
], 8, ep),
|
|
6400
6400
|
u("div", tp, [
|
|
6401
6401
|
T(Ce, {
|
|
@@ -6404,7 +6404,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6404
6404
|
onClick: () => x(te)
|
|
6405
6405
|
}, {
|
|
6406
6406
|
default: S(() => [
|
|
6407
|
-
T(
|
|
6407
|
+
T(K(om))
|
|
6408
6408
|
]),
|
|
6409
6409
|
_: 2
|
|
6410
6410
|
}, 1032, ["disabled", "onClick"]),
|
|
@@ -6413,7 +6413,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6413
6413
|
onClick: () => O(te)
|
|
6414
6414
|
}, {
|
|
6415
6415
|
default: S(() => [
|
|
6416
|
-
T(
|
|
6416
|
+
T(K(Ri))
|
|
6417
6417
|
]),
|
|
6418
6418
|
_: 2
|
|
6419
6419
|
}, 1032, ["onClick"])
|
|
@@ -6422,17 +6422,17 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6422
6422
|
]))), 128))
|
|
6423
6423
|
]),
|
|
6424
6424
|
l.value.length > 0 ? (d(), m("div", np, [
|
|
6425
|
-
u("div", null, A(
|
|
6425
|
+
u("div", null, A(K(s)("rla.start_with_a_use_case")), 1),
|
|
6426
6426
|
u("div", ip, [
|
|
6427
|
-
(d(!0), m(q, null, Z(l.value, (R, te) => (d(), U(
|
|
6427
|
+
(d(!0), m(q, null, Z(l.value, (R, te) => (d(), U(ze, {
|
|
6428
6428
|
key: `use-case-${te}`,
|
|
6429
6429
|
"max-width": "300"
|
|
6430
6430
|
}, {
|
|
6431
6431
|
content: S(() => [
|
|
6432
6432
|
u("div", null, A(R.description), 1),
|
|
6433
6433
|
rp,
|
|
6434
|
-
u("div", null, A(
|
|
6435
|
-
u("div", null, A(
|
|
6434
|
+
u("div", null, A(K(s)("rla.request_limits.label")) + ": " + A(R.config.limit), 1),
|
|
6435
|
+
u("div", null, A(K(s)("rla.request_limits.time_interval")) + ": " + A(R.config.window_size), 1)
|
|
6436
6436
|
]),
|
|
6437
6437
|
default: S(() => [
|
|
6438
6438
|
T(re, {
|
|
@@ -6459,7 +6459,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6459
6459
|
"onUpdate:modelValue": _[1] || (_[1] = (R) => I.value = R),
|
|
6460
6460
|
class: "rla-form-identifiers",
|
|
6461
6461
|
items: h.value,
|
|
6462
|
-
label:
|
|
6462
|
+
label: K(s)("rla.identifiers.label"),
|
|
6463
6463
|
"label-attributes": {
|
|
6464
6464
|
tooltipAttributes: {
|
|
6465
6465
|
maxWidth: "300",
|
|
@@ -6479,7 +6479,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6479
6479
|
u("div", null, [
|
|
6480
6480
|
T(E, {
|
|
6481
6481
|
for: "rla-form-error-legend",
|
|
6482
|
-
info:
|
|
6482
|
+
info: K(s)("rla.error_message.help"),
|
|
6483
6483
|
required: "",
|
|
6484
6484
|
"tooltip-attributes": {
|
|
6485
6485
|
maxWidth: "300",
|
|
@@ -6487,7 +6487,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6487
6487
|
}
|
|
6488
6488
|
}, {
|
|
6489
6489
|
default: S(() => [
|
|
6490
|
-
ee(A(
|
|
6490
|
+
ee(A(K(s)("rla.error_message.label")), 1)
|
|
6491
6491
|
]),
|
|
6492
6492
|
_: 1
|
|
6493
6493
|
}, 8, ["info"]),
|
|
@@ -6495,14 +6495,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6495
6495
|
T(de, {
|
|
6496
6496
|
class: "input-error-code",
|
|
6497
6497
|
"model-value": y.value && y.value.toString(),
|
|
6498
|
-
placeholder:
|
|
6498
|
+
placeholder: K(s)("rla.error_message.code_placeholder"),
|
|
6499
6499
|
type: "number",
|
|
6500
6500
|
"onUpdate:modelValue": _[3] || (_[3] = (R) => f.onModelUpdated(Number.parseInt(R), "config-error_code"))
|
|
6501
6501
|
}, null, 8, ["model-value", "placeholder"]),
|
|
6502
6502
|
op,
|
|
6503
6503
|
T(de, {
|
|
6504
6504
|
"model-value": C.value,
|
|
6505
|
-
placeholder:
|
|
6505
|
+
placeholder: K(s)("rla.error_message.message_placeholder"),
|
|
6506
6506
|
"onUpdate:modelValue": _[4] || (_[4] = (R) => f.onModelUpdated(R, "config-error_message"))
|
|
6507
6507
|
}, null, 8, ["model-value", "placeholder"])
|
|
6508
6508
|
])
|
|
@@ -6511,7 +6511,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6511
6511
|
T(Ji, {
|
|
6512
6512
|
modelValue: v.value,
|
|
6513
6513
|
"onUpdate:modelValue": _[8] || (_[8] = (R) => v.value = R),
|
|
6514
|
-
"trigger-label":
|
|
6514
|
+
"trigger-label": K(s)("rla.view_advanced_fields")
|
|
6515
6515
|
}, {
|
|
6516
6516
|
default: S(() => [
|
|
6517
6517
|
T(k, {
|
|
@@ -6523,7 +6523,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6523
6523
|
f.formModel["config-strategy"] === "redis" ? (d(), U(en, {
|
|
6524
6524
|
key: 0,
|
|
6525
6525
|
class: "rla-form-redis-card",
|
|
6526
|
-
title:
|
|
6526
|
+
title: K(s)("rla.redis.title")
|
|
6527
6527
|
}, {
|
|
6528
6528
|
default: S(() => [
|
|
6529
6529
|
T(k, {
|