@erpsquad/common 1.8.47 → 1.8.49
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/_virtual/index/index.esm10.js +3 -3
- package/dist/_virtual/index/index.esm11.js +3 -3
- package/dist/_virtual/index/index.esm2.js +2 -2
- package/dist/_virtual/index/index.esm3.js +2 -2
- package/dist/_virtual/index/index.esm4.js +1 -1
- package/dist/_virtual/index/index.esm5.js +3 -3
- package/dist/_virtual/index/index.esm6.js +3 -3
- package/dist/_virtual/index/index.esm7.js +3 -3
- package/dist/_virtual/index/index.esm8.js +3 -3
- package/dist/_virtual/index/index.esm9.js +3 -3
- package/dist/_virtual/index/index10.js +1 -1
- package/dist/_virtual/index/index11.js +1 -1
- package/dist/_virtual/index/index4.js +1 -1
- package/dist/_virtual/index/index5.js +1 -1
- package/dist/_virtual/index/index6.js +1 -1
- package/dist/_virtual/index/index7.js +1 -1
- package/dist/_virtual/index/index8.js +1 -1
- package/dist/_virtual/index/index9.js +1 -1
- package/dist/components/activity-tag/activity-tag/index.esm.js +154 -0
- package/dist/components/activity-tag/activity-tag/index.esm.js.map +1 -0
- package/dist/components/activity-tag/activity-tag/index.js +15 -0
- package/dist/components/activity-tag/activity-tag/index.js.map +1 -0
- package/dist/components/activityLog/activity-log/index.esm.js +104 -0
- package/dist/components/activityLog/activity-log/index.esm.js.map +1 -0
- package/dist/components/activityLog/activity-log/index.js +14 -0
- package/dist/components/activityLog/activity-log/index.js.map +1 -0
- package/dist/components/charts/bar-chart/bar-chart/index.esm.js +86 -0
- package/dist/components/charts/bar-chart/bar-chart/index.esm.js.map +1 -0
- package/dist/components/charts/bar-chart/bar-chart/index.js +2 -0
- package/dist/components/charts/bar-chart/bar-chart/index.js.map +1 -0
- package/dist/components/charts/barChart/barChart/index.esm.js +148 -0
- package/dist/components/charts/barChart/barChart/index.esm.js.map +1 -0
- package/dist/components/charts/barChart/barChart/index.js +2 -0
- package/dist/components/charts/barChart/barChart/index.js.map +1 -0
- package/dist/components/charts/donut-chart/donut-chart/index.esm.js +86 -0
- package/dist/components/charts/donut-chart/donut-chart/index.esm.js.map +1 -0
- package/dist/components/charts/donut-chart/donut-chart/index.js +6 -0
- package/dist/components/charts/donut-chart/donut-chart/index.js.map +1 -0
- package/dist/components/charts/donut-chart/donut-chart.d.ts +1 -2
- package/dist/components/charts/donutChart/DonutChart/index.esm.js +97 -0
- package/dist/components/charts/donutChart/DonutChart/index.esm.js.map +1 -0
- package/dist/components/charts/donutChart/DonutChart/index.js +5 -0
- package/dist/components/charts/donutChart/DonutChart/index.js.map +1 -0
- package/dist/components/charts/index.d.ts +8 -0
- package/dist/components/confirm-modal/confirm-modal/index.esm.js.map +1 -1
- package/dist/components/confirm-modal/confirm-modal/index.js.map +1 -1
- package/dist/components/confirm-modal/confirm-modal.d.ts +1 -2
- package/dist/components/confirm-modal/index.d.ts +1 -0
- package/dist/components/editor/custom-editor/index.esm.js +96 -67
- package/dist/components/editor/custom-editor/index.esm.js.map +1 -1
- package/dist/components/editor/custom-editor/index.js +3 -3
- package/dist/components/editor/custom-editor/index.js.map +1 -1
- package/dist/components/editor/custom-editor.d.ts +12 -8
- package/dist/components/footer/footer/index.esm.js +1 -1
- package/dist/components/footer/footer/index.js +2 -2
- package/dist/components/footer/footer/index.js.map +1 -1
- package/dist/components/form-control/form-parser/form-parser/index.esm.js +1 -1
- package/dist/components/form-control/form-parser/form-parser/index.js +4 -4
- package/dist/components/form-control/form-parser/form-parser/index.js.map +1 -1
- package/dist/components/grid/grid-card/grid-card/index.esm.js +4 -2
- package/dist/components/grid/grid-card/grid-card/index.esm.js.map +1 -1
- package/dist/components/grid/grid-card/grid-card/index.js +10 -11
- package/dist/components/grid/grid-card/grid-card/index.js.map +1 -1
- package/dist/components/grid/grid-card/grid-card.d.ts +10 -1
- package/dist/components/header/redux/reducer/index.esm.js +1 -6
- package/dist/components/header/redux/reducer/index.esm.js.map +1 -1
- package/dist/components/header/redux/reducer/index.js +1 -1
- package/dist/components/header/redux/reducer/index.js.map +1 -1
- package/dist/components/index.d.ts +386 -101
- package/dist/components/index.esm.js +447 -254
- package/dist/components/index.esm.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/component/reportFilter.d.ts +3 -2
- package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.js.map +1 -1
- package/dist/components/inventory-reports-title-bar/redux/reducer/index.esm.js +0 -2
- package/dist/components/inventory-reports-title-bar/redux/reducer/index.esm.js.map +1 -1
- package/dist/components/inventory-reports-title-bar/redux/reducer/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/redux/reducer/index.js.map +1 -1
- package/dist/components/list/list/index.esm.js +3 -2
- package/dist/components/list/list/index.esm.js.map +1 -1
- package/dist/components/list/list/index.js +2 -2
- package/dist/components/list/list/index.js.map +1 -1
- package/dist/components/list/list.d.ts +2 -1
- package/dist/components/listing/listing/index.esm.js +1 -1
- package/dist/components/listing/listing/index.js +1 -1
- package/dist/components/listing/listing/index.js.map +1 -1
- package/dist/components/module-button/module-button/index.esm.js +3 -2
- package/dist/components/module-button/module-button/index.esm.js.map +1 -1
- package/dist/components/module-button/module-button/index.js +4 -4
- package/dist/components/module-button/module-button/index.js.map +1 -1
- package/dist/components/module-button/module-button.d.ts +10 -1
- package/dist/components/mulitline/multiline/index.esm.js +3 -2
- package/dist/components/mulitline/multiline/index.esm.js.map +1 -1
- package/dist/components/mulitline/multiline/index.js +9 -9
- package/dist/components/mulitline/multiline/index.js.map +1 -1
- package/dist/components/mulitline/multiline.d.ts +2 -2
- package/dist/components/page-navigator/page-navigator/index.esm.js +4 -3
- package/dist/components/page-navigator/page-navigator/index.esm.js.map +1 -1
- package/dist/components/page-navigator/page-navigator/index.js +5 -5
- package/dist/components/page-navigator/page-navigator/index.js.map +1 -1
- package/dist/components/page-navigator/page-navigator.d.ts +3 -3
- package/dist/components/parties-modal/parties-modal/index.esm.js +4 -3
- package/dist/components/parties-modal/parties-modal/index.esm.js.map +1 -1
- package/dist/components/parties-modal/parties-modal/index.js +13 -13
- package/dist/components/parties-modal/parties-modal/index.js.map +1 -1
- package/dist/components/parties-modal/parties-modal.d.ts +3 -3
- package/dist/components/reports-title-bar/redux/reducer/index.esm.js +0 -2
- package/dist/components/reports-title-bar/redux/reducer/index.esm.js.map +1 -1
- package/dist/components/reports-title-bar/redux/reducer/index.js +1 -1
- package/dist/components/reports-title-bar/redux/reducer/index.js.map +1 -1
- package/dist/components/reports-title-bar/reports-title-bar/index.esm.js +1 -1
- package/dist/components/reports-title-bar/reports-title-bar/index.js +1 -1
- package/dist/components/reports-title-bar/reports-title-bar/index.js.map +1 -1
- package/dist/components/rfq-response/item-response-details/index.esm.js +40 -48
- package/dist/components/rfq-response/item-response-details/index.esm.js.map +1 -1
- package/dist/components/rfq-response/item-response-details/index.js +4 -4
- package/dist/components/rfq-response/item-response-details/index.js.map +1 -1
- package/dist/components/rfq-response/item-response-details.d.ts +2 -1
- package/dist/components/schedule-report/utils/common/index.esm.js +1 -1
- package/dist/components/share-modal/redux/reducer/index.esm.js +0 -2
- package/dist/components/share-modal/redux/reducer/index.esm.js.map +1 -1
- package/dist/components/share-modal/redux/reducer/index.js +1 -1
- package/dist/components/share-modal/redux/reducer/index.js.map +1 -1
- package/dist/components/tab-bar-ui/tab-bar-ui/index.esm.js +4 -10
- package/dist/components/tab-bar-ui/tab-bar-ui/index.esm.js.map +1 -1
- package/dist/components/tab-bar-ui/tab-bar-ui/index.js +3 -3
- package/dist/components/tab-bar-ui/tab-bar-ui/index.js.map +1 -1
- package/dist/components/tab-bar-ui/tab-bar-ui.d.ts +3 -3
- package/dist/components/tabs/tabs/index.esm.js +3 -2
- package/dist/components/tabs/tabs/index.esm.js.map +1 -1
- package/dist/components/tabs/tabs/index.js +3 -3
- package/dist/components/tabs/tabs/index.js.map +1 -1
- package/dist/components/tabs/tabs.d.ts +2 -2
- package/dist/hooks/index.esm.js +4 -4
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/use-translations/index.esm.js +4 -3
- package/dist/hooks/use-translations/index.esm.js.map +1 -1
- package/dist/hooks/use-translations/index.js +1 -1
- package/dist/hooks/use-translations/index.js.map +1 -1
- package/dist/hooks/use-translations.d.ts +2 -1
- package/dist/hooks/useCheckSkuAndName/index.esm.js +5 -4
- package/dist/hooks/useCheckSkuAndName/index.esm.js.map +1 -1
- package/dist/hooks/useCheckSkuAndName/index.js +1 -1
- package/dist/hooks/useCheckSkuAndName/index.js.map +1 -1
- package/dist/hooks/useCheckSkuAndName.d.ts +4 -2
- package/dist/index.esm.js +528 -315
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/layout/fullScreen/fullScreen/index.esm.js +5 -3
- package/dist/layout/fullScreen/fullScreen/index.esm.js.map +1 -1
- package/dist/layout/fullScreen/fullScreen/index.js +3 -3
- package/dist/layout/fullScreen/fullScreen/index.js.map +1 -1
- package/dist/layout/fullScreen/fullScreen.d.ts +5 -1
- package/dist/layout/index.esm.js +4 -4
- package/dist/layout/index.js +1 -1
- package/dist/layout/sidebarScreen/sidebarScreen/index.esm.js +72 -50
- package/dist/layout/sidebarScreen/sidebarScreen/index.esm.js.map +1 -1
- package/dist/layout/sidebarScreen/sidebarScreen/index.js +4 -4
- package/dist/layout/sidebarScreen/sidebarScreen/index.js.map +1 -1
- package/dist/layout/sidebarScreen/sidebarScreen.d.ts +3 -3
- package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.esm.js +1 -1
- package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.js +1 -1
- package/dist/node_modules/@mui/lab/Timeline/Timeline/index.esm.js +95 -0
- package/dist/node_modules/@mui/lab/Timeline/Timeline/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/lab/Timeline/Timeline/index.js +3 -0
- package/dist/node_modules/@mui/lab/Timeline/Timeline/index.js.map +1 -0
- package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.esm.js +10 -0
- package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.js +2 -0
- package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.js.map +1 -0
- package/dist/node_modules/@mui/lab/Timeline/timelineClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/lab/Timeline/timelineClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/lab/Timeline/timelineClasses/index.js +2 -0
- package/dist/node_modules/@mui/lab/Timeline/timelineClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.esm.js +76 -0
- package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.js +3 -0
- package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineConnector/timelineConnectorClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/lab/TimelineConnector/timelineConnectorClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineConnector/timelineConnectorClasses/index.js +2 -0
- package/dist/node_modules/@mui/lab/TimelineConnector/timelineConnectorClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.esm.js +91 -0
- package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.js +3 -0
- package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineContent/timelineContentClasses/index.esm.js +11 -0
- package/dist/node_modules/@mui/lab/TimelineContent/timelineContentClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineContent/timelineContentClasses/index.js +2 -0
- package/dist/node_modules/@mui/lab/TimelineContent/timelineContentClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.esm.js +118 -0
- package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.js +3 -0
- package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineDot/timelineDotClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/lab/TimelineDot/timelineDotClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineDot/timelineDotClasses/index.js +2 -0
- package/dist/node_modules/@mui/lab/TimelineDot/timelineDotClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.esm.js +128 -0
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.js +3 -0
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineItem/timelineItemClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/lab/TimelineItem/timelineItemClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineItem/timelineItemClasses/index.js +2 -0
- package/dist/node_modules/@mui/lab/TimelineItem/timelineItemClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineOppositeContent/timelineOppositeContentClasses/index.esm.js +6 -0
- package/dist/node_modules/@mui/lab/TimelineOppositeContent/timelineOppositeContentClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineOppositeContent/timelineOppositeContentClasses/index.js +2 -0
- package/dist/node_modules/@mui/lab/TimelineOppositeContent/timelineOppositeContentClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.esm.js +73 -0
- package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.js +3 -0
- package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineSeparator/timelineSeparatorClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/lab/TimelineSeparator/timelineSeparatorClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/lab/TimelineSeparator/timelineSeparatorClasses/index.js +2 -0
- package/dist/node_modules/@mui/lab/TimelineSeparator/timelineSeparatorClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/lab/internal/convertTimelinePositionToClass/index.esm.js +8 -0
- package/dist/node_modules/@mui/lab/internal/convertTimelinePositionToClass/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/lab/internal/convertTimelinePositionToClass/index.js +2 -0
- package/dist/node_modules/@mui/lab/internal/convertTimelinePositionToClass/index.js.map +1 -0
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.esm.js +95 -0
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.js +3 -0
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.js.map +1 -0
- package/dist/node_modules/@mui/material/AccordionActions/accordionActionsClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/material/AccordionActions/accordionActionsClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/AccordionActions/accordionActionsClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/AccordionActions/accordionActionsClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/Avatar/avatarClasses/index.esm.js +3 -2
- package/dist/node_modules/@mui/material/Avatar/avatarClasses/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Avatar/avatarClasses/index.js +1 -1
- package/dist/node_modules/@mui/material/Avatar/avatarClasses/index.js.map +1 -1
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.esm.js +201 -0
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.js +3 -0
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.js.map +1 -0
- package/dist/node_modules/@mui/material/AvatarGroup/avatarGroupClasses/index.esm.js +11 -0
- package/dist/node_modules/@mui/material/AvatarGroup/avatarGroupClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/AvatarGroup/avatarGroupClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/AvatarGroup/avatarGroupClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.esm.js +125 -0
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.js +4 -0
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.js.map +1 -0
- package/dist/node_modules/@mui/material/BottomNavigation/bottomNavigationClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/material/BottomNavigation/bottomNavigationClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/BottomNavigation/bottomNavigationClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/BottomNavigation/bottomNavigationClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.esm.js +170 -0
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.js +3 -0
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.js.map +1 -0
- package/dist/node_modules/@mui/material/BottomNavigationAction/bottomNavigationActionClasses/index.esm.js +11 -0
- package/dist/node_modules/@mui/material/BottomNavigationAction/bottomNavigationActionClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/BottomNavigationAction/bottomNavigationActionClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/BottomNavigationAction/bottomNavigationActionClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.esm.js +120 -0
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.js +3 -0
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.js.map +1 -0
- package/dist/node_modules/@mui/material/CardActionArea/cardActionAreaClasses/index.esm.js +11 -0
- package/dist/node_modules/@mui/material/CardActionArea/cardActionAreaClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/CardActionArea/cardActionAreaClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/CardActionArea/cardActionAreaClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/CardActions/CardActions/index.esm.js +92 -0
- package/dist/node_modules/@mui/material/CardActions/CardActions/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/CardActions/CardActions/index.js +3 -0
- package/dist/node_modules/@mui/material/CardActions/CardActions/index.js.map +1 -0
- package/dist/node_modules/@mui/material/CardActions/cardActionsClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/material/CardActions/cardActionsClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/CardActions/cardActionsClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/CardActions/cardActionsClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.esm.js +196 -0
- package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.js +2 -0
- package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.js.map +1 -0
- package/dist/node_modules/@mui/material/CardHeader/cardHeaderClasses/index.esm.js +11 -0
- package/dist/node_modules/@mui/material/CardHeader/cardHeaderClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/CardHeader/cardHeaderClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/CardHeader/cardHeaderClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.esm.js +76 -0
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.js +3 -0
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.js.map +1 -0
- package/dist/node_modules/@mui/material/DialogContentText/dialogContentTextClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/material/DialogContentText/dialogContentTextClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/DialogContentText/dialogContentTextClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/DialogContentText/dialogContentTextClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/Fab/Fab/index.esm.js +231 -0
- package/dist/node_modules/@mui/material/Fab/Fab/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/Fab/Fab/index.js +3 -0
- package/dist/node_modules/@mui/material/Fab/Fab/index.js.map +1 -0
- package/dist/node_modules/@mui/material/Fab/fabClasses/index.esm.js +11 -0
- package/dist/node_modules/@mui/material/Fab/fabClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/Fab/fabClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/Fab/fabClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/Hidden/Hidden/index.esm.js +135 -0
- package/dist/node_modules/@mui/material/Hidden/Hidden/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/Hidden/Hidden/index.js +2 -0
- package/dist/node_modules/@mui/material/Hidden/Hidden/index.js.map +1 -0
- package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.esm.js +176 -0
- package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.js +3 -0
- package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.js.map +1 -0
- package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.esm.js +119 -0
- package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.js +2 -0
- package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.js.map +1 -0
- package/dist/node_modules/@mui/material/Hidden/hiddenCssClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/material/Hidden/hiddenCssClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/Hidden/hiddenCssClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/Hidden/hiddenCssClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/Hidden/withWidth/index.esm.js +92 -0
- package/dist/node_modules/@mui/material/Hidden/withWidth/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/Hidden/withWidth/index.js +2 -0
- package/dist/node_modules/@mui/material/Hidden/withWidth/index.js.map +1 -0
- package/dist/node_modules/@mui/material/ImageList/ImageList/index.esm.js +156 -0
- package/dist/node_modules/@mui/material/ImageList/ImageList/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/ImageList/ImageList/index.js +3 -0
- package/dist/node_modules/@mui/material/ImageList/ImageList/index.js.map +1 -0
- package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.esm.js +10 -0
- package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.js +2 -0
- package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.js.map +1 -0
- package/dist/node_modules/@mui/material/ImageList/imageListClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/material/ImageList/imageListClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/ImageList/imageListClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/ImageList/imageListClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.esm.js +173 -0
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.js +3 -0
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.js.map +1 -0
- package/dist/node_modules/@mui/material/ImageListItem/imageListItemClasses/index.esm.js +11 -0
- package/dist/node_modules/@mui/material/ImageListItem/imageListItemClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/ImageListItem/imageListItemClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/ImageListItem/imageListItemClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.esm.js +222 -0
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.js +3 -0
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.js.map +1 -0
- package/dist/node_modules/@mui/material/ImageListItemBar/imageListItemBarClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/material/ImageListItemBar/imageListItemBarClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/ImageListItemBar/imageListItemBarClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/ImageListItemBar/imageListItemBarClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.esm.js +216 -0
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.js +3 -0
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.js.map +1 -0
- package/dist/node_modules/@mui/material/MobileStepper/mobileStepperClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/material/MobileStepper/mobileStepperClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/MobileStepper/mobileStepperClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/MobileStepper/mobileStepperClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.esm.js +126 -0
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.js +3 -0
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.js.map +1 -0
- package/dist/node_modules/@mui/material/NativeSelect/nativeSelectClasses/index.esm.js +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/nativeSelectClasses/index.js +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/nativeSelectClasses/index.js.map +1 -1
- package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.esm.js +55 -0
- package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.js +2 -0
- package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.js.map +1 -0
- package/dist/node_modules/@mui/material/OutlinedInput/outlinedInputClasses/index.esm.js +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/outlinedInputClasses/index.js +1 -1
- package/dist/node_modules/@mui/material/Popover/Popover/index.esm.js +1 -1
- package/dist/node_modules/@mui/material/Popover/Popover/index.js +1 -1
- package/dist/node_modules/@mui/material/Rating/Rating/index.esm.js +638 -0
- package/dist/node_modules/@mui/material/Rating/Rating/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/Rating/Rating/index.js +7 -0
- package/dist/node_modules/@mui/material/Rating/Rating/index.js.map +1 -0
- package/dist/node_modules/@mui/material/Rating/ratingClasses/index.esm.js +11 -0
- package/dist/node_modules/@mui/material/Rating/ratingClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/Rating/ratingClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/Rating/ratingClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.esm.js +105 -0
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.js +3 -0
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.js.map +1 -0
- package/dist/node_modules/@mui/material/ScopedCssBaseline/scopedCssBaselineClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/material/ScopedCssBaseline/scopedCssBaselineClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/ScopedCssBaseline/scopedCssBaselineClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/ScopedCssBaseline/scopedCssBaselineClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/Snackbar/Snackbar/index.esm.js +1 -1
- package/dist/node_modules/@mui/material/Snackbar/Snackbar/index.js +1 -1
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.esm.js +453 -0
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.js +4 -0
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.js.map +1 -0
- package/dist/node_modules/@mui/material/SpeedDial/speedDialClasses/index.esm.js +11 -0
- package/dist/node_modules/@mui/material/SpeedDial/speedDialClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/SpeedDial/speedDialClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/SpeedDial/speedDialClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.esm.js +245 -0
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.js +2 -0
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.js.map +1 -0
- package/dist/node_modules/@mui/material/SpeedDialAction/speedDialActionClasses/index.esm.js +11 -0
- package/dist/node_modules/@mui/material/SpeedDialAction/speedDialActionClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/SpeedDialAction/speedDialActionClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/SpeedDialAction/speedDialActionClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.esm.js +137 -0
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.js +4 -0
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.js.map +1 -0
- package/dist/node_modules/@mui/material/SpeedDialIcon/speedDialIconClasses/index.esm.js +11 -0
- package/dist/node_modules/@mui/material/SpeedDialIcon/speedDialIconClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/SpeedDialIcon/speedDialIconClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/SpeedDialIcon/speedDialIconClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/Step/Step/index.esm.js +169 -0
- package/dist/node_modules/@mui/material/Step/Step/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/Step/Step/index.js +3 -0
- package/dist/node_modules/@mui/material/Step/Step/index.js.map +1 -0
- package/dist/node_modules/@mui/material/Step/StepContext/index.esm.js +10 -0
- package/dist/node_modules/@mui/material/Step/StepContext/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/Step/StepContext/index.js +2 -0
- package/dist/node_modules/@mui/material/Step/StepContext/index.js.map +1 -0
- package/dist/node_modules/@mui/material/Step/stepClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/material/Step/stepClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/Step/stepClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/Step/stepClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/StepButton/StepButton/index.esm.js +132 -0
- package/dist/node_modules/@mui/material/StepButton/StepButton/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/StepButton/StepButton/index.js +3 -0
- package/dist/node_modules/@mui/material/StepButton/StepButton/index.js.map +1 -0
- package/dist/node_modules/@mui/material/StepButton/stepButtonClasses/index.esm.js +11 -0
- package/dist/node_modules/@mui/material/StepButton/stepButtonClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/StepButton/stepButtonClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/StepButton/stepButtonClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.esm.js +136 -0
- package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.js +3 -0
- package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.js.map +1 -0
- package/dist/node_modules/@mui/material/StepConnector/stepConnectorClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/material/StepConnector/stepConnectorClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/StepConnector/stepConnectorClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/StepConnector/stepConnectorClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/StepContent/StepContent/index.esm.js +152 -0
- package/dist/node_modules/@mui/material/StepContent/StepContent/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/StepContent/StepContent/index.js +2 -0
- package/dist/node_modules/@mui/material/StepContent/StepContent/index.js.map +1 -0
- package/dist/node_modules/@mui/material/StepContent/stepContentClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/material/StepContent/stepContentClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/StepContent/stepContentClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/StepContent/stepContentClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.esm.js +161 -0
- package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.js +2 -0
- package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.js.map +1 -0
- package/dist/node_modules/@mui/material/StepIcon/stepIconClasses/index.esm.js +11 -0
- package/dist/node_modules/@mui/material/StepIcon/stepIconClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/StepIcon/stepIconClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/StepIcon/stepIconClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.esm.js +239 -0
- package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.js +3 -0
- package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.js.map +1 -0
- package/dist/node_modules/@mui/material/StepLabel/stepLabelClasses/index.esm.js +11 -0
- package/dist/node_modules/@mui/material/StepLabel/stepLabelClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/StepLabel/stepLabelClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/StepLabel/stepLabelClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/Stepper/Stepper/index.esm.js +155 -0
- package/dist/node_modules/@mui/material/Stepper/Stepper/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/Stepper/Stepper/index.js +3 -0
- package/dist/node_modules/@mui/material/Stepper/Stepper/index.js.map +1 -0
- package/dist/node_modules/@mui/material/Stepper/StepperContext/index.esm.js +10 -0
- package/dist/node_modules/@mui/material/Stepper/StepperContext/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/Stepper/StepperContext/index.js +2 -0
- package/dist/node_modules/@mui/material/Stepper/StepperContext/index.js.map +1 -0
- package/dist/node_modules/@mui/material/Stepper/stepperClasses/index.esm.js +10 -0
- package/dist/node_modules/@mui/material/Stepper/stepperClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/Stepper/stepperClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/Stepper/stepperClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.esm.js +82 -0
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.js +3 -0
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.js.map +1 -0
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.esm.js +538 -0
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.js +2 -0
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.js.map +1 -0
- package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.esm.js +443 -0
- package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.js +3 -0
- package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.js.map +1 -0
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.esm.js +179 -0
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.js +3 -0
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.js.map +1 -0
- package/dist/node_modules/@mui/material/TablePagination/tablePaginationClasses/index.esm.js +11 -0
- package/dist/node_modules/@mui/material/TablePagination/tablePaginationClasses/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/TablePagination/tablePaginationClasses/index.js +2 -0
- package/dist/node_modules/@mui/material/TablePagination/tablePaginationClasses/index.js.map +1 -0
- package/dist/node_modules/@mui/material/Tabs/Tabs/index.esm.js +1 -1
- package/dist/node_modules/@mui/material/Tabs/Tabs/index.js +1 -1
- package/dist/node_modules/@mui/material/Zoom/Zoom/index.esm.js +196 -0
- package/dist/node_modules/@mui/material/Zoom/Zoom/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/Zoom/Zoom/index.js +3 -0
- package/dist/node_modules/@mui/material/Zoom/Zoom/index.js.map +1 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/Add/index.esm.js +9 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/Add/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/Add/index.js +2 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/Add/index.js.map +1 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/CheckCircle/index.esm.js +9 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/CheckCircle/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/CheckCircle/index.js +2 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/CheckCircle/index.js.map +1 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/Star/index.esm.js +9 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/Star/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/Star/index.js +2 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/Star/index.js.map +1 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/StarBorder/index.esm.js +9 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/StarBorder/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/StarBorder/index.js +2 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/StarBorder/index.js.map +1 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/Warning/index.esm.js +9 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/Warning/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/Warning/index.js +2 -0
- package/dist/node_modules/@mui/material/internal/svg-icons/Warning/index.js.map +1 -0
- package/dist/node_modules/@mui/material/useScrollTrigger/useScrollTrigger/index.esm.js +51 -0
- package/dist/node_modules/@mui/material/useScrollTrigger/useScrollTrigger/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/useScrollTrigger/useScrollTrigger/index.js +2 -0
- package/dist/node_modules/@mui/material/useScrollTrigger/useScrollTrigger/index.js.map +1 -0
- package/dist/node_modules/@mui/system/colorManipulator/index.esm.js +2 -2
- package/dist/node_modules/@mui/system/colorManipulator/index.js +1 -1
- package/dist/node_modules/@mui/system/colorManipulator/index.js.map +1 -1
- package/dist/node_modules/@mui/system/createStyled/index.esm.js +6 -6
- package/dist/node_modules/@mui/system/createStyled/index.js +1 -1
- package/dist/node_modules/@mui/system/createStyled/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Stack/createStack/index.esm.js +1 -1
- package/dist/node_modules/@mui/system/esm/Stack/createStack/index.js +2 -2
- package/dist/node_modules/@mui/system/useThemeWithoutDefault/index.esm.js +1 -1
- package/dist/node_modules/@mui/system/useThemeWithoutDefault/index.js +1 -1
- package/dist/node_modules/d3-axis/src/axis/index.esm.js +5 -1
- package/dist/node_modules/d3-axis/src/axis/index.esm.js.map +1 -1
- package/dist/node_modules/d3-axis/src/axis/index.js +1 -1
- package/dist/node_modules/d3-axis/src/axis/index.js.map +1 -1
- package/dist/node_modules/d3-shape/src/arc/index.esm.js +134 -0
- package/dist/node_modules/d3-shape/src/arc/index.esm.js.map +1 -0
- package/dist/node_modules/d3-shape/src/arc/index.js +2 -0
- package/dist/node_modules/d3-shape/src/arc/index.js.map +1 -0
- package/dist/node_modules/d3-shape/src/descending/index.esm.js +7 -0
- package/dist/node_modules/d3-shape/src/descending/index.esm.js.map +1 -0
- package/dist/node_modules/d3-shape/src/descending/index.js +2 -0
- package/dist/node_modules/d3-shape/src/descending/index.js.map +1 -0
- package/dist/node_modules/d3-shape/src/identity/index.esm.js +7 -0
- package/dist/node_modules/d3-shape/src/identity/index.esm.js.map +1 -0
- package/dist/node_modules/d3-shape/src/identity/index.js +2 -0
- package/dist/node_modules/d3-shape/src/identity/index.js.map +1 -0
- package/dist/node_modules/d3-shape/src/math/index.esm.js +33 -0
- package/dist/node_modules/d3-shape/src/math/index.esm.js.map +1 -0
- package/dist/node_modules/d3-shape/src/math/index.js +2 -0
- package/dist/node_modules/d3-shape/src/math/index.js.map +1 -0
- package/dist/node_modules/d3-shape/src/pie/index.esm.js +56 -0
- package/dist/node_modules/d3-shape/src/pie/index.esm.js.map +1 -0
- package/dist/node_modules/d3-shape/src/pie/index.js +2 -0
- package/dist/node_modules/d3-shape/src/pie/index.js.map +1 -0
- package/dist/node_modules/prop-types/index/index.esm.js +1 -1
- package/dist/node_modules/prop-types/index/index.js +1 -1
- package/dist/redux/hooks/index.esm.js +1 -1
- package/dist/src/components/charts/donut-chart/donut-chart.d.ts +1 -2
- package/dist/src/components/charts/index.d.ts +8 -0
- package/dist/src/components/confirm-modal/confirm-modal.d.ts +1 -2
- package/dist/src/components/confirm-modal/index.d.ts +1 -0
- package/dist/src/components/editor/custom-editor.d.ts +12 -8
- package/dist/src/components/grid/grid-card/grid-card.d.ts +10 -1
- package/dist/src/components/index.d.ts +228 -101
- package/dist/src/components/inventory-reports-title-bar/component/reportFilter.d.ts +3 -2
- package/dist/src/components/list/list.d.ts +2 -1
- package/dist/src/components/module-button/module-button.d.ts +10 -1
- package/dist/src/components/mulitline/multiline.d.ts +2 -2
- package/dist/src/components/page-navigator/page-navigator.d.ts +3 -3
- package/dist/src/components/parties-modal/parties-modal.d.ts +3 -3
- package/dist/src/components/rfq-response/item-response-details.d.ts +2 -1
- package/dist/src/components/tab-bar-ui/tab-bar-ui.d.ts +3 -3
- package/dist/src/components/tabs/tabs.d.ts +2 -2
- package/dist/src/hooks/use-translations.d.ts +2 -1
- package/dist/src/hooks/useCheckSkuAndName.d.ts +4 -2
- package/dist/src/layout/fullScreen/fullScreen.d.ts +5 -1
- package/dist/src/layout/sidebarScreen/sidebarScreen.d.ts +3 -3
- package/dist/src/views/afterAuth/dashboard/dashboard.d.ts +2 -1
- package/dist/src/views/afterAuth/page-view/redux/reducer.d.ts +2 -1
- package/dist/src/views/form-builder/element-edit-forms/column-width.d.ts +5 -3
- package/dist/style.css +76 -70
- package/dist/utils/common/index.esm.js +1 -1
- package/dist/views/afterAuth/dashboard/dashboard/index.esm.js +5 -4
- package/dist/views/afterAuth/dashboard/dashboard/index.esm.js.map +1 -1
- package/dist/views/afterAuth/dashboard/dashboard/index.js +3 -3
- package/dist/views/afterAuth/dashboard/dashboard/index.js.map +1 -1
- package/dist/views/afterAuth/dashboard/dashboard.d.ts +2 -1
- package/dist/views/afterAuth/dashboard/redux/reducer/index.esm.js +4 -0
- package/dist/views/afterAuth/dashboard/redux/reducer/index.esm.js.map +1 -1
- package/dist/views/afterAuth/dashboard/redux/reducer/index.js +1 -1
- package/dist/views/afterAuth/dashboard/redux/reducer/index.js.map +1 -1
- package/dist/views/afterAuth/page-view/page-view/index.esm.js +4 -4
- package/dist/views/afterAuth/page-view/page-view/index.esm.js.map +1 -1
- package/dist/views/afterAuth/page-view/page-view/index.js +2 -2
- package/dist/views/afterAuth/page-view/page-view/index.js.map +1 -1
- package/dist/views/afterAuth/page-view/redux/reducer/index.esm.js +6 -6
- package/dist/views/afterAuth/page-view/redux/reducer/index.esm.js.map +1 -1
- package/dist/views/afterAuth/page-view/redux/reducer/index.js +1 -1
- package/dist/views/afterAuth/page-view/redux/reducer/index.js.map +1 -1
- package/dist/views/afterAuth/page-view/redux/reducer.d.ts +2 -1
- package/dist/views/form-builder/custom-form/index.esm.js +1 -1
- package/dist/views/form-builder/custom-form/index.js +5 -5
- package/dist/views/form-builder/custom-form/index.js.map +1 -1
- package/dist/views/form-builder/element-edit-forms/column-width/index.esm.js +4 -3
- package/dist/views/form-builder/element-edit-forms/column-width/index.esm.js.map +1 -1
- package/dist/views/form-builder/element-edit-forms/column-width/index.js +3 -3
- package/dist/views/form-builder/element-edit-forms/column-width/index.js.map +1 -1
- package/dist/views/form-builder/element-edit-forms/column-width.d.ts +5 -3
- package/dist/views/form-builder/redux/reducer/index.esm.js +2 -3
- package/dist/views/form-builder/redux/reducer/index.esm.js.map +1 -1
- package/dist/views/form-builder/redux/reducer/index.js +1 -1
- package/dist/views/form-builder/redux/reducer/index.js.map +1 -1
- package/dist/views/index.esm.js +61 -57
- package/dist/views/index.js +1 -1
- package/package.json +1 -1
- package/dist/components/examples/FlexibleReduxExample/index.esm.js +0 -154
- package/dist/components/examples/FlexibleReduxExample/index.esm.js.map +0 -1
- package/dist/components/examples/FlexibleReduxExample/index.js +0 -19
- package/dist/components/examples/FlexibleReduxExample/index.js.map +0 -1
- package/dist/components/footer/index.esm.js +0 -71
- package/dist/components/footer/index.esm.js.map +0 -1
- package/dist/components/footer/index.js +0 -7
- package/dist/components/footer/index.js.map +0 -1
- package/dist/components/header/header-enhanced/index.esm.js +0 -405
- package/dist/components/header/header-enhanced/index.esm.js.map +0 -1
- package/dist/components/header/header-enhanced/index.js +0 -33
- package/dist/components/header/header-enhanced/index.js.map +0 -1
- package/dist/components/header copy/index.esm.js +0 -131
- package/dist/components/header copy/index.esm.js.map +0 -1
- package/dist/components/header copy/index.js +0 -11
- package/dist/components/header copy/index.js.map +0 -1
- package/dist/components/inventory-reports-title-bar/component/reportFilter/index.esm.js +0 -400
- package/dist/components/inventory-reports-title-bar/component/reportFilter/index.esm.js.map +0 -1
- package/dist/components/inventory-reports-title-bar/component/reportFilter/index.js +0 -41
- package/dist/components/inventory-reports-title-bar/component/reportFilter/index.js.map +0 -1
- package/dist/components/share-modal/share-modal-enhanced/index.esm.js +0 -288
- package/dist/components/share-modal/share-modal-enhanced/index.esm.js.map +0 -1
- package/dist/components/share-modal/share-modal-enhanced/index.js +0 -24
- package/dist/components/share-modal/share-modal-enhanced/index.js.map +0 -1
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import _objectWithoutPropertiesLoose from "../../../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose/index.esm.js";
|
|
2
|
+
import _extends from "../../../../@babel/runtime/helpers/esm/extends/index.esm.js";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import PropTypes from "../../../../prop-types/index/index.esm.js";
|
|
5
|
+
import { clsx } from "../../../../clsx/dist/clsx/index.esm.js";
|
|
6
|
+
import styled from "../../styles/styled/index.esm.js";
|
|
7
|
+
import { isHorizontal } from "../../Drawer/Drawer/index.esm.js";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
import capitalize from "../../../utils/esm/capitalize/capitalize/index.esm.js";
|
|
10
|
+
import rootShouldForwardProp from "../../styles/rootShouldForwardProp/index.esm.js";
|
|
11
|
+
var define_process_env_default = {};
|
|
12
|
+
const _excluded = ["anchor", "classes", "className", "width", "style"];
|
|
13
|
+
const SwipeAreaRoot = styled("div", {
|
|
14
|
+
name: "MuiSwipeArea",
|
|
15
|
+
shouldForwardProp: rootShouldForwardProp
|
|
16
|
+
})(({
|
|
17
|
+
theme,
|
|
18
|
+
ownerState
|
|
19
|
+
}) => _extends({
|
|
20
|
+
position: "fixed",
|
|
21
|
+
top: 0,
|
|
22
|
+
left: 0,
|
|
23
|
+
bottom: 0,
|
|
24
|
+
zIndex: theme.zIndex.drawer - 1
|
|
25
|
+
}, ownerState.anchor === "left" && {
|
|
26
|
+
right: "auto"
|
|
27
|
+
}, ownerState.anchor === "right" && {
|
|
28
|
+
left: "auto",
|
|
29
|
+
right: 0
|
|
30
|
+
}, ownerState.anchor === "top" && {
|
|
31
|
+
bottom: "auto",
|
|
32
|
+
right: 0
|
|
33
|
+
}, ownerState.anchor === "bottom" && {
|
|
34
|
+
top: "auto",
|
|
35
|
+
bottom: 0,
|
|
36
|
+
right: 0
|
|
37
|
+
}));
|
|
38
|
+
const SwipeArea = /* @__PURE__ */ React.forwardRef(function SwipeArea2(props, ref) {
|
|
39
|
+
const {
|
|
40
|
+
anchor,
|
|
41
|
+
classes = {},
|
|
42
|
+
className,
|
|
43
|
+
width,
|
|
44
|
+
style
|
|
45
|
+
} = props, other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
46
|
+
const ownerState = props;
|
|
47
|
+
return /* @__PURE__ */ jsx(SwipeAreaRoot, _extends({
|
|
48
|
+
className: clsx("PrivateSwipeArea-root", classes.root, classes[`anchor${capitalize(anchor)}`], className),
|
|
49
|
+
ref,
|
|
50
|
+
style: _extends({
|
|
51
|
+
[isHorizontal(anchor) ? "width" : "height"]: width
|
|
52
|
+
}, style),
|
|
53
|
+
ownerState
|
|
54
|
+
}, other));
|
|
55
|
+
});
|
|
56
|
+
define_process_env_default.NODE_ENV !== "production" ? SwipeArea.propTypes = {
|
|
57
|
+
/**
|
|
58
|
+
* Side on which to attach the discovery area.
|
|
59
|
+
*/
|
|
60
|
+
anchor: PropTypes.oneOf(["left", "top", "right", "bottom"]).isRequired,
|
|
61
|
+
/**
|
|
62
|
+
* @ignore
|
|
63
|
+
*/
|
|
64
|
+
classes: PropTypes.object,
|
|
65
|
+
/**
|
|
66
|
+
* @ignore
|
|
67
|
+
*/
|
|
68
|
+
className: PropTypes.string,
|
|
69
|
+
/**
|
|
70
|
+
* @ignore
|
|
71
|
+
*/
|
|
72
|
+
style: PropTypes.object,
|
|
73
|
+
/**
|
|
74
|
+
* The width of the left most (or right most) area in `px` where the
|
|
75
|
+
* drawer can be swiped open from.
|
|
76
|
+
*/
|
|
77
|
+
width: PropTypes.number.isRequired
|
|
78
|
+
} : void 0;
|
|
79
|
+
export {
|
|
80
|
+
SwipeArea as default
|
|
81
|
+
};
|
|
82
|
+
//# sourceMappingURL=index.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../../../../../node_modules/@mui/material/SwipeableDrawer/SwipeArea.js"],"sourcesContent":["'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"anchor\", \"classes\", \"className\", \"width\", \"style\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport styled, { rootShouldForwardProp } from '../styles/styled';\nimport capitalize from '../utils/capitalize';\nimport { isHorizontal } from '../Drawer/Drawer';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SwipeAreaRoot = styled('div', {\n name: 'MuiSwipeArea',\n shouldForwardProp: rootShouldForwardProp\n})(({\n theme,\n ownerState\n}) => _extends({\n position: 'fixed',\n top: 0,\n left: 0,\n bottom: 0,\n zIndex: theme.zIndex.drawer - 1\n}, ownerState.anchor === 'left' && {\n right: 'auto'\n}, ownerState.anchor === 'right' && {\n left: 'auto',\n right: 0\n}, ownerState.anchor === 'top' && {\n bottom: 'auto',\n right: 0\n}, ownerState.anchor === 'bottom' && {\n top: 'auto',\n bottom: 0,\n right: 0\n}));\n\n/**\n * @ignore - internal component.\n */\nconst SwipeArea = /*#__PURE__*/React.forwardRef(function SwipeArea(props, ref) {\n const {\n anchor,\n classes = {},\n className,\n width,\n style\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = props;\n return /*#__PURE__*/_jsx(SwipeAreaRoot, _extends({\n className: clsx('PrivateSwipeArea-root', classes.root, classes[`anchor${capitalize(anchor)}`], className),\n ref: ref,\n style: _extends({\n [isHorizontal(anchor) ? 'width' : 'height']: width\n }, style),\n ownerState: ownerState\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? SwipeArea.propTypes = {\n /**\n * Side on which to attach the discovery area.\n */\n anchor: PropTypes.oneOf(['left', 'top', 'right', 'bottom']).isRequired,\n /**\n * @ignore\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The width of the left most (or right most) area in `px` where the\n * drawer can be swiped open from.\n */\n width: PropTypes.number.isRequired\n} : void 0;\nexport default SwipeArea;"],"names":["SwipeArea","_jsx"],"mappings":";;;;;;;;;;;AAIA,MAAM,YAAY,CAAC,UAAU,WAAW,aAAa,SAAS,OAAO;AAQrE,MAAM,gBAAgB,OAAO,OAAO;AAAA,EAClC,MAAM;AAAA,EACN,mBAAmB;AACrB,CAAC,EAAE,CAAC;AAAA,EACF;AAAA,EACA;AACF,MAAM,SAAS;AAAA,EACb,UAAU;AAAA,EACV,KAAK;AAAA,EACL,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,QAAQ,MAAM,OAAO,SAAS;AAChC,GAAG,WAAW,WAAW,UAAU;AAAA,EACjC,OAAO;AACT,GAAG,WAAW,WAAW,WAAW;AAAA,EAClC,MAAM;AAAA,EACN,OAAO;AACT,GAAG,WAAW,WAAW,SAAS;AAAA,EAChC,QAAQ;AAAA,EACR,OAAO;AACT,GAAG,WAAW,WAAW,YAAY;AAAA,EACnC,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,OAAO;AACT,CAAC,CAAC;AAKF,MAAM,YAAyB,sBAAM,WAAW,SAASA,WAAU,OAAO,KAAK;AAC7E,QAAM;AAAA,IACF;AAAA,IACA,UAAU,CAAA;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,EAAA,IACE,OACJ,QAAQ,8BAA8B,OAAO,SAAS;AACxD,QAAM,aAAa;AACnB,SAAoBC,oBAAK,eAAe,SAAS;AAAA,IAC/C,WAAW,KAAK,yBAAyB,QAAQ,MAAM,QAAQ,SAAS,WAAW,MAAM,CAAC,EAAE,GAAG,SAAS;AAAA,IACxG;AAAA,IACA,OAAO,SAAS;AAAA,MACd,CAAC,aAAa,MAAM,IAAI,UAAU,QAAQ,GAAG;AAAA,IAAA,GAC5C,KAAK;AAAA,IACR;AAAA,EAAA,GACC,KAAK,CAAC;AACX,CAAC;AACD,2BAAY,aAAa,eAAe,UAAU,YAAY;AAAA;AAAA;AAAA;AAAA,EAI5D,QAAQ,UAAU,MAAM,CAAC,QAAQ,OAAO,SAAS,QAAQ,CAAC,EAAE;AAAA;AAAA;AAAA;AAAA,EAI5D,SAAS,UAAU;AAAA;AAAA;AAAA;AAAA,EAInB,WAAW,UAAU;AAAA;AAAA;AAAA;AAAA,EAIrB,OAAO,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,EAKjB,OAAO,UAAU,OAAO;AAC1B,IAAI;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose/index.js"),t=require("../../../../@babel/runtime/helpers/esm/extends/index.js"),r=require("react"),o=require("../../../../prop-types/index/index.js"),a=require("../../../../clsx/dist/clsx/index.js"),i=require("../../styles/styled/index.js"),s=require("../../Drawer/Drawer/index.js"),u=require("react/jsx-runtime"),l=require("../../../utils/esm/capitalize/capitalize/index.js"),n=require("../../styles/rootShouldForwardProp/index.js");function d(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=/* @__PURE__ */Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,t}var c=/* @__PURE__ */d(r);const f=["anchor","classes","className","width","style"],p=i.default("div",{name:"MuiSwipeArea",shouldForwardProp:n.default})(({theme:e,ownerState:r})=>t.default({position:"fixed",top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1},"left"===r.anchor&&{right:"auto"},"right"===r.anchor&&{left:"auto",right:0},"top"===r.anchor&&{bottom:"auto",right:0},"bottom"===r.anchor&&{top:"auto",bottom:0,right:0})),h=/* @__PURE__ */c.forwardRef(function(r,o){const{anchor:i,classes:n={},className:d,width:c,style:h}=r,b=e.default(r,f),x=r;/* @__PURE__ */
|
|
2
|
+
return u.jsx(p,t.default({className:a.clsx("PrivateSwipeArea-root",n.root,n[`anchor${l.default(i)}`],d),ref:o,style:t.default({[s.isHorizontal(i)?"width":"height"]:c},h),ownerState:x},b))});"production"!=={}.NODE_ENV&&(h.propTypes={anchor:o.default.oneOf(["left","top","right","bottom"]).isRequired,classes:o.default.object,className:o.default.string,style:o.default.object,width:o.default.number.isRequired}),exports.default=h;
|
|
3
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/@mui/material/SwipeableDrawer/SwipeArea.js"],"sourcesContent":["'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"anchor\", \"classes\", \"className\", \"width\", \"style\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport styled, { rootShouldForwardProp } from '../styles/styled';\nimport capitalize from '../utils/capitalize';\nimport { isHorizontal } from '../Drawer/Drawer';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SwipeAreaRoot = styled('div', {\n name: 'MuiSwipeArea',\n shouldForwardProp: rootShouldForwardProp\n})(({\n theme,\n ownerState\n}) => _extends({\n position: 'fixed',\n top: 0,\n left: 0,\n bottom: 0,\n zIndex: theme.zIndex.drawer - 1\n}, ownerState.anchor === 'left' && {\n right: 'auto'\n}, ownerState.anchor === 'right' && {\n left: 'auto',\n right: 0\n}, ownerState.anchor === 'top' && {\n bottom: 'auto',\n right: 0\n}, ownerState.anchor === 'bottom' && {\n top: 'auto',\n bottom: 0,\n right: 0\n}));\n\n/**\n * @ignore - internal component.\n */\nconst SwipeArea = /*#__PURE__*/React.forwardRef(function SwipeArea(props, ref) {\n const {\n anchor,\n classes = {},\n className,\n width,\n style\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = props;\n return /*#__PURE__*/_jsx(SwipeAreaRoot, _extends({\n className: clsx('PrivateSwipeArea-root', classes.root, classes[`anchor${capitalize(anchor)}`], className),\n ref: ref,\n style: _extends({\n [isHorizontal(anchor) ? 'width' : 'height']: width\n }, style),\n ownerState: ownerState\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? SwipeArea.propTypes = {\n /**\n * Side on which to attach the discovery area.\n */\n anchor: PropTypes.oneOf(['left', 'top', 'right', 'bottom']).isRequired,\n /**\n * @ignore\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The width of the left most (or right most) area in `px` where the\n * drawer can be swiped open from.\n */\n width: PropTypes.number.isRequired\n} : void 0;\nexport default SwipeArea;"],"names":["_excluded","SwipeAreaRoot","styled","name","shouldForwardProp","rootShouldForwardProp","theme","ownerState","_extends","position","top","left","bottom","zIndex","drawer","anchor","right","SwipeArea","React","forwardRef","props","ref","classes","className","width","style","other","_objectWithoutPropertiesLoose","_jsx","clsx","root","capitalize","isHorizontal","NODE_ENV","propTypes","PropTypes","oneOf","isRequired","object","string","number"],"mappings":"q5BAIA,MAAMA,EAAY,CAAC,SAAU,UAAW,YAAa,QAAS,SAQxDC,EAAgBC,EAAAA,QAAO,MAAO,CAClCC,KAAM,eACNC,kBAAmBC,EAAAA,SAFCH,CAGnB,EACDI,QACAC,gBACIC,UAAS,CACbC,SAAU,QACVC,IAAK,EACLC,KAAM,EACNC,OAAQ,EACRC,OAAQP,EAAMO,OAAOC,OAAS,GACP,SAAtBP,EAAWQ,QAAqB,CACjCC,MAAO,QACgB,UAAtBT,EAAWQ,QAAsB,CAClCJ,KAAM,OACNK,MAAO,GACgB,QAAtBT,EAAWQ,QAAoB,CAChCH,OAAQ,OACRI,MAAO,GACgB,WAAtBT,EAAWQ,QAAuB,CACnCL,IAAK,OACLE,OAAQ,EACRI,MAAO,KAMHC,iBAAyBC,EAAMC,WAAW,SAAmBC,EAAOC,GACxE,MAAMN,OACFA,EAAAO,QACAA,EAAU,CAAA,EAAAC,UACVA,EAAAC,MACAA,EAAAC,MACAA,GACEL,EACJM,EAAQC,UAA8BP,EAAOpB,GACzCO,EAAaa;AACnB,OAAoBQ,EAAAA,IAAK3B,EAAeO,UAAS,CAC/Ce,UAAWM,EAAAA,KAAK,wBAAyBP,EAAQQ,KAAMR,EAAQ,SAASS,EAAAA,QAAWhB,MAAYQ,GAC/FF,MACAI,MAAOjB,EAAAA,QAAS,CACd,CAACwB,eAAajB,GAAU,QAAU,UAAWS,GAC5CC,GACHlB,cACCmB,GACL,GACyB,kBAAbO,WAA4BhB,EAAUiB,UAAY,CAI5DnB,OAAQoB,EAAAA,QAAUC,MAAM,CAAC,OAAQ,MAAO,QAAS,WAAWC,WAI5Df,QAASa,EAAAA,QAAUG,OAInBf,UAAWY,EAAAA,QAAUI,OAIrBd,MAAOU,EAAAA,QAAUG,OAKjBd,MAAOW,EAAAA,QAAUK,OAAOH","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,538 @@
|
|
|
1
|
+
import _extends from "../../../../@babel/runtime/helpers/esm/extends/index.esm.js";
|
|
2
|
+
import _objectWithoutPropertiesLoose from "../../../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose/index.esm.js";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import * as ReactDOM from "react-dom";
|
|
5
|
+
import PropTypes from "../../../../prop-types/index/index.esm.js";
|
|
6
|
+
import Drawer, { isHorizontal, getAnchor } from "../../Drawer/Drawer/index.esm.js";
|
|
7
|
+
import useTheme from "../../styles/useTheme/index.esm.js";
|
|
8
|
+
import { getTransitionProps } from "../../transitions/utils/index.esm.js";
|
|
9
|
+
import SwipeArea from "../SwipeArea/index.esm.js";
|
|
10
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
11
|
+
import { useDefaultProps } from "../../DefaultPropsProvider/DefaultPropsProvider/index.esm.js";
|
|
12
|
+
import useForkRef from "../../../utils/esm/useForkRef/useForkRef/index.esm.js";
|
|
13
|
+
import useEnhancedEffect from "../../../utils/esm/useEnhancedEffect/useEnhancedEffect/index.esm.js";
|
|
14
|
+
import useEventCallback from "../../../utils/esm/useEventCallback/useEventCallback/index.esm.js";
|
|
15
|
+
import ownerDocument from "../../../utils/esm/ownerDocument/ownerDocument/index.esm.js";
|
|
16
|
+
import NoSsr from "../../NoSsr/NoSsr/index.esm.js";
|
|
17
|
+
import ownerWindow from "../../../utils/esm/ownerWindow/ownerWindow/index.esm.js";
|
|
18
|
+
import elementTypeAcceptingRef from "../../../utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef/index.esm.js";
|
|
19
|
+
var define_process_env_default = {};
|
|
20
|
+
const _excluded = ["BackdropProps"], _excluded2 = ["anchor", "disableBackdropTransition", "disableDiscovery", "disableSwipeToOpen", "hideBackdrop", "hysteresis", "allowSwipeInChildren", "minFlingVelocity", "ModalProps", "onClose", "onOpen", "open", "PaperProps", "SwipeAreaProps", "swipeAreaWidth", "transitionDuration", "variant"];
|
|
21
|
+
const UNCERTAINTY_THRESHOLD = 3;
|
|
22
|
+
const DRAG_STARTED_SIGNAL = 20;
|
|
23
|
+
let claimedSwipeInstance = null;
|
|
24
|
+
function calculateCurrentX(anchor, touches, doc) {
|
|
25
|
+
return anchor === "right" ? doc.body.offsetWidth - touches[0].pageX : touches[0].pageX;
|
|
26
|
+
}
|
|
27
|
+
function calculateCurrentY(anchor, touches, containerWindow) {
|
|
28
|
+
return anchor === "bottom" ? containerWindow.innerHeight - touches[0].clientY : touches[0].clientY;
|
|
29
|
+
}
|
|
30
|
+
function getMaxTranslate(horizontalSwipe, paperInstance) {
|
|
31
|
+
return horizontalSwipe ? paperInstance.clientWidth : paperInstance.clientHeight;
|
|
32
|
+
}
|
|
33
|
+
function getTranslate(currentTranslate, startLocation, open, maxTranslate) {
|
|
34
|
+
return Math.min(Math.max(open ? startLocation - currentTranslate : maxTranslate + startLocation - currentTranslate, 0), maxTranslate);
|
|
35
|
+
}
|
|
36
|
+
function getDomTreeShapes(element, rootNode) {
|
|
37
|
+
const domTreeShapes = [];
|
|
38
|
+
while (element && element !== rootNode.parentElement) {
|
|
39
|
+
const style = ownerWindow(rootNode).getComputedStyle(element);
|
|
40
|
+
if (
|
|
41
|
+
// Ignore the scroll children if the element is absolute positioned.
|
|
42
|
+
style.getPropertyValue("position") === "absolute" || // Ignore the scroll children if the element has an overflowX hidden
|
|
43
|
+
style.getPropertyValue("overflow-x") === "hidden"
|
|
44
|
+
) ;
|
|
45
|
+
else if (element.clientWidth > 0 && element.scrollWidth > element.clientWidth || element.clientHeight > 0 && element.scrollHeight > element.clientHeight) {
|
|
46
|
+
domTreeShapes.push(element);
|
|
47
|
+
}
|
|
48
|
+
element = element.parentElement;
|
|
49
|
+
}
|
|
50
|
+
return domTreeShapes;
|
|
51
|
+
}
|
|
52
|
+
function computeHasNativeHandler({
|
|
53
|
+
domTreeShapes,
|
|
54
|
+
start,
|
|
55
|
+
current,
|
|
56
|
+
anchor
|
|
57
|
+
}) {
|
|
58
|
+
const axisProperties = {
|
|
59
|
+
scrollPosition: {
|
|
60
|
+
x: "scrollLeft",
|
|
61
|
+
y: "scrollTop"
|
|
62
|
+
},
|
|
63
|
+
scrollLength: {
|
|
64
|
+
x: "scrollWidth",
|
|
65
|
+
y: "scrollHeight"
|
|
66
|
+
},
|
|
67
|
+
clientLength: {
|
|
68
|
+
x: "clientWidth",
|
|
69
|
+
y: "clientHeight"
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
return domTreeShapes.some((shape) => {
|
|
73
|
+
let goingForward = current >= start;
|
|
74
|
+
if (anchor === "top" || anchor === "left") {
|
|
75
|
+
goingForward = !goingForward;
|
|
76
|
+
}
|
|
77
|
+
const axis = anchor === "left" || anchor === "right" ? "x" : "y";
|
|
78
|
+
const scrollPosition = Math.round(shape[axisProperties.scrollPosition[axis]]);
|
|
79
|
+
const areNotAtStart = scrollPosition > 0;
|
|
80
|
+
const areNotAtEnd = scrollPosition + shape[axisProperties.clientLength[axis]] < shape[axisProperties.scrollLength[axis]];
|
|
81
|
+
if (goingForward && areNotAtEnd || !goingForward && areNotAtStart) {
|
|
82
|
+
return true;
|
|
83
|
+
}
|
|
84
|
+
return false;
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
const iOS = typeof navigator !== "undefined" && /iPad|iPhone|iPod/.test(navigator.userAgent);
|
|
88
|
+
const SwipeableDrawer = /* @__PURE__ */ React.forwardRef(function SwipeableDrawer2(inProps, ref) {
|
|
89
|
+
const props = useDefaultProps({
|
|
90
|
+
name: "MuiSwipeableDrawer",
|
|
91
|
+
props: inProps
|
|
92
|
+
});
|
|
93
|
+
const theme = useTheme();
|
|
94
|
+
const transitionDurationDefault = {
|
|
95
|
+
enter: theme.transitions.duration.enteringScreen,
|
|
96
|
+
exit: theme.transitions.duration.leavingScreen
|
|
97
|
+
};
|
|
98
|
+
const {
|
|
99
|
+
anchor = "left",
|
|
100
|
+
disableBackdropTransition = false,
|
|
101
|
+
disableDiscovery = false,
|
|
102
|
+
disableSwipeToOpen = iOS,
|
|
103
|
+
hideBackdrop,
|
|
104
|
+
hysteresis = 0.52,
|
|
105
|
+
allowSwipeInChildren = false,
|
|
106
|
+
minFlingVelocity = 450,
|
|
107
|
+
ModalProps: {
|
|
108
|
+
BackdropProps
|
|
109
|
+
} = {},
|
|
110
|
+
onClose,
|
|
111
|
+
onOpen,
|
|
112
|
+
open = false,
|
|
113
|
+
PaperProps = {},
|
|
114
|
+
SwipeAreaProps,
|
|
115
|
+
swipeAreaWidth = 20,
|
|
116
|
+
transitionDuration = transitionDurationDefault,
|
|
117
|
+
variant = "temporary"
|
|
118
|
+
// Mobile first.
|
|
119
|
+
} = props, ModalPropsProp = _objectWithoutPropertiesLoose(props.ModalProps, _excluded), other = _objectWithoutPropertiesLoose(props, _excluded2);
|
|
120
|
+
const [maybeSwiping, setMaybeSwiping] = React.useState(false);
|
|
121
|
+
const swipeInstance = React.useRef({
|
|
122
|
+
isSwiping: null
|
|
123
|
+
});
|
|
124
|
+
const swipeAreaRef = React.useRef();
|
|
125
|
+
const backdropRef = React.useRef();
|
|
126
|
+
const paperRef = React.useRef();
|
|
127
|
+
const handleRef = useForkRef(PaperProps.ref, paperRef);
|
|
128
|
+
const touchDetected = React.useRef(false);
|
|
129
|
+
const calculatedDurationRef = React.useRef();
|
|
130
|
+
useEnhancedEffect(() => {
|
|
131
|
+
calculatedDurationRef.current = null;
|
|
132
|
+
}, [open]);
|
|
133
|
+
const setPosition = React.useCallback((translate, options = {}) => {
|
|
134
|
+
const {
|
|
135
|
+
mode = null,
|
|
136
|
+
changeTransition = true
|
|
137
|
+
} = options;
|
|
138
|
+
const anchorRtl = getAnchor(theme, anchor);
|
|
139
|
+
const rtlTranslateMultiplier = ["right", "bottom"].indexOf(anchorRtl) !== -1 ? 1 : -1;
|
|
140
|
+
const horizontalSwipe = isHorizontal(anchor);
|
|
141
|
+
const transform = horizontalSwipe ? `translate(${rtlTranslateMultiplier * translate}px, 0)` : `translate(0, ${rtlTranslateMultiplier * translate}px)`;
|
|
142
|
+
const drawerStyle = paperRef.current.style;
|
|
143
|
+
drawerStyle.webkitTransform = transform;
|
|
144
|
+
drawerStyle.transform = transform;
|
|
145
|
+
let transition = "";
|
|
146
|
+
if (mode) {
|
|
147
|
+
transition = theme.transitions.create("all", getTransitionProps({
|
|
148
|
+
easing: void 0,
|
|
149
|
+
style: void 0,
|
|
150
|
+
timeout: transitionDuration
|
|
151
|
+
}, {
|
|
152
|
+
mode
|
|
153
|
+
}));
|
|
154
|
+
}
|
|
155
|
+
if (changeTransition) {
|
|
156
|
+
drawerStyle.webkitTransition = transition;
|
|
157
|
+
drawerStyle.transition = transition;
|
|
158
|
+
}
|
|
159
|
+
if (!disableBackdropTransition && !hideBackdrop) {
|
|
160
|
+
const backdropStyle = backdropRef.current.style;
|
|
161
|
+
backdropStyle.opacity = 1 - translate / getMaxTranslate(horizontalSwipe, paperRef.current);
|
|
162
|
+
if (changeTransition) {
|
|
163
|
+
backdropStyle.webkitTransition = transition;
|
|
164
|
+
backdropStyle.transition = transition;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}, [anchor, disableBackdropTransition, hideBackdrop, theme, transitionDuration]);
|
|
168
|
+
const handleBodyTouchEnd = useEventCallback((nativeEvent) => {
|
|
169
|
+
if (!touchDetected.current) {
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
claimedSwipeInstance = null;
|
|
173
|
+
touchDetected.current = false;
|
|
174
|
+
ReactDOM.flushSync(() => {
|
|
175
|
+
setMaybeSwiping(false);
|
|
176
|
+
});
|
|
177
|
+
if (!swipeInstance.current.isSwiping) {
|
|
178
|
+
swipeInstance.current.isSwiping = null;
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
swipeInstance.current.isSwiping = null;
|
|
182
|
+
const anchorRtl = getAnchor(theme, anchor);
|
|
183
|
+
const horizontal = isHorizontal(anchor);
|
|
184
|
+
let current;
|
|
185
|
+
if (horizontal) {
|
|
186
|
+
current = calculateCurrentX(anchorRtl, nativeEvent.changedTouches, ownerDocument(nativeEvent.currentTarget));
|
|
187
|
+
} else {
|
|
188
|
+
current = calculateCurrentY(anchorRtl, nativeEvent.changedTouches, ownerWindow(nativeEvent.currentTarget));
|
|
189
|
+
}
|
|
190
|
+
const startLocation = horizontal ? swipeInstance.current.startX : swipeInstance.current.startY;
|
|
191
|
+
const maxTranslate = getMaxTranslate(horizontal, paperRef.current);
|
|
192
|
+
const currentTranslate = getTranslate(current, startLocation, open, maxTranslate);
|
|
193
|
+
const translateRatio = currentTranslate / maxTranslate;
|
|
194
|
+
if (Math.abs(swipeInstance.current.velocity) > minFlingVelocity) {
|
|
195
|
+
calculatedDurationRef.current = Math.abs((maxTranslate - currentTranslate) / swipeInstance.current.velocity) * 1e3;
|
|
196
|
+
}
|
|
197
|
+
if (open) {
|
|
198
|
+
if (swipeInstance.current.velocity > minFlingVelocity || translateRatio > hysteresis) {
|
|
199
|
+
onClose();
|
|
200
|
+
} else {
|
|
201
|
+
setPosition(0, {
|
|
202
|
+
mode: "exit"
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
if (swipeInstance.current.velocity < -minFlingVelocity || 1 - translateRatio > hysteresis) {
|
|
208
|
+
onOpen();
|
|
209
|
+
} else {
|
|
210
|
+
setPosition(getMaxTranslate(horizontal, paperRef.current), {
|
|
211
|
+
mode: "enter"
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
const startMaybeSwiping = (force = false) => {
|
|
216
|
+
if (!maybeSwiping) {
|
|
217
|
+
if (force || !(disableDiscovery && allowSwipeInChildren)) {
|
|
218
|
+
ReactDOM.flushSync(() => {
|
|
219
|
+
setMaybeSwiping(true);
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
const horizontalSwipe = isHorizontal(anchor);
|
|
223
|
+
if (!open && paperRef.current) {
|
|
224
|
+
setPosition(getMaxTranslate(horizontalSwipe, paperRef.current) + (disableDiscovery ? 15 : -DRAG_STARTED_SIGNAL), {
|
|
225
|
+
changeTransition: false
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
swipeInstance.current.velocity = 0;
|
|
229
|
+
swipeInstance.current.lastTime = null;
|
|
230
|
+
swipeInstance.current.lastTranslate = null;
|
|
231
|
+
swipeInstance.current.paperHit = false;
|
|
232
|
+
touchDetected.current = true;
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
const handleBodyTouchMove = useEventCallback((nativeEvent) => {
|
|
236
|
+
if (!paperRef.current || !touchDetected.current) {
|
|
237
|
+
return;
|
|
238
|
+
}
|
|
239
|
+
if (claimedSwipeInstance !== null && claimedSwipeInstance !== swipeInstance.current) {
|
|
240
|
+
return;
|
|
241
|
+
}
|
|
242
|
+
startMaybeSwiping(true);
|
|
243
|
+
const anchorRtl = getAnchor(theme, anchor);
|
|
244
|
+
const horizontalSwipe = isHorizontal(anchor);
|
|
245
|
+
const currentX = calculateCurrentX(anchorRtl, nativeEvent.touches, ownerDocument(nativeEvent.currentTarget));
|
|
246
|
+
const currentY = calculateCurrentY(anchorRtl, nativeEvent.touches, ownerWindow(nativeEvent.currentTarget));
|
|
247
|
+
if (open && paperRef.current.contains(nativeEvent.target) && claimedSwipeInstance === null) {
|
|
248
|
+
const domTreeShapes = getDomTreeShapes(nativeEvent.target, paperRef.current);
|
|
249
|
+
const hasNativeHandler = computeHasNativeHandler({
|
|
250
|
+
domTreeShapes,
|
|
251
|
+
start: horizontalSwipe ? swipeInstance.current.startX : swipeInstance.current.startY,
|
|
252
|
+
current: horizontalSwipe ? currentX : currentY,
|
|
253
|
+
anchor
|
|
254
|
+
});
|
|
255
|
+
if (hasNativeHandler) {
|
|
256
|
+
claimedSwipeInstance = true;
|
|
257
|
+
return;
|
|
258
|
+
}
|
|
259
|
+
claimedSwipeInstance = swipeInstance.current;
|
|
260
|
+
}
|
|
261
|
+
if (swipeInstance.current.isSwiping == null) {
|
|
262
|
+
const dx = Math.abs(currentX - swipeInstance.current.startX);
|
|
263
|
+
const dy = Math.abs(currentY - swipeInstance.current.startY);
|
|
264
|
+
const definitelySwiping = horizontalSwipe ? dx > dy && dx > UNCERTAINTY_THRESHOLD : dy > dx && dy > UNCERTAINTY_THRESHOLD;
|
|
265
|
+
if (definitelySwiping && nativeEvent.cancelable) {
|
|
266
|
+
nativeEvent.preventDefault();
|
|
267
|
+
}
|
|
268
|
+
if (definitelySwiping === true || (horizontalSwipe ? dy > UNCERTAINTY_THRESHOLD : dx > UNCERTAINTY_THRESHOLD)) {
|
|
269
|
+
swipeInstance.current.isSwiping = definitelySwiping;
|
|
270
|
+
if (!definitelySwiping) {
|
|
271
|
+
handleBodyTouchEnd(nativeEvent);
|
|
272
|
+
return;
|
|
273
|
+
}
|
|
274
|
+
swipeInstance.current.startX = currentX;
|
|
275
|
+
swipeInstance.current.startY = currentY;
|
|
276
|
+
if (!disableDiscovery && !open) {
|
|
277
|
+
if (horizontalSwipe) {
|
|
278
|
+
swipeInstance.current.startX -= DRAG_STARTED_SIGNAL;
|
|
279
|
+
} else {
|
|
280
|
+
swipeInstance.current.startY -= DRAG_STARTED_SIGNAL;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
if (!swipeInstance.current.isSwiping) {
|
|
286
|
+
return;
|
|
287
|
+
}
|
|
288
|
+
const maxTranslate = getMaxTranslate(horizontalSwipe, paperRef.current);
|
|
289
|
+
let startLocation = horizontalSwipe ? swipeInstance.current.startX : swipeInstance.current.startY;
|
|
290
|
+
if (open && !swipeInstance.current.paperHit) {
|
|
291
|
+
startLocation = Math.min(startLocation, maxTranslate);
|
|
292
|
+
}
|
|
293
|
+
const translate = getTranslate(horizontalSwipe ? currentX : currentY, startLocation, open, maxTranslate);
|
|
294
|
+
if (open) {
|
|
295
|
+
if (!swipeInstance.current.paperHit) {
|
|
296
|
+
const paperHit = horizontalSwipe ? currentX < maxTranslate : currentY < maxTranslate;
|
|
297
|
+
if (paperHit) {
|
|
298
|
+
swipeInstance.current.paperHit = true;
|
|
299
|
+
swipeInstance.current.startX = currentX;
|
|
300
|
+
swipeInstance.current.startY = currentY;
|
|
301
|
+
} else {
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
} else if (translate === 0) {
|
|
305
|
+
swipeInstance.current.startX = currentX;
|
|
306
|
+
swipeInstance.current.startY = currentY;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
if (swipeInstance.current.lastTranslate === null) {
|
|
310
|
+
swipeInstance.current.lastTranslate = translate;
|
|
311
|
+
swipeInstance.current.lastTime = performance.now() + 1;
|
|
312
|
+
}
|
|
313
|
+
const velocity = (translate - swipeInstance.current.lastTranslate) / (performance.now() - swipeInstance.current.lastTime) * 1e3;
|
|
314
|
+
swipeInstance.current.velocity = swipeInstance.current.velocity * 0.4 + velocity * 0.6;
|
|
315
|
+
swipeInstance.current.lastTranslate = translate;
|
|
316
|
+
swipeInstance.current.lastTime = performance.now();
|
|
317
|
+
if (nativeEvent.cancelable) {
|
|
318
|
+
nativeEvent.preventDefault();
|
|
319
|
+
}
|
|
320
|
+
setPosition(translate);
|
|
321
|
+
});
|
|
322
|
+
const handleBodyTouchStart = useEventCallback((nativeEvent) => {
|
|
323
|
+
if (nativeEvent.defaultPrevented) {
|
|
324
|
+
return;
|
|
325
|
+
}
|
|
326
|
+
if (nativeEvent.defaultMuiPrevented) {
|
|
327
|
+
return;
|
|
328
|
+
}
|
|
329
|
+
if (open && (hideBackdrop || !backdropRef.current.contains(nativeEvent.target)) && !paperRef.current.contains(nativeEvent.target)) {
|
|
330
|
+
return;
|
|
331
|
+
}
|
|
332
|
+
const anchorRtl = getAnchor(theme, anchor);
|
|
333
|
+
const horizontalSwipe = isHorizontal(anchor);
|
|
334
|
+
const currentX = calculateCurrentX(anchorRtl, nativeEvent.touches, ownerDocument(nativeEvent.currentTarget));
|
|
335
|
+
const currentY = calculateCurrentY(anchorRtl, nativeEvent.touches, ownerWindow(nativeEvent.currentTarget));
|
|
336
|
+
if (!open) {
|
|
337
|
+
var _paperRef$current;
|
|
338
|
+
if (disableSwipeToOpen || !(nativeEvent.target === swipeAreaRef.current || (_paperRef$current = paperRef.current) != null && _paperRef$current.contains(nativeEvent.target) && (typeof allowSwipeInChildren === "function" ? allowSwipeInChildren(nativeEvent, swipeAreaRef.current, paperRef.current) : allowSwipeInChildren))) {
|
|
339
|
+
return;
|
|
340
|
+
}
|
|
341
|
+
if (horizontalSwipe) {
|
|
342
|
+
if (currentX > swipeAreaWidth) {
|
|
343
|
+
return;
|
|
344
|
+
}
|
|
345
|
+
} else if (currentY > swipeAreaWidth) {
|
|
346
|
+
return;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
nativeEvent.defaultMuiPrevented = true;
|
|
350
|
+
claimedSwipeInstance = null;
|
|
351
|
+
swipeInstance.current.startX = currentX;
|
|
352
|
+
swipeInstance.current.startY = currentY;
|
|
353
|
+
startMaybeSwiping();
|
|
354
|
+
});
|
|
355
|
+
React.useEffect(() => {
|
|
356
|
+
if (variant === "temporary") {
|
|
357
|
+
const doc = ownerDocument(paperRef.current);
|
|
358
|
+
doc.addEventListener("touchstart", handleBodyTouchStart);
|
|
359
|
+
doc.addEventListener("touchmove", handleBodyTouchMove, {
|
|
360
|
+
passive: !open
|
|
361
|
+
});
|
|
362
|
+
doc.addEventListener("touchend", handleBodyTouchEnd);
|
|
363
|
+
return () => {
|
|
364
|
+
doc.removeEventListener("touchstart", handleBodyTouchStart);
|
|
365
|
+
doc.removeEventListener("touchmove", handleBodyTouchMove, {
|
|
366
|
+
passive: !open
|
|
367
|
+
});
|
|
368
|
+
doc.removeEventListener("touchend", handleBodyTouchEnd);
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
return void 0;
|
|
372
|
+
}, [variant, open, handleBodyTouchStart, handleBodyTouchMove, handleBodyTouchEnd]);
|
|
373
|
+
React.useEffect(() => () => {
|
|
374
|
+
if (claimedSwipeInstance === swipeInstance.current) {
|
|
375
|
+
claimedSwipeInstance = null;
|
|
376
|
+
}
|
|
377
|
+
}, []);
|
|
378
|
+
React.useEffect(() => {
|
|
379
|
+
if (!open) {
|
|
380
|
+
setMaybeSwiping(false);
|
|
381
|
+
}
|
|
382
|
+
}, [open]);
|
|
383
|
+
return /* @__PURE__ */ jsxs(React.Fragment, {
|
|
384
|
+
children: [/* @__PURE__ */ jsx(Drawer, _extends({
|
|
385
|
+
open: variant === "temporary" && maybeSwiping ? true : open,
|
|
386
|
+
variant,
|
|
387
|
+
ModalProps: _extends({
|
|
388
|
+
BackdropProps: _extends({}, BackdropProps, {
|
|
389
|
+
ref: backdropRef
|
|
390
|
+
})
|
|
391
|
+
}, variant === "temporary" && {
|
|
392
|
+
keepMounted: true
|
|
393
|
+
}, ModalPropsProp),
|
|
394
|
+
hideBackdrop,
|
|
395
|
+
PaperProps: _extends({}, PaperProps, {
|
|
396
|
+
style: _extends({
|
|
397
|
+
pointerEvents: variant === "temporary" && !open && !allowSwipeInChildren ? "none" : ""
|
|
398
|
+
}, PaperProps.style),
|
|
399
|
+
ref: handleRef
|
|
400
|
+
}),
|
|
401
|
+
anchor,
|
|
402
|
+
transitionDuration: calculatedDurationRef.current || transitionDuration,
|
|
403
|
+
onClose,
|
|
404
|
+
ref
|
|
405
|
+
}, other)), !disableSwipeToOpen && variant === "temporary" && /* @__PURE__ */ jsx(NoSsr, {
|
|
406
|
+
children: /* @__PURE__ */ jsx(SwipeArea, _extends({
|
|
407
|
+
anchor,
|
|
408
|
+
ref: swipeAreaRef,
|
|
409
|
+
width: swipeAreaWidth
|
|
410
|
+
}, SwipeAreaProps))
|
|
411
|
+
})]
|
|
412
|
+
});
|
|
413
|
+
});
|
|
414
|
+
define_process_env_default.NODE_ENV !== "production" ? SwipeableDrawer.propTypes = {
|
|
415
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
416
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
417
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
418
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
419
|
+
/**
|
|
420
|
+
* If set to true, the swipe event will open the drawer even if the user begins the swipe on one of the drawer's children.
|
|
421
|
+
* This can be useful in scenarios where the drawer is partially visible.
|
|
422
|
+
* You can customize it further with a callback that determines which children the user can drag over to open the drawer
|
|
423
|
+
* (for example, to ignore other elements that handle touch move events, like sliders).
|
|
424
|
+
*
|
|
425
|
+
* @param {TouchEvent} event The 'touchstart' event
|
|
426
|
+
* @param {HTMLDivElement} swipeArea The swipe area element
|
|
427
|
+
* @param {HTMLDivElement} paper The drawer's paper element
|
|
428
|
+
*
|
|
429
|
+
* @default false
|
|
430
|
+
*/
|
|
431
|
+
allowSwipeInChildren: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]),
|
|
432
|
+
/**
|
|
433
|
+
* @ignore
|
|
434
|
+
*/
|
|
435
|
+
anchor: PropTypes.oneOf(["bottom", "left", "right", "top"]),
|
|
436
|
+
/**
|
|
437
|
+
* The content of the component.
|
|
438
|
+
*/
|
|
439
|
+
children: PropTypes.node,
|
|
440
|
+
/**
|
|
441
|
+
* Disable the backdrop transition.
|
|
442
|
+
* This can improve the FPS on low-end devices.
|
|
443
|
+
* @default false
|
|
444
|
+
*/
|
|
445
|
+
disableBackdropTransition: PropTypes.bool,
|
|
446
|
+
/**
|
|
447
|
+
* If `true`, touching the screen near the edge of the drawer will not slide in the drawer a bit
|
|
448
|
+
* to promote accidental discovery of the swipe gesture.
|
|
449
|
+
* @default false
|
|
450
|
+
*/
|
|
451
|
+
disableDiscovery: PropTypes.bool,
|
|
452
|
+
/**
|
|
453
|
+
* If `true`, swipe to open is disabled. This is useful in browsers where swiping triggers
|
|
454
|
+
* navigation actions. Swipe to open is disabled on iOS browsers by default.
|
|
455
|
+
* @default typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent)
|
|
456
|
+
*/
|
|
457
|
+
disableSwipeToOpen: PropTypes.bool,
|
|
458
|
+
/**
|
|
459
|
+
* @ignore
|
|
460
|
+
*/
|
|
461
|
+
hideBackdrop: PropTypes.bool,
|
|
462
|
+
/**
|
|
463
|
+
* Affects how far the drawer must be opened/closed to change its state.
|
|
464
|
+
* Specified as percent (0-1) of the width of the drawer
|
|
465
|
+
* @default 0.52
|
|
466
|
+
*/
|
|
467
|
+
hysteresis: PropTypes.number,
|
|
468
|
+
/**
|
|
469
|
+
* Defines, from which (average) velocity on, the swipe is
|
|
470
|
+
* defined as complete although hysteresis isn't reached.
|
|
471
|
+
* Good threshold is between 250 - 1000 px/s
|
|
472
|
+
* @default 450
|
|
473
|
+
*/
|
|
474
|
+
minFlingVelocity: PropTypes.number,
|
|
475
|
+
/**
|
|
476
|
+
* @ignore
|
|
477
|
+
*/
|
|
478
|
+
ModalProps: PropTypes.shape({
|
|
479
|
+
BackdropProps: PropTypes.shape({
|
|
480
|
+
component: elementTypeAcceptingRef
|
|
481
|
+
})
|
|
482
|
+
}),
|
|
483
|
+
/**
|
|
484
|
+
* Callback fired when the component requests to be closed.
|
|
485
|
+
*
|
|
486
|
+
* @param {React.SyntheticEvent<{}>} event The event source of the callback.
|
|
487
|
+
*/
|
|
488
|
+
onClose: PropTypes.func.isRequired,
|
|
489
|
+
/**
|
|
490
|
+
* Callback fired when the component requests to be opened.
|
|
491
|
+
*
|
|
492
|
+
* @param {React.SyntheticEvent<{}>} event The event source of the callback.
|
|
493
|
+
*/
|
|
494
|
+
onOpen: PropTypes.func.isRequired,
|
|
495
|
+
/**
|
|
496
|
+
* If `true`, the component is shown.
|
|
497
|
+
* @default false
|
|
498
|
+
*/
|
|
499
|
+
open: PropTypes.bool,
|
|
500
|
+
/**
|
|
501
|
+
* @ignore
|
|
502
|
+
*/
|
|
503
|
+
PaperProps: PropTypes.shape({
|
|
504
|
+
component: elementTypeAcceptingRef,
|
|
505
|
+
style: PropTypes.object
|
|
506
|
+
}),
|
|
507
|
+
/**
|
|
508
|
+
* The element is used to intercept the touch events on the edge.
|
|
509
|
+
*/
|
|
510
|
+
SwipeAreaProps: PropTypes.object,
|
|
511
|
+
/**
|
|
512
|
+
* The width of the left most (or right most) area in `px` that
|
|
513
|
+
* the drawer can be swiped open from.
|
|
514
|
+
* @default 20
|
|
515
|
+
*/
|
|
516
|
+
swipeAreaWidth: PropTypes.number,
|
|
517
|
+
/**
|
|
518
|
+
* The duration for the transition, in milliseconds.
|
|
519
|
+
* You may specify a single timeout for all transitions, or individually with an object.
|
|
520
|
+
* @default {
|
|
521
|
+
* enter: theme.transitions.duration.enteringScreen,
|
|
522
|
+
* exit: theme.transitions.duration.leavingScreen,
|
|
523
|
+
* }
|
|
524
|
+
*/
|
|
525
|
+
transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
526
|
+
appear: PropTypes.number,
|
|
527
|
+
enter: PropTypes.number,
|
|
528
|
+
exit: PropTypes.number
|
|
529
|
+
})]),
|
|
530
|
+
/**
|
|
531
|
+
* @ignore
|
|
532
|
+
*/
|
|
533
|
+
variant: PropTypes.oneOf(["permanent", "persistent", "temporary"])
|
|
534
|
+
} : void 0;
|
|
535
|
+
export {
|
|
536
|
+
SwipeableDrawer as default
|
|
537
|
+
};
|
|
538
|
+
//# sourceMappingURL=index.esm.js.map
|