@kong-ui-public/forms 4.17.6-pr.2490.bfa434ca6.0 → 4.17.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/forms.es.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { createElementBlock as _, openBlock as c, createElementVNode as m, toDisplayString as
|
|
1
|
+
import { createElementBlock as _, openBlock as c, createElementVNode as m, toDisplayString as N, normalizeClass as ee, createVNode as O, defineComponent as he, provide as zt, resolveComponent as D, 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, onMounted as Xn, watch as mn, computed as z, toRefs as ut, inject as an, onBeforeMount as Jn, 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, normalizeProps as Bo, guardReactiveProps as zo, useSlots as fn, 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 { isAxiosError as
|
|
5
|
-
import { useStringHelpers as
|
|
6
|
-
function
|
|
3
|
+
import { TrashIcon as xt, SearchIcon as xo, AddIcon as Qn, RemoveIcon as Ho } from "@kong/icons";
|
|
4
|
+
import { isAxiosError as Yo } from "axios";
|
|
5
|
+
import { useStringHelpers as Go, useErrors as Wo, useDebouncedFilter as Zo, useAxios as Xo } from "@kong-ui-public/entities-shared";
|
|
6
|
+
function Ca(e, t) {
|
|
7
7
|
for (var n = -1, i = e == null ? 0 : e.length; ++n < i && t(e[n], n, e) !== !1; )
|
|
8
8
|
;
|
|
9
9
|
return e;
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function Jo(e) {
|
|
12
12
|
return function(t, n, i) {
|
|
13
13
|
for (var a = -1, o = Object(t), s = i(t), r = s.length; r--; ) {
|
|
14
14
|
var d = s[++a];
|
|
@@ -18,123 +18,123 @@ function Qo(e) {
|
|
|
18
18
|
return t;
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
var
|
|
22
|
-
function
|
|
21
|
+
var Qo = Jo();
|
|
22
|
+
function er(e, t) {
|
|
23
23
|
for (var n = -1, i = Array(e); ++n < e; )
|
|
24
24
|
i[n] = t(n);
|
|
25
25
|
return i;
|
|
26
26
|
}
|
|
27
|
-
var
|
|
28
|
-
function
|
|
29
|
-
var t =
|
|
27
|
+
var Oa = typeof global == "object" && global && global.Object === Object && global, tr = typeof self == "object" && self && self.Object === Object && self, Pe = Oa || tr || Function("return this")(), tt = Pe.Symbol, Fa = Object.prototype, nr = Fa.hasOwnProperty, ir = Fa.toString, kt = tt ? tt.toStringTag : void 0;
|
|
28
|
+
function ar(e) {
|
|
29
|
+
var t = nr.call(e, kt), n = e[kt];
|
|
30
30
|
try {
|
|
31
31
|
e[kt] = void 0;
|
|
32
32
|
var i = !0;
|
|
33
33
|
} catch {
|
|
34
34
|
}
|
|
35
|
-
var a =
|
|
35
|
+
var a = ir.call(e);
|
|
36
36
|
return i && (t ? e[kt] = n : delete e[kt]), a;
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
function
|
|
40
|
-
return
|
|
38
|
+
var or = Object.prototype, rr = or.toString;
|
|
39
|
+
function sr(e) {
|
|
40
|
+
return rr.call(e);
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var lr = "[object Null]", dr = "[object Undefined]", ki = tt ? tt.toStringTag : void 0;
|
|
43
43
|
function nt(e) {
|
|
44
|
-
return e == null ? e === void 0 ?
|
|
44
|
+
return e == null ? e === void 0 ? dr : lr : ki && ki in Object(e) ? ar(e) : sr(e);
|
|
45
45
|
}
|
|
46
46
|
function it(e) {
|
|
47
47
|
return e != null && typeof e == "object";
|
|
48
48
|
}
|
|
49
|
-
var
|
|
49
|
+
var ur = "[object Arguments]";
|
|
50
50
|
function Ri(e) {
|
|
51
|
-
return it(e) && nt(e) ==
|
|
51
|
+
return it(e) && nt(e) == ur;
|
|
52
52
|
}
|
|
53
|
-
var
|
|
53
|
+
var ka = Object.prototype, cr = ka.hasOwnProperty, mr = ka.propertyIsEnumerable, fr = Ri(/* @__PURE__ */ function() {
|
|
54
54
|
return arguments;
|
|
55
55
|
}()) ? Ri : function(e) {
|
|
56
|
-
return it(e) &&
|
|
56
|
+
return it(e) && cr.call(e, "callee") && !mr.call(e, "callee");
|
|
57
57
|
}, at = Array.isArray;
|
|
58
|
-
function
|
|
58
|
+
function hr() {
|
|
59
59
|
return !1;
|
|
60
60
|
}
|
|
61
|
-
var
|
|
61
|
+
var Ra = typeof exports == "object" && exports && !exports.nodeType && exports, Ui = Ra && typeof module == "object" && module && !module.nodeType && module, pr = Ui && Ui.exports === Ra, Ni = pr ? Pe.Buffer : void 0, gr = Ni ? Ni.isBuffer : void 0, Ua = gr || hr, yr = 9007199254740991, vr = /^(?:0|[1-9]\d*)$/;
|
|
62
62
|
function Na(e, t) {
|
|
63
63
|
var n = typeof e;
|
|
64
|
-
return t = t ??
|
|
64
|
+
return t = t ?? yr, !!t && (n == "number" || n != "symbol" && vr.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
function
|
|
68
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
66
|
+
var br = 9007199254740991;
|
|
67
|
+
function La(e) {
|
|
68
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= br;
|
|
69
69
|
}
|
|
70
|
-
var
|
|
71
|
-
Q[Pr] = Q[Dr] = Q[$r] = Q[Vr] = Q[jr] = Q[qr] = Q[Kr] = Q[Br] =
|
|
72
|
-
Q[
|
|
73
|
-
function
|
|
74
|
-
return it(e) &&
|
|
70
|
+
var _r = "[object Arguments]", Tr = "[object Array]", Sr = "[object Boolean]", wr = "[object Date]", Er = "[object Error]", Mr = "[object Function]", Ar = "[object Map]", Ir = "[object Number]", Cr = "[object Object]", Or = "[object RegExp]", Fr = "[object Set]", kr = "[object String]", Rr = "[object WeakMap]", Ur = "[object ArrayBuffer]", Nr = "[object DataView]", Lr = "[object Float32Array]", Pr = "[object Float64Array]", Dr = "[object Int8Array]", $r = "[object Int16Array]", Vr = "[object Int32Array]", jr = "[object Uint8Array]", qr = "[object Uint8ClampedArray]", Kr = "[object Uint16Array]", Br = "[object Uint32Array]", Q = {};
|
|
71
|
+
Q[Lr] = Q[Pr] = Q[Dr] = Q[$r] = Q[Vr] = Q[jr] = Q[qr] = Q[Kr] = Q[Br] = !0;
|
|
72
|
+
Q[_r] = Q[Tr] = Q[Ur] = Q[Sr] = Q[Nr] = Q[wr] = Q[Er] = Q[Mr] = Q[Ar] = Q[Ir] = Q[Cr] = Q[Or] = Q[Fr] = Q[kr] = Q[Rr] = !1;
|
|
73
|
+
function zr(e) {
|
|
74
|
+
return it(e) && La(e.length) && !!Q[nt(e)];
|
|
75
75
|
}
|
|
76
76
|
function ei(e) {
|
|
77
77
|
return function(t) {
|
|
78
78
|
return e(t);
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
-
var
|
|
81
|
+
var Pa = typeof exports == "object" && exports && !exports.nodeType && exports, Vt = Pa && typeof module == "object" && module && !module.nodeType && module, xr = Vt && Vt.exports === Pa, Nn = xr && Oa.process, St = function() {
|
|
82
82
|
try {
|
|
83
83
|
var e = Vt && Vt.require && Vt.require("util").types;
|
|
84
|
-
return e ||
|
|
84
|
+
return e || Nn && Nn.binding && Nn.binding("util");
|
|
85
85
|
} catch {
|
|
86
86
|
}
|
|
87
|
-
}(),
|
|
88
|
-
function
|
|
89
|
-
var n = at(e), i = !n &&
|
|
87
|
+
}(), Li = St && St.isTypedArray, Hr = Li ? ei(Li) : zr, Yr = Object.prototype, Gr = Yr.hasOwnProperty;
|
|
88
|
+
function Da(e, t) {
|
|
89
|
+
var n = at(e), i = !n && fr(e), a = !n && !i && Ua(e), o = !n && !i && !a && Hr(e), s = n || i || a || o, r = s ? er(e.length, String) : [], d = r.length;
|
|
90
90
|
for (var u in e)
|
|
91
|
-
(t ||
|
|
91
|
+
(t || Gr.call(e, u)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
92
92
|
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
93
93
|
a && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
94
94
|
o && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
|
|
95
95
|
Na(u, d))) && r.push(u);
|
|
96
96
|
return r;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Wr = Object.prototype;
|
|
99
99
|
function ti(e) {
|
|
100
|
-
var t = e && e.constructor, n = typeof t == "function" && t.prototype ||
|
|
100
|
+
var t = e && e.constructor, n = typeof t == "function" && t.prototype || Wr;
|
|
101
101
|
return e === n;
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function $a(e, t) {
|
|
104
104
|
return function(n) {
|
|
105
105
|
return e(t(n));
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
|
-
var
|
|
109
|
-
function
|
|
108
|
+
var Zr = $a(Object.keys, Object), Xr = Object.prototype, Jr = Xr.hasOwnProperty;
|
|
109
|
+
function Qr(e) {
|
|
110
110
|
if (!ti(e))
|
|
111
|
-
return
|
|
111
|
+
return Zr(e);
|
|
112
112
|
var t = [];
|
|
113
113
|
for (var n in Object(e))
|
|
114
|
-
|
|
114
|
+
Jr.call(e, n) && n != "constructor" && t.push(n);
|
|
115
115
|
return t;
|
|
116
116
|
}
|
|
117
117
|
function Fe(e) {
|
|
118
118
|
var t = typeof e;
|
|
119
119
|
return e != null && (t == "object" || t == "function");
|
|
120
120
|
}
|
|
121
|
-
var
|
|
121
|
+
var es = "[object AsyncFunction]", ts = "[object Function]", ns = "[object GeneratorFunction]", is = "[object Proxy]";
|
|
122
122
|
function X(e) {
|
|
123
123
|
if (!Fe(e))
|
|
124
124
|
return !1;
|
|
125
125
|
var t = nt(e);
|
|
126
|
-
return t ==
|
|
126
|
+
return t == ts || t == ns || t == es || t == is;
|
|
127
127
|
}
|
|
128
128
|
function hn(e) {
|
|
129
|
-
return e != null &&
|
|
129
|
+
return e != null && La(e.length) && !X(e);
|
|
130
130
|
}
|
|
131
131
|
function pn(e) {
|
|
132
|
-
return hn(e) ?
|
|
132
|
+
return hn(e) ? Da(e) : Qr(e);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
return e &&
|
|
134
|
+
function as(e, t) {
|
|
135
|
+
return e && Qo(e, t, pn);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function os(e, t) {
|
|
138
138
|
return function(n, i) {
|
|
139
139
|
if (n == null)
|
|
140
140
|
return n;
|
|
@@ -145,40 +145,40 @@ function rs(e, t) {
|
|
|
145
145
|
return n;
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
|
-
var
|
|
148
|
+
var rs = os(as);
|
|
149
149
|
function ni(e) {
|
|
150
150
|
return e;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function ss(e) {
|
|
153
153
|
return typeof e == "function" ? e : ni;
|
|
154
154
|
}
|
|
155
155
|
function we(e, t) {
|
|
156
|
-
var n = at(e) ?
|
|
157
|
-
return n(e,
|
|
156
|
+
var n = at(e) ? Ca : rs;
|
|
157
|
+
return n(e, ss(t));
|
|
158
158
|
}
|
|
159
|
-
var
|
|
159
|
+
var ls = "[object Symbol]";
|
|
160
160
|
function gn(e) {
|
|
161
|
-
return typeof e == "symbol" || it(e) && nt(e) ==
|
|
161
|
+
return typeof e == "symbol" || it(e) && nt(e) == ls;
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
function
|
|
163
|
+
var ds = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, us = /^\w*$/;
|
|
164
|
+
function cs(e, t) {
|
|
165
165
|
if (at(e))
|
|
166
166
|
return !1;
|
|
167
167
|
var n = typeof e;
|
|
168
|
-
return n == "number" || n == "symbol" || n == "boolean" || e == null || gn(e) ? !0 :
|
|
168
|
+
return n == "number" || n == "symbol" || n == "boolean" || e == null || gn(e) ? !0 : us.test(e) || !ds.test(e) || t != null && e in Object(t);
|
|
169
169
|
}
|
|
170
|
-
var
|
|
171
|
-
var e = /[^.]+$/.exec(
|
|
170
|
+
var Ln = Pe["__core-js_shared__"], Pi = function() {
|
|
171
|
+
var e = /[^.]+$/.exec(Ln && Ln.keys && Ln.keys.IE_PROTO || "");
|
|
172
172
|
return e ? "Symbol(src)_1." + e : "";
|
|
173
173
|
}();
|
|
174
|
-
function
|
|
174
|
+
function ms(e) {
|
|
175
175
|
return !!Pi && Pi in e;
|
|
176
176
|
}
|
|
177
|
-
var
|
|
177
|
+
var fs = Function.prototype, hs = fs.toString;
|
|
178
178
|
function ct(e) {
|
|
179
179
|
if (e != null) {
|
|
180
180
|
try {
|
|
181
|
-
return
|
|
181
|
+
return hs.call(e);
|
|
182
182
|
} catch {
|
|
183
183
|
}
|
|
184
184
|
try {
|
|
@@ -188,48 +188,48 @@ function ct(e) {
|
|
|
188
188
|
}
|
|
189
189
|
return "";
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
"^" +
|
|
191
|
+
var ps = /[\\^$.*+?()[\]{}|]/g, gs = /^\[object .+?Constructor\]$/, ys = Function.prototype, vs = Object.prototype, bs = ys.toString, _s = vs.hasOwnProperty, Ts = RegExp(
|
|
192
|
+
"^" + bs.call(_s).replace(ps, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
193
193
|
);
|
|
194
|
-
function
|
|
195
|
-
if (!Fe(e) ||
|
|
194
|
+
function Ss(e) {
|
|
195
|
+
if (!Fe(e) || ms(e))
|
|
196
196
|
return !1;
|
|
197
|
-
var t = X(e) ?
|
|
197
|
+
var t = X(e) ? Ts : gs;
|
|
198
198
|
return t.test(ct(e));
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function ws(e, t) {
|
|
201
201
|
return e == null ? void 0 : e[t];
|
|
202
202
|
}
|
|
203
203
|
function mt(e, t) {
|
|
204
|
-
var n =
|
|
205
|
-
return
|
|
204
|
+
var n = ws(e, t);
|
|
205
|
+
return Ss(n) ? n : void 0;
|
|
206
206
|
}
|
|
207
207
|
var Kt = mt(Object, "create");
|
|
208
|
-
function
|
|
208
|
+
function Es() {
|
|
209
209
|
this.__data__ = Kt ? Kt(null) : {}, this.size = 0;
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function Ms(e) {
|
|
212
212
|
var t = this.has(e) && delete this.__data__[e];
|
|
213
213
|
return this.size -= t ? 1 : 0, t;
|
|
214
214
|
}
|
|
215
|
-
var
|
|
216
|
-
function
|
|
215
|
+
var As = "__lodash_hash_undefined__", Is = Object.prototype, Cs = Is.hasOwnProperty;
|
|
216
|
+
function Os(e) {
|
|
217
217
|
var t = this.__data__;
|
|
218
218
|
if (Kt) {
|
|
219
219
|
var n = t[e];
|
|
220
|
-
return n ===
|
|
220
|
+
return n === As ? void 0 : n;
|
|
221
221
|
}
|
|
222
|
-
return
|
|
222
|
+
return Cs.call(t, e) ? t[e] : void 0;
|
|
223
223
|
}
|
|
224
|
-
var
|
|
225
|
-
function
|
|
224
|
+
var Fs = Object.prototype, ks = Fs.hasOwnProperty;
|
|
225
|
+
function Rs(e) {
|
|
226
226
|
var t = this.__data__;
|
|
227
|
-
return Kt ? t[e] !== void 0 :
|
|
227
|
+
return Kt ? t[e] !== void 0 : ks.call(t, e);
|
|
228
228
|
}
|
|
229
|
-
var
|
|
229
|
+
var Us = "__lodash_hash_undefined__";
|
|
230
230
|
function Ns(e, t) {
|
|
231
231
|
var n = this.__data__;
|
|
232
|
-
return this.size += this.has(e) ? 0 : 1, n[e] = Kt && t === void 0 ?
|
|
232
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = Kt && t === void 0 ? Us : t, this;
|
|
233
233
|
}
|
|
234
234
|
function rt(e) {
|
|
235
235
|
var t = -1, n = e == null ? 0 : e.length;
|
|
@@ -238,12 +238,12 @@ function rt(e) {
|
|
|
238
238
|
this.set(i[0], i[1]);
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
|
-
rt.prototype.clear =
|
|
242
|
-
rt.prototype.delete =
|
|
243
|
-
rt.prototype.get =
|
|
244
|
-
rt.prototype.has =
|
|
241
|
+
rt.prototype.clear = Es;
|
|
242
|
+
rt.prototype.delete = Ms;
|
|
243
|
+
rt.prototype.get = Os;
|
|
244
|
+
rt.prototype.has = Rs;
|
|
245
245
|
rt.prototype.set = Ns;
|
|
246
|
-
function
|
|
246
|
+
function Ls() {
|
|
247
247
|
this.__data__ = [], this.size = 0;
|
|
248
248
|
}
|
|
249
249
|
function yn(e, t) {
|
|
@@ -255,22 +255,22 @@ function vn(e, t) {
|
|
|
255
255
|
return n;
|
|
256
256
|
return -1;
|
|
257
257
|
}
|
|
258
|
-
var
|
|
259
|
-
function
|
|
258
|
+
var Ps = Array.prototype, Ds = Ps.splice;
|
|
259
|
+
function $s(e) {
|
|
260
260
|
var t = this.__data__, n = vn(t, e);
|
|
261
261
|
if (n < 0)
|
|
262
262
|
return !1;
|
|
263
263
|
var i = t.length - 1;
|
|
264
|
-
return n == i ? t.pop() :
|
|
264
|
+
return n == i ? t.pop() : Ds.call(t, n, 1), --this.size, !0;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function Vs(e) {
|
|
267
267
|
var t = this.__data__, n = vn(t, e);
|
|
268
268
|
return n < 0 ? void 0 : t[n][1];
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function js(e) {
|
|
271
271
|
return vn(this.__data__, e) > -1;
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function qs(e, t) {
|
|
274
274
|
var n = this.__data__, i = vn(n, e);
|
|
275
275
|
return i < 0 ? (++this.size, n.push([e, t])) : n[i][1] = t, this;
|
|
276
276
|
}
|
|
@@ -281,38 +281,38 @@ function Ze(e) {
|
|
|
281
281
|
this.set(i[0], i[1]);
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
|
-
Ze.prototype.clear =
|
|
285
|
-
Ze.prototype.delete =
|
|
286
|
-
Ze.prototype.get =
|
|
287
|
-
Ze.prototype.has =
|
|
288
|
-
Ze.prototype.set =
|
|
284
|
+
Ze.prototype.clear = Ls;
|
|
285
|
+
Ze.prototype.delete = $s;
|
|
286
|
+
Ze.prototype.get = Vs;
|
|
287
|
+
Ze.prototype.has = js;
|
|
288
|
+
Ze.prototype.set = qs;
|
|
289
289
|
var Bt = mt(Pe, "Map");
|
|
290
|
-
function
|
|
290
|
+
function Ks() {
|
|
291
291
|
this.size = 0, this.__data__ = {
|
|
292
292
|
hash: new rt(),
|
|
293
293
|
map: new (Bt || Ze)(),
|
|
294
294
|
string: new rt()
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function Bs(e) {
|
|
298
298
|
var t = typeof e;
|
|
299
299
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
300
300
|
}
|
|
301
301
|
function bn(e, t) {
|
|
302
302
|
var n = e.__data__;
|
|
303
|
-
return
|
|
303
|
+
return Bs(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function zs(e) {
|
|
306
306
|
var t = bn(this, e).delete(e);
|
|
307
307
|
return this.size -= t ? 1 : 0, t;
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function xs(e) {
|
|
310
310
|
return bn(this, e).get(e);
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function Hs(e) {
|
|
313
313
|
return bn(this, e).has(e);
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function Ys(e, t) {
|
|
316
316
|
var n = bn(this, e), i = n.size;
|
|
317
317
|
return n.set(e, t), this.size += n.size == i ? 0 : 1, this;
|
|
318
318
|
}
|
|
@@ -323,15 +323,15 @@ function Xe(e) {
|
|
|
323
323
|
this.set(i[0], i[1]);
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
Xe.prototype.clear =
|
|
327
|
-
Xe.prototype.delete =
|
|
328
|
-
Xe.prototype.get =
|
|
329
|
-
Xe.prototype.has =
|
|
330
|
-
Xe.prototype.set =
|
|
331
|
-
var
|
|
326
|
+
Xe.prototype.clear = Ks;
|
|
327
|
+
Xe.prototype.delete = zs;
|
|
328
|
+
Xe.prototype.get = xs;
|
|
329
|
+
Xe.prototype.has = Hs;
|
|
330
|
+
Xe.prototype.set = Ys;
|
|
331
|
+
var Gs = "Expected a function";
|
|
332
332
|
function ii(e, t) {
|
|
333
333
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
334
|
-
throw new TypeError(
|
|
334
|
+
throw new TypeError(Gs);
|
|
335
335
|
var n = function() {
|
|
336
336
|
var i = arguments, a = t ? t.apply(this, i) : i[0], o = n.cache;
|
|
337
337
|
if (o.has(a))
|
|
@@ -342,61 +342,61 @@ function ii(e, t) {
|
|
|
342
342
|
return n.cache = new (ii.Cache || Xe)(), n;
|
|
343
343
|
}
|
|
344
344
|
ii.Cache = Xe;
|
|
345
|
-
var
|
|
346
|
-
function
|
|
345
|
+
var Ws = 500;
|
|
346
|
+
function Zs(e) {
|
|
347
347
|
var t = ii(e, function(i) {
|
|
348
|
-
return n.size ===
|
|
348
|
+
return n.size === Ws && n.clear(), i;
|
|
349
349
|
}), n = t.cache;
|
|
350
350
|
return t;
|
|
351
351
|
}
|
|
352
|
-
var
|
|
352
|
+
var Xs = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Js = /\\(\\)?/g, Qs = Zs(function(e) {
|
|
353
353
|
var t = [];
|
|
354
|
-
return e.charCodeAt(0) === 46 && t.push(""), e.replace(
|
|
355
|
-
t.push(a ? o.replace(
|
|
354
|
+
return e.charCodeAt(0) === 46 && t.push(""), e.replace(Xs, function(n, i, a, o) {
|
|
355
|
+
t.push(a ? o.replace(Js, "$1") : i || n);
|
|
356
356
|
}), t;
|
|
357
357
|
});
|
|
358
|
-
function
|
|
358
|
+
function el(e, t) {
|
|
359
359
|
for (var n = -1, i = e == null ? 0 : e.length, a = Array(i); ++n < i; )
|
|
360
360
|
a[n] = t(e[n], n, e);
|
|
361
361
|
return a;
|
|
362
362
|
}
|
|
363
363
|
var Di = tt ? tt.prototype : void 0, $i = Di ? Di.toString : void 0;
|
|
364
|
-
function
|
|
364
|
+
function Va(e) {
|
|
365
365
|
if (typeof e == "string")
|
|
366
366
|
return e;
|
|
367
367
|
if (at(e))
|
|
368
|
-
return
|
|
368
|
+
return el(e, Va) + "";
|
|
369
369
|
if (gn(e))
|
|
370
370
|
return $i ? $i.call(e) : "";
|
|
371
371
|
var t = e + "";
|
|
372
372
|
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
375
|
-
return e == null ? "" :
|
|
374
|
+
function ja(e) {
|
|
375
|
+
return e == null ? "" : Va(e);
|
|
376
376
|
}
|
|
377
|
-
function
|
|
378
|
-
return at(e) ? e :
|
|
377
|
+
function tl(e, t) {
|
|
378
|
+
return at(e) ? e : cs(e, t) ? [e] : Qs(ja(e));
|
|
379
379
|
}
|
|
380
|
-
function
|
|
380
|
+
function nl(e) {
|
|
381
381
|
if (typeof e == "string" || gn(e))
|
|
382
382
|
return e;
|
|
383
383
|
var t = e + "";
|
|
384
384
|
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
387
|
-
t =
|
|
386
|
+
function il(e, t) {
|
|
387
|
+
t = tl(t, e);
|
|
388
388
|
for (var n = 0, i = t.length; e != null && n < i; )
|
|
389
|
-
e = e[
|
|
389
|
+
e = e[nl(t[n++])];
|
|
390
390
|
return n && n == i ? e : void 0;
|
|
391
391
|
}
|
|
392
392
|
function G(e, t, n) {
|
|
393
|
-
var i = e == null ? void 0 :
|
|
393
|
+
var i = e == null ? void 0 : il(e, t);
|
|
394
394
|
return i === void 0 ? n : i;
|
|
395
395
|
}
|
|
396
396
|
function de(e) {
|
|
397
397
|
return e == null;
|
|
398
398
|
}
|
|
399
|
-
const Se = "kong-ui-forms-api",
|
|
399
|
+
const Se = "kong-ui-forms-api", al = "kong-ui-forms-config", ol = "redis-partial-list-fetcher-key", yp = "redis-partial-info", Mt = "autofill", Ne = "autofillSlot", je = {
|
|
400
400
|
CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
|
|
401
401
|
CREATE_FROM_ENTITY: "CREATE_FROM_ENTITY",
|
|
402
402
|
UPDATE_ENTITY: "UPDATE_ENTITY",
|
|
@@ -404,16 +404,16 @@ const Se = "kong-ui-forms-api", ol = "kong-ui-forms-config", rl = "redis-partial
|
|
|
404
404
|
};
|
|
405
405
|
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
|
|
406
406
|
const {
|
|
407
|
-
entries:
|
|
407
|
+
entries: qa,
|
|
408
408
|
setPrototypeOf: Vi,
|
|
409
|
-
isFrozen:
|
|
410
|
-
getPrototypeOf:
|
|
411
|
-
getOwnPropertyDescriptor:
|
|
409
|
+
isFrozen: rl,
|
|
410
|
+
getPrototypeOf: sl,
|
|
411
|
+
getOwnPropertyDescriptor: ll
|
|
412
412
|
} = Object;
|
|
413
413
|
let {
|
|
414
414
|
freeze: Me,
|
|
415
|
-
seal:
|
|
416
|
-
create:
|
|
415
|
+
seal: Le,
|
|
416
|
+
create: Ka
|
|
417
417
|
} = Object, {
|
|
418
418
|
apply: zn,
|
|
419
419
|
construct: xn
|
|
@@ -421,7 +421,7 @@ let {
|
|
|
421
421
|
Me || (Me = function(t) {
|
|
422
422
|
return t;
|
|
423
423
|
});
|
|
424
|
-
|
|
424
|
+
Le || (Le = function(t) {
|
|
425
425
|
return t;
|
|
426
426
|
});
|
|
427
427
|
zn || (zn = function(t, n, i) {
|
|
@@ -430,7 +430,7 @@ zn || (zn = function(t, n, i) {
|
|
|
430
430
|
xn || (xn = function(t, n) {
|
|
431
431
|
return new t(...n);
|
|
432
432
|
});
|
|
433
|
-
const en = Ae(Array.prototype.forEach),
|
|
433
|
+
const en = Ae(Array.prototype.forEach), dl = Ae(Array.prototype.lastIndexOf), ji = Ae(Array.prototype.pop), Rt = Ae(Array.prototype.push), ul = Ae(Array.prototype.splice), nn = Ae(String.prototype.toLowerCase), Pn = Ae(String.prototype.toString), qi = Ae(String.prototype.match), Ut = Ae(String.prototype.replace), cl = Ae(String.prototype.indexOf), ml = Ae(String.prototype.trim), De = Ae(Object.prototype.hasOwnProperty), Te = Ae(RegExp.prototype.test), Nt = fl(TypeError);
|
|
434
434
|
function Ae(e) {
|
|
435
435
|
return function(t) {
|
|
436
436
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
@@ -439,7 +439,7 @@ function Ae(e) {
|
|
|
439
439
|
return zn(e, t, i);
|
|
440
440
|
};
|
|
441
441
|
}
|
|
442
|
-
function
|
|
442
|
+
function fl(e) {
|
|
443
443
|
return function() {
|
|
444
444
|
for (var t = arguments.length, n = new Array(t), i = 0; i < t; i++)
|
|
445
445
|
n[i] = arguments[i];
|
|
@@ -454,58 +454,58 @@ function x(e, t) {
|
|
|
454
454
|
let a = t[i];
|
|
455
455
|
if (typeof a == "string") {
|
|
456
456
|
const o = n(a);
|
|
457
|
-
o !== a && (
|
|
457
|
+
o !== a && (rl(t) || (t[i] = o), a = o);
|
|
458
458
|
}
|
|
459
459
|
e[a] = !0;
|
|
460
460
|
}
|
|
461
461
|
return e;
|
|
462
462
|
}
|
|
463
|
-
function
|
|
463
|
+
function hl(e) {
|
|
464
464
|
for (let t = 0; t < e.length; t++)
|
|
465
465
|
De(e, t) || (e[t] = null);
|
|
466
466
|
return e;
|
|
467
467
|
}
|
|
468
468
|
function Ye(e) {
|
|
469
|
-
const t =
|
|
470
|
-
for (const [n, i] of
|
|
471
|
-
De(e, n) && (Array.isArray(i) ? t[n] =
|
|
469
|
+
const t = Ka(null);
|
|
470
|
+
for (const [n, i] of qa(e))
|
|
471
|
+
De(e, n) && (Array.isArray(i) ? t[n] = hl(i) : i && typeof i == "object" && i.constructor === Object ? t[n] = Ye(i) : t[n] = i);
|
|
472
472
|
return t;
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function Lt(e, t) {
|
|
475
475
|
for (; e !== null; ) {
|
|
476
|
-
const i =
|
|
476
|
+
const i = ll(e, t);
|
|
477
477
|
if (i) {
|
|
478
478
|
if (i.get)
|
|
479
479
|
return Ae(i.get);
|
|
480
480
|
if (typeof i.value == "function")
|
|
481
481
|
return Ae(i.value);
|
|
482
482
|
}
|
|
483
|
-
e =
|
|
483
|
+
e = sl(e);
|
|
484
484
|
}
|
|
485
485
|
function n() {
|
|
486
486
|
return null;
|
|
487
487
|
}
|
|
488
488
|
return n;
|
|
489
489
|
}
|
|
490
|
-
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"]), Dn = 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"]), $n = 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"]),
|
|
490
|
+
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"]), Dn = 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"]), $n = 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"]), pl = 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"]), Vn = 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"]), gl = 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"]), jn = 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"]), yl = Le(/\{\{[\w\W]*|[\w\W]*\}\}/gm), vl = Le(/<%[\w\W]*|[\w\W]*%>/gm), bl = Le(/\$\{[\w\W]*/gm), _l = Le(/^data-[\-\w.\u00B7-\uFFFF]+$/), Tl = Le(/^aria-[\-\w]+$/), Ba = Le(
|
|
491
491
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
492
492
|
// eslint-disable-line no-useless-escape
|
|
493
|
-
),
|
|
493
|
+
), Sl = Le(/^(?:\w+script|data):/i), wl = Le(
|
|
494
494
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
495
495
|
// eslint-disable-line no-control-regex
|
|
496
|
-
),
|
|
496
|
+
), za = Le(/^html$/i), El = Le(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
497
497
|
var Hi = /* @__PURE__ */ Object.freeze({
|
|
498
498
|
__proto__: null,
|
|
499
|
-
ARIA_ATTR:
|
|
500
|
-
ATTR_WHITESPACE:
|
|
501
|
-
CUSTOM_ELEMENT:
|
|
502
|
-
DATA_ATTR:
|
|
503
|
-
DOCTYPE_NAME:
|
|
504
|
-
ERB_EXPR:
|
|
505
|
-
IS_ALLOWED_URI:
|
|
506
|
-
IS_SCRIPT_OR_DATA:
|
|
507
|
-
MUSTACHE_EXPR:
|
|
508
|
-
TMPLIT_EXPR:
|
|
499
|
+
ARIA_ATTR: Tl,
|
|
500
|
+
ATTR_WHITESPACE: wl,
|
|
501
|
+
CUSTOM_ELEMENT: El,
|
|
502
|
+
DATA_ATTR: _l,
|
|
503
|
+
DOCTYPE_NAME: za,
|
|
504
|
+
ERB_EXPR: vl,
|
|
505
|
+
IS_ALLOWED_URI: Ba,
|
|
506
|
+
IS_SCRIPT_OR_DATA: Sl,
|
|
507
|
+
MUSTACHE_EXPR: yl,
|
|
508
|
+
TMPLIT_EXPR: bl
|
|
509
509
|
});
|
|
510
510
|
const Pt = {
|
|
511
511
|
element: 1,
|
|
@@ -514,9 +514,9 @@ const Pt = {
|
|
|
514
514
|
progressingInstruction: 7,
|
|
515
515
|
comment: 8,
|
|
516
516
|
document: 9
|
|
517
|
-
},
|
|
517
|
+
}, Ml = function() {
|
|
518
518
|
return typeof window > "u" ? null : window;
|
|
519
|
-
},
|
|
519
|
+
}, Al = function(t, n) {
|
|
520
520
|
if (typeof t != "object" || typeof t.createPolicy != "function")
|
|
521
521
|
return null;
|
|
522
522
|
let i = null;
|
|
@@ -548,9 +548,9 @@ const Pt = {
|
|
|
548
548
|
uponSanitizeShadowNode: []
|
|
549
549
|
};
|
|
550
550
|
};
|
|
551
|
-
function
|
|
552
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
553
|
-
const t = (P) =>
|
|
551
|
+
function xa() {
|
|
552
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ml();
|
|
553
|
+
const t = (P) => xa(P);
|
|
554
554
|
if (t.version = "3.2.6", t.removed = [], !e || !e.document || e.document.nodeType !== Pt.document || !e.Element)
|
|
555
555
|
return t.isSupported = !1, t;
|
|
556
556
|
let {
|
|
@@ -566,7 +566,7 @@ function Ha() {
|
|
|
566
566
|
HTMLFormElement: f,
|
|
567
567
|
DOMParser: b,
|
|
568
568
|
trustedTypes: k
|
|
569
|
-
} = e, q = d.prototype, h =
|
|
569
|
+
} = e, q = d.prototype, h = Lt(q, "cloneNode"), A = Lt(q, "remove"), C = Lt(q, "nextSibling"), L = Lt(q, "childNodes"), T = Lt(q, "parentNode");
|
|
570
570
|
if (typeof s == "function") {
|
|
571
571
|
const P = n.createElement("template");
|
|
572
572
|
P.content && P.content.ownerDocument && (n = P.content.ownerDocument);
|
|
@@ -581,7 +581,7 @@ function Ha() {
|
|
|
581
581
|
importNode: E
|
|
582
582
|
} = i;
|
|
583
583
|
let w = Yi();
|
|
584
|
-
t.isSupported = typeof
|
|
584
|
+
t.isSupported = typeof qa == "function" && typeof T == "function" && v && v.createHTMLDocument !== void 0;
|
|
585
585
|
const {
|
|
586
586
|
MUSTACHE_EXPR: j,
|
|
587
587
|
ERB_EXPR: K,
|
|
@@ -598,7 +598,7 @@ function Ha() {
|
|
|
598
598
|
const ne = x({}, [...Ki, ...Dn, ...$n, ...Vn, ...Bi]);
|
|
599
599
|
let re = null;
|
|
600
600
|
const si = x({}, [...zi, ...jn, ...xi, ...tn]);
|
|
601
|
-
let se = Object.seal(
|
|
601
|
+
let se = Object.seal(Ka(null, {
|
|
602
602
|
tagNameCheck: {
|
|
603
603
|
writable: !0,
|
|
604
604
|
configurable: !1,
|
|
@@ -618,7 +618,7 @@ function Ha() {
|
|
|
618
618
|
value: !1
|
|
619
619
|
}
|
|
620
620
|
})), It = null, wn = null, li = !0, En = !0, di = !1, ui = !0, ft = !1, Yt = !0, ot = !1, Mn = !1, An = !1, ht = !1, Gt = !1, Wt = !1, ci = !0, mi = !1;
|
|
621
|
-
const
|
|
621
|
+
const Co = "user-content-";
|
|
622
622
|
let In = !0, Ct = !1, pt = {}, gt = null;
|
|
623
623
|
const fi = x({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
624
624
|
let hi = null;
|
|
@@ -626,36 +626,36 @@ function Ha() {
|
|
|
626
626
|
let Cn = null;
|
|
627
627
|
const gi = x({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Zt = "http://www.w3.org/1998/Math/MathML", Xt = "http://www.w3.org/2000/svg", ze = "http://www.w3.org/1999/xhtml";
|
|
628
628
|
let yt = ze, On = !1, Fn = null;
|
|
629
|
-
const
|
|
629
|
+
const Oo = x({}, [Zt, Xt, ze], Pn);
|
|
630
630
|
let Jt = x({}, ["mi", "mo", "mn", "ms", "mtext"]), Qt = x({}, ["annotation-xml"]);
|
|
631
|
-
const
|
|
631
|
+
const Fo = x({}, ["title", "style", "font", "a", "script"]);
|
|
632
632
|
let Ot = null;
|
|
633
|
-
const
|
|
633
|
+
const ko = ["application/xhtml+xml", "text/html"], Ro = "text/html";
|
|
634
634
|
let ye = null, vt = null;
|
|
635
|
-
const
|
|
635
|
+
const Uo = n.createElement("form"), yi = function(l) {
|
|
636
636
|
return l instanceof RegExp || l instanceof Function;
|
|
637
637
|
}, kn = function() {
|
|
638
638
|
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
639
639
|
if (!(vt && vt === l)) {
|
|
640
640
|
if ((!l || typeof l != "object") && (l = {}), l = Ye(l), Ot = // eslint-disable-next-line unicorn/prefer-includes
|
|
641
|
-
|
|
641
|
+
ko.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? Ro : l.PARSER_MEDIA_TYPE, ye = Ot === "application/xhtml+xml" ? Pn : nn, $ = De(l, "ALLOWED_TAGS") ? x({}, l.ALLOWED_TAGS, ye) : ne, re = De(l, "ALLOWED_ATTR") ? x({}, l.ALLOWED_ATTR, ye) : si, Fn = De(l, "ALLOWED_NAMESPACES") ? x({}, l.ALLOWED_NAMESPACES, Pn) : Oo, Cn = De(l, "ADD_URI_SAFE_ATTR") ? x(Ye(gi), l.ADD_URI_SAFE_ATTR, ye) : gi, hi = De(l, "ADD_DATA_URI_TAGS") ? x(Ye(pi), l.ADD_DATA_URI_TAGS, ye) : pi, gt = De(l, "FORBID_CONTENTS") ? x({}, l.FORBID_CONTENTS, ye) : fi, It = De(l, "FORBID_TAGS") ? x({}, l.FORBID_TAGS, ye) : Ye({}), wn = De(l, "FORBID_ATTR") ? x({}, l.FORBID_ATTR, ye) : Ye({}), pt = De(l, "USE_PROFILES") ? l.USE_PROFILES : !1, li = l.ALLOW_ARIA_ATTR !== !1, En = l.ALLOW_DATA_ATTR !== !1, di = l.ALLOW_UNKNOWN_PROTOCOLS || !1, ui = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ft = l.SAFE_FOR_TEMPLATES || !1, Yt = l.SAFE_FOR_XML !== !1, ot = l.WHOLE_DOCUMENT || !1, ht = l.RETURN_DOM || !1, Gt = l.RETURN_DOM_FRAGMENT || !1, Wt = l.RETURN_TRUSTED_TYPE || !1, An = l.FORCE_BODY || !1, ci = l.SANITIZE_DOM !== !1, mi = l.SANITIZE_NAMED_PROPS || !1, In = l.KEEP_CONTENT !== !1, Ct = l.IN_PLACE || !1, Ht = l.ALLOWED_URI_REGEXP || Ba, yt = l.NAMESPACE || ze, Jt = l.MATHML_TEXT_INTEGRATION_POINTS || Jt, Qt = l.HTML_INTEGRATION_POINTS || Qt, se = l.CUSTOM_ELEMENT_HANDLING || {}, l.CUSTOM_ELEMENT_HANDLING && yi(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (se.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && yi(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (se.attributeNameCheck = l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (se.allowCustomizedBuiltInElements = l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ft && (En = !1), Gt && (ht = !0), pt && ($ = x({}, Bi), re = [], pt.html === !0 && (x($, Ki), x(re, zi)), pt.svg === !0 && (x($, Dn), x(re, jn), x(re, tn)), pt.svgFilters === !0 && (x($, $n), x(re, jn), x(re, tn)), pt.mathMl === !0 && (x($, Vn), x(re, xi), x(re, tn))), l.ADD_TAGS && ($ === ne && ($ = Ye($)), x($, l.ADD_TAGS, ye)), l.ADD_ATTR && (re === si && (re = Ye(re)), x(re, l.ADD_ATTR, ye)), l.ADD_URI_SAFE_ATTR && x(Cn, l.ADD_URI_SAFE_ATTR, ye), l.FORBID_CONTENTS && (gt === fi && (gt = Ye(gt)), x(gt, l.FORBID_CONTENTS, ye)), In && ($["#text"] = !0), ot && x($, ["html", "head", "body"]), $.table && (x($, ["tbody"]), delete It.tbody), l.TRUSTED_TYPES_POLICY) {
|
|
642
642
|
if (typeof l.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
643
|
-
throw
|
|
643
|
+
throw Nt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
644
644
|
if (typeof l.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
645
|
-
throw
|
|
645
|
+
throw Nt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
646
646
|
F = l.TRUSTED_TYPES_POLICY, y = F.createHTML("");
|
|
647
647
|
} else
|
|
648
|
-
F === void 0 && (F =
|
|
648
|
+
F === void 0 && (F = Al(k, a)), F !== null && typeof y == "string" && (y = F.createHTML(""));
|
|
649
649
|
Me && Me(l), vt = l;
|
|
650
650
|
}
|
|
651
|
-
}, vi = x({}, [...Dn, ...$n, ...
|
|
651
|
+
}, vi = x({}, [...Dn, ...$n, ...pl]), bi = x({}, [...Vn, ...gl]), No = function(l) {
|
|
652
652
|
let S = T(l);
|
|
653
653
|
(!S || !S.tagName) && (S = {
|
|
654
654
|
namespaceURI: yt,
|
|
655
655
|
tagName: "template"
|
|
656
656
|
});
|
|
657
657
|
const R = nn(l.tagName), te = nn(S.tagName);
|
|
658
|
-
return Fn[l.namespaceURI] ? l.namespaceURI === Xt ? S.namespaceURI === ze ? R === "svg" : S.namespaceURI === Zt ? R === "svg" && (te === "annotation-xml" || Jt[te]) : !!vi[R] : l.namespaceURI === Zt ? S.namespaceURI === ze ? R === "math" : S.namespaceURI === Xt ? R === "math" && Qt[te] : !!bi[R] : l.namespaceURI === ze ? S.namespaceURI === Xt && !Qt[te] || S.namespaceURI === Zt && !Jt[te] ? !1 : !bi[R] && (
|
|
658
|
+
return Fn[l.namespaceURI] ? l.namespaceURI === Xt ? S.namespaceURI === ze ? R === "svg" : S.namespaceURI === Zt ? R === "svg" && (te === "annotation-xml" || Jt[te]) : !!vi[R] : l.namespaceURI === Zt ? S.namespaceURI === ze ? R === "math" : S.namespaceURI === Xt ? R === "math" && Qt[te] : !!bi[R] : l.namespaceURI === ze ? S.namespaceURI === Xt && !Qt[te] || S.namespaceURI === Zt && !Jt[te] ? !1 : !bi[R] && (Fo[R] || !vi[R]) : !!(Ot === "application/xhtml+xml" && Fn[l.namespaceURI]) : !1;
|
|
659
659
|
}, Ve = function(l) {
|
|
660
660
|
Rt(t.removed, {
|
|
661
661
|
element: l
|
|
@@ -744,7 +744,7 @@ function Ha() {
|
|
|
744
744
|
if (!It[R] && Mi(R) && (se.tagNameCheck instanceof RegExp && Te(se.tagNameCheck, R) || se.tagNameCheck instanceof Function && se.tagNameCheck(R)))
|
|
745
745
|
return !1;
|
|
746
746
|
if (In && !gt[R]) {
|
|
747
|
-
const te = T(l) || l.parentNode, be =
|
|
747
|
+
const te = T(l) || l.parentNode, be = L(l) || l.childNodes;
|
|
748
748
|
if (be && te) {
|
|
749
749
|
const pe = be.length;
|
|
750
750
|
for (let Ie = pe - 1; Ie >= 0; --Ie) {
|
|
@@ -761,7 +761,7 @@ function Ha() {
|
|
|
761
761
|
element: l.cloneNode()
|
|
762
762
|
}), l.textContent = S)), xe(w.afterSanitizeElements, l, null), !1);
|
|
763
763
|
}, Ei = function(l, S, R) {
|
|
764
|
-
if (ci && (S === "id" || S === "name") && (R in n || R in
|
|
764
|
+
if (ci && (S === "id" || S === "name") && (R in n || R in Uo))
|
|
765
765
|
return !1;
|
|
766
766
|
if (!(En && !wn[S] && Te(ge, S))) {
|
|
767
767
|
if (!(li && Te(Ke, S))) {
|
|
@@ -776,7 +776,7 @@ function Ha() {
|
|
|
776
776
|
) return !1;
|
|
777
777
|
} else if (!Cn[S]) {
|
|
778
778
|
if (!Te(Ht, Ut(R, Be, ""))) {
|
|
779
|
-
if (!((S === "src" || S === "xlink:href" || S === "href") && l !== "script" &&
|
|
779
|
+
if (!((S === "src" || S === "xlink:href" || S === "href") && l !== "script" && cl(R, "data:") === 0 && hi[l])) {
|
|
780
780
|
if (!(di && !Te(fe, Ut(R, Be, "")))) {
|
|
781
781
|
if (R)
|
|
782
782
|
return !1;
|
|
@@ -810,8 +810,8 @@ function Ha() {
|
|
|
810
810
|
namespaceURI: Ie,
|
|
811
811
|
value: He
|
|
812
812
|
} = be, Ft = ye(pe), Un = He;
|
|
813
|
-
let _e = pe === "value" ? Un :
|
|
814
|
-
if (R.attrName = Ft, R.attrValue = _e, R.keepAttr = !0, R.forceKeepAttr = void 0, xe(w.uponSanitizeAttribute, l, R), _e = R.attrValue, mi && (Ft === "id" || Ft === "name") && (bt(pe, l), _e =
|
|
813
|
+
let _e = pe === "value" ? Un : ml(Un);
|
|
814
|
+
if (R.attrName = Ft, R.attrValue = _e, R.keepAttr = !0, R.forceKeepAttr = void 0, xe(w.uponSanitizeAttribute, l, R), _e = R.attrValue, mi && (Ft === "id" || Ft === "name") && (bt(pe, l), _e = Co + _e), Yt && Te(/((--!?|])>)|<\/(style|title)/i, _e)) {
|
|
815
815
|
bt(pe, l);
|
|
816
816
|
continue;
|
|
817
817
|
}
|
|
@@ -852,7 +852,7 @@ function Ha() {
|
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
854
|
xe(w.afterSanitizeAttributes, l, null);
|
|
855
|
-
},
|
|
855
|
+
}, Lo = function P(l) {
|
|
856
856
|
let S = null;
|
|
857
857
|
const R = Ti(l);
|
|
858
858
|
for (xe(w.beforeSanitizeShadowDOM, l, null); S = R.nextNode(); )
|
|
@@ -864,16 +864,16 @@ function Ha() {
|
|
|
864
864
|
if (On = !P, On && (P = "<!-->"), typeof P != "string" && !Si(P))
|
|
865
865
|
if (typeof P.toString == "function") {
|
|
866
866
|
if (P = P.toString(), typeof P != "string")
|
|
867
|
-
throw
|
|
867
|
+
throw Nt("dirty is not a string, aborting");
|
|
868
868
|
} else
|
|
869
|
-
throw
|
|
869
|
+
throw Nt("toString is not a function");
|
|
870
870
|
if (!t.isSupported)
|
|
871
871
|
return P;
|
|
872
872
|
if (Mn || kn(l), t.removed = [], typeof P == "string" && (Ct = !1), Ct) {
|
|
873
873
|
if (P.nodeName) {
|
|
874
874
|
const He = ye(P.nodeName);
|
|
875
875
|
if (!$[He] || It[He])
|
|
876
|
-
throw
|
|
876
|
+
throw Nt("root node is forbidden and cannot be sanitized in-place");
|
|
877
877
|
}
|
|
878
878
|
} else if (P instanceof r)
|
|
879
879
|
S = _i("<!---->"), R = S.ownerDocument.importNode(P, !0), R.nodeType === Pt.element && R.nodeName === "BODY" || R.nodeName === "HTML" ? S = R : S.appendChild(R);
|
|
@@ -887,7 +887,7 @@ function Ha() {
|
|
|
887
887
|
S && An && Ve(S.firstChild);
|
|
888
888
|
const pe = Ti(Ct ? P : S);
|
|
889
889
|
for (; te = pe.nextNode(); )
|
|
890
|
-
wi(te), Ai(te), te.content instanceof o &&
|
|
890
|
+
wi(te), Ai(te), te.content instanceof o && Lo(te.content);
|
|
891
891
|
if (Ct)
|
|
892
892
|
return P;
|
|
893
893
|
if (ht) {
|
|
@@ -899,7 +899,7 @@ function Ha() {
|
|
|
899
899
|
return (re.shadowroot || re.shadowrootmode) && (be = E.call(i, be, !0)), be;
|
|
900
900
|
}
|
|
901
901
|
let Ie = ot ? S.outerHTML : S.innerHTML;
|
|
902
|
-
return ot && $["!doctype"] && S.ownerDocument && S.ownerDocument.doctype && S.ownerDocument.doctype.name && Te(
|
|
902
|
+
return ot && $["!doctype"] && S.ownerDocument && S.ownerDocument.doctype && S.ownerDocument.doctype.name && Te(za, S.ownerDocument.doctype.name) && (Ie = "<!DOCTYPE " + S.ownerDocument.doctype.name + `>
|
|
903
903
|
` + Ie), ft && en([j, K, H], (He) => {
|
|
904
904
|
Ie = Ut(Ie, He, " ");
|
|
905
905
|
}), F && Wt ? F.createHTML(Ie) : Ie;
|
|
@@ -916,8 +916,8 @@ function Ha() {
|
|
|
916
916
|
typeof l == "function" && Rt(w[P], l);
|
|
917
917
|
}, t.removeHook = function(P, l) {
|
|
918
918
|
if (l !== void 0) {
|
|
919
|
-
const S =
|
|
920
|
-
return S === -1 ? void 0 :
|
|
919
|
+
const S = dl(w[P], l);
|
|
920
|
+
return S === -1 ? void 0 : ul(w[P], S, 1)[0];
|
|
921
921
|
}
|
|
922
922
|
return ji(w[P]);
|
|
923
923
|
}, t.removeHooks = function(P) {
|
|
@@ -926,26 +926,26 @@ function Ha() {
|
|
|
926
926
|
w = Yi();
|
|
927
927
|
}, t;
|
|
928
928
|
}
|
|
929
|
-
var
|
|
930
|
-
function
|
|
929
|
+
var Il = xa();
|
|
930
|
+
function Cl() {
|
|
931
931
|
this.__data__ = new Ze(), this.size = 0;
|
|
932
932
|
}
|
|
933
|
-
function
|
|
933
|
+
function Ol(e) {
|
|
934
934
|
var t = this.__data__, n = t.delete(e);
|
|
935
935
|
return this.size = t.size, n;
|
|
936
936
|
}
|
|
937
|
-
function
|
|
937
|
+
function Fl(e) {
|
|
938
938
|
return this.__data__.get(e);
|
|
939
939
|
}
|
|
940
|
-
function
|
|
940
|
+
function kl(e) {
|
|
941
941
|
return this.__data__.has(e);
|
|
942
942
|
}
|
|
943
|
-
var
|
|
944
|
-
function
|
|
943
|
+
var Rl = 200;
|
|
944
|
+
function Ul(e, t) {
|
|
945
945
|
var n = this.__data__;
|
|
946
946
|
if (n instanceof Ze) {
|
|
947
947
|
var i = n.__data__;
|
|
948
|
-
if (!Bt || i.length <
|
|
948
|
+
if (!Bt || i.length < Rl - 1)
|
|
949
949
|
return i.push([e, t]), this.size = ++n.size, this;
|
|
950
950
|
n = this.__data__ = new Xe(i);
|
|
951
951
|
}
|
|
@@ -955,11 +955,11 @@ function At(e) {
|
|
|
955
955
|
var t = this.__data__ = new Ze(e);
|
|
956
956
|
this.size = t.size;
|
|
957
957
|
}
|
|
958
|
-
At.prototype.clear =
|
|
959
|
-
At.prototype.delete =
|
|
960
|
-
At.prototype.get =
|
|
961
|
-
At.prototype.has =
|
|
962
|
-
At.prototype.set =
|
|
958
|
+
At.prototype.clear = Cl;
|
|
959
|
+
At.prototype.delete = Ol;
|
|
960
|
+
At.prototype.get = Fl;
|
|
961
|
+
At.prototype.has = kl;
|
|
962
|
+
At.prototype.set = Ul;
|
|
963
963
|
var on = function() {
|
|
964
964
|
try {
|
|
965
965
|
var e = mt(Object, "defineProperty");
|
|
@@ -967,7 +967,7 @@ var on = function() {
|
|
|
967
967
|
} catch {
|
|
968
968
|
}
|
|
969
969
|
}();
|
|
970
|
-
function
|
|
970
|
+
function Ha(e, t, n) {
|
|
971
971
|
t == "__proto__" && on ? on(e, t, {
|
|
972
972
|
configurable: !0,
|
|
973
973
|
enumerable: !0,
|
|
@@ -975,155 +975,156 @@ function Ya(e, t, n) {
|
|
|
975
975
|
writable: !0
|
|
976
976
|
}) : e[t] = n;
|
|
977
977
|
}
|
|
978
|
-
var Nl = Object.prototype,
|
|
979
|
-
function
|
|
978
|
+
var Nl = Object.prototype, Ll = Nl.hasOwnProperty;
|
|
979
|
+
function Ya(e, t, n) {
|
|
980
980
|
var i = e[t];
|
|
981
|
-
(!(
|
|
981
|
+
(!(Ll.call(e, t) && yn(i, n)) || n === void 0 && !(t in e)) && Ha(e, t, n);
|
|
982
982
|
}
|
|
983
983
|
function _n(e, t, n, i) {
|
|
984
984
|
var a = !n;
|
|
985
985
|
n || (n = {});
|
|
986
986
|
for (var o = -1, s = t.length; ++o < s; ) {
|
|
987
987
|
var r = t[o], d = void 0;
|
|
988
|
-
d === void 0 && (d = e[r]), a ?
|
|
988
|
+
d === void 0 && (d = e[r]), a ? Ha(n, r, d) : Ya(n, r, d);
|
|
989
989
|
}
|
|
990
990
|
return n;
|
|
991
991
|
}
|
|
992
|
-
function
|
|
992
|
+
function Pl(e, t) {
|
|
993
993
|
return e && _n(t, pn(t), e);
|
|
994
994
|
}
|
|
995
|
-
function
|
|
995
|
+
function Dl(e) {
|
|
996
996
|
var t = [];
|
|
997
997
|
if (e != null)
|
|
998
998
|
for (var n in Object(e))
|
|
999
999
|
t.push(n);
|
|
1000
1000
|
return t;
|
|
1001
1001
|
}
|
|
1002
|
-
var
|
|
1003
|
-
function
|
|
1002
|
+
var $l = Object.prototype, Vl = $l.hasOwnProperty;
|
|
1003
|
+
function jl(e) {
|
|
1004
1004
|
if (!Fe(e))
|
|
1005
|
-
return
|
|
1005
|
+
return Dl(e);
|
|
1006
1006
|
var t = ti(e), n = [];
|
|
1007
1007
|
for (var i in e)
|
|
1008
|
-
i == "constructor" && (t || !
|
|
1008
|
+
i == "constructor" && (t || !Vl.call(e, i)) || n.push(i);
|
|
1009
1009
|
return n;
|
|
1010
1010
|
}
|
|
1011
1011
|
function Tn(e) {
|
|
1012
|
-
return hn(e) ?
|
|
1012
|
+
return hn(e) ? Da(e, !0) : jl(e);
|
|
1013
1013
|
}
|
|
1014
|
-
function
|
|
1014
|
+
function ql(e, t) {
|
|
1015
1015
|
return e && _n(t, Tn(t), e);
|
|
1016
1016
|
}
|
|
1017
|
-
var
|
|
1018
|
-
function
|
|
1017
|
+
var Ga = typeof exports == "object" && exports && !exports.nodeType && exports, Gi = Ga && typeof module == "object" && module && !module.nodeType && module, Kl = Gi && Gi.exports === Ga, Wi = Kl ? Pe.Buffer : void 0, Zi = Wi ? Wi.allocUnsafe : void 0;
|
|
1018
|
+
function Bl(e, t) {
|
|
1019
1019
|
if (t)
|
|
1020
1020
|
return e.slice();
|
|
1021
1021
|
var n = e.length, i = Zi ? Zi(n) : new e.constructor(n);
|
|
1022
1022
|
return e.copy(i), i;
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1024
|
+
function zl(e, t) {
|
|
1025
1025
|
var n = -1, i = e.length;
|
|
1026
1026
|
for (t || (t = Array(i)); ++n < i; )
|
|
1027
1027
|
t[n] = e[n];
|
|
1028
1028
|
return t;
|
|
1029
1029
|
}
|
|
1030
|
-
function
|
|
1030
|
+
function xl(e, t) {
|
|
1031
1031
|
for (var n = -1, i = e == null ? 0 : e.length, a = 0, o = []; ++n < i; ) {
|
|
1032
1032
|
var s = e[n];
|
|
1033
1033
|
t(s, n, e) && (o[a++] = s);
|
|
1034
1034
|
}
|
|
1035
1035
|
return o;
|
|
1036
1036
|
}
|
|
1037
|
-
function
|
|
1037
|
+
function Wa() {
|
|
1038
1038
|
return [];
|
|
1039
1039
|
}
|
|
1040
|
-
var
|
|
1041
|
-
return e == null ? [] : (e = Object(e),
|
|
1042
|
-
return
|
|
1040
|
+
var Hl = Object.prototype, Yl = Hl.propertyIsEnumerable, Xi = Object.getOwnPropertySymbols, ai = Xi ? function(e) {
|
|
1041
|
+
return e == null ? [] : (e = Object(e), xl(Xi(e), function(t) {
|
|
1042
|
+
return Yl.call(e, t);
|
|
1043
1043
|
}));
|
|
1044
|
-
} :
|
|
1045
|
-
function
|
|
1044
|
+
} : Wa;
|
|
1045
|
+
function Gl(e, t) {
|
|
1046
1046
|
return _n(e, ai(e), t);
|
|
1047
1047
|
}
|
|
1048
|
-
function
|
|
1048
|
+
function Za(e, t) {
|
|
1049
1049
|
for (var n = -1, i = t.length, a = e.length; ++n < i; )
|
|
1050
1050
|
e[a + n] = t[n];
|
|
1051
1051
|
return e;
|
|
1052
1052
|
}
|
|
1053
|
-
var
|
|
1053
|
+
var Xa = $a(Object.getPrototypeOf, Object), Wl = Object.getOwnPropertySymbols, Ja = Wl ? function(e) {
|
|
1054
1054
|
for (var t = []; e; )
|
|
1055
|
-
|
|
1055
|
+
Za(t, ai(e)), e = Xa(e);
|
|
1056
1056
|
return t;
|
|
1057
|
-
} :
|
|
1058
|
-
function
|
|
1059
|
-
return _n(e,
|
|
1057
|
+
} : Wa;
|
|
1058
|
+
function Zl(e, t) {
|
|
1059
|
+
return _n(e, Ja(e), t);
|
|
1060
1060
|
}
|
|
1061
|
-
function
|
|
1061
|
+
function Qa(e, t, n) {
|
|
1062
1062
|
var i = t(e);
|
|
1063
|
-
return at(e) ? i :
|
|
1063
|
+
return at(e) ? i : Za(i, n(e));
|
|
1064
1064
|
}
|
|
1065
|
-
function
|
|
1066
|
-
return
|
|
1065
|
+
function Xl(e) {
|
|
1066
|
+
return Qa(e, pn, ai);
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1069
|
-
return
|
|
1068
|
+
function Jl(e) {
|
|
1069
|
+
return Qa(e, Tn, Ja);
|
|
1070
1070
|
}
|
|
1071
|
-
var Hn = mt(Pe, "DataView"), Yn = mt(Pe, "Promise"), Tt = mt(Pe, "Set"), Gn = mt(Pe, "WeakMap"), Ji = "[object Map]",
|
|
1071
|
+
var Hn = mt(Pe, "DataView"), Yn = mt(Pe, "Promise"), Tt = mt(Pe, "Set"), Gn = mt(Pe, "WeakMap"), Ji = "[object Map]", Ql = "[object Object]", Qi = "[object Promise]", ea = "[object Set]", ta = "[object WeakMap]", na = "[object DataView]", ed = ct(Hn), td = ct(Bt), nd = ct(Yn), id = ct(Tt), ad = ct(Gn), Ge = nt;
|
|
1072
1072
|
(Hn && Ge(new Hn(new ArrayBuffer(1))) != na || Bt && Ge(new Bt()) != Ji || Yn && Ge(Yn.resolve()) != Qi || Tt && Ge(new Tt()) != ea || Gn && Ge(new Gn()) != ta) && (Ge = function(e) {
|
|
1073
|
-
var t = nt(e), n = t ==
|
|
1073
|
+
var t = nt(e), n = t == Ql ? e.constructor : void 0, i = n ? ct(n) : "";
|
|
1074
1074
|
if (i)
|
|
1075
1075
|
switch (i) {
|
|
1076
|
-
case
|
|
1076
|
+
case ed:
|
|
1077
1077
|
return na;
|
|
1078
|
-
case
|
|
1078
|
+
case td:
|
|
1079
1079
|
return Ji;
|
|
1080
|
-
case
|
|
1080
|
+
case nd:
|
|
1081
1081
|
return Qi;
|
|
1082
|
-
case
|
|
1082
|
+
case id:
|
|
1083
1083
|
return ea;
|
|
1084
|
-
case
|
|
1084
|
+
case ad:
|
|
1085
1085
|
return ta;
|
|
1086
1086
|
}
|
|
1087
1087
|
return t;
|
|
1088
1088
|
});
|
|
1089
|
-
var
|
|
1090
|
-
function
|
|
1089
|
+
var od = Object.prototype, rd = od.hasOwnProperty;
|
|
1090
|
+
function sd(e) {
|
|
1091
1091
|
var t = e.length, n = new e.constructor(t);
|
|
1092
|
-
return t && typeof e[0] == "string" &&
|
|
1092
|
+
return t && typeof e[0] == "string" && rd.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
1093
1093
|
}
|
|
1094
1094
|
var ia = Pe.Uint8Array;
|
|
1095
1095
|
function oi(e) {
|
|
1096
1096
|
var t = new e.constructor(e.byteLength);
|
|
1097
1097
|
return new ia(t).set(new ia(e)), t;
|
|
1098
1098
|
}
|
|
1099
|
-
function
|
|
1099
|
+
function ld(e, t) {
|
|
1100
1100
|
var n = t ? oi(e.buffer) : e.buffer;
|
|
1101
1101
|
return new e.constructor(n, e.byteOffset, e.byteLength);
|
|
1102
1102
|
}
|
|
1103
|
-
var
|
|
1104
|
-
function
|
|
1105
|
-
var t = new e.constructor(e.source,
|
|
1103
|
+
var dd = /\w*$/;
|
|
1104
|
+
function ud(e) {
|
|
1105
|
+
var t = new e.constructor(e.source, dd.exec(e));
|
|
1106
1106
|
return t.lastIndex = e.lastIndex, t;
|
|
1107
1107
|
}
|
|
1108
1108
|
var aa = tt ? tt.prototype : void 0, oa = aa ? aa.valueOf : void 0;
|
|
1109
|
-
function
|
|
1109
|
+
function cd(e) {
|
|
1110
1110
|
return oa ? Object(oa.call(e)) : {};
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1112
|
+
function md(e, t) {
|
|
1113
1113
|
var n = t ? oi(e.buffer) : e.buffer;
|
|
1114
1114
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
1115
1115
|
}
|
|
1116
|
-
var
|
|
1117
|
-
function
|
|
1116
|
+
var fd = "[object Boolean]", hd = "[object Date]", pd = "[object Map]", gd = "[object Number]", yd = "[object RegExp]", vd = "[object Set]", bd = "[object String]", _d = "[object Symbol]", Td = "[object ArrayBuffer]", Sd = "[object DataView]", wd = "[object Float32Array]", Ed = "[object Float64Array]", Md = "[object Int8Array]", Ad = "[object Int16Array]", Id = "[object Int32Array]", Cd = "[object Uint8Array]", Od = "[object Uint8ClampedArray]", Fd = "[object Uint16Array]", kd = "[object Uint32Array]";
|
|
1117
|
+
function Rd(e, t, n) {
|
|
1118
1118
|
var i = e.constructor;
|
|
1119
1119
|
switch (t) {
|
|
1120
|
-
case
|
|
1120
|
+
case Td:
|
|
1121
1121
|
return oi(e);
|
|
1122
|
+
case fd:
|
|
1122
1123
|
case hd:
|
|
1123
|
-
case pd:
|
|
1124
1124
|
return new i(+e);
|
|
1125
|
+
case Sd:
|
|
1126
|
+
return ld(e, n);
|
|
1125
1127
|
case wd:
|
|
1126
|
-
return dd(e, n);
|
|
1127
1128
|
case Ed:
|
|
1128
1129
|
case Md:
|
|
1129
1130
|
case Ad:
|
|
@@ -1132,22 +1133,21 @@ function Ud(e, t, n) {
|
|
|
1132
1133
|
case Od:
|
|
1133
1134
|
case Fd:
|
|
1134
1135
|
case kd:
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
case gd:
|
|
1136
|
+
return md(e, n);
|
|
1137
|
+
case pd:
|
|
1138
1138
|
return new i();
|
|
1139
|
-
case
|
|
1140
|
-
case
|
|
1139
|
+
case gd:
|
|
1140
|
+
case bd:
|
|
1141
1141
|
return new i(e);
|
|
1142
|
+
case yd:
|
|
1143
|
+
return ud(e);
|
|
1142
1144
|
case vd:
|
|
1143
|
-
return cd(e);
|
|
1144
|
-
case bd:
|
|
1145
1145
|
return new i();
|
|
1146
|
-
case
|
|
1147
|
-
return
|
|
1146
|
+
case _d:
|
|
1147
|
+
return cd(e);
|
|
1148
1148
|
}
|
|
1149
1149
|
}
|
|
1150
|
-
var ra = Object.create,
|
|
1150
|
+
var ra = Object.create, Ud = /* @__PURE__ */ function() {
|
|
1151
1151
|
function e() {
|
|
1152
1152
|
}
|
|
1153
1153
|
return function(t) {
|
|
@@ -1161,66 +1161,66 @@ var ra = Object.create, Ld = /* @__PURE__ */ function() {
|
|
|
1161
1161
|
};
|
|
1162
1162
|
}();
|
|
1163
1163
|
function Nd(e) {
|
|
1164
|
-
return typeof e.constructor == "function" && !ti(e) ?
|
|
1164
|
+
return typeof e.constructor == "function" && !ti(e) ? Ud(Xa(e)) : {};
|
|
1165
1165
|
}
|
|
1166
|
-
var
|
|
1167
|
-
function
|
|
1168
|
-
return it(e) && Ge(e) ==
|
|
1166
|
+
var Ld = "[object Map]";
|
|
1167
|
+
function Pd(e) {
|
|
1168
|
+
return it(e) && Ge(e) == Ld;
|
|
1169
1169
|
}
|
|
1170
|
-
var sa = St && St.isMap,
|
|
1171
|
-
function
|
|
1172
|
-
return it(e) && Ge(e) ==
|
|
1170
|
+
var sa = St && St.isMap, Dd = sa ? ei(sa) : Pd, $d = "[object Set]";
|
|
1171
|
+
function Vd(e) {
|
|
1172
|
+
return it(e) && Ge(e) == $d;
|
|
1173
1173
|
}
|
|
1174
|
-
var la = St && St.isSet,
|
|
1175
|
-
J[
|
|
1176
|
-
J[
|
|
1174
|
+
var la = St && St.isSet, jd = la ? ei(la) : Vd, qd = 1, Kd = 2, Bd = 4, eo = "[object Arguments]", zd = "[object Array]", xd = "[object Boolean]", Hd = "[object Date]", Yd = "[object Error]", to = "[object Function]", Gd = "[object GeneratorFunction]", Wd = "[object Map]", Zd = "[object Number]", no = "[object Object]", Xd = "[object RegExp]", Jd = "[object Set]", Qd = "[object String]", eu = "[object Symbol]", tu = "[object WeakMap]", nu = "[object ArrayBuffer]", iu = "[object DataView]", au = "[object Float32Array]", ou = "[object Float64Array]", ru = "[object Int8Array]", su = "[object Int16Array]", lu = "[object Int32Array]", du = "[object Uint8Array]", uu = "[object Uint8ClampedArray]", cu = "[object Uint16Array]", mu = "[object Uint32Array]", J = {};
|
|
1175
|
+
J[eo] = J[zd] = J[nu] = J[iu] = J[xd] = J[Hd] = J[au] = J[ou] = J[ru] = J[su] = J[lu] = J[Wd] = J[Zd] = J[no] = J[Xd] = J[Jd] = J[Qd] = J[eu] = J[du] = J[uu] = J[cu] = J[mu] = !0;
|
|
1176
|
+
J[Yd] = J[to] = J[tu] = !1;
|
|
1177
1177
|
function jt(e, t, n, i, a, o) {
|
|
1178
|
-
var s, r = t &
|
|
1178
|
+
var s, r = t & qd, d = t & Kd, u = t & Bd;
|
|
1179
1179
|
if (s !== void 0)
|
|
1180
1180
|
return s;
|
|
1181
1181
|
if (!Fe(e))
|
|
1182
1182
|
return e;
|
|
1183
1183
|
var p = at(e);
|
|
1184
1184
|
if (p) {
|
|
1185
|
-
if (s =
|
|
1186
|
-
return
|
|
1185
|
+
if (s = sd(e), !r)
|
|
1186
|
+
return zl(e, s);
|
|
1187
1187
|
} else {
|
|
1188
|
-
var f = Ge(e), b = f ==
|
|
1189
|
-
if (
|
|
1190
|
-
return
|
|
1191
|
-
if (f ==
|
|
1188
|
+
var f = Ge(e), b = f == to || f == Gd;
|
|
1189
|
+
if (Ua(e))
|
|
1190
|
+
return Bl(e, r);
|
|
1191
|
+
if (f == no || f == eo || b && !a) {
|
|
1192
1192
|
if (s = d || b ? {} : Nd(e), !r)
|
|
1193
|
-
return d ?
|
|
1193
|
+
return d ? Zl(e, ql(s, e)) : Gl(e, Pl(s, e));
|
|
1194
1194
|
} else {
|
|
1195
1195
|
if (!J[f])
|
|
1196
1196
|
return a ? e : {};
|
|
1197
|
-
s =
|
|
1197
|
+
s = Rd(e, f, r);
|
|
1198
1198
|
}
|
|
1199
1199
|
}
|
|
1200
1200
|
o || (o = new At());
|
|
1201
1201
|
var k = o.get(e);
|
|
1202
1202
|
if (k)
|
|
1203
1203
|
return k;
|
|
1204
|
-
o.set(e, s),
|
|
1204
|
+
o.set(e, s), jd(e) ? e.forEach(function(A) {
|
|
1205
1205
|
s.add(jt(A, t, n, A, e, o));
|
|
1206
|
-
}) :
|
|
1206
|
+
}) : Dd(e) && e.forEach(function(A, C) {
|
|
1207
1207
|
s.set(C, jt(A, t, n, C, e, o));
|
|
1208
1208
|
});
|
|
1209
|
-
var q = u ? d ?
|
|
1210
|
-
return
|
|
1211
|
-
h && (C = A, A = e[C]),
|
|
1209
|
+
var q = u ? d ? Jl : Xl : d ? Tn : pn, h = p ? void 0 : q(e);
|
|
1210
|
+
return Ca(h || e, function(A, C) {
|
|
1211
|
+
h && (C = A, A = e[C]), Ya(s, C, jt(A, t, n, C, e, o));
|
|
1212
1212
|
}), s;
|
|
1213
1213
|
}
|
|
1214
|
-
var
|
|
1214
|
+
var fu = 1, hu = 4;
|
|
1215
1215
|
function We(e) {
|
|
1216
|
-
return jt(e,
|
|
1216
|
+
return jt(e, fu | hu);
|
|
1217
1217
|
}
|
|
1218
1218
|
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, "");
|
|
1219
|
-
var
|
|
1219
|
+
var pu = "[object String]";
|
|
1220
1220
|
function st(e) {
|
|
1221
|
-
return typeof e == "string" || !at(e) && it(e) && nt(e) ==
|
|
1221
|
+
return typeof e == "string" || !at(e) && it(e) && nt(e) == pu;
|
|
1222
1222
|
}
|
|
1223
|
-
const
|
|
1223
|
+
const io = {
|
|
1224
1224
|
methods: {
|
|
1225
1225
|
// Get style classes of field
|
|
1226
1226
|
getFieldRowClasses(e) {
|
|
@@ -1257,17 +1257,17 @@ const ao = {
|
|
|
1257
1257
|
};
|
|
1258
1258
|
var qn = function() {
|
|
1259
1259
|
return Pe.Date.now();
|
|
1260
|
-
},
|
|
1261
|
-
function
|
|
1262
|
-
for (var t = e.length; t-- &&
|
|
1260
|
+
}, gu = /\s/;
|
|
1261
|
+
function yu(e) {
|
|
1262
|
+
for (var t = e.length; t-- && gu.test(e.charAt(t)); )
|
|
1263
1263
|
;
|
|
1264
1264
|
return t;
|
|
1265
1265
|
}
|
|
1266
|
-
var
|
|
1267
|
-
function
|
|
1268
|
-
return e && e.slice(0,
|
|
1266
|
+
var vu = /^\s+/;
|
|
1267
|
+
function bu(e) {
|
|
1268
|
+
return e && e.slice(0, yu(e) + 1).replace(vu, "");
|
|
1269
1269
|
}
|
|
1270
|
-
var ua = NaN,
|
|
1270
|
+
var ua = NaN, _u = /^[-+]0x[0-9a-f]+$/i, Tu = /^0b[01]+$/i, Su = /^0o[0-7]+$/i, wu = parseInt;
|
|
1271
1271
|
function Wn(e) {
|
|
1272
1272
|
if (typeof e == "number")
|
|
1273
1273
|
return e;
|
|
@@ -1279,16 +1279,16 @@ function Wn(e) {
|
|
|
1279
1279
|
}
|
|
1280
1280
|
if (typeof e != "string")
|
|
1281
1281
|
return e === 0 ? e : +e;
|
|
1282
|
-
e =
|
|
1283
|
-
var n =
|
|
1284
|
-
return n ||
|
|
1282
|
+
e = bu(e);
|
|
1283
|
+
var n = Tu.test(e);
|
|
1284
|
+
return n || Su.test(e) ? wu(e.slice(2), n ? 2 : 8) : _u.test(e) ? ua : +e;
|
|
1285
1285
|
}
|
|
1286
|
-
var
|
|
1286
|
+
var Eu = "Expected a function", Mu = Math.max, Au = Math.min;
|
|
1287
1287
|
function wt(e, t, n) {
|
|
1288
1288
|
var i, a, o, s, r, d, u = 0, p = !1, f = !1, b = !0;
|
|
1289
1289
|
if (typeof e != "function")
|
|
1290
|
-
throw new TypeError(
|
|
1291
|
-
t = Wn(t) || 0, Fe(n) && (p = !!n.leading, f = "maxWait" in n, o = f ?
|
|
1290
|
+
throw new TypeError(Eu);
|
|
1291
|
+
t = Wn(t) || 0, Fe(n) && (p = !!n.leading, f = "maxWait" in n, o = f ? Mu(Wn(n.maxWait) || 0, t) : o, b = "trailing" in n ? !!n.trailing : b);
|
|
1292
1292
|
function k(v) {
|
|
1293
1293
|
var g = i, V = a;
|
|
1294
1294
|
return i = a = void 0, u = v, s = e.apply(V, g), s;
|
|
@@ -1298,7 +1298,7 @@ function wt(e, t, n) {
|
|
|
1298
1298
|
}
|
|
1299
1299
|
function h(v) {
|
|
1300
1300
|
var g = v - d, V = v - u, Z = t - g;
|
|
1301
|
-
return f ?
|
|
1301
|
+
return f ? Au(Z, o - V) : Z;
|
|
1302
1302
|
}
|
|
1303
1303
|
function A(v) {
|
|
1304
1304
|
var g = v - d, V = v - u;
|
|
@@ -1307,17 +1307,17 @@ function wt(e, t, n) {
|
|
|
1307
1307
|
function C() {
|
|
1308
1308
|
var v = qn();
|
|
1309
1309
|
if (A(v))
|
|
1310
|
-
return
|
|
1310
|
+
return L(v);
|
|
1311
1311
|
r = setTimeout(C, h(v));
|
|
1312
1312
|
}
|
|
1313
|
-
function
|
|
1313
|
+
function L(v) {
|
|
1314
1314
|
return r = void 0, b && i ? k(v) : (i = a = void 0, s);
|
|
1315
1315
|
}
|
|
1316
1316
|
function T() {
|
|
1317
1317
|
r !== void 0 && clearTimeout(r), u = 0, i = d = a = r = void 0;
|
|
1318
1318
|
}
|
|
1319
1319
|
function F() {
|
|
1320
|
-
return r === void 0 ? s :
|
|
1320
|
+
return r === void 0 ? s : L(qn());
|
|
1321
1321
|
}
|
|
1322
1322
|
function y() {
|
|
1323
1323
|
var v = qn(), g = A(v);
|
|
@@ -1331,11 +1331,11 @@ function wt(e, t, n) {
|
|
|
1331
1331
|
}
|
|
1332
1332
|
return y.cancel = T, y.flush = F, y;
|
|
1333
1333
|
}
|
|
1334
|
-
var
|
|
1335
|
-
function
|
|
1336
|
-
return this.__data__.set(e,
|
|
1334
|
+
var Iu = "__lodash_hash_undefined__";
|
|
1335
|
+
function Cu(e) {
|
|
1336
|
+
return this.__data__.set(e, Iu), this;
|
|
1337
1337
|
}
|
|
1338
|
-
function
|
|
1338
|
+
function Ou(e) {
|
|
1339
1339
|
return this.__data__.has(e);
|
|
1340
1340
|
}
|
|
1341
1341
|
function rn(e) {
|
|
@@ -1343,51 +1343,51 @@ function rn(e) {
|
|
|
1343
1343
|
for (this.__data__ = new Xe(); ++t < n; )
|
|
1344
1344
|
this.add(e[t]);
|
|
1345
1345
|
}
|
|
1346
|
-
rn.prototype.add = rn.prototype.push =
|
|
1347
|
-
rn.prototype.has =
|
|
1348
|
-
function
|
|
1346
|
+
rn.prototype.add = rn.prototype.push = Cu;
|
|
1347
|
+
rn.prototype.has = Ou;
|
|
1348
|
+
function Fu(e, t, n, i) {
|
|
1349
1349
|
for (var a = e.length, o = n + -1; ++o < a; )
|
|
1350
1350
|
if (t(e[o], o, e))
|
|
1351
1351
|
return o;
|
|
1352
1352
|
return -1;
|
|
1353
1353
|
}
|
|
1354
|
-
function
|
|
1354
|
+
function ku(e) {
|
|
1355
1355
|
return e !== e;
|
|
1356
1356
|
}
|
|
1357
|
-
function
|
|
1357
|
+
function Ru(e, t, n) {
|
|
1358
1358
|
for (var i = n - 1, a = e.length; ++i < a; )
|
|
1359
1359
|
if (e[i] === t)
|
|
1360
1360
|
return i;
|
|
1361
1361
|
return -1;
|
|
1362
1362
|
}
|
|
1363
|
-
function
|
|
1364
|
-
return t === t ?
|
|
1363
|
+
function Uu(e, t, n) {
|
|
1364
|
+
return t === t ? Ru(e, t, n) : Fu(e, ku, n);
|
|
1365
1365
|
}
|
|
1366
1366
|
function Nu(e, t) {
|
|
1367
1367
|
var n = e == null ? 0 : e.length;
|
|
1368
|
-
return !!n &&
|
|
1368
|
+
return !!n && Uu(e, t, 0) > -1;
|
|
1369
1369
|
}
|
|
1370
|
-
function
|
|
1370
|
+
function Lu(e, t) {
|
|
1371
1371
|
return e.has(t);
|
|
1372
1372
|
}
|
|
1373
|
-
function
|
|
1373
|
+
function Pu() {
|
|
1374
1374
|
}
|
|
1375
|
-
function
|
|
1375
|
+
function ao(e) {
|
|
1376
1376
|
var t = -1, n = Array(e.size);
|
|
1377
1377
|
return e.forEach(function(i) {
|
|
1378
1378
|
n[++t] = i;
|
|
1379
1379
|
}), n;
|
|
1380
1380
|
}
|
|
1381
|
-
var
|
|
1381
|
+
var Du = 1 / 0, $u = Tt && 1 / ao(new Tt([, -0]))[1] == Du ? function(e) {
|
|
1382
1382
|
return new Tt(e);
|
|
1383
|
-
} :
|
|
1384
|
-
function
|
|
1383
|
+
} : Pu, Vu = 200;
|
|
1384
|
+
function ju(e, t, n) {
|
|
1385
1385
|
var i = -1, a = Nu, o = e.length, s = !0, r = [], d = r;
|
|
1386
|
-
if (o >=
|
|
1387
|
-
var u =
|
|
1386
|
+
if (o >= Vu) {
|
|
1387
|
+
var u = $u(e);
|
|
1388
1388
|
if (u)
|
|
1389
|
-
return
|
|
1390
|
-
s = !1, a =
|
|
1389
|
+
return ao(u);
|
|
1390
|
+
s = !1, a = Lu, d = new rn();
|
|
1391
1391
|
} else
|
|
1392
1392
|
d = r;
|
|
1393
1393
|
e:
|
|
@@ -1402,16 +1402,16 @@ function qu(e, t, n) {
|
|
|
1402
1402
|
}
|
|
1403
1403
|
return r;
|
|
1404
1404
|
}
|
|
1405
|
-
function
|
|
1406
|
-
return e && e.length ?
|
|
1405
|
+
function oo(e) {
|
|
1406
|
+
return e && e.length ? ju(e) : [];
|
|
1407
1407
|
}
|
|
1408
|
-
var
|
|
1409
|
-
function
|
|
1410
|
-
var t = ++
|
|
1411
|
-
return
|
|
1408
|
+
var qu = 0;
|
|
1409
|
+
function ro(e) {
|
|
1410
|
+
var t = ++qu;
|
|
1411
|
+
return ja(e) + t;
|
|
1412
1412
|
}
|
|
1413
|
-
var
|
|
1414
|
-
function
|
|
1413
|
+
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", Ku = "\\d{3}", Bu = "\\d{4}", qt = "[^\\s]+", lo = /\[([^]*?)\]/gm;
|
|
1414
|
+
function uo(e, t) {
|
|
1415
1415
|
for (var n = [], i = 0, a = e.length; i < a; i++)
|
|
1416
1416
|
n.push(e[i].substr(0, t));
|
|
1417
1417
|
return n;
|
|
@@ -1434,7 +1434,7 @@ function lt(e) {
|
|
|
1434
1434
|
}
|
|
1435
1435
|
return e;
|
|
1436
1436
|
}
|
|
1437
|
-
var
|
|
1437
|
+
var co = [
|
|
1438
1438
|
"Sunday",
|
|
1439
1439
|
"Monday",
|
|
1440
1440
|
"Tuesday",
|
|
@@ -1442,7 +1442,7 @@ var mo = [
|
|
|
1442
1442
|
"Thursday",
|
|
1443
1443
|
"Friday",
|
|
1444
1444
|
"Saturday"
|
|
1445
|
-
],
|
|
1445
|
+
], mo = [
|
|
1446
1446
|
"January",
|
|
1447
1447
|
"February",
|
|
1448
1448
|
"March",
|
|
@@ -1455,16 +1455,16 @@ var mo = [
|
|
|
1455
1455
|
"October",
|
|
1456
1456
|
"November",
|
|
1457
1457
|
"December"
|
|
1458
|
-
],
|
|
1459
|
-
dayNamesShort:
|
|
1460
|
-
dayNames:
|
|
1461
|
-
monthNamesShort:
|
|
1462
|
-
monthNames:
|
|
1458
|
+
], zu = uo(mo, 3), xu = uo(co, 3), fo = {
|
|
1459
|
+
dayNamesShort: xu,
|
|
1460
|
+
dayNames: co,
|
|
1461
|
+
monthNamesShort: zu,
|
|
1462
|
+
monthNames: mo,
|
|
1463
1463
|
amPm: ["am", "pm"],
|
|
1464
1464
|
DoFn: function(e) {
|
|
1465
1465
|
return e + ["th", "st", "nd", "rd"][e % 10 > 3 ? 0 : (e - e % 10 !== 10 ? 1 : 0) * e % 10];
|
|
1466
1466
|
}
|
|
1467
|
-
}, sn = lt({},
|
|
1467
|
+
}, sn = lt({}, fo), Hu = function(e) {
|
|
1468
1468
|
return sn = lt(sn, e);
|
|
1469
1469
|
}, ma = function(e) {
|
|
1470
1470
|
return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
|
|
@@ -1472,7 +1472,7 @@ var mo = [
|
|
|
1472
1472
|
for (t === void 0 && (t = 2), e = String(e); e.length < t; )
|
|
1473
1473
|
e = "0" + e;
|
|
1474
1474
|
return e;
|
|
1475
|
-
},
|
|
1475
|
+
}, Yu = {
|
|
1476
1476
|
D: function(e) {
|
|
1477
1477
|
return String(e.getDate());
|
|
1478
1478
|
},
|
|
@@ -1579,7 +1579,7 @@ var mo = [
|
|
|
1579
1579
|
}
|
|
1580
1580
|
return 0;
|
|
1581
1581
|
}
|
|
1582
|
-
],
|
|
1582
|
+
], Gu = {
|
|
1583
1583
|
D: ["day", Qe],
|
|
1584
1584
|
DD: ["day", Je],
|
|
1585
1585
|
Do: ["day", Qe + qt, function(e) {
|
|
@@ -1603,14 +1603,14 @@ var mo = [
|
|
|
1603
1603
|
mm: ["minute", Je],
|
|
1604
1604
|
s: ["second", Qe],
|
|
1605
1605
|
ss: ["second", Je],
|
|
1606
|
-
YYYY: ["year",
|
|
1606
|
+
YYYY: ["year", Bu],
|
|
1607
1607
|
S: ["millisecond", "\\d", function(e) {
|
|
1608
1608
|
return +e * 100;
|
|
1609
1609
|
}],
|
|
1610
1610
|
SS: ["millisecond", Je, function(e) {
|
|
1611
1611
|
return +e * 10;
|
|
1612
1612
|
}],
|
|
1613
|
-
SSS: ["millisecond",
|
|
1613
|
+
SSS: ["millisecond", Ku],
|
|
1614
1614
|
d: ha,
|
|
1615
1615
|
dd: ha,
|
|
1616
1616
|
ddd: pa,
|
|
@@ -1632,24 +1632,24 @@ var mo = [
|
|
|
1632
1632
|
shortTime: "HH:mm",
|
|
1633
1633
|
mediumTime: "HH:mm:ss",
|
|
1634
1634
|
longTime: "HH:mm:ss.SSS"
|
|
1635
|
-
},
|
|
1635
|
+
}, Wu = function(e) {
|
|
1636
1636
|
return lt(ln, e);
|
|
1637
|
-
},
|
|
1637
|
+
}, Zu = function(e, t, n) {
|
|
1638
1638
|
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()))
|
|
1639
1639
|
throw new Error("Invalid Date pass to format");
|
|
1640
1640
|
t = ln[t] || t;
|
|
1641
1641
|
var i = [];
|
|
1642
|
-
t = t.replace(
|
|
1642
|
+
t = t.replace(lo, function(o, s) {
|
|
1643
1643
|
return i.push(s), "@@@";
|
|
1644
1644
|
});
|
|
1645
1645
|
var a = lt(lt({}, sn), n);
|
|
1646
|
-
return t = t.replace(
|
|
1647
|
-
return
|
|
1646
|
+
return t = t.replace(so, function(o) {
|
|
1647
|
+
return Yu[o](e, a);
|
|
1648
1648
|
}), t.replace(/@@@/g, function() {
|
|
1649
1649
|
return i.shift();
|
|
1650
1650
|
});
|
|
1651
1651
|
};
|
|
1652
|
-
function
|
|
1652
|
+
function Xu(e, t, n) {
|
|
1653
1653
|
if (n === void 0 && (n = {}), typeof t != "string")
|
|
1654
1654
|
throw new Error("Invalid format in fecha parse");
|
|
1655
1655
|
if (t = ln[t] || t, e.length > 1e3)
|
|
@@ -1664,11 +1664,11 @@ function Ju(e, t, n) {
|
|
|
1664
1664
|
millisecond: 0,
|
|
1665
1665
|
isPm: null,
|
|
1666
1666
|
timezoneOffset: null
|
|
1667
|
-
}, o = [], s = [], r = t.replace(
|
|
1667
|
+
}, o = [], s = [], r = t.replace(lo, function(F, y) {
|
|
1668
1668
|
return s.push(ma(y)), "@@@";
|
|
1669
1669
|
}), d = {}, u = {};
|
|
1670
|
-
r = ma(r).replace(
|
|
1671
|
-
var y =
|
|
1670
|
+
r = ma(r).replace(so, function(F) {
|
|
1671
|
+
var y = Gu[F], v = y[0], g = y[1], V = y[3];
|
|
1672
1672
|
if (d[v])
|
|
1673
1673
|
throw new Error("Invalid format. " + v + " specified twice in format");
|
|
1674
1674
|
return d[v] = !0, V && (u[V] = !0), o.push(y), "(" + g + ")";
|
|
@@ -1691,27 +1691,27 @@ function Ju(e, t, n) {
|
|
|
1691
1691
|
var C;
|
|
1692
1692
|
if (a.timezoneOffset == null) {
|
|
1693
1693
|
C = new Date(a.year, a.month, a.day, a.hour, a.minute, a.second, a.millisecond);
|
|
1694
|
-
for (var
|
|
1694
|
+
for (var L = [
|
|
1695
1695
|
["month", "getMonth"],
|
|
1696
1696
|
["day", "getDate"],
|
|
1697
1697
|
["hour", "getHours"],
|
|
1698
1698
|
["minute", "getMinutes"],
|
|
1699
1699
|
["second", "getSeconds"]
|
|
1700
|
-
], b = 0, T =
|
|
1701
|
-
if (d[
|
|
1700
|
+
], b = 0, T = L.length; b < T; b++)
|
|
1701
|
+
if (d[L[b][0]] && a[L[b][0]] !== C[L[b][1]]())
|
|
1702
1702
|
return null;
|
|
1703
1703
|
} else if (C = new Date(Date.UTC(a.year, a.month, a.day, a.hour, a.minute - a.timezoneOffset, a.second, a.millisecond)), a.month > 11 || a.month < 0 || a.day > 31 || a.day < 1 || a.hour > 23 || a.hour < 0 || a.minute > 59 || a.minute < 0 || a.second > 59 || a.second < 0)
|
|
1704
1704
|
return null;
|
|
1705
1705
|
return C;
|
|
1706
1706
|
}
|
|
1707
1707
|
var _t = {
|
|
1708
|
-
format:
|
|
1709
|
-
parse:
|
|
1710
|
-
defaultI18n:
|
|
1711
|
-
setGlobalDateI18n:
|
|
1712
|
-
setGlobalDateMasks:
|
|
1708
|
+
format: Zu,
|
|
1709
|
+
parse: Xu,
|
|
1710
|
+
defaultI18n: fo,
|
|
1711
|
+
setGlobalDateI18n: Hu,
|
|
1712
|
+
setGlobalDateMasks: Wu
|
|
1713
1713
|
};
|
|
1714
|
-
function
|
|
1714
|
+
function Ju(e, t, n) {
|
|
1715
1715
|
switch (n.length) {
|
|
1716
1716
|
case 0:
|
|
1717
1717
|
return e.call(t);
|
|
@@ -1725,90 +1725,90 @@ function Qu(e, t, n) {
|
|
|
1725
1725
|
return e.apply(t, n);
|
|
1726
1726
|
}
|
|
1727
1727
|
var va = Math.max;
|
|
1728
|
-
function
|
|
1728
|
+
function Qu(e, t, n) {
|
|
1729
1729
|
return t = va(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
1730
1730
|
for (var i = arguments, a = -1, o = va(i.length - t, 0), s = Array(o); ++a < o; )
|
|
1731
1731
|
s[a] = i[t + a];
|
|
1732
1732
|
a = -1;
|
|
1733
1733
|
for (var r = Array(t + 1); ++a < t; )
|
|
1734
1734
|
r[a] = i[a];
|
|
1735
|
-
return r[t] = n(s),
|
|
1735
|
+
return r[t] = n(s), Ju(e, this, r);
|
|
1736
1736
|
};
|
|
1737
1737
|
}
|
|
1738
|
-
function
|
|
1738
|
+
function ec(e) {
|
|
1739
1739
|
return function() {
|
|
1740
1740
|
return e;
|
|
1741
1741
|
};
|
|
1742
1742
|
}
|
|
1743
|
-
var
|
|
1743
|
+
var tc = on ? function(e, t) {
|
|
1744
1744
|
return on(e, "toString", {
|
|
1745
1745
|
configurable: !0,
|
|
1746
1746
|
enumerable: !1,
|
|
1747
|
-
value:
|
|
1747
|
+
value: ec(t),
|
|
1748
1748
|
writable: !0
|
|
1749
1749
|
});
|
|
1750
|
-
} : ni,
|
|
1751
|
-
function
|
|
1750
|
+
} : ni, nc = 800, ic = 16, ac = Date.now;
|
|
1751
|
+
function oc(e) {
|
|
1752
1752
|
var t = 0, n = 0;
|
|
1753
1753
|
return function() {
|
|
1754
|
-
var i =
|
|
1754
|
+
var i = ac(), a = ic - (i - n);
|
|
1755
1755
|
if (n = i, a > 0) {
|
|
1756
|
-
if (++t >=
|
|
1756
|
+
if (++t >= nc)
|
|
1757
1757
|
return arguments[0];
|
|
1758
1758
|
} else
|
|
1759
1759
|
t = 0;
|
|
1760
1760
|
return e.apply(void 0, arguments);
|
|
1761
1761
|
};
|
|
1762
1762
|
}
|
|
1763
|
-
var
|
|
1764
|
-
function
|
|
1765
|
-
return
|
|
1763
|
+
var rc = oc(tc);
|
|
1764
|
+
function sc(e, t) {
|
|
1765
|
+
return rc(Qu(e, t, ni), e + "");
|
|
1766
1766
|
}
|
|
1767
|
-
function
|
|
1767
|
+
function lc(e, t, n) {
|
|
1768
1768
|
if (!Fe(n))
|
|
1769
1769
|
return !1;
|
|
1770
1770
|
var i = typeof t;
|
|
1771
1771
|
return (i == "number" ? hn(n) && Na(t, n.length) : i == "string" && t in n) ? yn(n[t], e) : !1;
|
|
1772
1772
|
}
|
|
1773
|
-
var
|
|
1773
|
+
var ho = Object.prototype, dc = ho.hasOwnProperty, uc = sc(function(e, t) {
|
|
1774
1774
|
e = Object(e);
|
|
1775
1775
|
var n = -1, i = t.length, a = i > 2 ? t[2] : void 0;
|
|
1776
|
-
for (a &&
|
|
1776
|
+
for (a && lc(t[0], t[1], a) && (i = 1); ++n < i; )
|
|
1777
1777
|
for (var o = t[n], s = Tn(o), r = -1, d = s.length; ++r < d; ) {
|
|
1778
1778
|
var u = s[r], p = e[u];
|
|
1779
|
-
(p === void 0 || yn(p,
|
|
1779
|
+
(p === void 0 || yn(p, ho[u]) && !dc.call(e, u)) && (e[u] = o[u]);
|
|
1780
1780
|
}
|
|
1781
1781
|
return e;
|
|
1782
|
-
}),
|
|
1783
|
-
function
|
|
1784
|
-
return typeof e == "number" &&
|
|
1782
|
+
}), cc = Pe.isFinite;
|
|
1783
|
+
function mc(e) {
|
|
1784
|
+
return typeof e == "number" && cc(e);
|
|
1785
1785
|
}
|
|
1786
|
-
var ba = 1 / 0,
|
|
1787
|
-
function
|
|
1786
|
+
var ba = 1 / 0, fc = 17976931348623157e292;
|
|
1787
|
+
function hc(e) {
|
|
1788
1788
|
if (!e)
|
|
1789
1789
|
return e === 0 ? e : 0;
|
|
1790
1790
|
if (e = Wn(e), e === ba || e === -ba) {
|
|
1791
1791
|
var t = e < 0 ? -1 : 1;
|
|
1792
|
-
return t *
|
|
1792
|
+
return t * fc;
|
|
1793
1793
|
}
|
|
1794
1794
|
return e === e ? e : 0;
|
|
1795
1795
|
}
|
|
1796
|
-
function
|
|
1797
|
-
var t =
|
|
1796
|
+
function pc(e) {
|
|
1797
|
+
var t = hc(e), n = t % 1;
|
|
1798
1798
|
return t === t ? n ? t - n : t : 0;
|
|
1799
1799
|
}
|
|
1800
|
-
function
|
|
1801
|
-
return typeof e == "number" && e ==
|
|
1800
|
+
function gc(e) {
|
|
1801
|
+
return typeof e == "number" && e == pc(e);
|
|
1802
1802
|
}
|
|
1803
|
-
var
|
|
1803
|
+
var yc = "[object Number]";
|
|
1804
1804
|
function dn(e) {
|
|
1805
|
-
return typeof e == "number" || it(e) && nt(e) ==
|
|
1805
|
+
return typeof e == "number" || it(e) && nt(e) == yc;
|
|
1806
1806
|
}
|
|
1807
|
-
const
|
|
1807
|
+
const vc = {
|
|
1808
1808
|
packageName: "forms",
|
|
1809
1809
|
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.",
|
|
1810
1810
|
disable_source_scope_change: "Changing the {scope} is not allowed when configuring a plugin under it."
|
|
1811
|
-
},
|
|
1811
|
+
}, bc = {
|
|
1812
1812
|
view_advanced: "View advanced parameters",
|
|
1813
1813
|
window_type: {
|
|
1814
1814
|
label: "Rate Limit Window Type",
|
|
@@ -1852,7 +1852,7 @@ const bc = {
|
|
|
1852
1852
|
title: "Configure your Redis",
|
|
1853
1853
|
address_example: "e.g. localhost:6379"
|
|
1854
1854
|
}
|
|
1855
|
-
},
|
|
1855
|
+
}, _c = {
|
|
1856
1856
|
field_is_required: "This field is required",
|
|
1857
1857
|
invalid_format: "Invalid format",
|
|
1858
1858
|
number_too_small: "The number is too small. Minimum: {0}",
|
|
@@ -1874,7 +1874,7 @@ const bc = {
|
|
|
1874
1874
|
invalid_card_number: "Invalid card number",
|
|
1875
1875
|
invalid_text_contain_number: "Invalid text - cannot contains numbers or special characters",
|
|
1876
1876
|
invalid_tex_contain_spec: "Invalid text - cannot contains special characters"
|
|
1877
|
-
},
|
|
1877
|
+
}, Tc = {
|
|
1878
1878
|
title: "Redis Configuration",
|
|
1879
1879
|
shared_configuration: {
|
|
1880
1880
|
label: "Use shared configuration",
|
|
@@ -1909,7 +1909,7 @@ const bc = {
|
|
|
1909
1909
|
alert: "Note: For custom plugins, we cannot determine the correct Redis configuration type. Please ensure you select the appropriate option manually.",
|
|
1910
1910
|
tooltip: "To apply a shared redis configuration, the redis fields must defined as Kong plugins in plugin schema."
|
|
1911
1911
|
}
|
|
1912
|
-
},
|
|
1912
|
+
}, Sc = {
|
|
1913
1913
|
auto_suggest: {
|
|
1914
1914
|
error: {
|
|
1915
1915
|
load_entity: "There was an error loading {entity}"
|
|
@@ -1919,13 +1919,13 @@ const bc = {
|
|
|
1919
1919
|
no_results: "No results",
|
|
1920
1920
|
loading: "Loading..."
|
|
1921
1921
|
}
|
|
1922
|
-
},
|
|
1922
|
+
}, wc = {
|
|
1923
1923
|
labels: {
|
|
1924
1924
|
on: "On",
|
|
1925
1925
|
off: "Off"
|
|
1926
1926
|
}
|
|
1927
1927
|
}, Re = {
|
|
1928
|
-
general:
|
|
1928
|
+
general: vc,
|
|
1929
1929
|
"post-function": {
|
|
1930
1930
|
tags: {
|
|
1931
1931
|
hint: "e.g. tag1, tag2, tag3",
|
|
@@ -1986,11 +1986,11 @@ const bc = {
|
|
|
1986
1986
|
newElementButtonLabel: "+ Add"
|
|
1987
1987
|
}
|
|
1988
1988
|
},
|
|
1989
|
-
rla:
|
|
1990
|
-
validators:
|
|
1991
|
-
redis:
|
|
1992
|
-
fields:
|
|
1993
|
-
vfg:
|
|
1989
|
+
rla: bc,
|
|
1990
|
+
validators: _c,
|
|
1991
|
+
redis: Tc,
|
|
1992
|
+
fields: Sc,
|
|
1993
|
+
vfg: wc
|
|
1994
1994
|
}, { t: le } = ke("en-us", Re), ve = {
|
|
1995
1995
|
fieldIsRequired: le("validators.field_is_required"),
|
|
1996
1996
|
invalidFormat: le("validators.invalid_format"),
|
|
@@ -2022,11 +2022,11 @@ const bc = {
|
|
|
2022
2022
|
required: (e, t, n, i = ve) => Ue(e, t.required, i) || [],
|
|
2023
2023
|
number: (e, t, n, i = ve) => {
|
|
2024
2024
|
let a = Ue(e, t.required, i);
|
|
2025
|
-
return a != null || (a = [],
|
|
2025
|
+
return a != null || (a = [], mc(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;
|
|
2026
2026
|
},
|
|
2027
2027
|
integer: (e, t, n, i = ve) => {
|
|
2028
2028
|
let a = Ue(e, t.required, i);
|
|
2029
|
-
return a != null || (a = [], a.concat(dt.number(e, t, n, i)),
|
|
2029
|
+
return a != null || (a = [], a.concat(dt.number(e, t, n, i)), gc(e) || a.push(ie(i.invalidInteger))), a;
|
|
2030
2030
|
},
|
|
2031
2031
|
double: (e, t, n, i = ve) => {
|
|
2032
2032
|
const a = Ue(e, t.required, i);
|
|
@@ -2102,7 +2102,7 @@ const bc = {
|
|
|
2102
2102
|
};
|
|
2103
2103
|
Object.keys(dt).forEach((e) => {
|
|
2104
2104
|
const t = dt[e];
|
|
2105
|
-
X(t) && (t.locale = (n) => (i, a, o) => t(i, a, o,
|
|
2105
|
+
X(t) && (t.locale = (n) => (i, a, o) => t(i, a, o, uc(n, ve)));
|
|
2106
2106
|
});
|
|
2107
2107
|
function _a(e) {
|
|
2108
2108
|
return st(e) ? dt[e] != null ? dt[e] : (console.warn(`'${e}' is not a validator function!`), null) : e;
|
|
@@ -2169,7 +2169,7 @@ const $e = {
|
|
|
2169
2169
|
}
|
|
2170
2170
|
const i = (a) => {
|
|
2171
2171
|
let o = [];
|
|
2172
|
-
we(
|
|
2172
|
+
we(oo(a), (r) => {
|
|
2173
2173
|
Array.isArray(r) && r.length > 0 ? o = o.concat(r) : st(r) && o.push(r);
|
|
2174
2174
|
}), X(this.schema.onValidated) && this.schema.onValidated.call(this, this.model, o, this.schema);
|
|
2175
2175
|
const s = o.length === 0;
|
|
@@ -2210,7 +2210,7 @@ const $e = {
|
|
|
2210
2210
|
},
|
|
2211
2211
|
getFieldID(e, t = !1) {
|
|
2212
2212
|
const n = G(this.formOptions, "fieldIdPrefix", "");
|
|
2213
|
-
return ri(e, n) + (t ? "-" +
|
|
2213
|
+
return ri(e, n) + (t ? "-" + ro() : "");
|
|
2214
2214
|
},
|
|
2215
2215
|
getLabelId(e) {
|
|
2216
2216
|
return `${this.getFieldID(e)}-label`;
|
|
@@ -2225,7 +2225,7 @@ const $e = {
|
|
|
2225
2225
|
return e;
|
|
2226
2226
|
}
|
|
2227
2227
|
}
|
|
2228
|
-
},
|
|
2228
|
+
}, vp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2229
2229
|
__proto__: null,
|
|
2230
2230
|
default: $e
|
|
2231
2231
|
}, Symbol.toStringTag, { value: "Module" })), W = (e, t) => {
|
|
@@ -2233,10 +2233,10 @@ const $e = {
|
|
|
2233
2233
|
for (const [i, a] of t)
|
|
2234
2234
|
n[i] = a;
|
|
2235
2235
|
return n;
|
|
2236
|
-
},
|
|
2236
|
+
}, Ec = {
|
|
2237
2237
|
class: "advanced-field-dropdown-wrapper",
|
|
2238
2238
|
"data-testid": "advanced-field-dropdown-wrapper"
|
|
2239
|
-
},
|
|
2239
|
+
}, Mc = { class: "material-icons" }, Ac = {
|
|
2240
2240
|
mixins: [$e],
|
|
2241
2241
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
2242
2242
|
emits: ["model-updated"],
|
|
@@ -2264,17 +2264,17 @@ const $e = {
|
|
|
2264
2264
|
this.$emit("model-updated", e, t);
|
|
2265
2265
|
}
|
|
2266
2266
|
}
|
|
2267
|
-
},
|
|
2267
|
+
}, Ic = /* @__PURE__ */ Object.assign(Ac, {
|
|
2268
2268
|
__name: "FieldAdvanced",
|
|
2269
2269
|
setup(e) {
|
|
2270
|
-
return (t, n) => (c(), _("div",
|
|
2270
|
+
return (t, n) => (c(), _("div", Ec, [
|
|
2271
2271
|
m("button", {
|
|
2272
2272
|
class: "advanced-field-title",
|
|
2273
2273
|
type: "button",
|
|
2274
2274
|
onClick: n[0] || (n[0] = (...i) => t.handleOpen && t.handleOpen(...i))
|
|
2275
2275
|
}, [
|
|
2276
|
-
m("i",
|
|
2277
|
-
m("span", null,
|
|
2276
|
+
m("i", Mc, N(t.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
|
|
2277
|
+
m("span", null, N(t.titleText), 1)
|
|
2278
2278
|
]),
|
|
2279
2279
|
m("div", {
|
|
2280
2280
|
class: ee(["advanced-field-dropdown", t.openClass])
|
|
@@ -2288,7 +2288,7 @@ const $e = {
|
|
|
2288
2288
|
], 2)
|
|
2289
2289
|
]));
|
|
2290
2290
|
}
|
|
2291
|
-
}),
|
|
2291
|
+
}), Cc = /* @__PURE__ */ W(Ic, [["__scopeId", "data-v-9bb032dd"]]), Oc = { class: "array-card-container" }, Fc = /* @__PURE__ */ he({
|
|
2292
2292
|
__name: "FieldArrayCardContainer",
|
|
2293
2293
|
props: {
|
|
2294
2294
|
model: {
|
|
@@ -2308,7 +2308,7 @@ const $e = {
|
|
|
2308
2308
|
setup(e) {
|
|
2309
2309
|
return zt("vfg-array-item-index", e.index), (n, i) => {
|
|
2310
2310
|
const a = D("KCard"), o = D("KButton");
|
|
2311
|
-
return c(), _("div",
|
|
2311
|
+
return c(), _("div", Oc, [
|
|
2312
2312
|
O(a, { class: "card" }, {
|
|
2313
2313
|
default: M(() => [
|
|
2314
2314
|
Oe(n.$slots, "default", {}, void 0, !0)
|
|
@@ -2328,7 +2328,7 @@ const $e = {
|
|
|
2328
2328
|
]);
|
|
2329
2329
|
};
|
|
2330
2330
|
}
|
|
2331
|
-
}),
|
|
2331
|
+
}), po = /* @__PURE__ */ W(Fc, [["__scopeId", "data-v-97302224"]]), kc = { class: "array-item-wrapper" }, Rc = { class: "array-item" }, Uc = { class: "array-item-after" }, Nc = /* @__PURE__ */ he({
|
|
2332
2332
|
__name: "FieldArrayItem",
|
|
2333
2333
|
props: {
|
|
2334
2334
|
model: {
|
|
@@ -2340,8 +2340,8 @@ const $e = {
|
|
|
2340
2340
|
setup(e) {
|
|
2341
2341
|
return (t, n) => {
|
|
2342
2342
|
const i = D("KButton");
|
|
2343
|
-
return c(), _("div",
|
|
2344
|
-
m("div",
|
|
2343
|
+
return c(), _("div", kc, [
|
|
2344
|
+
m("div", Rc, [
|
|
2345
2345
|
Oe(t.$slots, "default", {}, void 0, !0),
|
|
2346
2346
|
O(i, {
|
|
2347
2347
|
appearance: "tertiary",
|
|
@@ -2354,19 +2354,19 @@ const $e = {
|
|
|
2354
2354
|
_: 1
|
|
2355
2355
|
})
|
|
2356
2356
|
]),
|
|
2357
|
-
m("div",
|
|
2357
|
+
m("div", Uc, [
|
|
2358
2358
|
Oe(t.$slots, "after", {}, void 0, !0)
|
|
2359
2359
|
])
|
|
2360
2360
|
]);
|
|
2361
2361
|
};
|
|
2362
2362
|
}
|
|
2363
|
-
}),
|
|
2363
|
+
}), go = /* @__PURE__ */ W(Nc, [["__scopeId", "data-v-51d79db2"]]), Lc = { class: "multi-item-wrapper" }, Pc = /* @__PURE__ */ he({
|
|
2364
2364
|
__name: "FieldArrayMultiItem",
|
|
2365
2365
|
emits: ["remove-item"],
|
|
2366
2366
|
setup(e) {
|
|
2367
2367
|
return (t, n) => {
|
|
2368
2368
|
const i = D("KButton");
|
|
2369
|
-
return c(), _("div",
|
|
2369
|
+
return c(), _("div", Lc, [
|
|
2370
2370
|
Oe(t.$slots, "default", {}, void 0, !0),
|
|
2371
2371
|
O(i, {
|
|
2372
2372
|
appearance: "danger",
|
|
@@ -2383,15 +2383,15 @@ const $e = {
|
|
|
2383
2383
|
]);
|
|
2384
2384
|
};
|
|
2385
2385
|
}
|
|
2386
|
-
}),
|
|
2386
|
+
}), yo = /* @__PURE__ */ W(Pc, [["__scopeId", "data-v-b4fcf731"]]), Dc = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", Zn = (e) => e ? e.length === 36 && new RegExp(`^${Dc}$`).test(e) : !1, $c = (e) => ({
|
|
2387
2387
|
...e,
|
|
2388
2388
|
label: e.name,
|
|
2389
2389
|
value: e.id
|
|
2390
2390
|
});
|
|
2391
|
-
function
|
|
2391
|
+
function vo(e, t, n) {
|
|
2392
2392
|
return n ? je.SET_REFERRAL_VALUE : e && !t || !e && t ? je.UPDATE_ENTITY : e && t ? je.CREATE_FROM_ENTITY : je.CREATE_NOT_FROM_ENTITY;
|
|
2393
2393
|
}
|
|
2394
|
-
const Bn = 50,
|
|
2394
|
+
const Bn = 50, Vc = {
|
|
2395
2395
|
mixins: [$e],
|
|
2396
2396
|
inject: [Se],
|
|
2397
2397
|
emits: ["model-updated"],
|
|
@@ -2413,7 +2413,7 @@ const Bn = 50, jc = {
|
|
|
2413
2413
|
},
|
|
2414
2414
|
computed: {
|
|
2415
2415
|
fieldState() {
|
|
2416
|
-
return
|
|
2416
|
+
return vo(this.model[this.schema.model], this.associatedEntity || this.entityId, this.bypassSearch);
|
|
2417
2417
|
},
|
|
2418
2418
|
associatedEntity() {
|
|
2419
2419
|
return this.$route && this.$route.params[this.entity];
|
|
@@ -2516,8 +2516,8 @@ const Bn = 50, jc = {
|
|
|
2516
2516
|
return t ? e[t] : e.id;
|
|
2517
2517
|
}
|
|
2518
2518
|
}
|
|
2519
|
-
},
|
|
2520
|
-
function
|
|
2519
|
+
}, jc = ["data-testid", "data-testlabel"], qc = ["data-testid"], Kc = { class: "autosuggest__results_message" };
|
|
2520
|
+
function Bc(e, t, n, i, a, o) {
|
|
2521
2521
|
const s = D("KSelect");
|
|
2522
2522
|
return c(), U(me(e.schema.disabled ? "k-tooltip" : "div"), {
|
|
2523
2523
|
class: "field-wrap autosuggest",
|
|
@@ -2546,16 +2546,16 @@ function zc(e, t, n, i, a, o) {
|
|
|
2546
2546
|
class: "first-part",
|
|
2547
2547
|
"data-testid": r.id && `${r.id}-0`,
|
|
2548
2548
|
"data-testlabel": r.label
|
|
2549
|
-
},
|
|
2549
|
+
}, N(o.getSuggestionLabel(r).split(" - ")[0]), 9, jc),
|
|
2550
2550
|
(c(!0), _(Y, null, oe(o.getSuggestionLabel(r).split(" - ").slice(1), (d, u) => (c(), _("span", {
|
|
2551
2551
|
key: u,
|
|
2552
2552
|
class: "field-span",
|
|
2553
2553
|
"data-testid": r.id && `${r.id}-${u + 1}` || u + 1
|
|
2554
|
-
},
|
|
2554
|
+
}, N(d), 9, qc))), 128))
|
|
2555
2555
|
]),
|
|
2556
2556
|
empty: M(() => [
|
|
2557
|
-
m("div",
|
|
2558
|
-
m("span", null,
|
|
2557
|
+
m("div", Kc, [
|
|
2558
|
+
m("span", null, N(a.message), 1)
|
|
2559
2559
|
])
|
|
2560
2560
|
]),
|
|
2561
2561
|
_: 1
|
|
@@ -2564,12 +2564,12 @@ function zc(e, t, n, i, a, o) {
|
|
|
2564
2564
|
_: 1
|
|
2565
2565
|
}, 8, ["text"]);
|
|
2566
2566
|
}
|
|
2567
|
-
const
|
|
2568
|
-
var
|
|
2567
|
+
const bo = /* @__PURE__ */ W(Vc, [["render", Bc], ["__scopeId", "data-v-9b7636bc"]]), zc = "#6c7489", xc = "12px", Hc = "20px";
|
|
2568
|
+
var Yc = 4;
|
|
2569
2569
|
function Ta(e) {
|
|
2570
|
-
return jt(e,
|
|
2570
|
+
return jt(e, Yc);
|
|
2571
2571
|
}
|
|
2572
|
-
const
|
|
2572
|
+
const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc = { class: "autosuggest__results_message" }, Xc = /* @__PURE__ */ he({
|
|
2573
2573
|
__name: "AutoSuggest",
|
|
2574
2574
|
props: /* @__PURE__ */ Oi({
|
|
2575
2575
|
placeholder: { default: "" },
|
|
@@ -2584,7 +2584,7 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2584
2584
|
}),
|
|
2585
2585
|
emits: /* @__PURE__ */ Oi(["change", "query-change"], ["update:id"]),
|
|
2586
2586
|
setup(e) {
|
|
2587
|
-
const { t } = ke("en-us", Re), n =
|
|
2587
|
+
const { t } = ke("en-us", Re), n = Po(e, "id");
|
|
2588
2588
|
return (i, a) => {
|
|
2589
2589
|
const o = D("KSelect");
|
|
2590
2590
|
return c(), U(o, {
|
|
@@ -2609,17 +2609,17 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2609
2609
|
class: "item-label",
|
|
2610
2610
|
"data-testid": s.id && `${s.id}-0`,
|
|
2611
2611
|
"data-testlabel": s.label
|
|
2612
|
-
},
|
|
2612
|
+
}, N(s.label), 9, Gc)
|
|
2613
2613
|
], !0)
|
|
2614
2614
|
]),
|
|
2615
2615
|
"selected-item-template": M(({ item: s }) => [
|
|
2616
2616
|
Oe(i.$slots, "selected-item", { item: s }, () => [
|
|
2617
|
-
m("span",
|
|
2617
|
+
m("span", Wc, N(s.label), 1)
|
|
2618
2618
|
], !0)
|
|
2619
2619
|
]),
|
|
2620
2620
|
empty: M(() => [
|
|
2621
|
-
m("div",
|
|
2622
|
-
m("span", null,
|
|
2621
|
+
m("div", Zc, [
|
|
2622
|
+
m("span", null, N(i.emptyMessage || I(t)("fields.auto_suggest.no_results")), 1)
|
|
2623
2623
|
])
|
|
2624
2624
|
]),
|
|
2625
2625
|
_: 2
|
|
@@ -2634,10 +2634,10 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2634
2634
|
]), 1032, ["id", "modelValue", "disabled", "items", "loading", "placeholder"]);
|
|
2635
2635
|
};
|
|
2636
2636
|
}
|
|
2637
|
-
}),
|
|
2637
|
+
}), Jc = /* @__PURE__ */ W(Xc, [["__scopeId", "data-v-baeb3bb0"]]), Qc = 500, em = 50, tm = /* @__PURE__ */ he({
|
|
2638
2638
|
__name: "FieldScopedEntitySelect",
|
|
2639
2639
|
props: {
|
|
2640
|
-
transformItem: { type: Function, default:
|
|
2640
|
+
transformItem: { type: Function, default: $c },
|
|
2641
2641
|
allowUuidSearch: { type: Boolean, default: !1 },
|
|
2642
2642
|
placeholder: {},
|
|
2643
2643
|
fields: { default: () => [] },
|
|
@@ -2668,7 +2668,7 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2668
2668
|
} catch (g) {
|
|
2669
2669
|
if (v != null && v.aborted)
|
|
2670
2670
|
return;
|
|
2671
|
-
if (o.value = [],
|
|
2671
|
+
if (o.value = [], Yo(g) && g.status === 404) {
|
|
2672
2672
|
console.warn("unable to search with UUID", a.value, "for entity type", e.entity);
|
|
2673
2673
|
return;
|
|
2674
2674
|
}
|
|
@@ -2679,7 +2679,7 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2679
2679
|
}
|
|
2680
2680
|
}, b = wt((y) => {
|
|
2681
2681
|
if (y = y || "", a.value = y, !y.trim() && !i.value) {
|
|
2682
|
-
o.value =
|
|
2682
|
+
o.value = L(r.value);
|
|
2683
2683
|
return;
|
|
2684
2684
|
}
|
|
2685
2685
|
u.value && u.value.abort();
|
|
@@ -2689,8 +2689,8 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2689
2689
|
return;
|
|
2690
2690
|
}
|
|
2691
2691
|
A(y, v);
|
|
2692
|
-
},
|
|
2693
|
-
const { data: { data: y, next: v, offset: g } } = await e.getPartial(
|
|
2692
|
+
}, Qc, { leading: !0 }), k = async (y, v) => await e.getAll(y, v), q = async () => {
|
|
2693
|
+
const { data: { data: y, next: v, offset: g } } = await e.getPartial(em);
|
|
2694
2694
|
return (!v || !g) && (i.value = !0), s.value = y, r.value = y.map((V) => ({
|
|
2695
2695
|
...e.transformItem(V),
|
|
2696
2696
|
group: d("fields.auto_suggest.recently_created", { entity: e.entity })
|
|
@@ -2699,8 +2699,8 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2699
2699
|
Zn(y) && e.allowUuidSearch ? f(async () => await h(y)) : f(async () => await k(y, v.signal), v.signal);
|
|
2700
2700
|
}, C = (y) => {
|
|
2701
2701
|
let v = [];
|
|
2702
|
-
v =
|
|
2703
|
-
},
|
|
2702
|
+
v = L(r.value), y != null && y.trim() ? o.value = v.filter((g) => e.fields.some((V) => (g[V] || "").includes(y))) : o.value = v;
|
|
2703
|
+
}, L = (y) => e.selectedItem ? y.some((v) => v.value === e.selectedItem.value) ? y : [e.selectedItem, ...y] : y, T = (y) => {
|
|
2704
2704
|
o.value = r.value.filter((v) => v.id === y);
|
|
2705
2705
|
}, F = (y) => {
|
|
2706
2706
|
Zn(y) && e.allowUuidSearch ? T(y) : C(y);
|
|
@@ -2708,10 +2708,10 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2708
2708
|
return Xn(async () => {
|
|
2709
2709
|
await f(q);
|
|
2710
2710
|
const y = mn(() => e.selectedItem, (v) => {
|
|
2711
|
-
v && (o.value =
|
|
2711
|
+
v && (o.value = L(r.value)), y();
|
|
2712
2712
|
});
|
|
2713
|
-
o.value =
|
|
2714
|
-
}), (y, v) => (c(), U(
|
|
2713
|
+
o.value = L(r.value);
|
|
2714
|
+
}), (y, v) => (c(), U(Jc, {
|
|
2715
2715
|
id: y.id,
|
|
2716
2716
|
disabled: y.fieldDisabled,
|
|
2717
2717
|
"dom-id": y.domId,
|
|
@@ -2740,10 +2740,10 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2740
2740
|
} : void 0
|
|
2741
2741
|
]), 1032, ["id", "disabled", "dom-id", "empty-message", "loading", "placeholder", "readonly", "suggestions", "onQueryChange"]));
|
|
2742
2742
|
}
|
|
2743
|
-
}),
|
|
2743
|
+
}), nm = 1e3, im = {
|
|
2744
2744
|
components: {
|
|
2745
|
-
FieldScopedEntitySelect:
|
|
2746
|
-
SearchIcon:
|
|
2745
|
+
FieldScopedEntitySelect: tm,
|
|
2746
|
+
SearchIcon: xo
|
|
2747
2747
|
},
|
|
2748
2748
|
mixins: [$e],
|
|
2749
2749
|
inject: [Se],
|
|
@@ -2752,9 +2752,8 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2752
2752
|
const { t: e } = ke("en-us", Re);
|
|
2753
2753
|
return {
|
|
2754
2754
|
t: e,
|
|
2755
|
-
KUI_ICON_SIZE_40:
|
|
2756
|
-
KUI_COLOR_TEXT_NEUTRAL:
|
|
2757
|
-
LABEL_PLACEHOLDER: Sa
|
|
2755
|
+
KUI_ICON_SIZE_40: Hc,
|
|
2756
|
+
KUI_COLOR_TEXT_NEUTRAL: zc
|
|
2758
2757
|
};
|
|
2759
2758
|
},
|
|
2760
2759
|
data() {
|
|
@@ -2771,7 +2770,7 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2771
2770
|
},
|
|
2772
2771
|
computed: {
|
|
2773
2772
|
fieldState() {
|
|
2774
|
-
return
|
|
2773
|
+
return vo(this.model[this.schema.model], this.associatedEntity || this.entityId, this.bypassSearch);
|
|
2775
2774
|
},
|
|
2776
2775
|
associatedEntity() {
|
|
2777
2776
|
return this.$route && this.$route.params[this.entity];
|
|
@@ -2853,7 +2852,7 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2853
2852
|
if (!this[Se])
|
|
2854
2853
|
return console.warn("[@kong-ui-public/forms] No API service provided"), [];
|
|
2855
2854
|
const n = this[Se].getAllV2, { data: i } = await n(this.entity, {
|
|
2856
|
-
size:
|
|
2855
|
+
size: nm,
|
|
2857
2856
|
...e
|
|
2858
2857
|
}, t);
|
|
2859
2858
|
return i.data;
|
|
@@ -2864,7 +2863,7 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2864
2863
|
getSuggestionLabel(e) {
|
|
2865
2864
|
var n;
|
|
2866
2865
|
const t = ((n = this.schema) == null ? void 0 : n.labelField) || "id";
|
|
2867
|
-
return (t && e ? e[t] : "") ||
|
|
2866
|
+
return (t && e ? e[t] : "") || "–";
|
|
2868
2867
|
},
|
|
2869
2868
|
updateModel(e) {
|
|
2870
2869
|
this.$emit("model-updated", e != null && e.length ? e : null, this.schema.model);
|
|
@@ -2878,8 +2877,8 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2878
2877
|
return t ? e[t] : e.id;
|
|
2879
2878
|
}
|
|
2880
2879
|
}
|
|
2881
|
-
},
|
|
2882
|
-
function
|
|
2880
|
+
}, am = { class: "entity-suggestion-item" }, om = { class: "entity-label" }, rm = { class: "entity-id" }, sm = { class: "selected-entity-item" }, lm = { class: "selected-entity-label" };
|
|
2881
|
+
function dm(e, t, n, i, a, o) {
|
|
2883
2882
|
const s = D("SearchIcon"), r = D("FieldScopedEntitySelect");
|
|
2884
2883
|
return c(), U(me(e.schema.disabled ? "k-tooltip" : "div"), {
|
|
2885
2884
|
class: "field-wrap autosuggest",
|
|
@@ -2912,14 +2911,14 @@ function um(e, t, n, i, a, o) {
|
|
|
2912
2911
|
}, null, 8, ["color", "size"])
|
|
2913
2912
|
]),
|
|
2914
2913
|
item: M(({ item: d }) => [
|
|
2915
|
-
m("div",
|
|
2916
|
-
m("span",
|
|
2917
|
-
m("span",
|
|
2914
|
+
m("div", am, [
|
|
2915
|
+
m("span", om, N(d.label || "–"), 1),
|
|
2916
|
+
m("span", rm, N(d.id), 1)
|
|
2918
2917
|
])
|
|
2919
2918
|
]),
|
|
2920
2919
|
"selected-item": M(({ item: d }) => [
|
|
2921
|
-
m("span",
|
|
2922
|
-
m("span",
|
|
2920
|
+
m("span", sm, [
|
|
2921
|
+
m("span", lm, N(d.label || "–"), 1)
|
|
2923
2922
|
])
|
|
2924
2923
|
]),
|
|
2925
2924
|
_: 1
|
|
@@ -2928,8 +2927,8 @@ function um(e, t, n, i, a, o) {
|
|
|
2928
2927
|
_: 1
|
|
2929
2928
|
}, 8, ["text"]);
|
|
2930
2929
|
}
|
|
2931
|
-
const
|
|
2932
|
-
function
|
|
2930
|
+
const _o = /* @__PURE__ */ W(im, [["render", dm], ["__scopeId", "data-v-190658fd"]]);
|
|
2931
|
+
function um(e) {
|
|
2933
2932
|
const t = ae([]), n = ae(null), i = (h) => st(h) ? dt[h] != null ? dt[h] : (console.warn(`'${h}' is not a validator function!`), null) : h, a = z({
|
|
2934
2933
|
get() {
|
|
2935
2934
|
var A, C;
|
|
@@ -2963,10 +2962,10 @@ function cm(e) {
|
|
|
2963
2962
|
}
|
|
2964
2963
|
});
|
|
2965
2964
|
}
|
|
2966
|
-
const
|
|
2965
|
+
const L = (F) => {
|
|
2967
2966
|
var v, g;
|
|
2968
2967
|
let y = [];
|
|
2969
|
-
if (we(
|
|
2968
|
+
if (we(oo(F), (V) => {
|
|
2970
2969
|
Array.isArray(V) && V.length > 0 ? y = y.concat(V) : st(V) && y.push(V);
|
|
2971
2970
|
}), X((v = e.schema) == null ? void 0 : v.onValidated) && e.schema.onValidated((g = e.model) == null ? void 0 : g.value, y, e.schema), !h) {
|
|
2972
2971
|
const V = y.length === 0;
|
|
@@ -2974,37 +2973,37 @@ function cm(e) {
|
|
|
2974
2973
|
}
|
|
2975
2974
|
return F = y, y;
|
|
2976
2975
|
};
|
|
2977
|
-
return A ? Promise.all(C).then(
|
|
2976
|
+
return A ? Promise.all(C).then(L) : L(C);
|
|
2978
2977
|
}, s = () => {
|
|
2979
2978
|
X(n.value) ? n.value() : n.value = wt(
|
|
2980
2979
|
o,
|
|
2981
2980
|
G(e.schema, "validateDebounceTime", G(e.formOptions, "validateDebounceTime", 500))
|
|
2982
2981
|
);
|
|
2983
2982
|
}, r = (h, A) => {
|
|
2984
|
-
var
|
|
2983
|
+
var L, T, F;
|
|
2985
2984
|
let C = !1;
|
|
2986
|
-
X(e.schema.set) ? (e.schema.set((
|
|
2985
|
+
X(e.schema.set) ? (e.schema.set((L = e.model) == null ? void 0 : L.value, h), C = !0) : e.schema.model && (u(e.schema.model, h), C = !0), C && (e.emitModelUpdated && ((T = e.model) != null && T.value) && e.emitModelUpdated({ value: h, model: e.schema.model }), X(e.schema.onChanged) && e.schema.onChanged((F = e.model) == null ? void 0 : F.value, h, A, e.schema), G(e.formOptions, "validateAfterChanged", !1) === !0 && (G(e.schema, "validateDebounceTime", G(e.formOptions, "validateDebounceTime", 0)) > 0 ? s() : o()));
|
|
2987
2986
|
}, d = () => {
|
|
2988
2987
|
t.value.splice(0);
|
|
2989
2988
|
}, u = (h, A) => {
|
|
2990
2989
|
var v;
|
|
2991
2990
|
let C = h.replace(/\[(\w+)\]/g, ".$1");
|
|
2992
2991
|
C = C.replace(/^\./, "");
|
|
2993
|
-
let
|
|
2992
|
+
let L = ((v = e.model) == null ? void 0 : v.value) || {}, T = 0;
|
|
2994
2993
|
const F = C.split("."), y = F.length;
|
|
2995
2994
|
for (; T < y; ) {
|
|
2996
2995
|
const g = F[T];
|
|
2997
2996
|
if (T < y - 1)
|
|
2998
|
-
|
|
2997
|
+
L[g] !== void 0 || (L[g] = {}), L = L[g];
|
|
2999
2998
|
else {
|
|
3000
|
-
|
|
2999
|
+
L[g] = A;
|
|
3001
3000
|
return;
|
|
3002
3001
|
}
|
|
3003
3002
|
++T;
|
|
3004
3003
|
}
|
|
3005
3004
|
}, p = (h, A = !1) => {
|
|
3006
3005
|
const C = G(e.formOptions, "fieldIdPrefix", "");
|
|
3007
|
-
return ri(h, C) + (A ? "-" +
|
|
3006
|
+
return ri(h, C) + (A ? "-" + ro() : "");
|
|
3008
3007
|
}, f = (h) => `${p(h)}-label`, b = () => G(e.schema, "fieldClasses", []), k = (h) => e.formatValueToField && typeof e.formatValueToField == "function" ? e.formatValueToField(h) : h, q = (h) => e.formatValueToModel && typeof e.formatValueToModel == "function" ? e.formatValueToModel(h) : h;
|
|
3009
3008
|
return {
|
|
3010
3009
|
value: a,
|
|
@@ -3015,7 +3014,7 @@ function cm(e) {
|
|
|
3015
3014
|
updateModelValue: r
|
|
3016
3015
|
};
|
|
3017
3016
|
}
|
|
3018
|
-
function
|
|
3017
|
+
function cm(e) {
|
|
3019
3018
|
const t = [], n = (i) => {
|
|
3020
3019
|
const a = ["cluster-cache", "cluster_cache"];
|
|
3021
3020
|
for (const o of a)
|
|
@@ -3036,7 +3035,7 @@ function mm(e) {
|
|
|
3036
3035
|
redisModels: t.map((i) => i.model)
|
|
3037
3036
|
};
|
|
3038
3037
|
}
|
|
3039
|
-
function
|
|
3038
|
+
function mm(e, t) {
|
|
3040
3039
|
const n = new RegExp("(?<=config-redis-).*"), i = /Config\.Redis.*/;
|
|
3041
3040
|
return t.filter((o) => {
|
|
3042
3041
|
const s = o.model.match(n);
|
|
@@ -3052,10 +3051,10 @@ function fm(e, t) {
|
|
|
3052
3051
|
});
|
|
3053
3052
|
}
|
|
3054
3053
|
const qe = {
|
|
3055
|
-
useAbstractFields:
|
|
3056
|
-
useRedisPartial:
|
|
3057
|
-
useRedisNonStandardFields:
|
|
3058
|
-
},
|
|
3054
|
+
useAbstractFields: um,
|
|
3055
|
+
useRedisPartial: cm,
|
|
3056
|
+
useRedisNonStandardFields: mm
|
|
3057
|
+
}, fm = { class: "form-field-wrapper" }, hm = /* @__PURE__ */ he({
|
|
3059
3058
|
__name: "FieldInput",
|
|
3060
3059
|
props: {
|
|
3061
3060
|
disabled: {
|
|
@@ -3095,7 +3094,7 @@ const qe = {
|
|
|
3095
3094
|
},
|
|
3096
3095
|
emits: ["modelUpdated"],
|
|
3097
3096
|
setup(e, { expose: t, emit: n }) {
|
|
3098
|
-
const i = e, a = n, o = ut(i), s = an(
|
|
3097
|
+
const i = e, a = n, o = ut(i), s = an(Ne, void 0), { updateModelValue: r, getFieldID: d, clearValidationErrors: u, value: p } = qe.useAbstractFields({
|
|
3099
3098
|
model: o.model,
|
|
3100
3099
|
schema: i.schema,
|
|
3101
3100
|
formOptions: i.formOptions,
|
|
@@ -3139,7 +3138,7 @@ const qe = {
|
|
|
3139
3138
|
p.value = F, r(F, T);
|
|
3140
3139
|
}, A = (T) => {
|
|
3141
3140
|
p.value = T, r(T, T);
|
|
3142
|
-
}, C = ae(null),
|
|
3141
|
+
}, C = ae(null), L = () => {
|
|
3143
3142
|
var T;
|
|
3144
3143
|
X(C.value) && ((T = C.value) == null || T.flush());
|
|
3145
3144
|
};
|
|
@@ -3177,7 +3176,7 @@ const qe = {
|
|
|
3177
3176
|
f.value === "checkbox" ? console.warn("The use of 'checkbox' inputType with 'input' type fields is deprecated. Use 'checkbox' type instead.") : f.value === "radio" ? console.warn("The use of 'radio' inputType with 'input' type fields is deprecated. Use 'radio' type instead.") : f.value === "file" && console.warn("The 'file' type in input field is deprecated. Use 'file' field instead.");
|
|
3178
3177
|
}), (T, F) => {
|
|
3179
3178
|
const y = D("KInput");
|
|
3180
|
-
return c(), _("div",
|
|
3179
|
+
return c(), _("div", fm, [
|
|
3181
3180
|
O(y, et(T.$attrs, {
|
|
3182
3181
|
id: I(d)(e.schema),
|
|
3183
3182
|
autocomplete: e.schema.autocomplete,
|
|
@@ -3197,7 +3196,7 @@ const qe = {
|
|
|
3197
3196
|
"show-password-mask-toggle": f.value === "password",
|
|
3198
3197
|
type: f.value,
|
|
3199
3198
|
width: e.schema.width,
|
|
3200
|
-
onBlur:
|
|
3199
|
+
onBlur: L,
|
|
3201
3200
|
"onUpdate:modelValue": h
|
|
3202
3201
|
}), null, 16, ["id", "autocomplete", "class", "disabled", "help", "max", "maxlength", "min", "minlength", "model-value", "name", "pattern", "placeholder", "readonly", "required", "show-password-mask-toggle", "type", "width"]),
|
|
3203
3202
|
(c(), U(me(I(s)), {
|
|
@@ -3208,7 +3207,7 @@ const qe = {
|
|
|
3208
3207
|
]);
|
|
3209
3208
|
};
|
|
3210
3209
|
}
|
|
3211
|
-
}),
|
|
3210
|
+
}), To = /* @__PURE__ */ W(hm, [["__scopeId", "data-v-fe1132bb"]]), pm = {
|
|
3212
3211
|
name: "FieldMetric",
|
|
3213
3212
|
components: { AddIcon: Qn, TrashIcon: xt },
|
|
3214
3213
|
mixins: [$e],
|
|
@@ -3218,11 +3217,11 @@ const qe = {
|
|
|
3218
3217
|
contentVisible: !1
|
|
3219
3218
|
};
|
|
3220
3219
|
}
|
|
3221
|
-
},
|
|
3220
|
+
}, gm = {
|
|
3222
3221
|
key: 0,
|
|
3223
3222
|
class: "content"
|
|
3224
3223
|
};
|
|
3225
|
-
function
|
|
3224
|
+
function ym(e, t, n, i, a, o) {
|
|
3226
3225
|
const s = D("AddIcon"), r = D("TrashIcon"), d = D("KButton");
|
|
3227
3226
|
return c(), _("div", {
|
|
3228
3227
|
class: ee(["field-dropdown", { active: a.contentVisible }])
|
|
@@ -3231,12 +3230,12 @@ function vm(e, t, n, i, a, o) {
|
|
|
3231
3230
|
class: "title",
|
|
3232
3231
|
onClick: t[0] || (t[0] = (u) => a.contentVisible = !a.contentVisible)
|
|
3233
3232
|
}, [
|
|
3234
|
-
ce(
|
|
3233
|
+
ce(N(e.model.name ? e.model.name : "New Item") + " ", 1),
|
|
3235
3234
|
O(s, { class: "metric-add-icon" })
|
|
3236
3235
|
]),
|
|
3237
|
-
O(
|
|
3236
|
+
O(Do, { name: "slide-fade" }, {
|
|
3238
3237
|
default: M(() => [
|
|
3239
|
-
a.contentVisible ? (c(), _("div",
|
|
3238
|
+
a.contentVisible ? (c(), _("div", gm, [
|
|
3240
3239
|
Oe(e.$slots, "default"),
|
|
3241
3240
|
O(d, {
|
|
3242
3241
|
appearance: "tertiary",
|
|
@@ -3254,7 +3253,7 @@ function vm(e, t, n, i, a, o) {
|
|
|
3254
3253
|
})
|
|
3255
3254
|
], 2);
|
|
3256
3255
|
}
|
|
3257
|
-
const
|
|
3256
|
+
const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-container" }, bm = { key: 1 }, _m = ["id"], Tm = { key: 0 }, Sm = ["onUpdate:modelValue"], wm = { key: 1 }, Em = ["onUpdate:modelValue"], Mm = { key: 2 }, Am = ["onUpdate:modelValue"], Im = ["onClick"], Cm = {
|
|
3258
3257
|
mixins: [$e],
|
|
3259
3258
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
3260
3259
|
emits: ["modelUpdated"],
|
|
@@ -3292,46 +3291,46 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3292
3291
|
this.$emit("modelUpdated", e, t);
|
|
3293
3292
|
}
|
|
3294
3293
|
}
|
|
3295
|
-
},
|
|
3294
|
+
}, Om = /* @__PURE__ */ Object.assign(Cm, {
|
|
3296
3295
|
__name: "FieldObject",
|
|
3297
3296
|
setup(e) {
|
|
3298
3297
|
return (t, n) => {
|
|
3299
|
-
const i =
|
|
3300
|
-
return Ee((c(), _("div",
|
|
3298
|
+
const i = Aa("attributes");
|
|
3299
|
+
return Ee((c(), _("div", vm, [
|
|
3301
3300
|
t.schema.schema ? (c(), U(ue, {
|
|
3302
3301
|
key: 0,
|
|
3303
3302
|
model: t.value,
|
|
3304
3303
|
options: t.formOptions,
|
|
3305
3304
|
schema: t.schema.schema,
|
|
3306
3305
|
onModelUpdated: t.updateModel
|
|
3307
|
-
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : (c(), _("div",
|
|
3306
|
+
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : (c(), _("div", bm, [
|
|
3308
3307
|
m("table", {
|
|
3309
3308
|
id: t.getFieldID(t.schema),
|
|
3310
3309
|
class: ee(t.schema.fieldClasses)
|
|
3311
3310
|
}, [
|
|
3312
3311
|
(c(!0), _(Y, null, oe(t.value, (a, o) => (c(), _("tr", { key: o }, [
|
|
3313
|
-
m("td", null,
|
|
3314
|
-
t.keyTypes[o] === "string" ? (c(), _("td",
|
|
3312
|
+
m("td", null, N(o), 1),
|
|
3313
|
+
t.keyTypes[o] === "string" ? (c(), _("td", Tm, [
|
|
3315
3314
|
Ee(m("input", {
|
|
3316
3315
|
"onUpdate:modelValue": (s) => t.value[o] = s,
|
|
3317
3316
|
type: "text"
|
|
3318
|
-
}, null, 8,
|
|
3317
|
+
}, null, 8, Sm), [
|
|
3319
3318
|
[$t, t.value[o]]
|
|
3320
3319
|
])
|
|
3321
3320
|
])) : B("", !0),
|
|
3322
|
-
t.keyTypes[o] === "boolean" ? (c(), _("td",
|
|
3321
|
+
t.keyTypes[o] === "boolean" ? (c(), _("td", wm, [
|
|
3323
3322
|
Ee(m("input", {
|
|
3324
3323
|
"onUpdate:modelValue": (s) => t.value[o] = s,
|
|
3325
3324
|
type: "checkbox"
|
|
3326
|
-
}, null, 8,
|
|
3327
|
-
[
|
|
3325
|
+
}, null, 8, Em), [
|
|
3326
|
+
[$o, t.value[o]]
|
|
3328
3327
|
])
|
|
3329
3328
|
])) : B("", !0),
|
|
3330
|
-
t.keyTypes[o] === "number" ? (c(), _("td",
|
|
3329
|
+
t.keyTypes[o] === "number" ? (c(), _("td", Mm, [
|
|
3331
3330
|
Ee(m("input", {
|
|
3332
3331
|
"onUpdate:modelValue": (s) => t.value[o] = s,
|
|
3333
3332
|
type: "number"
|
|
3334
|
-
}, null, 8,
|
|
3333
|
+
}, null, 8, Am), [
|
|
3335
3334
|
[$t, t.value[o]]
|
|
3336
3335
|
])
|
|
3337
3336
|
])) : B("", !0),
|
|
@@ -3340,10 +3339,10 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3340
3339
|
type: "button",
|
|
3341
3340
|
value: "x",
|
|
3342
3341
|
onClick: (s) => t.removeElement(o)
|
|
3343
|
-
}, null, 8,
|
|
3342
|
+
}, null, 8, Im)
|
|
3344
3343
|
])
|
|
3345
3344
|
]))), 128))
|
|
3346
|
-
], 10,
|
|
3345
|
+
], 10, _m),
|
|
3347
3346
|
Ee(m("select", {
|
|
3348
3347
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => t.newKeyType = a)
|
|
3349
3348
|
}, n[3] || (n[3] = [
|
|
@@ -3351,7 +3350,7 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3351
3350
|
m("option", { value: "number" }, " Number ", -1),
|
|
3352
3351
|
m("option", { value: "boolean" }, " Boolean ", -1)
|
|
3353
3352
|
]), 512), [
|
|
3354
|
-
[
|
|
3353
|
+
[Vo, t.newKeyType]
|
|
3355
3354
|
]),
|
|
3356
3355
|
Ee(m("input", {
|
|
3357
3356
|
"onUpdate:modelValue": n[1] || (n[1] = (a) => t.newKeyName = a),
|
|
@@ -3370,18 +3369,18 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3370
3369
|
]);
|
|
3371
3370
|
};
|
|
3372
3371
|
}
|
|
3373
|
-
}),
|
|
3372
|
+
}), wo = /* @__PURE__ */ W(Om, [["__scopeId", "data-v-4ace4106"]]), Fm = ["id"], km = ["data-testid"], Rm = { class: "item-wrapper" }, Um = { class: "index-wrapper" }, Nm = { key: 0 }, Lm = { key: 1 }, Pm = ["onUpdate:modelValue", "placeholder", "type", "onInput"], Dm = {
|
|
3374
3373
|
key: 0,
|
|
3375
3374
|
class: "hint"
|
|
3376
|
-
},
|
|
3375
|
+
}, $m = { class: "input-item" }, Vm = ["placeholder"], jm = {
|
|
3377
3376
|
key: 0,
|
|
3378
3377
|
class: "hint"
|
|
3379
|
-
},
|
|
3378
|
+
}, qm = {
|
|
3380
3379
|
mixins: [$e],
|
|
3381
3380
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
3382
3381
|
inject: {
|
|
3383
3382
|
autofillSlot: {
|
|
3384
|
-
from:
|
|
3383
|
+
from: Ne,
|
|
3385
3384
|
default: void 0
|
|
3386
3385
|
}
|
|
3387
3386
|
},
|
|
@@ -3475,7 +3474,7 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3475
3474
|
this.$emit("model-updated", this.model[this.schema.model], t);
|
|
3476
3475
|
}
|
|
3477
3476
|
}
|
|
3478
|
-
},
|
|
3477
|
+
}, Km = /* @__PURE__ */ Object.assign(qm, {
|
|
3479
3478
|
__name: "FieldObjectAdvanced",
|
|
3480
3479
|
setup(e) {
|
|
3481
3480
|
return (t, n) => {
|
|
@@ -3489,9 +3488,9 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3489
3488
|
"data-testid": `field-object-key-${o}`
|
|
3490
3489
|
}, [
|
|
3491
3490
|
m("div", null, [
|
|
3492
|
-
m("div",
|
|
3493
|
-
m("div",
|
|
3494
|
-
m("strong", null,
|
|
3491
|
+
m("div", Rm, [
|
|
3492
|
+
m("div", Um, [
|
|
3493
|
+
m("strong", null, N(o), 1),
|
|
3495
3494
|
m("div", null, [
|
|
3496
3495
|
O(i, {
|
|
3497
3496
|
appearance: "tertiary",
|
|
@@ -3515,17 +3514,17 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3515
3514
|
schema: t.subSchema,
|
|
3516
3515
|
onModelUpdated: t.updateModel
|
|
3517
3516
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
3518
|
-
])) : (c(), _("div",
|
|
3517
|
+
])) : (c(), _("div", Lm, [
|
|
3519
3518
|
Ee(m("input", {
|
|
3520
3519
|
"onUpdate:modelValue": (s) => t.value[o] = s,
|
|
3521
3520
|
class: "form-control",
|
|
3522
3521
|
placeholder: t.schema.fields && t.schema.fields[0].schema.placeholder,
|
|
3523
3522
|
type: t.valueInputType,
|
|
3524
3523
|
onInput: (s) => t.updateModel(t.value[o], t.model[t.schema.model])
|
|
3525
|
-
}, null, 40,
|
|
3526
|
-
[
|
|
3524
|
+
}, null, 40, Pm), [
|
|
3525
|
+
[Ia, t.value[o]]
|
|
3527
3526
|
]),
|
|
3528
|
-
t.schema.fields && t.schema.fields[0].schema.hint ? (c(), _("p",
|
|
3527
|
+
t.schema.fields && t.schema.fields[0].schema.hint ? (c(), _("p", Dm, N(t.schema.fields[0].schema.hint), 1)) : B("", !0),
|
|
3529
3528
|
(c(), U(me(t.autofillSlot), {
|
|
3530
3529
|
schema: t.schema.fields && t.schema.fields[0].schema || t.schema.values,
|
|
3531
3530
|
update: (s) => t.value[o] = s,
|
|
@@ -3535,18 +3534,18 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3535
3534
|
n[2] || (n[2] = m("hr", { class: "wide-divider" }, null, -1))
|
|
3536
3535
|
])
|
|
3537
3536
|
])
|
|
3538
|
-
], 8,
|
|
3537
|
+
], 8, km))), 128)),
|
|
3539
3538
|
m("div", {
|
|
3540
3539
|
class: ee(["input-wrapper", { indent: t.hasObjectKeys }])
|
|
3541
3540
|
}, [
|
|
3542
|
-
m("div",
|
|
3541
|
+
m("div", $m, [
|
|
3543
3542
|
Ee(m("input", {
|
|
3544
3543
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => t.newKeyName = a),
|
|
3545
3544
|
class: "form-control",
|
|
3546
3545
|
"data-testid": "keyname-input",
|
|
3547
3546
|
placeholder: t.schema.placeholder,
|
|
3548
3547
|
type: "text"
|
|
3549
|
-
}, null, 8,
|
|
3548
|
+
}, null, 8, Vm), [
|
|
3550
3549
|
[$t, t.newKeyName]
|
|
3551
3550
|
]),
|
|
3552
3551
|
O(i, {
|
|
@@ -3556,17 +3555,17 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3556
3555
|
onClick: t.addKey
|
|
3557
3556
|
}, {
|
|
3558
3557
|
default: M(() => [
|
|
3559
|
-
ce(" + Add " +
|
|
3558
|
+
ce(" + Add " + N(t.schema.buttonLabel || t.schema.label), 1)
|
|
3560
3559
|
]),
|
|
3561
3560
|
_: 1
|
|
3562
3561
|
}, 8, ["disabled", "onClick"])
|
|
3563
3562
|
]),
|
|
3564
|
-
t.schema.hintText ? (c(), _("p",
|
|
3563
|
+
t.schema.hintText ? (c(), _("p", jm, N(t.schema.hintText), 1)) : B("", !0)
|
|
3565
3564
|
], 2)
|
|
3566
|
-
], 10,
|
|
3565
|
+
], 10, Fm);
|
|
3567
3566
|
};
|
|
3568
3567
|
}
|
|
3569
|
-
}),
|
|
3568
|
+
}), Eo = /* @__PURE__ */ W(Km, [["__scopeId", "data-v-41b00aff"]]), Bm = { class: "radio-selection-group" }, zm = /* @__PURE__ */ he({
|
|
3570
3569
|
__name: "FieldRadio",
|
|
3571
3570
|
props: {
|
|
3572
3571
|
disabled: {
|
|
@@ -3623,7 +3622,7 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3623
3622
|
};
|
|
3624
3623
|
return (p, f) => {
|
|
3625
3624
|
const b = D("KRadio");
|
|
3626
|
-
return c(), _("div",
|
|
3625
|
+
return c(), _("div", Bm, [
|
|
3627
3626
|
(c(!0), _(Y, null, oe(e.schema.values, (k, q) => (c(), U(b, {
|
|
3628
3627
|
id: e.schema.name + "-" + q,
|
|
3629
3628
|
key: k.value,
|
|
@@ -3639,7 +3638,7 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3639
3638
|
]);
|
|
3640
3639
|
};
|
|
3641
3640
|
}
|
|
3642
|
-
}),
|
|
3641
|
+
}), Mo = /* @__PURE__ */ W(zm, [["__scopeId", "data-v-42b9c6ac"]]), Ao = /* @__PURE__ */ he({
|
|
3643
3642
|
__name: "FieldSelect",
|
|
3644
3643
|
props: {
|
|
3645
3644
|
disabled: {
|
|
@@ -3728,7 +3727,7 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3728
3727
|
return c(), U(C, {
|
|
3729
3728
|
id: I(d)(e.schema),
|
|
3730
3729
|
modelValue: I(p),
|
|
3731
|
-
"onUpdate:modelValue": A[0] || (A[0] = (
|
|
3730
|
+
"onUpdate:modelValue": A[0] || (A[0] = (L) => Et(p) ? p.value = L : null),
|
|
3732
3731
|
class: ee(e.schema.fieldClasses),
|
|
3733
3732
|
clearable: !e.schema.required,
|
|
3734
3733
|
disabled: e.disabled || void 0,
|
|
@@ -3742,25 +3741,25 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3742
3741
|
}, null, 8, ["id", "modelValue", "class", "clearable", "disabled", "items", "kpop-attributes", "label-attributes", "name", "placeholder", "required"]);
|
|
3743
3742
|
};
|
|
3744
3743
|
}
|
|
3745
|
-
}),
|
|
3744
|
+
}), xm = {
|
|
3746
3745
|
name: "FieldArray",
|
|
3747
3746
|
components: {
|
|
3748
|
-
FieldArrayItem:
|
|
3749
|
-
FieldArrayMultiItem:
|
|
3750
|
-
FieldSelect:
|
|
3751
|
-
FieldMetric:
|
|
3752
|
-
FieldObject:
|
|
3753
|
-
FieldObjectAdvanced:
|
|
3754
|
-
FieldAutoSuggest:
|
|
3755
|
-
FieldAutoSuggestV2:
|
|
3756
|
-
FieldRadio:
|
|
3757
|
-
FieldArrayCardContainer:
|
|
3758
|
-
FieldInput:
|
|
3747
|
+
FieldArrayItem: go,
|
|
3748
|
+
FieldArrayMultiItem: yo,
|
|
3749
|
+
FieldSelect: Ao,
|
|
3750
|
+
FieldMetric: So,
|
|
3751
|
+
FieldObject: wo,
|
|
3752
|
+
FieldObjectAdvanced: Eo,
|
|
3753
|
+
FieldAutoSuggest: bo,
|
|
3754
|
+
FieldAutoSuggestV2: _o,
|
|
3755
|
+
FieldRadio: Mo,
|
|
3756
|
+
FieldArrayCardContainer: po,
|
|
3757
|
+
FieldInput: To
|
|
3759
3758
|
},
|
|
3760
3759
|
mixins: [$e],
|
|
3761
3760
|
inject: {
|
|
3762
3761
|
autofillSlot: {
|
|
3763
|
-
from:
|
|
3762
|
+
from: Ne,
|
|
3764
3763
|
default: void 0
|
|
3765
3764
|
}
|
|
3766
3765
|
},
|
|
@@ -3808,8 +3807,8 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3808
3807
|
((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, s) => s === t ? n : o);
|
|
3809
3808
|
}
|
|
3810
3809
|
}
|
|
3811
|
-
},
|
|
3812
|
-
function
|
|
3810
|
+
}, Hm = ["id"], Ym = { key: 1 }, Gm = ["onUpdate:modelValue", "aria-labelledby", "type"], Wm = ["onUpdate:modelValue", "aria-labelledby"];
|
|
3811
|
+
function Zm(e, t, n, i, a, o) {
|
|
3813
3812
|
const s = D("KTextArea"), r = D("KInput"), d = D("KButton");
|
|
3814
3813
|
return e.schema ? (c(), _("div", {
|
|
3815
3814
|
key: 0,
|
|
@@ -3836,7 +3835,7 @@ function Xm(e, t, n, i, a, o) {
|
|
|
3836
3835
|
}, null, 40, ["form-options", "model", "schema", "onModelUpdated"]))
|
|
3837
3836
|
]),
|
|
3838
3837
|
_: 2
|
|
3839
|
-
}, 1064, ["index", "model", "schema", "onRemoveItem"])) : e.schema.items ? (c(), _("span",
|
|
3838
|
+
}, 1064, ["index", "model", "schema", "onRemoveItem"])) : e.schema.items ? (c(), _("span", Ym, [
|
|
3840
3839
|
(c(), U(me(o.getFieldComponent(e.schema.items)), {
|
|
3841
3840
|
"form-options": e.formOptions,
|
|
3842
3841
|
model: u,
|
|
@@ -3894,8 +3893,8 @@ function Xm(e, t, n, i, a, o) {
|
|
|
3894
3893
|
"aria-labelledby": e.getLabelId(e.schema)
|
|
3895
3894
|
}, { ref_for: !0 }, e.schema.inputAttributes, {
|
|
3896
3895
|
type: ((f = e.schema.inputAttributes) == null ? void 0 : f.type) || "text"
|
|
3897
|
-
}), null, 16,
|
|
3898
|
-
[
|
|
3896
|
+
}), null, 16, Gm)), [
|
|
3897
|
+
[Ia, e.value[p]]
|
|
3899
3898
|
])
|
|
3900
3899
|
];
|
|
3901
3900
|
}),
|
|
@@ -3905,7 +3904,7 @@ function Xm(e, t, n, i, a, o) {
|
|
|
3905
3904
|
"onUpdate:modelValue": (f) => e.value[p] = f,
|
|
3906
3905
|
"aria-labelledby": e.getLabelId(e.schema),
|
|
3907
3906
|
type: "text"
|
|
3908
|
-
}), null, 16,
|
|
3907
|
+
}), null, 16, Wm), [
|
|
3909
3908
|
[$t, e.value[p]]
|
|
3910
3909
|
]),
|
|
3911
3910
|
(c(), U(me(o.autofillSlot), {
|
|
@@ -3923,13 +3922,13 @@ function Xm(e, t, n, i, a, o) {
|
|
|
3923
3922
|
onClick: o.newElement
|
|
3924
3923
|
}, {
|
|
3925
3924
|
default: M(() => [
|
|
3926
|
-
ce(
|
|
3925
|
+
ce(N(e.schema.newElementButtonLabel || n.newElementButtonLabel), 1)
|
|
3927
3926
|
]),
|
|
3928
3927
|
_: 1
|
|
3929
3928
|
}, 8, ["class", "data-testid", "onClick"])
|
|
3930
|
-
], 10,
|
|
3929
|
+
], 10, Hm)) : B("", !0);
|
|
3931
3930
|
}
|
|
3932
|
-
const
|
|
3931
|
+
const Xm = /* @__PURE__ */ W(xm, [["render", Zm], ["__scopeId", "data-v-ae802bb2"]]), Jm = { class: "form-field-wrapper field-checkbox" }, Qm = /* @__PURE__ */ he({
|
|
3933
3932
|
__name: "FieldCheckbox",
|
|
3934
3933
|
props: {
|
|
3935
3934
|
disabled: {
|
|
@@ -3981,7 +3980,7 @@ const Jm = /* @__PURE__ */ W(Hm, [["render", Xm], ["__scopeId", "data-v-ae802bb2
|
|
|
3981
3980
|
clearValidationErrors: d
|
|
3982
3981
|
}), (u, p) => {
|
|
3983
3982
|
const f = D("KCheckbox");
|
|
3984
|
-
return c(), _("div",
|
|
3983
|
+
return c(), _("div", Jm, [
|
|
3985
3984
|
O(f, et(u.$attrs, {
|
|
3986
3985
|
id: I(s)(e.schema),
|
|
3987
3986
|
modelValue: I(r),
|
|
@@ -3998,10 +3997,10 @@ const Jm = /* @__PURE__ */ W(Hm, [["render", Xm], ["__scopeId", "data-v-ae802bb2
|
|
|
3998
3997
|
]);
|
|
3999
3998
|
};
|
|
4000
3999
|
}
|
|
4001
|
-
}),
|
|
4002
|
-
function
|
|
4003
|
-
const s =
|
|
4004
|
-
return Ee((c(), _("div",
|
|
4000
|
+
}), ef = /* @__PURE__ */ W(Qm, [["__scopeId", "data-v-6b4ee1cd"]]), tf = { class: "wrapper" }, nf = ["disabled"], af = ["id", "checked", "disabled", "onChange", "name"], of = ["disabled"], rf = { class: "info" }, sf = { class: "dropList" }, lf = ["id", "checked", "disabled", "onChange", "name"];
|
|
4001
|
+
function df(e, t, n, i, a, o) {
|
|
4002
|
+
const s = Aa("attributes");
|
|
4003
|
+
return Ee((c(), _("div", tf, [
|
|
4005
4004
|
e.schema.listBox ? (c(), _("div", {
|
|
4006
4005
|
key: 0,
|
|
4007
4006
|
class: "listbox form-control",
|
|
@@ -4018,13 +4017,13 @@ function uf(e, t, n, i, a, o) {
|
|
|
4018
4017
|
disabled: e.disabled || null,
|
|
4019
4018
|
onChange: (d) => o.onChanged(d, r),
|
|
4020
4019
|
name: o.getInputName(r)
|
|
4021
|
-
}, null, 40,
|
|
4020
|
+
}, null, 40, af), [
|
|
4022
4021
|
[s, "input"]
|
|
4023
4022
|
]),
|
|
4024
|
-
ce(
|
|
4023
|
+
ce(N(o.getItemName(r)), 1)
|
|
4025
4024
|
])
|
|
4026
4025
|
], 2))), 256))
|
|
4027
|
-
], 8,
|
|
4026
|
+
], 8, nf)) : B("", !0),
|
|
4028
4027
|
e.schema.listBox ? B("", !0) : (c(), _("div", {
|
|
4029
4028
|
key: 1,
|
|
4030
4029
|
class: "combobox form-control",
|
|
@@ -4034,10 +4033,10 @@ function uf(e, t, n, i, a, o) {
|
|
|
4034
4033
|
class: ee(["mainRow", { expanded: a.comboExpanded }]),
|
|
4035
4034
|
onClick: t[0] || (t[0] = (...r) => o.onExpandCombo && o.onExpandCombo(...r))
|
|
4036
4035
|
}, [
|
|
4037
|
-
m("div",
|
|
4036
|
+
m("div", rf, N(o.selectedCount) + " selected", 1),
|
|
4038
4037
|
t[1] || (t[1] = m("div", { class: "arrow" }, null, -1))
|
|
4039
4038
|
], 2),
|
|
4040
|
-
m("div",
|
|
4039
|
+
m("div", sf, [
|
|
4041
4040
|
a.comboExpanded ? (c(!0), _(Y, { key: 0 }, oe(o.items, (r) => (c(), _("div", {
|
|
4042
4041
|
class: ee(["list-row", { "is-checked": o.isItemChecked(r) }])
|
|
4043
4042
|
}, [
|
|
@@ -4049,19 +4048,19 @@ function uf(e, t, n, i, a, o) {
|
|
|
4049
4048
|
disabled: e.disabled || null,
|
|
4050
4049
|
onChange: (d) => o.onChanged(d, r),
|
|
4051
4050
|
name: o.getInputName(r)
|
|
4052
|
-
}, null, 40,
|
|
4051
|
+
}, null, 40, lf), [
|
|
4053
4052
|
[s, "input"]
|
|
4054
4053
|
]),
|
|
4055
|
-
ce(
|
|
4054
|
+
ce(N(o.getItemName(r)), 1)
|
|
4056
4055
|
])
|
|
4057
4056
|
], 2))), 256)) : B("", !0)
|
|
4058
4057
|
])
|
|
4059
|
-
], 8,
|
|
4058
|
+
], 8, of))
|
|
4060
4059
|
])), [
|
|
4061
4060
|
[s, "wrapper"]
|
|
4062
4061
|
]);
|
|
4063
4062
|
}
|
|
4064
|
-
const
|
|
4063
|
+
const uf = {
|
|
4065
4064
|
mixins: [$e],
|
|
4066
4065
|
data() {
|
|
4067
4066
|
return {
|
|
@@ -4117,13 +4116,13 @@ const cf = {
|
|
|
4117
4116
|
this.comboExpanded = !this.comboExpanded;
|
|
4118
4117
|
}
|
|
4119
4118
|
}
|
|
4120
|
-
},
|
|
4119
|
+
}, cf = /* @__PURE__ */ W(uf, [["render", df]]), mf = {
|
|
4121
4120
|
name: "FieldKeyValuePairs",
|
|
4122
4121
|
components: { TrashIcon: xt },
|
|
4123
4122
|
mixins: [$e],
|
|
4124
4123
|
inject: {
|
|
4125
4124
|
autofillSlot: {
|
|
4126
|
-
from:
|
|
4125
|
+
from: Ne,
|
|
4127
4126
|
default: void 0
|
|
4128
4127
|
}
|
|
4129
4128
|
},
|
|
@@ -4171,15 +4170,15 @@ const cf = {
|
|
|
4171
4170
|
this.pairs.splice(e, 1);
|
|
4172
4171
|
}
|
|
4173
4172
|
}
|
|
4174
|
-
},
|
|
4175
|
-
function
|
|
4173
|
+
}, ff = { class: "key-value-pairs-editor" }, hf = { class: "pair-item-cell" }, pf = ["data-testid", "placeholder", "value", "onInput"], gf = { class: "pair-item-cell" }, yf = ["data-testid", "placeholder", "value", "onInput"];
|
|
4174
|
+
function vf(e, t, n, i, a, o) {
|
|
4176
4175
|
const s = D("TrashIcon"), r = D("KButton");
|
|
4177
|
-
return c(), _("div",
|
|
4176
|
+
return c(), _("div", ff, [
|
|
4178
4177
|
(c(!0), _(Y, null, oe(a.pairs, (d, u) => (c(), _("div", {
|
|
4179
4178
|
key: u,
|
|
4180
4179
|
class: "pair-item"
|
|
4181
4180
|
}, [
|
|
4182
|
-
m("div",
|
|
4181
|
+
m("div", hf, [
|
|
4183
4182
|
m("input", {
|
|
4184
4183
|
class: "form-control",
|
|
4185
4184
|
"data-testid": `${e.getFieldID(e.schema)}-pair-key-${u}`,
|
|
@@ -4189,14 +4188,14 @@ function bf(e, t, n, i, a, o) {
|
|
|
4189
4188
|
onInput: (p) => {
|
|
4190
4189
|
o.onInput(p, u, "key");
|
|
4191
4190
|
}
|
|
4192
|
-
}, null, 40,
|
|
4191
|
+
}, null, 40, pf),
|
|
4193
4192
|
(c(), U(me(o.autofillSlot), {
|
|
4194
4193
|
schema: e.schema,
|
|
4195
4194
|
update: (p) => o.onInput({ target: { value: p } }, u, "key"),
|
|
4196
4195
|
value: d.key
|
|
4197
4196
|
}, null, 8, ["schema", "update", "value"]))
|
|
4198
4197
|
]),
|
|
4199
|
-
m("div",
|
|
4198
|
+
m("div", gf, [
|
|
4200
4199
|
m("input", {
|
|
4201
4200
|
class: "form-control",
|
|
4202
4201
|
"data-testid": `${e.getFieldID(e.schema)}-pair-value-${u}`,
|
|
@@ -4206,7 +4205,7 @@ function bf(e, t, n, i, a, o) {
|
|
|
4206
4205
|
onInput: (p) => {
|
|
4207
4206
|
o.onInput(p, u, "value");
|
|
4208
4207
|
}
|
|
4209
|
-
}, null, 40,
|
|
4208
|
+
}, null, 40, yf),
|
|
4210
4209
|
(c(), U(me(o.autofillSlot), {
|
|
4211
4210
|
schema: e.schema,
|
|
4212
4211
|
update: (p) => o.onInput({ target: { value: p } }, u, "value"),
|
|
@@ -4234,13 +4233,13 @@ function bf(e, t, n, i, a, o) {
|
|
|
4234
4233
|
onClick: o.addPair
|
|
4235
4234
|
}, {
|
|
4236
4235
|
default: M(() => [
|
|
4237
|
-
ce(
|
|
4236
|
+
ce(N(e.schema.newElementButtonLabel ?? "+ Add Pair"), 1)
|
|
4238
4237
|
]),
|
|
4239
4238
|
_: 1
|
|
4240
4239
|
}, 8, ["class", "data-testid", "onClick"])
|
|
4241
4240
|
]);
|
|
4242
4241
|
}
|
|
4243
|
-
const
|
|
4242
|
+
const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac"]]), _f = /* @__PURE__ */ he({
|
|
4244
4243
|
__name: "FieldLabel",
|
|
4245
4244
|
props: {
|
|
4246
4245
|
disabled: {
|
|
@@ -4281,14 +4280,14 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4281
4280
|
id: I(i)(e.schema)
|
|
4282
4281
|
}, {
|
|
4283
4282
|
default: M(() => [
|
|
4284
|
-
ce(
|
|
4283
|
+
ce(N(I(a)), 1)
|
|
4285
4284
|
]),
|
|
4286
4285
|
_: 1
|
|
4287
4286
|
}, 8, ["id"])
|
|
4288
4287
|
], 2);
|
|
4289
4288
|
};
|
|
4290
4289
|
}
|
|
4291
|
-
}),
|
|
4290
|
+
}), Tf = /* @__PURE__ */ W(_f, [["__scopeId", "data-v-d046a15a"]]), Sf = /* @__PURE__ */ he({
|
|
4292
4291
|
__name: "FieldMultiselect",
|
|
4293
4292
|
props: {
|
|
4294
4293
|
disabled: {
|
|
@@ -4328,7 +4327,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4328
4327
|
},
|
|
4329
4328
|
emits: ["modelUpdated"],
|
|
4330
4329
|
setup(e, { expose: t, emit: n }) {
|
|
4331
|
-
const i = e, a = n, o =
|
|
4330
|
+
const i = e, a = n, o = jo(i, "model"), { getLabelId: s, getFieldID: r, clearValidationErrors: d, value: u } = qe.useAbstractFields({
|
|
4332
4331
|
model: o,
|
|
4333
4332
|
schema: i.schema,
|
|
4334
4333
|
formOptions: i.formOptions,
|
|
@@ -4363,10 +4362,10 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4363
4362
|
}, null, 8, ["id", "modelValue", "aria-labelledby", "class", "disabled", "items", "kpop-attributes", "label-attributes", "name", "placeholder", "required"]);
|
|
4364
4363
|
};
|
|
4365
4364
|
}
|
|
4366
|
-
}),
|
|
4365
|
+
}), wf = { class: "selection-group" }, Ef = { class: "form-group horizontal-radios" }, Mf = { class: "radio-group" }, Af = ["disabled", "value"], If = { class: "control-help" }, Cf = {
|
|
4367
4366
|
key: 0,
|
|
4368
4367
|
class: "option-field"
|
|
4369
|
-
},
|
|
4368
|
+
}, Of = { class: "option-field-container" }, Ff = {
|
|
4370
4369
|
mixins: [$e],
|
|
4371
4370
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
4372
4371
|
emits: ["model-updated"],
|
|
@@ -4411,18 +4410,18 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4411
4410
|
this.$emit("model-updated", e, t);
|
|
4412
4411
|
}
|
|
4413
4412
|
}
|
|
4414
|
-
},
|
|
4413
|
+
}, kf = /* @__PURE__ */ Object.assign(Ff, {
|
|
4415
4414
|
__name: "FieldSelectionGroup",
|
|
4416
4415
|
setup(e) {
|
|
4417
4416
|
const { t } = ke("en-us", Re);
|
|
4418
|
-
return (n, i) => (c(), _("div",
|
|
4417
|
+
return (n, i) => (c(), _("div", wf, [
|
|
4419
4418
|
(c(), U(me(n.$props.disabled ? "k-tooltip" : "div"), {
|
|
4420
4419
|
"max-width": "300",
|
|
4421
4420
|
text: I(t)("general.disable_global_radio", { scope: n.scope })
|
|
4422
4421
|
}, {
|
|
4423
4422
|
default: M(() => [
|
|
4424
|
-
m("div",
|
|
4425
|
-
m("div",
|
|
4423
|
+
m("div", Ef, [
|
|
4424
|
+
m("div", Mf, [
|
|
4426
4425
|
(c(!0), _(Y, null, oe(n.schema.fields, (a, o) => (c(), _("div", {
|
|
4427
4426
|
key: o,
|
|
4428
4427
|
class: ee(["option-group", { "radio-disabled": n.$props.disabled }])
|
|
@@ -4436,11 +4435,11 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4436
4435
|
disabled: n.$props.disabled,
|
|
4437
4436
|
type: "radio",
|
|
4438
4437
|
value: o
|
|
4439
|
-
}, null, 8,
|
|
4440
|
-
[
|
|
4438
|
+
}, null, 8, Af), [
|
|
4439
|
+
[qo, n.checkedGroup]
|
|
4441
4440
|
]),
|
|
4442
|
-
ce(" " +
|
|
4443
|
-
m("div",
|
|
4441
|
+
ce(" " + N(a.label) + " ", 1),
|
|
4442
|
+
m("div", If, N(a.description), 1)
|
|
4444
4443
|
], 2)
|
|
4445
4444
|
], 2))), 128))
|
|
4446
4445
|
])
|
|
@@ -4452,8 +4451,8 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4452
4451
|
key: o,
|
|
4453
4452
|
class: "option-group"
|
|
4454
4453
|
}, [
|
|
4455
|
-
n.renderedTrack[o] ? Ee((c(), _("div",
|
|
4456
|
-
m("div",
|
|
4454
|
+
n.renderedTrack[o] ? Ee((c(), _("div", Cf, [
|
|
4455
|
+
m("div", Of, [
|
|
4457
4456
|
O(ue, {
|
|
4458
4457
|
model: n.model,
|
|
4459
4458
|
options: { helpAsHtml: !0 },
|
|
@@ -4462,12 +4461,12 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4462
4461
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
4463
4462
|
])
|
|
4464
4463
|
], 512)), [
|
|
4465
|
-
[
|
|
4464
|
+
[Ko, a.fields && n.checkedGroup === o]
|
|
4466
4465
|
]) : B("", !0)
|
|
4467
4466
|
]))), 128))
|
|
4468
4467
|
]));
|
|
4469
4468
|
}
|
|
4470
|
-
}),
|
|
4469
|
+
}), Rf = /* @__PURE__ */ W(kf, [["__scopeId", "data-v-65b91ac7"]]), Uf = { class: "form-field-wrapper" }, Nf = /* @__PURE__ */ he({
|
|
4471
4470
|
__name: "FieldSwitch",
|
|
4472
4471
|
props: {
|
|
4473
4472
|
disabled: {
|
|
@@ -4521,7 +4520,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4521
4520
|
clearValidationErrors: f
|
|
4522
4521
|
}), (b, k) => {
|
|
4523
4522
|
const q = D("KInputSwitch");
|
|
4524
|
-
return c(), _("div",
|
|
4523
|
+
return c(), _("div", Uf, [
|
|
4525
4524
|
O(q, {
|
|
4526
4525
|
id: I(u)(e.schema),
|
|
4527
4526
|
modelValue: I(p),
|
|
@@ -4537,7 +4536,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4537
4536
|
]);
|
|
4538
4537
|
};
|
|
4539
4538
|
}
|
|
4540
|
-
}),
|
|
4539
|
+
}), Lf = { class: "field-textarea" }, Pf = /* @__PURE__ */ he({
|
|
4541
4540
|
__name: "FieldTextArea",
|
|
4542
4541
|
props: {
|
|
4543
4542
|
disabled: {
|
|
@@ -4577,7 +4576,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4577
4576
|
},
|
|
4578
4577
|
emits: ["modelUpdated"],
|
|
4579
4578
|
setup(e, { expose: t, emit: n }) {
|
|
4580
|
-
const i = e, a = n, o = ut(i), s = an(
|
|
4579
|
+
const i = e, a = n, o = ut(i), s = an(Ne, void 0), { updateModelValue: r, getFieldID: d, clearValidationErrors: u, value: p } = qe.useAbstractFields({
|
|
4581
4580
|
model: o.model,
|
|
4582
4581
|
schema: i.schema,
|
|
4583
4582
|
formOptions: i.formOptions,
|
|
@@ -4593,7 +4592,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4593
4592
|
};
|
|
4594
4593
|
return (b, k) => {
|
|
4595
4594
|
const q = D("KTextArea");
|
|
4596
|
-
return c(), _("div",
|
|
4595
|
+
return c(), _("div", Lf, [
|
|
4597
4596
|
O(q, et(b.$attrs, {
|
|
4598
4597
|
id: I(d)(e.schema),
|
|
4599
4598
|
modelValue: I(p),
|
|
@@ -4619,33 +4618,33 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4619
4618
|
]);
|
|
4620
4619
|
};
|
|
4621
4620
|
}
|
|
4622
|
-
}),
|
|
4621
|
+
}), Df = /* @__PURE__ */ W(Pf, [["__scopeId", "data-v-0e146fba"]]), $f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4623
4622
|
__proto__: null,
|
|
4624
|
-
FieldAdvanced:
|
|
4625
|
-
FieldArray:
|
|
4626
|
-
FieldArrayCardContainer:
|
|
4627
|
-
FieldArrayItem:
|
|
4628
|
-
FieldArrayMultiItem:
|
|
4629
|
-
FieldAutoSuggest:
|
|
4630
|
-
FieldAutoSuggestV2:
|
|
4631
|
-
FieldCheckbox:
|
|
4632
|
-
FieldChecklist:
|
|
4633
|
-
FieldInput:
|
|
4634
|
-
FieldKeyValuePairs:
|
|
4635
|
-
FieldLabel:
|
|
4636
|
-
FieldMetric:
|
|
4637
|
-
FieldMultiselect:
|
|
4638
|
-
FieldObject:
|
|
4639
|
-
FieldObjectAdvanced:
|
|
4640
|
-
FieldRadio:
|
|
4641
|
-
FieldSelect:
|
|
4642
|
-
FieldSelectionGroup:
|
|
4623
|
+
FieldAdvanced: Cc,
|
|
4624
|
+
FieldArray: Xm,
|
|
4625
|
+
FieldArrayCardContainer: po,
|
|
4626
|
+
FieldArrayItem: go,
|
|
4627
|
+
FieldArrayMultiItem: yo,
|
|
4628
|
+
FieldAutoSuggest: bo,
|
|
4629
|
+
FieldAutoSuggestV2: _o,
|
|
4630
|
+
FieldCheckbox: ef,
|
|
4631
|
+
FieldChecklist: cf,
|
|
4632
|
+
FieldInput: To,
|
|
4633
|
+
FieldKeyValuePairs: bf,
|
|
4634
|
+
FieldLabel: Tf,
|
|
4635
|
+
FieldMetric: So,
|
|
4636
|
+
FieldMultiselect: Sf,
|
|
4637
|
+
FieldObject: wo,
|
|
4638
|
+
FieldObjectAdvanced: Eo,
|
|
4639
|
+
FieldRadio: Mo,
|
|
4640
|
+
FieldSelect: Ao,
|
|
4641
|
+
FieldSelectionGroup: Rf,
|
|
4643
4642
|
FieldSwitch: Nf,
|
|
4644
|
-
FieldTextArea:
|
|
4645
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4643
|
+
FieldTextArea: Df
|
|
4644
|
+
}, Symbol.toStringTag, { value: "Module" })), Vf = {
|
|
4646
4645
|
name: "FormGroup",
|
|
4647
|
-
components:
|
|
4648
|
-
mixins: [
|
|
4646
|
+
components: $f,
|
|
4647
|
+
mixins: [io],
|
|
4649
4648
|
inject: {
|
|
4650
4649
|
"vfg-array-item-index": {
|
|
4651
4650
|
default: void 0
|
|
@@ -4703,7 +4702,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4703
4702
|
},
|
|
4704
4703
|
methods: {
|
|
4705
4704
|
sanitize(e) {
|
|
4706
|
-
return
|
|
4705
|
+
return Il.sanitize(e);
|
|
4707
4706
|
},
|
|
4708
4707
|
// Should field type have a label?
|
|
4709
4708
|
fieldTypeHasLabel(e) {
|
|
@@ -4769,20 +4768,20 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4769
4768
|
return e ? e.replace(/^[cC]onfig\./, "") : "";
|
|
4770
4769
|
}
|
|
4771
4770
|
}
|
|
4772
|
-
},
|
|
4771
|
+
}, jf = ["innerHTML"], qf = { class: "icon-wrapper" }, Kf = {
|
|
4773
4772
|
key: 0,
|
|
4774
4773
|
class: "link-wrapper"
|
|
4775
|
-
},
|
|
4774
|
+
}, Bf = { class: "field-wrap" }, zf = {
|
|
4776
4775
|
key: 0,
|
|
4777
4776
|
class: "buttons"
|
|
4778
|
-
},
|
|
4777
|
+
}, xf = ["type", "onClick", "textContent"], Hf = {
|
|
4779
4778
|
key: 1,
|
|
4780
4779
|
class: "hint"
|
|
4781
|
-
},
|
|
4780
|
+
}, Yf = {
|
|
4782
4781
|
key: 2,
|
|
4783
4782
|
class: "errors help-block"
|
|
4784
4783
|
};
|
|
4785
|
-
function
|
|
4784
|
+
function Gf(e, t, n, i, a, o) {
|
|
4786
4785
|
const s = D("KExternalLink"), r = D("KLabel");
|
|
4787
4786
|
return c(), _("div", {
|
|
4788
4787
|
class: ee(["form-group", e.getFieldRowClasses(n.field)])
|
|
@@ -4800,10 +4799,10 @@ function Wf(e, t, n, i, a, o) {
|
|
|
4800
4799
|
} : void 0
|
|
4801
4800
|
}, cn({
|
|
4802
4801
|
default: M(() => [
|
|
4803
|
-
m("div",
|
|
4804
|
-
m("span", null,
|
|
4802
|
+
m("div", qf, [
|
|
4803
|
+
m("span", null, N(o.formattedLabel(n.field.label)), 1)
|
|
4805
4804
|
]),
|
|
4806
|
-
n.field.link ? (c(), _("div",
|
|
4805
|
+
n.field.link ? (c(), _("div", Kf, [
|
|
4807
4806
|
O(s, {
|
|
4808
4807
|
href: n.field.link
|
|
4809
4808
|
}, {
|
|
@@ -4822,12 +4821,12 @@ function Wf(e, t, n, i, a, o) {
|
|
|
4822
4821
|
fn: M(() => [
|
|
4823
4822
|
m("div", {
|
|
4824
4823
|
innerHTML: o.sanitize(n.field.help)
|
|
4825
|
-
}, null, 8,
|
|
4824
|
+
}, null, 8, jf)
|
|
4826
4825
|
]),
|
|
4827
4826
|
key: "0"
|
|
4828
4827
|
} : void 0
|
|
4829
4828
|
]), 1032, ["aria-describedby", "class", "for", "info", "tooltip-attributes"])) : B("", !0),
|
|
4830
|
-
m("div",
|
|
4829
|
+
m("div", Bf, [
|
|
4831
4830
|
(c(), U(me(o.getFieldComponent(n.field)), et(e.$attrs, {
|
|
4832
4831
|
ref: "child",
|
|
4833
4832
|
disabled: e.fieldDisabled(n.field) || null,
|
|
@@ -4840,31 +4839,31 @@ function Wf(e, t, n, i, a, o) {
|
|
|
4840
4839
|
onRefreshModel: o.onRefreshModel,
|
|
4841
4840
|
onValidated: o.onFieldValidated
|
|
4842
4841
|
}), null, 16, ["disabled", "form-options", "hint", "model", "schema", "vfg", "onModelUpdated", "onRefreshModel", "onValidated"])),
|
|
4843
|
-
o.buttonVisibility(n.field) ? (c(), _("div",
|
|
4842
|
+
o.buttonVisibility(n.field) ? (c(), _("div", zf, [
|
|
4844
4843
|
(c(!0), _(Y, null, oe(n.field.buttons, (d, u) => (c(), _("button", {
|
|
4845
4844
|
key: u,
|
|
4846
4845
|
class: ee(d.classes),
|
|
4847
4846
|
type: o.getButtonType(d),
|
|
4848
4847
|
onClick: (p) => o.buttonClickHandler(d, n.field, p),
|
|
4849
|
-
textContent:
|
|
4850
|
-
}, null, 10,
|
|
4848
|
+
textContent: N(d.label)
|
|
4849
|
+
}, null, 10, xf))), 128))
|
|
4851
4850
|
])) : B("", !0)
|
|
4852
4851
|
]),
|
|
4853
|
-
n.field.hint && n.field.type !== "input" ? (c(), _("div",
|
|
4854
|
-
o.fieldErrors(n.field).length > 0 ? (c(), _("div",
|
|
4855
|
-
(c(!0), _(Y, null, oe(o.fieldErrors(n.field), (d, u) => (c(), _("span", { key: u },
|
|
4852
|
+
n.field.hint && n.field.type !== "input" ? (c(), _("div", Hf, N(o.fieldHint(n.field)), 1)) : B("", !0),
|
|
4853
|
+
o.fieldErrors(n.field).length > 0 ? (c(), _("div", Yf, [
|
|
4854
|
+
(c(!0), _(Y, null, oe(o.fieldErrors(n.field), (d, u) => (c(), _("span", { key: u }, N(d), 1))), 128))
|
|
4856
4855
|
])) : B("", !0)
|
|
4857
4856
|
], 2);
|
|
4858
4857
|
}
|
|
4859
|
-
const
|
|
4858
|
+
const Io = /* @__PURE__ */ W(Vf, [["render", Gf], ["__scopeId", "data-v-fe02085f"]]);
|
|
4860
4859
|
var un = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(un || {});
|
|
4861
|
-
const
|
|
4860
|
+
const Wf = (e) => {
|
|
4862
4861
|
var t, n;
|
|
4863
4862
|
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";
|
|
4864
|
-
},
|
|
4863
|
+
}, Zf = {
|
|
4865
4864
|
[un.REDIS_CE]: "open source",
|
|
4866
4865
|
[un.REDIS_EE]: "enterprise"
|
|
4867
|
-
},
|
|
4866
|
+
}, Sa = (e) => Zf[e] ?? "", Xf = { class: "partial-config-card" }, Jf = { class: "config-card-row-label" }, Qf = { class: "label-text" }, eh = ["data-testid"], th = ["data-testid"], nh = { key: 1 }, ih = ["data-testid"], ah = ["data-testid"], oh = /* @__PURE__ */ he({
|
|
4868
4867
|
__name: "RedisConfigCard",
|
|
4869
4868
|
props: {
|
|
4870
4869
|
configFields: {
|
|
@@ -4899,7 +4898,7 @@ const Zf = (e) => {
|
|
|
4899
4898
|
formatter: n,
|
|
4900
4899
|
order: 3
|
|
4901
4900
|
}
|
|
4902
|
-
}, a = e, o = (f) => f != null, s = (f, b) => o(b) && ["password", "sentinel_password"].includes(f) ? "password" : "text", { convertKeyToTitle: r } =
|
|
4901
|
+
}, a = e, o = (f) => f != null, s = (f, b) => o(b) && ["password", "sentinel_password"].includes(f) ? "password" : "text", { convertKeyToTitle: r } = Go(), d = z(() => Object.entries(a.configFields).map(([f, b]) => {
|
|
4903
4902
|
var k, q, h, A;
|
|
4904
4903
|
return {
|
|
4905
4904
|
key: f,
|
|
@@ -4912,19 +4911,19 @@ const Zf = (e) => {
|
|
|
4912
4911
|
}).sort((f, b) => f.order - b.order).filter((f) => f.type !== "hidden")), u = qe.useRedisNonStandardFields(a.configFields, a.pluginRedisFields), p = z(() => d.value.concat(u));
|
|
4913
4912
|
return (f, b) => {
|
|
4914
4913
|
const k = D("KCopy");
|
|
4915
|
-
return c(), _("div",
|
|
4914
|
+
return c(), _("div", Xf, [
|
|
4916
4915
|
(c(!0), _(Y, null, oe(p.value, ({ key: q, label: h, value: A, type: C }) => (c(), _("div", {
|
|
4917
4916
|
key: q,
|
|
4918
4917
|
class: "partial-config-card-row"
|
|
4919
4918
|
}, [
|
|
4920
|
-
m("div",
|
|
4921
|
-
m("div",
|
|
4919
|
+
m("div", Jf, [
|
|
4920
|
+
m("div", Qf, N(h), 1)
|
|
4922
4921
|
]),
|
|
4923
4922
|
m("div", {
|
|
4924
4923
|
class: "config-card-row-value",
|
|
4925
4924
|
"data-testid": `${q}-property-value`
|
|
4926
4925
|
}, [
|
|
4927
|
-
o(A) ? (c(), _("div",
|
|
4926
|
+
o(A) ? (c(), _("div", nh, [
|
|
4928
4927
|
C === "password" ? (c(), _("div", {
|
|
4929
4928
|
key: 0,
|
|
4930
4929
|
"data-testid": `${q}-copy-password`
|
|
@@ -4933,33 +4932,33 @@ const Zf = (e) => {
|
|
|
4933
4932
|
format: "redacted",
|
|
4934
4933
|
text: String(A)
|
|
4935
4934
|
}, null, 8, ["text"])
|
|
4936
|
-
], 8,
|
|
4935
|
+
], 8, ih)) : (c(), _("div", {
|
|
4937
4936
|
key: 1,
|
|
4938
4937
|
"data-testid": `${q}-plain-text`
|
|
4939
|
-
},
|
|
4938
|
+
}, N(A), 9, ah))
|
|
4940
4939
|
])) : (c(), _("div", {
|
|
4941
4940
|
key: 0,
|
|
4942
4941
|
"data-testid": `${q}-no-value`
|
|
4943
|
-
}, " – ", 8,
|
|
4944
|
-
], 8,
|
|
4942
|
+
}, " – ", 8, th))
|
|
4943
|
+
], 8, eh)
|
|
4945
4944
|
]))), 128))
|
|
4946
4945
|
]);
|
|
4947
4946
|
};
|
|
4948
4947
|
}
|
|
4949
|
-
}),
|
|
4948
|
+
}), rh = /* @__PURE__ */ W(oh, [["__scopeId", "data-v-40b3d7b5"]]), sh = {
|
|
4950
4949
|
class: "redis-config-select",
|
|
4951
4950
|
"data-testid": "redis-config-select"
|
|
4952
|
-
},
|
|
4951
|
+
}, lh = { class: "selected-redis-config" }, dh = ["data-testid"], uh = {
|
|
4953
4952
|
class: "select-item-name",
|
|
4954
4953
|
"data-testid": "selected-redis-config"
|
|
4955
|
-
},
|
|
4954
|
+
}, ch = {
|
|
4956
4955
|
class: "empty-redis-config",
|
|
4957
4956
|
"data-testid": "empty-redis-config"
|
|
4958
|
-
},
|
|
4957
|
+
}, mh = {
|
|
4959
4958
|
key: 1,
|
|
4960
4959
|
class: "redis-shared-config-error-message",
|
|
4961
4960
|
"data-testid": "redis-config-fetch-error"
|
|
4962
|
-
},
|
|
4961
|
+
}, fh = "1000", hh = /* @__PURE__ */ he({
|
|
4963
4962
|
__name: "RedisConfigSelect",
|
|
4964
4963
|
props: {
|
|
4965
4964
|
defaultRedisConfigItem: {
|
|
@@ -4986,7 +4985,7 @@ const Zf = (e) => {
|
|
|
4986
4985
|
},
|
|
4987
4986
|
emits: ["showNewPartialModal"],
|
|
4988
4987
|
setup(e) {
|
|
4989
|
-
const { t } = ke("en-us", Re), n = an(
|
|
4988
|
+
const { t } = ke("en-us", Re), n = an(ol), i = {
|
|
4990
4989
|
konnect: {
|
|
4991
4990
|
getOne: "/v2/control-planes/{controlPlaneId}/core-entities/partials/{id}",
|
|
4992
4991
|
getAll: "/v2/control-planes/{controlPlaneId}/core-entities/partials"
|
|
@@ -4995,26 +4994,26 @@ const Zf = (e) => {
|
|
|
4995
4994
|
getOne: "/{workspace}/partials/{id}",
|
|
4996
4995
|
getAll: "/{workspace}/partials"
|
|
4997
4996
|
}
|
|
4998
|
-
}, a = e, o = ae(null), { getMessageFromError: s } =
|
|
4997
|
+
}, a = e, o = ae(null), { getMessageFromError: s } = Wo(), r = an(al), {
|
|
4999
4998
|
debouncedQueryChange: d,
|
|
5000
4999
|
loading: u,
|
|
5001
5000
|
error: p,
|
|
5002
5001
|
loadItems: f,
|
|
5003
5002
|
results: b
|
|
5004
|
-
} =
|
|
5003
|
+
} = Zo(r, i[r.app].getAll, fh, {
|
|
5005
5004
|
fetchedItemsKey: "data",
|
|
5006
5005
|
searchKeys: ["id", "name"]
|
|
5007
|
-
}), k = z(() => p.value ? s(p.value) : ""), q = (
|
|
5006
|
+
}), k = z(() => p.value ? s(p.value) : ""), q = (L) => {
|
|
5008
5007
|
let T = `${r.apiBaseUrl}${i[r.app].getOne}`;
|
|
5009
|
-
return r.app === "konnect" ? T = T.replace(/{controlPlaneId}/gi, (r == null ? void 0 : r.controlPlaneId) || "") : r.app === "kongManager" && (T = T.replace(/\/{workspace}/gi, r != null && r.workspace ? `/${r.workspace}` : "")), T = T.replace(/{id}/gi, String(
|
|
5008
|
+
return r.app === "konnect" ? T = T.replace(/{controlPlaneId}/gi, (r == null ? void 0 : r.controlPlaneId) || "") : r.app === "kongManager" && (T = T.replace(/\/{workspace}/gi, r != null && r.workspace ? `/${r.workspace}` : "")), T = T.replace(/{id}/gi, String(L)), T;
|
|
5010
5009
|
}, h = z(() => {
|
|
5011
|
-
const
|
|
5012
|
-
return a.redisType !== "all" ?
|
|
5013
|
-
}), { axiosInstance: A } =
|
|
5014
|
-
if (
|
|
5015
|
-
a.updateRedisModel(
|
|
5010
|
+
const L = (b.value || []).map((T) => ({ label: T.id, name: T.name, value: T.id, type: T.type, tag: Wf(T) })).filter((T) => T.type === "redis-ce" || T.type === "redis-ee");
|
|
5011
|
+
return a.redisType !== "all" ? L.filter((T) => T.type === a.redisType) : L;
|
|
5012
|
+
}), { axiosInstance: A } = Xo(r == null ? void 0 : r.axiosRequestConfig), C = async (L) => {
|
|
5013
|
+
if (L) {
|
|
5014
|
+
a.updateRedisModel(L);
|
|
5016
5015
|
try {
|
|
5017
|
-
const T = await A.get(q(
|
|
5016
|
+
const T = await A.get(q(L));
|
|
5018
5017
|
if (T.data.config) {
|
|
5019
5018
|
const F = Object.assign(T.data, T.data.config);
|
|
5020
5019
|
delete F.config, o.value = F;
|
|
@@ -5024,23 +5023,23 @@ const Zf = (e) => {
|
|
|
5024
5023
|
}
|
|
5025
5024
|
}
|
|
5026
5025
|
};
|
|
5027
|
-
return mn(() => n == null ? void 0 : n.value, async (
|
|
5028
|
-
|
|
5026
|
+
return mn(() => n == null ? void 0 : n.value, async (L) => {
|
|
5027
|
+
L && await f();
|
|
5029
5028
|
}), Jn(() => {
|
|
5030
5029
|
f(), a.defaultRedisConfigItem && C(a.defaultRedisConfigItem);
|
|
5031
|
-
}), (
|
|
5030
|
+
}), (L, T) => {
|
|
5032
5031
|
const F = D("KLabel"), y = D("KBadge"), v = D("KSelect");
|
|
5033
5032
|
return c(), _(Y, null, [
|
|
5034
|
-
m("div",
|
|
5033
|
+
m("div", sh, [
|
|
5035
5034
|
O(F, {
|
|
5036
|
-
info: e.isCustomPlugin ? I(t)("redis.custom_plugin.tooltip") : I(t)("redis.shared_configuration.tooltip", { type: I(
|
|
5035
|
+
info: e.isCustomPlugin ? I(t)("redis.custom_plugin.tooltip") : I(t)("redis.shared_configuration.tooltip", { type: I(Sa)(e.redisType) }),
|
|
5037
5036
|
"tooltip-attributes": {
|
|
5038
5037
|
maxWidth: "300",
|
|
5039
5038
|
placement: "top"
|
|
5040
5039
|
}
|
|
5041
5040
|
}, {
|
|
5042
5041
|
default: M(() => [
|
|
5043
|
-
ce(
|
|
5042
|
+
ce(N(I(t)("redis.shared_configuration.title")), 1)
|
|
5044
5043
|
]),
|
|
5045
5044
|
_: 1
|
|
5046
5045
|
}, 8, ["info"]),
|
|
@@ -5058,60 +5057,60 @@ const Zf = (e) => {
|
|
|
5058
5057
|
onQueryChange: I(d)
|
|
5059
5058
|
}, {
|
|
5060
5059
|
"selected-item-template": M(({ item: g }) => [
|
|
5061
|
-
m("div",
|
|
5060
|
+
m("div", lh, N(g.name), 1)
|
|
5062
5061
|
]),
|
|
5063
5062
|
"item-template": M(({ item: g }) => [
|
|
5064
5063
|
m("div", {
|
|
5065
5064
|
class: "plugin-form-redis-configuration-dropdown-item",
|
|
5066
5065
|
"data-testid": `redis-configuration-dropdown-item-${g.name}`
|
|
5067
5066
|
}, [
|
|
5068
|
-
m("span",
|
|
5067
|
+
m("span", uh, N(g.name), 1),
|
|
5069
5068
|
O(y, {
|
|
5070
5069
|
appearance: "info",
|
|
5071
5070
|
class: "select-item-label"
|
|
5072
5071
|
}, {
|
|
5073
5072
|
default: M(() => [
|
|
5074
|
-
ce(
|
|
5073
|
+
ce(N(g.tag), 1)
|
|
5075
5074
|
]),
|
|
5076
5075
|
_: 2
|
|
5077
5076
|
}, 1024)
|
|
5078
|
-
], 8,
|
|
5077
|
+
], 8, dh)
|
|
5079
5078
|
]),
|
|
5080
5079
|
empty: M(() => [
|
|
5081
|
-
m("div",
|
|
5080
|
+
m("div", ch, N(I(t)("redis.shared_configuration.empty_state")), 1)
|
|
5082
5081
|
]),
|
|
5083
5082
|
"dropdown-footer-text": M(() => [
|
|
5084
5083
|
m("div", {
|
|
5085
5084
|
class: "new-redis-config-area",
|
|
5086
5085
|
"data-testid": "new-redis-config-area",
|
|
5087
|
-
onClick: T[0] || (T[0] = (g) =>
|
|
5086
|
+
onClick: T[0] || (T[0] = (g) => L.$emit("showNewPartialModal"))
|
|
5088
5087
|
}, [
|
|
5089
|
-
O(I(Qn), { size: I(
|
|
5090
|
-
m("span", null,
|
|
5088
|
+
O(I(Qn), { size: I(xc) }, null, 8, ["size"]),
|
|
5089
|
+
m("span", null, N(I(t)("redis.shared_configuration.create_new_configuration", { type: I(Sa)(e.redisType) })), 1)
|
|
5091
5090
|
])
|
|
5092
5091
|
]),
|
|
5093
5092
|
_: 1
|
|
5094
5093
|
}, 8, ["items", "loading", "model-value", "placeholder", "onQueryChange"])
|
|
5095
5094
|
]),
|
|
5096
|
-
o.value ? (c(), U(
|
|
5095
|
+
o.value ? (c(), U(rh, {
|
|
5097
5096
|
key: 0,
|
|
5098
5097
|
"config-fields": o.value,
|
|
5099
5098
|
"plugin-redis-fields": e.pluginRedisFields
|
|
5100
5099
|
}, null, 8, ["config-fields", "plugin-redis-fields"])) : B("", !0),
|
|
5101
|
-
k.value ? (c(), _("p",
|
|
5100
|
+
k.value ? (c(), _("p", mh, N(k.value || I(t)("redis.shared_configuration.error")), 1)) : B("", !0)
|
|
5102
5101
|
], 64);
|
|
5103
5102
|
};
|
|
5104
5103
|
}
|
|
5105
|
-
}),
|
|
5104
|
+
}), wa = /* @__PURE__ */ W(hh, [["__scopeId", "data-v-cfbe2781"]]), ph = { key: 0 }, gh = {
|
|
5106
5105
|
class: "redis-config-radio-group",
|
|
5107
5106
|
"data-testid": "redis-config-radio-group"
|
|
5108
|
-
},
|
|
5107
|
+
}, yh = {
|
|
5109
5108
|
key: 0,
|
|
5110
5109
|
class: "shared-redis-config"
|
|
5111
|
-
},
|
|
5110
|
+
}, vh = {
|
|
5112
5111
|
key: 1,
|
|
5113
5112
|
class: "dedicated-redis-config"
|
|
5114
|
-
},
|
|
5113
|
+
}, bh = { class: "dedicated-redis-config-title" }, _h = /* @__PURE__ */ he({
|
|
5115
5114
|
__name: "FormRedis",
|
|
5116
5115
|
props: {
|
|
5117
5116
|
tag: {
|
|
@@ -5172,19 +5171,19 @@ const Zf = (e) => {
|
|
|
5172
5171
|
h ? u.value && i("partialToggled", "redis", { partials: u.value }) : i("partialToggled", "partials", d.value);
|
|
5173
5172
|
}), Jn(() => {
|
|
5174
5173
|
var h, A, C;
|
|
5175
|
-
if (n.model && (d.value = n.field.fields.reduce((
|
|
5176
|
-
const
|
|
5177
|
-
s.value = !0, r.value =
|
|
5174
|
+
if (n.model && (d.value = n.field.fields.reduce((L, T) => (Object.keys(n.model).includes(T.model) && (L[T.model] = n.model[T.model]), L), {})), (C = (A = (h = n == null ? void 0 : n.model) == null ? void 0 : h.partials) == null ? void 0 : A[0]) != null && C.id) {
|
|
5175
|
+
const L = n.model.partials[0].id;
|
|
5176
|
+
s.value = !0, r.value = L;
|
|
5178
5177
|
}
|
|
5179
5178
|
}), (h, A) => {
|
|
5180
|
-
const C = D("KAlert"),
|
|
5179
|
+
const C = D("KAlert"), L = D("KBadge"), T = D("KRadio"), F = D("KCard");
|
|
5181
5180
|
return c(), _("div", null, [
|
|
5182
|
-
o.value ? (c(), _("div",
|
|
5181
|
+
o.value ? (c(), _("div", ph, [
|
|
5183
5182
|
O(C, {
|
|
5184
5183
|
"data-testid": "custom-plugin-redis-config-note",
|
|
5185
5184
|
message: I(a)("redis.custom_plugin.alert")
|
|
5186
5185
|
}, null, 8, ["message"]),
|
|
5187
|
-
O(
|
|
5186
|
+
O(wa, {
|
|
5188
5187
|
"default-redis-config-item": r.value,
|
|
5189
5188
|
"is-custom-plugin": "",
|
|
5190
5189
|
"plugin-redis-fields": e.field.fields,
|
|
@@ -5198,7 +5197,7 @@ const Zf = (e) => {
|
|
|
5198
5197
|
title: I(a)("redis.title")
|
|
5199
5198
|
}, {
|
|
5200
5199
|
default: M(() => [
|
|
5201
|
-
m("div",
|
|
5200
|
+
m("div", gh, [
|
|
5202
5201
|
O(T, {
|
|
5203
5202
|
modelValue: s.value,
|
|
5204
5203
|
"onUpdate:modelValue": A[1] || (A[1] = (y) => s.value = y),
|
|
@@ -5210,9 +5209,9 @@ const Zf = (e) => {
|
|
|
5210
5209
|
"selected-value": !0
|
|
5211
5210
|
}, {
|
|
5212
5211
|
default: M(() => [
|
|
5213
|
-
O(
|
|
5212
|
+
O(L, { appearance: "success" }, {
|
|
5214
5213
|
default: M(() => [
|
|
5215
|
-
ce(
|
|
5214
|
+
ce(N(I(a)("redis.shared_configuration.badge")), 1)
|
|
5216
5215
|
]),
|
|
5217
5216
|
_: 1
|
|
5218
5217
|
})
|
|
@@ -5230,22 +5229,22 @@ const Zf = (e) => {
|
|
|
5230
5229
|
"selected-value": !1
|
|
5231
5230
|
}, null, 8, ["modelValue", "description", "label"])
|
|
5232
5231
|
]),
|
|
5233
|
-
s.value ? (c(), _("div",
|
|
5234
|
-
O(
|
|
5232
|
+
s.value ? (c(), _("div", yh, [
|
|
5233
|
+
O(wa, {
|
|
5235
5234
|
"default-redis-config-item": r.value,
|
|
5236
5235
|
"plugin-redis-fields": e.field.fields,
|
|
5237
5236
|
"redis-type": e.field.redisType,
|
|
5238
5237
|
"update-redis-model": f,
|
|
5239
5238
|
onShowNewPartialModal: A[3] || (A[3] = (y) => h.$emit("showNewPartialModal"))
|
|
5240
5239
|
}, null, 8, ["default-redis-config-item", "plugin-redis-fields", "redis-type"])
|
|
5241
|
-
])) : (c(), _("div",
|
|
5242
|
-
m("div",
|
|
5240
|
+
])) : (c(), _("div", vh, [
|
|
5241
|
+
m("div", bh, N(I(a)("redis.dedicated_configuration.title")), 1),
|
|
5243
5242
|
(c(), U(me(e.tag), null, {
|
|
5244
5243
|
default: M(() => [
|
|
5245
5244
|
(c(!0), _(Y, null, oe(e.field.fields, (y) => (c(), _(Y, {
|
|
5246
5245
|
key: y.model
|
|
5247
5246
|
}, [
|
|
5248
|
-
p(y) ? (c(), U(
|
|
5247
|
+
p(y) ? (c(), U(Io, {
|
|
5249
5248
|
key: 0,
|
|
5250
5249
|
ref_for: !0,
|
|
5251
5250
|
ref: "children",
|
|
@@ -5269,14 +5268,14 @@ const Zf = (e) => {
|
|
|
5269
5268
|
]);
|
|
5270
5269
|
};
|
|
5271
5270
|
}
|
|
5272
|
-
}),
|
|
5271
|
+
}), Th = /* @__PURE__ */ W(_h, [["__scopeId", "data-v-addd6536"]]), Sh = {
|
|
5273
5272
|
name: "VueFormGenerator",
|
|
5274
|
-
components: { formGroup:
|
|
5275
|
-
mixins: [
|
|
5273
|
+
components: { formGroup: Io, formRedis: Th },
|
|
5274
|
+
mixins: [io],
|
|
5276
5275
|
inject: {
|
|
5277
5276
|
// Inject AUTOFILL_SLOT for provide()
|
|
5278
5277
|
autofillSlot: {
|
|
5279
|
-
from:
|
|
5278
|
+
from: Ne,
|
|
5280
5279
|
default: void 0
|
|
5281
5280
|
}
|
|
5282
5281
|
},
|
|
@@ -5285,7 +5284,7 @@ const Zf = (e) => {
|
|
|
5285
5284
|
return {
|
|
5286
5285
|
// Provide AUTOFILL_SLOT only if it is not already provided
|
|
5287
5286
|
...!this.autofillSlot && {
|
|
5288
|
-
[
|
|
5287
|
+
[Ne]: (e = this.$slots) == null ? void 0 : e[Mt]
|
|
5289
5288
|
}
|
|
5290
5289
|
};
|
|
5291
5290
|
},
|
|
@@ -5433,13 +5432,13 @@ const Zf = (e) => {
|
|
|
5433
5432
|
});
|
|
5434
5433
|
}
|
|
5435
5434
|
}
|
|
5436
|
-
},
|
|
5435
|
+
}, wh = {
|
|
5437
5436
|
key: 0,
|
|
5438
5437
|
class: "vue-form-generator"
|
|
5439
|
-
},
|
|
5440
|
-
function
|
|
5438
|
+
}, Eh = { key: 0 };
|
|
5439
|
+
function Mh(e, t, n, i, a, o) {
|
|
5441
5440
|
const s = D("form-redis"), r = D("form-group"), d = D("KCollapse");
|
|
5442
|
-
return n.schema != null ? (c(), _("div",
|
|
5441
|
+
return n.schema != null ? (c(), _("div", wh, [
|
|
5443
5442
|
n.schema.fields ? (c(), U(me(n.tag), { key: 0 }, {
|
|
5444
5443
|
default: M(() => [
|
|
5445
5444
|
(c(!0), _(Y, null, oe(o.fields, (u) => (c(), _(Y, {
|
|
@@ -5569,7 +5568,7 @@ function Ah(e, t, n, i, a, o) {
|
|
|
5569
5568
|
u.collapsible.description ? {
|
|
5570
5569
|
name: "visible-content",
|
|
5571
5570
|
fn: M(() => [
|
|
5572
|
-
ce(
|
|
5571
|
+
ce(N(u.collapsible.description), 1)
|
|
5573
5572
|
]),
|
|
5574
5573
|
key: "0"
|
|
5575
5574
|
} : void 0
|
|
@@ -5578,7 +5577,7 @@ function Ah(e, t, n, i, a, o) {
|
|
|
5578
5577
|
class: ee(e.getFieldRowClasses(u))
|
|
5579
5578
|
}, {
|
|
5580
5579
|
default: M(() => [
|
|
5581
|
-
u.legend ? (c(), _("legend",
|
|
5580
|
+
u.legend ? (c(), _("legend", Eh, N(u.legend), 1)) : B("", !0),
|
|
5582
5581
|
(c(!0), _(Y, null, oe(u.fields, (f) => (c(), _(Y, {
|
|
5583
5582
|
key: f.model
|
|
5584
5583
|
}, [
|
|
@@ -5602,17 +5601,17 @@ function Ah(e, t, n, i, a, o) {
|
|
|
5602
5601
|
], 64))), 128))
|
|
5603
5602
|
])) : B("", !0);
|
|
5604
5603
|
}
|
|
5605
|
-
const ue = /* @__PURE__ */ W(
|
|
5604
|
+
const ue = /* @__PURE__ */ W(Sh, [["render", Mh]]), Dt = {
|
|
5606
5605
|
openIdConnectDocs: "https://developer.konghq.com/plugins/openid-connect/",
|
|
5607
5606
|
openIdConnectJWKDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-client-jwk",
|
|
5608
5607
|
openIdConnectClusterNodesDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-redis-cluster-nodes",
|
|
5609
5608
|
openIdConfigurationDocs: "https://developer.konghq.com/plugins/openid-connect/reference/",
|
|
5610
5609
|
openIdAuthorizationDocs: "https://developer.konghq.com/plugins/openid-connect/#authorization"
|
|
5611
|
-
},
|
|
5610
|
+
}, Ea = /* @__PURE__ */ new Set([
|
|
5612
5611
|
"config-client_id",
|
|
5613
5612
|
"config-client_secret",
|
|
5614
5613
|
"config-issuer"
|
|
5615
|
-
]),
|
|
5614
|
+
]), Ma = /* @__PURE__ */ new Set([
|
|
5616
5615
|
"config-scopes_claim",
|
|
5617
5616
|
"config-scopes_required",
|
|
5618
5617
|
"config-audience_claim",
|
|
@@ -5622,13 +5621,13 @@ const ue = /* @__PURE__ */ W(wh, [["render", Ah]]), Dt = {
|
|
|
5622
5621
|
"config-groups_claim",
|
|
5623
5622
|
"config-groups_required",
|
|
5624
5623
|
"config-authenticated_groups_claim"
|
|
5625
|
-
]),
|
|
5624
|
+
]), Ah = {
|
|
5626
5625
|
name: "OIDCForm",
|
|
5627
5626
|
components: { VueFormGenerator: ue },
|
|
5628
5627
|
provide() {
|
|
5629
5628
|
var e;
|
|
5630
5629
|
return {
|
|
5631
|
-
[
|
|
5630
|
+
[Ne]: (e = this.$slots) == null ? void 0 : e[Mt]
|
|
5632
5631
|
};
|
|
5633
5632
|
},
|
|
5634
5633
|
props: {
|
|
@@ -5724,14 +5723,14 @@ const ue = /* @__PURE__ */ W(wh, [["render", Ah]]), Dt = {
|
|
|
5724
5723
|
};
|
|
5725
5724
|
const t = this.formSchema.fields.reduce((a, o) => (a[o.model] = o, a), {});
|
|
5726
5725
|
this.commonFieldsSchema = {
|
|
5727
|
-
fields: Array.from(
|
|
5726
|
+
fields: Array.from(Ea).reduce((a, o) => (t[o] && a.push(t[o]), a), [])
|
|
5728
5727
|
}, this.authFieldsSchema = {
|
|
5729
|
-
fields: Array.from(
|
|
5728
|
+
fields: Array.from(Ma).reduce((a, o) => (t[o] && a.push(t[o]), a), [])
|
|
5730
5729
|
};
|
|
5731
5730
|
const { redis: n, redisModels: i } = qe.useRedisPartial(this.formSchema);
|
|
5732
5731
|
this.advancedFieldsSchema = {
|
|
5733
5732
|
fields: this.formSchema.fields.filter(
|
|
5734
|
-
(a) => a.model.startsWith("config") && a.model !== "config-auth_methods" && !
|
|
5733
|
+
(a) => a.model.startsWith("config") && a.model !== "config-auth_methods" && !Ea.has(a.model) && !Ma.has(a.model) && (!this.enableRedisPartial || !i.includes(a.model)) || a.model === "tags"
|
|
5735
5734
|
).reduce((a, o) => {
|
|
5736
5735
|
var s, r, d, u;
|
|
5737
5736
|
switch (o.model) {
|
|
@@ -5827,7 +5826,7 @@ const ue = /* @__PURE__ */ W(wh, [["render", Ah]]), Dt = {
|
|
|
5827
5826
|
this.formModel["config-auth_methods"] = this.getAuthMethodsValue(t, e), this.onModelUpdated();
|
|
5828
5827
|
}
|
|
5829
5828
|
}
|
|
5830
|
-
},
|
|
5829
|
+
}, Ih = { class: "general-settings" }, Ch = { class: "link-wrapper" }, Oh = { class: "auth-method-container" }, Fh = { class: "general-settings" }, kh = { class: "link-wrapper" }, Rh = { class: "general-settings" }, Uh = { class: "link-wrapper" };
|
|
5831
5830
|
function Nh(e, t, n, i, a, o) {
|
|
5832
5831
|
const s = D("VueFormGenerator"), r = D("KExternalLink"), d = D("KLabel"), u = D("KCheckbox"), p = D("KInputSwitch"), f = D("KTabs");
|
|
5833
5832
|
return c(), _("div", null, [
|
|
@@ -5841,8 +5840,8 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5841
5840
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
|
|
5842
5841
|
O(f, { tabs: a.tabs }, {
|
|
5843
5842
|
common: M(() => [
|
|
5844
|
-
m("div",
|
|
5845
|
-
m("div",
|
|
5843
|
+
m("div", Ih, [
|
|
5844
|
+
m("div", Ch, [
|
|
5846
5845
|
O(r, { href: a.openIdConfigurationDocs }, {
|
|
5847
5846
|
default: M(() => t[2] || (t[2] = [
|
|
5848
5847
|
m("span", { class: "section-header" }, "Common Configuration Settings", -1)
|
|
@@ -5866,7 +5865,7 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5866
5865
|
_: 1,
|
|
5867
5866
|
__: [3]
|
|
5868
5867
|
}),
|
|
5869
|
-
m("div",
|
|
5868
|
+
m("div", Oh, [
|
|
5870
5869
|
(c(!0), _(Y, null, oe(a.authMethods, (b) => (c(), _("div", {
|
|
5871
5870
|
key: b.value,
|
|
5872
5871
|
class: "auth-method"
|
|
@@ -5877,7 +5876,7 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5877
5876
|
onChange: (k) => o.handleUpdate(k, b.value)
|
|
5878
5877
|
}, {
|
|
5879
5878
|
default: M(() => [
|
|
5880
|
-
ce(
|
|
5879
|
+
ce(N(b.label), 1)
|
|
5881
5880
|
]),
|
|
5882
5881
|
_: 2
|
|
5883
5882
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
@@ -5892,8 +5891,8 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5892
5891
|
])
|
|
5893
5892
|
]),
|
|
5894
5893
|
authorization: M(() => [
|
|
5895
|
-
m("div",
|
|
5896
|
-
m("div",
|
|
5894
|
+
m("div", Fh, [
|
|
5895
|
+
m("div", kh, [
|
|
5897
5896
|
O(r, { href: a.openIdAuthorizationDocs }, {
|
|
5898
5897
|
default: M(() => t[5] || (t[5] = [
|
|
5899
5898
|
m("span", { class: "section-header" }, "Authorization Configuration Settings", -1)
|
|
@@ -5911,15 +5910,15 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5911
5910
|
onModelUpdated: n.onModelUpdated
|
|
5912
5911
|
}, {
|
|
5913
5912
|
"autofill-provider": M((b) => [
|
|
5914
|
-
Oe(e.$slots, "autofill-provider", zo(
|
|
5913
|
+
Oe(e.$slots, "autofill-provider", Bo(zo(b)), void 0, !0)
|
|
5915
5914
|
]),
|
|
5916
5915
|
_: 3
|
|
5917
5916
|
}, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0)
|
|
5918
5917
|
])
|
|
5919
5918
|
]),
|
|
5920
5919
|
advanced: M(() => [
|
|
5921
|
-
m("div",
|
|
5922
|
-
m("div",
|
|
5920
|
+
m("div", Rh, [
|
|
5921
|
+
m("div", Uh, [
|
|
5923
5922
|
O(r, { href: a.openIdConnectLink }, {
|
|
5924
5923
|
default: M(() => t[7] || (t[7] = [
|
|
5925
5924
|
m("span", { class: "section-header" }, "Advanced Configuration Settings", -1)
|
|
@@ -5946,7 +5945,7 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5946
5945
|
}, 8, ["tabs"])
|
|
5947
5946
|
]);
|
|
5948
5947
|
}
|
|
5949
|
-
const
|
|
5948
|
+
const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb"]]), Ph = /* @__PURE__ */ he({
|
|
5950
5949
|
__name: "PostFunction",
|
|
5951
5950
|
props: {
|
|
5952
5951
|
formModel: {
|
|
@@ -5973,7 +5972,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
5973
5972
|
},
|
|
5974
5973
|
setup(e) {
|
|
5975
5974
|
var s;
|
|
5976
|
-
zt(
|
|
5975
|
+
zt(Ne, (s = fn()) == null ? void 0 : s[Mt]);
|
|
5977
5976
|
const { t, te: n } = ke("en-us", Re), i = e, a = z(() => i.formModel.id && i.isEditing || !i.isEditing), o = z(() => {
|
|
5978
5977
|
const r = i.formSchema;
|
|
5979
5978
|
return r.fields.map((d) => {
|
|
@@ -5989,7 +5988,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
5989
5988
|
onModelUpdated: e.onModelUpdated
|
|
5990
5989
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0);
|
|
5991
5990
|
}
|
|
5992
|
-
}),
|
|
5991
|
+
}), Dh = /* @__PURE__ */ W(Ph, [["__scopeId", "data-v-f54f37ae"]]), $h = /* @__PURE__ */ he({
|
|
5993
5992
|
__name: "ExitTransformer",
|
|
5994
5993
|
props: {
|
|
5995
5994
|
formModel: {
|
|
@@ -6016,7 +6015,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6016
6015
|
},
|
|
6017
6016
|
setup(e) {
|
|
6018
6017
|
var s;
|
|
6019
|
-
zt(
|
|
6018
|
+
zt(Ne, (s = fn()) == null ? void 0 : s[Mt]);
|
|
6020
6019
|
const { t, te: n } = ke("en-us", Re), i = e, a = z(() => i.formModel.id && i.isEditing || !i.isEditing), o = z(() => {
|
|
6021
6020
|
const r = i.formSchema;
|
|
6022
6021
|
return r.fields.map((d) => {
|
|
@@ -6032,7 +6031,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6032
6031
|
onModelUpdated: e.onModelUpdated
|
|
6033
6032
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0);
|
|
6034
6033
|
}
|
|
6035
|
-
}),
|
|
6034
|
+
}), Vh = /* @__PURE__ */ W($h, [["__scopeId", "data-v-0d5c541f"]]), jh = {
|
|
6036
6035
|
fields: [
|
|
6037
6036
|
{
|
|
6038
6037
|
inputType: "text",
|
|
@@ -6067,7 +6066,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6067
6066
|
disabled: !1
|
|
6068
6067
|
}
|
|
6069
6068
|
]
|
|
6070
|
-
},
|
|
6069
|
+
}, qh = {
|
|
6071
6070
|
fields: [
|
|
6072
6071
|
{
|
|
6073
6072
|
type: "input",
|
|
@@ -6089,7 +6088,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6089
6088
|
disabled: !1
|
|
6090
6089
|
}
|
|
6091
6090
|
]
|
|
6092
|
-
},
|
|
6091
|
+
}, Kh = {
|
|
6093
6092
|
fields: [
|
|
6094
6093
|
{
|
|
6095
6094
|
type: "input",
|
|
@@ -6120,7 +6119,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6120
6119
|
disabled: !1
|
|
6121
6120
|
}
|
|
6122
6121
|
]
|
|
6123
|
-
},
|
|
6122
|
+
}, Bh = { class: "general-settings" }, zh = { class: "sub-form" }, xh = { class: "general-settings" }, Hh = { class: "sub-form" }, Yh = { class: "general-settings" }, Gh = /* @__PURE__ */ he({
|
|
6124
6123
|
__name: "ACMEForm",
|
|
6125
6124
|
props: {
|
|
6126
6125
|
formModel: {
|
|
@@ -6147,7 +6146,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6147
6146
|
},
|
|
6148
6147
|
setup(e) {
|
|
6149
6148
|
var y;
|
|
6150
|
-
zt(
|
|
6149
|
+
zt(Ne, (y = fn()) == null ? void 0 : y[Mt]);
|
|
6151
6150
|
const t = e, n = ae("zeroSsl"), i = ae("shm"), a = z(() => {
|
|
6152
6151
|
var g;
|
|
6153
6152
|
const v = {};
|
|
@@ -6157,7 +6156,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6157
6156
|
return v;
|
|
6158
6157
|
}), o = z(() => {
|
|
6159
6158
|
var g;
|
|
6160
|
-
const v = We(
|
|
6159
|
+
const v = We(jh);
|
|
6161
6160
|
for (const V of v.fields) {
|
|
6162
6161
|
const Z = (g = a.value[V.model]) == null ? void 0 : g.help;
|
|
6163
6162
|
V.help === void 0 && typeof Z == "string" && (V.help = Z);
|
|
@@ -6165,7 +6164,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6165
6164
|
return v;
|
|
6166
6165
|
}), s = z(() => {
|
|
6167
6166
|
var g;
|
|
6168
|
-
const v = We(
|
|
6167
|
+
const v = We(qh);
|
|
6169
6168
|
for (const V of v.fields) {
|
|
6170
6169
|
const Z = (g = a.value[V.model]) == null ? void 0 : g.help;
|
|
6171
6170
|
V.help === void 0 && typeof Z == "string" && (V.help = Z);
|
|
@@ -6173,7 +6172,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6173
6172
|
return v;
|
|
6174
6173
|
}), r = z(() => {
|
|
6175
6174
|
var g;
|
|
6176
|
-
const v = We(
|
|
6175
|
+
const v = We(Kh);
|
|
6177
6176
|
for (const V of v.fields) {
|
|
6178
6177
|
const Z = (g = a.value[V.model]) == null ? void 0 : g.help;
|
|
6179
6178
|
V.help === void 0 && typeof Z == "string" && (V.help = Z);
|
|
@@ -6210,7 +6209,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6210
6209
|
hash: "#advanced",
|
|
6211
6210
|
title: "Advanced"
|
|
6212
6211
|
}
|
|
6213
|
-
],
|
|
6212
|
+
], L = [
|
|
6214
6213
|
{
|
|
6215
6214
|
label: "Lets Encrypt",
|
|
6216
6215
|
value: "letsEncrypt"
|
|
@@ -6246,7 +6245,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6246
6245
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
|
|
6247
6246
|
O(Z, { tabs: C }, {
|
|
6248
6247
|
general: M(() => [
|
|
6249
|
-
m("div",
|
|
6248
|
+
m("div", Bh, [
|
|
6250
6249
|
g[0] || (g[0] = m("div", { class: "header-wrapper" }, [
|
|
6251
6250
|
m("span", { class: "section-header" }, "General Configuration Settings")
|
|
6252
6251
|
], -1)),
|
|
@@ -6261,11 +6260,11 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6261
6260
|
g[2] || (g[2] = m("hr", null, null, -1)),
|
|
6262
6261
|
O(V, {
|
|
6263
6262
|
class: "issuer-select",
|
|
6264
|
-
items:
|
|
6263
|
+
items: L,
|
|
6265
6264
|
label: "Issuer",
|
|
6266
6265
|
onChange: T
|
|
6267
6266
|
}),
|
|
6268
|
-
m("div",
|
|
6267
|
+
m("div", zh, [
|
|
6269
6268
|
n.value === "letsEncrypt" ? (c(), U(ue, {
|
|
6270
6269
|
key: 0,
|
|
6271
6270
|
model: e.formModel,
|
|
@@ -6284,7 +6283,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6284
6283
|
])
|
|
6285
6284
|
]),
|
|
6286
6285
|
storage: M(() => [
|
|
6287
|
-
m("div",
|
|
6286
|
+
m("div", xh, [
|
|
6288
6287
|
g[3] || (g[3] = m("div", { class: "header-wrapper" }, [
|
|
6289
6288
|
m("span", { class: "section-header" }, "Storage Configuration Settings")
|
|
6290
6289
|
], -1)),
|
|
@@ -6296,7 +6295,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6296
6295
|
schema: p.value,
|
|
6297
6296
|
onModelUpdated: F
|
|
6298
6297
|
}, null, 8, ["model", "options", "schema"])) : B("", !0),
|
|
6299
|
-
m("div",
|
|
6298
|
+
m("div", Hh, [
|
|
6300
6299
|
i.value === "consul" ? (c(), U(ue, {
|
|
6301
6300
|
key: 0,
|
|
6302
6301
|
model: e.formModel,
|
|
@@ -6329,7 +6328,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6329
6328
|
])
|
|
6330
6329
|
]),
|
|
6331
6330
|
advanced: M(() => [
|
|
6332
|
-
m("div",
|
|
6331
|
+
m("div", Yh, [
|
|
6333
6332
|
g[5] || (g[5] = m("div", { class: "header-wrapper" }, [
|
|
6334
6333
|
m("span", { class: "section-header" }, "Advanced Configuration Settings")
|
|
6335
6334
|
], -1)),
|
|
@@ -6348,13 +6347,13 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6348
6347
|
]);
|
|
6349
6348
|
};
|
|
6350
6349
|
}
|
|
6351
|
-
}),
|
|
6350
|
+
}), Wh = /* @__PURE__ */ W(Gh, [["__scopeId", "data-v-07cecf5b"]]), Zh = { class: "rla-form-basic-fields" }, Xh = { class: "rla-form-request-limits-subtitle" }, Jh = { class: "rla-form-request-limits-content" }, Qh = { class: "rla-form-window-type" }, ep = ["innerHTML"], tp = { class: "rla-form-window-type-radios" }, np = { class: "rla-form-request-limits-items" }, ip = { class: "rla-form-request-limits-row" }, ap = ["id"], op = { class: "rla-form-request-limits-actions" }, rp = {
|
|
6352
6351
|
key: 0,
|
|
6353
6352
|
class: "rla-form-request-limits-examples"
|
|
6354
|
-
},
|
|
6353
|
+
}, sp = { class: "rla-form-request-limits-examples-badges" }, lp = ["innerHTML"], dp = {
|
|
6355
6354
|
id: "rla-form-error-legend",
|
|
6356
6355
|
class: "rla-form-error-inputs"
|
|
6357
|
-
},
|
|
6356
|
+
}, up = /* @__PURE__ */ he({
|
|
6358
6357
|
__name: "RLAForm",
|
|
6359
6358
|
props: {
|
|
6360
6359
|
formSchema: {},
|
|
@@ -6368,7 +6367,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6368
6367
|
},
|
|
6369
6368
|
setup(e) {
|
|
6370
6369
|
var Z;
|
|
6371
|
-
zt(
|
|
6370
|
+
zt(Ne, (Z = fn()) == null ? void 0 : Z[Mt]);
|
|
6372
6371
|
const t = {
|
|
6373
6372
|
fixed: [
|
|
6374
6373
|
{
|
|
@@ -6495,7 +6494,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6495
6494
|
var E, w, j, K;
|
|
6496
6495
|
return ((E = o.formModel) == null ? void 0 : E["config-error_code"]) ?? ((K = (j = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : j.find((H) => H.model === "config-error_code")) == null ? void 0 : K.default);
|
|
6497
6496
|
}
|
|
6498
|
-
),
|
|
6497
|
+
), L = z(
|
|
6499
6498
|
() => {
|
|
6500
6499
|
var E, w, j, K;
|
|
6501
6500
|
return ((E = o.formModel) == null ? void 0 : E["config-error_message"]) ?? ((K = (j = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : j.find((H) => H.model === "config-error_message")) == null ? void 0 : K.default);
|
|
@@ -6540,7 +6539,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6540
6539
|
}), (E, w) => {
|
|
6541
6540
|
const j = D("KLabel"), K = D("KRadio"), H = D("KInput"), ge = D("KButton"), Ke = D("KBadge"), fe = D("KTooltip"), Be = D("KCard"), Sn = D("KSelect"), Ht = D("KCollapse");
|
|
6542
6541
|
return c(), _(Y, null, [
|
|
6543
|
-
m("div",
|
|
6542
|
+
m("div", Zh, [
|
|
6544
6543
|
O(ue, {
|
|
6545
6544
|
model: E.formModel,
|
|
6546
6545
|
options: E.formOptions,
|
|
@@ -6555,15 +6554,15 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6555
6554
|
required: ""
|
|
6556
6555
|
}, {
|
|
6557
6556
|
default: M(() => [
|
|
6558
|
-
ce(
|
|
6557
|
+
ce(N(I(a)("rla.request_limits.title")), 1)
|
|
6559
6558
|
]),
|
|
6560
6559
|
_: 1
|
|
6561
6560
|
}),
|
|
6562
|
-
m("div",
|
|
6561
|
+
m("div", Xh, N(I(a)("rla.request_limits.subtitle")), 1)
|
|
6563
6562
|
]),
|
|
6564
6563
|
default: M(() => [
|
|
6565
|
-
m("div",
|
|
6566
|
-
m("div",
|
|
6564
|
+
m("div", Jh, [
|
|
6565
|
+
m("div", Qh, [
|
|
6567
6566
|
O(j, {
|
|
6568
6567
|
class: "rla-form-window-type-label",
|
|
6569
6568
|
"tooltip-attributes": {
|
|
@@ -6574,14 +6573,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6574
6573
|
tooltip: M(() => [
|
|
6575
6574
|
m("div", {
|
|
6576
6575
|
innerHTML: I(a)("rla.window_type.help")
|
|
6577
|
-
}, null, 8,
|
|
6576
|
+
}, null, 8, ep)
|
|
6578
6577
|
]),
|
|
6579
6578
|
default: M(() => [
|
|
6580
|
-
ce(
|
|
6579
|
+
ce(N(I(a)("rla.window_type.label")) + " ", 1)
|
|
6581
6580
|
]),
|
|
6582
6581
|
_: 1
|
|
6583
6582
|
}),
|
|
6584
|
-
m("div",
|
|
6583
|
+
m("div", tp, [
|
|
6585
6584
|
(c(!0), _(Y, null, oe(q.value, ($) => (c(), U(K, {
|
|
6586
6585
|
key: `window-type-${$}`,
|
|
6587
6586
|
"model-value": k.value,
|
|
@@ -6590,13 +6589,13 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6590
6589
|
"onUpdate:modelValue": F
|
|
6591
6590
|
}, {
|
|
6592
6591
|
default: M(() => [
|
|
6593
|
-
ce(
|
|
6592
|
+
ce(N(I(a)(`rla.window_type.options.${$}`)), 1)
|
|
6594
6593
|
]),
|
|
6595
6594
|
_: 2
|
|
6596
6595
|
}, 1032, ["model-value", "name", "selected-value"]))), 128))
|
|
6597
6596
|
])
|
|
6598
6597
|
]),
|
|
6599
|
-
m("div",
|
|
6598
|
+
m("div", np, [
|
|
6600
6599
|
(c(!0), _(Y, null, oe(h.value, ($, ne) => (c(), _("div", {
|
|
6601
6600
|
key: ne.toString()
|
|
6602
6601
|
}, [
|
|
@@ -6604,11 +6603,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6604
6603
|
for: `rla-form-request-limits-item-${ne}-legend`
|
|
6605
6604
|
}, {
|
|
6606
6605
|
default: M(() => [
|
|
6607
|
-
ce(
|
|
6606
|
+
ce(N(I(a)("rla.request_limits.label_index", { index: ne + 1 })), 1)
|
|
6608
6607
|
]),
|
|
6609
6608
|
_: 2
|
|
6610
6609
|
}, 1032, ["for"]),
|
|
6611
|
-
m("div",
|
|
6610
|
+
m("div", ip, [
|
|
6612
6611
|
m("legend", {
|
|
6613
6612
|
id: `rla-form-request-limits-item-${ne}-legend`,
|
|
6614
6613
|
class: "rla-form-request-limits-inputs"
|
|
@@ -6619,23 +6618,23 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6619
6618
|
type: "number",
|
|
6620
6619
|
"onUpdate:modelValue": (re) => y(ne, Number.parseInt(re))
|
|
6621
6620
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
6622
|
-
m("div", null,
|
|
6621
|
+
m("div", null, N(I(a)("rla.request_limits.interval_determiner")), 1),
|
|
6623
6622
|
O(H, {
|
|
6624
6623
|
"model-value": $.windowSize && $.windowSize.toString(),
|
|
6625
6624
|
placeholder: I(a)("rla.request_limits.time_interval"),
|
|
6626
6625
|
type: "number",
|
|
6627
6626
|
"onUpdate:modelValue": (re) => v(ne, Number.parseInt(re))
|
|
6628
6627
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
6629
|
-
m("div", null,
|
|
6630
|
-
], 8,
|
|
6631
|
-
m("div",
|
|
6628
|
+
m("div", null, N(I(a)("rla.request_limits.seconds")), 1)
|
|
6629
|
+
], 8, ap),
|
|
6630
|
+
m("div", op, [
|
|
6632
6631
|
O(ge, {
|
|
6633
6632
|
appearance: "tertiary",
|
|
6634
6633
|
disabled: h.value.length <= 1,
|
|
6635
6634
|
onClick: () => V(ne)
|
|
6636
6635
|
}, {
|
|
6637
6636
|
default: M(() => [
|
|
6638
|
-
O(I(
|
|
6637
|
+
O(I(Ho))
|
|
6639
6638
|
]),
|
|
6640
6639
|
_: 2
|
|
6641
6640
|
}, 1032, ["disabled", "onClick"]),
|
|
@@ -6652,18 +6651,18 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6652
6651
|
])
|
|
6653
6652
|
]))), 128))
|
|
6654
6653
|
]),
|
|
6655
|
-
d.value.length > 0 ? (c(), _("div",
|
|
6656
|
-
m("div", null,
|
|
6657
|
-
m("div",
|
|
6654
|
+
d.value.length > 0 ? (c(), _("div", rp, [
|
|
6655
|
+
m("div", null, N(I(a)("rla.start_with_a_use_case")), 1),
|
|
6656
|
+
m("div", sp, [
|
|
6658
6657
|
(c(!0), _(Y, null, oe(d.value, ($, ne) => (c(), U(fe, {
|
|
6659
6658
|
key: `use-case-${ne}`,
|
|
6660
6659
|
"max-width": "300"
|
|
6661
6660
|
}, {
|
|
6662
6661
|
content: M(() => [
|
|
6663
|
-
m("div", null,
|
|
6662
|
+
m("div", null, N($.description), 1),
|
|
6664
6663
|
w[10] || (w[10] = m("br", null, null, -1)),
|
|
6665
|
-
m("div", null,
|
|
6666
|
-
m("div", null,
|
|
6664
|
+
m("div", null, N(I(a)("rla.request_limits.label")) + ": " + N($.config.limit), 1),
|
|
6665
|
+
m("div", null, N(I(a)("rla.request_limits.time_interval")) + ": " + N($.config.window_size), 1)
|
|
6667
6666
|
]),
|
|
6668
6667
|
default: M(() => [
|
|
6669
6668
|
O(Ke, {
|
|
@@ -6672,7 +6671,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6672
6671
|
onClick: () => T($, `${k.value}-${ne}`)
|
|
6673
6672
|
}, {
|
|
6674
6673
|
default: M(() => [
|
|
6675
|
-
ce(
|
|
6674
|
+
ce(N($.label), 1)
|
|
6676
6675
|
]),
|
|
6677
6676
|
_: 2
|
|
6678
6677
|
}, 1032, ["appearance", "onClick"])
|
|
@@ -6703,7 +6702,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6703
6702
|
"label-tooltip": M(() => [
|
|
6704
6703
|
m("div", {
|
|
6705
6704
|
innerHTML: u.value && u.value.help
|
|
6706
|
-
}, null, 8,
|
|
6705
|
+
}, null, 8, lp)
|
|
6707
6706
|
]),
|
|
6708
6707
|
_: 1
|
|
6709
6708
|
}, 8, ["modelValue", "items", "label"]),
|
|
@@ -6718,11 +6717,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6718
6717
|
}
|
|
6719
6718
|
}, {
|
|
6720
6719
|
default: M(() => [
|
|
6721
|
-
ce(
|
|
6720
|
+
ce(N(I(a)("rla.error_message.label")), 1)
|
|
6722
6721
|
]),
|
|
6723
6722
|
_: 1
|
|
6724
6723
|
}, 8, ["info"]),
|
|
6725
|
-
m("legend",
|
|
6724
|
+
m("legend", dp, [
|
|
6726
6725
|
O(H, {
|
|
6727
6726
|
class: "input-error-code",
|
|
6728
6727
|
"model-value": C.value && C.value.toString(),
|
|
@@ -6732,7 +6731,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6732
6731
|
}, null, 8, ["model-value", "placeholder"]),
|
|
6733
6732
|
w[11] || (w[11] = m("div", null, ":", -1)),
|
|
6734
6733
|
O(H, {
|
|
6735
|
-
"model-value":
|
|
6734
|
+
"model-value": L.value,
|
|
6736
6735
|
placeholder: I(a)("rla.error_message.message_placeholder"),
|
|
6737
6736
|
"onUpdate:modelValue": w[4] || (w[4] = ($) => E.onModelUpdated($, "config-error_message"))
|
|
6738
6737
|
}, null, 8, ["model-value", "placeholder"])
|
|
@@ -6784,20 +6783,20 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6784
6783
|
], 64);
|
|
6785
6784
|
};
|
|
6786
6785
|
}
|
|
6787
|
-
}),
|
|
6786
|
+
}), cp = /* @__PURE__ */ W(up, [["__scopeId", "data-v-dc7ac5da"]]), bp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6788
6787
|
__proto__: null,
|
|
6789
|
-
ACMEForm:
|
|
6790
|
-
ExitTransformer:
|
|
6791
|
-
OIDCForm:
|
|
6792
|
-
PostFunction:
|
|
6793
|
-
RLAForm:
|
|
6794
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6788
|
+
ACMEForm: Wh,
|
|
6789
|
+
ExitTransformer: Vh,
|
|
6790
|
+
OIDCForm: Lh,
|
|
6791
|
+
PostFunction: Dh,
|
|
6792
|
+
RLAForm: cp
|
|
6793
|
+
}, Symbol.toStringTag, { value: "Module" })), _p = [
|
|
6795
6794
|
"array",
|
|
6796
6795
|
"metric",
|
|
6797
6796
|
"advanced",
|
|
6798
6797
|
"selectionGroup",
|
|
6799
6798
|
"object-advanced"
|
|
6800
|
-
],
|
|
6799
|
+
], Tp = (e) => ({
|
|
6801
6800
|
"openid-connect": "OIDCForm",
|
|
6802
6801
|
"post-function": "PostFunction",
|
|
6803
6802
|
// Pre and Post function plugins are using same component
|
|
@@ -6806,18 +6805,18 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6806
6805
|
"rate-limiting-advanced": "RLAForm"
|
|
6807
6806
|
})[e];
|
|
6808
6807
|
export {
|
|
6809
|
-
|
|
6808
|
+
Ne as AUTOFILL_SLOT,
|
|
6810
6809
|
Mt as AUTOFILL_SLOT_NAME,
|
|
6811
6810
|
je as FIELD_STATES,
|
|
6812
6811
|
Se as FORMS_API_KEY,
|
|
6813
|
-
|
|
6812
|
+
al as FORMS_CONFIG,
|
|
6814
6813
|
un as PartialType,
|
|
6815
|
-
|
|
6816
|
-
|
|
6814
|
+
ol as REDIS_PARTIAL_FETCHER_KEY,
|
|
6815
|
+
yp as REDIS_PARTIAL_INFO,
|
|
6817
6816
|
ue as VueFormGenerator,
|
|
6818
|
-
|
|
6817
|
+
vp as abstractField,
|
|
6819
6818
|
qe as composables,
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6819
|
+
_p as customFields,
|
|
6820
|
+
Tp as getSharedFormName,
|
|
6821
|
+
bp as sharedForms
|
|
6823
6822
|
};
|