kelt-ui-kit-react 1.7.6 → 1.7.8
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.js +203 -200
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/damier/Damier.tsx +16 -7
- package/src/damier/damier.css +10 -4
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Le from "react";
|
|
2
|
-
import
|
|
2
|
+
import Ae, { createContext as Ra, useRef as se, useState as F, useEffect as q, useContext as On, useCallback as A, useDebugValue as Gn, createElement as Yo, forwardRef as Ue, useId as Bo, useImperativeHandle as Dr, useMemo as Re, Children as Uo, cloneElement as zo } from "react";
|
|
3
3
|
import Nn, { createPortal as Aa } from "react-dom";
|
|
4
4
|
var ar = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
5
5
|
function Go(e) {
|
|
@@ -19,7 +19,7 @@ var Hn;
|
|
|
19
19
|
function Ho() {
|
|
20
20
|
if (Hn) return It;
|
|
21
21
|
Hn = 1;
|
|
22
|
-
var e =
|
|
22
|
+
var e = Ae, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
23
23
|
function s(l, c, d) {
|
|
24
24
|
var f, v = {}, g = null, h = null;
|
|
25
25
|
d !== void 0 && (g = "" + d), c.key !== void 0 && (g = "" + c.key), c.ref !== void 0 && (h = c.ref);
|
|
@@ -42,29 +42,29 @@ var $t = {};
|
|
|
42
42
|
var qn;
|
|
43
43
|
function qo() {
|
|
44
44
|
return qn || (qn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
45
|
-
var e =
|
|
46
|
-
function
|
|
45
|
+
var e = Ae, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p = Symbol.iterator, m = "@@iterator";
|
|
46
|
+
function x(u) {
|
|
47
47
|
if (u === null || typeof u != "object")
|
|
48
48
|
return null;
|
|
49
|
-
var
|
|
50
|
-
return typeof
|
|
49
|
+
var w = p && u[p] || u[m];
|
|
50
|
+
return typeof w == "function" ? w : null;
|
|
51
51
|
}
|
|
52
52
|
var j = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
53
53
|
function b(u) {
|
|
54
54
|
{
|
|
55
|
-
for (var
|
|
55
|
+
for (var w = arguments.length, D = new Array(w > 1 ? w - 1 : 0), R = 1; R < w; R++)
|
|
56
56
|
D[R - 1] = arguments[R];
|
|
57
57
|
T("error", u, D);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
function T(u,
|
|
60
|
+
function T(u, w, D) {
|
|
61
61
|
{
|
|
62
62
|
var R = j.ReactDebugCurrentFrame, B = R.getStackAddendum();
|
|
63
|
-
B !== "" && (
|
|
63
|
+
B !== "" && (w += "%s", D = D.concat([B]));
|
|
64
64
|
var N = D.map(function(C) {
|
|
65
65
|
return String(C);
|
|
66
66
|
});
|
|
67
|
-
N.unshift("Warning: " +
|
|
67
|
+
N.unshift("Warning: " + w), Function.prototype.apply.call(console[u], console, N);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
var S = !1, O = !1, E = !1, _ = !1, W = !1, y;
|
|
@@ -76,11 +76,11 @@ function qo() {
|
|
|
76
76
|
// with.
|
|
77
77
|
u.$$typeof === y || u.getModuleId !== void 0));
|
|
78
78
|
}
|
|
79
|
-
function I(u,
|
|
79
|
+
function I(u, w, D) {
|
|
80
80
|
var R = u.displayName;
|
|
81
81
|
if (R)
|
|
82
82
|
return R;
|
|
83
|
-
var B =
|
|
83
|
+
var B = w.displayName || w.name || "";
|
|
84
84
|
return B !== "" ? D + "(" + B + ")" : D;
|
|
85
85
|
}
|
|
86
86
|
function M(u) {
|
|
@@ -110,8 +110,8 @@ function qo() {
|
|
|
110
110
|
if (typeof u == "object")
|
|
111
111
|
switch (u.$$typeof) {
|
|
112
112
|
case l:
|
|
113
|
-
var
|
|
114
|
-
return M(
|
|
113
|
+
var w = u;
|
|
114
|
+
return M(w) + ".Consumer";
|
|
115
115
|
case s:
|
|
116
116
|
var D = u;
|
|
117
117
|
return M(D._context) + ".Provider";
|
|
@@ -131,14 +131,14 @@ function qo() {
|
|
|
131
131
|
}
|
|
132
132
|
return null;
|
|
133
133
|
}
|
|
134
|
-
var X = Object.assign, ve = 0, re, xe,
|
|
134
|
+
var X = Object.assign, ve = 0, re, xe, Ie, ee, K, ce, Z;
|
|
135
135
|
function Se() {
|
|
136
136
|
}
|
|
137
137
|
Se.__reactDisabledLog = !0;
|
|
138
138
|
function Ee() {
|
|
139
139
|
{
|
|
140
140
|
if (ve === 0) {
|
|
141
|
-
re = console.log, xe = console.info,
|
|
141
|
+
re = console.log, xe = console.info, Ie = console.warn, ee = console.error, K = console.group, ce = console.groupCollapsed, Z = console.groupEnd;
|
|
142
142
|
var u = {
|
|
143
143
|
configurable: !0,
|
|
144
144
|
enumerable: !0,
|
|
@@ -174,7 +174,7 @@ function qo() {
|
|
|
174
174
|
value: xe
|
|
175
175
|
}),
|
|
176
176
|
warn: X({}, u, {
|
|
177
|
-
value:
|
|
177
|
+
value: Ie
|
|
178
178
|
}),
|
|
179
179
|
error: X({}, u, {
|
|
180
180
|
value: ee
|
|
@@ -194,7 +194,7 @@ function qo() {
|
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
var me = j.ReactCurrentDispatcher, pe;
|
|
197
|
-
function le(u,
|
|
197
|
+
function le(u, w, D) {
|
|
198
198
|
{
|
|
199
199
|
if (pe === void 0)
|
|
200
200
|
try {
|
|
@@ -212,7 +212,7 @@ function qo() {
|
|
|
212
212
|
var _e = typeof WeakMap == "function" ? WeakMap : Map;
|
|
213
213
|
De = new _e();
|
|
214
214
|
}
|
|
215
|
-
function fe(u,
|
|
215
|
+
function fe(u, w) {
|
|
216
216
|
if (!u || ne)
|
|
217
217
|
return "";
|
|
218
218
|
{
|
|
@@ -227,7 +227,7 @@ function qo() {
|
|
|
227
227
|
var N;
|
|
228
228
|
N = me.current, me.current = null, Ee();
|
|
229
229
|
try {
|
|
230
|
-
if (
|
|
230
|
+
if (w) {
|
|
231
231
|
var C = function() {
|
|
232
232
|
throw Error();
|
|
233
233
|
};
|
|
@@ -283,14 +283,14 @@ function qo() {
|
|
|
283
283
|
var We = u ? u.displayName || u.name : "", Je = We ? le(We) : "";
|
|
284
284
|
return typeof u == "function" && De.set(u, Je), Je;
|
|
285
285
|
}
|
|
286
|
-
function Ot(u,
|
|
286
|
+
function Ot(u, w, D) {
|
|
287
287
|
return fe(u, !1);
|
|
288
288
|
}
|
|
289
289
|
function te(u) {
|
|
290
|
-
var
|
|
291
|
-
return !!(
|
|
290
|
+
var w = u.prototype;
|
|
291
|
+
return !!(w && w.isReactComponent);
|
|
292
292
|
}
|
|
293
|
-
function Ce(u,
|
|
293
|
+
function Ce(u, w, D) {
|
|
294
294
|
if (u == null)
|
|
295
295
|
return "";
|
|
296
296
|
if (typeof u == "function")
|
|
@@ -308,11 +308,11 @@ function qo() {
|
|
|
308
308
|
case c:
|
|
309
309
|
return Ot(u.render);
|
|
310
310
|
case v:
|
|
311
|
-
return Ce(u.type,
|
|
311
|
+
return Ce(u.type, w, D);
|
|
312
312
|
case g: {
|
|
313
313
|
var R = u, B = R._payload, N = R._init;
|
|
314
314
|
try {
|
|
315
|
-
return Ce(N(B),
|
|
315
|
+
return Ce(N(B), w, D);
|
|
316
316
|
} catch {
|
|
317
317
|
}
|
|
318
318
|
}
|
|
@@ -322,12 +322,12 @@ function qo() {
|
|
|
322
322
|
var oe = Object.prototype.hasOwnProperty, He = {}, Nt = j.ReactDebugCurrentFrame;
|
|
323
323
|
function qe(u) {
|
|
324
324
|
if (u) {
|
|
325
|
-
var
|
|
325
|
+
var w = u._owner, D = Ce(u.type, u._source, w ? w.type : null);
|
|
326
326
|
Nt.setExtraStackFrame(D);
|
|
327
327
|
} else
|
|
328
328
|
Nt.setExtraStackFrame(null);
|
|
329
329
|
}
|
|
330
|
-
function Lr(u,
|
|
330
|
+
function Lr(u, w, D, R, B) {
|
|
331
331
|
{
|
|
332
332
|
var N = Function.call.bind(oe);
|
|
333
333
|
for (var C in u)
|
|
@@ -338,7 +338,7 @@ function qo() {
|
|
|
338
338
|
var z = Error((R || "React class") + ": " + D + " type `" + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof u[C] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
339
339
|
throw z.name = "Invariant Violation", z;
|
|
340
340
|
}
|
|
341
|
-
P = u[C](
|
|
341
|
+
P = u[C](w, C, R, D, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
342
342
|
} catch (V) {
|
|
343
343
|
P = V;
|
|
344
344
|
}
|
|
@@ -352,7 +352,7 @@ function qo() {
|
|
|
352
352
|
}
|
|
353
353
|
function Ht(u) {
|
|
354
354
|
{
|
|
355
|
-
var
|
|
355
|
+
var w = typeof Symbol == "function" && Symbol.toStringTag, D = w && u[Symbol.toStringTag] || u.constructor.name || "Object";
|
|
356
356
|
return D;
|
|
357
357
|
}
|
|
358
358
|
}
|
|
@@ -378,27 +378,27 @@ function qo() {
|
|
|
378
378
|
}, it, kt;
|
|
379
379
|
function Jt(u) {
|
|
380
380
|
if (oe.call(u, "ref")) {
|
|
381
|
-
var
|
|
382
|
-
if (
|
|
381
|
+
var w = Object.getOwnPropertyDescriptor(u, "ref").get;
|
|
382
|
+
if (w && w.isReactWarning)
|
|
383
383
|
return !1;
|
|
384
384
|
}
|
|
385
385
|
return u.ref !== void 0;
|
|
386
386
|
}
|
|
387
387
|
function Yr(u) {
|
|
388
388
|
if (oe.call(u, "key")) {
|
|
389
|
-
var
|
|
390
|
-
if (
|
|
389
|
+
var w = Object.getOwnPropertyDescriptor(u, "key").get;
|
|
390
|
+
if (w && w.isReactWarning)
|
|
391
391
|
return !1;
|
|
392
392
|
}
|
|
393
393
|
return u.key !== void 0;
|
|
394
394
|
}
|
|
395
|
-
function st(u,
|
|
395
|
+
function st(u, w) {
|
|
396
396
|
typeof u.ref == "string" && Kt.current;
|
|
397
397
|
}
|
|
398
|
-
function Qt(u,
|
|
398
|
+
function Qt(u, w) {
|
|
399
399
|
{
|
|
400
400
|
var D = function() {
|
|
401
|
-
it || (it = !0, b("%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)",
|
|
401
|
+
it || (it = !0, b("%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)", w));
|
|
402
402
|
};
|
|
403
403
|
D.isReactWarning = !0, Object.defineProperty(u, "key", {
|
|
404
404
|
get: D,
|
|
@@ -406,10 +406,10 @@ function qo() {
|
|
|
406
406
|
});
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
function Br(u,
|
|
409
|
+
function Br(u, w) {
|
|
410
410
|
{
|
|
411
411
|
var D = function() {
|
|
412
|
-
kt || (kt = !0, b("%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)",
|
|
412
|
+
kt || (kt = !0, b("%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)", w));
|
|
413
413
|
};
|
|
414
414
|
D.isReactWarning = !0, Object.defineProperty(u, "ref", {
|
|
415
415
|
get: D,
|
|
@@ -417,13 +417,13 @@ function qo() {
|
|
|
417
417
|
});
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
|
-
var Zt = function(u,
|
|
420
|
+
var Zt = function(u, w, D, R, B, N, C) {
|
|
421
421
|
var P = {
|
|
422
422
|
// This tag allows us to uniquely identify this as a React Element
|
|
423
423
|
$$typeof: t,
|
|
424
424
|
// Built-in properties that belong on the element
|
|
425
425
|
type: u,
|
|
426
|
-
key:
|
|
426
|
+
key: w,
|
|
427
427
|
ref: D,
|
|
428
428
|
props: C,
|
|
429
429
|
// Record the component responsible for creating this element.
|
|
@@ -446,12 +446,12 @@ function qo() {
|
|
|
446
446
|
value: B
|
|
447
447
|
}), Object.freeze && (Object.freeze(P.props), Object.freeze(P)), P;
|
|
448
448
|
};
|
|
449
|
-
function er(u,
|
|
449
|
+
function er(u, w, D, R, B) {
|
|
450
450
|
{
|
|
451
451
|
var N, C = {}, P = null, z = null;
|
|
452
|
-
D !== void 0 && (Xt(D), P = "" + D), Yr(
|
|
453
|
-
for (N in
|
|
454
|
-
oe.call(
|
|
452
|
+
D !== void 0 && (Xt(D), P = "" + D), Yr(w) && (Xt(w.key), P = "" + w.key), Jt(w) && (z = w.ref, st(w, B));
|
|
453
|
+
for (N in w)
|
|
454
|
+
oe.call(w, N) && !Vr.hasOwnProperty(N) && (C[N] = w[N]);
|
|
455
455
|
if (u && u.defaultProps) {
|
|
456
456
|
var V = u.defaultProps;
|
|
457
457
|
for (N in V)
|
|
@@ -465,9 +465,9 @@ function qo() {
|
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
467
|
var Xe = j.ReactCurrentOwner, tr = j.ReactDebugCurrentFrame;
|
|
468
|
-
function
|
|
468
|
+
function $e(u) {
|
|
469
469
|
if (u) {
|
|
470
|
-
var
|
|
470
|
+
var w = u._owner, D = Ce(u.type, u._source, w ? w.type : null);
|
|
471
471
|
tr.setExtraStackFrame(D);
|
|
472
472
|
} else
|
|
473
473
|
tr.setExtraStackFrame(null);
|
|
@@ -495,87 +495,87 @@ Check the render method of \`` + u + "`.";
|
|
|
495
495
|
var Ke = {};
|
|
496
496
|
function G(u) {
|
|
497
497
|
{
|
|
498
|
-
var
|
|
499
|
-
if (!
|
|
498
|
+
var w = ue();
|
|
499
|
+
if (!w) {
|
|
500
500
|
var D = typeof u == "string" ? u : u.displayName || u.name;
|
|
501
|
-
D && (
|
|
501
|
+
D && (w = `
|
|
502
502
|
|
|
503
503
|
Check the top-level render call using <` + D + ">.");
|
|
504
504
|
}
|
|
505
|
-
return
|
|
505
|
+
return w;
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
|
-
function we(u,
|
|
508
|
+
function we(u, w) {
|
|
509
509
|
{
|
|
510
510
|
if (!u._store || u._store.validated || u.key != null)
|
|
511
511
|
return;
|
|
512
512
|
u._store.validated = !0;
|
|
513
|
-
var D = G(
|
|
513
|
+
var D = G(w);
|
|
514
514
|
if (Ke[D])
|
|
515
515
|
return;
|
|
516
516
|
Ke[D] = !0;
|
|
517
517
|
var R = "";
|
|
518
|
-
u && u._owner && u._owner !== Xe.current && (R = " It was passed a child from " + L(u._owner.type) + "."),
|
|
518
|
+
u && u._owner && u._owner !== Xe.current && (R = " It was passed a child from " + L(u._owner.type) + "."), $e(u), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', D, R), $e(null);
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
function rr(u,
|
|
521
|
+
function rr(u, w) {
|
|
522
522
|
{
|
|
523
523
|
if (typeof u != "object")
|
|
524
524
|
return;
|
|
525
525
|
if (Et(u))
|
|
526
526
|
for (var D = 0; D < u.length; D++) {
|
|
527
527
|
var R = u[D];
|
|
528
|
-
ct(R) && we(R,
|
|
528
|
+
ct(R) && we(R, w);
|
|
529
529
|
}
|
|
530
530
|
else if (ct(u))
|
|
531
531
|
u._store && (u._store.validated = !0);
|
|
532
532
|
else if (u) {
|
|
533
|
-
var B =
|
|
533
|
+
var B = x(u);
|
|
534
534
|
if (typeof B == "function" && B !== u.entries)
|
|
535
535
|
for (var N = B.call(u), C; !(C = N.next()).done; )
|
|
536
|
-
ct(C.value) && we(C.value,
|
|
536
|
+
ct(C.value) && we(C.value, w);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
540
|
function Ct(u) {
|
|
541
541
|
{
|
|
542
|
-
var
|
|
543
|
-
if (
|
|
542
|
+
var w = u.type;
|
|
543
|
+
if (w == null || typeof w == "string")
|
|
544
544
|
return;
|
|
545
545
|
var D;
|
|
546
|
-
if (typeof
|
|
547
|
-
D =
|
|
548
|
-
else if (typeof
|
|
546
|
+
if (typeof w == "function")
|
|
547
|
+
D = w.propTypes;
|
|
548
|
+
else if (typeof w == "object" && (w.$$typeof === c || // Note: Memo only checks outer props here.
|
|
549
549
|
// Inner props are checked in the reconciler.
|
|
550
|
-
|
|
551
|
-
D =
|
|
550
|
+
w.$$typeof === v))
|
|
551
|
+
D = w.propTypes;
|
|
552
552
|
else
|
|
553
553
|
return;
|
|
554
554
|
if (D) {
|
|
555
|
-
var R = L(
|
|
555
|
+
var R = L(w);
|
|
556
556
|
Lr(D, u.props, "prop", R, u);
|
|
557
|
-
} else if (
|
|
557
|
+
} else if (w.PropTypes !== void 0 && !_t) {
|
|
558
558
|
_t = !0;
|
|
559
|
-
var B = L(
|
|
559
|
+
var B = L(w);
|
|
560
560
|
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", B || "Unknown");
|
|
561
561
|
}
|
|
562
|
-
typeof
|
|
562
|
+
typeof w.getDefaultProps == "function" && !w.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
565
|
function nr(u) {
|
|
566
566
|
{
|
|
567
|
-
for (var
|
|
568
|
-
var R =
|
|
567
|
+
for (var w = Object.keys(u.props), D = 0; D < w.length; D++) {
|
|
568
|
+
var R = w[D];
|
|
569
569
|
if (R !== "children" && R !== "key") {
|
|
570
|
-
|
|
570
|
+
$e(u), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", R), $e(null);
|
|
571
571
|
break;
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
|
-
u.ref !== null && (
|
|
574
|
+
u.ref !== null && ($e(u), b("Invalid attribute `ref` supplied to `React.Fragment`."), $e(null));
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
577
|
var Pt = {};
|
|
578
|
-
function lt(u,
|
|
578
|
+
function lt(u, w, D, R, B, N) {
|
|
579
579
|
{
|
|
580
580
|
var C = k(u);
|
|
581
581
|
if (!C) {
|
|
@@ -586,11 +586,11 @@ Check the top-level render call using <` + D + ">.");
|
|
|
586
586
|
var V;
|
|
587
587
|
u === null ? V = "null" : Et(u) ? V = "array" : u !== void 0 && u.$$typeof === t ? (V = "<" + (L(u.type) || "Unknown") + " />", P = " Did you accidentally export a JSX literal instead of a component?") : V = typeof u, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", V, P);
|
|
588
588
|
}
|
|
589
|
-
var J = er(u,
|
|
589
|
+
var J = er(u, w, D, B, N);
|
|
590
590
|
if (J == null)
|
|
591
591
|
return J;
|
|
592
592
|
if (C) {
|
|
593
|
-
var ge =
|
|
593
|
+
var ge = w.children;
|
|
594
594
|
if (ge !== void 0)
|
|
595
595
|
if (R)
|
|
596
596
|
if (Et(ge)) {
|
|
@@ -602,8 +602,8 @@ Check the top-level render call using <` + D + ">.");
|
|
|
602
602
|
else
|
|
603
603
|
rr(ge, u);
|
|
604
604
|
}
|
|
605
|
-
if (oe.call(
|
|
606
|
-
var Je = L(u), ye = Object.keys(
|
|
605
|
+
if (oe.call(w, "key")) {
|
|
606
|
+
var Je = L(u), ye = Object.keys(w).filter(function(Vo) {
|
|
607
607
|
return Vo !== "key";
|
|
608
608
|
}), Ur = ye.length > 0 ? "{key: someKey, " + ye.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
609
609
|
if (!Pt[Je + Ur]) {
|
|
@@ -619,11 +619,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
619
619
|
return u === n ? nr(J) : Ct(J), J;
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
|
-
function ut(u,
|
|
623
|
-
return lt(u,
|
|
622
|
+
function ut(u, w, D) {
|
|
623
|
+
return lt(u, w, D, !0);
|
|
624
624
|
}
|
|
625
|
-
function Tt(u,
|
|
626
|
-
return lt(u,
|
|
625
|
+
function Tt(u, w, D) {
|
|
626
|
+
return lt(u, w, D, !1);
|
|
627
627
|
}
|
|
628
628
|
var Rt = Tt, At = ut;
|
|
629
629
|
$t.Fragment = n, $t.jsx = Rt, $t.jsxs = At;
|
|
@@ -1005,7 +1005,7 @@ function vi(e, t) {
|
|
|
1005
1005
|
function Ba(e) {
|
|
1006
1006
|
return e.trim();
|
|
1007
1007
|
}
|
|
1008
|
-
function
|
|
1008
|
+
function Me(e, t) {
|
|
1009
1009
|
return (e = t.exec(e)) ? e[0] : e;
|
|
1010
1010
|
}
|
|
1011
1011
|
function $(e, t, r) {
|
|
@@ -1034,7 +1034,7 @@ function mi(e, t) {
|
|
|
1034
1034
|
}
|
|
1035
1035
|
function Qn(e, t) {
|
|
1036
1036
|
return e.filter(function(r) {
|
|
1037
|
-
return
|
|
1037
|
+
return !Me(r, t);
|
|
1038
1038
|
});
|
|
1039
1039
|
}
|
|
1040
1040
|
var Nr = 1, pt = 1, za = 0, Oe = 0, ae = 0, wt = "";
|
|
@@ -1151,7 +1151,7 @@ function Di(e) {
|
|
|
1151
1151
|
return bi(hr("", null, null, null, [""], e = yi(e), 0, [0], e));
|
|
1152
1152
|
}
|
|
1153
1153
|
function hr(e, t, r, n, a, i, s, l, c) {
|
|
1154
|
-
for (var d = 0, f = 0, v = s, g = 0, h = 0, p = 0, m = 1,
|
|
1154
|
+
for (var d = 0, f = 0, v = s, g = 0, h = 0, p = 0, m = 1, x = 1, j = 1, b = 0, T = "", S = a, O = i, E = n, _ = T; x; )
|
|
1155
1155
|
switch (p = b, b = Ne()) {
|
|
1156
1156
|
case 40:
|
|
1157
1157
|
if (p != 108 && ie(_, v - 1) == 58) {
|
|
@@ -1190,7 +1190,7 @@ function hr(e, t, r, n, a, i, s, l, c) {
|
|
|
1190
1190
|
switch (b) {
|
|
1191
1191
|
case 0:
|
|
1192
1192
|
case 125:
|
|
1193
|
-
|
|
1193
|
+
x = 0;
|
|
1194
1194
|
case 59 + f:
|
|
1195
1195
|
j == -1 && (_ = $(_, /\f/g, "")), h > 0 && Te(_) - v && Lt(h > 32 ? ea(_ + ";", n, r, v - 1, c) : ea($(_, " ", "") + ";", n, r, v - 2, c), c);
|
|
1196
1196
|
break;
|
|
@@ -1240,9 +1240,9 @@ function hr(e, t, r, n, a, i, s, l, c) {
|
|
|
1240
1240
|
return i;
|
|
1241
1241
|
}
|
|
1242
1242
|
function Zn(e, t, r, n, a, i, s, l, c, d, f, v) {
|
|
1243
|
-
for (var g = a - 1, h = a === 0 ? i : [""], p = Ua(h), m = 0,
|
|
1244
|
-
for (var b = 0, T = mt(e, g + 1, g = Ya(
|
|
1245
|
-
(S = Ba(
|
|
1243
|
+
for (var g = a - 1, h = a === 0 ? i : [""], p = Ua(h), m = 0, x = 0, j = 0; m < n; ++m)
|
|
1244
|
+
for (var b = 0, T = mt(e, g + 1, g = Ya(x = s[m])), S = e; b < p; ++b)
|
|
1245
|
+
(S = Ba(x > 0 ? h[b] + " " + T : $(T, /&\f/g, h[b]))) && (c[j++] = S);
|
|
1246
1246
|
return Er(e, t, r, a === 0 ? Or : l, c, d, f, v);
|
|
1247
1247
|
}
|
|
1248
1248
|
function Oi(e, t, r, n) {
|
|
@@ -1307,7 +1307,7 @@ function Ga(e, t, r) {
|
|
|
1307
1307
|
case 5187:
|
|
1308
1308
|
return U + e + $(e, /(\w+).+(:[^]+)/, U + "box-$1$2" + H + "flex-$1$2") + e;
|
|
1309
1309
|
case 5443:
|
|
1310
|
-
return U + e + H + "flex-item-" + $(e, /flex-|-self/g, "") + (
|
|
1310
|
+
return U + e + H + "flex-item-" + $(e, /flex-|-self/g, "") + (Me(e, /flex-|baseline/) ? "" : H + "grid-row-" + $(e, /flex-|-self/g, "")) + e;
|
|
1311
1311
|
case 4675:
|
|
1312
1312
|
return U + e + H + "flex-line-pack" + $(e, /align-content|flex-|-self/g, "") + e;
|
|
1313
1313
|
case 5548:
|
|
@@ -1326,7 +1326,7 @@ function Ga(e, t, r) {
|
|
|
1326
1326
|
case 4968:
|
|
1327
1327
|
return $($(e, /(.+:)(flex-)?(.*)/, U + "box-pack:$3" + H + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + U + e + e;
|
|
1328
1328
|
case 4200:
|
|
1329
|
-
if (
|
|
1329
|
+
if (!Me(e, /flex-|baseline/)) return H + "grid-column-align" + mt(e, t) + e;
|
|
1330
1330
|
break;
|
|
1331
1331
|
case 2592:
|
|
1332
1332
|
case 3360:
|
|
@@ -1334,12 +1334,12 @@ function Ga(e, t, r) {
|
|
|
1334
1334
|
case 4384:
|
|
1335
1335
|
case 3616:
|
|
1336
1336
|
return r && r.some(function(n, a) {
|
|
1337
|
-
return t = a,
|
|
1338
|
-
}) ? ~dr(e + (r = r[t].value), "span", 0) ? e : H + $(e, "-start", "") + e + H + "grid-row-span:" + (~dr(r, "span", 0) ?
|
|
1337
|
+
return t = a, Me(n.props, /grid-\w+-end/);
|
|
1338
|
+
}) ? ~dr(e + (r = r[t].value), "span", 0) ? e : H + $(e, "-start", "") + e + H + "grid-row-span:" + (~dr(r, "span", 0) ? Me(r, /\d+/) : +Me(r, /\d+/) - +Me(e, /\d+/)) + ";" : H + $(e, "-start", "") + e;
|
|
1339
1339
|
case 4896:
|
|
1340
1340
|
case 4128:
|
|
1341
1341
|
return r && r.some(function(n) {
|
|
1342
|
-
return
|
|
1342
|
+
return Me(n.props, /grid-\w+-start/);
|
|
1343
1343
|
}) ? e : H + $($(e, "-end", "-span"), "span ", "") + e;
|
|
1344
1344
|
case 4095:
|
|
1345
1345
|
case 3583:
|
|
@@ -1440,7 +1440,7 @@ function _i(e, t, r, n) {
|
|
|
1440
1440
|
case Or:
|
|
1441
1441
|
if (e.length)
|
|
1442
1442
|
return mi(r = e.props, function(a) {
|
|
1443
|
-
switch (
|
|
1443
|
+
switch (Me(a, n = /(::plac\w+|:read-\w+)/)) {
|
|
1444
1444
|
case ":read-only":
|
|
1445
1445
|
case ":read-write":
|
|
1446
1446
|
dt(Ye(e, { props: [$(a, /:(read-\w+)/, ":" + Wt + "$1")] })), dt(Ye(e, { props: [a] })), tn(e, { props: Qn(r, n) });
|
|
@@ -1784,10 +1784,10 @@ var ro = function(e) {
|
|
|
1784
1784
|
if (g === void 0) return "continue";
|
|
1785
1785
|
var h = i.names.get(g), p = s.getGroup(v);
|
|
1786
1786
|
if (h === void 0 || !h.size || p.length === 0) return "continue";
|
|
1787
|
-
var m = "".concat(nt, ".g").concat(v, '[id="').concat(g, '"]'),
|
|
1787
|
+
var m = "".concat(nt, ".g").concat(v, '[id="').concat(g, '"]'), x = "";
|
|
1788
1788
|
h !== void 0 && h.forEach(function(j) {
|
|
1789
|
-
j.length > 0 && (
|
|
1790
|
-
}), c += "".concat(p).concat(m, '{content:"').concat(
|
|
1789
|
+
j.length > 0 && (x += "".concat(j, ","));
|
|
1790
|
+
}), c += "".concat(p).concat(m, '{content:"').concat(x, '"}').concat(Cn);
|
|
1791
1791
|
}, f = 0; f < l; f++) d(f);
|
|
1792
1792
|
return c;
|
|
1793
1793
|
}(a);
|
|
@@ -1841,7 +1841,7 @@ function cs(e) {
|
|
|
1841
1841
|
}), s.prefix && f.push(_i), f.push(Ni);
|
|
1842
1842
|
var v = function(g, h, p, m) {
|
|
1843
1843
|
h === void 0 && (h = ""), p === void 0 && (p = ""), m === void 0 && (m = "&"), t = m, r = h, n = new RegExp("\\".concat(r, "\\b"), "g");
|
|
1844
|
-
var
|
|
1844
|
+
var x = g.replace(ss, ""), j = Di(p || h ? "".concat(p, " ").concat(h, " { ").concat(x, " }") : x);
|
|
1845
1845
|
s.namespace && (j = ao(j, s.namespace));
|
|
1846
1846
|
var b = [];
|
|
1847
1847
|
return yr(j, Ei(f.concat(ki(function(T) {
|
|
@@ -1852,9 +1852,9 @@ function cs(e) {
|
|
|
1852
1852
|
return h.name || jt(15), Qe(g, h.name);
|
|
1853
1853
|
}, Xa).toString() : "", v;
|
|
1854
1854
|
}
|
|
1855
|
-
var ls = new no(), cn = cs(), oo =
|
|
1855
|
+
var ls = new no(), cn = cs(), oo = Ae.createContext({ shouldForwardProp: void 0, styleSheet: ls, stylis: cn });
|
|
1856
1856
|
oo.Consumer;
|
|
1857
|
-
|
|
1857
|
+
Ae.createContext(void 0);
|
|
1858
1858
|
function ua() {
|
|
1859
1859
|
return On(oo);
|
|
1860
1860
|
}
|
|
@@ -1944,7 +1944,7 @@ var fs = Ka(_r), hs = function() {
|
|
|
1944
1944
|
}
|
|
1945
1945
|
return a;
|
|
1946
1946
|
}, e;
|
|
1947
|
-
}(), co =
|
|
1947
|
+
}(), co = Ae.createContext(void 0);
|
|
1948
1948
|
co.Consumer;
|
|
1949
1949
|
var qr = {}, ha = /* @__PURE__ */ new Set();
|
|
1950
1950
|
function vs(e, t, r) {
|
|
@@ -1959,25 +1959,25 @@ function vs(e, t, r) {
|
|
|
1959
1959
|
if (n && a.shouldForwardProp) {
|
|
1960
1960
|
var m = a.shouldForwardProp;
|
|
1961
1961
|
if (t.shouldForwardProp) {
|
|
1962
|
-
var
|
|
1962
|
+
var x = t.shouldForwardProp;
|
|
1963
1963
|
p = function(S, O) {
|
|
1964
|
-
return m(S, O) &&
|
|
1964
|
+
return m(S, O) && x(S, O);
|
|
1965
1965
|
};
|
|
1966
1966
|
} else p = m;
|
|
1967
1967
|
}
|
|
1968
1968
|
var j = new hs(r, g, n ? a.componentStyle : void 0);
|
|
1969
1969
|
function b(S, O) {
|
|
1970
1970
|
return function(E, _, W) {
|
|
1971
|
-
var y = E.attrs, k = E.componentStyle, I = E.defaultProps, M = E.foldedComponentIds, L = E.styledComponentId, X = E.target, ve =
|
|
1971
|
+
var y = E.attrs, k = E.componentStyle, I = E.defaultProps, M = E.foldedComponentIds, L = E.styledComponentId, X = E.target, ve = Ae.useContext(co), re = ua(), xe = E.shouldForwardProp || re.shouldForwardProp;
|
|
1972
1972
|
process.env.NODE_ENV !== "production" && Gn(L);
|
|
1973
|
-
var
|
|
1973
|
+
var Ie = Ri(_, ve, I) || gt, ee = function(ke, me, pe) {
|
|
1974
1974
|
for (var le, ne = be(be({}, me), { className: void 0, theme: pe }), De = 0; De < ke.length; De += 1) {
|
|
1975
1975
|
var _e = yt(le = ke[De]) ? le(ne) : le;
|
|
1976
1976
|
for (var fe in _e) ne[fe] = fe === "className" ? Ze(ne[fe], _e[fe]) : fe === "style" ? be(be({}, ne[fe]), _e[fe]) : _e[fe];
|
|
1977
1977
|
}
|
|
1978
1978
|
return me.className && (ne.className = Ze(ne.className, me.className)), ne;
|
|
1979
|
-
}(y, _,
|
|
1980
|
-
for (var Z in ee) ee[Z] === void 0 || Z[0] === "$" || Z === "as" || Z === "theme" && ee.theme ===
|
|
1979
|
+
}(y, _, Ie), K = ee.as || X, ce = {};
|
|
1980
|
+
for (var Z in ee) ee[Z] === void 0 || Z[0] === "$" || Z === "as" || Z === "theme" && ee.theme === Ie || (Z === "forwardedAs" ? ce.as = ee.forwardedAs : xe && !xe(Z, K) || (ce[Z] = ee[Z], xe || process.env.NODE_ENV !== "development" || di(Z) || ha.has(Z) || !an.has(K) || (ha.add(Z), console.warn('styled-components: it looks like an unknown prop "'.concat(Z, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
|
|
1981
1981
|
var Se = function(ke, me) {
|
|
1982
1982
|
var pe = ua(), le = ke.generateAndInjectStyles(me, pe.styleSheet, pe.stylis);
|
|
1983
1983
|
return process.env.NODE_ENV !== "production" && Gn(le), le;
|
|
@@ -1988,7 +1988,7 @@ function vs(e, t, r) {
|
|
|
1988
1988
|
}(T, S, O);
|
|
1989
1989
|
}
|
|
1990
1990
|
b.displayName = v;
|
|
1991
|
-
var T =
|
|
1991
|
+
var T = Ae.forwardRef(b);
|
|
1992
1992
|
return T.attrs = h, T.componentStyle = j, T.displayName = v, T.shouldForwardProp = p, T.foldedComponentIds = n ? Ze(a.foldedComponentIds, a.styledComponentId) : "", T.styledComponentId = g, T.target = n ? a.target : e, Object.defineProperty(T, "defaultProps", { get: function() {
|
|
1993
1993
|
return this._foldedDefaultProps;
|
|
1994
1994
|
}, set: function(S) {
|
|
@@ -2124,7 +2124,7 @@ const ms = Rn.div`
|
|
|
2124
2124
|
};
|
|
2125
2125
|
return f && (b(), window.addEventListener("resize", b)), () => window.removeEventListener("resize", b);
|
|
2126
2126
|
}, [e, f, t]);
|
|
2127
|
-
const
|
|
2127
|
+
const x = () => {
|
|
2128
2128
|
v(!0), d(m);
|
|
2129
2129
|
}, j = A(
|
|
2130
2130
|
(b) => {
|
|
@@ -2140,7 +2140,7 @@ const ms = Rn.div`
|
|
|
2140
2140
|
document.removeEventListener("mousedown", b);
|
|
2141
2141
|
};
|
|
2142
2142
|
}, [f, j]), q(() => {
|
|
2143
|
-
a &&
|
|
2143
|
+
a && x();
|
|
2144
2144
|
}, [a]), f ? Nn.createPortal(
|
|
2145
2145
|
/* @__PURE__ */ o.jsx(ms, { ref: p, $top: g.top, $left: g.left, children: /* @__PURE__ */ o.jsxs(
|
|
2146
2146
|
"div",
|
|
@@ -2179,7 +2179,7 @@ const ms = Rn.div`
|
|
|
2179
2179
|
p.stopPropagation(), n && f(!d);
|
|
2180
2180
|
},
|
|
2181
2181
|
[d, f]
|
|
2182
|
-
), g =
|
|
2182
|
+
), g = Re(() => n ? n.map((p, m) => ({
|
|
2183
2183
|
id: p.id ?? m,
|
|
2184
2184
|
icon: p.icon,
|
|
2185
2185
|
name: p.label,
|
|
@@ -2188,8 +2188,8 @@ const ms = Rn.div`
|
|
|
2188
2188
|
{
|
|
2189
2189
|
classIcon: p.icon,
|
|
2190
2190
|
sizeIcon: je.LARGE,
|
|
2191
|
-
onClick: (
|
|
2192
|
-
|
|
2191
|
+
onClick: (x) => {
|
|
2192
|
+
x.stopPropagation(), h(), p.onClick && p.onClick(p);
|
|
2193
2193
|
},
|
|
2194
2194
|
title: p.label || ""
|
|
2195
2195
|
},
|
|
@@ -2289,16 +2289,16 @@ const ms = Rn.div`
|
|
|
2289
2289
|
t && v(t);
|
|
2290
2290
|
}, [t]);
|
|
2291
2291
|
const g = A(
|
|
2292
|
-
(m,
|
|
2293
|
-
e.length !== 0 && (m.preventDefault(), c("bottomRight"), i && i(
|
|
2292
|
+
(m, x) => {
|
|
2293
|
+
e.length !== 0 && (m.preventDefault(), c("bottomRight"), i && i(x));
|
|
2294
2294
|
},
|
|
2295
2295
|
[c, i]
|
|
2296
2296
|
), h = A(() => {
|
|
2297
2297
|
c(void 0), v(!1), i && i(!1);
|
|
2298
|
-
}, [v, c, i]), p =
|
|
2298
|
+
}, [v, c, i]), p = Re(() => e == null ? void 0 : e.filter((m) => m.type === "menu").map((m, x) => {
|
|
2299
2299
|
let j = m.label || "";
|
|
2300
2300
|
return m.setLabel && r && (j = m.setLabel(r)), {
|
|
2301
|
-
id:
|
|
2301
|
+
id: x,
|
|
2302
2302
|
icon: m.icon,
|
|
2303
2303
|
name: m.label,
|
|
2304
2304
|
children: /* @__PURE__ */ o.jsx(
|
|
@@ -2312,7 +2312,7 @@ const ms = Rn.div`
|
|
|
2312
2312
|
},
|
|
2313
2313
|
title: j
|
|
2314
2314
|
},
|
|
2315
|
-
|
|
2315
|
+
x
|
|
2316
2316
|
)
|
|
2317
2317
|
};
|
|
2318
2318
|
}), [e]);
|
|
@@ -2364,13 +2364,13 @@ const ms = Rn.div`
|
|
|
2364
2364
|
positionOverlay: s,
|
|
2365
2365
|
children: l
|
|
2366
2366
|
}) => {
|
|
2367
|
-
const [c, d] = F(!1), [f, v] = F(!1), [g, h] = F(), p = (
|
|
2368
|
-
|
|
2367
|
+
const [c, d] = F(!1), [f, v] = F(!1), [g, h] = F(), p = (x, j) => {
|
|
2368
|
+
x.stopPropagation(), a && a(j);
|
|
2369
2369
|
}, m = A(
|
|
2370
|
-
(
|
|
2371
|
-
if (
|
|
2370
|
+
(x, j) => {
|
|
2371
|
+
if (x.stopPropagation(), f)
|
|
2372
2372
|
return h(void 0), v(!1);
|
|
2373
|
-
|
|
2373
|
+
x.target.closest(".qte") || x.target.closest(".card-action-menu button") || x.target.closest(".card-actions") || (d(!c), n && x.button !== 2 ? n(j) : (h({ top: x.clientY, left: x.clientX }), v(!0)));
|
|
2374
2374
|
},
|
|
2375
2375
|
[
|
|
2376
2376
|
d,
|
|
@@ -2384,8 +2384,8 @@ const ms = Rn.div`
|
|
|
2384
2384
|
return /* @__PURE__ */ o.jsxs(
|
|
2385
2385
|
"div",
|
|
2386
2386
|
{
|
|
2387
|
-
onContextMenu: (
|
|
2388
|
-
onMouseDown: (
|
|
2387
|
+
onContextMenu: (x) => x.preventDefault(),
|
|
2388
|
+
onMouseDown: (x) => m(x, e),
|
|
2389
2389
|
className: `card ${r ?? ""} ${c ? "card--active" : ""} `,
|
|
2390
2390
|
children: [
|
|
2391
2391
|
l,
|
|
@@ -2403,7 +2403,7 @@ const ms = Rn.div`
|
|
|
2403
2403
|
"div",
|
|
2404
2404
|
{
|
|
2405
2405
|
className: "ml-2 cursor-pointer",
|
|
2406
|
-
onClick: (
|
|
2406
|
+
onClick: (x) => p(x, e),
|
|
2407
2407
|
children: /* @__PURE__ */ o.jsx(Y, { classIcon: "bi-trash3" })
|
|
2408
2408
|
}
|
|
2409
2409
|
),
|
|
@@ -2479,7 +2479,7 @@ const ms = Rn.div`
|
|
|
2479
2479
|
transform: `translateX(-${a * 100 / l}%)`,
|
|
2480
2480
|
transition: "transform 0.5s ease-in-out"
|
|
2481
2481
|
},
|
|
2482
|
-
children:
|
|
2482
|
+
children: Ae.Children.map(e, (p) => /* @__PURE__ */ o.jsx(
|
|
2483
2483
|
"div",
|
|
2484
2484
|
{
|
|
2485
2485
|
className: "carousel-slide",
|
|
@@ -2513,31 +2513,34 @@ const ms = Rn.div`
|
|
|
2513
2513
|
page: n = 1,
|
|
2514
2514
|
onClick: a
|
|
2515
2515
|
}) => {
|
|
2516
|
-
const i =
|
|
2516
|
+
const i = Re(() => e ?? 9, [e]), s = Re(() => Math.max(1, t ?? 9), [t]), [l, c] = F(1);
|
|
2517
2517
|
q(() => {
|
|
2518
2518
|
c(n);
|
|
2519
2519
|
}, [n]);
|
|
2520
|
-
const d =
|
|
2521
|
-
const
|
|
2522
|
-
for (let
|
|
2523
|
-
const
|
|
2524
|
-
for (let
|
|
2525
|
-
const
|
|
2526
|
-
(
|
|
2520
|
+
const d = Re(() => {
|
|
2521
|
+
const v = [];
|
|
2522
|
+
for (let g = 0; g < s; g++) {
|
|
2523
|
+
const h = [];
|
|
2524
|
+
for (let p = 0; p < i; p++) {
|
|
2525
|
+
const m = p + g * i, x = r == null ? void 0 : r.find(
|
|
2526
|
+
(j) => j.position === m + 1
|
|
2527
2527
|
);
|
|
2528
|
-
|
|
2529
|
-
/* @__PURE__ */ o.jsx(gs, { onClick: a, cell:
|
|
2530
|
-
) :
|
|
2531
|
-
/* @__PURE__ */ o.jsx("div", { className: "cell cell--empty" }, `${
|
|
2528
|
+
x ? h.push(
|
|
2529
|
+
/* @__PURE__ */ o.jsx(gs, { onClick: a, cell: x }, `${g}-${p}`)
|
|
2530
|
+
) : h.push(
|
|
2531
|
+
/* @__PURE__ */ o.jsx("div", { className: "cell cell--empty" }, `${g}-${p}`)
|
|
2532
2532
|
);
|
|
2533
2533
|
}
|
|
2534
|
-
|
|
2535
|
-
/* @__PURE__ */ o.jsx("div", { className: "row", children:
|
|
2534
|
+
v.push(
|
|
2535
|
+
/* @__PURE__ */ o.jsx("div", { className: "row", children: h }, g)
|
|
2536
2536
|
);
|
|
2537
2537
|
}
|
|
2538
|
-
return
|
|
2539
|
-
}, [i, s, l])
|
|
2540
|
-
|
|
2538
|
+
return v;
|
|
2539
|
+
}, [i, s, l]), f = Re(
|
|
2540
|
+
() => ({ "--rows": String(s) }),
|
|
2541
|
+
[s]
|
|
2542
|
+
);
|
|
2543
|
+
return /* @__PURE__ */ o.jsx("div", { className: "damier", style: f, children: d });
|
|
2541
2544
|
};
|
|
2542
2545
|
var Be = /* @__PURE__ */ ((e) => (e.TEXT = "text", e.BUTTON = "button", e.EMAIL = "email", e.HIDDEN = "hidden", e.PASSWORD = "password", e.NUMBER = "number", e.CHECKBOX = "checkbox", e.RADIO = "radio", e.DATE = "date", e.SELECT = "select", e.TEXTAREA = "textarea", e))(Be || {});
|
|
2543
2546
|
const wr = Ue(
|
|
@@ -2558,7 +2561,7 @@ const wr = Ue(
|
|
|
2558
2561
|
autoComplete: h,
|
|
2559
2562
|
tabIndex: p = 0,
|
|
2560
2563
|
step: m,
|
|
2561
|
-
checked:
|
|
2564
|
+
checked: x,
|
|
2562
2565
|
onChange: j,
|
|
2563
2566
|
onBlur: b,
|
|
2564
2567
|
onClick: T,
|
|
@@ -2587,7 +2590,7 @@ const wr = Ue(
|
|
|
2587
2590
|
minLength: c,
|
|
2588
2591
|
maxLength: d,
|
|
2589
2592
|
onChange: j,
|
|
2590
|
-
checked:
|
|
2593
|
+
checked: x,
|
|
2591
2594
|
onKeyDown: S,
|
|
2592
2595
|
onBlur: b,
|
|
2593
2596
|
onClick: (W) => {
|
|
@@ -2691,12 +2694,12 @@ const pa = ({ display: e, full: t, message: r }) => /* @__PURE__ */ o.jsxs(o.Fra
|
|
|
2691
2694
|
value: v,
|
|
2692
2695
|
placeholder: g
|
|
2693
2696
|
}) => {
|
|
2694
|
-
const h = se({}), p = (
|
|
2697
|
+
const h = se({}), p = (x) => {
|
|
2695
2698
|
let j;
|
|
2696
2699
|
i ? (j = Array.from(
|
|
2697
|
-
|
|
2700
|
+
x.target.selectedOptions,
|
|
2698
2701
|
(b) => b.value
|
|
2699
|
-
), f && f(j)) : (j =
|
|
2702
|
+
), f && f(j)) : (j = x.target.value, d && d(j));
|
|
2700
2703
|
}, m = A(() => {
|
|
2701
2704
|
d && d("");
|
|
2702
2705
|
}, [d]);
|
|
@@ -2714,10 +2717,10 @@ const pa = ({ display: e, full: t, message: r }) => /* @__PURE__ */ o.jsxs(o.Fra
|
|
|
2714
2717
|
value: v ?? l ?? (i ? [] : ""),
|
|
2715
2718
|
onChange: p,
|
|
2716
2719
|
multiple: i,
|
|
2717
|
-
ref: (
|
|
2720
|
+
ref: (x) => h.current[e ?? "select"] = x,
|
|
2718
2721
|
children: [
|
|
2719
2722
|
g && !l && !i && /* @__PURE__ */ o.jsx("option", { selected: !0, disabled: !0, hidden: !0, value: "", children: g }),
|
|
2720
|
-
r.map((
|
|
2723
|
+
r.map((x, j) => /* @__PURE__ */ o.jsx("option", { value: x.value, children: x.label }, j))
|
|
2721
2724
|
]
|
|
2722
2725
|
}
|
|
2723
2726
|
),
|
|
@@ -2785,7 +2788,7 @@ function Vl(e) {
|
|
|
2785
2788
|
emptyMessage: h,
|
|
2786
2789
|
hasMore: p,
|
|
2787
2790
|
onSelectionChange: m,
|
|
2788
|
-
hideToggleAll:
|
|
2791
|
+
hideToggleAll: x = !1,
|
|
2789
2792
|
limitSelect: j = void 0,
|
|
2790
2793
|
getRowId: b
|
|
2791
2794
|
} = e, T = se(null), [S, O] = F(
|
|
@@ -2852,7 +2855,7 @@ function Vl(e) {
|
|
|
2852
2855
|
m && /* @__PURE__ */ o.jsx(
|
|
2853
2856
|
"th",
|
|
2854
2857
|
{
|
|
2855
|
-
className: `select-cell ${
|
|
2858
|
+
className: `select-cell ${x ? "hidden" : ""}`,
|
|
2856
2859
|
style: { width: "20px", textAlign: "center" },
|
|
2857
2860
|
children: /* @__PURE__ */ o.jsx(
|
|
2858
2861
|
wr,
|
|
@@ -2981,20 +2984,20 @@ var Cs = _s, un = { exports: {} }, Ps = () => {
|
|
|
2981
2984
|
function g(m) {
|
|
2982
2985
|
try {
|
|
2983
2986
|
p(d.next(m));
|
|
2984
|
-
} catch (
|
|
2985
|
-
v(
|
|
2987
|
+
} catch (x) {
|
|
2988
|
+
v(x);
|
|
2986
2989
|
}
|
|
2987
2990
|
}
|
|
2988
2991
|
function h(m) {
|
|
2989
2992
|
try {
|
|
2990
2993
|
p(d.throw(m));
|
|
2991
|
-
} catch (
|
|
2992
|
-
v(
|
|
2994
|
+
} catch (x) {
|
|
2995
|
+
v(x);
|
|
2993
2996
|
}
|
|
2994
2997
|
}
|
|
2995
2998
|
function p(m) {
|
|
2996
|
-
m.done ? f(m.value) : new c(function(
|
|
2997
|
-
|
|
2999
|
+
m.done ? f(m.value) : new c(function(x) {
|
|
3000
|
+
x(m.value);
|
|
2998
3001
|
}).then(g, h);
|
|
2999
3002
|
}
|
|
3000
3003
|
p((d = d.apply(s, l || [])).next());
|
|
@@ -3011,14 +3014,14 @@ var Cs = _s, un = { exports: {} }, Ps = () => {
|
|
|
3011
3014
|
return;
|
|
3012
3015
|
const p = (m) => r(this, void 0, void 0, function* () {
|
|
3013
3016
|
f = a.default();
|
|
3014
|
-
const
|
|
3015
|
-
if (
|
|
3017
|
+
const x = m[1][l] - Date.now();
|
|
3018
|
+
if (x <= 0) {
|
|
3016
3019
|
s.delete(m[0]), f.resolve();
|
|
3017
3020
|
return;
|
|
3018
3021
|
}
|
|
3019
3022
|
return c = m[0], d = setTimeout(() => {
|
|
3020
3023
|
s.delete(m[0]), f && f.resolve();
|
|
3021
|
-
},
|
|
3024
|
+
}, x), typeof d.unref == "function" && d.unref(), f.promise;
|
|
3022
3025
|
});
|
|
3023
3026
|
try {
|
|
3024
3027
|
for (const m of s)
|
|
@@ -3031,8 +3034,8 @@ var Cs = _s, un = { exports: {} }, Ps = () => {
|
|
|
3031
3034
|
}, h = s.set.bind(s);
|
|
3032
3035
|
return s.set = (p, m) => {
|
|
3033
3036
|
s.has(p) && s.delete(p);
|
|
3034
|
-
const
|
|
3035
|
-
return c && c === p && g(), v(),
|
|
3037
|
+
const x = h(p, m);
|
|
3038
|
+
return c && c === p && g(), v(), x;
|
|
3036
3039
|
}, v(), s;
|
|
3037
3040
|
}
|
|
3038
3041
|
t.default = i, e.exports = i, e.exports.default = i;
|
|
@@ -3476,7 +3479,7 @@ function Po(e, t) {
|
|
|
3476
3479
|
}
|
|
3477
3480
|
var Pe = "react-calendar__navigation";
|
|
3478
3481
|
function Sc(e) {
|
|
3479
|
-
var t = e.activeStartDate, r = e.drillUp, n = e.formatMonthYear, a = n === void 0 ? No : n, i = e.formatYear, s = i === void 0 ? Ir : i, l = e.locale, c = e.maxDate, d = e.minDate, f = e.navigationAriaLabel, v = f === void 0 ? "" : f, g = e.navigationAriaLive, h = e.navigationLabel, p = e.next2AriaLabel, m = p === void 0 ? "" : p,
|
|
3482
|
+
var t = e.activeStartDate, r = e.drillUp, n = e.formatMonthYear, a = n === void 0 ? No : n, i = e.formatYear, s = i === void 0 ? Ir : i, l = e.locale, c = e.maxDate, d = e.minDate, f = e.navigationAriaLabel, v = f === void 0 ? "" : f, g = e.navigationAriaLive, h = e.navigationLabel, p = e.next2AriaLabel, m = p === void 0 ? "" : p, x = e.next2Label, j = x === void 0 ? "»" : x, b = e.nextAriaLabel, T = b === void 0 ? "" : b, S = e.nextLabel, O = S === void 0 ? "›" : S, E = e.prev2AriaLabel, _ = E === void 0 ? "" : E, W = e.prev2Label, y = W === void 0 ? "«" : W, k = e.prevAriaLabel, I = k === void 0 ? "" : k, M = e.prevLabel, L = M === void 0 ? "‹" : M, X = e.setActiveStartDate, ve = e.showDoubleView, re = e.view, xe = e.views, Ie = xe.indexOf(re) > 0, ee = re !== "century", K = mc(re, t), ce = ee ? pc(re, t) : void 0, Z = Eo(re, t), Se = ee ? gc(re, t) : void 0, Ee = function() {
|
|
3480
3483
|
if (K.getFullYear() < 0)
|
|
3481
3484
|
return !0;
|
|
3482
3485
|
var te = yc(re, t);
|
|
@@ -3523,7 +3526,7 @@ function Sc(e) {
|
|
|
3523
3526
|
}
|
|
3524
3527
|
function Ot() {
|
|
3525
3528
|
var te = "".concat(Pe, "__label");
|
|
3526
|
-
return o.jsxs("button", { "aria-label": v, "aria-live": g, className: te, disabled: !
|
|
3529
|
+
return o.jsxs("button", { "aria-label": v, "aria-live": g, className: te, disabled: !Ie, onClick: r, style: { flexGrow: 1 }, type: "button", children: [o.jsx("span", { className: "".concat(te, "__labelText ").concat(te, "__labelText--from"), children: fe(t) }), ve ? o.jsxs(o.Fragment, { children: [o.jsx("span", { className: "".concat(te, "__divider"), children: " – " }), o.jsx("span", { className: "".concat(te, "__labelText ").concat(te, "__labelText--to"), children: fe(Z) })] }) : null] });
|
|
3527
3530
|
}
|
|
3528
3531
|
return o.jsxs("div", { className: Pe, children: [y !== null && ee ? o.jsx("button", { "aria-label": _, className: "".concat(Pe, "__arrow ").concat(Pe, "__prev2-button"), disabled: ke, onClick: ne, type: "button", children: y }) : null, L !== null && o.jsx("button", { "aria-label": I, className: "".concat(Pe, "__arrow ").concat(Pe, "__prev-button"), disabled: Ee, onClick: le, type: "button", children: L }), Ot(), O !== null && o.jsx("button", { "aria-label": T, className: "".concat(Pe, "__arrow ").concat(Pe, "__next-button"), disabled: me, onClick: De, type: "button", children: O }), j !== null && ee ? o.jsx("button", { "aria-label": m, className: "".concat(Pe, "__arrow ").concat(Pe, "__next2-button"), disabled: pe, onClick: _e, type: "button", children: j }) : null] });
|
|
3529
3532
|
}
|
|
@@ -3620,8 +3623,8 @@ function kc(e) {
|
|
|
3620
3623
|
return i;
|
|
3621
3624
|
}
|
|
3622
3625
|
function $r(e) {
|
|
3623
|
-
for (var t = e.className, r = e.count, n = r === void 0 ? 3 : r, a = e.dateTransform, i = e.dateType, s = e.end, l = e.hover, c = e.offset, d = e.renderTile, f = e.start, v = e.step, g = v === void 0 ? 1 : v, h = e.value, p = e.valueType, m = [],
|
|
3624
|
-
var j = a(
|
|
3626
|
+
for (var t = e.className, r = e.count, n = r === void 0 ? 3 : r, a = e.dateTransform, i = e.dateType, s = e.end, l = e.hover, c = e.offset, d = e.renderTile, f = e.start, v = e.step, g = v === void 0 ? 1 : v, h = e.value, p = e.valueType, m = [], x = f; x <= s; x += g) {
|
|
3627
|
+
var j = a(x);
|
|
3625
3628
|
m.push(d({
|
|
3626
3629
|
classes: kc({
|
|
3627
3630
|
date: j,
|
|
@@ -3636,14 +3639,14 @@ function $r(e) {
|
|
|
3636
3639
|
return o.jsx(Yn, { className: t, count: n, offset: c, wrap: !0, children: m });
|
|
3637
3640
|
}
|
|
3638
3641
|
function Mr(e) {
|
|
3639
|
-
var t = e.activeStartDate, r = e.children, n = e.classes, a = e.date, i = e.formatAbbr, s = e.locale, l = e.maxDate, c = e.maxDateTransform, d = e.minDate, f = e.minDateTransform, v = e.onClick, g = e.onMouseOver, h = e.style, p = e.tileClassName, m = e.tileContent,
|
|
3642
|
+
var t = e.activeStartDate, r = e.children, n = e.classes, a = e.date, i = e.formatAbbr, s = e.locale, l = e.maxDate, c = e.maxDateTransform, d = e.minDate, f = e.minDateTransform, v = e.onClick, g = e.onMouseOver, h = e.style, p = e.tileClassName, m = e.tileContent, x = e.tileDisabled, j = e.view, b = Re(function() {
|
|
3640
3643
|
var S = { activeStartDate: t, date: a, view: j };
|
|
3641
3644
|
return typeof p == "function" ? p(S) : p;
|
|
3642
|
-
}, [t, a, p, j]), T =
|
|
3645
|
+
}, [t, a, p, j]), T = Re(function() {
|
|
3643
3646
|
var S = { activeStartDate: t, date: a, view: j };
|
|
3644
3647
|
return typeof m == "function" ? m(S) : m;
|
|
3645
3648
|
}, [t, a, m, j]);
|
|
3646
|
-
return o.jsxs("button", { className: Pr(n, b), disabled: d && f(d) > a || l && c(l) < a || (
|
|
3649
|
+
return o.jsxs("button", { className: Pr(n, b), disabled: d && f(d) > a || l && c(l) < a || (x == null ? void 0 : x({ activeStartDate: t, date: a, view: j })), onClick: v ? function(S) {
|
|
3647
3650
|
return v(a, S);
|
|
3648
3651
|
} : void 0, onFocus: g ? function() {
|
|
3649
3652
|
return g(a);
|
|
@@ -3872,20 +3875,20 @@ function Uc(e) {
|
|
|
3872
3875
|
var t = e.activeStartDate, r = e.calendarType, n = e.hover, a = e.showFixedNumberOfWeeks, i = e.showNeighboringMonth, s = e.value, l = e.valueType, c = ka(e, ["activeStartDate", "calendarType", "hover", "showFixedNumberOfWeeks", "showNeighboringMonth", "value", "valueType"]), d = Q(t), f = ze(t), v = a || i, g = Vt(t, r), h = v ? 0 : g, p = (v ? -g : 0) + 1, m = function() {
|
|
3873
3876
|
if (a)
|
|
3874
3877
|
return p + 6 * 7 - 1;
|
|
3875
|
-
var
|
|
3878
|
+
var x = Oo(t);
|
|
3876
3879
|
if (i) {
|
|
3877
3880
|
var j = /* @__PURE__ */ new Date();
|
|
3878
|
-
j.setFullYear(d, f,
|
|
3881
|
+
j.setFullYear(d, f, x), j.setHours(0, 0, 0, 0);
|
|
3879
3882
|
var b = 7 - Vt(j, r) - 1;
|
|
3880
|
-
return
|
|
3883
|
+
return x + b;
|
|
3881
3884
|
}
|
|
3882
|
-
return
|
|
3885
|
+
return x;
|
|
3883
3886
|
}();
|
|
3884
|
-
return o.jsx($r, { className: "react-calendar__month-view__days", count: 7, dateTransform: function(
|
|
3887
|
+
return o.jsx($r, { className: "react-calendar__month-view__days", count: 7, dateTransform: function(x) {
|
|
3885
3888
|
var j = /* @__PURE__ */ new Date();
|
|
3886
|
-
return j.setFullYear(d, f,
|
|
3887
|
-
}, dateType: "day", hover: n, end: m, renderTile: function(
|
|
3888
|
-
var j =
|
|
3889
|
+
return j.setFullYear(d, f, x), Gt(j);
|
|
3890
|
+
}, dateType: "day", hover: n, end: m, renderTile: function(x) {
|
|
3891
|
+
var j = x.date, b = ka(x, ["date"]);
|
|
3889
3892
|
return o.jsx(Bc, Sn({}, c, b, { activeStartDate: t, calendarType: r, currentMonthIndex: f, date: j }), j.getTime());
|
|
3890
3893
|
}, offset: h, start: p, value: s, valueType: l });
|
|
3891
3894
|
}
|
|
@@ -4081,9 +4084,9 @@ function ur(e, t) {
|
|
|
4081
4084
|
return e instanceof Date && t instanceof Date && e.getTime() === t.getTime();
|
|
4082
4085
|
}
|
|
4083
4086
|
var nl = Ue(function(t, r) {
|
|
4084
|
-
var n = t.activeStartDate, a = t.allowPartialRange, i = t.calendarType, s = t.className, l = t.defaultActiveStartDate, c = t.defaultValue, d = t.defaultView, f = t.formatDay, v = t.formatLongDate, g = t.formatMonth, h = t.formatMonthYear, p = t.formatShortWeekday, m = t.formatWeekday,
|
|
4087
|
+
var n = t.activeStartDate, a = t.allowPartialRange, i = t.calendarType, s = t.className, l = t.defaultActiveStartDate, c = t.defaultValue, d = t.defaultView, f = t.formatDay, v = t.formatLongDate, g = t.formatMonth, h = t.formatMonthYear, p = t.formatShortWeekday, m = t.formatWeekday, x = t.formatYear, j = t.goToRangeStartOnSelect, b = j === void 0 ? !0 : j, T = t.inputRef, S = t.locale, O = t.maxDate, E = O === void 0 ? Qc : O, _ = t.maxDetail, W = _ === void 0 ? "month" : _, y = t.minDate, k = y === void 0 ? Bn : y, I = t.minDetail, M = I === void 0 ? "century" : I, L = t.navigationAriaLabel, X = t.navigationAriaLive, ve = t.navigationLabel, re = t.next2AriaLabel, xe = t.next2Label, Ie = t.nextAriaLabel, ee = t.nextLabel, K = t.onActiveStartDateChange, ce = t.onChange, Z = t.onClickDay, Se = t.onClickDecade, Ee = t.onClickMonth, ke = t.onClickWeekNumber, me = t.onClickYear, pe = t.onDrillDown, le = t.onDrillUp, ne = t.onViewChange, De = t.prev2AriaLabel, _e = t.prev2Label, fe = t.prevAriaLabel, Ot = t.prevLabel, te = t.returnValue, Ce = te === void 0 ? "start" : te, oe = t.selectRange, He = t.showDoubleView, Nt = t.showFixedNumberOfWeeks, qe = t.showNavigation, Lr = qe === void 0 ? !0 : qe, Fr = t.showNeighboringCentury, Et = t.showNeighboringDecade, Ht = t.showNeighboringMonth, Wr = Ht === void 0 ? !0 : Ht, qt = t.showWeekNumbers, Xt = t.tileClassName, Kt = t.tileContent, Vr = t.tileDisabled, it = t.value, kt = t.view, Jt = F(l), Yr = Jt[0], st = Jt[1], Qt = F(null), Br = Qt[0], Zt = Qt[1], er = F(Array.isArray(c) ? c.map(function(N) {
|
|
4085
4088
|
return N !== null ? Ft(N) : null;
|
|
4086
|
-
}) : c != null ? Ft(c) : null), Xe = er[0], tr = er[1],
|
|
4089
|
+
}) : c != null ? Ft(c) : null), Xe = er[0], tr = er[1], $e = F(d), _t = $e[0], ct = $e[1], ue = n || Yr || rl({
|
|
4087
4090
|
activeStartDate: n,
|
|
4088
4091
|
defaultActiveStartDate: l,
|
|
4089
4092
|
defaultValue: c,
|
|
@@ -4262,7 +4265,7 @@ var nl = Ue(function(t, r) {
|
|
|
4262
4265
|
function u(N) {
|
|
4263
4266
|
Zt(N);
|
|
4264
4267
|
}
|
|
4265
|
-
function
|
|
4268
|
+
function w() {
|
|
4266
4269
|
Zt(null);
|
|
4267
4270
|
}
|
|
4268
4271
|
Dr(r, function() {
|
|
@@ -4293,22 +4296,22 @@ var nl = Ue(function(t, r) {
|
|
|
4293
4296
|
};
|
|
4294
4297
|
switch (G) {
|
|
4295
4298
|
case "century":
|
|
4296
|
-
return o.jsx(Tc, ht({ formatYear:
|
|
4299
|
+
return o.jsx(Tc, ht({ formatYear: x, showNeighboringCentury: Fr }, z));
|
|
4297
4300
|
case "decade":
|
|
4298
|
-
return o.jsx($c, ht({ formatYear:
|
|
4301
|
+
return o.jsx($c, ht({ formatYear: x, showNeighboringDecade: Et }, z));
|
|
4299
4302
|
case "year":
|
|
4300
4303
|
return o.jsx(Vc, ht({ formatMonth: g, formatMonthYear: h }, z));
|
|
4301
4304
|
case "month":
|
|
4302
|
-
return o.jsx(Kc, ht({ calendarType: i, formatDay: f, formatLongDate: v, formatShortWeekday: p, formatWeekday: m, onClickWeekNumber: ke, onMouseLeave: oe ?
|
|
4305
|
+
return o.jsx(Kc, ht({ calendarType: i, formatDay: f, formatLongDate: v, formatShortWeekday: p, formatWeekday: m, onClickWeekNumber: ke, onMouseLeave: oe ? w : void 0, showFixedNumberOfWeeks: typeof Nt < "u" ? Nt : He, showNeighboringMonth: Wr, showWeekNumbers: qt }, z));
|
|
4303
4306
|
default:
|
|
4304
4307
|
throw new Error("Invalid view: ".concat(G, "."));
|
|
4305
4308
|
}
|
|
4306
4309
|
}
|
|
4307
4310
|
function R() {
|
|
4308
|
-
return Lr ? o.jsx(Sc, { activeStartDate: ue, drillUp: Rt, formatMonthYear: h, formatYear:
|
|
4311
|
+
return Lr ? o.jsx(Sc, { activeStartDate: ue, drillUp: Rt, formatMonthYear: h, formatYear: x, locale: S, maxDate: E, minDate: k, navigationAriaLabel: L, navigationAriaLive: X, navigationLabel: ve, next2AriaLabel: re, next2Label: xe, nextAriaLabel: Ie, nextLabel: ee, prev2AriaLabel: De, prev2Label: _e, prevAriaLabel: fe, prevLabel: Ot, setActiveStartDate: lt, showDoubleView: He, view: G, views: we }) : null;
|
|
4309
4312
|
}
|
|
4310
4313
|
var B = Array.isArray(he) ? he : [he];
|
|
4311
|
-
return o.jsxs("div", { className: Pr(lr, oe && B.length === 1 && "".concat(lr, "--selectRange"), He && "".concat(lr, "--doubleView"), s), ref: T, children: [R(), o.jsxs("div", { className: "".concat(lr, "__viewContainer"), onBlur: oe ?
|
|
4314
|
+
return o.jsxs("div", { className: Pr(lr, oe && B.length === 1 && "".concat(lr, "--selectRange"), He && "".concat(lr, "--doubleView"), s), ref: T, children: [R(), o.jsxs("div", { className: "".concat(lr, "__viewContainer"), onBlur: oe ? w : void 0, onMouseLeave: oe ? w : void 0, children: [D(), He ? D(!0) : null] })] });
|
|
4312
4315
|
});
|
|
4313
4316
|
const Yl = ({
|
|
4314
4317
|
value: e,
|
|
@@ -4363,8 +4366,8 @@ const Yl = ({
|
|
|
4363
4366
|
maxDate: r ?? /* @__PURE__ */ new Date(),
|
|
4364
4367
|
onChange: d,
|
|
4365
4368
|
value: a,
|
|
4366
|
-
tileClassName: ({ date: m, view:
|
|
4367
|
-
if (
|
|
4369
|
+
tileClassName: ({ date: m, view: x }) => {
|
|
4370
|
+
if (x === "month" && g) {
|
|
4368
4371
|
const j = g;
|
|
4369
4372
|
return m.getMonth() !== (j == null ? void 0 : j.getMonth()) ? "out-of-month" : null;
|
|
4370
4373
|
}
|
|
@@ -4525,7 +4528,7 @@ const Yl = ({
|
|
|
4525
4528
|
return e.forEach((k) => {
|
|
4526
4529
|
y[k.name] = k.value ?? "";
|
|
4527
4530
|
}), y;
|
|
4528
|
-
}), m = se({}),
|
|
4531
|
+
}), m = se({}), x = A(
|
|
4529
4532
|
(y, k) => {
|
|
4530
4533
|
const { name: I, type: M, checked: L, value: X } = y.target, ve = M === "checkbox" ? L : X;
|
|
4531
4534
|
k.onChange && k.onChange(ve, I), p((re) => {
|
|
@@ -4647,7 +4650,7 @@ const Yl = ({
|
|
|
4647
4650
|
step: y.step ?? "0.01",
|
|
4648
4651
|
value: h[y.name],
|
|
4649
4652
|
checked: y.type === "checkbox" ? !!h[y.name] : void 0,
|
|
4650
|
-
onChange: (L) =>
|
|
4653
|
+
onChange: (L) => x(L, y),
|
|
4651
4654
|
onInvalid: y.onInvalid ? y.onInvalid : void 0
|
|
4652
4655
|
}
|
|
4653
4656
|
)
|
|
@@ -4688,7 +4691,7 @@ const Yl = ({
|
|
|
4688
4691
|
onChange: h,
|
|
4689
4692
|
onBlur: p,
|
|
4690
4693
|
onClick: m,
|
|
4691
|
-
onKeyDown:
|
|
4694
|
+
onKeyDown: x,
|
|
4692
4695
|
onFocus: j
|
|
4693
4696
|
}, b) => {
|
|
4694
4697
|
const T = A(
|
|
@@ -4698,7 +4701,7 @@ const Yl = ({
|
|
|
4698
4701
|
},
|
|
4699
4702
|
[h, c]
|
|
4700
4703
|
), S = (O) => {
|
|
4701
|
-
if (
|
|
4704
|
+
if (x && x(O), !(/[0-9]|Backspace|Delete|ArrowLeft|ArrowRight|Tab|Enter|Home|End/.test(
|
|
4702
4705
|
O.key
|
|
4703
4706
|
) || O.key === "." || O.key === "," || O.key === "-")) {
|
|
4704
4707
|
O.preventDefault();
|
|
@@ -4839,7 +4842,7 @@ const zl = Ue(
|
|
|
4839
4842
|
] })
|
|
4840
4843
|
] });
|
|
4841
4844
|
}, ql = ({ text: e, severity: t, className: r }) => {
|
|
4842
|
-
const n =
|
|
4845
|
+
const n = Re(() => {
|
|
4843
4846
|
switch (t) {
|
|
4844
4847
|
case "info":
|
|
4845
4848
|
return "bi-info-circle";
|
|
@@ -5005,7 +5008,7 @@ const zl = Ue(
|
|
|
5005
5008
|
setIsVisible: l,
|
|
5006
5009
|
id: c
|
|
5007
5010
|
}, d) => {
|
|
5008
|
-
const [f, v] = F(n ?? !1), g = se(null), h = se(null), p =
|
|
5011
|
+
const [f, v] = F(n ?? !1), g = se(null), h = se(null), p = Re(
|
|
5009
5012
|
() => [
|
|
5010
5013
|
{
|
|
5011
5014
|
value: "",
|
|
@@ -5029,7 +5032,7 @@ const zl = Ue(
|
|
|
5029
5032
|
l && l(b), v(b);
|
|
5030
5033
|
},
|
|
5031
5034
|
[l]
|
|
5032
|
-
),
|
|
5035
|
+
), x = A(
|
|
5033
5036
|
(b) => {
|
|
5034
5037
|
if (!b || !b[t ?? "recherche"])
|
|
5035
5038
|
return m(!1);
|
|
@@ -5063,7 +5066,7 @@ const zl = Ue(
|
|
|
5063
5066
|
{
|
|
5064
5067
|
ref: h,
|
|
5065
5068
|
onSubmit: j,
|
|
5066
|
-
onChange:
|
|
5069
|
+
onChange: x,
|
|
5067
5070
|
hideSubmit: !0,
|
|
5068
5071
|
initialForm: p
|
|
5069
5072
|
}
|
|
@@ -5188,12 +5191,12 @@ const zl = Ue(
|
|
|
5188
5191
|
return l;
|
|
5189
5192
|
}, fl = (e) => e ? Pa(e) : Pa, hl = (e) => e;
|
|
5190
5193
|
function vl(e, t = hl) {
|
|
5191
|
-
const r =
|
|
5194
|
+
const r = Ae.useSyncExternalStore(
|
|
5192
5195
|
e.subscribe,
|
|
5193
5196
|
() => t(e.getState()),
|
|
5194
5197
|
() => t(e.getInitialState())
|
|
5195
5198
|
);
|
|
5196
|
-
return
|
|
5199
|
+
return Ae.useDebugValue(r), r;
|
|
5197
5200
|
}
|
|
5198
5201
|
const Ta = (e) => {
|
|
5199
5202
|
const t = fl(e), r = (n) => vl(t, n);
|