@sisense/sdk-shared-ui 1.32.0 → 1.34.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/{Breadcrumbs-CQNCIJ2Y.js → Breadcrumbs-D4b_GQtd.js} +9 -9
- package/dist/{Breadcrumbs-B46ViOSv.cjs → Breadcrumbs-DHLUMk5g.cjs} +1 -1
- package/dist/{Button-D5ZAS_sd.js → Button-APrD1mzX.js} +2 -2
- package/dist/{Button-CoMaroSC.cjs → Button-DOVMisTd.cjs} +1 -1
- package/dist/{ButtonBase-Camgk6s8.cjs → ButtonBase-BS1IFUdV.cjs} +1 -1
- package/dist/{ButtonBase-DPVWpC8-.js → ButtonBase-DOZfyNZL.js} +2 -2
- package/dist/{CheckableList-BLLCGCKX.cjs → CheckableList-1Jq4spYu.cjs} +1 -1
- package/dist/{CheckableList-CC7iKnHq.js → CheckableList-DTTE9oEw.js} +1 -1
- package/dist/{Checkbox-oJOn5Vb9.cjs → Checkbox-Ckp-O85I.cjs} +1 -1
- package/dist/{Checkbox-3bG1OLg3.js → Checkbox-DFOHQKnj.js} +10 -10
- package/dist/{DEPRECATED_Button-D2XS1y1r.cjs → DEPRECATED_Button-CKGdJitl.cjs} +1 -1
- package/dist/{DEPRECATED_Button-m2ifXo3Q.js → DEPRECATED_Button-Dhs0ieAl.js} +2 -2
- package/dist/{DEPRECATED_Checkbox-DWtXr5K7.js → DEPRECATED_Checkbox-Be1l_Vce.js} +1 -1
- package/dist/{DEPRECATED_Checkbox-CYomxatm.cjs → DEPRECATED_Checkbox-BggU0HO5.cjs} +1 -1
- package/dist/{DEPRECATED_Icon-iUszZb09.cjs → DEPRECATED_Icon-DC1Hc9iB.cjs} +1 -1
- package/dist/Dropdown-D8rLKKcl.cjs +1 -0
- package/dist/{Dropdown-BxoUPsca.js → Dropdown-DtWYpFk8.js} +50 -50
- package/dist/{Icon-D0uZg6iJ.js → Icon-YfaQM06u.js} +6 -6
- package/dist/{Icon-CqoYg88-.cjs → Icon-gOwM-Vrv.cjs} +1 -1
- package/dist/{Input-BghWSV2Z.js → Input-CNvYE0Er.js} +2 -2
- package/dist/{Input-Cd6a2FUC.cjs → Input-_wNCDCdI.cjs} +1 -1
- package/dist/{Menu-BfAQOpHl.cjs → Menu-DkPO8bCf.cjs} +1 -1
- package/dist/{Menu-C5wQnuq6.js → Menu-EXiwd8T_.js} +57 -58
- package/dist/{Popover-Bp5g_ws9.cjs → Popover-BjgDIgO7.cjs} +1 -1
- package/dist/{Popover-0n4kd3ut.js → Popover-CiYeL2VE.js} +4 -4
- package/dist/{useSlot-7x9FkqBW.js → Portal-CLHtBz5i.js} +100 -100
- package/dist/{useSlot-B_P_o-pz.cjs → Portal-DCkmwdyF.cjs} +1 -1
- package/dist/{SvgIcon-DsAvI5iY.js → SvgIcon-DRiOiPzl.js} +1 -1
- package/dist/{SvgIcon-Dg-EBYZz.cjs → SvgIcon-DwrPxEJR.cjs} +1 -1
- package/dist/{TablePagination-DUkJaWJG.js → TablePagination-DMqJ2TDQ.js} +72 -72
- package/dist/{TablePagination-Yp8eKLZB.cjs → TablePagination-DxCn_NpI.cjs} +2 -2
- package/dist/{ThemeProvider-BjBWRt7C.cjs → ThemeProvider-CLfPqpv1.cjs} +27 -27
- package/dist/{ThemeProvider-BCsnqK18.js → ThemeProvider-idCYeHSk.js} +720 -720
- package/dist/{Tooltip-B0-7TF8b.js → Tooltip-DAxLCXwu.js} +10 -10
- package/dist/Tooltip-_QBcDSPT.cjs +7 -0
- package/dist/{Typography-BGFgTnYN.js → Typography-V0qAux0_.js} +20 -20
- package/dist/{Typography-CGsd6zC4.cjs → Typography-qWhZXZhp.cjs} +1 -1
- package/dist/{createSvgIcon-DDrcw4wZ.cjs → createSvgIcon-BECoGUSX.cjs} +1 -1
- package/dist/{createSvgIcon-rAujRRtd.js → createSvgIcon-BFO1uNry.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +46 -46
- package/dist/lib/Breadcrumbs/Breadcrumbs.cjs +1 -1
- package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/lib/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/lib/Breadcrumbs/index.d.ts +1 -1
- package/dist/lib/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/lib/Breadcrumbs/themes/index.d.ts +1 -1
- package/dist/lib/Breadcrumbs/themes/index.d.ts.map +1 -1
- package/dist/lib/Button/Button.cjs +1 -1
- package/dist/lib/Button/Button.d.ts +1 -1
- package/dist/lib/Button/Button.d.ts.map +1 -1
- package/dist/lib/Button/Button.js +2 -2
- package/dist/lib/Button/index.d.ts +1 -1
- package/dist/lib/Button/index.d.ts.map +1 -1
- package/dist/lib/Button/themes/index.d.ts +1 -1
- package/dist/lib/Button/themes/index.d.ts.map +1 -1
- package/dist/lib/CheckableList/CheckableList.cjs +1 -1
- package/dist/lib/CheckableList/CheckableList.d.ts.map +1 -1
- package/dist/lib/CheckableList/CheckableList.js +1 -1
- package/dist/lib/Checkbox/Checkbox.cjs +1 -1
- package/dist/lib/Checkbox/Checkbox.d.ts +1 -1
- package/dist/lib/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/lib/Checkbox/Checkbox.js +1 -1
- package/dist/lib/Checkbox/themes/index.d.ts +1 -1
- package/dist/lib/Checkbox/themes/index.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.js +1 -1
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.cjs +1 -1
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.js +1 -1
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.cjs +1 -1
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.js +1 -1
- package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -1
- package/dist/lib/Dropdown/Dropdown.cjs +1 -1
- package/dist/lib/Dropdown/Dropdown.d.ts +1 -1
- package/dist/lib/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/lib/Dropdown/Dropdown.js +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts.map +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts.map +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts.map +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts.map +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts.map +1 -1
- package/dist/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts +1 -1
- package/dist/lib/Icon/Icon.cjs +1 -1
- package/dist/lib/Icon/Icon.d.ts +1 -1
- package/dist/lib/Icon/Icon.d.ts.map +1 -1
- package/dist/lib/Icon/Icon.js +1 -1
- package/dist/lib/Icon/themes/index.d.ts +1 -1
- package/dist/lib/Icon/themes/index.d.ts.map +1 -1
- package/dist/lib/Input/Input.cjs +1 -1
- package/dist/lib/Input/Input.d.ts.map +1 -1
- package/dist/lib/Input/Input.js +1 -1
- package/dist/lib/Menu/Confirmation/Confirmation.d.ts.map +1 -1
- package/dist/lib/Menu/Menu.cjs +1 -1
- package/dist/lib/Menu/Menu.d.ts.map +1 -1
- package/dist/lib/Menu/Menu.js +2 -2
- package/dist/lib/Menu/MenuItem/MenuItem.d.ts.map +1 -1
- package/dist/lib/Menu/MenuItem/index.d.ts +2 -2
- package/dist/lib/Menu/MenuItem/index.d.ts.map +1 -1
- package/dist/lib/Menu/index.d.ts +2 -2
- package/dist/lib/Menu/index.d.ts.map +1 -1
- package/dist/lib/Popover/Popover.cjs +1 -1
- package/dist/lib/Popover/Popover.d.ts.map +1 -1
- package/dist/lib/Popover/Popover.js +1 -1
- package/dist/lib/RadioButton/RadioButton.d.ts.map +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts.map +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts.map +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts.map +1 -1
- package/dist/lib/TablePagination/TablePagination.cjs +1 -1
- package/dist/lib/TablePagination/TablePagination.d.ts +1 -1
- package/dist/lib/TablePagination/TablePagination.d.ts.map +1 -1
- package/dist/lib/TablePagination/TablePagination.js +1 -1
- package/dist/lib/TablePagination/themes/index.d.ts +1 -1
- package/dist/lib/TablePagination/themes/index.d.ts.map +1 -1
- package/dist/lib/TablePagination/themes/tablePaginationTheme.d.ts.map +1 -1
- package/dist/lib/Tooltip/Tooltip.cjs +1 -1
- package/dist/lib/Tooltip/Tooltip.d.ts +1 -1
- package/dist/lib/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/lib/Tooltip/Tooltip.js +2 -2
- package/dist/lib/Tooltip/index.d.ts +1 -1
- package/dist/lib/Tooltip/index.d.ts.map +1 -1
- package/dist/lib/Tooltip/themes/index.d.ts +1 -1
- package/dist/lib/Tooltip/themes/index.d.ts.map +1 -1
- package/dist/lib/Tooltip/themes/tooltipTheme.d.ts.map +1 -1
- package/dist/lib/Typography/Typography.cjs +1 -1
- package/dist/lib/Typography/Typography.d.ts +1 -1
- package/dist/lib/Typography/Typography.d.ts.map +1 -1
- package/dist/lib/Typography/Typography.js +2 -2
- package/dist/lib/Typography/index.d.ts +1 -1
- package/dist/lib/Typography/index.d.ts.map +1 -1
- package/dist/lib/Typography/themes/index.d.ts +1 -1
- package/dist/lib/Typography/themes/index.d.ts.map +1 -1
- package/dist/lib/Typography/themes/typographyTheme.d.ts.map +1 -1
- package/dist/lib/index.d.ts +7 -7
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/themes/colors/siColors.d.ts +1 -1
- package/dist/lib/themes/index.d.ts +1 -1
- package/dist/lib/themes/themes.cjs +1 -1
- package/dist/lib/themes/themes.js +1 -1
- package/dist/package.json +4 -3
- package/dist/{useSlotProps-COvANhgg.cjs → useSlotProps-1DAAbdYI.cjs} +1 -1
- package/dist/{useSlotProps-BpXHXb21.js → useSlotProps-DHNviH4P.js} +2 -2
- package/dist/{useTheme-BN6DGaDZ.cjs → useTheme-CKptR5QM.cjs} +1 -1
- package/dist/{useTheme-eCVqNAnk.js → useTheme-CNirH-1O.js} +1 -1
- package/dist/useTimeout-DwkOFF8P.cjs +2 -0
- package/dist/{useTimeout-BG7TPjEm.js → useTimeout-Oe_jK-ia.js} +18 -18
- package/package.json +4 -3
- package/dist/Dropdown-BtZZ4fY6.cjs +0 -1
- package/dist/Tooltip-DE1hlnS3.cjs +0 -7
- package/dist/useTimeout-DQN9lwd_.cjs +0 -2
- package/dist/{DEPRECATED_Icon-BQ4AqiI1.js → DEPRECATED_Icon-Bgufd-9Q.js} +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as f from "react";
|
|
2
2
|
import k from "react";
|
|
3
|
+
import { r as lt, m as ct, a as pt } from "./useSlotProps-DHNviH4P.js";
|
|
4
|
+
import { _ as ft, T as Q, c as Y, u as q, b as dt, e as W, s as X } from "./useTimeout-Oe_jK-ia.js";
|
|
3
5
|
import { P as e } from "./index-D0lMis-I.js";
|
|
4
|
-
import { o as
|
|
5
|
-
import { u as
|
|
6
|
-
import { jsx as
|
|
7
|
-
import { _ as
|
|
8
|
-
import
|
|
9
|
-
import * as ht from "react-dom";
|
|
6
|
+
import { o as Et, n as mt } from "./ThemeProvider-idCYeHSk.js";
|
|
7
|
+
import { u as ht } from "./useTheme-CNirH-1O.js";
|
|
8
|
+
import { jsx as xt } from "react/jsx-runtime";
|
|
9
|
+
import { _ as gt } from "./setPrototypeOf-CEtRTXk2.js";
|
|
10
|
+
import * as vt from "react-dom";
|
|
10
11
|
import V from "react-dom";
|
|
11
|
-
import { r as xt, m as gt, a as vt } from "./useSlotProps-BpXHXb21.js";
|
|
12
12
|
function Tt() {
|
|
13
|
-
const n =
|
|
14
|
-
return process.env.NODE_ENV !== "production" && f.useDebugValue(n), n[
|
|
13
|
+
const n = ht(mt);
|
|
14
|
+
return process.env.NODE_ENV !== "production" && f.useDebugValue(n), n[Et] || n;
|
|
15
15
|
}
|
|
16
16
|
const z = {
|
|
17
17
|
disabled: !1
|
|
@@ -36,7 +36,7 @@ process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
|
|
|
36
36
|
var bt = function(s) {
|
|
37
37
|
return s.scrollTop;
|
|
38
38
|
}, I = "unmounted", T = "exited", y = "entering", C = "entered", G = "exiting", h = /* @__PURE__ */ function(n) {
|
|
39
|
-
|
|
39
|
+
ft(s, n);
|
|
40
40
|
function s(i, o) {
|
|
41
41
|
var t;
|
|
42
42
|
t = n.call(this, i, o) || this;
|
|
@@ -154,7 +154,7 @@ var bt = function(s) {
|
|
|
154
154
|
return null;
|
|
155
155
|
var t = this.props, r = t.children;
|
|
156
156
|
t.in, t.mountOnEnter, t.unmountOnExit, t.appear, t.enter, t.exit, t.timeout, t.addEndListener, t.onEnter, t.onEntering, t.onEntered, t.onExit, t.onExiting, t.onExited, t.nodeRef;
|
|
157
|
-
var u =
|
|
157
|
+
var u = gt(t, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
158
158
|
return (
|
|
159
159
|
// allows for nested Transitions
|
|
160
160
|
/* @__PURE__ */ k.createElement(Q.Provider, {
|
|
@@ -374,12 +374,87 @@ function Z(n, s, a, i, o) {
|
|
|
374
374
|
}
|
|
375
375
|
const tt = Y(e.element, Z);
|
|
376
376
|
tt.isRequired = Y(e.element.isRequired, Z);
|
|
377
|
+
const Dt = "exact-prop: ";
|
|
378
|
+
function Rt(n) {
|
|
379
|
+
return process.env.NODE_ENV === "production" ? n : {
|
|
380
|
+
...n,
|
|
381
|
+
[Dt]: (s) => {
|
|
382
|
+
const a = Object.keys(s).filter((i) => !n.hasOwnProperty(i));
|
|
383
|
+
return a.length > 0 ? new Error(`The following props are not supported: ${a.map((i) => `\`${i}\``).join(", ")}. Please remove them.`) : null;
|
|
384
|
+
}
|
|
385
|
+
};
|
|
386
|
+
}
|
|
387
|
+
function Ot(n, s, a, i, o) {
|
|
388
|
+
if (process.env.NODE_ENV === "production")
|
|
389
|
+
return null;
|
|
390
|
+
const t = n[s], r = o || s;
|
|
391
|
+
return t == null ? null : t && t.nodeType !== 1 ? new Error(`Invalid ${i} \`${r}\` supplied to \`${a}\`. Expected an HTMLElement.`) : null;
|
|
392
|
+
}
|
|
393
|
+
function Ut(n) {
|
|
394
|
+
return n && n.ownerDocument || document;
|
|
395
|
+
}
|
|
396
|
+
let B = 0;
|
|
397
|
+
function St(n) {
|
|
398
|
+
const [s, a] = f.useState(n), i = n || s;
|
|
399
|
+
return f.useEffect(() => {
|
|
400
|
+
s == null && (B += 1, a(`mui-${B}`));
|
|
401
|
+
}, [s]), i;
|
|
402
|
+
}
|
|
403
|
+
const Pt = {
|
|
404
|
+
...f
|
|
405
|
+
}, K = Pt.useId;
|
|
406
|
+
function jt(n) {
|
|
407
|
+
if (K !== void 0) {
|
|
408
|
+
const s = K();
|
|
409
|
+
return n ?? s;
|
|
410
|
+
}
|
|
411
|
+
return St(n);
|
|
412
|
+
}
|
|
377
413
|
function et(n) {
|
|
378
414
|
var s;
|
|
379
415
|
return parseInt(f.version, 10) >= 19 ? ((s = n == null ? void 0 : n.props) == null ? void 0 : s.ref) || null : (n == null ? void 0 : n.ref) || null;
|
|
380
416
|
}
|
|
381
|
-
|
|
382
|
-
|
|
417
|
+
function qt(n, s) {
|
|
418
|
+
const {
|
|
419
|
+
className: a,
|
|
420
|
+
elementType: i,
|
|
421
|
+
ownerState: o,
|
|
422
|
+
externalForwardedProps: t,
|
|
423
|
+
internalForwardedProps: r,
|
|
424
|
+
...u
|
|
425
|
+
} = s, {
|
|
426
|
+
component: l,
|
|
427
|
+
slots: p = {
|
|
428
|
+
[n]: void 0
|
|
429
|
+
},
|
|
430
|
+
slotProps: d = {
|
|
431
|
+
[n]: void 0
|
|
432
|
+
},
|
|
433
|
+
...v
|
|
434
|
+
} = t, b = p[n] || i, N = lt(d[n], o), {
|
|
435
|
+
props: {
|
|
436
|
+
component: D,
|
|
437
|
+
...E
|
|
438
|
+
},
|
|
439
|
+
internalRef: $
|
|
440
|
+
} = ct({
|
|
441
|
+
className: a,
|
|
442
|
+
...u,
|
|
443
|
+
externalForwardedProps: n === "root" ? v : void 0,
|
|
444
|
+
externalSlotProps: N
|
|
445
|
+
}), A = q($, N == null ? void 0 : N.ref, s.ref), _ = n === "root" ? D || l : D, w = pt(b, {
|
|
446
|
+
...n === "root" && !l && !p[n] && r,
|
|
447
|
+
...n !== "root" && !p[n] && r,
|
|
448
|
+
...E,
|
|
449
|
+
..._ && {
|
|
450
|
+
as: _
|
|
451
|
+
},
|
|
452
|
+
ref: A
|
|
453
|
+
}, o);
|
|
454
|
+
return [b, w];
|
|
455
|
+
}
|
|
456
|
+
const Ct = (n) => n.scrollTop;
|
|
457
|
+
function J(n, s) {
|
|
383
458
|
const {
|
|
384
459
|
timeout: a,
|
|
385
460
|
easing: i,
|
|
@@ -394,7 +469,7 @@ function B(n, s) {
|
|
|
394
469
|
function H(n) {
|
|
395
470
|
return `scale(${n}, ${n ** 2})`;
|
|
396
471
|
}
|
|
397
|
-
const
|
|
472
|
+
const wt = {
|
|
398
473
|
entering: {
|
|
399
474
|
opacity: 1,
|
|
400
475
|
transform: H(1)
|
|
@@ -421,18 +496,18 @@ const Rt = {
|
|
|
421
496
|
// eslint-disable-next-line react/prop-types
|
|
422
497
|
TransitionComponent: $ = h,
|
|
423
498
|
...A
|
|
424
|
-
} = s, _ =
|
|
499
|
+
} = s, _ = dt(), w = f.useRef(), R = Tt(), L = f.useRef(null), nt = q(L, et(t), a), O = (c) => (x) => {
|
|
425
500
|
if (c) {
|
|
426
501
|
const g = L.current;
|
|
427
502
|
x === void 0 ? c(g) : c(g, x);
|
|
428
503
|
}
|
|
429
504
|
}, ot = O(d), rt = O((c, x) => {
|
|
430
|
-
|
|
505
|
+
Ct(c);
|
|
431
506
|
const {
|
|
432
507
|
duration: g,
|
|
433
508
|
delay: M,
|
|
434
509
|
easing: m
|
|
435
|
-
} =
|
|
510
|
+
} = J({
|
|
436
511
|
style: D,
|
|
437
512
|
timeout: E,
|
|
438
513
|
easing: r
|
|
@@ -453,7 +528,7 @@ const Rt = {
|
|
|
453
528
|
duration: x,
|
|
454
529
|
delay: g,
|
|
455
530
|
easing: M
|
|
456
|
-
} =
|
|
531
|
+
} = J({
|
|
457
532
|
style: D,
|
|
458
533
|
timeout: E,
|
|
459
534
|
easing: r
|
|
@@ -470,7 +545,7 @@ const Rt = {
|
|
|
470
545
|
easing: M
|
|
471
546
|
})].join(","), c.style.opacity = 0, c.style.transform = H(0.75), v && v(c);
|
|
472
547
|
}), ut = O(b);
|
|
473
|
-
return /* @__PURE__ */
|
|
548
|
+
return /* @__PURE__ */ xt($, {
|
|
474
549
|
appear: o,
|
|
475
550
|
in: u,
|
|
476
551
|
nodeRef: L,
|
|
@@ -490,7 +565,7 @@ const Rt = {
|
|
|
490
565
|
opacity: 0,
|
|
491
566
|
transform: H(0.75),
|
|
492
567
|
visibility: c === "exited" && !u ? "hidden" : void 0,
|
|
493
|
-
...
|
|
568
|
+
...wt[c],
|
|
494
569
|
...D,
|
|
495
570
|
...t.props.style
|
|
496
571
|
},
|
|
@@ -574,42 +649,6 @@ process.env.NODE_ENV !== "production" && (U.propTypes = {
|
|
|
574
649
|
})])
|
|
575
650
|
});
|
|
576
651
|
U && (U.muiSupportAuto = !0);
|
|
577
|
-
function Ot(n, s, a, i, o) {
|
|
578
|
-
if (process.env.NODE_ENV === "production")
|
|
579
|
-
return null;
|
|
580
|
-
const t = n[s], r = o || s;
|
|
581
|
-
return t == null ? null : t && t.nodeType !== 1 ? new Error(`Invalid ${i} \`${r}\` supplied to \`${a}\`. Expected an HTMLElement.`) : null;
|
|
582
|
-
}
|
|
583
|
-
const St = "exact-prop: ";
|
|
584
|
-
function Pt(n) {
|
|
585
|
-
return process.env.NODE_ENV === "production" ? n : {
|
|
586
|
-
...n,
|
|
587
|
-
[St]: (s) => {
|
|
588
|
-
const a = Object.keys(s).filter((i) => !n.hasOwnProperty(i));
|
|
589
|
-
return a.length > 0 ? new Error(`The following props are not supported: ${a.map((i) => `\`${i}\``).join(", ")}. Please remove them.`) : null;
|
|
590
|
-
}
|
|
591
|
-
};
|
|
592
|
-
}
|
|
593
|
-
function Ut(n) {
|
|
594
|
-
return n && n.ownerDocument || document;
|
|
595
|
-
}
|
|
596
|
-
let K = 0;
|
|
597
|
-
function Ct(n) {
|
|
598
|
-
const [s, a] = f.useState(n), i = n || s;
|
|
599
|
-
return f.useEffect(() => {
|
|
600
|
-
s == null && (K += 1, a(`mui-${K}`));
|
|
601
|
-
}, [s]), i;
|
|
602
|
-
}
|
|
603
|
-
const wt = {
|
|
604
|
-
...f
|
|
605
|
-
}, J = wt.useId;
|
|
606
|
-
function jt(n) {
|
|
607
|
-
if (J !== void 0) {
|
|
608
|
-
const s = J();
|
|
609
|
-
return n ?? s;
|
|
610
|
-
}
|
|
611
|
-
return Ct(n);
|
|
612
|
-
}
|
|
613
652
|
function It(n) {
|
|
614
653
|
return typeof n == "function" ? n() : n;
|
|
615
654
|
}
|
|
@@ -635,7 +674,7 @@ const j = /* @__PURE__ */ f.forwardRef(function(s, a) {
|
|
|
635
674
|
}
|
|
636
675
|
return i;
|
|
637
676
|
}
|
|
638
|
-
return r && /* @__PURE__ */
|
|
677
|
+
return r && /* @__PURE__ */ vt.createPortal(i, r);
|
|
639
678
|
});
|
|
640
679
|
process.env.NODE_ENV !== "production" && (j.propTypes = {
|
|
641
680
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
@@ -663,46 +702,7 @@ process.env.NODE_ENV !== "production" && (j.propTypes = {
|
|
|
663
702
|
*/
|
|
664
703
|
disablePortal: e.bool
|
|
665
704
|
});
|
|
666
|
-
process.env.NODE_ENV !== "production" && (j.propTypes =
|
|
667
|
-
function qt(n, s) {
|
|
668
|
-
const {
|
|
669
|
-
className: a,
|
|
670
|
-
elementType: i,
|
|
671
|
-
ownerState: o,
|
|
672
|
-
externalForwardedProps: t,
|
|
673
|
-
internalForwardedProps: r,
|
|
674
|
-
...u
|
|
675
|
-
} = s, {
|
|
676
|
-
component: l,
|
|
677
|
-
slots: p = {
|
|
678
|
-
[n]: void 0
|
|
679
|
-
},
|
|
680
|
-
slotProps: d = {
|
|
681
|
-
[n]: void 0
|
|
682
|
-
},
|
|
683
|
-
...v
|
|
684
|
-
} = t, b = p[n] || i, N = xt(d[n], o), {
|
|
685
|
-
props: {
|
|
686
|
-
component: D,
|
|
687
|
-
...E
|
|
688
|
-
},
|
|
689
|
-
internalRef: $
|
|
690
|
-
} = gt({
|
|
691
|
-
className: a,
|
|
692
|
-
...u,
|
|
693
|
-
externalForwardedProps: n === "root" ? v : void 0,
|
|
694
|
-
externalSlotProps: N
|
|
695
|
-
}), A = q($, N == null ? void 0 : N.ref, s.ref), _ = n === "root" ? D || l : D, w = vt(b, {
|
|
696
|
-
...n === "root" && !l && !p[n] && r,
|
|
697
|
-
...n !== "root" && !p[n] && r,
|
|
698
|
-
...E,
|
|
699
|
-
..._ && {
|
|
700
|
-
as: _
|
|
701
|
-
},
|
|
702
|
-
ref: A
|
|
703
|
-
}, o);
|
|
704
|
-
return [b, w];
|
|
705
|
-
}
|
|
705
|
+
process.env.NODE_ENV !== "production" && (j.propTypes = Rt(j.propTypes));
|
|
706
706
|
export {
|
|
707
707
|
U as G,
|
|
708
708
|
Ot as H,
|
|
@@ -710,11 +710,11 @@ export {
|
|
|
710
710
|
h as T,
|
|
711
711
|
jt as a,
|
|
712
712
|
qt as b,
|
|
713
|
-
|
|
714
|
-
|
|
713
|
+
Rt as c,
|
|
714
|
+
J as d,
|
|
715
715
|
tt as e,
|
|
716
716
|
et as g,
|
|
717
717
|
Ut as o,
|
|
718
|
-
|
|
718
|
+
Ct as r,
|
|
719
719
|
Tt as u
|
|
720
720
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const k=require("react"),n=require("./index-B-zZeebW.cjs"),K=require("./ThemeProvider-BjBWRt7C.cjs"),de=require("./useTheme-BN6DGaDZ.cjs"),Ee=require("react/jsx-runtime"),d=require("./useTimeout-DQN9lwd_.cjs"),Te=require("./setPrototypeOf-BmHXYjK5.cjs"),L=require("react-dom"),G=require("./useSlotProps-COvANhgg.cjs");function Z(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const r=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(s,a,r.get?r:{enumerable:!0,get:()=>t[a]})}}return s.default=t,Object.freeze(s)}const f=Z(k),me=Z(L);function ee(){const t=de.useTheme(K.defaultTheme);return process.env.NODE_ENV!=="production"&&f.useDebugValue(t),t[K.THEME_ID]||t}const J={disabled:!1};var ye=process.env.NODE_ENV!=="production"?n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.shape({enter:n.PropTypes.number,exit:n.PropTypes.number,appear:n.PropTypes.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.shape({enter:n.PropTypes.string,exit:n.PropTypes.string,active:n.PropTypes.string}),n.PropTypes.shape({enter:n.PropTypes.string,enterDone:n.PropTypes.string,enterActive:n.PropTypes.string,exit:n.PropTypes.string,exitDone:n.PropTypes.string,exitActive:n.PropTypes.string})]);var he=function(s){return s.scrollTop},M="unmounted",g="exited",v="entering",w="entered",U="exiting",E=function(t){d._inheritsLoose(s,t);function s(r,o){var e;e=t.call(this,r,o)||this;var i=o,p=i&&!i.isMounting?r.enter:r.appear,u;return e.appearStatus=null,r.in?p?(u=g,e.appearStatus=v):u=w:r.unmountOnExit||r.mountOnEnter?u=M:u=g,e.state={status:u},e.nextCallback=null,e}s.getDerivedStateFromProps=function(o,e){var i=o.in;return i&&e.status===M?{status:g}:null};var a=s.prototype;return a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(o){var e=null;if(o!==this.props){var i=this.state.status;this.props.in?i!==v&&i!==w&&(e=v):(i===v||i===w)&&(e=U)}this.updateStatus(!1,e)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var o=this.props.timeout,e,i,p;return e=i=p=o,o!=null&&typeof o!="number"&&(e=o.exit,i=o.enter,p=o.appear!==void 0?o.appear:i),{exit:e,enter:i,appear:p}},a.updateStatus=function(o,e){if(o===void 0&&(o=!1),e!==null)if(this.cancelNextCallback(),e===v){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:L.findDOMNode(this);i&&he(i)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===g&&this.setState({status:M})},a.performEnter=function(o){var e=this,i=this.props.enter,p=this.context?this.context.isMounting:o,u=this.props.nodeRef?[p]:[L.findDOMNode(this),p],l=u[0],T=u[1],x=this.getTimeouts(),b=p?x.appear:x.enter;if(!o&&!i||J.disabled){this.safeSetState({status:w},function(){e.props.onEntered(l)});return}this.props.onEnter(l,T),this.safeSetState({status:v},function(){e.props.onEntering(l,T),e.onTransitionEnd(b,function(){e.safeSetState({status:w},function(){e.props.onEntered(l,T)})})})},a.performExit=function(){var o=this,e=this.props.exit,i=this.getTimeouts(),p=this.props.nodeRef?void 0:L.findDOMNode(this);if(!e||J.disabled){this.safeSetState({status:g},function(){o.props.onExited(p)});return}this.props.onExit(p),this.safeSetState({status:U},function(){o.props.onExiting(p),o.onTransitionEnd(i.exit,function(){o.safeSetState({status:g},function(){o.props.onExited(p)})})})},a.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(o,e){e=this.setNextCallback(e),this.setState(o,e)},a.setNextCallback=function(o){var e=this,i=!0;return this.nextCallback=function(p){i&&(i=!1,e.nextCallback=null,o(p))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},a.onTransitionEnd=function(o,e){this.setNextCallback(e);var i=this.props.nodeRef?this.props.nodeRef.current:L.findDOMNode(this),p=o==null&&!this.props.addEndListener;if(!i||p){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],l=u[0],T=u[1];this.props.addEndListener(l,T)}o!=null&&setTimeout(this.nextCallback,o)},a.render=function(){var o=this.state.status;if(o===M)return null;var e=this.props,i=e.children;e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef;var p=Te._objectWithoutPropertiesLoose(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return k.createElement(d.TransitionGroupContext.Provider,{value:null},typeof i=="function"?i(o,p):k.cloneElement(k.Children.only(i),p))},s}(k.Component);E.contextType=d.TransitionGroupContext;E.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:n.PropTypes.shape({current:typeof Element>"u"?n.PropTypes.any:function(t,s,a,r,o,e){var i=t[s];return n.PropTypes.instanceOf(i&&"ownerDocument"in i?i.ownerDocument.defaultView.Element:Element)(t,s,a,r,o,e)}}),children:n.PropTypes.oneOfType([n.PropTypes.func.isRequired,n.PropTypes.element.isRequired]).isRequired,in:n.PropTypes.bool,mountOnEnter:n.PropTypes.bool,unmountOnExit:n.PropTypes.bool,appear:n.PropTypes.bool,enter:n.PropTypes.bool,exit:n.PropTypes.bool,timeout:function(s){var a=ye;s.addEndListener||(a=a.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),e=1;e<r;e++)o[e-1]=arguments[e];return a.apply(void 0,[s].concat(o))},addEndListener:n.PropTypes.func,onEnter:n.PropTypes.func,onEntering:n.PropTypes.func,onEntered:n.PropTypes.func,onExit:n.PropTypes.func,onExiting:n.PropTypes.func,onExited:n.PropTypes.func}:{};function C(){}E.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:C,onEntering:C,onEntered:C,onExit:C,onExiting:C,onExited:C};E.UNMOUNTED=M;E.EXITED=g;E.ENTERING=v;E.ENTERED=w;E.EXITING=U;function Pe(t){const{prototype:s={}}=t;return!!s.isReactComponent}function te(t,s,a,r,o){const e=t[s],i=o||s;if(e==null||typeof window>"u")return null;let p;const u=e.type;return typeof u=="function"&&!Pe(u)&&(p="Did you accidentally use a plain function component for an element instead?"),p!==void 0?new Error(`Invalid ${r} \`${i}\` supplied to \`${a}\`. Expected an element that can hold a ref. ${p} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const z=d.chainPropTypes(n.PropTypes.element,te);z.isRequired=d.chainPropTypes(n.PropTypes.element.isRequired,te);function B(t){var s;return parseInt(f.version,10)>=19?((s=t==null?void 0:t.props)==null?void 0:s.ref)||null:(t==null?void 0:t.ref)||null}const ne=t=>t.scrollTop;function W(t,s){const{timeout:a,easing:r,style:o={}}=t;return{duration:o.transitionDuration??(typeof a=="number"?a:a[s.mode]||0),easing:o.transitionTimingFunction??(typeof r=="object"?r[s.mode]:r),delay:o.transitionDelay}}function X(t){return`scale(${t}, ${t**2})`}const xe={entering:{opacity:1,transform:X(1)},entered:{opacity:1,transform:"none"}},H=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),V=f.forwardRef(function(s,a){const{addEndListener:r,appear:o=!0,children:e,easing:i,in:p,onEnter:u,onEntered:l,onEntering:T,onExit:x,onExited:b,onExiting:N,style:R,timeout:m="auto",TransitionComponent:F=E,...A}=s,_=d.useTimeout(),I=f.useRef(),D=ee(),q=f.useRef(null),ie=d.useForkRef(q,B(e),a),O=c=>h=>{if(c){const P=q.current;h===void 0?c(P):c(P,h)}},se=O(T),ae=O((c,h)=>{ne(c);const{duration:P,delay:j,easing:y}=W({style:R,timeout:m,easing:i},{mode:"enter"});let S;m==="auto"?(S=D.transitions.getAutoHeightDuration(c.clientHeight),I.current=S):S=P,c.style.transition=[D.transitions.create("opacity",{duration:S,delay:j}),D.transitions.create("transform",{duration:H?S:S*.666,delay:j,easing:y})].join(","),u&&u(c,h)}),pe=O(l),ue=O(N),ce=O(c=>{const{duration:h,delay:P,easing:j}=W({style:R,timeout:m,easing:i},{mode:"exit"});let y;m==="auto"?(y=D.transitions.getAutoHeightDuration(c.clientHeight),I.current=y):y=h,c.style.transition=[D.transitions.create("opacity",{duration:y,delay:P}),D.transitions.create("transform",{duration:H?y:y*.666,delay:H?P:P||y*.333,easing:j})].join(","),c.style.opacity=0,c.style.transform=X(.75),x&&x(c)}),le=O(b),fe=c=>{m==="auto"&&_.start(I.current||0,c),r&&r(q.current,c)};return Ee.jsx(F,{appear:o,in:p,nodeRef:q,onEnter:ae,onEntered:pe,onEntering:se,onExit:ce,onExited:le,onExiting:ue,addEndListener:fe,timeout:m==="auto"?null:m,...A,children:(c,h)=>f.cloneElement(e,{style:{opacity:0,transform:X(.75),visibility:c==="exited"&&!p?"hidden":void 0,...xe[c],...R,...e.props.style},ref:ie,...h})})});process.env.NODE_ENV!=="production"&&(V.propTypes={addEndListener:n.PropTypes.func,appear:n.PropTypes.bool,children:z.isRequired,easing:n.PropTypes.oneOfType([n.PropTypes.shape({enter:n.PropTypes.string,exit:n.PropTypes.string}),n.PropTypes.string]),in:n.PropTypes.bool,onEnter:n.PropTypes.func,onEntered:n.PropTypes.func,onEntering:n.PropTypes.func,onExit:n.PropTypes.func,onExited:n.PropTypes.func,onExiting:n.PropTypes.func,style:n.PropTypes.object,timeout:n.PropTypes.oneOfType([n.PropTypes.oneOf(["auto"]),n.PropTypes.number,n.PropTypes.shape({appear:n.PropTypes.number,enter:n.PropTypes.number,exit:n.PropTypes.number})])});V&&(V.muiSupportAuto=!0);function oe(t,s,a,r,o){if(process.env.NODE_ENV==="production")return null;const e=t[s],i=o||s;return e==null?null:e&&e.nodeType!==1?new Error(`Invalid ${r} \`${i}\` supplied to \`${a}\`. Expected an HTMLElement.`):null}const ge="exact-prop: ";function re(t){return process.env.NODE_ENV==="production"?t:{...t,[ge]:s=>{const a=Object.keys(s).filter(r=>!t.hasOwnProperty(r));return a.length>0?new Error(`The following props are not supported: ${a.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}}}function ve(t){return t&&t.ownerDocument||document}let Q=0;function be(t){const[s,a]=f.useState(t),r=t||s;return f.useEffect(()=>{s==null&&(Q+=1,a(`mui-${Q}`))},[s]),r}const Ne={...f},Y=Ne.useId;function Re(t){if(Y!==void 0){const s=Y();return t??s}return be(t)}function De(t){return typeof t=="function"?t():t}const $=f.forwardRef(function(s,a){const{children:r,container:o,disablePortal:e=!1}=s,[i,p]=f.useState(null),u=d.useForkRef(f.isValidElement(r)?B(r):null,a);if(d.useEnhancedEffect(()=>{e||p(De(o)||document.body)},[o,e]),d.useEnhancedEffect(()=>{if(i&&!e)return d.setRef(a,i),()=>{d.setRef(a,null)}},[a,i,e]),e){if(f.isValidElement(r)){const l={ref:u};return f.cloneElement(r,l)}return r}return i&&me.createPortal(r,i)});process.env.NODE_ENV!=="production"&&($.propTypes={children:n.PropTypes.node,container:n.PropTypes.oneOfType([oe,n.PropTypes.func]),disablePortal:n.PropTypes.bool});process.env.NODE_ENV!=="production"&&($.propTypes=re($.propTypes));function Oe(t,s){const{className:a,elementType:r,ownerState:o,externalForwardedProps:e,internalForwardedProps:i,...p}=s,{component:u,slots:l={[t]:void 0},slotProps:T={[t]:void 0},...x}=e,b=l[t]||r,N=G.resolveComponentProps(T[t],o),{props:{component:R,...m},internalRef:F}=G.mergeSlotProps({className:a,...p,externalForwardedProps:t==="root"?x:void 0,externalSlotProps:N}),A=d.useForkRef(F,N==null?void 0:N.ref,s.ref),_=t==="root"?R||u:R,I=G.appendOwnerState(b,{...t==="root"&&!u&&!l[t]&&i,...t!=="root"&&!l[t]&&i,...m,..._&&{as:_},ref:A},o);return[b,I]}exports.Grow=V;exports.HTMLElementType=oe;exports.Portal=$;exports.Transition=E;exports.elementAcceptingRef=z;exports.exactProp=re;exports.getReactElementRef=B;exports.getTransitionProps=W;exports.ownerDocument=ve;exports.reflow=ne;exports.useId=Re;exports.useSlot=Oe;exports.useTheme=ee;
|
|
1
|
+
"use strict";const k=require("react"),G=require("./useSlotProps-1DAAbdYI.cjs"),d=require("./useTimeout-DwkOFF8P.cjs"),n=require("./index-B-zZeebW.cjs"),K=require("./ThemeProvider-CLfPqpv1.cjs"),de=require("./useTheme-CKptR5QM.cjs"),Ee=require("react/jsx-runtime"),Te=require("./setPrototypeOf-BmHXYjK5.cjs"),L=require("react-dom");function Z(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const r=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(s,a,r.get?r:{enumerable:!0,get:()=>t[a]})}}return s.default=t,Object.freeze(s)}const f=Z(k),me=Z(L);function ee(){const t=de.useTheme(K.defaultTheme);return process.env.NODE_ENV!=="production"&&f.useDebugValue(t),t[K.THEME_ID]||t}const J={disabled:!1};var ye=process.env.NODE_ENV!=="production"?n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.shape({enter:n.PropTypes.number,exit:n.PropTypes.number,appear:n.PropTypes.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.shape({enter:n.PropTypes.string,exit:n.PropTypes.string,active:n.PropTypes.string}),n.PropTypes.shape({enter:n.PropTypes.string,enterDone:n.PropTypes.string,enterActive:n.PropTypes.string,exit:n.PropTypes.string,exitDone:n.PropTypes.string,exitActive:n.PropTypes.string})]);var he=function(s){return s.scrollTop},M="unmounted",g="exited",v="entering",w="entered",U="exiting",E=function(t){d._inheritsLoose(s,t);function s(r,o){var e;e=t.call(this,r,o)||this;var i=o,p=i&&!i.isMounting?r.enter:r.appear,u;return e.appearStatus=null,r.in?p?(u=g,e.appearStatus=v):u=w:r.unmountOnExit||r.mountOnEnter?u=M:u=g,e.state={status:u},e.nextCallback=null,e}s.getDerivedStateFromProps=function(o,e){var i=o.in;return i&&e.status===M?{status:g}:null};var a=s.prototype;return a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(o){var e=null;if(o!==this.props){var i=this.state.status;this.props.in?i!==v&&i!==w&&(e=v):(i===v||i===w)&&(e=U)}this.updateStatus(!1,e)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var o=this.props.timeout,e,i,p;return e=i=p=o,o!=null&&typeof o!="number"&&(e=o.exit,i=o.enter,p=o.appear!==void 0?o.appear:i),{exit:e,enter:i,appear:p}},a.updateStatus=function(o,e){if(o===void 0&&(o=!1),e!==null)if(this.cancelNextCallback(),e===v){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:L.findDOMNode(this);i&&he(i)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===g&&this.setState({status:M})},a.performEnter=function(o){var e=this,i=this.props.enter,p=this.context?this.context.isMounting:o,u=this.props.nodeRef?[p]:[L.findDOMNode(this),p],l=u[0],T=u[1],x=this.getTimeouts(),b=p?x.appear:x.enter;if(!o&&!i||J.disabled){this.safeSetState({status:w},function(){e.props.onEntered(l)});return}this.props.onEnter(l,T),this.safeSetState({status:v},function(){e.props.onEntering(l,T),e.onTransitionEnd(b,function(){e.safeSetState({status:w},function(){e.props.onEntered(l,T)})})})},a.performExit=function(){var o=this,e=this.props.exit,i=this.getTimeouts(),p=this.props.nodeRef?void 0:L.findDOMNode(this);if(!e||J.disabled){this.safeSetState({status:g},function(){o.props.onExited(p)});return}this.props.onExit(p),this.safeSetState({status:U},function(){o.props.onExiting(p),o.onTransitionEnd(i.exit,function(){o.safeSetState({status:g},function(){o.props.onExited(p)})})})},a.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(o,e){e=this.setNextCallback(e),this.setState(o,e)},a.setNextCallback=function(o){var e=this,i=!0;return this.nextCallback=function(p){i&&(i=!1,e.nextCallback=null,o(p))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},a.onTransitionEnd=function(o,e){this.setNextCallback(e);var i=this.props.nodeRef?this.props.nodeRef.current:L.findDOMNode(this),p=o==null&&!this.props.addEndListener;if(!i||p){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],l=u[0],T=u[1];this.props.addEndListener(l,T)}o!=null&&setTimeout(this.nextCallback,o)},a.render=function(){var o=this.state.status;if(o===M)return null;var e=this.props,i=e.children;e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef;var p=Te._objectWithoutPropertiesLoose(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return k.createElement(d.TransitionGroupContext.Provider,{value:null},typeof i=="function"?i(o,p):k.cloneElement(k.Children.only(i),p))},s}(k.Component);E.contextType=d.TransitionGroupContext;E.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:n.PropTypes.shape({current:typeof Element>"u"?n.PropTypes.any:function(t,s,a,r,o,e){var i=t[s];return n.PropTypes.instanceOf(i&&"ownerDocument"in i?i.ownerDocument.defaultView.Element:Element)(t,s,a,r,o,e)}}),children:n.PropTypes.oneOfType([n.PropTypes.func.isRequired,n.PropTypes.element.isRequired]).isRequired,in:n.PropTypes.bool,mountOnEnter:n.PropTypes.bool,unmountOnExit:n.PropTypes.bool,appear:n.PropTypes.bool,enter:n.PropTypes.bool,exit:n.PropTypes.bool,timeout:function(s){var a=ye;s.addEndListener||(a=a.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),e=1;e<r;e++)o[e-1]=arguments[e];return a.apply(void 0,[s].concat(o))},addEndListener:n.PropTypes.func,onEnter:n.PropTypes.func,onEntering:n.PropTypes.func,onEntered:n.PropTypes.func,onExit:n.PropTypes.func,onExiting:n.PropTypes.func,onExited:n.PropTypes.func}:{};function C(){}E.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:C,onEntering:C,onEntered:C,onExit:C,onExiting:C,onExited:C};E.UNMOUNTED=M;E.EXITED=g;E.ENTERING=v;E.ENTERED=w;E.EXITING=U;function Pe(t){const{prototype:s={}}=t;return!!s.isReactComponent}function te(t,s,a,r,o){const e=t[s],i=o||s;if(e==null||typeof window>"u")return null;let p;const u=e.type;return typeof u=="function"&&!Pe(u)&&(p="Did you accidentally use a plain function component for an element instead?"),p!==void 0?new Error(`Invalid ${r} \`${i}\` supplied to \`${a}\`. Expected an element that can hold a ref. ${p} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const z=d.chainPropTypes(n.PropTypes.element,te);z.isRequired=d.chainPropTypes(n.PropTypes.element.isRequired,te);const xe="exact-prop: ";function ne(t){return process.env.NODE_ENV==="production"?t:{...t,[xe]:s=>{const a=Object.keys(s).filter(r=>!t.hasOwnProperty(r));return a.length>0?new Error(`The following props are not supported: ${a.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}}}function oe(t,s,a,r,o){if(process.env.NODE_ENV==="production")return null;const e=t[s],i=o||s;return e==null?null:e&&e.nodeType!==1?new Error(`Invalid ${r} \`${i}\` supplied to \`${a}\`. Expected an HTMLElement.`):null}function ge(t){return t&&t.ownerDocument||document}let Q=0;function ve(t){const[s,a]=f.useState(t),r=t||s;return f.useEffect(()=>{s==null&&(Q+=1,a(`mui-${Q}`))},[s]),r}const be={...f},Y=be.useId;function Ne(t){if(Y!==void 0){const s=Y();return t??s}return ve(t)}function B(t){var s;return parseInt(f.version,10)>=19?((s=t==null?void 0:t.props)==null?void 0:s.ref)||null:(t==null?void 0:t.ref)||null}function Re(t,s){const{className:a,elementType:r,ownerState:o,externalForwardedProps:e,internalForwardedProps:i,...p}=s,{component:u,slots:l={[t]:void 0},slotProps:T={[t]:void 0},...x}=e,b=l[t]||r,N=G.resolveComponentProps(T[t],o),{props:{component:R,...m},internalRef:F}=G.mergeSlotProps({className:a,...p,externalForwardedProps:t==="root"?x:void 0,externalSlotProps:N}),A=d.useForkRef(F,N==null?void 0:N.ref,s.ref),_=t==="root"?R||u:R,I=G.appendOwnerState(b,{...t==="root"&&!u&&!l[t]&&i,...t!=="root"&&!l[t]&&i,...m,..._&&{as:_},ref:A},o);return[b,I]}const re=t=>t.scrollTop;function W(t,s){const{timeout:a,easing:r,style:o={}}=t;return{duration:o.transitionDuration??(typeof a=="number"?a:a[s.mode]||0),easing:o.transitionTimingFunction??(typeof r=="object"?r[s.mode]:r),delay:o.transitionDelay}}function X(t){return`scale(${t}, ${t**2})`}const De={entering:{opacity:1,transform:X(1)},entered:{opacity:1,transform:"none"}},H=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),V=f.forwardRef(function(s,a){const{addEndListener:r,appear:o=!0,children:e,easing:i,in:p,onEnter:u,onEntered:l,onEntering:T,onExit:x,onExited:b,onExiting:N,style:R,timeout:m="auto",TransitionComponent:F=E,...A}=s,_=d.useTimeout(),I=f.useRef(),D=ee(),q=f.useRef(null),ie=d.useForkRef(q,B(e),a),O=c=>h=>{if(c){const P=q.current;h===void 0?c(P):c(P,h)}},se=O(T),ae=O((c,h)=>{re(c);const{duration:P,delay:j,easing:y}=W({style:R,timeout:m,easing:i},{mode:"enter"});let S;m==="auto"?(S=D.transitions.getAutoHeightDuration(c.clientHeight),I.current=S):S=P,c.style.transition=[D.transitions.create("opacity",{duration:S,delay:j}),D.transitions.create("transform",{duration:H?S:S*.666,delay:j,easing:y})].join(","),u&&u(c,h)}),pe=O(l),ue=O(N),ce=O(c=>{const{duration:h,delay:P,easing:j}=W({style:R,timeout:m,easing:i},{mode:"exit"});let y;m==="auto"?(y=D.transitions.getAutoHeightDuration(c.clientHeight),I.current=y):y=h,c.style.transition=[D.transitions.create("opacity",{duration:y,delay:P}),D.transitions.create("transform",{duration:H?y:y*.666,delay:H?P:P||y*.333,easing:j})].join(","),c.style.opacity=0,c.style.transform=X(.75),x&&x(c)}),le=O(b),fe=c=>{m==="auto"&&_.start(I.current||0,c),r&&r(q.current,c)};return Ee.jsx(F,{appear:o,in:p,nodeRef:q,onEnter:ae,onEntered:pe,onEntering:se,onExit:ce,onExited:le,onExiting:ue,addEndListener:fe,timeout:m==="auto"?null:m,...A,children:(c,h)=>f.cloneElement(e,{style:{opacity:0,transform:X(.75),visibility:c==="exited"&&!p?"hidden":void 0,...De[c],...R,...e.props.style},ref:ie,...h})})});process.env.NODE_ENV!=="production"&&(V.propTypes={addEndListener:n.PropTypes.func,appear:n.PropTypes.bool,children:z.isRequired,easing:n.PropTypes.oneOfType([n.PropTypes.shape({enter:n.PropTypes.string,exit:n.PropTypes.string}),n.PropTypes.string]),in:n.PropTypes.bool,onEnter:n.PropTypes.func,onEntered:n.PropTypes.func,onEntering:n.PropTypes.func,onExit:n.PropTypes.func,onExited:n.PropTypes.func,onExiting:n.PropTypes.func,style:n.PropTypes.object,timeout:n.PropTypes.oneOfType([n.PropTypes.oneOf(["auto"]),n.PropTypes.number,n.PropTypes.shape({appear:n.PropTypes.number,enter:n.PropTypes.number,exit:n.PropTypes.number})])});V&&(V.muiSupportAuto=!0);function Oe(t){return typeof t=="function"?t():t}const $=f.forwardRef(function(s,a){const{children:r,container:o,disablePortal:e=!1}=s,[i,p]=f.useState(null),u=d.useForkRef(f.isValidElement(r)?B(r):null,a);if(d.useEnhancedEffect(()=>{e||p(Oe(o)||document.body)},[o,e]),d.useEnhancedEffect(()=>{if(i&&!e)return d.setRef(a,i),()=>{d.setRef(a,null)}},[a,i,e]),e){if(f.isValidElement(r)){const l={ref:u};return f.cloneElement(r,l)}return r}return i&&me.createPortal(r,i)});process.env.NODE_ENV!=="production"&&($.propTypes={children:n.PropTypes.node,container:n.PropTypes.oneOfType([oe,n.PropTypes.func]),disablePortal:n.PropTypes.bool});process.env.NODE_ENV!=="production"&&($.propTypes=ne($.propTypes));exports.Grow=V;exports.HTMLElementType=oe;exports.Portal=$;exports.Transition=E;exports.elementAcceptingRef=z;exports.exactProp=ne;exports.getReactElementRef=B;exports.getTransitionProps=W;exports.ownerDocument=ge;exports.reflow=re;exports.useId=Ne;exports.useSlot=Re;exports.useTheme=ee;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as x from "react";
|
|
2
2
|
import { P as o } from "./index-D0lMis-I.js";
|
|
3
|
-
import { g as b, b as w, s as T, d as h, m as C, e as I, f as O, h as R } from "./ThemeProvider-
|
|
3
|
+
import { g as b, b as w, s as T, d as h, m as C, e as I, f as O, h as R } from "./ThemeProvider-idCYeHSk.js";
|
|
4
4
|
import { jsxs as j, jsx as N } from "react/jsx-runtime";
|
|
5
5
|
function A(e) {
|
|
6
6
|
return b("MuiSvgIcon", e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const b=require("react"),o=require("./index-B-zZeebW.cjs"),s=require("./ThemeProvider-
|
|
1
|
+
"use strict";const b=require("react"),o=require("./index-B-zZeebW.cjs"),s=require("./ThemeProvider-CLfPqpv1.cjs"),z=require("react/jsx-runtime");function x(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const h=x(b);function O(e){return s.generateUtilityClass("MuiSvgIcon",e)}s.generateUtilityClasses("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const w=e=>{const{color:r,fontSize:t,classes:n}=e,i={root:["root",r!=="inherit"&&`color${s.capitalize(r)}`,`fontSize${s.capitalize(t)}`]};return s.composeClasses(i,O,n)},j=s.styled("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,t.color!=="inherit"&&r[`color${s.capitalize(t.color)}`],r[`fontSize${s.capitalize(t.fontSize)}`]]}})(s.memoTheme(({theme:e})=>{var r,t,n,i,a,g,l,m,y,d,c,u,T,f;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(i=(r=e.transitions)==null?void 0:r.create)==null?void 0:i.call(r,"fill",{duration:(n=(t=(e.vars??e).transitions)==null?void 0:t.duration)==null?void 0:n.shorter}),variants:[{props:p=>!p.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((g=(a=e.typography)==null?void 0:a.pxToRem)==null?void 0:g.call(a,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((m=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:m.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((d=(y=e.typography)==null?void 0:y.pxToRem)==null?void 0:d.call(y,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,p])=>p&&p.main).map(([p])=>{var S,v;return{props:{color:p},style:{color:(v=(S=(e.vars??e).palette)==null?void 0:S[p])==null?void 0:v.main}}}),{props:{color:"action"},style:{color:(u=(c=(e.vars??e).palette)==null?void 0:c.action)==null?void 0:u.active}},{props:{color:"disabled"},style:{color:(f=(T=(e.vars??e).palette)==null?void 0:T.action)==null?void 0:f.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),P=h.forwardRef(function(r,t){const n=s.useDefaultProps({props:r,name:"MuiSvgIcon"}),{children:i,className:a,color:g="inherit",component:l="svg",fontSize:m="medium",htmlColor:y,inheritViewBox:d=!1,titleAccess:c,viewBox:u="0 0 24 24",...T}=n,f=h.isValidElement(i)&&i.type==="svg",p={...n,color:g,component:l,fontSize:m,instanceFontSize:r.fontSize,inheritViewBox:d,viewBox:u,hasSvgAsChild:f},S={};d||(S.viewBox=u);const v=w(p);return z.jsxs(j,{as:l,className:s.clsx(v.root,a),focusable:"false",color:y,"aria-hidden":c?void 0:!0,role:c?"img":void 0,ref:t,...S,...T,...f&&i.props,ownerState:p,children:[f?i.props.children:i,c?z.jsx("title",{children:c}):null]})});process.env.NODE_ENV!=="production"&&(P.propTypes={children:o.PropTypes.node,classes:o.PropTypes.object,className:o.PropTypes.string,color:o.PropTypes.oneOfType([o.PropTypes.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),o.PropTypes.string]),component:o.PropTypes.elementType,fontSize:o.PropTypes.oneOfType([o.PropTypes.oneOf(["inherit","large","medium","small"]),o.PropTypes.string]),htmlColor:o.PropTypes.string,inheritViewBox:o.PropTypes.bool,shapeRendering:o.PropTypes.string,sx:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.oneOfType([o.PropTypes.func,o.PropTypes.object,o.PropTypes.bool])),o.PropTypes.func,o.PropTypes.object]),titleAccess:o.PropTypes.string,viewBox:o.PropTypes.string});P&&(P.muiName="SvgIcon");exports.SvgIcon=P;
|