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