@kong-ui-public/forms 4.31.4 → 4.31.5-pr.3555.53c6855c5.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 { openBlock as d, createElementBlock as M, createElementVNode as u, toDisplayString as $, normalizeClass as ne, createVNode as A, defineComponent as be, provide as ln, resolveComponent as k, withCtx as E, renderSlot as we, unref as P, createTextVNode as Z, useModel as
|
|
1
|
+
import { openBlock as d, createElementBlock as M, createElementVNode as u, toDisplayString as $, normalizeClass as ne, createVNode as A, defineComponent as be, provide as ln, resolveComponent as k, withCtx as E, renderSlot as we, unref as P, createTextVNode as Z, useModel as Us, createBlock as L, createSlots as et, mergeModels as na, inject as on, ref as re, onMounted as vi, watch as dn, resolveDynamicComponent as le, Fragment as Y, renderList as se, computed as B, toRefs as Mt, onBeforeMount as bi, mergeProps as tt, Transition as Ls, createCommentVNode as z, resolveDirective as so, withDirectives as Fe, vModelText as Qt, vModelCheckbox as Ds, vModelSelect as Ps, vModelDynamic as ro, isRef as Vt, toRef as lo, vModelRadio as Vs, vShow as Ks, withModifiers as ia, normalizeProps as js, guardReactiveProps as xs, useSlots as Mn, nextTick as aa } from "vue";
|
|
2
2
|
import { createI18n as De } from "@kong-ui-public/i18n";
|
|
3
|
-
import { TrashIcon as Kt, SearchIcon as
|
|
4
|
-
import { isAxiosError as
|
|
5
|
-
import { useStringHelpers as
|
|
3
|
+
import { TrashIcon as Kt, SearchIcon as $s, AddIcon as wn, WorldIcon as zs, KeyIcon as qs, CloseIcon as Bs, BookIcon as Hs, RemoveIcon as Gs } from "@kong/icons";
|
|
4
|
+
import { isAxiosError as Ys } from "axios";
|
|
5
|
+
import { useStringHelpers as Ws, useErrors as Zs, useDebouncedFilter as Xs, useAxios as ci } from "@kong-ui-public/entities-shared";
|
|
6
6
|
function co(e, t) {
|
|
7
7
|
for (var n = -1, o = e == null ? 0 : e.length; ++n < o && t(e[n], n, e) !== !1; )
|
|
8
8
|
;
|
|
9
9
|
return e;
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function Js(e) {
|
|
12
12
|
return function(t, n, o) {
|
|
13
13
|
for (var a = -1, i = Object(t), r = o(t), l = r.length; l--; ) {
|
|
14
14
|
var c = r[++a];
|
|
@@ -18,59 +18,59 @@ function Xs(e) {
|
|
|
18
18
|
return t;
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
var
|
|
22
|
-
function
|
|
21
|
+
var Qs = Js();
|
|
22
|
+
function er(e, t) {
|
|
23
23
|
for (var n = -1, o = Array(e); ++n < e; )
|
|
24
24
|
o[n] = t(n);
|
|
25
25
|
return o;
|
|
26
26
|
}
|
|
27
|
-
var uo = typeof global == "object" && global && global.Object === Object && global,
|
|
28
|
-
function
|
|
29
|
-
var t =
|
|
27
|
+
var uo = typeof global == "object" && global && global.Object === Object && global, tr = typeof self == "object" && self && self.Object === Object && self, xe = uo || tr || Function("return this")(), mt = xe.Symbol, mo = Object.prototype, nr = mo.hasOwnProperty, ir = mo.toString, Gt = mt ? mt.toStringTag : void 0;
|
|
28
|
+
function ar(e) {
|
|
29
|
+
var t = nr.call(e, Gt), n = e[Gt];
|
|
30
30
|
try {
|
|
31
31
|
e[Gt] = void 0;
|
|
32
32
|
var o = !0;
|
|
33
33
|
} catch {
|
|
34
34
|
}
|
|
35
|
-
var a =
|
|
35
|
+
var a = ir.call(e);
|
|
36
36
|
return o && (t ? e[Gt] = n : delete e[Gt]), a;
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
function
|
|
40
|
-
return
|
|
38
|
+
var or = Object.prototype, sr = or.toString;
|
|
39
|
+
function rr(e) {
|
|
40
|
+
return sr.call(e);
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var lr = "[object Null]", dr = "[object Undefined]", oa = mt ? mt.toStringTag : void 0;
|
|
43
43
|
function ft(e) {
|
|
44
|
-
return e == null ? e === void 0 ?
|
|
44
|
+
return e == null ? e === void 0 ? dr : lr : oa && oa in Object(e) ? ar(e) : rr(e);
|
|
45
45
|
}
|
|
46
46
|
function ht(e) {
|
|
47
47
|
return e != null && typeof e == "object";
|
|
48
48
|
}
|
|
49
|
-
var
|
|
49
|
+
var cr = "[object Arguments]";
|
|
50
50
|
function sa(e) {
|
|
51
|
-
return ht(e) && ft(e) ==
|
|
51
|
+
return ht(e) && ft(e) == cr;
|
|
52
52
|
}
|
|
53
|
-
var fo = Object.prototype,
|
|
53
|
+
var fo = Object.prototype, ur = fo.hasOwnProperty, mr = fo.propertyIsEnumerable, fr = sa(/* @__PURE__ */ function() {
|
|
54
54
|
return arguments;
|
|
55
55
|
}()) ? sa : function(e) {
|
|
56
|
-
return ht(e) &&
|
|
56
|
+
return ht(e) && ur.call(e, "callee") && !mr.call(e, "callee");
|
|
57
57
|
}, pt = Array.isArray;
|
|
58
|
-
function
|
|
58
|
+
function hr() {
|
|
59
59
|
return !1;
|
|
60
60
|
}
|
|
61
|
-
var ho = typeof exports == "object" && exports && !exports.nodeType && exports, ra = ho && typeof module == "object" && module && !module.nodeType && module,
|
|
61
|
+
var ho = typeof exports == "object" && exports && !exports.nodeType && exports, ra = ho && typeof module == "object" && module && !module.nodeType && module, pr = ra && ra.exports === ho, la = pr ? xe.Buffer : void 0, gr = la ? la.isBuffer : void 0, po = gr || hr, yr = 9007199254740991, vr = /^(?:0|[1-9]\d*)$/;
|
|
62
62
|
function go(e, t) {
|
|
63
63
|
var n = typeof e;
|
|
64
|
-
return t = t ??
|
|
64
|
+
return t = t ?? yr, !!t && (n == "number" || n != "symbol" && vr.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
65
65
|
}
|
|
66
|
-
var
|
|
66
|
+
var br = 9007199254740991;
|
|
67
67
|
function yo(e) {
|
|
68
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
68
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= br;
|
|
69
69
|
}
|
|
70
|
-
var
|
|
71
|
-
oe[
|
|
72
|
-
oe[
|
|
73
|
-
function
|
|
70
|
+
var _r = "[object Arguments]", Sr = "[object Array]", Tr = "[object Boolean]", Mr = "[object Date]", wr = "[object Error]", Ar = "[object Function]", Er = "[object Map]", Ir = "[object Number]", Cr = "[object Object]", Or = "[object RegExp]", kr = "[object Set]", Rr = "[object String]", Fr = "[object WeakMap]", Nr = "[object ArrayBuffer]", Ur = "[object DataView]", Lr = "[object Float32Array]", Dr = "[object Float64Array]", Pr = "[object Int8Array]", Vr = "[object Int16Array]", Kr = "[object Int32Array]", jr = "[object Uint8Array]", xr = "[object Uint8ClampedArray]", $r = "[object Uint16Array]", zr = "[object Uint32Array]", oe = {};
|
|
71
|
+
oe[Lr] = oe[Dr] = oe[Pr] = oe[Vr] = oe[Kr] = oe[jr] = oe[xr] = oe[$r] = oe[zr] = !0;
|
|
72
|
+
oe[_r] = oe[Sr] = oe[Nr] = oe[Tr] = oe[Ur] = oe[Mr] = oe[wr] = oe[Ar] = oe[Er] = oe[Ir] = oe[Cr] = oe[Or] = oe[kr] = oe[Rr] = oe[Fr] = !1;
|
|
73
|
+
function qr(e) {
|
|
74
74
|
return ht(e) && yo(e.length) && !!oe[ft(e)];
|
|
75
75
|
}
|
|
76
76
|
function _i(e) {
|
|
@@ -78,26 +78,26 @@ function _i(e) {
|
|
|
78
78
|
return e(t);
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
-
var vo = typeof exports == "object" && exports && !exports.nodeType && exports, en = vo && typeof module == "object" && module && !module.nodeType && module,
|
|
81
|
+
var vo = typeof exports == "object" && exports && !exports.nodeType && exports, en = vo && typeof module == "object" && module && !module.nodeType && module, Br = en && en.exports === vo, Jn = Br && uo.process, Dt = function() {
|
|
82
82
|
try {
|
|
83
83
|
var e = en && en.require && en.require("util").types;
|
|
84
84
|
return e || Jn && Jn.binding && Jn.binding("util");
|
|
85
85
|
} catch {
|
|
86
86
|
}
|
|
87
|
-
}(), da = Dt && Dt.isTypedArray,
|
|
87
|
+
}(), da = Dt && Dt.isTypedArray, Hr = da ? _i(da) : qr, Gr = Object.prototype, Yr = Gr.hasOwnProperty;
|
|
88
88
|
function bo(e, t) {
|
|
89
|
-
var n = pt(e), o = !n &&
|
|
89
|
+
var n = pt(e), o = !n && fr(e), a = !n && !o && po(e), i = !n && !o && !a && Hr(e), r = n || o || a || i, l = r ? er(e.length, String) : [], c = l.length;
|
|
90
90
|
for (var m in e)
|
|
91
|
-
(t ||
|
|
91
|
+
(t || Yr.call(e, m)) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
92
92
|
(m == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
93
93
|
a && (m == "offset" || m == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
94
94
|
i && (m == "buffer" || m == "byteLength" || m == "byteOffset") || // Skip index properties.
|
|
95
95
|
go(m, c))) && l.push(m);
|
|
96
96
|
return l;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Wr = Object.prototype;
|
|
99
99
|
function Si(e) {
|
|
100
|
-
var t = e && e.constructor, n = typeof t == "function" && t.prototype ||
|
|
100
|
+
var t = e && e.constructor, n = typeof t == "function" && t.prototype || Wr;
|
|
101
101
|
return e === n;
|
|
102
102
|
}
|
|
103
103
|
function _o(e, t) {
|
|
@@ -105,36 +105,36 @@ function _o(e, t) {
|
|
|
105
105
|
return e(t(n));
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
|
-
var
|
|
109
|
-
function
|
|
108
|
+
var Zr = _o(Object.keys, Object), Xr = Object.prototype, Jr = Xr.hasOwnProperty;
|
|
109
|
+
function Qr(e) {
|
|
110
110
|
if (!Si(e))
|
|
111
|
-
return
|
|
111
|
+
return Zr(e);
|
|
112
112
|
var t = [];
|
|
113
113
|
for (var n in Object(e))
|
|
114
|
-
|
|
114
|
+
Jr.call(e, n) && n != "constructor" && t.push(n);
|
|
115
115
|
return t;
|
|
116
116
|
}
|
|
117
117
|
function Ue(e) {
|
|
118
118
|
var t = typeof e;
|
|
119
119
|
return e != null && (t == "object" || t == "function");
|
|
120
120
|
}
|
|
121
|
-
var
|
|
121
|
+
var el = "[object AsyncFunction]", tl = "[object Function]", nl = "[object GeneratorFunction]", il = "[object Proxy]";
|
|
122
122
|
function ie(e) {
|
|
123
123
|
if (!Ue(e))
|
|
124
124
|
return !1;
|
|
125
125
|
var t = ft(e);
|
|
126
|
-
return t ==
|
|
126
|
+
return t == tl || t == nl || t == el || t == il;
|
|
127
127
|
}
|
|
128
128
|
function An(e) {
|
|
129
129
|
return e != null && yo(e.length) && !ie(e);
|
|
130
130
|
}
|
|
131
131
|
function En(e) {
|
|
132
|
-
return An(e) ? bo(e) :
|
|
133
|
-
}
|
|
134
|
-
function il(e, t) {
|
|
135
|
-
return e && Js(e, t, En);
|
|
132
|
+
return An(e) ? bo(e) : Qr(e);
|
|
136
133
|
}
|
|
137
134
|
function al(e, t) {
|
|
135
|
+
return e && Qs(e, t, En);
|
|
136
|
+
}
|
|
137
|
+
function ol(e, t) {
|
|
138
138
|
return function(n, o) {
|
|
139
139
|
if (n == null)
|
|
140
140
|
return n;
|
|
@@ -145,40 +145,40 @@ function al(e, t) {
|
|
|
145
145
|
return n;
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
|
-
var
|
|
148
|
+
var sl = ol(al);
|
|
149
149
|
function Ti(e) {
|
|
150
150
|
return e;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function rl(e) {
|
|
153
153
|
return typeof e == "function" ? e : Ti;
|
|
154
154
|
}
|
|
155
155
|
function Re(e, t) {
|
|
156
|
-
var n = pt(e) ? co :
|
|
157
|
-
return n(e,
|
|
156
|
+
var n = pt(e) ? co : sl;
|
|
157
|
+
return n(e, rl(t));
|
|
158
158
|
}
|
|
159
|
-
var
|
|
159
|
+
var ll = "[object Symbol]";
|
|
160
160
|
function In(e) {
|
|
161
|
-
return typeof e == "symbol" || ht(e) && ft(e) ==
|
|
161
|
+
return typeof e == "symbol" || ht(e) && ft(e) == ll;
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
function
|
|
163
|
+
var dl = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, cl = /^\w*$/;
|
|
164
|
+
function ul(e, t) {
|
|
165
165
|
if (pt(e))
|
|
166
166
|
return !1;
|
|
167
167
|
var n = typeof e;
|
|
168
|
-
return n == "number" || n == "symbol" || n == "boolean" || e == null || In(e) ? !0 :
|
|
168
|
+
return n == "number" || n == "symbol" || n == "boolean" || e == null || In(e) ? !0 : cl.test(e) || !dl.test(e) || t != null && e in Object(t);
|
|
169
169
|
}
|
|
170
170
|
var Qn = xe["__core-js_shared__"], ca = function() {
|
|
171
171
|
var e = /[^.]+$/.exec(Qn && Qn.keys && Qn.keys.IE_PROTO || "");
|
|
172
172
|
return e ? "Symbol(src)_1." + e : "";
|
|
173
173
|
}();
|
|
174
|
-
function
|
|
174
|
+
function ml(e) {
|
|
175
175
|
return !!ca && ca in e;
|
|
176
176
|
}
|
|
177
|
-
var
|
|
177
|
+
var fl = Function.prototype, hl = fl.toString;
|
|
178
178
|
function wt(e) {
|
|
179
179
|
if (e != null) {
|
|
180
180
|
try {
|
|
181
|
-
return
|
|
181
|
+
return hl.call(e);
|
|
182
182
|
} catch {
|
|
183
183
|
}
|
|
184
184
|
try {
|
|
@@ -188,48 +188,48 @@ function wt(e) {
|
|
|
188
188
|
}
|
|
189
189
|
return "";
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
"^" +
|
|
191
|
+
var pl = /[\\^$.*+?()[\]{}|]/g, gl = /^\[object .+?Constructor\]$/, yl = Function.prototype, vl = Object.prototype, bl = yl.toString, _l = vl.hasOwnProperty, Sl = RegExp(
|
|
192
|
+
"^" + bl.call(_l).replace(pl, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
193
193
|
);
|
|
194
|
-
function
|
|
195
|
-
if (!Ue(e) ||
|
|
194
|
+
function Tl(e) {
|
|
195
|
+
if (!Ue(e) || ml(e))
|
|
196
196
|
return !1;
|
|
197
|
-
var t = ie(e) ?
|
|
197
|
+
var t = ie(e) ? Sl : gl;
|
|
198
198
|
return t.test(wt(e));
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function Ml(e, t) {
|
|
201
201
|
return e == null ? void 0 : e[t];
|
|
202
202
|
}
|
|
203
203
|
function At(e, t) {
|
|
204
|
-
var n =
|
|
205
|
-
return
|
|
204
|
+
var n = Ml(e, t);
|
|
205
|
+
return Tl(n) ? n : void 0;
|
|
206
206
|
}
|
|
207
207
|
var sn = At(Object, "create");
|
|
208
|
-
function
|
|
208
|
+
function wl() {
|
|
209
209
|
this.__data__ = sn ? sn(null) : {}, this.size = 0;
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function Al(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 El = "__lodash_hash_undefined__", Il = Object.prototype, Cl = Il.hasOwnProperty;
|
|
216
|
+
function Ol(e) {
|
|
217
217
|
var t = this.__data__;
|
|
218
218
|
if (sn) {
|
|
219
219
|
var n = t[e];
|
|
220
|
-
return n ===
|
|
220
|
+
return n === El ? void 0 : n;
|
|
221
221
|
}
|
|
222
|
-
return
|
|
222
|
+
return Cl.call(t, e) ? t[e] : void 0;
|
|
223
223
|
}
|
|
224
|
-
var
|
|
225
|
-
function
|
|
224
|
+
var kl = Object.prototype, Rl = kl.hasOwnProperty;
|
|
225
|
+
function Fl(e) {
|
|
226
226
|
var t = this.__data__;
|
|
227
|
-
return sn ? t[e] !== void 0 :
|
|
227
|
+
return sn ? t[e] !== void 0 : Rl.call(t, e);
|
|
228
228
|
}
|
|
229
|
-
var
|
|
230
|
-
function
|
|
229
|
+
var Nl = "__lodash_hash_undefined__";
|
|
230
|
+
function Ul(e, t) {
|
|
231
231
|
var n = this.__data__;
|
|
232
|
-
return this.size += this.has(e) ? 0 : 1, n[e] = sn && t === void 0 ?
|
|
232
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = sn && t === void 0 ? Nl : t, this;
|
|
233
233
|
}
|
|
234
234
|
function bt(e) {
|
|
235
235
|
var t = -1, n = e == null ? 0 : e.length;
|
|
@@ -238,12 +238,12 @@ function bt(e) {
|
|
|
238
238
|
this.set(o[0], o[1]);
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
|
-
bt.prototype.clear =
|
|
242
|
-
bt.prototype.delete =
|
|
243
|
-
bt.prototype.get =
|
|
244
|
-
bt.prototype.has =
|
|
245
|
-
bt.prototype.set =
|
|
246
|
-
function
|
|
241
|
+
bt.prototype.clear = wl;
|
|
242
|
+
bt.prototype.delete = Al;
|
|
243
|
+
bt.prototype.get = Ol;
|
|
244
|
+
bt.prototype.has = Fl;
|
|
245
|
+
bt.prototype.set = Ul;
|
|
246
|
+
function Ll() {
|
|
247
247
|
this.__data__ = [], this.size = 0;
|
|
248
248
|
}
|
|
249
249
|
function Cn(e, t) {
|
|
@@ -255,22 +255,22 @@ function On(e, t) {
|
|
|
255
255
|
return n;
|
|
256
256
|
return -1;
|
|
257
257
|
}
|
|
258
|
-
var
|
|
259
|
-
function
|
|
258
|
+
var Dl = Array.prototype, Pl = Dl.splice;
|
|
259
|
+
function Vl(e) {
|
|
260
260
|
var t = this.__data__, n = On(t, e);
|
|
261
261
|
if (n < 0)
|
|
262
262
|
return !1;
|
|
263
263
|
var o = t.length - 1;
|
|
264
|
-
return n == o ? t.pop() :
|
|
264
|
+
return n == o ? t.pop() : Pl.call(t, n, 1), --this.size, !0;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function Kl(e) {
|
|
267
267
|
var t = this.__data__, n = On(t, e);
|
|
268
268
|
return n < 0 ? void 0 : t[n][1];
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function jl(e) {
|
|
271
271
|
return On(this.__data__, e) > -1;
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function xl(e, t) {
|
|
274
274
|
var n = this.__data__, o = On(n, e);
|
|
275
275
|
return o < 0 ? (++this.size, n.push([e, t])) : n[o][1] = t, this;
|
|
276
276
|
}
|
|
@@ -281,38 +281,38 @@ function nt(e) {
|
|
|
281
281
|
this.set(o[0], o[1]);
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
|
-
nt.prototype.clear =
|
|
285
|
-
nt.prototype.delete =
|
|
286
|
-
nt.prototype.get =
|
|
287
|
-
nt.prototype.has =
|
|
288
|
-
nt.prototype.set =
|
|
284
|
+
nt.prototype.clear = Ll;
|
|
285
|
+
nt.prototype.delete = Vl;
|
|
286
|
+
nt.prototype.get = Kl;
|
|
287
|
+
nt.prototype.has = jl;
|
|
288
|
+
nt.prototype.set = xl;
|
|
289
289
|
var rn = At(xe, "Map");
|
|
290
|
-
function
|
|
290
|
+
function $l() {
|
|
291
291
|
this.size = 0, this.__data__ = {
|
|
292
292
|
hash: new bt(),
|
|
293
293
|
map: new (rn || nt)(),
|
|
294
294
|
string: new bt()
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function zl(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 kn(e, t) {
|
|
302
302
|
var n = e.__data__;
|
|
303
|
-
return
|
|
303
|
+
return zl(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function ql(e) {
|
|
306
306
|
var t = kn(this, e).delete(e);
|
|
307
307
|
return this.size -= t ? 1 : 0, t;
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function Bl(e) {
|
|
310
310
|
return kn(this, e).get(e);
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function Hl(e) {
|
|
313
313
|
return kn(this, e).has(e);
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function Gl(e, t) {
|
|
316
316
|
var n = kn(this, e), o = n.size;
|
|
317
317
|
return n.set(e, t), this.size += n.size == o ? 0 : 1, this;
|
|
318
318
|
}
|
|
@@ -323,15 +323,15 @@ function it(e) {
|
|
|
323
323
|
this.set(o[0], o[1]);
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
it.prototype.clear =
|
|
327
|
-
it.prototype.delete =
|
|
328
|
-
it.prototype.get =
|
|
329
|
-
it.prototype.has =
|
|
330
|
-
it.prototype.set =
|
|
331
|
-
var
|
|
326
|
+
it.prototype.clear = $l;
|
|
327
|
+
it.prototype.delete = ql;
|
|
328
|
+
it.prototype.get = Bl;
|
|
329
|
+
it.prototype.has = Hl;
|
|
330
|
+
it.prototype.set = Gl;
|
|
331
|
+
var Yl = "Expected a function";
|
|
332
332
|
function Mi(e, t) {
|
|
333
333
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
334
|
-
throw new TypeError(
|
|
334
|
+
throw new TypeError(Yl);
|
|
335
335
|
var n = function() {
|
|
336
336
|
var o = arguments, a = t ? t.apply(this, o) : o[0], i = n.cache;
|
|
337
337
|
if (i.has(a))
|
|
@@ -342,20 +342,20 @@ function Mi(e, t) {
|
|
|
342
342
|
return n.cache = new (Mi.Cache || it)(), n;
|
|
343
343
|
}
|
|
344
344
|
Mi.Cache = it;
|
|
345
|
-
var
|
|
346
|
-
function
|
|
345
|
+
var Wl = 500;
|
|
346
|
+
function Zl(e) {
|
|
347
347
|
var t = Mi(e, function(o) {
|
|
348
|
-
return n.size ===
|
|
348
|
+
return n.size === Wl && n.clear(), o;
|
|
349
349
|
}), n = t.cache;
|
|
350
350
|
return t;
|
|
351
351
|
}
|
|
352
|
-
var
|
|
352
|
+
var Xl = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Jl = /\\(\\)?/g, Ql = Zl(function(e) {
|
|
353
353
|
var t = [];
|
|
354
|
-
return e.charCodeAt(0) === 46 && t.push(""), e.replace(
|
|
355
|
-
t.push(a ? i.replace(
|
|
354
|
+
return e.charCodeAt(0) === 46 && t.push(""), e.replace(Xl, function(n, o, a, i) {
|
|
355
|
+
t.push(a ? i.replace(Jl, "$1") : o || n);
|
|
356
356
|
}), t;
|
|
357
357
|
});
|
|
358
|
-
function
|
|
358
|
+
function ed(e, t) {
|
|
359
359
|
for (var n = -1, o = e == null ? 0 : e.length, a = Array(o); ++n < o; )
|
|
360
360
|
a[n] = t(e[n], n, e);
|
|
361
361
|
return a;
|
|
@@ -365,7 +365,7 @@ function So(e) {
|
|
|
365
365
|
if (typeof e == "string")
|
|
366
366
|
return e;
|
|
367
367
|
if (pt(e))
|
|
368
|
-
return
|
|
368
|
+
return ed(e, So) + "";
|
|
369
369
|
if (In(e))
|
|
370
370
|
return ma ? ma.call(e) : "";
|
|
371
371
|
var t = e + "";
|
|
@@ -374,44 +374,44 @@ function So(e) {
|
|
|
374
374
|
function To(e) {
|
|
375
375
|
return e == null ? "" : So(e);
|
|
376
376
|
}
|
|
377
|
-
function
|
|
378
|
-
return pt(e) ? e :
|
|
377
|
+
function td(e, t) {
|
|
378
|
+
return pt(e) ? e : ul(e, t) ? [e] : Ql(To(e));
|
|
379
379
|
}
|
|
380
|
-
function
|
|
380
|
+
function nd(e) {
|
|
381
381
|
if (typeof e == "string" || In(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 id(e, t) {
|
|
387
|
+
t = td(t, e);
|
|
388
388
|
for (var n = 0, o = t.length; e != null && n < o; )
|
|
389
|
-
e = e[
|
|
389
|
+
e = e[nd(t[n++])];
|
|
390
390
|
return n && n == o ? e : void 0;
|
|
391
391
|
}
|
|
392
392
|
function te(e, t, n) {
|
|
393
|
-
var o = e == null ? void 0 :
|
|
393
|
+
var o = e == null ? void 0 : id(e, t);
|
|
394
394
|
return o === void 0 ? n : o;
|
|
395
395
|
}
|
|
396
396
|
function ve(e) {
|
|
397
397
|
return e == null;
|
|
398
398
|
}
|
|
399
|
-
const je = "kong-ui-forms-api", wi = "kong-ui-forms-config",
|
|
399
|
+
const je = "kong-ui-forms-api", wi = "kong-ui-forms-config", ad = "redis-partial-list-fetcher-key", wy = "redis-partial-info", jt = "autofill", Le = "autofillSlot", Ze = {
|
|
400
400
|
CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
|
|
401
401
|
CREATE_FROM_ENTITY: "CREATE_FROM_ENTITY",
|
|
402
402
|
UPDATE_ENTITY: "UPDATE_ENTITY",
|
|
403
403
|
SET_REFERRAL_VALUE: "SET_REFERRAL_VALUE"
|
|
404
|
-
},
|
|
404
|
+
}, od = "—";
|
|
405
405
|
/*! @license DOMPurify 3.4.11 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.11/LICENSE */
|
|
406
406
|
function fa(e, t) {
|
|
407
407
|
(t == null || t > e.length) && (t = e.length);
|
|
408
408
|
for (var n = 0, o = Array(t); n < t; n++) o[n] = e[n];
|
|
409
409
|
return o;
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function sd(e) {
|
|
412
412
|
if (Array.isArray(e)) return e;
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function rd(e, t) {
|
|
415
415
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
416
416
|
if (n != null) {
|
|
417
417
|
var o, a, i, r, l = [], c = !0, m = !1;
|
|
@@ -429,21 +429,21 @@ function sd(e, t) {
|
|
|
429
429
|
return l;
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
|
-
function
|
|
432
|
+
function ld() {
|
|
433
433
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
434
434
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
435
435
|
}
|
|
436
|
-
function ld(e, t) {
|
|
437
|
-
return od(e) || sd(e, t) || dd(e, t) || rd();
|
|
438
|
-
}
|
|
439
436
|
function dd(e, t) {
|
|
437
|
+
return sd(e) || rd(e, t) || cd(e, t) || ld();
|
|
438
|
+
}
|
|
439
|
+
function cd(e, t) {
|
|
440
440
|
if (e) {
|
|
441
441
|
if (typeof e == "string") return fa(e, t);
|
|
442
442
|
var n = {}.toString.call(e).slice(8, -1);
|
|
443
443
|
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? fa(e, t) : void 0;
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
|
-
const Mo = Object.entries, ha = Object.setPrototypeOf,
|
|
446
|
+
const Mo = Object.entries, ha = Object.setPrototypeOf, ud = Object.isFrozen, md = Object.getPrototypeOf, fd = Object.getOwnPropertyDescriptor;
|
|
447
447
|
let Ie = Object.freeze, Ce = Object.seal, Ft = Object.create, wo = typeof Reflect < "u" && Reflect, ui = wo.apply, mi = wo.construct;
|
|
448
448
|
Ie || (Ie = function(t) {
|
|
449
449
|
return t;
|
|
@@ -461,7 +461,7 @@ mi || (mi = function(t) {
|
|
|
461
461
|
o[a - 1] = arguments[a];
|
|
462
462
|
return new t(...o);
|
|
463
463
|
});
|
|
464
|
-
const Yt = Se(Array.prototype.forEach),
|
|
464
|
+
const Yt = Se(Array.prototype.forEach), hd = Se(Array.prototype.lastIndexOf), pa = Se(Array.prototype.pop), Rt = Se(Array.prototype.push), pd = Se(Array.prototype.splice), ut = Array.isArray, Jt = Se(String.prototype.toLowerCase), ei = Se(String.prototype.toString), ga = Se(String.prototype.match), Wt = Se(String.prototype.replace), ya = Se(String.prototype.indexOf), gd = Se(String.prototype.trim), yd = Se(Number.prototype.toString), vd = Se(Boolean.prototype.toString), va = typeof BigInt > "u" ? null : Se(BigInt.prototype.toString), ba = typeof Symbol > "u" ? null : Se(Symbol.prototype.toString), Me = Se(Object.prototype.hasOwnProperty), Zt = Se(Object.prototype.toString), Ae = Se(RegExp.prototype.test), vt = bd(TypeError);
|
|
465
465
|
function Se(e) {
|
|
466
466
|
return function(t) {
|
|
467
467
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
@@ -470,7 +470,7 @@ function Se(e) {
|
|
|
470
470
|
return ui(e, t, o);
|
|
471
471
|
};
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function bd(e) {
|
|
474
474
|
return function() {
|
|
475
475
|
for (var t = arguments.length, n = new Array(t), o = 0; o < t; o++)
|
|
476
476
|
n[o] = arguments[o];
|
|
@@ -486,13 +486,13 @@ function X(e, t) {
|
|
|
486
486
|
let a = t[o];
|
|
487
487
|
if (typeof a == "string") {
|
|
488
488
|
const i = n(a);
|
|
489
|
-
i !== a && (
|
|
489
|
+
i !== a && (ud(t) || (t[o] = i), a = i);
|
|
490
490
|
}
|
|
491
491
|
e[a] = !0;
|
|
492
492
|
}
|
|
493
493
|
return e;
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function _d(e) {
|
|
496
496
|
for (let t = 0; t < e.length; t++)
|
|
497
497
|
Me(e, t) || (e[t] = null);
|
|
498
498
|
return e;
|
|
@@ -500,20 +500,20 @@ function bd(e) {
|
|
|
500
500
|
function ke(e) {
|
|
501
501
|
const t = Ft(null);
|
|
502
502
|
for (const o of Mo(e)) {
|
|
503
|
-
var n =
|
|
503
|
+
var n = dd(o, 2);
|
|
504
504
|
const a = n[0], i = n[1];
|
|
505
|
-
Me(e, a) && (ut(i) ? t[a] =
|
|
505
|
+
Me(e, a) && (ut(i) ? t[a] = _d(i) : i && typeof i == "object" && i.constructor === Object ? t[a] = ke(i) : t[a] = i);
|
|
506
506
|
}
|
|
507
507
|
return t;
|
|
508
508
|
}
|
|
509
|
-
function
|
|
509
|
+
function Sd(e) {
|
|
510
510
|
switch (typeof e) {
|
|
511
511
|
case "string":
|
|
512
512
|
return e;
|
|
513
513
|
case "number":
|
|
514
|
-
return gd(e);
|
|
515
|
-
case "boolean":
|
|
516
514
|
return yd(e);
|
|
515
|
+
case "boolean":
|
|
516
|
+
return vd(e);
|
|
517
517
|
case "bigint":
|
|
518
518
|
return va ? va(e) : "0";
|
|
519
519
|
case "symbol":
|
|
@@ -537,34 +537,34 @@ function _d(e) {
|
|
|
537
537
|
}
|
|
538
538
|
function We(e, t) {
|
|
539
539
|
for (; e !== null; ) {
|
|
540
|
-
const o =
|
|
540
|
+
const o = fd(e, t);
|
|
541
541
|
if (o) {
|
|
542
542
|
if (o.get)
|
|
543
543
|
return Se(o.get);
|
|
544
544
|
if (typeof o.value == "function")
|
|
545
545
|
return Se(o.value);
|
|
546
546
|
}
|
|
547
|
-
e =
|
|
547
|
+
e = md(e);
|
|
548
548
|
}
|
|
549
549
|
function n() {
|
|
550
550
|
return null;
|
|
551
551
|
}
|
|
552
552
|
return n;
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function Td(e) {
|
|
555
555
|
try {
|
|
556
556
|
return Ae(e, ""), !0;
|
|
557
557
|
} catch {
|
|
558
558
|
return !1;
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
|
-
const _a = Ie(["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", "search", "section", "select", "shadow", "slot", "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"]), ti = Ie(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), ni = Ie(["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"]),
|
|
561
|
+
const _a = Ie(["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", "search", "section", "select", "shadow", "slot", "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"]), ti = Ie(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), ni = Ie(["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"]), Md = Ie(["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"]), ii = Ie(["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"]), wd = Ie(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Sa = Ie(["#text"]), Ta = Ie(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "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", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), ai = Ie(["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", "mask-type", "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"]), Ma = Ie(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "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"]), yn = Ie(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ad = Ce(/{{[\w\W]*|^[\w\W]*}}/g), Ed = Ce(/<%[\w\W]*|^[\w\W]*%>/g), Id = Ce(/\${[\w\W]*/g), Cd = Ce(/^data-[\-\w.\u00B7-\uFFFF]+$/), Od = Ce(/^aria-[\-\w]+$/), wa = Ce(
|
|
562
562
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
563
563
|
// eslint-disable-line no-useless-escape
|
|
564
|
-
),
|
|
564
|
+
), kd = Ce(/^(?:\w+script|data):/i), Rd = Ce(
|
|
565
565
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
566
566
|
// eslint-disable-line no-control-regex
|
|
567
|
-
),
|
|
567
|
+
), Fd = Ce(/^html$/i), Nd = Ce(/^[a-z][.\w]*(-[.\w]+)+$/i), Aa = Ce(/<[/\w!]/g), Ud = Ce(/<[/\w]/g), Ld = Ce(/<\/no(script|embed|frames)/i), Dd = Ce(/\/>/i), Ye = {
|
|
568
568
|
element: 1,
|
|
569
569
|
attribute: 2,
|
|
570
570
|
text: 3,
|
|
@@ -580,9 +580,9 @@ const _a = Ie(["a", "abbr", "acronym", "address", "area", "article", "aside", "a
|
|
|
580
580
|
documentFragment: 11,
|
|
581
581
|
notation: 12
|
|
582
582
|
// Deprecated
|
|
583
|
-
},
|
|
583
|
+
}, Pd = function() {
|
|
584
584
|
return typeof window > "u" ? null : window;
|
|
585
|
-
},
|
|
585
|
+
}, Vd = function(t, n) {
|
|
586
586
|
if (typeof t != "object" || typeof t.createPolicy != "function")
|
|
587
587
|
return null;
|
|
588
588
|
let o = null;
|
|
@@ -617,7 +617,7 @@ const _a = Ie(["a", "abbr", "acronym", "address", "area", "article", "aside", "a
|
|
|
617
617
|
return Me(t, n) && ut(t[n]) ? X(a.base ? ke(a.base) : {}, t[n], a.transform) : o;
|
|
618
618
|
};
|
|
619
619
|
function Ao() {
|
|
620
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
620
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Pd();
|
|
621
621
|
const t = (N) => Ao(N);
|
|
622
622
|
if (t.version = "3.4.11", t.removed = [], !e || !e.document || e.document.nodeType !== Ye.document || !e.Element)
|
|
623
623
|
return t.isSupported = !1, t;
|
|
@@ -650,11 +650,11 @@ function Ao() {
|
|
|
650
650
|
p--;
|
|
651
651
|
}
|
|
652
652
|
}, W = function() {
|
|
653
|
-
return V || (U =
|
|
653
|
+
return V || (U = Vd(f, a), V = !0), U;
|
|
654
654
|
}, ee = n, $e = ee.implementation, ge = ee.createNodeIterator, at = ee.createDocumentFragment, Nn = ee.getElementsByTagName, Un = o.importNode;
|
|
655
655
|
let q = Ea();
|
|
656
656
|
t.isSupported = typeof Mo == "function" && typeof D == "function" && $e && $e.createHTMLDocument !== void 0;
|
|
657
|
-
const ce =
|
|
657
|
+
const ce = Ad, $t = Ed, fs = Id, hs = Cd, ps = Od, gs = kd, ki = Rd, ys = Nd;
|
|
658
658
|
let Ri = wa, ue = null;
|
|
659
659
|
const Fi = X({}, [..._a, ...ti, ...ni, ...ii, ...Sa]);
|
|
660
660
|
let me = null;
|
|
@@ -738,26 +738,26 @@ function Ao() {
|
|
|
738
738
|
let zn = null;
|
|
739
739
|
const zi = X({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), mn = "http://www.w3.org/1998/Math/MathML", fn = "http://www.w3.org/2000/svg", Ge = "http://www.w3.org/1999/xhtml";
|
|
740
740
|
let Ct = Ge, qn = !1, Bn = null;
|
|
741
|
-
const
|
|
741
|
+
const vs = X({}, [mn, fn, Ge], ei), qi = Ie(["mi", "mo", "mn", "ms", "mtext"]);
|
|
742
742
|
let Hn = X({}, qi);
|
|
743
743
|
const Bi = Ie(["annotation-xml"]);
|
|
744
744
|
let Gn = X({}, Bi);
|
|
745
|
-
const
|
|
745
|
+
const bs = X({}, ["title", "style", "font", "a", "script"]);
|
|
746
746
|
let Bt = null;
|
|
747
|
-
const
|
|
747
|
+
const _s = ["application/xhtml+xml", "text/html"], Ss = "text/html";
|
|
748
748
|
let he = null, Ot = null;
|
|
749
|
-
const
|
|
749
|
+
const Ts = n.createElement("form"), Hi = function(s) {
|
|
750
750
|
return s instanceof RegExp || s instanceof Function;
|
|
751
751
|
}, Yn = function() {
|
|
752
752
|
let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
753
753
|
if (Ot && Ot === s)
|
|
754
754
|
return;
|
|
755
755
|
(!s || typeof s != "object") && (s = {}), s = ke(s), Bt = // eslint-disable-next-line unicorn/prefer-includes
|
|
756
|
-
|
|
756
|
+
_s.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? Ss : s.PARSER_MEDIA_TYPE, he = Bt === "application/xhtml+xml" ? ei : Jt, ue = lt(s, "ALLOWED_TAGS", Fi, {
|
|
757
757
|
transform: he
|
|
758
758
|
}), me = lt(s, "ALLOWED_ATTR", Ni, {
|
|
759
759
|
transform: he
|
|
760
|
-
}), Bn = lt(s, "ALLOWED_NAMESPACES",
|
|
760
|
+
}), Bn = lt(s, "ALLOWED_NAMESPACES", vs, {
|
|
761
761
|
transform: ei
|
|
762
762
|
}), zn = lt(s, "ADD_URI_SAFE_ATTR", zi, {
|
|
763
763
|
transform: he,
|
|
@@ -771,7 +771,7 @@ function Ao() {
|
|
|
771
771
|
transform: he
|
|
772
772
|
}), Ui = lt(s, "FORBID_ATTR", ke({}), {
|
|
773
773
|
transform: he
|
|
774
|
-
}), It = Me(s, "USE_PROFILES") ? s.USE_PROFILES && typeof s.USE_PROFILES == "object" ? ke(s.USE_PROFILES) : s.USE_PROFILES : !1, Li = s.ALLOW_ARIA_ATTR !== !1, Ln = s.ALLOW_DATA_ATTR !== !1, Di = s.ALLOW_UNKNOWN_PROTOCOLS || !1, Pi = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, st = s.SAFE_FOR_TEMPLATES || !1, qt = s.SAFE_FOR_XML !== !1, gt = s.WHOLE_DOCUMENT || !1, Et = s.RETURN_DOM || !1, cn = s.RETURN_DOM_FRAGMENT || !1, un = s.RETURN_TRUSTED_TYPE || !1, Kn = s.FORCE_BODY || !1, Vi = s.SANITIZE_DOM !== !1, Ki = s.SANITIZE_NAMED_PROPS || !1, jn = s.KEEP_CONTENT !== !1, xn = s.IN_PLACE || !1, Ri =
|
|
774
|
+
}), It = Me(s, "USE_PROFILES") ? s.USE_PROFILES && typeof s.USE_PROFILES == "object" ? ke(s.USE_PROFILES) : s.USE_PROFILES : !1, Li = s.ALLOW_ARIA_ATTR !== !1, Ln = s.ALLOW_DATA_ATTR !== !1, Di = s.ALLOW_UNKNOWN_PROTOCOLS || !1, Pi = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, st = s.SAFE_FOR_TEMPLATES || !1, qt = s.SAFE_FOR_XML !== !1, gt = s.WHOLE_DOCUMENT || !1, Et = s.RETURN_DOM || !1, cn = s.RETURN_DOM_FRAGMENT || !1, un = s.RETURN_TRUSTED_TYPE || !1, Kn = s.FORCE_BODY || !1, Vi = s.SANITIZE_DOM !== !1, Ki = s.SANITIZE_NAMED_PROPS || !1, jn = s.KEEP_CONTENT !== !1, xn = s.IN_PLACE || !1, Ri = Td(s.ALLOWED_URI_REGEXP) ? s.ALLOWED_URI_REGEXP : wa, Ct = typeof s.NAMESPACE == "string" ? s.NAMESPACE : Ge, Hn = Me(s, "MATHML_TEXT_INTEGRATION_POINTS") && s.MATHML_TEXT_INTEGRATION_POINTS && typeof s.MATHML_TEXT_INTEGRATION_POINTS == "object" ? ke(s.MATHML_TEXT_INTEGRATION_POINTS) : X({}, qi), Gn = Me(s, "HTML_INTEGRATION_POINTS") && s.HTML_INTEGRATION_POINTS && typeof s.HTML_INTEGRATION_POINTS == "object" ? ke(s.HTML_INTEGRATION_POINTS) : X({}, Bi);
|
|
775
775
|
const h = Me(s, "CUSTOM_ELEMENT_HANDLING") && s.CUSTOM_ELEMENT_HANDLING && typeof s.CUSTOM_ELEMENT_HANDLING == "object" ? ke(s.CUSTOM_ELEMENT_HANDLING) : Ft(null);
|
|
776
776
|
if (fe = Ft(null), Me(h, "tagNameCheck") && Hi(h.tagNameCheck) && (fe.tagNameCheck = h.tagNameCheck), Me(h, "attributeNameCheck") && Hi(h.attributeNameCheck) && (fe.attributeNameCheck = h.attributeNameCheck), Me(h, "allowCustomizedBuiltInElements") && typeof h.allowCustomizedBuiltInElements == "boolean" && (fe.allowCustomizedBuiltInElements = h.allowCustomizedBuiltInElements), Ce(fe), st && (Ln = !1), cn && (Et = !0), It && (ue = X({}, Sa), me = Ft(null), It.html === !0 && (X(ue, _a), X(me, Ta)), It.svg === !0 && (X(ue, ti), X(me, ai), X(me, yn)), It.svgFilters === !0 && (X(ue, ni), X(me, ai), X(me, yn)), It.mathMl === !0 && (X(ue, ii), X(me, Ma), X(me, yn))), ot.tagCheck = null, ot.attributeCheck = null, Me(s, "ADD_TAGS") && (typeof s.ADD_TAGS == "function" ? ot.tagCheck = s.ADD_TAGS : ut(s.ADD_TAGS) && (ue === Fi && (ue = ke(ue)), X(ue, s.ADD_TAGS, he))), Me(s, "ADD_ATTR") && (typeof s.ADD_ATTR == "function" ? ot.attributeCheck = s.ADD_ATTR : ut(s.ADD_ATTR) && (me === Ni && (me = ke(me)), X(me, s.ADD_ATTR, he))), Me(s, "ADD_URI_SAFE_ATTR") && ut(s.ADD_URI_SAFE_ATTR) && X(zn, s.ADD_URI_SAFE_ATTR, he), Me(s, "FORBID_CONTENTS") && ut(s.FORBID_CONTENTS) && (He === $n && (He = ke(He)), X(He, s.FORBID_CONTENTS, he)), Me(s, "ADD_FORBID_CONTENTS") && ut(s.ADD_FORBID_CONTENTS) && (He === $n && (He = ke(He)), X(He, s.ADD_FORBID_CONTENTS, he)), jn && (ue["#text"] = !0), gt && X(ue, ["html", "head", "body"]), ue.table && (X(ue, ["tbody"]), delete zt.tbody), s.TRUSTED_TYPES_POLICY) {
|
|
777
777
|
if (typeof s.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
@@ -787,20 +787,20 @@ function Ao() {
|
|
|
787
787
|
}
|
|
788
788
|
} else s.TRUSTED_TYPES_POLICY === null ? (y = void 0, S = "") : (y === void 0 && (y = W()), y && typeof S == "string" && (S = I("")));
|
|
789
789
|
Ie && Ie(s), Ot = s;
|
|
790
|
-
}, Gi = X({}, [...ti, ...ni, ...
|
|
790
|
+
}, Gi = X({}, [...ti, ...ni, ...Md]), Yi = X({}, [...ii, ...wd]), Ms = function(s, h, R) {
|
|
791
791
|
return h.namespaceURI === Ge ? s === "svg" : h.namespaceURI === mn ? s === "svg" && (R === "annotation-xml" || Hn[R]) : !!Gi[s];
|
|
792
|
-
}, Ms = function(s, h, R) {
|
|
793
|
-
return h.namespaceURI === Ge ? s === "math" : h.namespaceURI === fn ? s === "math" && Gn[R] : !!Yi[s];
|
|
794
792
|
}, ws = function(s, h, R) {
|
|
795
|
-
return h.namespaceURI ===
|
|
796
|
-
}, As = function(s) {
|
|
793
|
+
return h.namespaceURI === Ge ? s === "math" : h.namespaceURI === fn ? s === "math" && Gn[R] : !!Yi[s];
|
|
794
|
+
}, As = function(s, h, R) {
|
|
795
|
+
return h.namespaceURI === fn && !Gn[R] || h.namespaceURI === mn && !Hn[R] ? !1 : !Yi[s] && (bs[s] || !Gi[s]);
|
|
796
|
+
}, Es = function(s) {
|
|
797
797
|
let h = D(s);
|
|
798
798
|
(!h || !h.tagName) && (h = {
|
|
799
799
|
namespaceURI: Ct,
|
|
800
800
|
tagName: "template"
|
|
801
801
|
});
|
|
802
802
|
const R = Jt(s.tagName), x = Jt(h.tagName);
|
|
803
|
-
return Bn[s.namespaceURI] ? s.namespaceURI === fn ?
|
|
803
|
+
return Bn[s.namespaceURI] ? s.namespaceURI === fn ? Ms(R, h, x) : s.namespaceURI === mn ? ws(R, h, x) : s.namespaceURI === Ge ? As(R, h, x) : !!(Bt === "application/xhtml+xml" && Bn[s.namespaceURI]) : !1;
|
|
804
804
|
}, rt = function(s) {
|
|
805
805
|
Rt(t.removed, {
|
|
806
806
|
element: s
|
|
@@ -857,7 +857,7 @@ function Ao() {
|
|
|
857
857
|
h.setAttribute(s, "");
|
|
858
858
|
} catch {
|
|
859
859
|
}
|
|
860
|
-
},
|
|
860
|
+
}, Is = function(s) {
|
|
861
861
|
const h = j(s);
|
|
862
862
|
if (h)
|
|
863
863
|
for (let R = h.length - 1; R >= 0; --R) {
|
|
@@ -868,11 +868,11 @@ function Ao() {
|
|
|
868
868
|
} catch {
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
|
-
},
|
|
871
|
+
}, Cs = function(s) {
|
|
872
872
|
const h = [s];
|
|
873
873
|
for (; h.length > 0; ) {
|
|
874
874
|
const R = h.pop();
|
|
875
|
-
(O ? O(R) : R.nodeType) === Ye.element &&
|
|
875
|
+
(O ? O(R) : R.nodeType) === Ye.element && Is(R);
|
|
876
876
|
const G = F(R);
|
|
877
877
|
if (G)
|
|
878
878
|
for (let Q = G.length - 1; Q >= 0; --Q)
|
|
@@ -911,7 +911,7 @@ function Ao() {
|
|
|
911
911
|
null
|
|
912
912
|
);
|
|
913
913
|
}, hn = function(s) {
|
|
914
|
-
return s = Wt(s, ce, " "), s = Wt(s, $t, " "), s = Wt(s,
|
|
914
|
+
return s = Wt(s, ce, " "), s = Wt(s, $t, " "), s = Wt(s, fs, " "), s;
|
|
915
915
|
}, Wn = function(s) {
|
|
916
916
|
var h;
|
|
917
917
|
s.normalize();
|
|
@@ -977,9 +977,9 @@ function Ao() {
|
|
|
977
977
|
R.call(t, s, h, Ot);
|
|
978
978
|
});
|
|
979
979
|
}
|
|
980
|
-
const
|
|
981
|
-
return !!(qt && s.hasChildNodes() && !Ht(s.firstElementChild) && Ae(Aa, s.textContent) && Ae(Aa, s.innerHTML) || qt && s.namespaceURI === Ge && h === "style" && Ht(s.firstElementChild) || s.nodeType === Ye.processingInstruction || qt && s.nodeType === Ye.comment && Ae(
|
|
982
|
-
},
|
|
980
|
+
const Os = function(s, h) {
|
|
981
|
+
return !!(qt && s.hasChildNodes() && !Ht(s.firstElementChild) && Ae(Aa, s.textContent) && Ae(Aa, s.innerHTML) || qt && s.namespaceURI === Ge && h === "style" && Ht(s.firstElementChild) || s.nodeType === Ye.processingInstruction || qt && s.nodeType === Ye.comment && Ae(Ud, s.data));
|
|
982
|
+
}, ks = function(s, h) {
|
|
983
983
|
if (!zt[h] && ea(h) && (fe.tagNameCheck instanceof RegExp && Ae(fe.tagNameCheck, h) || fe.tagNameCheck instanceof Function && fe.tagNameCheck(h)))
|
|
984
984
|
return !1;
|
|
985
985
|
if (jn && !He[h]) {
|
|
@@ -1000,11 +1000,11 @@ function Ao() {
|
|
|
1000
1000
|
if (Xe(q.uponSanitizeElement, s, {
|
|
1001
1001
|
tagName: h,
|
|
1002
1002
|
allowedTags: ue
|
|
1003
|
-
}),
|
|
1003
|
+
}), Os(s, h))
|
|
1004
1004
|
return rt(s), !0;
|
|
1005
1005
|
if (zt[h] || !(ot.tagCheck instanceof Function && ot.tagCheck(h)) && !ue[h])
|
|
1006
|
-
return
|
|
1007
|
-
if ((O ? O(s) : s.nodeType) === Ye.element && !
|
|
1006
|
+
return ks(s, h);
|
|
1007
|
+
if ((O ? O(s) : s.nodeType) === Ye.element && !Es(s) || (h === "noscript" || h === "noembed" || h === "noframes") && Ae(Ld, s.innerHTML))
|
|
1008
1008
|
return rt(s), !0;
|
|
1009
1009
|
if (st && s.nodeType === Ye.text) {
|
|
1010
1010
|
const x = hn(s.textContent);
|
|
@@ -1014,16 +1014,16 @@ function Ao() {
|
|
|
1014
1014
|
}
|
|
1015
1015
|
return Xe(q.afterSanitizeElements, s, null), !1;
|
|
1016
1016
|
}, Qi = function(s, h, R) {
|
|
1017
|
-
if (Ui[h] || Vi && (h === "id" || h === "name") && (R in n || R in
|
|
1017
|
+
if (Ui[h] || Vi && (h === "id" || h === "name") && (R in n || R in Ts))
|
|
1018
1018
|
return !1;
|
|
1019
1019
|
const x = me[h] || ot.attributeCheck instanceof Function && ot.attributeCheck(h, s);
|
|
1020
|
-
if (!(Ln && Ae(
|
|
1021
|
-
if (!(Li && Ae(
|
|
1020
|
+
if (!(Ln && Ae(hs, h))) {
|
|
1021
|
+
if (!(Li && Ae(ps, h))) {
|
|
1022
1022
|
if (x) {
|
|
1023
1023
|
if (!zn[h]) {
|
|
1024
1024
|
if (!Ae(Ri, Wt(R, ki, ""))) {
|
|
1025
1025
|
if (!((h === "src" || h === "xlink:href" || h === "href") && s !== "script" && ya(R, "data:") === 0 && xi[s])) {
|
|
1026
|
-
if (!(Di && !Ae(
|
|
1026
|
+
if (!(Di && !Ae(gs, Wt(R, ki, "")))) {
|
|
1027
1027
|
if (R)
|
|
1028
1028
|
return !1;
|
|
1029
1029
|
}
|
|
@@ -1041,9 +1041,9 @@ function Ao() {
|
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
1043
|
return !0;
|
|
1044
|
-
},
|
|
1045
|
-
return !
|
|
1046
|
-
},
|
|
1044
|
+
}, Rs = X({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]), ea = function(s) {
|
|
1045
|
+
return !Rs[Jt(s)] && Ae(ys, s);
|
|
1046
|
+
}, Fs = function(s, h, R, x) {
|
|
1047
1047
|
if (y && typeof f == "object" && typeof f.getAttributeType == "function" && !R)
|
|
1048
1048
|
switch (f.getAttributeType(s, h)) {
|
|
1049
1049
|
case "TrustedHTML":
|
|
@@ -1052,7 +1052,7 @@ function Ao() {
|
|
|
1052
1052
|
return K(x);
|
|
1053
1053
|
}
|
|
1054
1054
|
return x;
|
|
1055
|
-
},
|
|
1055
|
+
}, Ns = function(s, h, R, x) {
|
|
1056
1056
|
try {
|
|
1057
1057
|
R ? s.setAttributeNS(R, h, x) : s.setAttribute(h, x), pn(s) ? rt(s) : pa(t.removed);
|
|
1058
1058
|
} catch {
|
|
@@ -1074,7 +1074,7 @@ function Ao() {
|
|
|
1074
1074
|
const G = he(s.nodeName);
|
|
1075
1075
|
for (; x--; ) {
|
|
1076
1076
|
const Q = h[x], Te = Q.name, _e = Q.namespaceURI, Ve = Q.value, ze = he(Te), Xn = Ve;
|
|
1077
|
-
let Oe = Te === "value" ? Xn :
|
|
1077
|
+
let Oe = Te === "value" ? Xn : gd(Xn);
|
|
1078
1078
|
if (R.attrName = ze, R.attrValue = Oe, R.keepAttr = !0, R.forceKeepAttr = void 0, Xe(q.uponSanitizeAttribute, s, R), Oe = R.attrValue, Ki && (ze === "id" || ze === "name") && ya(Oe, ji) !== 0 && (yt(Te, s), Oe = ji + Oe), qt && Ae(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Oe)) {
|
|
1079
1079
|
yt(Te, s);
|
|
1080
1080
|
continue;
|
|
@@ -1088,7 +1088,7 @@ function Ao() {
|
|
|
1088
1088
|
yt(Te, s);
|
|
1089
1089
|
continue;
|
|
1090
1090
|
}
|
|
1091
|
-
if (!Pi && Ae(
|
|
1091
|
+
if (!Pi && Ae(Dd, Oe)) {
|
|
1092
1092
|
yt(Te, s);
|
|
1093
1093
|
continue;
|
|
1094
1094
|
}
|
|
@@ -1096,7 +1096,7 @@ function Ao() {
|
|
|
1096
1096
|
yt(Te, s);
|
|
1097
1097
|
continue;
|
|
1098
1098
|
}
|
|
1099
|
-
Oe =
|
|
1099
|
+
Oe = Fs(G, ze, _e, Oe), Oe !== Xn && Ns(s, Te, _e, Oe);
|
|
1100
1100
|
}
|
|
1101
1101
|
}
|
|
1102
1102
|
Xe(q.afterSanitizeAttributes, s, null);
|
|
@@ -1151,7 +1151,7 @@ function Ao() {
|
|
|
1151
1151
|
};
|
|
1152
1152
|
return t.sanitize = function(N) {
|
|
1153
1153
|
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, h = null, R = null, x = null, G = null;
|
|
1154
|
-
if (qn = !N, qn && (N = "<!-->"), typeof N != "string" && !Ht(N) && (N =
|
|
1154
|
+
if (qn = !N, qn && (N = "<!-->"), typeof N != "string" && !Ht(N) && (N = Sd(N), typeof N != "string"))
|
|
1155
1155
|
throw vt("dirty is not a string, aborting");
|
|
1156
1156
|
if (!t.isSupported)
|
|
1157
1157
|
return N;
|
|
@@ -1190,7 +1190,7 @@ function Ao() {
|
|
|
1190
1190
|
}
|
|
1191
1191
|
if (Q)
|
|
1192
1192
|
return Yt(t.removed, (Ve) => {
|
|
1193
|
-
Ve.element &&
|
|
1193
|
+
Ve.element && Cs(Ve.element);
|
|
1194
1194
|
}), st && Wn(N), N;
|
|
1195
1195
|
if (Et) {
|
|
1196
1196
|
if (st && Wn(h), cn)
|
|
@@ -1201,7 +1201,7 @@ function Ao() {
|
|
|
1201
1201
|
return (me.shadowroot || me.shadowrootmode) && (G = Un.call(o, G, !0)), G;
|
|
1202
1202
|
}
|
|
1203
1203
|
let _e = gt ? h.outerHTML : h.innerHTML;
|
|
1204
|
-
return gt && ue["!doctype"] && h.ownerDocument && h.ownerDocument.doctype && h.ownerDocument.doctype.name && Ae(
|
|
1204
|
+
return gt && ue["!doctype"] && h.ownerDocument && h.ownerDocument.doctype && h.ownerDocument.doctype.name && Ae(Fd, h.ownerDocument.doctype.name) && (_e = "<!DOCTYPE " + h.ownerDocument.doctype.name + `>
|
|
1205
1205
|
` + _e), st && (_e = hn(_e)), y && un ? I(_e) : _e;
|
|
1206
1206
|
}, t.setConfig = function() {
|
|
1207
1207
|
let N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -1217,8 +1217,8 @@ function Ao() {
|
|
|
1217
1217
|
}, t.removeHook = function(N, s) {
|
|
1218
1218
|
if (Me(q, N)) {
|
|
1219
1219
|
if (s !== void 0) {
|
|
1220
|
-
const h =
|
|
1221
|
-
return h === -1 ? void 0 :
|
|
1220
|
+
const h = hd(q[N], s);
|
|
1221
|
+
return h === -1 ? void 0 : pd(q[N], h, 1)[0];
|
|
1222
1222
|
}
|
|
1223
1223
|
return pa(q[N]);
|
|
1224
1224
|
}
|
|
@@ -1229,25 +1229,25 @@ function Ao() {
|
|
|
1229
1229
|
}, t;
|
|
1230
1230
|
}
|
|
1231
1231
|
var Ai = Ao();
|
|
1232
|
-
function
|
|
1232
|
+
function Kd() {
|
|
1233
1233
|
this.__data__ = new nt(), this.size = 0;
|
|
1234
1234
|
}
|
|
1235
|
-
function
|
|
1235
|
+
function jd(e) {
|
|
1236
1236
|
var t = this.__data__, n = t.delete(e);
|
|
1237
1237
|
return this.size = t.size, n;
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function xd(e) {
|
|
1240
1240
|
return this.__data__.get(e);
|
|
1241
1241
|
}
|
|
1242
|
-
function
|
|
1242
|
+
function $d(e) {
|
|
1243
1243
|
return this.__data__.has(e);
|
|
1244
1244
|
}
|
|
1245
|
-
var
|
|
1246
|
-
function
|
|
1245
|
+
var zd = 200;
|
|
1246
|
+
function qd(e, t) {
|
|
1247
1247
|
var n = this.__data__;
|
|
1248
1248
|
if (n instanceof nt) {
|
|
1249
1249
|
var o = n.__data__;
|
|
1250
|
-
if (!rn || o.length <
|
|
1250
|
+
if (!rn || o.length < zd - 1)
|
|
1251
1251
|
return o.push([e, t]), this.size = ++n.size, this;
|
|
1252
1252
|
n = this.__data__ = new it(o);
|
|
1253
1253
|
}
|
|
@@ -1257,11 +1257,11 @@ function xt(e) {
|
|
|
1257
1257
|
var t = this.__data__ = new nt(e);
|
|
1258
1258
|
this.size = t.size;
|
|
1259
1259
|
}
|
|
1260
|
-
xt.prototype.clear =
|
|
1261
|
-
xt.prototype.delete =
|
|
1262
|
-
xt.prototype.get =
|
|
1263
|
-
xt.prototype.has =
|
|
1264
|
-
xt.prototype.set =
|
|
1260
|
+
xt.prototype.clear = Kd;
|
|
1261
|
+
xt.prototype.delete = jd;
|
|
1262
|
+
xt.prototype.get = xd;
|
|
1263
|
+
xt.prototype.has = $d;
|
|
1264
|
+
xt.prototype.set = qd;
|
|
1265
1265
|
var vn = function() {
|
|
1266
1266
|
try {
|
|
1267
1267
|
var e = At(Object, "defineProperty");
|
|
@@ -1277,10 +1277,10 @@ function Eo(e, t, n) {
|
|
|
1277
1277
|
writable: !0
|
|
1278
1278
|
}) : e[t] = n;
|
|
1279
1279
|
}
|
|
1280
|
-
var
|
|
1280
|
+
var Bd = Object.prototype, Hd = Bd.hasOwnProperty;
|
|
1281
1281
|
function Io(e, t, n) {
|
|
1282
1282
|
var o = e[t];
|
|
1283
|
-
(!(
|
|
1283
|
+
(!(Hd.call(e, t) && Cn(o, n)) || n === void 0 && !(t in e)) && Eo(e, t, n);
|
|
1284
1284
|
}
|
|
1285
1285
|
function Rn(e, t, n, o) {
|
|
1286
1286
|
var a = !n;
|
|
@@ -1291,45 +1291,45 @@ function Rn(e, t, n, o) {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
return n;
|
|
1293
1293
|
}
|
|
1294
|
-
function
|
|
1294
|
+
function Gd(e, t) {
|
|
1295
1295
|
return e && Rn(t, En(t), e);
|
|
1296
1296
|
}
|
|
1297
|
-
function
|
|
1297
|
+
function Yd(e) {
|
|
1298
1298
|
var t = [];
|
|
1299
1299
|
if (e != null)
|
|
1300
1300
|
for (var n in Object(e))
|
|
1301
1301
|
t.push(n);
|
|
1302
1302
|
return t;
|
|
1303
1303
|
}
|
|
1304
|
-
var
|
|
1305
|
-
function
|
|
1304
|
+
var Wd = Object.prototype, Zd = Wd.hasOwnProperty;
|
|
1305
|
+
function Xd(e) {
|
|
1306
1306
|
if (!Ue(e))
|
|
1307
|
-
return
|
|
1307
|
+
return Yd(e);
|
|
1308
1308
|
var t = Si(e), n = [];
|
|
1309
1309
|
for (var o in e)
|
|
1310
|
-
o == "constructor" && (t || !
|
|
1310
|
+
o == "constructor" && (t || !Zd.call(e, o)) || n.push(o);
|
|
1311
1311
|
return n;
|
|
1312
1312
|
}
|
|
1313
1313
|
function Fn(e) {
|
|
1314
|
-
return An(e) ? bo(e, !0) :
|
|
1314
|
+
return An(e) ? bo(e, !0) : Xd(e);
|
|
1315
1315
|
}
|
|
1316
|
-
function
|
|
1316
|
+
function Jd(e, t) {
|
|
1317
1317
|
return e && Rn(t, Fn(t), e);
|
|
1318
1318
|
}
|
|
1319
|
-
var Co = typeof exports == "object" && exports && !exports.nodeType && exports, Ia = Co && typeof module == "object" && module && !module.nodeType && module,
|
|
1320
|
-
function
|
|
1319
|
+
var Co = typeof exports == "object" && exports && !exports.nodeType && exports, Ia = Co && typeof module == "object" && module && !module.nodeType && module, Qd = Ia && Ia.exports === Co, Ca = Qd ? xe.Buffer : void 0, Oa = Ca ? Ca.allocUnsafe : void 0;
|
|
1320
|
+
function ec(e, t) {
|
|
1321
1321
|
if (t)
|
|
1322
1322
|
return e.slice();
|
|
1323
1323
|
var n = e.length, o = Oa ? Oa(n) : new e.constructor(n);
|
|
1324
1324
|
return e.copy(o), o;
|
|
1325
1325
|
}
|
|
1326
|
-
function
|
|
1326
|
+
function tc(e, t) {
|
|
1327
1327
|
var n = -1, o = e.length;
|
|
1328
1328
|
for (t || (t = Array(o)); ++n < o; )
|
|
1329
1329
|
t[n] = e[n];
|
|
1330
1330
|
return t;
|
|
1331
1331
|
}
|
|
1332
|
-
function
|
|
1332
|
+
function nc(e, t) {
|
|
1333
1333
|
for (var n = -1, o = e == null ? 0 : e.length, a = 0, i = []; ++n < o; ) {
|
|
1334
1334
|
var r = e[n];
|
|
1335
1335
|
t(r, n, e) && (i[a++] = r);
|
|
@@ -1339,12 +1339,12 @@ function tc(e, t) {
|
|
|
1339
1339
|
function Oo() {
|
|
1340
1340
|
return [];
|
|
1341
1341
|
}
|
|
1342
|
-
var
|
|
1343
|
-
return e == null ? [] : (e = Object(e),
|
|
1344
|
-
return
|
|
1342
|
+
var ic = Object.prototype, ac = ic.propertyIsEnumerable, ka = Object.getOwnPropertySymbols, Ei = ka ? function(e) {
|
|
1343
|
+
return e == null ? [] : (e = Object(e), nc(ka(e), function(t) {
|
|
1344
|
+
return ac.call(e, t);
|
|
1345
1345
|
}));
|
|
1346
1346
|
} : Oo;
|
|
1347
|
-
function
|
|
1347
|
+
function oc(e, t) {
|
|
1348
1348
|
return Rn(e, Ei(e), t);
|
|
1349
1349
|
}
|
|
1350
1350
|
function ko(e, t) {
|
|
@@ -1352,81 +1352,80 @@ function ko(e, t) {
|
|
|
1352
1352
|
e[a + n] = t[n];
|
|
1353
1353
|
return e;
|
|
1354
1354
|
}
|
|
1355
|
-
var Ro = _o(Object.getPrototypeOf, Object),
|
|
1355
|
+
var Ro = _o(Object.getPrototypeOf, Object), sc = Object.getOwnPropertySymbols, Fo = sc ? function(e) {
|
|
1356
1356
|
for (var t = []; e; )
|
|
1357
1357
|
ko(t, Ei(e)), e = Ro(e);
|
|
1358
1358
|
return t;
|
|
1359
1359
|
} : Oo;
|
|
1360
|
-
function
|
|
1360
|
+
function rc(e, t) {
|
|
1361
1361
|
return Rn(e, Fo(e), t);
|
|
1362
1362
|
}
|
|
1363
1363
|
function No(e, t, n) {
|
|
1364
1364
|
var o = t(e);
|
|
1365
1365
|
return pt(e) ? o : ko(o, n(e));
|
|
1366
1366
|
}
|
|
1367
|
-
function
|
|
1367
|
+
function lc(e) {
|
|
1368
1368
|
return No(e, En, Ei);
|
|
1369
1369
|
}
|
|
1370
|
-
function
|
|
1370
|
+
function dc(e) {
|
|
1371
1371
|
return No(e, Fn, Fo);
|
|
1372
1372
|
}
|
|
1373
|
-
var fi = At(xe, "DataView"), hi = At(xe, "Promise"), Ut = At(xe, "Set"), pi = At(xe, "WeakMap"), Ra = "[object Map]",
|
|
1373
|
+
var fi = At(xe, "DataView"), hi = At(xe, "Promise"), Ut = At(xe, "Set"), pi = At(xe, "WeakMap"), Ra = "[object Map]", cc = "[object Object]", Fa = "[object Promise]", Na = "[object Set]", Ua = "[object WeakMap]", La = "[object DataView]", uc = wt(fi), mc = wt(rn), fc = wt(hi), hc = wt(Ut), pc = wt(pi), Je = ft;
|
|
1374
1374
|
(fi && Je(new fi(new ArrayBuffer(1))) != La || rn && Je(new rn()) != Ra || hi && Je(hi.resolve()) != Fa || Ut && Je(new Ut()) != Na || pi && Je(new pi()) != Ua) && (Je = function(e) {
|
|
1375
|
-
var t = ft(e), n = t ==
|
|
1375
|
+
var t = ft(e), n = t == cc ? e.constructor : void 0, o = n ? wt(n) : "";
|
|
1376
1376
|
if (o)
|
|
1377
1377
|
switch (o) {
|
|
1378
|
-
case cc:
|
|
1379
|
-
return La;
|
|
1380
1378
|
case uc:
|
|
1381
|
-
return
|
|
1379
|
+
return La;
|
|
1382
1380
|
case mc:
|
|
1383
|
-
return
|
|
1381
|
+
return Ra;
|
|
1384
1382
|
case fc:
|
|
1385
|
-
return
|
|
1383
|
+
return Fa;
|
|
1386
1384
|
case hc:
|
|
1385
|
+
return Na;
|
|
1386
|
+
case pc:
|
|
1387
1387
|
return Ua;
|
|
1388
1388
|
}
|
|
1389
1389
|
return t;
|
|
1390
1390
|
});
|
|
1391
|
-
var
|
|
1392
|
-
function
|
|
1391
|
+
var gc = Object.prototype, yc = gc.hasOwnProperty;
|
|
1392
|
+
function vc(e) {
|
|
1393
1393
|
var t = e.length, n = new e.constructor(t);
|
|
1394
|
-
return t && typeof e[0] == "string" &&
|
|
1394
|
+
return t && typeof e[0] == "string" && yc.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
1395
1395
|
}
|
|
1396
1396
|
var Da = xe.Uint8Array;
|
|
1397
1397
|
function Ii(e) {
|
|
1398
1398
|
var t = new e.constructor(e.byteLength);
|
|
1399
1399
|
return new Da(t).set(new Da(e)), t;
|
|
1400
1400
|
}
|
|
1401
|
-
function
|
|
1401
|
+
function bc(e, t) {
|
|
1402
1402
|
var n = t ? Ii(e.buffer) : e.buffer;
|
|
1403
1403
|
return new e.constructor(n, e.byteOffset, e.byteLength);
|
|
1404
1404
|
}
|
|
1405
|
-
var
|
|
1406
|
-
function
|
|
1407
|
-
var t = new e.constructor(e.source,
|
|
1405
|
+
var _c = /\w*$/;
|
|
1406
|
+
function Sc(e) {
|
|
1407
|
+
var t = new e.constructor(e.source, _c.exec(e));
|
|
1408
1408
|
return t.lastIndex = e.lastIndex, t;
|
|
1409
1409
|
}
|
|
1410
1410
|
var Pa = mt ? mt.prototype : void 0, Va = Pa ? Pa.valueOf : void 0;
|
|
1411
|
-
function
|
|
1411
|
+
function Tc(e) {
|
|
1412
1412
|
return Va ? Object(Va.call(e)) : {};
|
|
1413
1413
|
}
|
|
1414
|
-
function
|
|
1414
|
+
function Mc(e, t) {
|
|
1415
1415
|
var n = t ? Ii(e.buffer) : e.buffer;
|
|
1416
1416
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
1417
1417
|
}
|
|
1418
|
-
var
|
|
1419
|
-
function
|
|
1418
|
+
var wc = "[object Boolean]", Ac = "[object Date]", Ec = "[object Map]", Ic = "[object Number]", Cc = "[object RegExp]", Oc = "[object Set]", kc = "[object String]", Rc = "[object Symbol]", Fc = "[object ArrayBuffer]", Nc = "[object DataView]", Uc = "[object Float32Array]", Lc = "[object Float64Array]", Dc = "[object Int8Array]", Pc = "[object Int16Array]", Vc = "[object Int32Array]", Kc = "[object Uint8Array]", jc = "[object Uint8ClampedArray]", xc = "[object Uint16Array]", $c = "[object Uint32Array]";
|
|
1419
|
+
function zc(e, t, n) {
|
|
1420
1420
|
var o = e.constructor;
|
|
1421
1421
|
switch (t) {
|
|
1422
|
-
case
|
|
1422
|
+
case Fc:
|
|
1423
1423
|
return Ii(e);
|
|
1424
|
-
case Mc:
|
|
1425
1424
|
case wc:
|
|
1425
|
+
case Ac:
|
|
1426
1426
|
return new o(+e);
|
|
1427
|
-
case Fc:
|
|
1428
|
-
return vc(e, n);
|
|
1429
1427
|
case Nc:
|
|
1428
|
+
return bc(e, n);
|
|
1430
1429
|
case Uc:
|
|
1431
1430
|
case Lc:
|
|
1432
1431
|
case Dc:
|
|
@@ -1435,21 +1434,22 @@ function $c(e, t, n) {
|
|
|
1435
1434
|
case Kc:
|
|
1436
1435
|
case jc:
|
|
1437
1436
|
case xc:
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
return new o();
|
|
1437
|
+
case $c:
|
|
1438
|
+
return Mc(e, n);
|
|
1441
1439
|
case Ec:
|
|
1442
|
-
case Oc:
|
|
1443
|
-
return new o(e);
|
|
1444
|
-
case Ic:
|
|
1445
|
-
return _c(e);
|
|
1446
|
-
case Cc:
|
|
1447
1440
|
return new o();
|
|
1441
|
+
case Ic:
|
|
1448
1442
|
case kc:
|
|
1443
|
+
return new o(e);
|
|
1444
|
+
case Cc:
|
|
1449
1445
|
return Sc(e);
|
|
1446
|
+
case Oc:
|
|
1447
|
+
return new o();
|
|
1448
|
+
case Rc:
|
|
1449
|
+
return Tc(e);
|
|
1450
1450
|
}
|
|
1451
1451
|
}
|
|
1452
|
-
var Ka = Object.create,
|
|
1452
|
+
var Ka = Object.create, qc = /* @__PURE__ */ function() {
|
|
1453
1453
|
function e() {
|
|
1454
1454
|
}
|
|
1455
1455
|
return function(t) {
|
|
@@ -1462,65 +1462,65 @@ var Ka = Object.create, zc = /* @__PURE__ */ function() {
|
|
|
1462
1462
|
return e.prototype = void 0, n;
|
|
1463
1463
|
};
|
|
1464
1464
|
}();
|
|
1465
|
-
function
|
|
1466
|
-
return typeof e.constructor == "function" && !Si(e) ?
|
|
1465
|
+
function Bc(e) {
|
|
1466
|
+
return typeof e.constructor == "function" && !Si(e) ? qc(Ro(e)) : {};
|
|
1467
1467
|
}
|
|
1468
|
-
var
|
|
1469
|
-
function
|
|
1470
|
-
return ht(e) && Je(e) ==
|
|
1468
|
+
var Hc = "[object Map]";
|
|
1469
|
+
function Gc(e) {
|
|
1470
|
+
return ht(e) && Je(e) == Hc;
|
|
1471
1471
|
}
|
|
1472
|
-
var ja = Dt && Dt.isMap,
|
|
1473
|
-
function
|
|
1474
|
-
return ht(e) && Je(e) ==
|
|
1472
|
+
var ja = Dt && Dt.isMap, Yc = ja ? _i(ja) : Gc, Wc = "[object Set]";
|
|
1473
|
+
function Zc(e) {
|
|
1474
|
+
return ht(e) && Je(e) == Wc;
|
|
1475
1475
|
}
|
|
1476
|
-
var xa = Dt && Dt.isSet,
|
|
1477
|
-
ae[Uo] = ae[
|
|
1478
|
-
ae[
|
|
1476
|
+
var xa = Dt && Dt.isSet, Xc = xa ? _i(xa) : Zc, Jc = 1, Qc = 2, eu = 4, Uo = "[object Arguments]", tu = "[object Array]", nu = "[object Boolean]", iu = "[object Date]", au = "[object Error]", Lo = "[object Function]", ou = "[object GeneratorFunction]", su = "[object Map]", ru = "[object Number]", Do = "[object Object]", lu = "[object RegExp]", du = "[object Set]", cu = "[object String]", uu = "[object Symbol]", mu = "[object WeakMap]", fu = "[object ArrayBuffer]", hu = "[object DataView]", pu = "[object Float32Array]", gu = "[object Float64Array]", yu = "[object Int8Array]", vu = "[object Int16Array]", bu = "[object Int32Array]", _u = "[object Uint8Array]", Su = "[object Uint8ClampedArray]", Tu = "[object Uint16Array]", Mu = "[object Uint32Array]", ae = {};
|
|
1477
|
+
ae[Uo] = ae[tu] = ae[fu] = ae[hu] = ae[nu] = ae[iu] = ae[pu] = ae[gu] = ae[yu] = ae[vu] = ae[bu] = ae[su] = ae[ru] = ae[Do] = ae[lu] = ae[du] = ae[cu] = ae[uu] = ae[_u] = ae[Su] = ae[Tu] = ae[Mu] = !0;
|
|
1478
|
+
ae[au] = ae[Lo] = ae[mu] = !1;
|
|
1479
1479
|
function tn(e, t, n, o, a, i) {
|
|
1480
|
-
var r, l = t &
|
|
1480
|
+
var r, l = t & Jc, c = t & Qc, m = t & eu;
|
|
1481
1481
|
if (r !== void 0)
|
|
1482
1482
|
return r;
|
|
1483
1483
|
if (!Ue(e))
|
|
1484
1484
|
return e;
|
|
1485
1485
|
var b = pt(e);
|
|
1486
1486
|
if (b) {
|
|
1487
|
-
if (r =
|
|
1488
|
-
return
|
|
1487
|
+
if (r = vc(e), !l)
|
|
1488
|
+
return tc(e, r);
|
|
1489
1489
|
} else {
|
|
1490
|
-
var f = Je(e), g = f == Lo || f ==
|
|
1490
|
+
var f = Je(e), g = f == Lo || f == ou;
|
|
1491
1491
|
if (po(e))
|
|
1492
|
-
return
|
|
1492
|
+
return ec(e, l);
|
|
1493
1493
|
if (f == Do || f == Uo || g && !a) {
|
|
1494
|
-
if (r = c || g ? {} :
|
|
1495
|
-
return c ?
|
|
1494
|
+
if (r = c || g ? {} : Bc(e), !l)
|
|
1495
|
+
return c ? rc(e, Jd(r, e)) : oc(e, Gd(r, e));
|
|
1496
1496
|
} else {
|
|
1497
1497
|
if (!ae[f])
|
|
1498
1498
|
return a ? e : {};
|
|
1499
|
-
r =
|
|
1499
|
+
r = zc(e, f, l);
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
i || (i = new xt());
|
|
1503
1503
|
var T = i.get(e);
|
|
1504
1504
|
if (T)
|
|
1505
1505
|
return T;
|
|
1506
|
-
i.set(e, r),
|
|
1506
|
+
i.set(e, r), Xc(e) ? e.forEach(function(F) {
|
|
1507
1507
|
r.add(tn(F, t, n, F, e, i));
|
|
1508
|
-
}) :
|
|
1508
|
+
}) : Yc(e) && e.forEach(function(F, D) {
|
|
1509
1509
|
r.set(D, tn(F, t, n, D, e, i));
|
|
1510
1510
|
});
|
|
1511
|
-
var w = m ? c ?
|
|
1511
|
+
var w = m ? c ? dc : lc : c ? Fn : En, v = b ? void 0 : w(e);
|
|
1512
1512
|
return co(v || e, function(F, D) {
|
|
1513
1513
|
v && (D = F, F = e[D]), Io(r, D, tn(F, t, n, D, e, i));
|
|
1514
1514
|
}), r;
|
|
1515
1515
|
}
|
|
1516
|
-
var
|
|
1516
|
+
var wu = 1, Au = 4;
|
|
1517
1517
|
function Qe(e) {
|
|
1518
|
-
return tn(e,
|
|
1518
|
+
return tn(e, wu | Au);
|
|
1519
1519
|
}
|
|
1520
1520
|
const Ci = (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, ""), $a = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
|
|
1521
|
-
var
|
|
1521
|
+
var Eu = "[object String]";
|
|
1522
1522
|
function _t(e) {
|
|
1523
|
-
return typeof e == "string" || !pt(e) && ht(e) && ft(e) ==
|
|
1523
|
+
return typeof e == "string" || !pt(e) && ht(e) && ft(e) == Eu;
|
|
1524
1524
|
}
|
|
1525
1525
|
const Po = {
|
|
1526
1526
|
methods: {
|
|
@@ -1559,17 +1559,17 @@ const Po = {
|
|
|
1559
1559
|
};
|
|
1560
1560
|
var oi = function() {
|
|
1561
1561
|
return xe.Date.now();
|
|
1562
|
-
},
|
|
1563
|
-
function
|
|
1564
|
-
for (var t = e.length; t-- &&
|
|
1562
|
+
}, Iu = /\s/;
|
|
1563
|
+
function Cu(e) {
|
|
1564
|
+
for (var t = e.length; t-- && Iu.test(e.charAt(t)); )
|
|
1565
1565
|
;
|
|
1566
1566
|
return t;
|
|
1567
1567
|
}
|
|
1568
|
-
var
|
|
1569
|
-
function
|
|
1570
|
-
return e && e.slice(0,
|
|
1568
|
+
var Ou = /^\s+/;
|
|
1569
|
+
function ku(e) {
|
|
1570
|
+
return e && e.slice(0, Cu(e) + 1).replace(Ou, "");
|
|
1571
1571
|
}
|
|
1572
|
-
var za = NaN,
|
|
1572
|
+
var za = NaN, Ru = /^[-+]0x[0-9a-f]+$/i, Fu = /^0b[01]+$/i, Nu = /^0o[0-7]+$/i, Uu = parseInt;
|
|
1573
1573
|
function gi(e) {
|
|
1574
1574
|
if (typeof e == "number")
|
|
1575
1575
|
return e;
|
|
@@ -1581,16 +1581,16 @@ function gi(e) {
|
|
|
1581
1581
|
}
|
|
1582
1582
|
if (typeof e != "string")
|
|
1583
1583
|
return e === 0 ? e : +e;
|
|
1584
|
-
e =
|
|
1585
|
-
var n =
|
|
1586
|
-
return n ||
|
|
1584
|
+
e = ku(e);
|
|
1585
|
+
var n = Fu.test(e);
|
|
1586
|
+
return n || Nu.test(e) ? Uu(e.slice(2), n ? 2 : 8) : Ru.test(e) ? za : +e;
|
|
1587
1587
|
}
|
|
1588
|
-
var
|
|
1588
|
+
var Lu = "Expected a function", Du = Math.max, Pu = Math.min;
|
|
1589
1589
|
function Pt(e, t, n) {
|
|
1590
1590
|
var o, a, i, r, l, c, m = 0, b = !1, f = !1, g = !0;
|
|
1591
1591
|
if (typeof e != "function")
|
|
1592
|
-
throw new TypeError(
|
|
1593
|
-
t = gi(t) || 0, Ue(n) && (b = !!n.leading, f = "maxWait" in n, i = f ?
|
|
1592
|
+
throw new TypeError(Lu);
|
|
1593
|
+
t = gi(t) || 0, Ue(n) && (b = !!n.leading, f = "maxWait" in n, i = f ? Du(gi(n.maxWait) || 0, t) : i, g = "trailing" in n ? !!n.trailing : g);
|
|
1594
1594
|
function T(y) {
|
|
1595
1595
|
var S = o, U = a;
|
|
1596
1596
|
return o = a = void 0, m = y, r = e.apply(U, S), r;
|
|
@@ -1600,7 +1600,7 @@ function Pt(e, t, n) {
|
|
|
1600
1600
|
}
|
|
1601
1601
|
function v(y) {
|
|
1602
1602
|
var S = y - c, U = y - m, V = t - S;
|
|
1603
|
-
return f ?
|
|
1603
|
+
return f ? Pu(V, i - U) : V;
|
|
1604
1604
|
}
|
|
1605
1605
|
function F(y) {
|
|
1606
1606
|
var S = y - c, U = y - m;
|
|
@@ -1633,11 +1633,11 @@ function Pt(e, t, n) {
|
|
|
1633
1633
|
}
|
|
1634
1634
|
return C.cancel = j, C.flush = O, C;
|
|
1635
1635
|
}
|
|
1636
|
-
var
|
|
1637
|
-
function Vu(e) {
|
|
1638
|
-
return this.__data__.set(e, Pu), this;
|
|
1639
|
-
}
|
|
1636
|
+
var Vu = "__lodash_hash_undefined__";
|
|
1640
1637
|
function Ku(e) {
|
|
1638
|
+
return this.__data__.set(e, Vu), this;
|
|
1639
|
+
}
|
|
1640
|
+
function ju(e) {
|
|
1641
1641
|
return this.__data__.has(e);
|
|
1642
1642
|
}
|
|
1643
1643
|
function bn(e) {
|
|
@@ -1645,34 +1645,34 @@ function bn(e) {
|
|
|
1645
1645
|
for (this.__data__ = new it(); ++t < n; )
|
|
1646
1646
|
this.add(e[t]);
|
|
1647
1647
|
}
|
|
1648
|
-
bn.prototype.add = bn.prototype.push =
|
|
1649
|
-
bn.prototype.has =
|
|
1650
|
-
function
|
|
1648
|
+
bn.prototype.add = bn.prototype.push = Ku;
|
|
1649
|
+
bn.prototype.has = ju;
|
|
1650
|
+
function xu(e, t, n, o) {
|
|
1651
1651
|
for (var a = e.length, i = n + -1; ++i < a; )
|
|
1652
1652
|
if (t(e[i], i, e))
|
|
1653
1653
|
return i;
|
|
1654
1654
|
return -1;
|
|
1655
1655
|
}
|
|
1656
|
-
function
|
|
1656
|
+
function $u(e) {
|
|
1657
1657
|
return e !== e;
|
|
1658
1658
|
}
|
|
1659
|
-
function
|
|
1659
|
+
function zu(e, t, n) {
|
|
1660
1660
|
for (var o = n - 1, a = e.length; ++o < a; )
|
|
1661
1661
|
if (e[o] === t)
|
|
1662
1662
|
return o;
|
|
1663
1663
|
return -1;
|
|
1664
1664
|
}
|
|
1665
|
-
function
|
|
1666
|
-
return t === t ?
|
|
1665
|
+
function qu(e, t, n) {
|
|
1666
|
+
return t === t ? zu(e, t, n) : xu(e, $u, n);
|
|
1667
1667
|
}
|
|
1668
|
-
function
|
|
1668
|
+
function Bu(e, t) {
|
|
1669
1669
|
var n = e == null ? 0 : e.length;
|
|
1670
|
-
return !!n &&
|
|
1670
|
+
return !!n && qu(e, t, 0) > -1;
|
|
1671
1671
|
}
|
|
1672
|
-
function
|
|
1672
|
+
function Hu(e, t) {
|
|
1673
1673
|
return e.has(t);
|
|
1674
1674
|
}
|
|
1675
|
-
function
|
|
1675
|
+
function Gu() {
|
|
1676
1676
|
}
|
|
1677
1677
|
function Vo(e) {
|
|
1678
1678
|
var t = -1, n = Array(e.size);
|
|
@@ -1680,16 +1680,16 @@ function Vo(e) {
|
|
|
1680
1680
|
n[++t] = o;
|
|
1681
1681
|
}), n;
|
|
1682
1682
|
}
|
|
1683
|
-
var
|
|
1683
|
+
var Yu = 1 / 0, Wu = Ut && 1 / Vo(new Ut([, -0]))[1] == Yu ? function(e) {
|
|
1684
1684
|
return new Ut(e);
|
|
1685
|
-
} :
|
|
1686
|
-
function
|
|
1687
|
-
var o = -1, a =
|
|
1688
|
-
if (i >=
|
|
1689
|
-
var m =
|
|
1685
|
+
} : Gu, Zu = 200;
|
|
1686
|
+
function Xu(e, t, n) {
|
|
1687
|
+
var o = -1, a = Bu, i = e.length, r = !0, l = [], c = l;
|
|
1688
|
+
if (i >= Zu) {
|
|
1689
|
+
var m = Wu(e);
|
|
1690
1690
|
if (m)
|
|
1691
1691
|
return Vo(m);
|
|
1692
|
-
r = !1, a =
|
|
1692
|
+
r = !1, a = Hu, c = new bn();
|
|
1693
1693
|
} else
|
|
1694
1694
|
c = l;
|
|
1695
1695
|
e:
|
|
@@ -1705,14 +1705,14 @@ function Zu(e, t, n) {
|
|
|
1705
1705
|
return l;
|
|
1706
1706
|
}
|
|
1707
1707
|
function Ko(e) {
|
|
1708
|
-
return e && e.length ?
|
|
1708
|
+
return e && e.length ? Xu(e) : [];
|
|
1709
1709
|
}
|
|
1710
|
-
var
|
|
1710
|
+
var Ju = 0;
|
|
1711
1711
|
function jo(e) {
|
|
1712
|
-
var t = ++
|
|
1712
|
+
var t = ++Ju;
|
|
1713
1713
|
return To(e) + t;
|
|
1714
1714
|
}
|
|
1715
|
-
var xo = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, ct = "\\d\\d?", dt = "\\d\\d",
|
|
1715
|
+
var xo = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, ct = "\\d\\d?", dt = "\\d\\d", Qu = "\\d{3}", em = "\\d{4}", nn = "[^\\s]+", $o = /\[([^]*?)\]/gm;
|
|
1716
1716
|
function zo(e, t) {
|
|
1717
1717
|
for (var n = [], o = 0, a = e.length; o < a; o++)
|
|
1718
1718
|
n.push(e[o].substr(0, t));
|
|
@@ -1757,16 +1757,16 @@ var qo = [
|
|
|
1757
1757
|
"October",
|
|
1758
1758
|
"November",
|
|
1759
1759
|
"December"
|
|
1760
|
-
],
|
|
1761
|
-
dayNamesShort:
|
|
1760
|
+
], tm = zo(Bo, 3), nm = zo(qo, 3), Ho = {
|
|
1761
|
+
dayNamesShort: nm,
|
|
1762
1762
|
dayNames: qo,
|
|
1763
|
-
monthNamesShort:
|
|
1763
|
+
monthNamesShort: tm,
|
|
1764
1764
|
monthNames: Bo,
|
|
1765
1765
|
amPm: ["am", "pm"],
|
|
1766
1766
|
DoFn: function(e) {
|
|
1767
1767
|
return e + ["th", "st", "nd", "rd"][e % 10 > 3 ? 0 : (e - e % 10 !== 10 ? 1 : 0) * e % 10];
|
|
1768
1768
|
}
|
|
1769
|
-
}, _n = St({}, Ho),
|
|
1769
|
+
}, _n = St({}, Ho), im = function(e) {
|
|
1770
1770
|
return _n = St(_n, e);
|
|
1771
1771
|
}, Ba = function(e) {
|
|
1772
1772
|
return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
|
|
@@ -1774,7 +1774,7 @@ var qo = [
|
|
|
1774
1774
|
for (t === void 0 && (t = 2), e = String(e); e.length < t; )
|
|
1775
1775
|
e = "0" + e;
|
|
1776
1776
|
return e;
|
|
1777
|
-
},
|
|
1777
|
+
}, am = {
|
|
1778
1778
|
D: function(e) {
|
|
1779
1779
|
return String(e.getDate());
|
|
1780
1780
|
},
|
|
@@ -1881,7 +1881,7 @@ var qo = [
|
|
|
1881
1881
|
}
|
|
1882
1882
|
return 0;
|
|
1883
1883
|
}
|
|
1884
|
-
],
|
|
1884
|
+
], om = {
|
|
1885
1885
|
D: ["day", ct],
|
|
1886
1886
|
DD: ["day", dt],
|
|
1887
1887
|
Do: ["day", ct + nn, function(e) {
|
|
@@ -1905,14 +1905,14 @@ var qo = [
|
|
|
1905
1905
|
mm: ["minute", dt],
|
|
1906
1906
|
s: ["second", ct],
|
|
1907
1907
|
ss: ["second", dt],
|
|
1908
|
-
YYYY: ["year",
|
|
1908
|
+
YYYY: ["year", em],
|
|
1909
1909
|
S: ["millisecond", "\\d", function(e) {
|
|
1910
1910
|
return +e * 100;
|
|
1911
1911
|
}],
|
|
1912
1912
|
SS: ["millisecond", dt, function(e) {
|
|
1913
1913
|
return +e * 10;
|
|
1914
1914
|
}],
|
|
1915
|
-
SSS: ["millisecond",
|
|
1915
|
+
SSS: ["millisecond", Qu],
|
|
1916
1916
|
d: Ga,
|
|
1917
1917
|
dd: Ga,
|
|
1918
1918
|
ddd: Ya,
|
|
@@ -1934,9 +1934,9 @@ var qo = [
|
|
|
1934
1934
|
shortTime: "HH:mm",
|
|
1935
1935
|
mediumTime: "HH:mm:ss",
|
|
1936
1936
|
longTime: "HH:mm:ss.SSS"
|
|
1937
|
-
},
|
|
1937
|
+
}, sm = function(e) {
|
|
1938
1938
|
return St(Sn, e);
|
|
1939
|
-
},
|
|
1939
|
+
}, rm = function(e, t, n) {
|
|
1940
1940
|
if (t === void 0 && (t = Sn.default), n === void 0 && (n = {}), typeof e == "number" && (e = new Date(e)), Object.prototype.toString.call(e) !== "[object Date]" || isNaN(e.getTime()))
|
|
1941
1941
|
throw new Error("Invalid Date pass to format");
|
|
1942
1942
|
t = Sn[t] || t;
|
|
@@ -1946,12 +1946,12 @@ var qo = [
|
|
|
1946
1946
|
});
|
|
1947
1947
|
var a = St(St({}, _n), n);
|
|
1948
1948
|
return t = t.replace(xo, function(i) {
|
|
1949
|
-
return
|
|
1949
|
+
return am[i](e, a);
|
|
1950
1950
|
}), t.replace(/@@@/g, function() {
|
|
1951
1951
|
return o.shift();
|
|
1952
1952
|
});
|
|
1953
1953
|
};
|
|
1954
|
-
function
|
|
1954
|
+
function lm(e, t, n) {
|
|
1955
1955
|
if (n === void 0 && (n = {}), typeof t != "string")
|
|
1956
1956
|
throw new Error("Invalid format in fecha parse");
|
|
1957
1957
|
if (t = Sn[t] || t, e.length > 1e3)
|
|
@@ -1970,7 +1970,7 @@ function rm(e, t, n) {
|
|
|
1970
1970
|
return r.push(Ba(C)), "@@@";
|
|
1971
1971
|
}), c = {}, m = {};
|
|
1972
1972
|
l = Ba(l).replace(xo, function(O) {
|
|
1973
|
-
var C =
|
|
1973
|
+
var C = om[O], y = C[0], S = C[1], U = C[3];
|
|
1974
1974
|
if (c[y])
|
|
1975
1975
|
throw new Error("Invalid format. " + y + " specified twice in format");
|
|
1976
1976
|
return c[y] = !0, U && (m[U] = !0), i.push(C), "(" + S + ")";
|
|
@@ -2007,13 +2007,13 @@ function rm(e, t, n) {
|
|
|
2007
2007
|
return D;
|
|
2008
2008
|
}
|
|
2009
2009
|
var Nt = {
|
|
2010
|
-
format:
|
|
2011
|
-
parse:
|
|
2010
|
+
format: rm,
|
|
2011
|
+
parse: lm,
|
|
2012
2012
|
defaultI18n: Ho,
|
|
2013
|
-
setGlobalDateI18n:
|
|
2014
|
-
setGlobalDateMasks:
|
|
2013
|
+
setGlobalDateI18n: im,
|
|
2014
|
+
setGlobalDateMasks: sm
|
|
2015
2015
|
};
|
|
2016
|
-
function
|
|
2016
|
+
function dm(e, t, n) {
|
|
2017
2017
|
switch (n.length) {
|
|
2018
2018
|
case 0:
|
|
2019
2019
|
return e.call(t);
|
|
@@ -2027,90 +2027,90 @@ function lm(e, t, n) {
|
|
|
2027
2027
|
return e.apply(t, n);
|
|
2028
2028
|
}
|
|
2029
2029
|
var Xa = Math.max;
|
|
2030
|
-
function
|
|
2030
|
+
function cm(e, t, n) {
|
|
2031
2031
|
return t = Xa(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
2032
2032
|
for (var o = arguments, a = -1, i = Xa(o.length - t, 0), r = Array(i); ++a < i; )
|
|
2033
2033
|
r[a] = o[t + a];
|
|
2034
2034
|
a = -1;
|
|
2035
2035
|
for (var l = Array(t + 1); ++a < t; )
|
|
2036
2036
|
l[a] = o[a];
|
|
2037
|
-
return l[t] = n(r),
|
|
2037
|
+
return l[t] = n(r), dm(e, this, l);
|
|
2038
2038
|
};
|
|
2039
2039
|
}
|
|
2040
|
-
function
|
|
2040
|
+
function um(e) {
|
|
2041
2041
|
return function() {
|
|
2042
2042
|
return e;
|
|
2043
2043
|
};
|
|
2044
2044
|
}
|
|
2045
|
-
var
|
|
2045
|
+
var mm = vn ? function(e, t) {
|
|
2046
2046
|
return vn(e, "toString", {
|
|
2047
2047
|
configurable: !0,
|
|
2048
2048
|
enumerable: !1,
|
|
2049
|
-
value:
|
|
2049
|
+
value: um(t),
|
|
2050
2050
|
writable: !0
|
|
2051
2051
|
});
|
|
2052
|
-
} : Ti,
|
|
2053
|
-
function
|
|
2052
|
+
} : Ti, fm = 800, hm = 16, pm = Date.now;
|
|
2053
|
+
function gm(e) {
|
|
2054
2054
|
var t = 0, n = 0;
|
|
2055
2055
|
return function() {
|
|
2056
|
-
var o =
|
|
2056
|
+
var o = pm(), a = hm - (o - n);
|
|
2057
2057
|
if (n = o, a > 0) {
|
|
2058
|
-
if (++t >=
|
|
2058
|
+
if (++t >= fm)
|
|
2059
2059
|
return arguments[0];
|
|
2060
2060
|
} else
|
|
2061
2061
|
t = 0;
|
|
2062
2062
|
return e.apply(void 0, arguments);
|
|
2063
2063
|
};
|
|
2064
2064
|
}
|
|
2065
|
-
var
|
|
2066
|
-
function
|
|
2067
|
-
return
|
|
2065
|
+
var ym = gm(mm);
|
|
2066
|
+
function vm(e, t) {
|
|
2067
|
+
return ym(cm(e, t, Ti), e + "");
|
|
2068
2068
|
}
|
|
2069
|
-
function
|
|
2069
|
+
function bm(e, t, n) {
|
|
2070
2070
|
if (!Ue(n))
|
|
2071
2071
|
return !1;
|
|
2072
2072
|
var o = typeof t;
|
|
2073
2073
|
return (o == "number" ? An(n) && go(t, n.length) : o == "string" && t in n) ? Cn(n[t], e) : !1;
|
|
2074
2074
|
}
|
|
2075
|
-
var Go = Object.prototype,
|
|
2075
|
+
var Go = Object.prototype, _m = Go.hasOwnProperty, Sm = vm(function(e, t) {
|
|
2076
2076
|
e = Object(e);
|
|
2077
2077
|
var n = -1, o = t.length, a = o > 2 ? t[2] : void 0;
|
|
2078
|
-
for (a &&
|
|
2078
|
+
for (a && bm(t[0], t[1], a) && (o = 1); ++n < o; )
|
|
2079
2079
|
for (var i = t[n], r = Fn(i), l = -1, c = r.length; ++l < c; ) {
|
|
2080
2080
|
var m = r[l], b = e[m];
|
|
2081
|
-
(b === void 0 || Cn(b, Go[m]) && !
|
|
2081
|
+
(b === void 0 || Cn(b, Go[m]) && !_m.call(e, m)) && (e[m] = i[m]);
|
|
2082
2082
|
}
|
|
2083
2083
|
return e;
|
|
2084
|
-
}),
|
|
2084
|
+
}), Tm = xe.isFinite;
|
|
2085
2085
|
function Yo(e) {
|
|
2086
|
-
return typeof e == "number" &&
|
|
2086
|
+
return typeof e == "number" && Tm(e);
|
|
2087
2087
|
}
|
|
2088
|
-
var Ja = 1 / 0,
|
|
2089
|
-
function
|
|
2088
|
+
var Ja = 1 / 0, Mm = 17976931348623157e292;
|
|
2089
|
+
function wm(e) {
|
|
2090
2090
|
if (!e)
|
|
2091
2091
|
return e === 0 ? e : 0;
|
|
2092
2092
|
if (e = gi(e), e === Ja || e === -Ja) {
|
|
2093
2093
|
var t = e < 0 ? -1 : 1;
|
|
2094
|
-
return t *
|
|
2094
|
+
return t * Mm;
|
|
2095
2095
|
}
|
|
2096
2096
|
return e === e ? e : 0;
|
|
2097
2097
|
}
|
|
2098
|
-
function
|
|
2099
|
-
var t =
|
|
2098
|
+
function Am(e) {
|
|
2099
|
+
var t = wm(e), n = t % 1;
|
|
2100
2100
|
return t === t ? n ? t - n : t : 0;
|
|
2101
2101
|
}
|
|
2102
|
-
function
|
|
2103
|
-
return typeof e == "number" && e ==
|
|
2102
|
+
function Em(e) {
|
|
2103
|
+
return typeof e == "number" && e == Am(e);
|
|
2104
2104
|
}
|
|
2105
|
-
var
|
|
2105
|
+
var Im = "[object Number]";
|
|
2106
2106
|
function Oi(e) {
|
|
2107
|
-
return typeof e == "number" || ht(e) && ft(e) ==
|
|
2107
|
+
return typeof e == "number" || ht(e) && ft(e) == Im;
|
|
2108
2108
|
}
|
|
2109
|
-
const
|
|
2109
|
+
const Cm = {
|
|
2110
2110
|
packageName: "forms",
|
|
2111
2111
|
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.",
|
|
2112
2112
|
disable_source_scope_change: "Changing the {scope} is not allowed when configuring a plugin under it."
|
|
2113
|
-
},
|
|
2113
|
+
}, Om = {
|
|
2114
2114
|
view_advanced: "View advanced parameters",
|
|
2115
2115
|
window_type: {
|
|
2116
2116
|
label: "Rate Limit Window Type",
|
|
@@ -2155,7 +2155,7 @@ const Im = {
|
|
|
2155
2155
|
title: "Configure your Redis",
|
|
2156
2156
|
address_example: "e.g. localhost:6379"
|
|
2157
2157
|
}
|
|
2158
|
-
},
|
|
2158
|
+
}, km = {
|
|
2159
2159
|
field_is_required: "This field is required",
|
|
2160
2160
|
invalid_format: "Invalid format",
|
|
2161
2161
|
number_too_small: "The number is too small. Minimum: {0}",
|
|
@@ -2177,7 +2177,7 @@ const Im = {
|
|
|
2177
2177
|
invalid_card_number: "Invalid card number",
|
|
2178
2178
|
invalid_text_contain_number: "Invalid text - cannot contains numbers or special characters",
|
|
2179
2179
|
invalid_tex_contain_spec: "Invalid text - cannot contains special characters"
|
|
2180
|
-
},
|
|
2180
|
+
}, Rm = {
|
|
2181
2181
|
title: "Redis Configuration",
|
|
2182
2182
|
managed_ui: {
|
|
2183
2183
|
title: "Redis",
|
|
@@ -2232,7 +2232,7 @@ const Im = {
|
|
|
2232
2232
|
alert: "Note: For custom plugins, we cannot determine the correct Redis configuration type. Please ensure you select the appropriate option manually.",
|
|
2233
2233
|
tooltip: "To apply a shared redis configuration, the redis fields must defined as Kong plugins in plugin schema."
|
|
2234
2234
|
}
|
|
2235
|
-
},
|
|
2235
|
+
}, Fm = {
|
|
2236
2236
|
auto_suggest: {
|
|
2237
2237
|
error: {
|
|
2238
2238
|
load_entity: "There was an error loading {entity}"
|
|
@@ -2242,13 +2242,13 @@ const Im = {
|
|
|
2242
2242
|
no_results: "No results",
|
|
2243
2243
|
loading: "Loading..."
|
|
2244
2244
|
}
|
|
2245
|
-
},
|
|
2245
|
+
}, Nm = {
|
|
2246
2246
|
labels: {
|
|
2247
2247
|
on: "On",
|
|
2248
2248
|
off: "Off"
|
|
2249
2249
|
}
|
|
2250
2250
|
}, Pe = {
|
|
2251
|
-
general:
|
|
2251
|
+
general: Cm,
|
|
2252
2252
|
"post-function": {
|
|
2253
2253
|
tags: {
|
|
2254
2254
|
hint: "e.g. tag1, tag2, tag3",
|
|
@@ -2309,11 +2309,11 @@ const Im = {
|
|
|
2309
2309
|
newElementButtonLabel: "+ Add"
|
|
2310
2310
|
}
|
|
2311
2311
|
},
|
|
2312
|
-
rla:
|
|
2313
|
-
validators:
|
|
2314
|
-
redis:
|
|
2315
|
-
fields:
|
|
2316
|
-
vfg:
|
|
2312
|
+
rla: Om,
|
|
2313
|
+
validators: km,
|
|
2314
|
+
redis: Rm,
|
|
2315
|
+
fields: Fm,
|
|
2316
|
+
vfg: Nm
|
|
2317
2317
|
}, { t: ye } = De("en-us", Pe), Ee = {
|
|
2318
2318
|
fieldIsRequired: ye("validators.field_is_required"),
|
|
2319
2319
|
invalidFormat: ye("validators.invalid_format"),
|
|
@@ -2349,7 +2349,7 @@ const Im = {
|
|
|
2349
2349
|
},
|
|
2350
2350
|
integer: (e, t, n, o = Ee) => {
|
|
2351
2351
|
let a = Ke(e, t.required, o);
|
|
2352
|
-
return a != null || (a = [], a.concat(Tt.number(e, t, n, o)),
|
|
2352
|
+
return a != null || (a = [], a.concat(Tt.number(e, t, n, o)), Em(e) || a.push(de(o.invalidInteger))), a;
|
|
2353
2353
|
},
|
|
2354
2354
|
double: (e, t, n, o = Ee) => {
|
|
2355
2355
|
const a = Ke(e, t.required, o);
|
|
@@ -2425,7 +2425,7 @@ const Im = {
|
|
|
2425
2425
|
};
|
|
2426
2426
|
Object.keys(Tt).forEach((e) => {
|
|
2427
2427
|
const t = Tt[e];
|
|
2428
|
-
ie(t) && (t.locale = (n) => (o, a, i) => t(o, a, i,
|
|
2428
|
+
ie(t) && (t.locale = (n) => (o, a, i) => t(o, a, i, Sm(n, Ee)));
|
|
2429
2429
|
});
|
|
2430
2430
|
function Qa(e) {
|
|
2431
2431
|
return _t(e) ? Tt[e] != null ? Tt[e] : (console.warn(`'${e}' is not a validator function!`), null) : e;
|
|
@@ -2556,10 +2556,10 @@ const qe = {
|
|
|
2556
2556
|
for (const [o, a] of t)
|
|
2557
2557
|
n[o] = a;
|
|
2558
2558
|
return n;
|
|
2559
|
-
},
|
|
2559
|
+
}, Um = {
|
|
2560
2560
|
class: "advanced-field-dropdown-wrapper",
|
|
2561
2561
|
"data-testid": "advanced-field-dropdown-wrapper"
|
|
2562
|
-
},
|
|
2562
|
+
}, Lm = { class: "material-icons" }, Dm = {
|
|
2563
2563
|
mixins: [qe],
|
|
2564
2564
|
emits: ["model-updated"],
|
|
2565
2565
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
@@ -2587,16 +2587,16 @@ const qe = {
|
|
|
2587
2587
|
this.$emit("model-updated", e, t);
|
|
2588
2588
|
}
|
|
2589
2589
|
}
|
|
2590
|
-
},
|
|
2590
|
+
}, Pm = /* @__PURE__ */ Object.assign(Dm, {
|
|
2591
2591
|
__name: "FieldAdvanced",
|
|
2592
2592
|
setup(e) {
|
|
2593
|
-
return (t, n) => (d(), M("div",
|
|
2593
|
+
return (t, n) => (d(), M("div", Um, [
|
|
2594
2594
|
u("button", {
|
|
2595
2595
|
class: "advanced-field-title",
|
|
2596
2596
|
type: "button",
|
|
2597
2597
|
onClick: n[0] || (n[0] = (...o) => t.handleOpen && t.handleOpen(...o))
|
|
2598
2598
|
}, [
|
|
2599
|
-
u("i",
|
|
2599
|
+
u("i", Lm, $(t.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
|
|
2600
2600
|
u("span", null, $(t.titleText), 1)
|
|
2601
2601
|
]),
|
|
2602
2602
|
u("div", {
|
|
@@ -2611,7 +2611,7 @@ const qe = {
|
|
|
2611
2611
|
], 2)
|
|
2612
2612
|
]));
|
|
2613
2613
|
}
|
|
2614
|
-
}),
|
|
2614
|
+
}), Vm = /* @__PURE__ */ J(Pm, [["__scopeId", "data-v-e8f66c8a"]]), Km = { class: "array-card-container" }, jm = /* @__PURE__ */ be({
|
|
2615
2615
|
__name: "FieldArrayCardContainer",
|
|
2616
2616
|
props: {
|
|
2617
2617
|
model: {
|
|
@@ -2631,7 +2631,7 @@ const qe = {
|
|
|
2631
2631
|
setup(e) {
|
|
2632
2632
|
return ln("vfg-array-item-index", e.index), (n, o) => {
|
|
2633
2633
|
const a = k("KCard"), i = k("KButton");
|
|
2634
|
-
return d(), M("div",
|
|
2634
|
+
return d(), M("div", Km, [
|
|
2635
2635
|
A(a, { class: "card" }, {
|
|
2636
2636
|
default: E(() => [
|
|
2637
2637
|
we(n.$slots, "default", {}, void 0, !0)
|
|
@@ -2651,7 +2651,7 @@ const qe = {
|
|
|
2651
2651
|
]);
|
|
2652
2652
|
};
|
|
2653
2653
|
}
|
|
2654
|
-
}), Wo = /* @__PURE__ */ J(
|
|
2654
|
+
}), Wo = /* @__PURE__ */ J(jm, [["__scopeId", "data-v-a8366ec5"]]), xm = { class: "array-item-wrapper" }, $m = { class: "array-item" }, zm = { class: "array-item-after" }, qm = /* @__PURE__ */ be({
|
|
2655
2655
|
__name: "FieldArrayItem",
|
|
2656
2656
|
props: {
|
|
2657
2657
|
model: {
|
|
@@ -2663,8 +2663,8 @@ const qe = {
|
|
|
2663
2663
|
setup(e) {
|
|
2664
2664
|
return (t, n) => {
|
|
2665
2665
|
const o = k("KButton");
|
|
2666
|
-
return d(), M("div",
|
|
2667
|
-
u("div",
|
|
2666
|
+
return d(), M("div", xm, [
|
|
2667
|
+
u("div", $m, [
|
|
2668
2668
|
we(t.$slots, "default", {}, void 0, !0),
|
|
2669
2669
|
A(o, {
|
|
2670
2670
|
appearance: "tertiary",
|
|
@@ -2677,19 +2677,19 @@ const qe = {
|
|
|
2677
2677
|
_: 1
|
|
2678
2678
|
})
|
|
2679
2679
|
]),
|
|
2680
|
-
u("div",
|
|
2680
|
+
u("div", zm, [
|
|
2681
2681
|
we(t.$slots, "after", {}, void 0, !0)
|
|
2682
2682
|
])
|
|
2683
2683
|
]);
|
|
2684
2684
|
};
|
|
2685
2685
|
}
|
|
2686
|
-
}), Zo = /* @__PURE__ */ J(
|
|
2686
|
+
}), Zo = /* @__PURE__ */ J(qm, [["__scopeId", "data-v-e6b6837c"]]), Bm = { class: "multi-item-wrapper" }, Hm = /* @__PURE__ */ be({
|
|
2687
2687
|
__name: "FieldArrayMultiItem",
|
|
2688
2688
|
emits: ["remove-item"],
|
|
2689
2689
|
setup(e) {
|
|
2690
2690
|
return (t, n) => {
|
|
2691
2691
|
const o = k("KButton");
|
|
2692
|
-
return d(), M("div",
|
|
2692
|
+
return d(), M("div", Bm, [
|
|
2693
2693
|
we(t.$slots, "default", {}, void 0, !0),
|
|
2694
2694
|
A(o, {
|
|
2695
2695
|
appearance: "danger",
|
|
@@ -2705,12 +2705,12 @@ const qe = {
|
|
|
2705
2705
|
]);
|
|
2706
2706
|
};
|
|
2707
2707
|
}
|
|
2708
|
-
}), Xo = /* @__PURE__ */ J(
|
|
2709
|
-
var
|
|
2708
|
+
}), Xo = /* @__PURE__ */ J(Hm, [["__scopeId", "data-v-b4fcf731"]]);
|
|
2709
|
+
var Gm = 4;
|
|
2710
2710
|
function eo(e) {
|
|
2711
|
-
return tn(e,
|
|
2711
|
+
return tn(e, Gm);
|
|
2712
2712
|
}
|
|
2713
|
-
const
|
|
2713
|
+
const Ym = "#6c7489", Jo = "12px", Wm = "16px", Qo = "20px", Zm = ["data-testid", "data-testlabel"], Xm = { class: "item-label" }, Jm = { class: "autosuggest__results_message" }, Qm = /* @__PURE__ */ be({
|
|
2714
2714
|
__name: "AutoSuggest",
|
|
2715
2715
|
props: /* @__PURE__ */ na({
|
|
2716
2716
|
placeholder: { default: "" },
|
|
@@ -2726,7 +2726,7 @@ const Gm = "#6c7489", Jo = "12px", Ym = "16px", Qo = "20px", Wm = ["data-testid"
|
|
|
2726
2726
|
}),
|
|
2727
2727
|
emits: /* @__PURE__ */ na(["change", "query-change"], ["update:id"]),
|
|
2728
2728
|
setup(e) {
|
|
2729
|
-
const { t } = De("en-us", Pe), n =
|
|
2729
|
+
const { t } = De("en-us", Pe), n = Us(e, "id");
|
|
2730
2730
|
return (o, a) => {
|
|
2731
2731
|
const i = k("KSelect");
|
|
2732
2732
|
return d(), L(i, {
|
|
@@ -2753,16 +2753,16 @@ const Gm = "#6c7489", Jo = "12px", Ym = "16px", Qo = "20px", Wm = ["data-testid"
|
|
|
2753
2753
|
class: "item-label",
|
|
2754
2754
|
"data-testid": r.id && `${r.id}-0`,
|
|
2755
2755
|
"data-testlabel": r.label
|
|
2756
|
-
}, $(r.label), 9,
|
|
2756
|
+
}, $(r.label), 9, Zm)
|
|
2757
2757
|
], !0)
|
|
2758
2758
|
]),
|
|
2759
2759
|
"selected-item-template": E(({ item: r }) => [
|
|
2760
2760
|
we(o.$slots, "selected-item", { item: r }, () => [
|
|
2761
|
-
u("span",
|
|
2761
|
+
u("span", Xm, $(r.label), 1)
|
|
2762
2762
|
], !0)
|
|
2763
2763
|
]),
|
|
2764
2764
|
empty: E(() => [
|
|
2765
|
-
u("div",
|
|
2765
|
+
u("div", Jm, [
|
|
2766
2766
|
u("span", null, $(e.emptyMessage || P(t)("fields.auto_suggest.no_results")), 1)
|
|
2767
2767
|
])
|
|
2768
2768
|
]),
|
|
@@ -2778,7 +2778,7 @@ const Gm = "#6c7489", Jo = "12px", Ym = "16px", Qo = "20px", Wm = ["data-testid"
|
|
|
2778
2778
|
]), 1032, ["id", "modelValue", "disabled", "error", "help", "items", "loading", "placeholder"]);
|
|
2779
2779
|
};
|
|
2780
2780
|
}
|
|
2781
|
-
}),
|
|
2781
|
+
}), ef = /* @__PURE__ */ J(Qm, [["__scopeId", "data-v-1e9151dd"]]), tf = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", yi = (e) => e ? e.length === 36 && new RegExp(`^${tf}$`).test(e) : !1, nf = { class: "selected-entity-item" }, af = { class: "selected-entity-label" }, of = { class: "entity-suggestion-item" }, sf = { class: "entity-label" }, rf = { class: "entity-id" }, lf = 500, df = 50, cf = 1e3, uf = /* @__PURE__ */ be({
|
|
2782
2782
|
__name: "FieldScopedEntitySelect",
|
|
2783
2783
|
props: {
|
|
2784
2784
|
transformItem: { type: Function },
|
|
@@ -2800,7 +2800,7 @@ const Gm = "#6c7489", Jo = "12px", Ym = "16px", Qo = "20px", Wm = ["data-testid"
|
|
|
2800
2800
|
const t = on(je, void 0), n = async (p, _) => {
|
|
2801
2801
|
if (!t)
|
|
2802
2802
|
return console.warn("[@kong-ui-public/forms] No API service provided"), [];
|
|
2803
|
-
const { data: I } = await t.getAllV2(e.entity, { name: p, size:
|
|
2803
|
+
const { data: I } = await t.getAllV2(e.entity, { name: p, size: cf }, _);
|
|
2804
2804
|
return I.data;
|
|
2805
2805
|
}, o = async (p) => t ? t.peek(e.entity, p) : (console.warn("[@kong-ui-public/forms] No API service provided"), Promise.resolve({ data: { data: [] } })), a = async (p) => {
|
|
2806
2806
|
if (!t)
|
|
@@ -2828,7 +2828,7 @@ const Gm = "#6c7489", Jo = "12px", Ym = "16px", Qo = "20px", Wm = ["data-testid"
|
|
|
2828
2828
|
} catch (I) {
|
|
2829
2829
|
if (_ != null && _.aborted)
|
|
2830
2830
|
return;
|
|
2831
|
-
if (b.value = [],
|
|
2831
|
+
if (b.value = [], Ys(I) && I.status === 404) {
|
|
2832
2832
|
console.warn("unable to search with UUID", m.value, "for entity type", e.entity);
|
|
2833
2833
|
return;
|
|
2834
2834
|
}
|
|
@@ -2849,8 +2849,8 @@ const Gm = "#6c7489", Jo = "12px", Ym = "16px", Qo = "20px", Wm = ["data-testid"
|
|
|
2849
2849
|
return;
|
|
2850
2850
|
}
|
|
2851
2851
|
C(p, _);
|
|
2852
|
-
},
|
|
2853
|
-
const { data: { data: p, next: _, offset: I } } = await o(
|
|
2852
|
+
}, lf, { leading: !0 }), H = async (p, _) => await n(p, _), j = async () => {
|
|
2853
|
+
const { data: { data: p, next: _, offset: I } } = await o(df);
|
|
2854
2854
|
return (!_ || !I) && (c.value = !0), f.value = p, g.value = p.map((K) => ({
|
|
2855
2855
|
...i(K),
|
|
2856
2856
|
group: T("fields.auto_suggest.recently_created", { entity: e.entity })
|
|
@@ -2871,7 +2871,7 @@ const Gm = "#6c7489", Jo = "12px", Ym = "16px", Qo = "20px", Wm = ["data-testid"
|
|
|
2871
2871
|
_ && (b.value = S(g.value)), p();
|
|
2872
2872
|
});
|
|
2873
2873
|
b.value = S(g.value);
|
|
2874
|
-
}), (p, _) => (d(), L(
|
|
2874
|
+
}), (p, _) => (d(), L(ef, {
|
|
2875
2875
|
id: e.id,
|
|
2876
2876
|
disabled: e.fieldDisabled,
|
|
2877
2877
|
"dom-id": e.domId,
|
|
@@ -2886,37 +2886,37 @@ const Gm = "#6c7489", Jo = "12px", Ym = "16px", Qo = "20px", Wm = ["data-testid"
|
|
|
2886
2886
|
}, {
|
|
2887
2887
|
before: E(() => [
|
|
2888
2888
|
we(p.$slots, "before", {}, () => [
|
|
2889
|
-
A(P(
|
|
2890
|
-
color: `var(--kui-color-text-neutral, ${P(
|
|
2889
|
+
A(P($s), {
|
|
2890
|
+
color: `var(--kui-color-text-neutral, ${P(Ym)})`,
|
|
2891
2891
|
size: `var(--kui-icon-size-40, ${P(Qo)})`
|
|
2892
2892
|
}, null, 8, ["color", "size"])
|
|
2893
2893
|
], !0)
|
|
2894
2894
|
]),
|
|
2895
2895
|
"selected-item": E(({ item: I }) => [
|
|
2896
2896
|
we(p.$slots, "selected-item", { item: I }, () => [
|
|
2897
|
-
u("span",
|
|
2898
|
-
u("span",
|
|
2897
|
+
u("span", nf, [
|
|
2898
|
+
u("span", af, $(I.label ?? I.id), 1)
|
|
2899
2899
|
])
|
|
2900
2900
|
], !0)
|
|
2901
2901
|
]),
|
|
2902
2902
|
item: E(({ item: I }) => [
|
|
2903
2903
|
we(p.$slots, "item", { item: I }, () => [
|
|
2904
|
-
u("div",
|
|
2905
|
-
u("span",
|
|
2906
|
-
u("span",
|
|
2904
|
+
u("div", of, [
|
|
2905
|
+
u("span", sf, $(I.label ?? P(od)), 1),
|
|
2906
|
+
u("span", rf, $(I.id), 1)
|
|
2907
2907
|
])
|
|
2908
2908
|
], !0)
|
|
2909
2909
|
]),
|
|
2910
2910
|
_: 3
|
|
2911
2911
|
}, 8, ["id", "disabled", "dom-id", "empty-message", "error", "loading", "placeholder", "readonly", "suggestions", "onQueryChange"]));
|
|
2912
2912
|
}
|
|
2913
|
-
}),
|
|
2913
|
+
}), mf = /* @__PURE__ */ J(uf, [["__scopeId", "data-v-d8027156"]]);
|
|
2914
2914
|
function es(e, t, n) {
|
|
2915
2915
|
return n ? Ze.SET_REFERRAL_VALUE : e && !t || !e && t ? Ze.UPDATE_ENTITY : e && t ? Ze.CREATE_FROM_ENTITY : Ze.CREATE_NOT_FROM_ENTITY;
|
|
2916
2916
|
}
|
|
2917
|
-
const
|
|
2917
|
+
const ff = {
|
|
2918
2918
|
components: {
|
|
2919
|
-
FieldScopedEntitySelect:
|
|
2919
|
+
FieldScopedEntitySelect: mf
|
|
2920
2920
|
},
|
|
2921
2921
|
mixins: [qe],
|
|
2922
2922
|
inject: [je],
|
|
@@ -3024,7 +3024,7 @@ const mf = {
|
|
|
3024
3024
|
}
|
|
3025
3025
|
}
|
|
3026
3026
|
};
|
|
3027
|
-
function
|
|
3027
|
+
function hf(e, t, n, o, a, i) {
|
|
3028
3028
|
const r = k("FieldScopedEntitySelect");
|
|
3029
3029
|
return d(), L(le(e.schema.disabled ? "k-tooltip" : "div"), {
|
|
3030
3030
|
class: "field-wrap autosuggest",
|
|
@@ -3052,7 +3052,7 @@ function ff(e, t, n, o, a, i) {
|
|
|
3052
3052
|
_: 1
|
|
3053
3053
|
}, 8, ["text"]);
|
|
3054
3054
|
}
|
|
3055
|
-
const ts = /* @__PURE__ */ J(
|
|
3055
|
+
const ts = /* @__PURE__ */ J(ff, [["render", hf], ["__scopeId", "data-v-9ab50e80"]]), ri = 50, pf = {
|
|
3056
3056
|
mixins: [qe],
|
|
3057
3057
|
inject: [je],
|
|
3058
3058
|
emits: ["model-updated"],
|
|
@@ -3177,8 +3177,8 @@ const ts = /* @__PURE__ */ J(mf, [["render", ff], ["__scopeId", "data-v-9ab50e80
|
|
|
3177
3177
|
return t ? e[t] : e.id;
|
|
3178
3178
|
}
|
|
3179
3179
|
}
|
|
3180
|
-
},
|
|
3181
|
-
function
|
|
3180
|
+
}, gf = ["data-testid", "data-testlabel"], yf = ["data-testid"], vf = { class: "autosuggest__results_message" };
|
|
3181
|
+
function bf(e, t, n, o, a, i) {
|
|
3182
3182
|
const r = k("KSelect");
|
|
3183
3183
|
return d(), L(le(e.schema.disabled ? "k-tooltip" : "div"), {
|
|
3184
3184
|
class: "field-wrap autosuggest",
|
|
@@ -3207,15 +3207,15 @@ function vf(e, t, n, o, a, i) {
|
|
|
3207
3207
|
class: "first-part",
|
|
3208
3208
|
"data-testid": l.id && `${l.id}-0`,
|
|
3209
3209
|
"data-testlabel": l.label
|
|
3210
|
-
}, $(i.getSuggestionLabel(l).split(" - ")[0]), 9,
|
|
3210
|
+
}, $(i.getSuggestionLabel(l).split(" - ")[0]), 9, gf),
|
|
3211
3211
|
(d(!0), M(Y, null, se(i.getSuggestionLabel(l).split(" - ").slice(1), (c, m) => (d(), M("span", {
|
|
3212
3212
|
key: m,
|
|
3213
3213
|
class: "field-span",
|
|
3214
3214
|
"data-testid": l.id && `${l.id}-${m + 1}` || m + 1
|
|
3215
|
-
}, $(c), 9,
|
|
3215
|
+
}, $(c), 9, yf))), 128))
|
|
3216
3216
|
]),
|
|
3217
3217
|
empty: E(() => [
|
|
3218
|
-
u("div",
|
|
3218
|
+
u("div", vf, [
|
|
3219
3219
|
u("span", null, $(a.message), 1)
|
|
3220
3220
|
])
|
|
3221
3221
|
]),
|
|
@@ -3225,8 +3225,8 @@ function vf(e, t, n, o, a, i) {
|
|
|
3225
3225
|
_: 1
|
|
3226
3226
|
}, 8, ["text"]);
|
|
3227
3227
|
}
|
|
3228
|
-
const ns = /* @__PURE__ */ J(
|
|
3229
|
-
function
|
|
3228
|
+
const ns = /* @__PURE__ */ J(pf, [["render", bf], ["__scopeId", "data-v-433129a3"]]);
|
|
3229
|
+
function _f(e) {
|
|
3230
3230
|
const t = re([]), n = re(null), o = (v) => _t(v) ? Tt[v] != null ? Tt[v] : (console.warn(`'${v}' is not a validator function!`), null) : v, a = B({
|
|
3231
3231
|
get() {
|
|
3232
3232
|
var F, D;
|
|
@@ -3312,7 +3312,7 @@ function bf(e) {
|
|
|
3312
3312
|
updateModelValue: l
|
|
3313
3313
|
};
|
|
3314
3314
|
}
|
|
3315
|
-
function
|
|
3315
|
+
function Sf(e) {
|
|
3316
3316
|
const t = [], n = (o) => {
|
|
3317
3317
|
const a = ["cluster-cache", "cluster_cache"];
|
|
3318
3318
|
for (const i of a)
|
|
@@ -3333,7 +3333,7 @@ function _f(e) {
|
|
|
3333
3333
|
redisModels: t.map((o) => o.model)
|
|
3334
3334
|
};
|
|
3335
3335
|
}
|
|
3336
|
-
function
|
|
3336
|
+
function Tf(e, t) {
|
|
3337
3337
|
const n = new RegExp("(?<=config-redis-).*"), o = /Config\.Redis.*/;
|
|
3338
3338
|
return t.filter((i) => {
|
|
3339
3339
|
const r = i.model.match(n);
|
|
@@ -3349,10 +3349,10 @@ function Sf(e, t) {
|
|
|
3349
3349
|
});
|
|
3350
3350
|
}
|
|
3351
3351
|
const Be = {
|
|
3352
|
-
useAbstractFields:
|
|
3353
|
-
useRedisPartial:
|
|
3354
|
-
useRedisNonStandardFields:
|
|
3355
|
-
},
|
|
3352
|
+
useAbstractFields: _f,
|
|
3353
|
+
useRedisPartial: Sf,
|
|
3354
|
+
useRedisNonStandardFields: Tf
|
|
3355
|
+
}, Mf = { class: "form-field-wrapper" }, wf = /* @__PURE__ */ be({
|
|
3356
3356
|
__name: "FieldInput",
|
|
3357
3357
|
props: {
|
|
3358
3358
|
disabled: {
|
|
@@ -3476,7 +3476,7 @@ const Be = {
|
|
|
3476
3476
|
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.");
|
|
3477
3477
|
}), (j, O) => {
|
|
3478
3478
|
const C = k("KInput");
|
|
3479
|
-
return d(), M("div",
|
|
3479
|
+
return d(), M("div", Mf, [
|
|
3480
3480
|
A(C, tt(j.$attrs, {
|
|
3481
3481
|
id: P(c)(e.schema),
|
|
3482
3482
|
autocomplete: e.schema.autocomplete,
|
|
@@ -3507,7 +3507,7 @@ const Be = {
|
|
|
3507
3507
|
]);
|
|
3508
3508
|
};
|
|
3509
3509
|
}
|
|
3510
|
-
}), is = /* @__PURE__ */ J(
|
|
3510
|
+
}), is = /* @__PURE__ */ J(wf, [["__scopeId", "data-v-c9bb165e"]]), Af = {
|
|
3511
3511
|
name: "FieldMetric",
|
|
3512
3512
|
components: { AddIcon: wn, TrashIcon: Kt },
|
|
3513
3513
|
mixins: [qe],
|
|
@@ -3517,11 +3517,11 @@ const Be = {
|
|
|
3517
3517
|
contentVisible: !1
|
|
3518
3518
|
};
|
|
3519
3519
|
}
|
|
3520
|
-
},
|
|
3520
|
+
}, Ef = {
|
|
3521
3521
|
key: 0,
|
|
3522
3522
|
class: "content"
|
|
3523
3523
|
};
|
|
3524
|
-
function
|
|
3524
|
+
function If(e, t, n, o, a, i) {
|
|
3525
3525
|
const r = k("AddIcon"), l = k("TrashIcon"), c = k("KButton");
|
|
3526
3526
|
return d(), M("div", {
|
|
3527
3527
|
class: ne(["field-dropdown", { active: a.contentVisible }])
|
|
@@ -3533,9 +3533,9 @@ function Ef(e, t, n, o, a, i) {
|
|
|
3533
3533
|
Z($(e.model.name ? e.model.name : "New Item") + " ", 1),
|
|
3534
3534
|
A(r, { class: "metric-add-icon" })
|
|
3535
3535
|
]),
|
|
3536
|
-
A(
|
|
3536
|
+
A(Ls, { name: "slide-fade" }, {
|
|
3537
3537
|
default: E(() => [
|
|
3538
|
-
a.contentVisible ? (d(), M("div",
|
|
3538
|
+
a.contentVisible ? (d(), M("div", Ef, [
|
|
3539
3539
|
we(e.$slots, "default"),
|
|
3540
3540
|
A(c, {
|
|
3541
3541
|
appearance: "tertiary",
|
|
@@ -3553,7 +3553,7 @@ function Ef(e, t, n, o, a, i) {
|
|
|
3553
3553
|
})
|
|
3554
3554
|
], 2);
|
|
3555
3555
|
}
|
|
3556
|
-
const as = /* @__PURE__ */ J(
|
|
3556
|
+
const as = /* @__PURE__ */ J(Af, [["render", If]]), Cf = { class: "field-object-container" }, Of = { key: 1 }, kf = ["id"], Rf = { key: 0 }, Ff = ["onUpdate:modelValue"], Nf = { key: 1 }, Uf = ["onUpdate:modelValue"], Lf = { key: 2 }, Df = ["onUpdate:modelValue"], Pf = ["onClick"], Vf = {
|
|
3557
3557
|
mixins: [qe],
|
|
3558
3558
|
emits: ["modelUpdated"],
|
|
3559
3559
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
@@ -3591,46 +3591,46 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
3591
3591
|
this.$emit("modelUpdated", e, t);
|
|
3592
3592
|
}
|
|
3593
3593
|
}
|
|
3594
|
-
},
|
|
3594
|
+
}, Kf = /* @__PURE__ */ Object.assign(Vf, {
|
|
3595
3595
|
__name: "FieldObject",
|
|
3596
3596
|
setup(e) {
|
|
3597
3597
|
return (t, n) => {
|
|
3598
3598
|
const o = so("attributes");
|
|
3599
|
-
return Fe((d(), M("div",
|
|
3599
|
+
return Fe((d(), M("div", Cf, [
|
|
3600
3600
|
t.schema.schema ? (d(), L(pe, {
|
|
3601
3601
|
key: 0,
|
|
3602
3602
|
model: t.value,
|
|
3603
3603
|
options: t.formOptions,
|
|
3604
3604
|
schema: t.schema.schema,
|
|
3605
3605
|
onModelUpdated: t.updateModel
|
|
3606
|
-
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : (d(), M("div",
|
|
3606
|
+
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : (d(), M("div", Of, [
|
|
3607
3607
|
u("table", {
|
|
3608
3608
|
id: t.getFieldID(t.schema),
|
|
3609
3609
|
class: ne(t.schema.fieldClasses)
|
|
3610
3610
|
}, [
|
|
3611
3611
|
(d(!0), M(Y, null, se(t.value, (a, i) => (d(), M("tr", { key: i }, [
|
|
3612
3612
|
u("td", null, $(i), 1),
|
|
3613
|
-
t.keyTypes[i] === "string" ? (d(), M("td",
|
|
3613
|
+
t.keyTypes[i] === "string" ? (d(), M("td", Rf, [
|
|
3614
3614
|
Fe(u("input", {
|
|
3615
3615
|
"onUpdate:modelValue": (r) => t.value[i] = r,
|
|
3616
3616
|
type: "text"
|
|
3617
|
-
}, null, 8,
|
|
3617
|
+
}, null, 8, Ff), [
|
|
3618
3618
|
[Qt, t.value[i]]
|
|
3619
3619
|
])
|
|
3620
3620
|
])) : z("", !0),
|
|
3621
|
-
t.keyTypes[i] === "boolean" ? (d(), M("td",
|
|
3621
|
+
t.keyTypes[i] === "boolean" ? (d(), M("td", Nf, [
|
|
3622
3622
|
Fe(u("input", {
|
|
3623
3623
|
"onUpdate:modelValue": (r) => t.value[i] = r,
|
|
3624
3624
|
type: "checkbox"
|
|
3625
|
-
}, null, 8,
|
|
3626
|
-
[
|
|
3625
|
+
}, null, 8, Uf), [
|
|
3626
|
+
[Ds, t.value[i]]
|
|
3627
3627
|
])
|
|
3628
3628
|
])) : z("", !0),
|
|
3629
|
-
t.keyTypes[i] === "number" ? (d(), M("td",
|
|
3629
|
+
t.keyTypes[i] === "number" ? (d(), M("td", Lf, [
|
|
3630
3630
|
Fe(u("input", {
|
|
3631
3631
|
"onUpdate:modelValue": (r) => t.value[i] = r,
|
|
3632
3632
|
type: "number"
|
|
3633
|
-
}, null, 8,
|
|
3633
|
+
}, null, 8, Df), [
|
|
3634
3634
|
[Qt, t.value[i]]
|
|
3635
3635
|
])
|
|
3636
3636
|
])) : z("", !0),
|
|
@@ -3639,10 +3639,10 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
3639
3639
|
type: "button",
|
|
3640
3640
|
value: "x",
|
|
3641
3641
|
onClick: (r) => t.removeElement(i)
|
|
3642
|
-
}, null, 8,
|
|
3642
|
+
}, null, 8, Pf)
|
|
3643
3643
|
])
|
|
3644
3644
|
]))), 128))
|
|
3645
|
-
], 10,
|
|
3645
|
+
], 10, kf),
|
|
3646
3646
|
Fe(u("select", {
|
|
3647
3647
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => t.newKeyType = a)
|
|
3648
3648
|
}, [...n[3] || (n[3] = [
|
|
@@ -3650,7 +3650,7 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
3650
3650
|
u("option", { value: "number" }, " Number ", -1),
|
|
3651
3651
|
u("option", { value: "boolean" }, " Boolean ", -1)
|
|
3652
3652
|
])], 512), [
|
|
3653
|
-
[
|
|
3653
|
+
[Ps, t.newKeyType]
|
|
3654
3654
|
]),
|
|
3655
3655
|
Fe(u("input", {
|
|
3656
3656
|
"onUpdate:modelValue": n[1] || (n[1] = (a) => t.newKeyName = a),
|
|
@@ -3669,13 +3669,13 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
3669
3669
|
]);
|
|
3670
3670
|
};
|
|
3671
3671
|
}
|
|
3672
|
-
}), os = /* @__PURE__ */ J(
|
|
3672
|
+
}), os = /* @__PURE__ */ J(Kf, [["__scopeId", "data-v-6eddb0ed"]]), jf = ["id"], xf = ["data-testid"], $f = { class: "item-wrapper" }, zf = { class: "index-wrapper" }, qf = { key: 0 }, Bf = { key: 1 }, Hf = ["onUpdate:modelValue", "placeholder", "type", "onInput"], Gf = {
|
|
3673
3673
|
key: 0,
|
|
3674
3674
|
class: "hint"
|
|
3675
|
-
},
|
|
3675
|
+
}, Yf = { class: "input-item" }, Wf = ["placeholder"], Zf = {
|
|
3676
3676
|
key: 0,
|
|
3677
3677
|
class: "hint"
|
|
3678
|
-
},
|
|
3678
|
+
}, Xf = {
|
|
3679
3679
|
mixins: [qe],
|
|
3680
3680
|
inject: {
|
|
3681
3681
|
autofillSlot: {
|
|
@@ -3774,7 +3774,7 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
3774
3774
|
this.$emit("model-updated", this.model[this.schema.model], t);
|
|
3775
3775
|
}
|
|
3776
3776
|
}
|
|
3777
|
-
},
|
|
3777
|
+
}, Jf = /* @__PURE__ */ Object.assign(Xf, {
|
|
3778
3778
|
__name: "FieldObjectAdvanced",
|
|
3779
3779
|
setup(e) {
|
|
3780
3780
|
return (t, n) => {
|
|
@@ -3788,8 +3788,8 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
3788
3788
|
"data-testid": `field-object-key-${i}`
|
|
3789
3789
|
}, [
|
|
3790
3790
|
u("div", null, [
|
|
3791
|
-
u("div",
|
|
3792
|
-
u("div",
|
|
3791
|
+
u("div", $f, [
|
|
3792
|
+
u("div", zf, [
|
|
3793
3793
|
u("strong", null, $(i), 1),
|
|
3794
3794
|
u("div", null, [
|
|
3795
3795
|
A(o, {
|
|
@@ -3807,24 +3807,24 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
3807
3807
|
])
|
|
3808
3808
|
]),
|
|
3809
3809
|
n[1] || (n[1] = u("hr", { class: "divider" }, null, -1)),
|
|
3810
|
-
t.subSchema ? (d(), M("div",
|
|
3810
|
+
t.subSchema ? (d(), M("div", qf, [
|
|
3811
3811
|
A(pe, {
|
|
3812
3812
|
model: t.transformedModel[i],
|
|
3813
3813
|
options: { helpAsHtml: !0 },
|
|
3814
3814
|
schema: t.subSchema,
|
|
3815
3815
|
onModelUpdated: t.updateModel
|
|
3816
3816
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
3817
|
-
])) : (d(), M("div",
|
|
3817
|
+
])) : (d(), M("div", Bf, [
|
|
3818
3818
|
Fe(u("input", {
|
|
3819
3819
|
"onUpdate:modelValue": (r) => t.value[i] = r,
|
|
3820
3820
|
class: "form-control",
|
|
3821
3821
|
placeholder: t.schema.fields && t.schema.fields[0].schema.placeholder,
|
|
3822
3822
|
type: t.valueInputType,
|
|
3823
3823
|
onInput: (r) => t.updateModel(t.value[i], t.model[t.schema.model])
|
|
3824
|
-
}, null, 40,
|
|
3824
|
+
}, null, 40, Hf), [
|
|
3825
3825
|
[ro, t.value[i]]
|
|
3826
3826
|
]),
|
|
3827
|
-
t.schema.fields && t.schema.fields[0].schema.hint ? (d(), M("p",
|
|
3827
|
+
t.schema.fields && t.schema.fields[0].schema.hint ? (d(), M("p", Gf, $(t.schema.fields[0].schema.hint), 1)) : z("", !0),
|
|
3828
3828
|
(d(), L(le(t.autofillSlot), {
|
|
3829
3829
|
schema: t.schema.fields && t.schema.fields[0].schema || t.schema.values,
|
|
3830
3830
|
update: (r) => t.value[i] = r,
|
|
@@ -3834,18 +3834,18 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
3834
3834
|
n[2] || (n[2] = u("hr", { class: "wide-divider" }, null, -1))
|
|
3835
3835
|
])
|
|
3836
3836
|
])
|
|
3837
|
-
], 8,
|
|
3837
|
+
], 8, xf))), 128)),
|
|
3838
3838
|
u("div", {
|
|
3839
3839
|
class: ne(["input-wrapper", { indent: t.hasObjectKeys }])
|
|
3840
3840
|
}, [
|
|
3841
|
-
u("div",
|
|
3841
|
+
u("div", Yf, [
|
|
3842
3842
|
Fe(u("input", {
|
|
3843
3843
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => t.newKeyName = a),
|
|
3844
3844
|
class: "form-control",
|
|
3845
3845
|
"data-testid": "keyname-input",
|
|
3846
3846
|
placeholder: t.schema.placeholder,
|
|
3847
3847
|
type: "text"
|
|
3848
|
-
}, null, 8,
|
|
3848
|
+
}, null, 8, Wf), [
|
|
3849
3849
|
[Qt, t.newKeyName]
|
|
3850
3850
|
]),
|
|
3851
3851
|
A(o, {
|
|
@@ -3860,12 +3860,12 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
3860
3860
|
_: 1
|
|
3861
3861
|
}, 8, ["disabled", "onClick"])
|
|
3862
3862
|
]),
|
|
3863
|
-
t.schema.hintText ? (d(), M("p",
|
|
3863
|
+
t.schema.hintText ? (d(), M("p", Zf, $(t.schema.hintText), 1)) : z("", !0)
|
|
3864
3864
|
], 2)
|
|
3865
|
-
], 10,
|
|
3865
|
+
], 10, jf);
|
|
3866
3866
|
};
|
|
3867
3867
|
}
|
|
3868
|
-
}), ss = /* @__PURE__ */ J(
|
|
3868
|
+
}), ss = /* @__PURE__ */ J(Jf, [["__scopeId", "data-v-0faeec4d"]]), Qf = { class: "radio-selection-group" }, eh = /* @__PURE__ */ be({
|
|
3869
3869
|
__name: "FieldRadio",
|
|
3870
3870
|
props: {
|
|
3871
3871
|
disabled: {
|
|
@@ -3922,7 +3922,7 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
3922
3922
|
};
|
|
3923
3923
|
return (b, f) => {
|
|
3924
3924
|
const g = k("KRadio");
|
|
3925
|
-
return d(), M("div",
|
|
3925
|
+
return d(), M("div", Qf, [
|
|
3926
3926
|
(d(!0), M(Y, null, se(e.schema.values, (T, w) => (d(), L(g, {
|
|
3927
3927
|
id: e.schema.name + "-" + w,
|
|
3928
3928
|
key: T.value,
|
|
@@ -3938,7 +3938,7 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
3938
3938
|
]);
|
|
3939
3939
|
};
|
|
3940
3940
|
}
|
|
3941
|
-
}), rs = /* @__PURE__ */ J(
|
|
3941
|
+
}), rs = /* @__PURE__ */ J(eh, [["__scopeId", "data-v-a070103e"]]), ls = /* @__PURE__ */ be({
|
|
3942
3942
|
__name: "FieldSelect",
|
|
3943
3943
|
props: {
|
|
3944
3944
|
disabled: {
|
|
@@ -4041,7 +4041,7 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
4041
4041
|
}, null, 8, ["id", "modelValue", "class", "clearable", "disabled", "items", "kpop-attributes", "label-attributes", "name", "placeholder", "required"]);
|
|
4042
4042
|
};
|
|
4043
4043
|
}
|
|
4044
|
-
}),
|
|
4044
|
+
}), th = { class: "field-string-array" }, nh = /* @__PURE__ */ be({
|
|
4045
4045
|
__name: "FieldStringArray",
|
|
4046
4046
|
props: {
|
|
4047
4047
|
formOptions: {},
|
|
@@ -4078,7 +4078,7 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
4078
4078
|
b(f(m.value)) !== w && (m.value = w);
|
|
4079
4079
|
}, { immediate: !0 }), (T, w) => {
|
|
4080
4080
|
const v = k("KInput");
|
|
4081
|
-
return d(), M("div",
|
|
4081
|
+
return d(), M("div", th, [
|
|
4082
4082
|
A(v, tt(T.$attrs, {
|
|
4083
4083
|
id: P(i)(e.schema),
|
|
4084
4084
|
"aria-labelledby": P(r)(e.schema),
|
|
@@ -4092,7 +4092,7 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
4092
4092
|
]);
|
|
4093
4093
|
};
|
|
4094
4094
|
}
|
|
4095
|
-
}), ds = /* @__PURE__ */ J(
|
|
4095
|
+
}), ds = /* @__PURE__ */ J(nh, [["__scopeId", "data-v-cf2eff67"]]), ih = {
|
|
4096
4096
|
name: "FieldArray",
|
|
4097
4097
|
components: {
|
|
4098
4098
|
FieldArrayItem: Zo,
|
|
@@ -4184,11 +4184,11 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
4184
4184
|
this.value = this.value.map((n, o) => o === t ? e : n), this.$emit("refreshModel");
|
|
4185
4185
|
}
|
|
4186
4186
|
}
|
|
4187
|
-
},
|
|
4187
|
+
}, ah = ["id"], oh = {
|
|
4188
4188
|
key: 0,
|
|
4189
4189
|
class: "string-array-item"
|
|
4190
|
-
},
|
|
4191
|
-
function
|
|
4190
|
+
}, sh = { key: 2 }, rh = ["onUpdate:modelValue", "aria-labelledby", "type"], lh = ["onUpdate:modelValue", "aria-labelledby"];
|
|
4191
|
+
function dh(e, t, n, o, a, i) {
|
|
4192
4192
|
const r = k("FieldStringArray"), l = k("TrashIcon"), c = k("KButton"), m = k("KTextArea"), b = k("KInput");
|
|
4193
4193
|
return e.schema ? (d(), M("div", {
|
|
4194
4194
|
key: 0,
|
|
@@ -4199,7 +4199,7 @@ function lh(e, t, n, o, a, i) {
|
|
|
4199
4199
|
key: g,
|
|
4200
4200
|
class: ne(e.schema.fieldItemsClasses)
|
|
4201
4201
|
}, [
|
|
4202
|
-
i.isStringArrayItems() ? (d(), M("div",
|
|
4202
|
+
i.isStringArrayItems() ? (d(), M("div", oh, [
|
|
4203
4203
|
A(r, {
|
|
4204
4204
|
"form-options": e.formOptions,
|
|
4205
4205
|
model: e.value,
|
|
@@ -4233,7 +4233,7 @@ function lh(e, t, n, o, a, i) {
|
|
|
4233
4233
|
}, null, 40, ["form-options", "model", "schema", "onModelUpdated"]))
|
|
4234
4234
|
]),
|
|
4235
4235
|
_: 2
|
|
4236
|
-
}, 1064, ["index", "model", "schema", "onRemoveItem"])) : e.schema.items ? (d(), M("span",
|
|
4236
|
+
}, 1064, ["index", "model", "schema", "onRemoveItem"])) : e.schema.items ? (d(), M("span", sh, [
|
|
4237
4237
|
(d(), L(le(i.getFieldComponent(e.schema.items)), {
|
|
4238
4238
|
"form-options": e.formOptions,
|
|
4239
4239
|
model: f,
|
|
@@ -4291,7 +4291,7 @@ function lh(e, t, n, o, a, i) {
|
|
|
4291
4291
|
"aria-labelledby": e.getLabelId(e.schema)
|
|
4292
4292
|
}, { ref_for: !0 }, e.schema.inputAttributes, {
|
|
4293
4293
|
type: ((T = e.schema.inputAttributes) == null ? void 0 : T.type) || "text"
|
|
4294
|
-
}), null, 16,
|
|
4294
|
+
}), null, 16, rh)), [
|
|
4295
4295
|
[ro, e.value[g]]
|
|
4296
4296
|
])
|
|
4297
4297
|
];
|
|
@@ -4302,7 +4302,7 @@ function lh(e, t, n, o, a, i) {
|
|
|
4302
4302
|
"onUpdate:modelValue": (T) => e.value[g] = T,
|
|
4303
4303
|
"aria-labelledby": e.getLabelId(e.schema),
|
|
4304
4304
|
type: "text"
|
|
4305
|
-
}), null, 16,
|
|
4305
|
+
}), null, 16, lh), [
|
|
4306
4306
|
[Qt, e.value[g]]
|
|
4307
4307
|
]),
|
|
4308
4308
|
(d(), L(le(i.autofillSlot), {
|
|
@@ -4324,9 +4324,9 @@ function lh(e, t, n, o, a, i) {
|
|
|
4324
4324
|
]),
|
|
4325
4325
|
_: 1
|
|
4326
4326
|
}, 8, ["class", "data-testid", "onClick"])
|
|
4327
|
-
], 10,
|
|
4327
|
+
], 10, ah)) : z("", !0);
|
|
4328
4328
|
}
|
|
4329
|
-
const
|
|
4329
|
+
const ch = /* @__PURE__ */ J(ih, [["render", dh], ["__scopeId", "data-v-64e1f575"]]), uh = { class: "form-field-wrapper field-checkbox" }, mh = ["innerHTML"], fh = /* @__PURE__ */ be({
|
|
4330
4330
|
__name: "FieldCheckbox",
|
|
4331
4331
|
props: {
|
|
4332
4332
|
disabled: {
|
|
@@ -4381,7 +4381,7 @@ const dh = /* @__PURE__ */ J(nh, [["render", lh], ["__scopeId", "data-v-64e1f575
|
|
|
4381
4381
|
clearValidationErrors: c
|
|
4382
4382
|
}), (f, g) => {
|
|
4383
4383
|
const T = k("KCheckbox");
|
|
4384
|
-
return d(), M("div",
|
|
4384
|
+
return d(), M("div", uh, [
|
|
4385
4385
|
A(T, tt(f.$attrs, {
|
|
4386
4386
|
id: P(r)(e.schema),
|
|
4387
4387
|
modelValue: P(l),
|
|
@@ -4401,7 +4401,7 @@ const dh = /* @__PURE__ */ J(nh, [["render", lh], ["__scopeId", "data-v-64e1f575
|
|
|
4401
4401
|
e.schema.checkboxLabel && e.schema.help ? {
|
|
4402
4402
|
name: "tooltip",
|
|
4403
4403
|
fn: E(() => [
|
|
4404
|
-
u("span", { innerHTML: m.value }, null, 8,
|
|
4404
|
+
u("span", { innerHTML: m.value }, null, 8, mh)
|
|
4405
4405
|
]),
|
|
4406
4406
|
key: "0"
|
|
4407
4407
|
} : void 0
|
|
@@ -4409,10 +4409,10 @@ const dh = /* @__PURE__ */ J(nh, [["render", lh], ["__scopeId", "data-v-64e1f575
|
|
|
4409
4409
|
]);
|
|
4410
4410
|
};
|
|
4411
4411
|
}
|
|
4412
|
-
}),
|
|
4413
|
-
function
|
|
4412
|
+
}), hh = /* @__PURE__ */ J(fh, [["__scopeId", "data-v-39c92a17"]]), ph = { class: "wrapper" }, gh = ["disabled"], yh = ["id", "checked", "disabled", "onChange", "name"], vh = ["disabled"], bh = { class: "info" }, _h = { class: "dropList" }, Sh = ["id", "checked", "disabled", "onChange", "name"];
|
|
4413
|
+
function Th(e, t, n, o, a, i) {
|
|
4414
4414
|
const r = so("attributes");
|
|
4415
|
-
return Fe((d(), M("div",
|
|
4415
|
+
return Fe((d(), M("div", ph, [
|
|
4416
4416
|
e.schema.listBox ? (d(), M("div", {
|
|
4417
4417
|
key: 0,
|
|
4418
4418
|
class: "listbox form-control",
|
|
@@ -4429,13 +4429,13 @@ function Sh(e, t, n, o, a, i) {
|
|
|
4429
4429
|
disabled: e.disabled || null,
|
|
4430
4430
|
onChange: (c) => i.onChanged(c, l),
|
|
4431
4431
|
name: i.getInputName(l)
|
|
4432
|
-
}, null, 40,
|
|
4432
|
+
}, null, 40, yh), [
|
|
4433
4433
|
[r, "input"]
|
|
4434
4434
|
]),
|
|
4435
4435
|
Z($(i.getItemName(l)), 1)
|
|
4436
4436
|
])
|
|
4437
4437
|
], 2))), 256))
|
|
4438
|
-
], 8,
|
|
4438
|
+
], 8, gh)) : z("", !0),
|
|
4439
4439
|
e.schema.listBox ? z("", !0) : (d(), M("div", {
|
|
4440
4440
|
key: 1,
|
|
4441
4441
|
class: "combobox form-control",
|
|
@@ -4445,10 +4445,10 @@ function Sh(e, t, n, o, a, i) {
|
|
|
4445
4445
|
class: ne(["mainRow", { expanded: a.comboExpanded }]),
|
|
4446
4446
|
onClick: t[0] || (t[0] = (...l) => i.onExpandCombo && i.onExpandCombo(...l))
|
|
4447
4447
|
}, [
|
|
4448
|
-
u("div",
|
|
4448
|
+
u("div", bh, $(i.selectedCount) + " selected", 1),
|
|
4449
4449
|
t[1] || (t[1] = u("div", { class: "arrow" }, null, -1))
|
|
4450
4450
|
], 2),
|
|
4451
|
-
u("div",
|
|
4451
|
+
u("div", _h, [
|
|
4452
4452
|
a.comboExpanded ? (d(!0), M(Y, { key: 0 }, se(i.items, (l) => (d(), M("div", {
|
|
4453
4453
|
class: ne(["list-row", { "is-checked": i.isItemChecked(l) }])
|
|
4454
4454
|
}, [
|
|
@@ -4460,19 +4460,19 @@ function Sh(e, t, n, o, a, i) {
|
|
|
4460
4460
|
disabled: e.disabled || null,
|
|
4461
4461
|
onChange: (c) => i.onChanged(c, l),
|
|
4462
4462
|
name: i.getInputName(l)
|
|
4463
|
-
}, null, 40,
|
|
4463
|
+
}, null, 40, Sh), [
|
|
4464
4464
|
[r, "input"]
|
|
4465
4465
|
]),
|
|
4466
4466
|
Z($(i.getItemName(l)), 1)
|
|
4467
4467
|
])
|
|
4468
4468
|
], 2))), 256)) : z("", !0)
|
|
4469
4469
|
])
|
|
4470
|
-
], 8,
|
|
4470
|
+
], 8, vh))
|
|
4471
4471
|
])), [
|
|
4472
4472
|
[r, "wrapper"]
|
|
4473
4473
|
]);
|
|
4474
4474
|
}
|
|
4475
|
-
const
|
|
4475
|
+
const Mh = {
|
|
4476
4476
|
mixins: [qe],
|
|
4477
4477
|
data() {
|
|
4478
4478
|
return {
|
|
@@ -4528,7 +4528,7 @@ const Th = {
|
|
|
4528
4528
|
this.comboExpanded = !this.comboExpanded;
|
|
4529
4529
|
}
|
|
4530
4530
|
}
|
|
4531
|
-
},
|
|
4531
|
+
}, wh = /* @__PURE__ */ J(Mh, [["render", Th]]), Ah = {
|
|
4532
4532
|
name: "FieldKeyValuePairs",
|
|
4533
4533
|
components: { TrashIcon: Kt },
|
|
4534
4534
|
mixins: [qe],
|
|
@@ -4582,15 +4582,15 @@ const Th = {
|
|
|
4582
4582
|
this.pairs.splice(e, 1);
|
|
4583
4583
|
}
|
|
4584
4584
|
}
|
|
4585
|
-
},
|
|
4586
|
-
function
|
|
4585
|
+
}, Eh = { class: "key-value-pairs-editor" }, Ih = { class: "pair-item-cell" }, Ch = ["data-testid", "placeholder", "value", "onInput"], Oh = { class: "pair-item-cell" }, kh = ["data-testid", "placeholder", "value", "onInput"];
|
|
4586
|
+
function Rh(e, t, n, o, a, i) {
|
|
4587
4587
|
const r = k("TrashIcon"), l = k("KButton");
|
|
4588
|
-
return d(), M("div",
|
|
4588
|
+
return d(), M("div", Eh, [
|
|
4589
4589
|
(d(!0), M(Y, null, se(a.pairs, (c, m) => (d(), M("div", {
|
|
4590
4590
|
key: m,
|
|
4591
4591
|
class: "pair-item"
|
|
4592
4592
|
}, [
|
|
4593
|
-
u("div",
|
|
4593
|
+
u("div", Ih, [
|
|
4594
4594
|
u("input", {
|
|
4595
4595
|
class: "form-control",
|
|
4596
4596
|
"data-testid": `${e.getFieldID(e.schema)}-pair-key-${m}`,
|
|
@@ -4600,14 +4600,14 @@ function kh(e, t, n, o, a, i) {
|
|
|
4600
4600
|
onInput: (b) => {
|
|
4601
4601
|
i.onInput(b, m, "key");
|
|
4602
4602
|
}
|
|
4603
|
-
}, null, 40,
|
|
4603
|
+
}, null, 40, Ch),
|
|
4604
4604
|
(d(), L(le(i.autofillSlot), {
|
|
4605
4605
|
schema: e.schema,
|
|
4606
4606
|
update: (b) => i.onInput({ target: { value: b } }, m, "key"),
|
|
4607
4607
|
value: c.key
|
|
4608
4608
|
}, null, 8, ["schema", "update", "value"]))
|
|
4609
4609
|
]),
|
|
4610
|
-
u("div",
|
|
4610
|
+
u("div", Oh, [
|
|
4611
4611
|
u("input", {
|
|
4612
4612
|
class: "form-control",
|
|
4613
4613
|
"data-testid": `${e.getFieldID(e.schema)}-pair-value-${m}`,
|
|
@@ -4617,7 +4617,7 @@ function kh(e, t, n, o, a, i) {
|
|
|
4617
4617
|
onInput: (b) => {
|
|
4618
4618
|
i.onInput(b, m, "value");
|
|
4619
4619
|
}
|
|
4620
|
-
}, null, 40,
|
|
4620
|
+
}, null, 40, kh),
|
|
4621
4621
|
(d(), L(le(i.autofillSlot), {
|
|
4622
4622
|
schema: e.schema,
|
|
4623
4623
|
update: (b) => i.onInput({ target: { value: b } }, m, "value"),
|
|
@@ -4651,7 +4651,7 @@ function kh(e, t, n, o, a, i) {
|
|
|
4651
4651
|
}, 8, ["class", "data-testid", "onClick"])
|
|
4652
4652
|
]);
|
|
4653
4653
|
}
|
|
4654
|
-
const
|
|
4654
|
+
const Fh = /* @__PURE__ */ J(Ah, [["render", Rh], ["__scopeId", "data-v-be99d00c"]]), Nh = /* @__PURE__ */ be({
|
|
4655
4655
|
__name: "FieldLabel",
|
|
4656
4656
|
props: {
|
|
4657
4657
|
disabled: {
|
|
@@ -4699,7 +4699,7 @@ const Rh = /* @__PURE__ */ J(wh, [["render", kh], ["__scopeId", "data-v-be99d00c
|
|
|
4699
4699
|
], 2);
|
|
4700
4700
|
};
|
|
4701
4701
|
}
|
|
4702
|
-
}),
|
|
4702
|
+
}), Uh = /* @__PURE__ */ J(Nh, [["__scopeId", "data-v-e3423a11"]]), Lh = /* @__PURE__ */ be({
|
|
4703
4703
|
__name: "FieldMultiselect",
|
|
4704
4704
|
props: {
|
|
4705
4705
|
disabled: {
|
|
@@ -4774,10 +4774,10 @@ const Rh = /* @__PURE__ */ J(wh, [["render", kh], ["__scopeId", "data-v-be99d00c
|
|
|
4774
4774
|
}, null, 8, ["id", "modelValue", "aria-labelledby", "class", "disabled", "items", "kpop-attributes", "label-attributes", "name", "placeholder", "required"]);
|
|
4775
4775
|
};
|
|
4776
4776
|
}
|
|
4777
|
-
}),
|
|
4777
|
+
}), Dh = { class: "selection-group" }, Ph = { class: "form-group horizontal-radios" }, Vh = { class: "radio-group" }, Kh = ["disabled", "value"], jh = { class: "control-help" }, xh = {
|
|
4778
4778
|
key: 0,
|
|
4779
4779
|
class: "option-field"
|
|
4780
|
-
},
|
|
4780
|
+
}, $h = { class: "option-field-container" }, zh = {
|
|
4781
4781
|
mixins: [qe],
|
|
4782
4782
|
emits: ["model-updated"],
|
|
4783
4783
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
@@ -4822,18 +4822,18 @@ const Rh = /* @__PURE__ */ J(wh, [["render", kh], ["__scopeId", "data-v-be99d00c
|
|
|
4822
4822
|
this.$emit("model-updated", e, t);
|
|
4823
4823
|
}
|
|
4824
4824
|
}
|
|
4825
|
-
},
|
|
4825
|
+
}, qh = /* @__PURE__ */ Object.assign(zh, {
|
|
4826
4826
|
__name: "FieldSelectionGroup",
|
|
4827
4827
|
setup(e) {
|
|
4828
4828
|
const { t } = De("en-us", Pe);
|
|
4829
|
-
return (n, o) => (d(), M("div",
|
|
4829
|
+
return (n, o) => (d(), M("div", Dh, [
|
|
4830
4830
|
(d(), L(le(n.$props.disabled ? "k-tooltip" : "div"), {
|
|
4831
4831
|
"max-width": "300",
|
|
4832
4832
|
text: P(t)("general.disable_global_radio", { scope: n.scope })
|
|
4833
4833
|
}, {
|
|
4834
4834
|
default: E(() => [
|
|
4835
|
-
u("div",
|
|
4836
|
-
u("div",
|
|
4835
|
+
u("div", Ph, [
|
|
4836
|
+
u("div", Vh, [
|
|
4837
4837
|
(d(!0), M(Y, null, se(n.schema.fields, (a, i) => (d(), M("div", {
|
|
4838
4838
|
key: i,
|
|
4839
4839
|
class: ne(["option-group", { "radio-disabled": n.$props.disabled }])
|
|
@@ -4847,11 +4847,11 @@ const Rh = /* @__PURE__ */ J(wh, [["render", kh], ["__scopeId", "data-v-be99d00c
|
|
|
4847
4847
|
disabled: n.$props.disabled,
|
|
4848
4848
|
type: "radio",
|
|
4849
4849
|
value: i
|
|
4850
|
-
}, null, 8,
|
|
4851
|
-
[
|
|
4850
|
+
}, null, 8, Kh), [
|
|
4851
|
+
[Vs, n.checkedGroup]
|
|
4852
4852
|
]),
|
|
4853
4853
|
Z(" " + $(a.label) + " ", 1),
|
|
4854
|
-
u("div",
|
|
4854
|
+
u("div", jh, $(a.description), 1)
|
|
4855
4855
|
], 2)
|
|
4856
4856
|
], 2))), 128))
|
|
4857
4857
|
])
|
|
@@ -4863,8 +4863,8 @@ const Rh = /* @__PURE__ */ J(wh, [["render", kh], ["__scopeId", "data-v-be99d00c
|
|
|
4863
4863
|
key: i,
|
|
4864
4864
|
class: "option-group"
|
|
4865
4865
|
}, [
|
|
4866
|
-
n.renderedTrack[i] ? Fe((d(), M("div",
|
|
4867
|
-
u("div",
|
|
4866
|
+
n.renderedTrack[i] ? Fe((d(), M("div", xh, [
|
|
4867
|
+
u("div", $h, [
|
|
4868
4868
|
A(pe, {
|
|
4869
4869
|
model: n.model,
|
|
4870
4870
|
options: { helpAsHtml: !0 },
|
|
@@ -4873,12 +4873,12 @@ const Rh = /* @__PURE__ */ J(wh, [["render", kh], ["__scopeId", "data-v-be99d00c
|
|
|
4873
4873
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
4874
4874
|
])
|
|
4875
4875
|
], 512)), [
|
|
4876
|
-
[
|
|
4876
|
+
[Ks, a.fields && n.checkedGroup === i]
|
|
4877
4877
|
]) : z("", !0)
|
|
4878
4878
|
]))), 128))
|
|
4879
4879
|
]));
|
|
4880
4880
|
}
|
|
4881
|
-
}),
|
|
4881
|
+
}), Bh = /* @__PURE__ */ J(qh, [["__scopeId", "data-v-0b44571b"]]), Hh = { class: "form-field-wrapper" }, Gh = /* @__PURE__ */ be({
|
|
4882
4882
|
__name: "FieldSwitch",
|
|
4883
4883
|
props: {
|
|
4884
4884
|
disabled: {
|
|
@@ -4932,7 +4932,7 @@ const Rh = /* @__PURE__ */ J(wh, [["render", kh], ["__scopeId", "data-v-be99d00c
|
|
|
4932
4932
|
clearValidationErrors: f
|
|
4933
4933
|
}), (g, T) => {
|
|
4934
4934
|
const w = k("KInputSwitch");
|
|
4935
|
-
return d(), M("div",
|
|
4935
|
+
return d(), M("div", Hh, [
|
|
4936
4936
|
A(w, {
|
|
4937
4937
|
id: P(m)(e.schema),
|
|
4938
4938
|
modelValue: P(b),
|
|
@@ -4948,7 +4948,7 @@ const Rh = /* @__PURE__ */ J(wh, [["render", kh], ["__scopeId", "data-v-be99d00c
|
|
|
4948
4948
|
]);
|
|
4949
4949
|
};
|
|
4950
4950
|
}
|
|
4951
|
-
}),
|
|
4951
|
+
}), Yh = { class: "field-textarea" }, Wh = /* @__PURE__ */ be({
|
|
4952
4952
|
__name: "FieldTextArea",
|
|
4953
4953
|
props: {
|
|
4954
4954
|
disabled: {
|
|
@@ -5004,7 +5004,7 @@ const Rh = /* @__PURE__ */ J(wh, [["render", kh], ["__scopeId", "data-v-be99d00c
|
|
|
5004
5004
|
};
|
|
5005
5005
|
return (g, T) => {
|
|
5006
5006
|
const w = k("KTextArea");
|
|
5007
|
-
return d(), M("div",
|
|
5007
|
+
return d(), M("div", Yh, [
|
|
5008
5008
|
A(w, tt(g.$attrs, {
|
|
5009
5009
|
id: P(c)(e.schema),
|
|
5010
5010
|
modelValue: P(b),
|
|
@@ -5030,33 +5030,33 @@ const Rh = /* @__PURE__ */ J(wh, [["render", kh], ["__scopeId", "data-v-be99d00c
|
|
|
5030
5030
|
]);
|
|
5031
5031
|
};
|
|
5032
5032
|
}
|
|
5033
|
-
}),
|
|
5033
|
+
}), Zh = /* @__PURE__ */ J(Wh, [["__scopeId", "data-v-609c18d6"]]), Xh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5034
5034
|
__proto__: null,
|
|
5035
|
-
FieldAdvanced:
|
|
5036
|
-
FieldArray:
|
|
5035
|
+
FieldAdvanced: Vm,
|
|
5036
|
+
FieldArray: ch,
|
|
5037
5037
|
FieldArrayCardContainer: Wo,
|
|
5038
5038
|
FieldArrayItem: Zo,
|
|
5039
5039
|
FieldArrayMultiItem: Xo,
|
|
5040
5040
|
FieldAutoSuggest: ts,
|
|
5041
5041
|
FieldAutoSuggestLegacy: ns,
|
|
5042
|
-
FieldCheckbox:
|
|
5043
|
-
FieldChecklist:
|
|
5042
|
+
FieldCheckbox: hh,
|
|
5043
|
+
FieldChecklist: wh,
|
|
5044
5044
|
FieldInput: is,
|
|
5045
|
-
FieldKeyValuePairs:
|
|
5046
|
-
FieldLabel:
|
|
5045
|
+
FieldKeyValuePairs: Fh,
|
|
5046
|
+
FieldLabel: Uh,
|
|
5047
5047
|
FieldMetric: as,
|
|
5048
|
-
FieldMultiselect:
|
|
5048
|
+
FieldMultiselect: Lh,
|
|
5049
5049
|
FieldObject: os,
|
|
5050
5050
|
FieldObjectAdvanced: ss,
|
|
5051
5051
|
FieldRadio: rs,
|
|
5052
5052
|
FieldSelect: ls,
|
|
5053
|
-
FieldSelectionGroup:
|
|
5053
|
+
FieldSelectionGroup: Bh,
|
|
5054
5054
|
FieldStringArray: ds,
|
|
5055
|
-
FieldSwitch:
|
|
5056
|
-
FieldTextArea:
|
|
5057
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5055
|
+
FieldSwitch: Gh,
|
|
5056
|
+
FieldTextArea: Zh
|
|
5057
|
+
}, Symbol.toStringTag, { value: "Module" })), Jh = {
|
|
5058
5058
|
name: "FormGroup",
|
|
5059
|
-
components:
|
|
5059
|
+
components: Xh,
|
|
5060
5060
|
mixins: [Po],
|
|
5061
5061
|
inject: {
|
|
5062
5062
|
"vfg-array-item-index": {
|
|
@@ -5181,20 +5181,20 @@ const Rh = /* @__PURE__ */ J(wh, [["render", kh], ["__scopeId", "data-v-be99d00c
|
|
|
5181
5181
|
return e ? e.replace(/^[cC]onfig\./, "") : "";
|
|
5182
5182
|
}
|
|
5183
5183
|
}
|
|
5184
|
-
},
|
|
5184
|
+
}, Qh = ["innerHTML"], ep = { class: "icon-wrapper" }, tp = {
|
|
5185
5185
|
key: 0,
|
|
5186
5186
|
class: "link-wrapper"
|
|
5187
|
-
},
|
|
5187
|
+
}, np = { class: "field-wrap" }, ip = {
|
|
5188
5188
|
key: 0,
|
|
5189
5189
|
class: "buttons"
|
|
5190
|
-
},
|
|
5190
|
+
}, ap = ["type", "onClick", "textContent"], op = {
|
|
5191
5191
|
key: 1,
|
|
5192
5192
|
class: "hint"
|
|
5193
|
-
},
|
|
5193
|
+
}, sp = {
|
|
5194
5194
|
key: 2,
|
|
5195
5195
|
class: "errors help-block"
|
|
5196
5196
|
};
|
|
5197
|
-
function
|
|
5197
|
+
function rp(e, t, n, o, a, i) {
|
|
5198
5198
|
const r = k("KExternalLink"), l = k("KLabel");
|
|
5199
5199
|
return d(), M("div", {
|
|
5200
5200
|
class: ne(["form-group", e.getFieldRowClasses(n.field)])
|
|
@@ -5212,10 +5212,10 @@ function sp(e, t, n, o, a, i) {
|
|
|
5212
5212
|
} : void 0
|
|
5213
5213
|
}, et({
|
|
5214
5214
|
default: E(() => [
|
|
5215
|
-
u("div",
|
|
5215
|
+
u("div", ep, [
|
|
5216
5216
|
u("span", null, $(i.formattedLabel(n.field.label)), 1)
|
|
5217
5217
|
]),
|
|
5218
|
-
n.field.link ? (d(), M("div",
|
|
5218
|
+
n.field.link ? (d(), M("div", tp, [
|
|
5219
5219
|
A(r, {
|
|
5220
5220
|
href: n.field.link
|
|
5221
5221
|
}, {
|
|
@@ -5233,12 +5233,12 @@ function sp(e, t, n, o, a, i) {
|
|
|
5233
5233
|
fn: E(() => [
|
|
5234
5234
|
u("div", {
|
|
5235
5235
|
innerHTML: i.sanitize(n.field.help)
|
|
5236
|
-
}, null, 8,
|
|
5236
|
+
}, null, 8, Qh)
|
|
5237
5237
|
]),
|
|
5238
5238
|
key: "0"
|
|
5239
5239
|
} : void 0
|
|
5240
5240
|
]), 1032, ["aria-describedby", "class", "for", "info", "tooltip-attributes"])) : z("", !0),
|
|
5241
|
-
u("div",
|
|
5241
|
+
u("div", np, [
|
|
5242
5242
|
(d(), L(le(i.getFieldComponent(n.field)), tt(e.$attrs, {
|
|
5243
5243
|
ref: "child",
|
|
5244
5244
|
disabled: e.fieldDisabled(n.field) || null,
|
|
@@ -5251,42 +5251,42 @@ function sp(e, t, n, o, a, i) {
|
|
|
5251
5251
|
onRefreshModel: i.onRefreshModel,
|
|
5252
5252
|
onValidated: i.onFieldValidated
|
|
5253
5253
|
}), null, 16, ["disabled", "form-options", "hint", "model", "schema", "vfg", "onModelUpdated", "onRefreshModel", "onValidated"])),
|
|
5254
|
-
i.buttonVisibility(n.field) ? (d(), M("div",
|
|
5254
|
+
i.buttonVisibility(n.field) ? (d(), M("div", ip, [
|
|
5255
5255
|
(d(!0), M(Y, null, se(n.field.buttons, (c, m) => (d(), M("button", {
|
|
5256
5256
|
key: m,
|
|
5257
5257
|
class: ne(c.classes),
|
|
5258
5258
|
type: i.getButtonType(c),
|
|
5259
5259
|
onClick: (b) => i.buttonClickHandler(c, n.field, b),
|
|
5260
5260
|
textContent: $(c.label)
|
|
5261
|
-
}, null, 10,
|
|
5261
|
+
}, null, 10, ap))), 128))
|
|
5262
5262
|
])) : z("", !0)
|
|
5263
5263
|
]),
|
|
5264
|
-
n.field.hint && n.field.type !== "input" ? (d(), M("div",
|
|
5265
|
-
i.fieldErrors(n.field).length > 0 ? (d(), M("div",
|
|
5264
|
+
n.field.hint && n.field.type !== "input" ? (d(), M("div", op, $(i.fieldHint(n.field)), 1)) : z("", !0),
|
|
5265
|
+
i.fieldErrors(n.field).length > 0 ? (d(), M("div", sp, [
|
|
5266
5266
|
(d(!0), M(Y, null, se(i.fieldErrors(n.field), (c, m) => (d(), M("span", { key: m }, $(c), 1))), 128))
|
|
5267
5267
|
])) : z("", !0)
|
|
5268
5268
|
], 2);
|
|
5269
5269
|
}
|
|
5270
|
-
const cs = /* @__PURE__ */ J(
|
|
5270
|
+
const cs = /* @__PURE__ */ J(Jh, [["render", rp], ["__scopeId", "data-v-87df5b50"]]);
|
|
5271
5271
|
var Tn = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(Tn || {});
|
|
5272
|
-
const
|
|
5272
|
+
const lp = (e) => {
|
|
5273
5273
|
var t, n;
|
|
5274
5274
|
return e.type === Tn.REDIS_CE ? "Host/Port" : (t = e.config.sentinel_nodes) != null && t.length ? "Sentinel" : (n = e.config.cluster_nodes) != null && n.length ? "Cluster" : "Host/Port";
|
|
5275
|
-
},
|
|
5275
|
+
}, dp = {
|
|
5276
5276
|
[Tn.REDIS_CE]: "open source",
|
|
5277
5277
|
[Tn.REDIS_EE]: "enterprise"
|
|
5278
|
-
}, to = (e) =>
|
|
5278
|
+
}, to = (e) => dp[e] ?? "", Lt = {
|
|
5279
5279
|
KONNECT_MANAGED: "konnect-managed",
|
|
5280
5280
|
SELF_MANAGED: "self-managed"
|
|
5281
|
-
},
|
|
5282
|
-
function
|
|
5281
|
+
}, cp = "managed_cache.v0";
|
|
5282
|
+
function up(e) {
|
|
5283
5283
|
const n = (Array.isArray(e.tags) ? e.tags : []).filter((o) => typeof o == "string").map((o) => o.toLowerCase());
|
|
5284
|
-
return n.includes(Lt.KONNECT_MANAGED) || n.includes(
|
|
5284
|
+
return n.includes(Lt.KONNECT_MANAGED) || n.includes(cp) ? Lt.KONNECT_MANAGED : Lt.SELF_MANAGED;
|
|
5285
5285
|
}
|
|
5286
|
-
function
|
|
5286
|
+
function mp(e) {
|
|
5287
5287
|
return e.app === "konnect" && !!e.isKonnectManagedRedisEnabled;
|
|
5288
5288
|
}
|
|
5289
|
-
const
|
|
5289
|
+
const fp = { class: "partial-config-card" }, hp = { class: "config-card-row-label" }, pp = { class: "label-text" }, gp = ["data-testid"], yp = ["data-testid"], vp = { key: 1 }, bp = ["data-testid"], _p = ["data-testid"], Sp = /* @__PURE__ */ be({
|
|
5290
5290
|
__name: "RedisConfigCard",
|
|
5291
5291
|
props: {
|
|
5292
5292
|
configFields: {
|
|
@@ -5321,7 +5321,7 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5321
5321
|
formatter: n,
|
|
5322
5322
|
order: 3
|
|
5323
5323
|
}
|
|
5324
|
-
}, a = e, i = (f) => f != null, r = (f, g) => i(g) && ["password", "sentinel_password"].includes(f) ? "password" : "text", { convertKeyToTitle: l } =
|
|
5324
|
+
}, a = e, i = (f) => f != null, r = (f, g) => i(g) && ["password", "sentinel_password"].includes(f) ? "password" : "text", { convertKeyToTitle: l } = Ws(), c = B(() => Object.entries(a.configFields).map(([f, g]) => {
|
|
5325
5325
|
var T, w, v, F;
|
|
5326
5326
|
return {
|
|
5327
5327
|
key: f,
|
|
@@ -5334,19 +5334,19 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5334
5334
|
}).sort((f, g) => f.order - g.order).filter((f) => f.type !== "hidden")), m = Be.useRedisNonStandardFields(a.configFields, a.pluginRedisFields), b = B(() => c.value.concat(m));
|
|
5335
5335
|
return (f, g) => {
|
|
5336
5336
|
const T = k("KCopy");
|
|
5337
|
-
return d(), M("div",
|
|
5337
|
+
return d(), M("div", fp, [
|
|
5338
5338
|
(d(!0), M(Y, null, se(b.value, ({ key: w, label: v, value: F, type: D }) => (d(), M("div", {
|
|
5339
5339
|
key: w,
|
|
5340
5340
|
class: "partial-config-card-row"
|
|
5341
5341
|
}, [
|
|
5342
|
-
u("div",
|
|
5343
|
-
u("div",
|
|
5342
|
+
u("div", hp, [
|
|
5343
|
+
u("div", pp, $(v), 1)
|
|
5344
5344
|
]),
|
|
5345
5345
|
u("div", {
|
|
5346
5346
|
class: "config-card-row-value",
|
|
5347
5347
|
"data-testid": `${w}-property-value`
|
|
5348
5348
|
}, [
|
|
5349
|
-
i(F) ? (d(), M("div",
|
|
5349
|
+
i(F) ? (d(), M("div", vp, [
|
|
5350
5350
|
D === "password" ? (d(), M("div", {
|
|
5351
5351
|
key: 0,
|
|
5352
5352
|
"data-testid": `${w}-copy-password`
|
|
@@ -5355,33 +5355,33 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5355
5355
|
format: "redacted",
|
|
5356
5356
|
text: String(F)
|
|
5357
5357
|
}, null, 8, ["text"])
|
|
5358
|
-
], 8,
|
|
5358
|
+
], 8, bp)) : (d(), M("div", {
|
|
5359
5359
|
key: 1,
|
|
5360
5360
|
"data-testid": `${w}-plain-text`
|
|
5361
|
-
}, $(F), 9,
|
|
5361
|
+
}, $(F), 9, _p))
|
|
5362
5362
|
])) : (d(), M("div", {
|
|
5363
5363
|
key: 0,
|
|
5364
5364
|
"data-testid": `${w}-no-value`
|
|
5365
|
-
}, " – ", 8,
|
|
5366
|
-
], 8,
|
|
5365
|
+
}, " – ", 8, yp))
|
|
5366
|
+
], 8, gp)
|
|
5367
5367
|
]))), 128))
|
|
5368
5368
|
]);
|
|
5369
5369
|
};
|
|
5370
5370
|
}
|
|
5371
|
-
}),
|
|
5371
|
+
}), Tp = /* @__PURE__ */ J(Sp, [["__scopeId", "data-v-57f78095"]]), Mp = {
|
|
5372
5372
|
class: "redis-config-select",
|
|
5373
5373
|
"data-testid": "redis-config-select"
|
|
5374
|
-
},
|
|
5374
|
+
}, wp = { class: "selected-redis-config" }, Ap = ["data-testid"], Ep = {
|
|
5375
5375
|
class: "select-item-name",
|
|
5376
5376
|
"data-testid": "selected-redis-config"
|
|
5377
|
-
},
|
|
5377
|
+
}, Ip = {
|
|
5378
5378
|
class: "empty-redis-config",
|
|
5379
5379
|
"data-testid": "empty-redis-config"
|
|
5380
|
-
},
|
|
5380
|
+
}, Cp = {
|
|
5381
5381
|
key: 1,
|
|
5382
5382
|
class: "redis-shared-config-error-message",
|
|
5383
5383
|
"data-testid": "redis-config-fetch-error"
|
|
5384
|
-
},
|
|
5384
|
+
}, Op = "1000", kp = /* @__PURE__ */ be({
|
|
5385
5385
|
__name: "RedisConfigSelect",
|
|
5386
5386
|
props: {
|
|
5387
5387
|
defaultRedisConfigItem: {
|
|
@@ -5413,7 +5413,7 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5413
5413
|
},
|
|
5414
5414
|
emits: ["showNewPartialModal"],
|
|
5415
5415
|
setup(e) {
|
|
5416
|
-
const { t } = De("en-us", Pe), n = on(
|
|
5416
|
+
const { t } = De("en-us", Pe), n = on(ad), o = {
|
|
5417
5417
|
konnect: {
|
|
5418
5418
|
getOne: "/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/partials/{id}",
|
|
5419
5419
|
getAll: "/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/partials"
|
|
@@ -5422,13 +5422,13 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5422
5422
|
getOne: "/{workspace}/partials/{id}",
|
|
5423
5423
|
getAll: "/{workspace}/partials"
|
|
5424
5424
|
}
|
|
5425
|
-
}, a = e, i = re(null), { getMessageFromError: r } =
|
|
5425
|
+
}, a = e, i = re(null), { getMessageFromError: r } = Zs(), l = on(wi), {
|
|
5426
5426
|
debouncedQueryChange: c,
|
|
5427
5427
|
loading: m,
|
|
5428
5428
|
error: b,
|
|
5429
5429
|
loadItems: f,
|
|
5430
5430
|
results: g
|
|
5431
|
-
} =
|
|
5431
|
+
} = Xs(l, o[l.app].getAll, Op, {
|
|
5432
5432
|
fetchedItemsKey: "data",
|
|
5433
5433
|
searchKeys: ["id", "name"]
|
|
5434
5434
|
}), T = B(() => b.value ? r(b.value) : ""), w = B(
|
|
@@ -5446,7 +5446,7 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5446
5446
|
return l.app === "konnect" && (V = V.replace(/{controlPlaneId}/gi, (l == null ? void 0 : l.controlPlaneId) || "")), V = V.replace(/\/{workspace}/gi, l != null && l.workspace ? `/${l.workspace}` : "").replace(/{id}/gi, String(U)), V;
|
|
5447
5447
|
}, O = B(() => {
|
|
5448
5448
|
const U = (g.value || []).map((V) => {
|
|
5449
|
-
const p = V, _ = a.isKonnectManagedRedisEnabled ?
|
|
5449
|
+
const p = V, _ = a.isKonnectManagedRedisEnabled ? up(p) : void 0, I = _ === Lt.KONNECT_MANAGED;
|
|
5450
5450
|
return {
|
|
5451
5451
|
...a.isKonnectManagedRedisEnabled && _ ? { source: _ } : {},
|
|
5452
5452
|
// only attach `source` in managed mode
|
|
@@ -5454,7 +5454,7 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5454
5454
|
name: V.name,
|
|
5455
5455
|
value: V.id,
|
|
5456
5456
|
type: V.type,
|
|
5457
|
-
tag: a.isKonnectManagedRedisEnabled && I ? void 0 :
|
|
5457
|
+
tag: a.isKonnectManagedRedisEnabled && I ? void 0 : lp(p)
|
|
5458
5458
|
};
|
|
5459
5459
|
}).filter((V) => V.type === "redis-ce" || V.type === "redis-ee");
|
|
5460
5460
|
return a.redisType !== "all" ? U.filter((V) => V.type === a.redisType) : U;
|
|
@@ -5491,7 +5491,7 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5491
5491
|
}), (U, V) => {
|
|
5492
5492
|
const p = k("KLabel"), _ = k("KBadge"), I = k("KSelect");
|
|
5493
5493
|
return d(), M(Y, null, [
|
|
5494
|
-
u("div",
|
|
5494
|
+
u("div", Mp, [
|
|
5495
5495
|
A(p, {
|
|
5496
5496
|
info: w.value,
|
|
5497
5497
|
"tooltip-attributes": {
|
|
@@ -5518,14 +5518,14 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5518
5518
|
onQueryChange: P(c)
|
|
5519
5519
|
}, et({
|
|
5520
5520
|
"selected-item-template": E(({ item: K }) => [
|
|
5521
|
-
u("div",
|
|
5521
|
+
u("div", wp, $(K.name), 1)
|
|
5522
5522
|
]),
|
|
5523
5523
|
"item-template": E(({ item: K }) => [
|
|
5524
5524
|
u("div", {
|
|
5525
5525
|
class: "plugin-form-redis-configuration-dropdown-item",
|
|
5526
5526
|
"data-testid": `redis-configuration-dropdown-item-${K.name}`
|
|
5527
5527
|
}, [
|
|
5528
|
-
u("span",
|
|
5528
|
+
u("span", Ep, $(K.name), 1),
|
|
5529
5529
|
K.tag ? (d(), L(_, {
|
|
5530
5530
|
key: 0,
|
|
5531
5531
|
appearance: "info",
|
|
@@ -5536,14 +5536,14 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5536
5536
|
]),
|
|
5537
5537
|
_: 2
|
|
5538
5538
|
}, 1024)) : z("", !0)
|
|
5539
|
-
], 8,
|
|
5539
|
+
], 8, Ap)
|
|
5540
5540
|
]),
|
|
5541
5541
|
empty: E(() => [
|
|
5542
|
-
u("div",
|
|
5542
|
+
u("div", Ip, $(P(t)("redis.shared_configuration.empty_state")), 1)
|
|
5543
5543
|
]),
|
|
5544
5544
|
_: 2
|
|
5545
5545
|
}, [
|
|
5546
|
-
P(
|
|
5546
|
+
P(mp)(P(l)) ? void 0 : {
|
|
5547
5547
|
name: "dropdown-footer-text",
|
|
5548
5548
|
fn: E(() => [
|
|
5549
5549
|
u("div", {
|
|
@@ -5561,25 +5561,25 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5561
5561
|
}
|
|
5562
5562
|
]), 1032, ["items", "loading", "model-value", "placeholder", "onQueryChange"])
|
|
5563
5563
|
]),
|
|
5564
|
-
i.value ? (d(), L(
|
|
5564
|
+
i.value ? (d(), L(Tp, {
|
|
5565
5565
|
key: 0,
|
|
5566
5566
|
"config-fields": i.value,
|
|
5567
5567
|
"plugin-redis-fields": e.pluginRedisFields
|
|
5568
5568
|
}, null, 8, ["config-fields", "plugin-redis-fields"])) : z("", !0),
|
|
5569
|
-
T.value ? (d(), M("p",
|
|
5569
|
+
T.value ? (d(), M("p", Cp, $(H.value), 1)) : z("", !0)
|
|
5570
5570
|
], 64);
|
|
5571
5571
|
};
|
|
5572
5572
|
}
|
|
5573
|
-
}), no = /* @__PURE__ */ J(
|
|
5573
|
+
}), no = /* @__PURE__ */ J(kp, [["__scopeId", "data-v-8017e218"]]), Rp = { key: 0 }, Fp = {
|
|
5574
5574
|
class: "redis-config-radio-group",
|
|
5575
5575
|
"data-testid": "redis-config-radio-group"
|
|
5576
|
-
},
|
|
5576
|
+
}, Np = {
|
|
5577
5577
|
key: 0,
|
|
5578
5578
|
class: "shared-redis-config"
|
|
5579
|
-
},
|
|
5579
|
+
}, Up = {
|
|
5580
5580
|
key: 1,
|
|
5581
5581
|
class: "dedicated-redis-config"
|
|
5582
|
-
},
|
|
5582
|
+
}, Lp = { class: "dedicated-redis-config-title" }, Dp = /* @__PURE__ */ be({
|
|
5583
5583
|
__name: "FormRedis",
|
|
5584
5584
|
props: {
|
|
5585
5585
|
tag: {
|
|
@@ -5662,7 +5662,7 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5662
5662
|
}), (O, C) => {
|
|
5663
5663
|
const y = k("KAlert"), S = k("KBadge"), U = k("KRadio"), V = k("KCard");
|
|
5664
5664
|
return d(), M("div", null, [
|
|
5665
|
-
b.value ? (d(), M("div",
|
|
5665
|
+
b.value ? (d(), M("div", Rp, [
|
|
5666
5666
|
A(y, {
|
|
5667
5667
|
"data-testid": "custom-plugin-redis-config-note",
|
|
5668
5668
|
message: P(a)("redis.custom_plugin.alert")
|
|
@@ -5682,7 +5682,7 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5682
5682
|
title: i.value
|
|
5683
5683
|
}, {
|
|
5684
5684
|
default: E(() => [
|
|
5685
|
-
u("div",
|
|
5685
|
+
u("div", Fp, [
|
|
5686
5686
|
A(U, {
|
|
5687
5687
|
modelValue: f.value,
|
|
5688
5688
|
"onUpdate:modelValue": C[1] || (C[1] = (p) => f.value = p),
|
|
@@ -5717,7 +5717,7 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5717
5717
|
"selected-value": !1
|
|
5718
5718
|
}, null, 8, ["modelValue", "description", "label"])
|
|
5719
5719
|
]),
|
|
5720
|
-
f.value ? (d(), M("div",
|
|
5720
|
+
f.value ? (d(), M("div", Np, [
|
|
5721
5721
|
A(no, {
|
|
5722
5722
|
"default-redis-config-item": g.value,
|
|
5723
5723
|
"is-konnect-managed-redis-enabled": e.isKonnectManagedRedisEnabled,
|
|
@@ -5726,8 +5726,8 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5726
5726
|
"update-redis-model": F,
|
|
5727
5727
|
onShowNewPartialModal: C[3] || (C[3] = (p) => O.$emit("showNewPartialModal"))
|
|
5728
5728
|
}, null, 8, ["default-redis-config-item", "is-konnect-managed-redis-enabled", "plugin-redis-fields", "redis-type"])
|
|
5729
|
-
])) : (d(), M("div",
|
|
5730
|
-
u("div",
|
|
5729
|
+
])) : (d(), M("div", Up, [
|
|
5730
|
+
u("div", Lp, $(P(a)("redis.dedicated_configuration.title")), 1),
|
|
5731
5731
|
(d(), L(le(e.tag), null, {
|
|
5732
5732
|
default: E(() => [
|
|
5733
5733
|
(d(!0), M(Y, null, se(e.field.fields, (p) => (d(), M(Y, {
|
|
@@ -5757,9 +5757,9 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5757
5757
|
]);
|
|
5758
5758
|
};
|
|
5759
5759
|
}
|
|
5760
|
-
}),
|
|
5760
|
+
}), Pp = /* @__PURE__ */ J(Dp, [["__scopeId", "data-v-58023d89"]]), Vp = {
|
|
5761
5761
|
name: "VueFormGenerator",
|
|
5762
|
-
components: { formGroup: cs, formRedis:
|
|
5762
|
+
components: { formGroup: cs, formRedis: Pp },
|
|
5763
5763
|
mixins: [Po],
|
|
5764
5764
|
inject: {
|
|
5765
5765
|
// Inject AUTOFILL_SLOT for provide()
|
|
@@ -5926,13 +5926,13 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5926
5926
|
});
|
|
5927
5927
|
}
|
|
5928
5928
|
}
|
|
5929
|
-
},
|
|
5929
|
+
}, Kp = {
|
|
5930
5930
|
key: 0,
|
|
5931
5931
|
class: "vue-form-generator"
|
|
5932
|
-
},
|
|
5933
|
-
function
|
|
5932
|
+
}, jp = { key: 0 };
|
|
5933
|
+
function xp(e, t, n, o, a, i) {
|
|
5934
5934
|
const r = k("form-redis"), l = k("form-group"), c = k("KCollapse");
|
|
5935
|
-
return n.schema != null ? (d(), M("div",
|
|
5935
|
+
return n.schema != null ? (d(), M("div", Kp, [
|
|
5936
5936
|
n.schema.fields ? (d(), L(le(n.tag), { key: 0 }, {
|
|
5937
5937
|
default: E(() => [
|
|
5938
5938
|
(d(!0), M(Y, null, se(i.fields, (m) => (d(), M(Y, {
|
|
@@ -6073,7 +6073,7 @@ function jp(e, t, n, o, a, i) {
|
|
|
6073
6073
|
class: ne(e.getFieldRowClasses(m))
|
|
6074
6074
|
}, {
|
|
6075
6075
|
default: E(() => [
|
|
6076
|
-
m.legend ? (d(), M("legend",
|
|
6076
|
+
m.legend ? (d(), M("legend", jp, $(m.legend), 1)) : z("", !0),
|
|
6077
6077
|
(d(!0), M(Y, null, se(m.fields, (f) => (d(), M(Y, {
|
|
6078
6078
|
key: f.model
|
|
6079
6079
|
}, [
|
|
@@ -6097,7 +6097,7 @@ function jp(e, t, n, o, a, i) {
|
|
|
6097
6097
|
], 64))), 128))
|
|
6098
6098
|
])) : z("", !0);
|
|
6099
6099
|
}
|
|
6100
|
-
const pe = /* @__PURE__ */ J(
|
|
6100
|
+
const pe = /* @__PURE__ */ J(Vp, [["render", xp]]), $p = [
|
|
6101
6101
|
{
|
|
6102
6102
|
label: "Kong Identity client",
|
|
6103
6103
|
value: "kong-identity",
|
|
@@ -6108,7 +6108,7 @@ const pe = /* @__PURE__ */ J(Pp, [["render", jp]]), xp = [
|
|
|
6108
6108
|
value: "custom-identity",
|
|
6109
6109
|
description: "Match principals using a custom JWT claim."
|
|
6110
6110
|
}
|
|
6111
|
-
],
|
|
6111
|
+
], us = (e) => e == null || e === "" ? !1 : Array.isArray(e) ? e.length > 0 : !0, zp = (e) => us(e["config-principals-principal_by"]) ? "custom-identity" : "kong-identity", qp = {
|
|
6112
6112
|
name: "PrincipalLookupSettings",
|
|
6113
6113
|
props: {
|
|
6114
6114
|
formModel: {
|
|
@@ -6153,7 +6153,7 @@ const pe = /* @__PURE__ */ J(Pp, [["render", jp]]), xp = [
|
|
|
6153
6153
|
},
|
|
6154
6154
|
data() {
|
|
6155
6155
|
return {
|
|
6156
|
-
lookupMethodItems:
|
|
6156
|
+
lookupMethodItems: $p,
|
|
6157
6157
|
selectedLookupMethod: zp(this.formModel)
|
|
6158
6158
|
};
|
|
6159
6159
|
},
|
|
@@ -6173,13 +6173,16 @@ const pe = /* @__PURE__ */ J(Pp, [["render", jp]]), xp = [
|
|
|
6173
6173
|
return this.selectedLookupMethod === "custom-identity" ? `The token claim whose value is matched against the Custom identity name. Defaults to the subject (sub) claim, but you can specify a different claim if needed. ${e}` : `Defaults to the subject (sub) claim, but you can specify a different token claim if needed. ${e}`;
|
|
6174
6174
|
}
|
|
6175
6175
|
},
|
|
6176
|
+
created() {
|
|
6177
|
+
us(this.formModel["config-principals-principal_claim"]) || this.updateField("config-principals-principal_claim", ["sub"]);
|
|
6178
|
+
},
|
|
6176
6179
|
methods: {
|
|
6177
6180
|
handleEnableToggle(e) {
|
|
6178
6181
|
this.onEnabledChange && this.onEnabledChange(e);
|
|
6179
6182
|
},
|
|
6180
6183
|
getTokenClaimInputValue() {
|
|
6181
6184
|
const e = this.formModel["config-principals-principal_claim"];
|
|
6182
|
-
return Array.isArray(e) && e.length > 0 ? e.map((t) => t.replace(/\./g, "\\.")).join(".") : typeof e == "string" && e ? e : "
|
|
6185
|
+
return Array.isArray(e) && e.length > 0 ? e.map((t) => t.replace(/\./g, "\\.")).join(".") : typeof e == "string" && e ? e : "";
|
|
6183
6186
|
},
|
|
6184
6187
|
handleTokenClaimChange(e) {
|
|
6185
6188
|
const t = typeof e == "string" ? e.trim() : "";
|
|
@@ -6361,12 +6364,12 @@ function Qp(e, t, n, o, a, i) {
|
|
|
6361
6364
|
_: 3
|
|
6362
6365
|
});
|
|
6363
6366
|
}
|
|
6364
|
-
const eg = /* @__PURE__ */ J(qp, [["render", Qp], ["__scopeId", "data-v-
|
|
6367
|
+
const eg = /* @__PURE__ */ J(qp, [["render", Qp], ["__scopeId", "data-v-41092dbd"]]), an = "kong-identity", ms = "external", tg = "/v1/auth-servers/_computed", ng = "identity.konghq", ig = (e) => typeof e == "string" && e.includes(ng), li = { major: 3, minor: 15 }, ag = (e) => {
|
|
6365
6368
|
const [t, n] = e.split(".").map(Number);
|
|
6366
6369
|
return Number.isNaN(t) || Number.isNaN(n) ? !1 : t !== li.major ? t < li.major : n < li.minor;
|
|
6367
|
-
}, og = (e, t) => t ? ig(e["config-issuer"]) ? an :
|
|
6370
|
+
}, og = (e, t) => t ? ig(e["config-issuer"]) ? an : ms : an, sg = {
|
|
6368
6371
|
name: "OIDCPrincipals",
|
|
6369
|
-
components: { VueFormGenerator: pe, PrincipalLookupSettings: eg, AddIcon: wn, BookIcon:
|
|
6372
|
+
components: { VueFormGenerator: pe, PrincipalLookupSettings: eg, AddIcon: wn, BookIcon: Hs, CloseIcon: Bs, KeyIcon: qs, WorldIcon: zs },
|
|
6370
6373
|
inject: {
|
|
6371
6374
|
formsConfig: {
|
|
6372
6375
|
from: wi,
|
|
@@ -6408,9 +6411,9 @@ const eg = /* @__PURE__ */ J(qp, [["render", Qp], ["__scopeId", "data-v-009e7e95
|
|
|
6408
6411
|
const e = og(this.formModel, this.isEditing);
|
|
6409
6412
|
return {
|
|
6410
6413
|
MODE_KONG_IDENTITY: an,
|
|
6411
|
-
MODE_EXTERNAL:
|
|
6414
|
+
MODE_EXTERNAL: ms,
|
|
6412
6415
|
KUI_ICON_SIZE_20: Jo,
|
|
6413
|
-
KUI_ICON_SIZE_30:
|
|
6416
|
+
KUI_ICON_SIZE_30: Wm,
|
|
6414
6417
|
KUI_ICON_SIZE_40: Qo,
|
|
6415
6418
|
selectedMode: e,
|
|
6416
6419
|
kongIdentityServers: [],
|
|
@@ -7516,7 +7519,7 @@ function xg(e, t, n, o, a, i) {
|
|
|
7516
7519
|
onModelUpdated: n.onModelUpdated
|
|
7517
7520
|
}, {
|
|
7518
7521
|
"autofill-provider": E((w) => [
|
|
7519
|
-
we(e.$slots, "autofill-provider",
|
|
7522
|
+
we(e.$slots, "autofill-provider", js(xs(w)), void 0, !0)
|
|
7520
7523
|
]),
|
|
7521
7524
|
_: 3
|
|
7522
7525
|
}, 8, ["model", "options", "schema", "onModelUpdated"])) : z("", !0)
|
|
@@ -8241,7 +8244,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8241
8244
|
onClick: () => U(ce)
|
|
8242
8245
|
}, {
|
|
8243
8246
|
default: E(() => [
|
|
8244
|
-
A(P(
|
|
8247
|
+
A(P(Gs))
|
|
8245
8248
|
]),
|
|
8246
8249
|
_: 1
|
|
8247
8250
|
}, 8, ["disabled", "onClick"]),
|
|
@@ -8415,13 +8418,13 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8415
8418
|
export {
|
|
8416
8419
|
Le as AUTOFILL_SLOT,
|
|
8417
8420
|
jt as AUTOFILL_SLOT_NAME,
|
|
8418
|
-
|
|
8421
|
+
od as EMPTY_VALUE_PLACEHOLDER,
|
|
8419
8422
|
Ze as FIELD_STATES,
|
|
8420
8423
|
je as FORMS_API_KEY,
|
|
8421
8424
|
wi as FORMS_CONFIG,
|
|
8422
|
-
|
|
8425
|
+
mf as FieldScopedEntitySelect,
|
|
8423
8426
|
Tn as PartialType,
|
|
8424
|
-
|
|
8427
|
+
ad as REDIS_PARTIAL_FETCHER_KEY,
|
|
8425
8428
|
wy as REDIS_PARTIAL_INFO,
|
|
8426
8429
|
pe as VueFormGenerator,
|
|
8427
8430
|
Ay as abstractField,
|