@react-querybuilder/bootstrap 5.3.3 → 6.0.0-alpha.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/index.cjs.js +7 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +379 -427
- package/dist/index.es.js.map +1 -1
- package/dist/types/{src/Bootstrap.test.d.ts → Bootstrap.test.d.ts} +1 -0
- package/dist/types/Bootstrap.test.d.ts.map +1 -0
- package/dist/types/{src/BootstrapDragHandle.d.ts → BootstrapDragHandle.d.ts} +1 -0
- package/dist/types/BootstrapDragHandle.d.ts.map +1 -0
- package/dist/types/{src/BootstrapNotToggle.d.ts → BootstrapNotToggle.d.ts} +1 -0
- package/dist/types/BootstrapNotToggle.d.ts.map +1 -0
- package/dist/types/BootstrapValueEditor.d.ts +6 -0
- package/dist/types/BootstrapValueEditor.d.ts.map +1 -0
- package/dist/types/{src/index.d.ts → index.d.ts} +1 -1
- package/dist/types/index.d.ts.map +1 -0
- package/package.json +17 -9
- package/dist/types/src/BootstrapValueEditor.d.ts +0 -5
package/dist/index.es.js
CHANGED
|
@@ -1,113 +1,113 @@
|
|
|
1
|
-
import { useValueEditor as
|
|
2
|
-
import
|
|
3
|
-
var
|
|
1
|
+
import { useValueEditor as vr, standardClassnames as M, getFirstOption as mr, ValueEditor as Z, ValueSelector as br, getCompatContextProvider as hr } from "react-querybuilder";
|
|
2
|
+
import xe, { forwardRef as gr, useId as pr } from "react";
|
|
3
|
+
var U = {}, yr = {
|
|
4
4
|
get exports() {
|
|
5
|
-
return
|
|
5
|
+
return U;
|
|
6
6
|
},
|
|
7
|
-
set exports(
|
|
8
|
-
|
|
7
|
+
set exports(a) {
|
|
8
|
+
U = a;
|
|
9
9
|
}
|
|
10
|
-
},
|
|
11
|
-
var
|
|
10
|
+
}, F = {};
|
|
11
|
+
var ke;
|
|
12
12
|
function Er() {
|
|
13
|
-
if (
|
|
14
|
-
return
|
|
15
|
-
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
for (
|
|
21
|
-
|
|
22
|
-
if (
|
|
23
|
-
for (
|
|
24
|
-
|
|
25
|
-
return { $$typeof:
|
|
13
|
+
if (ke)
|
|
14
|
+
return F;
|
|
15
|
+
ke = 1;
|
|
16
|
+
var a = xe, g = Symbol.for("react.element"), R = Symbol.for("react.fragment"), _ = Object.prototype.hasOwnProperty, w = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
+
function y(u, f, E) {
|
|
18
|
+
var v, T = {}, x = null, $ = null;
|
|
19
|
+
E !== void 0 && (x = "" + E), f.key !== void 0 && (x = "" + f.key), f.ref !== void 0 && ($ = f.ref);
|
|
20
|
+
for (v in f)
|
|
21
|
+
_.call(f, v) && !C.hasOwnProperty(v) && (T[v] = f[v]);
|
|
22
|
+
if (u && u.defaultProps)
|
|
23
|
+
for (v in f = u.defaultProps, f)
|
|
24
|
+
T[v] === void 0 && (T[v] = f[v]);
|
|
25
|
+
return { $$typeof: g, type: u, key: x, ref: $, props: T, _owner: w.current };
|
|
26
26
|
}
|
|
27
|
-
return
|
|
27
|
+
return F.Fragment = R, F.jsx = y, F.jsxs = y, F;
|
|
28
28
|
}
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var I = {};
|
|
30
|
+
var we;
|
|
31
31
|
function Rr() {
|
|
32
|
-
return
|
|
33
|
-
var
|
|
34
|
-
function
|
|
32
|
+
return we || (we = 1, process.env.NODE_ENV !== "production" && function() {
|
|
33
|
+
var a = xe, g = Symbol.for("react.element"), R = Symbol.for("react.portal"), _ = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), y = Symbol.for("react.provider"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), re = Symbol.iterator, Ne = "@@iterator";
|
|
34
|
+
function Ae(e) {
|
|
35
35
|
if (e === null || typeof e != "object")
|
|
36
36
|
return null;
|
|
37
|
-
var r =
|
|
37
|
+
var r = re && e[re] || e[Ne];
|
|
38
38
|
return typeof r == "function" ? r : null;
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
function
|
|
40
|
+
var P = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
41
|
+
function m(e) {
|
|
42
42
|
{
|
|
43
43
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
44
44
|
t[n - 1] = arguments[n];
|
|
45
|
-
|
|
45
|
+
De("error", e, t);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function De(e, r, t) {
|
|
49
49
|
{
|
|
50
|
-
var n =
|
|
51
|
-
|
|
52
|
-
var
|
|
53
|
-
return String(
|
|
50
|
+
var n = P.ReactDebugCurrentFrame, l = n.getStackAddendum();
|
|
51
|
+
l !== "" && (r += "%s", t = t.concat([l]));
|
|
52
|
+
var s = t.map(function(i) {
|
|
53
|
+
return String(i);
|
|
54
54
|
});
|
|
55
|
-
|
|
55
|
+
s.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, s);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
var
|
|
59
|
-
|
|
60
|
-
function
|
|
61
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
58
|
+
var Fe = !1, Ie = !1, $e = !1, We = !1, Ve = !1, te;
|
|
59
|
+
te = Symbol.for("react.module.reference");
|
|
60
|
+
function Ye(e) {
|
|
61
|
+
return !!(typeof e == "string" || typeof e == "function" || e === _ || e === C || Ve || e === w || e === E || e === v || We || e === $ || Fe || Ie || $e || typeof e == "object" && e !== null && (e.$$typeof === x || e.$$typeof === T || e.$$typeof === y || e.$$typeof === u || e.$$typeof === f || e.$$typeof === te || e.getModuleId !== void 0));
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function Le(e, r, t) {
|
|
64
64
|
var n = e.displayName;
|
|
65
65
|
if (n)
|
|
66
66
|
return n;
|
|
67
|
-
var
|
|
68
|
-
return
|
|
67
|
+
var l = r.displayName || r.name || "";
|
|
68
|
+
return l !== "" ? t + "(" + l + ")" : t;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function ae(e) {
|
|
71
71
|
return e.displayName || "Context";
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function O(e) {
|
|
74
74
|
if (e == null)
|
|
75
75
|
return null;
|
|
76
|
-
if (typeof e.tag == "number" &&
|
|
76
|
+
if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
77
77
|
return e.displayName || e.name || null;
|
|
78
78
|
if (typeof e == "string")
|
|
79
79
|
return e;
|
|
80
80
|
switch (e) {
|
|
81
|
-
case
|
|
81
|
+
case _:
|
|
82
82
|
return "Fragment";
|
|
83
|
-
case
|
|
83
|
+
case R:
|
|
84
84
|
return "Portal";
|
|
85
|
-
case
|
|
85
|
+
case C:
|
|
86
86
|
return "Profiler";
|
|
87
|
-
case
|
|
87
|
+
case w:
|
|
88
88
|
return "StrictMode";
|
|
89
|
-
case
|
|
89
|
+
case E:
|
|
90
90
|
return "Suspense";
|
|
91
|
-
case
|
|
91
|
+
case v:
|
|
92
92
|
return "SuspenseList";
|
|
93
93
|
}
|
|
94
94
|
if (typeof e == "object")
|
|
95
95
|
switch (e.$$typeof) {
|
|
96
|
-
case
|
|
96
|
+
case u:
|
|
97
97
|
var r = e;
|
|
98
|
-
return
|
|
99
|
-
case
|
|
98
|
+
return ae(r) + ".Consumer";
|
|
99
|
+
case y:
|
|
100
100
|
var t = e;
|
|
101
|
-
return
|
|
102
|
-
case
|
|
103
|
-
return
|
|
104
|
-
case
|
|
101
|
+
return ae(t._context) + ".Provider";
|
|
102
|
+
case f:
|
|
103
|
+
return Le(e, e.render, "ForwardRef");
|
|
104
|
+
case T:
|
|
105
105
|
var n = e.displayName || null;
|
|
106
|
-
return n !== null ? n :
|
|
106
|
+
return n !== null ? n : O(e.type) || "Memo";
|
|
107
107
|
case x: {
|
|
108
|
-
var
|
|
108
|
+
var l = e, s = l._payload, i = l._init;
|
|
109
109
|
try {
|
|
110
|
-
return
|
|
110
|
+
return O(i(s));
|
|
111
111
|
} catch {
|
|
112
112
|
return null;
|
|
113
113
|
}
|
|
@@ -115,18 +115,18 @@ function Rr() {
|
|
|
115
115
|
}
|
|
116
116
|
return null;
|
|
117
117
|
}
|
|
118
|
-
var
|
|
119
|
-
function
|
|
118
|
+
var S = Object.assign, A = 0, ne, oe, ie, le, se, ue, ce;
|
|
119
|
+
function fe() {
|
|
120
120
|
}
|
|
121
|
-
|
|
122
|
-
function
|
|
121
|
+
fe.__reactDisabledLog = !0;
|
|
122
|
+
function Be() {
|
|
123
123
|
{
|
|
124
|
-
if (
|
|
125
|
-
|
|
124
|
+
if (A === 0) {
|
|
125
|
+
ne = console.log, oe = console.info, ie = console.warn, le = console.error, se = console.group, ue = console.groupCollapsed, ce = console.groupEnd;
|
|
126
126
|
var e = {
|
|
127
127
|
configurable: !0,
|
|
128
128
|
enumerable: !0,
|
|
129
|
-
value:
|
|
129
|
+
value: fe,
|
|
130
130
|
writable: !0
|
|
131
131
|
};
|
|
132
132
|
Object.defineProperties(console, {
|
|
@@ -139,254 +139,254 @@ function Rr() {
|
|
|
139
139
|
groupEnd: e
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
|
-
|
|
142
|
+
A++;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function Me() {
|
|
146
146
|
{
|
|
147
|
-
if (
|
|
147
|
+
if (A--, A === 0) {
|
|
148
148
|
var e = {
|
|
149
149
|
configurable: !0,
|
|
150
150
|
enumerable: !0,
|
|
151
151
|
writable: !0
|
|
152
152
|
};
|
|
153
153
|
Object.defineProperties(console, {
|
|
154
|
-
log:
|
|
155
|
-
value:
|
|
154
|
+
log: S({}, e, {
|
|
155
|
+
value: ne
|
|
156
156
|
}),
|
|
157
|
-
info:
|
|
158
|
-
value:
|
|
157
|
+
info: S({}, e, {
|
|
158
|
+
value: oe
|
|
159
159
|
}),
|
|
160
|
-
warn:
|
|
161
|
-
value:
|
|
160
|
+
warn: S({}, e, {
|
|
161
|
+
value: ie
|
|
162
162
|
}),
|
|
163
|
-
error:
|
|
164
|
-
value:
|
|
163
|
+
error: S({}, e, {
|
|
164
|
+
value: le
|
|
165
165
|
}),
|
|
166
|
-
group:
|
|
167
|
-
value:
|
|
166
|
+
group: S({}, e, {
|
|
167
|
+
value: se
|
|
168
168
|
}),
|
|
169
|
-
groupCollapsed:
|
|
170
|
-
value:
|
|
169
|
+
groupCollapsed: S({}, e, {
|
|
170
|
+
value: ue
|
|
171
171
|
}),
|
|
172
|
-
groupEnd:
|
|
173
|
-
value:
|
|
172
|
+
groupEnd: S({}, e, {
|
|
173
|
+
value: ce
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}
|
|
177
|
-
|
|
177
|
+
A < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
-
var
|
|
181
|
-
function
|
|
180
|
+
var H = P.ReactCurrentDispatcher, G;
|
|
181
|
+
function W(e, r, t) {
|
|
182
182
|
{
|
|
183
|
-
if (
|
|
183
|
+
if (G === void 0)
|
|
184
184
|
try {
|
|
185
185
|
throw Error();
|
|
186
|
-
} catch (
|
|
187
|
-
var n =
|
|
188
|
-
|
|
186
|
+
} catch (l) {
|
|
187
|
+
var n = l.stack.trim().match(/\n( *(at )?)/);
|
|
188
|
+
G = n && n[1] || "";
|
|
189
189
|
}
|
|
190
190
|
return `
|
|
191
|
-
` +
|
|
191
|
+
` + G + e;
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
var
|
|
194
|
+
var q = !1, V;
|
|
195
195
|
{
|
|
196
|
-
var
|
|
197
|
-
|
|
196
|
+
var Ue = typeof WeakMap == "function" ? WeakMap : Map;
|
|
197
|
+
V = new Ue();
|
|
198
198
|
}
|
|
199
|
-
function
|
|
200
|
-
if (!e ||
|
|
199
|
+
function de(e, r) {
|
|
200
|
+
if (!e || q)
|
|
201
201
|
return "";
|
|
202
202
|
{
|
|
203
|
-
var t =
|
|
203
|
+
var t = V.get(e);
|
|
204
204
|
if (t !== void 0)
|
|
205
205
|
return t;
|
|
206
206
|
}
|
|
207
207
|
var n;
|
|
208
|
-
|
|
209
|
-
var
|
|
208
|
+
q = !0;
|
|
209
|
+
var l = Error.prepareStackTrace;
|
|
210
210
|
Error.prepareStackTrace = void 0;
|
|
211
|
-
var
|
|
212
|
-
|
|
211
|
+
var s;
|
|
212
|
+
s = H.current, H.current = null, Be();
|
|
213
213
|
try {
|
|
214
214
|
if (r) {
|
|
215
|
-
var
|
|
215
|
+
var i = function() {
|
|
216
216
|
throw Error();
|
|
217
217
|
};
|
|
218
|
-
if (Object.defineProperty(
|
|
218
|
+
if (Object.defineProperty(i.prototype, "props", {
|
|
219
219
|
set: function() {
|
|
220
220
|
throw Error();
|
|
221
221
|
}
|
|
222
222
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
223
223
|
try {
|
|
224
|
-
Reflect.construct(
|
|
225
|
-
} catch (
|
|
226
|
-
n =
|
|
224
|
+
Reflect.construct(i, []);
|
|
225
|
+
} catch (k) {
|
|
226
|
+
n = k;
|
|
227
227
|
}
|
|
228
|
-
Reflect.construct(e, [],
|
|
228
|
+
Reflect.construct(e, [], i);
|
|
229
229
|
} else {
|
|
230
230
|
try {
|
|
231
|
-
|
|
232
|
-
} catch (
|
|
233
|
-
n =
|
|
231
|
+
i.call();
|
|
232
|
+
} catch (k) {
|
|
233
|
+
n = k;
|
|
234
234
|
}
|
|
235
|
-
e.call(
|
|
235
|
+
e.call(i.prototype);
|
|
236
236
|
}
|
|
237
237
|
} else {
|
|
238
238
|
try {
|
|
239
239
|
throw Error();
|
|
240
|
-
} catch (
|
|
241
|
-
n =
|
|
240
|
+
} catch (k) {
|
|
241
|
+
n = k;
|
|
242
242
|
}
|
|
243
243
|
e();
|
|
244
244
|
}
|
|
245
|
-
} catch (
|
|
246
|
-
if (
|
|
247
|
-
for (var
|
|
248
|
-
`),
|
|
249
|
-
`),
|
|
245
|
+
} catch (k) {
|
|
246
|
+
if (k && n && typeof k.stack == "string") {
|
|
247
|
+
for (var o = k.stack.split(`
|
|
248
|
+
`), b = n.stack.split(`
|
|
249
|
+
`), c = o.length - 1, d = b.length - 1; c >= 1 && d >= 0 && o[c] !== b[d]; )
|
|
250
250
|
d--;
|
|
251
|
-
for (;
|
|
252
|
-
if (
|
|
253
|
-
if (
|
|
251
|
+
for (; c >= 1 && d >= 0; c--, d--)
|
|
252
|
+
if (o[c] !== b[d]) {
|
|
253
|
+
if (c !== 1 || d !== 1)
|
|
254
254
|
do
|
|
255
|
-
if (
|
|
256
|
-
var
|
|
257
|
-
` +
|
|
258
|
-
return e.displayName &&
|
|
255
|
+
if (c--, d--, d < 0 || o[c] !== b[d]) {
|
|
256
|
+
var p = `
|
|
257
|
+
` + o[c].replace(" at new ", " at ");
|
|
258
|
+
return e.displayName && p.includes("<anonymous>") && (p = p.replace("<anonymous>", e.displayName)), typeof e == "function" && V.set(e, p), p;
|
|
259
259
|
}
|
|
260
|
-
while (
|
|
260
|
+
while (c >= 1 && d >= 0);
|
|
261
261
|
break;
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
264
|
} finally {
|
|
265
|
-
|
|
265
|
+
q = !1, H.current = s, Me(), Error.prepareStackTrace = l;
|
|
266
266
|
}
|
|
267
|
-
var
|
|
268
|
-
return typeof e == "function" &&
|
|
267
|
+
var N = e ? e.displayName || e.name : "", Oe = N ? W(N) : "";
|
|
268
|
+
return typeof e == "function" && V.set(e, Oe), Oe;
|
|
269
269
|
}
|
|
270
|
-
function
|
|
271
|
-
return
|
|
270
|
+
function He(e, r, t) {
|
|
271
|
+
return de(e, !1);
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function Ge(e) {
|
|
274
274
|
var r = e.prototype;
|
|
275
275
|
return !!(r && r.isReactComponent);
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function Y(e, r, t) {
|
|
278
278
|
if (e == null)
|
|
279
279
|
return "";
|
|
280
280
|
if (typeof e == "function")
|
|
281
|
-
return
|
|
281
|
+
return de(e, Ge(e));
|
|
282
282
|
if (typeof e == "string")
|
|
283
|
-
return
|
|
283
|
+
return W(e);
|
|
284
284
|
switch (e) {
|
|
285
|
-
case
|
|
286
|
-
return
|
|
287
|
-
case
|
|
288
|
-
return
|
|
285
|
+
case E:
|
|
286
|
+
return W("Suspense");
|
|
287
|
+
case v:
|
|
288
|
+
return W("SuspenseList");
|
|
289
289
|
}
|
|
290
290
|
if (typeof e == "object")
|
|
291
291
|
switch (e.$$typeof) {
|
|
292
|
-
case
|
|
293
|
-
return
|
|
294
|
-
case
|
|
295
|
-
return
|
|
292
|
+
case f:
|
|
293
|
+
return He(e.render);
|
|
294
|
+
case T:
|
|
295
|
+
return Y(e.type, r, t);
|
|
296
296
|
case x: {
|
|
297
|
-
var n = e,
|
|
297
|
+
var n = e, l = n._payload, s = n._init;
|
|
298
298
|
try {
|
|
299
|
-
return
|
|
299
|
+
return Y(s(l), r, t);
|
|
300
300
|
} catch {
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
return "";
|
|
305
305
|
}
|
|
306
|
-
var
|
|
307
|
-
function
|
|
306
|
+
var L = Object.prototype.hasOwnProperty, ve = {}, me = P.ReactDebugCurrentFrame;
|
|
307
|
+
function B(e) {
|
|
308
308
|
if (e) {
|
|
309
|
-
var r = e._owner, t =
|
|
310
|
-
|
|
309
|
+
var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
|
|
310
|
+
me.setExtraStackFrame(t);
|
|
311
311
|
} else
|
|
312
|
-
|
|
312
|
+
me.setExtraStackFrame(null);
|
|
313
313
|
}
|
|
314
|
-
function
|
|
314
|
+
function qe(e, r, t, n, l) {
|
|
315
315
|
{
|
|
316
|
-
var
|
|
317
|
-
for (var
|
|
318
|
-
if (
|
|
319
|
-
var
|
|
316
|
+
var s = Function.call.bind(L);
|
|
317
|
+
for (var i in e)
|
|
318
|
+
if (s(e, i)) {
|
|
319
|
+
var o = void 0;
|
|
320
320
|
try {
|
|
321
|
-
if (typeof e[
|
|
322
|
-
var
|
|
323
|
-
throw
|
|
321
|
+
if (typeof e[i] != "function") {
|
|
322
|
+
var b = Error((n || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
323
|
+
throw b.name = "Invariant Violation", b;
|
|
324
324
|
}
|
|
325
|
-
|
|
326
|
-
} catch (
|
|
327
|
-
|
|
325
|
+
o = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
326
|
+
} catch (c) {
|
|
327
|
+
o = c;
|
|
328
328
|
}
|
|
329
|
-
|
|
329
|
+
o && !(o instanceof Error) && (B(l), m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, i, typeof o), B(null)), o instanceof Error && !(o.message in ve) && (ve[o.message] = !0, B(l), m("Failed %s type: %s", t, o.message), B(null));
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
|
-
var
|
|
334
|
-
function
|
|
335
|
-
return
|
|
333
|
+
var Je = Array.isArray;
|
|
334
|
+
function J(e) {
|
|
335
|
+
return Je(e);
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function ze(e) {
|
|
338
338
|
{
|
|
339
339
|
var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
340
340
|
return t;
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function Ke(e) {
|
|
344
344
|
try {
|
|
345
|
-
return
|
|
345
|
+
return be(e), !1;
|
|
346
346
|
} catch {
|
|
347
347
|
return !0;
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function be(e) {
|
|
351
351
|
return "" + e;
|
|
352
352
|
}
|
|
353
|
-
function
|
|
354
|
-
if (
|
|
355
|
-
return
|
|
353
|
+
function he(e) {
|
|
354
|
+
if (Ke(e))
|
|
355
|
+
return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), be(e);
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var D = P.ReactCurrentOwner, Xe = {
|
|
358
358
|
key: !0,
|
|
359
359
|
ref: !0,
|
|
360
360
|
__self: !0,
|
|
361
361
|
__source: !0
|
|
362
|
-
},
|
|
363
|
-
|
|
364
|
-
function
|
|
365
|
-
if (
|
|
362
|
+
}, ge, pe, z;
|
|
363
|
+
z = {};
|
|
364
|
+
function Qe(e) {
|
|
365
|
+
if (L.call(e, "ref")) {
|
|
366
366
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
367
367
|
if (r && r.isReactWarning)
|
|
368
368
|
return !1;
|
|
369
369
|
}
|
|
370
370
|
return e.ref !== void 0;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
373
|
-
if (
|
|
372
|
+
function Ze(e) {
|
|
373
|
+
if (L.call(e, "key")) {
|
|
374
374
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
375
375
|
if (r && r.isReactWarning)
|
|
376
376
|
return !1;
|
|
377
377
|
}
|
|
378
378
|
return e.key !== void 0;
|
|
379
379
|
}
|
|
380
|
-
function
|
|
381
|
-
if (typeof e.ref == "string" &&
|
|
382
|
-
var t =
|
|
383
|
-
|
|
380
|
+
function er(e, r) {
|
|
381
|
+
if (typeof e.ref == "string" && D.current && r && D.current.stateNode !== r) {
|
|
382
|
+
var t = O(D.current.type);
|
|
383
|
+
z[t] || (m('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', O(D.current.type), e.ref), z[t] = !0);
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function rr(e, r) {
|
|
387
387
|
{
|
|
388
388
|
var t = function() {
|
|
389
|
-
|
|
389
|
+
ge || (ge = !0, m("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
390
390
|
};
|
|
391
391
|
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
392
392
|
get: t,
|
|
@@ -394,10 +394,10 @@ function Rr() {
|
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
function
|
|
397
|
+
function tr(e, r) {
|
|
398
398
|
{
|
|
399
399
|
var t = function() {
|
|
400
|
-
|
|
400
|
+
pe || (pe = !0, m("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
401
401
|
};
|
|
402
402
|
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
403
403
|
get: t,
|
|
@@ -405,67 +405,67 @@ function Rr() {
|
|
|
405
405
|
});
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
-
var ar = function(e, r, t, n,
|
|
409
|
-
var
|
|
410
|
-
$$typeof:
|
|
408
|
+
var ar = function(e, r, t, n, l, s, i) {
|
|
409
|
+
var o = {
|
|
410
|
+
$$typeof: g,
|
|
411
411
|
type: e,
|
|
412
412
|
key: r,
|
|
413
413
|
ref: t,
|
|
414
|
-
props:
|
|
415
|
-
_owner:
|
|
414
|
+
props: i,
|
|
415
|
+
_owner: s
|
|
416
416
|
};
|
|
417
|
-
return
|
|
417
|
+
return o._store = {}, Object.defineProperty(o._store, "validated", {
|
|
418
418
|
configurable: !1,
|
|
419
419
|
enumerable: !1,
|
|
420
420
|
writable: !0,
|
|
421
421
|
value: !1
|
|
422
|
-
}), Object.defineProperty(
|
|
422
|
+
}), Object.defineProperty(o, "_self", {
|
|
423
423
|
configurable: !1,
|
|
424
424
|
enumerable: !1,
|
|
425
425
|
writable: !1,
|
|
426
426
|
value: n
|
|
427
|
-
}), Object.defineProperty(
|
|
427
|
+
}), Object.defineProperty(o, "_source", {
|
|
428
428
|
configurable: !1,
|
|
429
429
|
enumerable: !1,
|
|
430
430
|
writable: !1,
|
|
431
|
-
value:
|
|
432
|
-
}), Object.freeze && (Object.freeze(
|
|
431
|
+
value: l
|
|
432
|
+
}), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
|
|
433
433
|
};
|
|
434
|
-
function
|
|
434
|
+
function nr(e, r, t, n, l) {
|
|
435
435
|
{
|
|
436
|
-
var
|
|
437
|
-
t !== void 0 && (
|
|
438
|
-
for (
|
|
439
|
-
|
|
436
|
+
var s, i = {}, o = null, b = null;
|
|
437
|
+
t !== void 0 && (he(t), o = "" + t), Ze(r) && (he(r.key), o = "" + r.key), Qe(r) && (b = r.ref, er(r, l));
|
|
438
|
+
for (s in r)
|
|
439
|
+
L.call(r, s) && !Xe.hasOwnProperty(s) && (i[s] = r[s]);
|
|
440
440
|
if (e && e.defaultProps) {
|
|
441
|
-
var
|
|
442
|
-
for (
|
|
443
|
-
|
|
441
|
+
var c = e.defaultProps;
|
|
442
|
+
for (s in c)
|
|
443
|
+
i[s] === void 0 && (i[s] = c[s]);
|
|
444
444
|
}
|
|
445
|
-
if (
|
|
445
|
+
if (o || b) {
|
|
446
446
|
var d = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
447
|
-
|
|
447
|
+
o && rr(i, d), b && tr(i, d);
|
|
448
448
|
}
|
|
449
|
-
return ar(e,
|
|
449
|
+
return ar(e, o, b, l, n, D.current, i);
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
|
-
var
|
|
453
|
-
function
|
|
452
|
+
var K = P.ReactCurrentOwner, ye = P.ReactDebugCurrentFrame;
|
|
453
|
+
function j(e) {
|
|
454
454
|
if (e) {
|
|
455
|
-
var r = e._owner, t =
|
|
456
|
-
|
|
455
|
+
var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
|
|
456
|
+
ye.setExtraStackFrame(t);
|
|
457
457
|
} else
|
|
458
|
-
|
|
458
|
+
ye.setExtraStackFrame(null);
|
|
459
459
|
}
|
|
460
|
-
var
|
|
461
|
-
|
|
462
|
-
function
|
|
463
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
460
|
+
var X;
|
|
461
|
+
X = !1;
|
|
462
|
+
function Q(e) {
|
|
463
|
+
return typeof e == "object" && e !== null && e.$$typeof === g;
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function Ee() {
|
|
466
466
|
{
|
|
467
|
-
if (
|
|
468
|
-
var e =
|
|
467
|
+
if (K.current) {
|
|
468
|
+
var e = O(K.current.type);
|
|
469
469
|
if (e)
|
|
470
470
|
return `
|
|
471
471
|
|
|
@@ -474,7 +474,7 @@ Check the render method of \`` + e + "`.";
|
|
|
474
474
|
return "";
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
|
-
function
|
|
477
|
+
function or(e) {
|
|
478
478
|
{
|
|
479
479
|
if (e !== void 0) {
|
|
480
480
|
var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
|
|
@@ -485,10 +485,10 @@ Check your code at ` + r + ":" + t + ".";
|
|
|
485
485
|
return "";
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
|
-
var
|
|
489
|
-
function
|
|
488
|
+
var Re = {};
|
|
489
|
+
function ir(e) {
|
|
490
490
|
{
|
|
491
|
-
var r =
|
|
491
|
+
var r = Ee();
|
|
492
492
|
if (!r) {
|
|
493
493
|
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
494
494
|
t && (r = `
|
|
@@ -498,39 +498,39 @@ Check the top-level render call using <` + t + ">.");
|
|
|
498
498
|
return r;
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
|
-
function
|
|
501
|
+
function _e(e, r) {
|
|
502
502
|
{
|
|
503
503
|
if (!e._store || e._store.validated || e.key != null)
|
|
504
504
|
return;
|
|
505
505
|
e._store.validated = !0;
|
|
506
|
-
var t =
|
|
507
|
-
if (
|
|
506
|
+
var t = ir(r);
|
|
507
|
+
if (Re[t])
|
|
508
508
|
return;
|
|
509
|
-
|
|
509
|
+
Re[t] = !0;
|
|
510
510
|
var n = "";
|
|
511
|
-
e && e._owner && e._owner !==
|
|
511
|
+
e && e._owner && e._owner !== K.current && (n = " It was passed a child from " + O(e._owner.type) + "."), j(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), j(null);
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
|
-
function
|
|
514
|
+
function Ce(e, r) {
|
|
515
515
|
{
|
|
516
516
|
if (typeof e != "object")
|
|
517
517
|
return;
|
|
518
|
-
if (
|
|
518
|
+
if (J(e))
|
|
519
519
|
for (var t = 0; t < e.length; t++) {
|
|
520
520
|
var n = e[t];
|
|
521
|
-
|
|
521
|
+
Q(n) && _e(n, r);
|
|
522
522
|
}
|
|
523
|
-
else if (
|
|
523
|
+
else if (Q(e))
|
|
524
524
|
e._store && (e._store.validated = !0);
|
|
525
525
|
else if (e) {
|
|
526
|
-
var
|
|
527
|
-
if (typeof
|
|
528
|
-
for (var
|
|
529
|
-
|
|
526
|
+
var l = Ae(e);
|
|
527
|
+
if (typeof l == "function" && l !== e.entries)
|
|
528
|
+
for (var s = l.call(e), i; !(i = s.next()).done; )
|
|
529
|
+
Q(i.value) && _e(i.value, r);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function lr(e) {
|
|
534
534
|
{
|
|
535
535
|
var r = e.type;
|
|
536
536
|
if (r == null || typeof r == "string")
|
|
@@ -538,19 +538,19 @@ Check the top-level render call using <` + t + ">.");
|
|
|
538
538
|
var t;
|
|
539
539
|
if (typeof r == "function")
|
|
540
540
|
t = r.propTypes;
|
|
541
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
541
|
+
else if (typeof r == "object" && (r.$$typeof === f || r.$$typeof === T))
|
|
542
542
|
t = r.propTypes;
|
|
543
543
|
else
|
|
544
544
|
return;
|
|
545
545
|
if (t) {
|
|
546
|
-
var n =
|
|
547
|
-
|
|
548
|
-
} else if (r.PropTypes !== void 0 && !
|
|
549
|
-
|
|
550
|
-
var
|
|
551
|
-
|
|
546
|
+
var n = O(r);
|
|
547
|
+
qe(t, e.props, "prop", n, e);
|
|
548
|
+
} else if (r.PropTypes !== void 0 && !X) {
|
|
549
|
+
X = !0;
|
|
550
|
+
var l = O(r);
|
|
551
|
+
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", l || "Unknown");
|
|
552
552
|
}
|
|
553
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
553
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
function sr(e) {
|
|
@@ -558,228 +558,181 @@ Check the top-level render call using <` + t + ">.");
|
|
|
558
558
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
559
559
|
var n = r[t];
|
|
560
560
|
if (n !== "children" && n !== "key") {
|
|
561
|
-
|
|
561
|
+
j(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), j(null);
|
|
562
562
|
break;
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
|
-
e.ref !== null && (
|
|
565
|
+
e.ref !== null && (j(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), j(null));
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
-
function
|
|
568
|
+
function Te(e, r, t, n, l, s) {
|
|
569
569
|
{
|
|
570
|
-
var
|
|
571
|
-
if (!
|
|
572
|
-
var
|
|
573
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
574
|
-
var
|
|
575
|
-
|
|
576
|
-
var
|
|
577
|
-
e === null ?
|
|
570
|
+
var i = Ye(e);
|
|
571
|
+
if (!i) {
|
|
572
|
+
var o = "";
|
|
573
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (o += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
574
|
+
var b = or(l);
|
|
575
|
+
b ? o += b : o += Ee();
|
|
576
|
+
var c;
|
|
577
|
+
e === null ? c = "null" : J(e) ? c = "array" : e !== void 0 && e.$$typeof === g ? (c = "<" + (O(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : c = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", c, o);
|
|
578
578
|
}
|
|
579
|
-
var d =
|
|
579
|
+
var d = nr(e, r, t, l, s);
|
|
580
580
|
if (d == null)
|
|
581
581
|
return d;
|
|
582
|
-
if (
|
|
583
|
-
var
|
|
584
|
-
if (
|
|
582
|
+
if (i) {
|
|
583
|
+
var p = r.children;
|
|
584
|
+
if (p !== void 0)
|
|
585
585
|
if (n)
|
|
586
|
-
if (
|
|
587
|
-
for (var
|
|
588
|
-
|
|
589
|
-
Object.freeze && Object.freeze(
|
|
586
|
+
if (J(p)) {
|
|
587
|
+
for (var N = 0; N < p.length; N++)
|
|
588
|
+
Ce(p[N], e);
|
|
589
|
+
Object.freeze && Object.freeze(p);
|
|
590
590
|
} else
|
|
591
|
-
|
|
591
|
+
m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
592
592
|
else
|
|
593
|
-
|
|
593
|
+
Ce(p, e);
|
|
594
594
|
}
|
|
595
|
-
return e ===
|
|
595
|
+
return e === _ ? sr(d) : lr(d), d;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
function
|
|
599
|
-
return
|
|
598
|
+
function ur(e, r, t) {
|
|
599
|
+
return Te(e, r, t, !0);
|
|
600
600
|
}
|
|
601
|
-
function
|
|
602
|
-
return
|
|
601
|
+
function cr(e, r, t) {
|
|
602
|
+
return Te(e, r, t, !1);
|
|
603
603
|
}
|
|
604
|
-
var
|
|
605
|
-
|
|
606
|
-
}()),
|
|
604
|
+
var fr = cr, dr = ur;
|
|
605
|
+
I.Fragment = _, I.jsx = fr, I.jsxs = dr;
|
|
606
|
+
}()), I;
|
|
607
607
|
}
|
|
608
|
-
(function(
|
|
609
|
-
process.env.NODE_ENV === "production" ?
|
|
608
|
+
(function(a) {
|
|
609
|
+
process.env.NODE_ENV === "production" ? a.exports = Er() : a.exports = Rr();
|
|
610
610
|
})(yr);
|
|
611
|
-
const
|
|
612
|
-
({ className:
|
|
611
|
+
const h = U.jsx, ee = U.jsxs, Se = gr(
|
|
612
|
+
({ className: a, title: g }, R) => /* @__PURE__ */ h("span", { ref: R, className: a, title: g, children: /* @__PURE__ */ h("i", { className: "bi bi-grip-vertical" }) })
|
|
613
613
|
);
|
|
614
|
-
|
|
615
|
-
const
|
|
616
|
-
className:
|
|
617
|
-
handleOnChange:
|
|
618
|
-
title:
|
|
619
|
-
label:
|
|
620
|
-
checked:
|
|
621
|
-
disabled:
|
|
614
|
+
Se.displayName = "BootstrapDragHandle";
|
|
615
|
+
const Pe = ({
|
|
616
|
+
className: a,
|
|
617
|
+
handleOnChange: g,
|
|
618
|
+
title: R,
|
|
619
|
+
label: _,
|
|
620
|
+
checked: w,
|
|
621
|
+
disabled: C
|
|
622
622
|
}) => {
|
|
623
|
-
const
|
|
624
|
-
return /* @__PURE__ */
|
|
625
|
-
/* @__PURE__ */
|
|
623
|
+
const y = pr();
|
|
624
|
+
return /* @__PURE__ */ ee("div", { className: `form-check-inline form-switch ${a}`, children: [
|
|
625
|
+
/* @__PURE__ */ h(
|
|
626
626
|
"input",
|
|
627
627
|
{
|
|
628
|
-
id:
|
|
628
|
+
id: y,
|
|
629
629
|
className: "form-check-input",
|
|
630
630
|
type: "checkbox",
|
|
631
|
-
onChange: (
|
|
632
|
-
checked: !!
|
|
633
|
-
disabled:
|
|
631
|
+
onChange: (u) => g(u.target.checked),
|
|
632
|
+
checked: !!w,
|
|
633
|
+
disabled: C
|
|
634
634
|
}
|
|
635
635
|
),
|
|
636
|
-
/* @__PURE__ */
|
|
636
|
+
/* @__PURE__ */ h("label", { title: R, htmlFor: y, className: "form-check-label", children: _ })
|
|
637
637
|
] });
|
|
638
638
|
};
|
|
639
|
-
|
|
640
|
-
const
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
...x
|
|
654
|
-
}) => {
|
|
655
|
-
if (pr({ handleOnChange: m, inputType: T, operator: h, value: g }), h === "null" || h === "notNull")
|
|
639
|
+
Pe.displayName = "BootstrapNotToggle";
|
|
640
|
+
const je = (a) => {
|
|
641
|
+
var C, y;
|
|
642
|
+
const { valArray: g, betweenValueHandler: R } = vr({
|
|
643
|
+
handleOnChange: a.handleOnChange,
|
|
644
|
+
inputType: a.inputType,
|
|
645
|
+
operator: a.operator,
|
|
646
|
+
value: a.value,
|
|
647
|
+
type: a.type,
|
|
648
|
+
listsAsArrays: a.listsAsArrays,
|
|
649
|
+
parseNumbers: a.parseNumbers,
|
|
650
|
+
values: a.values
|
|
651
|
+
}), { selectorComponent: _ = br } = a;
|
|
652
|
+
if (a.operator === "null" || a.operator === "notNull")
|
|
656
653
|
return null;
|
|
657
|
-
const
|
|
658
|
-
if ((
|
|
659
|
-
const
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
value: c[1],
|
|
688
|
-
options: l,
|
|
689
|
-
listsAsArrays: C
|
|
690
|
-
}
|
|
691
|
-
)
|
|
654
|
+
const w = ((C = a.fieldData) == null ? void 0 : C.placeholder) ?? "";
|
|
655
|
+
if ((a.operator === "between" || a.operator === "notBetween") && (a.type === "select" || a.type === "text")) {
|
|
656
|
+
const u = ["from", "to"].map((f, E) => a.type === "text" ? /* @__PURE__ */ h(
|
|
657
|
+
"input",
|
|
658
|
+
{
|
|
659
|
+
type: a.inputType || "text",
|
|
660
|
+
placeholder: w,
|
|
661
|
+
value: g[E] ?? "",
|
|
662
|
+
className: `${M.valueListItem} form-control form-control-sm`,
|
|
663
|
+
disabled: a.disabled,
|
|
664
|
+
onChange: (v) => R(v.target.value, E)
|
|
665
|
+
},
|
|
666
|
+
f
|
|
667
|
+
) : /* @__PURE__ */ h(
|
|
668
|
+
_,
|
|
669
|
+
{
|
|
670
|
+
...a,
|
|
671
|
+
className: `${M.valueListItem} form-select form-select-sm`,
|
|
672
|
+
handleOnChange: (v) => R(v, E),
|
|
673
|
+
disabled: a.disabled,
|
|
674
|
+
value: g[E] ?? mr(a.values),
|
|
675
|
+
options: a.values ?? [],
|
|
676
|
+
listsAsArrays: a.listsAsArrays
|
|
677
|
+
},
|
|
678
|
+
f
|
|
679
|
+
));
|
|
680
|
+
return /* @__PURE__ */ ee("span", { "data-testid": a.testID, className: M.value, title: a.title, children: [
|
|
681
|
+
u[0],
|
|
682
|
+
a.separator,
|
|
683
|
+
u[1]
|
|
692
684
|
] });
|
|
693
685
|
}
|
|
694
|
-
switch (
|
|
686
|
+
switch (a.type) {
|
|
695
687
|
case "select":
|
|
696
688
|
case "multiselect":
|
|
697
|
-
return /* @__PURE__ */
|
|
698
|
-
|
|
699
|
-
{
|
|
700
|
-
...x,
|
|
701
|
-
className: `${v} form-select form-select-sm`,
|
|
702
|
-
title: R,
|
|
703
|
-
handleOnChange: m,
|
|
704
|
-
value: g,
|
|
705
|
-
disabled: s,
|
|
706
|
-
multiple: _ === "multiselect",
|
|
707
|
-
listsAsArrays: C,
|
|
708
|
-
options: l
|
|
709
|
-
}
|
|
710
|
-
);
|
|
711
|
-
case "textarea":
|
|
712
|
-
return /* @__PURE__ */ E(
|
|
713
|
-
"textarea",
|
|
689
|
+
return /* @__PURE__ */ h(
|
|
690
|
+
Z,
|
|
714
691
|
{
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
className:
|
|
718
|
-
disabled: s,
|
|
719
|
-
placeholder: j,
|
|
720
|
-
onChange: (c) => m(c.target.value)
|
|
692
|
+
skipHook: !0,
|
|
693
|
+
...a,
|
|
694
|
+
className: `${a.className} form-select form-select-sm`
|
|
721
695
|
}
|
|
722
696
|
);
|
|
723
697
|
case "switch":
|
|
724
|
-
return /* @__PURE__ */
|
|
698
|
+
return /* @__PURE__ */ h("span", { className: `custom-control custom-switch ${a.className}`, children: /* @__PURE__ */ h(
|
|
725
699
|
"input",
|
|
726
700
|
{
|
|
727
701
|
type: "checkbox",
|
|
728
702
|
className: "form-check-input custom-control-input",
|
|
729
|
-
title:
|
|
730
|
-
disabled:
|
|
731
|
-
onChange: (
|
|
732
|
-
checked: !!
|
|
703
|
+
title: a.title,
|
|
704
|
+
disabled: a.disabled,
|
|
705
|
+
onChange: (u) => a.handleOnChange(u.target.checked),
|
|
706
|
+
checked: !!a.value
|
|
733
707
|
}
|
|
734
708
|
) });
|
|
735
709
|
case "checkbox":
|
|
736
|
-
return /* @__PURE__ */
|
|
737
|
-
"input",
|
|
738
|
-
{
|
|
739
|
-
type: "checkbox",
|
|
740
|
-
className: `form-check-input ${v}`,
|
|
741
|
-
title: R,
|
|
742
|
-
disabled: s,
|
|
743
|
-
onChange: (c) => m(c.target.checked),
|
|
744
|
-
checked: !!g
|
|
745
|
-
}
|
|
746
|
-
);
|
|
710
|
+
return /* @__PURE__ */ h(Z, { skipHook: !0, ...a, className: `form-check-input ${a.className}` });
|
|
747
711
|
case "radio":
|
|
748
|
-
return /* @__PURE__ */
|
|
749
|
-
/* @__PURE__ */
|
|
712
|
+
return /* @__PURE__ */ h("span", { title: a.title, className: M.value, children: (y = a.values) == null ? void 0 : y.map((u) => /* @__PURE__ */ ee("div", { className: "form-check form-check-inline", children: [
|
|
713
|
+
/* @__PURE__ */ h(
|
|
750
714
|
"input",
|
|
751
715
|
{
|
|
752
716
|
className: "form-check-input",
|
|
753
717
|
type: "radio",
|
|
754
|
-
id:
|
|
755
|
-
value:
|
|
756
|
-
checked:
|
|
757
|
-
disabled:
|
|
758
|
-
onChange: (
|
|
718
|
+
id: u.name,
|
|
719
|
+
value: u.name,
|
|
720
|
+
checked: a.value === u.name,
|
|
721
|
+
disabled: a.disabled,
|
|
722
|
+
onChange: (f) => a.handleOnChange(f.target.value)
|
|
759
723
|
}
|
|
760
724
|
),
|
|
761
|
-
/* @__PURE__ */
|
|
762
|
-
] },
|
|
725
|
+
/* @__PURE__ */ h("label", { className: "form-check-label", htmlFor: u.name, children: u.label })
|
|
726
|
+
] }, u.name)) });
|
|
763
727
|
}
|
|
764
|
-
return /* @__PURE__ */
|
|
765
|
-
"input",
|
|
766
|
-
{
|
|
767
|
-
type: L,
|
|
768
|
-
value: g,
|
|
769
|
-
title: R,
|
|
770
|
-
className: v,
|
|
771
|
-
disabled: s,
|
|
772
|
-
placeholder: j,
|
|
773
|
-
onChange: (c) => m(c.target.value)
|
|
774
|
-
}
|
|
775
|
-
);
|
|
728
|
+
return /* @__PURE__ */ h(Z, { skipHook: !0, ...a });
|
|
776
729
|
};
|
|
777
|
-
|
|
778
|
-
const
|
|
779
|
-
dragHandle:
|
|
780
|
-
notToggle:
|
|
781
|
-
valueEditor:
|
|
782
|
-
},
|
|
730
|
+
je.displayName = "BootstrapValueEditor";
|
|
731
|
+
const _r = {
|
|
732
|
+
dragHandle: Se,
|
|
733
|
+
notToggle: Pe,
|
|
734
|
+
valueEditor: je
|
|
735
|
+
}, Cr = {
|
|
783
736
|
addGroup: "btn btn-secondary btn-sm",
|
|
784
737
|
addRule: "btn btn-primary btn-sm",
|
|
785
738
|
cloneGroup: "btn btn-secondary btn-sm",
|
|
@@ -793,18 +746,17 @@ const kr = "5.3.3", _r = {
|
|
|
793
746
|
operators: "form-select form-select-sm",
|
|
794
747
|
value: "form-control form-control-sm",
|
|
795
748
|
valueSource: "form-select form-select-sm"
|
|
796
|
-
},
|
|
749
|
+
}, kr = hr({
|
|
797
750
|
key: "bootstrap",
|
|
798
|
-
controlClassnames:
|
|
751
|
+
controlClassnames: Cr,
|
|
799
752
|
controlElements: _r
|
|
800
753
|
});
|
|
801
754
|
export {
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
_r as bootstrapControlElements
|
|
808
|
-
kr as version
|
|
755
|
+
Se as BootstrapDragHandle,
|
|
756
|
+
Pe as BootstrapNotToggle,
|
|
757
|
+
je as BootstrapValueEditor,
|
|
758
|
+
kr as QueryBuilderBootstrap,
|
|
759
|
+
Cr as bootstrapControlClassnames,
|
|
760
|
+
_r as bootstrapControlElements
|
|
809
761
|
};
|
|
810
762
|
//# sourceMappingURL=index.es.js.map
|