@kong-ui-public/forms 4.15.4-pr.2204.9224a4a87.0 → 4.15.4-pr.2204.f9043269d.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/forms.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { createElementBlock as v, openBlock as c, createElementVNode as f, toDisplayString as N, normalizeClass as ee, createVNode as F, defineComponent as he, provide as zt, resolveComponent as P, withCtx as M, renderSlot as Oe, unref as I, createTextVNode as ce, createBlock as U, resolveDynamicComponent as me, Fragment as Y, renderList as oe, mergeModels as Oi, useModel as Po, createSlots as cn, ref as ae, computed as z, onMounted as Zn, toRefs as ut, inject as an, onBeforeMount as Xn, mergeProps as et, Transition as Do, createCommentVNode as B, resolveDirective as Aa, withDirectives as
|
|
1
|
+
import { createElementBlock as v, openBlock as c, createElementVNode as f, toDisplayString as N, normalizeClass as ee, createVNode as F, defineComponent as he, provide as zt, resolveComponent as P, withCtx as M, renderSlot as Oe, unref as I, createTextVNode as ce, createBlock as U, resolveDynamicComponent as me, Fragment as Y, renderList as oe, mergeModels as Oi, useModel as Po, createSlots as cn, ref as ae, computed as z, onMounted as Zn, toRefs as ut, inject as an, onBeforeMount as Xn, mergeProps as et, Transition as Do, createCommentVNode as B, resolveDirective as Aa, withDirectives as Ee, vModelText as $t, vModelCheckbox as $o, vModelSelect as Vo, vModelDynamic as Ia, isRef as Et, toRef as jo, vModelRadio as qo, vShow as Ko, watch as Jn, normalizeProps as Bo, guardReactiveProps as zo, useSlots as mn, nextTick as Fi } from "vue";
|
|
2
2
|
import { createI18n as ke } from "@kong-ui-public/i18n";
|
|
3
|
-
import { TrashIcon as xt, SearchIcon as
|
|
4
|
-
import { useStringHelpers as
|
|
3
|
+
import { TrashIcon as xt, SearchIcon as xo, AddIcon as Qn, RemoveIcon as Ho } from "@kong/icons";
|
|
4
|
+
import { useStringHelpers as Yo, useErrors as Go, useDebouncedFilter as Wo, useAxios as Zo } from "@kong-ui-public/entities-shared";
|
|
5
5
|
function Ca(e, t) {
|
|
6
6
|
for (var n = -1, i = e == null ? 0 : e.length; ++n < i && t(e[n], n, e) !== !1; )
|
|
7
7
|
;
|
|
8
8
|
return e;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function Xo(e) {
|
|
11
11
|
return function(t, n, i) {
|
|
12
12
|
for (var a = -1, o = Object(t), r = i(t), s = r.length; s--; ) {
|
|
13
13
|
var d = r[++a];
|
|
@@ -17,59 +17,59 @@ function Zo(e) {
|
|
|
17
17
|
return t;
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
var
|
|
21
|
-
function
|
|
20
|
+
var Jo = Xo();
|
|
21
|
+
function Qo(e, t) {
|
|
22
22
|
for (var n = -1, i = Array(e); ++n < e; )
|
|
23
23
|
i[n] = t(n);
|
|
24
24
|
return i;
|
|
25
25
|
}
|
|
26
|
-
var Oa = typeof global == "object" && global && global.Object === Object && global,
|
|
27
|
-
function
|
|
28
|
-
var t =
|
|
26
|
+
var Oa = typeof global == "object" && global && global.Object === Object && global, er = typeof self == "object" && self && self.Object === Object && self, Pe = Oa || er || Function("return this")(), tt = Pe.Symbol, Fa = Object.prototype, tr = Fa.hasOwnProperty, nr = Fa.toString, kt = tt ? tt.toStringTag : void 0;
|
|
27
|
+
function ir(e) {
|
|
28
|
+
var t = tr.call(e, kt), n = e[kt];
|
|
29
29
|
try {
|
|
30
30
|
e[kt] = void 0;
|
|
31
31
|
var i = !0;
|
|
32
32
|
} catch {
|
|
33
33
|
}
|
|
34
|
-
var a =
|
|
34
|
+
var a = nr.call(e);
|
|
35
35
|
return i && (t ? e[kt] = n : delete e[kt]), a;
|
|
36
36
|
}
|
|
37
|
-
var
|
|
38
|
-
function
|
|
39
|
-
return
|
|
37
|
+
var ar = Object.prototype, or = ar.toString;
|
|
38
|
+
function rr(e) {
|
|
39
|
+
return or.call(e);
|
|
40
40
|
}
|
|
41
|
-
var
|
|
41
|
+
var sr = "[object Null]", lr = "[object Undefined]", ki = tt ? tt.toStringTag : void 0;
|
|
42
42
|
function nt(e) {
|
|
43
|
-
return e == null ? e === void 0 ?
|
|
43
|
+
return e == null ? e === void 0 ? lr : sr : ki && ki in Object(e) ? ir(e) : rr(e);
|
|
44
44
|
}
|
|
45
45
|
function it(e) {
|
|
46
46
|
return e != null && typeof e == "object";
|
|
47
47
|
}
|
|
48
|
-
var
|
|
48
|
+
var dr = "[object Arguments]";
|
|
49
49
|
function Ri(e) {
|
|
50
|
-
return it(e) && nt(e) ==
|
|
50
|
+
return it(e) && nt(e) == dr;
|
|
51
51
|
}
|
|
52
|
-
var ka = Object.prototype,
|
|
52
|
+
var ka = Object.prototype, ur = ka.hasOwnProperty, cr = ka.propertyIsEnumerable, mr = Ri(/* @__PURE__ */ function() {
|
|
53
53
|
return arguments;
|
|
54
54
|
}()) ? Ri : function(e) {
|
|
55
|
-
return it(e) &&
|
|
55
|
+
return it(e) && ur.call(e, "callee") && !cr.call(e, "callee");
|
|
56
56
|
}, at = Array.isArray;
|
|
57
|
-
function
|
|
57
|
+
function fr() {
|
|
58
58
|
return !1;
|
|
59
59
|
}
|
|
60
|
-
var Ra = typeof exports == "object" && exports && !exports.nodeType && exports, Ui = Ra && typeof module == "object" && module && !module.nodeType && module,
|
|
60
|
+
var Ra = typeof exports == "object" && exports && !exports.nodeType && exports, Ui = Ra && typeof module == "object" && module && !module.nodeType && module, hr = Ui && Ui.exports === Ra, Ni = hr ? Pe.Buffer : void 0, pr = Ni ? Ni.isBuffer : void 0, Ua = pr || fr, gr = 9007199254740991, yr = /^(?:0|[1-9]\d*)$/;
|
|
61
61
|
function Na(e, t) {
|
|
62
62
|
var n = typeof e;
|
|
63
|
-
return t = t ??
|
|
63
|
+
return t = t ?? gr, !!t && (n == "number" || n != "symbol" && yr.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var vr = 9007199254740991;
|
|
66
66
|
function La(e) {
|
|
67
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
67
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= vr;
|
|
68
68
|
}
|
|
69
|
-
var
|
|
70
|
-
Q[
|
|
71
|
-
Q[
|
|
72
|
-
function
|
|
69
|
+
var br = "[object Arguments]", _r = "[object Array]", Tr = "[object Boolean]", Sr = "[object Date]", wr = "[object Error]", Er = "[object Function]", Mr = "[object Map]", Ar = "[object Number]", Ir = "[object Object]", Cr = "[object RegExp]", Or = "[object Set]", Fr = "[object String]", kr = "[object WeakMap]", Rr = "[object ArrayBuffer]", Ur = "[object DataView]", Nr = "[object Float32Array]", Lr = "[object Float64Array]", Pr = "[object Int8Array]", Dr = "[object Int16Array]", $r = "[object Int32Array]", Vr = "[object Uint8Array]", jr = "[object Uint8ClampedArray]", qr = "[object Uint16Array]", Kr = "[object Uint32Array]", Q = {};
|
|
70
|
+
Q[Nr] = Q[Lr] = Q[Pr] = Q[Dr] = Q[$r] = Q[Vr] = Q[jr] = Q[qr] = Q[Kr] = !0;
|
|
71
|
+
Q[br] = Q[_r] = Q[Rr] = Q[Tr] = Q[Ur] = Q[Sr] = Q[wr] = Q[Er] = Q[Mr] = Q[Ar] = Q[Ir] = Q[Cr] = Q[Or] = Q[Fr] = Q[kr] = !1;
|
|
72
|
+
function Br(e) {
|
|
73
73
|
return it(e) && La(e.length) && !!Q[nt(e)];
|
|
74
74
|
}
|
|
75
75
|
function ei(e) {
|
|
@@ -77,26 +77,26 @@ function ei(e) {
|
|
|
77
77
|
return e(t);
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
|
-
var Pa = typeof exports == "object" && exports && !exports.nodeType && exports, Vt = Pa && typeof module == "object" && module && !module.nodeType && module,
|
|
80
|
+
var Pa = typeof exports == "object" && exports && !exports.nodeType && exports, Vt = Pa && typeof module == "object" && module && !module.nodeType && module, zr = Vt && Vt.exports === Pa, Un = zr && Oa.process, St = function() {
|
|
81
81
|
try {
|
|
82
82
|
var e = Vt && Vt.require && Vt.require("util").types;
|
|
83
83
|
return e || Un && Un.binding && Un.binding("util");
|
|
84
84
|
} catch {
|
|
85
85
|
}
|
|
86
|
-
}(), Li = St && St.isTypedArray,
|
|
86
|
+
}(), Li = St && St.isTypedArray, xr = Li ? ei(Li) : Br, Hr = Object.prototype, Yr = Hr.hasOwnProperty;
|
|
87
87
|
function Da(e, t) {
|
|
88
|
-
var n = at(e), i = !n &&
|
|
88
|
+
var n = at(e), i = !n && mr(e), a = !n && !i && Ua(e), o = !n && !i && !a && xr(e), r = n || i || a || o, s = r ? Qo(e.length, String) : [], d = s.length;
|
|
89
89
|
for (var u in e)
|
|
90
|
-
(t ||
|
|
90
|
+
(t || Yr.call(e, u)) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
91
91
|
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
92
92
|
a && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
93
93
|
o && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
|
|
94
94
|
Na(u, d))) && s.push(u);
|
|
95
95
|
return s;
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Gr = Object.prototype;
|
|
98
98
|
function ti(e) {
|
|
99
|
-
var t = e && e.constructor, n = typeof t == "function" && t.prototype ||
|
|
99
|
+
var t = e && e.constructor, n = typeof t == "function" && t.prototype || Gr;
|
|
100
100
|
return e === n;
|
|
101
101
|
}
|
|
102
102
|
function $a(e, t) {
|
|
@@ -104,36 +104,36 @@ function $a(e, t) {
|
|
|
104
104
|
return e(t(n));
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
|
-
var
|
|
108
|
-
function
|
|
107
|
+
var Wr = $a(Object.keys, Object), Zr = Object.prototype, Xr = Zr.hasOwnProperty;
|
|
108
|
+
function Jr(e) {
|
|
109
109
|
if (!ti(e))
|
|
110
|
-
return
|
|
110
|
+
return Wr(e);
|
|
111
111
|
var t = [];
|
|
112
112
|
for (var n in Object(e))
|
|
113
|
-
|
|
113
|
+
Xr.call(e, n) && n != "constructor" && t.push(n);
|
|
114
114
|
return t;
|
|
115
115
|
}
|
|
116
116
|
function Fe(e) {
|
|
117
117
|
var t = typeof e;
|
|
118
118
|
return e != null && (t == "object" || t == "function");
|
|
119
119
|
}
|
|
120
|
-
var
|
|
120
|
+
var Qr = "[object AsyncFunction]", es = "[object Function]", ts = "[object GeneratorFunction]", ns = "[object Proxy]";
|
|
121
121
|
function X(e) {
|
|
122
122
|
if (!Fe(e))
|
|
123
123
|
return !1;
|
|
124
124
|
var t = nt(e);
|
|
125
|
-
return t ==
|
|
125
|
+
return t == es || t == ts || t == Qr || t == ns;
|
|
126
126
|
}
|
|
127
127
|
function fn(e) {
|
|
128
128
|
return e != null && La(e.length) && !X(e);
|
|
129
129
|
}
|
|
130
130
|
function hn(e) {
|
|
131
|
-
return fn(e) ? Da(e) :
|
|
132
|
-
}
|
|
133
|
-
function ns(e, t) {
|
|
134
|
-
return e && Xo(e, t, hn);
|
|
131
|
+
return fn(e) ? Da(e) : Jr(e);
|
|
135
132
|
}
|
|
136
133
|
function is(e, t) {
|
|
134
|
+
return e && Jo(e, t, hn);
|
|
135
|
+
}
|
|
136
|
+
function as(e, t) {
|
|
137
137
|
return function(n, i) {
|
|
138
138
|
if (n == null)
|
|
139
139
|
return n;
|
|
@@ -144,40 +144,40 @@ function is(e, t) {
|
|
|
144
144
|
return n;
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
|
-
var
|
|
147
|
+
var os = as(is);
|
|
148
148
|
function ni(e) {
|
|
149
149
|
return e;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function rs(e) {
|
|
152
152
|
return typeof e == "function" ? e : ni;
|
|
153
153
|
}
|
|
154
154
|
function we(e, t) {
|
|
155
|
-
var n = at(e) ? Ca :
|
|
156
|
-
return n(e,
|
|
155
|
+
var n = at(e) ? Ca : os;
|
|
156
|
+
return n(e, rs(t));
|
|
157
157
|
}
|
|
158
|
-
var
|
|
158
|
+
var ss = "[object Symbol]";
|
|
159
159
|
function pn(e) {
|
|
160
|
-
return typeof e == "symbol" || it(e) && nt(e) ==
|
|
160
|
+
return typeof e == "symbol" || it(e) && nt(e) == ss;
|
|
161
161
|
}
|
|
162
|
-
var
|
|
163
|
-
function
|
|
162
|
+
var ls = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ds = /^\w*$/;
|
|
163
|
+
function us(e, t) {
|
|
164
164
|
if (at(e))
|
|
165
165
|
return !1;
|
|
166
166
|
var n = typeof e;
|
|
167
|
-
return n == "number" || n == "symbol" || n == "boolean" || e == null || pn(e) ? !0 :
|
|
167
|
+
return n == "number" || n == "symbol" || n == "boolean" || e == null || pn(e) ? !0 : ds.test(e) || !ls.test(e) || t != null && e in Object(t);
|
|
168
168
|
}
|
|
169
169
|
var Nn = Pe["__core-js_shared__"], Pi = function() {
|
|
170
170
|
var e = /[^.]+$/.exec(Nn && Nn.keys && Nn.keys.IE_PROTO || "");
|
|
171
171
|
return e ? "Symbol(src)_1." + e : "";
|
|
172
172
|
}();
|
|
173
|
-
function
|
|
173
|
+
function cs(e) {
|
|
174
174
|
return !!Pi && Pi in e;
|
|
175
175
|
}
|
|
176
|
-
var
|
|
176
|
+
var ms = Function.prototype, fs = ms.toString;
|
|
177
177
|
function ct(e) {
|
|
178
178
|
if (e != null) {
|
|
179
179
|
try {
|
|
180
|
-
return
|
|
180
|
+
return fs.call(e);
|
|
181
181
|
} catch {
|
|
182
182
|
}
|
|
183
183
|
try {
|
|
@@ -187,48 +187,48 @@ function ct(e) {
|
|
|
187
187
|
}
|
|
188
188
|
return "";
|
|
189
189
|
}
|
|
190
|
-
var
|
|
191
|
-
"^" +
|
|
190
|
+
var hs = /[\\^$.*+?()[\]{}|]/g, ps = /^\[object .+?Constructor\]$/, gs = Function.prototype, ys = Object.prototype, vs = gs.toString, bs = ys.hasOwnProperty, _s = RegExp(
|
|
191
|
+
"^" + vs.call(bs).replace(hs, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
192
192
|
);
|
|
193
|
-
function
|
|
194
|
-
if (!Fe(e) ||
|
|
193
|
+
function Ts(e) {
|
|
194
|
+
if (!Fe(e) || cs(e))
|
|
195
195
|
return !1;
|
|
196
|
-
var t = X(e) ?
|
|
196
|
+
var t = X(e) ? _s : ps;
|
|
197
197
|
return t.test(ct(e));
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function Ss(e, t) {
|
|
200
200
|
return e == null ? void 0 : e[t];
|
|
201
201
|
}
|
|
202
202
|
function mt(e, t) {
|
|
203
|
-
var n =
|
|
204
|
-
return
|
|
203
|
+
var n = Ss(e, t);
|
|
204
|
+
return Ts(n) ? n : void 0;
|
|
205
205
|
}
|
|
206
206
|
var Kt = mt(Object, "create");
|
|
207
|
-
function
|
|
207
|
+
function ws() {
|
|
208
208
|
this.__data__ = Kt ? Kt(null) : {}, this.size = 0;
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Es(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 Ms = "__lodash_hash_undefined__", As = Object.prototype, Is = As.hasOwnProperty;
|
|
215
|
+
function Cs(e) {
|
|
216
216
|
var t = this.__data__;
|
|
217
217
|
if (Kt) {
|
|
218
218
|
var n = t[e];
|
|
219
|
-
return n ===
|
|
219
|
+
return n === Ms ? void 0 : n;
|
|
220
220
|
}
|
|
221
|
-
return
|
|
221
|
+
return Is.call(t, e) ? t[e] : void 0;
|
|
222
222
|
}
|
|
223
|
-
var
|
|
224
|
-
function
|
|
223
|
+
var Os = Object.prototype, Fs = Os.hasOwnProperty;
|
|
224
|
+
function ks(e) {
|
|
225
225
|
var t = this.__data__;
|
|
226
|
-
return Kt ? t[e] !== void 0 :
|
|
226
|
+
return Kt ? t[e] !== void 0 : Fs.call(t, e);
|
|
227
227
|
}
|
|
228
|
-
var
|
|
229
|
-
function
|
|
228
|
+
var Rs = "__lodash_hash_undefined__";
|
|
229
|
+
function Us(e, t) {
|
|
230
230
|
var n = this.__data__;
|
|
231
|
-
return this.size += this.has(e) ? 0 : 1, n[e] = Kt && t === void 0 ?
|
|
231
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = Kt && t === void 0 ? Rs : t, this;
|
|
232
232
|
}
|
|
233
233
|
function rt(e) {
|
|
234
234
|
var t = -1, n = e == null ? 0 : e.length;
|
|
@@ -237,12 +237,12 @@ function rt(e) {
|
|
|
237
237
|
this.set(i[0], i[1]);
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
rt.prototype.clear =
|
|
241
|
-
rt.prototype.delete =
|
|
242
|
-
rt.prototype.get =
|
|
243
|
-
rt.prototype.has =
|
|
244
|
-
rt.prototype.set =
|
|
245
|
-
function
|
|
240
|
+
rt.prototype.clear = ws;
|
|
241
|
+
rt.prototype.delete = Es;
|
|
242
|
+
rt.prototype.get = Cs;
|
|
243
|
+
rt.prototype.has = ks;
|
|
244
|
+
rt.prototype.set = Us;
|
|
245
|
+
function Ns() {
|
|
246
246
|
this.__data__ = [], this.size = 0;
|
|
247
247
|
}
|
|
248
248
|
function gn(e, t) {
|
|
@@ -254,22 +254,22 @@ function yn(e, t) {
|
|
|
254
254
|
return n;
|
|
255
255
|
return -1;
|
|
256
256
|
}
|
|
257
|
-
var
|
|
258
|
-
function
|
|
257
|
+
var Ls = Array.prototype, Ps = Ls.splice;
|
|
258
|
+
function Ds(e) {
|
|
259
259
|
var t = this.__data__, n = yn(t, e);
|
|
260
260
|
if (n < 0)
|
|
261
261
|
return !1;
|
|
262
262
|
var i = t.length - 1;
|
|
263
|
-
return n == i ? t.pop() :
|
|
263
|
+
return n == i ? t.pop() : Ps.call(t, n, 1), --this.size, !0;
|
|
264
264
|
}
|
|
265
|
-
function
|
|
265
|
+
function $s(e) {
|
|
266
266
|
var t = this.__data__, n = yn(t, e);
|
|
267
267
|
return n < 0 ? void 0 : t[n][1];
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function Vs(e) {
|
|
270
270
|
return yn(this.__data__, e) > -1;
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function js(e, t) {
|
|
273
273
|
var n = this.__data__, i = yn(n, e);
|
|
274
274
|
return i < 0 ? (++this.size, n.push([e, t])) : n[i][1] = t, this;
|
|
275
275
|
}
|
|
@@ -280,38 +280,38 @@ function Ze(e) {
|
|
|
280
280
|
this.set(i[0], i[1]);
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
|
-
Ze.prototype.clear =
|
|
284
|
-
Ze.prototype.delete =
|
|
285
|
-
Ze.prototype.get =
|
|
286
|
-
Ze.prototype.has =
|
|
287
|
-
Ze.prototype.set =
|
|
283
|
+
Ze.prototype.clear = Ns;
|
|
284
|
+
Ze.prototype.delete = Ds;
|
|
285
|
+
Ze.prototype.get = $s;
|
|
286
|
+
Ze.prototype.has = Vs;
|
|
287
|
+
Ze.prototype.set = js;
|
|
288
288
|
var Bt = mt(Pe, "Map");
|
|
289
|
-
function
|
|
289
|
+
function qs() {
|
|
290
290
|
this.size = 0, this.__data__ = {
|
|
291
291
|
hash: new rt(),
|
|
292
292
|
map: new (Bt || Ze)(),
|
|
293
293
|
string: new rt()
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function Ks(e) {
|
|
297
297
|
var t = typeof e;
|
|
298
298
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
299
299
|
}
|
|
300
300
|
function vn(e, t) {
|
|
301
301
|
var n = e.__data__;
|
|
302
|
-
return
|
|
302
|
+
return Ks(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
303
303
|
}
|
|
304
|
-
function
|
|
304
|
+
function Bs(e) {
|
|
305
305
|
var t = vn(this, e).delete(e);
|
|
306
306
|
return this.size -= t ? 1 : 0, t;
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function zs(e) {
|
|
309
309
|
return vn(this, e).get(e);
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function xs(e) {
|
|
312
312
|
return vn(this, e).has(e);
|
|
313
313
|
}
|
|
314
|
-
function
|
|
314
|
+
function Hs(e, t) {
|
|
315
315
|
var n = vn(this, e), i = n.size;
|
|
316
316
|
return n.set(e, t), this.size += n.size == i ? 0 : 1, this;
|
|
317
317
|
}
|
|
@@ -322,15 +322,15 @@ function Xe(e) {
|
|
|
322
322
|
this.set(i[0], i[1]);
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
-
Xe.prototype.clear =
|
|
326
|
-
Xe.prototype.delete =
|
|
327
|
-
Xe.prototype.get =
|
|
328
|
-
Xe.prototype.has =
|
|
329
|
-
Xe.prototype.set =
|
|
330
|
-
var
|
|
325
|
+
Xe.prototype.clear = qs;
|
|
326
|
+
Xe.prototype.delete = Bs;
|
|
327
|
+
Xe.prototype.get = zs;
|
|
328
|
+
Xe.prototype.has = xs;
|
|
329
|
+
Xe.prototype.set = Hs;
|
|
330
|
+
var Ys = "Expected a function";
|
|
331
331
|
function ii(e, t) {
|
|
332
332
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
333
|
-
throw new TypeError(
|
|
333
|
+
throw new TypeError(Ys);
|
|
334
334
|
var n = function() {
|
|
335
335
|
var i = arguments, a = t ? t.apply(this, i) : i[0], o = n.cache;
|
|
336
336
|
if (o.has(a))
|
|
@@ -341,20 +341,20 @@ function ii(e, t) {
|
|
|
341
341
|
return n.cache = new (ii.Cache || Xe)(), n;
|
|
342
342
|
}
|
|
343
343
|
ii.Cache = Xe;
|
|
344
|
-
var
|
|
345
|
-
function
|
|
344
|
+
var Gs = 500;
|
|
345
|
+
function Ws(e) {
|
|
346
346
|
var t = ii(e, function(i) {
|
|
347
|
-
return n.size ===
|
|
347
|
+
return n.size === Gs && n.clear(), i;
|
|
348
348
|
}), n = t.cache;
|
|
349
349
|
return t;
|
|
350
350
|
}
|
|
351
|
-
var
|
|
351
|
+
var Zs = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Xs = /\\(\\)?/g, Js = Ws(function(e) {
|
|
352
352
|
var t = [];
|
|
353
|
-
return e.charCodeAt(0) === 46 && t.push(""), e.replace(
|
|
354
|
-
t.push(a ? o.replace(
|
|
353
|
+
return e.charCodeAt(0) === 46 && t.push(""), e.replace(Zs, function(n, i, a, o) {
|
|
354
|
+
t.push(a ? o.replace(Xs, "$1") : i || n);
|
|
355
355
|
}), t;
|
|
356
356
|
});
|
|
357
|
-
function
|
|
357
|
+
function Qs(e, t) {
|
|
358
358
|
for (var n = -1, i = e == null ? 0 : e.length, a = Array(i); ++n < i; )
|
|
359
359
|
a[n] = t(e[n], n, e);
|
|
360
360
|
return a;
|
|
@@ -364,7 +364,7 @@ function Va(e) {
|
|
|
364
364
|
if (typeof e == "string")
|
|
365
365
|
return e;
|
|
366
366
|
if (at(e))
|
|
367
|
-
return
|
|
367
|
+
return Qs(e, Va) + "";
|
|
368
368
|
if (pn(e))
|
|
369
369
|
return $i ? $i.call(e) : "";
|
|
370
370
|
var t = e + "";
|
|
@@ -373,29 +373,29 @@ function Va(e) {
|
|
|
373
373
|
function ja(e) {
|
|
374
374
|
return e == null ? "" : Va(e);
|
|
375
375
|
}
|
|
376
|
-
function
|
|
377
|
-
return at(e) ? e :
|
|
376
|
+
function el(e, t) {
|
|
377
|
+
return at(e) ? e : us(e, t) ? [e] : Js(ja(e));
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function tl(e) {
|
|
380
380
|
if (typeof e == "string" || pn(e))
|
|
381
381
|
return e;
|
|
382
382
|
var t = e + "";
|
|
383
383
|
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
384
384
|
}
|
|
385
|
-
function
|
|
386
|
-
t =
|
|
385
|
+
function nl(e, t) {
|
|
386
|
+
t = el(t, e);
|
|
387
387
|
for (var n = 0, i = t.length; e != null && n < i; )
|
|
388
|
-
e = e[
|
|
388
|
+
e = e[tl(t[n++])];
|
|
389
389
|
return n && n == i ? e : void 0;
|
|
390
390
|
}
|
|
391
391
|
function G(e, t, n) {
|
|
392
|
-
var i = e == null ? void 0 :
|
|
392
|
+
var i = e == null ? void 0 : nl(e, t);
|
|
393
393
|
return i === void 0 ? n : i;
|
|
394
394
|
}
|
|
395
395
|
function de(e) {
|
|
396
396
|
return e == null;
|
|
397
397
|
}
|
|
398
|
-
const Te = "kong-ui-forms-api",
|
|
398
|
+
const Te = "kong-ui-forms-api", il = "kong-ui-forms-config", al = "redis-partial-list-fetcher-key", pp = "redis-partial-info", Mt = "autofill", Ne = "autofillSlot", je = {
|
|
399
399
|
CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
|
|
400
400
|
CREATE_FROM_ENTITY: "CREATE_FROM_ENTITY",
|
|
401
401
|
UPDATE_ENTITY: "UPDATE_ENTITY",
|
|
@@ -405,19 +405,19 @@ const Te = "kong-ui-forms-api", nl = "kong-ui-forms-config", il = "redis-partial
|
|
|
405
405
|
const {
|
|
406
406
|
entries: qa,
|
|
407
407
|
setPrototypeOf: Vi,
|
|
408
|
-
isFrozen:
|
|
409
|
-
getPrototypeOf:
|
|
410
|
-
getOwnPropertyDescriptor:
|
|
408
|
+
isFrozen: ol,
|
|
409
|
+
getPrototypeOf: rl,
|
|
410
|
+
getOwnPropertyDescriptor: sl
|
|
411
411
|
} = Object;
|
|
412
412
|
let {
|
|
413
|
-
freeze:
|
|
413
|
+
freeze: Me,
|
|
414
414
|
seal: Le,
|
|
415
415
|
create: Ka
|
|
416
416
|
} = Object, {
|
|
417
417
|
apply: Bn,
|
|
418
418
|
construct: zn
|
|
419
419
|
} = typeof Reflect < "u" && Reflect;
|
|
420
|
-
|
|
420
|
+
Me || (Me = function(t) {
|
|
421
421
|
return t;
|
|
422
422
|
});
|
|
423
423
|
Le || (Le = function(t) {
|
|
@@ -429,8 +429,8 @@ Bn || (Bn = function(t, n, i) {
|
|
|
429
429
|
zn || (zn = function(t, n) {
|
|
430
430
|
return new t(...n);
|
|
431
431
|
});
|
|
432
|
-
const en =
|
|
433
|
-
function
|
|
432
|
+
const en = Ae(Array.prototype.forEach), ll = Ae(Array.prototype.lastIndexOf), ji = Ae(Array.prototype.pop), Rt = Ae(Array.prototype.push), dl = Ae(Array.prototype.splice), nn = Ae(String.prototype.toLowerCase), Ln = Ae(String.prototype.toString), qi = Ae(String.prototype.match), Ut = Ae(String.prototype.replace), ul = Ae(String.prototype.indexOf), cl = Ae(String.prototype.trim), De = Ae(Object.prototype.hasOwnProperty), Se = Ae(RegExp.prototype.test), Nt = ml(TypeError);
|
|
433
|
+
function Ae(e) {
|
|
434
434
|
return function(t) {
|
|
435
435
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
436
436
|
for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), a = 1; a < n; a++)
|
|
@@ -438,7 +438,7 @@ function Me(e) {
|
|
|
438
438
|
return Bn(e, t, i);
|
|
439
439
|
};
|
|
440
440
|
}
|
|
441
|
-
function
|
|
441
|
+
function ml(e) {
|
|
442
442
|
return function() {
|
|
443
443
|
for (var t = arguments.length, n = new Array(t), i = 0; i < t; i++)
|
|
444
444
|
n[i] = arguments[i];
|
|
@@ -453,13 +453,13 @@ function x(e, t) {
|
|
|
453
453
|
let a = t[i];
|
|
454
454
|
if (typeof a == "string") {
|
|
455
455
|
const o = n(a);
|
|
456
|
-
o !== a && (
|
|
456
|
+
o !== a && (ol(t) || (t[i] = o), a = o);
|
|
457
457
|
}
|
|
458
458
|
e[a] = !0;
|
|
459
459
|
}
|
|
460
460
|
return e;
|
|
461
461
|
}
|
|
462
|
-
function
|
|
462
|
+
function fl(e) {
|
|
463
463
|
for (let t = 0; t < e.length; t++)
|
|
464
464
|
De(e, t) || (e[t] = null);
|
|
465
465
|
return e;
|
|
@@ -467,44 +467,44 @@ function ml(e) {
|
|
|
467
467
|
function Ye(e) {
|
|
468
468
|
const t = Ka(null);
|
|
469
469
|
for (const [n, i] of qa(e))
|
|
470
|
-
De(e, n) && (Array.isArray(i) ? t[n] =
|
|
470
|
+
De(e, n) && (Array.isArray(i) ? t[n] = fl(i) : i && typeof i == "object" && i.constructor === Object ? t[n] = Ye(i) : t[n] = i);
|
|
471
471
|
return t;
|
|
472
472
|
}
|
|
473
473
|
function Lt(e, t) {
|
|
474
474
|
for (; e !== null; ) {
|
|
475
|
-
const i =
|
|
475
|
+
const i = sl(e, t);
|
|
476
476
|
if (i) {
|
|
477
477
|
if (i.get)
|
|
478
|
-
return
|
|
478
|
+
return Ae(i.get);
|
|
479
479
|
if (typeof i.value == "function")
|
|
480
|
-
return
|
|
480
|
+
return Ae(i.value);
|
|
481
481
|
}
|
|
482
|
-
e =
|
|
482
|
+
e = rl(e);
|
|
483
483
|
}
|
|
484
484
|
function n() {
|
|
485
485
|
return null;
|
|
486
486
|
}
|
|
487
487
|
return n;
|
|
488
488
|
}
|
|
489
|
-
const Ki =
|
|
489
|
+
const Ki = Me(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Pn = Me(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Dn = Me(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), hl = Me(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), $n = Me(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), pl = Me(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Bi = Me(["#text"]), zi = Me(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Vn = Me(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), xi = Me(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), tn = Me(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), gl = Le(/\{\{[\w\W]*|[\w\W]*\}\}/gm), yl = Le(/<%[\w\W]*|[\w\W]*%>/gm), vl = Le(/\$\{[\w\W]*/gm), bl = Le(/^data-[\-\w.\u00B7-\uFFFF]+$/), _l = Le(/^aria-[\-\w]+$/), Ba = Le(
|
|
490
490
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
491
491
|
// eslint-disable-line no-useless-escape
|
|
492
|
-
),
|
|
492
|
+
), Tl = Le(/^(?:\w+script|data):/i), Sl = Le(
|
|
493
493
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
494
494
|
// eslint-disable-line no-control-regex
|
|
495
|
-
), za = Le(/^html$/i),
|
|
495
|
+
), za = Le(/^html$/i), wl = Le(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
496
496
|
var Hi = /* @__PURE__ */ Object.freeze({
|
|
497
497
|
__proto__: null,
|
|
498
|
-
ARIA_ATTR:
|
|
499
|
-
ATTR_WHITESPACE:
|
|
500
|
-
CUSTOM_ELEMENT:
|
|
501
|
-
DATA_ATTR:
|
|
498
|
+
ARIA_ATTR: _l,
|
|
499
|
+
ATTR_WHITESPACE: Sl,
|
|
500
|
+
CUSTOM_ELEMENT: wl,
|
|
501
|
+
DATA_ATTR: bl,
|
|
502
502
|
DOCTYPE_NAME: za,
|
|
503
|
-
ERB_EXPR:
|
|
503
|
+
ERB_EXPR: yl,
|
|
504
504
|
IS_ALLOWED_URI: Ba,
|
|
505
|
-
IS_SCRIPT_OR_DATA:
|
|
506
|
-
MUSTACHE_EXPR:
|
|
507
|
-
TMPLIT_EXPR:
|
|
505
|
+
IS_SCRIPT_OR_DATA: Tl,
|
|
506
|
+
MUSTACHE_EXPR: gl,
|
|
507
|
+
TMPLIT_EXPR: vl
|
|
508
508
|
});
|
|
509
509
|
const Pt = {
|
|
510
510
|
element: 1,
|
|
@@ -513,9 +513,9 @@ const Pt = {
|
|
|
513
513
|
progressingInstruction: 7,
|
|
514
514
|
comment: 8,
|
|
515
515
|
document: 9
|
|
516
|
-
},
|
|
516
|
+
}, El = function() {
|
|
517
517
|
return typeof window > "u" ? null : window;
|
|
518
|
-
},
|
|
518
|
+
}, Ml = function(t, n) {
|
|
519
519
|
if (typeof t != "object" || typeof t.createPolicy != "function")
|
|
520
520
|
return null;
|
|
521
521
|
let i = null;
|
|
@@ -548,7 +548,7 @@ const Pt = {
|
|
|
548
548
|
};
|
|
549
549
|
};
|
|
550
550
|
function xa() {
|
|
551
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
551
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : El();
|
|
552
552
|
const t = (L) => xa(L);
|
|
553
553
|
if (t.version = "3.2.6", t.removed = [], !e || !e.document || e.document.nodeType !== Pt.document || !e.Element)
|
|
554
554
|
return t.isSupported = !1, t;
|
|
@@ -644,10 +644,10 @@ function xa() {
|
|
|
644
644
|
throw Nt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
645
645
|
_ = l.TRUSTED_TYPES_POLICY, C = _.createHTML("");
|
|
646
646
|
} else
|
|
647
|
-
_ === void 0 && (_ =
|
|
648
|
-
|
|
647
|
+
_ === void 0 && (_ = Ml(k, a)), _ !== null && typeof C == "string" && (C = _.createHTML(""));
|
|
648
|
+
Me && Me(l), vt = l;
|
|
649
649
|
}
|
|
650
|
-
}, vi = x({}, [...Pn, ...Dn, ...
|
|
650
|
+
}, vi = x({}, [...Pn, ...Dn, ...hl]), bi = x({}, [...$n, ...pl]), No = function(l) {
|
|
651
651
|
let T = m(l);
|
|
652
652
|
(!T || !T.tagName) && (T = {
|
|
653
653
|
namespaceURI: yt,
|
|
@@ -746,8 +746,8 @@ function xa() {
|
|
|
746
746
|
const te = m(l) || l.parentNode, be = D(l) || l.childNodes;
|
|
747
747
|
if (be && te) {
|
|
748
748
|
const pe = be.length;
|
|
749
|
-
for (let
|
|
750
|
-
const He = p(be[
|
|
749
|
+
for (let Ie = pe - 1; Ie >= 0; --Ie) {
|
|
750
|
+
const He = p(be[Ie], !0);
|
|
751
751
|
He.__removalCount = (l.__removalCount || 0) + 1, te.insertBefore(He, O(l));
|
|
752
752
|
}
|
|
753
753
|
}
|
|
@@ -775,7 +775,7 @@ function xa() {
|
|
|
775
775
|
) return !1;
|
|
776
776
|
} else if (!In[T]) {
|
|
777
777
|
if (!Se(Ht, Ut(R, Be, ""))) {
|
|
778
|
-
if (!((T === "src" || T === "xlink:href" || T === "href") && l !== "script" &&
|
|
778
|
+
if (!((T === "src" || T === "xlink:href" || T === "href") && l !== "script" && ul(R, "data:") === 0 && hi[l])) {
|
|
779
779
|
if (!(di && !Se(fe, Ut(R, Be, "")))) {
|
|
780
780
|
if (R)
|
|
781
781
|
return !1;
|
|
@@ -806,10 +806,10 @@ function xa() {
|
|
|
806
806
|
for (; te--; ) {
|
|
807
807
|
const be = T[te], {
|
|
808
808
|
name: pe,
|
|
809
|
-
namespaceURI:
|
|
809
|
+
namespaceURI: Ie,
|
|
810
810
|
value: He
|
|
811
811
|
} = be, Ft = ye(pe), Rn = He;
|
|
812
|
-
let _e = pe === "value" ? Rn :
|
|
812
|
+
let _e = pe === "value" ? Rn : cl(Rn);
|
|
813
813
|
if (R.attrName = Ft, R.attrValue = _e, R.keepAttr = !0, R.forceKeepAttr = void 0, xe(S.uponSanitizeAttribute, l, R), _e = R.attrValue, mi && (Ft === "id" || Ft === "name") && (bt(pe, l), _e = Co + _e), Yt && Se(/((--!?|])>)|<\/(style|title)/i, _e)) {
|
|
814
814
|
bt(pe, l);
|
|
815
815
|
continue;
|
|
@@ -832,7 +832,7 @@ function xa() {
|
|
|
832
832
|
bt(pe, l);
|
|
833
833
|
continue;
|
|
834
834
|
}
|
|
835
|
-
if (_ && typeof k == "object" && typeof k.getAttributeType == "function" && !
|
|
835
|
+
if (_ && typeof k == "object" && typeof k.getAttributeType == "function" && !Ie)
|
|
836
836
|
switch (k.getAttributeType(Ii, Ft)) {
|
|
837
837
|
case "TrustedHTML": {
|
|
838
838
|
_e = _.createHTML(_e);
|
|
@@ -845,7 +845,7 @@ function xa() {
|
|
|
845
845
|
}
|
|
846
846
|
if (_e !== Rn)
|
|
847
847
|
try {
|
|
848
|
-
|
|
848
|
+
Ie ? l.setAttributeNS(Ie, pe, _e) : l.setAttribute(pe, _e), kn(l) ? Ve(l) : ji(t.removed);
|
|
849
849
|
} catch {
|
|
850
850
|
bt(pe, l);
|
|
851
851
|
}
|
|
@@ -897,11 +897,11 @@ function xa() {
|
|
|
897
897
|
be = T;
|
|
898
898
|
return (re.shadowroot || re.shadowrootmode) && (be = E.call(i, be, !0)), be;
|
|
899
899
|
}
|
|
900
|
-
let
|
|
901
|
-
return ot && $["!doctype"] && T.ownerDocument && T.ownerDocument.doctype && T.ownerDocument.doctype.name && Se(za, T.ownerDocument.doctype.name) && (
|
|
902
|
-
` +
|
|
903
|
-
|
|
904
|
-
}), _ && Wt ? _.createHTML(
|
|
900
|
+
let Ie = ot ? T.outerHTML : T.innerHTML;
|
|
901
|
+
return ot && $["!doctype"] && T.ownerDocument && T.ownerDocument.doctype && T.ownerDocument.doctype.name && Se(za, T.ownerDocument.doctype.name) && (Ie = "<!DOCTYPE " + T.ownerDocument.doctype.name + `>
|
|
902
|
+
` + Ie), ft && en([V, K, H], (He) => {
|
|
903
|
+
Ie = Ut(Ie, He, " ");
|
|
904
|
+
}), _ && Wt ? _.createHTML(Ie) : Ie;
|
|
905
905
|
}, t.setConfig = function() {
|
|
906
906
|
let L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
907
907
|
Fn(L), En = !0;
|
|
@@ -915,8 +915,8 @@ function xa() {
|
|
|
915
915
|
typeof l == "function" && Rt(S[L], l);
|
|
916
916
|
}, t.removeHook = function(L, l) {
|
|
917
917
|
if (l !== void 0) {
|
|
918
|
-
const T =
|
|
919
|
-
return T === -1 ? void 0 :
|
|
918
|
+
const T = ll(S[L], l);
|
|
919
|
+
return T === -1 ? void 0 : dl(S[L], T, 1)[0];
|
|
920
920
|
}
|
|
921
921
|
return ji(S[L]);
|
|
922
922
|
}, t.removeHooks = function(L) {
|
|
@@ -925,26 +925,26 @@ function xa() {
|
|
|
925
925
|
S = Yi();
|
|
926
926
|
}, t;
|
|
927
927
|
}
|
|
928
|
-
var
|
|
929
|
-
function
|
|
928
|
+
var Al = xa();
|
|
929
|
+
function Il() {
|
|
930
930
|
this.__data__ = new Ze(), this.size = 0;
|
|
931
931
|
}
|
|
932
|
-
function
|
|
932
|
+
function Cl(e) {
|
|
933
933
|
var t = this.__data__, n = t.delete(e);
|
|
934
934
|
return this.size = t.size, n;
|
|
935
935
|
}
|
|
936
|
-
function
|
|
936
|
+
function Ol(e) {
|
|
937
937
|
return this.__data__.get(e);
|
|
938
938
|
}
|
|
939
|
-
function
|
|
939
|
+
function Fl(e) {
|
|
940
940
|
return this.__data__.has(e);
|
|
941
941
|
}
|
|
942
|
-
var
|
|
943
|
-
function
|
|
942
|
+
var kl = 200;
|
|
943
|
+
function Rl(e, t) {
|
|
944
944
|
var n = this.__data__;
|
|
945
945
|
if (n instanceof Ze) {
|
|
946
946
|
var i = n.__data__;
|
|
947
|
-
if (!Bt || i.length <
|
|
947
|
+
if (!Bt || i.length < kl - 1)
|
|
948
948
|
return i.push([e, t]), this.size = ++n.size, this;
|
|
949
949
|
n = this.__data__ = new Xe(i);
|
|
950
950
|
}
|
|
@@ -954,11 +954,11 @@ function At(e) {
|
|
|
954
954
|
var t = this.__data__ = new Ze(e);
|
|
955
955
|
this.size = t.size;
|
|
956
956
|
}
|
|
957
|
-
At.prototype.clear =
|
|
958
|
-
At.prototype.delete =
|
|
959
|
-
At.prototype.get =
|
|
960
|
-
At.prototype.has =
|
|
961
|
-
At.prototype.set =
|
|
957
|
+
At.prototype.clear = Il;
|
|
958
|
+
At.prototype.delete = Cl;
|
|
959
|
+
At.prototype.get = Ol;
|
|
960
|
+
At.prototype.has = Fl;
|
|
961
|
+
At.prototype.set = Rl;
|
|
962
962
|
var on = function() {
|
|
963
963
|
try {
|
|
964
964
|
var e = mt(Object, "defineProperty");
|
|
@@ -974,10 +974,10 @@ function Ha(e, t, n) {
|
|
|
974
974
|
writable: !0
|
|
975
975
|
}) : e[t] = n;
|
|
976
976
|
}
|
|
977
|
-
var
|
|
977
|
+
var Ul = Object.prototype, Nl = Ul.hasOwnProperty;
|
|
978
978
|
function Ya(e, t, n) {
|
|
979
979
|
var i = e[t];
|
|
980
|
-
(!(
|
|
980
|
+
(!(Nl.call(e, t) && gn(i, n)) || n === void 0 && !(t in e)) && Ha(e, t, n);
|
|
981
981
|
}
|
|
982
982
|
function bn(e, t, n, i) {
|
|
983
983
|
var a = !n;
|
|
@@ -988,45 +988,45 @@ function bn(e, t, n, i) {
|
|
|
988
988
|
}
|
|
989
989
|
return n;
|
|
990
990
|
}
|
|
991
|
-
function
|
|
991
|
+
function Ll(e, t) {
|
|
992
992
|
return e && bn(t, hn(t), e);
|
|
993
993
|
}
|
|
994
|
-
function
|
|
994
|
+
function Pl(e) {
|
|
995
995
|
var t = [];
|
|
996
996
|
if (e != null)
|
|
997
997
|
for (var n in Object(e))
|
|
998
998
|
t.push(n);
|
|
999
999
|
return t;
|
|
1000
1000
|
}
|
|
1001
|
-
var
|
|
1002
|
-
function
|
|
1001
|
+
var Dl = Object.prototype, $l = Dl.hasOwnProperty;
|
|
1002
|
+
function Vl(e) {
|
|
1003
1003
|
if (!Fe(e))
|
|
1004
|
-
return
|
|
1004
|
+
return Pl(e);
|
|
1005
1005
|
var t = ti(e), n = [];
|
|
1006
1006
|
for (var i in e)
|
|
1007
|
-
i == "constructor" && (t ||
|
|
1007
|
+
i == "constructor" && (t || !$l.call(e, i)) || n.push(i);
|
|
1008
1008
|
return n;
|
|
1009
1009
|
}
|
|
1010
1010
|
function _n(e) {
|
|
1011
|
-
return fn(e) ? Da(e, !0) :
|
|
1011
|
+
return fn(e) ? Da(e, !0) : Vl(e);
|
|
1012
1012
|
}
|
|
1013
|
-
function
|
|
1013
|
+
function jl(e, t) {
|
|
1014
1014
|
return e && bn(t, _n(t), e);
|
|
1015
1015
|
}
|
|
1016
|
-
var Ga = typeof exports == "object" && exports && !exports.nodeType && exports, Gi = Ga && typeof module == "object" && module && !module.nodeType && module,
|
|
1017
|
-
function
|
|
1016
|
+
var Ga = typeof exports == "object" && exports && !exports.nodeType && exports, Gi = Ga && typeof module == "object" && module && !module.nodeType && module, ql = Gi && Gi.exports === Ga, Wi = ql ? Pe.Buffer : void 0, Zi = Wi ? Wi.allocUnsafe : void 0;
|
|
1017
|
+
function Kl(e, t) {
|
|
1018
1018
|
if (t)
|
|
1019
1019
|
return e.slice();
|
|
1020
1020
|
var n = e.length, i = Zi ? Zi(n) : new e.constructor(n);
|
|
1021
1021
|
return e.copy(i), i;
|
|
1022
1022
|
}
|
|
1023
|
-
function
|
|
1023
|
+
function Bl(e, t) {
|
|
1024
1024
|
var n = -1, i = e.length;
|
|
1025
1025
|
for (t || (t = Array(i)); ++n < i; )
|
|
1026
1026
|
t[n] = e[n];
|
|
1027
1027
|
return t;
|
|
1028
1028
|
}
|
|
1029
|
-
function
|
|
1029
|
+
function zl(e, t) {
|
|
1030
1030
|
for (var n = -1, i = e == null ? 0 : e.length, a = 0, o = []; ++n < i; ) {
|
|
1031
1031
|
var r = e[n];
|
|
1032
1032
|
t(r, n, e) && (o[a++] = r);
|
|
@@ -1036,12 +1036,12 @@ function Bl(e, t) {
|
|
|
1036
1036
|
function Wa() {
|
|
1037
1037
|
return [];
|
|
1038
1038
|
}
|
|
1039
|
-
var
|
|
1040
|
-
return e == null ? [] : (e = Object(e),
|
|
1041
|
-
return
|
|
1039
|
+
var xl = Object.prototype, Hl = xl.propertyIsEnumerable, Xi = Object.getOwnPropertySymbols, ai = Xi ? function(e) {
|
|
1040
|
+
return e == null ? [] : (e = Object(e), zl(Xi(e), function(t) {
|
|
1041
|
+
return Hl.call(e, t);
|
|
1042
1042
|
}));
|
|
1043
1043
|
} : Wa;
|
|
1044
|
-
function
|
|
1044
|
+
function Yl(e, t) {
|
|
1045
1045
|
return bn(e, ai(e), t);
|
|
1046
1046
|
}
|
|
1047
1047
|
function Za(e, t) {
|
|
@@ -1049,81 +1049,80 @@ function Za(e, t) {
|
|
|
1049
1049
|
e[a + n] = t[n];
|
|
1050
1050
|
return e;
|
|
1051
1051
|
}
|
|
1052
|
-
var Xa = $a(Object.getPrototypeOf, Object),
|
|
1052
|
+
var Xa = $a(Object.getPrototypeOf, Object), Gl = Object.getOwnPropertySymbols, Ja = Gl ? function(e) {
|
|
1053
1053
|
for (var t = []; e; )
|
|
1054
1054
|
Za(t, ai(e)), e = Xa(e);
|
|
1055
1055
|
return t;
|
|
1056
1056
|
} : Wa;
|
|
1057
|
-
function
|
|
1057
|
+
function Wl(e, t) {
|
|
1058
1058
|
return bn(e, Ja(e), t);
|
|
1059
1059
|
}
|
|
1060
1060
|
function Qa(e, t, n) {
|
|
1061
1061
|
var i = t(e);
|
|
1062
1062
|
return at(e) ? i : Za(i, n(e));
|
|
1063
1063
|
}
|
|
1064
|
-
function
|
|
1064
|
+
function Zl(e) {
|
|
1065
1065
|
return Qa(e, hn, ai);
|
|
1066
1066
|
}
|
|
1067
|
-
function
|
|
1067
|
+
function Xl(e) {
|
|
1068
1068
|
return Qa(e, _n, Ja);
|
|
1069
1069
|
}
|
|
1070
|
-
var xn = mt(Pe, "DataView"), Hn = mt(Pe, "Promise"), Tt = mt(Pe, "Set"), Yn = mt(Pe, "WeakMap"), Ji = "[object Map]",
|
|
1070
|
+
var xn = mt(Pe, "DataView"), Hn = mt(Pe, "Promise"), Tt = mt(Pe, "Set"), Yn = mt(Pe, "WeakMap"), Ji = "[object Map]", Jl = "[object Object]", Qi = "[object Promise]", ea = "[object Set]", ta = "[object WeakMap]", na = "[object DataView]", Ql = ct(xn), ed = ct(Bt), td = ct(Hn), nd = ct(Tt), id = ct(Yn), Ge = nt;
|
|
1071
1071
|
(xn && Ge(new xn(new ArrayBuffer(1))) != na || Bt && Ge(new Bt()) != Ji || Hn && Ge(Hn.resolve()) != Qi || Tt && Ge(new Tt()) != ea || Yn && Ge(new Yn()) != ta) && (Ge = function(e) {
|
|
1072
|
-
var t = nt(e), n = t ==
|
|
1072
|
+
var t = nt(e), n = t == Jl ? e.constructor : void 0, i = n ? ct(n) : "";
|
|
1073
1073
|
if (i)
|
|
1074
1074
|
switch (i) {
|
|
1075
|
-
case Jl:
|
|
1076
|
-
return na;
|
|
1077
1075
|
case Ql:
|
|
1078
|
-
return
|
|
1076
|
+
return na;
|
|
1079
1077
|
case ed:
|
|
1080
|
-
return
|
|
1078
|
+
return Ji;
|
|
1081
1079
|
case td:
|
|
1082
|
-
return
|
|
1080
|
+
return Qi;
|
|
1083
1081
|
case nd:
|
|
1082
|
+
return ea;
|
|
1083
|
+
case id:
|
|
1084
1084
|
return ta;
|
|
1085
1085
|
}
|
|
1086
1086
|
return t;
|
|
1087
1087
|
});
|
|
1088
|
-
var
|
|
1089
|
-
function
|
|
1088
|
+
var ad = Object.prototype, od = ad.hasOwnProperty;
|
|
1089
|
+
function rd(e) {
|
|
1090
1090
|
var t = e.length, n = new e.constructor(t);
|
|
1091
|
-
return t && typeof e[0] == "string" &&
|
|
1091
|
+
return t && typeof e[0] == "string" && od.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
1092
1092
|
}
|
|
1093
1093
|
var ia = Pe.Uint8Array;
|
|
1094
1094
|
function oi(e) {
|
|
1095
1095
|
var t = new e.constructor(e.byteLength);
|
|
1096
1096
|
return new ia(t).set(new ia(e)), t;
|
|
1097
1097
|
}
|
|
1098
|
-
function
|
|
1098
|
+
function sd(e, t) {
|
|
1099
1099
|
var n = t ? oi(e.buffer) : e.buffer;
|
|
1100
1100
|
return new e.constructor(n, e.byteOffset, e.byteLength);
|
|
1101
1101
|
}
|
|
1102
|
-
var
|
|
1103
|
-
function
|
|
1104
|
-
var t = new e.constructor(e.source,
|
|
1102
|
+
var ld = /\w*$/;
|
|
1103
|
+
function dd(e) {
|
|
1104
|
+
var t = new e.constructor(e.source, ld.exec(e));
|
|
1105
1105
|
return t.lastIndex = e.lastIndex, t;
|
|
1106
1106
|
}
|
|
1107
1107
|
var aa = tt ? tt.prototype : void 0, oa = aa ? aa.valueOf : void 0;
|
|
1108
|
-
function
|
|
1108
|
+
function ud(e) {
|
|
1109
1109
|
return oa ? Object(oa.call(e)) : {};
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1111
|
+
function cd(e, t) {
|
|
1112
1112
|
var n = t ? oi(e.buffer) : e.buffer;
|
|
1113
1113
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
1114
1114
|
}
|
|
1115
|
-
var
|
|
1116
|
-
function
|
|
1115
|
+
var md = "[object Boolean]", fd = "[object Date]", hd = "[object Map]", pd = "[object Number]", gd = "[object RegExp]", yd = "[object Set]", vd = "[object String]", bd = "[object Symbol]", _d = "[object ArrayBuffer]", Td = "[object DataView]", Sd = "[object Float32Array]", wd = "[object Float64Array]", Ed = "[object Int8Array]", Md = "[object Int16Array]", Ad = "[object Int32Array]", Id = "[object Uint8Array]", Cd = "[object Uint8ClampedArray]", Od = "[object Uint16Array]", Fd = "[object Uint32Array]";
|
|
1116
|
+
function kd(e, t, n) {
|
|
1117
1117
|
var i = e.constructor;
|
|
1118
1118
|
switch (t) {
|
|
1119
|
-
case
|
|
1119
|
+
case _d:
|
|
1120
1120
|
return oi(e);
|
|
1121
|
-
case cd:
|
|
1122
1121
|
case md:
|
|
1122
|
+
case fd:
|
|
1123
1123
|
return new i(+e);
|
|
1124
|
-
case _d:
|
|
1125
|
-
return rd(e, n);
|
|
1126
1124
|
case Td:
|
|
1125
|
+
return sd(e, n);
|
|
1127
1126
|
case Sd:
|
|
1128
1127
|
case wd:
|
|
1129
1128
|
case Ed:
|
|
@@ -1132,21 +1131,22 @@ function Fd(e, t, n) {
|
|
|
1132
1131
|
case Id:
|
|
1133
1132
|
case Cd:
|
|
1134
1133
|
case Od:
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
return new i();
|
|
1134
|
+
case Fd:
|
|
1135
|
+
return cd(e, n);
|
|
1138
1136
|
case hd:
|
|
1139
|
-
case yd:
|
|
1140
|
-
return new i(e);
|
|
1141
|
-
case pd:
|
|
1142
|
-
return ld(e);
|
|
1143
|
-
case gd:
|
|
1144
1137
|
return new i();
|
|
1138
|
+
case pd:
|
|
1145
1139
|
case vd:
|
|
1140
|
+
return new i(e);
|
|
1141
|
+
case gd:
|
|
1146
1142
|
return dd(e);
|
|
1143
|
+
case yd:
|
|
1144
|
+
return new i();
|
|
1145
|
+
case bd:
|
|
1146
|
+
return ud(e);
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
1149
|
-
var ra = Object.create,
|
|
1149
|
+
var ra = Object.create, Rd = /* @__PURE__ */ function() {
|
|
1150
1150
|
function e() {
|
|
1151
1151
|
}
|
|
1152
1152
|
return function(t) {
|
|
@@ -1159,65 +1159,65 @@ var ra = Object.create, kd = /* @__PURE__ */ function() {
|
|
|
1159
1159
|
return e.prototype = void 0, n;
|
|
1160
1160
|
};
|
|
1161
1161
|
}();
|
|
1162
|
-
function
|
|
1163
|
-
return typeof e.constructor == "function" && !ti(e) ?
|
|
1162
|
+
function Ud(e) {
|
|
1163
|
+
return typeof e.constructor == "function" && !ti(e) ? Rd(Xa(e)) : {};
|
|
1164
1164
|
}
|
|
1165
|
-
var
|
|
1166
|
-
function
|
|
1167
|
-
return it(e) && Ge(e) ==
|
|
1165
|
+
var Nd = "[object Map]";
|
|
1166
|
+
function Ld(e) {
|
|
1167
|
+
return it(e) && Ge(e) == Nd;
|
|
1168
1168
|
}
|
|
1169
|
-
var sa = St && St.isMap,
|
|
1170
|
-
function
|
|
1171
|
-
return it(e) && Ge(e) ==
|
|
1169
|
+
var sa = St && St.isMap, Pd = sa ? ei(sa) : Ld, Dd = "[object Set]";
|
|
1170
|
+
function $d(e) {
|
|
1171
|
+
return it(e) && Ge(e) == Dd;
|
|
1172
1172
|
}
|
|
1173
|
-
var la = St && St.isSet,
|
|
1174
|
-
J[eo] = J[
|
|
1175
|
-
J[
|
|
1173
|
+
var la = St && St.isSet, Vd = la ? ei(la) : $d, jd = 1, qd = 2, Kd = 4, eo = "[object Arguments]", Bd = "[object Array]", zd = "[object Boolean]", xd = "[object Date]", Hd = "[object Error]", to = "[object Function]", Yd = "[object GeneratorFunction]", Gd = "[object Map]", Wd = "[object Number]", no = "[object Object]", Zd = "[object RegExp]", Xd = "[object Set]", Jd = "[object String]", Qd = "[object Symbol]", eu = "[object WeakMap]", tu = "[object ArrayBuffer]", nu = "[object DataView]", iu = "[object Float32Array]", au = "[object Float64Array]", ou = "[object Int8Array]", ru = "[object Int16Array]", su = "[object Int32Array]", lu = "[object Uint8Array]", du = "[object Uint8ClampedArray]", uu = "[object Uint16Array]", cu = "[object Uint32Array]", J = {};
|
|
1174
|
+
J[eo] = J[Bd] = J[tu] = J[nu] = J[zd] = J[xd] = J[iu] = J[au] = J[ou] = J[ru] = J[su] = J[Gd] = J[Wd] = J[no] = J[Zd] = J[Xd] = J[Jd] = J[Qd] = J[lu] = J[du] = J[uu] = J[cu] = !0;
|
|
1175
|
+
J[Hd] = J[to] = J[eu] = !1;
|
|
1176
1176
|
function jt(e, t, n, i, a, o) {
|
|
1177
|
-
var r, s = t &
|
|
1177
|
+
var r, s = t & jd, d = t & qd, u = t & Kd;
|
|
1178
1178
|
if (r !== void 0)
|
|
1179
1179
|
return r;
|
|
1180
1180
|
if (!Fe(e))
|
|
1181
1181
|
return e;
|
|
1182
1182
|
var g = at(e);
|
|
1183
1183
|
if (g) {
|
|
1184
|
-
if (r =
|
|
1185
|
-
return
|
|
1184
|
+
if (r = rd(e), !s)
|
|
1185
|
+
return Bl(e, r);
|
|
1186
1186
|
} else {
|
|
1187
|
-
var h = Ge(e), y = h == to || h ==
|
|
1187
|
+
var h = Ge(e), y = h == to || h == Yd;
|
|
1188
1188
|
if (Ua(e))
|
|
1189
|
-
return
|
|
1189
|
+
return Kl(e, s);
|
|
1190
1190
|
if (h == no || h == eo || y && !a) {
|
|
1191
|
-
if (r = d || y ? {} :
|
|
1192
|
-
return d ?
|
|
1191
|
+
if (r = d || y ? {} : Ud(e), !s)
|
|
1192
|
+
return d ? Wl(e, jl(r, e)) : Yl(e, Ll(r, e));
|
|
1193
1193
|
} else {
|
|
1194
1194
|
if (!J[h])
|
|
1195
1195
|
return a ? e : {};
|
|
1196
|
-
r =
|
|
1196
|
+
r = kd(e, h, s);
|
|
1197
1197
|
}
|
|
1198
1198
|
}
|
|
1199
1199
|
o || (o = new At());
|
|
1200
1200
|
var k = o.get(e);
|
|
1201
1201
|
if (k)
|
|
1202
1202
|
return k;
|
|
1203
|
-
o.set(e, r),
|
|
1203
|
+
o.set(e, r), Vd(e) ? e.forEach(function(A) {
|
|
1204
1204
|
r.add(jt(A, t, n, A, e, o));
|
|
1205
|
-
}) :
|
|
1205
|
+
}) : Pd(e) && e.forEach(function(A, O) {
|
|
1206
1206
|
r.set(O, jt(A, t, n, O, e, o));
|
|
1207
1207
|
});
|
|
1208
|
-
var j = u ? d ?
|
|
1208
|
+
var j = u ? d ? Xl : Zl : d ? _n : hn, p = g ? void 0 : j(e);
|
|
1209
1209
|
return Ca(p || e, function(A, O) {
|
|
1210
1210
|
p && (O = A, A = e[O]), Ya(r, O, jt(A, t, n, O, e, o));
|
|
1211
1211
|
}), r;
|
|
1212
1212
|
}
|
|
1213
|
-
var
|
|
1213
|
+
var mu = 1, fu = 4;
|
|
1214
1214
|
function We(e) {
|
|
1215
|
-
return jt(e,
|
|
1215
|
+
return jt(e, mu | fu);
|
|
1216
1216
|
}
|
|
1217
1217
|
const ri = (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, ""), da = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
|
|
1218
|
-
var
|
|
1218
|
+
var hu = "[object String]";
|
|
1219
1219
|
function st(e) {
|
|
1220
|
-
return typeof e == "string" || !at(e) && it(e) && nt(e) ==
|
|
1220
|
+
return typeof e == "string" || !at(e) && it(e) && nt(e) == hu;
|
|
1221
1221
|
}
|
|
1222
1222
|
const io = {
|
|
1223
1223
|
methods: {
|
|
@@ -1256,17 +1256,17 @@ const io = {
|
|
|
1256
1256
|
};
|
|
1257
1257
|
var jn = function() {
|
|
1258
1258
|
return Pe.Date.now();
|
|
1259
|
-
},
|
|
1260
|
-
function
|
|
1261
|
-
for (var t = e.length; t-- &&
|
|
1259
|
+
}, pu = /\s/;
|
|
1260
|
+
function gu(e) {
|
|
1261
|
+
for (var t = e.length; t-- && pu.test(e.charAt(t)); )
|
|
1262
1262
|
;
|
|
1263
1263
|
return t;
|
|
1264
1264
|
}
|
|
1265
|
-
var
|
|
1266
|
-
function
|
|
1267
|
-
return e && e.slice(0,
|
|
1265
|
+
var yu = /^\s+/;
|
|
1266
|
+
function vu(e) {
|
|
1267
|
+
return e && e.slice(0, gu(e) + 1).replace(yu, "");
|
|
1268
1268
|
}
|
|
1269
|
-
var ua = NaN,
|
|
1269
|
+
var ua = NaN, bu = /^[-+]0x[0-9a-f]+$/i, _u = /^0b[01]+$/i, Tu = /^0o[0-7]+$/i, Su = parseInt;
|
|
1270
1270
|
function Gn(e) {
|
|
1271
1271
|
if (typeof e == "number")
|
|
1272
1272
|
return e;
|
|
@@ -1278,16 +1278,16 @@ function Gn(e) {
|
|
|
1278
1278
|
}
|
|
1279
1279
|
if (typeof e != "string")
|
|
1280
1280
|
return e === 0 ? e : +e;
|
|
1281
|
-
e =
|
|
1282
|
-
var n =
|
|
1283
|
-
return n ||
|
|
1281
|
+
e = vu(e);
|
|
1282
|
+
var n = _u.test(e);
|
|
1283
|
+
return n || Tu.test(e) ? Su(e.slice(2), n ? 2 : 8) : bu.test(e) ? ua : +e;
|
|
1284
1284
|
}
|
|
1285
|
-
var
|
|
1285
|
+
var wu = "Expected a function", Eu = Math.max, Mu = Math.min;
|
|
1286
1286
|
function wt(e, t, n) {
|
|
1287
1287
|
var i, a, o, r, s, d, u = 0, g = !1, h = !1, y = !0;
|
|
1288
1288
|
if (typeof e != "function")
|
|
1289
|
-
throw new TypeError(
|
|
1290
|
-
t = Gn(t) || 0, Fe(n) && (g = !!n.leading, h = "maxWait" in n, o = h ?
|
|
1289
|
+
throw new TypeError(wu);
|
|
1290
|
+
t = Gn(t) || 0, Fe(n) && (g = !!n.leading, h = "maxWait" in n, o = h ? Eu(Gn(n.maxWait) || 0, t) : o, y = "trailing" in n ? !!n.trailing : y);
|
|
1291
1291
|
function k(w) {
|
|
1292
1292
|
var b = i, q = a;
|
|
1293
1293
|
return i = a = void 0, u = w, r = e.apply(q, b), r;
|
|
@@ -1297,7 +1297,7 @@ function wt(e, t, n) {
|
|
|
1297
1297
|
}
|
|
1298
1298
|
function p(w) {
|
|
1299
1299
|
var b = w - d, q = w - u, Z = t - b;
|
|
1300
|
-
return h ?
|
|
1300
|
+
return h ? Mu(Z, o - q) : Z;
|
|
1301
1301
|
}
|
|
1302
1302
|
function A(w) {
|
|
1303
1303
|
var b = w - d, q = w - u;
|
|
@@ -1330,11 +1330,11 @@ function wt(e, t, n) {
|
|
|
1330
1330
|
}
|
|
1331
1331
|
return C.cancel = m, C.flush = _, C;
|
|
1332
1332
|
}
|
|
1333
|
-
var
|
|
1334
|
-
function Au(e) {
|
|
1335
|
-
return this.__data__.set(e, Mu), this;
|
|
1336
|
-
}
|
|
1333
|
+
var Au = "__lodash_hash_undefined__";
|
|
1337
1334
|
function Iu(e) {
|
|
1335
|
+
return this.__data__.set(e, Au), this;
|
|
1336
|
+
}
|
|
1337
|
+
function Cu(e) {
|
|
1338
1338
|
return this.__data__.has(e);
|
|
1339
1339
|
}
|
|
1340
1340
|
function rn(e) {
|
|
@@ -1342,34 +1342,34 @@ function rn(e) {
|
|
|
1342
1342
|
for (this.__data__ = new Xe(); ++t < n; )
|
|
1343
1343
|
this.add(e[t]);
|
|
1344
1344
|
}
|
|
1345
|
-
rn.prototype.add = rn.prototype.push =
|
|
1346
|
-
rn.prototype.has =
|
|
1347
|
-
function
|
|
1345
|
+
rn.prototype.add = rn.prototype.push = Iu;
|
|
1346
|
+
rn.prototype.has = Cu;
|
|
1347
|
+
function Ou(e, t, n, i) {
|
|
1348
1348
|
for (var a = e.length, o = n + -1; ++o < a; )
|
|
1349
1349
|
if (t(e[o], o, e))
|
|
1350
1350
|
return o;
|
|
1351
1351
|
return -1;
|
|
1352
1352
|
}
|
|
1353
|
-
function
|
|
1353
|
+
function Fu(e) {
|
|
1354
1354
|
return e !== e;
|
|
1355
1355
|
}
|
|
1356
|
-
function
|
|
1356
|
+
function ku(e, t, n) {
|
|
1357
1357
|
for (var i = n - 1, a = e.length; ++i < a; )
|
|
1358
1358
|
if (e[i] === t)
|
|
1359
1359
|
return i;
|
|
1360
1360
|
return -1;
|
|
1361
1361
|
}
|
|
1362
|
-
function
|
|
1363
|
-
return t === t ?
|
|
1362
|
+
function Ru(e, t, n) {
|
|
1363
|
+
return t === t ? ku(e, t, n) : Ou(e, Fu, n);
|
|
1364
1364
|
}
|
|
1365
|
-
function
|
|
1365
|
+
function Uu(e, t) {
|
|
1366
1366
|
var n = e == null ? 0 : e.length;
|
|
1367
|
-
return !!n &&
|
|
1367
|
+
return !!n && Ru(e, t, 0) > -1;
|
|
1368
1368
|
}
|
|
1369
|
-
function
|
|
1369
|
+
function Nu(e, t) {
|
|
1370
1370
|
return e.has(t);
|
|
1371
1371
|
}
|
|
1372
|
-
function
|
|
1372
|
+
function Lu() {
|
|
1373
1373
|
}
|
|
1374
1374
|
function ao(e) {
|
|
1375
1375
|
var t = -1, n = Array(e.size);
|
|
@@ -1377,16 +1377,16 @@ function ao(e) {
|
|
|
1377
1377
|
n[++t] = i;
|
|
1378
1378
|
}), n;
|
|
1379
1379
|
}
|
|
1380
|
-
var
|
|
1380
|
+
var Pu = 1 / 0, Du = Tt && 1 / ao(new Tt([, -0]))[1] == Pu ? function(e) {
|
|
1381
1381
|
return new Tt(e);
|
|
1382
|
-
} :
|
|
1383
|
-
function
|
|
1384
|
-
var i = -1, a =
|
|
1385
|
-
if (o >=
|
|
1386
|
-
var u =
|
|
1382
|
+
} : Lu, $u = 200;
|
|
1383
|
+
function Vu(e, t, n) {
|
|
1384
|
+
var i = -1, a = Uu, o = e.length, r = !0, s = [], d = s;
|
|
1385
|
+
if (o >= $u) {
|
|
1386
|
+
var u = Du(e);
|
|
1387
1387
|
if (u)
|
|
1388
1388
|
return ao(u);
|
|
1389
|
-
r = !1, a =
|
|
1389
|
+
r = !1, a = Nu, d = new rn();
|
|
1390
1390
|
} else
|
|
1391
1391
|
d = s;
|
|
1392
1392
|
e:
|
|
@@ -1402,14 +1402,14 @@ function $u(e, t, n) {
|
|
|
1402
1402
|
return s;
|
|
1403
1403
|
}
|
|
1404
1404
|
function oo(e) {
|
|
1405
|
-
return e && e.length ?
|
|
1405
|
+
return e && e.length ? Vu(e) : [];
|
|
1406
1406
|
}
|
|
1407
|
-
var
|
|
1407
|
+
var ju = 0;
|
|
1408
1408
|
function ro(e) {
|
|
1409
|
-
var t = ++
|
|
1409
|
+
var t = ++ju;
|
|
1410
1410
|
return ja(e) + t;
|
|
1411
1411
|
}
|
|
1412
|
-
var so = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, Qe = "\\d\\d?", Je = "\\d\\d",
|
|
1412
|
+
var so = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, Qe = "\\d\\d?", Je = "\\d\\d", qu = "\\d{3}", Ku = "\\d{4}", qt = "[^\\s]+", lo = /\[([^]*?)\]/gm;
|
|
1413
1413
|
function uo(e, t) {
|
|
1414
1414
|
for (var n = [], i = 0, a = e.length; i < a; i++)
|
|
1415
1415
|
n.push(e[i].substr(0, t));
|
|
@@ -1454,29 +1454,29 @@ var co = [
|
|
|
1454
1454
|
"October",
|
|
1455
1455
|
"November",
|
|
1456
1456
|
"December"
|
|
1457
|
-
],
|
|
1458
|
-
dayNamesShort:
|
|
1457
|
+
], Bu = uo(mo, 3), zu = uo(co, 3), fo = {
|
|
1458
|
+
dayNamesShort: zu,
|
|
1459
1459
|
dayNames: co,
|
|
1460
|
-
monthNamesShort:
|
|
1460
|
+
monthNamesShort: Bu,
|
|
1461
1461
|
monthNames: mo,
|
|
1462
1462
|
amPm: ["am", "pm"],
|
|
1463
1463
|
DoFn: function(e) {
|
|
1464
1464
|
return e + ["th", "st", "nd", "rd"][e % 10 > 3 ? 0 : (e - e % 10 !== 10 ? 1 : 0) * e % 10];
|
|
1465
1465
|
}
|
|
1466
|
-
}, sn = lt({}, fo),
|
|
1466
|
+
}, sn = lt({}, fo), xu = function(e) {
|
|
1467
1467
|
return sn = lt(sn, e);
|
|
1468
1468
|
}, ma = function(e) {
|
|
1469
1469
|
return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
|
|
1470
|
-
},
|
|
1470
|
+
}, Ce = function(e, t) {
|
|
1471
1471
|
for (t === void 0 && (t = 2), e = String(e); e.length < t; )
|
|
1472
1472
|
e = "0" + e;
|
|
1473
1473
|
return e;
|
|
1474
|
-
},
|
|
1474
|
+
}, Hu = {
|
|
1475
1475
|
D: function(e) {
|
|
1476
1476
|
return String(e.getDate());
|
|
1477
1477
|
},
|
|
1478
1478
|
DD: function(e) {
|
|
1479
|
-
return
|
|
1479
|
+
return Ce(e.getDate());
|
|
1480
1480
|
},
|
|
1481
1481
|
Do: function(e, t) {
|
|
1482
1482
|
return t.DoFn(e.getDate());
|
|
@@ -1485,7 +1485,7 @@ var co = [
|
|
|
1485
1485
|
return String(e.getDay());
|
|
1486
1486
|
},
|
|
1487
1487
|
dd: function(e) {
|
|
1488
|
-
return
|
|
1488
|
+
return Ce(e.getDay());
|
|
1489
1489
|
},
|
|
1490
1490
|
ddd: function(e, t) {
|
|
1491
1491
|
return t.dayNamesShort[e.getDay()];
|
|
@@ -1497,7 +1497,7 @@ var co = [
|
|
|
1497
1497
|
return String(e.getMonth() + 1);
|
|
1498
1498
|
},
|
|
1499
1499
|
MM: function(e) {
|
|
1500
|
-
return
|
|
1500
|
+
return Ce(e.getMonth() + 1);
|
|
1501
1501
|
},
|
|
1502
1502
|
MMM: function(e, t) {
|
|
1503
1503
|
return t.monthNamesShort[e.getMonth()];
|
|
@@ -1506,43 +1506,43 @@ var co = [
|
|
|
1506
1506
|
return t.monthNames[e.getMonth()];
|
|
1507
1507
|
},
|
|
1508
1508
|
YY: function(e) {
|
|
1509
|
-
return
|
|
1509
|
+
return Ce(String(e.getFullYear()), 4).substr(2);
|
|
1510
1510
|
},
|
|
1511
1511
|
YYYY: function(e) {
|
|
1512
|
-
return
|
|
1512
|
+
return Ce(e.getFullYear(), 4);
|
|
1513
1513
|
},
|
|
1514
1514
|
h: function(e) {
|
|
1515
1515
|
return String(e.getHours() % 12 || 12);
|
|
1516
1516
|
},
|
|
1517
1517
|
hh: function(e) {
|
|
1518
|
-
return
|
|
1518
|
+
return Ce(e.getHours() % 12 || 12);
|
|
1519
1519
|
},
|
|
1520
1520
|
H: function(e) {
|
|
1521
1521
|
return String(e.getHours());
|
|
1522
1522
|
},
|
|
1523
1523
|
HH: function(e) {
|
|
1524
|
-
return
|
|
1524
|
+
return Ce(e.getHours());
|
|
1525
1525
|
},
|
|
1526
1526
|
m: function(e) {
|
|
1527
1527
|
return String(e.getMinutes());
|
|
1528
1528
|
},
|
|
1529
1529
|
mm: function(e) {
|
|
1530
|
-
return
|
|
1530
|
+
return Ce(e.getMinutes());
|
|
1531
1531
|
},
|
|
1532
1532
|
s: function(e) {
|
|
1533
1533
|
return String(e.getSeconds());
|
|
1534
1534
|
},
|
|
1535
1535
|
ss: function(e) {
|
|
1536
|
-
return
|
|
1536
|
+
return Ce(e.getSeconds());
|
|
1537
1537
|
},
|
|
1538
1538
|
S: function(e) {
|
|
1539
1539
|
return String(Math.round(e.getMilliseconds() / 100));
|
|
1540
1540
|
},
|
|
1541
1541
|
SS: function(e) {
|
|
1542
|
-
return
|
|
1542
|
+
return Ce(Math.round(e.getMilliseconds() / 10), 2);
|
|
1543
1543
|
},
|
|
1544
1544
|
SSS: function(e) {
|
|
1545
|
-
return
|
|
1545
|
+
return Ce(e.getMilliseconds(), 3);
|
|
1546
1546
|
},
|
|
1547
1547
|
a: function(e, t) {
|
|
1548
1548
|
return e.getHours() < 12 ? t.amPm[0] : t.amPm[1];
|
|
@@ -1552,11 +1552,11 @@ var co = [
|
|
|
1552
1552
|
},
|
|
1553
1553
|
ZZ: function(e) {
|
|
1554
1554
|
var t = e.getTimezoneOffset();
|
|
1555
|
-
return (t > 0 ? "-" : "+") +
|
|
1555
|
+
return (t > 0 ? "-" : "+") + Ce(Math.floor(Math.abs(t) / 60) * 100 + Math.abs(t) % 60, 4);
|
|
1556
1556
|
},
|
|
1557
1557
|
Z: function(e) {
|
|
1558
1558
|
var t = e.getTimezoneOffset();
|
|
1559
|
-
return (t > 0 ? "-" : "+") +
|
|
1559
|
+
return (t > 0 ? "-" : "+") + Ce(Math.floor(Math.abs(t) / 60), 2) + ":" + Ce(Math.abs(t) % 60, 2);
|
|
1560
1560
|
}
|
|
1561
1561
|
}, fa = function(e) {
|
|
1562
1562
|
return +e - 1;
|
|
@@ -1578,7 +1578,7 @@ var co = [
|
|
|
1578
1578
|
}
|
|
1579
1579
|
return 0;
|
|
1580
1580
|
}
|
|
1581
|
-
],
|
|
1581
|
+
], Yu = {
|
|
1582
1582
|
D: ["day", Qe],
|
|
1583
1583
|
DD: ["day", Je],
|
|
1584
1584
|
Do: ["day", Qe + qt, function(e) {
|
|
@@ -1602,14 +1602,14 @@ var co = [
|
|
|
1602
1602
|
mm: ["minute", Je],
|
|
1603
1603
|
s: ["second", Qe],
|
|
1604
1604
|
ss: ["second", Je],
|
|
1605
|
-
YYYY: ["year",
|
|
1605
|
+
YYYY: ["year", Ku],
|
|
1606
1606
|
S: ["millisecond", "\\d", function(e) {
|
|
1607
1607
|
return +e * 100;
|
|
1608
1608
|
}],
|
|
1609
1609
|
SS: ["millisecond", Je, function(e) {
|
|
1610
1610
|
return +e * 10;
|
|
1611
1611
|
}],
|
|
1612
|
-
SSS: ["millisecond",
|
|
1612
|
+
SSS: ["millisecond", qu],
|
|
1613
1613
|
d: ha,
|
|
1614
1614
|
dd: ha,
|
|
1615
1615
|
ddd: pa,
|
|
@@ -1631,9 +1631,9 @@ var co = [
|
|
|
1631
1631
|
shortTime: "HH:mm",
|
|
1632
1632
|
mediumTime: "HH:mm:ss",
|
|
1633
1633
|
longTime: "HH:mm:ss.SSS"
|
|
1634
|
-
},
|
|
1634
|
+
}, Gu = function(e) {
|
|
1635
1635
|
return lt(ln, e);
|
|
1636
|
-
},
|
|
1636
|
+
}, Wu = function(e, t, n) {
|
|
1637
1637
|
if (t === void 0 && (t = ln.default), n === void 0 && (n = {}), typeof e == "number" && (e = new Date(e)), Object.prototype.toString.call(e) !== "[object Date]" || isNaN(e.getTime()))
|
|
1638
1638
|
throw new Error("Invalid Date pass to format");
|
|
1639
1639
|
t = ln[t] || t;
|
|
@@ -1643,12 +1643,12 @@ var co = [
|
|
|
1643
1643
|
});
|
|
1644
1644
|
var a = lt(lt({}, sn), n);
|
|
1645
1645
|
return t = t.replace(so, function(o) {
|
|
1646
|
-
return
|
|
1646
|
+
return Hu[o](e, a);
|
|
1647
1647
|
}), t.replace(/@@@/g, function() {
|
|
1648
1648
|
return i.shift();
|
|
1649
1649
|
});
|
|
1650
1650
|
};
|
|
1651
|
-
function
|
|
1651
|
+
function Zu(e, t, n) {
|
|
1652
1652
|
if (n === void 0 && (n = {}), typeof t != "string")
|
|
1653
1653
|
throw new Error("Invalid format in fecha parse");
|
|
1654
1654
|
if (t = ln[t] || t, e.length > 1e3)
|
|
@@ -1667,7 +1667,7 @@ function Wu(e, t, n) {
|
|
|
1667
1667
|
return r.push(ma(C)), "@@@";
|
|
1668
1668
|
}), d = {}, u = {};
|
|
1669
1669
|
s = ma(s).replace(so, function(_) {
|
|
1670
|
-
var C =
|
|
1670
|
+
var C = Yu[_], w = C[0], b = C[1], q = C[3];
|
|
1671
1671
|
if (d[w])
|
|
1672
1672
|
throw new Error("Invalid format. " + w + " specified twice in format");
|
|
1673
1673
|
return d[w] = !0, q && (u[q] = !0), o.push(C), "(" + b + ")";
|
|
@@ -1704,13 +1704,13 @@ function Wu(e, t, n) {
|
|
|
1704
1704
|
return O;
|
|
1705
1705
|
}
|
|
1706
1706
|
var _t = {
|
|
1707
|
-
format:
|
|
1708
|
-
parse:
|
|
1707
|
+
format: Wu,
|
|
1708
|
+
parse: Zu,
|
|
1709
1709
|
defaultI18n: fo,
|
|
1710
|
-
setGlobalDateI18n:
|
|
1711
|
-
setGlobalDateMasks:
|
|
1710
|
+
setGlobalDateI18n: xu,
|
|
1711
|
+
setGlobalDateMasks: Gu
|
|
1712
1712
|
};
|
|
1713
|
-
function
|
|
1713
|
+
function Xu(e, t, n) {
|
|
1714
1714
|
switch (n.length) {
|
|
1715
1715
|
case 0:
|
|
1716
1716
|
return e.call(t);
|
|
@@ -1724,90 +1724,90 @@ function Zu(e, t, n) {
|
|
|
1724
1724
|
return e.apply(t, n);
|
|
1725
1725
|
}
|
|
1726
1726
|
var va = Math.max;
|
|
1727
|
-
function
|
|
1727
|
+
function Ju(e, t, n) {
|
|
1728
1728
|
return t = va(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
1729
1729
|
for (var i = arguments, a = -1, o = va(i.length - t, 0), r = Array(o); ++a < o; )
|
|
1730
1730
|
r[a] = i[t + a];
|
|
1731
1731
|
a = -1;
|
|
1732
1732
|
for (var s = Array(t + 1); ++a < t; )
|
|
1733
1733
|
s[a] = i[a];
|
|
1734
|
-
return s[t] = n(r),
|
|
1734
|
+
return s[t] = n(r), Xu(e, this, s);
|
|
1735
1735
|
};
|
|
1736
1736
|
}
|
|
1737
|
-
function
|
|
1737
|
+
function Qu(e) {
|
|
1738
1738
|
return function() {
|
|
1739
1739
|
return e;
|
|
1740
1740
|
};
|
|
1741
1741
|
}
|
|
1742
|
-
var
|
|
1742
|
+
var ec = on ? function(e, t) {
|
|
1743
1743
|
return on(e, "toString", {
|
|
1744
1744
|
configurable: !0,
|
|
1745
1745
|
enumerable: !1,
|
|
1746
|
-
value:
|
|
1746
|
+
value: Qu(t),
|
|
1747
1747
|
writable: !0
|
|
1748
1748
|
});
|
|
1749
|
-
} : ni,
|
|
1750
|
-
function
|
|
1749
|
+
} : ni, tc = 800, nc = 16, ic = Date.now;
|
|
1750
|
+
function ac(e) {
|
|
1751
1751
|
var t = 0, n = 0;
|
|
1752
1752
|
return function() {
|
|
1753
|
-
var i =
|
|
1753
|
+
var i = ic(), a = nc - (i - n);
|
|
1754
1754
|
if (n = i, a > 0) {
|
|
1755
|
-
if (++t >=
|
|
1755
|
+
if (++t >= tc)
|
|
1756
1756
|
return arguments[0];
|
|
1757
1757
|
} else
|
|
1758
1758
|
t = 0;
|
|
1759
1759
|
return e.apply(void 0, arguments);
|
|
1760
1760
|
};
|
|
1761
1761
|
}
|
|
1762
|
-
var
|
|
1763
|
-
function
|
|
1764
|
-
return
|
|
1762
|
+
var oc = ac(ec);
|
|
1763
|
+
function rc(e, t) {
|
|
1764
|
+
return oc(Ju(e, t, ni), e + "");
|
|
1765
1765
|
}
|
|
1766
|
-
function
|
|
1766
|
+
function sc(e, t, n) {
|
|
1767
1767
|
if (!Fe(n))
|
|
1768
1768
|
return !1;
|
|
1769
1769
|
var i = typeof t;
|
|
1770
1770
|
return (i == "number" ? fn(n) && Na(t, n.length) : i == "string" && t in n) ? gn(n[t], e) : !1;
|
|
1771
1771
|
}
|
|
1772
|
-
var ho = Object.prototype,
|
|
1772
|
+
var ho = Object.prototype, lc = ho.hasOwnProperty, dc = rc(function(e, t) {
|
|
1773
1773
|
e = Object(e);
|
|
1774
1774
|
var n = -1, i = t.length, a = i > 2 ? t[2] : void 0;
|
|
1775
|
-
for (a &&
|
|
1775
|
+
for (a && sc(t[0], t[1], a) && (i = 1); ++n < i; )
|
|
1776
1776
|
for (var o = t[n], r = _n(o), s = -1, d = r.length; ++s < d; ) {
|
|
1777
1777
|
var u = r[s], g = e[u];
|
|
1778
|
-
(g === void 0 || gn(g, ho[u]) && !
|
|
1778
|
+
(g === void 0 || gn(g, ho[u]) && !lc.call(e, u)) && (e[u] = o[u]);
|
|
1779
1779
|
}
|
|
1780
1780
|
return e;
|
|
1781
|
-
}),
|
|
1782
|
-
function
|
|
1783
|
-
return typeof e == "number" &&
|
|
1781
|
+
}), uc = Pe.isFinite;
|
|
1782
|
+
function cc(e) {
|
|
1783
|
+
return typeof e == "number" && uc(e);
|
|
1784
1784
|
}
|
|
1785
|
-
var ba = 1 / 0,
|
|
1786
|
-
function
|
|
1785
|
+
var ba = 1 / 0, mc = 17976931348623157e292;
|
|
1786
|
+
function fc(e) {
|
|
1787
1787
|
if (!e)
|
|
1788
1788
|
return e === 0 ? e : 0;
|
|
1789
1789
|
if (e = Gn(e), e === ba || e === -ba) {
|
|
1790
1790
|
var t = e < 0 ? -1 : 1;
|
|
1791
|
-
return t *
|
|
1791
|
+
return t * mc;
|
|
1792
1792
|
}
|
|
1793
1793
|
return e === e ? e : 0;
|
|
1794
1794
|
}
|
|
1795
|
-
function
|
|
1796
|
-
var t =
|
|
1795
|
+
function hc(e) {
|
|
1796
|
+
var t = fc(e), n = t % 1;
|
|
1797
1797
|
return t === t ? n ? t - n : t : 0;
|
|
1798
1798
|
}
|
|
1799
|
-
function
|
|
1800
|
-
return typeof e == "number" && e ==
|
|
1799
|
+
function pc(e) {
|
|
1800
|
+
return typeof e == "number" && e == hc(e);
|
|
1801
1801
|
}
|
|
1802
|
-
var
|
|
1802
|
+
var gc = "[object Number]";
|
|
1803
1803
|
function dn(e) {
|
|
1804
|
-
return typeof e == "number" || it(e) && nt(e) ==
|
|
1804
|
+
return typeof e == "number" || it(e) && nt(e) == gc;
|
|
1805
1805
|
}
|
|
1806
|
-
const
|
|
1806
|
+
const yc = {
|
|
1807
1807
|
packageName: "forms",
|
|
1808
1808
|
disable_global_radio: "The plugin is set to 'Scoped' by default when configured under a {scope}. To configure a global plugin, navigate to the global plugin list page.",
|
|
1809
1809
|
disable_source_scope_change: "Changing the {scope} is not allowed when configuring a plugin under it."
|
|
1810
|
-
},
|
|
1810
|
+
}, vc = {
|
|
1811
1811
|
view_advanced_fields: "View Advanced Fields",
|
|
1812
1812
|
window_type: {
|
|
1813
1813
|
label: "Rate Limit Window Type",
|
|
@@ -1851,7 +1851,7 @@ const gc = {
|
|
|
1851
1851
|
title: "Configure your Redis",
|
|
1852
1852
|
address_example: "e.g. localhost:6379"
|
|
1853
1853
|
}
|
|
1854
|
-
},
|
|
1854
|
+
}, bc = {
|
|
1855
1855
|
field_is_required: "This field is required",
|
|
1856
1856
|
invalid_format: "Invalid format",
|
|
1857
1857
|
number_too_small: "The number is too small. Minimum: {0}",
|
|
@@ -1873,7 +1873,7 @@ const gc = {
|
|
|
1873
1873
|
invalid_card_number: "Invalid card number",
|
|
1874
1874
|
invalid_text_contain_number: "Invalid text - cannot contains numbers or special characters",
|
|
1875
1875
|
invalid_tex_contain_spec: "Invalid text - cannot contains special characters"
|
|
1876
|
-
},
|
|
1876
|
+
}, _c = {
|
|
1877
1877
|
title: "Redis Configuration",
|
|
1878
1878
|
shared_configuration: {
|
|
1879
1879
|
label: "Use shared configuration",
|
|
@@ -1908,7 +1908,7 @@ const gc = {
|
|
|
1908
1908
|
alert: "Note: For custom plugins, we cannot determine the correct Redis configuration type. Please ensure you select the appropriate option manually.",
|
|
1909
1909
|
tooltip: "To apply a shared redis configuration, the redis fields must defined as Kong plugins in plugin schema."
|
|
1910
1910
|
}
|
|
1911
|
-
},
|
|
1911
|
+
}, Tc = {
|
|
1912
1912
|
auto_suggest: {
|
|
1913
1913
|
error: {
|
|
1914
1914
|
load_entity: "There was an error loading {entity}"
|
|
@@ -1918,13 +1918,13 @@ const gc = {
|
|
|
1918
1918
|
no_results: "No results",
|
|
1919
1919
|
loading: "Loading..."
|
|
1920
1920
|
}
|
|
1921
|
-
},
|
|
1921
|
+
}, Sc = {
|
|
1922
1922
|
labels: {
|
|
1923
1923
|
on: "On",
|
|
1924
1924
|
off: "Off"
|
|
1925
1925
|
}
|
|
1926
1926
|
}, Re = {
|
|
1927
|
-
general:
|
|
1927
|
+
general: yc,
|
|
1928
1928
|
"post-function": {
|
|
1929
1929
|
tags: {
|
|
1930
1930
|
hint: "e.g. tag1, tag2, tag3",
|
|
@@ -1985,11 +1985,11 @@ const gc = {
|
|
|
1985
1985
|
newElementButtonLabel: "+ Add"
|
|
1986
1986
|
}
|
|
1987
1987
|
},
|
|
1988
|
-
rla:
|
|
1989
|
-
validators:
|
|
1990
|
-
redis:
|
|
1991
|
-
fields:
|
|
1992
|
-
vfg:
|
|
1988
|
+
rla: vc,
|
|
1989
|
+
validators: bc,
|
|
1990
|
+
redis: _c,
|
|
1991
|
+
fields: Tc,
|
|
1992
|
+
vfg: Sc
|
|
1993
1993
|
}, { t: le } = ke("en-us", Re), ve = {
|
|
1994
1994
|
fieldIsRequired: le("validators.field_is_required"),
|
|
1995
1995
|
invalidFormat: le("validators.invalid_format"),
|
|
@@ -2021,11 +2021,11 @@ const gc = {
|
|
|
2021
2021
|
required: (e, t, n, i = ve) => Ue(e, t.required, i) || [],
|
|
2022
2022
|
number: (e, t, n, i = ve) => {
|
|
2023
2023
|
let a = Ue(e, t.required, i);
|
|
2024
|
-
return a != null || (a = [],
|
|
2024
|
+
return a != null || (a = [], cc(e) ? (!de(t.min) && e < t.min, (i = ve) && a.push(ie(i.numberTooSmall, t.min)), !de(t.max) && e > t.max, (i = ve) && a.push(ie(i.numberTooBig, t.max))) : a.push(ie(i.invalidNumber))), a;
|
|
2025
2025
|
},
|
|
2026
2026
|
integer: (e, t, n, i = ve) => {
|
|
2027
2027
|
let a = Ue(e, t.required, i);
|
|
2028
|
-
return a != null || (a = [], a.concat(dt.number(e, t, n, i)),
|
|
2028
|
+
return a != null || (a = [], a.concat(dt.number(e, t, n, i)), pc(e) || a.push(ie(i.invalidInteger))), a;
|
|
2029
2029
|
},
|
|
2030
2030
|
double: (e, t, n, i = ve) => {
|
|
2031
2031
|
const a = Ue(e, t.required, i);
|
|
@@ -2101,7 +2101,7 @@ const gc = {
|
|
|
2101
2101
|
};
|
|
2102
2102
|
Object.keys(dt).forEach((e) => {
|
|
2103
2103
|
const t = dt[e];
|
|
2104
|
-
X(t) && (t.locale = (n) => (i, a, o) => t(i, a, o,
|
|
2104
|
+
X(t) && (t.locale = (n) => (i, a, o) => t(i, a, o, dc(n, ve)));
|
|
2105
2105
|
});
|
|
2106
2106
|
function _a(e) {
|
|
2107
2107
|
return st(e) ? dt[e] != null ? dt[e] : (console.warn(`'${e}' is not a validator function!`), null) : e;
|
|
@@ -2224,7 +2224,7 @@ const $e = {
|
|
|
2224
2224
|
return e;
|
|
2225
2225
|
}
|
|
2226
2226
|
}
|
|
2227
|
-
},
|
|
2227
|
+
}, gp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2228
2228
|
__proto__: null,
|
|
2229
2229
|
default: $e
|
|
2230
2230
|
}, Symbol.toStringTag, { value: "Module" })), W = (e, t) => {
|
|
@@ -2232,10 +2232,10 @@ const $e = {
|
|
|
2232
2232
|
for (const [i, a] of t)
|
|
2233
2233
|
n[i] = a;
|
|
2234
2234
|
return n;
|
|
2235
|
-
},
|
|
2235
|
+
}, wc = {
|
|
2236
2236
|
class: "advanced-field-dropdown-wrapper",
|
|
2237
2237
|
"data-testid": "advanced-field-dropdown-wrapper"
|
|
2238
|
-
},
|
|
2238
|
+
}, Ec = { class: "material-icons" }, Mc = {
|
|
2239
2239
|
mixins: [$e],
|
|
2240
2240
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
2241
2241
|
emits: ["model-updated"],
|
|
@@ -2263,16 +2263,16 @@ const $e = {
|
|
|
2263
2263
|
this.$emit("model-updated", e, t);
|
|
2264
2264
|
}
|
|
2265
2265
|
}
|
|
2266
|
-
},
|
|
2266
|
+
}, Ac = /* @__PURE__ */ Object.assign(Mc, {
|
|
2267
2267
|
__name: "FieldAdvanced",
|
|
2268
2268
|
setup(e) {
|
|
2269
|
-
return (t, n) => (c(), v("div",
|
|
2269
|
+
return (t, n) => (c(), v("div", wc, [
|
|
2270
2270
|
f("button", {
|
|
2271
2271
|
class: "advanced-field-title",
|
|
2272
2272
|
type: "button",
|
|
2273
2273
|
onClick: n[0] || (n[0] = (...i) => t.handleOpen && t.handleOpen(...i))
|
|
2274
2274
|
}, [
|
|
2275
|
-
f("i",
|
|
2275
|
+
f("i", Ec, N(t.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
|
|
2276
2276
|
f("span", null, N(t.titleText), 1)
|
|
2277
2277
|
]),
|
|
2278
2278
|
f("div", {
|
|
@@ -2287,7 +2287,7 @@ const $e = {
|
|
|
2287
2287
|
], 2)
|
|
2288
2288
|
]));
|
|
2289
2289
|
}
|
|
2290
|
-
}),
|
|
2290
|
+
}), Ic = /* @__PURE__ */ W(Ac, [["__scopeId", "data-v-9bb032dd"]]), Cc = { class: "array-card-container" }, Oc = /* @__PURE__ */ he({
|
|
2291
2291
|
__name: "FieldArrayCardContainer",
|
|
2292
2292
|
props: {
|
|
2293
2293
|
model: {
|
|
@@ -2307,7 +2307,7 @@ const $e = {
|
|
|
2307
2307
|
setup(e) {
|
|
2308
2308
|
return zt("vfg-array-item-index", e.index), (n, i) => {
|
|
2309
2309
|
const a = P("KCard"), o = P("KButton");
|
|
2310
|
-
return c(), v("div",
|
|
2310
|
+
return c(), v("div", Cc, [
|
|
2311
2311
|
F(a, { class: "card" }, {
|
|
2312
2312
|
default: M(() => [
|
|
2313
2313
|
Oe(n.$slots, "default", {}, void 0, !0)
|
|
@@ -2327,7 +2327,7 @@ const $e = {
|
|
|
2327
2327
|
]);
|
|
2328
2328
|
};
|
|
2329
2329
|
}
|
|
2330
|
-
}), po = /* @__PURE__ */ W(
|
|
2330
|
+
}), po = /* @__PURE__ */ W(Oc, [["__scopeId", "data-v-97302224"]]), Fc = { class: "array-item-wrapper" }, kc = { class: "array-item" }, Rc = { class: "array-item-after" }, Uc = /* @__PURE__ */ he({
|
|
2331
2331
|
__name: "FieldArrayItem",
|
|
2332
2332
|
props: {
|
|
2333
2333
|
model: {
|
|
@@ -2339,8 +2339,8 @@ const $e = {
|
|
|
2339
2339
|
setup(e) {
|
|
2340
2340
|
return (t, n) => {
|
|
2341
2341
|
const i = P("KButton");
|
|
2342
|
-
return c(), v("div",
|
|
2343
|
-
f("div",
|
|
2342
|
+
return c(), v("div", Fc, [
|
|
2343
|
+
f("div", kc, [
|
|
2344
2344
|
Oe(t.$slots, "default", {}, void 0, !0),
|
|
2345
2345
|
F(i, {
|
|
2346
2346
|
appearance: "tertiary",
|
|
@@ -2353,19 +2353,19 @@ const $e = {
|
|
|
2353
2353
|
_: 1
|
|
2354
2354
|
})
|
|
2355
2355
|
]),
|
|
2356
|
-
f("div",
|
|
2356
|
+
f("div", Rc, [
|
|
2357
2357
|
Oe(t.$slots, "after", {}, void 0, !0)
|
|
2358
2358
|
])
|
|
2359
2359
|
]);
|
|
2360
2360
|
};
|
|
2361
2361
|
}
|
|
2362
|
-
}), go = /* @__PURE__ */ W(
|
|
2362
|
+
}), go = /* @__PURE__ */ W(Uc, [["__scopeId", "data-v-51d79db2"]]), Nc = { class: "multi-item-wrapper" }, Lc = /* @__PURE__ */ he({
|
|
2363
2363
|
__name: "FieldArrayMultiItem",
|
|
2364
2364
|
emits: ["remove-item"],
|
|
2365
2365
|
setup(e) {
|
|
2366
2366
|
return (t, n) => {
|
|
2367
2367
|
const i = P("KButton");
|
|
2368
|
-
return c(), v("div",
|
|
2368
|
+
return c(), v("div", Nc, [
|
|
2369
2369
|
Oe(t.$slots, "default", {}, void 0, !0),
|
|
2370
2370
|
F(i, {
|
|
2371
2371
|
appearance: "danger",
|
|
@@ -2381,7 +2381,7 @@ const $e = {
|
|
|
2381
2381
|
]);
|
|
2382
2382
|
};
|
|
2383
2383
|
}
|
|
2384
|
-
}), yo = /* @__PURE__ */ W(
|
|
2384
|
+
}), yo = /* @__PURE__ */ W(Lc, [["__scopeId", "data-v-b4fcf731"]]), Pc = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", Wn = (e) => e ? e.length === 36 && new RegExp(`^${Pc}$`).test(e) : !1, Dc = (e) => ({
|
|
2385
2385
|
...e,
|
|
2386
2386
|
label: e.name,
|
|
2387
2387
|
value: e.id
|
|
@@ -2389,7 +2389,7 @@ const $e = {
|
|
|
2389
2389
|
function vo(e, t, n) {
|
|
2390
2390
|
return n ? je.SET_REFERRAL_VALUE : e && !t || !e && t ? je.UPDATE_ENTITY : e && t ? je.CREATE_FROM_ENTITY : je.CREATE_NOT_FROM_ENTITY;
|
|
2391
2391
|
}
|
|
2392
|
-
const Kn = 50,
|
|
2392
|
+
const Kn = 50, $c = {
|
|
2393
2393
|
mixins: [$e],
|
|
2394
2394
|
inject: [Te],
|
|
2395
2395
|
emits: ["model-updated"],
|
|
@@ -2514,8 +2514,8 @@ const Kn = 50, Dc = {
|
|
|
2514
2514
|
return t ? e[t] : e.id;
|
|
2515
2515
|
}
|
|
2516
2516
|
}
|
|
2517
|
-
},
|
|
2518
|
-
function
|
|
2517
|
+
}, Vc = ["data-testid", "data-testlabel"], jc = ["data-testid"], qc = { class: "autosuggest__results_message" };
|
|
2518
|
+
function Kc(e, t, n, i, a, o) {
|
|
2519
2519
|
const r = P("KSelect");
|
|
2520
2520
|
return c(), U(me(e.schema.disabled ? "k-tooltip" : "div"), {
|
|
2521
2521
|
class: "field-wrap autosuggest",
|
|
@@ -2544,15 +2544,15 @@ function qc(e, t, n, i, a, o) {
|
|
|
2544
2544
|
class: "first-part",
|
|
2545
2545
|
"data-testid": s.id && `${s.id}-0`,
|
|
2546
2546
|
"data-testlabel": s.label
|
|
2547
|
-
}, N(o.getSuggestionLabel(s).split(" - ")[0]), 9,
|
|
2547
|
+
}, N(o.getSuggestionLabel(s).split(" - ")[0]), 9, Vc),
|
|
2548
2548
|
(c(!0), v(Y, null, oe(o.getSuggestionLabel(s).split(" - ").slice(1), (d, u) => (c(), v("span", {
|
|
2549
2549
|
key: u,
|
|
2550
2550
|
class: "field-span",
|
|
2551
2551
|
"data-testid": s.id && `${s.id}-${u + 1}` || u + 1
|
|
2552
|
-
}, N(d), 9,
|
|
2552
|
+
}, N(d), 9, jc))), 128))
|
|
2553
2553
|
]),
|
|
2554
2554
|
empty: M(() => [
|
|
2555
|
-
f("div",
|
|
2555
|
+
f("div", qc, [
|
|
2556
2556
|
f("span", null, N(a.message), 1)
|
|
2557
2557
|
])
|
|
2558
2558
|
]),
|
|
@@ -2562,12 +2562,12 @@ function qc(e, t, n, i, a, o) {
|
|
|
2562
2562
|
_: 1
|
|
2563
2563
|
}, 8, ["text"]);
|
|
2564
2564
|
}
|
|
2565
|
-
const bo = /* @__PURE__ */ W(
|
|
2566
|
-
var
|
|
2565
|
+
const bo = /* @__PURE__ */ W($c, [["render", Kc], ["__scopeId", "data-v-a4bb7b25"]]), Bc = "#6c7489", zc = "12px", xc = "20px";
|
|
2566
|
+
var Hc = 4;
|
|
2567
2567
|
function Ta(e) {
|
|
2568
|
-
return jt(e,
|
|
2568
|
+
return jt(e, Hc);
|
|
2569
2569
|
}
|
|
2570
|
-
const
|
|
2570
|
+
const Yc = ["data-testid", "data-testlabel"], Gc = { class: "item-label" }, Wc = { class: "autosuggest__results_message" }, Zc = /* @__PURE__ */ he({
|
|
2571
2571
|
__name: "AutoSuggest",
|
|
2572
2572
|
props: /* @__PURE__ */ Oi({
|
|
2573
2573
|
placeholder: { default: "" },
|
|
@@ -2607,16 +2607,16 @@ const Hc = ["data-testid", "data-testlabel"], Yc = { class: "item-label" }, Gc =
|
|
|
2607
2607
|
class: "item-label",
|
|
2608
2608
|
"data-testid": r.id && `${r.id}-0`,
|
|
2609
2609
|
"data-testlabel": r.label
|
|
2610
|
-
}, N(r.label), 9,
|
|
2610
|
+
}, N(r.label), 9, Yc)
|
|
2611
2611
|
], !0)
|
|
2612
2612
|
]),
|
|
2613
2613
|
"selected-item-template": M(({ item: r }) => [
|
|
2614
2614
|
Oe(i.$slots, "selected-item", { item: r }, () => [
|
|
2615
|
-
f("span",
|
|
2615
|
+
f("span", Gc, N(r.label), 1)
|
|
2616
2616
|
], !0)
|
|
2617
2617
|
]),
|
|
2618
2618
|
empty: M(() => [
|
|
2619
|
-
f("div",
|
|
2619
|
+
f("div", Wc, [
|
|
2620
2620
|
f("span", null, N(i.emptyMessage || I(t)("fields.auto_suggest.no_results")), 1)
|
|
2621
2621
|
])
|
|
2622
2622
|
]),
|
|
@@ -2632,10 +2632,10 @@ const Hc = ["data-testid", "data-testlabel"], Yc = { class: "item-label" }, Gc =
|
|
|
2632
2632
|
]), 1032, ["id", "modelValue", "disabled", "items", "loading", "placeholder"]);
|
|
2633
2633
|
};
|
|
2634
2634
|
}
|
|
2635
|
-
}),
|
|
2635
|
+
}), Xc = /* @__PURE__ */ W(Zc, [["__scopeId", "data-v-baeb3bb0"]]), Jc = 500, Qc = 50, em = /* @__PURE__ */ he({
|
|
2636
2636
|
__name: "FieldScopedEntitySelect",
|
|
2637
2637
|
props: {
|
|
2638
|
-
transformItem: { type: Function, default:
|
|
2638
|
+
transformItem: { type: Function, default: Dc },
|
|
2639
2639
|
allowUuidSearch: { type: Boolean, default: !1 },
|
|
2640
2640
|
placeholder: {},
|
|
2641
2641
|
fields: { default: () => [] },
|
|
@@ -2678,8 +2678,8 @@ const Hc = ["data-testid", "data-testlabel"], Yc = { class: "item-label" }, Gc =
|
|
|
2678
2678
|
return;
|
|
2679
2679
|
}
|
|
2680
2680
|
Wn(m) && e.allowUuidSearch ? h(async () => await p(m)) : h(async () => await k(m, _.signal), _.signal);
|
|
2681
|
-
},
|
|
2682
|
-
const { data: { data: m, next: _, offset: C } } = await e.getPartial(
|
|
2681
|
+
}, Jc, { leading: !0 }), k = async (m, _) => await e.getAll(m, _), j = async () => {
|
|
2682
|
+
const { data: { data: m, next: _, offset: C } } = await e.getPartial(Qc);
|
|
2683
2683
|
return (!_ || !C) && (i.value = !0), r.value = m, s.value = m.map((w) => ({
|
|
2684
2684
|
...e.transformItem(w),
|
|
2685
2685
|
group: d("fields.auto_suggest.recently_created", { entity: e.entity })
|
|
@@ -2701,7 +2701,7 @@ const Hc = ["data-testid", "data-testlabel"], Yc = { class: "item-label" }, Gc =
|
|
|
2701
2701
|
});
|
|
2702
2702
|
return Zn(async () => {
|
|
2703
2703
|
await h(j);
|
|
2704
|
-
}), (m, _) => (c(), U(
|
|
2704
|
+
}), (m, _) => (c(), U(Xc, {
|
|
2705
2705
|
id: m.id,
|
|
2706
2706
|
disabled: m.fieldDisabled,
|
|
2707
2707
|
"dom-id": m.domId,
|
|
@@ -2730,10 +2730,10 @@ const Hc = ["data-testid", "data-testlabel"], Yc = { class: "item-label" }, Gc =
|
|
|
2730
2730
|
} : void 0
|
|
2731
2731
|
]), 1032, ["id", "disabled", "dom-id", "empty-message", "loading", "placeholder", "readonly", "suggestions", "onQueryChange"]));
|
|
2732
2732
|
}
|
|
2733
|
-
}),
|
|
2733
|
+
}), tm = 1e3, nm = {
|
|
2734
2734
|
components: {
|
|
2735
|
-
FieldScopedEntitySelect:
|
|
2736
|
-
SearchIcon:
|
|
2735
|
+
FieldScopedEntitySelect: em,
|
|
2736
|
+
SearchIcon: xo
|
|
2737
2737
|
},
|
|
2738
2738
|
mixins: [$e],
|
|
2739
2739
|
inject: [Te],
|
|
@@ -2742,8 +2742,8 @@ const Hc = ["data-testid", "data-testlabel"], Yc = { class: "item-label" }, Gc =
|
|
|
2742
2742
|
const { t: e } = ke("en-us", Re);
|
|
2743
2743
|
return {
|
|
2744
2744
|
t: e,
|
|
2745
|
-
KUI_ICON_SIZE_40:
|
|
2746
|
-
KUI_COLOR_TEXT_NEUTRAL:
|
|
2745
|
+
KUI_ICON_SIZE_40: xc,
|
|
2746
|
+
KUI_COLOR_TEXT_NEUTRAL: Bc
|
|
2747
2747
|
};
|
|
2748
2748
|
},
|
|
2749
2749
|
data() {
|
|
@@ -2845,7 +2845,7 @@ const Hc = ["data-testid", "data-testlabel"], Yc = { class: "item-label" }, Gc =
|
|
|
2845
2845
|
if (!this[Te])
|
|
2846
2846
|
return console.warn("[@kong-ui-public/forms] No API service provided"), [];
|
|
2847
2847
|
const n = this.entity === "consumer_group" ? this[Te].getAll : this[Te].getAllV2, { data: i } = await n(this.entity, {
|
|
2848
|
-
size:
|
|
2848
|
+
size: tm,
|
|
2849
2849
|
...e
|
|
2850
2850
|
}, t);
|
|
2851
2851
|
return i.data;
|
|
@@ -2870,8 +2870,8 @@ const Hc = ["data-testid", "data-testlabel"], Yc = { class: "item-label" }, Gc =
|
|
|
2870
2870
|
return t ? e[t] : e.id;
|
|
2871
2871
|
}
|
|
2872
2872
|
}
|
|
2873
|
-
},
|
|
2874
|
-
function
|
|
2873
|
+
}, im = { class: "entity-suggestion-item" }, am = { class: "entity-label" }, om = { class: "entity-id" }, rm = { class: "selected-entity-item" }, sm = { class: "selected-entity-label" };
|
|
2874
|
+
function lm(e, t, n, i, a, o) {
|
|
2875
2875
|
const r = P("SearchIcon"), s = P("FieldScopedEntitySelect");
|
|
2876
2876
|
return c(), U(me(e.schema.disabled ? "k-tooltip" : "div"), {
|
|
2877
2877
|
class: "field-wrap autosuggest",
|
|
@@ -2903,14 +2903,14 @@ function sm(e, t, n, i, a, o) {
|
|
|
2903
2903
|
}, null, 8, ["color", "size"])
|
|
2904
2904
|
]),
|
|
2905
2905
|
item: M(({ item: d }) => [
|
|
2906
|
-
f("div",
|
|
2907
|
-
f("span",
|
|
2908
|
-
f("span",
|
|
2906
|
+
f("div", im, [
|
|
2907
|
+
f("span", am, N(d.label || "–"), 1),
|
|
2908
|
+
f("span", om, N(d.id), 1)
|
|
2909
2909
|
])
|
|
2910
2910
|
]),
|
|
2911
2911
|
"selected-item": M(({ item: d }) => [
|
|
2912
|
-
f("span",
|
|
2913
|
-
f("span",
|
|
2912
|
+
f("span", rm, [
|
|
2913
|
+
f("span", sm, N(d.label || "–"), 1)
|
|
2914
2914
|
])
|
|
2915
2915
|
]),
|
|
2916
2916
|
_: 1
|
|
@@ -2919,8 +2919,8 @@ function sm(e, t, n, i, a, o) {
|
|
|
2919
2919
|
_: 1
|
|
2920
2920
|
}, 8, ["text"]);
|
|
2921
2921
|
}
|
|
2922
|
-
const _o = /* @__PURE__ */ W(
|
|
2923
|
-
function
|
|
2922
|
+
const _o = /* @__PURE__ */ W(nm, [["render", lm], ["__scopeId", "data-v-774c16ea"]]);
|
|
2923
|
+
function dm(e) {
|
|
2924
2924
|
const t = ae([]), n = ae(null), i = (p) => st(p) ? dt[p] != null ? dt[p] : (console.warn(`'${p}' is not a validator function!`), null) : p, a = z({
|
|
2925
2925
|
get() {
|
|
2926
2926
|
var A, O;
|
|
@@ -3006,7 +3006,7 @@ function lm(e) {
|
|
|
3006
3006
|
updateModelValue: s
|
|
3007
3007
|
};
|
|
3008
3008
|
}
|
|
3009
|
-
function
|
|
3009
|
+
function um(e) {
|
|
3010
3010
|
const t = [], n = (i) => {
|
|
3011
3011
|
const a = ["cluster-cache", "cluster_cache"];
|
|
3012
3012
|
for (const o of a)
|
|
@@ -3027,7 +3027,7 @@ function dm(e) {
|
|
|
3027
3027
|
redisModels: t.map((i) => i.model)
|
|
3028
3028
|
};
|
|
3029
3029
|
}
|
|
3030
|
-
function
|
|
3030
|
+
function cm(e, t) {
|
|
3031
3031
|
const n = new RegExp("(?<=config-redis-).*"), i = /Config\.Redis.*/;
|
|
3032
3032
|
return t.filter((o) => {
|
|
3033
3033
|
const r = o.model.match(n);
|
|
@@ -3043,10 +3043,10 @@ function um(e, t) {
|
|
|
3043
3043
|
});
|
|
3044
3044
|
}
|
|
3045
3045
|
const qe = {
|
|
3046
|
-
useAbstractFields:
|
|
3047
|
-
useRedisPartial:
|
|
3048
|
-
useRedisNonStandardFields:
|
|
3049
|
-
},
|
|
3046
|
+
useAbstractFields: dm,
|
|
3047
|
+
useRedisPartial: um,
|
|
3048
|
+
useRedisNonStandardFields: cm
|
|
3049
|
+
}, mm = { class: "form-field-wrapper" }, fm = /* @__PURE__ */ he({
|
|
3050
3050
|
__name: "FieldInput",
|
|
3051
3051
|
props: {
|
|
3052
3052
|
disabled: {
|
|
@@ -3168,7 +3168,7 @@ const qe = {
|
|
|
3168
3168
|
h.value === "checkbox" ? console.warn("The use of 'checkbox' inputType with 'input' type fields is deprecated. Use 'checkbox' type instead.") : h.value === "radio" ? console.warn("The use of 'radio' inputType with 'input' type fields is deprecated. Use 'radio' type instead.") : h.value === "file" && console.warn("The 'file' type in input field is deprecated. Use 'file' field instead.");
|
|
3169
3169
|
}), (m, _) => {
|
|
3170
3170
|
const C = P("KInput");
|
|
3171
|
-
return c(), v("div",
|
|
3171
|
+
return c(), v("div", mm, [
|
|
3172
3172
|
F(C, et(m.$attrs, {
|
|
3173
3173
|
id: I(d)(e.schema),
|
|
3174
3174
|
autocomplete: e.schema.autocomplete,
|
|
@@ -3199,7 +3199,7 @@ const qe = {
|
|
|
3199
3199
|
]);
|
|
3200
3200
|
};
|
|
3201
3201
|
}
|
|
3202
|
-
}), To = /* @__PURE__ */ W(
|
|
3202
|
+
}), To = /* @__PURE__ */ W(fm, [["__scopeId", "data-v-fe1132bb"]]), hm = {
|
|
3203
3203
|
name: "FieldMetric",
|
|
3204
3204
|
components: { AddIcon: Qn, TrashIcon: xt },
|
|
3205
3205
|
mixins: [$e],
|
|
@@ -3209,11 +3209,11 @@ const qe = {
|
|
|
3209
3209
|
contentVisible: !1
|
|
3210
3210
|
};
|
|
3211
3211
|
}
|
|
3212
|
-
},
|
|
3212
|
+
}, pm = {
|
|
3213
3213
|
key: 0,
|
|
3214
3214
|
class: "content"
|
|
3215
3215
|
};
|
|
3216
|
-
function
|
|
3216
|
+
function gm(e, t, n, i, a, o) {
|
|
3217
3217
|
const r = P("AddIcon"), s = P("TrashIcon"), d = P("KButton");
|
|
3218
3218
|
return c(), v("div", {
|
|
3219
3219
|
class: ee(["field-dropdown", { active: a.contentVisible }])
|
|
@@ -3227,7 +3227,7 @@ function pm(e, t, n, i, a, o) {
|
|
|
3227
3227
|
]),
|
|
3228
3228
|
F(Do, { name: "slide-fade" }, {
|
|
3229
3229
|
default: M(() => [
|
|
3230
|
-
a.contentVisible ? (c(), v("div",
|
|
3230
|
+
a.contentVisible ? (c(), v("div", pm, [
|
|
3231
3231
|
Oe(e.$slots, "default"),
|
|
3232
3232
|
F(d, {
|
|
3233
3233
|
appearance: "tertiary",
|
|
@@ -3245,7 +3245,7 @@ function pm(e, t, n, i, a, o) {
|
|
|
3245
3245
|
})
|
|
3246
3246
|
], 2);
|
|
3247
3247
|
}
|
|
3248
|
-
const So = /* @__PURE__ */ W(
|
|
3248
|
+
const So = /* @__PURE__ */ W(hm, [["render", gm]]), ym = { class: "field-object-container" }, vm = { key: 1 }, bm = ["id"], _m = { key: 0 }, Tm = ["onUpdate:modelValue"], Sm = { key: 1 }, wm = ["onUpdate:modelValue"], Em = { key: 2 }, Mm = ["onUpdate:modelValue"], Am = ["onClick"], Im = {
|
|
3249
3249
|
mixins: [$e],
|
|
3250
3250
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
3251
3251
|
emits: ["modelUpdated"],
|
|
@@ -3283,46 +3283,46 @@ const So = /* @__PURE__ */ W(fm, [["render", pm]]), gm = { class: "field-object-
|
|
|
3283
3283
|
this.$emit("modelUpdated", e, t);
|
|
3284
3284
|
}
|
|
3285
3285
|
}
|
|
3286
|
-
},
|
|
3286
|
+
}, Cm = /* @__PURE__ */ Object.assign(Im, {
|
|
3287
3287
|
__name: "FieldObject",
|
|
3288
3288
|
setup(e) {
|
|
3289
3289
|
return (t, n) => {
|
|
3290
3290
|
const i = Aa("attributes");
|
|
3291
|
-
return
|
|
3291
|
+
return Ee((c(), v("div", ym, [
|
|
3292
3292
|
t.schema.schema ? (c(), U(ue, {
|
|
3293
3293
|
key: 0,
|
|
3294
3294
|
model: t.value,
|
|
3295
3295
|
options: t.formOptions,
|
|
3296
3296
|
schema: t.schema.schema,
|
|
3297
3297
|
onModelUpdated: t.updateModel
|
|
3298
|
-
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : (c(), v("div",
|
|
3298
|
+
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : (c(), v("div", vm, [
|
|
3299
3299
|
f("table", {
|
|
3300
3300
|
id: t.getFieldID(t.schema),
|
|
3301
3301
|
class: ee(t.schema.fieldClasses)
|
|
3302
3302
|
}, [
|
|
3303
3303
|
(c(!0), v(Y, null, oe(t.value, (a, o) => (c(), v("tr", { key: o }, [
|
|
3304
3304
|
f("td", null, N(o), 1),
|
|
3305
|
-
t.keyTypes[o] === "string" ? (c(), v("td",
|
|
3306
|
-
|
|
3305
|
+
t.keyTypes[o] === "string" ? (c(), v("td", _m, [
|
|
3306
|
+
Ee(f("input", {
|
|
3307
3307
|
"onUpdate:modelValue": (r) => t.value[o] = r,
|
|
3308
3308
|
type: "text"
|
|
3309
|
-
}, null, 8,
|
|
3309
|
+
}, null, 8, Tm), [
|
|
3310
3310
|
[$t, t.value[o]]
|
|
3311
3311
|
])
|
|
3312
3312
|
])) : B("", !0),
|
|
3313
|
-
t.keyTypes[o] === "boolean" ? (c(), v("td",
|
|
3314
|
-
|
|
3313
|
+
t.keyTypes[o] === "boolean" ? (c(), v("td", Sm, [
|
|
3314
|
+
Ee(f("input", {
|
|
3315
3315
|
"onUpdate:modelValue": (r) => t.value[o] = r,
|
|
3316
3316
|
type: "checkbox"
|
|
3317
|
-
}, null, 8,
|
|
3317
|
+
}, null, 8, wm), [
|
|
3318
3318
|
[$o, t.value[o]]
|
|
3319
3319
|
])
|
|
3320
3320
|
])) : B("", !0),
|
|
3321
|
-
t.keyTypes[o] === "number" ? (c(), v("td",
|
|
3322
|
-
|
|
3321
|
+
t.keyTypes[o] === "number" ? (c(), v("td", Em, [
|
|
3322
|
+
Ee(f("input", {
|
|
3323
3323
|
"onUpdate:modelValue": (r) => t.value[o] = r,
|
|
3324
3324
|
type: "number"
|
|
3325
|
-
}, null, 8,
|
|
3325
|
+
}, null, 8, Mm), [
|
|
3326
3326
|
[$t, t.value[o]]
|
|
3327
3327
|
])
|
|
3328
3328
|
])) : B("", !0),
|
|
@@ -3331,11 +3331,11 @@ const So = /* @__PURE__ */ W(fm, [["render", pm]]), gm = { class: "field-object-
|
|
|
3331
3331
|
type: "button",
|
|
3332
3332
|
value: "x",
|
|
3333
3333
|
onClick: (r) => t.removeElement(o)
|
|
3334
|
-
}, null, 8,
|
|
3334
|
+
}, null, 8, Am)
|
|
3335
3335
|
])
|
|
3336
3336
|
]))), 128))
|
|
3337
|
-
], 10,
|
|
3338
|
-
|
|
3337
|
+
], 10, bm),
|
|
3338
|
+
Ee(f("select", {
|
|
3339
3339
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => t.newKeyType = a)
|
|
3340
3340
|
}, n[3] || (n[3] = [
|
|
3341
3341
|
f("option", { value: "string" }, " String ", -1),
|
|
@@ -3344,7 +3344,7 @@ const So = /* @__PURE__ */ W(fm, [["render", pm]]), gm = { class: "field-object-
|
|
|
3344
3344
|
]), 512), [
|
|
3345
3345
|
[Vo, t.newKeyType]
|
|
3346
3346
|
]),
|
|
3347
|
-
|
|
3347
|
+
Ee(f("input", {
|
|
3348
3348
|
"onUpdate:modelValue": n[1] || (n[1] = (a) => t.newKeyName = a),
|
|
3349
3349
|
type: "text"
|
|
3350
3350
|
}, null, 512), [
|
|
@@ -3361,13 +3361,13 @@ const So = /* @__PURE__ */ W(fm, [["render", pm]]), gm = { class: "field-object-
|
|
|
3361
3361
|
]);
|
|
3362
3362
|
};
|
|
3363
3363
|
}
|
|
3364
|
-
}), wo = /* @__PURE__ */ W(
|
|
3364
|
+
}), wo = /* @__PURE__ */ W(Cm, [["__scopeId", "data-v-4ace4106"]]), Om = ["id"], Fm = ["data-testid"], km = { class: "item-wrapper" }, Rm = { class: "index-wrapper" }, Um = { key: 0 }, Nm = { key: 1 }, Lm = ["onUpdate:modelValue", "placeholder", "type", "onInput"], Pm = {
|
|
3365
3365
|
key: 0,
|
|
3366
3366
|
class: "hint"
|
|
3367
|
-
},
|
|
3367
|
+
}, Dm = { class: "input-item" }, $m = ["placeholder"], Vm = {
|
|
3368
3368
|
key: 0,
|
|
3369
3369
|
class: "hint"
|
|
3370
|
-
},
|
|
3370
|
+
}, jm = {
|
|
3371
3371
|
mixins: [$e],
|
|
3372
3372
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
3373
3373
|
inject: {
|
|
@@ -3466,7 +3466,7 @@ const So = /* @__PURE__ */ W(fm, [["render", pm]]), gm = { class: "field-object-
|
|
|
3466
3466
|
this.$emit("model-updated", this.model[this.schema.model], t);
|
|
3467
3467
|
}
|
|
3468
3468
|
}
|
|
3469
|
-
},
|
|
3469
|
+
}, qm = /* @__PURE__ */ Object.assign(jm, {
|
|
3470
3470
|
__name: "FieldObjectAdvanced",
|
|
3471
3471
|
setup(e) {
|
|
3472
3472
|
return (t, n) => {
|
|
@@ -3480,8 +3480,8 @@ const So = /* @__PURE__ */ W(fm, [["render", pm]]), gm = { class: "field-object-
|
|
|
3480
3480
|
"data-testid": `field-object-key-${o}`
|
|
3481
3481
|
}, [
|
|
3482
3482
|
f("div", null, [
|
|
3483
|
-
f("div",
|
|
3484
|
-
f("div",
|
|
3483
|
+
f("div", km, [
|
|
3484
|
+
f("div", Rm, [
|
|
3485
3485
|
f("strong", null, N(o), 1),
|
|
3486
3486
|
f("div", null, [
|
|
3487
3487
|
F(i, {
|
|
@@ -3499,24 +3499,24 @@ const So = /* @__PURE__ */ W(fm, [["render", pm]]), gm = { class: "field-object-
|
|
|
3499
3499
|
])
|
|
3500
3500
|
]),
|
|
3501
3501
|
n[1] || (n[1] = f("hr", { class: "divider" }, null, -1)),
|
|
3502
|
-
t.subSchema ? (c(), v("div",
|
|
3502
|
+
t.subSchema ? (c(), v("div", Um, [
|
|
3503
3503
|
F(ue, {
|
|
3504
3504
|
model: t.transformedModel[o],
|
|
3505
3505
|
options: { helpAsHtml: !0 },
|
|
3506
3506
|
schema: t.subSchema,
|
|
3507
3507
|
onModelUpdated: t.updateModel
|
|
3508
3508
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
3509
|
-
])) : (c(), v("div",
|
|
3510
|
-
|
|
3509
|
+
])) : (c(), v("div", Nm, [
|
|
3510
|
+
Ee(f("input", {
|
|
3511
3511
|
"onUpdate:modelValue": (r) => t.value[o] = r,
|
|
3512
3512
|
class: "form-control",
|
|
3513
3513
|
placeholder: t.schema.fields && t.schema.fields[0].schema.placeholder,
|
|
3514
3514
|
type: t.valueInputType,
|
|
3515
3515
|
onInput: (r) => t.updateModel(t.value[o], t.model[t.schema.model])
|
|
3516
|
-
}, null, 40,
|
|
3516
|
+
}, null, 40, Lm), [
|
|
3517
3517
|
[Ia, t.value[o]]
|
|
3518
3518
|
]),
|
|
3519
|
-
t.schema.fields && t.schema.fields[0].schema.hint ? (c(), v("p",
|
|
3519
|
+
t.schema.fields && t.schema.fields[0].schema.hint ? (c(), v("p", Pm, N(t.schema.fields[0].schema.hint), 1)) : B("", !0),
|
|
3520
3520
|
(c(), U(me(t.autofillSlot), {
|
|
3521
3521
|
schema: t.schema.fields && t.schema.fields[0].schema || t.schema.values,
|
|
3522
3522
|
update: (r) => t.value[o] = r,
|
|
@@ -3526,18 +3526,18 @@ const So = /* @__PURE__ */ W(fm, [["render", pm]]), gm = { class: "field-object-
|
|
|
3526
3526
|
n[2] || (n[2] = f("hr", { class: "wide-divider" }, null, -1))
|
|
3527
3527
|
])
|
|
3528
3528
|
])
|
|
3529
|
-
], 8,
|
|
3529
|
+
], 8, Fm))), 128)),
|
|
3530
3530
|
f("div", {
|
|
3531
3531
|
class: ee(["input-wrapper", { indent: t.hasObjectKeys }])
|
|
3532
3532
|
}, [
|
|
3533
|
-
f("div",
|
|
3534
|
-
|
|
3533
|
+
f("div", Dm, [
|
|
3534
|
+
Ee(f("input", {
|
|
3535
3535
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => t.newKeyName = a),
|
|
3536
3536
|
class: "form-control",
|
|
3537
3537
|
"data-testid": "keyname-input",
|
|
3538
3538
|
placeholder: t.schema.placeholder,
|
|
3539
3539
|
type: "text"
|
|
3540
|
-
}, null, 8,
|
|
3540
|
+
}, null, 8, $m), [
|
|
3541
3541
|
[$t, t.newKeyName]
|
|
3542
3542
|
]),
|
|
3543
3543
|
F(i, {
|
|
@@ -3552,12 +3552,12 @@ const So = /* @__PURE__ */ W(fm, [["render", pm]]), gm = { class: "field-object-
|
|
|
3552
3552
|
_: 1
|
|
3553
3553
|
}, 8, ["disabled", "onClick"])
|
|
3554
3554
|
]),
|
|
3555
|
-
t.schema.hintText ? (c(), v("p",
|
|
3555
|
+
t.schema.hintText ? (c(), v("p", Vm, N(t.schema.hintText), 1)) : B("", !0)
|
|
3556
3556
|
], 2)
|
|
3557
|
-
], 10,
|
|
3557
|
+
], 10, Om);
|
|
3558
3558
|
};
|
|
3559
3559
|
}
|
|
3560
|
-
}), Eo = /* @__PURE__ */ W(
|
|
3560
|
+
}), Eo = /* @__PURE__ */ W(qm, [["__scopeId", "data-v-502ed880"]]), Km = { class: "radio-selection-group" }, Bm = /* @__PURE__ */ he({
|
|
3561
3561
|
__name: "FieldRadio",
|
|
3562
3562
|
props: {
|
|
3563
3563
|
disabled: {
|
|
@@ -3614,7 +3614,7 @@ const So = /* @__PURE__ */ W(fm, [["render", pm]]), gm = { class: "field-object-
|
|
|
3614
3614
|
};
|
|
3615
3615
|
return (g, h) => {
|
|
3616
3616
|
const y = P("KRadio");
|
|
3617
|
-
return c(), v("div",
|
|
3617
|
+
return c(), v("div", Km, [
|
|
3618
3618
|
(c(!0), v(Y, null, oe(e.schema.values, (k, j) => (c(), U(y, {
|
|
3619
3619
|
id: e.schema.name + "-" + j,
|
|
3620
3620
|
key: k.value,
|
|
@@ -3630,7 +3630,7 @@ const So = /* @__PURE__ */ W(fm, [["render", pm]]), gm = { class: "field-object-
|
|
|
3630
3630
|
]);
|
|
3631
3631
|
};
|
|
3632
3632
|
}
|
|
3633
|
-
}), Mo = /* @__PURE__ */ W(
|
|
3633
|
+
}), Mo = /* @__PURE__ */ W(Bm, [["__scopeId", "data-v-09b8afda"]]), Ao = /* @__PURE__ */ he({
|
|
3634
3634
|
__name: "FieldSelect",
|
|
3635
3635
|
props: {
|
|
3636
3636
|
disabled: {
|
|
@@ -3733,7 +3733,7 @@ const So = /* @__PURE__ */ W(fm, [["render", pm]]), gm = { class: "field-object-
|
|
|
3733
3733
|
}, null, 8, ["id", "modelValue", "class", "clearable", "disabled", "items", "kpop-attributes", "label-attributes", "name", "placeholder", "required"]);
|
|
3734
3734
|
};
|
|
3735
3735
|
}
|
|
3736
|
-
}),
|
|
3736
|
+
}), zm = {
|
|
3737
3737
|
name: "FieldArray",
|
|
3738
3738
|
components: {
|
|
3739
3739
|
FieldArrayItem: go,
|
|
@@ -3799,8 +3799,8 @@ const So = /* @__PURE__ */ W(fm, [["render", pm]]), gm = { class: "field-object-
|
|
|
3799
3799
|
((a = (i = this.schema) == null ? void 0 : i.inputAttributes) == null ? void 0 : a.type) === "number" && dn(parseFloat(e)) && (n = parseFloat(e)), this.value = this.value.map((o, r) => r === t ? n : o);
|
|
3800
3800
|
}
|
|
3801
3801
|
}
|
|
3802
|
-
},
|
|
3803
|
-
function
|
|
3802
|
+
}, xm = ["id"], Hm = { key: 1 }, Ym = ["onUpdate:modelValue", "aria-labelledby", "type"], Gm = ["onUpdate:modelValue", "aria-labelledby"];
|
|
3803
|
+
function Wm(e, t, n, i, a, o) {
|
|
3804
3804
|
const r = P("KTextArea"), s = P("KInput"), d = P("KButton");
|
|
3805
3805
|
return e.schema ? (c(), v("div", {
|
|
3806
3806
|
key: 0,
|
|
@@ -3827,7 +3827,7 @@ function Gm(e, t, n, i, a, o) {
|
|
|
3827
3827
|
}, null, 40, ["form-options", "model", "schema", "onModelUpdated"]))
|
|
3828
3828
|
]),
|
|
3829
3829
|
_: 2
|
|
3830
|
-
}, 1064, ["index", "model", "schema", "onRemoveItem"])) : e.schema.items ? (c(), v("span",
|
|
3830
|
+
}, 1064, ["index", "model", "schema", "onRemoveItem"])) : e.schema.items ? (c(), v("span", Hm, [
|
|
3831
3831
|
(c(), U(me(o.getFieldComponent(e.schema.items)), {
|
|
3832
3832
|
"form-options": e.formOptions,
|
|
3833
3833
|
model: u,
|
|
@@ -3880,25 +3880,25 @@ function Gm(e, t, n, i, a, o) {
|
|
|
3880
3880
|
onInput: (y) => {
|
|
3881
3881
|
o.handleInput(y, g);
|
|
3882
3882
|
}
|
|
3883
|
-
}), null, 16, ["aria-labelledby", "model-value", "type", "onInput"])) :
|
|
3883
|
+
}), null, 16, ["aria-labelledby", "model-value", "type", "onInput"])) : Ee((c(), v("input", et({
|
|
3884
3884
|
key: 2,
|
|
3885
3885
|
"onUpdate:modelValue": (y) => e.value[g] = y,
|
|
3886
3886
|
"aria-labelledby": e.getLabelId(e.schema),
|
|
3887
3887
|
ref_for: !0
|
|
3888
3888
|
}, e.schema.inputAttributes, {
|
|
3889
3889
|
type: ((h = e.schema.inputAttributes) == null ? void 0 : h.type) || "text"
|
|
3890
|
-
}), null, 16,
|
|
3890
|
+
}), null, 16, Ym)), [
|
|
3891
3891
|
[Ia, e.value[g]]
|
|
3892
3892
|
])
|
|
3893
3893
|
];
|
|
3894
3894
|
}),
|
|
3895
3895
|
_: 2
|
|
3896
3896
|
}, 1064, ["data-testid", "model", "schema", "onRemoveItem"])) : (c(), v(Y, { key: 3 }, [
|
|
3897
|
-
|
|
3897
|
+
Ee(f("input", et({ ref_for: !0 }, e.schema.inputAttributes, {
|
|
3898
3898
|
"onUpdate:modelValue": (h) => e.value[g] = h,
|
|
3899
3899
|
"aria-labelledby": e.getLabelId(e.schema),
|
|
3900
3900
|
type: "text"
|
|
3901
|
-
}), null, 16,
|
|
3901
|
+
}), null, 16, Gm), [
|
|
3902
3902
|
[$t, e.value[g]]
|
|
3903
3903
|
]),
|
|
3904
3904
|
(c(), U(me(o.autofillSlot), {
|
|
@@ -3920,9 +3920,9 @@ function Gm(e, t, n, i, a, o) {
|
|
|
3920
3920
|
]),
|
|
3921
3921
|
_: 1
|
|
3922
3922
|
}, 8, ["class", "data-testid", "onClick"])
|
|
3923
|
-
], 10,
|
|
3923
|
+
], 10, xm)) : B("", !0);
|
|
3924
3924
|
}
|
|
3925
|
-
const
|
|
3925
|
+
const Zm = /* @__PURE__ */ W(zm, [["render", Wm], ["__scopeId", "data-v-ae802bb2"]]), Xm = { class: "form-field-wrapper field-checkbox" }, Jm = /* @__PURE__ */ he({
|
|
3926
3926
|
__name: "FieldCheckbox",
|
|
3927
3927
|
props: {
|
|
3928
3928
|
disabled: {
|
|
@@ -3974,7 +3974,7 @@ const Wm = /* @__PURE__ */ W(Bm, [["render", Gm], ["__scopeId", "data-v-ae802bb2
|
|
|
3974
3974
|
clearValidationErrors: d
|
|
3975
3975
|
}), (u, g) => {
|
|
3976
3976
|
const h = P("KCheckbox");
|
|
3977
|
-
return c(), v("div",
|
|
3977
|
+
return c(), v("div", Xm, [
|
|
3978
3978
|
F(h, et(u.$attrs, {
|
|
3979
3979
|
id: I(r)(e.schema),
|
|
3980
3980
|
modelValue: I(s),
|
|
@@ -3991,10 +3991,10 @@ const Wm = /* @__PURE__ */ W(Bm, [["render", Gm], ["__scopeId", "data-v-ae802bb2
|
|
|
3991
3991
|
]);
|
|
3992
3992
|
};
|
|
3993
3993
|
}
|
|
3994
|
-
}),
|
|
3995
|
-
function
|
|
3994
|
+
}), Qm = /* @__PURE__ */ W(Jm, [["__scopeId", "data-v-6b4ee1cd"]]), ef = { class: "wrapper" }, tf = ["disabled"], nf = ["id", "checked", "disabled", "onChange", "name"], af = ["disabled"], of = { class: "info" }, rf = { class: "dropList" }, sf = ["id", "checked", "disabled", "onChange", "name"];
|
|
3995
|
+
function lf(e, t, n, i, a, o) {
|
|
3996
3996
|
const r = Aa("attributes");
|
|
3997
|
-
return
|
|
3997
|
+
return Ee((c(), v("div", ef, [
|
|
3998
3998
|
e.schema.listBox ? (c(), v("div", {
|
|
3999
3999
|
key: 0,
|
|
4000
4000
|
class: "listbox form-control",
|
|
@@ -4004,20 +4004,20 @@ function sf(e, t, n, i, a, o) {
|
|
|
4004
4004
|
class: ee(["list-row", { "is-checked": o.isItemChecked(s) }])
|
|
4005
4005
|
}, [
|
|
4006
4006
|
f("label", null, [
|
|
4007
|
-
|
|
4007
|
+
Ee(f("input", {
|
|
4008
4008
|
id: e.getFieldID(e.schema, !0),
|
|
4009
4009
|
type: "checkbox",
|
|
4010
4010
|
checked: o.isItemChecked(s) || null,
|
|
4011
4011
|
disabled: e.disabled || null,
|
|
4012
4012
|
onChange: (d) => o.onChanged(d, s),
|
|
4013
4013
|
name: o.getInputName(s)
|
|
4014
|
-
}, null, 40,
|
|
4014
|
+
}, null, 40, nf), [
|
|
4015
4015
|
[r, "input"]
|
|
4016
4016
|
]),
|
|
4017
4017
|
ce(N(o.getItemName(s)), 1)
|
|
4018
4018
|
])
|
|
4019
4019
|
], 2))), 256))
|
|
4020
|
-
], 8,
|
|
4020
|
+
], 8, tf)) : B("", !0),
|
|
4021
4021
|
e.schema.listBox ? B("", !0) : (c(), v("div", {
|
|
4022
4022
|
key: 1,
|
|
4023
4023
|
class: "combobox form-control",
|
|
@@ -4027,34 +4027,34 @@ function sf(e, t, n, i, a, o) {
|
|
|
4027
4027
|
class: ee(["mainRow", { expanded: a.comboExpanded }]),
|
|
4028
4028
|
onClick: t[0] || (t[0] = (...s) => o.onExpandCombo && o.onExpandCombo(...s))
|
|
4029
4029
|
}, [
|
|
4030
|
-
f("div",
|
|
4030
|
+
f("div", of, N(o.selectedCount) + " selected", 1),
|
|
4031
4031
|
t[1] || (t[1] = f("div", { class: "arrow" }, null, -1))
|
|
4032
4032
|
], 2),
|
|
4033
|
-
f("div",
|
|
4033
|
+
f("div", rf, [
|
|
4034
4034
|
a.comboExpanded ? (c(!0), v(Y, { key: 0 }, oe(o.items, (s) => (c(), v("div", {
|
|
4035
4035
|
class: ee(["list-row", { "is-checked": o.isItemChecked(s) }])
|
|
4036
4036
|
}, [
|
|
4037
4037
|
f("label", null, [
|
|
4038
|
-
|
|
4038
|
+
Ee(f("input", {
|
|
4039
4039
|
id: e.getFieldID(e.schema, !0),
|
|
4040
4040
|
type: "checkbox",
|
|
4041
4041
|
checked: o.isItemChecked(s) || null,
|
|
4042
4042
|
disabled: e.disabled || null,
|
|
4043
4043
|
onChange: (d) => o.onChanged(d, s),
|
|
4044
4044
|
name: o.getInputName(s)
|
|
4045
|
-
}, null, 40,
|
|
4045
|
+
}, null, 40, sf), [
|
|
4046
4046
|
[r, "input"]
|
|
4047
4047
|
]),
|
|
4048
4048
|
ce(N(o.getItemName(s)), 1)
|
|
4049
4049
|
])
|
|
4050
4050
|
], 2))), 256)) : B("", !0)
|
|
4051
4051
|
])
|
|
4052
|
-
], 8,
|
|
4052
|
+
], 8, af))
|
|
4053
4053
|
])), [
|
|
4054
4054
|
[r, "wrapper"]
|
|
4055
4055
|
]);
|
|
4056
4056
|
}
|
|
4057
|
-
const
|
|
4057
|
+
const df = {
|
|
4058
4058
|
mixins: [$e],
|
|
4059
4059
|
data() {
|
|
4060
4060
|
return {
|
|
@@ -4110,7 +4110,7 @@ const lf = {
|
|
|
4110
4110
|
this.comboExpanded = !this.comboExpanded;
|
|
4111
4111
|
}
|
|
4112
4112
|
}
|
|
4113
|
-
},
|
|
4113
|
+
}, uf = /* @__PURE__ */ W(df, [["render", lf]]), cf = {
|
|
4114
4114
|
name: "FieldKeyValuePairs",
|
|
4115
4115
|
components: { TrashIcon: xt },
|
|
4116
4116
|
mixins: [$e],
|
|
@@ -4164,15 +4164,15 @@ const lf = {
|
|
|
4164
4164
|
this.pairs.splice(e, 1);
|
|
4165
4165
|
}
|
|
4166
4166
|
}
|
|
4167
|
-
},
|
|
4168
|
-
function
|
|
4167
|
+
}, mf = { class: "key-value-pairs-editor" }, ff = { class: "pair-item-cell" }, hf = ["data-testid", "placeholder", "value", "onInput"], pf = { class: "pair-item-cell" }, gf = ["data-testid", "placeholder", "value", "onInput"];
|
|
4168
|
+
function yf(e, t, n, i, a, o) {
|
|
4169
4169
|
const r = P("TrashIcon"), s = P("KButton");
|
|
4170
|
-
return c(), v("div",
|
|
4170
|
+
return c(), v("div", mf, [
|
|
4171
4171
|
(c(!0), v(Y, null, oe(a.pairs, (d, u) => (c(), v("div", {
|
|
4172
4172
|
key: u,
|
|
4173
4173
|
class: "pair-item"
|
|
4174
4174
|
}, [
|
|
4175
|
-
f("div",
|
|
4175
|
+
f("div", ff, [
|
|
4176
4176
|
f("input", {
|
|
4177
4177
|
class: "form-control",
|
|
4178
4178
|
"data-testid": `${e.getFieldID(e.schema)}-pair-key-${u}`,
|
|
@@ -4182,14 +4182,14 @@ function gf(e, t, n, i, a, o) {
|
|
|
4182
4182
|
onInput: (g) => {
|
|
4183
4183
|
o.onInput(g, u, "key");
|
|
4184
4184
|
}
|
|
4185
|
-
}, null, 40,
|
|
4185
|
+
}, null, 40, hf),
|
|
4186
4186
|
(c(), U(me(o.autofillSlot), {
|
|
4187
4187
|
schema: e.schema,
|
|
4188
4188
|
update: (g) => o.onInput({ target: { value: g } }, u, "key"),
|
|
4189
4189
|
value: d.key
|
|
4190
4190
|
}, null, 8, ["schema", "update", "value"]))
|
|
4191
4191
|
]),
|
|
4192
|
-
f("div",
|
|
4192
|
+
f("div", pf, [
|
|
4193
4193
|
f("input", {
|
|
4194
4194
|
class: "form-control",
|
|
4195
4195
|
"data-testid": `${e.getFieldID(e.schema)}-pair-value-${u}`,
|
|
@@ -4199,7 +4199,7 @@ function gf(e, t, n, i, a, o) {
|
|
|
4199
4199
|
onInput: (g) => {
|
|
4200
4200
|
o.onInput(g, u, "value");
|
|
4201
4201
|
}
|
|
4202
|
-
}, null, 40,
|
|
4202
|
+
}, null, 40, gf),
|
|
4203
4203
|
(c(), U(me(o.autofillSlot), {
|
|
4204
4204
|
schema: e.schema,
|
|
4205
4205
|
update: (g) => o.onInput({ target: { value: g } }, u, "value"),
|
|
@@ -4233,7 +4233,7 @@ function gf(e, t, n, i, a, o) {
|
|
|
4233
4233
|
}, 8, ["class", "data-testid", "onClick"])
|
|
4234
4234
|
]);
|
|
4235
4235
|
}
|
|
4236
|
-
const
|
|
4236
|
+
const vf = /* @__PURE__ */ W(cf, [["render", yf], ["__scopeId", "data-v-70998d5b"]]), bf = /* @__PURE__ */ he({
|
|
4237
4237
|
__name: "FieldLabel",
|
|
4238
4238
|
props: {
|
|
4239
4239
|
disabled: {
|
|
@@ -4281,7 +4281,7 @@ const yf = /* @__PURE__ */ W(uf, [["render", gf], ["__scopeId", "data-v-70998d5b
|
|
|
4281
4281
|
], 2);
|
|
4282
4282
|
};
|
|
4283
4283
|
}
|
|
4284
|
-
}),
|
|
4284
|
+
}), _f = /* @__PURE__ */ W(bf, [["__scopeId", "data-v-d046a15a"]]), Tf = /* @__PURE__ */ he({
|
|
4285
4285
|
__name: "FieldMultiselect",
|
|
4286
4286
|
props: {
|
|
4287
4287
|
disabled: {
|
|
@@ -4356,10 +4356,10 @@ const yf = /* @__PURE__ */ W(uf, [["render", gf], ["__scopeId", "data-v-70998d5b
|
|
|
4356
4356
|
}, null, 8, ["id", "modelValue", "aria-labelledby", "class", "disabled", "items", "kpop-attributes", "label-attributes", "name", "placeholder", "required"]);
|
|
4357
4357
|
};
|
|
4358
4358
|
}
|
|
4359
|
-
}),
|
|
4359
|
+
}), Sf = { class: "selection-group" }, wf = { class: "form-group horizontal-radios" }, Ef = { class: "radio-group" }, Mf = ["disabled", "value"], Af = { class: "control-help" }, If = {
|
|
4360
4360
|
key: 0,
|
|
4361
4361
|
class: "option-field"
|
|
4362
|
-
},
|
|
4362
|
+
}, Cf = { class: "option-field-container" }, Of = {
|
|
4363
4363
|
mixins: [$e],
|
|
4364
4364
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
4365
4365
|
emits: ["model-updated"],
|
|
@@ -4368,6 +4368,13 @@ const yf = /* @__PURE__ */ W(uf, [["render", gf], ["__scopeId", "data-v-70998d5b
|
|
|
4368
4368
|
checkedGroup: null,
|
|
4369
4369
|
fieldModel: { ...this.model },
|
|
4370
4370
|
// keep local copy of original model
|
|
4371
|
+
/**
|
|
4372
|
+
* renderedTrack tracks makes lazy rendering possible by tracking each index pointed component's render state
|
|
4373
|
+
* all unrendered components are set to 0, when the corresponding group got picked it will be set to 1 for good,
|
|
4374
|
+
* this retains the local state for each subgroup without initializing early to send unpermitted requests which
|
|
4375
|
+
* triggers testing failures
|
|
4376
|
+
*/
|
|
4377
|
+
renderedTrack: [],
|
|
4371
4378
|
fieldSchema: [],
|
|
4372
4379
|
scope: "scope"
|
|
4373
4380
|
};
|
|
@@ -4375,7 +4382,7 @@ const yf = /* @__PURE__ */ W(uf, [["render", gf], ["__scopeId", "data-v-70998d5b
|
|
|
4375
4382
|
watch: {
|
|
4376
4383
|
checkedGroup: {
|
|
4377
4384
|
handler(e, t) {
|
|
4378
|
-
if (t === null) {
|
|
4385
|
+
if (this.renderedTrack[e] = 1, t === null) {
|
|
4379
4386
|
this.fieldModel = { ...this.model };
|
|
4380
4387
|
return;
|
|
4381
4388
|
}
|
|
@@ -4386,7 +4393,7 @@ const yf = /* @__PURE__ */ W(uf, [["render", gf], ["__scopeId", "data-v-70998d5b
|
|
|
4386
4393
|
},
|
|
4387
4394
|
async created() {
|
|
4388
4395
|
await this.$nextTick(), this.schema.fields.forEach((e, t) => {
|
|
4389
|
-
e.fields && e.fields.forEach((n) => {
|
|
4396
|
+
this.renderedTrack.push(0), e.fields && e.fields.forEach((n) => {
|
|
4390
4397
|
var i;
|
|
4391
4398
|
this.model[n.model] && (this.checkedGroup = t, this.fieldSchema.push(n.model), this.scope = (i = n.label) == null ? void 0 : i.toLowerCase());
|
|
4392
4399
|
});
|
|
@@ -4397,18 +4404,18 @@ const yf = /* @__PURE__ */ W(uf, [["render", gf], ["__scopeId", "data-v-70998d5b
|
|
|
4397
4404
|
this.$emit("model-updated", e, t);
|
|
4398
4405
|
}
|
|
4399
4406
|
}
|
|
4400
|
-
},
|
|
4407
|
+
}, Ff = /* @__PURE__ */ Object.assign(Of, {
|
|
4401
4408
|
__name: "FieldSelectionGroup",
|
|
4402
4409
|
setup(e) {
|
|
4403
4410
|
const { t } = ke("en-us", Re);
|
|
4404
|
-
return (n, i) => (c(), v("div",
|
|
4411
|
+
return (n, i) => (c(), v("div", Sf, [
|
|
4405
4412
|
(c(), U(me(n.$props.disabled ? "k-tooltip" : "div"), {
|
|
4406
4413
|
"max-width": "300",
|
|
4407
4414
|
text: I(t)("general.disable_global_radio", { scope: n.scope })
|
|
4408
4415
|
}, {
|
|
4409
4416
|
default: M(() => [
|
|
4410
|
-
f("div",
|
|
4411
|
-
f("div",
|
|
4417
|
+
f("div", wf, [
|
|
4418
|
+
f("div", Ef, [
|
|
4412
4419
|
(c(!0), v(Y, null, oe(n.schema.fields, (a, o) => (c(), v("div", {
|
|
4413
4420
|
key: o,
|
|
4414
4421
|
class: ee(["option-group", { "radio-disabled": n.$props.disabled }])
|
|
@@ -4416,17 +4423,17 @@ const yf = /* @__PURE__ */ W(uf, [["render", gf], ["__scopeId", "data-v-70998d5b
|
|
|
4416
4423
|
f("label", {
|
|
4417
4424
|
class: ee(["k-label", `${a.label}-check`])
|
|
4418
4425
|
}, [
|
|
4419
|
-
|
|
4426
|
+
Ee(f("input", {
|
|
4420
4427
|
"onUpdate:modelValue": i[0] || (i[0] = (r) => n.checkedGroup = r),
|
|
4421
4428
|
class: "k-input",
|
|
4422
4429
|
disabled: n.$props.disabled,
|
|
4423
4430
|
type: "radio",
|
|
4424
4431
|
value: o
|
|
4425
|
-
}, null, 8,
|
|
4432
|
+
}, null, 8, Mf), [
|
|
4426
4433
|
[qo, n.checkedGroup]
|
|
4427
4434
|
]),
|
|
4428
4435
|
ce(" " + N(a.label) + " ", 1),
|
|
4429
|
-
f("div",
|
|
4436
|
+
f("div", Af, N(a.description), 1)
|
|
4430
4437
|
], 2)
|
|
4431
4438
|
], 2))), 128))
|
|
4432
4439
|
])
|
|
@@ -4438,8 +4445,8 @@ const yf = /* @__PURE__ */ W(uf, [["render", gf], ["__scopeId", "data-v-70998d5b
|
|
|
4438
4445
|
key: o,
|
|
4439
4446
|
class: "option-group"
|
|
4440
4447
|
}, [
|
|
4441
|
-
|
|
4442
|
-
f("div",
|
|
4448
|
+
n.renderedTrack[o] ? Ee((c(), v("div", If, [
|
|
4449
|
+
f("div", Cf, [
|
|
4443
4450
|
F(ue, {
|
|
4444
4451
|
model: n.model,
|
|
4445
4452
|
options: { helpAsHtml: !0 },
|
|
@@ -4447,11 +4454,13 @@ const yf = /* @__PURE__ */ W(uf, [["render", gf], ["__scopeId", "data-v-70998d5b
|
|
|
4447
4454
|
onModelUpdated: n.updateModel
|
|
4448
4455
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
4449
4456
|
])
|
|
4450
|
-
]))
|
|
4457
|
+
], 512)), [
|
|
4458
|
+
[Ko, a.fields && n.checkedGroup === o]
|
|
4459
|
+
]) : B("", !0)
|
|
4451
4460
|
]))), 128))
|
|
4452
4461
|
]));
|
|
4453
4462
|
}
|
|
4454
|
-
}),
|
|
4463
|
+
}), kf = /* @__PURE__ */ W(Ff, [["__scopeId", "data-v-0dda17d6"]]), Rf = { class: "form-field-wrapper" }, Uf = /* @__PURE__ */ he({
|
|
4455
4464
|
__name: "FieldSwitch",
|
|
4456
4465
|
props: {
|
|
4457
4466
|
disabled: {
|
|
@@ -4505,7 +4514,7 @@ const yf = /* @__PURE__ */ W(uf, [["render", gf], ["__scopeId", "data-v-70998d5b
|
|
|
4505
4514
|
clearValidationErrors: h
|
|
4506
4515
|
}), (y, k) => {
|
|
4507
4516
|
const j = P("KInputSwitch");
|
|
4508
|
-
return c(), v("div",
|
|
4517
|
+
return c(), v("div", Rf, [
|
|
4509
4518
|
F(j, {
|
|
4510
4519
|
id: I(u)(e.schema),
|
|
4511
4520
|
modelValue: I(g),
|
|
@@ -4521,7 +4530,7 @@ const yf = /* @__PURE__ */ W(uf, [["render", gf], ["__scopeId", "data-v-70998d5b
|
|
|
4521
4530
|
]);
|
|
4522
4531
|
};
|
|
4523
4532
|
}
|
|
4524
|
-
}),
|
|
4533
|
+
}), Nf = { class: "field-textarea" }, Lf = /* @__PURE__ */ he({
|
|
4525
4534
|
__name: "FieldTextArea",
|
|
4526
4535
|
props: {
|
|
4527
4536
|
disabled: {
|
|
@@ -4577,7 +4586,7 @@ const yf = /* @__PURE__ */ W(uf, [["render", gf], ["__scopeId", "data-v-70998d5b
|
|
|
4577
4586
|
};
|
|
4578
4587
|
return (y, k) => {
|
|
4579
4588
|
const j = P("KTextArea");
|
|
4580
|
-
return c(), v("div",
|
|
4589
|
+
return c(), v("div", Nf, [
|
|
4581
4590
|
F(j, et(y.$attrs, {
|
|
4582
4591
|
id: I(d)(e.schema),
|
|
4583
4592
|
modelValue: I(g),
|
|
@@ -4603,32 +4612,32 @@ const yf = /* @__PURE__ */ W(uf, [["render", gf], ["__scopeId", "data-v-70998d5b
|
|
|
4603
4612
|
]);
|
|
4604
4613
|
};
|
|
4605
4614
|
}
|
|
4606
|
-
}),
|
|
4615
|
+
}), Pf = /* @__PURE__ */ W(Lf, [["__scopeId", "data-v-0e146fba"]]), Df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4607
4616
|
__proto__: null,
|
|
4608
|
-
FieldAdvanced:
|
|
4609
|
-
FieldArray:
|
|
4617
|
+
FieldAdvanced: Ic,
|
|
4618
|
+
FieldArray: Zm,
|
|
4610
4619
|
FieldArrayCardContainer: po,
|
|
4611
4620
|
FieldArrayItem: go,
|
|
4612
4621
|
FieldArrayMultiItem: yo,
|
|
4613
4622
|
FieldAutoSuggest: bo,
|
|
4614
4623
|
FieldAutoSuggestV2: _o,
|
|
4615
|
-
FieldCheckbox:
|
|
4616
|
-
FieldChecklist:
|
|
4624
|
+
FieldCheckbox: Qm,
|
|
4625
|
+
FieldChecklist: uf,
|
|
4617
4626
|
FieldInput: To,
|
|
4618
|
-
FieldKeyValuePairs:
|
|
4619
|
-
FieldLabel:
|
|
4627
|
+
FieldKeyValuePairs: vf,
|
|
4628
|
+
FieldLabel: _f,
|
|
4620
4629
|
FieldMetric: So,
|
|
4621
|
-
FieldMultiselect:
|
|
4630
|
+
FieldMultiselect: Tf,
|
|
4622
4631
|
FieldObject: wo,
|
|
4623
4632
|
FieldObjectAdvanced: Eo,
|
|
4624
4633
|
FieldRadio: Mo,
|
|
4625
4634
|
FieldSelect: Ao,
|
|
4626
|
-
FieldSelectionGroup:
|
|
4627
|
-
FieldSwitch:
|
|
4628
|
-
FieldTextArea:
|
|
4629
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4635
|
+
FieldSelectionGroup: kf,
|
|
4636
|
+
FieldSwitch: Uf,
|
|
4637
|
+
FieldTextArea: Pf
|
|
4638
|
+
}, Symbol.toStringTag, { value: "Module" })), $f = {
|
|
4630
4639
|
name: "FormGroup",
|
|
4631
|
-
components:
|
|
4640
|
+
components: Df,
|
|
4632
4641
|
mixins: [io],
|
|
4633
4642
|
inject: {
|
|
4634
4643
|
"vfg-array-item-index": {
|
|
@@ -4687,7 +4696,7 @@ const yf = /* @__PURE__ */ W(uf, [["render", gf], ["__scopeId", "data-v-70998d5b
|
|
|
4687
4696
|
},
|
|
4688
4697
|
methods: {
|
|
4689
4698
|
sanitize(e) {
|
|
4690
|
-
return
|
|
4699
|
+
return Al.sanitize(e);
|
|
4691
4700
|
},
|
|
4692
4701
|
// Should field type have a label?
|
|
4693
4702
|
fieldTypeHasLabel(e) {
|
|
@@ -4753,20 +4762,20 @@ const yf = /* @__PURE__ */ W(uf, [["render", gf], ["__scopeId", "data-v-70998d5b
|
|
|
4753
4762
|
return e ? e.replace(/^[cC]onfig\./, "") : "";
|
|
4754
4763
|
}
|
|
4755
4764
|
}
|
|
4756
|
-
},
|
|
4765
|
+
}, Vf = ["innerHTML"], jf = { class: "icon-wrapper" }, qf = {
|
|
4757
4766
|
key: 0,
|
|
4758
4767
|
class: "link-wrapper"
|
|
4759
|
-
},
|
|
4768
|
+
}, Kf = { class: "field-wrap" }, Bf = {
|
|
4760
4769
|
key: 0,
|
|
4761
4770
|
class: "buttons"
|
|
4762
|
-
},
|
|
4771
|
+
}, zf = ["type", "onClick", "textContent"], xf = {
|
|
4763
4772
|
key: 1,
|
|
4764
4773
|
class: "hint"
|
|
4765
|
-
},
|
|
4774
|
+
}, Hf = {
|
|
4766
4775
|
key: 2,
|
|
4767
4776
|
class: "errors help-block"
|
|
4768
4777
|
};
|
|
4769
|
-
function
|
|
4778
|
+
function Yf(e, t, n, i, a, o) {
|
|
4770
4779
|
const r = P("KExternalLink"), s = P("KLabel");
|
|
4771
4780
|
return c(), v("div", {
|
|
4772
4781
|
class: ee(["form-group", e.getFieldRowClasses(n.field)])
|
|
@@ -4784,10 +4793,10 @@ function Hf(e, t, n, i, a, o) {
|
|
|
4784
4793
|
} : void 0
|
|
4785
4794
|
}, cn({
|
|
4786
4795
|
default: M(() => [
|
|
4787
|
-
f("div",
|
|
4796
|
+
f("div", jf, [
|
|
4788
4797
|
f("span", null, N(o.formattedLabel(n.field.label)), 1)
|
|
4789
4798
|
]),
|
|
4790
|
-
n.field.link ? (c(), v("div",
|
|
4799
|
+
n.field.link ? (c(), v("div", qf, [
|
|
4791
4800
|
F(r, {
|
|
4792
4801
|
href: n.field.link
|
|
4793
4802
|
}, {
|
|
@@ -4805,12 +4814,12 @@ function Hf(e, t, n, i, a, o) {
|
|
|
4805
4814
|
fn: M(() => [
|
|
4806
4815
|
f("div", {
|
|
4807
4816
|
innerHTML: o.sanitize(n.field.help)
|
|
4808
|
-
}, null, 8,
|
|
4817
|
+
}, null, 8, Vf)
|
|
4809
4818
|
]),
|
|
4810
4819
|
key: "0"
|
|
4811
4820
|
} : void 0
|
|
4812
4821
|
]), 1032, ["aria-describedby", "class", "for", "info", "tooltip-attributes"])) : B("", !0),
|
|
4813
|
-
f("div",
|
|
4822
|
+
f("div", Kf, [
|
|
4814
4823
|
(c(), U(me(o.getFieldComponent(n.field)), et(e.$attrs, {
|
|
4815
4824
|
ref: "child",
|
|
4816
4825
|
disabled: e.fieldDisabled(n.field) || null,
|
|
@@ -4823,31 +4832,31 @@ function Hf(e, t, n, i, a, o) {
|
|
|
4823
4832
|
onRefreshModel: o.onRefreshModel,
|
|
4824
4833
|
onValidated: o.onFieldValidated
|
|
4825
4834
|
}), null, 16, ["disabled", "form-options", "hint", "model", "schema", "vfg", "onModelUpdated", "onRefreshModel", "onValidated"])),
|
|
4826
|
-
o.buttonVisibility(n.field) ? (c(), v("div",
|
|
4835
|
+
o.buttonVisibility(n.field) ? (c(), v("div", Bf, [
|
|
4827
4836
|
(c(!0), v(Y, null, oe(n.field.buttons, (d, u) => (c(), v("button", {
|
|
4828
4837
|
key: u,
|
|
4829
4838
|
class: ee(d.classes),
|
|
4830
4839
|
type: o.getButtonType(d),
|
|
4831
4840
|
onClick: (g) => o.buttonClickHandler(d, n.field, g),
|
|
4832
4841
|
textContent: N(d.label)
|
|
4833
|
-
}, null, 10,
|
|
4842
|
+
}, null, 10, zf))), 128))
|
|
4834
4843
|
])) : B("", !0)
|
|
4835
4844
|
]),
|
|
4836
|
-
n.field.hint && n.field.type !== "input" ? (c(), v("div",
|
|
4837
|
-
o.fieldErrors(n.field).length > 0 ? (c(), v("div",
|
|
4845
|
+
n.field.hint && n.field.type !== "input" ? (c(), v("div", xf, N(o.fieldHint(n.field)), 1)) : B("", !0),
|
|
4846
|
+
o.fieldErrors(n.field).length > 0 ? (c(), v("div", Hf, [
|
|
4838
4847
|
(c(!0), v(Y, null, oe(o.fieldErrors(n.field), (d, u) => (c(), v("span", { key: u }, N(d), 1))), 128))
|
|
4839
4848
|
])) : B("", !0)
|
|
4840
4849
|
], 2);
|
|
4841
4850
|
}
|
|
4842
|
-
const Io = /* @__PURE__ */ W(
|
|
4851
|
+
const Io = /* @__PURE__ */ W($f, [["render", Yf], ["__scopeId", "data-v-106c6dba"]]);
|
|
4843
4852
|
var un = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(un || {});
|
|
4844
|
-
const
|
|
4853
|
+
const Gf = (e) => {
|
|
4845
4854
|
var t, n;
|
|
4846
4855
|
return e.type === un.REDIS_CE ? "Host/Port" : (t = e.config.sentinel_nodes) != null && t.length ? "Sentinel" : (n = e.config.cluster_nodes) != null && n.length ? "Cluster" : "Host/Port";
|
|
4847
|
-
},
|
|
4856
|
+
}, Wf = {
|
|
4848
4857
|
[un.REDIS_CE]: "open source",
|
|
4849
4858
|
[un.REDIS_EE]: "enterprise"
|
|
4850
|
-
}, Sa = (e) =>
|
|
4859
|
+
}, Sa = (e) => Wf[e] ?? "", Zf = { class: "partial-config-card" }, Xf = { class: "config-card-row-label" }, Jf = { class: "label-text" }, Qf = ["data-testid"], eh = ["data-testid"], th = { key: 1 }, nh = ["data-testid"], ih = ["data-testid"], ah = /* @__PURE__ */ he({
|
|
4851
4860
|
__name: "RedisConfigCard",
|
|
4852
4861
|
props: {
|
|
4853
4862
|
configFields: {
|
|
@@ -4882,7 +4891,7 @@ const Yf = (e) => {
|
|
|
4882
4891
|
formatter: n,
|
|
4883
4892
|
order: 3
|
|
4884
4893
|
}
|
|
4885
|
-
}, a = e, o = (h) => h != null, r = (h, y) => o(y) && ["password", "sentinel_password"].includes(h) ? "password" : "text", { convertKeyToTitle: s } =
|
|
4894
|
+
}, a = e, o = (h) => h != null, r = (h, y) => o(y) && ["password", "sentinel_password"].includes(h) ? "password" : "text", { convertKeyToTitle: s } = Yo(), d = z(() => Object.entries(a.configFields).map(([h, y]) => {
|
|
4886
4895
|
var k, j, p, A;
|
|
4887
4896
|
return {
|
|
4888
4897
|
key: h,
|
|
@@ -4895,19 +4904,19 @@ const Yf = (e) => {
|
|
|
4895
4904
|
}).sort((h, y) => h.order - y.order).filter((h) => h.type !== "hidden")), u = qe.useRedisNonStandardFields(a.configFields, a.pluginRedisFields), g = z(() => d.value.concat(u));
|
|
4896
4905
|
return (h, y) => {
|
|
4897
4906
|
const k = P("KCopy");
|
|
4898
|
-
return c(), v("div",
|
|
4907
|
+
return c(), v("div", Zf, [
|
|
4899
4908
|
(c(!0), v(Y, null, oe(g.value, ({ key: j, label: p, value: A, type: O }) => (c(), v("div", {
|
|
4900
4909
|
key: j,
|
|
4901
4910
|
class: "partial-config-card-row"
|
|
4902
4911
|
}, [
|
|
4903
|
-
f("div",
|
|
4904
|
-
f("div",
|
|
4912
|
+
f("div", Xf, [
|
|
4913
|
+
f("div", Jf, N(p), 1)
|
|
4905
4914
|
]),
|
|
4906
4915
|
f("div", {
|
|
4907
4916
|
class: "config-card-row-value",
|
|
4908
4917
|
"data-testid": `${j}-property-value`
|
|
4909
4918
|
}, [
|
|
4910
|
-
o(A) ? (c(), v("div",
|
|
4919
|
+
o(A) ? (c(), v("div", th, [
|
|
4911
4920
|
O === "password" ? (c(), v("div", {
|
|
4912
4921
|
key: 0,
|
|
4913
4922
|
"data-testid": `${j}-copy-password`
|
|
@@ -4916,33 +4925,33 @@ const Yf = (e) => {
|
|
|
4916
4925
|
format: "redacted",
|
|
4917
4926
|
text: String(A)
|
|
4918
4927
|
}, null, 8, ["text"])
|
|
4919
|
-
], 8,
|
|
4928
|
+
], 8, nh)) : (c(), v("div", {
|
|
4920
4929
|
key: 1,
|
|
4921
4930
|
"data-testid": `${j}-plain-text`
|
|
4922
|
-
}, N(A), 9,
|
|
4931
|
+
}, N(A), 9, ih))
|
|
4923
4932
|
])) : (c(), v("div", {
|
|
4924
4933
|
key: 0,
|
|
4925
4934
|
"data-testid": `${j}-no-value`
|
|
4926
|
-
}, " – ", 8,
|
|
4927
|
-
], 8,
|
|
4935
|
+
}, " – ", 8, eh))
|
|
4936
|
+
], 8, Qf)
|
|
4928
4937
|
]))), 128))
|
|
4929
4938
|
]);
|
|
4930
4939
|
};
|
|
4931
4940
|
}
|
|
4932
|
-
}),
|
|
4941
|
+
}), oh = /* @__PURE__ */ W(ah, [["__scopeId", "data-v-c1eb723f"]]), rh = {
|
|
4933
4942
|
class: "redis-config-select",
|
|
4934
4943
|
"data-testid": "redis-config-select"
|
|
4935
|
-
},
|
|
4944
|
+
}, sh = { class: "selected-redis-config" }, lh = ["data-testid"], dh = {
|
|
4936
4945
|
class: "select-item-name",
|
|
4937
4946
|
"data-testid": "selected-redis-config"
|
|
4938
|
-
},
|
|
4947
|
+
}, uh = {
|
|
4939
4948
|
class: "empty-redis-config",
|
|
4940
4949
|
"data-testid": "empty-redis-config"
|
|
4941
|
-
},
|
|
4950
|
+
}, ch = {
|
|
4942
4951
|
key: 1,
|
|
4943
4952
|
class: "redis-shared-config-error-message",
|
|
4944
4953
|
"data-testid": "redis-config-fetch-error"
|
|
4945
|
-
},
|
|
4954
|
+
}, mh = "1000", fh = /* @__PURE__ */ he({
|
|
4946
4955
|
__name: "RedisConfigSelect",
|
|
4947
4956
|
props: {
|
|
4948
4957
|
defaultRedisConfigItem: {
|
|
@@ -4969,7 +4978,7 @@ const Yf = (e) => {
|
|
|
4969
4978
|
},
|
|
4970
4979
|
emits: ["showNewPartialModal"],
|
|
4971
4980
|
setup(e) {
|
|
4972
|
-
const { t } = ke("en-us", Re), n = an(
|
|
4981
|
+
const { t } = ke("en-us", Re), n = an(al), i = {
|
|
4973
4982
|
konnect: {
|
|
4974
4983
|
getOne: "/v2/control-planes/{controlPlaneId}/core-entities/partials/{id}",
|
|
4975
4984
|
getAll: "/v2/control-planes/{controlPlaneId}/core-entities/partials"
|
|
@@ -4978,22 +4987,22 @@ const Yf = (e) => {
|
|
|
4978
4987
|
getOne: "/{workspace}/partials/{id}",
|
|
4979
4988
|
getAll: "/{workspace}/partials"
|
|
4980
4989
|
}
|
|
4981
|
-
}, a = e, o = ae(null), { getMessageFromError: r } =
|
|
4990
|
+
}, a = e, o = ae(null), { getMessageFromError: r } = Go(), s = an(il), {
|
|
4982
4991
|
debouncedQueryChange: d,
|
|
4983
4992
|
loading: u,
|
|
4984
4993
|
error: g,
|
|
4985
4994
|
loadItems: h,
|
|
4986
4995
|
results: y
|
|
4987
|
-
} =
|
|
4996
|
+
} = Wo(s, i[s.app].getAll, mh, {
|
|
4988
4997
|
fetchedItemsKey: "data",
|
|
4989
4998
|
searchKeys: ["id", "name"]
|
|
4990
4999
|
}), k = z(() => g.value ? r(g.value) : ""), j = (D) => {
|
|
4991
5000
|
let m = `${s.apiBaseUrl}${i[s.app].getOne}`;
|
|
4992
5001
|
return s.app === "konnect" ? m = m.replace(/{controlPlaneId}/gi, (s == null ? void 0 : s.controlPlaneId) || "") : s.app === "kongManager" && (m = m.replace(/\/{workspace}/gi, s != null && s.workspace ? `/${s.workspace}` : "")), m = m.replace(/{id}/gi, String(D)), m;
|
|
4993
5002
|
}, p = z(() => {
|
|
4994
|
-
const D = (y.value || []).map((m) => ({ label: m.id, name: m.name, value: m.id, type: m.type, tag:
|
|
5003
|
+
const D = (y.value || []).map((m) => ({ label: m.id, name: m.name, value: m.id, type: m.type, tag: Gf(m) })).filter((m) => m.type === "redis-ce" || m.type === "redis-ee");
|
|
4995
5004
|
return a.redisType !== "all" ? D.filter((m) => m.type === a.redisType) : D;
|
|
4996
|
-
}), { axiosInstance: A } =
|
|
5005
|
+
}), { axiosInstance: A } = Zo(s == null ? void 0 : s.axiosRequestConfig), O = async (D) => {
|
|
4997
5006
|
if (D) {
|
|
4998
5007
|
a.updateRedisModel(D);
|
|
4999
5008
|
try {
|
|
@@ -5014,7 +5023,7 @@ const Yf = (e) => {
|
|
|
5014
5023
|
}), (D, m) => {
|
|
5015
5024
|
const _ = P("KLabel"), C = P("KBadge"), w = P("KSelect");
|
|
5016
5025
|
return c(), v(Y, null, [
|
|
5017
|
-
f("div",
|
|
5026
|
+
f("div", rh, [
|
|
5018
5027
|
F(_, {
|
|
5019
5028
|
info: e.isCustomPlugin ? I(t)("redis.custom_plugin.tooltip") : I(t)("redis.shared_configuration.tooltip", { type: I(Sa)(e.redisType) }),
|
|
5020
5029
|
"tooltip-attributes": {
|
|
@@ -5041,14 +5050,14 @@ const Yf = (e) => {
|
|
|
5041
5050
|
onQueryChange: I(d)
|
|
5042
5051
|
}, {
|
|
5043
5052
|
"selected-item-template": M(({ item: b }) => [
|
|
5044
|
-
f("div",
|
|
5053
|
+
f("div", sh, N(b.name), 1)
|
|
5045
5054
|
]),
|
|
5046
5055
|
"item-template": M(({ item: b }) => [
|
|
5047
5056
|
f("div", {
|
|
5048
5057
|
class: "plugin-form-redis-configuration-dropdown-item",
|
|
5049
5058
|
"data-testid": `redis-configuration-dropdown-item-${b.name}`
|
|
5050
5059
|
}, [
|
|
5051
|
-
f("span",
|
|
5060
|
+
f("span", dh, N(b.name), 1),
|
|
5052
5061
|
F(C, {
|
|
5053
5062
|
appearance: "info",
|
|
5054
5063
|
class: "select-item-label"
|
|
@@ -5058,10 +5067,10 @@ const Yf = (e) => {
|
|
|
5058
5067
|
]),
|
|
5059
5068
|
_: 2
|
|
5060
5069
|
}, 1024)
|
|
5061
|
-
], 8,
|
|
5070
|
+
], 8, lh)
|
|
5062
5071
|
]),
|
|
5063
5072
|
empty: M(() => [
|
|
5064
|
-
f("div",
|
|
5073
|
+
f("div", uh, N(I(t)("redis.shared_configuration.empty_state")), 1)
|
|
5065
5074
|
]),
|
|
5066
5075
|
"dropdown-footer-text": M(() => [
|
|
5067
5076
|
f("div", {
|
|
@@ -5069,32 +5078,32 @@ const Yf = (e) => {
|
|
|
5069
5078
|
"data-testid": "new-redis-config-area",
|
|
5070
5079
|
onClick: m[0] || (m[0] = (b) => D.$emit("showNewPartialModal"))
|
|
5071
5080
|
}, [
|
|
5072
|
-
F(I(Qn), { size: I(
|
|
5081
|
+
F(I(Qn), { size: I(zc) }, null, 8, ["size"]),
|
|
5073
5082
|
f("span", null, N(I(t)("redis.shared_configuration.create_new_configuration", { type: I(Sa)(e.redisType) })), 1)
|
|
5074
5083
|
])
|
|
5075
5084
|
]),
|
|
5076
5085
|
_: 1
|
|
5077
5086
|
}, 8, ["items", "loading", "model-value", "placeholder", "onQueryChange"])
|
|
5078
5087
|
]),
|
|
5079
|
-
o.value ? (c(), U(
|
|
5088
|
+
o.value ? (c(), U(oh, {
|
|
5080
5089
|
key: 0,
|
|
5081
5090
|
"config-fields": o.value,
|
|
5082
5091
|
"plugin-redis-fields": e.pluginRedisFields
|
|
5083
5092
|
}, null, 8, ["config-fields", "plugin-redis-fields"])) : B("", !0),
|
|
5084
|
-
k.value ? (c(), v("p",
|
|
5093
|
+
k.value ? (c(), v("p", ch, N(k.value || I(t)("redis.shared_configuration.error")), 1)) : B("", !0)
|
|
5085
5094
|
], 64);
|
|
5086
5095
|
};
|
|
5087
5096
|
}
|
|
5088
|
-
}), wa = /* @__PURE__ */ W(
|
|
5097
|
+
}), wa = /* @__PURE__ */ W(fh, [["__scopeId", "data-v-0001f209"]]), hh = { key: 0 }, ph = {
|
|
5089
5098
|
class: "redis-config-radio-group",
|
|
5090
5099
|
"data-testid": "redis-config-radio-group"
|
|
5091
|
-
},
|
|
5100
|
+
}, gh = {
|
|
5092
5101
|
key: 0,
|
|
5093
5102
|
class: "shared-redis-config"
|
|
5094
|
-
},
|
|
5103
|
+
}, yh = {
|
|
5095
5104
|
key: 1,
|
|
5096
5105
|
class: "dedicated-redis-config"
|
|
5097
|
-
},
|
|
5106
|
+
}, vh = { class: "dedicated-redis-config-title" }, bh = /* @__PURE__ */ he({
|
|
5098
5107
|
__name: "FormRedis",
|
|
5099
5108
|
props: {
|
|
5100
5109
|
tag: {
|
|
@@ -5162,7 +5171,7 @@ const Yf = (e) => {
|
|
|
5162
5171
|
}), (p, A) => {
|
|
5163
5172
|
const O = P("KAlert"), D = P("KBadge"), m = P("KRadio"), _ = P("KCard");
|
|
5164
5173
|
return c(), v("div", null, [
|
|
5165
|
-
o.value ? (c(), v("div",
|
|
5174
|
+
o.value ? (c(), v("div", hh, [
|
|
5166
5175
|
F(O, {
|
|
5167
5176
|
"data-testid": "custom-plugin-redis-config-note",
|
|
5168
5177
|
message: I(a)("redis.custom_plugin.alert")
|
|
@@ -5181,7 +5190,7 @@ const Yf = (e) => {
|
|
|
5181
5190
|
title: I(a)("redis.title")
|
|
5182
5191
|
}, {
|
|
5183
5192
|
default: M(() => [
|
|
5184
|
-
f("div",
|
|
5193
|
+
f("div", ph, [
|
|
5185
5194
|
F(m, {
|
|
5186
5195
|
modelValue: r.value,
|
|
5187
5196
|
"onUpdate:modelValue": A[1] || (A[1] = (C) => r.value = C),
|
|
@@ -5213,7 +5222,7 @@ const Yf = (e) => {
|
|
|
5213
5222
|
"selected-value": !1
|
|
5214
5223
|
}, null, 8, ["modelValue", "description", "label"])
|
|
5215
5224
|
]),
|
|
5216
|
-
r.value ? (c(), v("div",
|
|
5225
|
+
r.value ? (c(), v("div", gh, [
|
|
5217
5226
|
F(wa, {
|
|
5218
5227
|
"default-redis-config-item": s.value,
|
|
5219
5228
|
"plugin-redis-fields": e.field.fields,
|
|
@@ -5221,8 +5230,8 @@ const Yf = (e) => {
|
|
|
5221
5230
|
"update-redis-model": h,
|
|
5222
5231
|
onShowNewPartialModal: A[3] || (A[3] = (C) => p.$emit("showNewPartialModal"))
|
|
5223
5232
|
}, null, 8, ["default-redis-config-item", "plugin-redis-fields", "redis-type"])
|
|
5224
|
-
])) : (c(), v("div",
|
|
5225
|
-
f("div",
|
|
5233
|
+
])) : (c(), v("div", yh, [
|
|
5234
|
+
f("div", vh, N(I(a)("redis.dedicated_configuration.title")), 1),
|
|
5226
5235
|
(c(), U(me(e.tag), null, {
|
|
5227
5236
|
default: M(() => [
|
|
5228
5237
|
(c(!0), v(Y, null, oe(e.field.fields, (C) => (c(), v(Y, {
|
|
@@ -5252,9 +5261,9 @@ const Yf = (e) => {
|
|
|
5252
5261
|
]);
|
|
5253
5262
|
};
|
|
5254
5263
|
}
|
|
5255
|
-
}),
|
|
5264
|
+
}), _h = /* @__PURE__ */ W(bh, [["__scopeId", "data-v-b9a17494"]]), Th = {
|
|
5256
5265
|
name: "VueFormGenerator",
|
|
5257
|
-
components: { formGroup: Io, formRedis:
|
|
5266
|
+
components: { formGroup: Io, formRedis: _h },
|
|
5258
5267
|
mixins: [io],
|
|
5259
5268
|
inject: {
|
|
5260
5269
|
// Inject AUTOFILL_SLOT for provide()
|
|
@@ -5416,13 +5425,13 @@ const Yf = (e) => {
|
|
|
5416
5425
|
});
|
|
5417
5426
|
}
|
|
5418
5427
|
}
|
|
5419
|
-
},
|
|
5428
|
+
}, Sh = {
|
|
5420
5429
|
key: 0,
|
|
5421
5430
|
class: "vue-form-generator"
|
|
5422
|
-
},
|
|
5423
|
-
function
|
|
5431
|
+
}, wh = { key: 0 };
|
|
5432
|
+
function Eh(e, t, n, i, a, o) {
|
|
5424
5433
|
const r = P("form-redis"), s = P("form-group"), d = P("KCollapse");
|
|
5425
|
-
return n.schema != null ? (c(), v("div",
|
|
5434
|
+
return n.schema != null ? (c(), v("div", Sh, [
|
|
5426
5435
|
n.schema.fields ? (c(), U(me(n.tag), { key: 0 }, {
|
|
5427
5436
|
default: M(() => [
|
|
5428
5437
|
(c(!0), v(Y, null, oe(o.fields, (u) => (c(), v(Y, {
|
|
@@ -5561,7 +5570,7 @@ function wh(e, t, n, i, a, o) {
|
|
|
5561
5570
|
class: ee(e.getFieldRowClasses(u))
|
|
5562
5571
|
}, {
|
|
5563
5572
|
default: M(() => [
|
|
5564
|
-
u.legend ? (c(), v("legend",
|
|
5573
|
+
u.legend ? (c(), v("legend", wh, N(u.legend), 1)) : B("", !0),
|
|
5565
5574
|
(c(!0), v(Y, null, oe(u.fields, (h) => (c(), v(Y, {
|
|
5566
5575
|
key: h.model
|
|
5567
5576
|
}, [
|
|
@@ -5585,7 +5594,7 @@ function wh(e, t, n, i, a, o) {
|
|
|
5585
5594
|
], 64))), 128))
|
|
5586
5595
|
])) : B("", !0);
|
|
5587
5596
|
}
|
|
5588
|
-
const ue = /* @__PURE__ */ W(
|
|
5597
|
+
const ue = /* @__PURE__ */ W(Th, [["render", Eh]]), Dt = {
|
|
5589
5598
|
openIdConnectDocs: "https://developer.konghq.com/plugins/openid-connect/",
|
|
5590
5599
|
openIdConnectJWKDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-client-jwk",
|
|
5591
5600
|
openIdConnectClusterNodesDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-redis-cluster-nodes",
|
|
@@ -5605,7 +5614,7 @@ const ue = /* @__PURE__ */ W(_h, [["render", wh]]), Dt = {
|
|
|
5605
5614
|
"config-groups_claim",
|
|
5606
5615
|
"config-groups_required",
|
|
5607
5616
|
"config-authenticated_groups_claim"
|
|
5608
|
-
]),
|
|
5617
|
+
]), Mh = {
|
|
5609
5618
|
name: "OIDCForm",
|
|
5610
5619
|
components: { VueFormGenerator: ue },
|
|
5611
5620
|
provide() {
|
|
@@ -5810,8 +5819,8 @@ const ue = /* @__PURE__ */ W(_h, [["render", wh]]), Dt = {
|
|
|
5810
5819
|
this.formModel["config-auth_methods"] = this.getAuthMethodsValue(t, e), this.onModelUpdated();
|
|
5811
5820
|
}
|
|
5812
5821
|
}
|
|
5813
|
-
},
|
|
5814
|
-
function
|
|
5822
|
+
}, Ah = { class: "general-settings" }, Ih = { class: "link-wrapper" }, Ch = { class: "auth-method-container" }, Oh = { class: "general-settings" }, Fh = { class: "link-wrapper" }, kh = { class: "general-settings" }, Rh = { class: "link-wrapper" };
|
|
5823
|
+
function Uh(e, t, n, i, a, o) {
|
|
5815
5824
|
const r = P("VueFormGenerator"), s = P("KExternalLink"), d = P("KLabel"), u = P("KCheckbox"), g = P("KInputSwitch"), h = P("KTabs");
|
|
5816
5825
|
return c(), v("div", null, [
|
|
5817
5826
|
n.formModel.id && n.isEditing || !n.isEditing ? (c(), U(r, {
|
|
@@ -5824,8 +5833,8 @@ function Rh(e, t, n, i, a, o) {
|
|
|
5824
5833
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
|
|
5825
5834
|
F(h, { tabs: a.tabs }, {
|
|
5826
5835
|
common: M(() => [
|
|
5827
|
-
f("div",
|
|
5828
|
-
f("div",
|
|
5836
|
+
f("div", Ah, [
|
|
5837
|
+
f("div", Ih, [
|
|
5829
5838
|
F(s, { href: a.openIdConfigurationDocs }, {
|
|
5830
5839
|
default: M(() => t[2] || (t[2] = [
|
|
5831
5840
|
f("span", { class: "section-header" }, "Common Configuration Settings", -1)
|
|
@@ -5847,7 +5856,7 @@ function Rh(e, t, n, i, a, o) {
|
|
|
5847
5856
|
])),
|
|
5848
5857
|
_: 1
|
|
5849
5858
|
}),
|
|
5850
|
-
f("div",
|
|
5859
|
+
f("div", Ch, [
|
|
5851
5860
|
(c(!0), v(Y, null, oe(a.authMethods, (y) => (c(), v("div", {
|
|
5852
5861
|
key: y.value,
|
|
5853
5862
|
class: "auth-method"
|
|
@@ -5873,8 +5882,8 @@ function Rh(e, t, n, i, a, o) {
|
|
|
5873
5882
|
])
|
|
5874
5883
|
]),
|
|
5875
5884
|
authorization: M(() => [
|
|
5876
|
-
f("div",
|
|
5877
|
-
f("div",
|
|
5885
|
+
f("div", Oh, [
|
|
5886
|
+
f("div", Fh, [
|
|
5878
5887
|
F(s, { href: a.openIdAuthorizationDocs }, {
|
|
5879
5888
|
default: M(() => t[5] || (t[5] = [
|
|
5880
5889
|
f("span", { class: "section-header" }, "Authorization Configuration Settings", -1)
|
|
@@ -5891,15 +5900,15 @@ function Rh(e, t, n, i, a, o) {
|
|
|
5891
5900
|
onModelUpdated: n.onModelUpdated
|
|
5892
5901
|
}, {
|
|
5893
5902
|
"autofill-provider": M((y) => [
|
|
5894
|
-
Oe(e.$slots, "autofill-provider",
|
|
5903
|
+
Oe(e.$slots, "autofill-provider", Bo(zo(y)), void 0, !0)
|
|
5895
5904
|
]),
|
|
5896
5905
|
_: 3
|
|
5897
5906
|
}, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0)
|
|
5898
5907
|
])
|
|
5899
5908
|
]),
|
|
5900
5909
|
advanced: M(() => [
|
|
5901
|
-
f("div",
|
|
5902
|
-
f("div",
|
|
5910
|
+
f("div", kh, [
|
|
5911
|
+
f("div", Rh, [
|
|
5903
5912
|
F(s, { href: a.openIdConnectLink }, {
|
|
5904
5913
|
default: M(() => t[7] || (t[7] = [
|
|
5905
5914
|
f("span", { class: "section-header" }, "Advanced Configuration Settings", -1)
|
|
@@ -5925,7 +5934,7 @@ function Rh(e, t, n, i, a, o) {
|
|
|
5925
5934
|
}, 8, ["tabs"])
|
|
5926
5935
|
]);
|
|
5927
5936
|
}
|
|
5928
|
-
const
|
|
5937
|
+
const Nh = /* @__PURE__ */ W(Mh, [["render", Uh], ["__scopeId", "data-v-741bf3cb"]]), Lh = /* @__PURE__ */ he({
|
|
5929
5938
|
__name: "PostFunction",
|
|
5930
5939
|
props: {
|
|
5931
5940
|
formModel: {
|
|
@@ -5968,7 +5977,7 @@ const Uh = /* @__PURE__ */ W(Eh, [["render", Rh], ["__scopeId", "data-v-741bf3cb
|
|
|
5968
5977
|
onModelUpdated: e.onModelUpdated
|
|
5969
5978
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0);
|
|
5970
5979
|
}
|
|
5971
|
-
}),
|
|
5980
|
+
}), Ph = /* @__PURE__ */ W(Lh, [["__scopeId", "data-v-f54f37ae"]]), Dh = /* @__PURE__ */ he({
|
|
5972
5981
|
__name: "ExitTransformer",
|
|
5973
5982
|
props: {
|
|
5974
5983
|
formModel: {
|
|
@@ -6011,7 +6020,7 @@ const Uh = /* @__PURE__ */ W(Eh, [["render", Rh], ["__scopeId", "data-v-741bf3cb
|
|
|
6011
6020
|
onModelUpdated: e.onModelUpdated
|
|
6012
6021
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0);
|
|
6013
6022
|
}
|
|
6014
|
-
}),
|
|
6023
|
+
}), $h = /* @__PURE__ */ W(Dh, [["__scopeId", "data-v-0d5c541f"]]), Vh = {
|
|
6015
6024
|
fields: [
|
|
6016
6025
|
{
|
|
6017
6026
|
inputType: "text",
|
|
@@ -6046,7 +6055,7 @@ const Uh = /* @__PURE__ */ W(Eh, [["render", Rh], ["__scopeId", "data-v-741bf3cb
|
|
|
6046
6055
|
disabled: !1
|
|
6047
6056
|
}
|
|
6048
6057
|
]
|
|
6049
|
-
},
|
|
6058
|
+
}, jh = {
|
|
6050
6059
|
fields: [
|
|
6051
6060
|
{
|
|
6052
6061
|
type: "input",
|
|
@@ -6068,7 +6077,7 @@ const Uh = /* @__PURE__ */ W(Eh, [["render", Rh], ["__scopeId", "data-v-741bf3cb
|
|
|
6068
6077
|
disabled: !1
|
|
6069
6078
|
}
|
|
6070
6079
|
]
|
|
6071
|
-
},
|
|
6080
|
+
}, qh = {
|
|
6072
6081
|
fields: [
|
|
6073
6082
|
{
|
|
6074
6083
|
type: "input",
|
|
@@ -6099,7 +6108,7 @@ const Uh = /* @__PURE__ */ W(Eh, [["render", Rh], ["__scopeId", "data-v-741bf3cb
|
|
|
6099
6108
|
disabled: !1
|
|
6100
6109
|
}
|
|
6101
6110
|
]
|
|
6102
|
-
},
|
|
6111
|
+
}, Kh = { class: "general-settings" }, Bh = { class: "sub-form" }, zh = { class: "general-settings" }, xh = { class: "sub-form" }, Hh = { class: "general-settings" }, Yh = /* @__PURE__ */ he({
|
|
6103
6112
|
__name: "ACMEForm",
|
|
6104
6113
|
props: {
|
|
6105
6114
|
formModel: {
|
|
@@ -6136,7 +6145,7 @@ const Uh = /* @__PURE__ */ W(Eh, [["render", Rh], ["__scopeId", "data-v-741bf3cb
|
|
|
6136
6145
|
return w;
|
|
6137
6146
|
}), o = z(() => {
|
|
6138
6147
|
var b;
|
|
6139
|
-
const w = We(
|
|
6148
|
+
const w = We(Vh);
|
|
6140
6149
|
for (const q of w.fields) {
|
|
6141
6150
|
const Z = (b = a.value[q.model]) == null ? void 0 : b.help;
|
|
6142
6151
|
q.help === void 0 && typeof Z == "string" && (q.help = Z);
|
|
@@ -6144,7 +6153,7 @@ const Uh = /* @__PURE__ */ W(Eh, [["render", Rh], ["__scopeId", "data-v-741bf3cb
|
|
|
6144
6153
|
return w;
|
|
6145
6154
|
}), r = z(() => {
|
|
6146
6155
|
var b;
|
|
6147
|
-
const w = We(
|
|
6156
|
+
const w = We(jh);
|
|
6148
6157
|
for (const q of w.fields) {
|
|
6149
6158
|
const Z = (b = a.value[q.model]) == null ? void 0 : b.help;
|
|
6150
6159
|
q.help === void 0 && typeof Z == "string" && (q.help = Z);
|
|
@@ -6152,7 +6161,7 @@ const Uh = /* @__PURE__ */ W(Eh, [["render", Rh], ["__scopeId", "data-v-741bf3cb
|
|
|
6152
6161
|
return w;
|
|
6153
6162
|
}), s = z(() => {
|
|
6154
6163
|
var b;
|
|
6155
|
-
const w = We(
|
|
6164
|
+
const w = We(qh);
|
|
6156
6165
|
for (const q of w.fields) {
|
|
6157
6166
|
const Z = (b = a.value[q.model]) == null ? void 0 : b.help;
|
|
6158
6167
|
q.help === void 0 && typeof Z == "string" && (q.help = Z);
|
|
@@ -6225,7 +6234,7 @@ const Uh = /* @__PURE__ */ W(Eh, [["render", Rh], ["__scopeId", "data-v-741bf3cb
|
|
|
6225
6234
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
|
|
6226
6235
|
F(Z, { tabs: O }, {
|
|
6227
6236
|
general: M(() => [
|
|
6228
|
-
f("div",
|
|
6237
|
+
f("div", Kh, [
|
|
6229
6238
|
b[0] || (b[0] = f("div", { class: "header-wrapper" }, [
|
|
6230
6239
|
f("span", { class: "section-header" }, "General Configuration Settings")
|
|
6231
6240
|
], -1)),
|
|
@@ -6244,7 +6253,7 @@ const Uh = /* @__PURE__ */ W(Eh, [["render", Rh], ["__scopeId", "data-v-741bf3cb
|
|
|
6244
6253
|
label: "Issuer",
|
|
6245
6254
|
onChange: m
|
|
6246
6255
|
}),
|
|
6247
|
-
f("div",
|
|
6256
|
+
f("div", Bh, [
|
|
6248
6257
|
n.value === "letsEncrypt" ? (c(), U(ue, {
|
|
6249
6258
|
key: 0,
|
|
6250
6259
|
model: e.formModel,
|
|
@@ -6263,7 +6272,7 @@ const Uh = /* @__PURE__ */ W(Eh, [["render", Rh], ["__scopeId", "data-v-741bf3cb
|
|
|
6263
6272
|
])
|
|
6264
6273
|
]),
|
|
6265
6274
|
storage: M(() => [
|
|
6266
|
-
f("div",
|
|
6275
|
+
f("div", zh, [
|
|
6267
6276
|
b[3] || (b[3] = f("div", { class: "header-wrapper" }, [
|
|
6268
6277
|
f("span", { class: "section-header" }, "Storage Configuration Settings")
|
|
6269
6278
|
], -1)),
|
|
@@ -6275,7 +6284,7 @@ const Uh = /* @__PURE__ */ W(Eh, [["render", Rh], ["__scopeId", "data-v-741bf3cb
|
|
|
6275
6284
|
schema: g.value,
|
|
6276
6285
|
onModelUpdated: _
|
|
6277
6286
|
}, null, 8, ["model", "options", "schema"])) : B("", !0),
|
|
6278
|
-
f("div",
|
|
6287
|
+
f("div", xh, [
|
|
6279
6288
|
i.value === "consul" ? (c(), U(ue, {
|
|
6280
6289
|
key: 0,
|
|
6281
6290
|
model: e.formModel,
|
|
@@ -6308,7 +6317,7 @@ const Uh = /* @__PURE__ */ W(Eh, [["render", Rh], ["__scopeId", "data-v-741bf3cb
|
|
|
6308
6317
|
])
|
|
6309
6318
|
]),
|
|
6310
6319
|
advanced: M(() => [
|
|
6311
|
-
f("div",
|
|
6320
|
+
f("div", Hh, [
|
|
6312
6321
|
b[5] || (b[5] = f("div", { class: "header-wrapper" }, [
|
|
6313
6322
|
f("span", { class: "section-header" }, "Advanced Configuration Settings")
|
|
6314
6323
|
], -1)),
|
|
@@ -6327,13 +6336,13 @@ const Uh = /* @__PURE__ */ W(Eh, [["render", Rh], ["__scopeId", "data-v-741bf3cb
|
|
|
6327
6336
|
]);
|
|
6328
6337
|
};
|
|
6329
6338
|
}
|
|
6330
|
-
}),
|
|
6339
|
+
}), Gh = /* @__PURE__ */ W(Yh, [["__scopeId", "data-v-07cecf5b"]]), Wh = { class: "rla-form-basic-fields" }, Zh = { class: "rla-form-request-limits-subtitle" }, Xh = { class: "rla-form-request-limits-content" }, Jh = { class: "rla-form-window-type" }, Qh = ["innerHTML"], ep = { class: "rla-form-window-type-radios" }, tp = { class: "rla-form-request-limits-items" }, np = { class: "rla-form-request-limits-row" }, ip = ["id"], ap = { class: "rla-form-request-limits-actions" }, op = {
|
|
6331
6340
|
key: 0,
|
|
6332
6341
|
class: "rla-form-request-limits-examples"
|
|
6333
|
-
},
|
|
6342
|
+
}, rp = { class: "rla-form-request-limits-examples-badges" }, sp = ["innerHTML"], lp = {
|
|
6334
6343
|
id: "rla-form-error-legend",
|
|
6335
6344
|
class: "rla-form-error-inputs"
|
|
6336
|
-
},
|
|
6345
|
+
}, dp = /* @__PURE__ */ he({
|
|
6337
6346
|
__name: "RLAForm",
|
|
6338
6347
|
props: {
|
|
6339
6348
|
formSchema: {},
|
|
@@ -6519,7 +6528,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6519
6528
|
}), (E, S) => {
|
|
6520
6529
|
const V = P("KLabel"), K = P("KRadio"), H = P("KInput"), ge = P("KButton"), Ke = P("KBadge"), fe = P("KTooltip"), Be = P("KCard"), Tn = P("KSelect"), Ht = P("KCollapse");
|
|
6521
6530
|
return c(), v(Y, null, [
|
|
6522
|
-
f("div",
|
|
6531
|
+
f("div", Wh, [
|
|
6523
6532
|
F(ue, {
|
|
6524
6533
|
model: E.formModel,
|
|
6525
6534
|
options: E.formOptions,
|
|
@@ -6538,11 +6547,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6538
6547
|
]),
|
|
6539
6548
|
_: 1
|
|
6540
6549
|
}),
|
|
6541
|
-
f("div",
|
|
6550
|
+
f("div", Zh, N(I(a)("rla.request_limits.subtitle")), 1)
|
|
6542
6551
|
]),
|
|
6543
6552
|
default: M(() => [
|
|
6544
|
-
f("div",
|
|
6545
|
-
f("div",
|
|
6553
|
+
f("div", Xh, [
|
|
6554
|
+
f("div", Jh, [
|
|
6546
6555
|
F(V, {
|
|
6547
6556
|
class: "rla-form-window-type-label",
|
|
6548
6557
|
"tooltip-attributes": {
|
|
@@ -6553,14 +6562,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6553
6562
|
tooltip: M(() => [
|
|
6554
6563
|
f("div", {
|
|
6555
6564
|
innerHTML: I(a)("rla.window_type.help")
|
|
6556
|
-
}, null, 8,
|
|
6565
|
+
}, null, 8, Qh)
|
|
6557
6566
|
]),
|
|
6558
6567
|
default: M(() => [
|
|
6559
6568
|
ce(N(I(a)("rla.window_type.label")) + " ", 1)
|
|
6560
6569
|
]),
|
|
6561
6570
|
_: 1
|
|
6562
6571
|
}),
|
|
6563
|
-
f("div",
|
|
6572
|
+
f("div", ep, [
|
|
6564
6573
|
(c(!0), v(Y, null, oe(j.value, ($) => (c(), U(K, {
|
|
6565
6574
|
key: `window-type-${$}`,
|
|
6566
6575
|
"model-value": k.value,
|
|
@@ -6575,7 +6584,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6575
6584
|
}, 1032, ["model-value", "name", "selected-value"]))), 128))
|
|
6576
6585
|
])
|
|
6577
6586
|
]),
|
|
6578
|
-
f("div",
|
|
6587
|
+
f("div", tp, [
|
|
6579
6588
|
(c(!0), v(Y, null, oe(p.value, ($, ne) => (c(), v("div", {
|
|
6580
6589
|
key: ne.toString()
|
|
6581
6590
|
}, [
|
|
@@ -6587,7 +6596,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6587
6596
|
]),
|
|
6588
6597
|
_: 2
|
|
6589
6598
|
}, 1032, ["for"]),
|
|
6590
|
-
f("div",
|
|
6599
|
+
f("div", np, [
|
|
6591
6600
|
f("legend", {
|
|
6592
6601
|
id: `rla-form-request-limits-item-${ne}-legend`,
|
|
6593
6602
|
class: "rla-form-request-limits-inputs"
|
|
@@ -6606,15 +6615,15 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6606
6615
|
"onUpdate:modelValue": (re) => w(ne, Number.parseInt(re))
|
|
6607
6616
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
6608
6617
|
f("div", null, N(I(a)("rla.request_limits.seconds")), 1)
|
|
6609
|
-
], 8,
|
|
6610
|
-
f("div",
|
|
6618
|
+
], 8, ip),
|
|
6619
|
+
f("div", ap, [
|
|
6611
6620
|
F(ge, {
|
|
6612
6621
|
appearance: "tertiary",
|
|
6613
6622
|
disabled: p.value.length <= 1,
|
|
6614
6623
|
onClick: () => q(ne)
|
|
6615
6624
|
}, {
|
|
6616
6625
|
default: M(() => [
|
|
6617
|
-
F(I(
|
|
6626
|
+
F(I(Ho))
|
|
6618
6627
|
]),
|
|
6619
6628
|
_: 2
|
|
6620
6629
|
}, 1032, ["disabled", "onClick"]),
|
|
@@ -6631,9 +6640,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6631
6640
|
])
|
|
6632
6641
|
]))), 128))
|
|
6633
6642
|
]),
|
|
6634
|
-
d.value.length > 0 ? (c(), v("div",
|
|
6643
|
+
d.value.length > 0 ? (c(), v("div", op, [
|
|
6635
6644
|
f("div", null, N(I(a)("rla.start_with_a_use_case")), 1),
|
|
6636
|
-
f("div",
|
|
6645
|
+
f("div", rp, [
|
|
6637
6646
|
(c(!0), v(Y, null, oe(d.value, ($, ne) => (c(), U(fe, {
|
|
6638
6647
|
key: `use-case-${ne}`,
|
|
6639
6648
|
"max-width": "300"
|
|
@@ -6682,7 +6691,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6682
6691
|
"label-tooltip": M(() => [
|
|
6683
6692
|
f("div", {
|
|
6684
6693
|
innerHTML: u.value && u.value.help
|
|
6685
|
-
}, null, 8,
|
|
6694
|
+
}, null, 8, sp)
|
|
6686
6695
|
]),
|
|
6687
6696
|
_: 1
|
|
6688
6697
|
}, 8, ["modelValue", "items", "label"]),
|
|
@@ -6701,7 +6710,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6701
6710
|
]),
|
|
6702
6711
|
_: 1
|
|
6703
6712
|
}, 8, ["info"]),
|
|
6704
|
-
f("legend",
|
|
6713
|
+
f("legend", lp, [
|
|
6705
6714
|
F(H, {
|
|
6706
6715
|
class: "input-error-code",
|
|
6707
6716
|
"model-value": O.value && O.value.toString(),
|
|
@@ -6762,20 +6771,20 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6762
6771
|
], 64);
|
|
6763
6772
|
};
|
|
6764
6773
|
}
|
|
6765
|
-
}),
|
|
6774
|
+
}), up = /* @__PURE__ */ W(dp, [["__scopeId", "data-v-f6dcb65c"]]), yp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6766
6775
|
__proto__: null,
|
|
6767
|
-
ACMEForm:
|
|
6768
|
-
ExitTransformer:
|
|
6769
|
-
OIDCForm:
|
|
6770
|
-
PostFunction:
|
|
6771
|
-
RLAForm:
|
|
6772
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6776
|
+
ACMEForm: Gh,
|
|
6777
|
+
ExitTransformer: $h,
|
|
6778
|
+
OIDCForm: Nh,
|
|
6779
|
+
PostFunction: Ph,
|
|
6780
|
+
RLAForm: up
|
|
6781
|
+
}, Symbol.toStringTag, { value: "Module" })), vp = [
|
|
6773
6782
|
"array",
|
|
6774
6783
|
"metric",
|
|
6775
6784
|
"advanced",
|
|
6776
6785
|
"selectionGroup",
|
|
6777
6786
|
"object-advanced"
|
|
6778
|
-
],
|
|
6787
|
+
], bp = (e) => ({
|
|
6779
6788
|
"openid-connect": "OIDCForm",
|
|
6780
6789
|
"post-function": "PostFunction",
|
|
6781
6790
|
// Pre and Post function plugins are using same component
|
|
@@ -6788,14 +6797,14 @@ export {
|
|
|
6788
6797
|
Mt as AUTOFILL_SLOT_NAME,
|
|
6789
6798
|
je as FIELD_STATES,
|
|
6790
6799
|
Te as FORMS_API_KEY,
|
|
6791
|
-
|
|
6800
|
+
il as FORMS_CONFIG,
|
|
6792
6801
|
un as PartialType,
|
|
6793
|
-
|
|
6794
|
-
|
|
6802
|
+
al as REDIS_PARTIAL_FETCHER_KEY,
|
|
6803
|
+
pp as REDIS_PARTIAL_INFO,
|
|
6795
6804
|
ue as VueFormGenerator,
|
|
6796
|
-
|
|
6805
|
+
gp as abstractField,
|
|
6797
6806
|
qe as composables,
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6807
|
+
vp as customFields,
|
|
6808
|
+
bp as getSharedFormName,
|
|
6809
|
+
yp as sharedForms
|
|
6801
6810
|
};
|