@kong-ui-public/forms 4.13.9 → 4.13.10
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 +467 -468
- package/dist/forms.umd.js +2 -2
- package/package.json +4 -4
package/dist/forms.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as g, openBlock as u, createElementVNode as f, toDisplayString as $, normalizeClass as W, createVNode as C, defineComponent as re, provide as at, resolveComponent as F, withCtx as I, renderSlot as Oe, unref as w, createTextVNode as te, createBlock as A, resolveDynamicComponent as ie, Fragment as K, renderList as J, ref as ue, computed as L, toRefs as Le, inject as ot, onMounted as Fn, onBeforeMount as Ut, mergeProps as Ie, Transition as Ai, createCommentVNode as R, resolveDirective as kn, withDirectives as de, vModelText as Je, vModelCheckbox as Ei, vModelSelect as Fi, vModelDynamic as Un, isRef as Ye, toRef as ki, vModelRadio as Ui, vShow as $i, createSlots as $n, watch as $t, normalizeProps as Vi, guardReactiveProps as ji, useSlots as ft, nextTick as Dt } from "vue";
|
|
2
2
|
import { createI18n as ge } from "@kong-ui-public/i18n";
|
|
3
3
|
import { TrashIcon as rt, AddIcon as Vt, RemoveIcon as Ri } from "@kong/icons";
|
|
4
4
|
import { useStringHelpers as Pi, useErrors as Ni, useDebouncedFilter as Li, useAxios as qi } from "@kong-ui-public/entities-shared";
|
|
@@ -23,15 +23,15 @@ function Bi(e, t) {
|
|
|
23
23
|
a[n] = t(n);
|
|
24
24
|
return a;
|
|
25
25
|
}
|
|
26
|
-
var jn = typeof global == "object" && global && global.Object === Object && global, zi = typeof self == "object" && self && self.Object === Object && self, pe = jn || zi || Function("return this")(), Ae = pe.Symbol, Rn = Object.prototype,
|
|
26
|
+
var jn = typeof global == "object" && global && global.Object === Object && global, zi = typeof self == "object" && self && self.Object === Object && self, pe = jn || zi || Function("return this")(), Ae = pe.Symbol, Rn = Object.prototype, Hi = Rn.hasOwnProperty, Yi = Rn.toString, We = Ae ? Ae.toStringTag : void 0;
|
|
27
27
|
function xi(e) {
|
|
28
|
-
var t =
|
|
28
|
+
var t = Hi.call(e, We), n = e[We];
|
|
29
29
|
try {
|
|
30
30
|
e[We] = void 0;
|
|
31
31
|
var a = !0;
|
|
32
32
|
} catch {
|
|
33
33
|
}
|
|
34
|
-
var i =
|
|
34
|
+
var i = Yi.call(e);
|
|
35
35
|
return a && (t ? e[We] = n : delete e[We]), i;
|
|
36
36
|
}
|
|
37
37
|
var Gi = Object.prototype, Wi = Gi.toString;
|
|
@@ -57,7 +57,7 @@ var Pn = Object.prototype, ea = Pn.hasOwnProperty, ta = Pn.propertyIsEnumerable,
|
|
|
57
57
|
function ia() {
|
|
58
58
|
return !1;
|
|
59
59
|
}
|
|
60
|
-
var Nn = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
60
|
+
var Nn = typeof exports == "object" && exports && !exports.nodeType && exports, Ht = Nn && typeof module == "object" && module && !module.nodeType && module, aa = Ht && Ht.exports === Nn, Yt = aa ? pe.Buffer : void 0, ra = Yt ? Yt.isBuffer : void 0, Ln = ra || ia, oa = 9007199254740991, sa = /^(?:0|[1-9]\d*)$/;
|
|
61
61
|
function qn(e, t) {
|
|
62
62
|
var n = typeof e;
|
|
63
63
|
return t = t ?? oa, !!t && (n == "number" || n != "symbol" && sa.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
@@ -77,13 +77,13 @@ function jt(e) {
|
|
|
77
77
|
return e(t);
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
|
-
var Dn = typeof exports == "object" && exports && !exports.nodeType && exports, Qe = Dn && typeof module == "object" && module && !module.nodeType && module, Va = Qe && Qe.exports === Dn, St = Va && jn.process,
|
|
80
|
+
var Dn = typeof exports == "object" && exports && !exports.nodeType && exports, Qe = Dn && typeof module == "object" && module && !module.nodeType && module, Va = Qe && Qe.exports === Dn, St = Va && jn.process, He = function() {
|
|
81
81
|
try {
|
|
82
82
|
var e = Qe && Qe.require && Qe.require("util").types;
|
|
83
83
|
return e || St && St.binding && St.binding("util");
|
|
84
84
|
} catch {
|
|
85
85
|
}
|
|
86
|
-
}(), xt =
|
|
86
|
+
}(), xt = He && He.isTypedArray, ja = xt ? jt(xt) : $a, Ra = Object.prototype, Pa = Ra.hasOwnProperty;
|
|
87
87
|
function Bn(e, t) {
|
|
88
88
|
var n = ke(e), a = !n && na(e), i = !n && !a && Ln(e), r = !n && !a && !i && ja(e), s = n || a || i || r, o = s ? Bi(e.length, String) : [], l = o.length;
|
|
89
89
|
for (var d in e)
|
|
@@ -117,12 +117,12 @@ function me(e) {
|
|
|
117
117
|
var t = typeof e;
|
|
118
118
|
return e != null && (t == "object" || t == "function");
|
|
119
119
|
}
|
|
120
|
-
var Ba = "[object AsyncFunction]", za = "[object Function]",
|
|
120
|
+
var Ba = "[object AsyncFunction]", za = "[object Function]", Ha = "[object GeneratorFunction]", Ya = "[object Proxy]";
|
|
121
121
|
function z(e) {
|
|
122
122
|
if (!me(e))
|
|
123
123
|
return !1;
|
|
124
124
|
var t = Ee(e);
|
|
125
|
-
return t == za || t ==
|
|
125
|
+
return t == za || t == Ha || t == Ba || t == Ya;
|
|
126
126
|
}
|
|
127
127
|
function ht(e) {
|
|
128
128
|
return e != null && Kn(e.length) && !z(e);
|
|
@@ -359,63 +359,62 @@ function Br(e, t) {
|
|
|
359
359
|
i[n] = t(e[n], n, e);
|
|
360
360
|
return i;
|
|
361
361
|
}
|
|
362
|
-
var
|
|
363
|
-
function
|
|
362
|
+
var Wt = Ae ? Ae.prototype : void 0, Zt = Wt ? Wt.toString : void 0;
|
|
363
|
+
function Hn(e) {
|
|
364
364
|
if (typeof e == "string")
|
|
365
365
|
return e;
|
|
366
366
|
if (ke(e))
|
|
367
|
-
return Br(e,
|
|
367
|
+
return Br(e, Hn) + "";
|
|
368
368
|
if (gt(e))
|
|
369
369
|
return Zt ? Zt.call(e) : "";
|
|
370
370
|
var t = e + "";
|
|
371
|
-
return t == "0" && 1 / e == -
|
|
371
|
+
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
372
372
|
}
|
|
373
|
-
function
|
|
374
|
-
return e == null ? "" :
|
|
373
|
+
function Yn(e) {
|
|
374
|
+
return e == null ? "" : Hn(e);
|
|
375
375
|
}
|
|
376
|
-
function
|
|
377
|
-
return ke(e) ? e : er(e, t) ? [e] : Dr(
|
|
376
|
+
function zr(e, t) {
|
|
377
|
+
return ke(e) ? e : er(e, t) ? [e] : Dr(Yn(e));
|
|
378
378
|
}
|
|
379
|
-
|
|
380
|
-
function xr(e) {
|
|
379
|
+
function Hr(e) {
|
|
381
380
|
if (typeof e == "string" || gt(e))
|
|
382
381
|
return e;
|
|
383
382
|
var t = e + "";
|
|
384
|
-
return t == "0" && 1 / e == -
|
|
383
|
+
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
385
384
|
}
|
|
386
|
-
function
|
|
387
|
-
t =
|
|
385
|
+
function Yr(e, t) {
|
|
386
|
+
t = zr(t, e);
|
|
388
387
|
for (var n = 0, a = t.length; e != null && n < a; )
|
|
389
|
-
e = e[
|
|
388
|
+
e = e[Hr(t[n++])];
|
|
390
389
|
return n && n == a ? e : void 0;
|
|
391
390
|
}
|
|
392
391
|
function B(e, t, n) {
|
|
393
|
-
var a = e == null ? void 0 :
|
|
392
|
+
var a = e == null ? void 0 : Yr(e, t);
|
|
394
393
|
return a === void 0 ? n : a;
|
|
395
394
|
}
|
|
396
395
|
function X(e) {
|
|
397
396
|
return e == null;
|
|
398
397
|
}
|
|
399
|
-
const $e = "kong-ui-forms-api",
|
|
400
|
-
function
|
|
398
|
+
const $e = "kong-ui-forms-api", xr = "kong-ui-forms-config", Gr = "redis-partial-list-fetcher-key", _m = "redis-partial-info", xe = "autofill", he = "autofillSlot";
|
|
399
|
+
function Wr() {
|
|
401
400
|
this.__data__ = new Me(), this.size = 0;
|
|
402
401
|
}
|
|
403
|
-
function
|
|
402
|
+
function Zr(e) {
|
|
404
403
|
var t = this.__data__, n = t.delete(e);
|
|
405
404
|
return this.size = t.size, n;
|
|
406
405
|
}
|
|
407
|
-
function
|
|
406
|
+
function Jr(e) {
|
|
408
407
|
return this.__data__.get(e);
|
|
409
408
|
}
|
|
410
|
-
function
|
|
409
|
+
function Qr(e) {
|
|
411
410
|
return this.__data__.has(e);
|
|
412
411
|
}
|
|
413
|
-
var
|
|
414
|
-
function
|
|
412
|
+
var Xr = 200;
|
|
413
|
+
function eo(e, t) {
|
|
415
414
|
var n = this.__data__;
|
|
416
415
|
if (n instanceof Me) {
|
|
417
416
|
var a = n.__data__;
|
|
418
|
-
if (!nt || a.length <
|
|
417
|
+
if (!nt || a.length < Xr - 1)
|
|
419
418
|
return a.push([e, t]), this.size = ++n.size, this;
|
|
420
419
|
n = this.__data__ = new Se(a);
|
|
421
420
|
}
|
|
@@ -425,11 +424,11 @@ function Ge(e) {
|
|
|
425
424
|
var t = this.__data__ = new Me(e);
|
|
426
425
|
this.size = t.size;
|
|
427
426
|
}
|
|
428
|
-
Ge.prototype.clear =
|
|
429
|
-
Ge.prototype.delete =
|
|
430
|
-
Ge.prototype.get =
|
|
431
|
-
Ge.prototype.has =
|
|
432
|
-
Ge.prototype.set =
|
|
427
|
+
Ge.prototype.clear = Wr;
|
|
428
|
+
Ge.prototype.delete = Zr;
|
|
429
|
+
Ge.prototype.get = Jr;
|
|
430
|
+
Ge.prototype.has = Qr;
|
|
431
|
+
Ge.prototype.set = eo;
|
|
433
432
|
var st = function() {
|
|
434
433
|
try {
|
|
435
434
|
var e = Ke(Object, "defineProperty");
|
|
@@ -445,10 +444,10 @@ function xn(e, t, n) {
|
|
|
445
444
|
writable: !0
|
|
446
445
|
}) : e[t] = n;
|
|
447
446
|
}
|
|
448
|
-
var
|
|
447
|
+
var to = Object.prototype, no = to.hasOwnProperty;
|
|
449
448
|
function Gn(e, t, n) {
|
|
450
449
|
var a = e[t];
|
|
451
|
-
(!(
|
|
450
|
+
(!(no.call(e, t) && vt(a, n)) || n === void 0 && !(t in e)) && xn(e, t, n);
|
|
452
451
|
}
|
|
453
452
|
function _t(e, t, n, a) {
|
|
454
453
|
var i = !n;
|
|
@@ -459,45 +458,45 @@ function _t(e, t, n, a) {
|
|
|
459
458
|
}
|
|
460
459
|
return n;
|
|
461
460
|
}
|
|
462
|
-
function
|
|
461
|
+
function io(e, t) {
|
|
463
462
|
return e && _t(t, pt(t), e);
|
|
464
463
|
}
|
|
465
|
-
function
|
|
464
|
+
function ao(e) {
|
|
466
465
|
var t = [];
|
|
467
466
|
if (e != null)
|
|
468
467
|
for (var n in Object(e))
|
|
469
468
|
t.push(n);
|
|
470
469
|
return t;
|
|
471
470
|
}
|
|
472
|
-
var
|
|
473
|
-
function
|
|
471
|
+
var ro = Object.prototype, oo = ro.hasOwnProperty;
|
|
472
|
+
function so(e) {
|
|
474
473
|
if (!me(e))
|
|
475
|
-
return
|
|
474
|
+
return ao(e);
|
|
476
475
|
var t = Rt(e), n = [];
|
|
477
476
|
for (var a in e)
|
|
478
|
-
a == "constructor" && (t || !
|
|
477
|
+
a == "constructor" && (t || !oo.call(e, a)) || n.push(a);
|
|
479
478
|
return n;
|
|
480
479
|
}
|
|
481
480
|
function wt(e) {
|
|
482
|
-
return ht(e) ? Bn(e, !0) :
|
|
481
|
+
return ht(e) ? Bn(e, !0) : so(e);
|
|
483
482
|
}
|
|
484
|
-
function
|
|
483
|
+
function lo(e, t) {
|
|
485
484
|
return e && _t(t, wt(t), e);
|
|
486
485
|
}
|
|
487
|
-
var Wn = typeof exports == "object" && exports && !exports.nodeType && exports, Jt = Wn && typeof module == "object" && module && !module.nodeType && module,
|
|
488
|
-
function
|
|
486
|
+
var Wn = typeof exports == "object" && exports && !exports.nodeType && exports, Jt = Wn && typeof module == "object" && module && !module.nodeType && module, uo = Jt && Jt.exports === Wn, Qt = uo ? pe.Buffer : void 0, Xt = Qt ? Qt.allocUnsafe : void 0;
|
|
487
|
+
function co(e, t) {
|
|
489
488
|
if (t)
|
|
490
489
|
return e.slice();
|
|
491
490
|
var n = e.length, a = Xt ? Xt(n) : new e.constructor(n);
|
|
492
491
|
return e.copy(a), a;
|
|
493
492
|
}
|
|
494
|
-
function
|
|
493
|
+
function mo(e, t) {
|
|
495
494
|
var n = -1, a = e.length;
|
|
496
495
|
for (t || (t = Array(a)); ++n < a; )
|
|
497
496
|
t[n] = e[n];
|
|
498
497
|
return t;
|
|
499
498
|
}
|
|
500
|
-
function
|
|
499
|
+
function fo(e, t) {
|
|
501
500
|
for (var n = -1, a = e == null ? 0 : e.length, i = 0, r = []; ++n < a; ) {
|
|
502
501
|
var s = e[n];
|
|
503
502
|
t(s, n, e) && (r[i++] = s);
|
|
@@ -507,12 +506,12 @@ function po(e, t) {
|
|
|
507
506
|
function Zn() {
|
|
508
507
|
return [];
|
|
509
508
|
}
|
|
510
|
-
var
|
|
511
|
-
return e == null ? [] : (e = Object(e),
|
|
512
|
-
return
|
|
509
|
+
var ho = Object.prototype, po = ho.propertyIsEnumerable, en = Object.getOwnPropertySymbols, Lt = en ? function(e) {
|
|
510
|
+
return e == null ? [] : (e = Object(e), fo(en(e), function(t) {
|
|
511
|
+
return po.call(e, t);
|
|
513
512
|
}));
|
|
514
513
|
} : Zn;
|
|
515
|
-
function
|
|
514
|
+
function go(e, t) {
|
|
516
515
|
return _t(e, Lt(e), t);
|
|
517
516
|
}
|
|
518
517
|
function Jn(e, t) {
|
|
@@ -520,80 +519,82 @@ function Jn(e, t) {
|
|
|
520
519
|
e[i + n] = t[n];
|
|
521
520
|
return e;
|
|
522
521
|
}
|
|
523
|
-
var Qn = zn(Object.getPrototypeOf, Object),
|
|
522
|
+
var Qn = zn(Object.getPrototypeOf, Object), vo = Object.getOwnPropertySymbols, Xn = vo ? function(e) {
|
|
524
523
|
for (var t = []; e; )
|
|
525
524
|
Jn(t, Lt(e)), e = Qn(e);
|
|
526
525
|
return t;
|
|
527
526
|
} : Zn;
|
|
528
|
-
function
|
|
527
|
+
function bo(e, t) {
|
|
529
528
|
return _t(e, Xn(e), t);
|
|
530
529
|
}
|
|
531
530
|
function ei(e, t, n) {
|
|
532
531
|
var a = t(e);
|
|
533
532
|
return ke(e) ? a : Jn(a, n(e));
|
|
534
533
|
}
|
|
535
|
-
function
|
|
534
|
+
function yo(e) {
|
|
536
535
|
return ei(e, pt, Lt);
|
|
537
536
|
}
|
|
538
|
-
function
|
|
537
|
+
function _o(e) {
|
|
539
538
|
return ei(e, wt, Xn);
|
|
540
539
|
}
|
|
541
|
-
var At = Ke(pe, "DataView"), Et = Ke(pe, "Promise"), ze = Ke(pe, "Set"), Ft = Ke(pe, "WeakMap"), tn = "[object Map]",
|
|
540
|
+
var At = Ke(pe, "DataView"), Et = Ke(pe, "Promise"), ze = Ke(pe, "Set"), Ft = Ke(pe, "WeakMap"), tn = "[object Map]", wo = "[object Object]", nn = "[object Promise]", an = "[object Set]", rn = "[object WeakMap]", on = "[object DataView]", Mo = qe(At), So = qe(nt), To = qe(Et), Co = qe(ze), Io = qe(Ft), _e = Ee;
|
|
542
541
|
(At && _e(new At(new ArrayBuffer(1))) != on || nt && _e(new nt()) != tn || Et && _e(Et.resolve()) != nn || ze && _e(new ze()) != an || Ft && _e(new Ft()) != rn) && (_e = function(e) {
|
|
543
|
-
var t = Ee(e), n = t ==
|
|
542
|
+
var t = Ee(e), n = t == wo ? e.constructor : void 0, a = n ? qe(n) : "";
|
|
544
543
|
if (a)
|
|
545
544
|
switch (a) {
|
|
546
|
-
case
|
|
545
|
+
case Mo:
|
|
547
546
|
return on;
|
|
548
|
-
case
|
|
547
|
+
case So:
|
|
549
548
|
return tn;
|
|
550
|
-
case
|
|
549
|
+
case To:
|
|
551
550
|
return nn;
|
|
552
|
-
case
|
|
551
|
+
case Co:
|
|
553
552
|
return an;
|
|
554
|
-
case
|
|
553
|
+
case Io:
|
|
555
554
|
return rn;
|
|
556
555
|
}
|
|
557
556
|
return t;
|
|
558
557
|
});
|
|
559
|
-
var
|
|
560
|
-
function
|
|
558
|
+
var Oo = Object.prototype, Ao = Oo.hasOwnProperty;
|
|
559
|
+
function Eo(e) {
|
|
561
560
|
var t = e.length, n = new e.constructor(t);
|
|
562
|
-
return t && typeof e[0] == "string" &&
|
|
561
|
+
return t && typeof e[0] == "string" && Ao.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
563
562
|
}
|
|
564
563
|
var sn = pe.Uint8Array;
|
|
565
564
|
function qt(e) {
|
|
566
565
|
var t = new e.constructor(e.byteLength);
|
|
567
566
|
return new sn(t).set(new sn(e)), t;
|
|
568
567
|
}
|
|
569
|
-
function
|
|
568
|
+
function Fo(e, t) {
|
|
570
569
|
var n = t ? qt(e.buffer) : e.buffer;
|
|
571
570
|
return new e.constructor(n, e.byteOffset, e.byteLength);
|
|
572
571
|
}
|
|
573
|
-
var
|
|
574
|
-
function
|
|
575
|
-
var t = new e.constructor(e.source,
|
|
572
|
+
var ko = /\w*$/;
|
|
573
|
+
function Uo(e) {
|
|
574
|
+
var t = new e.constructor(e.source, ko.exec(e));
|
|
576
575
|
return t.lastIndex = e.lastIndex, t;
|
|
577
576
|
}
|
|
578
577
|
var ln = Ae ? Ae.prototype : void 0, dn = ln ? ln.valueOf : void 0;
|
|
579
|
-
function
|
|
578
|
+
function $o(e) {
|
|
580
579
|
return dn ? Object(dn.call(e)) : {};
|
|
581
580
|
}
|
|
582
|
-
function
|
|
581
|
+
function Vo(e, t) {
|
|
583
582
|
var n = t ? qt(e.buffer) : e.buffer;
|
|
584
583
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
585
584
|
}
|
|
586
|
-
var
|
|
587
|
-
function
|
|
585
|
+
var jo = "[object Boolean]", Ro = "[object Date]", Po = "[object Map]", No = "[object Number]", Lo = "[object RegExp]", qo = "[object Set]", Ko = "[object String]", Do = "[object Symbol]", Bo = "[object ArrayBuffer]", zo = "[object DataView]", Ho = "[object Float32Array]", Yo = "[object Float64Array]", xo = "[object Int8Array]", Go = "[object Int16Array]", Wo = "[object Int32Array]", Zo = "[object Uint8Array]", Jo = "[object Uint8ClampedArray]", Qo = "[object Uint16Array]", Xo = "[object Uint32Array]";
|
|
586
|
+
function es(e, t, n) {
|
|
588
587
|
var a = e.constructor;
|
|
589
588
|
switch (t) {
|
|
590
|
-
case
|
|
589
|
+
case Bo:
|
|
591
590
|
return qt(e);
|
|
592
|
-
case
|
|
593
|
-
case
|
|
591
|
+
case jo:
|
|
592
|
+
case Ro:
|
|
594
593
|
return new a(+e);
|
|
594
|
+
case zo:
|
|
595
|
+
return Fo(e, n);
|
|
595
596
|
case Ho:
|
|
596
|
-
|
|
597
|
+
case Yo:
|
|
597
598
|
case xo:
|
|
598
599
|
case Go:
|
|
599
600
|
case Wo:
|
|
@@ -601,23 +602,21 @@ function ns(e, t, n) {
|
|
|
601
602
|
case Jo:
|
|
602
603
|
case Qo:
|
|
603
604
|
case Xo:
|
|
604
|
-
|
|
605
|
-
case
|
|
606
|
-
return Ro(e, n);
|
|
607
|
-
case Lo:
|
|
605
|
+
return Vo(e, n);
|
|
606
|
+
case Po:
|
|
608
607
|
return new a();
|
|
609
|
-
case
|
|
610
|
-
case Bo:
|
|
611
|
-
return new a(e);
|
|
608
|
+
case No:
|
|
612
609
|
case Ko:
|
|
613
|
-
return
|
|
614
|
-
case
|
|
610
|
+
return new a(e);
|
|
611
|
+
case Lo:
|
|
612
|
+
return Uo(e);
|
|
613
|
+
case qo:
|
|
615
614
|
return new a();
|
|
616
|
-
case
|
|
617
|
-
return
|
|
615
|
+
case Do:
|
|
616
|
+
return $o(e);
|
|
618
617
|
}
|
|
619
618
|
}
|
|
620
|
-
var un = Object.create,
|
|
619
|
+
var un = Object.create, ts = /* @__PURE__ */ function() {
|
|
621
620
|
function e() {
|
|
622
621
|
}
|
|
623
622
|
return function(t) {
|
|
@@ -630,65 +629,65 @@ var un = Object.create, is = /* @__PURE__ */ function() {
|
|
|
630
629
|
return e.prototype = void 0, n;
|
|
631
630
|
};
|
|
632
631
|
}();
|
|
633
|
-
function
|
|
634
|
-
return typeof e.constructor == "function" && !Rt(e) ?
|
|
632
|
+
function ns(e) {
|
|
633
|
+
return typeof e.constructor == "function" && !Rt(e) ? ts(Qn(e)) : {};
|
|
635
634
|
}
|
|
636
|
-
var
|
|
637
|
-
function
|
|
638
|
-
return Fe(e) && _e(e) ==
|
|
635
|
+
var is = "[object Map]";
|
|
636
|
+
function as(e) {
|
|
637
|
+
return Fe(e) && _e(e) == is;
|
|
639
638
|
}
|
|
640
|
-
var cn =
|
|
641
|
-
function
|
|
642
|
-
return Fe(e) && _e(e) ==
|
|
639
|
+
var cn = He && He.isMap, rs = cn ? jt(cn) : as, os = "[object Set]";
|
|
640
|
+
function ss(e) {
|
|
641
|
+
return Fe(e) && _e(e) == os;
|
|
643
642
|
}
|
|
644
|
-
var mn =
|
|
645
|
-
|
|
646
|
-
|
|
643
|
+
var mn = He && He.isSet, ls = mn ? jt(mn) : ss, ds = 1, us = 2, cs = 4, ti = "[object Arguments]", ms = "[object Array]", fs = "[object Boolean]", hs = "[object Date]", ps = "[object Error]", ni = "[object Function]", gs = "[object GeneratorFunction]", vs = "[object Map]", bs = "[object Number]", ii = "[object Object]", ys = "[object RegExp]", _s = "[object Set]", ws = "[object String]", Ms = "[object Symbol]", Ss = "[object WeakMap]", Ts = "[object ArrayBuffer]", Cs = "[object DataView]", Is = "[object Float32Array]", Os = "[object Float64Array]", As = "[object Int8Array]", Es = "[object Int16Array]", Fs = "[object Int32Array]", ks = "[object Uint8Array]", Us = "[object Uint8ClampedArray]", $s = "[object Uint16Array]", Vs = "[object Uint32Array]", Y = {};
|
|
644
|
+
Y[ti] = Y[ms] = Y[Ts] = Y[Cs] = Y[fs] = Y[hs] = Y[Is] = Y[Os] = Y[As] = Y[Es] = Y[Fs] = Y[vs] = Y[bs] = Y[ii] = Y[ys] = Y[_s] = Y[ws] = Y[Ms] = Y[ks] = Y[Us] = Y[$s] = Y[Vs] = !0;
|
|
645
|
+
Y[ps] = Y[ni] = Y[Ss] = !1;
|
|
647
646
|
function Xe(e, t, n, a, i, r) {
|
|
648
|
-
var s, o = t &
|
|
647
|
+
var s, o = t & ds, l = t & us, d = t & cs;
|
|
649
648
|
if (s !== void 0)
|
|
650
649
|
return s;
|
|
651
650
|
if (!me(e))
|
|
652
651
|
return e;
|
|
653
652
|
var h = ke(e);
|
|
654
653
|
if (h) {
|
|
655
|
-
if (s =
|
|
656
|
-
return
|
|
654
|
+
if (s = Eo(e), !o)
|
|
655
|
+
return mo(e, s);
|
|
657
656
|
} else {
|
|
658
|
-
var m = _e(e), p = m == ni || m ==
|
|
657
|
+
var m = _e(e), p = m == ni || m == gs;
|
|
659
658
|
if (Ln(e))
|
|
660
|
-
return
|
|
659
|
+
return co(e, o);
|
|
661
660
|
if (m == ii || m == ti || p && !i) {
|
|
662
|
-
if (s = l || p ? {} :
|
|
663
|
-
return l ?
|
|
661
|
+
if (s = l || p ? {} : ns(e), !o)
|
|
662
|
+
return l ? bo(e, lo(s, e)) : go(e, io(s, e));
|
|
664
663
|
} else {
|
|
665
|
-
if (!
|
|
664
|
+
if (!Y[m])
|
|
666
665
|
return i ? e : {};
|
|
667
|
-
s =
|
|
666
|
+
s = es(e, m, o);
|
|
668
667
|
}
|
|
669
668
|
}
|
|
670
669
|
r || (r = new Ge());
|
|
671
670
|
var E = r.get(e);
|
|
672
671
|
if (E)
|
|
673
672
|
return E;
|
|
674
|
-
r.set(e, s),
|
|
673
|
+
r.set(e, s), ls(e) ? e.forEach(function(M) {
|
|
675
674
|
s.add(Xe(M, t, n, M, e, r));
|
|
676
|
-
}) :
|
|
675
|
+
}) : rs(e) && e.forEach(function(M, T) {
|
|
677
676
|
s.set(T, Xe(M, t, n, T, e, r));
|
|
678
677
|
});
|
|
679
|
-
var N = d ? l ?
|
|
678
|
+
var N = d ? l ? _o : yo : l ? wt : pt, c = h ? void 0 : N(e);
|
|
680
679
|
return Vn(c || e, function(M, T) {
|
|
681
680
|
c && (T = M, M = e[T]), Gn(s, T, Xe(M, t, n, T, e, r));
|
|
682
681
|
}), s;
|
|
683
682
|
}
|
|
684
|
-
var
|
|
683
|
+
var js = 1, Rs = 4;
|
|
685
684
|
function we(e) {
|
|
686
|
-
return Xe(e,
|
|
685
|
+
return Xe(e, js | Rs);
|
|
687
686
|
}
|
|
688
687
|
const Kt = (e, t = "") => typeof e.id < "u" ? t + e.id + "" : t + (e.inputName || e.label || e.model || "").toString().trim().toLowerCase().replace(/ |_/g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-]+)/g, ""), fn = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
|
|
689
|
-
var
|
|
688
|
+
var Ps = "[object String]";
|
|
690
689
|
function Re(e) {
|
|
691
|
-
return typeof e == "string" || !ke(e) && Fe(e) && Ee(e) ==
|
|
690
|
+
return typeof e == "string" || !ke(e) && Fe(e) && Ee(e) == Ps;
|
|
692
691
|
}
|
|
693
692
|
const ai = {
|
|
694
693
|
methods: {
|
|
@@ -727,17 +726,17 @@ const ai = {
|
|
|
727
726
|
};
|
|
728
727
|
var Ct = function() {
|
|
729
728
|
return pe.Date.now();
|
|
730
|
-
},
|
|
731
|
-
function
|
|
732
|
-
for (var t = e.length; t-- &&
|
|
729
|
+
}, Ns = /\s/;
|
|
730
|
+
function Ls(e) {
|
|
731
|
+
for (var t = e.length; t-- && Ns.test(e.charAt(t)); )
|
|
733
732
|
;
|
|
734
733
|
return t;
|
|
735
734
|
}
|
|
736
|
-
var
|
|
737
|
-
function
|
|
738
|
-
return e && e.slice(0,
|
|
735
|
+
var qs = /^\s+/;
|
|
736
|
+
function Ks(e) {
|
|
737
|
+
return e && e.slice(0, Ls(e) + 1).replace(qs, "");
|
|
739
738
|
}
|
|
740
|
-
var hn = NaN,
|
|
739
|
+
var hn = NaN, Ds = /^[-+]0x[0-9a-f]+$/i, Bs = /^0b[01]+$/i, zs = /^0o[0-7]+$/i, Hs = parseInt;
|
|
741
740
|
function kt(e) {
|
|
742
741
|
if (typeof e == "number")
|
|
743
742
|
return e;
|
|
@@ -749,16 +748,16 @@ function kt(e) {
|
|
|
749
748
|
}
|
|
750
749
|
if (typeof e != "string")
|
|
751
750
|
return e === 0 ? e : +e;
|
|
752
|
-
e =
|
|
753
|
-
var n =
|
|
754
|
-
return n ||
|
|
751
|
+
e = Ks(e);
|
|
752
|
+
var n = Bs.test(e);
|
|
753
|
+
return n || zs.test(e) ? Hs(e.slice(2), n ? 2 : 8) : Ds.test(e) ? hn : +e;
|
|
755
754
|
}
|
|
756
|
-
var
|
|
755
|
+
var Ys = "Expected a function", xs = Math.max, Gs = Math.min;
|
|
757
756
|
function it(e, t, n) {
|
|
758
757
|
var a, i, r, s, o, l, d = 0, h = !1, m = !1, p = !0;
|
|
759
758
|
if (typeof e != "function")
|
|
760
|
-
throw new TypeError(
|
|
761
|
-
t = kt(t) || 0, me(n) && (h = !!n.leading, m = "maxWait" in n, r = m ?
|
|
759
|
+
throw new TypeError(Ys);
|
|
760
|
+
t = kt(t) || 0, me(n) && (h = !!n.leading, m = "maxWait" in n, r = m ? xs(kt(n.maxWait) || 0, t) : r, p = "trailing" in n ? !!n.trailing : p);
|
|
762
761
|
function E(_) {
|
|
763
762
|
var v = a, j = i;
|
|
764
763
|
return a = i = void 0, d = _, s = e.apply(j, v), s;
|
|
@@ -768,7 +767,7 @@ function it(e, t, n) {
|
|
|
768
767
|
}
|
|
769
768
|
function c(_) {
|
|
770
769
|
var v = _ - l, j = _ - d, x = t - v;
|
|
771
|
-
return m ?
|
|
770
|
+
return m ? Gs(x, r - j) : x;
|
|
772
771
|
}
|
|
773
772
|
function M(_) {
|
|
774
773
|
var v = _ - l, j = _ - d;
|
|
@@ -801,11 +800,11 @@ function it(e, t, n) {
|
|
|
801
800
|
}
|
|
802
801
|
return k.cancel = b, k.flush = O, k;
|
|
803
802
|
}
|
|
804
|
-
var
|
|
805
|
-
function
|
|
806
|
-
return this.__data__.set(e,
|
|
803
|
+
var Ws = "__lodash_hash_undefined__";
|
|
804
|
+
function Zs(e) {
|
|
805
|
+
return this.__data__.set(e, Ws), this;
|
|
807
806
|
}
|
|
808
|
-
function
|
|
807
|
+
function Js(e) {
|
|
809
808
|
return this.__data__.has(e);
|
|
810
809
|
}
|
|
811
810
|
function lt(e) {
|
|
@@ -813,34 +812,34 @@ function lt(e) {
|
|
|
813
812
|
for (this.__data__ = new Se(); ++t < n; )
|
|
814
813
|
this.add(e[t]);
|
|
815
814
|
}
|
|
816
|
-
lt.prototype.add = lt.prototype.push =
|
|
817
|
-
lt.prototype.has =
|
|
818
|
-
function
|
|
815
|
+
lt.prototype.add = lt.prototype.push = Zs;
|
|
816
|
+
lt.prototype.has = Js;
|
|
817
|
+
function Qs(e, t, n, a) {
|
|
819
818
|
for (var i = e.length, r = n + -1; ++r < i; )
|
|
820
819
|
if (t(e[r], r, e))
|
|
821
820
|
return r;
|
|
822
821
|
return -1;
|
|
823
822
|
}
|
|
824
|
-
function
|
|
823
|
+
function Xs(e) {
|
|
825
824
|
return e !== e;
|
|
826
825
|
}
|
|
827
|
-
function
|
|
826
|
+
function el(e, t, n) {
|
|
828
827
|
for (var a = n - 1, i = e.length; ++a < i; )
|
|
829
828
|
if (e[a] === t)
|
|
830
829
|
return a;
|
|
831
830
|
return -1;
|
|
832
831
|
}
|
|
833
|
-
function
|
|
834
|
-
return t === t ?
|
|
832
|
+
function tl(e, t, n) {
|
|
833
|
+
return t === t ? el(e, t, n) : Qs(e, Xs, n);
|
|
835
834
|
}
|
|
836
|
-
function
|
|
835
|
+
function nl(e, t) {
|
|
837
836
|
var n = e == null ? 0 : e.length;
|
|
838
|
-
return !!n &&
|
|
837
|
+
return !!n && tl(e, t, 0) > -1;
|
|
839
838
|
}
|
|
840
|
-
function
|
|
839
|
+
function il(e, t) {
|
|
841
840
|
return e.has(t);
|
|
842
841
|
}
|
|
843
|
-
function
|
|
842
|
+
function al() {
|
|
844
843
|
}
|
|
845
844
|
function ri(e) {
|
|
846
845
|
var t = -1, n = Array(e.size);
|
|
@@ -848,16 +847,16 @@ function ri(e) {
|
|
|
848
847
|
n[++t] = a;
|
|
849
848
|
}), n;
|
|
850
849
|
}
|
|
851
|
-
var
|
|
850
|
+
var rl = 1 / 0, ol = ze && 1 / ri(new ze([, -0]))[1] == rl ? function(e) {
|
|
852
851
|
return new ze(e);
|
|
853
|
-
} :
|
|
854
|
-
function
|
|
855
|
-
var a = -1, i =
|
|
856
|
-
if (r >=
|
|
857
|
-
var d =
|
|
852
|
+
} : al, sl = 200;
|
|
853
|
+
function ll(e, t, n) {
|
|
854
|
+
var a = -1, i = nl, r = e.length, s = !0, o = [], l = o;
|
|
855
|
+
if (r >= sl) {
|
|
856
|
+
var d = ol(e);
|
|
858
857
|
if (d)
|
|
859
858
|
return ri(d);
|
|
860
|
-
s = !1, i =
|
|
859
|
+
s = !1, i = il, l = new lt();
|
|
861
860
|
} else
|
|
862
861
|
l = o;
|
|
863
862
|
e:
|
|
@@ -873,14 +872,14 @@ function ul(e, t, n) {
|
|
|
873
872
|
return o;
|
|
874
873
|
}
|
|
875
874
|
function oi(e) {
|
|
876
|
-
return e && e.length ?
|
|
875
|
+
return e && e.length ? ll(e) : [];
|
|
877
876
|
}
|
|
878
|
-
var
|
|
877
|
+
var dl = 0;
|
|
879
878
|
function si(e) {
|
|
880
|
-
var t = ++
|
|
881
|
-
return
|
|
879
|
+
var t = ++dl;
|
|
880
|
+
return Yn(e) + t;
|
|
882
881
|
}
|
|
883
|
-
var li = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, Ce = "\\d\\d?", Te = "\\d\\d",
|
|
882
|
+
var li = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, Ce = "\\d\\d?", Te = "\\d\\d", ul = "\\d{3}", cl = "\\d{4}", et = "[^\\s]+", di = /\[([^]*?)\]/gm;
|
|
884
883
|
function ui(e, t) {
|
|
885
884
|
for (var n = [], a = 0, i = e.length; a < i; a++)
|
|
886
885
|
n.push(e[a].substr(0, t));
|
|
@@ -925,16 +924,16 @@ var ci = [
|
|
|
925
924
|
"October",
|
|
926
925
|
"November",
|
|
927
926
|
"December"
|
|
928
|
-
],
|
|
929
|
-
dayNamesShort:
|
|
927
|
+
], ml = ui(mi, 3), fl = ui(ci, 3), fi = {
|
|
928
|
+
dayNamesShort: fl,
|
|
930
929
|
dayNames: ci,
|
|
931
|
-
monthNamesShort:
|
|
930
|
+
monthNamesShort: ml,
|
|
932
931
|
monthNames: mi,
|
|
933
932
|
amPm: ["am", "pm"],
|
|
934
933
|
DoFn: function(e) {
|
|
935
934
|
return e + ["th", "st", "nd", "rd"][e % 10 > 3 ? 0 : (e - e % 10 !== 10 ? 1 : 0) * e % 10];
|
|
936
935
|
}
|
|
937
|
-
}, dt = Pe({}, fi),
|
|
936
|
+
}, dt = Pe({}, fi), hl = function(e) {
|
|
938
937
|
return dt = Pe(dt, e);
|
|
939
938
|
}, gn = function(e) {
|
|
940
939
|
return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
|
|
@@ -942,7 +941,7 @@ var ci = [
|
|
|
942
941
|
for (t === void 0 && (t = 2), e = String(e); e.length < t; )
|
|
943
942
|
e = "0" + e;
|
|
944
943
|
return e;
|
|
945
|
-
},
|
|
944
|
+
}, pl = {
|
|
946
945
|
D: function(e) {
|
|
947
946
|
return String(e.getDate());
|
|
948
947
|
},
|
|
@@ -1049,7 +1048,7 @@ var ci = [
|
|
|
1049
1048
|
}
|
|
1050
1049
|
return 0;
|
|
1051
1050
|
}
|
|
1052
|
-
],
|
|
1051
|
+
], gl = {
|
|
1053
1052
|
D: ["day", Ce],
|
|
1054
1053
|
DD: ["day", Te],
|
|
1055
1054
|
Do: ["day", Ce + et, function(e) {
|
|
@@ -1073,14 +1072,14 @@ var ci = [
|
|
|
1073
1072
|
mm: ["minute", Te],
|
|
1074
1073
|
s: ["second", Ce],
|
|
1075
1074
|
ss: ["second", Te],
|
|
1076
|
-
YYYY: ["year",
|
|
1075
|
+
YYYY: ["year", cl],
|
|
1077
1076
|
S: ["millisecond", "\\d", function(e) {
|
|
1078
1077
|
return +e * 100;
|
|
1079
1078
|
}],
|
|
1080
1079
|
SS: ["millisecond", Te, function(e) {
|
|
1081
1080
|
return +e * 10;
|
|
1082
1081
|
}],
|
|
1083
|
-
SSS: ["millisecond",
|
|
1082
|
+
SSS: ["millisecond", ul],
|
|
1084
1083
|
d: bn,
|
|
1085
1084
|
dd: bn,
|
|
1086
1085
|
ddd: yn,
|
|
@@ -1102,9 +1101,9 @@ var ci = [
|
|
|
1102
1101
|
shortTime: "HH:mm",
|
|
1103
1102
|
mediumTime: "HH:mm:ss",
|
|
1104
1103
|
longTime: "HH:mm:ss.SSS"
|
|
1105
|
-
},
|
|
1104
|
+
}, vl = function(e) {
|
|
1106
1105
|
return Pe(ut, e);
|
|
1107
|
-
},
|
|
1106
|
+
}, bl = function(e, t, n) {
|
|
1108
1107
|
if (t === void 0 && (t = ut.default), n === void 0 && (n = {}), typeof e == "number" && (e = new Date(e)), Object.prototype.toString.call(e) !== "[object Date]" || isNaN(e.getTime()))
|
|
1109
1108
|
throw new Error("Invalid Date pass to format");
|
|
1110
1109
|
t = ut[t] || t;
|
|
@@ -1114,12 +1113,12 @@ var ci = [
|
|
|
1114
1113
|
});
|
|
1115
1114
|
var i = Pe(Pe({}, dt), n);
|
|
1116
1115
|
return t = t.replace(li, function(r) {
|
|
1117
|
-
return
|
|
1116
|
+
return pl[r](e, i);
|
|
1118
1117
|
}), t.replace(/@@@/g, function() {
|
|
1119
1118
|
return a.shift();
|
|
1120
1119
|
});
|
|
1121
1120
|
};
|
|
1122
|
-
function
|
|
1121
|
+
function yl(e, t, n) {
|
|
1123
1122
|
if (n === void 0 && (n = {}), typeof t != "string")
|
|
1124
1123
|
throw new Error("Invalid format in fecha parse");
|
|
1125
1124
|
if (t = ut[t] || t, e.length > 1e3)
|
|
@@ -1138,7 +1137,7 @@ function wl(e, t, n) {
|
|
|
1138
1137
|
return s.push(gn(k)), "@@@";
|
|
1139
1138
|
}), l = {}, d = {};
|
|
1140
1139
|
o = gn(o).replace(li, function(O) {
|
|
1141
|
-
var k =
|
|
1140
|
+
var k = gl[O], _ = k[0], v = k[1], j = k[3];
|
|
1142
1141
|
if (l[_])
|
|
1143
1142
|
throw new Error("Invalid format. " + _ + " specified twice in format");
|
|
1144
1143
|
return l[_] = !0, j && (d[j] = !0), r.push(k), "(" + v + ")";
|
|
@@ -1175,13 +1174,13 @@ function wl(e, t, n) {
|
|
|
1175
1174
|
return T;
|
|
1176
1175
|
}
|
|
1177
1176
|
var Be = {
|
|
1178
|
-
format:
|
|
1179
|
-
parse:
|
|
1177
|
+
format: bl,
|
|
1178
|
+
parse: yl,
|
|
1180
1179
|
defaultI18n: fi,
|
|
1181
|
-
setGlobalDateI18n:
|
|
1182
|
-
setGlobalDateMasks:
|
|
1180
|
+
setGlobalDateI18n: hl,
|
|
1181
|
+
setGlobalDateMasks: vl
|
|
1183
1182
|
};
|
|
1184
|
-
function
|
|
1183
|
+
function _l(e, t, n) {
|
|
1185
1184
|
switch (n.length) {
|
|
1186
1185
|
case 0:
|
|
1187
1186
|
return e.call(t);
|
|
@@ -1195,90 +1194,90 @@ function Ml(e, t, n) {
|
|
|
1195
1194
|
return e.apply(t, n);
|
|
1196
1195
|
}
|
|
1197
1196
|
var Mn = Math.max;
|
|
1198
|
-
function
|
|
1197
|
+
function wl(e, t, n) {
|
|
1199
1198
|
return t = Mn(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
1200
1199
|
for (var a = arguments, i = -1, r = Mn(a.length - t, 0), s = Array(r); ++i < r; )
|
|
1201
1200
|
s[i] = a[t + i];
|
|
1202
1201
|
i = -1;
|
|
1203
1202
|
for (var o = Array(t + 1); ++i < t; )
|
|
1204
1203
|
o[i] = a[i];
|
|
1205
|
-
return o[t] = n(s),
|
|
1204
|
+
return o[t] = n(s), _l(e, this, o);
|
|
1206
1205
|
};
|
|
1207
1206
|
}
|
|
1208
|
-
function
|
|
1207
|
+
function Ml(e) {
|
|
1209
1208
|
return function() {
|
|
1210
1209
|
return e;
|
|
1211
1210
|
};
|
|
1212
1211
|
}
|
|
1213
|
-
var
|
|
1212
|
+
var Sl = st ? function(e, t) {
|
|
1214
1213
|
return st(e, "toString", {
|
|
1215
1214
|
configurable: !0,
|
|
1216
1215
|
enumerable: !1,
|
|
1217
|
-
value:
|
|
1216
|
+
value: Ml(t),
|
|
1218
1217
|
writable: !0
|
|
1219
1218
|
});
|
|
1220
|
-
} : Pt,
|
|
1221
|
-
function
|
|
1219
|
+
} : Pt, Tl = 800, Cl = 16, Il = Date.now;
|
|
1220
|
+
function Ol(e) {
|
|
1222
1221
|
var t = 0, n = 0;
|
|
1223
1222
|
return function() {
|
|
1224
|
-
var a =
|
|
1223
|
+
var a = Il(), i = Cl - (a - n);
|
|
1225
1224
|
if (n = a, i > 0) {
|
|
1226
|
-
if (++t >=
|
|
1225
|
+
if (++t >= Tl)
|
|
1227
1226
|
return arguments[0];
|
|
1228
1227
|
} else
|
|
1229
1228
|
t = 0;
|
|
1230
1229
|
return e.apply(void 0, arguments);
|
|
1231
1230
|
};
|
|
1232
1231
|
}
|
|
1233
|
-
var
|
|
1234
|
-
function
|
|
1235
|
-
return
|
|
1232
|
+
var Al = Ol(Sl);
|
|
1233
|
+
function El(e, t) {
|
|
1234
|
+
return Al(wl(e, t, Pt), e + "");
|
|
1236
1235
|
}
|
|
1237
|
-
function
|
|
1236
|
+
function Fl(e, t, n) {
|
|
1238
1237
|
if (!me(n))
|
|
1239
1238
|
return !1;
|
|
1240
1239
|
var a = typeof t;
|
|
1241
1240
|
return (a == "number" ? ht(n) && qn(t, n.length) : a == "string" && t in n) ? vt(n[t], e) : !1;
|
|
1242
1241
|
}
|
|
1243
|
-
var hi = Object.prototype,
|
|
1242
|
+
var hi = Object.prototype, kl = hi.hasOwnProperty, Ul = El(function(e, t) {
|
|
1244
1243
|
e = Object(e);
|
|
1245
1244
|
var n = -1, a = t.length, i = a > 2 ? t[2] : void 0;
|
|
1246
|
-
for (i &&
|
|
1245
|
+
for (i && Fl(t[0], t[1], i) && (a = 1); ++n < a; )
|
|
1247
1246
|
for (var r = t[n], s = wt(r), o = -1, l = s.length; ++o < l; ) {
|
|
1248
1247
|
var d = s[o], h = e[d];
|
|
1249
|
-
(h === void 0 || vt(h, hi[d]) &&
|
|
1248
|
+
(h === void 0 || vt(h, hi[d]) && !kl.call(e, d)) && (e[d] = r[d]);
|
|
1250
1249
|
}
|
|
1251
1250
|
return e;
|
|
1252
|
-
}),
|
|
1253
|
-
function
|
|
1254
|
-
return typeof e == "number" &&
|
|
1251
|
+
}), $l = pe.isFinite;
|
|
1252
|
+
function Vl(e) {
|
|
1253
|
+
return typeof e == "number" && $l(e);
|
|
1255
1254
|
}
|
|
1256
|
-
var Sn = 1 / 0,
|
|
1257
|
-
function
|
|
1255
|
+
var Sn = 1 / 0, jl = 17976931348623157e292;
|
|
1256
|
+
function Rl(e) {
|
|
1258
1257
|
if (!e)
|
|
1259
1258
|
return e === 0 ? e : 0;
|
|
1260
1259
|
if (e = kt(e), e === Sn || e === -Sn) {
|
|
1261
1260
|
var t = e < 0 ? -1 : 1;
|
|
1262
|
-
return t *
|
|
1261
|
+
return t * jl;
|
|
1263
1262
|
}
|
|
1264
1263
|
return e === e ? e : 0;
|
|
1265
1264
|
}
|
|
1266
|
-
function
|
|
1267
|
-
var t =
|
|
1265
|
+
function Pl(e) {
|
|
1266
|
+
var t = Rl(e), n = t % 1;
|
|
1268
1267
|
return t === t ? n ? t - n : t : 0;
|
|
1269
1268
|
}
|
|
1270
|
-
function
|
|
1271
|
-
return typeof e == "number" && e ==
|
|
1269
|
+
function Nl(e) {
|
|
1270
|
+
return typeof e == "number" && e == Pl(e);
|
|
1272
1271
|
}
|
|
1273
|
-
var
|
|
1272
|
+
var Ll = "[object Number]";
|
|
1274
1273
|
function ct(e) {
|
|
1275
|
-
return typeof e == "number" || Fe(e) && Ee(e) ==
|
|
1274
|
+
return typeof e == "number" || Fe(e) && Ee(e) == Ll;
|
|
1276
1275
|
}
|
|
1277
|
-
const
|
|
1276
|
+
const ql = {
|
|
1278
1277
|
packageName: "forms",
|
|
1279
1278
|
disable_global_radio: "The plugin is set to 'Scoped' by default when configured under a {scope}. To configure a global plugin, navigate to the global plugin list page.",
|
|
1280
1279
|
disable_source_scope_change: "Changing the {scope} is not allowed when configuring a plugin under it."
|
|
1281
|
-
},
|
|
1280
|
+
}, Kl = {
|
|
1282
1281
|
view_advanced_fields: "View Advanced Fields",
|
|
1283
1282
|
window_type: {
|
|
1284
1283
|
label: "Rate Limit Window Type",
|
|
@@ -1322,7 +1321,7 @@ const Dl = {
|
|
|
1322
1321
|
title: "Configure your Redis",
|
|
1323
1322
|
address_example: "e.g. localhost:6379"
|
|
1324
1323
|
}
|
|
1325
|
-
},
|
|
1324
|
+
}, Dl = {
|
|
1326
1325
|
field_is_required: "This field is required",
|
|
1327
1326
|
invalid_format: "Invalid format",
|
|
1328
1327
|
number_too_small: "The number is too small. Minimum: {0}",
|
|
@@ -1344,7 +1343,7 @@ const Dl = {
|
|
|
1344
1343
|
invalid_card_number: "Invalid card number",
|
|
1345
1344
|
invalid_text_contain_number: "Invalid text - cannot contains numbers or special characters",
|
|
1346
1345
|
invalid_tex_contain_spec: "Invalid text - cannot contains special characters"
|
|
1347
|
-
},
|
|
1346
|
+
}, Bl = {
|
|
1348
1347
|
title: "Redis Configuration",
|
|
1349
1348
|
shared_configuration: {
|
|
1350
1349
|
label: "Use shared configuration",
|
|
@@ -1379,13 +1378,13 @@ const Dl = {
|
|
|
1379
1378
|
alert: "Note: For custom plugins, we cannot determine the correct Redis configuration type. Please ensure you select the appropriate option manually.",
|
|
1380
1379
|
tooltip: "To apply a shared redis configuration, the redis fields must defined as Kong plugins in plugin schema."
|
|
1381
1380
|
}
|
|
1382
|
-
},
|
|
1381
|
+
}, zl = {
|
|
1383
1382
|
labels: {
|
|
1384
1383
|
on: "On",
|
|
1385
1384
|
off: "Off"
|
|
1386
1385
|
}
|
|
1387
1386
|
}, ve = {
|
|
1388
|
-
general:
|
|
1387
|
+
general: ql,
|
|
1389
1388
|
"post-function": {
|
|
1390
1389
|
tags: {
|
|
1391
1390
|
hint: "e.g. tag1, tag2, tag3",
|
|
@@ -1446,10 +1445,10 @@ const Dl = {
|
|
|
1446
1445
|
newElementButtonLabel: "+ Add"
|
|
1447
1446
|
}
|
|
1448
1447
|
},
|
|
1449
|
-
rla:
|
|
1450
|
-
validators:
|
|
1451
|
-
redis:
|
|
1452
|
-
vfg:
|
|
1448
|
+
rla: Kl,
|
|
1449
|
+
validators: Dl,
|
|
1450
|
+
redis: Bl,
|
|
1451
|
+
vfg: zl
|
|
1453
1452
|
}, { t: Q } = ge("en-us", ve), oe = {
|
|
1454
1453
|
fieldIsRequired: Q("validators.field_is_required"),
|
|
1455
1454
|
invalidFormat: Q("validators.invalid_format"),
|
|
@@ -1481,11 +1480,11 @@ const Dl = {
|
|
|
1481
1480
|
required: (e, t, n, a = oe) => fe(e, t.required, a) || [],
|
|
1482
1481
|
number: (e, t, n, a = oe) => {
|
|
1483
1482
|
let i = fe(e, t.required, a);
|
|
1484
|
-
return i != null || (i = [],
|
|
1483
|
+
return i != null || (i = [], Vl(e) ? (!X(t.min) && e < t.min, (a = oe) && i.push(Z(a.numberTooSmall, t.min)), !X(t.max) && e > t.max, (a = oe) && i.push(Z(a.numberTooBig, t.max))) : i.push(Z(a.invalidNumber))), i;
|
|
1485
1484
|
},
|
|
1486
1485
|
integer: (e, t, n, a = oe) => {
|
|
1487
1486
|
let i = fe(e, t.required, a);
|
|
1488
|
-
return i != null || (i = [], i.concat(Ne.number(e, t, n, a)),
|
|
1487
|
+
return i != null || (i = [], i.concat(Ne.number(e, t, n, a)), Nl(e) || i.push(Z(a.invalidInteger))), i;
|
|
1489
1488
|
},
|
|
1490
1489
|
double: (e, t, n, a = oe) => {
|
|
1491
1490
|
const i = fe(e, t.required, a);
|
|
@@ -1561,7 +1560,7 @@ const Dl = {
|
|
|
1561
1560
|
};
|
|
1562
1561
|
Object.keys(Ne).forEach((e) => {
|
|
1563
1562
|
const t = Ne[e];
|
|
1564
|
-
z(t) && (t.locale = (n) => (a, i, r) => t(a, i, r,
|
|
1563
|
+
z(t) && (t.locale = (n) => (a, i, r) => t(a, i, r, Ul(n, oe)));
|
|
1565
1564
|
});
|
|
1566
1565
|
function Tn(e) {
|
|
1567
1566
|
return Re(e) ? Ne[e] != null ? Ne[e] : (console.warn(`'${e}' is not a validator function!`), null) : e;
|
|
@@ -1684,18 +1683,18 @@ const be = {
|
|
|
1684
1683
|
return e;
|
|
1685
1684
|
}
|
|
1686
1685
|
}
|
|
1687
|
-
},
|
|
1686
|
+
}, wm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1688
1687
|
__proto__: null,
|
|
1689
1688
|
default: be
|
|
1690
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1689
|
+
}, Symbol.toStringTag, { value: "Module" })), H = (e, t) => {
|
|
1691
1690
|
const n = e.__vccOpts || e;
|
|
1692
1691
|
for (const [a, i] of t)
|
|
1693
1692
|
n[a] = i;
|
|
1694
1693
|
return n;
|
|
1695
|
-
},
|
|
1694
|
+
}, Hl = {
|
|
1696
1695
|
class: "advanced-field-dropdown-wrapper",
|
|
1697
1696
|
"data-testid": "advanced-field-dropdown-wrapper"
|
|
1698
|
-
},
|
|
1697
|
+
}, Yl = { class: "material-icons" }, xl = {
|
|
1699
1698
|
mixins: [be],
|
|
1700
1699
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
1701
1700
|
emits: ["model-updated"],
|
|
@@ -1723,16 +1722,16 @@ const be = {
|
|
|
1723
1722
|
this.$emit("model-updated", e, t);
|
|
1724
1723
|
}
|
|
1725
1724
|
}
|
|
1726
|
-
},
|
|
1725
|
+
}, Gl = /* @__PURE__ */ Object.assign(xl, {
|
|
1727
1726
|
__name: "FieldAdvanced",
|
|
1728
1727
|
setup(e) {
|
|
1729
|
-
return (t, n) => (u(), g("div",
|
|
1728
|
+
return (t, n) => (u(), g("div", Hl, [
|
|
1730
1729
|
f("button", {
|
|
1731
1730
|
class: "advanced-field-title",
|
|
1732
1731
|
type: "button",
|
|
1733
1732
|
onClick: n[0] || (n[0] = (...a) => t.handleOpen && t.handleOpen(...a))
|
|
1734
1733
|
}, [
|
|
1735
|
-
f("i",
|
|
1734
|
+
f("i", Yl, $(t.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
|
|
1736
1735
|
f("span", null, $(t.titleText), 1)
|
|
1737
1736
|
]),
|
|
1738
1737
|
f("div", {
|
|
@@ -1747,7 +1746,7 @@ const be = {
|
|
|
1747
1746
|
], 2)
|
|
1748
1747
|
]));
|
|
1749
1748
|
}
|
|
1750
|
-
}),
|
|
1749
|
+
}), Wl = /* @__PURE__ */ H(Gl, [["__scopeId", "data-v-9bb032dd"]]), Zl = { class: "array-card-container" }, Jl = /* @__PURE__ */ re({
|
|
1751
1750
|
__name: "FieldArrayCardContainer",
|
|
1752
1751
|
props: {
|
|
1753
1752
|
model: {
|
|
@@ -1767,7 +1766,7 @@ const be = {
|
|
|
1767
1766
|
setup(e) {
|
|
1768
1767
|
return at("vfg-array-item-index", e.index), (n, a) => {
|
|
1769
1768
|
const i = F("KCard"), r = F("KButton");
|
|
1770
|
-
return u(), g("div",
|
|
1769
|
+
return u(), g("div", Zl, [
|
|
1771
1770
|
C(i, { class: "card" }, {
|
|
1772
1771
|
default: I(() => [
|
|
1773
1772
|
Oe(n.$slots, "default", {}, void 0, !0)
|
|
@@ -1787,7 +1786,7 @@ const be = {
|
|
|
1787
1786
|
]);
|
|
1788
1787
|
};
|
|
1789
1788
|
}
|
|
1790
|
-
}), pi = /* @__PURE__ */
|
|
1789
|
+
}), pi = /* @__PURE__ */ H(Jl, [["__scopeId", "data-v-97302224"]]), Ql = { class: "array-item-wrapper" }, Xl = { class: "array-item" }, ed = { class: "array-item-after" }, td = /* @__PURE__ */ re({
|
|
1791
1790
|
__name: "FieldArrayItem",
|
|
1792
1791
|
props: {
|
|
1793
1792
|
model: {
|
|
@@ -1799,8 +1798,8 @@ const be = {
|
|
|
1799
1798
|
setup(e) {
|
|
1800
1799
|
return (t, n) => {
|
|
1801
1800
|
const a = F("KButton");
|
|
1802
|
-
return u(), g("div",
|
|
1803
|
-
f("div",
|
|
1801
|
+
return u(), g("div", Ql, [
|
|
1802
|
+
f("div", Xl, [
|
|
1804
1803
|
Oe(t.$slots, "default", {}, void 0, !0),
|
|
1805
1804
|
C(a, {
|
|
1806
1805
|
appearance: "tertiary",
|
|
@@ -1813,19 +1812,19 @@ const be = {
|
|
|
1813
1812
|
_: 1
|
|
1814
1813
|
})
|
|
1815
1814
|
]),
|
|
1816
|
-
f("div",
|
|
1815
|
+
f("div", ed, [
|
|
1817
1816
|
Oe(t.$slots, "after", {}, void 0, !0)
|
|
1818
1817
|
])
|
|
1819
1818
|
]);
|
|
1820
1819
|
};
|
|
1821
1820
|
}
|
|
1822
|
-
}), gi = /* @__PURE__ */
|
|
1821
|
+
}), gi = /* @__PURE__ */ H(td, [["__scopeId", "data-v-51d79db2"]]), nd = { class: "multi-item-wrapper" }, id = /* @__PURE__ */ re({
|
|
1823
1822
|
__name: "FieldArrayMultiItem",
|
|
1824
1823
|
emits: ["remove-item"],
|
|
1825
1824
|
setup(e) {
|
|
1826
1825
|
return (t, n) => {
|
|
1827
1826
|
const a = F("KButton");
|
|
1828
|
-
return u(), g("div",
|
|
1827
|
+
return u(), g("div", nd, [
|
|
1829
1828
|
Oe(t.$slots, "default", {}, void 0, !0),
|
|
1830
1829
|
C(a, {
|
|
1831
1830
|
appearance: "danger",
|
|
@@ -1841,16 +1840,16 @@ const be = {
|
|
|
1841
1840
|
]);
|
|
1842
1841
|
};
|
|
1843
1842
|
}
|
|
1844
|
-
}), vi = /* @__PURE__ */
|
|
1843
|
+
}), vi = /* @__PURE__ */ H(id, [["__scopeId", "data-v-b4fcf731"]]), ad = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", rd = (e) => e ? e.length === 36 && new RegExp(`^${ad}$`).test(e) : !1, Ot = 50, Ve = {
|
|
1845
1844
|
CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
|
|
1846
1845
|
CREATE_FROM_ENTITY: "CREATE_FROM_ENTITY",
|
|
1847
1846
|
UPDATE_ENTITY: "UPDATE_ENTITY",
|
|
1848
1847
|
SET_REFERRAL_VALUE: "SET_REFERRAL_VALUE"
|
|
1849
1848
|
};
|
|
1850
|
-
function
|
|
1849
|
+
function od(e, t, n) {
|
|
1851
1850
|
return n ? Ve.SET_REFERRAL_VALUE : e && !t || !e && t ? Ve.UPDATE_ENTITY : e && t ? Ve.CREATE_FROM_ENTITY : Ve.CREATE_NOT_FROM_ENTITY;
|
|
1852
1851
|
}
|
|
1853
|
-
const
|
|
1852
|
+
const sd = {
|
|
1854
1853
|
mixins: [be],
|
|
1855
1854
|
inject: [$e],
|
|
1856
1855
|
emits: ["model-updated"],
|
|
@@ -1872,7 +1871,7 @@ const dd = {
|
|
|
1872
1871
|
},
|
|
1873
1872
|
computed: {
|
|
1874
1873
|
fieldState() {
|
|
1875
|
-
return
|
|
1874
|
+
return od(this.model[this.schema.model], this.associatedEntity || this.entityId, this.bypassSearch);
|
|
1876
1875
|
},
|
|
1877
1876
|
associatedEntity() {
|
|
1878
1877
|
return this.$route && this.$route.params[this.entity];
|
|
@@ -1922,7 +1921,7 @@ const dd = {
|
|
|
1922
1921
|
return;
|
|
1923
1922
|
this.loading = !0;
|
|
1924
1923
|
const t = [], n = [], a = this.getInputFields(), i = /* @__PURE__ */ new Set();
|
|
1925
|
-
|
|
1924
|
+
rd(e) && a.includes("id") ? n.push((async () => {
|
|
1926
1925
|
const r = await this.fetchExact(e);
|
|
1927
1926
|
t.push({ ...r, label: this.getSuggestionLabel(r), value: r.id });
|
|
1928
1927
|
})()) : n.push(...a.filter((r) => r !== "id").map(async (r) => {
|
|
@@ -1975,8 +1974,8 @@ const dd = {
|
|
|
1975
1974
|
return t ? e[t] : e.id;
|
|
1976
1975
|
}
|
|
1977
1976
|
}
|
|
1978
|
-
},
|
|
1979
|
-
function
|
|
1977
|
+
}, ld = ["data-testid", "data-testlabel"], dd = ["data-testid"], ud = { class: "autosuggest__results_message" };
|
|
1978
|
+
function cd(e, t, n, a, i, r) {
|
|
1980
1979
|
const s = F("KSelect");
|
|
1981
1980
|
return u(), A(ie(e.schema.disabled ? "k-tooltip" : "div"), {
|
|
1982
1981
|
class: "field-wrap autosuggest",
|
|
@@ -2005,15 +2004,15 @@ function fd(e, t, n, a, i, r) {
|
|
|
2005
2004
|
class: "first-part",
|
|
2006
2005
|
"data-testid": o.id && `${o.id}-0`,
|
|
2007
2006
|
"data-testlabel": o.label
|
|
2008
|
-
}, $(r.getSuggestionLabel(o).split(" - ")[0]), 9,
|
|
2007
|
+
}, $(r.getSuggestionLabel(o).split(" - ")[0]), 9, ld),
|
|
2009
2008
|
(u(!0), g(K, null, J(r.getSuggestionLabel(o).split(" - ").slice(1), (l, d) => (u(), g("span", {
|
|
2010
2009
|
key: d,
|
|
2011
2010
|
class: "field-span",
|
|
2012
2011
|
"data-testid": o.id && `${o.id}-${d + 1}` || d + 1
|
|
2013
|
-
}, $(l), 9,
|
|
2012
|
+
}, $(l), 9, dd))), 128))
|
|
2014
2013
|
]),
|
|
2015
2014
|
empty: I(() => [
|
|
2016
|
-
f("div",
|
|
2015
|
+
f("div", ud, [
|
|
2017
2016
|
f("span", null, $(i.message), 1)
|
|
2018
2017
|
])
|
|
2019
2018
|
]),
|
|
@@ -2023,8 +2022,8 @@ function fd(e, t, n, a, i, r) {
|
|
|
2023
2022
|
_: 1
|
|
2024
2023
|
}, 8, ["text"]);
|
|
2025
2024
|
}
|
|
2026
|
-
const bi = /* @__PURE__ */
|
|
2027
|
-
function
|
|
2025
|
+
const bi = /* @__PURE__ */ H(sd, [["render", cd], ["__scopeId", "data-v-40a272a2"]]);
|
|
2026
|
+
function md(e) {
|
|
2028
2027
|
const t = ue([]), n = ue(null), a = (c) => Re(c) ? Ne[c] != null ? Ne[c] : (console.warn(`'${c}' is not a validator function!`), null) : c, i = L({
|
|
2029
2028
|
get() {
|
|
2030
2029
|
var M, T;
|
|
@@ -2110,7 +2109,7 @@ function hd(e) {
|
|
|
2110
2109
|
updateModelValue: o
|
|
2111
2110
|
};
|
|
2112
2111
|
}
|
|
2113
|
-
function
|
|
2112
|
+
function fd(e) {
|
|
2114
2113
|
const t = [], n = (a) => {
|
|
2115
2114
|
const i = ["cluster-cache", "cluster_cache"];
|
|
2116
2115
|
for (const r of i)
|
|
@@ -2131,7 +2130,7 @@ function pd(e) {
|
|
|
2131
2130
|
redisModels: t.map((a) => a.model)
|
|
2132
2131
|
};
|
|
2133
2132
|
}
|
|
2134
|
-
function
|
|
2133
|
+
function hd(e, t) {
|
|
2135
2134
|
const n = new RegExp("(?<=config-redis-).*"), a = /Config\.Redis.*/;
|
|
2136
2135
|
return t.filter((r) => {
|
|
2137
2136
|
const s = r.model.match(n);
|
|
@@ -2147,10 +2146,10 @@ function gd(e, t) {
|
|
|
2147
2146
|
});
|
|
2148
2147
|
}
|
|
2149
2148
|
const ye = {
|
|
2150
|
-
useAbstractFields:
|
|
2151
|
-
useRedisPartial:
|
|
2152
|
-
useRedisNonStandardFields:
|
|
2153
|
-
},
|
|
2149
|
+
useAbstractFields: md,
|
|
2150
|
+
useRedisPartial: fd,
|
|
2151
|
+
useRedisNonStandardFields: hd
|
|
2152
|
+
}, pd = { class: "form-field-wrapper" }, gd = /* @__PURE__ */ re({
|
|
2154
2153
|
__name: "FieldInput",
|
|
2155
2154
|
props: {
|
|
2156
2155
|
disabled: {
|
|
@@ -2272,7 +2271,7 @@ const ye = {
|
|
|
2272
2271
|
m.value === "checkbox" ? console.warn("The use of 'checkbox' inputType with 'input' type fields is deprecated. Use 'checkbox' type instead.") : m.value === "radio" ? console.warn("The use of 'radio' inputType with 'input' type fields is deprecated. Use 'radio' type instead.") : m.value === "file" && console.warn("The 'file' type in input field is deprecated. Use 'file' field instead.");
|
|
2273
2272
|
}), (b, O) => {
|
|
2274
2273
|
const k = F("KInput");
|
|
2275
|
-
return u(), g("div",
|
|
2274
|
+
return u(), g("div", pd, [
|
|
2276
2275
|
C(k, Ie(b.$attrs, {
|
|
2277
2276
|
id: w(l)(e.schema),
|
|
2278
2277
|
autocomplete: e.schema.autocomplete,
|
|
@@ -2303,7 +2302,7 @@ const ye = {
|
|
|
2303
2302
|
]);
|
|
2304
2303
|
};
|
|
2305
2304
|
}
|
|
2306
|
-
}), yi = /* @__PURE__ */
|
|
2305
|
+
}), yi = /* @__PURE__ */ H(gd, [["__scopeId", "data-v-fe1132bb"]]), vd = {
|
|
2307
2306
|
name: "FieldMetric",
|
|
2308
2307
|
components: { AddIcon: Vt, TrashIcon: rt },
|
|
2309
2308
|
mixins: [be],
|
|
@@ -2313,11 +2312,11 @@ const ye = {
|
|
|
2313
2312
|
contentVisible: !1
|
|
2314
2313
|
};
|
|
2315
2314
|
}
|
|
2316
|
-
},
|
|
2315
|
+
}, bd = {
|
|
2317
2316
|
key: 0,
|
|
2318
2317
|
class: "content"
|
|
2319
2318
|
};
|
|
2320
|
-
function
|
|
2319
|
+
function yd(e, t, n, a, i, r) {
|
|
2321
2320
|
const s = F("AddIcon"), o = F("TrashIcon"), l = F("KButton");
|
|
2322
2321
|
return u(), g("div", {
|
|
2323
2322
|
class: W(["field-dropdown", { active: i.contentVisible }])
|
|
@@ -2331,7 +2330,7 @@ function wd(e, t, n, a, i, r) {
|
|
|
2331
2330
|
]),
|
|
2332
2331
|
C(Ai, { name: "slide-fade" }, {
|
|
2333
2332
|
default: I(() => [
|
|
2334
|
-
i.contentVisible ? (u(), g("div",
|
|
2333
|
+
i.contentVisible ? (u(), g("div", bd, [
|
|
2335
2334
|
Oe(e.$slots, "default"),
|
|
2336
2335
|
C(l, {
|
|
2337
2336
|
appearance: "tertiary",
|
|
@@ -2349,7 +2348,7 @@ function wd(e, t, n, a, i, r) {
|
|
|
2349
2348
|
})
|
|
2350
2349
|
], 2);
|
|
2351
2350
|
}
|
|
2352
|
-
const _i = /* @__PURE__ */
|
|
2351
|
+
const _i = /* @__PURE__ */ H(vd, [["render", yd]]), _d = { class: "field-object-container" }, wd = { key: 1 }, Md = ["id"], Sd = { key: 0 }, Td = ["onUpdate:modelValue"], Cd = { key: 1 }, Id = ["onUpdate:modelValue"], Od = { key: 2 }, Ad = ["onUpdate:modelValue"], Ed = ["onClick"], Fd = {
|
|
2353
2352
|
mixins: [be],
|
|
2354
2353
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
2355
2354
|
emits: ["modelUpdated"],
|
|
@@ -2387,46 +2386,46 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2387
2386
|
this.$emit("modelUpdated", e, t);
|
|
2388
2387
|
}
|
|
2389
2388
|
}
|
|
2390
|
-
},
|
|
2389
|
+
}, kd = /* @__PURE__ */ Object.assign(Fd, {
|
|
2391
2390
|
__name: "FieldObject",
|
|
2392
2391
|
setup(e) {
|
|
2393
2392
|
return (t, n) => {
|
|
2394
2393
|
const a = kn("attributes");
|
|
2395
|
-
return de((u(), g("div",
|
|
2394
|
+
return de((u(), g("div", _d, [
|
|
2396
2395
|
t.schema.schema ? (u(), A(ee, {
|
|
2397
2396
|
key: 0,
|
|
2398
2397
|
model: t.value,
|
|
2399
2398
|
options: t.formOptions,
|
|
2400
2399
|
schema: t.schema.schema,
|
|
2401
2400
|
onModelUpdated: t.updateModel
|
|
2402
|
-
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : (u(), g("div",
|
|
2401
|
+
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : (u(), g("div", wd, [
|
|
2403
2402
|
f("table", {
|
|
2404
2403
|
id: t.getFieldID(t.schema),
|
|
2405
2404
|
class: W(t.schema.fieldClasses)
|
|
2406
2405
|
}, [
|
|
2407
2406
|
(u(!0), g(K, null, J(t.value, (i, r) => (u(), g("tr", { key: r }, [
|
|
2408
2407
|
f("td", null, $(r), 1),
|
|
2409
|
-
t.keyTypes[r] === "string" ? (u(), g("td",
|
|
2408
|
+
t.keyTypes[r] === "string" ? (u(), g("td", Sd, [
|
|
2410
2409
|
de(f("input", {
|
|
2411
2410
|
"onUpdate:modelValue": (s) => t.value[r] = s,
|
|
2412
2411
|
type: "text"
|
|
2413
|
-
}, null, 8,
|
|
2412
|
+
}, null, 8, Td), [
|
|
2414
2413
|
[Je, t.value[r]]
|
|
2415
2414
|
])
|
|
2416
2415
|
])) : R("", !0),
|
|
2417
|
-
t.keyTypes[r] === "boolean" ? (u(), g("td",
|
|
2416
|
+
t.keyTypes[r] === "boolean" ? (u(), g("td", Cd, [
|
|
2418
2417
|
de(f("input", {
|
|
2419
2418
|
"onUpdate:modelValue": (s) => t.value[r] = s,
|
|
2420
2419
|
type: "checkbox"
|
|
2421
|
-
}, null, 8,
|
|
2420
|
+
}, null, 8, Id), [
|
|
2422
2421
|
[Ei, t.value[r]]
|
|
2423
2422
|
])
|
|
2424
2423
|
])) : R("", !0),
|
|
2425
|
-
t.keyTypes[r] === "number" ? (u(), g("td",
|
|
2424
|
+
t.keyTypes[r] === "number" ? (u(), g("td", Od, [
|
|
2426
2425
|
de(f("input", {
|
|
2427
2426
|
"onUpdate:modelValue": (s) => t.value[r] = s,
|
|
2428
2427
|
type: "number"
|
|
2429
|
-
}, null, 8,
|
|
2428
|
+
}, null, 8, Ad), [
|
|
2430
2429
|
[Je, t.value[r]]
|
|
2431
2430
|
])
|
|
2432
2431
|
])) : R("", !0),
|
|
@@ -2435,10 +2434,10 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2435
2434
|
type: "button",
|
|
2436
2435
|
value: "x",
|
|
2437
2436
|
onClick: (s) => t.removeElement(r)
|
|
2438
|
-
}, null, 8,
|
|
2437
|
+
}, null, 8, Ed)
|
|
2439
2438
|
])
|
|
2440
2439
|
]))), 128))
|
|
2441
|
-
], 10,
|
|
2440
|
+
], 10, Md),
|
|
2442
2441
|
de(f("select", {
|
|
2443
2442
|
"onUpdate:modelValue": n[0] || (n[0] = (i) => t.newKeyType = i)
|
|
2444
2443
|
}, n[3] || (n[3] = [
|
|
@@ -2465,13 +2464,13 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2465
2464
|
]);
|
|
2466
2465
|
};
|
|
2467
2466
|
}
|
|
2468
|
-
}), wi = /* @__PURE__ */
|
|
2467
|
+
}), wi = /* @__PURE__ */ H(kd, [["__scopeId", "data-v-4ace4106"]]), Ud = ["id"], $d = ["data-testid"], Vd = { class: "item-wrapper" }, jd = { class: "index-wrapper" }, Rd = { key: 0 }, Pd = { key: 1 }, Nd = ["onUpdate:modelValue", "placeholder", "type", "onInput"], Ld = {
|
|
2469
2468
|
key: 0,
|
|
2470
2469
|
class: "hint"
|
|
2471
|
-
},
|
|
2470
|
+
}, qd = { class: "input-item" }, Kd = ["placeholder"], Dd = {
|
|
2472
2471
|
key: 0,
|
|
2473
2472
|
class: "hint"
|
|
2474
|
-
},
|
|
2473
|
+
}, Bd = {
|
|
2475
2474
|
mixins: [be],
|
|
2476
2475
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
2477
2476
|
inject: {
|
|
@@ -2570,7 +2569,7 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2570
2569
|
this.$emit("model-updated", this.model[this.schema.model], t);
|
|
2571
2570
|
}
|
|
2572
2571
|
}
|
|
2573
|
-
},
|
|
2572
|
+
}, zd = /* @__PURE__ */ Object.assign(Bd, {
|
|
2574
2573
|
__name: "FieldObjectAdvanced",
|
|
2575
2574
|
setup(e) {
|
|
2576
2575
|
return (t, n) => {
|
|
@@ -2584,8 +2583,8 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2584
2583
|
"data-testid": `field-object-key-${r}`
|
|
2585
2584
|
}, [
|
|
2586
2585
|
f("div", null, [
|
|
2587
|
-
f("div",
|
|
2588
|
-
f("div",
|
|
2586
|
+
f("div", Vd, [
|
|
2587
|
+
f("div", jd, [
|
|
2589
2588
|
f("strong", null, $(r), 1),
|
|
2590
2589
|
f("div", null, [
|
|
2591
2590
|
C(a, {
|
|
@@ -2603,24 +2602,24 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2603
2602
|
])
|
|
2604
2603
|
]),
|
|
2605
2604
|
n[1] || (n[1] = f("hr", { class: "divider" }, null, -1)),
|
|
2606
|
-
t.subSchema ? (u(), g("div",
|
|
2605
|
+
t.subSchema ? (u(), g("div", Rd, [
|
|
2607
2606
|
C(ee, {
|
|
2608
2607
|
model: t.transformedModel[r],
|
|
2609
2608
|
options: { helpAsHtml: !0 },
|
|
2610
2609
|
schema: t.subSchema,
|
|
2611
2610
|
onModelUpdated: t.updateModel
|
|
2612
2611
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
2613
|
-
])) : (u(), g("div",
|
|
2612
|
+
])) : (u(), g("div", Pd, [
|
|
2614
2613
|
de(f("input", {
|
|
2615
2614
|
"onUpdate:modelValue": (s) => t.value[r] = s,
|
|
2616
2615
|
class: "form-control",
|
|
2617
2616
|
placeholder: t.schema.fields && t.schema.fields[0].schema.placeholder,
|
|
2618
2617
|
type: t.valueInputType,
|
|
2619
2618
|
onInput: (s) => t.updateModel(t.value[r], t.model[t.schema.model])
|
|
2620
|
-
}, null, 40,
|
|
2619
|
+
}, null, 40, Nd), [
|
|
2621
2620
|
[Un, t.value[r]]
|
|
2622
2621
|
]),
|
|
2623
|
-
t.schema.fields && t.schema.fields[0].schema.hint ? (u(), g("p",
|
|
2622
|
+
t.schema.fields && t.schema.fields[0].schema.hint ? (u(), g("p", Ld, $(t.schema.fields[0].schema.hint), 1)) : R("", !0),
|
|
2624
2623
|
(u(), A(ie(t.autofillSlot), {
|
|
2625
2624
|
schema: t.schema.fields && t.schema.fields[0].schema || t.schema.values,
|
|
2626
2625
|
update: (s) => t.value[r] = s,
|
|
@@ -2630,18 +2629,18 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2630
2629
|
n[2] || (n[2] = f("hr", { class: "wide-divider" }, null, -1))
|
|
2631
2630
|
])
|
|
2632
2631
|
])
|
|
2633
|
-
], 8,
|
|
2632
|
+
], 8, $d))), 128)),
|
|
2634
2633
|
f("div", {
|
|
2635
2634
|
class: W(["input-wrapper", { indent: t.hasObjectKeys }])
|
|
2636
2635
|
}, [
|
|
2637
|
-
f("div",
|
|
2636
|
+
f("div", qd, [
|
|
2638
2637
|
de(f("input", {
|
|
2639
2638
|
"onUpdate:modelValue": n[0] || (n[0] = (i) => t.newKeyName = i),
|
|
2640
2639
|
class: "form-control",
|
|
2641
2640
|
"data-testid": "keyname-input",
|
|
2642
2641
|
placeholder: t.schema.placeholder,
|
|
2643
2642
|
type: "text"
|
|
2644
|
-
}, null, 8,
|
|
2643
|
+
}, null, 8, Kd), [
|
|
2645
2644
|
[Je, t.newKeyName]
|
|
2646
2645
|
]),
|
|
2647
2646
|
C(a, {
|
|
@@ -2656,12 +2655,12 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2656
2655
|
_: 1
|
|
2657
2656
|
}, 8, ["disabled", "onClick"])
|
|
2658
2657
|
]),
|
|
2659
|
-
t.schema.hintText ? (u(), g("p",
|
|
2658
|
+
t.schema.hintText ? (u(), g("p", Dd, $(t.schema.hintText), 1)) : R("", !0)
|
|
2660
2659
|
], 2)
|
|
2661
|
-
], 10,
|
|
2660
|
+
], 10, Ud);
|
|
2662
2661
|
};
|
|
2663
2662
|
}
|
|
2664
|
-
}), Mi = /* @__PURE__ */
|
|
2663
|
+
}), Mi = /* @__PURE__ */ H(zd, [["__scopeId", "data-v-502ed880"]]), Hd = { class: "radio-selection-group" }, Yd = /* @__PURE__ */ re({
|
|
2665
2664
|
__name: "FieldRadio",
|
|
2666
2665
|
props: {
|
|
2667
2666
|
disabled: {
|
|
@@ -2718,12 +2717,12 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2718
2717
|
};
|
|
2719
2718
|
return (h, m) => {
|
|
2720
2719
|
const p = F("KRadio");
|
|
2721
|
-
return u(), g("div",
|
|
2720
|
+
return u(), g("div", Hd, [
|
|
2722
2721
|
(u(!0), g(K, null, J(e.schema.values, (E, N) => (u(), A(p, {
|
|
2723
2722
|
id: e.schema.name + "-" + N,
|
|
2724
2723
|
key: E.value,
|
|
2725
2724
|
modelValue: w(o),
|
|
2726
|
-
"onUpdate:modelValue": m[0] || (m[0] = (c) =>
|
|
2725
|
+
"onUpdate:modelValue": m[0] || (m[0] = (c) => Ye(o) ? o.value = c : null),
|
|
2727
2726
|
label: E.name,
|
|
2728
2727
|
"label-attributes": { info: e.schema.help },
|
|
2729
2728
|
name: e.schema.name,
|
|
@@ -2734,7 +2733,7 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2734
2733
|
]);
|
|
2735
2734
|
};
|
|
2736
2735
|
}
|
|
2737
|
-
}), Si = /* @__PURE__ */
|
|
2736
|
+
}), Si = /* @__PURE__ */ H(Yd, [["__scopeId", "data-v-09b8afda"]]), Ti = /* @__PURE__ */ re({
|
|
2738
2737
|
__name: "FieldSelect",
|
|
2739
2738
|
props: {
|
|
2740
2739
|
disabled: {
|
|
@@ -2823,7 +2822,7 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2823
2822
|
return u(), A(T, {
|
|
2824
2823
|
id: w(l)(e.schema),
|
|
2825
2824
|
modelValue: w(h),
|
|
2826
|
-
"onUpdate:modelValue": M[0] || (M[0] = (U) =>
|
|
2825
|
+
"onUpdate:modelValue": M[0] || (M[0] = (U) => Ye(h) ? h.value = U : null),
|
|
2827
2826
|
class: W(e.schema.fieldClasses),
|
|
2828
2827
|
clearable: !e.schema.required,
|
|
2829
2828
|
disabled: e.disabled || void 0,
|
|
@@ -2837,7 +2836,7 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2837
2836
|
}, null, 8, ["id", "modelValue", "class", "clearable", "disabled", "items", "kpop-attributes", "label-attributes", "name", "placeholder", "required"]);
|
|
2838
2837
|
};
|
|
2839
2838
|
}
|
|
2840
|
-
}),
|
|
2839
|
+
}), xd = {
|
|
2841
2840
|
name: "FieldArray",
|
|
2842
2841
|
components: {
|
|
2843
2842
|
FieldArrayItem: gi,
|
|
@@ -2902,8 +2901,8 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2902
2901
|
((i = (a = this.schema) == null ? void 0 : a.inputAttributes) == null ? void 0 : i.type) === "number" && ct(parseFloat(e)) && (n = parseFloat(e)), this.value = this.value.map((r, s) => s === t ? n : r);
|
|
2903
2902
|
}
|
|
2904
2903
|
}
|
|
2905
|
-
},
|
|
2906
|
-
function
|
|
2904
|
+
}, Gd = ["id"], Wd = { key: 1 }, Zd = ["onUpdate:modelValue", "aria-labelledby", "type"], Jd = ["onUpdate:modelValue", "aria-labelledby"];
|
|
2905
|
+
function Qd(e, t, n, a, i, r) {
|
|
2907
2906
|
const s = F("KTextArea"), o = F("KInput"), l = F("KButton");
|
|
2908
2907
|
return e.schema ? (u(), g("div", {
|
|
2909
2908
|
key: 0,
|
|
@@ -2930,7 +2929,7 @@ function eu(e, t, n, a, i, r) {
|
|
|
2930
2929
|
}, null, 40, ["form-options", "model", "schema", "onModelUpdated"]))
|
|
2931
2930
|
]),
|
|
2932
2931
|
_: 2
|
|
2933
|
-
}, 1064, ["index", "model", "schema", "onRemoveItem"])) : e.schema.items ? (u(), g("span",
|
|
2932
|
+
}, 1064, ["index", "model", "schema", "onRemoveItem"])) : e.schema.items ? (u(), g("span", Wd, [
|
|
2934
2933
|
(u(), A(ie(r.getFieldComponent(e.schema.items)), {
|
|
2935
2934
|
"form-options": e.formOptions,
|
|
2936
2935
|
model: d,
|
|
@@ -2990,7 +2989,7 @@ function eu(e, t, n, a, i, r) {
|
|
|
2990
2989
|
ref_for: !0
|
|
2991
2990
|
}, e.schema.inputAttributes, {
|
|
2992
2991
|
type: ((m = e.schema.inputAttributes) == null ? void 0 : m.type) || "text"
|
|
2993
|
-
}), null, 16,
|
|
2992
|
+
}), null, 16, Zd)), [
|
|
2994
2993
|
[Un, e.value[h]]
|
|
2995
2994
|
])
|
|
2996
2995
|
];
|
|
@@ -3001,7 +3000,7 @@ function eu(e, t, n, a, i, r) {
|
|
|
3001
3000
|
"onUpdate:modelValue": (m) => e.value[h] = m,
|
|
3002
3001
|
"aria-labelledby": e.getLabelId(e.schema),
|
|
3003
3002
|
type: "text"
|
|
3004
|
-
}), null, 16,
|
|
3003
|
+
}), null, 16, Jd), [
|
|
3005
3004
|
[Je, e.value[h]]
|
|
3006
3005
|
]),
|
|
3007
3006
|
(u(), A(ie(r.autofillSlot), {
|
|
@@ -3023,9 +3022,9 @@ function eu(e, t, n, a, i, r) {
|
|
|
3023
3022
|
]),
|
|
3024
3023
|
_: 1
|
|
3025
3024
|
}, 8, ["class", "data-testid", "onClick"])
|
|
3026
|
-
], 10,
|
|
3025
|
+
], 10, Gd)) : R("", !0);
|
|
3027
3026
|
}
|
|
3028
|
-
const
|
|
3027
|
+
const Xd = /* @__PURE__ */ H(xd, [["render", Qd], ["__scopeId", "data-v-27efd618"]]), eu = { class: "form-field-wrapper field-checkbox" }, tu = /* @__PURE__ */ re({
|
|
3029
3028
|
__name: "FieldCheckbox",
|
|
3030
3029
|
props: {
|
|
3031
3030
|
disabled: {
|
|
@@ -3077,11 +3076,11 @@ const tu = /* @__PURE__ */ Y(Wd, [["render", eu], ["__scopeId", "data-v-27efd618
|
|
|
3077
3076
|
clearValidationErrors: l
|
|
3078
3077
|
}), (d, h) => {
|
|
3079
3078
|
const m = F("KCheckbox");
|
|
3080
|
-
return u(), g("div",
|
|
3079
|
+
return u(), g("div", eu, [
|
|
3081
3080
|
C(m, Ie(d.$attrs, {
|
|
3082
3081
|
id: w(s)(e.schema),
|
|
3083
3082
|
modelValue: w(o),
|
|
3084
|
-
"onUpdate:modelValue": h[0] || (h[0] = (p) =>
|
|
3083
|
+
"onUpdate:modelValue": h[0] || (h[0] = (p) => Ye(o) ? o.value = p : null),
|
|
3085
3084
|
autocomplete: e.schema.autocomplete,
|
|
3086
3085
|
class: e.schema.fieldClasses,
|
|
3087
3086
|
disabled: e.disabled || void 0,
|
|
@@ -3094,15 +3093,15 @@ const tu = /* @__PURE__ */ Y(Wd, [["render", eu], ["__scopeId", "data-v-27efd618
|
|
|
3094
3093
|
]);
|
|
3095
3094
|
};
|
|
3096
3095
|
}
|
|
3097
|
-
}),
|
|
3098
|
-
var
|
|
3096
|
+
}), nu = /* @__PURE__ */ H(tu, [["__scopeId", "data-v-6b4ee1cd"]]);
|
|
3097
|
+
var iu = 4;
|
|
3099
3098
|
function Cn(e) {
|
|
3100
|
-
return Xe(e,
|
|
3099
|
+
return Xe(e, iu);
|
|
3101
3100
|
}
|
|
3102
|
-
const
|
|
3103
|
-
function
|
|
3101
|
+
const au = { class: "wrapper" }, ru = ["disabled"], ou = ["id", "checked", "disabled", "onChange", "name"], su = ["disabled"], lu = { class: "info" }, du = { class: "dropList" }, uu = ["id", "checked", "disabled", "onChange", "name"];
|
|
3102
|
+
function cu(e, t, n, a, i, r) {
|
|
3104
3103
|
const s = kn("attributes");
|
|
3105
|
-
return de((u(), g("div",
|
|
3104
|
+
return de((u(), g("div", au, [
|
|
3106
3105
|
e.schema.listBox ? (u(), g("div", {
|
|
3107
3106
|
key: 0,
|
|
3108
3107
|
class: "listbox form-control",
|
|
@@ -3119,13 +3118,13 @@ function fu(e, t, n, a, i, r) {
|
|
|
3119
3118
|
disabled: e.disabled || null,
|
|
3120
3119
|
onChange: (l) => r.onChanged(l, o),
|
|
3121
3120
|
name: r.getInputName(o)
|
|
3122
|
-
}, null, 40,
|
|
3121
|
+
}, null, 40, ou), [
|
|
3123
3122
|
[s, "input"]
|
|
3124
3123
|
]),
|
|
3125
3124
|
te($(r.getItemName(o)), 1)
|
|
3126
3125
|
])
|
|
3127
3126
|
], 2))), 256))
|
|
3128
|
-
], 8,
|
|
3127
|
+
], 8, ru)) : R("", !0),
|
|
3129
3128
|
e.schema.listBox ? R("", !0) : (u(), g("div", {
|
|
3130
3129
|
key: 1,
|
|
3131
3130
|
class: "combobox form-control",
|
|
@@ -3135,10 +3134,10 @@ function fu(e, t, n, a, i, r) {
|
|
|
3135
3134
|
class: W(["mainRow", { expanded: i.comboExpanded }]),
|
|
3136
3135
|
onClick: t[0] || (t[0] = (...o) => r.onExpandCombo && r.onExpandCombo(...o))
|
|
3137
3136
|
}, [
|
|
3138
|
-
f("div",
|
|
3137
|
+
f("div", lu, $(r.selectedCount) + " selected", 1),
|
|
3139
3138
|
t[1] || (t[1] = f("div", { class: "arrow" }, null, -1))
|
|
3140
3139
|
], 2),
|
|
3141
|
-
f("div",
|
|
3140
|
+
f("div", du, [
|
|
3142
3141
|
i.comboExpanded ? (u(!0), g(K, { key: 0 }, J(r.items, (o) => (u(), g("div", {
|
|
3143
3142
|
class: W(["list-row", { "is-checked": r.isItemChecked(o) }])
|
|
3144
3143
|
}, [
|
|
@@ -3150,19 +3149,19 @@ function fu(e, t, n, a, i, r) {
|
|
|
3150
3149
|
disabled: e.disabled || null,
|
|
3151
3150
|
onChange: (l) => r.onChanged(l, o),
|
|
3152
3151
|
name: r.getInputName(o)
|
|
3153
|
-
}, null, 40,
|
|
3152
|
+
}, null, 40, uu), [
|
|
3154
3153
|
[s, "input"]
|
|
3155
3154
|
]),
|
|
3156
3155
|
te($(r.getItemName(o)), 1)
|
|
3157
3156
|
])
|
|
3158
3157
|
], 2))), 256)) : R("", !0)
|
|
3159
3158
|
])
|
|
3160
|
-
], 8,
|
|
3159
|
+
], 8, su))
|
|
3161
3160
|
])), [
|
|
3162
3161
|
[s, "wrapper"]
|
|
3163
3162
|
]);
|
|
3164
3163
|
}
|
|
3165
|
-
const
|
|
3164
|
+
const mu = {
|
|
3166
3165
|
mixins: [be],
|
|
3167
3166
|
data() {
|
|
3168
3167
|
return {
|
|
@@ -3218,7 +3217,7 @@ const hu = {
|
|
|
3218
3217
|
this.comboExpanded = !this.comboExpanded;
|
|
3219
3218
|
}
|
|
3220
3219
|
}
|
|
3221
|
-
},
|
|
3220
|
+
}, fu = /* @__PURE__ */ H(mu, [["render", cu]]), hu = {
|
|
3222
3221
|
name: "FieldKeyValuePairs",
|
|
3223
3222
|
components: { TrashIcon: rt },
|
|
3224
3223
|
mixins: [be],
|
|
@@ -3272,15 +3271,15 @@ const hu = {
|
|
|
3272
3271
|
this.pairs.splice(e, 1);
|
|
3273
3272
|
}
|
|
3274
3273
|
}
|
|
3275
|
-
},
|
|
3276
|
-
function
|
|
3274
|
+
}, pu = { class: "key-value-pairs-editor" }, gu = { class: "pair-item-cell" }, vu = ["data-testid", "placeholder", "value", "onInput"], bu = { class: "pair-item-cell" }, yu = ["data-testid", "placeholder", "value", "onInput"];
|
|
3275
|
+
function _u(e, t, n, a, i, r) {
|
|
3277
3276
|
const s = F("TrashIcon"), o = F("KButton");
|
|
3278
|
-
return u(), g("div",
|
|
3277
|
+
return u(), g("div", pu, [
|
|
3279
3278
|
(u(!0), g(K, null, J(i.pairs, (l, d) => (u(), g("div", {
|
|
3280
3279
|
key: d,
|
|
3281
3280
|
class: "pair-item"
|
|
3282
3281
|
}, [
|
|
3283
|
-
f("div",
|
|
3282
|
+
f("div", gu, [
|
|
3284
3283
|
f("input", {
|
|
3285
3284
|
class: "form-control",
|
|
3286
3285
|
"data-testid": `${e.getFieldID(e.schema)}-pair-key-${d}`,
|
|
@@ -3290,14 +3289,14 @@ function Mu(e, t, n, a, i, r) {
|
|
|
3290
3289
|
onInput: (h) => {
|
|
3291
3290
|
r.onInput(h, d, "key");
|
|
3292
3291
|
}
|
|
3293
|
-
}, null, 40,
|
|
3292
|
+
}, null, 40, vu),
|
|
3294
3293
|
(u(), A(ie(r.autofillSlot), {
|
|
3295
3294
|
schema: e.schema,
|
|
3296
3295
|
update: (h) => r.onInput({ target: { value: h } }, d, "key"),
|
|
3297
3296
|
value: l.key
|
|
3298
3297
|
}, null, 8, ["schema", "update", "value"]))
|
|
3299
3298
|
]),
|
|
3300
|
-
f("div",
|
|
3299
|
+
f("div", bu, [
|
|
3301
3300
|
f("input", {
|
|
3302
3301
|
class: "form-control",
|
|
3303
3302
|
"data-testid": `${e.getFieldID(e.schema)}-pair-value-${d}`,
|
|
@@ -3307,7 +3306,7 @@ function Mu(e, t, n, a, i, r) {
|
|
|
3307
3306
|
onInput: (h) => {
|
|
3308
3307
|
r.onInput(h, d, "value");
|
|
3309
3308
|
}
|
|
3310
|
-
}, null, 40,
|
|
3309
|
+
}, null, 40, yu),
|
|
3311
3310
|
(u(), A(ie(r.autofillSlot), {
|
|
3312
3311
|
schema: e.schema,
|
|
3313
3312
|
update: (h) => r.onInput({ target: { value: h } }, d, "value"),
|
|
@@ -3341,7 +3340,7 @@ function Mu(e, t, n, a, i, r) {
|
|
|
3341
3340
|
}, 8, ["class", "data-testid", "onClick"])
|
|
3342
3341
|
]);
|
|
3343
3342
|
}
|
|
3344
|
-
const
|
|
3343
|
+
const wu = /* @__PURE__ */ H(hu, [["render", _u], ["__scopeId", "data-v-70998d5b"]]), Mu = /* @__PURE__ */ re({
|
|
3345
3344
|
__name: "FieldLabel",
|
|
3346
3345
|
props: {
|
|
3347
3346
|
disabled: {
|
|
@@ -3389,7 +3388,7 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
|
|
|
3389
3388
|
], 2);
|
|
3390
3389
|
};
|
|
3391
3390
|
}
|
|
3392
|
-
}),
|
|
3391
|
+
}), Su = /* @__PURE__ */ H(Mu, [["__scopeId", "data-v-d046a15a"]]), Tu = /* @__PURE__ */ re({
|
|
3393
3392
|
__name: "FieldMultiselect",
|
|
3394
3393
|
props: {
|
|
3395
3394
|
disabled: {
|
|
@@ -3449,7 +3448,7 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
|
|
|
3449
3448
|
return u(), A(E, {
|
|
3450
3449
|
id: w(o)(e.schema),
|
|
3451
3450
|
modelValue: w(d),
|
|
3452
|
-
"onUpdate:modelValue": p[0] || (p[0] = (N) =>
|
|
3451
|
+
"onUpdate:modelValue": p[0] || (p[0] = (N) => Ye(d) ? d.value = N : null),
|
|
3453
3452
|
"aria-labelledby": w(s)(e.schema),
|
|
3454
3453
|
class: W(e.schema.fieldClasses),
|
|
3455
3454
|
"data-testid": "field-multiselect",
|
|
@@ -3464,7 +3463,7 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
|
|
|
3464
3463
|
}, null, 8, ["id", "modelValue", "aria-labelledby", "class", "disabled", "items", "kpop-attributes", "label-attributes", "name", "placeholder", "required"]);
|
|
3465
3464
|
};
|
|
3466
3465
|
}
|
|
3467
|
-
}),
|
|
3466
|
+
}), Cu = { class: "selection-group" }, Iu = { class: "form-group horizontal-radios" }, Ou = { class: "radio-group" }, Au = ["disabled", "value"], Eu = { class: "control-help" }, Fu = { class: "option-field" }, ku = { class: "option-field-container" }, Uu = {
|
|
3468
3467
|
mixins: [be],
|
|
3469
3468
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
3470
3469
|
emits: ["model-updated"],
|
|
@@ -3502,18 +3501,18 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
|
|
|
3502
3501
|
this.$emit("model-updated", e, t);
|
|
3503
3502
|
}
|
|
3504
3503
|
}
|
|
3505
|
-
},
|
|
3504
|
+
}, $u = /* @__PURE__ */ Object.assign(Uu, {
|
|
3506
3505
|
__name: "FieldSelectionGroup",
|
|
3507
3506
|
setup(e) {
|
|
3508
3507
|
const { t } = ge("en-us", ve);
|
|
3509
|
-
return (n, a) => (u(), g("div",
|
|
3508
|
+
return (n, a) => (u(), g("div", Cu, [
|
|
3510
3509
|
(u(), A(ie(n.$props.disabled ? "k-tooltip" : "div"), {
|
|
3511
3510
|
"max-width": "300",
|
|
3512
3511
|
text: w(t)("general.disable_global_radio", { scope: n.scope })
|
|
3513
3512
|
}, {
|
|
3514
3513
|
default: I(() => [
|
|
3515
|
-
f("div",
|
|
3516
|
-
f("div",
|
|
3514
|
+
f("div", Iu, [
|
|
3515
|
+
f("div", Ou, [
|
|
3517
3516
|
(u(!0), g(K, null, J(n.schema.fields, (i, r) => (u(), g("div", {
|
|
3518
3517
|
key: r,
|
|
3519
3518
|
class: W(["option-group", { "radio-disabled": n.$props.disabled }])
|
|
@@ -3527,11 +3526,11 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
|
|
|
3527
3526
|
disabled: n.$props.disabled,
|
|
3528
3527
|
type: "radio",
|
|
3529
3528
|
value: r
|
|
3530
|
-
}, null, 8,
|
|
3529
|
+
}, null, 8, Au), [
|
|
3531
3530
|
[Ui, n.checkedGroup]
|
|
3532
3531
|
]),
|
|
3533
3532
|
te(" " + $(i.label) + " ", 1),
|
|
3534
|
-
f("div",
|
|
3533
|
+
f("div", Eu, $(i.description), 1)
|
|
3535
3534
|
], 2)
|
|
3536
3535
|
], 2))), 128))
|
|
3537
3536
|
])
|
|
@@ -3543,8 +3542,8 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
|
|
|
3543
3542
|
key: r,
|
|
3544
3543
|
class: "option-group"
|
|
3545
3544
|
}, [
|
|
3546
|
-
de(f("div",
|
|
3547
|
-
f("div",
|
|
3545
|
+
de(f("div", Fu, [
|
|
3546
|
+
f("div", ku, [
|
|
3548
3547
|
C(ee, {
|
|
3549
3548
|
model: n.model,
|
|
3550
3549
|
options: { helpAsHtml: !0 },
|
|
@@ -3558,7 +3557,7 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
|
|
|
3558
3557
|
]))), 128))
|
|
3559
3558
|
]));
|
|
3560
3559
|
}
|
|
3561
|
-
}),
|
|
3560
|
+
}), Vu = /* @__PURE__ */ H($u, [["__scopeId", "data-v-7b085c16"]]), ju = { class: "form-field-wrapper" }, Ru = /* @__PURE__ */ re({
|
|
3562
3561
|
__name: "FieldSwitch",
|
|
3563
3562
|
props: {
|
|
3564
3563
|
disabled: {
|
|
@@ -3612,11 +3611,11 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
|
|
|
3612
3611
|
clearValidationErrors: m
|
|
3613
3612
|
}), (p, E) => {
|
|
3614
3613
|
const N = F("KInputSwitch");
|
|
3615
|
-
return u(), g("div",
|
|
3614
|
+
return u(), g("div", ju, [
|
|
3616
3615
|
C(N, {
|
|
3617
3616
|
id: w(d)(e.schema),
|
|
3618
3617
|
modelValue: w(h),
|
|
3619
|
-
"onUpdate:modelValue": E[0] || (E[0] = (c) =>
|
|
3618
|
+
"onUpdate:modelValue": E[0] || (E[0] = (c) => Ye(h) ? h.value = c : null),
|
|
3620
3619
|
autocomplete: e.schema.autocomplete,
|
|
3621
3620
|
class: W(e.schema.fieldClasses),
|
|
3622
3621
|
disabled: e.disabled || void 0,
|
|
@@ -3628,7 +3627,7 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
|
|
|
3628
3627
|
]);
|
|
3629
3628
|
};
|
|
3630
3629
|
}
|
|
3631
|
-
}),
|
|
3630
|
+
}), Pu = { class: "field-textarea" }, Nu = /* @__PURE__ */ re({
|
|
3632
3631
|
__name: "FieldTextArea",
|
|
3633
3632
|
props: {
|
|
3634
3633
|
disabled: {
|
|
@@ -3684,11 +3683,11 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
|
|
|
3684
3683
|
};
|
|
3685
3684
|
return (p, E) => {
|
|
3686
3685
|
const N = F("KTextArea");
|
|
3687
|
-
return u(), g("div",
|
|
3686
|
+
return u(), g("div", Pu, [
|
|
3688
3687
|
C(N, Ie(p.$attrs, {
|
|
3689
3688
|
id: w(l)(e.schema),
|
|
3690
3689
|
modelValue: w(h),
|
|
3691
|
-
"onUpdate:modelValue": E[0] || (E[0] = (c) =>
|
|
3690
|
+
"onUpdate:modelValue": E[0] || (E[0] = (c) => Ye(h) ? h.value = c : null),
|
|
3692
3691
|
autosize: "",
|
|
3693
3692
|
"character-limit": e.schema.max,
|
|
3694
3693
|
class: e.schema.fieldClasses,
|
|
@@ -3710,31 +3709,31 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
|
|
|
3710
3709
|
]);
|
|
3711
3710
|
};
|
|
3712
3711
|
}
|
|
3713
|
-
}),
|
|
3712
|
+
}), Lu = /* @__PURE__ */ H(Nu, [["__scopeId", "data-v-0e146fba"]]), qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3714
3713
|
__proto__: null,
|
|
3715
|
-
FieldAdvanced:
|
|
3716
|
-
FieldArray:
|
|
3714
|
+
FieldAdvanced: Wl,
|
|
3715
|
+
FieldArray: Xd,
|
|
3717
3716
|
FieldArrayCardContainer: pi,
|
|
3718
3717
|
FieldArrayItem: gi,
|
|
3719
3718
|
FieldArrayMultiItem: vi,
|
|
3720
3719
|
FieldAutoSuggest: bi,
|
|
3721
|
-
FieldCheckbox:
|
|
3722
|
-
FieldChecklist:
|
|
3720
|
+
FieldCheckbox: nu,
|
|
3721
|
+
FieldChecklist: fu,
|
|
3723
3722
|
FieldInput: yi,
|
|
3724
|
-
FieldKeyValuePairs:
|
|
3725
|
-
FieldLabel:
|
|
3723
|
+
FieldKeyValuePairs: wu,
|
|
3724
|
+
FieldLabel: Su,
|
|
3726
3725
|
FieldMetric: _i,
|
|
3727
|
-
FieldMultiselect:
|
|
3726
|
+
FieldMultiselect: Tu,
|
|
3728
3727
|
FieldObject: wi,
|
|
3729
3728
|
FieldObjectAdvanced: Mi,
|
|
3730
3729
|
FieldRadio: Si,
|
|
3731
3730
|
FieldSelect: Ti,
|
|
3732
|
-
FieldSelectionGroup:
|
|
3733
|
-
FieldSwitch:
|
|
3734
|
-
FieldTextArea:
|
|
3735
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3731
|
+
FieldSelectionGroup: Vu,
|
|
3732
|
+
FieldSwitch: Ru,
|
|
3733
|
+
FieldTextArea: Lu
|
|
3734
|
+
}, Symbol.toStringTag, { value: "Module" })), Ku = {
|
|
3736
3735
|
name: "FormGroup",
|
|
3737
|
-
components:
|
|
3736
|
+
components: qu,
|
|
3738
3737
|
mixins: [ai],
|
|
3739
3738
|
inject: {
|
|
3740
3739
|
"vfg-array-item-index": {
|
|
@@ -3856,17 +3855,17 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
|
|
|
3856
3855
|
return e ? e.replace(/^[cC]onfig\./, "") : "";
|
|
3857
3856
|
}
|
|
3858
3857
|
}
|
|
3859
|
-
},
|
|
3858
|
+
}, Du = ["innerHTML"], Bu = { class: "icon-wrapper" }, zu = ["innerHTML"], Hu = {
|
|
3860
3859
|
key: 0,
|
|
3861
3860
|
class: "link-wrapper"
|
|
3862
|
-
},
|
|
3861
|
+
}, Yu = { class: "field-wrap" }, xu = {
|
|
3863
3862
|
key: 0,
|
|
3864
3863
|
class: "buttons"
|
|
3865
|
-
},
|
|
3864
|
+
}, Gu = ["type", "onClick", "textContent"], Wu = ["innerHTML"], Zu = {
|
|
3866
3865
|
key: 2,
|
|
3867
3866
|
class: "errors help-block"
|
|
3868
|
-
},
|
|
3869
|
-
function
|
|
3867
|
+
}, Ju = ["innerHTML"];
|
|
3868
|
+
function Qu(e, t, n, a, i, r) {
|
|
3870
3869
|
const s = F("KExternalLink"), o = F("KLabel");
|
|
3871
3870
|
return u(), g("div", {
|
|
3872
3871
|
class: W(["form-group", e.getFieldRowClasses(n.field)])
|
|
@@ -3884,12 +3883,12 @@ function ec(e, t, n, a, i, r) {
|
|
|
3884
3883
|
} : void 0
|
|
3885
3884
|
}, $n({
|
|
3886
3885
|
default: I(() => [
|
|
3887
|
-
f("div",
|
|
3886
|
+
f("div", Bu, [
|
|
3888
3887
|
f("span", {
|
|
3889
3888
|
innerHTML: r.formattedLabel(n.field.label)
|
|
3890
|
-
}, null, 8,
|
|
3889
|
+
}, null, 8, zu)
|
|
3891
3890
|
]),
|
|
3892
|
-
n.field.link ? (u(), g("div",
|
|
3891
|
+
n.field.link ? (u(), g("div", Hu, [
|
|
3893
3892
|
C(s, {
|
|
3894
3893
|
href: n.field.link
|
|
3895
3894
|
}, {
|
|
@@ -3907,12 +3906,12 @@ function ec(e, t, n, a, i, r) {
|
|
|
3907
3906
|
fn: I(() => [
|
|
3908
3907
|
f("div", {
|
|
3909
3908
|
innerHTML: n.field.help
|
|
3910
|
-
}, null, 8,
|
|
3909
|
+
}, null, 8, Du)
|
|
3911
3910
|
]),
|
|
3912
3911
|
key: "0"
|
|
3913
3912
|
} : void 0
|
|
3914
3913
|
]), 1032, ["aria-describedby", "class", "for", "info", "tooltip-attributes"])) : R("", !0),
|
|
3915
|
-
f("div",
|
|
3914
|
+
f("div", Yu, [
|
|
3916
3915
|
(u(), A(ie(r.getFieldComponent(n.field)), Ie(e.$attrs, {
|
|
3917
3916
|
ref: "child",
|
|
3918
3917
|
disabled: e.fieldDisabled(n.field) || null,
|
|
@@ -3925,38 +3924,38 @@ function ec(e, t, n, a, i, r) {
|
|
|
3925
3924
|
onRefreshModel: r.onRefreshModel,
|
|
3926
3925
|
onValidated: r.onFieldValidated
|
|
3927
3926
|
}), null, 16, ["disabled", "form-options", "hint", "model", "schema", "vfg", "onModelUpdated", "onRefreshModel", "onValidated"])),
|
|
3928
|
-
r.buttonVisibility(n.field) ? (u(), g("div",
|
|
3927
|
+
r.buttonVisibility(n.field) ? (u(), g("div", xu, [
|
|
3929
3928
|
(u(!0), g(K, null, J(n.field.buttons, (l, d) => (u(), g("button", {
|
|
3930
3929
|
key: d,
|
|
3931
3930
|
class: W(l.classes),
|
|
3932
3931
|
type: r.getButtonType(l),
|
|
3933
3932
|
onClick: (h) => r.buttonClickHandler(l, n.field, h),
|
|
3934
3933
|
textContent: $(l.label)
|
|
3935
|
-
}, null, 10,
|
|
3934
|
+
}, null, 10, Gu))), 128))
|
|
3936
3935
|
])) : R("", !0)
|
|
3937
3936
|
]),
|
|
3938
3937
|
n.field.hint && n.field.type !== "input" ? (u(), g("div", {
|
|
3939
3938
|
key: 1,
|
|
3940
3939
|
class: "hint",
|
|
3941
3940
|
innerHTML: r.fieldHint(n.field)
|
|
3942
|
-
}, null, 8,
|
|
3943
|
-
r.fieldErrors(n.field).length > 0 ? (u(), g("div",
|
|
3941
|
+
}, null, 8, Wu)) : R("", !0),
|
|
3942
|
+
r.fieldErrors(n.field).length > 0 ? (u(), g("div", Zu, [
|
|
3944
3943
|
(u(!0), g(K, null, J(r.fieldErrors(n.field), (l, d) => (u(), g("span", {
|
|
3945
3944
|
key: d,
|
|
3946
3945
|
innerHTML: l
|
|
3947
|
-
}, null, 8,
|
|
3946
|
+
}, null, 8, Ju))), 128))
|
|
3948
3947
|
])) : R("", !0)
|
|
3949
3948
|
], 2);
|
|
3950
3949
|
}
|
|
3951
|
-
const Ci = /* @__PURE__ */
|
|
3950
|
+
const Ci = /* @__PURE__ */ H(Ku, [["render", Qu], ["__scopeId", "data-v-172f268b"]]), Xu = "12px";
|
|
3952
3951
|
var mt = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(mt || {});
|
|
3953
|
-
const
|
|
3952
|
+
const ec = (e) => {
|
|
3954
3953
|
var t, n;
|
|
3955
3954
|
return e.type === mt.REDIS_CE ? "Host/Port" : (t = e.config.sentinel_nodes) != null && t.length ? "Sentinel" : (n = e.config.cluster_nodes) != null && n.length ? "Cluster" : "Host/Port";
|
|
3956
|
-
},
|
|
3955
|
+
}, tc = {
|
|
3957
3956
|
[mt.REDIS_CE]: "open source",
|
|
3958
3957
|
[mt.REDIS_EE]: "enterprise"
|
|
3959
|
-
}, In = (e) =>
|
|
3958
|
+
}, In = (e) => tc[e] ?? "", nc = { class: "partial-config-card" }, ic = { class: "config-card-row-label" }, ac = { class: "label-text" }, rc = ["data-testid"], oc = ["data-testid"], sc = { key: 1 }, lc = ["data-testid"], dc = ["data-testid"], uc = /* @__PURE__ */ re({
|
|
3960
3959
|
__name: "RedisConfigCard",
|
|
3961
3960
|
props: {
|
|
3962
3961
|
configFields: {
|
|
@@ -4004,19 +4003,19 @@ const nc = (e) => {
|
|
|
4004
4003
|
}).sort((m, p) => m.order - p.order).filter((m) => m.type !== "hidden")), d = ye.useRedisNonStandardFields(i.configFields, i.pluginRedisFields), h = L(() => l.value.concat(d));
|
|
4005
4004
|
return (m, p) => {
|
|
4006
4005
|
const E = F("KCopy");
|
|
4007
|
-
return u(), g("div",
|
|
4006
|
+
return u(), g("div", nc, [
|
|
4008
4007
|
(u(!0), g(K, null, J(h.value, ({ key: N, label: c, value: M, type: T }) => (u(), g("div", {
|
|
4009
4008
|
key: N,
|
|
4010
4009
|
class: "partial-config-card-row"
|
|
4011
4010
|
}, [
|
|
4012
|
-
f("div",
|
|
4013
|
-
f("div",
|
|
4011
|
+
f("div", ic, [
|
|
4012
|
+
f("div", ac, $(c), 1)
|
|
4014
4013
|
]),
|
|
4015
4014
|
f("div", {
|
|
4016
4015
|
class: "config-card-row-value",
|
|
4017
4016
|
"data-testid": `${N}-property-value`
|
|
4018
4017
|
}, [
|
|
4019
|
-
r(M) ? (u(), g("div",
|
|
4018
|
+
r(M) ? (u(), g("div", sc, [
|
|
4020
4019
|
T === "password" ? (u(), g("div", {
|
|
4021
4020
|
key: 0,
|
|
4022
4021
|
"data-testid": `${N}-copy-password`
|
|
@@ -4025,33 +4024,33 @@ const nc = (e) => {
|
|
|
4025
4024
|
format: "redacted",
|
|
4026
4025
|
text: String(M)
|
|
4027
4026
|
}, null, 8, ["text"])
|
|
4028
|
-
], 8,
|
|
4027
|
+
], 8, lc)) : (u(), g("div", {
|
|
4029
4028
|
key: 1,
|
|
4030
4029
|
"data-testid": `${N}-plain-text`
|
|
4031
|
-
}, $(M), 9,
|
|
4030
|
+
}, $(M), 9, dc))
|
|
4032
4031
|
])) : (u(), g("div", {
|
|
4033
4032
|
key: 0,
|
|
4034
4033
|
"data-testid": `${N}-no-value`
|
|
4035
|
-
}, " – ", 8,
|
|
4036
|
-
], 8,
|
|
4034
|
+
}, " – ", 8, oc))
|
|
4035
|
+
], 8, rc)
|
|
4037
4036
|
]))), 128))
|
|
4038
4037
|
]);
|
|
4039
4038
|
};
|
|
4040
4039
|
}
|
|
4041
|
-
}),
|
|
4040
|
+
}), cc = /* @__PURE__ */ H(uc, [["__scopeId", "data-v-c1eb723f"]]), mc = {
|
|
4042
4041
|
class: "redis-config-select",
|
|
4043
4042
|
"data-testid": "redis-config-select"
|
|
4044
|
-
},
|
|
4043
|
+
}, fc = { class: "selected-redis-config" }, hc = ["data-testid"], pc = {
|
|
4045
4044
|
class: "select-item-name",
|
|
4046
4045
|
"data-testid": "selected-redis-config"
|
|
4047
|
-
},
|
|
4046
|
+
}, gc = {
|
|
4048
4047
|
class: "empty-redis-config",
|
|
4049
4048
|
"data-testid": "empty-redis-config"
|
|
4050
|
-
},
|
|
4049
|
+
}, vc = {
|
|
4051
4050
|
key: 1,
|
|
4052
4051
|
class: "redis-shared-config-error-message",
|
|
4053
4052
|
"data-testid": "redis-config-fetch-error"
|
|
4054
|
-
},
|
|
4053
|
+
}, bc = /* @__PURE__ */ re({
|
|
4055
4054
|
__name: "RedisConfigSelect",
|
|
4056
4055
|
props: {
|
|
4057
4056
|
defaultRedisConfigItem: {
|
|
@@ -4078,7 +4077,7 @@ const nc = (e) => {
|
|
|
4078
4077
|
},
|
|
4079
4078
|
emits: ["showNewPartialModal"],
|
|
4080
4079
|
setup(e) {
|
|
4081
|
-
const { t } = ge("en-us", ve), n = ot(
|
|
4080
|
+
const { t } = ge("en-us", ve), n = ot(Gr), a = {
|
|
4082
4081
|
konnect: {
|
|
4083
4082
|
getOne: "/v2/control-planes/{controlPlaneId}/core-entities/partials/{id}",
|
|
4084
4083
|
getAll: "/v2/control-planes/{controlPlaneId}/core-entities/partials"
|
|
@@ -4087,7 +4086,7 @@ const nc = (e) => {
|
|
|
4087
4086
|
getOne: "/{workspace}/partials/{id}",
|
|
4088
4087
|
getAll: "/{workspace}/partials"
|
|
4089
4088
|
}
|
|
4090
|
-
}, i = e, r = ue(null), { getMessageFromError: s } = Ni(), o = ot(
|
|
4089
|
+
}, i = e, r = ue(null), { getMessageFromError: s } = Ni(), o = ot(xr), {
|
|
4091
4090
|
debouncedQueryChange: l,
|
|
4092
4091
|
loading: d,
|
|
4093
4092
|
error: h,
|
|
@@ -4101,7 +4100,7 @@ const nc = (e) => {
|
|
|
4101
4100
|
return o.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, (o == null ? void 0 : o.controlPlaneId) || "") : o.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, o != null && o.workspace ? `/${o.workspace}` : "")), b = b.replace(/{id}/gi, String(U)), b;
|
|
4102
4101
|
}, c = L(() => {
|
|
4103
4102
|
var b;
|
|
4104
|
-
const U = ((b = p.value) == null ? void 0 : b.map((O) => ({ label: O.id, name: O.name, value: O.id, type: O.type, tag:
|
|
4103
|
+
const U = ((b = p.value) == null ? void 0 : b.map((O) => ({ label: O.id, name: O.name, value: O.id, type: O.type, tag: ec(O) }))) || [];
|
|
4105
4104
|
return i.redisType !== "all" ? U.filter((O) => O.type === i.redisType) : U;
|
|
4106
4105
|
}), { axiosInstance: M } = qi(o == null ? void 0 : o.axiosRequestConfig), T = async (U) => {
|
|
4107
4106
|
if (U) {
|
|
@@ -4124,7 +4123,7 @@ const nc = (e) => {
|
|
|
4124
4123
|
}), (U, b) => {
|
|
4125
4124
|
const O = F("KLabel"), k = F("KBadge"), _ = F("KSelect");
|
|
4126
4125
|
return u(), g(K, null, [
|
|
4127
|
-
f("div",
|
|
4126
|
+
f("div", mc, [
|
|
4128
4127
|
C(O, {
|
|
4129
4128
|
info: e.isCustomPlugin ? w(t)("redis.custom_plugin.tooltip") : w(t)("redis.shared_configuration.tooltip", { type: w(In)(e.redisType) }),
|
|
4130
4129
|
"tooltip-attributes": {
|
|
@@ -4151,14 +4150,14 @@ const nc = (e) => {
|
|
|
4151
4150
|
onQueryChange: w(l)
|
|
4152
4151
|
}, {
|
|
4153
4152
|
"selected-item-template": I(({ item: v }) => [
|
|
4154
|
-
f("div",
|
|
4153
|
+
f("div", fc, $(v.name), 1)
|
|
4155
4154
|
]),
|
|
4156
4155
|
"item-template": I(({ item: v }) => [
|
|
4157
4156
|
f("div", {
|
|
4158
4157
|
class: "plugin-form-redis-configuration-dropdown-item",
|
|
4159
4158
|
"data-testid": `redis-configuration-dropdown-item-${v.name}`
|
|
4160
4159
|
}, [
|
|
4161
|
-
f("span",
|
|
4160
|
+
f("span", pc, $(v.name), 1),
|
|
4162
4161
|
C(k, {
|
|
4163
4162
|
appearance: "info",
|
|
4164
4163
|
class: "select-item-label"
|
|
@@ -4168,10 +4167,10 @@ const nc = (e) => {
|
|
|
4168
4167
|
]),
|
|
4169
4168
|
_: 2
|
|
4170
4169
|
}, 1024)
|
|
4171
|
-
], 8,
|
|
4170
|
+
], 8, hc)
|
|
4172
4171
|
]),
|
|
4173
4172
|
empty: I(() => [
|
|
4174
|
-
f("div",
|
|
4173
|
+
f("div", gc, $(w(t)("redis.shared_configuration.empty_state")), 1)
|
|
4175
4174
|
]),
|
|
4176
4175
|
"dropdown-footer-text": I(() => [
|
|
4177
4176
|
f("div", {
|
|
@@ -4179,32 +4178,32 @@ const nc = (e) => {
|
|
|
4179
4178
|
"data-testid": "new-redis-config-area",
|
|
4180
4179
|
onClick: b[0] || (b[0] = (v) => U.$emit("showNewPartialModal"))
|
|
4181
4180
|
}, [
|
|
4182
|
-
C(w(Vt), { size: w(
|
|
4181
|
+
C(w(Vt), { size: w(Xu) }, null, 8, ["size"]),
|
|
4183
4182
|
f("span", null, $(w(t)("redis.shared_configuration.create_new_configuration", { type: w(In)(e.redisType) })), 1)
|
|
4184
4183
|
])
|
|
4185
4184
|
]),
|
|
4186
4185
|
_: 1
|
|
4187
4186
|
}, 8, ["items", "loading", "model-value", "placeholder", "onQueryChange"])
|
|
4188
4187
|
]),
|
|
4189
|
-
r.value ? (u(), A(
|
|
4188
|
+
r.value ? (u(), A(cc, {
|
|
4190
4189
|
key: 0,
|
|
4191
4190
|
"config-fields": r.value,
|
|
4192
4191
|
"plugin-redis-fields": e.pluginRedisFields
|
|
4193
4192
|
}, null, 8, ["config-fields", "plugin-redis-fields"])) : R("", !0),
|
|
4194
|
-
E.value ? (u(), g("p",
|
|
4193
|
+
E.value ? (u(), g("p", vc, $(E.value || w(t)("redis.shared_configuration.error")), 1)) : R("", !0)
|
|
4195
4194
|
], 64);
|
|
4196
4195
|
};
|
|
4197
4196
|
}
|
|
4198
|
-
}), On = /* @__PURE__ */
|
|
4197
|
+
}), On = /* @__PURE__ */ H(bc, [["__scopeId", "data-v-ec7085df"]]), yc = { key: 0 }, _c = {
|
|
4199
4198
|
class: "redis-config-radio-group",
|
|
4200
4199
|
"data-testid": "redis-config-radio-group"
|
|
4201
|
-
},
|
|
4200
|
+
}, wc = {
|
|
4202
4201
|
key: 0,
|
|
4203
4202
|
class: "shared-redis-config"
|
|
4204
|
-
},
|
|
4203
|
+
}, Mc = {
|
|
4205
4204
|
key: 1,
|
|
4206
4205
|
class: "dedicated-redis-config"
|
|
4207
|
-
},
|
|
4206
|
+
}, Sc = { class: "dedicated-redis-config-title" }, Tc = /* @__PURE__ */ re({
|
|
4208
4207
|
__name: "FormRedis",
|
|
4209
4208
|
props: {
|
|
4210
4209
|
tag: {
|
|
@@ -4272,7 +4271,7 @@ const nc = (e) => {
|
|
|
4272
4271
|
}), (c, M) => {
|
|
4273
4272
|
const T = F("KAlert"), U = F("KBadge"), b = F("KRadio"), O = F("KCard");
|
|
4274
4273
|
return u(), g("div", null, [
|
|
4275
|
-
r.value ? (u(), g("div",
|
|
4274
|
+
r.value ? (u(), g("div", yc, [
|
|
4276
4275
|
C(T, {
|
|
4277
4276
|
"data-testid": "custom-plugin-redis-config-note",
|
|
4278
4277
|
message: w(i)("redis.custom_plugin.alert")
|
|
@@ -4291,7 +4290,7 @@ const nc = (e) => {
|
|
|
4291
4290
|
title: w(i)("redis.title")
|
|
4292
4291
|
}, {
|
|
4293
4292
|
default: I(() => [
|
|
4294
|
-
f("div",
|
|
4293
|
+
f("div", _c, [
|
|
4295
4294
|
C(b, {
|
|
4296
4295
|
modelValue: s.value,
|
|
4297
4296
|
"onUpdate:modelValue": M[1] || (M[1] = (k) => s.value = k),
|
|
@@ -4323,7 +4322,7 @@ const nc = (e) => {
|
|
|
4323
4322
|
"selected-value": !1
|
|
4324
4323
|
}, null, 8, ["modelValue", "description", "label"])
|
|
4325
4324
|
]),
|
|
4326
|
-
s.value ? (u(), g("div",
|
|
4325
|
+
s.value ? (u(), g("div", wc, [
|
|
4327
4326
|
C(On, {
|
|
4328
4327
|
"default-redis-config-item": o.value,
|
|
4329
4328
|
"plugin-redis-fields": e.field.fields,
|
|
@@ -4331,8 +4330,8 @@ const nc = (e) => {
|
|
|
4331
4330
|
"update-redis-model": m,
|
|
4332
4331
|
onShowNewPartialModal: M[3] || (M[3] = (k) => c.$emit("showNewPartialModal"))
|
|
4333
4332
|
}, null, 8, ["default-redis-config-item", "plugin-redis-fields", "redis-type"])
|
|
4334
|
-
])) : (u(), g("div",
|
|
4335
|
-
f("div",
|
|
4333
|
+
])) : (u(), g("div", Mc, [
|
|
4334
|
+
f("div", Sc, $(w(i)("redis.dedicated_configuration.title")), 1),
|
|
4336
4335
|
(u(), A(ie(e.tag), null, {
|
|
4337
4336
|
default: I(() => [
|
|
4338
4337
|
(u(!0), g(K, null, J(e.field.fields, (k) => (u(), g(K, {
|
|
@@ -4362,9 +4361,9 @@ const nc = (e) => {
|
|
|
4362
4361
|
]);
|
|
4363
4362
|
};
|
|
4364
4363
|
}
|
|
4365
|
-
}),
|
|
4364
|
+
}), Cc = /* @__PURE__ */ H(Tc, [["__scopeId", "data-v-b9a17494"]]), Ic = {
|
|
4366
4365
|
name: "VueFormGenerator",
|
|
4367
|
-
components: { formGroup: Ci, formRedis:
|
|
4366
|
+
components: { formGroup: Ci, formRedis: Cc },
|
|
4368
4367
|
mixins: [ai],
|
|
4369
4368
|
inject: {
|
|
4370
4369
|
// Inject AUTOFILL_SLOT for provide()
|
|
@@ -4526,13 +4525,13 @@ const nc = (e) => {
|
|
|
4526
4525
|
});
|
|
4527
4526
|
}
|
|
4528
4527
|
}
|
|
4529
|
-
},
|
|
4528
|
+
}, Oc = {
|
|
4530
4529
|
key: 0,
|
|
4531
4530
|
class: "vue-form-generator"
|
|
4532
|
-
},
|
|
4533
|
-
function
|
|
4531
|
+
}, Ac = { key: 0 };
|
|
4532
|
+
function Ec(e, t, n, a, i, r) {
|
|
4534
4533
|
const s = F("form-redis"), o = F("form-group"), l = F("KCollapse");
|
|
4535
|
-
return n.schema != null ? (u(), g("div",
|
|
4534
|
+
return n.schema != null ? (u(), g("div", Oc, [
|
|
4536
4535
|
n.schema.fields ? (u(), A(ie(n.tag), { key: 0 }, {
|
|
4537
4536
|
default: I(() => [
|
|
4538
4537
|
(u(!0), g(K, null, J(r.fields, (d) => (u(), g(K, {
|
|
@@ -4671,7 +4670,7 @@ function kc(e, t, n, a, i, r) {
|
|
|
4671
4670
|
class: W(e.getFieldRowClasses(d))
|
|
4672
4671
|
}, {
|
|
4673
4672
|
default: I(() => [
|
|
4674
|
-
d.legend ? (u(), g("legend",
|
|
4673
|
+
d.legend ? (u(), g("legend", Ac, $(d.legend), 1)) : R("", !0),
|
|
4675
4674
|
(u(!0), g(K, null, J(d.fields, (m) => (u(), g(K, {
|
|
4676
4675
|
key: m.model
|
|
4677
4676
|
}, [
|
|
@@ -4695,7 +4694,7 @@ function kc(e, t, n, a, i, r) {
|
|
|
4695
4694
|
], 64))), 128))
|
|
4696
4695
|
])) : R("", !0);
|
|
4697
4696
|
}
|
|
4698
|
-
const ee = /* @__PURE__ */
|
|
4697
|
+
const ee = /* @__PURE__ */ H(Ic, [["render", Ec]]), Ze = {
|
|
4699
4698
|
openIdConnectDocs: "https://developer.konghq.com/plugins/openid-connect/",
|
|
4700
4699
|
openIdConnectJWKDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-client-jwk",
|
|
4701
4700
|
openIdConnectClusterNodesDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-redis-cluster-nodes",
|
|
@@ -4715,7 +4714,7 @@ const ee = /* @__PURE__ */ Y(Ac, [["render", kc]]), Ze = {
|
|
|
4715
4714
|
"config-groups_claim",
|
|
4716
4715
|
"config-groups_required",
|
|
4717
4716
|
"config-authenticated_groups_claim"
|
|
4718
|
-
]),
|
|
4717
|
+
]), Fc = {
|
|
4719
4718
|
name: "OIDCForm",
|
|
4720
4719
|
components: { VueFormGenerator: ee },
|
|
4721
4720
|
provide() {
|
|
@@ -4920,8 +4919,8 @@ const ee = /* @__PURE__ */ Y(Ac, [["render", kc]]), Ze = {
|
|
|
4920
4919
|
this.formModel["config-auth_methods"] = this.getAuthMethodsValue(t, e), this.onModelUpdated();
|
|
4921
4920
|
}
|
|
4922
4921
|
}
|
|
4923
|
-
},
|
|
4924
|
-
function
|
|
4922
|
+
}, kc = { class: "general-settings" }, Uc = { class: "link-wrapper" }, $c = { class: "auth-method-container" }, Vc = { class: "general-settings" }, jc = { class: "link-wrapper" }, Rc = { class: "general-settings" }, Pc = { class: "link-wrapper" };
|
|
4923
|
+
function Nc(e, t, n, a, i, r) {
|
|
4925
4924
|
const s = F("VueFormGenerator"), o = F("KExternalLink"), l = F("KLabel"), d = F("KCheckbox"), h = F("KInputSwitch"), m = F("KTabs");
|
|
4926
4925
|
return u(), g("div", null, [
|
|
4927
4926
|
n.formModel.id && n.isEditing || !n.isEditing ? (u(), A(s, {
|
|
@@ -4934,8 +4933,8 @@ function qc(e, t, n, a, i, r) {
|
|
|
4934
4933
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : R("", !0),
|
|
4935
4934
|
C(m, { tabs: i.tabs }, {
|
|
4936
4935
|
common: I(() => [
|
|
4937
|
-
f("div",
|
|
4938
|
-
f("div",
|
|
4936
|
+
f("div", kc, [
|
|
4937
|
+
f("div", Uc, [
|
|
4939
4938
|
C(o, { href: i.openIdConfigurationDocs }, {
|
|
4940
4939
|
default: I(() => t[2] || (t[2] = [
|
|
4941
4940
|
f("span", { class: "section-header" }, "Common Configuration Settings", -1)
|
|
@@ -4957,7 +4956,7 @@ function qc(e, t, n, a, i, r) {
|
|
|
4957
4956
|
])),
|
|
4958
4957
|
_: 1
|
|
4959
4958
|
}),
|
|
4960
|
-
f("div",
|
|
4959
|
+
f("div", $c, [
|
|
4961
4960
|
(u(!0), g(K, null, J(i.authMethods, (p) => (u(), g("div", {
|
|
4962
4961
|
key: p.value,
|
|
4963
4962
|
class: "auth-method"
|
|
@@ -4983,8 +4982,8 @@ function qc(e, t, n, a, i, r) {
|
|
|
4983
4982
|
])
|
|
4984
4983
|
]),
|
|
4985
4984
|
authorization: I(() => [
|
|
4986
|
-
f("div",
|
|
4987
|
-
f("div",
|
|
4985
|
+
f("div", Vc, [
|
|
4986
|
+
f("div", jc, [
|
|
4988
4987
|
C(o, { href: i.openIdAuthorizationDocs }, {
|
|
4989
4988
|
default: I(() => t[5] || (t[5] = [
|
|
4990
4989
|
f("span", { class: "section-header" }, "Authorization Configuration Settings", -1)
|
|
@@ -5008,8 +5007,8 @@ function qc(e, t, n, a, i, r) {
|
|
|
5008
5007
|
])
|
|
5009
5008
|
]),
|
|
5010
5009
|
advanced: I(() => [
|
|
5011
|
-
f("div",
|
|
5012
|
-
f("div",
|
|
5010
|
+
f("div", Rc, [
|
|
5011
|
+
f("div", Pc, [
|
|
5013
5012
|
C(o, { href: i.openIdConnectLink }, {
|
|
5014
5013
|
default: I(() => t[7] || (t[7] = [
|
|
5015
5014
|
f("span", { class: "section-header" }, "Advanced Configuration Settings", -1)
|
|
@@ -5035,7 +5034,7 @@ function qc(e, t, n, a, i, r) {
|
|
|
5035
5034
|
}, 8, ["tabs"])
|
|
5036
5035
|
]);
|
|
5037
5036
|
}
|
|
5038
|
-
const
|
|
5037
|
+
const Lc = /* @__PURE__ */ H(Fc, [["render", Nc], ["__scopeId", "data-v-741bf3cb"]]), qc = /* @__PURE__ */ re({
|
|
5039
5038
|
__name: "PostFunction",
|
|
5040
5039
|
props: {
|
|
5041
5040
|
formModel: {
|
|
@@ -5078,7 +5077,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-741bf3cb
|
|
|
5078
5077
|
onModelUpdated: e.onModelUpdated
|
|
5079
5078
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : R("", !0);
|
|
5080
5079
|
}
|
|
5081
|
-
}),
|
|
5080
|
+
}), Kc = /* @__PURE__ */ H(qc, [["__scopeId", "data-v-f54f37ae"]]), Dc = /* @__PURE__ */ re({
|
|
5082
5081
|
__name: "ExitTransformer",
|
|
5083
5082
|
props: {
|
|
5084
5083
|
formModel: {
|
|
@@ -5121,7 +5120,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-741bf3cb
|
|
|
5121
5120
|
onModelUpdated: e.onModelUpdated
|
|
5122
5121
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : R("", !0);
|
|
5123
5122
|
}
|
|
5124
|
-
}),
|
|
5123
|
+
}), Bc = /* @__PURE__ */ H(Dc, [["__scopeId", "data-v-0d5c541f"]]), zc = {
|
|
5125
5124
|
fields: [
|
|
5126
5125
|
{
|
|
5127
5126
|
inputType: "text",
|
|
@@ -5156,7 +5155,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-741bf3cb
|
|
|
5156
5155
|
disabled: !1
|
|
5157
5156
|
}
|
|
5158
5157
|
]
|
|
5159
|
-
},
|
|
5158
|
+
}, Hc = {
|
|
5160
5159
|
fields: [
|
|
5161
5160
|
{
|
|
5162
5161
|
type: "input",
|
|
@@ -5178,7 +5177,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-741bf3cb
|
|
|
5178
5177
|
disabled: !1
|
|
5179
5178
|
}
|
|
5180
5179
|
]
|
|
5181
|
-
},
|
|
5180
|
+
}, Yc = {
|
|
5182
5181
|
fields: [
|
|
5183
5182
|
{
|
|
5184
5183
|
type: "input",
|
|
@@ -5209,7 +5208,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-741bf3cb
|
|
|
5209
5208
|
disabled: !1
|
|
5210
5209
|
}
|
|
5211
5210
|
]
|
|
5212
|
-
},
|
|
5211
|
+
}, xc = { class: "general-settings" }, Gc = { class: "sub-form" }, Wc = { class: "general-settings" }, Zc = { class: "sub-form" }, Jc = { class: "general-settings" }, Qc = /* @__PURE__ */ re({
|
|
5213
5212
|
__name: "ACMEForm",
|
|
5214
5213
|
props: {
|
|
5215
5214
|
formModel: {
|
|
@@ -5246,7 +5245,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-741bf3cb
|
|
|
5246
5245
|
return _;
|
|
5247
5246
|
}), r = L(() => {
|
|
5248
5247
|
var v;
|
|
5249
|
-
const _ = we(
|
|
5248
|
+
const _ = we(zc);
|
|
5250
5249
|
for (const j of _.fields) {
|
|
5251
5250
|
const x = (v = i.value[j.model]) == null ? void 0 : v.help;
|
|
5252
5251
|
j.help === void 0 && typeof x == "string" && (j.help = x);
|
|
@@ -5254,7 +5253,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-741bf3cb
|
|
|
5254
5253
|
return _;
|
|
5255
5254
|
}), s = L(() => {
|
|
5256
5255
|
var v;
|
|
5257
|
-
const _ = we(
|
|
5256
|
+
const _ = we(Hc);
|
|
5258
5257
|
for (const j of _.fields) {
|
|
5259
5258
|
const x = (v = i.value[j.model]) == null ? void 0 : v.help;
|
|
5260
5259
|
j.help === void 0 && typeof x == "string" && (j.help = x);
|
|
@@ -5262,7 +5261,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-741bf3cb
|
|
|
5262
5261
|
return _;
|
|
5263
5262
|
}), o = L(() => {
|
|
5264
5263
|
var v;
|
|
5265
|
-
const _ = we(
|
|
5264
|
+
const _ = we(Yc);
|
|
5266
5265
|
for (const j of _.fields) {
|
|
5267
5266
|
const x = (v = i.value[j.model]) == null ? void 0 : v.help;
|
|
5268
5267
|
j.help === void 0 && typeof x == "string" && (j.help = x);
|
|
@@ -5335,7 +5334,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-741bf3cb
|
|
|
5335
5334
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : R("", !0),
|
|
5336
5335
|
C(x, { tabs: T }, {
|
|
5337
5336
|
general: I(() => [
|
|
5338
|
-
f("div",
|
|
5337
|
+
f("div", xc, [
|
|
5339
5338
|
v[0] || (v[0] = f("div", { class: "header-wrapper" }, [
|
|
5340
5339
|
f("span", { class: "section-header" }, "General Configuration Settings")
|
|
5341
5340
|
], -1)),
|
|
@@ -5354,7 +5353,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-741bf3cb
|
|
|
5354
5353
|
label: "Issuer",
|
|
5355
5354
|
onChange: b
|
|
5356
5355
|
}),
|
|
5357
|
-
f("div",
|
|
5356
|
+
f("div", Gc, [
|
|
5358
5357
|
n.value === "letsEncrypt" ? (u(), A(ee, {
|
|
5359
5358
|
key: 0,
|
|
5360
5359
|
model: e.formModel,
|
|
@@ -5373,7 +5372,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-741bf3cb
|
|
|
5373
5372
|
])
|
|
5374
5373
|
]),
|
|
5375
5374
|
storage: I(() => [
|
|
5376
|
-
f("div",
|
|
5375
|
+
f("div", Wc, [
|
|
5377
5376
|
v[3] || (v[3] = f("div", { class: "header-wrapper" }, [
|
|
5378
5377
|
f("span", { class: "section-header" }, "Storage Configuration Settings")
|
|
5379
5378
|
], -1)),
|
|
@@ -5385,7 +5384,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-741bf3cb
|
|
|
5385
5384
|
schema: h.value,
|
|
5386
5385
|
onModelUpdated: O
|
|
5387
5386
|
}, null, 8, ["model", "options", "schema"])) : R("", !0),
|
|
5388
|
-
f("div",
|
|
5387
|
+
f("div", Zc, [
|
|
5389
5388
|
a.value === "consul" ? (u(), A(ee, {
|
|
5390
5389
|
key: 0,
|
|
5391
5390
|
model: e.formModel,
|
|
@@ -5418,7 +5417,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-741bf3cb
|
|
|
5418
5417
|
])
|
|
5419
5418
|
]),
|
|
5420
5419
|
advanced: I(() => [
|
|
5421
|
-
f("div",
|
|
5420
|
+
f("div", Jc, [
|
|
5422
5421
|
v[5] || (v[5] = f("div", { class: "header-wrapper" }, [
|
|
5423
5422
|
f("span", { class: "section-header" }, "Advanced Configuration Settings")
|
|
5424
5423
|
], -1)),
|
|
@@ -5437,13 +5436,13 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-741bf3cb
|
|
|
5437
5436
|
]);
|
|
5438
5437
|
};
|
|
5439
5438
|
}
|
|
5440
|
-
}),
|
|
5439
|
+
}), Xc = /* @__PURE__ */ H(Qc, [["__scopeId", "data-v-07cecf5b"]]), em = { class: "rla-form-basic-fields" }, tm = { class: "rla-form-request-limits-subtitle" }, nm = { class: "rla-form-request-limits-content" }, im = { class: "rla-form-window-type" }, am = ["innerHTML"], rm = { class: "rla-form-window-type-radios" }, om = { class: "rla-form-request-limits-items" }, sm = { class: "rla-form-request-limits-row" }, lm = ["id"], dm = { class: "rla-form-request-limits-actions" }, um = {
|
|
5441
5440
|
key: 0,
|
|
5442
5441
|
class: "rla-form-request-limits-examples"
|
|
5443
|
-
},
|
|
5442
|
+
}, cm = { class: "rla-form-request-limits-examples-badges" }, mm = ["innerHTML"], fm = {
|
|
5444
5443
|
id: "rla-form-error-legend",
|
|
5445
5444
|
class: "rla-form-error-inputs"
|
|
5446
|
-
},
|
|
5445
|
+
}, hm = /* @__PURE__ */ re({
|
|
5447
5446
|
__name: "RLAForm",
|
|
5448
5447
|
props: {
|
|
5449
5448
|
formSchema: {},
|
|
@@ -5629,7 +5628,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5629
5628
|
}), (y, S) => {
|
|
5630
5629
|
const V = F("KLabel"), P = F("KRadio"), D = F("KInput"), se = F("KButton"), Ue = F("KBadge"), ae = F("KTooltip"), De = F("KCard"), Ii = F("KSelect"), Oi = F("KCollapse");
|
|
5631
5630
|
return u(), g(K, null, [
|
|
5632
|
-
f("div",
|
|
5631
|
+
f("div", em, [
|
|
5633
5632
|
C(ee, {
|
|
5634
5633
|
model: y.formModel,
|
|
5635
5634
|
options: y.formOptions,
|
|
@@ -5648,11 +5647,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5648
5647
|
]),
|
|
5649
5648
|
_: 1
|
|
5650
5649
|
}),
|
|
5651
|
-
f("div",
|
|
5650
|
+
f("div", tm, $(w(i)("rla.request_limits.subtitle")), 1)
|
|
5652
5651
|
]),
|
|
5653
5652
|
default: I(() => [
|
|
5654
|
-
f("div",
|
|
5655
|
-
f("div",
|
|
5653
|
+
f("div", nm, [
|
|
5654
|
+
f("div", im, [
|
|
5656
5655
|
C(V, {
|
|
5657
5656
|
class: "rla-form-window-type-label",
|
|
5658
5657
|
"tooltip-attributes": {
|
|
@@ -5663,14 +5662,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5663
5662
|
tooltip: I(() => [
|
|
5664
5663
|
f("div", {
|
|
5665
5664
|
innerHTML: w(i)("rla.window_type.help")
|
|
5666
|
-
}, null, 8,
|
|
5665
|
+
}, null, 8, am)
|
|
5667
5666
|
]),
|
|
5668
5667
|
default: I(() => [
|
|
5669
5668
|
te($(w(i)("rla.window_type.label")) + " ", 1)
|
|
5670
5669
|
]),
|
|
5671
5670
|
_: 1
|
|
5672
5671
|
}),
|
|
5673
|
-
f("div",
|
|
5672
|
+
f("div", rm, [
|
|
5674
5673
|
(u(!0), g(K, null, J(N.value, (q) => (u(), A(P, {
|
|
5675
5674
|
key: `window-type-${q}`,
|
|
5676
5675
|
"model-value": E.value,
|
|
@@ -5685,7 +5684,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5685
5684
|
}, 1032, ["model-value", "name", "selected-value"]))), 128))
|
|
5686
5685
|
])
|
|
5687
5686
|
]),
|
|
5688
|
-
f("div",
|
|
5687
|
+
f("div", om, [
|
|
5689
5688
|
(u(!0), g(K, null, J(c.value, (q, ne) => (u(), g("div", {
|
|
5690
5689
|
key: ne.toString()
|
|
5691
5690
|
}, [
|
|
@@ -5697,7 +5696,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5697
5696
|
]),
|
|
5698
5697
|
_: 2
|
|
5699
5698
|
}, 1032, ["for"]),
|
|
5700
|
-
f("div",
|
|
5699
|
+
f("div", sm, [
|
|
5701
5700
|
f("legend", {
|
|
5702
5701
|
id: `rla-form-request-limits-item-${ne}-legend`,
|
|
5703
5702
|
class: "rla-form-request-limits-inputs"
|
|
@@ -5716,8 +5715,8 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5716
5715
|
"onUpdate:modelValue": (Mt) => _(ne, Number.parseInt(Mt))
|
|
5717
5716
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
5718
5717
|
f("div", null, $(w(i)("rla.request_limits.seconds")), 1)
|
|
5719
|
-
], 8,
|
|
5720
|
-
f("div",
|
|
5718
|
+
], 8, lm),
|
|
5719
|
+
f("div", dm, [
|
|
5721
5720
|
C(se, {
|
|
5722
5721
|
appearance: "tertiary",
|
|
5723
5722
|
disabled: c.value.length <= 1,
|
|
@@ -5741,9 +5740,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5741
5740
|
])
|
|
5742
5741
|
]))), 128))
|
|
5743
5742
|
]),
|
|
5744
|
-
l.value.length > 0 ? (u(), g("div",
|
|
5743
|
+
l.value.length > 0 ? (u(), g("div", um, [
|
|
5745
5744
|
f("div", null, $(w(i)("rla.start_with_a_use_case")), 1),
|
|
5746
|
-
f("div",
|
|
5745
|
+
f("div", cm, [
|
|
5747
5746
|
(u(!0), g(K, null, J(l.value, (q, ne) => (u(), A(ae, {
|
|
5748
5747
|
key: `use-case-${ne}`,
|
|
5749
5748
|
"max-width": "300"
|
|
@@ -5792,7 +5791,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5792
5791
|
"label-tooltip": I(() => [
|
|
5793
5792
|
f("div", {
|
|
5794
5793
|
innerHTML: d.value && d.value.help
|
|
5795
|
-
}, null, 8,
|
|
5794
|
+
}, null, 8, mm)
|
|
5796
5795
|
]),
|
|
5797
5796
|
_: 1
|
|
5798
5797
|
}, 8, ["modelValue", "items", "label"]),
|
|
@@ -5811,7 +5810,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5811
5810
|
]),
|
|
5812
5811
|
_: 1
|
|
5813
5812
|
}, 8, ["info"]),
|
|
5814
|
-
f("legend",
|
|
5813
|
+
f("legend", fm, [
|
|
5815
5814
|
C(D, {
|
|
5816
5815
|
class: "input-error-code",
|
|
5817
5816
|
"model-value": T.value && T.value.toString(),
|
|
@@ -5872,20 +5871,20 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5872
5871
|
], 64);
|
|
5873
5872
|
};
|
|
5874
5873
|
}
|
|
5875
|
-
}),
|
|
5874
|
+
}), pm = /* @__PURE__ */ H(hm, [["__scopeId", "data-v-f6dcb65c"]]), Mm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5876
5875
|
__proto__: null,
|
|
5877
|
-
ACMEForm:
|
|
5878
|
-
ExitTransformer:
|
|
5879
|
-
OIDCForm:
|
|
5880
|
-
PostFunction:
|
|
5881
|
-
RLAForm:
|
|
5882
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5876
|
+
ACMEForm: Xc,
|
|
5877
|
+
ExitTransformer: Bc,
|
|
5878
|
+
OIDCForm: Lc,
|
|
5879
|
+
PostFunction: Kc,
|
|
5880
|
+
RLAForm: pm
|
|
5881
|
+
}, Symbol.toStringTag, { value: "Module" })), Sm = [
|
|
5883
5882
|
"array",
|
|
5884
5883
|
"metric",
|
|
5885
5884
|
"advanced",
|
|
5886
5885
|
"selectionGroup",
|
|
5887
5886
|
"object-advanced"
|
|
5888
|
-
],
|
|
5887
|
+
], Tm = (e) => ({
|
|
5889
5888
|
"openid-connect": "OIDCForm",
|
|
5890
5889
|
"post-function": "PostFunction",
|
|
5891
5890
|
// Pre and Post function plugins are using same component
|
|
@@ -5897,14 +5896,14 @@ export {
|
|
|
5897
5896
|
he as AUTOFILL_SLOT,
|
|
5898
5897
|
xe as AUTOFILL_SLOT_NAME,
|
|
5899
5898
|
$e as FORMS_API_KEY,
|
|
5900
|
-
|
|
5899
|
+
xr as FORMS_CONFIG,
|
|
5901
5900
|
mt as PartialType,
|
|
5902
|
-
|
|
5903
|
-
|
|
5901
|
+
Gr as REDIS_PARTIAL_FETCHER_KEY,
|
|
5902
|
+
_m as REDIS_PARTIAL_INFO,
|
|
5904
5903
|
ee as VueFormGenerator,
|
|
5905
|
-
|
|
5904
|
+
wm as abstractField,
|
|
5906
5905
|
ye as composables,
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
|
|
5906
|
+
Sm as customFields,
|
|
5907
|
+
Tm as getSharedFormName,
|
|
5908
|
+
Mm as sharedForms
|
|
5910
5909
|
};
|