@kong-ui-public/forms 3.0.1-pr.1371.f5b1eddf.0 → 3.0.1
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 +101 -101
- package/dist/forms.umd.js +1 -1
- package/package.json +3 -3
package/dist/forms.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveDirective as Ce, withDirectives as L, openBlock as d, createElementBlock as c, normalizeClass as D, vModelCheckbox as $t, Fragment as j, renderList as Y, createElementVNode as h, createTextVNode as Q, toDisplayString as N, createCommentVNode as w, ref as fe, computed as
|
|
1
|
+
import { resolveDirective as Ce, withDirectives as L, openBlock as d, createElementBlock as c, normalizeClass as D, vModelCheckbox as $t, Fragment as j, renderList as Y, createElementVNode as h, createTextVNode as Q, toDisplayString as N, createCommentVNode as w, ref as fe, computed as H, defineComponent as de, onMounted as Mn, onBeforeMount as Ui, resolveComponent as k, createVNode as E, mergeProps as ke, unref as _e, withCtx as C, vModelSelect as Ct, vModelText as ne, vShow as In, normalizeStyle as Mt, pushScopeId as Me, popScopeId as Ie, createBlock as A, resolveDynamicComponent as re, renderSlot as Ue, Transition as Ni, vModelDynamic as Pi, vModelRadio as Li, createSlots as An } from "vue";
|
|
2
2
|
import { createI18n as On } from "@kong-ui-public/i18n";
|
|
3
3
|
function En(e, t) {
|
|
4
4
|
for (var n = -1, i = e == null ? 0 : e.length; ++n < i && t(e[n], n, e) !== !1; )
|
|
@@ -22,15 +22,15 @@ function Bi(e, t) {
|
|
|
22
22
|
i[n] = t(n);
|
|
23
23
|
return i;
|
|
24
24
|
}
|
|
25
|
-
var kn = typeof global == "object" && global && global.Object === Object && global, Ri = typeof self == "object" && self && self.Object === Object && self, ie = kn || Ri || Function("return this")(), oe = ie.Symbol, Fn = Object.prototype, qi = Fn.hasOwnProperty,
|
|
26
|
-
function
|
|
25
|
+
var kn = typeof global == "object" && global && global.Object === Object && global, Ri = typeof self == "object" && self && self.Object === Object && self, ie = kn || Ri || Function("return this")(), oe = ie.Symbol, Fn = Object.prototype, qi = Fn.hasOwnProperty, Ki = Fn.toString, je = oe ? oe.toStringTag : void 0;
|
|
26
|
+
function Hi(e) {
|
|
27
27
|
var t = qi.call(e, je), n = e[je];
|
|
28
28
|
try {
|
|
29
29
|
e[je] = void 0;
|
|
30
30
|
var i = !0;
|
|
31
31
|
} catch {
|
|
32
32
|
}
|
|
33
|
-
var a =
|
|
33
|
+
var a = Ki.call(e);
|
|
34
34
|
return i && (t ? e[je] = n : delete e[je]), a;
|
|
35
35
|
}
|
|
36
36
|
var Yi = Object.prototype, zi = Yi.toString;
|
|
@@ -39,7 +39,7 @@ function xi(e) {
|
|
|
39
39
|
}
|
|
40
40
|
var Gi = "[object Null]", Zi = "[object Undefined]", jt = oe ? oe.toStringTag : void 0;
|
|
41
41
|
function pe(e) {
|
|
42
|
-
return e == null ? e === void 0 ? Zi : Gi : jt && jt in Object(e) ?
|
|
42
|
+
return e == null ? e === void 0 ? Zi : Gi : jt && jt in Object(e) ? Hi(e) : xi(e);
|
|
43
43
|
}
|
|
44
44
|
function le(e) {
|
|
45
45
|
return e != null && typeof e == "object";
|
|
@@ -56,7 +56,7 @@ var Un = Object.prototype, Ji = Un.hasOwnProperty, Xi = Un.propertyIsEnumerable,
|
|
|
56
56
|
function Qi() {
|
|
57
57
|
return !1;
|
|
58
58
|
}
|
|
59
|
-
var Nn = typeof exports == "object" && exports && !exports.nodeType && exports, Rt = Nn && typeof module == "object" && module && !module.nodeType && module, er = Rt && Rt.exports === Nn, qt = er ? ie.Buffer : void 0, tr = qt ? qt.isBuffer : void 0,
|
|
59
|
+
var Nn = typeof exports == "object" && exports && !exports.nodeType && exports, Rt = Nn && typeof module == "object" && module && !module.nodeType && module, er = Rt && Rt.exports === Nn, qt = er ? ie.Buffer : void 0, tr = qt ? qt.isBuffer : void 0, Ke = tr || Qi, nr = 9007199254740991, ir = /^(?:0|[1-9]\d*)$/;
|
|
60
60
|
function At(e, t) {
|
|
61
61
|
var n = typeof e;
|
|
62
62
|
return t = t ?? nr, !!t && (n == "number" || n != "symbol" && ir.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
@@ -82,9 +82,9 @@ var Pn = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
82
82
|
return e || ct && ct.binding && ct.binding("util");
|
|
83
83
|
} catch {
|
|
84
84
|
}
|
|
85
|
-
}(),
|
|
85
|
+
}(), Kt = Ne && Ne.isTypedArray, kt = Kt ? Et(Kt) : Or, kr = Object.prototype, Fr = kr.hasOwnProperty;
|
|
86
86
|
function Ln(e, t) {
|
|
87
|
-
var n = ee(e), i = !n && It(e), a = !n && !i &&
|
|
87
|
+
var n = ee(e), i = !n && It(e), a = !n && !i && Ke(e), r = !n && !i && !a && kt(e), o = n || i || a || r, s = o ? Bi(e.length, String) : [], l = s.length;
|
|
88
88
|
for (var u in e)
|
|
89
89
|
(t || Fr.call(e, u)) && !(o && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
90
90
|
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -143,8 +143,8 @@ function qr(e, t) {
|
|
|
143
143
|
return n;
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
|
-
var
|
|
147
|
-
const
|
|
146
|
+
var Kr = qr(Rr);
|
|
147
|
+
const Hr = Kr;
|
|
148
148
|
function it(e) {
|
|
149
149
|
return e;
|
|
150
150
|
}
|
|
@@ -152,7 +152,7 @@ function Yr(e) {
|
|
|
152
152
|
return typeof e == "function" ? e : it;
|
|
153
153
|
}
|
|
154
154
|
function W(e, t) {
|
|
155
|
-
var n = ee(e) ? En :
|
|
155
|
+
var n = ee(e) ? En : Hr;
|
|
156
156
|
return n(e, Yr(t));
|
|
157
157
|
}
|
|
158
158
|
var zr = "[object Symbol]";
|
|
@@ -166,12 +166,12 @@ function Ft(e, t) {
|
|
|
166
166
|
var n = typeof e;
|
|
167
167
|
return n == "number" || n == "symbol" || n == "boolean" || e == null || rt(e) ? !0 : Gr.test(e) || !xr.test(e) || t != null && e in Object(t);
|
|
168
168
|
}
|
|
169
|
-
var ht = ie["__core-js_shared__"],
|
|
169
|
+
var ht = ie["__core-js_shared__"], Ht = function() {
|
|
170
170
|
var e = /[^.]+$/.exec(ht && ht.keys && ht.keys.IE_PROTO || "");
|
|
171
171
|
return e ? "Symbol(src)_1." + e : "";
|
|
172
172
|
}();
|
|
173
173
|
function Zr(e) {
|
|
174
|
-
return !!
|
|
174
|
+
return !!Ht && Ht in e;
|
|
175
175
|
}
|
|
176
176
|
var Wr = Function.prototype, Jr = Wr.toString;
|
|
177
177
|
function Ae(e) {
|
|
@@ -203,9 +203,9 @@ function Oe(e, t) {
|
|
|
203
203
|
var n = sa(e, t);
|
|
204
204
|
return aa(n) ? n : void 0;
|
|
205
205
|
}
|
|
206
|
-
var
|
|
206
|
+
var He = Oe(Object, "create");
|
|
207
207
|
function oa() {
|
|
208
|
-
this.__data__ =
|
|
208
|
+
this.__data__ = He ? He(null) : {}, this.size = 0;
|
|
209
209
|
}
|
|
210
210
|
function la(e) {
|
|
211
211
|
var t = this.has(e) && delete this.__data__[e];
|
|
@@ -214,7 +214,7 @@ function la(e) {
|
|
|
214
214
|
var da = "__lodash_hash_undefined__", ua = Object.prototype, ca = ua.hasOwnProperty;
|
|
215
215
|
function ha(e) {
|
|
216
216
|
var t = this.__data__;
|
|
217
|
-
if (
|
|
217
|
+
if (He) {
|
|
218
218
|
var n = t[e];
|
|
219
219
|
return n === da ? void 0 : n;
|
|
220
220
|
}
|
|
@@ -223,12 +223,12 @@ function ha(e) {
|
|
|
223
223
|
var ma = Object.prototype, fa = ma.hasOwnProperty;
|
|
224
224
|
function pa(e) {
|
|
225
225
|
var t = this.__data__;
|
|
226
|
-
return
|
|
226
|
+
return He ? t[e] !== void 0 : fa.call(t, e);
|
|
227
227
|
}
|
|
228
228
|
var ga = "__lodash_hash_undefined__";
|
|
229
229
|
function ya(e, t) {
|
|
230
230
|
var n = this.__data__;
|
|
231
|
-
return this.size += this.has(e) ? 0 : 1, n[e] =
|
|
231
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = He && t === void 0 ? ga : t, this;
|
|
232
232
|
}
|
|
233
233
|
function we(e) {
|
|
234
234
|
var t = -1, n = e == null ? 0 : e.length;
|
|
@@ -400,7 +400,7 @@ var Ba = "[object String]";
|
|
|
400
400
|
function Te(e) {
|
|
401
401
|
return typeof e == "string" || !ee(e) && le(e) && pe(e) == Ba;
|
|
402
402
|
}
|
|
403
|
-
const
|
|
403
|
+
const Kn = {
|
|
404
404
|
methods: {
|
|
405
405
|
// Get style classes of field
|
|
406
406
|
getFieldRowClasses(e) {
|
|
@@ -442,10 +442,10 @@ function qa(e) {
|
|
|
442
442
|
var t = this.__data__, n = t.delete(e);
|
|
443
443
|
return this.size = t.size, n;
|
|
444
444
|
}
|
|
445
|
-
function
|
|
445
|
+
function Ka(e) {
|
|
446
446
|
return this.__data__.get(e);
|
|
447
447
|
}
|
|
448
|
-
function
|
|
448
|
+
function Ha(e) {
|
|
449
449
|
return this.__data__.has(e);
|
|
450
450
|
}
|
|
451
451
|
var Ya = 200;
|
|
@@ -465,8 +465,8 @@ function se(e) {
|
|
|
465
465
|
}
|
|
466
466
|
se.prototype.clear = Ra;
|
|
467
467
|
se.prototype.delete = qa;
|
|
468
|
-
se.prototype.get =
|
|
469
|
-
se.prototype.has =
|
|
468
|
+
se.prototype.get = Ka;
|
|
469
|
+
se.prototype.has = Ha;
|
|
470
470
|
se.prototype.set = za;
|
|
471
471
|
var Je = function() {
|
|
472
472
|
try {
|
|
@@ -475,7 +475,7 @@ var Je = function() {
|
|
|
475
475
|
} catch {
|
|
476
476
|
}
|
|
477
477
|
}();
|
|
478
|
-
function
|
|
478
|
+
function Hn(e, t, n) {
|
|
479
479
|
t == "__proto__" && Je ? Je(e, t, {
|
|
480
480
|
configurable: !0,
|
|
481
481
|
enumerable: !0,
|
|
@@ -486,14 +486,14 @@ function Kn(e, t, n) {
|
|
|
486
486
|
var xa = Object.prototype, Ga = xa.hasOwnProperty;
|
|
487
487
|
function Yn(e, t, n) {
|
|
488
488
|
var i = e[t];
|
|
489
|
-
(!(Ga.call(e, t) && Ge(i, n)) || n === void 0 && !(t in e)) &&
|
|
489
|
+
(!(Ga.call(e, t) && Ge(i, n)) || n === void 0 && !(t in e)) && Hn(e, t, n);
|
|
490
490
|
}
|
|
491
491
|
function lt(e, t, n, i) {
|
|
492
492
|
var a = !n;
|
|
493
493
|
n || (n = {});
|
|
494
494
|
for (var r = -1, o = t.length; ++r < o; ) {
|
|
495
495
|
var s = t[r], l = i ? i(n[s], e[s], s, n, e) : void 0;
|
|
496
|
-
l === void 0 && (l = e[s]), a ?
|
|
496
|
+
l === void 0 && (l = e[s]), a ? Hn(n, s, l) : Yn(n, s, l);
|
|
497
497
|
}
|
|
498
498
|
return n;
|
|
499
499
|
}
|
|
@@ -624,7 +624,7 @@ function Cs(e, t) {
|
|
|
624
624
|
var n = t ? Pt(e.buffer) : e.buffer;
|
|
625
625
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
626
626
|
}
|
|
627
|
-
var Ms = "[object Boolean]", Is = "[object Date]", As = "[object Map]", Os = "[object Number]", Es = "[object RegExp]", ks = "[object Set]", Fs = "[object String]", Us = "[object Symbol]", Ns = "[object ArrayBuffer]", Ps = "[object DataView]", Ls = "[object Float32Array]", Vs = "[object Float64Array]", Ds = "[object Int8Array]", js = "[object Int16Array]", Bs = "[object Int32Array]", Rs = "[object Uint8Array]", qs = "[object Uint8ClampedArray]",
|
|
627
|
+
var Ms = "[object Boolean]", Is = "[object Date]", As = "[object Map]", Os = "[object Number]", Es = "[object RegExp]", ks = "[object Set]", Fs = "[object String]", Us = "[object Symbol]", Ns = "[object ArrayBuffer]", Ps = "[object DataView]", Ls = "[object Float32Array]", Vs = "[object Float64Array]", Ds = "[object Int8Array]", js = "[object Int16Array]", Bs = "[object Int32Array]", Rs = "[object Uint8Array]", qs = "[object Uint8ClampedArray]", Ks = "[object Uint16Array]", Hs = "[object Uint32Array]";
|
|
628
628
|
function Ys(e, t, n) {
|
|
629
629
|
var i = e.constructor;
|
|
630
630
|
switch (t) {
|
|
@@ -642,8 +642,8 @@ function Ys(e, t, n) {
|
|
|
642
642
|
case Bs:
|
|
643
643
|
case Rs:
|
|
644
644
|
case qs:
|
|
645
|
-
case Hs:
|
|
646
645
|
case Ks:
|
|
646
|
+
case Hs:
|
|
647
647
|
return Cs(e, n);
|
|
648
648
|
case As:
|
|
649
649
|
return new i();
|
|
@@ -697,7 +697,7 @@ function Re(e, t, n, i, a, r) {
|
|
|
697
697
|
return is(e, o);
|
|
698
698
|
} else {
|
|
699
699
|
var b = Pe(e), y = b == Qn || b == oo;
|
|
700
|
-
if (
|
|
700
|
+
if (Ke(e))
|
|
701
701
|
return ns(e, s);
|
|
702
702
|
if (b == ei || b == Xn || y && !a) {
|
|
703
703
|
if (o = l || y ? {} : xs(e), !s)
|
|
@@ -823,17 +823,17 @@ function ti(e, t, n, i) {
|
|
|
823
823
|
return r;
|
|
824
824
|
return -1;
|
|
825
825
|
}
|
|
826
|
-
function
|
|
826
|
+
function Ko(e) {
|
|
827
827
|
return e !== e;
|
|
828
828
|
}
|
|
829
|
-
function
|
|
829
|
+
function Ho(e, t, n) {
|
|
830
830
|
for (var i = n - 1, a = e.length; ++i < a; )
|
|
831
831
|
if (e[i] === t)
|
|
832
832
|
return i;
|
|
833
833
|
return -1;
|
|
834
834
|
}
|
|
835
835
|
function Yo(e, t, n) {
|
|
836
|
-
return t === t ?
|
|
836
|
+
return t === t ? Ho(e, t, n) : ti(e, Ko, n);
|
|
837
837
|
}
|
|
838
838
|
function zo(e, t) {
|
|
839
839
|
var n = e == null ? 0 : e.length;
|
|
@@ -1311,9 +1311,9 @@ const Z = {
|
|
|
1311
1311
|
invalidTextContainSpec: "Invalid text! Cannot contains special characters"
|
|
1312
1312
|
};
|
|
1313
1313
|
function te(e, t, n = Z) {
|
|
1314
|
-
return z(e) || e === "" ? t ? [
|
|
1314
|
+
return z(e) || e === "" ? t ? [K(n.fieldIsRequired)] : [] : null;
|
|
1315
1315
|
}
|
|
1316
|
-
function
|
|
1316
|
+
function K(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]);
|
|
@@ -1329,41 +1329,41 @@ const $e = {
|
|
|
1329
1329
|
if (a != null)
|
|
1330
1330
|
return a;
|
|
1331
1331
|
const r = [];
|
|
1332
|
-
return fl(e) ? (!z(t.min) && e < t.min && r.push(
|
|
1332
|
+
return fl(e) ? (!z(t.min) && e < t.min && r.push(K(i.numberTooSmall, t.min)), !z(t.max) && e > t.max && r.push(K(i.numberTooBig, t.max))) : r.push(K(i.invalidNumber)), r;
|
|
1333
1333
|
},
|
|
1334
1334
|
integer(e, t, n, i = Z) {
|
|
1335
1335
|
const a = te(e, t.required, i);
|
|
1336
1336
|
if (a != null)
|
|
1337
1337
|
return a;
|
|
1338
1338
|
const r = $e.number(e, t, n, i);
|
|
1339
|
-
return yl(e) || r.push(
|
|
1339
|
+
return yl(e) || r.push(K(i.invalidInteger)), r;
|
|
1340
1340
|
},
|
|
1341
1341
|
double(e, t, n, i = Z) {
|
|
1342
1342
|
const a = te(e, t.required, i);
|
|
1343
1343
|
if (a != null)
|
|
1344
1344
|
return a;
|
|
1345
1345
|
if (!St(e) || isNaN(e))
|
|
1346
|
-
return [
|
|
1346
|
+
return [K(i.invalidNumber)];
|
|
1347
1347
|
},
|
|
1348
1348
|
string(e, t, n, i = Z) {
|
|
1349
1349
|
const a = te(e, t.required, i);
|
|
1350
1350
|
if (a != null)
|
|
1351
1351
|
return a;
|
|
1352
1352
|
const r = [];
|
|
1353
|
-
return Te(e) ? (!z(t.min) && e.length < t.min && r.push(
|
|
1353
|
+
return Te(e) ? (!z(t.min) && e.length < t.min && r.push(K(i.textTooSmall, e.length, t.min)), !z(t.max) && e.length > t.max && r.push(K(i.textTooBig, e.length, t.max))) : r.push(K(i.thisNotText)), r;
|
|
1354
1354
|
},
|
|
1355
1355
|
array(e, t, n, i = Z) {
|
|
1356
1356
|
if (t.required) {
|
|
1357
1357
|
if (!Array.isArray(e))
|
|
1358
|
-
return [
|
|
1358
|
+
return [K(i.thisNotArray)];
|
|
1359
1359
|
if (e.length === 0)
|
|
1360
|
-
return [
|
|
1360
|
+
return [K(i.fieldIsRequired)];
|
|
1361
1361
|
}
|
|
1362
1362
|
if (!z(e)) {
|
|
1363
1363
|
if (!z(t.min) && e.length < t.min)
|
|
1364
|
-
return [
|
|
1364
|
+
return [K(i.selectMinItems, t.min)];
|
|
1365
1365
|
if (!z(t.max) && e.length > t.max)
|
|
1366
|
-
return [
|
|
1366
|
+
return [K(i.selectMaxItems, t.max)];
|
|
1367
1367
|
}
|
|
1368
1368
|
},
|
|
1369
1369
|
date(e, t, n, i = Z) {
|
|
@@ -1372,15 +1372,15 @@ const $e = {
|
|
|
1372
1372
|
return a;
|
|
1373
1373
|
const r = new Date(e);
|
|
1374
1374
|
if (isNaN(r.getDate()))
|
|
1375
|
-
return [
|
|
1375
|
+
return [K(i.invalidDate)];
|
|
1376
1376
|
const o = [];
|
|
1377
1377
|
if (!z(t.min)) {
|
|
1378
1378
|
const s = new Date(t.min);
|
|
1379
|
-
r.valueOf() < s.valueOf() && o.push(
|
|
1379
|
+
r.valueOf() < s.valueOf() && o.push(K(i.dateIsEarly, ae.format(r), ae.format(s)));
|
|
1380
1380
|
}
|
|
1381
1381
|
if (!z(t.max)) {
|
|
1382
1382
|
const s = new Date(t.max);
|
|
1383
|
-
r.valueOf() > s.valueOf() && o.push(
|
|
1383
|
+
r.valueOf() > s.valueOf() && o.push(K(i.dateIsLate, ae.format(r), ae.format(s)));
|
|
1384
1384
|
}
|
|
1385
1385
|
return o;
|
|
1386
1386
|
},
|
|
@@ -1389,21 +1389,21 @@ const $e = {
|
|
|
1389
1389
|
if (a != null)
|
|
1390
1390
|
return a;
|
|
1391
1391
|
if (!z(t.pattern) && !new RegExp(t.pattern).test(e))
|
|
1392
|
-
return [
|
|
1392
|
+
return [K(i.invalidFormat)];
|
|
1393
1393
|
},
|
|
1394
1394
|
email(e, t, n, i = Z) {
|
|
1395
1395
|
const a = te(e, t.required, i);
|
|
1396
1396
|
if (a != null)
|
|
1397
1397
|
return a;
|
|
1398
1398
|
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))
|
|
1399
|
-
return [
|
|
1399
|
+
return [K(i.invalidEmail)];
|
|
1400
1400
|
},
|
|
1401
1401
|
url(e, t, n, i = Z) {
|
|
1402
1402
|
const a = te(e, t.required, i);
|
|
1403
1403
|
if (a != null)
|
|
1404
1404
|
return a;
|
|
1405
1405
|
if (!/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g.test(e))
|
|
1406
|
-
return [
|
|
1406
|
+
return [K(i.invalidURL)];
|
|
1407
1407
|
},
|
|
1408
1408
|
creditCard(e, t, n, i = Z) {
|
|
1409
1409
|
const a = te(e, t.required, i);
|
|
@@ -1411,26 +1411,26 @@ const $e = {
|
|
|
1411
1411
|
return a;
|
|
1412
1412
|
const r = /^(?: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})$/, o = e.replace(/[^0-9]+/g, "");
|
|
1413
1413
|
if (!r.test(o))
|
|
1414
|
-
return [
|
|
1414
|
+
return [K(i.invalidCard)];
|
|
1415
1415
|
let s = 0, l, u, m;
|
|
1416
1416
|
for (let b = o.length - 1; b >= 0; b--)
|
|
1417
1417
|
l = o.substring(b, b + 1), u = parseInt(l, 10), m ? (u *= 2, u >= 10 ? s += u % 10 + 1 : s += u) : s += u, m = !m;
|
|
1418
1418
|
if (!(s % 10 === 0 && o))
|
|
1419
|
-
return [
|
|
1419
|
+
return [K(i.invalidCardNumber)];
|
|
1420
1420
|
},
|
|
1421
1421
|
alpha(e, t, n, i = Z) {
|
|
1422
1422
|
const a = te(e, t.required, i);
|
|
1423
1423
|
if (a != null)
|
|
1424
1424
|
return a;
|
|
1425
1425
|
if (!/^[a-zA-Z]*$/.test(e))
|
|
1426
|
-
return [
|
|
1426
|
+
return [K(i.invalidTextContainNumber)];
|
|
1427
1427
|
},
|
|
1428
1428
|
alphaNumeric(e, t, n, i = Z) {
|
|
1429
1429
|
const a = te(e, t.required, i);
|
|
1430
1430
|
if (a != null)
|
|
1431
1431
|
return a;
|
|
1432
1432
|
if (!/^[a-zA-Z0-9]*$/.test(e))
|
|
1433
|
-
return [
|
|
1433
|
+
return [K(i.invalidTextContainSpec)];
|
|
1434
1434
|
}
|
|
1435
1435
|
};
|
|
1436
1436
|
Object.keys($e).forEach((e) => {
|
|
@@ -1653,7 +1653,7 @@ function ql(e, t, n, i, a, r) {
|
|
|
1653
1653
|
[o, "wrapper"]
|
|
1654
1654
|
]);
|
|
1655
1655
|
}
|
|
1656
|
-
const
|
|
1656
|
+
const Kl = {
|
|
1657
1657
|
mixins: [V],
|
|
1658
1658
|
data() {
|
|
1659
1659
|
return {
|
|
@@ -1709,9 +1709,9 @@ const Hl = {
|
|
|
1709
1709
|
this.comboExpanded = !this.comboExpanded;
|
|
1710
1710
|
}
|
|
1711
1711
|
}
|
|
1712
|
-
},
|
|
1712
|
+
}, Hl = /* @__PURE__ */ S(Kl, [["render", ql]]);
|
|
1713
1713
|
function Yl(e) {
|
|
1714
|
-
const t = fe([]), n = fe(null), i = (v) => Te(v) ? $e[v] != null ? $e[v] : (console.warn(`'${v}' is not a validator function!`), null) : v, a =
|
|
1714
|
+
const t = fe([]), n = fe(null), i = (v) => Te(v) ? $e[v] != null ? $e[v] : (console.warn(`'${v}' is not a validator function!`), null) : v, a = H({
|
|
1715
1715
|
get() {
|
|
1716
1716
|
let v;
|
|
1717
1717
|
return U(O(e.schema, "get")) ? v = e.schema.get(e.model) : v = O(e.model, e.schema.model), F(v);
|
|
@@ -1845,7 +1845,7 @@ const mi = {
|
|
|
1845
1845
|
t({
|
|
1846
1846
|
clearValidationErrors: s
|
|
1847
1847
|
});
|
|
1848
|
-
const u =
|
|
1848
|
+
const u = H(() => {
|
|
1849
1849
|
var _;
|
|
1850
1850
|
const p = (_ = i.schema) == null ? void 0 : _.inputType.toLowerCase();
|
|
1851
1851
|
return p === "string" ? "text" : p === "datetime" ? "datetime-local" : p || "text";
|
|
@@ -2182,8 +2182,8 @@ function Cd(e, t, n, i, a, r) {
|
|
|
2182
2182
|
var o = ee(e), s = ee(t), l = o ? Sn : Pe(e), u = s ? Sn : Pe(t);
|
|
2183
2183
|
l = l == Tn ? We : l, u = u == Tn ? We : u;
|
|
2184
2184
|
var m = l == We, b = u == We, y = l == u;
|
|
2185
|
-
if (y &&
|
|
2186
|
-
if (!
|
|
2185
|
+
if (y && Ke(e)) {
|
|
2186
|
+
if (!Ke(t))
|
|
2187
2187
|
return !1;
|
|
2188
2188
|
o = !0, m = !1;
|
|
2189
2189
|
}
|
|
@@ -2308,8 +2308,8 @@ function qd(e, t, n) {
|
|
|
2308
2308
|
var a = n == null ? 0 : si(n);
|
|
2309
2309
|
return a < 0 && (a = Rd(i + a, 0)), ti(e, bi(t), a);
|
|
2310
2310
|
}
|
|
2311
|
-
var
|
|
2312
|
-
const
|
|
2311
|
+
var Kd = Bd(qd);
|
|
2312
|
+
const Hd = ["disabled", "name", "id"], Yd = ["disabled"], zd = ["label"], xd = ["value"], Gd = ["value"];
|
|
2313
2313
|
function Zd(e, t, n, i, a, r) {
|
|
2314
2314
|
const o = Ce("attributes");
|
|
2315
2315
|
return L((d(), c("select", {
|
|
@@ -2338,7 +2338,7 @@ function Zd(e, t, n, i, a, r) {
|
|
|
2338
2338
|
value: r.getItemValue(s)
|
|
2339
2339
|
}, N(r.getItemName(s)), 9, Gd))
|
|
2340
2340
|
], 64))), 256))
|
|
2341
|
-
], 10,
|
|
2341
|
+
], 10, Hd)), [
|
|
2342
2342
|
[Ct, e.value],
|
|
2343
2343
|
[o, "input"]
|
|
2344
2344
|
]);
|
|
@@ -2362,7 +2362,7 @@ const Wd = {
|
|
|
2362
2362
|
const t = [];
|
|
2363
2363
|
let n = {};
|
|
2364
2364
|
return e.forEach((i) => {
|
|
2365
|
-
n = null, i.group && x(i) ? (n =
|
|
2365
|
+
n = null, i.group && x(i) ? (n = Kd(t, (a) => a.group === i.group), n ? n.ops.push({
|
|
2366
2366
|
id: i.id,
|
|
2367
2367
|
name: i.name
|
|
2368
2368
|
}) : (n = {
|
|
@@ -2405,7 +2405,7 @@ var Jd = "[object Map]", Xd = "[object Set]", Qd = Object.prototype, eu = Qd.has
|
|
|
2405
2405
|
function tu(e) {
|
|
2406
2406
|
if (e == null)
|
|
2407
2407
|
return !0;
|
|
2408
|
-
if (Le(e) && (ee(e) || typeof e == "string" || typeof e.splice == "function" ||
|
|
2408
|
+
if (Le(e) && (ee(e) || typeof e == "string" || typeof e.splice == "function" || Ke(e) || kt(e) || It(e)))
|
|
2409
2409
|
return !e.length;
|
|
2410
2410
|
var t = Pe(e);
|
|
2411
2411
|
if (t == Jd || t == Xd)
|
|
@@ -2869,7 +2869,7 @@ function Bu(e, t, n, i, a, r) {
|
|
|
2869
2869
|
}, null, 10, ju);
|
|
2870
2870
|
}
|
|
2871
2871
|
const Ru = /* @__PURE__ */ S(Du, [["render", Bu]]), qu = ["autocomplete", "disabled", "placeholder", "readonly", "name"];
|
|
2872
|
-
function
|
|
2872
|
+
function Ku(e, t, n, i, a, r) {
|
|
2873
2873
|
return L((d(), c("input", {
|
|
2874
2874
|
class: "form-control",
|
|
2875
2875
|
type: "text",
|
|
@@ -2883,7 +2883,7 @@ function Hu(e, t, n, i, a, r) {
|
|
|
2883
2883
|
[ne, e.value]
|
|
2884
2884
|
]);
|
|
2885
2885
|
}
|
|
2886
|
-
const
|
|
2886
|
+
const Hu = "YYYY-MM-DD", Yu = {
|
|
2887
2887
|
mixins: [V],
|
|
2888
2888
|
data() {
|
|
2889
2889
|
return {
|
|
@@ -2899,7 +2899,7 @@ const Ku = "YYYY-MM-DD", Yu = {
|
|
|
2899
2899
|
},
|
|
2900
2900
|
methods: {
|
|
2901
2901
|
getDateFormat() {
|
|
2902
|
-
return O(this.schema, "pikadayOptions.format",
|
|
2902
|
+
return O(this.schema, "pikadayOptions.format", Hu);
|
|
2903
2903
|
},
|
|
2904
2904
|
...wi,
|
|
2905
2905
|
initialize(e) {
|
|
@@ -2915,7 +2915,7 @@ const Ku = "YYYY-MM-DD", Yu = {
|
|
|
2915
2915
|
});
|
|
2916
2916
|
}
|
|
2917
2917
|
}
|
|
2918
|
-
}, zu = /* @__PURE__ */ S(Yu, [["render",
|
|
2918
|
+
}, zu = /* @__PURE__ */ S(Yu, [["render", Ku]]), xu = ["autocomplete", "data-disable", "data-max", "data-min", "data-step", "placeholder", "readonly", "name"];
|
|
2919
2919
|
function Gu(e, t, n, i, a, r) {
|
|
2920
2920
|
return d(), c("input", {
|
|
2921
2921
|
type: "text",
|
|
@@ -3350,7 +3350,7 @@ const Ti = /* @__PURE__ */ S(yc, [["render", Fc]]), Uc = {
|
|
|
3350
3350
|
}, Si = (e) => (Me("data-v-22600a29"), e = e(), Ie(), e), Nc = ["id"], Pc = ["data-testid"], Lc = { class: "item-wrapper" }, Vc = { class: "index-wrapper" }, Dc = /* @__PURE__ */ Si(() => /* @__PURE__ */ h("hr", { class: "divider" }, null, -1)), jc = { key: 0 }, Bc = { key: 1 }, Rc = ["onUpdate:modelValue", "placeholder", "onInput"], qc = {
|
|
3351
3351
|
key: 0,
|
|
3352
3352
|
class: "hint"
|
|
3353
|
-
},
|
|
3353
|
+
}, Kc = /* @__PURE__ */ Si(() => /* @__PURE__ */ h("hr", { class: "wide-divider" }, null, -1)), Hc = { class: "input-item" }, Yc = ["placeholder"], zc = {
|
|
3354
3354
|
key: 0,
|
|
3355
3355
|
class: "hint"
|
|
3356
3356
|
};
|
|
@@ -3405,14 +3405,14 @@ function xc(e, t, n, i, a, r) {
|
|
|
3405
3405
|
]),
|
|
3406
3406
|
e.schema.fields && e.schema.fields[0].schema.hint ? (d(), c("p", qc, N(e.schema.fields[0].schema.hint), 1)) : w("", !0)
|
|
3407
3407
|
])),
|
|
3408
|
-
|
|
3408
|
+
Kc
|
|
3409
3409
|
])
|
|
3410
3410
|
])
|
|
3411
3411
|
], 8, Pc))), 128)),
|
|
3412
3412
|
h("div", {
|
|
3413
3413
|
class: D(["input-wrapper", { indent: r.hasObjectKeys }])
|
|
3414
3414
|
}, [
|
|
3415
|
-
h("div",
|
|
3415
|
+
h("div", Hc, [
|
|
3416
3416
|
L(h("input", {
|
|
3417
3417
|
"onUpdate:modelValue": t[0] || (t[0] = (u) => a.newKeyName = u),
|
|
3418
3418
|
class: "form-control",
|
|
@@ -3443,7 +3443,7 @@ const $i = /* @__PURE__ */ S(Uc, [["render", xc], ["__scopeId", "data-v-22600a29
|
|
|
3443
3443
|
for (const [i, a] of t)
|
|
3444
3444
|
n[i] = a;
|
|
3445
3445
|
return n;
|
|
3446
|
-
}, Gc = (e) => (Me("data-v-
|
|
3446
|
+
}, Gc = (e) => (Me("data-v-1d2a8d30"), e = e(), Ie(), e), Zc = ["aria-hidden"], Wc = {
|
|
3447
3447
|
key: 0,
|
|
3448
3448
|
"data-testid": "kui-icon-svg-title"
|
|
3449
3449
|
}, Jc = /* @__PURE__ */ Gc(() => /* @__PURE__ */ h("path", {
|
|
@@ -3501,7 +3501,7 @@ const $i = /* @__PURE__ */ S(Uc, [["render", xc], ["__scopeId", "data-v-22600a29
|
|
|
3501
3501
|
}
|
|
3502
3502
|
},
|
|
3503
3503
|
setup(e) {
|
|
3504
|
-
const t = e, n =
|
|
3504
|
+
const t = e, n = H(() => {
|
|
3505
3505
|
if (typeof t.size == "number" && t.size > 0)
|
|
3506
3506
|
return `${t.size}px`;
|
|
3507
3507
|
if (typeof t.size == "string") {
|
|
@@ -3510,7 +3510,7 @@ const $i = /* @__PURE__ */ S(Uc, [["render", xc], ["__scopeId", "data-v-22600a29
|
|
|
3510
3510
|
return `${r}px`;
|
|
3511
3511
|
}
|
|
3512
3512
|
return tt;
|
|
3513
|
-
}), i =
|
|
3513
|
+
}), i = H(() => ({
|
|
3514
3514
|
boxSizing: "border-box",
|
|
3515
3515
|
color: t.color,
|
|
3516
3516
|
display: t.display,
|
|
@@ -3542,7 +3542,7 @@ const $i = /* @__PURE__ */ S(Uc, [["render", xc], ["__scopeId", "data-v-22600a29
|
|
|
3542
3542
|
_: 1
|
|
3543
3543
|
}, 8, ["aria-hidden", "style"]));
|
|
3544
3544
|
}
|
|
3545
|
-
}), Qc = /* @__PURE__ */ Ci(Xc, [["__scopeId", "data-v-
|
|
3545
|
+
}), Qc = /* @__PURE__ */ Ci(Xc, [["__scopeId", "data-v-1d2a8d30"]]), eh = (e) => (Me("data-v-b199fa56"), e = e(), Ie(), e), th = ["aria-hidden"], nh = {
|
|
3546
3546
|
key: 0,
|
|
3547
3547
|
"data-testid": "kui-icon-svg-title"
|
|
3548
3548
|
}, ih = /* @__PURE__ */ eh(() => /* @__PURE__ */ h("path", {
|
|
@@ -3600,7 +3600,7 @@ const $i = /* @__PURE__ */ S(Uc, [["render", xc], ["__scopeId", "data-v-22600a29
|
|
|
3600
3600
|
}
|
|
3601
3601
|
},
|
|
3602
3602
|
setup(e) {
|
|
3603
|
-
const t = e, n =
|
|
3603
|
+
const t = e, n = H(() => {
|
|
3604
3604
|
if (typeof t.size == "number" && t.size > 0)
|
|
3605
3605
|
return `${t.size}px`;
|
|
3606
3606
|
if (typeof t.size == "string") {
|
|
@@ -3609,7 +3609,7 @@ const $i = /* @__PURE__ */ S(Uc, [["render", xc], ["__scopeId", "data-v-22600a29
|
|
|
3609
3609
|
return `${r}px`;
|
|
3610
3610
|
}
|
|
3611
3611
|
return tt;
|
|
3612
|
-
}), i =
|
|
3612
|
+
}), i = H(() => ({
|
|
3613
3613
|
boxSizing: "border-box",
|
|
3614
3614
|
color: t.color,
|
|
3615
3615
|
display: t.display,
|
|
@@ -3641,7 +3641,7 @@ const $i = /* @__PURE__ */ S(Uc, [["render", xc], ["__scopeId", "data-v-22600a29
|
|
|
3641
3641
|
_: 1
|
|
3642
3642
|
}, 8, ["aria-hidden", "style"]));
|
|
3643
3643
|
}
|
|
3644
|
-
}), ut = /* @__PURE__ */ Ci(rh, [["__scopeId", "data-v-
|
|
3644
|
+
}), ut = /* @__PURE__ */ Ci(rh, [["__scopeId", "data-v-b199fa56"]]), ah = { class: "array-item" }, sh = /* @__PURE__ */ de({
|
|
3645
3645
|
__name: "FieldArrayItem",
|
|
3646
3646
|
props: {
|
|
3647
3647
|
model: {
|
|
@@ -4193,7 +4193,7 @@ function qh(e, t, n, i, a, r) {
|
|
|
4193
4193
|
], 2)
|
|
4194
4194
|
]);
|
|
4195
4195
|
}
|
|
4196
|
-
const
|
|
4196
|
+
const Kh = /* @__PURE__ */ S(jh, [["render", qh], ["__scopeId", "data-v-2d8e71e1"]]), Hh = {
|
|
4197
4197
|
mixins: [V],
|
|
4198
4198
|
emits: ["model-updated"],
|
|
4199
4199
|
data() {
|
|
@@ -4267,7 +4267,7 @@ function Jh(e, t, n, i, a, r) {
|
|
|
4267
4267
|
]))), 128))
|
|
4268
4268
|
]);
|
|
4269
4269
|
}
|
|
4270
|
-
const Xh = /* @__PURE__ */ S(
|
|
4270
|
+
const Xh = /* @__PURE__ */ S(Hh, [["render", Jh], ["__scopeId", "data-v-25fe24da"]]), Qh = {
|
|
4271
4271
|
mixins: [V],
|
|
4272
4272
|
emits: ["model-updated"],
|
|
4273
4273
|
methods: {
|
|
@@ -4395,14 +4395,14 @@ function sm(e, t, n, i, a, r) {
|
|
|
4395
4395
|
}
|
|
4396
4396
|
const om = /* @__PURE__ */ S(nm, [["render", sm], ["__scopeId", "data-v-29d15375"]]), lm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4397
4397
|
__proto__: null,
|
|
4398
|
-
FieldAdvanced:
|
|
4398
|
+
FieldAdvanced: Kh,
|
|
4399
4399
|
FieldArray: Dh,
|
|
4400
4400
|
FieldArrayCardContainer: Ei,
|
|
4401
4401
|
FieldArrayItem: Mi,
|
|
4402
4402
|
FieldArrayMultiItem: Ii,
|
|
4403
4403
|
FieldAutoSuggest: Oi,
|
|
4404
4404
|
FieldCheckbox: Fl,
|
|
4405
|
-
FieldChecklist:
|
|
4405
|
+
FieldChecklist: Hl,
|
|
4406
4406
|
FieldCleave: yu,
|
|
4407
4407
|
FieldDateTimePicker: Su,
|
|
4408
4408
|
FieldGoogleAddress: Iu,
|
|
@@ -4432,7 +4432,7 @@ const om = /* @__PURE__ */ S(nm, [["render", sm], ["__scopeId", "data-v-29d15375
|
|
|
4432
4432
|
}, Symbol.toStringTag, { value: "Module" })), dm = {
|
|
4433
4433
|
name: "FormGroup",
|
|
4434
4434
|
components: lm,
|
|
4435
|
-
mixins: [
|
|
4435
|
+
mixins: [Kn],
|
|
4436
4436
|
props: {
|
|
4437
4437
|
vfg: {
|
|
4438
4438
|
type: Object,
|
|
@@ -4621,7 +4621,7 @@ function Tm(e, t, n, i, a, r) {
|
|
|
4621
4621
|
const Sm = /* @__PURE__ */ S(dm, [["render", Tm], ["__scopeId", "data-v-b1f6f432"]]), $m = {
|
|
4622
4622
|
name: "FormGenerator",
|
|
4623
4623
|
components: { formGroup: Sm },
|
|
4624
|
-
mixins: [
|
|
4624
|
+
mixins: [Kn],
|
|
4625
4625
|
props: {
|
|
4626
4626
|
schema: {
|
|
4627
4627
|
type: Object,
|
|
@@ -5352,7 +5352,7 @@ const X = /* @__PURE__ */ S($m, [["render", Im]]), Am = {
|
|
|
5352
5352
|
this.formModel["config-auth_methods"] = this.getAuthMethodsValue(t, e), this.onModelUpdated();
|
|
5353
5353
|
}
|
|
5354
5354
|
}
|
|
5355
|
-
}, De = (e) => (Me("data-v-e7395ff0"), e = e(), Ie(), e), Fm = { class: "general-settings" }, Um = { class: "link-wrapper" }, Nm = /* @__PURE__ */ De(() => /* @__PURE__ */ h("span", { class: "section-header" }, "Common Configuration Settings", -1)), Pm = /* @__PURE__ */ De(() => /* @__PURE__ */ h("div", { class: "description" }, " Parameters for enabling the OpenID Connect plugin. Set these parameters before adding authorization, authentication, or other advanced configuration details. ", -1)), Lm = { class: "auth-method-container" }, Vm = { class: "general-settings" }, Dm = { class: "link-wrapper" }, jm = /* @__PURE__ */ De(() => /* @__PURE__ */ h("span", { class: "section-header" }, "Authorization Configuration Settings", -1)), Bm = /* @__PURE__ */ De(() => /* @__PURE__ */ h("div", { class: "description" }, " Parameters for setting up claims-based authorization. ", -1)), Rm = { class: "general-settings" }, qm = { class: "link-wrapper" },
|
|
5355
|
+
}, De = (e) => (Me("data-v-e7395ff0"), e = e(), Ie(), e), Fm = { class: "general-settings" }, Um = { class: "link-wrapper" }, Nm = /* @__PURE__ */ De(() => /* @__PURE__ */ h("span", { class: "section-header" }, "Common Configuration Settings", -1)), Pm = /* @__PURE__ */ De(() => /* @__PURE__ */ h("div", { class: "description" }, " Parameters for enabling the OpenID Connect plugin. Set these parameters before adding authorization, authentication, or other advanced configuration details. ", -1)), Lm = { class: "auth-method-container" }, Vm = { class: "general-settings" }, Dm = { class: "link-wrapper" }, jm = /* @__PURE__ */ De(() => /* @__PURE__ */ h("span", { class: "section-header" }, "Authorization Configuration Settings", -1)), Bm = /* @__PURE__ */ De(() => /* @__PURE__ */ h("div", { class: "description" }, " Parameters for setting up claims-based authorization. ", -1)), Rm = { class: "general-settings" }, qm = { class: "link-wrapper" }, Km = /* @__PURE__ */ De(() => /* @__PURE__ */ h("span", { class: "section-header" }, "Advanced Configuration Settings", -1)), Hm = /* @__PURE__ */ De(() => /* @__PURE__ */ h("div", { class: "description" }, " Advanced parameters for manually configuring the OpenID Connect plugin. ", -1));
|
|
5356
5356
|
function Ym(e, t, n, i, a, r) {
|
|
5357
5357
|
const o = k("VueFormGenerator"), s = k("KExternalLink"), l = k("KLabel"), u = k("KCheckbox"), m = k("KInputSwitch"), b = k("KTabs");
|
|
5358
5358
|
return d(), c("div", null, [
|
|
@@ -5439,12 +5439,12 @@ function Ym(e, t, n, i, a, r) {
|
|
|
5439
5439
|
h("div", qm, [
|
|
5440
5440
|
E(s, { href: "https://docs.konghq.com/hub/kong-inc/openid-connect/" }, {
|
|
5441
5441
|
default: C(() => [
|
|
5442
|
-
|
|
5442
|
+
Km
|
|
5443
5443
|
]),
|
|
5444
5444
|
_: 1
|
|
5445
5445
|
})
|
|
5446
5446
|
]),
|
|
5447
|
-
|
|
5447
|
+
Hm,
|
|
5448
5448
|
r.displayForm ? (d(), A(o, {
|
|
5449
5449
|
key: 0,
|
|
5450
5450
|
model: n.formModel,
|
|
@@ -5548,7 +5548,7 @@ const zm = /* @__PURE__ */ S(km, [["render", Ym], ["__scopeId", "data-v-e7395ff0
|
|
|
5548
5548
|
}
|
|
5549
5549
|
},
|
|
5550
5550
|
setup(e) {
|
|
5551
|
-
const { t, te: n } = On("en-us", Fi), i = e, a =
|
|
5551
|
+
const { t, te: n } = On("en-us", Fi), i = e, a = H(() => i.formModel.id && i.isEditing || !i.isEditing), r = H(() => {
|
|
5552
5552
|
const o = i.formSchema;
|
|
5553
5553
|
return o.fields.map((s) => {
|
|
5554
5554
|
const l = `post-function.${s.model}`;
|
|
@@ -5589,7 +5589,7 @@ const zm = /* @__PURE__ */ S(km, [["render", Ym], ["__scopeId", "data-v-e7395ff0
|
|
|
5589
5589
|
}
|
|
5590
5590
|
},
|
|
5591
5591
|
setup(e) {
|
|
5592
|
-
const { t, te: n } = On("en-us", Fi), i = e, a =
|
|
5592
|
+
const { t, te: n } = On("en-us", Fi), i = e, a = H(() => i.formModel.id && i.isEditing || !i.isEditing), r = H(() => {
|
|
5593
5593
|
const o = i.formSchema;
|
|
5594
5594
|
return o.fields.map((s) => {
|
|
5595
5595
|
const l = `exit-transformer.${s.model}`;
|
|
@@ -5724,14 +5724,14 @@ const zm = /* @__PURE__ */ S(km, [["render", Ym], ["__scopeId", "data-v-e7395ff0
|
|
|
5724
5724
|
}
|
|
5725
5725
|
},
|
|
5726
5726
|
setup(e) {
|
|
5727
|
-
const t = e, n = fe("zeroSsl"), i = fe("shm"), a =
|
|
5727
|
+
const t = e, n = fe("zeroSsl"), i = fe("shm"), a = H(() => {
|
|
5728
5728
|
var f;
|
|
5729
5729
|
const g = {};
|
|
5730
5730
|
if ((f = t.formSchema) != null && f.fields)
|
|
5731
5731
|
for (const T of t.formSchema.fields)
|
|
5732
5732
|
g[T.model] = T;
|
|
5733
5733
|
return g;
|
|
5734
|
-
}), r =
|
|
5734
|
+
}), r = H(() => {
|
|
5735
5735
|
var f;
|
|
5736
5736
|
const g = mt(Xm);
|
|
5737
5737
|
for (const T of g.fields) {
|
|
@@ -5739,7 +5739,7 @@ const zm = /* @__PURE__ */ S(km, [["render", Ym], ["__scopeId", "data-v-e7395ff0
|
|
|
5739
5739
|
T.help === void 0 && typeof P == "string" && (T.help = P);
|
|
5740
5740
|
}
|
|
5741
5741
|
return g;
|
|
5742
|
-
}), o =
|
|
5742
|
+
}), o = H(() => {
|
|
5743
5743
|
var f;
|
|
5744
5744
|
const g = mt(Qm);
|
|
5745
5745
|
for (const T of g.fields) {
|
|
@@ -5747,7 +5747,7 @@ const zm = /* @__PURE__ */ S(km, [["render", Ym], ["__scopeId", "data-v-e7395ff0
|
|
|
5747
5747
|
T.help === void 0 && typeof P == "string" && (T.help = P);
|
|
5748
5748
|
}
|
|
5749
5749
|
return g;
|
|
5750
|
-
}), s =
|
|
5750
|
+
}), s = H(() => {
|
|
5751
5751
|
var f;
|
|
5752
5752
|
const g = mt(ef);
|
|
5753
5753
|
for (const T of g.fields) {
|
|
@@ -5755,25 +5755,25 @@ const zm = /* @__PURE__ */ S(km, [["render", Ym], ["__scopeId", "data-v-e7395ff0
|
|
|
5755
5755
|
T.help === void 0 && typeof P == "string" && (T.help = P);
|
|
5756
5756
|
}
|
|
5757
5757
|
return g;
|
|
5758
|
-
}), l =
|
|
5758
|
+
}), l = H(() => ({
|
|
5759
5759
|
fields: t.formSchema.fields.filter((g) => !g.model.startsWith("config") && g.model !== "tags")
|
|
5760
|
-
})), u =
|
|
5760
|
+
})), u = H(() => ({
|
|
5761
5761
|
fields: r.value.fields.filter(
|
|
5762
5762
|
(f) => !o.value.fields.some((T) => T.model === f.model) && !s.value.fields.some((T) => T.model === f.model)
|
|
5763
5763
|
)
|
|
5764
|
-
})), m =
|
|
5764
|
+
})), m = H(() => ({
|
|
5765
5765
|
fields: t.formSchema.fields.filter((f) => f.model.startsWith("config-storage") && !f.model.startsWith("config-storage_config-consul") && !f.model.startsWith("config-storage_config-redis") && !f.model.startsWith("config-storage_config-shm") && !f.model.startsWith("config-storage_config-vault"))
|
|
5766
|
-
})), b =
|
|
5766
|
+
})), b = H(() => ({
|
|
5767
5767
|
fields: t.formSchema.fields.filter((f) => f.model.startsWith("config-storage_config-consul"))
|
|
5768
|
-
})), y =
|
|
5768
|
+
})), y = H(() => ({
|
|
5769
5769
|
fields: t.formSchema.fields.filter((f) => f.model.startsWith("config-storage_config-redis"))
|
|
5770
|
-
})), F =
|
|
5770
|
+
})), F = H(() => ({
|
|
5771
5771
|
fields: t.formSchema.fields.filter((f) => f.model.startsWith("config-storage_config-shm"))
|
|
5772
|
-
})), M =
|
|
5772
|
+
})), M = H(() => ({
|
|
5773
5773
|
fields: t.formSchema.fields.filter((f) => f.model.startsWith("config-storage_config-vault"))
|
|
5774
|
-
})), v =
|
|
5774
|
+
})), v = H(() => ({
|
|
5775
5775
|
fields: t.formSchema.fields.filter((g) => g.model.startsWith("config") && !u.value.fields.filter((f) => f.model === g.model).length && !m.value.fields.filter((f) => f.model === g.model).length || g.model === "tags")
|
|
5776
|
-
})), p =
|
|
5776
|
+
})), p = H(() => t.formModel.id && t.isEditing || !t.isEditing), _ = [
|
|
5777
5777
|
{
|
|
5778
5778
|
hash: "#general",
|
|
5779
5779
|
title: "General"
|