@kong-ui-public/forms 4.13.6-pr.2214.d38dbc326.0 → 4.13.6-pr.2214.f40767e96.0
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 +143 -139
- package/dist/forms.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/components/fields/FieldArray.vue.d.ts +3 -3
- package/dist/types/components/fields/FieldAutoSuggest.vue.d.ts +2 -2
- package/dist/types/components/fields/FieldObjectAdvanced.vue.d.ts +1 -1
- package/dist/types/components/forms/OIDCForm.vue.d.ts +2 -0
- package/dist/types/external-links.d.ts +2 -0
- package/dist/types/external-links.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/forms.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { openBlock as u, createElementBlock as g, createElementVNode as f, toDisplayString as $, normalizeClass as W, createVNode as C, defineComponent as re, provide as
|
|
1
|
+
import { openBlock as u, createElementBlock as g, 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 He, 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
|
-
import { TrashIcon as
|
|
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";
|
|
5
5
|
function Vn(e, t) {
|
|
6
6
|
for (var n = -1, a = e == null ? 0 : e.length; ++n < a && t(e[n], n, e) !== !1; )
|
|
@@ -77,10 +77,10 @@ function jt(e) {
|
|
|
77
77
|
return e(t);
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
|
-
var Dn = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
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, Ye = function() {
|
|
81
81
|
try {
|
|
82
|
-
var e =
|
|
83
|
-
return e ||
|
|
82
|
+
var e = Qe && Qe.require && Qe.require("util").types;
|
|
83
|
+
return e || St && St.binding && St.binding("util");
|
|
84
84
|
} catch {
|
|
85
85
|
}
|
|
86
86
|
}(), xt = Ye && Ye.isTypedArray, ja = xt ? jt(xt) : $a, Ra = Object.prototype, Pa = Ra.hasOwnProperty;
|
|
@@ -124,20 +124,20 @@ function z(e) {
|
|
|
124
124
|
var t = Ee(e);
|
|
125
125
|
return t == za || t == Ya || t == Ba || t == Ha;
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function ht(e) {
|
|
128
128
|
return e != null && Kn(e.length) && !z(e);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
return
|
|
130
|
+
function pt(e) {
|
|
131
|
+
return ht(e) ? Bn(e) : Da(e);
|
|
132
132
|
}
|
|
133
133
|
function xa(e, t) {
|
|
134
|
-
return e && Di(e, t,
|
|
134
|
+
return e && Di(e, t, pt);
|
|
135
135
|
}
|
|
136
136
|
function Ga(e, t) {
|
|
137
137
|
return function(n, a) {
|
|
138
138
|
if (n == null)
|
|
139
139
|
return n;
|
|
140
|
-
if (!
|
|
140
|
+
if (!ht(n))
|
|
141
141
|
return e(n, a);
|
|
142
142
|
for (var i = n.length, r = -1, s = Object(n); ++r < i && a(s[r], r, s) !== !1; )
|
|
143
143
|
;
|
|
@@ -156,7 +156,7 @@ function le(e, t) {
|
|
|
156
156
|
return n(e, Za(t));
|
|
157
157
|
}
|
|
158
158
|
var Ja = "[object Symbol]";
|
|
159
|
-
function
|
|
159
|
+
function gt(e) {
|
|
160
160
|
return typeof e == "symbol" || Fe(e) && Ee(e) == Ja;
|
|
161
161
|
}
|
|
162
162
|
var Qa = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Xa = /^\w*$/;
|
|
@@ -164,10 +164,10 @@ function er(e, t) {
|
|
|
164
164
|
if (ke(e))
|
|
165
165
|
return !1;
|
|
166
166
|
var n = typeof e;
|
|
167
|
-
return n == "number" || n == "symbol" || n == "boolean" || e == null ||
|
|
167
|
+
return n == "number" || n == "symbol" || n == "boolean" || e == null || gt(e) ? !0 : Xa.test(e) || !Qa.test(e) || t != null && e in Object(t);
|
|
168
168
|
}
|
|
169
|
-
var
|
|
170
|
-
var e = /[^.]+$/.exec(
|
|
169
|
+
var Tt = pe["__core-js_shared__"], Gt = function() {
|
|
170
|
+
var e = /[^.]+$/.exec(Tt && Tt.keys && Tt.keys.IE_PROTO || "");
|
|
171
171
|
return e ? "Symbol(src)_1." + e : "";
|
|
172
172
|
}();
|
|
173
173
|
function tr(e) {
|
|
@@ -203,9 +203,9 @@ function Ke(e, t) {
|
|
|
203
203
|
var n = mr(e, t);
|
|
204
204
|
return cr(n) ? n : void 0;
|
|
205
205
|
}
|
|
206
|
-
var
|
|
206
|
+
var tt = Ke(Object, "create");
|
|
207
207
|
function fr() {
|
|
208
|
-
this.__data__ =
|
|
208
|
+
this.__data__ = tt ? tt(null) : {}, this.size = 0;
|
|
209
209
|
}
|
|
210
210
|
function hr(e) {
|
|
211
211
|
var t = this.has(e) && delete this.__data__[e];
|
|
@@ -214,7 +214,7 @@ function hr(e) {
|
|
|
214
214
|
var pr = "__lodash_hash_undefined__", gr = Object.prototype, vr = gr.hasOwnProperty;
|
|
215
215
|
function br(e) {
|
|
216
216
|
var t = this.__data__;
|
|
217
|
-
if (
|
|
217
|
+
if (tt) {
|
|
218
218
|
var n = t[e];
|
|
219
219
|
return n === pr ? void 0 : n;
|
|
220
220
|
}
|
|
@@ -223,12 +223,12 @@ function br(e) {
|
|
|
223
223
|
var yr = Object.prototype, _r = yr.hasOwnProperty;
|
|
224
224
|
function wr(e) {
|
|
225
225
|
var t = this.__data__;
|
|
226
|
-
return
|
|
226
|
+
return tt ? t[e] !== void 0 : _r.call(t, e);
|
|
227
227
|
}
|
|
228
228
|
var Mr = "__lodash_hash_undefined__";
|
|
229
229
|
function Sr(e, t) {
|
|
230
230
|
var n = this.__data__;
|
|
231
|
-
return this.size += this.has(e) ? 0 : 1, n[e] =
|
|
231
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = tt && t === void 0 ? Mr : t, this;
|
|
232
232
|
}
|
|
233
233
|
function je(e) {
|
|
234
234
|
var t = -1, n = e == null ? 0 : e.length;
|
|
@@ -245,32 +245,32 @@ je.prototype.set = Sr;
|
|
|
245
245
|
function Tr() {
|
|
246
246
|
this.__data__ = [], this.size = 0;
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function vt(e, t) {
|
|
249
249
|
return e === t || e !== e && t !== t;
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function bt(e, t) {
|
|
252
252
|
for (var n = e.length; n--; )
|
|
253
|
-
if (
|
|
253
|
+
if (vt(e[n][0], t))
|
|
254
254
|
return n;
|
|
255
255
|
return -1;
|
|
256
256
|
}
|
|
257
257
|
var Cr = Array.prototype, Ir = Cr.splice;
|
|
258
258
|
function Or(e) {
|
|
259
|
-
var t = this.__data__, n =
|
|
259
|
+
var t = this.__data__, n = bt(t, e);
|
|
260
260
|
if (n < 0)
|
|
261
261
|
return !1;
|
|
262
262
|
var a = t.length - 1;
|
|
263
263
|
return n == a ? t.pop() : Ir.call(t, n, 1), --this.size, !0;
|
|
264
264
|
}
|
|
265
265
|
function Ar(e) {
|
|
266
|
-
var t = this.__data__, n =
|
|
266
|
+
var t = this.__data__, n = bt(t, e);
|
|
267
267
|
return n < 0 ? void 0 : t[n][1];
|
|
268
268
|
}
|
|
269
269
|
function Er(e) {
|
|
270
|
-
return
|
|
270
|
+
return bt(this.__data__, e) > -1;
|
|
271
271
|
}
|
|
272
272
|
function Fr(e, t) {
|
|
273
|
-
var n = this.__data__, a =
|
|
273
|
+
var n = this.__data__, a = bt(n, e);
|
|
274
274
|
return a < 0 ? (++this.size, n.push([e, t])) : n[a][1] = t, this;
|
|
275
275
|
}
|
|
276
276
|
function Me(e) {
|
|
@@ -285,11 +285,11 @@ Me.prototype.delete = Or;
|
|
|
285
285
|
Me.prototype.get = Ar;
|
|
286
286
|
Me.prototype.has = Er;
|
|
287
287
|
Me.prototype.set = Fr;
|
|
288
|
-
var
|
|
288
|
+
var nt = Ke(pe, "Map");
|
|
289
289
|
function kr() {
|
|
290
290
|
this.size = 0, this.__data__ = {
|
|
291
291
|
hash: new je(),
|
|
292
|
-
map: new (
|
|
292
|
+
map: new (nt || Me)(),
|
|
293
293
|
string: new je()
|
|
294
294
|
};
|
|
295
295
|
}
|
|
@@ -297,22 +297,22 @@ function Ur(e) {
|
|
|
297
297
|
var t = typeof e;
|
|
298
298
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function yt(e, t) {
|
|
301
301
|
var n = e.__data__;
|
|
302
302
|
return Ur(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
303
303
|
}
|
|
304
304
|
function $r(e) {
|
|
305
|
-
var t =
|
|
305
|
+
var t = yt(this, e).delete(e);
|
|
306
306
|
return this.size -= t ? 1 : 0, t;
|
|
307
307
|
}
|
|
308
308
|
function Vr(e) {
|
|
309
|
-
return
|
|
309
|
+
return yt(this, e).get(e);
|
|
310
310
|
}
|
|
311
311
|
function jr(e) {
|
|
312
|
-
return
|
|
312
|
+
return yt(this, e).has(e);
|
|
313
313
|
}
|
|
314
314
|
function Rr(e, t) {
|
|
315
|
-
var n =
|
|
315
|
+
var n = yt(this, e), a = n.size;
|
|
316
316
|
return n.set(e, t), this.size += n.size == a ? 0 : 1, this;
|
|
317
317
|
}
|
|
318
318
|
function Se(e) {
|
|
@@ -365,7 +365,7 @@ function Yn(e) {
|
|
|
365
365
|
return e;
|
|
366
366
|
if (ke(e))
|
|
367
367
|
return Br(e, Yn) + "";
|
|
368
|
-
if (
|
|
368
|
+
if (gt(e))
|
|
369
369
|
return Zt ? Zt.call(e) : "";
|
|
370
370
|
var t = e + "";
|
|
371
371
|
return t == "0" && 1 / e == -zr ? "-0" : t;
|
|
@@ -378,7 +378,7 @@ function Yr(e, t) {
|
|
|
378
378
|
}
|
|
379
379
|
var Hr = 1 / 0;
|
|
380
380
|
function xr(e) {
|
|
381
|
-
if (typeof e == "string" ||
|
|
381
|
+
if (typeof e == "string" || gt(e))
|
|
382
382
|
return e;
|
|
383
383
|
var t = e + "";
|
|
384
384
|
return t == "0" && 1 / e == -Hr ? "-0" : t;
|
|
@@ -415,7 +415,7 @@ function no(e, t) {
|
|
|
415
415
|
var n = this.__data__;
|
|
416
416
|
if (n instanceof Me) {
|
|
417
417
|
var a = n.__data__;
|
|
418
|
-
if (!
|
|
418
|
+
if (!nt || a.length < to - 1)
|
|
419
419
|
return a.push([e, t]), this.size = ++n.size, this;
|
|
420
420
|
n = this.__data__ = new Se(a);
|
|
421
421
|
}
|
|
@@ -430,7 +430,7 @@ Ge.prototype.delete = Qr;
|
|
|
430
430
|
Ge.prototype.get = Xr;
|
|
431
431
|
Ge.prototype.has = eo;
|
|
432
432
|
Ge.prototype.set = no;
|
|
433
|
-
var
|
|
433
|
+
var st = function() {
|
|
434
434
|
try {
|
|
435
435
|
var e = Ke(Object, "defineProperty");
|
|
436
436
|
return e({}, "", {}), e;
|
|
@@ -438,7 +438,7 @@ var ot = function() {
|
|
|
438
438
|
}
|
|
439
439
|
}();
|
|
440
440
|
function xn(e, t, n) {
|
|
441
|
-
t == "__proto__" &&
|
|
441
|
+
t == "__proto__" && st ? st(e, t, {
|
|
442
442
|
configurable: !0,
|
|
443
443
|
enumerable: !0,
|
|
444
444
|
value: n,
|
|
@@ -448,9 +448,9 @@ function xn(e, t, n) {
|
|
|
448
448
|
var io = Object.prototype, ao = io.hasOwnProperty;
|
|
449
449
|
function Gn(e, t, n) {
|
|
450
450
|
var a = e[t];
|
|
451
|
-
(!(ao.call(e, t) &&
|
|
451
|
+
(!(ao.call(e, t) && vt(a, n)) || n === void 0 && !(t in e)) && xn(e, t, n);
|
|
452
452
|
}
|
|
453
|
-
function
|
|
453
|
+
function _t(e, t, n, a) {
|
|
454
454
|
var i = !n;
|
|
455
455
|
n || (n = {});
|
|
456
456
|
for (var r = -1, s = t.length; ++r < s; ) {
|
|
@@ -460,7 +460,7 @@ function yt(e, t, n, a) {
|
|
|
460
460
|
return n;
|
|
461
461
|
}
|
|
462
462
|
function ro(e, t) {
|
|
463
|
-
return e &&
|
|
463
|
+
return e && _t(t, pt(t), e);
|
|
464
464
|
}
|
|
465
465
|
function oo(e) {
|
|
466
466
|
var t = [];
|
|
@@ -478,11 +478,11 @@ function uo(e) {
|
|
|
478
478
|
a == "constructor" && (t || !lo.call(e, a)) || n.push(a);
|
|
479
479
|
return n;
|
|
480
480
|
}
|
|
481
|
-
function
|
|
482
|
-
return
|
|
481
|
+
function wt(e) {
|
|
482
|
+
return ht(e) ? Bn(e, !0) : uo(e);
|
|
483
483
|
}
|
|
484
484
|
function co(e, t) {
|
|
485
|
-
return e &&
|
|
485
|
+
return e && _t(t, wt(t), e);
|
|
486
486
|
}
|
|
487
487
|
var Wn = typeof exports == "object" && exports && !exports.nodeType && exports, Jt = Wn && typeof module == "object" && module && !module.nodeType && module, mo = Jt && Jt.exports === Wn, Qt = mo ? pe.Buffer : void 0, Xt = Qt ? Qt.allocUnsafe : void 0;
|
|
488
488
|
function fo(e, t) {
|
|
@@ -513,7 +513,7 @@ var go = Object.prototype, vo = go.propertyIsEnumerable, en = Object.getOwnPrope
|
|
|
513
513
|
}));
|
|
514
514
|
} : Zn;
|
|
515
515
|
function bo(e, t) {
|
|
516
|
-
return
|
|
516
|
+
return _t(e, Lt(e), t);
|
|
517
517
|
}
|
|
518
518
|
function Jn(e, t) {
|
|
519
519
|
for (var n = -1, a = t.length, i = e.length; ++n < a; )
|
|
@@ -526,20 +526,20 @@ var Qn = zn(Object.getPrototypeOf, Object), yo = Object.getOwnPropertySymbols, X
|
|
|
526
526
|
return t;
|
|
527
527
|
} : Zn;
|
|
528
528
|
function _o(e, t) {
|
|
529
|
-
return
|
|
529
|
+
return _t(e, Xn(e), t);
|
|
530
530
|
}
|
|
531
531
|
function ei(e, t, n) {
|
|
532
532
|
var a = t(e);
|
|
533
533
|
return ke(e) ? a : Jn(a, n(e));
|
|
534
534
|
}
|
|
535
535
|
function wo(e) {
|
|
536
|
-
return ei(e,
|
|
536
|
+
return ei(e, pt, Lt);
|
|
537
537
|
}
|
|
538
538
|
function Mo(e) {
|
|
539
|
-
return ei(e,
|
|
539
|
+
return ei(e, wt, Xn);
|
|
540
540
|
}
|
|
541
|
-
var At = Ke(pe, "DataView"), Et = Ke(pe, "Promise"), ze = Ke(pe, "Set"), Ft = Ke(pe, "WeakMap"), tn = "[object Map]", So = "[object Object]", nn = "[object Promise]", an = "[object Set]", rn = "[object WeakMap]", on = "[object DataView]", To = qe(At), Co = qe(
|
|
542
|
-
(At && _e(new At(new ArrayBuffer(1))) != on ||
|
|
541
|
+
var At = Ke(pe, "DataView"), Et = Ke(pe, "Promise"), ze = Ke(pe, "Set"), Ft = Ke(pe, "WeakMap"), tn = "[object Map]", So = "[object Object]", nn = "[object Promise]", an = "[object Set]", rn = "[object WeakMap]", on = "[object DataView]", To = qe(At), Co = qe(nt), Io = qe(Et), Oo = qe(ze), Ao = qe(Ft), _e = Ee;
|
|
542
|
+
(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
543
|
var t = Ee(e), n = t == So ? e.constructor : void 0, a = n ? qe(n) : "";
|
|
544
544
|
if (a)
|
|
545
545
|
switch (a) {
|
|
@@ -644,7 +644,7 @@ function ds(e) {
|
|
|
644
644
|
var mn = Ye && Ye.isSet, us = mn ? jt(mn) : ds, cs = 1, ms = 2, fs = 4, ti = "[object Arguments]", hs = "[object Array]", ps = "[object Boolean]", gs = "[object Date]", vs = "[object Error]", ni = "[object Function]", bs = "[object GeneratorFunction]", ys = "[object Map]", _s = "[object Number]", ii = "[object Object]", ws = "[object RegExp]", Ms = "[object Set]", Ss = "[object String]", Ts = "[object Symbol]", Cs = "[object WeakMap]", Is = "[object ArrayBuffer]", Os = "[object DataView]", As = "[object Float32Array]", Es = "[object Float64Array]", Fs = "[object Int8Array]", ks = "[object Int16Array]", Us = "[object Int32Array]", $s = "[object Uint8Array]", Vs = "[object Uint8ClampedArray]", js = "[object Uint16Array]", Rs = "[object Uint32Array]", H = {};
|
|
645
645
|
H[ti] = H[hs] = H[Is] = H[Os] = H[ps] = H[gs] = H[As] = H[Es] = H[Fs] = H[ks] = H[Us] = H[ys] = H[_s] = H[ii] = H[ws] = H[Ms] = H[Ss] = H[Ts] = H[$s] = H[Vs] = H[js] = H[Rs] = !0;
|
|
646
646
|
H[vs] = H[ni] = H[Cs] = !1;
|
|
647
|
-
function
|
|
647
|
+
function Xe(e, t, n, a, i, r) {
|
|
648
648
|
var s, o = t & cs, l = t & ms, d = t & fs;
|
|
649
649
|
if (s !== void 0)
|
|
650
650
|
return s;
|
|
@@ -672,18 +672,18 @@ function Qe(e, t, n, a, i, r) {
|
|
|
672
672
|
if (E)
|
|
673
673
|
return E;
|
|
674
674
|
r.set(e, s), us(e) ? e.forEach(function(M) {
|
|
675
|
-
s.add(
|
|
675
|
+
s.add(Xe(M, t, n, M, e, r));
|
|
676
676
|
}) : ss(e) && e.forEach(function(M, T) {
|
|
677
|
-
s.set(T,
|
|
677
|
+
s.set(T, Xe(M, t, n, T, e, r));
|
|
678
678
|
});
|
|
679
|
-
var N = d ? l ? Mo : wo : l ?
|
|
679
|
+
var N = d ? l ? Mo : wo : l ? wt : pt, c = h ? void 0 : N(e);
|
|
680
680
|
return Vn(c || e, function(M, T) {
|
|
681
|
-
c && (T = M, M = e[T]), Gn(s, T,
|
|
681
|
+
c && (T = M, M = e[T]), Gn(s, T, Xe(M, t, n, T, e, r));
|
|
682
682
|
}), s;
|
|
683
683
|
}
|
|
684
684
|
var Ps = 1, Ns = 4;
|
|
685
685
|
function we(e) {
|
|
686
|
-
return
|
|
686
|
+
return Xe(e, Ps | Ns);
|
|
687
687
|
}
|
|
688
688
|
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
689
|
var Ls = "[object String]";
|
|
@@ -725,7 +725,7 @@ const ai = {
|
|
|
725
725
|
}
|
|
726
726
|
}
|
|
727
727
|
};
|
|
728
|
-
var
|
|
728
|
+
var Ct = function() {
|
|
729
729
|
return pe.Date.now();
|
|
730
730
|
}, qs = /\s/;
|
|
731
731
|
function Ks(e) {
|
|
@@ -741,7 +741,7 @@ var hn = NaN, zs = /^[-+]0x[0-9a-f]+$/i, Ys = /^0b[01]+$/i, Hs = /^0o[0-7]+$/i,
|
|
|
741
741
|
function kt(e) {
|
|
742
742
|
if (typeof e == "number")
|
|
743
743
|
return e;
|
|
744
|
-
if (
|
|
744
|
+
if (gt(e))
|
|
745
745
|
return hn;
|
|
746
746
|
if (me(e)) {
|
|
747
747
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -754,7 +754,7 @@ function kt(e) {
|
|
|
754
754
|
return n || Hs.test(e) ? xs(e.slice(2), n ? 2 : 8) : zs.test(e) ? hn : +e;
|
|
755
755
|
}
|
|
756
756
|
var Gs = "Expected a function", Ws = Math.max, Zs = Math.min;
|
|
757
|
-
function
|
|
757
|
+
function it(e, t, n) {
|
|
758
758
|
var a, i, r, s, o, l, d = 0, h = !1, m = !1, p = !0;
|
|
759
759
|
if (typeof e != "function")
|
|
760
760
|
throw new TypeError(Gs);
|
|
@@ -775,7 +775,7 @@ function nt(e, t, n) {
|
|
|
775
775
|
return l === void 0 || v >= t || v < 0 || m && j >= r;
|
|
776
776
|
}
|
|
777
777
|
function T() {
|
|
778
|
-
var _ =
|
|
778
|
+
var _ = Ct();
|
|
779
779
|
if (M(_))
|
|
780
780
|
return U(_);
|
|
781
781
|
o = setTimeout(T, c(_));
|
|
@@ -787,10 +787,10 @@ function nt(e, t, n) {
|
|
|
787
787
|
o !== void 0 && clearTimeout(o), d = 0, a = l = i = o = void 0;
|
|
788
788
|
}
|
|
789
789
|
function O() {
|
|
790
|
-
return o === void 0 ? s : U(
|
|
790
|
+
return o === void 0 ? s : U(Ct());
|
|
791
791
|
}
|
|
792
792
|
function k() {
|
|
793
|
-
var _ =
|
|
793
|
+
var _ = Ct(), v = M(_);
|
|
794
794
|
if (a = arguments, i = this, l = _, v) {
|
|
795
795
|
if (o === void 0)
|
|
796
796
|
return N(l);
|
|
@@ -808,13 +808,13 @@ function Qs(e) {
|
|
|
808
808
|
function Xs(e) {
|
|
809
809
|
return this.__data__.has(e);
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function lt(e) {
|
|
812
812
|
var t = -1, n = e == null ? 0 : e.length;
|
|
813
813
|
for (this.__data__ = new Se(); ++t < n; )
|
|
814
814
|
this.add(e[t]);
|
|
815
815
|
}
|
|
816
|
-
|
|
817
|
-
|
|
816
|
+
lt.prototype.add = lt.prototype.push = Qs;
|
|
817
|
+
lt.prototype.has = Xs;
|
|
818
818
|
function el(e, t, n, a) {
|
|
819
819
|
for (var i = e.length, r = n + -1; ++r < i; )
|
|
820
820
|
if (t(e[r], r, e))
|
|
@@ -857,7 +857,7 @@ function ul(e, t, n) {
|
|
|
857
857
|
var d = ll(e);
|
|
858
858
|
if (d)
|
|
859
859
|
return ri(d);
|
|
860
|
-
s = !1, i = rl, l = new
|
|
860
|
+
s = !1, i = rl, l = new lt();
|
|
861
861
|
} else
|
|
862
862
|
l = o;
|
|
863
863
|
e:
|
|
@@ -880,7 +880,7 @@ function si(e) {
|
|
|
880
880
|
var t = ++cl;
|
|
881
881
|
return Hn(e) + t;
|
|
882
882
|
}
|
|
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", ml = "\\d{3}", fl = "\\d{4}",
|
|
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", ml = "\\d{3}", fl = "\\d{4}", et = "[^\\s]+", di = /\[([^]*?)\]/gm;
|
|
884
884
|
function ui(e, t) {
|
|
885
885
|
for (var n = [], a = 0, i = e.length; a < i; a++)
|
|
886
886
|
n.push(e[a].substr(0, t));
|
|
@@ -934,8 +934,8 @@ var ci = [
|
|
|
934
934
|
DoFn: function(e) {
|
|
935
935
|
return e + ["th", "st", "nd", "rd"][e % 10 > 3 ? 0 : (e - e % 10 !== 10 ? 1 : 0) * e % 10];
|
|
936
936
|
}
|
|
937
|
-
},
|
|
938
|
-
return
|
|
937
|
+
}, dt = Pe({}, fi), gl = function(e) {
|
|
938
|
+
return dt = Pe(dt, e);
|
|
939
939
|
}, gn = function(e) {
|
|
940
940
|
return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
|
|
941
941
|
}, ce = function(e, t) {
|
|
@@ -1031,9 +1031,9 @@ var ci = [
|
|
|
1031
1031
|
}
|
|
1032
1032
|
}, vn = function(e) {
|
|
1033
1033
|
return +e - 1;
|
|
1034
|
-
}, bn = [null, Ce], yn = [null,
|
|
1034
|
+
}, bn = [null, Ce], yn = [null, et], _n = [
|
|
1035
1035
|
"isPm",
|
|
1036
|
-
|
|
1036
|
+
et,
|
|
1037
1037
|
function(e, t) {
|
|
1038
1038
|
var n = e.toLowerCase();
|
|
1039
1039
|
return n === t.amPm[0] ? 0 : n === t.amPm[1] ? 1 : null;
|
|
@@ -1052,7 +1052,7 @@ var ci = [
|
|
|
1052
1052
|
], bl = {
|
|
1053
1053
|
D: ["day", Ce],
|
|
1054
1054
|
DD: ["day", Te],
|
|
1055
|
-
Do: ["day", Ce +
|
|
1055
|
+
Do: ["day", Ce + et, function(e) {
|
|
1056
1056
|
return parseInt(e, 10);
|
|
1057
1057
|
}],
|
|
1058
1058
|
M: ["month", Ce, vn],
|
|
@@ -1085,13 +1085,13 @@ var ci = [
|
|
|
1085
1085
|
dd: bn,
|
|
1086
1086
|
ddd: yn,
|
|
1087
1087
|
dddd: yn,
|
|
1088
|
-
MMM: ["month",
|
|
1089
|
-
MMMM: ["month",
|
|
1088
|
+
MMM: ["month", et, pn("monthNamesShort")],
|
|
1089
|
+
MMMM: ["month", et, pn("monthNames")],
|
|
1090
1090
|
a: _n,
|
|
1091
1091
|
A: _n,
|
|
1092
1092
|
ZZ: wn,
|
|
1093
1093
|
Z: wn
|
|
1094
|
-
},
|
|
1094
|
+
}, ut = {
|
|
1095
1095
|
default: "ddd MMM DD YYYY HH:mm:ss",
|
|
1096
1096
|
shortDate: "M/D/YY",
|
|
1097
1097
|
mediumDate: "MMM D, YYYY",
|
|
@@ -1103,16 +1103,16 @@ var ci = [
|
|
|
1103
1103
|
mediumTime: "HH:mm:ss",
|
|
1104
1104
|
longTime: "HH:mm:ss.SSS"
|
|
1105
1105
|
}, yl = function(e) {
|
|
1106
|
-
return Pe(
|
|
1106
|
+
return Pe(ut, e);
|
|
1107
1107
|
}, _l = function(e, t, n) {
|
|
1108
|
-
if (t === void 0 && (t =
|
|
1108
|
+
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
1109
|
throw new Error("Invalid Date pass to format");
|
|
1110
|
-
t =
|
|
1110
|
+
t = ut[t] || t;
|
|
1111
1111
|
var a = [];
|
|
1112
1112
|
t = t.replace(di, function(r, s) {
|
|
1113
1113
|
return a.push(s), "@@@";
|
|
1114
1114
|
});
|
|
1115
|
-
var i = Pe(Pe({},
|
|
1115
|
+
var i = Pe(Pe({}, dt), n);
|
|
1116
1116
|
return t = t.replace(li, function(r) {
|
|
1117
1117
|
return vl[r](e, i);
|
|
1118
1118
|
}), t.replace(/@@@/g, function() {
|
|
@@ -1122,7 +1122,7 @@ var ci = [
|
|
|
1122
1122
|
function wl(e, t, n) {
|
|
1123
1123
|
if (n === void 0 && (n = {}), typeof t != "string")
|
|
1124
1124
|
throw new Error("Invalid format in fecha parse");
|
|
1125
|
-
if (t =
|
|
1125
|
+
if (t = ut[t] || t, e.length > 1e3)
|
|
1126
1126
|
return null;
|
|
1127
1127
|
var a = /* @__PURE__ */ new Date(), i = {
|
|
1128
1128
|
year: a.getFullYear(),
|
|
@@ -1151,7 +1151,7 @@ function wl(e, t, n) {
|
|
|
1151
1151
|
var h = e.match(new RegExp(o, "i"));
|
|
1152
1152
|
if (!h)
|
|
1153
1153
|
return null;
|
|
1154
|
-
for (var m = Pe(Pe({},
|
|
1154
|
+
for (var m = Pe(Pe({}, dt), n), p = 1; p < h.length; p++) {
|
|
1155
1155
|
var E = r[p - 1], N = E[0], c = E[2], M = c ? c(h[p], m) : +h[p];
|
|
1156
1156
|
if (M == null)
|
|
1157
1157
|
return null;
|
|
@@ -1210,8 +1210,8 @@ function Tl(e) {
|
|
|
1210
1210
|
return e;
|
|
1211
1211
|
};
|
|
1212
1212
|
}
|
|
1213
|
-
var Cl =
|
|
1214
|
-
return
|
|
1213
|
+
var Cl = st ? function(e, t) {
|
|
1214
|
+
return st(e, "toString", {
|
|
1215
1215
|
configurable: !0,
|
|
1216
1216
|
enumerable: !1,
|
|
1217
1217
|
value: Tl(t),
|
|
@@ -1238,15 +1238,15 @@ function Ul(e, t, n) {
|
|
|
1238
1238
|
if (!me(n))
|
|
1239
1239
|
return !1;
|
|
1240
1240
|
var a = typeof t;
|
|
1241
|
-
return (a == "number" ?
|
|
1241
|
+
return (a == "number" ? ht(n) && qn(t, n.length) : a == "string" && t in n) ? vt(n[t], e) : !1;
|
|
1242
1242
|
}
|
|
1243
1243
|
var hi = Object.prototype, $l = hi.hasOwnProperty, Vl = kl(function(e, t) {
|
|
1244
1244
|
e = Object(e);
|
|
1245
1245
|
var n = -1, a = t.length, i = a > 2 ? t[2] : void 0;
|
|
1246
1246
|
for (i && Ul(t[0], t[1], i) && (a = 1); ++n < a; )
|
|
1247
|
-
for (var r = t[n], s =
|
|
1247
|
+
for (var r = t[n], s = wt(r), o = -1, l = s.length; ++o < l; ) {
|
|
1248
1248
|
var d = s[o], h = e[d];
|
|
1249
|
-
(h === void 0 ||
|
|
1249
|
+
(h === void 0 || vt(h, hi[d]) && !$l.call(e, d)) && (e[d] = r[d]);
|
|
1250
1250
|
}
|
|
1251
1251
|
return e;
|
|
1252
1252
|
}), jl = pe.isFinite;
|
|
@@ -1271,7 +1271,7 @@ function ql(e) {
|
|
|
1271
1271
|
return typeof e == "number" && e == Ll(e);
|
|
1272
1272
|
}
|
|
1273
1273
|
var Kl = "[object Number]";
|
|
1274
|
-
function
|
|
1274
|
+
function ct(e) {
|
|
1275
1275
|
return typeof e == "number" || Fe(e) && Ee(e) == Kl;
|
|
1276
1276
|
}
|
|
1277
1277
|
const Dl = {
|
|
@@ -1489,7 +1489,7 @@ const Dl = {
|
|
|
1489
1489
|
},
|
|
1490
1490
|
double: (e, t, n, a = oe) => {
|
|
1491
1491
|
const i = fe(e, t.required, a);
|
|
1492
|
-
return i ?? (!
|
|
1492
|
+
return i ?? (!ct(e) || isNaN(e) ? [Z(a.invalidNumber)] : []);
|
|
1493
1493
|
},
|
|
1494
1494
|
string: (e, t, n, a = oe) => {
|
|
1495
1495
|
let i = fe(e, t.required, a);
|
|
@@ -1566,7 +1566,7 @@ Object.keys(Ne).forEach((e) => {
|
|
|
1566
1566
|
function Tn(e) {
|
|
1567
1567
|
return Re(e) ? Ne[e] != null ? Ne[e] : (console.warn(`'${e}' is not a validator function!`), null) : e;
|
|
1568
1568
|
}
|
|
1569
|
-
function
|
|
1569
|
+
function It(e, t, n) {
|
|
1570
1570
|
let a = B(n.context, "schema.attributes", {});
|
|
1571
1571
|
const i = t.value || "input";
|
|
1572
1572
|
Re(i) && (a = B(a, i) || a), le(a, (r, s) => {
|
|
@@ -1586,9 +1586,9 @@ const be = {
|
|
|
1586
1586
|
},
|
|
1587
1587
|
directives: {
|
|
1588
1588
|
attributes: {
|
|
1589
|
-
beforeMount:
|
|
1590
|
-
updated:
|
|
1591
|
-
componentUpdated:
|
|
1589
|
+
beforeMount: It,
|
|
1590
|
+
updated: It,
|
|
1591
|
+
componentUpdated: It
|
|
1592
1592
|
}
|
|
1593
1593
|
},
|
|
1594
1594
|
computed: {
|
|
@@ -1637,7 +1637,7 @@ const be = {
|
|
|
1637
1637
|
return t ? Promise.all(n).then(a) : a(n);
|
|
1638
1638
|
},
|
|
1639
1639
|
debouncedValidate() {
|
|
1640
|
-
z(this.debouncedValidateFunc) || (this.debouncedValidateFunc =
|
|
1640
|
+
z(this.debouncedValidateFunc) || (this.debouncedValidateFunc = it(
|
|
1641
1641
|
this.validate.bind(this),
|
|
1642
1642
|
B(this.schema, "validateDebounceTime", B(this.formOptions, "validateDebounceTime", 500))
|
|
1643
1643
|
)), this.debouncedValidateFunc();
|
|
@@ -1765,7 +1765,7 @@ const be = {
|
|
|
1765
1765
|
},
|
|
1766
1766
|
emits: ["remove-item"],
|
|
1767
1767
|
setup(e) {
|
|
1768
|
-
return
|
|
1768
|
+
return at("vfg-array-item-index", e.index), (n, a) => {
|
|
1769
1769
|
const i = F("KCard"), r = F("KButton");
|
|
1770
1770
|
return u(), g("div", Ql, [
|
|
1771
1771
|
C(i, { class: "card" }, {
|
|
@@ -1780,7 +1780,7 @@ const be = {
|
|
|
1780
1780
|
onClick: a[0] || (a[0] = (s) => n.$emit("remove-item"))
|
|
1781
1781
|
}, {
|
|
1782
1782
|
default: I(() => [
|
|
1783
|
-
C(w(
|
|
1783
|
+
C(w(rt))
|
|
1784
1784
|
]),
|
|
1785
1785
|
_: 1
|
|
1786
1786
|
})
|
|
@@ -1808,7 +1808,7 @@ const be = {
|
|
|
1808
1808
|
onClick: n[0] || (n[0] = (i) => t.$emit("remove-item"))
|
|
1809
1809
|
}, {
|
|
1810
1810
|
default: I(() => [
|
|
1811
|
-
C(w(
|
|
1811
|
+
C(w(rt))
|
|
1812
1812
|
]),
|
|
1813
1813
|
_: 1
|
|
1814
1814
|
})
|
|
@@ -1841,7 +1841,7 @@ const be = {
|
|
|
1841
1841
|
]);
|
|
1842
1842
|
};
|
|
1843
1843
|
}
|
|
1844
|
-
}), vi = /* @__PURE__ */ Y(rd, [["__scopeId", "data-v-b4fcf731"]]), od = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", sd = (e) => e ? e.length === 36 && new RegExp(`^${od}$`).test(e) : !1,
|
|
1844
|
+
}), vi = /* @__PURE__ */ Y(rd, [["__scopeId", "data-v-b4fcf731"]]), od = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", sd = (e) => e ? e.length === 36 && new RegExp(`^${od}$`).test(e) : !1, Ot = 50, Ve = {
|
|
1845
1845
|
CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
|
|
1846
1846
|
CREATE_FROM_ENTITY: "CREATE_FROM_ENTITY",
|
|
1847
1847
|
UPDATE_ENTITY: "UPDATE_ENTITY",
|
|
@@ -1912,7 +1912,7 @@ const dd = {
|
|
|
1912
1912
|
},
|
|
1913
1913
|
methods: {
|
|
1914
1914
|
onQueryChange(e) {
|
|
1915
|
-
e.trim().length === 0 && (this.items = [], this.message = "Type something to search"), typeof this.performSearch != "function" && (this.performSearch =
|
|
1915
|
+
e.trim().length === 0 && (this.items = [], this.message = "Type something to search"), typeof this.performSearch != "function" && (this.performSearch = it(
|
|
1916
1916
|
this.search,
|
|
1917
1917
|
500
|
|
1918
1918
|
)), this.performSearch(e);
|
|
@@ -1939,15 +1939,15 @@ const dd = {
|
|
|
1939
1939
|
let n = null;
|
|
1940
1940
|
if (!this[$e])
|
|
1941
1941
|
return console.warn("[@kong-ui-public/forms] No API service provided"), [];
|
|
1942
|
-
for (; t.length <
|
|
1942
|
+
for (; t.length < Ot; ) {
|
|
1943
1943
|
const a = await this[$e].getAll(this.entity, {
|
|
1944
|
-
size:
|
|
1944
|
+
size: Ot,
|
|
1945
1945
|
offset: n,
|
|
1946
1946
|
...e
|
|
1947
1947
|
});
|
|
1948
1948
|
if (t.push(...a.data.data), n = a.data.offset, !n) break;
|
|
1949
1949
|
}
|
|
1950
|
-
return t.slice(0,
|
|
1950
|
+
return t.slice(0, Ot);
|
|
1951
1951
|
},
|
|
1952
1952
|
async fetchSuggestions(e, t) {
|
|
1953
1953
|
return this.fetchUntilLimit({ [t]: e });
|
|
@@ -2071,7 +2071,7 @@ function hd(e) {
|
|
|
2071
2071
|
};
|
|
2072
2072
|
return M ? Promise.all(T).then(U) : U(T);
|
|
2073
2073
|
}, s = () => {
|
|
2074
|
-
z(n.value) ? n.value() : n.value =
|
|
2074
|
+
z(n.value) ? n.value() : n.value = it(
|
|
2075
2075
|
r,
|
|
2076
2076
|
B(e.schema, "validateDebounceTime", B(e.formOptions, "validateDebounceTime", 500))
|
|
2077
2077
|
);
|
|
@@ -2190,7 +2190,7 @@ const ye = {
|
|
|
2190
2190
|
},
|
|
2191
2191
|
emits: ["modelUpdated"],
|
|
2192
2192
|
setup(e, { expose: t, emit: n }) {
|
|
2193
|
-
const a = e, i = n, r = Le(a), s =
|
|
2193
|
+
const a = e, i = n, r = Le(a), s = ot(he, void 0), { updateModelValue: o, getFieldID: l, clearValidationErrors: d, value: h } = ye.useAbstractFields({
|
|
2194
2194
|
model: r.model,
|
|
2195
2195
|
schema: a.schema,
|
|
2196
2196
|
formOptions: a.formOptions,
|
|
@@ -2222,13 +2222,13 @@ const ye = {
|
|
|
2222
2222
|
const _ = p[m.value] || "", v = Be.parse(b, _);
|
|
2223
2223
|
v && ((j = a.schema) != null && j.format ? k = Be.format(v, (x = a.schema) == null ? void 0 : x.format) : k = v.valueOf()), o(k, O);
|
|
2224
2224
|
}, N = (b, O) => {
|
|
2225
|
-
|
|
2225
|
+
ct(b) || (b = NaN), o(b, O);
|
|
2226
2226
|
}, c = (b) => {
|
|
2227
2227
|
let O = b;
|
|
2228
2228
|
switch (m.value) {
|
|
2229
2229
|
case "number":
|
|
2230
2230
|
case "range":
|
|
2231
|
-
|
|
2231
|
+
ct(parseFloat(b)) && (O = parseFloat(b));
|
|
2232
2232
|
break;
|
|
2233
2233
|
}
|
|
2234
2234
|
h.value = O, o(O, b);
|
|
@@ -2242,7 +2242,7 @@ const ye = {
|
|
|
2242
2242
|
switch (m.value) {
|
|
2243
2243
|
case "number":
|
|
2244
2244
|
case "range":
|
|
2245
|
-
T.value =
|
|
2245
|
+
T.value = it(
|
|
2246
2246
|
(b, O) => {
|
|
2247
2247
|
N(b, O);
|
|
2248
2248
|
},
|
|
@@ -2256,7 +2256,7 @@ const ye = {
|
|
|
2256
2256
|
case "date":
|
|
2257
2257
|
case "datetime":
|
|
2258
2258
|
case "datetime-local":
|
|
2259
|
-
T.value =
|
|
2259
|
+
T.value = it(
|
|
2260
2260
|
(b, O) => {
|
|
2261
2261
|
E(b, O);
|
|
2262
2262
|
},
|
|
@@ -2305,7 +2305,7 @@ const ye = {
|
|
|
2305
2305
|
}
|
|
2306
2306
|
}), yi = /* @__PURE__ */ Y(bd, [["__scopeId", "data-v-fe1132bb"]]), yd = {
|
|
2307
2307
|
name: "FieldMetric",
|
|
2308
|
-
components: { AddIcon: Vt, TrashIcon:
|
|
2308
|
+
components: { AddIcon: Vt, TrashIcon: rt },
|
|
2309
2309
|
mixins: [be],
|
|
2310
2310
|
emits: ["remove-item"],
|
|
2311
2311
|
data() {
|
|
@@ -2411,7 +2411,7 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2411
2411
|
"onUpdate:modelValue": (s) => t.value[r] = s,
|
|
2412
2412
|
type: "text"
|
|
2413
2413
|
}, null, 8, Id), [
|
|
2414
|
-
[
|
|
2414
|
+
[Je, t.value[r]]
|
|
2415
2415
|
])
|
|
2416
2416
|
])) : R("", !0),
|
|
2417
2417
|
t.keyTypes[r] === "boolean" ? (u(), g("td", Od, [
|
|
@@ -2427,7 +2427,7 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2427
2427
|
"onUpdate:modelValue": (s) => t.value[r] = s,
|
|
2428
2428
|
type: "number"
|
|
2429
2429
|
}, null, 8, Fd), [
|
|
2430
|
-
[
|
|
2430
|
+
[Je, t.value[r]]
|
|
2431
2431
|
])
|
|
2432
2432
|
])) : R("", !0),
|
|
2433
2433
|
f("td", null, [
|
|
@@ -2452,7 +2452,7 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2452
2452
|
"onUpdate:modelValue": n[1] || (n[1] = (i) => t.newKeyName = i),
|
|
2453
2453
|
type: "text"
|
|
2454
2454
|
}, null, 512), [
|
|
2455
|
-
[
|
|
2455
|
+
[Je, t.newKeyName]
|
|
2456
2456
|
]),
|
|
2457
2457
|
f("input", {
|
|
2458
2458
|
type: "button",
|
|
@@ -2596,7 +2596,7 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2596
2596
|
onClick: (s) => t.removeElement(r)
|
|
2597
2597
|
}, {
|
|
2598
2598
|
default: I(() => [
|
|
2599
|
-
C(w(
|
|
2599
|
+
C(w(rt))
|
|
2600
2600
|
]),
|
|
2601
2601
|
_: 2
|
|
2602
2602
|
}, 1032, ["onClick"])
|
|
@@ -2642,7 +2642,7 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2642
2642
|
placeholder: t.schema.placeholder,
|
|
2643
2643
|
type: "text"
|
|
2644
2644
|
}, null, 8, Bd), [
|
|
2645
|
-
[
|
|
2645
|
+
[Je, t.newKeyName]
|
|
2646
2646
|
]),
|
|
2647
2647
|
C(a, {
|
|
2648
2648
|
appearance: "tertiary",
|
|
@@ -2899,7 +2899,7 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
|
|
|
2899
2899
|
handleInput(e, t) {
|
|
2900
2900
|
var a, i;
|
|
2901
2901
|
let n = e;
|
|
2902
|
-
((i = (a = this.schema) == null ? void 0 : a.inputAttributes) == null ? void 0 : i.type) === "number" &&
|
|
2902
|
+
((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
2903
|
}
|
|
2904
2904
|
}
|
|
2905
2905
|
}, Zd = ["id"], Jd = { key: 1 }, Qd = ["onUpdate:modelValue", "aria-labelledby", "type"], Xd = ["onUpdate:modelValue", "aria-labelledby"];
|
|
@@ -3002,7 +3002,7 @@ function eu(e, t, n, a, i, r) {
|
|
|
3002
3002
|
"aria-labelledby": e.getLabelId(e.schema),
|
|
3003
3003
|
type: "text"
|
|
3004
3004
|
}), null, 16, Xd), [
|
|
3005
|
-
[
|
|
3005
|
+
[Je, e.value[h]]
|
|
3006
3006
|
]),
|
|
3007
3007
|
(u(), A(ie(r.autofillSlot), {
|
|
3008
3008
|
schema: e.schema,
|
|
@@ -3097,7 +3097,7 @@ const tu = /* @__PURE__ */ Y(Wd, [["render", eu], ["__scopeId", "data-v-27efd618
|
|
|
3097
3097
|
}), au = /* @__PURE__ */ Y(iu, [["__scopeId", "data-v-6b4ee1cd"]]);
|
|
3098
3098
|
var ru = 4;
|
|
3099
3099
|
function Cn(e) {
|
|
3100
|
-
return
|
|
3100
|
+
return Xe(e, ru);
|
|
3101
3101
|
}
|
|
3102
3102
|
const ou = { class: "wrapper" }, su = ["disabled"], lu = ["id", "checked", "disabled", "onChange", "name"], du = ["disabled"], uu = { class: "info" }, cu = { class: "dropList" }, mu = ["id", "checked", "disabled", "onChange", "name"];
|
|
3103
3103
|
function fu(e, t, n, a, i, r) {
|
|
@@ -3220,7 +3220,7 @@ const hu = {
|
|
|
3220
3220
|
}
|
|
3221
3221
|
}, pu = /* @__PURE__ */ Y(hu, [["render", fu]]), gu = {
|
|
3222
3222
|
name: "FieldKeyValuePairs",
|
|
3223
|
-
components: { TrashIcon:
|
|
3223
|
+
components: { TrashIcon: rt },
|
|
3224
3224
|
mixins: [be],
|
|
3225
3225
|
inject: {
|
|
3226
3226
|
autofillSlot: {
|
|
@@ -3668,7 +3668,7 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
|
|
|
3668
3668
|
},
|
|
3669
3669
|
emits: ["modelUpdated"],
|
|
3670
3670
|
setup(e, { expose: t, emit: n }) {
|
|
3671
|
-
const a = e, i = n, r = Le(a), s =
|
|
3671
|
+
const a = e, i = n, r = Le(a), s = ot(he, void 0), { updateModelValue: o, getFieldID: l, clearValidationErrors: d, value: h } = ye.useAbstractFields({
|
|
3672
3672
|
model: r.model,
|
|
3673
3673
|
schema: a.schema,
|
|
3674
3674
|
formOptions: a.formOptions,
|
|
@@ -3949,13 +3949,13 @@ function ec(e, t, n, a, i, r) {
|
|
|
3949
3949
|
], 2);
|
|
3950
3950
|
}
|
|
3951
3951
|
const Ci = /* @__PURE__ */ Y(Bu, [["render", ec], ["__scopeId", "data-v-172f268b"]]), tc = "12px";
|
|
3952
|
-
var
|
|
3952
|
+
var mt = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(mt || {});
|
|
3953
3953
|
const nc = (e) => {
|
|
3954
3954
|
var t, n;
|
|
3955
|
-
return e.type ===
|
|
3955
|
+
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
3956
|
}, ic = {
|
|
3957
|
-
[
|
|
3958
|
-
[
|
|
3957
|
+
[mt.REDIS_CE]: "open source",
|
|
3958
|
+
[mt.REDIS_EE]: "enterprise"
|
|
3959
3959
|
}, In = (e) => ic[e] ?? "", ac = { class: "partial-config-card" }, rc = { class: "config-card-row-label" }, oc = { class: "label-text" }, sc = ["data-testid"], lc = ["data-testid"], dc = { key: 1 }, uc = ["data-testid"], cc = ["data-testid"], mc = /* @__PURE__ */ re({
|
|
3960
3960
|
__name: "RedisConfigCard",
|
|
3961
3961
|
props: {
|
|
@@ -4078,7 +4078,7 @@ const nc = (e) => {
|
|
|
4078
4078
|
},
|
|
4079
4079
|
emits: ["showNewPartialModal"],
|
|
4080
4080
|
setup(e) {
|
|
4081
|
-
const { t } = ge("en-us", ve), n =
|
|
4081
|
+
const { t } = ge("en-us", ve), n = ot(Zr), a = {
|
|
4082
4082
|
konnect: {
|
|
4083
4083
|
getOne: "/v2/control-planes/{controlPlaneId}/core-entities/partials/{id}",
|
|
4084
4084
|
getAll: "/v2/control-planes/{controlPlaneId}/core-entities/partials"
|
|
@@ -4087,7 +4087,7 @@ const nc = (e) => {
|
|
|
4087
4087
|
getOne: "/{workspace}/partials/{id}",
|
|
4088
4088
|
getAll: "/{workspace}/partials"
|
|
4089
4089
|
}
|
|
4090
|
-
}, i = e, r = ue(null), { getMessageFromError: s } = Ni(), o =
|
|
4090
|
+
}, i = e, r = ue(null), { getMessageFromError: s } = Ni(), o = ot(Wr), {
|
|
4091
4091
|
debouncedQueryChange: l,
|
|
4092
4092
|
loading: d,
|
|
4093
4093
|
error: h,
|
|
@@ -4195,7 +4195,7 @@ const nc = (e) => {
|
|
|
4195
4195
|
], 64);
|
|
4196
4196
|
};
|
|
4197
4197
|
}
|
|
4198
|
-
}), On = /* @__PURE__ */ Y(_c, [["__scopeId", "data-v-
|
|
4198
|
+
}), On = /* @__PURE__ */ Y(_c, [["__scopeId", "data-v-ec7085df"]]), wc = { key: 0 }, Mc = {
|
|
4199
4199
|
class: "redis-config-radio-group",
|
|
4200
4200
|
"data-testid": "redis-config-radio-group"
|
|
4201
4201
|
}, Sc = {
|
|
@@ -4695,8 +4695,10 @@ function kc(e, t, n, a, i, r) {
|
|
|
4695
4695
|
], 64))), 128))
|
|
4696
4696
|
])) : R("", !0);
|
|
4697
4697
|
}
|
|
4698
|
-
const ee = /* @__PURE__ */ Y(Ac, [["render", kc]]),
|
|
4698
|
+
const ee = /* @__PURE__ */ Y(Ac, [["render", kc]]), Ze = {
|
|
4699
4699
|
openIdConnectDocs: "https://developer.konghq.com/plugins/openid-connect/",
|
|
4700
|
+
openIdConnectJWKDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-client-jwk",
|
|
4701
|
+
openIdConnectClusterNodesDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-redis-cluster-nodes",
|
|
4700
4702
|
openIdConfigurationDocs: "https://developer.konghq.com/plugins/openid-connect/reference/",
|
|
4701
4703
|
openIdAuthorizationDocs: "https://developer.konghq.com/plugins/openid-connect/#authorization"
|
|
4702
4704
|
}, An = /* @__PURE__ */ new Set([
|
|
@@ -4766,9 +4768,11 @@ const ee = /* @__PURE__ */ Y(Ac, [["render", kc]]), Ot = {
|
|
|
4766
4768
|
globalFields: null,
|
|
4767
4769
|
commonFieldsSchema: null,
|
|
4768
4770
|
authFieldsSchema: null,
|
|
4769
|
-
openIdConnectLink:
|
|
4770
|
-
|
|
4771
|
-
|
|
4771
|
+
openIdConnectLink: Ze.openIdConnectDocs,
|
|
4772
|
+
openIdConnectJWKLink: Ze.openIdConnectJWKDocs,
|
|
4773
|
+
openIdConnectClusterNodesLink: Ze.openIdConnectClusterNodesDocs,
|
|
4774
|
+
openIdConfigurationDocs: Ze.openIdConfigurationDocs,
|
|
4775
|
+
openIdAuthorizationDocs: Ze.openIdAuthorizationDocs,
|
|
4772
4776
|
advancedFieldsSchema: {
|
|
4773
4777
|
fields: []
|
|
4774
4778
|
},
|
|
@@ -4830,7 +4834,7 @@ const ee = /* @__PURE__ */ Y(Ac, [["render", kc]]), Ot = {
|
|
|
4830
4834
|
h.label = h.model;
|
|
4831
4835
|
i.push({
|
|
4832
4836
|
...r,
|
|
4833
|
-
link: this.
|
|
4837
|
+
link: this.openIdConnectJWKLink,
|
|
4834
4838
|
newElementButtonLabel: "+ Add Client JWK",
|
|
4835
4839
|
...Array.isArray((d = (l = r.items) == null ? void 0 : l.schema) == null ? void 0 : d.fields) && r.items.schema.fields.map((h) => ({ ...h, label: h.model }))
|
|
4836
4840
|
});
|
|
@@ -4839,7 +4843,7 @@ const ee = /* @__PURE__ */ Y(Ac, [["render", kc]]), Ot = {
|
|
|
4839
4843
|
case "config-session_redis_cluster_nodes": {
|
|
4840
4844
|
i.push({
|
|
4841
4845
|
...r,
|
|
4842
|
-
link: this.
|
|
4846
|
+
link: this.openIdConnectClusterNodesLink,
|
|
4843
4847
|
newElementButtonLabel: "+ Add Cluster Node"
|
|
4844
4848
|
});
|
|
4845
4849
|
break;
|
|
@@ -5031,7 +5035,7 @@ function qc(e, t, n, a, i, r) {
|
|
|
5031
5035
|
}, 8, ["tabs"])
|
|
5032
5036
|
]);
|
|
5033
5037
|
}
|
|
5034
|
-
const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-
|
|
5038
|
+
const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-741bf3cb"]]), Dc = /* @__PURE__ */ re({
|
|
5035
5039
|
__name: "PostFunction",
|
|
5036
5040
|
props: {
|
|
5037
5041
|
formModel: {
|
|
@@ -5058,7 +5062,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-cca342d8
|
|
|
5058
5062
|
},
|
|
5059
5063
|
setup(e) {
|
|
5060
5064
|
var s;
|
|
5061
|
-
|
|
5065
|
+
at(he, (s = ft()) == null ? void 0 : s[xe]);
|
|
5062
5066
|
const { t, te: n } = ge("en-us", ve), a = e, i = L(() => a.formModel.id && a.isEditing || !a.isEditing), r = L(() => {
|
|
5063
5067
|
const o = a.formSchema;
|
|
5064
5068
|
return o.fields.map((l) => {
|
|
@@ -5101,7 +5105,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-cca342d8
|
|
|
5101
5105
|
},
|
|
5102
5106
|
setup(e) {
|
|
5103
5107
|
var s;
|
|
5104
|
-
|
|
5108
|
+
at(he, (s = ft()) == null ? void 0 : s[xe]);
|
|
5105
5109
|
const { t, te: n } = ge("en-us", ve), a = e, i = L(() => a.formModel.id && a.isEditing || !a.isEditing), r = L(() => {
|
|
5106
5110
|
const o = a.formSchema;
|
|
5107
5111
|
return o.fields.map((l) => {
|
|
@@ -5232,7 +5236,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-cca342d8
|
|
|
5232
5236
|
},
|
|
5233
5237
|
setup(e) {
|
|
5234
5238
|
var k;
|
|
5235
|
-
|
|
5239
|
+
at(he, (k = ft()) == null ? void 0 : k[xe]);
|
|
5236
5240
|
const t = e, n = ue("zeroSsl"), a = ue("shm"), i = L(() => {
|
|
5237
5241
|
var v;
|
|
5238
5242
|
const _ = {};
|
|
@@ -5453,7 +5457,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-cca342d8
|
|
|
5453
5457
|
},
|
|
5454
5458
|
setup(e) {
|
|
5455
5459
|
var x;
|
|
5456
|
-
|
|
5460
|
+
at(he, (x = ft()) == null ? void 0 : x[xe]);
|
|
5457
5461
|
const t = {
|
|
5458
5462
|
fixed: [
|
|
5459
5463
|
{
|
|
@@ -5702,14 +5706,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5702
5706
|
"model-value": q.limit && q.limit.toString(),
|
|
5703
5707
|
placeholder: w(i)("rla.request_limits.request_number"),
|
|
5704
5708
|
type: "number",
|
|
5705
|
-
"onUpdate:modelValue": (
|
|
5709
|
+
"onUpdate:modelValue": (Mt) => k(ne, Number.parseInt(Mt))
|
|
5706
5710
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
5707
5711
|
f("div", null, $(w(i)("rla.request_limits.interval_determiner")), 1),
|
|
5708
5712
|
C(D, {
|
|
5709
5713
|
"model-value": q.windowSize && q.windowSize.toString(),
|
|
5710
5714
|
placeholder: w(i)("rla.request_limits.time_interval"),
|
|
5711
5715
|
type: "number",
|
|
5712
|
-
"onUpdate:modelValue": (
|
|
5716
|
+
"onUpdate:modelValue": (Mt) => _(ne, Number.parseInt(Mt))
|
|
5713
5717
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
5714
5718
|
f("div", null, $(w(i)("rla.request_limits.seconds")), 1)
|
|
5715
5719
|
], 8, um),
|
|
@@ -5894,7 +5898,7 @@ export {
|
|
|
5894
5898
|
xe as AUTOFILL_SLOT_NAME,
|
|
5895
5899
|
$e as FORMS_API_KEY,
|
|
5896
5900
|
Wr as FORMS_CONFIG,
|
|
5897
|
-
|
|
5901
|
+
mt as PartialType,
|
|
5898
5902
|
Zr as REDIS_PARTIAL_FETCHER_KEY,
|
|
5899
5903
|
Mm as REDIS_PARTIAL_INFO,
|
|
5900
5904
|
ee as VueFormGenerator,
|