@cgi-learning-hub/ui 1.4.0-dev.1742208889 → 1.4.0-dev.1742217009
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/{Alert-DdpAZix8.js → Alert-BCd1tHk0.js} +9 -9
- package/dist/{Backdrop-BctCVgLy.js → Backdrop-CjDitjBW.js} +20 -19
- package/dist/Backdrop-DOdBqGqq.cjs +1 -0
- package/dist/{Box-DgqaLb7j.js → Box-GMNejc_m.js} +7 -7
- package/dist/{Button-B7kOjNW1.js → Button-x5rtZxJN.js} +6 -6
- package/dist/{ButtonBase-IZ_QjbpE.js → ButtonBase-CU1npQuI.js} +4 -4
- package/dist/{CardContent-F4-KcZH8.js → CardContent-CL_61cm-.js} +3 -3
- package/dist/{Checkbox-qUSjau0g.js → Checkbox-CtRSDqOe.js} +7 -7
- package/dist/{Chip-OpRIs-sL.js → Chip-ZIBpWC4I.js} +6 -6
- package/dist/{CircularProgress-CQxzJquv.js → CircularProgress-B28FKeiH.js} +4 -4
- package/dist/{CloseRounded-BMEGLs8y.js → CloseRounded-pP8asZiP.js} +1 -1
- package/dist/Collapse-Bvxtq7n-.cjs +1 -0
- package/dist/Collapse-CcMCOZ3q.js +334 -0
- package/dist/CustomTreeItem-CG7mGHC9.cjs +3 -0
- package/dist/CustomTreeItem-PTf-e74x.js +1003 -0
- package/dist/DatePicker-64gpvkmk.cjs +13 -0
- package/dist/{DatePicker-fFsWvNFc.js → DatePicker-XdCuICxv.js} +2117 -2535
- package/dist/{DefaultPropsProvider-Cqcb4sws.js → DefaultPropsProvider-CQixa6JQ.js} +7 -7
- package/dist/Delete-BQA9--_t.js +8 -0
- package/dist/Delete-DmeDAs0n.cjs +1 -0
- package/dist/{Dialog-CKS7yjT5.js → Dialog-C-Ptqtq-.js} +9 -9
- package/dist/{Dialog-B1wnk5BT.cjs → Dialog-CgEvhrbZ.cjs} +1 -1
- package/dist/{DialogContent-BzPaz5G8.js → DialogContent-1sjO2rQK.js} +3 -3
- package/dist/{DialogTitle-D3E_lDHD.js → DialogTitle-CGpa_QH9.js} +5 -5
- package/dist/{DialogTitle-mr9xn4JZ.cjs → DialogTitle-F6JD1f_z.cjs} +1 -1
- package/dist/{Divider-D-pZeQTm.js → Divider-CNGfzZqD.js} +8 -8
- package/dist/Folder-DXybV_jP.js +8 -0
- package/dist/Folder-DiQqYwXI.cjs +1 -0
- package/dist/{FormLabel-3-CC-ZGw.js → FormLabel-BlaPVlwX.js} +67 -76
- package/dist/FormLabel-XpwTqbs8.cjs +2 -0
- package/dist/{Grow-DKgYCxiY.js → Grow-D5UIC41W.js} +14 -13
- package/dist/Grow-wjlsaPJ-.cjs +1 -0
- package/dist/{IconButton-CCNUMz2l.js → IconButton-CFUIddNg.js} +6 -6
- package/dist/{InputAdornment-DL8XIM8r.js → InputAdornment-GcbiriFv.js} +5 -5
- package/dist/{InputBase-By7jMrFP.js → InputBase-DJuF09Rf.js} +7 -7
- package/dist/{Link-C_GPIs0q.js → Link-DtsZ0d_s.js} +7 -7
- package/dist/List-BTPrBGqY.js +130 -0
- package/dist/List-Bo4pzQqG.cjs +1 -0
- package/dist/ListItem-C9OfYRAP.js +423 -0
- package/dist/ListItem-CB4JyjSb.cjs +1 -0
- package/dist/ListItemText-B_hEVsaT.js +928 -0
- package/dist/ListItemText-Bjd08uk4.cjs +1 -0
- package/dist/{Menu-BunOW0ot.js → Menu-DD_bqi6q.js} +306 -428
- package/dist/Menu-XypIRgTl.cjs +7 -0
- package/dist/{MenuItem-Cu3FTLl8.js → MenuItem-Byj-2QQd.js} +72 -77
- package/dist/MenuItem-vb36Ljmd.cjs +1 -0
- package/dist/{Modal-u82Ss4h_.cjs → Modal-BG3hPYyH.cjs} +1 -1
- package/dist/{Modal-DTJd7JJ6.js → Modal-S2P14Nsp.js} +8 -8
- package/dist/{MoreVert-CrM_1EkN.js → MoreVert-rsN-POLa.js} +1 -1
- package/dist/{Paper-BiZq6EF2.js → Paper-BrsaeLlu.js} +4 -4
- package/dist/{Popper-DjwR55WH.js → Popper-BNftxeQ5.js} +31 -30
- package/dist/Popper-BaxEpkdE.cjs +4 -0
- package/dist/{Portal-BByeByPq.js → Portal-BLEnzj1v.js} +2 -2
- package/dist/Portal-Bw9XOIah.cjs +1 -0
- package/dist/{Radio-DSRS-tjj.js → Radio-CRTKwNe5.js} +9 -9
- package/dist/{RadioGroup-cPdOWdYD.js → RadioGroup-NjI5PlIb.js} +3 -3
- package/dist/{Select-DZAzJA0y.cjs → Select-8kBUq_SZ.cjs} +1 -1
- package/dist/{Select-CZnKFG3o.js → Select-C0jrZLRg.js} +30 -30
- package/dist/{Stack-hbAJHQhq.js → Stack-Bm7M81n8.js} +22 -22
- package/dist/{Switch-B9uT9-d0.js → Switch-D5FnE7HW.js} +6 -6
- package/dist/{SwitchBase-CDkmnGAP.js → SwitchBase-91Mand9t.js} +5 -5
- package/dist/{Tabs-BYfDlOR9.js → Tabs-C5VIdTSp.js} +25 -24
- package/dist/Tabs-Csp29aqN.cjs +4 -0
- package/dist/{TextField-CwcPgdgD.cjs → TextField-BzqflYRV.cjs} +1 -1
- package/dist/{TextField-BKfXjPdH.js → TextField-D5jS5WjF.js} +8 -8
- package/dist/ToggleButtonGroup-Bpi3kmko.cjs +140 -0
- package/dist/{ToggleButtonGroup-B1yghh29.js → ToggleButtonGroup-CipWZLXf.js} +2641 -3875
- package/dist/Tooltip-DJmbLjU6.cjs +4 -0
- package/dist/{Tooltip-B1NGvrJP.js → Tooltip-DgTrUaHJ.js} +10 -10
- package/dist/{Typography-SIQ6eleU.js → Typography-Ct2Sc9KM.js} +5 -5
- package/dist/{capitalize-3KLkrEtk.js → capitalize-BJ0FEsU7.js} +1 -1
- package/dist/components/Alert/Alert.es.js +1 -1
- package/dist/components/Alert/index.es.js +1 -1
- package/dist/components/Button/Button.es.js +2 -2
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +1 -1
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/Dialog/Dialog.cjs.js +1 -1
- package/dist/components/Dialog/Dialog.es.js +2 -2
- package/dist/components/Dropzone/Dropzone.es.js +4 -4
- package/dist/components/EmptyState/EmptyState.es.js +3 -3
- package/dist/components/FileList/FileIcon.es.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +4 -4
- package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
- package/dist/components/FolderCard/FolderCard.es.js +13 -15
- package/dist/components/Heading/Heading.es.js +2 -2
- package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
- package/dist/components/ImagePicker/ImagePicker.es.js +45 -46
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
- package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/TreeView/TreeView.cjs.js +7 -0
- package/dist/components/TreeView/TreeView.d.ts +4 -0
- package/dist/components/TreeView/TreeView.es.js +1892 -0
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -0
- package/dist/components/TreeView/components/CustomTreeItem.d.ts +6 -0
- package/dist/components/TreeView/components/CustomTreeItem.es.js +8 -0
- package/dist/components/TreeView/index.cjs.js +1 -0
- package/dist/components/TreeView/index.d.ts +2 -0
- package/dist/components/TreeView/index.es.js +6 -0
- package/dist/components/TreeView/style.cjs.js +1 -0
- package/dist/components/TreeView/style.d.ts +12 -0
- package/dist/components/TreeView/style.es.js +24 -0
- package/dist/components/TreeView/types.cjs.js +1 -0
- package/dist/components/TreeView/types.d.ts +37 -0
- package/dist/components/TreeView/types.es.js +4 -0
- package/dist/components/TreeView/utils.cjs.js +1 -0
- package/dist/components/TreeView/utils.d.ts +6 -0
- package/dist/components/TreeView/utils.es.js +50 -0
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +350 -345
- package/dist/components/stories/Alert.stories.es.js +1 -1
- package/dist/components/stories/Button.stories.es.js +1 -1
- package/dist/components/stories/Card.stories.es.js +2 -2
- package/dist/components/stories/Checkbox.stories.es.js +1 -1
- package/dist/components/stories/Chip.stories.es.js +1 -1
- package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
- package/dist/components/stories/DatePicker.stories.es.js +1 -1
- package/dist/components/stories/Dialog.stories.cjs.js +1 -1
- package/dist/components/stories/Dialog.stories.es.js +2 -2
- package/dist/components/stories/Divider.stories.es.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
- package/dist/components/stories/Heading.stories.es.js +2 -2
- package/dist/components/stories/IconButton.stories.es.js +2 -2
- package/dist/components/stories/Link.stories.es.js +1 -1
- package/dist/components/stories/Menu.stories.cjs.js +1 -1
- package/dist/components/stories/Menu.stories.es.js +2 -2
- package/dist/components/stories/Paper.stories.es.js +1 -1
- package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
- package/dist/components/stories/RadioGroup.stories.es.js +3 -3
- package/dist/components/stories/ResourceCard.stories.es.js +1 -1
- package/dist/components/stories/Select.stories.cjs.js +1 -1
- package/dist/components/stories/Select.stories.es.js +3 -3
- package/dist/components/stories/TabList.stories.cjs.js +1 -1
- package/dist/components/stories/TabList.stories.es.js +4 -4
- package/dist/components/stories/TextField.stories.cjs.js +1 -1
- package/dist/components/stories/TextField.stories.es.js +1 -1
- package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
- package/dist/components/stories/Tooltip.stories.es.js +2 -2
- package/dist/components/stories/TreeView.stories.cjs.js +63 -0
- package/dist/components/stories/TreeView.stories.d.ts +12 -0
- package/dist/components/stories/TreeView.stories.es.js +663 -0
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/{createSvgIcon-K2ZAdASa.js → createSvgIcon-B62eln-G.js} +6 -6
- package/dist/{dividerClasses-afsB3Yy1.js → dividerClasses-DjJZQ2Lt.js} +1 -1
- package/dist/{elementTypeAcceptingRef-5ESWTE79.js → elementTypeAcceptingRef-B04tk6ag.js} +1 -1
- package/dist/{extendSxProp-dlShX1xL.js → extendSxProp-CgS-3O19.js} +1 -1
- package/dist/{generateUtilityClasses-DotvgSDH.js → generateUtilityClasses-EXBFO7eY.js} +9 -9
- package/dist/getReactElementRef-CTRMtaOQ.cjs +1 -0
- package/dist/getReactElementRef-DjLvttrJ.js +31 -0
- package/dist/{index-DTTmpNYg.js → index-BZ7ldAwE.js} +4 -4
- package/dist/index-Cr54V0sz.cjs +1 -0
- package/dist/index-D_xl88AE.js +22 -0
- package/dist/{index-B1u7G33_.js → index-DcwdJ8a_.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +350 -345
- package/dist/isMuiElement-BzDAj3yJ.cjs +1 -0
- package/dist/isMuiElement-DnSE4qG4.js +13 -0
- package/dist/listItemTextClasses-BCuJjsDp.cjs +1 -0
- package/dist/listItemTextClasses-Kxu3VILo.js +9 -0
- package/dist/{memoTheme-CqmIydD-.js → memoTheme-DJWQ754x.js} +1 -1
- package/dist/{refType-C210ipRY.js → refType-Bpj8bod6.js} +1 -1
- package/dist/{resolveComponentProps-CPmhKPdH.js → resolveComponentProps-CIdMNno4.js} +1 -1
- package/dist/{useSlot-GZu0V5wJ.js → useSlot-RbAtahZu.js} +1 -1
- package/dist/useSlotProps-BTRhbYwP.cjs +1 -0
- package/dist/useSlotProps-U2Iu6E0j.js +25 -0
- package/dist/{useTheme-tdgDVH1p.js → useTheme-CUKf8NYA.js} +1 -1
- package/dist/useTheme-Czi7oO55.js +11 -0
- package/dist/{useThemeProps-BQlPXzo3.js → useThemeProps-Bxjrhw9q.js} +2 -2
- package/dist/useThemeProps-v-SfXuGn.js +17 -0
- package/dist/{utils-CXhh35wP.js → utils-B2jSugkj.js} +76 -104
- package/dist/utils-lBmb5bp_.cjs +1 -0
- package/dist/warning-C8W811fV.js +11 -0
- package/dist/warning-DMUNDgRg.cjs +2 -0
- package/package.json +2 -1
- package/dist/Backdrop-DWp3AktL.cjs +0 -1
- package/dist/DatePicker-DrLKgvkx.cjs +0 -14
- package/dist/FormLabel-BV7-a0i5.cjs +0 -2
- package/dist/Grow-Z3KzFaK5.cjs +0 -1
- package/dist/Menu-Cngt8Va9.cjs +0 -7
- package/dist/MenuItem-Bha8aBMr.cjs +0 -1
- package/dist/Popper-BVYscbsI.cjs +0 -4
- package/dist/Portal-DUHpWdY1.cjs +0 -1
- package/dist/Tabs-AyJ_tKtV.cjs +0 -4
- package/dist/ToggleButtonGroup-NqurNgWT.cjs +0 -140
- package/dist/Tooltip-oNmnF7Bc.cjs +0 -4
- package/dist/useSlotProps-C9tsxDNg.js +0 -45
- package/dist/useSlotProps-CvOxvhyy.cjs +0 -1
- package/dist/useTheme-BA7tMglY.js +0 -11
- package/dist/useThemeProps-BTfGtNci.js +0 -17
- package/dist/utils-CFI_-FMV.cjs +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as n, jsxs as j } from "react/jsx-runtime";
|
|
2
2
|
import * as $ from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { m as B } from "./memoTheme-
|
|
5
|
-
import { u as c } from "./useSlot-
|
|
3
|
+
import { G as R, H as z, I as w, P as e, q as b, s as h } from "./generateUtilityClasses-EXBFO7eY.js";
|
|
4
|
+
import { m as B } from "./memoTheme-DJWQ754x.js";
|
|
5
|
+
import { u as c } from "./useSlot-RbAtahZu.js";
|
|
6
6
|
import { c as v } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
7
|
-
import { c as d } from "./createSvgIcon-
|
|
8
|
-
import { u as L, s as u, c as N } from "./DefaultPropsProvider-
|
|
9
|
-
import { I as te } from "./IconButton-
|
|
10
|
-
import { c as T } from "./capitalize-
|
|
11
|
-
import { P as se } from "./Paper-
|
|
12
|
-
import { T as ne } from "./Typography-
|
|
7
|
+
import { c as d } from "./createSvgIcon-B62eln-G.js";
|
|
8
|
+
import { u as L, s as u, c as N } from "./DefaultPropsProvider-CQixa6JQ.js";
|
|
9
|
+
import { I as te } from "./IconButton-CFUIddNg.js";
|
|
10
|
+
import { c as T } from "./capitalize-BJ0FEsU7.js";
|
|
11
|
+
import { P as se } from "./Paper-BrsaeLlu.js";
|
|
12
|
+
import { T as ne } from "./Typography-Ct2Sc9KM.js";
|
|
13
13
|
function re(o) {
|
|
14
14
|
return z("MuiAlertTitle", o);
|
|
15
15
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { P as e,
|
|
3
|
-
import { u as B } from "./useSlot-
|
|
1
|
+
import * as g from "react";
|
|
2
|
+
import { P as e, G as q, H as A, I as H } from "./generateUtilityClasses-EXBFO7eY.js";
|
|
3
|
+
import { u as B } from "./useSlot-RbAtahZu.js";
|
|
4
4
|
import { jsx as j } from "react/jsx-runtime";
|
|
5
|
-
import { u as V, s as _, c as z } from "./DefaultPropsProvider-
|
|
6
|
-
import { u as G } from "./useTheme-
|
|
7
|
-
import { T as I, g as
|
|
8
|
-
import { u as
|
|
5
|
+
import { u as V, s as _, c as z } from "./DefaultPropsProvider-CQixa6JQ.js";
|
|
6
|
+
import { u as G } from "./useTheme-Czi7oO55.js";
|
|
7
|
+
import { T as I, g as N, r as W } from "./utils-B2jSugkj.js";
|
|
8
|
+
import { u as J } from "./useForkRef-C_4o__cU.js";
|
|
9
|
+
import { g as K, e as Q } from "./getReactElementRef-DjLvttrJ.js";
|
|
9
10
|
const X = {
|
|
10
11
|
entering: {
|
|
11
12
|
opacity: 1
|
|
@@ -13,8 +14,8 @@ const X = {
|
|
|
13
14
|
entered: {
|
|
14
15
|
opacity: 1
|
|
15
16
|
}
|
|
16
|
-
}, D = /* @__PURE__ */
|
|
17
|
-
const t = G(),
|
|
17
|
+
}, D = /* @__PURE__ */ g.forwardRef(function(o, a) {
|
|
18
|
+
const t = G(), h = {
|
|
18
19
|
enter: t.transitions.duration.enteringScreen,
|
|
19
20
|
exit: t.transitions.duration.leavingScreen
|
|
20
21
|
}, {
|
|
@@ -30,17 +31,17 @@ const X = {
|
|
|
30
31
|
onExited: R,
|
|
31
32
|
onExiting: C,
|
|
32
33
|
style: c,
|
|
33
|
-
timeout: d =
|
|
34
|
+
timeout: d = h,
|
|
34
35
|
// eslint-disable-next-line react/prop-types
|
|
35
36
|
TransitionComponent: P = I,
|
|
36
37
|
...k
|
|
37
|
-
} = o, p =
|
|
38
|
+
} = o, p = g.useRef(null), w = J(p, K(u), a), s = (n) => (r) => {
|
|
38
39
|
if (n) {
|
|
39
40
|
const l = p.current;
|
|
40
41
|
r === void 0 ? n(l) : n(l, r);
|
|
41
42
|
}
|
|
42
43
|
}, O = s(v), S = s((n, r) => {
|
|
43
|
-
|
|
44
|
+
W(n);
|
|
44
45
|
const l = N({
|
|
45
46
|
style: c,
|
|
46
47
|
timeout: d,
|
|
@@ -77,7 +78,7 @@ const X = {
|
|
|
77
78
|
children: (n, {
|
|
78
79
|
ownerState: r,
|
|
79
80
|
...l
|
|
80
|
-
}) => /* @__PURE__ */
|
|
81
|
+
}) => /* @__PURE__ */ g.cloneElement(u, {
|
|
81
82
|
style: {
|
|
82
83
|
opacity: 0,
|
|
83
84
|
visibility: n === "exited" && !y ? "hidden" : void 0,
|
|
@@ -110,7 +111,7 @@ process.env.NODE_ENV !== "production" && (D.propTypes = {
|
|
|
110
111
|
/**
|
|
111
112
|
* A single child content element.
|
|
112
113
|
*/
|
|
113
|
-
children:
|
|
114
|
+
children: Q.isRequired,
|
|
114
115
|
/**
|
|
115
116
|
* The transition timing function.
|
|
116
117
|
* You may specify a single easing or a object containing enter and exit values.
|
|
@@ -168,7 +169,7 @@ process.env.NODE_ENV !== "production" && (D.propTypes = {
|
|
|
168
169
|
function Y(i) {
|
|
169
170
|
return A("MuiBackdrop", i);
|
|
170
171
|
}
|
|
171
|
-
const
|
|
172
|
+
const le = q("MuiBackdrop", ["root", "invisible"]), Z = (i) => {
|
|
172
173
|
const {
|
|
173
174
|
classes: o,
|
|
174
175
|
invisible: a
|
|
@@ -204,12 +205,12 @@ const pe = q("MuiBackdrop", ["root", "invisible"]), Z = (i) => {
|
|
|
204
205
|
backgroundColor: "transparent"
|
|
205
206
|
}
|
|
206
207
|
}]
|
|
207
|
-
}), ee = /* @__PURE__ */
|
|
208
|
+
}), ee = /* @__PURE__ */ g.forwardRef(function(o, a) {
|
|
208
209
|
const t = V({
|
|
209
210
|
props: o,
|
|
210
211
|
name: "MuiBackdrop"
|
|
211
212
|
}), {
|
|
212
|
-
children:
|
|
213
|
+
children: h,
|
|
213
214
|
className: m,
|
|
214
215
|
component: T = "div",
|
|
215
216
|
invisible: u = !1,
|
|
@@ -255,7 +256,7 @@ const pe = q("MuiBackdrop", ["root", "invisible"]), Z = (i) => {
|
|
|
255
256
|
...s,
|
|
256
257
|
classes: d,
|
|
257
258
|
ref: a,
|
|
258
|
-
children:
|
|
259
|
+
children: h
|
|
259
260
|
})
|
|
260
261
|
});
|
|
261
262
|
});
|
|
@@ -352,6 +353,6 @@ process.env.NODE_ENV !== "production" && (ee.propTypes = {
|
|
|
352
353
|
export {
|
|
353
354
|
ee as B,
|
|
354
355
|
D as F,
|
|
355
|
-
|
|
356
|
+
le as b,
|
|
356
357
|
Y as g
|
|
357
358
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const H=require("react"),e=require("./generateUtilityClasses-De8NU9_E.cjs"),N=require("./useSlot-CC2AaOjN.cjs"),q=require("react/jsx-runtime"),B=require("./DefaultPropsProvider-wpBXjN8r.cjs"),W=require("./useTheme-CIf2b2wK.cjs"),b=require("./utils-lBmb5bp_.cjs"),G=require("./useForkRef-CTI33h-3.cjs"),F=require("./getReactElementRef-CTRMtaOQ.cjs");function I(n){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const s in n)if(s!=="default"){const t=Object.getOwnPropertyDescriptor(n,s);Object.defineProperty(r,s,t.get?t:{enumerable:!0,get:()=>n[s]})}}return r.default=n,Object.freeze(r)}const g=I(H),J={entering:{opacity:1},entered:{opacity:1}},D=g.forwardRef(function(r,s){const t=W.useTheme(),E={enter:t.transitions.duration.enteringScreen,exit:t.transitions.duration.leavingScreen},{addEndListener:u,appear:h=!0,children:d,easing:T,in:P,onEnter:f,onEntered:x,onEntering:R,onExit:m,onExited:k,onExiting:v,style:a,timeout:y=E,TransitionComponent:C=b.Transition,...j}=r,c=g.useRef(null),O=G.useForkRef(c,F.getReactElementRef(d),s),i=o=>p=>{if(o){const l=c.current;p===void 0?o(l):o(l,p)}},S=i(R),w=i((o,p)=>{b.reflow(o);const l=b.getTransitionProps({style:a,timeout:y,easing:T},{mode:"enter"});o.style.webkitTransition=t.transitions.create("opacity",l),o.style.transition=t.transitions.create("opacity",l),f&&f(o,p)}),_=i(x),L=i(v),z=i(o=>{const p=b.getTransitionProps({style:a,timeout:y,easing:T},{mode:"exit"});o.style.webkitTransition=t.transitions.create("opacity",p),o.style.transition=t.transitions.create("opacity",p),m&&m(o)}),V=i(k),A=o=>{u&&u(c.current,o)};return q.jsx(C,{appear:h,in:P,nodeRef:c,onEnter:w,onEntered:_,onEntering:S,onExit:z,onExited:V,onExiting:L,addEndListener:A,timeout:y,...j,children:(o,{ownerState:p,...l})=>g.cloneElement(d,{style:{opacity:0,visibility:o==="exited"&&!P?"hidden":void 0,...J[o],...a,...d.props.style},ref:O,...l})})});process.env.NODE_ENV!=="production"&&(D.propTypes={addEndListener:e.PropTypes.func,appear:e.PropTypes.bool,children:F.elementAcceptingRef.isRequired,easing:e.PropTypes.oneOfType([e.PropTypes.shape({enter:e.PropTypes.string,exit:e.PropTypes.string}),e.PropTypes.string]),in:e.PropTypes.bool,onEnter:e.PropTypes.func,onEntered:e.PropTypes.func,onEntering:e.PropTypes.func,onExit:e.PropTypes.func,onExited:e.PropTypes.func,onExiting:e.PropTypes.func,style:e.PropTypes.object,timeout:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.shape({appear:e.PropTypes.number,enter:e.PropTypes.number,exit:e.PropTypes.number})])});function U(n){return e.generateUtilityClass("MuiBackdrop",n)}const K=e.generateUtilityClasses("MuiBackdrop",["root","invisible"]),Q=n=>{const{classes:r,invisible:s}=n,t={root:["root",s&&"invisible"]};return B.composeClasses(t,U,r)},X=B.styled("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(n,r)=>{const{ownerState:s}=n;return[r.root,s.invisible&&r.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),M=g.forwardRef(function(r,s){const t=B.useDefaultProps({props:r,name:"MuiBackdrop"}),{children:E,className:u,component:h="div",invisible:d=!1,open:T,components:P={},componentsProps:f={},slotProps:x={},slots:R={},TransitionComponent:m,transitionDuration:k,...v}=t,a={...t,component:h,invisible:d},y=Q(a),C={transition:m,root:P.Root,...R},j={...f,...x},c={slots:C,slotProps:j},[O,i]=N.useSlot("root",{elementType:X,externalForwardedProps:c,className:e.clsx(y.root,u),ownerState:a}),[S,w]=N.useSlot("transition",{elementType:D,externalForwardedProps:c,ownerState:a});return q.jsx(S,{in:T,timeout:k,...v,...w,children:q.jsx(O,{"aria-hidden":!0,...i,classes:y,ref:s,children:E})})});process.env.NODE_ENV!=="production"&&(M.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,component:e.PropTypes.elementType,components:e.PropTypes.shape({Root:e.PropTypes.elementType}),componentsProps:e.PropTypes.shape({root:e.PropTypes.object}),invisible:e.PropTypes.bool,open:e.PropTypes.bool.isRequired,slotProps:e.PropTypes.shape({root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),transition:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({root:e.PropTypes.elementType,transition:e.PropTypes.elementType}),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),TransitionComponent:e.PropTypes.elementType,transitionDuration:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.shape({appear:e.PropTypes.number,enter:e.PropTypes.number,exit:e.PropTypes.number})])});exports.Backdrop=M;exports.Fade=D;exports.backdropClasses=K;exports.getBackdropUtilityClass=U;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { O as x, Q as p,
|
|
1
|
+
import { O as x, Q as p, I as h, G as T, R as y, T as B, u as N, P as e } from "./generateUtilityClasses-EXBFO7eY.js";
|
|
2
2
|
import * as C from "react";
|
|
3
3
|
import { jsx as b } from "react/jsx-runtime";
|
|
4
|
-
import { u as O } from "./useTheme-
|
|
5
|
-
import { e as g } from "./extendSxProp-
|
|
4
|
+
import { u as O } from "./useTheme-CUKf8NYA.js";
|
|
5
|
+
import { e as g } from "./extendSxProp-CgS-3O19.js";
|
|
6
6
|
function v(n = {}) {
|
|
7
7
|
const {
|
|
8
8
|
themeId: t,
|
|
@@ -27,13 +27,13 @@ function v(n = {}) {
|
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
-
const E = T("MuiBox", ["root"]),
|
|
30
|
+
const E = T("MuiBox", ["root"]), I = N(), P = v({
|
|
31
31
|
themeId: B,
|
|
32
|
-
defaultTheme:
|
|
32
|
+
defaultTheme: I,
|
|
33
33
|
defaultClassName: E.root,
|
|
34
34
|
generateClassName: y.generate
|
|
35
35
|
});
|
|
36
|
-
process.env.NODE_ENV !== "production" && (
|
|
36
|
+
process.env.NODE_ENV !== "production" && (P.propTypes = {
|
|
37
37
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
38
38
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
39
39
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -53,6 +53,6 @@ process.env.NODE_ENV !== "production" && (R.propTypes = {
|
|
|
53
53
|
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
54
54
|
});
|
|
55
55
|
export {
|
|
56
|
-
|
|
56
|
+
P as B,
|
|
57
57
|
E as b
|
|
58
58
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as x from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { u as J, s as S, c as Q, r as X } from "./DefaultPropsProvider-
|
|
4
|
-
import { m as Y } from "./memoTheme-
|
|
2
|
+
import { G as K, H as q, I as R, n as b, P as t } from "./generateUtilityClasses-EXBFO7eY.js";
|
|
3
|
+
import { u as J, s as S, c as Q, r as X } from "./DefaultPropsProvider-CQixa6JQ.js";
|
|
4
|
+
import { m as Y } from "./memoTheme-DJWQ754x.js";
|
|
5
5
|
import { c as Z } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
6
6
|
import { jsxs as oo, jsx as g } from "react/jsx-runtime";
|
|
7
7
|
import { u as to } from "./useId-CK6Kn3Tn.js";
|
|
8
|
-
import { c as e } from "./capitalize-
|
|
9
|
-
import { B as no } from "./ButtonBase-
|
|
10
|
-
import { C as ao } from "./CircularProgress-
|
|
8
|
+
import { c as e } from "./capitalize-BJ0FEsU7.js";
|
|
9
|
+
import { B as no } from "./ButtonBase-CU1npQuI.js";
|
|
10
|
+
import { C as ao } from "./CircularProgress-B28FKeiH.js";
|
|
11
11
|
function W(o, a) {
|
|
12
12
|
const n = {
|
|
13
13
|
...a
|
|
@@ -3,17 +3,17 @@ var Be = (o, e, t) => e in o ? we(o, e, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var ae = (o, e, t) => Be(o, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import * as d from "react";
|
|
5
5
|
import H, { isValidElement as W, cloneElement as G, Children as Le } from "react";
|
|
6
|
-
import { P as n,
|
|
6
|
+
import { P as n, I as C, G as pe, H as Oe } from "./generateUtilityClasses-EXBFO7eY.js";
|
|
7
7
|
import { jsx as $, jsxs as ke } from "react/jsx-runtime";
|
|
8
|
-
import { u as fe, s as ne, c as je } from "./DefaultPropsProvider-
|
|
8
|
+
import { u as fe, s as ne, c as je } from "./DefaultPropsProvider-CQixa6JQ.js";
|
|
9
9
|
import { a as Fe, u as Ie } from "./useTimeout-CrCYVizI.js";
|
|
10
10
|
import { _ as $e, a as Ue, T as ue } from "./TransitionGroupContext-DbLioz_6.js";
|
|
11
11
|
import { keyframes as oe } from "@emotion/react";
|
|
12
12
|
import { u as le } from "./useForkRef-C_4o__cU.js";
|
|
13
13
|
import { u as J } from "./useEventCallback-BAQJJ3ye.js";
|
|
14
14
|
import { i as ce } from "./isFocusVisible-CPZqtjv2.js";
|
|
15
|
-
import { e as ze } from "./elementTypeAcceptingRef-
|
|
16
|
-
import { r as _e } from "./refType-
|
|
15
|
+
import { e as ze } from "./elementTypeAcceptingRef-B04tk6ag.js";
|
|
16
|
+
import { r as _e } from "./refType-Bpj8bod6.js";
|
|
17
17
|
class Q {
|
|
18
18
|
constructor() {
|
|
19
19
|
ae(this, "mountEffect", () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as d from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { G as p, H as u, I as f, P as s } from "./generateUtilityClasses-EXBFO7eY.js";
|
|
3
3
|
import { jsx as C } from "react/jsx-runtime";
|
|
4
|
-
import { u as m, s as y, c as g } from "./DefaultPropsProvider-
|
|
5
|
-
import { P as b } from "./Paper-
|
|
4
|
+
import { u as m, s as y, c as g } from "./DefaultPropsProvider-CQixa6JQ.js";
|
|
5
|
+
import { P as b } from "./Paper-BrsaeLlu.js";
|
|
6
6
|
import { c as v } from "./chainPropTypes-D9lkm76m.js";
|
|
7
7
|
function N(o) {
|
|
8
8
|
return u("MuiCard", o);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { S as $ } from "./SwitchBase-
|
|
4
|
-
import { c as u } from "./createSvgIcon-
|
|
2
|
+
import { G as S, H as P, I as R, n as x, P as e } from "./generateUtilityClasses-EXBFO7eY.js";
|
|
3
|
+
import { S as $ } from "./SwitchBase-91Mand9t.js";
|
|
4
|
+
import { c as u } from "./createSvgIcon-B62eln-G.js";
|
|
5
5
|
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
-
import { u as B, s as w, c as M, r as T } from "./DefaultPropsProvider-
|
|
7
|
-
import { m as j } from "./memoTheme-
|
|
6
|
+
import { u as B, s as w, c as M, r as T } from "./DefaultPropsProvider-CQixa6JQ.js";
|
|
7
|
+
import { m as j } from "./memoTheme-DJWQ754x.js";
|
|
8
8
|
import { c as z } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
9
|
-
import { c } from "./capitalize-
|
|
10
|
-
import { r as H } from "./refType-
|
|
9
|
+
import { c } from "./capitalize-BJ0FEsU7.js";
|
|
10
|
+
import { r as H } from "./refType-Bpj8bod6.js";
|
|
11
11
|
const V = u(/* @__PURE__ */ r("path", {
|
|
12
12
|
d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
|
13
13
|
}), "CheckBoxOutlineBlank"), N = u(/* @__PURE__ */ r("path", {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as u from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { c as Q } from "./createSvgIcon-
|
|
2
|
+
import { G as q, H as J, I as y, n as d, P as r } from "./generateUtilityClasses-EXBFO7eY.js";
|
|
3
|
+
import { c as Q } from "./createSvgIcon-B62eln-G.js";
|
|
4
4
|
import { jsx as P, jsxs as X } from "react/jsx-runtime";
|
|
5
|
-
import { m as Y } from "./memoTheme-
|
|
5
|
+
import { m as Y } from "./memoTheme-DJWQ754x.js";
|
|
6
6
|
import { c as k } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
7
|
-
import { u as Z, s as E, c as h } from "./DefaultPropsProvider-
|
|
7
|
+
import { u as Z, s as E, c as h } from "./DefaultPropsProvider-CQixa6JQ.js";
|
|
8
8
|
import { u as aa } from "./useForkRef-C_4o__cU.js";
|
|
9
|
-
import { B as N } from "./ButtonBase-
|
|
10
|
-
import { c as t } from "./capitalize-
|
|
9
|
+
import { B as N } from "./ButtonBase-CU1npQuI.js";
|
|
10
|
+
import { c as t } from "./capitalize-BJ0FEsU7.js";
|
|
11
11
|
import { u as ea } from "./unsupportedProp-BuVD30Gh.js";
|
|
12
12
|
const oa = Q(/* @__PURE__ */ P("path", {
|
|
13
13
|
d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as O from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { m as P } from "./memoTheme-
|
|
2
|
+
import { H as T, G as R, I as N, P as r } from "./generateUtilityClasses-EXBFO7eY.js";
|
|
3
|
+
import { m as P } from "./memoTheme-DJWQ754x.js";
|
|
4
4
|
import { c as j } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
5
5
|
import { jsx as h } from "react/jsx-runtime";
|
|
6
|
-
import { u as I, s as g, c as U } from "./DefaultPropsProvider-
|
|
7
|
-
import { c } from "./capitalize-
|
|
6
|
+
import { u as I, s as g, c as U } from "./DefaultPropsProvider-CQixa6JQ.js";
|
|
7
|
+
import { c } from "./capitalize-BJ0FEsU7.js";
|
|
8
8
|
import { c as E } from "./chainPropTypes-D9lkm76m.js";
|
|
9
9
|
import { css as x, keyframes as w } from "@emotion/react";
|
|
10
10
|
function z(e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "./createSvgIcon-
|
|
2
|
+
import { c } from "./createSvgIcon-B62eln-G.js";
|
|
3
3
|
const a = c(/* @__PURE__ */ o("path", {
|
|
4
4
|
d: "M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"
|
|
5
5
|
}), "CloseRounded");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const te=require("react"),e=require("./generateUtilityClasses-De8NU9_E.cjs"),ne=require("./useTheme-CIf2b2wK.cjs"),w=require("react/jsx-runtime"),h=require("./DefaultPropsProvider-wpBXjN8r.cjs"),oe=require("./memoTheme-DrjvJtTP.cjs"),b=require("./utils-lBmb5bp_.cjs"),re=require("./useTimeout-COCrDKz-.cjs"),se=require("./useForkRef-CTI33h-3.cjs"),ie=require("./elementTypeAcceptingRef-BjgxF5Bq.cjs");function pe(o){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const p=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(n,r,p.get?p:{enumerable:!0,get:()=>o[r]})}}return n.default=o,Object.freeze(n)}const E=pe(te);function U(o){return e.generateUtilityClass("MuiCollapse",o)}const ae=e.generateUtilityClasses("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]),le=o=>{const{orientation:n,classes:r}=o,p={root:["root",`${n}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${n}`],wrapperInner:["wrapperInner",`${n}`]};return h.composeClasses(p,U,r)},ce=h.styled("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(o,n)=>{const{ownerState:r}=o;return[n.root,n[r.orientation],r.state==="entered"&&n.entered,r.state==="exited"&&!r.in&&r.collapsedSize==="0px"&&n.hidden]}})(oe.memoTheme(({theme:o})=>({height:0,overflow:"hidden",transition:o.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:o.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:n})=>n.state==="exited"&&!n.in&&n.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),ue=h.styled("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(o,n)=>n.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),de=h.styled("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(o,n)=>n.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),C=E.forwardRef(function(n,r){const p=h.useDefaultProps({props:n,name:"MuiCollapse"}),{addEndListener:S,children:A,className:H,collapsedSize:T="0px",component:L,easing:O,in:D,onEnter:j,onEntered:q,onEntering:$,onExit:N,onExited:_,onExiting:M,orientation:W="vertical",style:v,timeout:a=e.duration.standard,TransitionComponent:k=b.Transition,...V}=p,m={...p,orientation:W,collapsedSize:T},u=le(m),F=ne.useTheme(),B=re.useTimeout(),l=E.useRef(null),z=E.useRef(),g=typeof T=="number"?`${T}px`:T,d=W==="horizontal",y=d?"width":"height",P=E.useRef(null),G=se.useForkRef(r,P),c=t=>s=>{if(t){const i=P.current;s===void 0?t(i):t(i,s)}},R=()=>l.current?l.current[d?"clientWidth":"clientHeight"]:0,J=c((t,s)=>{l.current&&d&&(l.current.style.position="absolute"),t.style[y]=g,j&&j(t,s)}),K=c((t,s)=>{const i=R();l.current&&d&&(l.current.style.position="");const{duration:f,easing:x}=b.getTransitionProps({style:v,timeout:a,easing:O},{mode:"enter"});if(a==="auto"){const I=F.transitions.getAutoHeightDuration(i);t.style.transitionDuration=`${I}ms`,z.current=I}else t.style.transitionDuration=typeof f=="string"?f:`${f}ms`;t.style[y]=`${i}px`,t.style.transitionTimingFunction=x,$&&$(t,s)}),Q=c((t,s)=>{t.style[y]="auto",q&&q(t,s)}),X=c(t=>{t.style[y]=`${R()}px`,N&&N(t)}),Y=c(_),Z=c(t=>{const s=R(),{duration:i,easing:f}=b.getTransitionProps({style:v,timeout:a,easing:O},{mode:"exit"});if(a==="auto"){const x=F.transitions.getAutoHeightDuration(s);t.style.transitionDuration=`${x}ms`,z.current=x}else t.style.transitionDuration=typeof i=="string"?i:`${i}ms`;t.style[y]=g,t.style.transitionTimingFunction=f,M&&M(t)}),ee=t=>{a==="auto"&&B.start(z.current||0,t),S&&S(P.current,t)};return w.jsx(k,{in:D,onEnter:J,onEntered:Q,onEntering:K,onExit:X,onExited:Y,onExiting:Z,addEndListener:ee,nodeRef:P,timeout:a==="auto"?null:a,...V,children:(t,{ownerState:s,...i})=>w.jsx(ce,{as:L,className:e.clsx(u.root,H,{entered:u.entered,exited:!D&&g==="0px"&&u.hidden}[t]),style:{[d?"minWidth":"minHeight"]:g,...v},ref:G,ownerState:{...m,state:t},...i,children:w.jsx(ue,{ownerState:{...m,state:t},className:u.wrapper,ref:l,children:w.jsx(de,{ownerState:{...m,state:t},className:u.wrapperInner,children:A})})})})});process.env.NODE_ENV!=="production"&&(C.propTypes={addEndListener:e.PropTypes.func,children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,collapsedSize:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),component:ie.elementTypeAcceptingRef,easing:e.PropTypes.oneOfType([e.PropTypes.shape({enter:e.PropTypes.string,exit:e.PropTypes.string}),e.PropTypes.string]),in:e.PropTypes.bool,onEnter:e.PropTypes.func,onEntered:e.PropTypes.func,onEntering:e.PropTypes.func,onExit:e.PropTypes.func,onExited:e.PropTypes.func,onExiting:e.PropTypes.func,orientation:e.PropTypes.oneOf(["horizontal","vertical"]),style:e.PropTypes.object,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),timeout:e.PropTypes.oneOfType([e.PropTypes.oneOf(["auto"]),e.PropTypes.number,e.PropTypes.shape({appear:e.PropTypes.number,enter:e.PropTypes.number,exit:e.PropTypes.number})])});C&&(C.muiSupportAuto=!0);exports.Collapse=C;exports.collapseClasses=ae;exports.getCollapseUtilityClass=U;
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
import * as w from "react";
|
|
2
|
+
import { G as Z, H as ee, x as te, I as ne, P as e } from "./generateUtilityClasses-EXBFO7eY.js";
|
|
3
|
+
import { u as oe } from "./useTheme-Czi7oO55.js";
|
|
4
|
+
import { jsx as v } from "react/jsx-runtime";
|
|
5
|
+
import { u as ie, s as S, c as re } from "./DefaultPropsProvider-CQixa6JQ.js";
|
|
6
|
+
import { m as se } from "./memoTheme-DJWQ754x.js";
|
|
7
|
+
import { T as ae, g as A } from "./utils-B2jSugkj.js";
|
|
8
|
+
import { u as le } from "./useTimeout-CrCYVizI.js";
|
|
9
|
+
import { u as pe } from "./useForkRef-C_4o__cU.js";
|
|
10
|
+
import { e as ce } from "./elementTypeAcceptingRef-B04tk6ag.js";
|
|
11
|
+
function de(o) {
|
|
12
|
+
return ee("MuiCollapse", o);
|
|
13
|
+
}
|
|
14
|
+
const Se = Z("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]), ue = (o) => {
|
|
15
|
+
const {
|
|
16
|
+
orientation: n,
|
|
17
|
+
classes: s
|
|
18
|
+
} = o, m = {
|
|
19
|
+
root: ["root", `${n}`],
|
|
20
|
+
entered: ["entered"],
|
|
21
|
+
hidden: ["hidden"],
|
|
22
|
+
wrapper: ["wrapper", `${n}`],
|
|
23
|
+
wrapperInner: ["wrapperInner", `${n}`]
|
|
24
|
+
};
|
|
25
|
+
return re(m, de, s);
|
|
26
|
+
}, fe = S("div", {
|
|
27
|
+
name: "MuiCollapse",
|
|
28
|
+
slot: "Root",
|
|
29
|
+
overridesResolver: (o, n) => {
|
|
30
|
+
const {
|
|
31
|
+
ownerState: s
|
|
32
|
+
} = o;
|
|
33
|
+
return [n.root, n[s.orientation], s.state === "entered" && n.entered, s.state === "exited" && !s.in && s.collapsedSize === "0px" && n.hidden];
|
|
34
|
+
}
|
|
35
|
+
})(se(({
|
|
36
|
+
theme: o
|
|
37
|
+
}) => ({
|
|
38
|
+
height: 0,
|
|
39
|
+
overflow: "hidden",
|
|
40
|
+
transition: o.transitions.create("height"),
|
|
41
|
+
variants: [{
|
|
42
|
+
props: {
|
|
43
|
+
orientation: "horizontal"
|
|
44
|
+
},
|
|
45
|
+
style: {
|
|
46
|
+
height: "auto",
|
|
47
|
+
width: 0,
|
|
48
|
+
transition: o.transitions.create("width")
|
|
49
|
+
}
|
|
50
|
+
}, {
|
|
51
|
+
props: {
|
|
52
|
+
state: "entered"
|
|
53
|
+
},
|
|
54
|
+
style: {
|
|
55
|
+
height: "auto",
|
|
56
|
+
overflow: "visible"
|
|
57
|
+
}
|
|
58
|
+
}, {
|
|
59
|
+
props: {
|
|
60
|
+
state: "entered",
|
|
61
|
+
orientation: "horizontal"
|
|
62
|
+
},
|
|
63
|
+
style: {
|
|
64
|
+
width: "auto"
|
|
65
|
+
}
|
|
66
|
+
}, {
|
|
67
|
+
props: ({
|
|
68
|
+
ownerState: n
|
|
69
|
+
}) => n.state === "exited" && !n.in && n.collapsedSize === "0px",
|
|
70
|
+
style: {
|
|
71
|
+
visibility: "hidden"
|
|
72
|
+
}
|
|
73
|
+
}]
|
|
74
|
+
}))), me = S("div", {
|
|
75
|
+
name: "MuiCollapse",
|
|
76
|
+
slot: "Wrapper",
|
|
77
|
+
overridesResolver: (o, n) => n.wrapper
|
|
78
|
+
})({
|
|
79
|
+
// Hack to get children with a negative margin to not falsify the height computation.
|
|
80
|
+
display: "flex",
|
|
81
|
+
width: "100%",
|
|
82
|
+
variants: [{
|
|
83
|
+
props: {
|
|
84
|
+
orientation: "horizontal"
|
|
85
|
+
},
|
|
86
|
+
style: {
|
|
87
|
+
width: "auto",
|
|
88
|
+
height: "100%"
|
|
89
|
+
}
|
|
90
|
+
}]
|
|
91
|
+
}), he = S("div", {
|
|
92
|
+
name: "MuiCollapse",
|
|
93
|
+
slot: "WrapperInner",
|
|
94
|
+
overridesResolver: (o, n) => n.wrapperInner
|
|
95
|
+
})({
|
|
96
|
+
width: "100%",
|
|
97
|
+
variants: [{
|
|
98
|
+
props: {
|
|
99
|
+
orientation: "horizontal"
|
|
100
|
+
},
|
|
101
|
+
style: {
|
|
102
|
+
width: "auto",
|
|
103
|
+
height: "100%"
|
|
104
|
+
}
|
|
105
|
+
}]
|
|
106
|
+
}), R = /* @__PURE__ */ w.forwardRef(function(n, s) {
|
|
107
|
+
const m = ie({
|
|
108
|
+
props: n,
|
|
109
|
+
name: "MuiCollapse"
|
|
110
|
+
}), {
|
|
111
|
+
addEndListener: b,
|
|
112
|
+
children: F,
|
|
113
|
+
className: L,
|
|
114
|
+
collapsedSize: h = "0px",
|
|
115
|
+
component: U,
|
|
116
|
+
easing: D,
|
|
117
|
+
in: O,
|
|
118
|
+
onEnter: $,
|
|
119
|
+
onEntered: I,
|
|
120
|
+
onEntering: N,
|
|
121
|
+
onExit: W,
|
|
122
|
+
onExited: G,
|
|
123
|
+
onExiting: H,
|
|
124
|
+
orientation: M = "vertical",
|
|
125
|
+
style: C,
|
|
126
|
+
timeout: a = te.standard,
|
|
127
|
+
// eslint-disable-next-line react/prop-types
|
|
128
|
+
TransitionComponent: V = ae,
|
|
129
|
+
..._
|
|
130
|
+
} = m, g = {
|
|
131
|
+
...m,
|
|
132
|
+
orientation: M,
|
|
133
|
+
collapsedSize: h
|
|
134
|
+
}, c = ue(g), P = oe(), k = le(), l = w.useRef(null), T = w.useRef(), y = typeof h == "number" ? `${h}px` : h, d = M === "horizontal", u = d ? "width" : "height", E = w.useRef(null), q = pe(s, E), p = (t) => (i) => {
|
|
135
|
+
if (t) {
|
|
136
|
+
const r = E.current;
|
|
137
|
+
i === void 0 ? t(r) : t(r, i);
|
|
138
|
+
}
|
|
139
|
+
}, z = () => l.current ? l.current[d ? "clientWidth" : "clientHeight"] : 0, B = p((t, i) => {
|
|
140
|
+
l.current && d && (l.current.style.position = "absolute"), t.style[u] = y, $ && $(t, i);
|
|
141
|
+
}), J = p((t, i) => {
|
|
142
|
+
const r = z();
|
|
143
|
+
l.current && d && (l.current.style.position = "");
|
|
144
|
+
const {
|
|
145
|
+
duration: f,
|
|
146
|
+
easing: x
|
|
147
|
+
} = A({
|
|
148
|
+
style: C,
|
|
149
|
+
timeout: a,
|
|
150
|
+
easing: D
|
|
151
|
+
}, {
|
|
152
|
+
mode: "enter"
|
|
153
|
+
});
|
|
154
|
+
if (a === "auto") {
|
|
155
|
+
const j = P.transitions.getAutoHeightDuration(r);
|
|
156
|
+
t.style.transitionDuration = `${j}ms`, T.current = j;
|
|
157
|
+
} else
|
|
158
|
+
t.style.transitionDuration = typeof f == "string" ? f : `${f}ms`;
|
|
159
|
+
t.style[u] = `${r}px`, t.style.transitionTimingFunction = x, N && N(t, i);
|
|
160
|
+
}), K = p((t, i) => {
|
|
161
|
+
t.style[u] = "auto", I && I(t, i);
|
|
162
|
+
}), Q = p((t) => {
|
|
163
|
+
t.style[u] = `${z()}px`, W && W(t);
|
|
164
|
+
}), X = p(G), Y = p((t) => {
|
|
165
|
+
const i = z(), {
|
|
166
|
+
duration: r,
|
|
167
|
+
easing: f
|
|
168
|
+
} = A({
|
|
169
|
+
style: C,
|
|
170
|
+
timeout: a,
|
|
171
|
+
easing: D
|
|
172
|
+
}, {
|
|
173
|
+
mode: "exit"
|
|
174
|
+
});
|
|
175
|
+
if (a === "auto") {
|
|
176
|
+
const x = P.transitions.getAutoHeightDuration(i);
|
|
177
|
+
t.style.transitionDuration = `${x}ms`, T.current = x;
|
|
178
|
+
} else
|
|
179
|
+
t.style.transitionDuration = typeof r == "string" ? r : `${r}ms`;
|
|
180
|
+
t.style[u] = y, t.style.transitionTimingFunction = f, H && H(t);
|
|
181
|
+
});
|
|
182
|
+
return /* @__PURE__ */ v(V, {
|
|
183
|
+
in: O,
|
|
184
|
+
onEnter: B,
|
|
185
|
+
onEntered: K,
|
|
186
|
+
onEntering: J,
|
|
187
|
+
onExit: Q,
|
|
188
|
+
onExited: X,
|
|
189
|
+
onExiting: Y,
|
|
190
|
+
addEndListener: (t) => {
|
|
191
|
+
a === "auto" && k.start(T.current || 0, t), b && b(E.current, t);
|
|
192
|
+
},
|
|
193
|
+
nodeRef: E,
|
|
194
|
+
timeout: a === "auto" ? null : a,
|
|
195
|
+
..._,
|
|
196
|
+
children: (t, {
|
|
197
|
+
ownerState: i,
|
|
198
|
+
...r
|
|
199
|
+
}) => /* @__PURE__ */ v(fe, {
|
|
200
|
+
as: U,
|
|
201
|
+
className: ne(c.root, L, {
|
|
202
|
+
entered: c.entered,
|
|
203
|
+
exited: !O && y === "0px" && c.hidden
|
|
204
|
+
}[t]),
|
|
205
|
+
style: {
|
|
206
|
+
[d ? "minWidth" : "minHeight"]: y,
|
|
207
|
+
...C
|
|
208
|
+
},
|
|
209
|
+
ref: q,
|
|
210
|
+
ownerState: {
|
|
211
|
+
...g,
|
|
212
|
+
state: t
|
|
213
|
+
},
|
|
214
|
+
...r,
|
|
215
|
+
children: /* @__PURE__ */ v(me, {
|
|
216
|
+
ownerState: {
|
|
217
|
+
...g,
|
|
218
|
+
state: t
|
|
219
|
+
},
|
|
220
|
+
className: c.wrapper,
|
|
221
|
+
ref: l,
|
|
222
|
+
children: /* @__PURE__ */ v(he, {
|
|
223
|
+
ownerState: {
|
|
224
|
+
...g,
|
|
225
|
+
state: t
|
|
226
|
+
},
|
|
227
|
+
className: c.wrapperInner,
|
|
228
|
+
children: F
|
|
229
|
+
})
|
|
230
|
+
})
|
|
231
|
+
})
|
|
232
|
+
});
|
|
233
|
+
});
|
|
234
|
+
process.env.NODE_ENV !== "production" && (R.propTypes = {
|
|
235
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
236
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
237
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
238
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
239
|
+
/**
|
|
240
|
+
* Add a custom transition end trigger. Called with the transitioning DOM
|
|
241
|
+
* node and a done callback. Allows for more fine grained transition end
|
|
242
|
+
* logic. Note: Timeouts are still used as a fallback if provided.
|
|
243
|
+
*/
|
|
244
|
+
addEndListener: e.func,
|
|
245
|
+
/**
|
|
246
|
+
* The content node to be collapsed.
|
|
247
|
+
*/
|
|
248
|
+
children: e.node,
|
|
249
|
+
/**
|
|
250
|
+
* Override or extend the styles applied to the component.
|
|
251
|
+
*/
|
|
252
|
+
classes: e.object,
|
|
253
|
+
/**
|
|
254
|
+
* @ignore
|
|
255
|
+
*/
|
|
256
|
+
className: e.string,
|
|
257
|
+
/**
|
|
258
|
+
* The width (horizontal) or height (vertical) of the container when collapsed.
|
|
259
|
+
* @default '0px'
|
|
260
|
+
*/
|
|
261
|
+
collapsedSize: e.oneOfType([e.number, e.string]),
|
|
262
|
+
/**
|
|
263
|
+
* The component used for the root node.
|
|
264
|
+
* Either a string to use a HTML element or a component.
|
|
265
|
+
*/
|
|
266
|
+
component: ce,
|
|
267
|
+
/**
|
|
268
|
+
* The transition timing function.
|
|
269
|
+
* You may specify a single easing or a object containing enter and exit values.
|
|
270
|
+
*/
|
|
271
|
+
easing: e.oneOfType([e.shape({
|
|
272
|
+
enter: e.string,
|
|
273
|
+
exit: e.string
|
|
274
|
+
}), e.string]),
|
|
275
|
+
/**
|
|
276
|
+
* If `true`, the component will transition in.
|
|
277
|
+
*/
|
|
278
|
+
in: e.bool,
|
|
279
|
+
/**
|
|
280
|
+
* @ignore
|
|
281
|
+
*/
|
|
282
|
+
onEnter: e.func,
|
|
283
|
+
/**
|
|
284
|
+
* @ignore
|
|
285
|
+
*/
|
|
286
|
+
onEntered: e.func,
|
|
287
|
+
/**
|
|
288
|
+
* @ignore
|
|
289
|
+
*/
|
|
290
|
+
onEntering: e.func,
|
|
291
|
+
/**
|
|
292
|
+
* @ignore
|
|
293
|
+
*/
|
|
294
|
+
onExit: e.func,
|
|
295
|
+
/**
|
|
296
|
+
* @ignore
|
|
297
|
+
*/
|
|
298
|
+
onExited: e.func,
|
|
299
|
+
/**
|
|
300
|
+
* @ignore
|
|
301
|
+
*/
|
|
302
|
+
onExiting: e.func,
|
|
303
|
+
/**
|
|
304
|
+
* The transition orientation.
|
|
305
|
+
* @default 'vertical'
|
|
306
|
+
*/
|
|
307
|
+
orientation: e.oneOf(["horizontal", "vertical"]),
|
|
308
|
+
/**
|
|
309
|
+
* @ignore
|
|
310
|
+
*/
|
|
311
|
+
style: e.object,
|
|
312
|
+
/**
|
|
313
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
314
|
+
*/
|
|
315
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
316
|
+
/**
|
|
317
|
+
* The duration for the transition, in milliseconds.
|
|
318
|
+
* You may specify a single timeout for all transitions, or individually with an object.
|
|
319
|
+
*
|
|
320
|
+
* Set to 'auto' to automatically calculate transition time based on height.
|
|
321
|
+
* @default duration.standard
|
|
322
|
+
*/
|
|
323
|
+
timeout: e.oneOfType([e.oneOf(["auto"]), e.number, e.shape({
|
|
324
|
+
appear: e.number,
|
|
325
|
+
enter: e.number,
|
|
326
|
+
exit: e.number
|
|
327
|
+
})])
|
|
328
|
+
});
|
|
329
|
+
R && (R.muiSupportAuto = !0);
|
|
330
|
+
export {
|
|
331
|
+
R as C,
|
|
332
|
+
Se as c,
|
|
333
|
+
de as g
|
|
334
|
+
};
|