@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
package/dist/views/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./404/index.js"),t=require("./privateRoute/index.js"),r=require("./afterAuth/dashboard/dashboard/index.js"),o=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./404/index.js"),t=require("./privateRoute/index.js"),r=require("./afterAuth/dashboard/dashboard/index.js"),o=require("./form-builder/redux/state/index.js"),a=require("./afterAuth/page-view/page-view/index.js"),s=require("./beforeAuth/components/gantt-data/gantt-data/index.js"),i=require("./beforeAuth/components/grid-data/grid-data/index.js"),d=require("./beforeAuth/landing/landing/index.js"),n=require("./form-builder/custom-form/index.js"),l=require("./form-builder/form-fields/index.js"),u=require("./form-builder/element-edit-forms/checkbox/index.js"),p=require("./form-builder/element-edit-forms/column-width/index.js"),m=require("./form-builder/element-edit-forms/field-select/index.js"),x=require("./form-builder/element-edit-forms/section/index.js"),c=require("./form-builder/element-edit-forms/select/index.js"),f=require("./form-builder/element-edit-forms/table-form/index.js"),b=require("./form-builder/element-edit-forms/text/index.js"),h=require("./template-editor/templates/index.js"),j=require("./template-editor/add-template/add-template/index.js"),q=require("./template-editor/company-selection-modal/company-selection-modal/index.js"),g=require("./template-editor/components/EditorCanvas/index.js"),D=require("./template-editor/components/EditorHeader/index.js"),F=require("./template-editor/components/EditorSection/index.js"),C=require("./template-editor/components/EditorSidebar/index.js"),A=require("./template-editor/components/SectionFlowEditor/index.js"),P=require("./template-editor/components/SectionFormatPanel/index.js"),S=require("./template-editor/components/controllers/AlignmentControl/index.js"),w=require("./template-editor/components/controllers/border-control/index.js"),E=require("./template-editor/components/controllers/ButtonControls/index.js"),T=require("./template-editor/components/controllers/CodeControls/index.js"),v=require("./template-editor/components/controllers/DividerControls/index.js"),y=require("./template-editor/components/controllers/ImageControls/index.js"),R=require("./template-editor/components/controllers/SignatureControls/index.js"),I=require("./template-editor/components/controllers/TableControls/index.js"),M=require("./template-editor/edit-section-modal/edit-section-modal/index.js"),B=require("./template-editor/template-modal/html-thumbnail-preview/index.js"),H=require("./template-editor/template-modal/template-modal/index.js"),L=require("./template-editor/template-name-modal/template-name-modal/index.js"),O=require("./afterAuth/dashboard/redux/reducer/index.js"),_=require("./afterAuth/dashboard/redux/actionCreator/index.js"),N=require("./form-builder/redux/reducer/index.js"),U=require("./afterAuth/page-view/redux/reducer/index.js"),k=require("./afterAuth/page-view/redux/actionCreator/index.js"),V=require("./afterAuth/page-view/utils/default-data/index.js"),G=require("./afterAuth/page-view/utils/local-data/index.js"),K=require("./beforeAuth/change-password/change-password/index.js"),W=require("./beforeAuth/components/activity-tag-data/activity-tag-data/index.js"),z=require("./beforeAuth/components/calendar-data/calendar-data/index.js"),J=require("./beforeAuth/components/kanbann-content/kanbann-raw/index.js"),Q=require("./beforeAuth/components/list-content/column-raw/index.js"),X=require("./beforeAuth/components/list-content/list-data/index.js"),Y=require("./beforeAuth/components/multiline-data/multiline-data/index.js"),Z=require("./beforeAuth/components/share-modal-data/share-modal-data/index.js"),$=require("./beforeAuth/components/shared-pages-data/shared-pages-data/index.js"),ee=require("./beforeAuth/components/tabs-data/tabs-data/index.js"),te=require("./beforeAuth/components/user-dropdown-data/user-dropdown-data/index.js"),re=require("./beforeAuth/forgot-password/forgot-password/index.js"),oe=require("./beforeAuth/reset-password/reset-password/index.js"),ae=require("./form-builder/field_properties/index.js"),se=require("./form-builder/redux/actionCreator/index.js"),ie=require("./form-builder/utils/common/index.js"),de=require("./template-editor/routes/index.js"),ne=require("./template-editor/components/controllers/TextControls/index.js"),le=require("./template-editor/utils/common/index.js"),ue=require("./template-editor/utils/constant/index.js"),pe=require("./template-editor/utils/default-data/index.js"),me=require("./template-editor/utils/style-extractor/index.js");exports.NotFound=e.default,exports.PrivateRoute=t.PrivateRoute,exports.Dashboard=r.Dashboard,exports.state=o.state,exports.PageView=a.PageView,exports.ganttData=s.default,exports.data=i.data,exports.Landing=d.Landing,exports.CustomForm=n.CustomForm,exports.FormField=l.FormField,exports.FormFields=l.default,exports.CheckboxEditForm=u.CheckboxEditForm,exports.ColumnWidth=p.ColumnWidth,exports.FieldSelect=m.default,exports.SectionEditForm=x.SectionEditForm,exports.SelectEditForm=c.SelectEditForm,exports.TableEditForm=f.default,exports.TextEditForm=b.TextEditForm,exports.Templates=h.default,exports.AddTemplate=j.default,exports.CompanySelectionModal=q.default,exports.EditorCanvas=g.default,exports.EditorHeader=D.default,exports.EditorSection=F.default,exports.EditorSidebar=C.EditorSidebar,exports.SectionFlowEditor=A.default,exports.SectionFormatPanel=P.default,exports.AlignmentControl=S.default,exports.BorderControl=w.default,exports.ButtonControls=E.default,exports.CodeControls=T.default,exports.DividerControls=v.default,exports.ImageControls=y.default,exports.SignatureControls=R.default,exports.TableControls=I.default,exports.EditSectionModal=M.default,exports.HtmlThumbnailPreview=B.HtmlThumbnailPreview,exports.TemplateModal=H.TemplateModal,exports.TemplateNameModal=L.default,exports.dashBoardDrive=O.dashBoardDrive,exports.dashboardSlice=O.default,exports.pinToDashboardList=O.pinToDashboardList,exports.setGrid=O.setGrid,exports.setSharedPage=O.setSharedPage,exports.setUserName=O.setUserName,exports.UsersFetchAction=_.UsersFetchAction,exports.pinToDashboardAction=_.pinToDashboardAction,exports.setPagesAction=_.setPagesAction,exports.setSharedPageAction=_.setSharedPageAction,exports.setUserNameAction=_.setUserNameAction,exports.setdashboardDriveData=_.setdashboardDriveData,exports.formBuilderListSlice=N.default,exports.setFormData=N.setFormData,exports.setPaginationModel=N.setPaginationModel,exports.pageViewSlice=U.default,exports.setColumnOrder=U.setColumnOrder,exports.setRowData=U.setRowData,exports.fetchPage=k.fetchPage,exports.defaultData=V.defaultData,exports.local=G.local,exports.ChangePassword=K.ChangePassword,exports.activityTag=W.activityTag,exports.calendarData=z.calendarData,exports.board=J.board,exports.column=Q.column,exports.tableData=X.tableData,exports.multilineData=Y.multilineData,exports.userRoles=Z.userRoles,exports.sharedPagesData=$.sharedPagesData,exports.tabsData=ee.tabsData,exports.userData=te.userData,exports.ForgotPassword=re.ForgotPassword,exports.ResetPassword=oe.ResetPassword,exports.element=ae.element,exports.getFieldsByFormId=se.getFieldsByFormId,exports.getFormDataById=se.getFormDataById,exports.patchFormDataById=se.patchFormDataById,exports.createDefaultTableColumns=ie.createDefaultTableColumns,exports.extractSections=ie.extractSections,exports.formatText=ie.formatText,exports.generateModulePath=ie.generateModulePath,exports.processMembers=ie.processMembers,exports.processTableColumns=ie.processTableColumns,exports.useFormDataEffect=ie.useFormDataEffect,exports.useFormDataProcessor=ie.useFormDataProcessor,exports.templateEditorRoutes=de.templateEditorRoutes,exports.React=ne.default,exports.extractStyles=le.extractStyles,exports.generateEmailPreview=le.generateEmailPreview,exports.generateHeaderFooterPreview=le.generateHeaderFooterPreview,exports.generateInlineStyles=le.generateInlineStyles,exports.getInitialSectionData=le.getInitialSectionData,exports.templateRoutes=le.templateRoutes,exports.TEMPLATE_EDITOR_PATHS=ue.TEMPLATE_EDITOR_PATHS,exports.initialStyles=ue.initialStyles,exports.emailColumns=pe.emailColumns,exports.textOptions=pe.textOptions,exports.useCKEditorStyleExtractor=me.useCKEditorStyleExtractor;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@erpsquad/common",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.48",
|
|
4
4
|
"description": "Shared UI component library for ERP modules",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -130,6 +130,7 @@
|
|
|
130
130
|
"build:validate": "npm run build && node scripts/validate-package.js",
|
|
131
131
|
"clean": "rimraf dist",
|
|
132
132
|
"generate:exports": "node scripts/generate-exports.js",
|
|
133
|
+
"fix:exports": "node scripts/fix-all-exports.js",
|
|
133
134
|
"add:named-exports": "node scripts/add-named-exports.js",
|
|
134
135
|
"analyze:exports": "node scripts/analyze-exports.js",
|
|
135
136
|
"type-check": "tsc --noEmit --skipLibCheck",
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useState } from "react";
|
|
3
|
-
import { ERPUIProvider } from "../../providers/ERPUIProvider/index.esm.js";
|
|
4
|
-
import { SharePopUpEnhanced } from "../../share-modal/share-modal-enhanced/index.esm.js";
|
|
5
|
-
import { HeaderEnhanced } from "../../header/header-enhanced/index.esm.js";
|
|
6
|
-
import Box from "../../../node_modules/@mui/material/Box/Box/index.esm.js";
|
|
7
|
-
import Typography from "../../../node_modules/@mui/material/Typography/Typography/index.esm.js";
|
|
8
|
-
import FormControlLabel from "../../../node_modules/@mui/material/FormControlLabel/FormControlLabel/index.esm.js";
|
|
9
|
-
import Switch from "../../../node_modules/@mui/material/Switch/Switch/index.esm.js";
|
|
10
|
-
import Button from "../../../node_modules/@mui/material/Button/Button/index.esm.js";
|
|
11
|
-
const FlexibleReduxExample = () => {
|
|
12
|
-
const [useRedux, setUseRedux] = useState(false);
|
|
13
|
-
const [showShareModal, setShowShareModal] = useState(false);
|
|
14
|
-
const [users] = useState([
|
|
15
|
-
{ id: 1, first_name: "John", last_name: "Doe", label: "John Doe", value: 1 },
|
|
16
|
-
{ id: 2, first_name: "Jane", last_name: "Smith", label: "Jane Smith", value: 2 }
|
|
17
|
-
]);
|
|
18
|
-
const [departments] = useState([
|
|
19
|
-
{ id: 1, name: "Engineering", label: "Engineering", value: 1 },
|
|
20
|
-
{ id: 2, name: "Marketing", label: "Marketing", value: 2 }
|
|
21
|
-
]);
|
|
22
|
-
const [languages] = useState([
|
|
23
|
-
{ code: "en", label: "English", direction: "ltr" },
|
|
24
|
-
{ code: "es", label: "Spanish", direction: "ltr" },
|
|
25
|
-
{ code: "ar", label: "Arabic", direction: "rtl" }
|
|
26
|
-
]);
|
|
27
|
-
const [currentLanguage, setCurrentLanguage] = useState(languages[0]);
|
|
28
|
-
const [loading, setLoading] = useState(false);
|
|
29
|
-
const fetchUsersAndDepartments = async () => {
|
|
30
|
-
setLoading(true);
|
|
31
|
-
await new Promise((resolve) => setTimeout(resolve, 1e3));
|
|
32
|
-
setLoading(false);
|
|
33
|
-
};
|
|
34
|
-
const handleLanguageChange = (languageCode) => {
|
|
35
|
-
const language = languages.find((lang) => lang.code === languageCode);
|
|
36
|
-
if (language) {
|
|
37
|
-
setCurrentLanguage(language);
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
const handleShareSubmit = (data) => {
|
|
41
|
-
console.log("Share data:", data);
|
|
42
|
-
setShowShareModal(false);
|
|
43
|
-
};
|
|
44
|
-
return /* @__PURE__ */ jsx(ERPUIProvider, { useRedux, children: /* @__PURE__ */ jsxs(Box, { sx: { p: 3 }, children: [
|
|
45
|
-
/* @__PURE__ */ jsx(Typography, { variant: "h4", gutterBottom: true, children: "Flexible Redux Integration Example" }),
|
|
46
|
-
/* @__PURE__ */ jsx(Typography, { variant: "body1", sx: { mb: 2 }, children: "This example demonstrates how ERP UI Library components can work with or without Redux. Toggle the switch below to see the difference." }),
|
|
47
|
-
/* @__PURE__ */ jsx(
|
|
48
|
-
FormControlLabel,
|
|
49
|
-
{
|
|
50
|
-
control: /* @__PURE__ */ jsx(
|
|
51
|
-
Switch,
|
|
52
|
-
{
|
|
53
|
-
checked: useRedux,
|
|
54
|
-
onChange: (e) => setUseRedux(e.target.checked)
|
|
55
|
-
}
|
|
56
|
-
),
|
|
57
|
-
label: `Use Redux: ${useRedux ? "Enabled" : "Disabled"}`,
|
|
58
|
-
sx: { mb: 3 }
|
|
59
|
-
}
|
|
60
|
-
),
|
|
61
|
-
/* @__PURE__ */ jsxs(Box, { sx: { mb: 3 }, children: [
|
|
62
|
-
/* @__PURE__ */ jsxs(Typography, { variant: "h6", gutterBottom: true, children: [
|
|
63
|
-
"Current Mode: ",
|
|
64
|
-
useRedux ? "Redux-based" : "Prop-based"
|
|
65
|
-
] }),
|
|
66
|
-
/* @__PURE__ */ jsx(Typography, { variant: "body2", color: "text.secondary", children: useRedux ? "Components are using Redux for state management" : "Components are using props and local state for data" })
|
|
67
|
-
] }),
|
|
68
|
-
/* @__PURE__ */ jsxs(Box, { sx: { border: 1, borderColor: "grey.300", borderRadius: 1, p: 2, mb: 3 }, children: [
|
|
69
|
-
/* @__PURE__ */ jsx(Typography, { variant: "h6", gutterBottom: true, children: "Header Component" }),
|
|
70
|
-
/* @__PURE__ */ jsx(
|
|
71
|
-
HeaderEnhanced,
|
|
72
|
-
{
|
|
73
|
-
useRedux,
|
|
74
|
-
languages: useRedux ? void 0 : languages,
|
|
75
|
-
currentLanguage: useRedux ? void 0 : currentLanguage,
|
|
76
|
-
languagesLoading: useRedux ? void 0 : loading,
|
|
77
|
-
onLanguageChange: useRedux ? void 0 : handleLanguageChange,
|
|
78
|
-
onFetchLanguages: useRedux ? void 0 : fetchUsersAndDepartments
|
|
79
|
-
}
|
|
80
|
-
)
|
|
81
|
-
] }),
|
|
82
|
-
/* @__PURE__ */ jsxs(Box, { sx: { border: 1, borderColor: "grey.300", borderRadius: 1, p: 2, mb: 3 }, children: [
|
|
83
|
-
/* @__PURE__ */ jsx(Typography, { variant: "h6", gutterBottom: true, children: "Share Modal Component" }),
|
|
84
|
-
/* @__PURE__ */ jsx(
|
|
85
|
-
Button,
|
|
86
|
-
{
|
|
87
|
-
variant: "contained",
|
|
88
|
-
onClick: () => setShowShareModal(true),
|
|
89
|
-
sx: { mb: 2 },
|
|
90
|
-
children: "Open Share Modal"
|
|
91
|
-
}
|
|
92
|
-
),
|
|
93
|
-
/* @__PURE__ */ jsx(
|
|
94
|
-
SharePopUpEnhanced,
|
|
95
|
-
{
|
|
96
|
-
open: showShareModal,
|
|
97
|
-
onClose: () => setShowShareModal(false),
|
|
98
|
-
title: "Share Document",
|
|
99
|
-
toggleSwitch: true,
|
|
100
|
-
onSubmit: handleShareSubmit,
|
|
101
|
-
useRedux,
|
|
102
|
-
users: useRedux ? void 0 : users,
|
|
103
|
-
departments: useRedux ? void 0 : departments,
|
|
104
|
-
loading: useRedux ? void 0 : loading,
|
|
105
|
-
onFetchUsersAndDepartments: useRedux ? void 0 : fetchUsersAndDepartments
|
|
106
|
-
}
|
|
107
|
-
)
|
|
108
|
-
] }),
|
|
109
|
-
/* @__PURE__ */ jsxs(Box, { sx: { border: 1, borderColor: "grey.300", borderRadius: 1, p: 2 }, children: [
|
|
110
|
-
/* @__PURE__ */ jsx(Typography, { variant: "h6", gutterBottom: true, children: "Code Example" }),
|
|
111
|
-
/* @__PURE__ */ jsx(
|
|
112
|
-
Box,
|
|
113
|
-
{
|
|
114
|
-
component: "pre",
|
|
115
|
-
sx: {
|
|
116
|
-
backgroundColor: "grey.100",
|
|
117
|
-
p: 2,
|
|
118
|
-
borderRadius: 1,
|
|
119
|
-
overflow: "auto",
|
|
120
|
-
fontSize: "0.875rem"
|
|
121
|
-
},
|
|
122
|
-
children: useRedux ? `
|
|
123
|
-
// Redux-based usage
|
|
124
|
-
<ERPUIProvider useRedux={true} reduxStore={store} apiClient={apiClient}>
|
|
125
|
-
<HeaderEnhanced useRedux={true} />
|
|
126
|
-
<ShareModalEnhanced useRedux={true} />
|
|
127
|
-
</ERPUIProvider>
|
|
128
|
-
` : `
|
|
129
|
-
// Prop-based usage
|
|
130
|
-
<ERPUIProvider useRedux={false}>
|
|
131
|
-
<HeaderEnhanced
|
|
132
|
-
useRedux={false}
|
|
133
|
-
languages={languages}
|
|
134
|
-
currentLanguage={currentLanguage}
|
|
135
|
-
onLanguageChange={handleLanguageChange}
|
|
136
|
-
/>
|
|
137
|
-
<ShareModalEnhanced
|
|
138
|
-
useRedux={false}
|
|
139
|
-
users={users}
|
|
140
|
-
departments={departments}
|
|
141
|
-
loading={loading}
|
|
142
|
-
onFetchUsersAndDepartments={fetchUsersAndDepartments}
|
|
143
|
-
/>
|
|
144
|
-
</ERPUIProvider>
|
|
145
|
-
`
|
|
146
|
-
}
|
|
147
|
-
)
|
|
148
|
-
] })
|
|
149
|
-
] }) });
|
|
150
|
-
};
|
|
151
|
-
export {
|
|
152
|
-
FlexibleReduxExample as default
|
|
153
|
-
};
|
|
154
|
-
//# sourceMappingURL=index.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":["../../../../src/components/examples/FlexibleReduxExample.tsx"],"sourcesContent":["import React, { useState } from 'react';\nimport { Box, Button, Typography, Switch, FormControlLabel } from '@mui/material';\nimport { ERPUIProvider } from '../providers/ERPUIProvider';\nimport ShareModalEnhanced from '../share-modal/share-modal-enhanced';\nimport HeaderEnhanced from '../header/header-enhanced';\n\n/**\n * Example component demonstrating flexible Redux usage\n * This shows how components can work with or without Redux\n */\nconst FlexibleReduxExample: React.FC = () => {\n const [useRedux, setUseRedux] = useState(false);\n const [showShareModal, setShowShareModal] = useState(false);\n \n // Mock data for non-Redux usage\n const [users] = useState([\n { id: 1, first_name: 'John', last_name: 'Doe', label: 'John Doe', value: 1 },\n { id: 2, first_name: 'Jane', last_name: 'Smith', label: 'Jane Smith', value: 2 },\n ]);\n \n const [departments] = useState([\n { id: 1, name: 'Engineering', label: 'Engineering', value: 1 },\n { id: 2, name: 'Marketing', label: 'Marketing', value: 2 },\n ]);\n \n const [languages] = useState([\n { code: 'en', label: 'English', direction: 'ltr' },\n { code: 'es', label: 'Spanish', direction: 'ltr' },\n { code: 'ar', label: 'Arabic', direction: 'rtl' },\n ]);\n \n const [currentLanguage, setCurrentLanguage] = useState(languages[0]);\n const [loading, setLoading] = useState(false);\n\n // Mock API functions\n const fetchUsersAndDepartments = async () => {\n setLoading(true);\n // Simulate API call\n await new Promise(resolve => setTimeout(resolve, 1000));\n setLoading(false);\n };\n\n const handleLanguageChange = (languageCode: string) => {\n const language = languages.find(lang => lang.code === languageCode);\n if (language) {\n setCurrentLanguage(language);\n }\n };\n\n const handleShareSubmit = (data: any) => {\n console.log('Share data:', data);\n setShowShareModal(false);\n };\n\n return (\n <ERPUIProvider useRedux={useRedux}>\n <Box sx={{ p: 3 }}>\n <Typography variant=\"h4\" gutterBottom>\n Flexible Redux Integration Example\n </Typography>\n \n <Typography variant=\"body1\" sx={{ mb: 2 }}>\n This example demonstrates how ERP UI Library components can work with or without Redux.\n Toggle the switch below to see the difference.\n </Typography>\n\n <FormControlLabel\n control={\n <Switch\n checked={useRedux}\n onChange={(e) => setUseRedux(e.target.checked)}\n />\n }\n label={`Use Redux: ${useRedux ? 'Enabled' : 'Disabled'}`}\n sx={{ mb: 3 }}\n />\n\n <Box sx={{ mb: 3 }}>\n <Typography variant=\"h6\" gutterBottom>\n Current Mode: {useRedux ? 'Redux-based' : 'Prop-based'}\n </Typography>\n <Typography variant=\"body2\" color=\"text.secondary\">\n {useRedux \n ? 'Components are using Redux for state management'\n : 'Components are using props and local state for data'\n }\n </Typography>\n </Box>\n\n {/* Header Example */}\n <Box sx={{ border: 1, borderColor: 'grey.300', borderRadius: 1, p: 2, mb: 3 }}>\n <Typography variant=\"h6\" gutterBottom>\n Header Component\n </Typography>\n <HeaderEnhanced\n useRedux={useRedux}\n languages={useRedux ? undefined : languages}\n currentLanguage={useRedux ? undefined : currentLanguage}\n languagesLoading={useRedux ? undefined : loading}\n onLanguageChange={useRedux ? undefined : handleLanguageChange}\n onFetchLanguages={useRedux ? undefined : fetchUsersAndDepartments}\n />\n </Box>\n\n {/* Share Modal Example */}\n <Box sx={{ border: 1, borderColor: 'grey.300', borderRadius: 1, p: 2, mb: 3 }}>\n <Typography variant=\"h6\" gutterBottom>\n Share Modal Component\n </Typography>\n <Button\n variant=\"contained\"\n onClick={() => setShowShareModal(true)}\n sx={{ mb: 2 }}\n >\n Open Share Modal\n </Button>\n \n <ShareModalEnhanced\n open={showShareModal}\n onClose={() => setShowShareModal(false)}\n title=\"Share Document\"\n toggleSwitch={true}\n onSubmit={handleShareSubmit}\n useRedux={useRedux}\n users={useRedux ? undefined : users}\n departments={useRedux ? undefined : departments}\n loading={useRedux ? undefined : loading}\n onFetchUsersAndDepartments={useRedux ? undefined : fetchUsersAndDepartments}\n />\n </Box>\n\n {/* Code Example */}\n <Box sx={{ border: 1, borderColor: 'grey.300', borderRadius: 1, p: 2 }}>\n <Typography variant=\"h6\" gutterBottom>\n Code Example\n </Typography>\n <Box\n component=\"pre\"\n sx={{\n backgroundColor: 'grey.100',\n p: 2,\n borderRadius: 1,\n overflow: 'auto',\n fontSize: '0.875rem',\n }}\n >\n {useRedux ? `\n// Redux-based usage\n<ERPUIProvider useRedux={true} reduxStore={store} apiClient={apiClient}>\n <HeaderEnhanced useRedux={true} />\n <ShareModalEnhanced useRedux={true} />\n</ERPUIProvider>\n ` : `\n// Prop-based usage\n<ERPUIProvider useRedux={false}>\n <HeaderEnhanced\n useRedux={false}\n languages={languages}\n currentLanguage={currentLanguage}\n onLanguageChange={handleLanguageChange}\n />\n <ShareModalEnhanced\n useRedux={false}\n users={users}\n departments={departments}\n loading={loading}\n onFetchUsersAndDepartments={fetchUsersAndDepartments}\n />\n</ERPUIProvider>\n `}\n </Box>\n </Box>\n </Box>\n </ERPUIProvider>\n );\n};\n\nexport default FlexibleReduxExample;"],"names":["ShareModalEnhanced"],"mappings":"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"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),a=require("react"),r=require("../../providers/ERPUIProvider/index.js"),n=require("../../share-modal/share-modal-enhanced/index.js"),t=require("../../header/header-enhanced/index.js"),d=require("../../../node_modules/@mui/material/Box/Box/index.js"),o=require("../../../node_modules/@mui/material/Typography/Typography/index.js"),s=require("../../../node_modules/@mui/material/FormControlLabel/FormControlLabel/index.js"),i=require("../../../node_modules/@mui/material/Switch/Switch/index.js"),u=require("../../../node_modules/@mui/material/Button/Button/index.js");exports.default=()=>{const[l,h]=a.useState(!1),[c,m]=a.useState(!1),[x]=a.useState([{id:1,first_name:"John",last_name:"Doe",label:"John Doe",value:1},{id:2,first_name:"Jane",last_name:"Smith",label:"Jane Smith",value:2}]),[g]=a.useState([{id:1,name:"Engineering",label:"Engineering",value:1},{id:2,name:"Marketing",label:"Marketing",value:2}]),[b]=a.useState([{code:"en",label:"English",direction:"ltr"},{code:"es",label:"Spanish",direction:"ltr"},{code:"ar",label:"Arabic",direction:"rtl"}]),[p,f]=a.useState(b[0]),[v,j]=a.useState(!1),R=async()=>{j(!0),await new Promise(e=>setTimeout(e,1e3)),j(!1)};/* @__PURE__ */
|
|
2
|
-
return e.jsx(r.ERPUIProvider,{useRedux:l,children:/* @__PURE__ */e.jsxs(d.default,{sx:{p:3},children:[
|
|
3
|
-
/* @__PURE__ */e.jsx(o.default,{variant:"h4",gutterBottom:!0,children:"Flexible Redux Integration Example"}),
|
|
4
|
-
/* @__PURE__ */e.jsx(o.default,{variant:"body1",sx:{mb:2},children:"This example demonstrates how ERP UI Library components can work with or without Redux. Toggle the switch below to see the difference."}),
|
|
5
|
-
/* @__PURE__ */e.jsx(s.default,{control:/* @__PURE__ */e.jsx(i.default,{checked:l,onChange:e=>h(e.target.checked)}),label:"Use Redux: "+(l?"Enabled":"Disabled"),sx:{mb:3}}),
|
|
6
|
-
/* @__PURE__ */e.jsxs(d.default,{sx:{mb:3},children:[
|
|
7
|
-
/* @__PURE__ */e.jsxs(o.default,{variant:"h6",gutterBottom:!0,children:["Current Mode: ",l?"Redux-based":"Prop-based"]}),
|
|
8
|
-
/* @__PURE__ */e.jsx(o.default,{variant:"body2",color:"text.secondary",children:l?"Components are using Redux for state management":"Components are using props and local state for data"})]}),
|
|
9
|
-
/* @__PURE__ */e.jsxs(d.default,{sx:{border:1,borderColor:"grey.300",borderRadius:1,p:2,mb:3},children:[
|
|
10
|
-
/* @__PURE__ */e.jsx(o.default,{variant:"h6",gutterBottom:!0,children:"Header Component"}),
|
|
11
|
-
/* @__PURE__ */e.jsx(t.HeaderEnhanced,{useRedux:l,languages:l?void 0:b,currentLanguage:l?void 0:p,languagesLoading:l?void 0:v,onLanguageChange:l?void 0:e=>{const a=b.find(a=>a.code===e);a&&f(a)},onFetchLanguages:l?void 0:R})]}),
|
|
12
|
-
/* @__PURE__ */e.jsxs(d.default,{sx:{border:1,borderColor:"grey.300",borderRadius:1,p:2,mb:3},children:[
|
|
13
|
-
/* @__PURE__ */e.jsx(o.default,{variant:"h6",gutterBottom:!0,children:"Share Modal Component"}),
|
|
14
|
-
/* @__PURE__ */e.jsx(u.default,{variant:"contained",onClick:()=>m(!0),sx:{mb:2},children:"Open Share Modal"}),
|
|
15
|
-
/* @__PURE__ */e.jsx(n.SharePopUpEnhanced,{open:c,onClose:()=>m(!1),title:"Share Document",toggleSwitch:!0,onSubmit:e=>{m(!1)},useRedux:l,users:l?void 0:x,departments:l?void 0:g,loading:l?void 0:v,onFetchUsersAndDepartments:l?void 0:R})]}),
|
|
16
|
-
/* @__PURE__ */e.jsxs(d.default,{sx:{border:1,borderColor:"grey.300",borderRadius:1,p:2},children:[
|
|
17
|
-
/* @__PURE__ */e.jsx(o.default,{variant:"h6",gutterBottom:!0,children:"Code Example"}),
|
|
18
|
-
/* @__PURE__ */e.jsx(d.default,{component:"pre",sx:{backgroundColor:"grey.100",p:2,borderRadius:1,overflow:"auto",fontSize:"0.875rem"},children:l?"\n// Redux-based usage\n<ERPUIProvider useRedux={true} reduxStore={store} apiClient={apiClient}>\n <HeaderEnhanced useRedux={true} />\n <ShareModalEnhanced useRedux={true} />\n</ERPUIProvider>\n ":"\n// Prop-based usage\n<ERPUIProvider useRedux={false}>\n <HeaderEnhanced\n useRedux={false}\n languages={languages}\n currentLanguage={currentLanguage}\n onLanguageChange={handleLanguageChange}\n />\n <ShareModalEnhanced\n useRedux={false}\n users={users}\n departments={departments}\n loading={loading}\n onFetchUsersAndDepartments={fetchUsersAndDepartments}\n />\n</ERPUIProvider>\n "})]})]})})};
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/components/examples/FlexibleReduxExample.tsx"],"sourcesContent":["import React, { useState } from 'react';\nimport { Box, Button, Typography, Switch, FormControlLabel } from '@mui/material';\nimport { ERPUIProvider } from '../providers/ERPUIProvider';\nimport ShareModalEnhanced from '../share-modal/share-modal-enhanced';\nimport HeaderEnhanced from '../header/header-enhanced';\n\n/**\n * Example component demonstrating flexible Redux usage\n * This shows how components can work with or without Redux\n */\nconst FlexibleReduxExample: React.FC = () => {\n const [useRedux, setUseRedux] = useState(false);\n const [showShareModal, setShowShareModal] = useState(false);\n \n // Mock data for non-Redux usage\n const [users] = useState([\n { id: 1, first_name: 'John', last_name: 'Doe', label: 'John Doe', value: 1 },\n { id: 2, first_name: 'Jane', last_name: 'Smith', label: 'Jane Smith', value: 2 },\n ]);\n \n const [departments] = useState([\n { id: 1, name: 'Engineering', label: 'Engineering', value: 1 },\n { id: 2, name: 'Marketing', label: 'Marketing', value: 2 },\n ]);\n \n const [languages] = useState([\n { code: 'en', label: 'English', direction: 'ltr' },\n { code: 'es', label: 'Spanish', direction: 'ltr' },\n { code: 'ar', label: 'Arabic', direction: 'rtl' },\n ]);\n \n const [currentLanguage, setCurrentLanguage] = useState(languages[0]);\n const [loading, setLoading] = useState(false);\n\n // Mock API functions\n const fetchUsersAndDepartments = async () => {\n setLoading(true);\n // Simulate API call\n await new Promise(resolve => setTimeout(resolve, 1000));\n setLoading(false);\n };\n\n const handleLanguageChange = (languageCode: string) => {\n const language = languages.find(lang => lang.code === languageCode);\n if (language) {\n setCurrentLanguage(language);\n }\n };\n\n const handleShareSubmit = (data: any) => {\n console.log('Share data:', data);\n setShowShareModal(false);\n };\n\n return (\n <ERPUIProvider useRedux={useRedux}>\n <Box sx={{ p: 3 }}>\n <Typography variant=\"h4\" gutterBottom>\n Flexible Redux Integration Example\n </Typography>\n \n <Typography variant=\"body1\" sx={{ mb: 2 }}>\n This example demonstrates how ERP UI Library components can work with or without Redux.\n Toggle the switch below to see the difference.\n </Typography>\n\n <FormControlLabel\n control={\n <Switch\n checked={useRedux}\n onChange={(e) => setUseRedux(e.target.checked)}\n />\n }\n label={`Use Redux: ${useRedux ? 'Enabled' : 'Disabled'}`}\n sx={{ mb: 3 }}\n />\n\n <Box sx={{ mb: 3 }}>\n <Typography variant=\"h6\" gutterBottom>\n Current Mode: {useRedux ? 'Redux-based' : 'Prop-based'}\n </Typography>\n <Typography variant=\"body2\" color=\"text.secondary\">\n {useRedux \n ? 'Components are using Redux for state management'\n : 'Components are using props and local state for data'\n }\n </Typography>\n </Box>\n\n {/* Header Example */}\n <Box sx={{ border: 1, borderColor: 'grey.300', borderRadius: 1, p: 2, mb: 3 }}>\n <Typography variant=\"h6\" gutterBottom>\n Header Component\n </Typography>\n <HeaderEnhanced\n useRedux={useRedux}\n languages={useRedux ? undefined : languages}\n currentLanguage={useRedux ? undefined : currentLanguage}\n languagesLoading={useRedux ? undefined : loading}\n onLanguageChange={useRedux ? undefined : handleLanguageChange}\n onFetchLanguages={useRedux ? undefined : fetchUsersAndDepartments}\n />\n </Box>\n\n {/* Share Modal Example */}\n <Box sx={{ border: 1, borderColor: 'grey.300', borderRadius: 1, p: 2, mb: 3 }}>\n <Typography variant=\"h6\" gutterBottom>\n Share Modal Component\n </Typography>\n <Button\n variant=\"contained\"\n onClick={() => setShowShareModal(true)}\n sx={{ mb: 2 }}\n >\n Open Share Modal\n </Button>\n \n <ShareModalEnhanced\n open={showShareModal}\n onClose={() => setShowShareModal(false)}\n title=\"Share Document\"\n toggleSwitch={true}\n onSubmit={handleShareSubmit}\n useRedux={useRedux}\n users={useRedux ? undefined : users}\n departments={useRedux ? undefined : departments}\n loading={useRedux ? undefined : loading}\n onFetchUsersAndDepartments={useRedux ? undefined : fetchUsersAndDepartments}\n />\n </Box>\n\n {/* Code Example */}\n <Box sx={{ border: 1, borderColor: 'grey.300', borderRadius: 1, p: 2 }}>\n <Typography variant=\"h6\" gutterBottom>\n Code Example\n </Typography>\n <Box\n component=\"pre\"\n sx={{\n backgroundColor: 'grey.100',\n p: 2,\n borderRadius: 1,\n overflow: 'auto',\n fontSize: '0.875rem',\n }}\n >\n {useRedux ? `\n// Redux-based usage\n<ERPUIProvider useRedux={true} reduxStore={store} apiClient={apiClient}>\n <HeaderEnhanced useRedux={true} />\n <ShareModalEnhanced useRedux={true} />\n</ERPUIProvider>\n ` : `\n// Prop-based usage\n<ERPUIProvider useRedux={false}>\n <HeaderEnhanced\n useRedux={false}\n languages={languages}\n currentLanguage={currentLanguage}\n onLanguageChange={handleLanguageChange}\n />\n <ShareModalEnhanced\n useRedux={false}\n users={users}\n departments={departments}\n loading={loading}\n onFetchUsersAndDepartments={fetchUsersAndDepartments}\n />\n</ERPUIProvider>\n `}\n </Box>\n </Box>\n </Box>\n </ERPUIProvider>\n );\n};\n\nexport default FlexibleReduxExample;"],"names":["useRedux","setUseRedux","useState","showShareModal","setShowShareModal","users","id","first_name","last_name","label","value","departments","name","languages","code","direction","currentLanguage","setCurrentLanguage","loading","setLoading","fetchUsersAndDepartments","async","Promise","resolve","setTimeout","jsx","ERPUIProvider","children","jsxs","Box","sx","p","Typography","variant","gutterBottom","mb","FormControlLabel","control","Switch","checked","onChange","e","target","color","border","borderColor","borderRadius","HeaderEnhanced","languagesLoading","onLanguageChange","languageCode","language","find","lang","onFetchLanguages","Button","onClick","ShareModalEnhanced","open","onClose","title","toggleSwitch","onSubmit","data","onFetchUsersAndDepartments","component","backgroundColor","overflow","fontSize"],"mappings":"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"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useNavigate } from "react-router-dom";
|
|
3
|
-
function Footer() {
|
|
4
|
-
const navigate = useNavigate();
|
|
5
|
-
return /* @__PURE__ */ jsxs(
|
|
6
|
-
"div",
|
|
7
|
-
{
|
|
8
|
-
style: {
|
|
9
|
-
display: "flex",
|
|
10
|
-
width: "100%",
|
|
11
|
-
backgroundColor: "lightblue",
|
|
12
|
-
padding: ".9375rem"
|
|
13
|
-
},
|
|
14
|
-
children: [
|
|
15
|
-
/* @__PURE__ */ jsx(
|
|
16
|
-
"button",
|
|
17
|
-
{
|
|
18
|
-
style: {
|
|
19
|
-
backgroundColor: "lightblue",
|
|
20
|
-
margin: "0 .9375rem",
|
|
21
|
-
outline: "none"
|
|
22
|
-
},
|
|
23
|
-
onClick: () => navigate(Pathname.LANDING_PAGE),
|
|
24
|
-
children: "Home"
|
|
25
|
-
}
|
|
26
|
-
),
|
|
27
|
-
/* @__PURE__ */ jsx(
|
|
28
|
-
"button",
|
|
29
|
-
{
|
|
30
|
-
style: {
|
|
31
|
-
backgroundColor: "lightblue",
|
|
32
|
-
margin: "0 .9375rem",
|
|
33
|
-
outline: "none"
|
|
34
|
-
},
|
|
35
|
-
onClick: () => navigate(Pathname.DASHBOARD_QUOTES),
|
|
36
|
-
children: "Quotes"
|
|
37
|
-
}
|
|
38
|
-
),
|
|
39
|
-
/* @__PURE__ */ jsx(
|
|
40
|
-
"button",
|
|
41
|
-
{
|
|
42
|
-
style: {
|
|
43
|
-
backgroundColor: "lightblue",
|
|
44
|
-
margin: "0 .9375rem",
|
|
45
|
-
outline: "none"
|
|
46
|
-
},
|
|
47
|
-
onClick: () => navigate(Pathname.DASHBOARD_DOCUMENT),
|
|
48
|
-
children: "Document"
|
|
49
|
-
}
|
|
50
|
-
),
|
|
51
|
-
/* @__PURE__ */ jsx(
|
|
52
|
-
"button",
|
|
53
|
-
{
|
|
54
|
-
style: {
|
|
55
|
-
backgroundColor: "lightblue",
|
|
56
|
-
margin: "0 .9375rem",
|
|
57
|
-
outline: "none"
|
|
58
|
-
},
|
|
59
|
-
onClick: () => navigate(Pathname.DASHBOARD_USER),
|
|
60
|
-
children: "User"
|
|
61
|
-
}
|
|
62
|
-
)
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
export {
|
|
68
|
-
Footer,
|
|
69
|
-
Footer as default
|
|
70
|
-
};
|
|
71
|
-
//# sourceMappingURL=index.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":["../../../src/components/footer.tsx"],"sourcesContent":["import React from \"react\";\nimport { useNavigate } from \"react-router-dom\";\n\n// import { Pathname } from \"../pathname\"; // Removed - should be passed as props\n\nexport function Footer(): React.ReactElement {\n const navigate = useNavigate();\n\n return (\n <div\n style={{\n display: \"flex\",\n width: \"100%\",\n backgroundColor: \"lightblue\",\n padding: \".9375rem\",\n }}\n >\n <button\n style={{\n backgroundColor: \"lightblue\",\n margin: \"0 .9375rem\",\n outline: \"none\",\n }}\n onClick={() => navigate(Pathname.LANDING_PAGE)}\n >\n Home\n </button>\n <button\n style={{\n backgroundColor: \"lightblue\",\n margin: \"0 .9375rem\",\n outline: \"none\",\n }}\n onClick={() => navigate(Pathname.DASHBOARD_QUOTES)}\n >\n Quotes\n </button>\n <button\n style={{\n backgroundColor: \"lightblue\",\n margin: \"0 .9375rem\",\n outline: \"none\",\n }}\n onClick={() => navigate(Pathname.DASHBOARD_DOCUMENT)}\n >\n Document\n </button>\n <button\n style={{\n backgroundColor: \"lightblue\",\n margin: \"0 .9375rem\",\n outline: \"none\",\n }}\n onClick={() => navigate(Pathname.DASHBOARD_USER)}\n >\n User\n </button>\n </div>\n );\n}\n\nexport default Footer;\n"],"names":[],"mappings":";;AAKO,SAAS,SAA6B;AAC3C,QAAM,WAAW,YAAA;AAEjB,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAO;AAAA,QACL,SAAS;AAAA,QACT,OAAO;AAAA,QACP,iBAAiB;AAAA,QACjB,SAAS;AAAA,MAAA;AAAA,MAGX,UAAA;AAAA,QAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,OAAO;AAAA,cACL,iBAAiB;AAAA,cACjB,QAAQ;AAAA,cACR,SAAS;AAAA,YAAA;AAAA,YAEX,SAAS,MAAM,SAAS,SAAS,YAAY;AAAA,YAC9C,UAAA;AAAA,UAAA;AAAA,QAAA;AAAA,QAGD;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,OAAO;AAAA,cACL,iBAAiB;AAAA,cACjB,QAAQ;AAAA,cACR,SAAS;AAAA,YAAA;AAAA,YAEX,SAAS,MAAM,SAAS,SAAS,gBAAgB;AAAA,YAClD,UAAA;AAAA,UAAA;AAAA,QAAA;AAAA,QAGD;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,OAAO;AAAA,cACL,iBAAiB;AAAA,cACjB,QAAQ;AAAA,cACR,SAAS;AAAA,YAAA;AAAA,YAEX,SAAS,MAAM,SAAS,SAAS,kBAAkB;AAAA,YACpD,UAAA;AAAA,UAAA;AAAA,QAAA;AAAA,QAGD;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,OAAO;AAAA,cACL,iBAAiB;AAAA,cACjB,QAAQ;AAAA,cACR,SAAS;AAAA,YAAA;AAAA,YAEX,SAAS,MAAM,SAAS,SAAS,cAAc;AAAA,YAChD,UAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MAED;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),n=require("react-router-dom");function t(){const t=n.useNavigate();/* @__PURE__ */
|
|
2
|
-
return e.jsxs("div",{style:{display:"flex",width:"100%",backgroundColor:"lightblue",padding:".9375rem"},children:[
|
|
3
|
-
/* @__PURE__ */e.jsx("button",{style:{backgroundColor:"lightblue",margin:"0 .9375rem",outline:"none"},onClick:()=>t(Pathname.LANDING_PAGE),children:"Home"}),
|
|
4
|
-
/* @__PURE__ */e.jsx("button",{style:{backgroundColor:"lightblue",margin:"0 .9375rem",outline:"none"},onClick:()=>t(Pathname.DASHBOARD_QUOTES),children:"Quotes"}),
|
|
5
|
-
/* @__PURE__ */e.jsx("button",{style:{backgroundColor:"lightblue",margin:"0 .9375rem",outline:"none"},onClick:()=>t(Pathname.DASHBOARD_DOCUMENT),children:"Document"}),
|
|
6
|
-
/* @__PURE__ */e.jsx("button",{style:{backgroundColor:"lightblue",margin:"0 .9375rem",outline:"none"},onClick:()=>t(Pathname.DASHBOARD_USER),children:"User"})]})}exports.Footer=t,exports.default=t;
|
|
7
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/footer.tsx"],"sourcesContent":["import React from \"react\";\nimport { useNavigate } from \"react-router-dom\";\n\n// import { Pathname } from \"../pathname\"; // Removed - should be passed as props\n\nexport function Footer(): React.ReactElement {\n const navigate = useNavigate();\n\n return (\n <div\n style={{\n display: \"flex\",\n width: \"100%\",\n backgroundColor: \"lightblue\",\n padding: \".9375rem\",\n }}\n >\n <button\n style={{\n backgroundColor: \"lightblue\",\n margin: \"0 .9375rem\",\n outline: \"none\",\n }}\n onClick={() => navigate(Pathname.LANDING_PAGE)}\n >\n Home\n </button>\n <button\n style={{\n backgroundColor: \"lightblue\",\n margin: \"0 .9375rem\",\n outline: \"none\",\n }}\n onClick={() => navigate(Pathname.DASHBOARD_QUOTES)}\n >\n Quotes\n </button>\n <button\n style={{\n backgroundColor: \"lightblue\",\n margin: \"0 .9375rem\",\n outline: \"none\",\n }}\n onClick={() => navigate(Pathname.DASHBOARD_DOCUMENT)}\n >\n Document\n </button>\n <button\n style={{\n backgroundColor: \"lightblue\",\n margin: \"0 .9375rem\",\n outline: \"none\",\n }}\n onClick={() => navigate(Pathname.DASHBOARD_USER)}\n >\n User\n </button>\n </div>\n );\n}\n\nexport default Footer;\n"],"names":["Footer","navigate","useNavigate","jsxs","style","display","width","backgroundColor","padding","children","jsx","margin","outline","onClick","Pathname","LANDING_PAGE","DASHBOARD_QUOTES","DASHBOARD_DOCUMENT","DASHBOARD_USER"],"mappings":"qIAKO,SAASA,IACd,MAAMC,EAAWC,EAAAA;AAEjB,OACEC,EAAAA,KAAC,MAAA,CACCC,MAAO,CACLC,QAAS,OACTC,MAAO,OACPC,gBAAiB,YACjBC,QAAS,YAGXC,SAAA;eAAAC,EAAAA,IAAC,SAAA,CACCN,MAAO,CACLG,gBAAiB,YACjBI,OAAQ,aACRC,QAAS,QAEXC,QAAS,IAAMZ,EAASa,SAASC,cAClCN,SAAA;eAGDC,EAAAA,IAAC,SAAA,CACCN,MAAO,CACLG,gBAAiB,YACjBI,OAAQ,aACRC,QAAS,QAEXC,QAAS,IAAMZ,EAASa,SAASE,kBAClCP,SAAA;eAGDC,EAAAA,IAAC,SAAA,CACCN,MAAO,CACLG,gBAAiB,YACjBI,OAAQ,aACRC,QAAS,QAEXC,QAAS,IAAMZ,EAASa,SAASG,oBAClCR,SAAA;eAGDC,EAAAA,IAAC,SAAA,CACCN,MAAO,CACLG,gBAAiB,YACjBI,OAAQ,aACRC,QAAS,QAEXC,QAAS,IAAMZ,EAASa,SAASI,gBAClCT,SAAA,WAKP"}
|