@erpsquad/common 1.8.46 → 1.8.48
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 -4
- package/dist/_virtual/index/index.esm2.js.map +1 -1
- package/dist/_virtual/index/index.esm3.js +4 -2
- package/dist/_virtual/index/index.esm3.js.map +1 -1
- 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/index2.js +1 -1
- package/dist/_virtual/index/index3.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/assets/index.d.ts +0 -1
- 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/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.map +1 -1
- package/dist/components/charts/donut-chart/donut-chart/index.js.map +1 -1
- 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 +11 -0
- package/dist/components/charts/line-chart/area-lineChart/index.esm.js +55 -0
- package/dist/components/charts/line-chart/area-lineChart/index.esm.js.map +1 -0
- package/dist/components/charts/line-chart/area-lineChart/index.js +2 -0
- package/dist/components/charts/line-chart/area-lineChart/index.js.map +1 -0
- package/dist/components/charts/line-chart/line-chart/index.esm.js +108 -0
- package/dist/components/charts/line-chart/line-chart/index.esm.js.map +1 -0
- package/dist/components/charts/line-chart/line-chart/index.js +2 -0
- package/dist/components/charts/line-chart/line-chart/index.js.map +1 -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/index.d.ts +294 -98
- package/dist/components/index.esm.js +582 -193
- 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/material-table/aggregation-fns/index/index.esm.js +10 -0
- package/dist/components/material-table/aggregation-fns/index/index.esm.js.map +1 -1
- package/dist/components/material-table/aggregation-fns/index/index.js +1 -1
- package/dist/components/material-table/aggregation-fns/index/index.js.map +1 -1
- package/dist/components/material-table/components/number-aggregation/index.esm.js +134 -0
- package/dist/components/material-table/components/number-aggregation/index.esm.js.map +1 -0
- package/dist/components/material-table/components/number-aggregation/index.js +5 -0
- package/dist/components/material-table/components/number-aggregation/index.js.map +1 -0
- 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/report-buttons/report-buttons/index.esm.js +60 -0
- package/dist/components/reports-title-bar/report-buttons/report-buttons/index.esm.js.map +1 -0
- package/dist/components/reports-title-bar/report-buttons/report-buttons/index.js +2 -0
- package/dist/components/reports-title-bar/report-buttons/report-buttons/index.js.map +1 -0
- package/dist/components/reports-title-bar/reports-title-bar/index.esm.js +736 -0
- package/dist/components/reports-title-bar/reports-title-bar/index.esm.js.map +1 -0
- package/dist/components/reports-title-bar/reports-title-bar/index.js +39 -0
- package/dist/components/reports-title-bar/reports-title-bar/index.js.map +1 -0
- 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/select/controller/chip-or-placeholder/index.esm.js +25 -0
- package/dist/components/select/controller/chip-or-placeholder/index.esm.js.map +1 -0
- package/dist/components/select/controller/chip-or-placeholder/index.js +2 -0
- package/dist/components/select/controller/chip-or-placeholder/index.js.map +1 -0
- package/dist/components/select/controller/controller-select/index.esm.js +165 -0
- package/dist/components/select/controller/controller-select/index.esm.js.map +1 -0
- package/dist/components/select/controller/controller-select/index.js +10 -0
- package/dist/components/select/controller/controller-select/index.js.map +1 -0
- 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 +696 -268
- 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/icons-material/esm/Remove/index.esm.js +9 -0
- package/dist/node_modules/@mui/icons-material/esm/Remove/index.esm.js.map +1 -0
- package/dist/node_modules/@mui/icons-material/esm/Remove/index.js +2 -0
- package/dist/node_modules/@mui/icons-material/esm/Remove/index.js.map +1 -0
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.esm.js +1 -1
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js +1 -1
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.esm.js +1 -1
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.js +2 -2
- 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/redux/hooks/index.esm.js +1 -1
- package/dist/src/assets/index.d.ts +0 -1
- package/dist/src/components/charts/donut-chart/donut-chart.d.ts +1 -2
- package/dist/src/components/charts/index.d.ts +11 -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 +229 -94
- 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/index.d.ts +1 -0
- package/dist/src/views/beforeAuth/index.d.ts +0 -1
- package/dist/src/views/form-builder/element-edit-forms/column-width.d.ts +5 -3
- package/dist/src/views/index.d.ts +1 -0
- package/dist/style.css +77 -71
- 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 +0 -6
- 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/index.d.ts +1 -0
- package/dist/views/afterAuth/page-view/page-view/index.esm.js +101 -0
- package/dist/views/afterAuth/page-view/page-view/index.esm.js.map +1 -0
- package/dist/views/afterAuth/page-view/page-view/index.js +6 -0
- package/dist/views/afterAuth/page-view/page-view/index.js.map +1 -0
- package/dist/views/afterAuth/page-view/redux/actionCreator/index.esm.js +13 -0
- package/dist/views/afterAuth/page-view/redux/actionCreator/index.esm.js.map +1 -0
- package/dist/views/afterAuth/page-view/redux/actionCreator/index.js +2 -0
- package/dist/views/afterAuth/page-view/redux/actionCreator/index.js.map +1 -0
- package/dist/views/afterAuth/page-view/redux/reducer/index.esm.js +63 -0
- package/dist/views/afterAuth/page-view/redux/reducer/index.esm.js.map +1 -0
- package/dist/views/afterAuth/page-view/redux/reducer/index.js +2 -0
- package/dist/views/afterAuth/page-view/redux/reducer/index.js.map +1 -0
- package/dist/views/afterAuth/page-view/redux/state/index.esm.js +31 -0
- package/dist/views/afterAuth/page-view/redux/state/index.esm.js.map +1 -0
- package/dist/views/afterAuth/page-view/redux/state/index.js +2 -0
- package/dist/views/afterAuth/page-view/redux/state/index.js.map +1 -0
- package/dist/views/afterAuth/page-view/utils/default-data/index.esm.js +137 -0
- package/dist/views/afterAuth/page-view/utils/default-data/index.esm.js.map +1 -0
- package/dist/views/afterAuth/page-view/utils/default-data/index.js +2 -0
- package/dist/views/afterAuth/page-view/utils/default-data/index.js.map +1 -0
- package/dist/views/afterAuth/page-view/utils/local-data/index.esm.js +137 -0
- package/dist/views/afterAuth/page-view/utils/local-data/index.esm.js.map +1 -0
- package/dist/views/afterAuth/page-view/utils/local-data/index.js +2 -0
- package/dist/views/afterAuth/page-view/utils/local-data/index.js.map +1 -0
- package/dist/views/beforeAuth/index.d.ts +0 -1
- package/dist/views/form-builder/custom-form/index.esm.js +1151 -0
- package/dist/views/form-builder/custom-form/index.esm.js.map +1 -0
- package/dist/views/form-builder/custom-form/index.js +30 -0
- package/dist/views/form-builder/custom-form/index.js.map +1 -0
- package/dist/views/form-builder/element-edit-forms/checkbox/index.esm.js +327 -0
- package/dist/views/form-builder/element-edit-forms/checkbox/index.esm.js.map +1 -0
- package/dist/views/form-builder/element-edit-forms/checkbox/index.js +30 -0
- package/dist/views/form-builder/element-edit-forms/checkbox/index.js.map +1 -0
- package/dist/views/form-builder/element-edit-forms/column-width/index.esm.js +93 -0
- package/dist/views/form-builder/element-edit-forms/column-width/index.esm.js.map +1 -0
- package/dist/views/form-builder/element-edit-forms/column-width/index.js +4 -0
- package/dist/views/form-builder/element-edit-forms/column-width/index.js.map +1 -0
- package/dist/views/form-builder/element-edit-forms/column-width.d.ts +5 -3
- package/dist/views/form-builder/element-edit-forms/field-select/index.esm.js +89 -0
- package/dist/views/form-builder/element-edit-forms/field-select/index.esm.js.map +1 -0
- package/dist/views/form-builder/element-edit-forms/field-select/index.js +3 -0
- package/dist/views/form-builder/element-edit-forms/field-select/index.js.map +1 -0
- package/dist/views/form-builder/element-edit-forms/section/index.esm.js +222 -0
- package/dist/views/form-builder/element-edit-forms/section/index.esm.js.map +1 -0
- package/dist/views/form-builder/element-edit-forms/section/index.js +15 -0
- package/dist/views/form-builder/element-edit-forms/section/index.js.map +1 -0
- package/dist/views/form-builder/element-edit-forms/select/index.esm.js +318 -0
- package/dist/views/form-builder/element-edit-forms/select/index.esm.js.map +1 -0
- package/dist/views/form-builder/element-edit-forms/select/index.js +25 -0
- package/dist/views/form-builder/element-edit-forms/select/index.js.map +1 -0
- package/dist/views/form-builder/element-edit-forms/table-form/index.esm.js +111 -0
- package/dist/views/form-builder/element-edit-forms/table-form/index.esm.js.map +1 -0
- package/dist/views/form-builder/element-edit-forms/table-form/index.js +5 -0
- package/dist/views/form-builder/element-edit-forms/table-form/index.js.map +1 -0
- package/dist/views/form-builder/element-edit-forms/text/index.esm.js +559 -0
- package/dist/views/form-builder/element-edit-forms/text/index.esm.js.map +1 -0
- package/dist/views/form-builder/element-edit-forms/text/index.js +31 -0
- package/dist/views/form-builder/element-edit-forms/text/index.js.map +1 -0
- package/dist/views/form-builder/field_properties/index.esm.js +216 -0
- package/dist/views/form-builder/field_properties/index.esm.js.map +1 -0
- package/dist/views/form-builder/field_properties/index.js +2 -0
- package/dist/views/form-builder/field_properties/index.js.map +1 -0
- package/dist/views/form-builder/form-fields/index.esm.js +355 -0
- package/dist/views/form-builder/form-fields/index.esm.js.map +1 -0
- package/dist/views/form-builder/form-fields/index.js +24 -0
- package/dist/views/form-builder/form-fields/index.js.map +1 -0
- package/dist/views/form-builder/redux/actionCreator/index.esm.js +1 -1
- package/dist/views/form-builder/redux/reducer/index.esm.js +6 -1
- 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/form-builder/utils/common/index.esm.js +285 -0
- package/dist/views/form-builder/utils/common/index.esm.js.map +1 -0
- package/dist/views/form-builder/utils/common/index.js +2 -0
- package/dist/views/form-builder/utils/common/index.js.map +1 -0
- package/dist/views/index.d.ts +1 -0
- package/dist/views/index.esm.js +94 -49
- package/dist/views/index.esm.js.map +1 -1
- package/dist/views/index.js +1 -1
- package/package.json +2 -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
- package/dist/views/beforeAuth/login/index/index.esm.js +0 -209
- package/dist/views/beforeAuth/login/index/index.esm.js.map +0 -1
- package/dist/views/beforeAuth/login/index/index.js +0 -20
- package/dist/views/beforeAuth/login/index/index.js.map +0 -1
|
@@ -0,0 +1,453 @@
|
|
|
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 { isFragment } from "react-is";
|
|
5
|
+
import PropTypes from "../../../../prop-types/index/index.esm.js";
|
|
6
|
+
import { clsx } from "../../../../clsx/dist/clsx/index.esm.js";
|
|
7
|
+
import styled from "../../styles/styled/index.esm.js";
|
|
8
|
+
import useTheme from "../../styles/useTheme/index.esm.js";
|
|
9
|
+
import speedDialClasses, { getSpeedDialUtilityClass } from "../speedDialClasses/index.esm.js";
|
|
10
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
11
|
+
import { useDefaultProps } from "../../DefaultPropsProvider/DefaultPropsProvider/index.esm.js";
|
|
12
|
+
import useControlled from "../../../utils/esm/useControlled/useControlled/index.esm.js";
|
|
13
|
+
import useTimeout from "../../../utils/esm/useTimeout/useTimeout/index.esm.js";
|
|
14
|
+
import useForkRef from "../../../utils/esm/useForkRef/useForkRef/index.esm.js";
|
|
15
|
+
import Zoom from "../../Zoom/Zoom/index.esm.js";
|
|
16
|
+
import isMuiElement from "../../../utils/esm/isMuiElement/isMuiElement/index.esm.js";
|
|
17
|
+
import capitalize from "../../../utils/esm/capitalize/capitalize/index.esm.js";
|
|
18
|
+
import composeClasses from "../../../utils/esm/composeClasses/composeClasses/index.esm.js";
|
|
19
|
+
import clamp from "../../../utils/esm/clamp/clamp/index.esm.js";
|
|
20
|
+
import Fab from "../../Fab/Fab/index.esm.js";
|
|
21
|
+
var define_process_env_default = {};
|
|
22
|
+
const _excluded = ["ref"], _excluded2 = ["ariaLabel", "FabProps", "children", "className", "direction", "hidden", "icon", "onBlur", "onClose", "onFocus", "onKeyDown", "onMouseEnter", "onMouseLeave", "onOpen", "open", "openIcon", "TransitionComponent", "transitionDuration", "TransitionProps"], _excluded3 = ["ref"];
|
|
23
|
+
const useUtilityClasses = (ownerState) => {
|
|
24
|
+
const {
|
|
25
|
+
classes,
|
|
26
|
+
open,
|
|
27
|
+
direction
|
|
28
|
+
} = ownerState;
|
|
29
|
+
const slots = {
|
|
30
|
+
root: ["root", `direction${capitalize(direction)}`],
|
|
31
|
+
fab: ["fab"],
|
|
32
|
+
actions: ["actions", !open && "actionsClosed"]
|
|
33
|
+
};
|
|
34
|
+
return composeClasses(slots, getSpeedDialUtilityClass, classes);
|
|
35
|
+
};
|
|
36
|
+
function getOrientation(direction) {
|
|
37
|
+
if (direction === "up" || direction === "down") {
|
|
38
|
+
return "vertical";
|
|
39
|
+
}
|
|
40
|
+
if (direction === "right" || direction === "left") {
|
|
41
|
+
return "horizontal";
|
|
42
|
+
}
|
|
43
|
+
return void 0;
|
|
44
|
+
}
|
|
45
|
+
const dialRadius = 32;
|
|
46
|
+
const spacingActions = 16;
|
|
47
|
+
const SpeedDialRoot = styled("div", {
|
|
48
|
+
name: "MuiSpeedDial",
|
|
49
|
+
slot: "Root",
|
|
50
|
+
overridesResolver: (props, styles) => {
|
|
51
|
+
const {
|
|
52
|
+
ownerState
|
|
53
|
+
} = props;
|
|
54
|
+
return [styles.root, styles[`direction${capitalize(ownerState.direction)}`]];
|
|
55
|
+
}
|
|
56
|
+
})(({
|
|
57
|
+
theme,
|
|
58
|
+
ownerState
|
|
59
|
+
}) => _extends({
|
|
60
|
+
zIndex: (theme.vars || theme).zIndex.speedDial,
|
|
61
|
+
display: "flex",
|
|
62
|
+
alignItems: "center",
|
|
63
|
+
pointerEvents: "none"
|
|
64
|
+
}, ownerState.direction === "up" && {
|
|
65
|
+
flexDirection: "column-reverse",
|
|
66
|
+
[`& .${speedDialClasses.actions}`]: {
|
|
67
|
+
flexDirection: "column-reverse",
|
|
68
|
+
marginBottom: -dialRadius,
|
|
69
|
+
paddingBottom: spacingActions + dialRadius
|
|
70
|
+
}
|
|
71
|
+
}, ownerState.direction === "down" && {
|
|
72
|
+
flexDirection: "column",
|
|
73
|
+
[`& .${speedDialClasses.actions}`]: {
|
|
74
|
+
flexDirection: "column",
|
|
75
|
+
marginTop: -dialRadius,
|
|
76
|
+
paddingTop: spacingActions + dialRadius
|
|
77
|
+
}
|
|
78
|
+
}, ownerState.direction === "left" && {
|
|
79
|
+
flexDirection: "row-reverse",
|
|
80
|
+
[`& .${speedDialClasses.actions}`]: {
|
|
81
|
+
flexDirection: "row-reverse",
|
|
82
|
+
marginRight: -dialRadius,
|
|
83
|
+
paddingRight: spacingActions + dialRadius
|
|
84
|
+
}
|
|
85
|
+
}, ownerState.direction === "right" && {
|
|
86
|
+
flexDirection: "row",
|
|
87
|
+
[`& .${speedDialClasses.actions}`]: {
|
|
88
|
+
flexDirection: "row",
|
|
89
|
+
marginLeft: -dialRadius,
|
|
90
|
+
paddingLeft: spacingActions + dialRadius
|
|
91
|
+
}
|
|
92
|
+
}));
|
|
93
|
+
const SpeedDialFab = styled(Fab, {
|
|
94
|
+
name: "MuiSpeedDial",
|
|
95
|
+
slot: "Fab",
|
|
96
|
+
overridesResolver: (props, styles) => styles.fab
|
|
97
|
+
})(() => ({
|
|
98
|
+
pointerEvents: "auto"
|
|
99
|
+
}));
|
|
100
|
+
const SpeedDialActions = styled("div", {
|
|
101
|
+
name: "MuiSpeedDial",
|
|
102
|
+
slot: "Actions",
|
|
103
|
+
overridesResolver: (props, styles) => {
|
|
104
|
+
const {
|
|
105
|
+
ownerState
|
|
106
|
+
} = props;
|
|
107
|
+
return [styles.actions, !ownerState.open && styles.actionsClosed];
|
|
108
|
+
}
|
|
109
|
+
})(({
|
|
110
|
+
ownerState
|
|
111
|
+
}) => _extends({
|
|
112
|
+
display: "flex",
|
|
113
|
+
pointerEvents: "auto"
|
|
114
|
+
}, !ownerState.open && {
|
|
115
|
+
transition: "top 0s linear 0.2s",
|
|
116
|
+
pointerEvents: "none"
|
|
117
|
+
}));
|
|
118
|
+
const SpeedDial = /* @__PURE__ */ React.forwardRef(function SpeedDial2(inProps, ref) {
|
|
119
|
+
const props = useDefaultProps({
|
|
120
|
+
props: inProps,
|
|
121
|
+
name: "MuiSpeedDial"
|
|
122
|
+
});
|
|
123
|
+
const theme = useTheme();
|
|
124
|
+
const defaultTransitionDuration = {
|
|
125
|
+
enter: theme.transitions.duration.enteringScreen,
|
|
126
|
+
exit: theme.transitions.duration.leavingScreen
|
|
127
|
+
};
|
|
128
|
+
const {
|
|
129
|
+
ariaLabel,
|
|
130
|
+
FabProps: {
|
|
131
|
+
ref: origDialButtonRef
|
|
132
|
+
} = {},
|
|
133
|
+
children: childrenProp,
|
|
134
|
+
className,
|
|
135
|
+
direction = "up",
|
|
136
|
+
hidden = false,
|
|
137
|
+
icon,
|
|
138
|
+
onBlur,
|
|
139
|
+
onClose,
|
|
140
|
+
onFocus,
|
|
141
|
+
onKeyDown,
|
|
142
|
+
onMouseEnter,
|
|
143
|
+
onMouseLeave,
|
|
144
|
+
onOpen,
|
|
145
|
+
open: openProp,
|
|
146
|
+
TransitionComponent = Zoom,
|
|
147
|
+
transitionDuration = defaultTransitionDuration,
|
|
148
|
+
TransitionProps
|
|
149
|
+
} = props, FabProps = _objectWithoutPropertiesLoose(props.FabProps, _excluded), other = _objectWithoutPropertiesLoose(props, _excluded2);
|
|
150
|
+
const [open, setOpenState] = useControlled({
|
|
151
|
+
controlled: openProp,
|
|
152
|
+
default: false,
|
|
153
|
+
name: "SpeedDial",
|
|
154
|
+
state: "open"
|
|
155
|
+
});
|
|
156
|
+
const ownerState = _extends({}, props, {
|
|
157
|
+
open,
|
|
158
|
+
direction
|
|
159
|
+
});
|
|
160
|
+
const classes = useUtilityClasses(ownerState);
|
|
161
|
+
const eventTimer = useTimeout();
|
|
162
|
+
const focusedAction = React.useRef(0);
|
|
163
|
+
const nextItemArrowKey = React.useRef();
|
|
164
|
+
const actions = React.useRef([]);
|
|
165
|
+
actions.current = [actions.current[0]];
|
|
166
|
+
const handleOwnFabRef = React.useCallback((fabFef) => {
|
|
167
|
+
actions.current[0] = fabFef;
|
|
168
|
+
}, []);
|
|
169
|
+
const handleFabRef = useForkRef(origDialButtonRef, handleOwnFabRef);
|
|
170
|
+
const createHandleSpeedDialActionButtonRef = (dialActionIndex, origButtonRef) => {
|
|
171
|
+
return (buttonRef) => {
|
|
172
|
+
actions.current[dialActionIndex + 1] = buttonRef;
|
|
173
|
+
if (origButtonRef) {
|
|
174
|
+
origButtonRef(buttonRef);
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
const handleKeyDown = (event) => {
|
|
179
|
+
if (onKeyDown) {
|
|
180
|
+
onKeyDown(event);
|
|
181
|
+
}
|
|
182
|
+
const key = event.key.replace("Arrow", "").toLowerCase();
|
|
183
|
+
const {
|
|
184
|
+
current: nextItemArrowKeyCurrent = key
|
|
185
|
+
} = nextItemArrowKey;
|
|
186
|
+
if (event.key === "Escape") {
|
|
187
|
+
setOpenState(false);
|
|
188
|
+
actions.current[0].focus();
|
|
189
|
+
if (onClose) {
|
|
190
|
+
onClose(event, "escapeKeyDown");
|
|
191
|
+
}
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
if (getOrientation(key) === getOrientation(nextItemArrowKeyCurrent) && getOrientation(key) !== void 0) {
|
|
195
|
+
event.preventDefault();
|
|
196
|
+
const actionStep = key === nextItemArrowKeyCurrent ? 1 : -1;
|
|
197
|
+
const nextAction = clamp(focusedAction.current + actionStep, 0, actions.current.length - 1);
|
|
198
|
+
actions.current[nextAction].focus();
|
|
199
|
+
focusedAction.current = nextAction;
|
|
200
|
+
nextItemArrowKey.current = nextItemArrowKeyCurrent;
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
React.useEffect(() => {
|
|
204
|
+
if (!open) {
|
|
205
|
+
focusedAction.current = 0;
|
|
206
|
+
nextItemArrowKey.current = void 0;
|
|
207
|
+
}
|
|
208
|
+
}, [open]);
|
|
209
|
+
const handleClose = (event) => {
|
|
210
|
+
if (event.type === "mouseleave" && onMouseLeave) {
|
|
211
|
+
onMouseLeave(event);
|
|
212
|
+
}
|
|
213
|
+
if (event.type === "blur" && onBlur) {
|
|
214
|
+
onBlur(event);
|
|
215
|
+
}
|
|
216
|
+
eventTimer.clear();
|
|
217
|
+
if (event.type === "blur") {
|
|
218
|
+
eventTimer.start(0, () => {
|
|
219
|
+
setOpenState(false);
|
|
220
|
+
if (onClose) {
|
|
221
|
+
onClose(event, "blur");
|
|
222
|
+
}
|
|
223
|
+
});
|
|
224
|
+
} else {
|
|
225
|
+
setOpenState(false);
|
|
226
|
+
if (onClose) {
|
|
227
|
+
onClose(event, "mouseLeave");
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
};
|
|
231
|
+
const handleClick = (event) => {
|
|
232
|
+
if (FabProps.onClick) {
|
|
233
|
+
FabProps.onClick(event);
|
|
234
|
+
}
|
|
235
|
+
eventTimer.clear();
|
|
236
|
+
if (open) {
|
|
237
|
+
setOpenState(false);
|
|
238
|
+
if (onClose) {
|
|
239
|
+
onClose(event, "toggle");
|
|
240
|
+
}
|
|
241
|
+
} else {
|
|
242
|
+
setOpenState(true);
|
|
243
|
+
if (onOpen) {
|
|
244
|
+
onOpen(event, "toggle");
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
const handleOpen = (event) => {
|
|
249
|
+
if (event.type === "mouseenter" && onMouseEnter) {
|
|
250
|
+
onMouseEnter(event);
|
|
251
|
+
}
|
|
252
|
+
if (event.type === "focus" && onFocus) {
|
|
253
|
+
onFocus(event);
|
|
254
|
+
}
|
|
255
|
+
eventTimer.clear();
|
|
256
|
+
if (!open) {
|
|
257
|
+
eventTimer.start(0, () => {
|
|
258
|
+
setOpenState(true);
|
|
259
|
+
if (onOpen) {
|
|
260
|
+
const eventMap = {
|
|
261
|
+
focus: "focus",
|
|
262
|
+
mouseenter: "mouseEnter"
|
|
263
|
+
};
|
|
264
|
+
onOpen(event, eventMap[event.type]);
|
|
265
|
+
}
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
const id = ariaLabel.replace(/^[^a-z]+|[^\w:.-]+/gi, "");
|
|
270
|
+
const allItems = React.Children.toArray(childrenProp).filter((child) => {
|
|
271
|
+
if (define_process_env_default.NODE_ENV !== "production") {
|
|
272
|
+
if (isFragment(child)) {
|
|
273
|
+
console.error(["MUI: The SpeedDial component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join("\n"));
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
return /* @__PURE__ */ React.isValidElement(child);
|
|
277
|
+
});
|
|
278
|
+
const children = allItems.map((child, index) => {
|
|
279
|
+
const _child$props = child.props, {
|
|
280
|
+
FabProps: {
|
|
281
|
+
ref: origButtonRef
|
|
282
|
+
} = {},
|
|
283
|
+
tooltipPlacement: tooltipPlacementProp
|
|
284
|
+
} = _child$props, ChildFabProps = _objectWithoutPropertiesLoose(_child$props.FabProps, _excluded3);
|
|
285
|
+
const tooltipPlacement = tooltipPlacementProp || (getOrientation(direction) === "vertical" ? "left" : "top");
|
|
286
|
+
return /* @__PURE__ */ React.cloneElement(child, {
|
|
287
|
+
FabProps: _extends({}, ChildFabProps, {
|
|
288
|
+
ref: createHandleSpeedDialActionButtonRef(index, origButtonRef)
|
|
289
|
+
}),
|
|
290
|
+
delay: 30 * (open ? index : allItems.length - index),
|
|
291
|
+
open,
|
|
292
|
+
tooltipPlacement,
|
|
293
|
+
id: `${id}-action-${index}`
|
|
294
|
+
});
|
|
295
|
+
});
|
|
296
|
+
return /* @__PURE__ */ jsxs(SpeedDialRoot, _extends({
|
|
297
|
+
className: clsx(classes.root, className),
|
|
298
|
+
ref,
|
|
299
|
+
role: "presentation",
|
|
300
|
+
onKeyDown: handleKeyDown,
|
|
301
|
+
onBlur: handleClose,
|
|
302
|
+
onFocus: handleOpen,
|
|
303
|
+
onMouseEnter: handleOpen,
|
|
304
|
+
onMouseLeave: handleClose,
|
|
305
|
+
ownerState
|
|
306
|
+
}, other, {
|
|
307
|
+
children: [/* @__PURE__ */ jsx(TransitionComponent, _extends({
|
|
308
|
+
in: !hidden,
|
|
309
|
+
timeout: transitionDuration,
|
|
310
|
+
unmountOnExit: true
|
|
311
|
+
}, TransitionProps, {
|
|
312
|
+
children: /* @__PURE__ */ jsx(SpeedDialFab, _extends({
|
|
313
|
+
color: "primary",
|
|
314
|
+
"aria-label": ariaLabel,
|
|
315
|
+
"aria-haspopup": "true",
|
|
316
|
+
"aria-expanded": open,
|
|
317
|
+
"aria-controls": `${id}-actions`
|
|
318
|
+
}, FabProps, {
|
|
319
|
+
onClick: handleClick,
|
|
320
|
+
className: clsx(classes.fab, FabProps.className),
|
|
321
|
+
ref: handleFabRef,
|
|
322
|
+
ownerState,
|
|
323
|
+
children: /* @__PURE__ */ React.isValidElement(icon) && isMuiElement(icon, ["SpeedDialIcon"]) ? /* @__PURE__ */ React.cloneElement(icon, {
|
|
324
|
+
open
|
|
325
|
+
}) : icon
|
|
326
|
+
}))
|
|
327
|
+
})), /* @__PURE__ */ jsx(SpeedDialActions, {
|
|
328
|
+
id: `${id}-actions`,
|
|
329
|
+
role: "menu",
|
|
330
|
+
"aria-orientation": getOrientation(direction),
|
|
331
|
+
className: clsx(classes.actions, !open && classes.actionsClosed),
|
|
332
|
+
ownerState,
|
|
333
|
+
children
|
|
334
|
+
})]
|
|
335
|
+
}));
|
|
336
|
+
});
|
|
337
|
+
define_process_env_default.NODE_ENV !== "production" ? SpeedDial.propTypes = {
|
|
338
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
339
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
340
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
341
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
342
|
+
/**
|
|
343
|
+
* The aria-label of the button element.
|
|
344
|
+
* Also used to provide the `id` for the `SpeedDial` element and its children.
|
|
345
|
+
*/
|
|
346
|
+
ariaLabel: PropTypes.string.isRequired,
|
|
347
|
+
/**
|
|
348
|
+
* SpeedDialActions to display when the SpeedDial is `open`.
|
|
349
|
+
*/
|
|
350
|
+
children: PropTypes.node,
|
|
351
|
+
/**
|
|
352
|
+
* Override or extend the styles applied to the component.
|
|
353
|
+
*/
|
|
354
|
+
classes: PropTypes.object,
|
|
355
|
+
/**
|
|
356
|
+
* @ignore
|
|
357
|
+
*/
|
|
358
|
+
className: PropTypes.string,
|
|
359
|
+
/**
|
|
360
|
+
* The direction the actions open relative to the floating action button.
|
|
361
|
+
* @default 'up'
|
|
362
|
+
*/
|
|
363
|
+
direction: PropTypes.oneOf(["down", "left", "right", "up"]),
|
|
364
|
+
/**
|
|
365
|
+
* Props applied to the [`Fab`](/material-ui/api/fab/) element.
|
|
366
|
+
* @default {}
|
|
367
|
+
*/
|
|
368
|
+
FabProps: PropTypes.object,
|
|
369
|
+
/**
|
|
370
|
+
* If `true`, the SpeedDial is hidden.
|
|
371
|
+
* @default false
|
|
372
|
+
*/
|
|
373
|
+
hidden: PropTypes.bool,
|
|
374
|
+
/**
|
|
375
|
+
* The icon to display in the SpeedDial Fab. The `SpeedDialIcon` component
|
|
376
|
+
* provides a default Icon with animation.
|
|
377
|
+
*/
|
|
378
|
+
icon: PropTypes.node,
|
|
379
|
+
/**
|
|
380
|
+
* @ignore
|
|
381
|
+
*/
|
|
382
|
+
onBlur: PropTypes.func,
|
|
383
|
+
/**
|
|
384
|
+
* Callback fired when the component requests to be closed.
|
|
385
|
+
*
|
|
386
|
+
* @param {object} event The event source of the callback.
|
|
387
|
+
* @param {string} reason Can be: `"toggle"`, `"blur"`, `"mouseLeave"`, `"escapeKeyDown"`.
|
|
388
|
+
*/
|
|
389
|
+
onClose: PropTypes.func,
|
|
390
|
+
/**
|
|
391
|
+
* @ignore
|
|
392
|
+
*/
|
|
393
|
+
onFocus: PropTypes.func,
|
|
394
|
+
/**
|
|
395
|
+
* @ignore
|
|
396
|
+
*/
|
|
397
|
+
onKeyDown: PropTypes.func,
|
|
398
|
+
/**
|
|
399
|
+
* @ignore
|
|
400
|
+
*/
|
|
401
|
+
onMouseEnter: PropTypes.func,
|
|
402
|
+
/**
|
|
403
|
+
* @ignore
|
|
404
|
+
*/
|
|
405
|
+
onMouseLeave: PropTypes.func,
|
|
406
|
+
/**
|
|
407
|
+
* Callback fired when the component requests to be open.
|
|
408
|
+
*
|
|
409
|
+
* @param {object} event The event source of the callback.
|
|
410
|
+
* @param {string} reason Can be: `"toggle"`, `"focus"`, `"mouseEnter"`.
|
|
411
|
+
*/
|
|
412
|
+
onOpen: PropTypes.func,
|
|
413
|
+
/**
|
|
414
|
+
* If `true`, the component is shown.
|
|
415
|
+
*/
|
|
416
|
+
open: PropTypes.bool,
|
|
417
|
+
/**
|
|
418
|
+
* The icon to display in the SpeedDial Fab when the SpeedDial is open.
|
|
419
|
+
*/
|
|
420
|
+
openIcon: PropTypes.node,
|
|
421
|
+
/**
|
|
422
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
423
|
+
*/
|
|
424
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
425
|
+
/**
|
|
426
|
+
* The component used for the transition.
|
|
427
|
+
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
428
|
+
* @default Zoom
|
|
429
|
+
*/
|
|
430
|
+
TransitionComponent: PropTypes.elementType,
|
|
431
|
+
/**
|
|
432
|
+
* The duration for the transition, in milliseconds.
|
|
433
|
+
* You may specify a single timeout for all transitions, or individually with an object.
|
|
434
|
+
* @default {
|
|
435
|
+
* enter: theme.transitions.duration.enteringScreen,
|
|
436
|
+
* exit: theme.transitions.duration.leavingScreen,
|
|
437
|
+
* }
|
|
438
|
+
*/
|
|
439
|
+
transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
440
|
+
appear: PropTypes.number,
|
|
441
|
+
enter: PropTypes.number,
|
|
442
|
+
exit: PropTypes.number
|
|
443
|
+
})]),
|
|
444
|
+
/**
|
|
445
|
+
* Props applied to the transition element.
|
|
446
|
+
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
447
|
+
*/
|
|
448
|
+
TransitionProps: PropTypes.object
|
|
449
|
+
} : void 0;
|
|
450
|
+
export {
|
|
451
|
+
SpeedDial as default
|
|
452
|
+
};
|
|
453
|
+
//# sourceMappingURL=index.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../../../../../node_modules/@mui/material/SpeedDial/SpeedDial.js"],"sourcesContent":["'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"ref\"],\n _excluded2 = [\"ariaLabel\", \"FabProps\", \"children\", \"className\", \"direction\", \"hidden\", \"icon\", \"onBlur\", \"onClose\", \"onFocus\", \"onKeyDown\", \"onMouseEnter\", \"onMouseLeave\", \"onOpen\", \"open\", \"openIcon\", \"TransitionComponent\", \"transitionDuration\", \"TransitionProps\"],\n _excluded3 = [\"ref\"];\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport useTimeout from '@mui/utils/useTimeout';\nimport clamp from '@mui/utils/clamp';\nimport styled from '../styles/styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport useTheme from '../styles/useTheme';\nimport Zoom from '../Zoom';\nimport Fab from '../Fab';\nimport capitalize from '../utils/capitalize';\nimport isMuiElement from '../utils/isMuiElement';\nimport useForkRef from '../utils/useForkRef';\nimport useControlled from '../utils/useControlled';\nimport speedDialClasses, { getSpeedDialUtilityClass } from './speedDialClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n open,\n direction\n } = ownerState;\n const slots = {\n root: ['root', `direction${capitalize(direction)}`],\n fab: ['fab'],\n actions: ['actions', !open && 'actionsClosed']\n };\n return composeClasses(slots, getSpeedDialUtilityClass, classes);\n};\nfunction getOrientation(direction) {\n if (direction === 'up' || direction === 'down') {\n return 'vertical';\n }\n if (direction === 'right' || direction === 'left') {\n return 'horizontal';\n }\n return undefined;\n}\nconst dialRadius = 32;\nconst spacingActions = 16;\nconst SpeedDialRoot = styled('div', {\n name: 'MuiSpeedDial',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[`direction${capitalize(ownerState.direction)}`]];\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n zIndex: (theme.vars || theme).zIndex.speedDial,\n display: 'flex',\n alignItems: 'center',\n pointerEvents: 'none'\n}, ownerState.direction === 'up' && {\n flexDirection: 'column-reverse',\n [`& .${speedDialClasses.actions}`]: {\n flexDirection: 'column-reverse',\n marginBottom: -dialRadius,\n paddingBottom: spacingActions + dialRadius\n }\n}, ownerState.direction === 'down' && {\n flexDirection: 'column',\n [`& .${speedDialClasses.actions}`]: {\n flexDirection: 'column',\n marginTop: -dialRadius,\n paddingTop: spacingActions + dialRadius\n }\n}, ownerState.direction === 'left' && {\n flexDirection: 'row-reverse',\n [`& .${speedDialClasses.actions}`]: {\n flexDirection: 'row-reverse',\n marginRight: -dialRadius,\n paddingRight: spacingActions + dialRadius\n }\n}, ownerState.direction === 'right' && {\n flexDirection: 'row',\n [`& .${speedDialClasses.actions}`]: {\n flexDirection: 'row',\n marginLeft: -dialRadius,\n paddingLeft: spacingActions + dialRadius\n }\n}));\nconst SpeedDialFab = styled(Fab, {\n name: 'MuiSpeedDial',\n slot: 'Fab',\n overridesResolver: (props, styles) => styles.fab\n})(() => ({\n pointerEvents: 'auto'\n}));\nconst SpeedDialActions = styled('div', {\n name: 'MuiSpeedDial',\n slot: 'Actions',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.actions, !ownerState.open && styles.actionsClosed];\n }\n})(({\n ownerState\n}) => _extends({\n display: 'flex',\n pointerEvents: 'auto'\n}, !ownerState.open && {\n transition: 'top 0s linear 0.2s',\n pointerEvents: 'none'\n}));\nconst SpeedDial = /*#__PURE__*/React.forwardRef(function SpeedDial(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiSpeedDial'\n });\n const theme = useTheme();\n const defaultTransitionDuration = {\n enter: theme.transitions.duration.enteringScreen,\n exit: theme.transitions.duration.leavingScreen\n };\n const {\n ariaLabel,\n FabProps: {\n ref: origDialButtonRef\n } = {},\n children: childrenProp,\n className,\n direction = 'up',\n hidden = false,\n icon,\n onBlur,\n onClose,\n onFocus,\n onKeyDown,\n onMouseEnter,\n onMouseLeave,\n onOpen,\n open: openProp,\n TransitionComponent = Zoom,\n transitionDuration = defaultTransitionDuration,\n TransitionProps\n } = props,\n FabProps = _objectWithoutPropertiesLoose(props.FabProps, _excluded),\n other = _objectWithoutPropertiesLoose(props, _excluded2);\n const [open, setOpenState] = useControlled({\n controlled: openProp,\n default: false,\n name: 'SpeedDial',\n state: 'open'\n });\n const ownerState = _extends({}, props, {\n open,\n direction\n });\n const classes = useUtilityClasses(ownerState);\n const eventTimer = useTimeout();\n\n /**\n * an index in actions.current\n */\n const focusedAction = React.useRef(0);\n\n /**\n * pressing this key while the focus is on a child SpeedDialAction focuses\n * the next SpeedDialAction.\n * It is equal to the first arrow key pressed while focus is on the SpeedDial\n * that is not orthogonal to the direction.\n * @type {utils.ArrowKey?}\n */\n const nextItemArrowKey = React.useRef();\n\n /**\n * refs to the Button that have an action associated to them in this SpeedDial\n * [Fab, ...(SpeedDialActions > Button)]\n * @type {HTMLButtonElement[]}\n */\n const actions = React.useRef([]);\n actions.current = [actions.current[0]];\n const handleOwnFabRef = React.useCallback(fabFef => {\n actions.current[0] = fabFef;\n }, []);\n const handleFabRef = useForkRef(origDialButtonRef, handleOwnFabRef);\n\n /**\n * creates a ref callback for the Button in a SpeedDialAction\n * Is called before the original ref callback for Button that was set in buttonProps\n *\n * @param dialActionIndex {number}\n * @param origButtonRef {React.RefObject?}\n */\n const createHandleSpeedDialActionButtonRef = (dialActionIndex, origButtonRef) => {\n return buttonRef => {\n actions.current[dialActionIndex + 1] = buttonRef;\n if (origButtonRef) {\n origButtonRef(buttonRef);\n }\n };\n };\n const handleKeyDown = event => {\n if (onKeyDown) {\n onKeyDown(event);\n }\n const key = event.key.replace('Arrow', '').toLowerCase();\n const {\n current: nextItemArrowKeyCurrent = key\n } = nextItemArrowKey;\n if (event.key === 'Escape') {\n setOpenState(false);\n actions.current[0].focus();\n if (onClose) {\n onClose(event, 'escapeKeyDown');\n }\n return;\n }\n if (getOrientation(key) === getOrientation(nextItemArrowKeyCurrent) && getOrientation(key) !== undefined) {\n event.preventDefault();\n const actionStep = key === nextItemArrowKeyCurrent ? 1 : -1;\n\n // stay within array indices\n const nextAction = clamp(focusedAction.current + actionStep, 0, actions.current.length - 1);\n actions.current[nextAction].focus();\n focusedAction.current = nextAction;\n nextItemArrowKey.current = nextItemArrowKeyCurrent;\n }\n };\n React.useEffect(() => {\n // actions were closed while navigation state was not reset\n if (!open) {\n focusedAction.current = 0;\n nextItemArrowKey.current = undefined;\n }\n }, [open]);\n const handleClose = event => {\n if (event.type === 'mouseleave' && onMouseLeave) {\n onMouseLeave(event);\n }\n if (event.type === 'blur' && onBlur) {\n onBlur(event);\n }\n eventTimer.clear();\n if (event.type === 'blur') {\n eventTimer.start(0, () => {\n setOpenState(false);\n if (onClose) {\n onClose(event, 'blur');\n }\n });\n } else {\n setOpenState(false);\n if (onClose) {\n onClose(event, 'mouseLeave');\n }\n }\n };\n const handleClick = event => {\n if (FabProps.onClick) {\n FabProps.onClick(event);\n }\n eventTimer.clear();\n if (open) {\n setOpenState(false);\n if (onClose) {\n onClose(event, 'toggle');\n }\n } else {\n setOpenState(true);\n if (onOpen) {\n onOpen(event, 'toggle');\n }\n }\n };\n const handleOpen = event => {\n if (event.type === 'mouseenter' && onMouseEnter) {\n onMouseEnter(event);\n }\n if (event.type === 'focus' && onFocus) {\n onFocus(event);\n }\n\n // When moving the focus between two items,\n // a chain if blur and focus event is triggered.\n // We only handle the last event.\n eventTimer.clear();\n if (!open) {\n // Wait for a future focus or click event\n eventTimer.start(0, () => {\n setOpenState(true);\n if (onOpen) {\n const eventMap = {\n focus: 'focus',\n mouseenter: 'mouseEnter'\n };\n onOpen(event, eventMap[event.type]);\n }\n });\n }\n };\n\n // Filter the label for valid id characters.\n const id = ariaLabel.replace(/^[^a-z]+|[^\\w:.-]+/gi, '');\n const allItems = React.Children.toArray(childrenProp).filter(child => {\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"MUI: The SpeedDial component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n return /*#__PURE__*/React.isValidElement(child);\n });\n const children = allItems.map((child, index) => {\n const _child$props = child.props,\n {\n FabProps: {\n ref: origButtonRef\n } = {},\n tooltipPlacement: tooltipPlacementProp\n } = _child$props,\n ChildFabProps = _objectWithoutPropertiesLoose(_child$props.FabProps, _excluded3);\n const tooltipPlacement = tooltipPlacementProp || (getOrientation(direction) === 'vertical' ? 'left' : 'top');\n return /*#__PURE__*/React.cloneElement(child, {\n FabProps: _extends({}, ChildFabProps, {\n ref: createHandleSpeedDialActionButtonRef(index, origButtonRef)\n }),\n delay: 30 * (open ? index : allItems.length - index),\n open,\n tooltipPlacement,\n id: `${id}-action-${index}`\n });\n });\n return /*#__PURE__*/_jsxs(SpeedDialRoot, _extends({\n className: clsx(classes.root, className),\n ref: ref,\n role: \"presentation\",\n onKeyDown: handleKeyDown,\n onBlur: handleClose,\n onFocus: handleOpen,\n onMouseEnter: handleOpen,\n onMouseLeave: handleClose,\n ownerState: ownerState\n }, other, {\n children: [/*#__PURE__*/_jsx(TransitionComponent, _extends({\n in: !hidden,\n timeout: transitionDuration,\n unmountOnExit: true\n }, TransitionProps, {\n children: /*#__PURE__*/_jsx(SpeedDialFab, _extends({\n color: \"primary\",\n \"aria-label\": ariaLabel,\n \"aria-haspopup\": \"true\",\n \"aria-expanded\": open,\n \"aria-controls\": `${id}-actions`\n }, FabProps, {\n onClick: handleClick,\n className: clsx(classes.fab, FabProps.className),\n ref: handleFabRef,\n ownerState: ownerState,\n children: /*#__PURE__*/React.isValidElement(icon) && isMuiElement(icon, ['SpeedDialIcon']) ? /*#__PURE__*/React.cloneElement(icon, {\n open\n }) : icon\n }))\n })), /*#__PURE__*/_jsx(SpeedDialActions, {\n id: `${id}-actions`,\n role: \"menu\",\n \"aria-orientation\": getOrientation(direction),\n className: clsx(classes.actions, !open && classes.actionsClosed),\n ownerState: ownerState,\n children: children\n })]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? SpeedDial.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The aria-label of the button element.\n * Also used to provide the `id` for the `SpeedDial` element and its children.\n */\n ariaLabel: PropTypes.string.isRequired,\n /**\n * SpeedDialActions to display when the SpeedDial is `open`.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The direction the actions open relative to the floating action button.\n * @default 'up'\n */\n direction: PropTypes.oneOf(['down', 'left', 'right', 'up']),\n /**\n * Props applied to the [`Fab`](/material-ui/api/fab/) element.\n * @default {}\n */\n FabProps: PropTypes.object,\n /**\n * If `true`, the SpeedDial is hidden.\n * @default false\n */\n hidden: PropTypes.bool,\n /**\n * The icon to display in the SpeedDial Fab. The `SpeedDialIcon` component\n * provides a default Icon with animation.\n */\n icon: PropTypes.node,\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n /**\n * Callback fired when the component requests to be closed.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"toggle\"`, `\"blur\"`, `\"mouseLeave\"`, `\"escapeKeyDown\"`.\n */\n onClose: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n /**\n * @ignore\n */\n onMouseEnter: PropTypes.func,\n /**\n * @ignore\n */\n onMouseLeave: PropTypes.func,\n /**\n * Callback fired when the component requests to be open.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"toggle\"`, `\"focus\"`, `\"mouseEnter\"`.\n */\n onOpen: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool,\n /**\n * The icon to display in the SpeedDial Fab when the SpeedDial is open.\n */\n openIcon: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The component used for the transition.\n * [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n * @default Zoom\n */\n TransitionComponent: PropTypes.elementType,\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n * @default {\n * enter: theme.transitions.duration.enteringScreen,\n * exit: theme.transitions.duration.leavingScreen,\n * }\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n /**\n * Props applied to the transition element.\n * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default SpeedDial;"],"names":["SpeedDial","_jsxs","_jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,YAAY,CAAC,KAAK,GACtB,aAAa,CAAC,aAAa,YAAY,YAAY,aAAa,aAAa,UAAU,QAAQ,UAAU,WAAW,WAAW,aAAa,gBAAgB,gBAAgB,UAAU,QAAQ,YAAY,uBAAuB,sBAAsB,iBAAiB,GACxQ,aAAa,CAAC,KAAK;AAoBrB,MAAM,oBAAoB,CAAA,eAAc;AACtC,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,EAAA,IACE;AACJ,QAAM,QAAQ;AAAA,IACZ,MAAM,CAAC,QAAQ,YAAY,WAAW,SAAS,CAAC,EAAE;AAAA,IAClD,KAAK,CAAC,KAAK;AAAA,IACX,SAAS,CAAC,WAAW,CAAC,QAAQ,eAAe;AAAA,EAAA;AAE/C,SAAO,eAAe,OAAO,0BAA0B,OAAO;AAChE;AACA,SAAS,eAAe,WAAW;AACjC,MAAI,cAAc,QAAQ,cAAc,QAAQ;AAC9C,WAAO;AAAA,EACT;AACA,MAAI,cAAc,WAAW,cAAc,QAAQ;AACjD,WAAO;AAAA,EACT;AACA,SAAO;AACT;AACA,MAAM,aAAa;AACnB,MAAM,iBAAiB;AACvB,MAAM,gBAAgB,OAAO,OAAO;AAAA,EAClC,MAAM;AAAA,EACN,MAAM;AAAA,EACN,mBAAmB,CAAC,OAAO,WAAW;AACpC,UAAM;AAAA,MACJ;AAAA,IAAA,IACE;AACJ,WAAO,CAAC,OAAO,MAAM,OAAO,YAAY,WAAW,WAAW,SAAS,CAAC,EA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AA,EAInB,SAAS,UAAU;AAAA;AAAA;AAAA;AAAA,EAInB,WAAW,UAAU;AAAA;AAAA;AAAA;AAAA,EAIrB,cAAc,UAAU;AAAA;AAAA;AAAA;AAAA,EAIxB,cAAc,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOxB,QAAQ,UAAU;AAAA;AAAA;AAAA;AAAA,EAIlB,MAAM,UAAU;AAAA;AAAA;AAAA;AAAA,EAIhB,UAAU,UAAU;AAAA;AAAA;AAAA;AAAA,EAIpB,IAAI,UAAU,UAAU,CAAC,UAAU,QAAQ,UAAU,UAAU,CAAC,UAAU,MAAM,UAAU,QAAQ,UAAU,IAAI,CAAC,CAAC,GAAG,UAAU,MAAM,UAAU,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMtJ,qBAAqB,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAS/B,oBAAoB,UAAU,UAAU,CAAC,UAAU,QAAQ,UAAU,MAAM;AAAA,IACzE,QAAQ,UAAU;AAAA,IAClB,OAAO,UAAU;AAAA,IACjB,MAAM,UAAU;AAAA,EAAA,CACjB,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKH,iBAAiB,UAAU;AAC7B,IAAI;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,4 @@
|
|
|
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"),n=require("react"),o=require("react-is"),r=require("../../../../prop-types/index/index.js"),i=require("../../../../clsx/dist/clsx/index.js"),a=require("../../styles/styled/index.js"),s=require("../../styles/useTheme/index.js"),l=require("../speedDialClasses/index.js"),u=require("react/jsx-runtime"),d=require("../../DefaultPropsProvider/DefaultPropsProvider/index.js"),c=require("../../../utils/esm/useControlled/useControlled/index.js"),f=require("../../../utils/esm/useTimeout/useTimeout/index.js"),p=require("../../../utils/esm/useForkRef/useForkRef/index.js"),m=require("../../Zoom/Zoom/index.js"),x=require("../../../utils/esm/isMuiElement/isMuiElement/index.js"),b=require("../../../utils/esm/capitalize/capitalize/index.js"),v=require("../../../utils/esm/composeClasses/composeClasses/index.js"),j=require("../../../utils/esm/clamp/clamp/index.js"),y=require("../../Fab/Fab/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(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,t}var g=/* @__PURE__ */D(n),h={};const w=["ref"],E=["ariaLabel","FabProps","children","className","direction","hidden","icon","onBlur","onClose","onFocus","onKeyDown","onMouseEnter","onMouseLeave","onOpen","open","openIcon","TransitionComponent","transitionDuration","TransitionProps"],q=["ref"];function C(e){return"up"===e||"down"===e?"vertical":"right"===e||"left"===e?"horizontal":void 0}const P=a.default("div",{name:"MuiSpeedDial",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`direction${b.default(n.direction)}`]]}})(({theme:e,ownerState:n})=>t.default({zIndex:(e.vars||e).zIndex.speedDial,display:"flex",alignItems:"center",pointerEvents:"none"},"up"===n.direction&&{flexDirection:"column-reverse",[`& .${l.default.actions}`]:{flexDirection:"column-reverse",marginBottom:-32,paddingBottom:48}},"down"===n.direction&&{flexDirection:"column",[`& .${l.default.actions}`]:{flexDirection:"column",marginTop:-32,paddingTop:48}},"left"===n.direction&&{flexDirection:"row-reverse",[`& .${l.default.actions}`]:{flexDirection:"row-reverse",marginRight:-32,paddingRight:48}},"right"===n.direction&&{flexDirection:"row",[`& .${l.default.actions}`]:{flexDirection:"row",marginLeft:-32,paddingLeft:48}})),F=a.default(y.default,{name:"MuiSpeedDial",slot:"Fab",overridesResolver:(e,t)=>t.fab})(()=>({pointerEvents:"auto"})),O=a.default("div",{name:"MuiSpeedDial",slot:"Actions",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.actions,!n.open&&t.actionsClosed]}})(({ownerState:e})=>t.default({display:"flex",pointerEvents:"auto"},!e.open&&{transition:"top 0s linear 0.2s",pointerEvents:"none"})),S=/* @__PURE__ */g.forwardRef(function(n,r){const a=d.useDefaultProps({props:n,name:"MuiSpeedDial"}),y=s.default(),D={enter:y.transitions.duration.enteringScreen,exit:y.transitions.duration.leavingScreen},{ariaLabel:S,FabProps:{ref:T}={},children:M,className:R,direction:L="up",hidden:N=!1,icon:$,onBlur:k,onClose:z,onFocus:B,onKeyDown:I,onMouseEnter:K,onMouseLeave:V,onOpen:_,open:A,TransitionComponent:Z=m.default,transitionDuration:U=D,TransitionProps:W}=a,G=e.default(a.FabProps,w),H=e.default(a,E),[J,Q]=c.default({controlled:A,default:!1,name:"SpeedDial",state:"open"}),X=t.default({},a,{open:J,direction:L}),Y=(e=>{const{classes:t,open:n,direction:o}=e,r={root:["root",`direction${b.default(o)}`],fab:["fab"],actions:["actions",!n&&"actionsClosed"]};return v.default(r,l.getSpeedDialUtilityClass,t)})(X),ee=f.default(),te=g.useRef(0),ne=g.useRef(),oe=g.useRef([]);oe.current=[oe.current[0]];const re=g.useCallback(e=>{oe.current[0]=e},[]),ie=p.default(T,re),ae=(e,t)=>n=>{oe.current[e+1]=n,t&&t(n)};g.useEffect(()=>{J||(te.current=0,ne.current=void 0)},[J]);const se=e=>{"mouseleave"===e.type&&V&&V(e),"blur"===e.type&&k&&k(e),ee.clear(),"blur"===e.type?ee.start(0,()=>{Q(!1),z&&z(e,"blur")}):(Q(!1),z&&z(e,"mouseLeave"))},le=e=>{"mouseenter"===e.type&&K&&K(e),"focus"===e.type&&B&&B(e),ee.clear(),J||ee.start(0,()=>{Q(!0),_&&_(e,{focus:"focus",mouseenter:"mouseEnter"}[e.type])})},ue=S.replace(/^[^a-z]+|[^\w:.-]+/gi,""),de=g.Children.toArray(M).filter(e=>("production"!==h.NODE_ENV&&o.isFragment(e),/* @__PURE__ */g.isValidElement(e))),ce=de.map((n,o)=>{const r=n.props,{FabProps:{ref:i}={},tooltipPlacement:a}=r,s=e.default(r.FabProps,q),l=a||("vertical"===C(L)?"left":"top");/* @__PURE__ */
|
|
2
|
+
return g.cloneElement(n,{FabProps:t.default({},s,{ref:ae(o,i)}),delay:30*(J?o:de.length-o),open:J,tooltipPlacement:l,id:`${ue}-action-${o}`})});/* @__PURE__ */
|
|
3
|
+
return u.jsxs(P,t.default({className:i.clsx(Y.root,R),ref:r,role:"presentation",onKeyDown:e=>{I&&I(e);const t=e.key.replace("Arrow","").toLowerCase(),{current:n=t}=ne;if("Escape"===e.key)return Q(!1),oe.current[0].focus(),void(z&&z(e,"escapeKeyDown"));if(C(t)===C(n)&&void 0!==C(t)){e.preventDefault();const o=t===n?1:-1,r=j.default(te.current+o,0,oe.current.length-1);oe.current[r].focus(),te.current=r,ne.current=n}},onBlur:se,onFocus:le,onMouseEnter:le,onMouseLeave:se,ownerState:X},H,{children:[/* @__PURE__ */u.jsx(Z,t.default({in:!N,timeout:U,unmountOnExit:!0},W,{children:/* @__PURE__ */u.jsx(F,t.default({color:"primary","aria-label":S,"aria-haspopup":"true","aria-expanded":J,"aria-controls":`${ue}-actions`},G,{onClick:e=>{G.onClick&&G.onClick(e),ee.clear(),J?(Q(!1),z&&z(e,"toggle")):(Q(!0),_&&_(e,"toggle"))},className:i.clsx(Y.fab,G.className),ref:ie,ownerState:X,children:/* @__PURE__ */g.isValidElement($)&&x.default($,["SpeedDialIcon"])?/* @__PURE__ */g.cloneElement($,{open:J}):$}))})),/* @__PURE__ */u.jsx(O,{id:`${ue}-actions`,role:"menu","aria-orientation":C(L),className:i.clsx(Y.actions,!J&&Y.actionsClosed),ownerState:X,children:ce})]}))});"production"!==h.NODE_ENV&&(S.propTypes={ariaLabel:r.default.string.isRequired,children:r.default.node,classes:r.default.object,className:r.default.string,direction:r.default.oneOf(["down","left","right","up"]),FabProps:r.default.object,hidden:r.default.bool,icon:r.default.node,onBlur:r.default.func,onClose:r.default.func,onFocus:r.default.func,onKeyDown:r.default.func,onMouseEnter:r.default.func,onMouseLeave:r.default.func,onOpen:r.default.func,open:r.default.bool,openIcon:r.default.node,sx:r.default.oneOfType([r.default.arrayOf(r.default.oneOfType([r.default.func,r.default.object,r.default.bool])),r.default.func,r.default.object]),TransitionComponent:r.default.elementType,transitionDuration:r.default.oneOfType([r.default.number,r.default.shape({appear:r.default.number,enter:r.default.number,exit:r.default.number})]),TransitionProps:r.default.object}),exports.default=S;
|
|
4
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/@mui/material/SpeedDial/SpeedDial.js"],"sourcesContent":["'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"ref\"],\n _excluded2 = [\"ariaLabel\", \"FabProps\", \"children\", \"className\", \"direction\", \"hidden\", \"icon\", \"onBlur\", \"onClose\", \"onFocus\", \"onKeyDown\", \"onMouseEnter\", \"onMouseLeave\", \"onOpen\", \"open\", \"openIcon\", \"TransitionComponent\", \"transitionDuration\", \"TransitionProps\"],\n _excluded3 = [\"ref\"];\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport useTimeout from '@mui/utils/useTimeout';\nimport clamp from '@mui/utils/clamp';\nimport styled from '../styles/styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport useTheme from '../styles/useTheme';\nimport Zoom from '../Zoom';\nimport Fab from '../Fab';\nimport capitalize from '../utils/capitalize';\nimport isMuiElement from '../utils/isMuiElement';\nimport useForkRef from '../utils/useForkRef';\nimport useControlled from '../utils/useControlled';\nimport speedDialClasses, { getSpeedDialUtilityClass } from './speedDialClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n open,\n direction\n } = ownerState;\n const slots = {\n root: ['root', `direction${capitalize(direction)}`],\n fab: ['fab'],\n actions: ['actions', !open && 'actionsClosed']\n };\n return composeClasses(slots, getSpeedDialUtilityClass, classes);\n};\nfunction getOrientation(direction) {\n if (direction === 'up' || direction === 'down') {\n return 'vertical';\n }\n if (direction === 'right' || direction === 'left') {\n return 'horizontal';\n }\n return undefined;\n}\nconst dialRadius = 32;\nconst spacingActions = 16;\nconst SpeedDialRoot = styled('div', {\n name: 'MuiSpeedDial',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[`direction${capitalize(ownerState.direction)}`]];\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n zIndex: (theme.vars || theme).zIndex.speedDial,\n display: 'flex',\n alignItems: 'center',\n pointerEvents: 'none'\n}, ownerState.direction === 'up' && {\n flexDirection: 'column-reverse',\n [`& .${speedDialClasses.actions}`]: {\n flexDirection: 'column-reverse',\n marginBottom: -dialRadius,\n paddingBottom: spacingActions + dialRadius\n }\n}, ownerState.direction === 'down' && {\n flexDirection: 'column',\n [`& .${speedDialClasses.actions}`]: {\n flexDirection: 'column',\n marginTop: -dialRadius,\n paddingTop: spacingActions + dialRadius\n }\n}, ownerState.direction === 'left' && {\n flexDirection: 'row-reverse',\n [`& .${speedDialClasses.actions}`]: {\n flexDirection: 'row-reverse',\n marginRight: -dialRadius,\n paddingRight: spacingActions + dialRadius\n }\n}, ownerState.direction === 'right' && {\n flexDirection: 'row',\n [`& .${speedDialClasses.actions}`]: {\n flexDirection: 'row',\n marginLeft: -dialRadius,\n paddingLeft: spacingActions + dialRadius\n }\n}));\nconst SpeedDialFab = styled(Fab, {\n name: 'MuiSpeedDial',\n slot: 'Fab',\n overridesResolver: (props, styles) => styles.fab\n})(() => ({\n pointerEvents: 'auto'\n}));\nconst SpeedDialActions = styled('div', {\n name: 'MuiSpeedDial',\n slot: 'Actions',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.actions, !ownerState.open && styles.actionsClosed];\n }\n})(({\n ownerState\n}) => _extends({\n display: 'flex',\n pointerEvents: 'auto'\n}, !ownerState.open && {\n transition: 'top 0s linear 0.2s',\n pointerEvents: 'none'\n}));\nconst SpeedDial = /*#__PURE__*/React.forwardRef(function SpeedDial(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiSpeedDial'\n });\n const theme = useTheme();\n const defaultTransitionDuration = {\n enter: theme.transitions.duration.enteringScreen,\n exit: theme.transitions.duration.leavingScreen\n };\n const {\n ariaLabel,\n FabProps: {\n ref: origDialButtonRef\n } = {},\n children: childrenProp,\n className,\n direction = 'up',\n hidden = false,\n icon,\n onBlur,\n onClose,\n onFocus,\n onKeyDown,\n onMouseEnter,\n onMouseLeave,\n onOpen,\n open: openProp,\n TransitionComponent = Zoom,\n transitionDuration = defaultTransitionDuration,\n TransitionProps\n } = props,\n FabProps = _objectWithoutPropertiesLoose(props.FabProps, _excluded),\n other = _objectWithoutPropertiesLoose(props, _excluded2);\n const [open, setOpenState] = useControlled({\n controlled: openProp,\n default: false,\n name: 'SpeedDial',\n state: 'open'\n });\n const ownerState = _extends({}, props, {\n open,\n direction\n });\n const classes = useUtilityClasses(ownerState);\n const eventTimer = useTimeout();\n\n /**\n * an index in actions.current\n */\n const focusedAction = React.useRef(0);\n\n /**\n * pressing this key while the focus is on a child SpeedDialAction focuses\n * the next SpeedDialAction.\n * It is equal to the first arrow key pressed while focus is on the SpeedDial\n * that is not orthogonal to the direction.\n * @type {utils.ArrowKey?}\n */\n const nextItemArrowKey = React.useRef();\n\n /**\n * refs to the Button that have an action associated to them in this SpeedDial\n * [Fab, ...(SpeedDialActions > Button)]\n * @type {HTMLButtonElement[]}\n */\n const actions = React.useRef([]);\n actions.current = [actions.current[0]];\n const handleOwnFabRef = React.useCallback(fabFef => {\n actions.current[0] = fabFef;\n }, []);\n const handleFabRef = useForkRef(origDialButtonRef, handleOwnFabRef);\n\n /**\n * creates a ref callback for the Button in a SpeedDialAction\n * Is called before the original ref callback for Button that was set in buttonProps\n *\n * @param dialActionIndex {number}\n * @param origButtonRef {React.RefObject?}\n */\n const createHandleSpeedDialActionButtonRef = (dialActionIndex, origButtonRef) => {\n return buttonRef => {\n actions.current[dialActionIndex + 1] = buttonRef;\n if (origButtonRef) {\n origButtonRef(buttonRef);\n }\n };\n };\n const handleKeyDown = event => {\n if (onKeyDown) {\n onKeyDown(event);\n }\n const key = event.key.replace('Arrow', '').toLowerCase();\n const {\n current: nextItemArrowKeyCurrent = key\n } = nextItemArrowKey;\n if (event.key === 'Escape') {\n setOpenState(false);\n actions.current[0].focus();\n if (onClose) {\n onClose(event, 'escapeKeyDown');\n }\n return;\n }\n if (getOrientation(key) === getOrientation(nextItemArrowKeyCurrent) && getOrientation(key) !== undefined) {\n event.preventDefault();\n const actionStep = key === nextItemArrowKeyCurrent ? 1 : -1;\n\n // stay within array indices\n const nextAction = clamp(focusedAction.current + actionStep, 0, actions.current.length - 1);\n actions.current[nextAction].focus();\n focusedAction.current = nextAction;\n nextItemArrowKey.current = nextItemArrowKeyCurrent;\n }\n };\n React.useEffect(() => {\n // actions were closed while navigation state was not reset\n if (!open) {\n focusedAction.current = 0;\n nextItemArrowKey.current = undefined;\n }\n }, [open]);\n const handleClose = event => {\n if (event.type === 'mouseleave' && onMouseLeave) {\n onMouseLeave(event);\n }\n if (event.type === 'blur' && onBlur) {\n onBlur(event);\n }\n eventTimer.clear();\n if (event.type === 'blur') {\n eventTimer.start(0, () => {\n setOpenState(false);\n if (onClose) {\n onClose(event, 'blur');\n }\n });\n } else {\n setOpenState(false);\n if (onClose) {\n onClose(event, 'mouseLeave');\n }\n }\n };\n const handleClick = event => {\n if (FabProps.onClick) {\n FabProps.onClick(event);\n }\n eventTimer.clear();\n if (open) {\n setOpenState(false);\n if (onClose) {\n onClose(event, 'toggle');\n }\n } else {\n setOpenState(true);\n if (onOpen) {\n onOpen(event, 'toggle');\n }\n }\n };\n const handleOpen = event => {\n if (event.type === 'mouseenter' && onMouseEnter) {\n onMouseEnter(event);\n }\n if (event.type === 'focus' && onFocus) {\n onFocus(event);\n }\n\n // When moving the focus between two items,\n // a chain if blur and focus event is triggered.\n // We only handle the last event.\n eventTimer.clear();\n if (!open) {\n // Wait for a future focus or click event\n eventTimer.start(0, () => {\n setOpenState(true);\n if (onOpen) {\n const eventMap = {\n focus: 'focus',\n mouseenter: 'mouseEnter'\n };\n onOpen(event, eventMap[event.type]);\n }\n });\n }\n };\n\n // Filter the label for valid id characters.\n const id = ariaLabel.replace(/^[^a-z]+|[^\\w:.-]+/gi, '');\n const allItems = React.Children.toArray(childrenProp).filter(child => {\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"MUI: The SpeedDial component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n return /*#__PURE__*/React.isValidElement(child);\n });\n const children = allItems.map((child, index) => {\n const _child$props = child.props,\n {\n FabProps: {\n ref: origButtonRef\n } = {},\n tooltipPlacement: tooltipPlacementProp\n } = _child$props,\n ChildFabProps = _objectWithoutPropertiesLoose(_child$props.FabProps, _excluded3);\n const tooltipPlacement = tooltipPlacementProp || (getOrientation(direction) === 'vertical' ? 'left' : 'top');\n return /*#__PURE__*/React.cloneElement(child, {\n FabProps: _extends({}, ChildFabProps, {\n ref: createHandleSpeedDialActionButtonRef(index, origButtonRef)\n }),\n delay: 30 * (open ? index : allItems.length - index),\n open,\n tooltipPlacement,\n id: `${id}-action-${index}`\n });\n });\n return /*#__PURE__*/_jsxs(SpeedDialRoot, _extends({\n className: clsx(classes.root, className),\n ref: ref,\n role: \"presentation\",\n onKeyDown: handleKeyDown,\n onBlur: handleClose,\n onFocus: handleOpen,\n onMouseEnter: handleOpen,\n onMouseLeave: handleClose,\n ownerState: ownerState\n }, other, {\n children: [/*#__PURE__*/_jsx(TransitionComponent, _extends({\n in: !hidden,\n timeout: transitionDuration,\n unmountOnExit: true\n }, TransitionProps, {\n children: /*#__PURE__*/_jsx(SpeedDialFab, _extends({\n color: \"primary\",\n \"aria-label\": ariaLabel,\n \"aria-haspopup\": \"true\",\n \"aria-expanded\": open,\n \"aria-controls\": `${id}-actions`\n }, FabProps, {\n onClick: handleClick,\n className: clsx(classes.fab, FabProps.className),\n ref: handleFabRef,\n ownerState: ownerState,\n children: /*#__PURE__*/React.isValidElement(icon) && isMuiElement(icon, ['SpeedDialIcon']) ? /*#__PURE__*/React.cloneElement(icon, {\n open\n }) : icon\n }))\n })), /*#__PURE__*/_jsx(SpeedDialActions, {\n id: `${id}-actions`,\n role: \"menu\",\n \"aria-orientation\": getOrientation(direction),\n className: clsx(classes.actions, !open && classes.actionsClosed),\n ownerState: ownerState,\n children: children\n })]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? SpeedDial.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The aria-label of the button element.\n * Also used to provide the `id` for the `SpeedDial` element and its children.\n */\n ariaLabel: PropTypes.string.isRequired,\n /**\n * SpeedDialActions to display when the SpeedDial is `open`.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The direction the actions open relative to the floating action button.\n * @default 'up'\n */\n direction: PropTypes.oneOf(['down', 'left', 'right', 'up']),\n /**\n * Props applied to the [`Fab`](/material-ui/api/fab/) element.\n * @default {}\n */\n FabProps: PropTypes.object,\n /**\n * If `true`, the SpeedDial is hidden.\n * @default false\n */\n hidden: PropTypes.bool,\n /**\n * The icon to display in the SpeedDial Fab. The `SpeedDialIcon` component\n * provides a default Icon with animation.\n */\n icon: PropTypes.node,\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n /**\n * Callback fired when the component requests to be closed.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"toggle\"`, `\"blur\"`, `\"mouseLeave\"`, `\"escapeKeyDown\"`.\n */\n onClose: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n /**\n * @ignore\n */\n onMouseEnter: PropTypes.func,\n /**\n * @ignore\n */\n onMouseLeave: PropTypes.func,\n /**\n * Callback fired when the component requests to be open.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"toggle\"`, `\"focus\"`, `\"mouseEnter\"`.\n */\n onOpen: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool,\n /**\n * The icon to display in the SpeedDial Fab when the SpeedDial is open.\n */\n openIcon: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The component used for the transition.\n * [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n * @default Zoom\n */\n TransitionComponent: PropTypes.elementType,\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n * @default {\n * enter: theme.transitions.duration.enteringScreen,\n * exit: theme.transitions.duration.leavingScreen,\n * }\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n /**\n * Props applied to the transition element.\n * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default SpeedDial;"],"names":["_excluded","_excluded2","_excluded3","getOrientation","direction","SpeedDialRoot","styled","name","slot","overridesResolver","props","styles","ownerState","root","capitalize","theme","_extends","zIndex","vars","speedDial","display","alignItems","pointerEvents","flexDirection","speedDialClasses","actions","marginBottom","paddingBottom","spacingActions","marginTop","paddingTop","marginRight","paddingRight","marginLeft","paddingLeft","SpeedDialFab","Fab","fab","SpeedDialActions","open","actionsClosed","transition","SpeedDial","React","forwardRef","inProps","ref","useDefaultProps","useTheme","defaultTransitionDuration","enter","transitions","duration","enteringScreen","exit","leavingScreen","ariaLabel","FabProps","origDialButtonRef","children","childrenProp","className","hidden","icon","onBlur","onClose","onFocus","onKeyDown","onMouseEnter","onMouseLeave","onOpen","openProp","TransitionComponent","Zoom","transitionDuration","TransitionProps","_objectWithoutPropertiesLoose","other","setOpenState","useControlled","controlled","default","state","classes","slots","composeClasses","getSpeedDialUtilityClass","useUtilityClasses","eventTimer","useTimeout","focusedAction","useRef","nextItemArrowKey","current","handleOwnFabRef","useCallback","fabFef","handleFabRef","useForkRef","createHandleSpeedDialActionButtonRef","dialActionIndex","origButtonRef","buttonRef","useEffect","handleClose","event","type","clear","start","handleOpen","focus","mouseenter","id","replace","allItems","Children","toArray","filter","child","define_process_env_default","NODE_ENV","isFragment","isValidElement","map","index","_child$props","tooltipPlacement","tooltipPlacementProp","ChildFabProps","cloneElement","delay","length","_jsxs","clsx","role","key","toLowerCase","nextItemArrowKeyCurrent","preventDefault","actionStep","nextAction","clamp","_jsx","in","timeout","unmountOnExit","color","onClick","isMuiElement","propTypes","PropTypes","string","isRequired","node","object","oneOf","bool","func","openIcon","sx","oneOfType","arrayOf","elementType","number","shape","appear"],"mappings":"q7CAIA,MAAMA,EAAY,CAAC,OACjBC,EAAa,CAAC,YAAa,WAAY,WAAY,YAAa,YAAa,SAAU,OAAQ,SAAU,UAAW,UAAW,YAAa,eAAgB,eAAgB,SAAU,OAAQ,WAAY,sBAAuB,qBAAsB,mBACvPC,EAAa,CAAC,OAiChB,SAASC,EAA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,UAAU,CAACV,UAAUO,KAAMP,EAAAA,QAAUI,OAAQJ,UAAUM,QAASN,EAAAA,QAAUO,KAAMP,UAAUI,SAM/IlF,oBAAqB8E,EAAAA,QAAUY,YAS/BxF,mBAAoB4E,EAAAA,QAAUU,UAAU,CAACV,EAAAA,QAAUa,OAAQb,EAAAA,QAAUc,MAAM,CACzEC,OAAQf,EAAAA,QAAUa,OAClBjH,MAAOoG,EAAAA,QAAUa,OACjB7G,KAAMgG,EAAAA,QAAUa,WAMlBxF,gBAAiB2E,EAAAA,QAAUI","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import generateUtilityClasses from "../../../utils/esm/generateUtilityClasses/generateUtilityClasses/index.esm.js";
|
|
2
|
+
import generateUtilityClass from "../../../utils/esm/generateUtilityClass/generateUtilityClass/index.esm.js";
|
|
3
|
+
function getSpeedDialUtilityClass(slot) {
|
|
4
|
+
return generateUtilityClass("MuiSpeedDial", slot);
|
|
5
|
+
}
|
|
6
|
+
const speedDialClasses = generateUtilityClasses("MuiSpeedDial", ["root", "fab", "directionUp", "directionDown", "directionLeft", "directionRight", "actions", "actionsClosed"]);
|
|
7
|
+
export {
|
|
8
|
+
speedDialClasses as default,
|
|
9
|
+
getSpeedDialUtilityClass
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=index.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../../../../../node_modules/@mui/material/SpeedDial/speedDialClasses.js"],"sourcesContent":["import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getSpeedDialUtilityClass(slot) {\n return generateUtilityClass('MuiSpeedDial', slot);\n}\nconst speedDialClasses = generateUtilityClasses('MuiSpeedDial', ['root', 'fab', 'directionUp', 'directionDown', 'directionLeft', 'directionRight', 'actions', 'actionsClosed']);\nexport default speedDialClasses;"],"names":[],"mappings":";;AAEO,SAAS,yBAAyB,MAAM;AAC7C,SAAO,qBAAqB,gBAAgB,IAAI;AAClD;AACK,MAAC,mBAAmB,uBAAuB,gBAAgB,CAAC,QAAQ,OAAO,eAAe,iBAAiB,iBAAiB,kBAAkB,WAAW,eAAe,CAAC;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../utils/esm/generateUtilityClasses/generateUtilityClasses/index.js"),t=require("../../../utils/esm/generateUtilityClass/generateUtilityClass/index.js");const i=e.default("MuiSpeedDial",["root","fab","directionUp","directionDown","directionLeft","directionRight","actions","actionsClosed"]);exports.default=i,exports.getSpeedDialUtilityClass=function(e){return t.default("MuiSpeedDial",e)};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/@mui/material/SpeedDial/speedDialClasses.js"],"sourcesContent":["import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getSpeedDialUtilityClass(slot) {\n return generateUtilityClass('MuiSpeedDial', slot);\n}\nconst speedDialClasses = generateUtilityClasses('MuiSpeedDial', ['root', 'fab', 'directionUp', 'directionDown', 'directionLeft', 'directionRight', 'actions', 'actionsClosed']);\nexport default speedDialClasses;"],"names":["speedDialClasses","generateUtilityClasses","slot","generateUtilityClass"],"mappings":"kPAKK,MAACA,EAAmBC,EAAAA,QAAuB,eAAgB,CAAC,OAAQ,MAAO,cAAe,gBAAiB,gBAAiB,iBAAkB,UAAW,qEAHvJ,SAAkCC,GACvC,OAAOC,EAAAA,QAAqB,eAAgBD,EAC9C","x_google_ignoreList":[0]}
|