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