@kong-ui-public/forms 4.11.6-pr.2008.97f353d4d.0 → 4.11.6
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 +550 -550
- package/dist/forms.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/components/fields/FieldInput.vue.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/forms.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { resolveComponent as O, openBlock as u, createElementBlock as g, createElementVNode as h, toDisplayString as U, normalizeClass as W, createVNode as T, defineComponent as re, provide as it, withCtx as C, renderSlot as Oe, unref as M, createTextVNode as ee, createBlock as A, resolveDynamicComponent as ne, Fragment as D, renderList as J, ref as ue, computed as L, toRefs as Le, inject as rt, onMounted as
|
|
1
|
+
import { resolveComponent as O, openBlock as u, createElementBlock as g, createElementVNode as h, toDisplayString as U, normalizeClass as W, createVNode as T, defineComponent as re, provide as it, withCtx as C, renderSlot as Oe, unref as M, createTextVNode as ee, createBlock as A, resolveDynamicComponent as ne, Fragment as D, renderList as J, ref as ue, computed as L, toRefs as Le, inject as rt, onMounted as En, onBeforeMount as kt, mergeProps as Ie, Transition as Oi, createCommentVNode as V, resolveDirective as Fn, withDirectives as de, vModelText as Ze, vModelCheckbox as Ai, vModelSelect as Ei, vModelDynamic as kn, isRef as Ye, toRef as Fi, vModelRadio as ki, vShow as Ui, createSlots as Un, watch as Ut, normalizeProps as $i, guardReactiveProps as Vi, useSlots as mt, nextTick as Kt } from "vue";
|
|
2
2
|
import { createI18n as ge } from "@kong-ui-public/i18n";
|
|
3
|
-
import { TrashIcon as at, AddIcon as
|
|
4
|
-
import { useStringHelpers as
|
|
5
|
-
function
|
|
3
|
+
import { TrashIcon as at, AddIcon as $t, RemoveIcon as ji } from "@kong/icons";
|
|
4
|
+
import { useStringHelpers as Ri, useErrors as Pi, useDebouncedFilter as Ni, useAxios as Li } from "@kong-ui-public/entities-shared";
|
|
5
|
+
function $n(e, t) {
|
|
6
6
|
for (var n = -1, a = e == null ? 0 : e.length; ++n < a && t(e[n], n, e) !== !1; )
|
|
7
7
|
;
|
|
8
8
|
return e;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function qi(e) {
|
|
11
11
|
return function(t, n, a) {
|
|
12
12
|
for (var i = -1, r = Object(t), s = a(t), o = s.length; o--; ) {
|
|
13
13
|
var d = s[++i];
|
|
@@ -17,167 +17,167 @@ function Li(e) {
|
|
|
17
17
|
return t;
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
var
|
|
21
|
-
function
|
|
20
|
+
var Ki = qi();
|
|
21
|
+
function Di(e, t) {
|
|
22
22
|
for (var n = -1, a = Array(e); ++n < e; )
|
|
23
23
|
a[n] = t(n);
|
|
24
24
|
return a;
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
function
|
|
28
|
-
var t =
|
|
26
|
+
var Vn = typeof global == "object" && global && global.Object === Object && global, Bi = typeof self == "object" && self && self.Object === Object && self, pe = Vn || Bi || Function("return this")(), Ae = pe.Symbol, jn = Object.prototype, zi = jn.hasOwnProperty, xi = jn.toString, We = Ae ? Ae.toStringTag : void 0;
|
|
27
|
+
function Yi(e) {
|
|
28
|
+
var t = zi.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 = xi.call(e);
|
|
35
35
|
return a && (t ? e[We] = n : delete e[We]), i;
|
|
36
36
|
}
|
|
37
|
-
var
|
|
38
|
-
function
|
|
39
|
-
return
|
|
37
|
+
var Hi = Object.prototype, Gi = Hi.toString;
|
|
38
|
+
function Wi(e) {
|
|
39
|
+
return Gi.call(e);
|
|
40
40
|
}
|
|
41
|
-
var
|
|
41
|
+
var Zi = "[object Null]", Ji = "[object Undefined]", Dt = Ae ? Ae.toStringTag : void 0;
|
|
42
42
|
function Ee(e) {
|
|
43
|
-
return e == null ? e === void 0 ?
|
|
43
|
+
return e == null ? e === void 0 ? Ji : Zi : Dt && Dt in Object(e) ? Yi(e) : Wi(e);
|
|
44
44
|
}
|
|
45
45
|
function Fe(e) {
|
|
46
46
|
return e != null && typeof e == "object";
|
|
47
47
|
}
|
|
48
|
-
var
|
|
49
|
-
function
|
|
50
|
-
return Fe(e) && Ee(e) ==
|
|
48
|
+
var Qi = "[object Arguments]";
|
|
49
|
+
function Bt(e) {
|
|
50
|
+
return Fe(e) && Ee(e) == Qi;
|
|
51
51
|
}
|
|
52
|
-
var
|
|
52
|
+
var Rn = Object.prototype, Xi = Rn.hasOwnProperty, ea = Rn.propertyIsEnumerable, ta = Bt(/* @__PURE__ */ function() {
|
|
53
53
|
return arguments;
|
|
54
|
-
}()) ?
|
|
55
|
-
return Fe(e) &&
|
|
54
|
+
}()) ? Bt : function(e) {
|
|
55
|
+
return Fe(e) && Xi.call(e, "callee") && !ea.call(e, "callee");
|
|
56
56
|
}, ke = Array.isArray;
|
|
57
|
-
function
|
|
57
|
+
function na() {
|
|
58
58
|
return !1;
|
|
59
59
|
}
|
|
60
|
-
var
|
|
61
|
-
function
|
|
60
|
+
var Pn = typeof exports == "object" && exports && !exports.nodeType && exports, zt = Pn && typeof module == "object" && module && !module.nodeType && module, ia = zt && zt.exports === Pn, xt = ia ? pe.Buffer : void 0, aa = xt ? xt.isBuffer : void 0, Nn = aa || na, ra = 9007199254740991, oa = /^(?:0|[1-9]\d*)$/;
|
|
61
|
+
function Ln(e, t) {
|
|
62
62
|
var n = typeof e;
|
|
63
|
-
return t = t ??
|
|
63
|
+
return t = t ?? ra, !!t && (n == "number" || n != "symbol" && oa.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
64
64
|
}
|
|
65
|
-
var
|
|
66
|
-
function
|
|
67
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
65
|
+
var sa = 9007199254740991;
|
|
66
|
+
function qn(e) {
|
|
67
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= sa;
|
|
68
68
|
}
|
|
69
|
-
var
|
|
70
|
-
G[
|
|
71
|
-
G[
|
|
72
|
-
function
|
|
73
|
-
return Fe(e) &&
|
|
69
|
+
var la = "[object Arguments]", da = "[object Array]", ua = "[object Boolean]", ca = "[object Date]", ma = "[object Error]", fa = "[object Function]", ha = "[object Map]", pa = "[object Number]", ga = "[object Object]", va = "[object RegExp]", ya = "[object Set]", ba = "[object String]", _a = "[object WeakMap]", wa = "[object ArrayBuffer]", Ma = "[object DataView]", Sa = "[object Float32Array]", Ta = "[object Float64Array]", Ca = "[object Int8Array]", Ia = "[object Int16Array]", Oa = "[object Int32Array]", Aa = "[object Uint8Array]", Ea = "[object Uint8ClampedArray]", Fa = "[object Uint16Array]", ka = "[object Uint32Array]", G = {};
|
|
70
|
+
G[Sa] = G[Ta] = G[Ca] = G[Ia] = G[Oa] = G[Aa] = G[Ea] = G[Fa] = G[ka] = !0;
|
|
71
|
+
G[la] = G[da] = G[wa] = G[ua] = G[Ma] = G[ca] = G[ma] = G[fa] = G[ha] = G[pa] = G[ga] = G[va] = G[ya] = G[ba] = G[_a] = !1;
|
|
72
|
+
function Ua(e) {
|
|
73
|
+
return Fe(e) && qn(e.length) && !!G[Ee(e)];
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function Vt(e) {
|
|
76
76
|
return function(t) {
|
|
77
77
|
return e(t);
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var Kn = typeof exports == "object" && exports && !exports.nodeType && exports, Je = Kn && typeof module == "object" && module && !module.nodeType && module, $a = Je && Je.exports === Kn, Mt = $a && Vn.process, xe = function() {
|
|
81
81
|
try {
|
|
82
82
|
var e = Je && Je.require && Je.require("util").types;
|
|
83
|
-
return e ||
|
|
83
|
+
return e || Mt && Mt.binding && Mt.binding("util");
|
|
84
84
|
} catch {
|
|
85
85
|
}
|
|
86
|
-
}(),
|
|
87
|
-
function
|
|
88
|
-
var n = ke(e), a = !n &&
|
|
86
|
+
}(), Yt = xe && xe.isTypedArray, Va = Yt ? Vt(Yt) : Ua, ja = Object.prototype, Ra = ja.hasOwnProperty;
|
|
87
|
+
function Dn(e, t) {
|
|
88
|
+
var n = ke(e), a = !n && ta(e), i = !n && !a && Nn(e), r = !n && !a && !i && Va(e), s = n || a || i || r, o = s ? Di(e.length, String) : [], d = o.length;
|
|
89
89
|
for (var l in e)
|
|
90
|
-
(t ||
|
|
90
|
+
(t || Ra.call(e, l)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
91
91
|
(l == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
92
92
|
i && (l == "offset" || l == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
93
93
|
r && (l == "buffer" || l == "byteLength" || l == "byteOffset") || // Skip index properties.
|
|
94
|
-
|
|
94
|
+
Ln(l, d))) && o.push(l);
|
|
95
95
|
return o;
|
|
96
96
|
}
|
|
97
|
-
var
|
|
98
|
-
function
|
|
99
|
-
var t = e && e.constructor, n = typeof t == "function" && t.prototype ||
|
|
97
|
+
var Pa = Object.prototype;
|
|
98
|
+
function jt(e) {
|
|
99
|
+
var t = e && e.constructor, n = typeof t == "function" && t.prototype || Pa;
|
|
100
100
|
return e === n;
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Bn(e, t) {
|
|
103
103
|
return function(n) {
|
|
104
104
|
return e(t(n));
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
|
-
var
|
|
108
|
-
function
|
|
109
|
-
if (!
|
|
110
|
-
return
|
|
107
|
+
var Na = Bn(Object.keys, Object), La = Object.prototype, qa = La.hasOwnProperty;
|
|
108
|
+
function Ka(e) {
|
|
109
|
+
if (!jt(e))
|
|
110
|
+
return Na(e);
|
|
111
111
|
var t = [];
|
|
112
112
|
for (var n in Object(e))
|
|
113
|
-
|
|
113
|
+
qa.call(e, n) && n != "constructor" && t.push(n);
|
|
114
114
|
return t;
|
|
115
115
|
}
|
|
116
116
|
function me(e) {
|
|
117
117
|
var t = typeof e;
|
|
118
118
|
return e != null && (t == "object" || t == "function");
|
|
119
119
|
}
|
|
120
|
-
var
|
|
120
|
+
var Da = "[object AsyncFunction]", Ba = "[object Function]", za = "[object GeneratorFunction]", xa = "[object Proxy]";
|
|
121
121
|
function H(e) {
|
|
122
122
|
if (!me(e))
|
|
123
123
|
return !1;
|
|
124
124
|
var t = Ee(e);
|
|
125
|
-
return t ==
|
|
126
|
-
}
|
|
127
|
-
function mt(e) {
|
|
128
|
-
return e != null && Ln(e.length) && !H(e);
|
|
125
|
+
return t == Ba || t == za || t == Da || t == xa;
|
|
129
126
|
}
|
|
130
127
|
function ft(e) {
|
|
131
|
-
return
|
|
128
|
+
return e != null && qn(e.length) && !H(e);
|
|
132
129
|
}
|
|
133
|
-
function
|
|
134
|
-
return e
|
|
130
|
+
function ht(e) {
|
|
131
|
+
return ft(e) ? Dn(e) : Ka(e);
|
|
135
132
|
}
|
|
136
133
|
function Ya(e, t) {
|
|
134
|
+
return e && Ki(e, t, ht);
|
|
135
|
+
}
|
|
136
|
+
function Ha(e, t) {
|
|
137
137
|
return function(n, a) {
|
|
138
138
|
if (n == null)
|
|
139
139
|
return n;
|
|
140
|
-
if (!
|
|
140
|
+
if (!ft(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
|
;
|
|
144
144
|
return n;
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
|
-
var
|
|
148
|
-
function
|
|
147
|
+
var Ga = Ha(Ya);
|
|
148
|
+
function Rt(e) {
|
|
149
149
|
return e;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
return typeof e == "function" ? e :
|
|
151
|
+
function Wa(e) {
|
|
152
|
+
return typeof e == "function" ? e : Rt;
|
|
153
153
|
}
|
|
154
154
|
function le(e, t) {
|
|
155
|
-
var n = ke(e) ?
|
|
156
|
-
return n(e,
|
|
155
|
+
var n = ke(e) ? $n : Ga;
|
|
156
|
+
return n(e, Wa(t));
|
|
157
157
|
}
|
|
158
|
-
var
|
|
159
|
-
function
|
|
160
|
-
return typeof e == "symbol" || Fe(e) && Ee(e) ==
|
|
158
|
+
var Za = "[object Symbol]";
|
|
159
|
+
function pt(e) {
|
|
160
|
+
return typeof e == "symbol" || Fe(e) && Ee(e) == Za;
|
|
161
161
|
}
|
|
162
|
-
var
|
|
163
|
-
function
|
|
162
|
+
var Ja = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Qa = /^\w*$/;
|
|
163
|
+
function Xa(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 || pt(e) ? !0 : Qa.test(e) || !Ja.test(e) || t != null && e in Object(t);
|
|
168
168
|
}
|
|
169
|
-
var
|
|
170
|
-
var e = /[^.]+$/.exec(
|
|
169
|
+
var St = pe["__core-js_shared__"], Ht = function() {
|
|
170
|
+
var e = /[^.]+$/.exec(St && St.keys && St.keys.IE_PROTO || "");
|
|
171
171
|
return e ? "Symbol(src)_1." + e : "";
|
|
172
172
|
}();
|
|
173
|
-
function
|
|
174
|
-
return !!
|
|
173
|
+
function er(e) {
|
|
174
|
+
return !!Ht && Ht in e;
|
|
175
175
|
}
|
|
176
|
-
var
|
|
176
|
+
var tr = Function.prototype, nr = tr.toString;
|
|
177
177
|
function qe(e) {
|
|
178
178
|
if (e != null) {
|
|
179
179
|
try {
|
|
180
|
-
return
|
|
180
|
+
return nr.call(e);
|
|
181
181
|
} catch {
|
|
182
182
|
}
|
|
183
183
|
try {
|
|
@@ -187,48 +187,48 @@ function qe(e) {
|
|
|
187
187
|
}
|
|
188
188
|
return "";
|
|
189
189
|
}
|
|
190
|
-
var
|
|
191
|
-
"^" +
|
|
190
|
+
var ir = /[\\^$.*+?()[\]{}|]/g, ar = /^\[object .+?Constructor\]$/, rr = Function.prototype, or = Object.prototype, sr = rr.toString, lr = or.hasOwnProperty, dr = RegExp(
|
|
191
|
+
"^" + sr.call(lr).replace(ir, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
192
192
|
);
|
|
193
|
-
function
|
|
194
|
-
if (!me(e) ||
|
|
193
|
+
function ur(e) {
|
|
194
|
+
if (!me(e) || er(e))
|
|
195
195
|
return !1;
|
|
196
|
-
var t = H(e) ?
|
|
196
|
+
var t = H(e) ? dr : ar;
|
|
197
197
|
return t.test(qe(e));
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function cr(e, t) {
|
|
200
200
|
return e == null ? void 0 : e[t];
|
|
201
201
|
}
|
|
202
202
|
function Ke(e, t) {
|
|
203
|
-
var n =
|
|
204
|
-
return
|
|
203
|
+
var n = cr(e, t);
|
|
204
|
+
return ur(n) ? n : void 0;
|
|
205
205
|
}
|
|
206
206
|
var et = Ke(Object, "create");
|
|
207
|
-
function
|
|
207
|
+
function mr() {
|
|
208
208
|
this.__data__ = et ? et(null) : {}, this.size = 0;
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function fr(e) {
|
|
211
211
|
var t = this.has(e) && delete this.__data__[e];
|
|
212
212
|
return this.size -= t ? 1 : 0, t;
|
|
213
213
|
}
|
|
214
|
-
var
|
|
215
|
-
function
|
|
214
|
+
var hr = "__lodash_hash_undefined__", pr = Object.prototype, gr = pr.hasOwnProperty;
|
|
215
|
+
function vr(e) {
|
|
216
216
|
var t = this.__data__;
|
|
217
217
|
if (et) {
|
|
218
218
|
var n = t[e];
|
|
219
|
-
return n ===
|
|
219
|
+
return n === hr ? void 0 : n;
|
|
220
220
|
}
|
|
221
|
-
return
|
|
221
|
+
return gr.call(t, e) ? t[e] : void 0;
|
|
222
222
|
}
|
|
223
|
-
var
|
|
224
|
-
function
|
|
223
|
+
var yr = Object.prototype, br = yr.hasOwnProperty;
|
|
224
|
+
function _r(e) {
|
|
225
225
|
var t = this.__data__;
|
|
226
|
-
return et ? t[e] !== void 0 :
|
|
226
|
+
return et ? t[e] !== void 0 : br.call(t, e);
|
|
227
227
|
}
|
|
228
|
-
var
|
|
229
|
-
function
|
|
228
|
+
var wr = "__lodash_hash_undefined__";
|
|
229
|
+
function Mr(e, t) {
|
|
230
230
|
var n = this.__data__;
|
|
231
|
-
return this.size += this.has(e) ? 0 : 1, n[e] = et && t === void 0 ?
|
|
231
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = et && t === void 0 ? wr : t, this;
|
|
232
232
|
}
|
|
233
233
|
function je(e) {
|
|
234
234
|
var t = -1, n = e == null ? 0 : e.length;
|
|
@@ -237,40 +237,40 @@ function je(e) {
|
|
|
237
237
|
this.set(a[0], a[1]);
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
je.prototype.clear =
|
|
241
|
-
je.prototype.delete =
|
|
242
|
-
je.prototype.get =
|
|
243
|
-
je.prototype.has =
|
|
244
|
-
je.prototype.set =
|
|
245
|
-
function
|
|
240
|
+
je.prototype.clear = mr;
|
|
241
|
+
je.prototype.delete = fr;
|
|
242
|
+
je.prototype.get = vr;
|
|
243
|
+
je.prototype.has = _r;
|
|
244
|
+
je.prototype.set = Mr;
|
|
245
|
+
function Sr() {
|
|
246
246
|
this.__data__ = [], this.size = 0;
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function gt(e, t) {
|
|
249
249
|
return e === t || e !== e && t !== t;
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function vt(e, t) {
|
|
252
252
|
for (var n = e.length; n--; )
|
|
253
|
-
if (
|
|
253
|
+
if (gt(e[n][0], t))
|
|
254
254
|
return n;
|
|
255
255
|
return -1;
|
|
256
256
|
}
|
|
257
|
-
var
|
|
258
|
-
function
|
|
259
|
-
var t = this.__data__, n =
|
|
257
|
+
var Tr = Array.prototype, Cr = Tr.splice;
|
|
258
|
+
function Ir(e) {
|
|
259
|
+
var t = this.__data__, n = vt(t, e);
|
|
260
260
|
if (n < 0)
|
|
261
261
|
return !1;
|
|
262
262
|
var a = t.length - 1;
|
|
263
|
-
return n == a ? t.pop() :
|
|
263
|
+
return n == a ? t.pop() : Cr.call(t, n, 1), --this.size, !0;
|
|
264
264
|
}
|
|
265
|
-
function
|
|
266
|
-
var t = this.__data__, n =
|
|
265
|
+
function Or(e) {
|
|
266
|
+
var t = this.__data__, n = vt(t, e);
|
|
267
267
|
return n < 0 ? void 0 : t[n][1];
|
|
268
268
|
}
|
|
269
|
-
function
|
|
270
|
-
return
|
|
269
|
+
function Ar(e) {
|
|
270
|
+
return vt(this.__data__, e) > -1;
|
|
271
271
|
}
|
|
272
|
-
function
|
|
273
|
-
var n = this.__data__, a =
|
|
272
|
+
function Er(e, t) {
|
|
273
|
+
var n = this.__data__, a = vt(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) {
|
|
@@ -280,39 +280,39 @@ function Me(e) {
|
|
|
280
280
|
this.set(a[0], a[1]);
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
|
-
Me.prototype.clear =
|
|
284
|
-
Me.prototype.delete =
|
|
285
|
-
Me.prototype.get =
|
|
286
|
-
Me.prototype.has =
|
|
287
|
-
Me.prototype.set =
|
|
283
|
+
Me.prototype.clear = Sr;
|
|
284
|
+
Me.prototype.delete = Ir;
|
|
285
|
+
Me.prototype.get = Or;
|
|
286
|
+
Me.prototype.has = Ar;
|
|
287
|
+
Me.prototype.set = Er;
|
|
288
288
|
var tt = Ke(pe, "Map");
|
|
289
|
-
function
|
|
289
|
+
function Fr() {
|
|
290
290
|
this.size = 0, this.__data__ = {
|
|
291
291
|
hash: new je(),
|
|
292
292
|
map: new (tt || Me)(),
|
|
293
293
|
string: new je()
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function kr(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
|
-
return
|
|
303
|
-
}
|
|
304
|
-
function kr(e) {
|
|
305
|
-
var t = vt(this, e).delete(e);
|
|
306
|
-
return this.size -= t ? 1 : 0, t;
|
|
302
|
+
return kr(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
307
303
|
}
|
|
308
304
|
function Ur(e) {
|
|
309
|
-
|
|
305
|
+
var t = yt(this, e).delete(e);
|
|
306
|
+
return this.size -= t ? 1 : 0, t;
|
|
310
307
|
}
|
|
311
308
|
function $r(e) {
|
|
312
|
-
return
|
|
309
|
+
return yt(this, e).get(e);
|
|
310
|
+
}
|
|
311
|
+
function Vr(e) {
|
|
312
|
+
return yt(this, e).has(e);
|
|
313
313
|
}
|
|
314
|
-
function
|
|
315
|
-
var n =
|
|
314
|
+
function jr(e, t) {
|
|
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) {
|
|
@@ -322,15 +322,15 @@ function Se(e) {
|
|
|
322
322
|
this.set(a[0], a[1]);
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
-
Se.prototype.clear =
|
|
326
|
-
Se.prototype.delete =
|
|
327
|
-
Se.prototype.get =
|
|
328
|
-
Se.prototype.has =
|
|
329
|
-
Se.prototype.set =
|
|
330
|
-
var
|
|
331
|
-
function
|
|
325
|
+
Se.prototype.clear = Fr;
|
|
326
|
+
Se.prototype.delete = Ur;
|
|
327
|
+
Se.prototype.get = $r;
|
|
328
|
+
Se.prototype.has = Vr;
|
|
329
|
+
Se.prototype.set = jr;
|
|
330
|
+
var Rr = "Expected a function";
|
|
331
|
+
function Pt(e, t) {
|
|
332
332
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
333
|
-
throw new TypeError(
|
|
333
|
+
throw new TypeError(Rr);
|
|
334
334
|
var n = function() {
|
|
335
335
|
var a = arguments, i = t ? t.apply(this, a) : a[0], r = n.cache;
|
|
336
336
|
if (r.has(i))
|
|
@@ -338,84 +338,84 @@ function Rt(e, t) {
|
|
|
338
338
|
var s = e.apply(this, a);
|
|
339
339
|
return n.cache = r.set(i, s) || r, s;
|
|
340
340
|
};
|
|
341
|
-
return n.cache = new (
|
|
341
|
+
return n.cache = new (Pt.Cache || Se)(), n;
|
|
342
342
|
}
|
|
343
|
-
|
|
344
|
-
var
|
|
345
|
-
function
|
|
346
|
-
var t =
|
|
347
|
-
return n.size ===
|
|
343
|
+
Pt.Cache = Se;
|
|
344
|
+
var Pr = 500;
|
|
345
|
+
function Nr(e) {
|
|
346
|
+
var t = Pt(e, function(a) {
|
|
347
|
+
return n.size === Pr && n.clear(), a;
|
|
348
348
|
}), n = t.cache;
|
|
349
349
|
return t;
|
|
350
350
|
}
|
|
351
|
-
var
|
|
351
|
+
var Lr = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, qr = /\\(\\)?/g, Kr = Nr(function(e) {
|
|
352
352
|
var t = [];
|
|
353
|
-
return e.charCodeAt(0) === 46 && t.push(""), e.replace(
|
|
354
|
-
t.push(i ? r.replace(
|
|
353
|
+
return e.charCodeAt(0) === 46 && t.push(""), e.replace(Lr, function(n, a, i, r) {
|
|
354
|
+
t.push(i ? r.replace(qr, "$1") : a || n);
|
|
355
355
|
}), t;
|
|
356
356
|
});
|
|
357
|
-
function
|
|
357
|
+
function Dr(e, t) {
|
|
358
358
|
for (var n = -1, a = e == null ? 0 : e.length, i = Array(a); ++n < a; )
|
|
359
359
|
i[n] = t(e[n], n, e);
|
|
360
360
|
return i;
|
|
361
361
|
}
|
|
362
|
-
var
|
|
363
|
-
function
|
|
362
|
+
var Br = 1 / 0, Gt = Ae ? Ae.prototype : void 0, Wt = Gt ? Gt.toString : void 0;
|
|
363
|
+
function zn(e) {
|
|
364
364
|
if (typeof e == "string")
|
|
365
365
|
return e;
|
|
366
366
|
if (ke(e))
|
|
367
|
-
return
|
|
368
|
-
if (
|
|
369
|
-
return
|
|
367
|
+
return Dr(e, zn) + "";
|
|
368
|
+
if (pt(e))
|
|
369
|
+
return Wt ? Wt.call(e) : "";
|
|
370
370
|
var t = e + "";
|
|
371
|
-
return t == "0" && 1 / e == -
|
|
371
|
+
return t == "0" && 1 / e == -Br ? "-0" : t;
|
|
372
372
|
}
|
|
373
|
-
function
|
|
374
|
-
return e == null ? "" :
|
|
373
|
+
function xn(e) {
|
|
374
|
+
return e == null ? "" : zn(e);
|
|
375
375
|
}
|
|
376
|
-
function
|
|
377
|
-
return ke(e) ? e :
|
|
376
|
+
function zr(e, t) {
|
|
377
|
+
return ke(e) ? e : Xa(e, t) ? [e] : Kr(xn(e));
|
|
378
378
|
}
|
|
379
|
-
var
|
|
380
|
-
function
|
|
381
|
-
if (typeof e == "string" ||
|
|
379
|
+
var xr = 1 / 0;
|
|
380
|
+
function Yr(e) {
|
|
381
|
+
if (typeof e == "string" || pt(e))
|
|
382
382
|
return e;
|
|
383
383
|
var t = e + "";
|
|
384
|
-
return t == "0" && 1 / e == -
|
|
384
|
+
return t == "0" && 1 / e == -xr ? "-0" : t;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
387
|
-
t =
|
|
386
|
+
function Hr(e, t) {
|
|
387
|
+
t = zr(t, e);
|
|
388
388
|
for (var n = 0, a = t.length; e != null && n < a; )
|
|
389
|
-
e = e[
|
|
389
|
+
e = e[Yr(t[n++])];
|
|
390
390
|
return n && n == a ? e : void 0;
|
|
391
391
|
}
|
|
392
392
|
function z(e, t, n) {
|
|
393
|
-
var a = e == null ? void 0 :
|
|
393
|
+
var a = e == null ? void 0 : Hr(e, t);
|
|
394
394
|
return a === void 0 ? n : a;
|
|
395
395
|
}
|
|
396
396
|
function X(e) {
|
|
397
397
|
return e == null;
|
|
398
398
|
}
|
|
399
|
-
const $e = "kong-ui-forms-api",
|
|
400
|
-
function
|
|
399
|
+
const $e = "kong-ui-forms-api", Gr = "kong-ui-forms-config", Wr = "redis-partial-list-fetcher-key", He = "autofill", he = "autofillSlot";
|
|
400
|
+
function Zr() {
|
|
401
401
|
this.__data__ = new Me(), this.size = 0;
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function Jr(e) {
|
|
404
404
|
var t = this.__data__, n = t.delete(e);
|
|
405
405
|
return this.size = t.size, n;
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function Qr(e) {
|
|
408
408
|
return this.__data__.get(e);
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function Xr(e) {
|
|
411
411
|
return this.__data__.has(e);
|
|
412
412
|
}
|
|
413
|
-
var
|
|
414
|
-
function
|
|
413
|
+
var eo = 200;
|
|
414
|
+
function to(e, t) {
|
|
415
415
|
var n = this.__data__;
|
|
416
416
|
if (n instanceof Me) {
|
|
417
417
|
var a = n.__data__;
|
|
418
|
-
if (!tt || a.length <
|
|
418
|
+
if (!tt || a.length < eo - 1)
|
|
419
419
|
return a.push([e, t]), this.size = ++n.size, this;
|
|
420
420
|
n = this.__data__ = new Se(a);
|
|
421
421
|
}
|
|
@@ -425,11 +425,11 @@ function Ge(e) {
|
|
|
425
425
|
var t = this.__data__ = new Me(e);
|
|
426
426
|
this.size = t.size;
|
|
427
427
|
}
|
|
428
|
-
Ge.prototype.clear =
|
|
429
|
-
Ge.prototype.delete =
|
|
430
|
-
Ge.prototype.get =
|
|
431
|
-
Ge.prototype.has =
|
|
432
|
-
Ge.prototype.set =
|
|
428
|
+
Ge.prototype.clear = Zr;
|
|
429
|
+
Ge.prototype.delete = Jr;
|
|
430
|
+
Ge.prototype.get = Qr;
|
|
431
|
+
Ge.prototype.has = Xr;
|
|
432
|
+
Ge.prototype.set = to;
|
|
433
433
|
var ot = function() {
|
|
434
434
|
try {
|
|
435
435
|
var e = Ke(Object, "defineProperty");
|
|
@@ -437,7 +437,7 @@ var ot = function() {
|
|
|
437
437
|
} catch {
|
|
438
438
|
}
|
|
439
439
|
}();
|
|
440
|
-
function
|
|
440
|
+
function Yn(e, t, n) {
|
|
441
441
|
t == "__proto__" && ot ? ot(e, t, {
|
|
442
442
|
configurable: !0,
|
|
443
443
|
enumerable: !0,
|
|
@@ -445,156 +445,155 @@ function xn(e, t, n) {
|
|
|
445
445
|
writable: !0
|
|
446
446
|
}) : e[t] = n;
|
|
447
447
|
}
|
|
448
|
-
var
|
|
449
|
-
function
|
|
448
|
+
var no = Object.prototype, io = no.hasOwnProperty;
|
|
449
|
+
function Hn(e, t, n) {
|
|
450
450
|
var a = e[t];
|
|
451
|
-
(!(
|
|
451
|
+
(!(io.call(e, t) && gt(a, n)) || n === void 0 && !(t in e)) && Yn(e, t, n);
|
|
452
452
|
}
|
|
453
|
-
function
|
|
453
|
+
function bt(e, t, n, a) {
|
|
454
454
|
var i = !n;
|
|
455
455
|
n || (n = {});
|
|
456
456
|
for (var r = -1, s = t.length; ++r < s; ) {
|
|
457
457
|
var o = t[r], d = void 0;
|
|
458
|
-
d === void 0 && (d = e[o]), i ?
|
|
458
|
+
d === void 0 && (d = e[o]), i ? Yn(n, o, d) : Hn(n, o, d);
|
|
459
459
|
}
|
|
460
460
|
return n;
|
|
461
461
|
}
|
|
462
|
-
function
|
|
463
|
-
return e &&
|
|
462
|
+
function ao(e, t) {
|
|
463
|
+
return e && bt(t, ht(t), e);
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function ro(e) {
|
|
466
466
|
var t = [];
|
|
467
467
|
if (e != null)
|
|
468
468
|
for (var n in Object(e))
|
|
469
469
|
t.push(n);
|
|
470
470
|
return t;
|
|
471
471
|
}
|
|
472
|
-
var
|
|
473
|
-
function
|
|
472
|
+
var oo = Object.prototype, so = oo.hasOwnProperty;
|
|
473
|
+
function lo(e) {
|
|
474
474
|
if (!me(e))
|
|
475
|
-
return
|
|
476
|
-
var t =
|
|
475
|
+
return ro(e);
|
|
476
|
+
var t = jt(e), n = [];
|
|
477
477
|
for (var a in e)
|
|
478
|
-
a == "constructor" && (t || !
|
|
478
|
+
a == "constructor" && (t || !so.call(e, a)) || n.push(a);
|
|
479
479
|
return n;
|
|
480
480
|
}
|
|
481
|
-
function
|
|
482
|
-
return
|
|
481
|
+
function _t(e) {
|
|
482
|
+
return ft(e) ? Dn(e, !0) : lo(e);
|
|
483
483
|
}
|
|
484
|
-
function
|
|
485
|
-
return e &&
|
|
484
|
+
function uo(e, t) {
|
|
485
|
+
return e && bt(t, _t(t), e);
|
|
486
486
|
}
|
|
487
|
-
var
|
|
488
|
-
function
|
|
487
|
+
var Gn = typeof exports == "object" && exports && !exports.nodeType && exports, Zt = Gn && typeof module == "object" && module && !module.nodeType && module, co = Zt && Zt.exports === Gn, Jt = co ? pe.Buffer : void 0, Qt = Jt ? Jt.allocUnsafe : void 0;
|
|
488
|
+
function mo(e, t) {
|
|
489
489
|
if (t)
|
|
490
490
|
return e.slice();
|
|
491
|
-
var n = e.length, a =
|
|
491
|
+
var n = e.length, a = Qt ? Qt(n) : new e.constructor(n);
|
|
492
492
|
return e.copy(a), a;
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function fo(e, t) {
|
|
495
495
|
var n = -1, a = e.length;
|
|
496
496
|
for (t || (t = Array(a)); ++n < a; )
|
|
497
497
|
t[n] = e[n];
|
|
498
498
|
return t;
|
|
499
499
|
}
|
|
500
|
-
function
|
|
500
|
+
function ho(e, t) {
|
|
501
501
|
for (var n = -1, a = e == null ? 0 : e.length, i = 0, r = []; ++n < a; ) {
|
|
502
502
|
var s = e[n];
|
|
503
503
|
t(s, n, e) && (r[i++] = s);
|
|
504
504
|
}
|
|
505
505
|
return r;
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
function Wn() {
|
|
508
508
|
return [];
|
|
509
509
|
}
|
|
510
|
-
var
|
|
511
|
-
return e == null ? [] : (e = Object(e),
|
|
512
|
-
return
|
|
510
|
+
var po = Object.prototype, go = po.propertyIsEnumerable, Xt = Object.getOwnPropertySymbols, Nt = Xt ? function(e) {
|
|
511
|
+
return e == null ? [] : (e = Object(e), ho(Xt(e), function(t) {
|
|
512
|
+
return go.call(e, t);
|
|
513
513
|
}));
|
|
514
|
-
} :
|
|
515
|
-
function
|
|
516
|
-
return
|
|
514
|
+
} : Wn;
|
|
515
|
+
function vo(e, t) {
|
|
516
|
+
return bt(e, Nt(e), t);
|
|
517
517
|
}
|
|
518
|
-
function
|
|
518
|
+
function Zn(e, t) {
|
|
519
519
|
for (var n = -1, a = t.length, i = e.length; ++n < a; )
|
|
520
520
|
e[i + n] = t[n];
|
|
521
521
|
return e;
|
|
522
522
|
}
|
|
523
|
-
var
|
|
523
|
+
var Jn = Bn(Object.getPrototypeOf, Object), yo = Object.getOwnPropertySymbols, Qn = yo ? function(e) {
|
|
524
524
|
for (var t = []; e; )
|
|
525
|
-
|
|
525
|
+
Zn(t, Nt(e)), e = Jn(e);
|
|
526
526
|
return t;
|
|
527
|
-
} :
|
|
528
|
-
function
|
|
529
|
-
return
|
|
527
|
+
} : Wn;
|
|
528
|
+
function bo(e, t) {
|
|
529
|
+
return bt(e, Qn(e), t);
|
|
530
530
|
}
|
|
531
|
-
function
|
|
531
|
+
function Xn(e, t, n) {
|
|
532
532
|
var a = t(e);
|
|
533
|
-
return ke(e) ? a :
|
|
534
|
-
}
|
|
535
|
-
function bo(e) {
|
|
536
|
-
return Qn(e, ft, Pt);
|
|
533
|
+
return ke(e) ? a : Zn(a, n(e));
|
|
537
534
|
}
|
|
538
535
|
function _o(e) {
|
|
539
|
-
return
|
|
536
|
+
return Xn(e, ht, Nt);
|
|
537
|
+
}
|
|
538
|
+
function wo(e) {
|
|
539
|
+
return Xn(e, _t, Qn);
|
|
540
540
|
}
|
|
541
|
-
var
|
|
542
|
-
(
|
|
543
|
-
var t = Ee(e), n = t ==
|
|
541
|
+
var Ot = Ke(pe, "DataView"), At = Ke(pe, "Promise"), ze = Ke(pe, "Set"), Et = Ke(pe, "WeakMap"), en = "[object Map]", Mo = "[object Object]", tn = "[object Promise]", nn = "[object Set]", an = "[object WeakMap]", rn = "[object DataView]", So = qe(Ot), To = qe(tt), Co = qe(At), Io = qe(ze), Oo = qe(Et), _e = Ee;
|
|
542
|
+
(Ot && _e(new Ot(new ArrayBuffer(1))) != rn || tt && _e(new tt()) != en || At && _e(At.resolve()) != tn || ze && _e(new ze()) != nn || Et && _e(new Et()) != an) && (_e = function(e) {
|
|
543
|
+
var t = Ee(e), n = t == Mo ? e.constructor : void 0, a = n ? qe(n) : "";
|
|
544
544
|
if (a)
|
|
545
545
|
switch (a) {
|
|
546
|
-
case Mo:
|
|
547
|
-
return an;
|
|
548
546
|
case So:
|
|
549
|
-
return
|
|
547
|
+
return rn;
|
|
550
548
|
case To:
|
|
551
549
|
return en;
|
|
552
550
|
case Co:
|
|
553
551
|
return tn;
|
|
554
552
|
case Io:
|
|
555
553
|
return nn;
|
|
554
|
+
case Oo:
|
|
555
|
+
return an;
|
|
556
556
|
}
|
|
557
557
|
return t;
|
|
558
558
|
});
|
|
559
|
-
var
|
|
560
|
-
function
|
|
559
|
+
var Ao = Object.prototype, Eo = Ao.hasOwnProperty;
|
|
560
|
+
function Fo(e) {
|
|
561
561
|
var t = e.length, n = new e.constructor(t);
|
|
562
|
-
return t && typeof e[0] == "string" &&
|
|
562
|
+
return t && typeof e[0] == "string" && Eo.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
563
563
|
}
|
|
564
|
-
var
|
|
565
|
-
function
|
|
564
|
+
var on = pe.Uint8Array;
|
|
565
|
+
function Lt(e) {
|
|
566
566
|
var t = new e.constructor(e.byteLength);
|
|
567
|
-
return new
|
|
567
|
+
return new on(t).set(new on(e)), t;
|
|
568
568
|
}
|
|
569
|
-
function
|
|
570
|
-
var n = t ?
|
|
569
|
+
function ko(e, t) {
|
|
570
|
+
var n = t ? Lt(e.buffer) : e.buffer;
|
|
571
571
|
return new e.constructor(n, e.byteOffset, e.byteLength);
|
|
572
572
|
}
|
|
573
|
-
var
|
|
574
|
-
function
|
|
575
|
-
var t = new e.constructor(e.source,
|
|
573
|
+
var Uo = /\w*$/;
|
|
574
|
+
function $o(e) {
|
|
575
|
+
var t = new e.constructor(e.source, Uo.exec(e));
|
|
576
576
|
return t.lastIndex = e.lastIndex, t;
|
|
577
577
|
}
|
|
578
|
-
var
|
|
579
|
-
function
|
|
580
|
-
return
|
|
578
|
+
var sn = Ae ? Ae.prototype : void 0, ln = sn ? sn.valueOf : void 0;
|
|
579
|
+
function Vo(e) {
|
|
580
|
+
return ln ? Object(ln.call(e)) : {};
|
|
581
581
|
}
|
|
582
|
-
function
|
|
583
|
-
var n = t ?
|
|
582
|
+
function jo(e, t) {
|
|
583
|
+
var n = t ? Lt(e.buffer) : e.buffer;
|
|
584
584
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
585
585
|
}
|
|
586
|
-
var
|
|
587
|
-
function
|
|
586
|
+
var Ro = "[object Boolean]", Po = "[object Date]", No = "[object Map]", Lo = "[object Number]", qo = "[object RegExp]", Ko = "[object Set]", Do = "[object String]", Bo = "[object Symbol]", zo = "[object ArrayBuffer]", xo = "[object DataView]", Yo = "[object Float32Array]", Ho = "[object Float64Array]", Go = "[object Int8Array]", Wo = "[object Int16Array]", Zo = "[object Int32Array]", Jo = "[object Uint8Array]", Qo = "[object Uint8ClampedArray]", Xo = "[object Uint16Array]", es = "[object Uint32Array]";
|
|
587
|
+
function ts(e, t, n) {
|
|
588
588
|
var a = e.constructor;
|
|
589
589
|
switch (t) {
|
|
590
|
-
case
|
|
591
|
-
return
|
|
592
|
-
case jo:
|
|
590
|
+
case zo:
|
|
591
|
+
return Lt(e);
|
|
593
592
|
case Ro:
|
|
593
|
+
case Po:
|
|
594
594
|
return new a(+e);
|
|
595
|
-
case zo:
|
|
596
|
-
return Fo(e, n);
|
|
597
595
|
case xo:
|
|
596
|
+
return ko(e, n);
|
|
598
597
|
case Yo:
|
|
599
598
|
case Ho:
|
|
600
599
|
case Go:
|
|
@@ -603,94 +602,95 @@ function es(e, t, n) {
|
|
|
603
602
|
case Jo:
|
|
604
603
|
case Qo:
|
|
605
604
|
case Xo:
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
return new a();
|
|
605
|
+
case es:
|
|
606
|
+
return jo(e, n);
|
|
609
607
|
case No:
|
|
610
|
-
case Ko:
|
|
611
|
-
return new a(e);
|
|
612
|
-
case Lo:
|
|
613
|
-
return Uo(e);
|
|
614
|
-
case qo:
|
|
615
608
|
return new a();
|
|
609
|
+
case Lo:
|
|
616
610
|
case Do:
|
|
611
|
+
return new a(e);
|
|
612
|
+
case qo:
|
|
617
613
|
return $o(e);
|
|
614
|
+
case Ko:
|
|
615
|
+
return new a();
|
|
616
|
+
case Bo:
|
|
617
|
+
return Vo(e);
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
var
|
|
620
|
+
var dn = Object.create, ns = /* @__PURE__ */ function() {
|
|
621
621
|
function e() {
|
|
622
622
|
}
|
|
623
623
|
return function(t) {
|
|
624
624
|
if (!me(t))
|
|
625
625
|
return {};
|
|
626
|
-
if (
|
|
627
|
-
return
|
|
626
|
+
if (dn)
|
|
627
|
+
return dn(t);
|
|
628
628
|
e.prototype = t;
|
|
629
629
|
var n = new e();
|
|
630
630
|
return e.prototype = void 0, n;
|
|
631
631
|
};
|
|
632
632
|
}();
|
|
633
|
-
function
|
|
634
|
-
return typeof e.constructor == "function" && !
|
|
633
|
+
function is(e) {
|
|
634
|
+
return typeof e.constructor == "function" && !jt(e) ? ns(Jn(e)) : {};
|
|
635
635
|
}
|
|
636
|
-
var
|
|
637
|
-
function
|
|
638
|
-
return Fe(e) && _e(e) ==
|
|
636
|
+
var as = "[object Map]";
|
|
637
|
+
function rs(e) {
|
|
638
|
+
return Fe(e) && _e(e) == as;
|
|
639
639
|
}
|
|
640
|
-
var
|
|
641
|
-
function
|
|
642
|
-
return Fe(e) && _e(e) ==
|
|
640
|
+
var un = xe && xe.isMap, os = un ? Vt(un) : rs, ss = "[object Set]";
|
|
641
|
+
function ls(e) {
|
|
642
|
+
return Fe(e) && _e(e) == ss;
|
|
643
643
|
}
|
|
644
|
-
var
|
|
645
|
-
Y[
|
|
646
|
-
Y[
|
|
644
|
+
var cn = xe && xe.isSet, ds = cn ? Vt(cn) : ls, us = 1, cs = 2, ms = 4, ei = "[object Arguments]", fs = "[object Array]", hs = "[object Boolean]", ps = "[object Date]", gs = "[object Error]", ti = "[object Function]", vs = "[object GeneratorFunction]", ys = "[object Map]", bs = "[object Number]", ni = "[object Object]", _s = "[object RegExp]", ws = "[object Set]", Ms = "[object String]", Ss = "[object Symbol]", Ts = "[object WeakMap]", Cs = "[object ArrayBuffer]", Is = "[object DataView]", Os = "[object Float32Array]", As = "[object Float64Array]", Es = "[object Int8Array]", Fs = "[object Int16Array]", ks = "[object Int32Array]", Us = "[object Uint8Array]", $s = "[object Uint8ClampedArray]", Vs = "[object Uint16Array]", js = "[object Uint32Array]", Y = {};
|
|
645
|
+
Y[ei] = Y[fs] = Y[Cs] = Y[Is] = Y[hs] = Y[ps] = Y[Os] = Y[As] = Y[Es] = Y[Fs] = Y[ks] = Y[ys] = Y[bs] = Y[ni] = Y[_s] = Y[ws] = Y[Ms] = Y[Ss] = Y[Us] = Y[$s] = Y[Vs] = Y[js] = !0;
|
|
646
|
+
Y[gs] = Y[ti] = Y[Ts] = !1;
|
|
647
647
|
function Qe(e, t, n, a, i, r) {
|
|
648
|
-
var s, o = t &
|
|
648
|
+
var s, o = t & us, d = t & cs, l = t & ms;
|
|
649
649
|
if (s !== void 0)
|
|
650
650
|
return s;
|
|
651
651
|
if (!me(e))
|
|
652
652
|
return e;
|
|
653
653
|
var c = ke(e);
|
|
654
654
|
if (c) {
|
|
655
|
-
if (s =
|
|
656
|
-
return
|
|
655
|
+
if (s = Fo(e), !o)
|
|
656
|
+
return fo(e, s);
|
|
657
657
|
} else {
|
|
658
|
-
var m = _e(e), p = m ==
|
|
659
|
-
if (
|
|
660
|
-
return
|
|
661
|
-
if (m ==
|
|
662
|
-
if (s = d || p ? {} :
|
|
663
|
-
return d ?
|
|
658
|
+
var m = _e(e), p = m == ti || m == vs;
|
|
659
|
+
if (Nn(e))
|
|
660
|
+
return mo(e, o);
|
|
661
|
+
if (m == ni || m == ei || p && !i) {
|
|
662
|
+
if (s = d || p ? {} : is(e), !o)
|
|
663
|
+
return d ? bo(e, uo(s, e)) : vo(e, ao(s, e));
|
|
664
664
|
} else {
|
|
665
665
|
if (!Y[m])
|
|
666
666
|
return i ? e : {};
|
|
667
|
-
s =
|
|
667
|
+
s = ts(e, m, o);
|
|
668
668
|
}
|
|
669
669
|
}
|
|
670
670
|
r || (r = new Ge());
|
|
671
671
|
var E = r.get(e);
|
|
672
672
|
if (E)
|
|
673
673
|
return E;
|
|
674
|
-
r.set(e, s),
|
|
674
|
+
r.set(e, s), ds(e) ? e.forEach(function(w) {
|
|
675
675
|
s.add(Qe(w, t, n, w, e, r));
|
|
676
|
-
}) :
|
|
676
|
+
}) : os(e) && e.forEach(function(w, I) {
|
|
677
677
|
s.set(I, Qe(w, t, n, I, e, r));
|
|
678
678
|
});
|
|
679
|
-
var N = l ? d ?
|
|
680
|
-
return
|
|
681
|
-
f && (I = w, w = e[I]),
|
|
679
|
+
var N = l ? d ? wo : _o : d ? _t : ht, f = c ? void 0 : N(e);
|
|
680
|
+
return $n(f || e, function(w, I) {
|
|
681
|
+
f && (I = w, w = e[I]), Hn(s, I, Qe(w, t, n, I, e, r));
|
|
682
682
|
}), s;
|
|
683
683
|
}
|
|
684
|
-
var
|
|
684
|
+
var Rs = 1, Ps = 4;
|
|
685
685
|
function we(e) {
|
|
686
|
-
return Qe(e,
|
|
686
|
+
return Qe(e, Rs | Ps);
|
|
687
687
|
}
|
|
688
|
-
const
|
|
689
|
-
var
|
|
688
|
+
const qt = (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, ""), mn = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
|
|
689
|
+
var Ns = "[object String]";
|
|
690
690
|
function Re(e) {
|
|
691
|
-
return typeof e == "string" || !ke(e) && Fe(e) && Ee(e) ==
|
|
691
|
+
return typeof e == "string" || !ke(e) && Fe(e) && Ee(e) == Ns;
|
|
692
692
|
}
|
|
693
|
-
const
|
|
693
|
+
const ii = {
|
|
694
694
|
methods: {
|
|
695
695
|
// Get style classes of field
|
|
696
696
|
getFieldRowClasses(e) {
|
|
@@ -725,40 +725,40 @@ const ni = {
|
|
|
725
725
|
}
|
|
726
726
|
}
|
|
727
727
|
};
|
|
728
|
-
var
|
|
728
|
+
var Tt = function() {
|
|
729
729
|
return pe.Date.now();
|
|
730
|
-
},
|
|
731
|
-
function
|
|
732
|
-
for (var t = e.length; t-- &&
|
|
730
|
+
}, Ls = /\s/;
|
|
731
|
+
function qs(e) {
|
|
732
|
+
for (var t = e.length; t-- && Ls.test(e.charAt(t)); )
|
|
733
733
|
;
|
|
734
734
|
return t;
|
|
735
735
|
}
|
|
736
|
-
var
|
|
737
|
-
function
|
|
738
|
-
return e && e.slice(0,
|
|
736
|
+
var Ks = /^\s+/;
|
|
737
|
+
function Ds(e) {
|
|
738
|
+
return e && e.slice(0, qs(e) + 1).replace(Ks, "");
|
|
739
739
|
}
|
|
740
|
-
var
|
|
741
|
-
function
|
|
740
|
+
var fn = NaN, Bs = /^[-+]0x[0-9a-f]+$/i, zs = /^0b[01]+$/i, xs = /^0o[0-7]+$/i, Ys = parseInt;
|
|
741
|
+
function Ft(e) {
|
|
742
742
|
if (typeof e == "number")
|
|
743
743
|
return e;
|
|
744
|
-
if (
|
|
745
|
-
return
|
|
744
|
+
if (pt(e))
|
|
745
|
+
return fn;
|
|
746
746
|
if (me(e)) {
|
|
747
747
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
748
748
|
e = me(t) ? t + "" : t;
|
|
749
749
|
}
|
|
750
750
|
if (typeof e != "string")
|
|
751
751
|
return e === 0 ? e : +e;
|
|
752
|
-
e =
|
|
753
|
-
var n =
|
|
754
|
-
return n ||
|
|
752
|
+
e = Ds(e);
|
|
753
|
+
var n = zs.test(e);
|
|
754
|
+
return n || xs.test(e) ? Ys(e.slice(2), n ? 2 : 8) : Bs.test(e) ? fn : +e;
|
|
755
755
|
}
|
|
756
|
-
var
|
|
756
|
+
var Hs = "Expected a function", Gs = Math.max, Ws = Math.min;
|
|
757
757
|
function nt(e, t, n) {
|
|
758
758
|
var a, i, r, s, o, d, l = 0, c = !1, m = !1, p = !0;
|
|
759
759
|
if (typeof e != "function")
|
|
760
|
-
throw new TypeError(
|
|
761
|
-
t =
|
|
760
|
+
throw new TypeError(Hs);
|
|
761
|
+
t = Ft(t) || 0, me(n) && (c = !!n.leading, m = "maxWait" in n, r = m ? Gs(Ft(n.maxWait) || 0, t) : r, p = "trailing" in n ? !!n.trailing : p);
|
|
762
762
|
function E(y) {
|
|
763
763
|
var v = a, P = i;
|
|
764
764
|
return a = i = void 0, l = y, s = e.apply(P, v), s;
|
|
@@ -768,14 +768,14 @@ function nt(e, t, n) {
|
|
|
768
768
|
}
|
|
769
769
|
function f(y) {
|
|
770
770
|
var v = y - d, P = y - l, q = t - v;
|
|
771
|
-
return m ?
|
|
771
|
+
return m ? Ws(q, r - P) : q;
|
|
772
772
|
}
|
|
773
773
|
function w(y) {
|
|
774
774
|
var v = y - d, P = y - l;
|
|
775
775
|
return d === void 0 || v >= t || v < 0 || m && P >= r;
|
|
776
776
|
}
|
|
777
777
|
function I() {
|
|
778
|
-
var y =
|
|
778
|
+
var y = Tt();
|
|
779
779
|
if (w(y))
|
|
780
780
|
return F(y);
|
|
781
781
|
o = setTimeout(I, f(y));
|
|
@@ -787,10 +787,10 @@ function nt(e, t, n) {
|
|
|
787
787
|
o !== void 0 && clearTimeout(o), l = 0, a = d = i = o = void 0;
|
|
788
788
|
}
|
|
789
789
|
function k() {
|
|
790
|
-
return o === void 0 ? s : F(
|
|
790
|
+
return o === void 0 ? s : F(Tt());
|
|
791
791
|
}
|
|
792
792
|
function j() {
|
|
793
|
-
var y =
|
|
793
|
+
var y = Tt(), v = w(y);
|
|
794
794
|
if (a = arguments, i = this, d = y, v) {
|
|
795
795
|
if (o === void 0)
|
|
796
796
|
return N(d);
|
|
@@ -801,11 +801,11 @@ function nt(e, t, n) {
|
|
|
801
801
|
}
|
|
802
802
|
return j.cancel = b, j.flush = k, j;
|
|
803
803
|
}
|
|
804
|
-
var
|
|
805
|
-
function Zs(e) {
|
|
806
|
-
return this.__data__.set(e, Ws), this;
|
|
807
|
-
}
|
|
804
|
+
var Zs = "__lodash_hash_undefined__";
|
|
808
805
|
function Js(e) {
|
|
806
|
+
return this.__data__.set(e, Zs), this;
|
|
807
|
+
}
|
|
808
|
+
function Qs(e) {
|
|
809
809
|
return this.__data__.has(e);
|
|
810
810
|
}
|
|
811
811
|
function st(e) {
|
|
@@ -813,51 +813,51 @@ function st(e) {
|
|
|
813
813
|
for (this.__data__ = new Se(); ++t < n; )
|
|
814
814
|
this.add(e[t]);
|
|
815
815
|
}
|
|
816
|
-
st.prototype.add = st.prototype.push =
|
|
817
|
-
st.prototype.has =
|
|
818
|
-
function
|
|
816
|
+
st.prototype.add = st.prototype.push = Js;
|
|
817
|
+
st.prototype.has = Qs;
|
|
818
|
+
function Xs(e, t, n, a) {
|
|
819
819
|
for (var i = e.length, r = n + -1; ++r < i; )
|
|
820
820
|
if (t(e[r], r, e))
|
|
821
821
|
return r;
|
|
822
822
|
return -1;
|
|
823
823
|
}
|
|
824
|
-
function
|
|
824
|
+
function el(e) {
|
|
825
825
|
return e !== e;
|
|
826
826
|
}
|
|
827
|
-
function
|
|
827
|
+
function tl(e, t, n) {
|
|
828
828
|
for (var a = n - 1, i = e.length; ++a < i; )
|
|
829
829
|
if (e[a] === t)
|
|
830
830
|
return a;
|
|
831
831
|
return -1;
|
|
832
832
|
}
|
|
833
|
-
function
|
|
834
|
-
return t === t ?
|
|
833
|
+
function nl(e, t, n) {
|
|
834
|
+
return t === t ? tl(e, t, n) : Xs(e, el, n);
|
|
835
835
|
}
|
|
836
|
-
function
|
|
836
|
+
function il(e, t) {
|
|
837
837
|
var n = e == null ? 0 : e.length;
|
|
838
|
-
return !!n &&
|
|
838
|
+
return !!n && nl(e, t, 0) > -1;
|
|
839
839
|
}
|
|
840
|
-
function
|
|
840
|
+
function al(e, t) {
|
|
841
841
|
return e.has(t);
|
|
842
842
|
}
|
|
843
|
-
function
|
|
843
|
+
function rl() {
|
|
844
844
|
}
|
|
845
|
-
function
|
|
845
|
+
function ai(e) {
|
|
846
846
|
var t = -1, n = Array(e.size);
|
|
847
847
|
return e.forEach(function(a) {
|
|
848
848
|
n[++t] = a;
|
|
849
849
|
}), n;
|
|
850
850
|
}
|
|
851
|
-
var
|
|
851
|
+
var ol = 1 / 0, sl = ze && 1 / ai(new ze([, -0]))[1] == ol ? function(e) {
|
|
852
852
|
return new ze(e);
|
|
853
|
-
} :
|
|
854
|
-
function
|
|
855
|
-
var a = -1, i =
|
|
856
|
-
if (r >=
|
|
857
|
-
var l =
|
|
853
|
+
} : rl, ll = 200;
|
|
854
|
+
function dl(e, t, n) {
|
|
855
|
+
var a = -1, i = il, r = e.length, s = !0, o = [], d = o;
|
|
856
|
+
if (r >= ll) {
|
|
857
|
+
var l = sl(e);
|
|
858
858
|
if (l)
|
|
859
|
-
return
|
|
860
|
-
s = !1, i =
|
|
859
|
+
return ai(l);
|
|
860
|
+
s = !1, i = al, d = new st();
|
|
861
861
|
} else
|
|
862
862
|
d = o;
|
|
863
863
|
e:
|
|
@@ -872,21 +872,21 @@ function ll(e, t, n) {
|
|
|
872
872
|
}
|
|
873
873
|
return o;
|
|
874
874
|
}
|
|
875
|
-
function ai(e) {
|
|
876
|
-
return e && e.length ? ll(e) : [];
|
|
877
|
-
}
|
|
878
|
-
var dl = 0;
|
|
879
875
|
function ri(e) {
|
|
880
|
-
|
|
881
|
-
return zn(e) + t;
|
|
876
|
+
return e && e.length ? dl(e) : [];
|
|
882
877
|
}
|
|
883
|
-
var
|
|
884
|
-
function
|
|
878
|
+
var ul = 0;
|
|
879
|
+
function oi(e) {
|
|
880
|
+
var t = ++ul;
|
|
881
|
+
return xn(e) + t;
|
|
882
|
+
}
|
|
883
|
+
var si = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, Ce = "\\d\\d?", Te = "\\d\\d", cl = "\\d{3}", ml = "\\d{4}", Xe = "[^\\s]+", li = /\[([^]*?)\]/gm;
|
|
884
|
+
function di(e, t) {
|
|
885
885
|
for (var n = [], a = 0, i = e.length; a < i; a++)
|
|
886
886
|
n.push(e[a].substr(0, t));
|
|
887
887
|
return n;
|
|
888
888
|
}
|
|
889
|
-
var
|
|
889
|
+
var hn = function(e) {
|
|
890
890
|
return function(t, n) {
|
|
891
891
|
var a = n[e].map(function(r) {
|
|
892
892
|
return r.toLowerCase();
|
|
@@ -904,7 +904,7 @@ function Pe(e) {
|
|
|
904
904
|
}
|
|
905
905
|
return e;
|
|
906
906
|
}
|
|
907
|
-
var
|
|
907
|
+
var ui = [
|
|
908
908
|
"Sunday",
|
|
909
909
|
"Monday",
|
|
910
910
|
"Tuesday",
|
|
@@ -912,7 +912,7 @@ var di = [
|
|
|
912
912
|
"Thursday",
|
|
913
913
|
"Friday",
|
|
914
914
|
"Saturday"
|
|
915
|
-
],
|
|
915
|
+
], ci = [
|
|
916
916
|
"January",
|
|
917
917
|
"February",
|
|
918
918
|
"March",
|
|
@@ -925,24 +925,24 @@ var di = [
|
|
|
925
925
|
"October",
|
|
926
926
|
"November",
|
|
927
927
|
"December"
|
|
928
|
-
],
|
|
929
|
-
dayNamesShort:
|
|
930
|
-
dayNames:
|
|
931
|
-
monthNamesShort:
|
|
932
|
-
monthNames:
|
|
928
|
+
], fl = di(ci, 3), hl = di(ui, 3), mi = {
|
|
929
|
+
dayNamesShort: hl,
|
|
930
|
+
dayNames: ui,
|
|
931
|
+
monthNamesShort: fl,
|
|
932
|
+
monthNames: ci,
|
|
933
933
|
amPm: ["am", "pm"],
|
|
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
|
-
}, lt = Pe({},
|
|
937
|
+
}, lt = Pe({}, mi), pl = function(e) {
|
|
938
938
|
return lt = Pe(lt, e);
|
|
939
|
-
},
|
|
939
|
+
}, pn = function(e) {
|
|
940
940
|
return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
|
|
941
941
|
}, ce = function(e, t) {
|
|
942
942
|
for (t === void 0 && (t = 2), e = String(e); e.length < t; )
|
|
943
943
|
e = "0" + e;
|
|
944
944
|
return e;
|
|
945
|
-
},
|
|
945
|
+
}, gl = {
|
|
946
946
|
D: function(e) {
|
|
947
947
|
return String(e.getDate());
|
|
948
948
|
},
|
|
@@ -1029,16 +1029,16 @@ var di = [
|
|
|
1029
1029
|
var t = e.getTimezoneOffset();
|
|
1030
1030
|
return (t > 0 ? "-" : "+") + ce(Math.floor(Math.abs(t) / 60), 2) + ":" + ce(Math.abs(t) % 60, 2);
|
|
1031
1031
|
}
|
|
1032
|
-
},
|
|
1032
|
+
}, gn = function(e) {
|
|
1033
1033
|
return +e - 1;
|
|
1034
|
-
},
|
|
1034
|
+
}, vn = [null, Ce], yn = [null, Xe], bn = [
|
|
1035
1035
|
"isPm",
|
|
1036
1036
|
Xe,
|
|
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;
|
|
1040
1040
|
}
|
|
1041
|
-
],
|
|
1041
|
+
], _n = [
|
|
1042
1042
|
"timezoneOffset",
|
|
1043
1043
|
"[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",
|
|
1044
1044
|
function(e) {
|
|
@@ -1049,14 +1049,14 @@ var di = [
|
|
|
1049
1049
|
}
|
|
1050
1050
|
return 0;
|
|
1051
1051
|
}
|
|
1052
|
-
],
|
|
1052
|
+
], vl = {
|
|
1053
1053
|
D: ["day", Ce],
|
|
1054
1054
|
DD: ["day", Te],
|
|
1055
1055
|
Do: ["day", Ce + Xe, function(e) {
|
|
1056
1056
|
return parseInt(e, 10);
|
|
1057
1057
|
}],
|
|
1058
|
-
M: ["month", Ce,
|
|
1059
|
-
MM: ["month", Te,
|
|
1058
|
+
M: ["month", Ce, gn],
|
|
1059
|
+
MM: ["month", Te, gn],
|
|
1060
1060
|
YY: [
|
|
1061
1061
|
"year",
|
|
1062
1062
|
Te,
|
|
@@ -1073,24 +1073,24 @@ var di = [
|
|
|
1073
1073
|
mm: ["minute", Te],
|
|
1074
1074
|
s: ["second", Ce],
|
|
1075
1075
|
ss: ["second", Te],
|
|
1076
|
-
YYYY: ["year",
|
|
1076
|
+
YYYY: ["year", ml],
|
|
1077
1077
|
S: ["millisecond", "\\d", function(e) {
|
|
1078
1078
|
return +e * 100;
|
|
1079
1079
|
}],
|
|
1080
1080
|
SS: ["millisecond", Te, function(e) {
|
|
1081
1081
|
return +e * 10;
|
|
1082
1082
|
}],
|
|
1083
|
-
SSS: ["millisecond",
|
|
1084
|
-
d:
|
|
1085
|
-
dd:
|
|
1086
|
-
ddd:
|
|
1087
|
-
dddd:
|
|
1088
|
-
MMM: ["month", Xe,
|
|
1089
|
-
MMMM: ["month", Xe,
|
|
1090
|
-
a:
|
|
1091
|
-
A:
|
|
1092
|
-
ZZ:
|
|
1093
|
-
Z:
|
|
1083
|
+
SSS: ["millisecond", cl],
|
|
1084
|
+
d: vn,
|
|
1085
|
+
dd: vn,
|
|
1086
|
+
ddd: yn,
|
|
1087
|
+
dddd: yn,
|
|
1088
|
+
MMM: ["month", Xe, hn("monthNamesShort")],
|
|
1089
|
+
MMMM: ["month", Xe, hn("monthNames")],
|
|
1090
|
+
a: bn,
|
|
1091
|
+
A: bn,
|
|
1092
|
+
ZZ: _n,
|
|
1093
|
+
Z: _n
|
|
1094
1094
|
}, dt = {
|
|
1095
1095
|
default: "ddd MMM DD YYYY HH:mm:ss",
|
|
1096
1096
|
shortDate: "M/D/YY",
|
|
@@ -1102,24 +1102,24 @@ var di = [
|
|
|
1102
1102
|
shortTime: "HH:mm",
|
|
1103
1103
|
mediumTime: "HH:mm:ss",
|
|
1104
1104
|
longTime: "HH:mm:ss.SSS"
|
|
1105
|
-
},
|
|
1105
|
+
}, yl = function(e) {
|
|
1106
1106
|
return Pe(dt, e);
|
|
1107
|
-
},
|
|
1107
|
+
}, bl = function(e, t, n) {
|
|
1108
1108
|
if (t === void 0 && (t = dt.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
1110
|
t = dt[t] || t;
|
|
1111
1111
|
var a = [];
|
|
1112
|
-
t = t.replace(
|
|
1112
|
+
t = t.replace(li, function(r, s) {
|
|
1113
1113
|
return a.push(s), "@@@";
|
|
1114
1114
|
});
|
|
1115
1115
|
var i = Pe(Pe({}, lt), n);
|
|
1116
|
-
return t = t.replace(
|
|
1117
|
-
return
|
|
1116
|
+
return t = t.replace(si, function(r) {
|
|
1117
|
+
return gl[r](e, i);
|
|
1118
1118
|
}), t.replace(/@@@/g, function() {
|
|
1119
1119
|
return a.shift();
|
|
1120
1120
|
});
|
|
1121
1121
|
};
|
|
1122
|
-
function
|
|
1122
|
+
function _l(e, t, n) {
|
|
1123
1123
|
if (n === void 0 && (n = {}), typeof t != "string")
|
|
1124
1124
|
throw new Error("Invalid format in fecha parse");
|
|
1125
1125
|
if (t = dt[t] || t, e.length > 1e3)
|
|
@@ -1134,11 +1134,11 @@ function bl(e, t, n) {
|
|
|
1134
1134
|
millisecond: 0,
|
|
1135
1135
|
isPm: null,
|
|
1136
1136
|
timezoneOffset: null
|
|
1137
|
-
}, r = [], s = [], o = t.replace(
|
|
1138
|
-
return s.push(
|
|
1137
|
+
}, r = [], s = [], o = t.replace(li, function(k, j) {
|
|
1138
|
+
return s.push(pn(j)), "@@@";
|
|
1139
1139
|
}), d = {}, l = {};
|
|
1140
|
-
o =
|
|
1141
|
-
var j =
|
|
1140
|
+
o = pn(o).replace(si, function(k) {
|
|
1141
|
+
var j = vl[k], y = j[0], v = j[1], P = j[3];
|
|
1142
1142
|
if (d[y])
|
|
1143
1143
|
throw new Error("Invalid format. " + y + " specified twice in format");
|
|
1144
1144
|
return d[y] = !0, P && (l[P] = !0), r.push(j), "(" + v + ")";
|
|
@@ -1175,13 +1175,13 @@ function bl(e, t, n) {
|
|
|
1175
1175
|
return I;
|
|
1176
1176
|
}
|
|
1177
1177
|
var Be = {
|
|
1178
|
-
format:
|
|
1179
|
-
parse:
|
|
1180
|
-
defaultI18n:
|
|
1181
|
-
setGlobalDateI18n:
|
|
1182
|
-
setGlobalDateMasks:
|
|
1178
|
+
format: bl,
|
|
1179
|
+
parse: _l,
|
|
1180
|
+
defaultI18n: mi,
|
|
1181
|
+
setGlobalDateI18n: pl,
|
|
1182
|
+
setGlobalDateMasks: yl
|
|
1183
1183
|
};
|
|
1184
|
-
function
|
|
1184
|
+
function wl(e, t, n) {
|
|
1185
1185
|
switch (n.length) {
|
|
1186
1186
|
case 0:
|
|
1187
1187
|
return e.call(t);
|
|
@@ -1194,85 +1194,85 @@ function _l(e, t, n) {
|
|
|
1194
1194
|
}
|
|
1195
1195
|
return e.apply(t, n);
|
|
1196
1196
|
}
|
|
1197
|
-
var
|
|
1198
|
-
function
|
|
1199
|
-
return t =
|
|
1200
|
-
for (var a = arguments, i = -1, r =
|
|
1197
|
+
var wn = Math.max;
|
|
1198
|
+
function Ml(e, t, n) {
|
|
1199
|
+
return t = wn(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
1200
|
+
for (var a = arguments, i = -1, r = wn(a.length - t, 0), s = Array(r); ++i < r; )
|
|
1201
1201
|
s[i] = a[t + i];
|
|
1202
1202
|
i = -1;
|
|
1203
1203
|
for (var o = Array(t + 1); ++i < t; )
|
|
1204
1204
|
o[i] = a[i];
|
|
1205
|
-
return o[t] = n(s),
|
|
1205
|
+
return o[t] = n(s), wl(e, this, o);
|
|
1206
1206
|
};
|
|
1207
1207
|
}
|
|
1208
|
-
function
|
|
1208
|
+
function Sl(e) {
|
|
1209
1209
|
return function() {
|
|
1210
1210
|
return e;
|
|
1211
1211
|
};
|
|
1212
1212
|
}
|
|
1213
|
-
var
|
|
1213
|
+
var Tl = ot ? function(e, t) {
|
|
1214
1214
|
return ot(e, "toString", {
|
|
1215
1215
|
configurable: !0,
|
|
1216
1216
|
enumerable: !1,
|
|
1217
|
-
value:
|
|
1217
|
+
value: Sl(t),
|
|
1218
1218
|
writable: !0
|
|
1219
1219
|
});
|
|
1220
|
-
} :
|
|
1221
|
-
function
|
|
1220
|
+
} : Rt, Cl = 800, Il = 16, Ol = Date.now;
|
|
1221
|
+
function Al(e) {
|
|
1222
1222
|
var t = 0, n = 0;
|
|
1223
1223
|
return function() {
|
|
1224
|
-
var a =
|
|
1224
|
+
var a = Ol(), i = Il - (a - n);
|
|
1225
1225
|
if (n = a, i > 0) {
|
|
1226
|
-
if (++t >=
|
|
1226
|
+
if (++t >= Cl)
|
|
1227
1227
|
return arguments[0];
|
|
1228
1228
|
} else
|
|
1229
1229
|
t = 0;
|
|
1230
1230
|
return e.apply(void 0, arguments);
|
|
1231
1231
|
};
|
|
1232
1232
|
}
|
|
1233
|
-
var
|
|
1234
|
-
function
|
|
1235
|
-
return
|
|
1233
|
+
var El = Al(Tl);
|
|
1234
|
+
function Fl(e, t) {
|
|
1235
|
+
return El(Ml(e, t, Rt), e + "");
|
|
1236
1236
|
}
|
|
1237
|
-
function
|
|
1237
|
+
function kl(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" ? ft(n) && Ln(t, n.length) : a == "string" && t in n) ? gt(n[t], e) : !1;
|
|
1242
1242
|
}
|
|
1243
|
-
var
|
|
1243
|
+
var fi = Object.prototype, Ul = fi.hasOwnProperty, $l = Fl(function(e, t) {
|
|
1244
1244
|
e = Object(e);
|
|
1245
1245
|
var n = -1, a = t.length, i = a > 2 ? t[2] : void 0;
|
|
1246
|
-
for (i &&
|
|
1247
|
-
for (var r = t[n], s =
|
|
1246
|
+
for (i && kl(t[0], t[1], i) && (a = 1); ++n < a; )
|
|
1247
|
+
for (var r = t[n], s = _t(r), o = -1, d = s.length; ++o < d; ) {
|
|
1248
1248
|
var l = s[o], c = e[l];
|
|
1249
|
-
(c === void 0 ||
|
|
1249
|
+
(c === void 0 || gt(c, fi[l]) && !Ul.call(e, l)) && (e[l] = r[l]);
|
|
1250
1250
|
}
|
|
1251
1251
|
return e;
|
|
1252
|
-
}),
|
|
1253
|
-
function
|
|
1254
|
-
return typeof e == "number" &&
|
|
1252
|
+
}), Vl = pe.isFinite;
|
|
1253
|
+
function jl(e) {
|
|
1254
|
+
return typeof e == "number" && Vl(e);
|
|
1255
1255
|
}
|
|
1256
|
-
var
|
|
1257
|
-
function
|
|
1256
|
+
var Mn = 1 / 0, Rl = 17976931348623157e292;
|
|
1257
|
+
function Pl(e) {
|
|
1258
1258
|
if (!e)
|
|
1259
1259
|
return e === 0 ? e : 0;
|
|
1260
|
-
if (e =
|
|
1260
|
+
if (e = Ft(e), e === Mn || e === -Mn) {
|
|
1261
1261
|
var t = e < 0 ? -1 : 1;
|
|
1262
|
-
return t *
|
|
1262
|
+
return t * Rl;
|
|
1263
1263
|
}
|
|
1264
1264
|
return e === e ? e : 0;
|
|
1265
1265
|
}
|
|
1266
|
-
function
|
|
1267
|
-
var t =
|
|
1266
|
+
function Nl(e) {
|
|
1267
|
+
var t = Pl(e), n = t % 1;
|
|
1268
1268
|
return t === t ? n ? t - n : t : 0;
|
|
1269
1269
|
}
|
|
1270
|
-
function
|
|
1271
|
-
return typeof e == "number" && e ==
|
|
1270
|
+
function Ll(e) {
|
|
1271
|
+
return typeof e == "number" && e == Nl(e);
|
|
1272
1272
|
}
|
|
1273
|
-
var
|
|
1274
|
-
function
|
|
1275
|
-
return typeof e == "number" || Fe(e) && Ee(e) ==
|
|
1273
|
+
var ql = "[object Number]";
|
|
1274
|
+
function ut(e) {
|
|
1275
|
+
return typeof e == "number" || Fe(e) && Ee(e) == ql;
|
|
1276
1276
|
}
|
|
1277
1277
|
const Kl = {
|
|
1278
1278
|
packageName: "forms",
|
|
@@ -1481,15 +1481,15 @@ const Kl = {
|
|
|
1481
1481
|
required: (e, t, n, a = oe) => fe(e, t.required, a) || [],
|
|
1482
1482
|
number: (e, t, n, a = oe) => {
|
|
1483
1483
|
let i = fe(e, t.required, a);
|
|
1484
|
-
return i != null || (i = [],
|
|
1484
|
+
return i != null || (i = [], jl(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
1485
|
},
|
|
1486
1486
|
integer: (e, t, n, a = oe) => {
|
|
1487
1487
|
let i = fe(e, t.required, a);
|
|
1488
|
-
return i != null || (i = [], i.concat(Ne.number(e, t, n, a)),
|
|
1488
|
+
return i != null || (i = [], i.concat(Ne.number(e, t, n, a)), Ll(e) || i.push(Z(a.invalidInteger))), i;
|
|
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 ?? (!ut(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);
|
|
@@ -1561,12 +1561,12 @@ const Kl = {
|
|
|
1561
1561
|
};
|
|
1562
1562
|
Object.keys(Ne).forEach((e) => {
|
|
1563
1563
|
const t = Ne[e];
|
|
1564
|
-
H(t) && (t.locale = (n) => (a, i, r) => t(a, i, r,
|
|
1564
|
+
H(t) && (t.locale = (n) => (a, i, r) => t(a, i, r, $l(n, oe)));
|
|
1565
1565
|
});
|
|
1566
|
-
function
|
|
1566
|
+
function Sn(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 Ct(e, t, n) {
|
|
1570
1570
|
let a = z(n.context, "schema.attributes", {});
|
|
1571
1571
|
const i = t.value || "input";
|
|
1572
1572
|
Re(i) && (a = z(a, i) || a), le(a, (r, s) => {
|
|
@@ -1586,9 +1586,9 @@ const ye = {
|
|
|
1586
1586
|
},
|
|
1587
1587
|
directives: {
|
|
1588
1588
|
attributes: {
|
|
1589
|
-
beforeMount:
|
|
1590
|
-
updated:
|
|
1591
|
-
componentUpdated:
|
|
1589
|
+
beforeMount: Ct,
|
|
1590
|
+
updated: Ct,
|
|
1591
|
+
componentUpdated: Ct
|
|
1592
1592
|
}
|
|
1593
1593
|
},
|
|
1594
1594
|
computed: {
|
|
@@ -1612,8 +1612,8 @@ const ye = {
|
|
|
1612
1612
|
if (this.schema.validator && this.schema.readonly !== !0 && this.disabled !== !0) {
|
|
1613
1613
|
const i = [];
|
|
1614
1614
|
Array.isArray(this.schema.validator) ? le(this.schema.validator, (r) => {
|
|
1615
|
-
i.push(
|
|
1616
|
-
}) : i.push(
|
|
1615
|
+
i.push(Sn(r).bind(this));
|
|
1616
|
+
}) : i.push(Sn(this.schema.validator).bind(this)), le(i, (r) => {
|
|
1617
1617
|
if (t)
|
|
1618
1618
|
n.push(r(this.value, this.schema, this.model));
|
|
1619
1619
|
else {
|
|
@@ -1628,7 +1628,7 @@ const ye = {
|
|
|
1628
1628
|
}
|
|
1629
1629
|
const a = (i) => {
|
|
1630
1630
|
let r = [];
|
|
1631
|
-
le(
|
|
1631
|
+
le(ri(i), (o) => {
|
|
1632
1632
|
Array.isArray(o) && o.length > 0 ? r = r.concat(o) : Re(o) && r.push(o);
|
|
1633
1633
|
}), H(this.schema.onValidated) && this.schema.onValidated.call(this, this.model, r, this.schema);
|
|
1634
1634
|
const s = r.length === 0;
|
|
@@ -1669,7 +1669,7 @@ const ye = {
|
|
|
1669
1669
|
},
|
|
1670
1670
|
getFieldID(e, t = !1) {
|
|
1671
1671
|
const n = z(this.formOptions, "fieldIdPrefix", "");
|
|
1672
|
-
return
|
|
1672
|
+
return qt(e, n) + (t ? "-" + oi() : "");
|
|
1673
1673
|
},
|
|
1674
1674
|
getLabelId(e) {
|
|
1675
1675
|
return `${this.getFieldID(e)}-label`;
|
|
@@ -1786,7 +1786,7 @@ const Zl = /* @__PURE__ */ x(Yl, [["render", Wl], ["__scopeId", "data-v-acfccff7
|
|
|
1786
1786
|
]);
|
|
1787
1787
|
};
|
|
1788
1788
|
}
|
|
1789
|
-
}),
|
|
1789
|
+
}), hi = /* @__PURE__ */ x(Ql, [["__scopeId", "data-v-96055692"]]), Xl = { class: "array-item-wrapper" }, ed = { class: "array-item" }, td = { class: "array-item-after" }, nd = /* @__PURE__ */ re({
|
|
1790
1790
|
__name: "FieldArrayItem",
|
|
1791
1791
|
props: {
|
|
1792
1792
|
model: {
|
|
@@ -1818,7 +1818,7 @@ const Zl = /* @__PURE__ */ x(Yl, [["render", Wl], ["__scopeId", "data-v-acfccff7
|
|
|
1818
1818
|
]);
|
|
1819
1819
|
};
|
|
1820
1820
|
}
|
|
1821
|
-
}),
|
|
1821
|
+
}), pi = /* @__PURE__ */ x(nd, [["__scopeId", "data-v-eb9975cc"]]), id = { class: "multi-item-wrapper" }, ad = /* @__PURE__ */ re({
|
|
1822
1822
|
__name: "FieldArrayMultiItem",
|
|
1823
1823
|
emits: ["remove-item"],
|
|
1824
1824
|
setup(e) {
|
|
@@ -1840,7 +1840,7 @@ const Zl = /* @__PURE__ */ x(Yl, [["render", Wl], ["__scopeId", "data-v-acfccff7
|
|
|
1840
1840
|
]);
|
|
1841
1841
|
};
|
|
1842
1842
|
}
|
|
1843
|
-
}),
|
|
1843
|
+
}), gi = /* @__PURE__ */ x(ad, [["__scopeId", "data-v-37458a0a"]]), rd = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", od = (e) => e ? e.length === 36 && new RegExp(`^${rd}$`).test(e) : !1, It = 50, Ve = {
|
|
1844
1844
|
CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
|
|
1845
1845
|
CREATE_FROM_ENTITY: "CREATE_FROM_ENTITY",
|
|
1846
1846
|
UPDATE_ENTITY: "UPDATE_ENTITY",
|
|
@@ -1938,15 +1938,15 @@ const ld = {
|
|
|
1938
1938
|
let n = null;
|
|
1939
1939
|
if (!this[$e])
|
|
1940
1940
|
return console.warn("[@kong-ui-public/forms] No API service provided"), [];
|
|
1941
|
-
for (; t.length <
|
|
1941
|
+
for (; t.length < It; ) {
|
|
1942
1942
|
const a = await this[$e].getAll(this.entity, {
|
|
1943
|
-
size:
|
|
1943
|
+
size: It,
|
|
1944
1944
|
offset: n,
|
|
1945
1945
|
...e
|
|
1946
1946
|
});
|
|
1947
1947
|
if (t.push(...a.data.data), n = a.data.offset, !n) break;
|
|
1948
1948
|
}
|
|
1949
|
-
return t.slice(0,
|
|
1949
|
+
return t.slice(0, It);
|
|
1950
1950
|
},
|
|
1951
1951
|
async fetchSuggestions(e, t) {
|
|
1952
1952
|
return this.fetchUntilLimit({ [t]: e });
|
|
@@ -2022,7 +2022,7 @@ function md(e, t, n, a, i, r) {
|
|
|
2022
2022
|
_: 1
|
|
2023
2023
|
}, 8, ["text"]);
|
|
2024
2024
|
}
|
|
2025
|
-
const
|
|
2025
|
+
const vi = /* @__PURE__ */ x(ld, [["render", md], ["__scopeId", "data-v-40a272a2"]]);
|
|
2026
2026
|
function fd(e) {
|
|
2027
2027
|
const t = ue([]), n = ue(null), a = (f) => Re(f) ? Ne[f] != null ? Ne[f] : (console.warn(`'${f}' is not a validator function!`), null) : f, i = L({
|
|
2028
2028
|
get() {
|
|
@@ -2060,7 +2060,7 @@ function fd(e) {
|
|
|
2060
2060
|
const b = (j) => {
|
|
2061
2061
|
var v, P;
|
|
2062
2062
|
let y = [];
|
|
2063
|
-
if (le(
|
|
2063
|
+
if (le(ri(j), (q) => {
|
|
2064
2064
|
Array.isArray(q) && q.length > 0 ? y = y.concat(q) : Re(q) && y.push(q);
|
|
2065
2065
|
}), H((v = e.schema) == null ? void 0 : v.onValidated) && e.schema.onValidated((P = e.model) == null ? void 0 : P.value, y, e.schema), !f) {
|
|
2066
2066
|
const q = y.length === 0;
|
|
@@ -2098,7 +2098,7 @@ function fd(e) {
|
|
|
2098
2098
|
}
|
|
2099
2099
|
}, c = (f, w = !1) => {
|
|
2100
2100
|
const I = z(e.formOptions, "fieldIdPrefix", "");
|
|
2101
|
-
return
|
|
2101
|
+
return qt(f, I) + (w ? "-" + oi() : "");
|
|
2102
2102
|
}, m = (f) => `${c(f)}-label`, p = () => z(e.schema, "fieldClasses", []), E = (f) => e.formatValueToField && typeof e.formatValueToField == "function" ? e.formatValueToField(f) : f, N = (f) => e.formatValueToModel && typeof e.formatValueToModel == "function" ? e.formatValueToModel(f) : f;
|
|
2103
2103
|
return {
|
|
2104
2104
|
value: i,
|
|
@@ -2221,13 +2221,13 @@ const be = {
|
|
|
2221
2221
|
const y = p[m.value] || "", v = Be.parse(b, y);
|
|
2222
2222
|
v && ((P = a.schema) != null && P.format ? j = Be.format(v, (q = a.schema) == null ? void 0 : q.format) : j = v.valueOf()), o(j, k);
|
|
2223
2223
|
}, N = (b, k) => {
|
|
2224
|
-
|
|
2224
|
+
ut(b) || (b = NaN), o(b, k);
|
|
2225
2225
|
}, f = (b) => {
|
|
2226
2226
|
let k = b;
|
|
2227
2227
|
switch (m.value) {
|
|
2228
2228
|
case "number":
|
|
2229
2229
|
case "range":
|
|
2230
|
-
|
|
2230
|
+
ut(parseFloat(b)) && (k = parseFloat(b));
|
|
2231
2231
|
break;
|
|
2232
2232
|
}
|
|
2233
2233
|
c.value = k, o(k, b);
|
|
@@ -2237,7 +2237,7 @@ const be = {
|
|
|
2237
2237
|
var b;
|
|
2238
2238
|
H(I.value) && ((b = I.value) == null || b.flush());
|
|
2239
2239
|
};
|
|
2240
|
-
return
|
|
2240
|
+
return En(() => {
|
|
2241
2241
|
switch (m.value) {
|
|
2242
2242
|
case "number":
|
|
2243
2243
|
case "range":
|
|
@@ -2267,7 +2267,7 @@ const be = {
|
|
|
2267
2267
|
);
|
|
2268
2268
|
break;
|
|
2269
2269
|
}
|
|
2270
|
-
}),
|
|
2270
|
+
}), kt(() => {
|
|
2271
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.");
|
|
2272
2272
|
}), (b, k) => {
|
|
2273
2273
|
const j = O("KInput");
|
|
@@ -2302,9 +2302,9 @@ const be = {
|
|
|
2302
2302
|
]);
|
|
2303
2303
|
};
|
|
2304
2304
|
}
|
|
2305
|
-
}),
|
|
2305
|
+
}), yi = /* @__PURE__ */ x(vd, [["__scopeId", "data-v-fe1132bb"]]), yd = {
|
|
2306
2306
|
name: "FieldMetric",
|
|
2307
|
-
components: { AddIcon:
|
|
2307
|
+
components: { AddIcon: $t, TrashIcon: at },
|
|
2308
2308
|
mixins: [ye],
|
|
2309
2309
|
emits: ["remove-item"],
|
|
2310
2310
|
data() {
|
|
@@ -2328,7 +2328,7 @@ function _d(e, t, n, a, i, r) {
|
|
|
2328
2328
|
ee(U(e.model.name ? e.model.name : "New Item") + " ", 1),
|
|
2329
2329
|
T(s, { class: "metric-add-icon" })
|
|
2330
2330
|
]),
|
|
2331
|
-
T(
|
|
2331
|
+
T(Oi, { name: "slide-fade" }, {
|
|
2332
2332
|
default: C(() => [
|
|
2333
2333
|
i.contentVisible ? (u(), g("div", bd, [
|
|
2334
2334
|
Oe(e.$slots, "default"),
|
|
@@ -2348,7 +2348,7 @@ function _d(e, t, n, a, i, r) {
|
|
|
2348
2348
|
})
|
|
2349
2349
|
], 2);
|
|
2350
2350
|
}
|
|
2351
|
-
const
|
|
2351
|
+
const bi = /* @__PURE__ */ x(yd, [["render", _d]]), wd = {
|
|
2352
2352
|
mixins: [ye],
|
|
2353
2353
|
emits: ["modelUpdated"],
|
|
2354
2354
|
data() {
|
|
@@ -2387,7 +2387,7 @@ const yi = /* @__PURE__ */ x(yd, [["render", _d]]), wd = {
|
|
|
2387
2387
|
}
|
|
2388
2388
|
}, Md = { class: "field-object-container" }, Sd = { key: 1 }, Td = ["id"], Cd = { key: 0 }, Id = ["onUpdate:modelValue"], Od = { key: 1 }, Ad = ["onUpdate:modelValue"], Ed = { key: 2 }, Fd = ["onUpdate:modelValue"], kd = ["onClick"];
|
|
2389
2389
|
function Ud(e, t, n, a, i, r) {
|
|
2390
|
-
const s = O("vue-form-generator"), o =
|
|
2390
|
+
const s = O("vue-form-generator"), o = Fn("attributes");
|
|
2391
2391
|
return de((u(), g("div", Md, [
|
|
2392
2392
|
e.schema.schema ? (u(), A(s, {
|
|
2393
2393
|
key: 0,
|
|
@@ -2415,7 +2415,7 @@ function Ud(e, t, n, a, i, r) {
|
|
|
2415
2415
|
"onUpdate:modelValue": (c) => e.value[l] = c,
|
|
2416
2416
|
type: "checkbox"
|
|
2417
2417
|
}, null, 8, Ad), [
|
|
2418
|
-
[
|
|
2418
|
+
[Ai, e.value[l]]
|
|
2419
2419
|
])
|
|
2420
2420
|
])) : V("", !0),
|
|
2421
2421
|
i.keyTypes[l] === "number" ? (u(), g("td", Ed, [
|
|
@@ -2442,7 +2442,7 @@ function Ud(e, t, n, a, i, r) {
|
|
|
2442
2442
|
h("option", { value: "number" }, " Number ", -1),
|
|
2443
2443
|
h("option", { value: "boolean" }, " Boolean ", -1)
|
|
2444
2444
|
]), 512), [
|
|
2445
|
-
[
|
|
2445
|
+
[Ei, i.newKeyType]
|
|
2446
2446
|
]),
|
|
2447
2447
|
de(h("input", {
|
|
2448
2448
|
"onUpdate:modelValue": t[1] || (t[1] = (d) => i.newKeyName = d),
|
|
@@ -2460,7 +2460,7 @@ function Ud(e, t, n, a, i, r) {
|
|
|
2460
2460
|
[o, i.attributes]
|
|
2461
2461
|
]);
|
|
2462
2462
|
}
|
|
2463
|
-
const
|
|
2463
|
+
const _i = /* @__PURE__ */ x(wd, [["render", Ud], ["__scopeId", "data-v-b7e3dcd7"]]), $d = {
|
|
2464
2464
|
components: {
|
|
2465
2465
|
TrashIcon: at
|
|
2466
2466
|
},
|
|
@@ -2613,7 +2613,7 @@ function xd(e, t, n, a, i, r) {
|
|
|
2613
2613
|
type: r.valueInputType,
|
|
2614
2614
|
onInput: (m) => r.updateModel(e.value[c], e.model[e.schema.model])
|
|
2615
2615
|
}, null, 40, qd), [
|
|
2616
|
-
[
|
|
2616
|
+
[kn, e.value[c]]
|
|
2617
2617
|
]),
|
|
2618
2618
|
e.schema.fields && e.schema.fields[0].schema.hint ? (u(), g("p", Kd, U(e.schema.fields[0].schema.hint), 1)) : V("", !0),
|
|
2619
2619
|
(u(), A(ne(r.autofillSlot), {
|
|
@@ -2655,7 +2655,7 @@ function xd(e, t, n, a, i, r) {
|
|
|
2655
2655
|
], 2)
|
|
2656
2656
|
], 10, Vd);
|
|
2657
2657
|
}
|
|
2658
|
-
const
|
|
2658
|
+
const wi = /* @__PURE__ */ x($d, [["render", xd], ["__scopeId", "data-v-9c0cacfc"]]), Yd = { class: "radio-selection-group" }, Hd = /* @__PURE__ */ re({
|
|
2659
2659
|
__name: "FieldRadio",
|
|
2660
2660
|
props: {
|
|
2661
2661
|
disabled: {
|
|
@@ -2728,7 +2728,7 @@ const _i = /* @__PURE__ */ x($d, [["render", xd], ["__scopeId", "data-v-9c0cacfc
|
|
|
2728
2728
|
]);
|
|
2729
2729
|
};
|
|
2730
2730
|
}
|
|
2731
|
-
}),
|
|
2731
|
+
}), Mi = /* @__PURE__ */ x(Hd, [["__scopeId", "data-v-09b8afda"]]), Si = /* @__PURE__ */ re({
|
|
2732
2732
|
__name: "FieldSelect",
|
|
2733
2733
|
props: {
|
|
2734
2734
|
disabled: {
|
|
@@ -2834,16 +2834,16 @@ const _i = /* @__PURE__ */ x($d, [["render", xd], ["__scopeId", "data-v-9c0cacfc
|
|
|
2834
2834
|
}), Gd = {
|
|
2835
2835
|
name: "FieldArray",
|
|
2836
2836
|
components: {
|
|
2837
|
-
FieldArrayItem:
|
|
2838
|
-
FieldArrayMultiItem:
|
|
2839
|
-
FieldSelect:
|
|
2840
|
-
FieldMetric:
|
|
2841
|
-
FieldObject:
|
|
2842
|
-
FieldObjectAdvanced:
|
|
2843
|
-
FieldAutoSuggest:
|
|
2844
|
-
FieldRadio:
|
|
2845
|
-
FieldArrayCardContainer:
|
|
2846
|
-
FieldInput:
|
|
2837
|
+
FieldArrayItem: pi,
|
|
2838
|
+
FieldArrayMultiItem: gi,
|
|
2839
|
+
FieldSelect: Si,
|
|
2840
|
+
FieldMetric: bi,
|
|
2841
|
+
FieldObject: _i,
|
|
2842
|
+
FieldObjectAdvanced: wi,
|
|
2843
|
+
FieldAutoSuggest: vi,
|
|
2844
|
+
FieldRadio: Mi,
|
|
2845
|
+
FieldArrayCardContainer: hi,
|
|
2846
|
+
FieldInput: yi
|
|
2847
2847
|
},
|
|
2848
2848
|
mixins: [ye],
|
|
2849
2849
|
inject: {
|
|
@@ -2893,7 +2893,7 @@ const _i = /* @__PURE__ */ x($d, [["render", xd], ["__scopeId", "data-v-9c0cacfc
|
|
|
2893
2893
|
handleInput(e, t) {
|
|
2894
2894
|
var a, i;
|
|
2895
2895
|
let n = e;
|
|
2896
|
-
((i = (a = this.schema) == null ? void 0 : a.inputAttributes) == null ? void 0 : i.type) === "number" &&
|
|
2896
|
+
((i = (a = this.schema) == null ? void 0 : a.inputAttributes) == null ? void 0 : i.type) === "number" && ut(parseFloat(e)) && (n = parseFloat(e)), this.value = this.value.map((r, s) => s === t ? n : r);
|
|
2897
2897
|
}
|
|
2898
2898
|
}
|
|
2899
2899
|
}, Wd = ["id"], Zd = { key: 1 }, Jd = ["onUpdate:modelValue", "aria-labelledby", "type"], Qd = ["onUpdate:modelValue", "aria-labelledby"];
|
|
@@ -2985,7 +2985,7 @@ function Xd(e, t, n, a, i, r) {
|
|
|
2985
2985
|
}, e.schema.inputAttributes, {
|
|
2986
2986
|
type: ((m = e.schema.inputAttributes) == null ? void 0 : m.type) || "text"
|
|
2987
2987
|
}), null, 16, Jd)), [
|
|
2988
|
-
[
|
|
2988
|
+
[kn, e.value[c]]
|
|
2989
2989
|
])
|
|
2990
2990
|
];
|
|
2991
2991
|
}),
|
|
@@ -3019,7 +3019,7 @@ function Xd(e, t, n, a, i, r) {
|
|
|
3019
3019
|
}, 8, ["class", "data-testid", "onClick"])
|
|
3020
3020
|
], 10, Wd)) : V("", !0);
|
|
3021
3021
|
}
|
|
3022
|
-
const eu = /* @__PURE__ */ x(Gd, [["render", Xd], ["__scopeId", "data-v-
|
|
3022
|
+
const eu = /* @__PURE__ */ x(Gd, [["render", Xd], ["__scopeId", "data-v-1089abe7"]]), tu = { class: "form-field-wrapper field-checkbox" }, nu = /* @__PURE__ */ re({
|
|
3023
3023
|
__name: "FieldCheckbox",
|
|
3024
3024
|
props: {
|
|
3025
3025
|
disabled: {
|
|
@@ -3090,12 +3090,12 @@ const eu = /* @__PURE__ */ x(Gd, [["render", Xd], ["__scopeId", "data-v-2704b66e
|
|
|
3090
3090
|
}
|
|
3091
3091
|
}), iu = /* @__PURE__ */ x(nu, [["__scopeId", "data-v-6b4ee1cd"]]);
|
|
3092
3092
|
var au = 4;
|
|
3093
|
-
function
|
|
3093
|
+
function Tn(e) {
|
|
3094
3094
|
return Qe(e, au);
|
|
3095
3095
|
}
|
|
3096
3096
|
const ru = { class: "wrapper" }, ou = ["disabled"], su = ["id", "checked", "disabled", "onChange", "name"], lu = ["disabled"], du = { class: "info" }, uu = { class: "dropList" }, cu = ["id", "checked", "disabled", "onChange", "name"];
|
|
3097
3097
|
function mu(e, t, n, a, i, r) {
|
|
3098
|
-
const s =
|
|
3098
|
+
const s = Fn("attributes");
|
|
3099
3099
|
return de((u(), g("div", ru, [
|
|
3100
3100
|
e.schema.listBox ? (u(), g("div", {
|
|
3101
3101
|
key: 0,
|
|
@@ -3174,7 +3174,7 @@ const fu = {
|
|
|
3174
3174
|
},
|
|
3175
3175
|
methods: {
|
|
3176
3176
|
getInputName(e) {
|
|
3177
|
-
return this.schema && this.schema.inputName && this.schema.inputName.length > 0 ?
|
|
3177
|
+
return this.schema && this.schema.inputName && this.schema.inputName.length > 0 ? mn(this.schema.inputName + "_" + this.getItemValue(e)) : mn(this.getItemValue(e));
|
|
3178
3178
|
},
|
|
3179
3179
|
getItemValue(e) {
|
|
3180
3180
|
if (me(e)) {
|
|
@@ -3201,10 +3201,10 @@ const fu = {
|
|
|
3201
3201
|
},
|
|
3202
3202
|
onChanged(e, t) {
|
|
3203
3203
|
if ((X(this.value) || !Array.isArray(this.value)) && (this.value = []), e.target.checked) {
|
|
3204
|
-
const n =
|
|
3204
|
+
const n = Tn(this.value);
|
|
3205
3205
|
n.push(this.getItemValue(t)), this.value = n;
|
|
3206
3206
|
} else {
|
|
3207
|
-
const n =
|
|
3207
|
+
const n = Tn(this.value);
|
|
3208
3208
|
n.splice(this.value.indexOf(this.getItemValue(t)), 1), this.value = n;
|
|
3209
3209
|
}
|
|
3210
3210
|
},
|
|
@@ -3423,7 +3423,7 @@ const Mu = /* @__PURE__ */ x(pu, [["render", wu], ["__scopeId", "data-v-70998d5b
|
|
|
3423
3423
|
},
|
|
3424
3424
|
emits: ["modelUpdated"],
|
|
3425
3425
|
setup(e, { expose: t, emit: n }) {
|
|
3426
|
-
const a = e, i = n, r =
|
|
3426
|
+
const a = e, i = n, r = Fi(a, "model"), { getLabelId: s, getFieldID: o, clearValidationErrors: d, value: l } = be.useAbstractFields({
|
|
3427
3427
|
model: r,
|
|
3428
3428
|
schema: a.schema,
|
|
3429
3429
|
formOptions: a.formOptions,
|
|
@@ -3526,7 +3526,7 @@ function Vu(e, t, n, a, i, r) {
|
|
|
3526
3526
|
type: "radio",
|
|
3527
3527
|
value: d
|
|
3528
3528
|
}, null, 8, Fu), [
|
|
3529
|
-
[
|
|
3529
|
+
[ki, i.checkedGroup]
|
|
3530
3530
|
]),
|
|
3531
3531
|
ee(" " + U(o.label) + " ", 1),
|
|
3532
3532
|
h("div", ku, U(o.description), 1)
|
|
@@ -3551,7 +3551,7 @@ function Vu(e, t, n, a, i, r) {
|
|
|
3551
3551
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
3552
3552
|
])
|
|
3553
3553
|
], 512), [
|
|
3554
|
-
[
|
|
3554
|
+
[Ui, o.fields && i.checkedGroup === d]
|
|
3555
3555
|
])
|
|
3556
3556
|
]))), 128))
|
|
3557
3557
|
]);
|
|
@@ -3712,28 +3712,28 @@ const ju = /* @__PURE__ */ x(Iu, [["render", Vu], ["__scopeId", "data-v-56d57edb
|
|
|
3712
3712
|
__proto__: null,
|
|
3713
3713
|
FieldAdvanced: Zl,
|
|
3714
3714
|
FieldArray: eu,
|
|
3715
|
-
FieldArrayCardContainer:
|
|
3716
|
-
FieldArrayItem:
|
|
3717
|
-
FieldArrayMultiItem:
|
|
3718
|
-
FieldAutoSuggest:
|
|
3715
|
+
FieldArrayCardContainer: hi,
|
|
3716
|
+
FieldArrayItem: pi,
|
|
3717
|
+
FieldArrayMultiItem: gi,
|
|
3718
|
+
FieldAutoSuggest: vi,
|
|
3719
3719
|
FieldCheckbox: iu,
|
|
3720
3720
|
FieldChecklist: hu,
|
|
3721
|
-
FieldInput:
|
|
3721
|
+
FieldInput: yi,
|
|
3722
3722
|
FieldKeyValuePairs: Mu,
|
|
3723
3723
|
FieldLabel: Tu,
|
|
3724
|
-
FieldMetric:
|
|
3724
|
+
FieldMetric: bi,
|
|
3725
3725
|
FieldMultiselect: Cu,
|
|
3726
|
-
FieldObject:
|
|
3727
|
-
FieldObjectAdvanced:
|
|
3728
|
-
FieldRadio:
|
|
3729
|
-
FieldSelect:
|
|
3726
|
+
FieldObject: _i,
|
|
3727
|
+
FieldObjectAdvanced: wi,
|
|
3728
|
+
FieldRadio: Mi,
|
|
3729
|
+
FieldSelect: Si,
|
|
3730
3730
|
FieldSelectionGroup: ju,
|
|
3731
3731
|
FieldSwitch: Pu,
|
|
3732
3732
|
FieldTextArea: qu
|
|
3733
3733
|
}, Symbol.toStringTag, { value: "Module" })), Du = {
|
|
3734
3734
|
name: "FormGroup",
|
|
3735
3735
|
components: Ku,
|
|
3736
|
-
mixins: [
|
|
3736
|
+
mixins: [ii],
|
|
3737
3737
|
inject: {
|
|
3738
3738
|
"vfg-array-item-index": {
|
|
3739
3739
|
default: void 0
|
|
@@ -3805,7 +3805,7 @@ const ju = /* @__PURE__ */ x(Iu, [["render", Vu], ["__scopeId", "data-v-56d57edb
|
|
|
3805
3805
|
},
|
|
3806
3806
|
getFieldID(e) {
|
|
3807
3807
|
const t = z(this.options, "fieldIdPrefix", "");
|
|
3808
|
-
return
|
|
3808
|
+
return qt(e, t);
|
|
3809
3809
|
},
|
|
3810
3810
|
getTooltipId(e) {
|
|
3811
3811
|
return `${this.getFieldID(e)}-tooltip`;
|
|
@@ -3879,7 +3879,7 @@ function Xu(e, t, n, a, i, r) {
|
|
|
3879
3879
|
placement: "top",
|
|
3880
3880
|
tooltipId: r.getTooltipId(n.field)
|
|
3881
3881
|
} : void 0
|
|
3882
|
-
},
|
|
3882
|
+
}, Un({
|
|
3883
3883
|
default: C(() => [
|
|
3884
3884
|
h("div", zu, [
|
|
3885
3885
|
h("span", {
|
|
@@ -3945,15 +3945,15 @@ function Xu(e, t, n, a, i, r) {
|
|
|
3945
3945
|
])) : V("", !0)
|
|
3946
3946
|
], 2);
|
|
3947
3947
|
}
|
|
3948
|
-
const
|
|
3949
|
-
var
|
|
3948
|
+
const Ti = /* @__PURE__ */ x(Du, [["render", Xu], ["__scopeId", "data-v-0cb2e226"]]), ec = "12px";
|
|
3949
|
+
var ct = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(ct || {});
|
|
3950
3950
|
const tc = (e) => {
|
|
3951
3951
|
var t, n;
|
|
3952
|
-
return e.type ===
|
|
3952
|
+
return e.type === ct.REDIS_CE ? "Host/Port" : (t = e.config.sentinel_nodes) != null && t.length ? "Sentinel" : (n = e.config.cluster_nodes) != null && n.length ? "Cluster" : "Host/Port";
|
|
3953
3953
|
}, nc = {
|
|
3954
|
-
[
|
|
3955
|
-
[
|
|
3956
|
-
},
|
|
3954
|
+
[ct.REDIS_CE]: "open source",
|
|
3955
|
+
[ct.REDIS_EE]: "enterprise"
|
|
3956
|
+
}, Cn = (e) => nc[e] ?? "", ic = { class: "partial-config-card" }, ac = { class: "config-card-row-label" }, rc = { class: "label-text" }, oc = ["data-testid"], sc = ["data-testid"], lc = { key: 1 }, dc = ["data-testid"], uc = ["data-testid"], cc = /* @__PURE__ */ re({
|
|
3957
3957
|
__name: "RedisConfigCard",
|
|
3958
3958
|
props: {
|
|
3959
3959
|
configFields: {
|
|
@@ -3988,7 +3988,7 @@ const tc = (e) => {
|
|
|
3988
3988
|
formatter: n,
|
|
3989
3989
|
order: 3
|
|
3990
3990
|
}
|
|
3991
|
-
}, i = e, r = (m) => m != null, s = (m, p) => r(p) && ["password", "sentinel_password"].includes(m) ? "password" : "text", { convertKeyToTitle: o } =
|
|
3991
|
+
}, i = e, r = (m) => m != null, s = (m, p) => r(p) && ["password", "sentinel_password"].includes(m) ? "password" : "text", { convertKeyToTitle: o } = Ri(), d = L(() => Object.entries(i.configFields).map(([m, p]) => {
|
|
3992
3992
|
var E, N, f, w;
|
|
3993
3993
|
return {
|
|
3994
3994
|
key: m,
|
|
@@ -4075,7 +4075,7 @@ const tc = (e) => {
|
|
|
4075
4075
|
},
|
|
4076
4076
|
emits: ["showNewPartialModal"],
|
|
4077
4077
|
setup(e) {
|
|
4078
|
-
const { t } = ge("en-us", ve), n = rt(
|
|
4078
|
+
const { t } = ge("en-us", ve), n = rt(Wr), a = {
|
|
4079
4079
|
konnect: {
|
|
4080
4080
|
getOne: "/v2/control-planes/{controlPlaneId}/core-entities/partials/{id}",
|
|
4081
4081
|
getAll: "/v2/control-planes/{controlPlaneId}/core-entities/partials"
|
|
@@ -4084,13 +4084,13 @@ const tc = (e) => {
|
|
|
4084
4084
|
getOne: "/{workspace}/partials/{id}",
|
|
4085
4085
|
getAll: "/{workspace}/partials"
|
|
4086
4086
|
}
|
|
4087
|
-
}, i = e, r = ue(null), { getMessageFromError: s } =
|
|
4087
|
+
}, i = e, r = ue(null), { getMessageFromError: s } = Pi(), o = rt(Gr), {
|
|
4088
4088
|
debouncedQueryChange: d,
|
|
4089
4089
|
loading: l,
|
|
4090
4090
|
error: c,
|
|
4091
4091
|
loadItems: m,
|
|
4092
4092
|
results: p
|
|
4093
|
-
} =
|
|
4093
|
+
} = Ni(o, a[o.app].getAll, void 0, {
|
|
4094
4094
|
fetchedItemsKey: "data",
|
|
4095
4095
|
searchKeys: ["id", "name"]
|
|
4096
4096
|
}), E = L(() => c.value ? s(c.value) : ""), N = (F) => {
|
|
@@ -4100,7 +4100,7 @@ const tc = (e) => {
|
|
|
4100
4100
|
var b;
|
|
4101
4101
|
const F = ((b = p.value) == null ? void 0 : b.map((k) => ({ label: k.id, name: k.name, value: k.id, type: k.type, tag: tc(k) }))) || [];
|
|
4102
4102
|
return i.redisType !== "all" ? F.filter((k) => k.type === i.redisType) : F;
|
|
4103
|
-
}), { axiosInstance: w } =
|
|
4103
|
+
}), { axiosInstance: w } = Li(o == null ? void 0 : o.axiosRequestConfig), I = async (F) => {
|
|
4104
4104
|
if (F) {
|
|
4105
4105
|
i.updateRedisModel(F);
|
|
4106
4106
|
try {
|
|
@@ -4114,16 +4114,16 @@ const tc = (e) => {
|
|
|
4114
4114
|
}
|
|
4115
4115
|
}
|
|
4116
4116
|
};
|
|
4117
|
-
return
|
|
4117
|
+
return Ut(() => n == null ? void 0 : n.value, async (F) => {
|
|
4118
4118
|
F && await m();
|
|
4119
|
-
}),
|
|
4119
|
+
}), kt(async () => {
|
|
4120
4120
|
await m(), i.defaultRedisConfigItem && I(i.defaultRedisConfigItem);
|
|
4121
4121
|
}), (F, b) => {
|
|
4122
4122
|
const k = O("KLabel"), j = O("KBadge"), y = O("KSelect");
|
|
4123
4123
|
return u(), g(D, null, [
|
|
4124
4124
|
h("div", fc, [
|
|
4125
4125
|
T(k, {
|
|
4126
|
-
info: e.isCustomPlugin ? M(t)("redis.custom_plugin.tooltip") : M(t)("redis.shared_configuration.tooltip", { type: M(
|
|
4126
|
+
info: e.isCustomPlugin ? M(t)("redis.custom_plugin.tooltip") : M(t)("redis.shared_configuration.tooltip", { type: M(Cn)(e.redisType) }),
|
|
4127
4127
|
"tooltip-attributes": {
|
|
4128
4128
|
maxWidth: "300",
|
|
4129
4129
|
placement: "top"
|
|
@@ -4176,8 +4176,8 @@ const tc = (e) => {
|
|
|
4176
4176
|
"data-testid": "new-redis-config-area",
|
|
4177
4177
|
onClick: b[0] || (b[0] = (v) => F.$emit("showNewPartialModal"))
|
|
4178
4178
|
}, [
|
|
4179
|
-
T(M(
|
|
4180
|
-
h("span", null, U(M(t)("redis.shared_configuration.create_new_configuration", { type: M(
|
|
4179
|
+
T(M($t), { size: M(ec) }, null, 8, ["size"]),
|
|
4180
|
+
h("span", null, U(M(t)("redis.shared_configuration.create_new_configuration", { type: M(Cn)(e.redisType) })), 1)
|
|
4181
4181
|
])
|
|
4182
4182
|
]),
|
|
4183
4183
|
_: 1
|
|
@@ -4192,7 +4192,7 @@ const tc = (e) => {
|
|
|
4192
4192
|
], 64);
|
|
4193
4193
|
};
|
|
4194
4194
|
}
|
|
4195
|
-
}),
|
|
4195
|
+
}), In = /* @__PURE__ */ x(bc, [["__scopeId", "data-v-0c08667c"]]), _c = { key: 0 }, wc = {
|
|
4196
4196
|
class: "redis-config-radio-group",
|
|
4197
4197
|
"data-testid": "redis-config-radio-group"
|
|
4198
4198
|
}, Mc = {
|
|
@@ -4258,9 +4258,9 @@ const tc = (e) => {
|
|
|
4258
4258
|
}, N = (f, w, I) => {
|
|
4259
4259
|
a("validated", f, w, I);
|
|
4260
4260
|
};
|
|
4261
|
-
return
|
|
4261
|
+
return Ut(() => s.value, (f) => {
|
|
4262
4262
|
f ? l.value && a("partialToggled", "redis", { partials: l.value }) : a("partialToggled", "partials", d.value);
|
|
4263
|
-
}),
|
|
4263
|
+
}), kt(() => {
|
|
4264
4264
|
var f, w, I;
|
|
4265
4265
|
if (n.model && (d.value = n.field.fields.reduce((F, b) => (Object.keys(n.model).includes(b.model) && (F[b.model] = n.model[b.model]), F), {})), (I = (w = (f = n == null ? void 0 : n.model) == null ? void 0 : f.partials) == null ? void 0 : w[0]) != null && I.id) {
|
|
4266
4266
|
const F = n.model.partials[0].id;
|
|
@@ -4274,7 +4274,7 @@ const tc = (e) => {
|
|
|
4274
4274
|
"data-testid": "custom-plugin-redis-config-note",
|
|
4275
4275
|
message: M(i)("redis.custom_plugin.alert")
|
|
4276
4276
|
}, null, 8, ["message"]),
|
|
4277
|
-
T(
|
|
4277
|
+
T(In, {
|
|
4278
4278
|
"default-redis-config-item": o.value,
|
|
4279
4279
|
"is-custom-plugin": "",
|
|
4280
4280
|
"plugin-redis-fields": e.field.fields,
|
|
@@ -4321,7 +4321,7 @@ const tc = (e) => {
|
|
|
4321
4321
|
}, null, 8, ["modelValue", "description", "label"])
|
|
4322
4322
|
]),
|
|
4323
4323
|
s.value ? (u(), g("div", Mc, [
|
|
4324
|
-
T(
|
|
4324
|
+
T(In, {
|
|
4325
4325
|
"default-redis-config-item": o.value,
|
|
4326
4326
|
"plugin-redis-fields": e.field.fields,
|
|
4327
4327
|
"redis-type": e.field.redisType,
|
|
@@ -4335,7 +4335,7 @@ const tc = (e) => {
|
|
|
4335
4335
|
(u(!0), g(D, null, J(e.field.fields, (j) => (u(), g(D, {
|
|
4336
4336
|
key: j.model
|
|
4337
4337
|
}, [
|
|
4338
|
-
c(j) ? (u(), A(
|
|
4338
|
+
c(j) ? (u(), A(Ti, {
|
|
4339
4339
|
key: 0,
|
|
4340
4340
|
ref_for: !0,
|
|
4341
4341
|
ref: "children",
|
|
@@ -4361,8 +4361,8 @@ const tc = (e) => {
|
|
|
4361
4361
|
}
|
|
4362
4362
|
}), Ic = /* @__PURE__ */ x(Cc, [["__scopeId", "data-v-bc11be65"]]), Oc = {
|
|
4363
4363
|
name: "FormGenerator",
|
|
4364
|
-
components: { formGroup:
|
|
4365
|
-
mixins: [
|
|
4364
|
+
components: { formGroup: Ti, formRedis: Ic },
|
|
4365
|
+
mixins: [ii],
|
|
4366
4366
|
inject: {
|
|
4367
4367
|
// Inject AUTOFILL_SLOT for provide()
|
|
4368
4368
|
autofillSlot: {
|
|
@@ -4573,7 +4573,7 @@ function Fc(e, t, n, a, i, r) {
|
|
|
4573
4573
|
class: "root-level-collapse",
|
|
4574
4574
|
"model-value": !1,
|
|
4575
4575
|
title: l.collapsible.title
|
|
4576
|
-
},
|
|
4576
|
+
}, Un({
|
|
4577
4577
|
default: C(() => {
|
|
4578
4578
|
var m, p, E, N;
|
|
4579
4579
|
return [
|
|
@@ -4692,11 +4692,11 @@ function Fc(e, t, n, a, i, r) {
|
|
|
4692
4692
|
], 64))), 128))
|
|
4693
4693
|
])) : V("", !0);
|
|
4694
4694
|
}
|
|
4695
|
-
const ae = /* @__PURE__ */ x(Oc, [["render", Fc]]),
|
|
4695
|
+
const ae = /* @__PURE__ */ x(Oc, [["render", Fc]]), On = /* @__PURE__ */ new Set([
|
|
4696
4696
|
"config-client_id",
|
|
4697
4697
|
"config-client_secret",
|
|
4698
4698
|
"config-issuer"
|
|
4699
|
-
]),
|
|
4699
|
+
]), An = /* @__PURE__ */ new Set([
|
|
4700
4700
|
"config-scopes_claim",
|
|
4701
4701
|
"config-scopes_required",
|
|
4702
4702
|
"config-audience_claim",
|
|
@@ -4803,14 +4803,14 @@ const ae = /* @__PURE__ */ x(Oc, [["render", Fc]]), In = /* @__PURE__ */ new Set
|
|
|
4803
4803
|
};
|
|
4804
4804
|
const t = this.formSchema.fields.reduce((i, r) => (i[r.model] = r, i), {});
|
|
4805
4805
|
this.commonFieldsSchema = {
|
|
4806
|
-
fields: Array.from(In).reduce((i, r) => (t[r] && i.push(t[r]), i), [])
|
|
4807
|
-
}, this.authFieldsSchema = {
|
|
4808
4806
|
fields: Array.from(On).reduce((i, r) => (t[r] && i.push(t[r]), i), [])
|
|
4807
|
+
}, this.authFieldsSchema = {
|
|
4808
|
+
fields: Array.from(An).reduce((i, r) => (t[r] && i.push(t[r]), i), [])
|
|
4809
4809
|
};
|
|
4810
4810
|
const { redis: n, redisModels: a } = be.useRedisPartial(this.formSchema);
|
|
4811
4811
|
this.advancedFieldsSchema = {
|
|
4812
4812
|
fields: this.formSchema.fields.filter(
|
|
4813
|
-
(i) => i.model.startsWith("config") && i.model !== "config-auth_methods" && !
|
|
4813
|
+
(i) => i.model.startsWith("config") && i.model !== "config-auth_methods" && !On.has(i.model) && !An.has(i.model) && (!this.enableRedisPartial || !a.includes(i.model)) || i.model === "tags"
|
|
4814
4814
|
).reduce((i, r) => {
|
|
4815
4815
|
var s, o, d, l;
|
|
4816
4816
|
switch (r.model) {
|
|
@@ -4987,7 +4987,7 @@ function Lc(e, t, n, a, i, r) {
|
|
|
4987
4987
|
onModelUpdated: n.onModelUpdated
|
|
4988
4988
|
}, {
|
|
4989
4989
|
"autofill-provider": C((p) => [
|
|
4990
|
-
Oe(e.$slots, "autofill-provider",
|
|
4990
|
+
Oe(e.$slots, "autofill-provider", $i(Vi(p)), void 0, !0)
|
|
4991
4991
|
]),
|
|
4992
4992
|
_: 3
|
|
4993
4993
|
}, 8, ["model", "options", "schema", "onModelUpdated"])) : V("", !0)
|
|
@@ -5048,7 +5048,7 @@ const qc = /* @__PURE__ */ x(kc, [["render", Lc], ["__scopeId", "data-v-846700f6
|
|
|
5048
5048
|
},
|
|
5049
5049
|
setup(e) {
|
|
5050
5050
|
var s;
|
|
5051
|
-
it(he, (s =
|
|
5051
|
+
it(he, (s = mt()) == null ? void 0 : s[He]);
|
|
5052
5052
|
const { t, te: n } = ge("en-us", ve), a = e, i = L(() => a.formModel.id && a.isEditing || !a.isEditing), r = L(() => {
|
|
5053
5053
|
const o = a.formSchema;
|
|
5054
5054
|
return o.fields.map((d) => {
|
|
@@ -5091,7 +5091,7 @@ const qc = /* @__PURE__ */ x(kc, [["render", Lc], ["__scopeId", "data-v-846700f6
|
|
|
5091
5091
|
},
|
|
5092
5092
|
setup(e) {
|
|
5093
5093
|
var s;
|
|
5094
|
-
it(he, (s =
|
|
5094
|
+
it(he, (s = mt()) == null ? void 0 : s[He]);
|
|
5095
5095
|
const { t, te: n } = ge("en-us", ve), a = e, i = L(() => a.formModel.id && a.isEditing || !a.isEditing), r = L(() => {
|
|
5096
5096
|
const o = a.formSchema;
|
|
5097
5097
|
return o.fields.map((d) => {
|
|
@@ -5222,7 +5222,7 @@ const qc = /* @__PURE__ */ x(kc, [["render", Lc], ["__scopeId", "data-v-846700f6
|
|
|
5222
5222
|
},
|
|
5223
5223
|
setup(e) {
|
|
5224
5224
|
var j;
|
|
5225
|
-
it(he, (j =
|
|
5225
|
+
it(he, (j = mt()) == null ? void 0 : j[He]);
|
|
5226
5226
|
const t = e, n = ue("zeroSsl"), a = ue("shm"), i = L(() => {
|
|
5227
5227
|
var v;
|
|
5228
5228
|
const y = {};
|
|
@@ -5300,7 +5300,7 @@ const qc = /* @__PURE__ */ x(kc, [["render", Lc], ["__scopeId", "data-v-846700f6
|
|
|
5300
5300
|
value: "other"
|
|
5301
5301
|
}
|
|
5302
5302
|
];
|
|
5303
|
-
|
|
5303
|
+
En(() => {
|
|
5304
5304
|
n.value === "zeroSsl" && (t.formModel["config-api_uri"] = "https://acme.zerossl.com/v2/DV90");
|
|
5305
5305
|
});
|
|
5306
5306
|
const b = (y) => {
|
|
@@ -5443,7 +5443,7 @@ const qc = /* @__PURE__ */ x(kc, [["render", Lc], ["__scopeId", "data-v-846700f6
|
|
|
5443
5443
|
},
|
|
5444
5444
|
setup(e) {
|
|
5445
5445
|
var q;
|
|
5446
|
-
it(he, (q =
|
|
5446
|
+
it(he, (q = mt()) == null ? void 0 : q[He]);
|
|
5447
5447
|
const t = {
|
|
5448
5448
|
fixed: [
|
|
5449
5449
|
{
|
|
@@ -5577,12 +5577,12 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5577
5577
|
}
|
|
5578
5578
|
), b = (_, S) => {
|
|
5579
5579
|
if (S === m.value) {
|
|
5580
|
-
r.onModelUpdated([], "config-limit"), r.onModelUpdated([], "config-window_size"),
|
|
5580
|
+
r.onModelUpdated([], "config-limit"), r.onModelUpdated([], "config-window_size"), Kt(() => {
|
|
5581
5581
|
m.value = void 0;
|
|
5582
5582
|
});
|
|
5583
5583
|
return;
|
|
5584
5584
|
}
|
|
5585
|
-
r.onModelUpdated([_.config.limit], "config-limit"), r.onModelUpdated([_.config.window_size], "config-window_size"),
|
|
5585
|
+
r.onModelUpdated([_.config.limit], "config-limit"), r.onModelUpdated([_.config.window_size], "config-window_size"), Kt(() => {
|
|
5586
5586
|
m.value = S;
|
|
5587
5587
|
});
|
|
5588
5588
|
}, k = (_) => {
|
|
@@ -5610,10 +5610,10 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5610
5610
|
R.length === 0 && R.push(void 0), B.length === 0 && B.push(void 0), R.splice(_, 1), B.splice(_, 1), r.onModelUpdated(R, "config-limit"), r.onModelUpdated(B, "config-window_size");
|
|
5611
5611
|
}
|
|
5612
5612
|
};
|
|
5613
|
-
return
|
|
5613
|
+
return Ut(() => r.formModel["config-strategy"], (_) => {
|
|
5614
5614
|
_ !== "redis" && r.formModel.partials && r.onModelUpdated(void 0, "partials");
|
|
5615
5615
|
}), (_, S) => {
|
|
5616
|
-
const $ = O("KLabel"), R = O("KRadio"), B = O("KInput"), se = O("KButton"), Ue = O("KBadge"), ie = O("KTooltip"), De = O("KCard"),
|
|
5616
|
+
const $ = O("KLabel"), R = O("KRadio"), B = O("KInput"), se = O("KButton"), Ue = O("KBadge"), ie = O("KTooltip"), De = O("KCard"), Ci = O("KSelect"), Ii = O("KCollapse");
|
|
5617
5617
|
return u(), g(D, null, [
|
|
5618
5618
|
h("div", tm, [
|
|
5619
5619
|
T(ae, {
|
|
@@ -5692,14 +5692,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5692
5692
|
"model-value": K.limit && K.limit.toString(),
|
|
5693
5693
|
placeholder: M(i)("rla.request_limits.request_number"),
|
|
5694
5694
|
type: "number",
|
|
5695
|
-
"onUpdate:modelValue": (
|
|
5695
|
+
"onUpdate:modelValue": (wt) => j(te, Number.parseInt(wt))
|
|
5696
5696
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
5697
5697
|
h("div", null, U(M(i)("rla.request_limits.interval_determiner")), 1),
|
|
5698
5698
|
T(B, {
|
|
5699
5699
|
"model-value": K.windowSize && K.windowSize.toString(),
|
|
5700
5700
|
placeholder: M(i)("rla.request_limits.time_interval"),
|
|
5701
5701
|
type: "number",
|
|
5702
|
-
"onUpdate:modelValue": (
|
|
5702
|
+
"onUpdate:modelValue": (wt) => y(te, Number.parseInt(wt))
|
|
5703
5703
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
5704
5704
|
h("div", null, U(M(i)("rla.request_limits.seconds")), 1)
|
|
5705
5705
|
], 8, dm),
|
|
@@ -5710,7 +5710,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5710
5710
|
onClick: () => P(te)
|
|
5711
5711
|
}, {
|
|
5712
5712
|
default: C(() => [
|
|
5713
|
-
T(M(
|
|
5713
|
+
T(M(ji))
|
|
5714
5714
|
]),
|
|
5715
5715
|
_: 2
|
|
5716
5716
|
}, 1032, ["disabled", "onClick"]),
|
|
@@ -5719,7 +5719,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5719
5719
|
onClick: () => v(te)
|
|
5720
5720
|
}, {
|
|
5721
5721
|
default: C(() => [
|
|
5722
|
-
T(M(
|
|
5722
|
+
T(M($t))
|
|
5723
5723
|
]),
|
|
5724
5724
|
_: 2
|
|
5725
5725
|
}, 1032, ["onClick"])
|
|
@@ -5760,7 +5760,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5760
5760
|
]),
|
|
5761
5761
|
_: 1
|
|
5762
5762
|
}),
|
|
5763
|
-
T(
|
|
5763
|
+
T(Ci, {
|
|
5764
5764
|
modelValue: w.value,
|
|
5765
5765
|
"onUpdate:modelValue": S[1] || (S[1] = (K) => w.value = K),
|
|
5766
5766
|
class: "rla-form-identifiers",
|
|
@@ -5814,7 +5814,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
5814
5814
|
])
|
|
5815
5815
|
])
|
|
5816
5816
|
]),
|
|
5817
|
-
T(
|
|
5817
|
+
T(Ii, {
|
|
5818
5818
|
modelValue: p.value,
|
|
5819
5819
|
"onUpdate:modelValue": S[9] || (S[9] = (K) => p.value = K),
|
|
5820
5820
|
"trigger-label": M(i)("rla.view_advanced_fields")
|
|
@@ -5887,9 +5887,9 @@ export {
|
|
|
5887
5887
|
he as AUTOFILL_SLOT,
|
|
5888
5888
|
He as AUTOFILL_SLOT_NAME,
|
|
5889
5889
|
$e as FORMS_API_KEY,
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5890
|
+
Gr as FORMS_CONFIG,
|
|
5891
|
+
ct as PartialType,
|
|
5892
|
+
Wr as REDIS_PARTIAL_FETCHER_KEY,
|
|
5893
5893
|
ae as VueFormGenerator,
|
|
5894
5894
|
wm as abstractField,
|
|
5895
5895
|
Sm as customFields,
|