@kong-ui-public/forms 4.17.5 → 4.17.6-pr.2490.bcfd445cb.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/forms.es.js
CHANGED
|
@@ -1,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 L, 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 Fi, useModel as $o, createSlots as cn, ref as ae, onMounted as Jn, watch as mn, computed as z, toRefs as ut, inject as an, onBeforeMount as Qn, mergeProps as et, Transition as Vo, createCommentVNode as B, resolveDirective as Ca, withDirectives as Ee, vModelText as $t, vModelCheckbox as jo, vModelSelect as qo, vModelDynamic as Oa, isRef as Et, toRef as Ko, vModelRadio as Bo, vShow as zo, normalizeProps as xo, guardReactiveProps as Ho, useSlots as fn, nextTick as ki } 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 Yo, AddIcon as ei, RemoveIcon as Go } from "@kong/icons";
|
|
4
|
+
import { isAxiosError as Wo } from "axios";
|
|
5
|
+
import { useStringHelpers as Zo, useErrors as Xo, useDebouncedFilter as Jo, useAxios as Qo } from "@kong-ui-public/entities-shared";
|
|
6
|
+
function Fa(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 er(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 Jo(e) {
|
|
|
18
18
|
return t;
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
var
|
|
22
|
-
function
|
|
21
|
+
var tr = er();
|
|
22
|
+
function nr(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 ka = typeof global == "object" && global && global.Object === Object && global, ir = typeof self == "object" && self && self.Object === Object && self, Pe = ka || ir || Function("return this")(), tt = Pe.Symbol, Ra = Object.prototype, ar = Ra.hasOwnProperty, or = Ra.toString, kt = tt ? tt.toStringTag : void 0;
|
|
28
|
+
function rr(e) {
|
|
29
|
+
var t = ar.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 = or.call(e);
|
|
36
36
|
return i && (t ? e[kt] = n : delete e[kt]), a;
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
function
|
|
40
|
-
return
|
|
38
|
+
var sr = Object.prototype, lr = sr.toString;
|
|
39
|
+
function dr(e) {
|
|
40
|
+
return lr.call(e);
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var ur = "[object Null]", cr = "[object Undefined]", Ri = tt ? tt.toStringTag : void 0;
|
|
43
43
|
function nt(e) {
|
|
44
|
-
return e == null ? e === void 0 ?
|
|
44
|
+
return e == null ? e === void 0 ? cr : ur : Ri && Ri in Object(e) ? rr(e) : dr(e);
|
|
45
45
|
}
|
|
46
46
|
function it(e) {
|
|
47
47
|
return e != null && typeof e == "object";
|
|
48
48
|
}
|
|
49
|
-
var
|
|
50
|
-
function
|
|
51
|
-
return it(e) && nt(e) ==
|
|
49
|
+
var mr = "[object Arguments]";
|
|
50
|
+
function Ui(e) {
|
|
51
|
+
return it(e) && nt(e) == mr;
|
|
52
52
|
}
|
|
53
|
-
var
|
|
53
|
+
var Ua = Object.prototype, fr = Ua.hasOwnProperty, hr = Ua.propertyIsEnumerable, pr = Ui(/* @__PURE__ */ function() {
|
|
54
54
|
return arguments;
|
|
55
|
-
}()) ?
|
|
56
|
-
return it(e) &&
|
|
55
|
+
}()) ? Ui : function(e) {
|
|
56
|
+
return it(e) && fr.call(e, "callee") && !hr.call(e, "callee");
|
|
57
57
|
}, at = Array.isArray;
|
|
58
|
-
function
|
|
58
|
+
function gr() {
|
|
59
59
|
return !1;
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
function
|
|
61
|
+
var La = typeof exports == "object" && exports && !exports.nodeType && exports, Li = La && typeof module == "object" && module && !module.nodeType && module, yr = Li && Li.exports === La, Ni = yr ? Pe.Buffer : void 0, vr = Ni ? Ni.isBuffer : void 0, Na = vr || gr, br = 9007199254740991, _r = /^(?:0|[1-9]\d*)$/;
|
|
62
|
+
function Pa(e, t) {
|
|
63
63
|
var n = typeof e;
|
|
64
|
-
return t = t ??
|
|
64
|
+
return t = t ?? br, !!t && (n == "number" || n != "symbol" && _r.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 Tr = 9007199254740991;
|
|
67
|
+
function Da(e) {
|
|
68
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Tr;
|
|
69
69
|
}
|
|
70
|
-
var
|
|
71
|
-
Q[
|
|
72
|
-
Q[
|
|
73
|
-
function
|
|
74
|
-
return it(e) &&
|
|
70
|
+
var Sr = "[object Arguments]", wr = "[object Array]", Er = "[object Boolean]", Mr = "[object Date]", Ar = "[object Error]", Ir = "[object Function]", Cr = "[object Map]", Or = "[object Number]", Fr = "[object Object]", kr = "[object RegExp]", Rr = "[object Set]", Ur = "[object String]", Lr = "[object WeakMap]", Nr = "[object ArrayBuffer]", Pr = "[object DataView]", Dr = "[object Float32Array]", $r = "[object Float64Array]", Vr = "[object Int8Array]", jr = "[object Int16Array]", qr = "[object Int32Array]", Kr = "[object Uint8Array]", Br = "[object Uint8ClampedArray]", zr = "[object Uint16Array]", xr = "[object Uint32Array]", Q = {};
|
|
71
|
+
Q[Dr] = Q[$r] = Q[Vr] = Q[jr] = Q[qr] = Q[Kr] = Q[Br] = Q[zr] = Q[xr] = !0;
|
|
72
|
+
Q[Sr] = Q[wr] = Q[Nr] = Q[Er] = Q[Pr] = Q[Mr] = Q[Ar] = Q[Ir] = Q[Cr] = Q[Or] = Q[Fr] = Q[kr] = Q[Rr] = Q[Ur] = Q[Lr] = !1;
|
|
73
|
+
function Hr(e) {
|
|
74
|
+
return it(e) && Da(e.length) && !!Q[nt(e)];
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function ti(e) {
|
|
77
77
|
return function(t) {
|
|
78
78
|
return e(t);
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
-
var
|
|
81
|
+
var $a = typeof exports == "object" && exports && !exports.nodeType && exports, Vt = $a && typeof module == "object" && module && !module.nodeType && module, Yr = Vt && Vt.exports === $a, Ln = Yr && ka.process, St = function() {
|
|
82
82
|
try {
|
|
83
83
|
var e = Vt && Vt.require && Vt.require("util").types;
|
|
84
|
-
return e ||
|
|
84
|
+
return e || Ln && Ln.binding && Ln.binding("util");
|
|
85
85
|
} catch {
|
|
86
86
|
}
|
|
87
|
-
}(),
|
|
88
|
-
function
|
|
89
|
-
var n = at(e), i = !n &&
|
|
87
|
+
}(), Pi = St && St.isTypedArray, Gr = Pi ? ti(Pi) : Hr, Wr = Object.prototype, Zr = Wr.hasOwnProperty;
|
|
88
|
+
function Va(e, t) {
|
|
89
|
+
var n = at(e), i = !n && pr(e), a = !n && !i && Na(e), o = !n && !i && !a && Gr(e), s = n || i || a || o, r = s ? nr(e.length, String) : [], d = r.length;
|
|
90
90
|
for (var u in e)
|
|
91
|
-
(t ||
|
|
91
|
+
(t || Zr.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
|
+
Pa(u, d))) && r.push(u);
|
|
96
96
|
return r;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
99
|
-
function
|
|
100
|
-
var t = e && e.constructor, n = typeof t == "function" && t.prototype ||
|
|
98
|
+
var Xr = Object.prototype;
|
|
99
|
+
function ni(e) {
|
|
100
|
+
var t = e && e.constructor, n = typeof t == "function" && t.prototype || Xr;
|
|
101
101
|
return e === n;
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function ja(e, t) {
|
|
104
104
|
return function(n) {
|
|
105
105
|
return e(t(n));
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
|
-
var
|
|
109
|
-
function
|
|
110
|
-
if (!
|
|
111
|
-
return
|
|
108
|
+
var Jr = ja(Object.keys, Object), Qr = Object.prototype, es = Qr.hasOwnProperty;
|
|
109
|
+
function ts(e) {
|
|
110
|
+
if (!ni(e))
|
|
111
|
+
return Jr(e);
|
|
112
112
|
var t = [];
|
|
113
113
|
for (var n in Object(e))
|
|
114
|
-
|
|
114
|
+
es.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 ns = "[object AsyncFunction]", is = "[object Function]", as = "[object GeneratorFunction]", os = "[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 == is || t == as || t == ns || t == os;
|
|
127
127
|
}
|
|
128
128
|
function hn(e) {
|
|
129
|
-
return e != null &&
|
|
129
|
+
return e != null && Da(e.length) && !X(e);
|
|
130
130
|
}
|
|
131
131
|
function pn(e) {
|
|
132
|
-
return hn(e) ?
|
|
132
|
+
return hn(e) ? Va(e) : ts(e);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
return e &&
|
|
134
|
+
function rs(e, t) {
|
|
135
|
+
return e && tr(e, t, pn);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function ss(e, t) {
|
|
138
138
|
return function(n, i) {
|
|
139
139
|
if (n == null)
|
|
140
140
|
return n;
|
|
@@ -145,40 +145,40 @@ function os(e, t) {
|
|
|
145
145
|
return n;
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
|
-
var
|
|
149
|
-
function
|
|
148
|
+
var ls = ss(rs);
|
|
149
|
+
function ii(e) {
|
|
150
150
|
return e;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
return typeof e == "function" ? e :
|
|
152
|
+
function ds(e) {
|
|
153
|
+
return typeof e == "function" ? e : ii;
|
|
154
154
|
}
|
|
155
155
|
function we(e, t) {
|
|
156
|
-
var n = at(e) ?
|
|
157
|
-
return n(e,
|
|
156
|
+
var n = at(e) ? Fa : ls;
|
|
157
|
+
return n(e, ds(t));
|
|
158
158
|
}
|
|
159
|
-
var
|
|
159
|
+
var us = "[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) == us;
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
function
|
|
163
|
+
var cs = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ms = /^\w*$/;
|
|
164
|
+
function fs(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 : ms.test(e) || !cs.test(e) || t != null && e in Object(t);
|
|
169
169
|
}
|
|
170
|
-
var
|
|
171
|
-
var e = /[^.]+$/.exec(
|
|
170
|
+
var Nn = Pe["__core-js_shared__"], Di = function() {
|
|
171
|
+
var e = /[^.]+$/.exec(Nn && Nn.keys && Nn.keys.IE_PROTO || "");
|
|
172
172
|
return e ? "Symbol(src)_1." + e : "";
|
|
173
173
|
}();
|
|
174
|
-
function
|
|
175
|
-
return !!
|
|
174
|
+
function hs(e) {
|
|
175
|
+
return !!Di && Di in e;
|
|
176
176
|
}
|
|
177
|
-
var
|
|
177
|
+
var ps = Function.prototype, gs = ps.toString;
|
|
178
178
|
function ct(e) {
|
|
179
179
|
if (e != null) {
|
|
180
180
|
try {
|
|
181
|
-
return
|
|
181
|
+
return gs.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 ys = /[\\^$.*+?()[\]{}|]/g, vs = /^\[object .+?Constructor\]$/, bs = Function.prototype, _s = Object.prototype, Ts = bs.toString, Ss = _s.hasOwnProperty, ws = RegExp(
|
|
192
|
+
"^" + Ts.call(Ss).replace(ys, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
193
193
|
);
|
|
194
|
-
function
|
|
195
|
-
if (!Fe(e) ||
|
|
194
|
+
function Es(e) {
|
|
195
|
+
if (!Fe(e) || hs(e))
|
|
196
196
|
return !1;
|
|
197
|
-
var t = X(e) ?
|
|
197
|
+
var t = X(e) ? ws : vs;
|
|
198
198
|
return t.test(ct(e));
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function Ms(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 = Ms(e, t);
|
|
205
|
+
return Es(n) ? n : void 0;
|
|
206
206
|
}
|
|
207
207
|
var Kt = mt(Object, "create");
|
|
208
|
-
function
|
|
208
|
+
function As() {
|
|
209
209
|
this.__data__ = Kt ? Kt(null) : {}, this.size = 0;
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function Is(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 Cs = "__lodash_hash_undefined__", Os = Object.prototype, Fs = Os.hasOwnProperty;
|
|
216
|
+
function ks(e) {
|
|
217
217
|
var t = this.__data__;
|
|
218
218
|
if (Kt) {
|
|
219
219
|
var n = t[e];
|
|
220
|
-
return n ===
|
|
220
|
+
return n === Cs ? void 0 : n;
|
|
221
221
|
}
|
|
222
|
-
return
|
|
222
|
+
return Fs.call(t, e) ? t[e] : void 0;
|
|
223
223
|
}
|
|
224
|
-
var
|
|
225
|
-
function
|
|
224
|
+
var Rs = Object.prototype, Us = Rs.hasOwnProperty;
|
|
225
|
+
function Ls(e) {
|
|
226
226
|
var t = this.__data__;
|
|
227
|
-
return Kt ? t[e] !== void 0 :
|
|
227
|
+
return Kt ? t[e] !== void 0 : Us.call(t, e);
|
|
228
228
|
}
|
|
229
|
-
var
|
|
230
|
-
function
|
|
229
|
+
var Ns = "__lodash_hash_undefined__";
|
|
230
|
+
function Ps(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 ? Ns : 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 =
|
|
245
|
-
rt.prototype.set =
|
|
246
|
-
function
|
|
241
|
+
rt.prototype.clear = As;
|
|
242
|
+
rt.prototype.delete = Is;
|
|
243
|
+
rt.prototype.get = ks;
|
|
244
|
+
rt.prototype.has = Ls;
|
|
245
|
+
rt.prototype.set = Ps;
|
|
246
|
+
function Ds() {
|
|
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 $s = Array.prototype, Vs = $s.splice;
|
|
259
|
+
function js(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() : Vs.call(t, n, 1), --this.size, !0;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function qs(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 Ks(e) {
|
|
271
271
|
return vn(this.__data__, e) > -1;
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function Bs(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 = Ds;
|
|
285
|
+
Ze.prototype.delete = js;
|
|
286
|
+
Ze.prototype.get = qs;
|
|
287
|
+
Ze.prototype.has = Ks;
|
|
288
|
+
Ze.prototype.set = Bs;
|
|
289
289
|
var Bt = mt(Pe, "Map");
|
|
290
|
-
function
|
|
290
|
+
function zs() {
|
|
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 xs(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 xs(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function Hs(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 Ys(e) {
|
|
310
310
|
return bn(this, e).get(e);
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function Gs(e) {
|
|
313
313
|
return bn(this, e).has(e);
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function Ws(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
|
|
332
|
-
function
|
|
326
|
+
Xe.prototype.clear = zs;
|
|
327
|
+
Xe.prototype.delete = Hs;
|
|
328
|
+
Xe.prototype.get = Ys;
|
|
329
|
+
Xe.prototype.has = Gs;
|
|
330
|
+
Xe.prototype.set = Ws;
|
|
331
|
+
var Zs = "Expected a function";
|
|
332
|
+
function ai(e, t) {
|
|
333
333
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
334
|
-
throw new TypeError(
|
|
334
|
+
throw new TypeError(Zs);
|
|
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))
|
|
@@ -339,64 +339,64 @@ function ii(e, t) {
|
|
|
339
339
|
var s = e.apply(this, i);
|
|
340
340
|
return n.cache = o.set(a, s) || o, s;
|
|
341
341
|
};
|
|
342
|
-
return n.cache = new (
|
|
342
|
+
return n.cache = new (ai.Cache || Xe)(), n;
|
|
343
343
|
}
|
|
344
|
-
|
|
345
|
-
var
|
|
346
|
-
function
|
|
347
|
-
var t =
|
|
348
|
-
return n.size ===
|
|
344
|
+
ai.Cache = Xe;
|
|
345
|
+
var Xs = 500;
|
|
346
|
+
function Js(e) {
|
|
347
|
+
var t = ai(e, function(i) {
|
|
348
|
+
return n.size === Xs && n.clear(), i;
|
|
349
349
|
}), n = t.cache;
|
|
350
350
|
return t;
|
|
351
351
|
}
|
|
352
|
-
var
|
|
352
|
+
var Qs = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, el = /\\(\\)?/g, tl = Js(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(Qs, function(n, i, a, o) {
|
|
355
|
+
t.push(a ? o.replace(el, "$1") : i || n);
|
|
356
356
|
}), t;
|
|
357
357
|
});
|
|
358
|
-
function
|
|
358
|
+
function nl(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
|
-
var
|
|
364
|
-
function
|
|
363
|
+
var $i = tt ? tt.prototype : void 0, Vi = $i ? $i.toString : void 0;
|
|
364
|
+
function qa(e) {
|
|
365
365
|
if (typeof e == "string")
|
|
366
366
|
return e;
|
|
367
367
|
if (at(e))
|
|
368
|
-
return
|
|
368
|
+
return nl(e, qa) + "";
|
|
369
369
|
if (gn(e))
|
|
370
|
-
return
|
|
370
|
+
return Vi ? Vi.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 Ka(e) {
|
|
375
|
+
return e == null ? "" : qa(e);
|
|
376
376
|
}
|
|
377
|
-
function
|
|
378
|
-
return at(e) ? e :
|
|
377
|
+
function il(e, t) {
|
|
378
|
+
return at(e) ? e : fs(e, t) ? [e] : tl(Ka(e));
|
|
379
379
|
}
|
|
380
|
-
function
|
|
380
|
+
function al(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 ol(e, t) {
|
|
387
|
+
t = il(t, e);
|
|
388
388
|
for (var n = 0, i = t.length; e != null && n < i; )
|
|
389
|
-
e = e[
|
|
389
|
+
e = e[al(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 : ol(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", rl = "kong-ui-forms-config", sl = "redis-partial-list-fetcher-key", bp = "redis-partial-info", Mt = "autofill", Le = "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,108 +404,108 @@ const Se = "kong-ui-forms-api", al = "kong-ui-forms-config", ol = "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:
|
|
408
|
-
setPrototypeOf:
|
|
409
|
-
isFrozen:
|
|
410
|
-
getPrototypeOf:
|
|
411
|
-
getOwnPropertyDescriptor:
|
|
407
|
+
entries: Ba,
|
|
408
|
+
setPrototypeOf: ji,
|
|
409
|
+
isFrozen: ll,
|
|
410
|
+
getPrototypeOf: dl,
|
|
411
|
+
getOwnPropertyDescriptor: ul
|
|
412
412
|
} = Object;
|
|
413
413
|
let {
|
|
414
414
|
freeze: Me,
|
|
415
|
-
seal:
|
|
416
|
-
create:
|
|
415
|
+
seal: Ne,
|
|
416
|
+
create: za
|
|
417
417
|
} = Object, {
|
|
418
|
-
apply:
|
|
419
|
-
construct:
|
|
418
|
+
apply: xn,
|
|
419
|
+
construct: Hn
|
|
420
420
|
} = typeof Reflect < "u" && Reflect;
|
|
421
421
|
Me || (Me = function(t) {
|
|
422
422
|
return t;
|
|
423
423
|
});
|
|
424
|
-
|
|
424
|
+
Ne || (Ne = function(t) {
|
|
425
425
|
return t;
|
|
426
426
|
});
|
|
427
|
-
|
|
427
|
+
xn || (xn = function(t, n, i) {
|
|
428
428
|
return t.apply(n, i);
|
|
429
429
|
});
|
|
430
|
-
|
|
430
|
+
Hn || (Hn = 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), cl = Ae(Array.prototype.lastIndexOf), qi = Ae(Array.prototype.pop), Rt = Ae(Array.prototype.push), ml = Ae(Array.prototype.splice), nn = Ae(String.prototype.toLowerCase), Pn = Ae(String.prototype.toString), Ki = Ae(String.prototype.match), Ut = Ae(String.prototype.replace), fl = Ae(String.prototype.indexOf), hl = Ae(String.prototype.trim), De = Ae(Object.prototype.hasOwnProperty), Te = Ae(RegExp.prototype.test), Lt = pl(TypeError);
|
|
434
434
|
function Ae(e) {
|
|
435
435
|
return function(t) {
|
|
436
436
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
437
437
|
for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), a = 1; a < n; a++)
|
|
438
438
|
i[a - 1] = arguments[a];
|
|
439
|
-
return
|
|
439
|
+
return xn(e, t, i);
|
|
440
440
|
};
|
|
441
441
|
}
|
|
442
|
-
function
|
|
442
|
+
function pl(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];
|
|
446
|
-
return
|
|
446
|
+
return Hn(e, n);
|
|
447
447
|
};
|
|
448
448
|
}
|
|
449
449
|
function x(e, t) {
|
|
450
450
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : nn;
|
|
451
|
-
|
|
451
|
+
ji && ji(e, null);
|
|
452
452
|
let i = t.length;
|
|
453
453
|
for (; i--; ) {
|
|
454
454
|
let a = t[i];
|
|
455
455
|
if (typeof a == "string") {
|
|
456
456
|
const o = n(a);
|
|
457
|
-
o !== a && (
|
|
457
|
+
o !== a && (ll(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 gl(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 = za(null);
|
|
470
|
+
for (const [n, i] of Ba(e))
|
|
471
|
+
De(e, n) && (Array.isArray(i) ? t[n] = gl(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 Nt(e, t) {
|
|
475
475
|
for (; e !== null; ) {
|
|
476
|
-
const i =
|
|
476
|
+
const i = ul(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 = dl(e);
|
|
484
484
|
}
|
|
485
485
|
function n() {
|
|
486
486
|
return null;
|
|
487
487
|
}
|
|
488
488
|
return n;
|
|
489
489
|
}
|
|
490
|
-
const
|
|
490
|
+
const Bi = 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"]), yl = 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"]), vl = Me(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), zi = Me(["#text"]), xi = 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"]), Hi = 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"]), bl = Ne(/\{\{[\w\W]*|[\w\W]*\}\}/gm), _l = Ne(/<%[\w\W]*|[\w\W]*%>/gm), Tl = Ne(/\$\{[\w\W]*/gm), Sl = Ne(/^data-[\-\w.\u00B7-\uFFFF]+$/), wl = Ne(/^aria-[\-\w]+$/), xa = Ne(
|
|
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
|
+
), El = Ne(/^(?:\w+script|data):/i), Ml = Ne(
|
|
494
494
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
495
495
|
// eslint-disable-line no-control-regex
|
|
496
|
-
),
|
|
497
|
-
var
|
|
496
|
+
), Ha = Ne(/^html$/i), Al = Ne(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
497
|
+
var Yi = /* @__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: wl,
|
|
500
|
+
ATTR_WHITESPACE: Ml,
|
|
501
|
+
CUSTOM_ELEMENT: Al,
|
|
502
|
+
DATA_ATTR: Sl,
|
|
503
|
+
DOCTYPE_NAME: Ha,
|
|
504
|
+
ERB_EXPR: _l,
|
|
505
|
+
IS_ALLOWED_URI: xa,
|
|
506
|
+
IS_SCRIPT_OR_DATA: El,
|
|
507
|
+
MUSTACHE_EXPR: bl,
|
|
508
|
+
TMPLIT_EXPR: Tl
|
|
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
|
+
}, Il = function() {
|
|
518
518
|
return typeof window > "u" ? null : window;
|
|
519
|
-
},
|
|
519
|
+
}, Cl = function(t, n) {
|
|
520
520
|
if (typeof t != "object" || typeof t.createPolicy != "function")
|
|
521
521
|
return null;
|
|
522
522
|
let i = null;
|
|
@@ -535,7 +535,7 @@ const Pt = {
|
|
|
535
535
|
} catch {
|
|
536
536
|
return console.warn("TrustedTypes policy " + o + " could not be created."), null;
|
|
537
537
|
}
|
|
538
|
-
},
|
|
538
|
+
}, Gi = function() {
|
|
539
539
|
return {
|
|
540
540
|
afterSanitizeAttributes: [],
|
|
541
541
|
afterSanitizeElements: [],
|
|
@@ -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 Ya() {
|
|
552
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Il();
|
|
553
|
+
const t = (P) => Ya(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 xa() {
|
|
|
566
566
|
HTMLFormElement: f,
|
|
567
567
|
DOMParser: b,
|
|
568
568
|
trustedTypes: k
|
|
569
|
-
} = e, q = d.prototype, h =
|
|
569
|
+
} = e, q = d.prototype, h = Nt(q, "cloneNode"), A = Nt(q, "remove"), C = Nt(q, "nextSibling"), N = Nt(q, "childNodes"), T = Nt(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);
|
|
@@ -580,8 +580,8 @@ function xa() {
|
|
|
580
580
|
} = n, {
|
|
581
581
|
importNode: E
|
|
582
582
|
} = i;
|
|
583
|
-
let w =
|
|
584
|
-
t.isSupported = typeof
|
|
583
|
+
let w = Gi();
|
|
584
|
+
t.isSupported = typeof Ba == "function" && typeof T == "function" && v && v.createHTMLDocument !== void 0;
|
|
585
585
|
const {
|
|
586
586
|
MUSTACHE_EXPR: j,
|
|
587
587
|
ERB_EXPR: K,
|
|
@@ -591,14 +591,14 @@ function xa() {
|
|
|
591
591
|
IS_SCRIPT_OR_DATA: fe,
|
|
592
592
|
ATTR_WHITESPACE: Be,
|
|
593
593
|
CUSTOM_ELEMENT: Sn
|
|
594
|
-
} =
|
|
594
|
+
} = Yi;
|
|
595
595
|
let {
|
|
596
596
|
IS_ALLOWED_URI: Ht
|
|
597
|
-
} =
|
|
598
|
-
const ne = x({}, [...
|
|
597
|
+
} = Yi, $ = null;
|
|
598
|
+
const ne = x({}, [...Bi, ...Dn, ...$n, ...Vn, ...zi]);
|
|
599
599
|
let re = null;
|
|
600
|
-
const
|
|
601
|
-
let se = Object.seal(
|
|
600
|
+
const li = x({}, [...xi, ...jn, ...Hi, ...tn]);
|
|
601
|
+
let se = Object.seal(za(null, {
|
|
602
602
|
tagNameCheck: {
|
|
603
603
|
writable: !0,
|
|
604
604
|
configurable: !1,
|
|
@@ -617,45 +617,45 @@ function xa() {
|
|
|
617
617
|
enumerable: !0,
|
|
618
618
|
value: !1
|
|
619
619
|
}
|
|
620
|
-
})), It = null, wn = null,
|
|
621
|
-
const
|
|
620
|
+
})), It = null, wn = null, di = !0, En = !0, ui = !1, ci = !0, ft = !1, Yt = !0, ot = !1, Mn = !1, An = !1, ht = !1, Gt = !1, Wt = !1, mi = !0, fi = !1;
|
|
621
|
+
const Fo = "user-content-";
|
|
622
622
|
let In = !0, Ct = !1, pt = {}, gt = null;
|
|
623
|
-
const
|
|
624
|
-
let
|
|
625
|
-
const
|
|
623
|
+
const hi = 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
|
+
let pi = null;
|
|
625
|
+
const gi = x({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
626
626
|
let Cn = null;
|
|
627
|
-
const
|
|
627
|
+
const yi = 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 ko = x({}, [Zt, Xt, ze], Pn);
|
|
630
630
|
let Jt = x({}, ["mi", "mo", "mn", "ms", "mtext"]), Qt = x({}, ["annotation-xml"]);
|
|
631
|
-
const
|
|
631
|
+
const Ro = x({}, ["title", "style", "font", "a", "script"]);
|
|
632
632
|
let Ot = null;
|
|
633
|
-
const
|
|
633
|
+
const Uo = ["application/xhtml+xml", "text/html"], Lo = "text/html";
|
|
634
634
|
let ye = null, vt = null;
|
|
635
|
-
const
|
|
635
|
+
const No = n.createElement("form"), vi = 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
|
+
Uo.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? Lo : 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) : li, Fn = De(l, "ALLOWED_NAMESPACES") ? x({}, l.ALLOWED_NAMESPACES, Pn) : ko, Cn = De(l, "ADD_URI_SAFE_ATTR") ? x(Ye(yi), l.ADD_URI_SAFE_ATTR, ye) : yi, pi = De(l, "ADD_DATA_URI_TAGS") ? x(Ye(gi), l.ADD_DATA_URI_TAGS, ye) : gi, gt = De(l, "FORBID_CONTENTS") ? x({}, l.FORBID_CONTENTS, ye) : hi, 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, di = l.ALLOW_ARIA_ATTR !== !1, En = l.ALLOW_DATA_ATTR !== !1, ui = l.ALLOW_UNKNOWN_PROTOCOLS || !1, ci = 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, mi = l.SANITIZE_DOM !== !1, fi = l.SANITIZE_NAMED_PROPS || !1, In = l.KEEP_CONTENT !== !1, Ct = l.IN_PLACE || !1, Ht = l.ALLOWED_URI_REGEXP || xa, 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 && vi(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (se.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && vi(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({}, zi), re = [], pt.html === !0 && (x($, Bi), x(re, xi)), 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, Hi), x(re, tn))), l.ADD_TAGS && ($ === ne && ($ = Ye($)), x($, l.ADD_TAGS, ye)), l.ADD_ATTR && (re === li && (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 === hi && (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 Lt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
644
644
|
if (typeof l.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
645
|
-
throw
|
|
645
|
+
throw Lt('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 = Cl(k, a)), F !== null && typeof y == "string" && (y = F.createHTML(""));
|
|
649
649
|
Me && Me(l), vt = l;
|
|
650
650
|
}
|
|
651
|
-
},
|
|
651
|
+
}, bi = x({}, [...Dn, ...$n, ...yl]), _i = x({}, [...Vn, ...vl]), Po = 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]) : !!
|
|
658
|
+
return Fn[l.namespaceURI] ? l.namespaceURI === Xt ? S.namespaceURI === ze ? R === "svg" : S.namespaceURI === Zt ? R === "svg" && (te === "annotation-xml" || Jt[te]) : !!bi[R] : l.namespaceURI === Zt ? S.namespaceURI === ze ? R === "math" : S.namespaceURI === Xt ? R === "math" && Qt[te] : !!_i[R] : l.namespaceURI === ze ? S.namespaceURI === Xt && !Qt[te] || S.namespaceURI === Zt && !Jt[te] ? !1 : !_i[R] && (Ro[R] || !bi[R]) : !!(Ot === "application/xhtml+xml" && Fn[l.namespaceURI]) : !1;
|
|
659
659
|
}, Ve = function(l) {
|
|
660
660
|
Rt(t.removed, {
|
|
661
661
|
element: l
|
|
@@ -688,12 +688,12 @@ function xa() {
|
|
|
688
688
|
S.setAttribute(l, "");
|
|
689
689
|
} catch {
|
|
690
690
|
}
|
|
691
|
-
},
|
|
691
|
+
}, Ti = function(l) {
|
|
692
692
|
let S = null, R = null;
|
|
693
693
|
if (An)
|
|
694
694
|
l = "<remove></remove>" + l;
|
|
695
695
|
else {
|
|
696
|
-
const pe =
|
|
696
|
+
const pe = Ki(l, /^[\r\n\t ]+/);
|
|
697
697
|
R = pe && pe[0];
|
|
698
698
|
}
|
|
699
699
|
Ot === "application/xhtml+xml" && yt === ze && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
|
|
@@ -712,7 +712,7 @@ function xa() {
|
|
|
712
712
|
}
|
|
713
713
|
const be = S.body || S.documentElement;
|
|
714
714
|
return l && R && be.insertBefore(n.createTextNode(R), be.childNodes[0] || null), yt === ze ? Z.call(S, ot ? "html" : "body")[0] : ot ? S.documentElement : be;
|
|
715
|
-
},
|
|
715
|
+
}, Si = function(l) {
|
|
716
716
|
return g.call(
|
|
717
717
|
l.ownerDocument || l,
|
|
718
718
|
l,
|
|
@@ -722,7 +722,7 @@ function xa() {
|
|
|
722
722
|
);
|
|
723
723
|
}, Rn = function(l) {
|
|
724
724
|
return l instanceof f && (typeof l.nodeName != "string" || typeof l.textContent != "string" || typeof l.removeChild != "function" || !(l.attributes instanceof p) || typeof l.removeAttribute != "function" || typeof l.setAttribute != "function" || typeof l.namespaceURI != "string" || typeof l.insertBefore != "function" || typeof l.hasChildNodes != "function");
|
|
725
|
-
},
|
|
725
|
+
}, wi = function(l) {
|
|
726
726
|
return typeof r == "function" && l instanceof r;
|
|
727
727
|
};
|
|
728
728
|
function xe(P, l, S) {
|
|
@@ -730,7 +730,7 @@ function xa() {
|
|
|
730
730
|
R.call(t, l, S, vt);
|
|
731
731
|
});
|
|
732
732
|
}
|
|
733
|
-
const
|
|
733
|
+
const Ei = function(l) {
|
|
734
734
|
let S = null;
|
|
735
735
|
if (xe(w.beforeSanitizeElements, l, null), Rn(l))
|
|
736
736
|
return Ve(l), !0;
|
|
@@ -738,13 +738,13 @@ function xa() {
|
|
|
738
738
|
if (xe(w.uponSanitizeElement, l, {
|
|
739
739
|
tagName: R,
|
|
740
740
|
allowedTags: $
|
|
741
|
-
}), Yt && l.hasChildNodes() && !
|
|
741
|
+
}), Yt && l.hasChildNodes() && !wi(l.firstElementChild) && Te(/<[/\w!]/g, l.innerHTML) && Te(/<[/\w!]/g, l.textContent) || l.nodeType === Pt.progressingInstruction || Yt && l.nodeType === Pt.comment && Te(/<[/\w]/g, l.data))
|
|
742
742
|
return Ve(l), !0;
|
|
743
743
|
if (!$[R] || It[R]) {
|
|
744
|
-
if (!It[R] &&
|
|
744
|
+
if (!It[R] && Ai(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 = N(l) || l.childNodes;
|
|
748
748
|
if (be && te) {
|
|
749
749
|
const pe = be.length;
|
|
750
750
|
for (let Ie = pe - 1; Ie >= 0; --Ie) {
|
|
@@ -755,29 +755,29 @@ function xa() {
|
|
|
755
755
|
}
|
|
756
756
|
return Ve(l), !0;
|
|
757
757
|
}
|
|
758
|
-
return l instanceof d && !
|
|
758
|
+
return l instanceof d && !Po(l) || (R === "noscript" || R === "noembed" || R === "noframes") && Te(/<\/no(script|embed|frames)/i, l.innerHTML) ? (Ve(l), !0) : (ft && l.nodeType === Pt.text && (S = l.textContent, en([j, K, H], (te) => {
|
|
759
759
|
S = Ut(S, te, " ");
|
|
760
760
|
}), l.textContent !== S && (Rt(t.removed, {
|
|
761
761
|
element: l.cloneNode()
|
|
762
762
|
}), l.textContent = S)), xe(w.afterSanitizeElements, l, null), !1);
|
|
763
|
-
},
|
|
764
|
-
if (
|
|
763
|
+
}, Mi = function(l, S, R) {
|
|
764
|
+
if (mi && (S === "id" || S === "name") && (R in n || R in No))
|
|
765
765
|
return !1;
|
|
766
766
|
if (!(En && !wn[S] && Te(ge, S))) {
|
|
767
|
-
if (!(
|
|
767
|
+
if (!(di && Te(Ke, S))) {
|
|
768
768
|
if (!re[S] || wn[S]) {
|
|
769
769
|
if (
|
|
770
770
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
771
771
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
772
772
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
773
|
-
!(
|
|
773
|
+
!(Ai(l) && (se.tagNameCheck instanceof RegExp && Te(se.tagNameCheck, l) || se.tagNameCheck instanceof Function && se.tagNameCheck(l)) && (se.attributeNameCheck instanceof RegExp && Te(se.attributeNameCheck, S) || se.attributeNameCheck instanceof Function && se.attributeNameCheck(S)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
774
774
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
775
775
|
S === "is" && se.allowCustomizedBuiltInElements && (se.tagNameCheck instanceof RegExp && Te(se.tagNameCheck, R) || se.tagNameCheck instanceof Function && se.tagNameCheck(R)))
|
|
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" &&
|
|
780
|
-
if (!(
|
|
779
|
+
if (!((S === "src" || S === "xlink:href" || S === "href") && l !== "script" && fl(R, "data:") === 0 && pi[l])) {
|
|
780
|
+
if (!(ui && !Te(fe, Ut(R, Be, "")))) {
|
|
781
781
|
if (R)
|
|
782
782
|
return !1;
|
|
783
783
|
}
|
|
@@ -787,9 +787,9 @@ function xa() {
|
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
789
|
return !0;
|
|
790
|
-
}, Mi = function(l) {
|
|
791
|
-
return l !== "annotation-xml" && qi(l, Sn);
|
|
792
790
|
}, Ai = function(l) {
|
|
791
|
+
return l !== "annotation-xml" && Ki(l, Sn);
|
|
792
|
+
}, Ii = function(l) {
|
|
793
793
|
xe(w.beforeSanitizeAttributes, l, null);
|
|
794
794
|
const {
|
|
795
795
|
attributes: S
|
|
@@ -810,8 +810,8 @@ function xa() {
|
|
|
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,
|
|
813
|
+
let _e = pe === "value" ? Un : hl(Un);
|
|
814
|
+
if (R.attrName = Ft, R.attrValue = _e, R.keepAttr = !0, R.forceKeepAttr = void 0, xe(w.uponSanitizeAttribute, l, R), _e = R.attrValue, fi && (Ft === "id" || Ft === "name") && (bt(pe, l), _e = Fo + _e), Yt && Te(/((--!?|])>)|<\/(style|title)/i, _e)) {
|
|
815
815
|
bt(pe, l);
|
|
816
816
|
continue;
|
|
817
817
|
}
|
|
@@ -821,20 +821,20 @@ function xa() {
|
|
|
821
821
|
bt(pe, l);
|
|
822
822
|
continue;
|
|
823
823
|
}
|
|
824
|
-
if (!
|
|
824
|
+
if (!ci && Te(/\/>/i, _e)) {
|
|
825
825
|
bt(pe, l);
|
|
826
826
|
continue;
|
|
827
827
|
}
|
|
828
|
-
ft && en([j, K, H], (
|
|
829
|
-
_e = Ut(_e,
|
|
828
|
+
ft && en([j, K, H], (Oi) => {
|
|
829
|
+
_e = Ut(_e, Oi, " ");
|
|
830
830
|
});
|
|
831
|
-
const
|
|
832
|
-
if (!
|
|
831
|
+
const Ci = ye(l.nodeName);
|
|
832
|
+
if (!Mi(Ci, Ft, _e)) {
|
|
833
833
|
bt(pe, l);
|
|
834
834
|
continue;
|
|
835
835
|
}
|
|
836
836
|
if (F && typeof k == "object" && typeof k.getAttributeType == "function" && !Ie)
|
|
837
|
-
switch (k.getAttributeType(
|
|
837
|
+
switch (k.getAttributeType(Ci, Ft)) {
|
|
838
838
|
case "TrustedHTML": {
|
|
839
839
|
_e = F.createHTML(_e);
|
|
840
840
|
break;
|
|
@@ -846,48 +846,48 @@ function xa() {
|
|
|
846
846
|
}
|
|
847
847
|
if (_e !== Un)
|
|
848
848
|
try {
|
|
849
|
-
Ie ? l.setAttributeNS(Ie, pe, _e) : l.setAttribute(pe, _e), Rn(l) ? Ve(l) :
|
|
849
|
+
Ie ? l.setAttributeNS(Ie, pe, _e) : l.setAttribute(pe, _e), Rn(l) ? Ve(l) : qi(t.removed);
|
|
850
850
|
} catch {
|
|
851
851
|
bt(pe, l);
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
854
|
xe(w.afterSanitizeAttributes, l, null);
|
|
855
|
-
},
|
|
855
|
+
}, Do = function P(l) {
|
|
856
856
|
let S = null;
|
|
857
|
-
const R =
|
|
857
|
+
const R = Si(l);
|
|
858
858
|
for (xe(w.beforeSanitizeShadowDOM, l, null); S = R.nextNode(); )
|
|
859
|
-
xe(w.uponSanitizeShadowNode, S, null),
|
|
859
|
+
xe(w.uponSanitizeShadowNode, S, null), Ei(S), Ii(S), S.content instanceof o && P(S.content);
|
|
860
860
|
xe(w.afterSanitizeShadowDOM, l, null);
|
|
861
861
|
};
|
|
862
862
|
return t.sanitize = function(P) {
|
|
863
863
|
let l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, S = null, R = null, te = null, be = null;
|
|
864
|
-
if (On = !P, On && (P = "<!-->"), typeof P != "string" && !
|
|
864
|
+
if (On = !P, On && (P = "<!-->"), typeof P != "string" && !wi(P))
|
|
865
865
|
if (typeof P.toString == "function") {
|
|
866
866
|
if (P = P.toString(), typeof P != "string")
|
|
867
|
-
throw
|
|
867
|
+
throw Lt("dirty is not a string, aborting");
|
|
868
868
|
} else
|
|
869
|
-
throw
|
|
869
|
+
throw Lt("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 Lt("root node is forbidden and cannot be sanitized in-place");
|
|
877
877
|
}
|
|
878
878
|
} else if (P instanceof r)
|
|
879
|
-
S =
|
|
879
|
+
S = Ti("<!---->"), R = S.ownerDocument.importNode(P, !0), R.nodeType === Pt.element && R.nodeName === "BODY" || R.nodeName === "HTML" ? S = R : S.appendChild(R);
|
|
880
880
|
else {
|
|
881
881
|
if (!ht && !ft && !ot && // eslint-disable-next-line unicorn/prefer-includes
|
|
882
882
|
P.indexOf("<") === -1)
|
|
883
883
|
return F && Wt ? F.createHTML(P) : P;
|
|
884
|
-
if (S =
|
|
884
|
+
if (S = Ti(P), !S)
|
|
885
885
|
return ht ? null : Wt ? y : "";
|
|
886
886
|
}
|
|
887
887
|
S && An && Ve(S.firstChild);
|
|
888
|
-
const pe =
|
|
888
|
+
const pe = Si(Ct ? P : S);
|
|
889
889
|
for (; te = pe.nextNode(); )
|
|
890
|
-
|
|
890
|
+
Ei(te), Ii(te), te.content instanceof o && Do(te.content);
|
|
891
891
|
if (Ct)
|
|
892
892
|
return P;
|
|
893
893
|
if (ht) {
|
|
@@ -899,7 +899,7 @@ function xa() {
|
|
|
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(Ha, 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;
|
|
@@ -911,41 +911,41 @@ function xa() {
|
|
|
911
911
|
}, t.isValidAttribute = function(P, l, S) {
|
|
912
912
|
vt || kn({});
|
|
913
913
|
const R = ye(P), te = ye(l);
|
|
914
|
-
return
|
|
914
|
+
return Mi(R, te, S);
|
|
915
915
|
}, t.addHook = function(P, l) {
|
|
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 = cl(w[P], l);
|
|
920
|
+
return S === -1 ? void 0 : ml(w[P], S, 1)[0];
|
|
921
921
|
}
|
|
922
|
-
return
|
|
922
|
+
return qi(w[P]);
|
|
923
923
|
}, t.removeHooks = function(P) {
|
|
924
924
|
w[P] = [];
|
|
925
925
|
}, t.removeAllHooks = function() {
|
|
926
|
-
w =
|
|
926
|
+
w = Gi();
|
|
927
927
|
}, t;
|
|
928
928
|
}
|
|
929
|
-
var
|
|
930
|
-
function
|
|
929
|
+
var Ol = Ya();
|
|
930
|
+
function Fl() {
|
|
931
931
|
this.__data__ = new Ze(), this.size = 0;
|
|
932
932
|
}
|
|
933
|
-
function
|
|
933
|
+
function kl(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 Rl(e) {
|
|
938
938
|
return this.__data__.get(e);
|
|
939
939
|
}
|
|
940
|
-
function
|
|
940
|
+
function Ul(e) {
|
|
941
941
|
return this.__data__.has(e);
|
|
942
942
|
}
|
|
943
|
-
var
|
|
944
|
-
function
|
|
943
|
+
var Ll = 200;
|
|
944
|
+
function Nl(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 < Ll - 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 = Fl;
|
|
959
|
+
At.prototype.delete = kl;
|
|
960
|
+
At.prototype.get = Rl;
|
|
961
|
+
At.prototype.has = Ul;
|
|
962
|
+
At.prototype.set = Nl;
|
|
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 Ga(e, t, n) {
|
|
971
971
|
t == "__proto__" && on ? on(e, t, {
|
|
972
972
|
configurable: !0,
|
|
973
973
|
enumerable: !0,
|
|
@@ -975,157 +975,155 @@ function Ha(e, t, n) {
|
|
|
975
975
|
writable: !0
|
|
976
976
|
}) : e[t] = n;
|
|
977
977
|
}
|
|
978
|
-
var
|
|
979
|
-
function
|
|
978
|
+
var Pl = Object.prototype, Dl = Pl.hasOwnProperty;
|
|
979
|
+
function Wa(e, t, n) {
|
|
980
980
|
var i = e[t];
|
|
981
|
-
(!(
|
|
981
|
+
(!(Dl.call(e, t) && yn(i, n)) || n === void 0 && !(t in e)) && Ga(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 ? Ga(n, r, d) : Wa(n, r, d);
|
|
989
989
|
}
|
|
990
990
|
return n;
|
|
991
991
|
}
|
|
992
|
-
function
|
|
992
|
+
function $l(e, t) {
|
|
993
993
|
return e && _n(t, pn(t), e);
|
|
994
994
|
}
|
|
995
|
-
function
|
|
995
|
+
function Vl(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 jl = Object.prototype, ql = jl.hasOwnProperty;
|
|
1003
|
+
function Kl(e) {
|
|
1004
1004
|
if (!Fe(e))
|
|
1005
|
-
return
|
|
1006
|
-
var t =
|
|
1005
|
+
return Vl(e);
|
|
1006
|
+
var t = ni(e), n = [];
|
|
1007
1007
|
for (var i in e)
|
|
1008
|
-
i == "constructor" && (t || !
|
|
1008
|
+
i == "constructor" && (t || !ql.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) ? Va(e, !0) : Kl(e);
|
|
1013
1013
|
}
|
|
1014
|
-
function
|
|
1014
|
+
function Bl(e, t) {
|
|
1015
1015
|
return e && _n(t, Tn(t), e);
|
|
1016
1016
|
}
|
|
1017
|
-
var
|
|
1018
|
-
function
|
|
1017
|
+
var Za = typeof exports == "object" && exports && !exports.nodeType && exports, Wi = Za && typeof module == "object" && module && !module.nodeType && module, zl = Wi && Wi.exports === Za, Zi = zl ? Pe.Buffer : void 0, Xi = Zi ? Zi.allocUnsafe : void 0;
|
|
1018
|
+
function xl(e, t) {
|
|
1019
1019
|
if (t)
|
|
1020
1020
|
return e.slice();
|
|
1021
|
-
var n = e.length, i =
|
|
1021
|
+
var n = e.length, i = Xi ? Xi(n) : new e.constructor(n);
|
|
1022
1022
|
return e.copy(i), i;
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1024
|
+
function Hl(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 Yl(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 Xa() {
|
|
1038
1038
|
return [];
|
|
1039
1039
|
}
|
|
1040
|
-
var
|
|
1041
|
-
return e == null ? [] : (e = Object(e),
|
|
1042
|
-
return
|
|
1040
|
+
var Gl = Object.prototype, Wl = Gl.propertyIsEnumerable, Ji = Object.getOwnPropertySymbols, oi = Ji ? function(e) {
|
|
1041
|
+
return e == null ? [] : (e = Object(e), Yl(Ji(e), function(t) {
|
|
1042
|
+
return Wl.call(e, t);
|
|
1043
1043
|
}));
|
|
1044
|
-
} :
|
|
1045
|
-
function
|
|
1046
|
-
return _n(e,
|
|
1044
|
+
} : Xa;
|
|
1045
|
+
function Zl(e, t) {
|
|
1046
|
+
return _n(e, oi(e), t);
|
|
1047
1047
|
}
|
|
1048
|
-
function
|
|
1048
|
+
function Ja(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 Qa = ja(Object.getPrototypeOf, Object), Xl = Object.getOwnPropertySymbols, eo = Xl ? function(e) {
|
|
1054
1054
|
for (var t = []; e; )
|
|
1055
|
-
|
|
1055
|
+
Ja(t, oi(e)), e = Qa(e);
|
|
1056
1056
|
return t;
|
|
1057
|
-
} :
|
|
1058
|
-
function
|
|
1059
|
-
return _n(e,
|
|
1057
|
+
} : Xa;
|
|
1058
|
+
function Jl(e, t) {
|
|
1059
|
+
return _n(e, eo(e), t);
|
|
1060
1060
|
}
|
|
1061
|
-
function
|
|
1061
|
+
function to(e, t, n) {
|
|
1062
1062
|
var i = t(e);
|
|
1063
|
-
return at(e) ? i :
|
|
1063
|
+
return at(e) ? i : Ja(i, n(e));
|
|
1064
1064
|
}
|
|
1065
|
-
function
|
|
1066
|
-
return
|
|
1065
|
+
function Ql(e) {
|
|
1066
|
+
return to(e, pn, oi);
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1069
|
-
return
|
|
1068
|
+
function ed(e) {
|
|
1069
|
+
return to(e, Tn, eo);
|
|
1070
1070
|
}
|
|
1071
|
-
var
|
|
1072
|
-
(
|
|
1073
|
-
var t = nt(e), n = t ==
|
|
1071
|
+
var Yn = mt(Pe, "DataView"), Gn = mt(Pe, "Promise"), Tt = mt(Pe, "Set"), Wn = mt(Pe, "WeakMap"), Qi = "[object Map]", td = "[object Object]", ea = "[object Promise]", ta = "[object Set]", na = "[object WeakMap]", ia = "[object DataView]", nd = ct(Yn), id = ct(Bt), ad = ct(Gn), od = ct(Tt), rd = ct(Wn), Ge = nt;
|
|
1072
|
+
(Yn && Ge(new Yn(new ArrayBuffer(1))) != ia || Bt && Ge(new Bt()) != Qi || Gn && Ge(Gn.resolve()) != ea || Tt && Ge(new Tt()) != ta || Wn && Ge(new Wn()) != na) && (Ge = function(e) {
|
|
1073
|
+
var t = nt(e), n = t == td ? e.constructor : void 0, i = n ? ct(n) : "";
|
|
1074
1074
|
if (i)
|
|
1075
1075
|
switch (i) {
|
|
1076
|
-
case ed:
|
|
1077
|
-
return na;
|
|
1078
|
-
case td:
|
|
1079
|
-
return Ji;
|
|
1080
1076
|
case nd:
|
|
1081
|
-
return
|
|
1077
|
+
return ia;
|
|
1082
1078
|
case id:
|
|
1083
|
-
return
|
|
1079
|
+
return Qi;
|
|
1084
1080
|
case ad:
|
|
1081
|
+
return ea;
|
|
1082
|
+
case od:
|
|
1085
1083
|
return ta;
|
|
1084
|
+
case rd:
|
|
1085
|
+
return na;
|
|
1086
1086
|
}
|
|
1087
1087
|
return t;
|
|
1088
1088
|
});
|
|
1089
|
-
var
|
|
1090
|
-
function
|
|
1089
|
+
var sd = Object.prototype, ld = sd.hasOwnProperty;
|
|
1090
|
+
function dd(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" && ld.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
1093
1093
|
}
|
|
1094
|
-
var
|
|
1095
|
-
function
|
|
1094
|
+
var aa = Pe.Uint8Array;
|
|
1095
|
+
function ri(e) {
|
|
1096
1096
|
var t = new e.constructor(e.byteLength);
|
|
1097
|
-
return new
|
|
1097
|
+
return new aa(t).set(new aa(e)), t;
|
|
1098
1098
|
}
|
|
1099
|
-
function
|
|
1100
|
-
var n = t ?
|
|
1099
|
+
function ud(e, t) {
|
|
1100
|
+
var n = t ? ri(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 cd = /\w*$/;
|
|
1104
|
+
function md(e) {
|
|
1105
|
+
var t = new e.constructor(e.source, cd.exec(e));
|
|
1106
1106
|
return t.lastIndex = e.lastIndex, t;
|
|
1107
1107
|
}
|
|
1108
|
-
var
|
|
1109
|
-
function
|
|
1110
|
-
return
|
|
1108
|
+
var oa = tt ? tt.prototype : void 0, ra = oa ? oa.valueOf : void 0;
|
|
1109
|
+
function fd(e) {
|
|
1110
|
+
return ra ? Object(ra.call(e)) : {};
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1113
|
-
var n = t ?
|
|
1112
|
+
function hd(e, t) {
|
|
1113
|
+
var n = t ? ri(e.buffer) : e.buffer;
|
|
1114
1114
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
1115
1115
|
}
|
|
1116
|
-
var
|
|
1117
|
-
function
|
|
1116
|
+
var pd = "[object Boolean]", gd = "[object Date]", yd = "[object Map]", vd = "[object Number]", bd = "[object RegExp]", _d = "[object Set]", Td = "[object String]", Sd = "[object Symbol]", wd = "[object ArrayBuffer]", Ed = "[object DataView]", Md = "[object Float32Array]", Ad = "[object Float64Array]", Id = "[object Int8Array]", Cd = "[object Int16Array]", Od = "[object Int32Array]", Fd = "[object Uint8Array]", kd = "[object Uint8ClampedArray]", Rd = "[object Uint16Array]", Ud = "[object Uint32Array]";
|
|
1117
|
+
function Ld(e, t, n) {
|
|
1118
1118
|
var i = e.constructor;
|
|
1119
1119
|
switch (t) {
|
|
1120
|
-
case Td:
|
|
1121
|
-
return oi(e);
|
|
1122
|
-
case fd:
|
|
1123
|
-
case hd:
|
|
1124
|
-
return new i(+e);
|
|
1125
|
-
case Sd:
|
|
1126
|
-
return ld(e, n);
|
|
1127
1120
|
case wd:
|
|
1121
|
+
return ri(e);
|
|
1122
|
+
case pd:
|
|
1123
|
+
case gd:
|
|
1124
|
+
return new i(+e);
|
|
1128
1125
|
case Ed:
|
|
1126
|
+
return ud(e, n);
|
|
1129
1127
|
case Md:
|
|
1130
1128
|
case Ad:
|
|
1131
1129
|
case Id:
|
|
@@ -1133,94 +1131,96 @@ function Rd(e, t, n) {
|
|
|
1133
1131
|
case Od:
|
|
1134
1132
|
case Fd:
|
|
1135
1133
|
case kd:
|
|
1136
|
-
|
|
1137
|
-
case
|
|
1138
|
-
return
|
|
1139
|
-
case gd:
|
|
1140
|
-
case bd:
|
|
1141
|
-
return new i(e);
|
|
1134
|
+
case Rd:
|
|
1135
|
+
case Ud:
|
|
1136
|
+
return hd(e, n);
|
|
1142
1137
|
case yd:
|
|
1143
|
-
return ud(e);
|
|
1144
|
-
case vd:
|
|
1145
1138
|
return new i();
|
|
1139
|
+
case vd:
|
|
1140
|
+
case Td:
|
|
1141
|
+
return new i(e);
|
|
1142
|
+
case bd:
|
|
1143
|
+
return md(e);
|
|
1146
1144
|
case _d:
|
|
1147
|
-
return
|
|
1145
|
+
return new i();
|
|
1146
|
+
case Sd:
|
|
1147
|
+
return fd(e);
|
|
1148
1148
|
}
|
|
1149
1149
|
}
|
|
1150
|
-
var
|
|
1150
|
+
var sa = Object.create, Nd = /* @__PURE__ */ function() {
|
|
1151
1151
|
function e() {
|
|
1152
1152
|
}
|
|
1153
1153
|
return function(t) {
|
|
1154
1154
|
if (!Fe(t))
|
|
1155
1155
|
return {};
|
|
1156
|
-
if (
|
|
1157
|
-
return
|
|
1156
|
+
if (sa)
|
|
1157
|
+
return sa(t);
|
|
1158
1158
|
e.prototype = t;
|
|
1159
1159
|
var n = new e();
|
|
1160
1160
|
return e.prototype = void 0, n;
|
|
1161
1161
|
};
|
|
1162
1162
|
}();
|
|
1163
|
-
function Nd(e) {
|
|
1164
|
-
return typeof e.constructor == "function" && !ti(e) ? Ud(Xa(e)) : {};
|
|
1165
|
-
}
|
|
1166
|
-
var Ld = "[object Map]";
|
|
1167
1163
|
function Pd(e) {
|
|
1168
|
-
return
|
|
1164
|
+
return typeof e.constructor == "function" && !ni(e) ? Nd(Qa(e)) : {};
|
|
1165
|
+
}
|
|
1166
|
+
var Dd = "[object Map]";
|
|
1167
|
+
function $d(e) {
|
|
1168
|
+
return it(e) && Ge(e) == Dd;
|
|
1169
1169
|
}
|
|
1170
|
-
var
|
|
1171
|
-
function
|
|
1172
|
-
return it(e) && Ge(e) ==
|
|
1170
|
+
var la = St && St.isMap, Vd = la ? ti(la) : $d, jd = "[object Set]";
|
|
1171
|
+
function qd(e) {
|
|
1172
|
+
return it(e) && Ge(e) == jd;
|
|
1173
1173
|
}
|
|
1174
|
-
var
|
|
1175
|
-
J[
|
|
1176
|
-
J[
|
|
1174
|
+
var da = St && St.isSet, Kd = da ? ti(da) : qd, Bd = 1, zd = 2, xd = 4, no = "[object Arguments]", Hd = "[object Array]", Yd = "[object Boolean]", Gd = "[object Date]", Wd = "[object Error]", io = "[object Function]", Zd = "[object GeneratorFunction]", Xd = "[object Map]", Jd = "[object Number]", ao = "[object Object]", Qd = "[object RegExp]", eu = "[object Set]", tu = "[object String]", nu = "[object Symbol]", iu = "[object WeakMap]", au = "[object ArrayBuffer]", ou = "[object DataView]", ru = "[object Float32Array]", su = "[object Float64Array]", lu = "[object Int8Array]", du = "[object Int16Array]", uu = "[object Int32Array]", cu = "[object Uint8Array]", mu = "[object Uint8ClampedArray]", fu = "[object Uint16Array]", hu = "[object Uint32Array]", J = {};
|
|
1175
|
+
J[no] = J[Hd] = J[au] = J[ou] = J[Yd] = J[Gd] = J[ru] = J[su] = J[lu] = J[du] = J[uu] = J[Xd] = J[Jd] = J[ao] = J[Qd] = J[eu] = J[tu] = J[nu] = J[cu] = J[mu] = J[fu] = J[hu] = !0;
|
|
1176
|
+
J[Wd] = J[io] = J[iu] = !1;
|
|
1177
1177
|
function jt(e, t, n, i, a, o) {
|
|
1178
|
-
var s, r = t &
|
|
1178
|
+
var s, r = t & Bd, d = t & zd, u = t & xd;
|
|
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 = dd(e), !r)
|
|
1186
|
+
return Hl(e, s);
|
|
1187
1187
|
} else {
|
|
1188
|
-
var f = Ge(e), b = f ==
|
|
1189
|
-
if (
|
|
1190
|
-
return
|
|
1191
|
-
if (f ==
|
|
1192
|
-
if (s = d || b ? {} :
|
|
1193
|
-
return d ?
|
|
1188
|
+
var f = Ge(e), b = f == io || f == Zd;
|
|
1189
|
+
if (Na(e))
|
|
1190
|
+
return xl(e, r);
|
|
1191
|
+
if (f == ao || f == no || b && !a) {
|
|
1192
|
+
if (s = d || b ? {} : Pd(e), !r)
|
|
1193
|
+
return d ? Jl(e, Bl(s, e)) : Zl(e, $l(s, e));
|
|
1194
1194
|
} else {
|
|
1195
1195
|
if (!J[f])
|
|
1196
1196
|
return a ? e : {};
|
|
1197
|
-
s =
|
|
1197
|
+
s = Ld(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), Kd(e) ? e.forEach(function(A) {
|
|
1205
1205
|
s.add(jt(A, t, n, A, e, o));
|
|
1206
|
-
}) :
|
|
1206
|
+
}) : Vd(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 ? ed : Ql : d ? Tn : pn, h = p ? void 0 : q(e);
|
|
1210
|
+
return Fa(h || e, function(A, C) {
|
|
1211
|
+
h && (C = A, A = e[C]), Wa(s, C, jt(A, t, n, C, e, o));
|
|
1212
1212
|
}), s;
|
|
1213
1213
|
}
|
|
1214
|
-
var
|
|
1214
|
+
var pu = 1, gu = 4;
|
|
1215
1215
|
function We(e) {
|
|
1216
|
-
return jt(e,
|
|
1216
|
+
return jt(e, pu | gu);
|
|
1217
1217
|
}
|
|
1218
|
-
const
|
|
1219
|
-
var
|
|
1218
|
+
const si = (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, ""), ua = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
|
|
1219
|
+
var yu = "[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) == yu;
|
|
1222
1222
|
}
|
|
1223
|
-
const
|
|
1223
|
+
const oo = {
|
|
1224
1224
|
methods: {
|
|
1225
1225
|
// Get style classes of field
|
|
1226
1226
|
getFieldRowClasses(e) {
|
|
@@ -1257,38 +1257,38 @@ const io = {
|
|
|
1257
1257
|
};
|
|
1258
1258
|
var qn = function() {
|
|
1259
1259
|
return Pe.Date.now();
|
|
1260
|
-
},
|
|
1261
|
-
function
|
|
1262
|
-
for (var t = e.length; t-- &&
|
|
1260
|
+
}, vu = /\s/;
|
|
1261
|
+
function bu(e) {
|
|
1262
|
+
for (var t = e.length; t-- && vu.test(e.charAt(t)); )
|
|
1263
1263
|
;
|
|
1264
1264
|
return t;
|
|
1265
1265
|
}
|
|
1266
|
-
var
|
|
1267
|
-
function
|
|
1268
|
-
return e && e.slice(0,
|
|
1266
|
+
var _u = /^\s+/;
|
|
1267
|
+
function Tu(e) {
|
|
1268
|
+
return e && e.slice(0, bu(e) + 1).replace(_u, "");
|
|
1269
1269
|
}
|
|
1270
|
-
var
|
|
1271
|
-
function
|
|
1270
|
+
var ca = NaN, Su = /^[-+]0x[0-9a-f]+$/i, wu = /^0b[01]+$/i, Eu = /^0o[0-7]+$/i, Mu = parseInt;
|
|
1271
|
+
function Zn(e) {
|
|
1272
1272
|
if (typeof e == "number")
|
|
1273
1273
|
return e;
|
|
1274
1274
|
if (gn(e))
|
|
1275
|
-
return
|
|
1275
|
+
return ca;
|
|
1276
1276
|
if (Fe(e)) {
|
|
1277
1277
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
1278
1278
|
e = Fe(t) ? t + "" : t;
|
|
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 = Tu(e);
|
|
1283
|
+
var n = wu.test(e);
|
|
1284
|
+
return n || Eu.test(e) ? Mu(e.slice(2), n ? 2 : 8) : Su.test(e) ? ca : +e;
|
|
1285
1285
|
}
|
|
1286
|
-
var
|
|
1286
|
+
var Au = "Expected a function", Iu = Math.max, Cu = 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 =
|
|
1290
|
+
throw new TypeError(Au);
|
|
1291
|
+
t = Zn(t) || 0, Fe(n) && (p = !!n.leading, f = "maxWait" in n, o = f ? Iu(Zn(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 ? Cu(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 N(v);
|
|
1311
1311
|
r = setTimeout(C, h(v));
|
|
1312
1312
|
}
|
|
1313
|
-
function
|
|
1313
|
+
function N(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 : N(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 Ou = "__lodash_hash_undefined__";
|
|
1335
|
+
function Fu(e) {
|
|
1336
|
+
return this.__data__.set(e, Ou), this;
|
|
1337
1337
|
}
|
|
1338
|
-
function
|
|
1338
|
+
function ku(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 = Fu;
|
|
1347
|
+
rn.prototype.has = ku;
|
|
1348
|
+
function Ru(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 Uu(e) {
|
|
1355
1355
|
return e !== e;
|
|
1356
1356
|
}
|
|
1357
|
-
function
|
|
1357
|
+
function Lu(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 Nu(e, t, n) {
|
|
1364
|
+
return t === t ? Lu(e, t, n) : Ru(e, Uu, n);
|
|
1365
1365
|
}
|
|
1366
|
-
function
|
|
1366
|
+
function Pu(e, t) {
|
|
1367
1367
|
var n = e == null ? 0 : e.length;
|
|
1368
|
-
return !!n &&
|
|
1368
|
+
return !!n && Nu(e, t, 0) > -1;
|
|
1369
1369
|
}
|
|
1370
|
-
function
|
|
1370
|
+
function Du(e, t) {
|
|
1371
1371
|
return e.has(t);
|
|
1372
1372
|
}
|
|
1373
|
-
function
|
|
1373
|
+
function $u() {
|
|
1374
1374
|
}
|
|
1375
|
-
function
|
|
1375
|
+
function ro(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 Vu = 1 / 0, ju = Tt && 1 / ro(new Tt([, -0]))[1] == Vu ? function(e) {
|
|
1382
1382
|
return new Tt(e);
|
|
1383
|
-
} :
|
|
1384
|
-
function
|
|
1385
|
-
var i = -1, a =
|
|
1386
|
-
if (o >=
|
|
1387
|
-
var u =
|
|
1383
|
+
} : $u, qu = 200;
|
|
1384
|
+
function Ku(e, t, n) {
|
|
1385
|
+
var i = -1, a = Pu, o = e.length, s = !0, r = [], d = r;
|
|
1386
|
+
if (o >= qu) {
|
|
1387
|
+
var u = ju(e);
|
|
1388
1388
|
if (u)
|
|
1389
|
-
return
|
|
1390
|
-
s = !1, a =
|
|
1389
|
+
return ro(u);
|
|
1390
|
+
s = !1, a = Du, d = new rn();
|
|
1391
1391
|
} else
|
|
1392
1392
|
d = r;
|
|
1393
1393
|
e:
|
|
@@ -1402,21 +1402,21 @@ function ju(e, t, n) {
|
|
|
1402
1402
|
}
|
|
1403
1403
|
return r;
|
|
1404
1404
|
}
|
|
1405
|
-
function
|
|
1406
|
-
return e && e.length ?
|
|
1405
|
+
function so(e) {
|
|
1406
|
+
return e && e.length ? Ku(e) : [];
|
|
1407
1407
|
}
|
|
1408
|
-
var
|
|
1409
|
-
function
|
|
1410
|
-
var t = ++
|
|
1411
|
-
return
|
|
1408
|
+
var Bu = 0;
|
|
1409
|
+
function lo(e) {
|
|
1410
|
+
var t = ++Bu;
|
|
1411
|
+
return Ka(e) + t;
|
|
1412
1412
|
}
|
|
1413
|
-
var
|
|
1414
|
-
function
|
|
1413
|
+
var uo = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, Qe = "\\d\\d?", Je = "\\d\\d", zu = "\\d{3}", xu = "\\d{4}", qt = "[^\\s]+", co = /\[([^]*?)\]/gm;
|
|
1414
|
+
function mo(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;
|
|
1418
1418
|
}
|
|
1419
|
-
var
|
|
1419
|
+
var ma = function(e) {
|
|
1420
1420
|
return function(t, n) {
|
|
1421
1421
|
var i = n[e].map(function(o) {
|
|
1422
1422
|
return o.toLowerCase();
|
|
@@ -1434,7 +1434,7 @@ function lt(e) {
|
|
|
1434
1434
|
}
|
|
1435
1435
|
return e;
|
|
1436
1436
|
}
|
|
1437
|
-
var
|
|
1437
|
+
var fo = [
|
|
1438
1438
|
"Sunday",
|
|
1439
1439
|
"Monday",
|
|
1440
1440
|
"Tuesday",
|
|
@@ -1442,7 +1442,7 @@ var co = [
|
|
|
1442
1442
|
"Thursday",
|
|
1443
1443
|
"Friday",
|
|
1444
1444
|
"Saturday"
|
|
1445
|
-
],
|
|
1445
|
+
], ho = [
|
|
1446
1446
|
"January",
|
|
1447
1447
|
"February",
|
|
1448
1448
|
"March",
|
|
@@ -1455,24 +1455,24 @@ var co = [
|
|
|
1455
1455
|
"October",
|
|
1456
1456
|
"November",
|
|
1457
1457
|
"December"
|
|
1458
|
-
],
|
|
1459
|
-
dayNamesShort:
|
|
1460
|
-
dayNames:
|
|
1461
|
-
monthNamesShort:
|
|
1462
|
-
monthNames:
|
|
1458
|
+
], Hu = mo(ho, 3), Yu = mo(fo, 3), po = {
|
|
1459
|
+
dayNamesShort: Yu,
|
|
1460
|
+
dayNames: fo,
|
|
1461
|
+
monthNamesShort: Hu,
|
|
1462
|
+
monthNames: ho,
|
|
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({}, po), Gu = function(e) {
|
|
1468
1468
|
return sn = lt(sn, e);
|
|
1469
|
-
},
|
|
1469
|
+
}, fa = function(e) {
|
|
1470
1470
|
return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
|
|
1471
1471
|
}, Ce = function(e, t) {
|
|
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
|
+
}, Wu = {
|
|
1476
1476
|
D: function(e) {
|
|
1477
1477
|
return String(e.getDate());
|
|
1478
1478
|
},
|
|
@@ -1559,16 +1559,16 @@ var co = [
|
|
|
1559
1559
|
var t = e.getTimezoneOffset();
|
|
1560
1560
|
return (t > 0 ? "-" : "+") + Ce(Math.floor(Math.abs(t) / 60), 2) + ":" + Ce(Math.abs(t) % 60, 2);
|
|
1561
1561
|
}
|
|
1562
|
-
},
|
|
1562
|
+
}, ha = function(e) {
|
|
1563
1563
|
return +e - 1;
|
|
1564
|
-
},
|
|
1564
|
+
}, pa = [null, Qe], ga = [null, qt], ya = [
|
|
1565
1565
|
"isPm",
|
|
1566
1566
|
qt,
|
|
1567
1567
|
function(e, t) {
|
|
1568
1568
|
var n = e.toLowerCase();
|
|
1569
1569
|
return n === t.amPm[0] ? 0 : n === t.amPm[1] ? 1 : null;
|
|
1570
1570
|
}
|
|
1571
|
-
],
|
|
1571
|
+
], va = [
|
|
1572
1572
|
"timezoneOffset",
|
|
1573
1573
|
"[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",
|
|
1574
1574
|
function(e) {
|
|
@@ -1579,14 +1579,14 @@ var co = [
|
|
|
1579
1579
|
}
|
|
1580
1580
|
return 0;
|
|
1581
1581
|
}
|
|
1582
|
-
],
|
|
1582
|
+
], Zu = {
|
|
1583
1583
|
D: ["day", Qe],
|
|
1584
1584
|
DD: ["day", Je],
|
|
1585
1585
|
Do: ["day", Qe + qt, function(e) {
|
|
1586
1586
|
return parseInt(e, 10);
|
|
1587
1587
|
}],
|
|
1588
|
-
M: ["month", Qe,
|
|
1589
|
-
MM: ["month", Je,
|
|
1588
|
+
M: ["month", Qe, ha],
|
|
1589
|
+
MM: ["month", Je, ha],
|
|
1590
1590
|
YY: [
|
|
1591
1591
|
"year",
|
|
1592
1592
|
Je,
|
|
@@ -1603,24 +1603,24 @@ var co = [
|
|
|
1603
1603
|
mm: ["minute", Je],
|
|
1604
1604
|
s: ["second", Qe],
|
|
1605
1605
|
ss: ["second", Je],
|
|
1606
|
-
YYYY: ["year",
|
|
1606
|
+
YYYY: ["year", xu],
|
|
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",
|
|
1614
|
-
d:
|
|
1615
|
-
dd:
|
|
1616
|
-
ddd:
|
|
1617
|
-
dddd:
|
|
1618
|
-
MMM: ["month", qt,
|
|
1619
|
-
MMMM: ["month", qt,
|
|
1620
|
-
a:
|
|
1621
|
-
A:
|
|
1622
|
-
ZZ:
|
|
1623
|
-
Z:
|
|
1613
|
+
SSS: ["millisecond", zu],
|
|
1614
|
+
d: pa,
|
|
1615
|
+
dd: pa,
|
|
1616
|
+
ddd: ga,
|
|
1617
|
+
dddd: ga,
|
|
1618
|
+
MMM: ["month", qt, ma("monthNamesShort")],
|
|
1619
|
+
MMMM: ["month", qt, ma("monthNames")],
|
|
1620
|
+
a: ya,
|
|
1621
|
+
A: ya,
|
|
1622
|
+
ZZ: va,
|
|
1623
|
+
Z: va
|
|
1624
1624
|
}, ln = {
|
|
1625
1625
|
default: "ddd MMM DD YYYY HH:mm:ss",
|
|
1626
1626
|
shortDate: "M/D/YY",
|
|
@@ -1632,24 +1632,24 @@ var co = [
|
|
|
1632
1632
|
shortTime: "HH:mm",
|
|
1633
1633
|
mediumTime: "HH:mm:ss",
|
|
1634
1634
|
longTime: "HH:mm:ss.SSS"
|
|
1635
|
-
},
|
|
1635
|
+
}, Xu = function(e) {
|
|
1636
1636
|
return lt(ln, e);
|
|
1637
|
-
},
|
|
1637
|
+
}, Ju = 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(co, 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(uo, function(o) {
|
|
1647
|
+
return Wu[o](e, a);
|
|
1648
1648
|
}), t.replace(/@@@/g, function() {
|
|
1649
1649
|
return i.shift();
|
|
1650
1650
|
});
|
|
1651
1651
|
};
|
|
1652
|
-
function
|
|
1652
|
+
function Qu(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 Xu(e, t, n) {
|
|
|
1664
1664
|
millisecond: 0,
|
|
1665
1665
|
isPm: null,
|
|
1666
1666
|
timezoneOffset: null
|
|
1667
|
-
}, o = [], s = [], r = t.replace(
|
|
1668
|
-
return s.push(
|
|
1667
|
+
}, o = [], s = [], r = t.replace(co, function(F, y) {
|
|
1668
|
+
return s.push(fa(y)), "@@@";
|
|
1669
1669
|
}), d = {}, u = {};
|
|
1670
|
-
r =
|
|
1671
|
-
var y =
|
|
1670
|
+
r = fa(r).replace(uo, function(F) {
|
|
1671
|
+
var y = Zu[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 Xu(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 N = [
|
|
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 = N.length; b < T; b++)
|
|
1701
|
+
if (d[N[b][0]] && a[N[b][0]] !== C[N[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: Ju,
|
|
1709
|
+
parse: Qu,
|
|
1710
|
+
defaultI18n: po,
|
|
1711
|
+
setGlobalDateI18n: Gu,
|
|
1712
|
+
setGlobalDateMasks: Xu
|
|
1713
1713
|
};
|
|
1714
|
-
function
|
|
1714
|
+
function ec(e, t, n) {
|
|
1715
1715
|
switch (n.length) {
|
|
1716
1716
|
case 0:
|
|
1717
1717
|
return e.call(t);
|
|
@@ -1724,91 +1724,91 @@ function Ju(e, t, n) {
|
|
|
1724
1724
|
}
|
|
1725
1725
|
return e.apply(t, n);
|
|
1726
1726
|
}
|
|
1727
|
-
var
|
|
1728
|
-
function
|
|
1729
|
-
return t =
|
|
1730
|
-
for (var i = arguments, a = -1, o =
|
|
1727
|
+
var ba = Math.max;
|
|
1728
|
+
function tc(e, t, n) {
|
|
1729
|
+
return t = ba(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
1730
|
+
for (var i = arguments, a = -1, o = ba(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), ec(e, this, r);
|
|
1736
1736
|
};
|
|
1737
1737
|
}
|
|
1738
|
-
function
|
|
1738
|
+
function nc(e) {
|
|
1739
1739
|
return function() {
|
|
1740
1740
|
return e;
|
|
1741
1741
|
};
|
|
1742
1742
|
}
|
|
1743
|
-
var
|
|
1743
|
+
var ic = on ? function(e, t) {
|
|
1744
1744
|
return on(e, "toString", {
|
|
1745
1745
|
configurable: !0,
|
|
1746
1746
|
enumerable: !1,
|
|
1747
|
-
value:
|
|
1747
|
+
value: nc(t),
|
|
1748
1748
|
writable: !0
|
|
1749
1749
|
});
|
|
1750
|
-
} :
|
|
1751
|
-
function
|
|
1750
|
+
} : ii, ac = 800, oc = 16, rc = Date.now;
|
|
1751
|
+
function sc(e) {
|
|
1752
1752
|
var t = 0, n = 0;
|
|
1753
1753
|
return function() {
|
|
1754
|
-
var i =
|
|
1754
|
+
var i = rc(), a = oc - (i - n);
|
|
1755
1755
|
if (n = i, a > 0) {
|
|
1756
|
-
if (++t >=
|
|
1756
|
+
if (++t >= ac)
|
|
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 lc = sc(ic);
|
|
1764
|
+
function dc(e, t) {
|
|
1765
|
+
return lc(tc(e, t, ii), e + "");
|
|
1766
1766
|
}
|
|
1767
|
-
function
|
|
1767
|
+
function uc(e, t, n) {
|
|
1768
1768
|
if (!Fe(n))
|
|
1769
1769
|
return !1;
|
|
1770
1770
|
var i = typeof t;
|
|
1771
|
-
return (i == "number" ? hn(n) &&
|
|
1771
|
+
return (i == "number" ? hn(n) && Pa(t, n.length) : i == "string" && t in n) ? yn(n[t], e) : !1;
|
|
1772
1772
|
}
|
|
1773
|
-
var
|
|
1773
|
+
var go = Object.prototype, cc = go.hasOwnProperty, mc = dc(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 && uc(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, go[u]) && !cc.call(e, u)) && (e[u] = o[u]);
|
|
1780
1780
|
}
|
|
1781
1781
|
return e;
|
|
1782
|
-
}),
|
|
1783
|
-
function mc(e) {
|
|
1784
|
-
return typeof e == "number" && cc(e);
|
|
1785
|
-
}
|
|
1786
|
-
var ba = 1 / 0, fc = 17976931348623157e292;
|
|
1782
|
+
}), fc = Pe.isFinite;
|
|
1787
1783
|
function hc(e) {
|
|
1784
|
+
return typeof e == "number" && fc(e);
|
|
1785
|
+
}
|
|
1786
|
+
var _a = 1 / 0, pc = 17976931348623157e292;
|
|
1787
|
+
function gc(e) {
|
|
1788
1788
|
if (!e)
|
|
1789
1789
|
return e === 0 ? e : 0;
|
|
1790
|
-
if (e =
|
|
1790
|
+
if (e = Zn(e), e === _a || e === -_a) {
|
|
1791
1791
|
var t = e < 0 ? -1 : 1;
|
|
1792
|
-
return t *
|
|
1792
|
+
return t * pc;
|
|
1793
1793
|
}
|
|
1794
1794
|
return e === e ? e : 0;
|
|
1795
1795
|
}
|
|
1796
|
-
function
|
|
1797
|
-
var t =
|
|
1796
|
+
function yc(e) {
|
|
1797
|
+
var t = gc(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 vc(e) {
|
|
1801
|
+
return typeof e == "number" && e == yc(e);
|
|
1802
1802
|
}
|
|
1803
|
-
var
|
|
1803
|
+
var bc = "[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) == bc;
|
|
1806
1806
|
}
|
|
1807
|
-
const
|
|
1807
|
+
const _c = {
|
|
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
|
+
}, Tc = {
|
|
1812
1812
|
view_advanced: "View advanced parameters",
|
|
1813
1813
|
window_type: {
|
|
1814
1814
|
label: "Rate Limit Window Type",
|
|
@@ -1852,7 +1852,7 @@ const vc = {
|
|
|
1852
1852
|
title: "Configure your Redis",
|
|
1853
1853
|
address_example: "e.g. localhost:6379"
|
|
1854
1854
|
}
|
|
1855
|
-
},
|
|
1855
|
+
}, Sc = {
|
|
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 vc = {
|
|
|
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
|
+
}, wc = {
|
|
1878
1878
|
title: "Redis Configuration",
|
|
1879
1879
|
shared_configuration: {
|
|
1880
1880
|
label: "Use shared configuration",
|
|
@@ -1909,7 +1909,7 @@ const vc = {
|
|
|
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
|
+
}, Ec = {
|
|
1913
1913
|
auto_suggest: {
|
|
1914
1914
|
error: {
|
|
1915
1915
|
load_entity: "There was an error loading {entity}"
|
|
@@ -1919,13 +1919,13 @@ const vc = {
|
|
|
1919
1919
|
no_results: "No results",
|
|
1920
1920
|
loading: "Loading..."
|
|
1921
1921
|
}
|
|
1922
|
-
},
|
|
1922
|
+
}, Mc = {
|
|
1923
1923
|
labels: {
|
|
1924
1924
|
on: "On",
|
|
1925
1925
|
off: "Off"
|
|
1926
1926
|
}
|
|
1927
1927
|
}, Re = {
|
|
1928
|
-
general:
|
|
1928
|
+
general: _c,
|
|
1929
1929
|
"post-function": {
|
|
1930
1930
|
tags: {
|
|
1931
1931
|
hint: "e.g. tag1, tag2, tag3",
|
|
@@ -1986,11 +1986,11 @@ const vc = {
|
|
|
1986
1986
|
newElementButtonLabel: "+ Add"
|
|
1987
1987
|
}
|
|
1988
1988
|
},
|
|
1989
|
-
rla:
|
|
1990
|
-
validators:
|
|
1991
|
-
redis:
|
|
1992
|
-
fields:
|
|
1993
|
-
vfg:
|
|
1989
|
+
rla: Tc,
|
|
1990
|
+
validators: Sc,
|
|
1991
|
+
redis: wc,
|
|
1992
|
+
fields: Ec,
|
|
1993
|
+
vfg: Mc
|
|
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 vc = {
|
|
|
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 = [], hc(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)), vc(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,9 +2102,9 @@ const vc = {
|
|
|
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, mc(n, ve)));
|
|
2106
2106
|
});
|
|
2107
|
-
function
|
|
2107
|
+
function Ta(e) {
|
|
2108
2108
|
return st(e) ? dt[e] != null ? dt[e] : (console.warn(`'${e}' is not a validator function!`), null) : e;
|
|
2109
2109
|
}
|
|
2110
2110
|
function Kn(e, t, n) {
|
|
@@ -2153,8 +2153,8 @@ const $e = {
|
|
|
2153
2153
|
if (this.schema.validator && this.schema.readonly !== !0 && this.disabled !== !0) {
|
|
2154
2154
|
const a = [];
|
|
2155
2155
|
Array.isArray(this.schema.validator) ? we(this.schema.validator, (o) => {
|
|
2156
|
-
a.push(
|
|
2157
|
-
}) : a.push(
|
|
2156
|
+
a.push(Ta(o).bind(this));
|
|
2157
|
+
}) : a.push(Ta(this.schema.validator).bind(this)), we(a, (o) => {
|
|
2158
2158
|
if (t)
|
|
2159
2159
|
n.push(o(this.value, this.schema, this.model));
|
|
2160
2160
|
else {
|
|
@@ -2169,7 +2169,7 @@ const $e = {
|
|
|
2169
2169
|
}
|
|
2170
2170
|
const i = (a) => {
|
|
2171
2171
|
let o = [];
|
|
2172
|
-
we(
|
|
2172
|
+
we(so(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
|
|
2213
|
+
return si(e, n) + (t ? "-" + lo() : "");
|
|
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
|
+
}, _p = /* @__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
|
+
}, Ac = {
|
|
2237
2237
|
class: "advanced-field-dropdown-wrapper",
|
|
2238
2238
|
"data-testid": "advanced-field-dropdown-wrapper"
|
|
2239
|
-
},
|
|
2239
|
+
}, Ic = { class: "material-icons" }, Cc = {
|
|
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
|
+
}, Oc = /* @__PURE__ */ Object.assign(Cc, {
|
|
2268
2268
|
__name: "FieldAdvanced",
|
|
2269
2269
|
setup(e) {
|
|
2270
|
-
return (t, n) => (c(), _("div",
|
|
2270
|
+
return (t, n) => (c(), _("div", Ac, [
|
|
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", Ic, L(t.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
|
|
2277
|
+
m("span", null, L(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
|
+
}), Fc = /* @__PURE__ */ W(Oc, [["__scopeId", "data-v-9bb032dd"]]), kc = { class: "array-card-container" }, Rc = /* @__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", kc, [
|
|
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
|
+
}), yo = /* @__PURE__ */ W(Rc, [["__scopeId", "data-v-97302224"]]), Uc = { class: "array-item-wrapper" }, Lc = { class: "array-item" }, Nc = { class: "array-item-after" }, Pc = /* @__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", Uc, [
|
|
2344
|
+
m("div", Lc, [
|
|
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", Nc, [
|
|
2358
2358
|
Oe(t.$slots, "after", {}, void 0, !0)
|
|
2359
2359
|
])
|
|
2360
2360
|
]);
|
|
2361
2361
|
};
|
|
2362
2362
|
}
|
|
2363
|
-
}),
|
|
2363
|
+
}), vo = /* @__PURE__ */ W(Pc, [["__scopeId", "data-v-51d79db2"]]), Dc = { class: "multi-item-wrapper" }, $c = /* @__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", Dc, [
|
|
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
|
+
}), bo = /* @__PURE__ */ W($c, [["__scopeId", "data-v-b4fcf731"]]), Vc = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", Xn = (e) => e ? e.length === 36 && new RegExp(`^${Vc}$`).test(e) : !1, jc = (e) => ({
|
|
2387
2387
|
...e,
|
|
2388
2388
|
label: e.name,
|
|
2389
2389
|
value: e.id
|
|
2390
2390
|
});
|
|
2391
|
-
function
|
|
2391
|
+
function _o(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, qc = {
|
|
2395
2395
|
mixins: [$e],
|
|
2396
2396
|
inject: [Se],
|
|
2397
2397
|
emits: ["model-updated"],
|
|
@@ -2413,7 +2413,7 @@ const Bn = 50, Vc = {
|
|
|
2413
2413
|
},
|
|
2414
2414
|
computed: {
|
|
2415
2415
|
fieldState() {
|
|
2416
|
-
return
|
|
2416
|
+
return _o(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];
|
|
@@ -2463,7 +2463,7 @@ const Bn = 50, Vc = {
|
|
|
2463
2463
|
return;
|
|
2464
2464
|
this.loading = !0;
|
|
2465
2465
|
const t = [], n = [], i = this.getInputFields(), a = /* @__PURE__ */ new Set();
|
|
2466
|
-
|
|
2466
|
+
Xn(e) && i.includes("id") ? n.push((async () => {
|
|
2467
2467
|
const o = await this.fetchExact(e);
|
|
2468
2468
|
t.push({ ...o, label: this.getSuggestionLabel(o), value: o.id });
|
|
2469
2469
|
})()) : n.push(...i.filter((o) => o !== "id").map(async (o) => {
|
|
@@ -2516,8 +2516,8 @@ const Bn = 50, Vc = {
|
|
|
2516
2516
|
return t ? e[t] : e.id;
|
|
2517
2517
|
}
|
|
2518
2518
|
}
|
|
2519
|
-
},
|
|
2520
|
-
function
|
|
2519
|
+
}, Kc = ["data-testid", "data-testlabel"], Bc = ["data-testid"], zc = { class: "autosuggest__results_message" };
|
|
2520
|
+
function xc(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 Bc(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
|
+
}, L(o.getSuggestionLabel(r).split(" - ")[0]), 9, Kc),
|
|
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
|
+
}, L(d), 9, Bc))), 128))
|
|
2555
2555
|
]),
|
|
2556
2556
|
empty: M(() => [
|
|
2557
|
-
m("div",
|
|
2558
|
-
m("span", null,
|
|
2557
|
+
m("div", zc, [
|
|
2558
|
+
m("span", null, L(a.message), 1)
|
|
2559
2559
|
])
|
|
2560
2560
|
]),
|
|
2561
2561
|
_: 1
|
|
@@ -2564,14 +2564,14 @@ function Bc(e, t, n, i, a, o) {
|
|
|
2564
2564
|
_: 1
|
|
2565
2565
|
}, 8, ["text"]);
|
|
2566
2566
|
}
|
|
2567
|
-
const
|
|
2568
|
-
var
|
|
2569
|
-
function
|
|
2570
|
-
return jt(e,
|
|
2567
|
+
const To = /* @__PURE__ */ W(qc, [["render", xc], ["__scopeId", "data-v-9b7636bc"]]), Hc = "#6c7489", Yc = "12px", Gc = "20px";
|
|
2568
|
+
var Wc = 4;
|
|
2569
|
+
function Sa(e) {
|
|
2570
|
+
return jt(e, Wc);
|
|
2571
2571
|
}
|
|
2572
|
-
const
|
|
2572
|
+
const Zc = ["data-testid", "data-testlabel"], Xc = { class: "item-label" }, Jc = { class: "autosuggest__results_message" }, Qc = /* @__PURE__ */ he({
|
|
2573
2573
|
__name: "AutoSuggest",
|
|
2574
|
-
props: /* @__PURE__ */
|
|
2574
|
+
props: /* @__PURE__ */ Fi({
|
|
2575
2575
|
placeholder: { default: "" },
|
|
2576
2576
|
suggestions: {},
|
|
2577
2577
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -2582,9 +2582,9 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2582
2582
|
id: { required: !0 },
|
|
2583
2583
|
idModifiers: {}
|
|
2584
2584
|
}),
|
|
2585
|
-
emits: /* @__PURE__ */
|
|
2585
|
+
emits: /* @__PURE__ */ Fi(["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 = $o(e, "id");
|
|
2588
2588
|
return (i, a) => {
|
|
2589
2589
|
const o = D("KSelect");
|
|
2590
2590
|
return c(), U(o, {
|
|
@@ -2609,17 +2609,17 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2609
2609
|
class: "item-label",
|
|
2610
2610
|
"data-testid": s.id && `${s.id}-0`,
|
|
2611
2611
|
"data-testlabel": s.label
|
|
2612
|
-
},
|
|
2612
|
+
}, L(s.label), 9, Zc)
|
|
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", Xc, L(s.label), 1)
|
|
2618
2618
|
], !0)
|
|
2619
2619
|
]),
|
|
2620
2620
|
empty: M(() => [
|
|
2621
|
-
m("div",
|
|
2622
|
-
m("span", null,
|
|
2621
|
+
m("div", Jc, [
|
|
2622
|
+
m("span", null, L(i.emptyMessage || I(t)("fields.auto_suggest.no_results")), 1)
|
|
2623
2623
|
])
|
|
2624
2624
|
]),
|
|
2625
2625
|
_: 2
|
|
@@ -2634,10 +2634,10 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2634
2634
|
]), 1032, ["id", "modelValue", "disabled", "items", "loading", "placeholder"]);
|
|
2635
2635
|
};
|
|
2636
2636
|
}
|
|
2637
|
-
}),
|
|
2637
|
+
}), em = /* @__PURE__ */ W(Qc, [["__scopeId", "data-v-baeb3bb0"]]), tm = 500, nm = 50, im = /* @__PURE__ */ he({
|
|
2638
2638
|
__name: "FieldScopedEntitySelect",
|
|
2639
2639
|
props: {
|
|
2640
|
-
transformItem: { type: Function, default:
|
|
2640
|
+
transformItem: { type: Function, default: jc },
|
|
2641
2641
|
allowUuidSearch: { type: Boolean, default: !1 },
|
|
2642
2642
|
placeholder: {},
|
|
2643
2643
|
fields: { default: () => [] },
|
|
@@ -2668,7 +2668,7 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2668
2668
|
} catch (g) {
|
|
2669
2669
|
if (v != null && v.aborted)
|
|
2670
2670
|
return;
|
|
2671
|
-
if (o.value = [],
|
|
2671
|
+
if (o.value = [], Wo(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 Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
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 = N(r.value);
|
|
2683
2683
|
return;
|
|
2684
2684
|
}
|
|
2685
2685
|
u.value && u.value.abort();
|
|
@@ -2689,29 +2689,29 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2689
2689
|
return;
|
|
2690
2690
|
}
|
|
2691
2691
|
A(y, v);
|
|
2692
|
-
},
|
|
2693
|
-
const { data: { data: y, next: v, offset: g } } = await e.getPartial(
|
|
2692
|
+
}, tm, { 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(nm);
|
|
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 })
|
|
2697
2697
|
})), y;
|
|
2698
2698
|
}, h = async (y) => [await e.getOne(y)], A = (y, v) => {
|
|
2699
|
-
|
|
2699
|
+
Xn(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 = N(r.value), y != null && y.trim() ? o.value = v.filter((g) => e.fields.some((V) => (g[V] || "").includes(y))) : o.value = v;
|
|
2703
|
+
}, N = (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
|
+
Xn(y) && e.allowUuidSearch ? T(y) : C(y);
|
|
2707
2707
|
};
|
|
2708
|
-
return
|
|
2708
|
+
return Jn(async () => {
|
|
2709
2709
|
await f(q);
|
|
2710
2710
|
const y = mn(() => e.selectedItem, (v) => {
|
|
2711
|
-
v && (o.value =
|
|
2711
|
+
v && (o.value = N(r.value)), y();
|
|
2712
2712
|
});
|
|
2713
|
-
o.value =
|
|
2714
|
-
}), (y, v) => (c(), U(
|
|
2713
|
+
o.value = N(r.value);
|
|
2714
|
+
}), (y, v) => (c(), U(em, {
|
|
2715
2715
|
id: y.id,
|
|
2716
2716
|
disabled: y.fieldDisabled,
|
|
2717
2717
|
"dom-id": y.domId,
|
|
@@ -2740,10 +2740,10 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2740
2740
|
} : void 0
|
|
2741
2741
|
]), 1032, ["id", "disabled", "dom-id", "empty-message", "loading", "placeholder", "readonly", "suggestions", "onQueryChange"]));
|
|
2742
2742
|
}
|
|
2743
|
-
}),
|
|
2743
|
+
}), am = 1e3, wa = "-", zn = Symbol("no_name"), om = {
|
|
2744
2744
|
components: {
|
|
2745
|
-
FieldScopedEntitySelect:
|
|
2746
|
-
SearchIcon:
|
|
2745
|
+
FieldScopedEntitySelect: im,
|
|
2746
|
+
SearchIcon: Yo
|
|
2747
2747
|
},
|
|
2748
2748
|
mixins: [$e],
|
|
2749
2749
|
inject: [Se],
|
|
@@ -2752,8 +2752,9 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
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:
|
|
2755
|
+
KUI_ICON_SIZE_40: Gc,
|
|
2756
|
+
KUI_COLOR_TEXT_NEUTRAL: Hc,
|
|
2757
|
+
LABEL_PLACEHOLDER: wa
|
|
2757
2758
|
};
|
|
2758
2759
|
},
|
|
2759
2760
|
data() {
|
|
@@ -2770,7 +2771,7 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2770
2771
|
},
|
|
2771
2772
|
computed: {
|
|
2772
2773
|
fieldState() {
|
|
2773
|
-
return
|
|
2774
|
+
return _o(this.model[this.schema.model], this.associatedEntity || this.entityId, this.bypassSearch);
|
|
2774
2775
|
},
|
|
2775
2776
|
associatedEntity() {
|
|
2776
2777
|
return this.$route && this.$route.params[this.entity];
|
|
@@ -2833,18 +2834,15 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2833
2834
|
return this[Se] ? (await this[Se].getOne(this.entity, e)).data : (console.warn("[@kong-ui-public/forms] No API service provided"), {});
|
|
2834
2835
|
},
|
|
2835
2836
|
transformItem(e) {
|
|
2837
|
+
const t = this.getSuggestionLabel(e);
|
|
2836
2838
|
return {
|
|
2837
2839
|
...e,
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
+
// This field is for select dropdown item first column.
|
|
2841
|
+
label: t === zn ? wa : t,
|
|
2842
|
+
value: e.id,
|
|
2843
|
+
...t === zn ? { __no_name: !0 } : {}
|
|
2840
2844
|
};
|
|
2841
2845
|
},
|
|
2842
|
-
dedupeSuggestions(e, t) {
|
|
2843
|
-
const n = [];
|
|
2844
|
-
return e.forEach((i) => {
|
|
2845
|
-
t.has(i.id) || (t.add(i.id), n.push(i));
|
|
2846
|
-
}), n;
|
|
2847
|
-
},
|
|
2848
2846
|
getItem(e) {
|
|
2849
2847
|
return e.data ? e.data.length > 0 ? e.data[0] : [] : e;
|
|
2850
2848
|
},
|
|
@@ -2852,7 +2850,7 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2852
2850
|
if (!this[Se])
|
|
2853
2851
|
return console.warn("[@kong-ui-public/forms] No API service provided"), [];
|
|
2854
2852
|
const n = this[Se].getAllV2, { data: i } = await n(this.entity, {
|
|
2855
|
-
size:
|
|
2853
|
+
size: am,
|
|
2856
2854
|
...e
|
|
2857
2855
|
}, t);
|
|
2858
2856
|
return i.data;
|
|
@@ -2863,7 +2861,7 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2863
2861
|
getSuggestionLabel(e) {
|
|
2864
2862
|
var n;
|
|
2865
2863
|
const t = ((n = this.schema) == null ? void 0 : n.labelField) || "id";
|
|
2866
|
-
return (t && e ? e[t] : "") ||
|
|
2864
|
+
return (t && e ? e[t] : "") || zn;
|
|
2867
2865
|
},
|
|
2868
2866
|
updateModel(e) {
|
|
2869
2867
|
this.$emit("model-updated", e != null && e.length ? e : null, this.schema.model);
|
|
@@ -2877,8 +2875,8 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2877
2875
|
return t ? e[t] : e.id;
|
|
2878
2876
|
}
|
|
2879
2877
|
}
|
|
2880
|
-
},
|
|
2881
|
-
function
|
|
2878
|
+
}, rm = { class: "entity-suggestion-item" }, sm = { class: "entity-label" }, lm = { class: "entity-id" }, dm = { class: "selected-entity-item" }, um = { class: "selected-entity-label" };
|
|
2879
|
+
function cm(e, t, n, i, a, o) {
|
|
2882
2880
|
const s = D("SearchIcon"), r = D("FieldScopedEntitySelect");
|
|
2883
2881
|
return c(), U(me(e.schema.disabled ? "k-tooltip" : "div"), {
|
|
2884
2882
|
class: "field-wrap autosuggest",
|
|
@@ -2911,14 +2909,14 @@ function dm(e, t, n, i, a, o) {
|
|
|
2911
2909
|
}, null, 8, ["color", "size"])
|
|
2912
2910
|
]),
|
|
2913
2911
|
item: M(({ item: d }) => [
|
|
2914
|
-
m("div",
|
|
2915
|
-
m("span",
|
|
2916
|
-
m("span",
|
|
2912
|
+
m("div", rm, [
|
|
2913
|
+
m("span", sm, L(d.label), 1),
|
|
2914
|
+
m("span", lm, L(d.id), 1)
|
|
2917
2915
|
])
|
|
2918
2916
|
]),
|
|
2919
2917
|
"selected-item": M(({ item: d }) => [
|
|
2920
|
-
m("span",
|
|
2921
|
-
m("span",
|
|
2918
|
+
m("span", dm, [
|
|
2919
|
+
m("span", um, L(d.__no_name ? d.value : d.label), 1)
|
|
2922
2920
|
])
|
|
2923
2921
|
]),
|
|
2924
2922
|
_: 1
|
|
@@ -2927,8 +2925,8 @@ function dm(e, t, n, i, a, o) {
|
|
|
2927
2925
|
_: 1
|
|
2928
2926
|
}, 8, ["text"]);
|
|
2929
2927
|
}
|
|
2930
|
-
const
|
|
2931
|
-
function
|
|
2928
|
+
const So = /* @__PURE__ */ W(om, [["render", cm], ["__scopeId", "data-v-0575cbb3"]]);
|
|
2929
|
+
function mm(e) {
|
|
2932
2930
|
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({
|
|
2933
2931
|
get() {
|
|
2934
2932
|
var A, C;
|
|
@@ -2962,10 +2960,10 @@ function um(e) {
|
|
|
2962
2960
|
}
|
|
2963
2961
|
});
|
|
2964
2962
|
}
|
|
2965
|
-
const
|
|
2963
|
+
const N = (F) => {
|
|
2966
2964
|
var v, g;
|
|
2967
2965
|
let y = [];
|
|
2968
|
-
if (we(
|
|
2966
|
+
if (we(so(F), (V) => {
|
|
2969
2967
|
Array.isArray(V) && V.length > 0 ? y = y.concat(V) : st(V) && y.push(V);
|
|
2970
2968
|
}), X((v = e.schema) == null ? void 0 : v.onValidated) && e.schema.onValidated((g = e.model) == null ? void 0 : g.value, y, e.schema), !h) {
|
|
2971
2969
|
const V = y.length === 0;
|
|
@@ -2973,37 +2971,37 @@ function um(e) {
|
|
|
2973
2971
|
}
|
|
2974
2972
|
return F = y, y;
|
|
2975
2973
|
};
|
|
2976
|
-
return A ? Promise.all(C).then(
|
|
2974
|
+
return A ? Promise.all(C).then(N) : N(C);
|
|
2977
2975
|
}, s = () => {
|
|
2978
2976
|
X(n.value) ? n.value() : n.value = wt(
|
|
2979
2977
|
o,
|
|
2980
2978
|
G(e.schema, "validateDebounceTime", G(e.formOptions, "validateDebounceTime", 500))
|
|
2981
2979
|
);
|
|
2982
2980
|
}, r = (h, A) => {
|
|
2983
|
-
var
|
|
2981
|
+
var N, T, F;
|
|
2984
2982
|
let C = !1;
|
|
2985
|
-
X(e.schema.set) ? (e.schema.set((
|
|
2983
|
+
X(e.schema.set) ? (e.schema.set((N = e.model) == null ? void 0 : N.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()));
|
|
2986
2984
|
}, d = () => {
|
|
2987
2985
|
t.value.splice(0);
|
|
2988
2986
|
}, u = (h, A) => {
|
|
2989
2987
|
var v;
|
|
2990
2988
|
let C = h.replace(/\[(\w+)\]/g, ".$1");
|
|
2991
2989
|
C = C.replace(/^\./, "");
|
|
2992
|
-
let
|
|
2990
|
+
let N = ((v = e.model) == null ? void 0 : v.value) || {}, T = 0;
|
|
2993
2991
|
const F = C.split("."), y = F.length;
|
|
2994
2992
|
for (; T < y; ) {
|
|
2995
2993
|
const g = F[T];
|
|
2996
2994
|
if (T < y - 1)
|
|
2997
|
-
|
|
2995
|
+
N[g] !== void 0 || (N[g] = {}), N = N[g];
|
|
2998
2996
|
else {
|
|
2999
|
-
|
|
2997
|
+
N[g] = A;
|
|
3000
2998
|
return;
|
|
3001
2999
|
}
|
|
3002
3000
|
++T;
|
|
3003
3001
|
}
|
|
3004
3002
|
}, p = (h, A = !1) => {
|
|
3005
3003
|
const C = G(e.formOptions, "fieldIdPrefix", "");
|
|
3006
|
-
return
|
|
3004
|
+
return si(h, C) + (A ? "-" + lo() : "");
|
|
3007
3005
|
}, 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;
|
|
3008
3006
|
return {
|
|
3009
3007
|
value: a,
|
|
@@ -3014,7 +3012,7 @@ function um(e) {
|
|
|
3014
3012
|
updateModelValue: r
|
|
3015
3013
|
};
|
|
3016
3014
|
}
|
|
3017
|
-
function
|
|
3015
|
+
function fm(e) {
|
|
3018
3016
|
const t = [], n = (i) => {
|
|
3019
3017
|
const a = ["cluster-cache", "cluster_cache"];
|
|
3020
3018
|
for (const o of a)
|
|
@@ -3035,7 +3033,7 @@ function cm(e) {
|
|
|
3035
3033
|
redisModels: t.map((i) => i.model)
|
|
3036
3034
|
};
|
|
3037
3035
|
}
|
|
3038
|
-
function
|
|
3036
|
+
function hm(e, t) {
|
|
3039
3037
|
const n = new RegExp("(?<=config-redis-).*"), i = /Config\.Redis.*/;
|
|
3040
3038
|
return t.filter((o) => {
|
|
3041
3039
|
const s = o.model.match(n);
|
|
@@ -3051,10 +3049,10 @@ function mm(e, t) {
|
|
|
3051
3049
|
});
|
|
3052
3050
|
}
|
|
3053
3051
|
const qe = {
|
|
3054
|
-
useAbstractFields:
|
|
3055
|
-
useRedisPartial:
|
|
3056
|
-
useRedisNonStandardFields:
|
|
3057
|
-
},
|
|
3052
|
+
useAbstractFields: mm,
|
|
3053
|
+
useRedisPartial: fm,
|
|
3054
|
+
useRedisNonStandardFields: hm
|
|
3055
|
+
}, pm = { class: "form-field-wrapper" }, gm = /* @__PURE__ */ he({
|
|
3058
3056
|
__name: "FieldInput",
|
|
3059
3057
|
props: {
|
|
3060
3058
|
disabled: {
|
|
@@ -3094,7 +3092,7 @@ const qe = {
|
|
|
3094
3092
|
},
|
|
3095
3093
|
emits: ["modelUpdated"],
|
|
3096
3094
|
setup(e, { expose: t, emit: n }) {
|
|
3097
|
-
const i = e, a = n, o = ut(i), s = an(
|
|
3095
|
+
const i = e, a = n, o = ut(i), s = an(Le, void 0), { updateModelValue: r, getFieldID: d, clearValidationErrors: u, value: p } = qe.useAbstractFields({
|
|
3098
3096
|
model: o.model,
|
|
3099
3097
|
schema: i.schema,
|
|
3100
3098
|
formOptions: i.formOptions,
|
|
@@ -3138,11 +3136,11 @@ const qe = {
|
|
|
3138
3136
|
p.value = F, r(F, T);
|
|
3139
3137
|
}, A = (T) => {
|
|
3140
3138
|
p.value = T, r(T, T);
|
|
3141
|
-
}, C = ae(null),
|
|
3139
|
+
}, C = ae(null), N = () => {
|
|
3142
3140
|
var T;
|
|
3143
3141
|
X(C.value) && ((T = C.value) == null || T.flush());
|
|
3144
3142
|
};
|
|
3145
|
-
return
|
|
3143
|
+
return Jn(() => {
|
|
3146
3144
|
switch (f.value) {
|
|
3147
3145
|
case "number":
|
|
3148
3146
|
case "range":
|
|
@@ -3172,11 +3170,11 @@ const qe = {
|
|
|
3172
3170
|
);
|
|
3173
3171
|
break;
|
|
3174
3172
|
}
|
|
3175
|
-
}),
|
|
3173
|
+
}), Qn(() => {
|
|
3176
3174
|
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.");
|
|
3177
3175
|
}), (T, F) => {
|
|
3178
3176
|
const y = D("KInput");
|
|
3179
|
-
return c(), _("div",
|
|
3177
|
+
return c(), _("div", pm, [
|
|
3180
3178
|
O(y, et(T.$attrs, {
|
|
3181
3179
|
id: I(d)(e.schema),
|
|
3182
3180
|
autocomplete: e.schema.autocomplete,
|
|
@@ -3196,7 +3194,7 @@ const qe = {
|
|
|
3196
3194
|
"show-password-mask-toggle": f.value === "password",
|
|
3197
3195
|
type: f.value,
|
|
3198
3196
|
width: e.schema.width,
|
|
3199
|
-
onBlur:
|
|
3197
|
+
onBlur: N,
|
|
3200
3198
|
"onUpdate:modelValue": h
|
|
3201
3199
|
}), null, 16, ["id", "autocomplete", "class", "disabled", "help", "max", "maxlength", "min", "minlength", "model-value", "name", "pattern", "placeholder", "readonly", "required", "show-password-mask-toggle", "type", "width"]),
|
|
3202
3200
|
(c(), U(me(I(s)), {
|
|
@@ -3207,9 +3205,9 @@ const qe = {
|
|
|
3207
3205
|
]);
|
|
3208
3206
|
};
|
|
3209
3207
|
}
|
|
3210
|
-
}),
|
|
3208
|
+
}), wo = /* @__PURE__ */ W(gm, [["__scopeId", "data-v-fe1132bb"]]), ym = {
|
|
3211
3209
|
name: "FieldMetric",
|
|
3212
|
-
components: { AddIcon:
|
|
3210
|
+
components: { AddIcon: ei, TrashIcon: xt },
|
|
3213
3211
|
mixins: [$e],
|
|
3214
3212
|
emits: ["remove-item"],
|
|
3215
3213
|
data() {
|
|
@@ -3217,11 +3215,11 @@ const qe = {
|
|
|
3217
3215
|
contentVisible: !1
|
|
3218
3216
|
};
|
|
3219
3217
|
}
|
|
3220
|
-
},
|
|
3218
|
+
}, vm = {
|
|
3221
3219
|
key: 0,
|
|
3222
3220
|
class: "content"
|
|
3223
3221
|
};
|
|
3224
|
-
function
|
|
3222
|
+
function bm(e, t, n, i, a, o) {
|
|
3225
3223
|
const s = D("AddIcon"), r = D("TrashIcon"), d = D("KButton");
|
|
3226
3224
|
return c(), _("div", {
|
|
3227
3225
|
class: ee(["field-dropdown", { active: a.contentVisible }])
|
|
@@ -3230,12 +3228,12 @@ function ym(e, t, n, i, a, o) {
|
|
|
3230
3228
|
class: "title",
|
|
3231
3229
|
onClick: t[0] || (t[0] = (u) => a.contentVisible = !a.contentVisible)
|
|
3232
3230
|
}, [
|
|
3233
|
-
ce(
|
|
3231
|
+
ce(L(e.model.name ? e.model.name : "New Item") + " ", 1),
|
|
3234
3232
|
O(s, { class: "metric-add-icon" })
|
|
3235
3233
|
]),
|
|
3236
|
-
O(
|
|
3234
|
+
O(Vo, { name: "slide-fade" }, {
|
|
3237
3235
|
default: M(() => [
|
|
3238
|
-
a.contentVisible ? (c(), _("div",
|
|
3236
|
+
a.contentVisible ? (c(), _("div", vm, [
|
|
3239
3237
|
Oe(e.$slots, "default"),
|
|
3240
3238
|
O(d, {
|
|
3241
3239
|
appearance: "tertiary",
|
|
@@ -3253,7 +3251,7 @@ function ym(e, t, n, i, a, o) {
|
|
|
3253
3251
|
})
|
|
3254
3252
|
], 2);
|
|
3255
3253
|
}
|
|
3256
|
-
const
|
|
3254
|
+
const Eo = /* @__PURE__ */ W(ym, [["render", bm]]), _m = { class: "field-object-container" }, Tm = { key: 1 }, Sm = ["id"], wm = { key: 0 }, Em = ["onUpdate:modelValue"], Mm = { key: 1 }, Am = ["onUpdate:modelValue"], Im = { key: 2 }, Cm = ["onUpdate:modelValue"], Om = ["onClick"], Fm = {
|
|
3257
3255
|
mixins: [$e],
|
|
3258
3256
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
3259
3257
|
emits: ["modelUpdated"],
|
|
@@ -3291,46 +3289,46 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3291
3289
|
this.$emit("modelUpdated", e, t);
|
|
3292
3290
|
}
|
|
3293
3291
|
}
|
|
3294
|
-
},
|
|
3292
|
+
}, km = /* @__PURE__ */ Object.assign(Fm, {
|
|
3295
3293
|
__name: "FieldObject",
|
|
3296
3294
|
setup(e) {
|
|
3297
3295
|
return (t, n) => {
|
|
3298
|
-
const i =
|
|
3299
|
-
return Ee((c(), _("div",
|
|
3296
|
+
const i = Ca("attributes");
|
|
3297
|
+
return Ee((c(), _("div", _m, [
|
|
3300
3298
|
t.schema.schema ? (c(), U(ue, {
|
|
3301
3299
|
key: 0,
|
|
3302
3300
|
model: t.value,
|
|
3303
3301
|
options: t.formOptions,
|
|
3304
3302
|
schema: t.schema.schema,
|
|
3305
3303
|
onModelUpdated: t.updateModel
|
|
3306
|
-
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : (c(), _("div",
|
|
3304
|
+
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : (c(), _("div", Tm, [
|
|
3307
3305
|
m("table", {
|
|
3308
3306
|
id: t.getFieldID(t.schema),
|
|
3309
3307
|
class: ee(t.schema.fieldClasses)
|
|
3310
3308
|
}, [
|
|
3311
3309
|
(c(!0), _(Y, null, oe(t.value, (a, o) => (c(), _("tr", { key: o }, [
|
|
3312
|
-
m("td", null,
|
|
3313
|
-
t.keyTypes[o] === "string" ? (c(), _("td",
|
|
3310
|
+
m("td", null, L(o), 1),
|
|
3311
|
+
t.keyTypes[o] === "string" ? (c(), _("td", wm, [
|
|
3314
3312
|
Ee(m("input", {
|
|
3315
3313
|
"onUpdate:modelValue": (s) => t.value[o] = s,
|
|
3316
3314
|
type: "text"
|
|
3317
|
-
}, null, 8,
|
|
3315
|
+
}, null, 8, Em), [
|
|
3318
3316
|
[$t, t.value[o]]
|
|
3319
3317
|
])
|
|
3320
3318
|
])) : B("", !0),
|
|
3321
|
-
t.keyTypes[o] === "boolean" ? (c(), _("td",
|
|
3319
|
+
t.keyTypes[o] === "boolean" ? (c(), _("td", Mm, [
|
|
3322
3320
|
Ee(m("input", {
|
|
3323
3321
|
"onUpdate:modelValue": (s) => t.value[o] = s,
|
|
3324
3322
|
type: "checkbox"
|
|
3325
|
-
}, null, 8,
|
|
3326
|
-
[
|
|
3323
|
+
}, null, 8, Am), [
|
|
3324
|
+
[jo, t.value[o]]
|
|
3327
3325
|
])
|
|
3328
3326
|
])) : B("", !0),
|
|
3329
|
-
t.keyTypes[o] === "number" ? (c(), _("td",
|
|
3327
|
+
t.keyTypes[o] === "number" ? (c(), _("td", Im, [
|
|
3330
3328
|
Ee(m("input", {
|
|
3331
3329
|
"onUpdate:modelValue": (s) => t.value[o] = s,
|
|
3332
3330
|
type: "number"
|
|
3333
|
-
}, null, 8,
|
|
3331
|
+
}, null, 8, Cm), [
|
|
3334
3332
|
[$t, t.value[o]]
|
|
3335
3333
|
])
|
|
3336
3334
|
])) : B("", !0),
|
|
@@ -3339,10 +3337,10 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3339
3337
|
type: "button",
|
|
3340
3338
|
value: "x",
|
|
3341
3339
|
onClick: (s) => t.removeElement(o)
|
|
3342
|
-
}, null, 8,
|
|
3340
|
+
}, null, 8, Om)
|
|
3343
3341
|
])
|
|
3344
3342
|
]))), 128))
|
|
3345
|
-
], 10,
|
|
3343
|
+
], 10, Sm),
|
|
3346
3344
|
Ee(m("select", {
|
|
3347
3345
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => t.newKeyType = a)
|
|
3348
3346
|
}, n[3] || (n[3] = [
|
|
@@ -3350,7 +3348,7 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3350
3348
|
m("option", { value: "number" }, " Number ", -1),
|
|
3351
3349
|
m("option", { value: "boolean" }, " Boolean ", -1)
|
|
3352
3350
|
]), 512), [
|
|
3353
|
-
[
|
|
3351
|
+
[qo, t.newKeyType]
|
|
3354
3352
|
]),
|
|
3355
3353
|
Ee(m("input", {
|
|
3356
3354
|
"onUpdate:modelValue": n[1] || (n[1] = (a) => t.newKeyName = a),
|
|
@@ -3369,18 +3367,18 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3369
3367
|
]);
|
|
3370
3368
|
};
|
|
3371
3369
|
}
|
|
3372
|
-
}),
|
|
3370
|
+
}), Mo = /* @__PURE__ */ W(km, [["__scopeId", "data-v-4ace4106"]]), Rm = ["id"], Um = ["data-testid"], Lm = { class: "item-wrapper" }, Nm = { class: "index-wrapper" }, Pm = { key: 0 }, Dm = { key: 1 }, $m = ["onUpdate:modelValue", "placeholder", "type", "onInput"], Vm = {
|
|
3373
3371
|
key: 0,
|
|
3374
3372
|
class: "hint"
|
|
3375
|
-
},
|
|
3373
|
+
}, jm = { class: "input-item" }, qm = ["placeholder"], Km = {
|
|
3376
3374
|
key: 0,
|
|
3377
3375
|
class: "hint"
|
|
3378
|
-
},
|
|
3376
|
+
}, Bm = {
|
|
3379
3377
|
mixins: [$e],
|
|
3380
3378
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
3381
3379
|
inject: {
|
|
3382
3380
|
autofillSlot: {
|
|
3383
|
-
from:
|
|
3381
|
+
from: Le,
|
|
3384
3382
|
default: void 0
|
|
3385
3383
|
}
|
|
3386
3384
|
},
|
|
@@ -3474,7 +3472,7 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3474
3472
|
this.$emit("model-updated", this.model[this.schema.model], t);
|
|
3475
3473
|
}
|
|
3476
3474
|
}
|
|
3477
|
-
},
|
|
3475
|
+
}, zm = /* @__PURE__ */ Object.assign(Bm, {
|
|
3478
3476
|
__name: "FieldObjectAdvanced",
|
|
3479
3477
|
setup(e) {
|
|
3480
3478
|
return (t, n) => {
|
|
@@ -3488,9 +3486,9 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3488
3486
|
"data-testid": `field-object-key-${o}`
|
|
3489
3487
|
}, [
|
|
3490
3488
|
m("div", null, [
|
|
3491
|
-
m("div",
|
|
3492
|
-
m("div",
|
|
3493
|
-
m("strong", null,
|
|
3489
|
+
m("div", Lm, [
|
|
3490
|
+
m("div", Nm, [
|
|
3491
|
+
m("strong", null, L(o), 1),
|
|
3494
3492
|
m("div", null, [
|
|
3495
3493
|
O(i, {
|
|
3496
3494
|
appearance: "tertiary",
|
|
@@ -3507,24 +3505,24 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3507
3505
|
])
|
|
3508
3506
|
]),
|
|
3509
3507
|
n[1] || (n[1] = m("hr", { class: "divider" }, null, -1)),
|
|
3510
|
-
t.subSchema ? (c(), _("div",
|
|
3508
|
+
t.subSchema ? (c(), _("div", Pm, [
|
|
3511
3509
|
O(ue, {
|
|
3512
3510
|
model: t.transformedModel[o],
|
|
3513
3511
|
options: { helpAsHtml: !0 },
|
|
3514
3512
|
schema: t.subSchema,
|
|
3515
3513
|
onModelUpdated: t.updateModel
|
|
3516
3514
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
3517
|
-
])) : (c(), _("div",
|
|
3515
|
+
])) : (c(), _("div", Dm, [
|
|
3518
3516
|
Ee(m("input", {
|
|
3519
3517
|
"onUpdate:modelValue": (s) => t.value[o] = s,
|
|
3520
3518
|
class: "form-control",
|
|
3521
3519
|
placeholder: t.schema.fields && t.schema.fields[0].schema.placeholder,
|
|
3522
3520
|
type: t.valueInputType,
|
|
3523
3521
|
onInput: (s) => t.updateModel(t.value[o], t.model[t.schema.model])
|
|
3524
|
-
}, null, 40,
|
|
3525
|
-
[
|
|
3522
|
+
}, null, 40, $m), [
|
|
3523
|
+
[Oa, t.value[o]]
|
|
3526
3524
|
]),
|
|
3527
|
-
t.schema.fields && t.schema.fields[0].schema.hint ? (c(), _("p",
|
|
3525
|
+
t.schema.fields && t.schema.fields[0].schema.hint ? (c(), _("p", Vm, L(t.schema.fields[0].schema.hint), 1)) : B("", !0),
|
|
3528
3526
|
(c(), U(me(t.autofillSlot), {
|
|
3529
3527
|
schema: t.schema.fields && t.schema.fields[0].schema || t.schema.values,
|
|
3530
3528
|
update: (s) => t.value[o] = s,
|
|
@@ -3534,18 +3532,18 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3534
3532
|
n[2] || (n[2] = m("hr", { class: "wide-divider" }, null, -1))
|
|
3535
3533
|
])
|
|
3536
3534
|
])
|
|
3537
|
-
], 8,
|
|
3535
|
+
], 8, Um))), 128)),
|
|
3538
3536
|
m("div", {
|
|
3539
3537
|
class: ee(["input-wrapper", { indent: t.hasObjectKeys }])
|
|
3540
3538
|
}, [
|
|
3541
|
-
m("div",
|
|
3539
|
+
m("div", jm, [
|
|
3542
3540
|
Ee(m("input", {
|
|
3543
3541
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => t.newKeyName = a),
|
|
3544
3542
|
class: "form-control",
|
|
3545
3543
|
"data-testid": "keyname-input",
|
|
3546
3544
|
placeholder: t.schema.placeholder,
|
|
3547
3545
|
type: "text"
|
|
3548
|
-
}, null, 8,
|
|
3546
|
+
}, null, 8, qm), [
|
|
3549
3547
|
[$t, t.newKeyName]
|
|
3550
3548
|
]),
|
|
3551
3549
|
O(i, {
|
|
@@ -3555,17 +3553,17 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3555
3553
|
onClick: t.addKey
|
|
3556
3554
|
}, {
|
|
3557
3555
|
default: M(() => [
|
|
3558
|
-
ce(" + Add " +
|
|
3556
|
+
ce(" + Add " + L(t.schema.buttonLabel || t.schema.label), 1)
|
|
3559
3557
|
]),
|
|
3560
3558
|
_: 1
|
|
3561
3559
|
}, 8, ["disabled", "onClick"])
|
|
3562
3560
|
]),
|
|
3563
|
-
t.schema.hintText ? (c(), _("p",
|
|
3561
|
+
t.schema.hintText ? (c(), _("p", Km, L(t.schema.hintText), 1)) : B("", !0)
|
|
3564
3562
|
], 2)
|
|
3565
|
-
], 10,
|
|
3563
|
+
], 10, Rm);
|
|
3566
3564
|
};
|
|
3567
3565
|
}
|
|
3568
|
-
}),
|
|
3566
|
+
}), Ao = /* @__PURE__ */ W(zm, [["__scopeId", "data-v-41b00aff"]]), xm = { class: "radio-selection-group" }, Hm = /* @__PURE__ */ he({
|
|
3569
3567
|
__name: "FieldRadio",
|
|
3570
3568
|
props: {
|
|
3571
3569
|
disabled: {
|
|
@@ -3622,7 +3620,7 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3622
3620
|
};
|
|
3623
3621
|
return (p, f) => {
|
|
3624
3622
|
const b = D("KRadio");
|
|
3625
|
-
return c(), _("div",
|
|
3623
|
+
return c(), _("div", xm, [
|
|
3626
3624
|
(c(!0), _(Y, null, oe(e.schema.values, (k, q) => (c(), U(b, {
|
|
3627
3625
|
id: e.schema.name + "-" + q,
|
|
3628
3626
|
key: k.value,
|
|
@@ -3638,7 +3636,7 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3638
3636
|
]);
|
|
3639
3637
|
};
|
|
3640
3638
|
}
|
|
3641
|
-
}),
|
|
3639
|
+
}), Io = /* @__PURE__ */ W(Hm, [["__scopeId", "data-v-42b9c6ac"]]), Co = /* @__PURE__ */ he({
|
|
3642
3640
|
__name: "FieldSelect",
|
|
3643
3641
|
props: {
|
|
3644
3642
|
disabled: {
|
|
@@ -3727,7 +3725,7 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3727
3725
|
return c(), U(C, {
|
|
3728
3726
|
id: I(d)(e.schema),
|
|
3729
3727
|
modelValue: I(p),
|
|
3730
|
-
"onUpdate:modelValue": A[0] || (A[0] = (
|
|
3728
|
+
"onUpdate:modelValue": A[0] || (A[0] = (N) => Et(p) ? p.value = N : null),
|
|
3731
3729
|
class: ee(e.schema.fieldClasses),
|
|
3732
3730
|
clearable: !e.schema.required,
|
|
3733
3731
|
disabled: e.disabled || void 0,
|
|
@@ -3741,25 +3739,25 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3741
3739
|
}, null, 8, ["id", "modelValue", "class", "clearable", "disabled", "items", "kpop-attributes", "label-attributes", "name", "placeholder", "required"]);
|
|
3742
3740
|
};
|
|
3743
3741
|
}
|
|
3744
|
-
}),
|
|
3742
|
+
}), Ym = {
|
|
3745
3743
|
name: "FieldArray",
|
|
3746
3744
|
components: {
|
|
3747
|
-
FieldArrayItem:
|
|
3748
|
-
FieldArrayMultiItem:
|
|
3749
|
-
FieldSelect:
|
|
3750
|
-
FieldMetric:
|
|
3751
|
-
FieldObject:
|
|
3752
|
-
FieldObjectAdvanced:
|
|
3753
|
-
FieldAutoSuggest:
|
|
3754
|
-
FieldAutoSuggestV2:
|
|
3755
|
-
FieldRadio:
|
|
3756
|
-
FieldArrayCardContainer:
|
|
3757
|
-
FieldInput:
|
|
3745
|
+
FieldArrayItem: vo,
|
|
3746
|
+
FieldArrayMultiItem: bo,
|
|
3747
|
+
FieldSelect: Co,
|
|
3748
|
+
FieldMetric: Eo,
|
|
3749
|
+
FieldObject: Mo,
|
|
3750
|
+
FieldObjectAdvanced: Ao,
|
|
3751
|
+
FieldAutoSuggest: To,
|
|
3752
|
+
FieldAutoSuggestV2: So,
|
|
3753
|
+
FieldRadio: Io,
|
|
3754
|
+
FieldArrayCardContainer: yo,
|
|
3755
|
+
FieldInput: wo
|
|
3758
3756
|
},
|
|
3759
3757
|
mixins: [$e],
|
|
3760
3758
|
inject: {
|
|
3761
3759
|
autofillSlot: {
|
|
3762
|
-
from:
|
|
3760
|
+
from: Le,
|
|
3763
3761
|
default: void 0
|
|
3764
3762
|
}
|
|
3765
3763
|
},
|
|
@@ -3807,8 +3805,8 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3807
3805
|
((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);
|
|
3808
3806
|
}
|
|
3809
3807
|
}
|
|
3810
|
-
},
|
|
3811
|
-
function
|
|
3808
|
+
}, Gm = ["id"], Wm = { key: 1 }, Zm = ["onUpdate:modelValue", "aria-labelledby", "type"], Xm = ["onUpdate:modelValue", "aria-labelledby"];
|
|
3809
|
+
function Jm(e, t, n, i, a, o) {
|
|
3812
3810
|
const s = D("KTextArea"), r = D("KInput"), d = D("KButton");
|
|
3813
3811
|
return e.schema ? (c(), _("div", {
|
|
3814
3812
|
key: 0,
|
|
@@ -3835,7 +3833,7 @@ function Zm(e, t, n, i, a, o) {
|
|
|
3835
3833
|
}, null, 40, ["form-options", "model", "schema", "onModelUpdated"]))
|
|
3836
3834
|
]),
|
|
3837
3835
|
_: 2
|
|
3838
|
-
}, 1064, ["index", "model", "schema", "onRemoveItem"])) : e.schema.items ? (c(), _("span",
|
|
3836
|
+
}, 1064, ["index", "model", "schema", "onRemoveItem"])) : e.schema.items ? (c(), _("span", Wm, [
|
|
3839
3837
|
(c(), U(me(o.getFieldComponent(e.schema.items)), {
|
|
3840
3838
|
"form-options": e.formOptions,
|
|
3841
3839
|
model: u,
|
|
@@ -3893,8 +3891,8 @@ function Zm(e, t, n, i, a, o) {
|
|
|
3893
3891
|
"aria-labelledby": e.getLabelId(e.schema)
|
|
3894
3892
|
}, { ref_for: !0 }, e.schema.inputAttributes, {
|
|
3895
3893
|
type: ((f = e.schema.inputAttributes) == null ? void 0 : f.type) || "text"
|
|
3896
|
-
}), null, 16,
|
|
3897
|
-
[
|
|
3894
|
+
}), null, 16, Zm)), [
|
|
3895
|
+
[Oa, e.value[p]]
|
|
3898
3896
|
])
|
|
3899
3897
|
];
|
|
3900
3898
|
}),
|
|
@@ -3904,7 +3902,7 @@ function Zm(e, t, n, i, a, o) {
|
|
|
3904
3902
|
"onUpdate:modelValue": (f) => e.value[p] = f,
|
|
3905
3903
|
"aria-labelledby": e.getLabelId(e.schema),
|
|
3906
3904
|
type: "text"
|
|
3907
|
-
}), null, 16,
|
|
3905
|
+
}), null, 16, Xm), [
|
|
3908
3906
|
[$t, e.value[p]]
|
|
3909
3907
|
]),
|
|
3910
3908
|
(c(), U(me(o.autofillSlot), {
|
|
@@ -3922,13 +3920,13 @@ function Zm(e, t, n, i, a, o) {
|
|
|
3922
3920
|
onClick: o.newElement
|
|
3923
3921
|
}, {
|
|
3924
3922
|
default: M(() => [
|
|
3925
|
-
ce(
|
|
3923
|
+
ce(L(e.schema.newElementButtonLabel || n.newElementButtonLabel), 1)
|
|
3926
3924
|
]),
|
|
3927
3925
|
_: 1
|
|
3928
3926
|
}, 8, ["class", "data-testid", "onClick"])
|
|
3929
|
-
], 10,
|
|
3927
|
+
], 10, Gm)) : B("", !0);
|
|
3930
3928
|
}
|
|
3931
|
-
const
|
|
3929
|
+
const Qm = /* @__PURE__ */ W(Ym, [["render", Jm], ["__scopeId", "data-v-ae802bb2"]]), ef = { class: "form-field-wrapper field-checkbox" }, tf = /* @__PURE__ */ he({
|
|
3932
3930
|
__name: "FieldCheckbox",
|
|
3933
3931
|
props: {
|
|
3934
3932
|
disabled: {
|
|
@@ -3980,7 +3978,7 @@ const Xm = /* @__PURE__ */ W(xm, [["render", Zm], ["__scopeId", "data-v-ae802bb2
|
|
|
3980
3978
|
clearValidationErrors: d
|
|
3981
3979
|
}), (u, p) => {
|
|
3982
3980
|
const f = D("KCheckbox");
|
|
3983
|
-
return c(), _("div",
|
|
3981
|
+
return c(), _("div", ef, [
|
|
3984
3982
|
O(f, et(u.$attrs, {
|
|
3985
3983
|
id: I(s)(e.schema),
|
|
3986
3984
|
modelValue: I(r),
|
|
@@ -3997,10 +3995,10 @@ const Xm = /* @__PURE__ */ W(xm, [["render", Zm], ["__scopeId", "data-v-ae802bb2
|
|
|
3997
3995
|
]);
|
|
3998
3996
|
};
|
|
3999
3997
|
}
|
|
4000
|
-
}),
|
|
4001
|
-
function
|
|
4002
|
-
const s =
|
|
4003
|
-
return Ee((c(), _("div",
|
|
3998
|
+
}), nf = /* @__PURE__ */ W(tf, [["__scopeId", "data-v-6b4ee1cd"]]), af = { class: "wrapper" }, of = ["disabled"], rf = ["id", "checked", "disabled", "onChange", "name"], sf = ["disabled"], lf = { class: "info" }, df = { class: "dropList" }, uf = ["id", "checked", "disabled", "onChange", "name"];
|
|
3999
|
+
function cf(e, t, n, i, a, o) {
|
|
4000
|
+
const s = Ca("attributes");
|
|
4001
|
+
return Ee((c(), _("div", af, [
|
|
4004
4002
|
e.schema.listBox ? (c(), _("div", {
|
|
4005
4003
|
key: 0,
|
|
4006
4004
|
class: "listbox form-control",
|
|
@@ -4017,13 +4015,13 @@ function df(e, t, n, i, a, o) {
|
|
|
4017
4015
|
disabled: e.disabled || null,
|
|
4018
4016
|
onChange: (d) => o.onChanged(d, r),
|
|
4019
4017
|
name: o.getInputName(r)
|
|
4020
|
-
}, null, 40,
|
|
4018
|
+
}, null, 40, rf), [
|
|
4021
4019
|
[s, "input"]
|
|
4022
4020
|
]),
|
|
4023
|
-
ce(
|
|
4021
|
+
ce(L(o.getItemName(r)), 1)
|
|
4024
4022
|
])
|
|
4025
4023
|
], 2))), 256))
|
|
4026
|
-
], 8,
|
|
4024
|
+
], 8, of)) : B("", !0),
|
|
4027
4025
|
e.schema.listBox ? B("", !0) : (c(), _("div", {
|
|
4028
4026
|
key: 1,
|
|
4029
4027
|
class: "combobox form-control",
|
|
@@ -4033,10 +4031,10 @@ function df(e, t, n, i, a, o) {
|
|
|
4033
4031
|
class: ee(["mainRow", { expanded: a.comboExpanded }]),
|
|
4034
4032
|
onClick: t[0] || (t[0] = (...r) => o.onExpandCombo && o.onExpandCombo(...r))
|
|
4035
4033
|
}, [
|
|
4036
|
-
m("div",
|
|
4034
|
+
m("div", lf, L(o.selectedCount) + " selected", 1),
|
|
4037
4035
|
t[1] || (t[1] = m("div", { class: "arrow" }, null, -1))
|
|
4038
4036
|
], 2),
|
|
4039
|
-
m("div",
|
|
4037
|
+
m("div", df, [
|
|
4040
4038
|
a.comboExpanded ? (c(!0), _(Y, { key: 0 }, oe(o.items, (r) => (c(), _("div", {
|
|
4041
4039
|
class: ee(["list-row", { "is-checked": o.isItemChecked(r) }])
|
|
4042
4040
|
}, [
|
|
@@ -4048,19 +4046,19 @@ function df(e, t, n, i, a, o) {
|
|
|
4048
4046
|
disabled: e.disabled || null,
|
|
4049
4047
|
onChange: (d) => o.onChanged(d, r),
|
|
4050
4048
|
name: o.getInputName(r)
|
|
4051
|
-
}, null, 40,
|
|
4049
|
+
}, null, 40, uf), [
|
|
4052
4050
|
[s, "input"]
|
|
4053
4051
|
]),
|
|
4054
|
-
ce(
|
|
4052
|
+
ce(L(o.getItemName(r)), 1)
|
|
4055
4053
|
])
|
|
4056
4054
|
], 2))), 256)) : B("", !0)
|
|
4057
4055
|
])
|
|
4058
|
-
], 8,
|
|
4056
|
+
], 8, sf))
|
|
4059
4057
|
])), [
|
|
4060
4058
|
[s, "wrapper"]
|
|
4061
4059
|
]);
|
|
4062
4060
|
}
|
|
4063
|
-
const
|
|
4061
|
+
const mf = {
|
|
4064
4062
|
mixins: [$e],
|
|
4065
4063
|
data() {
|
|
4066
4064
|
return {
|
|
@@ -4078,7 +4076,7 @@ const uf = {
|
|
|
4078
4076
|
},
|
|
4079
4077
|
methods: {
|
|
4080
4078
|
getInputName(e) {
|
|
4081
|
-
return this.schema && this.schema.inputName && this.schema.inputName.length > 0 ?
|
|
4079
|
+
return this.schema && this.schema.inputName && this.schema.inputName.length > 0 ? ua(this.schema.inputName + "_" + this.getItemValue(e)) : ua(this.getItemValue(e));
|
|
4082
4080
|
},
|
|
4083
4081
|
getItemValue(e) {
|
|
4084
4082
|
if (Fe(e)) {
|
|
@@ -4105,10 +4103,10 @@ const uf = {
|
|
|
4105
4103
|
},
|
|
4106
4104
|
onChanged(e, t) {
|
|
4107
4105
|
if ((de(this.value) || !Array.isArray(this.value)) && (this.value = []), e.target.checked) {
|
|
4108
|
-
const n =
|
|
4106
|
+
const n = Sa(this.value);
|
|
4109
4107
|
n.push(this.getItemValue(t)), this.value = n;
|
|
4110
4108
|
} else {
|
|
4111
|
-
const n =
|
|
4109
|
+
const n = Sa(this.value);
|
|
4112
4110
|
n.splice(this.value.indexOf(this.getItemValue(t)), 1), this.value = n;
|
|
4113
4111
|
}
|
|
4114
4112
|
},
|
|
@@ -4116,13 +4114,13 @@ const uf = {
|
|
|
4116
4114
|
this.comboExpanded = !this.comboExpanded;
|
|
4117
4115
|
}
|
|
4118
4116
|
}
|
|
4119
|
-
},
|
|
4117
|
+
}, ff = /* @__PURE__ */ W(mf, [["render", cf]]), hf = {
|
|
4120
4118
|
name: "FieldKeyValuePairs",
|
|
4121
4119
|
components: { TrashIcon: xt },
|
|
4122
4120
|
mixins: [$e],
|
|
4123
4121
|
inject: {
|
|
4124
4122
|
autofillSlot: {
|
|
4125
|
-
from:
|
|
4123
|
+
from: Le,
|
|
4126
4124
|
default: void 0
|
|
4127
4125
|
}
|
|
4128
4126
|
},
|
|
@@ -4170,15 +4168,15 @@ const uf = {
|
|
|
4170
4168
|
this.pairs.splice(e, 1);
|
|
4171
4169
|
}
|
|
4172
4170
|
}
|
|
4173
|
-
},
|
|
4174
|
-
function
|
|
4171
|
+
}, pf = { class: "key-value-pairs-editor" }, gf = { class: "pair-item-cell" }, yf = ["data-testid", "placeholder", "value", "onInput"], vf = { class: "pair-item-cell" }, bf = ["data-testid", "placeholder", "value", "onInput"];
|
|
4172
|
+
function _f(e, t, n, i, a, o) {
|
|
4175
4173
|
const s = D("TrashIcon"), r = D("KButton");
|
|
4176
|
-
return c(), _("div",
|
|
4174
|
+
return c(), _("div", pf, [
|
|
4177
4175
|
(c(!0), _(Y, null, oe(a.pairs, (d, u) => (c(), _("div", {
|
|
4178
4176
|
key: u,
|
|
4179
4177
|
class: "pair-item"
|
|
4180
4178
|
}, [
|
|
4181
|
-
m("div",
|
|
4179
|
+
m("div", gf, [
|
|
4182
4180
|
m("input", {
|
|
4183
4181
|
class: "form-control",
|
|
4184
4182
|
"data-testid": `${e.getFieldID(e.schema)}-pair-key-${u}`,
|
|
@@ -4188,14 +4186,14 @@ function vf(e, t, n, i, a, o) {
|
|
|
4188
4186
|
onInput: (p) => {
|
|
4189
4187
|
o.onInput(p, u, "key");
|
|
4190
4188
|
}
|
|
4191
|
-
}, null, 40,
|
|
4189
|
+
}, null, 40, yf),
|
|
4192
4190
|
(c(), U(me(o.autofillSlot), {
|
|
4193
4191
|
schema: e.schema,
|
|
4194
4192
|
update: (p) => o.onInput({ target: { value: p } }, u, "key"),
|
|
4195
4193
|
value: d.key
|
|
4196
4194
|
}, null, 8, ["schema", "update", "value"]))
|
|
4197
4195
|
]),
|
|
4198
|
-
m("div",
|
|
4196
|
+
m("div", vf, [
|
|
4199
4197
|
m("input", {
|
|
4200
4198
|
class: "form-control",
|
|
4201
4199
|
"data-testid": `${e.getFieldID(e.schema)}-pair-value-${u}`,
|
|
@@ -4205,7 +4203,7 @@ function vf(e, t, n, i, a, o) {
|
|
|
4205
4203
|
onInput: (p) => {
|
|
4206
4204
|
o.onInput(p, u, "value");
|
|
4207
4205
|
}
|
|
4208
|
-
}, null, 40,
|
|
4206
|
+
}, null, 40, bf),
|
|
4209
4207
|
(c(), U(me(o.autofillSlot), {
|
|
4210
4208
|
schema: e.schema,
|
|
4211
4209
|
update: (p) => o.onInput({ target: { value: p } }, u, "value"),
|
|
@@ -4233,13 +4231,13 @@ function vf(e, t, n, i, a, o) {
|
|
|
4233
4231
|
onClick: o.addPair
|
|
4234
4232
|
}, {
|
|
4235
4233
|
default: M(() => [
|
|
4236
|
-
ce(
|
|
4234
|
+
ce(L(e.schema.newElementButtonLabel ?? "+ Add Pair"), 1)
|
|
4237
4235
|
]),
|
|
4238
4236
|
_: 1
|
|
4239
4237
|
}, 8, ["class", "data-testid", "onClick"])
|
|
4240
4238
|
]);
|
|
4241
4239
|
}
|
|
4242
|
-
const
|
|
4240
|
+
const Tf = /* @__PURE__ */ W(hf, [["render", _f], ["__scopeId", "data-v-9a9650ac"]]), Sf = /* @__PURE__ */ he({
|
|
4243
4241
|
__name: "FieldLabel",
|
|
4244
4242
|
props: {
|
|
4245
4243
|
disabled: {
|
|
@@ -4280,14 +4278,14 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4280
4278
|
id: I(i)(e.schema)
|
|
4281
4279
|
}, {
|
|
4282
4280
|
default: M(() => [
|
|
4283
|
-
ce(
|
|
4281
|
+
ce(L(I(a)), 1)
|
|
4284
4282
|
]),
|
|
4285
4283
|
_: 1
|
|
4286
4284
|
}, 8, ["id"])
|
|
4287
4285
|
], 2);
|
|
4288
4286
|
};
|
|
4289
4287
|
}
|
|
4290
|
-
}),
|
|
4288
|
+
}), wf = /* @__PURE__ */ W(Sf, [["__scopeId", "data-v-d046a15a"]]), Ef = /* @__PURE__ */ he({
|
|
4291
4289
|
__name: "FieldMultiselect",
|
|
4292
4290
|
props: {
|
|
4293
4291
|
disabled: {
|
|
@@ -4327,7 +4325,7 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4327
4325
|
},
|
|
4328
4326
|
emits: ["modelUpdated"],
|
|
4329
4327
|
setup(e, { expose: t, emit: n }) {
|
|
4330
|
-
const i = e, a = n, o =
|
|
4328
|
+
const i = e, a = n, o = Ko(i, "model"), { getLabelId: s, getFieldID: r, clearValidationErrors: d, value: u } = qe.useAbstractFields({
|
|
4331
4329
|
model: o,
|
|
4332
4330
|
schema: i.schema,
|
|
4333
4331
|
formOptions: i.formOptions,
|
|
@@ -4362,10 +4360,10 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4362
4360
|
}, null, 8, ["id", "modelValue", "aria-labelledby", "class", "disabled", "items", "kpop-attributes", "label-attributes", "name", "placeholder", "required"]);
|
|
4363
4361
|
};
|
|
4364
4362
|
}
|
|
4365
|
-
}),
|
|
4363
|
+
}), Mf = { class: "selection-group" }, Af = { class: "form-group horizontal-radios" }, If = { class: "radio-group" }, Cf = ["disabled", "value"], Of = { class: "control-help" }, Ff = {
|
|
4366
4364
|
key: 0,
|
|
4367
4365
|
class: "option-field"
|
|
4368
|
-
},
|
|
4366
|
+
}, kf = { class: "option-field-container" }, Rf = {
|
|
4369
4367
|
mixins: [$e],
|
|
4370
4368
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
4371
4369
|
emits: ["model-updated"],
|
|
@@ -4410,18 +4408,18 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4410
4408
|
this.$emit("model-updated", e, t);
|
|
4411
4409
|
}
|
|
4412
4410
|
}
|
|
4413
|
-
},
|
|
4411
|
+
}, Uf = /* @__PURE__ */ Object.assign(Rf, {
|
|
4414
4412
|
__name: "FieldSelectionGroup",
|
|
4415
4413
|
setup(e) {
|
|
4416
4414
|
const { t } = ke("en-us", Re);
|
|
4417
|
-
return (n, i) => (c(), _("div",
|
|
4415
|
+
return (n, i) => (c(), _("div", Mf, [
|
|
4418
4416
|
(c(), U(me(n.$props.disabled ? "k-tooltip" : "div"), {
|
|
4419
4417
|
"max-width": "300",
|
|
4420
4418
|
text: I(t)("general.disable_global_radio", { scope: n.scope })
|
|
4421
4419
|
}, {
|
|
4422
4420
|
default: M(() => [
|
|
4423
|
-
m("div",
|
|
4424
|
-
m("div",
|
|
4421
|
+
m("div", Af, [
|
|
4422
|
+
m("div", If, [
|
|
4425
4423
|
(c(!0), _(Y, null, oe(n.schema.fields, (a, o) => (c(), _("div", {
|
|
4426
4424
|
key: o,
|
|
4427
4425
|
class: ee(["option-group", { "radio-disabled": n.$props.disabled }])
|
|
@@ -4435,11 +4433,11 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4435
4433
|
disabled: n.$props.disabled,
|
|
4436
4434
|
type: "radio",
|
|
4437
4435
|
value: o
|
|
4438
|
-
}, null, 8,
|
|
4439
|
-
[
|
|
4436
|
+
}, null, 8, Cf), [
|
|
4437
|
+
[Bo, n.checkedGroup]
|
|
4440
4438
|
]),
|
|
4441
|
-
ce(" " +
|
|
4442
|
-
m("div",
|
|
4439
|
+
ce(" " + L(a.label) + " ", 1),
|
|
4440
|
+
m("div", Of, L(a.description), 1)
|
|
4443
4441
|
], 2)
|
|
4444
4442
|
], 2))), 128))
|
|
4445
4443
|
])
|
|
@@ -4451,8 +4449,8 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4451
4449
|
key: o,
|
|
4452
4450
|
class: "option-group"
|
|
4453
4451
|
}, [
|
|
4454
|
-
n.renderedTrack[o] ? Ee((c(), _("div",
|
|
4455
|
-
m("div",
|
|
4452
|
+
n.renderedTrack[o] ? Ee((c(), _("div", Ff, [
|
|
4453
|
+
m("div", kf, [
|
|
4456
4454
|
O(ue, {
|
|
4457
4455
|
model: n.model,
|
|
4458
4456
|
options: { helpAsHtml: !0 },
|
|
@@ -4461,12 +4459,12 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4461
4459
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
4462
4460
|
])
|
|
4463
4461
|
], 512)), [
|
|
4464
|
-
[
|
|
4462
|
+
[zo, a.fields && n.checkedGroup === o]
|
|
4465
4463
|
]) : B("", !0)
|
|
4466
4464
|
]))), 128))
|
|
4467
4465
|
]));
|
|
4468
4466
|
}
|
|
4469
|
-
}),
|
|
4467
|
+
}), Lf = /* @__PURE__ */ W(Uf, [["__scopeId", "data-v-65b91ac7"]]), Nf = { class: "form-field-wrapper" }, Pf = /* @__PURE__ */ he({
|
|
4470
4468
|
__name: "FieldSwitch",
|
|
4471
4469
|
props: {
|
|
4472
4470
|
disabled: {
|
|
@@ -4520,7 +4518,7 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4520
4518
|
clearValidationErrors: f
|
|
4521
4519
|
}), (b, k) => {
|
|
4522
4520
|
const q = D("KInputSwitch");
|
|
4523
|
-
return c(), _("div",
|
|
4521
|
+
return c(), _("div", Nf, [
|
|
4524
4522
|
O(q, {
|
|
4525
4523
|
id: I(u)(e.schema),
|
|
4526
4524
|
modelValue: I(p),
|
|
@@ -4536,7 +4534,7 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4536
4534
|
]);
|
|
4537
4535
|
};
|
|
4538
4536
|
}
|
|
4539
|
-
}),
|
|
4537
|
+
}), Df = { class: "field-textarea" }, $f = /* @__PURE__ */ he({
|
|
4540
4538
|
__name: "FieldTextArea",
|
|
4541
4539
|
props: {
|
|
4542
4540
|
disabled: {
|
|
@@ -4576,7 +4574,7 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4576
4574
|
},
|
|
4577
4575
|
emits: ["modelUpdated"],
|
|
4578
4576
|
setup(e, { expose: t, emit: n }) {
|
|
4579
|
-
const i = e, a = n, o = ut(i), s = an(
|
|
4577
|
+
const i = e, a = n, o = ut(i), s = an(Le, void 0), { updateModelValue: r, getFieldID: d, clearValidationErrors: u, value: p } = qe.useAbstractFields({
|
|
4580
4578
|
model: o.model,
|
|
4581
4579
|
schema: i.schema,
|
|
4582
4580
|
formOptions: i.formOptions,
|
|
@@ -4592,7 +4590,7 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4592
4590
|
};
|
|
4593
4591
|
return (b, k) => {
|
|
4594
4592
|
const q = D("KTextArea");
|
|
4595
|
-
return c(), _("div",
|
|
4593
|
+
return c(), _("div", Df, [
|
|
4596
4594
|
O(q, et(b.$attrs, {
|
|
4597
4595
|
id: I(d)(e.schema),
|
|
4598
4596
|
modelValue: I(p),
|
|
@@ -4618,33 +4616,33 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4618
4616
|
]);
|
|
4619
4617
|
};
|
|
4620
4618
|
}
|
|
4621
|
-
}),
|
|
4619
|
+
}), Vf = /* @__PURE__ */ W($f, [["__scopeId", "data-v-0e146fba"]]), jf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4622
4620
|
__proto__: null,
|
|
4623
|
-
FieldAdvanced:
|
|
4624
|
-
FieldArray:
|
|
4625
|
-
FieldArrayCardContainer:
|
|
4626
|
-
FieldArrayItem:
|
|
4627
|
-
FieldArrayMultiItem:
|
|
4628
|
-
FieldAutoSuggest:
|
|
4629
|
-
FieldAutoSuggestV2:
|
|
4630
|
-
FieldCheckbox:
|
|
4631
|
-
FieldChecklist:
|
|
4632
|
-
FieldInput:
|
|
4633
|
-
FieldKeyValuePairs:
|
|
4634
|
-
FieldLabel:
|
|
4635
|
-
FieldMetric:
|
|
4636
|
-
FieldMultiselect:
|
|
4637
|
-
FieldObject:
|
|
4638
|
-
FieldObjectAdvanced:
|
|
4639
|
-
FieldRadio:
|
|
4640
|
-
FieldSelect:
|
|
4641
|
-
FieldSelectionGroup:
|
|
4642
|
-
FieldSwitch:
|
|
4643
|
-
FieldTextArea:
|
|
4644
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4621
|
+
FieldAdvanced: Fc,
|
|
4622
|
+
FieldArray: Qm,
|
|
4623
|
+
FieldArrayCardContainer: yo,
|
|
4624
|
+
FieldArrayItem: vo,
|
|
4625
|
+
FieldArrayMultiItem: bo,
|
|
4626
|
+
FieldAutoSuggest: To,
|
|
4627
|
+
FieldAutoSuggestV2: So,
|
|
4628
|
+
FieldCheckbox: nf,
|
|
4629
|
+
FieldChecklist: ff,
|
|
4630
|
+
FieldInput: wo,
|
|
4631
|
+
FieldKeyValuePairs: Tf,
|
|
4632
|
+
FieldLabel: wf,
|
|
4633
|
+
FieldMetric: Eo,
|
|
4634
|
+
FieldMultiselect: Ef,
|
|
4635
|
+
FieldObject: Mo,
|
|
4636
|
+
FieldObjectAdvanced: Ao,
|
|
4637
|
+
FieldRadio: Io,
|
|
4638
|
+
FieldSelect: Co,
|
|
4639
|
+
FieldSelectionGroup: Lf,
|
|
4640
|
+
FieldSwitch: Pf,
|
|
4641
|
+
FieldTextArea: Vf
|
|
4642
|
+
}, Symbol.toStringTag, { value: "Module" })), qf = {
|
|
4645
4643
|
name: "FormGroup",
|
|
4646
|
-
components:
|
|
4647
|
-
mixins: [
|
|
4644
|
+
components: jf,
|
|
4645
|
+
mixins: [oo],
|
|
4648
4646
|
inject: {
|
|
4649
4647
|
"vfg-array-item-index": {
|
|
4650
4648
|
default: void 0
|
|
@@ -4702,7 +4700,7 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4702
4700
|
},
|
|
4703
4701
|
methods: {
|
|
4704
4702
|
sanitize(e) {
|
|
4705
|
-
return
|
|
4703
|
+
return Ol.sanitize(e);
|
|
4706
4704
|
},
|
|
4707
4705
|
// Should field type have a label?
|
|
4708
4706
|
fieldTypeHasLabel(e) {
|
|
@@ -4719,7 +4717,7 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4719
4717
|
},
|
|
4720
4718
|
getFieldID(e) {
|
|
4721
4719
|
const t = G(this.options, "fieldIdPrefix", "");
|
|
4722
|
-
return
|
|
4720
|
+
return si(e, t);
|
|
4723
4721
|
},
|
|
4724
4722
|
getTooltipId(e) {
|
|
4725
4723
|
return `${this.getFieldID(e)}-tooltip`;
|
|
@@ -4768,20 +4766,20 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4768
4766
|
return e ? e.replace(/^[cC]onfig\./, "") : "";
|
|
4769
4767
|
}
|
|
4770
4768
|
}
|
|
4771
|
-
},
|
|
4769
|
+
}, Kf = ["innerHTML"], Bf = { class: "icon-wrapper" }, zf = {
|
|
4772
4770
|
key: 0,
|
|
4773
4771
|
class: "link-wrapper"
|
|
4774
|
-
},
|
|
4772
|
+
}, xf = { class: "field-wrap" }, Hf = {
|
|
4775
4773
|
key: 0,
|
|
4776
4774
|
class: "buttons"
|
|
4777
|
-
},
|
|
4775
|
+
}, Yf = ["type", "onClick", "textContent"], Gf = {
|
|
4778
4776
|
key: 1,
|
|
4779
4777
|
class: "hint"
|
|
4780
|
-
},
|
|
4778
|
+
}, Wf = {
|
|
4781
4779
|
key: 2,
|
|
4782
4780
|
class: "errors help-block"
|
|
4783
4781
|
};
|
|
4784
|
-
function
|
|
4782
|
+
function Zf(e, t, n, i, a, o) {
|
|
4785
4783
|
const s = D("KExternalLink"), r = D("KLabel");
|
|
4786
4784
|
return c(), _("div", {
|
|
4787
4785
|
class: ee(["form-group", e.getFieldRowClasses(n.field)])
|
|
@@ -4799,10 +4797,10 @@ function Gf(e, t, n, i, a, o) {
|
|
|
4799
4797
|
} : void 0
|
|
4800
4798
|
}, cn({
|
|
4801
4799
|
default: M(() => [
|
|
4802
|
-
m("div",
|
|
4803
|
-
m("span", null,
|
|
4800
|
+
m("div", Bf, [
|
|
4801
|
+
m("span", null, L(o.formattedLabel(n.field.label)), 1)
|
|
4804
4802
|
]),
|
|
4805
|
-
n.field.link ? (c(), _("div",
|
|
4803
|
+
n.field.link ? (c(), _("div", zf, [
|
|
4806
4804
|
O(s, {
|
|
4807
4805
|
href: n.field.link
|
|
4808
4806
|
}, {
|
|
@@ -4821,12 +4819,12 @@ function Gf(e, t, n, i, a, o) {
|
|
|
4821
4819
|
fn: M(() => [
|
|
4822
4820
|
m("div", {
|
|
4823
4821
|
innerHTML: o.sanitize(n.field.help)
|
|
4824
|
-
}, null, 8,
|
|
4822
|
+
}, null, 8, Kf)
|
|
4825
4823
|
]),
|
|
4826
4824
|
key: "0"
|
|
4827
4825
|
} : void 0
|
|
4828
4826
|
]), 1032, ["aria-describedby", "class", "for", "info", "tooltip-attributes"])) : B("", !0),
|
|
4829
|
-
m("div",
|
|
4827
|
+
m("div", xf, [
|
|
4830
4828
|
(c(), U(me(o.getFieldComponent(n.field)), et(e.$attrs, {
|
|
4831
4829
|
ref: "child",
|
|
4832
4830
|
disabled: e.fieldDisabled(n.field) || null,
|
|
@@ -4839,31 +4837,31 @@ function Gf(e, t, n, i, a, o) {
|
|
|
4839
4837
|
onRefreshModel: o.onRefreshModel,
|
|
4840
4838
|
onValidated: o.onFieldValidated
|
|
4841
4839
|
}), null, 16, ["disabled", "form-options", "hint", "model", "schema", "vfg", "onModelUpdated", "onRefreshModel", "onValidated"])),
|
|
4842
|
-
o.buttonVisibility(n.field) ? (c(), _("div",
|
|
4840
|
+
o.buttonVisibility(n.field) ? (c(), _("div", Hf, [
|
|
4843
4841
|
(c(!0), _(Y, null, oe(n.field.buttons, (d, u) => (c(), _("button", {
|
|
4844
4842
|
key: u,
|
|
4845
4843
|
class: ee(d.classes),
|
|
4846
4844
|
type: o.getButtonType(d),
|
|
4847
4845
|
onClick: (p) => o.buttonClickHandler(d, n.field, p),
|
|
4848
|
-
textContent:
|
|
4849
|
-
}, null, 10,
|
|
4846
|
+
textContent: L(d.label)
|
|
4847
|
+
}, null, 10, Yf))), 128))
|
|
4850
4848
|
])) : B("", !0)
|
|
4851
4849
|
]),
|
|
4852
|
-
n.field.hint && n.field.type !== "input" ? (c(), _("div",
|
|
4853
|
-
o.fieldErrors(n.field).length > 0 ? (c(), _("div",
|
|
4854
|
-
(c(!0), _(Y, null, oe(o.fieldErrors(n.field), (d, u) => (c(), _("span", { key: u },
|
|
4850
|
+
n.field.hint && n.field.type !== "input" ? (c(), _("div", Gf, L(o.fieldHint(n.field)), 1)) : B("", !0),
|
|
4851
|
+
o.fieldErrors(n.field).length > 0 ? (c(), _("div", Wf, [
|
|
4852
|
+
(c(!0), _(Y, null, oe(o.fieldErrors(n.field), (d, u) => (c(), _("span", { key: u }, L(d), 1))), 128))
|
|
4855
4853
|
])) : B("", !0)
|
|
4856
4854
|
], 2);
|
|
4857
4855
|
}
|
|
4858
|
-
const
|
|
4856
|
+
const Oo = /* @__PURE__ */ W(qf, [["render", Zf], ["__scopeId", "data-v-fe02085f"]]);
|
|
4859
4857
|
var un = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(un || {});
|
|
4860
|
-
const
|
|
4858
|
+
const Xf = (e) => {
|
|
4861
4859
|
var t, n;
|
|
4862
4860
|
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";
|
|
4863
|
-
},
|
|
4861
|
+
}, Jf = {
|
|
4864
4862
|
[un.REDIS_CE]: "open source",
|
|
4865
4863
|
[un.REDIS_EE]: "enterprise"
|
|
4866
|
-
},
|
|
4864
|
+
}, Ea = (e) => Jf[e] ?? "", Qf = { class: "partial-config-card" }, eh = { class: "config-card-row-label" }, th = { class: "label-text" }, nh = ["data-testid"], ih = ["data-testid"], ah = { key: 1 }, oh = ["data-testid"], rh = ["data-testid"], sh = /* @__PURE__ */ he({
|
|
4867
4865
|
__name: "RedisConfigCard",
|
|
4868
4866
|
props: {
|
|
4869
4867
|
configFields: {
|
|
@@ -4898,7 +4896,7 @@ const Wf = (e) => {
|
|
|
4898
4896
|
formatter: n,
|
|
4899
4897
|
order: 3
|
|
4900
4898
|
}
|
|
4901
|
-
}, a = e, o = (f) => f != null, s = (f, b) => o(b) && ["password", "sentinel_password"].includes(f) ? "password" : "text", { convertKeyToTitle: r } =
|
|
4899
|
+
}, a = e, o = (f) => f != null, s = (f, b) => o(b) && ["password", "sentinel_password"].includes(f) ? "password" : "text", { convertKeyToTitle: r } = Zo(), d = z(() => Object.entries(a.configFields).map(([f, b]) => {
|
|
4902
4900
|
var k, q, h, A;
|
|
4903
4901
|
return {
|
|
4904
4902
|
key: f,
|
|
@@ -4911,19 +4909,19 @@ const Wf = (e) => {
|
|
|
4911
4909
|
}).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));
|
|
4912
4910
|
return (f, b) => {
|
|
4913
4911
|
const k = D("KCopy");
|
|
4914
|
-
return c(), _("div",
|
|
4912
|
+
return c(), _("div", Qf, [
|
|
4915
4913
|
(c(!0), _(Y, null, oe(p.value, ({ key: q, label: h, value: A, type: C }) => (c(), _("div", {
|
|
4916
4914
|
key: q,
|
|
4917
4915
|
class: "partial-config-card-row"
|
|
4918
4916
|
}, [
|
|
4919
|
-
m("div",
|
|
4920
|
-
m("div",
|
|
4917
|
+
m("div", eh, [
|
|
4918
|
+
m("div", th, L(h), 1)
|
|
4921
4919
|
]),
|
|
4922
4920
|
m("div", {
|
|
4923
4921
|
class: "config-card-row-value",
|
|
4924
4922
|
"data-testid": `${q}-property-value`
|
|
4925
4923
|
}, [
|
|
4926
|
-
o(A) ? (c(), _("div",
|
|
4924
|
+
o(A) ? (c(), _("div", ah, [
|
|
4927
4925
|
C === "password" ? (c(), _("div", {
|
|
4928
4926
|
key: 0,
|
|
4929
4927
|
"data-testid": `${q}-copy-password`
|
|
@@ -4932,33 +4930,33 @@ const Wf = (e) => {
|
|
|
4932
4930
|
format: "redacted",
|
|
4933
4931
|
text: String(A)
|
|
4934
4932
|
}, null, 8, ["text"])
|
|
4935
|
-
], 8,
|
|
4933
|
+
], 8, oh)) : (c(), _("div", {
|
|
4936
4934
|
key: 1,
|
|
4937
4935
|
"data-testid": `${q}-plain-text`
|
|
4938
|
-
},
|
|
4936
|
+
}, L(A), 9, rh))
|
|
4939
4937
|
])) : (c(), _("div", {
|
|
4940
4938
|
key: 0,
|
|
4941
4939
|
"data-testid": `${q}-no-value`
|
|
4942
|
-
}, " – ", 8,
|
|
4943
|
-
], 8,
|
|
4940
|
+
}, " – ", 8, ih))
|
|
4941
|
+
], 8, nh)
|
|
4944
4942
|
]))), 128))
|
|
4945
4943
|
]);
|
|
4946
4944
|
};
|
|
4947
4945
|
}
|
|
4948
|
-
}),
|
|
4946
|
+
}), lh = /* @__PURE__ */ W(sh, [["__scopeId", "data-v-40b3d7b5"]]), dh = {
|
|
4949
4947
|
class: "redis-config-select",
|
|
4950
4948
|
"data-testid": "redis-config-select"
|
|
4951
|
-
},
|
|
4949
|
+
}, uh = { class: "selected-redis-config" }, ch = ["data-testid"], mh = {
|
|
4952
4950
|
class: "select-item-name",
|
|
4953
4951
|
"data-testid": "selected-redis-config"
|
|
4954
|
-
},
|
|
4952
|
+
}, fh = {
|
|
4955
4953
|
class: "empty-redis-config",
|
|
4956
4954
|
"data-testid": "empty-redis-config"
|
|
4957
|
-
},
|
|
4955
|
+
}, hh = {
|
|
4958
4956
|
key: 1,
|
|
4959
4957
|
class: "redis-shared-config-error-message",
|
|
4960
4958
|
"data-testid": "redis-config-fetch-error"
|
|
4961
|
-
},
|
|
4959
|
+
}, ph = "1000", gh = /* @__PURE__ */ he({
|
|
4962
4960
|
__name: "RedisConfigSelect",
|
|
4963
4961
|
props: {
|
|
4964
4962
|
defaultRedisConfigItem: {
|
|
@@ -4985,7 +4983,7 @@ const Wf = (e) => {
|
|
|
4985
4983
|
},
|
|
4986
4984
|
emits: ["showNewPartialModal"],
|
|
4987
4985
|
setup(e) {
|
|
4988
|
-
const { t } = ke("en-us", Re), n = an(
|
|
4986
|
+
const { t } = ke("en-us", Re), n = an(sl), i = {
|
|
4989
4987
|
konnect: {
|
|
4990
4988
|
getOne: "/v2/control-planes/{controlPlaneId}/core-entities/partials/{id}",
|
|
4991
4989
|
getAll: "/v2/control-planes/{controlPlaneId}/core-entities/partials"
|
|
@@ -4994,26 +4992,26 @@ const Wf = (e) => {
|
|
|
4994
4992
|
getOne: "/{workspace}/partials/{id}",
|
|
4995
4993
|
getAll: "/{workspace}/partials"
|
|
4996
4994
|
}
|
|
4997
|
-
}, a = e, o = ae(null), { getMessageFromError: s } =
|
|
4995
|
+
}, a = e, o = ae(null), { getMessageFromError: s } = Xo(), r = an(rl), {
|
|
4998
4996
|
debouncedQueryChange: d,
|
|
4999
4997
|
loading: u,
|
|
5000
4998
|
error: p,
|
|
5001
4999
|
loadItems: f,
|
|
5002
5000
|
results: b
|
|
5003
|
-
} =
|
|
5001
|
+
} = Jo(r, i[r.app].getAll, ph, {
|
|
5004
5002
|
fetchedItemsKey: "data",
|
|
5005
5003
|
searchKeys: ["id", "name"]
|
|
5006
|
-
}), k = z(() => p.value ? s(p.value) : ""), q = (
|
|
5004
|
+
}), k = z(() => p.value ? s(p.value) : ""), q = (N) => {
|
|
5007
5005
|
let T = `${r.apiBaseUrl}${i[r.app].getOne}`;
|
|
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(
|
|
5006
|
+
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(N)), T;
|
|
5009
5007
|
}, h = z(() => {
|
|
5010
|
-
const
|
|
5011
|
-
return a.redisType !== "all" ?
|
|
5012
|
-
}), { axiosInstance: A } =
|
|
5013
|
-
if (
|
|
5014
|
-
a.updateRedisModel(
|
|
5008
|
+
const N = (b.value || []).map((T) => ({ label: T.id, name: T.name, value: T.id, type: T.type, tag: Xf(T) })).filter((T) => T.type === "redis-ce" || T.type === "redis-ee");
|
|
5009
|
+
return a.redisType !== "all" ? N.filter((T) => T.type === a.redisType) : N;
|
|
5010
|
+
}), { axiosInstance: A } = Qo(r == null ? void 0 : r.axiosRequestConfig), C = async (N) => {
|
|
5011
|
+
if (N) {
|
|
5012
|
+
a.updateRedisModel(N);
|
|
5015
5013
|
try {
|
|
5016
|
-
const T = await A.get(q(
|
|
5014
|
+
const T = await A.get(q(N));
|
|
5017
5015
|
if (T.data.config) {
|
|
5018
5016
|
const F = Object.assign(T.data, T.data.config);
|
|
5019
5017
|
delete F.config, o.value = F;
|
|
@@ -5023,23 +5021,23 @@ const Wf = (e) => {
|
|
|
5023
5021
|
}
|
|
5024
5022
|
}
|
|
5025
5023
|
};
|
|
5026
|
-
return mn(() => n == null ? void 0 : n.value, async (
|
|
5027
|
-
|
|
5028
|
-
}),
|
|
5024
|
+
return mn(() => n == null ? void 0 : n.value, async (N) => {
|
|
5025
|
+
N && await f();
|
|
5026
|
+
}), Qn(() => {
|
|
5029
5027
|
f(), a.defaultRedisConfigItem && C(a.defaultRedisConfigItem);
|
|
5030
|
-
}), (
|
|
5028
|
+
}), (N, T) => {
|
|
5031
5029
|
const F = D("KLabel"), y = D("KBadge"), v = D("KSelect");
|
|
5032
5030
|
return c(), _(Y, null, [
|
|
5033
|
-
m("div",
|
|
5031
|
+
m("div", dh, [
|
|
5034
5032
|
O(F, {
|
|
5035
|
-
info: e.isCustomPlugin ? I(t)("redis.custom_plugin.tooltip") : I(t)("redis.shared_configuration.tooltip", { type: I(
|
|
5033
|
+
info: e.isCustomPlugin ? I(t)("redis.custom_plugin.tooltip") : I(t)("redis.shared_configuration.tooltip", { type: I(Ea)(e.redisType) }),
|
|
5036
5034
|
"tooltip-attributes": {
|
|
5037
5035
|
maxWidth: "300",
|
|
5038
5036
|
placement: "top"
|
|
5039
5037
|
}
|
|
5040
5038
|
}, {
|
|
5041
5039
|
default: M(() => [
|
|
5042
|
-
ce(
|
|
5040
|
+
ce(L(I(t)("redis.shared_configuration.title")), 1)
|
|
5043
5041
|
]),
|
|
5044
5042
|
_: 1
|
|
5045
5043
|
}, 8, ["info"]),
|
|
@@ -5057,60 +5055,60 @@ const Wf = (e) => {
|
|
|
5057
5055
|
onQueryChange: I(d)
|
|
5058
5056
|
}, {
|
|
5059
5057
|
"selected-item-template": M(({ item: g }) => [
|
|
5060
|
-
m("div",
|
|
5058
|
+
m("div", uh, L(g.name), 1)
|
|
5061
5059
|
]),
|
|
5062
5060
|
"item-template": M(({ item: g }) => [
|
|
5063
5061
|
m("div", {
|
|
5064
5062
|
class: "plugin-form-redis-configuration-dropdown-item",
|
|
5065
5063
|
"data-testid": `redis-configuration-dropdown-item-${g.name}`
|
|
5066
5064
|
}, [
|
|
5067
|
-
m("span",
|
|
5065
|
+
m("span", mh, L(g.name), 1),
|
|
5068
5066
|
O(y, {
|
|
5069
5067
|
appearance: "info",
|
|
5070
5068
|
class: "select-item-label"
|
|
5071
5069
|
}, {
|
|
5072
5070
|
default: M(() => [
|
|
5073
|
-
ce(
|
|
5071
|
+
ce(L(g.tag), 1)
|
|
5074
5072
|
]),
|
|
5075
5073
|
_: 2
|
|
5076
5074
|
}, 1024)
|
|
5077
|
-
], 8,
|
|
5075
|
+
], 8, ch)
|
|
5078
5076
|
]),
|
|
5079
5077
|
empty: M(() => [
|
|
5080
|
-
m("div",
|
|
5078
|
+
m("div", fh, L(I(t)("redis.shared_configuration.empty_state")), 1)
|
|
5081
5079
|
]),
|
|
5082
5080
|
"dropdown-footer-text": M(() => [
|
|
5083
5081
|
m("div", {
|
|
5084
5082
|
class: "new-redis-config-area",
|
|
5085
5083
|
"data-testid": "new-redis-config-area",
|
|
5086
|
-
onClick: T[0] || (T[0] = (g) =>
|
|
5084
|
+
onClick: T[0] || (T[0] = (g) => N.$emit("showNewPartialModal"))
|
|
5087
5085
|
}, [
|
|
5088
|
-
O(I(
|
|
5089
|
-
m("span", null,
|
|
5086
|
+
O(I(ei), { size: I(Yc) }, null, 8, ["size"]),
|
|
5087
|
+
m("span", null, L(I(t)("redis.shared_configuration.create_new_configuration", { type: I(Ea)(e.redisType) })), 1)
|
|
5090
5088
|
])
|
|
5091
5089
|
]),
|
|
5092
5090
|
_: 1
|
|
5093
5091
|
}, 8, ["items", "loading", "model-value", "placeholder", "onQueryChange"])
|
|
5094
5092
|
]),
|
|
5095
|
-
o.value ? (c(), U(
|
|
5093
|
+
o.value ? (c(), U(lh, {
|
|
5096
5094
|
key: 0,
|
|
5097
5095
|
"config-fields": o.value,
|
|
5098
5096
|
"plugin-redis-fields": e.pluginRedisFields
|
|
5099
5097
|
}, null, 8, ["config-fields", "plugin-redis-fields"])) : B("", !0),
|
|
5100
|
-
k.value ? (c(), _("p",
|
|
5098
|
+
k.value ? (c(), _("p", hh, L(k.value || I(t)("redis.shared_configuration.error")), 1)) : B("", !0)
|
|
5101
5099
|
], 64);
|
|
5102
5100
|
};
|
|
5103
5101
|
}
|
|
5104
|
-
}),
|
|
5102
|
+
}), Ma = /* @__PURE__ */ W(gh, [["__scopeId", "data-v-cfbe2781"]]), yh = { key: 0 }, vh = {
|
|
5105
5103
|
class: "redis-config-radio-group",
|
|
5106
5104
|
"data-testid": "redis-config-radio-group"
|
|
5107
|
-
},
|
|
5105
|
+
}, bh = {
|
|
5108
5106
|
key: 0,
|
|
5109
5107
|
class: "shared-redis-config"
|
|
5110
|
-
},
|
|
5108
|
+
}, _h = {
|
|
5111
5109
|
key: 1,
|
|
5112
5110
|
class: "dedicated-redis-config"
|
|
5113
|
-
},
|
|
5111
|
+
}, Th = { class: "dedicated-redis-config-title" }, Sh = /* @__PURE__ */ he({
|
|
5114
5112
|
__name: "FormRedis",
|
|
5115
5113
|
props: {
|
|
5116
5114
|
tag: {
|
|
@@ -5169,21 +5167,21 @@ const Wf = (e) => {
|
|
|
5169
5167
|
};
|
|
5170
5168
|
return mn(() => s.value, (h) => {
|
|
5171
5169
|
h ? u.value && i("partialToggled", "redis", { partials: u.value }) : i("partialToggled", "partials", d.value);
|
|
5172
|
-
}),
|
|
5170
|
+
}), Qn(() => {
|
|
5173
5171
|
var h, A, C;
|
|
5174
|
-
if (n.model && (d.value = n.field.fields.reduce((
|
|
5175
|
-
const
|
|
5176
|
-
s.value = !0, r.value =
|
|
5172
|
+
if (n.model && (d.value = n.field.fields.reduce((N, T) => (Object.keys(n.model).includes(T.model) && (N[T.model] = n.model[T.model]), N), {})), (C = (A = (h = n == null ? void 0 : n.model) == null ? void 0 : h.partials) == null ? void 0 : A[0]) != null && C.id) {
|
|
5173
|
+
const N = n.model.partials[0].id;
|
|
5174
|
+
s.value = !0, r.value = N;
|
|
5177
5175
|
}
|
|
5178
5176
|
}), (h, A) => {
|
|
5179
|
-
const C = D("KAlert"),
|
|
5177
|
+
const C = D("KAlert"), N = D("KBadge"), T = D("KRadio"), F = D("KCard");
|
|
5180
5178
|
return c(), _("div", null, [
|
|
5181
|
-
o.value ? (c(), _("div",
|
|
5179
|
+
o.value ? (c(), _("div", yh, [
|
|
5182
5180
|
O(C, {
|
|
5183
5181
|
"data-testid": "custom-plugin-redis-config-note",
|
|
5184
5182
|
message: I(a)("redis.custom_plugin.alert")
|
|
5185
5183
|
}, null, 8, ["message"]),
|
|
5186
|
-
O(
|
|
5184
|
+
O(Ma, {
|
|
5187
5185
|
"default-redis-config-item": r.value,
|
|
5188
5186
|
"is-custom-plugin": "",
|
|
5189
5187
|
"plugin-redis-fields": e.field.fields,
|
|
@@ -5197,7 +5195,7 @@ const Wf = (e) => {
|
|
|
5197
5195
|
title: I(a)("redis.title")
|
|
5198
5196
|
}, {
|
|
5199
5197
|
default: M(() => [
|
|
5200
|
-
m("div",
|
|
5198
|
+
m("div", vh, [
|
|
5201
5199
|
O(T, {
|
|
5202
5200
|
modelValue: s.value,
|
|
5203
5201
|
"onUpdate:modelValue": A[1] || (A[1] = (y) => s.value = y),
|
|
@@ -5209,9 +5207,9 @@ const Wf = (e) => {
|
|
|
5209
5207
|
"selected-value": !0
|
|
5210
5208
|
}, {
|
|
5211
5209
|
default: M(() => [
|
|
5212
|
-
O(
|
|
5210
|
+
O(N, { appearance: "success" }, {
|
|
5213
5211
|
default: M(() => [
|
|
5214
|
-
ce(
|
|
5212
|
+
ce(L(I(a)("redis.shared_configuration.badge")), 1)
|
|
5215
5213
|
]),
|
|
5216
5214
|
_: 1
|
|
5217
5215
|
})
|
|
@@ -5229,22 +5227,22 @@ const Wf = (e) => {
|
|
|
5229
5227
|
"selected-value": !1
|
|
5230
5228
|
}, null, 8, ["modelValue", "description", "label"])
|
|
5231
5229
|
]),
|
|
5232
|
-
s.value ? (c(), _("div",
|
|
5233
|
-
O(
|
|
5230
|
+
s.value ? (c(), _("div", bh, [
|
|
5231
|
+
O(Ma, {
|
|
5234
5232
|
"default-redis-config-item": r.value,
|
|
5235
5233
|
"plugin-redis-fields": e.field.fields,
|
|
5236
5234
|
"redis-type": e.field.redisType,
|
|
5237
5235
|
"update-redis-model": f,
|
|
5238
5236
|
onShowNewPartialModal: A[3] || (A[3] = (y) => h.$emit("showNewPartialModal"))
|
|
5239
5237
|
}, null, 8, ["default-redis-config-item", "plugin-redis-fields", "redis-type"])
|
|
5240
|
-
])) : (c(), _("div",
|
|
5241
|
-
m("div",
|
|
5238
|
+
])) : (c(), _("div", _h, [
|
|
5239
|
+
m("div", Th, L(I(a)("redis.dedicated_configuration.title")), 1),
|
|
5242
5240
|
(c(), U(me(e.tag), null, {
|
|
5243
5241
|
default: M(() => [
|
|
5244
5242
|
(c(!0), _(Y, null, oe(e.field.fields, (y) => (c(), _(Y, {
|
|
5245
5243
|
key: y.model
|
|
5246
5244
|
}, [
|
|
5247
|
-
p(y) ? (c(), U(
|
|
5245
|
+
p(y) ? (c(), U(Oo, {
|
|
5248
5246
|
key: 0,
|
|
5249
5247
|
ref_for: !0,
|
|
5250
5248
|
ref: "children",
|
|
@@ -5268,14 +5266,14 @@ const Wf = (e) => {
|
|
|
5268
5266
|
]);
|
|
5269
5267
|
};
|
|
5270
5268
|
}
|
|
5271
|
-
}),
|
|
5269
|
+
}), wh = /* @__PURE__ */ W(Sh, [["__scopeId", "data-v-addd6536"]]), Eh = {
|
|
5272
5270
|
name: "VueFormGenerator",
|
|
5273
|
-
components: { formGroup:
|
|
5274
|
-
mixins: [
|
|
5271
|
+
components: { formGroup: Oo, formRedis: wh },
|
|
5272
|
+
mixins: [oo],
|
|
5275
5273
|
inject: {
|
|
5276
5274
|
// Inject AUTOFILL_SLOT for provide()
|
|
5277
5275
|
autofillSlot: {
|
|
5278
|
-
from:
|
|
5276
|
+
from: Le,
|
|
5279
5277
|
default: void 0
|
|
5280
5278
|
}
|
|
5281
5279
|
},
|
|
@@ -5284,7 +5282,7 @@ const Wf = (e) => {
|
|
|
5284
5282
|
return {
|
|
5285
5283
|
// Provide AUTOFILL_SLOT only if it is not already provided
|
|
5286
5284
|
...!this.autofillSlot && {
|
|
5287
|
-
[
|
|
5285
|
+
[Le]: (e = this.$slots) == null ? void 0 : e[Mt]
|
|
5288
5286
|
}
|
|
5289
5287
|
};
|
|
5290
5288
|
},
|
|
@@ -5432,13 +5430,13 @@ const Wf = (e) => {
|
|
|
5432
5430
|
});
|
|
5433
5431
|
}
|
|
5434
5432
|
}
|
|
5435
|
-
},
|
|
5433
|
+
}, Mh = {
|
|
5436
5434
|
key: 0,
|
|
5437
5435
|
class: "vue-form-generator"
|
|
5438
|
-
},
|
|
5439
|
-
function
|
|
5436
|
+
}, Ah = { key: 0 };
|
|
5437
|
+
function Ih(e, t, n, i, a, o) {
|
|
5440
5438
|
const s = D("form-redis"), r = D("form-group"), d = D("KCollapse");
|
|
5441
|
-
return n.schema != null ? (c(), _("div",
|
|
5439
|
+
return n.schema != null ? (c(), _("div", Mh, [
|
|
5442
5440
|
n.schema.fields ? (c(), U(me(n.tag), { key: 0 }, {
|
|
5443
5441
|
default: M(() => [
|
|
5444
5442
|
(c(!0), _(Y, null, oe(o.fields, (u) => (c(), _(Y, {
|
|
@@ -5568,7 +5566,7 @@ function Mh(e, t, n, i, a, o) {
|
|
|
5568
5566
|
u.collapsible.description ? {
|
|
5569
5567
|
name: "visible-content",
|
|
5570
5568
|
fn: M(() => [
|
|
5571
|
-
ce(
|
|
5569
|
+
ce(L(u.collapsible.description), 1)
|
|
5572
5570
|
]),
|
|
5573
5571
|
key: "0"
|
|
5574
5572
|
} : void 0
|
|
@@ -5577,7 +5575,7 @@ function Mh(e, t, n, i, a, o) {
|
|
|
5577
5575
|
class: ee(e.getFieldRowClasses(u))
|
|
5578
5576
|
}, {
|
|
5579
5577
|
default: M(() => [
|
|
5580
|
-
u.legend ? (c(), _("legend",
|
|
5578
|
+
u.legend ? (c(), _("legend", Ah, L(u.legend), 1)) : B("", !0),
|
|
5581
5579
|
(c(!0), _(Y, null, oe(u.fields, (f) => (c(), _(Y, {
|
|
5582
5580
|
key: f.model
|
|
5583
5581
|
}, [
|
|
@@ -5601,17 +5599,17 @@ function Mh(e, t, n, i, a, o) {
|
|
|
5601
5599
|
], 64))), 128))
|
|
5602
5600
|
])) : B("", !0);
|
|
5603
5601
|
}
|
|
5604
|
-
const ue = /* @__PURE__ */ W(
|
|
5602
|
+
const ue = /* @__PURE__ */ W(Eh, [["render", Ih]]), Dt = {
|
|
5605
5603
|
openIdConnectDocs: "https://developer.konghq.com/plugins/openid-connect/",
|
|
5606
5604
|
openIdConnectJWKDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-client-jwk",
|
|
5607
5605
|
openIdConnectClusterNodesDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-redis-cluster-nodes",
|
|
5608
5606
|
openIdConfigurationDocs: "https://developer.konghq.com/plugins/openid-connect/reference/",
|
|
5609
5607
|
openIdAuthorizationDocs: "https://developer.konghq.com/plugins/openid-connect/#authorization"
|
|
5610
|
-
},
|
|
5608
|
+
}, Aa = /* @__PURE__ */ new Set([
|
|
5611
5609
|
"config-client_id",
|
|
5612
5610
|
"config-client_secret",
|
|
5613
5611
|
"config-issuer"
|
|
5614
|
-
]),
|
|
5612
|
+
]), Ia = /* @__PURE__ */ new Set([
|
|
5615
5613
|
"config-scopes_claim",
|
|
5616
5614
|
"config-scopes_required",
|
|
5617
5615
|
"config-audience_claim",
|
|
@@ -5621,13 +5619,13 @@ const ue = /* @__PURE__ */ W(Sh, [["render", Mh]]), Dt = {
|
|
|
5621
5619
|
"config-groups_claim",
|
|
5622
5620
|
"config-groups_required",
|
|
5623
5621
|
"config-authenticated_groups_claim"
|
|
5624
|
-
]),
|
|
5622
|
+
]), Ch = {
|
|
5625
5623
|
name: "OIDCForm",
|
|
5626
5624
|
components: { VueFormGenerator: ue },
|
|
5627
5625
|
provide() {
|
|
5628
5626
|
var e;
|
|
5629
5627
|
return {
|
|
5630
|
-
[
|
|
5628
|
+
[Le]: (e = this.$slots) == null ? void 0 : e[Mt]
|
|
5631
5629
|
};
|
|
5632
5630
|
},
|
|
5633
5631
|
props: {
|
|
@@ -5723,14 +5721,14 @@ const ue = /* @__PURE__ */ W(Sh, [["render", Mh]]), Dt = {
|
|
|
5723
5721
|
};
|
|
5724
5722
|
const t = this.formSchema.fields.reduce((a, o) => (a[o.model] = o, a), {});
|
|
5725
5723
|
this.commonFieldsSchema = {
|
|
5726
|
-
fields: Array.from(
|
|
5724
|
+
fields: Array.from(Aa).reduce((a, o) => (t[o] && a.push(t[o]), a), [])
|
|
5727
5725
|
}, this.authFieldsSchema = {
|
|
5728
|
-
fields: Array.from(
|
|
5726
|
+
fields: Array.from(Ia).reduce((a, o) => (t[o] && a.push(t[o]), a), [])
|
|
5729
5727
|
};
|
|
5730
5728
|
const { redis: n, redisModels: i } = qe.useRedisPartial(this.formSchema);
|
|
5731
5729
|
this.advancedFieldsSchema = {
|
|
5732
5730
|
fields: this.formSchema.fields.filter(
|
|
5733
|
-
(a) => a.model.startsWith("config") && a.model !== "config-auth_methods" && !
|
|
5731
|
+
(a) => a.model.startsWith("config") && a.model !== "config-auth_methods" && !Aa.has(a.model) && !Ia.has(a.model) && (!this.enableRedisPartial || !i.includes(a.model)) || a.model === "tags"
|
|
5734
5732
|
).reduce((a, o) => {
|
|
5735
5733
|
var s, r, d, u;
|
|
5736
5734
|
switch (o.model) {
|
|
@@ -5826,8 +5824,8 @@ const ue = /* @__PURE__ */ W(Sh, [["render", Mh]]), Dt = {
|
|
|
5826
5824
|
this.formModel["config-auth_methods"] = this.getAuthMethodsValue(t, e), this.onModelUpdated();
|
|
5827
5825
|
}
|
|
5828
5826
|
}
|
|
5829
|
-
},
|
|
5830
|
-
function
|
|
5827
|
+
}, Oh = { class: "general-settings" }, Fh = { class: "link-wrapper" }, kh = { class: "auth-method-container" }, Rh = { class: "general-settings" }, Uh = { class: "link-wrapper" }, Lh = { class: "general-settings" }, Nh = { class: "link-wrapper" };
|
|
5828
|
+
function Ph(e, t, n, i, a, o) {
|
|
5831
5829
|
const s = D("VueFormGenerator"), r = D("KExternalLink"), d = D("KLabel"), u = D("KCheckbox"), p = D("KInputSwitch"), f = D("KTabs");
|
|
5832
5830
|
return c(), _("div", null, [
|
|
5833
5831
|
n.formModel.id && n.isEditing || !n.isEditing ? (c(), U(s, {
|
|
@@ -5840,8 +5838,8 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5840
5838
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
|
|
5841
5839
|
O(f, { tabs: a.tabs }, {
|
|
5842
5840
|
common: M(() => [
|
|
5843
|
-
m("div",
|
|
5844
|
-
m("div",
|
|
5841
|
+
m("div", Oh, [
|
|
5842
|
+
m("div", Fh, [
|
|
5845
5843
|
O(r, { href: a.openIdConfigurationDocs }, {
|
|
5846
5844
|
default: M(() => t[2] || (t[2] = [
|
|
5847
5845
|
m("span", { class: "section-header" }, "Common Configuration Settings", -1)
|
|
@@ -5865,7 +5863,7 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5865
5863
|
_: 1,
|
|
5866
5864
|
__: [3]
|
|
5867
5865
|
}),
|
|
5868
|
-
m("div",
|
|
5866
|
+
m("div", kh, [
|
|
5869
5867
|
(c(!0), _(Y, null, oe(a.authMethods, (b) => (c(), _("div", {
|
|
5870
5868
|
key: b.value,
|
|
5871
5869
|
class: "auth-method"
|
|
@@ -5876,7 +5874,7 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5876
5874
|
onChange: (k) => o.handleUpdate(k, b.value)
|
|
5877
5875
|
}, {
|
|
5878
5876
|
default: M(() => [
|
|
5879
|
-
ce(
|
|
5877
|
+
ce(L(b.label), 1)
|
|
5880
5878
|
]),
|
|
5881
5879
|
_: 2
|
|
5882
5880
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
@@ -5891,8 +5889,8 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5891
5889
|
])
|
|
5892
5890
|
]),
|
|
5893
5891
|
authorization: M(() => [
|
|
5894
|
-
m("div",
|
|
5895
|
-
m("div",
|
|
5892
|
+
m("div", Rh, [
|
|
5893
|
+
m("div", Uh, [
|
|
5896
5894
|
O(r, { href: a.openIdAuthorizationDocs }, {
|
|
5897
5895
|
default: M(() => t[5] || (t[5] = [
|
|
5898
5896
|
m("span", { class: "section-header" }, "Authorization Configuration Settings", -1)
|
|
@@ -5910,15 +5908,15 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5910
5908
|
onModelUpdated: n.onModelUpdated
|
|
5911
5909
|
}, {
|
|
5912
5910
|
"autofill-provider": M((b) => [
|
|
5913
|
-
Oe(e.$slots, "autofill-provider",
|
|
5911
|
+
Oe(e.$slots, "autofill-provider", xo(Ho(b)), void 0, !0)
|
|
5914
5912
|
]),
|
|
5915
5913
|
_: 3
|
|
5916
5914
|
}, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0)
|
|
5917
5915
|
])
|
|
5918
5916
|
]),
|
|
5919
5917
|
advanced: M(() => [
|
|
5920
|
-
m("div",
|
|
5921
|
-
m("div",
|
|
5918
|
+
m("div", Lh, [
|
|
5919
|
+
m("div", Nh, [
|
|
5922
5920
|
O(r, { href: a.openIdConnectLink }, {
|
|
5923
5921
|
default: M(() => t[7] || (t[7] = [
|
|
5924
5922
|
m("span", { class: "section-header" }, "Advanced Configuration Settings", -1)
|
|
@@ -5945,7 +5943,7 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5945
5943
|
}, 8, ["tabs"])
|
|
5946
5944
|
]);
|
|
5947
5945
|
}
|
|
5948
|
-
const
|
|
5946
|
+
const Dh = /* @__PURE__ */ W(Ch, [["render", Ph], ["__scopeId", "data-v-741bf3cb"]]), $h = /* @__PURE__ */ he({
|
|
5949
5947
|
__name: "PostFunction",
|
|
5950
5948
|
props: {
|
|
5951
5949
|
formModel: {
|
|
@@ -5972,7 +5970,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
5972
5970
|
},
|
|
5973
5971
|
setup(e) {
|
|
5974
5972
|
var s;
|
|
5975
|
-
zt(
|
|
5973
|
+
zt(Le, (s = fn()) == null ? void 0 : s[Mt]);
|
|
5976
5974
|
const { t, te: n } = ke("en-us", Re), i = e, a = z(() => i.formModel.id && i.isEditing || !i.isEditing), o = z(() => {
|
|
5977
5975
|
const r = i.formSchema;
|
|
5978
5976
|
return r.fields.map((d) => {
|
|
@@ -5988,7 +5986,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
5988
5986
|
onModelUpdated: e.onModelUpdated
|
|
5989
5987
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0);
|
|
5990
5988
|
}
|
|
5991
|
-
}),
|
|
5989
|
+
}), Vh = /* @__PURE__ */ W($h, [["__scopeId", "data-v-f54f37ae"]]), jh = /* @__PURE__ */ he({
|
|
5992
5990
|
__name: "ExitTransformer",
|
|
5993
5991
|
props: {
|
|
5994
5992
|
formModel: {
|
|
@@ -6015,7 +6013,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6015
6013
|
},
|
|
6016
6014
|
setup(e) {
|
|
6017
6015
|
var s;
|
|
6018
|
-
zt(
|
|
6016
|
+
zt(Le, (s = fn()) == null ? void 0 : s[Mt]);
|
|
6019
6017
|
const { t, te: n } = ke("en-us", Re), i = e, a = z(() => i.formModel.id && i.isEditing || !i.isEditing), o = z(() => {
|
|
6020
6018
|
const r = i.formSchema;
|
|
6021
6019
|
return r.fields.map((d) => {
|
|
@@ -6031,7 +6029,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6031
6029
|
onModelUpdated: e.onModelUpdated
|
|
6032
6030
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0);
|
|
6033
6031
|
}
|
|
6034
|
-
}),
|
|
6032
|
+
}), qh = /* @__PURE__ */ W(jh, [["__scopeId", "data-v-0d5c541f"]]), Kh = {
|
|
6035
6033
|
fields: [
|
|
6036
6034
|
{
|
|
6037
6035
|
inputType: "text",
|
|
@@ -6066,7 +6064,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6066
6064
|
disabled: !1
|
|
6067
6065
|
}
|
|
6068
6066
|
]
|
|
6069
|
-
},
|
|
6067
|
+
}, Bh = {
|
|
6070
6068
|
fields: [
|
|
6071
6069
|
{
|
|
6072
6070
|
type: "input",
|
|
@@ -6088,7 +6086,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6088
6086
|
disabled: !1
|
|
6089
6087
|
}
|
|
6090
6088
|
]
|
|
6091
|
-
},
|
|
6089
|
+
}, zh = {
|
|
6092
6090
|
fields: [
|
|
6093
6091
|
{
|
|
6094
6092
|
type: "input",
|
|
@@ -6119,7 +6117,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6119
6117
|
disabled: !1
|
|
6120
6118
|
}
|
|
6121
6119
|
]
|
|
6122
|
-
},
|
|
6120
|
+
}, xh = { class: "general-settings" }, Hh = { class: "sub-form" }, Yh = { class: "general-settings" }, Gh = { class: "sub-form" }, Wh = { class: "general-settings" }, Zh = /* @__PURE__ */ he({
|
|
6123
6121
|
__name: "ACMEForm",
|
|
6124
6122
|
props: {
|
|
6125
6123
|
formModel: {
|
|
@@ -6146,7 +6144,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6146
6144
|
},
|
|
6147
6145
|
setup(e) {
|
|
6148
6146
|
var y;
|
|
6149
|
-
zt(
|
|
6147
|
+
zt(Le, (y = fn()) == null ? void 0 : y[Mt]);
|
|
6150
6148
|
const t = e, n = ae("zeroSsl"), i = ae("shm"), a = z(() => {
|
|
6151
6149
|
var g;
|
|
6152
6150
|
const v = {};
|
|
@@ -6156,7 +6154,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6156
6154
|
return v;
|
|
6157
6155
|
}), o = z(() => {
|
|
6158
6156
|
var g;
|
|
6159
|
-
const v = We(
|
|
6157
|
+
const v = We(Kh);
|
|
6160
6158
|
for (const V of v.fields) {
|
|
6161
6159
|
const Z = (g = a.value[V.model]) == null ? void 0 : g.help;
|
|
6162
6160
|
V.help === void 0 && typeof Z == "string" && (V.help = Z);
|
|
@@ -6164,7 +6162,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6164
6162
|
return v;
|
|
6165
6163
|
}), s = z(() => {
|
|
6166
6164
|
var g;
|
|
6167
|
-
const v = We(
|
|
6165
|
+
const v = We(Bh);
|
|
6168
6166
|
for (const V of v.fields) {
|
|
6169
6167
|
const Z = (g = a.value[V.model]) == null ? void 0 : g.help;
|
|
6170
6168
|
V.help === void 0 && typeof Z == "string" && (V.help = Z);
|
|
@@ -6172,7 +6170,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6172
6170
|
return v;
|
|
6173
6171
|
}), r = z(() => {
|
|
6174
6172
|
var g;
|
|
6175
|
-
const v = We(
|
|
6173
|
+
const v = We(zh);
|
|
6176
6174
|
for (const V of v.fields) {
|
|
6177
6175
|
const Z = (g = a.value[V.model]) == null ? void 0 : g.help;
|
|
6178
6176
|
V.help === void 0 && typeof Z == "string" && (V.help = Z);
|
|
@@ -6209,7 +6207,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6209
6207
|
hash: "#advanced",
|
|
6210
6208
|
title: "Advanced"
|
|
6211
6209
|
}
|
|
6212
|
-
],
|
|
6210
|
+
], N = [
|
|
6213
6211
|
{
|
|
6214
6212
|
label: "Lets Encrypt",
|
|
6215
6213
|
value: "letsEncrypt"
|
|
@@ -6224,7 +6222,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6224
6222
|
value: "other"
|
|
6225
6223
|
}
|
|
6226
6224
|
];
|
|
6227
|
-
|
|
6225
|
+
Jn(() => {
|
|
6228
6226
|
n.value === "zeroSsl" && (t.formModel["config-api_uri"] = "https://acme.zerossl.com/v2/DV90");
|
|
6229
6227
|
});
|
|
6230
6228
|
const T = (v) => {
|
|
@@ -6245,7 +6243,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6245
6243
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
|
|
6246
6244
|
O(Z, { tabs: C }, {
|
|
6247
6245
|
general: M(() => [
|
|
6248
|
-
m("div",
|
|
6246
|
+
m("div", xh, [
|
|
6249
6247
|
g[0] || (g[0] = m("div", { class: "header-wrapper" }, [
|
|
6250
6248
|
m("span", { class: "section-header" }, "General Configuration Settings")
|
|
6251
6249
|
], -1)),
|
|
@@ -6260,11 +6258,11 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6260
6258
|
g[2] || (g[2] = m("hr", null, null, -1)),
|
|
6261
6259
|
O(V, {
|
|
6262
6260
|
class: "issuer-select",
|
|
6263
|
-
items:
|
|
6261
|
+
items: N,
|
|
6264
6262
|
label: "Issuer",
|
|
6265
6263
|
onChange: T
|
|
6266
6264
|
}),
|
|
6267
|
-
m("div",
|
|
6265
|
+
m("div", Hh, [
|
|
6268
6266
|
n.value === "letsEncrypt" ? (c(), U(ue, {
|
|
6269
6267
|
key: 0,
|
|
6270
6268
|
model: e.formModel,
|
|
@@ -6283,7 +6281,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6283
6281
|
])
|
|
6284
6282
|
]),
|
|
6285
6283
|
storage: M(() => [
|
|
6286
|
-
m("div",
|
|
6284
|
+
m("div", Yh, [
|
|
6287
6285
|
g[3] || (g[3] = m("div", { class: "header-wrapper" }, [
|
|
6288
6286
|
m("span", { class: "section-header" }, "Storage Configuration Settings")
|
|
6289
6287
|
], -1)),
|
|
@@ -6295,7 +6293,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6295
6293
|
schema: p.value,
|
|
6296
6294
|
onModelUpdated: F
|
|
6297
6295
|
}, null, 8, ["model", "options", "schema"])) : B("", !0),
|
|
6298
|
-
m("div",
|
|
6296
|
+
m("div", Gh, [
|
|
6299
6297
|
i.value === "consul" ? (c(), U(ue, {
|
|
6300
6298
|
key: 0,
|
|
6301
6299
|
model: e.formModel,
|
|
@@ -6328,7 +6326,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6328
6326
|
])
|
|
6329
6327
|
]),
|
|
6330
6328
|
advanced: M(() => [
|
|
6331
|
-
m("div",
|
|
6329
|
+
m("div", Wh, [
|
|
6332
6330
|
g[5] || (g[5] = m("div", { class: "header-wrapper" }, [
|
|
6333
6331
|
m("span", { class: "section-header" }, "Advanced Configuration Settings")
|
|
6334
6332
|
], -1)),
|
|
@@ -6347,13 +6345,13 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6347
6345
|
]);
|
|
6348
6346
|
};
|
|
6349
6347
|
}
|
|
6350
|
-
}),
|
|
6348
|
+
}), Xh = /* @__PURE__ */ W(Zh, [["__scopeId", "data-v-07cecf5b"]]), Jh = { class: "rla-form-basic-fields" }, Qh = { class: "rla-form-request-limits-subtitle" }, ep = { class: "rla-form-request-limits-content" }, tp = { class: "rla-form-window-type" }, np = ["innerHTML"], ip = { class: "rla-form-window-type-radios" }, ap = { class: "rla-form-request-limits-items" }, op = { class: "rla-form-request-limits-row" }, rp = ["id"], sp = { class: "rla-form-request-limits-actions" }, lp = {
|
|
6351
6349
|
key: 0,
|
|
6352
6350
|
class: "rla-form-request-limits-examples"
|
|
6353
|
-
},
|
|
6351
|
+
}, dp = { class: "rla-form-request-limits-examples-badges" }, up = ["innerHTML"], cp = {
|
|
6354
6352
|
id: "rla-form-error-legend",
|
|
6355
6353
|
class: "rla-form-error-inputs"
|
|
6356
|
-
},
|
|
6354
|
+
}, mp = /* @__PURE__ */ he({
|
|
6357
6355
|
__name: "RLAForm",
|
|
6358
6356
|
props: {
|
|
6359
6357
|
formSchema: {},
|
|
@@ -6367,7 +6365,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6367
6365
|
},
|
|
6368
6366
|
setup(e) {
|
|
6369
6367
|
var Z;
|
|
6370
|
-
zt(
|
|
6368
|
+
zt(Le, (Z = fn()) == null ? void 0 : Z[Mt]);
|
|
6371
6369
|
const t = {
|
|
6372
6370
|
fixed: [
|
|
6373
6371
|
{
|
|
@@ -6494,19 +6492,19 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6494
6492
|
var E, w, j, K;
|
|
6495
6493
|
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);
|
|
6496
6494
|
}
|
|
6497
|
-
),
|
|
6495
|
+
), N = z(
|
|
6498
6496
|
() => {
|
|
6499
6497
|
var E, w, j, K;
|
|
6500
6498
|
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);
|
|
6501
6499
|
}
|
|
6502
6500
|
), T = (E, w) => {
|
|
6503
6501
|
if (w === f.value) {
|
|
6504
|
-
o.onModelUpdated([], "config-limit"), o.onModelUpdated([], "config-window_size"),
|
|
6502
|
+
o.onModelUpdated([], "config-limit"), o.onModelUpdated([], "config-window_size"), ki(() => {
|
|
6505
6503
|
f.value = void 0;
|
|
6506
6504
|
});
|
|
6507
6505
|
return;
|
|
6508
6506
|
}
|
|
6509
|
-
o.onModelUpdated([E.config.limit], "config-limit"), o.onModelUpdated([E.config.window_size], "config-window_size"),
|
|
6507
|
+
o.onModelUpdated([E.config.limit], "config-limit"), o.onModelUpdated([E.config.window_size], "config-window_size"), ki(() => {
|
|
6510
6508
|
f.value = w;
|
|
6511
6509
|
});
|
|
6512
6510
|
}, F = (E) => {
|
|
@@ -6539,7 +6537,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6539
6537
|
}), (E, w) => {
|
|
6540
6538
|
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");
|
|
6541
6539
|
return c(), _(Y, null, [
|
|
6542
|
-
m("div",
|
|
6540
|
+
m("div", Jh, [
|
|
6543
6541
|
O(ue, {
|
|
6544
6542
|
model: E.formModel,
|
|
6545
6543
|
options: E.formOptions,
|
|
@@ -6554,15 +6552,15 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6554
6552
|
required: ""
|
|
6555
6553
|
}, {
|
|
6556
6554
|
default: M(() => [
|
|
6557
|
-
ce(
|
|
6555
|
+
ce(L(I(a)("rla.request_limits.title")), 1)
|
|
6558
6556
|
]),
|
|
6559
6557
|
_: 1
|
|
6560
6558
|
}),
|
|
6561
|
-
m("div",
|
|
6559
|
+
m("div", Qh, L(I(a)("rla.request_limits.subtitle")), 1)
|
|
6562
6560
|
]),
|
|
6563
6561
|
default: M(() => [
|
|
6564
|
-
m("div",
|
|
6565
|
-
m("div",
|
|
6562
|
+
m("div", ep, [
|
|
6563
|
+
m("div", tp, [
|
|
6566
6564
|
O(j, {
|
|
6567
6565
|
class: "rla-form-window-type-label",
|
|
6568
6566
|
"tooltip-attributes": {
|
|
@@ -6573,14 +6571,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6573
6571
|
tooltip: M(() => [
|
|
6574
6572
|
m("div", {
|
|
6575
6573
|
innerHTML: I(a)("rla.window_type.help")
|
|
6576
|
-
}, null, 8,
|
|
6574
|
+
}, null, 8, np)
|
|
6577
6575
|
]),
|
|
6578
6576
|
default: M(() => [
|
|
6579
|
-
ce(
|
|
6577
|
+
ce(L(I(a)("rla.window_type.label")) + " ", 1)
|
|
6580
6578
|
]),
|
|
6581
6579
|
_: 1
|
|
6582
6580
|
}),
|
|
6583
|
-
m("div",
|
|
6581
|
+
m("div", ip, [
|
|
6584
6582
|
(c(!0), _(Y, null, oe(q.value, ($) => (c(), U(K, {
|
|
6585
6583
|
key: `window-type-${$}`,
|
|
6586
6584
|
"model-value": k.value,
|
|
@@ -6589,13 +6587,13 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6589
6587
|
"onUpdate:modelValue": F
|
|
6590
6588
|
}, {
|
|
6591
6589
|
default: M(() => [
|
|
6592
|
-
ce(
|
|
6590
|
+
ce(L(I(a)(`rla.window_type.options.${$}`)), 1)
|
|
6593
6591
|
]),
|
|
6594
6592
|
_: 2
|
|
6595
6593
|
}, 1032, ["model-value", "name", "selected-value"]))), 128))
|
|
6596
6594
|
])
|
|
6597
6595
|
]),
|
|
6598
|
-
m("div",
|
|
6596
|
+
m("div", ap, [
|
|
6599
6597
|
(c(!0), _(Y, null, oe(h.value, ($, ne) => (c(), _("div", {
|
|
6600
6598
|
key: ne.toString()
|
|
6601
6599
|
}, [
|
|
@@ -6603,11 +6601,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6603
6601
|
for: `rla-form-request-limits-item-${ne}-legend`
|
|
6604
6602
|
}, {
|
|
6605
6603
|
default: M(() => [
|
|
6606
|
-
ce(
|
|
6604
|
+
ce(L(I(a)("rla.request_limits.label_index", { index: ne + 1 })), 1)
|
|
6607
6605
|
]),
|
|
6608
6606
|
_: 2
|
|
6609
6607
|
}, 1032, ["for"]),
|
|
6610
|
-
m("div",
|
|
6608
|
+
m("div", op, [
|
|
6611
6609
|
m("legend", {
|
|
6612
6610
|
id: `rla-form-request-limits-item-${ne}-legend`,
|
|
6613
6611
|
class: "rla-form-request-limits-inputs"
|
|
@@ -6618,23 +6616,23 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6618
6616
|
type: "number",
|
|
6619
6617
|
"onUpdate:modelValue": (re) => y(ne, Number.parseInt(re))
|
|
6620
6618
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
6621
|
-
m("div", null,
|
|
6619
|
+
m("div", null, L(I(a)("rla.request_limits.interval_determiner")), 1),
|
|
6622
6620
|
O(H, {
|
|
6623
6621
|
"model-value": $.windowSize && $.windowSize.toString(),
|
|
6624
6622
|
placeholder: I(a)("rla.request_limits.time_interval"),
|
|
6625
6623
|
type: "number",
|
|
6626
6624
|
"onUpdate:modelValue": (re) => v(ne, Number.parseInt(re))
|
|
6627
6625
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
6628
|
-
m("div", null,
|
|
6629
|
-
], 8,
|
|
6630
|
-
m("div",
|
|
6626
|
+
m("div", null, L(I(a)("rla.request_limits.seconds")), 1)
|
|
6627
|
+
], 8, rp),
|
|
6628
|
+
m("div", sp, [
|
|
6631
6629
|
O(ge, {
|
|
6632
6630
|
appearance: "tertiary",
|
|
6633
6631
|
disabled: h.value.length <= 1,
|
|
6634
6632
|
onClick: () => V(ne)
|
|
6635
6633
|
}, {
|
|
6636
6634
|
default: M(() => [
|
|
6637
|
-
O(I(
|
|
6635
|
+
O(I(Go))
|
|
6638
6636
|
]),
|
|
6639
6637
|
_: 2
|
|
6640
6638
|
}, 1032, ["disabled", "onClick"]),
|
|
@@ -6643,7 +6641,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6643
6641
|
onClick: () => g(ne)
|
|
6644
6642
|
}, {
|
|
6645
6643
|
default: M(() => [
|
|
6646
|
-
O(I(
|
|
6644
|
+
O(I(ei))
|
|
6647
6645
|
]),
|
|
6648
6646
|
_: 2
|
|
6649
6647
|
}, 1032, ["onClick"])
|
|
@@ -6651,18 +6649,18 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6651
6649
|
])
|
|
6652
6650
|
]))), 128))
|
|
6653
6651
|
]),
|
|
6654
|
-
d.value.length > 0 ? (c(), _("div",
|
|
6655
|
-
m("div", null,
|
|
6656
|
-
m("div",
|
|
6652
|
+
d.value.length > 0 ? (c(), _("div", lp, [
|
|
6653
|
+
m("div", null, L(I(a)("rla.start_with_a_use_case")), 1),
|
|
6654
|
+
m("div", dp, [
|
|
6657
6655
|
(c(!0), _(Y, null, oe(d.value, ($, ne) => (c(), U(fe, {
|
|
6658
6656
|
key: `use-case-${ne}`,
|
|
6659
6657
|
"max-width": "300"
|
|
6660
6658
|
}, {
|
|
6661
6659
|
content: M(() => [
|
|
6662
|
-
m("div", null,
|
|
6660
|
+
m("div", null, L($.description), 1),
|
|
6663
6661
|
w[10] || (w[10] = m("br", null, null, -1)),
|
|
6664
|
-
m("div", null,
|
|
6665
|
-
m("div", null,
|
|
6662
|
+
m("div", null, L(I(a)("rla.request_limits.label")) + ": " + L($.config.limit), 1),
|
|
6663
|
+
m("div", null, L(I(a)("rla.request_limits.time_interval")) + ": " + L($.config.window_size), 1)
|
|
6666
6664
|
]),
|
|
6667
6665
|
default: M(() => [
|
|
6668
6666
|
O(Ke, {
|
|
@@ -6671,7 +6669,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6671
6669
|
onClick: () => T($, `${k.value}-${ne}`)
|
|
6672
6670
|
}, {
|
|
6673
6671
|
default: M(() => [
|
|
6674
|
-
ce(
|
|
6672
|
+
ce(L($.label), 1)
|
|
6675
6673
|
]),
|
|
6676
6674
|
_: 2
|
|
6677
6675
|
}, 1032, ["appearance", "onClick"])
|
|
@@ -6702,7 +6700,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6702
6700
|
"label-tooltip": M(() => [
|
|
6703
6701
|
m("div", {
|
|
6704
6702
|
innerHTML: u.value && u.value.help
|
|
6705
|
-
}, null, 8,
|
|
6703
|
+
}, null, 8, up)
|
|
6706
6704
|
]),
|
|
6707
6705
|
_: 1
|
|
6708
6706
|
}, 8, ["modelValue", "items", "label"]),
|
|
@@ -6717,11 +6715,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6717
6715
|
}
|
|
6718
6716
|
}, {
|
|
6719
6717
|
default: M(() => [
|
|
6720
|
-
ce(
|
|
6718
|
+
ce(L(I(a)("rla.error_message.label")), 1)
|
|
6721
6719
|
]),
|
|
6722
6720
|
_: 1
|
|
6723
6721
|
}, 8, ["info"]),
|
|
6724
|
-
m("legend",
|
|
6722
|
+
m("legend", cp, [
|
|
6725
6723
|
O(H, {
|
|
6726
6724
|
class: "input-error-code",
|
|
6727
6725
|
"model-value": C.value && C.value.toString(),
|
|
@@ -6731,7 +6729,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6731
6729
|
}, null, 8, ["model-value", "placeholder"]),
|
|
6732
6730
|
w[11] || (w[11] = m("div", null, ":", -1)),
|
|
6733
6731
|
O(H, {
|
|
6734
|
-
"model-value":
|
|
6732
|
+
"model-value": N.value,
|
|
6735
6733
|
placeholder: I(a)("rla.error_message.message_placeholder"),
|
|
6736
6734
|
"onUpdate:modelValue": w[4] || (w[4] = ($) => E.onModelUpdated($, "config-error_message"))
|
|
6737
6735
|
}, null, 8, ["model-value", "placeholder"])
|
|
@@ -6783,20 +6781,20 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6783
6781
|
], 64);
|
|
6784
6782
|
};
|
|
6785
6783
|
}
|
|
6786
|
-
}),
|
|
6784
|
+
}), fp = /* @__PURE__ */ W(mp, [["__scopeId", "data-v-dc7ac5da"]]), Tp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6787
6785
|
__proto__: null,
|
|
6788
|
-
ACMEForm:
|
|
6789
|
-
ExitTransformer:
|
|
6790
|
-
OIDCForm:
|
|
6791
|
-
PostFunction:
|
|
6792
|
-
RLAForm:
|
|
6793
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6786
|
+
ACMEForm: Xh,
|
|
6787
|
+
ExitTransformer: qh,
|
|
6788
|
+
OIDCForm: Dh,
|
|
6789
|
+
PostFunction: Vh,
|
|
6790
|
+
RLAForm: fp
|
|
6791
|
+
}, Symbol.toStringTag, { value: "Module" })), Sp = [
|
|
6794
6792
|
"array",
|
|
6795
6793
|
"metric",
|
|
6796
6794
|
"advanced",
|
|
6797
6795
|
"selectionGroup",
|
|
6798
6796
|
"object-advanced"
|
|
6799
|
-
],
|
|
6797
|
+
], wp = (e) => ({
|
|
6800
6798
|
"openid-connect": "OIDCForm",
|
|
6801
6799
|
"post-function": "PostFunction",
|
|
6802
6800
|
// Pre and Post function plugins are using same component
|
|
@@ -6805,18 +6803,18 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6805
6803
|
"rate-limiting-advanced": "RLAForm"
|
|
6806
6804
|
})[e];
|
|
6807
6805
|
export {
|
|
6808
|
-
|
|
6806
|
+
Le as AUTOFILL_SLOT,
|
|
6809
6807
|
Mt as AUTOFILL_SLOT_NAME,
|
|
6810
6808
|
je as FIELD_STATES,
|
|
6811
6809
|
Se as FORMS_API_KEY,
|
|
6812
|
-
|
|
6810
|
+
rl as FORMS_CONFIG,
|
|
6813
6811
|
un as PartialType,
|
|
6814
|
-
|
|
6815
|
-
|
|
6812
|
+
sl as REDIS_PARTIAL_FETCHER_KEY,
|
|
6813
|
+
bp as REDIS_PARTIAL_INFO,
|
|
6816
6814
|
ue as VueFormGenerator,
|
|
6817
|
-
|
|
6815
|
+
_p as abstractField,
|
|
6818
6816
|
qe as composables,
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6817
|
+
Sp as customFields,
|
|
6818
|
+
wp as getSharedFormName,
|
|
6819
|
+
Tp as sharedForms
|
|
6822
6820
|
};
|