@kong-ui-public/forms 4.17.6-pr.2490.bfa434ca6.0 → 4.17.6-pr.2490.c45542bb3.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 +296 -300
- package/dist/forms.umd.js +3 -3
- package/dist/style.css +1 -1
- package/dist/types/components/fields/FieldArray.vue.d.ts +1 -2
- package/dist/types/components/fields/FieldAutoSuggestV2.vue.d.ts +1 -2
- package/dist/types/const.d.ts +1 -0
- package/dist/types/const.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/forms.es.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { createElementBlock as _, openBlock as c, createElementVNode as m, toDisplayString as L, normalizeClass as ee, createVNode as O, defineComponent as he, provide as zt, resolveComponent as D, withCtx as M, renderSlot as Oe, unref as I, createTextVNode as ce, createBlock as U, resolveDynamicComponent as me, Fragment as Y, renderList as oe, mergeModels as Oi, useModel as
|
|
1
|
+
import { createElementBlock as _, openBlock as c, createElementVNode as m, toDisplayString as L, normalizeClass as ee, createVNode as O, defineComponent as he, provide as zt, resolveComponent as D, withCtx as M, renderSlot as Oe, unref as I, createTextVNode as ce, createBlock as U, resolveDynamicComponent as me, Fragment as Y, renderList as oe, mergeModels as Oi, useModel as Po, createSlots as cn, ref as ae, onMounted as Xn, watch as mn, computed as z, toRefs as ut, inject as an, onBeforeMount as Jn, mergeProps as et, Transition as Do, createCommentVNode as B, resolveDirective as Aa, withDirectives as Ee, vModelText as $t, vModelCheckbox as $o, vModelSelect as Vo, vModelDynamic as Ia, isRef as Et, toRef as jo, vModelRadio as qo, vShow as Ko, normalizeProps as Bo, guardReactiveProps as zo, useSlots as fn, nextTick as Fi } from "vue";
|
|
2
2
|
import { createI18n as ke } from "@kong-ui-public/i18n";
|
|
3
|
-
import { TrashIcon as xt, SearchIcon as
|
|
4
|
-
import { isAxiosError as
|
|
5
|
-
import { useStringHelpers as
|
|
6
|
-
function
|
|
3
|
+
import { TrashIcon as xt, SearchIcon as xo, AddIcon as Qn, RemoveIcon as Ho } from "@kong/icons";
|
|
4
|
+
import { isAxiosError as Yo } from "axios";
|
|
5
|
+
import { useStringHelpers as Go, useErrors as Wo, useDebouncedFilter as Zo, useAxios as Xo } from "@kong-ui-public/entities-shared";
|
|
6
|
+
function Ca(e, t) {
|
|
7
7
|
for (var n = -1, i = e == null ? 0 : e.length; ++n < i && t(e[n], n, e) !== !1; )
|
|
8
8
|
;
|
|
9
9
|
return e;
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function Jo(e) {
|
|
12
12
|
return function(t, n, i) {
|
|
13
13
|
for (var a = -1, o = Object(t), s = i(t), r = s.length; r--; ) {
|
|
14
14
|
var d = s[++a];
|
|
@@ -18,123 +18,123 @@ function Qo(e) {
|
|
|
18
18
|
return t;
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
var
|
|
22
|
-
function
|
|
21
|
+
var Qo = Jo();
|
|
22
|
+
function er(e, t) {
|
|
23
23
|
for (var n = -1, i = Array(e); ++n < e; )
|
|
24
24
|
i[n] = t(n);
|
|
25
25
|
return i;
|
|
26
26
|
}
|
|
27
|
-
var
|
|
28
|
-
function
|
|
29
|
-
var t =
|
|
27
|
+
var Oa = typeof global == "object" && global && global.Object === Object && global, tr = typeof self == "object" && self && self.Object === Object && self, Pe = Oa || tr || Function("return this")(), tt = Pe.Symbol, Fa = Object.prototype, nr = Fa.hasOwnProperty, ir = Fa.toString, kt = tt ? tt.toStringTag : void 0;
|
|
28
|
+
function ar(e) {
|
|
29
|
+
var t = nr.call(e, kt), n = e[kt];
|
|
30
30
|
try {
|
|
31
31
|
e[kt] = void 0;
|
|
32
32
|
var i = !0;
|
|
33
33
|
} catch {
|
|
34
34
|
}
|
|
35
|
-
var a =
|
|
35
|
+
var a = ir.call(e);
|
|
36
36
|
return i && (t ? e[kt] = n : delete e[kt]), a;
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
function
|
|
40
|
-
return
|
|
38
|
+
var or = Object.prototype, rr = or.toString;
|
|
39
|
+
function sr(e) {
|
|
40
|
+
return rr.call(e);
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var lr = "[object Null]", dr = "[object Undefined]", ki = tt ? tt.toStringTag : void 0;
|
|
43
43
|
function nt(e) {
|
|
44
|
-
return e == null ? e === void 0 ?
|
|
44
|
+
return e == null ? e === void 0 ? dr : lr : ki && ki in Object(e) ? ar(e) : sr(e);
|
|
45
45
|
}
|
|
46
46
|
function it(e) {
|
|
47
47
|
return e != null && typeof e == "object";
|
|
48
48
|
}
|
|
49
|
-
var
|
|
49
|
+
var ur = "[object Arguments]";
|
|
50
50
|
function Ri(e) {
|
|
51
|
-
return it(e) && nt(e) ==
|
|
51
|
+
return it(e) && nt(e) == ur;
|
|
52
52
|
}
|
|
53
|
-
var
|
|
53
|
+
var ka = Object.prototype, cr = ka.hasOwnProperty, mr = ka.propertyIsEnumerable, fr = Ri(/* @__PURE__ */ function() {
|
|
54
54
|
return arguments;
|
|
55
55
|
}()) ? Ri : function(e) {
|
|
56
|
-
return it(e) &&
|
|
56
|
+
return it(e) && cr.call(e, "callee") && !mr.call(e, "callee");
|
|
57
57
|
}, at = Array.isArray;
|
|
58
|
-
function
|
|
58
|
+
function hr() {
|
|
59
59
|
return !1;
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
function
|
|
61
|
+
var Ra = typeof exports == "object" && exports && !exports.nodeType && exports, Ui = Ra && typeof module == "object" && module && !module.nodeType && module, pr = Ui && Ui.exports === Ra, Li = pr ? Pe.Buffer : void 0, gr = Li ? Li.isBuffer : void 0, Ua = gr || hr, yr = 9007199254740991, vr = /^(?:0|[1-9]\d*)$/;
|
|
62
|
+
function La(e, t) {
|
|
63
63
|
var n = typeof e;
|
|
64
|
-
return t = t ??
|
|
64
|
+
return t = t ?? yr, !!t && (n == "number" || n != "symbol" && vr.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
function
|
|
68
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
66
|
+
var br = 9007199254740991;
|
|
67
|
+
function Na(e) {
|
|
68
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= br;
|
|
69
69
|
}
|
|
70
|
-
var
|
|
71
|
-
Q[Pr] = Q[Dr] = Q[$r] = Q[Vr] = Q[jr] = Q[qr] = Q[Kr] = Q[Br] =
|
|
72
|
-
Q[Tr] = Q[
|
|
73
|
-
function
|
|
74
|
-
return it(e) &&
|
|
70
|
+
var _r = "[object Arguments]", Tr = "[object Array]", Sr = "[object Boolean]", wr = "[object Date]", Er = "[object Error]", Mr = "[object Function]", Ar = "[object Map]", Ir = "[object Number]", Cr = "[object Object]", Or = "[object RegExp]", Fr = "[object Set]", kr = "[object String]", Rr = "[object WeakMap]", Ur = "[object ArrayBuffer]", Lr = "[object DataView]", Nr = "[object Float32Array]", Pr = "[object Float64Array]", Dr = "[object Int8Array]", $r = "[object Int16Array]", Vr = "[object Int32Array]", jr = "[object Uint8Array]", qr = "[object Uint8ClampedArray]", Kr = "[object Uint16Array]", Br = "[object Uint32Array]", Q = {};
|
|
71
|
+
Q[Nr] = Q[Pr] = Q[Dr] = Q[$r] = Q[Vr] = Q[jr] = Q[qr] = Q[Kr] = Q[Br] = !0;
|
|
72
|
+
Q[_r] = Q[Tr] = Q[Ur] = Q[Sr] = Q[Lr] = Q[wr] = Q[Er] = Q[Mr] = Q[Ar] = Q[Ir] = Q[Cr] = Q[Or] = Q[Fr] = Q[kr] = Q[Rr] = !1;
|
|
73
|
+
function zr(e) {
|
|
74
|
+
return it(e) && Na(e.length) && !!Q[nt(e)];
|
|
75
75
|
}
|
|
76
76
|
function ei(e) {
|
|
77
77
|
return function(t) {
|
|
78
78
|
return e(t);
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
-
var
|
|
81
|
+
var Pa = typeof exports == "object" && exports && !exports.nodeType && exports, Vt = Pa && typeof module == "object" && module && !module.nodeType && module, xr = Vt && Vt.exports === Pa, Ln = xr && Oa.process, St = function() {
|
|
82
82
|
try {
|
|
83
83
|
var e = Vt && Vt.require && Vt.require("util").types;
|
|
84
84
|
return e || Ln && Ln.binding && Ln.binding("util");
|
|
85
85
|
} catch {
|
|
86
86
|
}
|
|
87
|
-
}(), Ni = St && St.isTypedArray,
|
|
88
|
-
function
|
|
89
|
-
var n = at(e), i = !n &&
|
|
87
|
+
}(), Ni = St && St.isTypedArray, Hr = Ni ? ei(Ni) : zr, Yr = Object.prototype, Gr = Yr.hasOwnProperty;
|
|
88
|
+
function Da(e, t) {
|
|
89
|
+
var n = at(e), i = !n && fr(e), a = !n && !i && Ua(e), o = !n && !i && !a && Hr(e), s = n || i || a || o, r = s ? er(e.length, String) : [], d = r.length;
|
|
90
90
|
for (var u in e)
|
|
91
|
-
(t ||
|
|
91
|
+
(t || Gr.call(e, u)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
92
92
|
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
93
93
|
a && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
94
94
|
o && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
|
|
95
|
-
|
|
95
|
+
La(u, d))) && r.push(u);
|
|
96
96
|
return r;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Wr = Object.prototype;
|
|
99
99
|
function ti(e) {
|
|
100
|
-
var t = e && e.constructor, n = typeof t == "function" && t.prototype ||
|
|
100
|
+
var t = e && e.constructor, n = typeof t == "function" && t.prototype || Wr;
|
|
101
101
|
return e === n;
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function $a(e, t) {
|
|
104
104
|
return function(n) {
|
|
105
105
|
return e(t(n));
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
|
-
var
|
|
109
|
-
function
|
|
108
|
+
var Zr = $a(Object.keys, Object), Xr = Object.prototype, Jr = Xr.hasOwnProperty;
|
|
109
|
+
function Qr(e) {
|
|
110
110
|
if (!ti(e))
|
|
111
|
-
return
|
|
111
|
+
return Zr(e);
|
|
112
112
|
var t = [];
|
|
113
113
|
for (var n in Object(e))
|
|
114
|
-
|
|
114
|
+
Jr.call(e, n) && n != "constructor" && t.push(n);
|
|
115
115
|
return t;
|
|
116
116
|
}
|
|
117
117
|
function Fe(e) {
|
|
118
118
|
var t = typeof e;
|
|
119
119
|
return e != null && (t == "object" || t == "function");
|
|
120
120
|
}
|
|
121
|
-
var
|
|
121
|
+
var es = "[object AsyncFunction]", ts = "[object Function]", ns = "[object GeneratorFunction]", is = "[object Proxy]";
|
|
122
122
|
function X(e) {
|
|
123
123
|
if (!Fe(e))
|
|
124
124
|
return !1;
|
|
125
125
|
var t = nt(e);
|
|
126
|
-
return t ==
|
|
126
|
+
return t == ts || t == ns || t == es || t == is;
|
|
127
127
|
}
|
|
128
128
|
function hn(e) {
|
|
129
|
-
return e != null &&
|
|
129
|
+
return e != null && Na(e.length) && !X(e);
|
|
130
130
|
}
|
|
131
131
|
function pn(e) {
|
|
132
|
-
return hn(e) ?
|
|
132
|
+
return hn(e) ? Da(e) : Qr(e);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
return e &&
|
|
134
|
+
function as(e, t) {
|
|
135
|
+
return e && Qo(e, t, pn);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function os(e, t) {
|
|
138
138
|
return function(n, i) {
|
|
139
139
|
if (n == null)
|
|
140
140
|
return n;
|
|
@@ -145,40 +145,40 @@ function rs(e, t) {
|
|
|
145
145
|
return n;
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
|
-
var
|
|
148
|
+
var rs = os(as);
|
|
149
149
|
function ni(e) {
|
|
150
150
|
return e;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function ss(e) {
|
|
153
153
|
return typeof e == "function" ? e : ni;
|
|
154
154
|
}
|
|
155
155
|
function we(e, t) {
|
|
156
|
-
var n = at(e) ?
|
|
157
|
-
return n(e,
|
|
156
|
+
var n = at(e) ? Ca : rs;
|
|
157
|
+
return n(e, ss(t));
|
|
158
158
|
}
|
|
159
|
-
var
|
|
159
|
+
var ls = "[object Symbol]";
|
|
160
160
|
function gn(e) {
|
|
161
|
-
return typeof e == "symbol" || it(e) && nt(e) ==
|
|
161
|
+
return typeof e == "symbol" || it(e) && nt(e) == ls;
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
function
|
|
163
|
+
var ds = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, us = /^\w*$/;
|
|
164
|
+
function cs(e, t) {
|
|
165
165
|
if (at(e))
|
|
166
166
|
return !1;
|
|
167
167
|
var n = typeof e;
|
|
168
|
-
return n == "number" || n == "symbol" || n == "boolean" || e == null || gn(e) ? !0 :
|
|
168
|
+
return n == "number" || n == "symbol" || n == "boolean" || e == null || gn(e) ? !0 : us.test(e) || !ds.test(e) || t != null && e in Object(t);
|
|
169
169
|
}
|
|
170
170
|
var Nn = Pe["__core-js_shared__"], Pi = function() {
|
|
171
171
|
var e = /[^.]+$/.exec(Nn && Nn.keys && Nn.keys.IE_PROTO || "");
|
|
172
172
|
return e ? "Symbol(src)_1." + e : "";
|
|
173
173
|
}();
|
|
174
|
-
function
|
|
174
|
+
function ms(e) {
|
|
175
175
|
return !!Pi && Pi in e;
|
|
176
176
|
}
|
|
177
|
-
var
|
|
177
|
+
var fs = Function.prototype, hs = fs.toString;
|
|
178
178
|
function ct(e) {
|
|
179
179
|
if (e != null) {
|
|
180
180
|
try {
|
|
181
|
-
return
|
|
181
|
+
return hs.call(e);
|
|
182
182
|
} catch {
|
|
183
183
|
}
|
|
184
184
|
try {
|
|
@@ -188,48 +188,48 @@ function ct(e) {
|
|
|
188
188
|
}
|
|
189
189
|
return "";
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
"^" +
|
|
191
|
+
var ps = /[\\^$.*+?()[\]{}|]/g, gs = /^\[object .+?Constructor\]$/, ys = Function.prototype, vs = Object.prototype, bs = ys.toString, _s = vs.hasOwnProperty, Ts = RegExp(
|
|
192
|
+
"^" + bs.call(_s).replace(ps, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
193
193
|
);
|
|
194
|
-
function
|
|
195
|
-
if (!Fe(e) ||
|
|
194
|
+
function Ss(e) {
|
|
195
|
+
if (!Fe(e) || ms(e))
|
|
196
196
|
return !1;
|
|
197
|
-
var t = X(e) ?
|
|
197
|
+
var t = X(e) ? Ts : gs;
|
|
198
198
|
return t.test(ct(e));
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function ws(e, t) {
|
|
201
201
|
return e == null ? void 0 : e[t];
|
|
202
202
|
}
|
|
203
203
|
function mt(e, t) {
|
|
204
|
-
var n =
|
|
205
|
-
return
|
|
204
|
+
var n = ws(e, t);
|
|
205
|
+
return Ss(n) ? n : void 0;
|
|
206
206
|
}
|
|
207
207
|
var Kt = mt(Object, "create");
|
|
208
|
-
function
|
|
208
|
+
function Es() {
|
|
209
209
|
this.__data__ = Kt ? Kt(null) : {}, this.size = 0;
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function Ms(e) {
|
|
212
212
|
var t = this.has(e) && delete this.__data__[e];
|
|
213
213
|
return this.size -= t ? 1 : 0, t;
|
|
214
214
|
}
|
|
215
|
-
var
|
|
216
|
-
function
|
|
215
|
+
var As = "__lodash_hash_undefined__", Is = Object.prototype, Cs = Is.hasOwnProperty;
|
|
216
|
+
function Os(e) {
|
|
217
217
|
var t = this.__data__;
|
|
218
218
|
if (Kt) {
|
|
219
219
|
var n = t[e];
|
|
220
|
-
return n ===
|
|
220
|
+
return n === As ? void 0 : n;
|
|
221
221
|
}
|
|
222
|
-
return
|
|
222
|
+
return Cs.call(t, e) ? t[e] : void 0;
|
|
223
223
|
}
|
|
224
|
-
var
|
|
225
|
-
function
|
|
224
|
+
var Fs = Object.prototype, ks = Fs.hasOwnProperty;
|
|
225
|
+
function Rs(e) {
|
|
226
226
|
var t = this.__data__;
|
|
227
|
-
return Kt ? t[e] !== void 0 :
|
|
227
|
+
return Kt ? t[e] !== void 0 : ks.call(t, e);
|
|
228
228
|
}
|
|
229
|
-
var
|
|
230
|
-
function
|
|
229
|
+
var Us = "__lodash_hash_undefined__";
|
|
230
|
+
function Ls(e, t) {
|
|
231
231
|
var n = this.__data__;
|
|
232
|
-
return this.size += this.has(e) ? 0 : 1, n[e] = Kt && t === void 0 ?
|
|
232
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = Kt && t === void 0 ? Us : t, this;
|
|
233
233
|
}
|
|
234
234
|
function rt(e) {
|
|
235
235
|
var t = -1, n = e == null ? 0 : e.length;
|
|
@@ -238,12 +238,12 @@ function rt(e) {
|
|
|
238
238
|
this.set(i[0], i[1]);
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
|
-
rt.prototype.clear =
|
|
242
|
-
rt.prototype.delete =
|
|
243
|
-
rt.prototype.get =
|
|
244
|
-
rt.prototype.has =
|
|
245
|
-
rt.prototype.set =
|
|
246
|
-
function
|
|
241
|
+
rt.prototype.clear = Es;
|
|
242
|
+
rt.prototype.delete = Ms;
|
|
243
|
+
rt.prototype.get = Os;
|
|
244
|
+
rt.prototype.has = Rs;
|
|
245
|
+
rt.prototype.set = Ls;
|
|
246
|
+
function Ns() {
|
|
247
247
|
this.__data__ = [], this.size = 0;
|
|
248
248
|
}
|
|
249
249
|
function yn(e, t) {
|
|
@@ -255,22 +255,22 @@ function vn(e, t) {
|
|
|
255
255
|
return n;
|
|
256
256
|
return -1;
|
|
257
257
|
}
|
|
258
|
-
var
|
|
259
|
-
function
|
|
258
|
+
var Ps = Array.prototype, Ds = Ps.splice;
|
|
259
|
+
function $s(e) {
|
|
260
260
|
var t = this.__data__, n = vn(t, e);
|
|
261
261
|
if (n < 0)
|
|
262
262
|
return !1;
|
|
263
263
|
var i = t.length - 1;
|
|
264
|
-
return n == i ? t.pop() :
|
|
264
|
+
return n == i ? t.pop() : Ds.call(t, n, 1), --this.size, !0;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function Vs(e) {
|
|
267
267
|
var t = this.__data__, n = vn(t, e);
|
|
268
268
|
return n < 0 ? void 0 : t[n][1];
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function js(e) {
|
|
271
271
|
return vn(this.__data__, e) > -1;
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function qs(e, t) {
|
|
274
274
|
var n = this.__data__, i = vn(n, e);
|
|
275
275
|
return i < 0 ? (++this.size, n.push([e, t])) : n[i][1] = t, this;
|
|
276
276
|
}
|
|
@@ -281,38 +281,38 @@ function Ze(e) {
|
|
|
281
281
|
this.set(i[0], i[1]);
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
|
-
Ze.prototype.clear =
|
|
285
|
-
Ze.prototype.delete =
|
|
286
|
-
Ze.prototype.get =
|
|
287
|
-
Ze.prototype.has =
|
|
288
|
-
Ze.prototype.set =
|
|
284
|
+
Ze.prototype.clear = Ns;
|
|
285
|
+
Ze.prototype.delete = $s;
|
|
286
|
+
Ze.prototype.get = Vs;
|
|
287
|
+
Ze.prototype.has = js;
|
|
288
|
+
Ze.prototype.set = qs;
|
|
289
289
|
var Bt = mt(Pe, "Map");
|
|
290
|
-
function
|
|
290
|
+
function Ks() {
|
|
291
291
|
this.size = 0, this.__data__ = {
|
|
292
292
|
hash: new rt(),
|
|
293
293
|
map: new (Bt || Ze)(),
|
|
294
294
|
string: new rt()
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function Bs(e) {
|
|
298
298
|
var t = typeof e;
|
|
299
299
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
300
300
|
}
|
|
301
301
|
function bn(e, t) {
|
|
302
302
|
var n = e.__data__;
|
|
303
|
-
return
|
|
303
|
+
return Bs(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function zs(e) {
|
|
306
306
|
var t = bn(this, e).delete(e);
|
|
307
307
|
return this.size -= t ? 1 : 0, t;
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function xs(e) {
|
|
310
310
|
return bn(this, e).get(e);
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function Hs(e) {
|
|
313
313
|
return bn(this, e).has(e);
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function Ys(e, t) {
|
|
316
316
|
var n = bn(this, e), i = n.size;
|
|
317
317
|
return n.set(e, t), this.size += n.size == i ? 0 : 1, this;
|
|
318
318
|
}
|
|
@@ -323,15 +323,15 @@ function Xe(e) {
|
|
|
323
323
|
this.set(i[0], i[1]);
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
Xe.prototype.clear =
|
|
327
|
-
Xe.prototype.delete =
|
|
328
|
-
Xe.prototype.get =
|
|
329
|
-
Xe.prototype.has =
|
|
330
|
-
Xe.prototype.set =
|
|
331
|
-
var
|
|
326
|
+
Xe.prototype.clear = Ks;
|
|
327
|
+
Xe.prototype.delete = zs;
|
|
328
|
+
Xe.prototype.get = xs;
|
|
329
|
+
Xe.prototype.has = Hs;
|
|
330
|
+
Xe.prototype.set = Ys;
|
|
331
|
+
var Gs = "Expected a function";
|
|
332
332
|
function ii(e, t) {
|
|
333
333
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
334
|
-
throw new TypeError(
|
|
334
|
+
throw new TypeError(Gs);
|
|
335
335
|
var n = function() {
|
|
336
336
|
var i = arguments, a = t ? t.apply(this, i) : i[0], o = n.cache;
|
|
337
337
|
if (o.has(a))
|
|
@@ -342,69 +342,69 @@ function ii(e, t) {
|
|
|
342
342
|
return n.cache = new (ii.Cache || Xe)(), n;
|
|
343
343
|
}
|
|
344
344
|
ii.Cache = Xe;
|
|
345
|
-
var
|
|
346
|
-
function
|
|
345
|
+
var Ws = 500;
|
|
346
|
+
function Zs(e) {
|
|
347
347
|
var t = ii(e, function(i) {
|
|
348
|
-
return n.size ===
|
|
348
|
+
return n.size === Ws && n.clear(), i;
|
|
349
349
|
}), n = t.cache;
|
|
350
350
|
return t;
|
|
351
351
|
}
|
|
352
|
-
var
|
|
352
|
+
var Xs = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Js = /\\(\\)?/g, Qs = Zs(function(e) {
|
|
353
353
|
var t = [];
|
|
354
|
-
return e.charCodeAt(0) === 46 && t.push(""), e.replace(
|
|
355
|
-
t.push(a ? o.replace(
|
|
354
|
+
return e.charCodeAt(0) === 46 && t.push(""), e.replace(Xs, function(n, i, a, o) {
|
|
355
|
+
t.push(a ? o.replace(Js, "$1") : i || n);
|
|
356
356
|
}), t;
|
|
357
357
|
});
|
|
358
|
-
function
|
|
358
|
+
function el(e, t) {
|
|
359
359
|
for (var n = -1, i = e == null ? 0 : e.length, a = Array(i); ++n < i; )
|
|
360
360
|
a[n] = t(e[n], n, e);
|
|
361
361
|
return a;
|
|
362
362
|
}
|
|
363
363
|
var Di = tt ? tt.prototype : void 0, $i = Di ? Di.toString : void 0;
|
|
364
|
-
function
|
|
364
|
+
function Va(e) {
|
|
365
365
|
if (typeof e == "string")
|
|
366
366
|
return e;
|
|
367
367
|
if (at(e))
|
|
368
|
-
return
|
|
368
|
+
return el(e, Va) + "";
|
|
369
369
|
if (gn(e))
|
|
370
370
|
return $i ? $i.call(e) : "";
|
|
371
371
|
var t = e + "";
|
|
372
372
|
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
375
|
-
return e == null ? "" :
|
|
374
|
+
function ja(e) {
|
|
375
|
+
return e == null ? "" : Va(e);
|
|
376
376
|
}
|
|
377
|
-
function
|
|
378
|
-
return at(e) ? e :
|
|
377
|
+
function tl(e, t) {
|
|
378
|
+
return at(e) ? e : cs(e, t) ? [e] : Qs(ja(e));
|
|
379
379
|
}
|
|
380
|
-
function
|
|
380
|
+
function nl(e) {
|
|
381
381
|
if (typeof e == "string" || gn(e))
|
|
382
382
|
return e;
|
|
383
383
|
var t = e + "";
|
|
384
384
|
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
387
|
-
t =
|
|
386
|
+
function il(e, t) {
|
|
387
|
+
t = tl(t, e);
|
|
388
388
|
for (var n = 0, i = t.length; e != null && n < i; )
|
|
389
|
-
e = e[
|
|
389
|
+
e = e[nl(t[n++])];
|
|
390
390
|
return n && n == i ? e : void 0;
|
|
391
391
|
}
|
|
392
392
|
function G(e, t, n) {
|
|
393
|
-
var i = e == null ? void 0 :
|
|
393
|
+
var i = e == null ? void 0 : il(e, t);
|
|
394
394
|
return i === void 0 ? n : i;
|
|
395
395
|
}
|
|
396
396
|
function de(e) {
|
|
397
397
|
return e == null;
|
|
398
398
|
}
|
|
399
|
-
const Se = "kong-ui-forms-api",
|
|
399
|
+
const Se = "kong-ui-forms-api", al = "kong-ui-forms-config", ol = "redis-partial-list-fetcher-key", vp = "redis-partial-info", Mt = "autofill", Le = "autofillSlot", je = {
|
|
400
400
|
CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
|
|
401
401
|
CREATE_FROM_ENTITY: "CREATE_FROM_ENTITY",
|
|
402
402
|
UPDATE_ENTITY: "UPDATE_ENTITY",
|
|
403
403
|
SET_REFERRAL_VALUE: "SET_REFERRAL_VALUE"
|
|
404
|
-
};
|
|
404
|
+
}, rl = "—";
|
|
405
405
|
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
|
|
406
406
|
const {
|
|
407
|
-
entries:
|
|
407
|
+
entries: qa,
|
|
408
408
|
setPrototypeOf: Vi,
|
|
409
409
|
isFrozen: sl,
|
|
410
410
|
getPrototypeOf: ll,
|
|
@@ -413,7 +413,7 @@ const {
|
|
|
413
413
|
let {
|
|
414
414
|
freeze: Me,
|
|
415
415
|
seal: Ne,
|
|
416
|
-
create:
|
|
416
|
+
create: Ka
|
|
417
417
|
} = Object, {
|
|
418
418
|
apply: zn,
|
|
419
419
|
construct: xn
|
|
@@ -466,8 +466,8 @@ function pl(e) {
|
|
|
466
466
|
return e;
|
|
467
467
|
}
|
|
468
468
|
function Ye(e) {
|
|
469
|
-
const t =
|
|
470
|
-
for (const [n, i] of
|
|
469
|
+
const t = Ka(null);
|
|
470
|
+
for (const [n, i] of qa(e))
|
|
471
471
|
De(e, n) && (Array.isArray(i) ? t[n] = pl(i) : i && typeof i == "object" && i.constructor === Object ? t[n] = Ye(i) : t[n] = i);
|
|
472
472
|
return t;
|
|
473
473
|
}
|
|
@@ -487,22 +487,22 @@ function Nt(e, t) {
|
|
|
487
487
|
}
|
|
488
488
|
return n;
|
|
489
489
|
}
|
|
490
|
-
const Ki = Me(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Dn = Me(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), $n = Me(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), gl = Me(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Vn = Me(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), yl = Me(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Bi = Me(["#text"]), zi = Me(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), jn = Me(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), xi = Me(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), tn = Me(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), vl = Ne(/\{\{[\w\W]*|[\w\W]*\}\}/gm), bl = Ne(/<%[\w\W]*|[\w\W]*%>/gm), _l = Ne(/\$\{[\w\W]*/gm), Tl = Ne(/^data-[\-\w.\u00B7-\uFFFF]+$/), Sl = Ne(/^aria-[\-\w]+$/),
|
|
490
|
+
const Ki = Me(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Dn = Me(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), $n = Me(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), gl = Me(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Vn = Me(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), yl = Me(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Bi = Me(["#text"]), zi = Me(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), jn = Me(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), xi = Me(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), tn = Me(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), vl = Ne(/\{\{[\w\W]*|[\w\W]*\}\}/gm), bl = Ne(/<%[\w\W]*|[\w\W]*%>/gm), _l = Ne(/\$\{[\w\W]*/gm), Tl = Ne(/^data-[\-\w.\u00B7-\uFFFF]+$/), Sl = Ne(/^aria-[\-\w]+$/), Ba = Ne(
|
|
491
491
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
492
492
|
// eslint-disable-line no-useless-escape
|
|
493
493
|
), wl = Ne(/^(?:\w+script|data):/i), El = Ne(
|
|
494
494
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
495
495
|
// eslint-disable-line no-control-regex
|
|
496
|
-
),
|
|
496
|
+
), za = Ne(/^html$/i), Ml = Ne(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
497
497
|
var Hi = /* @__PURE__ */ Object.freeze({
|
|
498
498
|
__proto__: null,
|
|
499
499
|
ARIA_ATTR: Sl,
|
|
500
500
|
ATTR_WHITESPACE: El,
|
|
501
501
|
CUSTOM_ELEMENT: Ml,
|
|
502
502
|
DATA_ATTR: Tl,
|
|
503
|
-
DOCTYPE_NAME:
|
|
503
|
+
DOCTYPE_NAME: za,
|
|
504
504
|
ERB_EXPR: bl,
|
|
505
|
-
IS_ALLOWED_URI:
|
|
505
|
+
IS_ALLOWED_URI: Ba,
|
|
506
506
|
IS_SCRIPT_OR_DATA: wl,
|
|
507
507
|
MUSTACHE_EXPR: vl,
|
|
508
508
|
TMPLIT_EXPR: _l
|
|
@@ -548,9 +548,9 @@ const Pt = {
|
|
|
548
548
|
uponSanitizeShadowNode: []
|
|
549
549
|
};
|
|
550
550
|
};
|
|
551
|
-
function
|
|
551
|
+
function xa() {
|
|
552
552
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Al();
|
|
553
|
-
const t = (P) =>
|
|
553
|
+
const t = (P) => xa(P);
|
|
554
554
|
if (t.version = "3.2.6", t.removed = [], !e || !e.document || e.document.nodeType !== Pt.document || !e.Element)
|
|
555
555
|
return t.isSupported = !1, t;
|
|
556
556
|
let {
|
|
@@ -581,7 +581,7 @@ function Ha() {
|
|
|
581
581
|
importNode: E
|
|
582
582
|
} = i;
|
|
583
583
|
let w = Yi();
|
|
584
|
-
t.isSupported = typeof
|
|
584
|
+
t.isSupported = typeof qa == "function" && typeof T == "function" && v && v.createHTMLDocument !== void 0;
|
|
585
585
|
const {
|
|
586
586
|
MUSTACHE_EXPR: j,
|
|
587
587
|
ERB_EXPR: K,
|
|
@@ -598,7 +598,7 @@ function Ha() {
|
|
|
598
598
|
const ne = x({}, [...Ki, ...Dn, ...$n, ...Vn, ...Bi]);
|
|
599
599
|
let re = null;
|
|
600
600
|
const si = x({}, [...zi, ...jn, ...xi, ...tn]);
|
|
601
|
-
let se = Object.seal(
|
|
601
|
+
let se = Object.seal(Ka(null, {
|
|
602
602
|
tagNameCheck: {
|
|
603
603
|
writable: !0,
|
|
604
604
|
configurable: !1,
|
|
@@ -618,7 +618,7 @@ function Ha() {
|
|
|
618
618
|
value: !1
|
|
619
619
|
}
|
|
620
620
|
})), It = null, wn = null, li = !0, En = !0, di = !1, ui = !0, ft = !1, Yt = !0, ot = !1, Mn = !1, An = !1, ht = !1, Gt = !1, Wt = !1, ci = !0, mi = !1;
|
|
621
|
-
const
|
|
621
|
+
const Co = "user-content-";
|
|
622
622
|
let In = !0, Ct = !1, pt = {}, gt = null;
|
|
623
623
|
const fi = x({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
624
624
|
let hi = null;
|
|
@@ -626,19 +626,19 @@ function Ha() {
|
|
|
626
626
|
let Cn = null;
|
|
627
627
|
const gi = x({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Zt = "http://www.w3.org/1998/Math/MathML", Xt = "http://www.w3.org/2000/svg", ze = "http://www.w3.org/1999/xhtml";
|
|
628
628
|
let yt = ze, On = !1, Fn = null;
|
|
629
|
-
const
|
|
629
|
+
const Oo = x({}, [Zt, Xt, ze], Pn);
|
|
630
630
|
let Jt = x({}, ["mi", "mo", "mn", "ms", "mtext"]), Qt = x({}, ["annotation-xml"]);
|
|
631
|
-
const
|
|
631
|
+
const Fo = x({}, ["title", "style", "font", "a", "script"]);
|
|
632
632
|
let Ot = null;
|
|
633
|
-
const
|
|
633
|
+
const ko = ["application/xhtml+xml", "text/html"], Ro = "text/html";
|
|
634
634
|
let ye = null, vt = null;
|
|
635
|
-
const
|
|
635
|
+
const Uo = n.createElement("form"), yi = function(l) {
|
|
636
636
|
return l instanceof RegExp || l instanceof Function;
|
|
637
637
|
}, kn = function() {
|
|
638
638
|
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
639
639
|
if (!(vt && vt === l)) {
|
|
640
640
|
if ((!l || typeof l != "object") && (l = {}), l = Ye(l), Ot = // eslint-disable-next-line unicorn/prefer-includes
|
|
641
|
-
|
|
641
|
+
ko.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? Ro : l.PARSER_MEDIA_TYPE, ye = Ot === "application/xhtml+xml" ? Pn : nn, $ = De(l, "ALLOWED_TAGS") ? x({}, l.ALLOWED_TAGS, ye) : ne, re = De(l, "ALLOWED_ATTR") ? x({}, l.ALLOWED_ATTR, ye) : si, Fn = De(l, "ALLOWED_NAMESPACES") ? x({}, l.ALLOWED_NAMESPACES, Pn) : Oo, Cn = De(l, "ADD_URI_SAFE_ATTR") ? x(Ye(gi), l.ADD_URI_SAFE_ATTR, ye) : gi, hi = De(l, "ADD_DATA_URI_TAGS") ? x(Ye(pi), l.ADD_DATA_URI_TAGS, ye) : pi, gt = De(l, "FORBID_CONTENTS") ? x({}, l.FORBID_CONTENTS, ye) : fi, It = De(l, "FORBID_TAGS") ? x({}, l.FORBID_TAGS, ye) : Ye({}), wn = De(l, "FORBID_ATTR") ? x({}, l.FORBID_ATTR, ye) : Ye({}), pt = De(l, "USE_PROFILES") ? l.USE_PROFILES : !1, li = l.ALLOW_ARIA_ATTR !== !1, En = l.ALLOW_DATA_ATTR !== !1, di = l.ALLOW_UNKNOWN_PROTOCOLS || !1, ui = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ft = l.SAFE_FOR_TEMPLATES || !1, Yt = l.SAFE_FOR_XML !== !1, ot = l.WHOLE_DOCUMENT || !1, ht = l.RETURN_DOM || !1, Gt = l.RETURN_DOM_FRAGMENT || !1, Wt = l.RETURN_TRUSTED_TYPE || !1, An = l.FORCE_BODY || !1, ci = l.SANITIZE_DOM !== !1, mi = l.SANITIZE_NAMED_PROPS || !1, In = l.KEEP_CONTENT !== !1, Ct = l.IN_PLACE || !1, Ht = l.ALLOWED_URI_REGEXP || Ba, yt = l.NAMESPACE || ze, Jt = l.MATHML_TEXT_INTEGRATION_POINTS || Jt, Qt = l.HTML_INTEGRATION_POINTS || Qt, se = l.CUSTOM_ELEMENT_HANDLING || {}, l.CUSTOM_ELEMENT_HANDLING && yi(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (se.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && yi(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (se.attributeNameCheck = l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (se.allowCustomizedBuiltInElements = l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ft && (En = !1), Gt && (ht = !0), pt && ($ = x({}, Bi), re = [], pt.html === !0 && (x($, Ki), x(re, zi)), pt.svg === !0 && (x($, Dn), x(re, jn), x(re, tn)), pt.svgFilters === !0 && (x($, $n), x(re, jn), x(re, tn)), pt.mathMl === !0 && (x($, Vn), x(re, xi), x(re, tn))), l.ADD_TAGS && ($ === ne && ($ = Ye($)), x($, l.ADD_TAGS, ye)), l.ADD_ATTR && (re === si && (re = Ye(re)), x(re, l.ADD_ATTR, ye)), l.ADD_URI_SAFE_ATTR && x(Cn, l.ADD_URI_SAFE_ATTR, ye), l.FORBID_CONTENTS && (gt === fi && (gt = Ye(gt)), x(gt, l.FORBID_CONTENTS, ye)), In && ($["#text"] = !0), ot && x($, ["html", "head", "body"]), $.table && (x($, ["tbody"]), delete It.tbody), l.TRUSTED_TYPES_POLICY) {
|
|
642
642
|
if (typeof l.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
643
643
|
throw Lt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
644
644
|
if (typeof l.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -648,14 +648,14 @@ function Ha() {
|
|
|
648
648
|
F === void 0 && (F = Il(k, a)), F !== null && typeof y == "string" && (y = F.createHTML(""));
|
|
649
649
|
Me && Me(l), vt = l;
|
|
650
650
|
}
|
|
651
|
-
}, vi = x({}, [...Dn, ...$n, ...gl]), bi = x({}, [...Vn, ...yl]),
|
|
651
|
+
}, vi = x({}, [...Dn, ...$n, ...gl]), bi = x({}, [...Vn, ...yl]), Lo = function(l) {
|
|
652
652
|
let S = T(l);
|
|
653
653
|
(!S || !S.tagName) && (S = {
|
|
654
654
|
namespaceURI: yt,
|
|
655
655
|
tagName: "template"
|
|
656
656
|
});
|
|
657
657
|
const R = nn(l.tagName), te = nn(S.tagName);
|
|
658
|
-
return Fn[l.namespaceURI] ? l.namespaceURI === Xt ? S.namespaceURI === ze ? R === "svg" : S.namespaceURI === Zt ? R === "svg" && (te === "annotation-xml" || Jt[te]) : !!vi[R] : l.namespaceURI === Zt ? S.namespaceURI === ze ? R === "math" : S.namespaceURI === Xt ? R === "math" && Qt[te] : !!bi[R] : l.namespaceURI === ze ? S.namespaceURI === Xt && !Qt[te] || S.namespaceURI === Zt && !Jt[te] ? !1 : !bi[R] && (
|
|
658
|
+
return Fn[l.namespaceURI] ? l.namespaceURI === Xt ? S.namespaceURI === ze ? R === "svg" : S.namespaceURI === Zt ? R === "svg" && (te === "annotation-xml" || Jt[te]) : !!vi[R] : l.namespaceURI === Zt ? S.namespaceURI === ze ? R === "math" : S.namespaceURI === Xt ? R === "math" && Qt[te] : !!bi[R] : l.namespaceURI === ze ? S.namespaceURI === Xt && !Qt[te] || S.namespaceURI === Zt && !Jt[te] ? !1 : !bi[R] && (Fo[R] || !vi[R]) : !!(Ot === "application/xhtml+xml" && Fn[l.namespaceURI]) : !1;
|
|
659
659
|
}, Ve = function(l) {
|
|
660
660
|
Rt(t.removed, {
|
|
661
661
|
element: l
|
|
@@ -755,13 +755,13 @@ function Ha() {
|
|
|
755
755
|
}
|
|
756
756
|
return Ve(l), !0;
|
|
757
757
|
}
|
|
758
|
-
return l instanceof d && !
|
|
758
|
+
return l instanceof d && !Lo(l) || (R === "noscript" || R === "noembed" || R === "noframes") && Te(/<\/no(script|embed|frames)/i, l.innerHTML) ? (Ve(l), !0) : (ft && l.nodeType === Pt.text && (S = l.textContent, en([j, K, H], (te) => {
|
|
759
759
|
S = Ut(S, te, " ");
|
|
760
760
|
}), l.textContent !== S && (Rt(t.removed, {
|
|
761
761
|
element: l.cloneNode()
|
|
762
762
|
}), l.textContent = S)), xe(w.afterSanitizeElements, l, null), !1);
|
|
763
763
|
}, Ei = function(l, S, R) {
|
|
764
|
-
if (ci && (S === "id" || S === "name") && (R in n || R in
|
|
764
|
+
if (ci && (S === "id" || S === "name") && (R in n || R in Uo))
|
|
765
765
|
return !1;
|
|
766
766
|
if (!(En && !wn[S] && Te(ge, S))) {
|
|
767
767
|
if (!(li && Te(Ke, S))) {
|
|
@@ -811,7 +811,7 @@ function Ha() {
|
|
|
811
811
|
value: He
|
|
812
812
|
} = be, Ft = ye(pe), Un = He;
|
|
813
813
|
let _e = pe === "value" ? Un : fl(Un);
|
|
814
|
-
if (R.attrName = Ft, R.attrValue = _e, R.keepAttr = !0, R.forceKeepAttr = void 0, xe(w.uponSanitizeAttribute, l, R), _e = R.attrValue, mi && (Ft === "id" || Ft === "name") && (bt(pe, l), _e =
|
|
814
|
+
if (R.attrName = Ft, R.attrValue = _e, R.keepAttr = !0, R.forceKeepAttr = void 0, xe(w.uponSanitizeAttribute, l, R), _e = R.attrValue, mi && (Ft === "id" || Ft === "name") && (bt(pe, l), _e = Co + _e), Yt && Te(/((--!?|])>)|<\/(style|title)/i, _e)) {
|
|
815
815
|
bt(pe, l);
|
|
816
816
|
continue;
|
|
817
817
|
}
|
|
@@ -852,7 +852,7 @@ function Ha() {
|
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
854
|
xe(w.afterSanitizeAttributes, l, null);
|
|
855
|
-
},
|
|
855
|
+
}, No = function P(l) {
|
|
856
856
|
let S = null;
|
|
857
857
|
const R = Ti(l);
|
|
858
858
|
for (xe(w.beforeSanitizeShadowDOM, l, null); S = R.nextNode(); )
|
|
@@ -887,7 +887,7 @@ function Ha() {
|
|
|
887
887
|
S && An && Ve(S.firstChild);
|
|
888
888
|
const pe = Ti(Ct ? P : S);
|
|
889
889
|
for (; te = pe.nextNode(); )
|
|
890
|
-
wi(te), Ai(te), te.content instanceof o &&
|
|
890
|
+
wi(te), Ai(te), te.content instanceof o && No(te.content);
|
|
891
891
|
if (Ct)
|
|
892
892
|
return P;
|
|
893
893
|
if (ht) {
|
|
@@ -899,7 +899,7 @@ function Ha() {
|
|
|
899
899
|
return (re.shadowroot || re.shadowrootmode) && (be = E.call(i, be, !0)), be;
|
|
900
900
|
}
|
|
901
901
|
let Ie = ot ? S.outerHTML : S.innerHTML;
|
|
902
|
-
return ot && $["!doctype"] && S.ownerDocument && S.ownerDocument.doctype && S.ownerDocument.doctype.name && Te(
|
|
902
|
+
return ot && $["!doctype"] && S.ownerDocument && S.ownerDocument.doctype && S.ownerDocument.doctype.name && Te(za, S.ownerDocument.doctype.name) && (Ie = "<!DOCTYPE " + S.ownerDocument.doctype.name + `>
|
|
903
903
|
` + Ie), ft && en([j, K, H], (He) => {
|
|
904
904
|
Ie = Ut(Ie, He, " ");
|
|
905
905
|
}), F && Wt ? F.createHTML(Ie) : Ie;
|
|
@@ -926,7 +926,7 @@ function Ha() {
|
|
|
926
926
|
w = Yi();
|
|
927
927
|
}, t;
|
|
928
928
|
}
|
|
929
|
-
var Cl =
|
|
929
|
+
var Cl = xa();
|
|
930
930
|
function Ol() {
|
|
931
931
|
this.__data__ = new Ze(), this.size = 0;
|
|
932
932
|
}
|
|
@@ -967,7 +967,7 @@ var on = function() {
|
|
|
967
967
|
} catch {
|
|
968
968
|
}
|
|
969
969
|
}();
|
|
970
|
-
function
|
|
970
|
+
function Ha(e, t, n) {
|
|
971
971
|
t == "__proto__" && on ? on(e, t, {
|
|
972
972
|
configurable: !0,
|
|
973
973
|
enumerable: !0,
|
|
@@ -976,16 +976,16 @@ function Ya(e, t, n) {
|
|
|
976
976
|
}) : e[t] = n;
|
|
977
977
|
}
|
|
978
978
|
var Nl = Object.prototype, Pl = Nl.hasOwnProperty;
|
|
979
|
-
function
|
|
979
|
+
function Ya(e, t, n) {
|
|
980
980
|
var i = e[t];
|
|
981
|
-
(!(Pl.call(e, t) && yn(i, n)) || n === void 0 && !(t in e)) &&
|
|
981
|
+
(!(Pl.call(e, t) && yn(i, n)) || n === void 0 && !(t in e)) && Ha(e, t, n);
|
|
982
982
|
}
|
|
983
983
|
function _n(e, t, n, i) {
|
|
984
984
|
var a = !n;
|
|
985
985
|
n || (n = {});
|
|
986
986
|
for (var o = -1, s = t.length; ++o < s; ) {
|
|
987
987
|
var r = t[o], d = void 0;
|
|
988
|
-
d === void 0 && (d = e[r]), a ?
|
|
988
|
+
d === void 0 && (d = e[r]), a ? Ha(n, r, d) : Ya(n, r, d);
|
|
989
989
|
}
|
|
990
990
|
return n;
|
|
991
991
|
}
|
|
@@ -1009,12 +1009,12 @@ function ql(e) {
|
|
|
1009
1009
|
return n;
|
|
1010
1010
|
}
|
|
1011
1011
|
function Tn(e) {
|
|
1012
|
-
return hn(e) ?
|
|
1012
|
+
return hn(e) ? Da(e, !0) : ql(e);
|
|
1013
1013
|
}
|
|
1014
1014
|
function Kl(e, t) {
|
|
1015
1015
|
return e && _n(t, Tn(t), e);
|
|
1016
1016
|
}
|
|
1017
|
-
var
|
|
1017
|
+
var Ga = typeof exports == "object" && exports && !exports.nodeType && exports, Gi = Ga && typeof module == "object" && module && !module.nodeType && module, Bl = Gi && Gi.exports === Ga, Wi = Bl ? Pe.Buffer : void 0, Zi = Wi ? Wi.allocUnsafe : void 0;
|
|
1018
1018
|
function zl(e, t) {
|
|
1019
1019
|
if (t)
|
|
1020
1020
|
return e.slice();
|
|
@@ -1034,39 +1034,39 @@ function Hl(e, t) {
|
|
|
1034
1034
|
}
|
|
1035
1035
|
return o;
|
|
1036
1036
|
}
|
|
1037
|
-
function
|
|
1037
|
+
function Wa() {
|
|
1038
1038
|
return [];
|
|
1039
1039
|
}
|
|
1040
1040
|
var Yl = Object.prototype, Gl = Yl.propertyIsEnumerable, Xi = Object.getOwnPropertySymbols, ai = Xi ? function(e) {
|
|
1041
1041
|
return e == null ? [] : (e = Object(e), Hl(Xi(e), function(t) {
|
|
1042
1042
|
return Gl.call(e, t);
|
|
1043
1043
|
}));
|
|
1044
|
-
} :
|
|
1044
|
+
} : Wa;
|
|
1045
1045
|
function Wl(e, t) {
|
|
1046
1046
|
return _n(e, ai(e), t);
|
|
1047
1047
|
}
|
|
1048
|
-
function
|
|
1048
|
+
function Za(e, t) {
|
|
1049
1049
|
for (var n = -1, i = t.length, a = e.length; ++n < i; )
|
|
1050
1050
|
e[a + n] = t[n];
|
|
1051
1051
|
return e;
|
|
1052
1052
|
}
|
|
1053
|
-
var
|
|
1053
|
+
var Xa = $a(Object.getPrototypeOf, Object), Zl = Object.getOwnPropertySymbols, Ja = Zl ? function(e) {
|
|
1054
1054
|
for (var t = []; e; )
|
|
1055
|
-
|
|
1055
|
+
Za(t, ai(e)), e = Xa(e);
|
|
1056
1056
|
return t;
|
|
1057
|
-
} :
|
|
1057
|
+
} : Wa;
|
|
1058
1058
|
function Xl(e, t) {
|
|
1059
|
-
return _n(e,
|
|
1059
|
+
return _n(e, Ja(e), t);
|
|
1060
1060
|
}
|
|
1061
|
-
function
|
|
1061
|
+
function Qa(e, t, n) {
|
|
1062
1062
|
var i = t(e);
|
|
1063
|
-
return at(e) ? i :
|
|
1063
|
+
return at(e) ? i : Za(i, n(e));
|
|
1064
1064
|
}
|
|
1065
1065
|
function Jl(e) {
|
|
1066
|
-
return
|
|
1066
|
+
return Qa(e, pn, ai);
|
|
1067
1067
|
}
|
|
1068
1068
|
function Ql(e) {
|
|
1069
|
-
return
|
|
1069
|
+
return Qa(e, Tn, Ja);
|
|
1070
1070
|
}
|
|
1071
1071
|
var Hn = mt(Pe, "DataView"), Yn = mt(Pe, "Promise"), Tt = mt(Pe, "Set"), Gn = mt(Pe, "WeakMap"), Ji = "[object Map]", ed = "[object Object]", Qi = "[object Promise]", ea = "[object Set]", ta = "[object WeakMap]", na = "[object DataView]", td = ct(Hn), nd = ct(Bt), id = ct(Yn), ad = ct(Tt), od = ct(Gn), Ge = nt;
|
|
1072
1072
|
(Hn && Ge(new Hn(new ArrayBuffer(1))) != na || Bt && Ge(new Bt()) != Ji || Yn && Ge(Yn.resolve()) != Qi || Tt && Ge(new Tt()) != ea || Gn && Ge(new Gn()) != ta) && (Ge = function(e) {
|
|
@@ -1161,7 +1161,7 @@ var ra = Object.create, Ld = /* @__PURE__ */ function() {
|
|
|
1161
1161
|
};
|
|
1162
1162
|
}();
|
|
1163
1163
|
function Nd(e) {
|
|
1164
|
-
return typeof e.constructor == "function" && !ti(e) ? Ld(
|
|
1164
|
+
return typeof e.constructor == "function" && !ti(e) ? Ld(Xa(e)) : {};
|
|
1165
1165
|
}
|
|
1166
1166
|
var Pd = "[object Map]";
|
|
1167
1167
|
function Dd(e) {
|
|
@@ -1171,9 +1171,9 @@ var sa = St && St.isMap, $d = sa ? ei(sa) : Dd, Vd = "[object Set]";
|
|
|
1171
1171
|
function jd(e) {
|
|
1172
1172
|
return it(e) && Ge(e) == Vd;
|
|
1173
1173
|
}
|
|
1174
|
-
var la = St && St.isSet, qd = la ? ei(la) : jd, Kd = 1, Bd = 2, zd = 4,
|
|
1175
|
-
J[
|
|
1176
|
-
J[Gd] = J[
|
|
1174
|
+
var la = St && St.isSet, qd = la ? ei(la) : jd, Kd = 1, Bd = 2, zd = 4, eo = "[object Arguments]", xd = "[object Array]", Hd = "[object Boolean]", Yd = "[object Date]", Gd = "[object Error]", to = "[object Function]", Wd = "[object GeneratorFunction]", Zd = "[object Map]", Xd = "[object Number]", no = "[object Object]", Jd = "[object RegExp]", Qd = "[object Set]", eu = "[object String]", tu = "[object Symbol]", nu = "[object WeakMap]", iu = "[object ArrayBuffer]", au = "[object DataView]", ou = "[object Float32Array]", ru = "[object Float64Array]", su = "[object Int8Array]", lu = "[object Int16Array]", du = "[object Int32Array]", uu = "[object Uint8Array]", cu = "[object Uint8ClampedArray]", mu = "[object Uint16Array]", fu = "[object Uint32Array]", J = {};
|
|
1175
|
+
J[eo] = J[xd] = J[iu] = J[au] = J[Hd] = J[Yd] = J[ou] = J[ru] = J[su] = J[lu] = J[du] = J[Zd] = J[Xd] = J[no] = J[Jd] = J[Qd] = J[eu] = J[tu] = J[uu] = J[cu] = J[mu] = J[fu] = !0;
|
|
1176
|
+
J[Gd] = J[to] = J[nu] = !1;
|
|
1177
1177
|
function jt(e, t, n, i, a, o) {
|
|
1178
1178
|
var s, r = t & Kd, d = t & Bd, u = t & zd;
|
|
1179
1179
|
if (s !== void 0)
|
|
@@ -1185,10 +1185,10 @@ function jt(e, t, n, i, a, o) {
|
|
|
1185
1185
|
if (s = ld(e), !r)
|
|
1186
1186
|
return xl(e, s);
|
|
1187
1187
|
} else {
|
|
1188
|
-
var f = Ge(e), b = f ==
|
|
1189
|
-
if (
|
|
1188
|
+
var f = Ge(e), b = f == to || f == Wd;
|
|
1189
|
+
if (Ua(e))
|
|
1190
1190
|
return zl(e, r);
|
|
1191
|
-
if (f ==
|
|
1191
|
+
if (f == no || f == eo || b && !a) {
|
|
1192
1192
|
if (s = d || b ? {} : Nd(e), !r)
|
|
1193
1193
|
return d ? Xl(e, Kl(s, e)) : Wl(e, Dl(s, e));
|
|
1194
1194
|
} else {
|
|
@@ -1207,8 +1207,8 @@ function jt(e, t, n, i, a, o) {
|
|
|
1207
1207
|
s.set(C, jt(A, t, n, C, e, o));
|
|
1208
1208
|
});
|
|
1209
1209
|
var q = u ? d ? Ql : Jl : d ? Tn : pn, h = p ? void 0 : q(e);
|
|
1210
|
-
return
|
|
1211
|
-
h && (C = A, A = e[C]),
|
|
1210
|
+
return Ca(h || e, function(A, C) {
|
|
1211
|
+
h && (C = A, A = e[C]), Ya(s, C, jt(A, t, n, C, e, o));
|
|
1212
1212
|
}), s;
|
|
1213
1213
|
}
|
|
1214
1214
|
var hu = 1, pu = 4;
|
|
@@ -1220,7 +1220,7 @@ var gu = "[object String]";
|
|
|
1220
1220
|
function st(e) {
|
|
1221
1221
|
return typeof e == "string" || !at(e) && it(e) && nt(e) == gu;
|
|
1222
1222
|
}
|
|
1223
|
-
const
|
|
1223
|
+
const io = {
|
|
1224
1224
|
methods: {
|
|
1225
1225
|
// Get style classes of field
|
|
1226
1226
|
getFieldRowClasses(e) {
|
|
@@ -1372,13 +1372,13 @@ function Pu(e, t) {
|
|
|
1372
1372
|
}
|
|
1373
1373
|
function Du() {
|
|
1374
1374
|
}
|
|
1375
|
-
function
|
|
1375
|
+
function ao(e) {
|
|
1376
1376
|
var t = -1, n = Array(e.size);
|
|
1377
1377
|
return e.forEach(function(i) {
|
|
1378
1378
|
n[++t] = i;
|
|
1379
1379
|
}), n;
|
|
1380
1380
|
}
|
|
1381
|
-
var $u = 1 / 0, Vu = Tt && 1 /
|
|
1381
|
+
var $u = 1 / 0, Vu = Tt && 1 / ao(new Tt([, -0]))[1] == $u ? function(e) {
|
|
1382
1382
|
return new Tt(e);
|
|
1383
1383
|
} : Du, ju = 200;
|
|
1384
1384
|
function qu(e, t, n) {
|
|
@@ -1386,7 +1386,7 @@ function qu(e, t, n) {
|
|
|
1386
1386
|
if (o >= ju) {
|
|
1387
1387
|
var u = Vu(e);
|
|
1388
1388
|
if (u)
|
|
1389
|
-
return
|
|
1389
|
+
return ao(u);
|
|
1390
1390
|
s = !1, a = Pu, d = new rn();
|
|
1391
1391
|
} else
|
|
1392
1392
|
d = r;
|
|
@@ -1402,16 +1402,16 @@ function qu(e, t, n) {
|
|
|
1402
1402
|
}
|
|
1403
1403
|
return r;
|
|
1404
1404
|
}
|
|
1405
|
-
function
|
|
1405
|
+
function oo(e) {
|
|
1406
1406
|
return e && e.length ? qu(e) : [];
|
|
1407
1407
|
}
|
|
1408
1408
|
var Ku = 0;
|
|
1409
|
-
function
|
|
1409
|
+
function ro(e) {
|
|
1410
1410
|
var t = ++Ku;
|
|
1411
|
-
return
|
|
1411
|
+
return ja(e) + t;
|
|
1412
1412
|
}
|
|
1413
|
-
var
|
|
1414
|
-
function
|
|
1413
|
+
var so = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, Qe = "\\d\\d?", Je = "\\d\\d", Bu = "\\d{3}", zu = "\\d{4}", qt = "[^\\s]+", lo = /\[([^]*?)\]/gm;
|
|
1414
|
+
function uo(e, t) {
|
|
1415
1415
|
for (var n = [], i = 0, a = e.length; i < a; i++)
|
|
1416
1416
|
n.push(e[i].substr(0, t));
|
|
1417
1417
|
return n;
|
|
@@ -1434,7 +1434,7 @@ function lt(e) {
|
|
|
1434
1434
|
}
|
|
1435
1435
|
return e;
|
|
1436
1436
|
}
|
|
1437
|
-
var
|
|
1437
|
+
var co = [
|
|
1438
1438
|
"Sunday",
|
|
1439
1439
|
"Monday",
|
|
1440
1440
|
"Tuesday",
|
|
@@ -1442,7 +1442,7 @@ var mo = [
|
|
|
1442
1442
|
"Thursday",
|
|
1443
1443
|
"Friday",
|
|
1444
1444
|
"Saturday"
|
|
1445
|
-
],
|
|
1445
|
+
], mo = [
|
|
1446
1446
|
"January",
|
|
1447
1447
|
"February",
|
|
1448
1448
|
"March",
|
|
@@ -1455,16 +1455,16 @@ var mo = [
|
|
|
1455
1455
|
"October",
|
|
1456
1456
|
"November",
|
|
1457
1457
|
"December"
|
|
1458
|
-
], xu =
|
|
1458
|
+
], xu = uo(mo, 3), Hu = uo(co, 3), fo = {
|
|
1459
1459
|
dayNamesShort: Hu,
|
|
1460
|
-
dayNames:
|
|
1460
|
+
dayNames: co,
|
|
1461
1461
|
monthNamesShort: xu,
|
|
1462
|
-
monthNames:
|
|
1462
|
+
monthNames: mo,
|
|
1463
1463
|
amPm: ["am", "pm"],
|
|
1464
1464
|
DoFn: function(e) {
|
|
1465
1465
|
return e + ["th", "st", "nd", "rd"][e % 10 > 3 ? 0 : (e - e % 10 !== 10 ? 1 : 0) * e % 10];
|
|
1466
1466
|
}
|
|
1467
|
-
}, sn = lt({},
|
|
1467
|
+
}, sn = lt({}, fo), Yu = function(e) {
|
|
1468
1468
|
return sn = lt(sn, e);
|
|
1469
1469
|
}, ma = function(e) {
|
|
1470
1470
|
return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
|
|
@@ -1639,11 +1639,11 @@ var mo = [
|
|
|
1639
1639
|
throw new Error("Invalid Date pass to format");
|
|
1640
1640
|
t = ln[t] || t;
|
|
1641
1641
|
var i = [];
|
|
1642
|
-
t = t.replace(
|
|
1642
|
+
t = t.replace(lo, function(o, s) {
|
|
1643
1643
|
return i.push(s), "@@@";
|
|
1644
1644
|
});
|
|
1645
1645
|
var a = lt(lt({}, sn), n);
|
|
1646
|
-
return t = t.replace(
|
|
1646
|
+
return t = t.replace(so, function(o) {
|
|
1647
1647
|
return Gu[o](e, a);
|
|
1648
1648
|
}), t.replace(/@@@/g, function() {
|
|
1649
1649
|
return i.shift();
|
|
@@ -1664,10 +1664,10 @@ function Ju(e, t, n) {
|
|
|
1664
1664
|
millisecond: 0,
|
|
1665
1665
|
isPm: null,
|
|
1666
1666
|
timezoneOffset: null
|
|
1667
|
-
}, o = [], s = [], r = t.replace(
|
|
1667
|
+
}, o = [], s = [], r = t.replace(lo, function(F, y) {
|
|
1668
1668
|
return s.push(ma(y)), "@@@";
|
|
1669
1669
|
}), d = {}, u = {};
|
|
1670
|
-
r = ma(r).replace(
|
|
1670
|
+
r = ma(r).replace(so, function(F) {
|
|
1671
1671
|
var y = Wu[F], v = y[0], g = y[1], V = y[3];
|
|
1672
1672
|
if (d[v])
|
|
1673
1673
|
throw new Error("Invalid format. " + v + " specified twice in format");
|
|
@@ -1707,7 +1707,7 @@ function Ju(e, t, n) {
|
|
|
1707
1707
|
var _t = {
|
|
1708
1708
|
format: Xu,
|
|
1709
1709
|
parse: Ju,
|
|
1710
|
-
defaultI18n:
|
|
1710
|
+
defaultI18n: fo,
|
|
1711
1711
|
setGlobalDateI18n: Yu,
|
|
1712
1712
|
setGlobalDateMasks: Zu
|
|
1713
1713
|
};
|
|
@@ -1768,15 +1768,15 @@ function dc(e, t, n) {
|
|
|
1768
1768
|
if (!Fe(n))
|
|
1769
1769
|
return !1;
|
|
1770
1770
|
var i = typeof t;
|
|
1771
|
-
return (i == "number" ? hn(n) &&
|
|
1771
|
+
return (i == "number" ? hn(n) && La(t, n.length) : i == "string" && t in n) ? yn(n[t], e) : !1;
|
|
1772
1772
|
}
|
|
1773
|
-
var
|
|
1773
|
+
var ho = Object.prototype, uc = ho.hasOwnProperty, cc = lc(function(e, t) {
|
|
1774
1774
|
e = Object(e);
|
|
1775
1775
|
var n = -1, i = t.length, a = i > 2 ? t[2] : void 0;
|
|
1776
1776
|
for (a && dc(t[0], t[1], a) && (i = 1); ++n < i; )
|
|
1777
1777
|
for (var o = t[n], s = Tn(o), r = -1, d = s.length; ++r < d; ) {
|
|
1778
1778
|
var u = s[r], p = e[u];
|
|
1779
|
-
(p === void 0 || yn(p,
|
|
1779
|
+
(p === void 0 || yn(p, ho[u]) && !uc.call(e, u)) && (e[u] = o[u]);
|
|
1780
1780
|
}
|
|
1781
1781
|
return e;
|
|
1782
1782
|
}), mc = Pe.isFinite;
|
|
@@ -2169,7 +2169,7 @@ const $e = {
|
|
|
2169
2169
|
}
|
|
2170
2170
|
const i = (a) => {
|
|
2171
2171
|
let o = [];
|
|
2172
|
-
we(
|
|
2172
|
+
we(oo(a), (r) => {
|
|
2173
2173
|
Array.isArray(r) && r.length > 0 ? o = o.concat(r) : st(r) && o.push(r);
|
|
2174
2174
|
}), X(this.schema.onValidated) && this.schema.onValidated.call(this, this.model, o, this.schema);
|
|
2175
2175
|
const s = o.length === 0;
|
|
@@ -2210,7 +2210,7 @@ const $e = {
|
|
|
2210
2210
|
},
|
|
2211
2211
|
getFieldID(e, t = !1) {
|
|
2212
2212
|
const n = G(this.formOptions, "fieldIdPrefix", "");
|
|
2213
|
-
return ri(e, n) + (t ? "-" +
|
|
2213
|
+
return ri(e, n) + (t ? "-" + ro() : "");
|
|
2214
2214
|
},
|
|
2215
2215
|
getLabelId(e) {
|
|
2216
2216
|
return `${this.getFieldID(e)}-label`;
|
|
@@ -2328,7 +2328,7 @@ const $e = {
|
|
|
2328
2328
|
]);
|
|
2329
2329
|
};
|
|
2330
2330
|
}
|
|
2331
|
-
}),
|
|
2331
|
+
}), po = /* @__PURE__ */ W(kc, [["__scopeId", "data-v-97302224"]]), Rc = { class: "array-item-wrapper" }, Uc = { class: "array-item" }, Lc = { class: "array-item-after" }, Nc = /* @__PURE__ */ he({
|
|
2332
2332
|
__name: "FieldArrayItem",
|
|
2333
2333
|
props: {
|
|
2334
2334
|
model: {
|
|
@@ -2360,7 +2360,7 @@ const $e = {
|
|
|
2360
2360
|
]);
|
|
2361
2361
|
};
|
|
2362
2362
|
}
|
|
2363
|
-
}),
|
|
2363
|
+
}), go = /* @__PURE__ */ W(Nc, [["__scopeId", "data-v-51d79db2"]]), Pc = { class: "multi-item-wrapper" }, Dc = /* @__PURE__ */ he({
|
|
2364
2364
|
__name: "FieldArrayMultiItem",
|
|
2365
2365
|
emits: ["remove-item"],
|
|
2366
2366
|
setup(e) {
|
|
@@ -2383,12 +2383,12 @@ const $e = {
|
|
|
2383
2383
|
]);
|
|
2384
2384
|
};
|
|
2385
2385
|
}
|
|
2386
|
-
}),
|
|
2386
|
+
}), yo = /* @__PURE__ */ W(Dc, [["__scopeId", "data-v-b4fcf731"]]), $c = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", Zn = (e) => e ? e.length === 36 && new RegExp(`^${$c}$`).test(e) : !1, Vc = (e) => ({
|
|
2387
2387
|
...e,
|
|
2388
2388
|
label: e.name,
|
|
2389
2389
|
value: e.id
|
|
2390
2390
|
});
|
|
2391
|
-
function
|
|
2391
|
+
function vo(e, t, n) {
|
|
2392
2392
|
return n ? je.SET_REFERRAL_VALUE : e && !t || !e && t ? je.UPDATE_ENTITY : e && t ? je.CREATE_FROM_ENTITY : je.CREATE_NOT_FROM_ENTITY;
|
|
2393
2393
|
}
|
|
2394
2394
|
const Bn = 50, jc = {
|
|
@@ -2413,7 +2413,7 @@ const Bn = 50, jc = {
|
|
|
2413
2413
|
},
|
|
2414
2414
|
computed: {
|
|
2415
2415
|
fieldState() {
|
|
2416
|
-
return
|
|
2416
|
+
return vo(this.model[this.schema.model], this.associatedEntity || this.entityId, this.bypassSearch);
|
|
2417
2417
|
},
|
|
2418
2418
|
associatedEntity() {
|
|
2419
2419
|
return this.$route && this.$route.params[this.entity];
|
|
@@ -2564,7 +2564,7 @@ function zc(e, t, n, i, a, o) {
|
|
|
2564
2564
|
_: 1
|
|
2565
2565
|
}, 8, ["text"]);
|
|
2566
2566
|
}
|
|
2567
|
-
const
|
|
2567
|
+
const bo = /* @__PURE__ */ W(jc, [["render", zc], ["__scopeId", "data-v-9b7636bc"]]), xc = "#6c7489", Hc = "12px", Yc = "20px";
|
|
2568
2568
|
var Gc = 4;
|
|
2569
2569
|
function Ta(e) {
|
|
2570
2570
|
return jt(e, Gc);
|
|
@@ -2584,7 +2584,7 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2584
2584
|
}),
|
|
2585
2585
|
emits: /* @__PURE__ */ Oi(["change", "query-change"], ["update:id"]),
|
|
2586
2586
|
setup(e) {
|
|
2587
|
-
const { t } = ke("en-us", Re), n =
|
|
2587
|
+
const { t } = ke("en-us", Re), n = Po(e, "id");
|
|
2588
2588
|
return (i, a) => {
|
|
2589
2589
|
const o = D("KSelect");
|
|
2590
2590
|
return c(), U(o, {
|
|
@@ -2668,7 +2668,7 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2668
2668
|
} catch (g) {
|
|
2669
2669
|
if (v != null && v.aborted)
|
|
2670
2670
|
return;
|
|
2671
|
-
if (o.value = [],
|
|
2671
|
+
if (o.value = [], Yo(g) && g.status === 404) {
|
|
2672
2672
|
console.warn("unable to search with UUID", a.value, "for entity type", e.entity);
|
|
2673
2673
|
return;
|
|
2674
2674
|
}
|
|
@@ -2740,10 +2740,10 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2740
2740
|
} : void 0
|
|
2741
2741
|
]), 1032, ["id", "disabled", "dom-id", "empty-message", "loading", "placeholder", "readonly", "suggestions", "onQueryChange"]));
|
|
2742
2742
|
}
|
|
2743
|
-
}), im = 1e3,
|
|
2743
|
+
}), im = 1e3, am = {
|
|
2744
2744
|
components: {
|
|
2745
2745
|
FieldScopedEntitySelect: nm,
|
|
2746
|
-
SearchIcon:
|
|
2746
|
+
SearchIcon: xo
|
|
2747
2747
|
},
|
|
2748
2748
|
mixins: [$e],
|
|
2749
2749
|
inject: [Se],
|
|
@@ -2754,7 +2754,7 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2754
2754
|
t: e,
|
|
2755
2755
|
KUI_ICON_SIZE_40: Yc,
|
|
2756
2756
|
KUI_COLOR_TEXT_NEUTRAL: xc,
|
|
2757
|
-
|
|
2757
|
+
EMPTY_VALUE_PLACEHOLDER: rl
|
|
2758
2758
|
};
|
|
2759
2759
|
},
|
|
2760
2760
|
data() {
|
|
@@ -2771,7 +2771,7 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2771
2771
|
},
|
|
2772
2772
|
computed: {
|
|
2773
2773
|
fieldState() {
|
|
2774
|
-
return
|
|
2774
|
+
return vo(this.model[this.schema.model], this.associatedEntity || this.entityId, this.bypassSearch);
|
|
2775
2775
|
},
|
|
2776
2776
|
associatedEntity() {
|
|
2777
2777
|
return this.$route && this.$route.params[this.entity];
|
|
@@ -2836,16 +2836,11 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2836
2836
|
transformItem(e) {
|
|
2837
2837
|
return {
|
|
2838
2838
|
...e,
|
|
2839
|
+
// This field is for select dropdown item first column.
|
|
2839
2840
|
label: this.getSuggestionLabel(e),
|
|
2840
2841
|
value: e.id
|
|
2841
2842
|
};
|
|
2842
2843
|
},
|
|
2843
|
-
dedupeSuggestions(e, t) {
|
|
2844
|
-
const n = [];
|
|
2845
|
-
return e.forEach((i) => {
|
|
2846
|
-
t.has(i.id) || (t.add(i.id), n.push(i));
|
|
2847
|
-
}), n;
|
|
2848
|
-
},
|
|
2849
2844
|
getItem(e) {
|
|
2850
2845
|
return e.data ? e.data.length > 0 ? e.data[0] : [] : e;
|
|
2851
2846
|
},
|
|
@@ -2864,7 +2859,7 @@ const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc =
|
|
|
2864
2859
|
getSuggestionLabel(e) {
|
|
2865
2860
|
var n;
|
|
2866
2861
|
const t = ((n = this.schema) == null ? void 0 : n.labelField) || "id";
|
|
2867
|
-
return
|
|
2862
|
+
return t && e ? e[t] : "";
|
|
2868
2863
|
},
|
|
2869
2864
|
updateModel(e) {
|
|
2870
2865
|
this.$emit("model-updated", e != null && e.length ? e : null, this.schema.model);
|
|
@@ -2913,13 +2908,13 @@ function um(e, t, n, i, a, o) {
|
|
|
2913
2908
|
]),
|
|
2914
2909
|
item: M(({ item: d }) => [
|
|
2915
2910
|
m("div", om, [
|
|
2916
|
-
m("span", rm, L(d.label
|
|
2911
|
+
m("span", rm, L(d.label ?? i.EMPTY_VALUE_PLACEHOLDER), 1),
|
|
2917
2912
|
m("span", sm, L(d.id), 1)
|
|
2918
2913
|
])
|
|
2919
2914
|
]),
|
|
2920
2915
|
"selected-item": M(({ item: d }) => [
|
|
2921
2916
|
m("span", lm, [
|
|
2922
|
-
m("span", dm, L(d.label
|
|
2917
|
+
m("span", dm, L(d.label ?? d.id), 1)
|
|
2923
2918
|
])
|
|
2924
2919
|
]),
|
|
2925
2920
|
_: 1
|
|
@@ -2928,7 +2923,7 @@ function um(e, t, n, i, a, o) {
|
|
|
2928
2923
|
_: 1
|
|
2929
2924
|
}, 8, ["text"]);
|
|
2930
2925
|
}
|
|
2931
|
-
const
|
|
2926
|
+
const _o = /* @__PURE__ */ W(am, [["render", um], ["__scopeId", "data-v-704a3e4e"]]);
|
|
2932
2927
|
function cm(e) {
|
|
2933
2928
|
const t = ae([]), n = ae(null), i = (h) => st(h) ? dt[h] != null ? dt[h] : (console.warn(`'${h}' is not a validator function!`), null) : h, a = z({
|
|
2934
2929
|
get() {
|
|
@@ -2966,7 +2961,7 @@ function cm(e) {
|
|
|
2966
2961
|
const N = (F) => {
|
|
2967
2962
|
var v, g;
|
|
2968
2963
|
let y = [];
|
|
2969
|
-
if (we(
|
|
2964
|
+
if (we(oo(F), (V) => {
|
|
2970
2965
|
Array.isArray(V) && V.length > 0 ? y = y.concat(V) : st(V) && y.push(V);
|
|
2971
2966
|
}), X((v = e.schema) == null ? void 0 : v.onValidated) && e.schema.onValidated((g = e.model) == null ? void 0 : g.value, y, e.schema), !h) {
|
|
2972
2967
|
const V = y.length === 0;
|
|
@@ -3004,7 +2999,7 @@ function cm(e) {
|
|
|
3004
2999
|
}
|
|
3005
3000
|
}, p = (h, A = !1) => {
|
|
3006
3001
|
const C = G(e.formOptions, "fieldIdPrefix", "");
|
|
3007
|
-
return ri(h, C) + (A ? "-" +
|
|
3002
|
+
return ri(h, C) + (A ? "-" + ro() : "");
|
|
3008
3003
|
}, f = (h) => `${p(h)}-label`, b = () => G(e.schema, "fieldClasses", []), k = (h) => e.formatValueToField && typeof e.formatValueToField == "function" ? e.formatValueToField(h) : h, q = (h) => e.formatValueToModel && typeof e.formatValueToModel == "function" ? e.formatValueToModel(h) : h;
|
|
3009
3004
|
return {
|
|
3010
3005
|
value: a,
|
|
@@ -3208,7 +3203,7 @@ const qe = {
|
|
|
3208
3203
|
]);
|
|
3209
3204
|
};
|
|
3210
3205
|
}
|
|
3211
|
-
}),
|
|
3206
|
+
}), To = /* @__PURE__ */ W(pm, [["__scopeId", "data-v-fe1132bb"]]), gm = {
|
|
3212
3207
|
name: "FieldMetric",
|
|
3213
3208
|
components: { AddIcon: Qn, TrashIcon: xt },
|
|
3214
3209
|
mixins: [$e],
|
|
@@ -3234,7 +3229,7 @@ function vm(e, t, n, i, a, o) {
|
|
|
3234
3229
|
ce(L(e.model.name ? e.model.name : "New Item") + " ", 1),
|
|
3235
3230
|
O(s, { class: "metric-add-icon" })
|
|
3236
3231
|
]),
|
|
3237
|
-
O(
|
|
3232
|
+
O(Do, { name: "slide-fade" }, {
|
|
3238
3233
|
default: M(() => [
|
|
3239
3234
|
a.contentVisible ? (c(), _("div", ym, [
|
|
3240
3235
|
Oe(e.$slots, "default"),
|
|
@@ -3254,7 +3249,7 @@ function vm(e, t, n, i, a, o) {
|
|
|
3254
3249
|
})
|
|
3255
3250
|
], 2);
|
|
3256
3251
|
}
|
|
3257
|
-
const
|
|
3252
|
+
const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-container" }, _m = { key: 1 }, Tm = ["id"], Sm = { key: 0 }, wm = ["onUpdate:modelValue"], Em = { key: 1 }, Mm = ["onUpdate:modelValue"], Am = { key: 2 }, Im = ["onUpdate:modelValue"], Cm = ["onClick"], Om = {
|
|
3258
3253
|
mixins: [$e],
|
|
3259
3254
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
3260
3255
|
emits: ["modelUpdated"],
|
|
@@ -3296,7 +3291,7 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3296
3291
|
__name: "FieldObject",
|
|
3297
3292
|
setup(e) {
|
|
3298
3293
|
return (t, n) => {
|
|
3299
|
-
const i =
|
|
3294
|
+
const i = Aa("attributes");
|
|
3300
3295
|
return Ee((c(), _("div", bm, [
|
|
3301
3296
|
t.schema.schema ? (c(), U(ue, {
|
|
3302
3297
|
key: 0,
|
|
@@ -3324,7 +3319,7 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3324
3319
|
"onUpdate:modelValue": (s) => t.value[o] = s,
|
|
3325
3320
|
type: "checkbox"
|
|
3326
3321
|
}, null, 8, Mm), [
|
|
3327
|
-
[
|
|
3322
|
+
[$o, t.value[o]]
|
|
3328
3323
|
])
|
|
3329
3324
|
])) : B("", !0),
|
|
3330
3325
|
t.keyTypes[o] === "number" ? (c(), _("td", Am, [
|
|
@@ -3351,7 +3346,7 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3351
3346
|
m("option", { value: "number" }, " Number ", -1),
|
|
3352
3347
|
m("option", { value: "boolean" }, " Boolean ", -1)
|
|
3353
3348
|
]), 512), [
|
|
3354
|
-
[
|
|
3349
|
+
[Vo, t.newKeyType]
|
|
3355
3350
|
]),
|
|
3356
3351
|
Ee(m("input", {
|
|
3357
3352
|
"onUpdate:modelValue": n[1] || (n[1] = (a) => t.newKeyName = a),
|
|
@@ -3370,7 +3365,7 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3370
3365
|
]);
|
|
3371
3366
|
};
|
|
3372
3367
|
}
|
|
3373
|
-
}),
|
|
3368
|
+
}), wo = /* @__PURE__ */ W(Fm, [["__scopeId", "data-v-4ace4106"]]), km = ["id"], Rm = ["data-testid"], Um = { class: "item-wrapper" }, Lm = { class: "index-wrapper" }, Nm = { key: 0 }, Pm = { key: 1 }, Dm = ["onUpdate:modelValue", "placeholder", "type", "onInput"], $m = {
|
|
3374
3369
|
key: 0,
|
|
3375
3370
|
class: "hint"
|
|
3376
3371
|
}, Vm = { class: "input-item" }, jm = ["placeholder"], qm = {
|
|
@@ -3523,7 +3518,7 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3523
3518
|
type: t.valueInputType,
|
|
3524
3519
|
onInput: (s) => t.updateModel(t.value[o], t.model[t.schema.model])
|
|
3525
3520
|
}, null, 40, Dm), [
|
|
3526
|
-
[
|
|
3521
|
+
[Ia, t.value[o]]
|
|
3527
3522
|
]),
|
|
3528
3523
|
t.schema.fields && t.schema.fields[0].schema.hint ? (c(), _("p", $m, L(t.schema.fields[0].schema.hint), 1)) : B("", !0),
|
|
3529
3524
|
(c(), U(me(t.autofillSlot), {
|
|
@@ -3566,7 +3561,7 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3566
3561
|
], 10, km);
|
|
3567
3562
|
};
|
|
3568
3563
|
}
|
|
3569
|
-
}),
|
|
3564
|
+
}), Eo = /* @__PURE__ */ W(Bm, [["__scopeId", "data-v-41b00aff"]]), zm = { class: "radio-selection-group" }, xm = /* @__PURE__ */ he({
|
|
3570
3565
|
__name: "FieldRadio",
|
|
3571
3566
|
props: {
|
|
3572
3567
|
disabled: {
|
|
@@ -3639,7 +3634,7 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3639
3634
|
]);
|
|
3640
3635
|
};
|
|
3641
3636
|
}
|
|
3642
|
-
}),
|
|
3637
|
+
}), Mo = /* @__PURE__ */ W(xm, [["__scopeId", "data-v-42b9c6ac"]]), Ao = /* @__PURE__ */ he({
|
|
3643
3638
|
__name: "FieldSelect",
|
|
3644
3639
|
props: {
|
|
3645
3640
|
disabled: {
|
|
@@ -3745,17 +3740,17 @@ const wo = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3745
3740
|
}), Hm = {
|
|
3746
3741
|
name: "FieldArray",
|
|
3747
3742
|
components: {
|
|
3748
|
-
FieldArrayItem:
|
|
3749
|
-
FieldArrayMultiItem:
|
|
3750
|
-
FieldSelect:
|
|
3751
|
-
FieldMetric:
|
|
3752
|
-
FieldObject:
|
|
3753
|
-
FieldObjectAdvanced:
|
|
3754
|
-
FieldAutoSuggest:
|
|
3755
|
-
FieldAutoSuggestV2:
|
|
3756
|
-
FieldRadio:
|
|
3757
|
-
FieldArrayCardContainer:
|
|
3758
|
-
FieldInput:
|
|
3743
|
+
FieldArrayItem: go,
|
|
3744
|
+
FieldArrayMultiItem: yo,
|
|
3745
|
+
FieldSelect: Ao,
|
|
3746
|
+
FieldMetric: So,
|
|
3747
|
+
FieldObject: wo,
|
|
3748
|
+
FieldObjectAdvanced: Eo,
|
|
3749
|
+
FieldAutoSuggest: bo,
|
|
3750
|
+
FieldAutoSuggestV2: _o,
|
|
3751
|
+
FieldRadio: Mo,
|
|
3752
|
+
FieldArrayCardContainer: po,
|
|
3753
|
+
FieldInput: To
|
|
3759
3754
|
},
|
|
3760
3755
|
mixins: [$e],
|
|
3761
3756
|
inject: {
|
|
@@ -3895,7 +3890,7 @@ function Xm(e, t, n, i, a, o) {
|
|
|
3895
3890
|
}, { ref_for: !0 }, e.schema.inputAttributes, {
|
|
3896
3891
|
type: ((f = e.schema.inputAttributes) == null ? void 0 : f.type) || "text"
|
|
3897
3892
|
}), null, 16, Wm)), [
|
|
3898
|
-
[
|
|
3893
|
+
[Ia, e.value[p]]
|
|
3899
3894
|
])
|
|
3900
3895
|
];
|
|
3901
3896
|
}),
|
|
@@ -4000,7 +3995,7 @@ const Jm = /* @__PURE__ */ W(Hm, [["render", Xm], ["__scopeId", "data-v-ae802bb2
|
|
|
4000
3995
|
}
|
|
4001
3996
|
}), tf = /* @__PURE__ */ W(ef, [["__scopeId", "data-v-6b4ee1cd"]]), nf = { class: "wrapper" }, af = ["disabled"], of = ["id", "checked", "disabled", "onChange", "name"], rf = ["disabled"], sf = { class: "info" }, lf = { class: "dropList" }, df = ["id", "checked", "disabled", "onChange", "name"];
|
|
4002
3997
|
function uf(e, t, n, i, a, o) {
|
|
4003
|
-
const s =
|
|
3998
|
+
const s = Aa("attributes");
|
|
4004
3999
|
return Ee((c(), _("div", nf, [
|
|
4005
4000
|
e.schema.listBox ? (c(), _("div", {
|
|
4006
4001
|
key: 0,
|
|
@@ -4328,7 +4323,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4328
4323
|
},
|
|
4329
4324
|
emits: ["modelUpdated"],
|
|
4330
4325
|
setup(e, { expose: t, emit: n }) {
|
|
4331
|
-
const i = e, a = n, o =
|
|
4326
|
+
const i = e, a = n, o = jo(i, "model"), { getLabelId: s, getFieldID: r, clearValidationErrors: d, value: u } = qe.useAbstractFields({
|
|
4332
4327
|
model: o,
|
|
4333
4328
|
schema: i.schema,
|
|
4334
4329
|
formOptions: i.formOptions,
|
|
@@ -4437,7 +4432,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4437
4432
|
type: "radio",
|
|
4438
4433
|
value: o
|
|
4439
4434
|
}, null, 8, If), [
|
|
4440
|
-
[
|
|
4435
|
+
[qo, n.checkedGroup]
|
|
4441
4436
|
]),
|
|
4442
4437
|
ce(" " + L(a.label) + " ", 1),
|
|
4443
4438
|
m("div", Cf, L(a.description), 1)
|
|
@@ -4462,7 +4457,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4462
4457
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
4463
4458
|
])
|
|
4464
4459
|
], 512)), [
|
|
4465
|
-
[
|
|
4460
|
+
[Ko, a.fields && n.checkedGroup === o]
|
|
4466
4461
|
]) : B("", !0)
|
|
4467
4462
|
]))), 128))
|
|
4468
4463
|
]));
|
|
@@ -4623,29 +4618,29 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4623
4618
|
__proto__: null,
|
|
4624
4619
|
FieldAdvanced: Oc,
|
|
4625
4620
|
FieldArray: Jm,
|
|
4626
|
-
FieldArrayCardContainer:
|
|
4627
|
-
FieldArrayItem:
|
|
4628
|
-
FieldArrayMultiItem:
|
|
4629
|
-
FieldAutoSuggest:
|
|
4630
|
-
FieldAutoSuggestV2:
|
|
4621
|
+
FieldArrayCardContainer: po,
|
|
4622
|
+
FieldArrayItem: go,
|
|
4623
|
+
FieldArrayMultiItem: yo,
|
|
4624
|
+
FieldAutoSuggest: bo,
|
|
4625
|
+
FieldAutoSuggestV2: _o,
|
|
4631
4626
|
FieldCheckbox: tf,
|
|
4632
4627
|
FieldChecklist: mf,
|
|
4633
|
-
FieldInput:
|
|
4628
|
+
FieldInput: To,
|
|
4634
4629
|
FieldKeyValuePairs: _f,
|
|
4635
4630
|
FieldLabel: Sf,
|
|
4636
|
-
FieldMetric:
|
|
4631
|
+
FieldMetric: So,
|
|
4637
4632
|
FieldMultiselect: wf,
|
|
4638
|
-
FieldObject:
|
|
4639
|
-
FieldObjectAdvanced:
|
|
4640
|
-
FieldRadio:
|
|
4641
|
-
FieldSelect:
|
|
4633
|
+
FieldObject: wo,
|
|
4634
|
+
FieldObjectAdvanced: Eo,
|
|
4635
|
+
FieldRadio: Mo,
|
|
4636
|
+
FieldSelect: Ao,
|
|
4642
4637
|
FieldSelectionGroup: Uf,
|
|
4643
4638
|
FieldSwitch: Nf,
|
|
4644
4639
|
FieldTextArea: $f
|
|
4645
4640
|
}, Symbol.toStringTag, { value: "Module" })), jf = {
|
|
4646
4641
|
name: "FormGroup",
|
|
4647
4642
|
components: Vf,
|
|
4648
|
-
mixins: [
|
|
4643
|
+
mixins: [io],
|
|
4649
4644
|
inject: {
|
|
4650
4645
|
"vfg-array-item-index": {
|
|
4651
4646
|
default: void 0
|
|
@@ -4856,7 +4851,7 @@ function Wf(e, t, n, i, a, o) {
|
|
|
4856
4851
|
])) : B("", !0)
|
|
4857
4852
|
], 2);
|
|
4858
4853
|
}
|
|
4859
|
-
const
|
|
4854
|
+
const Io = /* @__PURE__ */ W(jf, [["render", Wf], ["__scopeId", "data-v-fe02085f"]]);
|
|
4860
4855
|
var un = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(un || {});
|
|
4861
4856
|
const Zf = (e) => {
|
|
4862
4857
|
var t, n;
|
|
@@ -4864,7 +4859,7 @@ const Zf = (e) => {
|
|
|
4864
4859
|
}, Xf = {
|
|
4865
4860
|
[un.REDIS_CE]: "open source",
|
|
4866
4861
|
[un.REDIS_EE]: "enterprise"
|
|
4867
|
-
},
|
|
4862
|
+
}, Sa = (e) => Xf[e] ?? "", Jf = { class: "partial-config-card" }, Qf = { class: "config-card-row-label" }, eh = { class: "label-text" }, th = ["data-testid"], nh = ["data-testid"], ih = { key: 1 }, ah = ["data-testid"], oh = ["data-testid"], rh = /* @__PURE__ */ he({
|
|
4868
4863
|
__name: "RedisConfigCard",
|
|
4869
4864
|
props: {
|
|
4870
4865
|
configFields: {
|
|
@@ -4899,7 +4894,7 @@ const Zf = (e) => {
|
|
|
4899
4894
|
formatter: n,
|
|
4900
4895
|
order: 3
|
|
4901
4896
|
}
|
|
4902
|
-
}, a = e, o = (f) => f != null, s = (f, b) => o(b) && ["password", "sentinel_password"].includes(f) ? "password" : "text", { convertKeyToTitle: r } =
|
|
4897
|
+
}, a = e, o = (f) => f != null, s = (f, b) => o(b) && ["password", "sentinel_password"].includes(f) ? "password" : "text", { convertKeyToTitle: r } = Go(), d = z(() => Object.entries(a.configFields).map(([f, b]) => {
|
|
4903
4898
|
var k, q, h, A;
|
|
4904
4899
|
return {
|
|
4905
4900
|
key: f,
|
|
@@ -4986,7 +4981,7 @@ const Zf = (e) => {
|
|
|
4986
4981
|
},
|
|
4987
4982
|
emits: ["showNewPartialModal"],
|
|
4988
4983
|
setup(e) {
|
|
4989
|
-
const { t } = ke("en-us", Re), n = an(
|
|
4984
|
+
const { t } = ke("en-us", Re), n = an(ol), i = {
|
|
4990
4985
|
konnect: {
|
|
4991
4986
|
getOne: "/v2/control-planes/{controlPlaneId}/core-entities/partials/{id}",
|
|
4992
4987
|
getAll: "/v2/control-planes/{controlPlaneId}/core-entities/partials"
|
|
@@ -4995,13 +4990,13 @@ const Zf = (e) => {
|
|
|
4995
4990
|
getOne: "/{workspace}/partials/{id}",
|
|
4996
4991
|
getAll: "/{workspace}/partials"
|
|
4997
4992
|
}
|
|
4998
|
-
}, a = e, o = ae(null), { getMessageFromError: s } =
|
|
4993
|
+
}, a = e, o = ae(null), { getMessageFromError: s } = Wo(), r = an(al), {
|
|
4999
4994
|
debouncedQueryChange: d,
|
|
5000
4995
|
loading: u,
|
|
5001
4996
|
error: p,
|
|
5002
4997
|
loadItems: f,
|
|
5003
4998
|
results: b
|
|
5004
|
-
} =
|
|
4999
|
+
} = Zo(r, i[r.app].getAll, hh, {
|
|
5005
5000
|
fetchedItemsKey: "data",
|
|
5006
5001
|
searchKeys: ["id", "name"]
|
|
5007
5002
|
}), k = z(() => p.value ? s(p.value) : ""), q = (N) => {
|
|
@@ -5010,7 +5005,7 @@ const Zf = (e) => {
|
|
|
5010
5005
|
}, h = z(() => {
|
|
5011
5006
|
const N = (b.value || []).map((T) => ({ label: T.id, name: T.name, value: T.id, type: T.type, tag: Zf(T) })).filter((T) => T.type === "redis-ce" || T.type === "redis-ee");
|
|
5012
5007
|
return a.redisType !== "all" ? N.filter((T) => T.type === a.redisType) : N;
|
|
5013
|
-
}), { axiosInstance: A } =
|
|
5008
|
+
}), { axiosInstance: A } = Xo(r == null ? void 0 : r.axiosRequestConfig), C = async (N) => {
|
|
5014
5009
|
if (N) {
|
|
5015
5010
|
a.updateRedisModel(N);
|
|
5016
5011
|
try {
|
|
@@ -5033,7 +5028,7 @@ const Zf = (e) => {
|
|
|
5033
5028
|
return c(), _(Y, null, [
|
|
5034
5029
|
m("div", lh, [
|
|
5035
5030
|
O(F, {
|
|
5036
|
-
info: e.isCustomPlugin ? I(t)("redis.custom_plugin.tooltip") : I(t)("redis.shared_configuration.tooltip", { type: I(
|
|
5031
|
+
info: e.isCustomPlugin ? I(t)("redis.custom_plugin.tooltip") : I(t)("redis.shared_configuration.tooltip", { type: I(Sa)(e.redisType) }),
|
|
5037
5032
|
"tooltip-attributes": {
|
|
5038
5033
|
maxWidth: "300",
|
|
5039
5034
|
placement: "top"
|
|
@@ -5087,7 +5082,7 @@ const Zf = (e) => {
|
|
|
5087
5082
|
onClick: T[0] || (T[0] = (g) => N.$emit("showNewPartialModal"))
|
|
5088
5083
|
}, [
|
|
5089
5084
|
O(I(Qn), { size: I(Hc) }, null, 8, ["size"]),
|
|
5090
|
-
m("span", null, L(I(t)("redis.shared_configuration.create_new_configuration", { type: I(
|
|
5085
|
+
m("span", null, L(I(t)("redis.shared_configuration.create_new_configuration", { type: I(Sa)(e.redisType) })), 1)
|
|
5091
5086
|
])
|
|
5092
5087
|
]),
|
|
5093
5088
|
_: 1
|
|
@@ -5102,7 +5097,7 @@ const Zf = (e) => {
|
|
|
5102
5097
|
], 64);
|
|
5103
5098
|
};
|
|
5104
5099
|
}
|
|
5105
|
-
}),
|
|
5100
|
+
}), wa = /* @__PURE__ */ W(ph, [["__scopeId", "data-v-cfbe2781"]]), gh = { key: 0 }, yh = {
|
|
5106
5101
|
class: "redis-config-radio-group",
|
|
5107
5102
|
"data-testid": "redis-config-radio-group"
|
|
5108
5103
|
}, vh = {
|
|
@@ -5184,7 +5179,7 @@ const Zf = (e) => {
|
|
|
5184
5179
|
"data-testid": "custom-plugin-redis-config-note",
|
|
5185
5180
|
message: I(a)("redis.custom_plugin.alert")
|
|
5186
5181
|
}, null, 8, ["message"]),
|
|
5187
|
-
O(
|
|
5182
|
+
O(wa, {
|
|
5188
5183
|
"default-redis-config-item": r.value,
|
|
5189
5184
|
"is-custom-plugin": "",
|
|
5190
5185
|
"plugin-redis-fields": e.field.fields,
|
|
@@ -5231,7 +5226,7 @@ const Zf = (e) => {
|
|
|
5231
5226
|
}, null, 8, ["modelValue", "description", "label"])
|
|
5232
5227
|
]),
|
|
5233
5228
|
s.value ? (c(), _("div", vh, [
|
|
5234
|
-
O(
|
|
5229
|
+
O(wa, {
|
|
5235
5230
|
"default-redis-config-item": r.value,
|
|
5236
5231
|
"plugin-redis-fields": e.field.fields,
|
|
5237
5232
|
"redis-type": e.field.redisType,
|
|
@@ -5245,7 +5240,7 @@ const Zf = (e) => {
|
|
|
5245
5240
|
(c(!0), _(Y, null, oe(e.field.fields, (y) => (c(), _(Y, {
|
|
5246
5241
|
key: y.model
|
|
5247
5242
|
}, [
|
|
5248
|
-
p(y) ? (c(), U(
|
|
5243
|
+
p(y) ? (c(), U(Io, {
|
|
5249
5244
|
key: 0,
|
|
5250
5245
|
ref_for: !0,
|
|
5251
5246
|
ref: "children",
|
|
@@ -5271,8 +5266,8 @@ const Zf = (e) => {
|
|
|
5271
5266
|
}
|
|
5272
5267
|
}), Sh = /* @__PURE__ */ W(Th, [["__scopeId", "data-v-addd6536"]]), wh = {
|
|
5273
5268
|
name: "VueFormGenerator",
|
|
5274
|
-
components: { formGroup:
|
|
5275
|
-
mixins: [
|
|
5269
|
+
components: { formGroup: Io, formRedis: Sh },
|
|
5270
|
+
mixins: [io],
|
|
5276
5271
|
inject: {
|
|
5277
5272
|
// Inject AUTOFILL_SLOT for provide()
|
|
5278
5273
|
autofillSlot: {
|
|
@@ -5608,11 +5603,11 @@ const ue = /* @__PURE__ */ W(wh, [["render", Ah]]), Dt = {
|
|
|
5608
5603
|
openIdConnectClusterNodesDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-redis-cluster-nodes",
|
|
5609
5604
|
openIdConfigurationDocs: "https://developer.konghq.com/plugins/openid-connect/reference/",
|
|
5610
5605
|
openIdAuthorizationDocs: "https://developer.konghq.com/plugins/openid-connect/#authorization"
|
|
5611
|
-
},
|
|
5606
|
+
}, Ea = /* @__PURE__ */ new Set([
|
|
5612
5607
|
"config-client_id",
|
|
5613
5608
|
"config-client_secret",
|
|
5614
5609
|
"config-issuer"
|
|
5615
|
-
]),
|
|
5610
|
+
]), Ma = /* @__PURE__ */ new Set([
|
|
5616
5611
|
"config-scopes_claim",
|
|
5617
5612
|
"config-scopes_required",
|
|
5618
5613
|
"config-audience_claim",
|
|
@@ -5724,14 +5719,14 @@ const ue = /* @__PURE__ */ W(wh, [["render", Ah]]), Dt = {
|
|
|
5724
5719
|
};
|
|
5725
5720
|
const t = this.formSchema.fields.reduce((a, o) => (a[o.model] = o, a), {});
|
|
5726
5721
|
this.commonFieldsSchema = {
|
|
5727
|
-
fields: Array.from(
|
|
5722
|
+
fields: Array.from(Ea).reduce((a, o) => (t[o] && a.push(t[o]), a), [])
|
|
5728
5723
|
}, this.authFieldsSchema = {
|
|
5729
|
-
fields: Array.from(
|
|
5724
|
+
fields: Array.from(Ma).reduce((a, o) => (t[o] && a.push(t[o]), a), [])
|
|
5730
5725
|
};
|
|
5731
5726
|
const { redis: n, redisModels: i } = qe.useRedisPartial(this.formSchema);
|
|
5732
5727
|
this.advancedFieldsSchema = {
|
|
5733
5728
|
fields: this.formSchema.fields.filter(
|
|
5734
|
-
(a) => a.model.startsWith("config") && a.model !== "config-auth_methods" && !
|
|
5729
|
+
(a) => a.model.startsWith("config") && a.model !== "config-auth_methods" && !Ea.has(a.model) && !Ma.has(a.model) && (!this.enableRedisPartial || !i.includes(a.model)) || a.model === "tags"
|
|
5735
5730
|
).reduce((a, o) => {
|
|
5736
5731
|
var s, r, d, u;
|
|
5737
5732
|
switch (o.model) {
|
|
@@ -5911,7 +5906,7 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5911
5906
|
onModelUpdated: n.onModelUpdated
|
|
5912
5907
|
}, {
|
|
5913
5908
|
"autofill-provider": M((b) => [
|
|
5914
|
-
Oe(e.$slots, "autofill-provider", zo(
|
|
5909
|
+
Oe(e.$slots, "autofill-provider", Bo(zo(b)), void 0, !0)
|
|
5915
5910
|
]),
|
|
5916
5911
|
_: 3
|
|
5917
5912
|
}, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0)
|
|
@@ -6635,7 +6630,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6635
6630
|
onClick: () => V(ne)
|
|
6636
6631
|
}, {
|
|
6637
6632
|
default: M(() => [
|
|
6638
|
-
O(I(
|
|
6633
|
+
O(I(Ho))
|
|
6639
6634
|
]),
|
|
6640
6635
|
_: 2
|
|
6641
6636
|
}, 1032, ["disabled", "onClick"]),
|
|
@@ -6808,11 +6803,12 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6808
6803
|
export {
|
|
6809
6804
|
Le as AUTOFILL_SLOT,
|
|
6810
6805
|
Mt as AUTOFILL_SLOT_NAME,
|
|
6806
|
+
rl as EMPTY_VALUE_PLACEHOLDER,
|
|
6811
6807
|
je as FIELD_STATES,
|
|
6812
6808
|
Se as FORMS_API_KEY,
|
|
6813
|
-
|
|
6809
|
+
al as FORMS_CONFIG,
|
|
6814
6810
|
un as PartialType,
|
|
6815
|
-
|
|
6811
|
+
ol as REDIS_PARTIAL_FETCHER_KEY,
|
|
6816
6812
|
vp as REDIS_PARTIAL_INFO,
|
|
6817
6813
|
ue as VueFormGenerator,
|
|
6818
6814
|
bp as abstractField,
|