@erpsquad/common 1.8.41 → 1.8.42
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 +4 -2
- package/dist/_virtual/index/index.esm2.js.map +1 -1
- package/dist/_virtual/index/index.esm3.js +2 -4
- 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/components/action-bar/action-bar/index.esm.js +2 -2
- package/dist/components/action-bar/action-bar/index.js +11 -11
- package/dist/components/approval-wrapper/approval-wrapper/index.esm.js +1 -1
- package/dist/components/approval-wrapper/approval-wrapper/index.esm.js.map +1 -1
- package/dist/components/approval-wrapper/approval-wrapper/index.js +4 -4
- package/dist/components/approval-wrapper/approval-wrapper/index.js.map +1 -1
- package/dist/components/change-user-password-modal/change-user-password-modal/index.esm.js +2 -2
- package/dist/components/change-user-password-modal/change-user-password-modal/index.js +3 -3
- package/dist/components/charts/line-chart/area-lineChart/index.esm.js +2 -2
- package/dist/components/charts/line-chart/area-lineChart/index.esm.js.map +1 -1
- package/dist/components/charts/line-chart/area-lineChart/index.js.map +1 -1
- package/dist/components/dynamic-layout-wrapper/dynamic-layout-wrapper/index.esm.js +107 -1
- package/dist/components/dynamic-layout-wrapper/dynamic-layout-wrapper/index.esm.js.map +1 -1
- package/dist/components/dynamic-layout-wrapper/dynamic-layout-wrapper/index.js +7 -4
- package/dist/components/dynamic-layout-wrapper/dynamic-layout-wrapper/index.js.map +1 -1
- package/dist/components/examples/FlexibleReduxExample/index.esm.js +154 -0
- package/dist/components/examples/FlexibleReduxExample/index.esm.js.map +1 -0
- package/dist/components/examples/FlexibleReduxExample/index.js +19 -0
- package/dist/components/examples/FlexibleReduxExample/index.js.map +1 -0
- package/dist/components/filter/filter/index.esm.js +2 -2
- package/dist/components/filter/filter/index.js +7 -7
- package/dist/components/footer/index.esm.js +71 -0
- package/dist/components/footer/index.esm.js.map +1 -0
- package/dist/components/footer/index.js +7 -0
- package/dist/components/footer/index.js.map +1 -0
- package/dist/components/form-control/form-builder/element-controller/index.esm.js +96 -0
- package/dist/components/form-control/form-builder/element-controller/index.esm.js.map +1 -0
- package/dist/components/form-control/form-builder/element-controller/index.js +7 -0
- package/dist/components/form-control/form-builder/element-controller/index.js.map +1 -0
- package/dist/components/form-control/form-builder/form-builder-element/table/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/table/index.js +4 -4
- package/dist/components/form-control/form-builder/form-builder-element/table/index.js.map +1 -1
- package/dist/components/form-control/form-parser/data/index.esm.js +80 -0
- package/dist/components/form-control/form-parser/data/index.esm.js.map +1 -0
- package/dist/components/form-control/form-parser/data/index.js +2 -0
- package/dist/components/form-control/form-parser/data/index.js.map +1 -0
- package/dist/components/grid/custom-grid-card/custom-grid-card/index.esm.js +1 -1
- package/dist/components/grid/custom-grid-card/custom-grid-card/index.js +4 -4
- package/dist/components/header/components/notification-menu/notification-menu/index.esm.js +1 -1
- package/dist/components/header/components/notification-menu/notification-menu/index.js +28 -28
- package/dist/components/header/header/index.esm.js +1 -1
- package/dist/components/header/header/index.js +11 -11
- package/dist/components/header/header-enhanced/index.esm.js +405 -0
- package/dist/components/header/header-enhanced/index.esm.js.map +1 -0
- package/dist/components/header/header-enhanced/index.js +33 -0
- package/dist/components/header/header-enhanced/index.js.map +1 -0
- package/dist/components/header/redux/reducer/index.esm.js +6 -1
- package/dist/components/header/redux/reducer/index.esm.js.map +1 -1
- package/dist/components/header/redux/reducer/index.js +1 -1
- package/dist/components/header/redux/reducer/index.js.map +1 -1
- package/dist/components/header copy/index.esm.js +131 -0
- package/dist/components/header copy/index.esm.js.map +1 -0
- package/dist/components/header copy/index.js +11 -0
- package/dist/components/header copy/index.js.map +1 -0
- package/dist/components/icons/coupon/index.esm.js +29 -0
- package/dist/components/icons/coupon/index.esm.js.map +1 -0
- package/dist/components/icons/coupon/index.js +7 -0
- package/dist/components/icons/coupon/index.js.map +1 -0
- package/dist/components/icons/settings-fallback/index.esm.js +1 -1
- package/dist/components/icons/settings-fallback/index.js +2 -2
- package/dist/components/icons/settings-fallback/index.js.map +1 -1
- package/dist/components/icons/sort-arrow-icon/index.esm.js +4 -4
- package/dist/components/icons/sort-arrow-icon/index.esm.js.map +1 -1
- package/dist/components/icons/sort-arrow-icon/index.js +1 -1
- package/dist/components/icons/sort-arrow-icon/index.js.map +1 -1
- package/dist/components/index.d.ts +112 -277
- package/dist/components/index.esm.js +444 -603
- 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/index.esm.js +400 -0
- package/dist/components/inventory-reports-title-bar/component/reportFilter/index.esm.js.map +1 -0
- package/dist/components/inventory-reports-title-bar/component/reportFilter/index.js +41 -0
- package/dist/components/inventory-reports-title-bar/component/reportFilter/index.js.map +1 -0
- package/dist/components/inventory-reports-title-bar/redux/reducer/index.esm.js +2 -0
- 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/inventory-reports-title-bar/report-buttons/report-buttons/index.esm.js.map +1 -1
- package/dist/components/inventory-reports-title-bar/report-buttons/report-buttons/index.js.map +1 -1
- package/dist/components/listing/listing/index.esm.js +5 -5
- package/dist/components/listing/listing/index.esm.js.map +1 -1
- package/dist/components/listing/listing/index.js +5 -5
- package/dist/components/listing/listing/index.js.map +1 -1
- package/dist/components/material-editable-table/material-editable-table/index.esm.js +1 -1
- package/dist/components/material-editable-table/material-editable-table/index.js +2 -2
- package/dist/components/material-table/material-table/index.esm.js +4 -3
- package/dist/components/material-table/material-table/index.esm.js.map +1 -1
- package/dist/components/material-table/material-table/index.js +5 -5
- package/dist/components/material-table/material-table/index.js.map +1 -1
- package/dist/components/parties-modal/parties-modal/index.esm.js +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/protected-route/index.esm.js +20 -0
- package/dist/components/protected-route/index.esm.js.map +1 -1
- package/dist/components/protected-route/index.js +2 -2
- package/dist/components/protected-route/index.js.map +1 -1
- package/dist/components/reports-title-bar/redux/reducer/index.esm.js +2 -0
- package/dist/components/reports-title-bar/redux/reducer/index.esm.js.map +1 -1
- package/dist/components/reports-title-bar/redux/reducer/index.js +1 -1
- package/dist/components/reports-title-bar/redux/reducer/index.js.map +1 -1
- package/dist/components/reports-title-bar/reports-title-bar/index.esm.js +1 -1
- package/dist/components/reports-title-bar/reports-title-bar/index.js +8 -8
- package/dist/components/rfq-response/item-response-details/index.esm.js +1 -1
- package/dist/components/rfq-response/item-response-details/index.js +1 -1
- package/dist/components/rfq-response/item-response-details/index.js.map +1 -1
- package/dist/components/schedule-report/schedule-report/index.esm.js +2 -2
- package/dist/components/schedule-report/schedule-report/index.js +5 -5
- package/dist/components/schedule-report/schedule-report/index.js.map +1 -1
- package/dist/components/schedule-report/utils/common/index.esm.js +1 -1
- package/dist/components/share-modal/redux/reducer/index.esm.js +2 -0
- package/dist/components/share-modal/redux/reducer/index.esm.js.map +1 -1
- package/dist/components/share-modal/redux/reducer/index.js +1 -1
- package/dist/components/share-modal/redux/reducer/index.js.map +1 -1
- package/dist/components/share-modal/share-modal-enhanced/index.esm.js +287 -0
- package/dist/components/share-modal/share-modal-enhanced/index.esm.js.map +1 -0
- package/dist/components/share-modal/share-modal-enhanced/index.js +24 -0
- package/dist/components/share-modal/share-modal-enhanced/index.js.map +1 -0
- package/dist/components/sidebar/sidebar/index.esm.js +2 -2
- package/dist/components/sidebar/sidebar/index.js +9 -9
- package/dist/components/upload-excel/upload-excel/index.esm.js +1 -1
- package/dist/components/upload-excel/upload-excel/index.js +5 -5
- package/dist/constants/index.d.ts +15 -15
- package/dist/constants/index.esm.js +104 -10
- package/dist/constants/index.esm.js.map +1 -1
- package/dist/constants/index.js +1 -1
- package/dist/constants/pathnames/pathname.manufacturing/index.esm.js +6 -0
- package/dist/constants/pathnames/pathname.manufacturing/index.esm.js.map +1 -1
- package/dist/constants/pathnames/pathname.manufacturing/index.js +1 -1
- package/dist/constants/pathnames/pathname.manufacturing/index.js.map +1 -1
- package/dist/constants/pathnames/pathname.rental/index.esm.js +12 -1
- package/dist/constants/pathnames/pathname.rental/index.esm.js.map +1 -1
- package/dist/constants/pathnames/pathname.rental/index.js +1 -1
- package/dist/constants/pathnames/pathname.rental/index.js.map +1 -1
- package/dist/contexts/AuthContext/index.esm.js +1 -1
- package/dist/contexts/AuthContext/index.esm.js.map +1 -1
- package/dist/contexts/AuthContext/index.js +1 -1
- package/dist/contexts/AuthContext/index.js.map +1 -1
- package/dist/contexts/index.d.ts +5 -16
- package/dist/contexts/index.esm.js +2 -2
- package/dist/contexts/index.js +1 -1
- package/dist/hooks/apiHelper/index.esm.js +1 -1
- package/dist/hooks/apiHelper/index.esm.js.map +1 -1
- package/dist/hooks/apiHelper/index.js +1 -1
- package/dist/hooks/apiHelper/index.js.map +1 -1
- package/dist/hooks/index.d.ts +16 -26
- package/dist/hooks/index.esm.js +25 -18
- package/dist/hooks/index.esm.js.map +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/use-material-calculations/index.esm.js +0 -8
- package/dist/hooks/use-material-calculations/index.esm.js.map +1 -1
- package/dist/hooks/use-material-calculations/index.js +1 -1
- package/dist/hooks/use-material-calculations/index.js.map +1 -1
- package/dist/hooks/useDataFetcher/index.esm.js +3 -2
- package/dist/hooks/useDataFetcher/index.esm.js.map +1 -1
- package/dist/hooks/useDataFetcher/index.js +1 -1
- package/dist/hooks/useDataFetcher/index.js.map +1 -1
- package/dist/hooks/useLanguageFallback/index.esm.js +0 -5
- package/dist/hooks/useLanguageFallback/index.esm.js.map +1 -1
- package/dist/hooks/useLanguageFallback/index.js +1 -1
- package/dist/hooks/useLanguageFallback/index.js.map +1 -1
- package/dist/hooks/useLocationFilter/index.esm.js +0 -5
- package/dist/hooks/useLocationFilter/index.esm.js.map +1 -1
- package/dist/hooks/useLocationFilter/index.js +1 -1
- package/dist/hooks/useLocationFilter/index.js.map +1 -1
- package/dist/hooks/useReduxIntegration/index.esm.js +39 -0
- package/dist/hooks/useReduxIntegration/index.esm.js.map +1 -0
- package/dist/hooks/useReduxIntegration/index.js +2 -0
- package/dist/hooks/useReduxIntegration/index.js.map +1 -0
- package/dist/icons/index.d.ts +177 -94
- package/dist/icons/index.esm.js +80 -76
- package/dist/icons/index.esm.js.map +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/index.esm.js +640 -747
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/layout/index.d.ts +2 -3
- package/dist/layout/index.esm.js +1 -1
- package/dist/layout/index.js +1 -1
- 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/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/material/Avatar/avatarClasses/index.esm.js +2 -3
- 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/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/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/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/Tabs/Tabs/index.esm.js +1 -1
- package/dist/node_modules/@mui/material/Tabs/Tabs/index.js +1 -1
- 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/Container/createContainer/index.esm.js +1 -1
- package/dist/node_modules/@mui/system/esm/Container/createContainer/index.js +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 +1 -5
- package/dist/node_modules/d3-axis/src/axis/index.esm.js.map +1 -1
- package/dist/node_modules/d3-axis/src/axis/index.js +1 -1
- package/dist/node_modules/d3-axis/src/axis/index.js.map +1 -1
- package/dist/node_modules/notistack/notistack.esm/index.esm.js +0 -3
- package/dist/node_modules/notistack/notistack.esm/index.esm.js.map +1 -1
- package/dist/node_modules/notistack/notistack.esm/index.js +1 -1
- package/dist/node_modules/notistack/notistack.esm/index.js.map +1 -1
- package/dist/node_modules/prop-types/checkPropTypes/index.esm.js +49 -56
- package/dist/node_modules/prop-types/checkPropTypes/index.esm.js.map +1 -1
- package/dist/node_modules/prop-types/checkPropTypes/index.js +1 -1
- package/dist/node_modules/prop-types/checkPropTypes/index.js.map +1 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers/index.esm.js +2 -2
- package/dist/node_modules/prop-types/factoryWithTypeCheckers/index.esm.js.map +1 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers/index.js +1 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers/index.js.map +1 -1
- package/dist/redux/hooks/index.esm.js +1 -1
- package/dist/redux/index.d.ts +8 -13
- package/dist/redux/index.esm.js +14 -30
- package/dist/redux/index.esm.js.map +1 -1
- package/dist/redux/index.js +1 -1
- package/dist/redux/slices/inventoryReportsTitleBarSlice/index.esm.js +0 -6
- package/dist/redux/slices/inventoryReportsTitleBarSlice/index.esm.js.map +1 -1
- package/dist/redux/slices/inventoryReportsTitleBarSlice/index.js +1 -1
- package/dist/redux/slices/inventoryReportsTitleBarSlice/index.js.map +1 -1
- package/dist/redux/slices/reportsTitleBarSlice/index.esm.js +1 -7
- package/dist/redux/slices/reportsTitleBarSlice/index.esm.js.map +1 -1
- package/dist/redux/slices/reportsTitleBarSlice/index.js +1 -1
- package/dist/redux/slices/reportsTitleBarSlice/index.js.map +1 -1
- package/dist/redux/slices/shareSlice/index.esm.js +1 -3
- package/dist/redux/slices/shareSlice/index.esm.js.map +1 -1
- package/dist/redux/slices/shareSlice/index.js +1 -1
- package/dist/redux/slices/shareSlice/index.js.map +1 -1
- package/dist/src/@types/index.d.ts +5 -0
- package/dist/src/assets/common-component/index.d.ts +1 -0
- package/dist/src/assets/dynamic-svg-icon/index.d.ts +2 -0
- package/dist/src/assets/index.d.ts +5 -0
- package/dist/src/assets/view-modal/index.d.ts +12 -0
- package/dist/src/components/Dashboard/index.d.ts +4 -0
- package/dist/src/components/accordion/index.d.ts +2 -0
- package/dist/src/components/action-bar/index.d.ts +2 -0
- package/dist/src/components/activity-tag/index.d.ts +2 -0
- package/dist/src/components/activityArea/index.d.ts +2 -0
- package/dist/src/components/activityLog/index.d.ts +2 -0
- package/dist/src/components/alert/index.d.ts +2 -0
- package/dist/src/components/appbar/index.d.ts +2 -0
- package/dist/src/components/approval-wrapper/index.d.ts +2 -0
- package/dist/src/components/avatar/index.d.ts +2 -0
- package/dist/src/components/board/index.d.ts +4 -0
- package/dist/src/components/bread-crumb/index.d.ts +2 -0
- package/dist/src/components/button/index.d.ts +2 -0
- package/dist/src/components/calculation-summary/components/index.d.ts +10 -0
- package/dist/src/components/calculation-summary/index.d.ts +3 -0
- package/dist/src/components/calendar/index.d.ts +2 -0
- package/dist/src/components/card-wrapper/index.d.ts +2 -0
- package/dist/src/components/change-user-password-modal/index.d.ts +2 -0
- package/dist/src/components/charts/bar-chart/index.d.ts +2 -0
- package/dist/src/components/charts/barChart/index.d.ts +2 -0
- package/dist/src/components/charts/barLineChart/index.d.ts +2 -0
- package/dist/src/components/charts/donut-chart/index.d.ts +2 -0
- package/dist/src/components/charts/donutChart/index.d.ts +2 -0
- package/dist/src/components/charts/groupBarChart/index.d.ts +2 -0
- package/dist/src/components/charts/index.d.ts +12 -0
- package/dist/src/components/charts/line-chart/area-lineChart.d.ts +2 -2
- package/dist/src/components/charts/line-chart/index.d.ts +6 -0
- package/dist/src/components/charts/multiLineChart/index.d.ts +2 -0
- package/dist/src/components/checkbox/index.d.ts +2 -0
- package/dist/src/components/chip/index.d.ts +2 -0
- package/dist/src/components/chip-generator/index.d.ts +2 -0
- package/dist/src/components/color-picker-input/index.d.ts +2 -0
- package/dist/src/components/confirm-modal/index.d.ts +3 -0
- package/dist/src/components/country-select/index.d.ts +2 -0
- package/dist/src/components/custom-snackbar/index.d.ts +2 -0
- package/dist/src/components/custom-toggle-switch/index.d.ts +2 -0
- package/dist/src/components/date-picker/index.d.ts +2 -0
- package/dist/src/components/date-range-picker/index.d.ts +2 -0
- package/dist/src/components/date-time-picker/index.d.ts +2 -0
- package/dist/src/components/dropdown-button/index.d.ts +2 -0
- package/dist/src/components/dynamic-layout-wrapper/index.d.ts +2 -0
- package/dist/src/components/editor/index.d.ts +2 -0
- package/dist/src/components/entity-view-wrapper/index.d.ts +2 -0
- package/dist/src/components/examples/index.d.ts +2 -0
- package/dist/src/components/expandable-summary-wrapper/index.d.ts +2 -0
- package/dist/src/components/fallback/index.d.ts +2 -0
- package/dist/src/components/filter/components/index.d.ts +16 -0
- package/dist/src/components/filter/index.d.ts +4 -0
- package/dist/src/components/footer/index.d.ts +2 -0
- package/dist/src/components/form-control/form-builder/form-builder-element/index.d.ts +25 -5
- package/dist/src/components/form-control/form-builder/form-builder-element/location-add-modal/index.d.ts +2 -0
- package/dist/src/components/form-control/form-builder/index.d.ts +3 -0
- package/dist/src/components/form-control/form-parser/index.d.ts +8 -0
- package/dist/src/components/form-control/index.d.ts +2 -2
- package/dist/src/components/form-header/index.d.ts +2 -0
- package/dist/src/components/gantt/index.d.ts +2 -0
- package/dist/src/components/grid/custom-grid-card/index.d.ts +2 -0
- package/dist/src/components/grid/grid-card/index.d.ts +2 -0
- package/dist/src/components/grid/grid-wrapper/index.d.ts +2 -0
- package/dist/src/components/grid/index.d.ts +3 -0
- package/dist/src/components/grid-fallback/index.d.ts +2 -0
- package/dist/src/components/header/components/index.d.ts +1 -0
- package/dist/src/components/header/components/notification-menu/index.d.ts +2 -0
- package/dist/src/components/header/index.d.ts +6 -0
- package/dist/src/components/header/redux/index.d.ts +5 -0
- package/dist/src/components/header-card/index.d.ts +2 -0
- package/dist/src/components/hr-line/index.d.ts +2 -0
- package/dist/src/components/icons/index.d.ts +163 -80
- package/dist/src/components/icons/sort-arrow-icon.d.ts +2 -2
- package/dist/src/components/index.d.ts +106 -123
- package/dist/src/components/info-card/index.d.ts +2 -0
- package/dist/src/components/inventory-reports-title-bar/component/index.d.ts +2 -0
- package/dist/src/components/inventory-reports-title-bar/index.d.ts +5 -0
- package/dist/src/components/inventory-reports-title-bar/redux/index.d.ts +5 -0
- package/dist/src/components/inventory-reports-title-bar/report-buttons/index.d.ts +2 -0
- package/dist/src/components/label-value/index.d.ts +2 -0
- package/dist/src/components/list/index.d.ts +2 -0
- package/dist/src/components/listing/index.d.ts +2 -2
- package/dist/src/components/loaders/index.d.ts +5 -1
- package/dist/src/components/material-editable-table/components/index.d.ts +8 -0
- package/dist/src/components/material-editable-table/index.d.ts +4 -0
- package/dist/src/components/material-table/components/index.d.ts +8 -0
- package/dist/src/components/material-table/index.d.ts +4 -0
- package/dist/src/components/material-table/material-table.d.ts +1 -1
- package/dist/src/components/menu/index.d.ts +2 -0
- package/dist/src/components/modal/index.d.ts +2 -0
- package/dist/src/components/module-button/index.d.ts +2 -0
- package/dist/src/components/mulitline/index.d.ts +2 -0
- package/dist/src/components/multi-select/index.d.ts +2 -0
- package/dist/src/components/page-navigator/components/index.d.ts +10 -0
- package/dist/src/components/page-navigator/index.d.ts +3 -0
- package/dist/src/components/pagination/index.d.ts +2 -0
- package/dist/src/components/parties-modal/index.d.ts +4 -0
- package/dist/src/components/parties-modal/utils/index.d.ts +1 -0
- package/dist/src/components/phone-input/index.d.ts +2 -0
- package/dist/src/components/providers/index.d.ts +2 -1
- package/dist/src/components/quick-approval-modal/index.d.ts +2 -0
- package/dist/src/components/radio/index.d.ts +2 -0
- package/dist/src/components/reports/dynamic-report/index.d.ts +3 -0
- package/dist/src/components/reports/index.d.ts +1 -0
- package/dist/src/components/reports-title-bar/index.d.ts +4 -0
- package/dist/src/components/reports-title-bar/redux/index.d.ts +5 -0
- package/dist/src/components/reports-title-bar/report-buttons/index.d.ts +2 -0
- package/dist/src/components/reset-password-modal/index.d.ts +2 -0
- package/dist/src/components/rfq-response/index.d.ts +2 -0
- package/dist/src/components/save-filter-modal/index.d.ts +2 -0
- package/dist/src/components/schedule-report/index.d.ts +6 -0
- package/dist/src/components/schedule-report/utils/index.d.ts +3 -0
- package/dist/src/components/search-bar/index.d.ts +2 -0
- package/dist/src/components/select/controller/index.d.ts +4 -0
- package/dist/src/components/select/index.d.ts +5 -0
- package/dist/src/components/share-modal/index.d.ts +5 -0
- package/dist/src/components/share-modal/redux/index.d.ts +5 -0
- package/dist/src/components/sidebar/index.d.ts +2 -0
- package/dist/src/components/snackbar/index.d.ts +2 -0
- package/dist/src/components/sub-header-doc/index.d.ts +2 -0
- package/dist/src/components/switches/index.d.ts +2 -0
- package/dist/src/components/tab-bar-ui/index.d.ts +2 -0
- package/dist/src/components/tabs/index.d.ts +2 -0
- package/dist/src/components/text-area/index.d.ts +2 -0
- package/dist/src/components/text-field/index.d.ts +2 -0
- package/dist/src/components/time-picker/index.d.ts +2 -0
- package/dist/src/components/time-range-picker/index.d.ts +2 -0
- package/dist/src/components/title-dropdown-button/index.d.ts +2 -0
- package/dist/src/components/toast/index.d.ts +2 -0
- package/dist/src/components/toggle/index.d.ts +2 -0
- package/dist/src/components/toggle-switch/index.d.ts +2 -0
- package/dist/src/components/tooltip/index.d.ts +2 -0
- package/dist/src/components/typography/index.d.ts +2 -0
- package/dist/src/components/upload/index.d.ts +4 -0
- package/dist/src/components/upload-excel/index.d.ts +4 -0
- package/dist/src/components/upload-media/index.d.ts +2 -0
- package/dist/src/components/user-dropdown/index.d.ts +2 -0
- package/dist/src/components/value-field/index.d.ts +2 -0
- package/dist/src/components/view-modal/index.d.ts +2 -0
- package/dist/src/constants/index.d.ts +5 -3
- package/dist/src/constants/lang/index.d.ts +6 -0
- package/dist/src/constants/pathnames/index.d.ts +13 -554
- package/dist/src/contexts/index.d.ts +5 -5
- package/dist/src/hooks/apiHelper.d.ts +1 -1
- package/dist/src/hooks/index.d.ts +15 -13
- package/dist/src/hooks/useDataFetcher.d.ts +2 -2
- package/dist/src/layout/fullScreen/index.d.ts +2 -0
- package/dist/src/layout/index.d.ts +2 -2
- package/dist/src/layout/sidebarScreen/index.d.ts +2 -0
- package/dist/src/redux/index.d.ts +5 -6
- package/dist/src/redux/slices/index.d.ts +8 -10
- package/dist/src/styles/index.d.ts +1 -2
- package/dist/src/theme/index.d.ts +7 -3
- package/dist/src/theme/types/index.d.ts +1 -0
- package/dist/src/utils/index.d.ts +12 -10
- package/dist/src/views/afterAuth/dashboard/index.d.ts +3 -0
- package/dist/src/views/afterAuth/dashboard/redux/index.d.ts +5 -0
- package/dist/src/views/afterAuth/index.d.ts +2 -0
- package/dist/src/views/afterAuth/page-view/index.d.ts +4 -0
- package/dist/src/views/afterAuth/page-view/redux/index.d.ts +5 -0
- package/dist/src/views/afterAuth/page-view/utils/index.d.ts +2 -0
- package/dist/src/views/beforeAuth/change-password/index.d.ts +1 -0
- package/dist/src/views/beforeAuth/components/activity-tag-data/index.d.ts +1 -0
- package/dist/src/views/beforeAuth/components/calendar-data/index.d.ts +1 -0
- package/dist/src/views/beforeAuth/components/drive-dashboard-data/index.d.ts +1 -0
- package/dist/src/views/beforeAuth/components/gantt-data/index.d.ts +2 -0
- package/dist/src/views/beforeAuth/components/grid-data/index.d.ts +2 -0
- package/dist/src/views/beforeAuth/components/index.d.ts +13 -2
- package/dist/src/views/beforeAuth/components/kanbann-content/index.d.ts +1 -0
- package/dist/src/views/beforeAuth/components/list-content/index.d.ts +2 -0
- package/dist/src/views/beforeAuth/components/multiline-data/index.d.ts +1 -0
- package/dist/src/views/beforeAuth/components/share-modal-data/index.d.ts +1 -0
- package/dist/src/views/beforeAuth/components/shared-pages-data/index.d.ts +1 -0
- package/dist/src/views/beforeAuth/components/tabs-data/index.d.ts +1 -0
- package/dist/src/views/beforeAuth/components/user-dashboard-data/index.d.ts +1 -0
- package/dist/src/views/beforeAuth/components/user-dropdown-data/index.d.ts +1 -0
- package/dist/src/views/beforeAuth/forgot-password/index.d.ts +1 -0
- package/dist/src/views/beforeAuth/index.d.ts +6 -0
- package/dist/src/views/beforeAuth/landing/index.d.ts +2 -0
- package/dist/src/views/beforeAuth/reset-password/index.d.ts +1 -0
- package/dist/src/views/form-builder/element-edit-forms/index.d.ts +7 -0
- package/dist/src/views/form-builder/index.d.ts +7 -31
- package/dist/src/views/form-builder/redux/index.d.ts +5 -0
- package/dist/src/views/form-builder/utils/index.d.ts +1 -2
- package/dist/src/views/index.d.ts +7 -2
- package/dist/src/views/template-editor/add-template/index.d.ts +1 -0
- package/dist/src/views/template-editor/company-selection-modal/index.d.ts +1 -0
- package/dist/src/views/template-editor/components/controllers/index.d.ts +18 -0
- package/dist/src/views/template-editor/components/index.d.ts +7 -9
- package/dist/src/views/template-editor/edit-section-modal/index.d.ts +1 -0
- package/dist/src/views/template-editor/index.d.ts +10 -10
- package/dist/src/views/template-editor/template-modal/index.d.ts +3 -1
- package/dist/src/views/template-editor/template-name-modal/index.d.ts +1 -0
- package/dist/src/views/template-editor/types/index.d.ts +1 -1
- package/dist/src/views/template-editor/utils/index.d.ts +3 -3
- package/dist/style.css +70 -90
- package/dist/styles/index.esm.js +4 -89
- package/dist/styles/index.esm.js.map +1 -1
- package/dist/styles/index.js +1 -1
- package/dist/styles/themes/index/index.esm.js +78 -0
- package/dist/styles/themes/index/index.esm.js.map +1 -0
- package/dist/styles/themes/index/index.js +2 -0
- package/dist/styles/themes/index/index.js.map +1 -0
- package/dist/theme/index.d.ts +7 -5
- package/dist/theme/index.esm.js +12 -5
- package/dist/theme/index.esm.js.map +1 -1
- package/dist/theme/index.js +1 -1
- package/dist/theme/theme-impl/index.esm.js +1 -1
- package/dist/theme/typography/index.esm.js +113 -0
- package/dist/theme/typography/index.esm.js.map +1 -0
- package/dist/theme/typography/index.js +2 -0
- package/dist/theme/typography/index.js.map +1 -0
- package/dist/utils/dateFormat/index.esm.js +7 -0
- package/dist/utils/dateFormat/index.esm.js.map +1 -1
- package/dist/utils/dateFormat/index.js +1 -1
- package/dist/utils/dateFormat/index.js.map +1 -1
- package/dist/utils/i18n/index.esm.js +37 -0
- package/dist/utils/i18n/index.esm.js.map +1 -0
- package/dist/utils/i18n/index.js +2 -0
- package/dist/utils/i18n/index.js.map +1 -0
- package/dist/utils/index.d.ts +34 -35
- package/dist/utils/index.esm.js +18 -73
- package/dist/utils/index.esm.js.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/metaComponent/index.esm.js +27 -0
- package/dist/utils/metaComponent/index.esm.js.map +1 -0
- package/dist/utils/metaComponent/index.js +6 -0
- package/dist/utils/metaComponent/index.js.map +1 -0
- package/dist/views/404/index.esm.js +31 -0
- package/dist/views/404/index.esm.js.map +1 -0
- package/dist/views/404/index.js +6 -0
- package/dist/views/404/index.js.map +1 -0
- package/dist/views/afterAuth/dashboard/dashboard/index.esm.js +76 -0
- package/dist/views/afterAuth/dashboard/dashboard/index.esm.js.map +1 -0
- package/dist/views/afterAuth/dashboard/dashboard/index.js +8 -0
- package/dist/views/afterAuth/dashboard/dashboard/index.js.map +1 -0
- 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/page-view/page-view/index.esm.js +100 -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/change-password/change-password/index.esm.js +182 -0
- package/dist/views/beforeAuth/change-password/change-password/index.esm.js.map +1 -0
- package/dist/views/beforeAuth/change-password/change-password/index.js +17 -0
- package/dist/views/beforeAuth/change-password/change-password/index.js.map +1 -0
- package/dist/views/beforeAuth/forgot-password/forgot-password/index.esm.js +177 -0
- package/dist/views/beforeAuth/forgot-password/forgot-password/index.esm.js.map +1 -0
- package/dist/views/beforeAuth/forgot-password/forgot-password/index.js +16 -0
- package/dist/views/beforeAuth/forgot-password/forgot-password/index.js.map +1 -0
- package/dist/views/beforeAuth/landing/landing/index.esm.js +35 -0
- package/dist/views/beforeAuth/landing/landing/index.esm.js.map +1 -0
- package/dist/views/beforeAuth/landing/landing/index.js +8 -0
- package/dist/views/beforeAuth/landing/landing/index.js.map +1 -0
- package/dist/views/beforeAuth/login/index/index.esm.js +209 -0
- package/dist/views/beforeAuth/login/index/index.esm.js.map +1 -0
- package/dist/views/beforeAuth/login/index/index.js +20 -0
- package/dist/views/beforeAuth/login/index/index.js.map +1 -0
- package/dist/views/beforeAuth/reset-password/reset-password/index.esm.js +34 -0
- package/dist/views/beforeAuth/reset-password/reset-password/index.esm.js.map +1 -0
- package/dist/views/beforeAuth/reset-password/reset-password/index.js +2 -0
- package/dist/views/beforeAuth/reset-password/reset-password/index.js.map +1 -0
- package/dist/views/form-builder/custom-form/index.esm.js +2 -2
- package/dist/views/form-builder/custom-form/index.js +10 -10
- package/dist/views/form-builder/element-edit-forms/select/index.esm.js +1 -1
- package/dist/views/form-builder/element-edit-forms/select/index.js +8 -8
- 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/index.esm.js +139 -65
- package/dist/views/index.esm.js.map +1 -1
- package/dist/views/index.js +1 -1
- package/dist/views/privateRoute/index.esm.js +14 -0
- package/dist/views/privateRoute/index.esm.js.map +1 -0
- package/dist/views/privateRoute/index.js +2 -0
- package/dist/views/privateRoute/index.js.map +1 -0
- package/dist/views/template-editor/components/EditorHeader/index.esm.js +1 -1
- package/dist/views/template-editor/components/EditorHeader/index.js +3 -3
- package/dist/views/template-editor/components/EditorSection/index.esm.js +1 -1
- package/dist/views/template-editor/components/EditorSection/index.js +3 -3
- package/dist/views/template-editor/components/SectionFormatPanel/index.esm.js +1 -1
- package/dist/views/template-editor/components/SectionFormatPanel/index.js +3 -3
- package/dist/views/template-editor/components/controllers/TableControls/index.esm.js +1 -1
- package/dist/views/template-editor/components/controllers/TableControls/index.js +56 -56
- package/dist/views/template-editor/templates/index.esm.js +1 -1
- package/dist/views/template-editor/templates/index.js +3 -3
- package/dist/views/template-editor/templates/index.js.map +1 -1
- package/dist/views/template-editor/utils/default-data/index.esm.js +33 -0
- package/dist/views/template-editor/utils/default-data/index.esm.js.map +1 -0
- package/dist/views/template-editor/utils/default-data/index.js +2 -0
- package/dist/views/template-editor/utils/default-data/index.js.map +1 -0
- package/package.json +2 -2
- package/src/styles/index.ts +1 -146
- package/dist/_virtual/ArrowBack/index.esm.js +0 -5
- package/dist/_virtual/ArrowBack/index.esm.js.map +0 -1
- package/dist/_virtual/ArrowBack/index.js +0 -2
- package/dist/_virtual/ArrowBack/index.js.map +0 -1
- package/dist/_virtual/ArrowForward/index.esm.js +0 -5
- package/dist/_virtual/ArrowForward/index.esm.js.map +0 -1
- package/dist/_virtual/ArrowForward/index.js +0 -2
- package/dist/_virtual/ArrowForward/index.js.map +0 -1
- package/dist/_virtual/IndeterminateCheckBox/index.esm.js +0 -5
- package/dist/_virtual/IndeterminateCheckBox/index.esm.js.map +0 -1
- package/dist/_virtual/IndeterminateCheckBox/index.js +0 -2
- package/dist/_virtual/IndeterminateCheckBox/index.js.map +0 -1
- package/dist/_virtual/NorthEast/index.esm.js +0 -5
- package/dist/_virtual/NorthEast/index.esm.js.map +0 -1
- package/dist/_virtual/NorthEast/index.js +0 -2
- package/dist/_virtual/NorthEast/index.js.map +0 -1
- package/dist/_virtual/Visibility/index.esm.js +0 -5
- package/dist/_virtual/Visibility/index.esm.js.map +0 -1
- package/dist/_virtual/Visibility/index.js +0 -2
- package/dist/_virtual/Visibility/index.js.map +0 -1
- package/dist/components/activity-tag/activity-tag/index.esm.js +0 -154
- package/dist/components/activity-tag/activity-tag/index.esm.js.map +0 -1
- package/dist/components/activity-tag/activity-tag/index.js +0 -15
- package/dist/components/activity-tag/activity-tag/index.js.map +0 -1
- package/dist/components/activityLog/activity-log/index.esm.js +0 -104
- package/dist/components/activityLog/activity-log/index.esm.js.map +0 -1
- package/dist/components/activityLog/activity-log/index.js +0 -14
- package/dist/components/activityLog/activity-log/index.js.map +0 -1
- package/dist/components/button/button.scss/index.esm.js +0 -2
- package/dist/components/button/button.scss/index.esm.js.map +0 -1
- package/dist/components/button/button.scss/index.js +0 -2
- package/dist/components/button/button.scss/index.js.map +0 -1
- package/dist/components/charts/bar-chart/bar-chart/index.esm.js +0 -85
- package/dist/components/charts/bar-chart/bar-chart/index.esm.js.map +0 -1
- package/dist/components/charts/bar-chart/bar-chart/index.js +0 -2
- package/dist/components/charts/bar-chart/bar-chart/index.js.map +0 -1
- package/dist/components/charts/barChart/barChart/index.esm.js +0 -147
- package/dist/components/charts/barChart/barChart/index.esm.js.map +0 -1
- package/dist/components/charts/barChart/barChart/index.js +0 -2
- package/dist/components/charts/barChart/barChart/index.js.map +0 -1
- package/dist/components/charts/donut-chart/donut-chart/index.esm.js +0 -85
- package/dist/components/charts/donut-chart/donut-chart/index.esm.js.map +0 -1
- package/dist/components/charts/donut-chart/donut-chart/index.js +0 -6
- package/dist/components/charts/donut-chart/donut-chart/index.js.map +0 -1
- package/dist/components/charts/donutChart/DonutChart/index.esm.js +0 -96
- package/dist/components/charts/donutChart/DonutChart/index.esm.js.map +0 -1
- package/dist/components/charts/donutChart/DonutChart/index.js +0 -5
- package/dist/components/charts/donutChart/DonutChart/index.js.map +0 -1
- package/dist/components/charts/line-chart/area-line-chart/index.esm.js +0 -40
- package/dist/components/charts/line-chart/area-line-chart/index.esm.js.map +0 -1
- package/dist/components/charts/line-chart/area-line-chart/index.js +0 -2
- package/dist/components/charts/line-chart/area-line-chart/index.js.map +0 -1
- package/dist/components/grid/grid-card/grid-card.scss/index.esm.js +0 -2
- package/dist/components/grid/grid-card/grid-card.scss/index.esm.js.map +0 -1
- package/dist/components/grid/grid-card/grid-card.scss/index.js +0 -2
- package/dist/components/grid/grid-card/grid-card.scss/index.js.map +0 -1
- package/dist/components/list/list.scss/index.esm.js +0 -2
- package/dist/components/list/list.scss/index.esm.js.map +0 -1
- package/dist/components/list/list.scss/index.js +0 -2
- package/dist/components/list/list.scss/index.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/ArrowBack/index.esm.js +0 -18
- package/dist/node_modules/@mui/icons-material/ArrowBack/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/ArrowBack/index.js +0 -2
- package/dist/node_modules/@mui/icons-material/ArrowBack/index.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/ArrowForward/index.esm.js +0 -18
- package/dist/node_modules/@mui/icons-material/ArrowForward/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/ArrowForward/index.js +0 -2
- package/dist/node_modules/@mui/icons-material/ArrowForward/index.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/IndeterminateCheckBox/index.esm.js +0 -18
- package/dist/node_modules/@mui/icons-material/IndeterminateCheckBox/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/IndeterminateCheckBox/index.js +0 -2
- package/dist/node_modules/@mui/icons-material/IndeterminateCheckBox/index.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/NorthEast/index.esm.js +0 -18
- package/dist/node_modules/@mui/icons-material/NorthEast/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/NorthEast/index.js +0 -2
- package/dist/node_modules/@mui/icons-material/NorthEast/index.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/Visibility/index.esm.js +0 -18
- package/dist/node_modules/@mui/icons-material/Visibility/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/icons-material/Visibility/index.js +0 -2
- package/dist/node_modules/@mui/icons-material/Visibility/index.js.map +0 -1
- package/dist/node_modules/@mui/lab/Timeline/Timeline/index.esm.js +0 -95
- package/dist/node_modules/@mui/lab/Timeline/Timeline/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/lab/Timeline/Timeline/index.js +0 -3
- package/dist/node_modules/@mui/lab/Timeline/Timeline/index.js.map +0 -1
- package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.esm.js +0 -10
- package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.js +0 -2
- package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.js.map +0 -1
- package/dist/node_modules/@mui/lab/Timeline/timelineClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/lab/Timeline/timelineClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/lab/Timeline/timelineClasses/index.js +0 -2
- package/dist/node_modules/@mui/lab/Timeline/timelineClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.esm.js +0 -76
- package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.js +0 -3
- package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineConnector/timelineConnectorClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/lab/TimelineConnector/timelineConnectorClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineConnector/timelineConnectorClasses/index.js +0 -2
- package/dist/node_modules/@mui/lab/TimelineConnector/timelineConnectorClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.esm.js +0 -91
- package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.js +0 -3
- package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineContent/timelineContentClasses/index.esm.js +0 -11
- package/dist/node_modules/@mui/lab/TimelineContent/timelineContentClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineContent/timelineContentClasses/index.js +0 -2
- package/dist/node_modules/@mui/lab/TimelineContent/timelineContentClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.esm.js +0 -118
- package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.js +0 -3
- package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineDot/timelineDotClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/lab/TimelineDot/timelineDotClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineDot/timelineDotClasses/index.js +0 -2
- package/dist/node_modules/@mui/lab/TimelineDot/timelineDotClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.esm.js +0 -128
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.js +0 -3
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineItem/timelineItemClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/lab/TimelineItem/timelineItemClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineItem/timelineItemClasses/index.js +0 -2
- package/dist/node_modules/@mui/lab/TimelineItem/timelineItemClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineOppositeContent/timelineOppositeContentClasses/index.esm.js +0 -6
- package/dist/node_modules/@mui/lab/TimelineOppositeContent/timelineOppositeContentClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineOppositeContent/timelineOppositeContentClasses/index.js +0 -2
- package/dist/node_modules/@mui/lab/TimelineOppositeContent/timelineOppositeContentClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.esm.js +0 -73
- package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.js +0 -3
- package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineSeparator/timelineSeparatorClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/lab/TimelineSeparator/timelineSeparatorClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/lab/TimelineSeparator/timelineSeparatorClasses/index.js +0 -2
- package/dist/node_modules/@mui/lab/TimelineSeparator/timelineSeparatorClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/lab/internal/convertTimelinePositionToClass/index.esm.js +0 -8
- package/dist/node_modules/@mui/lab/internal/convertTimelinePositionToClass/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/lab/internal/convertTimelinePositionToClass/index.js +0 -2
- package/dist/node_modules/@mui/lab/internal/convertTimelinePositionToClass/index.js.map +0 -1
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.esm.js +0 -95
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.js +0 -3
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.js.map +0 -1
- package/dist/node_modules/@mui/material/AccordionActions/accordionActionsClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/material/AccordionActions/accordionActionsClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/AccordionActions/accordionActionsClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/AccordionActions/accordionActionsClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.esm.js +0 -201
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.js +0 -3
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.js.map +0 -1
- package/dist/node_modules/@mui/material/AvatarGroup/avatarGroupClasses/index.esm.js +0 -11
- package/dist/node_modules/@mui/material/AvatarGroup/avatarGroupClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/AvatarGroup/avatarGroupClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/AvatarGroup/avatarGroupClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.esm.js +0 -125
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.js +0 -4
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.js.map +0 -1
- package/dist/node_modules/@mui/material/BottomNavigation/bottomNavigationClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/material/BottomNavigation/bottomNavigationClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/BottomNavigation/bottomNavigationClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/BottomNavigation/bottomNavigationClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.esm.js +0 -170
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.js +0 -3
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.js.map +0 -1
- package/dist/node_modules/@mui/material/BottomNavigationAction/bottomNavigationActionClasses/index.esm.js +0 -11
- package/dist/node_modules/@mui/material/BottomNavigationAction/bottomNavigationActionClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/BottomNavigationAction/bottomNavigationActionClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/BottomNavigationAction/bottomNavigationActionClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.esm.js +0 -120
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.js +0 -3
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.js.map +0 -1
- package/dist/node_modules/@mui/material/CardActionArea/cardActionAreaClasses/index.esm.js +0 -11
- package/dist/node_modules/@mui/material/CardActionArea/cardActionAreaClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/CardActionArea/cardActionAreaClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/CardActionArea/cardActionAreaClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/CardActions/CardActions/index.esm.js +0 -92
- package/dist/node_modules/@mui/material/CardActions/CardActions/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/CardActions/CardActions/index.js +0 -3
- package/dist/node_modules/@mui/material/CardActions/CardActions/index.js.map +0 -1
- package/dist/node_modules/@mui/material/CardActions/cardActionsClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/material/CardActions/cardActionsClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/CardActions/cardActionsClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/CardActions/cardActionsClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.esm.js +0 -196
- package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.js +0 -2
- package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.js.map +0 -1
- package/dist/node_modules/@mui/material/CardHeader/cardHeaderClasses/index.esm.js +0 -11
- package/dist/node_modules/@mui/material/CardHeader/cardHeaderClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/CardHeader/cardHeaderClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/CardHeader/cardHeaderClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.esm.js +0 -76
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.js +0 -3
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.js.map +0 -1
- package/dist/node_modules/@mui/material/DialogContentText/dialogContentTextClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/material/DialogContentText/dialogContentTextClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/DialogContentText/dialogContentTextClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/DialogContentText/dialogContentTextClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/Fab/Fab/index.esm.js +0 -231
- package/dist/node_modules/@mui/material/Fab/Fab/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/Fab/Fab/index.js +0 -3
- package/dist/node_modules/@mui/material/Fab/Fab/index.js.map +0 -1
- package/dist/node_modules/@mui/material/Fab/fabClasses/index.esm.js +0 -11
- package/dist/node_modules/@mui/material/Fab/fabClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/Fab/fabClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/Fab/fabClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/Hidden/Hidden/index.esm.js +0 -135
- package/dist/node_modules/@mui/material/Hidden/Hidden/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/Hidden/Hidden/index.js +0 -2
- package/dist/node_modules/@mui/material/Hidden/Hidden/index.js.map +0 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.esm.js +0 -176
- package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.js +0 -3
- package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.js.map +0 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.esm.js +0 -119
- package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.js +0 -2
- package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.js.map +0 -1
- package/dist/node_modules/@mui/material/Hidden/hiddenCssClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/material/Hidden/hiddenCssClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/Hidden/hiddenCssClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/Hidden/hiddenCssClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/Hidden/withWidth/index.esm.js +0 -92
- package/dist/node_modules/@mui/material/Hidden/withWidth/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/Hidden/withWidth/index.js +0 -2
- package/dist/node_modules/@mui/material/Hidden/withWidth/index.js.map +0 -1
- package/dist/node_modules/@mui/material/ImageList/ImageList/index.esm.js +0 -156
- package/dist/node_modules/@mui/material/ImageList/ImageList/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/ImageList/ImageList/index.js +0 -3
- package/dist/node_modules/@mui/material/ImageList/ImageList/index.js.map +0 -1
- package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.esm.js +0 -10
- package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.js +0 -2
- package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.js.map +0 -1
- package/dist/node_modules/@mui/material/ImageList/imageListClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/material/ImageList/imageListClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/ImageList/imageListClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/ImageList/imageListClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.esm.js +0 -173
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.js +0 -3
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.js.map +0 -1
- package/dist/node_modules/@mui/material/ImageListItem/imageListItemClasses/index.esm.js +0 -11
- package/dist/node_modules/@mui/material/ImageListItem/imageListItemClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/ImageListItem/imageListItemClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/ImageListItem/imageListItemClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.esm.js +0 -222
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.js +0 -3
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.js.map +0 -1
- package/dist/node_modules/@mui/material/ImageListItemBar/imageListItemBarClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/material/ImageListItemBar/imageListItemBarClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/ImageListItemBar/imageListItemBarClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/ImageListItemBar/imageListItemBarClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.esm.js +0 -216
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.js +0 -3
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.js.map +0 -1
- package/dist/node_modules/@mui/material/MobileStepper/mobileStepperClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/material/MobileStepper/mobileStepperClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/MobileStepper/mobileStepperClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/MobileStepper/mobileStepperClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.esm.js +0 -126
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.js +0 -3
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.js.map +0 -1
- package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.esm.js +0 -55
- package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.js +0 -2
- package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.js.map +0 -1
- package/dist/node_modules/@mui/material/Rating/Rating/index.esm.js +0 -638
- package/dist/node_modules/@mui/material/Rating/Rating/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/Rating/Rating/index.js +0 -7
- package/dist/node_modules/@mui/material/Rating/Rating/index.js.map +0 -1
- package/dist/node_modules/@mui/material/Rating/ratingClasses/index.esm.js +0 -11
- package/dist/node_modules/@mui/material/Rating/ratingClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/Rating/ratingClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/Rating/ratingClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.esm.js +0 -105
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.js +0 -3
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.js.map +0 -1
- package/dist/node_modules/@mui/material/ScopedCssBaseline/scopedCssBaselineClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/material/ScopedCssBaseline/scopedCssBaselineClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/ScopedCssBaseline/scopedCssBaselineClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/ScopedCssBaseline/scopedCssBaselineClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.esm.js +0 -453
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.js +0 -4
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.js.map +0 -1
- package/dist/node_modules/@mui/material/SpeedDial/speedDialClasses/index.esm.js +0 -11
- package/dist/node_modules/@mui/material/SpeedDial/speedDialClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/SpeedDial/speedDialClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/SpeedDial/speedDialClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.esm.js +0 -245
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.js +0 -2
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.js.map +0 -1
- package/dist/node_modules/@mui/material/SpeedDialAction/speedDialActionClasses/index.esm.js +0 -11
- package/dist/node_modules/@mui/material/SpeedDialAction/speedDialActionClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/SpeedDialAction/speedDialActionClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/SpeedDialAction/speedDialActionClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.esm.js +0 -137
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.js +0 -4
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.js.map +0 -1
- package/dist/node_modules/@mui/material/SpeedDialIcon/speedDialIconClasses/index.esm.js +0 -11
- package/dist/node_modules/@mui/material/SpeedDialIcon/speedDialIconClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/SpeedDialIcon/speedDialIconClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/SpeedDialIcon/speedDialIconClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/Step/Step/index.esm.js +0 -169
- package/dist/node_modules/@mui/material/Step/Step/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/Step/Step/index.js +0 -3
- package/dist/node_modules/@mui/material/Step/Step/index.js.map +0 -1
- package/dist/node_modules/@mui/material/Step/StepContext/index.esm.js +0 -10
- package/dist/node_modules/@mui/material/Step/StepContext/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/Step/StepContext/index.js +0 -2
- package/dist/node_modules/@mui/material/Step/StepContext/index.js.map +0 -1
- package/dist/node_modules/@mui/material/Step/stepClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/material/Step/stepClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/Step/stepClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/Step/stepClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/StepButton/StepButton/index.esm.js +0 -132
- package/dist/node_modules/@mui/material/StepButton/StepButton/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/StepButton/StepButton/index.js +0 -3
- package/dist/node_modules/@mui/material/StepButton/StepButton/index.js.map +0 -1
- package/dist/node_modules/@mui/material/StepButton/stepButtonClasses/index.esm.js +0 -11
- package/dist/node_modules/@mui/material/StepButton/stepButtonClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/StepButton/stepButtonClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/StepButton/stepButtonClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.esm.js +0 -136
- package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.js +0 -3
- package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.js.map +0 -1
- package/dist/node_modules/@mui/material/StepConnector/stepConnectorClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/material/StepConnector/stepConnectorClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/StepConnector/stepConnectorClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/StepConnector/stepConnectorClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/StepContent/StepContent/index.esm.js +0 -152
- package/dist/node_modules/@mui/material/StepContent/StepContent/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/StepContent/StepContent/index.js +0 -2
- package/dist/node_modules/@mui/material/StepContent/StepContent/index.js.map +0 -1
- package/dist/node_modules/@mui/material/StepContent/stepContentClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/material/StepContent/stepContentClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/StepContent/stepContentClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/StepContent/stepContentClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.esm.js +0 -161
- package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.js +0 -2
- package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.js.map +0 -1
- package/dist/node_modules/@mui/material/StepIcon/stepIconClasses/index.esm.js +0 -11
- package/dist/node_modules/@mui/material/StepIcon/stepIconClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/StepIcon/stepIconClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/StepIcon/stepIconClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.esm.js +0 -239
- package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.js +0 -3
- package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.js.map +0 -1
- package/dist/node_modules/@mui/material/StepLabel/stepLabelClasses/index.esm.js +0 -11
- package/dist/node_modules/@mui/material/StepLabel/stepLabelClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/StepLabel/stepLabelClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/StepLabel/stepLabelClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/Stepper/Stepper/index.esm.js +0 -155
- package/dist/node_modules/@mui/material/Stepper/Stepper/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/Stepper/Stepper/index.js +0 -3
- package/dist/node_modules/@mui/material/Stepper/Stepper/index.js.map +0 -1
- package/dist/node_modules/@mui/material/Stepper/StepperContext/index.esm.js +0 -10
- package/dist/node_modules/@mui/material/Stepper/StepperContext/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/Stepper/StepperContext/index.js +0 -2
- package/dist/node_modules/@mui/material/Stepper/StepperContext/index.js.map +0 -1
- package/dist/node_modules/@mui/material/Stepper/stepperClasses/index.esm.js +0 -10
- package/dist/node_modules/@mui/material/Stepper/stepperClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/Stepper/stepperClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/Stepper/stepperClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.esm.js +0 -82
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.js +0 -3
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.js.map +0 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.esm.js +0 -538
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.js +0 -2
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.js.map +0 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.esm.js +0 -443
- package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.js +0 -3
- package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.js.map +0 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.esm.js +0 -179
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.js +0 -3
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.js.map +0 -1
- package/dist/node_modules/@mui/material/TablePagination/tablePaginationClasses/index.esm.js +0 -11
- package/dist/node_modules/@mui/material/TablePagination/tablePaginationClasses/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/TablePagination/tablePaginationClasses/index.js +0 -2
- package/dist/node_modules/@mui/material/TablePagination/tablePaginationClasses/index.js.map +0 -1
- package/dist/node_modules/@mui/material/Zoom/Zoom/index.esm.js +0 -196
- package/dist/node_modules/@mui/material/Zoom/Zoom/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/Zoom/Zoom/index.js +0 -3
- package/dist/node_modules/@mui/material/Zoom/Zoom/index.js.map +0 -1
- package/dist/node_modules/@mui/material/internal/svg-icons/Add/index.esm.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/Add/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/internal/svg-icons/Add/index.js +0 -2
- package/dist/node_modules/@mui/material/internal/svg-icons/Add/index.js.map +0 -1
- package/dist/node_modules/@mui/material/internal/svg-icons/CheckCircle/index.esm.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/CheckCircle/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/internal/svg-icons/CheckCircle/index.js +0 -2
- package/dist/node_modules/@mui/material/internal/svg-icons/CheckCircle/index.js.map +0 -1
- package/dist/node_modules/@mui/material/internal/svg-icons/Star/index.esm.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/Star/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/internal/svg-icons/Star/index.js +0 -2
- package/dist/node_modules/@mui/material/internal/svg-icons/Star/index.js.map +0 -1
- package/dist/node_modules/@mui/material/internal/svg-icons/StarBorder/index.esm.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/StarBorder/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/internal/svg-icons/StarBorder/index.js +0 -2
- package/dist/node_modules/@mui/material/internal/svg-icons/StarBorder/index.js.map +0 -1
- package/dist/node_modules/@mui/material/internal/svg-icons/Warning/index.esm.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/Warning/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/internal/svg-icons/Warning/index.js +0 -2
- package/dist/node_modules/@mui/material/internal/svg-icons/Warning/index.js.map +0 -1
- package/dist/node_modules/@mui/material/useScrollTrigger/useScrollTrigger/index.esm.js +0 -51
- package/dist/node_modules/@mui/material/useScrollTrigger/useScrollTrigger/index.esm.js.map +0 -1
- package/dist/node_modules/@mui/material/useScrollTrigger/useScrollTrigger/index.js +0 -2
- package/dist/node_modules/@mui/material/useScrollTrigger/useScrollTrigger/index.js.map +0 -1
- package/dist/node_modules/d3-shape/src/arc/index.esm.js +0 -134
- package/dist/node_modules/d3-shape/src/arc/index.esm.js.map +0 -1
- package/dist/node_modules/d3-shape/src/arc/index.js +0 -2
- package/dist/node_modules/d3-shape/src/arc/index.js.map +0 -1
- package/dist/node_modules/d3-shape/src/descending/index.esm.js +0 -7
- package/dist/node_modules/d3-shape/src/descending/index.esm.js.map +0 -1
- package/dist/node_modules/d3-shape/src/descending/index.js +0 -2
- package/dist/node_modules/d3-shape/src/descending/index.js.map +0 -1
- package/dist/node_modules/d3-shape/src/identity/index.esm.js +0 -7
- package/dist/node_modules/d3-shape/src/identity/index.esm.js.map +0 -1
- package/dist/node_modules/d3-shape/src/identity/index.js +0 -2
- package/dist/node_modules/d3-shape/src/identity/index.js.map +0 -1
- package/dist/node_modules/d3-shape/src/math/index.esm.js +0 -33
- package/dist/node_modules/d3-shape/src/math/index.esm.js.map +0 -1
- package/dist/node_modules/d3-shape/src/math/index.js +0 -2
- package/dist/node_modules/d3-shape/src/math/index.js.map +0 -1
- package/dist/node_modules/d3-shape/src/pie/index.esm.js +0 -56
- package/dist/node_modules/d3-shape/src/pie/index.esm.js.map +0 -1
- package/dist/node_modules/d3-shape/src/pie/index.js +0 -2
- package/dist/node_modules/d3-shape/src/pie/index.js.map +0 -1
- package/dist/src/views/afterAuth/accounting.d.ts +0 -4
- package/dist/src/views/afterAuth/crm.d.ts +0 -4
- package/dist/src/views/afterAuth/document.d.ts +0 -4
- package/dist/src/views/afterAuth/hrms.d.ts +0 -4
- package/dist/src/views/afterAuth/inventory.d.ts +0 -4
- package/dist/src/views/afterAuth/manufacturing.d.ts +0 -4
- package/dist/src/views/afterAuth/office.d.ts +0 -4
- package/dist/src/views/afterAuth/procurement.d.ts +0 -4
- package/dist/src/views/afterAuth/project.d.ts +0 -4
- package/dist/src/views/afterAuth/purchase.d.ts +0 -4
- package/dist/src/views/afterAuth/quotes.d.ts +0 -4
- package/dist/src/views/afterAuth/rental.d.ts +0 -4
- package/dist/src/views/afterAuth/user.d.ts +0 -4
- package/dist/src/views/beforeAuth/components/user-profile-data/user-profile-data.d.ts +0 -9
- package/dist/styles/sass/_mixins.scss/index.esm.js +0 -2
- package/dist/styles/sass/_mixins.scss/index.esm.js.map +0 -1
- package/dist/styles/sass/_mixins.scss/index.js +0 -2
- package/dist/styles/sass/_mixins.scss/index.js.map +0 -1
- package/dist/styles/sass/_variables.scss/index.esm.js +0 -2
- package/dist/styles/sass/_variables.scss/index.esm.js.map +0 -1
- package/dist/styles/sass/_variables.scss/index.js +0 -2
- package/dist/styles/sass/_variables.scss/index.js.map +0 -1
- package/dist/views/beforeAuth/components/index/index.esm.js +0 -1144
- package/dist/views/beforeAuth/components/index/index.esm.js.map +0 -1
- package/dist/views/beforeAuth/components/index/index.js +0 -206
- package/dist/views/beforeAuth/components/index/index.js.map +0 -1
- package/dist/views/beforeAuth/login/index.scss/index.esm.js +0 -2
- package/dist/views/beforeAuth/login/index.scss/index.esm.js.map +0 -1
- package/dist/views/beforeAuth/login/index.scss/index.js +0 -2
- package/dist/views/beforeAuth/login/index.scss/index.js.map +0 -1
- package/dist/views/form-builder/index/index.esm.js +0 -32
- package/dist/views/form-builder/index/index.esm.js.map +0 -1
- package/dist/views/form-builder/index/index.js +0 -2
- package/dist/views/form-builder/index/index.js.map +0 -1
|
@@ -0,0 +1,71 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useFieldArray, Controller } from "react-hook-form";
|
|
3
|
+
import PropTypes from "../../../../node_modules/prop-types/index/index.esm.js";
|
|
4
|
+
import default_1 from "../../../../node_modules/@mui/icons-material/Close/index.esm.js";
|
|
5
|
+
import default_1$1 from "../../../../node_modules/@mui/icons-material/Add/index.esm.js";
|
|
6
|
+
import DynamicSelect from "../form-builder-element/select/index.esm.js";
|
|
7
|
+
import DynamicInput from "../form-builder-element/text/index.esm.js";
|
|
8
|
+
const ElementController = (props) => {
|
|
9
|
+
const { fields: abjMember, append } = useFieldArray({
|
|
10
|
+
control: props.control,
|
|
11
|
+
name: "abjMember"
|
|
12
|
+
});
|
|
13
|
+
const addAdjMember = (type, elementName) => {
|
|
14
|
+
switch (type) {
|
|
15
|
+
case "input":
|
|
16
|
+
append({ type: "input", appendAfter: elementName });
|
|
17
|
+
break;
|
|
18
|
+
case "select":
|
|
19
|
+
append({ type: "select", appendAfter: elementName });
|
|
20
|
+
break;
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
24
|
+
/* @__PURE__ */ jsx(
|
|
25
|
+
Controller,
|
|
26
|
+
{
|
|
27
|
+
control: props.control,
|
|
28
|
+
name: props.name,
|
|
29
|
+
defaultValue: props.defaultValue || "",
|
|
30
|
+
render: ({ field }) => {
|
|
31
|
+
if (Object.keys(props.field1).length && Object.keys(props.field1) !== Object.keys(field)) {
|
|
32
|
+
props.updateField({ ...field });
|
|
33
|
+
}
|
|
34
|
+
return props.children;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
),
|
|
38
|
+
/* @__PURE__ */ jsx(
|
|
39
|
+
default_1,
|
|
40
|
+
{
|
|
41
|
+
style: { fontSize: "15px", cursor: "pointer" },
|
|
42
|
+
onClick: () => addAdjMember("input", props.name)
|
|
43
|
+
}
|
|
44
|
+
),
|
|
45
|
+
/* @__PURE__ */ jsx(
|
|
46
|
+
default_1$1,
|
|
47
|
+
{
|
|
48
|
+
style: { fontSize: "15px", cursor: "pointer" },
|
|
49
|
+
onClick: () => addAdjMember("select", props.name)
|
|
50
|
+
}
|
|
51
|
+
),
|
|
52
|
+
abjMember.map((field) => {
|
|
53
|
+
if (field.appendAfter === props.name) {
|
|
54
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
55
|
+
field.type === "input" && /* @__PURE__ */ jsx(
|
|
56
|
+
DynamicInput,
|
|
57
|
+
{
|
|
58
|
+
placeholder: "Enter value",
|
|
59
|
+
label: "Message",
|
|
60
|
+
formControl: props.control,
|
|
61
|
+
name: "message",
|
|
62
|
+
fieldArrayName: "abjMember"
|
|
63
|
+
}
|
|
64
|
+
),
|
|
65
|
+
field.type === "select" && /* @__PURE__ */ jsx(
|
|
66
|
+
DynamicSelect,
|
|
67
|
+
{
|
|
68
|
+
placeholder: "Select value",
|
|
69
|
+
label: "Is True",
|
|
70
|
+
options: [
|
|
71
|
+
{ value: "option1", label: "Option 1" },
|
|
72
|
+
{ value: "option2", label: "Option 2" }
|
|
73
|
+
],
|
|
74
|
+
formControl: props.control,
|
|
75
|
+
name: "is_true",
|
|
76
|
+
fieldArrayName: "abjMember"
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
] });
|
|
80
|
+
}
|
|
81
|
+
})
|
|
82
|
+
] });
|
|
83
|
+
};
|
|
84
|
+
ElementController.propTypes = {
|
|
85
|
+
name: PropTypes.string.isRequired,
|
|
86
|
+
defaultValue: PropTypes.string,
|
|
87
|
+
field1: PropTypes.object,
|
|
88
|
+
children: PropTypes.node.isRequired,
|
|
89
|
+
updateField: PropTypes.func.isRequired,
|
|
90
|
+
control: PropTypes.object.isRequired
|
|
91
|
+
};
|
|
92
|
+
export {
|
|
93
|
+
ElementController,
|
|
94
|
+
ElementController as default
|
|
95
|
+
};
|
|
96
|
+
//# sourceMappingURL=index.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../../../../src/components/form-control/form-builder/element-controller.tsx"],"sourcesContent":["import { Controller, useFieldArray } from \"react-hook-form\";\nimport PropTypes from \"prop-types\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport AddIcon from \"@mui/icons-material/Add\";\n\nimport DynamicSelect from \"./form-builder-element/select\";\nimport DynamicInput from \"./form-builder-element/text\";\n\nexport const ElementController = (props: any) => {\n const { fields: abjMember, append } = useFieldArray({\n control: props.control,\n name: \"abjMember\",\n });\n\n const addAdjMember = (type: string, elementName: string) => {\n switch (type) {\n case \"input\":\n append({ type: \"input\", appendAfter: elementName });\n break;\n case \"select\":\n append({ type: \"select\", appendAfter: elementName });\n break;\n\n default:\n break;\n }\n };\n\n return (\n <>\n <Controller\n control={props.control}\n name={props.name}\n defaultValue={props.defaultValue || \"\"}\n render={({ field }) => {\n if (\n Object.keys(props.field1).length &&\n Object.keys(props.field1) !== Object.keys(field)\n ) {\n props.updateField({ ...field });\n }\n return props.children;\n }}\n />\n <CloseIcon\n style={{ fontSize: \"15px\", cursor: \"pointer\" }}\n onClick={() => addAdjMember(\"input\", props.name)}\n />\n <AddIcon\n style={{ fontSize: \"15px\", cursor: \"pointer\" }}\n onClick={() => addAdjMember(\"select\", props.name)}\n />\n {abjMember.map((field: any) => {\n if (field.appendAfter === props.name) {\n return (\n <>\n {field.type === \"input\" && (\n <DynamicInput\n placeholder=\"Enter value\"\n label=\"Message\"\n formControl={props.control}\n name=\"message\"\n fieldArrayName=\"abjMember\"\n />\n )}\n {field.type === \"select\" && (\n <DynamicSelect\n placeholder=\"Select value\"\n label=\"Is True\"\n options={[\n { value: \"option1\", label: \"Option 1\" },\n { value: \"option2\", label: \"Option 2\" },\n ]}\n formControl={props.control}\n name=\"is_true\"\n fieldArrayName=\"abjMember\"\n />\n )}\n </>\n );\n }\n })}\n </>\n );\n};\n\nElementController.propTypes = {\n name: PropTypes.string.isRequired,\n defaultValue: PropTypes.string,\n field1: PropTypes.object,\n children: PropTypes.node.isRequired,\n updateField: PropTypes.func.isRequired,\n control: PropTypes.object.isRequired,\n};\n\nexport default ElementController;\n"],"names":["CloseIcon","AddIcon"],"mappings":";;;;;;;AAQO,MAAM,oBAAoB,CAAC,UAAe;AAC/C,QAAM,EAAE,QAAQ,WAAW,OAAA,IAAW,cAAc;AAAA,IAClD,SAAS,MAAM;AAAA,IACf,MAAM;AAAA,EAAA,CACP;AAED,QAAM,eAAe,CAAC,MAAc,gBAAwB;AAC1D,YAAQ,MAAA;AAAA,MACN,KAAK;AACH,eAAO,EAAE,MAAM,SAAS,aAAa,aAAa;AAClD;AAAA,MACF,KAAK;AACH,eAAO,EAAE,MAAM,UAAU,aAAa,aAAa;AACnD;AAAA,IAGA;AAAA,EAEN;AAEA,SACE,qBAAA,UAAA,EACE,UAAA;AAAA,IAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,SAAS,MAAM;AAAA,QACf,MAAM,MAAM;AAAA,QACZ,cAAc,MAAM,gBAAgB;AAAA,QACpC,QAAQ,CAAC,EAAE,YAAY;AACrB,cACE,OAAO,KAAK,MAAM,MAAM,EAAE,UAC1B,OAAO,KAAK,MAAM,MAAM,MAAM,OAAO,KAAK,KAAK,GAC/C;AACA,kBAAM,YAAY,EAAE,GAAG,OAAO;AAAA,UAChC;AACA,iBAAO,MAAM;AAAA,QACf;AAAA,MAAA;AAAA,IAAA;AAAA,IAEF;AAAA,MAACA;AAAAA,MAAA;AAAA,QACC,OAAO,EAAE,UAAU,QAAQ,QAAQ,UAAA;AAAA,QACnC,SAAS,MAAM,aAAa,SAAS,MAAM,IAAI;AAAA,MAAA;AAAA,IAAA;AAAA,IAEjD;AAAA,MAACC;AAAAA,MAAA;AAAA,QACC,OAAO,EAAE,UAAU,QAAQ,QAAQ,UAAA;AAAA,QACnC,SAAS,MAAM,aAAa,UAAU,MAAM,IAAI;AAAA,MAAA;AAAA,IAAA;AAAA,IAEjD,UAAU,IAAI,CAAC,UAAe;AAC7B,UAAI,MAAM,gBAAgB,MAAM,MAAM;AACpC,eACE,qBAAA,UAAA,EACG,UAAA;AAAA,UAAA,MAAM,SAAS,WACd;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,aAAY;AAAA,cACZ,OAAM;AAAA,cACN,aAAa,MAAM;AAAA,cACnB,MAAK;AAAA,cACL,gBAAe;AAAA,YAAA;AAAA,UAAA;AAAA,UAGlB,MAAM,SAAS,YACd;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,aAAY;AAAA,cACZ,OAAM;AAAA,cACN,SAAS;AAAA,gBACP,EAAE,OAAO,WAAW,OAAO,WAAA;AAAA,gBAC3B,EAAE,OAAO,WAAW,OAAO,WAAA;AAAA,cAAW;AAAA,cAExC,aAAa,MAAM;AAAA,cACnB,MAAK;AAAA,cACL,gBAAe;AAAA,YAAA;AAAA,UAAA;AAAA,QACjB,GAEJ;AAAA,MAEJ;AAAA,IACF,CAAC;AAAA,EAAA,GACH;AAEJ;AAEA,kBAAkB,YAAY;AAAA,EAC5B,MAAM,UAAU,OAAO;AAAA,EACvB,cAAc,UAAU;AAAA,EACxB,QAAQ,UAAU;AAAA,EAClB,UAAU,UAAU,KAAK;AAAA,EACzB,aAAa,UAAU,KAAK;AAAA,EAC5B,SAAS,UAAU,OAAO;AAC5B;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react-hook-form"),t=require("../../../../node_modules/prop-types/index/index.js"),l=require("../../../../node_modules/@mui/icons-material/Close/index.js"),n=require("../../../../node_modules/@mui/icons-material/Add/index.js"),o=require("../form-builder-element/select/index.js"),a=require("../form-builder-element/text/index.js");const i=t=>{const{fields:i,append:s}=r.useFieldArray({control:t.control,name:"abjMember"}),d=(e,r)=>{switch(e){case"input":s({type:"input",appendAfter:r});break;case"select":s({type:"select",appendAfter:r})}};/* @__PURE__ */
|
|
2
|
+
return e.jsxs(e.Fragment,{children:[
|
|
3
|
+
/* @__PURE__ */e.jsx(r.Controller,{control:t.control,name:t.name,defaultValue:t.defaultValue||"",render:({field:e})=>(Object.keys(t.field1).length&&Object.keys(t.field1)!==Object.keys(e)&&t.updateField({...e}),t.children)}),
|
|
4
|
+
/* @__PURE__ */e.jsx(l.default,{style:{fontSize:"15px",cursor:"pointer"},onClick:()=>d("input",t.name)}),
|
|
5
|
+
/* @__PURE__ */e.jsx(n.default,{style:{fontSize:"15px",cursor:"pointer"},onClick:()=>d("select",t.name)}),i.map(r=>{if(r.appendAfter===t.name)/* @__PURE__ */
|
|
6
|
+
return e.jsxs(e.Fragment,{children:["input"===r.type&&/* @__PURE__ */e.jsx(a.default,{placeholder:"Enter value",label:"Message",formControl:t.control,name:"message",fieldArrayName:"abjMember"}),"select"===r.type&&/* @__PURE__ */e.jsx(o.default,{placeholder:"Select value",label:"Is True",options:[{value:"option1",label:"Option 1"},{value:"option2",label:"Option 2"}],formControl:t.control,name:"is_true",fieldArrayName:"abjMember"})]})})]})};i.propTypes={name:t.default.string.isRequired,defaultValue:t.default.string,field1:t.default.object,children:t.default.node.isRequired,updateField:t.default.func.isRequired,control:t.default.object.isRequired},exports.ElementController=i,exports.default=i;
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/form-control/form-builder/element-controller.tsx"],"sourcesContent":["import { Controller, useFieldArray } from \"react-hook-form\";\nimport PropTypes from \"prop-types\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport AddIcon from \"@mui/icons-material/Add\";\n\nimport DynamicSelect from \"./form-builder-element/select\";\nimport DynamicInput from \"./form-builder-element/text\";\n\nexport const ElementController = (props: any) => {\n const { fields: abjMember, append } = useFieldArray({\n control: props.control,\n name: \"abjMember\",\n });\n\n const addAdjMember = (type: string, elementName: string) => {\n switch (type) {\n case \"input\":\n append({ type: \"input\", appendAfter: elementName });\n break;\n case \"select\":\n append({ type: \"select\", appendAfter: elementName });\n break;\n\n default:\n break;\n }\n };\n\n return (\n <>\n <Controller\n control={props.control}\n name={props.name}\n defaultValue={props.defaultValue || \"\"}\n render={({ field }) => {\n if (\n Object.keys(props.field1).length &&\n Object.keys(props.field1) !== Object.keys(field)\n ) {\n props.updateField({ ...field });\n }\n return props.children;\n }}\n />\n <CloseIcon\n style={{ fontSize: \"15px\", cursor: \"pointer\" }}\n onClick={() => addAdjMember(\"input\", props.name)}\n />\n <AddIcon\n style={{ fontSize: \"15px\", cursor: \"pointer\" }}\n onClick={() => addAdjMember(\"select\", props.name)}\n />\n {abjMember.map((field: any) => {\n if (field.appendAfter === props.name) {\n return (\n <>\n {field.type === \"input\" && (\n <DynamicInput\n placeholder=\"Enter value\"\n label=\"Message\"\n formControl={props.control}\n name=\"message\"\n fieldArrayName=\"abjMember\"\n />\n )}\n {field.type === \"select\" && (\n <DynamicSelect\n placeholder=\"Select value\"\n label=\"Is True\"\n options={[\n { value: \"option1\", label: \"Option 1\" },\n { value: \"option2\", label: \"Option 2\" },\n ]}\n formControl={props.control}\n name=\"is_true\"\n fieldArrayName=\"abjMember\"\n />\n )}\n </>\n );\n }\n })}\n </>\n );\n};\n\nElementController.propTypes = {\n name: PropTypes.string.isRequired,\n defaultValue: PropTypes.string,\n field1: PropTypes.object,\n children: PropTypes.node.isRequired,\n updateField: PropTypes.func.isRequired,\n control: PropTypes.object.isRequired,\n};\n\nexport default ElementController;\n"],"names":["ElementController","props","fields","abjMember","append","useFieldArray","control","name","addAdjMember","type","elementName","appendAfter","jsxs","Fragment","children","jsx","Controller","defaultValue","render","field","Object","keys","field1","length","updateField","CloseIcon","style","fontSize","cursor","onClick","AddIcon","map","DynamicInput","placeholder","label","formControl","fieldArrayName","DynamicSelect","options","value","propTypes","PropTypes","string","isRequired","object","node","func"],"mappings":"4bAQO,MAAMA,EAAqBC,IAChC,MAAQC,OAAQC,EAAAC,OAAWA,GAAWC,EAAAA,cAAc,CAClDC,QAASL,EAAMK,QACfC,KAAM,cAGFC,EAAe,CAACC,EAAcC,KAClC,OAAQD,GACN,IAAK,QACHL,EAAO,CAAEK,KAAM,QAASE,YAAaD,IACrC,MACF,IAAK,SACHN,EAAO,CAAEK,KAAM,SAAUE,YAAaD;AAQ5C,OACEE,EAAAA,KAAAC,WAAA,CACEC,SAAA;eAAAC,EAAAA,IAACC,EAAAA,WAAA,CACCV,QAASL,EAAMK,QACfC,KAAMN,EAAMM,KACZU,aAAchB,EAAMgB,cAAgB,GACpCC,OAAQ,EAAGC,YAEPC,OAAOC,KAAKpB,EAAMqB,QAAQC,QAC1BH,OAAOC,KAAKpB,EAAMqB,UAAYF,OAAOC,KAAKF,IAE1ClB,EAAMuB,YAAY,IAAKL,IAElBlB,EAAMa;eAGjBC,EAAAA,IAACU,EAAAA,QAAA,CACCC,MAAO,CAAEC,SAAU,OAAQC,OAAQ,WACnCC,QAAS,IAAMrB,EAAa,QAASP,EAAMM;eAE7CQ,EAAAA,IAACe,EAAAA,QAAA,CACCJ,MAAO,CAAEC,SAAU,OAAQC,OAAQ,WACnCC,QAAS,IAAMrB,EAAa,SAAUP,EAAMM,QAE7CJ,EAAU4B,IAAKZ,IACd,GAAIA,EAAMR,cAAgBV,EAAMM;AAC9B,OACEK,EAAAA,KAAAC,WAAA,CACGC,SAAA,CAAe,UAAfK,EAAMV,qBACLM,EAAAA,IAACiB,EAAAA,QAAA,CACCC,YAAY,cACZC,MAAM,UACNC,YAAalC,EAAMK,QACnBC,KAAK,UACL6B,eAAe,cAGH,WAAfjB,EAAMV,qBACLM,EAAAA,IAACsB,EAAAA,QAAA,CACCJ,YAAY,eACZC,MAAM,UACNI,QAAS,CACP,CAAEC,MAAO,UAAWL,MAAO,YAC3B,CAAEK,MAAO,UAAWL,MAAO,aAE7BC,YAAalC,EAAMK,QACnBC,KAAK,UACL6B,eAAe,uBAWjCpC,EAAkBwC,UAAY,CAC5BjC,KAAMkC,EAAAA,QAAUC,OAAOC,WACvB1B,aAAcwB,EAAAA,QAAUC,OACxBpB,OAAQmB,EAAAA,QAAUG,OAClB9B,SAAU2B,EAAAA,QAAUI,KAAKF,WACzBnB,YAAaiB,EAAAA,QAAUK,KAAKH,WAC5BrC,QAASmC,EAAAA,QAAUG,OAAOD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import Button from "../../../../button/button/index.esm.js";
|
|
3
|
-
import MaterialTable from "../../../../material-table/material-table/index.esm.js";
|
|
3
|
+
import { MaterialTable } from "../../../../material-table/material-table/index.esm.js";
|
|
4
4
|
import { Typography } from "../../../../typography/typography/index.esm.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { parse, stringify } from "../../../../../node_modules/flatted/esm/index/index.esm.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),a=,/* empty css */t=,/* empty css */r=;/* empty css */;/* empty css */var l=,/* empty css */i=require("react"),n=,/* empty css */o=,/* empty css */s=,/* empty css */u=,/* empty css */d=require("lodash"),c=,/* empty css */m=require("react-i18next"),x=,/* empty css */b=,/* empty css */f=;/* empty css */function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=/* @__PURE__ */p(i),y=/* @__PURE__ */p(d);const j=h.default.memo(({columns:d,position:p,label:h,rows:j=[],onAddClick:g,name:v,is_button:k=!0,disableTableAddButton:q,otherButtons:A,defaultActionColumnItems:C,onTableCellChange:w,currencySymbol:_="",...B})=>{var T,F,M;const{t:D}=m.useTranslation(),{user:I}=n.useAuth(),P=_||(null==(T=null==I?void 0:I.currency_data)?void 0:T.symbol)||"",Y=(null==(F=null==I?void 0:I.currency_data)?void 0:F.number_format)||"",$=(null==(M=null==I?void 0:I.currency_data)?void 0:M.position)||"before",N=i.useCallback((e,a)=>{switch(e){case"Percentage":return`${a}%`;case"Fixed Amount":return`${P}${a}`;default:return a}},[P]),O=w instanceof Function,S=i.useCallback(a=>a.map(a=>({...a,header:D(a.header),Cell:({renderedCellValue:t,row:r})=>{var l,i,n;let d=t;switch(a.type){case"formattedString":d=x.formatLabel(t)||"-";break;case"date":d=o.formatDate(t,(null==(l=a.editProperties)?void 0:l.dateFormat)||"DD-MM-YYYY")||"-";break;case"currency":d=t?`${c.formatAmount(t,Y,$,P)}`:"-";break;case"stringOrArray":{const a=null==(n=null==(i=r.original)?void 0:i.promotion_map_data)?void 0:n.type;d=Array.isArray(t)?t.map(t=>t?/* @__PURE__ */e.jsx(s.default,{label:N(a,t)}):null):N(a,t);break}case"checkbox":d=/* @__PURE__ */e.jsx(u.default,{checked:Boolean(t),onClick:O?e=>w({value:e.target.checked,data:r.original,col:a,row:r,name:v,uRows:j}):void 0});break;case"array":d=Array.isArray(t)&&t.length?/* @__PURE__ */e.jsx(b.default,{sx:{display:"flex",gap:.5,alignItems:"center",flexWrap:"wrap"},children:t.map(t=>/* @__PURE__ */e.jsx(s.default,{type:"normal",label:y.default.get(t,null==a?void 0:a.valueGet,""),active:!0}))}):"-";break;case"file":d=c.getFileName(t)||"-"}return d}})),[P,N,_,j]);/* @__PURE__ */
|
|
2
2
|
return e.jsxs(b.default,{"data-position":p,children:[
|
|
3
|
-
/* @__PURE__ */e.jsx(r.Typography,{type:"s5",weight:"medium",color:"theme.secondary.800","data-position":p,sx:{mb:.5},children:
|
|
3
|
+
/* @__PURE__ */e.jsx(r.Typography,{type:"s5",weight:"medium",color:"theme.secondary.800","data-position":p,sx:{mb:.5},children:D(h)}),
|
|
4
4
|
/* @__PURE__ */e.jsxs(b.default,{children:[
|
|
5
|
-
/* @__PURE__ */e.jsx(
|
|
6
|
-
/* @__PURE__ */e.jsx(
|
|
5
|
+
/* @__PURE__ */e.jsx(t.MaterialTable,{columnOrder:["mrt-row-select"],rows:j,columns:S(l.parse(l.stringify(d))),totalPages:20,paginationModel:{pageNo:1,limit:10},enableEditing:!1,enableColumnDragging:!1,enableBottomToolbar:!1,defaultActionColumnItems:C,...B}),k&&!q&&/* @__PURE__ */e.jsxs(b.default,{sx:{display:"flex",width:"100%",justifyContent:"space-between",mt:1},children:[
|
|
6
|
+
/* @__PURE__ */e.jsx(a.default,{variant:"outlined",onClick:()=>null==g?void 0:g(v),startIcon:/* @__PURE__ */e.jsx(f.default,{}),className:"table--AddButton",children:"Add"}),Boolean(null==A?void 0:A.length)&&A]})]})]})});exports.default=j;
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../src/components/form-control/form-builder/form-builder-element/table.tsx"],"sourcesContent":["// import { MRT_ColumnDef, MRT_RowData } from 'material-react-table';\nimport { Add } from '@mui/icons-material';\nimport Button from '../../../button/button';\nimport MaterialTable, { MaterialTableColumnProps } from '../../../material-table/material-table';\nimport Typography from '../../../typography/typography';\nimport { Box } from '@mui/material';\nimport './element.scss';\nimport { parse, stringify } from 'flatted';\nimport React, { useCallback } from 'react';\nimport { useAuth } from '../../../../hooks/useAuth';\nimport { formatDate } from '../../../../utils/dateFormat';\nimport Chip from '../../../chip/chip';\nimport Checkbox from '../../../checkbox/checkbox';\nimport { MRT_Row } from 'material-react-table';\nimport _ from 'lodash';\nimport { formatAmount, getFileName } from \"../../../../utils/common\";\nimport { useTranslation } from 'react-i18next';\nimport { formatLabel } from '../../../../utils/format-text';\nexport interface ICellChangeParam {\n\tvalue: any,\n\tdata: any,\n\tcol: MaterialTableColumnProps,\n\trow: MRT_Row<any>,\n\tname: string,\n\tuRows: any[]\n}\n\ninterface IDynamicTable {\n\tcolumns: any[];\n\trows?: any[];\n\tposition: number;\n\tlabel: string;\n\tdisabled?: boolean;\n\ttypeOfField?: string;\n\tonAddClick?: (name?: string) => void;\n\tname?: string;\n\tis_button?: boolean;\n\tdisableTableAddButton?: boolean;\n\totherButtons?: React.ReactNode[];\n\tdefaultActionColumnItems?: React.ReactElement[];\n\tonTableCellChange: ({ value, data, col, row }:ICellChangeParam) => void;\n\tcurrencySymbol?: string;\n}\n\nconst DynamicTable: React.FC<IDynamicTable> = React.memo(({\n\tcolumns,\n\tposition,\n\tlabel,\n\trows = [],\n\tonAddClick,\n\tname,\n\tis_button = true,\n\tdisableTableAddButton,\n\totherButtons,\n\tdefaultActionColumnItems,\n\tonTableCellChange,\n\tcurrencySymbol = '',\n\t...rest\n\t// disabled\n}) => {\n\tconst { t } = useTranslation();\n\tconst { user } = useAuth();\n\tconst cs = currencySymbol || user?.currency_data?.symbol || '';\n\tconst currencyFormat = user?.currency_data?.number_format || '';\n\tconst symbolPosition = user?.currency_data?.position || 'before';\n\tconst takeCurencyOrPercentage = useCallback((type: string, value: any) => {\n\t\tswitch (type) {\n\t\t\tcase 'Percentage':\n\t\t\t\treturn `${value}%`;\n\t\t\tcase 'Fixed Amount':\n\t\t\t\treturn `${cs}${value}`;\n\n\t\t\tdefault:\n\t\t\t\treturn value;\n\t\t}\n\t}, [cs]);\n\n\tconst isCellChangeAFunc = onTableCellChange instanceof Function\n\n\tconst tableColumns = useCallback(\n\t\t(columns: MaterialTableColumnProps[]) => {\n\t\t\treturn columns.map((column) => ({\n\t\t\t\t...column,\n\t\t\t\theader: t(column.header),\n\t\t\t\tCell: ({ renderedCellValue, row }: any) => {\n\t\t\t\t\tlet v = renderedCellValue;\n\t\t\t\t\tswitch (column.type) {\n\t\t\t\t\t\tcase 'formattedString':\n\t\t\t\t\t\t\tv = formatLabel(renderedCellValue) || '-';\t\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'date':\n\t\t\t\t\t\t\tv = formatDate(\n\t\t\t\t\t\t\t\trenderedCellValue,\n\t\t\t\t\t\t\t\tcolumn.editProperties?.dateFormat || 'DD-MM-YYYY'\n\t\t\t\t\t\t\t) || '-';\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'currency':\n\t\t\t\t\t\t\tv = renderedCellValue ? `${formatAmount(renderedCellValue,currencyFormat,symbolPosition,cs)}` : '-';\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'stringOrArray': {\n\t\t\t\t\t\t\tconst type = row.original?.promotion_map_data?.type;\n\t\t\t\t\t\t\tv = Array.isArray(renderedCellValue)\n\t\t\t\t\t\t\t\t? renderedCellValue.map((rcv) => (\n\t\t\t\t\t\t\t\t\trcv ? <Chip label={takeCurencyOrPercentage(type, rcv)} /> : null\n\t\t\t\t\t\t\t\t\t))\n\t\t\t\t\t\t\t\t: takeCurencyOrPercentage(type, renderedCellValue);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcase \"checkbox\": {\n\t\t\t\t\t\t\tv = <Checkbox \n\t\t\t\t\t\t\t\t\tchecked={Boolean(renderedCellValue)} \n\t\t\t\t\t\t\t\t\tonClick={isCellChangeAFunc \n\t\t\t\t\t\t\t\t\t\t? (e) => onTableCellChange({\n\t\t\t\t\t\t\t\t\t\t\t\tvalue: e.target.checked,\n\t\t\t\t\t\t\t\t\t\t\t\tdata: row.original,\n\t\t\t\t\t\t\t\t\t\t\t\tcol: column,\n\t\t\t\t\t\t\t\t\t\t\t\trow: row,\n\t\t\t\t\t\t\t\t\t\t\t\tname: name,\n\t\t\t\t\t\t\t\t\t\t\t\tuRows: rows\n\t\t\t\t\t\t\t\t\t\t\t}) \n\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t/>;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcase \"array\": {\n\t\t\t\t\t\t\tv = Array.isArray(renderedCellValue) && renderedCellValue.length ?\n\t\t\t\t\t\t\t\t<Box sx={{ display: 'flex', gap: 0.5, alignItems: 'center', flexWrap: 'wrap'}}>\n\t\t\t\t\t\t\t\t\t{renderedCellValue.map(r => (<Chip type='normal' label={_.get(r, column?.valueGet, '')} active/> ))}\n\t\t\t\t\t\t\t\t</Box>\n\t\t\t\t\t\t\t: '-';\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcase \"file\": {\n\t\t\t\t\t\t\tv = getFileName(renderedCellValue) || '-';\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn v;\n\t\t\t\t}\n\t\t\t}));\n\t\t},\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t\t[cs, takeCurencyOrPercentage, currencySymbol, rows]\n\t);\n\treturn (\n\t\t<Box data-position={position}>\n\t\t\t<Typography\n\t\t\t\ttype='s5'\n\t\t\t\tweight='medium'\n\t\t\t\tcolor='theme.secondary.800'\n\t\t\t\tdata-position={position}\n\t\t\t\tsx={{ mb: 0.5 }}>\n\t\t\t\t{t(label)}\n\t\t\t</Typography>\n\t\t\t<Box /* sx={disabled ? { pointerEvents: 'none' } : {}} */>\n\t\t\t\t<MaterialTable\n\t\t\t\t\tcolumnOrder={['mrt-row-select']}\n\t\t\t\t\t// rows={parse(stringify(rows))}\n\t\t\t\t\trows={rows}\n\t\t\t\t\tcolumns={tableColumns(parse(stringify(columns)))}\n\t\t\t\t\ttotalPages={20}\n\t\t\t\t\tpaginationModel={{ pageNo: 1, limit: 10 }}\n\t\t\t\t\tenableEditing={false}\n\t\t\t\t\tenableColumnDragging={false}\n\t\t\t\t\tenableBottomToolbar={false}\n\t\t\t\t\tdefaultActionColumnItems={defaultActionColumnItems}\n\t\t\t\t\t{...rest}\n\t\t\t\t/>\n\t\t\t\t{is_button && !disableTableAddButton && (\n\t\t\t\t\t<Box\n\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\tdisplay: 'flex',\n\t\t\t\t\t\t\twidth: '100%',\n\t\t\t\t\t\t\tjustifyContent: 'space-between',\n\t\t\t\t\t\t\tmt: 1\n\t\t\t\t\t\t}}>\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\tvariant='outlined'\n\t\t\t\t\t\t\tonClick={() => onAddClick?.(name)}\n\t\t\t\t\t\t\tstartIcon={<Add />}\n\t\t\t\t\t\t\tclassName='table--AddButton'>\n\t\t\t\t\t\t\tAdd\n\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t{Boolean(otherButtons?.length) && otherButtons}\n\t\t\t\t\t</Box>\n\t\t\t\t)}\n\t\t\t</Box>\n\t\t</Box>\n\t);\n});\n\nexport default DynamicTable;\n"],"names":["DynamicTable","React","memo","columns","position","label","rows","onAddClick","name","is_button","disableTableAddButton","otherButtons","defaultActionColumnItems","onTableCellChange","currencySymbol","rest","t","useTranslation","user","useAuth","cs","_a","currency_data","symbol","currencyFormat","_b","number_format","symbolPosition","_c","takeCurencyOrPercentage","useCallback","type","value","isCellChangeAFunc","Function","tableColumns","map","column","header","Cell","renderedCellValue","row","v","formatLabel","formatDate","editProperties","dateFormat","formatAmount","original","promotion_map_data","Array","isArray","rcv","jsx","Chip","Checkbox","checked","Boolean","onClick","e","target","data","col","uRows","length","Box","sx","display","gap","alignItems","flexWrap","children","r","_","get","valueGet","active","getFileName","jsxs","Typography","weight","color","mb","MaterialTable","columnOrder","parse","stringify","totalPages","paginationModel","pageNo","limit","enableEditing","enableColumnDragging","enableBottomToolbar","width","justifyContent","mt","Button","variant","startIcon","Add","className"],"mappings":"6/BA4CA,MAAMA,EAAwCC,EAAAA,QAAMC,KAAK,EACxDC,UACAC,WACAC,QACAC,OAAO,GACPC,aACAC,OACAC,aAAY,EACZC,wBACAC,eACAC,2BACAC,oBACAC,iBAAiB,MACdC,gBAGH,MAAMC,EAAEA,GAAMC,oBACRC,KAAEA,GAASC,YACXC,EAAKN,IAAkB,OAAAO,EAAA,MAAAH,OAAA,EAAAA,EAAMI,wBAAeC,SAAU,GACtDC,GAAiB,OAAAC,EAAA,MAAAP,OAAA,EAAAA,EAAMI,oBAAN,EAAAG,EAAqBC,gBAAiB,GACvDC,GAAiB,OAAAC,EAAA,MAAAV,OAAA,EAAAA,EAAMI,oBAAN,EAAAM,EAAqBxB,WAAY,SAClDyB,EAA0BC,EAAAA,YAAY,CAACC,EAAcC,KAC1D,OAAQD,GACP,IAAK,aACJ,MAAO,GAAGC,KACX,IAAK,eACJ,MAAO,GAAGZ,IAAKY,IAEhB,QACC,OAAOA,IAEP,CAACZ,IAEEa,EAAoBpB,aAA6BqB,SAEjDC,EAAeL,EAAAA,YACnB3B,GACOA,EAAQiC,IAAKC,IAAA,IAChBA,EACHC,OAAQtB,EAAEqB,EAAOC,QACjBC,KAAM,EAAGC,oBAAmBC,oBAC3B,IAAIC,EAAIF,EACR,OAAQH,EAAON,MACd,IAAK,kBACJW,EAAIC,EAAAA,YAAYH,IAAsB,IACtC,MACD,IAAK,OACJE,EAAIE,EAAAA,WACHJ,GACA,OAAAnB,EAAAgB,EAAOQ,qBAAP,EAAAxB,EAAuByB,aAAc,eACjC,IACL,MACD,IAAK,WACJJ,EAAIF,EAAoB,GAAGO,eAAaP,EAAkBhB,EAAeG,EAAeP,KAAQ,IAChG,MACD,IAAK,gBAAiB,CACrB,MAAMW,EAAO,OAAAH,EAAA,OAAAH,EAAAgB,EAAIO,eAAJ,EAAAvB,EAAcwB,yBAAd,EAAArB,EAAkCG,KAC/CW,EAAIQ,MAAMC,QAAQX,GACfA,EAAkBJ,IAAKgB,GACxBA,iBAAMC,MAACC,EAAAA,SAAKjD,MAAOwB,EAAwBE,EAAMqB,KAAW,MAE3DvB,EAAwBE,EAAMS,GACjC,KACD,CACA,IAAK,WACJE,iBAAIW,EAAAA,IAACE,EAAAA,QAAA,CACHC,QAASC,QAAQjB,GACjBkB,QAASzB,EACL0B,GAAM9C,EAAkB,CACzBmB,MAAO2B,EAAEC,OAAOJ,QAChBK,KAAMpB,EAAIO,SACVc,IAAKzB,EACLI,MACAjC,OACAuD,MAAOzD,SAEP,IAGL,MAED,IAAK,QACJoC,EAAIQ,MAAMC,QAAQX,IAAsBA,EAAkBwB,sBACzDX,MAACY,EAAAA,QAAA,CAAIC,GAAI,CAAEC,QAAS,OAAQC,IAAK,GAAKC,WAAY,SAAUC,SAAU,QACpEC,SAAA/B,EAAkBJ,IAAIoC,wBAAOlB,EAAAA,QAAA,CAAKvB,KAAK,SAAS1B,MAAOoE,UAAEC,IAAIF,EAAG,MAAAnC,OAAA,EAAAA,EAAQsC,SAAU,IAAKC,QAAM,OAE9F,IACF,MAED,IAAK,OACJlC,EAAImC,EAAAA,YAAYrC,IAAuB,IAKzC,OAAOE,MAKV,CAACtB,EAAIS,EAAyBf,EAAgBR;AAE/C,SACCwE,KAACb,EAAAA,QAAA,CAAI,gBAAe7D,EACnBmE,SAAA;eAAAlB,EAAAA,IAAC0B,EAAAA,WAAA,CACAhD,KAAK,KACLiD,OAAO,SACPC,MAAM,sBACN,gBAAe7E,EACf8D,GAAI,CAAEgB,GAAI,IACTX,WAAElE;sBAEH4D,EAAAA,QAAA,CACAM,SAAA;eAAAlB,EAAAA,IAAC8B,EAAAA,QAAA,CACAC,YAAa,CAAC,kBAEd9E,OACAH,QAASgC,EAAakD,EAAAA,MAAMC,EAAAA,UAAUnF,KACtCoF,WAAY,GACZC,gBAAiB,CAAEC,OAAQ,EAAGC,MAAO,IACrCC,eAAe,EACfC,sBAAsB,EACtBC,qBAAqB,EACrBjF,8BACIG,IAEJN,IAAcC,kBACdoE,EAAAA,KAACb,EAAAA,QAAA,CACAC,GAAI,CACHC,QAAS,OACT2B,MAAO,OACPC,eAAgB,gBAChBC,GAAI,GAELzB,SAAA;eAAAlB,EAAAA,IAAC4C,EAAAA,QAAA,CACAC,QAAQ,WACRxC,QAAS,IAAM,MAAAnD,OAAA,EAAAA,EAAaC,GAC5B2F,+BAAYC,EAAAA,QAAA,IACZC,UAAU,mBAAmB9B,SAAA,QAG7Bd,QAAQ,MAAA9C,OAAA,EAAAA,EAAcqD,SAAWrD"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../src/components/form-control/form-builder/form-builder-element/table.tsx"],"sourcesContent":["// import { MRT_ColumnDef, MRT_RowData } from 'material-react-table';\nimport { Add } from '@mui/icons-material';\nimport Button from '../../../button/button';\nimport MaterialTable, { MaterialTableColumnProps } from '../../../material-table/material-table';\nimport Typography from '../../../typography/typography';\nimport { Box } from '@mui/material';\nimport './element.scss';\nimport { parse, stringify } from 'flatted';\nimport React, { useCallback } from 'react';\nimport { useAuth } from '../../../../hooks/useAuth';\nimport { formatDate } from '../../../../utils/dateFormat';\nimport Chip from '../../../chip/chip';\nimport Checkbox from '../../../checkbox/checkbox';\nimport { MRT_Row } from 'material-react-table';\nimport _ from 'lodash';\nimport { formatAmount, getFileName } from \"../../../../utils/common\";\nimport { useTranslation } from 'react-i18next';\nimport { formatLabel } from '../../../../utils/format-text';\nexport interface ICellChangeParam {\n\tvalue: any,\n\tdata: any,\n\tcol: MaterialTableColumnProps,\n\trow: MRT_Row<any>,\n\tname: string,\n\tuRows: any[]\n}\n\ninterface IDynamicTable {\n\tcolumns: any[];\n\trows?: any[];\n\tposition: number;\n\tlabel: string;\n\tdisabled?: boolean;\n\ttypeOfField?: string;\n\tonAddClick?: (name?: string) => void;\n\tname?: string;\n\tis_button?: boolean;\n\tdisableTableAddButton?: boolean;\n\totherButtons?: React.ReactNode[];\n\tdefaultActionColumnItems?: React.ReactElement[];\n\tonTableCellChange: ({ value, data, col, row }:ICellChangeParam) => void;\n\tcurrencySymbol?: string;\n}\n\nconst DynamicTable: React.FC<IDynamicTable> = React.memo(({\n\tcolumns,\n\tposition,\n\tlabel,\n\trows = [],\n\tonAddClick,\n\tname,\n\tis_button = true,\n\tdisableTableAddButton,\n\totherButtons,\n\tdefaultActionColumnItems,\n\tonTableCellChange,\n\tcurrencySymbol = '',\n\t...rest\n\t// disabled\n}) => {\n\tconst { t } = useTranslation();\n\tconst { user } = useAuth();\n\tconst cs = currencySymbol || user?.currency_data?.symbol || '';\n\tconst currencyFormat = user?.currency_data?.number_format || '';\n\tconst symbolPosition = user?.currency_data?.position || 'before';\n\tconst takeCurencyOrPercentage = useCallback((type: string, value: any) => {\n\t\tswitch (type) {\n\t\t\tcase 'Percentage':\n\t\t\t\treturn `${value}%`;\n\t\t\tcase 'Fixed Amount':\n\t\t\t\treturn `${cs}${value}`;\n\n\t\t\tdefault:\n\t\t\t\treturn value;\n\t\t}\n\t}, [cs]);\n\n\tconst isCellChangeAFunc = onTableCellChange instanceof Function\n\n\tconst tableColumns = useCallback(\n\t\t(columns: MaterialTableColumnProps[]) => {\n\t\t\treturn columns.map((column) => ({\n\t\t\t\t...column,\n\t\t\t\theader: t(column.header),\n\t\t\t\tCell: ({ renderedCellValue, row }: any) => {\n\t\t\t\t\tlet v = renderedCellValue;\n\t\t\t\t\tswitch (column.type) {\n\t\t\t\t\t\tcase 'formattedString':\n\t\t\t\t\t\t\tv = formatLabel(renderedCellValue) || '-';\t\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'date':\n\t\t\t\t\t\t\tv = formatDate(\n\t\t\t\t\t\t\t\trenderedCellValue,\n\t\t\t\t\t\t\t\tcolumn.editProperties?.dateFormat || 'DD-MM-YYYY'\n\t\t\t\t\t\t\t) || '-';\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'currency':\n\t\t\t\t\t\t\tv = renderedCellValue ? `${formatAmount(renderedCellValue,currencyFormat,symbolPosition,cs)}` : '-';\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'stringOrArray': {\n\t\t\t\t\t\t\tconst type = row.original?.promotion_map_data?.type;\n\t\t\t\t\t\t\tv = Array.isArray(renderedCellValue)\n\t\t\t\t\t\t\t\t? renderedCellValue.map((rcv) => (\n\t\t\t\t\t\t\t\t\trcv ? <Chip label={takeCurencyOrPercentage(type, rcv)} /> : null\n\t\t\t\t\t\t\t\t\t))\n\t\t\t\t\t\t\t\t: takeCurencyOrPercentage(type, renderedCellValue);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcase \"checkbox\": {\n\t\t\t\t\t\t\tv = <Checkbox \n\t\t\t\t\t\t\t\t\tchecked={Boolean(renderedCellValue)} \n\t\t\t\t\t\t\t\t\tonClick={isCellChangeAFunc \n\t\t\t\t\t\t\t\t\t\t? (e) => onTableCellChange({\n\t\t\t\t\t\t\t\t\t\t\t\tvalue: e.target.checked,\n\t\t\t\t\t\t\t\t\t\t\t\tdata: row.original,\n\t\t\t\t\t\t\t\t\t\t\t\tcol: column,\n\t\t\t\t\t\t\t\t\t\t\t\trow: row,\n\t\t\t\t\t\t\t\t\t\t\t\tname: name,\n\t\t\t\t\t\t\t\t\t\t\t\tuRows: rows\n\t\t\t\t\t\t\t\t\t\t\t}) \n\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t/>;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcase \"array\": {\n\t\t\t\t\t\t\tv = Array.isArray(renderedCellValue) && renderedCellValue.length ?\n\t\t\t\t\t\t\t\t<Box sx={{ display: 'flex', gap: 0.5, alignItems: 'center', flexWrap: 'wrap'}}>\n\t\t\t\t\t\t\t\t\t{renderedCellValue.map(r => (<Chip type='normal' label={_.get(r, column?.valueGet, '')} active/> ))}\n\t\t\t\t\t\t\t\t</Box>\n\t\t\t\t\t\t\t: '-';\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcase \"file\": {\n\t\t\t\t\t\t\tv = getFileName(renderedCellValue) || '-';\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn v;\n\t\t\t\t}\n\t\t\t}));\n\t\t},\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t\t[cs, takeCurencyOrPercentage, currencySymbol, rows]\n\t);\n\treturn (\n\t\t<Box data-position={position}>\n\t\t\t<Typography\n\t\t\t\ttype='s5'\n\t\t\t\tweight='medium'\n\t\t\t\tcolor='theme.secondary.800'\n\t\t\t\tdata-position={position}\n\t\t\t\tsx={{ mb: 0.5 }}>\n\t\t\t\t{t(label)}\n\t\t\t</Typography>\n\t\t\t<Box /* sx={disabled ? { pointerEvents: 'none' } : {}} */>\n\t\t\t\t<MaterialTable\n\t\t\t\t\tcolumnOrder={['mrt-row-select']}\n\t\t\t\t\t// rows={parse(stringify(rows))}\n\t\t\t\t\trows={rows}\n\t\t\t\t\tcolumns={tableColumns(parse(stringify(columns)))}\n\t\t\t\t\ttotalPages={20}\n\t\t\t\t\tpaginationModel={{ pageNo: 1, limit: 10 }}\n\t\t\t\t\tenableEditing={false}\n\t\t\t\t\tenableColumnDragging={false}\n\t\t\t\t\tenableBottomToolbar={false}\n\t\t\t\t\tdefaultActionColumnItems={defaultActionColumnItems}\n\t\t\t\t\t{...rest}\n\t\t\t\t/>\n\t\t\t\t{is_button && !disableTableAddButton && (\n\t\t\t\t\t<Box\n\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\tdisplay: 'flex',\n\t\t\t\t\t\t\twidth: '100%',\n\t\t\t\t\t\t\tjustifyContent: 'space-between',\n\t\t\t\t\t\t\tmt: 1\n\t\t\t\t\t\t}}>\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\tvariant='outlined'\n\t\t\t\t\t\t\tonClick={() => onAddClick?.(name)}\n\t\t\t\t\t\t\tstartIcon={<Add />}\n\t\t\t\t\t\t\tclassName='table--AddButton'>\n\t\t\t\t\t\t\tAdd\n\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t{Boolean(otherButtons?.length) && otherButtons}\n\t\t\t\t\t</Box>\n\t\t\t\t)}\n\t\t\t</Box>\n\t\t</Box>\n\t);\n});\n\nexport default DynamicTable;\n"],"names":["DynamicTable","React","memo","columns","position","label","rows","onAddClick","name","is_button","disableTableAddButton","otherButtons","defaultActionColumnItems","onTableCellChange","currencySymbol","rest","t","useTranslation","user","useAuth","cs","_a","currency_data","symbol","currencyFormat","_b","number_format","symbolPosition","_c","takeCurencyOrPercentage","useCallback","type","value","isCellChangeAFunc","Function","tableColumns","map","column","header","Cell","renderedCellValue","row","v","formatLabel","formatDate","editProperties","dateFormat","formatAmount","original","promotion_map_data","Array","isArray","rcv","jsx","Chip","Checkbox","checked","Boolean","onClick","e","target","data","col","uRows","length","Box","sx","display","gap","alignItems","flexWrap","children","r","_","get","valueGet","active","getFileName","jsxs","Typography","weight","color","mb","MaterialTable","columnOrder","parse","stringify","totalPages","paginationModel","pageNo","limit","enableEditing","enableColumnDragging","enableBottomToolbar","width","justifyContent","mt","Button","variant","startIcon","Add","className"],"mappings":"6/BA4CA,MAAMA,EAAwCC,EAAAA,QAAMC,KAAK,EACxDC,UACAC,WACAC,QACAC,OAAO,GACPC,aACAC,OACAC,aAAY,EACZC,wBACAC,eACAC,2BACAC,oBACAC,iBAAiB,MACdC,gBAGH,MAAMC,EAAEA,GAAMC,oBACRC,KAAEA,GAASC,YACXC,EAAKN,IAAkB,OAAAO,EAAA,MAAAH,OAAA,EAAAA,EAAMI,wBAAeC,SAAU,GACtDC,GAAiB,OAAAC,EAAA,MAAAP,OAAA,EAAAA,EAAMI,oBAAN,EAAAG,EAAqBC,gBAAiB,GACvDC,GAAiB,OAAAC,EAAA,MAAAV,OAAA,EAAAA,EAAMI,oBAAN,EAAAM,EAAqBxB,WAAY,SAClDyB,EAA0BC,EAAAA,YAAY,CAACC,EAAcC,KAC1D,OAAQD,GACP,IAAK,aACJ,MAAO,GAAGC,KACX,IAAK,eACJ,MAAO,GAAGZ,IAAKY,IAEhB,QACC,OAAOA,IAEP,CAACZ,IAEEa,EAAoBpB,aAA6BqB,SAEjDC,EAAeL,EAAAA,YACnB3B,GACOA,EAAQiC,IAAKC,IAAA,IAChBA,EACHC,OAAQtB,EAAEqB,EAAOC,QACjBC,KAAM,EAAGC,oBAAmBC,oBAC3B,IAAIC,EAAIF,EACR,OAAQH,EAAON,MACd,IAAK,kBACJW,EAAIC,EAAAA,YAAYH,IAAsB,IACtC,MACD,IAAK,OACJE,EAAIE,EAAAA,WACHJ,GACA,OAAAnB,EAAAgB,EAAOQ,qBAAP,EAAAxB,EAAuByB,aAAc,eACjC,IACL,MACD,IAAK,WACJJ,EAAIF,EAAoB,GAAGO,eAAaP,EAAkBhB,EAAeG,EAAeP,KAAQ,IAChG,MACD,IAAK,gBAAiB,CACrB,MAAMW,EAAO,OAAAH,EAAA,OAAAH,EAAAgB,EAAIO,eAAJ,EAAAvB,EAAcwB,yBAAd,EAAArB,EAAkCG,KAC/CW,EAAIQ,MAAMC,QAAQX,GACfA,EAAkBJ,IAAKgB,GACxBA,iBAAMC,MAACC,EAAAA,SAAKjD,MAAOwB,EAAwBE,EAAMqB,KAAW,MAE3DvB,EAAwBE,EAAMS,GACjC,KACD,CACA,IAAK,WACJE,iBAAIW,EAAAA,IAACE,EAAAA,QAAA,CACHC,QAASC,QAAQjB,GACjBkB,QAASzB,EACL0B,GAAM9C,EAAkB,CACzBmB,MAAO2B,EAAEC,OAAOJ,QAChBK,KAAMpB,EAAIO,SACVc,IAAKzB,EACLI,MACAjC,OACAuD,MAAOzD,SAEP,IAGL,MAED,IAAK,QACJoC,EAAIQ,MAAMC,QAAQX,IAAsBA,EAAkBwB,sBACzDX,MAACY,EAAAA,QAAA,CAAIC,GAAI,CAAEC,QAAS,OAAQC,IAAK,GAAKC,WAAY,SAAUC,SAAU,QACpEC,SAAA/B,EAAkBJ,IAAIoC,wBAAOlB,EAAAA,QAAA,CAAKvB,KAAK,SAAS1B,MAAOoE,UAAEC,IAAIF,EAAG,MAAAnC,OAAA,EAAAA,EAAQsC,SAAU,IAAKC,QAAM,OAE9F,IACF,MAED,IAAK,OACJlC,EAAImC,EAAAA,YAAYrC,IAAuB,IAKzC,OAAOE,MAKV,CAACtB,EAAIS,EAAyBf,EAAgBR;AAE/C,SACCwE,KAACb,EAAAA,QAAA,CAAI,gBAAe7D,EACnBmE,SAAA;eAAAlB,EAAAA,IAAC0B,EAAAA,WAAA,CACAhD,KAAK,KACLiD,OAAO,SACPC,MAAM,sBACN,gBAAe7E,EACf8D,GAAI,CAAEgB,GAAI,IACTX,WAAElE;sBAEH4D,EAAAA,QAAA,CACAM,SAAA;eAAAlB,EAAAA,IAAC8B,EAAAA,cAAA,CACAC,YAAa,CAAC,kBAEd9E,OACAH,QAASgC,EAAakD,EAAAA,MAAMC,EAAAA,UAAUnF,KACtCoF,WAAY,GACZC,gBAAiB,CAAEC,OAAQ,EAAGC,MAAO,IACrCC,eAAe,EACfC,sBAAsB,EACtBC,qBAAqB,EACrBjF,8BACIG,IAEJN,IAAcC,kBACdoE,EAAAA,KAACb,EAAAA,QAAA,CACAC,GAAI,CACHC,QAAS,OACT2B,MAAO,OACPC,eAAgB,gBAChBC,GAAI,GAELzB,SAAA;eAAAlB,EAAAA,IAAC4C,EAAAA,QAAA,CACAC,QAAQ,WACRxC,QAAS,IAAM,MAAAnD,OAAA,EAAAA,EAAaC,GAC5B2F,+BAAYC,EAAAA,QAAA,IACZC,UAAU,mBAAmB9B,SAAA,QAG7Bd,QAAQ,MAAA9C,OAAA,EAAAA,EAAcqD,SAAWrD"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
const FormData = [
|
|
2
|
+
{
|
|
3
|
+
field_type: "text",
|
|
4
|
+
label: "Name",
|
|
5
|
+
placeholder: "Enter name",
|
|
6
|
+
default_value: "",
|
|
7
|
+
min_length: 2,
|
|
8
|
+
max_length: 30,
|
|
9
|
+
is_multiline: false,
|
|
10
|
+
is_required: true,
|
|
11
|
+
is_unique: false,
|
|
12
|
+
id: "35356fb9-9007-495a-ba9e-925449cb3eb2"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
field_type: "email",
|
|
16
|
+
label: "Email",
|
|
17
|
+
placeholder: "Enter email address",
|
|
18
|
+
default_value: "",
|
|
19
|
+
is_required: false,
|
|
20
|
+
is_unique: false,
|
|
21
|
+
id: "4f4ac646-bf48-4ed3-ae5b-910071e19b59"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
field_type: "phone",
|
|
25
|
+
label: "Phone",
|
|
26
|
+
placeholder: "Enter phone number",
|
|
27
|
+
default_value: "",
|
|
28
|
+
is_required: false,
|
|
29
|
+
is_unique: false,
|
|
30
|
+
id: "500d8a78-e389-474d-831b-43190da011a6"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
field_type: "select",
|
|
34
|
+
label: "Status",
|
|
35
|
+
placeholder: "Choose option",
|
|
36
|
+
default_value: "option1",
|
|
37
|
+
options: [
|
|
38
|
+
{
|
|
39
|
+
text: "Active",
|
|
40
|
+
value: "1"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
text: "Inactive",
|
|
44
|
+
value: "0"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
is_multiselect: false,
|
|
48
|
+
is_required: true,
|
|
49
|
+
is_unique: false,
|
|
50
|
+
id: "fa44f220-0d82-4569-a28c-997de8e66d5a"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
field_type: "text",
|
|
54
|
+
label: "Address",
|
|
55
|
+
placeholder: "Enter address",
|
|
56
|
+
default_value: "",
|
|
57
|
+
min_length: 2,
|
|
58
|
+
max_length: 30,
|
|
59
|
+
is_multiline: false,
|
|
60
|
+
is_required: true,
|
|
61
|
+
is_unique: false,
|
|
62
|
+
id: "d25f2f1b-811f-4c3d-a53b-5162f766ad47"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
field_type: "text",
|
|
66
|
+
label: "Message",
|
|
67
|
+
placeholder: "Enter message",
|
|
68
|
+
default_value: "",
|
|
69
|
+
min_length: 2,
|
|
70
|
+
max_length: 30,
|
|
71
|
+
is_multiline: false,
|
|
72
|
+
is_required: true,
|
|
73
|
+
is_unique: false,
|
|
74
|
+
id: "22de0b1b-080a-4a0b-9d5f-e6f4916d8b07"
|
|
75
|
+
}
|
|
76
|
+
];
|
|
77
|
+
export {
|
|
78
|
+
FormData as default
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=index.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../../../../src/components/form-control/form-parser/data.ts"],"sourcesContent":["// const FormData = [\n// {\n// \"field_type\": \"text\",\n// \"label\": \"Name\",\n// \"placeholder\": \"Enter name\",\n// \"default_value\": \"\",\n// \"min_length\": 2,\n// \"max_length\": 30,\n// \"is_multiline\": false,\n// \"is_required\": true,\n// \"is_unique\": false,\n// \"id\": \"a796bc38-9f6d-418b-a48d-a562e64ed990\"\n// },\n// {\n// \"field_type\": \"email\",\n// \"label\": \"Email\",\n// \"placeholder\": \"Enter email address\",\n// \"default_value\": \"\",\n// \"is_required\": false,\n// \"is_unique\": false,\n// \"id\": \"a8e34772-beb0-443c-86f4-cd0f79e4e546\"\n// },\n// {\n// \"field_type\": \"select\",\n// \"label\": \"Gender\",\n// \"placeholder\": \"Choose Gender\",\n// \"default_value\": \"option1\",\n// \"options\": [\n// {\n// \"text\": \"Male\",\n// \"value\": \"1\"\n// },\n// {\n// \"text\": \"Female\",\n// \"value\": \"2\"\n// },\n// {\n// \"text\": \"No\",\n// \"value\": \"3\"\n// },\n// {\n// \"text\": \"Yes\",\n// \"value\": \"4\"\n// }\n// ],\n// \"is_multiselect\": true,\n// \"is_required\": true,\n// \"is_unique\": false,\n// \"id\": \"cb4b4423-c072-4e02-a22a-86fb1e0dba3e\"\n// },\n// ]\n\nconst FormData = [\n {\n field_type: \"text\",\n label: \"Name\",\n placeholder: \"Enter name\",\n default_value: \"\",\n min_length: 2,\n max_length: 30,\n is_multiline: false,\n is_required: true,\n is_unique: false,\n id: \"35356fb9-9007-495a-ba9e-925449cb3eb2\",\n },\n {\n field_type: \"email\",\n label: \"Email\",\n placeholder: \"Enter email address\",\n default_value: \"\",\n is_required: false,\n is_unique: false,\n id: \"4f4ac646-bf48-4ed3-ae5b-910071e19b59\",\n },\n {\n field_type: \"phone\",\n label: \"Phone\",\n placeholder: \"Enter phone number\",\n default_value: \"\",\n is_required: false,\n is_unique: false,\n id: \"500d8a78-e389-474d-831b-43190da011a6\",\n },\n {\n field_type: \"select\",\n label: \"Status\",\n placeholder: \"Choose option\",\n default_value: \"option1\",\n options: [\n {\n text: \"Active\",\n value: \"1\",\n },\n {\n text: \"Inactive\",\n value: \"0\",\n },\n ],\n is_multiselect: false,\n is_required: true,\n is_unique: false,\n id: \"fa44f220-0d82-4569-a28c-997de8e66d5a\",\n },\n {\n field_type: \"text\",\n label: \"Address\",\n placeholder: \"Enter address\",\n default_value: \"\",\n min_length: 2,\n max_length: 30,\n is_multiline: false,\n is_required: true,\n is_unique: false,\n id: \"d25f2f1b-811f-4c3d-a53b-5162f766ad47\",\n },\n {\n field_type: \"text\",\n label: \"Message\",\n placeholder: \"Enter message\",\n default_value: \"\",\n min_length: 2,\n max_length: 30,\n is_multiline: false,\n is_required: true,\n is_unique: false,\n id: \"22de0b1b-080a-4a0b-9d5f-e6f4916d8b07\",\n },\n];\n\nexport default FormData;\n"],"names":[],"mappings":"AAoDA,MAAM,WAAW;AAAA,EACf;AAAA,IACE,YAAY;AAAA,IACZ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,eAAe;AAAA,IACf,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,aAAa;AAAA,IACb,WAAW;AAAA,IACX,IAAI;AAAA,EAAA;AAAA,EAEN;AAAA,IACE,YAAY;AAAA,IACZ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,eAAe;AAAA,IACf,aAAa;AAAA,IACb,WAAW;AAAA,IACX,IAAI;AAAA,EAAA;AAAA,EAEN;AAAA,IACE,YAAY;AAAA,IACZ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,eAAe;AAAA,IACf,aAAa;AAAA,IACb,WAAW;AAAA,IACX,IAAI;AAAA,EAAA;AAAA,EAEN;AAAA,IACE,YAAY;AAAA,IACZ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,eAAe;AAAA,IACf,SAAS;AAAA,MACP;AAAA,QACE,MAAM;AAAA,QACN,OAAO;AAAA,MAAA;AAAA,MAET;AAAA,QACE,MAAM;AAAA,QACN,OAAO;AAAA,MAAA;AAAA,IACT;AAAA,IAEF,gBAAgB;AAAA,IAChB,aAAa;AAAA,IACb,WAAW;AAAA,IACX,IAAI;AAAA,EAAA;AAAA,EAEN;AAAA,IACE,YAAY;AAAA,IACZ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,eAAe;AAAA,IACf,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,aAAa;AAAA,IACb,WAAW;AAAA,IACX,IAAI;AAAA,EAAA;AAAA,EAEN;AAAA,IACE,YAAY;AAAA,IACZ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,eAAe;AAAA,IACf,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,aAAa;AAAA,IACb,WAAW;AAAA,IACX,IAAI;AAAA,EAAA;AAER;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=[{field_type:"text",label:"Name",placeholder:"Enter name",default_value:"",min_length:2,max_length:30,is_multiline:!1,is_required:!0,is_unique:!1,id:"35356fb9-9007-495a-ba9e-925449cb3eb2"},{field_type:"email",label:"Email",placeholder:"Enter email address",default_value:"",is_required:!1,is_unique:!1,id:"4f4ac646-bf48-4ed3-ae5b-910071e19b59"},{field_type:"phone",label:"Phone",placeholder:"Enter phone number",default_value:"",is_required:!1,is_unique:!1,id:"500d8a78-e389-474d-831b-43190da011a6"},{field_type:"select",label:"Status",placeholder:"Choose option",default_value:"option1",options:[{text:"Active",value:"1"},{text:"Inactive",value:"0"}],is_multiselect:!1,is_required:!0,is_unique:!1,id:"fa44f220-0d82-4569-a28c-997de8e66d5a"},{field_type:"text",label:"Address",placeholder:"Enter address",default_value:"",min_length:2,max_length:30,is_multiline:!1,is_required:!0,is_unique:!1,id:"d25f2f1b-811f-4c3d-a53b-5162f766ad47"},{field_type:"text",label:"Message",placeholder:"Enter message",default_value:"",min_length:2,max_length:30,is_multiline:!1,is_required:!0,is_unique:!1,id:"22de0b1b-080a-4a0b-9d5f-e6f4916d8b07"}];
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/form-control/form-parser/data.ts"],"sourcesContent":["// const FormData = [\n// {\n// \"field_type\": \"text\",\n// \"label\": \"Name\",\n// \"placeholder\": \"Enter name\",\n// \"default_value\": \"\",\n// \"min_length\": 2,\n// \"max_length\": 30,\n// \"is_multiline\": false,\n// \"is_required\": true,\n// \"is_unique\": false,\n// \"id\": \"a796bc38-9f6d-418b-a48d-a562e64ed990\"\n// },\n// {\n// \"field_type\": \"email\",\n// \"label\": \"Email\",\n// \"placeholder\": \"Enter email address\",\n// \"default_value\": \"\",\n// \"is_required\": false,\n// \"is_unique\": false,\n// \"id\": \"a8e34772-beb0-443c-86f4-cd0f79e4e546\"\n// },\n// {\n// \"field_type\": \"select\",\n// \"label\": \"Gender\",\n// \"placeholder\": \"Choose Gender\",\n// \"default_value\": \"option1\",\n// \"options\": [\n// {\n// \"text\": \"Male\",\n// \"value\": \"1\"\n// },\n// {\n// \"text\": \"Female\",\n// \"value\": \"2\"\n// },\n// {\n// \"text\": \"No\",\n// \"value\": \"3\"\n// },\n// {\n// \"text\": \"Yes\",\n// \"value\": \"4\"\n// }\n// ],\n// \"is_multiselect\": true,\n// \"is_required\": true,\n// \"is_unique\": false,\n// \"id\": \"cb4b4423-c072-4e02-a22a-86fb1e0dba3e\"\n// },\n// ]\n\nconst FormData = [\n {\n field_type: \"text\",\n label: \"Name\",\n placeholder: \"Enter name\",\n default_value: \"\",\n min_length: 2,\n max_length: 30,\n is_multiline: false,\n is_required: true,\n is_unique: false,\n id: \"35356fb9-9007-495a-ba9e-925449cb3eb2\",\n },\n {\n field_type: \"email\",\n label: \"Email\",\n placeholder: \"Enter email address\",\n default_value: \"\",\n is_required: false,\n is_unique: false,\n id: \"4f4ac646-bf48-4ed3-ae5b-910071e19b59\",\n },\n {\n field_type: \"phone\",\n label: \"Phone\",\n placeholder: \"Enter phone number\",\n default_value: \"\",\n is_required: false,\n is_unique: false,\n id: \"500d8a78-e389-474d-831b-43190da011a6\",\n },\n {\n field_type: \"select\",\n label: \"Status\",\n placeholder: \"Choose option\",\n default_value: \"option1\",\n options: [\n {\n text: \"Active\",\n value: \"1\",\n },\n {\n text: \"Inactive\",\n value: \"0\",\n },\n ],\n is_multiselect: false,\n is_required: true,\n is_unique: false,\n id: \"fa44f220-0d82-4569-a28c-997de8e66d5a\",\n },\n {\n field_type: \"text\",\n label: \"Address\",\n placeholder: \"Enter address\",\n default_value: \"\",\n min_length: 2,\n max_length: 30,\n is_multiline: false,\n is_required: true,\n is_unique: false,\n id: \"d25f2f1b-811f-4c3d-a53b-5162f766ad47\",\n },\n {\n field_type: \"text\",\n label: \"Message\",\n placeholder: \"Enter message\",\n default_value: \"\",\n min_length: 2,\n max_length: 30,\n is_multiline: false,\n is_required: true,\n is_unique: false,\n id: \"22de0b1b-080a-4a0b-9d5f-e6f4916d8b07\",\n },\n];\n\nexport default FormData;\n"],"names":["field_type","label","placeholder","default_value","min_length","max_length","is_multiline","is_required","is_unique","id","options","text","value","is_multiselect"],"mappings":"oFAoDiB,CACf,CACEA,WAAY,OACZC,MAAO,OACPC,YAAa,aACbC,cAAe,GACfC,WAAY,EACZC,WAAY,GACZC,cAAc,EACdC,aAAa,EACbC,WAAW,EACXC,GAAI,wCAEN,CACET,WAAY,QACZC,MAAO,QACPC,YAAa,sBACbC,cAAe,GACfI,aAAa,EACbC,WAAW,EACXC,GAAI,wCAEN,CACET,WAAY,QACZC,MAAO,QACPC,YAAa,qBACbC,cAAe,GACfI,aAAa,EACbC,WAAW,EACXC,GAAI,wCAEN,CACET,WAAY,SACZC,MAAO,SACPC,YAAa,gBACbC,cAAe,UACfO,QAAS,CACP,CACEC,KAAM,SACNC,MAAO,KAET,CACED,KAAM,WACNC,MAAO,MAGXC,gBAAgB,EAChBN,aAAa,EACbC,WAAW,EACXC,GAAI,wCAEN,CACET,WAAY,OACZC,MAAO,UACPC,YAAa,gBACbC,cAAe,GACfC,WAAY,EACZC,WAAY,GACZC,cAAc,EACdC,aAAa,EACbC,WAAW,EACXC,GAAI,wCAEN,CACET,WAAY,OACZC,MAAO,UACPC,YAAa,gBACbC,cAAe,GACfC,WAAY,EACZC,WAAY,GACZC,cAAc,EACdC,aAAa,EACbC,WAAW,EACXC,GAAI"}
|
|
@@ -7,8 +7,8 @@ import Card from "../../../../node_modules/@mui/material/Card/Card/index.esm.js"
|
|
|
7
7
|
import CardContent from "../../../../node_modules/@mui/material/CardContent/CardContent/index.esm.js";
|
|
8
8
|
import Box from "../../../../node_modules/@mui/material/Box/Box/index.esm.js";
|
|
9
9
|
import IconButton from "../../../../node_modules/@mui/material/IconButton/IconButton/index.esm.js";
|
|
10
|
-
import MenuItem from "../../../../node_modules/@mui/material/MenuItem/MenuItem/index.esm.js";
|
|
11
10
|
import { MoreIcon } from "../../../icons/more/index.esm.js";
|
|
11
|
+
import MenuItem from "../../../../node_modules/@mui/material/MenuItem/MenuItem/index.esm.js";
|
|
12
12
|
const CustomGridCard = ({
|
|
13
13
|
title,
|
|
14
14
|
subTitle,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),t=require("../../../typography/typography/index.js"),n=require("../../../../utils/dateFormat/index.js"),i=require("../../../menu/menu/index.js"),l=require("../../../../node_modules/@mui/material/Card/Card/index.js"),a=require("../../../../node_modules/@mui/material/CardContent/CardContent/index.js"),d=require("../../../../node_modules/@mui/material/Box/Box/index.js"),o=require("../../../../node_modules/@mui/material/IconButton/IconButton/index.js"),s=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),t=require("../../../typography/typography/index.js"),n=require("../../../../utils/dateFormat/index.js"),i=require("../../../menu/menu/index.js"),l=require("../../../../node_modules/@mui/material/Card/Card/index.js"),a=require("../../../../node_modules/@mui/material/CardContent/CardContent/index.js"),d=require("../../../../node_modules/@mui/material/Box/Box/index.js"),o=require("../../../../node_modules/@mui/material/IconButton/IconButton/index.js"),s=require("../../../icons/more/index.js"),u=require("../../../../node_modules/@mui/material/MenuItem/MenuItem/index.js");exports.default=({title:c,subTitle:x,children:p,data:m,rowActionMenu:h,destructiveActionMenu:j})=>{const[y,f]=r.useState(null),[g,C]=r.useState(null);/* @__PURE__ */
|
|
2
2
|
return e.jsxs(l.default,{sx:{width:"16.625rem",borderRadius:"0.5rem",border:"0.5px solid #eeeff1",boxShadow:"\n 0px 0px 2px 0px #e0e0e0,\n 0px 1px 4px -2px rgba(24, 39, 75, 0.02),\n 0px 4px 4px -2px rgba(24, 39, 75, 0.06);"},children:[
|
|
3
3
|
/* @__PURE__ */e.jsxs(a.default,{sx:{display:"flex",flexDirection:"column",padding:"1rem 1rem 1.25rem 1rem",justifyContent:"space-between",alignItems:"flex-start",flexShrink:0},children:[
|
|
4
4
|
/* @__PURE__ */e.jsxs(d.default,{sx:{display:"flex",width:"100%",justifyContent:"space-between",alignItems:"flex-start"},children:[
|
|
5
5
|
/* @__PURE__ */e.jsx(t.Typography,{type:"s3",weight:"medium",color:"theme.secondary.1000",children:c}),
|
|
6
|
-
/* @__PURE__ */e.jsx(o.default,{color:"inherit",size:"small",onClick:e=>((e,r)=>{C(r),f(e.currentTarget)})(e,m),children:/* @__PURE__ */e.jsx(
|
|
6
|
+
/* @__PURE__ */e.jsx(o.default,{color:"inherit",size:"small",onClick:e=>((e,r)=>{C(r),f(e.currentTarget)})(e,m),children:/* @__PURE__ */e.jsx(s.MoreIcon,{sx:{transform:"rotate(90deg)"},orient:"vertical",fontSize:"small"})})]}),
|
|
7
7
|
/* @__PURE__ */e.jsx(d.default,{children:/* @__PURE__ */e.jsx(t.Typography,{type:"s4",color:"theme.secondary.800",children:x})}),p,(null==m?void 0:m.created_at)&&/* @__PURE__ */e.jsx(d.default,{children:/* @__PURE__ */e.jsxs(t.Typography,{type:"s4",color:"theme.secondary.800",children:["Created On ",n.formatDate(null==m?void 0:m.created_at,"DD MMM, YYYY")]})})]}),
|
|
8
8
|
/* @__PURE__ */e.jsxs(i.default,{anchorEl:y,open:Boolean(y),onClose:()=>f(null),children:[
|
|
9
|
-
/* @__PURE__ */e.jsx(d.default,{children:h.map(r=>/* @__PURE__ */e.jsx(
|
|
10
|
-
/* @__PURE__ */e.jsx(d.default,{className:"dropdown-inner--DestructiveHeader",children:j.map(r=>/* @__PURE__ */e.jsx(
|
|
9
|
+
/* @__PURE__ */e.jsx(d.default,{children:h.map(r=>/* @__PURE__ */e.jsx(u.default,{onClick:()=>{g&&r.handleAction(g),f(null)},children:/* @__PURE__ */e.jsx(t.Typography,{type:"s4",color:"inherit",children:r.label})}))}),
|
|
10
|
+
/* @__PURE__ */e.jsx(d.default,{className:"dropdown-inner--DestructiveHeader",children:j.map(r=>/* @__PURE__ */e.jsx(u.default,{onClick:()=>{g&&r.handleAction(g),f(null)},className:"dropdown-inner--DestructiveActions",children:/* @__PURE__ */e.jsx(t.Typography,{type:"s4",color:"inherit",children:r.label})}))})]})]})};
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -18,6 +18,7 @@ import { enqueueSnackbar } from "../../../../../node_modules/notistack/notistack
|
|
|
18
18
|
import Box from "../../../../../node_modules/@mui/material/Box/Box/index.esm.js";
|
|
19
19
|
import IconButton from "../../../../../node_modules/@mui/material/IconButton/IconButton/index.esm.js";
|
|
20
20
|
import Badge from "../../../../../node_modules/@mui/material/Badge/Badge/index.esm.js";
|
|
21
|
+
import { Notification } from "../../../../icons/notification/index.esm.js";
|
|
21
22
|
import Menu from "../../../../../node_modules/@mui/material/Menu/Menu/index.esm.js";
|
|
22
23
|
import CircularProgress from "../../../../../node_modules/@mui/material/CircularProgress/CircularProgress/index.esm.js";
|
|
23
24
|
import { Tick } from "../../../../icons/tick/index.esm.js";
|
|
@@ -33,7 +34,6 @@ import WarningIcon from "../../../../../node_modules/@mui/icons-material/esm/War
|
|
|
33
34
|
import EmailIcon from "../../../../../node_modules/@mui/icons-material/esm/Email/index.esm.js";
|
|
34
35
|
import AssignmentIcon from "../../../../../node_modules/@mui/icons-material/esm/Assignment/index.esm.js";
|
|
35
36
|
import AccountBalanceIcon from "../../../../../node_modules/@mui/icons-material/esm/AccountBalance/index.esm.js";
|
|
36
|
-
import { Notification } from "../../../../icons/notification/index.esm.js";
|
|
37
37
|
const getNotificationUrl = (data) => {
|
|
38
38
|
var _a;
|
|
39
39
|
const { moduleName = "", moduleId = "", notificationData = {} } = data;
|